diff --git a/statics/1001.71191389.async.js b/statics/1001.71191389.async.js new file mode 100644 index 00000000..4c26398c --- /dev/null +++ b/statics/1001.71191389.async.js @@ -0,0 +1,167 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1001],{65429:function(F,C,S){"use strict";S.d(C,{Z:function(){return X}});var v=S(1413),M=S(67294),m={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"},I=m,$=S(84089),x=function(j,H){return M.createElement($.Z,(0,v.Z)((0,v.Z)({},j),{},{ref:H,icon:I}))},W=M.forwardRef(x),X=W},10142:function(){"use strict"},93379:function(F){var C={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};F.exports=function(S,v){return typeof v=="number"&&!C[S]?v+"px":v}},55054:function(F,C,S){"use strict";S.d(C,{Z:function(){return V}});var v=S(67294),M=S(57838),m=S(96159),I=S(93967),$=S.n(I),x=S(64217),W=S(53124),X=S(99559),j=w=>{const{value:p,formatter:l,precision:a,decimalSeparator:c,groupSeparator:b="",prefixCls:i}=w;let y;if(typeof l=="function")y=l(p);else{const D=String(p),u=D.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u||D==="-")y=D;else{const g=u[1];let d=u[2]||"0",f=u[4]||"";d=d.replace(/\B(?=(\d{3})+(?!\d))/g,b),typeof a=="number"&&(f=f.padEnd(a,"0").slice(0,a>0?a:0)),f&&(f=`${c}${f}`),y=[v.createElement("span",{key:"int",className:`${i}-content-value-int`},g,d),f&&v.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},f)]}}return v.createElement("span",{className:`${i}-content-value`},y)},H=S(14747),z=S(91945),B=S(45503);const K=w=>{const{componentCls:p,marginXXS:l,padding:a,colorTextDescription:c,titleFontSize:b,colorTextHeading:i,contentFontSize:y,fontFamily:D}=w;return{[`${p}`]:Object.assign(Object.assign({},(0,H.Wf)(w)),{[`${p}-title`]:{marginBottom:l,color:c,fontSize:b},[`${p}-skeleton`]:{paddingTop:a},[`${p}-content`]:{color:i,fontSize:y,fontFamily:D,[`${p}-content-value`]:{display:"inline-block",direction:"ltr"},[`${p}-content-prefix, ${p}-content-suffix`]:{display:"inline-block"},[`${p}-content-prefix`]:{marginInlineEnd:l},[`${p}-content-suffix`]:{marginInlineStart:l}}})}},Oe=w=>{const{fontSizeHeading3:p,fontSize:l}=w;return{titleFontSize:l,contentFontSize:p}};var fe=(0,z.I$)("Statistic",w=>{const p=(0,B.TS)(w,{});return[K(p)]},Oe),Se=function(w,p){var l={};for(var a in w)Object.prototype.hasOwnProperty.call(w,a)&&p.indexOf(a)<0&&(l[a]=w[a]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(w);c{const{prefixCls:p,className:l,rootClassName:a,style:c,valueStyle:b,value:i=0,title:y,valueRender:D,prefix:u,suffix:g,loading:d=!1,formatter:f,precision:E,decimalSeparator:R=".",groupSeparator:N=",",onMouseEnter:J,onMouseLeave:U}=w,G=Se(w,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ie,direction:le,statistic:me}=v.useContext(W.E_),ne=ie("statistic",p),[Te,ve,De]=fe(ne),ae=v.createElement(j,{decimalSeparator:R,groupSeparator:N,prefixCls:ne,formatter:f,precision:E,value:i}),je=$()(ne,{[`${ne}-rtl`]:le==="rtl"},me==null?void 0:me.className,l,a,ve,De),Ne=(0,x.Z)(G,{aria:!0,data:!0});return Te(v.createElement("div",Object.assign({},Ne,{className:je,style:Object.assign(Object.assign({},me==null?void 0:me.style),c),onMouseEnter:J,onMouseLeave:U}),y&&v.createElement("div",{className:`${ne}-title`},y),v.createElement(X.Z,{paragraph:!1,loading:d,className:`${ne}-skeleton`},v.createElement("div",{style:b,className:`${ne}-content`},u&&v.createElement("span",{className:`${ne}-content-prefix`},u),D?D(ae):ae,g&&v.createElement("span",{className:`${ne}-content-suffix`},g)))))};const se=[["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 ge(w,p){let l=w;const a=/\[[^\]]*]/g,c=(p.match(a)||[]).map(D=>D.slice(1,-1)),b=p.replace(a,"[]"),i=se.reduce((D,u)=>{let[g,d]=u;if(D.includes(g)){const f=Math.floor(l/d);return l-=f*d,D.replace(new RegExp(`${g}+`,"g"),E=>{const R=E.length;return f.toString().padStart(R,"0")})}return D},b);let y=0;return i.replace(a,()=>{const D=c[y];return y+=1,D})}function A(w,p){const{format:l=""}=p,a=new Date(w).getTime(),c=Date.now(),b=Math.max(a-c,0);return ge(b,l)}var Ie=function(w,p){var l={};for(var a in w)Object.prototype.hasOwnProperty.call(w,a)&&p.indexOf(a)<0&&(l[a]=w[a]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(w);c{const{value:p,format:l="HH:mm:ss",onChange:a,onFinish:c}=w,b=Ie(w,["value","format","onChange","onFinish"]),i=(0,M.Z)(),y=v.useRef(null),D=()=>{c==null||c(),y.current&&(clearInterval(y.current),y.current=null)},u=()=>{const f=He(p);f>=Date.now()&&(y.current=setInterval(()=>{i(),a==null||a(f-Date.now()),f(u(),()=>{y.current&&(clearInterval(y.current),y.current=null)}),[p]);const g=(f,E)=>A(f,Object.assign(Object.assign({},E),{format:l})),d=f=>(0,m.Tm)(f,{title:void 0});return v.createElement(de,Object.assign({},b,{value:p,valueRender:d,formatter:g}))};var Le=v.memo(ue);de.Countdown=Le;var V=de},66309:function(F,C,S){"use strict";S.d(C,{Z:function(){return l}});var v=S(67294),M=S(93967),m=S.n(M),I=S(98423),$=S(98787),x=S(69760),W=S(96159),X=S(45353),k=S(53124),j=S(54548),H=S(10274),z=S(14747),B=S(45503),K=S(91945);const Oe=a=>{const{paddingXXS:c,lineWidth:b,tagPaddingHorizontal:i,componentCls:y,calc:D}=a,u=D(i).sub(b).equal(),g=D(c).sub(b).equal();return{[y]:Object.assign(Object.assign({},(0,z.Wf)(a)),{display:"inline-block",height:"auto",marginInlineEnd:a.marginXS,paddingInline:u,fontSize:a.tagFontSize,lineHeight:a.tagLineHeight,whiteSpace:"nowrap",background:a.defaultBg,border:`${(0,j.bf)(a.lineWidth)} ${a.lineType} ${a.colorBorder}`,borderRadius:a.borderRadiusSM,opacity:1,transition:`all ${a.motionDurationMid}`,textAlign:"start",position:"relative",[`&${y}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:a.defaultColor},[`${y}-close-icon`]:{marginInlineStart:g,fontSize:a.tagIconSize,color:a.colorTextDescription,cursor:"pointer",transition:`all ${a.motionDurationMid}`,"&:hover":{color:a.colorTextHeading}},[`&${y}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${a.iconCls}-close, ${a.iconCls}-close:hover`]:{color:a.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${y}-checkable-checked):hover`]:{color:a.colorPrimary,backgroundColor:a.colorFillSecondary},"&:active, &-checked":{color:a.colorTextLightSolid},"&-checked":{backgroundColor:a.colorPrimary,"&:hover":{backgroundColor:a.colorPrimaryHover}},"&:active":{backgroundColor:a.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${a.iconCls} + span, > span + ${a.iconCls}`]:{marginInlineStart:u}}),[`${y}-borderless`]:{borderColor:"transparent",background:a.tagBorderlessBg}}},fe=a=>{const{lineWidth:c,fontSizeIcon:b,calc:i}=a,y=a.fontSizeSM;return(0,B.TS)(a,{tagFontSize:y,tagLineHeight:(0,j.bf)(i(a.lineHeightSM).mul(y).equal()),tagIconSize:i(b).sub(i(c).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:a.defaultBg})},Se=a=>({defaultBg:new H.C(a.colorFillQuaternary).onBackground(a.colorBgContainer).toHexString(),defaultColor:a.colorText});var Ee=(0,K.I$)("Tag",a=>{const c=fe(a);return Oe(c)},Se),de=function(a,c){var b={};for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&c.indexOf(i)<0&&(b[i]=a[i]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,i=Object.getOwnPropertySymbols(a);y{const{prefixCls:b,style:i,className:y,checked:D,onChange:u,onClick:g}=a,d=de(a,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:E}=v.useContext(k.E_),R=le=>{u==null||u(!D),g==null||g(le)},N=f("tag",b),[J,U,G]=Ee(N),ie=m()(N,`${N}-checkable`,{[`${N}-checkable-checked`]:D},E==null?void 0:E.className,y,U,G);return J(v.createElement("span",Object.assign({},d,{ref:c,style:Object.assign(Object.assign({},i),E==null?void 0:E.style),className:ie,onClick:R})))}),A=S(98719);const Ie=a=>(0,A.Z)(a,(c,b)=>{let{textColor:i,lightBorderColor:y,lightColor:D,darkColor:u}=b;return{[`${a.componentCls}${a.componentCls}-${c}`]:{color:i,background:D,borderColor:y,"&-inverse":{color:a.colorTextLightSolid,background:u,borderColor:u},[`&${a.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Re=(0,K.bk)(["Tag","preset"],a=>{const c=fe(a);return Ie(c)},Se);function He(a){return typeof a!="string"?a:a.charAt(0).toUpperCase()+a.slice(1)}const ue=(a,c,b)=>{const i=He(b);return{[`${a.componentCls}${a.componentCls}-${c}`]:{color:a[`color${b}`],background:a[`color${i}Bg`],borderColor:a[`color${i}Border`],[`&${a.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Le=(0,K.bk)(["Tag","status"],a=>{const c=fe(a);return[ue(c,"success","Success"),ue(c,"processing","Info"),ue(c,"error","Error"),ue(c,"warning","Warning")]},Se),V=function(a,c){var b={};for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&c.indexOf(i)<0&&(b[i]=a[i]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,i=Object.getOwnPropertySymbols(a);y{const{prefixCls:b,className:i,rootClassName:y,style:D,children:u,icon:g,color:d,onClose:f,bordered:E=!0,visible:R}=a,N=V(a,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:J,direction:U,tag:G}=v.useContext(k.E_),[ie,le]=v.useState(!0),me=(0,I.Z)(N,["closeIcon","closable"]);v.useEffect(()=>{R!==void 0&&le(R)},[R]);const ne=(0,$.o2)(d),Te=(0,$.yT)(d),ve=ne||Te,De=Object.assign(Object.assign({backgroundColor:d&&!ve?d:void 0},G==null?void 0:G.style),D),ae=J("tag",b),[je,Ne,he]=Ee(ae),Qe=m()(ae,G==null?void 0:G.className,{[`${ae}-${d}`]:ve,[`${ae}-has-color`]:d&&!ve,[`${ae}-hidden`]:!ie,[`${ae}-rtl`]:U==="rtl",[`${ae}-borderless`]:!E},i,y,Ne,he),Ue=ze=>{ze.stopPropagation(),f==null||f(ze),!ze.defaultPrevented&&le(!1)},[,Ge]=(0,x.Z)((0,x.w)(a),(0,x.w)(G),{closable:!1,closeIconRender:ze=>{const Ct=v.createElement("span",{className:`${ae}-close-icon`,onClick:Ue},ze);return(0,W.wm)(ze,Ct,_e=>({onClick:lt=>{var qe;(qe=_e==null?void 0:_e.onClick)===null||qe===void 0||qe.call(_e,lt),Ue(lt)},className:m()(_e==null?void 0:_e.className,`${ae}-close-icon`)}))}}),Fe=typeof N.onClick=="function"||u&&u.type==="a",Ke=g||null,Me=Ke?v.createElement(v.Fragment,null,Ke,u&&v.createElement("span",null,u)):u,pe=v.createElement("span",Object.assign({},me,{ref:c,className:Qe,style:De}),Me,Ge,ne&&v.createElement(Re,{key:"preset",prefixCls:ae}),Te&&v.createElement(Le,{key:"status",prefixCls:ae}));return je(Fe?v.createElement(X.Z,{component:"Tag"},pe):pe)});p.CheckableTag=ge;var l=p},53879:function(F,C,S){var v=S(87236),M=S(6189),m={float:"cssFloat"},I=S(93379);function $(k,j,H){var z=m[j];if(typeof z=="undefined"&&(z=W(j)),z){if(H===void 0)return k.style[z];k.style[z]=I(z,H)}}function x(k,j){for(var H in j)j.hasOwnProperty(H)&&$(k,H,j[H])}function W(k){var j=M(k),H=v(j);return m[j]=m[k]=m[H]=H,H}function X(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:x(arguments[0],arguments[1]):$(arguments[0],arguments[1],arguments[2])}F.exports=X,F.exports.set=X,F.exports.get=function(k,j){return Array.isArray(j)?j.reduce(function(H,z){return H[z]=$(k,z||""),H},{}):$(k,j||"")}},75:function(F,C,S){var v=S(34155);(function(){var M,m,I,$,x,W;typeof performance!="undefined"&&performance!==null&&performance.now?F.exports=function(){return performance.now()}:typeof v!="undefined"&&v!==null&&v.hrtime?(F.exports=function(){return(M()-x)/1e6},m=v.hrtime,M=function(){var X;return X=m(),X[0]*1e9+X[1]},$=M(),W=v.uptime()*1e9,x=$-W):Date.now?(F.exports=function(){return Date.now()-I},I=Date.now()):(F.exports=function(){return new Date().getTime()-I},I=new Date().getTime())}).call(this)},87236:function(F){var C=null,S=["Webkit","Moz","O","ms"];F.exports=function(M){C||(C=document.createElement("div"));var m=C.style;if(M in m)return M;for(var I=M.charAt(0).toUpperCase()+M.slice(1),$=S.length;$>=0;$--){var x=S[$]+I;if(x in m)return x}return!1}},54087:function(F,C,S){for(var v=S(75),M=typeof window=="undefined"?S.g:window,m=["moz","webkit"],I="AnimationFrame",$=M["request"+I],x=M["cancel"+I]||M["cancelRequest"+I],W=0;!$&&W=this.getNumEmptyDaysAtStart()+this.getDateDifferenceInDays();if(N&&!this.props.showOutOfRangeDays)return null;var J=this.getSquareCoordinates(f),U=z(J,2),G=U[0],ie=U[1],le=this.getValueForIndex(E),me=v.createElement("rect",x({key:E,width:b,height:b,x:G,y:ie,className:this.getClassNameForIndex(E),onClick:function(){return R.handleClick(le)},onMouseOver:function(ve){return R.handleMouseOver(ve,le)},onMouseLeave:function(ve){return R.handleMouseLeave(ve,le)}},this.getTooltipDataAttrsForIndex(E)),v.createElement("title",null,this.getTitleForIndex(E))),ne=this.props.transformDayElement;return ne?ne(me,le,E):me}},{key:"renderWeek",value:function(f){var E=this;return v.createElement("g",{key:f,transform:this.getTransformForWeek(f),className:"".concat(y,"week")},c(ue).map(function(R){return E.renderSquare(R,f*ue+R)}))}},{key:"renderAllWeeks",value:function(){var f=this;return c(this.getWeekCount()).map(function(E){return f.renderWeek(E)})}},{key:"renderMonthLabels",value:function(){var f=this;if(!this.props.showMonthLabels)return null;var E=c(this.getWeekCount()-1);return E.map(function(R){var N=w(f.getStartDateWithEmptyDays(),(R+1)*ue),J=f.getMonthLabelCoordinates(R),U=z(J,2),G=U[0],ie=U[1];return N.getDate()>=1&&N.getDate()<=ue?v.createElement("text",{key:R,x:G,y:ie,className:"".concat(y,"month-label")},f.props.monthLabels[N.getMonth()]):null})}},{key:"renderWeekdayLabels",value:function(){var f=this;return this.props.showWeekdayLabels?this.props.weekdayLabels.map(function(E,R){var N=f.getWeekdayLabelCoordinates(R),J=z(N,2),U=J[0],G=J[1],ie="".concat(f.props.horizontal?"":"".concat(y,"small-text")," ").concat(y,"weekday-label");return R&1?v.createElement("text",{key:"".concat(U).concat(G),x:U,y:G,className:ie},E):null}):null}},{key:"render",value:function(){return this.valueCache=this.getValueCache(this.props),v.createElement("svg",{className:"react-calendar-heatmap",viewBox:this.getViewBox()},v.createElement("g",{transform:this.getTransformForMonthLabels(),className:"".concat(y,"month-labels")},this.renderMonthLabels()),v.createElement("g",{transform:this.getTransformForAllWeeks(),className:"".concat(y,"all-weeks")},this.renderAllWeeks()),v.createElement("g",{transform:this.getTransformForWeekdayLabels(),className:"".concat(y,"weekday-labels")},this.renderWeekdayLabels()))}}]),g}(v.Component);return D.propTypes={values:A.arrayOf(A.shape({date:A.oneOfType([A.string,A.number,A.instanceOf(Date)]).isRequired}).isRequired).isRequired,numDays:A.number,startDate:A.oneOfType([A.string,A.number,A.instanceOf(Date)]),endDate:A.oneOfType([A.string,A.number,A.instanceOf(Date)]),gutterSize:A.number,horizontal:A.bool,showMonthLabels:A.bool,showWeekdayLabels:A.bool,showOutOfRangeDays:A.bool,tooltipDataAttrs:A.oneOfType([A.object,A.func]),titleForValue:A.func,classForValue:A.func,monthLabels:A.arrayOf(A.string),weekdayLabels:A.arrayOf(A.string),onClick:A.func,onMouseOver:A.func,onMouseLeave:A.func,transformDayElement:A.func},D.defaultProps={numDays:null,startDate:a(200),endDate:new Date,gutterSize:1,horizontal:!0,showMonthLabels:!0,showWeekdayLabels:!1,showOutOfRangeDays:!1,tooltipDataAttrs:null,titleForValue:null,classForValue:function(g){return g?"color-filled":"color-empty"},monthLabels:Le,weekdayLabels:V,onClick:null,onMouseOver:null,onMouseLeave:null,transformDayElement:null},D})},88682:function(F,C,S){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var v=Object.assign||function(H){for(var z=1;z=0||!Object.prototype.hasOwnProperty.call(H,K)||(B[K]=H[K]);return B}function x(H){return m.default.createElement("div",H)}function W(H){var z=H.style,B=$(H,["style"]),K=v({},z,{right:2,bottom:2,left:2,borderRadius:3});return m.default.createElement("div",v({style:K},B))}function X(H){var z=H.style,B=$(H,["style"]),K=v({},z,{right:2,bottom:2,top:2,borderRadius:3});return m.default.createElement("div",v({style:K},B))}function k(H){var z=H.style,B=$(H,["style"]),K=v({},z,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return m.default.createElement("div",v({style:K},B))}function j(H){var z=H.style,B=$(H,["style"]),K=v({},z,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return m.default.createElement("div",v({style:K},B))}},14608:function(F,C,S){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var v=Object.assign||function(V){for(var w=1;w=0||!Object.prototype.hasOwnProperty.call(V,l)||(p[l]=V[l]);return p}function Re(V,w){if(!(V instanceof w))throw new TypeError("Cannot call a class as a function")}function He(V,w){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:V}function ue(V,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);V.prototype=Object.create(w&&w.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(V,w):V.__proto__=w)}var Le=function(V){ue(w,V);function w(p){var l;Re(this,w);for(var a=arguments.length,c=Array(a>1?a-1:0),b=1;b0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollLeft=l)}},{key:"scrollTop",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollTop=l)}},{key:"scrollToLeft",value:function(){!this.view||(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){!this.view||(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){!this.view||(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){!this.view||(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var l=this.view,a=this.trackHorizontal,c=this.trackVertical,b=this.thumbHorizontal,i=this.thumbVertical;l.addEventListener("scroll",this.handleScroll),(0,B.default)()&&(a.addEventListener("mouseenter",this.handleTrackMouseEnter),a.addEventListener("mouseleave",this.handleTrackMouseLeave),a.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),c.addEventListener("mouseenter",this.handleTrackMouseEnter),c.addEventListener("mouseleave",this.handleTrackMouseLeave),c.addEventListener("mousedown",this.handleVerticalTrackMouseDown),b.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var l=this.view,a=this.trackHorizontal,c=this.trackVertical,b=this.thumbHorizontal,i=this.thumbVertical;l.removeEventListener("scroll",this.handleScroll),(0,B.default)()&&(a.removeEventListener("mouseenter",this.handleTrackMouseEnter),a.removeEventListener("mouseleave",this.handleTrackMouseLeave),a.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),c.removeEventListener("mouseenter",this.handleTrackMouseEnter),c.removeEventListener("mouseleave",this.handleTrackMouseLeave),c.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),b.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(l){var a=this,c=this.props,b=c.onScroll,i=c.onScrollFrame;b&&b(l),this.update(function(y){var D=y.scrollLeft,u=y.scrollTop;a.viewScrollLeft=D,a.viewScrollTop=u,i&&i(y)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var l=this.props.onScrollStart;l&&l(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var l=this.props.autoHide;!l||this.showTracks()}},{key:"handleScrollStop",value:function(){var l=this.props.onScrollStop;l&&l(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var l=this.props.autoHide;!l||this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(l){l.preventDefault();var a=l.target,c=l.clientX,b=a.getBoundingClientRect(),i=b.left,y=this.getThumbHorizontalWidth(),D=Math.abs(i-c)-y/2;this.view.scrollLeft=this.getScrollLeftForOffset(D)}},{key:"handleVerticalTrackMouseDown",value:function(l){l.preventDefault();var a=l.target,c=l.clientY,b=a.getBoundingClientRect(),i=b.top,y=this.getThumbVerticalHeight(),D=Math.abs(i-c)-y/2;this.view.scrollTop=this.getScrollTopForOffset(D)}},{key:"handleHorizontalThumbMouseDown",value:function(l){l.preventDefault(),this.handleDragStart(l);var a=l.target,c=l.clientX,b=a.offsetWidth,i=a.getBoundingClientRect(),y=i.left;this.prevPageX=b-(c-y)}},{key:"handleVerticalThumbMouseDown",value:function(l){l.preventDefault(),this.handleDragStart(l);var a=l.target,c=l.clientY,b=a.offsetHeight,i=a.getBoundingClientRect(),y=i.top;this.prevPageY=b-(c-y)}},{key:"setupDragging",value:function(){(0,x.default)(document.body,se.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=Oe.default}},{key:"teardownDragging",value:function(){(0,x.default)(document.body,se.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(l){this.dragging=!0,l.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(l){if(this.prevPageX){var a=l.clientX,c=this.trackHorizontal.getBoundingClientRect(),b=c.left,i=this.getThumbHorizontalWidth(),y=i-this.prevPageX,D=-b+a-y;this.view.scrollLeft=this.getScrollLeftForOffset(D)}if(this.prevPageY){var u=l.clientY,g=this.trackVertical.getBoundingClientRect(),d=g.top,f=this.getThumbVerticalHeight(),E=f-this.prevPageY,R=-d+u-E;this.view.scrollTop=this.getScrollTopForOffset(R)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var l=this.props.autoHide;!l||this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var l=this.props.autoHide;!l||this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var l=this.props.autoHide;!l||this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,x.default)(this.trackHorizontal,{opacity:1}),(0,x.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var l=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var a=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,x.default)(l.trackHorizontal,{opacity:0}),(0,x.default)(l.trackVertical,{opacity:0})},a)}}},{key:"detectScrolling",value:function(){var l=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){l.lastViewScrollLeft===l.viewScrollLeft&&l.lastViewScrollTop===l.viewScrollTop&&(clearInterval(l.detectScrollingInterval),l.scrolling=!1,l.handleScrollStop()),l.lastViewScrollLeft=l.viewScrollLeft,l.lastViewScrollTop=l.viewScrollTop},100))}},{key:"raf",value:function(l){var a=this;this.requestFrame&&I.default.cancel(this.requestFrame),this.requestFrame=(0,I.default)(function(){a.requestFrame=void 0,l()})}},{key:"update",value:function(l){var a=this;this.raf(function(){return a._update(l)})}},{key:"_update",value:function(l){var a=this.props,c=a.onUpdate,b=a.hideTracksWhenNotNeeded,i=this.getValues();if((0,B.default)()){var y=i.scrollLeft,D=i.clientWidth,u=i.scrollWidth,g=(0,Se.default)(this.trackHorizontal),d=this.getThumbHorizontalWidth(),f=y/(u-D)*(g-d),E={width:d,transform:"translateX("+f+"px)"},R=i.scrollTop,N=i.clientHeight,J=i.scrollHeight,U=(0,de.default)(this.trackVertical),G=this.getThumbVerticalHeight(),ie=R/(J-N)*(U-G),le={height:G,transform:"translateY("+ie+"px)"};if(b){var me={visibility:u>D?"visible":"hidden"},ne={visibility:J>N?"visible":"hidden"};(0,x.default)(this.trackHorizontal,me),(0,x.default)(this.trackVertical,ne)}(0,x.default)(this.thumbHorizontal,E),(0,x.default)(this.thumbVertical,le)}c&&c(i),typeof l=="function"&&l(i)}},{key:"render",value:function(){var l=this,a=(0,B.default)(),c=this.props,b=c.onScroll,i=c.onScrollFrame,y=c.onScrollStart,D=c.onScrollStop,u=c.onUpdate,g=c.renderView,d=c.renderTrackHorizontal,f=c.renderTrackVertical,E=c.renderThumbHorizontal,R=c.renderThumbVertical,N=c.tagName,J=c.hideTracksWhenNotNeeded,U=c.autoHide,G=c.autoHideTimeout,ie=c.autoHideDuration,le=c.thumbSize,me=c.thumbMinSize,ne=c.universal,Te=c.autoHeight,ve=c.autoHeightMin,De=c.autoHeightMax,ae=c.style,je=c.children,Ne=Ie(c,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),he=this.state.didMountUniversal,Qe=v({},se.containerStyleDefault,Te&&v({},se.containerStyleAutoHeight,{minHeight:ve,maxHeight:De}),ae),Ue=v({},se.viewStyleDefault,{marginRight:a?-a:0,marginBottom:a?-a:0},Te&&v({},se.viewStyleAutoHeight,{minHeight:(0,H.default)(ve)?"calc("+ve+" + "+a+"px)":ve+a,maxHeight:(0,H.default)(De)?"calc("+De+" + "+a+"px)":De+a}),Te&&ne&&!he&&{minHeight:ve,maxHeight:De},ne&&!he&&se.viewStyleUniversalInitial),Ge={transition:"opacity "+ie+"ms",opacity:0},Fe=v({},se.trackHorizontalStyleDefault,U&&Ge,(!a||ne&&!he)&&{display:"none"}),Ke=v({},se.trackVerticalStyleDefault,U&&Ge,(!a||ne&&!he)&&{display:"none"});return(0,W.createElement)(N,v({},Ne,{style:Qe,ref:function(pe){l.container=pe}}),[(0,W.cloneElement)(g({style:Ue}),{key:"view",ref:function(pe){l.view=pe}},je),(0,W.cloneElement)(d({style:Fe}),{key:"trackHorizontal",ref:function(pe){l.trackHorizontal=pe}},(0,W.cloneElement)(E({style:se.thumbHorizontalStyleDefault}),{ref:function(pe){l.thumbHorizontal=pe}})),(0,W.cloneElement)(f({style:Ke}),{key:"trackVertical",ref:function(pe){l.trackVertical=pe}},(0,W.cloneElement)(R({style:se.thumbVerticalStyleDefault}),{ref:function(pe){l.thumbVertical=pe}}))])}}]),w}(W.Component);C.default=Le,Le.propTypes={onScroll:k.default.func,onScrollFrame:k.default.func,onScrollStart:k.default.func,onScrollStop:k.default.func,onUpdate:k.default.func,renderView:k.default.func,renderTrackHorizontal:k.default.func,renderTrackVertical:k.default.func,renderThumbHorizontal:k.default.func,renderThumbVertical:k.default.func,tagName:k.default.string,thumbSize:k.default.number,thumbMinSize:k.default.number,hideTracksWhenNotNeeded:k.default.bool,autoHide:k.default.bool,autoHideTimeout:k.default.number,autoHideDuration:k.default.number,autoHeight:k.default.bool,autoHeightMin:k.default.oneOfType([k.default.number,k.default.string]),autoHeightMax:k.default.oneOfType([k.default.number,k.default.string]),universal:k.default.bool,style:k.default.object,children:k.default.node},Le.defaultProps={renderView:ge.renderViewDefault,renderTrackHorizontal:ge.renderTrackHorizontalDefault,renderTrackVertical:ge.renderTrackVerticalDefault,renderThumbHorizontal:ge.renderThumbHorizontalDefault,renderThumbVertical:ge.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},7679:function(F,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0});var S=C.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},v=C.containerStyleAutoHeight={height:"auto"},M=C.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},m=C.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},I=C.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},$=C.trackHorizontalStyleDefault={position:"absolute",height:6},x=C.trackVerticalStyleDefault={position:"absolute",width:6},W=C.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},X=C.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},k=C.disableSelectStyle={userSelect:"none"},j=C.disableSelectStyleReset={userSelect:""}},31298:function(F,C,S){"use strict";var v;v={value:!0},C.$B=void 0;var M=S(14608),m=I(M);function I($){return $&&$.__esModule?$:{default:$}}v=m.default,C.$B=m.default},56839:function(F,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=S;function S(v){var M=v.clientHeight,m=getComputedStyle(v),I=m.paddingTop,$=m.paddingBottom;return M-parseFloat(I)-parseFloat($)}},4749:function(F,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=S;function S(v){var M=v.clientWidth,m=getComputedStyle(v),I=m.paddingLeft,$=m.paddingRight;return M-parseFloat(I)-parseFloat($)}},13305:function(F,C,S){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=$;var v=S(53879),M=m(v);function m(x){return x&&x.__esModule?x:{default:x}}var I=!1;function $(){if(I!==!1)return I;if(typeof document!="undefined"){var x=document.createElement("div");(0,M.default)(x,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(x),I=x.offsetWidth-x.clientWidth,document.body.removeChild(x)}else I=0;return I||0}},95205:function(F,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=S;function S(v){return typeof v=="string"}},78669:function(F,C){"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=S;function S(){return!1}},38735:function(F,C,S){"use strict";S.d(C,{Z:function(){return ms}});var v=S(67294),M=S(45697),m=S.n(M),I=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),$=new Uint8Array(16);function x(){if(!I)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return I($)}for(var W=[],X=0;X<256;++X)W[X]=(X+256).toString(16).substr(1);function k(e,t){var r=t||0,n=W;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}var j=k;function H(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||x)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var s=0;s<16;++s)t[n+s]=o[s];return t||j(o)}var z=H;function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function K(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(O){throw O},f:o}}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 s=!0,h=!1,T;return{s:function(){r=r.call(e)},n:function(){var O=r.next();return s=O.done,O},e:function(O){h=!0,T=O},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(h)throw T}}}}var p=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof S.g!="undefined"?S.g:typeof self!="undefined"?self:{},l=function(e){return e&&e.Math==Math&&e},a=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof p=="object"&&p)||function(){return this}()||Function("return this")(),c={},b=function(e){try{return!!e()}catch(t){return!0}},i=b,y=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),D=b,u=!D(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),g=u,d=Function.prototype.call,f=g?d.bind(d):function(){return d.apply(d,arguments)},E={},R={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,J=N&&!R.call({1:2},1);E.f=J?function(t){var r=N(this,t);return!!r&&r.enumerable}:R;var U=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},G=u,ie=Function.prototype,le=ie.call,me=G&&ie.bind.bind(le,le),ne=function(e){return G?me(e):function(){return le.apply(e,arguments)}},Te=ne,ve=Te({}.toString),De=Te("".slice),ae=function(e){return De(ve(e),8,-1)},je=ae,Ne=ne,he=function(e){if(je(e)==="Function")return Ne(e)},Qe=he,Ue=b,Ge=ae,Fe=Object,Ke=Qe("".split),Me=Ue(function(){return!Fe("z").propertyIsEnumerable(0)})?function(e){return Ge(e)=="String"?Ke(e,""):Fe(e)}:Fe,pe=function(e){return e==null},ze=pe,Ct=TypeError,_e=function(e){if(ze(e))throw Ct("Can't call method on "+e);return e},lt=Me,qe=_e,st=function(e){return lt(qe(e))},kt=typeof document=="object"&&document.all,Pn=typeof kt=="undefined"&&kt!==void 0,cr={all:kt,IS_HTMLDDA:Pn},fr=cr,An=fr.all,Ce=fr.IS_HTMLDDA?function(e){return typeof e=="function"||e===An}:function(e){return typeof e=="function"},dr=Ce,vr=cr,In=vr.all,Xe=vr.IS_HTMLDDA?function(e){return typeof e=="object"?e!==null:dr(e)||e===In}:function(e){return typeof e=="object"?e!==null:dr(e)},Lt=a,Rn=Ce,zn=function(e){return Rn(e)?e:void 0},et=function(e,t){return arguments.length<2?zn(Lt[e]):Lt[e]&&Lt[e][t]},Wn=he,jn=Wn({}.isPrototypeOf),Nn=et,Fn=Nn("navigator","userAgent")||"",hr=a,Dt=Fn,pr=hr.process,gr=hr.Deno,mr=pr&&pr.versions||gr&&gr.version,yr=mr&&mr.v8,$e,ut;yr&&($e=yr.split("."),ut=$e[0]>0&&$e[0]<4?1:+($e[0]+$e[1])),!ut&&Dt&&($e=Dt.match(/Edge\/(\d+)/),(!$e||$e[1]>=74)&&($e=Dt.match(/Chrome\/(\d+)/),$e&&(ut=+$e[1])));var Bn=ut,br=Bn,Vn=b,Sr=!!Object.getOwnPropertySymbols&&!Vn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&br&&br<41}),Un=Sr,Tr=Un&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Gn=et,Kn=Ce,Xn=jn,Yn=Tr,Zn=Object,wr=Yn?function(e){return typeof e=="symbol"}:function(e){var t=Gn("Symbol");return Kn(t)&&Xn(t.prototype,Zn(e))},Jn=String,Qn=function(e){try{return Jn(e)}catch(t){return"Object"}},qn=Ce,eo=Qn,to=TypeError,Or=function(e){if(qn(e))return e;throw to(eo(e)+" is not a function")},ro=Or,no=pe,oo=function(e,t){var r=e[t];return no(r)?void 0:ro(r)},$t=f,xt=Ce,Ht=Xe,ao=TypeError,io=function(e,t){var r,n;if(t==="string"&&xt(r=e.toString)&&!Ht(n=$t(r,e))||xt(r=e.valueOf)&&!Ht(n=$t(r,e))||t!=="string"&&xt(r=e.toString)&&!Ht(n=$t(r,e)))return n;throw ao("Can't convert object to primitive value")},Mt={exports:{}},Er=a,lo=Object.defineProperty,_t=function(e,t){try{lo(Er,e,{value:t,configurable:!0,writable:!0})}catch(r){Er[e]=t}return t},so=a,uo=_t,Cr="__core-js_shared__",co=so[Cr]||uo(Cr,{}),Pt=co,kr=Pt;(Mt.exports=function(e,t){return kr[e]||(kr[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var fo=_e,vo=Object,Lr=function(e){return vo(fo(e))},ho=he,po=Lr,go=ho({}.hasOwnProperty),Be=Object.hasOwn||function(t,r){return go(po(t),r)},mo=he,yo=0,bo=Math.random(),So=mo(1 .toString),Dr=function(e){return"Symbol("+(e===void 0?"":e)+")_"+So(++yo+bo,36)},To=a,wo=Mt.exports,$r=Be,Oo=Dr,xr=Sr,Hr=Tr,Ye=wo("wks"),Ve=To.Symbol,Mr=Ve&&Ve.for,Eo=Hr?Ve:Ve&&Ve.withoutSetter||Oo,tt=function(e){if(!$r(Ye,e)||!(xr||typeof Ye[e]=="string")){var t="Symbol."+e;xr&&$r(Ve,e)?Ye[e]=Ve[e]:Hr&&Mr?Ye[e]=Mr(t):Ye[e]=Eo(t)}return Ye[e]},Co=f,_r=Xe,Pr=wr,ko=oo,Lo=io,Do=tt,$o=TypeError,xo=Do("toPrimitive"),Ho=function(e,t){if(!_r(e)||Pr(e))return e;var r=ko(e,xo),n;if(r){if(t===void 0&&(t="default"),n=Co(r,e,t),!_r(n)||Pr(n))return n;throw $o("Can't convert object to primitive value")}return t===void 0&&(t="number"),Lo(e,t)},Mo=Ho,_o=wr,Ar=function(e){var t=Mo(e,"string");return _o(t)?t:t+""},Po=a,Ir=Xe,At=Po.document,Ao=Ir(At)&&Ir(At.createElement),Rr=function(e){return Ao?At.createElement(e):{}},Io=y,Ro=b,zo=Rr,zr=!Io&&!Ro(function(){return Object.defineProperty(zo("div"),"a",{get:function(){return 7}}).a!=7}),Wo=y,jo=f,No=E,Fo=U,Bo=st,Vo=Ar,Uo=Be,Go=zr,Wr=Object.getOwnPropertyDescriptor;c.f=Wo?Wr:function(t,r){if(t=Bo(t),r=Vo(r),Go)try{return Wr(t,r)}catch(n){}if(Uo(t,r))return Fo(!jo(No.f,t,r),t[r])};var Ze={},Ko=y,Xo=b,jr=Ko&&Xo(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Yo=Xe,Zo=String,Jo=TypeError,ct=function(e){if(Yo(e))return e;throw Jo(Zo(e)+" is not an object")},Qo=y,qo=zr,ea=jr,ft=ct,Nr=Ar,ta=TypeError,It=Object.defineProperty,ra=Object.getOwnPropertyDescriptor,Rt="enumerable",zt="configurable",Wt="writable";Ze.f=Qo?ea?function(t,r,n){if(ft(t),r=Nr(r),ft(n),typeof t=="function"&&r==="prototype"&&"value"in n&&Wt in n&&!n[Wt]){var o=ra(t,r);o&&o[Wt]&&(t[r]=n.value,n={configurable:zt in n?n[zt]:o[zt],enumerable:Rt in n?n[Rt]:o[Rt],writable:!1})}return It(t,r,n)}:It:function(t,r,n){if(ft(t),r=Nr(r),ft(n),qo)try{return It(t,r,n)}catch(o){}if("get"in n||"set"in n)throw ta("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var na=y,oa=Ze,aa=U,Fr=na?function(e,t,r){return oa.f(e,t,aa(1,r))}:function(e,t,r){return e[t]=r,e},Br={exports:{}},jt=y,ia=Be,Vr=Function.prototype,la=jt&&Object.getOwnPropertyDescriptor,Nt=ia(Vr,"name"),sa=Nt&&function(){}.name==="something",ua=Nt&&(!jt||jt&&la(Vr,"name").configurable),ca={EXISTS:Nt,PROPER:sa,CONFIGURABLE:ua},fa=he,da=Ce,Ft=Pt,va=fa(Function.toString);da(Ft.inspectSource)||(Ft.inspectSource=function(e){return va(e)});var Ur=Ft.inspectSource,ha=a,pa=Ce,Gr=ha.WeakMap,ga=pa(Gr)&&/native code/.test(String(Gr)),ma=Mt.exports,ya=Dr,Kr=ma("keys"),Xr=function(e){return Kr[e]||(Kr[e]=ya(e))},Bt={},ba=ga,Yr=a,Sa=Xe,Ta=Fr,Vt=Be,Ut=Pt,wa=Xr,Oa=Bt,Zr="Object already initialized",Gt=Yr.TypeError,Ea=Yr.WeakMap,dt,rt,vt,Ca=function(e){return vt(e)?rt(e):dt(e,{})},ka=function(e){return function(t){var r;if(!Sa(t)||(r=rt(t)).type!==e)throw Gt("Incompatible receiver, "+e+" required");return r}};if(ba||Ut.state){var Pe=Ut.state||(Ut.state=new Ea);Pe.get=Pe.get,Pe.has=Pe.has,Pe.set=Pe.set,dt=function(e,t){if(Pe.has(e))throw Gt(Zr);return t.facade=e,Pe.set(e,t),t},rt=function(e){return Pe.get(e)||{}},vt=function(e){return Pe.has(e)}}else{var Je=wa("state");Oa[Je]=!0,dt=function(e,t){if(Vt(e,Je))throw Gt(Zr);return t.facade=e,Ta(e,Je,t),t},rt=function(e){return Vt(e,Je)?e[Je]:{}},vt=function(e){return Vt(e,Je)}}var La={set:dt,get:rt,has:vt,enforce:Ca,getterFor:ka},Da=b,$a=Ce,ht=Be,Kt=y,xa=ca.CONFIGURABLE,Ha=Ur,Jr=La,Ma=Jr.enforce,_a=Jr.get,pt=Object.defineProperty,Pa=Kt&&!Da(function(){return pt(function(){},"length",{value:8}).length!==8}),Aa=String(String).split("String"),Ia=Br.exports=function(e,t,r){String(t).slice(0,7)==="Symbol("&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!ht(e,"name")||xa&&e.name!==t)&&(Kt?pt(e,"name",{value:t,configurable:!0}):e.name=t),Pa&&r&&ht(r,"arity")&&e.length!==r.arity&&pt(e,"length",{value:r.arity});try{r&&ht(r,"constructor")&&r.constructor?Kt&&pt(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=Ma(e);return ht(n,"source")||(n.source=Aa.join(typeof t=="string"?t:"")),e};Function.prototype.toString=Ia(function(){return $a(this)&&_a(this).source||Ha(this)},"toString");var Ra=Ce,za=Ze,Wa=Br.exports,ja=_t,Na=function(e,t,r,n){n||(n={});var o=n.enumerable,s=n.name!==void 0?n.name:t;if(Ra(r)&&Wa(r,s,n),n.global)o?e[t]=r:ja(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(h){}o?e[t]=r:za.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Fa=Math.ceil,Ba=Math.floor,Va=Math.trunc||function(t){var r=+t;return(r>0?Ba:Fa)(r)},Ua=Va,qr=function(e){var t=+e;return t!==t||t===0?0:Ua(t)},Ga=qr,Ka=Math.max,Xa=Math.min,Ya=function(e,t){var r=Ga(e);return r<0?Ka(r+t,0):Xa(r,t)},Za=qr,Ja=Math.min,Qa=function(e){return e>0?Ja(Za(e),9007199254740991):0},qa=Qa,en=function(e){return qa(e.length)},ei=st,ti=Ya,ri=en,tn=function(e){return function(t,r,n){var o=ei(t),s=ri(o),h=ti(n,s),T;if(e&&r!=r){for(;s>h;)if(T=o[h++],T!=T)return!0}else for(;s>h;h++)if((e||h in o)&&o[h]===r)return e||h||0;return!e&&-1}},ni={includes:tn(!0),indexOf:tn(!1)},oi=he,Xt=Be,ai=st,ii=ni.indexOf,li=Bt,rn=oi([].push),nn=function(e,t){var r=ai(e),n=0,o=[],s;for(s in r)!Xt(li,s)&&Xt(r,s)&&rn(o,s);for(;t.length>n;)Xt(r,s=t[n++])&&(~ii(o,s)||rn(o,s));return o},Yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],si=nn,ui=Yt,ci=ui.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(t){return si(t,ci)};var on={};on.f=Object.getOwnPropertySymbols;var fi=et,di=he,vi=Qr,hi=on,pi=ct,gi=di([].concat),mi=fi("Reflect","ownKeys")||function(t){var r=vi.f(pi(t)),n=hi.f;return n?gi(r,n(t)):r},an=Be,yi=mi,bi=c,Si=Ze,Ti=function(e,t,r){for(var n=yi(t),o=Si.f,s=bi.f,h=0;hoe;oe++)if((T||oe in re)&&(be=re[oe],ee=Q(be,oe,Y),e))if(t)ce[oe]=ee;else if(ee)switch(e){case 3:return!0;case 5:return be;case 6:return oe;case 2:pn(ce,be)}else switch(e){case 4:return!1;case 7:pn(ce,be)}return s?-1:n||o?o:ce}},wl={forEach:We(0),map:We(1),filter:We(2),some:We(3),every:We(4),find:We(5),findIndex:We(6),filterReject:We(7)},gn={},Ol=nn,El=Yt,Cl=Object.keys||function(t){return Ol(t,El)},kl=y,Ll=jr,Dl=Ze,$l=ct,xl=st,Hl=Cl;gn.f=kl&&!Ll?Object.defineProperties:function(t,r){$l(t);for(var n=xl(r),o=Hl(r),s=o.length,h=0,T;s>h;)Dl.f(t,T=o[h++],n[T]);return t};var Ml=et,_l=Ml("document","documentElement"),Pl=ct,Al=gn,mn=Yt,Il=Bt,Rl=_l,zl=Rr,Wl=Xr,yn=">",bn="<",Qt="prototype",qt="script",Sn=Wl("IE_PROTO"),er=function(){},Tn=function(e){return bn+qt+yn+e+bn+"/"+qt+yn},wn=function(e){e.write(Tn("")),e.close();var t=e.parentWindow.Object;return e=null,t},jl=function(){var e=zl("iframe"),t="java"+qt+":",r;return e.style.display="none",Rl.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(Tn("document.F=Object")),r.close(),r.F},mt,yt=function(){try{mt=new ActiveXObject("htmlfile")}catch(t){}yt=typeof document!="undefined"?document.domain&&mt?wn(mt):jl():wn(mt);for(var e=mn.length;e--;)delete yt[Qt][mn[e]];return yt()};Il[Sn]=!0;var Nl=Object.create||function(t,r){var n;return t!==null?(er[Qt]=Pl(t),n=new er,er[Qt]=null,n[Sn]=t):n=yt(),r===void 0?n:Al.f(n,r)},Fl=tt,Bl=Nl,Vl=Ze.f,tr=Fl("unscopables"),rr=Array.prototype;rr[tr]==null&&Vl(rr,tr,{configurable:!0,value:Bl(null)});var Ul=function(e){rr[tr][e]=!0},Gl=Ii,Kl=wl.find,Xl=Ul,nr="find",On=!0;nr in[]&&Array(1)[nr](function(){On=!1}),Gl({target:"Array",proto:!0,forced:On},{find:function(t){return Kl(this,t,arguments.length>1?arguments[1]:void 0)}}),Xl(nr);var ke={GLOBAL:{HIDE:"__react_tooltip_hide_event",REBUILD:"__react_tooltip_rebuild_event",SHOW:"__react_tooltip_show_event"}},or=function(t,r){var n;typeof window.CustomEvent=="function"?n=new window.CustomEvent(t,{detail:r}):(n=document.createEvent("Event"),n.initEvent(t,!1,!0,r)),window.dispatchEvent(n)};function Yl(e){e.hide=function(t){or(ke.GLOBAL.HIDE,{target:t})},e.rebuild=function(){or(ke.GLOBAL.REBUILD)},e.show=function(t){or(ke.GLOBAL.SHOW,{target:t})},e.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},e.prototype.globalShow=function(t){if(this.mount){var r=t&&t.detail&&t.detail.target&&!0||!1;this.showTooltip({currentTarget:r&&t.detail.target},!0)}},e.prototype.globalHide=function(t){if(this.mount){var r=t&&t.detail&&t.detail.target&&!0||!1;this.hideTooltip({currentTarget:r&&t.detail.target},r)}}}function Zl(e){e.prototype.bindWindowEvents=function(t){window.removeEventListener(ke.GLOBAL.HIDE,this.globalHide),window.addEventListener(ke.GLOBAL.HIDE,this.globalHide,!1),window.removeEventListener(ke.GLOBAL.REBUILD,this.globalRebuild),window.addEventListener(ke.GLOBAL.REBUILD,this.globalRebuild,!1),window.removeEventListener(ke.GLOBAL.SHOW,this.globalShow),window.addEventListener(ke.GLOBAL.SHOW,this.globalShow,!1),t&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},e.prototype.unbindWindowEvents=function(){window.removeEventListener(ke.GLOBAL.HIDE,this.globalHide),window.removeEventListener(ke.GLOBAL.REBUILD,this.globalRebuild),window.removeEventListener(ke.GLOBAL.SHOW,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},e.prototype.onWindowResize=function(){!this.mount||this.hideTooltip()}}var En=function(t,r){var n=this.state.show,o=this.props.id,s=this.isCapture(r.currentTarget),h=r.currentTarget.getAttribute("currentItem");s||r.stopPropagation(),n&&h==="true"?t||this.hideTooltip(r):(r.currentTarget.setAttribute("currentItem","true"),Jl(r.currentTarget,this.getTargetArray(o)),this.showTooltip(r))},Jl=function(t,r){for(var n=0;nee},Ts=function(te){return Ot(te)<0},ws=function(te){return ys(te)>bt},Os=function(te){return bs(te)||Ss(te)||Ts(te)||ws(te)},Et=function(te){return!Os(te)},Es={top:Et("top"),bottom:Et("bottom"),left:Et("left"),right:Et("right")};function Cs(){var xe=o.split(",").concat(n,["top","bottom","left","right"]),te=w(xe),Ae;try{for(te.s();!(Ae=te.n()).done;){var _n=Ae.value;if(Es[_n])return _n}}catch(ks){te.e(ks)}finally{te.f()}return n}var ur=Cs(),Hn=!1,Mn;return ur&&ur!==n&&(Hn=!0,Mn=ur),Hn?{isNewState:!0,newState:{place:Mn}}:{isNewState:!1,position:{left:parseInt(wt(n)-Tt,10),top:parseInt(Ot(n)-St,10)}}}var ir=function(t){var r=t.getBoundingClientRect(),n=r.height,o=r.width;return{height:parseInt(n,10),width:parseInt(o,10)}},as=function(t,r,n){var o=r.getBoundingClientRect(),s=o.top,h=o.left,T=ir(r),O=T.width,P=T.height;return n==="float"?{mouseX:t.clientX,mouseY:t.clientY}:{mouseX:h+O/2,mouseY:s+P/2}},is=function(t,r,n,o,s){var h,T,O,P,L=3,_=2,Y=12;return t==="float"?(h={l:-(o/2),r:o/2,t:-(s+L+_),b:-L},O={l:-(o/2),r:o/2,t:L+Y,b:s+L+_+Y},P={l:-(o+L+_),r:-L,t:-(s/2),b:s/2},T={l:L,r:o+L+_,t:-(s/2),b:s/2}):t==="solid"&&(h={l:-(o/2),r:o/2,t:-(n/2+s+_),b:-(n/2)},O={l:-(o/2),r:o/2,t:n/2,b:n/2+s+_},P={l:-(o+r/2+_),r:-(r/2),t:-(s/2),b:s/2},T={l:r/2,r:o+r/2+_,t:-(s/2),b:s/2}),{top:h,bottom:O,left:P,right:T}},ls=function(t){var r=0,n=0;Object.prototype.toString.apply(t)==="[object String]"&&(t=JSON.parse(t.toString().replace(/'/g,'"')));for(var o in t)o==="top"?n-=parseInt(t[o],10):o==="bottom"?n+=parseInt(t[o],10):o==="left"?r-=parseInt(t[o],10):o==="right"&&(r+=parseInt(t[o],10));return{extraOffsetX:r,extraOffsetY:n}},ss=function(t){for(var r=t;r;){var n=window.getComputedStyle(r);if(n.getPropertyValue("transform")!=="none"||n.getPropertyValue("will-change")==="transform")break;r=r.parentElement}var o=r&&r.getBoundingClientRect().top||0,s=r&&r.getBoundingClientRect().left||0;return{parentTop:o,parentLeft:s}};function Dn(e,t,r,n){if(t)return t;if(r!=null)return r;if(r===null)return null;var o=//;return!n||n==="false"||!o.test(e)?e:e.split(o).map(function(s,h){return v.createElement("span",{key:h,className:"multi-line"},s)})}function $n(e){var t={};return Object.keys(e).filter(function(r){return/(^aria-\w+$|^role$)/.test(r)}).forEach(function(r){t[r]=e[r]}),t}function lr(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map(function(r){return e[r]})}function us(){return"t"+z()}var cs=`.__react_component_tooltip { + border-radius: 3px; + display: inline-block; + font-size: 13px; + left: -999em; + opacity: 0; + position: fixed; + pointer-events: none; + transition: opacity 0.3s ease-out; + top: -999em; + visibility: hidden; + z-index: 999; +} +.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click { + pointer-events: auto; +} +.__react_component_tooltip::before, .__react_component_tooltip::after { + content: ""; + width: 0; + height: 0; + position: absolute; +} +.__react_component_tooltip.show { + opacity: 0.9; + margin-top: 0; + margin-left: 0; + visibility: visible; +} +.__react_component_tooltip.place-top::before { + bottom: 0; + left: 50%; + margin-left: -11px; +} +.__react_component_tooltip.place-bottom::before { + top: 0; + left: 50%; + margin-left: -11px; +} +.__react_component_tooltip.place-left::before { + right: 0; + top: 50%; + margin-top: -9px; +} +.__react_component_tooltip.place-right::before { + left: 0; + top: 50%; + margin-top: -9px; +} +.__react_component_tooltip .multi-line { + display: block; + padding: 2px 0; + text-align: center; +}`,xn={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function fs(e){return xn[e]?K({},xn[e]):void 0}var ds="8px 21px",vs={tooltip:3,arrow:0};function hs(e,t,r,n,o,s){return ps(e,gs(t,r,n),o,s)}function ps(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ds,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:vs,o=t.text,s=t.background,h=t.border,T=t.arrow,O=n.arrow,P=n.tooltip;return` + .`.concat(e,` { + color: `).concat(o,`; + background: `).concat(s,`; + border: 1px solid `).concat(h,`; + border-radius: `).concat(P,`px; + padding: `).concat(r,`; + } + + .`).concat(e,`.place-top { + margin-top: -10px; + } + .`).concat(e,`.place-top::before { + content: ""; + background-color: inherit; + position: absolute; + z-index: 2; + width: 20px; + height: 12px; + } + .`).concat(e,`.place-top::after { + content: ""; + position: absolute; + width: 10px; + height: 10px; + border-top-right-radius: `).concat(O,`px; + border: 1px solid `).concat(h,`; + background-color: `).concat(T,`; + z-index: -2; + bottom: -6px; + left: 50%; + margin-left: -6px; + transform: rotate(135deg); + } + + .`).concat(e,`.place-bottom { + margin-top: 10px; + } + .`).concat(e,`.place-bottom::before { + content: ""; + background-color: inherit; + position: absolute; + z-index: -1; + width: 18px; + height: 10px; + } + .`).concat(e,`.place-bottom::after { + content: ""; + position: absolute; + width: 10px; + height: 10px; + border-top-right-radius: `).concat(O,`px; + border: 1px solid `).concat(h,`; + background-color: `).concat(T,`; + z-index: -2; + top: -6px; + left: 50%; + margin-left: -6px; + transform: rotate(45deg); + } + + .`).concat(e,`.place-left { + margin-left: -10px; + } + .`).concat(e,`.place-left::before { + content: ""; + background-color: inherit; + position: absolute; + z-index: -1; + width: 10px; + height: 18px; + } + .`).concat(e,`.place-left::after { + content: ""; + position: absolute; + width: 10px; + height: 10px; + border-top-right-radius: `).concat(O,`px; + border: 1px solid `).concat(h,`; + background-color: `).concat(T,`; + z-index: -2; + right: -6px; + top: 50%; + margin-top: -6px; + transform: rotate(45deg); + } + + .`).concat(e,`.place-right { + margin-left: 10px; + } + .`).concat(e,`.place-right::before { + content: ""; + background-color: inherit; + position: absolute; + z-index: -1; + width: 10px; + height: 18px; + } + .`).concat(e,`.place-right::after { + content: ""; + position: absolute; + width: 10px; + height: 10px; + border-top-right-radius: `).concat(O,`px; + border: 1px solid `).concat(h,`; + background-color: `).concat(T,`; + z-index: -2; + left: -6px; + top: 50%; + margin-top: -6px; + transform: rotate(-135deg); + } + `)}function gs(e,t,r){var n=e.text,o=e.background,s=e.border,h=e.arrow?e.arrow:e.background,T=fs(t);return n&&(T.text=n),o&&(T.background=o),r&&(s?T.border=s:T.border=t==="light"?"black":"white"),h&&(T.arrow=h),T}var we,it,ms=Yl(we=Zl(we=Ql(we=ql(we=es(we=rs(we=os(we=(it=function(e){se(r,e);var t=ue(r);function r(n){var o;return Oe(this,r),o=t.call(this,n),o.state={uuid:n.uuid||us(),place:n.place||"top",desiredPlace:n.place||"top",type:n.type||"dark",effect:n.effect||"float",show:!1,border:!1,borderClass:"border",customColors:{},customRadius:{},offset:{},padding:n.padding,extraClass:"",html:!1,delayHide:0,delayShow:0,event:n.event||null,eventOff:n.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:$n(n),isEmptyTip:!1,disable:!1,possibleCustomEvents:n.possibleCustomEvents||"",possibleCustomEventsOff:n.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},o.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),o.mount=!0,o.delayShowLoop=null,o.delayHideLoop=null,o.delayReshow=null,o.intervalUpdateContent=null,o}return Se(r,[{key:"bind",value:function(o){var s=this;o.forEach(function(h){s[h]=s[h].bind(s)})}},{key:"componentDidMount",value:function(){var o=this.props;o.insecure;var s=o.resizeHide,h=o.disableInternalStyle;this.mount=!0,this.bindListener(),this.bindWindowEvents(s),h||this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var o=this.tooltipRef;if(!!o){for(var s=o.parentNode;s.parentNode;)s=s.parentNode;var h;switch(s.constructor.name){case"Document":case"HTMLDocument":case void 0:h=s.head;break;case"ShadowRoot":default:h=s;break}if(!h.querySelector("style[data-react-tooltip]")){var T=document.createElement("style");T.textContent=cs,T.setAttribute("data-react-tooltip","true"),h.appendChild(T)}}}},{key:"mouseOnToolTip",value:function(){var o=this.state.show;return o&&this.tooltipRef?(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover")):!1}},{key:"getTargetArray",value:function(o){var s=[],h;if(!o)h="[data-tip]:not([data-for])";else{var T=o.replace(/\\/g,"\\\\").replace(/"/g,'\\"');h='[data-tip][data-for="'.concat(T,'"]')}return lr(document.getElementsByTagName("*")).filter(function(O){return O.shadowRoot}).forEach(function(O){s=s.concat(lr(O.shadowRoot.querySelectorAll(h)))}),s.concat(lr(document.querySelectorAll(h)))}},{key:"bindListener",value:function(){var o=this,s=this.props,h=s.id,T=s.globalEventOff,O=s.isCapture,P=this.getTargetArray(h);P.forEach(function(L){L.getAttribute("currentItem")===null&&L.setAttribute("currentItem","false"),o.unbindBasicListener(L),o.isCustomEvent(L)&&o.customUnbindListener(L)}),this.isBodyMode()?this.bindBodyListener(P):P.forEach(function(L){var _=o.isCapture(L),Y=o.getEffect(L);if(o.isCustomEvent(L)){o.customBindListener(L);return}L.addEventListener("mouseenter",o.showTooltip,_),L.addEventListener("focus",o.showTooltip,_),Y==="float"&&L.addEventListener("mousemove",o.updateTooltip,_),L.addEventListener("mouseleave",o.hideTooltip,_),L.addEventListener("blur",o.hideTooltip,_)}),T&&(window.removeEventListener(T,this.hideTooltip),window.addEventListener(T,this.hideTooltip,O)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var o=this,s=this.props,h=s.id,T=s.globalEventOff;if(this.isBodyMode())this.unbindBodyListener();else{var O=this.getTargetArray(h);O.forEach(function(P){o.unbindBasicListener(P),o.isCustomEvent(P)&&o.customUnbindListener(P)})}T&&window.removeEventListener(T,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(o){var s=this.isCapture(o);o.removeEventListener("mouseenter",this.showTooltip,s),o.removeEventListener("mousemove",this.updateTooltip,s),o.removeEventListener("mouseleave",this.hideTooltip,s)}},{key:"getTooltipContent",value:function(){var o=this.props,s=o.getContent,h=o.children,T;return s&&(Array.isArray(s)?T=s[0]&&s[0](this.state.originTooltip):T=s(this.state.originTooltip)),Dn(this.state.originTooltip,h,T,this.state.isMultiline)}},{key:"isEmptyTip",value:function(o){return typeof o=="string"&&o===""||o===null}},{key:"showTooltip",value:function(o,s){if(!!this.tooltipRef){if(s){var h=this.getTargetArray(this.props.id),T=h.some(function(Tt){return Tt===o.currentTarget});if(!T)return}var O=this.props,P=O.multiline,L=O.getContent,_=o.currentTarget.getAttribute("data-tip"),Y=o.currentTarget.getAttribute("data-multiline")||P||!1,re=o instanceof window.FocusEvent||s,Q=!0;o.currentTarget.getAttribute("data-scroll-hide")?Q=o.currentTarget.getAttribute("data-scroll-hide")==="true":this.props.scrollHide!=null&&(Q=this.props.scrollHide),o&&o.currentTarget&&o.currentTarget.setAttribute&&o.currentTarget.setAttribute("aria-describedby",this.props.id||this.state.uuid);var q=o.currentTarget.getAttribute("data-place")||this.props.place||"top",oe=re&&"solid"||this.getEffect(o.currentTarget),ye=o.currentTarget.getAttribute("data-offset")||this.props.offset||{},ce=Ln(o,o.currentTarget,this.tooltipRef,q.split(",")[0],q,oe,ye);ce.position&&this.props.overridePosition&&(ce.position=this.props.overridePosition(ce.position,o,o.currentTarget,this.tooltipRef,q,q,oe,ye));var be=ce.isNewState?ce.newState.place:q.split(",")[0];this.clearTimer();var ee=o.currentTarget,bt=this.state.show?ee.getAttribute("data-delay-update")||this.props.delayUpdate:0,Z=this,St=function(){Z.setState({originTooltip:_,isMultiline:Y,desiredPlace:q,place:be,type:ee.getAttribute("data-type")||Z.props.type||"dark",customColors:{text:ee.getAttribute("data-text-color")||Z.props.textColor||null,background:ee.getAttribute("data-background-color")||Z.props.backgroundColor||null,border:ee.getAttribute("data-border-color")||Z.props.borderColor||null,arrow:ee.getAttribute("data-arrow-color")||Z.props.arrowColor||null},customRadius:{tooltip:ee.getAttribute("data-tooltip-radius")||Z.props.tooltipRadius||"3",arrow:ee.getAttribute("data-arrow-radius")||Z.props.arrowRadius||"0"},effect:oe,offset:ye,padding:ee.getAttribute("data-padding")||Z.props.padding,html:(ee.getAttribute("data-html")?ee.getAttribute("data-html")==="true":Z.props.html)||!1,delayShow:ee.getAttribute("data-delay-show")||Z.props.delayShow||0,delayHide:ee.getAttribute("data-delay-hide")||Z.props.delayHide||0,delayUpdate:ee.getAttribute("data-delay-update")||Z.props.delayUpdate||0,border:(ee.getAttribute("data-border")?ee.getAttribute("data-border")==="true":Z.props.border)||!1,borderClass:ee.getAttribute("data-border-class")||Z.props.borderClass||"border",extraClass:ee.getAttribute("data-class")||Z.props.class||Z.props.className||"",disable:(ee.getAttribute("data-tip-disable")?ee.getAttribute("data-tip-disable")==="true":Z.props.disable)||!1,currentTarget:ee},function(){Q&&Z.addScrollListener(Z.state.currentTarget),Z.updateTooltip(o),L&&Array.isArray(L)&&(Z.intervalUpdateContent=setInterval(function(){if(Z.mount){var wt=Z.props.getContent,sr=Dn(_,"",wt[0](),Y),Ot=Z.isEmptyTip(sr);Z.setState({isEmptyTip:Ot}),Z.updatePosition()}},L[1]))})};bt?this.delayReshow=setTimeout(St,bt):St()}}},{key:"updateTooltip",value:function(o){var s=this,h=this.state,T=h.delayShow,O=h.disable,P=this.props,L=P.afterShow,_=P.disable,Y=this.getTooltipContent(),re=o.currentTarget||o.target;if(!this.mouseOnToolTip()&&!(this.isEmptyTip(Y)||O||_)){var Q=this.state.show?0:parseInt(T,10),q=function(){if(Array.isArray(Y)&&Y.length>0||Y){var ye=!s.state.show;s.setState({currentEvent:o,currentTarget:re,show:!0},function(){s.updatePosition(function(){ye&&L&&L(o)})})}};this.delayShowLoop&&clearTimeout(this.delayShowLoop),Q?this.delayShowLoop=setTimeout(q,Q):(this.delayShowLoop=null,q())}}},{key:"listenForTooltipExit",value:function(){var o=this.state.show;o&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){var o=this.state.show;o&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(o,s){var h=this,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isScroll:!1},O=this.state.disable,P=T.isScroll,L=P?0:this.state.delayHide,_=this.props,Y=_.afterHide,re=_.disable,Q=this.getTooltipContent();if(!!this.mount&&!(this.isEmptyTip(Q)||O||re)){if(s){var q=this.getTargetArray(this.props.id),oe=q.some(function(ce){return ce===o.currentTarget});if(!oe||!this.state.show)return}o&&o.currentTarget&&o.currentTarget.removeAttribute&&o.currentTarget.removeAttribute("aria-describedby");var ye=function(){var be=h.state.show;if(h.mouseOnToolTip()){h.listenForTooltipExit();return}h.removeListenerForTooltipExit(),h.setState({show:!1},function(){h.removeScrollListener(h.state.currentTarget),be&&Y&&Y(o)})};this.clearTimer(),L?this.delayHideLoop=setTimeout(ye,parseInt(L,10)):ye()}}},{key:"hideTooltipOnScroll",value:function(o,s){this.hideTooltip(o,s,{isScroll:!0})}},{key:"addScrollListener",value:function(o){var s=this.isCapture(o);window.addEventListener("scroll",this.hideTooltipOnScroll,s)}},{key:"removeScrollListener",value:function(o){var s=this.isCapture(o);window.removeEventListener("scroll",this.hideTooltipOnScroll,s)}},{key:"updatePosition",value:function(o){var s=this,h=this.state,T=h.currentEvent,O=h.currentTarget,P=h.place,L=h.desiredPlace,_=h.effect,Y=h.offset,re=this.tooltipRef,Q=Ln(T,O,re,P,L,_,Y);if(Q.position&&this.props.overridePosition&&(Q.position=this.props.overridePosition(Q.position,T,O,re,P,L,_,Y)),Q.isNewState)return this.setState(Q.newState,function(){s.updatePosition(o)});o&&typeof o=="function"&&o(),re.style.left=Q.position.left+"px",re.style.top=Q.position.top+"px"}},{key:"clearTimer",value:function(){this.delayShowLoop&&(clearTimeout(this.delayShowLoop),this.delayShowLoop=null),this.delayHideLoop&&(clearTimeout(this.delayHideLoop),this.delayHideLoop=null),this.delayReshow&&(clearTimeout(this.delayReshow),this.delayReshow=null),this.intervalUpdateContent&&(clearInterval(this.intervalUpdateContent),this.intervalUpdateContent=null)}},{key:"hasCustomColors",value:function(){var o=this;return Boolean(Object.keys(this.state.customColors).find(function(s){return s!=="border"&&o.state.customColors[s]})||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var o=this,s=this.state,h=s.extraClass,T=s.html,O=s.ariaProps,P=s.disable,L=s.uuid,_=this.getTooltipContent(),Y=this.isEmptyTip(_),re=this.props.disableInternalStyle?"":hs(this.state.uuid,this.state.customColors,this.state.type,this.state.border,this.state.padding,this.state.customRadius),Q="__react_component_tooltip"+" ".concat(this.state.uuid)+(this.state.show&&!P&&!Y?" show":"")+(this.state.border?" "+this.state.borderClass:"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),q=this.props.wrapper;r.supportedWrappers.indexOf(q)<0&&(q=r.defaultProps.wrapper);var oe=[Q,h].filter(Boolean).join(" ");if(T){var ye="".concat(_).concat(re?` +"):"");return v.createElement(q,de({className:"".concat(oe),id:this.props.id||L,ref:function(be){return o.tooltipRef=be}},O,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:ye}}))}else return v.createElement(q,de({className:"".concat(oe),id:this.props.id||L},O,{ref:function(be){return o.tooltipRef=be},"data-id":"tooltip"}),re&&v.createElement("style",{dangerouslySetInnerHTML:{__html:re},"aria-hidden":"true"}),_)}}],[{key:"propTypes",get:function(){return{uuid:m().string,children:m().any,place:m().string,type:m().string,effect:m().string,offset:m().object,padding:m().string,multiline:m().bool,border:m().bool,borderClass:m().string,textColor:m().string,backgroundColor:m().string,borderColor:m().string,arrowColor:m().string,arrowRadius:m().string,tooltipRadius:m().string,insecure:m().bool,class:m().string,className:m().string,id:m().string,html:m().bool,delayHide:m().number,delayUpdate:m().number,delayShow:m().number,event:m().string,eventOff:m().string,isCapture:m().bool,globalEventOff:m().string,getContent:m().any,afterShow:m().func,afterHide:m().func,overridePosition:m().func,disable:m().bool,scrollHide:m().bool,resizeHide:m().bool,wrapper:m().string,bodyMode:m().bool,possibleCustomEvents:m().string,possibleCustomEventsOff:m().string,clickable:m().bool,disableInternalStyle:m().bool}}},{key:"getDerivedStateFromProps",value:function(o,s){var h=s.ariaProps,T=$n(o),O=Object.keys(T).some(function(P){return T[P]!==h[P]});return O?K(K({},s),{},{ariaProps:T}):null}}]),r}(v.Component),Ee(it,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),Ee(it,"supportedWrappers",["div","span"]),Ee(it,"displayName","ReactTooltip"),it))||we)||we)||we)||we)||we)||we)||we},6189:function(F,C,S){var v=S(7966);F.exports=M;function M(m){return v(m).replace(/\s(\w)/g,function(I,$){return $.toUpperCase()})}},71788:function(F){F.exports=M;var C=/\s/,S=/(_|-|\.|:)/,v=/([a-z][A-Z]|[A-Z][a-z])/;function M(W){return C.test(W)?W.toLowerCase():S.test(W)?(I(W)||W).toLowerCase():v.test(W)?x(W).toLowerCase():W.toLowerCase()}var m=/[\W_]+(.|$)/g;function I(W){return W.replace(m,function(X,k){return k?" "+k:""})}var $=/(.)([A-Z]+)/g;function x(W){return W.replace($,function(X,k,j){return k+" "+j.toLowerCase().split("").join(" ")})}},7966:function(F,C,S){var v=S(71788);F.exports=M;function M(m){return v(m).replace(/[\W_]+(.|$)/g,function(I,$){return $?" "+$:""}).trim()}}}]); diff --git a/statics/1101.7b969df9.async.js b/statics/1101.7b969df9.async.js deleted file mode 100644 index 416d2775..00000000 --- a/statics/1101.7b969df9.async.js +++ /dev/null @@ -1,67 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1101],{40110:function(ct,Ee,C){"use strict";var te=C(1413),U=C(67294),G=C(509),O=C(84089),ce=function(Je,E){return U.createElement(O.Z,(0,te.Z)((0,te.Z)({},Je),{},{ref:E,icon:G.Z}))};ce.displayName="SearchOutlined",Ee.Z=U.forwardRef(ce)},61342:function(ct,Ee,C){"use strict";C.d(Ee,{Z:function(){return Ei}});var te=C(27484),U=C.n(te),G=C(80334),O=C(72540),ce=C.n(O),ne=C(96036),Je=C.n(ne),E=C(55183),se=C.n(E),ze=C(172),wt=C.n(ze),B=C(28734),J=C.n(B),Ce=C(10285),be=C.n(Ce);U().extend(be()),U().extend(J()),U().extend(ce()),U().extend(Je()),U().extend(se()),U().extend(wt()),U().extend(function(e,t){var n=t.prototype,a=n.format;n.format=function(l){var i=(l||"").replace("Wo","wo");return a.bind(this)(i)}});var Ke={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},He=function(t){var n=Ke[t];return n||t.split("_")[0]},qe=function(){(0,G.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Qe={getNow:function(){return U()()},getFixedDate:function(t){return U()(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return U()().locale(He(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(He(t)).weekday(0)},getWeek:function(t,n){return n.locale(He(t)).week()},getShortWeekDays:function(t){return U()().locale(He(t)).localeData().weekdaysMin()},getShortMonths:function(t){return U()().locale(He(t)).localeData().monthsShort()},format:function(t,n,a){return n.locale(He(t)).format(a)},parse:function(t,n,a){for(var r=He(t),l=0;l1&&(i=t.addDate(i,-7)),i}function $n(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,a*10);case"quarter":case"month":return n.addYear(e,a);default:return n.addMonth(e,a)}}function et(e,t){var n=t.generateConfig,a=t.locale,r=t.format;return typeof r=="function"?r(e):n.locale.format(a.locale,e,r)}function Ir(e,t){var n=t.generateConfig,a=t.locale,r=t.formatList;return!e||typeof r[0]=="function"?null:n.locale.parse(a.locale,e,r)}function tr(e){var t=e.cellDate,n=e.mode,a=e.disabledDate,r=e.generateConfig;if(!a)return!1;var l=function(m,p,f){for(var b=p;b<=f;){var w=void 0;switch(m){case"date":{if(w=r.setDate(t,b),!a(w))return!1;break}case"month":{if(w=r.setMonth(t,b),!tr({cellDate:w,mode:"month",generateConfig:r,disabledDate:a}))return!1;break}case"year":{if(w=r.setYear(t,b),!tr({cellDate:w,mode:"year",generateConfig:r,disabledDate:a}))return!1;break}}b+=1}return!0};switch(n){case"date":case"week":return a(t);case"month":{var i=1,c=r.getDate(r.getEndDate(t));return l("date",i,c)}case"quarter":{var u=Math.floor(r.getMonth(t)/3)*3,s=u+2;return l("month",u,s)}case"year":return l("month",0,11);case"decade":{var h=r.getYear(t),g=Math.floor(h/It)*It,v=g+It-1;return l("year",g,v)}}}function Hn(e,t){var n=t.formatList,a=t.generateConfig,r=t.locale;return(0,yr.Z)(function(){if(!e)return[[""],""];for(var l="",i=[],c=0;c1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(s.current),b){u(f);return}s.current=requestAnimationFrame(function(){u(f)})}var g=Hn(c,{formatList:n,generateConfig:a,locale:r}),v=(0,K.Z)(g,2),d=v[1];function m(f){h(f)}function p(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;h(null,f)}return(0,o.useEffect)(function(){p(!0)},[e]),(0,o.useEffect)(function(){return function(){return cancelAnimationFrame(s.current)}},[]),[d,m,p]}function rr(e){var t=e.open,n=e.value,a=e.isClickOutside,r=e.triggerOpen,l=e.forwardKeyDown,i=e.onKeyDown,c=e.blurToCancel,u=e.onSubmit,s=e.onCancel,h=e.onFocus,g=e.onBlur,v=(0,o.useState)(!1),d=(0,K.Z)(v,2),m=d[0],p=d[1],f=(0,o.useState)(!1),b=(0,K.Z)(f,2),w=b[0],P=b[1],k=(0,o.useRef)(!1),L=(0,o.useRef)(!1),x=(0,o.useRef)(!1),W={onMouseDown:function(){p(!0),r(!0)},onKeyDown:function(N){var ae=function(){x.current=!0};if(i(N,ae),!x.current){switch(N.which){case Re.Z.ENTER:{t?u()!==!1&&p(!0):r(!0),N.preventDefault();return}case Re.Z.TAB:{m&&t&&!N.shiftKey?(p(!1),N.preventDefault()):!m&&t&&!l(N)&&N.shiftKey&&(p(!0),N.preventDefault());return}case Re.Z.ESC:{p(!0),s();return}}!t&&![Re.Z.SHIFT].includes(N.which)?r(!0):m||l(N)}},onFocus:function(N){p(!0),P(!0),h&&h(N)},onBlur:function(N){if(k.current||!a(document.activeElement)){k.current=!1;return}c?setTimeout(function(){for(var ae=document,ve=ae.activeElement;ve&&ve.shadowRoot;)ve=ve.shadowRoot.activeElement;a(ve)&&s()},0):t&&(r(!1),L.current&&u()),P(!1),g&&g(N)}};return(0,o.useEffect)(function(){L.current=!1},[t]),(0,o.useEffect)(function(){L.current=!0},[n]),(0,o.useEffect)(function(){return Ga(function(T){var N=Xa(T);if(t){var ae=a(N);ae?(!w||ae)&&r(!1):(k.current=!0,requestAnimationFrame(function(){k.current=!1}))}})}),[W,{focused:w,typing:m}]}function Or(e,t){return o.useMemo(function(){if(e)return e;if(t){(0,G.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead.");var n=Object.keys(t);return n.map(function(a){var r=t[a],l=typeof r=="function"?r():r;return{label:a,value:l}})}return[]},[e,t])}var lo=C(8410);function ar(e){var t=e.valueTexts,n=e.onTextChange,a=o.useState(""),r=(0,K.Z)(a,2),l=r[0],i=r[1],c=o.useRef([]);c.current=t;function u(h){i(h),n(h)}function s(){i(c.current[0])}return(0,lo.Z)(function(){t.every(function(h){return h!==l})&&s()},[t.join("||")]),[l,u,s]}var Sn=C(71002);function uo(e){var t=o.useContext(Dt),n=t.hideHeader;if(n)return null;var a=e.prefixCls,r=e.generateConfig,l=e.locale,i=e.value,c=e.format,u="".concat(a,"-header");return o.createElement(fn,{prefixCls:u},i?et(i,{locale:l,format:c,generateConfig:r}):"\xA0")}var co=uo;function so(e){var t=e.prefixCls,n=e.units,a=e.onSelect,r=e.value,l=e.active,i=e.hideDisabledOptions,c="".concat(t,"-cell"),u=o.useContext(Dt),s=u.open,h=(0,o.useRef)(null),g=(0,o.useRef)(new Map),v=(0,o.useRef)();return(0,o.useLayoutEffect)(function(){var d=g.current.get(r);d&&s!==!1&&qn(h.current,d.offsetTop,120)},[r]),(0,o.useLayoutEffect)(function(){if(s){var d=g.current.get(r);d&&(v.current=Qa(d,function(){qn(h.current,d.offsetTop,0)}))}return function(){var m;(m=v.current)===null||m===void 0||m.call(v)}},[s]),o.createElement("ul",{className:ue()("".concat(t,"-column"),(0,R.Z)({},"".concat(t,"-column-active"),l)),ref:h,style:{position:"relative"}},n.map(function(d){var m;return i&&d.disabled?null:o.createElement("li",{key:d.value,ref:function(f){g.current.set(d.value,f)},className:ue()(c,(m={},(0,R.Z)(m,"".concat(c,"-disabled"),d.disabled),(0,R.Z)(m,"".concat(c,"-selected"),r===d.value),m)),onClick:function(){d.disabled||a(d.value)}},o.createElement("div",{className:"".concat(c,"-inner")},d.label))}))}var Vn=so;function Hr(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",a=String(e);a.length=12,ve%=12);var Se=o.useMemo(function(){if(!s)return[!1,!1];var Q=[!0,!0];return he.forEach(function(oe){var me=oe.disabled,it=oe.value;me||(it>=12?Q[1]=!1:Q[0]=!1)}),Q},[s,he]),Be=(0,K.Z)(Se,2),Xe=Be[0],Fe=Be[1],rt=o.useMemo(function(){return s?he.filter(N?function(Q){return Q.value>=12}:function(Q){return Q.value<12}).map(function(Q){var oe=Q.value%12,me=oe===0?"12":Hr(oe,2);return(0,z.Z)((0,z.Z)({},Q),{},{label:me,value:oe})}):he},[s,N,he]),xt=or(0,59,d,xe&&xe(ae)),vt=or(0,59,p,fe&&fe(ae,de));a.current={onUpDown:function(oe){var me=x[r];if(me)for(var it=me.units.findIndex(function(At){return At.value===me.value}),ye=me.units.length,Ue=1;Ue2&&arguments[2]!==void 0?arguments[2]:!1;(Pe===f||kt)&&(on(M),T&&T(M),xt&&xt(M,ie),N&&!gn(u,M,Le)&&!(d!=null&&d(M))&&N(M))},Nt=function(M){return ye.current&&ye.current.onKeyDown?([Re.Z.LEFT,Re.Z.RIGHT,Re.Z.UP,Re.Z.DOWN,Re.Z.PAGE_UP,Re.Z.PAGE_DOWN,Re.Z.ENTER].includes(M.which)&&M.preventDefault(),ye.current.onKeyDown(M)):((0,G.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},lt=function(M){ye.current&&ye.current.onBlur&&ye.current.onBlur(M)};rt&&oe!=="right"&&(rt.current={onKeyDown:Nt,onClose:function(){ye.current&&ye.current.onClose&&ye.current.onClose()}}),o.useEffect(function(){s&&!Ue.current&&$t(s)},[s]),o.useEffect(function(){Ue.current=!1},[]);var St,ut=(0,z.Z)((0,z.Z)({},e),{},{operationRef:ye,prefixCls:r,viewDate:en,value:Le,onViewDateChange:Ge,sourceMode:Gt,onPanelChange:Rt,disabledDate:d});switch(delete ut.onChange,delete ut.onSelect,Pe){case"decade":St=o.createElement(ro,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}}));break;case"year":St=o.createElement(Go,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}}));break;case"month":St=o.createElement(Io,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}}));break;case"quarter":St=o.createElement(Fo,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}}));break;case"week":St=o.createElement(Po,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}}));break;case"time":delete ut.showTime,St=o.createElement(Wr,(0,j.Z)({},ut,(0,Sn.Z)(k)==="object"?k:null,{onSelect:function(M,ie){Ge(M),je(M,ie)}}));break;default:k?St=o.createElement(ko,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}})):St=o.createElement(ir,(0,j.Z)({},ut,{onSelect:function(M,ie){Ge(M),je(M,ie)}}))}var A,Zt,Yt=function(){var M=u.getNow(),ie=Ba(u.getHour(M),u.getMinute(M),u.getSecond(M),Se?$e:1,Be?fe:1,Xe?Me:1),kt=kr(u,M,ie[0],ie[1],ie[2]);je(kt,"submit")};vt||(A=Ur(r,Pe,x),Zt=jr({prefixCls:r,components:Te,needConfirmButton:he,okDisabled:!Le||d&&d(Le),locale:c,showNow:P,onNow:he&&Yt,onOk:function(){Le&&(je(Le,"submit",!0),De&&De(Le))}}));var pe;if(L&&Pe==="date"&&f==="date"&&!k){var Xt=u.getNow(),yt="".concat(r,"-today-btn"),Ie=d&&d(Xt);pe=o.createElement("a",{className:ue()(yt,Ie&&"".concat(yt,"-disabled")),"aria-disabled":Ie,onClick:function(){Ie||je(Xt,"mouse",!0)}},c.today)}return o.createElement(Dt.Provider,{value:(0,z.Z)((0,z.Z)({},Fe),{},{mode:Pe,hideHeader:"hideHeader"in e?W:Fe.hideHeader,hidePrevBtn:Q&&oe==="right",hideNextBtn:Q&&oe==="left"})},o.createElement("div",{tabIndex:w,className:ue()("".concat(r,"-panel"),l,(t={},(0,R.Z)(t,"".concat(r,"-panel-has-range"),me&&me[0]&&me[1]),(0,R.Z)(t,"".concat(r,"-panel-has-range-hover"),it&&it[0]&&it[1]),(0,R.Z)(t,"".concat(r,"-panel-rtl"),ke==="rtl"),t)),style:i,onKeyDown:Nt,onBlur:lt,onMouseDown:ve},St,A||Zt||pe?o.createElement("div",{className:"".concat(r,"-footer")},A,Zt,pe):null))}var zr=Xo,Jo=C(81263),qo={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 _o(e){var t,n=e.prefixCls,a=e.popupElement,r=e.popupStyle,l=e.visible,i=e.dropdownClassName,c=e.dropdownAlign,u=e.transitionName,s=e.getPopupContainer,h=e.children,g=e.range,v=e.popupPlacement,d=e.direction,m="".concat(n,"-dropdown"),p=function(){return v!==void 0?v:d==="rtl"?"bottomRight":"bottomLeft"};return o.createElement(Jo.Z,{showAction:[],hideAction:[],popupPlacement:p(),builtinPlacements:qo,prefixCls:m,popupTransitionName:u,popup:a,popupAlign:c,popupVisible:l,popupClassName:ue()(i,(t={},(0,R.Z)(t,"".concat(m,"-range"),g),(0,R.Z)(t,"".concat(m,"-rtl"),d==="rtl"),t)),popupStyle:r,getPopupContainer:s},h)}var Kr=_o;function Qr(e){var t=e.prefixCls,n=e.presets,a=e.onClick,r=e.onHover;return n.length?o.createElement("div",{className:"".concat(t,"-presets")},o.createElement("ul",null,n.map(function(l,i){var c=l.label,u=l.value;return o.createElement("li",{key:i,onClick:function(){a(u)},onMouseEnter:function(){r==null||r(u)},onMouseLeave:function(){r==null||r(null)}},c)}))):null}function sl(e){var t=e.picker,n=e.disabledHours,a=e.disabledMinutes,r=e.disabledSeconds;t==="time"&&(n||a||r)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ei(e){var t,n=e,a=n.prefixCls,r=a===void 0?"rc-picker":a,l=n.id,i=n.tabIndex,c=n.style,u=n.className,s=n.dropdownClassName,h=n.dropdownAlign,g=n.popupStyle,v=n.transitionName,d=n.generateConfig,m=n.locale,p=n.inputReadOnly,f=n.allowClear,b=n.autoFocus,w=n.showTime,P=n.picker,k=P===void 0?"date":P,L=n.format,x=n.use12Hours,W=n.value,T=n.defaultValue,N=n.presets,ae=n.open,ve=n.defaultOpen,de=n.defaultOpenValue,De=n.suffixIcon,Te=n.clearIcon,ke=n.disabled,ee=n.disabledDate,$e=n.placeholder,xe=n.getPopupContainer,fe=n.pickerRef,Ne=n.panelRender,Me=n.onChange,he=n.onOpenChange,Se=n.onFocus,Be=n.onBlur,Xe=n.onMouseDown,Fe=n.onMouseUp,rt=n.onMouseEnter,xt=n.onMouseLeave,vt=n.onContextMenu,at=n.onClick,ot=n.onKeyDown,Q=n.onSelect,oe=n.direction,me=n.autoComplete,it=me===void 0?"off":me,ye=n.inputRender,Ue=o.useRef(null),Et=k==="date"&&!!w||k==="time",At=Or(N),Le=Vr(Rr(L,k,w,x)),on=o.useRef(null),Ot=o.useRef(null),ln=o.useRef(null),en=(0,Wt.Z)(null,{value:W,defaultValue:T}),$t=(0,K.Z)(en,2),Ge=$t[0],un=$t[1],Cn=o.useState(Ge),Qt=(0,K.Z)(Cn,2),Pe=Qt[0],Ct=Qt[1],gt=o.useRef(null),Ht=(0,Wt.Z)(!1,{value:ae,defaultValue:ve,postState:function(F){return ke?!1:F},onChange:function(F){he&&he(F),!F&>.current&>.current.onClose&>.current.onClose()}}),Gt=(0,K.Z)(Ht,2),bt=Gt[0],Rt=Gt[1],je=Hn(Pe,{formatList:Le,generateConfig:d,locale:m}),Nt=(0,K.Z)(je,2),lt=Nt[0],St=Nt[1],ut=ar({valueTexts:lt,onTextChange:function(F){var mt=Ir(F,{locale:m,formatList:Le,generateConfig:d});mt&&(!ee||!ee(mt))&&Ct(mt)}}),A=(0,K.Z)(ut,3),Zt=A[0],Yt=A[1],pe=A[2],Xt=function(F){Ct(F),un(F),Me&&!gn(d,Ge,F)&&Me(F,F?et(F,{generateConfig:d,locale:m,format:Le[0]}):"")},yt=function(F){ke&&F||Rt(F)},Ie=function(F){return bt&>.current&>.current.onKeyDown?gt.current.onKeyDown(F):((0,G.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ze=function(){for(var F=arguments.length,mt=new Array(F),Ft=0;Ftd(h);case"month":return v(f)>v(h);case"week":return g(f)>g(h);default:return!Kt(u,f,h)&&u.isAfter(f,h)}return!1},[i,c[1],h,t]),p=o.useCallback(function(f){if(i&&i(f))return!0;if(c[0]&&s)return!Kt(u,f,h)&&u.isAfter(s,f);if(n&&s)switch(a){case"quarter":return d(f)0&&arguments[0]!==void 0?arguments[0]:!1,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Y=null;ht&&wn&&wn[0]&&wn[1]&&p.isAfter(wn[1],wn[0])&&(Y=wn);var le=W;if(W&&(0,Sn.Z)(W)==="object"&&W.defaultValue){var We=W.defaultValue;le=(0,z.Z)((0,z.Z)({},W),{},{defaultValue:re(We,A)||void 0})}var cn=null;return xe&&(cn=function(Vt,Ut){return xe(Vt,Ut,{range:A?"end":"start"})}),o.createElement(hn.Provider,{value:{inRange:!0,panelPosition:X,rangedValue:Wi||Oe,hoverRangedValue:Y}},o.createElement(zr,(0,j.Z)({},e,S,{dateRender:cn,showTime:le,mode:nn[A],generateConfig:p,style:void 0,direction:$t,disabledDate:A===0?Pn:En,disabledTime:function(Vt){return $e?$e(Vt,A===0?"start":"end"):!1},className:ue()((0,R.Z)({},"".concat(i,"-panel-focused"),A===0?!Ma:!Na)),value:re(Oe,A),locale:f,tabIndex:-1,onPanelChange:function(Vt,Ut){A===0&&br(!0),A===1&&Dr(!0),kn(Pt(nn,Ut,A),Pt(Oe,Vt,A));var qt=Vt;X==="right"&&nn[A]===Ut&&(qt=$n(qt,Ut,p,-1)),tn(qt,A)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:A===0?re(Oe,1):re(Oe,0)})))}var rn=0,Za=0;if(A&&Ht.current&&bt.current&>.current){rn=Ht.current.offsetWidth+bt.current.offsetWidth;var al=Nt.current.offsetLeft>rn?Nt.current.offsetLeft-rn:Nt.current.offsetLeft;gt.current.offsetWidth!==void 0&&Nt.current.offsetWidth!==void 0&&rn>gt.current.offsetWidth-Nt.current.offsetWidth-($t==="rtl"?0:al)&&(Za=rn)}var ol=$t==="rtl"?{right:rn}:{left:rn};function il(){var X,S=Ur(i,nn[A],vt),Y=jr({prefixCls:i,components:ln,needConfirmButton:Qt,okDisabled:!re(Oe,A)||ee&&ee(Oe[A]),locale:f,onOk:function(){re(Oe,A)&&(Rn(Oe,A),on&&on(Oe))}});if(x!=="time"&&!W){var le=kt(A),We=$n(le,x,p),cn=nn[A],Jt=cn===x,Vt=xr(Jt?"left":!1,{pickerValue:le,onPickerValueChange:function(tt){tn(tt,A)}}),Ut=xr("right",{pickerValue:We,onPickerValueChange:function(tt){tn($n(tt,x,p,-1),A)}});$t==="rtl"?X=o.createElement(o.Fragment,null,Ut,Jt&&Vt):X=o.createElement(o.Fragment,null,Vt,Jt&&Ut)}else X=xr();var qt=o.createElement("div",{className:"".concat(i,"-panel-layout")},o.createElement(Qr,{prefixCls:i,presets:rl,onClick:function(tt){Rn(tt,null),bn(!1,A)},onHover:function(tt){Ai(tt)}}),o.createElement("div",null,o.createElement("div",{className:"".concat(i,"-panels")},X),(S||Y)&&o.createElement("div",{className:"".concat(i,"-footer")},S,Y)));return fe&&(qt=fe(qt)),o.createElement("div",{className:"".concat(i,"-panel-container"),style:{marginLeft:Za},ref:gt,onMouseDown:function(tt){tt.preventDefault()}},qt)}var ll=o.createElement("div",{className:ue()("".concat(i,"-range-wrapper"),"".concat(i,"-").concat(x,"-range-wrapper")),style:{minWidth:Ri}},o.createElement("div",{ref:Nt,className:"".concat(i,"-range-arrow"),style:ol}),il()),Ya;Be&&(Ya=o.createElement("span",{className:"".concat(i,"-suffix")},Be));var Ta;Se&&(re(Ie,0)&&!pe[0]||re(Ie,1)&&!pe[1])&&(Ta=o.createElement("span",{onMouseDown:function(S){S.preventDefault(),S.stopPropagation()},onMouseUp:function(S){S.preventDefault(),S.stopPropagation();var Y=Ie;pe[0]||(Y=Pt(Y,null,0)),pe[1]||(Y=Pt(Y,null,1)),Rn(Y,null),bn(!1,A)},className:"".concat(i,"-clear")},Xe||o.createElement("span",{className:"".concat(i,"-clear-btn")})));var Ia={size:Nr(x,lt[0],p)},$r=0,Sr=0;Ht.current&&Gt.current&&bt.current&&(A===0?Sr=Ht.current.offsetWidth:($r=rn,Sr=Gt.current.offsetWidth));var ul=$t==="rtl"?{right:$r}:{left:$r},cl=function(S,Y){var le=Pt(Oe,S,A);Y==="submit"||Y!=="key"&&!Qt?(Rn(le,A),A===0?br():Dr()):Bt(le)};return o.createElement(Dt.Provider,{value:{operationRef:Yt,hideHeader:x==="time",onDateMouseEnter:Ki,onDateMouseLeave:Qi,hideRanges:!0,onSelect:cl,open:ht}},o.createElement(Kr,{visible:ht,popupElement:ll,popupStyle:h,prefixCls:i,dropdownClassName:g,dropdownAlign:d,getPopupContainer:m,transitionName:v,range:!0,direction:$t},o.createElement("div",(0,j.Z)({ref:Ct,className:ue()(i,"".concat(i,"-range"),s,(t={},(0,R.Z)(t,"".concat(i,"-disabled"),pe[0]&&pe[1]),(0,R.Z)(t,"".concat(i,"-focused"),A===0?ka:Ra),(0,R.Z)(t,"".concat(i,"-rtl"),$t==="rtl"),t)),style:u,onClick:_i,onMouseEnter:Et,onMouseLeave:At,onMouseDown:el,onMouseUp:Ue},Lr(e)),o.createElement("div",{className:ue()("".concat(i,"-input"),(n={},(0,R.Z)(n,"".concat(i,"-input-active"),A===0),(0,R.Z)(n,"".concat(i,"-input-placeholder"),!!Da),n)),ref:Ht},o.createElement("input",(0,j.Z)({id:c,disabled:pe[0],readOnly:rt||typeof lt[0]=="function"||!Ma,value:Da||Gn,onChange:function(S){ga(S.target.value)},autoFocus:w,placeholder:re(b,0)||"",ref:Rt},Xi,Ia,{autoComplete:Cn}))),o.createElement("div",{className:"".concat(i,"-range-separator"),ref:bt},ae),o.createElement("div",{className:ue()("".concat(i,"-input"),(a={},(0,R.Z)(a,"".concat(i,"-input-active"),A===1),(0,R.Z)(a,"".concat(i,"-input-placeholder"),!!xa),a)),ref:Gt},o.createElement("input",(0,j.Z)({disabled:pe[1],readOnly:rt||typeof lt[0]=="function"||!Na,value:xa||Xn,onChange:function(S){ma(S.target.value)},placeholder:re(b,1)||"",ref:je},qi,Ia,{autoComplete:Cn}))),o.createElement("div",{className:"".concat(i,"-active-bar"),style:(0,z.Z)((0,z.Z)({},ul),{},{width:Sr,position:"absolute"})}),Ya,Ta)))}var ui=function(e){(0,Tt.Z)(n,e);var t=(0,dn.Z)(n);function n(){var a;(0,Ve.Z)(this,n);for(var r=arguments.length,l=new Array(r),i=0;i{const{lineHeight:r}=e,l=Math.floor(n*r)+2,i=Math.max((t-l)/2,0),c=Math.max(t-l-i,0);return{padding:`${i}px ${a}px ${c}px`}},mi=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:a,pickerPanelCellHeight:r,motionDurationSlow:l,borderRadiusSM:i,motionDurationMid:c,controlItemBgHover:u,lineWidth:s,lineType:h,colorPrimary:g,controlItemBgActive:v,colorTextLightSolid:d,controlHeightSM:m,pickerDateHoverRangeBorderColor:p,pickerCellBorderGap:f,pickerBasicCellHoverWithRangeColor:b,pickerPanelCellWidth:w,colorTextDisabled:P,colorBgContainerDisabled:k}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",transition:`all ${l}`,content:'""'},[a]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:`${r}px`,borderRadius:i,transition:`background ${c}, border ${c}`},[`&:hover:not(${n}-in-view), - &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[a]:{background:u}},[`&-in-view${n}-today ${a}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${s}px ${h} ${g}`,borderRadius:i,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:v}},[`&-in-view${n}-selected ${a}, - &-in-view${n}-range-start ${a}, - &-in-view${n}-range-end ${a}`]:{color:d,background:g},[`&-in-view${n}-range-start:not(${n}-range-start-single), - &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:v}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), - &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), - &-in-view${n}-range-hover-start${n}-range-start-single, - &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover, - &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover, - &-in-view${n}-range-hover-end${n}-range-end-single, - &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:m,borderTop:`${s}px dashed ${p}`,borderBottom:`${s}px dashed ${p}`,transform:"translateY(-50%)",transition:`all ${l}`,content:'""'}},[`&-range-hover-start::after, - &-range-hover-end::after, - &-range-hover::after`]:{insetInlineEnd:0,insetInlineStart:f},[`&-in-view${n}-in-range${n}-range-hover::before, - &-in-view${n}-range-start${n}-range-hover::before, - &-in-view${n}-range-end${n}-range-hover::before, - &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before, - &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before, - ${t}-panel - > :not(${t}-date-panel) - &-in-view${n}-in-range${n}-range-hover-start::before, - ${t}-panel - > :not(${t}-date-panel) - &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:b},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${a}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after, - tr > &-in-view${n}-range-hover-end:first-child::after, - &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after, - &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after, - &-in-view${n}-range-hover-start::after`]:{insetInlineStart:(w-r)/2,borderInlineStart:`${s}px dashed ${p}`,borderStartStartRadius:s,borderEndStartRadius:s},[`tr > &-in-view${n}-range-hover:last-child::after, - tr > &-in-view${n}-range-hover-start:last-child::after, - &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after, - &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after, - &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(w-r)/2,borderInlineEnd:`${s}px dashed ${p}`,borderStartEndRadius:s,borderEndEndRadius:s},"&-disabled":{color:P,pointerEvents:"none",[a]:{background:"transparent"},"&::before":{background:k}},[`&-disabled${n}-today ${a}::before`]:{borderColor:P}}},pi=e=>{const{componentCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:a,pickerControlIconSize:r,pickerPanelCellWidth:l,paddingSM:i,paddingXS:c,paddingXXS:u,colorBgContainer:s,lineWidth:h,lineType:g,borderRadiusLG:v,colorPrimary:d,colorTextHeading:m,colorSplit:p,pickerControlIconBorderWidth:f,colorIcon:b,pickerTextHeight:w,motionDurationMid:P,colorIconHover:k,fontWeightStrong:L,pickerPanelCellHeight:x,pickerCellPaddingVertical:W,colorTextDisabled:T,colorText:N,fontSize:ae,pickerBasicCellHoverWithRangeColor:ve,motionDurationSlow:de,pickerPanelWithoutTimeCellHeight:De,pickerQuarterPanelContentHeight:Te,colorLink:ke,colorLinkActive:ee,colorLinkHover:$e,pickerDateHoverRangeBorderColor:xe,borderRadiusSM:fe,colorTextLightSolid:Ne,borderRadius:Me,controlItemBgHover:he,pickerTimePanelColumnHeight:Se,pickerTimePanelColumnWidth:Be,pickerTimePanelCellHeight:Xe,controlItemBgActive:Fe,marginXXS:rt}=e,xt=l*7+i*2+4,vt=(xt-c*2)/3-a/2;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:s,border:`${h}px ${g} ${p}`,borderRadius:v,outline:"none","&-focused":{borderColor:d},"&-rtl":{direction:"rtl",[`${t}-prev-icon, - ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel, - &-week-panel, - &-date-panel, - &-time-panel`]:{display:"flex",flexDirection:"column",width:xt},"&-header":{display:"flex",padding:`0 ${c}px`,color:m,borderBottom:`${h}px ${g} ${p}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:`${w}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${P}`},"> button":{minWidth:"1.6em",fontSize:ae,"&:hover":{color:k}},"&-view":{flex:"auto",fontWeight:L,lineHeight:`${w}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:d}}}},[`&-prev-icon, - &-next-icon, - &-super-prev-icon, - &-super-next-icon`]:{position:"relative",display:"inline-block",width:r,height:r,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockStartWidth:f,borderBlockEndWidth:0,borderInlineStartWidth:f,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon, - &-super-next-icon`]:{"&::after":{position:"absolute",top:Math.ceil(r/2),insetInlineStart:Math.ceil(r/2),display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockStartWidth:f,borderBlockEndWidth:0,borderInlineStartWidth:f,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon, - &-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon, - &-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:x,fontWeight:"normal"},th:{height:x+W*2,color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${W}px 0`,color:T,cursor:"pointer","&-in-view":{color:N}},mi(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n}, - &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:ve,transition:`all ${de}`,content:'""'}},[`&-date-panel - ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start - ${n}::after`]:{insetInlineEnd:-(l-x)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}::after`]:{insetInlineEnd:0,insetInlineStart:-(l-x)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-content`]:{height:De*4},[n]:{padding:`0 ${c}px`}},"&-quarter-panel":{[`${t}-content`]:{height:Te}},[`&-panel ${t}-footer`]:{borderTop:`${h}px ${g} ${p}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${w-2*h}px`,textAlign:"center","&-extra":{padding:`0 ${i}`,lineHeight:`${w-2*h}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${h}px ${g} ${p}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:ke,"&:hover":{color:$e},"&:active":{color:ee},[`&${t}-today-btn-disabled`]:{color:T,cursor:"not-allowed"}},"&-decade-panel":{[n]:{padding:`0 ${c/2}px`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-body`]:{padding:`0 ${c}px`},[n]:{width:a},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:vt,borderInlineStart:`${h}px dashed ${xe}`,borderStartStartRadius:fe,borderBottomStartRadius:fe,borderStartEndRadius:0,borderBottomEndRadius:0,[`${t}-panel-rtl &`]:{insetInlineEnd:vt,borderInlineEnd:`${h}px dashed ${xe}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:fe,borderBottomEndRadius:fe}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:vt,borderInlineEnd:`${h}px dashed ${xe}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:Me,borderBottomEndRadius:Me,[`${t}-panel-rtl &`]:{insetInlineStart:vt,borderInlineStart:`${h}px dashed ${xe}`,borderStartStartRadius:Me,borderBottomStartRadius:Me,borderStartEndRadius:0,borderBottomEndRadius:0}}},"&-week-panel":{[`${t}-body`]:{padding:`${c}px ${i}px`},[`${t}-cell`]:{[`&:hover ${n}, - &-selected ${n}, - ${n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${P}`,"&:first-child":{borderStartStartRadius:fe,borderEndStartRadius:fe},"&:last-child":{borderStartEndRadius:fe,borderEndEndRadius:fe}},"&:hover td":{background:he},[`&-selected td, - &-selected:hover td`]:{background:d,[`&${t}-cell-week`]:{color:new An.C(Ne).setAlpha(.5).toHexString()},[`&${t}-cell-today ${n}::before`]:{borderColor:Ne},[n]:{color:Ne}}}},"&-date-panel":{[`${t}-body`]:{padding:`${c}px ${i}px`},[`${t}-content`]:{width:l*7,th:{width:l}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${h}px ${g} ${p}`},[`${t}-date-panel, - ${t}-time-panel`]:{transition:`opacity ${de}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:Se},"&-column":{flex:"1 0 auto",width:Be,margin:`${u}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${P}`,overflowX:"hidden","&::after":{display:"block",height:Se-Xe,content:'""'},"&:not(:first-child)":{borderInlineStart:`${h}px ${g} ${p}`},"&-active":{background:new An.C(Fe).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:rt,[`${t}-time-panel-cell-inner`]:{display:"block",width:Be-2*rt,height:Xe,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Be-Xe)/2,color:N,lineHeight:`${Xe}px`,borderRadius:fe,cursor:"pointer",transition:`background ${P}`,"&:hover":{background:he}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:Fe}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:Se-Xe+u*2}}}},Ci=e=>{const{componentCls:t,colorBgContainer:n,colorError:a,colorErrorOutline:r,colorWarning:l,colorWarningOutline:i}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:a},"&-focused, &:focus":Object.assign({},(0,mn.M1)((0,ur.TS)(e,{inputBorderActiveColor:a,inputBorderHoverColor:a,controlOutline:r}))),[`${t}-active-bar`]:{background:a}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:l},"&-focused, &:focus":Object.assign({},(0,mn.M1)((0,ur.TS)(e,{inputBorderActiveColor:l,inputBorderHoverColor:l,controlOutline:i}))),[`${t}-active-bar`]:{background:l}}}}},bi=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:a,controlHeight:r,fontSize:l,inputPaddingHorizontal:i,colorBgContainer:c,lineWidth:u,lineType:s,colorBorder:h,borderRadius:g,motionDurationMid:v,colorBgContainerDisabled:d,colorTextDisabled:m,colorTextPlaceholder:p,controlHeightLG:f,fontSizeLG:b,controlHeightSM:w,inputPaddingHorizontalSM:P,paddingXS:k,marginXS:L,colorTextDescription:x,lineWidthBold:W,lineHeight:T,colorPrimary:N,motionDurationSlow:ae,zIndexPopup:ve,paddingXXS:de,paddingSM:De,pickerTextHeight:Te,controlItemBgActive:ke,colorPrimaryBorder:ee,sizePopupArrow:$e,borderRadiusXS:xe,borderRadiusOuter:fe,colorBgElevated:Ne,borderRadiusLG:Me,boxShadowSecondary:he,borderRadiusSM:Se,colorSplit:Be,controlItemBgHover:Xe,presetsWidth:Fe,presetsMaxWidth:rt}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,cr.Wf)(e)),sr(e,r,l,i)),{position:"relative",display:"inline-flex",alignItems:"center",background:c,lineHeight:1,border:`${u}px ${s} ${h}`,borderRadius:g,transition:`border ${v}, box-shadow ${v}`,"&:hover, &-focused":Object.assign({},(0,mn.pU)(e)),"&-focused":Object.assign({},(0,mn.M1)(e)),[`&${t}-disabled`]:{background:d,borderColor:h,cursor:"not-allowed",[`${t}-suffix`]:{color:m}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,mn.ik)(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:p}}},"&-large":Object.assign(Object.assign({},sr(e,f,b,i)),{[`${t}-input > input`]:{fontSize:b}}),"&-small":Object.assign({},sr(e,w,l,P)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:k/2,color:m,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:L}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:m,lineHeight:1,background:c,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${v}, color ${v}`,"> *":{verticalAlign:"top"},"&:hover":{color:x}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:b,color:m,fontSize:b,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:x},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:i},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-u,height:W,marginInlineStart:i,background:N,opacity:0,transition:`all ${ae} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${k}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:P},[`${t}-active-bar`]:{marginInlineStart:P}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,cr.Wf)(e)),pi(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ve,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:pn.Qt},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:pn.fJ},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:pn.ly},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:pn.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:de},[`${t}-ranges`]:{marginBottom:0,padding:`${de}px ${De}px`,overflow:"hidden",lineHeight:`${Te-2*u-k/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:N,background:ke,borderColor:ee,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:i*1.5,transition:`left ${ae} ease-out`},(0,gi.r)($e,xe,fe,Ne,a)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ne,borderRadius:Me,boxShadow:he,transition:`margin ${ae}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:Fe,maxWidth:rt,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:k,borderInlineEnd:`${u}px ${s} ${Be}`,li:Object.assign(Object.assign({},cr.vS),{borderRadius:Se,paddingInline:k,paddingBlock:(w-Math.round(l*T))/2,cursor:"pointer",transition:`all ${ae}`,"+ li":{marginTop:L},"&:hover":{background:Xe}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${u}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:h}}}}),"&-dropdown-range":{padding:`${$e*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,pn.oN)(e,"slide-up"),(0,pn.oN)(e,"slide-down"),(0,oa.Fm)(e,"move-up"),(0,oa.Fm)(e,"move-down")]},wi=e=>{const{componentCls:n,controlHeightLG:a,controlHeightSM:r,colorPrimary:l,paddingXXS:i}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:a,pickerPanelCellWidth:r*1.5,pickerPanelCellHeight:r,pickerDateHoverRangeBorderColor:new An.C(l).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new An.C(l).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:a*1.65,pickerYearMonthCellWidth:a*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:a*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:a*1.4,pickerCellPaddingVertical:i,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}};var ia=(0,vi.Z)("DatePicker",e=>{const t=(0,ur.TS)((0,mn.e5)(e),wi(e));return[bi(t),Ci(t),(0,hi.c)(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),Di=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{const{prefixCls:r,getPopupContainer:l,className:i,placement:c,size:u,disabled:s,bordered:h=!0,placeholder:g,popupClassName:v,dropdownClassName:d,status:m}=n,p=Di(n,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),f=o.useRef(null),{getPrefixCls:b,direction:w,getPopupContainer:P}=(0,o.useContext)(Jr.E_),k=b("picker",r),{compactSize:L,compactItemClassnames:x}=(0,ta.ri)(k,w),{format:W,showTime:T,picker:N}=n,ae=b(),[ve,de]=ia(k);let De={};De=Object.assign(Object.assign(Object.assign({},De),T?Bn(Object.assign({format:W,picker:N},T)):{}),N==="time"?Bn(Object.assign(Object.assign({format:W},n),{picker:N})):{});const Te=o.useContext(_r.Z),ke=L||u||Te,ee=o.useContext(qr.Z),$e=s!=null?s:ee,xe=(0,o.useContext)(ea.aM),{hasFeedback:fe,status:Ne,feedbackIcon:Me}=xe,he=o.createElement(o.Fragment,null,N==="time"?o.createElement(ge,null):o.createElement($,null),fe&&Me);return(0,o.useImperativeHandle)(a,()=>({focus:()=>{var Se;return(Se=f.current)===null||Se===void 0?void 0:Se.focus()},blur:()=>{var Se;return(Se=f.current)===null||Se===void 0?void 0:Se.blur()}})),ve(o.createElement(na.Z,{componentName:"DatePicker",defaultLocale:ra.Z},Se=>{const Be=Object.assign(Object.assign({},Se),n.locale);return o.createElement(ci,Object.assign({separator:o.createElement("span",{"aria-label":"to",className:`${k}-separator`},o.createElement(jt,null)),disabled:$e,ref:f,dropdownAlign:aa(w,c),placeholder:fi(Be,N,g),suffixIcon:he,clearIcon:o.createElement(we.Z,null),prevIcon:o.createElement("span",{className:`${k}-prev-icon`}),nextIcon:o.createElement("span",{className:`${k}-next-icon`}),superPrevIcon:o.createElement("span",{className:`${k}-super-prev-icon`}),superNextIcon:o.createElement("span",{className:`${k}-super-next-icon`}),allowClear:!0,transitionName:`${ae}-slide-up`},p,De,{className:ue()({[`${k}-${ke}`]:ke,[`${k}-borderless`]:!h},(0,Wn.Z)(k,(0,Wn.F)(Ne,m),fe),de,x,i),locale:Be.lang,prefixCls:k,getPopupContainer:l||P,generateConfig:e,components:la,direction:w,dropdownClassName:ue()(de,v||d)}))}))})}var $i=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{const{prefixCls:d,getPopupContainer:m,className:p,size:f,bordered:b=!0,placement:w,placeholder:P,popupClassName:k,dropdownClassName:L,disabled:x,status:W}=g,T=$i(g,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),{getPrefixCls:N,direction:ae,getPopupContainer:ve}=(0,o.useContext)(Jr.E_),de=N("picker",d),{compactSize:De,compactItemClassnames:Te}=(0,ta.ri)(de,ae),ke=o.useRef(null),{format:ee,showTime:$e}=g,[xe,fe]=ia(de);(0,o.useImperativeHandle)(v,()=>({focus:()=>{var oe;return(oe=ke.current)===null||oe===void 0?void 0:oe.focus()},blur:()=>{var oe;return(oe=ke.current)===null||oe===void 0?void 0:oe.blur()}}));const Ne={showToday:!0};let Me={};u&&(Me.picker=u);const he=u||g.picker;Me=Object.assign(Object.assign(Object.assign({},Me),$e?Bn(Object.assign({format:ee,picker:he},$e)):{}),he==="time"?Bn(Object.assign(Object.assign({format:ee},g),{picker:he})):{});const Se=N(),Be=o.useContext(_r.Z),Xe=De||f||Be,Fe=o.useContext(qr.Z),rt=x!=null?x:Fe,xt=(0,o.useContext)(ea.aM),{hasFeedback:vt,status:at,feedbackIcon:ot}=xt,Q=o.createElement(o.Fragment,null,he==="time"?o.createElement(ge,null):o.createElement($,null),vt&&ot);return xe(o.createElement(na.Z,{componentName:"DatePicker",defaultLocale:ra.Z},oe=>{const me=Object.assign(Object.assign({},oe),g.locale);return o.createElement(si,Object.assign({ref:ke,placeholder:di(me,he,P),suffixIcon:Q,dropdownAlign:aa(ae,w),clearIcon:o.createElement(we.Z,null),prevIcon:o.createElement("span",{className:`${de}-prev-icon`}),nextIcon:o.createElement("span",{className:`${de}-next-icon`}),superPrevIcon:o.createElement("span",{className:`${de}-super-prev-icon`}),superNextIcon:o.createElement("span",{className:`${de}-super-next-icon`}),allowClear:!0,transitionName:`${Se}-slide-up`},Ne,T,Me,{locale:me.lang,className:ue()({[`${de}-${Xe}`]:Xe,[`${de}-borderless`]:!b},(0,Wn.Z)(de,(0,Wn.F)(at,W),vt),fe,Te,p),prefixCls:de,getPopupContainer:m||ve,generateConfig:e,components:la,direction:ae,disabled:rt,dropdownClassName:ue()(fe,k||L)}))}))});return s&&(h.displayName=s),h}const n=t(),a=t("week","WeekPicker"),r=t("month","MonthPicker"),l=t("year","YearPicker"),i=t("time","TimePicker"),c=t("quarter","QuarterPicker");return{DatePicker:n,WeekPicker:a,MonthPicker:r,YearPicker:l,TimePicker:i,QuarterPicker:c}}const la={button:_e};function yi(e){return e?Array.isArray(e)?e:[e]:[]}function Bn(e){const{format:t,picker:n,showHour:a,showMinute:r,showSecond:l,use12Hours:i}=e,c=yi(t)[0],u=Object.assign({},e);return c&&typeof c=="string"&&(!c.includes("s")&&l===void 0&&(u.showSecond=!1),!c.includes("m")&&r===void 0&&(u.showMinute=!1),!c.includes("H")&&!c.includes("h")&&a===void 0&&(u.showHour=!1),(c.includes("a")||c.includes("A"))&&i===void 0&&(u.use12Hours=!0)),n==="time"?u:(typeof c=="function"&&delete u.format,{showTime:u})}const dl=null;function ki(e){const{DatePicker:t,WeekPicker:n,MonthPicker:a,YearPicker:r,TimePicker:l,QuarterPicker:i}=Si(e),c=xi(e),u=t;return u.WeekPicker=n,u.MonthPicker=a,u.YearPicker=r,u.RangePicker=c,u.TimePicker=l,u.QuarterPicker=i,u}var Mi=ki;const dr=Mi(st),Pi=(0,nt.Z)(dr,"picker");dr._InternalPanelDoNotUseOrYouWillBeFired=Pi;var Ei=dr},27484:function(ct){(function(Ee,C){ct.exports=C()})(this,function(){"use strict";var Ee=1e3,C=6e4,te=36e5,U="millisecond",G="second",O="minute",ce="hour",ne="day",Je="week",E="month",se="quarter",ze="year",wt="date",B="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Ce=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,be={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var y=["th","st","nd","rd"],D=I%100;return"["+I+(y[(D-20)%10]||y[D]||y[0])+"]"}},Ke=function(I,y,D){var H=String(I);return!H||H.length>=y?I:""+Array(y+1-H.length).join(D)+I},He={s:Ke,z:function(I){var y=-I.utcOffset(),D=Math.abs(y),H=Math.floor(D/60),$=D%60;return(y<=0?"+":"-")+Ke(H,2,"0")+":"+Ke($,2,"0")},m:function I(y,D){if(y.date()1)return I(Z[0])}else{var _=y.name;Qe[_]=y,$=_}return!H&&$&&(qe=$),$||!H&&qe},o=function(I,y){if(st(I))return I.clone();var D=typeof y=="object"?y:{};return D.date=I,D.args=arguments,new _e(D)},q=He;q.l=nt,q.i=st,q.w=function(I,y){return o(I,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var _e=function(){function I(D){this.$L=nt(D.locale,null,!0),this.parse(D)}var y=I.prototype;return y.parse=function(D){this.$d=function(H){var $=H.date,V=H.utc;if($===null)return new Date(NaN);if(q.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var Z=$.match(J);if(Z){var _=Z[2]-1||0,ge=(Z[7]||"0").substring(0,3);return V?new Date(Date.UTC(Z[1],_,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,ge)):new Date(Z[1],_,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,ge)}}return new Date($)}(D),this.$x=D.x||{},this.init()},y.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},y.$utils=function(){return q},y.isValid=function(){return this.$d.toString()!==B},y.isSame=function(D,H){var $=o(D);return this.startOf(H)<=$&&$<=this.endOf(H)},y.isAfter=function(D,H){return o(D)68?1900:2e3)},ne=function(B){return function(J){this[B]=+J}},Je=[/[+-]\d\d:?(\d\d)?|Z/,function(B){(this.zone||(this.zone={})).offset=function(J){if(!J||J==="Z")return 0;var Ce=J.match(/([+-]|\d\d)/g),be=60*Ce[1]+(+Ce[2]||0);return be===0?0:Ce[0]==="+"?-be:be}(B)}],E=function(B){var J=O[B];return J&&(J.indexOf?J:J.s.concat(J.f))},se=function(B,J){var Ce,be=O.meridiem;if(be){for(var Ke=1;Ke<=24;Ke+=1)if(B.indexOf(be(Ke,0,J))>-1){Ce=Ke>12;break}}else Ce=B===(J?"pm":"PM");return Ce},ze={A:[G,function(B){this.afternoon=se(B,!1)}],a:[G,function(B){this.afternoon=se(B,!0)}],S:[/\d/,function(B){this.milliseconds=100*+B}],SS:[te,function(B){this.milliseconds=10*+B}],SSS:[/\d{3}/,function(B){this.milliseconds=+B}],s:[U,ne("seconds")],ss:[U,ne("seconds")],m:[U,ne("minutes")],mm:[U,ne("minutes")],H:[U,ne("hours")],h:[U,ne("hours")],HH:[U,ne("hours")],hh:[U,ne("hours")],D:[U,ne("day")],DD:[te,ne("day")],Do:[G,function(B){var J=O.ordinal,Ce=B.match(/\d+/);if(this.day=Ce[0],J)for(var be=1;be<=31;be+=1)J(be).replace(/\[|\]/g,"")===B&&(this.day=be)}],M:[U,ne("month")],MM:[te,ne("month")],MMM:[G,function(B){var J=E("months"),Ce=(E("monthsShort")||J.map(function(be){return be.slice(0,3)})).indexOf(B)+1;if(Ce<1)throw new Error;this.month=Ce%12||Ce}],MMMM:[G,function(B){var J=E("months").indexOf(B)+1;if(J<1)throw new Error;this.month=J%12||J}],Y:[/[+-]?\d+/,ne("year")],YY:[te,function(B){this.year=ce(B)}],YYYY:[/\d{4}/,ne("year")],Z:Je,ZZ:Je};function wt(B){var J,Ce;J=B,Ce=O&&O.formats;for(var be=(B=J.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(o,q,_e){var z=_e&&_e.toUpperCase();return q||Ce[_e]||Ee[_e]||Ce[z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(I,y,D){return y||D.slice(1)})})).match(C),Ke=be.length,He=0;He-1)return new Date(($==="X"?1e3:1)*H);var Z=wt($)(H),_=Z.year,ge=Z.month,we=Z.day,Ae=Z.hours,Mt=Z.minutes,pt=Z.seconds,jt=Z.milliseconds,Lt=Z.zone,ue=new Date,Ve=we||(_||ge?1:ue.getDate()),dt=_||ue.getFullYear(),ft=0;_&&!ge||(ft=ge>0?ge-1:ue.getMonth());var Tt=Ae||0,dn=Mt||0,j=pt||0,R=jt||0;return Lt?new Date(Date.UTC(dt,ft,Ve,Tt,dn,j,R+60*Lt.offset*1e3)):V?new Date(Date.UTC(dt,ft,Ve,Tt,dn,j,R)):new Date(dt,ft,Ve,Tt,dn,j,R)}catch(K){return new Date("")}}(qe,nt,Qe),this.init(),z&&z!==!0&&(this.$L=this.locale(z).$L),_e&&qe!=this.format(nt)&&(this.$d=new Date("")),O={}}else if(nt instanceof Array)for(var I=nt.length,y=1;y<=I;y+=1){st[1]=nt[y-1];var D=Ce.apply(this,st);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}y===I&&(this.$d=new Date(""))}else Ke.call(this,He)}}})},96036:function(ct){(function(Ee,C){ct.exports=C()})(this,function(){"use strict";return function(Ee,C,te){var U=C.prototype,G=function(E){return E&&(E.indexOf?E:E.s)},O=function(E,se,ze,wt,B){var J=E.name?E:E.$locale(),Ce=G(J[se]),be=G(J[ze]),Ke=Ce||be.map(function(qe){return qe.slice(0,wt)});if(!B)return Ke;var He=J.weekStart;return Ke.map(function(qe,Qe){return Ke[(Qe+(He||0))%7]})},ce=function(){return te.Ls[te.locale()]},ne=function(E,se){return E.formats[se]||function(ze){return ze.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(wt,B,J){return B||J.slice(1)})}(E.formats[se.toUpperCase()])},Je=function(){var E=this;return{months:function(se){return se?se.format("MMMM"):O(E,"months")},monthsShort:function(se){return se?se.format("MMM"):O(E,"monthsShort","months",3)},firstDayOfWeek:function(){return E.$locale().weekStart||0},weekdays:function(se){return se?se.format("dddd"):O(E,"weekdays")},weekdaysMin:function(se){return se?se.format("dd"):O(E,"weekdaysMin","weekdays",2)},weekdaysShort:function(se){return se?se.format("ddd"):O(E,"weekdaysShort","weekdays",3)},longDateFormat:function(se){return ne(E.$locale(),se)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};U.localeData=function(){return Je.bind(this)()},te.localeData=function(){var E=ce();return{firstDayOfWeek:function(){return E.weekStart||0},weekdays:function(){return te.weekdays()},weekdaysShort:function(){return te.weekdaysShort()},weekdaysMin:function(){return te.weekdaysMin()},months:function(){return te.months()},monthsShort:function(){return te.monthsShort()},longDateFormat:function(se){return ne(E,se)},meridiem:E.meridiem,ordinal:E.ordinal}},te.months=function(){return O(ce(),"months")},te.monthsShort=function(){return O(ce(),"monthsShort","months",3)},te.weekdays=function(E){return O(ce(),"weekdays",null,null,E)},te.weekdaysShort=function(E){return O(ce(),"weekdaysShort","weekdays",3,E)},te.weekdaysMin=function(E){return O(ce(),"weekdaysMin","weekdays",2,E)}}})},55183:function(ct){(function(Ee,C){ct.exports=C()})(this,function(){"use strict";var Ee="week",C="year";return function(te,U,G){var O=U.prototype;O.week=function(ce){if(ce===void 0&&(ce=null),ce!==null)return this.add(7*(ce-this.week()),"day");var ne=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var Je=G(this).startOf(C).add(1,C).date(ne),E=G(this).endOf(Ee);if(Je.isBefore(E))return 1}var se=G(this).startOf(C).date(ne).startOf(Ee).subtract(1,"millisecond"),ze=this.diff(se,Ee,!0);return ze<0?G(this).startOf("week").week():Math.ceil(ze)},O.weeks=function(ce){return ce===void 0&&(ce=null),this.week(ce)}}})},172:function(ct){(function(Ee,C){ct.exports=C()})(this,function(){"use strict";return function(Ee,C){C.prototype.weekYear=function(){var te=this.month(),U=this.week(),G=this.year();return U===1&&te===11?G+1:te===0&&U>=52?G-1:G}}})},72540:function(ct){(function(Ee,C){ct.exports=C()})(this,function(){"use strict";return function(Ee,C){C.prototype.weekday=function(te){var U=this.$locale().weekStart||0,G=this.$W,O=(G|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]},this.embedRules(s,"doc-",[s.getEndRule("start")]),this.normalizeRules()};c.inherits(x,l),n.MysqlHighlightRules=x}),ace.define("ace/mode/mysql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/mysql_highlight_rules"],function(e,n,t){var c=e("../lib/oop"),u=e("../mode/text").Mode,s=e("./mysql_highlight_rules").MysqlHighlightRules,l=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};c.inherits(l,u),function(){this.lineCommentStart=["--","#"],this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/mysql"}.call(l.prototype),n.Mode=l}),function(){ace.require(["ace/mode/mysql"],function(e){a&&(a.exports=e)})}()},77136:function(a,d,o){a=o.nmd(a),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,n,t){"use strict";var c=e("../lib/oop"),u=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},s.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}]}};c.inherits(s,u),s.getTagRule=function(l){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},s.getStartRule=function(l){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:l}},s.getEndRule=function(l){return{token:"comment.doc",regex:"\\*\\/",next:l}},n.DocCommentHighlightRules=s}),ace.define("ace/mode/perl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,n,t){"use strict";var c=e("../lib/oop"),u=e("./text_highlight_rules").TextHighlightRules,s=function(){var l="base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|no|package|parent|redo|require|scalar|sub|unless|until|while|use|vars",x="ARGV|ENV|INC|SIG",y="getprotobynumber|getprotobyname|getservbyname|gethostbyaddr|gethostbyname|getservbyport|getnetbyaddr|getnetbyname|getsockname|getpeername|setpriority|getprotoent|setprotoent|getpriority|endprotoent|getservent|setservent|endservent|sethostent|socketpair|getsockopt|gethostent|endhostent|setsockopt|setnetent|quotemeta|localtime|prototype|getnetent|endnetent|rewinddir|wantarray|getpwuid|closedir|getlogin|readlink|endgrent|getgrgid|getgrnam|shmwrite|shutdown|readline|endpwent|setgrent|readpipe|formline|truncate|dbmclose|syswrite|setpwent|getpwnam|getgrent|getpwent|ucfirst|sysread|setpgrp|shmread|sysseek|sysopen|telldir|defined|opendir|connect|lcfirst|getppid|binmode|syscall|sprintf|getpgrp|readdir|seekdir|waitpid|reverse|unshift|symlink|dbmopen|semget|msgrcv|rename|listen|chroot|msgsnd|shmctl|accept|unpack|exists|fileno|shmget|system|unlink|printf|gmtime|msgctl|semctl|values|rindex|substr|splice|length|msgget|select|socket|return|caller|delete|alarm|ioctl|index|undef|lstat|times|srand|chown|fcntl|close|write|umask|rmdir|study|sleep|chomp|untie|print|utime|mkdir|atan2|split|crypt|flock|chmod|BEGIN|bless|chdir|semop|shift|reset|link|stat|chop|grep|fork|dump|join|open|tell|pipe|exit|glob|warn|each|bind|sort|pack|eval|push|keys|getc|kill|seek|sqrt|send|wait|rand|tied|read|time|exec|recv|eof|chr|int|ord|exp|pos|pop|sin|log|abs|oct|hex|tie|cos|vec|END|ref|map|die|uc|lc|do",b=this.createKeywordMapper({keyword:l,"constant.language":x,"support.function":y},"identifier");this.$rules={start:[{token:"comment.doc",regex:"^=(?:begin|item)\\b",next:"block_comment"},{token:"string.regexp",regex:"[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'["].*\\\\$',next:"qqstring"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"string",regex:"['].*\\\\$",next:"qstring"},{token:"constant.numeric",regex:"0x[0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:b,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"%#|\\$#|\\.\\.\\.|\\|\\|=|>>=|<<=|<=>|&&=|=>|!~|\\^=|&=|\\|=|\\.=|x=|%=|\\/=|\\*=|\\-=|\\+=|=~|\\*\\*|\\-\\-|\\.\\.|\\|\\||&&|\\+\\+|\\->|!=|==|>=|<=|>>|<<|,|=|\\?\\:|\\^|\\||x|%|\\/|\\*|<|&|\\\\|~|!|>|\\.|\\-|\\+|\\-C|\\-b|\\-S|\\-u|\\-t|\\-p|\\-l|\\-d|\\-f|\\-g|\\-s|\\-z|\\-k|\\-e|\\-O|\\-T|\\-B|\\-M|\\-A|\\-X|\\-W|\\-c|\\-R|\\-o|\\-x|\\-w|\\-r|\\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)"},{token:"comment",regex:"#.*$"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qqstring:[{token:"string",regex:'(?:(?:\\\\.)|(?:[^"\\\\]))*?"',next:"start"},{token:"string",regex:".+"}],qstring:[{token:"string",regex:"(?:(?:\\\\.)|(?:[^'\\\\]))*?'",next:"start"},{token:"string",regex:".+"}],block_comment:[{token:"comment.doc",regex:"^=cut\\b",next:"start"},{defaultToken:"comment.doc"}]}};c.inherits(s,u),n.PerlHighlightRules=s}),ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,n,t){"use strict";var c=e("../lib/oop"),u=e("./text_highlight_rules").TextHighlightRules,s=function(){var l="and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield|async|await|nonlocal",x="True|False|None|NotImplemented|Ellipsis|__debug__",y="abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|apply|delattr|help|next|setattr|set|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|ascii|breakpoint|bytes",b=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":y,"variable.language":"self|cls","constant.language":x,keyword:l},"identifier"),h="[uU]?",f="[rR]",v="[fF]",k="(?:[rR][fF]|[fF][rR])",A="(?:(?:[1-9]\\d*)|(?:0))",p="(?:0[oO]?[0-7]+)",w="(?:0[xX][\\dA-Fa-f]+)",F="(?:0[bB][01]+)",q="(?:"+A+"|"+p+"|"+w+"|"+F+")",C="(?:[eE][+-]?\\d+)",R="(?:\\.\\d+)",r="(?:\\d+)",i="(?:(?:"+r+"?"+R+")|(?:"+r+"\\.))",g="(?:(?:"+i+"|"+r+")"+C+")",_="(?:"+g+"|"+i+")",m=`\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`;this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:h+'"{3}',next:"qqstring3"},{token:"string",regex:h+'"(?=.)',next:"qqstring"},{token:"string",regex:h+"'{3}",next:"qstring3"},{token:"string",regex:h+"'(?=.)",next:"qstring"},{token:"string",regex:f+'"{3}',next:"rawqqstring3"},{token:"string",regex:f+'"(?=.)',next:"rawqqstring"},{token:"string",regex:f+"'{3}",next:"rawqstring3"},{token:"string",regex:f+"'(?=.)",next:"rawqstring"},{token:"string",regex:v+'"{3}',next:"fqqstring3"},{token:"string",regex:v+'"(?=.)',next:"fqqstring"},{token:"string",regex:v+"'{3}",next:"fqstring3"},{token:"string",regex:v+"'(?=.)",next:"fqstring"},{token:"string",regex:k+'"{3}',next:"rfqqstring3"},{token:"string",regex:k+'"(?=.)',next:"rfqqstring"},{token:"string",regex:k+"'{3}",next:"rfqstring3"},{token:"string",regex:k+"'(?=.)",next:"rfqstring"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"punctuation",regex:",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:["keyword","text","entity.name.function"],regex:"(def|class)(\\s+)([\\u00BF-\\u1FFF\\u2C00-\\uD7FF\\w]+)"},{token:"text",regex:"\\s+"},{include:"constants"}],qqstring3:[{token:"constant.language.escape",regex:m},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:m},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:m},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:m},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],rawqqstring3:[{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],rawqstring3:[{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],rawqqstring:[{token:"string",regex:"\\\\$",next:"rawqqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],rawqstring:[{token:"string",regex:"\\\\$",next:"rawqstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],fqqstring3:[{token:"constant.language.escape",regex:m},{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring3:[{token:"constant.language.escape",regex:m},{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqqstring:[{token:"constant.language.escape",regex:m},{token:"string",regex:"\\\\$",next:"fqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring:[{token:"constant.language.escape",regex:m},{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring3:[{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring3:[{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring:[{token:"string",regex:"\\\\$",next:"rfqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring:[{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstringParRules:[{token:"paren.lparen",regex:"[\\[\\(]"},{token:"paren.rparen",regex:"[\\]\\)]"},{token:"string",regex:"\\s+"},{token:"string",regex:"'[^']*'"},{token:"string",regex:'"[^"]*"'},{token:"function.support",regex:"(!s|!r|!a)"},{include:"constants"},{token:"paren.rparen",regex:"}",next:"pop"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"}],constants:[{token:"constant.numeric",regex:"(?:"+_+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:_},{token:"constant.numeric",regex:q+"[lL]\\b"},{token:"constant.numeric",regex:q+"\\b"},{token:["punctuation","function.support"],regex:"(\\.)([a-zA-Z_]+)\\b"},{token:b,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"}]},this.normalizeRules()};c.inherits(s,u),n.PythonHighlightRules=s}),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,n,t){"use strict";var c=e("../lib/oop"),u=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};c.inherits(s,u),n.JsonHighlightRules=s}),ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,n,t){"use strict";var c=e("../lib/oop"),u=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:["comment.doc.tag","comment.doc.text","lparen.doc"],regex:"(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:["rparen.doc","text.doc","variable.parameter.doc","lparen.doc","variable.parameter.doc","rparen.doc"],regex:/(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.]+)(\])))/,next:"pop"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","lparen.doc"],regex:"(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|implements|external|exception|throws|enum|define|extends))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:'(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|requires|param|implements|function|extends|typedef|mixes|constructor|var|memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#.:/~"\\-]*)?'},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:"(@method)(\\s+)(\\w[\\w.\\(\\)]*)"},{token:"comment.doc.tag",regex:"@access\\s+(?:private|public|protected)"},{token:"comment.doc.tag",regex:"@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"},{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},s.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};c.inherits(s,u),s.getTagRule=function(l){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},s.getStartRule=function(l){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:l}},s.getEndRule=function(l){return{token:"comment.doc",regex:"\\*\\/",next:l}},n.JsDocCommentHighlightRules=s}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,n,t){"use strict";var c=e("../lib/oop"),u=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,l="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",x=function(h){var f={"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},v=this.createKeywordMapper(f,"identifier"),k="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",A="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)",p="(function)(\\s*)(\\*?)",w={token:["identifier","text","paren.lparen"],regex:"(\\b(?!"+Object.values(f).join("|")+"\\b)"+l+")(\\s*)(\\()"};this.$rules={no_regex:[u.getStartRule("doc-start"),b("no_regex"),w,{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","storage.type","text","paren.lparen"],regex:"("+l+")(\\s*)(=)(\\s*)"+p+"(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","storage.type","text","text","entity.name.function","text","paren.lparen"],regex:"(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))("+l+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","storage.type","text","paren.lparen"],regex:"("+l+")(\\s*)(:)(\\s*)"+p+"(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)"+p+"(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:`from(?=\\s*('|"))`},{token:"keyword",regex:"(?:"+k+")\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/},{token:v,regex:l},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:"keyword.operator",regex:/=/},{token:["storage.type","text","storage.type","text","paren.lparen"],regex:p+"(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","storage.type","text","text","entity.name.function","text","paren.lparen"],regex:"(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:"prototype"},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:l},{regex:"",token:"empty",next:"no_regex"}],start:[u.getStartRule("doc-start"),b("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[b("function_arguments"),{token:"variable.parameter",regex:l},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:A},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:A},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},(!h||!h.noES6)&&(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(F,q,C){if(this.next=F=="{"?this.nextState:"",F=="{"&&C.length)C.unshift("start",q);else if(F=="}"&&C.length&&(C.shift(),this.next=C.shift(),this.next.indexOf("string")!=-1||this.next.indexOf("jsx")!=-1))return"paren.quasi.end";return F=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:A},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+l+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=[^\\(]+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),(!h||h.jsx!=!1)&&y.call(this)),this.embedRules(u,"doc-",[u.getEndRule("no_regex")]),this.normalizeRules()};c.inherits(x,s);function y(){var h=l.replace("\\d","\\d\\-"),f={onMatch:function(k,A,p){var w=k.charAt(1)=="/"?2:1;return w==1?(A!=this.nextState?p.unshift(this.next,this.nextState,0):p.unshift(this.next),p[2]++):w==2&&A==this.nextState&&(p[1]--,(!p[1]||p[1]<0)&&(p.shift(),p.shift())),[{type:"meta.tag.punctuation."+(w==1?"":"end-")+"tag-open.xml",value:k.slice(0,w)},{type:"meta.tag.tag-name.xml",value:k.substr(w)}]},regex:"))",next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(f);var v={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[v,f,{include:"reference"},{defaultToken:"string.xml"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(k,A,p){return A==p[0]&&p.shift(),k.length==2&&(p[0]==this.nextState&&p[1]--,(!p[1]||p[1]<0)&&p.splice(0,2)),this.next=p[0]||"start",[{type:this.token,value:k}]},nextState:"jsx"},v,b("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:h},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},f],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function b(h){return[{token:"comment",regex:/\/\*/,next:[u.getTagRule(),{token:"comment",regex:"\\*\\/",next:h||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[u.getTagRule(),{token:"comment",regex:"$|^",next:h||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}n.JavaScriptHighlightRules=x}),ace.define("ace/mode/pgsql_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules","ace/mode/perl_highlight_rules","ace/mode/python_highlight_rules","ace/mode/json_highlight_rules","ace/mode/javascript_highlight_rules"],function(e,n,t){var c=e("../lib/oop"),u=e("../lib/lang"),s=e("./doc_comment_highlight_rules").DocCommentHighlightRules,l=e("./text_highlight_rules").TextHighlightRules,x=e("./perl_highlight_rules").PerlHighlightRules,y=e("./python_highlight_rules").PythonHighlightRules,b=e("./json_highlight_rules").JsonHighlightRules,h=e("./javascript_highlight_rules").JavaScriptHighlightRules,f=function(){var v="abort|absolute|abstime|access|aclitem|action|add|admin|after|aggregate|all|also|alter|always|analyse|analyze|and|any|anyarray|anyelement|anyenum|anynonarray|anyrange|array|as|asc|assertion|assignment|asymmetric|at|attribute|authorization|backward|before|begin|between|bigint|binary|bit|bool|boolean|both|box|bpchar|by|bytea|cache|called|cascade|cascaded|case|cast|catalog|chain|char|character|characteristics|check|checkpoint|cid|cidr|circle|class|close|cluster|coalesce|collate|collation|column|comment|comments|commit|committed|concurrently|configuration|connection|constraint|constraints|content|continue|conversion|copy|cost|create|cross|cstring|csv|current|current_catalog|current_date|current_role|current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|date|daterange|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|definer|delete|delimiter|delimiters|desc|dictionary|disable|discard|distinct|do|document|domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|event_trigger|except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|family|fdw_handler|fetch|first|float|float4|float8|following|for|force|foreign|forward|freeze|from|full|function|functions|global|grant|granted|greatest|group|gtsvector|handler|having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|in|including|increment|index|indexes|inet|inherit|inherits|initially|inline|inner|inout|input|insensitive|insert|instead|int|int2|int2vector|int4|int4range|int8|int8range|integer|internal|intersect|interval|into|invoker|is|isnull|isolation|join|json|key|label|language|language_handler|large|last|lateral|lc_collate|lc_ctype|leading|leakproof|least|left|level|like|limit|line|listen|load|local|localtime|localtimestamp|location|lock|lseg|macaddr|mapping|match|materialized|maxvalue|minute|minvalue|mode|money|month|move|name|names|national|natural|nchar|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|numeric|numrange|object|of|off|offset|oid|oids|oidvector|on|only|opaque|operator|option|options|or|order|out|outer|over|overlaps|overlay|owned|owner|parser|partial|partition|passing|password|path|pg_attribute|pg_auth_members|pg_authid|pg_class|pg_database|pg_node_tree|pg_proc|pg_type|placing|plans|point|polygon|position|preceding|precision|prepare|prepared|preserve|primary|prior|privileges|procedural|procedure|program|quote|range|read|real|reassign|recheck|record|recursive|ref|refcursor|references|refresh|regclass|regconfig|regdictionary|regoper|regoperator|regproc|regprocedure|regtype|reindex|relative|release|reltime|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|right|role|rollback|row|rows|rule|savepoint|schema|scroll|search|second|security|select|sequence|sequences|serializable|server|session|session_user|set|setof|share|show|similar|simple|smallint|smgr|snapshot|some|stable|standalone|start|statement|statistics|stdin|stdout|storage|strict|strip|substring|symmetric|sysid|system|table|tables|tablespace|temp|template|temporary|text|then|tid|time|timestamp|timestamptz|timetz|tinterval|to|trailing|transaction|treat|trigger|trim|true|truncate|trusted|tsquery|tsrange|tstzrange|tsvector|txid_snapshot|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|unlogged|until|update|user|using|uuid|vacuum|valid|validate|validator|value|values|varbit|varchar|variadic|varying|verbose|version|view|void|volatile|when|where|whitespace|window|with|without|work|wrapper|write|xid|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|xmlforest|xmlparse|xmlpi|xmlroot|xmlserialize|year|yes|zone|ties",k="RI_FKey_cascade_del|RI_FKey_cascade_upd|RI_FKey_check_ins|RI_FKey_check_upd|RI_FKey_noaction_del|RI_FKey_noaction_upd|RI_FKey_restrict_del|RI_FKey_restrict_upd|RI_FKey_setdefault_del|RI_FKey_setdefault_upd|RI_FKey_setnull_del|RI_FKey_setnull_upd|abbrev|abs|abstime|abstimeeq|abstimege|abstimegt|abstimein|abstimele|abstimelt|abstimene|abstimeout|abstimerecv|abstimesend|aclcontains|acldefault|aclexplode|aclinsert|aclitemeq|aclitemin|aclitemout|aclremove|acos|age|any_in|any_out|anyarray_in|anyarray_out|anyarray_recv|anyarray_send|anyelement_in|anyelement_out|anyenum_in|anyenum_out|anynonarray_in|anynonarray_out|anyrange_in|anyrange_out|anytextcat|area|areajoinsel|areasel|array_agg|array_agg_finalfn|array_agg_transfn|array_append|array_cat|array_dims|array_eq|array_fill|array_ge|array_gt|array_in|array_larger|array_le|array_length|array_lower|array_lt|array_ndims|array_ne|array_out|array_prepend|array_recv|array_remove|array_replace|array_send|array_smaller|array_to_json|array_to_string|array_typanalyze|array_upper|arraycontained|arraycontains|arraycontjoinsel|arraycontsel|arrayoverlap|ascii|ascii_to_mic|ascii_to_utf8|asin|atan|atan2|avg|big5_to_euc_tw|big5_to_mic|big5_to_utf8|bit_and|bit_in|bit_length|bit_or|bit_out|bit_recv|bit_send|bitand|bitcat|bitcmp|biteq|bitge|bitgt|bitle|bitlt|bitne|bitnot|bitor|bitshiftleft|bitshiftright|bittypmodin|bittypmodout|bitxor|bool|bool_and|bool_or|booland_statefunc|booleq|boolge|boolgt|boolin|boolle|boollt|boolne|boolor_statefunc|boolout|boolrecv|boolsend|box|box_above|box_above_eq|box_add|box_below|box_below_eq|box_center|box_contain|box_contain_pt|box_contained|box_distance|box_div|box_eq|box_ge|box_gt|box_in|box_intersect|box_le|box_left|box_lt|box_mul|box_out|box_overabove|box_overbelow|box_overlap|box_overleft|box_overright|box_recv|box_right|box_same|box_send|box_sub|bpchar_larger|bpchar_pattern_ge|bpchar_pattern_gt|bpchar_pattern_le|bpchar_pattern_lt|bpchar_smaller|bpcharcmp|bpchareq|bpcharge|bpchargt|bpchariclike|bpcharicnlike|bpcharicregexeq|bpcharicregexne|bpcharin|bpcharle|bpcharlike|bpcharlt|bpcharne|bpcharnlike|bpcharout|bpcharrecv|bpcharregexeq|bpcharregexne|bpcharsend|bpchartypmodin|bpchartypmodout|broadcast|btabstimecmp|btarraycmp|btbeginscan|btboolcmp|btbpchar_pattern_cmp|btbuild|btbuildempty|btbulkdelete|btcanreturn|btcharcmp|btcostestimate|btendscan|btfloat48cmp|btfloat4cmp|btfloat4sortsupport|btfloat84cmp|btfloat8cmp|btfloat8sortsupport|btgetbitmap|btgettuple|btinsert|btint24cmp|btint28cmp|btint2cmp|btint2sortsupport|btint42cmp|btint48cmp|btint4cmp|btint4sortsupport|btint82cmp|btint84cmp|btint8cmp|btint8sortsupport|btmarkpos|btnamecmp|btnamesortsupport|btoidcmp|btoidsortsupport|btoidvectorcmp|btoptions|btrecordcmp|btreltimecmp|btrescan|btrestrpos|btrim|bttext_pattern_cmp|bttextcmp|bttidcmp|bttintervalcmp|btvacuumcleanup|bytea_string_agg_finalfn|bytea_string_agg_transfn|byteacat|byteacmp|byteaeq|byteage|byteagt|byteain|byteale|bytealike|bytealt|byteane|byteanlike|byteaout|bytearecv|byteasend|cash_cmp|cash_div_cash|cash_div_flt4|cash_div_flt8|cash_div_int2|cash_div_int4|cash_eq|cash_ge|cash_gt|cash_in|cash_le|cash_lt|cash_mi|cash_mul_flt4|cash_mul_flt8|cash_mul_int2|cash_mul_int4|cash_ne|cash_out|cash_pl|cash_recv|cash_send|cash_words|cashlarger|cashsmaller|cbrt|ceil|ceiling|center|char|char_length|character_length|chareq|charge|chargt|charin|charle|charlt|charne|charout|charrecv|charsend|chr|cideq|cidin|cidout|cidr|cidr_in|cidr_out|cidr_recv|cidr_send|cidrecv|cidsend|circle|circle_above|circle_add_pt|circle_below|circle_center|circle_contain|circle_contain_pt|circle_contained|circle_distance|circle_div_pt|circle_eq|circle_ge|circle_gt|circle_in|circle_le|circle_left|circle_lt|circle_mul_pt|circle_ne|circle_out|circle_overabove|circle_overbelow|circle_overlap|circle_overleft|circle_overright|circle_recv|circle_right|circle_same|circle_send|circle_sub_pt|clock_timestamp|close_lb|close_ls|close_lseg|close_pb|close_pl|close_ps|close_sb|close_sl|col_description|concat|concat_ws|contjoinsel|contsel|convert|convert_from|convert_to|corr|cos|cot|count|covar_pop|covar_samp|cstring_in|cstring_out|cstring_recv|cstring_send|cume_dist|current_database|current_query|current_schema|current_schemas|current_setting|current_user|currtid|currtid2|currval|cursor_to_xml|cursor_to_xmlschema|database_to_xml|database_to_xml_and_xmlschema|database_to_xmlschema|date|date_cmp|date_cmp_timestamp|date_cmp_timestamptz|date_eq|date_eq_timestamp|date_eq_timestamptz|date_ge|date_ge_timestamp|date_ge_timestamptz|date_gt|date_gt_timestamp|date_gt_timestamptz|date_in|date_larger|date_le|date_le_timestamp|date_le_timestamptz|date_lt|date_lt_timestamp|date_lt_timestamptz|date_mi|date_mi_interval|date_mii|date_ne|date_ne_timestamp|date_ne_timestamptz|date_out|date_part|date_pl_interval|date_pli|date_recv|date_send|date_smaller|date_sortsupport|date_trunc|daterange|daterange_canonical|daterange_subdiff|datetime_pl|datetimetz_pl|dcbrt|decode|degrees|dense_rank|dexp|diagonal|diameter|dispell_init|dispell_lexize|dist_cpoly|dist_lb|dist_pb|dist_pc|dist_pl|dist_ppath|dist_ps|dist_sb|dist_sl|div|dlog1|dlog10|domain_in|domain_recv|dpow|dround|dsimple_init|dsimple_lexize|dsnowball_init|dsnowball_lexize|dsqrt|dsynonym_init|dsynonym_lexize|dtrunc|elem_contained_by_range|encode|enum_cmp|enum_eq|enum_first|enum_ge|enum_gt|enum_in|enum_larger|enum_last|enum_le|enum_lt|enum_ne|enum_out|enum_range|enum_recv|enum_send|enum_smaller|eqjoinsel|eqsel|euc_cn_to_mic|euc_cn_to_utf8|euc_jis_2004_to_shift_jis_2004|euc_jis_2004_to_utf8|euc_jp_to_mic|euc_jp_to_sjis|euc_jp_to_utf8|euc_kr_to_mic|euc_kr_to_utf8|euc_tw_to_big5|euc_tw_to_mic|euc_tw_to_utf8|event_trigger_in|event_trigger_out|every|exp|factorial|family|fdw_handler_in|fdw_handler_out|first_value|float4|float48div|float48eq|float48ge|float48gt|float48le|float48lt|float48mi|float48mul|float48ne|float48pl|float4_accum|float4abs|float4div|float4eq|float4ge|float4gt|float4in|float4larger|float4le|float4lt|float4mi|float4mul|float4ne|float4out|float4pl|float4recv|float4send|float4smaller|float4um|float4up|float8|float84div|float84eq|float84ge|float84gt|float84le|float84lt|float84mi|float84mul|float84ne|float84pl|float8_accum|float8_avg|float8_corr|float8_covar_pop|float8_covar_samp|float8_regr_accum|float8_regr_avgx|float8_regr_avgy|float8_regr_intercept|float8_regr_r2|float8_regr_slope|float8_regr_sxx|float8_regr_sxy|float8_regr_syy|float8_stddev_pop|float8_stddev_samp|float8_var_pop|float8_var_samp|float8abs|float8div|float8eq|float8ge|float8gt|float8in|float8larger|float8le|float8lt|float8mi|float8mul|float8ne|float8out|float8pl|float8recv|float8send|float8smaller|float8um|float8up|floor|flt4_mul_cash|flt8_mul_cash|fmgr_c_validator|fmgr_internal_validator|fmgr_sql_validator|format|format_type|gb18030_to_utf8|gbk_to_utf8|generate_series|generate_subscripts|get_bit|get_byte|get_current_ts_config|getdatabaseencoding|getpgusername|gin_cmp_prefix|gin_cmp_tslexeme|gin_extract_tsquery|gin_extract_tsvector|gin_tsquery_consistent|ginarrayconsistent|ginarrayextract|ginbeginscan|ginbuild|ginbuildempty|ginbulkdelete|gincostestimate|ginendscan|gingetbitmap|gininsert|ginmarkpos|ginoptions|ginqueryarrayextract|ginrescan|ginrestrpos|ginvacuumcleanup|gist_box_compress|gist_box_consistent|gist_box_decompress|gist_box_penalty|gist_box_picksplit|gist_box_same|gist_box_union|gist_circle_compress|gist_circle_consistent|gist_point_compress|gist_point_consistent|gist_point_distance|gist_poly_compress|gist_poly_consistent|gistbeginscan|gistbuild|gistbuildempty|gistbulkdelete|gistcostestimate|gistendscan|gistgetbitmap|gistgettuple|gistinsert|gistmarkpos|gistoptions|gistrescan|gistrestrpos|gistvacuumcleanup|gtsquery_compress|gtsquery_consistent|gtsquery_decompress|gtsquery_penalty|gtsquery_picksplit|gtsquery_same|gtsquery_union|gtsvector_compress|gtsvector_consistent|gtsvector_decompress|gtsvector_penalty|gtsvector_picksplit|gtsvector_same|gtsvector_union|gtsvectorin|gtsvectorout|has_any_column_privilege|has_column_privilege|has_database_privilege|has_foreign_data_wrapper_privilege|has_function_privilege|has_language_privilege|has_schema_privilege|has_sequence_privilege|has_server_privilege|has_table_privilege|has_tablespace_privilege|has_type_privilege|hash_aclitem|hash_array|hash_numeric|hash_range|hashbeginscan|hashbpchar|hashbuild|hashbuildempty|hashbulkdelete|hashchar|hashcostestimate|hashendscan|hashenum|hashfloat4|hashfloat8|hashgetbitmap|hashgettuple|hashinet|hashinsert|hashint2|hashint2vector|hashint4|hashint8|hashmacaddr|hashmarkpos|hashname|hashoid|hashoidvector|hashoptions|hashrescan|hashrestrpos|hashtext|hashvacuumcleanup|hashvarlena|height|host|hostmask|iclikejoinsel|iclikesel|icnlikejoinsel|icnlikesel|icregexeqjoinsel|icregexeqsel|icregexnejoinsel|icregexnesel|inet_client_addr|inet_client_port|inet_in|inet_out|inet_recv|inet_send|inet_server_addr|inet_server_port|inetand|inetmi|inetmi_int8|inetnot|inetor|inetpl|initcap|int2|int24div|int24eq|int24ge|int24gt|int24le|int24lt|int24mi|int24mul|int24ne|int24pl|int28div|int28eq|int28ge|int28gt|int28le|int28lt|int28mi|int28mul|int28ne|int28pl|int2_accum|int2_avg_accum|int2_mul_cash|int2_sum|int2abs|int2and|int2div|int2eq|int2ge|int2gt|int2in|int2larger|int2le|int2lt|int2mi|int2mod|int2mul|int2ne|int2not|int2or|int2out|int2pl|int2recv|int2send|int2shl|int2shr|int2smaller|int2um|int2up|int2vectoreq|int2vectorin|int2vectorout|int2vectorrecv|int2vectorsend|int2xor|int4|int42div|int42eq|int42ge|int42gt|int42le|int42lt|int42mi|int42mul|int42ne|int42pl|int48div|int48eq|int48ge|int48gt|int48le|int48lt|int48mi|int48mul|int48ne|int48pl|int4_accum|int4_avg_accum|int4_mul_cash|int4_sum|int4abs|int4and|int4div|int4eq|int4ge|int4gt|int4in|int4inc|int4larger|int4le|int4lt|int4mi|int4mod|int4mul|int4ne|int4not|int4or|int4out|int4pl|int4range|int4range_canonical|int4range_subdiff|int4recv|int4send|int4shl|int4shr|int4smaller|int4um|int4up|int4xor|int8|int82div|int82eq|int82ge|int82gt|int82le|int82lt|int82mi|int82mul|int82ne|int82pl|int84div|int84eq|int84ge|int84gt|int84le|int84lt|int84mi|int84mul|int84ne|int84pl|int8_accum|int8_avg|int8_avg_accum|int8_sum|int8abs|int8and|int8div|int8eq|int8ge|int8gt|int8in|int8inc|int8inc_any|int8inc_float8_float8|int8larger|int8le|int8lt|int8mi|int8mod|int8mul|int8ne|int8not|int8or|int8out|int8pl|int8pl_inet|int8range|int8range_canonical|int8range_subdiff|int8recv|int8send|int8shl|int8shr|int8smaller|int8um|int8up|int8xor|integer_pl_date|inter_lb|inter_sb|inter_sl|internal_in|internal_out|interval_accum|interval_avg|interval_cmp|interval_div|interval_eq|interval_ge|interval_gt|interval_hash|interval_in|interval_larger|interval_le|interval_lt|interval_mi|interval_mul|interval_ne|interval_out|interval_pl|interval_pl_date|interval_pl_time|interval_pl_timestamp|interval_pl_timestamptz|interval_pl_timetz|interval_recv|interval_send|interval_smaller|interval_transform|interval_um|intervaltypmodin|intervaltypmodout|intinterval|isclosed|isempty|isfinite|ishorizontal|iso8859_1_to_utf8|iso8859_to_utf8|iso_to_koi8r|iso_to_mic|iso_to_win1251|iso_to_win866|isopen|isparallel|isperp|isvertical|johab_to_utf8|json_agg|json_agg_finalfn|json_agg_transfn|json_array_element|json_array_element_text|json_array_elements|json_array_length|json_each|json_each_text|json_extract_path|json_extract_path_op|json_extract_path_text|json_extract_path_text_op|json_in|json_object_field|json_object_field_text|json_object_keys|json_out|json_populate_record|json_populate_recordset|json_recv|json_send|justify_days|justify_hours|justify_interval|koi8r_to_iso|koi8r_to_mic|koi8r_to_utf8|koi8r_to_win1251|koi8r_to_win866|koi8u_to_utf8|lag|language_handler_in|language_handler_out|last_value|lastval|latin1_to_mic|latin2_to_mic|latin2_to_win1250|latin3_to_mic|latin4_to_mic|lead|left|length|like|like_escape|likejoinsel|likesel|line|line_distance|line_eq|line_horizontal|line_in|line_interpt|line_intersect|line_out|line_parallel|line_perp|line_recv|line_send|line_vertical|ln|lo_close|lo_creat|lo_create|lo_export|lo_import|lo_lseek|lo_lseek64|lo_open|lo_tell|lo_tell64|lo_truncate|lo_truncate64|lo_unlink|log|loread|lower|lower_inc|lower_inf|lowrite|lpad|lseg|lseg_center|lseg_distance|lseg_eq|lseg_ge|lseg_gt|lseg_horizontal|lseg_in|lseg_interpt|lseg_intersect|lseg_le|lseg_length|lseg_lt|lseg_ne|lseg_out|lseg_parallel|lseg_perp|lseg_recv|lseg_send|lseg_vertical|ltrim|macaddr_and|macaddr_cmp|macaddr_eq|macaddr_ge|macaddr_gt|macaddr_in|macaddr_le|macaddr_lt|macaddr_ne|macaddr_not|macaddr_or|macaddr_out|macaddr_recv|macaddr_send|makeaclitem|masklen|max|md5|mic_to_ascii|mic_to_big5|mic_to_euc_cn|mic_to_euc_jp|mic_to_euc_kr|mic_to_euc_tw|mic_to_iso|mic_to_koi8r|mic_to_latin1|mic_to_latin2|mic_to_latin3|mic_to_latin4|mic_to_sjis|mic_to_win1250|mic_to_win1251|mic_to_win866|min|mktinterval|mod|money|mul_d_interval|name|nameeq|namege|namegt|nameiclike|nameicnlike|nameicregexeq|nameicregexne|namein|namele|namelike|namelt|namene|namenlike|nameout|namerecv|nameregexeq|nameregexne|namesend|neqjoinsel|neqsel|netmask|network|network_cmp|network_eq|network_ge|network_gt|network_le|network_lt|network_ne|network_sub|network_subeq|network_sup|network_supeq|nextval|nlikejoinsel|nlikesel|notlike|now|npoints|nth_value|ntile|numeric_abs|numeric_accum|numeric_add|numeric_avg|numeric_avg_accum|numeric_cmp|numeric_div|numeric_div_trunc|numeric_eq|numeric_exp|numeric_fac|numeric_ge|numeric_gt|numeric_in|numeric_inc|numeric_larger|numeric_le|numeric_ln|numeric_log|numeric_lt|numeric_mod|numeric_mul|numeric_ne|numeric_out|numeric_power|numeric_recv|numeric_send|numeric_smaller|numeric_sqrt|numeric_stddev_pop|numeric_stddev_samp|numeric_sub|numeric_transform|numeric_uminus|numeric_uplus|numeric_var_pop|numeric_var_samp|numerictypmodin|numerictypmodout|numnode|numrange|numrange_subdiff|obj_description|octet_length|oid|oideq|oidge|oidgt|oidin|oidlarger|oidle|oidlt|oidne|oidout|oidrecv|oidsend|oidsmaller|oidvectoreq|oidvectorge|oidvectorgt|oidvectorin|oidvectorle|oidvectorlt|oidvectorne|oidvectorout|oidvectorrecv|oidvectorsend|oidvectortypes|on_pb|on_pl|on_ppath|on_ps|on_sb|on_sl|opaque_in|opaque_out|overlaps|overlay|path|path_add|path_add_pt|path_center|path_contain_pt|path_distance|path_div_pt|path_in|path_inter|path_length|path_mul_pt|path_n_eq|path_n_ge|path_n_gt|path_n_le|path_n_lt|path_npoints|path_out|path_recv|path_send|path_sub_pt|pclose|percent_rank|pg_advisory_lock|pg_advisory_lock_shared|pg_advisory_unlock|pg_advisory_unlock_all|pg_advisory_unlock_shared|pg_advisory_xact_lock|pg_advisory_xact_lock_shared|pg_available_extension_versions|pg_available_extensions|pg_backend_pid|pg_backup_start_time|pg_cancel_backend|pg_char_to_encoding|pg_client_encoding|pg_collation_for|pg_collation_is_visible|pg_column_is_updatable|pg_column_size|pg_conf_load_time|pg_conversion_is_visible|pg_create_restore_point|pg_current_xlog_insert_location|pg_current_xlog_location|pg_cursor|pg_database_size|pg_describe_object|pg_encoding_max_length|pg_encoding_to_char|pg_event_trigger_dropped_objects|pg_export_snapshot|pg_extension_config_dump|pg_extension_update_paths|pg_function_is_visible|pg_get_constraintdef|pg_get_expr|pg_get_function_arguments|pg_get_function_identity_arguments|pg_get_function_result|pg_get_functiondef|pg_get_indexdef|pg_get_keywords|pg_get_multixact_members|pg_get_ruledef|pg_get_serial_sequence|pg_get_triggerdef|pg_get_userbyid|pg_get_viewdef|pg_has_role|pg_identify_object|pg_indexes_size|pg_is_in_backup|pg_is_in_recovery|pg_is_other_temp_schema|pg_is_xlog_replay_paused|pg_last_xact_replay_timestamp|pg_last_xlog_receive_location|pg_last_xlog_replay_location|pg_listening_channels|pg_lock_status|pg_ls_dir|pg_my_temp_schema|pg_node_tree_in|pg_node_tree_out|pg_node_tree_recv|pg_node_tree_send|pg_notify|pg_opclass_is_visible|pg_operator_is_visible|pg_opfamily_is_visible|pg_options_to_table|pg_postmaster_start_time|pg_prepared_statement|pg_prepared_xact|pg_read_binary_file|pg_read_file|pg_relation_filenode|pg_relation_filepath|pg_relation_is_updatable|pg_relation_size|pg_reload_conf|pg_rotate_logfile|pg_sequence_parameters|pg_show_all_settings|pg_size_pretty|pg_sleep|pg_start_backup|pg_stat_clear_snapshot|pg_stat_file|pg_stat_get_activity|pg_stat_get_analyze_count|pg_stat_get_autoanalyze_count|pg_stat_get_autovacuum_count|pg_stat_get_backend_activity|pg_stat_get_backend_activity_start|pg_stat_get_backend_client_addr|pg_stat_get_backend_client_port|pg_stat_get_backend_dbid|pg_stat_get_backend_idset|pg_stat_get_backend_pid|pg_stat_get_backend_start|pg_stat_get_backend_userid|pg_stat_get_backend_waiting|pg_stat_get_backend_xact_start|pg_stat_get_bgwriter_buf_written_checkpoints|pg_stat_get_bgwriter_buf_written_clean|pg_stat_get_bgwriter_maxwritten_clean|pg_stat_get_bgwriter_requested_checkpoints|pg_stat_get_bgwriter_stat_reset_time|pg_stat_get_bgwriter_timed_checkpoints|pg_stat_get_blocks_fetched|pg_stat_get_blocks_hit|pg_stat_get_buf_alloc|pg_stat_get_buf_fsync_backend|pg_stat_get_buf_written_backend|pg_stat_get_checkpoint_sync_time|pg_stat_get_checkpoint_write_time|pg_stat_get_db_blk_read_time|pg_stat_get_db_blk_write_time|pg_stat_get_db_blocks_fetched|pg_stat_get_db_blocks_hit|pg_stat_get_db_conflict_all|pg_stat_get_db_conflict_bufferpin|pg_stat_get_db_conflict_lock|pg_stat_get_db_conflict_snapshot|pg_stat_get_db_conflict_startup_deadlock|pg_stat_get_db_conflict_tablespace|pg_stat_get_db_deadlocks|pg_stat_get_db_numbackends|pg_stat_get_db_stat_reset_time|pg_stat_get_db_temp_bytes|pg_stat_get_db_temp_files|pg_stat_get_db_tuples_deleted|pg_stat_get_db_tuples_fetched|pg_stat_get_db_tuples_inserted|pg_stat_get_db_tuples_returned|pg_stat_get_db_tuples_updated|pg_stat_get_db_xact_commit|pg_stat_get_db_xact_rollback|pg_stat_get_dead_tuples|pg_stat_get_function_calls|pg_stat_get_function_self_time|pg_stat_get_function_total_time|pg_stat_get_last_analyze_time|pg_stat_get_last_autoanalyze_time|pg_stat_get_last_autovacuum_time|pg_stat_get_last_vacuum_time|pg_stat_get_live_tuples|pg_stat_get_numscans|pg_stat_get_tuples_deleted|pg_stat_get_tuples_fetched|pg_stat_get_tuples_hot_updated|pg_stat_get_tuples_inserted|pg_stat_get_tuples_returned|pg_stat_get_tuples_updated|pg_stat_get_vacuum_count|pg_stat_get_wal_senders|pg_stat_get_xact_blocks_fetched|pg_stat_get_xact_blocks_hit|pg_stat_get_xact_function_calls|pg_stat_get_xact_function_self_time|pg_stat_get_xact_function_total_time|pg_stat_get_xact_numscans|pg_stat_get_xact_tuples_deleted|pg_stat_get_xact_tuples_fetched|pg_stat_get_xact_tuples_hot_updated|pg_stat_get_xact_tuples_inserted|pg_stat_get_xact_tuples_returned|pg_stat_get_xact_tuples_updated|pg_stat_reset|pg_stat_reset_shared|pg_stat_reset_single_function_counters|pg_stat_reset_single_table_counters|pg_stop_backup|pg_switch_xlog|pg_table_is_visible|pg_table_size|pg_tablespace_databases|pg_tablespace_location|pg_tablespace_size|pg_terminate_backend|pg_timezone_abbrevs|pg_timezone_names|pg_total_relation_size|pg_trigger_depth|pg_try_advisory_lock|pg_try_advisory_lock_shared|pg_try_advisory_xact_lock|pg_try_advisory_xact_lock_shared|pg_ts_config_is_visible|pg_ts_dict_is_visible|pg_ts_parser_is_visible|pg_ts_template_is_visible|pg_type_is_visible|pg_typeof|pg_xlog_location_diff|pg_xlog_replay_pause|pg_xlog_replay_resume|pg_xlogfile_name|pg_xlogfile_name_offset|pi|plainto_tsquery|plpgsql_call_handler|plpgsql_inline_handler|plpgsql_validator|point|point_above|point_add|point_below|point_distance|point_div|point_eq|point_horiz|point_in|point_left|point_mul|point_ne|point_out|point_recv|point_right|point_send|point_sub|point_vert|poly_above|poly_below|poly_center|poly_contain|poly_contain_pt|poly_contained|poly_distance|poly_in|poly_left|poly_npoints|poly_out|poly_overabove|poly_overbelow|poly_overlap|poly_overleft|poly_overright|poly_recv|poly_right|poly_same|poly_send|polygon|popen|position|positionjoinsel|positionsel|postgresql_fdw_validator|pow|power|prsd_end|prsd_headline|prsd_lextype|prsd_nexttoken|prsd_start|pt_contained_circle|pt_contained_poly|query_to_xml|query_to_xml_and_xmlschema|query_to_xmlschema|querytree|quote_ident|quote_literal|quote_nullable|radians|radius|random|range_adjacent|range_after|range_before|range_cmp|range_contained_by|range_contains|range_contains_elem|range_eq|range_ge|range_gist_compress|range_gist_consistent|range_gist_decompress|range_gist_penalty|range_gist_picksplit|range_gist_same|range_gist_union|range_gt|range_in|range_intersect|range_le|range_lt|range_minus|range_ne|range_out|range_overlaps|range_overleft|range_overright|range_recv|range_send|range_typanalyze|range_union|rangesel|rank|record_eq|record_ge|record_gt|record_in|record_le|record_lt|record_ne|record_out|record_recv|record_send|regclass|regclassin|regclassout|regclassrecv|regclasssend|regconfigin|regconfigout|regconfigrecv|regconfigsend|regdictionaryin|regdictionaryout|regdictionaryrecv|regdictionarysend|regexeqjoinsel|regexeqsel|regexnejoinsel|regexnesel|regexp_matches|regexp_replace|regexp_split_to_array|regexp_split_to_table|regoperatorin|regoperatorout|regoperatorrecv|regoperatorsend|regoperin|regoperout|regoperrecv|regopersend|regprocedurein|regprocedureout|regprocedurerecv|regproceduresend|regprocin|regprocout|regprocrecv|regprocsend|regr_avgx|regr_avgy|regr_count|regr_intercept|regr_r2|regr_slope|regr_sxx|regr_sxy|regr_syy|regtypein|regtypeout|regtyperecv|regtypesend|reltime|reltimeeq|reltimege|reltimegt|reltimein|reltimele|reltimelt|reltimene|reltimeout|reltimerecv|reltimesend|repeat|replace|reverse|right|round|row_number|row_to_json|rpad|rtrim|scalargtjoinsel|scalargtsel|scalarltjoinsel|scalarltsel|schema_to_xml|schema_to_xml_and_xmlschema|schema_to_xmlschema|session_user|set_bit|set_byte|set_config|set_masklen|setseed|setval|setweight|shell_in|shell_out|shift_jis_2004_to_euc_jis_2004|shift_jis_2004_to_utf8|shobj_description|sign|similar_escape|sin|sjis_to_euc_jp|sjis_to_mic|sjis_to_utf8|slope|smgreq|smgrin|smgrne|smgrout|spg_kd_choose|spg_kd_config|spg_kd_inner_consistent|spg_kd_picksplit|spg_quad_choose|spg_quad_config|spg_quad_inner_consistent|spg_quad_leaf_consistent|spg_quad_picksplit|spg_range_quad_choose|spg_range_quad_config|spg_range_quad_inner_consistent|spg_range_quad_leaf_consistent|spg_range_quad_picksplit|spg_text_choose|spg_text_config|spg_text_inner_consistent|spg_text_leaf_consistent|spg_text_picksplit|spgbeginscan|spgbuild|spgbuildempty|spgbulkdelete|spgcanreturn|spgcostestimate|spgendscan|spggetbitmap|spggettuple|spginsert|spgmarkpos|spgoptions|spgrescan|spgrestrpos|spgvacuumcleanup|split_part|sqrt|statement_timestamp|stddev|stddev_pop|stddev_samp|string_agg|string_agg_finalfn|string_agg_transfn|string_to_array|strip|strpos|substr|substring|sum|suppress_redundant_updates_trigger|table_to_xml|table_to_xml_and_xmlschema|table_to_xmlschema|tan|text|text_ge|text_gt|text_larger|text_le|text_lt|text_pattern_ge|text_pattern_gt|text_pattern_le|text_pattern_lt|text_smaller|textanycat|textcat|texteq|texticlike|texticnlike|texticregexeq|texticregexne|textin|textlen|textlike|textne|textnlike|textout|textrecv|textregexeq|textregexne|textsend|thesaurus_init|thesaurus_lexize|tideq|tidge|tidgt|tidin|tidlarger|tidle|tidlt|tidne|tidout|tidrecv|tidsend|tidsmaller|time_cmp|time_eq|time_ge|time_gt|time_hash|time_in|time_larger|time_le|time_lt|time_mi_interval|time_mi_time|time_ne|time_out|time_pl_interval|time_recv|time_send|time_smaller|time_transform|timedate_pl|timemi|timenow|timeofday|timepl|timestamp_cmp|timestamp_cmp_date|timestamp_cmp_timestamptz|timestamp_eq|timestamp_eq_date|timestamp_eq_timestamptz|timestamp_ge|timestamp_ge_date|timestamp_ge_timestamptz|timestamp_gt|timestamp_gt_date|timestamp_gt_timestamptz|timestamp_hash|timestamp_in|timestamp_larger|timestamp_le|timestamp_le_date|timestamp_le_timestamptz|timestamp_lt|timestamp_lt_date|timestamp_lt_timestamptz|timestamp_mi|timestamp_mi_interval|timestamp_ne|timestamp_ne_date|timestamp_ne_timestamptz|timestamp_out|timestamp_pl_interval|timestamp_recv|timestamp_send|timestamp_smaller|timestamp_sortsupport|timestamp_transform|timestamptypmodin|timestamptypmodout|timestamptz_cmp|timestamptz_cmp_date|timestamptz_cmp_timestamp|timestamptz_eq|timestamptz_eq_date|timestamptz_eq_timestamp|timestamptz_ge|timestamptz_ge_date|timestamptz_ge_timestamp|timestamptz_gt|timestamptz_gt_date|timestamptz_gt_timestamp|timestamptz_in|timestamptz_larger|timestamptz_le|timestamptz_le_date|timestamptz_le_timestamp|timestamptz_lt|timestamptz_lt_date|timestamptz_lt_timestamp|timestamptz_mi|timestamptz_mi_interval|timestamptz_ne|timestamptz_ne_date|timestamptz_ne_timestamp|timestamptz_out|timestamptz_pl_interval|timestamptz_recv|timestamptz_send|timestamptz_smaller|timestamptztypmodin|timestamptztypmodout|timetypmodin|timetypmodout|timetz_cmp|timetz_eq|timetz_ge|timetz_gt|timetz_hash|timetz_in|timetz_larger|timetz_le|timetz_lt|timetz_mi_interval|timetz_ne|timetz_out|timetz_pl_interval|timetz_recv|timetz_send|timetz_smaller|timetzdate_pl|timetztypmodin|timetztypmodout|timezone|tinterval|tintervalct|tintervalend|tintervaleq|tintervalge|tintervalgt|tintervalin|tintervalle|tintervalleneq|tintervallenge|tintervallengt|tintervallenle|tintervallenlt|tintervallenne|tintervallt|tintervalne|tintervalout|tintervalov|tintervalrecv|tintervalrel|tintervalsame|tintervalsend|tintervalstart|to_ascii|to_char|to_date|to_hex|to_json|to_number|to_timestamp|to_tsquery|to_tsvector|transaction_timestamp|translate|trigger_in|trigger_out|trunc|ts_debug|ts_headline|ts_lexize|ts_match_qv|ts_match_tq|ts_match_tt|ts_match_vq|ts_parse|ts_rank|ts_rank_cd|ts_rewrite|ts_stat|ts_token_type|ts_typanalyze|tsmatchjoinsel|tsmatchsel|tsq_mcontained|tsq_mcontains|tsquery_and|tsquery_cmp|tsquery_eq|tsquery_ge|tsquery_gt|tsquery_le|tsquery_lt|tsquery_ne|tsquery_not|tsquery_or|tsqueryin|tsqueryout|tsqueryrecv|tsquerysend|tsrange|tsrange_subdiff|tstzrange|tstzrange_subdiff|tsvector_cmp|tsvector_concat|tsvector_eq|tsvector_ge|tsvector_gt|tsvector_le|tsvector_lt|tsvector_ne|tsvector_update_trigger|tsvector_update_trigger_column|tsvectorin|tsvectorout|tsvectorrecv|tsvectorsend|txid_current|txid_current_snapshot|txid_snapshot_in|txid_snapshot_out|txid_snapshot_recv|txid_snapshot_send|txid_snapshot_xip|txid_snapshot_xmax|txid_snapshot_xmin|txid_visible_in_snapshot|uhc_to_utf8|unique_key_recheck|unknownin|unknownout|unknownrecv|unknownsend|unnest|upper|upper_inc|upper_inf|utf8_to_ascii|utf8_to_big5|utf8_to_euc_cn|utf8_to_euc_jis_2004|utf8_to_euc_jp|utf8_to_euc_kr|utf8_to_euc_tw|utf8_to_gb18030|utf8_to_gbk|utf8_to_iso8859|utf8_to_iso8859_1|utf8_to_johab|utf8_to_koi8r|utf8_to_koi8u|utf8_to_shift_jis_2004|utf8_to_sjis|utf8_to_uhc|utf8_to_win|uuid_cmp|uuid_eq|uuid_ge|uuid_gt|uuid_hash|uuid_in|uuid_le|uuid_lt|uuid_ne|uuid_out|uuid_recv|uuid_send|var_pop|var_samp|varbit_in|varbit_out|varbit_recv|varbit_send|varbit_transform|varbitcmp|varbiteq|varbitge|varbitgt|varbitle|varbitlt|varbitne|varbittypmodin|varbittypmodout|varchar_transform|varcharin|varcharout|varcharrecv|varcharsend|varchartypmodin|varchartypmodout|variance|version|void_in|void_out|void_recv|void_send|width|width_bucket|win1250_to_latin2|win1250_to_mic|win1251_to_iso|win1251_to_koi8r|win1251_to_mic|win1251_to_win866|win866_to_iso|win866_to_koi8r|win866_to_mic|win866_to_win1251|win_to_utf8|xideq|xideqint4|xidin|xidout|xidrecv|xidsend|xml|xml_in|xml_is_well_formed|xml_is_well_formed_content|xml_is_well_formed_document|xml_out|xml_recv|xml_send|xmlagg|xmlcomment|xmlconcat2|xmlexists|xmlvalidate|xpath|xpath_exists",A=this.createKeywordMapper({"support.function":k,keyword:v},"identifier",!0),p=[{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"variable.language",regex:'".*?"'},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:A,regex:"[a-zA-Z_][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"!|!!|!~|!~\\*|!~~|!~~\\*|#|##|#<|#<=|#<>|#=|#>|#>=|%|\\&|\\&\\&|\\&<|\\&<\\||\\&>|\\*|\\+|\\-|/|<|<#>|<\\->|<<|<<=|<<\\||<=|<>|<\\?>|<@|<\\^|=|>|>=|>>|>>=|>\\^|\\?#|\\?\\-|\\?\\-\\||\\?\\||\\?\\|\\||@|@\\-@|@>|@@|@@@|\\^|\\||\\|\\&>|\\|/|\\|>>|\\|\\||\\|\\|/|~|~\\*|~<=~|~<~|~=|~>=~|~>~|~~|~~\\*"},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}];this.$rules={start:[{token:"comment",regex:"--.*$"},s.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"keyword.statementBegin",regex:"[a-zA-Z]+",next:"statement"},{token:"support.buildin",regex:"^\\\\[\\S]+.*$"}],statement:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\/\\*",next:"commentStatement"},{token:"statementEnd",regex:";",next:"start"},{token:"string",regex:"\\$perl\\$",next:"perl-start"},{token:"string",regex:"\\$python\\$",next:"python-start"},{token:"string",regex:"\\$json\\$",next:"json-start"},{token:"string",regex:"\\$(js|javascript)\\$",next:"javascript-start"},{token:"string",regex:"\\$\\$$",next:"dollarSql"},{token:"string",regex:"\\$[\\w_0-9]*\\$",next:"dollarStatementString"}].concat(p),dollarSql:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\/\\*",next:"commentDollarSql"},{token:["keyword","statementEnd","text","string"],regex:"(^|END)(;)?(\\s*)(\\$\\$)",next:"statement"},{token:"string",regex:"\\$[\\w_0-9]*\\$",next:"dollarSqlString"}].concat(p),comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],commentStatement:[{token:"comment",regex:"\\*\\/",next:"statement"},{defaultToken:"comment"}],commentDollarSql:[{token:"comment",regex:"\\*\\/",next:"dollarSql"},{defaultToken:"comment"}],dollarStatementString:[{token:"string",regex:".*?\\$[\\w_0-9]*\\$",next:"statement"},{token:"string",regex:".+"}],dollarSqlString:[{token:"string",regex:".*?\\$[\\w_0-9]*\\$",next:"dollarSql"},{token:"string",regex:".+"}]},this.embedRules(s,"doc-",[s.getEndRule("start")]),this.embedRules(x,"perl-",[{token:"string",regex:"\\$perl\\$",next:"statement"}]),this.embedRules(y,"python-",[{token:"string",regex:"\\$python\\$",next:"statement"}]),this.embedRules(b,"json-",[{token:"string",regex:"\\$json\\$",next:"statement"}]),this.embedRules(h,"javascript-",[{token:"string",regex:"\\$(js|javascript)\\$",next:"statement"}])};c.inherits(f,l),n.PgsqlHighlightRules=f}),ace.define("ace/mode/pgsql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/pgsql_highlight_rules"],function(e,n,t){var c=e("../lib/oop"),u=e("../mode/text").Mode,s=e("./pgsql_highlight_rules").PgsqlHighlightRules,l=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};c.inherits(l,u),function(){this.lineCommentStart="--",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(x,y,b){return x=="start"||x=="keyword.statementEnd"?"":this.$getIndent(y)},this.$id="ace/mode/pgsql"}.call(l.prototype),n.Mode=l}),function(){ace.require(["ace/mode/pgsql"],function(e){a&&(a.exports=e)})}()},51612:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/ambiance-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-ambiance .ace_gutter { + background-color: #3d3d3d; + background-image: linear-gradient(left, #3D3D3D, #333); + background-repeat: repeat-x; + border-right: 1px solid #4d4d4d; + text-shadow: 0px 1px 1px #4d4d4d; + color: #222; +} + +.ace-ambiance .ace_gutter-layer { + background: repeat left top; +} + +.ace-ambiance .ace_gutter-active-line { + background-color: #3F3F3F; +} + +.ace-ambiance .ace_fold-widget { + text-align: center; +} + +.ace-ambiance .ace_fold-widget:hover { + color: #777; +} + +.ace-ambiance .ace_fold-widget.ace_start, +.ace-ambiance .ace_fold-widget.ace_end, +.ace-ambiance .ace_fold-widget.ace_closed{ + background: none !important; + border: none; + box-shadow: none; +} + +.ace-ambiance .ace_fold-widget.ace_start:after { + content: '\u25BE' +} + +.ace-ambiance .ace_fold-widget.ace_end:after { + content: '\u25B4' +} + +.ace-ambiance .ace_fold-widget.ace_closed:after { + content: '\u2023' +} + +.ace-ambiance .ace_print-margin { + border-left: 1px dotted #2D2D2D; + right: 0; + background: #262626; +} + +.ace-ambiance .ace_scroller { + -webkit-box-shadow: inset 0 0 10px black; + -moz-box-shadow: inset 0 0 10px black; + -o-box-shadow: inset 0 0 10px black; + box-shadow: inset 0 0 10px black; +} + +.ace-ambiance { + color: #E6E1DC; + background-color: #202020; +} + +.ace-ambiance .ace_cursor { + border-left: 1px solid #7991E8; +} + +.ace-ambiance .ace_overwrite-cursors .ace_cursor { + border: 1px solid #FFE300; + background: #766B13; +} + +.ace-ambiance.normal-mode .ace_cursor-layer { + z-index: 0; +} + +.ace-ambiance .ace_marker-layer .ace_selection { + background: rgba(221, 240, 255, 0.20); +} + +.ace-ambiance .ace_marker-layer .ace_selected-word { + border-radius: 4px; + border: 8px solid #3f475d; + box-shadow: 0 0 4px black; +} + +.ace-ambiance .ace_marker-layer .ace_step { + background: rgb(198, 219, 174); +} + +.ace-ambiance .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgba(255, 255, 255, 0.25); +} + +.ace-ambiance .ace_marker-layer .ace_active-line { + background: rgba(255, 255, 255, 0.031); +} + +.ace-ambiance .ace_invisible { + color: #333; +} + +.ace-ambiance .ace_paren { + color: #24C2C7; +} + +.ace-ambiance .ace_keyword { + color: #cda869; +} + +.ace-ambiance .ace_keyword.ace_operator { + color: #fa8d6a; +} + +.ace-ambiance .ace_punctuation.ace_operator { + color: #fa8d6a; +} + +.ace-ambiance .ace_identifier { +} + +.ace-ambiance .ace-statement { + color: #cda869; +} + +.ace-ambiance .ace_constant { + color: #CF7EA9; +} + +.ace-ambiance .ace_constant.ace_language { + color: #CF7EA9; +} + +.ace-ambiance .ace_constant.ace_library { + +} + +.ace-ambiance .ace_constant.ace_numeric { + color: #78CF8A; +} + +.ace-ambiance .ace_invalid { + text-decoration: underline; +} + +.ace-ambiance .ace_invalid.ace_illegal { + color:#F8F8F8; + background-color: rgba(86, 45, 86, 0.75); +} + +.ace-ambiance .ace_invalid, +.ace-ambiance .ace_deprecated { + text-decoration: underline; + font-style: italic; + color: #D2A8A1; +} + +.ace-ambiance .ace_support { + color: #9B859D; +} + +.ace-ambiance .ace_support.ace_function { + color: #DAD085; +} + +.ace-ambiance .ace_function.ace_buildin { + color: #9b859d; +} + +.ace-ambiance .ace_string { + color: #8f9d6a; +} + +.ace-ambiance .ace_string.ace_regexp { + color: #DAD085; +} + +.ace-ambiance .ace_comment { + font-style: italic; + color: #555; +} + +.ace-ambiance .ace_comment.ace_doc { +} + +.ace-ambiance .ace_comment.ace_doc.ace_tag { + color: #666; + font-style: normal; +} + +.ace-ambiance .ace_definition, +.ace-ambiance .ace_type { + color: #aac6e3; +} + +.ace-ambiance .ace_variable { + color: #9999cc; +} + +.ace-ambiance .ace_variable.ace_language { + color: #9b859d; +} + +.ace-ambiance .ace_xml-pe { + color: #494949; +} + +.ace-ambiance .ace_gutter-layer, +.ace-ambiance .ace_text-layer { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC"); +} + +.ace-ambiance .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC") right repeat-y; +} + +.ace-ambiance .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/ambiance",["require","exports","module","ace/theme/ambiance-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-ambiance",n.cssText=e("./ambiance-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/ambiance"],function(e){a&&(a.exports=e)})}()},42692:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/chrome-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-chrome .ace_gutter { + background: #ebebeb; + color: #333; + overflow : hidden; +} + +.ace-chrome .ace_print-margin { + width: 1px; + background: #e8e8e8; +} + +.ace-chrome { + background-color: #FFFFFF; + color: black; +} + +.ace-chrome .ace_cursor { + color: black; +} + +.ace-chrome .ace_invisible { + color: rgb(191, 191, 191); +} + +.ace-chrome .ace_constant.ace_buildin { + color: rgb(88, 72, 246); +} + +.ace-chrome .ace_constant.ace_language { + color: rgb(88, 92, 246); +} + +.ace-chrome .ace_constant.ace_library { + color: rgb(6, 150, 14); +} + +.ace-chrome .ace_invalid { + background-color: rgb(153, 0, 0); + color: white; +} + +.ace-chrome .ace_fold { +} + +.ace-chrome .ace_support.ace_function { + color: rgb(60, 76, 114); +} + +.ace-chrome .ace_support.ace_constant { + color: rgb(6, 150, 14); +} + +.ace-chrome .ace_support.ace_type, +.ace-chrome .ace_support.ace_class +.ace-chrome .ace_support.ace_other { + color: rgb(109, 121, 222); +} + +.ace-chrome .ace_variable.ace_parameter { + font-style:italic; + color:#FD971F; +} +.ace-chrome .ace_keyword.ace_operator { + color: rgb(104, 118, 135); +} + +.ace-chrome .ace_comment { + color: #236e24; +} + +.ace-chrome .ace_comment.ace_doc { + color: #236e24; +} + +.ace-chrome .ace_comment.ace_doc.ace_tag { + color: #236e24; +} + +.ace-chrome .ace_constant.ace_numeric { + color: rgb(0, 0, 205); +} + +.ace-chrome .ace_variable { + color: rgb(49, 132, 149); +} + +.ace-chrome .ace_xml-pe { + color: rgb(104, 104, 91); +} + +.ace-chrome .ace_entity.ace_name.ace_function { + color: #0000A2; +} + + +.ace-chrome .ace_heading { + color: rgb(12, 7, 255); +} + +.ace-chrome .ace_list { + color:rgb(185, 6, 144); +} + +.ace-chrome .ace_marker-layer .ace_selection { + background: rgb(181, 213, 255); +} + +.ace-chrome .ace_marker-layer .ace_step { + background: rgb(252, 255, 0); +} + +.ace-chrome .ace_marker-layer .ace_stack { + background: rgb(164, 229, 101); +} + +.ace-chrome .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgb(192, 192, 192); +} + +.ace-chrome .ace_marker-layer .ace_active-line { + background: rgba(0, 0, 0, 0.07); +} + +.ace-chrome .ace_gutter-active-line { + background-color : #dcdcdc; +} + +.ace-chrome .ace_marker-layer .ace_selected-word { + background: rgb(250, 250, 255); + border: 1px solid rgb(200, 200, 250); +} + +.ace-chrome .ace_storage, +.ace-chrome .ace_keyword, +.ace-chrome .ace_meta.ace_tag { + color: rgb(147, 15, 128); +} + +.ace-chrome .ace_string.ace_regex { + color: rgb(255, 0, 0) +} + +.ace-chrome .ace_string { + color: #1A1AA6; +} + +.ace-chrome .ace_entity.ace_other.ace_attribute-name { + color: #994409; +} + +.ace-chrome .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; +} + +.ace-chrome .ace_indent-guide-active { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y; +} +`}),ace.define("ace/theme/chrome",["require","exports","module","ace/theme/chrome-css","ace/lib/dom"],function(e,n,t){n.isDark=!1,n.cssClass="ace-chrome",n.cssText=e("./chrome-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/chrome"],function(e){a&&(a.exports=e)})}()},57787:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/dracula-css",["require","exports","module"],function(e,n,t){t.exports=`/* + * Copyright \xA9 2017 Zeno Rocha + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \u201CSoftware\u201D), 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 \u201CAS IS\u201D, 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. + */ + +.ace-dracula .ace_gutter { + background: #282a36; + color: rgb(144,145,148) +} + +.ace-dracula .ace_print-margin { + width: 1px; + background: #44475a +} + +.ace-dracula { + background-color: #282a36; + color: #f8f8f2 +} + +.ace-dracula .ace_cursor { + color: #f8f8f0 +} + +.ace-dracula .ace_marker-layer .ace_selection { + background: #44475a +} + +.ace-dracula.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #282a36; + border-radius: 2px +} + +.ace-dracula .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-dracula .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #a29709 +} + +.ace-dracula .ace_marker-layer .ace_active-line { + background: #44475a +} + +.ace-dracula .ace_gutter-active-line { + background-color: #44475a +} + +.ace-dracula .ace_marker-layer .ace_selected-word { + box-shadow: 0px 0px 0px 1px #a29709; + border-radius: 3px; +} + +.ace-dracula .ace_fold { + background-color: #50fa7b; + border-color: #f8f8f2 +} + +.ace-dracula .ace_keyword { + color: #ff79c6 +} + +.ace-dracula .ace_constant.ace_language { + color: #bd93f9 +} + +.ace-dracula .ace_constant.ace_numeric { + color: #bd93f9 +} + +.ace-dracula .ace_constant.ace_character { + color: #bd93f9 +} + +.ace-dracula .ace_constant.ace_character.ace_escape { + color: #ff79c6 +} + +.ace-dracula .ace_constant.ace_other { + color: #bd93f9 +} + +.ace-dracula .ace_support.ace_function { + color: #8be9fd +} + +.ace-dracula .ace_support.ace_constant { + color: #6be5fd +} + +.ace-dracula .ace_support.ace_class { + font-style: italic; + color: #66d9ef +} + +.ace-dracula .ace_support.ace_type { + font-style: italic; + color: #66d9ef +} + +.ace-dracula .ace_storage { + color: #ff79c6 +} + +.ace-dracula .ace_storage.ace_type { + font-style: italic; + color: #8be9fd +} + +.ace-dracula .ace_invalid { + color: #F8F8F0; + background-color: #ff79c6 +} + +.ace-dracula .ace_invalid.ace_deprecated { + color: #F8F8F0; + background-color: #bd93f9 +} + +.ace-dracula .ace_string { + color: #f1fa8c +} + +.ace-dracula .ace_comment { + color: #6272a4 +} + +.ace-dracula .ace_variable { + color: #50fa7b +} + +.ace-dracula .ace_variable.ace_parameter { + font-style: italic; + color: #ffb86c +} + +.ace-dracula .ace_entity.ace_other.ace_attribute-name { + color: #50fa7b +} + +.ace-dracula .ace_entity.ace_name.ace_function { + color: #50fa7b +} + +.ace-dracula .ace_entity.ace_name.ace_tag { + color: #ff79c6 +} +.ace-dracula .ace_invisible { + color: #626680; +} + +.ace-dracula .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y +} + +.ace-dracula .ace_indent-guide-active { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACAQMAAACjTyRkAAAABlBMVEUAAADCwsK76u2xAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjYGBoAAAAhACBGFbxzQAAAABJRU5ErkJggg==") right repeat-y; +} +`}),ace.define("ace/theme/dracula",["require","exports","module","ace/theme/dracula-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-dracula",n.cssText=e("./dracula-css"),n.$selectionColorConflict=!0;var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/dracula"],function(e){a&&(a.exports=e)})}()},76381:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/eclipse-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-eclipse .ace_gutter { + background: #ebebeb; + border-right: 1px solid rgb(159, 159, 159); + color: rgb(136, 136, 136); +} + +.ace-eclipse .ace_print-margin { + width: 1px; + background: #ebebeb; +} + +.ace-eclipse { + background-color: #FFFFFF; + color: black; +} + +.ace-eclipse .ace_fold { + background-color: rgb(60, 76, 114); +} + +.ace-eclipse .ace_cursor { + color: black; +} + +.ace-eclipse .ace_storage, +.ace-eclipse .ace_keyword, +.ace-eclipse .ace_variable { + color: rgb(127, 0, 85); +} + +.ace-eclipse .ace_constant.ace_buildin { + color: rgb(88, 72, 246); +} + +.ace-eclipse .ace_constant.ace_library { + color: rgb(6, 150, 14); +} + +.ace-eclipse .ace_function { + color: rgb(60, 76, 114); +} + +.ace-eclipse .ace_string { + color: rgb(42, 0, 255); +} + +.ace-eclipse .ace_comment { + color: rgb(113, 150, 130); +} + +.ace-eclipse .ace_comment.ace_doc { + color: rgb(63, 95, 191); +} + +.ace-eclipse .ace_comment.ace_doc.ace_tag { + color: rgb(127, 159, 191); +} + +.ace-eclipse .ace_constant.ace_numeric { + color: darkblue; +} + +.ace-eclipse .ace_tag { + color: rgb(25, 118, 116); +} + +.ace-eclipse .ace_type { + color: rgb(127, 0, 127); +} + +.ace-eclipse .ace_xml-pe { + color: rgb(104, 104, 91); +} + +.ace-eclipse .ace_marker-layer .ace_selection { + background: rgb(181, 213, 255); +} + +.ace-eclipse .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgb(192, 192, 192); +} + +.ace-eclipse .ace_meta.ace_tag { + color:rgb(25, 118, 116); +} + +.ace-eclipse .ace_invisible { + color: #ddd; +} + +.ace-eclipse .ace_entity.ace_other.ace_attribute-name { + color:rgb(127, 0, 127); +} +.ace-eclipse .ace_marker-layer .ace_step { + background: rgb(255, 255, 0); +} + +.ace-eclipse .ace_active-line { + background: rgb(232, 242, 254); +} + +.ace-eclipse .ace_gutter-active-line { + background-color : #DADADA; +} + +.ace-eclipse .ace_marker-layer .ace_selected-word { + border: 1px solid rgb(181, 213, 255); +} + +.ace-eclipse .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; +} + +.ace-eclipse .ace_indent-guide-active { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y; +} +`}),ace.define("ace/theme/eclipse",["require","exports","module","ace/theme/eclipse-css","ace/lib/dom"],function(e,n,t){"use strict";n.isDark=!1,n.cssText=e("./eclipse-css"),n.cssClass="ace-eclipse";var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/eclipse"],function(e){a&&(a.exports=e)})}()},24203:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/github-css",["require","exports","module"],function(e,n,t){t.exports=`/* CSS style content from github's default pygments highlighter template. + Cursor and selection styles from textmate.css. */ +.ace-github .ace_gutter { + background: #e8e8e8; + color: #AAA; +} + +.ace-github { + background: #fff; + color: #000; +} + +.ace-github .ace_keyword { + font-weight: bold; +} + +.ace-github .ace_string { + color: #D14; +} + +.ace-github .ace_variable.ace_class { + color: teal; +} + +.ace-github .ace_constant.ace_numeric { + color: #099; +} + +.ace-github .ace_constant.ace_buildin { + color: #0086B3; +} + +.ace-github .ace_support.ace_function { + color: #0086B3; +} + +.ace-github .ace_comment { + color: #998; + font-style: italic; +} + +.ace-github .ace_variable.ace_language { + color: #0086B3; +} + +.ace-github .ace_paren { + font-weight: bold; +} + +.ace-github .ace_boolean { + font-weight: bold; +} + +.ace-github .ace_string.ace_regexp { + color: #009926; + font-weight: normal; +} + +.ace-github .ace_variable.ace_instance { + color: teal; +} + +.ace-github .ace_constant.ace_language { + font-weight: bold; +} + +.ace-github .ace_cursor { + color: black; +} + +.ace-github.ace_focus .ace_marker-layer .ace_active-line { + background: rgb(255, 255, 204); +} +.ace-github .ace_marker-layer .ace_active-line { + background: rgb(245, 245, 245); +} + +.ace-github .ace_marker-layer .ace_selection { + background: rgb(181, 213, 255); +} + +.ace-github.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px white; +} +/* bold keywords cause cursor issues for some fonts */ +/* this disables bold style for editor and keeps for static highlighter */ +.ace-github.ace_nobold .ace_line > span { + font-weight: normal !important; +} + +.ace-github .ace_marker-layer .ace_step { + background: rgb(252, 255, 0); +} + +.ace-github .ace_marker-layer .ace_stack { + background: rgb(164, 229, 101); +} + +.ace-github .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgb(192, 192, 192); +} + +.ace-github .ace_gutter-active-line { + background-color : rgba(0, 0, 0, 0.07); +} + +.ace-github .ace_marker-layer .ace_selected-word { + background: rgb(250, 250, 255); + border: 1px solid rgb(200, 200, 250); +} + +.ace-github .ace_invisible { + color: #BFBFBF +} + +.ace-github .ace_print-margin { + width: 1px; + background: #e8e8e8; +} + +.ace-github .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; +} + +.ace-github .ace_indent-guide-active { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y; +} +`}),ace.define("ace/theme/github",["require","exports","module","ace/theme/github-css","ace/lib/dom"],function(e,n,t){n.isDark=!1,n.cssClass="ace-github",n.cssText=e("./github-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/github"],function(e){a&&(a.exports=e)})}()},95910:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/merbivore-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-merbivore .ace_gutter { + background: #202020; + color: #E6E1DC +} + +.ace-merbivore .ace_print-margin { + width: 1px; + background: #555651 +} + +.ace-merbivore { + background-color: #161616; + color: #E6E1DC +} + +.ace-merbivore .ace_cursor { + color: #FFFFFF +} + +.ace-merbivore .ace_marker-layer .ace_selection { + background: #454545 +} + +.ace-merbivore.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #161616; +} + +.ace-merbivore .ace_marker-layer .ace_step { + background: rgb(102, 82, 0) +} + +.ace-merbivore .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #404040 +} + +.ace-merbivore .ace_marker-layer .ace_active-line { + background: #333435 +} + +.ace-merbivore .ace_gutter-active-line { + background-color: #333435 +} + +.ace-merbivore .ace_marker-layer .ace_selected-word { + border: 1px solid #454545 +} + +.ace-merbivore .ace_invisible { + color: #404040 +} + +.ace-merbivore .ace_entity.ace_name.ace_tag, +.ace-merbivore .ace_keyword, +.ace-merbivore .ace_meta, +.ace-merbivore .ace_meta.ace_tag, +.ace-merbivore .ace_storage, +.ace-merbivore .ace_support.ace_function { + color: #FC6F09 +} + +.ace-merbivore .ace_constant, +.ace-merbivore .ace_constant.ace_character, +.ace-merbivore .ace_constant.ace_character.ace_escape, +.ace-merbivore .ace_constant.ace_other, +.ace-merbivore .ace_support.ace_type { + color: #1EDAFB +} + +.ace-merbivore .ace_constant.ace_character.ace_escape { + color: #519F50 +} + +.ace-merbivore .ace_constant.ace_language { + color: #FDC251 +} + +.ace-merbivore .ace_constant.ace_library, +.ace-merbivore .ace_string, +.ace-merbivore .ace_support.ace_constant { + color: #8DFF0A +} + +.ace-merbivore .ace_constant.ace_numeric { + color: #58C554 +} + +.ace-merbivore .ace_invalid { + color: #FFFFFF; + background-color: #990000 +} + +.ace-merbivore .ace_fold { + background-color: #FC6F09; + border-color: #E6E1DC +} + +.ace-merbivore .ace_comment { + font-style: italic; + color: #AD2EA4 +} + +.ace-merbivore .ace_entity.ace_other.ace_attribute-name { + color: #FFFF89 +} + +.ace-merbivore .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y +} + +.ace-merbivore .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/merbivore",["require","exports","module","ace/theme/merbivore-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-merbivore",n.cssText=e("./merbivore-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/merbivore"],function(e){a&&(a.exports=e)})}()},59760:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/merbivore_soft-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-merbivore-soft .ace_gutter { + background: #262424; + color: #E6E1DC +} + +.ace-merbivore-soft .ace_print-margin { + width: 1px; + background: #262424 +} + +.ace-merbivore-soft { + background-color: #1C1C1C; + color: #E6E1DC +} + +.ace-merbivore-soft .ace_cursor { + color: #FFFFFF +} + +.ace-merbivore-soft .ace_marker-layer .ace_selection { + background: #494949 +} + +.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1C1C1C; +} + +.ace-merbivore-soft .ace_marker-layer .ace_step { + background: rgb(102, 82, 0) +} + +.ace-merbivore-soft .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #404040 +} + +.ace-merbivore-soft .ace_marker-layer .ace_active-line { + background: #333435 +} + +.ace-merbivore-soft .ace_gutter-active-line { + background-color: #333435 +} + +.ace-merbivore-soft .ace_marker-layer .ace_selected-word { + border: 1px solid #494949 +} + +.ace-merbivore-soft .ace_invisible { + color: #404040 +} + +.ace-merbivore-soft .ace_entity.ace_name.ace_tag, +.ace-merbivore-soft .ace_keyword, +.ace-merbivore-soft .ace_meta, +.ace-merbivore-soft .ace_meta.ace_tag, +.ace-merbivore-soft .ace_storage { + color: #FC803A +} + +.ace-merbivore-soft .ace_constant, +.ace-merbivore-soft .ace_constant.ace_character, +.ace-merbivore-soft .ace_constant.ace_character.ace_escape, +.ace-merbivore-soft .ace_constant.ace_other, +.ace-merbivore-soft .ace_support.ace_type { + color: #68C1D8 +} + +.ace-merbivore-soft .ace_constant.ace_character.ace_escape { + color: #B3E5B4 +} + +.ace-merbivore-soft .ace_constant.ace_language { + color: #E1C582 +} + +.ace-merbivore-soft .ace_constant.ace_library, +.ace-merbivore-soft .ace_string, +.ace-merbivore-soft .ace_support.ace_constant { + color: #8EC65F +} + +.ace-merbivore-soft .ace_constant.ace_numeric { + color: #7FC578 +} + +.ace-merbivore-soft .ace_invalid, +.ace-merbivore-soft .ace_invalid.ace_deprecated { + color: #FFFFFF; + background-color: #FE3838 +} + +.ace-merbivore-soft .ace_fold { + background-color: #FC803A; + border-color: #E6E1DC +} + +.ace-merbivore-soft .ace_comment, +.ace-merbivore-soft .ace_meta { + font-style: italic; + color: #AC4BB8 +} + +.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name { + color: #EAF1A3 +} + +.ace-merbivore-soft .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y +} + +.ace-merbivore-soft .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/merbivore_soft",["require","exports","module","ace/theme/merbivore_soft-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-merbivore-soft",n.cssText=e("./merbivore_soft-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/merbivore_soft"],function(e){a&&(a.exports=e)})}()},42270:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/monokai-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-monokai .ace_gutter { + background: #2F3129; + color: #8F908A +} + +.ace-monokai .ace_print-margin { + width: 1px; + background: #555651 +} + +.ace-monokai { + background-color: #272822; + color: #F8F8F2 +} + +.ace-monokai .ace_cursor { + color: #F8F8F0 +} + +.ace-monokai .ace_marker-layer .ace_selection { + background: #49483E +} + +.ace-monokai.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #272822; +} + +.ace-monokai .ace_marker-layer .ace_step { + background: rgb(102, 82, 0) +} + +.ace-monokai .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #49483E +} + +.ace-monokai .ace_marker-layer .ace_active-line { + background: #202020 +} + +.ace-monokai .ace_gutter-active-line { + background-color: #272727 +} + +.ace-monokai .ace_marker-layer .ace_selected-word { + border: 1px solid #49483E +} + +.ace-monokai .ace_invisible { + color: #52524d +} + +.ace-monokai .ace_entity.ace_name.ace_tag, +.ace-monokai .ace_keyword, +.ace-monokai .ace_meta.ace_tag, +.ace-monokai .ace_storage { + color: #F92672 +} + +.ace-monokai .ace_punctuation, +.ace-monokai .ace_punctuation.ace_tag { + color: #fff +} + +.ace-monokai .ace_constant.ace_character, +.ace-monokai .ace_constant.ace_language, +.ace-monokai .ace_constant.ace_numeric, +.ace-monokai .ace_constant.ace_other { + color: #AE81FF +} + +.ace-monokai .ace_invalid { + color: #F8F8F0; + background-color: #F92672 +} + +.ace-monokai .ace_invalid.ace_deprecated { + color: #F8F8F0; + background-color: #AE81FF +} + +.ace-monokai .ace_support.ace_constant, +.ace-monokai .ace_support.ace_function { + color: #66D9EF +} + +.ace-monokai .ace_fold { + background-color: #A6E22E; + border-color: #F8F8F2 +} + +.ace-monokai .ace_storage.ace_type, +.ace-monokai .ace_support.ace_class, +.ace-monokai .ace_support.ace_type { + font-style: italic; + color: #66D9EF +} + +.ace-monokai .ace_entity.ace_name.ace_function, +.ace-monokai .ace_entity.ace_other, +.ace-monokai .ace_entity.ace_other.ace_attribute-name, +.ace-monokai .ace_variable { + color: #A6E22E +} + +.ace-monokai .ace_variable.ace_parameter { + font-style: italic; + color: #FD971F +} + +.ace-monokai .ace_string { + color: #E6DB74 +} + +.ace-monokai .ace_comment { + color: #75715E +} + +.ace-monokai .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y +} + +.ace-monokai .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/monokai",["require","exports","module","ace/theme/monokai-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-monokai",n.cssText=e("./monokai-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/monokai"],function(e){a&&(a.exports=e)})}()},32437:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/pastel_on_dark-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-pastel-on-dark .ace_gutter { + background: #353030; + color: #8F938F +} + +.ace-pastel-on-dark .ace_print-margin { + width: 1px; + background: #353030 +} + +.ace-pastel-on-dark { + background-color: #2C2828; + color: #8F938F +} + +.ace-pastel-on-dark .ace_cursor { + color: #A7A7A7 +} + +.ace-pastel-on-dark .ace_marker-layer .ace_selection { + background: rgba(221, 240, 255, 0.20) +} + +.ace-pastel-on-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #2C2828; +} + +.ace-pastel-on-dark .ace_marker-layer .ace_step { + background: rgb(102, 82, 0) +} + +.ace-pastel-on-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgba(255, 255, 255, 0.25) +} + +.ace-pastel-on-dark .ace_marker-layer .ace_active-line { + background: rgba(255, 255, 255, 0.031) +} + +.ace-pastel-on-dark .ace_gutter-active-line { + background-color: rgba(255, 255, 255, 0.031) +} + +.ace-pastel-on-dark .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(221, 240, 255, 0.20) +} + +.ace-pastel-on-dark .ace_invisible { + color: rgba(255, 255, 255, 0.25) +} + +.ace-pastel-on-dark .ace_keyword, +.ace-pastel-on-dark .ace_meta { + color: #757aD8 +} + +.ace-pastel-on-dark .ace_constant, +.ace-pastel-on-dark .ace_constant.ace_character, +.ace-pastel-on-dark .ace_constant.ace_character.ace_escape, +.ace-pastel-on-dark .ace_constant.ace_other { + color: #4FB7C5 +} + +.ace-pastel-on-dark .ace_keyword.ace_operator { + color: #797878 +} + +.ace-pastel-on-dark .ace_constant.ace_character { + color: #AFA472 +} + +.ace-pastel-on-dark .ace_constant.ace_language { + color: #DE8E30 +} + +.ace-pastel-on-dark .ace_constant.ace_numeric { + color: #CCCCCC +} + +.ace-pastel-on-dark .ace_invalid, +.ace-pastel-on-dark .ace_invalid.ace_illegal { + color: #F8F8F8; + background-color: rgba(86, 45, 86, 0.75) +} + +.ace-pastel-on-dark .ace_invalid.ace_deprecated { + text-decoration: underline; + font-style: italic; + color: #D2A8A1 +} + +.ace-pastel-on-dark .ace_fold { + background-color: #757aD8; + border-color: #8F938F +} + +.ace-pastel-on-dark .ace_support.ace_function { + color: #AEB2F8 +} + +.ace-pastel-on-dark .ace_string { + color: #66A968 +} + +.ace-pastel-on-dark .ace_string.ace_regexp { + color: #E9C062 +} + +.ace-pastel-on-dark .ace_comment { + color: #A6C6FF +} + +.ace-pastel-on-dark .ace_variable { + color: #BEBF55 +} + +.ace-pastel-on-dark .ace_variable.ace_language { + color: #C1C144 +} + +.ace-pastel-on-dark .ace_xml-pe { + color: #494949 +} + +.ace-pastel-on-dark .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y +} + +.ace-pastel-on-dark .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/pastel_on_dark",["require","exports","module","ace/theme/pastel_on_dark-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-pastel-on-dark",n.cssText=e("./pastel_on_dark-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/pastel_on_dark"],function(e){a&&(a.exports=e)})}()},90787:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/terminal-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-terminal-theme .ace_gutter { + background: #1a0005; + color: steelblue +} + +.ace-terminal-theme .ace_print-margin { + width: 1px; + background: #1a1a1a +} + +.ace-terminal-theme { + background-color: black; + color: #DEDEDE +} + +.ace-terminal-theme .ace_cursor { + color: #9F9F9F +} + +.ace-terminal-theme .ace_marker-layer .ace_selection { + background: #424242 +} + +.ace-terminal-theme.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px black; +} + +.ace-terminal-theme .ace_marker-layer .ace_step { + background: rgb(0, 0, 0) +} + +.ace-terminal-theme .ace_marker-layer .ace_bracket { + background: #090; +} + +.ace-terminal-theme .ace_marker-layer .ace_bracket-start { + background: #090; +} + +.ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched { + margin: -1px 0 0 -1px; + border: 1px solid #900 +} + +.ace-terminal-theme .ace_marker-layer .ace_active-line { + background: #2A2A2A +} + +.ace-terminal-theme .ace_gutter-active-line { + background-color: #2A112A +} + +.ace-terminal-theme .ace_marker-layer .ace_selected-word { + border: 1px solid #424242 +} + +.ace-terminal-theme .ace_invisible { + color: #343434 +} + +.ace-terminal-theme .ace_keyword, +.ace-terminal-theme .ace_meta, +.ace-terminal-theme .ace_storage, +.ace-terminal-theme .ace_storage.ace_type, +.ace-terminal-theme .ace_support.ace_type { + color: tomato +} + +.ace-terminal-theme .ace_keyword.ace_operator { + color: deeppink +} + +.ace-terminal-theme .ace_constant.ace_character, +.ace-terminal-theme .ace_constant.ace_language, +.ace-terminal-theme .ace_constant.ace_numeric, +.ace-terminal-theme .ace_keyword.ace_other.ace_unit, +.ace-terminal-theme .ace_support.ace_constant, +.ace-terminal-theme .ace_variable.ace_parameter { + color: #E78C45 +} + +.ace-terminal-theme .ace_constant.ace_other { + color: gold +} + +.ace-terminal-theme .ace_invalid { + color: yellow; + background-color: red +} + +.ace-terminal-theme .ace_invalid.ace_deprecated { + color: #CED2CF; + background-color: #B798BF +} + +.ace-terminal-theme .ace_fold { + background-color: #7AA6DA; + border-color: #DEDEDE +} + +.ace-terminal-theme .ace_entity.ace_name.ace_function, +.ace-terminal-theme .ace_support.ace_function, +.ace-terminal-theme .ace_variable { + color: #7AA6DA +} + +.ace-terminal-theme .ace_support.ace_class, +.ace-terminal-theme .ace_support.ace_type { + color: #E7C547 +} + +.ace-terminal-theme .ace_heading, +.ace-terminal-theme .ace_string { + color: #B9CA4A +} + +.ace-terminal-theme .ace_entity.ace_name.ace_tag, +.ace-terminal-theme .ace_entity.ace_other.ace_attribute-name, +.ace-terminal-theme .ace_meta.ace_tag, +.ace-terminal-theme .ace_string.ace_regexp, +.ace-terminal-theme .ace_variable { + color: #D54E53 +} + +.ace-terminal-theme .ace_comment { + color: orangered +} + +.ace-terminal-theme .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y; +} + +.ace-terminal-theme .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/terminal",["require","exports","module","ace/theme/terminal-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-terminal-theme",n.cssText=e("./terminal-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/terminal"],function(e){a&&(a.exports=e)})}()},61970:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/twilight-css",["require","exports","module"],function(e,n,t){t.exports=`.ace-twilight .ace_gutter { + background: #232323; + color: #E2E2E2 +} + +.ace-twilight .ace_print-margin { + width: 1px; + background: #232323 +} + +.ace-twilight { + background-color: #141414; + color: #F8F8F8 +} + +.ace-twilight .ace_cursor { + color: #A7A7A7 +} + +.ace-twilight .ace_marker-layer .ace_selection { + background: rgba(221, 240, 255, 0.20) +} + +.ace-twilight.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #141414; +} + +.ace-twilight .ace_marker-layer .ace_step { + background: rgb(102, 82, 0) +} + +.ace-twilight .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgba(255, 255, 255, 0.25) +} + +.ace-twilight .ace_marker-layer .ace_active-line { + background: rgba(255, 255, 255, 0.031) +} + +.ace-twilight .ace_gutter-active-line { + background-color: rgba(255, 255, 255, 0.031) +} + +.ace-twilight .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(221, 240, 255, 0.20) +} + +.ace-twilight .ace_invisible { + color: rgba(255, 255, 255, 0.25) +} + +.ace-twilight .ace_keyword, +.ace-twilight .ace_meta { + color: #CDA869 +} + +.ace-twilight .ace_constant, +.ace-twilight .ace_constant.ace_character, +.ace-twilight .ace_constant.ace_character.ace_escape, +.ace-twilight .ace_constant.ace_other, +.ace-twilight .ace_heading, +.ace-twilight .ace_markup.ace_heading, +.ace-twilight .ace_support.ace_constant { + color: #CF6A4C +} + +.ace-twilight .ace_invalid.ace_illegal { + color: #F8F8F8; + background-color: rgba(86, 45, 86, 0.75) +} + +.ace-twilight .ace_invalid.ace_deprecated { + text-decoration: underline; + font-style: italic; + color: #D2A8A1 +} + +.ace-twilight .ace_support { + color: #9B859D +} + +.ace-twilight .ace_fold { + background-color: #AC885B; + border-color: #F8F8F8 +} + +.ace-twilight .ace_support.ace_function { + color: #DAD085 +} + +.ace-twilight .ace_list, +.ace-twilight .ace_markup.ace_list, +.ace-twilight .ace_storage { + color: #F9EE98 +} + +.ace-twilight .ace_entity.ace_name.ace_function, +.ace-twilight .ace_meta.ace_tag { + color: #AC885B +} + +.ace-twilight .ace_string { + color: #8F9D6A +} + +.ace-twilight .ace_string.ace_regexp { + color: #E9C062 +} + +.ace-twilight .ace_comment { + font-style: italic; + color: #5F5A60 +} + +.ace-twilight .ace_variable { + color: #7587A6 +} + +.ace-twilight .ace_xml-pe { + color: #494949 +} + +.ace-twilight .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y +} + +.ace-twilight .ace_indent-guide-active { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; +} +`}),ace.define("ace/theme/twilight",["require","exports","module","ace/theme/twilight-css","ace/lib/dom"],function(e,n,t){n.isDark=!0,n.cssClass="ace-twilight",n.cssText=e("./twilight-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/twilight"],function(e){a&&(a.exports=e)})}()},76588:function(a,d,o){a=o.nmd(a),ace.define("ace/theme/xcode-css",["require","exports","module"],function(e,n,t){t.exports=`/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: EE3AD170-2B7F-4DE1-B724-C75F13FE0085) */ + +.ace-xcode .ace_gutter { + background: #e8e8e8; + color: #333 +} + +.ace-xcode .ace_print-margin { + width: 1px; + background: #e8e8e8 +} + +.ace-xcode { + background-color: #FFFFFF; + color: #000000 +} + +.ace-xcode .ace_cursor { + color: #000000 +} + +.ace-xcode .ace_marker-layer .ace_selection { + background: #B5D5FF +} + +.ace-xcode.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #FFFFFF; +} + +.ace-xcode .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-xcode .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #BFBFBF +} + +.ace-xcode .ace_marker-layer .ace_active-line { + background: rgba(0, 0, 0, 0.071) +} + +.ace-xcode .ace_gutter-active-line { + background-color: rgba(0, 0, 0, 0.071) +} + +.ace-xcode .ace_marker-layer .ace_selected-word { + border: 1px solid #B5D5FF +} + +.ace-xcode .ace_constant.ace_language, +.ace-xcode .ace_keyword, +.ace-xcode .ace_meta, +.ace-xcode .ace_variable.ace_language { + color: #C800A4 +} + +.ace-xcode .ace_invisible { + color: #BFBFBF +} + +.ace-xcode .ace_constant.ace_character, +.ace-xcode .ace_constant.ace_other { + color: #275A5E +} + +.ace-xcode .ace_constant.ace_numeric { + color: #3A00DC +} + +.ace-xcode .ace_entity.ace_other.ace_attribute-name, +.ace-xcode .ace_support.ace_constant, +.ace-xcode .ace_support.ace_function { + color: #450084 +} + +.ace-xcode .ace_fold { + background-color: #C800A4; + border-color: #000000 +} + +.ace-xcode .ace_entity.ace_name.ace_tag, +.ace-xcode .ace_support.ace_class, +.ace-xcode .ace_support.ace_type { + color: #790EAD +} + +.ace-xcode .ace_storage { + color: #C900A4 +} + +.ace-xcode .ace_string { + color: #DF0002 +} + +.ace-xcode .ace_comment { + color: #008E00 +} + +.ace-xcode .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y +} + +.ace-xcode .ace_indent-guide-active { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y; +} +`}),ace.define("ace/theme/xcode",["require","exports","module","ace/theme/xcode-css","ace/lib/dom"],function(e,n,t){n.isDark=!1,n.cssClass="ace-xcode",n.cssText=e("./xcode-css");var c=e("../lib/dom");c.importCssString(n.cssText,n.cssClass,!1)}),function(){ace.require(["ace/theme/xcode"],function(e){a&&(a.exports=e)})}()},74300:function(a,d,o){"use strict";function e(r){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},e(r)}Object.defineProperty(d,"__esModule",{value:!0}),d.CopyToClipboard=void 0;var n=u(o(67294)),t=u(o(20640)),c=["text","onCopy","options","children"];function u(r){return r&&r.__esModule?r:{default:r}}function s(r,i){var g=Object.keys(r);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(r);i&&(_=_.filter(function(m){return Object.getOwnPropertyDescriptor(r,m).enumerable})),g.push.apply(g,_)}return g}function l(r){for(var i=1;i=0)&&(!Object.prototype.propertyIsEnumerable.call(r,_)||(g[_]=r[_]))}return g}function y(r,i){if(r==null)return{};var g={},_=Object.keys(r),m,E;for(E=0;E<_.length;E++)m=_[E],!(i.indexOf(m)>=0)&&(g[m]=r[m]);return g}function b(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function h(r,i){for(var g=0;g|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]},this.embedRules(l,"doc-",[l.getEndRule("start")]),this.normalizeRules()};i.inherits(x,s),a.MysqlHighlightRules=x}),ace.define("ace/mode/mysql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/mysql_highlight_rules"],function(e,a,t){var i=e("../lib/oop"),p=e("../mode/text").Mode,l=e("./mysql_highlight_rules").MysqlHighlightRules,s=function(){this.HighlightRules=l,this.$behaviour=this.$defaultBehaviour};i.inherits(s,p),function(){this.lineCommentStart=["--","#"],this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/mysql"}.call(s.prototype),a.Mode=s}),function(){ace.require(["ace/mode/mysql"],function(e){r&&(r.exports=e)})}()},77136:function(r,m,n){r=n.nmd(r),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,a,t){"use strict";var i=e("../lib/oop"),p=e("./text_highlight_rules").TextHighlightRules,l=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},l.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};i.inherits(l,p),l.getTagRule=function(s){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},l.getStartRule=function(s){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:s}},l.getEndRule=function(s){return{token:"comment.doc",regex:"\\*\\/",next:s}},a.DocCommentHighlightRules=l}),ace.define("ace/mode/perl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,a,t){"use strict";var i=e("../lib/oop"),p=e("./text_highlight_rules").TextHighlightRules,l=function(){var s="base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|no|package|parent|redo|require|scalar|sub|unless|until|while|use|vars",x="ARGV|ENV|INC|SIG",u="getprotobynumber|getprotobyname|getservbyname|gethostbyaddr|gethostbyname|getservbyport|getnetbyaddr|getnetbyname|getsockname|getpeername|setpriority|getprotoent|setprotoent|getpriority|endprotoent|getservent|setservent|endservent|sethostent|socketpair|getsockopt|gethostent|endhostent|setsockopt|setnetent|quotemeta|localtime|prototype|getnetent|endnetent|rewinddir|wantarray|getpwuid|closedir|getlogin|readlink|endgrent|getgrgid|getgrnam|shmwrite|shutdown|readline|endpwent|setgrent|readpipe|formline|truncate|dbmclose|syswrite|setpwent|getpwnam|getgrent|getpwent|ucfirst|sysread|setpgrp|shmread|sysseek|sysopen|telldir|defined|opendir|connect|lcfirst|getppid|binmode|syscall|sprintf|getpgrp|readdir|seekdir|waitpid|reverse|unshift|symlink|dbmopen|semget|msgrcv|rename|listen|chroot|msgsnd|shmctl|accept|unpack|exists|fileno|shmget|system|unlink|printf|gmtime|msgctl|semctl|values|rindex|substr|splice|length|msgget|select|socket|return|caller|delete|alarm|ioctl|index|undef|lstat|times|srand|chown|fcntl|close|write|umask|rmdir|study|sleep|chomp|untie|print|utime|mkdir|atan2|split|crypt|flock|chmod|BEGIN|bless|chdir|semop|shift|reset|link|stat|chop|grep|fork|dump|join|open|tell|pipe|exit|glob|warn|each|bind|sort|pack|eval|push|keys|getc|kill|seek|sqrt|send|wait|rand|tied|read|time|exec|recv|eof|chr|int|ord|exp|pos|pop|sin|log|abs|oct|hex|tie|cos|vec|END|ref|map|die|uc|lc|do",h=this.createKeywordMapper({keyword:s,"constant.language":x,"support.function":u},"identifier");this.$rules={start:[{token:"comment.doc",regex:"^=(?:begin|item)\\b",next:"block_comment"},{token:"string.regexp",regex:"[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'["].*\\\\$',next:"qqstring"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"string",regex:"['].*\\\\$",next:"qstring"},{token:"constant.numeric",regex:"0x[0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:h,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"%#|\\$#|\\.\\.\\.|\\|\\|=|>>=|<<=|<=>|&&=|=>|!~|\\^=|&=|\\|=|\\.=|x=|%=|\\/=|\\*=|\\-=|\\+=|=~|\\*\\*|\\-\\-|\\.\\.|\\|\\||&&|\\+\\+|\\->|!=|==|>=|<=|>>|<<|,|=|\\?\\:|\\^|\\||x|%|\\/|\\*|<|&|\\\\|~|!|>|\\.|\\-|\\+|\\-C|\\-b|\\-S|\\-u|\\-t|\\-p|\\-l|\\-d|\\-f|\\-g|\\-s|\\-z|\\-k|\\-e|\\-O|\\-T|\\-B|\\-M|\\-A|\\-X|\\-W|\\-c|\\-R|\\-o|\\-x|\\-w|\\-r|\\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)"},{token:"comment",regex:"#.*$"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qqstring:[{token:"string",regex:'(?:(?:\\\\.)|(?:[^"\\\\]))*?"',next:"start"},{token:"string",regex:".+"}],qstring:[{token:"string",regex:"(?:(?:\\\\.)|(?:[^'\\\\]))*?'",next:"start"},{token:"string",regex:".+"}],block_comment:[{token:"comment.doc",regex:"^=cut\\b",next:"start"},{defaultToken:"comment.doc"}]}};i.inherits(l,p),a.PerlHighlightRules=l}),ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,a,t){"use strict";var i=e("../lib/oop"),p=e("./text_highlight_rules").TextHighlightRules,l=function(){var s="and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield|async|await|nonlocal",x="True|False|None|NotImplemented|Ellipsis|__debug__",u="abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|apply|delattr|help|next|setattr|set|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|ascii|breakpoint|bytes",h=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":u,"variable.language":"self|cls","constant.language":x,keyword:s},"identifier"),k="[uU]?",w="[rR]",y="[fF]",b="(?:[rR][fF]|[fF][rR])",v="(?:(?:[1-9]\\d*)|(?:0))",d="(?:0[oO]?[0-7]+)",C="(?:0[xX][\\dA-Fa-f]+)",R="(?:0[bB][01]+)",o="(?:"+v+"|"+d+"|"+C+"|"+R+")",c="(?:[eE][+-]?\\d+)",g="(?:\\.\\d+)",_="(?:\\d+)",f="(?:(?:"+_+"?"+g+")|(?:"+_+"\\.))",A="(?:(?:"+f+"|"+_+")"+c+")",q="(?:"+A+"|"+f+")",E=`\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`;this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:k+'"{3}',next:"qqstring3"},{token:"string",regex:k+'"(?=.)',next:"qqstring"},{token:"string",regex:k+"'{3}",next:"qstring3"},{token:"string",regex:k+"'(?=.)",next:"qstring"},{token:"string",regex:w+'"{3}',next:"rawqqstring3"},{token:"string",regex:w+'"(?=.)',next:"rawqqstring"},{token:"string",regex:w+"'{3}",next:"rawqstring3"},{token:"string",regex:w+"'(?=.)",next:"rawqstring"},{token:"string",regex:y+'"{3}',next:"fqqstring3"},{token:"string",regex:y+'"(?=.)',next:"fqqstring"},{token:"string",regex:y+"'{3}",next:"fqstring3"},{token:"string",regex:y+"'(?=.)",next:"fqstring"},{token:"string",regex:b+'"{3}',next:"rfqqstring3"},{token:"string",regex:b+'"(?=.)',next:"rfqqstring"},{token:"string",regex:b+"'{3}",next:"rfqstring3"},{token:"string",regex:b+"'(?=.)",next:"rfqstring"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"punctuation",regex:",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:"text",regex:"\\s+"},{include:"constants"}],qqstring3:[{token:"constant.language.escape",regex:E},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:E},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:E},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:E},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],rawqqstring3:[{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],rawqstring3:[{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],rawqqstring:[{token:"string",regex:"\\\\$",next:"rawqqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],rawqstring:[{token:"string",regex:"\\\\$",next:"rawqstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],fqqstring3:[{token:"constant.language.escape",regex:E},{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring3:[{token:"constant.language.escape",regex:E},{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqqstring:[{token:"constant.language.escape",regex:E},{token:"string",regex:"\\\\$",next:"fqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring:[{token:"constant.language.escape",regex:E},{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring3:[{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring3:[{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring:[{token:"string",regex:"\\\\$",next:"rfqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring:[{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstringParRules:[{token:"paren.lparen",regex:"[\\[\\(]"},{token:"paren.rparen",regex:"[\\]\\)]"},{token:"string",regex:"\\s+"},{token:"string",regex:"'[^']*'"},{token:"string",regex:'"[^"]*"'},{token:"function.support",regex:"(!s|!r|!a)"},{include:"constants"},{token:"paren.rparen",regex:"}",next:"pop"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"}],constants:[{token:"constant.numeric",regex:"(?:"+q+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:q},{token:"constant.numeric",regex:o+"[lL]\\b"},{token:"constant.numeric",regex:o+"\\b"},{token:["punctuation","function.support"],regex:"(\\.)([a-zA-Z_]+)\\b"},{token:h,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"}]},this.normalizeRules()};i.inherits(l,p),a.PythonHighlightRules=l}),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,a,t){"use strict";var i=e("../lib/oop"),p=e("./text_highlight_rules").TextHighlightRules,l=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};i.inherits(l,p),a.JsonHighlightRules=l}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,a,t){"use strict";var i=e("../lib/oop"),p=e("./doc_comment_highlight_rules").DocCommentHighlightRules,l=e("./text_highlight_rules").TextHighlightRules,s="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",x=function(k){var w=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),y="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",b="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[p.getStartRule("doc-start"),h("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+s+")(\\.)(prototype)(\\.)("+s+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+s+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:`from(?=\\s*('|"))`},{token:"keyword",regex:"(?:"+y+")\\b",next:"start"},{token:["support.constant"],regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:w,regex:s},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:s},{regex:"",token:"empty",next:"no_regex"}],start:[p.getStartRule("doc-start"),h("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:s},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:b},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:b},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},(!k||!k.noES6)&&(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(v,d,C){if(this.next=v=="{"?this.nextState:"",v=="{"&&C.length)C.unshift("start",d);else if(v=="}"&&C.length&&(C.shift(),this.next=C.shift(),this.next.indexOf("string")!=-1||this.next.indexOf("jsx")!=-1))return"paren.quasi.end";return v=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:b},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]}),(!k||k.jsx!=!1)&&u.call(this)),this.embedRules(p,"doc-",[p.getEndRule("no_regex")]),this.normalizeRules()};i.inherits(x,l);function u(){var k=s.replace("\\d","\\d\\-"),w={onMatch:function(b,v,d){var C=b.charAt(1)=="/"?2:1;return C==1?(v!=this.nextState?d.unshift(this.next,this.nextState,0):d.unshift(this.next),d[2]++):C==2&&v==this.nextState&&(d[1]--,(!d[1]||d[1]<0)&&(d.shift(),d.shift())),[{type:"meta.tag.punctuation."+(C==1?"":"end-")+"tag-open.xml",value:b.slice(0,C)},{type:"meta.tag.tag-name.xml",value:b.substr(C)}]},regex:"",onMatch:function(b,v,d){return v==d[0]&&d.shift(),b.length==2&&(d[0]==this.nextState&&d[1]--,(!d[1]||d[1]<0)&&d.splice(0,2)),this.next=d[0]||"start",[{type:this.token,value:b}]},nextState:"jsx"},y,h("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:k},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},w],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function h(k){return[{token:"comment",regex:/\/\*/,next:[p.getTagRule(),{token:"comment",regex:"\\*\\/",next:k||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[p.getTagRule(),{token:"comment",regex:"$|^",next:k||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}a.JavaScriptHighlightRules=x}),ace.define("ace/mode/pgsql_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules","ace/mode/perl_highlight_rules","ace/mode/python_highlight_rules","ace/mode/json_highlight_rules","ace/mode/javascript_highlight_rules"],function(e,a,t){var i=e("../lib/oop"),p=e("../lib/lang"),l=e("./doc_comment_highlight_rules").DocCommentHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,x=e("./perl_highlight_rules").PerlHighlightRules,u=e("./python_highlight_rules").PythonHighlightRules,h=e("./json_highlight_rules").JsonHighlightRules,k=e("./javascript_highlight_rules").JavaScriptHighlightRules,w=function(){var y="abort|absolute|abstime|access|aclitem|action|add|admin|after|aggregate|all|also|alter|always|analyse|analyze|and|any|anyarray|anyelement|anyenum|anynonarray|anyrange|array|as|asc|assertion|assignment|asymmetric|at|attribute|authorization|backward|before|begin|between|bigint|binary|bit|bool|boolean|both|box|bpchar|by|bytea|cache|called|cascade|cascaded|case|cast|catalog|chain|char|character|characteristics|check|checkpoint|cid|cidr|circle|class|close|cluster|coalesce|collate|collation|column|comment|comments|commit|committed|concurrently|configuration|connection|constraint|constraints|content|continue|conversion|copy|cost|create|cross|cstring|csv|current|current_catalog|current_date|current_role|current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|date|daterange|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|definer|delete|delimiter|delimiters|desc|dictionary|disable|discard|distinct|do|document|domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|event_trigger|except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|family|fdw_handler|fetch|first|float|float4|float8|following|for|force|foreign|forward|freeze|from|full|function|functions|global|grant|granted|greatest|group|gtsvector|handler|having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|in|including|increment|index|indexes|inet|inherit|inherits|initially|inline|inner|inout|input|insensitive|insert|instead|int|int2|int2vector|int4|int4range|int8|int8range|integer|internal|intersect|interval|into|invoker|is|isnull|isolation|join|json|key|label|language|language_handler|large|last|lateral|lc_collate|lc_ctype|leading|leakproof|least|left|level|like|limit|line|listen|load|local|localtime|localtimestamp|location|lock|lseg|macaddr|mapping|match|materialized|maxvalue|minute|minvalue|mode|money|month|move|name|names|national|natural|nchar|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|numeric|numrange|object|of|off|offset|oid|oids|oidvector|on|only|opaque|operator|option|options|or|order|out|outer|over|overlaps|overlay|owned|owner|parser|partial|partition|passing|password|path|pg_attribute|pg_auth_members|pg_authid|pg_class|pg_database|pg_node_tree|pg_proc|pg_type|placing|plans|point|polygon|position|preceding|precision|prepare|prepared|preserve|primary|prior|privileges|procedural|procedure|program|quote|range|read|real|reassign|recheck|record|recursive|ref|refcursor|references|refresh|regclass|regconfig|regdictionary|regoper|regoperator|regproc|regprocedure|regtype|reindex|relative|release|reltime|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|right|role|rollback|row|rows|rule|savepoint|schema|scroll|search|second|security|select|sequence|sequences|serializable|server|session|session_user|set|setof|share|show|similar|simple|smallint|smgr|snapshot|some|stable|standalone|start|statement|statistics|stdin|stdout|storage|strict|strip|substring|symmetric|sysid|system|table|tables|tablespace|temp|template|temporary|text|then|tid|time|timestamp|timestamptz|timetz|tinterval|to|trailing|transaction|treat|trigger|trim|true|truncate|trusted|tsquery|tsrange|tstzrange|tsvector|txid_snapshot|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|unlogged|until|update|user|using|uuid|vacuum|valid|validate|validator|value|values|varbit|varchar|variadic|varying|verbose|version|view|void|volatile|when|where|whitespace|window|with|without|work|wrapper|write|xid|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|xmlforest|xmlparse|xmlpi|xmlroot|xmlserialize|year|yes|zone",b="RI_FKey_cascade_del|RI_FKey_cascade_upd|RI_FKey_check_ins|RI_FKey_check_upd|RI_FKey_noaction_del|RI_FKey_noaction_upd|RI_FKey_restrict_del|RI_FKey_restrict_upd|RI_FKey_setdefault_del|RI_FKey_setdefault_upd|RI_FKey_setnull_del|RI_FKey_setnull_upd|abbrev|abs|abstime|abstimeeq|abstimege|abstimegt|abstimein|abstimele|abstimelt|abstimene|abstimeout|abstimerecv|abstimesend|aclcontains|acldefault|aclexplode|aclinsert|aclitemeq|aclitemin|aclitemout|aclremove|acos|age|any_in|any_out|anyarray_in|anyarray_out|anyarray_recv|anyarray_send|anyelement_in|anyelement_out|anyenum_in|anyenum_out|anynonarray_in|anynonarray_out|anyrange_in|anyrange_out|anytextcat|area|areajoinsel|areasel|array_agg|array_agg_finalfn|array_agg_transfn|array_append|array_cat|array_dims|array_eq|array_fill|array_ge|array_gt|array_in|array_larger|array_le|array_length|array_lower|array_lt|array_ndims|array_ne|array_out|array_prepend|array_recv|array_remove|array_replace|array_send|array_smaller|array_to_json|array_to_string|array_typanalyze|array_upper|arraycontained|arraycontains|arraycontjoinsel|arraycontsel|arrayoverlap|ascii|ascii_to_mic|ascii_to_utf8|asin|atan|atan2|avg|big5_to_euc_tw|big5_to_mic|big5_to_utf8|bit_and|bit_in|bit_length|bit_or|bit_out|bit_recv|bit_send|bitand|bitcat|bitcmp|biteq|bitge|bitgt|bitle|bitlt|bitne|bitnot|bitor|bitshiftleft|bitshiftright|bittypmodin|bittypmodout|bitxor|bool|bool_and|bool_or|booland_statefunc|booleq|boolge|boolgt|boolin|boolle|boollt|boolne|boolor_statefunc|boolout|boolrecv|boolsend|box|box_above|box_above_eq|box_add|box_below|box_below_eq|box_center|box_contain|box_contain_pt|box_contained|box_distance|box_div|box_eq|box_ge|box_gt|box_in|box_intersect|box_le|box_left|box_lt|box_mul|box_out|box_overabove|box_overbelow|box_overlap|box_overleft|box_overright|box_recv|box_right|box_same|box_send|box_sub|bpchar_larger|bpchar_pattern_ge|bpchar_pattern_gt|bpchar_pattern_le|bpchar_pattern_lt|bpchar_smaller|bpcharcmp|bpchareq|bpcharge|bpchargt|bpchariclike|bpcharicnlike|bpcharicregexeq|bpcharicregexne|bpcharin|bpcharle|bpcharlike|bpcharlt|bpcharne|bpcharnlike|bpcharout|bpcharrecv|bpcharregexeq|bpcharregexne|bpcharsend|bpchartypmodin|bpchartypmodout|broadcast|btabstimecmp|btarraycmp|btbeginscan|btboolcmp|btbpchar_pattern_cmp|btbuild|btbuildempty|btbulkdelete|btcanreturn|btcharcmp|btcostestimate|btendscan|btfloat48cmp|btfloat4cmp|btfloat4sortsupport|btfloat84cmp|btfloat8cmp|btfloat8sortsupport|btgetbitmap|btgettuple|btinsert|btint24cmp|btint28cmp|btint2cmp|btint2sortsupport|btint42cmp|btint48cmp|btint4cmp|btint4sortsupport|btint82cmp|btint84cmp|btint8cmp|btint8sortsupport|btmarkpos|btnamecmp|btnamesortsupport|btoidcmp|btoidsortsupport|btoidvectorcmp|btoptions|btrecordcmp|btreltimecmp|btrescan|btrestrpos|btrim|bttext_pattern_cmp|bttextcmp|bttidcmp|bttintervalcmp|btvacuumcleanup|bytea_string_agg_finalfn|bytea_string_agg_transfn|byteacat|byteacmp|byteaeq|byteage|byteagt|byteain|byteale|bytealike|bytealt|byteane|byteanlike|byteaout|bytearecv|byteasend|cash_cmp|cash_div_cash|cash_div_flt4|cash_div_flt8|cash_div_int2|cash_div_int4|cash_eq|cash_ge|cash_gt|cash_in|cash_le|cash_lt|cash_mi|cash_mul_flt4|cash_mul_flt8|cash_mul_int2|cash_mul_int4|cash_ne|cash_out|cash_pl|cash_recv|cash_send|cash_words|cashlarger|cashsmaller|cbrt|ceil|ceiling|center|char|char_length|character_length|chareq|charge|chargt|charin|charle|charlt|charne|charout|charrecv|charsend|chr|cideq|cidin|cidout|cidr|cidr_in|cidr_out|cidr_recv|cidr_send|cidrecv|cidsend|circle|circle_above|circle_add_pt|circle_below|circle_center|circle_contain|circle_contain_pt|circle_contained|circle_distance|circle_div_pt|circle_eq|circle_ge|circle_gt|circle_in|circle_le|circle_left|circle_lt|circle_mul_pt|circle_ne|circle_out|circle_overabove|circle_overbelow|circle_overlap|circle_overleft|circle_overright|circle_recv|circle_right|circle_same|circle_send|circle_sub_pt|clock_timestamp|close_lb|close_ls|close_lseg|close_pb|close_pl|close_ps|close_sb|close_sl|col_description|concat|concat_ws|contjoinsel|contsel|convert|convert_from|convert_to|corr|cos|cot|count|covar_pop|covar_samp|cstring_in|cstring_out|cstring_recv|cstring_send|cume_dist|current_database|current_query|current_schema|current_schemas|current_setting|current_user|currtid|currtid2|currval|cursor_to_xml|cursor_to_xmlschema|database_to_xml|database_to_xml_and_xmlschema|database_to_xmlschema|date|date_cmp|date_cmp_timestamp|date_cmp_timestamptz|date_eq|date_eq_timestamp|date_eq_timestamptz|date_ge|date_ge_timestamp|date_ge_timestamptz|date_gt|date_gt_timestamp|date_gt_timestamptz|date_in|date_larger|date_le|date_le_timestamp|date_le_timestamptz|date_lt|date_lt_timestamp|date_lt_timestamptz|date_mi|date_mi_interval|date_mii|date_ne|date_ne_timestamp|date_ne_timestamptz|date_out|date_part|date_pl_interval|date_pli|date_recv|date_send|date_smaller|date_sortsupport|date_trunc|daterange|daterange_canonical|daterange_subdiff|datetime_pl|datetimetz_pl|dcbrt|decode|degrees|dense_rank|dexp|diagonal|diameter|dispell_init|dispell_lexize|dist_cpoly|dist_lb|dist_pb|dist_pc|dist_pl|dist_ppath|dist_ps|dist_sb|dist_sl|div|dlog1|dlog10|domain_in|domain_recv|dpow|dround|dsimple_init|dsimple_lexize|dsnowball_init|dsnowball_lexize|dsqrt|dsynonym_init|dsynonym_lexize|dtrunc|elem_contained_by_range|encode|enum_cmp|enum_eq|enum_first|enum_ge|enum_gt|enum_in|enum_larger|enum_last|enum_le|enum_lt|enum_ne|enum_out|enum_range|enum_recv|enum_send|enum_smaller|eqjoinsel|eqsel|euc_cn_to_mic|euc_cn_to_utf8|euc_jis_2004_to_shift_jis_2004|euc_jis_2004_to_utf8|euc_jp_to_mic|euc_jp_to_sjis|euc_jp_to_utf8|euc_kr_to_mic|euc_kr_to_utf8|euc_tw_to_big5|euc_tw_to_mic|euc_tw_to_utf8|event_trigger_in|event_trigger_out|every|exp|factorial|family|fdw_handler_in|fdw_handler_out|first_value|float4|float48div|float48eq|float48ge|float48gt|float48le|float48lt|float48mi|float48mul|float48ne|float48pl|float4_accum|float4abs|float4div|float4eq|float4ge|float4gt|float4in|float4larger|float4le|float4lt|float4mi|float4mul|float4ne|float4out|float4pl|float4recv|float4send|float4smaller|float4um|float4up|float8|float84div|float84eq|float84ge|float84gt|float84le|float84lt|float84mi|float84mul|float84ne|float84pl|float8_accum|float8_avg|float8_corr|float8_covar_pop|float8_covar_samp|float8_regr_accum|float8_regr_avgx|float8_regr_avgy|float8_regr_intercept|float8_regr_r2|float8_regr_slope|float8_regr_sxx|float8_regr_sxy|float8_regr_syy|float8_stddev_pop|float8_stddev_samp|float8_var_pop|float8_var_samp|float8abs|float8div|float8eq|float8ge|float8gt|float8in|float8larger|float8le|float8lt|float8mi|float8mul|float8ne|float8out|float8pl|float8recv|float8send|float8smaller|float8um|float8up|floor|flt4_mul_cash|flt8_mul_cash|fmgr_c_validator|fmgr_internal_validator|fmgr_sql_validator|format|format_type|gb18030_to_utf8|gbk_to_utf8|generate_series|generate_subscripts|get_bit|get_byte|get_current_ts_config|getdatabaseencoding|getpgusername|gin_cmp_prefix|gin_cmp_tslexeme|gin_extract_tsquery|gin_extract_tsvector|gin_tsquery_consistent|ginarrayconsistent|ginarrayextract|ginbeginscan|ginbuild|ginbuildempty|ginbulkdelete|gincostestimate|ginendscan|gingetbitmap|gininsert|ginmarkpos|ginoptions|ginqueryarrayextract|ginrescan|ginrestrpos|ginvacuumcleanup|gist_box_compress|gist_box_consistent|gist_box_decompress|gist_box_penalty|gist_box_picksplit|gist_box_same|gist_box_union|gist_circle_compress|gist_circle_consistent|gist_point_compress|gist_point_consistent|gist_point_distance|gist_poly_compress|gist_poly_consistent|gistbeginscan|gistbuild|gistbuildempty|gistbulkdelete|gistcostestimate|gistendscan|gistgetbitmap|gistgettuple|gistinsert|gistmarkpos|gistoptions|gistrescan|gistrestrpos|gistvacuumcleanup|gtsquery_compress|gtsquery_consistent|gtsquery_decompress|gtsquery_penalty|gtsquery_picksplit|gtsquery_same|gtsquery_union|gtsvector_compress|gtsvector_consistent|gtsvector_decompress|gtsvector_penalty|gtsvector_picksplit|gtsvector_same|gtsvector_union|gtsvectorin|gtsvectorout|has_any_column_privilege|has_column_privilege|has_database_privilege|has_foreign_data_wrapper_privilege|has_function_privilege|has_language_privilege|has_schema_privilege|has_sequence_privilege|has_server_privilege|has_table_privilege|has_tablespace_privilege|has_type_privilege|hash_aclitem|hash_array|hash_numeric|hash_range|hashbeginscan|hashbpchar|hashbuild|hashbuildempty|hashbulkdelete|hashchar|hashcostestimate|hashendscan|hashenum|hashfloat4|hashfloat8|hashgetbitmap|hashgettuple|hashinet|hashinsert|hashint2|hashint2vector|hashint4|hashint8|hashmacaddr|hashmarkpos|hashname|hashoid|hashoidvector|hashoptions|hashrescan|hashrestrpos|hashtext|hashvacuumcleanup|hashvarlena|height|host|hostmask|iclikejoinsel|iclikesel|icnlikejoinsel|icnlikesel|icregexeqjoinsel|icregexeqsel|icregexnejoinsel|icregexnesel|inet_client_addr|inet_client_port|inet_in|inet_out|inet_recv|inet_send|inet_server_addr|inet_server_port|inetand|inetmi|inetmi_int8|inetnot|inetor|inetpl|initcap|int2|int24div|int24eq|int24ge|int24gt|int24le|int24lt|int24mi|int24mul|int24ne|int24pl|int28div|int28eq|int28ge|int28gt|int28le|int28lt|int28mi|int28mul|int28ne|int28pl|int2_accum|int2_avg_accum|int2_mul_cash|int2_sum|int2abs|int2and|int2div|int2eq|int2ge|int2gt|int2in|int2larger|int2le|int2lt|int2mi|int2mod|int2mul|int2ne|int2not|int2or|int2out|int2pl|int2recv|int2send|int2shl|int2shr|int2smaller|int2um|int2up|int2vectoreq|int2vectorin|int2vectorout|int2vectorrecv|int2vectorsend|int2xor|int4|int42div|int42eq|int42ge|int42gt|int42le|int42lt|int42mi|int42mul|int42ne|int42pl|int48div|int48eq|int48ge|int48gt|int48le|int48lt|int48mi|int48mul|int48ne|int48pl|int4_accum|int4_avg_accum|int4_mul_cash|int4_sum|int4abs|int4and|int4div|int4eq|int4ge|int4gt|int4in|int4inc|int4larger|int4le|int4lt|int4mi|int4mod|int4mul|int4ne|int4not|int4or|int4out|int4pl|int4range|int4range_canonical|int4range_subdiff|int4recv|int4send|int4shl|int4shr|int4smaller|int4um|int4up|int4xor|int8|int82div|int82eq|int82ge|int82gt|int82le|int82lt|int82mi|int82mul|int82ne|int82pl|int84div|int84eq|int84ge|int84gt|int84le|int84lt|int84mi|int84mul|int84ne|int84pl|int8_accum|int8_avg|int8_avg_accum|int8_sum|int8abs|int8and|int8div|int8eq|int8ge|int8gt|int8in|int8inc|int8inc_any|int8inc_float8_float8|int8larger|int8le|int8lt|int8mi|int8mod|int8mul|int8ne|int8not|int8or|int8out|int8pl|int8pl_inet|int8range|int8range_canonical|int8range_subdiff|int8recv|int8send|int8shl|int8shr|int8smaller|int8um|int8up|int8xor|integer_pl_date|inter_lb|inter_sb|inter_sl|internal_in|internal_out|interval_accum|interval_avg|interval_cmp|interval_div|interval_eq|interval_ge|interval_gt|interval_hash|interval_in|interval_larger|interval_le|interval_lt|interval_mi|interval_mul|interval_ne|interval_out|interval_pl|interval_pl_date|interval_pl_time|interval_pl_timestamp|interval_pl_timestamptz|interval_pl_timetz|interval_recv|interval_send|interval_smaller|interval_transform|interval_um|intervaltypmodin|intervaltypmodout|intinterval|isclosed|isempty|isfinite|ishorizontal|iso8859_1_to_utf8|iso8859_to_utf8|iso_to_koi8r|iso_to_mic|iso_to_win1251|iso_to_win866|isopen|isparallel|isperp|isvertical|johab_to_utf8|json_agg|json_agg_finalfn|json_agg_transfn|json_array_element|json_array_element_text|json_array_elements|json_array_length|json_each|json_each_text|json_extract_path|json_extract_path_op|json_extract_path_text|json_extract_path_text_op|json_in|json_object_field|json_object_field_text|json_object_keys|json_out|json_populate_record|json_populate_recordset|json_recv|json_send|justify_days|justify_hours|justify_interval|koi8r_to_iso|koi8r_to_mic|koi8r_to_utf8|koi8r_to_win1251|koi8r_to_win866|koi8u_to_utf8|lag|language_handler_in|language_handler_out|last_value|lastval|latin1_to_mic|latin2_to_mic|latin2_to_win1250|latin3_to_mic|latin4_to_mic|lead|left|length|like|like_escape|likejoinsel|likesel|line|line_distance|line_eq|line_horizontal|line_in|line_interpt|line_intersect|line_out|line_parallel|line_perp|line_recv|line_send|line_vertical|ln|lo_close|lo_creat|lo_create|lo_export|lo_import|lo_lseek|lo_lseek64|lo_open|lo_tell|lo_tell64|lo_truncate|lo_truncate64|lo_unlink|log|loread|lower|lower_inc|lower_inf|lowrite|lpad|lseg|lseg_center|lseg_distance|lseg_eq|lseg_ge|lseg_gt|lseg_horizontal|lseg_in|lseg_interpt|lseg_intersect|lseg_le|lseg_length|lseg_lt|lseg_ne|lseg_out|lseg_parallel|lseg_perp|lseg_recv|lseg_send|lseg_vertical|ltrim|macaddr_and|macaddr_cmp|macaddr_eq|macaddr_ge|macaddr_gt|macaddr_in|macaddr_le|macaddr_lt|macaddr_ne|macaddr_not|macaddr_or|macaddr_out|macaddr_recv|macaddr_send|makeaclitem|masklen|max|md5|mic_to_ascii|mic_to_big5|mic_to_euc_cn|mic_to_euc_jp|mic_to_euc_kr|mic_to_euc_tw|mic_to_iso|mic_to_koi8r|mic_to_latin1|mic_to_latin2|mic_to_latin3|mic_to_latin4|mic_to_sjis|mic_to_win1250|mic_to_win1251|mic_to_win866|min|mktinterval|mod|money|mul_d_interval|name|nameeq|namege|namegt|nameiclike|nameicnlike|nameicregexeq|nameicregexne|namein|namele|namelike|namelt|namene|namenlike|nameout|namerecv|nameregexeq|nameregexne|namesend|neqjoinsel|neqsel|netmask|network|network_cmp|network_eq|network_ge|network_gt|network_le|network_lt|network_ne|network_sub|network_subeq|network_sup|network_supeq|nextval|nlikejoinsel|nlikesel|notlike|now|npoints|nth_value|ntile|numeric_abs|numeric_accum|numeric_add|numeric_avg|numeric_avg_accum|numeric_cmp|numeric_div|numeric_div_trunc|numeric_eq|numeric_exp|numeric_fac|numeric_ge|numeric_gt|numeric_in|numeric_inc|numeric_larger|numeric_le|numeric_ln|numeric_log|numeric_lt|numeric_mod|numeric_mul|numeric_ne|numeric_out|numeric_power|numeric_recv|numeric_send|numeric_smaller|numeric_sqrt|numeric_stddev_pop|numeric_stddev_samp|numeric_sub|numeric_transform|numeric_uminus|numeric_uplus|numeric_var_pop|numeric_var_samp|numerictypmodin|numerictypmodout|numnode|numrange|numrange_subdiff|obj_description|octet_length|oid|oideq|oidge|oidgt|oidin|oidlarger|oidle|oidlt|oidne|oidout|oidrecv|oidsend|oidsmaller|oidvectoreq|oidvectorge|oidvectorgt|oidvectorin|oidvectorle|oidvectorlt|oidvectorne|oidvectorout|oidvectorrecv|oidvectorsend|oidvectortypes|on_pb|on_pl|on_ppath|on_ps|on_sb|on_sl|opaque_in|opaque_out|overlaps|overlay|path|path_add|path_add_pt|path_center|path_contain_pt|path_distance|path_div_pt|path_in|path_inter|path_length|path_mul_pt|path_n_eq|path_n_ge|path_n_gt|path_n_le|path_n_lt|path_npoints|path_out|path_recv|path_send|path_sub_pt|pclose|percent_rank|pg_advisory_lock|pg_advisory_lock_shared|pg_advisory_unlock|pg_advisory_unlock_all|pg_advisory_unlock_shared|pg_advisory_xact_lock|pg_advisory_xact_lock_shared|pg_available_extension_versions|pg_available_extensions|pg_backend_pid|pg_backup_start_time|pg_cancel_backend|pg_char_to_encoding|pg_client_encoding|pg_collation_for|pg_collation_is_visible|pg_column_is_updatable|pg_column_size|pg_conf_load_time|pg_conversion_is_visible|pg_create_restore_point|pg_current_xlog_insert_location|pg_current_xlog_location|pg_cursor|pg_database_size|pg_describe_object|pg_encoding_max_length|pg_encoding_to_char|pg_event_trigger_dropped_objects|pg_export_snapshot|pg_extension_config_dump|pg_extension_update_paths|pg_function_is_visible|pg_get_constraintdef|pg_get_expr|pg_get_function_arguments|pg_get_function_identity_arguments|pg_get_function_result|pg_get_functiondef|pg_get_indexdef|pg_get_keywords|pg_get_multixact_members|pg_get_ruledef|pg_get_serial_sequence|pg_get_triggerdef|pg_get_userbyid|pg_get_viewdef|pg_has_role|pg_identify_object|pg_indexes_size|pg_is_in_backup|pg_is_in_recovery|pg_is_other_temp_schema|pg_is_xlog_replay_paused|pg_last_xact_replay_timestamp|pg_last_xlog_receive_location|pg_last_xlog_replay_location|pg_listening_channels|pg_lock_status|pg_ls_dir|pg_my_temp_schema|pg_node_tree_in|pg_node_tree_out|pg_node_tree_recv|pg_node_tree_send|pg_notify|pg_opclass_is_visible|pg_operator_is_visible|pg_opfamily_is_visible|pg_options_to_table|pg_postmaster_start_time|pg_prepared_statement|pg_prepared_xact|pg_read_binary_file|pg_read_file|pg_relation_filenode|pg_relation_filepath|pg_relation_is_updatable|pg_relation_size|pg_reload_conf|pg_rotate_logfile|pg_sequence_parameters|pg_show_all_settings|pg_size_pretty|pg_sleep|pg_start_backup|pg_stat_clear_snapshot|pg_stat_file|pg_stat_get_activity|pg_stat_get_analyze_count|pg_stat_get_autoanalyze_count|pg_stat_get_autovacuum_count|pg_stat_get_backend_activity|pg_stat_get_backend_activity_start|pg_stat_get_backend_client_addr|pg_stat_get_backend_client_port|pg_stat_get_backend_dbid|pg_stat_get_backend_idset|pg_stat_get_backend_pid|pg_stat_get_backend_start|pg_stat_get_backend_userid|pg_stat_get_backend_waiting|pg_stat_get_backend_xact_start|pg_stat_get_bgwriter_buf_written_checkpoints|pg_stat_get_bgwriter_buf_written_clean|pg_stat_get_bgwriter_maxwritten_clean|pg_stat_get_bgwriter_requested_checkpoints|pg_stat_get_bgwriter_stat_reset_time|pg_stat_get_bgwriter_timed_checkpoints|pg_stat_get_blocks_fetched|pg_stat_get_blocks_hit|pg_stat_get_buf_alloc|pg_stat_get_buf_fsync_backend|pg_stat_get_buf_written_backend|pg_stat_get_checkpoint_sync_time|pg_stat_get_checkpoint_write_time|pg_stat_get_db_blk_read_time|pg_stat_get_db_blk_write_time|pg_stat_get_db_blocks_fetched|pg_stat_get_db_blocks_hit|pg_stat_get_db_conflict_all|pg_stat_get_db_conflict_bufferpin|pg_stat_get_db_conflict_lock|pg_stat_get_db_conflict_snapshot|pg_stat_get_db_conflict_startup_deadlock|pg_stat_get_db_conflict_tablespace|pg_stat_get_db_deadlocks|pg_stat_get_db_numbackends|pg_stat_get_db_stat_reset_time|pg_stat_get_db_temp_bytes|pg_stat_get_db_temp_files|pg_stat_get_db_tuples_deleted|pg_stat_get_db_tuples_fetched|pg_stat_get_db_tuples_inserted|pg_stat_get_db_tuples_returned|pg_stat_get_db_tuples_updated|pg_stat_get_db_xact_commit|pg_stat_get_db_xact_rollback|pg_stat_get_dead_tuples|pg_stat_get_function_calls|pg_stat_get_function_self_time|pg_stat_get_function_total_time|pg_stat_get_last_analyze_time|pg_stat_get_last_autoanalyze_time|pg_stat_get_last_autovacuum_time|pg_stat_get_last_vacuum_time|pg_stat_get_live_tuples|pg_stat_get_numscans|pg_stat_get_tuples_deleted|pg_stat_get_tuples_fetched|pg_stat_get_tuples_hot_updated|pg_stat_get_tuples_inserted|pg_stat_get_tuples_returned|pg_stat_get_tuples_updated|pg_stat_get_vacuum_count|pg_stat_get_wal_senders|pg_stat_get_xact_blocks_fetched|pg_stat_get_xact_blocks_hit|pg_stat_get_xact_function_calls|pg_stat_get_xact_function_self_time|pg_stat_get_xact_function_total_time|pg_stat_get_xact_numscans|pg_stat_get_xact_tuples_deleted|pg_stat_get_xact_tuples_fetched|pg_stat_get_xact_tuples_hot_updated|pg_stat_get_xact_tuples_inserted|pg_stat_get_xact_tuples_returned|pg_stat_get_xact_tuples_updated|pg_stat_reset|pg_stat_reset_shared|pg_stat_reset_single_function_counters|pg_stat_reset_single_table_counters|pg_stop_backup|pg_switch_xlog|pg_table_is_visible|pg_table_size|pg_tablespace_databases|pg_tablespace_location|pg_tablespace_size|pg_terminate_backend|pg_timezone_abbrevs|pg_timezone_names|pg_total_relation_size|pg_trigger_depth|pg_try_advisory_lock|pg_try_advisory_lock_shared|pg_try_advisory_xact_lock|pg_try_advisory_xact_lock_shared|pg_ts_config_is_visible|pg_ts_dict_is_visible|pg_ts_parser_is_visible|pg_ts_template_is_visible|pg_type_is_visible|pg_typeof|pg_xlog_location_diff|pg_xlog_replay_pause|pg_xlog_replay_resume|pg_xlogfile_name|pg_xlogfile_name_offset|pi|plainto_tsquery|plpgsql_call_handler|plpgsql_inline_handler|plpgsql_validator|point|point_above|point_add|point_below|point_distance|point_div|point_eq|point_horiz|point_in|point_left|point_mul|point_ne|point_out|point_recv|point_right|point_send|point_sub|point_vert|poly_above|poly_below|poly_center|poly_contain|poly_contain_pt|poly_contained|poly_distance|poly_in|poly_left|poly_npoints|poly_out|poly_overabove|poly_overbelow|poly_overlap|poly_overleft|poly_overright|poly_recv|poly_right|poly_same|poly_send|polygon|popen|position|positionjoinsel|positionsel|postgresql_fdw_validator|pow|power|prsd_end|prsd_headline|prsd_lextype|prsd_nexttoken|prsd_start|pt_contained_circle|pt_contained_poly|query_to_xml|query_to_xml_and_xmlschema|query_to_xmlschema|querytree|quote_ident|quote_literal|quote_nullable|radians|radius|random|range_adjacent|range_after|range_before|range_cmp|range_contained_by|range_contains|range_contains_elem|range_eq|range_ge|range_gist_compress|range_gist_consistent|range_gist_decompress|range_gist_penalty|range_gist_picksplit|range_gist_same|range_gist_union|range_gt|range_in|range_intersect|range_le|range_lt|range_minus|range_ne|range_out|range_overlaps|range_overleft|range_overright|range_recv|range_send|range_typanalyze|range_union|rangesel|rank|record_eq|record_ge|record_gt|record_in|record_le|record_lt|record_ne|record_out|record_recv|record_send|regclass|regclassin|regclassout|regclassrecv|regclasssend|regconfigin|regconfigout|regconfigrecv|regconfigsend|regdictionaryin|regdictionaryout|regdictionaryrecv|regdictionarysend|regexeqjoinsel|regexeqsel|regexnejoinsel|regexnesel|regexp_matches|regexp_replace|regexp_split_to_array|regexp_split_to_table|regoperatorin|regoperatorout|regoperatorrecv|regoperatorsend|regoperin|regoperout|regoperrecv|regopersend|regprocedurein|regprocedureout|regprocedurerecv|regproceduresend|regprocin|regprocout|regprocrecv|regprocsend|regr_avgx|regr_avgy|regr_count|regr_intercept|regr_r2|regr_slope|regr_sxx|regr_sxy|regr_syy|regtypein|regtypeout|regtyperecv|regtypesend|reltime|reltimeeq|reltimege|reltimegt|reltimein|reltimele|reltimelt|reltimene|reltimeout|reltimerecv|reltimesend|repeat|replace|reverse|right|round|row_number|row_to_json|rpad|rtrim|scalargtjoinsel|scalargtsel|scalarltjoinsel|scalarltsel|schema_to_xml|schema_to_xml_and_xmlschema|schema_to_xmlschema|session_user|set_bit|set_byte|set_config|set_masklen|setseed|setval|setweight|shell_in|shell_out|shift_jis_2004_to_euc_jis_2004|shift_jis_2004_to_utf8|shobj_description|sign|similar_escape|sin|sjis_to_euc_jp|sjis_to_mic|sjis_to_utf8|slope|smgreq|smgrin|smgrne|smgrout|spg_kd_choose|spg_kd_config|spg_kd_inner_consistent|spg_kd_picksplit|spg_quad_choose|spg_quad_config|spg_quad_inner_consistent|spg_quad_leaf_consistent|spg_quad_picksplit|spg_range_quad_choose|spg_range_quad_config|spg_range_quad_inner_consistent|spg_range_quad_leaf_consistent|spg_range_quad_picksplit|spg_text_choose|spg_text_config|spg_text_inner_consistent|spg_text_leaf_consistent|spg_text_picksplit|spgbeginscan|spgbuild|spgbuildempty|spgbulkdelete|spgcanreturn|spgcostestimate|spgendscan|spggetbitmap|spggettuple|spginsert|spgmarkpos|spgoptions|spgrescan|spgrestrpos|spgvacuumcleanup|split_part|sqrt|statement_timestamp|stddev|stddev_pop|stddev_samp|string_agg|string_agg_finalfn|string_agg_transfn|string_to_array|strip|strpos|substr|substring|sum|suppress_redundant_updates_trigger|table_to_xml|table_to_xml_and_xmlschema|table_to_xmlschema|tan|text|text_ge|text_gt|text_larger|text_le|text_lt|text_pattern_ge|text_pattern_gt|text_pattern_le|text_pattern_lt|text_smaller|textanycat|textcat|texteq|texticlike|texticnlike|texticregexeq|texticregexne|textin|textlen|textlike|textne|textnlike|textout|textrecv|textregexeq|textregexne|textsend|thesaurus_init|thesaurus_lexize|tideq|tidge|tidgt|tidin|tidlarger|tidle|tidlt|tidne|tidout|tidrecv|tidsend|tidsmaller|time_cmp|time_eq|time_ge|time_gt|time_hash|time_in|time_larger|time_le|time_lt|time_mi_interval|time_mi_time|time_ne|time_out|time_pl_interval|time_recv|time_send|time_smaller|time_transform|timedate_pl|timemi|timenow|timeofday|timepl|timestamp_cmp|timestamp_cmp_date|timestamp_cmp_timestamptz|timestamp_eq|timestamp_eq_date|timestamp_eq_timestamptz|timestamp_ge|timestamp_ge_date|timestamp_ge_timestamptz|timestamp_gt|timestamp_gt_date|timestamp_gt_timestamptz|timestamp_hash|timestamp_in|timestamp_larger|timestamp_le|timestamp_le_date|timestamp_le_timestamptz|timestamp_lt|timestamp_lt_date|timestamp_lt_timestamptz|timestamp_mi|timestamp_mi_interval|timestamp_ne|timestamp_ne_date|timestamp_ne_timestamptz|timestamp_out|timestamp_pl_interval|timestamp_recv|timestamp_send|timestamp_smaller|timestamp_sortsupport|timestamp_transform|timestamptypmodin|timestamptypmodout|timestamptz_cmp|timestamptz_cmp_date|timestamptz_cmp_timestamp|timestamptz_eq|timestamptz_eq_date|timestamptz_eq_timestamp|timestamptz_ge|timestamptz_ge_date|timestamptz_ge_timestamp|timestamptz_gt|timestamptz_gt_date|timestamptz_gt_timestamp|timestamptz_in|timestamptz_larger|timestamptz_le|timestamptz_le_date|timestamptz_le_timestamp|timestamptz_lt|timestamptz_lt_date|timestamptz_lt_timestamp|timestamptz_mi|timestamptz_mi_interval|timestamptz_ne|timestamptz_ne_date|timestamptz_ne_timestamp|timestamptz_out|timestamptz_pl_interval|timestamptz_recv|timestamptz_send|timestamptz_smaller|timestamptztypmodin|timestamptztypmodout|timetypmodin|timetypmodout|timetz_cmp|timetz_eq|timetz_ge|timetz_gt|timetz_hash|timetz_in|timetz_larger|timetz_le|timetz_lt|timetz_mi_interval|timetz_ne|timetz_out|timetz_pl_interval|timetz_recv|timetz_send|timetz_smaller|timetzdate_pl|timetztypmodin|timetztypmodout|timezone|tinterval|tintervalct|tintervalend|tintervaleq|tintervalge|tintervalgt|tintervalin|tintervalle|tintervalleneq|tintervallenge|tintervallengt|tintervallenle|tintervallenlt|tintervallenne|tintervallt|tintervalne|tintervalout|tintervalov|tintervalrecv|tintervalrel|tintervalsame|tintervalsend|tintervalstart|to_ascii|to_char|to_date|to_hex|to_json|to_number|to_timestamp|to_tsquery|to_tsvector|transaction_timestamp|translate|trigger_in|trigger_out|trunc|ts_debug|ts_headline|ts_lexize|ts_match_qv|ts_match_tq|ts_match_tt|ts_match_vq|ts_parse|ts_rank|ts_rank_cd|ts_rewrite|ts_stat|ts_token_type|ts_typanalyze|tsmatchjoinsel|tsmatchsel|tsq_mcontained|tsq_mcontains|tsquery_and|tsquery_cmp|tsquery_eq|tsquery_ge|tsquery_gt|tsquery_le|tsquery_lt|tsquery_ne|tsquery_not|tsquery_or|tsqueryin|tsqueryout|tsqueryrecv|tsquerysend|tsrange|tsrange_subdiff|tstzrange|tstzrange_subdiff|tsvector_cmp|tsvector_concat|tsvector_eq|tsvector_ge|tsvector_gt|tsvector_le|tsvector_lt|tsvector_ne|tsvector_update_trigger|tsvector_update_trigger_column|tsvectorin|tsvectorout|tsvectorrecv|tsvectorsend|txid_current|txid_current_snapshot|txid_snapshot_in|txid_snapshot_out|txid_snapshot_recv|txid_snapshot_send|txid_snapshot_xip|txid_snapshot_xmax|txid_snapshot_xmin|txid_visible_in_snapshot|uhc_to_utf8|unique_key_recheck|unknownin|unknownout|unknownrecv|unknownsend|unnest|upper|upper_inc|upper_inf|utf8_to_ascii|utf8_to_big5|utf8_to_euc_cn|utf8_to_euc_jis_2004|utf8_to_euc_jp|utf8_to_euc_kr|utf8_to_euc_tw|utf8_to_gb18030|utf8_to_gbk|utf8_to_iso8859|utf8_to_iso8859_1|utf8_to_johab|utf8_to_koi8r|utf8_to_koi8u|utf8_to_shift_jis_2004|utf8_to_sjis|utf8_to_uhc|utf8_to_win|uuid_cmp|uuid_eq|uuid_ge|uuid_gt|uuid_hash|uuid_in|uuid_le|uuid_lt|uuid_ne|uuid_out|uuid_recv|uuid_send|var_pop|var_samp|varbit_in|varbit_out|varbit_recv|varbit_send|varbit_transform|varbitcmp|varbiteq|varbitge|varbitgt|varbitle|varbitlt|varbitne|varbittypmodin|varbittypmodout|varchar_transform|varcharin|varcharout|varcharrecv|varcharsend|varchartypmodin|varchartypmodout|variance|version|void_in|void_out|void_recv|void_send|width|width_bucket|win1250_to_latin2|win1250_to_mic|win1251_to_iso|win1251_to_koi8r|win1251_to_mic|win1251_to_win866|win866_to_iso|win866_to_koi8r|win866_to_mic|win866_to_win1251|win_to_utf8|xideq|xideqint4|xidin|xidout|xidrecv|xidsend|xml|xml_in|xml_is_well_formed|xml_is_well_formed_content|xml_is_well_formed_document|xml_out|xml_recv|xml_send|xmlagg|xmlcomment|xmlconcat2|xmlexists|xmlvalidate|xpath|xpath_exists",v=this.createKeywordMapper({"support.function":b,keyword:y},"identifier",!0),d=[{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"variable.language",regex:'".*?"'},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:v,regex:"[a-zA-Z_][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"!|!!|!~|!~\\*|!~~|!~~\\*|#|##|#<|#<=|#<>|#=|#>|#>=|%|\\&|\\&\\&|\\&<|\\&<\\||\\&>|\\*|\\+|\\-|/|<|<#>|<\\->|<<|<<=|<<\\||<=|<>|<\\?>|<@|<\\^|=|>|>=|>>|>>=|>\\^|\\?#|\\?\\-|\\?\\-\\||\\?\\||\\?\\|\\||@|@\\-@|@>|@@|@@@|\\^|\\||\\|\\&>|\\|/|\\|>>|\\|\\||\\|\\|/|~|~\\*|~<=~|~<~|~=|~>=~|~>~|~~|~~\\*"},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}];this.$rules={start:[{token:"comment",regex:"--.*$"},l.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"keyword.statementBegin",regex:"[a-zA-Z]+",next:"statement"},{token:"support.buildin",regex:"^\\\\[\\S]+.*$"}],statement:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\/\\*",next:"commentStatement"},{token:"statementEnd",regex:";",next:"start"},{token:"string",regex:"\\$perl\\$",next:"perl-start"},{token:"string",regex:"\\$python\\$",next:"python-start"},{token:"string",regex:"\\$json\\$",next:"json-start"},{token:"string",regex:"\\$(js|javascript)\\$",next:"javascript-start"},{token:"string",regex:"\\$[\\w_0-9]*\\$$",next:"dollarSql"},{token:"string",regex:"\\$[\\w_0-9]*\\$",next:"dollarStatementString"}].concat(d),dollarSql:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\/\\*",next:"commentDollarSql"},{token:"string",regex:"^\\$[\\w_0-9]*\\$",next:"statement"},{token:"string",regex:"\\$[\\w_0-9]*\\$",next:"dollarSqlString"}].concat(d),comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],commentStatement:[{token:"comment",regex:"\\*\\/",next:"statement"},{defaultToken:"comment"}],commentDollarSql:[{token:"comment",regex:"\\*\\/",next:"dollarSql"},{defaultToken:"comment"}],dollarStatementString:[{token:"string",regex:".*?\\$[\\w_0-9]*\\$",next:"statement"},{token:"string",regex:".+"}],dollarSqlString:[{token:"string",regex:".*?\\$[\\w_0-9]*\\$",next:"dollarSql"},{token:"string",regex:".+"}]},this.embedRules(l,"doc-",[l.getEndRule("start")]),this.embedRules(x,"perl-",[{token:"string",regex:"\\$perl\\$",next:"statement"}]),this.embedRules(u,"python-",[{token:"string",regex:"\\$python\\$",next:"statement"}]),this.embedRules(h,"json-",[{token:"string",regex:"\\$json\\$",next:"statement"}]),this.embedRules(k,"javascript-",[{token:"string",regex:"\\$(js|javascript)\\$",next:"statement"}])};i.inherits(w,s),a.PgsqlHighlightRules=w}),ace.define("ace/mode/pgsql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/pgsql_highlight_rules"],function(e,a,t){var i=e("../lib/oop"),p=e("../mode/text").Mode,l=e("./pgsql_highlight_rules").PgsqlHighlightRules,s=function(){this.HighlightRules=l,this.$behaviour=this.$defaultBehaviour};i.inherits(s,p),function(){this.lineCommentStart="--",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(x,u,h){return x=="start"||x=="keyword.statementEnd"?"":this.$getIndent(u)},this.$id="ace/mode/pgsql"}.call(s.prototype),a.Mode=s}),function(){ace.require(["ace/mode/pgsql"],function(e){r&&(r.exports=e)})}()},51612:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/ambiance",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-ambiance",a.cssText=`.ace-ambiance .ace_gutter {background-color: #3d3d3d;background-image: linear-gradient(left, #3D3D3D, #333);background-repeat: repeat-x;border-right: 1px solid #4d4d4d;text-shadow: 0px 1px 1px #4d4d4d;color: #222;}.ace-ambiance .ace_gutter-layer {background: repeat left top;}.ace-ambiance .ace_gutter-active-line {background-color: #3F3F3F;}.ace-ambiance .ace_fold-widget {text-align: center;}.ace-ambiance .ace_fold-widget:hover {color: #777;}.ace-ambiance .ace_fold-widget.ace_start,.ace-ambiance .ace_fold-widget.ace_end,.ace-ambiance .ace_fold-widget.ace_closed{background: none !important;border: none;box-shadow: none;}.ace-ambiance .ace_fold-widget.ace_start:after {content: '\u25BE'}.ace-ambiance .ace_fold-widget.ace_end:after {content: '\u25B4'}.ace-ambiance .ace_fold-widget.ace_closed:after {content: '\u2023'}.ace-ambiance .ace_print-margin {border-left: 1px dotted #2D2D2D;right: 0;background: #262626;}.ace-ambiance .ace_scroller {-webkit-box-shadow: inset 0 0 10px black;-moz-box-shadow: inset 0 0 10px black;-o-box-shadow: inset 0 0 10px black;box-shadow: inset 0 0 10px black;}.ace-ambiance {color: #E6E1DC;background-color: #202020;}.ace-ambiance .ace_cursor {border-left: 1px solid #7991E8;}.ace-ambiance .ace_overwrite-cursors .ace_cursor {border: 1px solid #FFE300;background: #766B13;}.ace-ambiance.normal-mode .ace_cursor-layer {z-index: 0;}.ace-ambiance .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20);}.ace-ambiance .ace_marker-layer .ace_selected-word {border-radius: 4px;border: 8px solid #3f475d;box-shadow: 0 0 4px black;}.ace-ambiance .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-ambiance .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25);}.ace-ambiance .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031);}.ace-ambiance .ace_invisible {color: #333;}.ace-ambiance .ace_paren {color: #24C2C7;}.ace-ambiance .ace_keyword {color: #cda869;}.ace-ambiance .ace_keyword.ace_operator {color: #fa8d6a;}.ace-ambiance .ace_punctuation.ace_operator {color: #fa8d6a;}.ace-ambiance .ace_identifier {}.ace-ambiance .ace-statement {color: #cda869;}.ace-ambiance .ace_constant {color: #CF7EA9;}.ace-ambiance .ace_constant.ace_language {color: #CF7EA9;}.ace-ambiance .ace_constant.ace_library {}.ace-ambiance .ace_constant.ace_numeric {color: #78CF8A;}.ace-ambiance .ace_invalid {text-decoration: underline;}.ace-ambiance .ace_invalid.ace_illegal {color:#F8F8F8;background-color: rgba(86, 45, 86, 0.75);}.ace-ambiance .ace_invalid,.ace-ambiance .ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1;}.ace-ambiance .ace_support {color: #9B859D;}.ace-ambiance .ace_support.ace_function {color: #DAD085;}.ace-ambiance .ace_function.ace_buildin {color: #9b859d;}.ace-ambiance .ace_string {color: #8f9d6a;}.ace-ambiance .ace_string.ace_regexp {color: #DAD085;}.ace-ambiance .ace_comment {font-style: italic;color: #555;}.ace-ambiance .ace_comment.ace_doc {}.ace-ambiance .ace_comment.ace_doc.ace_tag {color: #666;font-style: normal;}.ace-ambiance .ace_definition,.ace-ambiance .ace_type {color: #aac6e3;}.ace-ambiance .ace_variable {color: #9999cc;}.ace-ambiance .ace_variable.ace_language {color: #9b859d;}.ace-ambiance .ace_xml-pe {color: #494949;}.ace-ambiance .ace_gutter-layer,.ace-ambiance .ace_text-layer {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC");}.ace-ambiance .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC") right repeat-y;}`;var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/ambiance"],function(e){r&&(r.exports=e)})}()},42692:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!1,a.cssClass="ace-chrome",a.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/chrome"],function(e){r&&(r.exports=e)})}()},57787:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/dracula",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-dracula",a.cssText=".ace-dracula .ace_gutter {background: #282a36;color: rgb(144,145,148)}.ace-dracula .ace_print-margin {width: 1px;background: #44475a}.ace-dracula {background-color: #282a36;color: #f8f8f2}.ace-dracula .ace_cursor {color: #f8f8f0}.ace-dracula .ace_marker-layer .ace_selection {background: #44475a}.ace-dracula.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #282a36;border-radius: 2px}.ace-dracula .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-dracula .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #a29709}.ace-dracula .ace_marker-layer .ace_active-line {background: #44475a}.ace-dracula .ace_gutter-active-line {background-color: #44475a}.ace-dracula .ace_marker-layer .ace_selected-word {box-shadow: 0px 0px 0px 1px #a29709;border-radius: 3px;}.ace-dracula .ace_fold {background-color: #50fa7b;border-color: #f8f8f2}.ace-dracula .ace_keyword {color: #ff79c6}.ace-dracula .ace_constant.ace_language {color: #bd93f9}.ace-dracula .ace_constant.ace_numeric {color: #bd93f9}.ace-dracula .ace_constant.ace_character {color: #bd93f9}.ace-dracula .ace_constant.ace_character.ace_escape {color: #ff79c6}.ace-dracula .ace_constant.ace_other {color: #bd93f9}.ace-dracula .ace_support.ace_function {color: #8be9fd}.ace-dracula .ace_support.ace_constant {color: #6be5fd}.ace-dracula .ace_support.ace_class {font-style: italic;color: #66d9ef}.ace-dracula .ace_support.ace_type {font-style: italic;color: #66d9ef}.ace-dracula .ace_storage {color: #ff79c6}.ace-dracula .ace_storage.ace_type {font-style: italic;color: #8be9fd}.ace-dracula .ace_invalid {color: #F8F8F0;background-color: #ff79c6}.ace-dracula .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #bd93f9}.ace-dracula .ace_string {color: #f1fa8c}.ace-dracula .ace_comment {color: #6272a4}.ace-dracula .ace_variable {color: #50fa7b}.ace-dracula .ace_variable.ace_parameter {font-style: italic;color: #ffb86c}.ace-dracula .ace_entity.ace_other.ace_attribute-name {color: #50fa7b}.ace-dracula .ace_entity.ace_name.ace_function {color: #50fa7b}.ace-dracula .ace_entity.ace_name.ace_tag {color: #ff79c6}.ace-dracula .ace_invisible {color: #626680;}.ace-dracula .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}",a.$selectionColorConflict=!0;var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/dracula"],function(e){r&&(r.exports=e)})}()},76381:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"],function(e,a,t){"use strict";a.isDark=!1,a.cssText='.ace-eclipse .ace_gutter {background: #ebebeb;border-right: 1px solid rgb(159, 159, 159);color: rgb(136, 136, 136);}.ace-eclipse .ace_print-margin {width: 1px;background: #ebebeb;}.ace-eclipse {background-color: #FFFFFF;color: black;}.ace-eclipse .ace_fold {background-color: rgb(60, 76, 114);}.ace-eclipse .ace_cursor {color: black;}.ace-eclipse .ace_storage,.ace-eclipse .ace_keyword,.ace-eclipse .ace_variable {color: rgb(127, 0, 85);}.ace-eclipse .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-eclipse .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-eclipse .ace_function {color: rgb(60, 76, 114);}.ace-eclipse .ace_string {color: rgb(42, 0, 255);}.ace-eclipse .ace_comment {color: rgb(113, 150, 130);}.ace-eclipse .ace_comment.ace_doc {color: rgb(63, 95, 191);}.ace-eclipse .ace_comment.ace_doc.ace_tag {color: rgb(127, 159, 191);}.ace-eclipse .ace_constant.ace_numeric {color: darkblue;}.ace-eclipse .ace_tag {color: rgb(25, 118, 116);}.ace-eclipse .ace_type {color: rgb(127, 0, 127);}.ace-eclipse .ace_xml-pe {color: rgb(104, 104, 91);}.ace-eclipse .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-eclipse .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-eclipse .ace_meta.ace_tag {color:rgb(25, 118, 116);}.ace-eclipse .ace_invisible {color: #ddd;}.ace-eclipse .ace_entity.ace_other.ace_attribute-name {color:rgb(127, 0, 127);}.ace-eclipse .ace_marker-layer .ace_step {background: rgb(255, 255, 0);}.ace-eclipse .ace_active-line {background: rgb(232, 242, 254);}.ace-eclipse .ace_gutter-active-line {background-color : #DADADA;}.ace-eclipse .ace_marker-layer .ace_selected-word {border: 1px solid rgb(181, 213, 255);}.ace-eclipse .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',a.cssClass="ace-eclipse";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/eclipse"],function(e){r&&(r.exports=e)})}()},24203:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!1,a.cssClass="ace-github",a.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/github"],function(e){r&&(r.exports=e)})}()},95910:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-merbivore",a.cssText=".ace-merbivore .ace_gutter {background: #202020;color: #E6E1DC}.ace-merbivore .ace_print-margin {width: 1px;background: #555651}.ace-merbivore {background-color: #161616;color: #E6E1DC}.ace-merbivore .ace_cursor {color: #FFFFFF}.ace-merbivore .ace_marker-layer .ace_selection {background: #454545}.ace-merbivore.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #161616;}.ace-merbivore .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore .ace_gutter-active-line {background-color: #333435}.ace-merbivore .ace_marker-layer .ace_selected-word {border: 1px solid #454545}.ace-merbivore .ace_invisible {color: #404040}.ace-merbivore .ace_entity.ace_name.ace_tag,.ace-merbivore .ace_keyword,.ace-merbivore .ace_meta,.ace-merbivore .ace_meta.ace_tag,.ace-merbivore .ace_storage,.ace-merbivore .ace_support.ace_function {color: #FC6F09}.ace-merbivore .ace_constant,.ace-merbivore .ace_constant.ace_character,.ace-merbivore .ace_constant.ace_character.ace_escape,.ace-merbivore .ace_constant.ace_other,.ace-merbivore .ace_support.ace_type {color: #1EDAFB}.ace-merbivore .ace_constant.ace_character.ace_escape {color: #519F50}.ace-merbivore .ace_constant.ace_language {color: #FDC251}.ace-merbivore .ace_constant.ace_library,.ace-merbivore .ace_string,.ace-merbivore .ace_support.ace_constant {color: #8DFF0A}.ace-merbivore .ace_constant.ace_numeric {color: #58C554}.ace-merbivore .ace_invalid {color: #FFFFFF;background-color: #990000}.ace-merbivore .ace_fold {background-color: #FC6F09;border-color: #E6E1DC}.ace-merbivore .ace_comment {font-style: italic;color: #AD2EA4}.ace-merbivore .ace_entity.ace_other.ace_attribute-name {color: #FFFF89}.ace-merbivore .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/merbivore"],function(e){r&&(r.exports=e)})}()},59760:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/merbivore_soft",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-merbivore-soft",a.cssText=".ace-merbivore-soft .ace_gutter {background: #262424;color: #E6E1DC}.ace-merbivore-soft .ace_print-margin {width: 1px;background: #262424}.ace-merbivore-soft {background-color: #1C1C1C;color: #E6E1DC}.ace-merbivore-soft .ace_cursor {color: #FFFFFF}.ace-merbivore-soft .ace_marker-layer .ace_selection {background: #494949}.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #1C1C1C;}.ace-merbivore-soft .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-merbivore-soft .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #404040}.ace-merbivore-soft .ace_marker-layer .ace_active-line {background: #333435}.ace-merbivore-soft .ace_gutter-active-line {background-color: #333435}.ace-merbivore-soft .ace_marker-layer .ace_selected-word {border: 1px solid #494949}.ace-merbivore-soft .ace_invisible {color: #404040}.ace-merbivore-soft .ace_entity.ace_name.ace_tag,.ace-merbivore-soft .ace_keyword,.ace-merbivore-soft .ace_meta,.ace-merbivore-soft .ace_meta.ace_tag,.ace-merbivore-soft .ace_storage {color: #FC803A}.ace-merbivore-soft .ace_constant,.ace-merbivore-soft .ace_constant.ace_character,.ace-merbivore-soft .ace_constant.ace_character.ace_escape,.ace-merbivore-soft .ace_constant.ace_other,.ace-merbivore-soft .ace_support.ace_type {color: #68C1D8}.ace-merbivore-soft .ace_constant.ace_character.ace_escape {color: #B3E5B4}.ace-merbivore-soft .ace_constant.ace_language {color: #E1C582}.ace-merbivore-soft .ace_constant.ace_library,.ace-merbivore-soft .ace_string,.ace-merbivore-soft .ace_support.ace_constant {color: #8EC65F}.ace-merbivore-soft .ace_constant.ace_numeric {color: #7FC578}.ace-merbivore-soft .ace_invalid,.ace-merbivore-soft .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #FE3838}.ace-merbivore-soft .ace_fold {background-color: #FC803A;border-color: #E6E1DC}.ace-merbivore-soft .ace_comment,.ace-merbivore-soft .ace_meta {font-style: italic;color: #AC4BB8}.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {color: #EAF1A3}.ace-merbivore-soft .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/merbivore_soft"],function(e){r&&(r.exports=e)})}()},42270:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-monokai",a.cssText=".ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/monokai"],function(e){r&&(r.exports=e)})}()},32437:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/pastel_on_dark",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-pastel-on-dark",a.cssText=".ace-pastel-on-dark .ace_gutter {background: #353030;color: #8F938F}.ace-pastel-on-dark .ace_print-margin {width: 1px;background: #353030}.ace-pastel-on-dark {background-color: #2C2828;color: #8F938F}.ace-pastel-on-dark .ace_cursor {color: #A7A7A7}.ace-pastel-on-dark .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20)}.ace-pastel-on-dark.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #2C2828;}.ace-pastel-on-dark .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-pastel-on-dark .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25)}.ace-pastel-on-dark .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031)}.ace-pastel-on-dark .ace_gutter-active-line {background-color: rgba(255, 255, 255, 0.031)}.ace-pastel-on-dark .ace_marker-layer .ace_selected-word {border: 1px solid rgba(221, 240, 255, 0.20)}.ace-pastel-on-dark .ace_invisible {color: rgba(255, 255, 255, 0.25)}.ace-pastel-on-dark .ace_keyword,.ace-pastel-on-dark .ace_meta {color: #757aD8}.ace-pastel-on-dark .ace_constant,.ace-pastel-on-dark .ace_constant.ace_character,.ace-pastel-on-dark .ace_constant.ace_character.ace_escape,.ace-pastel-on-dark .ace_constant.ace_other {color: #4FB7C5}.ace-pastel-on-dark .ace_keyword.ace_operator {color: #797878}.ace-pastel-on-dark .ace_constant.ace_character {color: #AFA472}.ace-pastel-on-dark .ace_constant.ace_language {color: #DE8E30}.ace-pastel-on-dark .ace_constant.ace_numeric {color: #CCCCCC}.ace-pastel-on-dark .ace_invalid,.ace-pastel-on-dark .ace_invalid.ace_illegal {color: #F8F8F8;background-color: rgba(86, 45, 86, 0.75)}.ace-pastel-on-dark .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1}.ace-pastel-on-dark .ace_fold {background-color: #757aD8;border-color: #8F938F}.ace-pastel-on-dark .ace_support.ace_function {color: #AEB2F8}.ace-pastel-on-dark .ace_string {color: #66A968}.ace-pastel-on-dark .ace_string.ace_regexp {color: #E9C062}.ace-pastel-on-dark .ace_comment {color: #A6C6FF}.ace-pastel-on-dark .ace_variable {color: #BEBF55}.ace-pastel-on-dark .ace_variable.ace_language {color: #C1C144}.ace-pastel-on-dark .ace_xml-pe {color: #494949}.ace-pastel-on-dark .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/pastel_on_dark"],function(e){r&&(r.exports=e)})}()},90787:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/terminal",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-terminal-theme",a.cssText=".ace-terminal-theme .ace_gutter {background: #1a0005;color: steelblue}.ace-terminal-theme .ace_print-margin {width: 1px;background: #1a1a1a}.ace-terminal-theme {background-color: black;color: #DEDEDE}.ace-terminal-theme .ace_cursor {color: #9F9F9F}.ace-terminal-theme .ace_marker-layer .ace_selection {background: #424242}.ace-terminal-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px black;}.ace-terminal-theme .ace_marker-layer .ace_step {background: rgb(0, 0, 0)}.ace-terminal-theme .ace_marker-layer .ace_bracket {background: #090;}.ace-terminal-theme .ace_marker-layer .ace_bracket-start {background: #090;}.ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched {margin: -1px 0 0 -1px;border: 1px solid #900}.ace-terminal-theme .ace_marker-layer .ace_active-line {background: #2A2A2A}.ace-terminal-theme .ace_gutter-active-line {background-color: #2A112A}.ace-terminal-theme .ace_marker-layer .ace_selected-word {border: 1px solid #424242}.ace-terminal-theme .ace_invisible {color: #343434}.ace-terminal-theme .ace_keyword,.ace-terminal-theme .ace_meta,.ace-terminal-theme .ace_storage,.ace-terminal-theme .ace_storage.ace_type,.ace-terminal-theme .ace_support.ace_type {color: tomato}.ace-terminal-theme .ace_keyword.ace_operator {color: deeppink}.ace-terminal-theme .ace_constant.ace_character,.ace-terminal-theme .ace_constant.ace_language,.ace-terminal-theme .ace_constant.ace_numeric,.ace-terminal-theme .ace_keyword.ace_other.ace_unit,.ace-terminal-theme .ace_support.ace_constant,.ace-terminal-theme .ace_variable.ace_parameter {color: #E78C45}.ace-terminal-theme .ace_constant.ace_other {color: gold}.ace-terminal-theme .ace_invalid {color: yellow;background-color: red}.ace-terminal-theme .ace_invalid.ace_deprecated {color: #CED2CF;background-color: #B798BF}.ace-terminal-theme .ace_fold {background-color: #7AA6DA;border-color: #DEDEDE}.ace-terminal-theme .ace_entity.ace_name.ace_function,.ace-terminal-theme .ace_support.ace_function,.ace-terminal-theme .ace_variable {color: #7AA6DA}.ace-terminal-theme .ace_support.ace_class,.ace-terminal-theme .ace_support.ace_type {color: #E7C547}.ace-terminal-theme .ace_heading,.ace-terminal-theme .ace_string {color: #B9CA4A}.ace-terminal-theme .ace_entity.ace_name.ace_tag,.ace-terminal-theme .ace_entity.ace_other.ace_attribute-name,.ace-terminal-theme .ace_meta.ace_tag,.ace-terminal-theme .ace_string.ace_regexp,.ace-terminal-theme .ace_variable {color: #D54E53}.ace-terminal-theme .ace_comment {color: orangered}.ace-terminal-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y;}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/terminal"],function(e){r&&(r.exports=e)})}()},61970:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/twilight",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!0,a.cssClass="ace-twilight",a.cssText=".ace-twilight .ace_gutter {background: #232323;color: #E2E2E2}.ace-twilight .ace_print-margin {width: 1px;background: #232323}.ace-twilight {background-color: #141414;color: #F8F8F8}.ace-twilight .ace_cursor {color: #A7A7A7}.ace-twilight .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20)}.ace-twilight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #141414;}.ace-twilight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-twilight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25)}.ace-twilight .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031)}.ace-twilight .ace_gutter-active-line {background-color: rgba(255, 255, 255, 0.031)}.ace-twilight .ace_marker-layer .ace_selected-word {border: 1px solid rgba(221, 240, 255, 0.20)}.ace-twilight .ace_invisible {color: rgba(255, 255, 255, 0.25)}.ace-twilight .ace_keyword,.ace-twilight .ace_meta {color: #CDA869}.ace-twilight .ace_constant,.ace-twilight .ace_constant.ace_character,.ace-twilight .ace_constant.ace_character.ace_escape,.ace-twilight .ace_constant.ace_other,.ace-twilight .ace_heading,.ace-twilight .ace_markup.ace_heading,.ace-twilight .ace_support.ace_constant {color: #CF6A4C}.ace-twilight .ace_invalid.ace_illegal {color: #F8F8F8;background-color: rgba(86, 45, 86, 0.75)}.ace-twilight .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1}.ace-twilight .ace_support {color: #9B859D}.ace-twilight .ace_fold {background-color: #AC885B;border-color: #F8F8F8}.ace-twilight .ace_support.ace_function {color: #DAD085}.ace-twilight .ace_list,.ace-twilight .ace_markup.ace_list,.ace-twilight .ace_storage {color: #F9EE98}.ace-twilight .ace_entity.ace_name.ace_function,.ace-twilight .ace_meta.ace_tag,.ace-twilight .ace_variable {color: #AC885B}.ace-twilight .ace_string {color: #8F9D6A}.ace-twilight .ace_string.ace_regexp {color: #E9C062}.ace-twilight .ace_comment {font-style: italic;color: #5F5A60}.ace-twilight .ace_variable {color: #7587A6}.ace-twilight .ace_xml-pe {color: #494949}.ace-twilight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/twilight"],function(e){r&&(r.exports=e)})}()},76588:function(r,m,n){r=n.nmd(r),ace.define("ace/theme/xcode",["require","exports","module","ace/lib/dom"],function(e,a,t){a.isDark=!1,a.cssClass="ace-xcode",a.cssText=".ace-xcode .ace_gutter {background: #e8e8e8;color: #333}.ace-xcode .ace_print-margin {width: 1px;background: #e8e8e8}.ace-xcode {background-color: #FFFFFF;color: #000000}.ace-xcode .ace_cursor {color: #000000}.ace-xcode .ace_marker-layer .ace_selection {background: #B5D5FF}.ace-xcode.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-xcode .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-xcode .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-xcode .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_marker-layer .ace_selected-word {border: 1px solid #B5D5FF}.ace-xcode .ace_constant.ace_language,.ace-xcode .ace_keyword,.ace-xcode .ace_meta,.ace-xcode .ace_variable.ace_language {color: #C800A4}.ace-xcode .ace_invisible {color: #BFBFBF}.ace-xcode .ace_constant.ace_character,.ace-xcode .ace_constant.ace_other {color: #275A5E}.ace-xcode .ace_constant.ace_numeric {color: #3A00DC}.ace-xcode .ace_entity.ace_other.ace_attribute-name,.ace-xcode .ace_support.ace_constant,.ace-xcode .ace_support.ace_function {color: #450084}.ace-xcode .ace_fold {background-color: #C800A4;border-color: #000000}.ace-xcode .ace_entity.ace_name.ace_tag,.ace-xcode .ace_support.ace_class,.ace-xcode .ace_support.ace_type {color: #790EAD}.ace-xcode .ace_storage {color: #C900A4}.ace-xcode .ace_string {color: #DF0002}.ace-xcode .ace_comment {color: #008E00}.ace-xcode .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}";var i=e("../lib/dom");i.importCssString(a.cssText,a.cssClass)}),function(){ace.require(["ace/theme/xcode"],function(e){r&&(r.exports=e)})}()},74300:function(r,m,n){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CopyToClipboard=void 0;var e=t(n(67294)),a=t(n(20640));function t(o){return o&&o.__esModule?o:{default:o}}function i(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i=function(g){return typeof g}:i=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},i(o)}function p(o,c){var g=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);c&&(_=_.filter(function(f){return Object.getOwnPropertyDescriptor(o,f).enumerable})),g.push.apply(g,_)}return g}function l(o){for(var c=1;c=0)&&(!Object.prototype.propertyIsEnumerable.call(o,_)||(g[_]=o[_]))}return g}function x(o,c){if(o==null)return{};var g={},_=Object.keys(o),f,A;for(A=0;A<_.length;A++)f=_[A],!(c.indexOf(f)>=0)&&(g[f]=o[f]);return g}function u(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function h(o,c){for(var g=0;g0&&arguments[0]!==void 0?arguments[0]:!1;g.forEach(function(j){if(j.map_row_parentKey&&!j.map_row_key){var k=j.map_row_parentKey,Y=(0,ve.Z)(j,hn);if(Z.has(k)||Z.set(k,[]),U){var S;(S=Z.get(k))===null||S===void 0||S.push(Y)}}})};return f(e==="top"),g.forEach(function(I){if(I.map_row_parentKey&&I.map_row_key){var U,j=I.map_row_parentKey,k=I.map_row_key,Y=(0,ve.Z)(I,wn);Z.has(k)&&(Y[d]=Z.get(k)),Z.has(j)||Z.set(j,[]),(U=Z.get(j))===null||U===void 0||U.push(Y)}}),f(e==="update"),g.forEach(function(I){if(!I.map_row_parentKey){var U=I.map_row_key,j=(0,ve.Z)(I,an);if(U&&Z.has(U)){var k=(0,a.Z)((0,a.Z)({},j),{},(0,J.Z)({},d,Z.get(U)));y.push(k);return}y.push(j)}}),y};return O(c)}function Qn(n,e){var r=n.recordKey,t=n.onSave,o=n.row,i=n.children,h=n.newLineConfig,d=n.editorType,v=n.tableName,c=(0,u.useContext)(Se.J),T=_e.Z.useFormInstance(),O=(0,Ee.Z)(!1),C=(0,ae.Z)(O,2),g=C[0],Z=C[1],y=(0,Ze.J)((0,ue.Z)((0,_.Z)().mark(function f(){var I,U,j,k,Y,S,z,W,P;return(0,_.Z)().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.prev=0,U=d==="Map",j=[v,Array.isArray(r)?r[0]:r].map(function(A){return A==null?void 0:A.toString()}).flat(1).filter(Boolean),Z(!0),G.next=6,T.validateFields(j,{recursive:!0});case 6:return k=((I=c.getFieldFormatValue)===null||I===void 0?void 0:I.call(c,j))||T.getFieldValue(j),Array.isArray(r)&&r.length>1&&(Y=(0,Re.Z)(r),S=Y.slice(1),z=(0,fn.default)(k,S),(0,Zn.Z)(k,S,z)),W=U?(0,Zn.Z)({},j,k,!0):k,G.next=11,t==null?void 0:t(r,(0,An.T)({},o,W),o,h);case 11:return P=G.sent,Z(!1),G.abrupt("return",P);case 16:throw G.prev=16,G.t0=G.catch(0),console.log(G.t0),Z(!1),G.t0;case 21:case"end":return G.stop()}},f,null,[[0,16]])})));return(0,u.useImperativeHandle)(e,function(){return{save:y}}),(0,s.jsxs)("a",{onClick:function(){var f=(0,ue.Z)((0,_.Z)().mark(function U(j){return(0,_.Z)().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return j.stopPropagation(),j.preventDefault(),Y.prev=2,Y.next=5,y();case 5:Y.next=9;break;case 7:Y.prev=7,Y.t0=Y.catch(2);case 9:case"end":return Y.stop()}},U,null,[[2,7]])}));function I(U){return f.apply(this,arguments)}return I}(),children:[g?(0,s.jsx)(De.Z,{style:{marginInlineEnd:8}}):null,i||"\u4FDD\u5B58"]},"save")}var lt=function(e){var r=e.recordKey,t=e.onDelete,o=e.row,i=e.children,h=e.deletePopconfirmMessage,d=(0,Ee.Z)(function(){return!1}),v=(0,ae.Z)(d,2),c=v[0],T=v[1],O=(0,Ze.J)((0,ue.Z)((0,_.Z)().mark(function C(){var g;return(0,_.Z)().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.prev=0,T(!0),y.next=4,t==null?void 0:t(r,o);case 4:return g=y.sent,T(!1),y.abrupt("return",g);case 9:return y.prev=9,y.t0=y.catch(0),console.log(y.t0),T(!1),y.abrupt("return",null);case 14:case"end":return y.stop()}},C,null,[[0,9]])})));return i!==!1?(0,s.jsx)(Oe.Z,{title:h,onConfirm:function(){return O()},children:(0,s.jsxs)("a",{children:[c?(0,s.jsx)(De.Z,{style:{marginInlineEnd:8}}):null,i||"\u5220\u9664"]})},"delete"):null},Me=function(e){var r=e.recordKey,t=e.tableName,o=e.newLineConfig,i=e.editorType,h=e.onCancel,d=e.cancelEditable,v=e.row,c=e.cancelText,T=(0,u.useContext)(Se.J),O=_e.Z.useFormInstance();return(0,s.jsx)("a",{onClick:function(){var C=(0,ue.Z)((0,_.Z)().mark(function Z(y){var f,I,U,j,k,Y;return(0,_.Z)().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return y.stopPropagation(),y.preventDefault(),I=i==="Map",U=[t,r].flat(1).filter(Boolean),j=((f=T.getFieldFormatValue)===null||f===void 0?void 0:f.call(T,U))||O.getFieldValue(U),k=I?(0,Zn.Z)({},U,j):j,z.next=8,h==null?void 0:h(r,k,v,o);case 8:return Y=z.sent,d(r),O.setFieldsValue((0,J.Z)({},r,I?(0,fn.default)(v,U):v)),z.abrupt("return",Y);case 12:case"end":return z.stop()}},Z)}));function g(Z){return C.apply(this,arguments)}return g}(),children:c||"\u53D6\u6D88"},"cancel")};function Ve(n,e){var r=e.recordKey,t=e.newLineConfig,o=e.saveText,i=e.deleteText,h=(0,u.forwardRef)(Qn),d=(0,u.createRef)();return{save:(0,s.jsx)(h,(0,a.Z)((0,a.Z)({},e),{},{row:n,ref:d,children:o}),"save"+r),saveRef:d,delete:(t==null?void 0:t.options.recordKey)!==r?(0,s.jsx)(lt,(0,a.Z)((0,a.Z)({},e),{},{row:n,children:i}),"delete"+r):void 0,cancel:(0,s.jsx)(Me,(0,a.Z)((0,a.Z)({},e),{},{row:n}),"cancel"+r)}}function gn(n){var e=(0,u.useState)(void 0),r=(0,ae.Z)(e,2),t=r[0],o=r[1],i=(0,u.useRef)(new Map),h=(0,u.useRef)(void 0);(0,un.Au)(function(){var L=new Map,p=function D(K,B){K==null||K.forEach(function(b,R){var F,x=B==null?R.toString():B+"_"+R.toString();L.set(x,Ke(n.getRowKey(b,-1))),L.set((F=Ke(n.getRowKey(b,-1)))===null||F===void 0?void 0:F.toString(),x),n.childrenColumnName&&b[n.childrenColumnName]&&D(b[n.childrenColumnName],x)})};p(n.dataSource),i.current=L},[n.dataSource]),h.current=t;var d=n.type||"single",v=(0,mn.Z)(n.dataSource,"children",n.getRowKey),c=(0,ae.Z)(v,1),T=c[0],O=(0,Ee.Z)([],{value:n.editableKeys,onChange:n.onChange?function(L){var p;n==null||(p=n.onChange)===null||p===void 0||p.call(n,L.filter(function(D){return D!==void 0}),L.map(function(D){return T(D)}).filter(function(D){return D!==void 0}))}:void 0}),C=(0,ae.Z)(O,2),g=C[0],Z=C[1],y=(0,u.useMemo)(function(){var L=d==="single"?g==null?void 0:g.slice(0,1):g;return new Set(L)},[(g||[]).join(","),d]),f=(0,Ue.D)(g),I=(0,Ze.J)(function(L){var p,D,K,B,b=(p=n.getRowKey(L,L.index))===null||p===void 0||(D=p.toString)===null||D===void 0?void 0:D.call(p),R=(K=n.getRowKey(L,-1))===null||K===void 0||(B=K.toString)===null||B===void 0?void 0:B.call(K),F=g.map(function(X){return X==null?void 0:X.toString()}),x=(f==null?void 0:f.map(function(X){return X==null?void 0:X.toString()}))||[],N=n.tableName&&!!(x!=null&&x.includes(R))||!!(x!=null&&x.includes(b));return{recordKey:R,isEditable:n.tableName&&(F==null?void 0:F.includes(R))||(F==null?void 0:F.includes(b)),preIsEditable:N}}),U=(0,Ze.J)(function(L){return y.size>0&&d==="single"&&n.onlyOneLineEditorAlertMessage!==!1?(Bn(n.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1):(y.add(L),Z(Array.from(y)),!0)}),j=(0,Ze.J)(function(){var L=(0,ue.Z)((0,_.Z)().mark(function p(D,K){var B,b;return(0,_.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(B=Ke(D).toString(),b=i.current.get(B),!(!y.has(B)&&b&&(K!=null?K:!0)&&n.tableName)){F.next=5;break}return j(b,!1),F.abrupt("return");case 5:return t&&t.options.recordKey===D&&o(void 0),y.delete(B),y.delete(Ke(D)),Z(Array.from(y)),F.abrupt("return",!0);case 10:case"end":return F.stop()}},p)}));return function(p,D){return L.apply(this,arguments)}}()),k=(0,Ln.D)((0,ue.Z)((0,_.Z)().mark(function L(){var p,D,K,B,b=arguments;return(0,_.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:for(D=b.length,K=new Array(D),B=0;B0&&d==="single"&&n.onlyOneLineEditorAlertMessage!==!1)return Bn(n.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1;var D=n.getRowKey(L,-1);if(!D)throw(0,Ge.noteOnce)(!!D,`\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key - https://procomponents.ant.design/components/editable-table#editable-%E6%96%B0%E5%BB%BA%E8%A1%8C`),new Error("\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key");if(y.add(D),Z(Array.from(y)),(p==null?void 0:p.newRecordType)==="dataSource"||n.tableName){var K,B={data:n.dataSource,getRowKey:n.getRowKey,row:(0,a.Z)((0,a.Z)({},L),{},{map_row_parentKey:p!=null&&p.parentKey?(K=Ke(p==null?void 0:p.parentKey))===null||K===void 0?void 0:K.toString():void 0}),key:D,childrenColumnName:n.childrenColumnName||"children"};n.setDataSource(sn(B,(p==null?void 0:p.position)==="top"?"top":"update"))}else o({defaultValue:L,options:(0,a.Z)((0,a.Z)({},p),{},{recordKey:D})});return!0}),P=(0,ge.YB)(),H=(n==null?void 0:n.saveText)||P.getMessage("editableTable.action.save","\u4FDD\u5B58"),G=(n==null?void 0:n.deleteText)||P.getMessage("editableTable.action.delete","\u5220\u9664"),A=(n==null?void 0:n.cancelText)||P.getMessage("editableTable.action.cancel","\u53D6\u6D88"),q=(0,Ze.J)(function(){var L=(0,ue.Z)((0,_.Z)().mark(function p(D,K,B,b){var R,F,x,N,X,Q,te;return(0,_.Z)().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return j(D),de.next=3,n==null||(R=n.onSave)===null||R===void 0?void 0:R.call(n,D,K,B,b);case 3:if(N=de.sent,X=b||h.current||{},Q=X.options,!(!(Q!=null&&Q.parentKey)&&(Q==null?void 0:Q.recordKey)===D)){de.next=8;break}return(Q==null?void 0:Q.position)==="top"?n.setDataSource([K].concat((0,Ye.Z)(n.dataSource))):n.setDataSource([].concat((0,Ye.Z)(n.dataSource),[K])),de.abrupt("return",N);case 8:return te={data:n.dataSource,getRowKey:n.getRowKey,row:Q?(0,a.Z)((0,a.Z)({},K),{},{map_row_parentKey:(F=Ke((x=Q==null?void 0:Q.parentKey)!==null&&x!==void 0?x:""))===null||F===void 0?void 0:F.toString()}):K,key:D,childrenColumnName:n.childrenColumnName||"children"},n.setDataSource(sn(te,(Q==null?void 0:Q.position)==="top"?"top":"update")),de.abrupt("return",N);case 11:case"end":return de.stop()}},p)}));return function(p,D,K,B){return L.apply(this,arguments)}}()),$=(0,Ze.J)(function(){var L=(0,ue.Z)((0,_.Z)().mark(function p(D,K){var B,b,R;return(0,_.Z)().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return b={data:n.dataSource,getRowKey:n.getRowKey,row:K,key:D,childrenColumnName:n.childrenColumnName||"children"},x.next=3,n==null||(B=n.onDelete)===null||B===void 0?void 0:B.call(n,D,K);case 3:return R=x.sent,x.next=6,j(D);case 6:return n.setDataSource(sn(b,"delete")),x.abrupt("return",R);case 8:case"end":return x.stop()}},p)}));return function(p,D){return L.apply(this,arguments)}}()),E=(0,Ze.J)(function(){var L=(0,ue.Z)((0,_.Z)().mark(function p(D,K,B,b){var R,F;return(0,_.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,n==null||(R=n.onCancel)===null||R===void 0?void 0:R.call(n,D,K,B,b);case 2:return F=N.sent,N.abrupt("return",F);case 4:case"end":return N.stop()}},p)}));return function(p,D,K,B){return L.apply(this,arguments)}}()),V=function(p){var D=n.getRowKey(p,p.index),K={saveText:H,cancelText:A,deleteText:G,addEditRecord:W,recordKey:D,cancelEditable:j,index:p.index,tableName:n.tableName,newLineConfig:t,onCancel:E,onDelete:$,onSave:q,editableKeys:g,setEditableRowKeys:Z,deletePopconfirmMessage:n.deletePopconfirmMessage||"".concat(P.getMessage("deleteThisLine","\u5220\u9664\u6B64\u884C"),"?")},B=Ve(p,K);return n.tableName?S.current.set(i.current.get(Ke(D))||Ke(D),B.saveRef):S.current.set(Ke(D),B.saveRef),n.actionRender?n.actionRender(p,K,{save:B.save,delete:B.delete,cancel:B.cancel}):[B.save,B.delete,B.cancel]};return{editableKeys:g,setEditableRowKeys:Z,isEditable:I,actionRender:V,startEditable:U,cancelEditable:j,addEditRecord:W,saveEditable:z,newLineRecord:t,preEditableKeys:f,onValuesChange:Y}}var dn=M(51812),er=M(78164),$n=M(64240),Ae=M(58720),it=M(94184),Be=M.n(it),en=M(30939),Tn=M(26713),cn=M(98082),nr=function(e){return(0,J.Z)({},e.componentCls,{marginBlockEnd:16,backgroundColor:(0,cn.uK)(e.colorTextBase,.02),borderRadius:e.borderRadius,border:"none","&-container":{paddingBlock:e.paddingSM,paddingInline:e.paddingLG},"&-info":{display:"flex",alignItems:"center",transition:"all 0.3s",color:e.colorTextTertiary,"&-content":{flex:1},"&-option":{minWidth:48,paddingInlineStart:16}}})};function tr(n){return(0,cn.Xj)("ProTableAlert",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[nr(r)]})}var qn=function(e){var r=e.intl,t=e.onCleanSelected;return[(0,s.jsx)("a",{onClick:t,children:r.getMessage("alert.clear","\u6E05\u7A7A")},"0")]};function Tt(n){var e=n.selectedRowKeys,r=e===void 0?[]:e,t=n.onCleanSelected,o=n.alwaysShowAlert,i=n.selectedRows,h=n.alertInfoRender,d=h===void 0?function(j){var k=j.intl;return(0,s.jsxs)(Tn.Z,{children:[k.getMessage("alert.selected","\u5DF2\u9009\u62E9"),r.length,k.getMessage("alert.item","\u9879"),"\xA0\xA0"]})}:h,v=n.alertOptionRender,c=v===void 0?qn:v,T=(0,ge.YB)(),O=c&&c({onCleanSelected:t,selectedRowKeys:r,selectedRows:i,intl:T}),C=(0,u.useContext)(Ae.ZP.ConfigContext),g=C.getPrefixCls,Z=g("pro-table-alert"),y=tr(Z),f=y.wrapSSR,I=y.hashId;if(d===!1)return null;var U=d({intl:T,selectedRowKeys:r,selectedRows:i,onCleanSelected:t});return U===!1||r.length<1&&!o?null:f((0,s.jsx)("div",{className:"".concat(Z," ").concat(I),children:(0,s.jsx)("div",{className:"".concat(Z,"-container ").concat(I),children:(0,s.jsxs)("div",{className:"".concat(Z,"-info ").concat(I),children:[(0,s.jsx)("div",{className:"".concat(Z,"-info-content ").concat(I),children:U}),O?(0,s.jsx)("div",{className:"".concat(Z,"-info-option ").concat(I),children:O}):null]})})}))}var Pt=Tt,ut=M(43144),st=M(15671),dt=M(32531),Ft=M(51630),bn=M(97435),Dn=function(e){return e!=null};function _n(n,e,r){var t,o;if(n===!1)return!1;var i=e.total,h=e.current,d=e.pageSize,v=e.setPageInfo,c=(0,rn.Z)(n)==="object"?n:{};return(0,a.Z)((0,a.Z)({showTotal:function(O,C){return"".concat(r.getMessage("pagination.total.range","\u7B2C")," ").concat(C[0],"-").concat(C[1]," ").concat(r.getMessage("pagination.total.total","\u6761/\u603B\u5171")," ").concat(O," ").concat(r.getMessage("pagination.total.item","\u6761"))},total:i},c),{},{current:n!==!0&&n&&(t=n.current)!==null&&t!==void 0?t:h,pageSize:n!==!0&&n&&(o=n.pageSize)!==null&&o!==void 0?o:d,onChange:function(O,C){var g=n.onChange;g==null||g(O,C||20),(C!==d||h!==O)&&v({pageSize:C,current:O})}})}function rr(n,e,r){var t=(0,a.Z)((0,a.Z)({},r.editableUtils),{},{pageInfo:e.pageInfo,reload:function(){var o=(0,ue.Z)((0,_.Z)().mark(function h(d){return(0,_.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!d){c.next=3;break}return c.next=3,e.setPageInfo({current:1});case 3:return c.next=5,e==null?void 0:e.reload();case 5:case"end":return c.stop()}},h)}));function i(h){return o.apply(this,arguments)}return i}(),reloadAndRest:function(){var o=(0,ue.Z)((0,_.Z)().mark(function h(){return(0,_.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return r.onCleanSelected(),v.next=3,e.setPageInfo({current:1});case 3:return v.next=5,e==null?void 0:e.reload();case 5:case"end":return v.stop()}},h)}));function i(){return o.apply(this,arguments)}return i}(),reset:function(){var o=(0,ue.Z)((0,_.Z)().mark(function h(){var d;return(0,_.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,r.resetAll();case 2:return c.next=4,e==null||(d=e.reset)===null||d===void 0?void 0:d.call(e);case 4:return c.next=6,e==null?void 0:e.reload();case 6:case"end":return c.stop()}},h)}));function i(){return o.apply(this,arguments)}return i}(),fullScreen:function(){return r.fullScreen()},clearSelected:function(){return r.onCleanSelected()},setPageInfo:function(i){return e.setPageInfo(i)}});n.current=t}function It(n,e){return e.filter(function(r){return r}).length<1?n:e.reduce(function(r,t){return t(r)},n)}var Et=function(e,r){return r===void 0?!1:typeof r=="boolean"?r:r[e]},jt=function(e){var r;return e&&(0,rn.Z)(e)==="object"&&(e==null||(r=e.props)===null||r===void 0?void 0:r.colSpan)},vn=function(e,r){return e?Array.isArray(e)?e.join("-"):e.toString():"".concat(r)};function ar(n){return Array.isArray(n)?n.join(","):n==null?void 0:n.toString()}function Pn(n){var e={},r={};return n.forEach(function(t){var o=ar(t.dataIndex);if(!!o){if(t.filters){var i=t.defaultFilteredValue;i===void 0?e[o]=null:e[o]=t.defaultFilteredValue}t.sorter&&t.defaultSortOrder&&(r[o]=t.defaultSortOrder)}}),{sort:r,filter:e}}function Jr(n,e){var r=n.oldIndex,t=n.newIndex;if(r!==t){var o=arrayMoveImmutable({array:_toConsumableArray(e||[]),fromIndex:r,toIndex:t}).filter(function(i){return!!i});return _toConsumableArray(o)}return null}var Mt=M(51280),Wn=M(12795),et=M(73177),or=M(85265),pn=M(72378),Nt=M.n(pn),Ot=M(73935),Un=M(78733),lr=["children","trigger","onVisibleChange","drawerProps","onFinish","submitTimeout","title","width","onOpenChange","visible","open"];function ir(n){var e,r,t,o,i=n.children,h=n.trigger,d=n.onVisibleChange,v=n.drawerProps,c=n.onFinish,T=n.submitTimeout,O=n.title,C=n.width,g=n.onOpenChange,Z=n.visible,y=n.open,f=(0,ve.Z)(n,lr);(0,Ge.noteOnce)(!f.footer||!(v!=null&&v.footer),"DrawerForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var I=(0,u.useContext)(Ae.ZP.ConfigContext),U=(0,u.useState)([]),j=(0,ae.Z)(U,2),k=j[1],Y=(0,u.useState)(!1),S=(0,ae.Z)(Y,2),z=S[0],W=S[1],P=(0,Ee.Z)(!!Z,{value:y||Z,onChange:g||d}),H=(0,ae.Z)(P,2),G=H[0],A=H[1],q=(0,u.useRef)(null),$=(0,u.useCallback)(function(b){q.current===null&&b&&k([]),q.current=b},[]),E=(0,u.useRef)(),V=(0,u.useCallback)(function(){var b,R,F,x=(b=(R=(F=f.formRef)===null||F===void 0?void 0:F.current)!==null&&R!==void 0?R:f.form)!==null&&b!==void 0?b:E.current;x&&(v==null?void 0:v.destroyOnClose)&&x.resetFields()},[v==null?void 0:v.destroyOnClose,f.form,f.formRef]);(0,u.useEffect)(function(){G&&(y||Z)&&(g==null||g(!0),d==null||d(!0))},[Z,G]);var L=(0,u.useMemo)(function(){return h?u.cloneElement(h,(0,a.Z)((0,a.Z)({key:"trigger"},h.props),{},{onClick:function(){var b=(0,ue.Z)((0,_.Z)().mark(function F(x){var N,X;return(0,_.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:A(!G),(N=h.props)===null||N===void 0||(X=N.onClick)===null||X===void 0||X.call(N,x);case 2:case"end":return te.stop()}},F)}));function R(F){return b.apply(this,arguments)}return R}()})):null},[A,h,G]),p=(0,u.useMemo)(function(){var b,R,F,x,N,X;return f.submitter===!1?!1:Nt()({searchConfig:{submitText:(b=(R=I.locale)===null||R===void 0||(F=R.Modal)===null||F===void 0?void 0:F.okText)!==null&&b!==void 0?b:"\u786E\u8BA4",resetText:(x=(N=I.locale)===null||N===void 0||(X=N.Modal)===null||X===void 0?void 0:X.cancelText)!==null&&x!==void 0?x:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:T?z:void 0,onClick:function(te){var le;A(!1),v==null||(le=v.onClose)===null||le===void 0||le.call(v,te)}}},f.submitter)},[f.submitter,(e=I.locale)===null||e===void 0||(r=e.Modal)===null||r===void 0?void 0:r.okText,(t=I.locale)===null||t===void 0||(o=t.Modal)===null||o===void 0?void 0:o.cancelText,T,z,A,v]),D=(0,u.useCallback)(function(b,R){return(0,s.jsxs)(s.Fragment,{children:[b,q.current&&R?(0,s.jsx)(u.Fragment,{children:(0,Ot.createPortal)(R,q.current)},"submitter"):R]})},[]),K=(0,Ze.J)(function(){var b=(0,ue.Z)((0,_.Z)().mark(function R(F){var x,N,X;return(0,_.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return x=c==null?void 0:c(F),T&&x instanceof Promise&&(W(!0),N=setTimeout(function(){return W(!1)},T),x.finally(function(){clearTimeout(N),W(!1)})),te.next=4,x;case 4:return X=te.sent,X&&A(!1),te.abrupt("return",X);case 7:case"end":return te.stop()}},R)}));return function(R){return b.apply(this,arguments)}}()),B=(0,et.X)(G,d);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(or.Z,(0,a.Z)((0,a.Z)((0,a.Z)({title:O,width:C||800},v),B),{},{afterOpenChange:function(R){var F;R||V(),v==null||(F=v.afterOpenChange)===null||F===void 0||F.call(v,R)},onClose:function(R){var F;T&&z||(A(!1),v==null||(F=v.onClose)===null||F===void 0||F.call(v,R))},footer:f.submitter!==!1&&(0,s.jsx)("div",{ref:$,style:{display:"flex",justifyContent:"flex-end"}}),children:(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(Un.I,(0,a.Z)((0,a.Z)({formComponentType:"DrawerForm",layout:"vertical",formRef:E},f),{},{submitter:p,onFinish:function(){var b=(0,ue.Z)((0,_.Z)().mark(function F(x){var N;return(0,_.Z)().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return Q.next=2,K(x);case 2:return N=Q.sent,Q.abrupt("return",N);case 4:case"end":return Q.stop()}},F)}));function R(F){return b.apply(this,arguments)}return R}(),contentRender:D,children:i}))})})),L]})}var zn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},ur=zn,Fn=M(84089),Kt=function(e,r){return u.createElement(Fn.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:r,icon:ur}))};Kt.displayName="FilterOutlined";var sr=u.forwardRef(Kt),dr=M(2122),Vn=M(1336),cr=function(e){return(0,J.Z)({},e.componentCls,{lineHeight:"30px","&::before":{display:"block",height:0,visibility:"hidden",content:"'.'"},"&-small":{lineHeight:e.lineHeight},"&-container":{display:"flex",flexWrap:"wrap",gap:8},"&-item":(0,J.Z)({whiteSpace:"nowrap"},"".concat(e.antCls,"-form-item"),{marginBlock:0}),"&-line":{minWidth:"198px"},"&-line:not(:first-child)":{marginBlockStart:"16px",marginBlockEnd:8},"&-collapse-icon":{width:e.controlHeight,height:e.controlHeight,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center"},"&-effective":(0,J.Z)({},"".concat(e.componentCls,"-collapse-icon"),{backgroundColor:e.colorBgTextHover})})};function vr(n){return(0,cn.Xj)("LightFilter",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[cr(r)]})}var fr=["size","collapse","collapseLabel","initialValues","onValuesChange","form","placement","formRef","bordered","ignoreRules","footerRender"],mr=function(e){var r=e.items,t=e.prefixCls,o=e.size,i=o===void 0?"middle":o,h=e.collapse,d=e.collapseLabel,v=e.onValuesChange,c=e.bordered,T=e.values,O=e.footerRender,C=e.placement,g=(0,ge.YB)(),Z="".concat(t,"-light-filter"),y=vr(Z),f=y.wrapSSR,I=y.hashId,U=(0,u.useState)(!1),j=(0,ae.Z)(U,2),k=j[0],Y=j[1],S=(0,u.useState)(function(){return(0,a.Z)({},T)}),z=(0,ae.Z)(S,2),W=z[0],P=z[1];(0,u.useEffect)(function(){P((0,a.Z)({},T))},[T]);var H=(0,u.useMemo)(function(){var $=[],E=[];return r.forEach(function(V){var L=V.props||{},p=L.secondary;p||h?$.push(V):E.push(V)}),{collapseItems:$,outsideItems:E}},[e.items]),G=H.collapseItems,A=H.outsideItems,q=function(){return d||(h?(0,s.jsx)(sr,{className:"".concat(Z,"-collapse-icon ").concat(I)}):(0,s.jsx)(dr.Q,{size:i,label:g.getMessage("form.lightFilter.more","\u66F4\u591A\u7B5B\u9009"),expanded:k}))};return f((0,s.jsx)("div",{className:Be()(Z,I,"".concat(Z,"-").concat(i),(0,J.Z)({},"".concat(Z,"-effective"),Object.keys(T).some(function($){return T[$]}))),children:(0,s.jsxs)("div",{className:"".concat(Z,"-container ").concat(I),children:[A.map(function($,E){var V=$.key,L=$.props.fieldProps,p=L!=null&&L.placement?L==null?void 0:L.placement:C;return(0,s.jsx)("div",{className:"".concat(Z,"-item ").concat(I),children:u.cloneElement($,{fieldProps:(0,a.Z)((0,a.Z)({},$.props.fieldProps),{},{placement:p}),proFieldProps:{light:!0,label:$.props.label,bordered:c},bordered:c})},V||E)}),G.length?(0,s.jsx)("div",{className:"".concat(Z,"-item ").concat(I),children:(0,s.jsx)(Vn.M,{padding:24,open:k,onOpenChange:Y,placement:C,label:q(),footerRender:O,footer:{onConfirm:function(){v((0,a.Z)({},W)),Y(!1)},onClear:function(){var E={};G.forEach(function(V){var L=V.props.name;E[L]=void 0}),v(E)}},children:G.map(function($){var E=$.key,V=$.props,L=V.name,p=V.fieldProps,D=(0,a.Z)((0,a.Z)({},p),{},{onChange:function(b){return P((0,a.Z)((0,a.Z)({},W),{},(0,J.Z)({},L,b!=null&&b.target?b.target.value:b))),!1}});W.hasOwnProperty(L)&&(D[$.props.valuePropName||"value"]=W[L]);var K=p!=null&&p.placement?p==null?void 0:p.placement:C;return(0,s.jsx)("div",{className:"".concat(Z,"-line ").concat(I),children:u.cloneElement($,{fieldProps:(0,a.Z)((0,a.Z)({},D),{},{placement:K})})},E)})})},"more"):null]})}))};function hr(n){var e=n.size,r=n.collapse,t=n.collapseLabel,o=n.initialValues,i=n.onValuesChange,h=n.form,d=n.placement,v=n.formRef,c=n.bordered,T=n.ignoreRules,O=n.footerRender,C=(0,ve.Z)(n,fr),g=(0,u.useContext)(Ae.ZP.ConfigContext),Z=g.getPrefixCls,y=Z("pro-form"),f=(0,u.useState)(function(){return(0,a.Z)({},o)}),I=(0,ae.Z)(f,2),U=I[0],j=I[1],k=(0,u.useRef)();return(0,u.useImperativeHandle)(v,function(){return k.current}),(0,s.jsx)(Un.I,(0,a.Z)((0,a.Z)({size:e,initialValues:o,form:h,contentRender:function(S){return(0,s.jsx)(mr,{prefixCls:y,items:S.flatMap(function(z){return(z==null?void 0:z.type.displayName)==="ProForm-Group"?z.props.children:z}),size:e,bordered:c,collapse:r,collapseLabel:t,placement:d,values:U||{},footerRender:O,onValuesChange:function(W){var P,H,G=(0,a.Z)((0,a.Z)({},U),W);j(G),(P=k.current)===null||P===void 0||P.setFieldsValue(G),(H=k.current)===null||H===void 0||H.submit(),i&&i(W,G)}})},formRef:k,formItemProps:{colon:!1,labelAlign:"left"},fieldProps:{style:{width:void 0}}},(0,bn.Z)(C,["labelWidth"])),{},{onValuesChange:function(S,z){var W;j(z),i==null||i(S,z),(W=k.current)===null||W===void 0||W.submit()}}))}var gr=M(69400),ct=["children","trigger","onVisibleChange","onOpenChange","modalProps","onFinish","submitTimeout","title","width","visible","open"];function pr(n){var e,r,t,o,i=n.children,h=n.trigger,d=n.onVisibleChange,v=n.onOpenChange,c=n.modalProps,T=n.onFinish,O=n.submitTimeout,C=n.title,g=n.width,Z=n.visible,y=n.open,f=(0,ve.Z)(n,ct);(0,Ge.noteOnce)(!f.footer||!(c!=null&&c.footer),"ModalForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var I=(0,u.useContext)(Ae.ZP.ConfigContext),U=(0,u.useState)([]),j=(0,ae.Z)(U,2),k=j[1],Y=(0,u.useState)(!1),S=(0,ae.Z)(Y,2),z=S[0],W=S[1],P=(0,Ee.Z)(!!Z,{value:y||Z,onChange:v||d}),H=(0,ae.Z)(P,2),G=H[0],A=H[1],q=(0,u.useRef)(null),$=(0,u.useCallback)(function(b){q.current===null&&b&&k([]),q.current=b},[]),E=(0,u.useRef)(),V=(0,u.useCallback)(function(){var b,R,F,x=(b=(R=f.form)!==null&&R!==void 0?R:(F=f.formRef)===null||F===void 0?void 0:F.current)!==null&&b!==void 0?b:E.current;x&&(c==null?void 0:c.destroyOnClose)&&x.resetFields()},[c==null?void 0:c.destroyOnClose,f.form,f.formRef]);(0,u.useEffect)(function(){G&&(y||Z)&&(v==null||v(!0),d==null||d(!0))},[Z,y,G]);var L=(0,u.useMemo)(function(){return h?u.cloneElement(h,(0,a.Z)((0,a.Z)({key:"trigger"},h.props),{},{onClick:function(){var b=(0,ue.Z)((0,_.Z)().mark(function F(x){var N,X;return(0,_.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:A(!G),(N=h.props)===null||N===void 0||(X=N.onClick)===null||X===void 0||X.call(N,x);case 2:case"end":return te.stop()}},F)}));function R(F){return b.apply(this,arguments)}return R}()})):null},[A,h,G]),p=(0,u.useMemo)(function(){var b,R,F,x,N,X,Q,te;return f.submitter===!1?!1:Nt()({searchConfig:{submitText:(b=(R=c==null?void 0:c.okText)!==null&&R!==void 0?R:(F=I.locale)===null||F===void 0||(x=F.Modal)===null||x===void 0?void 0:x.okText)!==null&&b!==void 0?b:"\u786E\u8BA4",resetText:(N=(X=c==null?void 0:c.cancelText)!==null&&X!==void 0?X:(Q=I.locale)===null||Q===void 0||(te=Q.Modal)===null||te===void 0?void 0:te.cancelText)!==null&&N!==void 0?N:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:O?z:void 0,onClick:function(de){var be;A(!1),c==null||(be=c.onCancel)===null||be===void 0||be.call(c,de)}}},f.submitter)},[(e=I.locale)===null||e===void 0||(r=e.Modal)===null||r===void 0?void 0:r.cancelText,(t=I.locale)===null||t===void 0||(o=t.Modal)===null||o===void 0?void 0:o.okText,c,f.submitter,A,z,O]),D=(0,u.useCallback)(function(b,R){return(0,s.jsxs)(s.Fragment,{children:[b,q.current&&R?(0,s.jsx)(u.Fragment,{children:(0,Ot.createPortal)(R,q.current)},"submitter"):R]})},[]),K=(0,u.useCallback)(function(){var b=(0,ue.Z)((0,_.Z)().mark(function R(F){var x,N,X;return(0,_.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return x=T==null?void 0:T(F),O&&x instanceof Promise&&(W(!0),N=setTimeout(function(){return W(!1)},O),x.finally(function(){clearTimeout(N),W(!1)})),te.next=4,x;case 4:return X=te.sent,X&&A(!1),te.abrupt("return",X);case 7:case"end":return te.stop()}},R)}));return function(R){return b.apply(this,arguments)}}(),[T,A,O]),B=(0,et.X)(G);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(gr.Z,(0,a.Z)((0,a.Z)((0,a.Z)({title:C,width:g||800},c),B),{},{onCancel:function(R){var F;O&&z||(A(!1),c==null||(F=c.onCancel)===null||F===void 0||F.call(c,R))},afterClose:function(){var R;V(),A(!1),c==null||(R=c.afterClose)===null||R===void 0||R.call(c)},footer:f.submitter!==!1&&(0,s.jsx)("div",{ref:$,style:{display:"flex",justifyContent:"flex-end"}}),children:(0,s.jsx)(Un.I,(0,a.Z)((0,a.Z)({formComponentType:"ModalForm",layout:"vertical",formRef:E},f),{},{submitter:p,onFinish:function(){var b=(0,ue.Z)((0,_.Z)().mark(function F(x){var N;return(0,_.Z)().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return Q.next=2,K(x);case 2:return N=Q.sent,Q.abrupt("return",N);case 4:case"end":return Q.stop()}},F)}));function R(F){return b.apply(this,arguments)}return R}(),contentRender:D,children:i}))})),L]})}var kn=M(97269),nt=M(12044),In=M(15746),En=M(71230),vt=M(48555),ft=M(34804),Lt=function(e){if(e&&e!==!0)return e},yr=function(e,r,t,o){return e?(0,s.jsxs)(s.Fragment,{children:[t.getMessage("tableForm.collapsed","\u5C55\u5F00"),o&&"(".concat(o,")"),(0,s.jsx)(ft.Z,{style:{marginInlineStart:"0.5em",transition:"0.3s all",transform:"rotate(".concat(e?0:.5,"turn)")}})]}):(0,s.jsxs)(s.Fragment,{children:[t.getMessage("tableForm.expand","\u6536\u8D77"),(0,s.jsx)(ft.Z,{style:{marginInlineStart:"0.5em",transition:"0.3s all",transform:"rotate(".concat(e?0:.5,"turn)")}})]})},At=function(e){var r=e.setCollapsed,t=e.collapsed,o=t===void 0?!1:t,i=e.submitter,h=e.style,d=e.hiddenNum,v=(0,u.useContext)(Ae.ZP.ConfigContext),c=v.getPrefixCls,T=(0,ge.YB)(),O=(0,u.useContext)(ge.L_),C=O.hashId,g=Lt(e.collapseRender)||yr;return(0,s.jsxs)(Tn.Z,{style:h,size:16,children:[i,e.collapseRender!==!1&&(0,s.jsx)("a",{className:"".concat(c("pro-query-filter-collapse-button")," ").concat(C),onClick:function(){return r(!o)},children:g==null?void 0:g(o,e,T,d)})]})},Cr=At,Zr=function(e){var r;return(0,J.Z)({},e.proComponentsCls,(0,J.Z)({},e.componentCls,(r={padding:24},(0,J.Z)(r,"".concat(e.antCls,"-form-item"),{marginBlock:0}),(0,J.Z)(r,"".concat(e.proComponentsCls,"-form-group-title"),{marginBlock:0}),(0,J.Z)(r,"&-row",{rowGap:24,"&-split-line":{"&:after":{position:"absolute",width:"100%",content:'""',height:1,insetBlockEnd:-12,borderBlockEnd:"1px dashed "+e.colorSplit}}}),(0,J.Z)(r,"&-collapse-button",{display:"flex",alignItems:"center"}),r)))};function br(n){return(0,cn.Xj)("QueryFilter",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Zr(r)]})}var Sr=["collapsed","layout","defaultCollapsed","defaultColsNumber","span","searchGutter","searchText","resetText","optionRender","collapseRender","onReset","onCollapse","labelWidth","style","split","preserve","ignoreRules","showHiddenNum"],mt,ht,xr={xs:513,sm:513,md:785,lg:992,xl:1057,xxl:1/0},Bt={vertical:[[513,1,"vertical"],[785,2,"vertical"],[1057,3,"vertical"],[1/0,4,"vertical"]],default:[[513,1,"vertical"],[701,2,"vertical"],[1062,3,"horizontal"],[1352,3,"horizontal"],[1/0,4,"horizontal"]]},Rr=function(e,r,t){if(t&&typeof t=="number")return{span:t,layout:e};var o=t?["xs","sm","md","lg","xl","xxl"].map(function(h){return[xr[h],24/t[h],"horizontal"]}):Bt[e||"default"],i=(o||Bt.default).find(function(h){return rf-1)&&!!L&&k>=24;Y+=1;var N=u.isValidElement(V)&&(V.key||"".concat((B=V.props)===null||B===void 0?void 0:B.name))||L;return u.isValidElement(V)&&x?e.preserve?{itemDom:u.cloneElement(V,{hidden:!0,key:N||L}),hidden:!0,colSpan:R}:{itemDom:null,colSpan:0,hidden:!0}:{itemDom:V,colSpan:R,hidden:!1}}),H=P.map(function(V,L){var p,D,K=V.itemDom,B=V.colSpan,b=K==null||(p=K.props)===null||p===void 0?void 0:p.hidden;if(b)return K;var R=u.isValidElement(K)&&(K.key||"".concat((D=K.props)===null||D===void 0?void 0:D.name))||L;return 24-W%2417&&L(b.width)},children:(0,s.jsx)(Un.I,(0,a.Z)((0,a.Z)({isKeyPressSubmit:!0,preserve:k},W),{},{className:Be()(H,q,W.className),onReset:g,style:I,layout:p.layout,fieldProps:{style:{width:"100%"}},formItemProps:K,groupProps:{titleStyle:{display:"inline-block",marginInlineEnd:16}},contentRender:function(b,R,F){return(0,s.jsx)(tt,{spanSize:p,collapsed:e,form:F,collapseRender:C,defaultCollapsed:o,onCollapse:Z,optionRender:O,submitter:R,items:b,split:U,baseClassName:H,resetText:n.resetText,searchText:n.searchText,searchGutter:v,preserve:k,ignoreRules:Y,showLength:D,showHiddenNum:z})}}))},"resize-observer"))}var $t=M(1977),Dt=M(67159),zt=M(3363),Vt=M(45598),Pr=["onFinish","step","formRef","title","stepProps"];function kt(n){var e=(0,u.useRef)(),r=(0,u.useContext)(Ht),t=n.onFinish,o=n.step,i=n.formRef,h=n.title,d=n.stepProps,v=(0,ve.Z)(n,Pr);return(0,Ge.noteOnce)(!v.submitter,"StepForm \u4E0D\u5305\u542B\u63D0\u4EA4\u6309\u94AE\uFF0C\u8BF7\u5728 StepsForm \u4E0A"),(0,u.useImperativeHandle)(i,function(){return e.current}),(0,u.useEffect)(function(){if(!!(n.name||n.step)){var c=(n.name||n.step).toString();return r==null||r.regForm(c,n),function(){r==null||r.unRegForm(c)}}},[]),r&&(r==null?void 0:r.formArrayRef)&&(r.formArrayRef.current[o||0]=e),(0,s.jsx)(Un.I,(0,a.Z)({formRef:e,onFinish:function(){var c=(0,ue.Z)((0,_.Z)().mark(function O(C){var g;return(0,_.Z)().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(v.name&&(r==null||r.onFormFinish(v.name,C)),!t){y.next=9;break}return r==null||r.setLoading(!0),y.next=5,t==null?void 0:t(C);case 5:return g=y.sent,g&&(r==null||r.next()),r==null||r.setLoading(!1),y.abrupt("return");case 9:r!=null&&r.lastStep||r==null||r.next();case 10:case"end":return y.stop()}},O)}));function T(O){return c.apply(this,arguments)}return T}(),layout:"vertical"},v))}var Fr=kt,Ir=function(e){return(0,J.Z)({},e.componentCls,{"&-container":{width:"max-content",minWidth:"520px",maxWidth:"100%",margin:"auto"},"&-steps-container":(0,J.Z)({maxWidth:"1160px",margin:"auto"},"".concat(e.antCls,"-steps-vertical"),{height:"100%"}),"&-step":{display:"none",marginBlockStart:"32px","&-active":{display:"block"},"> form":{maxWidth:"100%"}}})};function Er(n){return(0,cn.Xj)("StepsForm",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Ir(r)]})}var pt=["current","onCurrentChange","submitter","stepsFormRender","stepsRender","stepFormRender","stepsProps","onFinish","formProps","containerStyle","formRef","formMapRef"],Ht=u.createContext(void 0),jr={horizontal:function(e){var r=e.stepsDom,t=e.formDom;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(En.Z,{gutter:{xs:8,sm:16,md:24},children:(0,s.jsx)(In.Z,{span:24,children:r})}),(0,s.jsx)(En.Z,{gutter:{xs:8,sm:16,md:24},children:(0,s.jsx)(In.Z,{span:24,children:t})})]})},vertical:function(e){var r=e.stepsDom,t=e.formDom;return(0,s.jsxs)(En.Z,{align:"stretch",wrap:!0,gutter:{xs:8,sm:16,md:24},children:[(0,s.jsx)(In.Z,{xxl:4,xl:6,lg:7,md:8,sm:10,xs:12,children:u.cloneElement(r,{style:{height:"100%"}})}),(0,s.jsx)(In.Z,{children:(0,s.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",height:"100%"},children:t})})]})}};function Mr(n){var e=(0,u.useContext)(Ae.ZP.ConfigContext),r=e.getPrefixCls,t=r("pro-steps-form"),o=Er(t),i=o.wrapSSR,h=o.hashId,d=n.current,v=n.onCurrentChange,c=n.submitter,T=n.stepsFormRender,O=n.stepsRender,C=n.stepFormRender,g=n.stepsProps,Z=n.onFinish,y=n.formProps,f=n.containerStyle,I=n.formRef,U=n.formMapRef,j=(0,ve.Z)(n,pt),k=(0,u.useRef)(new Map),Y=(0,u.useRef)(new Map),S=(0,u.useRef)([]),z=(0,u.useState)([]),W=(0,ae.Z)(z,2),P=W[0],H=W[1],G=(0,u.useState)(!1),A=(0,ae.Z)(G,2),q=A[0],$=A[1],E=(0,ge.YB)(),V=(0,Ee.Z)(0,{value:n.current,onChange:n.onCurrentChange}),L=(0,ae.Z)(V,2),p=L[0],D=L[1],K=(0,u.useMemo)(function(){return jr[(g==null?void 0:g.direction)||"horizontal"]},[g==null?void 0:g.direction]),B=(0,u.useMemo)(function(){return p===P.length-1},[P.length,p]),b=(0,u.useCallback)(function(oe,ie){Y.current.has(oe)||H(function(Ie){return[].concat((0,Ye.Z)(Ie),[oe])}),Y.current.set(oe,ie)},[]),R=(0,u.useCallback)(function(oe){H(function(ie){return ie.filter(function(Ie){return Ie!==oe})}),Y.current.delete(oe),k.current.delete(oe)},[]);(0,u.useImperativeHandle)(U,function(){return S.current}),(0,u.useImperativeHandle)(I,function(){var oe;return(oe=S.current[p||0])===null||oe===void 0?void 0:oe.current},[p]);var F=(0,u.useCallback)(function(){var oe=(0,ue.Z)((0,_.Z)().mark(function ie(Ie,Ce){var On,he;return(0,_.Z)().wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(k.current.set(Ie,Ce),!(!B||!Z)){Je.next=3;break}return Je.abrupt("return");case 3:return $(!0),On=An.T.apply(void 0,[{}].concat((0,Ye.Z)(Array.from(k.current.values())))),Je.prev=5,Je.next=8,Z(On);case 8:he=Je.sent,he&&(D(0),S.current.forEach(function(Qt){var Kn;return(Kn=Qt.current)===null||Kn===void 0?void 0:Kn.resetFields()})),Je.next=15;break;case 12:Je.prev=12,Je.t0=Je.catch(5),console.log(Je.t0);case 15:return Je.prev=15,$(!1),Je.finish(15);case 18:case"end":return Je.stop()}},ie,null,[[5,12,15,18]])}));return function(ie,Ie){return oe.apply(this,arguments)}}(),[B,Z,$,D]),x=(0,u.useMemo)(function(){var oe=(0,$t.n)(Dt.Z,"4.24.0")>-1,ie=oe?{items:P.map(function(Ie){var Ce=Y.current.get(Ie);return(0,a.Z)({key:Ie,title:Ce==null?void 0:Ce.title},Ce==null?void 0:Ce.stepProps)})}:{};return(0,s.jsx)("div",{className:"".concat(t,"-steps-container ").concat(h),style:{maxWidth:Math.min(P.length*320,1160)},children:(0,s.jsx)(zt.Z,(0,a.Z)((0,a.Z)((0,a.Z)({},g),ie),{},{current:p,onChange:void 0,children:!oe&&P.map(function(Ie){var Ce=Y.current.get(Ie);return(0,s.jsx)(zt.Z.Step,(0,a.Z)({title:Ce==null?void 0:Ce.title},Ce==null?void 0:Ce.stepProps),Ie)})}))})},[P,h,t,p,g]),N=(0,Ze.J)(function(){var oe,ie=S.current[p];(oe=ie.current)===null||oe===void 0||oe.submit()}),X=(0,Ze.J)(function(){p<1||D(p-1)}),Q=(0,u.useMemo)(function(){return c!==!1&&(0,s.jsx)(Rn.ZP,(0,a.Z)((0,a.Z)({type:"primary",loading:q},c==null?void 0:c.submitButtonProps),{},{onClick:function(){var ie;c==null||(ie=c.onSubmit)===null||ie===void 0||ie.call(c),N()},children:E.getMessage("stepsForm.next","\u4E0B\u4E00\u6B65")}),"next")},[E,q,N,c]),te=(0,u.useMemo)(function(){return c!==!1&&(0,s.jsx)(Rn.ZP,(0,a.Z)((0,a.Z)({},c==null?void 0:c.resetButtonProps),{},{onClick:function(){var ie;X(),c==null||(ie=c.onReset)===null||ie===void 0||ie.call(c)},children:E.getMessage("stepsForm.prev","\u4E0A\u4E00\u6B65")}),"pre")},[E,X,c]),le=(0,u.useMemo)(function(){return c!==!1&&(0,s.jsx)(Rn.ZP,(0,a.Z)((0,a.Z)({type:"primary",loading:q},c==null?void 0:c.submitButtonProps),{},{onClick:function(){var ie;c==null||(ie=c.onSubmit)===null||ie===void 0||ie.call(c),N()},children:E.getMessage("stepsForm.submit","\u63D0\u4EA4")}),"submit")},[E,q,N,c]),de=(0,Ze.J)(function(){p>P.length-2||D(p+1)}),be=(0,u.useMemo)(function(){var oe=[],ie=p||0;if(ie<1?oe.push(Q):ie+1===P.length?oe.push(te,le):oe.push(te,Q),oe=oe.filter(u.isValidElement),c&&c.render){var Ie,Ce={form:(Ie=S.current[p])===null||Ie===void 0?void 0:Ie.current,onSubmit:N,step:p,onPre:X};return c.render(Ce,oe)}return c&&(c==null?void 0:c.render)===!1?null:oe},[P.length,Q,N,te,X,p,le,c]),ke=(0,u.useMemo)(function(){return(0,Vt.Z)(n.children).map(function(oe,ie){var Ie=oe.props,Ce=Ie.name||"".concat(ie),On=p===ie,he=On?{contentRender:C,submitter:!1}:{};return(0,s.jsx)("div",{className:Be()("".concat(t,"-step"),h,(0,J.Z)({},"".concat(t,"-step-active"),On)),children:u.cloneElement(oe,(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},he),y),Ie),{},{name:Ce,step:ie,key:Ce}))},Ce)})},[y,h,t,n.children,p,C]),Qe=(0,u.useMemo)(function(){return O?O(P.map(function(oe){var ie;return{key:oe,title:(ie=Y.current.get(oe))===null||ie===void 0?void 0:ie.title}}),x):x},[P,x,O]),Ne=(0,u.useMemo)(function(){return(0,s.jsxs)("div",{className:"".concat(t,"-container ").concat(h),style:f,children:[ke,T?null:(0,s.jsx)(Tn.Z,{children:be})]})},[f,ke,h,t,T,be]),Nn=(0,u.useMemo)(function(){var oe={stepsDom:Qe,formDom:Ne};return T?T(K(oe),be):K(oe)},[Qe,Ne,K,T,be]);return i((0,s.jsx)("div",{className:Be()(t,h),children:(0,s.jsx)(_e.Z.Provider,(0,a.Z)((0,a.Z)({},j),{},{children:(0,s.jsx)(Ht.Provider,{value:{loading:q,setLoading:$,regForm:b,keyArray:P,next:de,formArrayRef:S,formMapRef:Y,lastStep:B,unRegForm:R,onFormFinish:F},children:Nn})}))}))}function jn(n){return(0,s.jsx)(ge._Y,{needDeps:!0,children:(0,s.jsx)(Mr,(0,a.Z)({},n))})}jn.StepForm=Fr,jn.useForm=_e.Z.useForm;var yt=["steps","columns","forceUpdate","grid"],Ct=function(e){var r=e.steps,t=e.columns,o=e.forceUpdate,i=e.grid,h=(0,ve.Z)(e,yt),d=(0,Mt.d)(h),v=(0,u.useCallback)(function(T){var O,C;(O=(C=d.current).onCurrentChange)===null||O===void 0||O.call(C,T),o([])},[o,d]),c=(0,u.useMemo)(function(){return r==null?void 0:r.map(function(T,O){return(0,u.createElement)(Yr,(0,a.Z)((0,a.Z)({grid:i},T),{},{key:O,layoutType:"StepForm",columns:t[O]}))})},[t,i,r]);return(0,s.jsx)(jn,(0,a.Z)((0,a.Z)({},h),{},{onCurrentChange:v,children:c}))},Zt=Ct,Nr=function(e){var r=e.children;return(0,s.jsx)(s.Fragment,{children:r})},Wt=Nr,bt=function(e,r){var t=r.genItems;if(e.valueType==="dependency"){var o,i,h,d=(o=e.getFieldProps)===null||o===void 0?void 0:o.call(e);return(0,Ge.noteOnce)(Array.isArray((i=e.name)!==null&&i!==void 0?i:d==null?void 0:d.name),'SchemaForm: fieldProps.name should be NamePath[] when valueType is "dependency"'),(0,Ge.noteOnce)(typeof e.columns=="function",'SchemaForm: columns should be a function when valueType is "dependency"'),Array.isArray((h=e.name)!==null&&h!==void 0?h:d==null?void 0:d.name)?(0,u.createElement)(He.Z,(0,a.Z)((0,a.Z)({name:e.name},d),{},{key:e.key}),function(v){return!e.columns||typeof e.columns!="function"?null:t(e.columns(v))}):null}return!0},Ut=M(96074),Mn=function(e){if(e.valueType==="divider"){var r;return(0,u.createElement)(Ut.Z,(0,a.Z)((0,a.Z)({},(r=e.getFieldProps)===null||r===void 0?void 0:r.call(e)),{},{key:e.key}))}return!0},Sn=M(92643),Or=function(e,r){var t=r.action,o=r.formRef,i=r.type,h=r.originItem,d=(0,a.Z)((0,a.Z)({},(0,bn.Z)(e,["dataIndex","width","render","renderFormItem","renderText","title"])),{},{name:e.dataIndex,width:e.width,render:e!=null&&e.render?function(O,C,g){var Z,y,f;return e==null||(Z=e.render)===null||Z===void 0?void 0:Z.call(e,O,C,g,t==null?void 0:t.current,(0,a.Z)((0,a.Z)({type:i},e),{},{formItemProps:(y=e.getFormItemProps)===null||y===void 0?void 0:y.call(e),fieldProps:(f=e.getFieldProps)===null||f===void 0?void 0:f.call(e)}))}:void 0}),v=function(){return(0,s.jsx)(Sn.Z,(0,a.Z)((0,a.Z)({},d),{},{ignoreFormItem:!0}))},c=e!=null&&e.renderFormItem?function(O,C){var g,Z,y,f=(0,dn.Y)((0,a.Z)((0,a.Z)({},C),{},{onChange:void 0}));return e==null||(g=e.renderFormItem)===null||g===void 0?void 0:g.call(e,(0,a.Z)((0,a.Z)({type:i},e),{},{formItemProps:(Z=e.getFormItemProps)===null||Z===void 0?void 0:Z.call(e),fieldProps:(y=e.getFieldProps)===null||y===void 0?void 0:y.call(e),originProps:h}),(0,a.Z)((0,a.Z)({},f),{},{defaultRender:v,type:i}),o.current)}:void 0;if(e!=null&&e.renderFormItem){var T=c==null?void 0:c(null,{});if(!T||e.ignoreFormItem)return T}return(0,u.createElement)(Sn.Z,(0,a.Z)((0,a.Z)({},d),{},{key:[e.key,e.index||0].join("-"),renderFormItem:c}))},Gt=M(17186),Kr=function(e,r){var t=r.genItems;if(e.valueType==="formList"&&e.dataIndex){var o,i;return!e.columns||!Array.isArray(e.columns)?null:(0,u.createElement)(Gt.u,(0,a.Z)((0,a.Z)({},(o=e.getFormItemProps)===null||o===void 0?void 0:o.call(e)),{},{key:e.key,name:e.dataIndex,label:e.label,initialValue:e.initialValue,colProps:e.colProps,rowProps:e.rowProps},(i=e.getFieldProps)===null||i===void 0?void 0:i.call(e)),t(e.columns))}return!0},St=M(96365),Lr=M(90789),Ar=M(2514),Jt=["children","value","valuePropName","onChange","fieldProps","space","type","transform","convertValue"],Br=["children","space","valuePropName"],l={space:Tn.Z,group:St.Z.Group};function m(n){var e=arguments.length<=1?void 0:arguments[1];return e&&e.target&&n in e.target?e.target[n]:e}var w=function(e){var r=e.children,t=e.value,o=t===void 0?[]:t,i=e.valuePropName,h=e.onChange,d=e.fieldProps,v=e.space,c=e.type,T=c===void 0?"space":c,O=e.transform,C=e.convertValue,g=(0,ve.Z)(e,Jt),Z=(0,Ze.J)(function(S,z){var W,P=(0,Ye.Z)(o);P[z]=m(i||"value",S),h==null||h(P),d==null||(W=d.onChange)===null||W===void 0||W.call(d,P)}),y=-1,f=(0,Vt.Z)(r).map(function(S){if(u.isValidElement(S)){var z,W,P;y+=1;var H=y,G=(S==null||(z=S.type)===null||z===void 0?void 0:z.displayName)==="ProFormComponent"||(S==null||(W=S.props)===null||W===void 0?void 0:W.readonly),A=G?(0,a.Z)((0,a.Z)({key:H,ignoreFormItem:!0},S.props||{}),{},{fieldProps:(0,a.Z)((0,a.Z)({},S==null||(P=S.props)===null||P===void 0?void 0:P.fieldProps),{},{onChange:function(){Z(arguments.length<=0?void 0:arguments[0],H)}}),value:o==null?void 0:o[H],onChange:void 0}):(0,a.Z)((0,a.Z)({key:H},S.props||{}),{},{value:o==null?void 0:o[H],onChange:function($){var E,V;Z($,H),(E=(V=S.props).onChange)===null||E===void 0||E.call(V,$)}});return u.cloneElement(S,A)}return S}),I=l[T],U=(0,Ar.zx)(g),j=U.RowWrapper,k=(0,u.useMemo)(function(){return(0,a.Z)({},T==="group"?{compact:!0}:{})},[T]),Y=(0,u.useCallback)(function(S){var z=S.children;return(0,s.jsx)(I,(0,a.Z)((0,a.Z)((0,a.Z)({},k),v),{},{align:"start",children:z}))},[I,v,k]);return(0,s.jsx)(j,{Wrapper:Y,children:f})},ee=u.forwardRef(function(n,e){var r=n.children,t=n.space,o=n.valuePropName,i=(0,ve.Z)(n,Br);return(0,u.useImperativeHandle)(e,function(){return{}}),(0,s.jsx)(w,(0,a.Z)((0,a.Z)((0,a.Z)({space:t,valuePropName:o},i.fieldProps),{},{onChange:void 0},i),{},{children:r}))}),fe=(0,Lr.G)(ee),xe=fe,Te=function(e,r){var t=r.genItems;if(e.valueType==="formSet"&&e.dataIndex){var o,i;return!e.columns||!Array.isArray(e.columns)?null:(0,u.createElement)(xe,(0,a.Z)((0,a.Z)({},(o=e.getFormItemProps)===null||o===void 0?void 0:o.call(e)),{},{key:e.key,initialValue:e.initialValue,name:e.dataIndex,label:e.label,colProps:e.colProps,rowProps:e.rowProps},(i=e.getFieldProps)===null||i===void 0?void 0:i.call(e)),t(e.columns))}return!0},ce=kn.A.Group,Pe=function(e,r){var t=r.genItems;if(e.valueType==="group"){var o;return!e.columns||!Array.isArray(e.columns)?null:(0,s.jsx)(ce,(0,a.Z)((0,a.Z)({label:e.label,colProps:e.colProps,rowProps:e.rowProps},(o=e.getFieldProps)===null||o===void 0?void 0:o.call(e)),{},{children:t(e.columns)}),e.key)}return!0},nn=function(e){return e.valueType&&typeof e.valueType=="string"&&["index","indexBorder","option"].includes(e==null?void 0:e.valueType)?null:!0},Xe=[nn,Pe,Kr,Te,Mn,bt],Gn=function(e,r){for(var t=0;t");return o}return{Provider:r,useContainer:t}}function Sl(n){return n.useContainer()}function Na(){var n,e,r,t,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=(0,u.useRef)(),h=(0,u.useRef)(null),d=(0,u.useRef)(),v=(0,u.useRef)(),c=(0,u.useState)(""),T=(0,ae.Z)(c,2),O=T[0],C=T[1],g=(0,u.useRef)([]),Z=(0,Ee.Z)(function(){return o.size||o.defaultSize||"middle"},{value:o.size,onChange:o.onSizeChange}),y=(0,ae.Z)(Z,2),f=y[0],I=y[1],U=(0,u.useMemo)(function(){var P,H;if(!(o==null||(P=o.columnsState)===null||P===void 0)&&P.defaultValue)return o.columnsState.defaultValue;var G={};return(H=o.columns)===null||H===void 0||H.forEach(function(A,q){var $=A.key,E=A.dataIndex,V=A.fixed,L=A.disable,p=vn($!=null?$:E,q);p&&(G[p]={show:!0,fixed:V,disable:L})}),G},[o.columns]),j=(0,Ee.Z)(function(){var P,H,G=o.columnsState||{},A=G.persistenceType,q=G.persistenceKey;if(q&&A&&typeof window!="undefined"){var $=window[A];try{var E=$==null?void 0:$.getItem(q);if(E)return JSON.parse(E)}catch(V){console.warn(V)}}return o.columnsStateMap||((P=o.columnsState)===null||P===void 0?void 0:P.value)||((H=o.columnsState)===null||H===void 0?void 0:H.defaultValue)||U},{value:((n=o.columnsState)===null||n===void 0?void 0:n.value)||o.columnsStateMap,onChange:((e=o.columnsState)===null||e===void 0?void 0:e.onChange)||o.onColumnsStateChange}),k=(0,ae.Z)(j,2),Y=k[0],S=k[1];(0,u.useLayoutEffect)(function(){var P=o.columnsState||{},H=P.persistenceType,G=P.persistenceKey;if(G&&H&&typeof window!="undefined"){var A=window[H];try{var q=A==null?void 0:A.getItem(G);S(q?JSON.parse(q):U)}catch($){console.warn($)}}},[o.columnsState,U,S]),(0,Ge.noteOnce)(!o.columnsStateMap,"columnsStateMap\u5DF2\u7ECF\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 columnsState.value \u66FF\u6362"),(0,Ge.noteOnce)(!o.columnsStateMap,"columnsStateMap has been discarded, please use columnSstate.value replacement");var z=(0,u.useCallback)(function(){var P=o.columnsState||{},H=P.persistenceType,G=P.persistenceKey;if(!(!G||!H||typeof window=="undefined")){var A=window[H];try{A==null||A.removeItem(G)}catch(q){console.warn(q)}}},[o.columnsState]);(0,u.useEffect)(function(){var P,H;if(!(!(!((P=o.columnsState)===null||P===void 0)&&P.persistenceKey)||!(!((H=o.columnsState)===null||H===void 0)&&H.persistenceType))&&typeof window!="undefined"){var G=o.columnsState,A=G.persistenceType,q=G.persistenceKey,$=window[A];try{$==null||$.setItem(q,JSON.stringify(Y))}catch(E){console.warn(E),z()}}},[(r=o.columnsState)===null||r===void 0?void 0:r.persistenceKey,Y,(t=o.columnsState)===null||t===void 0?void 0:t.persistenceType]);var W={action:i.current,setAction:function(H){i.current=H},sortKeyColumns:g.current,setSortKeyColumns:function(H){g.current=H},propsRef:v,columnsMap:Y,keyWords:O,setKeyWords:function(H){return C(H)},setTableSize:I,tableSize:f,prefixName:d.current,setPrefixName:function(H){d.current=H},setColumnsMap:S,columns:o.columns,rootDomRef:h,clearPersistenceStorage:z,defaultColumnKeyMap:U};return Object.defineProperty(W,"prefixName",{get:function(){return d.current}}),Object.defineProperty(W,"sortKeyColumns",{get:function(){return g.current}}),Object.defineProperty(W,"action",{get:function(){return i.current}}),W}var Oa=Ma(Na),Hn=Oa,Ka={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},La=Ka,Qr=function(e,r){return u.createElement(Fn.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:r,icon:La}))};Qr.displayName="VerticalAlignTopOutlined";var Aa=u.forwardRef(Qr),Ba={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z"}}]},name:"vertical-align-middle",theme:"outlined"},$a=Ba,qr=function(e,r){return u.createElement(Fn.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:r,icon:$a}))};qr.displayName="VerticalAlignMiddleOutlined";var Da=u.forwardRef(qr),za={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-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.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},Va=za,_r=function(e,r){return u.createElement(Fn.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:r,icon:Va}))};_r.displayName="VerticalAlignBottomOutlined";var ka=u.forwardRef(_r),Ha=M(14e3),ea=M(55241),Wa=M(32808),Ua=function(e){var r,t,o,i;return i={},(0,J.Z)(i,e.componentCls,{width:"auto","&-title":{display:"flex",alignItems:"center",justifyContent:"space-between",height:"32px"},"&-overlay":(t={"*":{fontFamily:e.fontFamily,boxSizing:"border-box"}},(0,J.Z)(t,"".concat(e.antCls,"-popover-inner-content"),{width:"200px",paddingBlock:0,paddingInline:0,paddingBlockEnd:8}),(0,J.Z)(t,"".concat(e.antCls,"-tree-node-content-wrapper:hover"),{backgroundColor:"transparent"}),(0,J.Z)(t,"".concat(e.antCls,"-tree-draggable-icon"),{cursor:"grab"}),(0,J.Z)(t,"".concat(e.antCls,"-tree-treenode"),(r={alignItems:"center","&:hover":(0,J.Z)({},"".concat(e.componentCls,"-list-item-option"),{display:"block"})},(0,J.Z)(r,"".concat(e.antCls,"-tree-checkbox"),{marginInlineEnd:"4px"}),(0,J.Z)(r,"".concat(e.antCls,"-tree-title"),{width:"100%"}),r)),t)}),(0,J.Z)(i,"".concat(e.componentCls,"-list"),(o={display:"flex",flexDirection:"column",width:"100%",paddingBlockStart:8},(0,J.Z)(o,"&".concat(e.componentCls,"-list-group"),{paddingBlockStart:0}),(0,J.Z)(o,"&-title",{marginBlockStart:"6px",marginBlockEnd:"6px",paddingInlineStart:"24px",color:e.colorTextSecondary,fontSize:"12px"}),(0,J.Z)(o,"&-item",{display:"flex",alignItems:"center","&-title":{flex:1},"&-option":{display:"none",float:"right",cursor:"pointer","> span":{"> span.anticon":{color:e.colorPrimary}},"> span + span":{marginInlineStart:8}}}),o)),i};function Ga(n){return(0,cn.Xj)("ColumnSetting",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Ua(r)]})}var Ja=["key","dataIndex","children"],Ya=["disabled"],$r=function(e){var r=e.title,t=e.show,o=e.children,i=e.columnKey,h=e.fixed,d=Hn.useContainer(),v=d.columnsMap,c=d.setColumnsMap;return t?(0,s.jsx)(Jn.Z,{title:r,children:(0,s.jsx)("span",{onClick:function(O){O.stopPropagation(),O.preventDefault();var C=v[i]||{},g=(0,a.Z)((0,a.Z)({},v),{},(0,J.Z)({},i,(0,a.Z)((0,a.Z)({},C),{},{fixed:h})));c(g)},children:o})}):null},Xa=function(e){var r=e.columnKey,t=e.isLeaf,o=e.title,i=e.className,h=e.fixed,d=(0,ge.YB)(),v=(0,u.useContext)(ge.L_),c=v.hashId,T=(0,s.jsxs)("span",{className:"".concat(i,"-list-item-option ").concat(c),children:[(0,s.jsx)($r,{columnKey:r,fixed:"left",title:d.getMessage("tableToolBar.leftPin","\u56FA\u5B9A\u5728\u5217\u9996"),show:h!=="left",children:(0,s.jsx)(Aa,{})}),(0,s.jsx)($r,{columnKey:r,fixed:void 0,title:d.getMessage("tableToolBar.noPin","\u4E0D\u56FA\u5B9A"),show:!!h,children:(0,s.jsx)(Da,{})}),(0,s.jsx)($r,{columnKey:r,fixed:"right",title:d.getMessage("tableToolBar.rightPin","\u56FA\u5B9A\u5728\u5217\u5C3E"),show:h!=="right",children:(0,s.jsx)(ka,{})})]});return(0,s.jsxs)("span",{className:"".concat(i,"-list-item ").concat(c),children:[(0,s.jsx)("div",{className:"".concat(i,"-list-item-title ").concat(c),children:o}),t?null:T]},r)},Dr=function(e){var r,t,o,i=e.list,h=e.draggable,d=e.checkable,v=e.className,c=e.showTitle,T=c===void 0?!0:c,O=e.title,C=e.listHeight,g=C===void 0?280:C,Z=(0,u.useContext)(ge.L_),y=Z.hashId,f=Hn.useContainer(),I=f.columnsMap,U=f.setColumnsMap,j=f.sortKeyColumns,k=f.setSortKeyColumns,Y=i&&i.length>0,S=(0,u.useMemo)(function(){if(!Y)return{};var H=[],G=new Map,A=function q($,E){return $.map(function(V){var L,p=V.key,D=V.dataIndex,K=V.children,B=(0,ve.Z)(V,Ja),b=vn(p,[E==null?void 0:E.columnKey,B.index].filter(Boolean).join("-")),R=I[b||"null"]||{show:!0};R.show!==!1&&!K&&H.push(b);var F=(0,a.Z)((0,a.Z)({key:b},(0,bn.Z)(B,["className"])),{},{selectable:!1,disabled:R.disable===!0,disableCheckbox:typeof R.disable=="boolean"?R.disable:(L=R.disable)===null||L===void 0?void 0:L.checkbox,isLeaf:E?!0:void 0});if(K){var x;F.children=q(K,(0,a.Z)((0,a.Z)({},R),{},{columnKey:b})),!((x=F.children)===null||x===void 0)&&x.every(function(N){return H==null?void 0:H.includes(N.key)})&&H.push(b)}return G.set(p,F),F})};return{list:A(i),keys:H,map:G}},[I,i,Y]),z=(0,Ze.J)(function(H,G,A){var q=(0,a.Z)({},I),$=(0,Ye.Z)(j),E=$.findIndex(function(D){return D===H}),V=$.findIndex(function(D){return D===G}),L=A>E;if(!(E<0)){var p=$[E];$.splice(E,1),A===0?$.unshift(p):$.splice(L?V:V+1,0,p),$.forEach(function(D,K){q[D]=(0,a.Z)((0,a.Z)({},q[D]||{}),{},{order:K})}),U(q),k($)}}),W=(0,Ze.J)(function(H){var G=(0,a.Z)({},I),A=function q($){var E,V,L=(0,a.Z)({},G[$]);if(L.show=H.checked,!((E=S.map)===null||E===void 0||(V=E.get($))===null||V===void 0)&&V.children){var p,D;(p=S.map.get($))===null||p===void 0||(D=p.children)===null||D===void 0||D.forEach(function(K){return q(K.key)})}G[$]=L};A(H.node.key),U((0,a.Z)({},G))});if(!Y)return null;var P=(0,s.jsx)(Ha.Z,{itemHeight:24,draggable:h&&!!(!((r=S.list)===null||r===void 0)&&r.length)&&((t=S.list)===null||t===void 0?void 0:t.length)>1,checkable:d,onDrop:function(G){var A=G.node.key,q=G.dragNode.key,$=G.dropPosition,E=G.dropToGap,V=$===-1||!E?$+1:$;z(q,A,V)},blockNode:!0,onCheck:function(G,A){return W(A)},checkedKeys:S.keys,showLine:!1,titleRender:function(G){var A=(0,a.Z)((0,a.Z)({},G),{},{children:void 0});return A.title?(0,s.jsx)(Xa,(0,a.Z)((0,a.Z)({className:v},A),{},{title:(0,je.h)(A.title,A),columnKey:A.key})):null},height:g,treeData:(o=S.list)===null||o===void 0?void 0:o.map(function(H){var G=H.disabled,A=(0,ve.Z)(H,Ya);return A})});return(0,s.jsxs)(s.Fragment,{children:[T&&(0,s.jsx)("span",{className:"".concat(v,"-list-title ").concat(y),children:O}),P]})},Qa=function(e){var r=e.localColumns,t=e.className,o=e.draggable,i=e.checkable,h=e.listsHeight,d=(0,u.useContext)(ge.L_),v=d.hashId,c=[],T=[],O=[],C=(0,ge.YB)();r.forEach(function(y){if(!y.hideInSetting){var f=y.fixed;if(f==="left"){T.push(y);return}if(f==="right"){c.push(y);return}O.push(y)}});var g=c&&c.length>0,Z=T&&T.length>0;return(0,s.jsxs)("div",{className:Be()("".concat(t,"-list"),v,(0,J.Z)({},"".concat(t,"-list-group"),g||Z)),children:[(0,s.jsx)(Dr,{title:C.getMessage("tableToolBar.leftFixedTitle","\u56FA\u5B9A\u5728\u5DE6\u4FA7"),list:T,draggable:o,checkable:i,className:t,listHeight:h}),(0,s.jsx)(Dr,{list:O,draggable:o,checkable:i,title:C.getMessage("tableToolBar.noFixedTitle","\u4E0D\u56FA\u5B9A"),showTitle:Z||g,className:t,listHeight:h}),(0,s.jsx)(Dr,{title:C.getMessage("tableToolBar.rightFixedTitle","\u56FA\u5B9A\u5728\u53F3\u4FA7"),list:c,draggable:o,checkable:i,className:t,listHeight:h})]})};function qa(n){var e,r,t=(0,u.useRef)(null),o=Hn.useContainer(),i=n.columns,h=n.checkedReset,d=h===void 0?!0:h,v=o.columnsMap,c=o.setColumnsMap,T=o.clearPersistenceStorage;(0,u.useEffect)(function(){var z,W;if(!((z=o.propsRef.current)===null||z===void 0||(W=z.columnsState)===null||W===void 0)&&W.value){var P,H;t.current=JSON.parse(JSON.stringify(((P=o.propsRef.current)===null||P===void 0||(H=P.columnsState)===null||H===void 0?void 0:H.value)||{}))}},[]);var O=(0,Ze.J)(function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,W={},P=function H(G){G.forEach(function(A){var q=A.key,$=A.fixed,E=A.index,V=A.children,L=A.disable,p=vn(q,E);if(p){var D,K;W[p]={show:L?(D=v[p])===null||D===void 0?void 0:D.show:z,fixed:$,disable:L,order:(K=v[p])===null||K===void 0?void 0:K.order}}V&&H(V)})};P(i),c(W)}),C=(0,Ze.J)(function(z){z.target.checked?O():O(!1)}),g=(0,Ze.J)(function(){var z,W;T==null||T(),c(t.current||((z=o.propsRef.current)===null||z===void 0||(W=z.columnsState)===null||W===void 0?void 0:W.defaultValue)||o.defaultColumnKeyMap)}),Z=Object.values(v).filter(function(z){return!z||z.show===!1}),y=Z.length>0&&Z.length!==i.length,f=(0,ge.YB)(),I=(0,u.useContext)(Ae.ZP.ConfigContext),U=I.getPrefixCls,j=U("pro-table-column-setting"),k=Ga(j),Y=k.wrapSSR,S=k.hashId;return Y((0,s.jsx)(ea.Z,{arrowPointAtCenter:!0,title:(0,s.jsxs)("div",{className:"".concat(j,"-title ").concat(S),children:[(0,s.jsx)(Wa.Z,{indeterminate:y,checked:Z.length===0&&Z.length!==i.length,onChange:function(W){C(W)},children:f.getMessage("tableToolBar.columnDisplay","\u5217\u5C55\u793A")}),d?(0,s.jsx)("a",{onClick:g,className:"".concat(j,"-action-rest-button"),children:f.getMessage("tableToolBar.reset","\u91CD\u7F6E")}):null,n!=null&&n.extra?(0,s.jsx)(Tn.Z,{size:12,align:"center",children:n.extra}):null]}),overlayClassName:"".concat(j,"-overlay ").concat(S),trigger:"click",placement:"bottomRight",content:(0,s.jsx)(Qa,{checkable:(e=n.checkable)!==null&&e!==void 0?e:!0,draggable:(r=n.draggable)!==null&&r!==void 0?r:!0,className:j,localColumns:i,listsHeight:n.listsHeight}),children:n.children||(0,s.jsx)(Jn.Z,{title:f.getMessage("tableToolBar.columnSetting","\u5217\u8BBE\u7F6E"),children:(0,s.jsx)(Xr.Z,{})})}))}var _a=qa,Xt=M(93980),eo=M(68508),na=function(e){var r=(0,$t.n)((0,et.b)(),"4.24.0")>-1?{menu:e}:{overlay:(0,s.jsx)(eo.Z,(0,a.Z)({},e))};return(0,dn.Y)(r)},ta=M(13013),no=function(e){var r=(0,u.useContext)(ge.L_),t=r.hashId,o=e.items,i=o===void 0?[]:o,h=e.type,d=h===void 0?"inline":h,v=e.prefixCls,c=e.activeKey,T=(0,Ee.Z)(c,{value:c,onChange:e.onChange}),O=(0,ae.Z)(T,2),C=O[0],g=O[1];if(i.length<1)return null;var Z=i.find(function(f){return f.key===C})||i[0];if(d==="inline")return(0,s.jsx)("div",{className:Be()("".concat(v,"-menu"),"".concat(v,"-inline-menu"),t),children:i.map(function(f,I){return(0,s.jsx)("div",{onClick:function(){g(f.key)},className:Be()("".concat(v,"-inline-menu-item"),Z.key===f.key?"".concat(v,"-inline-menu-item-active"):void 0,t),children:f.label},f.key||I)})});if(d==="tab")return(0,s.jsx)(Xt.Z,{items:i.map(function(f){var I;return(0,a.Z)((0,a.Z)({},f),{},{key:(I=f.key)===null||I===void 0?void 0:I.toString()})}),activeKey:Z.key,onTabClick:function(I){return g(I)},children:i==null?void 0:i.map(function(f,I){return(0,u.createElement)(Xt.Z.TabPane,(0,a.Z)((0,a.Z)({},f),{},{key:f.key||I,tab:f.label}))})});var y=na({selectedKeys:[Z.key],onClick:function(I){g(I.key)},items:i.map(function(f,I){return{key:f.key||I,disabled:f.disabled,label:f.label}})});return(0,s.jsx)("div",{className:Be()("".concat(v,"-menu"),"".concat(v,"-dropdownmenu")),children:(0,s.jsx)(ta.Z,(0,a.Z)((0,a.Z)({trigger:["click"]},y),{},{children:(0,s.jsxs)(Tn.Z,{className:"".concat(v,"-dropdownmenu-label"),children:[Z.label,(0,s.jsx)(ft.Z,{})]})}))})},to=no,ro=function(e){var r;return(0,J.Z)({},e.componentCls,(r={lineHeight:"1","&-container":{display:"flex",justifyContent:"space-between",paddingBlock:e.padding,paddingInline:0,"&-mobile":{flexDirection:"column"}},"&-title":{display:"flex",alignItems:"center",justifyContent:"flex-start",color:e.colorTextHeading,fontWeight:"500",fontSize:e.fontSizeLG},"&-search:not(:last-child)":{display:"flex",alignItems:"center",justifyContent:"flex-start"},"&-setting-item":{marginBlock:0,marginInline:4,color:e.colorIconHover,fontSize:e.fontSizeLG,cursor:"pointer","> span":{display:"block",width:"100%",height:"100%"},"&:hover":{color:e.colorPrimary}},"&-left":(0,J.Z)({display:"flex",flexWrap:"wrap",alignItems:"center",gap:8,justifyContent:"flex-start",maxWidth:"calc(100% - 200px)"},"".concat(e.antCls,"-tabs"),{width:"100%"}),"&-right":{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",gap:8},"&-extra-line":{marginBlockEnd:e.margin},"&-setting-items":{display:"flex",gap:8,lineHeight:"32px",alignItems:"center"},"&-filter":(0,J.Z)({"&:not(:last-child)":{marginInlineEnd:e.margin},display:"flex",alignItems:"center"},"div.$".concat(e.antCls,"-pro-table-search"),{marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0}),"&-inline-menu-item":{display:"inline-block",marginInlineEnd:e.marginLG,cursor:"pointer",opacity:"0.75","&-active":{fontWeight:"bold",opacity:"1"}}},(0,J.Z)(r,"".concat(e.antCls,"-tabs-top > ").concat(e.antCls,"-tabs-nav"),(0,J.Z)({marginBlockEnd:0,"&::before":{borderBlockEnd:0}},"".concat(e.antCls,"-tabs-nav-list"),{marginBlockStart:0,"${token.antCls}-tabs-tab":{paddingBlockStart:0}})),(0,J.Z)(r,"&-dropdownmenu-label",{fontWeight:"bold",fontSize:e.fontSizeIcon,textAlign:"center",cursor:"pointer"}),(0,J.Z)(r,"@media (max-width: 768px)",(0,J.Z)({},e.componentCls,{"&-container":{display:"flex",flexWrap:"wrap",flexDirection:"column"},"&-left":{marginBlockEnd:"16px",maxWidth:"100%"}})),r))};function ao(n){return(0,cn.Xj)("ProTableListToolBar",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[ro(r)]})}function oo(n){if(u.isValidElement(n))return n;if(n){var e=n,r=e.icon,t=e.tooltip,o=e.onClick,i=e.key;return r&&t?(0,s.jsx)(Jn.Z,{title:t,children:(0,s.jsx)("span",{onClick:function(){o&&o(i)},children:r},i)}):r}return null}var lo=function(e){var r,t=e.prefixCls,o=e.tabs,i=o===void 0?{}:o,h=e.multipleLine,d=e.filtersNode;return h?(0,s.jsx)("div",{className:"".concat(t,"-extra-line"),children:i.items&&i.items.length?(0,s.jsx)(Xt.Z,{style:{width:"100%"},activeKey:i.activeKey,items:i.items.map(function(v,c){var T;return(0,a.Z)((0,a.Z)({label:v.tab},v),{},{key:((T=v.key)===null||T===void 0?void 0:T.toString())||(c==null?void 0:c.toString())})}),onChange:i.onChange,tabBarExtraContent:d,children:(r=i.items)===null||r===void 0?void 0:r.map(function(v,c){return(0,u.createElement)(Xt.Z.TabPane,(0,a.Z)((0,a.Z)({},v),{},{key:v.key||c,tab:v.tab}))})}):d}):null},io=function(e){var r=e.prefixCls,t=e.title,o=e.subTitle,i=e.tooltip,h=e.className,d=e.style,v=e.search,c=e.onSearch,T=e.multipleLine,O=T===void 0?!1:T,C=e.filter,g=e.actions,Z=g===void 0?[]:g,y=e.settings,f=y===void 0?[]:y,I=e.tabs,U=I===void 0?{}:I,j=e.menu,k=(0,u.useContext)(Ae.ZP.ConfigContext),Y=k.getPrefixCls,S=Y("pro-table-list-toolbar",r),z=ao(S),W=z.wrapSSR,P=z.hashId,H=(0,ge.YB)(),G=(0,u.useState)(!1),A=(0,ae.Z)(G,2),q=A[0],$=A[1],E=H.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),V=(0,u.useMemo)(function(){return v?u.isValidElement(v)?v:(0,s.jsx)(St.Z.Search,(0,a.Z)((0,a.Z)({style:{width:200},placeholder:E},v),{},{onSearch:function(){var x=(0,ue.Z)((0,_.Z)().mark(function X(){var Q,te,le,de,be,ke=arguments;return(0,_.Z)().wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:for(te=ke.length,le=new Array(te),de=0;dea":{fontSize:e.fontSize}}),(0,J.Z)(o,"".concat(e.antCls,"-table").concat(e.antCls,"-table-tbody").concat(e.antCls,"-table-wrapper:only-child").concat(e.antCls,"-table"),{marginBlock:0,marginInline:0}),(0,J.Z)(o,"".concat(e.antCls,"-table").concat(e.antCls,"-table-middle ").concat(e.componentCls),(0,J.Z)({marginBlock:0,marginInline:-8},"".concat(e.proComponentsCls,"-card"),{backgroundColor:"initial"})),(0,J.Z)(o,"& &-search",(t={marginBlockEnd:"16px",background:e.colorBgContainer,"&-ghost":{background:"transparent"}},(0,J.Z)(t,"&".concat(e.componentCls,"-form"),{marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:16,overflow:"unset"}),(0,J.Z)(t,"&-light-filter",{marginBlockEnd:0,paddingBlock:0,paddingInline:0}),(0,J.Z)(t,"&-form-option",(r={},(0,J.Z)(r,"".concat(e.antCls,"-form-item"),{}),(0,J.Z)(r,"".concat(e.antCls,"-form-item-label"),{}),(0,J.Z)(r,"".concat(e.antCls,"-form-item-control-input"),{}),r)),(0,J.Z)(t,"@media (max-width: 575px)",(0,J.Z)({},e.componentCls,(0,J.Z)({height:"auto !important",paddingBlockEnd:"24px"},"".concat(e.antCls,"-form-item-label"),{minWidth:"80px",textAlign:"start"}))),t)),(0,J.Z)(o,"&-toolbar",{display:"flex",alignItems:"center",justifyContent:"space-between",height:"64px",paddingInline:24,paddingBlock:0,"&-option":{display:"flex",alignItems:"center",justifyContent:"flex-end"},"&-title":{flex:"1",color:e.colorTextLabel,fontWeight:"500",fontSize:"16px",lineHeight:"24px",opacity:"0.85"}}),o)),(0,J.Z)(i,"@keyframes turn",{"0%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(90deg)"},"50%":{transform:"rotate(180deg)"},"75%":{transform:"rotate(270deg)"},"100%":{transform:"rotate(360deg)"}}),(0,J.Z)(i,"@media (max-width: ".concat(e.screenXS,")"),(0,J.Z)({},e.componentCls,(0,J.Z)({},"".concat(e.antCls,"-table"),{width:"100%",overflowX:"auto","&-thead > tr,&-tbody > tr":{"> th,> td":{whiteSpace:"pre",">span":{display:"block"}}}}))),(0,J.Z)(i,"@media (max-width: 575px)",(0,J.Z)({},"".concat(e.componentCls,"-toolbar"),{flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",height:"auto",marginBlockEnd:"16px",marginInlineStart:"16px",paddingBlock:8,paddingInline:8,paddingBlockStart:"16px",lineHeight:"normal","&-title":{marginBlockEnd:16},"&-option":{display:"flex",justifyContent:"space-between",width:"100%"},"&-default-option":{display:"flex",flex:"1",alignItems:"center",justifyContent:"flex-end"}})),i};function Io(n){return(0,cn.Xj)("ProTable",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Fo(r)]})}var Eo=["data","success","total"],jo=function(e){var r=e.pageInfo;if(r){var t=r.current,o=r.defaultCurrent,i=r.pageSize,h=r.defaultPageSize;return{current:t||o||1,total:0,pageSize:i||h||20}}return{current:1,total:0,pageSize:20}},Mo=function(e,r,t){var o=(0,u.useRef)(!1),i=t||{},h=i.onLoad,d=i.manual,v=i.polling,c=i.onRequestError,T=i.debounceTime,O=T===void 0?20:T,C=(0,u.useRef)(d),g=(0,u.useRef)(),Z=(0,Ee.Z)(r,{value:t==null?void 0:t.dataSource,onChange:t==null?void 0:t.onDataSourceChange}),y=(0,ae.Z)(Z,2),f=y[0],I=y[1],U=(0,Ee.Z)(!1,{value:t==null?void 0:t.loading,onChange:t==null?void 0:t.onLoadingChange}),j=(0,ae.Z)(U,2),k=j[0],Y=j[1],S=(0,u.useRef)(!1),z=(0,Ee.Z)(function(){return jo(t)},{onChange:t==null?void 0:t.onPageInfoChange}),W=(0,ae.Z)(z,2),P=W[0],H=W[1],G=(0,Ze.J)(function(N){(N.current!==P.current||N.pageSize!==P.pageSize||N.total!==P.total)&&H(N)}),A=(0,Ee.Z)(!1),q=(0,ae.Z)(A,2),$=q[0],E=q[1],V=function(X,Q){I(X),(P==null?void 0:P.total)!==Q&&G((0,a.Z)((0,a.Z)({},P),{},{total:Q||X.length}))},L=(0,Ue.D)(P==null?void 0:P.current),p=(0,Ue.D)(P==null?void 0:P.pageSize),D=(0,Ue.D)(v),K=t||{},B=K.effects,b=B===void 0?[]:B,R=(0,Ze.J)(function(){(0,rn.Z)(k)==="object"?Y((0,a.Z)((0,a.Z)({},k),{},{spinning:!1})):Y(!1),E(!1)}),F=function(){var N=(0,ue.Z)((0,_.Z)().mark(function X(Q){var te,le,de,be,ke,Qe,Ne,Nn,oe,ie,Ie,Ce;return(0,_.Z)().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(!C.current){he.next=3;break}return C.current=!1,he.abrupt("return");case 3:return Q?E(!0):(0,rn.Z)(k)==="object"?Y((0,a.Z)((0,a.Z)({},k),{},{spinning:!0})):Y(!0),S.current=!0,te=P||{},le=te.pageSize,de=te.current,he.prev=6,be=(t==null?void 0:t.pageInfo)!==!1?{current:de,pageSize:le}:void 0,he.next=10,e==null?void 0:e(be);case 10:if(he.t0=he.sent,he.t0){he.next=13;break}he.t0={};case 13:if(ke=he.t0,Qe=ke.data,Ne=Qe===void 0?[]:Qe,Nn=ke.success,oe=ke.total,ie=oe===void 0?0:oe,Ie=(0,ve.Z)(ke,Eo),Nn!==!1){he.next=22;break}return he.abrupt("return",[]);case 22:return Ce=It(Ne,[t.postData].filter(function(rt){return rt})),V(Ce,ie),h==null||h(Ce,Ie),he.abrupt("return",Ce);case 28:if(he.prev=28,he.t1=he.catch(6),c!==void 0){he.next=32;break}throw new Error(he.t1);case 32:f===void 0&&I([]),c(he.t1);case 34:return he.prev=34,S.current=!1,R(),he.finish(34);case 38:return he.abrupt("return",[]);case 39:case"end":return he.stop()}},X,null,[[6,28,34,38]])}));return function(Q){return N.apply(this,arguments)}}(),x=(0,Ln.D)(function(){var N=(0,ue.Z)((0,_.Z)().mark(function X(Q){var te,le;return(0,_.Z)().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(g.current&&clearTimeout(g.current),!(k&&typeof k=="boolean"||S.current||!e)){be.next=3;break}return be.abrupt("return");case 3:return be.next=5,F(Q);case 5:return te=be.sent,le=(0,je.h)(v,te),le&&!o.current&&(g.current=setTimeout(function(){x.run(le)},Math.max(le,2e3))),be.abrupt("return",te);case 9:case"end":return be.stop()}},X)}));return function(X){return N.apply(this,arguments)}}(),O||30);return(0,u.useEffect)(function(){return v||clearTimeout(g.current),!D&&v&&x.run(!0),function(){clearTimeout(g.current)}},[v]),(0,u.useLayoutEffect)(function(){return o.current=!1,function(){o.current=!0}},[]),(0,u.useEffect)(function(){var N=P||{},X=N.current,Q=N.pageSize;(!L||L===X)&&(!p||p===Q)||t.pageInfo&&f&&(f==null?void 0:f.length)>Q||X!==void 0&&f&&f.length<=Q&&x.run(!1)},[P==null?void 0:P.current]),(0,u.useEffect)(function(){!p||x.run(!1)},[P==null?void 0:P.pageSize]),(0,un.KW)(function(){return x.run(!1),d||(C.current=!1),function(){x.cancel()}},[].concat((0,Ye.Z)(b),[d])),{dataSource:f,setDataSource:I,loading:k,reload:function(){var N=(0,ue.Z)((0,_.Z)().mark(function Q(){return(0,_.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.abrupt("return",x.run(!1));case 1:case"end":return le.stop()}},Q)}));function X(){return N.apply(this,arguments)}return X}(),pageInfo:P,pollingLoading:$,reset:function(){var N=(0,ue.Z)((0,_.Z)().mark(function Q(){var te,le,de,be,ke,Qe,Ne,Nn;return(0,_.Z)().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:te=t||{},le=te.pageInfo,de=le||{},be=de.defaultCurrent,ke=be===void 0?1:be,Qe=de.defaultPageSize,Ne=Qe===void 0?20:Qe,Nn={current:ke,total:0,pageSize:Ne},G(Nn);case 4:case"end":return ie.stop()}},Q)}));function X(){return N.apply(this,arguments)}return X}(),setPageInfo:function(){var N=(0,ue.Z)((0,_.Z)().mark(function Q(te){return(0,_.Z)().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:G((0,a.Z)((0,a.Z)({},P),te));case 1:case"end":return de.stop()}},Q)}));function X(Q){return N.apply(this,arguments)}return X}()}},No=Mo,Oo=function(e){return function(r,t){var o,i,h=r.fixed,d=r.index,v=t.fixed,c=t.index;if(h==="left"&&v!=="left"||v==="right"&&h!=="right")return-2;if(v==="left"&&h!=="left"||h==="right"&&v!=="right")return 2;var T=r.key||"".concat(d),O=t.key||"".concat(c);if(((o=e[T])===null||o===void 0?void 0:o.order)||((i=e[O])===null||i===void 0?void 0:i.order)){var C,g;return(((C=e[T])===null||C===void 0?void 0:C.order)||0)-(((g=e[O])===null||g===void 0?void 0:g.order)||0)}return(r.index||0)-(t.index||0)}},Ko=M(99108),Lo=function(e){var r={};return Object.keys(e||{}).forEach(function(t){var o;Array.isArray(e[t])&&((o=e[t])===null||o===void 0?void 0:o.length)===0||e[t]!==void 0&&(r[t]=e[t])}),r},Ao=M(25514),Bo=function(e){var r;return!!(!(e==null||(r=e.valueType)===null||r===void 0)&&r.toString().startsWith("date")||(e==null?void 0:e.valueType)==="select"||(e==null?void 0:e.valueEnum))},$o=function(e){var r;return((r=e.ellipsis)===null||r===void 0?void 0:r.showTitle)===!1?!1:e.ellipsis},Do=function(e,r,t){if(r.copyable||r.ellipsis){var o=r.copyable&&t?{text:t,tooltips:["",""]}:void 0,i=Bo(r),h=$o(r)&&t?{tooltip:(r==null?void 0:r.tooltip)!==!1&&i?(0,s.jsx)("div",{className:"pro-table-tooltip-text",children:e}):t}:!1;return(0,s.jsx)(Ao.Z.Text,{style:{width:"100%",margin:0,padding:0},title:"",copyable:o,ellipsis:h,children:e})}return e},zo=M(74763),Vo=M(66758),ko=function(e){var r="".concat(e.antCls,"-progress-bg");return(0,J.Z)({},e.componentCls,{"&-multiple":{paddingBlockStart:6,paddingBlockEnd:12,paddingInline:8},"&-progress":{"&-success":(0,J.Z)({},r,{backgroundColor:e.colorSuccess}),"&-error":(0,J.Z)({},r,{backgroundColor:e.colorError}),"&-warning":(0,J.Z)({},r,{backgroundColor:e.colorWarning})},"&-rule":{display:"flex",alignItems:"center","&-icon":{"&-default":{display:"flex",alignItems:"center",justifyContent:"center",width:"14px",height:"22px","&-circle":{width:"6px",height:"6px",backgroundColor:e.colorTextSecondary,borderRadius:"4px"}},"&-loading":{color:e.colorPrimary},"&-error":{color:e.colorError},"&-success":{color:e.colorSuccess}},"&-text":{color:e.colorText}}})};function Ho(n){return(0,cn.Xj)("InlineErrorFormItem",function(e){var r=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[ko(r)]})}var Wo=["label","rules","name","children","popoverProps"],Uo=["errorType","rules","name","popoverProps","children"],ia={marginBlockStart:-5,marginBlockEnd:-5,marginInlineStart:0,marginInlineEnd:0},Go=function(e){var r=e.inputProps,t=e.input,o=e.extra,i=e.errorList,h=e.popoverProps,d=(0,u.useState)(!1),v=(0,ae.Z)(d,2),c=v[0],T=v[1],O=(0,u.useState)([]),C=(0,ae.Z)(O,2),g=C[0],Z=C[1],y=(0,u.useContext)(Ae.ZP.ConfigContext),f=y.getPrefixCls,I=f(),U=Ho("".concat(I,"-form-item-with-help")),j=U.wrapSSR,k=U.hashId;(0,u.useEffect)(function(){r.validateStatus!=="validating"&&Z(r.errors)},[r.errors,r.validateStatus]);var Y=(0,et.X)(g.length<1?!1:c,function(S){S!==c&&T(S)});return(0,s.jsx)(ea.Z,(0,a.Z)((0,a.Z)((0,a.Z)({trigger:(h==null?void 0:h.trigger)||"focus",placement:(h==null?void 0:h.placement)||"topRight"},Y),{},{getPopupContainer:h==null?void 0:h.getPopupContainer,getTooltipContainer:h==null?void 0:h.getTooltipContainer,content:j((0,s.jsxs)("div",{className:"".concat(I,"-form-item-with-help ").concat(k),children:[r.validateStatus==="validating"?(0,s.jsx)(De.Z,{}):null,i]}))},h),{},{children:(0,s.jsxs)("div",{children:[t,o]})}),"popover")},Jo=function(e){var r=e.label,t=e.rules,o=e.name,i=e.children,h=e.popoverProps,d=(0,ve.Z)(e,Wo);return(0,s.jsx)(_e.Z.Item,(0,a.Z)((0,a.Z)({preserve:!1,name:o,rules:t,hasFeedback:!0,_internalItemRender:{mark:"pro_table_render",render:function(c,T){return(0,s.jsx)(Go,(0,a.Z)({inputProps:c,popoverProps:h},T))}}},d),{},{style:(0,a.Z)((0,a.Z)({},ia),d==null?void 0:d.style),children:i}))},Yo=function(e){var r=e.errorType,t=e.rules,o=e.name,i=e.popoverProps,h=e.children,d=(0,ve.Z)(e,Uo);return o&&(t==null?void 0:t.length)&&r==="popover"?(0,s.jsx)(Jo,(0,a.Z)((0,a.Z)({name:o,rules:t,popoverProps:i},d),{},{children:h})):(0,s.jsx)(_e.Z.Item,(0,a.Z)((0,a.Z)({rules:t},d),{},{style:(0,a.Z)((0,a.Z)({},ia),d.style),name:o,children:h}))},zr=function(e,r,t){return r===void 0?e:(0,je.h)(e,r,t)},Xo=["children"],Qo=["",null,void 0],ua=function(){for(var e=arguments.length,r=new Array(e),t=0;tle.length?(le.push(N),le):(le.splice((d==null?void 0:d.current)*(d==null?void 0:d.pageSize)-1,0,N),le)}return[].concat((0,Ye.Z)(o.dataSource),[N])},E=function(){return(0,a.Z)((0,a.Z)({},H),{},{size:c,rowSelection:v===!1?void 0:v,className:r,style:O,columns:A.map(function(R){return R.isExtraColumns?R.extraColumn:R}),loading:o.loading,dataSource:W.newLineRecord?$(o.dataSource):o.dataSource,pagination:d,onChange:function(F,x,N,X){var Q;if((Q=H.onChange)===null||Q===void 0||Q.call(H,F,x,N,X),q||j((0,dn.Y)(x)),Array.isArray(N)){var te=N.reduce(function(ke,Qe){return(0,a.Z)((0,a.Z)({},ke),{},(0,J.Z)({},"".concat(Qe.field),Qe.order))},{});U((0,dn.Y)(te))}else{var le,de=(le=N.column)===null||le===void 0?void 0:le.sorter,be=(de==null?void 0:de.toString())===de;U((0,dn.Y)((0,J.Z)({},"".concat(be?de:N.field),N.order))||{})}}})},V=(0,s.jsx)($n.Z,(0,a.Z)((0,a.Z)({},E()),{},{rowKey:e})),L=n.tableViewRender?n.tableViewRender((0,a.Z)((0,a.Z)({},E()),{},{rowSelection:v!==!1?v:void 0}),V):V,p=(0,u.useMemo)(function(){if(n.editable&&!n.name){var b,R,F,x;return(0,s.jsxs)(s.Fragment,{children:[C,f,(0,u.createElement)(We.ZP,(0,a.Z)((0,a.Z)({},(b=n.editable)===null||b===void 0?void 0:b.formProps),{},{formRef:(R=n.editable)===null||R===void 0||(F=R.formProps)===null||F===void 0?void 0:F.formRef,component:!1,form:(x=n.editable)===null||x===void 0?void 0:x.form,onValuesChange:W.onValuesChange,key:"table",submitter:!1,omitNil:!1,dateFormatter:n.dateFormatter}),L)]})}return(0,s.jsxs)(s.Fragment,{children:[C,f,L]})},[f,n.loading,!!n.editable,L,C]),D=y===!1||!!n.name?p:(0,s.jsx)(ye,(0,a.Z)((0,a.Z)({ghost:n.ghost,bordered:Et("table",z),bodyStyle:C?{paddingBlockStart:0}:{padding:0}},y),{},{children:p})),K=function(){return n.tableRender?n.tableRender(n,D,{toolbar:C||void 0,alert:f||void 0,table:L||void 0}):D},B=(0,s.jsxs)("div",{className:Be()(S,(0,J.Z)({},"".concat(t,"-polling"),o.pollingLoading)),style:Z,ref:G.rootDomRef,children:[Y?null:g,h!=="form"&&n.tableExtraRender&&(0,s.jsx)("div",{className:Be()(S,"".concat(t,"-extra")),children:n.tableExtraRender(n,o.dataSource||[])}),h!=="form"&&K()]});return!k||!(k!=null&&k.fullScreen)?B:(0,s.jsx)(Ae.ZP,{getPopupContainer:function(){return G.rootDomRef.current||document.body},children:B})}var il={},ul=function(e){var r,t=e.cardBordered,o=e.request,i=e.className,h=e.params,d=h===void 0?il:h,v=e.defaultData,c=e.headerTitle,T=e.postData,O=e.ghost,C=e.pagination,g=e.actionRef,Z=e.columns,y=Z===void 0?[]:Z,f=e.toolBarRender,I=e.onLoad,U=e.onRequestError,j=e.style,k=e.cardProps,Y=e.tableStyle,S=e.tableClassName,z=e.columnsStateMap,W=e.onColumnsStateChange,P=e.options,H=e.search,G=e.name,A=e.onLoadingChange,q=e.rowSelection,$=q===void 0?!1:q,E=e.beforeSearchSubmit,V=e.tableAlertRender,L=e.defaultClassName,p=e.formRef,D=e.type,K=D===void 0?"table":D,B=e.columnEmptyText,b=B===void 0?"-":B,R=e.toolbar,F=e.rowKey,x=e.manualRequest,N=e.polling,X=e.tooltip,Q=e.revalidateOnFocus,te=Q===void 0?!1:Q,le=(0,ve.Z)(e,ol),de=Io(e.defaultClassName),be=de.wrapSSR,ke=de.hashId,Qe=Be()(L,i,ke),Ne=(0,u.useRef)(),Nn=(0,u.useRef)(),oe=p||Nn;(0,u.useImperativeHandle)(g,function(){return Ne.current});var ie=(0,Ee.Z)($?($==null?void 0:$.defaultSelectedRowKeys)||[]:void 0,{value:$?$.selectedRowKeys:void 0}),Ie=(0,ae.Z)(ie,2),Ce=Ie[0],On=Ie[1],he=(0,u.useRef)([]),rt=(0,u.useCallback)(function(ne,re){On(ne),(!$||!($!=null&&$.selectedRowKeys))&&(he.current=re)},[On]),Je=(0,Ee.Z)(function(){if(!(x||H!==!1))return{}}),Qt=(0,ae.Z)(Je,2),Kn=Qt[0],qt=Qt[1],fl=(0,Ee.Z)({}),ga=(0,ae.Z)(fl,2),Vr=ga[0],kr=ga[1],ml=(0,Ee.Z)({}),pa=(0,ae.Z)(ml,2),Hr=pa[0],Wr=pa[1];(0,u.useEffect)(function(){var ne=Pn(y),re=ne.sort,me=ne.filter;kr(me),Wr(re)},[]);var ya=(0,ge.YB)(),hl=(0,rn.Z)(C)==="object"?C:{defaultCurrent:1,defaultPageSize:20,pageSize:20,current:1},$e=Hn.useContainer(),Ca=(0,u.useMemo)(function(){if(!!o)return function(){var ne=(0,ue.Z)((0,_.Z)().mark(function re(me){var we,yn;return(0,_.Z)().wrap(function(Cn){for(;;)switch(Cn.prev=Cn.next){case 0:return we=(0,a.Z)((0,a.Z)((0,a.Z)({},me||{}),Kn),d),delete we._timestamp,Cn.next=4,o(we,Hr,Vr);case 4:return yn=Cn.sent,Cn.abrupt("return",yn);case 6:case"end":return Cn.stop()}},re)}));return function(re){return ne.apply(this,arguments)}}()},[Kn,d,Vr,Hr,o]),Fe=No(Ca,v,{pageInfo:C===!1?!1:hl,loading:e.loading,dataSource:e.dataSource,onDataSourceChange:e.onDataSourceChange,onLoad:I,onLoadingChange:A,onRequestError:U,postData:T,revalidateOnFocus:te,manual:Kn===void 0,polling:N,effects:[(0,en.P)(d),(0,en.P)(Kn),(0,en.P)(Vr),(0,en.P)(Hr)],debounceTime:e.debounceTime,onPageInfoChange:function(re){var me,we;K==="list"||!C||!Ca||(C==null||(me=C.onChange)===null||me===void 0||me.call(C,re.current,re.pageSize),C==null||(we=C.onShowSizeChange)===null||we===void 0||we.call(C,re.current,re.pageSize))}});(0,u.useEffect)(function(){var ne;if(!(e.manualRequest||!e.request||!te||((ne=e.form)===null||ne===void 0?void 0:ne.ignoreRules))){var re=function(){document.visibilityState==="visible"&&Fe.reload()};return document.addEventListener("visibilitychange",re),function(){return document.removeEventListener("visibilitychange",re)}}},[]);var Za=u.useRef(new Map),_t=u.useMemo(function(){return typeof F=="function"?F:function(ne,re){var me;return re===-1?ne==null?void 0:ne[F]:e.name?re==null?void 0:re.toString():(me=ne==null?void 0:ne[F])!==null&&me!==void 0?me:re==null?void 0:re.toString()}},[e.name,F]);(0,u.useMemo)(function(){var ne;if(!((ne=Fe.dataSource)===null||ne===void 0)&&ne.length){var re=Fe.dataSource.map(function(me){var we=_t(me,-1);return Za.current.set(we,me),we});return re}return[]},[Fe.dataSource,_t]),(0,u.useEffect)(function(){he.current=Ce==null?void 0:Ce.map(function(ne){var re;return(re=Za.current)===null||re===void 0?void 0:re.get(ne)})},[Ce]);var ba=(0,u.useMemo)(function(){var ne=C===!1?!1:(0,a.Z)({},C),re=(0,a.Z)((0,a.Z)({},Fe.pageInfo),{},{setPageInfo:function(we){var yn=we.pageSize,xn=we.current,Cn=Fe.pageInfo;if(yn===Cn.pageSize||Cn.current===1){Fe.setPageInfo({pageSize:yn,current:xn});return}o&&Fe.setDataSource([]),Fe.setPageInfo({pageSize:yn,current:K==="list"?xn:1})}});return o&&ne&&(delete ne.onChange,delete ne.onShowSizeChange),_n(ne,re,ya)},[C,Fe,ya]);(0,un.KW)(function(){var ne;e.request&&d&&Fe.dataSource&&(Fe==null||(ne=Fe.pageInfo)===null||ne===void 0?void 0:ne.current)!==1&&Fe.setPageInfo({current:1})},[d]),$e.setPrefixName(e.name);var Ur=(0,u.useCallback)(function(){$&&$.onChange&&$.onChange([],[],{type:"none"}),rt([],[])},[$,rt]);$e.setAction(Ne.current),$e.propsRef.current=e;var wt=gn((0,a.Z)((0,a.Z)({},e.editable),{},{tableName:e.name,getRowKey:_t,childrenColumnName:((r=e.expandable)===null||r===void 0?void 0:r.childrenColumnName)||"children",dataSource:Fe.dataSource||[],setDataSource:function(re){var me,we;(me=e.editable)===null||me===void 0||(we=me.onValuesChange)===null||we===void 0||we.call(me,void 0,re),Fe.setDataSource(re)}}));rr(Ne,Fe,{fullScreen:function(){var re;if(!(!(!((re=$e.rootDomRef)===null||re===void 0)&&re.current)||!document.fullscreenEnabled))if(document.fullscreenElement)document.exitFullscreen();else{var me;(me=$e.rootDomRef)===null||me===void 0||me.current.requestFullscreen()}},onCleanSelected:function(){Ur()},resetAll:function(){var re;Ur(),kr({}),Wr({}),$e.setKeyWords(void 0),Fe.setPageInfo({current:1}),oe==null||(re=oe.current)===null||re===void 0||re.resetFields(),qt({})},editableUtils:wt}),g&&(g.current=Ne.current);var at=(0,u.useMemo)(function(){var ne;return da({columns:y,counter:$e,columnEmptyText:b,type:K,editableUtils:wt,rowKey:F,childrenColumnName:(ne=e.expandable)===null||ne===void 0?void 0:ne.childrenColumnName}).sort(Oo($e.columnsMap))},[y,$e==null?void 0:$e.sortKeyColumns,$e==null?void 0:$e.columnsMap,b,K,wt.editableKeys&&wt.editableKeys.join(",")]);(0,un.Au)(function(){if(at&&at.length>0){var ne=at.map(function(re){return vn(re.key,re.index)});$e.setSortKeyColumns(ne)}},[at],["render","renderFormItem"],100),(0,un.KW)(function(){var ne=Fe.pageInfo,re=C||{},me=re.current,we=me===void 0?ne==null?void 0:ne.current:me,yn=re.pageSize,xn=yn===void 0?ne==null?void 0:ne.pageSize:yn;C&&(we||xn)&&(xn!==(ne==null?void 0:ne.pageSize)||we!==(ne==null?void 0:ne.current))&&Fe.setPageInfo({pageSize:xn||ne.pageSize,current:we||ne.current})},[C&&C.pageSize,C&&C.current]);var gl=(0,a.Z)((0,a.Z)({selectedRowKeys:Ce},$),{},{onChange:function(re,me,we){$&&$.onChange&&$.onChange(re,me,we),rt(re,me)}}),Gr=H!==!1&&(H==null?void 0:H.filterType)==="light",pl=function(re){if(P&&P.search){var me,we,yn=P.search===!0?{}:P.search,xn=yn.name,Cn=xn===void 0?"keyword":xn,bl=(me=P.search)===null||me===void 0||(we=me.onSearch)===null||we===void 0?void 0:we.call(me,$e.keyWords);if(bl!==!1){qt((0,a.Z)((0,a.Z)({},re),{},(0,J.Z)({},Cn,$e.keyWords)));return}}qt(re)},yl=(0,u.useMemo)(function(){if((0,rn.Z)(Fe.loading)==="object"){var ne;return((ne=Fe.loading)===null||ne===void 0?void 0:ne.spinning)||!1}return Fe.loading},[Fe.loading]),Sa=H===!1&&K!=="form"?null:(0,s.jsx)(Ea,{pagination:ba,beforeSearchSubmit:E,action:Ne,columns:y,onFormSearchSubmit:function(re){pl(re)},ghost:O,onReset:e.onReset,onSubmit:e.onSubmit,loading:!!yl,manualRequest:x,search:H,form:e.form,formRef:oe,type:e.type||"table",cardBordered:e.cardBordered,dateFormatter:e.dateFormatter}),Cl=f===!1?null:(0,s.jsx)(Po,{headerTitle:c,hideToolbar:P===!1&&!c&&!f&&!R&&!Gr,selectedRows:he.current,selectedRowKeys:Ce,tableColumn:at,tooltip:X,toolbar:R,onFormSearchSubmit:function(re){qt((0,a.Z)((0,a.Z)({},Kn),re))},searchNode:Gr?Sa:null,options:P,actionRef:Ne,toolBarRender:f}),Zl=$!==!1?(0,s.jsx)(Pt,{selectedRowKeys:Ce,selectedRows:he.current,onCleanSelected:Ur,alertOptionRender:le.tableAlertOptionRender,alertInfoRender:V,alwaysShowAlert:$==null?void 0:$.alwaysShowAlert}):null;return be((0,s.jsx)(ll,(0,a.Z)((0,a.Z)({},e),{},{name:G,defaultClassName:L,size:$e.tableSize,onSizeChange:$e.setTableSize,pagination:ba,searchNode:Sa,rowSelection:$!==!1?gl:void 0,className:Qe,tableColumn:at,isLightFilter:Gr,action:Fe,alertDom:Zl,toolbarDom:Cl,onSortChange:Wr,onFilterChange:kr,editableUtils:wt,getRowKey:_t})))},ca=function(e){var r=(0,u.useContext)(Ae.ZP.ConfigContext),t=r.getPrefixCls,o=e.ErrorBoundary===!1?u.Fragment:e.ErrorBoundary||er.S;return(0,s.jsx)(Hn.Provider,{initialState:e,children:(0,s.jsx)(ge._Y,{needDeps:!0,children:(0,s.jsx)(o,{children:(0,s.jsx)(ul,(0,a.Z)({defaultClassName:"".concat(t("pro-table"))},e))})})})};ca.Summary=$n.Z.Summary;var sl=ca,dl=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],cl=["record","position","creatorButtonText","newRecordType","parentKey","style"],va=u.createContext(void 0);function fa(n){var e=n.children,r=n.record,t=n.position,o=n.newRecordType,i=n.parentKey,h=(0,u.useContext)(va);return u.cloneElement(e,(0,a.Z)((0,a.Z)({},e.props),{},{onClick:function(){var d=(0,ue.Z)((0,_.Z)().mark(function c(T){var O,C,g,Z;return(0,_.Z)().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,(O=(C=e.props).onClick)===null||O===void 0?void 0:O.call(C,T);case 2:if(Z=f.sent,Z!==!1){f.next=5;break}return f.abrupt("return");case 5:h==null||(g=h.current)===null||g===void 0||g.addEditRecord(r,{position:t,newRecordType:o,parentKey:i});case 6:case"end":return f.stop()}},c)}));function v(c){return d.apply(this,arguments)}return v}()}))}function ma(n){var e,r,t=(0,ge.YB)(),o=n.onTableChange,i=n.maxLength,h=n.formItemProps,d=n.recordCreatorProps,v=n.rowKey,c=n.controlled,T=n.defaultValue,O=n.onChange,C=n.editableFormRef,g=(0,ve.Z)(n,dl),Z=(0,Ue.D)(n.value),y=(0,u.useRef)(),f=(0,u.useRef)();(0,u.useImperativeHandle)(g.actionRef,function(){return y.current});var I=(0,Ee.Z)(function(){return n.value||T||[]},{value:n.value,onChange:n.onChange}),U=(0,ae.Z)(I,2),j=U[0],k=U[1];console.log(j);var Y=u.useMemo(function(){return typeof v=="function"?v:function(K,B){return K[v]||B}},[v]),S=function(B){if(typeof B=="number"&&!n.name){if(B>=j.length)return B;var b=j&&j[B];return Y==null?void 0:Y(b,B)}if((typeof B=="string"||B>=j.length)&&n.name){var R=j.findIndex(function(F,x){var N;return(Y==null||(N=Y(F,x))===null||N===void 0?void 0:N.toString())===(B==null?void 0:B.toString())});return R}return B};(0,u.useImperativeHandle)(C,function(){var K=function(R){var F,x;if(R==null)throw new Error("rowIndex is required");var N=S(R),X=[n.name,(F=N==null?void 0:N.toString())!==null&&F!==void 0?F:""].flat(1).filter(Boolean);return(x=f.current)===null||x===void 0?void 0:x.getFieldValue(X)},B=function(){var R,F=[n.name].flat(1).filter(Boolean);if(Array.isArray(F)&&F.length===0){var x,N=(x=f.current)===null||x===void 0?void 0:x.getFieldsValue();return Array.isArray(N)?N:Object.keys(N).map(function(X){return N[X]})}return(R=f.current)===null||R===void 0?void 0:R.getFieldValue(F)};return(0,a.Z)((0,a.Z)({},f.current),{},{getRowData:K,getRowsData:B,setRowData:function(R,F){var x,N,X,Q;if(R==null)throw new Error("rowIndex is required");var te=S(R),le=[n.name,(x=te==null?void 0:te.toString())!==null&&x!==void 0?x:""].flat(1).filter(Boolean),de=((N=f.current)===null||N===void 0||(X=N.getFieldsValue)===null||X===void 0?void 0:X.call(N))||{},be=(0,Zn.Z)(de,le,(0,a.Z)((0,a.Z)({},K(R)),F||{}));return(Q=f.current)===null||Q===void 0||Q.setFieldsValue(be),!0}})}),(0,u.useEffect)(function(){!n.controlled||j.forEach(function(K,B){var b;(b=f.current)===null||b===void 0||b.setFieldsValue((0,J.Z)({},Y(K,B),K))},{})},[j,n.controlled]),(0,u.useEffect)(function(){if(n.name){var K;f.current=n==null||(K=n.editable)===null||K===void 0?void 0:K.form}},[(e=n.editable)===null||e===void 0?void 0:e.form,n.name]);var z=d||{},W=z.record,P=z.position,H=z.creatorButtonText,G=z.newRecordType,A=z.parentKey,q=z.style,$=(0,ve.Z)(z,cl),E=P==="top",V=(0,u.useMemo)(function(){return i&&i<=(j==null?void 0:j.length)?!1:d!==!1&&(0,s.jsx)(fa,{record:(0,je.h)(W,j==null?void 0:j.length,j)||{},position:P,parentKey:(0,je.h)(A,j==null?void 0:j.length,j),newRecordType:G,children:(0,s.jsx)(Rn.ZP,(0,a.Z)((0,a.Z)({type:"dashed",style:(0,a.Z)({display:"block",margin:"10px 0",width:"100%"},q),icon:(0,s.jsx)(tn.Z,{})},$),{},{children:H||t.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[d,i,j==null?void 0:j.length]),L=(0,u.useMemo)(function(){return V?E?{components:{header:{wrapper:function(B){var b,R=B.className,F=B.children;return(0,s.jsxs)("thead",{className:R,children:[F,(0,s.jsxs)("tr",{style:{position:"relative"},children:[(0,s.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:V}),(0,s.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(b=g.columns)===null||b===void 0?void 0:b.length,children:V})]})]})}}}}:{tableViewRender:function(B,b){var R,F;return(0,s.jsxs)(s.Fragment,{children:[(R=(F=n.tableViewRender)===null||F===void 0?void 0:F.call(n,B,b))!==null&&R!==void 0?R:b,V]})}}:{}},[E,V]),p=(0,a.Z)({},n.editable),D=(0,Ze.J)(function(K,B){var b,R,F;if((b=n.editable)===null||b===void 0||(R=b.onValuesChange)===null||R===void 0||R.call(b,K,B),(F=n.onValuesChange)===null||F===void 0||F.call(n,B,K),n.controlled){var x;n==null||(x=n.onChange)===null||x===void 0||x.call(n,B)}});return((n==null?void 0:n.onValuesChange)||((r=n.editable)===null||r===void 0?void 0:r.onValuesChange)||n.controlled&&(n==null?void 0:n.onChange))&&(p.onValuesChange=D),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(va.Provider,{value:y,children:(0,s.jsx)(sl,(0,a.Z)((0,a.Z)((0,a.Z)({search:!1,options:!1,pagination:!1,rowKey:v,revalidateOnFocus:!1},g),L),{},{tableLayout:"fixed",actionRef:y,onChange:o,editable:(0,a.Z)((0,a.Z)({},p),{},{formProps:(0,a.Z)({formRef:f},p.formProps)}),dataSource:j,onDataSourceChange:function(B){if(k(B),n.name&&P==="top"){var b,R=(0,Zn.Z)({},[n.name].flat(1).filter(Boolean),B);(b=f.current)===null||b===void 0||b.setFieldsValue(R)}}}))}),n.name?(0,s.jsx)(He.Z,{name:[n.name],children:function(B){var b,R,F=(0,fn.default)(B,[n.name].flat(1)),x=F==null?void 0:F.find(function(N,X){return!(0,ln.A)(N,Z==null?void 0:Z[X])});return x&&Z&&(n==null||(b=n.editable)===null||b===void 0||(R=b.onValuesChange)===null||R===void 0||R.call(b,x,F)),null}}):null]})}function ha(n){var e=We.ZP.useFormInstance();return n.name?(0,s.jsx)(_e.Z.Item,(0,a.Z)((0,a.Z)({style:{maxWidth:"100%"}},n==null?void 0:n.formItemProps),{},{name:n.name,children:(0,s.jsx)(ma,(0,a.Z)((0,a.Z)({},n),{},{editable:(0,a.Z)((0,a.Z)({},n.editable),{},{form:e})}))})):(0,s.jsx)(ma,(0,a.Z)({},n))}ha.RecordCreator=fa;var vl=ha},78164:function(on,qe,M){"use strict";M.d(qe,{S:function(){return tn}});var J=M(15671),ae=M(43144),ve=M(32531),_=M(51630),ue=M(85893),a=M(29905),s=M(67294),tn=function(He){(0,ve.Z)(ge,He);var We=(0,_.Z)(ge);function ge(){var Ue;(0,J.Z)(this,ge);for(var je=arguments.length,Ze=new Array(je),ln=0;ln{const{componentCls:pe,iconCls:Le,zIndexPopup:ye,colorText:Re,colorWarning:De,marginXS:ze,fontSize:Oe,fontWeightStrong:mn,lineHeight:Ge}=se;return{[pe]:{zIndex:ye,[`${pe}-inner-content`]:{color:Re},[`${pe}-message`]:{position:"relative",marginBottom:ze,color:Re,fontSize:Oe,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${pe}-message-icon ${Le}`]:{color:De,fontSize:Oe,flex:"none",lineHeight:1,paddingTop:(Math.round(Oe*Ge)-Oe)/2},"&-title":{flex:"auto",marginInlineStart:ze},"&-title-only":{fontWeight:mn}},[`${pe}-description`]:{position:"relative",marginInlineStart:Oe+ze,marginBottom:ze,color:Re,fontSize:Oe},[`${pe}-buttons`]:{textAlign:"end",button:{marginInlineStart:ze}}}}};var Zn=(0,Ee.Z)("Popconfirm",se=>fn(se),se=>{const{zIndexPopupBase:pe}=se;return{zIndexPopup:pe+60}}),u=function(se,pe){var Le={};for(var ye in se)Object.prototype.hasOwnProperty.call(se,ye)&&pe.indexOf(ye)<0&&(Le[ye]=se[ye]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ye=Object.getOwnPropertySymbols(se);Re{const{prefixCls:pe,okButtonProps:Le,cancelButtonProps:ye,title:Re,description:De,cancelText:ze,okText:Oe,okType:mn="primary",icon:Ge=a.createElement(J.Z,null),showCancel:Ln=!0,close:Se,onConfirm:un,onCancel:An}=se,{getPrefixCls:hn}=a.useContext(tn.E_);return a.createElement(Ze.Z,{componentName:"Popconfirm",defaultLocale:ln.Z.Popconfirm},wn=>a.createElement("div",{className:`${pe}-inner-content`},a.createElement("div",{className:`${pe}-message`},Ge&&a.createElement("span",{className:`${pe}-message-icon`},Ge),a.createElement("div",{className:ve()(`${pe}-message-title`,{[`${pe}-message-title-only`]:!!De})},(0,Rn.Z)(Re))),De&&a.createElement("div",{className:`${pe}-description`},(0,Rn.Z)(De)),a.createElement("div",{className:`${pe}-buttons`},Ln&&a.createElement(ge.ZP,Object.assign({onClick:An,size:"small"},ye),ze!=null?ze:wn.cancelText),a.createElement(je.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,Ue.n)(mn)),Le),actionFn:un,close:Se,prefixCls:hn("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},Oe!=null?Oe:wn.okText))))};function Ye(se){const{prefixCls:pe,placement:Le,className:ye,style:Re}=se,De=u(se,["prefixCls","placement","className","style"]),{getPrefixCls:ze}=a.useContext(tn.E_),Oe=ze("popconfirm",pe),[mn]=Zn(Oe);return mn(a.createElement(_e.ZP,{placement:Le,className:ve()(Oe,ye),style:Re,content:a.createElement(rn,Object.assign({prefixCls:Oe},De))}))}var Yn=function(se,pe){var Le={};for(var ye in se)Object.prototype.hasOwnProperty.call(se,ye)&&pe.indexOf(ye)<0&&(Le[ye]=se[ye]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ye=Object.getOwnPropertySymbols(se);Re{const{getPrefixCls:Le}=a.useContext(tn.E_),[ye,Re]=(0,_.Z)(!1,{value:se.open,defaultValue:se.defaultOpen}),De=(Me,Ve)=>{var gn;Re(Me,!0),(gn=se.onOpenChange)===null||gn===void 0||gn.call(se,Me,Ve)},ze=Me=>{De(!1,Me)},Oe=Me=>{var Ve;return(Ve=se.onConfirm)===null||Ve===void 0?void 0:Ve.call(void 0,Me)},mn=Me=>{var Ve;De(!1,Me),(Ve=se.onCancel)===null||Ve===void 0||Ve.call(void 0,Me)},Ge=Me=>{Me.keyCode===ue.Z.ESC&&ye&&De(!1,Me)},Ln=Me=>{const{disabled:Ve=!1}=se;Ve||De(Me)},{prefixCls:Se,placement:un="top",trigger:An="click",okType:hn="primary",icon:wn=a.createElement(J.Z,null),children:an,overlayClassName:Bn}=se,Ke=Yn(se,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),sn=Le("popconfirm",Se),Qn=ve()(sn,Bn),[lt]=Zn(sn);return lt(a.createElement(He.Z,Object.assign({},(0,s.Z)(Ke,["title"]),{trigger:An,placement:un,onOpenChange:Ln,open:ye,ref:pe,overlayClassName:Qn,content:a.createElement(rn,Object.assign({okType:hn,icon:wn},se,{prefixCls:sn,close:ze,onConfirm:Oe,onCancel:mn})),"data-popover-inject":!0}),(0,We.Tm)(an,{onKeyDown:Me=>{var Ve,gn;a.isValidElement(an)&&((gn=an==null?void 0:(Ve=an.props).onKeyDown)===null||gn===void 0||gn.call(Ve,Me)),Ge(Me)}})))});Xn._InternalPanelDoNotUseOrYouWillBeFired=Ye;var ot=Xn},72378:function(on,qe,M){on=M.nmd(on);var J=200,ae="__lodash_hash_undefined__",ve=800,_=16,ue=9007199254740991,a="[object Arguments]",s="[object Array]",tn="[object AsyncFunction]",He="[object Boolean]",We="[object Date]",ge="[object Error]",Ue="[object Function]",je="[object GeneratorFunction]",Ze="[object Map]",ln="[object Number]",Rn="[object Null]",_e="[object Object]",Ee="[object Proxy]",fn="[object RegExp]",Zn="[object Set]",u="[object String]",rn="[object Undefined]",Ye="[object WeakMap]",Yn="[object ArrayBuffer]",Xn="[object DataView]",ot="[object Float32Array]",se="[object Float64Array]",pe="[object Int8Array]",Le="[object Int16Array]",ye="[object Int32Array]",Re="[object Uint8Array]",De="[object Uint8ClampedArray]",ze="[object Uint16Array]",Oe="[object Uint32Array]",mn=/[\\^$.*+?()[\]{}|]/g,Ge=/^\[object .+?Constructor\]$/,Ln=/^(?:0|[1-9]\d*)$/,Se={};Se[ot]=Se[se]=Se[pe]=Se[Le]=Se[ye]=Se[Re]=Se[De]=Se[ze]=Se[Oe]=!0,Se[a]=Se[s]=Se[Yn]=Se[He]=Se[Xn]=Se[We]=Se[ge]=Se[Ue]=Se[Ze]=Se[ln]=Se[_e]=Se[fn]=Se[Zn]=Se[u]=Se[Ye]=!1;var un=typeof M.g=="object"&&M.g&&M.g.Object===Object&&M.g,An=typeof self=="object"&&self&&self.Object===Object&&self,hn=un||An||Function("return this")(),wn=qe&&!qe.nodeType&&qe,an=wn&&!0&&on&&!on.nodeType&&on,Bn=an&&an.exports===wn,Ke=Bn&&un.process,sn=function(){try{var l=an&&an.require&&an.require("util").types;return l||Ke&&Ke.binding&&Ke.binding("util")}catch(m){}}(),Qn=sn&&sn.isTypedArray;function lt(l,m,w){switch(w.length){case 0:return l.call(m);case 1:return l.call(m,w[0]);case 2:return l.call(m,w[0],w[1]);case 3:return l.call(m,w[0],w[1],w[2])}return l.apply(m,w)}function Me(l,m){for(var w=-1,ee=Array(l);++w-1}function ir(l,m){var w=this.__data__,ee=kn(w,l);return ee<0?(++this.size,w.push([l,m])):w[ee][1]=m,this}pn.prototype.clear=Nt,pn.prototype.delete=Ot,pn.prototype.get=Un,pn.prototype.has=lr,pn.prototype.set=ir;function zn(l){var m=-1,w=l==null?0:l.length;for(this.clear();++m1?w[fe-1]:void 0,Te=fe>2?w[2]:void 0;for(xe=l.length>3&&typeof xe=="function"?(fe--,xe):void 0,Te&&zt(w[0],w[1],Te)&&(xe=fe<3?void 0:xe,fe=1),m=Object(m);++ee-1&&l%1==0&&l0){if(++m>=ve)return arguments[0]}else m=0;return l.apply(void 0,arguments)}}function Mr(l){if(l!=null){try{return Be.call(l)}catch(m){}try{return l+""}catch(m){}}return""}function jn(l,m){return l===m||l!==l&&m!==m}var yt=vt(function(){return arguments}())?vt:function(l){return Sn(l)&&en.call(l,"callee")&&!Ft.call(l,"callee")},Ct=Array.isArray;function Zt(l){return l!=null&&Ut(l.length)&&!bt(l)}function Nr(l){return Sn(l)&&Zt(l)}var Wt=rr||Br;function bt(l){if(!Mn(l))return!1;var m=En(l);return m==Ue||m==je||m==tn||m==Ee}function Ut(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=ue}function Mn(l){var m=typeof l;return l!=null&&(m=="object"||m=="function")}function Sn(l){return l!=null&&typeof l=="object"}function Or(l){if(!Sn(l)||En(l)!=_e)return!1;var m=st(l);if(m===null)return!0;var w=en.call(m,"constructor")&&m.constructor;return typeof w=="function"&&w instanceof w&&Be.call(w)==nr}var Gt=Qn?Ve(Qn):Lt;function Kr(l){return Bt(l,St(l))}function St(l){return Zt(l)?gr(l,!0):yr(l)}var Lr=Rr(function(l,m,w){At(l,m,w)});function Ar(l){return function(){return l}}function Jt(l){return l}function Br(){return!1}on.exports=Lr}}]); diff --git a/statics/1659.b0337cf7.async.js b/statics/1659.b0337cf7.async.js new file mode 100644 index 00000000..f983c72f --- /dev/null +++ b/statics/1659.b0337cf7.async.js @@ -0,0 +1,57 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1659],{80171:function(fn,W,t){t.d(W,{Z:function(){return U}});var g=t(93967),o=t.n(g),L=t(67294),D=t(1413),C=t(4942),K=t(98082),Q=function(d){var s=d.componentCls,h=d.antCls;return(0,C.Z)({},"".concat(s,"-actions"),(0,C.Z)((0,C.Z)({marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none",display:"flex",gap:d.marginXS,background:d.colorBgContainer,borderBlockStart:"".concat(d.lineWidth,"px ").concat(d.lineType," ").concat(d.colorSplit),minHeight:42},"& > *",{alignItems:"center",justifyContent:"center",flex:1,display:"flex",cursor:"pointer",color:d.colorTextSecondary,transition:"color 0.3s","&:hover":{color:d.colorPrimaryHover}}),"& > li > div",{flex:1,width:"100%",marginBlock:d.marginSM,marginInline:0,color:d.colorTextSecondary,textAlign:"center",a:{color:d.colorTextSecondary,transition:"color 0.3s","&:hover":{color:d.colorPrimaryHover}},div:(0,C.Z)((0,C.Z)({position:"relative",display:"block",minWidth:32,fontSize:d.fontSize,lineHeight:d.lineHeight,cursor:"pointer","&:hover":{color:d.colorPrimaryHover,transition:"color 0.3s"}},"a:not(".concat(h,`-btn), + > .anticon`),{display:"inline-block",width:"100%",color:d.colorTextSecondary,lineHeight:"22px",transition:"color 0.3s","&:hover":{color:d.colorPrimaryHover}}),".anticon",{fontSize:d.cardActionIconSize,lineHeight:"22px"}),"&:not(:last-child)":{borderInlineEnd:"".concat(d.lineWidth,"px ").concat(d.lineType," ").concat(d.colorSplit)}}))};function G(b){return(0,K.Xj)("ProCardActions",function(d){var s=(0,D.Z)((0,D.Z)({},d),{},{componentCls:".".concat(b),cardActionIconSize:16});return[Q(s)]})}var I=t(85893),O=function(d){var s=d.actions,h=d.prefixCls,$=G(h),B=$.wrapSSR,p=$.hashId;return Array.isArray(s)&&s!==null&&s!==void 0&&s.length?B((0,I.jsx)("ul",{className:o()("".concat(h,"-actions"),p),children:s.map(function(E,y){return(0,I.jsx)("li",{style:{width:"".concat(100/s.length,"%"),padding:0,margin:0},className:o()("".concat(h,"-actions-item"),p),children:E},"action-".concat(y))})})):B((0,I.jsx)("ul",{className:o()("".concat(h,"-actions"),p),children:s}))},U=O},53911:function(fn,W,t){t.d(W,{Z:function(){return $n}});var g=t(1413),o=t(4942),L=t(71002),D=t(97685),C=t(45987),K=t(54635),Q=t(86333),G=t(28459),I=t(11941),O=t(25378),U=t(93967),b=t.n(U),d=t(97435),s=t(21770),h=t(67294),$=t(80171),B=t(71230),p=t(15746),E=t(54548),y=t(98082),T=new E.E4("card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Y=function(a){return(0,o.Z)({},a.componentCls,(0,o.Z)((0,o.Z)({"&-loading":{overflow:"hidden"},"&-loading &-body":{userSelect:"none"}},"".concat(a.componentCls,"-loading-content"),{width:"100%",p:{marginBlock:0,marginInline:0}}),"".concat(a.componentCls,"-loading-block"),{height:"14px",marginBlock:"4px",background:"linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",backgroundSize:"600% 600%",borderRadius:a.borderRadius,animationName:T,animationDuration:"1.4s",animationTimingFunction:"ease",animationIterationCount:"infinite"}))};function j(c){return(0,y.Xj)("ProCardLoading",function(a){var v=(0,g.Z)((0,g.Z)({},a),{},{componentCls:".".concat(c)});return[Y(v)]})}var l=t(85893),H=function(a){var v=a.style,Z=a.prefix,Bn=j(Z||"ant-pro-card"),w=Bn.wrapSSR;return w((0,l.jsxs)("div",{className:"".concat(Z,"-loading-content"),style:v,children:[(0,l.jsx)(B.Z,{gutter:8,children:(0,l.jsx)(p.Z,{span:22,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})})}),(0,l.jsxs)(B.Z,{gutter:8,children:[(0,l.jsx)(p.Z,{span:8,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})}),(0,l.jsx)(p.Z,{span:15,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})})]}),(0,l.jsxs)(B.Z,{gutter:8,children:[(0,l.jsx)(p.Z,{span:6,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})}),(0,l.jsx)(p.Z,{span:18,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})})]}),(0,l.jsxs)(B.Z,{gutter:8,children:[(0,l.jsx)(p.Z,{span:13,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})}),(0,l.jsx)(p.Z,{span:9,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})})]}),(0,l.jsxs)(B.Z,{gutter:8,children:[(0,l.jsx)(p.Z,{span:4,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})}),(0,l.jsx)(p.Z,{span:3,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})}),(0,l.jsx)(p.Z,{span:16,children:(0,l.jsx)("div",{className:"".concat(Z,"-loading-block")})})]})]}))},m=H,k=t(13286),an=function(a){return{backgroundColor:a.controlItemBgActive,borderColor:a.controlOutline}},dn=function(a){var v=a.componentCls;return(0,o.Z)((0,o.Z)((0,o.Z)({},v,(0,g.Z)((0,g.Z)({position:"relative",display:"flex",flexDirection:"column",boxSizing:"border-box",width:"100%",marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,backgroundColor:a.colorBgContainer,borderRadius:a.borderRadius,transition:"all 0.3"},y.Wf===null||y.Wf===void 0?void 0:(0,y.Wf)(a)),{},(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"&-box-shadow":{boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017",borderColor:"transparent"},"&-col":{width:"100%"},"&-border":{border:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)},"&-hoverable":(0,o.Z)({cursor:"pointer",transition:"box-shadow 0.3s, border-color 0.3s","&:hover":{borderColor:"transparent",boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017"}},"&".concat(v,"-checked:hover"),{borderColor:a.controlOutline}),"&-checked":(0,g.Z)((0,g.Z)({},an(a)),{},{"&::after":{visibility:"visible",position:"absolute",insetBlockStart:2,insetInlineEnd:2,opacity:1,width:0,height:0,border:"6px solid ".concat(a.colorPrimary),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:2,content:'""'}}),"&:focus":(0,g.Z)({},an(a)),"&&-ghost":(0,o.Z)({backgroundColor:"transparent"},"> ".concat(v),{"&-header":{paddingInlineEnd:0,paddingBlockEnd:a.padding,paddingInlineStart:0},"&-body":{paddingBlock:0,paddingInline:0,backgroundColor:"transparent"}}),"&&-split > &-body":{paddingBlock:0,paddingInline:0},"&&-contain-card > &-body":{display:"flex"}},"".concat(v,"-body-direction-column"),{flexDirection:"column"}),"".concat(v,"-body-wrap"),{flexWrap:"wrap"}),"&&-collapse",(0,o.Z)({},"> ".concat(v),{"&-header":{paddingBlockEnd:a.padding,borderBlockEnd:0},"&-body":{display:"none"}})),"".concat(v,"-header"),{display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:a.paddingLG,paddingBlock:a.padding,paddingBlockEnd:0,"&-border":{"&":{paddingBlockEnd:a.padding},borderBlockEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)},"&-collapsible":{cursor:"pointer"}}),"".concat(v,"-title"),{color:a.colorText,fontWeight:500,fontSize:a.fontSizeLG,lineHeight:a.lineHeight}),"".concat(v,"-extra"),{color:a.colorText}),"".concat(v,"-type-inner"),(0,o.Z)({},"".concat(v,"-header"),{backgroundColor:a.colorFillAlter})),"".concat(v,"-collapsible-icon"),{marginInlineEnd:a.marginXS,color:a.colorIconHover,":hover":{color:a.colorPrimaryHover},"& svg":{transition:"transform ".concat(a.motionDurationMid)}}),"".concat(v,"-body"),{display:"block",boxSizing:"border-box",height:"100%",paddingInline:a.paddingLG,paddingBlock:a.padding,"&-center":{display:"flex",alignItems:"center",justifyContent:"center"}}),"&&-size-small",(0,o.Z)((0,o.Z)({},v,{"&-header":{paddingInline:a.paddingSM,paddingBlock:a.paddingXS,paddingBlockEnd:0,"&-border":{paddingBlockEnd:a.paddingXS}},"&-title":{fontSize:a.fontSize},"&-body":{paddingInline:a.paddingSM,paddingBlock:a.paddingSM}}),"".concat(v,"-header").concat(v,"-header-collapsible"),{paddingBlock:a.paddingXS})))),"".concat(v,"-col"),(0,o.Z)((0,o.Z)({},"&".concat(v,"-split-vertical"),{borderInlineEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)}),"&".concat(v,"-split-horizontal"),{borderBlockEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)})),"".concat(v,"-tabs"),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(a.antCls,"-tabs-top > ").concat(a.antCls,"-tabs-nav"),(0,o.Z)({marginBlockEnd:0},"".concat(a.antCls,"-tabs-nav-list"),{marginBlockStart:a.marginXS,paddingInlineStart:a.padding})),"".concat(a.antCls,"-tabs-bottom > ").concat(a.antCls,"-tabs-nav"),(0,o.Z)({marginBlockEnd:0},"".concat(a.antCls,"-tabs-nav-list"),{paddingInlineStart:a.padding})),"".concat(a.antCls,"-tabs-left"),(0,o.Z)({},"".concat(a.antCls,"-tabs-content-holder"),(0,o.Z)({},"".concat(a.antCls,"-tabs-content"),(0,o.Z)({},"".concat(a.antCls,"-tabs-tabpane"),{paddingInlineStart:0})))),"".concat(a.antCls,"-tabs-left > ").concat(a.antCls,"-tabs-nav"),(0,o.Z)({marginInlineEnd:0},"".concat(a.antCls,"-tabs-nav-list"),{paddingBlockStart:a.padding})),"".concat(a.antCls,"-tabs-right"),(0,o.Z)({},"".concat(a.antCls,"-tabs-content-holder"),(0,o.Z)({},"".concat(a.antCls,"-tabs-content"),(0,o.Z)({},"".concat(a.antCls,"-tabs-tabpane"),{paddingInlineStart:0})))),"".concat(a.antCls,"-tabs-right > ").concat(a.antCls,"-tabs-nav"),(0,o.Z)({},"".concat(a.antCls,"-tabs-nav-list"),{paddingBlockStart:a.padding})))},on=24,In=function(a,v){var Z=v.componentCls;return a===0?(0,o.Z)({},"".concat(Z,"-col-0"),{display:"none"}):(0,o.Z)({},"".concat(Z,"-col-").concat(a),{flexShrink:0,width:"".concat(a/on*100,"%")})},En=function(a){return Array(on+1).fill(1).map(function(v,Z){return In(Z,a)})};function Tn(c){return(0,y.Xj)("ProCard",function(a){var v=(0,g.Z)((0,g.Z)({},a),{},{componentCls:".".concat(c)});return[dn(v),En(v)]})}var jn=["className","style","bodyStyle","headStyle","title","subTitle","extra","wrap","layout","loading","gutter","tooltip","split","headerBordered","bordered","boxShadow","children","size","actions","ghost","hoverable","direction","collapsed","collapsible","collapsibleIconRender","colStyle","defaultCollapsed","onCollapse","checked","onChecked","tabs","type"],na=h.forwardRef(function(c,a){var v,Z=c.className,Bn=c.style,w=c.bodyStyle,An=c.headStyle,F=c.title,Nn=c.subTitle,yn=c.extra,Dn=c.wrap,wn=Dn===void 0?!1:Dn,Fn=c.layout,tn=c.loading,Cn=c.gutter,Mn=Cn===void 0?0:Cn,hn=c.tooltip,_=c.split,pn=c.headerBordered,aa=pn===void 0?!1:pn,Rn=c.bordered,Xn=Rn===void 0?!1:Rn,On=c.boxShadow,rn=On===void 0?!1:On,xn=c.children,zn=c.size,en=c.actions,sn=c.ghost,Wn=sn===void 0?!1:sn,Ln=c.hoverable,Vn=Ln===void 0?!1:Ln,vn=c.direction,Kn=c.collapsed,n=c.collapsible,e=n===void 0?!1:n,i=c.collapsibleIconRender,r=c.colStyle,f=c.defaultCollapsed,A=f===void 0?!1:f,X=c.onCollapse,M=c.checked,V=c.onChecked,R=c.tabs,z=c.type,S=(0,C.Z)(c,jn),ln=(0,h.useContext)(G.ZP.ConfigContext),Zn=ln.getPrefixCls,un=(0,O.Z)()||{lg:!0,md:!0,sm:!0,xl:!1,xs:!1,xxl:!1},bn=(0,s.Z)(A,{value:Kn,onChange:X}),Gn=(0,D.Z)(bn,2),gn=Gn[0],Un=Gn[1],mn=["xxl","xl","lg","md","sm","xs"],Jn=(0,k.g)(R==null?void 0:R.items,xn,R),la=function(x){var P=[0,0],cn=Array.isArray(x)?x:[x,0];return cn.forEach(function(J,q){if((0,L.Z)(J)==="object")for(var Sn=0;Sn=0&&q<=24)),ga=ta((0,l.jsx)("div",{style:(0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)({},Sn),Qn(Yn>0,{paddingInlineEnd:Yn/2,paddingInlineStart:Yn/2})),Qn(kn>0,{paddingBlockStart:kn/2,paddingBlockEnd:kn/2})),r),className:Pn,children:h.cloneElement(N)}));return h.cloneElement(ga,{key:"pro-card-col-".concat((N==null?void 0:N.key)||x)})}return N}),sa=b()("".concat(u),Z,nn,(v={},(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)(v,"".concat(u,"-border"),Xn),"".concat(u,"-box-shadow"),rn),"".concat(u,"-contain-card"),qn),"".concat(u,"-loading"),tn),"".concat(u,"-split"),_==="vertical"||_==="horizontal"),"".concat(u,"-ghost"),Wn),"".concat(u,"-hoverable"),Vn),"".concat(u,"-size-").concat(zn),zn),"".concat(u,"-type-").concat(z),z),"".concat(u,"-collapse"),gn),(0,o.Z)(v,"".concat(u,"-checked"),M))),va=b()("".concat(u,"-body"),nn,(0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(u,"-body-center"),Fn==="center"),"".concat(u,"-body-direction-column"),_==="horizontal"||vn==="column"),"".concat(u,"-body-wrap"),wn&&qn)),ua=w,ea=h.isValidElement(tn)?tn:(0,l.jsx)(m,{prefix:u,style:(w==null?void 0:w.padding)===0||(w==null?void 0:w.padding)==="0px"?{padding:24}:void 0}),Hn=e&&Kn===void 0&&(i?i({collapsed:gn}):(0,l.jsx)(K.Z,{rotate:gn?void 0:90,className:"".concat(u,"-collapsible-icon ").concat(nn).trim()}));return ta((0,l.jsxs)("div",(0,g.Z)((0,g.Z)({className:sa,style:Bn,ref:a,onClick:function(x){var P;V==null||V(x),S==null||(P=S.onClick)===null||P===void 0||P.call(S,x)}},(0,d.Z)(S,["prefixCls","colSpan"])),{},{children:[(F||yn||Hn)&&(0,l.jsxs)("div",{className:b()("".concat(u,"-header"),nn,(0,o.Z)((0,o.Z)({},"".concat(u,"-header-border"),aa||z==="inner"),"".concat(u,"-header-collapsible"),Hn)),style:An,onClick:function(){Hn&&Un(!gn)},children:[(0,l.jsxs)("div",{className:"".concat(u,"-title ").concat(nn).trim(),children:[Hn,(0,l.jsx)(Q.G,{label:F,tooltip:hn,subTitle:Nn})]}),yn&&(0,l.jsx)("div",{className:"".concat(u,"-extra ").concat(nn).trim(),onClick:function(x){return x.stopPropagation()},children:yn})]}),R?(0,l.jsx)("div",{className:"".concat(u,"-tabs ").concat(nn).trim(),children:(0,l.jsx)(I.Z,(0,g.Z)((0,g.Z)({onChange:R.onChange},R),{},{items:Jn,children:tn?ea:xn}))}):(0,l.jsx)("div",{className:va,style:ua,children:tn?ea:da}),en?(0,l.jsx)($.Z,{actions:en,prefixCls:u}):null]})))}),$n=na},44962:function(fn,W,t){t.d(W,{Z:function(){return b}});var g=t(4942),o=t(28459),L=t(93967),D=t.n(L),C=t(67294),K=t(1413),Q=t(98082),G=function(s){var h=s.componentCls;return(0,g.Z)({},h,{"&-divider":{flex:"none",width:s.lineWidth,marginInline:s.marginXS,marginBlock:s.marginLG,backgroundColor:s.colorSplit,"&-horizontal":{width:"initial",height:s.lineWidth,marginInline:s.marginLG,marginBlock:s.marginXS}},"&&-size-small &-divider":{marginBlock:s.marginLG,marginInline:s.marginXS,"&-horizontal":{marginBlock:s.marginXS,marginInline:s.marginLG}}})};function I(d){return(0,Q.Xj)("ProCardDivider",function(s){var h=(0,K.Z)((0,K.Z)({},s),{},{componentCls:".".concat(d)});return[G(h)]})}var O=t(85893),U=function(s){var h=(0,C.useContext)(o.ZP.ConfigContext),$=h.getPrefixCls,B=$("pro-card"),p="".concat(B,"-divider"),E=I(B),y=E.wrapSSR,T=E.hashId,Y=s.className,j=s.style,l=j===void 0?{}:j,H=s.type,m=D()(p,Y,T,(0,g.Z)({},"".concat(p,"-").concat(H),H));return y((0,O.jsx)("div",{className:m,style:l}))},b=U},13286:function(fn,W,t){t.d(W,{g:function(){return B}});var g=t(45987),o=t(1413),L=t(28459),D=t(67159),C=t(11941),K=t(93967),Q=t.n(K),G=t(50344),I=t(80334),O=t(67294),U=t(53911),b=t(85893),d=t(34155),s=["tab","children"],h=["key","tab","tabKey","disabled","destroyInactiveTabPane","children","className","style","cardProps"];function $(E){return E.filter(function(y){return y})}function B(E,y,T){if(E)return E.map(function(j){return(0,o.Z)((0,o.Z)({},j),{},{children:(0,b.jsx)(U.Z,(0,o.Z)((0,o.Z)({},T==null?void 0:T.cardProps),{},{children:j.children}))})});(0,I.ET)(!T,"Tabs.TabPane is deprecated. Please use `items` directly.");var Y=(0,G.Z)(y).map(function(j){if(O.isValidElement(j)){var l=j.key,H=j.props,m=H||{},k=m.tab,an=m.children,dn=(0,g.Z)(m,s),on=(0,o.Z)((0,o.Z)({key:String(l)},dn),{},{children:(0,b.jsx)(U.Z,(0,o.Z)((0,o.Z)({},T==null?void 0:T.cardProps),{},{children:an})),label:k});return on}return null});return $(Y)}var p=function(y){var T=(0,O.useContext)(L.ZP.ConfigContext),Y=T.getPrefixCls;if(D.Z.startsWith("5"))return(0,b.jsx)(b.Fragment,{});var j=y.key,l=y.tab,H=y.tabKey,m=y.disabled,k=y.destroyInactiveTabPane,an=y.children,dn=y.className,on=y.style,In=y.cardProps,En=(0,g.Z)(y,h),Tn=Y("pro-card-tabpane"),jn=Q()(Tn,dn);return(0,b.jsx)(C.Z.TabPane,(0,o.Z)((0,o.Z)({tabKey:H,tab:l,className:jn,style:on,disabled:m,destroyInactiveTabPane:k},En),{},{children:(0,b.jsx)(U.Z,(0,o.Z)((0,o.Z)({},In),{},{children:an}))}),j)};W.Z=p},5627:function(fn,W,t){t.d(W,{Z:function(){return Kn}});var g=t(87462),o=t(97685),L=t(4942),D=t(45987),C=t(67294),K=t(93967),Q=t.n(K),G=t(86500),I=t(1350),O=2,U=.16,b=.05,d=.05,s=.15,h=5,$=4,B=[{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 p(n){var e=n.r,i=n.g,r=n.b,f=(0,G.py)(e,i,r);return{h:f.h*360,s:f.s,v:f.v}}function E(n){var e=n.r,i=n.g,r=n.b;return"#".concat((0,G.vq)(e,i,r,!1))}function y(n,e,i){var r=i/100,f={r:(e.r-n.r)*r+n.r,g:(e.g-n.g)*r+n.g,b:(e.b-n.b)*r+n.b};return f}function T(n,e,i){var r;return Math.round(n.h)>=60&&Math.round(n.h)<=240?r=i?Math.round(n.h)-O*e:Math.round(n.h)+O*e:r=i?Math.round(n.h)+O*e:Math.round(n.h)-O*e,r<0?r+=360:r>=360&&(r-=360),r}function Y(n,e,i){if(n.h===0&&n.s===0)return n.s;var r;return i?r=n.s-U*e:e===$?r=n.s+U:r=n.s+b*e,r>1&&(r=1),i&&e===h&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function j(n,e,i){var r;return i?r=n.v+d*e:r=n.v-s*e,r>1&&(r=1),Number(r.toFixed(2))}function l(n){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=[],r=(0,I.uA)(n),f=h;f>0;f-=1){var A=p(r),X=E((0,I.uA)({h:T(A,f,!0),s:Y(A,f,!0),v:j(A,f,!0)}));i.push(X)}i.push(E(r));for(var M=1;M<=$;M+=1){var V=p(r),R=E((0,I.uA)({h:T(V,M),s:Y(V,M),v:j(V,M)}));i.push(R)}return e.theme==="dark"?B.map(function(z){var S=z.index,ln=z.opacity,Zn=E(y((0,I.uA)(e.backgroundColor||"#141414"),(0,I.uA)(i[S]),ln*100));return Zn}):i}var H={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},m={},k={};Object.keys(H).forEach(function(n){m[n]=l(H[n]),m[n].primary=m[n][5],k[n]=l(H[n],{theme:"dark",backgroundColor:"#141414"}),k[n].primary=k[n][5]});var an=m.red,dn=m.volcano,on=m.gold,In=m.orange,En=m.yellow,Tn=m.lime,jn=m.green,na=m.cyan,$n=m.blue,c=m.geekblue,a=m.purple,v=m.magenta,Z=m.grey,Bn=m.grey,w=(0,C.createContext)({}),An=w,F=t(1413),Nn=t(71002),yn=t(44958),Dn=t(27571),wn=t(80334);function Fn(n){return n.replace(/-(.)/g,function(e,i){return i.toUpperCase()})}function tn(n,e){(0,wn.ZP)(n,"[@ant-design/icons] ".concat(e))}function Cn(n){return(0,Nn.Z)(n)==="object"&&typeof n.name=="string"&&typeof n.theme=="string"&&((0,Nn.Z)(n.icon)==="object"||typeof n.icon=="function")}function Mn(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(n).reduce(function(e,i){var r=n[i];switch(i){case"class":e.className=r,delete e.class;break;default:delete e[i],e[Fn(i)]=r}return e},{})}function hn(n,e,i){return i?C.createElement(n.tag,(0,F.Z)((0,F.Z)({key:e},Mn(n.attrs)),i),(n.children||[]).map(function(r,f){return hn(r,"".concat(e,"-").concat(n.tag,"-").concat(f))})):C.createElement(n.tag,(0,F.Z)({key:e},Mn(n.attrs)),(n.children||[]).map(function(r,f){return hn(r,"".concat(e,"-").concat(n.tag,"-").concat(f))}))}function _(n){return l(n)[0]}function pn(n){return n?Array.isArray(n)?n:[n]:[]}var aa={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Rn=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,Xn=function(e){var i=(0,C.useContext)(An),r=i.csp,f=i.prefixCls,A=Rn;f&&(A=A.replace(/anticon/g,f)),(0,C.useEffect)(function(){var X=e.current,M=(0,Dn.A)(X);(0,yn.hq)(A,"@ant-design-icons",{prepend:!0,csp:r,attachTo:M})},[])},On=["icon","className","onClick","style","primaryColor","secondaryColor"],rn={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function xn(n){var e=n.primaryColor,i=n.secondaryColor;rn.primaryColor=e,rn.secondaryColor=i||_(e),rn.calculated=!!i}function zn(){return(0,F.Z)({},rn)}var en=function(e){var i=e.icon,r=e.className,f=e.onClick,A=e.style,X=e.primaryColor,M=e.secondaryColor,V=(0,D.Z)(e,On),R=C.useRef(),z=rn;if(X&&(z={primaryColor:X,secondaryColor:M||_(X)}),Xn(R),tn(Cn(i),"icon should be icon definiton, but got ".concat(i)),!Cn(i))return null;var S=i;return S&&typeof S.icon=="function"&&(S=(0,F.Z)((0,F.Z)({},S),{},{icon:S.icon(z.primaryColor,z.secondaryColor)})),hn(S.icon,"svg-".concat(S.name),(0,F.Z)((0,F.Z)({className:r,onClick:f,style:A,"data-icon":S.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},V),{},{ref:R}))};en.displayName="IconReact",en.getTwoToneColors=zn,en.setTwoToneColors=xn;var sn=en;function Wn(n){var e=pn(n),i=(0,o.Z)(e,2),r=i[0],f=i[1];return sn.setTwoToneColors({primaryColor:r,secondaryColor:f})}function Ln(){var n=sn.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}var Vn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Wn($n.primary);var vn=C.forwardRef(function(n,e){var i=n.className,r=n.icon,f=n.spin,A=n.rotate,X=n.tabIndex,M=n.onClick,V=n.twoToneColor,R=(0,D.Z)(n,Vn),z=C.useContext(An),S=z.prefixCls,ln=S===void 0?"anticon":S,Zn=z.rootClassName,un=Q()(Zn,ln,(0,L.Z)((0,L.Z)({},"".concat(ln,"-").concat(r.name),!!r.name),"".concat(ln,"-spin"),!!f||r.name==="loading"),i),bn=X;bn===void 0&&M&&(bn=-1);var Gn=A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,gn=pn(V),Un=(0,o.Z)(gn,2),mn=Un[0],Jn=Un[1];return C.createElement("span",(0,g.Z)({role:"img","aria-label":r.name},R,{ref:e,tabIndex:bn,onClick:M,className:un}),C.createElement(sn,{icon:r,primaryColor:mn,secondaryColor:Jn,style:Gn}))});vn.displayName="AntdIcon",vn.getTwoToneColor=Ln,vn.setTwoToneColor=Wn;var Kn=vn},54635:function(fn,W,t){var g=t(87462),o=t(67294),L=t(50756),D=t(5627),C=function(G,I){return o.createElement(D.Z,(0,g.Z)({},G,{ref:I,icon:L.Z}))},K=o.forwardRef(C);W.Z=K}}]); diff --git a/statics/1691.84310fb9.async.js b/statics/1691.84310fb9.async.js deleted file mode 100644 index 787b0533..00000000 --- a/statics/1691.84310fb9.async.js +++ /dev/null @@ -1,42 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1691],{47046:function(f,x){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};x.Z=e},82061:function(f,x,e){"use strict";var r=e(1413),l=e(67294),a=e(47046),c=e(84089),d=function(h,b){return l.createElement(c.Z,(0,r.Z)((0,r.Z)({},h),{},{ref:b,icon:a.Z}))};d.displayName="DeleteOutlined",x.Z=l.forwardRef(d)},34804:function(f,x,e){"use strict";var r=e(1413),l=e(67294),a=e(66023),c=e(84089),d=function(h,b){return l.createElement(c.Z,(0,r.Z)((0,r.Z)({},h),{},{ref:b,icon:a.Z}))};d.displayName="DownOutlined",x.Z=l.forwardRef(d)},79090:function(f,x,e){"use strict";var r=e(1413),l=e(67294),a=e(15294),c=e(84089),d=function(h,b){return l.createElement(c.Z,(0,r.Z)((0,r.Z)({},h),{},{ref:b,icon:a.Z}))};d.displayName="LoadingOutlined",x.Z=l.forwardRef(d)},43929:function(f,x,e){"use strict";var r=e(1413),l=e(67294),a=e(50756),c=e(84089),d=function(h,b){return l.createElement(c.Z,(0,r.Z)((0,r.Z)({},h),{},{ref:b,icon:a.Z}))};d.displayName="RightOutlined",x.Z=l.forwardRef(d)},99108:function(f,x,e){"use strict";e.d(x,{L9:function(){return ft},ZP:function(){return Xe},MP:function(){return Ze},NA:function(){return Te},aK:function(){return nt}});var r=e(1413),l=e(45987),a=e(97685),c=e(74902),d=e(71002),v=e(4942),h=e(85893),b=e(46803),O=e(98082),m=e(75661),$=e(60869),s=e(27068),M=e(67294),N=e(51280);function F(C){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,y=arguments.length>2?arguments[2]:void 0,w=(0,M.useState)(C),j=(0,a.Z)(w,2),H=j[0],U=j[1],q=(0,N.d)(C);return(0,M.useEffect)(function(){var de=setTimeout(function(){U(q.current)},g);return function(){return clearTimeout(de)}},y?[g].concat((0,c.Z)(y)):void 0),H}var I=e(26713),B=e(58720),te=e(75081),k=e(59734),_=e(53575),ie={Success:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"success",text:y})},Error:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"error",text:y})},Default:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"default",text:y})},Processing:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"processing",text:y})},Warning:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"warning",text:y})},success:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"success",text:y})},error:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"error",text:y})},default:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"default",text:y})},processing:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"processing",text:y})},warning:function(g){var y=g.children;return(0,h.jsx)(_.Z,{status:"warning",text:y})}},ne=function(g){var y=g.color,w=g.children;return(0,h.jsx)(_.Z,{color:y,text:w})},Pe=ie,ee=e(40110),le=e(2122),Ce=e(34041),Ae=e(96365),ye=e(94184),_e=e.n(ye),Ge=["label","prefixCls","onChange","value","mode","children","defaultValue","size","showSearch","disabled","style","className","bordered","options","onSearch","allowClear","labelInValue","fieldNames","lightLabel","labelTrigger"],dt=function(g,y){return(0,d.Z)(y)!=="object"?g[y]||y:g[y==null?void 0:y.value]||y.label},Ue=function(g,y){var w=g.label,j=g.prefixCls,H=g.onChange,U=g.value,q=g.mode,de=g.children,Me=g.defaultValue,pe=g.size,Ie=g.showSearch,et=g.disabled,Ct=g.style,Ye=g.className,rt=g.bordered,mt=g.options,Ee=g.onSearch,Be=g.allowClear,qe=g.labelInValue,Oe=g.fieldNames,Fe=g.lightLabel,ge=g.labelTrigger,We=(0,l.Z)(g,Ge),ze=g.placeholder,ke=ze===void 0?w:ze,pt=Oe||{},tt=pt.label,ot=tt===void 0?"label":tt,yt=pt.value,It=yt===void 0?"value":yt,Zt=(0,M.useContext)(B.ZP.ConfigContext),Ft=Zt.getPrefixCls,At=Ft("pro-field-select-light-select"),Qt=(0,M.useState)(!1),Et=(0,a.Z)(Qt,2),Tt=Et[0],Rt=Et[1],Ut=(0,M.useState)(""),Y=(0,a.Z)(Ut,2),V=Y[0],Q=Y[1],re=(0,O.Xj)("LightSelect",function(Ve){var at;return(0,v.Z)({},".".concat(At),(at={},(0,v.Z)(at,"".concat(Ve.antCls,"-select"),{position:"absolute",width:"153px",height:"28px",visibility:"hidden","&-selector":{height:28}}),(0,v.Z)(at,"&.".concat(At,"-searchable"),(0,v.Z)({},"".concat(Ve.antCls,"-select"),{width:"200px","&-selector":{height:28}})),at))}),Se=re.wrapSSR,Le=re.hashId,$e=(0,M.useMemo)(function(){var Ve={};return mt==null||mt.forEach(function(at){var Je=at[ot],Ke=at[It];Ve[Ke]=Je||Ke}),Ve},[ot,mt,It]),je=Array.isArray(U)?U.map(function(Ve){return dt($e,Ve)}):dt($e,U);return Se((0,h.jsxs)("div",{className:_e()(At,Le,(0,v.Z)({},"".concat(At,"-searchable"),Ie),"".concat(At,"-container-").concat(We.placement),Ye),style:Ct,onClick:function(at){var Je,Ke,st;if(!et){var wt=Fe==null||(Je=Fe.current)===null||Je===void 0||(Ke=Je.labelRef)===null||Ke===void 0||(st=Ke.current)===null||st===void 0?void 0:st.contains(at.target);Rt(wt?!Tt:!0)}},children:[(0,h.jsx)(Ce.Z,(0,r.Z)((0,r.Z)({},We),{},{allowClear:Be,value:U,mode:q,labelInValue:qe,size:pe,disabled:et,onChange:function(at,Je){H==null||H(at,Je),q!=="multiple"&&setTimeout(function(){Rt(!1)},0)},bordered:rt,showSearch:Ie,onSearch:Ee,style:Ct,dropdownRender:function(at){return(0,h.jsxs)("div",{ref:y,children:[Ie&&(0,h.jsx)("div",{style:{margin:"4px 8px"},children:(0,h.jsx)(Ae.Z,{value:V,allowClear:Be,onChange:function(Ke){Q(Ke.target.value.toLowerCase()),Ee==null||Ee(Ke.target.value)},onKeyDown:function(Ke){Ke.stopPropagation()},style:{width:"100%"},prefix:(0,h.jsx)(ee.Z,{})})}),at]})},open:Tt,onDropdownVisibleChange:function(at){at||setTimeout(function(){Q("")},0),ge||Rt(at)},prefixCls:j,options:Ee||!V?mt:mt==null?void 0:mt.filter(function(Ve){var at,Je,Ke,st,wt;return((at=String(Ve[ot]))===null||at===void 0||(Je=at.toLowerCase())===null||Je===void 0?void 0:Je.includes(V))||((Ke=Ve[It])===null||Ke===void 0||(st=Ke.toString())===null||st===void 0||(wt=st.toLowerCase())===null||wt===void 0?void 0:wt.includes(V))})})),(0,h.jsx)(le.Q,{ellipsis:!0,size:pe,label:w,placeholder:ke,disabled:et,expanded:Tt,bordered:rt,allowClear:Be,value:je||(U==null?void 0:U.label)||U,onClear:function(){H==null||H(void 0,void 0)},ref:Fe})]}))},lt=M.forwardRef(Ue),Vt=["optionItemRender","mode","onSearch","onFocus","onChange","autoClearSearchValue","searchOnFocus","resetAfterSelect","fetchDataOnSearch","optionFilterProp","optionLabelProp","className","disabled","options","fetchData","resetData","prefixCls","onClear","searchValue","showSearch","fieldNames"],Bt=Ce.Z.Option,bt=Ce.Z.OptGroup,J=function(g,y){var w=g.optionItemRender,j=g.mode,H=g.onSearch,U=g.onFocus,q=g.onChange,de=g.autoClearSearchValue,Me=de===void 0?!0:de,pe=g.searchOnFocus,Ie=pe===void 0?!1:pe,et=g.resetAfterSelect,Ct=et===void 0?!1:et,Ye=g.fetchDataOnSearch,rt=Ye===void 0?!0:Ye,mt=g.optionFilterProp,Ee=mt===void 0?"label":mt,Be=g.optionLabelProp,qe=Be===void 0?"label":Be,Oe=g.className,Fe=g.disabled,ge=g.options,We=g.fetchData,ze=g.resetData,ke=g.prefixCls,pt=g.onClear,tt=g.searchValue,ot=g.showSearch,yt=g.fieldNames,It=(0,l.Z)(g,Vt),Zt=yt||{},Ft=Zt.label,At=Ft===void 0?"label":Ft,Qt=Zt.value,Et=Qt===void 0?"value":Qt,Tt=Zt.options,Rt=Tt===void 0?"options":Tt,Ut=(0,M.useState)(tt),Y=(0,a.Z)(Ut,2),V=Y[0],Q=Y[1],re=(0,M.useRef)();(0,M.useImperativeHandle)(y,function(){return re.current}),(0,M.useEffect)(function(){if(It.autoFocus){var Je;re==null||(Je=re.current)===null||Je===void 0||Je.focus()}},[It.autoFocus]),(0,M.useEffect)(function(){Q(tt)},[tt]);var Se=(0,M.useContext)(B.ZP.ConfigContext),Le=Se.getPrefixCls,$e=Le("pro-filed-search-select",ke),je=_e()($e,Oe,(0,v.Z)({},"".concat($e,"-disabled"),Fe)),Ve=function(Ke,st){return Array.isArray(Ke)&&Ke.length>0?Ke.map(function(wt,$t){var Kt=st==null?void 0:st[$t],mn=(Kt==null?void 0:Kt["data-item"])||{};return(0,r.Z)((0,r.Z)({},mn),wt)}):[]},at=function Je(Ke){return Ke.map(function(st){var wt,$t=st.disabled,Kt=st.className,mn=st.optionType,fn=st[At],tn=st[Et],jn=(wt=st[Rt])!==null&&wt!==void 0?wt:[];return mn==="optGroup"||st.options?(0,h.jsx)(bt,{label:fn,children:Je(jn)},tn):(0,M.createElement)(Bt,(0,r.Z)((0,r.Z)({},st),{},{value:tn,key:tn||(fn==null?void 0:fn.toString()),disabled:$t,"data-item":st,className:"".concat($e,"-option ").concat(Kt||""),label:fn}),(w==null?void 0:w(st))||fn)})};return(0,h.jsx)(Ce.Z,(0,r.Z)((0,r.Z)({ref:re,className:je,allowClear:!0,autoClearSearchValue:Me,disabled:Fe,mode:j,showSearch:ot,searchValue:V,optionFilterProp:Ee,optionLabelProp:qe,onClear:function(){pt==null||pt(),We(""),ot&&Q(void 0)}},It),{},{onSearch:ot?function(Je){rt&&We(Je),H==null||H(Je),Q(Je)}:void 0,onChange:function(Ke,st){ot&&Me&&(We(""),H==null||H(""),Q(void 0));for(var wt=arguments.length,$t=new Array(wt>2?wt-2:0),Kt=2;Kt2&&arguments[2]!==void 0?arguments[2]:!0,q=Object.keys(H).reduce(function(pe,Ie){var et=H[Ie];return(0,le.k)(et)||(pe[Ie]=et),pe},{});if(Object.keys(q).length<1||typeof window=="undefined"||(0,ne.Z)(j)!=="object"||(0,le.k)(j)||j instanceof Blob)return j;var de=Array.isArray(j)?[]:{},Me=function pe(Ie,et){var Ct=Array.isArray(Ie),Ye=Ct?[]:{};return Ie==null||Ie===void 0?Ye:(Object.keys(Ie).forEach(function(rt){var mt=et?[et,rt].flat(1):[rt].flat(1),Ee=Ie[rt],Be=(0,Pe.default)(q,mt),qe=function ge(We){return Array.isArray(We)&&We.forEach(function(ze,ke){!ze||(typeof ze=="function"&&(Ee[ke]=ze(Ee,rt,Ie)),(0,ne.Z)(ze)==="object"&&!Array.isArray(ze)&&Object.keys(ze).forEach(function(pt){if(typeof ze[pt]=="function"){var tt=ze[pt](Ie[rt][ke][pt],rt,Ie);Ee[ke][pt]=(0,ne.Z)(tt)==="object"?tt[pt]:tt}}),(0,ne.Z)(ze)==="object"&&Array.isArray(ze)&&ge(ze))}),rt},Oe=function(){var We=typeof Be=="function"?Be==null?void 0:Be(Ee,rt,Ie):qe(Be);if(Array.isArray(We)){Ye=(0,ee.Z)(Ye,We,Ee);return}(0,ne.Z)(We)==="object"&&!Array.isArray(de)?de=(0,a.Z)((0,a.Z)({},de),We):(0,ne.Z)(We)==="object"&&Array.isArray(de)?Ye=(0,a.Z)((0,a.Z)({},Ye),We):We&&(Ye=(0,ee.Z)(Ye,[We],Ee))};if(Be&&typeof Be=="function"&&Oe(),typeof window!="undefined"){if(Ae(Ee)){var Fe=pe(Ee,mt);if(Object.keys(Fe).length<1)return;Ye=(0,ee.Z)(Ye,[rt],Fe);return}Oe()}}),U?Ye:Ie)};return de=Array.isArray(j)&&Array.isArray(de)?(0,ie.Z)(Me(j)):(0,Ce.T)({},Me(j),de),de},_e=e(23312),Ge=e(45095),dt=e(58131),Ue=e(58720),lt=e(75081),Vt=e(94184),Bt=e.n(Vt),bt=e(97435),J=e(45520),be=e(71577),Re=e(26713),ce=function(j){var H=(0,b.YB)(),U=dt.Z.useFormInstance();if(j.render===!1)return null;var q=j.onSubmit,de=j.render,Me=j.onReset,pe=j.searchConfig,Ie=pe===void 0?{}:pe,et=j.submitButtonProps,Ct=j.resetButtonProps,Ye=Ct===void 0?{}:Ct,rt=function(){U.submit(),q==null||q()},mt=function(){U.resetFields(),Me==null||Me()},Ee=Ie.submitText,Be=Ee===void 0?H.getMessage("tableForm.submit","\u63D0\u4EA4"):Ee,qe=Ie.resetText,Oe=qe===void 0?H.getMessage("tableForm.reset","\u91CD\u7F6E"):qe,Fe=[];Ye!==!1&&Fe.push((0,I.createElement)(be.ZP,(0,a.Z)((0,a.Z)({},(0,bt.Z)(Ye,["preventDefault"])),{},{key:"rest",onClick:function(ze){var ke;Ye!=null&&Ye.preventDefault||mt(),Ye==null||(ke=Ye.onClick)===null||ke===void 0||ke.call(Ye,ze)}}),Oe)),et!==!1&&Fe.push((0,I.createElement)(be.ZP,(0,a.Z)((0,a.Z)({type:"primary"},(0,bt.Z)(et||{},["preventDefault"])),{},{key:"submit",onClick:function(ze){var ke;et!=null&&et.preventDefault||rt(),et==null||(ke=et.onClick)===null||ke===void 0||ke.call(et,ze)}}),Be));var ge=de?de((0,a.Z)((0,a.Z)({},j),{},{form:U,submit:rt,reset:mt}),Fe):Fe;return ge?Array.isArray(ge)?(ge==null?void 0:ge.length)<1?null:(ge==null?void 0:ge.length)===1?ge[0]:(0,h.jsx)(Re.Z,{wrap:!0,children:ge}):ge:null},ft=ce,Ze=e(17186),Qe=e(66758),vt=e(2514),gt=e(9105),Te=["children","contentRender","submitter","fieldProps","formItemProps","groupProps","transformKey","formRef","onInit","form","loading","formComponentType","extraUrlParams","syncToUrl","onUrlSearchChange","onReset","omitNil","isKeyPressSubmit","autoFocusFirstInput","grid","rowProps","colProps"],nt=["extraUrlParams","syncToUrl","isKeyPressSubmit","syncToUrlAsImportant","syncToInitialValues","children","contentRender","submitter","fieldProps","formItemProps","groupProps","dateFormatter","formRef","onInit","form","formComponentType","onReset","grid","rowProps","colProps","omitNil","request","params","initialValues","formKey","readonly"],he=function(j,H,U){return j===!0?H:(0,O.h)(j,H,U)},Xe=function(j){return!j||Array.isArray(j)?j:[j]};function C(w){var j=w.children,H=w.contentRender,U=w.submitter,q=w.fieldProps,de=w.formItemProps,Me=w.groupProps,pe=w.transformKey,Ie=w.formRef,et=w.onInit,Ct=w.form,Ye=w.loading,rt=w.formComponentType,mt=w.extraUrlParams,Ee=mt===void 0?{}:mt,Be=w.syncToUrl,qe=w.onUrlSearchChange,Oe=w.onReset,Fe=w.omitNil,ge=Fe===void 0?!0:Fe,We=w.isKeyPressSubmit,ze=w.autoFocusFirstInput,ke=ze===void 0?!0:ze,pt=w.grid,tt=w.rowProps,ot=w.colProps,yt=(0,v.Z)(w,Te),It=dt.Z.useFormInstance(),Zt=(0,I.useContext)(Ue.ZP.SizeContext),Ft=(0,I.useRef)(Ct||It),At=(0,vt.zx)({grid:pt,rowProps:tt}),Qt=At.RowWrapper,Et=(0,m.J)(function(){return It}),Tt=(0,I.useMemo)(function(){return{getFieldsFormatValue:function(Se){var Le;return pe((Le=Et())===null||Le===void 0?void 0:Le.getFieldsValue(Se),ge)},getFieldFormatValue:function(){var Se,Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],$e=Xe(Le);if(!$e)throw new Error("nameList is require");var je=(Se=Et())===null||Se===void 0?void 0:Se.getFieldValue($e),Ve=$e?(0,ee.Z)({},$e,je):je;return(0,Pe.default)(pe(Ve,ge,$e),$e)},getFieldFormatValueObject:function(Se){var Le,$e=Xe(Se),je=(Le=Et())===null||Le===void 0?void 0:Le.getFieldValue($e),Ve=$e?(0,ee.Z)({},$e,je):je;return pe(Ve,ge,$e)},validateFieldsReturnFormatValue:function(){var re=(0,d.Z)((0,c.Z)().mark(function Le($e){var je,Ve,at;return(0,c.Z)().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:if(!(!Array.isArray($e)&&$e)){Ke.next=2;break}throw new Error("nameList must be array");case 2:return Ke.next=4,(je=Et())===null||je===void 0?void 0:je.validateFields($e);case 4:return Ve=Ke.sent,at=pe(Ve,ge),Ke.abrupt("return",at||{});case 7:case"end":return Ke.stop()}},Le)}));function Se(Le){return re.apply(this,arguments)}return Se}(),formRef:Ft}},[ge,pe]),Rt=(0,I.useMemo)(function(){return I.Children.toArray(j).map(function(re,Se){return Se===0&&I.isValidElement(re)&&ke?I.cloneElement(re,(0,a.Z)((0,a.Z)({},re.props),{},{autoFocus:ke})):re})},[ke,j]),Ut=(0,I.useMemo)(function(){return typeof U=="boolean"||!U?{}:U},[U]),Y=(0,I.useMemo)(function(){if(U!==!1)return(0,h.jsx)(ft,(0,a.Z)((0,a.Z)({},Ut),{},{onReset:function(){var Se,Le,$e=pe((Se=Ft.current)===null||Se===void 0?void 0:Se.getFieldsValue(),ge);if(Ut==null||(Le=Ut.onReset)===null||Le===void 0||Le.call(Ut,$e),Oe==null||Oe($e),Be){var je,Ve=Object.keys(pe((je=Ft.current)===null||je===void 0?void 0:je.getFieldsValue(),!1)).reduce(function(at,Je){return(0,a.Z)((0,a.Z)({},at),{},(0,l.Z)({},Je,$e[Je]||void 0))},Ee);qe(he(Be,Ve,"set"))}},submitButtonProps:(0,a.Z)({loading:Ye},Ut.submitButtonProps)}),"submitter")},[U,Ut,Ye,pe,ge,Oe,Be,Ee,qe]),V=(0,I.useMemo)(function(){var re=pt?(0,h.jsx)(Qt,{children:Rt}):Rt;return H?H(re,Y,Ft.current):re},[pt,Qt,Rt,H,Y]),Q=(0,$.D)(w.initialValues);return(0,I.useEffect)(function(){if(!(Be||!w.initialValues||!Q||yt.request)){var re=(0,s.A)(w.initialValues,Q);(0,J.noteOnce)(re,"initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ?
: null "),(0,J.noteOnce)(re,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null ")}},[w.initialValues]),(0,I.useImperativeHandle)(Ie,function(){return(0,a.Z)((0,a.Z)({},Ft.current),Tt)},[]),(0,I.useEffect)(function(){var re,Se,Le=pe((re=Ft.current)===null||re===void 0||(Se=re.getFieldsValue)===null||Se===void 0?void 0:Se.call(re,!0),ge);et==null||et(Le,Ft.current)},[]),(0,h.jsx)(M.J.Provider,{value:Tt,children:(0,h.jsx)(Ue.ZP.SizeContext.Provider,{value:yt.size||Zt,children:(0,h.jsxs)(vt._p.Provider,{value:{grid:pt,colProps:ot},children:[yt.component!==!1&&(0,h.jsx)("input",{type:"text",style:{display:"none"}}),V]})})})}var g=0;function y(w){var j=w.extraUrlParams,H=j===void 0?{}:j,U=w.syncToUrl,q=w.isKeyPressSubmit,de=w.syncToUrlAsImportant,Me=de===void 0?!1:de,pe=w.syncToInitialValues,Ie=pe===void 0?!0:pe,et=w.children,Ct=w.contentRender,Ye=w.submitter,rt=w.fieldProps,mt=w.formItemProps,Ee=w.groupProps,Be=w.dateFormatter,qe=Be===void 0?"string":Be,Oe=w.formRef,Fe=w.onInit,ge=w.form,We=w.formComponentType,ze=w.onReset,ke=w.grid,pt=w.rowProps,tt=w.colProps,ot=w.omitNil,yt=ot===void 0?!0:ot,It=w.request,Zt=w.params,Ft=w.initialValues,At=w.formKey,Qt=At===void 0?g:At,Et=w.readonly,Tt=(0,v.Z)(w,nt),Rt=(0,I.useRef)({}),Ut=(0,N.Z)(!1),Y=(0,r.Z)(Ut,2),V=Y[0],Q=Y[1],re=(0,Ge.l)({},{disabled:!U}),Se=(0,r.Z)(re,2),Le=Se[0],$e=Se[1],je=(0,I.useRef)((0,F.x)());(0,I.useEffect)(function(){g+=0},[]);var Ve=k({request:It,params:Zt,proFieldKey:Qt}),at=(0,r.Z)(Ve,1),Je=at[0],Ke=(0,I.useContext)(Ue.ZP.ConfigContext),st=Ke.getPrefixCls,wt=st("pro-form"),$t=(0,_.Xj)("ProForm",function(nn){return(0,l.Z)({},".".concat(wt),(0,l.Z)({"*":{boxSizing:"border-box"}},"> div:not(".concat(nn.proComponentsCls,"-form-light-filter)"),{".pro-field":{maxWidth:"100%","&-xs":{width:104},"&-s":{width:216},"&-sm":{width:216},"&-m":{width:328},"&-md":{width:328},"&-l":{width:440},"&-lg":{width:440},"&-xl":{width:552}}}))}),Kt=$t.wrapSSR,mn=$t.hashId,fn=(0,I.useState)(function(){return U?he(U,Le,"get"):{}}),tn=(0,r.Z)(fn,2),jn=tn[0],An=tn[1],pn=(0,I.useRef)({}),Xt=(0,I.useRef)({}),wn=(0,I.useCallback)(function(nn,Jt,rn){return ye((0,_e.lp)(nn,qe,Xt.current,Jt,rn),pn.current,Jt)},[qe]);(0,I.useEffect)(function(){Ie||An({})},[Ie]),(0,I.useEffect)(function(){!U||$e((0,a.Z)((0,a.Z)({},Le),H))},[H,U]);var Dn=(0,I.useMemo)(function(){if(typeof window!="undefined"&&We&&["DrawerForm"].includes(We))return function(nn){return nn.parentNode||document.body}},[We]),En=(0,m.J)((0,d.Z)((0,c.Z)().mark(function nn(){var Jt,rn,vn,kt,hn,an;return(0,c.Z)().wrap(function(Ht){for(;;)switch(Ht.prev=Ht.next){case 0:if(Tt.onFinish){Ht.next=2;break}return Ht.abrupt("return");case 2:if(!V){Ht.next=4;break}return Ht.abrupt("return");case 4:return Q(!0),Ht.prev=5,vn=Rt==null||(Jt=Rt.current)===null||Jt===void 0||(rn=Jt.getFieldsFormatValue)===null||rn===void 0?void 0:rn.call(Jt),Ht.next=9,Tt.onFinish(vn);case 9:U&&(an=Object.keys(Rt==null||(kt=Rt.current)===null||kt===void 0||(hn=kt.getFieldsFormatValue)===null||hn===void 0?void 0:hn.call(kt,void 0,!1)).reduce(function(on,Tn){var Rn;return(0,a.Z)((0,a.Z)({},on),{},(0,l.Z)({},Tn,(Rn=vn[Tn])!==null&&Rn!==void 0?Rn:void 0))},H),Object.keys(Le).forEach(function(on){an[on]!==!1&&an[on]!==0&&!an[on]&&(an[on]=void 0)}),$e(he(U,an,"set"))),Q(!1),Ht.next=16;break;case 13:Ht.prev=13,Ht.t0=Ht.catch(5),Q(!1);case 16:case"end":return Ht.stop()}},nn,null,[[5,13]])})));return(0,I.useImperativeHandle)(Oe,function(){return Rt.current},[!Je]),!Je&&w.request?(0,h.jsx)("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:(0,h.jsx)(lt.Z,{})}):Kt((0,h.jsx)(gt.A.Provider,{value:{mode:w.readonly?"read":"edit"},children:(0,h.jsx)(b._Y,{needDeps:!0,children:(0,h.jsx)(Qe.Z.Provider,{value:{formRef:Rt,fieldProps:rt,formItemProps:mt,groupProps:Ee,formComponentType:We,getPopupContainer:Dn,formKey:je.current,setFieldValueType:function(Jt,rn){var vn=rn.valueType,kt=vn===void 0?"text":vn,hn=rn.dateFormat,an=rn.transform;!Array.isArray(Jt)||(pn.current=(0,ee.Z)(pn.current,Jt,an),Xt.current=(0,ee.Z)(Xt.current,Jt,{valueType:kt,dateFormat:hn}))}},children:(0,h.jsx)(Ze.J.Provider,{value:{},children:(0,h.jsx)(dt.Z,(0,a.Z)((0,a.Z)({onKeyPress:function(Jt){if(!!q&&Jt.key==="Enter"){var rn;(rn=Rt.current)===null||rn===void 0||rn.submit()}},autoComplete:"off",form:ge},(0,bt.Z)(Tt,["labelWidth","autoFocusFirstInput"])),{},{initialValues:Me?(0,a.Z)((0,a.Z)((0,a.Z)({},Ft),Je),jn):(0,a.Z)((0,a.Z)((0,a.Z)({},jn),Ft),Je),onValuesChange:function(Jt,rn){var vn;Tt==null||(vn=Tt.onValuesChange)===null||vn===void 0||vn.call(Tt,wn(Jt,!!yt),wn(rn,!!yt))},className:Bt()(w.className,wt,mn),onFinish:En,children:(0,h.jsx)(C,(0,a.Z)((0,a.Z)({transformKey:wn,autoComplete:"off",loading:V,onUrlSearchChange:$e},w),{},{formRef:Rt,initialValues:(0,a.Z)((0,a.Z)({},Ft),Je)}))}))})})})}))}},9105:function(f,x,e){"use strict";e.d(x,{A:function(){return l}});var r=e(67294),l=r.createContext({mode:"edit"})},90789:function(f,x,e){"use strict";e.d(x,{G:function(){return Ce}});var r=e(4942),l=e(97685),a=e(1413),c=e(45987),d=e(85893),v=e(51812),h=["colon","dependencies","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","initialValue","noStyle","label","labelAlign","labelCol","name","preserve","normalize","required","rules","shouldUpdate","trigger","validateFirst","validateStatus","validateTrigger","valuePropName","wrapperCol","hidden","addonBefore","addonAfter"];function b(Ae){var ye={};return h.forEach(function(_e){Ae[_e]!==void 0&&(ye[_e]=Ae[_e])}),ye}var O=e(26369),m=e(60249),$=e(94184),s=e.n($),M=e(24407),N=e(45520),F=e(67294),I=e(30939),B=e(62370),te=e(97462),k=e(66758),_=e(2514),ie=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],ne=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],Pe=Symbol("ProFormComponent"),ee={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},le=["switch","radioButton","radio","rate"];function Ce(Ae,ye){Ae.displayName="ProFormComponent";var _e=function(Ue){var lt=(0,a.Z)((0,a.Z)({},Ue==null?void 0:Ue.filedConfig),ye)||{},Vt=lt.valueType,Bt=lt.customLightMode,bt=lt.lightFilterLabelFormatter,J=lt.valuePropName,be=J===void 0?"value":J,Re=lt.ignoreWidth,ce=lt.defaultProps,ft=(0,c.Z)(lt,ie),Ze=(0,a.Z)((0,a.Z)({},ce),Ue),Qe=Ze.label,vt=Ze.tooltip,gt=Ze.placeholder,Te=Ze.width,nt=Ze.bordered,he=Ze.messageVariables,Xe=Ze.ignoreFormItem,C=Ze.transform,g=Ze.convertValue,y=Ze.readonly,w=Ze.allowClear,j=Ze.colSize,H=Ze.getFormItemProps,U=Ze.getFieldProps,q=Ze.filedConfig,de=Ze.cacheForSwr,Me=Ze.proFieldProps,pe=(0,c.Z)(Ze,ne),Ie=Vt||pe.valueType,et=(0,F.useMemo)(function(){return Re||le.includes(Ie)},[Re,Ie]),Ct=(0,F.useState)(),Ye=(0,l.Z)(Ct,2),rt=Ye[1],mt=(0,F.useState)(),Ee=(0,l.Z)(mt,2),Be=Ee[0],qe=Ee[1],Oe=F.useContext(k.Z),Fe=(0,F.useMemo)(function(){return{formItemProps:H==null?void 0:H(),fieldProps:U==null?void 0:U()}},[U,H,pe.dependenciesValues,Be]),ge=(0,F.useMemo)(function(){var Y=(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},Xe?(0,v.Y)({value:pe.value}):{}),{},{placeholder:gt,disabled:Ue.disabled},Oe.fieldProps),Fe.fieldProps),pe.fieldProps);return Y.style=(0,v.Y)(Y==null?void 0:Y.style),Y},[Xe,pe.value,pe.fieldProps,gt,Ue.disabled,Oe.fieldProps,Fe.fieldProps]),We=b(pe),ze=(0,F.useMemo)(function(){return(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},Oe.formItemProps),We),Fe.formItemProps),pe.formItemProps)},[Fe.formItemProps,Oe.formItemProps,pe.formItemProps,We]),ke=(0,F.useMemo)(function(){return(0,a.Z)((0,a.Z)({messageVariables:he},ft),ze)},[ft,ze,he]);(0,N.noteOnce)(!pe.defaultValue,"\u8BF7\u4E0D\u8981\u5728 Form \u4E2D\u4F7F\u7528 defaultXXX\u3002\u5982\u679C\u9700\u8981\u9ED8\u8BA4\u503C\u8BF7\u4F7F\u7528 initialValues \u548C initialValue\u3002");var pt=(0,F.useContext)(M.zb),tt=pt.prefixName,ot=(0,F.useMemo)(function(){var Y,V=ke==null?void 0:ke.name;Array.isArray(V)&&(V=V.join("_")),Array.isArray(tt)&&V&&(V="".concat(tt.join("."),".").concat(V));var Q=V&&"form-".concat((Y=Oe.formKey)!==null&&Y!==void 0?Y:"","-field-").concat(V);return Q},[(0,I.P)(ke==null?void 0:ke.name),tt,Oe.formKey]),yt=(0,O.D)(pe),It=(0,F.useCallback)(function(){var Y;H||U?qe([]):pe.renderFormItem&&rt([]);for(var V=arguments.length,Q=new Array(V),re=0;ret.offsetHeight&&t.scrollTo({top:i+n.offsetHeight-t.offsetHeight})}}function Re(n,t,i){var o=new Set(n),u=t();return n.filter(function(p){var S=u[p],P=S?S.parent:null,Z=S?S.children:null;return i===Ue?!(Z&&Z.some(function(E){return E.key&&o.has(E.key)})):!(P&&!P.node.disabled&&o.has(P.key))})}function ce(n,t,i){for(var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,u=t,p=[],S=function(E){var R,A,L,T=n[E],D=(R=u)===null||R===void 0?void 0:R.findIndex(function(z){var K=z[i.value];return o?String(K)===String(T):K===T}),W=D!==-1?(A=u)===null||A===void 0?void 0:A[D]:null;p.push({value:(L=W==null?void 0:W[i.value])!==null&&L!==void 0?L:T,index:D,option:W}),u=W==null?void 0:W[i.children]},P=0;P0&&T.length>=A)){var G=[].concat((0,B.Z)(z),[K]),X=K[i.children];if((!X||X.length===0||p)&&P(n,G,{label:i.label})){var ae;T.push((0,r.Z)((0,r.Z)({},K),{},(ae={},(0,he.Z)(ae,i.label,E(n,G,o,i)),(0,he.Z)(ae,Xe,G),ae)))}X&&D(K[i.children],G)}})}return D(t,[]),L&&T.sort(function(W,z){return L(W[Xe],z[Xe],n,i)}),A>0?T.slice(0,A):T},[n,t,i,o,E,p,P,L,A])};function w(n){var t,i=n.prefixCls,o=n.checked,u=n.halfChecked,p=n.disabled,S=n.onClick,P=s.useContext(_e),Z=P.checkable,E=typeof Z!="boolean"?Z:null;return s.createElement("span",{className:ne()("".concat(i),(t={},(0,he.Z)(t,"".concat(i,"-checked"),o),(0,he.Z)(t,"".concat(i,"-indeterminate"),!o&&u),(0,he.Z)(t,"".concat(i,"-disabled"),p),t)),onClick:S},E)}var j="__cascader_fix_label__";function H(n){var t=n.prefixCls,i=n.multiple,o=n.options,u=n.activeValue,p=n.prevValuePath,S=n.onToggleOpen,P=n.onSelect,Z=n.onActive,E=n.checkedSet,R=n.halfCheckedSet,A=n.loadingKeys,L=n.isSelectable,T="".concat(t,"-menu"),D="".concat(t,"-menu-item"),W=s.useContext(_e),z=W.fieldNames,K=W.changeOnSelect,G=W.expandTrigger,X=W.expandIcon,ae=W.loadingIcon,fe=W.dropdownMenuColumnStyle,oe=G==="hover",xe=s.useMemo(function(){return o.map(function(se){var me,ue=se.disabled,ve=se[Xe],De=(me=se[j])!==null&&me!==void 0?me:se[z.label],Ne=se[z.value],we=J(se,z),He=ve?ve.map(function(it){return it[z.value]}):[].concat((0,B.Z)(p),[Ne]),xt=lt(He),ht=A.includes(xt),ut=E.has(xt),ct=R.has(xt);return{disabled:ue,label:De,value:Ne,isLeaf:we,isLoading:ht,checked:ut,halfChecked:ct,option:se,fullPath:He,fullPathKey:xt}})},[o,E,z,R,A,p]);return s.createElement("ul",{className:T,role:"menu"},xe.map(function(se){var me,ue=se.disabled,ve=se.label,De=se.value,Ne=se.isLeaf,we=se.isLoading,He=se.checked,xt=se.halfChecked,ht=se.option,ut=se.fullPath,ct=se.fullPathKey,it=function(){!ue&&(!oe||!Ne)&&Z(ut)},Nt=function(){L(ht)&&P(ut,Ne)},Pt;return typeof ht.title=="string"?Pt=ht.title:typeof ve=="string"&&(Pt=ve),s.createElement("li",{key:ct,className:ne()(D,(me={},(0,he.Z)(me,"".concat(D,"-expand"),!Ne),(0,he.Z)(me,"".concat(D,"-active"),u===De),(0,he.Z)(me,"".concat(D,"-disabled"),ue),(0,he.Z)(me,"".concat(D,"-loading"),we),me)),style:fe,role:"menuitemcheckbox",title:Pt,"aria-checked":He,"data-path-key":ct,onClick:function(){it(),(!i||Ne)&&Nt()},onDoubleClick:function(){K&&S(!1)},onMouseEnter:function(){oe&&it()},onMouseDown:function(Yt){Yt.preventDefault()}},i&&s.createElement(w,{prefixCls:"".concat(t,"-checkbox"),checked:He,halfChecked:xt,disabled:ue,onClick:function(Yt){Yt.stopPropagation(),Nt()}}),s.createElement("div",{className:"".concat(D,"-content")},ve),!we&&X&&!Ne&&s.createElement("div",{className:"".concat(D,"-expand-icon")},X),we&&ae&&s.createElement("div",{className:"".concat(D,"-loading-icon")},ae))}))}var U=function(){var n=(0,ee.lk)(),t=n.multiple,i=n.open,o=s.useContext(_e),u=o.values,p=s.useState([]),S=(0,M.Z)(p,2),P=S[0],Z=S[1];return s.useEffect(function(){if(i&&!t){var E=u[0];Z(E||[])}},[i]),[P,Z]},q=e(15105),de=function(n,t,i,o,u,p){var S=(0,ee.lk)(),P=S.direction,Z=S.searchValue,E=S.toggleOpen,R=S.open,A=P==="rtl",L=s.useMemo(function(){for(var fe=-1,oe=t,xe=[],se=[],me=o.length,ue=function(xt){var ht=oe.findIndex(function(ut){return ut[i.value]===o[xt]});if(ht===-1)return"break";fe=ht,xe.push(fe),se.push(o[xt]),oe=oe[fe][i.children]},ve=0;ve1){var oe=D.slice(0,-1);K(oe)}else E(!1)},ae=function(){var oe,xe=((oe=z[W])===null||oe===void 0?void 0:oe[i.children])||[],se=xe.find(function(ue){return!ue.disabled});if(se){var me=[].concat((0,B.Z)(D),[se[i.value]]);K(me)}};s.useImperativeHandle(n,function(){return{onKeyDown:function(oe){var xe=oe.which;switch(xe){case q.Z.UP:case q.Z.DOWN:{var se=0;xe===q.Z.UP?se=-1:xe===q.Z.DOWN&&(se=1),se!==0&&G(se);break}case q.Z.LEFT:{A?ae():X();break}case q.Z.RIGHT:{A?X():ae();break}case q.Z.BACKSPACE:{Z||X();break}case q.Z.ENTER:{if(D.length){var me=z[W],ue=(me==null?void 0:me[Xe])||[];ue.length?p(ue.map(function(ve){return ve[i.value]}),ue[ue.length-1]):p(D,z[W])}break}case q.Z.ESC:E(!1),R&&oe.stopPropagation()}},onKeyUp:function(){}}})},Me=s.forwardRef(function(n,t){var i,o,u,p,S=(0,ee.lk)(),P=S.prefixCls,Z=S.multiple,E=S.searchValue,R=S.toggleOpen,A=S.notFoundContent,L=S.direction,T=s.useRef(),D=L==="rtl",W=s.useContext(_e),z=W.options,K=W.values,G=W.halfValues,X=W.fieldNames,ae=W.changeOnSelect,fe=W.onSelect,oe=W.searchOptions,xe=W.dropdownPrefixCls,se=W.loadData,me=W.expandTrigger,ue=xe||P,ve=s.useState([]),De=(0,M.Z)(ve,2),Ne=De[0],we=De[1],He=function(Mt){if(!(!se||E)){var St=ce(Mt,z,X),Gt=St.map(function(Zn){var Un=Zn.option;return Un}),cn=Gt[Gt.length-1];if(cn&&!J(cn,X)){var Wn=lt(Mt);we(function(Zn){return[].concat((0,B.Z)(Zn),[Wn])}),se(Gt)}}};s.useEffect(function(){Ne.length&&Ne.forEach(function(Ot){var Mt=Bt(Ot),St=ce(Mt,z,X,!0).map(function(cn){var Wn=cn.option;return Wn}),Gt=St[St.length-1];(!Gt||Gt[X.children]||J(Gt,X))&&we(function(cn){return cn.filter(function(Wn){return Wn!==Ot})})})},[z,Ne,X]);var xt=s.useMemo(function(){return new Set(Vt(K))},[K]),ht=s.useMemo(function(){return new Set(Vt(G))},[G]),ut=U(),ct=(0,M.Z)(ut,2),it=ct[0],Nt=ct[1],Pt=function(Mt){Nt(Mt),He(Mt)},jt=function(Mt){var St=Mt.disabled,Gt=J(Mt,X);return!St&&(Gt||ae||Z)},Yt=function(Mt,St){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;fe(Mt),!Z&&(St||ae&&(me==="hover"||Gt))&&R(!1)},qt=s.useMemo(function(){return E?oe:z},[E,oe,z]),ln=s.useMemo(function(){for(var Ot=[{options:qt}],Mt=qt,St=function(Zn){var Un=it[Zn],Kn=Mt.find(function(lr){return lr[X.value]===Un}),yn=Kn==null?void 0:Kn[X.children];if(!(yn!=null&&yn.length))return"break";Mt=yn,Ot.push({options:yn})},Gt=0;Gt":De,we=n.loadingIcon,He=n.children,xt=n.dropdownMatchSelectWidth,ht=xt===void 0?!1:xt,ut=n.showCheckedStrategy,ct=ut===void 0?dt:ut,it=(0,l.Z)(n,Ye),Nt=(0,le.ZP)(i),Pt=!!A,jt=(0,Ae.Z)(S,{value:P,postState:mt}),Yt=(0,M.Z)(jt,2),qt=Yt[0],ln=Yt[1],sn=s.useMemo(function(){return bt(p)},[JSON.stringify(p)]),_t=s.useMemo(function(){return z||[]},[z]),un=Qe(_t,sn),Sn=s.useCallback(function(Mn){var dn=un();return Mn.map(function(In){var Bn=dn[In].nodes;return Bn.map(function(Qn){return Qn[sn.value]})})},[un,sn]),$n=(0,Ae.Z)("",{value:L,postState:function(dn){return dn||""}}),Wt=(0,M.Z)($n,2),Ot=Wt[0],Mt=Wt[1],St=function(dn,In){Mt(dn),In.source!=="blur"&&T&&T(dn)},Gt=nt(D),cn=(0,M.Z)(Gt,2),Wn=cn[0],Zn=cn[1],Un=y(Ot,_t,sn,K||u,Zn,Z),Kn=vt(_t,sn),yn=s.useMemo(function(){var Mn=Kn(qt),dn=(0,M.Z)(Mn,2),In=dn[0],Bn=dn[1];if(!Pt||!qt.length)return[In,[],Bn];var Qn=Vt(In),Rr=un(),nr=(0,Ce.S)(Qn,!0,Rr),Wr=nr.checkedKeys,Mr=nr.halfCheckedKeys;return[Sn(Wr),Sn(Mr),Bn]},[Pt,qt,un,Sn,Kn]),lr=(0,M.Z)(yn,3),er=lr[0],sr=lr[1],zn=lr[2],Na=s.useMemo(function(){var Mn=Vt(er),dn=Re(Mn,un,ct);return[].concat((0,B.Z)(zn),(0,B.Z)(Sn(dn)))},[er,un,Sn,zn,ct]),Jn=ft(Na,_t,sn,Pt,R),br=gt(function(Mn){if(ln(Mn),E){var dn=mt(Mn),In=dn.map(function(Rr){return ce(Rr,_t,sn).map(function(nr){return nr.option})}),Bn=Pt?dn:dn[0],Qn=Pt?In:In[0];E(Bn,Qn)}}),tr=gt(function(Mn){if(Mt(""),!Pt)br(Mn);else{var dn=lt(Mn),In=Vt(er),Bn=Vt(sr),Qn=In.includes(dn),Rr=zn.some(function(Cr){return lt(Cr)===dn}),nr=er,Wr=zn;if(Rr&&!Qn)Wr=zn.filter(function(Cr){return lt(Cr)!==dn});else{var Mr=Qn?In.filter(function(Cr){return Cr!==dn}):[].concat((0,B.Z)(In),[dn]),_r=un(),ur;if(Qn){var Wa=(0,Ce.S)(Mr,{checked:!1,halfCheckedKeys:Bn},_r);ur=Wa.checkedKeys}else{var ma=(0,Ce.S)(Mr,!0,_r);ur=ma.checkedKeys}var ha=Re(ur,un,ct);nr=Sn(ha)}br([].concat((0,B.Z)(Wr),(0,B.Z)(nr)))}}),Qr=function(dn,In){if(In.type==="clear"){br([]);return}var Bn=In.values[0].valueCells;tr(Bn)},fa=ae!==void 0?ae:X,$a=oe||fe,Ba=me||se,va=function(dn){ue==null||ue(dn),ve==null||ve(dn)},kr=s.useMemo(function(){return{options:_t,fieldNames:sn,values:er,halfValues:sr,changeOnSelect:Z,onSelect:tr,checkable:A,searchOptions:Un,dropdownPrefixCls:K,loadData:G,expandTrigger:W,expandIcon:Ne,loadingIcon:we,dropdownMenuColumnStyle:xe}},[_t,sn,er,sr,Z,tr,A,Un,K,G,W,Ne,we,xe]),qr=!(Ot?Un:_t).length,Ha=Ot&&Zn.matchInputWidth||qr?{}:{minWidth:"auto"};return s.createElement(_e.Provider,{value:kr},s.createElement(ee.Ac,(0,Pe.Z)({},it,{ref:t,id:Nt,prefixCls:u,dropdownMatchSelectWidth:ht,dropdownStyle:Ha,displayValues:Jn,onDisplayValuesChange:Qr,mode:Pt?"multiple":void 0,searchValue:Ot,onSearch:St,showSearch:Wn,OptionList:pe,emptyOptions:qr,open:fa,dropdownClassName:$a,placement:Ba,onDropdownVisibleChange:va,getRawInputElement:function(){return He}})))});Ee.SHOW_PARENT=dt,Ee.SHOW_CHILD=Ue;var Be=Ee,qe=Be,Oe=e(98423),Fe=e(53124),ge=e(88258),We=e(98866),ze=e(97647),ke=e(4173),pt=e(65223),tt=e(46163),ot=e(33603),yt=e(9708),It=e(87244),Zt=e(63185),Ft=e(67968),At=e(14747),Qt=e(80110);const Et=n=>{const{prefixCls:t,componentCls:i,antCls:o}=n,u=`${i}-menu-item`,p=` - &${u}-expand ${u}-expand-icon, - ${u}-loading-icon - `,S=Math.round((n.controlHeight-n.fontSize*n.lineHeight)/2);return[{[i]:{width:n.controlWidth}},{[`${i}-dropdown`]:[(0,Zt.C2)(`${t}-checkbox`,n),{[`&${o}-select-dropdown`]:{padding:0}},{[i]:{"&-checkbox":{top:0,marginInlineEnd:n.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${i}-menu-empty`]:{[`${i}-menu`]:{width:"100%",height:"auto",[u]:{color:n.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:n.controlItemWidth,height:n.dropdownHeight,margin:0,padding:n.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${n.lineWidth}px ${n.lineType} ${n.colorSplit}`},"&-item":Object.assign(Object.assign({},At.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${S}px ${n.paddingSM}px`,lineHeight:n.lineHeight,cursor:"pointer",transition:`all ${n.motionDurationMid}`,borderRadius:n.borderRadiusSM,"&:hover":{background:n.controlItemBgHover},"&-disabled":{color:n.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[p]:{color:n.colorTextDisabled}},[`&-active:not(${u}-disabled)`]:{["&, &:hover"]:{fontWeight:n.fontWeightStrong,backgroundColor:n.controlItemBgActive}},"&-content":{flex:"auto"},[p]:{marginInlineStart:n.paddingXXS,color:n.colorTextDescription,fontSize:n.fontSizeIcon},"&-keyword":{color:n.colorHighlight}})}}}]},{[`${i}-dropdown-rtl`]:{direction:"rtl"}},(0,Qt.c)(n)]};var Tt=(0,Ft.Z)("Cascader",n=>[Et(n)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180}),Rt=e(8745),Ut=function(n,t){var i={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&t.indexOf(o)<0&&(i[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(n);uZ===0?[P]:[].concat((0,B.Z)(S),[t,P]),[]),u=[];let p=0;return o.forEach((S,P)=>{const Z=p+S.length;let E=n.slice(p,Z);p=Z,P%2===1&&(E=s.createElement("span",{className:`${i}-menu-item-keyword`,key:`seperator-${P}`},E)),u.push(E)}),u}const re=(n,t,i,o)=>{const u=[],p=n.toLowerCase();return t.forEach((S,P)=>{P!==0&&u.push(" / ");let Z=S[o.label];const E=typeof Z;(E==="string"||E==="number")&&(Z=Q(String(Z),p,i)),u.push(Z)}),u},Se=s.forwardRef((n,t)=>{const{prefixCls:i,size:o,disabled:u,className:p,multiple:S,bordered:P=!0,transitionName:Z,choiceTransitionName:E="",popupClassName:R,dropdownClassName:A,expandIcon:L,placement:T,showSearch:D,allowClear:W=!0,notFoundContent:z,direction:K,getPopupContainer:G,status:X,showArrow:ae}=n,fe=Ut(n,["prefixCls","size","disabled","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),oe=(0,Oe.Z)(fe,["suffixIcon"]),{getPopupContainer:xe,getPrefixCls:se,renderEmpty:me,direction:ue}=s.useContext(Fe.E_),ve=K||ue,De=ve==="rtl",{status:Ne,hasFeedback:we,isFormItemInput:He,feedbackIcon:xt}=s.useContext(pt.aM),ht=(0,yt.F)(Ne,X),ut=z||(me==null?void 0:me("Cascader"))||s.createElement(ge.Z,{componentName:"Cascader"}),ct=se(),it=se("select",i),Nt=se("cascader",i),[Pt,jt]=(0,It.Z)(it),[Yt]=Tt(Nt),{compactSize:qt,compactItemClassnames:ln}=(0,ke.ri)(it,K),sn=ne()(R||A,`${Nt}-dropdown`,{[`${Nt}-dropdown-rtl`]:ve==="rtl"},jt),_t=s.useMemo(()=>{if(!D)return D;let yn={render:re};return typeof D=="object"&&(yn=Object.assign(Object.assign({},yn),D)),yn},[D]),un=s.useContext(ze.Z),Sn=qt||o||un,$n=s.useContext(We.Z),Wt=u!=null?u:$n;let Ot=L;L||(Ot=De?s.createElement(te.Z,null):s.createElement(_.Z,null));const Mt=s.createElement("span",{className:`${it}-menu-item-loading-icon`},s.createElement(k.Z,{spin:!0})),St=s.useMemo(()=>S?s.createElement("span",{className:`${Nt}-checkbox-inner`}):!1,[S]),Gt=ae!==void 0?ae:n.loading||!S,{suffixIcon:cn,removeIcon:Wn,clearIcon:Zn}=(0,tt.Z)(Object.assign(Object.assign({},n),{hasFeedback:we,feedbackIcon:xt,showArrow:Gt,multiple:S,prefixCls:it})),Un=()=>T!==void 0?T:De?"bottomRight":"bottomLeft",Kn=s.createElement(qe,Object.assign({prefixCls:it,className:ne()(!i&&Nt,{[`${it}-lg`]:Sn==="large",[`${it}-sm`]:Sn==="small",[`${it}-rtl`]:De,[`${it}-borderless`]:!P,[`${it}-in-form-item`]:He},(0,yt.Z)(it,ht,we),ln,p,jt),disabled:Wt},oe,{direction:ve,placement:Un(),notFoundContent:ut,allowClear:W,showSearch:_t,expandIcon:Ot,inputIcon:cn,removeIcon:Wn,clearIcon:Zn,loadingIcon:Mt,checkable:St,dropdownClassName:sn,dropdownPrefixCls:i||Nt,choiceTransitionName:(0,ot.mL)(ct,"",E),transitionName:(0,ot.mL)(ct,(0,ot.q0)(T),Z),getPopupContainer:G||xe,ref:t,showArrow:we||ae}));return Yt(Pt(Kn))}),Le=(0,Rt.Z)(Se);Se.SHOW_PARENT=V,Se.SHOW_CHILD=Y,Se._InternalPanelDoNotUseOrYouWillBeFired=Le;var $e=Se,je=e(99108),Ve=["radioType","renderFormItem","mode","render","label","light"],at=function(t,i){var o,u=t.radioType,p=t.renderFormItem,S=t.mode,P=t.render,Z=t.label,E=t.light,R=(0,l.Z)(t,Ve),A=(0,s.useContext)(I.ZP.ConfigContext),L=A.getPrefixCls,T=L("pro-field-cascader"),D=(0,je.aK)(R),W=(0,M.Z)(D,3),z=W[0],K=W[1],G=W[2],X=(0,d.YB)(),ae=(0,s.useRef)(),fe=(0,s.useContext)(I.ZP.SizeContext),oe=(0,s.useState)(!1),xe=(0,M.Z)(oe,2),se=xe[0],me=xe[1];(0,s.useImperativeHandle)(i,function(){return(0,r.Z)((0,r.Z)({},ae.current||{}),{},{fetchData:function(){return G()}})});var ue=(0,s.useMemo)(function(){var ut;if(S==="read"){var ct=((ut=R.fieldProps)===null||ut===void 0?void 0:ut.fieldNames)||{},it=ct.value,Nt=it===void 0?"value":it,Pt=ct.label,jt=Pt===void 0?"label":Pt,Yt=ct.children,qt=Yt===void 0?"children":Yt,ln=new Map,sn=function _t(un){if(!(un!=null&&un.length))return ln;for(var Sn=un.length,$n=0;$nP?L=1:L=Math.round(A*100/P)/100,i.a!==L)return{h:i.h,s:i.s,l:i.l,a:L,source:"rgb"}}else{var T;if(R<0?T=0:R>S?T=1:T=Math.round(R*100/S)/100,u!==T)return{h:i.h,s:i.s,l:i.l,a:T,source:"rgb"}}return null},nn={},Jt=function(t,i,o,u){if(typeof document=="undefined"&&!u)return null;var p=u?new u:document.createElement("canvas");p.width=o*2,p.height=o*2;var S=p.getContext("2d");return S?(S.fillStyle=t,S.fillRect(0,0,p.width,p.height),S.fillStyle=i,S.fillRect(0,0,o,o),S.translate(o,o),S.fillRect(0,0,o,o),p.toDataURL()):null},rn=function(t,i,o,u){var p="".concat(t,"-").concat(i,"-").concat(o).concat(u?"-server":"");if(nn[p])return nn[p];var S=Jt(t,i,o,u);return nn[p]=S,S};function vn(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),i.push.apply(i,o)}return i}function kt(n){for(var t=1;tS)A=0;else{var L=-(R*100/S)+100;A=360*L/100}if(o.h!==A)return{h:A,s:o.s,l:o.l,a:o.a,source:"hsl"}}else{var T;if(E<0)T=0;else if(E>p)T=359;else{var D=E*100/p;T=360*D/100}if(o.h!==T)return{h:T,s:o.s,l:o.l,a:o.a,source:"hsl"}}return null};function hr(n){return hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hr(n)}function Fr(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(n,t){for(var i=0;ip&&(E=p),R<0?R=0:R>S&&(R=S);var A=E/p,L=1-R/S;return{h:i.h,s:A,v:L,a:i.a,source:"hsv"}};function Or(n){return Or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Or(n)}function Dr(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(n,t){for(var i=0;i=128?"#000":"#fff"},cu={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},du=function(t,i){var o=t.replace("\xB0","");return tinycolor("".concat(i," (").concat(o,")"))._ok};function Sa(n){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sa(n)}function Pa(){return Pa=Object.assign||function(n){for(var t=1;t-1},ti=function(t){return Number(String(t).replace(/%/g,""))},ni=1,ri=function(n){Yo(i,n);var t=Go(i);function i(o){var u;return Uo(this,i),u=t.call(this),u.handleBlur=function(){u.state.blurValue&&u.setState({value:u.state.blurValue,blurValue:null})},u.handleChange=function(p){u.setUpdatedValue(p.target.value,p)},u.handleKeyDown=function(p){var S=ti(p.target.value);if(!isNaN(S)&&ei(p.keyCode)){var P=u.getArrowOffset(),Z=p.keyCode===Ya?S+P:S-P;u.setUpdatedValue(Z,p)}},u.handleDrag=function(p){if(u.props.dragLabel){var S=Math.round(u.props.value+p.movementX);S>=0&&S<=u.props.dragMax&&u.props.onChange&&u.props.onChange(u.getValueObjectWithLabel(S),p)}},u.handleMouseDown=function(p){u.props.dragLabel&&(p.preventDefault(),u.handleDrag(p),window.addEventListener("mousemove",u.handleDrag),window.addEventListener("mouseup",u.handleMouseUp))},u.handleMouseUp=function(){u.unbindEventListeners()},u.unbindEventListeners=function(){window.removeEventListener("mousemove",u.handleDrag),window.removeEventListener("mouseup",u.handleMouseUp)},u.state={value:String(o.value).toUpperCase(),blurValue:String(o.value).toUpperCase()},u.inputId="rc-editable-input-".concat(ni++),u}return Ko(i,[{key:"componentDidUpdate",value:function(u,p){this.props.value!==this.state.value&&(u.value!==this.props.value||p.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(u){return Vo({},this.props.label,u)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||ko}},{key:"setUpdatedValue",value:function(u,p){var S=this.props.label?this.getValueObjectWithLabel(u):u;this.props.onChange&&this.props.onChange(S,p),this.setState({value:u})}},{key:"render",value:function(){var u=this,p=(0,Xt.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return s.createElement("div",{style:p.wrap},s.createElement("input",{id:this.inputId,style:p.input,ref:function(P){return u.input=P},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?s.createElement("label",{htmlFor:this.inputId,style:p.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),i}(s.PureComponent||s.Component),Yr=ri;function Ea(n){return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ea(n)}function Ra(){return Ra=Object.assign||function(n){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"span";return function(o){ii(p,o);var u=li(p);function p(){var S;ai(this,p);for(var P=arguments.length,Z=new Array(P),E=0;E100&&(R.a=100),R.a/=100,i==null||i({h:u==null?void 0:u.h,s:u==null?void 0:u.s,l:u==null?void 0:u.l,a:R.a,source:"rgb"},A))};return s.createElement("div",{style:P.fields,className:"flexbox-fix"},s.createElement("div",{style:P.double},s.createElement(Yr,{style:{input:P.input,label:P.label},label:"hex",value:p==null?void 0:p.replace("#",""),onChange:Z})),s.createElement("div",{style:P.single},s.createElement(Yr,{style:{input:P.input,label:P.label},label:"r",value:o==null?void 0:o.r,onChange:Z,dragLabel:"true",dragMax:"255"})),s.createElement("div",{style:P.single},s.createElement(Yr,{style:{input:P.input,label:P.label},label:"g",value:o==null?void 0:o.g,onChange:Z,dragLabel:"true",dragMax:"255"})),s.createElement("div",{style:P.single},s.createElement(Yr,{style:{input:P.input,label:P.label},label:"b",value:o==null?void 0:o.b,onChange:Z,dragLabel:"true",dragMax:"255"})),s.createElement("div",{style:P.alpha},s.createElement(Yr,{style:{input:P.input,label:P.label},label:"a",value:Math.round(((o==null?void 0:o.a)||0)*100),onChange:Z,dragLabel:"true",dragMax:"100"})))},gi=pi;function Qa(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),i.push.apply(i,o)}return i}function ka(n){for(var t=1;tHe?fe([He,we]):we===void 0&&He===void 0&&fe(void 0)}},me=function(Ne,we){var He=(0,B.Z)(ae||[]);He[Ne]=we===null?void 0:we,fe(He)},ue=(Z==null?void 0:Z.placeholder)||S||[K.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),K.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")],ve=(0,a.jsxs)(tn.Z.Group,{compact:!0,onBlur:se,children:[(0,a.jsx)(wr.Z,(0,r.Z)((0,r.Z)({},Z),{},{placeholder:Array.isArray(ue)?ue[0]:ue,id:z!=null?z:"".concat(z,"-0"),style:{width:"calc((100% - ".concat(L,"px) / 2)")},value:ae==null?void 0:ae[0],defaultValue:D==null?void 0:D[0],onChange:function(Ne){return me(0,Ne)}})),(0,a.jsx)(tn.Z,{style:{width:L,textAlign:"center",borderInlineStart:0,borderInlineEnd:0,pointerEvents:"none",backgroundColor:"#FFF"},placeholder:R,disabled:!0}),(0,a.jsx)(wr.Z,(0,r.Z)((0,r.Z)({},Z),{},{placeholder:Array.isArray(ue)?ue[1]:ue,id:z!=null?z:"".concat(z,"-1"),style:{width:"calc((100% - ".concat(L,"px) / 2)"),borderInlineStart:0},value:ae==null?void 0:ae[1],defaultValue:D==null?void 0:D[1],onChange:function(Ne){return me(1,Ne)}}))]});return P?P(o,(0,r.Z)({mode:u},Z),ve):ve}return null},Ni=s.forwardRef(Li),ao=e(83062),$i=e(84110),Bi=e.n($i);gn().extend(Bi());var Hi=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.format,Z=t.fieldProps,E=(0,d.YB)();if(u==="read"){var R=(0,a.jsx)(ao.Z,{title:gn()(o).format((Z==null?void 0:Z.format)||P||"YYYY-MM-DD HH:mm:ss"),children:gn()(o).fromNow()});return p?p(o,(0,r.Z)({mode:u},Z),(0,a.jsx)(a.Fragment,{children:R})):(0,a.jsx)(a.Fragment,{children:R})}if(u==="edit"||u==="update"){var A=E.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),L=Xr(Z.value),T=(0,a.jsx)($r.Z,(0,r.Z)((0,r.Z)({ref:i,placeholder:A,showTime:!0},Z),{},{value:L}));return S?S(o,(0,r.Z)({mode:u},Z),T):T}return null},Wi=s.forwardRef(Hi),zi=e(12350),Vi=s.forwardRef(function(n,t){var i=n.text,o=n.mode,u=n.render,p=n.renderFormItem,S=n.fieldProps,P=n.placeholder,Z=n.width,E=(0,d.YB)(),R=P||E.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165");if(o==="read"){var A=(0,a.jsx)(zi.Z,(0,r.Z)({ref:t,width:Z||32,src:i},S));return u?u(i,(0,r.Z)({mode:o},S),A):A}if(o==="edit"||o==="update"){var L=(0,a.jsx)(tn.Z,(0,r.Z)({ref:t,placeholder:R},S));return p?p(i,(0,r.Z)({mode:o},S),L):L}return null}),oo=Vi,Ui=function(t,i){var o,u=t.border,p=u===void 0?!1:u,S=t.children,P=(0,s.useContext)(I.ZP.ConfigContext),Z=P.getPrefixCls,E=Z("pro-field-index-column"),R=(0,Ke.Xj)("IndexColumn",function(){return(0,he.Z)({},".".concat(E),{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px","&-border":{color:"#fff",fontSize:"12px",lineHeight:"12px",backgroundColor:"#314659",borderRadius:"9px","&.top-three":{backgroundColor:"#979797"}}})}),A=R.wrapSSR,L=R.hashId;return A((0,a.jsx)("div",{ref:i,className:ne()(E,L,(o={},(0,he.Z)(o,"".concat(E,"-border"),p),(0,he.Z)(o,"top-three",S>3),o)),children:S}))},io=s.forwardRef(Ui),Ki=e(73177),Yi=["content","numberFormatOptions","numberPopoverRender","open"],Gi=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],Xi=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),Ji={style:"currency",currency:"USD"},Qi={style:"currency",currency:"RUB"},ki={style:"currency",currency:"RSD"},qi={style:"currency",currency:"MYR"},_i={style:"currency",currency:"BRL"},lo={default:Xi,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":Ji,"ru-RU":Qi,"ms-MY":qi,"sr-RS":ki,"pt-BR":_i},so=function(t,i,o,u){var p=i==null?void 0:i.toString().replaceAll(",","");if(typeof p=="string"&&(p=Number(p)),!p&&p!==0)return"";try{var S=new Intl.NumberFormat(t||"zh-Hans-CN",(0,r.Z)((0,r.Z)({},lo[t||"zh-Hans-CN"]||lo["zh-Hans-CN"]),{},{maximumFractionDigits:o},u)).format(p),P=t===!1,Z=S||"",E=(0,M.Z)(Z,1),R=E[0];return["+","-"].includes(R)?"".concat(R).concat(S.substring(P?2:1)):S.substring(P?1:0)}catch(A){return p}},Fa=2,el=s.forwardRef(function(n,t){var i=n.content,o=n.numberFormatOptions,u=n.numberPopoverRender,p=n.open,S=(0,l.Z)(n,Yi),P=(0,Gr.Z)(function(){return S.defaultValue},{value:S.value,onChange:S.onChange}),Z=(0,M.Z)(P,2),E=Z[0],R=Z[1],A=i==null?void 0:i((0,r.Z)((0,r.Z)({},S),{},{value:E})),L=(0,Ki.X)(A?p:!1);return(0,a.jsx)(eo.Z,(0,r.Z)((0,r.Z)({placement:"topLeft"},L),{},{trigger:["focus","click"],content:A,getPopupContainer:function(D){return(D==null?void 0:D.parentElement)||document.body},children:(0,a.jsx)(wr.Z,(0,r.Z)((0,r.Z)({ref:t},S),{},{value:E,onChange:R}))}))}),tl=function(t,i){var o,u,p=t.text,S=t.mode,P=t.render,Z=t.renderFormItem,E=t.fieldProps,R=t.proFieldKey,A=t.plain,L=t.valueEnum,T=t.placeholder,D=t.locale,W=D===void 0?(o=E.customSymbol)!==null&&o!==void 0?o:"zh-Hans-CN":D,z=t.customSymbol,K=z===void 0?E.customSymbol:z,G=t.numberFormatOptions,X=G===void 0?E==null?void 0:E.numberFormatOptions:G,ae=t.numberPopoverRender,fe=ae===void 0?(E==null?void 0:E.numberPopoverRender)||!1:ae,oe=(0,l.Z)(t,Gi),xe=(u=E==null?void 0:E.precision)!==null&&u!==void 0?u:Fa,se=(0,d.YB)();W&&d.Go[W]&&(se=d.Go[W]);var me=T||se.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ue=(0,s.useMemo)(function(){if(K)return K;if(!(oe.moneySymbol===!1||E.moneySymbol===!1))return se.getMessage("moneySymbol","\uFFE5")},[K,E.moneySymbol,se,oe.moneySymbol]),ve=(0,s.useCallback)(function(we){var He=new RegExp("\\B(?=(\\d{".concat(3+Math.max(xe-Fa,0),"})+(?!\\d))"),"g"),xt=String(we).split("."),ht=(0,M.Z)(xt,2),ut=ht[0],ct=ht[1],it=ut.replace(He,","),Nt="";return ct&&xe>0&&(Nt=".".concat(ct.slice(0,xe===void 0?Fa:xe))),"".concat(it).concat(Nt)},[xe]);if(S==="read"){var De=(0,a.jsx)("span",{ref:i,children:so(ue?W:!1,p,xe,X!=null?X:E.numberFormatOptions)});return P?P(p,(0,r.Z)({mode:S},E),De):De}if(S==="edit"||S==="update"){var Ne=(0,a.jsx)(el,(0,r.Z)({content:function(He){if(fe!==!1&&!!He.value){var xt=so(ue?W:!1,"".concat(ve(He.value)),xe,(0,r.Z)((0,r.Z)({},X),{},{notation:"compact"}));return typeof fe=="function"?fe==null?void 0:fe(He,xt):xt}},ref:i,precision:xe,formatter:function(He){return He&&ue?"".concat(ue," ").concat(ve(He)):He==null?void 0:He.toString()},parser:function(He){return ue&&He?He.replace(new RegExp("\\".concat(ue,"\\s?|(,*)"),"g"),""):He},placeholder:me},(0,ua.Z)(E,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible","open"])));return Z?Z(p,(0,r.Z)({mode:S},E),Ne):Ne}return null},uo=s.forwardRef(tl),co=function(t){return t.map(function(i,o){var u;return s.isValidElement(i)?s.cloneElement(i,(0,r.Z)((0,r.Z)({key:o},i==null?void 0:i.props),{},{style:(0,r.Z)({flex:1},i==null||(u=i.props)===null||u===void 0?void 0:u.style)})):(0,a.jsx)(s.Fragment,{children:i},o)})},nl=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.fieldProps,P=(0,s.useContext)(I.ZP.ConfigContext),Z=P.getPrefixCls,E=Z("pro-field-option");if((0,s.useImperativeHandle)(i,function(){return{}}),p){var R=p(o,(0,r.Z)({mode:u},S),(0,a.jsx)(a.Fragment,{}));return!R||(R==null?void 0:R.length)<1||!Array.isArray(R)?null:(0,a.jsx)("div",{style:{display:"flex",gap:16,alignItems:"center"},className:E,children:co(R)})}return!o||!Array.isArray(o)?s.isValidElement(o)?o:null:(0,a.jsx)("div",{style:{display:"flex",gap:16,alignItems:"center"},className:E,children:co(o)})},rl=s.forwardRef(nl),al=e(5717),fo=e(84089),vo=function(t,i){return s.createElement(fo.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:i,icon:al.Z}))};vo.displayName="EyeOutlined";var ol=s.forwardRef(vo),il=e(42003),mo=function(t,i){return s.createElement(fo.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:i,icon:il.Z}))};mo.displayName="EyeInvisibleOutlined";var ll=s.forwardRef(mo),sl=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],ul=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps,Z=t.proFieldKey,E=(0,l.Z)(t,sl),R=(0,d.YB)(),A=(0,Gr.Z)(function(){return E.open||E.visible||!1},{value:E.open||E.visible,onChange:E.onOpenChange||E.onVisible}),L=(0,M.Z)(A,2),T=L[0],D=L[1];if(u==="read"){var W=(0,a.jsx)(a.Fragment,{children:"-"});return o&&(W=(0,a.jsxs)(wt.Z,{children:[(0,a.jsx)("span",{ref:i,children:T?o:"\uFF0A \uFF0A \uFF0A \uFF0A \uFF0A"}),(0,a.jsx)("a",{onClick:function(){return D(!T)},children:T?(0,a.jsx)(ol,{}):(0,a.jsx)(ll,{})})]})),p?p(o,(0,r.Z)({mode:u},P),W):W}if(u==="edit"||u==="update"){var z=(0,a.jsx)(tn.Z.Password,(0,r.Z)({placeholder:R.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ref:i},P));return S?S(o,(0,r.Z)({mode:u},P),z):z}return null},cl=s.forwardRef(ul),dl=e(49323),ca=e.n(dl);function fl(n){return n===0?null:n>0?"+":"-"}function vl(n){return n===0?"#595959":n>0?"#ff4d4f":"#52c41a"}function ml(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return t>=0?n==null?void 0:n.toFixed(t):n}var hl=function(t,i){var o=t.text,u=t.prefix,p=t.precision,S=t.suffix,P=S===void 0?"%":S,Z=t.mode,E=t.showColor,R=E===void 0?!1:E,A=t.render,L=t.renderFormItem,T=t.fieldProps,D=t.placeholder,W=t.showSymbol,z=(0,d.YB)(),K=D||z.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),G=(0,s.useMemo)(function(){return typeof o=="string"&&o.includes("%")?ca()(o.replace("%","")):ca()(o)},[o]),X=(0,s.useMemo)(function(){return typeof W=="function"?W==null?void 0:W(o):W},[W,o]);if(Z==="read"){var ae=R?{color:vl(G)}:{},fe=(0,a.jsxs)("span",{style:ae,ref:i,children:[u&&(0,a.jsx)("span",{children:u}),X&&(0,a.jsxs)(s.Fragment,{children:[fl(G)," "]}),ml(Math.abs(G),p),P&&P]});return A?A(o,(0,r.Z)((0,r.Z)({mode:Z},T),{},{prefix:u,precision:p,showSymbol:X,suffix:P}),fe):fe}if(Z==="edit"||Z==="update"){var oe=(0,a.jsx)(wr.Z,(0,r.Z)({ref:i,formatter:function(se){return se&&u?"".concat(u," ").concat(se).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):se},parser:function(se){return se?se.replace(/.*\s|,/g,""):""},placeholder:K},T));return L?L(o,(0,r.Z)({mode:Z},T),oe):oe}return null},ho=s.forwardRef(hl),pl=e(69814);function gl(n){return n===100?"success":n<0?"exception":n<100?"active":"normal"}var yl=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.plain,P=t.renderFormItem,Z=t.fieldProps,E=t.placeholder,R=(0,d.YB)(),A=E||R.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),L=(0,s.useMemo)(function(){return typeof o=="string"&&o.includes("%")?ca()(o.replace("%","")):ca()(o)},[o]);if(u==="read"){var T=(0,a.jsx)(pl.Z,(0,r.Z)({ref:i,size:"small",style:{minWidth:100,maxWidth:320},percent:L,steps:S?10:void 0,status:gl(L)},Z));return p?p(L,(0,r.Z)({mode:u},Z),T):T}if(u==="edit"||u==="update"){var D=(0,a.jsx)(wr.Z,(0,r.Z)({ref:i,placeholder:A},Z));return P?P(o,(0,r.Z)({mode:u},Z),D):D}return null},po=s.forwardRef(yl),xl=e(78045),bl=["radioType","renderFormItem","mode","render"],Cl=function(t,i){var o=t.radioType,u=t.renderFormItem,p=t.mode,S=t.render,P=(0,l.Z)(t,bl),Z=(0,s.useContext)(I.ZP.ConfigContext),E=Z.getPrefixCls,R=E("pro-field-radio"),A=(0,je.aK)(P),L=(0,M.Z)(A,3),T=L[0],D=L[1],W=L[2],z=(0,s.useRef)();(0,s.useImperativeHandle)(i,function(){return(0,r.Z)((0,r.Z)({},z.current||{}),{},{fetchData:function(){return W()}})});var K=(0,Ke.Xj)("FieldRadioRadio",function(se){return(0,he.Z)({},".".concat(R,"-vertical"),(0,he.Z)({},"".concat(se.antCls,"-radio-wrapper"),{display:"block",marginInlineEnd:0}))}),G=K.wrapSSR,X=K.hashId;if(T)return(0,a.jsx)(st.Z,{size:"small"});if(p==="read"){var ae=D!=null&&D.length?D==null?void 0:D.reduce(function(se,me){var ue;return(0,r.Z)((0,r.Z)({},se),{},(0,he.Z)({},(ue=me.value)!==null&&ue!==void 0?ue:"",me.label))},{}):void 0,fe=(0,a.jsx)(a.Fragment,{children:(0,je.MP)(P.text,(0,je.L9)(P.valueEnum||ae))});return S?S(P.text,(0,r.Z)({mode:p},P.fieldProps),fe)||null:fe}if(p==="edit"){var oe,xe=G((0,a.jsx)(xl.ZP.Group,(0,r.Z)((0,r.Z)({ref:z,optionType:o},P.fieldProps),{},{className:ne()((oe=P.fieldProps)===null||oe===void 0?void 0:oe.className,X,"".concat(R,"-").concat(P.fieldProps.layout||"horizontal")),options:D})));return u?u(P.text,(0,r.Z)({mode:p},P.fieldProps),xe)||null:xe}return null},go=s.forwardRef(Cl),Sl=function(t,i){var o=t.text,u=t.mode,p=t.format,S=t.render,P=t.renderFormItem,Z=t.plain,E=t.showTime,R=t.fieldProps,A=(0,d.YB)(),L=Array.isArray(o)?o:[],T=(0,M.Z)(L,2),D=T[0],W=T[1],z=(0,s.useCallback)(function(oe){if(typeof(R==null?void 0:R.format)=="function"){var xe;return R==null||(xe=R.format)===null||xe===void 0?void 0:xe.call(R,oe)}return(R==null?void 0:R.format)||p||"YYYY-MM-DD"},[R,p]),K=D?gn()(D).format(z(gn()(D))):"",G=W?gn()(W).format(z(gn()(W))):"";if(u==="read"){var X=(0,a.jsxs)("div",{ref:i,children:[(0,a.jsx)("div",{children:K||"-"}),(0,a.jsx)("div",{children:G||"-"})]});return S?S(o,(0,r.Z)({mode:u},R),(0,a.jsx)("span",{children:X})):X}if(u==="edit"||u==="update"){var ae=Xr(R.value),fe=(0,a.jsx)($r.Z.RangePicker,(0,r.Z)((0,r.Z)({ref:i,format:p,showTime:E,placeholder:[A.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),A.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")],bordered:Z===void 0?!0:!Z},R),{},{value:ae}));return P?P(o,(0,r.Z)({mode:u},R),fe):fe}return null},yo=s.forwardRef(Sl),xo=e(98494),Pl=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps;if(u==="read"){var Z=(0,a.jsx)(xo.Z,(0,r.Z)((0,r.Z)({allowHalf:!0,disabled:!0,ref:i},P),{},{value:o}));return p?p(o,(0,r.Z)({mode:u},P),(0,a.jsx)(a.Fragment,{children:Z})):Z}if(u==="edit"||u==="update"){var E=(0,a.jsx)(xo.Z,(0,r.Z)({allowHalf:!0,ref:i},P));return S?S(o,(0,r.Z)({mode:u},P),E):E}return null},Ol=s.forwardRef(Pl);function Zl(n){var t="",i=Math.floor(n/86400),o=Math.floor(n/3600),u=Math.floor(n/60%60),p=Math.floor(n%60);return t="".concat(p,"\u79D2"),u>0&&(t="".concat(u,"\u5206\u949F").concat(t)),o>0&&(t="".concat(o,"\u5C0F\u65F6").concat(t)),i>0&&(t="".concat(i,"\u5929").concat(t)),t}var wl=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps,Z=t.placeholder,E=(0,d.YB)(),R=Z||E.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165");if(u==="read"){var A=Zl(Number(o)),L=(0,a.jsx)("span",{ref:i,children:A});return p?p(o,(0,r.Z)({mode:u},P),L):L}if(u==="edit"||u==="update"){var T=(0,a.jsx)(wr.Z,(0,r.Z)({ref:i,min:0,style:{width:"100%"},placeholder:R},P));return S?S(o,(0,r.Z)({mode:u},P),T):T}return null},El=s.forwardRef(wl),ja=e(42550),Rl=e(62874),Ml=e(8410),bo=function(t){return t?{left:t.offsetLeft,width:t.clientWidth}:null},da=function(t){return t!==void 0?"".concat(t,"px"):void 0};function Il(n){var t=n.prefixCls,i=n.containerRef,o=n.value,u=n.getValueIndex,p=n.motionName,S=n.onMotionStart,P=n.onMotionEnd,Z=s.useRef(null),E=s.useState(o),R=(0,M.Z)(E,2),A=R[0],L=R[1],T=function(ue){var ve,De=u(ue),Ne=(ve=i.current)===null||ve===void 0?void 0:ve.querySelectorAll(".".concat(t,"-item"))[De];return Ne},D=s.useState(null),W=(0,M.Z)(D,2),z=W[0],K=W[1],G=s.useState(null),X=(0,M.Z)(G,2),ae=X[0],fe=X[1];(0,Ml.Z)(function(){if(A!==o){var me=T(A),ue=T(o),ve=bo(me),De=bo(ue);L(o),K(ve),fe(De),me&&ue?S():P()}},[o]);var oe=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},xe=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},se=function(){K(null),fe(null),P()};return!z||!ae?null:s.createElement(Rl.Z,{visible:!0,motionName:p,motionAppear:!0,onAppearStart:oe,onAppearActive:xe,onAppearEnd:se},function(me,ue){var ve=me.className,De=me.style,Ne=(0,r.Z)((0,r.Z)({},De),{},{"--thumb-start-left":da(z==null?void 0:z.left),"--thumb-start-width":da(z==null?void 0:z.width),"--thumb-active-left":da(ae==null?void 0:ae.left),"--thumb-active-width":da(ae==null?void 0:ae.width)}),we={ref:(0,ja.sQ)(Z,ue),style:Ne,className:ne()("".concat(t,"-thumb"),ve)};return s.createElement("div",(0,r.Z)({},we))})}var Fl=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function jl(n){if(typeof n.title!="undefined")return n.title;if((0,c.Z)(n.label)!=="object"){var t;return(t=n.label)===null||t===void 0?void 0:t.toString()}}function Al(n){return n.map(function(t){if((0,c.Z)(t)==="object"&&t!==null){var i=jl(t);return(0,r.Z)((0,r.Z)({},t),{},{title:i})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var Tl=function(t){var i=t.prefixCls,o=t.className,u=t.disabled,p=t.checked,S=t.label,P=t.title,Z=t.value,E=t.onChange,R=function(L){u||E(L,Z)};return s.createElement("label",{className:ne()(o,(0,he.Z)({},"".concat(i,"-item-disabled"),u))},s.createElement("input",{className:"".concat(i,"-item-input"),type:"radio",disabled:u,checked:p,onChange:R}),s.createElement("div",{className:"".concat(i,"-item-label"),title:P},S))},Aa=s.forwardRef(function(n,t){var i,o,u=n.prefixCls,p=u===void 0?"rc-segmented":u,S=n.direction,P=n.options,Z=n.disabled,E=n.defaultValue,R=n.value,A=n.onChange,L=n.className,T=L===void 0?"":L,D=n.motionName,W=D===void 0?"thumb-motion":D,z=(0,l.Z)(n,Fl),K=s.useRef(null),G=s.useMemo(function(){return(0,ja.sQ)(K,t)},[K,t]),X=s.useMemo(function(){return Al(P)},[P]),ae=(0,Ae.Z)((i=X[0])===null||i===void 0?void 0:i.value,{value:R,defaultValue:E}),fe=(0,M.Z)(ae,2),oe=fe[0],xe=fe[1],se=s.useState(!1),me=(0,M.Z)(se,2),ue=me[0],ve=me[1],De=function(He,xt){Z||(xe(xt),A==null||A(xt))},Ne=(0,Oe.Z)(z,["children"]);return s.createElement("div",(0,r.Z)((0,r.Z)({},Ne),{},{className:ne()(p,(o={},(0,he.Z)(o,"".concat(p,"-rtl"),S==="rtl"),(0,he.Z)(o,"".concat(p,"-disabled"),Z),o),T),ref:G}),s.createElement("div",{className:"".concat(p,"-group")},s.createElement(Il,{prefixCls:p,value:oe,containerRef:K,motionName:"".concat(p,"-").concat(W),getValueIndex:function(He){return X.findIndex(function(xt){return xt.value===He})},onMotionStart:function(){ve(!0)},onMotionEnd:function(){ve(!1)}}),X.map(function(we){return s.createElement(Tl,(0,r.Z)((0,r.Z)({key:we.value,prefixCls:p,className:ne()(we.className,"".concat(p,"-item"),(0,he.Z)({},"".concat(p,"-item-selected"),we.value===oe&&!ue)),checked:we.value===oe,onChange:De},we),{},{disabled:!!Z||!!we.disabled}))})))});Aa.displayName="Segmented",Aa.defaultProps={options:[]};var Dl=Aa,Co=e(45503);function So(n,t){return{[`${n}, ${n}:hover, ${n}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Po(n){return{backgroundColor:n.bgColorSelected,boxShadow:n.boxShadow}}const Ll=Object.assign({overflow:"hidden"},At.vS),Nl=n=>{const{componentCls:t}=n;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,At.Wf)(n)),{display:"inline-block",padding:n.segmentedContainerPadding,color:n.labelColor,backgroundColor:n.bgColor,borderRadius:n.borderRadius,transition:`all ${n.motionDurationMid} ${n.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${n.motionDurationMid} ${n.motionEaseInOut}`,borderRadius:n.borderRadiusSM,"&-selected":Object.assign(Object.assign({},Po(n)),{color:n.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${n.motionDurationMid}`},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:n.labelColorHover,"&::after":{backgroundColor:n.bgColorHover}},"&-label":Object.assign({minHeight:n.controlHeight-n.segmentedContainerPadding*2,lineHeight:`${n.controlHeight-n.segmentedContainerPadding*2}px`,padding:`0 ${n.segmentedPaddingHorizontal}px`},Ll),"&-icon + *":{marginInlineStart:n.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Po(n)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${n.paddingXXS}px 0`,borderRadius:n.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:n.borderRadiusLG,[`${t}-item-label`]:{minHeight:n.controlHeightLG-n.segmentedContainerPadding*2,lineHeight:`${n.controlHeightLG-n.segmentedContainerPadding*2}px`,padding:`0 ${n.segmentedPaddingHorizontal}px`,fontSize:n.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:n.borderRadius}},[`&${t}-sm`]:{borderRadius:n.borderRadiusSM,[`${t}-item-label`]:{minHeight:n.controlHeightSM-n.segmentedContainerPadding*2,lineHeight:`${n.controlHeightSM-n.segmentedContainerPadding*2}px`,padding:`0 ${n.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:n.borderRadiusXS}}}),So(`&-disabled ${t}-item`,n)),So(`${t}-item-disabled`,n)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${n.motionDurationSlow} ${n.motionEaseInOut}, width ${n.motionDurationSlow} ${n.motionEaseInOut}`,willChange:"transform, width"}})}};var $l=(0,Ft.Z)("Segmented",n=>{const{lineWidthBold:t,lineWidth:i,colorTextLabel:o,colorText:u,colorFillSecondary:p,colorBgLayout:S,colorBgElevated:P}=n,Z=(0,Co.TS)(n,{segmentedPaddingHorizontal:n.controlPaddingHorizontal-i,segmentedPaddingHorizontalSM:n.controlPaddingHorizontalSM-i,segmentedContainerPadding:t,labelColor:o,labelColorHover:u,bgColor:S,bgColorHover:p,bgColorSelected:P});return[Nl(Z)]}),Oo=function(n,t){var i={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&t.indexOf(o)<0&&(i[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(n);u{const{prefixCls:i,className:o,block:u,options:p=[],size:S="middle"}=n,P=Oo(n,["prefixCls","className","block","options","size"]),{getPrefixCls:Z,direction:E}=s.useContext(Fe.E_),R=Z("segmented",i),[A,L]=$l(R),T=s.useContext(ze.Z),D=S||T,W=s.useMemo(()=>p.map(z=>{if(Bl(z)){const{icon:K,label:G}=z,X=Oo(z,["icon","label"]);return Object.assign(Object.assign({},X),{label:s.createElement(s.Fragment,null,s.createElement("span",{className:`${R}-item-icon`},K),G&&s.createElement("span",null,G))})}return z}),[p,R]);return A(s.createElement(Dl,Object.assign({},P,{className:ne()(o,{[`${R}-block`]:u,[`${R}-sm`]:D==="small",[`${R}-lg`]:D==="large"},L),options:W,ref:t,prefixCls:R,direction:E})))}),Wl=["mode","render","renderFormItem","fieldProps","emptyText"],zl=function(t,i){var o=t.mode,u=t.render,p=t.renderFormItem,S=t.fieldProps,P=t.emptyText,Z=P===void 0?"-":P,E=(0,l.Z)(t,Wl),R=(0,s.useRef)(),A=(0,je.aK)(E),L=(0,M.Z)(A,3),T=L[0],D=L[1],W=L[2];if((0,s.useImperativeHandle)(i,function(){return(0,r.Z)((0,r.Z)({},R.current||{}),{},{fetchData:function(){return W()}})}),T)return(0,a.jsx)(st.Z,{size:"small"});if(o==="read"){var z=D!=null&&D.length?D==null?void 0:D.reduce(function(ae,fe){var oe;return(0,r.Z)((0,r.Z)({},ae),{},(0,he.Z)({},(oe=fe.value)!==null&&oe!==void 0?oe:"",fe.label))},{}):void 0,K=(0,a.jsx)(a.Fragment,{children:(0,je.MP)(E.text,(0,je.L9)(E.valueEnum||z))});if(u){var G;return(G=u(E.text,(0,r.Z)({mode:o},S),(0,a.jsx)(a.Fragment,{children:K})))!==null&&G!==void 0?G:Z}return K}if(o==="edit"||o==="update"){var X=(0,a.jsx)(Hl,(0,r.Z)((0,r.Z)({ref:R},(0,ua.Z)(S||{},["allowClear"])),{},{options:D}));return p?p(E.text,(0,r.Z)((0,r.Z)({mode:o},S),{},{options:D}),X):X}return null},Vl=s.forwardRef(zl),Ul=e(96774),Kl=e.n(Ul),Yl=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0}),Er=Yl;function Ta(n,t,i){return(n-t)/(i-t)}function Da(n,t,i,o){var u=Ta(t,i,o),p={};switch(n){case"rtl":p.right="".concat(u*100,"%"),p.transform="translateX(50%)";break;case"btt":p.bottom="".concat(u*100,"%"),p.transform="translateY(50%)";break;case"ttb":p.top="".concat(u*100,"%"),p.transform="translateY(-50%)";break;default:p.left="".concat(u*100,"%"),p.transform="translateX(-50%)";break}return p}function Hr(n,t){return Array.isArray(n)?n[t]:n}var Gl=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],Xl=s.forwardRef(function(n,t){var i,o,u=n.prefixCls,p=n.value,S=n.valueIndex,P=n.onStartMove,Z=n.style,E=n.render,R=n.dragging,A=n.onOffsetChange,L=(0,l.Z)(n,Gl),T=s.useContext(Er),D=T.min,W=T.max,z=T.direction,K=T.disabled,G=T.range,X=T.tabIndex,ae=T.ariaLabelForHandle,fe=T.ariaLabelledByForHandle,oe=T.ariaValueTextFormatterForHandle,xe="".concat(u,"-handle"),se=function(Ne){K||P(Ne,S)},me=function(Ne){if(!K){var we=null;switch(Ne.which||Ne.keyCode){case q.Z.LEFT:we=z==="ltr"||z==="btt"?-1:1;break;case q.Z.RIGHT:we=z==="ltr"||z==="btt"?1:-1;break;case q.Z.UP:we=z!=="ttb"?1:-1;break;case q.Z.DOWN:we=z!=="ttb"?-1:1;break;case q.Z.HOME:we="min";break;case q.Z.END:we="max";break;case q.Z.PAGE_UP:we=2;break;case q.Z.PAGE_DOWN:we=-2;break}we!==null&&(Ne.preventDefault(),A(we,S))}},ue=Da(z,p,D,W),ve=s.createElement("div",(0,Pe.Z)({ref:t,className:ne()(xe,(i={},(0,he.Z)(i,"".concat(xe,"-").concat(S+1),G),(0,he.Z)(i,"".concat(xe,"-dragging"),R),i)),style:(0,r.Z)((0,r.Z)({},ue),Z),onMouseDown:se,onTouchStart:se,onKeyDown:me,tabIndex:K?null:Hr(X,S),role:"slider","aria-valuemin":D,"aria-valuemax":W,"aria-valuenow":p,"aria-disabled":K,"aria-label":Hr(ae,S),"aria-labelledby":Hr(fe,S),"aria-valuetext":(o=Hr(oe,S))===null||o===void 0?void 0:o(p)},L));return E&&(ve=E(ve,{index:S,prefixCls:u,value:p,dragging:R})),ve}),Jl=Xl,Ql=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],kl=s.forwardRef(function(n,t){var i=n.prefixCls,o=n.style,u=n.onStartMove,p=n.onOffsetChange,S=n.values,P=n.handleRender,Z=n.draggingIndex,E=(0,l.Z)(n,Ql),R=s.useRef({});return s.useImperativeHandle(t,function(){return{focus:function(L){var T;(T=R.current[L])===null||T===void 0||T.focus()}}}),s.createElement(s.Fragment,null,S.map(function(A,L){return s.createElement(Jl,(0,Pe.Z)({ref:function(D){D?R.current[L]=D:delete R.current[L]},dragging:Z===L,prefixCls:i,style:Hr(o,L),key:L,value:A,valueIndex:L,onStartMove:u,onOffsetChange:p,render:P},E))}))}),ql=kl;function Zo(n){var t="touches"in n?n.touches[0]:n;return{pageX:t.pageX,pageY:t.pageY}}function _l(n,t,i,o,u,p,S,P,Z){var E=s.useState(null),R=(0,M.Z)(E,2),A=R[0],L=R[1],T=s.useState(-1),D=(0,M.Z)(T,2),W=D[0],z=D[1],K=s.useState(i),G=(0,M.Z)(K,2),X=G[0],ae=G[1],fe=s.useState(i),oe=(0,M.Z)(fe,2),xe=oe[0],se=oe[1],me=s.useRef(null),ue=s.useRef(null);s.useEffect(function(){W===-1&&ae(i)},[i,W]),s.useEffect(function(){return function(){document.removeEventListener("mousemove",me.current),document.removeEventListener("mouseup",ue.current),document.removeEventListener("touchmove",me.current),document.removeEventListener("touchend",ue.current)}},[]);var ve=function(ht,ut){X.some(function(ct,it){return ct!==ht[it]})&&(ut!==void 0&&L(ut),ae(ht),S(ht))},De=function(ht,ut){if(ht===-1){var ct=xe[0],it=xe[xe.length-1],Nt=o-ct,Pt=u-it,jt=ut*(u-o);jt=Math.max(jt,Nt),jt=Math.min(jt,Pt);var Yt=p(ct+jt);jt=Yt-ct;var qt=xe.map(function(un){return un+jt});ve(qt)}else{var ln=(u-o)*ut,sn=(0,B.Z)(X);sn[ht]=xe[ht];var _t=Z(sn,ln,ht,"dist");ve(_t.values,_t.value)}},Ne=s.useRef(De);Ne.current=De;var we=function(ht,ut){ht.stopPropagation();var ct=i[ut];z(ut),L(ct),se(i);var it=Zo(ht),Nt=it.pageX,Pt=it.pageY,jt=function(ln){ln.preventDefault();var sn=Zo(ln),_t=sn.pageX,un=sn.pageY,Sn=_t-Nt,$n=un-Pt,Wt=n.current.getBoundingClientRect(),Ot=Wt.width,Mt=Wt.height,St;switch(t){case"btt":St=-$n/Mt;break;case"ttb":St=$n/Mt;break;case"rtl":St=-Sn/Ot;break;default:St=Sn/Ot}Ne.current(ut,St)},Yt=function qt(ln){ln.preventDefault(),document.removeEventListener("mouseup",qt),document.removeEventListener("mousemove",jt),document.removeEventListener("touchend",qt),document.removeEventListener("touchmove",jt),me.current=null,ue.current=null,z(-1),P()};document.addEventListener("mouseup",Yt),document.addEventListener("mousemove",jt),document.addEventListener("touchend",Yt),document.addEventListener("touchmove",jt),me.current=jt,ue.current=Yt},He=s.useMemo(function(){var xt=(0,B.Z)(i).sort(function(ut,ct){return ut-ct}),ht=(0,B.Z)(X).sort(function(ut,ct){return ut-ct});return xt.every(function(ut,ct){return ut===ht[ct]})?X:i},[i,X]);return[W,A,He,we]}function es(n){var t=n.prefixCls,i=n.style,o=n.start,u=n.end,p=n.index,S=n.onStartMove,P=s.useContext(Er),Z=P.direction,E=P.min,R=P.max,A=P.disabled,L=P.range,T="".concat(t,"-track"),D=Ta(o,E,R),W=Ta(u,E,R),z=function(X){!A&&S&&S(X,-1)},K={};switch(Z){case"rtl":K.right="".concat(D*100,"%"),K.width="".concat(W*100-D*100,"%");break;case"btt":K.bottom="".concat(D*100,"%"),K.height="".concat(W*100-D*100,"%");break;case"ttb":K.top="".concat(D*100,"%"),K.height="".concat(W*100-D*100,"%");break;default:K.left="".concat(D*100,"%"),K.width="".concat(W*100-D*100,"%")}return s.createElement("div",{className:ne()(T,L&&"".concat(T,"-").concat(p+1)),style:(0,r.Z)((0,r.Z)({},K),i),onMouseDown:z,onTouchStart:z})}function ts(n){var t=n.prefixCls,i=n.style,o=n.values,u=n.startPoint,p=n.onStartMove,S=s.useContext(Er),P=S.included,Z=S.range,E=S.min,R=s.useMemo(function(){if(!Z){if(o.length===0)return[];var A=u!=null?u:E,L=o[0];return[{start:Math.min(A,L),end:Math.max(A,L)}]}for(var T=[],D=0;D3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof W=="number"){var G,X=D[z],ae=X+W,fe=[];o.forEach(function(ue){fe.push(ue.value)}),fe.push(n,t),fe.push(P(X));var oe=W>0?1:-1;K==="unit"?fe.push(P(X+oe*i)):fe.push(P(ae)),fe=fe.filter(function(ue){return ue!==null}).filter(function(ue){return W<0?ue<=X:ue>=X}),K==="unit"&&(fe=fe.filter(function(ue){return ue!==X}));var xe=K==="unit"?X:ae;G=fe[0];var se=Math.abs(G-xe);if(fe.forEach(function(ue){var ve=Math.abs(ue-xe);ve1){var me=(0,B.Z)(D);return me[z]=G,T(me,W-oe,z,K)}return G}else{if(W==="min")return n;if(W==="max")return t}},R=function(D,W,z){var K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",G=D[z],X=E(D,W,z,K);return{value:X,changed:X!==G}},A=function(D){return p===null&&D===0||typeof p=="number"&&D3&&arguments[3]!==void 0?arguments[3]:"unit",G=D.map(Z),X=G[z],ae=E(G,W,z,K);if(G[z]=ae,u===!1){var fe=p||0;z>0&&G[z-1]!==X&&(G[z]=Math.max(G[z],G[z-1]+fe)),z0;me-=1)for(var ue=!0;A(G[me]-G[me-1])&&ue;){var ve=R(G,-1,me-1);G[me-1]=ve.value,ue=ve.changed}for(var De=G.length-1;De>0;De-=1)for(var Ne=!0;A(G[De]-G[De-1])&&Ne;){var we=R(G,-1,De-1);G[De-1]=we.value,Ne=we.changed}for(var He=0;He=0?De:!1},[De,cn]),Zn=s.useMemo(function(){var On=Object.keys(Yt||{});return On.map(function(en){var Dt=Yt[en],Fn={value:Number(en)};return Dt&&(0,c.Z)(Dt)==="object"&&!s.isValidElement(Dt)&&("label"in Dt||"style"in Dt)?(Fn.style=Dt.style,Fn.label=Dt.label):Fn.label=Dt,Fn}).filter(function(en){var Dt=en.label;return Dt||typeof Dt=="number"}).sort(function(en,Dt){return en.value-Dt.value})},[Yt]),Un=is(St,Gt,cn,Zn,ue,Wn),Kn=(0,M.Z)(Un,2),yn=Kn[0],lr=Kn[1],er=(0,Ae.Z)(X,{value:G}),sr=(0,M.Z)(er,2),zn=sr[0],Na=sr[1],Jn=s.useMemo(function(){var On=zn==null?[]:Array.isArray(zn)?zn:[zn],en=(0,M.Z)(On,1),Dt=en[0],Fn=Dt===void 0?St:Dt,xn=zn===null?[]:[Fn];if(ae){if(xn=(0,B.Z)(On),fe||zn===void 0){var zr=fe>=0?fe+1:2;for(xn=xn.slice(0,zr);xn.length=0&&Wt.current.focus(On)}qr(null)},[kr]);var Mn=s.useMemo(function(){return Ne&&cn===null?!1:Ne},[Ne,cn]),dn=function(){se==null||se(tr(br.current))},In=_l(Ot,Mt,Jn,St,Gt,yn,Qr,dn,lr),Bn=(0,M.Z)(In,4),Qn=Bn[0],Rr=Bn[1],nr=Bn[2],Wr=Bn[3],Mr=function(en,Dt){Wr(en,Dt),xe==null||xe(tr(br.current))},_r=Qn!==-1;s.useEffect(function(){if(!_r){var On=Jn.lastIndexOf(Rr);Wt.current.focus(On)}},[_r]);var ur=s.useMemo(function(){return(0,B.Z)(nr).sort(function(On,en){return On-en})},[nr]),Wa=s.useMemo(function(){return ae?[ur[0],ur[ur.length-1]]:[St,ur[0]]},[ur,ae,St]),ma=(0,M.Z)(Wa,2),ha=ma[0],Cr=ma[1];s.useImperativeHandle(t,function(){return{focus:function(){Wt.current.focus(0)},blur:function(){var en=document,Dt=en.activeElement;Ot.current.contains(Dt)&&(Dt==null||Dt.blur())}}}),s.useEffect(function(){E&&Wt.current.focus(0)},[]);var lu=s.useMemo(function(){return{min:St,max:Gt,direction:Mt,disabled:Z,step:cn,included:ht,includedStart:ha,includedEnd:Cr,range:ae,tabIndex:_t,ariaLabelForHandle:un,ariaLabelledByForHandle:Sn,ariaValueTextFormatterForHandle:$n}},[St,Gt,Mt,Z,cn,ht,ha,Cr,ae,_t,un,Sn,$n]);return s.createElement(Er.Provider,{value:lu},s.createElement("div",{ref:Ot,className:ne()(u,p,(i={},(0,he.Z)(i,"".concat(u,"-disabled"),Z),(0,he.Z)(i,"".concat(u,"-vertical"),He),(0,he.Z)(i,"".concat(u,"-horizontal"),!He),(0,he.Z)(i,"".concat(u,"-with-marks"),Zn.length),i)),style:S,onMouseDown:$a},s.createElement("div",{className:"".concat(u,"-rail"),style:Nt}),s.createElement(ts,{prefixCls:u,style:ct,values:ur,startPoint:ut,onStartMove:Mn?Mr:null}),s.createElement(os,{prefixCls:u,marks:Zn,dots:qt,style:Pt,activeStyle:jt}),s.createElement(ql,{ref:Wt,prefixCls:u,style:it,values:nr,draggingIndex:Qn,onStartMove:Mr,onOffsetChange:Ha,onFocus:R,onBlur:A,handleRender:ln}),s.createElement(rs,{prefixCls:u,marks:Zn,onClick:fa})))}),ss=ls,us=ss,wo=e(75164),cs=s.forwardRef((n,t)=>{const{open:i}=n,o=(0,s.useRef)(null),u=(0,s.useRef)(null);function p(){wo.Z.cancel(u.current),u.current=null}function S(){u.current=(0,wo.Z)(()=>{var P;(P=o.current)===null||P===void 0||P.forcePopupAlign(),u.current=null})}return s.useEffect(()=>(i?S():p(),p),[i,n.title]),s.createElement(ao.Z,Object.assign({ref:(0,ja.sQ)(o,t)},n))}),ds=e(10274);const fs=n=>{const{componentCls:t,controlSize:i,dotSize:o,marginFull:u,marginPart:p,colorFillContentHover:S}=n;return{[t]:Object.assign(Object.assign({},(0,At.Wf)(n)),{position:"relative",height:i,margin:`${p}px ${u}px`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${u}px ${p}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:n.colorFillTertiary,borderRadius:n.borderRadiusXS,transition:`background-color ${n.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:n.colorPrimaryBorder,borderRadius:n.borderRadiusXS,transition:`background-color ${n.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:n.colorFillSecondary},[`${t}-track`]:{backgroundColor:n.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:S},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${n.handleLineWidth}px ${n.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:n.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:n.handleSize,height:n.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-n.handleLineWidth,insetBlockStart:-n.handleLineWidth,width:n.handleSize+n.handleLineWidth*2,height:n.handleSize+n.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:n.handleSize,height:n.handleSize,backgroundColor:n.colorBgElevated,boxShadow:`0 0 0 ${n.handleLineWidth}px ${n.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${n.motionDurationMid}, - inset-block-start ${n.motionDurationMid}, - width ${n.motionDurationMid}, - height ${n.motionDurationMid}, - box-shadow ${n.motionDurationMid} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((n.handleSizeHover-n.handleSize)/2+n.handleLineWidthHover),insetBlockStart:-((n.handleSizeHover-n.handleSize)/2+n.handleLineWidthHover),width:n.handleSizeHover+n.handleLineWidthHover*2,height:n.handleSizeHover+n.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${n.handleLineWidthHover}px ${n.colorPrimary}`,width:n.handleSizeHover,height:n.handleSizeHover,insetInlineStart:(n.handleSize-n.handleSizeHover)/2,insetBlockStart:(n.handleSize-n.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:n.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:n.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:n.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:n.colorBgElevated,border:`${n.handleLineWidth}px solid ${n.colorBorderSecondary}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${n.motionDurationSlow}`,"&-active":{borderColor:n.colorPrimaryBorder}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${n.colorFillSecondary} !important`},[`${t}-track`]:{backgroundColor:`${n.colorTextDisabled} !important`},[` - ${t}-dot - `]:{backgroundColor:n.colorBgElevated,borderColor:n.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:n.colorBgElevated,cursor:"not-allowed",width:n.handleSize,height:n.handleSize,boxShadow:`0 0 0 ${n.handleLineWidth}px ${new ds.C(n.colorTextDisabled).onBackground(n.colorBgContainer).toHexString()}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}}})}},Eo=(n,t)=>{const{componentCls:i,railSize:o,handleSize:u,dotSize:p}=n,S=t?"paddingBlock":"paddingInline",P=t?"width":"height",Z=t?"height":"width",E=t?"insetBlockStart":"insetInlineStart",R=t?"top":"insetInlineStart";return{[S]:o,[Z]:o*3,[`${i}-rail`]:{[P]:"100%",[Z]:o},[`${i}-track`]:{[Z]:o},[`${i}-handle`]:{[E]:(o*3-u)/2},[`${i}-mark`]:{insetInlineStart:0,top:0,[R]:u,[P]:"100%"},[`${i}-step`]:{insetInlineStart:0,top:0,[R]:o,[P]:"100%",[Z]:o},[`${i}-dot`]:{position:"absolute",[E]:(o-p)/2}}},vs=n=>{const{componentCls:t,marginPartWithMark:i}=n;return{[`${t}-horizontal`]:Object.assign(Object.assign({},Eo(n,!0)),{[`&${t}-with-marks`]:{marginBottom:i}})}},ms=n=>{const{componentCls:t}=n;return{[`${t}-vertical`]:Object.assign(Object.assign({},Eo(n,!1)),{height:"100%"})}};var hs=(0,Ft.Z)("Slider",n=>{const t=(0,Co.TS)(n,{marginPart:(n.controlHeight-n.controlSize)/2,marginFull:n.controlSize/2,marginPartWithMark:n.controlHeightLG-n.controlSize});return[fs(t),vs(t),ms(t)]},n=>{const i=n.controlHeightLG/4,o=n.controlHeightSM/2,u=n.lineWidth+1,p=n.lineWidth+1*3;return{controlSize:i,railSize:4,handleSize:i,handleSizeHover:o,dotSize:8,handleLineWidth:u,handleLineWidthHover:p}}),ps=function(n,t){var i={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&t.indexOf(o)<0&&(i[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(n);utypeof n=="number"?n.toString():"";var ys=s.forwardRef((n,t)=>{const{prefixCls:i,range:o,className:u,tooltipPrefixCls:p,tipFormatter:S,tooltipVisible:P,getTooltipPopupContainer:Z,tooltipPlacement:E}=n,R=ps(n,["prefixCls","range","className","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{getPrefixCls:A,direction:L,getPopupContainer:T}=s.useContext(Fe.E_),[D,W]=s.useState({}),z=(me,ue)=>{W(ve=>Object.assign(Object.assign({},ve),{[me]:ue}))},K=(me,ue)=>me||(ue?L==="rtl"?"left":"right":"top"),G=A("slider",i),[X,ae]=hs(G),fe=ne()(u,{[`${G}-rtl`]:L==="rtl"},ae);L==="rtl"&&!R.vertical&&(R.reverse=!R.reverse);const[oe,xe]=s.useMemo(()=>o?typeof o=="object"?[!0,o.draggableTrack]:[!0,!1]:[!1],[o]),se=(me,ue)=>{var ve;const{index:De,dragging:Ne}=ue,{tooltip:we={},vertical:He}=n,xt=Object.assign({},we),{open:ht,placement:ut,getPopupContainer:ct,prefixCls:it,formatter:Nt}=xt;let Pt;Nt||Nt===null?Pt=Nt:S||S===null?Pt=S:Pt=gs;const jt=Pt?D[De]||Ne:!1,Yt=(ve=ht!=null?ht:P)!==null&&ve!==void 0?ve:ht===void 0&&jt,qt=Object.assign(Object.assign({},me.props),{onMouseEnter:()=>z(De,!0),onMouseLeave:()=>z(De,!1)}),ln=A("tooltip",it!=null?it:p);return s.createElement(cs,{prefixCls:ln,title:Pt?Pt(ue.value):"",open:Yt,placement:K(ut!=null?ut:E,He),key:De,overlayClassName:`${G}-tooltip`,getPopupContainer:ct||Z||T},s.cloneElement(me,qt))};return X(s.createElement(us,Object.assign({},R,{step:R.step,range:oe,draggableTrack:xe,className:fe,ref:t,prefixCls:G,handleRender:se})))}),xs=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps;if(u==="read"){var Z=o;return p?p(o,(0,r.Z)({mode:u},P),(0,a.jsx)(a.Fragment,{children:Z})):(0,a.jsx)(a.Fragment,{children:Z})}if(u==="edit"||u==="update"){var E=(0,a.jsx)(ys,(0,r.Z)({ref:i},P));return S?S(o,(0,r.Z)({mode:u},P),E):E}return null},bs=s.forwardRef(xs),Cs=e(72269),Ss=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps,Z=(0,d.YB)(),E=(0,s.useMemo)(function(){var L,T;return o==null||"".concat(o).length<1?"-":o?(L=P==null?void 0:P.checkedChildren)!==null&&L!==void 0?L:Z.getMessage("switch.open","\u6253\u5F00"):(T=P==null?void 0:P.unCheckedChildren)!==null&&T!==void 0?T:Z.getMessage("switch.close","\u5173\u95ED")},[P==null?void 0:P.checkedChildren,P==null?void 0:P.unCheckedChildren,o]);if(u==="read")return p?p(o,(0,r.Z)({mode:u},P),(0,a.jsx)(a.Fragment,{children:E})):E!=null?E:"-";if(u==="edit"||u==="update"){var R,A=(0,a.jsx)(Cs.Z,(0,r.Z)((0,r.Z)({ref:i},(0,ua.Z)(P,["value"])),{},{checked:(R=P==null?void 0:P.checked)!==null&&R!==void 0?R:P==null?void 0:P.value}));return S?S(o,(0,r.Z)({mode:u},P),A):A}return null},Ps=s.forwardRef(Ss),Os=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps,Z=t.emptyText,E=Z===void 0?"-":Z,R=P||{},A=R.autoFocus,L=R.prefix,T=L===void 0?"":L,D=R.suffix,W=D===void 0?"":D,z=(0,d.YB)(),K=(0,s.useRef)();if((0,s.useImperativeHandle)(i,function(){return K.current}),(0,s.useEffect)(function(){if(A){var oe;(oe=K.current)===null||oe===void 0||oe.focus()}},[A]),u==="read"){var G=(0,a.jsxs)(a.Fragment,{children:[T,o!=null?o:E,W]});if(p){var X;return(X=p(o,(0,r.Z)({mode:u},P),G))!==null&&X!==void 0?X:E}return G}if(u==="edit"||u==="update"){var ae=z.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),fe=(0,a.jsx)(tn.Z,(0,r.Z)({ref:K,placeholder:ae,allowClear:!0},P));return S?S(o,(0,r.Z)({mode:u},P),fe):fe}return null},Zs=s.forwardRef(Os),ws=function(t,i){var o=t.text,u=t.mode,p=t.render,S=t.renderFormItem,P=t.fieldProps,Z=(0,d.YB)();if(u==="read"){var E=(0,a.jsx)("span",{ref:i,children:o!=null?o:"-"});return p?p(o,(0,r.Z)({mode:u},P),E):E}if(u==="edit"||u==="update"){var R=(0,a.jsx)(tn.Z.TextArea,(0,r.Z)({ref:i,rows:3,onKeyPress:function(L){L.key==="Enter"&&L.stopPropagation()},placeholder:Z.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},P));return S?S(o,(0,r.Z)({mode:u},P),R):R}return null},Es=s.forwardRef(ws),Rs=function(n,t){var i={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&t.indexOf(o)<0&&(i[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(n);us.createElement(Is,Object.assign({},n,{picker:"time",mode:void 0,ref:t}))),Jr=s.forwardRef((n,t)=>{var{addon:i,renderExtraFooter:o}=n,u=Rs(n,["addon","renderExtraFooter"]);const p=s.useMemo(()=>{if(o)return o;if(i)return i},[i,o]);return s.createElement(Ms,Object.assign({},u,{mode:void 0,ref:t,renderExtraFooter:p}))}),Ro=(0,Rt.Z)(Jr,"picker");Jr._InternalPanelDoNotUseOrYouWillBeFired=Ro,Jr.RangePicker=Fs,Jr._InternalPanelDoNotUseOrYouWillBeFired=Ro;var Mo=Jr,js=function(t,i){var o=t.text,u=t.mode,p=t.light,S=t.label,P=t.format,Z=t.render,E=t.renderFormItem,R=t.plain,A=t.fieldProps,L=t.lightLabel,T=t.labelTrigger,D=(0,s.useState)(!1),W=(0,M.Z)(D,2),z=W[0],K=W[1],G=(0,s.useContext)(I.ZP.SizeContext),X=ro(),ae=X.hashId,fe=X.prefixCls,oe=X.wrapSSR,xe=(A==null?void 0:A.format)||P||"HH:mm:ss",se=gn().isDayjs(o)||typeof o=="number";if(u==="read"){var me=(0,a.jsx)("span",{ref:i,children:o?gn()(o,se?void 0:xe).format(xe):"-"});return Z?Z(o,(0,r.Z)({mode:u},A),(0,a.jsx)("span",{children:me})):me}if(u==="edit"||u==="update"){var ue,ve=A.disabled,De=A.onChange,Ne=A.placeholder,we=A.allowClear,He=A.value,xt=Xr(He,xe);if(p){var ht=xt&&xt.format(xe)||"";ue=oe((0,a.jsxs)("div",{className:"".concat(fe,"-light ").concat(ae),onClick:function(ct){var it,Nt,Pt,jt=L==null||(it=L.current)===null||it===void 0||(Nt=it.labelRef)===null||Nt===void 0||(Pt=Nt.current)===null||Pt===void 0?void 0:Pt.contains(ct.target);K(jt?!z:!0)},children:[(0,a.jsx)(Mo,(0,r.Z)((0,r.Z)({value:xt,format:P,ref:i},A),{},{onChange:function(ct){De==null||De(ct),setTimeout(function(){K(!1)},0)},onOpenChange:function(ct){T||K(ct)},open:z})),(0,a.jsx)(F.Q,{label:S,disabled:ve,placeholder:Ne,size:G,value:ht,allowClear:we,onClear:function(){return De==null?void 0:De(null)},expanded:z,ref:L})]}))}else ue=(0,a.jsx)($r.Z.TimePicker,(0,r.Z)((0,r.Z)({ref:i,format:P,bordered:R===void 0?!0:!R},A),{},{value:xt}));return E?E(o,(0,r.Z)({mode:u},A),ue):ue}return null},As=function(t,i){var o=t.text,u=t.mode,p=t.format,S=t.render,P=t.renderFormItem,Z=t.plain,E=t.fieldProps,R=(E==null?void 0:E.format)||p||"HH:mm:ss",A=Array.isArray(o)?o:[],L=(0,M.Z)(A,2),T=L[0],D=L[1],W=gn().isDayjs(T)||typeof T=="number",z=gn().isDayjs(D)||typeof D=="number",K=T?gn()(T,W?void 0:R).format(R):"",G=D?gn()(D,z?void 0:R).format(R):"";if(u==="read"){var X=(0,a.jsxs)("div",{ref:i,children:[(0,a.jsx)("div",{children:K||"-"}),(0,a.jsx)("div",{children:G||"-"})]});return S?S(o,(0,r.Z)({mode:u},E),(0,a.jsx)("span",{children:X})):X}if(u==="edit"||u==="update"){var ae=E.value,fe=Xr(ae,R),oe=(0,a.jsx)(Mo.RangePicker,(0,r.Z)((0,r.Z)({ref:i,format:p,bordered:Z===void 0?!0:!Z},E),{},{value:fe}));return P?P(o,(0,r.Z)({mode:u},E),oe):oe}return null},Ts=s.forwardRef(As),Ds=s.forwardRef(js),Ls=e(59847),Ns=["radioType","renderFormItem","mode","light","label","render"],$s=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","searchValue"],Bs=function(t,i){var o=t.radioType,u=t.renderFormItem,p=t.mode,S=t.light,P=t.label,Z=t.render,E=(0,l.Z)(t,Ns),R=(0,s.useContext)(I.ZP.ConfigContext),A=R.getPrefixCls,L=A("pro-field-tree-select"),T=(0,s.useRef)(null),D=(0,s.useState)(!1),W=(0,M.Z)(D,2),z=W[0],K=W[1],G=E.fieldProps||{},X=G.onSearch,ae=G.onClear,fe=G.onChange,oe=G.onBlur,xe=G.showSearch,se=G.autoClearSearchValue,me=G.treeData,ue=G.searchValue,ve=(0,l.Z)(G,$s),De=(0,s.useContext)(I.ZP.SizeContext),Ne=(0,d.YB)(),we=(0,je.aK)((0,r.Z)((0,r.Z)({},E),{},{defaultKeyWords:ue})),He=(0,M.Z)(we,3),xt=He[0],ht=He[1],ut=He[2],ct=(0,Gr.Z)(void 0,{onChange:X,value:ue}),it=(0,M.Z)(ct,2),Nt=it[0],Pt=it[1];(0,s.useImperativeHandle)(i,function(){return(0,r.Z)((0,r.Z)({},T.current||{}),{},{fetchData:function(){return ut()}})});var jt=(0,s.useMemo)(function(){if(p==="read"){var Wt=(ve==null?void 0:ve.fieldNames)||{},Ot=Wt.value,Mt=Ot===void 0?"value":Ot,St=Wt.label,Gt=St===void 0?"label":St,cn=Wt.children,Wn=cn===void 0?"children":cn,Zn=new Map,Un=function Kn(yn){if(!(yn!=null&&yn.length))return Zn;for(var lr=yn.length,er=0;er0?(0,c.jsx)("div",{className:"".concat(he,"-action ").concat(Ee),children:Qt}):null,Tt={name:rt.name,field:U,index:q,record:de==null||(ft=de.getFieldValue)===null||ft===void 0?void 0:ft.call(de,[Be.listName,Me,U.name].filter(function(Q){return Q!==void 0}).flat(1)),fields:j,operation:C,meta:H},Rt=(0,F.zx)(),Ut=Rt.grid,Y=(gt==null?void 0:gt(It,Tt))||It,V=(Te==null?void 0:Te({listDom:(0,c.jsx)("div",{className:"".concat(he,"-container ").concat(pe," ").concat(Ee),style:(0,l.Z)({width:Ut?"100%":void 0},Ie),children:Y}),action:Et},Tt))||(0,c.jsxs)("div",{className:"".concat(he,"-item ").concat(Ee," ").concat(nt?"".concat(he,"-item-show-label"):""),style:{display:"flex",alignItems:"flex-end"},children:[(0,c.jsx)("div",{className:"".concat(he,"-container ").concat(pe," ").concat(Ee),style:(0,l.Z)({width:Ut?"100%":void 0},Ie),children:Y}),Et]});return(0,c.jsx)(J.Provider,{value:(0,l.Z)((0,l.Z)({},U),{},{listName:[Be.listName,Me,U.name].filter(function(Q){return Q!==void 0}).flat(1)}),children:V})},dt=function(ce){var ft=(0,h.YB)(),Ze=ce.creatorButtonProps,Qe=ce.prefixCls,vt=ce.children,gt=ce.creatorRecord,Te=ce.action,nt=ce.fields,he=ce.actionGuard,Xe=ce.max,C=ce.fieldExtraRender,g=ce.meta,y=ce.containerClassName,w=ce.containerStyle,j=ce.onAfterAdd,H=ce.onAfterRemove,U=(0,N.useContext)(h.L_),q=U.hashId,de=(0,N.useRef)(new Map),Me=(0,N.useState)(!1),pe=(0,te.Z)(Me,2),Ie=pe[0],et=pe[1],Ct=(0,N.useMemo)(function(){return nt.map(function(Ee){var Be,qe;if(!(!((Be=de.current)===null||Be===void 0)&&Be.has(Ee.key.toString()))){var Oe;(Oe=de.current)===null||Oe===void 0||Oe.set(Ee.key.toString(),(0,_.x)())}var Fe=(qe=de.current)===null||qe===void 0?void 0:qe.get(Ee.key.toString());return(0,l.Z)((0,l.Z)({},Ee),{},{uuid:Fe})})},[nt]),Ye=(0,N.useMemo)(function(){var Ee=(0,l.Z)({},Te),Be=Ct.length;return he!=null&&he.beforeAddRow?Ee.add=(0,B.Z)((0,I.Z)().mark(function qe(){var Oe,Fe,ge,We,ze,ke=arguments;return(0,I.Z)().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:for(Oe=ke.length,Fe=new Array(Oe),ge=0;ge0&&arguments[0]!==void 0?arguments[0]:{},_=k.children,ie=k.Wrapper,ne=(0,a.Z)(k,b);return F?(0,c.jsx)(d.Z,(0,l.Z)((0,l.Z)((0,l.Z)({gutter:8},I),ne),{},{children:_})):ie?(0,c.jsx)(ie,{children:_}):_},ColWrapper:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_=k.children,ie=k.Wrapper,ne=(0,a.Z)(k,O),Pe=(0,h.useMemo)(function(){var ee=(0,l.Z)((0,l.Z)({},B),ne);return typeof ee.span=="undefined"&&typeof ee.xs=="undefined"&&(ee.xs=24),ee},[ne]);return F?(0,c.jsx)(v.Z,(0,l.Z)((0,l.Z)({},Pe),{},{children:_})):ie?(0,c.jsx)(ie,{children:_}):_}}},s=function(N){var F=(0,h.useMemo)(function(){return(0,r.Z)(N)==="object"?N:{grid:N}},[N]),I=(0,h.useContext)(m),B=I.grid,te=I.colProps;return(0,h.useMemo)(function(){return $({grid:!!(B||F.grid),rowProps:F==null?void 0:F.rowProps,colProps:(F==null?void 0:F.colProps)||te,Wrapper:F==null?void 0:F.Wrapper})},[F==null?void 0:F.Wrapper,F.grid,B,JSON.stringify([te,F==null?void 0:F.colProps,F==null?void 0:F.rowProps])])}},97269:function(f,x,e){"use strict";e.d(x,{A:function(){return Pe}});var r=e(1413),l=e(85893),a=e(58131),c=e(78733),d=e(4942),v=e(97685),h=e(43929),b=e(60869),O=e(12795),m=e(58720),$=e(26713),s=e(94184),M=e.n(s),N=e(67294),F=e(66758),I=e(2514),B=e(98082),te=function(le){var Ce;return(0,d.Z)({},le.componentCls,{"&-title":{marginBlockEnd:le.marginXL,fontWeight:"bold"},"&-container":(0,d.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(le.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(Ce={display:"block",width:"100%"},(0,d.Z)(Ce,"".concat(le.componentCls,"-title"),{width:"100%",margin:"8px 0"}),(0,d.Z)(Ce,"".concat(le.componentCls,"-container"),{paddingInlineStart:16}),(0,d.Z)(Ce,"".concat(le.antCls,"-space-item,").concat(le.antCls,"-form-item"),{width:"100%"}),(0,d.Z)(Ce,"".concat(le.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),Ce)})};function k(ee){return(0,B.Xj)("ProFormGroup",function(le){var Ce=(0,r.Z)((0,r.Z)({},le),{},{componentCls:".".concat(ee)});return[te(Ce)]})}var _=N.forwardRef(function(ee,le){var Ce=N.useContext(F.Z),Ae=Ce.groupProps,ye=(0,r.Z)((0,r.Z)({},Ae),ee),_e=ye.children,Ge=ye.collapsible,dt=ye.defaultCollapsed,Ue=ye.style,lt=ye.labelLayout,Vt=ye.title,Bt=Vt===void 0?ee.label:Vt,bt=ye.tooltip,J=ye.align,be=J===void 0?"start":J,Re=ye.direction,ce=ye.size,ft=ce===void 0?32:ce,Ze=ye.titleStyle,Qe=ye.titleRender,vt=ye.spaceProps,gt=ye.extra,Te=ye.autoFocus,nt=(0,b.Z)(function(){return dt||!1},{value:ee.collapsed,onChange:ee.onCollapse}),he=(0,v.Z)(nt,2),Xe=he[0],C=he[1],g=(0,N.useContext)(m.ZP.ConfigContext),y=g.getPrefixCls,w=(0,I.zx)(ee),j=w.ColWrapper,H=w.RowWrapper,U=y("pro-form-group"),q=k(U),de=q.wrapSSR,Me=q.hashId,pe=Ge&&(0,l.jsx)(h.Z,{style:{marginInlineEnd:8},rotate:Xe?void 0:90}),Ie=(0,l.jsx)(O.G,{label:pe?(0,l.jsxs)("div",{children:[pe,Bt]}):Bt,tooltip:bt}),et=(0,N.useCallback)(function(Be){var qe=Be.children;return(0,l.jsx)($.Z,(0,r.Z)((0,r.Z)({},vt),{},{className:M()("".concat(U,"-container ").concat(Me),vt==null?void 0:vt.className),size:ft,align:be,direction:Re,style:(0,r.Z)({rowGap:0},vt==null?void 0:vt.style),children:qe}))},[be,U,Re,Me,ft,vt]),Ct=Qe?Qe(Ie,ee):Ie,Ye=(0,N.useMemo)(function(){var Be=[],qe=N.Children.toArray(_e).map(function(Oe,Fe){var ge;return N.isValidElement(Oe)&&(Oe==null||(ge=Oe.props)===null||ge===void 0?void 0:ge.hidden)?(Be.push(Oe),null):Fe===0&&N.isValidElement(Oe)&&Te?N.cloneElement(Oe,(0,r.Z)((0,r.Z)({},Oe.props),{},{autoFocus:Te})):Oe});return[(0,l.jsx)(H,{Wrapper:et,children:qe},"children"),Be.length>0?(0,l.jsx)("div",{style:{display:"none"},children:Be}):null]},[_e,H,et,Te]),rt=(0,v.Z)(Ye,2),mt=rt[0],Ee=rt[1];return de((0,l.jsx)(j,{children:(0,l.jsxs)("div",{className:M()(U,Me,(0,d.Z)({},"".concat(U,"-twoLine"),lt==="twoLine")),style:Ue,ref:le,children:[Ee,(Bt||bt||gt)&&(0,l.jsx)("div",{className:"".concat(U,"-title ").concat(Me),style:Ze,onClick:function(){C(!Xe)},children:gt?(0,l.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[Ct,(0,l.jsx)("span",{onClick:function(qe){return qe.stopPropagation()},children:gt})]}):Ct}),(0,l.jsx)("div",{style:{display:Ge&&Xe?"none":void 0},children:mt})]})}))});_.displayName="ProForm-Group";var ie=_,ne=e(62370);function Pe(ee){return(0,l.jsx)(c.I,(0,r.Z)({layout:"vertical",submitter:{render:function(Ce,Ae){return Ae.reverse()}},contentRender:function(Ce,Ae){return(0,l.jsxs)(l.Fragment,{children:[Ce,Ae]})}},ee))}Pe.Group=ie,Pe.useForm=a.Z.useForm,Pe.Item=ne.Z,Pe.useWatch=a.Z.useWatch,Pe.ErrorList=a.Z.ErrorList,Pe.Provider=a.Z.Provider,Pe.useFormInstance=a.Z.useFormInstance},2122:function(f,x,e){"use strict";e.d(x,{Q:function(){return F}});var r=e(4942),l=e(85893),a=e(28508),c=e(34804),d=e(46803),v=e(58720),h=e(94184),b=e.n(h),O=e(67294),m=e(1413),$=e(98082),s=function(B){var te,k;return(0,r.Z)({},B.componentCls,{display:"inline-flex",gap:"4px",alignItems:"center",height:"30px",paddingBlock:0,paddingInline:8,fontSize:B.fontSize,lineHeight:"30px",borderRadius:"2px",cursor:"pointer","&:hover":{backgroundColor:B.colorBgTextHover},"*":{boxSizing:"border-box"},"&-active":(0,r.Z)({paddingBlock:0,paddingInline:12,backgroundColor:B.colorBgTextHover},"&".concat(B.componentCls,"-allow-clear:hover:not(").concat(B.componentCls,"-disabled)"),(te={},(0,r.Z)(te,"".concat(B.componentCls,"-arrow"),{display:"none"}),(0,r.Z)(te,"".concat(B.componentCls,"-close"),{display:"inline-flex"}),te)),"&-icon":(0,r.Z)({height:"12px",paddingBlock:1,paddingInline:1,color:B.colorIcon,fontSize:"12px",verticalAlign:"middle"},"&".concat(B.componentCls,"-close"),{display:"none",height:14,alignItems:"center",justifyContent:"center",width:14,color:B.colorBgContainer,fontSize:8,backgroundColor:B.colorTextPlaceholder,borderRadius:"50%","&:hover":{color:B.colorIcon}}),"&-disabled":(0,r.Z)({color:B.colorTextPlaceholder,cursor:"not-allowed"},"".concat(B.componentCls,"-icon"),{color:B.colorTextPlaceholder}),"&-small":(k={height:"24px",paddingBlock:0,paddingInline:4,fontSize:B.fontSizeSM,lineHeight:"24px"},(0,r.Z)(k,"&".concat(B.componentCls,"-active"),{paddingBlock:0,paddingInline:8}),(0,r.Z)(k,"".concat(B.componentCls,"-icon"),{paddingBlock:0,paddingInline:0}),(0,r.Z)(k,"".concat(B.componentCls,"-close"),{marginBlockStart:"-2px",paddingBlock:4,paddingInline:4,fontSize:"6px"}),k),"&-bordered":{height:"32px",paddingBlock:0,paddingInline:12,border:"".concat(B.lineWidth," solid ").concat(B.colorBorder),borderRadius:"@border-radius-base"},"&-bordered&-small":{height:"24px",paddingBlock:0,paddingInline:8},"&-bordered&-active":{backgroundColor:B.colorBgContainer}})};function M(I){return(0,$.Xj)("FieldLabel",function(B){var te=(0,m.Z)((0,m.Z)({},B),{},{componentCls:".".concat(I)});return[s(te)]})}var N=function(B,te){var k,_=B.label,ie=B.onClear,ne=B.value,Pe=B.size,ee=Pe===void 0?"middle":Pe,le=B.disabled,Ce=B.onLabelClick,Ae=B.ellipsis,ye=B.placeholder,_e=B.className,Ge=B.formatter,dt=B.bordered,Ue=B.allowClear,lt=Ue===void 0?!0:Ue,Vt=(0,O.useContext)(v.ZP.ConfigContext),Bt=Vt.getPrefixCls,bt=Bt("pro-core-field-label"),J=M(bt),be=J.wrapSSR,Re=J.hashId,ce=(0,d.YB)(),ft=(0,O.useRef)(null),Ze=(0,O.useRef)(null);(0,O.useImperativeHandle)(te,function(){return{labelRef:Ze,clearRef:ft}});var Qe=function(Te){return Ge?Ge(Te):Array.isArray(Te)?Te.join(","):Te},vt=function(Te,nt){if(nt!=null&&nt!==""&&(!Array.isArray(nt)||nt.length)){var he,Xe,C=Te?(0,l.jsxs)("span",{onClick:Ce,className:"".concat(bt,"-text"),children:[Te,": "]}):"",g=Qe(nt);if(!Ae)return(0,l.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[C,Qe(nt)]});var y=41,w=function(){var U=Array.isArray(nt)&&nt.length>1,q=ce.getMessage("form.lightFilter.itemUnit","\u9879");return typeof g=="string"&&g.length>y&&U?"...".concat(nt.length).concat(q):""},j=w();return(0,l.jsxs)("span",{title:typeof g=="string"?g:void 0,style:{display:"inline-flex",alignItems:"center"},children:[C,(0,l.jsx)("span",{style:{paddingInlineStart:4},children:typeof g=="string"?g==null||(he=g.toString())===null||he===void 0||(Xe=he.substr)===null||Xe===void 0?void 0:Xe.call(he,0,y):g}),j]})}return Te||ye};return be((0,l.jsxs)("span",{className:b()(bt,Re,"".concat(bt,"-").concat(ee),(k={},(0,r.Z)(k,"".concat(bt,"-active"),!!ne||ne===0),(0,r.Z)(k,"".concat(bt,"-disabled"),le),(0,r.Z)(k,"".concat(bt,"-bordered"),dt),(0,r.Z)(k,"".concat(bt,"-allow-clear"),lt),k),_e),ref:Ze,children:[vt(_,ne),(ne||ne===0)&<&&(0,l.jsx)(a.Z,{role:"button",title:"\u6E05\u9664",className:b()("".concat(bt,"-icon"),Re,"".concat(bt,"-close")),onClick:function(Te){ie&&!le&&ie(),Te.stopPropagation()},ref:ft}),(0,l.jsx)(c.Z,{className:b()("".concat(bt,"-icon"),"".concat(bt,"-arrow"))})]}))},F=O.forwardRef(N)},1336:function(f,x,e){"use strict";e.d(x,{M:function(){return te}});var r=e(1413),l=e(85893),a=e(58720),c=e(55241),d=e(67294),v=e(46803),h=e(71577),b=e(94184),O=e.n(b),m=e(4942),$=e(98082),s=function(_){return(0,m.Z)({},_.componentCls,{display:"flex",justifyContent:"space-between",paddingBlock:8,paddingInlineStart:8,paddingInlineEnd:8,borderBlockStart:"1px solid ".concat(_.colorSplit)})};function M(k){return(0,$.Xj)("DropdownFooter",function(_){var ie=(0,r.Z)((0,r.Z)({},_),{},{componentCls:".".concat(k)});return[s(ie)]})}var N=function(_){var ie=(0,v.YB)(),ne=_.onClear,Pe=_.onConfirm,ee=_.disabled,le=_.footerRender,Ce=(0,d.useContext)(a.ZP.ConfigContext),Ae=Ce.getPrefixCls,ye=Ae("pro-core-dropdown-footer"),_e=M(ye),Ge=_e.wrapSSR,dt=_e.hashId,Ue=[(0,l.jsx)(h.ZP,{style:{visibility:ne?"visible":"hidden"},type:"link",size:"small",disabled:ee,onClick:function(Bt){ne&&ne(Bt),Bt.stopPropagation()},children:ie.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),(0,l.jsx)(h.ZP,{"data-type":"confirm",type:"primary",size:"small",onClick:Pe,disabled:ee,children:ie.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(le===!1||(le==null?void 0:le(Pe,ne))===!1)return null;var lt=(le==null?void 0:le(Pe,ne))||Ue;return Ge((0,l.jsx)("div",{className:O()(ye,dt),onClick:function(Bt){return Bt.target.getAttribute("data-type")!=="confirm"&&Bt.stopPropagation()},children:lt}))},F=function(_){var ie;return ie={},(0,m.Z)(ie,"".concat(_.componentCls,"-label"),{cursor:"pointer"}),(0,m.Z)(ie,"".concat(_.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px","*":{fontFamily:_.fontFamily,boxSizing:"border-box"}}),(0,m.Z)(ie,"".concat(_.componentCls,"-content"),{paddingBlock:16,paddingInline:16}),ie};function I(k){return(0,$.Xj)("FilterDropdown",function(_){var ie=(0,r.Z)((0,r.Z)({},_),{},{componentCls:".".concat(k)});return[F(ie)]})}var B=e(73177),te=function(_){var ie=_.children,ne=_.label,Pe=_.footer,ee=_.open,le=_.onOpenChange,Ce=_.disabled,Ae=_.onVisibleChange,ye=_.visible,_e=_.footerRender,Ge=_.placement,dt=(0,d.useContext)(a.ZP.ConfigContext),Ue=dt.getPrefixCls,lt=Ue("pro-core-field-dropdown"),Vt=I(lt),Bt=Vt.wrapSSR,bt=Vt.hashId,J=(0,B.X)(ee||ye||!1,le||Ae);return Bt((0,l.jsx)(c.Z,(0,r.Z)((0,r.Z)({placement:Ge,trigger:["click"]},J),{},{overlayInnerStyle:{padding:0},content:(0,l.jsxs)("div",{className:"".concat(lt,"-overlay ").concat(lt,"-overlay-").concat(Ge," ").concat(bt),children:[(0,l.jsx)("div",{className:"".concat(lt,"-content ").concat(bt),children:ie}),Pe&&(0,l.jsx)(N,(0,r.Z)({disabled:Ce,footerRender:_e},Pe))]}),children:(0,l.jsx)("span",{className:"".concat(lt,"-label ").concat(bt),children:ne})})))}},12795:function(f,x,e){"use strict";e.d(x,{G:function(){return M}});var r=e(1413),l=e(4942),a=e(85893),c=e(45605),d=e(58720),v=e(83062),h=e(94184),b=e.n(h),O=e(67294),m=e(98082),$=function(F){return(0,l.Z)({},F.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:F.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:F.colorTextSecondary,fontWeight:"normal",fontSize:F.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function s(N){return(0,m.Xj)("LabelIconTip",function(F){var I=(0,r.Z)((0,r.Z)({},F),{},{componentCls:".".concat(N)});return[$(I)]})}var M=O.memo(function(N){var F=N.label,I=N.tooltip,B=N.ellipsis,te=N.subTitle,k=(0,O.useContext)(d.ZP.ConfigContext),_=k.getPrefixCls,ie=_("pro-core-label-tip"),ne=s(ie),Pe=ne.wrapSSR,ee=ne.hashId;if(!I&&!te)return(0,a.jsx)(a.Fragment,{children:F});var le=typeof I=="string"||O.isValidElement(I)?{title:I}:I,Ce=(le==null?void 0:le.icon)||(0,a.jsx)(c.Z,{});return Pe((0,a.jsxs)("div",{className:b()(ie,ee),onMouseDown:function(ye){return ye.stopPropagation()},onMouseLeave:function(ye){return ye.stopPropagation()},onMouseMove:function(ye){return ye.stopPropagation()},children:[(0,a.jsx)("div",{className:b()("".concat(ie,"-title"),ee,(0,l.Z)({},"".concat(ie,"-title-ellipsis"),B)),children:F}),te&&(0,a.jsx)("div",{className:"".concat(ie,"-subtitle ").concat(ee),children:te}),I&&(0,a.jsx)(v.Z,(0,r.Z)((0,r.Z)({},le),{},{children:(0,a.jsx)("span",{className:"".concat(ie,"-icon ").concat(ee),children:Ce})}))]}))})},41036:function(f,x,e){"use strict";e.d(x,{J:function(){return l}});var r=e(67294),l=r.createContext({})},23312:function(f,x,e){"use strict";e.d(x,{Cl:function(){return b},lp:function(){return M}});var r=e(71002),l=e(27484),a=e.n(l),c=e(94787),d=e(74763),v=e(96671),h=e.n(v);a().extend(h());var b={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function O(N){return Object.prototype.toString.call(N)==="[object Object]"}function m(N){if(O(N)===!1)return!1;var F=N.constructor;if(F===void 0)return!0;var I=F.prototype;return!(O(I)===!1||I.hasOwnProperty("isPrototypeOf")===!1)}var $=function(F){return!!(F!=null&&F._isAMomentObject)},s=function(F,I,B){if(!I)return F;if(a().isDayjs(F)||$(F)){if(I==="number")return F.valueOf();if(I==="string")return F.format(b[B]||"YYYY-MM-DD HH:mm:ss");if(typeof I=="string"&&I!=="string")return F.format(I);if(typeof I=="function")return I(F,B)}return F},M=function N(F,I,B,te,k){var _={};return typeof window=="undefined"||(0,r.Z)(F)!=="object"||(0,d.k)(F)||F instanceof Blob||Array.isArray(F)?F:(Object.keys(F).forEach(function(ie){var ne=k?[k,ie].flat(1):[ie],Pe=(0,c.default)(B,ne)||"text",ee="text",le;typeof Pe=="string"?ee=Pe:Pe&&(ee=Pe.valueType,le=Pe.dateFormat);var Ce=F[ie];if(!((0,d.k)(Ce)&&te)){if(m(Ce)&&!Array.isArray(Ce)&&!a().isDayjs(Ce)&&!$(Ce)){_[ie]=N(Ce,I,B,te,[ie]);return}if(Array.isArray(Ce)){_[ie]=Ce.map(function(Ae,ye){return a().isDayjs(Ae)||$(Ae)?s(Ae,le||I,ee):N(Ae,I,B,te,[ie,"".concat(ye)].flat(1))});return}_[ie]=s(Ce,le||I,ee)}}),_)}},10178:function(f,x,e){"use strict";e.d(x,{D:function(){return d}});var r=e(74165),l=e(15861),a=e(67294),c=e(48171);function d(v,h){var b=(0,c.J)(v),O=(0,a.useRef)(),m=(0,a.useCallback)(function(){O.current&&(clearTimeout(O.current),O.current=null)},[]),$=(0,a.useCallback)((0,l.Z)((0,r.Z)().mark(function s(){var M,N,F,I=arguments;return(0,r.Z)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:for(M=I.length,N=new Array(M),F=0;F0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(r+=1).toFixed(0);for(var v="",h=crypto.getRandomValues(new Uint8Array(d));d--;){var b=63&h[d];v+=b<36?b.toString(36):b<62?(b-26).toString(36).toUpperCase():b<63?"_":"-"}return v},a=function(){return typeof window=="undefined"?l():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():l()}},22270:function(f,x,e){"use strict";e.d(x,{h:function(){return r}});function r(l){if(typeof l=="function"){for(var a=arguments.length,c=new Array(a>1?a-1:0),d=1;d2&&arguments[2]!==void 0?arguments[2]:!0,ar=function(){wn(function(vr){var dr=new Map(vr),mr=dr.delete(Pn);return mr?dr:vr})};return wn(function(Yn){return new Map(Yn).set(Pn,{url:_n,canPreview:cr})}),ar},qn=function(Pn){Pn.stopPropagation(),hn(!1),on(null)};return m.useEffect(function(){Jt(bn)},[bn]),m.useEffect(function(){!kt&&Tn&&Jt(bn)},[bn,Tn,kt]),m.createElement(k,{value:{isPreviewGroup:!0,previewUrls:rr,setPreviewUrls:wn,current:nn,setCurrent:Jt,setShowPreview:hn,setMousePosition:on,registerImage:kn}},Se,m.createElement(J,(0,c.Z)({"aria-hidden":!kt,visible:kt,prefixCls:re,onClose:qn,mousePosition:Ht,src:rr.get(nn),icons:$e,getContainer:$t,countRender:tn},jn)))},ie=_,ne=e(62874),Pe=e(2788),ee=1,le=50,Ce=1,Ae=.2,ye=function(V){var Q,re=V.visible,Se=V.maskTransitionName,Le=V.getContainer,$e=V.prefixCls,je=V.rootClassName,Ve=V.icons,at=V.countRender,Je=V.showSwitch,Ke=V.showProgress,st=V.current,wt=V.count,$t=V.scale,Kt=V.onSwitchLeft,mn=V.onSwitchRight,fn=V.onClose,tn=V.onZoomIn,jn=V.onZoomOut,An=V.onRotateRight,pn=V.onRotateLeft,Xt=Ve.rotateLeft,wn=Ve.rotateRight,Dn=Ve.zoomIn,En=Ve.zoomOut,nn=Ve.close,Jt=Ve.left,rn=Ve.right,vn="".concat($e,"-operations-operation"),kt="".concat($e,"-operations-icon"),hn=[{icon:nn,onClick:fn,type:"close"},{icon:Dn,onClick:tn,type:"zoomIn",disabled:$t===le},{icon:En,onClick:jn,type:"zoomOut",disabled:$t===ee},{icon:wn,onClick:An,type:"rotateRight"},{icon:Xt,onClick:pn,type:"rotateLeft"}],an=m.createElement(m.Fragment,null,Je&&m.createElement(m.Fragment,null,m.createElement("div",{className:a()("".concat($e,"-switch-left"),(0,v.Z)({},"".concat($e,"-switch-left-disabled"),st===0)),onClick:Kt},Jt),m.createElement("div",{className:a()("".concat($e,"-switch-right"),(0,v.Z)({},"".concat($e,"-switch-right-disabled"),st===wt-1)),onClick:mn},rn)),m.createElement("ul",{className:"".concat($e,"-operations")},Ke&&m.createElement("li",{className:"".concat($e,"-operations-progress")},(Q=at==null?void 0:at(st+1,wt))!==null&&Q!==void 0?Q:"".concat(st+1," / ").concat(wt)),hn.map(function(Lt){var Ht,on=Lt.icon,Tn=Lt.onClick,Rn=Lt.type,bn=Lt.disabled;return m.createElement("li",{className:a()(vn,(Ht={},(0,v.Z)(Ht,"".concat($e,"-operations-operation-").concat(Rn),!0),(0,v.Z)(Ht,"".concat($e,"-operations-operation-disabled"),!!bn),Ht)),onClick:Tn,key:Rn},m.isValidElement(on)?m.cloneElement(on,{className:kt}):on)})));return m.createElement(ne.Z,{visible:re,motionName:Se},function(Lt){var Ht=Lt.className,on=Lt.style;return m.createElement(Pe.Z,{open:!0,getContainer:Le!=null?Le:document.body},m.createElement("div",{className:a()("".concat($e,"-operations-wrapper"),Ht,je),style:on},an))})},_e=ye,Ge=e(75164),dt={x:0,y:0,rotate:0,scale:1};function Ue(Y){var V=(0,m.useRef)(null),Q=(0,m.useRef)([]),re=(0,m.useState)(dt),Se=(0,h.Z)(re,2),Le=Se[0],$e=Se[1],je=function(){$e(dt)},Ve=function(Ke){V.current===null&&(Q.current=[],V.current=(0,Ge.Z)(function(){$e(function(st){var wt=st;return Q.current.forEach(function($t){wt=(0,d.Z)((0,d.Z)({},wt),$t)}),V.current=null,wt})})),Q.current.push((0,d.Z)((0,d.Z)({},Le),Ke))},at=function(Ke,st,wt){var $t=Y.current,Kt=$t.width,mn=$t.height,fn=$t.offsetWidth,tn=$t.offsetHeight,jn=$t.offsetLeft,An=$t.offsetTop,pn=Ke,Xt=Le.scale*Ke;Xt>le?(pn=le/Le.scale,Xt=le):Xtre){if(V>0)return(0,v.Z)({},Y,Le);if(V<0&&Sere)return(0,v.Z)({},Y,V<0?Le:-Le);return{}}function Vt(Y,V,Q,re){var Se=(0,$.g1)(),Le=Se.width,$e=Se.height,je=null;return Y<=Le&&V<=$e?je={x:0,y:0}:(Y>Le||V>$e)&&(je=(0,d.Z)((0,d.Z)({},lt("x",Q,Y,Le)),lt("y",re,V,$e))),je}var Bt=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],bt=function(V){var Q=V.prefixCls,re=V.src,Se=V.alt,Le=V.onClose,$e=V.afterClose,je=V.visible,Ve=V.icons,at=Ve===void 0?{}:Ve,Je=V.rootClassName,Ke=V.getContainer,st=V.countRender,wt=V.scaleStep,$t=wt===void 0?.5:wt,Kt=V.transitionName,mn=Kt===void 0?"zoom":Kt,fn=V.maskTransitionName,tn=fn===void 0?"fade":fn,jn=(0,O.Z)(V,Bt),An=(0,m.useRef)(),pn=(0,m.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),Xt=(0,m.useState)(!1),wn=(0,h.Z)(Xt,2),Dn=wn[0],En=wn[1],nn=(0,m.useContext)(te),Jt=nn.previewUrls,rn=nn.current,vn=nn.isPreviewGroup,kt=nn.setCurrent,hn=Jt.size,an=Array.from(Jt.keys()),Lt=an.indexOf(rn),Ht=vn?Jt.get(rn):re,on=vn&&hn>1,Tn=vn&&hn>=1,Rn=Ue(An),bn=Rn.transform,rr=Rn.resetTransform,kn=Rn.updateTransform,qn=Rn.dispatchZoonChange,Ln=bn.rotate,Pn=bn.scale,_n=a()((0,v.Z)({},"".concat(Q,"-moving"),Dn)),cr=function(){rr()},ar=function(){qn(Ce+$t)},Yn=function(){qn(Ce-$t)},vr=function(){kn({rotate:Ln+90})},dr=function(){kn({rotate:Ln-90})},mr=function(zt){zt.preventDefault(),zt.stopPropagation(),Lt>0&&kt(an[Lt-1])},hr=function(zt){zt.preventDefault(),zt.stopPropagation(),Lt0&&(Vn=Ce/Vn),qn(Vn,zt.clientX,zt.clientY)}},yr=(0,m.useCallback)(function(Cn){!je||!on||(Cn.keyCode===F.Z.LEFT?Lt>0&&kt(an[Lt-1]):Cn.keyCode===F.Z.RIGHT&&Lt({position:Y||"absolute",inset:0}),ke=Y=>{const{iconCls:V,motionDurationSlow:Q,paddingXXS:re,marginXXS:Se,prefixCls:Le}=Y;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new Ee.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Q}`,[`.${Le}-mask-info`]:Object.assign(Object.assign({},We.vS),{padding:`0 ${re}px`,[V]:{marginInlineEnd:Se}})}},pt=Y=>{const{previewCls:V,modalMaskBg:Q,paddingSM:re,imagePreviewOperationDisabledColor:Se,motionDurationSlow:Le}=Y,$e=new Ee.C(Q).setAlpha(.1),je=$e.clone().setAlpha(.2);return{[`${V}-operations`]:Object.assign(Object.assign({},(0,We.Wf)(Y)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:Y.imagePreviewOperationColor,listStyle:"none",background:$e.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:re,padding:re,cursor:"pointer",transition:`all ${Le}`,"&:hover":{background:je.toRgbString()},"&-disabled":{color:Se,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:Y.imagePreviewOperationSize}})}},tt=Y=>{const{modalMaskBg:V,iconCls:Q,imagePreviewOperationDisabledColor:re,previewCls:Se,zIndexPopup:Le,motionDurationSlow:$e}=Y,je=new Ee.C(V).setAlpha(.1),Ve=je.clone().setAlpha(.2);return{[`${Se}-switch-left, ${Se}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Le+1,display:"flex",alignItems:"center",justifyContent:"center",width:Y.imagePreviewSwitchSize,height:Y.imagePreviewSwitchSize,marginTop:-Y.imagePreviewSwitchSize/2,color:Y.imagePreviewOperationColor,background:je.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${$e}`,pointerEvents:"auto","&:hover":{background:Ve.toRgbString()},["&-disabled"]:{"&, &:hover":{color:re,background:"transparent",cursor:"not-allowed",[`> ${Q}`]:{cursor:"not-allowed"}}},[`> ${Q}`]:{fontSize:Y.imagePreviewOperationSize}},[`${Se}-switch-left`]:{insetInlineStart:Y.marginSM},[`${Se}-switch-right`]:{insetInlineEnd:Y.marginSM}}},ot=Y=>{const{motionEaseOut:V,previewCls:Q,motionDurationSlow:re,componentCls:Se}=Y;return[{[`${Se}-preview-root`]:{[Q]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Q}-body`]:Object.assign(Object.assign({},ze()),{overflow:"hidden"}),[`${Q}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${re} ${V} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":Object.assign(Object.assign({},ze()),{transition:`transform ${re} ${V} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Q}-moving`]:{[`${Q}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Se}-preview-root`]:{[`${Q}-wrap`]:{zIndex:Y.zIndexPopup}}},{[`${Se}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:Y.zIndexPopup+1,width:"100%"},"&":[pt(Y),tt(Y)]}]},yt=Y=>{const{componentCls:V}=Y;return{[V]:{position:"relative",display:"inline-block",[`${V}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${V}-img-placeholder`]:{backgroundColor:Y.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${V}-mask`]:Object.assign({},ke(Y)),[`${V}-mask:hover`]:{opacity:1},[`${V}-placeholder`]:Object.assign({},ze())}}},It=Y=>{const{previewCls:V}=Y;return{[`${V}-root`]:(0,qe._y)(Y,"zoom"),["&"]:(0,Oe.J$)(Y,!0)}};var Zt=(0,Fe.Z)("Image",Y=>{const V=new Ee.C(Y.colorTextLightSolid),Q=`${Y.componentCls}-preview`,re=(0,ge.TS)(Y,{previewCls:Q,imagePreviewOperationColor:V.toRgbString(),imagePreviewOperationDisabledColor:new Ee.C(V).setAlpha(.25).toRgbString(),modalMaskBg:new Ee.C("#000").setAlpha(.45).toRgbString(),imagePreviewOperationSize:Y.fontSizeIcon*1.5,imagePreviewSwitchSize:Y.controlHeightLG});return[yt(re),ot(re),(0,Be.Q)((0,ge.TS)(re,{componentCls:Q})),It(re)]},Y=>({zIndexPopup:Y.zIndexPopupBase+80})),Ft=function(Y,V){var Q={};for(var re in Y)Object.prototype.hasOwnProperty.call(Y,re)&&V.indexOf(re)<0&&(Q[re]=Y[re]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,re=Object.getOwnPropertySymbols(Y);Se{var{previewPrefixCls:V,preview:Q}=Y,re=Ft(Y,["previewPrefixCls","preview"]);const{getPrefixCls:Se}=m.useContext(vt.E_),Le=Se("image",V),$e=`${Le}-preview`,je=Se(),[Ve,at]=Zt(Le),Je=m.useMemo(()=>{if(Q===!1)return Q;const Ke=typeof Q=="object"?Q:{};return Object.assign(Object.assign({},Ke),{transitionName:(0,Te.mL)(je,"zoom",Ke.transitionName),maskTransitionName:(0,Te.mL)(je,"fade",Ke.maskTransitionName),rootClassName:at})},[Q]);return Ve(m.createElement(Qe.PreviewGroup,Object.assign({preview:Je,previewPrefixCls:$e,icons:At},re)))},Tt=function(Y,V){var Q={};for(var re in Y)Object.prototype.hasOwnProperty.call(Y,re)&&V.indexOf(re)<0&&(Q[re]=Y[re]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,re=Object.getOwnPropertySymbols(Y);Se{var{prefixCls:V,preview:Q,rootClassName:re}=Y,Se=Tt(Y,["prefixCls","preview","rootClassName"]);const{getPrefixCls:Le,locale:$e=gt.Z,getPopupContainer:je}=m.useContext(vt.E_),Ve=Le("image",V),at=Le(),Je=$e.Image||gt.Z.Image,[Ke,st]=Zt(Ve),wt=a()(re,st),$t=m.useMemo(()=>{if(Q===!1)return Q;const Kt=typeof Q=="object"?Q:{},{getContainer:mn}=Kt,fn=Tt(Kt,["getContainer"]);return Object.assign(Object.assign({mask:m.createElement("div",{className:`${Ve}-mask-info`},m.createElement(r.Z,null),Je==null?void 0:Je.preview),icons:At},fn),{getContainer:mn||je,transitionName:(0,Te.mL)(at,"zoom",Kt.transitionName),maskTransitionName:(0,Te.mL)(at,"fade",Kt.maskTransitionName)})},[Q,Je]);return Ke(m.createElement(Qe,Object.assign({prefixCls:`${Ve}`,preview:$t,rootClassName:wt},Se)))};Rt.PreviewGroup=Et;var Ut=Rt},96671:function(f){(function(x,e){f.exports=e()})(this,function(){"use strict";var x="month",e="quarter";return function(r,l){var a=l.prototype;a.quarter=function(v){return this.$utils().u(v)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(v-1))};var c=a.add;a.add=function(v,h){return v=Number(v),this.$utils().p(h)===e?this.add(3*v,x):c.bind(this)(v,h)};var d=a.startOf;a.startOf=function(v,h){var b=this.$utils(),O=!!b.u(h)||h;if(b.p(v)===e){var m=this.quarter()-1;return O?this.month(3*m).startOf(x).startOf("day"):this.month(3*m+2).endOf(x).endOf("day")}return d.bind(this)(v,h)}}})},84110:function(f){(function(x,e){f.exports=e()})(this,function(){"use strict";return function(x,e,r){x=x||{};var l=e.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(v,h,b,O){return l.fromToBase(v,h,b,O)}r.en.relativeTime=a,l.fromToBase=function(v,h,b,O,m){for(var $,s,M,N=b.$locale().relativeTime||a,F=x.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],I=F.length,B=0;B0,k<=te.r||!te.r){k<=1&&B>0&&(te=F[B-1]);var _=N[te.l];m&&(k=m(""+k)),s=typeof _=="string"?_.replace("%d",k):_(k,h,te.l,M);break}}if(h)return s;var ie=M?N.future:N.past;return typeof ie=="function"?ie(s):ie.replace("%s",s)},l.to=function(v,h){return c(v,h,this,!0)},l.from=function(v,h){return c(v,h,this)};var d=function(v){return v.$u?r.utc():r()};l.toNow=function(v){return this.to(d(this),v)},l.fromNow=function(v){return this.from(d(this),v)}}})},49323:function(f){var x=NaN,e="[object Symbol]",r=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt,v=Object.prototype,h=v.toString;function b(s){var M=typeof s;return!!s&&(M=="object"||M=="function")}function O(s){return!!s&&typeof s=="object"}function m(s){return typeof s=="symbol"||O(s)&&h.call(s)==e}function $(s){if(typeof s=="number")return s;if(m(s))return x;if(b(s)){var M=typeof s.valueOf=="function"?s.valueOf():s;s=b(M)?M+"":M}if(typeof s!="string")return s===0?s:+s;s=s.replace(r,"");var N=a.test(s);return N||c.test(s)?d(s.slice(2),N?2:8):l.test(s)?x:+s}f.exports=$},18552:function(f,x,e){var r=e(10852),l=e(55639),a=r(l,"DataView");f.exports=a},1989:function(f,x,e){var r=e(51789),l=e(80401),a=e(57667),c=e(21327),d=e(81866);function v(h){var b=-1,O=h==null?0:h.length;for(this.clear();++b1?v[b-1]:void 0,m=b>2?v[2]:void 0;for(O=c.length>3&&typeof O=="function"?(b--,O):void 0,m&&l(v[0],v[1],m)&&(O=b<3?void 0:O,b=1),d=Object(d);++hN))return!1;var I=s.get(h),B=s.get(b);if(I&&B)return I==b&&B==h;var te=-1,k=!0,_=O&d?new r:void 0;for(s.set(h,b),s.set(b,h);++te-1&&l%1==0&&l-1}f.exports=l},44264:function(f,x,e){var r=e(18470);function l(a,c){var d=this.__data__,v=r(d,a);return v<0?(++this.size,d.push([a,c])):d[v][1]=c,this}f.exports=l},24785:function(f,x,e){var r=e(1989),l=e(38407),a=e(57071);function c(){this.size=0,this.__data__={hash:new r,map:new(a||l),string:new r}}f.exports=c},11285:function(f,x,e){var r=e(45050);function l(a){var c=r(this,a).delete(a);return this.size-=c?1:0,c}f.exports=l},96e3:function(f,x,e){var r=e(45050);function l(a){return r(this,a).get(a)}f.exports=l},49916:function(f,x,e){var r=e(45050);function l(a){return r(this,a).has(a)}f.exports=l},95265:function(f,x,e){var r=e(45050);function l(a,c){var d=r(this,a),v=d.size;return d.set(a,c),this.size+=d.size==v?0:1,this}f.exports=l},68776:function(f){function x(e){var r=-1,l=Array(e.size);return e.forEach(function(a,c){l[++r]=[c,a]}),l}f.exports=x},42634:function(f){function x(e,r){return function(l){return l==null?!1:l[e]===r&&(r!==void 0||e in Object(l))}}f.exports=x},24523:function(f,x,e){var r=e(15644),l=500;function a(c){var d=r(c,function(h){return v.size===l&&v.clear(),h}),v=d.cache;return d}f.exports=a},94536:function(f,x,e){var r=e(10852),l=r(Object,"create");f.exports=l},86916:function(f,x,e){var r=e(5569),l=r(Object.keys,Object);f.exports=l},33498:function(f){function x(e){var r=[];if(e!=null)for(var l in Object(e))r.push(l);return r}f.exports=x},31167:function(f,x,e){f=e.nmd(f);var r=e(31957),l=x&&!x.nodeType&&x,a=l&&!0&&f&&!f.nodeType&&f,c=a&&a.exports===l,d=c&&r.process,v=function(){try{var h=a&&a.require&&a.require("util").types;return h||d&&d.binding&&d.binding("util")}catch(b){}}();f.exports=v},2333:function(f){var x=Object.prototype,e=x.toString;function r(l){return e.call(l)}f.exports=r},5569:function(f){function x(e,r){return function(l){return e(r(l))}}f.exports=x},45357:function(f,x,e){var r=e(96874),l=Math.max;function a(c,d,v){return d=l(d===void 0?c.length-1:d,0),function(){for(var h=arguments,b=-1,O=l(h.length-d,0),m=Array(O);++b0){if(++c>=x)return arguments[0]}else c=0;return a.apply(void 0,arguments)}}f.exports=l},37465:function(f,x,e){var r=e(38407);function l(){this.__data__=new r,this.size=0}f.exports=l},63779:function(f){function x(e){var r=this.__data__,l=r.delete(e);return this.size=r.size,l}f.exports=x},67599:function(f){function x(e){return this.__data__.get(e)}f.exports=x},44758:function(f){function x(e){return this.__data__.has(e)}f.exports=x},34309:function(f,x,e){var r=e(38407),l=e(57071),a=e(83369),c=200;function d(v,h){var b=this.__data__;if(b instanceof r){var O=b.__data__;if(!l||O.length=O||dt<0||k&&Ue>=M}function le(){var Ge=l();if(ee(Ge))return Ce(Ge);F=setTimeout(le,Pe(Ge))}function Ce(Ge){return F=void 0,_&&$?ie(Ge):($=s=void 0,N)}function Ae(){F!==void 0&&clearTimeout(F),B=0,$=I=s=F=void 0}function ye(){return F===void 0?N:Ce(l())}function _e(){var Ge=l(),dt=ee(Ge);if($=arguments,s=this,I=Ge,dt){if(F===void 0)return ne(I);if(k)return clearTimeout(F),F=setTimeout(le,O),ie(I)}return F===void 0&&(F=setTimeout(le,O)),N}return _e.cancel=Ae,_e.flush=ye,_e}f.exports=h},66073:function(f,x,e){f.exports=e(84486)},77813:function(f){function x(e,r){return e===r||e!==e&&r!==r}f.exports=x},84486:function(f,x,e){var r=e(77412),l=e(89881),a=e(54290),c=e(1469);function d(v,h){var b=c(v)?r:l;return b(v,a(h))}f.exports=d},2525:function(f,x,e){var r=e(47816),l=e(54290);function a(c,d){return c&&r(c,l(d))}f.exports=a},27361:function(f,x,e){var r=e(97786);function l(a,c,d){var v=a==null?void 0:r(a,c);return v===void 0?d:v}f.exports=l},79095:function(f,x,e){var r=e(13),l=e(222);function a(c,d){return c!=null&&l(c,d,r)}f.exports=a},6557:function(f){function x(e){return e}f.exports=x},35694:function(f,x,e){var r=e(9454),l=e(37005),a=Object.prototype,c=a.hasOwnProperty,d=a.propertyIsEnumerable,v=r(function(){return arguments}())?r:function(h){return l(h)&&c.call(h,"callee")&&!d.call(h,"callee")};f.exports=v},1469:function(f){var x=Array.isArray;f.exports=x},98612:function(f,x,e){var r=e(23560),l=e(41780);function a(c){return c!=null&&l(c.length)&&!r(c)}f.exports=a},29246:function(f,x,e){var r=e(98612),l=e(37005);function a(c){return l(c)&&r(c)}f.exports=a},44144:function(f,x,e){f=e.nmd(f);var r=e(55639),l=e(95062),a=x&&!x.nodeType&&x,c=a&&!0&&f&&!f.nodeType&&f,d=c&&c.exports===a,v=d?r.Buffer:void 0,h=v?v.isBuffer:void 0,b=h||l;f.exports=b},23560:function(f,x,e){var r=e(44239),l=e(13218),a="[object AsyncFunction]",c="[object Function]",d="[object GeneratorFunction]",v="[object Proxy]";function h(b){if(!l(b))return!1;var O=r(b);return O==c||O==d||O==a||O==v}f.exports=h},41780:function(f){var x=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=x}f.exports=e},56688:function(f,x,e){var r=e(25588),l=e(7518),a=e(31167),c=a&&a.isMap,d=c?l(c):r;f.exports=d},13218:function(f){function x(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}f.exports=x},37005:function(f){function x(e){return e!=null&&typeof e=="object"}f.exports=x},68630:function(f,x,e){var r=e(44239),l=e(85924),a=e(37005),c="[object Object]",d=Function.prototype,v=Object.prototype,h=d.toString,b=v.hasOwnProperty,O=h.call(Object);function m($){if(!a($)||r($)!=c)return!1;var s=l($);if(s===null)return!0;var M=b.call(s,"constructor")&&s.constructor;return typeof M=="function"&&M instanceof M&&h.call(M)==O}f.exports=m},72928:function(f,x,e){var r=e(29221),l=e(7518),a=e(31167),c=a&&a.isSet,d=c?l(c):r;f.exports=d},47037:function(f,x,e){var r=e(44239),l=e(1469),a=e(37005),c="[object String]";function d(v){return typeof v=="string"||!l(v)&&a(v)&&r(v)==c}f.exports=d},33448:function(f,x,e){var r=e(44239),l=e(37005),a="[object Symbol]";function c(d){return typeof d=="symbol"||l(d)&&r(d)==a}f.exports=c},36719:function(f,x,e){var r=e(38749),l=e(7518),a=e(31167),c=a&&a.isTypedArray,d=c?l(c):r;f.exports=d},3674:function(f,x,e){var r=e(14636),l=e(280),a=e(98612);function c(d){return a(d)?r(d):l(d)}f.exports=c},81704:function(f,x,e){var r=e(14636),l=e(35014),a=e(98612);function c(d){return a(d)?r(d,!0):l(d)}f.exports=c},35161:function(f,x,e){var r=e(29932),l=e(67206),a=e(69199),c=e(1469);function d(v,h){var b=c(v)?r:a;return b(v,l(h,3))}f.exports=d},15644:function(f,x,e){var r=e(83369),l="Expected a function";function a(c,d){if(typeof c!="function"||d!=null&&typeof d!="function")throw new TypeError(l);var v=function(){var h=arguments,b=d?d.apply(this,h):h[0],O=v.cache;if(O.has(b))return O.get(b);var m=c.apply(this,h);return v.cache=O.set(b,m)||O,m};return v.cache=new(a.Cache||r),v}a.Cache=r,f.exports=a},82492:function(f,x,e){var r=e(42980),l=e(21463),a=l(function(c,d,v){r(c,d,v)});f.exports=a},7771:function(f,x,e){var r=e(55639),l=function(){return r.Date.now()};f.exports=l},39601:function(f,x,e){var r=e(40371),l=e(79152),a=e(15403),c=e(40327);function d(v){return a(v)?r(c(v)):l(v)}f.exports=d},70479:function(f){function x(){return[]}f.exports=x},95062:function(f){function x(){return!1}f.exports=x},23493:function(f,x,e){var r=e(23279),l=e(13218),a="Expected a function";function c(d,v,h){var b=!0,O=!0;if(typeof d!="function")throw new TypeError(a);return l(h)&&(b="leading"in h?!!h.leading:b,O="trailing"in h?!!h.trailing:O),r(d,v,{leading:b,maxWait:v,trailing:O})}f.exports=c},14841:function(f,x,e){var r=e(27561),l=e(13218),a=e(33448),c=0/0,d=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,h=/^0o[0-7]+$/i,b=parseInt;function O(m){if(typeof m=="number")return m;if(a(m))return c;if(l(m)){var $=typeof m.valueOf=="function"?m.valueOf():m;m=l($)?$+"":$}if(typeof m!="string")return m===0?m:+m;m=r(m);var s=v.test(m);return s||h.test(m)?b(m.slice(2),s?2:8):d.test(m)?c:+m}f.exports=O},59881:function(f,x,e){var r=e(98363),l=e(81704);function a(c){return r(c,l(c))}f.exports=a},79833:function(f,x,e){var r=e(80531);function l(a){return a==null?"":r(a)}f.exports=l},45598:function(f,x,e){"use strict";var r,l=e(64836).default;r={value:!0},x.Z=d;var a=l(e(67294)),c=e(59864);function d(v){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=[];return a.default.Children.forEach(v,function(O){O==null&&!h.keepEmpty||(Array.isArray(O)?b=b.concat(d(O)):(0,c.isFragment)(O)&&O.props?b=b.concat(d(O.props.children,h)):b.push(O))}),b}},94787:function(f,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.default=e;function e(r,l){for(var a=r,c=0;c3&&arguments[3]!==void 0?arguments[3]:!1;return m.length&&s&&$===void 0&&!(0,v.default)(O,m.slice(0,-1))?O:h(O,m,$,s)}},24754:function(f,x,e){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.autoprefix=void 0;var r=e(2525),l=c(r),a=Object.assign||function(h){for(var b=1;b1&&arguments[1]!==void 0?arguments[1]:"span";return function(s){h(M,s);function M(){var N,F,I,B;d(this,M);for(var te=arguments.length,k=Array(te),_=0;_1&&arguments[1]!==void 0?arguments[1]:"span";return function(s){h(M,s);function M(){var N,F,I,B;d(this,M);for(var te=arguments.length,k=Array(te),_=0;_0&&arguments[0]!==void 0?arguments[0]:[],M=[];return(0,b.default)(s,function(N){Array.isArray(N)?$(N).map(function(F){return M.push(F)}):(0,v.default)(N)?(0,c.default)(N,function(F,I){F===!0&&M.push(I),M.push(I+"-"+F)}):(0,l.default)(N)&&M.push(N)}),M};x.default=m},79941:function(f,x,e){"use strict";var r;r={value:!0},r=r=r=r=r=void 0;var l=e(14147),a=N(l),c=e(18556),d=N(c),v=e(24754),h=N(v),b=e(91765),O=N(b),m=e(36002),$=N(m),s=e(57742),M=N(s);function N(I){return I&&I.__esModule?I:{default:I}}r=O.default,r=O.default,r=$.default,r=M.default;var F=r=function(B){for(var te=arguments.length,k=Array(te>1?te-1:0),_=1;_1&&arguments[1]!==void 0?arguments[1]:!0;c[h]=b};return l===0&&d("first-child"),l===a-1&&d("last-child"),(l===0||l%2===0)&&d("even"),Math.abs(l%2)===1&&d("odd"),d("nth-child",l),c};x.default=e},18556:function(f,x,e){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.mergeClasses=void 0;var r=e(2525),l=v(r),a=e(50361),c=v(a),d=Object.assign||function(b){for(var O=1;O1&&arguments[1]!==void 0?arguments[1]:[],$=O.default&&(0,c.default)(O.default)||{};return m.map(function(s){var M=O[s];return M&&(0,l.default)(M,function(N,F){$[F]||($[F]={}),$[F]=d({},$[F],M[F])}),s}),$};x.default=h},17621:function(f,x,e){var r;(function(l){var a=/^\s+/,c=/\s+$/,d=0,v=l.round,h=l.min,b=l.max,O=l.random;function m(C,g){if(C=C||"",g=g||{},C instanceof m)return C;if(!(this instanceof m))return new m(C,g);var y=$(C);this._originalInput=C,this._r=y.r,this._g=y.g,this._b=y.b,this._a=y.a,this._roundA=v(100*this._a)/100,this._format=g.format||y.format,this._gradientType=g.gradientType,this._r<1&&(this._r=v(this._r)),this._g<1&&(this._g=v(this._g)),this._b<1&&(this._b=v(this._b)),this._ok=y.ok,this._tc_id=d++}m.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 C=this.toRgb();return(C.r*299+C.g*587+C.b*114)/1e3},getLuminance:function(){var C=this.toRgb(),g,y,w,j,H,U;return g=C.r/255,y=C.g/255,w=C.b/255,g<=.03928?j=g/12.92:j=l.pow((g+.055)/1.055,2.4),y<=.03928?H=y/12.92:H=l.pow((y+.055)/1.055,2.4),w<=.03928?U=w/12.92:U=l.pow((w+.055)/1.055,2.4),.2126*j+.7152*H+.0722*U},setAlpha:function(C){return this._a=bt(C),this._roundA=v(100*this._a)/100,this},toHsv:function(){var C=F(this._r,this._g,this._b);return{h:C.h*360,s:C.s,v:C.v,a:this._a}},toHsvString:function(){var C=F(this._r,this._g,this._b),g=v(C.h*360),y=v(C.s*100),w=v(C.v*100);return this._a==1?"hsv("+g+", "+y+"%, "+w+"%)":"hsva("+g+", "+y+"%, "+w+"%, "+this._roundA+")"},toHsl:function(){var C=M(this._r,this._g,this._b);return{h:C.h*360,s:C.s,l:C.l,a:this._a}},toHslString:function(){var C=M(this._r,this._g,this._b),g=v(C.h*360),y=v(C.s*100),w=v(C.l*100);return this._a==1?"hsl("+g+", "+y+"%, "+w+"%)":"hsla("+g+", "+y+"%, "+w+"%, "+this._roundA+")"},toHex:function(C){return B(this._r,this._g,this._b,C)},toHexString:function(C){return"#"+this.toHex(C)},toHex8:function(C){return te(this._r,this._g,this._b,this._a,C)},toHex8String:function(C){return"#"+this.toHex8(C)},toRgb:function(){return{r:v(this._r),g:v(this._g),b:v(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+v(this._r)+", "+v(this._g)+", "+v(this._b)+")":"rgba("+v(this._r)+", "+v(this._g)+", "+v(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:v(J(this._r,255)*100)+"%",g:v(J(this._g,255)*100)+"%",b:v(J(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+v(J(this._r,255)*100)+"%, "+v(J(this._g,255)*100)+"%, "+v(J(this._b,255)*100)+"%)":"rgba("+v(J(this._r,255)*100)+"%, "+v(J(this._g,255)*100)+"%, "+v(J(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Vt[B(this._r,this._g,this._b,!0)]||!1},toFilter:function(C){var g="#"+k(this._r,this._g,this._b,this._a),y=g,w=this._gradientType?"GradientType = 1, ":"";if(C){var j=m(C);y="#"+k(j._r,j._g,j._b,j._a)}return"progid:DXImageTransform.Microsoft.gradient("+w+"startColorstr="+g+",endColorstr="+y+")"},toString:function(C){var g=!!C;C=C||this._format;var y=!1,w=this._a<1&&this._a>=0,j=!g&&w&&(C==="hex"||C==="hex6"||C==="hex3"||C==="hex4"||C==="hex8"||C==="name");return j?C==="name"&&this._a===0?this.toName():this.toRgbString():(C==="rgb"&&(y=this.toRgbString()),C==="prgb"&&(y=this.toPercentageRgbString()),(C==="hex"||C==="hex6")&&(y=this.toHexString()),C==="hex3"&&(y=this.toHexString(!0)),C==="hex4"&&(y=this.toHex8String(!0)),C==="hex8"&&(y=this.toHex8String()),C==="name"&&(y=this.toName()),C==="hsl"&&(y=this.toHslString()),C==="hsv"&&(y=this.toHsvString()),y||this.toHexString())},clone:function(){return m(this.toString())},_applyModification:function(C,g){var y=C.apply(null,[this].concat([].slice.call(g)));return this._r=y._r,this._g=y._g,this._b=y._b,this.setAlpha(y._a),this},lighten:function(){return this._applyModification(Pe,arguments)},brighten:function(){return this._applyModification(ee,arguments)},darken:function(){return this._applyModification(le,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(ie,arguments)},greyscale:function(){return this._applyModification(ne,arguments)},spin:function(){return this._applyModification(Ce,arguments)},_applyCombination:function(C,g){return C.apply(null,[this].concat([].slice.call(g)))},analogous:function(){return this._applyCombination(dt,arguments)},complement:function(){return this._applyCombination(Ae,arguments)},monochromatic:function(){return this._applyCombination(Ue,arguments)},splitcomplement:function(){return this._applyCombination(Ge,arguments)},triad:function(){return this._applyCombination(ye,arguments)},tetrad:function(){return this._applyCombination(_e,arguments)}},m.fromRatio=function(C,g){if(typeof C=="object"){var y={};for(var w in C)C.hasOwnProperty(w)&&(w==="a"?y[w]=C[w]:y[w]=Qe(C[w]));C=y}return m(C,g)};function $(C){var g={r:0,g:0,b:0},y=1,w=null,j=null,H=null,U=!1,q=!1;return typeof C=="string"&&(C=he(C)),typeof C=="object"&&(nt(C.r)&&nt(C.g)&&nt(C.b)?(g=s(C.r,C.g,C.b),U=!0,q=String(C.r).substr(-1)==="%"?"prgb":"rgb"):nt(C.h)&&nt(C.s)&&nt(C.v)?(w=Qe(C.s),j=Qe(C.v),g=I(C.h,w,j),U=!0,q="hsv"):nt(C.h)&&nt(C.s)&&nt(C.l)&&(w=Qe(C.s),H=Qe(C.l),g=N(C.h,w,H),U=!0,q="hsl"),C.hasOwnProperty("a")&&(y=C.a)),y=bt(y),{ok:U,format:C.format||q,r:h(255,b(g.r,0)),g:h(255,b(g.g,0)),b:h(255,b(g.b,0)),a:y}}function s(C,g,y){return{r:J(C,255)*255,g:J(g,255)*255,b:J(y,255)*255}}function M(C,g,y){C=J(C,255),g=J(g,255),y=J(y,255);var w=b(C,g,y),j=h(C,g,y),H,U,q=(w+j)/2;if(w==j)H=U=0;else{var de=w-j;switch(U=q>.5?de/(2-w-j):de/(w+j),w){case C:H=(g-y)/de+(g1&&(Ie-=1),Ie<1/6?Me+(pe-Me)*6*Ie:Ie<1/2?pe:Ie<2/3?Me+(pe-Me)*(2/3-Ie)*6:Me}if(g===0)w=j=H=y;else{var q=y<.5?y*(1+g):y+g-y*g,de=2*y-q;w=U(de,q,C+1/3),j=U(de,q,C),H=U(de,q,C-1/3)}return{r:w*255,g:j*255,b:H*255}}function F(C,g,y){C=J(C,255),g=J(g,255),y=J(y,255);var w=b(C,g,y),j=h(C,g,y),H,U,q=w,de=w-j;if(U=w===0?0:de/w,w==j)H=0;else{switch(w){case C:H=(g-y)/de+(g>1)+720)%360;--g;)w.h=(w.h+j)%360,H.push(m(w));return H}function Ue(C,g){g=g||6;for(var y=m(C).toHsv(),w=y.h,j=y.s,H=y.v,U=[],q=1/g;g--;)U.push(m({h:w,s:j,v:H})),H=(H+q)%1;return U}m.mix=function(C,g,y){y=y===0?0:y||50;var w=m(C).toRgb(),j=m(g).toRgb(),H=y/100,U={r:(j.r-w.r)*H+w.r,g:(j.g-w.g)*H+w.g,b:(j.b-w.b)*H+w.b,a:(j.a-w.a)*H+w.a};return m(U)},m.readability=function(C,g){var y=m(C),w=m(g);return(l.max(y.getLuminance(),w.getLuminance())+.05)/(l.min(y.getLuminance(),w.getLuminance())+.05)},m.isReadable=function(C,g,y){var w=m.readability(C,g),j,H;switch(H=!1,j=Xe(y),j.level+j.size){case"AAsmall":case"AAAlarge":H=w>=4.5;break;case"AAlarge":H=w>=3;break;case"AAAsmall":H=w>=7;break}return H},m.mostReadable=function(C,g,y){var w=null,j=0,H,U,q,de;y=y||{},U=y.includeFallbackColors,q=y.level,de=y.size;for(var Me=0;Mej&&(j=H,w=m(g[Me]));return m.isReadable(C,w,{level:q,size:de})||!U?w:(y.includeFallbackColors=!1,m.mostReadable(C,["#fff","#000"],y))};var lt=m.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"},Vt=m.hexNames=Bt(lt);function Bt(C){var g={};for(var y in C)C.hasOwnProperty(y)&&(g[C[y]]=y);return g}function bt(C){return C=parseFloat(C),(isNaN(C)||C<0||C>1)&&(C=1),C}function J(C,g){ce(C)&&(C="100%");var y=ft(C);return C=h(g,b(0,parseFloat(C))),y&&(C=parseInt(C*g,10)/100),l.abs(C-g)<1e-6?1:C%g/parseFloat(g)}function be(C){return h(1,b(0,C))}function Re(C){return parseInt(C,16)}function ce(C){return typeof C=="string"&&C.indexOf(".")!=-1&&parseFloat(C)===1}function ft(C){return typeof C=="string"&&C.indexOf("%")!=-1}function Ze(C){return C.length==1?"0"+C:""+C}function Qe(C){return C<=1&&(C=C*100+"%"),C}function vt(C){return l.round(parseFloat(C)*255).toString(16)}function gt(C){return Re(C)/255}var Te=function(){var C="[-\\+]?\\d+%?",g="[-\\+]?\\d*\\.\\d+%?",y="(?:"+g+")|(?:"+C+")",w="[\\s|\\(]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")\\s*\\)?",j="[\\s|\\(]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")\\s*\\)?";return{CSS_UNIT:new RegExp(y),rgb:new RegExp("rgb"+w),rgba:new RegExp("rgba"+j),hsl:new RegExp("hsl"+w),hsla:new RegExp("hsla"+j),hsv:new RegExp("hsv"+w),hsva:new RegExp("hsva"+j),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 nt(C){return!!Te.CSS_UNIT.exec(C)}function he(C){C=C.replace(a,"").replace(c,"").toLowerCase();var g=!1;if(lt[C])C=lt[C],g=!0;else if(C=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var y;return(y=Te.rgb.exec(C))?{r:y[1],g:y[2],b:y[3]}:(y=Te.rgba.exec(C))?{r:y[1],g:y[2],b:y[3],a:y[4]}:(y=Te.hsl.exec(C))?{h:y[1],s:y[2],l:y[3]}:(y=Te.hsla.exec(C))?{h:y[1],s:y[2],l:y[3],a:y[4]}:(y=Te.hsv.exec(C))?{h:y[1],s:y[2],v:y[3]}:(y=Te.hsva.exec(C))?{h:y[1],s:y[2],v:y[3],a:y[4]}:(y=Te.hex8.exec(C))?{r:Re(y[1]),g:Re(y[2]),b:Re(y[3]),a:gt(y[4]),format:g?"name":"hex8"}:(y=Te.hex6.exec(C))?{r:Re(y[1]),g:Re(y[2]),b:Re(y[3]),format:g?"name":"hex"}:(y=Te.hex4.exec(C))?{r:Re(y[1]+""+y[1]),g:Re(y[2]+""+y[2]),b:Re(y[3]+""+y[3]),a:gt(y[4]+""+y[4]),format:g?"name":"hex8"}:(y=Te.hex3.exec(C))?{r:Re(y[1]+""+y[1]),g:Re(y[2]+""+y[2]),b:Re(y[3]+""+y[3]),format:g?"name":"hex"}:!1}function Xe(C){var g,y;return C=C||{level:"AA",size:"small"},g=(C.level||"AA").toUpperCase(),y=(C.size||"small").toLowerCase(),g!=="AA"&&g!=="AAA"&&(g="AA"),y!=="small"&&y!=="large"&&(y="small"),{level:g,size:y}}f.exports?f.exports=m:(r=function(){return m}.call(x,e,x,f),r!==void 0&&(f.exports=r))})(Math)},30939:function(f,x,e){"use strict";e.d(x,{P:function(){return c}});var r=e(67294);function l(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(m){return typeof m}:l=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},l(O)}var a=function(){var m=new WeakSet;return function($,s){if(l(s)==="object"&&s!==null){if(m.has(s))return;m.add(s)}return s}},c=function(m){return JSON.stringify(m,a())},d=function(m,$){try{return c(m)===c($)}catch(s){}return!1};function v(O){var m=useRef("");return d(O,m.current)||(m.current=JSON.stringify(O,a())),m.current}function h(O,m){useEffect(O,[v(m)])}var b=null},63405:function(f,x,e){var r=e(73897);function l(a){if(Array.isArray(a))return r(a)}f.exports=l,f.exports.__esModule=!0,f.exports.default=f.exports},79498:function(f){function x(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}f.exports=x,f.exports.__esModule=!0,f.exports.default=f.exports},42281:function(f){function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}f.exports=x,f.exports.__esModule=!0,f.exports.default=f.exports},51589:function(f,x,e){var r=e(85372),l=e(79498),a=e(86116),c=e(12218);function d(v){return r(v)||l(v)||a(v)||c()}f.exports=d,f.exports.__esModule=!0,f.exports.default=f.exports},861:function(f,x,e){var r=e(63405),l=e(79498),a=e(86116),c=e(42281);function d(v){return r(v)||l(v)||a(v)||c()}f.exports=d,f.exports.__esModule=!0,f.exports.default=f.exports}}]); diff --git a/statics/171.60450d6b.async.js b/statics/171.60450d6b.async.js new file mode 100644 index 00000000..d4a239b6 --- /dev/null +++ b/statics/171.60450d6b.async.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[171],{71194:function(ce,A,l){l.d(A,{B4:function(){return V},QA:function(){return C},eh:function(){return X}});var i=l(54548),N=l(14747),K=l(16932),n=l(50438),W=l(45503),d=l(91945);function D(e){return{position:e,inset:0}}const C=e=>{const{componentCls:a,antCls:O}=e;return[{[`${a}-root`]:{[`${a}${O}-zoom-enter, ${a}${O}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${a}${O}-zoom-leave ${a}-content`]:{pointerEvents:"none"},[`${a}-mask`]:Object.assign(Object.assign({},D("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${a}-hidden`]:{display:"none"}}),[`${a}-wrap`]:Object.assign(Object.assign({},D("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${a}-root`]:(0,K.J$)(e)}]},M=e=>{const{componentCls:a}=e;return[{[`${a}-root`]:{[`${a}-wrap-rtl`]:{direction:"rtl"},[`${a}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[a]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[a]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,i.bf)(e.marginXS)} auto`},[`${a}-centered`]:{[a]:{flex:1}}}}},{[a]:Object.assign(Object.assign({},(0,N.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,i.bf)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${a}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${a}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${a}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,i.bf)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,N.Qy)(e)),[`${a}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,i.bf)(e.borderRadiusLG)} ${(0,i.bf)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${a}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${a}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${a}-open`]:{overflow:"hidden"}})},{[`${a}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${a}-content, + ${a}-body, + ${a}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${a}-confirm-body`]:{marginBottom:"auto"}}}]},w=e=>{const{componentCls:a}=e;return{[`${a}-root`]:{[`${a}-wrap-rtl`]:{direction:"rtl",[`${a}-confirm-body`]:{direction:"rtl"}}}}},V=e=>{const a=e.padding,O=e.fontSizeHeading5,q=e.lineHeightHeading5;return(0,W.TS)(e,{modalHeaderHeight:e.calc(e.calc(q).mul(O).equal()).add(e.calc(a).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},X=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,i.bf)(e.paddingMD)} ${(0,i.bf)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,i.bf)(e.padding)} ${(0,i.bf)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,i.bf)(e.paddingXS)} ${(0,i.bf)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,i.bf)(e.borderRadiusLG)} ${(0,i.bf)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,i.bf)(e.padding*2)} ${(0,i.bf)(e.padding*2)} ${(0,i.bf)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});A.ZP=(0,d.I$)("Modal",e=>{const a=V(e);return[M(a),w(a),C(a),(0,n._y)(a,"zoom")]},X,{unitless:{titleLineHeight:!0}})},16932:function(ce,A,l){l.d(A,{J$:function(){return W}});var i=l(54548),N=l(93590);const K=new i.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),n=new i.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),W=function(d){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:C}=d,M=`${C}-fade`,w=D?"&":"";return[(0,N.R)(M,K,n,d.motionDurationMid,D),{[` + ${w}${M}-enter, + ${w}${M}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${w}${M}-leave`]:{animationTimingFunction:"linear"}}]}},40974:function(ce,A,l){l.d(A,{s:function(){return me},Z:function(){return Me}});var i=l(87462),N=l(97685),K=l(2788),n=l(67294),W=n.createContext({}),d=l(1413),D=l(93967),C=l.n(D),M=l(94999),w=l(7028),V=l(15105),X=l(64217);function e(t,r,o){var s=r;return!s&&o&&(s="".concat(t,"-").concat(o)),s}function a(t,r){var o=t["page".concat(r?"Y":"X","Offset")],s="scroll".concat(r?"Top":"Left");if(typeof o!="number"){var c=t.document;o=c.documentElement[s],typeof o!="number"&&(o=c.body[s])}return o}function O(t){var r=t.getBoundingClientRect(),o={left:r.left,top:r.top},s=t.ownerDocument,c=s.defaultView||s.parentWindow;return o.left+=a(c),o.top+=a(c,!0),o}var q=l(82225),fe=l(71002),ye=l(42550),be=n.memo(function(t){var r=t.children;return r},function(t,r){var o=r.shouldUpdate;return!o}),ue={width:0,height:0,overflow:"hidden",outline:"none"},he={outline:"none"},$e=n.forwardRef(function(t,r){var o=t.prefixCls,s=t.className,c=t.style,f=t.title,b=t.ariaId,y=t.footer,m=t.closable,h=t.closeIcon,S=t.onClose,P=t.children,E=t.bodyStyle,R=t.bodyProps,B=t.modalRender,p=t.onMouseDown,U=t.onMouseUp,J=t.holderRef,Z=t.visible,j=t.forceRender,$=t.width,z=t.height,v=t.classNames,g=t.styles,k=n.useContext(W),ae=k.panel,oe=(0,ye.x1)(J,ae),Q=(0,n.useRef)(),Y=(0,n.useRef)(),I=(0,n.useRef)();n.useImperativeHandle(r,function(){return{focus:function(){var T;(T=I.current)===null||T===void 0||T.focus()},changeActive:function(T){var re=document,te=re.activeElement;T&&te===Y.current?Q.current.focus():!T&&te===Q.current&&Y.current.focus()}}});var x={};$!==void 0&&(x.width=$),z!==void 0&&(x.height=z);var H;y&&(H=n.createElement("div",{className:C()("".concat(o,"-footer"),v==null?void 0:v.footer),style:(0,d.Z)({},g==null?void 0:g.footer)},y));var L;f&&(L=n.createElement("div",{className:C()("".concat(o,"-header"),v==null?void 0:v.header),style:(0,d.Z)({},g==null?void 0:g.header)},n.createElement("div",{className:"".concat(o,"-title"),id:b},f)));var F=(0,n.useMemo)(function(){return(0,fe.Z)(m)==="object"&&m!==null?m:m?{closeIcon:h!=null?h:n.createElement("span",{className:"".concat(o,"-close-x")})}:{}},[m,h]),ie=(0,X.Z)(F,!0),_;m&&(_=n.createElement("button",(0,i.Z)({type:"button",onClick:S,"aria-label":"Close"},ie,{className:"".concat(o,"-close")}),F.closeIcon));var G=n.createElement("div",{className:C()("".concat(o,"-content"),v==null?void 0:v.content),style:g==null?void 0:g.content},_,L,n.createElement("div",(0,i.Z)({className:C()("".concat(o,"-body"),v==null?void 0:v.body),style:(0,d.Z)((0,d.Z)({},E),g==null?void 0:g.body)},R),P),H);return n.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":f?b:null,"aria-modal":"true",ref:oe,style:(0,d.Z)((0,d.Z)({},c),x),className:C()(o,s),onMouseDown:p,onMouseUp:U},n.createElement("div",{tabIndex:0,ref:Q,style:ue,"aria-hidden":"true"}),n.createElement("div",{ref:I,tabIndex:-1,style:he},n.createElement(be,{shouldUpdate:Z||j},B?B(G):G)),n.createElement("div",{tabIndex:0,ref:Y,style:ue,"aria-hidden":"true"}))}),me=$e,ve=n.forwardRef(function(t,r){var o=t.prefixCls,s=t.title,c=t.style,f=t.className,b=t.visible,y=t.forceRender,m=t.destroyOnClose,h=t.motionName,S=t.ariaId,P=t.onVisibleChanged,E=t.mousePosition,R=(0,n.useRef)(),B=n.useState(),p=(0,N.Z)(B,2),U=p[0],J=p[1],Z={};U&&(Z.transformOrigin=U);function j(){var $=O(R.current);J(E?"".concat(E.x-$.left,"px ").concat(E.y-$.top,"px"):"")}return n.createElement(q.ZP,{visible:b,onVisibleChanged:P,onAppearPrepare:j,onEnterPrepare:j,forceRender:y,motionName:h,removeOnLeave:m,ref:R},function($,z){var v=$.className,g=$.style;return n.createElement(me,(0,i.Z)({},t,{ref:r,title:s,ariaId:S,prefixCls:o,holderRef:z,style:(0,d.Z)((0,d.Z)((0,d.Z)({},g),c),Z),className:C()(f,v)}))})});ve.displayName="Content";var Se=ve;function Ee(t){var r=t.prefixCls,o=t.style,s=t.visible,c=t.maskProps,f=t.motionName,b=t.className;return n.createElement(q.ZP,{key:"mask",visible:s,motionName:f,leavedClassName:"".concat(r,"-mask-hidden")},function(y,m){var h=y.className,S=y.style;return n.createElement("div",(0,i.Z)({ref:m,style:(0,d.Z)((0,d.Z)({},S),o),className:C()("".concat(r,"-mask"),h,b)},c))})}var pe=l(80334);function Re(t){var r=t.prefixCls,o=r===void 0?"rc-dialog":r,s=t.zIndex,c=t.visible,f=c===void 0?!1:c,b=t.keyboard,y=b===void 0?!0:b,m=t.focusTriggerAfterClose,h=m===void 0?!0:m,S=t.wrapStyle,P=t.wrapClassName,E=t.wrapProps,R=t.onClose,B=t.afterOpenChange,p=t.afterClose,U=t.transitionName,J=t.animation,Z=t.closable,j=Z===void 0?!0:Z,$=t.mask,z=$===void 0?!0:$,v=t.maskTransitionName,g=t.maskAnimation,k=t.maskClosable,ae=k===void 0?!0:k,oe=t.maskStyle,Q=t.maskProps,Y=t.rootClassName,I=t.classNames,x=t.styles,H=(0,n.useRef)(),L=(0,n.useRef)(),F=(0,n.useRef)(),ie=n.useState(f),_=(0,N.Z)(ie,2),G=_[0],ee=_[1],T=(0,w.Z)();function re(){(0,M.Z)(L.current,document.activeElement)||(H.current=document.activeElement)}function te(){if(!(0,M.Z)(L.current,document.activeElement)){var u;(u=F.current)===null||u===void 0||u.focus()}}function Pe(u){if(u)te();else{if(ee(!1),z&&H.current&&h){try{H.current.focus({preventScroll:!0})}catch(se){}H.current=null}G&&(p==null||p())}B==null||B(u)}function le(u){R==null||R(u)}var ne=(0,n.useRef)(!1),de=(0,n.useRef)(),Be=function(){clearTimeout(de.current),ne.current=!0},Ie=function(){de.current=setTimeout(function(){ne.current=!1})},Ce=null;ae&&(Ce=function(se){ne.current?ne.current=!1:L.current===se.target&&le(se)});function Ne(u){if(y&&u.keyCode===V.Z.ESC){u.stopPropagation(),le(u);return}f&&u.keyCode===V.Z.TAB&&F.current.changeActive(!u.shiftKey)}return(0,n.useEffect)(function(){f&&(ee(!0),re())},[f]),(0,n.useEffect)(function(){return function(){clearTimeout(de.current)}},[]),n.createElement("div",(0,i.Z)({className:C()("".concat(o,"-root"),Y)},(0,X.Z)(t,{data:!0})),n.createElement(Ee,{prefixCls:o,visible:z&&f,motionName:e(o,v,g),style:(0,d.Z)((0,d.Z)({zIndex:s},oe),x==null?void 0:x.mask),maskProps:Q,className:I==null?void 0:I.mask}),n.createElement("div",(0,i.Z)({tabIndex:-1,onKeyDown:Ne,className:C()("".concat(o,"-wrap"),P,I==null?void 0:I.wrapper),ref:L,onClick:Ce,style:(0,d.Z)((0,d.Z)((0,d.Z)({zIndex:s},S),x==null?void 0:x.wrapper),{},{display:G?null:"none"})},E),n.createElement(Se,(0,i.Z)({},t,{onMouseDown:Be,onMouseUp:Ie,ref:F,closable:j,ariaId:T,prefixCls:o,visible:f&&G,onClose:le,onVisibleChanged:Pe,motionName:e(o,U,J)}))))}var ge=function(r){var o=r.visible,s=r.getContainer,c=r.forceRender,f=r.destroyOnClose,b=f===void 0?!1:f,y=r.afterClose,m=r.panelRef,h=n.useState(o),S=(0,N.Z)(h,2),P=S[0],E=S[1],R=n.useMemo(function(){return{panel:m}},[m]);return n.useEffect(function(){o&&E(!0)},[o]),!c&&b&&!P?null:n.createElement(W.Provider,{value:R},n.createElement(K.Z,{open:o||c||P,autoDestroy:!1,getContainer:s,autoLock:o||P},n.createElement(Re,(0,i.Z)({},r,{destroyOnClose:b,afterClose:function(){y==null||y(),E(!1)}}))))};ge.displayName="Dialog";var xe=ge,Me=xe}}]); diff --git a/statics/2051.9aa837fe.async.js b/statics/2051.9aa837fe.async.js new file mode 100644 index 00000000..b77f0c83 --- /dev/null +++ b/statics/2051.9aa837fe.async.js @@ -0,0 +1,83 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2051],{49867:function(Sn,It,y){y.d(It,{N:function(){return o}});const o=Oe=>({color:Oe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Oe.motionDurationSlow}`,"&:focus, &:hover":{color:Oe.colorLinkHover},"&:active":{color:Oe.colorLinkActive}})},84164:function(Sn,It,y){y.d(It,{Z:function(){return Oe}});var o=y(67294);function Oe(ee,ie,Ve){const Ie=o.useRef({});function lt(at){if(!Ie.current||Ie.current.data!==ee||Ie.current.childrenColumnName!==ie||Ie.current.getRowKey!==Ve){let Pe=function(we){we.forEach((it,Yt)=>{const Kt=Ve(it,Yt);pt.set(Kt,it),it&&typeof it=="object"&&ie in it&&Pe(it[ie]||[])})};const pt=new Map;Pe(ee),Ie.current={data:ee,childrenColumnName:ie,kvMap:pt,getRowKey:Ve}}return Ie.current.kvMap.get(at)}return[lt]}},72051:function(Sn,It,y){y.d(It,{Z:function(){return oi}});var o=y(67294),Oe={},ee="rc-table-internal-hook",ie=y(97685),Ve=y(66680),Ie=y(8410),lt=y(91881),at=y(73935);function pt(e){var t=o.createContext(void 0),n=function(l){var a=l.value,c=l.children,i=o.useRef(a);i.current=a;var s=o.useState(function(){return{getValue:function(){return i.current},listeners:new Set}}),d=(0,ie.Z)(s,1),p=d[0];return(0,Ie.Z)(function(){(0,at.unstable_batchedUpdates)(function(){p.listeners.forEach(function(u){u(a)})})},[a]),o.createElement(t.Provider,{value:p},c)};return{Context:t,Provider:n,defaultValue:e}}function Pe(e,t){var n=(0,Ve.Z)(typeof t=="function"?t:function(u){if(t===void 0)return u;if(!Array.isArray(t))return u[t];var f={};return t.forEach(function(m){f[m]=u[m]}),f}),r=o.useContext(e==null?void 0:e.Context),l=r||{},a=l.listeners,c=l.getValue,i=o.useRef();i.current=n(r?c():e==null?void 0:e.defaultValue);var s=o.useState({}),d=(0,ie.Z)(s,2),p=d[1];return(0,Ie.Z)(function(){if(!r)return;function u(f){var m=n(f);(0,lt.Z)(i.current,m,!0)||p({})}return a.add(u),function(){a.delete(u)}},[r]),i.current}var we=y(87462),it=y(42550);function Yt(){var e=o.createContext(null);function t(){return o.useContext(e)}function n(l,a){var c=(0,it.Yr)(l),i=function(d,p){var u=c?{ref:p}:{},f=o.useRef(0),m=o.useRef(d),v=t();return v!==null?o.createElement(l,(0,we.Z)({},d,u)):((!a||a(m.current,d))&&(f.current+=1),m.current=d,o.createElement(e.Provider,{value:f.current},o.createElement(l,(0,we.Z)({},d,u))))};return c?o.forwardRef(i):i}function r(l,a){var c=(0,it.Yr)(l),i=function(d,p){var u=c?{ref:p}:{};return t(),o.createElement(l,(0,we.Z)({},d,u))};return c?o.memo(o.forwardRef(i),a):o.memo(i,a)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Kt=Yt(),yr=Kt.makeImmutable,br=Kt.responseImmutable,Cr=Kt.useImmutableMark,Jt=Yt(),wn=Jt.makeImmutable,yt=Jt.responseImmutable,En=Jt.useImmutableMark,Wn=pt(),Ye=Wn;function Sr(e,t){var n=React.useRef(0);n.current+=1;var r=React.useRef(e),l=[];Object.keys(e||{}).map(function(c){var i;(e==null?void 0:e[c])!==((i=r.current)===null||i===void 0?void 0:i[c])&&l.push(c)}),r.current=e;var a=React.useRef([]);return l.length&&(a.current=l),React.useDebugValue(n.current),React.useDebugValue(a.current.join(", ")),t&&console.log("".concat(t,":"),n.current,a.current),n.current}var wr=null,Er=null,Tt=y(71002),M=y(1413),te=y(4942),Rn=y(93967),oe=y.n(Rn),$n=y(56982),In=y(88306),Vn=y(80334),Tn=o.createContext({renderWithProps:!1}),Qt=Tn,kn="RC_TABLE_KEY";function fn(e){return e==null?[]:Array.isArray(e)?e:[e]}function qt(e){var t=[],n={};return e.forEach(function(r){for(var l=r||{},a=l.key,c=l.dataIndex,i=a||fn(c).join("-")||kn;n[i];)i="".concat(i,"_next");n[i]=!0,t.push(i)}),t}function zt(e){return e!=null}function On(e){return e&&(0,Tt.Z)(e)==="object"&&!Array.isArray(e)&&!o.isValidElement(e)}function Xn(e,t,n,r,l,a){var c=o.useContext(Qt),i=En(),s=(0,$n.Z)(function(){if(zt(r))return[r];var d=t==null||t===""?[]:Array.isArray(t)?t:[t],p=(0,In.Z)(e,d),u=p,f=void 0;if(l){var m=l(p,e,n);On(m)?(u=m.children,f=m.props,c.renderWithProps=!0):u=m}return[u,f]},[i,e,r,t,l,n],function(d,p){if(a){var u=(0,ie.Z)(d,2),f=u[1],m=(0,ie.Z)(p,2),v=m[1];return a(v,f)}return c.renderWithProps?!0:!(0,lt.Z)(d,p,!0)});return s}function Nn(e,t,n,r){var l=e+t-1;return e<=r&&l>=n}function Un(e,t){return Pe(Ye,function(n){var r=Nn(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var _t=y(56790),Gn=function(t){var n=t.ellipsis,r=t.rowType,l=t.children,a,c=n===!0?{showTitle:!0}:n;return c&&(c.showTitle||r==="header")&&(typeof l=="string"||typeof l=="number"?a=l.toString():o.isValidElement(l)&&typeof l.props.children=="string"&&(a=l.props.children)),a};function mn(e){var t,n,r,l,a,c,i,s,d=e.component,p=e.children,u=e.ellipsis,f=e.scope,m=e.prefixCls,v=e.className,h=e.align,g=e.record,C=e.render,b=e.dataIndex,x=e.renderIndex,w=e.shouldCellUpdate,S=e.index,B=e.rowType,$=e.colSpan,z=e.rowSpan,O=e.fixLeft,L=e.fixRight,W=e.firstFixLeft,Z=e.lastFixLeft,N=e.firstFixRight,I=e.lastFixRight,A=e.appendNode,H=e.additionalProps,E=H===void 0?{}:H,T=e.isSticky,R="".concat(m,"-cell"),F=Pe(Ye,["supportSticky","allColumnsFixedLeft","rowHoverable"]),U=F.supportSticky,ye=F.allColumnsFixedLeft,ue=F.rowHoverable,Re=Xn(g,b,x,p,C,w),Ce=(0,ie.Z)(Re,2),Be=Ce[0],ae=Ce[1],pe={},ne=typeof O=="number"&&U,Me=typeof L=="number"&&U;ne&&(pe.position="sticky",pe.left=O),Me&&(pe.position="sticky",pe.right=L);var D=(t=(n=(r=ae==null?void 0:ae.colSpan)!==null&&r!==void 0?r:E.colSpan)!==null&&n!==void 0?n:$)!==null&&t!==void 0?t:1,G=(l=(a=(c=ae==null?void 0:ae.rowSpan)!==null&&c!==void 0?c:E.rowSpan)!==null&&a!==void 0?a:z)!==null&&l!==void 0?l:1,K=Un(S,G),k=(0,ie.Z)(K,2),V=k[0],re=k[1],P=(0,_t.zX)(function(ze){var Le;g&&re(S,S+G-1),E==null||(Le=E.onMouseEnter)===null||Le===void 0||Le.call(E,ze)}),X=(0,_t.zX)(function(ze){var Le;g&&re(-1,-1),E==null||(Le=E.onMouseLeave)===null||Le===void 0||Le.call(E,ze)});if(D===0||G===0)return null;var fe=(i=E.title)!==null&&i!==void 0?i:Gn({rowType:B,ellipsis:u,children:Be}),He=oe()(R,v,(s={},(0,te.Z)(s,"".concat(R,"-fix-left"),ne&&U),(0,te.Z)(s,"".concat(R,"-fix-left-first"),W&&U),(0,te.Z)(s,"".concat(R,"-fix-left-last"),Z&&U),(0,te.Z)(s,"".concat(R,"-fix-left-all"),Z&&ye&&U),(0,te.Z)(s,"".concat(R,"-fix-right"),Me&&U),(0,te.Z)(s,"".concat(R,"-fix-right-first"),N&&U),(0,te.Z)(s,"".concat(R,"-fix-right-last"),I&&U),(0,te.Z)(s,"".concat(R,"-ellipsis"),u),(0,te.Z)(s,"".concat(R,"-with-append"),A),(0,te.Z)(s,"".concat(R,"-fix-sticky"),(ne||Me)&&T&&U),(0,te.Z)(s,"".concat(R,"-row-hover"),!ae&&V),s),E.className,ae==null?void 0:ae.className),ke={};h&&(ke.textAlign=h);var Ae=(0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)({},pe),E.style),ke),ae==null?void 0:ae.style),J=Be;return(0,Tt.Z)(J)==="object"&&!Array.isArray(J)&&!o.isValidElement(J)&&(J=null),u&&(Z||N)&&(J=o.createElement("span",{className:"".concat(R,"-content")},J)),o.createElement(d,(0,we.Z)({},ae,E,{className:He,style:Ae,title:fe,scope:f,onMouseEnter:ue?P:void 0,onMouseLeave:ue?X:void 0,colSpan:D!==1?D:null,rowSpan:G!==1?G:null}),A,J)}var kt=o.memo(mn);function ce(e,t,n,r,l){var a=n[e]||{},c=n[t]||{},i,s;a.fixed==="left"?i=r.left[l==="rtl"?t:e]:c.fixed==="right"&&(s=r.right[l==="rtl"?e:t]);var d=!1,p=!1,u=!1,f=!1,m=n[t+1],v=n[e-1],h=m&&!m.fixed||v&&!v.fixed||n.every(function(w){return w.fixed==="left"});if(l==="rtl"){if(i!==void 0){var g=v&&v.fixed==="left";f=!g&&h}else if(s!==void 0){var C=m&&m.fixed==="right";u=!C&&h}}else if(i!==void 0){var b=m&&m.fixed==="left";d=!b&&h}else if(s!==void 0){var x=v&&v.fixed==="right";p=!x&&h}return{fixLeft:i,fixRight:s,lastFixLeft:d,firstFixRight:p,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var be=o.createContext({}),me=be;function ve(e){var t=e.className,n=e.index,r=e.children,l=e.colSpan,a=l===void 0?1:l,c=e.rowSpan,i=e.align,s=Pe(Ye,["prefixCls","direction"]),d=s.prefixCls,p=s.direction,u=o.useContext(me),f=u.scrollColumnIndex,m=u.stickyOffsets,v=u.flattenColumns,h=n+a-1,g=h+1===f?a+1:a,C=ce(n,n+g-1,v,m,p);return o.createElement(kt,(0,we.Z)({className:t,index:n,component:"td",prefixCls:d,record:null,dataIndex:null,align:i,colSpan:g,rowSpan:c,render:function(){return r}},C))}var de=y(45987),le=["children"];function Ee(e){var t=e.children,n=(0,de.Z)(e,le);return o.createElement("tr",n,t)}function Te(e){var t=e.children;return t}Te.Row=Ee,Te.Cell=ve;var Je=Te;function nt(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,l=Pe(Ye,"prefixCls"),a=r.length-1,c=r[a],i=o.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:c!=null&&c.scrollbar?a:null}},[c,r,a,n]);return o.createElement(me.Provider,{value:i},o.createElement("tfoot",{className:"".concat(l,"-summary")},t))}var wt=yt(nt),Lt=Je,Ot=y(9220),vn=y(5110),Dt=y(79370),Et=y(74204),Rt=y(64217);function Pt(e,t,n,r,l,a,c){e.push({record:t,indent:n,index:c});var i=a(t),s=l==null?void 0:l.has(i);if(t&&Array.isArray(t[r])&&s)for(var d=0;d1?W-1:0),N=1;N=1?S:""),style:(0,M.Z)((0,M.Z)({},n),C==null?void 0:C.style)}),v.map(function(O,L){var W=O.render,Z=O.dataIndex,N=O.className,I=Bt(f,O,L,s,l),A=I.key,H=I.fixedInfo,E=I.appendCellNode,T=I.additionalCellProps;return o.createElement(kt,(0,we.Z)({className:N,ellipsis:O.ellipsis,align:O.align,scope:O.rowScope,component:O.rowScope?u:p,prefixCls:m,key:A,record:r,index:l,renderIndex:a,dataIndex:Z,render:W,shouldCellUpdate:O.shouldCellUpdate},H,{appendNode:E,additionalProps:T}))})),$;if(x&&(w.current||b)){var z=g(r,l,s+1,b);$=o.createElement(tn,{expanded:b,className:oe()("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(s+1),S),prefixCls:m,component:d,cellComponent:p,colSpan:v.length,isEmpty:!1},z)}return o.createElement(o.Fragment,null,B,$)}var bt=yt(gn);function ct(e){var t=e.columnKey,n=e.onColumnResize,r=o.useRef();return o.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),o.createElement(Ot.Z,{data:t},o.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},o.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function dt(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return o.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},o.createElement(Ot.Z.Collection,{onBatchResize:function(a){a.forEach(function(c){var i=c.data,s=c.size;r(i,s.offsetWidth)})}},n.map(function(l){return o.createElement(ct,{key:l,columnKey:l,onColumnResize:r})})))}function nn(e){var t=e.data,n=e.measureColumnWidth,r=Pe(Ye,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),l=r.prefixCls,a=r.getComponent,c=r.onColumnResize,i=r.flattenColumns,s=r.getRowKey,d=r.expandedKeys,p=r.childrenColumnName,u=r.emptyNode,f=en(t,p,d,s),m=o.useRef({renderWithProps:!1}),v=a(["body","wrapper"],"tbody"),h=a(["body","row"],"tr"),g=a(["body","cell"],"td"),C=a(["body","cell"],"th"),b;t.length?b=f.map(function(w,S){var B=w.record,$=w.indent,z=w.index,O=s(B,S);return o.createElement(bt,{key:O,rowKey:O,record:B,index:S,renderIndex:z,rowComponent:h,cellComponent:g,scopeCellComponent:C,getRowKey:s,indent:$})}):b=o.createElement(tn,{expanded:!0,className:"".concat(l,"-placeholder"),prefixCls:l,component:h,cellComponent:g,colSpan:i.length,isEmpty:!0},u);var x=qt(i);return o.createElement(Qt.Provider,{value:m.current},o.createElement(v,{className:"".concat(l,"-tbody")},n&&o.createElement(dt,{prefixCls:l,columnsKey:x,onColumnResize:c}),b))}var Ht=yt(nn),hn=["expandable"],$e="RC_TABLE_INTERNAL_COL_DEFINE";function rn(e){var t=e.expandable,n=(0,de.Z)(e,hn),r;return"expandable"in e?r=(0,M.Z)((0,M.Z)({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var on=["columnType"];function ln(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,l=[],a=r||n.length,c=!1,i=a-1;i>=0;i-=1){var s=t[i],d=n&&n[i],p=d&&d[$e];if(s||p||c){var u=p||{},f=u.columnType,m=(0,de.Z)(u,on);l.unshift(o.createElement("col",(0,we.Z)({key:i,style:{width:s}},m))),c=!0}}return o.createElement("colgroup",null,l)}var Zn=ln,xe=y(74902),gt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Eo(e,t){return(0,o.useMemo)(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:g.ellipsis,align:g.align,component:c,prefixCls:p,key:m[h]},C,{additionalProps:b,rowType:"header"}))}))},Io=$o;function To(e){var t=[];function n(c,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[s]=t[s]||[];var d=i,p=c.filter(Boolean).map(function(u){var f={key:u.key,className:u.className||"",children:u.title,column:u,colStart:d},m=1,v=u.children;return v&&v.length>0&&(m=n(v,d,s+1).reduce(function(h,g){return h+g},0),f.hasSubColumns=!0),"colSpan"in u&&(m=u.colSpan),"rowSpan"in u&&(f.rowSpan=u.rowSpan),f.colSpan=m,f.colEnd=f.colStart+m-1,t[s].push(f),d+=m,m});return p}n(e,0);for(var r=t.length,l=function(i){t[i].forEach(function(s){!("rowSpan"in s)&&!s.hasSubColumns&&(s.rowSpan=r-i)})},a=0;a1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function No(e,t,n){return o.useMemo(function(){if(t&&t>0){var r=0,l=0;e.forEach(function(f){var m=Ir(t,f.width);m?r+=m:l+=1});var a=Math.max(t,n),c=Math.max(a-r,l),i=l,s=c/l,d=0,p=e.map(function(f){var m=(0,M.Z)({},f),v=Ir(t,m.width);if(v)m.width=v;else{var h=Math.floor(s);m.width=i===1?c:h,c-=h,i-=1}return d+=m.width,m});if(d0?(0,M.Z)((0,M.Z)({},t),{},{children:Tr(n)}):t})}function Jn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&(0,Tt.Z)(n)==="object"}).reduce(function(n,r,l){var a=r.fixed,c=a===!0?"left":a,i="".concat(t,"-").concat(l),s=r.children;return s&&s.length>0?[].concat((0,xe.Z)(n),(0,xe.Z)(Jn(s,i).map(function(d){return(0,M.Z)({fixed:c},d)}))):[].concat((0,xe.Z)(n),[(0,M.Z)((0,M.Z)({key:i},r),{},{fixed:c})])},[])}function Bo(e){return e.map(function(t){var n=t.fixed,r=(0,de.Z)(t,Po),l=n;return n==="left"?l="right":n==="right"&&(l="left"),(0,M.Z)({fixed:l},r)})}function Ho(e,t){var n=e.prefixCls,r=e.columns,l=e.children,a=e.expandable,c=e.expandedKeys,i=e.columnTitle,s=e.getRowKey,d=e.onTriggerExpand,p=e.expandIcon,u=e.rowExpandable,f=e.expandIconColumnIndex,m=e.direction,v=e.expandRowByClick,h=e.columnWidth,g=e.fixed,C=e.scrollWidth,b=e.clientWidth,x=o.useMemo(function(){var Z=r||Yn(l)||[];return Tr(Z.slice())},[r,l]),w=o.useMemo(function(){if(a){var Z,N=x.slice();if(!N.includes(Oe)){var I=f||0;I>=0&&N.splice(I,0,Oe)}var A=N.indexOf(Oe);N=N.filter(function(R,F){return R!==Oe||F===A});var H=x[A],E;(g==="left"||g)&&!f?E="left":(g==="right"||g)&&f===x.length?E="right":E=H?H.fixed:null;var T=(Z={},(0,te.Z)(Z,$e,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,te.Z)(Z,"title",i),(0,te.Z)(Z,"fixed",E),(0,te.Z)(Z,"className","".concat(n,"-row-expand-icon-cell")),(0,te.Z)(Z,"width",h),(0,te.Z)(Z,"render",function(F,U,ye){var ue=s(U,ye),Re=c.has(ue),Ce=u?u(U):!0,Be=p({prefixCls:n,expanded:Re,expandable:Ce,record:U,onExpand:d});return v?o.createElement("span",{onClick:function(pe){return pe.stopPropagation()}},Be):Be}),Z);return N.map(function(R){return R===Oe?T:R})}return x.filter(function(R){return R!==Oe})},[a,x,s,c,p,m]),S=o.useMemo(function(){var Z=w;return t&&(Z=t(Z)),Z.length||(Z=[{render:function(){return null}}]),Z},[t,w,m]),B=o.useMemo(function(){return m==="rtl"?Bo(Jn(S)):Jn(S)},[S,m,C]),$=o.useMemo(function(){for(var Z=-1,N=B.length-1;N>=0;N-=1){var I=B[N].fixed;if(I==="left"||I===!0){Z=N;break}}if(Z>=0)for(var A=0;A<=Z;A+=1){var H=B[A].fixed;if(H!=="left"&&H!==!0)return!0}var E=B.findIndex(function(F){var U=F.fixed;return U==="right"});if(E>=0)for(var T=E;T=u&&(T=u-f),c({scrollLeft:T/u*(p+2)}),b.current.x=I.pageX},W=function(){$.current=(0,Bn.Z)(function(){if(!!a.current){var I=(0,Zr.os)(a.current).top,A=I+a.current.offsetHeight,H=s===window?document.documentElement.scrollTop+window.innerHeight:(0,Zr.os)(s).top+s.clientHeight;A-(0,Et.Z)()<=H||I>=H-i?C(function(E){return(0,M.Z)((0,M.Z)({},E),{},{isHiddenScrollBar:!0})}):C(function(E){return(0,M.Z)((0,M.Z)({},E),{},{isHiddenScrollBar:!1})})}})},Z=function(I){C(function(A){return(0,M.Z)((0,M.Z)({},A),{},{scrollLeft:I/p*u||0})})};return o.useImperativeHandle(n,function(){return{setScrollLeft:Z,checkScrollBarVisible:W}}),o.useEffect(function(){var N=(0,Pn.Z)(document.body,"mouseup",z,!1),I=(0,Pn.Z)(document.body,"mousemove",L,!1);return W(),function(){N.remove(),I.remove()}},[f,S]),o.useEffect(function(){var N=(0,Pn.Z)(s,"scroll",W,!1),I=(0,Pn.Z)(window,"resize",W,!1);return function(){N.remove(),I.remove()}},[s]),o.useEffect(function(){g.isHiddenScrollBar||C(function(N){var I=a.current;return I?(0,M.Z)((0,M.Z)({},N),{},{scrollLeft:I.scrollLeft/I.scrollWidth*I.clientWidth}):N})},[g.isHiddenScrollBar]),p<=u||!f||g.isHiddenScrollBar?null:o.createElement("div",{style:{height:(0,Et.Z)(),width:u,bottom:i},className:"".concat(d,"-sticky-scroll")},o.createElement("div",{onMouseDown:O,ref:m,className:oe()("".concat(d,"-sticky-scroll-bar"),(0,te.Z)({},"".concat(d,"-sticky-scroll-bar-active"),S)),style:{width:"".concat(f,"px"),transform:"translate3d(".concat(g.scrollLeft,"px, 0, 0)")}}))},Yo=o.forwardRef(Go);function Jo(e){return null}var Qo=Jo;function qo(e){return null}var _o=qo,Pr="rc-table",el=[],tl={};function nl(){return"No Data"}function rl(e,t){var n,r=(0,M.Z)({rowKey:"key",prefixCls:Pr,emptyText:nl},e),l=r.prefixCls,a=r.className,c=r.rowClassName,i=r.style,s=r.data,d=r.rowKey,p=r.scroll,u=r.tableLayout,f=r.direction,m=r.title,v=r.footer,h=r.summary,g=r.caption,C=r.id,b=r.showHeader,x=r.components,w=r.emptyText,S=r.onRow,B=r.onHeaderRow,$=r.onScroll,z=r.internalHooks,O=r.transformColumns,L=r.internalRefs,W=r.tailor,Z=r.getContainerWidth,N=r.sticky,I=r.rowHoverable,A=I===void 0?!0:I,H=s||el,E=!!H.length,T=z===ee,R=o.useCallback(function(_,se){return(0,In.Z)(x,_)||se},[x]),F=o.useMemo(function(){return typeof d=="function"?d:function(_){var se=_&&_[d];return se}},[d]),U=R(["body"]),ye=jo(),ue=(0,ie.Z)(ye,3),Re=ue[0],Ce=ue[1],Be=ue[2],ae=zo(r,H,F),pe=(0,ie.Z)(ae,6),ne=pe[0],Me=pe[1],D=pe[2],G=pe[3],K=pe[4],k=pe[5],V=p==null?void 0:p.x,re=o.useState(0),P=(0,ie.Z)(re,2),X=P[0],fe=P[1],He=Fo((0,M.Z)((0,M.Z)((0,M.Z)({},r),ne),{},{expandable:!!ne.expandedRowRender,columnTitle:ne.columnTitle,expandedKeys:D,getRowKey:F,onTriggerExpand:k,expandIcon:G,expandIconColumnIndex:ne.expandIconColumnIndex,direction:f,scrollWidth:T&&W&&typeof V=="number"?V:null,clientWidth:X}),T?O:null),ke=(0,ie.Z)(He,4),Ae=ke[0],J=ke[1],ze=ke[2],Le=ke[3],Qe=ze!=null?ze:V,et=o.useMemo(function(){return{columns:Ae,flattenColumns:J}},[Ae,J]),ut=o.useRef(),At=o.useRef(),Y=o.useRef(),ge=o.useRef();o.useImperativeHandle(t,function(){return{nativeElement:ut.current,scrollTo:function(se){var Ue;if(Y.current instanceof HTMLElement){var xt=se.index,Ge=se.top,un=se.key;if(Ge){var Ut;(Ut=Y.current)===null||Ut===void 0||Ut.scrollTo({top:Ge})}else{var Gt,Cn=un!=null?un:F(H[xt]);(Gt=Y.current.querySelector('[data-row-key="'.concat(Cn,'"]')))===null||Gt===void 0||Gt.scrollIntoView()}}else(Ue=Y.current)!==null&&Ue!==void 0&&Ue.scrollTo&&Y.current.scrollTo(se)}}});var he=o.useRef(),De=o.useState(!1),Ne=(0,ie.Z)(De,2),Se=Ne[0],Ke=Ne[1],rt=o.useState(!1),We=(0,ie.Z)(rt,2),Xe=We[0],ot=We[1],bn=kr(new Map),Wt=(0,ie.Z)(bn,2),Fe=Wt[0],ft=Wt[1],Ct=qt(J),ht=Ct.map(function(_){return Fe.get(_)}),cn=o.useMemo(function(){return ht},[ht.join("_")]),Zt=Xo(cn,J,f),qe=p&&zt(p.y),mt=p&&zt(Qe)||Boolean(ne.fixed),St=mt&&J.some(function(_){var se=_.fixed;return se}),Vt=o.useRef(),Mt=Wo(N,l),$t=Mt.isSticky,ur=Mt.offsetHeader,fr=Mt.offsetSummary,Ln=Mt.offsetScroll,mr=Mt.stickyClassName,Q=Mt.container,q=o.useMemo(function(){return h==null?void 0:h(H)},[h,H]),Ze=(qe||$t)&&o.isValidElement(q)&&q.type===Je&&q.props.fixed,je,_e,tt;qe&&(_e={overflowY:"scroll",maxHeight:p.y}),mt&&(je={overflowX:"auto"},qe||(_e={overflowY:"hidden"}),tt={width:Qe===!0?"auto":Qe,minWidth:"100%"});var vt=o.useCallback(function(_,se){(0,vn.Z)(ut.current)&&ft(function(Ue){if(Ue.get(_)!==se){var xt=new Map(Ue);return xt.set(_,se),xt}return Ue})},[]),Xt=Do(null),io=(0,ie.Z)(Xt,2),li=io[0],so=io[1];function Dn(_,se){!se||(typeof se=="function"?se(_):se.scrollLeft!==_&&(se.scrollLeft=_,se.scrollLeft!==_&&setTimeout(function(){se.scrollLeft=_},0)))}var dn=(0,Ve.Z)(function(_){var se=_.currentTarget,Ue=_.scrollLeft,xt=f==="rtl",Ge=typeof Ue=="number"?Ue:se.scrollLeft,un=se||tl;if(!so()||so()===un){var Ut;li(un),Dn(Ge,At.current),Dn(Ge,Y.current),Dn(Ge,he.current),Dn(Ge,(Ut=Vt.current)===null||Ut===void 0?void 0:Ut.setScrollLeft)}var Gt=se||At.current;if(Gt){var Cn=Gt.scrollWidth,xr=Gt.clientWidth;if(Cn===xr){Ke(!1),ot(!1);return}xt?(Ke(-Ge0)):(Ke(Ge>0),ot(Ge1?g-I:0,H=(0,M.Z)((0,M.Z)((0,M.Z)({},z),d),{},{flex:"0 0 ".concat(I,"px"),width:"".concat(I,"px"),marginRight:A,pointerEvents:"auto"}),E=o.useMemo(function(){return u?Z<=1:L===0||Z===0||Z>1},[Z,L,u]);E?H.visibility="hidden":u&&(H.height=f==null?void 0:f(Z));var T=E?function(){return null}:m,R={};return(Z===0||L===0)&&(R.rowSpan=1,R.colSpan=1),o.createElement(kt,(0,we.Z)({className:oe()(h,p),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:c,prefixCls:t.prefixCls,key:w,record:s,index:a,renderIndex:i,dataIndex:v,render:T,shouldCellUpdate:n.shouldCellUpdate},S,{appendNode:B,additionalProps:(0,M.Z)((0,M.Z)({},$),{},{style:H},R)}))}var cl=sl,dl=["data","index","className","rowKey","style","extra","getHeight"],ul=o.forwardRef(function(e,t){var n=e.data,r=e.index,l=e.className,a=e.rowKey,c=e.style,i=e.extra,s=e.getHeight,d=(0,de.Z)(e,dl),p=n.record,u=n.indent,f=n.index,m=Pe(Ye,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=m.scrollX,h=m.flattenColumns,g=m.prefixCls,C=m.fixColumn,b=m.componentWidth,x=Pe(Qn,["getComponent"]),w=x.getComponent,S=st(p,a,r,u),B=w(["body","row"],"div"),$=w(["body","cell"],"div"),z=S.rowSupportExpand,O=S.expanded,L=S.rowProps,W=S.expandedRowRender,Z=S.expandedRowClassName,N;if(z&&O){var I=W(p,r,u+1,O),A=Z==null?void 0:Z(p,r,u),H={};C&&(H={style:(0,te.Z)({},"--virtual-width","".concat(b,"px"))});var E="".concat(g,"-expanded-row-cell");N=o.createElement(B,{className:oe()("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(u+1),A)},o.createElement(kt,{component:$,prefixCls:g,className:oe()(E,(0,te.Z)({},"".concat(E,"-fixed"),C)),additionalProps:H},I))}var T=(0,M.Z)((0,M.Z)({},c),{},{width:v});i&&(T.position="absolute",T.pointerEvents="none");var R=o.createElement(B,(0,we.Z)({},L,d,{"data-row-key":a,ref:z?null:t,className:oe()(l,"".concat(g,"-row"),L==null?void 0:L.className,(0,te.Z)({},"".concat(g,"-row-extra"),i)),style:(0,M.Z)((0,M.Z)({},T),L==null?void 0:L.style)}),h.map(function(F,U){return o.createElement(cl,{key:U,component:$,rowInfo:S,column:F,colIndex:U,indent:u,index:r,renderIndex:f,record:p,inverse:i,getHeight:s})}));return z?o.createElement("div",{ref:t},R,N):R}),fl=yt(ul),Fr=fl,ml=o.forwardRef(function(e,t){var n=e.data,r=e.onScroll,l=Pe(Ye,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),a=l.flattenColumns,c=l.onColumnResize,i=l.getRowKey,s=l.expandedKeys,d=l.prefixCls,p=l.childrenColumnName,u=l.emptyNode,f=l.scrollX,m=Pe(Qn),v=m.sticky,h=m.scrollY,g=m.listItemHeight,C=m.getComponent,b=m.onScroll,x=o.useRef(),w=en(n,p,s,i),S=o.useMemo(function(){var H=0;return a.map(function(E){var T=E.width,R=E.key;return H+=T,[R,T,H]})},[a]),B=o.useMemo(function(){return S.map(function(H){return H[2]})},[S]);o.useEffect(function(){S.forEach(function(H){var E=(0,ie.Z)(H,2),T=E[0],R=E[1];c(T,R)})},[S]),o.useImperativeHandle(t,function(){var H={scrollTo:function(T){var R;(R=x.current)===null||R===void 0||R.scrollTo(T)}};return Object.defineProperty(H,"scrollLeft",{get:function(){var T;return((T=x.current)===null||T===void 0?void 0:T.getScrollInfo().x)||0},set:function(T){var R;(R=x.current)===null||R===void 0||R.scrollTo({left:T})}}),H});var $=function(E,T){var R,F=(R=w[T])===null||R===void 0?void 0:R.record,U=E.onCell;if(U){var ye,ue=U(F,T);return(ye=ue==null?void 0:ue.rowSpan)!==null&&ye!==void 0?ye:1}return 1},z=function(E){var T=E.start,R=E.end,F=E.getSize,U=E.offsetY;if(R<0)return null;for(var ye=a.filter(function(k){return $(k,T)===0}),ue=T,Re=function(V){if(ye=ye.filter(function(re){return $(re,V)===0}),!ye.length)return ue=V,1},Ce=T;Ce>=0&&!Re(Ce);Ce-=1);for(var Be=a.filter(function(k){return $(k,R)!==1}),ae=R,pe=function(V){if(Be=Be.filter(function(re){return $(re,V)!==1}),!Be.length)return ae=Math.max(V-1,R),1},ne=R;ne1})&&Me.push(V)},G=ue;G<=ae;G+=1)D(G);var K=Me.map(function(k){var V=w[k],re=i(V.record,k),P=function(He){var ke=k+He-1,Ae=i(w[ke].record,ke),J=F(re,Ae);return J.bottom-J.top},X=F(re);return o.createElement(Fr,{key:k,data:V,rowKey:re,index:k,style:{top:-U+X.top},extra:!0,getHeight:P})});return K},O=o.useMemo(function(){return{columnsOffset:B}},[B]),L="".concat(d,"-tbody"),W=C(["body","wrapper"]),Z=C(["body","row"],"div"),N=C(["body","cell"],"div"),I;if(w.length){var A={};v&&(A.position="sticky",A.bottom=0,(0,Tt.Z)(v)==="object"&&v.offsetScroll&&(A.bottom=v.offsetScroll)),I=o.createElement(al.Z,{fullHeight:!1,ref:x,prefixCls:"".concat(L,"-virtual"),styles:{horizontalScrollBar:A},className:L,height:h,itemHeight:g||24,data:w,itemKey:function(E){return i(E.record)},component:W,scrollWidth:f,onVirtualScroll:function(E){var T=E.x;r({scrollLeft:T})},onScroll:b,extraRender:z},function(H,E,T){var R=i(H.record,E);return o.createElement(Fr,{data:H,rowKey:R,index:E,style:T.style})})}else I=o.createElement(Z,{className:oe()("".concat(d,"-placeholder"))},o.createElement(kt,{component:N,prefixCls:d},u));return o.createElement(Hr.Provider,{value:O},I)}),vl=yt(ml),pl=vl,gl=function(t,n){var r=n.ref,l=n.onScroll;return o.createElement(pl,{ref:r,data:t,onScroll:l})};function hl(e,t){var n=e.columns,r=e.scroll,l=e.sticky,a=e.prefixCls,c=a===void 0?Pr:a,i=e.className,s=e.listItemHeight,d=e.components,p=e.onScroll,u=r||{},f=u.x,m=u.y;typeof f!="number"&&(f=1),typeof m!="number"&&(m=500);var v=(0,_t.zX)(function(C,b){return(0,In.Z)(d,C)||b}),h=(0,_t.zX)(p),g=o.useMemo(function(){return{sticky:l,scrollY:m,listItemHeight:s,getComponent:v,onScroll:h}},[l,m,s,v,h]);return o.createElement(Qn.Provider,{value:g},o.createElement(ll,(0,we.Z)({},e,{className:oe()(i,"".concat(c,"-virtual")),scroll:(0,M.Z)((0,M.Z)({},r),{},{x:f}),components:(0,M.Z)((0,M.Z)({},d),{},{body:gl}),columns:n,internalHooks:ee,tailor:!0,ref:t})))}var xl=o.forwardRef(hl);function Mr(e){return wn(xl,e)}var pi=Mr(),gi=null;function yl(e){return null}var bl=yl;function Cl(e){return null}var Sl=Cl,wl=y(13622),Kr=y(10225),qn=y(17341),El=y(1089),Rl=y(21770);function $l(e){const[t,n]=(0,o.useState)(null);return[(0,o.useCallback)((a,c,i)=>{const s=t!=null?t:a,d=Math.min(s||0,a),p=Math.max(s||0,a),u=c.slice(d,p+1).map(v=>e(v)),f=u.some(v=>!i.has(v)),m=[];return u.forEach(v=>{f?(i.has(v)||m.push(v),i.add(v)):(i.delete(v),m.push(v))}),n(f?p:null),m},[t]),a=>{n(a)}]}var _n=y(27288),Hn=y(84567),zr=y(85418),Lr=y(78045);const Ft={},er="SELECT_ALL",tr="SELECT_INVERT",nr="SELECT_NONE",Dr=[],jr=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat((0,xe.Z)(n),(0,xe.Z)(jr(e,r[e]))))}),n};var Il=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:l,getCheckboxProps:a,onChange:c,onSelect:i,onSelectAll:s,onSelectInvert:d,onSelectNone:p,onSelectMultiple:u,columnWidth:f,type:m,selections:v,fixed:h,renderCell:g,hideSelectAll:C,checkStrictly:b=!0}=t||{},{prefixCls:x,data:w,pageData:S,getRecordByKey:B,getRowKey:$,expandType:z,childrenColumnName:O,locale:L,getPopupContainer:W}=e,Z=(0,_n.ln)("Table"),[N,I]=$l(D=>D),[A,H]=(0,Rl.Z)(r||l||Dr,{value:r}),E=o.useRef(new Map),T=(0,o.useCallback)(D=>{if(n){const G=new Map;D.forEach(K=>{let k=B(K);!k&&E.current.has(K)&&(k=E.current.get(K)),G.set(K,k)}),E.current=G}},[B,n]);o.useEffect(()=>{T(A)},[A]);const{keyEntities:R}=(0,o.useMemo)(()=>{if(b)return{keyEntities:null};let D=w;if(n){const G=new Set(w.map((k,V)=>$(k,V))),K=Array.from(E.current).reduce((k,V)=>{let[re,P]=V;return G.has(re)?k:k.concat(P)},[]);D=[].concat((0,xe.Z)(D),(0,xe.Z)(K))}return(0,El.I8)(D,{externalGetKey:$,childrenPropName:O})},[w,$,b,O,n]),F=(0,o.useMemo)(()=>jr(O,S),[O,S]),U=(0,o.useMemo)(()=>{const D=new Map;return F.forEach((G,K)=>{const k=$(G,K),V=(a?a(G):null)||{};D.set(k,V)}),D},[F,$,a]),ye=(0,o.useCallback)(D=>{var G;return!!(!((G=U.get($(D)))===null||G===void 0)&&G.disabled)},[U,$]),[ue,Re]=(0,o.useMemo)(()=>{if(b)return[A||[],[]];const{checkedKeys:D,halfCheckedKeys:G}=(0,qn.S)(A,!0,R,ye);return[D||[],G]},[A,b,R,ye]),Ce=(0,o.useMemo)(()=>{const D=m==="radio"?ue.slice(0,1):ue;return new Set(D)},[ue,m]),Be=(0,o.useMemo)(()=>m==="radio"?new Set:new Set(Re),[Re,m]);o.useEffect(()=>{t||H(Dr)},[!!t]);const ae=(0,o.useCallback)((D,G)=>{let K,k;T(D),n?(K=D,k=D.map(V=>E.current.get(V))):(K=[],k=[],D.forEach(V=>{const re=B(V);re!==void 0&&(K.push(V),k.push(re))})),H(K),c==null||c(K,k,{type:G})},[H,B,c,n]),pe=(0,o.useCallback)((D,G,K,k)=>{if(i){const V=K.map(re=>B(re));i(B(D),G,V,k)}ae(K,"single")},[i,B,ae]),ne=(0,o.useMemo)(()=>!v||C?null:(v===!0?[er,tr,nr]:v).map(G=>G===er?{key:"all",text:L.selectionAll,onSelect(){ae(w.map((K,k)=>$(K,k)).filter(K=>{const k=U.get(K);return!(k!=null&&k.disabled)||Ce.has(K)}),"all")}}:G===tr?{key:"invert",text:L.selectInvert,onSelect(){const K=new Set(Ce);S.forEach((V,re)=>{const P=$(V,re),X=U.get(P);X!=null&&X.disabled||(K.has(P)?K.delete(P):K.add(P))});const k=Array.from(K);d&&(Z.deprecated(!1,"onSelectInvert","onChange"),d(k)),ae(k,"invert")}}:G===nr?{key:"none",text:L.selectNone,onSelect(){p==null||p(),ae(Array.from(Ce).filter(K=>{const k=U.get(K);return k==null?void 0:k.disabled}),"none")}}:G).map(G=>Object.assign(Object.assign({},G),{onSelect:function(){for(var K,k,V=arguments.length,re=new Array(V),P=0;P{var G;if(!t)return D.filter(Y=>Y!==Ft);let K=(0,xe.Z)(D);const k=new Set(Ce),V=F.map($).filter(Y=>!U.get(Y).disabled),re=V.every(Y=>k.has(Y)),P=V.some(Y=>k.has(Y)),X=()=>{const Y=[];re?V.forEach(he=>{k.delete(he),Y.push(he)}):V.forEach(he=>{k.has(he)||(k.add(he),Y.push(he))});const ge=Array.from(k);s==null||s(!re,ge.map(he=>B(he)),Y.map(he=>B(he))),ae(ge,"all"),I(null)};let fe,He;if(m!=="radio"){let Y;if(ne){const Se={getPopupContainer:W,items:ne.map((Ke,rt)=>{const{key:We,text:Xe,onSelect:ot}=Ke;return{key:We!=null?We:rt,onClick:()=>{ot==null||ot(V)},label:Xe}})};Y=o.createElement("div",{className:`${x}-selection-extra`},o.createElement(zr.Z,{menu:Se,getPopupContainer:W},o.createElement("span",null,o.createElement(wl.Z,null))))}const ge=F.map((Se,Ke)=>{const rt=$(Se,Ke),We=U.get(rt)||{};return Object.assign({checked:k.has(rt)},We)}).filter(Se=>{let{disabled:Ke}=Se;return Ke}),he=!!ge.length&&ge.length===F.length,De=he&&ge.every(Se=>{let{checked:Ke}=Se;return Ke}),Ne=he&&ge.some(Se=>{let{checked:Ke}=Se;return Ke});He=o.createElement(Hn.Z,{checked:he?De:!!F.length&&re,indeterminate:he?!De&&Ne:!re&&P,onChange:X,disabled:F.length===0||he,"aria-label":Y?"Custom selection":"Select all",skipGroup:!0}),fe=!C&&o.createElement("div",{className:`${x}-selection`},He,Y)}let ke;m==="radio"?ke=(Y,ge,he)=>{const De=$(ge,he),Ne=k.has(De);return{node:o.createElement(Lr.ZP,Object.assign({},U.get(De),{checked:Ne,onClick:Se=>Se.stopPropagation(),onChange:Se=>{k.has(De)||pe(De,!0,[De],Se.nativeEvent)}})),checked:Ne}}:ke=(Y,ge,he)=>{var De;const Ne=$(ge,he),Se=k.has(Ne),Ke=Be.has(Ne),rt=U.get(Ne);let We;return z==="nest"?We=Ke:We=(De=rt==null?void 0:rt.indeterminate)!==null&&De!==void 0?De:Ke,{node:o.createElement(Hn.Z,Object.assign({},rt,{indeterminate:We,checked:Se,skipGroup:!0,onClick:Xe=>Xe.stopPropagation(),onChange:Xe=>{let{nativeEvent:ot}=Xe;const{shiftKey:bn}=ot,Wt=V.findIndex(ft=>ft===Ne),Fe=ue.some(ft=>V.includes(ft));if(bn&&b&&Fe){const ft=N(Wt,V,k),Ct=Array.from(k);u==null||u(!Se,Ct.map(ht=>B(ht)),ft.map(ht=>B(ht))),ae(Ct,"multiple")}else{const ft=ue;if(b){const Ct=Se?(0,Kr._5)(ft,Ne):(0,Kr.L0)(ft,Ne);pe(Ne,!Se,Ct,ot)}else{const Ct=(0,qn.S)([].concat((0,xe.Z)(ft),[Ne]),!0,R,ye),{checkedKeys:ht,halfCheckedKeys:cn}=Ct;let Zt=ht;if(Se){const qe=new Set(ht);qe.delete(Ne),Zt=(0,qn.S)(Array.from(qe),{checked:!1,halfCheckedKeys:cn},R,ye).checkedKeys}pe(Ne,!Se,Zt,ot)}}I(Se?null:Wt)}})),checked:Se}};const Ae=(Y,ge,he)=>{const{node:De,checked:Ne}=ke(Y,ge,he);return g?g(Ne,ge,he,De):De};if(!K.includes(Ft))if(K.findIndex(Y=>{var ge;return((ge=Y[$e])===null||ge===void 0?void 0:ge.columnType)==="EXPAND_COLUMN"})===0){const[Y,...ge]=K;K=[Y,Ft].concat((0,xe.Z)(ge))}else K=[Ft].concat((0,xe.Z)(K));const J=K.indexOf(Ft);K=K.filter((Y,ge)=>Y!==Ft||ge===J);const ze=K[J-1],Le=K[J+1];let Qe=h;Qe===void 0&&((Le==null?void 0:Le.fixed)!==void 0?Qe=Le.fixed:(ze==null?void 0:ze.fixed)!==void 0&&(Qe=ze.fixed)),Qe&&ze&&((G=ze[$e])===null||G===void 0?void 0:G.columnType)==="EXPAND_COLUMN"&&ze.fixed===void 0&&(ze.fixed=Qe);const et=oe()(`${x}-selection-col`,{[`${x}-selection-col-with-dropdown`]:v&&m==="checkbox"}),ut=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(He):t.columnTitle:fe,At={fixed:Qe,width:f,className:`${x}-selection-column`,title:ut(),render:Ae,onCell:t.onCell,[$e]:{className:et}};return K.map(Y=>Y===Ft?At:Y)},[$,F,t,ue,Ce,Be,f,ne,z,U,u,pe,ye]),Ce]},Tl=y(98423);function kl(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function Ol(e,t){return(0,o.useImperativeHandle)(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy!="undefined"?new Proxy(r,{get(l,a){return n[a]?n[a]:Reflect.get(l,a)}}):kl(r,n)})}function Nl(e,t,n,r){const l=n-t;return e/=r/2,e<1?l/2*e*e*e+t:l/2*((e-=2)*e*e+2)+t}function rr(e){return e!=null&&e===e.window}function Zl(e,t){var n,r;if(typeof window=="undefined")return 0;const l=t?"scrollTop":"scrollLeft";let a=0;return rr(e)?a=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[l]:(e instanceof HTMLElement||e)&&(a=e[l]),e&&!rr(e)&&typeof a!="number"&&(a=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[l]),a}function Pl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:l=450}=t,a=n(),c=Zl(a,!0),i=Date.now(),s=()=>{const p=Date.now()-i,u=Nl(p>l?l:p,c,e,l);rr(a)?a.scrollTo(window.pageXOffset,u):a instanceof Document||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=u:a.scrollTop=u,p{l(a,d),d.stopPropagation()},className:oe()(s,{[`${s}-spaced`]:!i,[`${s}-expanded`]:i&&c,[`${s}-collapsed`]:i&&!c}),"aria-label":c?e.collapse:e.expand,"aria-expanded":c})}}var Al=jl;function Wl(e){return(n,r)=>{const l=n.querySelector(`.${e}-container`);let a=r;if(l){const c=getComputedStyle(l),i=parseInt(c.borderLeftWidth,10),s=parseInt(c.borderRightWidth,10);a=r-i-s}return a}}function jt(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function xn(e,t){return t?`${t}-${e}`:`${e}`}function Fn(e,t){return typeof e=="function"?e(t):e}function Vl(e,t){const n=Fn(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n}var Xl={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"},Ul=Xl,or=y(93771),Gl=function(t,n){return o.createElement(or.Z,(0,we.Z)({},t,{ref:n,icon:Ul}))},Yl=o.forwardRef(Gl),Jl=Yl,Ql=y(57838);function ql(e){const t=o.useRef(e),n=(0,Ql.Z)();return[()=>t.current,r=>{t.current=r,n()}]}var Wr=y(14726),Vr=y(32983),_l=y(50136),ea=y(76529),ta=y(14e3),na=y(25783),ra=y(55102);function oa(e){let{value:t,onChange:n,filterSearch:r,tablePrefixCls:l,locale:a}=e;return r?o.createElement("div",{className:`${l}-filter-dropdown-search`},o.createElement(ra.Z,{prefix:o.createElement(na.Z,null),placeholder:a.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${l}-filter-dropdown-search-input`})):null}var Xr=oa,Ur=y(15105);const la=e=>{const{keyCode:t}=e;t===Ur.Z.ENTER&&e.stopPropagation()};var aa=o.forwardRef((e,t)=>o.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:la,ref:t},e.children));function sn(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:l}=n;t.push(r),l&&(t=[].concat((0,xe.Z)(t),(0,xe.Z)(sn(l))))}),t}function ia(e){return e.some(t=>{let{children:n}=t;return n})}function Gr(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function Yr(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:l,searchValue:a,filterSearch:c}=e;return t.map((i,s)=>{const d=String(i.value);if(i.children)return{key:d||s,label:i.text,popupClassName:`${n}-dropdown-submenu`,children:Yr({filters:i.children,prefixCls:n,filteredKeys:r,filterMultiple:l,searchValue:a,filterSearch:c})};const p=l?Hn.Z:Lr.ZP,u={key:i.value!==void 0?d:s,label:o.createElement(o.Fragment,null,o.createElement(p,{checked:r.includes(d)}),o.createElement("span",null,i.text))};return a.trim()?typeof c=="function"?c(a,i)?u:null:Gr(a,i.text)?u:null:u})}function lr(e){return e||[]}function sa(e){var t,n;const{tablePrefixCls:r,prefixCls:l,column:a,dropdownPrefixCls:c,columnKey:i,filterOnClose:s,filterMultiple:d,filterMode:p="menu",filterSearch:u=!1,filterState:f,triggerFilter:m,locale:v,children:h,getPopupContainer:g,rootClassName:C}=e,{filterDropdownOpen:b,onFilterDropdownOpenChange:x,filterResetToDefaultFilteredValue:w,defaultFilteredValue:S,filterDropdownVisible:B,onFilterDropdownVisibleChange:$}=a,[z,O]=o.useState(!1),L=!!(f&&(((t=f.filteredKeys)===null||t===void 0?void 0:t.length)||f.forceFiltered)),W=P=>{O(P),x==null||x(P),$==null||$(P)},Z=(n=b!=null?b:B)!==null&&n!==void 0?n:z,N=f==null?void 0:f.filteredKeys,[I,A]=ql(lr(N)),H=P=>{let{selectedKeys:X}=P;A(X)},E=(P,X)=>{let{node:fe,checked:He}=X;H(d?{selectedKeys:P}:{selectedKeys:He&&fe.key?[fe.key]:[]})};o.useEffect(()=>{!z||H({selectedKeys:lr(N)})},[N]);const[T,R]=o.useState([]),F=P=>{R(P)},[U,ye]=o.useState(""),ue=P=>{const{value:X}=P.target;ye(X)};o.useEffect(()=>{z||ye("")},[z]);const Re=P=>{const X=P&&P.length?P:null;if(X===null&&(!f||!f.filteredKeys)||(0,lt.Z)(X,f==null?void 0:f.filteredKeys,!0))return null;m({column:a,key:i,filteredKeys:X})},Ce=()=>{W(!1),Re(I())},Be=function(){let{confirm:P,closeDropdown:X}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};P&&Re([]),X&&W(!1),ye(""),A(w?(S||[]).map(fe=>String(fe)):[])},ae=function(){let{closeDropdown:P}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};P&&W(!1),Re(I())},pe=(P,X)=>{X.source==="trigger"&&(P&&N!==void 0&&A(lr(N)),W(P),!P&&!a.filterDropdown&&s&&Ce())},ne=oe()({[`${c}-menu-without-submenu`]:!ia(a.filters||[])}),Me=P=>{if(P.target.checked){const X=sn(a==null?void 0:a.filters).map(fe=>String(fe));A(X)}else A([])},D=P=>{let{filters:X}=P;return(X||[]).map((fe,He)=>{const ke=String(fe.value),Ae={title:fe.text,key:fe.value!==void 0?ke:String(He)};return fe.children&&(Ae.children=D({filters:fe.children})),Ae})},G=P=>{var X;return Object.assign(Object.assign({},P),{text:P.title,value:P.key,children:((X=P.children)===null||X===void 0?void 0:X.map(fe=>G(fe)))||[]})};let K;if(typeof a.filterDropdown=="function")K=a.filterDropdown({prefixCls:`${c}-custom`,setSelectedKeys:P=>H({selectedKeys:P}),selectedKeys:I(),confirm:ae,clearFilters:Be,filters:a.filters,visible:Z,close:()=>{W(!1)}});else if(a.filterDropdown)K=a.filterDropdown;else{const P=I()||[],X=()=>{const He=o.createElement(Vr.Z,{image:Vr.Z.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((a.filters||[]).length===0)return He;if(p==="tree")return o.createElement(o.Fragment,null,o.createElement(Xr,{filterSearch:u,value:U,onChange:ue,tablePrefixCls:r,locale:v}),o.createElement("div",{className:`${r}-filter-dropdown-tree`},d?o.createElement(Hn.Z,{checked:P.length===sn(a.filters).length,indeterminate:P.length>0&&P.lengthtypeof u=="function"?u(U,G(J)):Gr(U,J.title):void 0})));const ke=Yr({filters:a.filters||[],filterSearch:u,prefixCls:l,filteredKeys:I(),filterMultiple:d,searchValue:U}),Ae=ke.every(J=>J===null);return o.createElement(o.Fragment,null,o.createElement(Xr,{filterSearch:u,value:U,onChange:ue,tablePrefixCls:r,locale:v}),Ae?He:o.createElement(_l.Z,{selectable:!0,multiple:d,prefixCls:`${c}-menu`,className:ne,onSelect:H,onDeselect:H,selectedKeys:P,getPopupContainer:g,openKeys:T,onOpenChange:F,items:ke}))},fe=()=>w?(0,lt.Z)((S||[]).map(He=>String(He)),P,!0):P.length===0;K=o.createElement(o.Fragment,null,X(),o.createElement("div",{className:`${l}-dropdown-btns`},o.createElement(Wr.ZP,{type:"link",size:"small",disabled:fe(),onClick:()=>Be()},v.filterReset),o.createElement(Wr.ZP,{type:"primary",size:"small",onClick:Ce},v.filterConfirm)))}a.filterDropdown&&(K=o.createElement(ea.J,{selectable:void 0},K));const k=()=>o.createElement(aa,{className:`${l}-dropdown`},K);let V;typeof a.filterIcon=="function"?V=a.filterIcon(L):a.filterIcon?V=a.filterIcon:V=o.createElement(Jl,null);const{direction:re}=o.useContext(Ar.E_);return o.createElement("div",{className:`${l}-column`},o.createElement("span",{className:`${r}-column-title`},h),o.createElement(zr.Z,{dropdownRender:k,trigger:["click"],open:Z,onOpenChange:pe,getPopupContainer:g,placement:re==="rtl"?"bottomLeft":"bottomRight",rootClassName:C},o.createElement("span",{role:"button",tabIndex:-1,className:oe()(`${l}-trigger`,{active:L}),onClick:P=>{P.stopPropagation()}},V)))}var ca=sa;function ar(e,t,n){let r=[];return(e||[]).forEach((l,a)=>{var c;const i=xn(a,n);if(l.filters||"filterDropdown"in l||"onFilter"in l)if("filteredValue"in l){let s=l.filteredValue;"filterDropdown"in l||(s=(c=s==null?void 0:s.map(String))!==null&&c!==void 0?c:s),r.push({column:l,key:jt(l,i),filteredKeys:s,forceFiltered:l.filtered})}else r.push({column:l,key:jt(l,i),filteredKeys:t&&l.defaultFilteredValue?l.defaultFilteredValue:void 0,forceFiltered:l.filtered});"children"in l&&(r=[].concat((0,xe.Z)(r),(0,xe.Z)(ar(l.children,t,i))))}),r}function Jr(e,t,n,r,l,a,c,i,s){return n.map((d,p)=>{const u=xn(p,i),{filterOnClose:f=!0,filterMultiple:m=!0,filterMode:v,filterSearch:h}=d;let g=d;if(g.filters||g.filterDropdown){const C=jt(g,u),b=r.find(x=>{let{key:w}=x;return C===w});g=Object.assign(Object.assign({},g),{title:x=>o.createElement(ca,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:g,columnKey:C,filterState:b,filterOnClose:f,filterMultiple:m,filterMode:v,filterSearch:h,triggerFilter:a,locale:l,getPopupContainer:c,rootClassName:s},Fn(d.title,x))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:Jr(e,t,g.children,r,l,a,c,u,s)})),g})}function Qr(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:l,column:a}=n;const c=r,{filters:i,filterDropdown:s}=a;if(s)t[c]=l||null;else if(Array.isArray(l)){const d=sn(i);t[c]=d.filter(p=>l.includes(String(p)))}else t[c]=null}),t}function ir(e,t,n){return t.reduce((r,l)=>{const{column:{onFilter:a,filters:c},filteredKeys:i}=l;return a&&i&&i.length?r.map(s=>Object.assign({},s)).filter(s=>i.some(d=>{const p=sn(c),u=p.findIndex(m=>String(m)===String(d)),f=u!==-1?p[u]:d;return s[n]&&(s[n]=ir(s[n],t,n)),a(f,s)})):r},e)}const qr=e=>e.flatMap(t=>"children"in t?[t].concat((0,xe.Z)(qr(t.children||[]))):[t]);function da(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:l,getPopupContainer:a,locale:c,rootClassName:i}=e;const s=(0,_n.ln)("Table"),d=o.useMemo(()=>qr(r||[]),[r]),[p,u]=o.useState(()=>ar(d,!0)),f=o.useMemo(()=>{const g=ar(d,!1);if(g.length===0)return g;let C=!0,b=!0;if(g.forEach(x=>{let{filteredKeys:w}=x;w!==void 0?C=!1:b=!1}),C){const x=(d||[]).map((w,S)=>jt(w,xn(S)));return p.filter(w=>{let{key:S}=w;return x.includes(S)}).map(w=>{const S=d[x.findIndex(B=>B===w.key)];return Object.assign(Object.assign({},w),{column:Object.assign(Object.assign({},w.column),S),forceFiltered:S.filtered})})}return g},[d,p]),m=o.useMemo(()=>Qr(f),[f]),v=g=>{const C=f.filter(b=>{let{key:x}=b;return x!==g.key});C.push(g),u(C),l(Qr(C),C)};return[g=>Jr(t,n,g,f,c,v,a,void 0,i),f,m]}var ua=da,fa=y(84164),ma=y(38780),va=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l{const a=e[l];typeof a!="function"&&(n[l]=a)}),n}function ga(e,t,n){const r=n&&typeof n=="object"?n:{},{total:l=0}=r,a=va(r,["total"]),[c,i]=(0,o.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:_r})),s=(0,ma.Z)(c,a,{total:l>0?l:e}),d=Math.ceil((l||e)/s.pageSize);s.current>d&&(s.current=d||1);const p=(f,m)=>{i({current:f!=null?f:1,pageSize:m||s.pageSize})},u=(f,m)=>{var v;n&&((v=n.onChange)===null||v===void 0||v.call(n,f,m)),p(f,m),t(f,m||(s==null?void 0:s.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:u}),p]}var ha=ga,xa={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"},ya=xa,ba=function(t,n){return o.createElement(or.Z,(0,we.Z)({},t,{ref:n,icon:ya}))},Ca=o.forwardRef(ba),Sa=Ca,wa={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"},Ea=wa,Ra=function(t,n){return o.createElement(or.Z,(0,we.Z)({},t,{ref:n,icon:Ea}))},$a=o.forwardRef(Ra),Ia=$a,eo=y(83062);const Mn="ascend",sr="descend";function Kn(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function to(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function Ta(e,t){return t?e[e.indexOf(t)+1]:e[0]}function cr(e,t,n){let r=[];function l(a,c){r.push({column:a,key:jt(a,c),multiplePriority:Kn(a),sortOrder:a.sortOrder})}return(e||[]).forEach((a,c)=>{const i=xn(c,n);a.children?("sortOrder"in a&&l(a,i),r=[].concat((0,xe.Z)(r),(0,xe.Z)(cr(a.children,t,i)))):a.sorter&&("sortOrder"in a?l(a,i):t&&a.defaultSortOrder&&r.push({column:a,key:jt(a,i),multiplePriority:Kn(a),sortOrder:a.defaultSortOrder}))}),r}function no(e,t,n,r,l,a,c,i){return(t||[]).map((s,d)=>{const p=xn(d,i);let u=s;if(u.sorter){const f=u.sortDirections||l,m=u.showSorterTooltip===void 0?c:u.showSorterTooltip,v=jt(u,p),h=n.find(z=>{let{key:O}=z;return O===v}),g=h?h.sortOrder:null,C=Ta(f,g);let b;if(s.sortIcon)b=s.sortIcon({sortOrder:g});else{const z=f.includes(Mn)&&o.createElement(Ia,{className:oe()(`${e}-column-sorter-up`,{active:g===Mn})}),O=f.includes(sr)&&o.createElement(Sa,{className:oe()(`${e}-column-sorter-down`,{active:g===sr})});b=o.createElement("span",{className:oe()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(z&&O)})},o.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},z,O))}const{cancelSort:x,triggerAsc:w,triggerDesc:S}=a||{};let B=x;C===sr?B=S:C===Mn&&(B=w);const $=typeof m=="object"?Object.assign({title:B},m):{title:B};u=Object.assign(Object.assign({},u),{className:oe()(u.className,{[`${e}-column-sort`]:g}),title:z=>{const O=`${e}-column-sorters`,L=o.createElement("span",{className:`${e}-column-title`},Fn(s.title,z)),W=o.createElement("div",{className:O},L,b);return m?typeof m!="boolean"&&(m==null?void 0:m.target)==="sorter-icon"?o.createElement("div",{className:`${O} ${e}-column-sorters-tooltip-target-sorter`},L,o.createElement(eo.Z,Object.assign({},$),b)):o.createElement(eo.Z,Object.assign({},$),W):W},onHeaderCell:z=>{const O=s.onHeaderCell&&s.onHeaderCell(z)||{},L=O.onClick,W=O.onKeyDown;O.onClick=I=>{r({column:s,key:v,sortOrder:C,multiplePriority:Kn(s)}),L==null||L(I)},O.onKeyDown=I=>{I.keyCode===Ur.Z.ENTER&&(r({column:s,key:v,sortOrder:C,multiplePriority:Kn(s)}),W==null||W(I))};const Z=Vl(s.title,{}),N=Z==null?void 0:Z.toString();return g?O["aria-sort"]=g==="ascend"?"ascending":"descending":O["aria-label"]=N||"",O.className=oe()(O.className,`${e}-column-has-sorters`),O.tabIndex=0,s.ellipsis&&(O.title=(Z!=null?Z:"").toString()),O}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:no(e,u.children,n,r,l,a,c,p)})),u})}const ro=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},oo=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(ro);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},ro(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t};function dr(e,t,n){const r=t.slice().sort((c,i)=>i.multiplePriority-c.multiplePriority),l=e.slice(),a=r.filter(c=>{let{column:{sorter:i},sortOrder:s}=c;return to(i)&&s});return a.length?l.sort((c,i)=>{for(let s=0;s{const i=c[n];return i?Object.assign(Object.assign({},c),{[n]:dr(i,t,n)}):c}):l}function ka(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:l,tableLocale:a,showSorterTooltip:c}=e;const[i,s]=o.useState(cr(n,!0)),d=o.useMemo(()=>{let v=!0;const h=cr(n,!1);if(!h.length)return i;const g=[];function C(x){v?g.push(x):g.push(Object.assign(Object.assign({},x),{sortOrder:null}))}let b=null;return h.forEach(x=>{b===null?(C(x),x.sortOrder&&(x.multiplePriority===!1?v=!1:b=!0)):(b&&x.multiplePriority!==!1||(v=!1),C(x))}),g},[n,i]),p=o.useMemo(()=>{const v=d.map(h=>{let{column:g,sortOrder:C}=h;return{column:g,order:C}});return{sortColumns:v,sortColumn:v[0]&&v[0].column,sortOrder:v[0]&&v[0].order}},[d]),u=v=>{let h;v.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?h=[v]:h=[].concat((0,xe.Z)(d.filter(g=>{let{key:C}=g;return C!==v.key})),[v]),s(h),r(oo(h),h)};return[v=>no(t,v,d,u,l,a,c),d,p,()=>oo(d)]}function lo(e,t){return e.map(n=>{const r=Object.assign({},n);return r.title=Fn(n.title,t),"children"in r&&(r.children=lo(r.children,t)),r})}function Oa(e){return[o.useCallback(n=>lo(n,e),[e])]}var Na=Br((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Za=Mr((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),j=y(54548),yn=y(10274),zn=y(14747),Pa=y(91945),Ba=y(45503),Ha=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:l,tableHeaderBg:a,tablePaddingVertical:c,tablePaddingHorizontal:i,calc:s}=e,d=`${(0,j.bf)(n)} ${r} ${l}`,p=(u,f,m)=>({[`&${t}-${u}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` + > table > tbody > tr > th, + > table > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,j.bf)(s(f).mul(-1).equal())} + ${(0,j.bf)(s(s(m).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{[` + > thead > tr > th, + > thead > tr > td, + > tbody > tr > th, + > tbody > tr > td, + > tfoot > tr > th, + > tfoot > tr > td + `]:{borderInlineEnd:d},"> thead":{"> tr:not(:last-child) > th":{borderBottom:d},"> tr > th::before":{backgroundColor:"transparent !important"}},[` + > thead > tr, + > tbody > tr, + > tfoot > tr + `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:d}},[` + > tbody > tr > th, + > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,j.bf)(s(c).mul(-1).equal())} ${(0,j.bf)(s(s(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{["> th, > td"]:{borderInlineEnd:0}}}}}},p("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),p("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,j.bf)(n)} 0 ${(0,j.bf)(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},Fa=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},zn.vS),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ma=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` + &:hover > th, + &:hover > td, + `]:{background:e.colorBgContainer}}}}},Ka=y(49867),za=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:l,paddingXS:a,lineType:c,tableBorderColor:i,tableExpandIconBg:s,tableExpandColumnWidth:d,borderRadius:p,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:m,paddingXXS:v,expandIconMarginTop:h,expandIconSize:g,expandIconHalfInner:C,expandIconScale:b,calc:x}=e,w=`${(0,j.bf)(l)} ${c} ${i}`,S=x(v).sub(l).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ka.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:g,height:g,padding:0,color:"inherit",lineHeight:(0,j.bf)(g),background:s,border:w,borderRadius:p,transform:`scale(${b})`,transition:`all ${r}`,userSelect:"none",["&:focus, &:hover, &:active"]:{borderColor:"currentcolor"},["&::before, &::after"]:{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:C,insetInlineEnd:S,insetInlineStart:S,height:l},"&::after":{top:S,bottom:S,insetInlineStart:C,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{["> th, > td"]:{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,j.bf)(x(u).mul(-1).equal())} ${(0,j.bf)(x(f).mul(-1).equal())}`,padding:`${(0,j.bf)(u)} ${(0,j.bf)(f)}`}}}},La=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:a,paddingXXS:c,paddingXS:i,colorText:s,lineWidth:d,lineType:p,tableBorderColor:u,headerIconColor:f,fontSizeSM:m,tablePaddingHorizontal:v,borderRadius:h,motionDurationSlow:g,colorTextDescription:C,colorPrimary:b,tableHeaderFilterActiveBg:x,colorTextDisabled:w,tableFilterDropdownBg:S,tableFilterDropdownHeight:B,controlItemBgHover:$,controlItemBgActive:z,boxShadowSecondary:O,filterDropdownMenuBg:L,calc:W}=e,Z=`${n}-dropdown`,N=`${t}-filter-dropdown`,I=`${n}-tree`,A=`${(0,j.bf)(d)} ${p} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:W(c).mul(-1).equal(),marginInline:`${(0,j.bf)(c)} ${(0,j.bf)(W(v).div(2).mul(-1).equal())}`,padding:`0 ${(0,j.bf)(c)}`,color:f,fontSize:m,borderRadius:h,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:C,background:x},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[N]:Object.assign(Object.assign({},(0,zn.Wf)(e)),{minWidth:l,backgroundColor:S,borderRadius:h,boxShadow:O,overflow:"hidden",[`${Z}-menu`]:{maxHeight:B,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:L,"&:empty::after":{display:"block",padding:`${(0,j.bf)(i)} 0`,color:w,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${N}-tree`]:{paddingBlock:`${(0,j.bf)(i)} 0`,paddingInline:i,[I]:{padding:0},[`${I}-treenode ${I}-node-content-wrapper:hover`]:{backgroundColor:$},[`${I}-treenode-checkbox-checked ${I}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:z}}},[`${N}-search`]:{padding:i,borderBottom:A,"&-input":{input:{minWidth:a},[r]:{color:w}}},[`${N}-checkall`]:{width:"100%",marginBottom:c,marginInlineStart:c},[`${N}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,j.bf)(W(i).sub(d).equal())} ${(0,j.bf)(i)}`,overflow:"hidden",borderTop:A}})}},{[`${n}-dropdown ${N}, ${N}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:s},["> ul"]:{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Da=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:l,zIndexTableFixed:a,tableBg:c,zIndexTableSticky:i,calc:s}=e,d=r;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:a,background:c},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:s(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:s(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:s(i).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${d}`},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${d}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${d}`},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${d}`}},[`${t}-fixed-column-gapped`]:{[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after, + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:"none"}}}}},ja=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,j.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Aa=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,j.bf)(n)} ${(0,j.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,j.bf)(n)} ${(0,j.bf)(n)}`}}}}},Wa=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},Va=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:a,paddingXS:c,headerIconColor:i,headerIconHoverColor:s,tableSelectionColumnWidth:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:m,calc:v}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:v(d).add(l).add(v(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:v(d).add(v(c).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:v(d).add(l).add(v(a).div(4)).add(v(c).mul(2)).equal()}},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column, + ${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,j.bf)(v(m).div(4).equal()),[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:p,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},Xa=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,l=(a,c,i,s)=>({[`${t}${t}-${a}`]:{fontSize:s,[` + ${t}-title, + ${t}-footer, + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${(0,j.bf)(c)} ${(0,j.bf)(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,j.bf)(r(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,j.bf)(r(c).mul(-1).equal())} ${(0,j.bf)(r(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,j.bf)(r(c).mul(-1).equal()),marginInline:`${(0,j.bf)(r(n).sub(i).equal())} ${(0,j.bf)(r(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,j.bf)(r(i).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},l("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),l("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Ua=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:l,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:l,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},Ga=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:a,tableScrollBg:c,zIndexTableSticky:i,stickyScrollBarBorderRadius:s,lineWidth:d,lineType:p,tableBorderColor:u}=e,f=`${(0,j.bf)(d)} ${p} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,j.bf)(a)} !important`,zIndex:i,display:"flex",alignItems:"center",background:c,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:a,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},ao=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:l}=e,a=`${(0,j.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,j.bf)(l(n).mul(-1).equal())} 0 ${r}`}}}},Ya=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:l,tableBorderColor:a,calc:c}=e,i=`${(0,j.bf)(r)} ${l} ${a}`,s=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${s}${s}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,j.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:c(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};const Ja=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,tableExpandColumnWidth:a,lineWidth:c,lineType:i,tableBorderColor:s,tableFontSize:d,tableBg:p,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:m,tableHeaderBg:v,tableHeaderCellSplitColor:h,tableFooterTextColor:g,tableFooterBg:C,calc:b}=e,x=`${(0,j.bf)(c)} ${i} ${s}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,zn.dF)()),{[t]:Object.assign(Object.assign({},(0,zn.Wf)(e)),{fontSize:d,background:p,borderRadius:`${(0,j.bf)(u)} ${(0,j.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,j.bf)(u)} ${(0,j.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${(0,j.bf)(r)} ${(0,j.bf)(l)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,j.bf)(r)} ${(0,j.bf)(l)}`},[`${t}-thead`]:{[` + > tr > th, + > tr > td + `]:{position:"relative",color:f,fontWeight:n,textAlign:"start",background:v,borderBottom:x,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:h,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{["> th, > td"]:{transition:`background ${m}, border-color ${m}`,borderBottom:x,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:(0,j.bf)(b(r).mul(-1).equal()),marginInline:`${(0,j.bf)(b(a).sub(l).equal())} + ${(0,j.bf)(b(l).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:v,borderBottom:x,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${(0,j.bf)(r)} ${(0,j.bf)(l)}`,color:g,background:C}})}},Qa=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:l,colorFillContent:a,controlItemBgActive:c,controlItemBgActiveHover:i,padding:s,paddingSM:d,paddingXS:p,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:m,colorTextPlaceholder:v,fontSize:h,fontSizeSM:g,lineHeight:C,lineWidth:b,colorIcon:x,colorIconHover:w,opacityLoading:S,controlInteractiveSize:B}=e,$=new yn.C(l).onBackground(n).toHexShortString(),z=new yn.C(a).onBackground(n).toHexShortString(),O=new yn.C(t).onBackground(n).toHexShortString(),L=new yn.C(x),W=new yn.C(w),Z=B/2-b,N=Z*2+b*3;return{headerBg:O,headerColor:r,headerSortActiveBg:$,headerSortHoverBg:z,bodySortBg:O,rowHoverBg:O,rowSelectedBg:c,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:d,cellPaddingInlineMD:p,cellPaddingBlockSM:p,cellPaddingInlineSM:p,borderColor:u,headerBorderRadius:f,footerBg:O,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:u,fixedHeaderSortActiveBg:$,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:m,stickyScrollBarBg:v,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*C-b*3)/2-Math.ceil((g*1.4-b*3)/2),headerIconColor:L.clone().setAlpha(L.getAlpha()*S).toRgbString(),headerIconHoverColor:W.clone().setAlpha(W.getAlpha()*S).toRgbString(),expandIconHalfInner:Z,expandIconSize:N,expandIconScale:B/N}};var qa=(0,Pa.I$)("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:l,headerBg:a,headerColor:c,headerSortActiveBg:i,headerSortHoverBg:s,bodySortBg:d,rowHoverBg:p,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:m,cellPaddingBlock:v,cellPaddingInline:h,cellPaddingBlockMD:g,cellPaddingInlineMD:C,cellPaddingBlockSM:b,cellPaddingInlineSM:x,borderColor:w,footerBg:S,footerColor:B,headerBorderRadius:$,cellFontSize:z,cellFontSizeMD:O,cellFontSizeSM:L,headerSplitColor:W,fixedHeaderSortActiveBg:Z,headerFilterHoverBg:N,filterDropdownBg:I,expandIconBg:A,selectionColumnWidth:H,stickyScrollBarBg:E,calc:T}=e,R=2,F=(0,Ba.TS)(e,{tableFontSize:z,tableBg:r,tableRadius:$,tablePaddingVertical:v,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:C,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:x,tableBorderColor:w,tableHeaderTextColor:c,tableHeaderBg:a,tableFooterTextColor:B,tableFooterBg:S,tableHeaderCellSplitColor:W,tableHeaderSortBg:i,tableHeaderSortHoverBg:s,tableBodySortBg:d,tableFixedHeaderSortActiveBg:Z,tableHeaderFilterActiveBg:N,tableFilterDropdownBg:I,tableRowHoverBg:p,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:R,zIndexTableSticky:R+1,tableFontSizeMiddle:O,tableFontSizeSmall:L,tableSelectionColumnWidth:H,tableExpandIconBg:A,tableExpandColumnWidth:T(l).add(T(e.padding).mul(2)).equal(),tableExpandedRowBg:m,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:E,tableScrollThumbBgHover:t,tableScrollBg:n});return[Ja(F),ja(F),ao(F),Ua(F),La(F),Ha(F),Aa(F),za(F),ao(F),Ma(F),Va(F),Da(F),Ga(F),Fa(F),Xa(F),Wa(F),Ya(F)]},Qa,{unitless:{expandIconScale:!0}});const _a=[],ei=(e,t)=>{var n,r;const{prefixCls:l,className:a,rootClassName:c,style:i,size:s,bordered:d,dropdownPrefixCls:p,dataSource:u,pagination:f,rowSelection:m,rowKey:v="key",rowClassName:h,columns:g,children:C,childrenColumnName:b,onChange:x,getPopupContainer:w,loading:S,expandIcon:B,expandable:$,expandedRowRender:z,expandIconColumnIndex:O,indentSize:L,scroll:W,sortDirections:Z,locale:N,showSorterTooltip:I={target:"full-header"},virtual:A}=e,H=(0,_n.ln)("Table"),E=o.useMemo(()=>g||Yn(C),[g,C]),T=o.useMemo(()=>E.some(Q=>Q.responsive),[E]),R=(0,Ml.Z)(T),F=o.useMemo(()=>{const Q=new Set(Object.keys(R).filter(q=>R[q]));return E.filter(q=>!q.responsive||q.responsive.some(Ze=>Q.has(Ze)))},[E,R]),U=(0,Tl.Z)(e,["className","style","columns"]),{locale:ye=Kl.Z,direction:ue,table:Re,renderEmpty:Ce,getPrefixCls:Be,getPopupContainer:ae}=o.useContext(Ar.E_),pe=(0,Fl.Z)(s),ne=Object.assign(Object.assign({},ye.Table),N),Me=u||_a,D=Be("table",l),G=Be("dropdown",p),[,K]=(0,Dl.ZP)(),k=(0,Hl.Z)(D),[V,re,P]=qa(D,k),X=Object.assign(Object.assign({childrenColumnName:b,expandIconColumnIndex:O},$),{expandIcon:(n=$==null?void 0:$.expandIcon)!==null&&n!==void 0?n:(r=Re==null?void 0:Re.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:fe="children"}=X,He=o.useMemo(()=>Me.some(Q=>Q==null?void 0:Q[fe])?"nest":z||$&&$.expandedRowRender?"row":null,[Me]),ke={body:o.useRef()},Ae=Wl(D),J=o.useRef(null),ze=o.useRef(null);Ol(t,()=>Object.assign(Object.assign({},ze.current),{nativeElement:J.current}));const Le=o.useMemo(()=>typeof v=="function"?v:Q=>Q==null?void 0:Q[v],[v]),[Qe]=(0,fa.Z)(Me,fe,Le),et={},ut=function(Q,q){let Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var je,_e,tt;const vt=Object.assign(Object.assign({},et),Q);Ze&&((je=et.resetPagination)===null||je===void 0||je.call(et),!((_e=vt.pagination)===null||_e===void 0)&&_e.current&&(vt.pagination.current=1),f&&f.onChange&&f.onChange(1,(tt=vt.pagination)===null||tt===void 0?void 0:tt.pageSize)),W&&W.scrollToFirstRowOnChange!==!1&&ke.body.current&&Pl(0,{getContainer:()=>ke.body.current}),x==null||x(vt.pagination,vt.filters,vt.sorter,{currentDataSource:ir(dr(Me,vt.sorterStates,fe),vt.filterStates,fe),action:q})},At=(Q,q)=>{ut({sorter:Q,sorterStates:q},"sort",!1)},[Y,ge,he,De]=ka({prefixCls:D,mergedColumns:F,onSorterChange:At,sortDirections:Z||["ascend","descend"],tableLocale:ne,showSorterTooltip:I}),Ne=o.useMemo(()=>dr(Me,ge,fe),[Me,ge]);et.sorter=De(),et.sorterStates=ge;const Se=(Q,q)=>{ut({filters:Q,filterStates:q},"filter",!0)},[Ke,rt,We]=ua({prefixCls:D,locale:ne,dropdownPrefixCls:G,mergedColumns:F,onFilterChange:Se,getPopupContainer:w||ae,rootClassName:oe()(c,k)}),Xe=ir(Ne,rt,fe);et.filters=We,et.filterStates=rt;const ot=o.useMemo(()=>{const Q={};return Object.keys(We).forEach(q=>{We[q]!==null&&(Q[q]=We[q])}),Object.assign(Object.assign({},he),{filters:Q})},[he,We]),[bn]=Oa(ot),Wt=(Q,q)=>{ut({pagination:Object.assign(Object.assign({},et.pagination),{current:Q,pageSize:q})},"paginate")},[Fe,ft]=ha(Xe.length,Wt,f);et.pagination=f===!1?{}:pa(Fe,f),et.resetPagination=ft;const Ct=o.useMemo(()=>{if(f===!1||!Fe.pageSize)return Xe;const{current:Q=1,total:q,pageSize:Ze=_r}=Fe;return Xe.lengthZe?Xe.slice((Q-1)*Ze,Q*Ze):Xe:Xe.slice((Q-1)*Ze,Q*Ze)},[!!f,Xe,Fe&&Fe.current,Fe&&Fe.pageSize,Fe&&Fe.total]),[ht,cn]=Il({prefixCls:D,data:Xe,pageData:Ct,getRowKey:Le,getRecordByKey:Qe,expandType:He,childrenColumnName:fe,locale:ne,getPopupContainer:w||ae},m),Zt=(Q,q,Ze)=>{let je;return typeof h=="function"?je=oe()(h(Q,q,Ze)):je=oe()(h),oe()({[`${D}-row-selected`]:cn.has(Le(Q,q))},je)};X.__PARENT_RENDER_ICON__=X.expandIcon,X.expandIcon=X.expandIcon||B||Al(ne),He==="nest"&&X.expandIconColumnIndex===void 0?X.expandIconColumnIndex=m?1:0:X.expandIconColumnIndex>0&&m&&(X.expandIconColumnIndex-=1),typeof X.indentSize!="number"&&(X.indentSize=typeof L=="number"?L:15);const qe=o.useCallback(Q=>bn(ht(Ke(Y(Q)))),[Y,Ke,ht]);let mt,St;if(f!==!1&&(Fe==null?void 0:Fe.total)){let Q;Fe.size?Q=Fe.size:Q=pe==="small"||pe==="middle"?"small":void 0;const q=_e=>o.createElement(zl.Z,Object.assign({},Fe,{className:oe()(`${D}-pagination ${D}-pagination-${_e}`,Fe.className),size:Q})),Ze=ue==="rtl"?"left":"right",{position:je}=Fe;if(je!==null&&Array.isArray(je)){const _e=je.find(Xt=>Xt.includes("top")),tt=je.find(Xt=>Xt.includes("bottom")),vt=je.every(Xt=>`${Xt}`=="none");!_e&&!tt&&!vt&&(St=q(Ze)),_e&&(mt=q(_e.toLowerCase().replace("top",""))),tt&&(St=q(tt.toLowerCase().replace("bottom","")))}else St=q(Ze)}let Vt;typeof S=="boolean"?Vt={spinning:S}:typeof S=="object"&&(Vt=Object.assign({spinning:!0},S));const Mt=oe()(P,k,`${D}-wrapper`,Re==null?void 0:Re.className,{[`${D}-wrapper-rtl`]:ue==="rtl"},a,c,re),$t=Object.assign(Object.assign({},Re==null?void 0:Re.style),i),ur=N&&N.emptyText||(Ce==null?void 0:Ce("Table"))||o.createElement(Bl.Z,{componentName:"Table"}),fr=A?Za:Na,Ln={},mr=o.useMemo(()=>{const{fontSize:Q,lineHeight:q,padding:Ze,paddingXS:je,paddingSM:_e}=K,tt=Math.floor(Q*q);switch(pe){case"large":return Ze*2+tt;case"small":return je*2+tt;default:return _e*2+tt}},[K,pe]);return A&&(Ln.listItemHeight=mr),V(o.createElement("div",{ref:J,className:Mt,style:$t},o.createElement(Ll.Z,Object.assign({spinning:!1},Vt),mt,o.createElement(fr,Object.assign({},Ln,U,{ref:ze,columns:F,direction:ue,expandable:X,prefixCls:D,className:oe()({[`${D}-middle`]:pe==="middle",[`${D}-small`]:pe==="small",[`${D}-bordered`]:d,[`${D}-empty`]:Me.length===0},P,k,re),data:Ct,rowKey:Le,rowClassName:Zt,emptyText:ur,internalHooks:ee,internalRefs:ke,transformColumns:qe,getContainerWidth:Ae})),St)))};var ti=o.forwardRef(ei);const ni=(e,t)=>{const n=o.useRef(0);return n.current+=1,o.createElement(ti,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Nt=o.forwardRef(ni);Nt.SELECTION_COLUMN=Ft,Nt.EXPAND_COLUMN=Oe,Nt.SELECTION_ALL=er,Nt.SELECTION_INVERT=tr,Nt.SELECTION_NONE=nr,Nt.Column=bl,Nt.ColumnGroup=Sl,Nt.Summary=Lt;var ri=Nt,oi=ri},14e3:function(Sn,It,y){y.d(It,{Z:function(){return kt}});var o=y(70593),Oe=y(74902),ee=y(67294),ie=y(5309),Ve=y(87462),Ie={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"},lt=Ie,at=y(93771),pt=function(be,me){return ee.createElement(at.Z,(0,Ve.Z)({},be,{ref:me,icon:lt}))},Pe=ee.forwardRef(pt),we=Pe,it={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"},Yt=it,Kt=function(be,me){return ee.createElement(at.Z,(0,Ve.Z)({},be,{ref:me,icon:Yt}))},yr=ee.forwardRef(Kt),br=yr,Cr=y(93967),Jt=y.n(Cr),wn=y(10225),yt=y(1089),En=y(53124),Wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ye=Wn,Sr=function(be,me){return ee.createElement(at.Z,(0,Ve.Z)({},be,{ref:me,icon:Ye}))},wr=ee.forwardRef(Sr),Er=wr,Tt=y(33603),M=y(29691),te=y(32157);const Rn=4;function oe(ce){const{dropPosition:be,dropLevelOffset:me,prefixCls:ve,indent:de,direction:le="ltr"}=ce,Ee=le==="ltr"?"left":"right",Te=le==="ltr"?"right":"left",Je={[Ee]:-me*de+Rn,[Te]:0};switch(be){case-1:Je.top=-3;break;case 1:Je.bottom=-3;break;default:Je.bottom=-3,Je[Ee]=de+Rn;break}return ee.createElement("div",{style:Je,className:`${ve}-drop-indicator`})}var $n=y(77632),Vn=ee.forwardRef((ce,be)=>{var me;const{getPrefixCls:ve,direction:de,virtual:le,tree:Ee}=ee.useContext(En.E_),{prefixCls:Te,className:Je,showIcon:nt=!1,showLine:wt,switcherIcon:Lt,blockNode:Ot=!1,children:vn,checkable:Dt=!1,selectable:Et=!0,draggable:Rt,motion:Pt,style:en}=ce,st=ve("tree",Te),pn=ve(),tn=Pt!=null?Pt:Object.assign(Object.assign({},(0,Tt.Z)(pn)),{motionAppear:!1}),Bt=Object.assign(Object.assign({},ce),{checkable:Dt,selectable:Et,showIcon:nt,motion:tn,blockNode:Ot,showLine:Boolean(wt),dropIndicatorRender:oe}),[gn,bt,ct]=(0,te.ZP)(st),[,dt]=(0,M.ZP)(),nn=dt.paddingXS/2+(((me=dt.Tree)===null||me===void 0?void 0:me.titleHeight)||dt.controlHeightSM),Ht=ee.useMemo(()=>{if(!Rt)return!1;let $e={};switch(typeof Rt){case"function":$e.nodeDraggable=Rt;break;case"object":$e=Object.assign({},Rt);break;default:break}return $e.icon!==!1&&($e.icon=$e.icon||ee.createElement(Er,null)),$e},[Rt]),hn=$e=>ee.createElement($n.Z,{prefixCls:st,switcherIcon:Lt,treeNodeProps:$e,showLine:wt});return gn(ee.createElement(o.Z,Object.assign({itemHeight:nn,ref:be,virtual:le},Bt,{style:Object.assign(Object.assign({},Ee==null?void 0:Ee.style),en),prefixCls:st,className:Jt()({[`${st}-icon-hide`]:!nt,[`${st}-block-node`]:Ot,[`${st}-unselectable`]:!Et,[`${st}-rtl`]:de==="rtl"},Ee==null?void 0:Ee.className,Je,bt,ct),direction:de,checkable:Dt&&ee.createElement("span",{className:`${st}-checkbox-inner`}),selectable:Et,switcherIcon:hn,draggable:Ht}),vn))});const Tn=0,Qt=1,kn=2;function fn(ce,be,me){const{key:ve,children:de}=me;function le(Ee){const Te=Ee[ve],Je=Ee[de];be(Te,Ee)!==!1&&fn(Je||[],be,me)}ce.forEach(le)}function qt(ce){let{treeData:be,expandedKeys:me,startKey:ve,endKey:de,fieldNames:le}=ce;const Ee=[];let Te=Tn;if(ve&&ve===de)return[ve];if(!ve||!de)return[];function Je(nt){return nt===ve||nt===de}return fn(be,nt=>{if(Te===kn)return!1;if(Je(nt)){if(Ee.push(nt),Te===Tn)Te=Qt;else if(Te===Qt)return Te=kn,!1}else Te===Qt&&Ee.push(nt);return me.includes(nt)},(0,yt.w$)(le)),Ee}function zt(ce,be,me){const ve=(0,Oe.Z)(be),de=[];return fn(ce,(le,Ee)=>{const Te=ve.indexOf(le);return Te!==-1&&(de.push(Ee),ve.splice(Te,1)),!!ve.length},(0,yt.w$)(me)),de}var On=function(ce,be){var me={};for(var ve in ce)Object.prototype.hasOwnProperty.call(ce,ve)&&be.indexOf(ve)<0&&(me[ve]=ce[ve]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ve=Object.getOwnPropertySymbols(ce);de{var{defaultExpandAll:me,defaultExpandParent:ve,defaultExpandedKeys:de}=ce,le=On(ce,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ee=ee.useRef(),Te=ee.useRef(),Je=()=>{const{keyEntities:bt}=(0,yt.I8)(Nn(le));let ct;return me?ct=Object.keys(bt):ve?ct=(0,wn.r7)(le.expandedKeys||de||[],bt):ct=le.expandedKeys||de||[],ct},[nt,wt]=ee.useState(le.selectedKeys||le.defaultSelectedKeys||[]),[Lt,Ot]=ee.useState(()=>Je());ee.useEffect(()=>{"selectedKeys"in le&&wt(le.selectedKeys)},[le.selectedKeys]),ee.useEffect(()=>{"expandedKeys"in le&&Ot(le.expandedKeys)},[le.expandedKeys]);const vn=(bt,ct)=>{var dt;return"expandedKeys"in le||Ot(bt),(dt=le.onExpand)===null||dt===void 0?void 0:dt.call(le,bt,ct)},Dt=(bt,ct)=>{var dt;const{multiple:nn,fieldNames:Ht}=le,{node:hn,nativeEvent:$e}=ct,{key:rn=""}=hn,on=Nn(le),ln=Object.assign(Object.assign({},ct),{selected:!0}),Zn=($e==null?void 0:$e.ctrlKey)||($e==null?void 0:$e.metaKey),xe=$e==null?void 0:$e.shiftKey;let gt;nn&&Zn?(gt=bt,Ee.current=rn,Te.current=gt,ln.selectedNodes=zt(on,gt,Ht)):nn&&xe?(gt=Array.from(new Set([].concat((0,Oe.Z)(Te.current||[]),(0,Oe.Z)(qt({treeData:on,expandedKeys:Lt,startKey:rn,endKey:Ee.current,fieldNames:Ht}))))),ln.selectedNodes=zt(on,gt,Ht)):(gt=[rn],Ee.current=rn,Te.current=gt,ln.selectedNodes=zt(on,gt,Ht)),(dt=le.onSelect)===null||dt===void 0||dt.call(le,gt,ln),"selectedKeys"in le||wt(gt)},{getPrefixCls:Et,direction:Rt}=ee.useContext(En.E_),{prefixCls:Pt,className:en,showIcon:st=!0,expandAction:pn="click"}=le,tn=On(le,["prefixCls","className","showIcon","expandAction"]),Bt=Et("tree",Pt),gn=Jt()(`${Bt}-directory`,{[`${Bt}-directory-rtl`]:Rt==="rtl"},en);return ee.createElement(Vn,Object.assign({icon:Xn,ref:be,blockNode:!0},tn,{showIcon:st,expandAction:pn,prefixCls:Bt,className:gn,expandedKeys:Lt,selectedKeys:nt,onSelect:Dt,onExpand:vn}))};var Gn=ee.forwardRef(Un);const mn=Vn;mn.DirectoryTree=Gn,mn.TreeNode=o.O;var kt=mn},79370:function(Sn,It,y){y.d(It,{G:function(){return ie}});var o=y(98924),Oe=function(Ie){if((0,o.Z)()&&window.document.documentElement){var lt=Array.isArray(Ie)?Ie:[Ie],at=window.document.documentElement;return lt.some(function(pt){return pt in at.style})}return!1},ee=function(Ie,lt){if(!Oe(Ie))return!1;var at=document.createElement("div"),pt=at.style[Ie];return at.style[Ie]=lt,at.style[Ie]!==pt};function ie(Ve,Ie){return!Array.isArray(Ve)&&Ie!==void 0?ee(Ve,Ie):Oe(Ve)}}}]); diff --git a/statics/2220.aeb8dfe1.async.js b/statics/2220.aeb8dfe1.async.js deleted file mode 100644 index de76e1bc..00000000 --- a/statics/2220.aeb8dfe1.async.js +++ /dev/null @@ -1,45 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2220],{16165:function(fe,ge,le){"use strict";var k=le(1413),A=le(4942),D=le(45987),R=le(67294),L=le(94184),d=le.n(L),o=le(63017),a=le(41755),t=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],e=R.forwardRef(function(i,n){var s=i.className,l=i.component,g=i.viewBox,p=i.spin,S=i.rotate,$=i.tabIndex,w=i.onClick,c=i.children,v=(0,D.Z)(i,t);(0,a.Kp)(Boolean(l||c),"Should have `component` prop or `children`."),(0,a.C3)();var u=R.useContext(o.Z),h=u.prefixCls,f=h===void 0?"anticon":h,r=u.rootClassName,m=d()(r,f,s),b=d()((0,A.Z)({},"".concat(f,"-spin"),!!p)),C=S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0,y=(0,k.Z)((0,k.Z)({},a.vD),{},{className:b,style:C,viewBox:g});g||delete y.viewBox;var E=function(){return l?R.createElement(l,(0,k.Z)({},y),c):c?((0,a.Kp)(Boolean(g)||R.Children.count(c)===1&&R.isValidElement(c)&&R.Children.only(c).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),R.createElement("svg",(0,k.Z)((0,k.Z)({},y),{},{viewBox:g}),c)):null},x=$;return x===void 0&&w&&(x=-1),R.createElement("span",(0,k.Z)((0,k.Z)({role:"img"},v),{},{ref:n,tabIndex:x,onClick:w,className:m}),E())});e.displayName="AntdIcon",ge.Z=e},91321:function(fe,ge,le){"use strict";le.d(ge,{Z:function(){return t}});var k=le(1413),A=le(45987),D=le(67294),R=le(16165),L=["type","children"],d=new Set;function o(e){return Boolean(typeof e=="string"&&e.length&&!d.has(e))}function a(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[i];if(o(n)){var s=document.createElement("script");s.setAttribute("src",n),s.setAttribute("data-namespace",n),e.length>i+1&&(s.onload=function(){a(e,i+1)},s.onerror=function(){a(e,i+1)}),d.add(n),document.body.appendChild(s)}}function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=e.scriptUrl,n=e.extraCommonProps,s=n===void 0?{}:n;i&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(i)?a(i.reverse()):a([i]));var l=D.forwardRef(function(g,p){var S=g.type,$=g.children,w=(0,A.Z)(g,L),c=null;return g.type&&(c=D.createElement("use",{xlinkHref:"#".concat(S)})),$&&(c=$),D.createElement(R.Z,(0,k.Z)((0,k.Z)((0,k.Z)({},s),w),{},{ref:p}),c)});return l.displayName="Iconfont",l}},53239:function(fe,ge,le){fe=le.nmd(fe),function(){var k="ace",A=function(){return this}();if(!A&&typeof window!="undefined"&&(A=window),!k&&typeof requirejs!="undefined")return;var D=function(t,e,i){if(typeof t!="string"){D.original?D.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(i=e),D.modules[t]||(D.payloads[t]=i,D.modules[t]=null)};D.modules={},D.payloads={};var R=function(t,e,i){if(typeof e=="string"){var n=o(t,e);if(n!=null)return i&&i(),n}else if(Object.prototype.toString.call(e)==="[object Array]"){for(var s=[],l=0,g=e.length;l=0?parseFloat((d.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((d.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),A.isOldIE=A.isIE&&A.isIE<9,A.isGecko=A.isMozilla=d.match(/ Gecko\/\d+/),A.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",A.isWebKit=parseFloat(d.split("WebKit/")[1])||void 0,A.isChrome=parseFloat(d.split(" Chrome/")[1])||void 0,A.isEdge=parseFloat(d.split(" Edge/")[1])||void 0,A.isAIR=d.indexOf("AdobeAIR")>=0,A.isAndroid=d.indexOf("Android")>=0,A.isChromeOS=d.indexOf(" CrOS ")>=0,A.isIOS=/iPad|iPhone|iPod/.test(d)&&!window.MSStream,A.isIOS&&(A.isMac=!0),A.isMobile=A.isIOS||A.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("./useragent"),L="http://www.w3.org/1999/xhtml";if(A.buildDom=function o(a,t,e){if(typeof a=="string"&&a){var i=document.createTextNode(a);return t&&t.appendChild(i),i}if(!Array.isArray(a))return a&&a.appendChild&&t&&t.appendChild(a),a;if(typeof a[0]!="string"||!a[0]){for(var n=[],s=0;s=1.5:!0,typeof document!="undefined"){var d=document.createElement("div");A.HI_DPI&&d.style.transform!==void 0&&(A.HAS_CSS_TRANSFORMS=!0),!R.isEdge&&typeof d.style.animationName!="undefined"&&(A.HAS_CSS_ANIMATION=!0),d=null}A.HAS_CSS_TRANSFORMS?A.translate=function(o,a,t){o.style.transform="translate("+Math.round(a)+"px, "+Math.round(t)+"px)"}:A.translate=function(o,a,t){o.style.top=Math.round(t)+"px",o.style.left=Math.round(a)+"px"}}),ace.define("ace/lib/oop",["require","exports","module"],function(k,A,D){"use strict";A.inherits=function(R,L){R.super_=L,R.prototype=Object.create(L.prototype,{constructor:{value:R,enumerable:!1,writable:!0,configurable:!0}})},A.mixin=function(R,L){for(var d in L)R[d]=L[d];return R},A.implement=function(R,L){A.mixin(R,L)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],function(k,A,D){"use strict";var R=k("./oop"),L=function(){var d={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}},o,a;for(a in d.FUNCTION_KEYS)o=d.FUNCTION_KEYS[a].toLowerCase(),d[o]=parseInt(a,10);for(a in d.PRINTABLE_KEYS)o=d.PRINTABLE_KEYS[a].toLowerCase(),d[o]=parseInt(a,10);return R.mixin(d,d.MODIFIER_KEYS),R.mixin(d,d.PRINTABLE_KEYS),R.mixin(d,d.FUNCTION_KEYS),d.enter=d.return,d.escape=d.esc,d.del=d.delete,d[173]="-",function(){for(var t=["cmd","ctrl","alt","shift"],e=Math.pow(2,t.length);e--;)d.KEY_MODS[e]=t.filter(function(i){return e&d.KEY_MODS[i]}).join("-")+"-"}(),d.KEY_MODS[0]="",d.KEY_MODS[-1]="input-",d}();R.mixin(A,L),A.keyCodeToString=function(d){var o=L[d];return typeof o!="string"&&(o=String.fromCharCode(d)),o.toLowerCase()}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("./keys"),L=k("./useragent"),d=null,o=0,a;function t(){a=!1;try{document.createComment("").addEventListener("test",function(){},{get passive(){a={passive:!1}}})}catch($){}}function e(){return a==null&&t(),a}function i($,w,c){this.elem=$,this.type=w,this.callback=c}i.prototype.destroy=function(){s(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var n=A.addListener=function($,w,c,v){$.addEventListener(w,c,e()),v&&v.$toDestroy.push(new i($,w,c))},s=A.removeListener=function($,w,c){$.removeEventListener(w,c,e())};A.stopEvent=function($){return A.stopPropagation($),A.preventDefault($),!1},A.stopPropagation=function($){$.stopPropagation&&$.stopPropagation()},A.preventDefault=function($){$.preventDefault&&$.preventDefault()},A.getButton=function($){return $.type=="dblclick"?0:$.type=="contextmenu"||L.isMac&&$.ctrlKey&&!$.altKey&&!$.shiftKey?2:$.button},A.capture=function($,w,c){var v=$&&$.ownerDocument||document;function u(h){w&&w(h),c&&c(h),s(v,"mousemove",w),s(v,"mouseup",u),s(v,"dragstart",u)}return n(v,"mousemove",w),n(v,"mouseup",u),n(v,"dragstart",u),u},A.addMouseWheelListener=function($,w,c){"onmousewheel"in $?n($,"mousewheel",function(v){var u=8;v.wheelDeltaX!==void 0?(v.wheelX=-v.wheelDeltaX/u,v.wheelY=-v.wheelDeltaY/u):(v.wheelX=0,v.wheelY=-v.wheelDelta/u),w(v)},c):"onwheel"in $?n($,"wheel",function(v){var u=.35;switch(v.deltaMode){case v.DOM_DELTA_PIXEL:v.wheelX=v.deltaX*u||0,v.wheelY=v.deltaY*u||0;break;case v.DOM_DELTA_LINE:case v.DOM_DELTA_PAGE:v.wheelX=(v.deltaX||0)*5,v.wheelY=(v.deltaY||0)*5;break}w(v)},c):n($,"DOMMouseScroll",function(v){v.axis&&v.axis==v.HORIZONTAL_AXIS?(v.wheelX=(v.detail||0)*5,v.wheelY=0):(v.wheelX=0,v.wheelY=(v.detail||0)*5),w(v)},c)},A.addMultiMouseDownListener=function($,w,c,v,u){var h=0,f,r,m,b={2:"dblclick",3:"tripleclick",4:"quadclick"};function C(y){if(A.getButton(y)!==0?h=0:y.detail>1?(h++,h>4&&(h=1)):h=1,L.isIE){var E=Math.abs(y.clientX-f)>5||Math.abs(y.clientY-r)>5;(!m||E)&&(h=1),m&&clearTimeout(m),m=setTimeout(function(){m=null},w[h-1]||600),h==1&&(f=y.clientX,r=y.clientY)}if(y._clicks=h,c[v]("mousedown",y),h>4)h=0;else if(h>1)return c[v](b[h],y)}Array.isArray($)||($=[$]),$.forEach(function(y){n(y,"mousedown",C,u)})};var l=function($){return 0|($.ctrlKey?1:0)|($.altKey?2:0)|($.shiftKey?4:0)|($.metaKey?8:0)};A.getModifierString=function($){return R.KEY_MODS[l($)]};function g($,w,c){var v=l(w);if(!L.isMac&&d){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(v|=8),d.altGr)if((3&v)!=3)d.altGr=0;else return;if(c===18||c===17){var u="location"in w?w.location:w.keyLocation;if(c===17&&u===1)d[c]==1&&(o=w.timeStamp);else if(c===18&&v===3&&u===2){var h=w.timeStamp-o;h<50&&(d.altGr=!0)}}}if(c in R.MODIFIER_KEYS&&(c=-1),!v&&c===13){var u="location"in w?w.location:w.keyLocation;if(u===3&&($(w,v,-c),w.defaultPrevented))return}if(L.isChromeOS&&v&8){if($(w,v,c),w.defaultPrevented)return;v&=-9}return!v&&!(c in R.FUNCTION_KEYS)&&!(c in R.PRINTABLE_KEYS)?!1:$(w,v,c)}A.addCommandKeyListener=function($,w,c){if(L.isOldGecko||L.isOpera&&!("KeyboardEvent"in window)){var v=null;n($,"keydown",function(h){v=h.keyCode},c),n($,"keypress",function(h){return g(w,h,v)},c)}else{var u=null;n($,"keydown",function(h){d[h.keyCode]=(d[h.keyCode]||0)+1;var f=g(w,h,h.keyCode);return u=h.defaultPrevented,f},c),n($,"keypress",function(h){u&&(h.ctrlKey||h.altKey||h.shiftKey||h.metaKey)&&(A.stopEvent(h),u=null)},c),n($,"keyup",function(h){d[h.keyCode]=null},c),d||(p(),n(window,"focus",p))}};function p(){d=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!L.isOldIE){var S=1;A.nextTick=function($,w){w=w||window;var c="zero-timeout-message-"+S++,v=function(u){u.data==c&&(A.stopPropagation(u),s(w,"message",v),$())};n(w,"message",v),w.postMessage(c,"*")}}A.$idleBlocked=!1,A.onIdle=function($,w){return setTimeout(function c(){A.$idleBlocked?setTimeout(c,100):$()},w)},A.$idleBlockId=null,A.blockIdle=function($){A.$idleBlockId&&clearTimeout(A.$idleBlockId),A.$idleBlocked=!0,A.$idleBlockId=setTimeout(function(){A.$idleBlocked=!1},$||100)},A.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),A.nextFrame?A.nextFrame=A.nextFrame.bind(window):A.nextFrame=function($){setTimeout($,17)}}),ace.define("ace/range",["require","exports","module"],function(k,A,D){"use strict";var R=function(d,o){return d.row-o.row||d.column-o.column},L=function(d,o,a,t){this.start={row:d,column:o},this.end={row:a,column:t}};(function(){this.isEqual=function(d){return this.start.row===d.start.row&&this.end.row===d.end.row&&this.start.column===d.start.column&&this.end.column===d.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(d,o){return this.compare(d,o)==0},this.compareRange=function(d){var o,a=d.end,t=d.start;return o=this.compare(a.row,a.column),o==1?(o=this.compare(t.row,t.column),o==1?2:o==0?1:0):o==-1?-2:(o=this.compare(t.row,t.column),o==-1?-1:o==1?42:0)},this.comparePoint=function(d){return this.compare(d.row,d.column)},this.containsRange=function(d){return this.comparePoint(d.start)==0&&this.comparePoint(d.end)==0},this.intersects=function(d){var o=this.compareRange(d);return o==-1||o==0||o==1},this.isEnd=function(d,o){return this.end.row==d&&this.end.column==o},this.isStart=function(d,o){return this.start.row==d&&this.start.column==o},this.setStart=function(d,o){typeof d=="object"?(this.start.column=d.column,this.start.row=d.row):(this.start.row=d,this.start.column=o)},this.setEnd=function(d,o){typeof d=="object"?(this.end.column=d.column,this.end.row=d.row):(this.end.row=d,this.end.column=o)},this.inside=function(d,o){return this.compare(d,o)==0?!(this.isEnd(d,o)||this.isStart(d,o)):!1},this.insideStart=function(d,o){return this.compare(d,o)==0?!this.isEnd(d,o):!1},this.insideEnd=function(d,o){return this.compare(d,o)==0?!this.isStart(d,o):!1},this.compare=function(d,o){return!this.isMultiLine()&&d===this.start.row?othis.end.column?1:0:dthis.end.row?1:this.start.row===d?o>=this.start.column?0:-1:this.end.row===d?o<=this.end.column?0:1:0},this.compareStart=function(d,o){return this.start.row==d&&this.start.column==o?-1:this.compare(d,o)},this.compareEnd=function(d,o){return this.end.row==d&&this.end.column==o?1:this.compare(d,o)},this.compareInside=function(d,o){return this.end.row==d&&this.end.column==o?1:this.start.row==d&&this.start.column==o?-1:this.compare(d,o)},this.clipRows=function(d,o){if(this.end.row>o)var a={row:o+1,column:0};else if(this.end.rowo)var t={row:o+1,column:0};else if(this.start.row0;)o&1&&(a+=d),(o>>=1)&&(d+=d);return a};var R=/^\s\s*/,L=/\s\s*$/;A.stringTrimLeft=function(d){return d.replace(R,"")},A.stringTrimRight=function(d){return d.replace(L,"")},A.copyObject=function(d){var o={};for(var a in d)o[a]=d[a];return o},A.copyArray=function(d){for(var o=[],a=0,t=d.length;aDate.now()-50?!0:R=!1},cancel:function(){R=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(k,A,D){"use strict";var R=k("../lib/event"),L=k("../lib/useragent"),d=k("../lib/dom"),o=k("../lib/lang"),a=k("../clipboard"),t=L.isChrome<18,e=L.isIE,i=L.isChrome>63,n=400,s=k("../lib/keys"),l=s.KEY_MODS,g=L.isIOS,p=g?/\s/:/\n/,S=L.isMobile,$=function(w,c){var v=d.createElement("textarea");v.className="ace_text-input",v.setAttribute("wrap","off"),v.setAttribute("autocorrect","off"),v.setAttribute("autocapitalize","off"),v.setAttribute("spellcheck",!1),v.style.opacity="0",w.insertBefore(v,w.firstChild);var u=!1,h=!1,f=!1,r=!1,m="";S||(v.style.fontSize="1px");var b=!1,C=!1,y="",E=0,x=0,_=0;try{var T=document.activeElement===v}catch(W){}R.addListener(v,"blur",function(W){C||(c.onBlur(W),T=!1)},c),R.addListener(v,"focus",function(W){if(!C){if(T=!0,L.isEdge)try{if(!document.hasFocus())return}catch(N){}c.onFocus(W),L.isEdge?setTimeout(F):F()}},c),this.$focusScroll=!1,this.focus=function(){if(m||i||this.$focusScroll=="browser")return v.focus({preventScroll:!0});var W=v.style.top;v.style.position="fixed",v.style.top="0px";try{var N=v.getBoundingClientRect().top!=0}catch(ne){return}var z=[];if(N)for(var Z=v.parentElement;Z&&Z.nodeType==1;)z.push(Z),Z.setAttribute("ace_nocontext",!0),!Z.parentElement&&Z.getRootNode?Z=Z.getRootNode().host:Z=Z.parentElement;v.focus({preventScroll:!0}),N&&z.forEach(function(ne){ne.removeAttribute("ace_nocontext")}),setTimeout(function(){v.style.position="",v.style.top=="0px"&&(v.style.top=W)},0)},this.blur=function(){v.blur()},this.isFocused=function(){return T},c.on("beforeEndOperation",function(){var W=c.curOp,N=W&&W.command&&W.command.name;if(N!="insertstring"){var z=N&&(W.docChanged||W.selectionChanged);f&&z&&(y=v.value="",J()),F()}});var F=g?function(W){if(!(!T||u&&!W||r)){W||(W="");var N=` - ab`+W+`cde fg -`;N!=v.value&&(v.value=y=N);var z=4,Z=4+(W.length||(c.selection.isEmpty()?0:1));(E!=z||x!=Z)&&v.setSelectionRange(z,Z),E=z,x=Z}}:function(){if(!(f||r)&&!(!T&&!I)){f=!0;var W=0,N=0,z="";if(c.session){var Z=c.selection,ne=Z.getRange(),re=Z.cursor.row;if(W=ne.start.column,N=ne.end.column,z=c.session.getLine(re),ne.start.row!=re){var ae=c.session.getLine(re-1);W=ne.start.rowre+1?oe.length:N,N+=z.length+1,z=z+` -`+oe}else S&&re>0&&(z=` -`+z,N+=1,W+=1);z.length>n&&(W=y.length&&W.value===y&&y&&W.selectionEnd!==x},M=function(W){f||(u?u=!1:O(v)?(c.selectAll(),F()):S&&v.selectionStart!=E&&F())},B=null;this.setInputHandler=function(W){B=W},this.getInputHandler=function(){return B};var I=!1,P=function(W,N){if(I&&(I=!1),h)return F(),W&&c.onPaste(W),h=!1,"";for(var z=v.selectionStart,Z=v.selectionEnd,ne=E,re=y.length-x,ae=W,oe=W.length-z,se=W.length-Z,te=0;ne>0&&y[te]==W[te];)te++,ne--;for(ae=ae.slice(te),te=1;re>0&&y.length-te>E-1&&y[y.length-te]==W[W.length-te];)te++,re--;oe-=te-1,se-=te-1;var ue=ae.length-te+1;if(ue<0&&(ne=-ue,ue=0),ae=ae.slice(0,ue),!N&&!ae&&!oe&&!ne&&!re&&!se)return"";r=!0;var me=!1;return L.isAndroid&&ae==". "&&(ae=" ",me=!0),ae&&!ne&&!re&&!oe&&!se||b?c.onTextInput(ae):c.onTextInput(ae,{extendLeft:ne,extendRight:re,restoreStart:oe,restoreEnd:se}),r=!1,y=W,E=z,x=Z,_=se,me?` -`:ae},H=function(W){if(f)return U();if(W&&W.inputType){if(W.inputType=="historyUndo")return c.execCommand("undo");if(W.inputType=="historyRedo")return c.execCommand("redo")}var N=v.value,z=P(N,!0);(N.length>n+100||p.test(z)||S&&E<1&&E==x)&&F()},K=function(W,N,z){var Z=W.clipboardData||window.clipboardData;if(!(!Z||t)){var ne=e||z?"Text":"text/plain";try{return N?Z.setData(ne,N)!==!1:Z.getData(ne)}catch(re){if(!z)return K(re,N,!0)}}},X=function(W,N){var z=c.getCopyText();if(!z)return R.preventDefault(W);K(W,z)?(g&&(F(z),u=z,setTimeout(function(){u=!1},10)),N?c.onCut():c.onCopy(),R.preventDefault(W)):(u=!0,v.value=z,v.select(),setTimeout(function(){u=!1,F(),N?c.onCut():c.onCopy()}))},ee=function(W){X(W,!0)},Y=function(W){X(W,!1)},V=function(W){var N=K(W);a.pasteCancelled()||(typeof N=="string"?(N&&c.onPaste(N,W),L.isIE&&setTimeout(F),R.preventDefault(W)):(v.value="",h=!0))};R.addCommandKeyListener(v,c.onCommandKey.bind(c),c),R.addListener(v,"select",M,c),R.addListener(v,"input",H,c),R.addListener(v,"cut",ee,c),R.addListener(v,"copy",Y,c),R.addListener(v,"paste",V,c),(!("oncut"in v)||!("oncopy"in v)||!("onpaste"in v))&&R.addListener(w,"keydown",function(W){if(!(L.isMac&&!W.metaKey||!W.ctrlKey))switch(W.keyCode){case 67:Y(W);break;case 86:V(W);break;case 88:ee(W);break}},c);var Q=function(W){if(!(f||!c.onCompositionStart||c.$readOnly)&&(f={},!b)){W.data&&(f.useTextareaForIME=!1),setTimeout(U,0),c._signal("compositionStart"),c.on("mousedown",j);var N=c.getSelectionRange();N.end.row=N.start.row,N.end.column=N.start.column,f.markerRange=N,f.selectionStart=E,c.onCompositionStart(f),f.useTextareaForIME?(y=v.value="",E=0,x=0):(v.msGetInputContext&&(f.context=v.msGetInputContext()),v.getInputContext&&(f.context=v.getInputContext()))}},U=function(){if(!(!f||!c.onCompositionUpdate||c.$readOnly)){if(b)return j();if(f.useTextareaForIME)c.onCompositionUpdate(v.value);else{var W=v.value;P(W),f.markerRange&&(f.context&&(f.markerRange.start.column=f.selectionStart=f.context.compositionStartOffset),f.markerRange.end.column=f.markerRange.start.column+x-f.selectionStart+_)}}},J=function(W){!c.onCompositionEnd||c.$readOnly||(f=!1,c.onCompositionEnd(),c.off("mousedown",j),W&&H())};function j(){C=!0,v.blur(),v.focus(),C=!1}var q=o.delayedCall(U,50).schedule.bind(null,null);function G(W){W.keyCode==27&&v.value.lengthx&&y[se]==` -`?te=s.end:oex&&y.slice(0,se).split(` -`).length>2?te=s.down:se>x&&y[se-1]==" "?(te=s.right,ue=l.option):(se>x||se==x&&x!=E&&oe==se)&&(te=s.right),oe!==se&&(ue|=l.shift),te){var me=N.onCommandKey({},ue,te);if(!me&&N.commands){te=s.keyCodeToString(te);var ve=N.commands.findKeyCommand(ue,te);ve&&N.execCommand(ve)}E=oe,x=se,F("")}}};document.addEventListener("selectionchange",re),N.on("destroy",function(){document.removeEventListener("selectionchange",re)})}};A.TextInput=$,A.$setUserAgentForTests=function(w,c){S=w,g=c}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("../lib/useragent"),L=0,d=550;function o(e){e.$clickSelection=null;var i=e.editor;i.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),i.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),i.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),i.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),i.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var n=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];n.forEach(function(s){e[s]=this[s]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}(function(){this.onMouseDown=function(e){var i=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var s=this.editor,l=e.getButton();if(l!==0){var g=s.getSelectionRange(),p=g.isEmpty();(p||l==1)&&s.selection.moveToPosition(n),l==2&&(s.textInput.onContextMenu(e.domEvent),R.isMozilla||e.preventDefault());return}if(this.mousedownEvent.time=Date.now(),i&&!s.isFocused()&&(s.focus(),this.$focusTimeout&&!this.$clickSelection&&!s.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(e);return}return this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()},this.startSelect=function(e,i){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;!this.mousedownEvent||(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):i||n.selection.moveToPosition(e),i||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"))},this.select=function(){var e,i=this.editor,n=i.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(n);if(s==-1)e=this.$clickSelection.end;else if(s==1)e=this.$clickSelection.start;else{var l=t(this.$clickSelection,n);n=l.cursor,e=l.anchor}i.selection.setSelectionAnchor(e.row,e.column)}i.selection.selectToPosition(n),i.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var i,n=this.editor,s=n.renderer.screenToTextCoordinates(this.x,this.y),l=n.selection[e](s.row,s.column);if(this.$clickSelection){var g=this.$clickSelection.comparePoint(l.start),p=this.$clickSelection.comparePoint(l.end);if(g==-1&&p<=0)i=this.$clickSelection.end,(l.end.row!=s.row||l.end.column!=s.column)&&(s=l.start);else if(p==1&&g>=0)i=this.$clickSelection.start,(l.start.row!=s.row||l.start.column!=s.column)&&(s=l.end);else if(g==-1&&p==1)s=l.end,i=l.start;else{var S=t(this.$clickSelection,s);s=S.cursor,i=S.anchor}n.selection.setSelectionAnchor(i.row,i.column)}n.selection.selectToPosition(s),n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),i=Date.now();(e>L||i-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var i=e.getDocumentPosition(),n=this.editor,s=n.session,l=s.getBracketRange(i);l?(l.isEmpty()&&(l.start.column--,l.end.column++),this.setState("select")):(l=n.selection.getWordRange(i.row,i.column),this.setState("selectByWords")),this.$clickSelection=l,this.select()},this.onTripleClick=function(e){var i=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var s=n.getSelectionRange();s.isMultiLine()&&s.contains(i.row,i.column)?(this.$clickSelection=n.selection.getLineRange(s.start.row),this.$clickSelection.end=n.selection.getLineRange(s.end.row).end):this.$clickSelection=n.selection.getLineRange(i.row),this.select()},this.onQuadClick=function(e){var i=this.editor;i.selectAll(),this.$clickSelection=i.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var i=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,s=e.domEvent.timeStamp,l=s-n.t,g=l?e.wheelX/l:n.vx,p=l?e.wheelY/l:n.vy;l=1&&i.renderer.isScrollableBy(e.wheelX*e.speed,0)&&($=!0),S<=1&&i.renderer.isScrollableBy(0,e.wheelY*e.speed)&&($=!0),$)n.allowed=s;else if(s-n.allowedi.session.documentToScreenRow(f.row,f.column))return $()}if(p!=v)if(p=v.text.join("
"),s.setHtml(p),s.show(),i._signal("showGutterTooltip",s),i.on("mousewheel",$),e.$tooltipFollowsMouse)w(g);else{var r=g.domEvent.target,m=r.getBoundingClientRect(),b=s.getElement().style;b.left=m.right+"px",b.top=m.bottom+"px"}}function $(){l&&(l=clearTimeout(l)),p&&(s.hide(),p=null,i._signal("hideGutterTooltip",s),i.off("mousewheel",$))}function w(c){s.setPosition(c.x,c.y)}e.editor.setDefaultHandler("guttermousemove",function(c){var v=c.domEvent.target||c.domEvent.srcElement;if(R.hasCssClass(v,"ace_fold-widget"))return $();p&&e.$tooltipFollowsMouse&&w(c),g=c,!l&&(l=setTimeout(function(){l=null,g&&!e.isMousePressed?S():$()},50))}),d.addListener(i.renderer.$gutter,"mouseout",function(c){g=null,!(!p||l)&&(l=setTimeout(function(){l=null,$()},50))},i),i.on("changeSession",$)}function t(e){o.call(this,e)}L.inherits(t,o),function(){this.setPosition=function(e,i){var n=window.innerWidth||document.documentElement.clientWidth,s=window.innerHeight||document.documentElement.clientHeight,l=this.getWidth(),g=this.getHeight();e+=15,i+=15,e+l>n&&(e-=e+l-n),i+g>s&&(i-=20+g),o.prototype.setPosition.call(this,e,i)}}.call(t.prototype),A.GutterHandler=a}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("../lib/event"),L=k("../lib/useragent"),d=A.MouseEvent=function(o,a){this.domEvent=o,this.editor=a,this.x=this.clientX=o.clientX,this.y=this.clientY=o.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){R.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){R.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var o=this.editor,a=o.getSelectionRange();if(a.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=a.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return R.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=L.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(d.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("../lib/dom"),L=k("../lib/event"),d=k("../lib/useragent"),o=200,a=200,t=5;function e(n){var s=n.editor,l=R.createElement("img");l.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d.isOpera&&(l.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var g=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];g.forEach(function(I){n[I]=this[I]},this),s.on("mousedown",this.onMouseDown.bind(n));var p=s.container,S,$,w,c,v,u,h=0,f,r,m,b,C;this.onDragStart=function(I){if(this.cancelDrag||!p.draggable){var P=this;return setTimeout(function(){P.startSelect(),P.captureMouse(I)},0),I.preventDefault()}v=s.getSelectionRange();var H=I.dataTransfer;H.effectAllowed=s.getReadOnly()?"copy":"copyMove",d.isOpera&&(s.container.appendChild(l),l.scrollTop=0),H.setDragImage&&H.setDragImage(l,0,0),d.isOpera&&s.container.removeChild(l),H.clearData(),H.setData("Text",s.session.getTextRange()),r=!0,this.setState("drag")},this.onDragEnd=function(I){if(p.draggable=!1,r=!1,this.setState(null),!s.getReadOnly()){var P=I.dataTransfer.dropEffect;!f&&P=="move"&&s.session.remove(s.getSelectionRange()),s.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(I){if(!(s.getReadOnly()||!M(I.dataTransfer)))return $=I.clientX,w=I.clientY,S||_(),h++,I.dataTransfer.dropEffect=f=B(I),L.preventDefault(I)},this.onDragOver=function(I){if(!(s.getReadOnly()||!M(I.dataTransfer)))return $=I.clientX,w=I.clientY,S||(_(),h++),F!==null&&(F=null),I.dataTransfer.dropEffect=f=B(I),L.preventDefault(I)},this.onDragLeave=function(I){if(h--,h<=0&&S)return T(),f=null,L.preventDefault(I)},this.onDrop=function(I){if(!!u){var P=I.dataTransfer;if(r)switch(f){case"move":v.contains(u.row,u.column)?v={start:u,end:u}:v=s.moveText(v,u);break;case"copy":v=s.moveText(v,u,!0);break}else{var H=P.getData("Text");v={start:u,end:s.session.insert(u,H)},s.focus(),f=null}return T(),L.preventDefault(I)}},L.addListener(p,"dragstart",this.onDragStart.bind(n),s),L.addListener(p,"dragend",this.onDragEnd.bind(n),s),L.addListener(p,"dragenter",this.onDragEnter.bind(n),s),L.addListener(p,"dragover",this.onDragOver.bind(n),s),L.addListener(p,"dragleave",this.onDragLeave.bind(n),s),L.addListener(p,"drop",this.onDrop.bind(n),s);function y(I,P){var H=Date.now(),K=!P||I.row!=P.row,X=!P||I.column!=P.column;if(!b||K||X)s.moveCursorToPosition(I),b=H,C={x:$,y:w};else{var ee=i(C.x,C.y,$,w);ee>t?b=null:H-b>=a&&(s.renderer.scrollCursorIntoView(),b=null)}}function E(I,P){var H=Date.now(),K=s.renderer.layerConfig.lineHeight,X=s.renderer.layerConfig.characterWidth,ee=s.renderer.scroller.getBoundingClientRect(),Y={x:{left:$-ee.left,right:ee.right-$},y:{top:w-ee.top,bottom:ee.bottom-w}},V=Math.min(Y.x.left,Y.x.right),Q=Math.min(Y.y.top,Y.y.bottom),U={row:I.row,column:I.column};V/X<=2&&(U.column+=Y.x.left=o&&s.renderer.scrollCursorIntoView(U):m=H:m=null}function x(){var I=u;u=s.renderer.screenToTextCoordinates($,w),y(u,I),E(u,I)}function _(){v=s.selection.toOrientedRange(),S=s.session.addMarker(v,"ace_selection",s.getSelectionStyle()),s.clearSelection(),s.isFocused()&&s.renderer.$cursorLayer.setBlinking(!1),clearInterval(c),x(),c=setInterval(x,20),h=0,L.addListener(document,"mousemove",O)}function T(){clearInterval(c),s.session.removeMarker(S),S=null,s.selection.fromOrientedRange(v),s.isFocused()&&!r&&s.$resetCursorStyle(),v=null,u=null,h=0,m=null,b=null,L.removeListener(document,"mousemove",O)}var F=null;function O(){F==null&&(F=setTimeout(function(){F!=null&&S&&T()},20))}function M(I){var P=I.types;return!P||Array.prototype.some.call(P,function(H){return H=="text/plain"||H=="Text"})}function B(I){var P=["copy","copymove","all","uninitialized"],H=["move","copymove","linkmove","all","uninitialized"],K=d.isMac?I.altKey:I.ctrlKey,X="uninitialized";try{X=I.dataTransfer.effectAllowed.toLowerCase()}catch(Y){}var ee="none";return K&&P.indexOf(X)>=0?ee="copy":H.indexOf(X)>=0?ee="move":P.indexOf(X)>=0&&(ee="copy"),ee}}(function(){this.dragWait=function(){var n=Date.now()-this.mousedownEvent.time;n>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var n=this.editor.container;n.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(n){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var n=this.editor,s=n.container;s.draggable=!0,n.renderer.$cursorLayer.setBlinking(!1),n.setStyle("ace_dragging");var l=d.isWin?"default":"move";n.renderer.setCursorStyle(l),this.setState("dragReady")},this.onMouseDrag=function(n){var s=this.editor.container;if(d.isIE&&this.state=="dragReady"){var l=i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);l>3&&s.dragDrop()}if(this.state==="dragWait"){var l=i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);l>0&&(s.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(n){if(!!this.$dragEnabled){this.mousedownEvent=n;var s=this.editor,l=n.inSelection(),g=n.getButton(),p=n.domEvent.detail||1;if(p===1&&g===0&&l){if(n.editor.inMultiSelectMode&&(n.getAccelKey()||n.getShiftKey()))return;this.mousedownEvent.time=Date.now();var S=n.domEvent.target||n.domEvent.srcElement;if("unselectable"in S&&(S.unselectable="on"),s.getDragDelay()){if(d.isWebKit){this.cancelDrag=!0;var $=s.container;$.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(n,this.onMouseDrag.bind(this)),n.defaultPrevented=!0}}}}).call(e.prototype);function i(n,s,l,g){return Math.sqrt(Math.pow(l-n,2)+Math.pow(g-s,2))}A.DragdropHandler=e}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(k,A,D){"use strict";var R=k("./mouse_event").MouseEvent,L=k("../lib/event"),d=k("../lib/dom");A.addTouchListeners=function(o,a){var t="scroll",e,i,n,s,l,g,p=0,S,$=0,w=0,c=0,v,u;function h(){var y=window.navigator&&window.navigator.clipboard,E=!1,x=function(){var T=a.getCopyText(),F=a.session.getUndoManager().hasUndo();u.replaceChild(d.buildDom(E?["span",!T&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],T&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],T&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],y&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],F&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Pallete"]]:["span"]),u.firstChild)},_=function(T){var F=T.target.getAttribute("action");if(F=="more"||!E)return E=!E,x();F=="paste"?y.readText().then(function(O){a.execCommand(F,O)}):F&&((F=="cut"||F=="copy")&&(y?y.writeText(a.getCopyText()):document.execCommand("copy")),a.execCommand(F)),u.firstChild.style.display="none",E=!1,F!="openCommandPallete"&&a.focus()};u=d.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(T){t="menu",T.stopPropagation(),T.preventDefault(),a.textInput.focus()},ontouchend:function(T){T.stopPropagation(),T.preventDefault(),_(T)},onclick:_},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],a.container)}function f(){u||h();var y=a.selection.cursor,E=a.renderer.textToScreenCoordinates(y.row,y.column),x=a.renderer.textToScreenCoordinates(0,0).pageX,_=a.renderer.scrollLeft,T=a.container.getBoundingClientRect();u.style.top=E.pageY-T.top-3+"px",E.pageX-T.left=2?a.selection.getLineRange(S.row):a.session.getBracketRange(S);y&&!y.isEmpty()?a.selection.setRange(y):a.selection.selectWord(),t="wait"}L.addListener(o,"contextmenu",function(y){if(!!v){var E=a.textInput.getElement();E.focus()}},a),L.addListener(o,"touchstart",function(y){var E=y.touches;if(l||E.length>1){clearTimeout(l),l=null,n=-1,t="zoom";return}v=a.$mouseHandler.isMousePressed=!0;var x=a.renderer.layerConfig.lineHeight,_=a.renderer.layerConfig.lineHeight,T=y.timeStamp;s=T;var F=E[0],O=F.clientX,M=F.clientY;Math.abs(e-O)+Math.abs(i-M)>x&&(n=-1),e=y.clientX=O,i=y.clientY=M,w=c=0;var B=new R(y,a);if(S=B.getDocumentPosition(),T-n<500&&E.length==1&&!p)$++,y.preventDefault(),y.button=0,b();else{$=0;var I=a.selection.cursor,P=a.selection.isEmpty()?I:a.selection.anchor,H=a.renderer.$cursorLayer.getPixelPosition(I,!0),K=a.renderer.$cursorLayer.getPixelPosition(P,!0),X=a.renderer.scroller.getBoundingClientRect(),ee=a.renderer.layerConfig.offset,Y=a.renderer.scrollLeft,V=function(J,j){return J=J/_,j=j/x-.75,J*J+j*j};if(y.clientXU?"cursor":"anchor"),U<3.5?t="anchor":Q<3.5?t="cursor":t="scroll",l=setTimeout(m,450)}n=T},a),L.addListener(o,"touchend",function(y){v=a.$mouseHandler.isMousePressed=!1,g&&clearInterval(g),t=="zoom"?(t="",p=0):l?(a.selection.moveToPosition(S),p=0,f()):t=="scroll"?(C(),r()):f(),clearTimeout(l),l=null},a),L.addListener(o,"touchmove",function(y){l&&(clearTimeout(l),l=null);var E=y.touches;if(!(E.length>1||t=="zoom")){var x=E[0],_=e-x.clientX,T=i-x.clientY;if(t=="wait")if(_*_+T*T>4)t="cursor";else return y.preventDefault();e=x.clientX,i=x.clientY,y.clientX=x.clientX,y.clientY=x.clientY;var F=y.timeStamp,O=F-s;if(s=F,t=="scroll"){var M=new R(y,a);M.speed=1,M.wheelX=_,M.wheelY=T,10*Math.abs(_)1&&(S=g[g.length-2]);var w=t[l+"Path"];return w==null?w=t.basePath:p=="/"&&(l=p=""),w&&w.slice(-1)!="/"&&(w+="/"),w+l+p+S+this.get("suffix")},A.setModuleUrl=function(s,l){return t.$moduleUrls[s]=l},A.$loading={},A.loadModule=function(s,l){var g,p;Array.isArray(s)&&(p=s[0],s=s[1]);try{g=k(s)}catch($){}if(g&&!A.$loading[s])return l&&l(g);if(A.$loading[s]||(A.$loading[s]=[]),A.$loading[s].push(l),!(A.$loading[s].length>1)){var S=function(){k([s],function($){A._emit("load.module",{name:s,module:$});var w=A.$loading[s];A.$loading[s]=null,w.forEach(function(c){c&&c($)})})};if(!A.get("packaged"))return S();d.loadScript(A.moduleUrl(s,p),S),e()}};var e=function(){!t.basePath&&!t.workerPath&&!t.modePath&&!t.themePath&&!Object.keys(t.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),e=function(){})};i(!0);function i(s){if(!(!a||!a.document)){t.packaged=s||k.packaged||D.packaged||a.define&&le.amdD.packaged;for(var l={},g="",p=document.currentScript||document._currentScript,S=p&&p.ownerDocument||document,$=S.getElementsByTagName("script"),w=0;w<$.length;w++){var c=$[w],v=c.src||c.getAttribute("src");if(!!v){for(var u=c.attributes,h=0,f=u.length;h0)if(he==16){for(W=ce;W-1){for(W=ce;W=0&&U[Z]==m;Z--)V[Z]=d}}}function H(Y,V,Q){if(!(o=Y){for(j=J+1;j=Y;)j++;for(q=J,G=j-1;q=V.length||(j=Q[U-1])!=c&&j!=v||(q=V[U+1])!=c&&q!=v?u:(a&&(q=v),q==j?q:u);case C:return j=U>0?Q[U-1]:h,j==c&&U+10&&Q[U-1]==c)return c;if(a)return u;for(ie=U+1,G=V.length;ie=1425&&he<=2303||he==64286;if(j=V[ie],de&&(j==w||j==r))return w}return U<1||(j=V[U-1])==h?u:Q[U-1];case h:return a=!1,e=!0,d;case f:return i=!0,u;case x:case _:case F:case O:case T:a=!1;case M:return u}}function X(Y){var V=Y.charCodeAt(0),Q=V>>8;return Q==0?V>191?$:B[V]:Q==5?/[\u0591-\u05f4]/.test(Y)?w:$:Q==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(Y)?E:/[\u0660-\u0669\u066b-\u066c]/.test(Y)?v:V==1642?y:/[\u06f0-\u06f9]/.test(Y)?c:r:Q==32&&V<=8287?I[V&255]:Q==254&&V>=65136?r:u}function ee(Y){return Y>="\u064B"&&Y<="\u0655"}A.L=$,A.R=w,A.EN=c,A.ON_R=3,A.AN=4,A.R_H=5,A.B=6,A.RLE=7,A.DOT="\xB7",A.doBidiReorder=function(Y,V,Q){if(Y.length<2)return{};var U=Y.split(""),J=new Array(U.length),j=new Array(U.length),q=[];d=Q?S:p,P(U,q,U.length,V);for(var G=0;Gr&&V[G]0&&U[G-1]==="\u0644"&&/\u0622|\u0623|\u0625|\u0627/.test(U[G])&&(q[G-1]=q[G]=A.R_H,G++);U[U.length-1]===A.DOT&&(q[U.length-1]=A.B),U[0]==="\u202B"&&(q[0]=A.RLE);for(var G=0;G=0&&(a=this.session.$docRowCache[e])}return a},this.getSplitIndex=function(){var a=0,t=this.session.$screenRowCache;if(t.length)for(var e,i=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-a>0&&(e=this.session.$getRowCacheIndex(t,this.currentRow-a-1),e===i);)i=e,a++;else a=this.currentRow;return a},this.updateRowLine=function(a,t){a===void 0&&(a=this.getDocumentRow());var e=a===this.session.getLength()-1,i=e?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(a),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var n=this.session.$wrapData[a];n&&(t===void 0&&(t=this.getSplitIndex()),t>0&&n.length?(this.wrapIndent=n.indent,this.wrapOffset=this.wrapIndent*this.charWidths[R.L],this.line=tt?this.session.getOverwrite()?a:a-1:t,i=R.getVisualFromLogicalIdx(e,this.bidiMap),n=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&a<=t&&n[i]%2!==0&&i++;for(var l=0;lt&&n[i]%2===0&&(s+=this.charWidths[n[i]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},this.getSelections=function(a,t){var e=this.bidiMap,i=e.bidiLevels,n,s=[],l=0,g=Math.min(a,t)-this.wrapIndent,p=Math.max(a,t)-this.wrapIndent,S=!1,$=!1,w=0;this.wrapIndent&&(l+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var c,v=0;v=g&&ci+l/2;){if(i+=l,n===s.length-1){l=0;break}l=this.charWidths[s[++n]]}return n>0&&s[n-1]%2!==0&&s[n]%2===0?(e0&&s[n-1]%2===0&&s[n]%2!==0?t=1+(e>i?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===s.length-1&&l===0&&s[n-1]%2===0||!this.isRtlDir&&n===0&&s[n]%2!==0?t=1+this.bidiMap.logicalFromVisual[n]:(n>0&&s[n-1]%2!==0&&l!==0&&n--,t=this.bidiMap.logicalFromVisual[n]),t===0&&this.isRtlDir&&t++,t+this.wrapIndent}}).call(o.prototype),A.BidiHandler=o}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(k,A,D){"use strict";var R=k("./lib/oop"),L=k("./lib/lang"),d=k("./lib/event_emitter").EventEmitter,o=k("./range").Range,a=function(t){this.session=t,this.doc=t.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var e=this;this.cursor.on("change",function(i){e.$cursorChanged=!0,e.$silent||e._emit("changeCursor"),!e.$isEmpty&&!e.$silent&&e._emit("changeSelection"),!e.$keepDesiredColumnOnChange&&i.old.column!=i.value.column&&(e.$desiredColumn=null)}),this.anchor.on("change",function(){e.$anchorChanged=!0,!e.$isEmpty&&!e.$silent&&e._emit("changeSelection")})};(function(){R.implement(this,d),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(t,e){this.$isEmpty=!1,this.anchor.setPosition(t,e)},this.getAnchor=this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var t=this.anchor,e=this.lead;return t.row>e.row||t.row==e.row&&t.column>e.column},this.getRange=function(){var t=this.anchor,e=this.lead;return this.$isEmpty?o.fromPoints(e,e):this.isBackwards()?o.fromPoints(e,t):o.fromPoints(t,e)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(t,e){var i=e?t.end:t.start,n=e?t.start:t.end;this.$setSelection(i.row,i.column,n.row,n.column)},this.$setSelection=function(t,e,i,n){if(!this.$silent){var s=this.$isEmpty,l=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(t,e),this.cursor.setPosition(i,n),this.$isEmpty=!o.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||s!=this.$isEmpty||l)&&this._emit("changeSelection")}},this.$moveSelection=function(t){var e=this.lead;this.$isEmpty&&this.setSelectionAnchor(e.row,e.column),t.call(this)},this.selectTo=function(t,e){this.$moveSelection(function(){this.moveCursorTo(t,e)})},this.selectToPosition=function(t){this.$moveSelection(function(){this.moveCursorToPosition(t)})},this.moveTo=function(t,e){this.clearSelection(),this.moveCursorTo(t,e)},this.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(t,e){if(typeof e=="undefined"){var i=t||this.lead;t=i.row,e=i.column}return this.session.getWordRange(t,e)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var t=this.getCursor(),e=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(e)},this.getLineRange=function(t,e){var i=typeof t=="number"?t:this.lead.row,n,s=this.session.getFoldLine(i);return s?(i=s.start.row,n=s.end.row):n=i,e===!0?new o(i,0,n,this.session.getLine(n).length):new o(i,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(t,e,i){var n=t.column,s=t.column+e;return i<0&&(n=t.column-e,s=t.column),this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(n,s).split(" ").length-1==e},this.moveCursorLeft=function(){var t=this.lead.getPosition(),e;if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(t.column===0)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var i=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,i,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-i):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var t=this.lead.getPosition(),e;if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(e.column=n)}}this.moveCursorTo(e.row,e.column)},this.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,e=this.doc.getLine(t).length;this.moveCursorTo(t,e)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var t=this.lead.row,e=this.lead.column,i=this.doc.getLine(t),n=i.substring(e);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var s=this.session.getFoldAt(t,e,1);if(s){this.moveCursorTo(s.end.row,s.end.column);return}if(this.session.nonTokenRe.exec(n)&&(e+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=i.substring(e)),e>=i.length){this.moveCursorTo(t,i.length),this.moveCursorRight(),t0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(s)&&(e-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,e)},this.$shortWordEndIndex=function(t){var e=0,i,n=/\s/,s=this.session.tokenRe;if(s.lastIndex=0,this.session.tokenRe.exec(t))e=this.session.tokenRe.lastIndex;else{for(;(i=t[e])&&n.test(i);)e++;if(e<1){for(s.lastIndex=0;(i=t[e])&&!s.test(i);)if(s.lastIndex=0,e++,n.test(i))if(e>2){e--;break}else{for(;(i=t[e])&&n.test(i);)e++;if(e>2)break}}}return s.lastIndex=0,e},this.moveCursorShortWordRight=function(){var t=this.lead.row,e=this.lead.column,i=this.doc.getLine(t),n=i.substring(e),s=this.session.getFoldAt(t,e,1);if(s)return this.moveCursorTo(s.end.row,s.end.column);if(e==i.length){var l=this.doc.getLength();do t++,n=this.doc.getLine(t);while(t0&&/^\s*$/.test(n));e=n.length,/\s+$/.test(n)||(n="")}var s=L.stringReverse(n),l=this.$shortWordEndIndex(s);return this.moveCursorTo(t,e-l)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(t,e){var i=this.session.documentToScreenPosition(this.lead.row,this.lead.column),n;if(e===0&&(t!==0&&(this.session.$bidiHandler.isBidiRow(i.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(i.column),i.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=i.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column),t!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var s=this.session.lineWidgets[this.lead.row];t<0?t-=s.rowsAbove||0:t>0&&(t+=s.rowCount-(s.rowsAbove||0))}var l=this.session.screenToDocumentPosition(i.row+t,i.column,n);t!==0&&e===0&&l.row===this.lead.row&&(l.column,this.lead.column),this.moveCursorTo(l.row,l.column+e,e===0)},this.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},this.moveCursorTo=function(t,e,i){var n=this.session.getFoldAt(t,e,1);n&&(t=n.start.row,e=n.start.column),this.$keepDesiredColumnOnChange=!0;var s=this.session.getLine(t);/[\uDC00-\uDFFF]/.test(s.charAt(e))&&s.charAt(e-1)&&(this.lead.row==t&&this.lead.column==e+1?e=e-1:e=e+1),this.lead.setPosition(t,e),this.$keepDesiredColumnOnChange=!1,i||(this.$desiredColumn=null)},this.moveCursorToScreen=function(t,e,i){var n=this.session.screenToDocumentPosition(t,e);this.moveCursorTo(n.row,n.column,i)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(t){var e=this.getRange();return t?(t.start.column=e.start.column,t.start.row=e.start.row,t.end.column=e.end.column,t.end.row=e.end.row):t=e,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},this.getRangeOfMovements=function(t){var e=this.getCursor();try{t(this);var i=this.getCursor();return o.fromPoints(e,i)}catch(n){return o.fromPoints(e,e)}finally{this.moveCursorToPosition(e)}},this.toJSON=function(){if(this.rangeCount)var t=this.ranges.map(function(e){var i=e.clone();return i.isBackwards=e.cursor==e.start,i});else{var t=this.getRange();t.isBackwards=this.isBackwards()}return t},this.fromJSON=function(t){if(t.start==null)if(this.rangeList&&t.length>1){this.toSingleRange(t[0]);for(var e=t.length;e--;){var i=o.fromPoints(t[e].start,t[e].end);t[e].isBackwards&&(i.cursor=i.start),this.addRange(i,!0)}return}else t=t[0];this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},this.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var e=this.ranges.length;e--;)if(!this.ranges[e].isEqual(t[e]))return!1;return!0}}).call(a.prototype),A.Selection=a}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(k,A,D){"use strict";var R=k("./config"),L=2e3,d=function(o){this.states=o,this.regExps={},this.matchMappings={};for(var a in this.states){for(var t=this.states[a],e=[],i=0,n=this.matchMappings[a]={defaultToken:"text"},s="g",l=[],g=0;g1?p.onMatch=this.$applyToken:p.onMatch=p.token),$>1&&(/\\\d/.test(p.regex)?S=p.regex.replace(/\\([0-9]+)/g,function(w,c){return"\\"+(parseInt(c,10)+i+1)}):($=1,S=this.removeCapturingGroups(p.regex)),!p.splitRegex&&typeof p.token!="string"&&l.push(p)),n[i]=g,i+=$,e.push(S),p.onMatch||(p.onMatch=null)}}e.length||(n[0]=0,e.push("$")),l.forEach(function(w){w.splitRegex=this.createSplitterRegexp(w.regex,s)},this),this.regExps[a]=new RegExp("("+e.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(o){L=o|0},this.$applyToken=function(o){var a=this.splitRegex.exec(o).slice(1),t=this.token.apply(this,a);if(typeof t=="string")return[{type:t,value:o}];for(var e=[],i=0,n=t.length;ip){var h=o.substring(p,u-v.length);$.type==w?$.value+=h:($.type&&g.push($),$={type:w,value:h})}for(var f=0;fL){for(S>2*o.length&&this.reportError("infinite loop with in ace tokenizer",{startState:a,line:o});p1&&t[0]!==e&&t.unshift("#tmp",e),{tokens:g,state:t.length?t:e}},this.reportError=R.reportError}).call(d.prototype),A.Tokenizer=d}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(k,A,D){"use strict";var R=k("../lib/lang"),L=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(a,t){if(!t){for(var e in a)this.$rules[e]=a[e];return}for(var e in a){for(var i=a[e],n=0;n=this.$rowTokens.length;){if(this.$row+=1,d||(d=this.$session.getLength()),this.$row>=d)return this.$row=d-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var d=this.$rowTokens,o=this.$tokenIndex,a=d[o].start;if(a!==void 0)return a;for(a=0;o>0;)o-=1,a+=d[o].value.length;return a},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var d=this.$rowTokens[this.$tokenIndex],o=this.getCurrentTokenColumn();return new R(this.$row,o,this.$row,o+d.value.length)}}).call(L.prototype),A.TokenIterator=L}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(k,A,D){"use strict";var R=k("../../lib/oop"),L=k("../behaviour").Behaviour,d=k("../../token_iterator").TokenIterator,o=k("../../lib/lang"),a=["text","paren.rparen","rparen","paren","punctuation.operator"],t=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],e,i={},n={'"':'"',"'":"'"},s=function(p){var S=-1;if(p.multiSelect&&(S=p.selection.index,i.rangeCount!=p.multiSelect.rangeCount&&(i={rangeCount:p.multiSelect.rangeCount})),i[S])return e=i[S];e=i[S]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},l=function(p,S,$,w){var c=p.end.row-p.start.row;return{text:$+S+w,selection:[0,p.start.column+1,c,p.end.column+(c?0:1)]}},g=function(p){this.add("braces","insertion",function(S,$,w,c,v){var u=w.getCursorPosition(),h=c.doc.getLine(u.row);if(v=="{"){s(w);var f=w.getSelectionRange(),r=c.doc.getTextRange(f);if(r!==""&&r!=="{"&&w.getWrapBehavioursEnabled())return l(f,r,"{","}");if(g.isSaneInsertion(w,c))return/[\]\}\)]/.test(h[u.column])||w.inMultiSelectMode||p&&p.braces?(g.recordAutoInsert(w,c,"}"),{text:"{}",selection:[1,1]}):(g.recordMaybeInsert(w,c,"{"),{text:"{",selection:[1,1]})}else if(v=="}"){s(w);var m=h.substring(u.column,u.column+1);if(m=="}"){var b=c.$findOpeningBracket("}",{column:u.column+1,row:u.row});if(b!==null&&g.isAutoInsertedClosing(u,h,v))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(v==` -`||v==`\r -`){s(w);var C="";g.isMaybeInsertedClosing(u,h)&&(C=o.stringRepeat("}",e.maybeInsertedBrackets),g.clearMaybeInsertedClosing());var m=h.substring(u.column,u.column+1);if(m==="}"){var y=c.findMatchingBracket({row:u.row,column:u.column+1},"}");if(!y)return null;var E=this.$getIndent(c.getLine(y.row))}else if(C)var E=this.$getIndent(h);else{g.clearMaybeInsertedClosing();return}var x=E+c.getTabString();return{text:` -`+x+` -`+E+C,selection:[1,x.length,1,x.length]}}else g.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(S,$,w,c,v){var u=c.doc.getTextRange(v);if(!v.isMultiLine()&&u=="{"){s(w);var h=c.doc.getLine(v.start.row),f=h.substring(v.end.column,v.end.column+1);if(f=="}")return v.end.column++,v;e.maybeInsertedBrackets--}}),this.add("parens","insertion",function(S,$,w,c,v){if(v=="("){s(w);var u=w.getSelectionRange(),h=c.doc.getTextRange(u);if(h!==""&&w.getWrapBehavioursEnabled())return l(u,h,"(",")");if(g.isSaneInsertion(w,c))return g.recordAutoInsert(w,c,")"),{text:"()",selection:[1,1]}}else if(v==")"){s(w);var f=w.getCursorPosition(),r=c.doc.getLine(f.row),m=r.substring(f.column,f.column+1);if(m==")"){var b=c.$findOpeningBracket(")",{column:f.column+1,row:f.row});if(b!==null&&g.isAutoInsertedClosing(f,r,v))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(S,$,w,c,v){var u=c.doc.getTextRange(v);if(!v.isMultiLine()&&u=="("){s(w);var h=c.doc.getLine(v.start.row),f=h.substring(v.start.column+1,v.start.column+2);if(f==")")return v.end.column++,v}}),this.add("brackets","insertion",function(S,$,w,c,v){if(v=="["){s(w);var u=w.getSelectionRange(),h=c.doc.getTextRange(u);if(h!==""&&w.getWrapBehavioursEnabled())return l(u,h,"[","]");if(g.isSaneInsertion(w,c))return g.recordAutoInsert(w,c,"]"),{text:"[]",selection:[1,1]}}else if(v=="]"){s(w);var f=w.getCursorPosition(),r=c.doc.getLine(f.row),m=r.substring(f.column,f.column+1);if(m=="]"){var b=c.$findOpeningBracket("]",{column:f.column+1,row:f.row});if(b!==null&&g.isAutoInsertedClosing(f,r,v))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(S,$,w,c,v){var u=c.doc.getTextRange(v);if(!v.isMultiLine()&&u=="["){s(w);var h=c.doc.getLine(v.start.row),f=h.substring(v.start.column+1,v.start.column+2);if(f=="]")return v.end.column++,v}}),this.add("string_dquotes","insertion",function(S,$,w,c,v){var u=c.$mode.$quotes||n;if(v.length==1&&u[v]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(v)!=-1)return;s(w);var h=v,f=w.getSelectionRange(),r=c.doc.getTextRange(f);if(r!==""&&(r.length!=1||!u[r])&&w.getWrapBehavioursEnabled())return l(f,r,h,h);if(!r){var m=w.getCursorPosition(),b=c.doc.getLine(m.row),C=b.substring(m.column-1,m.column),y=b.substring(m.column,m.column+1),E=c.getTokenAt(m.row,m.column),x=c.getTokenAt(m.row,m.column+1);if(C=="\\"&&E&&/escape/.test(E.type))return null;var _=E&&/string|escape/.test(E.type),T=!x||/string|escape/.test(x.type),F;if(y==h)F=_!==T,F&&/string\.end/.test(x.type)&&(F=!1);else{if(_&&!T||_&&T)return null;var O=c.$mode.tokenRe;O.lastIndex=0;var M=O.test(C);O.lastIndex=0;var B=O.test(C);if(M||B||y&&!/[\s;,.})\]\\]/.test(y))return null;var I=b[m.column-2];if(C==h&&(I==h||O.test(I)))return null;F=!0}return{text:F?h+h:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(S,$,w,c,v){var u=c.$mode.$quotes||n,h=c.doc.getTextRange(v);if(!v.isMultiLine()&&u.hasOwnProperty(h)){s(w);var f=c.doc.getLine(v.start.row),r=f.substring(v.start.column+1,v.start.column+2);if(r==h)return v.end.column++,v}})};g.isSaneInsertion=function(p,S){var $=p.getCursorPosition(),w=new d(S,$.row,$.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",a)){if(/[)}\]]/.test(p.session.getLine($.row)[$.column]))return!0;var c=new d(S,$.row,$.column+1);if(!this.$matchTokenType(c.getCurrentToken()||"text",a))return!1}return w.stepForward(),w.getCurrentTokenRow()!==$.row||this.$matchTokenType(w.getCurrentToken()||"text",t)},g.$matchTokenType=function(p,S){return S.indexOf(p.type||p)>-1},g.recordAutoInsert=function(p,S,$){var w=p.getCursorPosition(),c=S.doc.getLine(w.row);this.isAutoInsertedClosing(w,c,e.autoInsertedLineEnd[0])||(e.autoInsertedBrackets=0),e.autoInsertedRow=w.row,e.autoInsertedLineEnd=$+c.substr(w.column),e.autoInsertedBrackets++},g.recordMaybeInsert=function(p,S,$){var w=p.getCursorPosition(),c=S.doc.getLine(w.row);this.isMaybeInsertedClosing(w,c)||(e.maybeInsertedBrackets=0),e.maybeInsertedRow=w.row,e.maybeInsertedLineStart=c.substr(0,w.column)+$,e.maybeInsertedLineEnd=c.substr(w.column),e.maybeInsertedBrackets++},g.isAutoInsertedClosing=function(p,S,$){return e.autoInsertedBrackets>0&&p.row===e.autoInsertedRow&&$===e.autoInsertedLineEnd[0]&&S.substr(p.column)===e.autoInsertedLineEnd},g.isMaybeInsertedClosing=function(p,S){return e.maybeInsertedBrackets>0&&p.row===e.maybeInsertedRow&&S.substr(p.column)===e.maybeInsertedLineEnd&&S.substr(0,p.column)==e.maybeInsertedLineStart},g.popAutoInsertedClosing=function(){e.autoInsertedLineEnd=e.autoInsertedLineEnd.substr(1),e.autoInsertedBrackets--},g.clearMaybeInsertedClosing=function(){e&&(e.maybeInsertedBrackets=0,e.maybeInsertedRow=-1)},R.inherits(g,L),A.CstyleBehaviour=g}),ace.define("ace/unicode",["require","exports","module"],function(k,A,D){"use strict";for(var R=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],L=0,d=[],o=0;o2?H%v!=v-1:H%v==0}}else{if(!this.blockComment)return!1;var h=this.blockComment.start,f=this.blockComment.end,r=new RegExp("^(\\s*)(?:"+t.escapeRegExp(h)+")"),m=new RegExp("(?:"+t.escapeRegExp(f)+")\\s*$"),b=function(F,O){y(F,O)||(!$||/\S/.test(F))&&(S.insertInLine({row:O,column:F.length},f),S.insertInLine({row:O,column:c},h))},C=function(F,O){var M;(M=F.match(m))&&S.removeInLine(O,F.length-M[0].length,F.length),(M=F.match(r))&&S.removeInLine(O,M[1].length,M[0].length)},y=function(F,O){if(r.test(F))return!0;for(var M=l.getTokens(O),B=0;BF.length&&(T=F.length)}),c==1/0&&(c=T,$=!1,w=!1),u&&c%v!=0&&(c=Math.floor(c/v)*v),_(w?C:b)},this.toggleBlockComment=function(s,l,g,p){var S=this.blockComment;if(!!S){!S.start&&S[0]&&(S=S[0]);var $=new e(l,p.row,p.column),w=$.getCurrentToken(),c=l.selection,v=l.selection.toOrientedRange(),u,h;if(w&&/comment/.test(w.type)){for(var f,r;w&&/comment/.test(w.type);){var m=w.value.indexOf(S.start);if(m!=-1){var b=$.getCurrentTokenRow(),C=$.getCurrentTokenColumn()+m;f=new i(b,C,b,C+S.start.length);break}w=$.stepBackward()}for(var $=new e(l,p.row,p.column),w=$.getCurrentToken();w&&/comment/.test(w.type);){var m=w.value.indexOf(S.end);if(m!=-1){var b=$.getCurrentTokenRow(),C=$.getCurrentTokenColumn()+m;r=new i(b,C,b,C+S.end.length);break}w=$.stepForward()}r&&l.remove(r),f&&(l.remove(f),u=f.start.row,h=-S.start.length)}else h=S.start.length,u=g.start.row,l.insert(g.end,S.end),l.insert(g.start,S.start);v.start.row==u&&(v.start.column+=h),v.end.row==u&&(v.end.column+=h),l.selection.fromOrientedRange(v)}},this.getNextLineIndent=function(s,l,g){return this.$getIndent(l)},this.checkOutdent=function(s,l,g){return!1},this.autoOutdent=function(s,l,g){},this.$getIndent=function(s){return s.match(/^\s*/)[0]},this.createWorker=function(s){return null},this.createModeDelegates=function(s){this.$embeds=[],this.$modes={};for(var l in s)if(s[l]){var g=s[l],p=g.prototype.$id,S=R.$modes[p];S||(R.$modes[p]=S=new g),R.$modes[l]||(R.$modes[l]=S),this.$embeds.push(l),this.$modes[l]=S}for(var $=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],l=0;l<$.length;l++)(function(c){var v=$[l],u=c[v];c[$[l]]=function(){return this.$delegator(v,arguments,u)}})(this)},this.$delegator=function(s,l,g){var p=l[0]||"start";if(typeof p!="string"){if(Array.isArray(p[2])){var S=p[2][p[2].length-1],$=this.$modes[S];if($)return $[s].apply($,[p[1]].concat([].slice.call(l,1)))}p=p[0]||"start"}for(var w=0;w=0&&a.row=0&&a.column<=o[a.row].length}function d(o,a){a.action!="insert"&&a.action!="remove"&&R(a,"delta.action must be 'insert' or 'remove'"),a.lines instanceof Array||R(a,"delta.lines must be an Array"),(!a.start||!a.end)&&R(a,"delta.start/end must be an present");var t=a.start;L(o,a.start)||R(a,"delta.start must be contained in document");var e=a.end;a.action=="remove"&&!L(o,e)&&R(a,"delta.end must contained in document for 'remove' actions");var i=e.row-t.row,n=e.column-(i==0?t.column:0);(i!=a.lines.length-1||a.lines[i].length!=n)&&R(a,"delta.range must match delta lines")}A.applyDelta=function(o,a,t){var e=a.start.row,i=a.start.column,n=o[e]||"";switch(a.action){case"insert":var s=a.lines;if(s.length===1)o[e]=n.substring(0,i)+a.lines[0]+n.substring(i);else{var l=[e,1].concat(a.lines);o.splice.apply(o,l),o[e]=n.substring(0,i)+o[e],o[e+a.lines.length-1]+=n.substring(i)}break;case"remove":var g=a.end.column,p=a.end.row;e===p?o[e]=n.substring(0,i)+n.substring(g):o.splice(e,p-e+1,n.substring(0,i)+o[p].substring(g));break}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(k,A,D){"use strict";var R=k("./lib/oop"),L=k("./lib/event_emitter").EventEmitter,d=A.Anchor=function(o,a,t){this.$onChange=this.onChange.bind(this),this.attach(o),typeof t=="undefined"?this.setPosition(a.row,a.column):this.setPosition(a,t)};(function(){R.implement(this,L),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row)&&!(t.start.row>this.row)){var e=a(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(e.row,e.column,!0)}};function o(t,e,i){var n=i?t.column<=e.column:t.column=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):t<0?(i.row=0,i.column=0):(i.row=t,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,e))),e<0&&(i.column=0),i}}).call(d.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(k,A,D){"use strict";var R=k("./lib/oop"),L=k("./apply_delta").applyDelta,d=k("./lib/event_emitter").EventEmitter,o=k("./range").Range,a=k("./anchor").Anchor,t=function(e){this.$lines=[""],e.length===0?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){R.implement(this,d),this.setValue=function(e){var i=this.getLength()-1;this.remove(new o(0,0,i,this.getLine(i).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,i){return new a(this,e,i)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,` -`).split(` -`)}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var i=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=i?i[1]:` -`,this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r -`;case"unix":return` -`;default:return this.$autoNewLine||` -`}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e==`\r -`||e=="\r"||e==` -`},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,i){return this.$lines.slice(e,i+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var i;if(e.start.row===e.end.row)i=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{i=this.getLines(e.start.row,e.end.row),i[0]=(i[0]||"").substring(e.start.column);var n=i.length-1;e.end.row-e.start.row==n&&(i[n]=i[n].substring(0,e.end.column))}return i},this.insertLines=function(e,i){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,i)},this.removeLines=function(e,i){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,i)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,i){return this.getLength()<=1&&this.$detectNewLine(i),this.insertMergedLines(e,this.$split(i))},this.insertInLine=function(e,i){var n=this.clippedPos(e.row,e.column),s=this.pos(e.row,e.column+i.length);return this.applyDelta({start:n,end:s,action:"insert",lines:[i]},!0),this.clonePos(s)},this.clippedPos=function(e,i){var n=this.getLength();e===void 0?e=n:e<0?e=0:e>=n&&(e=n-1,i=void 0);var s=this.getLine(e);return i==null&&(i=s.length),i=Math.min(Math.max(i,0),s.length),{row:e,column:i}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,i){return{row:e,column:i}},this.$clipPosition=function(e){var i=this.getLength();return e.row>=i?(e.row=Math.max(0,i-1),e.column=this.getLine(i-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,i){e=Math.min(Math.max(e,0),this.getLength());var n=0;e0,s=i=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,i){if(e instanceof o||(e=o.fromPoints(e.start,e.end)),i.length===0&&e.isEmpty())return e.start;if(i==this.getTextRange(e))return e.end;this.remove(e);var n;return i?n=this.insert(e.start,i):n=e.start,n},this.applyDeltas=function(e){for(var i=0;i=0;i--)this.revertDelta(e[i])},this.applyDelta=function(e,i){var n=e.action=="insert";(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(L(this.$lines,e,i),this._signal("change",e)))},this.$safeApplyDelta=function(e){var i=this.$lines.length;(e.action=="remove"&&e.start.row20){t.running=setTimeout(t.$worker,20);break}}t.currentLine=i,n==-1&&(n=i),l<=n&&t.fireUpdateEvent(l,n)}}};(function(){R.implement(this,L),this.setTokenizer=function(o){this.tokenizer=o,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(o){this.doc=o,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(o,a){var t={first:o,last:a};this._signal("update",{data:t})},this.start=function(o){this.currentLine=Math.min(o||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(o){var a=o.start.row,t=o.end.row-a;if(t===0)this.lines[a]=null;else if(o.action=="remove")this.lines.splice(a,t+1,null),this.states.splice(a,t+1,null);else{var e=Array(t+1);e.unshift(a,1),this.lines.splice.apply(this.lines,e),this.states.splice.apply(this.states,e)}this.currentLine=Math.min(a,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(o){return this.lines[o]||this.$tokenizeRow(o)},this.getState=function(o){return this.currentLine==o&&this.$tokenizeRow(o),this.states[o]||"start"},this.$tokenizeRow=function(o){var a=this.doc.getLine(o),t=this.states[o-1],e=this.tokenizer.getLineTokens(a,t,o);return this.states[o]+""!=e.state+""?(this.states[o]=e.state,this.lines[o+1]=null,this.currentLine>o+1&&(this.currentLine=o+1)):this.currentLine==o&&(this.currentLine=o+1),this.lines[o]=e.tokens}}).call(d.prototype),A.BackgroundTokenizer=d}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(k,A,D){"use strict";var R=k("./lib/lang"),L=k("./lib/oop"),d=k("./range").Range,o=function(a,t,e){this.setRegexp(a),this.clazz=t,this.type=e||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(a){this.regExp+""!=a+""&&(this.regExp=a,this.cache=[])},this.update=function(a,t,e,i){if(!!this.regExp)for(var n=i.firstRow,s=i.lastRow,l=n;l<=s;l++){var g=this.cache[l];g==null&&(g=R.getMatchOffsets(e.getLine(l),this.regExp),g.length>this.MAX_RANGES&&(g=g.slice(0,this.MAX_RANGES)),g=g.map(function(S){return new d(l,S.offset,l,S.offset+S.length)}),this.cache[l]=g.length?g:"");for(var p=g.length;p--;)t.drawSingleLineMarker(a,g[p].toScreenRange(e),this.clazz,i)}}}).call(o.prototype),A.SearchHighlight=o}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(k,A,D){"use strict";var R=k("../range").Range;function L(d,o){this.foldData=d,Array.isArray(o)?this.folds=o:o=this.folds=[o];var a=o[o.length-1];this.range=new R(o[0].start.row,o[0].start.column,a.end.row,a.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(t){t.setFoldLine(this)},this)}(function(){this.shiftRow=function(d){this.start.row+=d,this.end.row+=d,this.folds.forEach(function(o){o.start.row+=d,o.end.row+=d})},this.addFold=function(d){if(d.sameRow){if(d.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(d),this.folds.sort(function(o,a){return-o.range.compareEnd(a.start.row,a.start.column)}),this.range.compareEnd(d.start.row,d.start.column)>0?(this.end.row=d.end.row,this.end.column=d.end.column):this.range.compareStart(d.end.row,d.end.column)<0&&(this.start.row=d.start.row,this.start.column=d.start.column)}else if(d.start.row==this.end.row)this.folds.push(d),this.end.row=d.end.row,this.end.column=d.end.column;else if(d.end.row==this.start.row)this.folds.unshift(d),this.start.row=d.start.row,this.start.column=d.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");d.foldLine=this},this.containsRow=function(d){return d>=this.start.row&&d<=this.end.row},this.walk=function(d,o,a){var t=0,e=this.folds,i,n,s,l=!0;o==null&&(o=this.end.row,a=this.end.column);for(var g=0;g0)){var l=L(o,n.start);return s===0?a&&l!==0?-i-2:i:l>0||l===0&&!a?i:-i-1}}return-i-1},this.add=function(o){var a=!o.isEmpty(),t=this.pointIndex(o.start,a);t<0&&(t=-t-1);var e=this.pointIndex(o.end,a,t);return e<0?e=-e-1:e++,this.ranges.splice(t,e-t,o)},this.addList=function(o){for(var a=[],t=o.length;t--;)a.push.apply(a,this.add(o[t]));return a},this.substractPoint=function(o){var a=this.pointIndex(o);if(a>=0)return this.ranges.splice(a,1)},this.merge=function(){var o=[],a=this.ranges;a=a.sort(function(s,l){return L(s.start,l.start)});for(var t=a[0],e,i=1;i=0},this.containsPoint=function(o){return this.pointIndex(o)>=0},this.rangeAtPoint=function(o){var a=this.pointIndex(o);if(a>=0)return this.ranges[a]},this.clipRows=function(o,a){var t=this.ranges;if(t[0].start.row>a||t[t.length-1].start.row=e)break}if(o.action=="insert")for(var p=i-e,S=-a.column+t.column;se)break;if(g.start.row==e&&g.start.column>=a.column&&(g.start.column==a.column&&this.$bias<=0||(g.start.column+=S,g.start.row+=p)),g.end.row==e&&g.end.column>=a.column){if(g.end.column==a.column&&this.$bias<0)continue;g.end.column==a.column&&S>0&&sg.start.column&&g.end.column==n[s+1].start.column&&(g.end.column-=S),g.end.column+=S,g.end.row+=p}}else for(var p=e-i,S=a.column-t.column;si)break;g.end.rowa.column)&&(g.end.column=a.column,g.end.row=a.row):(g.end.column+=S,g.end.row+=p):g.end.row>i&&(g.end.row+=p),g.start.rowa.column)&&(g.start.column=a.column,g.start.row=a.row):(g.start.column+=S,g.start.row+=p):g.start.row>i&&(g.start.row+=p)}if(p!=0&&s=t)return s;if(s.end.row>t)return null}return null},this.getNextFoldLine=function(t,e){var i=this.$foldData,n=0;for(e&&(n=i.indexOf(e)),n==-1&&(n=0),n;n=t)return s}return null},this.getFoldedRowCount=function(t,e){for(var i=this.$foldData,n=e-t+1,s=0;s=e){p=t?n-=e-p:n=0);break}else g>=t&&(p>=t?n-=g-p:n-=g-t+1)}return n},this.$addFoldLine=function(t){return this.$foldData.push(t),this.$foldData.sort(function(e,i){return e.start.row-i.start.row}),t},this.addFold=function(t,e){var i=this.$foldData,n=!1,s;t instanceof d?s=t:(s=new d(e,t),s.collapseChildren=e.collapseChildren),this.$clipRangeToDocument(s.range);var l=s.start.row,g=s.start.column,p=s.end.row,S=s.end.column,$=this.getFoldAt(l,g,1),w=this.getFoldAt(p,S,-1);if($&&w==$)return $.addSubFold(s);$&&!$.range.isStart(l,g)&&this.removeFold($),w&&!w.range.isEnd(p,S)&&this.removeFold(w);var c=this.getFoldsInRange(s.range);c.length>0&&(this.removeFolds(c),s.collapseChildren||c.forEach(function(f){s.addSubFold(f)}));for(var v=0;v0&&this.foldAll(t.start.row+1,t.end.row,t.collapseChildren-1),t.subFolds=[]},this.expandFolds=function(t){t.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(t,e){var i,n;if(t==null?(i=new R(0,0,this.getLength(),0),e==null&&(e=!0)):typeof t=="number"?i=new R(t,0,t,this.getLine(t).length):"row"in t?i=R.fromPoints(t,t):i=t,n=this.getFoldsInRangeList(i),e!=!1?this.removeFolds(n):this.expandFolds(n),n.length)return n},this.isRowFolded=function(t,e){return!!this.getFoldLine(t,e)},this.getRowFoldEnd=function(t,e){var i=this.getFoldLine(t,e);return i?i.end.row:t},this.getRowFoldStart=function(t,e){var i=this.getFoldLine(t,e);return i?i.start.row:t},this.getFoldDisplayLine=function(t,e,i,n,s){n==null&&(n=t.start.row),s==null&&(s=0),e==null&&(e=t.end.row),i==null&&(i=this.getLine(e).length);var l=this.doc,g="";return t.walk(function(p,S,$,w){if(!(SS)break;while(s&&g.test(s.type));s=n.stepBackward()}else s=n.getCurrentToken();return p.end.row=n.getCurrentTokenRow(),p.end.column=n.getCurrentTokenColumn()+s.value.length-2,p}},this.foldAll=function(t,e,i,n){i==null&&(i=1e5);var s=this.foldWidgets;if(!!s){e=e||this.getLength(),t=t||0;for(var l=t;l=t&&(l=g.end.row,g.collapseChildren=i,this.addFold("...",g))}}},this.foldToLevel=function(t){for(this.foldAll();t-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var t=this;this.foldAll(null,null,null,function(e){for(var i=t.getTokens(e),n=0;n=0;){var l=i[n];if(l==null&&(l=i[n]=this.getFoldWidget(n)),l=="start"){var g=this.getFoldWidgetRange(n);if(s||(s=g),g&&g.end.row>=t)break}n--}return{range:n!==-1&&g,firstRange:s}},this.onFoldWidgetClick=function(t,e){e=e.domEvent;var i={children:e.shiftKey,all:e.ctrlKey||e.metaKey,siblings:e.altKey},n=this.$toggleFoldWidget(t,i);if(!n){var s=e.target||e.srcElement;s&&/ace_fold-widget/.test(s.className)&&(s.className+=" ace_invalid")}},this.$toggleFoldWidget=function(t,e){if(!!this.getFoldWidget){var i=this.getFoldWidget(t),n=this.getLine(t),s=i==="end"?-1:1,l=this.getFoldAt(t,s===-1?0:n.length,s);if(l)return e.children||e.all?this.removeFold(l):this.expandFold(l),l;var g=this.getFoldWidgetRange(t,!0);if(g&&!g.isMultiLine()&&(l=this.getFoldAt(g.start.row,g.start.column,1),l&&g.isEqual(l.range)))return this.removeFold(l),l;if(e.siblings){var p=this.getParentFoldRangeData(t);if(p.range)var S=p.range.start.row+1,$=p.range.end.row;this.foldAll(S,$,e.all?1e4:0)}else e.children?($=g?g.end.row:this.getLength(),this.foldAll(t+1,$,e.all?1e4:0)):g&&(e.all&&(g.collapseChildren=1e4),this.addFold("...",g));return g}},this.toggleFoldWidget=function(t){var e=this.selection.getCursor().row;e=this.getRowFoldStart(e);var i=this.$toggleFoldWidget(e,{});if(!i){var n=this.getParentFoldRangeData(e,!0);if(i=n.range||n.firstRange,i){e=i.start.row;var s=this.getFoldAt(e,this.getLine(e).length,1);s?this.removeFold(s):this.addFold("...",i)}}},this.updateFoldWidgets=function(t){var e=t.start.row,i=t.end.row-e;if(i===0)this.foldWidgets[e]=null;else if(t.action=="remove")this.foldWidgets.splice(e,i+1,null);else{var n=Array(i+1);n.unshift(e,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(t){var e=t.data;e.first!=e.last&&this.foldWidgets.length>e.first&&this.foldWidgets.splice(e.first,this.foldWidgets.length)}}A.Folding=a}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(k,A,D){"use strict";var R=k("../token_iterator").TokenIterator,L=k("../range").Range;function d(){this.findMatchingBracket=function(o,a){if(o.column==0)return null;var t=a||this.getLine(o.row).charAt(o.column-1);if(t=="")return null;var e=t.match(/([\(\[\{])|([\)\]\}])/);return e?e[1]?this.$findClosingBracket(e[1],o):this.$findOpeningBracket(e[2],o):null},this.getBracketRange=function(o){var a=this.getLine(o.row),t=!0,e,i=a.charAt(o.column-1),n=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(n||(i=a.charAt(o.column),o={row:o.row,column:o.column+1},n=i&&i.match(/([\(\[\{])|([\)\]\}])/),t=!1),!n)return null;if(n[1]){var s=this.$findClosingBracket(n[1],o);if(!s)return null;e=L.fromPoints(o,s),t||(e.end.column++,e.start.column--),e.cursor=e.end}else{var s=this.$findOpeningBracket(n[2],o);if(!s)return null;e=L.fromPoints(s,o),t||(e.start.column++,e.end.column--),e.cursor=e.start}return e},this.getMatchingBracketRanges=function(o){var a=this.getLine(o.row),t=a.charAt(o.column-1),e=t&&t.match(/([\(\[\{])|([\)\]\}])/);if(e||(t=a.charAt(o.column),o={row:o.row,column:o.column+1},e=t&&t.match(/([\(\[\{])|([\)\]\}])/)),!e)return null;var i=new L(o.row,o.column-1,o.row,o.column),n=e[1]?this.$findClosingBracket(e[1],o):this.$findOpeningBracket(e[2],o);if(!n)return[i];var s=new L(n.row,n.column,n.row,n.column+1);return[i,s]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(o,a,t){var e=this.$brackets[o],i=1,n=new R(this,a.row,a.column),s=n.getCurrentToken();if(s||(s=n.stepForward()),!!s){t||(t=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=a.column-n.getCurrentTokenColumn()-2,g=s.value;;){for(;l>=0;){var p=g.charAt(l);if(p==e){if(i-=1,i==0)return{row:n.getCurrentTokenRow(),column:l+n.getCurrentTokenColumn()}}else p==o&&(i+=1);l-=1}do s=n.stepBackward();while(s&&!t.test(s.type));if(s==null)break;g=s.value,l=g.length-1}return null}},this.$findClosingBracket=function(o,a,t){var e=this.$brackets[o],i=1,n=new R(this,a.row,a.column),s=n.getCurrentToken();if(s||(s=n.stepForward()),!!s){t||(t=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=a.column-n.getCurrentTokenColumn();;){for(var g=s.value,p=g.length;lb&&(this.$docRowCache.splice(b,m),this.$screenRowCache.splice(b,m))},this.$getRowCacheIndex=function(r,m){for(var b=0,C=r.length-1;b<=C;){var y=b+C>>1,E=r[y];if(m>E)b=y+1;else if(m=m));E++);return C=b[E],C?(C.index=E,C.start=y-C.value.length,C):null},this.setUndoManager=function(r){if(this.$undoManager=r,this.$informUndoManager&&this.$informUndoManager.cancel(),r){var m=this;r.addSession(this),this.$syncInformUndoManager=function(){m.$informUndoManager.cancel(),m.mergeUndoDeltas=!1},this.$informUndoManager=L.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?L.stringRepeat(" ",this.getTabSize()):" "},this.setUseSoftTabs=function(r){this.setOption("useSoftTabs",r)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(r){this.setOption("tabSize",r)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(r){return this.$useSoftTabs&&r.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(r){this.setOption("navigateWithinSoftTabs",r)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(r){this.setOption("overwrite",r)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(r,m){this.$decorations[r]||(this.$decorations[r]=""),this.$decorations[r]+=" "+m,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(r,m){this.$decorations[r]=(this.$decorations[r]||"").replace(" "+m,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(r){this.$breakpoints=[];for(var m=0;m0&&(C=!!b.charAt(m-1).match(this.tokenRe)),C||(C=!!b.charAt(m).match(this.tokenRe)),C)var y=this.tokenRe;else if(/^\s+$/.test(b.slice(m-1,m+1)))var y=/\s/;else var y=this.nonTokenRe;var E=m;if(E>0){do E--;while(E>=0&&b.charAt(E).match(y));E++}for(var x=m;xr&&(r=m.screenWidth)}),this.lineWidgetWidth=r},this.$computeWidth=function(r){if(this.$modified||r){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var m=this.doc.getAllLines(),b=this.$rowLengthCache,C=0,y=0,E=this.$foldData[y],x=E?E.start.row:1/0,_=m.length,T=0;T<_;T++){if(T>x){if(T=E.end.row+1,T>=_)break;E=this.$foldData[y++],x=E?E.start.row:1/0}b[T]==null&&(b[T]=this.$getStringScreenWidth(m[T])[0]),b[T]>C&&(C=b[T])}this.screenWidth=C}},this.getLine=function(r){return this.doc.getLine(r)},this.getLines=function(r,m){return this.doc.getLines(r,m)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(r){return this.doc.getTextRange(r||this.selection.getRange())},this.insert=function(r,m){return this.doc.insert(r,m)},this.remove=function(r){return this.doc.remove(r)},this.removeFullLines=function(r,m){return this.doc.removeFullLines(r,m)},this.undoChanges=function(r,m){if(!!r.length){this.$fromUndo=!0;for(var b=r.length-1;b!=-1;b--){var C=r[b];C.action=="insert"||C.action=="remove"?this.doc.revertDelta(C):C.folds&&this.addFolds(C.folds)}!m&&this.$undoSelect&&(r.selectionBefore?this.selection.fromJSON(r.selectionBefore):this.selection.setRange(this.$getUndoSelection(r,!0))),this.$fromUndo=!1}},this.redoChanges=function(r,m){if(!!r.length){this.$fromUndo=!0;for(var b=0;br.end.column&&(E.start.column+=_),E.end.row==r.end.row&&E.end.column>r.end.column&&(E.end.column+=_)),x&&E.start.row>=r.end.row&&(E.start.row+=x,E.end.row+=x)}if(E.end=this.insert(E.start,C),y.length){var T=r.start,F=E.start,x=F.row-T.row,_=F.column-T.column;this.addFolds(y.map(function(B){return B=B.clone(),B.start.row==T.row&&(B.start.column+=_),B.end.row==T.row&&(B.end.column+=_),B.start.row+=x,B.end.row+=x,B}))}return E},this.indentRows=function(r,m,b){b=b.replace(/\t/g,this.getTabString());for(var C=r;C<=m;C++)this.doc.insertInLine({row:C,column:0},b)},this.outdentRows=function(r){for(var m=r.collapseRows(),b=new i(0,0,0,0),C=this.getTabSize(),y=m.start.row;y<=m.end.row;++y){var E=this.getLine(y);b.start.row=y,b.end.row=y;for(var x=0;x0){var C=this.getRowFoldEnd(m+b);if(C>this.doc.getLength()-1)return 0;var y=C-m}else{r=this.$clipRowToDocument(r),m=this.$clipRowToDocument(m);var y=m-r+1}var E=new i(r,0,m,Number.MAX_VALUE),x=this.getFoldsInRange(E).map(function(T){return T=T.clone(),T.start.row+=y,T.end.row+=y,T}),_=b==0?this.doc.getLines(r,m):this.doc.removeFullLines(r,m);return this.doc.insertFullLines(r+y,_),x.length&&this.addFolds(x),y},this.moveLinesUp=function(r,m){return this.$moveLines(r,m,-1)},this.moveLinesDown=function(r,m){return this.$moveLines(r,m,1)},this.duplicateLines=function(r,m){return this.$moveLines(r,m,0)},this.$clipRowToDocument=function(r){return Math.max(0,Math.min(r,this.doc.getLength()-1))},this.$clipColumnToRow=function(r,m){return m<0?0:Math.min(this.doc.getLine(r).length,m)},this.$clipPositionToDocument=function(r,m){if(m=Math.max(0,m),r<0)r=0,m=0;else{var b=this.doc.getLength();r>=b?(r=b-1,m=this.doc.getLine(b-1).length):m=Math.min(this.doc.getLine(r).length,m)}return{row:r,column:m}},this.$clipRangeToDocument=function(r){r.start.row<0?(r.start.row=0,r.start.column=0):r.start.column=this.$clipColumnToRow(r.start.row,r.start.column);var m=this.doc.getLength()-1;return r.end.row>m?(r.end.row=m,r.end.column=this.doc.getLine(m).length):r.end.column=this.$clipColumnToRow(r.end.row,r.end.column),r},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(r){if(r!=this.$useWrapMode){if(this.$useWrapMode=r,this.$modified=!0,this.$resetRowCache(0),r){var m=this.getLength();this.$wrapData=Array(m),this.$updateWrapData(0,m-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(r,m){(this.$wrapLimitRange.min!==r||this.$wrapLimitRange.max!==m)&&(this.$wrapLimitRange={min:r,max:m},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(r,m){var b=this.$wrapLimitRange;b.max<0&&(b={min:m,max:m});var C=this.$constrainWrapLimit(r,b.min,b.max);return C!=this.$wrapLimit&&C>1?(this.$wrapLimit=C,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},this.$constrainWrapLimit=function(r,m,b){return m&&(r=Math.max(m,r)),b&&(r=Math.min(b,r)),r},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(r){this.setWrapLimitRange(r,r)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(r){var m=this.$useWrapMode,b=r.action,C=r.start,y=r.end,E=C.row,x=y.row,_=x-E,T=null;if(this.$updating=!0,_!=0)if(b==="remove"){this[m?"$wrapData":"$rowLengthCache"].splice(E,_);var F=this.$foldData;T=this.getFoldsInRange(r),this.removeFolds(T);var O=this.getFoldLine(y.row),M=0;if(O){O.addRemoveChars(y.row,y.column,C.column-y.column),O.shiftRow(-_);var B=this.getFoldLine(E);B&&B!==O&&(B.merge(O),O=B),M=F.indexOf(O)+1}for(M;M=y.row&&O.shiftRow(-_)}x=E}else{var I=Array(_);I.unshift(E,0);var P=m?this.$wrapData:this.$rowLengthCache;P.splice.apply(P,I);var F=this.$foldData,O=this.getFoldLine(E),M=0;if(O){var H=O.range.compareInside(C.row,C.column);H==0?(O=O.split(C.row,C.column),O&&(O.shiftRow(_),O.addRemoveChars(x,0,y.column-C.column))):H==-1&&(O.addRemoveChars(E,0,y.column-C.column),O.shiftRow(_)),M=F.indexOf(O)+1}for(M;M=E&&O.shiftRow(_)}}else{_=Math.abs(r.start.column-r.end.column),b==="remove"&&(T=this.getFoldsInRange(r),this.removeFolds(T),_=-_);var O=this.getFoldLine(E);O&&O.addRemoveChars(E,C.column,_)}return m&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,m?this.$updateWrapData(E,x):this.$updateRowLengthCache(E,x),T},this.$updateRowLengthCache=function(r,m,b){this.$rowLengthCache[r]=null,this.$rowLengthCache[m]=null},this.$updateWrapData=function(r,m){var b=this.doc.getAllLines(),C=this.getTabSize(),y=this.$wrapData,E=this.$wrapLimit,x,_,T=r;for(m=Math.min(m,b.length-1);T<=m;)_=this.getFoldLine(T,_),_?(x=[],_.walk(function(F,O,M,B){var I;if(F!=null){I=this.$getDisplayTokens(F,x.length),I[0]=$;for(var P=1;Pm-B;){var I=E+m-B;if(r[I-1]>=v&&r[I]>=v){M(I);continue}if(r[I]==$||r[I]==w){for(I;I!=E-1&&r[I]!=$;I--);if(I>E){M(I);continue}for(I=E+m,I;I>2)),E-1);I>P&&r[I]<$;)I--;if(_){for(;I>P&&r[I]<$;)I--;for(;I>P&&r[I]==c;)I--}else for(;I>P&&r[I]P){M(++I);continue}I=E+m,r[I]==S&&I--,M(I-B)}return C},this.$getDisplayTokens=function(r,m){var b=[],C;m=m||0;for(var y=0;y39&&E<48||E>57&&E<64?b.push(c):E>=4352&&f(E)?b.push(p,S):b.push(p)}return b},this.$getStringScreenWidth=function(r,m,b){if(m==0)return[0,0];m==null&&(m=1/0),b=b||0;var C,y;for(y=0;y=4352&&f(C)?b+=2:b+=1,!(b>m));y++);return[b,y]},this.lineWidgets=null,this.getRowLength=function(r){var m=1;return this.lineWidgets&&(m+=this.lineWidgets[r]&&this.lineWidgets[r].rowCount||0),!this.$useWrapMode||!this.$wrapData[r]?m:this.$wrapData[r].length+m},this.getRowLineCount=function(r){return!this.$useWrapMode||!this.$wrapData[r]?1:this.$wrapData[r].length+1},this.getRowWrapIndent=function(r){if(this.$useWrapMode){var m=this.screenToDocumentPosition(r,Number.MAX_VALUE),b=this.$wrapData[m.row];return b.length&&b[0]=0)var _=F[O],y=this.$docRowCache[O],B=r>F[M-1];else var B=!M;for(var I=this.getLength()-1,P=this.getNextFoldLine(y),H=P?P.start.row:1/0;_<=r&&(T=this.getRowLength(y),!(_+T>r||y>=I));)_+=T,y++,y>H&&(y=P.end.row+1,P=this.getNextFoldLine(y,P),H=P?P.start.row:1/0),B&&(this.$docRowCache.push(y),this.$screenRowCache.push(_));if(P&&P.start.row<=y)C=this.getFoldDisplayLine(P),y=P.start.row;else{if(_+T<=r||y>I)return{row:I,column:this.getLine(I).length};C=this.getLine(y),P=null}var K=0,X=Math.floor(r-_);if(this.$useWrapMode){var ee=this.$wrapData[y];ee&&(x=ee[X],X>0&&ee.length&&(K=ee.indent,E=ee[X-1]||ee[ee.length-1],C=C.substring(E)))}return b!==void 0&&this.$bidiHandler.isBidiRow(_+X,y,X)&&(m=this.$bidiHandler.offsetToCol(b)),E+=this.$getStringScreenWidth(C,m-K)[1],this.$useWrapMode&&E>=x&&(E=x-1),P?P.idxToPosition(E):{row:y,column:E}},this.documentToScreenPosition=function(r,m){if(typeof m=="undefined")var b=this.$clipPositionToDocument(r.row,r.column);else b=this.$clipPositionToDocument(r,m);r=b.row,m=b.column;var C=0,y=null,E=null;E=this.getFoldAt(r,m,1),E&&(r=E.start.row,m=E.start.column);var x,_=0,T=this.$docRowCache,F=this.$getRowCacheIndex(T,r),O=T.length;if(O&&F>=0)var _=T[F],C=this.$screenRowCache[F],M=r>T[O-1];else var M=!O;for(var B=this.getNextFoldLine(_),I=B?B.start.row:1/0;_=I){if(x=B.end.row+1,x>r)break;B=this.getNextFoldLine(x,B),I=B?B.start.row:1/0}else x=_+1;C+=this.getRowLength(_),_=x,M&&(this.$docRowCache.push(_),this.$screenRowCache.push(C))}var P="";B&&_>=I?(P=this.getFoldDisplayLine(B,r,m),y=B.start.row):(P=this.getLine(r).substring(0,m),y=r);var H=0;if(this.$useWrapMode){var K=this.$wrapData[y];if(K){for(var X=0;P.length>=K[X];)C++,X++;P=P.substring(K[X-1]||0,P.length),H=X>0?K.indent:0}}return this.lineWidgets&&this.lineWidgets[_]&&this.lineWidgets[_].rowsAbove&&(C+=this.lineWidgets[_].rowsAbove),{row:C,column:H+this.$getStringScreenWidth(P)[0]}},this.documentToScreenColumn=function(r,m){return this.documentToScreenPosition(r,m).column},this.documentToScreenRow=function(r,m){return this.documentToScreenPosition(r,m).row},this.getScreenLength=function(){var r=0,m=null;if(this.$useWrapMode)for(var y=this.$wrapData.length,E=0,C=0,m=this.$foldData[C++],x=m?m.start.row:1/0;Ex&&(E=m.end.row+1,m=this.$foldData[C++],x=m?m.start.row:1/0)}else{r=this.getLength();for(var b=this.$foldData,C=0;Cb));E++);return[C,E]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker(),this.removeAllListeners(),this.selection.detach()},this.isFullWidth=f;function f(r){return r<4352?!1:r>=4352&&r<=4447||r>=4515&&r<=4519||r>=4602&&r<=4607||r>=9001&&r<=9002||r>=11904&&r<=11929||r>=11931&&r<=12019||r>=12032&&r<=12245||r>=12272&&r<=12283||r>=12288&&r<=12350||r>=12353&&r<=12438||r>=12441&&r<=12543||r>=12549&&r<=12589||r>=12593&&r<=12686||r>=12688&&r<=12730||r>=12736&&r<=12771||r>=12784&&r<=12830||r>=12832&&r<=12871||r>=12880&&r<=13054||r>=13056&&r<=19903||r>=19968&&r<=42124||r>=42128&&r<=42182||r>=43360&&r<=43388||r>=44032&&r<=55203||r>=55216&&r<=55238||r>=55243&&r<=55291||r>=63744&&r<=64255||r>=65040&&r<=65049||r>=65072&&r<=65106||r>=65108&&r<=65126||r>=65128&&r<=65131||r>=65281&&r<=65376||r>=65504&&r<=65510}}.call(g.prototype),k("./edit_session/folding").Folding.call(g.prototype),k("./edit_session/bracket_match").BracketMatch.call(g.prototype),o.defineOptions(g.prototype,"session",{wrap:{set:function(p){if(!p||p=="off"?p=!1:p=="free"?p=!0:p=="printMargin"?p=-1:typeof p=="string"&&(p=parseInt(p,10)||!1),this.$wrap!=p)if(this.$wrap=p,!p)this.setUseWrapMode(!1);else{var S=typeof p=="number"?p:null;this.setWrapLimitRange(S,S),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(p){p=p=="auto"?this.$mode.type!="text":p!="text",p!=this.$wrapAsCode&&(this.$wrapAsCode=p,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(p){this.$useWorker=p,this.$stopWorker(),p&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(p){p=parseInt(p),p>0&&this.$tabSize!==p&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=p,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(p){this.setFoldStyle(p)},handlesSet:!0},overwrite:{set:function(p){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(p){this.doc.setNewLineMode(p)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(p){this.setMode(p)},get:function(){return this.$modeId},handlesSet:!0}}),A.EditSession=g}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(k,A,D){"use strict";var R=k("./lib/lang"),L=k("./lib/oop"),d=k("./range").Range,o=function(){this.$options={}};(function(){this.set=function(t){return L.mixin(this.$options,t),this},this.getOptions=function(){return R.copyObject(this.$options)},this.setOptions=function(t){this.$options=t},this.find=function(t){var e=this.$options,i=this.$matchIterator(t,e);if(!i)return!1;var n=null;return i.forEach(function(s,l,g,p){return n=new d(s,l,g,p),l==p&&e.start&&e.start.start&&e.skipCurrent!=!1&&n.isEqual(e.start)?(n=null,!1):!0}),n},this.findAll=function(t){var e=this.$options;if(!e.needle)return[];this.$assembleRegExp(e);var i=e.range,n=i?t.getLines(i.start.row,i.end.row):t.doc.getAllLines(),s=[],l=e.re;if(e.$isMultiLine){var g=l.length,p=n.length-g,S;e:for(var $=l.offset||0;$<=p;$++){for(var w=0;wu||(s.push(S=new d($,u,$+g-1,h)),g>2&&($=$+g-2))}}else for(var f=0;fC&&s[w].end.row==i.end.row;)w--;for(s=s.slice(f,w+1),f=0,w=s.length;f=p;u--)if(c(u,Number.MAX_VALUE,v))return;if(e.wrap!=!1){for(u=S,p=g.row;u>=p;u--)if(c(u,Number.MAX_VALUE,v))return}}};else var $=function(u){var h=g.row;if(!c(h,g.column,u)){for(h=h+1;h<=S;h++)if(c(h,0,u))return;if(e.wrap!=!1){for(h=p,S=g.row;h<=S;h++)if(c(h,0,u))return}}};if(e.$isMultiLine)var w=i.length,c=function(v,u,h){var f=n?v-w+1:v;if(!(f<0)){var r=t.getLine(f),m=r.search(i[0]);if(!(!n&&mu)&&h(f,m,f+w-1,C))return!0}}};else if(n)var c=function(u,h,f){var r=t.getLine(u),m=[],b,C=0;for(i.lastIndex=0;b=i.exec(r);){var y=b[0].length;if(C=b.index,!y){if(C>=r.length)break;i.lastIndex=C+=1}if(b.index+y>h)break;m.push(b.index,y)}for(var E=m.length-1;E>=0;E-=2){var x=m[E-1],y=m[E];if(f(u,x,u,x+y))return!0}};else var c=function(u,h,f){var r=t.getLine(u),m,b;for(i.lastIndex=h;b=i.exec(r);){var C=b[0].length;if(m=b.index,f(u,m,u,m+C))return!0;if(!C&&(i.lastIndex=m+=1,m>=r.length))return!1}};return{forEach:$}}}).call(o.prototype);function a(t,e){function i(n){return/\w/.test(n)||e.regExp?"\\b":""}return i(t[0])+t+i(t[t.length-1])}A.Search=o}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("../lib/keys"),L=k("../lib/useragent"),d=R.KEY_MODS;function o(t,e){this.platform=e||(L.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=!0}function a(t,e){o.call(this,t,e),this.$singleCommand=!1}a.prototype=o.prototype,function(){this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,i){var n=e&&(typeof e=="string"?e:e.name);e=this.commands[n],i||delete this.commands[n];var s=this.commandKeyBinding;for(var l in s){var g=s[l];if(g==e)delete s[l];else if(Array.isArray(g)){var p=g.indexOf(e);p!=-1&&(g.splice(p,1),g.length==1&&(s[l]=g[0]))}}},this.bindKey=function(e,i,n){if(typeof e=="object"&&e&&(n==null&&(n=e.position),e=e[this.platform]),!!e){if(typeof i=="function")return this.addCommand({exec:i,bindKey:e,name:i.name||e});e.split("|").forEach(function(s){var l="";if(s.indexOf(" ")!=-1){var g=s.split(/\s+/);s=g.pop(),g.forEach(function($){var w=this.parseKeys($),c=d[w.hashId]+w.key;l+=(l?" ":"")+c,this._addCommandToBinding(l,"chainKeys")},this),l+=" "}var p=this.parseKeys(s),S=d[p.hashId]+p.key;this._addCommandToBinding(l+S,i,n)},this)}};function t(e){return typeof e=="object"&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this._addCommandToBinding=function(e,i,n){var s=this.commandKeyBinding,l;if(!i)delete s[e];else if(!s[e]||this.$singleCommand)s[e]=i;else{Array.isArray(s[e])?(l=s[e].indexOf(i))!=-1&&s[e].splice(l,1):s[e]=[s[e]],typeof n!="number"&&(n=t(i));var g=s[e];for(l=0;ln)break}g.splice(l,0,i)}},this.addCommands=function(e){e&&Object.keys(e).forEach(function(i){var n=e[i];if(!!n){if(typeof n=="string")return this.bindKey(n,i);typeof n=="function"&&(n={exec:n}),typeof n=="object"&&(n.name||(n.name=i),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(i){this.removeCommand(e[i])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(i){this.bindKey(i,e[i])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var i=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(S){return S}),n=i.pop(),s=R[n];if(R.FUNCTION_KEYS[s])n=R.FUNCTION_KEYS[s].toLowerCase();else if(i.length){if(i.length==1&&i[0]=="shift")return{key:n.toUpperCase(),hashId:-1}}else return{key:n,hashId:-1};for(var l=0,g=i.length;g--;){var p=R.KEY_MODS[i[g]];if(p==null)return typeof console!="undefined"&&console.error("invalid modifier "+i[g]+" in "+e),!1;l|=p}return{key:n,hashId:l}},this.findKeyCommand=function(i,n){var s=d[i]+n;return this.commandKeyBinding[s]},this.handleKeyboard=function(e,i,n,s){if(!(s<0)){var l=d[i]+n,g=this.commandKeyBinding[l];return e.$keyChain&&(e.$keyChain+=" "+l,g=this.commandKeyBinding[e.$keyChain]||g),g&&(g=="chainKeys"||g[g.length-1]=="chainKeys")?(e.$keyChain=e.$keyChain||l,{command:"null"}):(e.$keyChain&&((!i||i==4)&&n.length==1?e.$keyChain=e.$keyChain.slice(0,-l.length-1):(i==-1||s>0)&&(e.$keyChain="")),{command:g})}},this.getStatusText=function(e,i){return i.$keyChain||""}}.call(o.prototype),A.HashHandler=o,A.MultiHashHandler=a}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(k,A,D){"use strict";var R=k("../lib/oop"),L=k("../keyboard/hash_handler").MultiHashHandler,d=k("../lib/event_emitter").EventEmitter,o=function(a,t){L.call(this,t,a),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};R.inherits(o,L),function(){R.implement(this,d),this.exec=function(a,t,e){if(Array.isArray(a)){for(var i=a.length;i--;)if(this.exec(a[i],t,e))return!0;return!1}if(typeof a=="string"&&(a=this.commands[a]),!a||t&&t.$readOnly&&!a.readOnly||this.$checkCommandState!=!1&&a.isAvailable&&!a.isAvailable(t))return!1;var n={editor:t,command:a,args:e};return n.returnValue=this._emit("exec",n),this._signal("afterExec",n),n.returnValue!==!1},this.toggleRecording=function(a){if(!this.$inReplay)return a&&a._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(t){this.macro.push([t.command,t.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(a){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(a);try{this.$inReplay=!0,this.macro.forEach(function(t){typeof t=="string"?this.exec(t,a):this.exec(t[0],a,t[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(a){return a.map(function(t){return typeof t[0]!="string"&&(t[0]=t[0].name),t[1]||(t=t[0]),t})}}.call(o.prototype),A.CommandManager=o}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(k,A,D){"use strict";var R=k("../lib/lang"),L=k("../config"),d=k("../range").Range;function o(t,e){return{win:t,mac:e}}A.commands=[{name:"showSettingsMenu",bindKey:o("Ctrl-,","Command-,"),exec:function(t){L.loadModule("ace/ext/settings_menu",function(e){e.init(t),t.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:o("Alt-E","F4"),exec:function(t){L.loadModule("./ext/error_marker",function(e){e.showErrorMarker(t,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:o("Alt-Shift-E","Shift-F4"),exec:function(t){L.loadModule("./ext/error_marker",function(e){e.showErrorMarker(t,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:o("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:o(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:o("Ctrl-L","Command-L"),exec:function(t,e){typeof e=="number"&&!isNaN(e)&&t.gotoLine(e),t.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:o("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:o("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:o("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:o("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:o("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:o("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:o("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:o("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:o("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:o("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:o("Ctrl-F","Command-F"),exec:function(t){L.loadModule("ace/ext/searchbox",function(e){e.Search(t)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:o("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:o("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:o("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:o("Up","Up|Ctrl-P"),exec:function(t,e){t.navigateUp(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:o("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:o("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:o("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:o("Down","Down|Ctrl-N"),exec:function(t,e){t.navigateDown(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:o("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:o("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:o("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:o("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:o("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:o("Left","Left|Ctrl-B"),exec:function(t,e){t.navigateLeft(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:o("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:o("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:o("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:o("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:o("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:o("Right","Right|Ctrl-F"),exec:function(t,e){t.navigateRight(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:o(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:o("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:o(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:o("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:o("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:o("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:o("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:o("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:o("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:o("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:o(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(t){},readOnly:!0},{name:"cut",description:"Cut",exec:function(t){var e=t.$copyWithEmptySelection&&t.selection.isEmpty(),i=e?t.selection.getLineRange():t.selection.getRange();t._emit("cut",i),i.isEmpty()||t.session.remove(i),t.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(t,e){t.$handlePaste(e)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:o("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:o("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:o("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:o("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:o("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:o("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:o("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:o("Ctrl-H","Command-Option-F"),exec:function(t){L.loadModule("ace/ext/searchbox",function(e){e.Search(t,!0)})}},{name:"undo",description:"Undo",bindKey:o("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",description:"Redo",bindKey:o("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:o("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:o("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:o("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:o("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:o("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:o("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:o("Shift-Delete",null),exec:function(t){if(t.selection.isEmpty())t.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:o("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:o("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:o("Ctrl-Shift-Backspace",null),exec:function(t){var e=t.selection.getRange();e.start.column=0,t.session.remove(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:o("Ctrl-Shift-Delete",null),exec:function(t){var e=t.selection.getRange();e.end.column=Number.MAX_VALUE,t.session.remove(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:o("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:o("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:o("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:o("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:o("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:o("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(t,e){t.insert(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(t,e){t.insert(R.stringRepeat(e.text||"",e.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:o(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:o("Alt-Shift-X","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:o("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:o("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:o(null,null),exec:function(t){t.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:o("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var e=t.selection.getRange();e.start.column=e.end.column=0,e.end.row++,t.selection.setRange(e,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",description:"Join lines",bindKey:o(null,null),exec:function(t){for(var e=t.selection.isBackwards(),i=e?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),n=e?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),s=t.session.doc.getLine(i.row).length,l=t.session.doc.getTextRange(t.selection.getRange()),g=l.replace(/\n\s*/," ").length,p=t.session.doc.getLine(i.row),S=i.row+1;S<=n.row+1;S++){var $=R.stringTrimLeft(R.stringTrimRight(t.session.doc.getLine(S)));$.length!==0&&($=" "+$),p+=$}n.row+10?(t.selection.moveCursorTo(i.row,i.column),t.selection.selectTo(i.row,i.column+g)):(s=t.session.doc.getLine(i.row).length>s?s+1:s,t.selection.moveCursorTo(i.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:o(null,null),exec:function(t){var e=t.session.doc.getLength()-1,i=t.session.doc.getLine(e).length,n=t.selection.rangeList.ranges,s=[];n.length<1&&(n=[t.selection.getRange()]);for(var l=0;l=b.lastRow||m.end.row<=b.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:break}r=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var C=this.selection.toJSON();this.curOp.selectionAfter=C,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(C),this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(h){if(!!this.$mergeUndoDeltas){var f=this.prevOp,r=this.$mergeableCommands,m=f.command&&h.command.name==f.command.name;if(h.command.name=="insertstring"){var b=h.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),m=m&&this.mergeNextCommand&&(!/\s/.test(b)||/\s/.test(f.args)),this.mergeNextCommand=!0}else m=m&&r.indexOf(h.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(m=!1),m?this.session.mergeUndoDeltas=!0:r.indexOf(h.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(h,f){if(h&&typeof h=="string"&&h!="ace"){this.$keybindingId=h;var r=this;$.loadModule(["keybinding",h],function(m){r.$keybindingId==h&&r.keyBinding.setKeyboardHandler(m&&m.handler),f&&f()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(h),f&&f()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(h){if(this.session!=h){this.curOp&&this.endOperation(),this.curOp={};var f=this.session;if(f){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var r=this.session.getSelection();r.off("changeCursor",this.$onCursorChange),r.off("changeSelection",this.$onSelectionChange)}this.session=h,h?(this.$onDocumentChange=this.onDocumentChange.bind(this),h.on("change",this.$onDocumentChange),this.renderer.setSession(h),this.$onChangeMode=this.onChangeMode.bind(this),h.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),h.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),h.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),h.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),h.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),h.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=h.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(h)),this._signal("changeSession",{session:h,oldSession:f}),this.curOp=null,f&&f._signal("changeEditor",{oldEditor:this}),h&&h._signal("changeEditor",{editor:this}),h&&h.bgTokenizer&&h.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(h,f){return this.session.doc.setValue(h),f?f==1?this.navigateFileEnd():f==-1&&this.navigateFileStart():this.selectAll(),h},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(h){this.renderer.onResize(h)},this.setTheme=function(h,f){this.renderer.setTheme(h,f)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(h){this.renderer.setStyle(h)},this.unsetStyle=function(h){this.renderer.unsetStyle(h)},this.getFontSize=function(){return this.getOption("fontSize")||L.computedStyle(this.container).fontSize},this.setFontSize=function(h){this.setOption("fontSize",h)},this.$highlightBrackets=function(){if(!this.$highlightPending){var h=this;this.$highlightPending=!0,setTimeout(function(){h.$highlightPending=!1;var f=h.session;if(!(!f||!f.bgTokenizer)){f.$bracketHighlight&&(f.$bracketHighlight.markerIds.forEach(function(b){f.removeMarker(b)}),f.$bracketHighlight=null);var r=f.getMatchingBracketRanges(h.getCursorPosition());if(!r&&f.$mode.getMatching&&(r=f.$mode.getMatching(h.session)),!!r){var m="ace_bracket";Array.isArray(r)?r.length==1&&(m="ace_error_bracket"):r=[r],r.length==2&&(l.comparePoints(r[0].end,r[1].start)==0?r=[l.fromPoints(r[0].start,r[1].end)]:l.comparePoints(r[0].start,r[1].end)==0&&(r=[l.fromPoints(r[1].start,r[0].end)])),f.$bracketHighlight={ranges:r,markerIds:r.map(function(b){return f.addMarker(b,m,"text")})}}}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var h=this;this.$highlightTagPending=!0,setTimeout(function(){h.$highlightTagPending=!1;var f=h.session;if(!(!f||!f.bgTokenizer)){var r=h.getCursorPosition(),m=new w(h.session,r.row,r.column),b=m.getCurrentToken();if(!b||!/\b(?:tag-open|tag-name)/.test(b.type)){f.removeMarker(f.$tagHighlight),f.$tagHighlight=null;return}if(!(b.type.indexOf("tag-open")!==-1&&(b=m.stepForward(),!b))){var C=b.value,y=b.value,E=0,x=m.stepBackward();if(x.value==="<")do x=b,b=m.stepForward(),b&&(b.type.indexOf("tag-name")!==-1?(y=b.value,C===y&&(x.value==="<"?E++:x.value===""&&E--);while(b&&E>=0);else{do if(b=x,x=m.stepBackward(),b){if(b.type.indexOf("tag-name")!==-1)C===b.value&&(x.value==="<"?E++:x.value===""){for(var _=0,T=x;T;){if(T.type.indexOf("tag-name")!==-1&&T.value===C){E--;break}else if(T.value==="<")break;T=m.stepBackward(),_++}for(var F=0;F<_;F++)m.stepForward()}}while(x&&E<=0);m.stepForward()}if(!b){f.removeMarker(f.$tagHighlight),f.$tagHighlight=null;return}var O=m.getCurrentTokenRow(),M=m.getCurrentTokenColumn(),B=new l(O,M,O,M+b.value.length),I=f.$backMarkers[f.$tagHighlight];f.$tagHighlight&&I!=null&&B.compareRange(I.range)!==0&&(f.removeMarker(f.$tagHighlight),f.$tagHighlight=null),f.$tagHighlight||(f.$tagHighlight=f.addMarker(B,"ace_bracket","text"))}}},50)}},this.focus=function(){var h=this;setTimeout(function(){h.isFocused()||h.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(h){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",h))},this.onBlur=function(h){!this.$isFocused||(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",h))},this.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine()},this.onDocumentChange=function(h){var f=this.session.$useWrapMode,r=h.start.row==h.end.row?h.end.row:1/0;this.renderer.updateLines(h.start.row,r,f),this._signal("change",h),this.$cursorChange()},this.onTokenizerUpdate=function(h){var f=h.data;this.renderer.updateLines(f.first,f.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var h=this.getSession(),f;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(f=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(f=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(f=!1)),h.$highlightLineMarker&&!f)h.removeMarker(h.$highlightLineMarker.id),h.$highlightLineMarker=null;else if(!h.$highlightLineMarker&&f){var r=new l(f.row,f.column,f.row,1/0);r.id=h.addMarker(r,"ace_active-line","screenLine"),h.$highlightLineMarker=r}else f&&(h.$highlightLineMarker.start.row=f.row,h.$highlightLineMarker.end.row=f.row,h.$highlightLineMarker.start.column=f.column,h._signal("changeBackMarker"))},this.onSelectionChange=function(h){var f=this.session;if(f.$selectionMarker&&f.removeMarker(f.$selectionMarker),f.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var r=this.selection.getRange(),m=this.getSelectionStyle();f.$selectionMarker=f.addMarker(r,"ace_selection",m)}var b=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(b),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var h=this.session,f=this.getSelectionRange();if(!(f.isEmpty()||f.isMultiLine())){var r=f.start.column,m=f.end.column,b=h.getLine(f.start.row),C=b.substring(r,m);if(!(C.length>5e3||!/[\w\d]/.test(C))){var y=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:C}),E=b.substring(r-1,m+1);if(!!y.test(E))return y}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(h){this.renderer.updateText(),this._emit("changeMode",h)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var h=this.getSelectedText(),f=this.session.doc.getNewLineCharacter(),r=!1;if(!h&&this.$copyWithEmptySelection){r=!0;for(var m=this.selection.getAllRanges(),b=0;bT.search(/\S|$/)){var E=T.substr(b.column).search(/\S|$/);r.doc.removeInLine(b.row,b.column,b.column+E)}}this.clearSelection();var x=b.column,_=r.getState(b.row),T=r.getLine(b.row),F=m.checkOutdent(_,T,h);if(r.insert(b,h),C&&C.selection&&(C.selection.length==2?this.selection.setSelectionRange(new l(b.row,x+C.selection[0],b.row,x+C.selection[1])):this.selection.setSelectionRange(new l(b.row+C.selection[0],C.selection[1],b.row+C.selection[2],C.selection[3]))),this.$enableAutoIndent){if(r.getDocument().isNewLine(h)){var O=m.getNextLineIndent(_,T.slice(0,b.column),r.getTabString());r.insert({row:b.row+1,column:0},O)}F&&m.autoOutdent(_,r,b.row)}},this.autoIndent=function(){var h=this.session,f=h.getMode(),r,m;if(this.selection.isEmpty())r=0,m=h.doc.getLength()-1;else{var b=this.getSelectionRange();r=b.start.row,m=b.end.row}for(var C="",y="",E="",x,_,T,F=h.getTabString(),O=r;O<=m;O++)O>0&&(C=h.getState(O-1),y=h.getLine(O-1),E=f.getNextLineIndent(C,y,F)),x=h.getLine(O),_=f.$getIndent(x),E!==_&&(_.length>0&&(T=new l(O,0,O,_.length),h.remove(T)),E.length>0&&h.insert({row:O,column:0},E)),f.autoOutdent(C,h,O)},this.onTextInput=function(h,f){if(!f)return this.keyBinding.onTextInput(h);this.startOperation({command:{name:"insertstring"}});var r=this.applyComposition.bind(this,h,f);this.selection.rangeCount?this.forEachSelection(r):r(),this.endOperation()},this.applyComposition=function(h,f){if(f.extendLeft||f.extendRight){var r=this.selection.getRange();r.start.column-=f.extendLeft,r.end.column+=f.extendRight,r.start.column<0&&(r.start.row--,r.start.column+=this.session.getLine(r.start.row).length+1),this.selection.setRange(r),!h&&!r.isEmpty()&&this.remove()}if((h||!this.selection.isEmpty())&&this.insert(h,!0),f.restoreStart||f.restoreEnd){var r=this.selection.getRange();r.start.column-=f.restoreStart,r.end.column-=f.restoreEnd,this.selection.setRange(r)}},this.onCommandKey=function(h,f,r){return this.keyBinding.onCommandKey(h,f,r)},this.setOverwrite=function(h){this.session.setOverwrite(h)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(h){this.setOption("scrollSpeed",h)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(h){this.setOption("dragDelay",h)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(h){this.setOption("selectionStyle",h)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(h){this.setOption("highlightActiveLine",h)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(h){this.setOption("highlightGutterLine",h)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(h){this.setOption("highlightSelectedWord",h)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(h){this.renderer.setAnimatedScroll(h)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(h){this.renderer.setShowInvisibles(h)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(h){this.renderer.setDisplayIndentGuides(h)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(h){this.renderer.setShowPrintMargin(h)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(h){this.renderer.setPrintMarginColumn(h)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(h){this.setOption("readOnly",h)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(h){this.setOption("behavioursEnabled",h)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(h){this.setOption("wrapBehavioursEnabled",h)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(h){this.setOption("showFoldWidgets",h)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(h){this.setOption("fadeFoldWidgets",h)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(h){this.selection.isEmpty()&&(h=="left"?this.selection.selectLeft():this.selection.selectRight());var f=this.getSelectionRange();if(this.getBehavioursEnabled()){var r=this.session,m=r.getState(f.start.row),b=r.getMode().transformAction(m,"deletion",this,r,f);if(f.end.column===0){var C=r.getTextRange(f);if(C[C.length-1]==` -`){var y=r.getLine(f.end.row);/^\s+$/.test(y)&&(f.end.column=y.length)}}b&&(f=b)}this.session.remove(f),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var h=this.getSelectionRange();h.start.column==h.end.column&&h.start.row==h.end.row&&(h.end.column=0,h.end.row++),this.session.remove(h),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var h=this.getCursorPosition();this.insert(` -`),this.moveCursorToPosition(h)},this.transposeLetters=function(){if(!!this.selection.isEmpty()){var h=this.getCursorPosition(),f=h.column;if(f!==0){var r=this.session.getLine(h.row),m,b;fE.toLowerCase()?1:0});for(var b=new l(0,0,0,0),m=h.first;m<=h.last;m++){var C=f.getLine(m);b.start.row=m,b.end.row=m,b.end.column=C.length,f.replace(b,r[m-h.first])}},this.toggleCommentLines=function(){var h=this.session.getState(this.getCursorPosition().row),f=this.$getSelectedRows();this.session.getMode().toggleCommentLines(h,this.session,f.first,f.last)},this.toggleBlockComment=function(){var h=this.getCursorPosition(),f=this.session.getState(h.row),r=this.getSelectionRange();this.session.getMode().toggleBlockComment(f,this.session,r,h)},this.getNumberAt=function(h,f){var r=/[\-]?[0-9]+(?:\.[0-9]+)?/g;r.lastIndex=0;for(var m=this.session.getLine(h);r.lastIndex=f){var C={value:b[0],start:b.index,end:b.index+b[0].length};return C}}return null},this.modifyNumber=function(h){var f=this.selection.getCursor().row,r=this.selection.getCursor().column,m=new l(f,r-1,f,r),b=this.session.getTextRange(m);if(!isNaN(parseFloat(b))&&isFinite(b)){var C=this.getNumberAt(f,r);if(C){var y=C.value.indexOf(".")>=0?C.start+C.value.indexOf(".")+1:C.end,E=C.start+C.value.length-y,x=parseFloat(C.value);x*=Math.pow(10,E),y!==C.end&&r=y&&C<=E&&(r=H,x.selection.clearSelection(),x.moveCursorTo(h,y+m),x.selection.selectTo(h,E+m)),y=E});for(var _=this.$toggleWordPairs,T,F=0;F<_.length;F++)for(var O=_[F],M=0;M<=1;M++){var B=+!M,I=r.match(new RegExp("^\\s?_?("+d.escapeRegExp(O[M])+")\\s?$","i"));if(I){var P=r.match(new RegExp("([_]|^|\\s)("+d.escapeRegExp(I[1])+")($|\\s)","g"));P&&(T=r.replace(new RegExp(d.escapeRegExp(O[M]),"i"),function(H){var K=O[B];return H.toUpperCase()==H?K=K.toUpperCase():H.charAt(0).toUpperCase()==H.charAt(0)&&(K=K.substr(0,0)+O[B].charAt(0).toUpperCase()+K.substr(1)),K}),this.insert(T),T="")}}},this.removeLines=function(){var h=this.$getSelectedRows();this.session.removeFullLines(h.first,h.last),this.clearSelection()},this.duplicateSelection=function(){var h=this.selection,f=this.session,r=h.getRange(),m=h.isBackwards();if(r.isEmpty()){var b=r.start.row;f.duplicateLines(b,b)}else{var C=m?r.start:r.end,y=f.insert(C,f.getTextRange(r),!1);r.start=C,r.end=y,h.setSelectionRange(r,m)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(h,f,r){return this.session.moveText(h,f,r)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(h,f){var r,m,b=this.selection;if(!b.inMultiSelectMode||this.inVirtualSelectionMode){var C=b.toOrientedRange();r=this.$getSelectedRows(C),m=this.session.$moveLines(r.first,r.last,f?0:h),f&&h==-1&&(m=0),C.moveBy(m,0),b.fromOrientedRange(C)}else{var y=b.rangeList.ranges;b.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var E=0,x=0,_=y.length,T=0;T<_;T++){var F=T;y[T].moveBy(E,0),r=this.$getSelectedRows(y[T]);for(var O=r.first,M=r.last;++T<_;){x&&y[T].moveBy(x,0);var B=this.$getSelectedRows(y[T]);if(f&&B.first!=M)break;if(!f&&B.first>M+1)break;M=B.last}for(T--,E=this.session.$moveLines(O,M,f?0:h),f&&h==-1&&(F=T+1);F<=T;)y[F].moveBy(E,0),F++;f||(E=0),x+=E}b.fromOrientedRange(b.ranges[0]),b.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(h){return h=(h||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(h.start.row),last:this.session.getRowFoldEnd(h.end.row)}},this.onCompositionStart=function(h){this.renderer.showComposition(h)},this.onCompositionUpdate=function(h){this.renderer.setCompositionText(h)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(h){return h>=this.getFirstVisibleRow()&&h<=this.getLastVisibleRow()},this.isRowFullyVisible=function(h){return h>=this.renderer.getFirstFullyVisibleRow()&&h<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(h,f){var r=this.renderer,m=this.renderer.layerConfig,b=h*Math.floor(m.height/m.lineHeight);f===!0?this.selection.$moveSelection(function(){this.moveCursorBy(b,0)}):f===!1&&(this.selection.moveCursorBy(b,0),this.selection.clearSelection());var C=r.scrollTop;r.scrollBy(0,b*m.lineHeight),f!=null&&r.scrollCursorIntoView(null,.5),r.animateScrolling(C)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(h){this.renderer.scrollToRow(h)},this.scrollToLine=function(h,f,r,m){this.renderer.scrollToLine(h,f,r,m)},this.centerSelection=function(){var h=this.getSelectionRange(),f={row:Math.floor(h.start.row+(h.end.row-h.start.row)/2),column:Math.floor(h.start.column+(h.end.column-h.start.column)/2)};this.renderer.alignCursor(f,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.selection.selectAll()},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(h,f){this.selection.moveCursorTo(h,f)},this.moveCursorToPosition=function(h){this.selection.moveCursorToPosition(h)},this.jumpToMatching=function(h,f){var r=this.getCursorPosition(),m=new w(this.session,r.row,r.column),b=m.getCurrentToken(),C=b||m.stepForward();if(!!C){var y,E=!1,x={},_=r.column-C.start,T,F={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(C.value.match(/[{}()\[\]]/g)){for(;_=0;--C)this.$tryReplace(r[C],h)&&m++;return this.selection.setSelectionRange(b),m},this.$tryReplace=function(h,f){var r=this.session.getTextRange(h);return f=this.$search.replace(r,f),f!==null?(h.end=this.session.replace(h,f),h):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(h,f,r){f||(f={}),typeof h=="string"||h instanceof RegExp?f.needle=h:typeof h=="object"&&R.mixin(f,h);var m=this.selection.getRange();f.needle==null&&(h=this.session.getTextRange(m)||this.$search.$options.needle,h||(m=this.session.getWordRange(m.start.row,m.start.column),h=this.session.getTextRange(m)),this.$search.set({needle:h})),this.$search.set(f),f.start||this.$search.set({start:m});var b=this.$search.find(this.session);if(f.preventScroll)return b;if(b)return this.revealRange(b,r),b;f.backwards?m.start=m.end:m.end=m.start,this.selection.setRange(m)},this.findNext=function(h,f){this.find({skipCurrent:!0,backwards:!1},h,f)},this.findPrevious=function(h,f){this.find(h,{skipCurrent:!0,backwards:!0},f)},this.revealRange=function(h,f){this.session.unfold(h),this.selection.setSelectionRange(h);var r=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(h.start,h.end,.5),f!==!1&&this.renderer.animateScrolling(r)},this.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(h){h.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},this.setAutoScrollEditorIntoView=function(h){if(!!h){var f,r=this,m=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var b=this.$scrollAnchor;b.style.cssText="position:absolute",this.container.insertBefore(b,this.container.firstChild);var C=this.on("changeSelection",function(){m=!0}),y=this.renderer.on("beforeRender",function(){m&&(f=r.renderer.container.getBoundingClientRect())}),E=this.renderer.on("afterRender",function(){if(m&&f&&(r.isFocused()||r.searchBox&&r.searchBox.isFocused())){var x=r.renderer,_=x.$cursorLayer.$pixelPos,T=x.layerConfig,F=_.top-T.offset;_.top>=0&&F+f.top<0?m=!0:_.topwindow.innerHeight?m=!1:m=null,m!=null&&(b.style.top=F+"px",b.style.left=_.left+"px",b.style.height=T.lineHeight+"px",b.scrollIntoView(m)),m=f=null}});this.setAutoScrollEditorIntoView=function(x){x||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",C),this.renderer.off("afterRender",E),this.renderer.off("beforeRender",y))}}},this.$resetCursorStyle=function(){var h=this.$cursorStyle||"ace",f=this.renderer.$cursorLayer;!f||(f.setSmoothBlinking(/smooth/.test(h)),f.isBlinking=!this.$readOnly&&h!="wide",L.setCssClass(f.element,"ace_slim-cursors",/slim/.test(h)))},this.prompt=function(h,f,r){var m=this;$.loadModule("./ext/prompt",function(b){b.prompt(m,h,f,r)})}}.call(v.prototype),$.defineOptions(v.prototype,"editor",{selectionStyle:{set:function(h){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:h})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(h){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(h){this.textInput.setReadOnly(h),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(h){this.textInput.setCopyWithEmptySelection(h)},initialValue:!1},cursorStyle:{set:function(h){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(h){this.setAutoScrollEditorIntoView(h)}},keyboardHandler:{set:function(h){this.setKeyboardHandler(h)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(h){this.session.setValue(h)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(h){this.setSession(h)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(h){this.renderer.$gutterLayer.setShowLineNumbers(h),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),h&&this.$relativeLineNumbers?u.attach(this):u.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(h){this.$showLineNumbers&&h?u.attach(this):u.detach(this)}},placeholder:{set:function(h){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var f=this.session&&(this.renderer.$composition||this.getValue());if(f&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),L.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!f&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),L.addCssClass(this.container,"ace_hasPlaceholder");var r=L.createElement("div");r.className="ace_placeholder",r.textContent=this.$placeholder||"",this.renderer.placeholderNode=r,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!f&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var u={getText:function(h,f){return(Math.abs(h.selection.lead.row-f)||f+1+(f<9?"\xB7":""))+""},getWidth:function(h,f,r){return Math.max(f.toString().length,(r.lastRow+1).toString().length,2)*r.characterWidth},update:function(h,f){f.renderer.$loop.schedule(f.renderer.CHANGE_GUTTER)},attach:function(h){h.renderer.$gutterLayer.$renderer=this,h.on("changeSelection",this.update),this.update(null,h)},detach:function(h){h.renderer.$gutterLayer.$renderer==this&&(h.renderer.$gutterLayer.$renderer=null),h.off("changeSelection",this.update),this.update(null,h)}};A.Editor=v}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(k,A,D){"use strict";var R=function(){this.$maxRev=0,this.$fromUndo=!1,this.reset()};(function(){this.addSession=function(u){this.$session=u},this.add=function(u,h,f){this.$fromUndo||u!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),(h===!1||!this.lastDeltas)&&(this.lastDeltas=[],this.$undoStack.push(this.lastDeltas),u.id=this.$rev=++this.$maxRev),(u.action=="remove"||u.action=="insert")&&(this.$lastDelta=u),this.lastDeltas.push(u))},this.addSelection=function(u,h){this.selections.push({value:u,rev:h||this.$rev})},this.startNewGroup=function(){return this.lastDeltas=null,this.$rev},this.markIgnored=function(u,h){h==null&&(h=this.$rev+1);for(var f=this.$undoStack,r=f.length;r--;){var m=f[r][0];if(m.id<=u)break;m.id0},this.canRedo=function(){return this.$redoStack.length>0},this.bookmark=function(u){u==null&&(u=this.$rev),this.mark=u},this.isAtBookmark=function(){return this.$rev===this.mark},this.toJSON=function(){},this.fromJSON=function(){},this.hasUndo=this.canUndo,this.hasRedo=this.canRedo,this.isClean=this.isAtBookmark,this.markClean=this.bookmark,this.$prettyPrint=function(u){return u?n(u):n(this.$undoStack)+` ---- -`+n(this.$redoStack)}}).call(R.prototype);function L(u,h){for(var f=h;f--;){var r=u[f];if(r&&!r[0].ignore){for(;f0){y.row+=m,y.column+=y.row==r.row?b:0;continue}!h&&x<=0&&(y.row=f.row,y.column=f.column,x===0&&(y.bias=1))}}}function e(u){return{row:u.row,column:u.column}}function i(u){return{start:e(u.start),end:e(u.end),action:u.action,lines:u.lines.slice()}}function n(u){if(u=u||this,Array.isArray(u))return u.map(n).join(` -`);var h="";return u.action?(h=u.action=="insert"?"+":"-",h+="["+u.lines+"]"):u.value&&(Array.isArray(u.value)?h=u.value.map(s).join(` -`):h=s(u.value)),u.start&&(h+=s(u)),(u.id||u.rev)&&(h+=" ("+(u.id||u.rev)+")"),h}function s(u){return u.start.row+":"+u.start.column+"=>"+u.end.row+":"+u.end.column}function l(u,h){var f=u.action=="insert",r=h.action=="insert";if(f&&r)if(o(h.start,u.end)>=0)S(h,u,-1);else if(o(h.start,u.start)<=0)S(u,h,1);else return null;else if(f&&!r)if(o(h.start,u.end)>=0)S(h,u,-1);else if(o(h.end,u.start)<=0)S(u,h,-1);else return null;else if(!f&&r)if(o(h.start,u.start)>=0)S(h,u,1);else if(o(h.start,u.start)<=0)S(u,h,1);else return null;else if(!f&&!r)if(o(h.start,u.start)>=0)S(h,u,1);else if(o(h.end,u.start)<=0)S(u,h,-1);else return null;return[h,u]}function g(u,h){for(var f=u.length;f--;)for(var r=0;r=0?S(u,h,-1):(o(u.start,h.start)<=0||S(u,d.fromPoints(h.start,u.start),-1),S(h,u,1));else if(!f&&r)o(h.start,u.end)>=0?S(h,u,-1):(o(h.start,u.start)<=0||S(h,d.fromPoints(u.start,h.start),-1),S(u,h,1));else if(!f&&!r)if(o(h.start,u.end)>=0)S(h,u,-1);else if(o(h.end,u.start)<=0)S(u,h,-1);else{var m,b;return o(u.start,h.start)<0&&(m=u,u=w(u,h.start)),o(u.end,h.end)>0&&(b=w(u,h.end)),$(h.end,u.start,u.end,-1),b&&!m&&(u.lines=b.lines,u.start=b.start,u.end=b.end,b=u),[h,m,b].filter(Boolean)}return[h,u]}function S(u,h,f){$(u.start,h.start,h.end,f),$(u.end,h.start,h.end,f)}function $(u,h,f,r){u.row==(r==1?h:f).row&&(u.column+=r*(f.column-h.column)),u.row+=r*(f.row-h.row)}function w(u,h){var f=u.lines,r=u.end;u.end=e(h);var m=u.end.row-u.start.row,b=f.splice(m,f.length),C=m?h.column:h.column-u.start.column;f.push(b[0].substring(0,C)),b[0]=b[0].substr(C);var y={start:e(h),end:r,lines:b,action:u.action};return y}function c(u,h){h=i(h);for(var f=u.length;f--;){for(var r=u[f],m=0;mp&&(w=g.end.row+1,g=n.getNextFoldLine(w,g),p=g?g.start.row:1/0),w>l){for(;this.$lines.getLength()>$+1;)this.$lines.pop();break}S=this.$lines.get(++$),S?S.row=w:(S=this.$lines.createCell(w,i,this.session,e),this.$lines.push(S)),this.$renderCell(S,i,g,w),w++}this._signal("afterRender"),this.$updateGutterWidth(i)},this.$updateGutterWidth=function(i){var n=this.session,s=n.gutterRenderer||this.$renderer,l=n.$firstLineNumber,g=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||n.$useWrapMode)&&(g=n.getLength()+l-1);var p=s?s.getWidth(n,g,i):g.toString().length*i.characterWidth,S=this.$padding||this.$computePadding();p+=S.left+S.right,p!==this.gutterWidth&&!isNaN(p)&&(this.gutterWidth=p,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",p))},this.$updateCursorRow=function(){if(!!this.$highlightGutterLine){var i=this.session.selection.getCursor();this.$cursorRow!==i.row&&(this.$cursorRow=i.row)}},this.updateLineHighlight=function(){if(!!this.$highlightGutterLine){var i=this.session.selection.cursor.row;if(this.$cursorRow=i,!(this.$cursorCell&&this.$cursorCell.row==i)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var n=this.$lines.cells;this.$cursorCell=null;for(var s=0;s=this.$cursorRow){if(l.row>this.$cursorRow){var g=this.session.getFoldLine(this.$cursorRow);if(s>0&&g&&g.start.row==n[s-1].row)l=n[s-1];else break}l.element.className="ace_gutter-active-line "+l.element.className,this.$cursorCell=l;break}}}}},this.scrollLines=function(i){var n=this.config;if(this.config=i,this.$updateCursorRow(),this.$lines.pageChanged(n,i))return this.update(i);this.$lines.moveContainer(i);var s=Math.min(i.lastRow+i.gutterOffset,this.session.getLength()-1),l=this.oldLastRow;if(this.oldLastRow=s,!n||l0;g--)this.$lines.shift();if(l>s)for(var g=this.session.getFoldedRowCount(s+1,l);g>0;g--)this.$lines.pop();i.firstRowl&&this.$lines.push(this.$renderLines(i,l+1,s)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(i)},this.$renderLines=function(i,n,s){for(var l=[],g=n,p=this.session.getNextFoldLine(g),S=p?p.start.row:1/0;g>S&&(g=p.end.row+1,p=this.session.getNextFoldLine(g,p),S=p?p.start.row:1/0),!(g>s);){var $=this.$lines.createCell(g,i,this.session,e);this.$renderCell($,i,p,g),l.push($),g++}return l},this.$renderCell=function(i,n,s,l){var g=i.element,p=this.session,S=g.childNodes[0],$=g.childNodes[1],w=p.$firstLineNumber,c=p.$breakpoints,v=p.$decorations,u=p.gutterRenderer||this.$renderer,h=this.$showFoldWidgets&&p.foldWidgets,f=s?s.start.row:Number.MAX_VALUE,r="ace_gutter-cell ";if(this.$highlightGutterLine&&(l==this.$cursorRow||s&&l=f&&this.$cursorRow<=s.end.row)&&(r+="ace_gutter-active-line ",this.$cursorCell!=i&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=i)),c[l]&&(r+=c[l]),v[l]&&(r+=v[l]),this.$annotations[l]&&(r+=this.$annotations[l].className),g.className!=r&&(g.className=r),h){var m=h[l];m==null&&(m=h[l]=p.getFoldWidget(l))}if(m){var r="ace_fold-widget ace_"+m;m=="start"&&l==f&&ls.right-n.right)return"foldWidgets"}}).call(t.prototype);function e(i){var n=document.createTextNode("");i.appendChild(n);var s=R.createElement("span");return i.appendChild(s),i}A.Gutter=t}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(k,A,D){"use strict";var R=k("../range").Range,L=k("../lib/dom"),d=function(o){this.element=L.createElement("div"),this.element.className="ace_layer ace_marker-layer",o.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(a){this.$padding=a},this.setSession=function(a){this.session=a},this.setMarkers=function(a){this.markers=a},this.elt=function(a,t){var e=this.i!=-1&&this.element.childNodes[this.i];e?this.i++:(e=document.createElement("div"),this.element.appendChild(e),this.i=-1),e.style.cssText=t,e.className=a},this.update=function(a){if(!!a){this.config=a,this.i=0;var t;for(var e in this.markers){var i=this.markers[e];if(!i.range){i.update(t,this,this.session,a);continue}var n=i.range.clipRows(a.firstRow,a.lastRow);if(!n.isEmpty())if(n=n.toScreenRange(this.session),i.renderer){var s=this.$getTop(n.start.row,a),l=this.$padding+n.start.column*a.characterWidth;i.renderer(t,n,l,s,a)}else i.type=="fullLine"?this.drawFullLineMarker(t,n,i.clazz,a):i.type=="screenLine"?this.drawScreenLineMarker(t,n,i.clazz,a):n.isMultiLine()?i.type=="text"?this.drawTextMarker(t,n,i.clazz,a):this.drawMultiLineMarker(t,n,i.clazz,a):this.drawSingleLineMarker(t,n,i.clazz+" ace_start ace_br15",a)}if(this.i!=-1)for(;this.iw,p==g),i,p==g?0:1,n)},this.drawMultiLineMarker=function(a,t,e,i,n){var s=this.$padding,l=i.lineHeight,g=this.$getTop(t.start.row,i),p=s+t.start.column*i.characterWidth;if(n=n||"",this.session.$bidiHandler.isBidiRow(t.start.row)){var S=t.clone();S.end.row=S.start.row,S.end.column=this.session.getLine(S.start.row).length,this.drawBidiSingleLineMarker(a,S,e+" ace_br1 ace_start",i,null,n)}else this.elt(e+" ace_br1 ace_start","height:"+l+"px;right:0;top:"+g+"px;left:"+p+"px;"+(n||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var S=t.clone();S.start.row=S.end.row,S.start.column=0,this.drawBidiSingleLineMarker(a,S,e+" ace_br12",i,null,n)}else{g=this.$getTop(t.end.row,i);var $=t.end.column*i.characterWidth;this.elt(e+" ace_br12","height:"+l+"px;width:"+$+"px;top:"+g+"px;left:"+s+"px;"+(n||""))}if(l=(t.end.row-t.start.row-1)*i.lineHeight,!(l<=0)){g=this.$getTop(t.start.row+1,i);var w=(t.start.column?1:0)|(t.end.column?0:8);this.elt(e+(w?" ace_br"+w:""),"height:"+l+"px;right:0;top:"+g+"px;left:"+s+"px;"+(n||""))}},this.drawSingleLineMarker=function(a,t,e,i,n,s){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(a,t,e,i,n,s);var l=i.lineHeight,g=(t.end.column+(n||0)-t.start.column)*i.characterWidth,p=this.$getTop(t.start.row,i),S=this.$padding+t.start.column*i.characterWidth;this.elt(e,"height:"+l+"px;width:"+g+"px;top:"+p+"px;left:"+S+"px;"+(s||""))},this.drawBidiSingleLineMarker=function(a,t,e,i,n,s){var l=i.lineHeight,g=this.$getTop(t.start.row,i),p=this.$padding,S=this.session.$bidiHandler.getSelections(t.start.column,t.end.column);S.forEach(function($){this.elt(e,"height:"+l+"px;width:"+$.width+(n||0)+"px;top:"+g+"px;left:"+(p+$.left)+"px;"+(s||""))},this)},this.drawFullLineMarker=function(a,t,e,i,n){var s=this.$getTop(t.start.row,i),l=i.lineHeight;t.start.row!=t.end.row&&(l+=this.$getTop(t.end.row,i)-s),this.elt(e,"height:"+l+"px;top:"+s+"px;left:0;right:0;"+(n||""))},this.drawScreenLineMarker=function(a,t,e,i,n){var s=this.$getTop(t.start.row,i),l=i.lineHeight;this.elt(e,"height:"+l+"px;top:"+s+"px;left:0;right:0;"+(n||""))}}).call(d.prototype),A.Marker=d}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter"],function(k,A,D){"use strict";var R=k("../lib/oop"),L=k("../lib/dom"),d=k("../lib/lang"),o=k("./lines").Lines,a=k("../lib/event_emitter").EventEmitter,t=function(e){this.dom=L,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new o(this.element)};(function(){R.implement(this,a),this.EOF_CHAR="\xB6",this.EOL_CHAR_LF="\xAC",this.EOL_CHAR_CRLF="\xA4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xB7",this.$padding=0,this.MAX_LINE_LENGTH=1e4,this.$updateEolChar=function(){var e=this.session.doc,i=e.getNewLineCharacter()==` -`&&e.getNewLineMode()!="windows",n=i?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=n)return this.EOL_CHAR=n,!0},this.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(i){this._signal("changeCharacterSize",i)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.showSpaces=!1,this.showTabs=!1,this.showEOL=!1,this.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e=="string"?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var i=this.$tabStrings=[0],n=1;nc&&($=w.end.row+1,w=this.session.getNextFoldLine($,w),c=w?w.start.row:1/0),!($>l);){var v=g[p++];if(v){this.dom.removeChildren(v),this.$renderLine(v,$,$==c?w:!1),S&&(v.style.top=this.$lines.computeLineTop($,e,this.session)+"px");var u=e.lineHeight*this.session.getRowLength($)+"px";v.style.height!=u&&(S=!0,v.style.height=u)}$++}if(S)for(;p0;l--)this.$lines.shift();if(i.lastRow>e.lastRow)for(var l=this.session.getFoldedRowCount(e.lastRow+1,i.lastRow);l>0;l--)this.$lines.pop();e.firstRowi.lastRow&&this.$lines.push(this.$renderLinesFragment(e,i.lastRow+1,e.lastRow))},this.$renderLinesFragment=function(e,i,n){for(var s=[],l=i,g=this.session.getNextFoldLine(l),p=g?g.start.row:1/0;l>p&&(l=g.end.row+1,g=this.session.getNextFoldLine(l,g),p=g?g.start.row:1/0),!(l>n);){var S=this.$lines.createCell(l,e,this.session),$=S.element;this.dom.removeChildren($),L.setStyle($.style,"height",this.$lines.computeLineHeight(l,e,this.session)+"px"),L.setStyle($.style,"top",this.$lines.computeLineTop(l,e,this.session)+"px"),this.$renderLine($,l,l==p?g:!1),this.$useLineGroups()?$.className="ace_line_group":$.className="ace_line",s.push(S),l++}return s},this.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var i=e.firstRow,n=e.lastRow,s=this.$lines;s.getLength();)s.pop();s.push(this.$renderLinesFragment(e,i,n))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,i,n,s){for(var l=this,g=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,p=this.dom.createFragment(this.element),S,$=0;S=g.exec(s);){var w=S[1],c=S[2],v=S[3],u=S[4],h=S[5];if(!(!l.showSpaces&&c)){var f=$!=S.index?s.slice($,S.index):"";if($=S.index+S[0].length,f&&p.appendChild(this.dom.createTextNode(f,this.element)),w){var r=l.session.getScreenTabSize(i+S.index);p.appendChild(l.$tabStrings[r].cloneNode(!0)),i+=r-1}else if(c)if(l.showSpaces){var m=this.dom.createElement("span");m.className="ace_invisible ace_invisible_space",m.textContent=d.stringRepeat(l.SPACE_CHAR,c.length),p.appendChild(m)}else p.appendChild(this.com.createTextNode(c,this.element));else if(v){var m=this.dom.createElement("span");m.className="ace_invisible ace_invisible_space ace_invalid",m.textContent=d.stringRepeat(l.SPACE_CHAR,v.length),p.appendChild(m)}else if(u){i+=1;var m=this.dom.createElement("span");m.style.width=l.config.characterWidth*2+"px",m.className=l.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",m.textContent=l.showSpaces?l.SPACE_CHAR:u,p.appendChild(m)}else if(h){i+=1;var m=this.dom.createElement("span");m.style.width=l.config.characterWidth*2+"px",m.className="ace_cjk",m.textContent=h,p.appendChild(m)}}}if(p.appendChild(this.dom.createTextNode($?s.slice($):s,this.element)),this.$textToken[n.type])e.appendChild(p);else{var b="ace_"+n.type.replace(/\./g," ace_"),m=this.dom.createElement("span");n.type=="fold"&&(m.style.width=n.value.length*this.config.characterWidth+"px"),m.className=b,m.appendChild(p),e.appendChild(m)}return i+s.length},this.renderIndentGuide=function(e,i,n){var s=i.search(this.$indentGuideRe);if(s<=0||s>=n)return i;if(i[0]==" "){s-=s%this.tabSize;for(var l=s/this.tabSize,g=0;g=g;)p=this.$renderToken(S,p,w,c.substring(0,g-s)),c=c.substring(g-s),s=g,S=this.$createLineElement(),e.appendChild(S),S.appendChild(this.dom.createTextNode(d.stringRepeat("\xA0",n.indent),this.element)),l++,p=0,g=n[l]||Number.MAX_VALUE;c.length!=0&&(s+=c.length,p=this.$renderToken(S,p,w,c))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(S,p,null,"",!0)},this.$renderSimpleLine=function(e,i){var n=0,s=i[0],l=s.value;this.displayIndentGuides&&(l=this.renderIndentGuide(e,l)),l&&(n=this.$renderToken(e,n,s,l));for(var g=1;gthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,s,l);n=this.$renderToken(e,n,s,l)}},this.$renderOverflowMessage=function(e,i,n,s,l){n&&this.$renderToken(e,i,n,s.slice(0,this.MAX_LINE_LENGTH-i));var g=this.dom.createElement("span");g.className="ace_inline_button ace_keyword ace_toggle_wrap",g.textContent=l?"":"",e.appendChild(g)},this.$renderLine=function(e,i,n){if(!n&&n!=!1&&(n=this.session.getFoldLine(i)),n)var s=this.$getFoldLineTokens(i,n);else var s=this.session.getTokens(i);var l=e;if(s.length){var g=this.session.getRowSplitData(i);if(g&&g.length){this.$renderWrappedLine(e,s,g);var l=e.lastChild}else{var l=e;this.$useLineGroups()&&(l=this.$createLineElement(),e.appendChild(l)),this.$renderSimpleLine(l,s)}}else this.$useLineGroups()&&(l=this.$createLineElement(),e.appendChild(l));if(this.showEOL&&l){n&&(i=n.end.row);var p=this.dom.createElement("span");p.className="ace_invisible ace_invisible_eol",p.textContent=i==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,l.appendChild(p)}},this.$getFoldLineTokens=function(e,i){var n=this.session,s=[];function l(p,S,$){for(var w=0,c=0;c+p[w].value.length$-S&&(v=v.substring(0,$-S)),s.push({type:p[w].type,value:v}),c=S+v.length,w+=1}for(;c<$&&w$?s.push({type:p[w].type,value:v.substring(0,$-c)}):s.push(p[w]),c+=v.length,w+=1}}var g=n.getTokens(e);return i.walk(function(p,S,$,w,c){p!=null?s.push({type:"fold",value:p}):(c&&(g=n.getTokens(S)),g.length&&l(g,w,$))},i.end.row,this.session.getLine(i.end.row).length),s},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){}}).call(t.prototype),A.Text=t}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(k,A,D){"use strict";var R=k("../lib/dom"),L=function(d){this.element=R.createElement("div"),this.element.className="ace_layer ace_cursor-layer",d.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),R.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)};(function(){this.$updateOpacity=function(d){for(var o=this.cursors,a=o.length;a--;)R.setStyle(o[a].style,"opacity",d?"":"0")},this.$startCssAnimation=function(){for(var d=this.cursors,o=d.length;o--;)d[o].style.animationDuration=this.blinkInterval+"ms";setTimeout(function(){R.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},this.$stopCssAnimation=function(){R.removeCssClass(this.element,"ace_animate-blinking")},this.$padding=0,this.setPadding=function(d){this.$padding=d},this.setSession=function(d){this.session=d},this.setBlinking=function(d){d!=this.isBlinking&&(this.isBlinking=d,this.restartTimer())},this.setBlinkInterval=function(d){d!=this.blinkInterval&&(this.blinkInterval=d,this.restartTimer())},this.setSmoothBlinking=function(d){d!=this.smoothBlinking&&(this.smoothBlinking=d,R.setCssClass(this.element,"ace_smooth-blinking",d),this.$updateCursors(!0),this.restartTimer())},this.addCursor=function(){var d=R.createElement("div");return d.className="ace_cursor",this.element.appendChild(d),this.cursors.push(d),d},this.removeCursor=function(){if(this.cursors.length>1){var d=this.cursors.pop();return d.parentNode.removeChild(d),d}},this.hideCursor=function(){this.isVisible=!1,R.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,R.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var d=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&R.removeCssClass(this.element,"ace_smooth-blinking"),d(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&setTimeout(function(){R.addCssClass(this.element,"ace_smooth-blinking")}.bind(this)),R.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var o=function(){this.timeoutId=setTimeout(function(){d(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){d(!0),o()},this.blinkInterval),o()}},this.getPixelPosition=function(d,o){if(!this.config||!this.session)return{left:0,top:0};d||(d=this.session.selection.getCursor());var a=this.session.documentToScreenPosition(d),t=this.$padding+(this.session.$bidiHandler.isBidiRow(a.row,d.row)?this.session.$bidiHandler.getPosLeft(a.column):a.column*this.config.characterWidth),e=(a.row-(o?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:t,top:e}},this.isCursorInView=function(d,o){return d.top>=0&&d.topd.height+d.offset||i.top<0)&&a>1)){var n=this.cursors[t++]||this.addCursor(),s=n.style;this.drawCursor?this.drawCursor(n,i,d,o[a],this.session):this.isCursorInView(i,d)?(R.setStyle(s,"display","block"),R.translate(n,i.left,i.top),R.setStyle(s,"width",Math.round(d.characterWidth)+"px"),R.setStyle(s,"height",d.lineHeight+"px")):R.setStyle(s,"display","none")}}for(;this.cursors.length>t;)this.removeCursor();var l=this.session.getOverwrite();this.$setOverwrite(l),this.$pixelPos=i,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(d){d!=this.overwrite&&(this.overwrite=d,d?R.addCssClass(this.element,"ace_overwrite-cursors"):R.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(L.prototype),A.Cursor=L}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(k,A,D){"use strict";var R=k("./lib/oop"),L=k("./lib/dom"),d=k("./lib/event"),o=k("./lib/event_emitter").EventEmitter,a=32768,t=function(n){this.element=L.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=L.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),n.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,d.addListener(this.element,"scroll",this.onScroll.bind(this)),d.addListener(this.element,"mousedown",d.preventDefault)};(function(){R.implement(this,o),this.setVisible=function(n){this.element.style.display=n?"":"none",this.isVisible=n,this.coeff=1}}).call(t.prototype);var e=function(n,s){t.call(this,n),this.scrollTop=0,this.scrollHeight=0,s.$scrollbarWidth=this.width=L.scrollbarWidth(n.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};R.inherits(e,t),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var n=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-n)/(this.coeff-n)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(n){this.element.style.height=n+"px"},this.setInnerHeight=this.setScrollHeight=function(n){this.scrollHeight=n,n>a?(this.coeff=a/n,n=a):this.coeff!=1&&(this.coeff=1),this.inner.style.height=n+"px"},this.setScrollTop=function(n){this.scrollTop!=n&&(this.skipEvent=!0,this.scrollTop=n,this.element.scrollTop=n*this.coeff)}}.call(e.prototype);var i=function(n,s){t.call(this,n),this.scrollLeft=0,this.height=s.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};R.inherits(i,t),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(n){this.element.style.width=n+"px"},this.setInnerWidth=function(n){this.inner.style.width=n+"px"},this.setScrollWidth=function(n){this.inner.style.width=n+"px"},this.setScrollLeft=function(n){this.scrollLeft!=n&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=n)}}.call(i.prototype),A.ScrollBar=e,A.ScrollBarV=e,A.ScrollBarH=i,A.VScrollBar=e,A.HScrollBar=i}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(k,A,D){"use strict";var R=k("./lib/event"),L=function(d,o){this.onRender=d,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=o||window;var a=this;this._flush=function(t){a.pending=!1;var e=a.changes;if(e&&(R.blockIdle(100),a.changes=0,a.onRender(e)),a.changes){if(a.$recursionLimit--<0)return;a.schedule()}else a.$recursionLimit=2}};(function(){this.schedule=function(d){this.changes=this.changes|d,this.changes&&!this.pending&&(R.nextFrame(this._flush),this.pending=!0)},this.clear=function(d){var o=this.changes;return this.changes=0,o}}).call(L.prototype),A.RenderLoop=L}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(k,A,D){var R=k("../lib/oop"),L=k("../lib/dom"),d=k("../lib/lang"),o=k("../lib/event"),a=k("../lib/useragent"),t=k("../lib/event_emitter").EventEmitter,e=256,i=typeof ResizeObserver=="function",n=200,s=A.FontMetrics=function(l){this.el=L.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=L.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=L.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),l.appendChild(this.el),this.$measureNode.textContent=d.stringRepeat("X",e),this.$characterSize={width:0,height:0},i?this.$addObserver():this.checkForSizeChanges()};(function(){R.implement(this,t),this.$characterSize={width:0,height:0},this.$setMeasureNodeStyles=function(l,g){l.width=l.height="auto",l.left=l.top="0px",l.visibility="hidden",l.position="absolute",l.whiteSpace="pre",a.isIE<8?l["font-family"]="inherit":l.font="inherit",l.overflow=g?"hidden":"visible"},this.checkForSizeChanges=function(l){if(l===void 0&&(l=this.$measureSizes()),l&&(this.$characterSize.width!==l.width||this.$characterSize.height!==l.height)){this.$measureNode.style.fontWeight="bold";var g=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=l,this.charSizes=Object.create(null),this.allowBoldFonts=g&&g.width===l.width&&g.height===l.height,this._emit("changeCharacterSize",{data:l})}},this.$addObserver=function(){var l=this;this.$observer=new window.ResizeObserver(function(g){l.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var l=this;return this.$pollSizeChangesTimer=o.onIdle(function g(){l.checkForSizeChanges(),o.onIdle(g,500)},500)},this.setPolling=function(l){l?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(l){var g={height:(l||this.$measureNode).clientHeight,width:(l||this.$measureNode).clientWidth/e};return g.width===0||g.height===0?null:g},this.$measureCharWidth=function(l){this.$main.textContent=d.stringRepeat(l,e);var g=this.$main.getBoundingClientRect();return g.width/e},this.getCharacterWidth=function(l){var g=this.charSizes[l];return g===void 0&&(g=this.charSizes[l]=this.$measureCharWidth(l)/this.$characterSize.width),g},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},this.$getZoom=function l(g){return!g||!g.parentElement?1:(window.getComputedStyle(g).zoom||1)*l(g.parentElement)},this.$initTransformMeasureNodes=function(){var l=function(g,p){return["div",{style:"position: absolute;top:"+g+"px;left:"+p+"px;"}]};this.els=L.buildDom([l(0,0),l(n,0),l(0,n),l(n,n)],this.el)},this.transformCoordinates=function(l,g){if(l){var p=this.$getZoom(this.el);l=c(1/p,l)}function S(F,O,M){var B=F[1]*O[0]-F[0]*O[1];return[(-O[1]*M[0]+O[0]*M[1])/B,(+F[1]*M[0]-F[0]*M[1])/B]}function $(F,O){return[F[0]-O[0],F[1]-O[1]]}function w(F,O){return[F[0]+O[0],F[1]+O[1]]}function c(F,O){return[F*O[0],F*O[1]]}this.els||this.$initTransformMeasureNodes();function v(F){var O=F.getBoundingClientRect();return[O.left,O.top]}var u=v(this.els[0]),h=v(this.els[1]),f=v(this.els[2]),r=v(this.els[3]),m=S($(r,h),$(r,f),$(w(h,f),w(r,u))),b=c(1+m[0],$(h,u)),C=c(1+m[1],$(f,u));if(g){var y=g,E=m[0]*y[0]/n+m[1]*y[1]/n+1,x=w(c(y[0],b),c(y[1],C));return w(c(1/E/n,x),u)}var _=$(l,u),T=S($(b,c(m[0],_)),$(C,c(m[1],_)),_);return c(n,T)}}).call(s.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/lib/useragent"],function(k,A,D){"use strict";var R=k("./lib/oop"),L=k("./lib/dom"),d=k("./config"),o=k("./layer/gutter").Gutter,a=k("./layer/marker").Marker,t=k("./layer/text").Text,e=k("./layer/cursor").Cursor,i=k("./scrollbar").HScrollBar,n=k("./scrollbar").VScrollBar,s=k("./renderloop").RenderLoop,l=k("./layer/font_metrics").FontMetrics,g=k("./lib/event_emitter").EventEmitter,p=`.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_editor {position: relative;overflow: hidden;padding: 0;font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;box-sizing: border-box;min-width: 100%;contain: style size layout;font-variant-ligatures: no-common-ligatures;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;contain: style size layout;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {position: absolute;top: 0;left: 0;right: 0;padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {contain: strict;position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;contain: strict;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: transparent;color: inherit;z-index: 1000;opacity: 1;}.ace_composition_placeholder { color: transparent }.ace_composition_marker { border-bottom: 1px solid;position: absolute;border-radius: 0;margin-top: 1px;}[ace_nocontext=true] {transform: none!important;filter: none!important;clip-path: none!important;mask : none!important;contain: none!important;perspective: none!important;mix-blend-mode: initial!important;z-index: auto;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;height: 1000000px;contain: style size layout;}.ace_text-layer {font: inherit !important;position: absolute;height: 1000000px;width: 1000000px;contain: style size layout;}.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {contain: style size layout;position: absolute;top: 0;left: 0;right: 0;}.ace_hidpi .ace_text-layer,.ace_hidpi .ace_gutter-layer,.ace_hidpi .ace_content,.ace_hidpi .ace_gutter {contain: strict;will-change: transform;}.ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group {contain: strict;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {opacity: 0;}.ace_smooth-blinking .ace_cursor {transition: opacity 0.18s;}.ace_animate-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: step-end;animation-name: blink-ace-animate;animation-iteration-count: infinite;}.ace_animate-blinking.ace_smooth-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: ease-in-out;animation-name: blink-ace-animate-smooth;}@keyframes blink-ace-animate {from, to { opacity: 1; }60% { opacity: 0; }}@keyframes blink-ace-animate-smooth {from, to { opacity: 1; }45% { opacity: 1; }60% { opacity: 0; }85% { opacity: 0; }}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_error_bracket {position: absolute;border-bottom: 1px solid #DE5555;border-radius: 0;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;box-sizing: border-box;}.ace_line .ace_fold {box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_inline_button {border: 1px solid lightgray;display: inline-block;margin: -1px 8px;padding: 0 5px;pointer-events: auto;cursor: pointer;}.ace_inline_button:hover {border-color: gray;background: rgba(200,200,200,0.2);display: inline-block;pointer-events: auto;}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_mobile-menu {position: absolute;line-height: 1.5;border-radius: 4px;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;background: white;box-shadow: 1px 3px 2px grey;border: 1px solid #dcdcdc;color: black;}.ace_dark > .ace_mobile-menu {background: #333;color: #ccc;box-shadow: 1px 3px 2px grey;border: 1px solid #444;}.ace_mobile-button {padding: 2px;cursor: pointer;overflow: hidden;}.ace_mobile-button:hover {background-color: #eee;opacity:1;}.ace_mobile-button:active {background-color: #ddd;}.ace_placeholder {font-family: arial;transform: scale(0.9);transform-origin: left;white-space: pre;opacity: 0.7;margin: 0 10px;}`,S=k("./lib/useragent"),$=S.isIE;L.importCssString(p,"ace_editor.css");var w=function(c,v){var u=this;this.container=c||L.createElement("div"),L.addCssClass(this.container,"ace_editor"),L.HI_DPI&&L.addCssClass(this.container,"ace_hidpi"),this.setTheme(v),this.$gutter=L.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=L.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=L.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new o(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new a(this.content);var h=this.$textLayer=new t(this.content);this.canvas=h.element,this.$markerFront=new a(this.content),this.$cursorLayer=new e(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new n(this.container,this),this.scrollBarH=new i(this.container,this),this.scrollBarV.on("scroll",function(f){u.$scrollAnimation||u.session.setScrollTop(f.data-u.scrollMargin.top)}),this.scrollBarH.on("scroll",function(f){u.$scrollAnimation||u.session.setScrollLeft(f.data-u.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new l(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(f){u.updateCharacterSize(),u.onResize(!0,u.gutterWidth,u.$size.width,u.$size.height),u._signal("changeCharacterSize",f)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!S.isIOS,this.$loop=new s(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),d.resetOptions(this),d._signal("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,R.implement(this,g),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),L.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},this.setSession=function(c){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=c,c&&this.scrollMargin.top&&c.getScrollTop()<=0&&c.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(c),this.$markerBack.setSession(c),this.$markerFront.setSession(c),this.$gutterLayer.setSession(c),this.$textLayer.setSession(c),c&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(c,v,u){if(v===void 0&&(v=1/0),this.$changedLines?(this.$changedLines.firstRow>c&&(this.$changedLines.firstRow=c),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(c){c?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(c,v,u,h){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=c?1:0;var f=this.container;h||(h=f.clientHeight||f.scrollHeight),u||(u=f.clientWidth||f.scrollWidth);var r=this.$updateCachedSize(c,v,u,h);if(!this.$size.scrollerHeight||!u&&!h)return this.resizing=0;c&&(this.$gutterLayer.$padding=null),c?this.$renderChanges(r|this.$changes,!0):this.$loop.schedule(r|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(c,v,u,h){h-=this.$extraHeight||0;var f=0,r=this.$size,m={width:r.width,height:r.height,scrollerHeight:r.scrollerHeight,scrollerWidth:r.scrollerWidth};if(h&&(c||r.height!=h)&&(r.height=h,f|=this.CHANGE_SIZE,r.scrollerHeight=r.height,this.$horizScroll&&(r.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",f=f|this.CHANGE_SCROLL),u&&(c||r.width!=u)){f|=this.CHANGE_SIZE,r.width=u,v==null&&(v=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=v,L.setStyle(this.scrollBarH.element.style,"left",v+"px"),L.setStyle(this.scroller.style,"left",v+this.margin.left+"px"),r.scrollerWidth=Math.max(0,u-v-this.scrollBarV.getWidth()-this.margin.h),L.setStyle(this.$gutter.style,"left",this.margin.left+"px");var b=this.scrollBarV.getWidth()+"px";L.setStyle(this.scrollBarH.element.style,"right",b),L.setStyle(this.scroller.style,"right",b),L.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||c)&&(f|=this.CHANGE_FULL)}return r.$dirty=!u||!h,f&&this._signal("resize",m),f},this.onGutterResize=function(c){var v=this.$showGutter?c:0;v!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,v,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},this.adjustWrapLimit=function(){var c=this.$size.scrollerWidth-this.$padding*2,v=Math.floor(c/this.characterWidth);return this.session.adjustWrapLimit(v,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(c){this.setOption("animatedScroll",c)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(c){this.setOption("showInvisibles",c),this.session.$bidiHandler.setShowInvisibles(c)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(c){this.setOption("displayIndentGuides",c)},this.setShowPrintMargin=function(c){this.setOption("showPrintMargin",c)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(c){this.setOption("printMarginColumn",c)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(c){return this.setOption("showGutter",c)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(c){this.setOption("fadeFoldWidgets",c)},this.setHighlightGutterLine=function(c){this.setOption("highlightGutterLine",c)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var c=L.createElement("div");c.className="ace_layer ace_print-margin-layer",this.$printMarginEl=L.createElement("div"),this.$printMarginEl.className="ace_print-margin",c.appendChild(this.$printMarginEl),this.content.insertBefore(c,this.content.firstChild)}var v=this.$printMarginEl.style;v.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",v.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var c=this.textarea.style,v=this.$composition;if(!this.$keepTextAreaAtCursor&&!v){L.translate(this.textarea,-100,0);return}var u=this.$cursorLayer.$pixelPos;if(!!u){v&&v.markerRange&&(u=this.$cursorLayer.getPixelPosition(v.markerRange.start,!0));var h=this.layerConfig,f=u.top,r=u.left;f-=h.offset;var m=v&&v.useTextareaForIME?this.lineHeight:$?0:1;if(f<0||f>h.height-m){L.translate(this.textarea,0,0);return}var b=1,C=this.$size.height-m;if(!v)f+=this.lineHeight;else if(v.useTextareaForIME){var y=this.textarea.value;b=this.characterWidth*this.session.$getStringScreenWidth(y)[0]}else f+=this.lineHeight+2;r-=this.scrollLeft,r>this.$size.scrollerWidth-b&&(r=this.$size.scrollerWidth-b),r+=this.gutterWidth+this.margin.left,L.setStyle(c,"height",m+"px"),L.setStyle(c,"width",b+"px"),L.translate(this.textarea,Math.min(r,this.$size.scrollerWidth-b),Math.min(f,C))}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},this.getLastFullyVisibleRow=function(){var c=this.layerConfig,v=c.lastRow,u=this.session.documentToScreenRow(v,0)*c.lineHeight;return u-this.session.getScrollTop()>c.height-c.lineHeight?v-1:v},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(c){this.$padding=c,this.$textLayer.setPadding(c),this.$cursorLayer.setPadding(c),this.$markerFront.setPadding(c),this.$markerBack.setPadding(c),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(c,v,u,h){var f=this.scrollMargin;f.top=c|0,f.bottom=v|0,f.right=h|0,f.left=u|0,f.v=f.top+f.bottom,f.h=f.left+f.right,f.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-f.top),this.updateFull()},this.setMargin=function(c,v,u,h){var f=this.margin;f.top=c|0,f.bottom=v|0,f.right=h|0,f.left=u|0,f.v=f.top+f.bottom,f.h=f.left+f.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(c){this.setOption("hScrollBarAlwaysVisible",c)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(c){this.setOption("vScrollBarAlwaysVisible",c)},this.$updateScrollBarV=function(){var c=this.layerConfig.maxHeight,v=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(c-=(v-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>c-v&&(c=this.scrollTop+v,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(c+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(c,v){if(this.$changes&&(c|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!c&&!v){this.$changes|=c;return}if(this.$size.$dirty)return this.$changes|=c,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",c),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var u=this.layerConfig;if(c&this.CHANGE_FULL||c&this.CHANGE_SIZE||c&this.CHANGE_TEXT||c&this.CHANGE_LINES||c&this.CHANGE_SCROLL||c&this.CHANGE_H_SCROLL){if(c|=this.$computeLayerConfig()|this.$loop.clear(),u.firstRow!=this.layerConfig.firstRow&&u.firstRowScreen==this.layerConfig.firstRowScreen){var h=this.scrollTop+(u.firstRow-this.layerConfig.firstRow)*this.lineHeight;h>0&&(this.scrollTop=h,c=c|this.CHANGE_SCROLL,c|=this.$computeLayerConfig()|this.$loop.clear())}u=this.layerConfig,this.$updateScrollBarV(),c&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),L.translate(this.content,-this.scrollLeft,-u.offset);var f=u.width+2*this.$padding+"px",r=u.minHeight+"px";L.setStyle(this.content.style,"width",f),L.setStyle(this.content.style,"height",r)}if(c&this.CHANGE_H_SCROLL&&(L.translate(this.content,-this.scrollLeft,-u.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),c&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(u),this.$showGutter&&this.$gutterLayer.update(u),this.$markerBack.update(u),this.$markerFront.update(u),this.$cursorLayer.update(u),this.$moveTextAreaToCursor(),this._signal("afterRender",c);return}if(c&this.CHANGE_SCROLL){this.$changedLines=null,c&this.CHANGE_TEXT||c&this.CHANGE_LINES?this.$textLayer.update(u):this.$textLayer.scrollLines(u),this.$showGutter&&(c&this.CHANGE_GUTTER||c&this.CHANGE_LINES?this.$gutterLayer.update(u):this.$gutterLayer.scrollLines(u)),this.$markerBack.update(u),this.$markerFront.update(u),this.$cursorLayer.update(u),this.$moveTextAreaToCursor(),this._signal("afterRender",c);return}c&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(u),this.$showGutter&&this.$gutterLayer.update(u)):c&this.CHANGE_LINES?(this.$updateLines()||c&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(u):c&this.CHANGE_TEXT||c&this.CHANGE_GUTTER?this.$showGutter&&this.$gutterLayer.update(u):c&this.CHANGE_CURSOR&&this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(u),c&this.CHANGE_CURSOR&&(this.$cursorLayer.update(u),this.$moveTextAreaToCursor()),c&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(u),c&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(u),this._signal("afterRender",c)},this.$autosize=function(){var c=this.session.getScreenLength()*this.lineHeight,v=this.$maxLines*this.lineHeight,u=Math.min(v,Math.max((this.$minLines||1)*this.lineHeight,c))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(u+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&u>this.$maxPixelHeight&&(u=this.$maxPixelHeight);var h=u<=2*this.lineHeight,f=!h&&c>v;if(u!=this.desiredHeight||this.$size.height!=this.desiredHeight||f!=this.$vScroll){f!=this.$vScroll&&(this.$vScroll=f,this.scrollBarV.setVisible(f));var r=this.container.clientWidth;this.container.style.height=u+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,u),this.desiredHeight=u,this._signal("autosize")}},this.$computeLayerConfig=function(){var c=this.session,v=this.$size,u=v.height<=2*this.lineHeight,h=this.session.getScreenLength(),f=h*this.lineHeight,r=this.$getLongestLine(),m=!u&&(this.$hScrollBarAlwaysVisible||v.scrollerWidth-r-2*this.$padding<0),b=this.$horizScroll!==m;b&&(this.$horizScroll=m,this.scrollBarH.setVisible(m));var C=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var y=v.scrollerHeight+this.lineHeight,E=!this.$maxLines&&this.$scrollPastEnd?(v.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;f+=E;var x=this.scrollMargin;this.session.setScrollTop(Math.max(-x.top,Math.min(this.scrollTop,f-v.scrollerHeight+x.bottom))),this.session.setScrollLeft(Math.max(-x.left,Math.min(this.scrollLeft,r+2*this.$padding-v.scrollerWidth+x.right)));var _=!u&&(this.$vScrollBarAlwaysVisible||v.scrollerHeight-f+E<0||this.scrollTop>x.top),T=C!==_;T&&(this.$vScroll=_,this.scrollBarV.setVisible(_));var F=this.scrollTop%this.lineHeight,O=Math.ceil(y/this.lineHeight)-1,M=Math.max(0,Math.round((this.scrollTop-F)/this.lineHeight)),B=M+O,I,P,H=this.lineHeight;M=c.screenToDocumentRow(M,0);var K=c.getFoldLine(M);K&&(M=K.start.row),I=c.documentToScreenRow(M,0),P=c.getRowLength(M)*H,B=Math.min(c.screenToDocumentRow(B,0),c.getLength()-1),y=v.scrollerHeight+c.getRowLength(B)*H+P,F=this.scrollTop-I*H;var X=0;return(this.layerConfig.width!=r||b)&&(X=this.CHANGE_H_SCROLL),(b||T)&&(X|=this.$updateCachedSize(!0,this.gutterWidth,v.width,v.height),this._signal("scrollbarVisibilityChanged"),T&&(r=this.$getLongestLine())),this.layerConfig={width:r,padding:this.$padding,firstRow:M,firstRowScreen:I,lastRow:B,lineHeight:H,characterWidth:this.characterWidth,minHeight:y,maxHeight:f,offset:F,gutterOffset:H?Math.max(0,Math.ceil((F+v.height-v.scrollerHeight)/H)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(r-this.$padding),X},this.$updateLines=function(){if(!!this.$changedLines){var c=this.$changedLines.firstRow,v=this.$changedLines.lastRow;this.$changedLines=null;var u=this.layerConfig;if(!(c>u.lastRow+1)&&!(vthis.$textLayer.MAX_LINE_LENGTH&&(c=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(c*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(c,v){this.$gutterLayer.addGutterDecoration(c,v)},this.removeGutterDecoration=function(c,v){this.$gutterLayer.removeGutterDecoration(c,v)},this.updateBreakpoints=function(c){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(c){this.$gutterLayer.setAnnotations(c),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(c,v,u){this.scrollCursorIntoView(c,u),this.scrollCursorIntoView(v,u)},this.scrollCursorIntoView=function(c,v,u){if(this.$size.scrollerHeight!==0){var h=this.$cursorLayer.getPixelPosition(c),f=h.left,r=h.top,m=u&&u.top||0,b=u&&u.bottom||0,C=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;C+m>r?(v&&C+m>r+this.lineHeight&&(r-=v*this.$size.scrollerHeight),r===0&&(r=-this.scrollMargin.top),this.session.setScrollTop(r)):C+this.$size.scrollerHeight-bf?(f=1-this.scrollMargin.top||v>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||c<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||c>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},this.pixelToScreenCoordinates=function(c,v){var u;if(this.$hasCssTransforms){u={top:0,left:0};var h=this.$fontMetrics.transformCoordinates([c,v]);c=h[1]-this.gutterWidth-this.margin.left,v=h[0]}else u=this.scroller.getBoundingClientRect();var f=c+this.scrollLeft-u.left-this.$padding,r=f/this.characterWidth,m=Math.floor((v+this.scrollTop-u.top)/this.lineHeight),b=this.$blockCursor?Math.floor(r):Math.round(r);return{row:m,column:b,side:r-b>0?1:-1,offsetX:f}},this.screenToTextCoordinates=function(c,v){var u;if(this.$hasCssTransforms){u={top:0,left:0};var h=this.$fontMetrics.transformCoordinates([c,v]);c=h[1]-this.gutterWidth-this.margin.left,v=h[0]}else u=this.scroller.getBoundingClientRect();var f=c+this.scrollLeft-u.left-this.$padding,r=f/this.characterWidth,m=this.$blockCursor?Math.floor(r):Math.round(r),b=Math.floor((v+this.scrollTop-u.top)/this.lineHeight);return this.session.screenToDocumentPosition(b,Math.max(m,0),f)},this.textToScreenCoordinates=function(c,v){var u=this.scroller.getBoundingClientRect(),h=this.session.documentToScreenPosition(c,v),f=this.$padding+(this.session.$bidiHandler.isBidiRow(h.row,c)?this.session.$bidiHandler.getPosLeft(h.column):Math.round(h.column*this.characterWidth)),r=h.row*this.lineHeight;return{pageX:u.left+f-this.scrollLeft,pageY:u.top+r-this.scrollTop}},this.visualizeFocus=function(){L.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){L.removeCssClass(this.container,"ace_focus")},this.showComposition=function(c){this.$composition=c,c.cssText||(c.cssText=this.textarea.style.cssText),c.useTextareaForIME==null&&(c.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(L.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):c.markerId=this.session.addMarker(c.markerRange,"ace_composition_marker","text")},this.setCompositionText=function(c){var v=this.session.selection.cursor;this.addToken(c,"composition_placeholder",v.row,v.column),this.$moveTextAreaToCursor()},this.hideComposition=function(){if(!!this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),L.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var c=this.session.selection.cursor;this.removeExtraToken(c.row,c.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},this.addToken=function(c,v,u,h){var f=this.session;f.bgTokenizer.lines[u]=null;var r={type:v,value:c},m=f.getTokens(u);if(h==null)m.push(r);else for(var b=0,C=0;C50&&n.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:n}))}}).call(e.prototype);var i=function(n,s,l){var g=null,p=!1,S=Object.create(d),$=[],w=new e({messageBuffer:$,terminate:function(){},postMessage:function(v){$.push(v),g&&(p?setTimeout(c):c())}});w.setEmitSync=function(v){p=v};var c=function(){var v=$.shift();v.command?g[v.command].apply(g,v.args):v.event&&S._signal(v.event,v.data)};return S.postMessage=function(v){w.onMessage({data:v})},S.callback=function(v,u){this.postMessage({type:"call",id:u,data:v})},S.emit=function(v,u){this.postMessage({type:"event",name:v,data:u})},o.loadModule(["worker",s],function(v){for(g=new v[l](S);$.length;)c()}),w};A.UIWorkerClient=i,A.WorkerClient=e,A.createWorker=t}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(k,A,D){"use strict";var R=k("./range").Range,L=k("./lib/event_emitter").EventEmitter,d=k("./lib/oop"),o=function(a,t,e,i,n,s){var l=this;this.length=t,this.session=a,this.doc=a.getDocument(),this.mainClass=n,this.othersClass=s,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=i,this.$onCursorChange=function(){setTimeout(function(){l.onCursorChange()})},this.$pos=e;var g=a.getUndoManager().$undoStack||a.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=g.length,this.setup(),a.selection.on("changeCursor",this.$onCursorChange)};(function(){d.implement(this,L),this.setup=function(){var a=this,t=this.doc,e=this.session;this.selectionBefore=e.selection.toJSON(),e.selection.inMultiSelectMode&&e.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=e.addMarker(new R(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var s=t.createAnchor(n.row,n.column);s.$insertRight=!0,s.detach(),a.others.push(s)}),e.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var a=this.session,t=this;this.othersActive=!0,this.others.forEach(function(e){e.markerId=a.addMarker(new R(e.row,e.column,e.row,e.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(!!this.othersActive){this.othersActive=!1;for(var a=0;a=this.pos.column&&t.start.column<=this.pos.column+this.length+1,n=t.start.column-this.pos.column;if(this.updateAnchors(a),i&&(this.length+=e),i&&!this.session.$fromUndo){if(a.action==="insert")for(var s=this.others.length-1;s>=0;s--){var l=this.others[s],g={row:l.row,column:l.column+n};this.doc.insertMergedLines(g,a.lines)}else if(a.action==="remove")for(var s=this.others.length-1;s>=0;s--){var l=this.others[s],g={row:l.row,column:l.column+n};this.doc.remove(new R(g.row,g.column,g.row,g.column-e))}}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(a){this.pos.onChange(a);for(var t=this.others.length;t--;)this.others[t].onChange(a);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var a=this,t=this.session,e=function(n,s){t.removeMarker(n.markerId),n.markerId=t.addMarker(new R(n.row,n.column,n.row,n.column+a.length),s,null,!1)};e(this.pos,this.mainClass);for(var i=this.others.length;i--;)e(this.others[i],this.othersClass)}},this.onCursorChange=function(a){if(!(this.$updating||!this.session)){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",a)):(this.hideOtherMarkers(),this._emit("cursorLeave",a))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(this.$undoStackDepth!==-1){for(var a=this.session.getUndoManager(),t=(a.$undoStack||a.$undostack).length-this.$undoStackDepth,e=0;e1?L.multiSelect.joinSelections():L.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(L){L.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(L){L.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(L){L.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],A.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(L){L.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(L){return L&&L.inMultiSelectMode}}];var R=k("../keyboard/hash_handler").HashHandler;A.keyboardHandler=new R(A.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(k,A,D){var R=k("./range_list").RangeList,L=k("./range").Range,d=k("./selection").Selection,o=k("./mouse/multi_select_handler").onMouseDown,a=k("./lib/event"),t=k("./lib/lang"),e=k("./commands/multi_select_commands");A.commands=e.defaultCommands.concat(e.multiSelectCommands);var i=k("./search").Search,n=new i;function s(w,c,v){return n.$options.wrap=!0,n.$options.needle=c,n.$options.backwards=v==-1,n.find(w)}var l=k("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(l.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,c){if(!!w){if(!this.inMultiSelectMode&&this.rangeCount===0){var v=this.toOrientedRange();if(this.rangeList.add(v),this.rangeList.add(w),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),c||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(v),this.$onAddRange(v)}w.cursor||(w.cursor=w.end);var u=this.rangeList.add(w);return this.$onAddRange(w),u.length&&this.$onRemoveRange(u),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),c||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var c=this.rangeList.removeAll();c.length&&this.$onRemoveRange(c),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var c=this.rangeList.substractPoint(w);if(c)return this.$onRemoveRange(c),c[0]},this.mergeOverlappingRanges=function(){var w=this.rangeList.merge();w.length&&this.$onRemoveRange(w)},this.$onAddRange=function(w){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(w),this._signal("addRange",{range:w})},this.$onRemoveRange=function(w){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var c=this.rangeList.ranges.pop();w.push(c),this.rangeCount=0}for(var v=w.length;v--;){var u=this.ranges.indexOf(w[v]);this.ranges.splice(u,1)}this._signal("removeRange",{ranges:w}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),c=c||this.ranges[0],c&&!c.isEqual(this.getRange())&&this.fromOrientedRange(c)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new R,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var w=this.ranges.length?this.ranges:[this.getRange()],c=[],v=0;v1){var w=this.rangeList.ranges,c=w[w.length-1],v=L.fromPoints(w[0].start,c.end);this.toSingleRange(),this.setSelectionRange(v,c.cursor==c.start)}else{var u=this.session.documentToScreenPosition(this.cursor),h=this.session.documentToScreenPosition(this.anchor),f=this.rectangularRangeBlock(u,h);f.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,c,v){var u=[],h=w.column0;)F--;if(F>0)for(var O=0;u[O].isEmpty();)O++;for(var M=F;M>=O;M--)u[M].isEmpty()&&u.splice(M,1)}return u}}.call(d.prototype);var g=k("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var c=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",c),this.session.$selectionMarkers.push(w),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,w},this.removeSelectionMarker=function(w){if(!!w.marker){this.session.removeMarker(w.marker);var c=this.session.$selectionMarkers.indexOf(w);c!=-1&&this.session.$selectionMarkers.splice(c,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var c=this.session.$selectionMarkers,v=w.length;v--;){var u=w[v];if(!!u.marker){this.session.removeMarker(u.marker);var h=c.indexOf(u);h!=-1&&c.splice(h,1)}}this.session.selectionMarkerCount=c.length},this.$onAddRange=function(w){this.addSelectionMarker(w.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(w){this.removeSelectionMarkers(w.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(w){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(e.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(w){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(e.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var c=w.command,v=w.editor;if(!!v.multiSelect){if(c.multiSelectAction)c.multiSelectAction=="forEach"?u=v.forEachSelection(c,w.args):c.multiSelectAction=="forEachLine"?u=v.forEachSelection(c,w.args,!0):c.multiSelectAction=="single"?(v.exitMultiSelectMode(),u=c.exec(v,w.args||{})):u=c.multiSelectAction(v,w.args||{});else{var u=c.exec(v,w.args||{});v.multiSelect.addRange(v.multiSelect.toOrientedRange()),v.multiSelect.mergeOverlappingRanges()}return u}},this.forEachSelection=function(w,c,v){if(!this.inVirtualSelectionMode){var u=v&&v.keepOrder,h=v==!0||v&&v.$byLines,f=this.session,r=this.selection,m=r.rangeList,b=(u?r:m).ranges,C;if(!b.length)return w.exec?w.exec(this,c||{}):w(this,c||{});var y=r._eventRegistry;r._eventRegistry={};var E=new d(f);this.inVirtualSelectionMode=!0;for(var x=b.length;x--;){if(h)for(;x>0&&b[x].start.row==b[x-1].end.row;)x--;E.fromOrientedRange(b[x]),E.index=x,this.selection=f.selection=E;var _=w.exec?w.exec(this,c||{}):w(this,c||{});!C&&_!==void 0&&(C=_),E.toOrientedRange(b[x])}E.detach(),this.selection=f.selection=r,this.inVirtualSelectionMode=!1,r._eventRegistry=y,r.mergeOverlappingRanges(),r.ranges[0]&&r.fromOrientedRange(r.ranges[0]);var T=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),T&&T.from==T.to&&this.renderer.animateScrolling(T.from),C}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var c=this.multiSelect.rangeList.ranges,v=[],u=0;u0);r<0&&(r=0),m>=C&&(m=C-1)}var E=this.session.removeFullLines(r,m);E=this.$reAlignText(E,b),this.session.insert({row:r,column:0},E.join(` -`)+` -`),b||(f.start.column=0,f.end.column=E[E.length-1].length),this.selection.setRange(f)}else{h.forEach(function(F){c.substractPoint(F.cursor)});var x=0,_=1/0,T=v.map(function(F){var O=F.cursor,M=w.getLine(O.row),B=M.substr(O.column).search(/\S/g);return B==-1&&(B=0),O.column>x&&(x=O.column),B<_&&(_=B),B});v.forEach(function(F,O){var M=F.cursor,B=x-M.column,I=T[O]-_;B>I?w.insert(M,t.stringRepeat(" ",B-I)):w.remove(new L(M.row,M.column,M.row,M.column-B+I)),F.start.column=F.end.column=x,F.start.row=F.end.row=M.row,F.cursor=F.end}),c.fromOrientedRange(v[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(w,c){var v=!0,u=!0,h,f,r;return w.map(function(E){var x=E.match(/(\s*)(.*?)(\s*)([=:].*)/);return x?h==null?(h=x[1].length,f=x[2].length,r=x[3].length,x):(h+f+r!=x[1].length+x[2].length+x[3].length&&(u=!1),h!=x[1].length&&(v=!1),h>x[1].length&&(h=x[1].length),fx[3].length&&(r=x[3].length),x):[E]}).map(c?b:v?u?C:b:y);function m(E){return t.stringRepeat(" ",E)}function b(E){return E[2]?m(h)+E[2]+m(f-E[2].length+r)+E[4].replace(/^([=:])\s+/,"$1 "):E[0]}function C(E){return E[2]?m(h+f-E[2].length)+E[2]+m(r)+E[4].replace(/^([=:])\s+/,"$1 "):E[0]}function y(E){return E[2]?m(h)+E[2]+m(r)+E[4].replace(/^([=:])\s+/,"$1 "):E[0]}}}).call(g.prototype);function p(w,c){return w.row==c.row&&w.column==c.column}A.onSessionChange=function(w){var c=w.session;c&&!c.multiSelect&&(c.$selectionMarkers=[],c.selection.$initRangeList(),c.multiSelect=c.selection),this.multiSelect=c&&c.multiSelect;var v=w.oldSession;v&&(v.multiSelect.off("addRange",this.$onAddRange),v.multiSelect.off("removeRange",this.$onRemoveRange),v.multiSelect.off("multiSelect",this.$onMultiSelect),v.multiSelect.off("singleSelect",this.$onSingleSelect),v.multiSelect.lead.off("change",this.$checkMultiselectChange),v.multiSelect.anchor.off("change",this.$checkMultiselectChange)),c&&(c.multiSelect.on("addRange",this.$onAddRange),c.multiSelect.on("removeRange",this.$onRemoveRange),c.multiSelect.on("multiSelect",this.$onMultiSelect),c.multiSelect.on("singleSelect",this.$onSingleSelect),c.multiSelect.lead.on("change",this.$checkMultiselectChange),c.multiSelect.anchor.on("change",this.$checkMultiselectChange)),c&&this.inMultiSelectMode!=c.selection.inMultiSelectMode&&(c.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function S(w){w.$multiselectOnSessionChange||(w.$onAddRange=w.$onAddRange.bind(w),w.$onRemoveRange=w.$onRemoveRange.bind(w),w.$onMultiSelect=w.$onMultiSelect.bind(w),w.$onSingleSelect=w.$onSingleSelect.bind(w),w.$multiselectOnSessionChange=A.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",o),w.commands.addCommands(e.defaultCommands),$(w))}function $(w){if(!w.textInput)return;var c=w.textInput.getElement(),v=!1;a.addListener(c,"keydown",function(h){var f=h.keyCode==18&&!(h.ctrlKey||h.shiftKey||h.metaKey);w.$blockSelectEnabled&&f?v||(w.renderer.setMouseCursor("crosshair"),v=!0):v&&u()},w),a.addListener(c,"keyup",u,w),a.addListener(c,"blur",u,w);function u(h){v&&(w.renderer.setMouseCursor(""),v=!1)}}A.MultiSelect=S,k("./config").defineOptions(g.prototype,"editor",{enableMultiselect:{set:function(w){S(this),w?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",o)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",o))},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(k,A,D){"use strict";var R=k("../../range").Range,L=A.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(d,o,a){var t=d.getLine(a);return this.foldingStartMarker.test(t)?"start":o=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(t)?"end":""},this.getFoldWidgetRange=function(d,o,a){return null},this.indentationBlock=function(d,o,a){var t=/\S/,e=d.getLine(o),i=e.search(t);if(i!=-1){for(var n=a||e.length,s=d.getLength(),l=o,g=o;++ol){var $=d.getLine(g).length;return new R(l,n,g,$)}}},this.openingBracketBlock=function(d,o,a,t,e){var i={row:a,column:t+1},n=d.$findClosingBracket(o,i,e);if(!!n){var s=d.foldWidgets[n.row];return s==null&&(s=d.getFoldWidget(n.row)),s=="start"&&n.row>i.row&&(n.row--,n.column=d.getLine(n.row).length),R.fromPoints(i,n)}},this.closingBracketBlock=function(d,o,a,t,e){var i={row:a,column:t},n=d.$findOpeningBracket(o,i);if(!!n)return n.column++,i.column--,R.fromPoints(n,i)}}).call(L.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(k,A,D){"use strict";A.isDark=!1,A.cssClass="ace-tm",A.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',A.$id="ace/theme/textmate";var R=k("../lib/dom");R.importCssString(A.cssText,A.cssClass)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],function(k,A,D){"use strict";var R=k("./lib/dom");function L(d){this.session=d,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(d){var o;return this.lineWidgets?o=this.lineWidgets[d]&&this.lineWidgets[d].rowCount||0:o=0,!this.$useWrapMode||!this.$wrapData[d]?1+o:this.$wrapData[d].length+1+o},this.$getWidgetScreenLength=function(){var d=0;return this.lineWidgets.forEach(function(o){o&&o.rowCount&&!o.hidden&&(d+=o.rowCount)}),d},this.$onChangeEditor=function(d){this.attach(d.editor)},this.attach=function(d){d&&d.widgetManager&&d.widgetManager!=this&&d.widgetManager.detach(),this.editor!=d&&(this.detach(),this.editor=d,d&&(d.widgetManager=this,d.renderer.on("beforeRender",this.measureWidgets),d.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(d){var o=this.editor;if(!!o){this.editor=null,o.widgetManager=null,o.renderer.off("beforeRender",this.measureWidgets),o.renderer.off("afterRender",this.renderWidgets);var a=this.session.lineWidgets;a&&a.forEach(function(t){t&&t.el&&t.el.parentNode&&(t._inDocument=!1,t.el.parentNode.removeChild(t.el))})}},this.updateOnFold=function(d,o){var a=o.lineWidgets;if(!(!a||!d.action)){for(var t=d.data,e=t.start.row,i=t.end.row,n=d.action=="add",s=e+1;so[a].column&&a++,i.unshift(a,0),o.splice.apply(o,i),this.$updateRows()}}},this.$updateRows=function(){var d=this.session.lineWidgets;if(!!d){var o=!0;d.forEach(function(a,t){if(a)for(o=!1,a.row=t;a.$oldWidget;)a.$oldWidget.row=t,a=a.$oldWidget}),o&&(this.session.lineWidgets=null)}},this.$registerLineWidget=function(d){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var o=this.session.lineWidgets[d.row];return o&&(d.$oldWidget=o,o.el&&o.el.parentNode&&(o.el.parentNode.removeChild(o.el),o._inDocument=!1)),this.session.lineWidgets[d.row]=d,d},this.addLineWidget=function(d){if(this.$registerLineWidget(d),d.session=this.session,!this.editor)return d;var o=this.editor.renderer;d.html&&!d.el&&(d.el=R.createElement("div"),d.el.innerHTML=d.html),d.el&&(R.addCssClass(d.el,"ace_lineWidgetContainer"),d.el.style.position="absolute",d.el.style.zIndex=5,o.container.appendChild(d.el),d._inDocument=!0,d.coverGutter||(d.el.style.zIndex=3),d.pixelHeight==null&&(d.pixelHeight=d.el.offsetHeight)),d.rowCount==null&&(d.rowCount=d.pixelHeight/o.layerConfig.lineHeight);var a=this.session.getFoldAt(d.row,0);if(d.$fold=a,a){var t=this.session.lineWidgets;d.row==a.end.row&&!t[a.start.row]?t[a.start.row]=d:d.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:d.row}}}),this.$updateRows(),this.renderWidgets(null,o),this.onWidgetChanged(d),d},this.removeLineWidget=function(d){if(d._inDocument=!1,d.session=null,d.el&&d.el.parentNode&&d.el.parentNode.removeChild(d.el),d.editor&&d.editor.destroy)try{d.editor.destroy()}catch(a){}if(this.session.lineWidgets){var o=this.session.lineWidgets[d.row];if(o==d)this.session.lineWidgets[d.row]=d.$oldWidget,d.$oldWidget&&this.onWidgetChanged(d.$oldWidget);else for(;o;){if(o.$oldWidget==d){o.$oldWidget=d.$oldWidget;break}o=o.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:d.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(d){for(var o=this.session.lineWidgets,a=o&&o[d],t=[];a;)t.push(a),a=a.$oldWidget;return t},this.onWidgetChanged=function(d){this.session._changedWidgets.push(d),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(d,o){var a=this.session._changedWidgets,t=o.layerConfig;if(!(!a||!a.length)){for(var e=1/0,i=0;i0&&!t[e];)e--;this.firstRow=a.firstRow,this.lastRow=a.lastRow,o.$cursorLayer.config=a;for(var n=e;n<=i;n++){var s=t[n];if(!(!s||!s.el)){if(s.hidden){s.el.style.top=-100-(s.pixelHeight||0)+"px";continue}s._inDocument||(s._inDocument=!0,o.container.appendChild(s.el));var l=o.$cursorLayer.getPixelPosition({row:n,column:0},!0).top;s.coverLine||(l+=a.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-a.offset+"px";var g=s.coverGutter?0:o.gutterWidth;s.fixedWidth||(g-=o.scrollLeft),s.el.style.left=g+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=a.width+2*a.padding+"px"),s.fixedWidth?s.el.style.right=o.scrollBar.getWidth()+"px":s.el.style.right=""}}}}}).call(L.prototype),A.LineWidgets=L}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(k,A,D){"use strict";var R=k("../line_widgets").LineWidgets,L=k("../lib/dom"),d=k("../range").Range;function o(t,e,i){for(var n=0,s=t.length-1;n<=s;){var l=n+s>>1,g=i(e,t[l]);if(g>0)n=l+1;else if(g<0)s=l-1;else return l}return-(n+1)}function a(t,e,i){var n=t.getAnnotations().sort(d.comparePoints);if(!!n.length){var s=o(n,{row:e,column:-1},d.comparePoints);s<0&&(s=-s-1),s>=n.length?s=i>0?0:n.length-1:s===0&&i<0&&(s=n.length-1);var l=n[s];if(!(!l||!i)){if(l.row===e){do l=n[s+=i];while(l&&l.row===e);if(!l)return n.slice()}var g=[];e=l.row;do g[i<0?"unshift":"push"](l),l=n[s+=i];while(l&&l.row==e);return g.length&&g}}}A.showErrorMarker=function(t,e){var i=t.session;i.widgetManager||(i.widgetManager=new R(i),i.widgetManager.attach(t));var n=t.getCursorPosition(),s=n.row,l=i.widgetManager.getWidgetsAtRow(s).filter(function(h){return h.type=="errorMarker"})[0];l?l.destroy():s-=e;var g=a(i,s,e),p;if(g){var S=g[0];n.column=(S.pos&&typeof S.column!="number"?S.pos.sc:S.column)||0,n.row=S.row,p=t.renderer.$gutterLayer.$annotations[n.row]}else{if(l)return;p={text:["Looks good!"],className:"ace_ok"}}t.session.unfold(n.row),t.selection.moveToPosition(n);var $={row:n.row,fixedWidth:!0,coverGutter:!0,el:L.createElement("div"),type:"errorMarker"},w=$.el.appendChild(L.createElement("div")),c=$.el.appendChild(L.createElement("div"));c.className="error_widget_arrow "+p.className;var v=t.renderer.$cursorLayer.getPixelPosition(n).left;c.style.left=v+t.renderer.gutterWidth-5+"px",$.el.className="error_widget_wrapper",w.className="error_widget "+p.className,w.innerHTML=p.text.join("
"),w.appendChild(L.createElement("div"));var u=function(h,f,r){if(f===0&&(r==="esc"||r==="return"))return $.destroy(),{command:"null"}};$.destroy=function(){t.$mouseHandler.isMousePressed||(t.keyBinding.removeKeyboardHandler(u),i.widgetManager.removeLineWidget($),t.off("changeSelection",$.destroy),t.off("changeSession",$.destroy),t.off("mouseup",$.destroy),t.off("change",$.destroy))},t.keyBinding.addKeyboardHandler(u),t.on("changeSelection",$.destroy),t.on("changeSession",$.destroy),t.on("mouseup",$.destroy),t.on("change",$.destroy),t.session.widgetManager.addLineWidget($),$.el.onmousedown=t.focus.bind(t),t.renderer.scrollCursorIntoView(null,.5,{bottom:$.el.offsetHeight})},L.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(k,A,D){"use strict";k("./lib/fixoldbrowsers");var R=k("./lib/dom"),L=k("./lib/event"),d=k("./range").Range,o=k("./editor").Editor,a=k("./edit_session").EditSession,t=k("./undomanager").UndoManager,e=k("./virtual_renderer").VirtualRenderer;k("./worker/worker_client"),k("./keyboard/hash_handler"),k("./placeholder"),k("./multi_select"),k("./mode/folding/fold_mode"),k("./theme/textmate"),k("./ext/error_marker"),A.config=k("./config"),A.require=k,A.define=le.amdD,A.edit=function(i,n){if(typeof i=="string"){var s=i;if(i=document.getElementById(s),!i)throw new Error("ace.edit can't find div #"+s)}if(i&&i.env&&i.env.editor instanceof o)return i.env.editor;var l="";if(i&&/input|textarea/i.test(i.tagName)){var g=i;l=g.value,i=R.createElement("pre"),g.parentNode.replaceChild(i,g)}else i&&(l=i.textContent,i.innerHTML="");var p=A.createEditSession(l),S=new o(new e(i),p,n),$={document:p,editor:S,onResize:S.resize.bind(S,null)};return g&&($.textarea=g),L.addListener(window,"resize",$.onResize),S.on("destroy",function(){L.removeListener(window,"resize",$.onResize),$.editor.container.env=null}),S.container.env=S.env=$,S},A.createEditSession=function(i,n){var s=new a(i,n);return s.setUndoManager(new t),s},A.Range=d,A.Editor=o,A.EditSession=a,A.UndoManager=t,A.VirtualRenderer=e,A.version=A.config.version}),function(){ace.require(["ace/ace"],function(k){k&&(k.config.init(!0),k.define=ace.define),window.ace||(window.ace=k);for(var A in k)k.hasOwnProperty(A)&&(window.ace[A]=k[A]);window.ace.default=window.ace,fe&&(fe.exports=window.ace)})}()}}]); diff --git a/statics/2459.af2d51bb.async.js b/statics/2459.af2d51bb.async.js deleted file mode 100644 index 940d47c9..00000000 --- a/statics/2459.af2d51bb.async.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2459],{76509:function(W,m,g){g.d(m,{X:function(){return d}});var k=g(67294),d=(0,k.createContext)({})},99559:function(W,m,g){g.d(m,{Z:function(){return ve}});var k=g(94184),d=g.n(k),o=g(67294),p=g(53124),S=g(98423),O=e=>{const{prefixCls:t,className:n,style:a,size:s,shape:i}=e,r=d()({[`${t}-lg`]:s==="large",[`${t}-sm`]:s==="small"}),l=d()({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),c=o.useMemo(()=>typeof s=="number"?{width:s,height:s,lineHeight:`${s}px`}:{},[s]);return o.createElement("span",{className:d()(t,r,l,n),style:Object.assign(Object.assign({},c),a)})},v=g(78635),b=g(67968),P=g(45503);const V=new v.E4("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),N=e=>({height:e,lineHeight:`${e}px`}),E=e=>Object.assign({width:e},N(e)),q=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:V,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),R=e=>Object.assign({width:e*5,minWidth:e*5},N(e)),J=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:a,controlHeightLG:s,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},E(a)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},E(s)),[`${t}${t}-sm`]:Object.assign({},E(i))}},Q=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:a,controlHeightLG:s,controlHeightSM:i,color:r}=e;return{[`${a}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:r,borderRadius:n},R(t)),[`${a}-lg`]:Object.assign({},R(s)),[`${a}-sm`]:Object.assign({},R(i))}},G=e=>Object.assign({width:e},N(e)),Y=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:a,borderRadiusSM:s}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:a,borderRadius:s},G(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},G(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},z=(e,t,n)=>{const{skeletonButtonCls:a}=e;return{[`${n}${a}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${a}-round`]:{borderRadius:t}}},H=e=>Object.assign({width:e*2,minWidth:e*2},N(e)),_=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:a,controlHeightLG:s,controlHeightSM:i,color:r}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:r,borderRadius:t,width:a*2,minWidth:a*2},H(a))},z(e,a,n)),{[`${n}-lg`]:Object.assign({},H(s))}),z(e,s,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},H(i))}),z(e,i,`${n}-sm`))},ee=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:a,skeletonParagraphCls:s,skeletonButtonCls:i,skeletonInputCls:r,skeletonImageCls:l,controlHeight:c,controlHeightLG:u,controlHeightSM:$,color:h,padding:A,marginSM:f,borderRadius:L,skeletonTitleHeight:T,skeletonBlockRadius:C,skeletonParagraphLineHeight:w,controlHeightXS:y,skeletonParagraphMarginTop:I}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:A,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:h},E(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},E(u)),[`${n}-sm`]:Object.assign({},E($))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${a}`]:{width:"100%",height:T,background:h,borderRadius:C,[`+ ${s}`]:{marginBlockStart:$}},[`${s}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:h,borderRadius:C,"+ li":{marginBlockStart:y}}},[`${s}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${a}, ${s} > li`]:{borderRadius:L}}},[`${t}-with-avatar ${t}-content`]:{[`${a}`]:{marginBlockStart:f,[`+ ${s}`]:{marginBlockStart:I}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},_(e)),J(e)),Q(e)),Y(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${r}`]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${a}, - ${s} > li, - ${n}, - ${i}, - ${r}, - ${l} - `]:Object.assign({},q(e))}}};var j=(0,b.Z)("Skeleton",e=>{const{componentCls:t}=e,n=(0,P.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ee(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),te=e=>{const{prefixCls:t,className:n,active:a,shape:s="circle",size:i="default"}=e,{getPrefixCls:r}=o.useContext(p.E_),l=r("skeleton",t),[c,u]=j(l),$=(0,S.Z)(e,["prefixCls","className"]),h=d()(l,`${l}-element`,{[`${l}-active`]:a},n,u);return c(o.createElement("div",{className:h},o.createElement(O,Object.assign({prefixCls:`${l}-avatar`,shape:s,size:i},$))))},ne=e=>{const{prefixCls:t,className:n,active:a,block:s=!1,size:i="default"}=e,{getPrefixCls:r}=o.useContext(p.E_),l=r("skeleton",t),[c,u]=j(l),$=(0,S.Z)(e,["prefixCls"]),h=d()(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:s},n,u);return c(o.createElement("div",{className:h},o.createElement(O,Object.assign({prefixCls:`${l}-button`,size:i},$))))},X=g(1413),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},ae=se,le=g(93771),F=function(t,n){return o.createElement(le.Z,(0,X.Z)((0,X.Z)({},t),{},{ref:n,icon:ae}))};F.displayName="DotChartOutlined";var oe=o.forwardRef(F),ie=e=>{const{prefixCls:t,className:n,style:a,active:s,children:i}=e,{getPrefixCls:r}=o.useContext(p.E_),l=r("skeleton",t),[c,u]=j(l),$=d()(l,`${l}-element`,{[`${l}-active`]:s},u,n),h=i!=null?i:o.createElement(oe,null);return c(o.createElement("div",{className:$},o.createElement("div",{className:d()(`${l}-image`,n),style:a},h)))};const re="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";var ce=e=>{const{prefixCls:t,className:n,style:a,active:s}=e,{getPrefixCls:i}=o.useContext(p.E_),r=i("skeleton",t),[l,c]=j(r),u=d()(r,`${r}-element`,{[`${r}-active`]:s},n,c);return l(o.createElement("div",{className:u},o.createElement("div",{className:d()(`${r}-image`,n),style:a},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${r}-image-svg`},o.createElement("path",{d:re,className:`${r}-image-path`})))))},ge=e=>{const{prefixCls:t,className:n,active:a,block:s,size:i="default"}=e,{getPrefixCls:r}=o.useContext(p.E_),l=r("skeleton",t),[c,u]=j(l),$=(0,S.Z)(e,["prefixCls"]),h=d()(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:s},n,u);return c(o.createElement("div",{className:h},o.createElement(O,Object.assign({prefixCls:`${l}-input`,size:i},$))))},de=g(74902),ue=e=>{const t=l=>{const{width:c,rows:u=2}=e;if(Array.isArray(c))return c[l];if(u-1===l)return c},{prefixCls:n,className:a,style:s,rows:i}=e,r=(0,de.Z)(Array(i)).map((l,c)=>o.createElement("li",{key:c,style:{width:t(c)}}));return o.createElement("ul",{className:d()(n,a),style:s},r)},me=e=>{let{prefixCls:t,className:n,width:a,style:s}=e;return o.createElement("h3",{className:d()(t,n),style:Object.assign({width:a},s)})};function M(e){return e&&typeof e=="object"?e:{}}function he(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function fe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function $e(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const x=e=>{const{prefixCls:t,loading:n,className:a,style:s,children:i,avatar:r=!1,title:l=!0,paragraph:c=!0,active:u,round:$}=e,{getPrefixCls:h,direction:A}=o.useContext(p.E_),f=h("skeleton",t),[L,T]=j(f);if(n||!("loading"in e)){const C=!!r,w=!!l,y=!!c;let I;if(C){const B=Object.assign(Object.assign({prefixCls:`${f}-avatar`},he(w,y)),M(r));I=o.createElement("div",{className:`${f}-header`},o.createElement(O,Object.assign({},B)))}let K;if(w||y){let B;if(w){const D=Object.assign(Object.assign({prefixCls:`${f}-title`},fe(C,y)),M(l));B=o.createElement(me,Object.assign({},D))}let U;if(y){const D=Object.assign(Object.assign({prefixCls:`${f}-paragraph`},$e(C,w)),M(c));U=o.createElement(ue,Object.assign({},D))}K=o.createElement("div",{className:`${f}-content`},B,U)}const be=d()(f,{[`${f}-with-avatar`]:C,[`${f}-active`]:u,[`${f}-rtl`]:A==="rtl",[`${f}-round`]:$},a,T);return L(o.createElement("div",{className:be,style:s},I,K))}return typeof i!="undefined"?i:null};x.Button=ne,x.Avatar=te,x.Input=ge,x.Image=ce,x.Node=ie;var pe=x,ve=pe},45520:function(W,m){Object.defineProperty(m,"__esModule",{value:!0}),m.call=p,m.default=void 0,m.note=d,m.noteOnce=Z,m.resetWarned=o,m.warning=k,m.warningOnce=S;var g={};function k(v,b){}function d(v,b){}function o(){g={}}function p(v,b,P){!b&&!g[P]&&(v(!1,P),g[P]=!0)}function S(v,b){p(k,v,b)}function Z(v,b){p(d,v,b)}var O=S;m.default=O}}]); diff --git a/statics/2557.6a5603bd.async.js b/statics/2557.6a5603bd.async.js new file mode 100644 index 00000000..9d9bcc3a --- /dev/null +++ b/statics/2557.6a5603bd.async.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2557],{62557:function(pe,Y,X){X.r(Y);var b=Object.assign||function(c){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},l=window.Promise||function(o){function n(){}o(n,n)},g=function(o){var n=o.target;if(n===A){z();return}p.indexOf(n)!==-1&&W({target:n})},N=function(){if(!(w||!e.original)){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Z-o)>i.scrollOffset&&setTimeout(z,150)}},I=function(o){var n=o.key||o.keyCode;(n==="Escape"||n==="Esc"||n===27)&&z()},h=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o;if(o.background&&(A.style.background=o.background),o.container&&o.container instanceof Object&&(n.container=b({},i.container,o.container)),o.template){var a=O(o.template)?o.template:document.querySelector(o.template);n.template=a}return i=b({},i,n),p.forEach(function(m){m.dispatchEvent(E("medium-zoom:update",{detail:{zoom:u}}))}),u},k=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(b({},i,o))},S=function(){for(var o=arguments.length,n=Array(o),a=0;a0?n.reduce(function(r,f){return[].concat(r,R(f))},[]):p;return m.forEach(function(r){r.classList.remove("medium-zoom-image"),r.dispatchEvent(E("medium-zoom:detach",{detail:{zoom:u}}))}),p=p.filter(function(r){return m.indexOf(r)===-1}),u},$=function(o,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return p.forEach(function(m){m.addEventListener("medium-zoom:"+o,n,a)}),T.push({type:"medium-zoom:"+o,listener:n,options:a}),u},ee=function(o,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return p.forEach(function(m){m.removeEventListener("medium-zoom:"+o,n,a)}),T=T.filter(function(m){return!(m.type==="medium-zoom:"+o&&m.listener.toString()===n.toString())}),u},U=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o.target,a=function(){var r={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},f=void 0,v=void 0;if(i.container)if(i.container instanceof Object)r=b({},r,i.container),f=r.width-r.left-r.right-i.margin*2,v=r.height-r.top-r.bottom-i.margin*2;else{var L=O(i.container)?i.container:document.querySelector(i.container),y=L.getBoundingClientRect(),j=y.width,re=y.height,ie=y.left,ae=y.top;r=b({},r,{width:j,height:re,left:ie,top:ae})}f=f||r.width-i.margin*2,v=v||r.height-i.margin*2;var H=e.zoomedHd||e.original,de=B(H)?f:H.naturalWidth||f,me=B(H)?v:H.naturalHeight||v,x=H.getBoundingClientRect(),le=x.top,ue=x.left,M=x.width,P=x.height,ce=Math.min(Math.max(M,de),f)/M,se=Math.min(Math.max(P,me),v)/P,q=Math.min(ce,se),fe=(-ue+(f-M)/2+i.margin+r.left)/q,ge=(-le+(v-P)/2+i.margin+r.top)/q,F="scale("+q+") translate3d("+fe+"px, "+ge+"px, 0)";e.zoomed.style.transform=F,e.zoomedHd&&(e.zoomedHd.style.transform=F)};return new l(function(m){if(n&&p.indexOf(n)===-1){m(u);return}var r=function j(){w=!1,e.zoomed.removeEventListener("transitionend",j),e.original.dispatchEvent(E("medium-zoom:opened",{detail:{zoom:u}})),m(u)};if(e.zoomed){m(u);return}if(n)e.original=n;else if(p.length>0){var f=p;e.original=f[0]}else{m(u);return}if(e.original.dispatchEvent(E("medium-zoom:open",{detail:{zoom:u}})),Z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,w=!0,e.zoomed=D(e.original),document.body.appendChild(A),i.template){var v=O(i.template)?i.template:document.querySelector(i.template);e.template=document.createElement("div"),e.template.appendChild(v.content.cloneNode(!0)),document.body.appendChild(e.template)}if(e.original.parentElement&&e.original.parentElement.tagName==="PICTURE"&&e.original.currentSrc&&(e.zoomed.src=e.original.currentSrc),document.body.appendChild(e.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),e.original.classList.add("medium-zoom-image--hidden"),e.zoomed.classList.add("medium-zoom-image--opened"),e.zoomed.addEventListener("click",z),e.zoomed.addEventListener("transitionend",r),e.original.getAttribute("data-zoom-src")){e.zoomedHd=e.zoomed.cloneNode(),e.zoomedHd.removeAttribute("srcset"),e.zoomedHd.removeAttribute("sizes"),e.zoomedHd.removeAttribute("loading"),e.zoomedHd.src=e.zoomed.getAttribute("data-zoom-src"),e.zoomedHd.onerror=function(){clearInterval(L),console.warn("Unable to reach the zoom image target "+e.zoomedHd.src),e.zoomedHd=null,a()};var L=setInterval(function(){e.zoomedHd.complete&&(clearInterval(L),e.zoomedHd.classList.add("medium-zoom-image--opened"),e.zoomedHd.addEventListener("click",z),document.body.appendChild(e.zoomedHd),a())},10)}else if(e.original.hasAttribute("srcset")){e.zoomedHd=e.zoomed.cloneNode(),e.zoomedHd.removeAttribute("sizes"),e.zoomedHd.removeAttribute("loading");var y=e.zoomedHd.addEventListener("load",function(){e.zoomedHd.removeEventListener("load",y),e.zoomedHd.classList.add("medium-zoom-image--opened"),e.zoomedHd.addEventListener("click",z),document.body.appendChild(e.zoomedHd),a()})}else a()})},z=function(){return new l(function(o){if(w||!e.original){o(u);return}var n=function a(){e.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(e.zoomed),e.zoomedHd&&document.body.removeChild(e.zoomedHd),document.body.removeChild(A),e.zoomed.classList.remove("medium-zoom-image--opened"),e.template&&document.body.removeChild(e.template),w=!1,e.zoomed.removeEventListener("transitionend",a),e.original.dispatchEvent(E("medium-zoom:closed",{detail:{zoom:u}})),e.original=null,e.zoomed=null,e.zoomedHd=null,e.template=null,o(u)};w=!0,document.body.classList.remove("medium-zoom--opened"),e.zoomed.style.transform="",e.zoomedHd&&(e.zoomedHd.style.transform=""),e.template&&(e.template.style.transition="opacity 150ms",e.template.style.opacity=0),e.original.dispatchEvent(E("medium-zoom:close",{detail:{zoom:u}})),e.zoomed.addEventListener("transitionend",n)})},W=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o.target;return e.original?z():U({target:n})},te=function(){return i},oe=function(){return p},ne=function(){return e.original},p=[],T=[],w=!1,Z=0,i=d,e={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?i=t:(t||typeof t=="string")&&S(t),i=b({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},i);var A=K(i.background);document.addEventListener("click",g),document.addEventListener("keyup",I),document.addEventListener("scroll",N),window.addEventListener("resize",z);var u={open:U,close:z,toggle:W,update:h,clone:k,attach:S,detach:V,on:$,off:ee,getOptions:te,getImages:oe,getZoomedImage:ne};return u};function J(c,t){t===void 0&&(t={});var d=t.insertAt;if(!(!c||typeof document=="undefined")){var l=document.head||document.getElementsByTagName("head")[0],g=document.createElement("style");g.type="text/css",d==="top"&&l.firstChild?l.insertBefore(g,l.firstChild):l.appendChild(g),g.styleSheet?g.styleSheet.cssText=c:g.appendChild(document.createTextNode(c))}}var Q=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";J(Q),Y.default=G}}]); diff --git a/statics/2557.c3375424.async.js b/statics/2557.c3375424.async.js deleted file mode 100644 index 72065030..00000000 --- a/statics/2557.c3375424.async.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2557],{62557:function(pe,q,X){X.r(q);var b=Object.assign||function(c){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},l=window.Promise||function(o){function n(){}o(n,n)},g=function(o){var n=o.target;if(n===A){z();return}p.indexOf(n)!==-1&&W({target:n})},N=function(){if(!(w||!e.original)){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Z-o)>i.scrollOffset&&setTimeout(z,150)}},I=function(o){var n=o.key||o.keyCode;(n==="Escape"||n==="Esc"||n===27)&&z()},h=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o;if(o.background&&(A.style.background=o.background),o.container&&o.container instanceof Object&&(n.container=b({},i.container,o.container)),o.template){var a=O(o.template)?o.template:document.querySelector(o.template);n.template=a}return i=b({},i,n),p.forEach(function(m){m.dispatchEvent(E("medium-zoom:update",{detail:{zoom:u}}))}),u},k=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(b({},i,o))},S=function(){for(var o=arguments.length,n=Array(o),a=0;a0?n.reduce(function(r,f){return[].concat(r,Y(f))},[]):p;return m.forEach(function(r){r.classList.remove("medium-zoom-image"),r.dispatchEvent(E("medium-zoom:detach",{detail:{zoom:u}}))}),p=p.filter(function(r){return m.indexOf(r)===-1}),u},$=function(o,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return p.forEach(function(m){m.addEventListener("medium-zoom:"+o,n,a)}),T.push({type:"medium-zoom:"+o,listener:n,options:a}),u},ee=function(o,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return p.forEach(function(m){m.removeEventListener("medium-zoom:"+o,n,a)}),T=T.filter(function(m){return!(m.type==="medium-zoom:"+o&&m.listener.toString()===n.toString())}),u},B=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o.target,a=function(){var r={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},f=void 0,v=void 0;if(i.container)if(i.container instanceof Object)r=b({},r,i.container),f=r.width-r.left-r.right-i.margin*2,v=r.height-r.top-r.bottom-i.margin*2;else{var L=O(i.container)?i.container:document.querySelector(i.container),y=L.getBoundingClientRect(),j=y.width,re=y.height,ie=y.left,ae=y.top;r=b({},r,{width:j,height:re,left:ie,top:ae})}f=f||r.width-i.margin*2,v=v||r.height-i.margin*2;var H=e.zoomedHd||e.original,de=M(H)?f:H.naturalWidth||f,me=M(H)?v:H.naturalHeight||v,x=H.getBoundingClientRect(),le=x.top,ue=x.left,F=x.width,R=x.height,ce=Math.min(de,f)/F,se=Math.min(me,v)/R,P=Math.min(ce,se),fe=(-ue+(f-F)/2+i.margin+r.left)/P,ge=(-le+(v-R)/2+i.margin+r.top)/P,U="scale("+P+") translate3d("+fe+"px, "+ge+"px, 0)";e.zoomed.style.transform=U,e.zoomedHd&&(e.zoomedHd.style.transform=U)};return new l(function(m){if(n&&p.indexOf(n)===-1){m(u);return}var r=function j(){w=!1,e.zoomed.removeEventListener("transitionend",j),e.original.dispatchEvent(E("medium-zoom:opened",{detail:{zoom:u}})),m(u)};if(e.zoomed){m(u);return}if(n)e.original=n;else if(p.length>0){var f=p;e.original=f[0]}else{m(u);return}if(e.original.dispatchEvent(E("medium-zoom:open",{detail:{zoom:u}})),Z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,w=!0,e.zoomed=D(e.original),document.body.appendChild(A),i.template){var v=O(i.template)?i.template:document.querySelector(i.template);e.template=document.createElement("div"),e.template.appendChild(v.content.cloneNode(!0)),document.body.appendChild(e.template)}if(document.body.appendChild(e.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),e.original.classList.add("medium-zoom-image--hidden"),e.zoomed.classList.add("medium-zoom-image--opened"),e.zoomed.addEventListener("click",z),e.zoomed.addEventListener("transitionend",r),e.original.getAttribute("data-zoom-src")){e.zoomedHd=e.zoomed.cloneNode(),e.zoomedHd.removeAttribute("srcset"),e.zoomedHd.removeAttribute("sizes"),e.zoomedHd.src=e.zoomed.getAttribute("data-zoom-src"),e.zoomedHd.onerror=function(){clearInterval(L),console.warn("Unable to reach the zoom image target "+e.zoomedHd.src),e.zoomedHd=null,a()};var L=setInterval(function(){e.zoomedHd.complete&&(clearInterval(L),e.zoomedHd.classList.add("medium-zoom-image--opened"),e.zoomedHd.addEventListener("click",z),document.body.appendChild(e.zoomedHd),a())},10)}else if(e.original.hasAttribute("srcset")){e.zoomedHd=e.zoomed.cloneNode(),e.zoomedHd.removeAttribute("sizes"),e.zoomedHd.removeAttribute("loading");var y=e.zoomedHd.addEventListener("load",function(){e.zoomedHd.removeEventListener("load",y),e.zoomedHd.classList.add("medium-zoom-image--opened"),e.zoomedHd.addEventListener("click",z),document.body.appendChild(e.zoomedHd),a()})}else a()})},z=function(){return new l(function(o){if(w||!e.original){o(u);return}var n=function a(){e.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(e.zoomed),e.zoomedHd&&document.body.removeChild(e.zoomedHd),document.body.removeChild(A),e.zoomed.classList.remove("medium-zoom-image--opened"),e.template&&document.body.removeChild(e.template),w=!1,e.zoomed.removeEventListener("transitionend",a),e.original.dispatchEvent(E("medium-zoom:closed",{detail:{zoom:u}})),e.original=null,e.zoomed=null,e.zoomedHd=null,e.template=null,o(u)};w=!0,document.body.classList.remove("medium-zoom--opened"),e.zoomed.style.transform="",e.zoomedHd&&(e.zoomedHd.style.transform=""),e.template&&(e.template.style.transition="opacity 150ms",e.template.style.opacity=0),e.original.dispatchEvent(E("medium-zoom:close",{detail:{zoom:u}})),e.zoomed.addEventListener("transitionend",n)})},W=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o.target;return e.original?z():B({target:n})},te=function(){return i},oe=function(){return p},ne=function(){return e.original},p=[],T=[],w=!1,Z=0,i=d,e={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?i=t:(t||typeof t=="string")&&S(t),i=b({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},i);var A=K(i.background);document.addEventListener("click",g),document.addEventListener("keyup",I),document.addEventListener("scroll",N),window.addEventListener("resize",z);var u={open:B,close:z,toggle:W,update:h,clone:k,attach:S,detach:V,on:$,off:ee,getOptions:te,getImages:oe,getZoomedImage:ne};return u};function J(c,t){t===void 0&&(t={});var d=t.insertAt;if(!(!c||typeof document=="undefined")){var l=document.head||document.getElementsByTagName("head")[0],g=document.createElement("style");g.type="text/css",d==="top"&&l.firstChild?l.insertBefore(g,l.firstChild):l.appendChild(g),g.styleSheet?g.styleSheet.cssText=c:g.appendChild(document.createTextNode(c))}}var Q=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";J(Q),q.default=G}}]); diff --git a/statics/2877.bb8f4ff8.async.js b/statics/2877.bb8f4ff8.async.js deleted file mode 100644 index 016b6348..00000000 --- a/statics/2877.bb8f4ff8.async.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2877],{32808:function(Pe,le,i){i.d(le,{Z:function(){return f}});var Q=i(94184),k=i.n(Q),ce=i(50132),I=i(67294),fe=i(53124),ve=i(65223),te=i(74902),h=i(98423),D=i(63185),S=function(l,v){var N={};for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&v.indexOf(p)<0&&(N[p]=l[p]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,p=Object.getOwnPropertySymbols(l);K{var{defaultValue:N,children:p,options:K=[],prefixCls:F,className:t,style:P,onChange:M}=l,T=S(l,["defaultValue","children","options","prefixCls","className","style","onChange"]);const{getPrefixCls:o,direction:a}=I.useContext(fe.E_),[y,$]=I.useState(T.value||N||[]),[X,H]=I.useState([]);I.useEffect(()=>{"value"in T&&$(T.value||[])},[T.value]);const oe=()=>K.map(_=>typeof _=="string"||typeof _=="number"?{label:_,value:_}:_),Y=_=>{H(m=>m.filter(R=>R!==_))},ie=_=>{H(m=>[].concat((0,te.Z)(m),[_]))},ye=_=>{const m=y.indexOf(_.value),R=(0,te.Z)(y);m===-1?R.push(_.value):R.splice(m,1),"value"in T||$(R);const B=oe();M==null||M(R.filter(e=>X.includes(e)).sort((e,O)=>{const ae=B.findIndex(n=>n.value===e),q=B.findIndex(n=>n.value===O);return ae-q}))},ue=o("checkbox",F),Ee=`${ue}-group`,[Ce,be]=(0,D.ZP)(ue),me=(0,h.Z)(T,["value","disabled"]);K&&K.length>0&&(p=oe().map(_=>I.createElement(s,{prefixCls:ue,key:_.value.toString(),disabled:"disabled"in _?_.disabled:T.disabled,value:_.value,checked:y.includes(_.value),onChange:_.onChange,className:`${Ee}-item`,style:_.style},_.label)));const Ne={toggleOption:ye,value:y,disabled:T.disabled,name:T.name,registerValue:ie,cancelValue:Y},De=k()(Ee,{[`${Ee}-rtl`]:a==="rtl"},t,be);return Ce(I.createElement("div",Object.assign({className:De,style:P},me,{ref:v}),I.createElement(b.Provider,{value:Ne},p)))},A=I.forwardRef(V);var c=I.memo(A),u=i(98866),Z=function(l,v){var N={};for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&v.indexOf(p)<0&&(N[p]=l[p]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,p=Object.getOwnPropertySymbols(l);K{var N,{prefixCls:p,className:K,children:F,indeterminate:t=!1,style:P,onMouseEnter:M,onMouseLeave:T,skipGroup:o=!1,disabled:a}=l,y=Z(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]);const{getPrefixCls:$,direction:X}=I.useContext(fe.E_),H=I.useContext(b),{isFormItemInput:oe}=I.useContext(ve.aM),Y=I.useContext(u.Z),ie=(N=(H==null?void 0:H.disabled)||a)!==null&&N!==void 0?N:Y,ye=I.useRef(y.value);I.useEffect(()=>{H==null||H.registerValue(y.value)},[]),I.useEffect(()=>{if(!o)return y.value!==ye.current&&(H==null||H.cancelValue(ye.current),H==null||H.registerValue(y.value),ye.current=y.value),()=>H==null?void 0:H.cancelValue(y.value)},[y.value]);const ue=$("checkbox",p),[Ee,Ce]=(0,D.ZP)(ue),be=Object.assign({},y);H&&!o&&(be.onChange=function(){y.onChange&&y.onChange.apply(y,arguments),H.toggleOption&&H.toggleOption({label:F,value:y.value})},be.name=H.name,be.checked=H.value.includes(y.value));const me=k()({[`${ue}-wrapper`]:!0,[`${ue}-rtl`]:X==="rtl",[`${ue}-wrapper-checked`]:be.checked,[`${ue}-wrapper-disabled`]:ie,[`${ue}-wrapper-in-form-item`]:oe},K,Ce),Ne=k()({[`${ue}-indeterminate`]:t},Ce),De=t?"mixed":void 0;return Ee(I.createElement("label",{className:me,style:P,onMouseEnter:M,onMouseLeave:T},I.createElement(ce.Z,Object.assign({"aria-checked":De},be,{prefixCls:ue,className:Ne,disabled:ie,ref:v})),F!==void 0&&I.createElement("span",null,F)))};var s=I.forwardRef(j);const E=s;E.Group=c,E.__ANT_CHECKBOX=!0;var f=E},63185:function(Pe,le,i){i.d(le,{C2:function(){return te}});var Q=i(78635),k=i(45503),ce=i(67968),I=i(14747);const fe=new Q.E4("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),ve=h=>{const{checkboxCls:D}=h,S=`${D}-wrapper`;return[{[`${D}-group`]:Object.assign(Object.assign({},(0,I.Wf)(h)),{display:"inline-flex"}),[S]:Object.assign(Object.assign({},(0,I.Wf)(h)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${S}`]:{marginInlineStart:h.marginXS},[`&${S}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[D]:Object.assign(Object.assign({},(0,I.Wf)(h)),{top:"0.2em",position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",[`${D}-input`]:{position:"absolute",inset:0,zIndex:1,width:"100%",height:"100%",cursor:"pointer",opacity:0,[`&:focus-visible + ${D}-inner`]:Object.assign({},(0,I.oN)(h))},[`${D}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:h.checkboxSize,height:h.checkboxSize,direction:"ltr",backgroundColor:h.colorBgContainer,border:`${h.lineWidth}px ${h.lineType} ${h.colorBorder}`,borderRadius:h.borderRadiusSM,borderCollapse:"separate",transition:`all ${h.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:h.checkboxSize/14*5,height:h.checkboxSize/14*8,border:`${h.lineWidthBold}px solid ${h.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${h.motionDurationFast} ${h.motionEaseInBack}, opacity ${h.motionDurationFast}`}},"& + span":{paddingInlineStart:h.paddingXS,paddingInlineEnd:h.paddingXS}})},{[D]:{"&-indeterminate":{[`${D}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:h.fontSizeLG/2,height:h.fontSizeLG/2,backgroundColor:h.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${S}:hover ${D}:after`]:{visibility:"visible"},[` - ${S}:not(${S}-disabled), - ${D}:not(${D}-disabled) - `]:{[`&:hover ${D}-inner`]:{borderColor:h.colorPrimary}},[`${S}:not(${S}-disabled)`]:{[`&:hover ${D}-checked:not(${D}-disabled) ${D}-inner`]:{backgroundColor:h.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${D}-checked:not(${D}-disabled):after`]:{borderColor:h.colorPrimaryHover}}},{[`${D}-checked`]:{[`${D}-inner`]:{backgroundColor:h.colorPrimary,borderColor:h.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${h.motionDurationMid} ${h.motionEaseOutBack} ${h.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:h.borderRadiusSM,visibility:"hidden",border:`${h.lineWidthBold}px solid ${h.colorPrimary}`,animationName:fe,animationDuration:h.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${h.motionDurationSlow}`}},[` - ${S}-checked:not(${S}-disabled), - ${D}-checked:not(${D}-disabled) - `]:{[`&:hover ${D}-inner`]:{backgroundColor:h.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${D}:after`]:{borderColor:h.colorPrimaryHover}}},{[`${S}-disabled`]:{cursor:"not-allowed"},[`${D}-disabled`]:{[`&, ${D}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${D}-inner`]:{background:h.colorBgContainerDisabled,borderColor:h.colorBorder,"&:after":{borderColor:h.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:h.colorTextDisabled},[`&${D}-indeterminate ${D}-inner::after`]:{background:h.colorTextDisabled}}}]};function te(h,D){const S=(0,k.TS)(D,{checkboxCls:`.${h}`,checkboxSize:D.controlInteractiveSize});return[ve(S)]}le.ZP=(0,ce.Z)("Checkbox",(h,D)=>{let{prefixCls:S}=D;return[te(S,h)]})},32157:function(Pe,le,i){i.d(le,{Yk:function(){return V}});var Q=i(78635),k=i(33507),ce=i(63185),I=i(45503),fe=i(67968),ve=i(14747);const te=new Q.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),h=(A,c)=>({[`.${A}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${c.motionDurationSlow}`}}}),D=(A,c)=>({[`.${A}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:c.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${c.lineWidthBold}px solid ${c.colorPrimary}`,borderRadius:"50%",content:'""'}}}),S=(A,c)=>{const{treeCls:u,treeNodeCls:Z,treeNodePadding:j,treeTitleHeight:g}=c,s=(g-c.fontSizeLG)/2,E=c.paddingXS;return{[u]:Object.assign(Object.assign({},(0,ve.Wf)(c)),{background:c.colorBgContainer,borderRadius:c.borderRadius,transition:`background-color ${c.motionDurationSlow}`,[`&${u}-rtl`]:{[`${u}-switcher`]:{"&_close":{[`${u}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${u}-active-focused)`]:Object.assign({},(0,ve.oN)(c)),[`${u}-list-holder-inner`]:{alignItems:"flex-start"},[`&${u}-block-node`]:{[`${u}-list-holder-inner`]:{alignItems:"stretch",[`${u}-node-content-wrapper`]:{flex:"auto"},[`${Z}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:j,insetInlineStart:0,border:`1px solid ${c.colorPrimary}`,opacity:0,animationName:te,animationDuration:c.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Z}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${j}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${u}-node-content-wrapper`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${u}-node-content-wrapper`]:Object.assign({},(0,ve.oN)(c)),[`&:not(${Z}-disabled).filter-node ${u}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${u}-draggable-icon`]:{width:g,lineHeight:`${g}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${c.motionDurationSlow}`,[`${Z}:hover &`]:{opacity:.45}},[`&${Z}-disabled`]:{[`${u}-draggable-icon`]:{visibility:"hidden"}}}},[`${u}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:g}},[`${u}-draggable-icon`]:{visibility:"hidden"},[`${u}-switcher`]:Object.assign(Object.assign({},h(A,c)),{position:"relative",flex:"none",alignSelf:"stretch",width:g,margin:0,lineHeight:`${g}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${u}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:c.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:g/2,bottom:-j,marginInlineStart:-1,borderInlineEnd:`1px solid ${c.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:g/2*.8,height:g/2,borderBottom:`1px solid ${c.colorBorder}`,content:'""'}}}),[`${u}-checkbox`]:{top:"initial",marginInlineEnd:E,marginBlockStart:s},[`${u}-node-content-wrapper, ${u}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:g,margin:0,padding:`0 ${c.paddingXS/2}px`,color:"inherit",lineHeight:`${g}px`,background:"transparent",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:c.controlItemBgHover},[`&${u}-node-selected`]:{backgroundColor:c.controlItemBgActive},[`${u}-iconEle`]:{display:"inline-block",width:g,height:g,lineHeight:`${g}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${u}-unselectable ${u}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${u}-node-content-wrapper`]:Object.assign({lineHeight:`${g}px`,userSelect:"none"},D(A,c)),[`${Z}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${c.colorPrimary}`}},"&-show-line":{[`${u}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:g/2,bottom:-j,borderInlineEnd:`1px solid ${c.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${u}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Z}-leaf-last`]:{[`${u}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${g/2}px !important`}}}}})}},b=A=>{const{treeCls:c,treeNodeCls:u,treeNodePadding:Z}=A;return{[`${c}${c}-directory`]:{[u]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Z,insetInlineStart:0,transition:`background-color ${A.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:A.controlItemBgHover}},"> *":{zIndex:1},[`${c}-switcher`]:{transition:`color ${A.motionDurationMid}`},[`${c}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${c}-node-selected`]:{color:A.colorTextLightSolid,background:"transparent"}},"&-selected":{[` - &:hover::before, - &::before - `]:{background:A.colorPrimary},[`${c}-switcher`]:{color:A.colorTextLightSolid},[`${c}-node-content-wrapper`]:{color:A.colorTextLightSolid,background:"transparent"}}}}}},V=(A,c)=>{const u=`.${A}`,Z=`${u}-treenode`,j=c.paddingXS/2,g=c.controlHeightSM,s=(0,I.TS)(c,{treeCls:u,treeNodeCls:Z,treeNodePadding:j,treeTitleHeight:g});return[S(A,s),b(s)]};le.ZP=(0,fe.Z)("Tree",(A,c)=>{let{prefixCls:u}=c;return[{[A.componentCls]:(0,ce.C2)(`${u}-checkbox`,A)},V(u,A),(0,k.Z)(A)]})},77632:function(Pe,le,i){i.d(le,{Z:function(){return f}});var Q=i(1413),k=i(67294),ce={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"},I=ce,fe=i(93771),ve=function(v,N){return k.createElement(fe.Z,(0,Q.Z)((0,Q.Z)({},v),{},{ref:N,icon:I}))};ve.displayName="CaretDownFilled";var te=k.forwardRef(ve),h=i(5309),D=i(19267),S={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"},b=S,V=function(v,N){return k.createElement(fe.Z,(0,Q.Z)((0,Q.Z)({},v),{},{ref:N,icon:b}))};V.displayName="MinusSquareOutlined";var A=k.forwardRef(V),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},u=c,Z=function(v,N){return k.createElement(fe.Z,(0,Q.Z)((0,Q.Z)({},v),{},{ref:N,icon:u}))};Z.displayName="PlusSquareOutlined";var j=k.forwardRef(Z),g=i(94184),s=i.n(g),E=i(96159);function f(l,v,N,p){const{isLeaf:K,expanded:F,loading:t}=N;if(t)return k.createElement(D.Z,{className:`${l}-switcher-loading-icon`});let P;if(p&&typeof p=="object"&&(P=p.showLeafIcon),K){if(!p)return null;if(typeof P!="boolean"&&!!P){const o=typeof P=="function"?P(N):P,a=`${l}-switcher-line-custom-icon`;return(0,E.l$)(o)?(0,E.Tm)(o,{className:s()(o.props.className||"",a)}):o}return P?k.createElement(h.Z,{className:`${l}-switcher-line-icon`}):k.createElement("span",{className:`${l}-switcher-leaf-line`})}const M=`${l}-switcher-icon`,T=typeof v=="function"?v(N):v;return(0,E.l$)(T)?(0,E.Tm)(T,{className:s()(T.props.className||"",M)}):T||(p?F?k.createElement(A,{className:`${l}-switcher-line-icon`}):k.createElement(j,{className:`${l}-switcher-line-icon`}):k.createElement(te,{className:M}))}},5309:function(Pe,le,i){i.d(le,{Z:function(){return te}});var Q=i(1413),k=i(67294),ce={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"},I=ce,fe=i(93771),ve=function(D,S){return k.createElement(fe.Z,(0,Q.Z)((0,Q.Z)({},D),{},{ref:S,icon:I}))};ve.displayName="FileOutlined";var te=k.forwardRef(ve)},86128:function(Pe,le,i){i.d(le,{Z:function(){return N}});var Q=i(87462),k=i(4942),ce=i(45987),I=i(1413),fe=i(15671),ve=i(43144),te=i(97326),h=i(32531),D=i(51630),S=i(67294),b=i(94184),V=i.n(b),A=i(64217),c=i(27822),u=function(K){for(var F=K.prefixCls,t=K.level,P=K.isStart,M=K.isEnd,T="".concat(F,"-indent-unit"),o=[],a=0;a0&&arguments[0]!==void 0?arguments[0]:[],R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],B=m.length,e=R.length;if(Math.abs(B-e)!==1)return{add:!1,key:null};function O(ae,q){var n=new Map;ae.forEach(function(r){n.set(r,!0)});var d=q.filter(function(r){return!n.has(r)});return d.length===1?d[0]:null}return B ").concat(R);return R}var ue=b.forwardRef(function(m,R){var B=m.prefixCls,e=m.data,O=m.selectable,ae=m.checkable,q=m.expandedKeys,n=m.selectedKeys,d=m.checkedKeys,r=m.loadedKeys,C=m.loadingKeys,w=m.halfCheckedKeys,W=m.keyEntities,L=m.disabled,U=m.dragging,G=m.dragOverNodeKey,J=m.dropPosition,x=m.motion,ne=m.height,ee=m.itemHeight,z=m.virtual,re=m.focusable,de=m.activeItem,pe=m.focused,ge=m.tabIndex,se=m.onKeyDown,Se=m.onFocus,xe=m.onBlur,Ke=m.onActiveChange,Oe=m.onListChangeStart,ke=m.onListChangeEnd,Te=(0,l.Z)(m,o),we=b.useRef(null),$e=b.useRef(null);b.useImperativeHandle(R,function(){return{scrollTo:function(Me){we.current.scrollTo(Me)},getIndentWidth:function(){return $e.current.offsetWidth}}});var Fe=b.useState(q),je=(0,f.Z)(Fe,2),Ye=je[0],Je=je[1],Qe=b.useState(e),ze=(0,f.Z)(Qe,2),Le=ze[0],Ge=ze[1],_e=b.useState(e),Ve=(0,f.Z)(_e,2),qe=Ve[0],Be=Ve[1],et=b.useState([]),Ie=(0,f.Z)(et,2),dt=Ie[0],tt=Ie[1],st=b.useState(null),ot=(0,f.Z)(st,2),lt=ot[0],nt=ot[1],at=b.useRef(e);at.current=e;function rt(){var he=at.current;Ge(he),Be(he),tt([]),nt(null),ke()}b.useEffect(function(){Je(q);var he=M(Ye,q);if(he.key!==null)if(he.add){var Me=Le.findIndex(function(We){var Ue=We.key;return Ue===he.key}),Ze=Y(T(Le,e,he.key),z,ne,ee),He=Le.slice();He.splice(Me+1,0,oe),Be(He),tt(Ze),nt("show")}else{var Re=e.findIndex(function(We){var Ue=We.key;return Ue===he.key}),Ae=Y(T(e,Le,he.key),z,ne,ee),Xe=e.slice();Xe.splice(Re+1,0,oe),Be(Xe),tt(Ae),nt("hide")}else Le!==e&&(Ge(e),Be(e))},[q,e]),b.useEffect(function(){U||rt()},[U]);var ct=x?qe:e,it={expandedKeys:q,selectedKeys:n,loadedKeys:r,loadingKeys:C,checkedKeys:d,halfCheckedKeys:w,dragOverNodeKey:G,dropPosition:J,keyEntities:W};return b.createElement(b.Fragment,null,pe&&de&&b.createElement("span",{style:a,"aria-live":"assertive"},ye(de)),b.createElement("div",null,b.createElement("input",{style:a,disabled:re===!1||L,tabIndex:re!==!1?ge:null,onKeyDown:se,onFocus:Se,onBlur:xe,value:"",onChange:y,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(B,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(B,"-indent")},b.createElement("div",{ref:$e,className:"".concat(B,"-indent-unit")}))),b.createElement(v.Z,(0,Q.Z)({},Te,{data:ct,itemKey:ie,height:ne,fullHeight:!1,virtual:z,itemHeight:ee,prefixCls:"".concat(B,"-list"),ref:we,onVisibleChange:function(Me,Ze){var He=new Set(Me),Re=Ze.filter(function(Ae){return!He.has(Ae)});Re.some(function(Ae){return ie(Ae)===$})&&rt()}}),function(he){var Me=he.pos,Ze=(0,Q.Z)({},(E(he.data),he.data)),He=he.title,Re=he.key,Ae=he.isStart,Xe=he.isEnd,We=(0,s.km)(Re,Me);delete Ze.key,delete Ze.children;var Ue=(0,s.H8)(We,it);return b.createElement(P,(0,Q.Z)({},Ze,Ue,{title:He,active:!!de&&Re===de.key,pos:Me,data:he.data,isStart:Ae,isEnd:Xe,motion:x,motionNodes:Re===$?dt:null,motionType:lt,onMotionStart:Oe,onMotionEnd:rt,treeNodeRequiredProps:it,onMouseMove:function(){Ke(null)}}))}))});ue.displayName="NodeList";var Ee=ue,Ce=i(17341);function be(m){var R=m.dropPosition,B=m.dropLevelOffset,e=m.indent,O={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(R){case-1:O.top=0,O.left=-B*e;break;case 1:O.bottom=0,O.left=-B*e;break;case 0:O.bottom=0,O.left=e;break}return b.createElement("div",{style:O})}var me=10,Ne=function(m){(0,D.Z)(B,m);var R=(0,S.Z)(B);function B(){var e;(0,ve.Z)(this,B);for(var O=arguments.length,ae=new Array(O),q=0;q2&&arguments[2]!==void 0?arguments[2]:!1,w=e.state,W=w.dragChildrenKeys,L=w.dropPosition,U=w.dropTargetKey,G=w.dropTargetPos,J=w.dropAllowed;if(!!J){var x=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),U!==null){var ne=(0,I.Z)((0,I.Z)({},(0,s.H8)(U,e.getTreeNodeRequiredProps())),{},{active:((r=e.getActiveItem())===null||r===void 0?void 0:r.key)===U,data:e.state.keyEntities[U].node}),ee=W.indexOf(U)!==-1;(0,A.ZP)(!ee,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var z=(0,g.yx)(G),re={event:n,node:(0,s.F)(ne),dragNode:e.dragNode?(0,s.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(W),dropToGap:L!==0,dropPosition:L+Number(z[z.length-1])};C||x==null||x(re),e.dragNode=null}}},e.cleanDragState=function(){var n=e.state.draggingNodeKey;n!==null&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(n,d){var r=e.state,C=r.expandedKeys,w=r.flattenNodes,W=d.expanded,L=d.key,U=d.isLeaf;if(!(U||n.shiftKey||n.metaKey||n.ctrlKey)){var G=w.filter(function(x){return x.key===L})[0],J=(0,s.F)((0,I.Z)((0,I.Z)({},(0,s.H8)(L,e.getTreeNodeRequiredProps())),{},{data:G.data}));e.setExpandedKeys(W?(0,g._5)(C,L):(0,g.L0)(C,L)),e.onNodeExpand(n,J)}},e.onNodeClick=function(n,d){var r=e.props,C=r.onClick,w=r.expandAction;w==="click"&&e.triggerExpandActionExpand(n,d),C==null||C(n,d)},e.onNodeDoubleClick=function(n,d){var r=e.props,C=r.onDoubleClick,w=r.expandAction;w==="doubleClick"&&e.triggerExpandActionExpand(n,d),C==null||C(n,d)},e.onNodeSelect=function(n,d){var r=e.state.selectedKeys,C=e.state,w=C.keyEntities,W=C.fieldNames,L=e.props,U=L.onSelect,G=L.multiple,J=d.selected,x=d[W.key],ne=!J;ne?G?r=(0,g.L0)(r,x):r=[x]:r=(0,g._5)(r,x);var ee=r.map(function(z){var re=w[z];return re?re.node:null}).filter(function(z){return z});e.setUncontrolledState({selectedKeys:r}),U==null||U(r,{event:"select",selected:ne,node:d,selectedNodes:ee,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,d,r){var C=e.state,w=C.keyEntities,W=C.checkedKeys,L=C.halfCheckedKeys,U=e.props,G=U.checkStrictly,J=U.onCheck,x=d.key,ne,ee={event:"check",node:d,checked:r,nativeEvent:n.nativeEvent};if(G){var z=r?(0,g.L0)(W,x):(0,g._5)(W,x),re=(0,g._5)(L,x);ne={checked:z,halfChecked:re},ee.checkedNodes=z.map(function(xe){return w[xe]}).filter(function(xe){return xe}).map(function(xe){return xe.node}),e.setUncontrolledState({checkedKeys:z})}else{var de=(0,Ce.S)([].concat((0,fe.Z)(W),[x]),!0,w),pe=de.checkedKeys,ge=de.halfCheckedKeys;if(!r){var se=new Set(pe);se.delete(x);var Se=(0,Ce.S)(Array.from(se),{checked:!1,halfCheckedKeys:ge},w);pe=Se.checkedKeys,ge=Se.halfCheckedKeys}ne=pe,ee.checkedNodes=[],ee.checkedNodesPositions=[],ee.halfCheckedKeys=ge,pe.forEach(function(xe){var Ke=w[xe];if(!!Ke){var Oe=Ke.node,ke=Ke.pos;ee.checkedNodes.push(Oe),ee.checkedNodesPositions.push({node:Oe,pos:ke})}}),e.setUncontrolledState({checkedKeys:pe},!1,{halfCheckedKeys:ge})}J==null||J(ne,ee)},e.onNodeLoad=function(n){var d=n.key,r=new Promise(function(C,w){e.setState(function(W){var L=W.loadedKeys,U=L===void 0?[]:L,G=W.loadingKeys,J=G===void 0?[]:G,x=e.props,ne=x.loadData,ee=x.onLoad;if(!ne||U.indexOf(d)!==-1||J.indexOf(d)!==-1)return null;var z=ne(n);return z.then(function(){var re=e.state.loadedKeys,de=(0,g.L0)(re,d);ee==null||ee(de,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:de}),e.setState(function(pe){return{loadingKeys:(0,g._5)(pe.loadingKeys,d)}}),C()}).catch(function(re){if(e.setState(function(pe){return{loadingKeys:(0,g._5)(pe.loadingKeys,d)}}),e.loadingRetryTimes[d]=(e.loadingRetryTimes[d]||0)+1,e.loadingRetryTimes[d]>=me){var de=e.state.loadedKeys;(0,A.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,g.L0)(de,d)}),C()}w(re)}),{loadingKeys:(0,g.L0)(J,d)}})});return r.catch(function(){}),r},e.onNodeMouseEnter=function(n,d){var r=e.props.onMouseEnter;r==null||r({event:n,node:d})},e.onNodeMouseLeave=function(n,d){var r=e.props.onMouseLeave;r==null||r({event:n,node:d})},e.onNodeContextMenu=function(n,d){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:d}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var d=arguments.length,r=new Array(d),C=0;C1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!e.destroyed){var C=!1,w=!0,W={};Object.keys(n).forEach(function(L){if(L in e.props){w=!1;return}C=!0,W[L]=n[L]}),C&&(!d||w)&&e.setState((0,I.Z)((0,I.Z)({},W),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,te.Z)(B,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var O=this.props.activeKey;O!==void 0&&O!==this.state.activeKey&&(this.setState({activeKey:O}),O!==null&&this.scrollTo({key:O}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var O,ae=this.state,q=ae.focused,n=ae.flattenNodes,d=ae.keyEntities,r=ae.draggingNodeKey,C=ae.activeKey,w=ae.dropLevelOffset,W=ae.dropContainerKey,L=ae.dropTargetKey,U=ae.dropPosition,G=ae.dragOverNodeKey,J=ae.indent,x=this.props,ne=x.prefixCls,ee=x.className,z=x.style,re=x.showLine,de=x.focusable,pe=x.tabIndex,ge=pe===void 0?0:pe,se=x.selectable,Se=x.showIcon,xe=x.icon,Ke=x.switcherIcon,Oe=x.draggable,ke=x.checkable,Te=x.checkStrictly,we=x.disabled,$e=x.motion,Fe=x.loadData,je=x.filterTreeNode,Ye=x.height,Je=x.itemHeight,Qe=x.virtual,ze=x.titleRender,Le=x.dropIndicatorRender,Ge=x.onContextMenu,_e=x.onScroll,Ve=x.direction,qe=x.rootClassName,Be=x.rootStyle,et=(0,c.Z)(this.props,{aria:!0,data:!0}),Ie;return Oe&&((0,ce.Z)(Oe)==="object"?Ie=Oe:typeof Oe=="function"?Ie={nodeDraggable:Oe}:Ie={}),b.createElement(j.k.Provider,{value:{prefixCls:ne,selectable:se,showIcon:Se,icon:xe,switcherIcon:Ke,draggable:Ie,draggingNodeKey:r,checkable:ke,checkStrictly:Te,disabled:we,keyEntities:d,dropLevelOffset:w,dropContainerKey:W,dropTargetKey:L,dropPosition:U,dragOverNodeKey:G,indent:J,direction:Ve,dropIndicatorRender:Le,loadData:Fe,filterTreeNode:je,titleRender:ze,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}},b.createElement("div",{role:"tree",className:Z()(ne,ee,qe,(O={},(0,k.Z)(O,"".concat(ne,"-show-line"),re),(0,k.Z)(O,"".concat(ne,"-focused"),q),(0,k.Z)(O,"".concat(ne,"-active-focused"),C!==null),O)),style:Be},b.createElement(Ee,(0,Q.Z)({ref:this.listRef,prefixCls:ne,style:z,data:n,disabled:we,selectable:se,checkable:!!ke,motion:$e,dragging:r!==null,height:Ye,itemHeight:Je,virtual:Qe,focusable:de,focused:q,tabIndex:ge,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ge,onScroll:_e},this.getTreeNodeRequiredProps(),et))))}}],[{key:"getDerivedStateFromProps",value:function(O,ae){var q=ae.prevProps,n={prevProps:O};function d(de){return!q&&de in O||q&&q[de]!==O[de]}var r,C=ae.fieldNames;if(d("fieldNames")&&(C=(0,s.w$)(O.fieldNames),n.fieldNames=C),d("treeData")?r=O.treeData:d("children")&&((0,A.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),r=(0,s.zn)(O.children)),r){n.treeData=r;var w=(0,s.I8)(r,{fieldNames:C});n.keyEntities=(0,I.Z)((0,k.Z)({},$,H),w.keyEntities)}var W=n.keyEntities||ae.keyEntities;if(d("expandedKeys")||q&&d("autoExpandParent"))n.expandedKeys=O.autoExpandParent||!q&&O.defaultExpandParent?(0,g.r7)(O.expandedKeys,W):O.expandedKeys;else if(!q&&O.defaultExpandAll){var L=(0,I.Z)({},W);delete L[$],n.expandedKeys=Object.keys(L).map(function(de){return L[de].key})}else!q&&O.defaultExpandedKeys&&(n.expandedKeys=O.autoExpandParent||O.defaultExpandParent?(0,g.r7)(O.defaultExpandedKeys,W):O.defaultExpandedKeys);if(n.expandedKeys||delete n.expandedKeys,r||n.expandedKeys){var U=(0,s.oH)(r||ae.treeData,n.expandedKeys||ae.expandedKeys,C);n.flattenNodes=U}if(O.selectable&&(d("selectedKeys")?n.selectedKeys=(0,g.BT)(O.selectedKeys,O):!q&&O.defaultSelectedKeys&&(n.selectedKeys=(0,g.BT)(O.defaultSelectedKeys,O))),O.checkable){var G;if(d("checkedKeys")?G=(0,g.E6)(O.checkedKeys)||{}:!q&&O.defaultCheckedKeys?G=(0,g.E6)(O.defaultCheckedKeys)||{}:r&&(G=(0,g.E6)(O.checkedKeys)||{checkedKeys:ae.checkedKeys,halfCheckedKeys:ae.halfCheckedKeys}),G){var J=G,x=J.checkedKeys,ne=x===void 0?[]:x,ee=J.halfCheckedKeys,z=ee===void 0?[]:ee;if(!O.checkStrictly){var re=(0,Ce.S)(ne,!0,W);ne=re.checkedKeys,z=re.halfCheckedKeys}n.checkedKeys=ne,n.halfCheckedKeys=z}}return d("loadedKeys")&&(n.loadedKeys=O.loadedKeys),n}}]),B}(b.Component);Ne.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:[],dropIndicatorRender:be,allowDrop:function(){return!0},expandAction:!1},Ne.TreeNode=p.Z;var De=Ne,_=De},10225:function(Pe,le,i){i.d(le,{BT:function(){return Z},Ds:function(){return b},E6:function(){return s},L0:function(){return h},OM:function(){return u},_5:function(){return te},bt:function(){return S},r7:function(){return E},wA:function(){return V},yx:function(){return D}});var Q=i(74902),k=i(71002),ce=i(67294),I=i(80334),fe=i(86128),ve=null;function te(f,l){if(!f)return[];var v=f.slice(),N=v.indexOf(l);return N>=0&&v.splice(N,1),v}function h(f,l){var v=(f||[]).slice();return v.indexOf(l)===-1&&v.push(l),v}function D(f){return f.split("-")}function S(f,l){return"".concat(f,"-").concat(l)}function b(f){return f&&f.type&&f.type.isTreeNode}function V(f,l){var v=[],N=l[f];function p(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];K.forEach(function(F){var t=F.key,P=F.children;v.push(t),p(P)})}return p(N.children),v}function A(f){if(f.parent){var l=D(f.pos);return Number(l[l.length-1])===f.parent.children.length-1}return!1}function c(f){var l=D(f.pos);return Number(l[l.length-1])===0}function u(f,l,v,N,p,K,F,t,P,M){var T,o=f.clientX,a=f.clientY,y=f.target.getBoundingClientRect(),$=y.top,X=y.height,H=(M==="rtl"?-1:1)*(((p==null?void 0:p.x)||0)-o),oe=(H-12)/N,Y=t[v.props.eventKey];if(a<$+X/2){var ie=F.findIndex(function(B){return B.key===Y.key}),ye=ie<=0?0:ie-1,ue=F[ye].key;Y=t[ue]}var Ee=Y.key,Ce=Y,be=Y.key,me=0,Ne=0;if(!P.includes(Ee))for(var De=0;De-1.5?K({dragNode:_,dropNode:m,dropPosition:1})?me=1:R=!1:K({dragNode:_,dropNode:m,dropPosition:0})?me=0:K({dragNode:_,dropNode:m,dropPosition:1})?me=1:R=!1:K({dragNode:_,dropNode:m,dropPosition:1})?me=1:R=!1,{dropPosition:me,dropLevelOffset:Ne,dropTargetKey:Y.key,dropTargetPos:Y.pos,dragOverNodeKey:be,dropContainerKey:me===0?null:((T=Y.parent)===null||T===void 0?void 0:T.key)||null,dropAllowed:R}}function Z(f,l){if(!!f){var v=l.multiple;return v?f.slice():f.length?[f[0]]:f}}var j=function(l){return l};function g(f,l){if(!f)return[];var v=l||{},N=v.processProps,p=N===void 0?j:N,K=Array.isArray(f)?f:[f];return K.map(function(F){var t=F.children,P=_objectWithoutProperties(F,ve),M=g(t,l);return React.createElement(TreeNode,_extends({key:P.key},p(P)),M)})}function s(f){if(!f)return null;var l;if(Array.isArray(f))l={checkedKeys:f,halfCheckedKeys:void 0};else if((0,k.Z)(f)==="object")l={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,I.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function E(f,l){var v=new Set;function N(p){if(!v.has(p)){var K=l[p];if(!!K){v.add(p);var F=K.parent,t=K.node;t.disabled||F&&N(F.key)}}}return(f||[]).forEach(function(p){N(p)}),(0,Q.Z)(v)}},17341:function(Pe,le,i){i.d(le,{S:function(){return ve}});var Q=i(80334);function k(te,h){var D=new Set;return te.forEach(function(S){h.has(S)||D.add(S)}),D}function ce(te){var h=te||{},D=h.disabled,S=h.disableCheckbox,b=h.checkable;return!!(D||S)||b===!1}function I(te,h,D,S){for(var b=new Set(te),V=new Set,A=0;A<=D;A+=1){var c=h.get(A)||new Set;c.forEach(function(g){var s=g.key,E=g.node,f=g.children,l=f===void 0?[]:f;b.has(s)&&!S(E)&&l.filter(function(v){return!S(v.node)}).forEach(function(v){b.add(v.key)})})}for(var u=new Set,Z=D;Z>=0;Z-=1){var j=h.get(Z)||new Set;j.forEach(function(g){var s=g.parent,E=g.node;if(!(S(E)||!g.parent||u.has(g.parent.key))){if(S(g.parent.node)){u.add(s.key);return}var f=!0,l=!1;(s.children||[]).filter(function(v){return!S(v.node)}).forEach(function(v){var N=v.key,p=b.has(N);f&&!p&&(f=!1),!l&&(p||V.has(N))&&(l=!0)}),f&&b.add(s.key),l&&V.add(s.key),u.add(s.key)}})}return{checkedKeys:Array.from(b),halfCheckedKeys:Array.from(k(V,b))}}function fe(te,h,D,S,b){for(var V=new Set(te),A=new Set(h),c=0;c<=S;c+=1){var u=D.get(c)||new Set;u.forEach(function(s){var E=s.key,f=s.node,l=s.children,v=l===void 0?[]:l;!V.has(E)&&!A.has(E)&&!b(f)&&v.filter(function(N){return!b(N.node)}).forEach(function(N){V.delete(N.key)})})}A=new Set;for(var Z=new Set,j=S;j>=0;j-=1){var g=D.get(j)||new Set;g.forEach(function(s){var E=s.parent,f=s.node;if(!(b(f)||!s.parent||Z.has(s.parent.key))){if(b(s.parent.node)){Z.add(E.key);return}var l=!0,v=!1;(E.children||[]).filter(function(N){return!b(N.node)}).forEach(function(N){var p=N.key,K=V.has(p);l&&!K&&(l=!1),!v&&(K||A.has(p))&&(v=!0)}),l||V.delete(E.key),v&&A.add(E.key),Z.add(E.key)}})}return{checkedKeys:Array.from(V),halfCheckedKeys:Array.from(k(A,V))}}function ve(te,h,D,S){var b=[],V;S?V=S:V=ce;var A=new Set(te.filter(function(j){var g=!!D[j];return g||b.push(j),g})),c=new Map,u=0;Object.keys(D).forEach(function(j){var g=D[j],s=g.level,E=c.get(s);E||(E=new Set,c.set(s,E)),E.add(g),u=Math.max(u,s)}),(0,Q.ZP)(!b.length,"Tree missing follow keys: ".concat(b.slice(0,100).map(function(j){return"'".concat(j,"'")}).join(", ")));var Z;return h===!0?Z=I(A,c,u,V):Z=fe(A,h.halfCheckedKeys,c,u,V),Z}},1089:function(Pe,le,i){i.d(le,{F:function(){return g},H8:function(){return j},I8:function(){return Z},km:function(){return S},oH:function(){return c},w$:function(){return b},zn:function(){return A}});var Q=i(71002),k=i(74902),ce=i(1413),I=i(45987),fe=i(98423),ve=i(50344),te=i(80334),h=i(10225),D=["children"];function S(s,E){return s!=null?s:E}function b(s){var E=s||{},f=E.title,l=E._title,v=E.key,N=E.children,p=f||"title";return{title:p,_title:l||[p],key:v||"key",children:N||"children"}}function V(s,E){var f=new Map;function l(v){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(v||[]).forEach(function(p){var K=p[E.key],F=p[E.children];warning(K!=null,"Tree node must have a certain key: [".concat(N).concat(K,"]"));var t=String(K);warning(!f.has(t)||K===null||K===void 0,"Same 'key' exist in the Tree: ".concat(t)),f.set(t,!0),l(F,"".concat(N).concat(t," > "))})}l(s)}function A(s){function E(f){var l=(0,ve.Z)(f);return l.map(function(v){if(!(0,h.Ds)(v))return(0,te.ZP)(!v,"Tree/TreeNode can only accept TreeNode as children."),null;var N=v.key,p=v.props,K=p.children,F=(0,I.Z)(p,D),t=(0,ce.Z)({key:N},F),P=E(K);return P.length&&(t.children=P),t}).filter(function(v){return v})}return E(s)}function c(s,E,f){var l=b(f),v=l._title,N=l.key,p=l.children,K=new Set(E===!0?[]:E),F=[];function t(P){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return P.map(function(T,o){for(var a=(0,h.bt)(M?M.pos:"0",o),y=S(T[N],a),$,X=0;X1&&arguments[1]!==void 0?arguments[1]:{},f=E.initWrapper,l=E.processEntity,v=E.onProcessFinished,N=E.externalGetKey,p=E.childrenPropName,K=E.fieldNames,F=arguments.length>2?arguments[2]:void 0,t=N||F,P={},M={},T={posEntities:P,keyEntities:M};return f&&(T=f(T)||T),u(s,function(o){var a=o.node,y=o.index,$=o.pos,X=o.key,H=o.parentPos,oe=o.level,Y=o.nodes,ie={node:a,nodes:Y,index:y,key:X,pos:$,level:oe},ye=S(X,$);P[$]=ie,M[ye]=ie,ie.parent=P[H],ie.parent&&(ie.parent.children=ie.parent.children||[],ie.parent.children.push(ie)),l&&l(ie,T)},{externalGetKey:t,childrenPropName:p,fieldNames:K}),v&&v(T),T}function j(s,E){var f=E.expandedKeys,l=E.selectedKeys,v=E.loadedKeys,N=E.loadingKeys,p=E.checkedKeys,K=E.halfCheckedKeys,F=E.dragOverNodeKey,t=E.dropPosition,P=E.keyEntities,M=P[s],T={eventKey:s,expanded:f.indexOf(s)!==-1,selected:l.indexOf(s)!==-1,loaded:v.indexOf(s)!==-1,loading:N.indexOf(s)!==-1,checked:p.indexOf(s)!==-1,halfChecked:K.indexOf(s)!==-1,pos:String(M?M.pos:""),dragOver:F===s&&t===0,dragOverGapTop:F===s&&t===-1,dragOverGapBottom:F===s&&t===1};return T}function g(s){var E=s.data,f=s.expanded,l=s.selected,v=s.checked,N=s.loaded,p=s.loading,K=s.halfChecked,F=s.dragOver,t=s.dragOverGapTop,P=s.dragOverGapBottom,M=s.pos,T=s.active,o=s.eventKey,a=(0,ce.Z)((0,ce.Z)({},E),{},{expanded:f,selected:l,checked:v,loaded:N,loading:p,halfChecked:K,dragOver:F,dragOverGapTop:t,dragOverGapBottom:P,pos:M,active:T,key:o});return"props"in a||Object.defineProperty(a,"props",{get:function(){return(0,te.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),s}}),a}},27678:function(Pe,le,i){i.d(le,{g1:function(){return b},os:function(){return A}});var Q=/margin|padding|width|height|max|min|offset/,k={left:!0,top:!0},ce={cssFloat:1,styleFloat:1,float:1};function I(c){return c.nodeType===1?c.ownerDocument.defaultView.getComputedStyle(c,null):{}}function fe(c,u,Z){if(u=u.toLowerCase(),Z==="auto"){if(u==="height")return c.offsetHeight;if(u==="width")return c.offsetWidth}return u in k||(k[u]=Q.test(u)),k[u]?parseFloat(Z)||0:Z}function ve(c,u){var Z=arguments.length,j=I(c);return u=ce[u]?"cssFloat"in c.style?"cssFloat":"styleFloat":u,Z===1?j:fe(c,u,j[u]||c.style[u])}function te(c,u,Z){var j=arguments.length;if(u=ce[u]?"cssFloat"in c.style?"cssFloat":"styleFloat":u,j===3)return typeof Z=="number"&&Q.test(u)&&(Z="".concat(Z,"px")),c.style[u]=Z,Z;for(var g in u)u.hasOwnProperty(g)&&te(c,g,u[g]);return I(c)}function h(c){return c===document.body?document.documentElement.clientWidth:c.offsetWidth}function D(c){return c===document.body?window.innerHeight||document.documentElement.clientHeight:c.offsetHeight}function S(){var c=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),u=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:c,height:u}}function b(){var c=document.documentElement.clientWidth,u=window.innerHeight||document.documentElement.clientHeight;return{width:c,height:u}}function V(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function A(c){var u=c.getBoundingClientRect(),Z=document.documentElement;return{left:u.left+(window.pageXOffset||Z.scrollLeft)-(Z.clientLeft||document.body.clientLeft||0),top:u.top+(window.pageYOffset||Z.scrollTop)-(Z.clientTop||document.body.clientTop||0)}}}}]); diff --git a/statics/2901.27e94cb7.async.js b/statics/2901.27e94cb7.async.js deleted file mode 100644 index 3ae00948..00000000 --- a/statics/2901.27e94cb7.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2901],{45605:function(K,R,f){f.d(R,{Z:function(){return D}});var m=f(1413),h=f(67294),O={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 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},V=O,Z=f(84089),y=function(x,w){return h.createElement(Z.Z,(0,m.Z)((0,m.Z)({},x),{},{ref:w,icon:V}))};y.displayName="InfoCircleOutlined";var D=h.forwardRef(y)},98494:function(K,R,f){f.d(R,{Z:function(){return re}});var m=f(1413),h=f(67294),O={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"},V=O,Z=f(93771),y=function(n,u){return h.createElement(Z.Z,(0,m.Z)((0,m.Z)({},n),{},{ref:u,icon:V}))};y.displayName="StarFilled";var D=h.forwardRef(y),$=f(94184),x=f.n($),w=f(4942),I=f(15671),F=f(43144),E=f(32531),M=f(51630),B=f(34203),H=f(15105);function P(t){var n=t.pageXOffset,u="scrollLeft";if(typeof n!="number"){var a=t.document;n=a.documentElement[u],typeof n!="number"&&(n=a.body[u])}return n}function T(t){var n,u,a=t.ownerDocument,e=a.body,l=a&&a.documentElement,r=t.getBoundingClientRect();return n=r.left,u=r.top,n-=l.clientLeft||e.clientLeft||0,u-=l.clientTop||e.clientTop||0,{left:n,top:u}}function X(t){var n=T(t),u=t.ownerDocument,a=u.defaultView||u.parentWindow;return n.left+=P(a),n.left}var A=function(t){(0,E.Z)(u,t);var n=(0,M.Z)(u);function u(){var a;(0,I.Z)(this,u);for(var e=arguments.length,l=new Array(e),r=0;r=c&&oC?"true":"false","aria-posinset":C+1,"aria-setsize":p,tabIndex:i?-1:0},h.createElement("div",{className:"".concat(s,"-first")},g),h.createElement("div",{className:"".concat(s,"-second")},g)));return d&&(S=d(S,this.props)),S}}]),u}(h.Component);function N(){}var L=function(t){(0,E.Z)(u,t);var n=(0,M.Z)(u);function u(a){var e;(0,I.Z)(this,u),e=n.call(this,a),e.stars=void 0,e.rate=void 0,e.onHover=function(r,o){var i=e.props.onHoverChange,s=e.getStarValue(o,r.pageX),c=e.state.cleanedValue;s!==c&&e.setState({hoverValue:s,cleanedValue:null}),i(s)},e.onMouseLeave=function(){var r=e.props.onHoverChange;e.setState({hoverValue:void 0,cleanedValue:null}),r(void 0)},e.onClick=function(r,o){var i=e.props.allowClear,s=e.state.value,c=e.getStarValue(o,r.pageX),d=!1;i&&(d=c===s),e.onMouseLeave(),e.changeValue(d?0:c),e.setState({cleanedValue:d?c:null})},e.onFocus=function(){var r=e.props.onFocus;e.setState({focused:!0}),r&&r()},e.onBlur=function(){var r=e.props.onBlur;e.setState({focused:!1}),r&&r()},e.onKeyDown=function(r){var o=r.keyCode,i=e.props,s=i.count,c=i.allowHalf,d=i.onKeyDown,C=i.direction,p=C==="rtl",v=e.state.value;o===H.Z.RIGHT&&v0&&!p||o===H.Z.RIGHT&&v>0&&p?(c?v-=.5:v-=1,e.changeValue(v),r.preventDefault()):o===H.Z.LEFT&&vp/2||!s&&l-C

{const{componentCls:n}=t;return{[`${n}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:t.marginXS},"> div":{transition:`all ${t.motionDurationMid}, outline 0s`,"&:hover":{transform:t.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${t.lineWidth}px dashed ${t.rateStarColor}`,transform:t.rateStarHoverScale}},"&-first, &-second":{color:t.defaultColor,transition:`all ${t.motionDurationMid}`,userSelect:"none",[t.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${n}-star-first, &-half ${n}-star-second`]:{opacity:1},[`&-half ${n}-star-first, &-full ${n}-star-second`]:{color:"inherit"}}}},_=t=>({[`&-rtl${t.componentCls}`]:{direction:"rtl"}}),ee=t=>{const{componentCls:n}=t;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.Wf)(t)),{display:"inline-block",margin:0,padding:0,color:t.rateStarColor,fontSize:t.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${n} ${n}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),q(t)),{[`+ ${n}-text`]:{display:"inline-block",marginInlineStart:t.marginXS,fontSize:t.fontSize}}),_(t))}};var te=(0,U.Z)("Rate",t=>{const{colorFillContent:n}=t,u=(0,Y.TS)(t,{rateStarColor:t["yellow-6"],rateStarSize:t.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:n});return[ee(u)]}),ae=function(t,n){var u={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&n.indexOf(a)<0&&(u[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,a=Object.getOwnPropertySymbols(t);e{const{prefixCls:u,tooltips:a,character:e=h.createElement(D,null)}=t,l=ae(t,["prefixCls","tooltips","character"]),r=(C,p)=>{let{index:v}=p;return a?h.createElement(Q.Z,{title:a[v]},C):C},{getPrefixCls:o,direction:i}=h.useContext(J.E_),s=o("rate",u),[c,d]=te(s);return c(h.createElement(G,Object.assign({ref:n,character:e,characterRender:r},l,{className:x()(t.className,d),prefixCls:s,direction:i})))})}}]); diff --git a/statics/2937.d8be206c.async.js b/statics/2937.d8be206c.async.js new file mode 100644 index 00000000..39cf354a --- /dev/null +++ b/statics/2937.d8be206c.async.js @@ -0,0 +1,8 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2937],{76509:function(W,P,g){g.d(P,{X:function(){return I}});var o=g(67294),I=(0,o.createContext)({})},99559:function(W,P,g){g.d(P,{Z:function(){return Oe}});var o=g(67294),I=g(93967),h=g.n(I),b=g(53124),B=g(98423),x=e=>{const{prefixCls:t,className:n,style:s,size:a,shape:i}=e,c=h()({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),l=h()({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),r=o.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return o.createElement("span",{className:h()(t,c,l,n),style:Object.assign(Object.assign({},r),s)})},V=g(54548),Z=g(91945),X=g(45503);const K=new V.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),E=e=>({height:e,lineHeight:(0,V.bf)(e)}),f=e=>Object.assign({width:e},E(e)),U=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:K,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),z=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},E(e)),J=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:s,controlHeightLG:a,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},f(s)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},f(a)),[`${t}${t}-sm`]:Object.assign({},f(i))}},Q=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:s,controlHeightLG:a,controlHeightSM:i,gradientFromColor:c,calc:l}=e;return{[`${s}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:n},z(t,l)),[`${s}-lg`]:Object.assign({},z(a,l)),[`${s}-sm`]:Object.assign({},z(i,l))}},F=e=>Object.assign({width:e},E(e)),Y=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:s,borderRadiusSM:a,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:s,borderRadius:a},F(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},F(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},H=(e,t,n)=>{const{skeletonButtonCls:s}=e;return{[`${n}${s}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${s}-round`]:{borderRadius:t}}},R=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},E(e)),_=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:s,controlHeightLG:a,controlHeightSM:i,gradientFromColor:c,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:t,width:l(s).mul(2).equal(),minWidth:l(s).mul(2).equal()},R(s,l))},H(e,s,n)),{[`${n}-lg`]:Object.assign({},R(a,l))}),H(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},R(i,l))}),H(e,i,`${n}-sm`))},ee=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:s,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:c,skeletonImageCls:l,controlHeight:r,controlHeightLG:u,controlHeightSM:m,gradientFromColor:d,padding:p,marginSM:$,borderRadius:v,titleHeight:C,blockRadius:j,paragraphLiHeight:M,controlHeightXS:T,paragraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},f(r)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},f(u)),[`${n}-sm`]:Object.assign({},f(m))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${s}`]:{width:"100%",height:C,background:d,borderRadius:j,[`+ ${a}`]:{marginBlockStart:m}},[`${a}`]:{padding:0,"> li":{width:"100%",height:M,listStyle:"none",background:d,borderRadius:j,"+ li":{marginBlockStart:T}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${s}, ${a} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[`${s}`]:{marginBlockStart:$,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},_(e)),J(e)),Q(e)),Y(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${c}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${s}, + ${a} > li, + ${n}, + ${i}, + ${c}, + ${l} + `]:Object.assign({},U(e))}}},te=e=>{const{colorFillContent:t,colorFill:n}=e,s=t,a=n;return{color:s,colorGradientEnd:a,gradientFromColor:s,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}};var k=(0,Z.I$)("Skeleton",e=>{const{componentCls:t,calc:n}=e,s=(0,X.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ee(s)]},te,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ne=e=>{const{prefixCls:t,className:n,rootClassName:s,active:a,shape:i="circle",size:c="default"}=e,{getPrefixCls:l}=o.useContext(b.E_),r=l("skeleton",t),[u,m,d]=k(r),p=(0,B.Z)(e,["prefixCls","className"]),$=h()(r,`${r}-element`,{[`${r}-active`]:a},n,s,m,d);return u(o.createElement("div",{className:$},o.createElement(x,Object.assign({prefixCls:`${r}-avatar`,shape:i,size:c},p))))},se=e=>{const{prefixCls:t,className:n,rootClassName:s,active:a,block:i=!1,size:c="default"}=e,{getPrefixCls:l}=o.useContext(b.E_),r=l("skeleton",t),[u,m,d]=k(r),p=(0,B.Z)(e,["prefixCls"]),$=h()(r,`${r}-element`,{[`${r}-active`]:a,[`${r}-block`]:i},n,s,m,d);return u(o.createElement("div",{className:$},o.createElement(x,Object.assign({prefixCls:`${r}-button`,size:c},p))))};const ae="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";var le=e=>{const{prefixCls:t,className:n,rootClassName:s,style:a,active:i}=e,{getPrefixCls:c}=o.useContext(b.E_),l=c("skeleton",t),[r,u,m]=k(l),d=h()(l,`${l}-element`,{[`${l}-active`]:i},n,s,u,m);return r(o.createElement("div",{className:d},o.createElement("div",{className:h()(`${l}-image`,n),style:a},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},o.createElement("path",{d:ae,className:`${l}-image-path`})))))},oe=e=>{const{prefixCls:t,className:n,rootClassName:s,active:a,block:i,size:c="default"}=e,{getPrefixCls:l}=o.useContext(b.E_),r=l("skeleton",t),[u,m,d]=k(r),p=(0,B.Z)(e,["prefixCls"]),$=h()(r,`${r}-element`,{[`${r}-active`]:a,[`${r}-block`]:i},n,s,m,d);return u(o.createElement("div",{className:$},o.createElement(x,Object.assign({prefixCls:`${r}-input`,size:c},p))))},re=g(87462),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},ce=ie,ge=g(93771),de=function(t,n){return o.createElement(ge.Z,(0,re.Z)({},t,{ref:n,icon:ce}))},ue=o.forwardRef(de),me=ue,he=e=>{const{prefixCls:t,className:n,rootClassName:s,style:a,active:i,children:c}=e,{getPrefixCls:l}=o.useContext(b.E_),r=l("skeleton",t),[u,m,d]=k(r),p=h()(r,`${r}-element`,{[`${r}-active`]:i},m,n,s,d),$=c!=null?c:o.createElement(me,null);return u(o.createElement("div",{className:p},o.createElement("div",{className:h()(`${r}-image`,n),style:a},$)))},Ce=g(74902);const pe=(e,t)=>{const{width:n,rows:s=2}=t;if(Array.isArray(n))return n[e];if(s-1===e)return n};var $e=e=>{const{prefixCls:t,className:n,style:s,rows:a}=e,i=(0,Ce.Z)(Array(a)).map((c,l)=>o.createElement("li",{key:l,style:{width:pe(l,e)}}));return o.createElement("ul",{className:h()(t,n),style:s},i)},ve=e=>{let{prefixCls:t,className:n,width:s,style:a}=e;return o.createElement("h3",{className:h()(t,n),style:Object.assign({width:s},a)})};function A(e){return e&&typeof e=="object"?e:{}}function be(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function fe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function ke(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const S=e=>{const{prefixCls:t,loading:n,className:s,rootClassName:a,style:i,children:c,avatar:l=!1,title:r=!0,paragraph:u=!0,active:m,round:d}=e,{getPrefixCls:p,direction:$,skeleton:v}=o.useContext(b.E_),C=p("skeleton",t),[j,M,T]=k(C);if(n||!("loading"in e)){const O=!!l,N=!!r,y=!!u;let D;if(O){const w=Object.assign(Object.assign({prefixCls:`${C}-avatar`},be(N,y)),A(l));D=o.createElement("div",{className:`${C}-header`},o.createElement(x,Object.assign({},w)))}let q;if(N||y){let w;if(N){const L=Object.assign(Object.assign({prefixCls:`${C}-title`},fe(O,y)),A(r));w=o.createElement(ve,Object.assign({},L))}let G;if(y){const L=Object.assign(Object.assign({prefixCls:`${C}-paragraph`},ke(O,N)),A(u));G=o.createElement($e,Object.assign({},L))}q=o.createElement("div",{className:`${C}-content`},w,G)}const xe=h()(C,{[`${C}-with-avatar`]:O,[`${C}-active`]:m,[`${C}-rtl`]:$==="rtl",[`${C}-round`]:d},v==null?void 0:v.className,s,a,M,T);return j(o.createElement("div",{className:xe,style:Object.assign(Object.assign({},v==null?void 0:v.style),i)},D,q))}return c!=null?c:null};S.Button=se,S.Avatar=ne,S.Input=oe,S.Image=le,S.Node=he;var Se=S,Oe=Se}}]); diff --git a/statics/3094.a849ee83.async.js b/statics/3094.a849ee83.async.js new file mode 100644 index 00000000..c811a221 --- /dev/null +++ b/statics/3094.a849ee83.async.js @@ -0,0 +1,9 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3094],{88916:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},38958:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:function(k,h){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:h}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:k}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:k}}]}},name:"camera",theme:"twotone"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},82061:function(p,d,r){"use strict";var a=r(1413),c=r(67294),o=r(47046),S=r(84089),u=function(z,m){return c.createElement(S.Z,(0,a.Z)((0,a.Z)({},z),{},{ref:m,icon:o.Z}))},M=c.forwardRef(u);d.Z=M},58638:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},1832:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},57546:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},37446:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},67841:function(p,d,r){"use strict";r.d(d,{Z:function(){return z}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},S=o,u=r(84089),M=function(k,h){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},k),{},{ref:h,icon:S}))},g=c.forwardRef(M),z=g},60696:function(p,d,r){"use strict";var a=r(67294),c=r(61607);d.Z=(0,c.a1)("folder-code",!0,function(o){return a.createElement("svg",{width:o.size,height:o.size,viewBox:"0 0 48 48",fill:"none"},a.createElement("path",{d:"M5 8C5 6.89543 5.89543 6 7 6H19L24 12H41C42.1046 12 43 12.8954 43 14V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V8Z",fill:o.colors[1],stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M28 22L33 27L28 32",stroke:o.colors[2],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M20 22L15 27L20 32",stroke:o.colors[2],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}))})},94877:function(p,d,r){"use strict";var a=r(67294),c=r(61607);d.Z=(0,c.a1)("switch",!0,function(o){return a.createElement("svg",{width:o.size,height:o.size,viewBox:"0 0 48 48",fill:"none"},a.createElement("path",{d:"M42 19H5.99998",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M30 7L42 19",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M6.79897 29H42.799",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M6.79895 29L18.799 41",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}))})},290:function(){"use strict"},93379:function(p){var d={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};p.exports=function(r,a){return typeof a=="number"&&!d[r]?a+"px":a}},53879:function(p,d,r){var a=r(87236),c=r(6189),o={float:"cssFloat"},S=r(93379);function u(m,k,h){var O=o[k];if(typeof O=="undefined"&&(O=g(k)),O){if(h===void 0)return m.style[O];m.style[O]=S(O,h)}}function M(m,k){for(var h in k)k.hasOwnProperty(h)&&u(m,h,k[h])}function g(m){var k=c(m),h=a(k);return o[k]=o[m]=o[h]=h,h}function z(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:M(arguments[0],arguments[1]):u(arguments[0],arguments[1],arguments[2])}p.exports=z,p.exports.set=z,p.exports.get=function(m,k){return Array.isArray(k)?k.reduce(function(h,O){return h[O]=u(m,O||""),h},{}):u(m,k||"")}},75:function(p,d,r){var a=r(34155);(function(){var c,o,S,u,M,g;typeof performance!="undefined"&&performance!==null&&performance.now?p.exports=function(){return performance.now()}:typeof a!="undefined"&&a!==null&&a.hrtime?(p.exports=function(){return(c()-M)/1e6},o=a.hrtime,c=function(){var z;return z=o(),z[0]*1e9+z[1]},u=c(),g=a.uptime()*1e9,M=u-g):Date.now?(p.exports=function(){return Date.now()-S},S=Date.now()):(p.exports=function(){return new Date().getTime()-S},S=new Date().getTime())}).call(this)},87236:function(p){var d=null,r=["Webkit","Moz","O","ms"];p.exports=function(c){d||(d=document.createElement("div"));var o=d.style;if(c in o)return c;for(var S=c.charAt(0).toUpperCase()+c.slice(1),u=r.length;u>=0;u--){var M=r[u]+S;if(M in o)return M}return!1}},54087:function(p,d,r){for(var a=r(75),c=typeof window=="undefined"?r.g:window,o=["moz","webkit"],S="AnimationFrame",u=c["request"+S],M=c["cancel"+S]||c["cancelRequest"+S],g=0;!u&&g=0||!Object.prototype.hasOwnProperty.call(h,R)||(B[R]=h[R]);return B}function M(h){return o.default.createElement("div",h)}function g(h){var O=h.style,B=u(h,["style"]),R=a({},O,{right:2,bottom:2,left:2,borderRadius:3});return o.default.createElement("div",a({style:R},B))}function z(h){var O=h.style,B=u(h,["style"]),R=a({},O,{right:2,bottom:2,top:2,borderRadius:3});return o.default.createElement("div",a({style:R},B))}function m(h){var O=h.style,B=u(h,["style"]),R=a({},O,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return o.default.createElement("div",a({style:R},B))}function k(h){var O=h.style,B=u(h,["style"]),R=a({},O,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return o.default.createElement("div",a({style:R},B))}},14608:function(p,d,r){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var a=Object.assign||function(T){for(var W=1;W=0||!Object.prototype.hasOwnProperty.call(T,t)||(f[t]=T[t]);return f}function ce(T,W){if(!(T instanceof W))throw new TypeError("Cannot call a class as a function")}function de(T,W){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W&&(typeof W=="object"||typeof W=="function")?W:T}function fe(T,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof W);T.prototype=Object.create(W&&W.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(T,W):T.__proto__=W)}var ne=function(T){fe(W,T);function W(f){var t;ce(this,W);for(var i=arguments.length,n=Array(i>1?i-1:0),l=1;l0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollLeft=t)}},{key:"scrollTop",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollTop=t)}},{key:"scrollToLeft",value:function(){!this.view||(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){!this.view||(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){!this.view||(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){!this.view||(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var t=this.view,i=this.trackHorizontal,n=this.trackVertical,l=this.thumbHorizontal,e=this.thumbVertical;t.addEventListener("scroll",this.handleScroll),(0,B.default)()&&(i.addEventListener("mouseenter",this.handleTrackMouseEnter),i.addEventListener("mouseleave",this.handleTrackMouseLeave),i.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),l.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),e.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var t=this.view,i=this.trackHorizontal,n=this.trackVertical,l=this.thumbHorizontal,e=this.thumbVertical;t.removeEventListener("scroll",this.handleScroll),(0,B.default)()&&(i.removeEventListener("mouseenter",this.handleTrackMouseEnter),i.removeEventListener("mouseleave",this.handleTrackMouseLeave),i.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),l.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),e.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(t){var i=this,n=this.props,l=n.onScroll,e=n.onScrollFrame;l&&l(t),this.update(function(s){var v=s.scrollLeft,b=s.scrollTop;i.viewScrollLeft=v,i.viewScrollTop=b,e&&e(s)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var t=this.props.onScrollStart;t&&t(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var t=this.props.autoHide;!t||this.showTracks()}},{key:"handleScrollStop",value:function(){var t=this.props.onScrollStop;t&&t(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var t=this.props.autoHide;!t||this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(t){t.preventDefault();var i=t.target,n=t.clientX,l=i.getBoundingClientRect(),e=l.left,s=this.getThumbHorizontalWidth(),v=Math.abs(e-n)-s/2;this.view.scrollLeft=this.getScrollLeftForOffset(v)}},{key:"handleVerticalTrackMouseDown",value:function(t){t.preventDefault();var i=t.target,n=t.clientY,l=i.getBoundingClientRect(),e=l.top,s=this.getThumbVerticalHeight(),v=Math.abs(e-n)-s/2;this.view.scrollTop=this.getScrollTopForOffset(v)}},{key:"handleHorizontalThumbMouseDown",value:function(t){t.preventDefault(),this.handleDragStart(t);var i=t.target,n=t.clientX,l=i.offsetWidth,e=i.getBoundingClientRect(),s=e.left;this.prevPageX=l-(n-s)}},{key:"handleVerticalThumbMouseDown",value:function(t){t.preventDefault(),this.handleDragStart(t);var i=t.target,n=t.clientY,l=i.offsetHeight,e=i.getBoundingClientRect(),s=e.top;this.prevPageY=l-(n-s)}},{key:"setupDragging",value:function(){(0,M.default)(document.body,I.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=$.default}},{key:"teardownDragging",value:function(){(0,M.default)(document.body,I.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(t){this.dragging=!0,t.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(t){if(this.prevPageX){var i=t.clientX,n=this.trackHorizontal.getBoundingClientRect(),l=n.left,e=this.getThumbHorizontalWidth(),s=e-this.prevPageX,v=-l+i-s;this.view.scrollLeft=this.getScrollLeftForOffset(v)}if(this.prevPageY){var b=t.clientY,C=this.trackVertical.getBoundingClientRect(),y=C.top,E=this.getThumbVerticalHeight(),D=E-this.prevPageY,w=-y+b-D;this.view.scrollTop=this.getScrollTopForOffset(w)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var t=this.props.autoHide;!t||this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var t=this.props.autoHide;!t||this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var t=this.props.autoHide;!t||this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,M.default)(this.trackHorizontal,{opacity:1}),(0,M.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var t=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var i=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,M.default)(t.trackHorizontal,{opacity:0}),(0,M.default)(t.trackVertical,{opacity:0})},i)}}},{key:"detectScrolling",value:function(){var t=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){t.lastViewScrollLeft===t.viewScrollLeft&&t.lastViewScrollTop===t.viewScrollTop&&(clearInterval(t.detectScrollingInterval),t.scrolling=!1,t.handleScrollStop()),t.lastViewScrollLeft=t.viewScrollLeft,t.lastViewScrollTop=t.viewScrollTop},100))}},{key:"raf",value:function(t){var i=this;this.requestFrame&&S.default.cancel(this.requestFrame),this.requestFrame=(0,S.default)(function(){i.requestFrame=void 0,t()})}},{key:"update",value:function(t){var i=this;this.raf(function(){return i._update(t)})}},{key:"_update",value:function(t){var i=this.props,n=i.onUpdate,l=i.hideTracksWhenNotNeeded,e=this.getValues();if((0,B.default)()){var s=e.scrollLeft,v=e.clientWidth,b=e.scrollWidth,C=(0,G.default)(this.trackHorizontal),y=this.getThumbHorizontalWidth(),E=s/(b-v)*(C-y),D={width:y,transform:"translateX("+E+"px)"},w=e.scrollTop,U=e.clientHeight,A=e.scrollHeight,P=(0,se.default)(this.trackVertical),x=this.getThumbVerticalHeight(),X=w/(A-U)*(P-x),Y={height:x,transform:"translateY("+X+"px)"};if(l){var N={visibility:b>v?"visible":"hidden"},j={visibility:A>U?"visible":"hidden"};(0,M.default)(this.trackHorizontal,N),(0,M.default)(this.trackVertical,j)}(0,M.default)(this.thumbHorizontal,D),(0,M.default)(this.thumbVertical,Y)}n&&n(e),typeof t=="function"&&t(e)}},{key:"render",value:function(){var t=this,i=(0,B.default)(),n=this.props,l=n.onScroll,e=n.onScrollFrame,s=n.onScrollStart,v=n.onScrollStop,b=n.onUpdate,C=n.renderView,y=n.renderTrackHorizontal,E=n.renderTrackVertical,D=n.renderThumbHorizontal,w=n.renderThumbVertical,U=n.tagName,A=n.hideTracksWhenNotNeeded,P=n.autoHide,x=n.autoHideTimeout,X=n.autoHideDuration,Y=n.thumbSize,N=n.thumbMinSize,j=n.universal,J=n.autoHeight,K=n.autoHeightMin,Q=n.autoHeightMax,V=n.style,ie=n.children,re=oe(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),Z=this.state.didMountUniversal,q=a({},I.containerStyleDefault,J&&a({},I.containerStyleAutoHeight,{minHeight:K,maxHeight:Q}),V),ae=a({},I.viewStyleDefault,{marginRight:i?-i:0,marginBottom:i?-i:0},J&&a({},I.viewStyleAutoHeight,{minHeight:(0,h.default)(K)?"calc("+K+" + "+i+"px)":K+i,maxHeight:(0,h.default)(Q)?"calc("+Q+" + "+i+"px)":Q+i}),J&&j&&!Z&&{minHeight:K,maxHeight:Q},j&&!Z&&I.viewStyleUniversalInitial),F={transition:"opacity "+X+"ms",opacity:0},ue=a({},I.trackHorizontalStyleDefault,P&&F,(!i||j&&!Z)&&{display:"none"}),he=a({},I.trackVerticalStyleDefault,P&&F,(!i||j&&!Z)&&{display:"none"});return(0,g.createElement)(U,a({},re,{style:q,ref:function(L){t.container=L}}),[(0,g.cloneElement)(C({style:ae}),{key:"view",ref:function(L){t.view=L}},ie),(0,g.cloneElement)(y({style:ue}),{key:"trackHorizontal",ref:function(L){t.trackHorizontal=L}},(0,g.cloneElement)(D({style:I.thumbHorizontalStyleDefault}),{ref:function(L){t.thumbHorizontal=L}})),(0,g.cloneElement)(E({style:he}),{key:"trackVertical",ref:function(L){t.trackVertical=L}},(0,g.cloneElement)(w({style:I.thumbVerticalStyleDefault}),{ref:function(L){t.thumbVertical=L}}))])}}]),W}(g.Component);d.default=ne,ne.propTypes={onScroll:m.default.func,onScrollFrame:m.default.func,onScrollStart:m.default.func,onScrollStop:m.default.func,onUpdate:m.default.func,renderView:m.default.func,renderTrackHorizontal:m.default.func,renderTrackVertical:m.default.func,renderThumbHorizontal:m.default.func,renderThumbVertical:m.default.func,tagName:m.default.string,thumbSize:m.default.number,thumbMinSize:m.default.number,hideTracksWhenNotNeeded:m.default.bool,autoHide:m.default.bool,autoHideTimeout:m.default.number,autoHideDuration:m.default.number,autoHeight:m.default.bool,autoHeightMin:m.default.oneOfType([m.default.number,m.default.string]),autoHeightMax:m.default.oneOfType([m.default.number,m.default.string]),universal:m.default.bool,style:m.default.object,children:m.default.node},ne.defaultProps={renderView:te.renderViewDefault,renderTrackHorizontal:te.renderTrackHorizontalDefault,renderTrackVertical:te.renderTrackVerticalDefault,renderThumbHorizontal:te.renderThumbHorizontalDefault,renderThumbVertical:te.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},7679:function(p,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var r=d.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},a=d.containerStyleAutoHeight={height:"auto"},c=d.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},o=d.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},S=d.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},u=d.trackHorizontalStyleDefault={position:"absolute",height:6},M=d.trackVerticalStyleDefault={position:"absolute",width:6},g=d.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},z=d.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},m=d.disableSelectStyle={userSelect:"none"},k=d.disableSelectStyleReset={userSelect:""}},31298:function(p,d,r){"use strict";var a;a={value:!0},d.$B=void 0;var c=r(14608),o=S(c);function S(u){return u&&u.__esModule?u:{default:u}}a=o.default,d.$B=o.default},56839:function(p,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(a){var c=a.clientHeight,o=getComputedStyle(a),S=o.paddingTop,u=o.paddingBottom;return c-parseFloat(S)-parseFloat(u)}},4749:function(p,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(a){var c=a.clientWidth,o=getComputedStyle(a),S=o.paddingLeft,u=o.paddingRight;return c-parseFloat(S)-parseFloat(u)}},13305:function(p,d,r){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=u;var a=r(53879),c=o(a);function o(M){return M&&M.__esModule?M:{default:M}}var S=!1;function u(){if(S!==!1)return S;if(typeof document!="undefined"){var M=document.createElement("div");(0,c.default)(M,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(M),S=M.offsetWidth-M.clientWidth,document.body.removeChild(M)}else S=0;return S||0}},95205:function(p,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(a){return typeof a=="string"}},78669:function(p,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(){return!1}},85884:function(p,d,r){"use strict";r.d(d,{Z:function(){return f}});var a=r(67294),c=r(45697),o=r.n(c),S=r(97262),u=r.n(S);function M(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);t!=null&&this.setState(t)}function g(t){function i(n){var l=this.constructor.getDerivedStateFromProps(t,n);return l!=null?l:null}this.setState(i.bind(this))}function z(t,i){try{var n=this.props,l=this.state;this.props=t,this.state=i,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,l)}finally{this.props=n,this.state=l}}M.__suppressDeprecationWarning=!0,g.__suppressDeprecationWarning=!0,z.__suppressDeprecationWarning=!0;function m(t){var i=t.prototype;if(!i||!i.isReactComponent)throw new Error("Can only polyfill class components");if(typeof t.getDerivedStateFromProps!="function"&&typeof i.getSnapshotBeforeUpdate!="function")return t;var n=null,l=null,e=null;if(typeof i.componentWillMount=="function"?n="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"?l="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"?e="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(e="UNSAFE_componentWillUpdate"),n!==null||l!==null||e!==null){var s=t.displayName||t.name,v=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. + +`+s+" uses "+v+" but also contains the following legacy lifecycles:"+(n!==null?` + `+n:"")+(l!==null?` + `+l:"")+(e!==null?` + `+e:"")+` + +The above lifecycles should be removed. Learn more about this warning here: +https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof t.getDerivedStateFromProps=="function"&&(i.componentWillMount=M,i.componentWillReceiveProps=g),typeof i.getSnapshotBeforeUpdate=="function"){if(typeof i.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");i.componentWillUpdate=z;var b=i.componentDidUpdate;i.componentDidUpdate=function(y,E,D){var w=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:D;b.call(this,y,E,w)}}return t}function k(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function h(t,i){for(var n=0;n=0?n:1/0;return Math.max(e,Math.min(s,l))}return t!==void 0?t:i}function T(t){return a.Children.toArray(t).filter(function(i){return i})}var W=function(t){_(n,t);var i=H(n);function n(l){var e;k(this,n),e=i.call(this,l),e.onMouseDown=e.onMouseDown.bind(I(e)),e.onTouchStart=e.onTouchStart.bind(I(e)),e.onMouseMove=e.onMouseMove.bind(I(e)),e.onTouchMove=e.onTouchMove.bind(I(e)),e.onMouseUp=e.onMouseUp.bind(I(e));var s=l.size,v=l.defaultSize,b=l.minSize,C=l.maxSize,y=l.primary,E=s!==void 0?s:ne(v,b,C,null);return e.state={active:!1,resized:!1,pane1Size:y==="first"?E:void 0,pane2Size:y==="second"?E:void 0,instanceProps:{size:s}},e}return O(n,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(n.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var s=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(s)}},{key:"onTouchStart",value:function(e){var s=this.props,v=s.allowResize,b=s.onDragStarted,C=s.split;if(v){fe(document,window);var y=C==="vertical"?e.touches[0].clientX:e.touches[0].clientY;typeof b=="function"&&b(),this.setState({active:!0,position:y})}}},{key:"onMouseMove",value:function(e){var s=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(s)}},{key:"onTouchMove",value:function(e){var s=this.props,v=s.allowResize,b=s.maxSize,C=s.minSize,y=s.onChange,E=s.split,D=s.step,w=this.state,U=w.active,A=w.position;if(v&&U){fe(document,window);var P=this.props.primary==="first",x=P?this.pane1:this.pane2,X=P?this.pane2:this.pane1;if(x){var Y=x,N=X;if(Y.getBoundingClientRect){var j=Y.getBoundingClientRect().width,J=Y.getBoundingClientRect().height,K=E==="vertical"?e.touches[0].clientX:e.touches[0].clientY,Q=E==="vertical"?j:J,V=A-K;if(D){if(Math.abs(V)Z&&(ie=-ie);var q=b;if(b!==void 0&&b<=0){var ae=this.splitPane;E==="vertical"?q=ae.getBoundingClientRect().width+b:q=ae.getBoundingClientRect().height+b}var F=Q-ie,ue=A-V;Fq?F=q:this.setState({position:ue,resized:!0}),y&&y(F),this.setState(B({draggedSize:F},P?"pane1Size":"pane2Size",F))}}}}},{key:"onMouseUp",value:function(){var e=this.props,s=e.allowResize,v=e.onDragFinished,b=this.state,C=b.active,y=b.draggedSize;s&&C&&(typeof v=="function"&&v(y),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,s=this.props,v=s.allowResize,b=s.children,C=s.className,y=s.onResizerClick,E=s.onResizerDoubleClick,D=s.paneClassName,w=s.pane1ClassName,U=s.pane2ClassName,A=s.paneStyle,P=s.pane1Style,x=s.pane2Style,X=s.resizerClassName,Y=s.resizerStyle,N=s.split,j=s.style,J=this.state,K=J.pane1Size,Q=J.pane2Size,V=v?"":"disabled",ie=X&&"".concat(X," ").concat(ce),re=T(b),Z=$({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},j);N==="vertical"?Object.assign(Z,{flexDirection:"row",left:0,right:0}):Object.assign(Z,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var q=["SplitPane",C,N,V],ae=$({},A,{},P),F=$({},A,{},x),ue=["Pane1",D,w].join(" "),he=["Pane2",D,U].join(" ");return a.createElement("div",{className:q.join(" "),ref:function(L){e.splitPane=L},style:Z},a.createElement(oe,{className:ue,key:"pane1",eleRef:function(L){e.pane1=L},size:K,split:N,style:ae},re[0]),a.createElement(de,{className:V,onClick:y,onDoubleClick:E,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:ie,split:N,style:Y||{}}),a.createElement(oe,{className:he,key:"pane2",eleRef:function(L){e.pane2=L},size:Q,split:N,style:F},re[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,s){return n.getSizeUpdate(e,s)}},{key:"getSizeUpdate",value:function(e,s){var v={},b=s.instanceProps;if(b.size===e.size&&e.size!==void 0)return{};var C=e.size!==void 0?e.size:ne(e.defaultSize,e.minSize,e.maxSize,s.draggedSize);e.size!==void 0&&(v.draggedSize=C);var y=e.primary==="first";return v[y?"pane1Size":"pane2Size"]=C,v[y?"pane2Size":"pane1Size"]=void 0,v.instanceProps={size:e.size},v}}]),n}(a.Component);W.propTypes={allowResize:o().bool,children:o().arrayOf(o().node).isRequired,className:o().string,primary:o().oneOf(["first","second"]),minSize:o().oneOfType([o().string,o().number]),maxSize:o().oneOfType([o().string,o().number]),defaultSize:o().oneOfType([o().string,o().number]),size:o().oneOfType([o().string,o().number]),split:o().oneOf(["vertical","horizontal"]),onDragStarted:o().func,onDragFinished:o().func,onChange:o().func,onResizerClick:o().func,onResizerDoubleClick:o().func,style:u(),resizerStyle:u(),paneClassName:o().string,pane1ClassName:o().string,pane2ClassName:o().string,paneStyle:u(),pane1Style:u(),pane2Style:u(),resizerClassName:o().string,step:o().number},W.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},m(W);var f=W},5962:function(p){p.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackground","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGrid","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskClip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},97262:function(p,d,r){var a=r(5962),c=r(45697);p.exports=function(o,S,u){var M=o[S];if(!!M){var g=[];if(Object.keys(M).forEach(function(z){a.indexOf(z)===-1&&g.push(z)}),g.length)throw new Error("Prop "+S+" passed to "+u+". Has invalid keys "+g.join(", "))}},p.exports.isRequired=function(o,S,u){if(!o[S])throw new Error("Prop "+S+" passed to "+u+" is required");return p.exports(o,S,u)},p.exports.supportingArrays=c.oneOfType([c.arrayOf(p.exports),p.exports])},6189:function(p,d,r){var a=r(7966);p.exports=c;function c(o){return a(o).replace(/\s(\w)/g,function(S,u){return u.toUpperCase()})}},71788:function(p){p.exports=c;var d=/\s/,r=/(_|-|\.|:)/,a=/([a-z][A-Z]|[A-Z][a-z])/;function c(g){return d.test(g)?g.toLowerCase():r.test(g)?(S(g)||g).toLowerCase():a.test(g)?M(g).toLowerCase():g.toLowerCase()}var o=/[\W_]+(.|$)/g;function S(g){return g.replace(o,function(z,m){return m?" "+m:""})}var u=/(.)([A-Z]+)/g;function M(g){return g.replace(u,function(z,m,k){return m+" "+k.toLowerCase().split("").join(" ")})}},7966:function(p,d,r){var a=r(71788);p.exports=c;function c(o){return a(o).replace(/[\W_]+(.|$)/g,function(S,u){return u?" "+u:""}).trim()}}}]); diff --git a/statics/3363.7220e618.async.js b/statics/3363.7220e618.async.js deleted file mode 100644 index 5f121a3a..00000000 --- a/statics/3363.7220e618.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3363],{3363:function(Lt,nt,d){d.d(nt,{Z:function(){return Et}});var ot=d(64894),rt=d(62208),lt=d(94184),R=d.n(lt),A=d(87462),Y=d(1413),u=d(4942),Q=d(45987),a=d(67294),at=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function J(t){return typeof t=="string"}function st(t){var i,e=t.className,n=t.prefixCls,o=t.style,r=t.active,l=t.status,h=t.iconPrefix,s=t.icon,p=t.wrapperStyle,v=t.stepNumber,f=t.disabled,b=t.description,x=t.title,m=t.subTitle,S=t.progressDot,C=t.stepIcon,z=t.tailContent,c=t.icons,y=t.stepIndex,$=t.onStepClick,T=t.onClick,H=t.render,B=(0,Q.Z)(t,at),E=function(){T&&T.apply(void 0,arguments),$(y)},N=function(){var P,g,M=R()("".concat(n,"-icon"),"".concat(h,"icon"),(P={},(0,u.Z)(P,"".concat(h,"icon-").concat(s),s&&J(s)),(0,u.Z)(P,"".concat(h,"icon-check"),!s&&l==="finish"&&(c&&!c.finish||!c)),(0,u.Z)(P,"".concat(h,"icon-cross"),!s&&l==="error"&&(c&&!c.error||!c)),P)),L=a.createElement("span",{className:"".concat(n,"-icon-dot")});return S?typeof S=="function"?g=a.createElement("span",{className:"".concat(n,"-icon")},S(L,{index:v-1,status:l,title:x,description:b})):g=a.createElement("span",{className:"".concat(n,"-icon")},L):s&&!J(s)?g=a.createElement("span",{className:"".concat(n,"-icon")},s):c&&c.finish&&l==="finish"?g=a.createElement("span",{className:"".concat(n,"-icon")},c.finish):c&&c.error&&l==="error"?g=a.createElement("span",{className:"".concat(n,"-icon")},c.error):s||l==="finish"||l==="error"?g=a.createElement("span",{className:M}):g=a.createElement("span",{className:"".concat(n,"-icon")},v),C&&(g=C({index:v-1,status:l,title:x,description:b,node:g})),g},w=l||"wait",X=R()("".concat(n,"-item"),"".concat(n,"-item-").concat(w),e,(i={},(0,u.Z)(i,"".concat(n,"-item-custom"),s),(0,u.Z)(i,"".concat(n,"-item-active"),r),(0,u.Z)(i,"".concat(n,"-item-disabled"),f===!0),i)),O=(0,Y.Z)({},o),D={};$&&!f&&(D.role="button",D.tabIndex=0,D.onClick=E);var Z=a.createElement("div",(0,A.Z)({},B,{className:X,style:O}),a.createElement("div",(0,A.Z)({onClick:T},D,{className:"".concat(n,"-item-container")}),a.createElement("div",{className:"".concat(n,"-item-tail")},z),a.createElement("div",{className:"".concat(n,"-item-icon")},N()),a.createElement("div",{className:"".concat(n,"-item-content")},a.createElement("div",{className:"".concat(n,"-item-title")},x,m&&a.createElement("div",{title:typeof m=="string"?m:void 0,className:"".concat(n,"-item-subtitle")},m)),b&&a.createElement("div",{className:"".concat(n,"-item-description")},b))));return H&&(Z=H(Z)||null),Z}var U=st,ct=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function q(t){var i,e=t.prefixCls,n=e===void 0?"rc-steps":e,o=t.style,r=o===void 0?{}:o,l=t.className,h=t.children,s=t.direction,p=s===void 0?"horizontal":s,v=t.type,f=v===void 0?"default":v,b=t.labelPlacement,x=b===void 0?"horizontal":b,m=t.iconPrefix,S=m===void 0?"rc":m,C=t.status,z=C===void 0?"process":C,c=t.size,y=t.current,$=y===void 0?0:y,T=t.progressDot,H=T===void 0?!1:T,B=t.stepIcon,E=t.initial,N=E===void 0?0:E,w=t.icons,X=t.onChange,O=t.itemRender,D=t.items,Z=D===void 0?[]:D,K=(0,Q.Z)(t,ct),P=f==="navigation",g=f==="inline",M=g||H,L=g?"horizontal":p,it=g?void 0:c,Ot=M?"vertical":x,jt=R()(n,"".concat(n,"-").concat(L),l,(i={},(0,u.Z)(i,"".concat(n,"-").concat(it),it),(0,u.Z)(i,"".concat(n,"-label-").concat(Ot),L==="horizontal"),(0,u.Z)(i,"".concat(n,"-dot"),!!M),(0,u.Z)(i,"".concat(n,"-navigation"),P),(0,u.Z)(i,"".concat(n,"-inline"),g),i)),Bt=function(F){X&&$!==F&&X(F)},Zt=function(F,et){var I=(0,Y.Z)({},F),j=N+et;return z==="error"&&et===$-1&&(I.className="".concat(n,"-next-error")),I.status||(j===$?I.status=z:j<$?I.status="finish":I.status="wait"),g&&(I.icon=void 0,I.subTitle=void 0),!I.render&&O&&(I.render=function(Mt){return O(I,Mt)}),a.createElement(U,(0,A.Z)({},I,{active:j===$,stepNumber:j+1,stepIndex:j,key:j,prefixCls:n,iconPrefix:S,wrapperStyle:r,progressDot:M,stepIcon:B,icons:w,onStepClick:X&&Bt}))};return a.createElement("div",(0,A.Z)({className:jt,style:r},K),Z.filter(function(V){return V}).map(Zt))}q.Step=U;var dt=q,_=dt,mt=d(83062),pt=d(53124),gt=d(25378),$t=d(69814),St=d(50344);function ht(t){return t.filter(i=>i)}function ft(t,i){if(t)return t;const e=(0,St.Z)(i).map(n=>{if(a.isValidElement(n)){const{props:o}=n;return Object.assign({},o)}return null});return ht(e)}var ut=d(67968),vt=d(45503),bt=t=>{const{componentCls:i,stepsIconCustomTop:e,stepsIconCustomSize:n,stepsIconCustomFontSize:o}=t;return{[`${i}-item-custom`]:{[`> ${i}-item-container > ${i}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${i}-icon`]:{top:e,width:n,height:n,fontSize:o,lineHeight:`${n}px`}}},[`&:not(${i}-vertical)`]:{[`${i}-item-custom`]:{[`${i}-item-icon`]:{width:"auto",background:"none"}}}}},It=t=>{const{componentCls:i,stepsIconSize:e,lineHeight:n,stepsSmallIconSize:o}=t;return{[`&${i}-label-vertical`]:{[`${i}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e/2+t.controlHeightLG,padding:`${t.paddingXXS}px ${t.paddingLG}px`},"&-content":{display:"block",width:(e/2+t.controlHeightLG)*2,marginTop:t.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:t.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:t.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${i}-small:not(${i}-dot)`]:{[`${i}-item`]:{"&-icon":{marginInlineStart:t.controlHeightLG+(e-o)/2}}}}}},k=d(14747),Ct=t=>{const{componentCls:i,stepsNavContentMaxWidth:e,stepsNavArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:r}=t;return{[`&${i}-navigation`]:{paddingTop:t.paddingSM,[`&${i}-small`]:{[`${i}-item`]:{"&-container":{marginInlineStart:-t.marginSM}}},[`${i}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-t.margin,paddingBottom:t.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${i}-item-content`]:{maxWidth:e},[`${i}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},k.vS),{"&::after":{display:"none"}})},[`&:not(${i}-item-active)`]:{[`${i}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${t.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:t.fontSizeIcon,height:t.fontSizeIcon,borderTop:`${t.lineWidth}px ${t.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${t.lineWidth}px ${t.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:t.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${i}-item${i}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${i}-navigation${i}-vertical`]:{[`> ${i}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${i}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:t.lineWidth*3,height:`calc(100% - ${t.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:t.controlHeight*.25,height:t.controlHeight*.25,marginBottom:t.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${i}-item-container > ${i}-item-tail`]:{visibility:"hidden"}}},[`&${i}-navigation${i}-horizontal`]:{[`> ${i}-item > ${i}-item-container > ${i}-item-tail`]:{visibility:"hidden"}}}},yt=t=>{const{antCls:i,componentCls:e}=t;return{[`&${e}-with-progress`]:{[`${e}-item`]:{paddingTop:t.paddingXXS,[`&-process ${e}-item-container ${e}-item-icon ${e}-icon`]:{color:t.processIconColor}},[`&${e}-vertical > ${e}-item `]:{paddingInlineStart:t.paddingXXS,[`> ${e}-item-container > ${e}-item-tail`]:{top:t.marginXXS,insetInlineStart:t.stepsIconSize/2-t.lineWidth+t.paddingXXS}},[`&, &${e}-small`]:{[`&${e}-horizontal ${e}-item:first-child`]:{paddingBottom:t.paddingXXS,paddingInlineStart:t.paddingXXS}},[`&${e}-small${e}-vertical > ${e}-item > ${e}-item-container > ${e}-item-tail`]:{insetInlineStart:t.stepsSmallIconSize/2-t.lineWidth+t.paddingXXS},[`&${e}-label-vertical`]:{[`${e}-item ${e}-item-tail`]:{top:t.margin-2*t.lineWidth}},[`${e}-item-icon`]:{position:"relative",[`${i}-progress`]:{position:"absolute",insetBlockStart:(t.stepsIconSize-t.stepsProgressSize-t.lineWidth*2)/2,insetInlineStart:(t.stepsIconSize-t.stepsProgressSize-t.lineWidth*2)/2}}}}},xt=t=>{const{componentCls:i,descriptionWidth:e,lineHeight:n,stepsCurrentDotSize:o,stepsDotSize:r,motionDurationSlow:l}=t;return{[`&${i}-dot, &${i}-dot${i}-small`]:{[`${i}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:Math.floor((t.stepsDotSize-t.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${e/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${t.marginSM*2}px)`,height:t.lineWidth*3,marginInlineStart:t.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:(t.descriptionWidth-r)/2,paddingInlineEnd:0,lineHeight:`${r}px`,background:"transparent",border:0,[`${i}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${l}`,"&::after":{position:"absolute",top:-t.marginSM,insetInlineStart:(r-t.controlHeightLG*1.5)/2,width:t.controlHeightLG*1.5,height:t.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:e},[`&-process ${i}-item-icon`]:{position:"relative",top:(r-o)/2,width:o,height:o,lineHeight:`${o}px`,background:"none",marginInlineStart:(t.descriptionWidth-o)/2},[`&-process ${i}-icon`]:{[`&:first-child ${i}-icon-dot`]:{insetInlineStart:0}}}},[`&${i}-vertical${i}-dot`]:{[`${i}-item-icon`]:{marginTop:(t.controlHeight-r)/2,marginInlineStart:0,background:"none"},[`${i}-item-process ${i}-item-icon`]:{marginTop:(t.controlHeight-o)/2,top:0,insetInlineStart:(r-o)/2,marginInlineStart:0},[`${i}-item > ${i}-item-container > ${i}-item-tail`]:{top:(t.controlHeight-r)/2,insetInlineStart:0,margin:0,padding:`${r+t.paddingXS}px 0 ${t.paddingXS}px`,"&::after":{marginInlineStart:(r-t.lineWidth)/2}},[`&${i}-small`]:{[`${i}-item-icon`]:{marginTop:(t.controlHeightSM-r)/2},[`${i}-item-process ${i}-item-icon`]:{marginTop:(t.controlHeightSM-o)/2},[`${i}-item > ${i}-item-container > ${i}-item-tail`]:{top:(t.controlHeightSM-r)/2}},[`${i}-item:first-child ${i}-icon-dot`]:{insetInlineStart:0},[`${i}-item-content`]:{width:"inherit"}}}},zt=t=>{const{componentCls:i}=t;return{[`&${i}-rtl`]:{direction:"rtl",[`${i}-item`]:{"&-subtitle":{float:"left"}},[`&${i}-navigation`]:{[`${i}-item::after`]:{transform:"rotate(-45deg)"}},[`&${i}-vertical`]:{[`> ${i}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${i}-item-icon`]:{float:"right"}}},[`&${i}-dot`]:{[`${i}-item-icon ${i}-icon-dot, &${i}-small ${i}-item-icon ${i}-icon-dot`]:{float:"right"}}}}},wt=t=>{const{componentCls:i,stepsSmallIconSize:e,fontSizeSM:n,fontSize:o,colorTextDescription:r}=t;return{[`&${i}-small`]:{[`&${i}-horizontal:not(${i}-label-vertical) ${i}-item`]:{paddingInlineStart:t.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${i}-item-icon`]:{width:e,height:e,marginTop:0,marginBottom:0,marginInline:`0 ${t.marginXS}px`,fontSize:n,lineHeight:`${e}px`,textAlign:"center",borderRadius:e},[`${i}-item-title`]:{paddingInlineEnd:t.paddingSM,fontSize:o,lineHeight:`${e}px`,"&::after":{top:e/2}},[`${i}-item-description`]:{color:r,fontSize:o},[`${i}-item-tail`]:{top:e/2-t.paddingXXS},[`${i}-item-custom ${i}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${i}-icon`]:{fontSize:e,lineHeight:`${e}px`,transform:"none"}}}}},Tt=t=>{const{componentCls:i,stepsSmallIconSize:e,stepsIconSize:n}=t;return{[`&${i}-vertical`]:{display:"flex",flexDirection:"column",[`> ${i}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${i}-item-icon`]:{float:"left",marginInlineEnd:t.margin},[`${i}-item-content`]:{display:"block",minHeight:t.controlHeight*1.5,overflow:"hidden"},[`${i}-item-title`]:{lineHeight:`${n}px`},[`${i}-item-description`]:{paddingBottom:t.paddingSM}},[`> ${i}-item > ${i}-item-container > ${i}-item-tail`]:{position:"absolute",top:0,insetInlineStart:t.stepsIconSize/2-t.lineWidth,width:t.lineWidth,height:"100%",padding:`${n+t.marginXXS*1.5}px 0 ${t.marginXXS*1.5}px`,"&::after":{width:t.lineWidth,height:"100%"}},[`> ${i}-item:not(:last-child) > ${i}-item-container > ${i}-item-tail`]:{display:"block"},[` > ${i}-item > ${i}-item-container > ${i}-item-content > ${i}-item-title`]:{"&::after":{display:"none"}},[`&${i}-small ${i}-item-container`]:{[`${i}-item-tail`]:{position:"absolute",top:0,insetInlineStart:t.stepsSmallIconSize/2-t.lineWidth,padding:`${e+t.marginXXS*1.5}px 0 ${t.marginXXS*1.5}px`},[`${i}-item-title`]:{lineHeight:`${e}px`}}}}},Nt=t=>{const{componentCls:i,inlineDotSize:e,inlineTitleColor:n,inlineTailColor:o}=t,r=t.paddingXS+t.lineWidth,l={[`${i}-item-container ${i}-item-content ${i}-item-title`]:{color:n}};return{[`&${i}-inline`]:{width:"auto",display:"inline-flex",[`${i}-item`]:{flex:"none","&-container":{padding:`${r}px ${t.paddingXXS}px 0`,margin:`0 ${t.marginXXS/2}px`,borderRadius:t.borderRadiusSM,cursor:"pointer",transition:`background-color ${t.motionDurationMid}`,"&:hover":{background:t.controlItemBgHover},["&[role='button']:hover"]:{opacity:1}},"&-icon":{width:e,height:e,marginInlineStart:`calc(50% - ${e/2}px)`,[`> ${i}-icon`]:{top:0},[`${i}-icon-dot`]:{borderRadius:t.fontSizeSM/4}},"&-content":{width:"auto",marginTop:t.marginXS-t.lineWidth},"&-title":{color:n,fontSize:t.fontSizeSM,lineHeight:t.lineHeightSM,fontWeight:"normal",marginBottom:t.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:r+e/2,transform:"translateY(-50%)","&:after":{width:"100%",height:t.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${i}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${i}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${i}-item-icon ${i}-icon ${i}-icon-dot`]:{backgroundColor:t.colorBorderBg,border:`${t.lineWidth}px ${t.lineType} ${o}`}},l),"&-finish":Object.assign({[`${i}-item-tail::after`]:{backgroundColor:o},[`${i}-item-icon ${i}-icon ${i}-icon-dot`]:{backgroundColor:o,border:`${t.lineWidth}px ${t.lineType} ${o}`}},l),"&-error":l,"&-active, &-process":Object.assign({[`${i}-item-icon`]:{width:e,height:e,marginInlineStart:`calc(50% - ${e/2}px)`,top:0}},l),[`&:not(${i}-item-active) > ${i}-item-container[role='button']:hover`]:{[`${i}-item-title`]:{color:n}}}}}},W;(function(t){t.wait="wait",t.process="process",t.finish="finish",t.error="error"})(W||(W={}));const G=(t,i)=>{const e=`${i.componentCls}-item`,n=`${t}IconColor`,o=`${t}TitleColor`,r=`${t}DescriptionColor`,l=`${t}TailColor`,h=`${t}IconBgColor`,s=`${t}IconBorderColor`,p=`${t}DotColor`;return{[`${e}-${t} ${e}-icon`]:{backgroundColor:i[h],borderColor:i[s],[`> ${i.componentCls}-icon`]:{color:i[n],[`${i.componentCls}-icon-dot`]:{background:i[p]}}},[`${e}-${t}${e}-custom ${e}-icon`]:{[`> ${i.componentCls}-icon`]:{color:i[p]}},[`${e}-${t} > ${e}-container > ${e}-content > ${e}-title`]:{color:i[o],"&::after":{backgroundColor:i[l]}},[`${e}-${t} > ${e}-container > ${e}-content > ${e}-description`]:{color:i[r]},[`${e}-${t} > ${e}-container > ${e}-tail::after`]:{backgroundColor:i[l]}}},Xt=t=>{const{componentCls:i,motionDurationSlow:e}=t,n=`${i}-item`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none"},[`${n}-icon, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[`${n}-icon`]:{width:t.stepsIconSize,height:t.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:t.marginXS,fontSize:t.stepsIconFontSize,fontFamily:t.fontFamily,lineHeight:`${t.stepsIconSize}px`,textAlign:"center",borderRadius:t.stepsIconSize,border:`${t.lineWidth}px ${t.lineType} transparent`,transition:`background-color ${e}, border-color ${e}`,[`${i}-icon`]:{position:"relative",top:t.stepsIconTop,color:t.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:t.stepsIconSize/2-t.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:t.lineWidth,background:t.colorSplit,borderRadius:t.lineWidth,transition:`background ${e}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:t.padding,color:t.colorText,fontSize:t.fontSizeLG,lineHeight:`${t.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:t.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:t.lineWidth,background:t.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:t.marginXS,color:t.colorTextDescription,fontWeight:"normal",fontSize:t.fontSize},[`${n}-description`]:{color:t.colorTextDescription,fontSize:t.fontSize}},G(W.wait,t)),G(W.process,t)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:t.fontWeightStrong}}),G(W.finish,t)),G(W.error,t)),{[`${n}${i}-next-error > ${i}-item-title::after`]:{background:t.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Dt=t=>{const{componentCls:i,motionDurationSlow:e}=t;return{[`& ${i}-item`]:{[`&:not(${i}-item-active)`]:{[`& > ${i}-item-container[role='button']`]:{cursor:"pointer",[`${i}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${i}-icon`]:{transition:`color ${e}`}},"&:hover":{[`${i}-item`]:{["&-title, &-subtitle, &-description"]:{color:t.colorPrimary}}}},[`&:not(${i}-item-process)`]:{[`& > ${i}-item-container[role='button']:hover`]:{[`${i}-item`]:{"&-icon":{borderColor:t.colorPrimary,[`${i}-icon`]:{color:t.colorPrimary}}}}}}},[`&${i}-horizontal:not(${i}-label-vertical)`]:{[`${i}-item`]:{paddingInlineStart:t.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${i}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:t.descriptionWidth,whiteSpace:"normal"}}}}},Pt=t=>{const{componentCls:i}=t;return{[i]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.Wf)(t)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Xt(t)),Dt(t)),bt(t)),wt(t)),Tt(t)),It(t)),xt(t)),Ct(t)),zt(t)),yt(t)),Nt(t))}};var Wt=(0,ut.Z)("Steps",t=>{const{wireframe:i,colorTextDisabled:e,fontSizeHeading3:n,fontSize:o,controlHeight:r,controlHeightLG:l,colorTextLightSolid:h,colorText:s,colorPrimary:p,colorTextLabel:v,colorTextDescription:f,colorTextQuaternary:b,colorFillContent:x,controlItemBgActive:m,colorError:S,colorBgContainer:C,colorBorderSecondary:z}=t,c=t.controlHeight,y=t.colorSplit,$=(0,vt.TS)(t,{processTailColor:y,stepsNavArrowColor:e,stepsIconSize:c,stepsIconCustomSize:c,stepsIconCustomTop:0,stepsIconCustomFontSize:l/2,stepsIconTop:-.5,stepsIconFontSize:o,stepsTitleLineHeight:r,stepsSmallIconSize:n,stepsDotSize:r/4,stepsCurrentDotSize:l/4,stepsNavContentMaxWidth:"auto",processIconColor:h,processTitleColor:s,processDescriptionColor:s,processIconBgColor:p,processIconBorderColor:p,processDotColor:p,waitIconColor:i?e:v,waitTitleColor:f,waitDescriptionColor:f,waitTailColor:y,waitIconBgColor:i?C:x,waitIconBorderColor:i?e:"transparent",waitDotColor:e,finishIconColor:p,finishTitleColor:s,finishDescriptionColor:f,finishTailColor:p,finishIconBgColor:i?C:m,finishIconBorderColor:i?p:m,finishDotColor:p,errorIconColor:h,errorTitleColor:S,errorDescriptionColor:S,errorTailColor:y,errorIconBgColor:S,errorIconBorderColor:S,errorDotColor:S,stepsNavActiveColor:p,stepsProgressSize:l,inlineDotSize:6,inlineTitleColor:b,inlineTailColor:z});return[Pt($)]},{descriptionWidth:140}),Ht=function(t,i){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o{const{percent:i,size:e,className:n,direction:o,items:r,responsive:l=!0,current:h=0,children:s}=t,p=Ht(t,["percent","size","className","direction","items","responsive","current","children"]),{xs:v}=(0,gt.Z)(l),{getPrefixCls:f,direction:b}=a.useContext(pt.E_),x=a.useMemo(()=>l&&v?"vertical":o,[v,o]),m=f("steps",t.prefixCls),[S,C]=Wt(m),z=t.type==="inline",c=f("",t.iconPrefix),y=ft(r,s),$=z?void 0:i,T=R()({[`${m}-rtl`]:b==="rtl",[`${m}-with-progress`]:$!==void 0},n,C),H={finish:a.createElement(ot.Z,{className:`${m}-finish-icon`}),error:a.createElement(rt.Z,{className:`${m}-error-icon`})},B=N=>{let{node:w,status:X}=N;if(X==="process"&&$!==void 0){const O=e==="small"?32:40;return a.createElement("div",{className:`${m}-progress-icon`},a.createElement($t.Z,{type:"circle",percent:$,width:O,strokeWidth:4,format:()=>null}),w)}return w},E=(N,w)=>N.description?a.createElement(mt.Z,{title:N.description},w):w;return S(a.createElement(_,Object.assign({icons:H},p,{current:h,size:e,items:y,itemRender:z?E:void 0,stepIcon:B,direction:x,prefixCls:m,iconPrefix:c,className:T})))};tt.Step=_.Step;var Et=tt}}]); diff --git a/statics/3622.6e9b23a1.async.js b/statics/3622.6e9b23a1.async.js new file mode 100644 index 00000000..6784a5a4 --- /dev/null +++ b/statics/3622.6e9b23a1.async.js @@ -0,0 +1,57 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3622],{31484:function(xn,$e,F){F.d($e,{Z:function(){return i}});var E=F(1413),te=F(67294),fe={icon:function(Oe,ye){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:ye}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:Oe}}]}},name:"delete",theme:"twotone"},q=fe,se=F(84089),a=function(Oe,ye){return te.createElement(se.Z,(0,E.Z)((0,E.Z)({},Oe),{},{ref:ye,icon:q}))},xe=te.forwardRef(a),i=xe},34804:function(xn,$e,F){var E=F(1413),te=F(67294),fe=F(66023),q=F(84089),se=function(i,Je){return te.createElement(q.Z,(0,E.Z)((0,E.Z)({},i),{},{ref:Je,icon:fe.Z}))},a=te.forwardRef(se);$e.Z=a},65987:function(xn,$e,F){F.d($e,{Z:function(){return i}});var E=F(1413),te=F(67294),fe={icon:function(Oe,ye){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:ye}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:Oe}}]}},name:"edit",theme:"twotone"},q=fe,se=F(84089),a=function(Oe,ye){return te.createElement(se.Z,(0,E.Z)((0,E.Z)({},Oe),{},{ref:ye,icon:q}))},xe=te.forwardRef(a),i=xe},952:function(xn,$e,F){var E=F(34994);$e.ZP=E.A},69935:function(xn,$e,F){F.d($e,{Z:function(){return qi}});var E=F(4942),te=F(97685),fe=F(45987),q=F(74165),se=F(15861),a=F(1413),xe=F(87462),i=F(67294),Je=F(42110),Oe=F(93967),ye=F.n(Oe),hn=F(86500),ke=F(1350),Ve=2,Ge=.16,un=.05,sn=.05,vr=.15,Mn=5,kn=4,Vn=[{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 fr(n){var e=n.r,t=n.g,r=n.b,l=(0,hn.py)(e,t,r);return{h:l.h*360,s:l.s,v:l.v}}function Rn(n){var e=n.r,t=n.g,r=n.b;return"#".concat((0,hn.vq)(e,t,r,!1))}function mr(n,e,t){var r=t/100,l={r:(e.r-n.r)*r+n.r,g:(e.g-n.g)*r+n.g,b:(e.b-n.b)*r+n.b};return l}function gr(n,e,t){var r;return Math.round(n.h)>=60&&Math.round(n.h)<=240?r=t?Math.round(n.h)-Ve*e:Math.round(n.h)+Ve*e:r=t?Math.round(n.h)+Ve*e:Math.round(n.h)-Ve*e,r<0?r+=360:r>=360&&(r-=360),r}function jn(n,e,t){if(n.h===0&&n.s===0)return n.s;var r;return t?r=n.s-Ge*e:e===kn?r=n.s+Ge:r=n.s+un*e,r>1&&(r=1),t&&e===Mn&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Wn(n,e,t){var r;return t?r=n.v+sn*e:r=n.v-vr*e,r>1&&(r=1),Number(r.toFixed(2))}function ue(n){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=[],r=(0,ke.uA)(n),l=Mn;l>0;l-=1){var d=fr(r),o=Rn((0,ke.uA)({h:gr(d,l,!0),s:jn(d,l,!0),v:Wn(d,l,!0)}));t.push(o)}t.push(Rn(r));for(var u=1;u<=kn;u+=1){var v=fr(r),c=Rn((0,ke.uA)({h:gr(v,u),s:jn(v,u),v:Wn(v,u)}));t.push(c)}return e.theme==="dark"?Vn.map(function(g){var Z=g.index,y=g.opacity,R=Rn(mr((0,ke.uA)(e.backgroundColor||"#141414"),(0,ke.uA)(t[Z]),y*100));return R}):t}var Ze={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ge={},he={};Object.keys(Ze).forEach(function(n){ge[n]=ue(Ze[n]),ge[n].primary=ge[n][5],he[n]=ue(Ze[n],{theme:"dark",backgroundColor:"#141414"}),he[n].primary=he[n][5]});var Te=ge.red,dn=ge.volcano,cn=ge.gold,_e=ge.orange,en=ge.yellow,vn=ge.lime,wn=ge.green,fn=ge.cyan,pn=ge.blue,Hn=ge.geekblue,Un=ge.purple,Jn=ge.magenta,rn=ge.grey,yn=ge.grey,Pn=(0,i.createContext)({}),Gn=Pn,Le=F(71002),hr=F(44958),Nn=F(27571),Ye=F(80334);function pr(n){return n.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function Ke(n,e){(0,Ye.ZP)(n,"[@ant-design/icons] ".concat(e))}function De(n){return(0,Le.Z)(n)==="object"&&typeof n.name=="string"&&typeof n.theme=="string"&&((0,Le.Z)(n.icon)==="object"||typeof n.icon=="function")}function Yn(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(n).reduce(function(e,t){var r=n[t];switch(t){case"class":e.className=r,delete e.class;break;default:delete e[t],e[pr(t)]=r}return e},{})}function yr(n,e,t){return t?i.createElement(n.tag,(0,a.Z)((0,a.Z)({key:e},Yn(n.attrs)),t),(n.children||[]).map(function(r,l){return yr(r,"".concat(e,"-").concat(n.tag,"-").concat(l))})):i.createElement(n.tag,(0,a.Z)({key:e},Yn(n.attrs)),(n.children||[]).map(function(r,l){return yr(r,"".concat(e,"-").concat(n.tag,"-").concat(l))}))}function Or(n){return ue(n)[0]}function Lr(n){return n?Array.isArray(n)?n:[n]:[]}var iu={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Nt=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,Ot=function(e){var t=(0,i.useContext)(Gn),r=t.csp,l=t.prefixCls,d=Nt;l&&(d=d.replace(/anticon/g,l)),(0,i.useEffect)(function(){var o=e.current,u=(0,Nn.A)(o);(0,hr.hq)(d,"@ant-design-icons",{prepend:!0,csp:r,attachTo:u})},[])},Lt=["icon","className","onClick","style","primaryColor","secondaryColor"],On={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Kt(n){var e=n.primaryColor,t=n.secondaryColor;On.primaryColor=e,On.secondaryColor=t||Or(e),On.calculated=!!t}function Dt(){return(0,a.Z)({},On)}var Xn=function(e){var t=e.icon,r=e.className,l=e.onClick,d=e.style,o=e.primaryColor,u=e.secondaryColor,v=(0,fe.Z)(e,Lt),c=i.useRef(),g=On;if(o&&(g={primaryColor:o,secondaryColor:u||Or(o)}),Ot(c),Ke(De(t),"icon should be icon definiton, but got ".concat(t)),!De(t))return null;var Z=t;return Z&&typeof Z.icon=="function"&&(Z=(0,a.Z)((0,a.Z)({},Z),{},{icon:Z.icon(g.primaryColor,g.secondaryColor)})),yr(Z.icon,"svg-".concat(Z.name),(0,a.Z)((0,a.Z)({className:r,onClick:l,style:d,"data-icon":Z.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},v),{},{ref:c}))};Xn.displayName="IconReact",Xn.getTwoToneColors=Dt,Xn.setTwoToneColors=Kt;var Cr=Xn;function Kr(n){var e=Lr(n),t=(0,te.Z)(e,2),r=t[0],l=t[1];return Cr.setTwoToneColors({primaryColor:r,secondaryColor:l})}function Bt(){var n=Cr.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}var At=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Kr(pn.primary);var Qn=i.forwardRef(function(n,e){var t=n.className,r=n.icon,l=n.spin,d=n.rotate,o=n.tabIndex,u=n.onClick,v=n.twoToneColor,c=(0,fe.Z)(n,At),g=i.useContext(Gn),Z=g.prefixCls,y=Z===void 0?"anticon":Z,R=g.rootClassName,m=ye()(R,y,(0,E.Z)((0,E.Z)({},"".concat(y,"-").concat(r.name),!!r.name),"".concat(y,"-spin"),!!l||r.name==="loading"),t),p=o;p===void 0&&u&&(p=-1);var h=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,C=Lr(v),w=(0,te.Z)(C,2),j=w[0],B=w[1];return i.createElement("span",(0,xe.Z)({role:"img","aria-label":r.name},c,{ref:e,tabIndex:p,onClick:u,className:m}),i.createElement(Cr,{icon:r,primaryColor:j,secondaryColor:B,style:h}))});Qn.displayName="AntdIcon",Qn.getTwoToneColor=Bt,Qn.setTwoToneColor=Kr;var nn=Qn,zt=function(e,t){return i.createElement(nn,(0,xe.Z)({},e,{ref:t,icon:Je.Z}))},$t=i.forwardRef(zt),kt=$t,Zr=F(97462),Dr=F(952),Pe=F(10915),be=F(48171),Cn=F(53914),We=F(22270),br=F(60249),qn=F(14726),Xe=F(8232),Fe=F(21770),Be=F(88306),Ln=F(8880),He=F(74902),Br=F(53911),Vt=F(44962),Wt=F(13286),s=F(85893),Ht=function(e){return(0,s.jsx)(Br.Z,(0,a.Z)({bodyStyle:{padding:0}},e))},Kn=Br.Z;Kn.isProCard=!0,Kn.Divider=Vt.Z,Kn.TabPane=Wt.Z,Kn.Group=Ht;var Ut=Kn,Jt=Ut,Ar=F(2514),je=F(98082),Gt=F(84506),Yt=F(15294),Xt=F(62914),Qt=function(e,t){return i.createElement(Xt.Z,(0,xe.Z)({},e,{ref:t,icon:Yt.Z}))},qt=i.forwardRef(Qt),Sr=qt,zr=F(2453),_t=F(86738),ea=F(84164),$r=F(10178),kr=F(41036),Dn=F(27068),_n=F(26369),Vr=F(92210),na=["map_row_parentKey"],ra=["map_row_parentKey","map_row_key"],ta=["map_row_key"],xr=function(e){return(zr.ZP.warn||zr.ZP.warning)(e)},Ae=function(e){return Array.isArray(e)?e.join(","):e};function Bn(n,e){var t,r=n.getRowKey,l=n.row,d=n.data,o=n.childrenColumnName,u=o===void 0?"children":o,v=(t=Ae(n.key))===null||t===void 0?void 0:t.toString(),c=new Map;function g(y,R,m){y.forEach(function(p,h){var C=(m||0)*10+h,w=r(p,C).toString();p&&(0,Le.Z)(p)==="object"&&u in p&&g(p[u]||[],w,C);var j=(0,a.Z)((0,a.Z)({},p),{},{map_row_key:w,children:void 0,map_row_parentKey:R});delete j.children,R||delete j.map_row_parentKey,c.set(w,j)})}e==="top"&&c.set(v,(0,a.Z)((0,a.Z)({},c.get(v)),l)),g(d),e==="update"&&c.set(v,(0,a.Z)((0,a.Z)({},c.get(v)),l)),e==="delete"&&c.delete(v);var Z=function(R){var m=new Map,p=[],h=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;R.forEach(function(j){if(j.map_row_parentKey&&!j.map_row_key){var B=j.map_row_parentKey,J=(0,fe.Z)(j,na);if(m.has(B)||m.set(B,[]),w){var G;(G=m.get(B))===null||G===void 0||G.push(J)}}})};return h(e==="top"),R.forEach(function(C){if(C.map_row_parentKey&&C.map_row_key){var w,j=C.map_row_parentKey,B=C.map_row_key,J=(0,fe.Z)(C,ra);m.has(B)&&(J[u]=m.get(B)),m.has(j)||m.set(j,[]),(w=m.get(j))===null||w===void 0||w.push(J)}}),h(e==="update"),R.forEach(function(C){if(!C.map_row_parentKey){var w=C.map_row_key,j=(0,fe.Z)(C,ta);if(w&&m.has(w)){var B=(0,a.Z)((0,a.Z)({},j),{},(0,E.Z)({},u,m.get(w)));p.push(B);return}p.push(j)}}),p};return Z(c)}function aa(n,e){var t=n.recordKey,r=n.onSave,l=n.row,d=n.children,o=n.newLineConfig,u=n.editorType,v=n.tableName,c=(0,i.useContext)(kr.J),g=Xe.Z.useFormInstance(),Z=(0,Fe.Z)(!1),y=(0,te.Z)(Z,2),R=y[0],m=y[1],p=(0,be.J)((0,se.Z)((0,q.Z)().mark(function h(){var C,w,j,B,J,G,I,W,V;return(0,q.Z)().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,w=u==="Map",j=[v,Array.isArray(t)?t[0]:t].map(function(O){return O==null?void 0:O.toString()}).flat(1).filter(Boolean),m(!0),x.next=6,g.validateFields(j,{recursive:!0});case 6:return B=(c==null||(C=c.getFieldFormatValue)===null||C===void 0?void 0:C.call(c,j))||g.getFieldValue(j),Array.isArray(t)&&t.length>1&&(J=(0,Gt.Z)(t),G=J.slice(1),I=(0,Be.Z)(B,G),(0,Ln.Z)(B,G,I)),W=w?(0,Ln.Z)({},j,B):B,x.next=11,r==null?void 0:r(t,(0,Vr.T)({},l,W),l,o);case 11:return V=x.sent,m(!1),x.abrupt("return",V);case 16:throw x.prev=16,x.t0=x.catch(0),console.log(x.t0),m(!1),x.t0;case 21:case"end":return x.stop()}},h,null,[[0,16]])})));return(0,i.useImperativeHandle)(e,function(){return{save:p}},[p]),(0,s.jsxs)("a",{onClick:function(){var h=(0,se.Z)((0,q.Z)().mark(function C(w){return(0,q.Z)().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return w.stopPropagation(),w.preventDefault(),B.prev=2,B.next=5,p();case 5:B.next=9;break;case 7:B.prev=7,B.t0=B.catch(2);case 9:case"end":return B.stop()}},C,null,[[2,7]])}));return function(C){return h.apply(this,arguments)}}(),children:[R?(0,s.jsx)(Sr,{style:{marginInlineEnd:8}}):null,d||"\u4FDD\u5B58"]},"save")}var la=function(e){var t=e.recordKey,r=e.onDelete,l=e.row,d=e.children,o=e.deletePopconfirmMessage,u=(0,Fe.Z)(function(){return!1}),v=(0,te.Z)(u,2),c=v[0],g=v[1],Z=(0,be.J)((0,se.Z)((0,q.Z)().mark(function y(){var R;return(0,q.Z)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,g(!0),p.next=4,r==null?void 0:r(t,l);case 4:return R=p.sent,g(!1),p.abrupt("return",R);case 9:return p.prev=9,p.t0=p.catch(0),console.log(p.t0),g(!1),p.abrupt("return",null);case 14:case"end":return p.stop()}},y,null,[[0,9]])})));return d!==!1?(0,s.jsx)(_t.Z,{title:o,onConfirm:function(){return Z()},children:(0,s.jsxs)("a",{children:[c?(0,s.jsx)(Sr,{style:{marginInlineEnd:8}}):null,d||"\u5220\u9664"]})},"delete"):null},oa=function(e){var t=e.recordKey,r=e.tableName,l=e.newLineConfig,d=e.editorType,o=e.onCancel,u=e.cancelEditable,v=e.row,c=e.cancelText,g=(0,i.useContext)(kr.J),Z=Xe.Z.useFormInstance();return(0,s.jsx)("a",{onClick:function(){var y=(0,se.Z)((0,q.Z)().mark(function R(m){var p,h,C,w,j,B;return(0,q.Z)().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return m.stopPropagation(),m.preventDefault(),h=d==="Map",C=[r,t].flat(1).filter(Boolean),w=(g==null||(p=g.getFieldFormatValue)===null||p===void 0?void 0:p.call(g,C))||(Z==null?void 0:Z.getFieldValue(C)),j=h?(0,Ln.Z)({},C,w):w,G.next=8,o==null?void 0:o(t,j,v,l);case 8:return B=G.sent,G.next=11,u(t);case 11:return Z.setFieldsValue((0,E.Z)({},"".concat(t),h?(0,Be.Z)(v,C):v)),G.abrupt("return",B);case 13:case"end":return G.stop()}},R)}));return function(R){return y.apply(this,arguments)}}(),children:c||"\u53D6\u6D88"},"cancel")};function ia(n,e){var t=e.recordKey,r=e.newLineConfig,l=e.saveText,d=e.deleteText,o=(0,i.forwardRef)(aa),u=(0,i.createRef)();return{save:(0,s.jsx)(o,(0,a.Z)((0,a.Z)({},e),{},{row:n,ref:u,children:l}),"save"+t),saveRef:u,delete:(r==null?void 0:r.options.recordKey)!==t?(0,s.jsx)(la,(0,a.Z)((0,a.Z)({},e),{},{row:n,children:d}),"delete"+t):void 0,cancel:(0,s.jsx)(oa,(0,a.Z)((0,a.Z)({},e),{},{row:n}),"cancel"+t)}}function ua(n){var e=(0,i.useState)(void 0),t=(0,te.Z)(e,2),r=t[0],l=t[1],d=function(){var f=new Map,S=function P(T,K){T==null||T.forEach(function(M,A){var N,k=K==null?A.toString():K+"_"+A.toString();f.set(k,Ae(n.getRowKey(M,-1))),f.set((N=Ae(n.getRowKey(M,-1)))===null||N===void 0?void 0:N.toString(),k),n.childrenColumnName&&M[n.childrenColumnName]&&P(M[n.childrenColumnName],k)})};return S(n.dataSource),f},o=(0,i.useMemo)(function(){return d()},[]),u=(0,i.useRef)(o),v=(0,i.useRef)(void 0);(0,Dn.Au)(function(){u.current=d()},[n.dataSource]),v.current=r;var c=n.type||"single",g=(0,ea.Z)(n.dataSource,"children",n.getRowKey),Z=(0,te.Z)(g,1),y=Z[0],R=(0,Fe.Z)([],{value:n.editableKeys,onChange:n.onChange?function(D){var f,S,P;n==null||(f=n.onChange)===null||f===void 0||f.call(n,(S=D==null?void 0:D.filter(function(T){return T!==void 0}))!==null&&S!==void 0?S:[],(P=D==null?void 0:D.map(function(T){return y(T)}).filter(function(T){return T!==void 0}))!==null&&P!==void 0?P:[])}:void 0}),m=(0,te.Z)(R,2),p=m[0],h=m[1],C=(0,i.useMemo)(function(){var D=c==="single"?p==null?void 0:p.slice(0,1):p;return new Set(D)},[(p||[]).join(","),c]),w=(0,_n.D)(p),j=(0,be.J)(function(D){var f,S,P,T,K=(f=n.getRowKey(D,D.index))===null||f===void 0||(S=f.toString)===null||S===void 0?void 0:S.call(f),M=(P=n.getRowKey(D,-1))===null||P===void 0||(T=P.toString)===null||T===void 0?void 0:T.call(P),A=p==null?void 0:p.map(function(ee){return ee==null?void 0:ee.toString()}),N=(w==null?void 0:w.map(function(ee){return ee==null?void 0:ee.toString()}))||[],k=n.tableName&&!!(N!=null&&N.includes(M))||!!(N!=null&&N.includes(K));return{recordKey:M,isEditable:n.tableName&&(A==null?void 0:A.includes(M))||(A==null?void 0:A.includes(K)),preIsEditable:k}}),B=(0,be.J)(function(D){return C.size>0&&c==="single"&&n.onlyOneLineEditorAlertMessage!==!1?(xr(n.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1):(C.add(D),h(Array.from(C)),!0)}),J=(0,be.J)(function(){var D=(0,se.Z)((0,q.Z)().mark(function f(S,P){var T,K;return(0,q.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(T=Ae(S).toString(),K=u.current.get(T),!(!C.has(T)&&K&&(P!=null?P:!0)&&n.tableName)){A.next=5;break}return J(K,!1),A.abrupt("return");case 5:return r&&r.options.recordKey===S&&l(void 0),C.delete(T),C.delete(Ae(S)),h(Array.from(C)),A.abrupt("return",!0);case 10:case"end":return A.stop()}},f)}));return function(f,S){return D.apply(this,arguments)}}()),G=(0,$r.D)((0,se.Z)((0,q.Z)().mark(function D(){var f,S,P,T,K=arguments;return(0,q.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:for(S=K.length,P=new Array(S),T=0;T0&&c==="single"&&n.onlyOneLineEditorAlertMessage!==!1)return xr(n.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1;var S=n.getRowKey(D,-1);if(!S&&S!==0)throw(0,Ye.ET)(!!S,`\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key + https://procomponents.ant.design/components/editable-table#editable-%E6%96%B0%E5%BB%BA%E8%A1%8C`),new Error("\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key");if(C.add(S),h(Array.from(C)),(f==null?void 0:f.newRecordType)==="dataSource"||n.tableName){var P,T={data:n.dataSource,getRowKey:n.getRowKey,row:(0,a.Z)((0,a.Z)({},D),{},{map_row_parentKey:f!=null&&f.parentKey?(P=Ae(f==null?void 0:f.parentKey))===null||P===void 0?void 0:P.toString():void 0}),key:S,childrenColumnName:n.childrenColumnName||"children"};n.setDataSource(Bn(T,(f==null?void 0:f.position)==="top"?"top":"update"))}else l({defaultValue:D,options:(0,a.Z)((0,a.Z)({},f),{},{recordKey:S})});return!0}),x=(0,Pe.YB)(),O=(n==null?void 0:n.saveText)||x.getMessage("editableTable.action.save","\u4FDD\u5B58"),X=(n==null?void 0:n.deleteText)||x.getMessage("editableTable.action.delete","\u5220\u9664"),$=(n==null?void 0:n.cancelText)||x.getMessage("editableTable.action.cancel","\u53D6\u6D88"),b=(0,be.J)(function(){var D=(0,se.Z)((0,q.Z)().mark(function f(S,P,T,K){var M,A,N,k,ee,ne,de;return(0,q.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.next=2,n==null||(M=n.onSave)===null||M===void 0?void 0:M.call(n,S,P,T,K);case 2:return k=oe.sent,oe.next=5,J(S);case 5:if(ee=K||v.current||{},ne=ee.options,!(!(ne!=null&&ne.parentKey)&&(ne==null?void 0:ne.recordKey)===S)){oe.next=9;break}return(ne==null?void 0:ne.position)==="top"?n.setDataSource([P].concat((0,He.Z)(n.dataSource))):n.setDataSource([].concat((0,He.Z)(n.dataSource),[P])),oe.abrupt("return",k);case 9:return de={data:n.dataSource,getRowKey:n.getRowKey,row:ne?(0,a.Z)((0,a.Z)({},P),{},{map_row_parentKey:(A=Ae((N=ne==null?void 0:ne.parentKey)!==null&&N!==void 0?N:""))===null||A===void 0?void 0:A.toString()}):P,key:S,childrenColumnName:n.childrenColumnName||"children"},n.setDataSource(Bn(de,(ne==null?void 0:ne.position)==="top"?"top":"update")),oe.next=13,J(S);case 13:return oe.abrupt("return",k);case 14:case"end":return oe.stop()}},f)}));return function(f,S,P,T){return D.apply(this,arguments)}}()),z=(0,be.J)(function(){var D=(0,se.Z)((0,q.Z)().mark(function f(S,P){var T,K,M;return(0,q.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return K={data:n.dataSource,getRowKey:n.getRowKey,row:P,key:S,childrenColumnName:n.childrenColumnName||"children"},N.next=3,n==null||(T=n.onDelete)===null||T===void 0?void 0:T.call(n,S,P);case 3:return M=N.sent,N.next=6,J(S,!1);case 6:return n.setDataSource(Bn(K,"delete")),N.abrupt("return",M);case 8:case"end":return N.stop()}},f)}));return function(f,S){return D.apply(this,arguments)}}()),H=(0,be.J)(function(){var D=(0,se.Z)((0,q.Z)().mark(function f(S,P,T,K){var M,A;return(0,q.Z)().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,n==null||(M=n.onCancel)===null||M===void 0?void 0:M.call(n,S,P,T,K);case 2:return A=k.sent,k.abrupt("return",A);case 4:case"end":return k.stop()}},f)}));return function(f,S,P,T){return D.apply(this,arguments)}}()),Q=function(f){var S=n.getRowKey(f,f.index),P={saveText:O,cancelText:$,deleteText:X,addEditRecord:L,recordKey:S,cancelEditable:J,index:f.index,tableName:n.tableName,newLineConfig:r,onCancel:H,onDelete:z,onSave:b,editableKeys:p,setEditableRowKeys:h,deletePopconfirmMessage:n.deletePopconfirmMessage||"".concat(x.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?")},T=ia(f,P);return n.tableName?W.current.set(u.current.get(Ae(S))||Ae(S),T.saveRef):W.current.set(Ae(S),T.saveRef),n.actionRender?n.actionRender(f,P,{save:T.save,delete:T.delete,cancel:T.cancel}):[T.save,T.delete,T.cancel]};return{editableKeys:p,setEditableRowKeys:h,isEditable:j,actionRender:Q,startEditable:B,cancelEditable:J,addEditRecord:L,saveEditable:V,newLineRecord:r,preEditableKeys:w,onValuesChange:I,getRealIndex:n.getRealIndex}}var Qe=F(51812),sa=F(78164),mn=F(72051),ze=F(28459),da=F(72378),er=F.n(da),uu=function(e){return e!=null};function ca(n,e,t){var r,l;if(n===!1)return!1;var d=e.total,o=e.current,u=e.pageSize,v=e.setPageInfo,c=(0,Le.Z)(n)==="object"?n:{};return(0,a.Z)((0,a.Z)({showTotal:function(Z,y){return"".concat(t.getMessage("pagination.total.range","\u7B2C")," ").concat(y[0],"-").concat(y[1]," ").concat(t.getMessage("pagination.total.total","\u6761/\u603B\u5171")," ").concat(Z," ").concat(t.getMessage("pagination.total.item","\u6761"))},total:d},c),{},{current:n!==!0&&n&&(r=n.current)!==null&&r!==void 0?r:o,pageSize:n!==!0&&n&&(l=n.pageSize)!==null&&l!==void 0?l:u,onChange:function(Z,y){var R=n,m=R.onChange;m==null||m(Z,y||20),(y!==u||o!==Z)&&v({pageSize:y,current:Z})}})}function va(n,e,t){var r=(0,a.Z)((0,a.Z)({},t.editableUtils),{},{pageInfo:e.pageInfo,reload:function(){var l=(0,se.Z)((0,q.Z)().mark(function o(u){return(0,q.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!u){c.next=3;break}return c.next=3,e.setPageInfo({current:1});case 3:return c.next=5,e==null?void 0:e.reload();case 5:case"end":return c.stop()}},o)}));function d(o){return l.apply(this,arguments)}return d}(),reloadAndRest:function(){var l=(0,se.Z)((0,q.Z)().mark(function o(){return(0,q.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return t.onCleanSelected(),v.next=3,e.setPageInfo({current:1});case 3:return v.next=5,e==null?void 0:e.reload();case 5:case"end":return v.stop()}},o)}));function d(){return l.apply(this,arguments)}return d}(),reset:function(){var l=(0,se.Z)((0,q.Z)().mark(function o(){var u;return(0,q.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,t.resetAll();case 2:return c.next=4,e==null||(u=e.reset)===null||u===void 0?void 0:u.call(e);case 4:return c.next=6,e==null?void 0:e.reload();case 6:case"end":return c.stop()}},o)}));function d(){return l.apply(this,arguments)}return d}(),fullScreen:function(){return t.fullScreen()},clearSelected:function(){return t.onCleanSelected()},setPageInfo:function(d){return e.setPageInfo(d)}});n.current=r}function fa(n,e){return e.filter(function(t){return t}).length<1?n:e.reduce(function(t,r){return r(t)},n)}var Wr=function(e,t){return t===void 0?!1:typeof t=="boolean"?t:t[e]},ma=function(e){var t;return e&&(0,Le.Z)(e)==="object"&&(e==null||(t=e.props)===null||t===void 0?void 0:t.colSpan)},Tn=function(e,t){return e?Array.isArray(e)?e.join("-"):e.toString():"".concat(t)};function ga(n){return Array.isArray(n)?n.join(","):n==null?void 0:n.toString()}function ha(n){var e={},t={};return n.forEach(function(r){var l=ga(r.dataIndex);if(!!l){if(r.filters){var d=r.defaultFilteredValue;d===void 0?e[l]=null:e[l]=r.defaultFilteredValue}r.sorter&&r.defaultSortOrder&&(t[l]=r.defaultSortOrder)}}),{sort:t,filter:e}}function pa(){var n,e,t,r,l,d,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=(0,i.useRef)(),v=(0,i.useRef)(null),c=(0,i.useRef)(),g=(0,i.useRef)(),Z=(0,i.useState)(""),y=(0,te.Z)(Z,2),R=y[0],m=y[1],p=(0,i.useRef)([]),h=(0,Fe.Z)(function(){return o.size||o.defaultSize||"middle"},{value:o.size,onChange:o.onSizeChange}),C=(0,te.Z)(h,2),w=C[0],j=C[1],B=(0,i.useMemo)(function(){var x,O;if(o!=null&&(x=o.columnsState)!==null&&x!==void 0&&x.defaultValue)return o.columnsState.defaultValue;var X={};return(O=o.columns)===null||O===void 0||O.forEach(function($,b){var z=$.key,H=$.dataIndex,Q=$.fixed,D=$.disable,f=Tn(z!=null?z:H,b);f&&(X[f]={show:!0,fixed:Q,disable:D})}),X},[o.columns]),J=(0,Fe.Z)(function(){var x,O,X=o.columnsState||{},$=X.persistenceType,b=X.persistenceKey;if(b&&$&&typeof window!="undefined"){var z=window[$];try{var H=z==null?void 0:z.getItem(b);if(H){var Q;if(o!=null&&(Q=o.columnsState)!==null&&Q!==void 0&&Q.defaultValue){var D;return er()(o==null||(D=o.columnsState)===null||D===void 0?void 0:D.defaultValue,JSON.parse(H))}return JSON.parse(H)}}catch(f){console.warn(f)}}return o.columnsStateMap||((x=o.columnsState)===null||x===void 0?void 0:x.value)||((O=o.columnsState)===null||O===void 0?void 0:O.defaultValue)||B},{value:((n=o.columnsState)===null||n===void 0?void 0:n.value)||o.columnsStateMap,onChange:((e=o.columnsState)===null||e===void 0?void 0:e.onChange)||o.onColumnsStateChange}),G=(0,te.Z)(J,2),I=G[0],W=G[1];(0,i.useEffect)(function(){var x=o.columnsState||{},O=x.persistenceType,X=x.persistenceKey;if(X&&O&&typeof window!="undefined"){var $=window[O];try{var b=$==null?void 0:$.getItem(X);if(b){var z;if(o!=null&&(z=o.columnsState)!==null&&z!==void 0&&z.defaultValue){var H;W(er()(o==null||(H=o.columnsState)===null||H===void 0?void 0:H.defaultValue,JSON.parse(b)))}else W(JSON.parse(b))}else W(B)}catch(Q){console.warn(Q)}}},[(t=o.columnsState)===null||t===void 0?void 0:t.persistenceKey,(r=o.columnsState)===null||r===void 0?void 0:r.persistenceType,B]),(0,Ye.ET)(!o.columnsStateMap,"columnsStateMap\u5DF2\u7ECF\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 columnsState.value \u66FF\u6362"),(0,Ye.ET)(!o.columnsStateMap,"columnsStateMap has been discarded, please use columnsState.value replacement");var V=(0,i.useCallback)(function(){var x=o.columnsState||{},O=x.persistenceType,X=x.persistenceKey;if(!(!X||!O||typeof window=="undefined")){var $=window[O];try{$==null||$.removeItem(X)}catch(b){console.warn(b)}}},[o.columnsState]);(0,i.useEffect)(function(){var x,O;if(!(!((x=o.columnsState)!==null&&x!==void 0&&x.persistenceKey)||!((O=o.columnsState)!==null&&O!==void 0&&O.persistenceType))&&typeof window!="undefined"){var X=o.columnsState,$=X.persistenceType,b=X.persistenceKey,z=window[$];try{z==null||z.setItem(b,JSON.stringify(I))}catch(H){console.warn(H),V()}}},[(l=o.columnsState)===null||l===void 0?void 0:l.persistenceKey,I,(d=o.columnsState)===null||d===void 0?void 0:d.persistenceType]);var L={action:u.current,setAction:function(O){u.current=O},sortKeyColumns:p.current,setSortKeyColumns:function(O){p.current=O},propsRef:g,columnsMap:I,keyWords:R,setKeyWords:function(O){return m(O)},setTableSize:j,tableSize:w,prefixName:c.current,setPrefixName:function(O){c.current=O},setColumnsMap:W,columns:o.columns,rootDomRef:v,clearPersistenceStorage:V,defaultColumnKeyMap:B};return Object.defineProperty(L,"prefixName",{get:function(){return c.current}}),Object.defineProperty(L,"sortKeyColumns",{get:function(){return p.current}}),Object.defineProperty(L,"action",{get:function(){return u.current}}),L}var gn=(0,i.createContext)({}),ya=function(e){var t=pa(e.initValue);return(0,s.jsx)(gn.Provider,{value:t,children:e.children})},Fn=F(78957),Ca=function(e){return(0,E.Z)({},e.componentCls,{marginBlockEnd:16,backgroundColor:(0,je.uK)(e.colorTextBase,.02),borderRadius:e.borderRadius,border:"none","&-container":{paddingBlock:e.paddingSM,paddingInline:e.paddingLG},"&-info":{display:"flex",alignItems:"center",transition:"all 0.3s",color:e.colorTextTertiary,"&-content":{flex:1},"&-option":{minWidth:48,paddingInlineStart:16}}})};function Za(n){return(0,je.Xj)("ProTableAlert",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Ca(t)]})}var ba=function(e){var t=e.intl,r=e.onCleanSelected;return[(0,s.jsx)("a",{onClick:r,children:t.getMessage("alert.clear","\u6E05\u7A7A")},"0")]};function Sa(n){var e=n.selectedRowKeys,t=e===void 0?[]:e,r=n.onCleanSelected,l=n.alwaysShowAlert,d=n.selectedRows,o=n.alertInfoRender,u=o===void 0?function(j){var B=j.intl;return(0,s.jsxs)(Fn.Z,{children:[B.getMessage("alert.selected","\u5DF2\u9009\u62E9"),t.length,B.getMessage("alert.item","\u9879"),"\xA0\xA0"]})}:o,v=n.alertOptionRender,c=v===void 0?ba:v,g=(0,Pe.YB)(),Z=c&&c({onCleanSelected:r,selectedRowKeys:t,selectedRows:d,intl:g}),y=(0,i.useContext)(ze.ZP.ConfigContext),R=y.getPrefixCls,m=R("pro-table-alert"),p=Za(m),h=p.wrapSSR,C=p.hashId;if(u===!1)return null;var w=u({intl:g,selectedRowKeys:t,selectedRows:d,onCleanSelected:r});return w===!1||t.length<1&&!l?null:h((0,s.jsx)("div",{className:"".concat(m," ").concat(C).trim(),children:(0,s.jsx)("div",{className:"".concat(m,"-container ").concat(C).trim(),children:(0,s.jsxs)("div",{className:"".concat(m,"-info ").concat(C).trim(),children:[(0,s.jsx)("div",{className:"".concat(m,"-info-content ").concat(C).trim(),children:w}),Z?(0,s.jsx)("div",{className:"".concat(m,"-info-option ").concat(C).trim(),children:Z}):null]})})}))}var xa=Sa,Hr=F(43144),Ur=F(15671),tn=F(97326),Jr=F(60136),Gr=F(29388),an=F(97435);function Ra(){var n=(0,i.useState)(!0),e=(0,te.Z)(n,2),t=e[1],r=(0,i.useCallback)(function(){return t(function(l){return!l})},[]);return r}function wa(n,e){var t=(0,i.useMemo)(function(){var r={current:e};return new Proxy(r,{set:function(d,o,u){return Object.is(d[o],u)||(d[o]=u,n(t)),!0}})},[]);return t}function Pa(n){var e=Ra(),t=wa(e,n);return t}var Yr=F(51280),An=F(86333),Xr=F(74138),Rr=F(12044),nr=F(73177),Ta=F(85265),rr=F(73935),zn=F(78733),Fa=function(e){return(0,E.Z)({},e.componentCls,{"&-sidebar-dragger":{width:"5px",cursor:"ew-resize",padding:"4px 0 0",borderTop:"1px solid transparent",position:"absolute",top:0,left:0,bottom:0,zIndex:100,backgroundColor:"transparent","&-min-disabled":{cursor:"w-resize"},"&-max-disabled":{cursor:"e-resize"}}})};function Ia(n){return(0,je.Xj)("DrawerForm",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Fa(t)]})}var Ea=["children","trigger","onVisibleChange","drawerProps","onFinish","submitTimeout","title","width","resize","onOpenChange","visible","open"];function Ma(n){var e,t,r=n.children,l=n.trigger,d=n.onVisibleChange,o=n.drawerProps,u=n.onFinish,v=n.submitTimeout,c=n.title,g=n.width,Z=n.resize,y=n.onOpenChange,R=n.visible,m=n.open,p=(0,fe.Z)(n,Ea);(0,Ye.ET)(!p.footer||!(o!=null&&o.footer),"DrawerForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var h=i.useMemo(function(){var le,U,Y,ae={onResize:function(){},maxWidth:(0,Rr.j)()?window.innerWidth*.8:void 0,minWidth:300};return typeof Z=="boolean"?Z?ae:{}:(0,Qe.Y)({onResize:(le=Z==null?void 0:Z.onResize)!==null&&le!==void 0?le:ae.onResize,maxWidth:(U=Z==null?void 0:Z.maxWidth)!==null&&U!==void 0?U:ae.maxWidth,minWidth:(Y=Z==null?void 0:Z.minWidth)!==null&&Y!==void 0?Y:ae.minWidth})},[Z]),C=(0,i.useContext)(ze.ZP.ConfigContext),w=C.getPrefixCls("pro-form-drawer"),j=Ia(w),B=j.wrapSSR,J=j.hashId,G=function(U){return"".concat(w,"-").concat(U," ").concat(J)},I=(0,i.useState)([]),W=(0,te.Z)(I,2),V=W[1],L=(0,i.useState)(!1),x=(0,te.Z)(L,2),O=x[0],X=x[1],$=(0,i.useState)(!1),b=(0,te.Z)($,2),z=b[0],H=b[1],Q=(0,i.useState)(g||(Z?h==null?void 0:h.minWidth:800)),D=(0,te.Z)(Q,2),f=D[0],S=D[1],P=(0,Fe.Z)(!!R,{value:m||R,onChange:y||d}),T=(0,te.Z)(P,2),K=T[0],M=T[1],A=(0,i.useRef)(null),N=(0,i.useCallback)(function(le){A.current===null&&le&&V([]),A.current=le},[]),k=(0,i.useRef)(),ee=(0,i.useCallback)(function(){var le,U,Y,ae=(le=(U=(Y=p.formRef)===null||Y===void 0?void 0:Y.current)!==null&&U!==void 0?U:p.form)!==null&&le!==void 0?le:k.current;ae&&o!==null&&o!==void 0&&o.destroyOnClose&&ae.resetFields()},[o==null?void 0:o.destroyOnClose,p.form,p.formRef]);(0,i.useEffect)(function(){K&&(m||R)&&(y==null||y(!0),d==null||d(!0)),z&&S(h==null?void 0:h.minWidth)},[R,K,z]),(0,i.useImperativeHandle)(p.formRef,function(){return k.current},[k.current]);var ne=(0,i.useMemo)(function(){return l?i.cloneElement(l,(0,a.Z)((0,a.Z)({key:"trigger"},l.props),{},{onClick:function(){var le=(0,se.Z)((0,q.Z)().mark(function Y(ae){var ie,pe;return(0,q.Z)().wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:M(!K),H(!Object.keys(h)),(ie=l.props)===null||ie===void 0||(pe=ie.onClick)===null||pe===void 0||pe.call(ie,ae);case 3:case"end":return Ne.stop()}},Y)}));function U(Y){return le.apply(this,arguments)}return U}()})):null},[M,l,K,H,z]),de=(0,i.useMemo)(function(){var le,U,Y,ae;return p.submitter===!1?!1:er()({searchConfig:{submitText:(le=(U=C.locale)===null||U===void 0||(U=U.Modal)===null||U===void 0?void 0:U.okText)!==null&&le!==void 0?le:"\u786E\u8BA4",resetText:(Y=(ae=C.locale)===null||ae===void 0||(ae=ae.Modal)===null||ae===void 0?void 0:ae.cancelText)!==null&&Y!==void 0?Y:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:v?O:void 0,onClick:function(pe){var ce;M(!1),o==null||(ce=o.onClose)===null||ce===void 0||ce.call(o,pe)}}},p.submitter)},[p.submitter,(e=C.locale)===null||e===void 0||(e=e.Modal)===null||e===void 0?void 0:e.okText,(t=C.locale)===null||t===void 0||(t=t.Modal)===null||t===void 0?void 0:t.cancelText,v,O,M,o]),Ce=(0,i.useCallback)(function(le,U){return(0,s.jsxs)(s.Fragment,{children:[le,A.current&&U?(0,s.jsx)(i.Fragment,{children:(0,rr.createPortal)(U,A.current)},"submitter"):U]})},[]),oe=(0,be.J)(function(){var le=(0,se.Z)((0,q.Z)().mark(function U(Y){var ae,ie,pe;return(0,q.Z)().wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return ae=u==null?void 0:u(Y),v&&ae instanceof Promise&&(X(!0),ie=setTimeout(function(){return X(!1)},v),ae.finally(function(){clearTimeout(ie),X(!1)})),Ne.next=4,ae;case 4:return pe=Ne.sent,pe&&M(!1),Ne.abrupt("return",pe);case 7:case"end":return Ne.stop()}},U)}));return function(U){return le.apply(this,arguments)}}()),ve=(0,nr.X)(K,d),Re=(0,i.useCallback)(function(le){var U,Y,ae=(document.body.offsetWidth||1e3)-(le.clientX-document.body.offsetLeft),ie=(U=h==null?void 0:h.minWidth)!==null&&U!==void 0?U:g||800,pe=(Y=h==null?void 0:h.maxWidth)!==null&&Y!==void 0?Y:window.innerWidth*.8;if(aepe){S(pe);return}S(ae)},[h==null?void 0:h.maxWidth,h==null?void 0:h.minWidth,g]),Ee=(0,i.useCallback)(function(){document.removeEventListener("mousemove",Re),document.removeEventListener("mouseup",Ee)},[Re]);return B((0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(Ta.Z,(0,a.Z)((0,a.Z)((0,a.Z)({title:c,width:f},o),ve),{},{afterOpenChange:function(U){var Y;U||ee(),o==null||(Y=o.afterOpenChange)===null||Y===void 0||Y.call(o,U)},onClose:function(U){var Y;v&&O||(M(!1),o==null||(Y=o.onClose)===null||Y===void 0||Y.call(o,U))},footer:p.submitter!==!1&&(0,s.jsx)("div",{ref:N,style:{display:"flex",justifyContent:"flex-end"}}),children:[Z?(0,s.jsx)("div",{className:ye()(G("sidebar-dragger"),J,(0,E.Z)((0,E.Z)({},G("sidebar-dragger-min-disabled"),f===(h==null?void 0:h.minWidth)),G("sidebar-dragger-max-disabled"),f===(h==null?void 0:h.maxWidth))),onMouseDown:function(U){var Y;h==null||(Y=h.onResize)===null||Y===void 0||Y.call(h),U.stopPropagation(),U.preventDefault(),document.addEventListener("mousemove",Re),document.addEventListener("mouseup",Ee),H(!0)}}):null,(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(zn.I,(0,a.Z)((0,a.Z)({formComponentType:"DrawerForm",layout:"vertical"},p),{},{formRef:k,onInit:function(U,Y){var ae;p.formRef&&(p.formRef.current=Y),p==null||(ae=p.onInit)===null||ae===void 0||ae.call(p,U,Y),k.current=Y},submitter:de,onFinish:function(){var le=(0,se.Z)((0,q.Z)().mark(function U(Y){var ae;return(0,q.Z)().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return pe.next=2,oe(Y);case 2:return ae=pe.sent,pe.abrupt("return",ae);case 4:case"end":return pe.stop()}},U)}));return function(U){return le.apply(this,arguments)}}(),contentRender:Ce,children:r}))})]})),ne]}))}var ja={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},Na=ja,Qr=F(46976),Oa=function(e,t){return i.createElement(Qr.Z,(0,xe.Z)({},e,{ref:t,icon:Na}))},La=i.forwardRef(Oa),Ka=La,Da=F(98912),Ba=F(1336),Aa=function(e){return(0,E.Z)({},e.componentCls,{lineHeight:"30px","&::before":{display:"block",height:0,visibility:"hidden",content:"'.'"},"&-small":{lineHeight:e.lineHeight},"&-container":{display:"flex",flexWrap:"wrap",gap:e.marginXS},"&-item":(0,E.Z)({whiteSpace:"nowrap"},"".concat(e.antCls,"-form-item"),{marginBlock:0}),"&-line":{minWidth:"198px"},"&-line:not(:first-child)":{marginBlockStart:"16px",marginBlockEnd:8},"&-collapse-icon":{width:e.controlHeight,height:e.controlHeight,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center"},"&-effective":(0,E.Z)({},"".concat(e.componentCls,"-collapse-icon"),{backgroundColor:e.colorBgTextHover})})};function za(n){return(0,je.Xj)("LightFilter",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Aa(t)]})}var $a=["size","collapse","collapseLabel","initialValues","onValuesChange","form","placement","formRef","bordered","ignoreRules","footerRender"],ka=function(e){var t=e.items,r=e.prefixCls,l=e.size,d=l===void 0?"middle":l,o=e.collapse,u=e.collapseLabel,v=e.onValuesChange,c=e.bordered,g=e.values,Z=e.footerRender,y=e.placement,R=(0,Pe.YB)(),m="".concat(r,"-light-filter"),p=za(m),h=p.wrapSSR,C=p.hashId,w=(0,i.useState)(!1),j=(0,te.Z)(w,2),B=j[0],J=j[1],G=(0,i.useState)(function(){return(0,a.Z)({},g)}),I=(0,te.Z)(G,2),W=I[0],V=I[1];(0,i.useEffect)(function(){V((0,a.Z)({},g))},[g]);var L=(0,i.useMemo)(function(){var $=[],b=[];return t.forEach(function(z){var H=z.props||{},Q=H.secondary;Q||o?$.push(z):b.push(z)}),{collapseItems:$,outsideItems:b}},[e.items]),x=L.collapseItems,O=L.outsideItems,X=function(){return u||(o?(0,s.jsx)(Ka,{className:"".concat(m,"-collapse-icon ").concat(C).trim()}):(0,s.jsx)(Da.Q,{size:d,label:R.getMessage("form.lightFilter.more","\u66F4\u591A\u7B5B\u9009")}))};return h((0,s.jsx)("div",{className:ye()(m,C,"".concat(m,"-").concat(d),(0,E.Z)({},"".concat(m,"-effective"),Object.keys(g).some(function($){return Array.isArray(g[$])?g[$].length>0:g[$]}))),children:(0,s.jsxs)("div",{className:"".concat(m,"-container ").concat(C).trim(),children:[O.map(function($,b){var z=$.key,H=$.props.fieldProps,Q=H!=null&&H.placement?H==null?void 0:H.placement:y;return(0,s.jsx)("div",{className:"".concat(m,"-item ").concat(C).trim(),children:i.cloneElement($,{fieldProps:(0,a.Z)((0,a.Z)({},$.props.fieldProps),{},{placement:Q}),proFieldProps:(0,a.Z)((0,a.Z)({},$.props.proFieldProps),{},{light:!0,label:$.props.label,bordered:c}),bordered:c})},z||b)}),x.length?(0,s.jsx)("div",{className:"".concat(m,"-item ").concat(C).trim(),children:(0,s.jsx)(Ba.M,{padding:24,open:B,onOpenChange:function(b){J(b)},placement:y,label:X(),footerRender:Z,footer:{onConfirm:function(){v((0,a.Z)({},W)),J(!1)},onClear:function(){var b={};x.forEach(function(z){var H=z.props.name;b[H]=void 0}),v(b)}},children:x.map(function($){var b=$.key,z=$.props,H=z.name,Q=z.fieldProps,D=(0,a.Z)((0,a.Z)({},Q),{},{onChange:function(P){return V((0,a.Z)((0,a.Z)({},W),{},(0,E.Z)({},H,P!=null&&P.target?P.target.value:P))),!1}});W.hasOwnProperty(H)&&(D[$.props.valuePropName||"value"]=W[H]);var f=Q!=null&&Q.placement?Q==null?void 0:Q.placement:y;return(0,s.jsx)("div",{className:"".concat(m,"-line ").concat(C).trim(),children:i.cloneElement($,{fieldProps:(0,a.Z)((0,a.Z)({},D),{},{placement:f})})},b)})})},"more"):null]})}))};function Va(n){var e=n.size,t=n.collapse,r=n.collapseLabel,l=n.initialValues,d=n.onValuesChange,o=n.form,u=n.placement,v=n.formRef,c=n.bordered,g=n.ignoreRules,Z=n.footerRender,y=(0,fe.Z)(n,$a),R=(0,i.useContext)(ze.ZP.ConfigContext),m=R.getPrefixCls,p=m("pro-form"),h=(0,i.useState)(function(){return(0,a.Z)({},l)}),C=(0,te.Z)(h,2),w=C[0],j=C[1],B=(0,i.useRef)();return(0,i.useImperativeHandle)(v,function(){return B.current},[B.current]),(0,s.jsx)(zn.I,(0,a.Z)((0,a.Z)({size:e,initialValues:l,form:o,contentRender:function(G){return(0,s.jsx)(ka,{prefixCls:p,items:G==null?void 0:G.flatMap(function(I){return(I==null?void 0:I.type.displayName)==="ProForm-Group"?I.props.children:I}),size:e,bordered:c,collapse:t,collapseLabel:r,placement:u,values:w||{},footerRender:Z,onValuesChange:function(W){var V,L,x=(0,a.Z)((0,a.Z)({},w),W);j(x),(V=B.current)===null||V===void 0||V.setFieldsValue(x),(L=B.current)===null||L===void 0||L.submit(),d&&d(W,x)}})},formRef:B,formItemProps:{colon:!1,labelAlign:"left"},fieldProps:{style:{width:void 0}}},(0,an.Z)(y,["labelWidth"])),{},{onValuesChange:function(G,I){var W;j(I),d==null||d(G,I),(W=B.current)===null||W===void 0||W.submit()}}))}var Wa=F(17788),Ha=["children","trigger","onVisibleChange","onOpenChange","modalProps","onFinish","submitTimeout","title","width","visible","open"];function Ua(n){var e,t,r=n.children,l=n.trigger,d=n.onVisibleChange,o=n.onOpenChange,u=n.modalProps,v=n.onFinish,c=n.submitTimeout,g=n.title,Z=n.width,y=n.visible,R=n.open,m=(0,fe.Z)(n,Ha);(0,Ye.ET)(!m.footer||!(u!=null&&u.footer),"ModalForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var p=(0,i.useContext)(ze.ZP.ConfigContext),h=(0,i.useState)([]),C=(0,te.Z)(h,2),w=C[1],j=(0,i.useState)(!1),B=(0,te.Z)(j,2),J=B[0],G=B[1],I=(0,Fe.Z)(!!y,{value:R||y,onChange:o||d}),W=(0,te.Z)(I,2),V=W[0],L=W[1],x=(0,i.useRef)(null),O=(0,i.useCallback)(function(f){x.current===null&&f&&w([]),x.current=f},[]),X=(0,i.useRef)(),$=(0,i.useCallback)(function(){var f,S,P,T=(f=(S=m.form)!==null&&S!==void 0?S:(P=m.formRef)===null||P===void 0?void 0:P.current)!==null&&f!==void 0?f:X.current;T&&u!==null&&u!==void 0&&u.destroyOnClose&&T.resetFields()},[u==null?void 0:u.destroyOnClose,m.form,m.formRef]);(0,i.useImperativeHandle)(m.formRef,function(){return X.current},[X.current]);var b=(0,i.useMemo)(function(){return l?i.cloneElement(l,(0,a.Z)((0,a.Z)({key:"trigger"},l.props),{},{onClick:function(){var f=(0,se.Z)((0,q.Z)().mark(function P(T){var K,M;return(0,q.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:L(!V),(K=l.props)===null||K===void 0||(M=K.onClick)===null||M===void 0||M.call(K,T);case 2:case"end":return N.stop()}},P)}));function S(P){return f.apply(this,arguments)}return S}()})):null},[L,l,V]),z=(0,i.useMemo)(function(){var f,S,P,T,K,M;return m.submitter===!1?!1:er()({searchConfig:{submitText:(f=(S=u==null?void 0:u.okText)!==null&&S!==void 0?S:(P=p.locale)===null||P===void 0||(P=P.Modal)===null||P===void 0?void 0:P.okText)!==null&&f!==void 0?f:"\u786E\u8BA4",resetText:(T=(K=u==null?void 0:u.cancelText)!==null&&K!==void 0?K:(M=p.locale)===null||M===void 0||(M=M.Modal)===null||M===void 0?void 0:M.cancelText)!==null&&T!==void 0?T:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:c?J:void 0,onClick:function(N){var k;L(!1),u==null||(k=u.onCancel)===null||k===void 0||k.call(u,N)}}},m.submitter)},[(e=p.locale)===null||e===void 0||(e=e.Modal)===null||e===void 0?void 0:e.cancelText,(t=p.locale)===null||t===void 0||(t=t.Modal)===null||t===void 0?void 0:t.okText,u,m.submitter,L,J,c]),H=(0,i.useCallback)(function(f,S){return(0,s.jsxs)(s.Fragment,{children:[f,x.current&&S?(0,s.jsx)(i.Fragment,{children:(0,rr.createPortal)(S,x.current)},"submitter"):S]})},[]),Q=(0,i.useCallback)(function(){var f=(0,se.Z)((0,q.Z)().mark(function S(P){var T,K,M;return(0,q.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return T=v==null?void 0:v(P),c&&T instanceof Promise&&(G(!0),K=setTimeout(function(){return G(!1)},c),T.finally(function(){clearTimeout(K),G(!1)})),N.next=4,T;case 4:return M=N.sent,M&&L(!1),N.abrupt("return",M);case 7:case"end":return N.stop()}},S)}));return function(S){return f.apply(this,arguments)}}(),[v,L,c]),D=(0,nr.X)(V);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Wa.Z,(0,a.Z)((0,a.Z)((0,a.Z)({title:g,width:Z||800},u),D),{},{onCancel:function(S){var P;c&&J||(L(!1),u==null||(P=u.onCancel)===null||P===void 0||P.call(u,S))},afterClose:function(){var S;$(),V&&L(!1),u==null||(S=u.afterClose)===null||S===void 0||S.call(u)},footer:m.submitter!==!1?(0,s.jsx)("div",{ref:O,style:{display:"flex",justifyContent:"flex-end"}}):null,children:(0,s.jsx)(zn.I,(0,a.Z)((0,a.Z)({formComponentType:"ModalForm",layout:"vertical"},m),{},{onInit:function(S,P){var T;m.formRef&&(m.formRef.current=P),m==null||(T=m.onInit)===null||T===void 0||T.call(m,S,P),X.current=P},formRef:X,submitter:z,onFinish:function(){var f=(0,se.Z)((0,q.Z)().mark(function S(P){var T;return(0,q.Z)().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Q(P);case 2:return T=M.sent,M.abrupt("return",T);case 4:case"end":return M.stop()}},S)}));return function(S){return f.apply(this,arguments)}}(),contentRender:H,children:r}))})),b]})}var tr=F(34994),Zn=F(15746),ar=F(71230),qr=F(9220),_r=F(66023),Ja=function(e,t){return i.createElement(Qr.Z,(0,xe.Z)({},e,{ref:t,icon:_r.Z}))},Ga=i.forwardRef(Ja),et=Ga,nt=function(e){if(e&&e!==!0)return e},Ya=function(e,t,r,l){return e?(0,s.jsxs)(s.Fragment,{children:[r.getMessage("tableForm.collapsed","\u5C55\u5F00"),l&&"(".concat(l,")"),(0,s.jsx)(et,{style:{marginInlineStart:"0.5em",transition:"0.3s all",transform:"rotate(".concat(e?0:.5,"turn)")}})]}):(0,s.jsxs)(s.Fragment,{children:[r.getMessage("tableForm.expand","\u6536\u8D77"),(0,s.jsx)(et,{style:{marginInlineStart:"0.5em",transition:"0.3s all",transform:"rotate(".concat(e?0:.5,"turn)")}})]})},Xa=function(e){var t=e.setCollapsed,r=e.collapsed,l=r===void 0?!1:r,d=e.submitter,o=e.style,u=e.hiddenNum,v=(0,i.useContext)(ze.ZP.ConfigContext),c=v.getPrefixCls,g=(0,Pe.YB)(),Z=(0,i.useContext)(Pe.L_),y=Z.hashId,R=nt(e.collapseRender)||Ya;return(0,s.jsxs)(Fn.Z,{style:o,size:16,children:[d,e.collapseRender!==!1&&(0,s.jsx)("a",{className:"".concat(c("pro-query-filter-collapse-button")," ").concat(y).trim(),onClick:function(){return t(!l)},children:R==null?void 0:R(l,e,g,u)})]})},Qa=Xa,qa=function(e){return(0,E.Z)({},e.componentCls,(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)({"&&":{padding:24}},"".concat(e.antCls,"-form-item"),{marginBlock:0}),"".concat(e.proComponentsCls,"-form-group-title"),{marginBlock:0}),"&-row",{rowGap:24,"&-split":(0,E.Z)((0,E.Z)({},"".concat(e.proComponentsCls,"-form-group"),{display:"flex",alignItems:"center",gap:e.marginXS}),"&:last-child",{marginBlockEnd:12}),"&-split-line":{"&:after":{position:"absolute",width:"100%",content:'""',height:1,insetBlockEnd:-12,borderBlockEnd:"1px dashed ".concat(e.colorSplit)}}}),"&-collapse-button",{display:"flex",alignItems:"center",color:e.colorPrimary}))};function _a(n){return(0,je.Xj)("QueryFilter",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[qa(t)]})}var el=["collapsed","layout","defaultCollapsed","defaultColsNumber","span","searchGutter","searchText","resetText","optionRender","collapseRender","onReset","onCollapse","labelWidth","style","split","preserve","ignoreRules","showHiddenNum","submitterColSpanProps"],In,nl={xs:513,sm:513,md:785,lg:992,xl:1057,xxl:1/0},rt={vertical:[[513,1,"vertical"],[785,2,"vertical"],[1057,3,"vertical"],[1/0,4,"vertical"]],default:[[513,1,"vertical"],[701,2,"vertical"],[1062,3,"horizontal"],[1352,3,"horizontal"],[1/0,4,"horizontal"]]},rl=function(e,t,r){if(r&&typeof r=="number")return{span:r,layout:e};var l=r?["xs","sm","md","lg","xl","xxl"].map(function(o){return[nl[o],24/r[o],"horizontal"]}):rt[e||"default"],d=(l||rt.default).find(function(o){return tB-1)&&!!S&&W>=24;V+=1;var ne=i.isValidElement(f)&&(f.key||"".concat((M=f.props)===null||M===void 0?void 0:M.name))||S;return i.isValidElement(f)&&ee?e.preserve?{itemDom:i.cloneElement(f,{hidden:!0,key:ne||S}),hidden:!0,colSpan:N}:{itemDom:null,colSpan:0,hidden:!0}:{itemDom:f,colSpan:N,hidden:!1}}),$=X.map(function(f,S){var P,T,K=f.itemDom,M=f.colSpan,A=K==null||(P=K.props)===null||P===void 0?void 0:P.hidden;if(A)return K;var N=i.isValidElement(K)&&(K.key||"".concat((T=K.props)===null||T===void 0?void 0:T.name))||S;return 24-O%2424){var T,K;return 24-((T=(K=e.submitterColSpanProps)===null||K===void 0?void 0:K.span)!==null&&T!==void 0?T:j.span)}return 24-P},[O,O%24+((t=(r=e.submitterColSpanProps)===null||r===void 0?void 0:r.span)!==null&&t!==void 0?t:j.span),(l=e.submitterColSpanProps)===null||l===void 0?void 0:l.span]),Q=(0,i.useContext)(ze.ZP.ConfigContext),D=Q.getPrefixCls("pro-query-filter");return(0,s.jsxs)(ar.Z,{gutter:J,justify:"start",className:ye()("".concat(D,"-row"),v),children:[$,I&&(0,s.jsx)(Zn.Z,(0,a.Z)((0,a.Z)({span:j.span,offset:H,className:ye()((d=e.submitterColSpanProps)===null||d===void 0?void 0:d.className)},e.submitterColSpanProps),{},{style:{textAlign:"end"},children:(0,s.jsx)(Xe.Z.Item,{label:" ",colon:!1,shouldUpdate:!1,className:"".concat(D,"-actions ").concat(v).trim(),children:(0,s.jsx)(Qa,{hiddenNum:b,collapsed:R,collapseRender:z?h:!1,submitter:I,setCollapsed:m},"pro-form-query-filter-actions")})}),"submitter")]},"resize-observer-row")},ll=(0,Rr.j)()?(In=document)===null||In===void 0||(In=In.body)===null||In===void 0?void 0:In.clientWidth:1024;function ol(n){var e=n.collapsed,t=n.layout,r=n.defaultCollapsed,l=r===void 0?!0:r,d=n.defaultColsNumber,o=n.span,u=n.searchGutter,v=u===void 0?24:u,c=n.searchText,g=n.resetText,Z=n.optionRender,y=n.collapseRender,R=n.onReset,m=n.onCollapse,p=n.labelWidth,h=p===void 0?"80":p,C=n.style,w=n.split,j=n.preserve,B=j===void 0?!0:j,J=n.ignoreRules,G=n.showHiddenNum,I=G===void 0?!1:G,W=n.submitterColSpanProps,V=(0,fe.Z)(n,el),L=(0,i.useContext)(ze.ZP.ConfigContext),x=L.getPrefixCls("pro-query-filter"),O=_a(x),X=O.wrapSSR,$=O.hashId,b=(0,Fe.Z)(function(){return typeof(C==null?void 0:C.width)=="number"?C==null?void 0:C.width:ll}),z=(0,te.Z)(b,2),H=z[0],Q=z[1],D=(0,i.useMemo)(function(){return rl(t,H+16,o)},[t,H,o]),f=(0,i.useMemo)(function(){return d!==void 0?d-1:Math.max(1,24/D.span-1)},[d,D.span]),S=(0,i.useMemo)(function(){if(h&&D.layout!=="vertical"&&h!=="auto")return{labelCol:{flex:"0 0 ".concat(h,"px")},wrapperCol:{style:{maxWidth:"calc(100% - ".concat(h,"px)")}},style:{flexWrap:"nowrap"}}},[D.layout,h]);return X((0,s.jsx)(qr.Z,{onResize:function(T){H!==T.width&&T.width>17&&Q(T.width)},children:(0,s.jsx)(zn.I,(0,a.Z)((0,a.Z)({isKeyPressSubmit:!0,preserve:B},V),{},{className:ye()(x,$,V.className),onReset:R,style:C,layout:D.layout,fieldProps:{style:{width:"100%"}},formItemProps:S,groupProps:{titleStyle:{display:"inline-block",marginInlineEnd:16}},contentRender:function(T,K,M){return(0,s.jsx)(al,{spanSize:D,collapsed:e,form:M,submitterColSpanProps:W,collapseRender:y,defaultCollapsed:l,onCollapse:m,optionRender:Z,submitter:K,items:T,split:w,baseClassName:x,resetText:n.resetText,searchText:n.searchText,searchGutter:v,preserve:B,ignoreRules:J,showLength:f,showHiddenNum:I})}}))},"resize-observer"))}var lr=F(1977),wr=F(67159),tt=F(42119),at=F(50344),il=["onFinish","step","formRef","title","stepProps"];function ul(n){var e=(0,i.useRef)(),t=(0,i.useContext)(lt),r=(0,i.useContext)(ot),l=(0,a.Z)((0,a.Z)({},n),r),d=l.onFinish,o=l.step,u=l.formRef,v=l.title,c=l.stepProps,g=(0,fe.Z)(l,il);return(0,Ye.ET)(!g.submitter,"StepForm \u4E0D\u5305\u542B\u63D0\u4EA4\u6309\u94AE\uFF0C\u8BF7\u5728 StepsForm \u4E0A"),(0,i.useImperativeHandle)(u,function(){return e.current},[u==null?void 0:u.current]),(0,i.useEffect)(function(){if(!!(l.name||l.step)){var Z=(l.name||l.step).toString();return t==null||t.regForm(Z,l),function(){t==null||t.unRegForm(Z)}}},[]),t&&t!==null&&t!==void 0&&t.formArrayRef&&(t.formArrayRef.current[o||0]=e),(0,s.jsx)(zn.I,(0,a.Z)({formRef:e,onFinish:function(){var Z=(0,se.Z)((0,q.Z)().mark(function y(R){var m;return(0,q.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(g.name&&(t==null||t.onFormFinish(g.name,R)),!d){h.next=9;break}return t==null||t.setLoading(!0),h.next=5,d==null?void 0:d(R);case 5:return m=h.sent,m&&(t==null||t.next()),t==null||t.setLoading(!1),h.abrupt("return");case 9:t!=null&&t.lastStep||t==null||t.next();case 10:case"end":return h.stop()}},y)}));return function(y){return Z.apply(this,arguments)}}(),onInit:function(y,R){var m;e.current=R,t&&t!==null&&t!==void 0&&t.formArrayRef&&(t.formArrayRef.current[o||0]=e),g==null||(m=g.onInit)===null||m===void 0||m.call(g,y,R)},layout:"vertical"},(0,an.Z)(g,["layoutType","columns"])))}var sl=ul,dl=function(e){return(0,E.Z)({},e.componentCls,{"&-container":{width:"max-content",minWidth:"420px",maxWidth:"100%",margin:"auto"},"&-steps-container":(0,E.Z)({maxWidth:"1160px",margin:"auto"},"".concat(e.antCls,"-steps-vertical"),{height:"100%"}),"&-step":{display:"none",marginBlockStart:"32px","&-active":{display:"block"},"> form":{maxWidth:"100%"}}})};function cl(n){return(0,je.Xj)("StepsForm",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[dl(t)]})}var vl=["current","onCurrentChange","submitter","stepsFormRender","stepsRender","stepFormRender","stepsProps","onFinish","formProps","containerStyle","formRef","formMapRef","layoutRender"],lt=i.createContext(void 0),fl={horizontal:function(e){var t=e.stepsDom,r=e.formDom;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ar.Z,{gutter:{xs:8,sm:16,md:24},children:(0,s.jsx)(Zn.Z,{span:24,children:t})}),(0,s.jsx)(ar.Z,{gutter:{xs:8,sm:16,md:24},children:(0,s.jsx)(Zn.Z,{span:24,children:r})})]})},vertical:function(e){var t=e.stepsDom,r=e.formDom;return(0,s.jsxs)(ar.Z,{align:"stretch",wrap:!0,gutter:{xs:8,sm:16,md:24},children:[(0,s.jsx)(Zn.Z,{xxl:4,xl:6,lg:7,md:8,sm:10,xs:12,children:i.cloneElement(t,{style:{height:"100%"}})}),(0,s.jsx)(Zn.Z,{children:(0,s.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",height:"100%"},children:r})})]})}},ot=i.createContext(null);function ml(n){var e=(0,i.useContext)(ze.ZP.ConfigContext),t=e.getPrefixCls,r=t("pro-steps-form"),l=cl(r),d=l.wrapSSR,o=l.hashId,u=n.current,v=n.onCurrentChange,c=n.submitter,g=n.stepsFormRender,Z=n.stepsRender,y=n.stepFormRender,R=n.stepsProps,m=n.onFinish,p=n.formProps,h=n.containerStyle,C=n.formRef,w=n.formMapRef,j=n.layoutRender,B=(0,fe.Z)(n,vl),J=(0,i.useRef)(new Map),G=(0,i.useRef)(new Map),I=(0,i.useRef)([]),W=(0,i.useState)([]),V=(0,te.Z)(W,2),L=V[0],x=V[1],O=(0,i.useState)(!1),X=(0,te.Z)(O,2),$=X[0],b=X[1],z=(0,Pe.YB)(),H=(0,Fe.Z)(0,{value:n.current,onChange:n.onCurrentChange}),Q=(0,te.Z)(H,2),D=Q[0],f=Q[1],S=(0,i.useMemo)(function(){return fl[(R==null?void 0:R.direction)||"horizontal"]},[R==null?void 0:R.direction]),P=(0,i.useMemo)(function(){return D===L.length-1},[L.length,D]),T=(0,i.useCallback)(function(U,Y){G.current.has(U)||x(function(ae){return[].concat((0,He.Z)(ae),[U])}),G.current.set(U,Y)},[]),K=(0,i.useCallback)(function(U){x(function(Y){return Y.filter(function(ae){return ae!==U})}),G.current.delete(U),J.current.delete(U)},[]);(0,i.useImperativeHandle)(w,function(){return I.current},[I.current]),(0,i.useImperativeHandle)(C,function(){var U;return(U=I.current[D||0])===null||U===void 0?void 0:U.current},[D,I.current]);var M=(0,i.useCallback)(function(){var U=(0,se.Z)((0,q.Z)().mark(function Y(ae,ie){var pe,ce;return(0,q.Z)().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(J.current.set(ae,ie),!(!P||!m)){Me.next=3;break}return Me.abrupt("return");case 3:return b(!0),pe=Vr.T.apply(void 0,[{}].concat((0,He.Z)(Array.from(J.current.values())))),Me.prev=5,Me.next=8,m(pe);case 8:ce=Me.sent,ce&&(f(0),I.current.forEach(function(Sn){var ln;return(ln=Sn.current)===null||ln===void 0?void 0:ln.resetFields()})),Me.next=15;break;case 12:Me.prev=12,Me.t0=Me.catch(5),console.log(Me.t0);case 15:return Me.prev=15,b(!1),Me.finish(15);case 18:case"end":return Me.stop()}},Y,null,[[5,12,15,18]])}));return function(Y,ae){return U.apply(this,arguments)}}(),[P,m,b,f]),A=(0,i.useMemo)(function(){var U=(0,lr.n)(wr.Z,"4.24.0")>-1,Y=U?{items:L.map(function(ae){var ie=G.current.get(ae);return(0,a.Z)({key:ae,title:ie==null?void 0:ie.title},ie==null?void 0:ie.stepProps)})}:{};return(0,s.jsx)("div",{className:"".concat(r,"-steps-container ").concat(o).trim(),style:{maxWidth:Math.min(L.length*320,1160)},children:(0,s.jsx)(tt.Z,(0,a.Z)((0,a.Z)((0,a.Z)({},R),Y),{},{current:D,onChange:void 0,children:!U&&L.map(function(ae){var ie=G.current.get(ae);return(0,s.jsx)(tt.Z.Step,(0,a.Z)({title:ie==null?void 0:ie.title},ie==null?void 0:ie.stepProps),ae)})}))})},[L,o,r,D,R]),N=(0,be.J)(function(){var U,Y=I.current[D];(U=Y.current)===null||U===void 0||U.submit()}),k=(0,be.J)(function(){D<1||f(D-1)}),ee=(0,i.useMemo)(function(){return c!==!1&&(0,s.jsx)(qn.ZP,(0,a.Z)((0,a.Z)({type:"primary",loading:$},c==null?void 0:c.submitButtonProps),{},{onClick:function(){var Y;c==null||(Y=c.onSubmit)===null||Y===void 0||Y.call(c),N()},children:z.getMessage("stepsForm.next","\u4E0B\u4E00\u6B65")}),"next")},[z,$,N,c]),ne=(0,i.useMemo)(function(){return c!==!1&&(0,s.jsx)(qn.ZP,(0,a.Z)((0,a.Z)({},c==null?void 0:c.resetButtonProps),{},{onClick:function(){var Y;k(),c==null||(Y=c.onReset)===null||Y===void 0||Y.call(c)},children:z.getMessage("stepsForm.prev","\u4E0A\u4E00\u6B65")}),"pre")},[z,k,c]),de=(0,i.useMemo)(function(){return c!==!1&&(0,s.jsx)(qn.ZP,(0,a.Z)((0,a.Z)({type:"primary",loading:$},c==null?void 0:c.submitButtonProps),{},{onClick:function(){var Y;c==null||(Y=c.onSubmit)===null||Y===void 0||Y.call(c),N()},children:z.getMessage("stepsForm.submit","\u63D0\u4EA4")}),"submit")},[z,$,N,c]),Ce=(0,be.J)(function(){D>L.length-2||f(D+1)}),oe=(0,i.useMemo)(function(){var U=[],Y=D||0;if(Y<1?L.length===1?U.push(de):U.push(ee):Y+1===L.length?U.push(ne,de):U.push(ne,ee),U=U.filter(i.isValidElement),c&&c.render){var ae,ie={form:(ae=I.current[D])===null||ae===void 0?void 0:ae.current,onSubmit:N,step:D,onPre:k};return c.render(ie,U)}return c&&(c==null?void 0:c.render)===!1?null:U},[L.length,ee,N,ne,k,D,de,c]),ve=(0,i.useMemo)(function(){return(0,at.Z)(n.children).map(function(U,Y){var ae=U.props,ie=ae.name||"".concat(Y),pe=D===Y,ce=pe?{contentRender:y,submitter:!1}:{};return(0,s.jsx)("div",{className:ye()("".concat(r,"-step"),o,(0,E.Z)({},"".concat(r,"-step-active"),pe)),children:(0,s.jsx)(ot.Provider,{value:(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},ce),p),ae),{},{name:ie,step:Y}),children:U})},ie)})},[p,o,r,n.children,D,y]),Re=(0,i.useMemo)(function(){return Z?Z(L.map(function(U){var Y;return{key:U,title:(Y=G.current.get(U))===null||Y===void 0?void 0:Y.title}}),A):A},[L,A,Z]),Ee=(0,i.useMemo)(function(){return(0,s.jsxs)("div",{className:"".concat(r,"-container ").concat(o).trim(),style:h,children:[ve,g?null:(0,s.jsx)(Fn.Z,{children:oe})]})},[h,ve,o,r,g,oe]),le=(0,i.useMemo)(function(){var U={stepsDom:Re,formDom:Ee};return g?g(j?j(U):S(U),oe):j?j(U):S(U)},[Re,Ee,S,g,oe,j]);return d((0,s.jsx)("div",{className:ye()(r,o),children:(0,s.jsx)(Xe.Z.Provider,(0,a.Z)((0,a.Z)({},B),{},{children:(0,s.jsx)(lt.Provider,{value:{loading:$,setLoading:b,regForm:T,keyArray:L,next:Ce,formArrayRef:I,formMapRef:G,lastStep:P,unRegForm:K,onFormFinish:M},children:le})}))}))}function or(n){return(0,s.jsx)(Pe._Y,{needDeps:!0,children:(0,s.jsx)(ml,(0,a.Z)({},n))})}or.StepForm=sl,or.useForm=Xe.Z.useForm;var gl=["steps","columns","forceUpdate","grid"],hl=function(e){var t=e.steps,r=e.columns,l=e.forceUpdate,d=e.grid,o=(0,fe.Z)(e,gl),u=(0,Yr.d)(o),v=(0,i.useCallback)(function(g){var Z,y;(Z=(y=u.current).onCurrentChange)===null||Z===void 0||Z.call(y,g),l([])},[l,u]),c=(0,i.useMemo)(function(){return t==null?void 0:t.map(function(g,Z){return(0,i.createElement)(st,(0,a.Z)((0,a.Z)({grid:d},g),{},{key:Z,layoutType:"StepForm",columns:r[Z]}))})},[r,d,t]);return(0,s.jsx)(or,(0,a.Z)((0,a.Z)({},o),{},{onCurrentChange:v,children:c}))},pl=hl,yl=function(e){var t=e.children;return(0,s.jsx)(s.Fragment,{children:t})},Cl=yl,Zl=function(e,t){if(e.valueType==="dependency"){var r,l,d,o=(r=e.getFieldProps)===null||r===void 0?void 0:r.call(e);return(0,Ye.ET)(Array.isArray((l=e.name)!==null&&l!==void 0?l:o==null?void 0:o.name),'SchemaForm: fieldProps.name should be NamePath[] when valueType is "dependency"'),(0,Ye.ET)(typeof e.columns=="function",'SchemaForm: columns should be a function when valueType is "dependency"'),Array.isArray((d=e.name)!==null&&d!==void 0?d:o==null?void 0:o.name)?(0,i.createElement)(Zr.Z,(0,a.Z)((0,a.Z)({name:e.name},o),{},{key:e.key}),function(u){return!e.columns||typeof e.columns!="function"?null:t.genItems(e.columns(u))}):null}return!0},bl=F(96074),Sl=function(e){if(e.valueType==="divider"){var t;return(0,i.createElement)(bl.Z,(0,a.Z)((0,a.Z)({},(t=e.getFieldProps)===null||t===void 0?void 0:t.call(e)),{},{key:e.key}))}return!0},ir=F(3607),xl=function(e,t){var r=t.action,l=t.formRef,d=t.type,o=t.originItem,u=(0,a.Z)((0,a.Z)({},(0,an.Z)(e,["dataIndex","width","render","renderFormItem","renderText","title"])),{},{name:e.name||e.key||e.dataIndex,width:e.width,render:e!=null&&e.render?function(Z,y,R){var m,p,h,C;return e==null||(m=e.render)===null||m===void 0?void 0:m.call(e,Z,y,R,r==null?void 0:r.current,(0,a.Z)((0,a.Z)({type:d},e),{},{key:(p=e.key)===null||p===void 0?void 0:p.toString(),formItemProps:(h=e.getFormItemProps)===null||h===void 0?void 0:h.call(e),fieldProps:(C=e.getFieldProps)===null||C===void 0?void 0:C.call(e)}))}:void 0}),v=function(){return(0,s.jsx)(ir.Z,(0,a.Z)((0,a.Z)({},u),{},{ignoreFormItem:!0}))},c=e!=null&&e.renderFormItem?function(Z,y){var R,m,p,h,C=(0,Qe.Y)((0,a.Z)((0,a.Z)({},y),{},{onChange:void 0}));return e==null||(R=e.renderFormItem)===null||R===void 0?void 0:R.call(e,(0,a.Z)((0,a.Z)({type:d},e),{},{key:(m=e.key)===null||m===void 0?void 0:m.toString(),formItemProps:(p=e.getFormItemProps)===null||p===void 0?void 0:p.call(e),fieldProps:(h=e.getFieldProps)===null||h===void 0?void 0:h.call(e),originProps:o}),(0,a.Z)((0,a.Z)({},C),{},{defaultRender:v,type:d}),l.current)}:void 0,g=function(){if(e!=null&&e.renderFormItem){var y=c==null?void 0:c(null,{});if(!y||e.ignoreFormItem)return y}return(0,i.createElement)(ir.Z,(0,a.Z)((0,a.Z)({},u),{},{key:[e.key,e.index||0].join("-"),renderFormItem:c}))};return e.dependencies?(0,s.jsx)(Zr.Z,{name:e.dependencies||[],children:g},e.key):g()},Rl=F(55895),wl=function(e,t){var r=t.genItems;if(e.valueType==="formList"&&e.dataIndex){var l,d;return!e.columns||!Array.isArray(e.columns)?null:(0,i.createElement)(Rl.u,(0,a.Z)((0,a.Z)({},(l=e.getFormItemProps)===null||l===void 0?void 0:l.call(e)),{},{key:e.key,name:e.dataIndex,label:e.label,initialValue:e.initialValue,colProps:e.colProps,rowProps:e.rowProps},(d=e.getFieldProps)===null||d===void 0?void 0:d.call(e)),r(e.columns))}return!0},it=F(55102),Pl=F(28614),Tl=["children","value","valuePropName","onChange","fieldProps","space","type","transform","convertValue","lightProps"],Fl=["children","space","valuePropName"],Il={space:Fn.Z,group:it.Z.Group};function El(n){var e=arguments.length<=1?void 0:arguments[1];return e&&e.target&&n in e.target?e.target[n]:e}var Ml=function(e){var t=e.children,r=e.value,l=r===void 0?[]:r,d=e.valuePropName,o=e.onChange,u=e.fieldProps,v=e.space,c=e.type,g=c===void 0?"space":c,Z=e.transform,y=e.convertValue,R=e.lightProps,m=(0,fe.Z)(e,Tl),p=(0,be.J)(function(I,W){var V,L=(0,He.Z)(l);L[W]=El(d||"value",I),o==null||o(L),u==null||(V=u.onChange)===null||V===void 0||V.call(u,L)}),h=-1,C=(0,at.Z)((0,We.h)(t,l,e)).map(function(I){if(i.isValidElement(I)){var W,V,L;h+=1;var x=h,O=(I==null||(W=I.type)===null||W===void 0?void 0:W.displayName)==="ProFormComponent"||(I==null||(V=I.props)===null||V===void 0?void 0:V.readonly),X=O?(0,a.Z)((0,a.Z)({key:x,ignoreFormItem:!0},I.props||{}),{},{fieldProps:(0,a.Z)((0,a.Z)({},I==null||(L=I.props)===null||L===void 0?void 0:L.fieldProps),{},{onChange:function(){p(arguments.length<=0?void 0:arguments[0],x)}}),value:l==null?void 0:l[x],onChange:void 0}):(0,a.Z)((0,a.Z)({key:x},I.props||{}),{},{value:l==null?void 0:l[x],onChange:function(b){var z,H;p(b,x),(z=(H=I.props).onChange)===null||z===void 0||z.call(H,b)}});return i.cloneElement(I,X)}return I}),w=Il[g],j=(0,Ar.zx)(m),B=j.RowWrapper,J=(0,i.useMemo)(function(){return(0,a.Z)({},g==="group"?{compact:!0}:{})},[g]),G=(0,i.useCallback)(function(I){var W=I.children;return(0,s.jsx)(w,(0,a.Z)((0,a.Z)((0,a.Z)({},J),v),{},{align:"start",wrap:!0,children:W}))},[w,v,J]);return(0,s.jsx)(B,{Wrapper:G,children:C})},jl=i.forwardRef(function(n,e){var t=n.children,r=n.space,l=n.valuePropName,d=(0,fe.Z)(n,Fl);return(0,i.useImperativeHandle)(e,function(){return{}}),(0,s.jsx)(Ml,(0,a.Z)((0,a.Z)((0,a.Z)({space:r,valuePropName:l},d.fieldProps),{},{onChange:void 0},d),{},{children:t}))}),Nl=(0,Pl.G)(jl),Ol=Nl,Ll=function(e,t){var r=t.genItems;if(e.valueType==="formSet"&&e.dataIndex){var l,d;return!e.columns||!Array.isArray(e.columns)?null:(0,i.createElement)(Ol,(0,a.Z)((0,a.Z)({},(l=e.getFormItemProps)===null||l===void 0?void 0:l.call(e)),{},{key:e.key,initialValue:e.initialValue,name:e.dataIndex,label:e.label,colProps:e.colProps,rowProps:e.rowProps},(d=e.getFieldProps)===null||d===void 0?void 0:d.call(e)),r(e.columns))}return!0},Kl=tr.A.Group,Dl=function(e,t){var r=t.genItems;if(e.valueType==="group"){var l;return!e.columns||!Array.isArray(e.columns)?null:(0,s.jsx)(Kl,(0,a.Z)((0,a.Z)({label:e.label,colProps:e.colProps,rowProps:e.rowProps},(l=e.getFieldProps)===null||l===void 0?void 0:l.call(e)),{},{children:r(e.columns)}),e.key)}return!0},Bl=function(e){return e.valueType&&typeof e.valueType=="string"&&["index","indexBorder","option"].includes(e==null?void 0:e.valueType)?null:!0},ut=[Bl,Dl,wl,Ll,Sl,Zl],Al=function(e,t){for(var r=0;r span":{"> span.anticon":{color:e.colorPrimary}},"> span + span":{marginInlineStart:4}}}))};function Ro(n){return(0,je.Xj)("ColumnSetting",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[xo(t)]})}var wo=["key","dataIndex","children"],Po=["disabled"],Pr=function(e){var t=e.title,r=e.show,l=e.children,d=e.columnKey,o=e.fixed,u=(0,i.useContext)(gn),v=u.columnsMap,c=u.setColumnsMap;return r?(0,s.jsx)(bn.Z,{title:t,children:(0,s.jsx)("span",{onClick:function(Z){Z.stopPropagation(),Z.preventDefault();var y=v[d]||{},R=(0,a.Z)((0,a.Z)({},v),{},(0,E.Z)({},d,(0,a.Z)((0,a.Z)({},y),{},{fixed:o})));c(R)},children:l})}):null},To=function(e){var t=e.columnKey,r=e.isLeaf,l=e.title,d=e.className,o=e.fixed,u=e.showListItemOption,v=(0,Pe.YB)(),c=(0,i.useContext)(Pe.L_),g=c.hashId,Z=(0,s.jsxs)("span",{className:"".concat(d,"-list-item-option ").concat(g).trim(),children:[(0,s.jsx)(Pr,{columnKey:t,fixed:"left",title:v.getMessage("tableToolBar.leftPin","\u56FA\u5B9A\u5728\u5217\u9996"),show:o!=="left",children:(0,s.jsx)(lo,{})}),(0,s.jsx)(Pr,{columnKey:t,fixed:void 0,title:v.getMessage("tableToolBar.noPin","\u4E0D\u56FA\u5B9A"),show:!!o,children:(0,s.jsx)(co,{})}),(0,s.jsx)(Pr,{columnKey:t,fixed:"right",title:v.getMessage("tableToolBar.rightPin","\u56FA\u5B9A\u5728\u5217\u5C3E"),show:o!=="right",children:(0,s.jsx)(ho,{})})]});return(0,s.jsxs)("span",{className:"".concat(d,"-list-item ").concat(g).trim(),children:[(0,s.jsx)("div",{className:"".concat(d,"-list-item-title ").concat(g).trim(),children:l}),u&&!r?Z:null]},t)},Tr=function(e){var t,r,l,d=e.list,o=e.draggable,u=e.checkable,v=e.showListItemOption,c=e.className,g=e.showTitle,Z=g===void 0?!0:g,y=e.title,R=e.listHeight,m=R===void 0?280:R,p=(0,i.useContext)(Pe.L_),h=p.hashId,C=(0,i.useContext)(gn),w=C.columnsMap,j=C.setColumnsMap,B=C.sortKeyColumns,J=C.setSortKeyColumns,G=d&&d.length>0,I=(0,i.useMemo)(function(){if(!G)return{};var x=[],O=new Map,X=function $(b,z){return b.map(function(H){var Q,D=H.key,f=H.dataIndex,S=H.children,P=(0,fe.Z)(H,wo),T=Tn(D,[z==null?void 0:z.columnKey,P.index].filter(Boolean).join("-")),K=w[T||"null"]||{show:!0};K.show!==!1&&!S&&x.push(T);var M=(0,a.Z)((0,a.Z)({key:T},(0,an.Z)(P,["className"])),{},{selectable:!1,disabled:K.disable===!0,disableCheckbox:typeof K.disable=="boolean"?K.disable:(Q=K.disable)===null||Q===void 0?void 0:Q.checkbox,isLeaf:z?!0:void 0});if(S){var A;M.children=$(S,(0,a.Z)((0,a.Z)({},K),{},{columnKey:T})),(A=M.children)!==null&&A!==void 0&&A.every(function(N){return x==null?void 0:x.includes(N.key)})&&x.push(T)}return O.set(D,M),M})};return{list:X(d),keys:x,map:O}},[w,d,G]),W=(0,be.J)(function(x,O,X){var $=(0,a.Z)({},w),b=(0,He.Z)(B),z=b.findIndex(function(f){return f===x}),H=b.findIndex(function(f){return f===O}),Q=X>=z;if(!(z<0)){var D=b[z];b.splice(z,1),X===0?b.unshift(D):b.splice(Q?H:H+1,0,D),b.forEach(function(f,S){$[f]=(0,a.Z)((0,a.Z)({},$[f]||{}),{},{order:S})}),j($),J(b)}}),V=(0,be.J)(function(x){var O=(0,a.Z)({},w),X=function $(b){var z,H=(0,a.Z)({},O[b]);if(H.show=x.checked,(z=I.map)!==null&&z!==void 0&&(z=z.get(b))!==null&&z!==void 0&&z.children){var Q;(Q=I.map.get(b))===null||Q===void 0||(Q=Q.children)===null||Q===void 0||Q.forEach(function(D){return $(D.key)})}O[b]=H};X(x.node.key),j((0,a.Z)({},O))});if(!G)return null;var L=(0,s.jsx)(bo.Z,{itemHeight:24,draggable:o&&!!((t=I.list)!==null&&t!==void 0&&t.length)&&((r=I.list)===null||r===void 0?void 0:r.length)>1,checkable:u,onDrop:function(O){var X=O.node.key,$=O.dragNode.key,b=O.dropPosition,z=O.dropToGap,H=b===-1||!z?b+1:b;W($,X,H)},blockNode:!0,onCheck:function(O,X){return V(X)},checkedKeys:I.keys,showLine:!1,titleRender:function(O){var X=(0,a.Z)((0,a.Z)({},O),{},{children:void 0});if(!X.title)return null;var $=(0,We.h)(X.title,X),b=(0,s.jsx)(dt.Z.Text,{style:{width:80},ellipsis:{tooltip:$},children:$});return(0,s.jsx)(To,(0,a.Z)((0,a.Z)({className:c},X),{},{showListItemOption:v,title:b,columnKey:X.key}))},height:m,treeData:(l=I.list)===null||l===void 0?void 0:l.map(function(x){var O=x.disabled,X=(0,fe.Z)(x,Po);return X})});return(0,s.jsxs)(s.Fragment,{children:[Z&&(0,s.jsx)("span",{className:"".concat(c,"-list-title ").concat(h).trim(),children:y}),L]})},Fo=function(e){var t=e.localColumns,r=e.className,l=e.draggable,d=e.checkable,o=e.showListItemOption,u=e.listsHeight,v=(0,i.useContext)(Pe.L_),c=v.hashId,g=[],Z=[],y=[],R=(0,Pe.YB)();t.forEach(function(h){if(!h.hideInSetting){var C=h.fixed;if(C==="left"){Z.push(h);return}if(C==="right"){g.push(h);return}y.push(h)}});var m=g&&g.length>0,p=Z&&Z.length>0;return(0,s.jsxs)("div",{className:ye()("".concat(r,"-list"),c,(0,E.Z)({},"".concat(r,"-list-group"),m||p)),children:[(0,s.jsx)(Tr,{title:R.getMessage("tableToolBar.leftFixedTitle","\u56FA\u5B9A\u5728\u5DE6\u4FA7"),list:Z,draggable:l,checkable:d,showListItemOption:o,className:r,listHeight:u}),(0,s.jsx)(Tr,{list:y,draggable:l,checkable:d,showListItemOption:o,title:R.getMessage("tableToolBar.noFixedTitle","\u4E0D\u56FA\u5B9A"),showTitle:p||m,className:r,listHeight:u}),(0,s.jsx)(Tr,{title:R.getMessage("tableToolBar.rightFixedTitle","\u56FA\u5B9A\u5728\u53F3\u4FA7"),list:g,draggable:l,checkable:d,showListItemOption:o,className:r,listHeight:u})]})};function Io(n){var e,t,r,l,d=(0,i.useRef)(null),o=(0,i.useContext)(gn),u=n.columns,v=n.checkedReset,c=v===void 0?!0:v,g=o.columnsMap,Z=o.setColumnsMap,y=o.clearPersistenceStorage;(0,i.useEffect)(function(){var V;if((V=o.propsRef.current)!==null&&V!==void 0&&(V=V.columnsState)!==null&&V!==void 0&&V.value){var L;d.current=JSON.parse(JSON.stringify(((L=o.propsRef.current)===null||L===void 0||(L=L.columnsState)===null||L===void 0?void 0:L.value)||{}))}},[]);var R=(0,be.J)(function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,L={},x=function O(X){X.forEach(function($){var b=$.key,z=$.fixed,H=$.index,Q=$.children,D=$.disable,f=Tn(b,H);if(f){var S,P;L[f]={show:D?(S=g[f])===null||S===void 0?void 0:S.show:V,fixed:z,disable:D,order:(P=g[f])===null||P===void 0?void 0:P.order}}Q&&O(Q)})};x(u),Z(L)}),m=(0,be.J)(function(V){V.target.checked?R():R(!1)}),p=(0,be.J)(function(){var V;y==null||y(),Z(((V=o.propsRef.current)===null||V===void 0||(V=V.columnsState)===null||V===void 0?void 0:V.defaultValue)||d.current||o.defaultColumnKeyMap)}),h=Object.values(g).filter(function(V){return!V||V.show===!1}),C=h.length>0&&h.length!==u.length,w=(0,Pe.YB)(),j=(0,i.useContext)(ze.ZP.ConfigContext),B=j.getPrefixCls,J=B("pro-table-column-setting"),G=Ro(J),I=G.wrapSSR,W=G.hashId;return I((0,s.jsx)(ct.Z,{arrow:!1,title:(0,s.jsxs)("div",{className:"".concat(J,"-title ").concat(W).trim(),children:[n.checkable===!1?(0,s.jsx)("div",{}):(0,s.jsx)(So.Z,{indeterminate:C,checked:h.length===0&&h.length!==u.length,onChange:function(L){m(L)},children:w.getMessage("tableToolBar.columnDisplay","\u5217\u5C55\u793A")}),c?(0,s.jsx)("a",{onClick:p,className:"".concat(J,"-action-rest-button ").concat(W).trim(),children:w.getMessage("tableToolBar.reset","\u91CD\u7F6E")}):null,n!=null&&n.extra?(0,s.jsx)(Fn.Z,{size:12,align:"center",children:n.extra}):null]}),overlayClassName:"".concat(J,"-overlay ").concat(W).trim(),trigger:"click",placement:"bottomRight",content:(0,s.jsx)(Fo,{checkable:(e=n.checkable)!==null&&e!==void 0?e:!0,draggable:(t=n.draggable)!==null&&t!==void 0?t:!0,showListItemOption:(r=n.showListItemOption)!==null&&r!==void 0?r:!0,className:J,localColumns:u,listsHeight:n.listsHeight}),children:n.children||(0,s.jsx)(bn.Z,{title:w.getMessage("tableToolBar.columnSetting","\u5217\u8BBE\u7F6E"),children:(l=n.settingIcon)!==null&&l!==void 0?l:(0,s.jsx)(Zo,{})})}))}var Eo=Io,ur=F(11941),Mo=function(e,t){return i.createElement(nn,(0,xe.Z)({},e,{ref:t,icon:_r.Z}))},jo=i.forwardRef(Mo),No=jo,Oo=F(50136),vt=function(e){var t=(0,lr.n)((0,nr.b)(),"4.24.0")>-1?{menu:e}:{overlay:(0,s.jsx)(Oo.Z,(0,a.Z)({},e))};return(0,Qe.Y)(t)},ft=F(85418),Lo=function(e){var t=(0,i.useContext)(Pe.L_),r=t.hashId,l=e.items,d=l===void 0?[]:l,o=e.type,u=o===void 0?"inline":o,v=e.prefixCls,c=e.activeKey,g=e.defaultActiveKey,Z=(0,Fe.Z)(c||g,{value:c,onChange:e.onChange}),y=(0,te.Z)(Z,2),R=y[0],m=y[1];if(d.length<1)return null;var p=d.find(function(C){return C.key===R})||d[0];if(u==="inline")return(0,s.jsx)("div",{className:ye()("".concat(v,"-menu"),"".concat(v,"-inline-menu"),r),children:d.map(function(C,w){return(0,s.jsx)("div",{onClick:function(){m(C.key)},className:ye()("".concat(v,"-inline-menu-item"),p.key===C.key?"".concat(v,"-inline-menu-item-active"):void 0,r),children:C.label},C.key||w)})});if(u==="tab")return(0,s.jsx)(ur.Z,{items:d.map(function(C){var w;return(0,a.Z)((0,a.Z)({},C),{},{key:(w=C.key)===null||w===void 0?void 0:w.toString()})}),activeKey:p.key,onTabClick:function(w){return m(w)},children:(0,lr.n)(wr.Z,"4.23.0")<0?d==null?void 0:d.map(function(C,w){return(0,i.createElement)(ur.Z.TabPane,(0,a.Z)((0,a.Z)({},C),{},{key:C.key||w,tab:C.label}))}):null});var h=vt({selectedKeys:[p.key],onClick:function(w){m(w.key)},items:d.map(function(C,w){return{key:C.key||w,disabled:C.disabled,label:C.label}})});return(0,s.jsx)("div",{className:ye()("".concat(v,"-menu"),"".concat(v,"-dropdownmenu")),children:(0,s.jsx)(ft.Z,(0,a.Z)((0,a.Z)({trigger:["click"]},h),{},{children:(0,s.jsxs)(Fn.Z,{className:"".concat(v,"-dropdownmenu-label"),children:[p.label,(0,s.jsx)(No,{})]})}))})},Ko=Lo,Do=function(e){return(0,E.Z)({},e.componentCls,(0,E.Z)((0,E.Z)((0,E.Z)({lineHeight:"1","&-container":{display:"flex",justifyContent:"space-between",paddingBlock:e.padding,paddingInline:0,"&-mobile":{flexDirection:"column"}},"&-title":{display:"flex",alignItems:"center",justifyContent:"flex-start",color:e.colorTextHeading,fontWeight:"500",fontSize:e.fontSizeLG},"&-search:not(:last-child)":{display:"flex",alignItems:"center",justifyContent:"flex-start"},"&-setting-item":{marginBlock:0,marginInline:4,color:e.colorIconHover,fontSize:e.fontSizeLG,cursor:"pointer","> span":{display:"block",width:"100%",height:"100%"},"&:hover":{color:e.colorPrimary}},"&-left":(0,E.Z)((0,E.Z)({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.marginXS,justifyContent:"flex-start",maxWidth:"calc(100% - 200px)",flex:1},"".concat(e.antCls,"-tabs"),{width:"100%"}),"&-has-tabs",{overflow:"hidden"}),"&-right":{flex:1,display:"flex",flexWrap:"wrap",justifyContent:"flex-end",gap:e.marginXS},"&-extra-line":{marginBlockEnd:e.margin},"&-setting-items":{display:"flex",gap:e.marginXS,lineHeight:"32px",alignItems:"center"},"&-filter":(0,E.Z)({"&:not(:last-child)":{marginInlineEnd:e.margin},display:"flex",alignItems:"center"},"div$".concat(e.antCls,"-pro-table-search"),{marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0}),"&-inline-menu-item":{display:"inline-block",marginInlineEnd:e.marginLG,cursor:"pointer",opacity:"0.75","&-active":{fontWeight:"bold",opacity:"1"}}},"".concat(e.antCls,"-tabs-top > ").concat(e.antCls,"-tabs-nav"),(0,E.Z)({marginBlockEnd:0,"&::before":{borderBlockEnd:0}},"".concat(e.antCls,"-tabs-nav-list"),{marginBlockStart:0,"${token.antCls}-tabs-tab":{paddingBlockStart:0}})),"&-dropdownmenu-label",{fontWeight:"bold",fontSize:e.fontSizeIcon,textAlign:"center",cursor:"pointer"}),"@media (max-width: 768px)",(0,E.Z)({},e.componentCls,{"&-container":{display:"flex",flexWrap:"wrap",flexDirection:"column"},"&-left":{marginBlockEnd:"16px",maxWidth:"100%"}})))};function Bo(n){return(0,je.Xj)("ProTableListToolBar",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Do(t)]})}function Ao(n){if(i.isValidElement(n))return n;if(n){var e=n,t=e.icon,r=e.tooltip,l=e.onClick,d=e.key;return t&&r?(0,s.jsx)(bn.Z,{title:r,children:(0,s.jsx)("span",{onClick:function(){l&&l(d)},children:t},d)}):(0,s.jsx)("span",{onClick:function(){l&&l(d)},children:t},d)}return null}var zo=function(e){var t,r=e.prefixCls,l=e.tabs,d=e.multipleLine,o=e.filtersNode;return d?(0,s.jsx)("div",{className:"".concat(r,"-extra-line"),children:l!=null&&l.items&&l!==null&&l!==void 0&&l.items.length?(0,s.jsx)(ur.Z,{style:{width:"100%"},defaultActiveKey:l.defaultActiveKey,activeKey:l.activeKey,items:l.items.map(function(u,v){var c;return(0,a.Z)((0,a.Z)({label:u.tab},u),{},{key:((c=u.key)===null||c===void 0?void 0:c.toString())||(v==null?void 0:v.toString())})}),onChange:l.onChange,tabBarExtraContent:o,children:(t=l.items)===null||t===void 0?void 0:t.map(function(u,v){return(0,lr.n)(wr.Z,"4.23.0")<0?(0,i.createElement)(ur.Z.TabPane,(0,a.Z)((0,a.Z)({},u),{},{key:u.key||v,tab:u.tab})):null})}):o}):null},$o=function(e){var t=e.prefixCls,r=e.title,l=e.subTitle,d=e.tooltip,o=e.className,u=e.style,v=e.search,c=e.onSearch,g=e.multipleLine,Z=g===void 0?!1:g,y=e.filter,R=e.actions,m=R===void 0?[]:R,p=e.settings,h=p===void 0?[]:p,C=e.tabs,w=e.menu,j=(0,i.useContext)(ze.ZP.ConfigContext),B=j.getPrefixCls,J=je.Ow.useToken(),G=J.token,I=B("pro-table-list-toolbar",t),W=Bo(I),V=W.wrapSSR,L=W.hashId,x=(0,Pe.YB)(),O=(0,i.useState)(!1),X=(0,te.Z)(O,2),$=X[0],b=X[1],z=x.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),H=(0,i.useMemo)(function(){return v?i.isValidElement(v)?v:(0,s.jsx)(it.Z.Search,(0,a.Z)((0,a.Z)({style:{width:200},placeholder:z},v),{},{onSearch:(0,se.Z)((0,q.Z)().mark(function A(){var N,k,ee,ne,de,Ce,oe=arguments;return(0,q.Z)().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:for(ee=oe.length,ne=new Array(ee),de=0;dea":{fontSize:e.fontSize}}),"".concat(e.antCls,"-table").concat(e.antCls,"-table-tbody").concat(e.antCls,"-table-wrapper:only-child").concat(e.antCls,"-table"),{marginBlock:0,marginInline:0}),"".concat(e.antCls,"-table").concat(e.antCls,"-table-middle ").concat(e.componentCls),(0,E.Z)({marginBlock:0,marginInline:-8},"".concat(e.proComponentsCls,"-card"),{backgroundColor:"initial"})),"& &-search",(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)({marginBlockEnd:"16px",background:e.colorBgContainer,"&-ghost":{background:"transparent"}},"&".concat(e.componentCls,"-form"),{marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:16,overflow:"unset"}),"&-light-filter",{marginBlockEnd:0,paddingBlock:0,paddingInline:0}),"&-form-option",(0,E.Z)((0,E.Z)((0,E.Z)({},"".concat(e.antCls,"-form-item"),{}),"".concat(e.antCls,"-form-item-label"),{}),"".concat(e.antCls,"-form-item-control-input"),{})),"@media (max-width: 575px)",(0,E.Z)({},e.componentCls,(0,E.Z)({height:"auto !important",paddingBlockEnd:"24px"},"".concat(e.antCls,"-form-item-label"),{minWidth:"80px",textAlign:"start"})))),"&-toolbar",{display:"flex",alignItems:"center",justifyContent:"space-between",height:"64px",paddingInline:24,paddingBlock:0,"&-option":{display:"flex",alignItems:"center",justifyContent:"flex-end"},"&-title":{flex:"1",color:e.colorTextLabel,fontWeight:"500",fontSize:"16px",lineHeight:"24px",opacity:"0.85"}})),"@media (max-width: ".concat(e.screenXS,")px"),(0,E.Z)({},e.componentCls,(0,E.Z)({},"".concat(e.antCls,"-table"),{width:"100%",overflowX:"auto","&-thead > tr,&-tbody > tr":{"> th,> td":{whiteSpace:"pre",">span":{display:"block"}}}}))),"@media (max-width: 575px)",(0,E.Z)({},"".concat(e.componentCls,"-toolbar"),{flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",height:"auto",marginBlockEnd:"16px",marginInlineStart:"16px",paddingBlock:8,paddingInline:8,paddingBlockStart:"16px",lineHeight:"normal","&-title":{marginBlockEnd:16},"&-option":{display:"flex",justifyContent:"space-between",width:"100%"},"&-default-option":{display:"flex",flex:"1",alignItems:"center",justifyContent:"flex-end"}}))};function hi(n){return(0,je.Xj)("ProTable",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[gi(t)]})}var pi=["data","success","total"],yi=function(e){var t=e.pageInfo;if(t){var r=t.current,l=t.defaultCurrent,d=t.pageSize,o=t.defaultPageSize;return{current:r||l||1,total:0,pageSize:d||o||20}}return{current:1,total:0,pageSize:20}},Ci=function(e,t,r){var l,d=(0,i.useRef)(!1),o=(0,i.useRef)(null),u=r||{},v=u.onLoad,c=u.manual,g=u.polling,Z=u.onRequestError,y=u.debounceTime,R=y===void 0?20:y,m=u.effects,p=m===void 0?[]:m,h=(0,i.useRef)(c),C=(0,i.useRef)(),w=(0,Fe.Z)(t,{value:r==null?void 0:r.dataSource,onChange:r==null?void 0:r.onDataSourceChange}),j=(0,te.Z)(w,2),B=j[0],J=j[1],G=(0,Fe.Z)(!1,{value:(0,Le.Z)(r==null?void 0:r.loading)==="object"?r==null||(l=r.loading)===null||l===void 0?void 0:l.spinning:r==null?void 0:r.loading,onChange:r==null?void 0:r.onLoadingChange}),I=(0,te.Z)(G,2),W=I[0],V=I[1],L=(0,Fe.Z)(function(){return yi(r)},{onChange:r==null?void 0:r.onPageInfoChange}),x=(0,te.Z)(L,2),O=x[0],X=x[1],$=(0,be.J)(function(N){(N.current!==O.current||N.pageSize!==O.pageSize||N.total!==O.total)&&X(N)}),b=(0,Fe.Z)(!1),z=(0,te.Z)(b,2),H=z[0],Q=z[1],D=function(k,ee){(0,rr.unstable_batchedUpdates)(function(){J(k),(O==null?void 0:O.total)!==ee&&$((0,a.Z)((0,a.Z)({},O),{},{total:ee||k.length}))})},f=(0,_n.D)(O==null?void 0:O.current),S=(0,_n.D)(O==null?void 0:O.pageSize),P=(0,_n.D)(g),T=(0,be.J)(function(){(0,rr.unstable_batchedUpdates)(function(){V(!1),Q(!1)})}),K=function(){var N=(0,se.Z)((0,q.Z)().mark(function k(ee){var ne,de,Ce,oe,ve,Re,Ee,le,U,Y,ae,ie;return(0,q.Z)().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(!h.current){ce.next=3;break}return h.current=!1,ce.abrupt("return");case 3:return ee?Q(!0):V(!0),ne=O||{},de=ne.pageSize,Ce=ne.current,ce.prev=5,oe=(r==null?void 0:r.pageInfo)!==!1?{current:Ce,pageSize:de}:void 0,ce.next=9,e==null?void 0:e(oe);case 9:if(ce.t0=ce.sent,ce.t0){ce.next=12;break}ce.t0={};case 12:if(ve=ce.t0,Re=ve.data,Ee=Re===void 0?[]:Re,le=ve.success,U=ve.total,Y=U===void 0?0:U,ae=(0,fe.Z)(ve,pi),le!==!1){ce.next=21;break}return ce.abrupt("return",[]);case 21:return ie=fa(Ee,[r.postData].filter(function(Ne){return Ne})),D(ie,Y),v==null||v(ie,ae),ce.abrupt("return",ie);case 27:if(ce.prev=27,ce.t1=ce.catch(5),Z!==void 0){ce.next=31;break}throw new Error(ce.t1);case 31:B===void 0&&J([]),Z(ce.t1);case 33:return ce.prev=33,T(),ce.finish(33);case 36:return ce.abrupt("return",[]);case 37:case"end":return ce.stop()}},k,null,[[5,27,33,36]])}));return function(ee){return N.apply(this,arguments)}}(),M=(0,$r.D)(function(){var N=(0,se.Z)((0,q.Z)().mark(function k(ee){var ne,de,Ce;return(0,q.Z)().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:if(C.current&&clearTimeout(C.current),e){ve.next=3;break}return ve.abrupt("return");case 3:return ne=new AbortController,o.current=ne,ve.prev=5,ve.next=8,Promise.race([K(ee),new Promise(function(Re,Ee){var le,U;(le=o.current)===null||le===void 0||(le=le.signal)===null||le===void 0||(U=le.addEventListener)===null||U===void 0||U.call(le,"abort",function(){Ee("aborted"),M.cancel(),T()})})]);case 8:if(de=ve.sent,!ne.signal.aborted){ve.next=11;break}return ve.abrupt("return");case 11:return Ce=(0,We.h)(g,de),Ce&&!d.current&&(C.current=setTimeout(function(){M.run(Ce)},Math.max(Ce,2e3))),ve.abrupt("return",de);case 16:if(ve.prev=16,ve.t0=ve.catch(5),ve.t0!=="aborted"){ve.next=20;break}return ve.abrupt("return");case 20:throw ve.t0;case 21:case"end":return ve.stop()}},k,null,[[5,16]])}));return function(k){return N.apply(this,arguments)}}(),R||30),A=function(){var k;(k=o.current)===null||k===void 0||k.abort(),M.cancel(),T()};return(0,i.useEffect)(function(){return g||clearTimeout(C.current),!P&&g&&M.run(!0),function(){clearTimeout(C.current)}},[g]),(0,i.useEffect)(function(){return d.current=!1,function(){d.current=!0}},[]),(0,i.useEffect)(function(){var N=O||{},k=N.current,ee=N.pageSize;(!f||f===k)&&(!S||S===ee)||r.pageInfo&&B&&(B==null?void 0:B.length)>ee||k!==void 0&&B&&B.length<=ee&&(A(),M.run(!1))},[O==null?void 0:O.current]),(0,i.useEffect)(function(){!S||(A(),M.run(!1))},[O==null?void 0:O.pageSize]),(0,Dn.KW)(function(){return A(),M.run(!1),c||(h.current=!1),function(){A()}},[].concat((0,He.Z)(p),[c])),{dataSource:B,setDataSource:J,loading:(0,Le.Z)(r==null?void 0:r.loading)==="object"?(0,a.Z)((0,a.Z)({},r==null?void 0:r.loading),{},{spinning:W}):W,reload:function(){var N=(0,se.Z)((0,q.Z)().mark(function ee(){return(0,q.Z)().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return A(),de.abrupt("return",M.run(!1));case 2:case"end":return de.stop()}},ee)}));function k(){return N.apply(this,arguments)}return k}(),pageInfo:O,pollingLoading:H,reset:function(){var N=(0,se.Z)((0,q.Z)().mark(function ee(){var ne,de,Ce,oe,ve,Re,Ee,le;return(0,q.Z)().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:ne=r||{},de=ne.pageInfo,Ce=de||{},oe=Ce.defaultCurrent,ve=oe===void 0?1:oe,Re=Ce.defaultPageSize,Ee=Re===void 0?20:Re,le={current:ve,total:0,pageSize:Ee},$(le);case 4:case"end":return Y.stop()}},ee)}));function k(){return N.apply(this,arguments)}return k}(),setPageInfo:function(){var N=(0,se.Z)((0,q.Z)().mark(function ee(ne){return(0,q.Z)().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:$((0,a.Z)((0,a.Z)({},O),ne));case 1:case"end":return Ce.stop()}},ee)}));function k(ee){return N.apply(this,arguments)}return k}()}},Zi=Ci,bi=function(e){return function(t,r){var l,d,o=t.fixed,u=t.index,v=r.fixed,c=r.index;if(o==="left"&&v!=="left"||v==="right"&&o!=="right")return-2;if(v==="left"&&o!=="left"||o==="right"&&v!=="right")return 2;var g=t.key||"".concat(u),Z=r.key||"".concat(c);if((l=e[g])!==null&&l!==void 0&&l.order||(d=e[Z])!==null&&d!==void 0&&d.order){var y,R;return(((y=e[g])===null||y===void 0?void 0:y.order)||0)-(((R=e[Z])===null||R===void 0?void 0:R.order)||0)}return(t.index||0)-(r.index||0)}},Si=F(53439),xi=function(e){var t={};return Object.keys(e||{}).forEach(function(r){var l;Array.isArray(e[r])&&((l=e[r])===null||l===void 0?void 0:l.length)===0||e[r]!==void 0&&(t[r]=e[r])}),t},Ri=function(e){var t;return!!(e!=null&&(t=e.valueType)!==null&&t!==void 0&&t.toString().startsWith("date")||(e==null?void 0:e.valueType)==="select"||e!=null&&e.valueEnum)},wi=function(e){var t;return((t=e.ellipsis)===null||t===void 0?void 0:t.showTitle)===!1?!1:e.ellipsis},Pi=function(e,t,r){if(t.copyable||t.ellipsis){var l=t.copyable&&r?{text:r,tooltips:["",""]}:void 0,d=Ri(t),o=wi(t)&&r?{tooltip:(t==null?void 0:t.tooltip)!==!1&&d?(0,s.jsx)("div",{className:"pro-table-tooltip-text",children:e}):r}:!1;return(0,s.jsx)(dt.Z.Text,{style:{width:"100%",margin:0,padding:0},title:"",copyable:l,ellipsis:o,children:e})}return e},Ti=F(74763),Fi=F(66758),Ii=function(e){var t="".concat(e.antCls,"-progress-bg");return(0,E.Z)({},e.componentCls,{"&-multiple":{paddingBlockStart:6,paddingBlockEnd:12,paddingInline:8},"&-progress":{"&-success":(0,E.Z)({},t,{backgroundColor:e.colorSuccess}),"&-error":(0,E.Z)({},t,{backgroundColor:e.colorError}),"&-warning":(0,E.Z)({},t,{backgroundColor:e.colorWarning})},"&-rule":{display:"flex",alignItems:"center","&-icon":{"&-default":{display:"flex",alignItems:"center",justifyContent:"center",width:"14px",height:"22px","&-circle":{width:"6px",height:"6px",backgroundColor:e.colorTextSecondary,borderRadius:"4px"}},"&-loading":{color:e.colorPrimary},"&-error":{color:e.colorError},"&-success":{color:e.colorSuccess}},"&-text":{color:e.colorText}}})};function Ei(n){return(0,je.Xj)("InlineErrorFormItem",function(e){var t=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(n)});return[Ii(t)]})}var Mi=["rules","name","children","popoverProps"],ji=["errorType","rules","name","popoverProps","children"],gt={marginBlockStart:-5,marginBlockEnd:-5,marginInlineStart:0,marginInlineEnd:0},Ni=function(e){var t=e.inputProps,r=e.input,l=e.extra,d=e.errorList,o=e.popoverProps,u=(0,i.useState)(!1),v=(0,te.Z)(u,2),c=v[0],g=v[1],Z=(0,i.useState)([]),y=(0,te.Z)(Z,2),R=y[0],m=y[1],p=(0,i.useContext)(ze.ZP.ConfigContext),h=p.getPrefixCls,C=h(),w=(0,je.dQ)(),j=Ei("".concat(C,"-form-item-with-help")),B=j.wrapSSR,J=j.hashId;(0,i.useEffect)(function(){t.validateStatus!=="validating"&&m(t.errors)},[t.errors,t.validateStatus]);var G=(0,nr.X)(R.length<1?!1:c,function(W){W!==c&&g(W)}),I=t.validateStatus==="validating";return(0,s.jsx)(ct.Z,(0,a.Z)((0,a.Z)((0,a.Z)({trigger:(o==null?void 0:o.trigger)||["click"],placement:(o==null?void 0:o.placement)||"topLeft"},G),{},{getPopupContainer:o==null?void 0:o.getPopupContainer,getTooltipContainer:o==null?void 0:o.getTooltipContainer,content:B((0,s.jsx)("div",{className:"".concat(C,"-form-item ").concat(J," ").concat(w.hashId).trim(),style:{margin:0,padding:0},children:(0,s.jsxs)("div",{className:"".concat(C,"-form-item-with-help ").concat(J," ").concat(w.hashId).trim(),children:[I?(0,s.jsx)(Sr,{}):null,d]})}))},o),{},{children:(0,s.jsxs)(s.Fragment,{children:[r,l]})}),"popover")},Oi=function(e){var t=e.rules,r=e.name,l=e.children,d=e.popoverProps,o=(0,fe.Z)(e,Mi);return(0,s.jsx)(Xe.Z.Item,(0,a.Z)((0,a.Z)({name:r,rules:t,hasFeedback:!1,shouldUpdate:function(v,c){if(v===c)return!1;var g=[r].flat(1);g.length>1&&g.pop();try{return JSON.stringify((0,Be.Z)(v,g))!==JSON.stringify((0,Be.Z)(c,g))}catch(Z){return!0}},_internalItemRender:{mark:"pro_table_render",render:function(v,c){return(0,s.jsx)(Ni,(0,a.Z)({inputProps:v,popoverProps:d},c))}}},o),{},{style:(0,a.Z)((0,a.Z)({},gt),o==null?void 0:o.style),children:l}))},Li=function(e){var t=e.errorType,r=e.rules,l=e.name,d=e.popoverProps,o=e.children,u=(0,fe.Z)(e,ji);return l&&r!==null&&r!==void 0&&r.length&&t==="popover"?(0,s.jsx)(Oi,(0,a.Z)((0,a.Z)({name:l,rules:r,popoverProps:d},u),{},{children:o})):(0,s.jsx)(Xe.Z.Item,(0,a.Z)((0,a.Z)({rules:r,shouldUpdate:l?function(v,c){if(v===c)return!1;var g=[l].flat(1);g.length>1&&g.pop();try{return JSON.stringify((0,Be.Z)(v,g))!==JSON.stringify((0,Be.Z)(c,g))}catch(Z){return!0}}:void 0},u),{},{style:(0,a.Z)((0,a.Z)({},gt),u.style),name:l,children:o}))},Fr=function(e,t,r){return t===void 0?e:(0,We.h)(e,t,r)},Ki=["children"],Di=["",null,void 0],ht=function(){for(var e=arguments.length,t=new Array(e),r=0;roe.length?(oe.push(k),oe):(oe.splice((u==null?void 0:u.current)*(u==null?void 0:u.pageSize)-1,0,k),oe)}return[].concat((0,He.Z)(l.dataSource),[k])},b=function(){return(0,a.Z)((0,a.Z)({},L),{},{size:c,rowSelection:v===!1?void 0:v,className:t,style:Z,columns:O.map(function(M){return M.isExtraColumns?M.extraColumn:M}),loading:l.loading,dataSource:W.newLineRecord?$(l.dataSource):l.dataSource,pagination:u,onChange:function(A,N,k,ee){var ne;if((ne=L.onChange)===null||ne===void 0||ne.call(L,A,N,k,ee),X||j((0,Qe.Y)(N)),Array.isArray(k)){var de=k.reduce(function(Re,Ee){return(0,a.Z)((0,a.Z)({},Re),{},(0,E.Z)({},"".concat(Ee.field),Ee.order))},{});w((0,Qe.Y)(de))}else{var Ce,oe=(Ce=k.column)===null||Ce===void 0?void 0:Ce.sorter,ve=(oe==null?void 0:oe.toString())===oe;w((0,Qe.Y)((0,E.Z)({},"".concat(ve?oe:k.field),k.order)))}}})},z=(0,i.useMemo)(function(){return n.search===!1&&!n.headerTitle&&n.toolBarRender===!1},[]),H=(0,s.jsx)(Ar._p.Provider,{value:{grid:!1,colProps:void 0,rowProps:void 0},children:(0,s.jsx)(mn.Z,(0,a.Z)((0,a.Z)({},b()),{},{rowKey:e}))}),Q=n.tableViewRender?n.tableViewRender((0,a.Z)((0,a.Z)({},b()),{},{rowSelection:v!==!1?v:void 0}),H):H,D=(0,i.useMemo)(function(){if(n.editable&&!n.name){var K,M,A;return(0,s.jsxs)(s.Fragment,{children:[y,h,(0,i.createElement)(Dr.ZP,(0,a.Z)((0,a.Z)({},(K=n.editable)===null||K===void 0?void 0:K.formProps),{},{formRef:(M=n.editable)===null||M===void 0||(M=M.formProps)===null||M===void 0?void 0:M.formRef,component:!1,form:(A=n.editable)===null||A===void 0?void 0:A.form,onValuesChange:W.onValuesChange,key:"table",submitter:!1,omitNil:!1,dateFormatter:n.dateFormatter}),Q)]})}return(0,s.jsxs)(s.Fragment,{children:[y,h,Q]})},[h,n.loading,!!n.editable,Q,y]),f=(0,i.useMemo)(function(){return p===!1||z===!0||!!n.name?{}:y?{paddingBlockStart:0}:y&&u===!1?{paddingBlockStart:0}:{padding:0}},[z,u,n.name,p,y]),S=p===!1||z===!0||!!n.name?D:(0,s.jsx)(Jt,(0,a.Z)((0,a.Z)({ghost:n.ghost,bordered:Wr("table",I),bodyStyle:f},p),{},{children:D})),P=function(){return n.tableRender?n.tableRender(n,S,{toolbar:y||void 0,alert:h||void 0,table:Q||void 0}):S},T=(0,s.jsxs)("div",{className:ye()(G,(0,E.Z)({},"".concat(r,"-polling"),l.pollingLoading)),style:m,ref:x.rootDomRef,children:[J?null:R,o!=="form"&&n.tableExtraRender&&(0,s.jsx)("div",{className:ye()(G,"".concat(r,"-extra")),children:n.tableExtraRender(n,l.dataSource||[])}),o!=="form"&&P()]});return!B||!(B!=null&&B.fullScreen)?T:(0,s.jsx)(ze.ZP,{getPopupContainer:function(){return x.rootDomRef.current||document.body},children:T})}var Ji={},Gi=function(e){var t,r=e.cardBordered,l=e.request,d=e.className,o=e.params,u=o===void 0?Ji:o,v=e.defaultData,c=e.headerTitle,g=e.postData,Z=e.ghost,y=e.pagination,R=e.actionRef,m=e.columns,p=m===void 0?[]:m,h=e.toolBarRender,C=e.optionsRender,w=e.onLoad,j=e.onRequestError,B=e.style,J=e.cardProps,G=e.tableStyle,I=e.tableClassName,W=e.columnsStateMap,V=e.onColumnsStateChange,L=e.options,x=e.search,O=e.name,X=e.onLoadingChange,$=e.rowSelection,b=$===void 0?!1:$,z=e.beforeSearchSubmit,H=e.tableAlertRender,Q=e.defaultClassName,D=e.formRef,f=e.type,S=f===void 0?"table":f,P=e.columnEmptyText,T=P===void 0?"-":P,K=e.toolbar,M=e.rowKey,A=e.manualRequest,N=e.polling,k=e.tooltip,ee=e.revalidateOnFocus,ne=ee===void 0?!1:ee,de=e.searchFormRender,Ce=(0,fe.Z)(e,Hi),oe=hi(e.defaultClassName),ve=oe.wrapSSR,Re=oe.hashId,Ee=ye()(Q,d,Re),le=(0,i.useRef)(),U=(0,i.useRef)(),Y=D||U;(0,i.useImperativeHandle)(R,function(){return le.current});var ae=(0,Fe.Z)(b?(b==null?void 0:b.defaultSelectedRowKeys)||[]:void 0,{value:b?b.selectedRowKeys:void 0}),ie=(0,te.Z)(ae,2),pe=ie[0],ce=ie[1],Ne=(0,Fe.Z)(function(){if(!(A||x!==!1))return{}}),Me=(0,te.Z)(Ne,2),Sn=Me[0],ln=Me[1],_i=(0,Fe.Z)({}),Rt=(0,te.Z)(_i,2),sr=Rt[0],Ir=Rt[1],eu=(0,Fe.Z)({}),wt=(0,te.Z)(eu,2),dr=wt[0],Er=wt[1];(0,i.useEffect)(function(){var _=ha(p),re=_.sort,me=_.filter;Ir(me),Er(re)},[]);var Pt=(0,Pe.YB)(),nu=(0,Le.Z)(y)==="object"?y:{defaultCurrent:1,defaultPageSize:20,pageSize:20,current:1},Ie=(0,i.useContext)(gn),Tt=(0,i.useMemo)(function(){if(!!l)return function(){var _=(0,se.Z)((0,q.Z)().mark(function re(me){var we,Ue;return(0,q.Z)().wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return we=(0,a.Z)((0,a.Z)((0,a.Z)({},me||{}),Sn),u),delete we._timestamp,qe.next=4,l(we,dr,sr);case 4:return Ue=qe.sent,qe.abrupt("return",Ue);case 6:case"end":return qe.stop()}},re)}));return function(re){return _.apply(this,arguments)}}()},[Sn,u,sr,dr,l]),Se=Zi(Tt,v,{pageInfo:y===!1?!1:nu,loading:e.loading,dataSource:e.dataSource,onDataSourceChange:e.onDataSourceChange,onLoad:w,onLoadingChange:X,onRequestError:j,postData:g,revalidateOnFocus:ne,manual:Sn===void 0,polling:N,effects:[(0,Cn.ZP)(u),(0,Cn.ZP)(Sn),(0,Cn.ZP)(sr),(0,Cn.ZP)(dr)],debounceTime:e.debounceTime,onPageInfoChange:function(re){var me,we;!y||!Tt||(y==null||(me=y.onChange)===null||me===void 0||me.call(y,re.current,re.pageSize),y==null||(we=y.onShowSizeChange)===null||we===void 0||we.call(y,re.current,re.pageSize))}});(0,i.useEffect)(function(){var _;if(!(e.manualRequest||!e.request||!ne||(_=e.form)!==null&&_!==void 0&&_.ignoreRules)){var re=function(){document.visibilityState==="visible"&&Se.reload()};return document.addEventListener("visibilitychange",re),function(){return document.removeEventListener("visibilitychange",re)}}},[]);var Ft=i.useRef(new Map),cr=i.useMemo(function(){return typeof M=="function"?M:function(_,re){var me;return re===-1?_==null?void 0:_[M]:e.name?re==null?void 0:re.toString():(me=_==null?void 0:_[M])!==null&&me!==void 0?me:re==null?void 0:re.toString()}},[e.name,M]);(0,i.useMemo)(function(){var _;if((_=Se.dataSource)!==null&&_!==void 0&&_.length){var re=Se.dataSource.map(function(me){var we=cr(me,-1);return Ft.current.set(we,me),we});return re}return[]},[Se.dataSource,cr]);var Mr=(0,i.useMemo)(function(){var _=y===!1?!1:(0,a.Z)({},y),re=(0,a.Z)((0,a.Z)({},Se.pageInfo),{},{setPageInfo:function(we){var Ue=we.pageSize,on=we.current,qe=Se.pageInfo;if(Ue===qe.pageSize||qe.current===1){Se.setPageInfo({pageSize:Ue,current:on});return}l&&Se.setDataSource([]),Se.setPageInfo({pageSize:Ue,current:S==="list"?on:1})}});return l&&_&&(delete _.onChange,delete _.onShowSizeChange),ca(_,re,Pt)},[y,Se,Pt]);(0,Dn.KW)(function(){var _;e.request&&u&&Se.dataSource&&(Se==null||(_=Se.pageInfo)===null||_===void 0?void 0:_.current)!==1&&Se.setPageInfo({current:1})},[u]),Ie.setPrefixName(e.name);var jr=(0,i.useCallback)(function(){b&&b.onChange&&b.onChange([],[],{type:"none"}),ce([])},[b,ce]);Ie.propsRef.current=e;var $n=ua((0,a.Z)((0,a.Z)({},e.editable),{},{tableName:e.name,getRowKey:cr,childrenColumnName:((t=e.expandable)===null||t===void 0?void 0:t.childrenColumnName)||"children",dataSource:Se.dataSource||[],setDataSource:function(re){var me,we;(me=e.editable)===null||me===void 0||(we=me.onValuesChange)===null||we===void 0||we.call(me,void 0,re),Se.setDataSource(re)}})),ru=je.Ow===null||je.Ow===void 0?void 0:je.Ow.useToken(),tu=ru.token;va(le,Se,{fullScreen:function(){var re;if(!(!((re=Ie.rootDomRef)!==null&&re!==void 0&&re.current)||!document.fullscreenEnabled))if(document.fullscreenElement)document.exitFullscreen();else{var me;(me=Ie.rootDomRef)===null||me===void 0||me.current.requestFullscreen()}},onCleanSelected:function(){jr()},resetAll:function(){var re;jr(),Ir({}),Er({}),Ie.setKeyWords(void 0),Se.setPageInfo({current:1}),Y==null||(re=Y.current)===null||re===void 0||re.resetFields(),ln({})},editableUtils:$n}),Ie.setAction(le.current);var En=(0,i.useMemo)(function(){var _;return yt({columns:p,counter:Ie,columnEmptyText:T,type:S,marginSM:tu.marginSM,editableUtils:$n,rowKey:M,childrenColumnName:(_=e.expandable)===null||_===void 0?void 0:_.childrenColumnName}).sort(bi(Ie.columnsMap))},[p,Ie==null?void 0:Ie.sortKeyColumns,Ie==null?void 0:Ie.columnsMap,T,S,$n.editableKeys&&$n.editableKeys.join(",")]);(0,Dn.Au)(function(){if(En&&En.length>0){var _=En.map(function(re){return Tn(re.key,re.index)});Ie.setSortKeyColumns(_)}},[En],["render","renderFormItem"],100),(0,Dn.KW)(function(){var _=Se.pageInfo,re=y||{},me=re.current,we=me===void 0?_==null?void 0:_.current:me,Ue=re.pageSize,on=Ue===void 0?_==null?void 0:_.pageSize:Ue;y&&(we||on)&&(on!==(_==null?void 0:_.pageSize)||we!==(_==null?void 0:_.current))&&Se.setPageInfo({pageSize:on||_.pageSize,current:we||_.current})},[y&&y.pageSize,y&&y.current]);var au=(0,a.Z)((0,a.Z)({selectedRowKeys:pe},b),{},{onChange:function(re,me,we){b&&b.onChange&&b.onChange(re,me,we),ce(re)}}),Nr=x!==!1&&(x==null?void 0:x.filterType)==="light",It=(0,i.useCallback)(function(_){if(L&&L.search){var re,me,we=L.search===!0?{}:L.search,Ue=we.name,on=Ue===void 0?"keyword":Ue,qe=(re=L.search)===null||re===void 0||(me=re.onSearch)===null||me===void 0?void 0:me.call(re,Ie.keyWords);if(qe!==!1){ln((0,a.Z)((0,a.Z)({},_),{},(0,E.Z)({},on,Ie.keyWords)));return}}ln(_)},[Ie.keyWords,L,ln]),Et=(0,i.useMemo)(function(){if((0,Le.Z)(Se.loading)==="object"){var _;return((_=Se.loading)===null||_===void 0?void 0:_.spinning)||!1}return Se.loading},[Se.loading]),Mt=(0,i.useMemo)(function(){var _=x===!1&&S!=="form"?null:(0,s.jsx)(Xl,{pagination:Mr,beforeSearchSubmit:z,action:le,columns:p,onFormSearchSubmit:function(me){It(me)},ghost:Z,onReset:e.onReset,onSubmit:e.onSubmit,loading:!!Et,manualRequest:A,search:x,form:e.form,formRef:Y,type:e.type||"table",cardBordered:e.cardBordered,dateFormatter:e.dateFormatter});return de&&_?(0,s.jsx)(s.Fragment,{children:de(e,_)}):_},[z,Y,Z,Et,A,It,Mr,e,p,x,de,S]),jt=(0,i.useMemo)(function(){return pe==null?void 0:pe.map(function(_){var re;return(re=Ft.current)===null||re===void 0?void 0:re.get(_)})},[pe]),lu=h===!1?null:(0,s.jsx)(vi,{headerTitle:c,hideToolbar:L===!1&&!c&&!h&&!K&&!Nr,selectedRows:jt,selectedRowKeys:pe,tableColumn:En,tooltip:k,toolbar:K,onFormSearchSubmit:function(re){ln((0,a.Z)((0,a.Z)({},Sn),re))},searchNode:Nr?Mt:null,options:L,optionsRender:C,actionRef:le,toolBarRender:h}),ou=b!==!1?(0,s.jsx)(xa,{selectedRowKeys:pe,selectedRows:jt,onCleanSelected:jr,alertOptionRender:Ce.tableAlertOptionRender,alertInfoRender:H,alwaysShowAlert:b==null?void 0:b.alwaysShowAlert}):null;return ve((0,s.jsx)(Ui,(0,a.Z)((0,a.Z)({},e),{},{name:O,defaultClassName:Q,size:Ie.tableSize,onSizeChange:Ie.setTableSize,pagination:Mr,searchNode:Mt,rowSelection:b!==!1?au:void 0,className:Ee,tableColumn:En,isLightFilter:Nr,action:Se,alertDom:ou,toolbarDom:lu,onSortChange:function(re){dr!==re&&Er(re!=null?re:{})},onFilterChange:function(re){re!==sr&&Ir(re)},editableUtils:$n,getRowKey:cr})))},Ct=function(e){var t=(0,i.useContext)(ze.ZP.ConfigContext),r=t.getPrefixCls,l=e.ErrorBoundary===!1?i.Fragment:e.ErrorBoundary||sa.S;return(0,s.jsx)(ya,{initValue:e,children:(0,s.jsx)(Pe._Y,{needDeps:!0,children:(0,s.jsx)(l,{children:(0,s.jsx)(Gi,(0,a.Z)({defaultClassName:"".concat(r("pro-table"))},e))})})})};Ct.Summary=mn.Z.Summary;var Yi=Ct,Xi=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],Qi=["record","position","creatorButtonText","newRecordType","parentKey","style"],Zt=i.createContext(void 0);function bt(n){var e=n.children,t=n.record,r=n.position,l=n.newRecordType,d=n.parentKey,o=(0,i.useContext)(Zt);return i.cloneElement(e,(0,a.Z)((0,a.Z)({},e.props),{},{onClick:function(){var u=(0,se.Z)((0,q.Z)().mark(function c(g){var Z,y,R,m;return(0,q.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(Z=(y=e.props).onClick)===null||Z===void 0?void 0:Z.call(y,g);case 2:if(m=h.sent,m!==!1){h.next=5;break}return h.abrupt("return");case 5:o==null||(R=o.current)===null||R===void 0||R.addEditRecord(t,{position:r,newRecordType:l,parentKey:d});case 6:case"end":return h.stop()}},c)}));function v(c){return u.apply(this,arguments)}return v}()}))}function St(n){var e,t,r=(0,Pe.YB)(),l=n.onTableChange,d=n.maxLength,o=n.formItemProps,u=n.recordCreatorProps,v=n.rowKey,c=n.controlled,g=n.defaultValue,Z=n.onChange,y=n.editableFormRef,R=(0,fe.Z)(n,Xi),m=(0,i.useRef)(void 0),p=(0,i.useRef)(),h=(0,i.useRef)();(0,i.useImperativeHandle)(R.actionRef,function(){return p.current},[p.current]);var C=(0,Fe.Z)(function(){return n.value||g||[]},{value:n.value,onChange:n.onChange}),w=(0,te.Z)(C,2),j=w[0],B=w[1],J=i.useMemo(function(){return typeof v=="function"?v:function(f,S){return f[v]||S}},[v]),G=(0,be.J)(function(f){if(typeof f=="number"&&!n.name){if(f>=j.length)return f;var S=j&&j[f];return J==null?void 0:J(S,f)}if((typeof f=="string"||f>=j.length)&&n.name){var P=j.findIndex(function(T,K){var M;return(J==null||(M=J(T,K))===null||M===void 0?void 0:M.toString())===(f==null?void 0:f.toString())});if(P!==-1)return P}return f});(0,i.useImperativeHandle)(y,function(){var f=function(T){var K,M;if(T==null)throw new Error("rowIndex is required");var A=G(T),N=[n.name,(K=A==null?void 0:A.toString())!==null&&K!==void 0?K:""].flat(1).filter(Boolean);return(M=h.current)===null||M===void 0?void 0:M.getFieldValue(N)},S=function(){var T,K=[n.name].flat(1).filter(Boolean);if(Array.isArray(K)&&K.length===0){var M,A=(M=h.current)===null||M===void 0?void 0:M.getFieldsValue();return Array.isArray(A)?A:Object.keys(A).map(function(N){return A[N]})}return(T=h.current)===null||T===void 0?void 0:T.getFieldValue(K)};return(0,a.Z)((0,a.Z)({},h.current),{},{getRowData:f,getRowsData:S,setRowData:function(T,K){var M,A;if(T==null)throw new Error("rowIndex is required");var N=G(T),k=[n.name,(M=N==null?void 0:N.toString())!==null&&M!==void 0?M:""].flat(1).filter(Boolean),ee=Object.assign({},(0,a.Z)((0,a.Z)({},f(T)),K||{})),ne=(0,Ln.Z)({},k,ee);return(A=h.current)===null||A===void 0||A.setFieldsValue(ne),!0}})},[G,n.name,h.current]),(0,i.useEffect)(function(){!n.controlled||(j||[]).forEach(function(f,S){var P;(P=h.current)===null||P===void 0||P.setFieldsValue((0,E.Z)({},"".concat(J(f,S)),f))},{})},[(0,Cn.ZP)(j),n.controlled]),(0,i.useEffect)(function(){if(n.name){var f;h.current=n==null||(f=n.editable)===null||f===void 0?void 0:f.form}},[(e=n.editable)===null||e===void 0?void 0:e.form,n.name]);var I=u||{},W=I.record,V=I.position,L=I.creatorButtonText,x=I.newRecordType,O=I.parentKey,X=I.style,$=(0,fe.Z)(I,Qi),b=V==="top",z=(0,i.useMemo)(function(){return typeof d=="number"&&d<=(j==null?void 0:j.length)?!1:u!==!1&&(0,s.jsx)(bt,{record:(0,We.h)(W,j==null?void 0:j.length,j)||{},position:V,parentKey:(0,We.h)(O,j==null?void 0:j.length,j),newRecordType:x,children:(0,s.jsx)(qn.ZP,(0,a.Z)((0,a.Z)({type:"dashed",style:(0,a.Z)({display:"block",margin:"10px 0",width:"100%"},X),icon:(0,s.jsx)(kt,{})},$),{},{children:L||r.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[u,d,j==null?void 0:j.length]),H=(0,i.useMemo)(function(){return z?b?{components:{header:{wrapper:function(S){var P,T=S.className,K=S.children;return(0,s.jsxs)("thead",{className:T,children:[K,(0,s.jsxs)("tr",{style:{position:"relative"},children:[(0,s.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:z}),(0,s.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(P=R.columns)===null||P===void 0?void 0:P.length,children:z})]})]})}}}}:{tableViewRender:function(S,P){var T,K;return(0,s.jsxs)(s.Fragment,{children:[(T=(K=n.tableViewRender)===null||K===void 0?void 0:K.call(n,S,P))!==null&&T!==void 0?T:P,z]})}}:{}},[b,z]),Q=(0,a.Z)({},n.editable),D=(0,be.J)(function(f,S){var P,T,K;if((P=n.editable)===null||P===void 0||(T=P.onValuesChange)===null||T===void 0||T.call(P,f,S),(K=n.onValuesChange)===null||K===void 0||K.call(n,S,f),n.controlled){var M;n==null||(M=n.onChange)===null||M===void 0||M.call(n,S)}});return(n!=null&&n.onValuesChange||(t=n.editable)!==null&&t!==void 0&&t.onValuesChange||n.controlled&&n!==null&&n!==void 0&&n.onChange)&&(Q.onValuesChange=D),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Zt.Provider,{value:p,children:(0,s.jsx)(Yi,(0,a.Z)((0,a.Z)((0,a.Z)({search:!1,options:!1,pagination:!1,rowKey:v,revalidateOnFocus:!1},R),H),{},{tableLayout:"fixed",actionRef:p,onChange:l,editable:(0,a.Z)((0,a.Z)({},Q),{},{formProps:(0,a.Z)({formRef:h},Q.formProps)}),dataSource:j,onDataSourceChange:function(S){if(B(S),n.name&&V==="top"){var P,T=(0,Ln.Z)({},[n.name].flat(1).filter(Boolean),S);(P=h.current)===null||P===void 0||P.setFieldsValue(T)}}}))}),n.name?(0,s.jsx)(Zr.Z,{name:[n.name],children:function(S){var P,T;if(!m.current)return m.current=j,null;var K=(0,Be.Z)(S,[n.name].flat(1)),M=K==null?void 0:K.find(function(A,N){var k;return!(0,br.A)(A,(k=m.current)===null||k===void 0?void 0:k[N])});return m.current=j,M&&(n==null||(P=n.editable)===null||P===void 0||(T=P.onValuesChange)===null||T===void 0||T.call(P,M,K)),null}}):null]})}function xt(n){var e=Dr.ZP.useFormInstance();return n.name?(0,s.jsx)(Xe.Z.Item,(0,a.Z)((0,a.Z)({style:{maxWidth:"100%"}},n==null?void 0:n.formItemProps),{},{name:n.name,shouldUpdate:function(r,l){var d=[n.name].flat(1);try{return JSON.stringify((0,Be.Z)(r,d))!==JSON.stringify((0,Be.Z)(l,d))}catch(o){return!0}},children:(0,s.jsx)(St,(0,a.Z)((0,a.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n),{},{editable:(0,a.Z)((0,a.Z)({},n.editable),{},{form:e})}))})):(0,s.jsx)(St,(0,a.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n))}xt.RecordCreator=bt;var qi=xt},78164:function(xn,$e,F){F.d($e,{S:function(){return Oe}});var E=F(15671),te=F(43144),fe=F(97326),q=F(60136),se=F(29388),a=F(4942),xe=F(29905),i=F(67294),Je=F(85893),Oe=function(ye){(0,q.Z)(ke,ye);var hn=(0,se.Z)(ke);function ke(){var Ve;(0,E.Z)(this,ke);for(var Ge=arguments.length,un=new Array(Ge),sn=0;sn{const{componentCls:Ze,iconCls:ge,antCls:he,zIndexPopup:Te,colorText:dn,colorWarning:cn,marginXXS:_e,marginXS:en,fontSize:vn,fontWeightStrong:wn,colorTextHeading:fn}=ue;return{[Ze]:{zIndex:Te,[`&${he}-popover`]:{fontSize:vn},[`${Ze}-message`]:{marginBottom:en,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Ze}-message-icon ${ge}`]:{color:cn,fontSize:vn,lineHeight:1,marginInlineEnd:en},[`${Ze}-title`]:{fontWeight:wn,color:fn,"&:only-child":{fontWeight:"normal"}},[`${Ze}-description`]:{marginTop:_e,color:dn}},[`${Ze}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:en}}}}},vr=ue=>{const{zIndexPopupBase:Ze}=ue;return{zIndexPopup:Ze+60}};var Mn=(0,un.I$)("Popconfirm",ue=>sn(ue),vr,{resetStyle:!1}),kn=function(ue,Ze){var ge={};for(var he in ue)Object.prototype.hasOwnProperty.call(ue,he)&&Ze.indexOf(he)<0&&(ge[he]=ue[he]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,he=Object.getOwnPropertySymbols(ue);Te{const{prefixCls:Ze,okButtonProps:ge,cancelButtonProps:he,title:Te,description:dn,cancelText:cn,okText:_e,okType:en="primary",icon:vn=E.createElement(te.Z,null),showCancel:wn=!0,close:fn,onConfirm:pn,onCancel:Hn,onPopupClick:Un}=ue,{getPrefixCls:Jn}=E.useContext(xe.E_),[rn]=(0,ke.Z)("Popconfirm",Ve.Z.Popconfirm),yn=(0,Oe.Z)(Te),Pn=(0,Oe.Z)(dn);return E.createElement("div",{className:`${Ze}-inner-content`,onClick:Un},E.createElement("div",{className:`${Ze}-message`},vn&&E.createElement("span",{className:`${Ze}-message-icon`},vn),E.createElement("div",{className:`${Ze}-message-text`},yn&&E.createElement("div",{className:q()(`${Ze}-title`)},yn),Pn&&E.createElement("div",{className:`${Ze}-description`},Pn))),E.createElement("div",{className:`${Ze}-buttons`},wn&&E.createElement(ye.ZP,Object.assign({onClick:Hn,size:"small"},he),cn||(rn==null?void 0:rn.cancelText)),E.createElement(Je.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,hn.nx)(en)),ge),actionFn:pn,close:fn,prefixCls:Jn("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},_e||(rn==null?void 0:rn.okText))))};var Rn=ue=>{const{prefixCls:Ze,placement:ge,className:he,style:Te}=ue,dn=kn(ue,["prefixCls","placement","className","style"]),{getPrefixCls:cn}=E.useContext(xe.E_),_e=cn("popconfirm",Ze),[en]=Mn(_e);return en(E.createElement(Ge.ZP,{placement:ge,className:q()(_e,he),style:Te,content:E.createElement(Vn,Object.assign({prefixCls:_e},dn))}))},mr=function(ue,Ze){var ge={};for(var he in ue)Object.prototype.hasOwnProperty.call(ue,he)&&Ze.indexOf(he)<0&&(ge[he]=ue[he]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,he=Object.getOwnPropertySymbols(ue);Te{var ge,he;const{prefixCls:Te,placement:dn="top",trigger:cn="click",okType:_e="primary",icon:en=E.createElement(te.Z,null),children:vn,overlayClassName:wn,onOpenChange:fn,onVisibleChange:pn}=ue,Hn=mr(ue,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:Un}=E.useContext(xe.E_),[Jn,rn]=(0,se.Z)(!1,{value:(ge=ue.open)!==null&&ge!==void 0?ge:ue.visible,defaultValue:(he=ue.defaultOpen)!==null&&he!==void 0?he:ue.defaultVisible}),yn=(Ke,De)=>{rn(Ke,!0),pn==null||pn(Ke),fn==null||fn(Ke,De)},Pn=Ke=>{yn(!1,Ke)},Gn=Ke=>{var De;return(De=ue.onConfirm)===null||De===void 0?void 0:De.call(void 0,Ke)},Le=Ke=>{var De;yn(!1,Ke),(De=ue.onCancel)===null||De===void 0||De.call(void 0,Ke)},hr=(Ke,De)=>{const{disabled:Yn=!1}=ue;Yn||yn(Ke,De)},Nn=Un("popconfirm",Te),Ye=q()(Nn,wn),[pr]=Mn(Nn);return pr(E.createElement(i.Z,Object.assign({},(0,a.Z)(Hn,["title"]),{trigger:cn,placement:dn,onOpenChange:hr,open:Jn,ref:Ze,overlayClassName:Ye,content:E.createElement(Vn,Object.assign({okType:_e,icon:en},ue,{prefixCls:Nn,close:Pn,onConfirm:Gn,onCancel:Le})),"data-popover-inject":!0}),vn))});jn._InternalPanelDoNotUseOrYouWillBeFired=Rn;var Wn=jn}}]); diff --git a/statics/3650.302f4c74.async.js b/statics/3650.302f4c74.async.js new file mode 100644 index 00000000..ebcb3a5e --- /dev/null +++ b/statics/3650.302f4c74.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3650],{86738:function(de,Y,a){a.d(Y,{Z:function(){return ne}});var l=a(67294),L=a(26702),N=a(93967),j=a.n(N),M=a(21770),z=a(98423),B=a(53124),G=a(55241),X=a(86743),Z=a(81643),J=a(14726),K=a(33671),k=a(10110),H=a(24457),q=a(60590),V=a(91945);const W=o=>{const{componentCls:i,iconCls:u,antCls:s,zIndexPopup:e,colorText:r,colorWarning:c,marginXXS:n,marginXS:t,fontSize:f,fontWeightStrong:d,colorTextHeading:p}=o;return{[i]:{zIndex:e,[`&${s}-popover`]:{fontSize:f},[`${i}-message`]:{marginBottom:t,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${i}-message-icon ${u}`]:{color:c,fontSize:f,lineHeight:1,marginInlineEnd:t},[`${i}-title`]:{fontWeight:d,color:p,"&:only-child":{fontWeight:"normal"}},[`${i}-description`]:{marginTop:n,color:r}},[`${i}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:t}}}}},A=o=>{const{zIndexPopupBase:i}=o;return{zIndexPopup:i+60}};var D=(0,V.I$)("Popconfirm",o=>W(o),A,{resetStyle:!1}),te=function(o,i){var u={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(u[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,s=Object.getOwnPropertySymbols(o);e{const{prefixCls:i,okButtonProps:u,cancelButtonProps:s,title:e,description:r,cancelText:c,okText:n,okType:t="primary",icon:f=l.createElement(L.Z,null),showCancel:d=!0,close:p,onConfirm:C,onCancel:O,onPopupClick:b}=o,{getPrefixCls:S}=l.useContext(B.E_),[g]=(0,k.Z)("Popconfirm",H.Z.Popconfirm),x=(0,Z.Z)(e),P=(0,Z.Z)(r);return l.createElement("div",{className:`${i}-inner-content`,onClick:b},l.createElement("div",{className:`${i}-message`},f&&l.createElement("span",{className:`${i}-message-icon`},f),l.createElement("div",{className:`${i}-message-text`},x&&l.createElement("div",{className:j()(`${i}-title`)},x),P&&l.createElement("div",{className:`${i}-description`},P))),l.createElement("div",{className:`${i}-buttons`},d&&l.createElement(J.ZP,Object.assign({onClick:O,size:"small"},s),c||(g==null?void 0:g.cancelText)),l.createElement(X.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,K.nx)(t)),u),actionFn:C,close:p,prefixCls:S("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},n||(g==null?void 0:g.okText))))};var _=o=>{const{prefixCls:i,placement:u,className:s,style:e}=o,r=te(o,["prefixCls","placement","className","style"]),{getPrefixCls:c}=l.useContext(B.E_),n=c("popconfirm",i),[t]=D(n);return t(l.createElement(q.ZP,{placement:u,className:j()(n,s),style:e,content:l.createElement(w,Object.assign({prefixCls:n},r))}))},ee=function(o,i){var u={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(u[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,s=Object.getOwnPropertySymbols(o);e{var u,s;const{prefixCls:e,placement:r="top",trigger:c="click",okType:n="primary",icon:t=l.createElement(L.Z,null),children:f,overlayClassName:d,onOpenChange:p,onVisibleChange:C}=o,O=ee(o,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:b}=l.useContext(B.E_),[S,g]=(0,M.Z)(!1,{value:(u=o.open)!==null&&u!==void 0?u:o.visible,defaultValue:(s=o.defaultOpen)!==null&&s!==void 0?s:o.defaultVisible}),x=(m,v)=>{g(m,!0),C==null||C(m),p==null||p(m,v)},P=m=>{x(!1,m)},h=m=>{var v;return(v=o.onConfirm)===null||v===void 0?void 0:v.call(void 0,m)},F=m=>{var v;x(!1,m),(v=o.onCancel)===null||v===void 0||v.call(void 0,m)},E=(m,v)=>{const{disabled:y=!1}=o;y||x(m,v)},R=b("popconfirm",e),U=j()(R,d),[Q]=D(R);return Q(l.createElement(G.Z,Object.assign({},(0,z.Z)(O,["title"]),{trigger:c,placement:r,onOpenChange:E,open:S,ref:i,overlayClassName:U,content:l.createElement(w,Object.assign({okType:n,icon:t},o,{prefixCls:R,close:P,onConfirm:h,onCancel:F})),"data-popover-inject":!0}),f))});$._InternalPanelDoNotUseOrYouWillBeFired=_;var ne=$},66309:function(de,Y,a){a.d(Y,{Z:function(){return s}});var l=a(67294),L=a(93967),N=a.n(L),j=a(98423),M=a(98787),z=a(69760),B=a(96159),G=a(45353),X=a(53124),Z=a(54548),J=a(10274),K=a(14747),k=a(45503),H=a(91945);const q=e=>{const{paddingXXS:r,lineWidth:c,tagPaddingHorizontal:n,componentCls:t,calc:f}=e,d=f(n).sub(c).equal(),p=f(r).sub(c).equal();return{[t]:Object.assign(Object.assign({},(0,K.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:d,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,Z.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${t}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${t}-close-icon`]:{marginInlineStart:p,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${t}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${t}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:d}}),[`${t}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},V=e=>{const{lineWidth:r,fontSizeIcon:c,calc:n}=e,t=e.fontSizeSM;return(0,k.TS)(e,{tagFontSize:t,tagLineHeight:(0,Z.bf)(n(e.lineHeightSM).mul(t).equal()),tagIconSize:n(c).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},W=e=>({defaultBg:new J.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var A=(0,H.I$)("Tag",e=>{const r=V(e);return q(r)},W),D=function(e,r){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(c[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,n=Object.getOwnPropertySymbols(e);t{const{prefixCls:c,style:n,className:t,checked:f,onChange:d,onClick:p}=e,C=D(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:O,tag:b}=l.useContext(X.E_),S=E=>{d==null||d(!f),p==null||p(E)},g=O("tag",c),[x,P,h]=A(g),F=N()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:f},b==null?void 0:b.className,t,P,h);return x(l.createElement("span",Object.assign({},C,{ref:r,style:Object.assign(Object.assign({},n),b==null?void 0:b.style),className:F,onClick:S})))}),le=a(98719);const _=e=>(0,le.Z)(e,(r,c)=>{let{textColor:n,lightBorderColor:t,lightColor:f,darkColor:d}=c;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:f,borderColor:t,"&-inverse":{color:e.colorTextLightSolid,background:d,borderColor:d},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ee=(0,H.bk)(["Tag","preset"],e=>{const r=V(e);return _(r)},W);function re(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const $=(e,r,c)=>{const n=re(c);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${c}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ne=(0,H.bk)(["Tag","status"],e=>{const r=V(e);return[$(r,"success","Success"),$(r,"processing","Info"),$(r,"error","Error"),$(r,"warning","Warning")]},W),o=function(e,r){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(c[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,n=Object.getOwnPropertySymbols(e);t{const{prefixCls:c,className:n,rootClassName:t,style:f,children:d,icon:p,color:C,onClose:O,bordered:b=!0,visible:S}=e,g=o(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:P,tag:h}=l.useContext(X.E_),[F,E]=l.useState(!0),R=(0,j.Z)(g,["closeIcon","closable"]);l.useEffect(()=>{S!==void 0&&E(S)},[S]);const U=(0,M.o2)(C),Q=(0,M.yT)(C),m=U||Q,v=Object.assign(Object.assign({backgroundColor:C&&!m?C:void 0},h==null?void 0:h.style),f),y=x("tag",c),[ue,fe,ge]=A(y),me=N()(y,h==null?void 0:h.className,{[`${y}-${C}`]:m,[`${y}-has-color`]:C&&!m,[`${y}-hidden`]:!F,[`${y}-rtl`]:P==="rtl",[`${y}-borderless`]:!b},n,t,fe,ge),ae=I=>{I.stopPropagation(),O==null||O(I),!I.defaultPrevented&&E(!1)},[,pe]=(0,z.Z)((0,z.w)(e),(0,z.w)(h),{closable:!1,closeIconRender:I=>{const ye=l.createElement("span",{className:`${y}-close-icon`,onClick:ae},I);return(0,B.wm)(I,ye,T=>({onClick:ie=>{var oe;(oe=T==null?void 0:T.onClick)===null||oe===void 0||oe.call(T,ie),ae(ie)},className:N()(T==null?void 0:T.className,`${y}-close-icon`)}))}}),Ce=typeof g.onClick=="function"||d&&d.type==="a",se=p||null,ve=se?l.createElement(l.Fragment,null,se,d&&l.createElement("span",null,d)):d,ce=l.createElement("span",Object.assign({},R,{ref:r,className:me,style:v}),ve,pe,U&&l.createElement(ee,{key:"preset",prefixCls:y}),Q&&l.createElement(ne,{key:"status",prefixCls:y}));return ue(Ce?l.createElement(G.Z,{component:"Tag"},ce):ce)});u.CheckableTag=w;var s=u}}]); diff --git a/statics/4042.41a3139b.async.js b/statics/4042.41a3139b.async.js new file mode 100644 index 00000000..aaed72f8 --- /dev/null +++ b/statics/4042.41a3139b.async.js @@ -0,0 +1,72 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4042],{24770:function(Ie,re,et){"use strict";var pt=et(67294),xt=function(){var Gt=function(It,Ft){return Gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(gt,wt){gt.__proto__=wt}||function(gt,wt){for(var At in wt)Object.prototype.hasOwnProperty.call(wt,At)&&(gt[At]=wt[At])},Gt(It,Ft)};return function(It,Ft){if(typeof Ft!="function"&&Ft!==null)throw new TypeError("Class extends value "+String(Ft)+" is not a constructor or null");Gt(It,Ft);function gt(){this.constructor=It}It.prototype=Ft===null?Object.create(Ft):(gt.prototype=Ft.prototype,new gt)}}(),Jt=function(Gt){xt(It,Gt);function It(){var Ft=Gt!==null&&Gt.apply(this,arguments)||this;return Ft.state={hasError:!1},Ft.renderError=function(gt){var wt=Ft.props.errorTemplate;switch(gt){default:return typeof wt=="function"?wt(gt):wt||pt.createElement("h5",null,"\u7EC4\u4EF6\u51FA\u9519\u4E86\uFF0C\u8BF7\u6838\u67E5\u540E\u91CD\u8BD5\uFF1A ",gt.message)}},Ft}return It.getDerivedStateFromError=function(Ft){return{hasError:!0,error:Ft}},It.getDerivedStateFromProps=function(Ft,gt){return gt.children!==Ft.children?{children:Ft.children,hasError:!1,error:void 0}:null},It.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):pt.createElement(pt.Fragment,null,this.props.children)},It}(pt.Component);re.Z=Jt},11924:function(Ie,re,et){"use strict";et.d(re,{Z:function(){return Y}});var pt=et(67294),xt=et(45098),Jt=et(73935),Gt=et.t(Jt,2),It=function(){return It=Object.assign||function(V){for(var H,b=1,k=arguments.length;b0&&_[_.length-1])&&(F[0]===6||F[0]===2)){b=0;continue}if(F[0]===3&&(!_||F[1]>_[0]&&F[1]<_[3])){b.label=F[1];break}if(F[0]===6&&b.label<_[1]){b.label=_[1],_=F;break}if(_&&b.label<_[2]){b.label=_[2],b.ops.push(F);break}_[2]&&b.ops.pop(),b.trys.pop();continue}F=H.call(V,b)}catch(C){F=[6,C],L=0}finally{k=_=0}if(F[0]&5)throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}},wt=It({},Gt),At=wt.version,ee=wt.render,zt=wt.unmountComponentAtNode,Ot;try{var ct=Number((At||"").split(".")[0]);ct>=18&&(Ot=wt.createRoot)}catch(V){}function d(V){var H=wt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;H&&typeof H=="object"&&(H.usingClientEntryPoint=V)}var f="__rc_react_root__";function rt(V,H){d(!0);var b=H[f]||Ot(H);d(!1),b.render(V),H[f]=b}function tt(V,H){ee(V,H)}function bt(V,H){}function St(V,H){if(Ot){rt(V,H);return}tt(V,H)}function Z(V){return Ft(this,void 0,void 0,function(){return gt(this,function(H){return[2,Promise.resolve().then(function(){var b;(b=V[f])===null||b===void 0||b.unmount(),delete V[f]})]})})}function ot(V){zt(V)}function Ct(V){}function Vt(V){return Ft(this,void 0,void 0,function(){return gt(this,function(H){return Ot!==void 0?[2,Z(V)]:(ot(V),[2])})})}var Kt=new Map,te=function(V,H,b){var k=document.createElement("div");return H==="tooltip"&&(k.setAttribute("data-uuid",b),Kt.has(b)?k=Kt.get(b):Kt.set(b,k),k.className="g2-tooltip"),St(V,k),k},we=te,ft=function(V,H){var b={}.toString;return b.call(V)==="[object ".concat(H,"]")},Pt=function(V){if(!V)return V;var H={};for(var b in V)H[b]=V[b];return H},Lt=function(V){return Object.prototype.toString.call(V).slice(8,-1)},Tt=function(V){if(!V||typeof V!="object")return V;var H;return Array.isArray(V)?H=V.map(function(b){return Tt(b)}):(H={},Object.keys(V).forEach(function(b){return H[b]=Tt(V[b])})),H},ht=function(V,H){for(var b=V,k=0;k=0&&G._call.call(null,R),G=G._next;--Ft}function Ct(){ct=(Ot=f.now())+d,Ft=gt=0;try{ot()}finally{Ft=0,Kt(),ct=0}}function Vt(){var G=f.now(),R=G-Ot;R>At&&(d-=R,Ot=G)}function Kt(){for(var G,R=ee,W,st=1/0;R;)R._call?(st>R._time&&(st=R._time),G=R,R=R._next):(W=R._next,R._next=null,R=G?G._next=W:ee=W);zt=G,te(st)}function te(G){if(!Ft){gt&&(gt=clearTimeout(gt));var R=G-ct;R>24?(G<1/0&&(gt=setTimeout(Ct,G-f.now()-d)),wt&&(wt=clearInterval(wt))):(wt||(Ot=f.now(),wt=setInterval(Vt,At)),Ft=1,rt(Ct))}}var we=et(52677);function ft(G,R,W){G.prototype=R.prototype=W,W.constructor=G}function Pt(G,R){var W=Object.create(G.prototype);for(var st in R)W[st]=R[st];return W}function Lt(){}var Tt=.7,ht=1/Tt,it="\\s*([+-]?\\d+)\\s*",T="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",z="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",yt=/^#([0-9a-f]{3,8})$/,Y=new RegExp("^rgb\\("+[it,it,it]+"\\)$"),V=new RegExp("^rgb\\("+[z,z,z]+"\\)$"),H=new RegExp("^rgba\\("+[it,it,it,T]+"\\)$"),b=new RegExp("^rgba\\("+[z,z,z,T]+"\\)$"),k=new RegExp("^hsl\\("+[T,z,z]+"\\)$"),L=new RegExp("^hsla\\("+[T,z,z,T]+"\\)$"),_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ft(Lt,F,{copy:function(G){return Object.assign(new this.constructor,this,G)},displayable:function(){return this.rgb().displayable()},hex:j,formatHex:j,formatHsl:nt,formatRgb:I,toString:I});function j(){return this.rgb().formatHex()}function nt(){return Wt(this).formatHsl()}function I(){return this.rgb().formatRgb()}function F(G){var R,W;return G=(G+"").trim().toLowerCase(),(R=yt.exec(G))?(W=R[1].length,R=parseInt(R[1],16),W===6?C(R):W===3?new O(R>>8&15|R>>4&240,R>>4&15|R&240,(R&15)<<4|R&15,1):W===8?E(R>>24&255,R>>16&255,R>>8&255,(R&255)/255):W===4?E(R>>12&15|R>>8&240,R>>8&15|R>>4&240,R>>4&15|R&240,((R&15)<<4|R&15)/255):null):(R=Y.exec(G))?new O(R[1],R[2],R[3],1):(R=V.exec(G))?new O(R[1]*255/100,R[2]*255/100,R[3]*255/100,1):(R=H.exec(G))?E(R[1],R[2],R[3],R[4]):(R=b.exec(G))?E(R[1]*255/100,R[2]*255/100,R[3]*255/100,R[4]):(R=k.exec(G))?qt(R[1],R[2]/100,R[3]/100,1):(R=L.exec(G))?qt(R[1],R[2]/100,R[3]/100,R[4]):_.hasOwnProperty(G)?C(_[G]):G==="transparent"?new O(NaN,NaN,NaN,0):null}function C(G){return new O(G>>16&255,G>>8&255,G&255,1)}function E(G,R,W,st){return st<=0&&(G=R=W=NaN),new O(G,R,W,st)}function P(G){return G instanceof Lt||(G=F(G)),G?(G=G.rgb(),new O(G.r,G.g,G.b,G.opacity)):new O}function N(G,R,W,st){return arguments.length===1?P(G):new O(G,R,W,st==null?1:st)}function O(G,R,W,st){this.r=+G,this.g=+R,this.b=+W,this.opacity=+st}ft(O,N,Pt(Lt,{brighter:function(G){return G=G==null?ht:Math.pow(ht,G),new O(this.r*G,this.g*G,this.b*G,this.opacity)},darker:function(G){return G=G==null?Tt:Math.pow(Tt,G),new O(this.r*G,this.g*G,this.b*G,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:q,formatHex:q,formatRgb:K,toString:K}));function q(){return"#"+mt(this.r)+mt(this.g)+mt(this.b)}function K(){var G=this.opacity;return G=isNaN(G)?1:Math.max(0,Math.min(1,G)),(G===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(G===1?")":", "+G+")")}function mt(G){return G=Math.max(0,Math.min(255,Math.round(G)||0)),(G<16?"0":"")+G.toString(16)}function qt(G,R,W,st){return st<=0?G=R=W=NaN:W<=0||W>=1?G=R=NaN:R<=0&&(G=NaN),new $t(G,R,W,st)}function Wt(G){if(G instanceof $t)return new $t(G.h,G.s,G.l,G.opacity);if(G instanceof Lt||(G=F(G)),!G)return new $t;if(G instanceof $t)return G;G=G.rgb();var R=G.r/255,W=G.g/255,st=G.b/255,Rt=Math.min(R,W,st),ne=Math.max(R,W,st),pe=NaN,se=ne-Rt,De=(ne+Rt)/2;return se?(R===ne?pe=(W-st)/se+(W0&&De<1?0:pe,new $t(pe,se,De,G.opacity)}function ce(G,R,W,st){return arguments.length===1?Wt(G):new $t(G,R,W,st==null?1:st)}function $t(G,R,W,st){this.h=+G,this.s=+R,this.l=+W,this.opacity=+st}ft($t,ce,Pt(Lt,{brighter:function(G){return G=G==null?ht:Math.pow(ht,G),new $t(this.h,this.s,this.l*G,this.opacity)},darker:function(G){return G=G==null?Tt:Math.pow(Tt,G),new $t(this.h,this.s,this.l*G,this.opacity)},rgb:function(){var G=this.h%360+(this.h<0)*360,R=isNaN(G)||isNaN(this.s)?0:this.s,W=this.l,st=W+(W<.5?W:1-W)*R,Rt=2*W-st;return new O(Ut(G>=240?G-240:G+120,Rt,st),Ut(G,Rt,st),Ut(G<120?G+240:G-120,Rt,st),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var G=this.opacity;return G=isNaN(G)?1:Math.max(0,Math.min(1,G)),(G===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(G===1?")":", "+G+")")}}));function Ut(G,R,W){return(G<60?R+(W-R)*G/60:G<180?W:G<240?R+(W-R)*(240-G)/60:R)*255}function oe(G,R,W,st,Rt){var ne=G*G,pe=ne*G;return((1-3*G+3*ne-pe)*R+(4-6*ne+3*pe)*W+(1+3*G+3*ne-3*pe)*st+pe*Rt)/6}function Pe(G){var R=G.length-1;return function(W){var st=W<=0?W=0:W>=1?(W=1,R-1):Math.floor(W*R),Rt=G[st],ne=G[st+1],pe=st>0?G[st-1]:2*Rt-ne,se=st180||W<-180?W-360*Math.round(W/360):W):constant(isNaN(G)?R:G)}function $(G){return(G=+G)==1?X:function(R,W){return W-R?Mr(R,W,G):Ne(isNaN(R)?W:R)}}function X(G,R){var W=R-G;return W?cr(G,W):Ne(isNaN(G)?R:G)}var at=function G(R){var W=$(R);function st(Rt,ne){var pe=W((Rt=N(Rt)).r,(ne=N(ne)).r),se=W(Rt.g,ne.g),De=W(Rt.b,ne.b),ir=X(Rt.opacity,ne.opacity);return function(yr){return Rt.r=pe(yr),Rt.g=se(yr),Rt.b=De(yr),Rt.opacity=ir(yr),Rt+""}}return st.gamma=G,st}(1);function vt(G){return function(R){var W=R.length,st=new Array(W),Rt=new Array(W),ne=new Array(W),pe,se;for(pe=0;peW&&(ne=R.slice(W,ne),se[pe]?se[pe]+=ne:se[++pe]=ne),(st=st[0])===(Rt=Rt[0])?se[pe]?se[pe]+=Rt:se[++pe]=Rt:(se[++pe]=null,De.push({i:pe,x:ge(st,Rt)})),W=xe.lastIndex;return Wir.length?(De=ke.parsePathString(ne[se]),ir=ke.parsePathString(Rt[se]),ir=ke.fillPathByDiff(ir,De),ir=ke.formatPath(ir,De),R.fromAttrs.path=ir,R.toAttrs.path=De):R.pathFormatted||(De=ke.parsePathString(ne[se]),ir=ke.parsePathString(Rt[se]),ir=ke.formatPath(ir,De),R.fromAttrs.path=ir,R.toAttrs.path=De,R.pathFormatted=!0),st[se]=[];for(var yr=0;yr0){for(var se=R.animators.length-1;se>=0;se--){if(st=R.animators[se],st.destroyed){R.removeAnimator(se);continue}if(!st.isAnimatePaused()){Rt=st.get("animations");for(var De=Rt.length-1;De>=0;De--)ne=Rt[De],W=Dr(st,ne,pe),W&&(Rt.splice(De,1),W=!1,ne.callback&&ne.callback())}Rt.length===0&&R.removeAnimator(se)}var ir=R.canvas.get("autoDraw");ir||R.canvas.draw()}})},G.prototype.addAnimator=function(R){this.animators.push(R)},G.prototype.removeAnimator=function(R){this.animators.splice(R,1)},G.prototype.isAnimating=function(){return!!this.animators.length},G.prototype.stop=function(){this.timer&&this.timer.stop()},G.prototype.stopAllAnimations=function(R){R===void 0&&(R=!0),this.animators.forEach(function(W){W.stopAnimate(R)}),this.animators=[],this.canvas.draw()},G.prototype.getTime=function(){return this.current},G}(),Lr=Sr,pn=et(89473),Ln=40,Pn=0,on=":",Wr=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Dn(G,R){for(var W in G)if(G.hasOwnProperty(W)&&W.indexOf(on+R)>=0)return!0;return!1}function Or(G,R,W){W.name=R,W.target=G,W.currentTarget=G,W.delegateTarget=G,G.emit(R,W)}function dn(G,R,W){if(W.bubbles){var st=void 0,Rt=!1;if(R==="mouseenter"?(st=W.fromShape,Rt=!0):R==="mouseleave"&&(Rt=!0,st=W.toShape),G.isCanvas()&&Rt)return;if(st&&(0,Gt.UY)(G,st)){W.bubbles=!1;return}W.name=R,W.currentTarget=G,W.delegateTarget=G,G.emit(R,W)}}var On=function(){function G(R){var W=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(st){var Rt=st.type;W._triggerEvent(Rt,st)},this._onDocumentMove=function(st){var Rt=W.canvas,ne=Rt.get("el");if(ne!==st.target&&(W.dragging||W.currentShape)){var pe=W._getPointInfo(st);W.dragging&&W._emitEvent("drag",st,pe,W.draggingShape)}},this._onDocumentMouseUp=function(st){var Rt=W.canvas,ne=Rt.get("el");if(ne!==st.target&&W.dragging){var pe=W._getPointInfo(st);W.draggingShape&&W._emitEvent("drop",st,pe,null),W._emitEvent("dragend",st,pe,W.draggingShape),W._afterDrag(W.draggingShape,pe,st)}},this.canvas=R.canvas}return G.prototype.init=function(){this._bindEvents()},G.prototype._bindEvents=function(){var R=this,W=this.canvas.get("el");(0,Gt.S6)(Wr,function(st){W.addEventListener(st,R._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},G.prototype._clearEvents=function(){var R=this,W=this.canvas.get("el");(0,Gt.S6)(Wr,function(st){W.removeEventListener(st,R._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},G.prototype._getEventObj=function(R,W,st,Rt,ne,pe){var se=new pn.Z(R,W);return se.fromShape=ne,se.toShape=pe,se.x=st.x,se.y=st.y,se.clientX=st.clientX,se.clientY=st.clientY,se.propagationPath.push(Rt),se},G.prototype._getShape=function(R,W){return this.canvas.getShape(R.x,R.y,W)},G.prototype._getPointInfo=function(R){var W=this.canvas,st=W.getClientByEvent(R),Rt=W.getPointByEvent(R);return{x:Rt.x,y:Rt.y,clientX:st.x,clientY:st.y}},G.prototype._triggerEvent=function(R,W){var st=this._getPointInfo(W),Rt=this._getShape(st,W),ne=this["_on"+R],pe=!1;if(ne)ne.call(this,st,Rt,W);else{var se=this.currentShape;R==="mouseenter"||R==="dragenter"||R==="mouseover"?(this._emitEvent(R,W,st,null,null,Rt),Rt&&this._emitEvent(R,W,st,Rt,null,Rt),R==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",W,st,null)):R==="mouseleave"||R==="dragleave"||R==="mouseout"?(pe=!0,se&&this._emitEvent(R,W,st,se,se,null),this._emitEvent(R,W,st,null,se,null),R==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",W,st,null)):this._emitEvent(R,W,st,Rt,null,null)}if(pe||(this.currentShape=Rt),Rt&&!Rt.get("destroyed")){var De=this.canvas,ir=De.get("el");ir.style.cursor=Rt.attr("cursor")||De.get("cursor")}},G.prototype._onmousedown=function(R,W,st){st.button===Pn&&(this.mousedownShape=W,this.mousedownPoint=R,this.mousedownTimeStamp=st.timeStamp),this._emitEvent("mousedown",st,R,W,null,null)},G.prototype._emitMouseoverEvents=function(R,W,st,Rt){var ne=this.canvas.get("el");st!==Rt&&(st&&(this._emitEvent("mouseout",R,W,st,st,Rt),this._emitEvent("mouseleave",R,W,st,st,Rt),(!Rt||Rt.get("destroyed"))&&(ne.style.cursor=this.canvas.get("cursor"))),Rt&&(this._emitEvent("mouseover",R,W,Rt,st,Rt),this._emitEvent("mouseenter",R,W,Rt,st,Rt)))},G.prototype._emitDragoverEvents=function(R,W,st,Rt,ne){Rt?(Rt!==st&&(st&&this._emitEvent("dragleave",R,W,st,st,Rt),this._emitEvent("dragenter",R,W,Rt,st,Rt)),ne||this._emitEvent("dragover",R,W,Rt)):st&&this._emitEvent("dragleave",R,W,st,st,Rt),ne&&this._emitEvent("dragover",R,W,Rt)},G.prototype._afterDrag=function(R,W,st){R&&(R.set("capture",!0),this.draggingShape=null),this.dragging=!1;var Rt=this._getShape(W,st);Rt!==R&&this._emitMouseoverEvents(st,W,R,Rt),this.currentShape=Rt},G.prototype._onmouseup=function(R,W,st){if(st.button===Pn){var Rt=this.draggingShape;this.dragging?(Rt&&this._emitEvent("drop",st,R,W),this._emitEvent("dragend",st,R,Rt),this._afterDrag(Rt,R,st)):(this._emitEvent("mouseup",st,R,W),W===this.mousedownShape&&this._emitEvent("click",st,R,W),this.mousedownShape=null,this.mousedownPoint=null)}},G.prototype._ondragover=function(R,W,st){st.preventDefault();var Rt=this.currentShape;this._emitDragoverEvents(st,R,Rt,W,!0)},G.prototype._onmousemove=function(R,W,st){var Rt=this.canvas,ne=this.currentShape,pe=this.draggingShape;if(this.dragging)pe&&this._emitDragoverEvents(st,R,ne,W,!1),this._emitEvent("drag",st,R,pe);else{var se=this.mousedownPoint;if(se){var De=this.mousedownShape,ir=st.timeStamp,yr=ir-this.mousedownTimeStamp,Pr=se.clientX-R.clientX,gn=se.clientY-R.clientY,xr=Pr*Pr+gn*gn;yr>120||xr>Ln?De&&De.get("draggable")?(pe=this.mousedownShape,pe.set("capture",!1),this.draggingShape=pe,this.dragging=!0,this._emitEvent("dragstart",st,R,pe),this.mousedownShape=null,this.mousedownPoint=null):!De&&Rt.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",st,R,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(st,R,ne,W),this._emitEvent("mousemove",st,R,W)):(this._emitMouseoverEvents(st,R,ne,W),this._emitEvent("mousemove",st,R,W))}else this._emitMouseoverEvents(st,R,ne,W),this._emitEvent("mousemove",st,R,W)}},G.prototype._emitEvent=function(R,W,st,Rt,ne,pe){var se=this._getEventObj(R,W,st,Rt,ne,pe);if(Rt){se.shape=Rt,Or(Rt,R,se);for(var De=Rt.getParent();De;)De.emitDelegation(R,se),se.propagationStopped||dn(De,R,se),se.propagationPath.push(De),De=De.getParent()}else{var ir=this.canvas;Or(ir,R,se)}},G.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},G}(),jn=On,gi="px",Bn=(0,xt.qY)(),Xi=Bn&&Bn.name==="firefox",ka=function(G){(0,pt.ZT)(R,G);function R(W){var st=G.call(this,W)||this;return st.initContainer(),st.initDom(),st.initEvents(),st.initTimeline(),st}return R.prototype.getDefaultCfg=function(){var W=G.prototype.getDefaultCfg.call(this);return W.cursor="default",W.supportCSSTransform=!1,W},R.prototype.initContainer=function(){var W=this.get("container");(0,Gt.HD)(W)&&(W=document.getElementById(W),this.set("container",W))},R.prototype.initDom=function(){var W=this.createDom();this.set("el",W);var st=this.get("container");st.appendChild(W),this.setDOMSize(this.get("width"),this.get("height"))},R.prototype.initEvents=function(){var W=new jn({canvas:this});W.init(),this.set("eventController",W)},R.prototype.initTimeline=function(){var W=new Lr(this);this.set("timeline",W)},R.prototype.setDOMSize=function(W,st){var Rt=this.get("el");Gt.jU&&(Rt.style.width=W+gi,Rt.style.height=st+gi)},R.prototype.changeSize=function(W,st){this.setDOMSize(W,st),this.set("width",W),this.set("height",st),this.onCanvasChange("changeSize")},R.prototype.getRenderer=function(){return this.get("renderer")},R.prototype.getCursor=function(){return this.get("cursor")},R.prototype.setCursor=function(W){this.set("cursor",W);var st=this.get("el");Gt.jU&&st&&(st.style.cursor=W)},R.prototype.getPointByEvent=function(W){var st=this.get("supportCSSTransform");if(st){if(Xi&&!(0,Gt.kK)(W.layerX)&&W.layerX!==W.offsetX)return{x:W.layerX,y:W.layerY};if(!(0,Gt.kK)(W.offsetX))return{x:W.offsetX,y:W.offsetY}}var Rt=this.getClientByEvent(W),ne=Rt.x,pe=Rt.y;return this.getPointByClient(ne,pe)},R.prototype.getClientByEvent=function(W){var st=W;return W.touches&&(W.type==="touchend"?st=W.changedTouches[0]:st=W.touches[0]),{x:st.clientX,y:st.clientY}},R.prototype.getPointByClient=function(W,st){var Rt=this.get("el"),ne=Rt.getBoundingClientRect();return{x:W-ne.left,y:st-ne.top}},R.prototype.getClientByPoint=function(W,st){var Rt=this.get("el"),ne=Rt.getBoundingClientRect();return{x:W+ne.left,y:st+ne.top}},R.prototype.draw=function(){},R.prototype.removeDom=function(){var W=this.get("el");W.parentNode.removeChild(W)},R.prototype.clearEvents=function(){var W=this.get("eventController");W.destroy()},R.prototype.isCanvas=function(){return!0},R.prototype.getParent=function(){return null},R.prototype.destroy=function(){var W=this.get("timeline");this.get("destroyed")||(this.clear(),W&&W.stop(),this.clearEvents(),this.removeDom(),G.prototype.destroy.call(this))},R}(Jt.Z),La=ka},37153:function(Ie,re,et){"use strict";var pt=et(97582),xt=et(29881),Jt=et(77341),Gt={},It="_INDEX";function Ft(Ot,ct){if(Ot.set("canvas",ct),Ot.isGroup()){var d=Ot.get("children");d.length&&d.forEach(function(f){Ft(f,ct)})}}function gt(Ot,ct){if(Ot.set("timeline",ct),Ot.isGroup()){var d=Ot.get("children");d.length&&d.forEach(function(f){gt(f,ct)})}}function wt(Ot,ct){var d=Ot.getChildren();return d.indexOf(ct)>=0}function At(Ot,ct,d){d===void 0&&(d=!0),d?ct.destroy():(ct.set("parent",null),ct.set("canvas",null)),(0,Jt.As)(Ot.getChildren(),ct)}function ee(Ot){return function(ct,d){var f=Ot(ct,d);return f===0?ct[It]-d[It]:f}}var zt=function(Ot){(0,pt.ZT)(ct,Ot);function ct(){return Ot!==null&&Ot.apply(this,arguments)||this}return ct.prototype.isCanvas=function(){return!1},ct.prototype.getBBox=function(){var d=1/0,f=-1/0,rt=1/0,tt=-1/0,bt=this.getChildren().filter(function(Z){return Z.get("visible")&&(!Z.isGroup()||Z.isGroup()&&Z.getChildren().length>0)});bt.length>0?(0,Jt.S6)(bt,function(Z){var ot=Z.getBBox(),Ct=ot.minX,Vt=ot.maxX,Kt=ot.minY,te=ot.maxY;Ctf&&(f=Vt),Kttt&&(tt=te)}):(d=0,f=0,rt=0,tt=0);var St={x:d,y:rt,minX:d,minY:rt,maxX:f,maxY:tt,width:f-d,height:tt-rt};return St},ct.prototype.getCanvasBBox=function(){var d=1/0,f=-1/0,rt=1/0,tt=-1/0,bt=this.getChildren().filter(function(Z){return Z.get("visible")&&(!Z.isGroup()||Z.isGroup()&&Z.getChildren().length>0)});bt.length>0?(0,Jt.S6)(bt,function(Z){var ot=Z.getCanvasBBox(),Ct=ot.minX,Vt=ot.maxX,Kt=ot.minY,te=ot.maxY;Ctf&&(f=Vt),Kttt&&(tt=te)}):(d=0,f=0,rt=0,tt=0);var St={x:d,y:rt,minX:d,minY:rt,maxX:f,maxY:tt,width:f-d,height:tt-rt};return St},ct.prototype.getDefaultCfg=function(){var d=Ot.prototype.getDefaultCfg.call(this);return d.children=[],d},ct.prototype.onAttrChange=function(d,f,rt){if(Ot.prototype.onAttrChange.call(this,d,f,rt),d==="matrix"){var tt=this.getTotalMatrix();this._applyChildrenMarix(tt)}},ct.prototype.applyMatrix=function(d){var f=this.getTotalMatrix();Ot.prototype.applyMatrix.call(this,d);var rt=this.getTotalMatrix();rt!==f&&this._applyChildrenMarix(rt)},ct.prototype._applyChildrenMarix=function(d){var f=this.getChildren();(0,Jt.S6)(f,function(rt){rt.applyMatrix(d)})},ct.prototype.addShape=function(){for(var d=[],f=0;f=0;St--){var Z=d[St];if((0,Jt.pP)(Z)&&(Z.isGroup()?bt=Z.getShape(f,rt,tt):Z.isHit(f,rt)&&(bt=Z)),bt)break}return bt},ct.prototype.add=function(d){var f=this.getCanvas(),rt=this.getChildren(),tt=this.get("timeline"),bt=d.getParent();bt&&At(bt,d,!1),d.set("parent",this),f&&Ft(d,f),tt&>(d,tt),rt.push(d),d.onCanvasChange("add"),this._applyElementMatrix(d)},ct.prototype._applyElementMatrix=function(d){var f=this.getTotalMatrix();f&&d.applyMatrix(f)},ct.prototype.getChildren=function(){return this.get("children")||[]},ct.prototype.sort=function(){var d=this.getChildren();(0,Jt.S6)(d,function(f,rt){return f[It]=rt,f}),d.sort(ee(function(f,rt){return f.get("zIndex")-rt.get("zIndex")})),this.onCanvasChange("sort")},ct.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var d=this.getChildren(),f=d.length-1;f>=0;f--)d[f].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},ct.prototype.destroy=function(){this.get("destroyed")||(this.clear(),Ot.prototype.destroy.call(this))},ct.prototype.getFirst=function(){return this.getChildByIndex(0)},ct.prototype.getLast=function(){var d=this.getChildren();return this.getChildByIndex(d.length-1)},ct.prototype.getChildByIndex=function(d){var f=this.getChildren();return f[d]},ct.prototype.getCount=function(){var d=this.getChildren();return d.length},ct.prototype.contain=function(d){var f=this.getChildren();return f.indexOf(d)>-1},ct.prototype.removeChild=function(d,f){f===void 0&&(f=!0),this.contain(d)&&d.remove(f)},ct.prototype.findAll=function(d){var f=[],rt=this.getChildren();return(0,Jt.S6)(rt,function(tt){d(tt)&&f.push(tt),tt.isGroup()&&(f=f.concat(tt.findAll(d)))}),f},ct.prototype.find=function(d){var f=null,rt=this.getChildren();return(0,Jt.S6)(rt,function(tt){if(d(tt)?f=tt:tt.isGroup()&&(f=tt.find(d)),f)return!1}),f},ct.prototype.findById=function(d){return this.find(function(f){return f.get("id")===d})},ct.prototype.findByClassName=function(d){return this.find(function(f){return f.get("className")===d})},ct.prototype.findAllByName=function(d){return this.findAll(function(f){return f.get("name")===d})},ct}(xt.Z);re.Z=zt},29881:function(Ie,re,et){"use strict";var pt=et(97582),xt=et(45098),Jt=et(31506),Gt=et(77341),It=et(41482),Ft=et(2667),gt=Jt.vs,wt="matrix",At=["zIndex","capture","visible","type"],ee=["repeat"],zt=":",Ot="*";function ct(bt){for(var St=[],Z=0;ZKt.delay&&(0,xt.S6)(St.toAttrs,function(te,we){Vt.call(Kt.toAttrs,we)&&(delete Kt.toAttrs[we],delete Kt.fromAttrs[we])})}),bt}var tt=function(bt){(0,pt.ZT)(St,bt);function St(Z){var ot=bt.call(this,Z)||this;ot.attrs={};var Ct=ot.getDefaultAttrs();return(0,xt.CD)(Ct,Z.attrs),ot.attrs=Ct,ot.initAttrs(Ct),ot.initAnimate(),ot}return St.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},St.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},St.prototype.onCanvasChange=function(Z){},St.prototype.initAttrs=function(Z){},St.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},St.prototype.isGroup=function(){return!1},St.prototype.getParent=function(){return this.get("parent")},St.prototype.getCanvas=function(){return this.get("canvas")},St.prototype.attr=function(){for(var Z,ot=[],Ct=0;Ct0?Vt=rt(Vt,H):Ct.addAnimator(this),Vt.push(H),this.set("animations",Vt),this.set("_pause",{isPaused:!1})}},St.prototype.stopAnimate=function(Z){var ot=this;Z===void 0&&(Z=!0);var Ct=this.get("animations");(0,xt.S6)(Ct,function(Vt){Z&&(Vt.onFrame?ot.attr(Vt.onFrame(1)):ot.attr(Vt.toAttrs)),Vt.callback&&Vt.callback()}),this.set("animating",!1),this.set("animations",[])},St.prototype.pauseAnimate=function(){var Z=this.get("timeline"),ot=this.get("animations"),Ct=Z.getTime();return(0,xt.S6)(ot,function(Vt){Vt._paused=!0,Vt._pauseTime=Ct,Vt.pauseCallback&&Vt.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:Ct}),this},St.prototype.resumeAnimate=function(){var Z=this.get("timeline"),ot=Z.getTime(),Ct=this.get("animations"),Vt=this.get("_pause").pauseTime;return(0,xt.S6)(Ct,function(Kt){Kt.startTime=Kt.startTime+(ot-Vt),Kt._paused=!1,Kt._pauseTime=null,Kt.resumeCallback&&Kt.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",Ct),this},St.prototype.emitDelegation=function(Z,ot){var Ct=this,Vt=ot.propagationPath,Kt=this.getEvents(),te;Z==="mouseenter"?te=ot.fromShape:Z==="mouseleave"&&(te=ot.toShape);for(var we=function(Tt){var ht=Vt[Tt],it=ht.get("name");if(it){if((ht.isGroup()||ht.isCanvas&&ht.isCanvas())&&te&&(0,Gt.UY)(ht,te))return"break";(0,xt.kJ)(it)?(0,xt.S6)(it,function(T){Ct.emitDelegateEvent(ht,T,ot)}):ft.emitDelegateEvent(ht,it,ot)}},ft=this,Pt=0;Pt=gt&&At.minY<=wt&&At.maxY>=wt},Ft.prototype.afterAttrsChange=function(gt){It.prototype.afterAttrsChange.call(this,gt),this.clearCacheBBox()},Ft.prototype.getBBox=function(){var gt=this.cfg.bbox;return gt||(gt=this.calculateBBox(),this.set("bbox",gt)),gt},Ft.prototype.getCanvasBBox=function(){var gt=this.cfg.canvasBBox;return gt||(gt=this.calculateCanvasBBox(),this.set("canvasBBox",gt)),gt},Ft.prototype.applyMatrix=function(gt){It.prototype.applyMatrix.call(this,gt),this.set("canvasBBox",null)},Ft.prototype.calculateCanvasBBox=function(){var gt=this.getBBox(),wt=this.getTotalMatrix(),At=gt.minX,ee=gt.minY,zt=gt.maxX,Ot=gt.maxY;if(wt){var ct=(0,Jt.rG)(wt,[gt.minX,gt.minY]),d=(0,Jt.rG)(wt,[gt.maxX,gt.minY]),f=(0,Jt.rG)(wt,[gt.minX,gt.maxY]),rt=(0,Jt.rG)(wt,[gt.maxX,gt.maxY]);At=Math.min(ct[0],d[0],f[0],rt[0]),zt=Math.max(ct[0],d[0],f[0],rt[0]),ee=Math.min(ct[1],d[1],f[1],rt[1]),Ot=Math.max(ct[1],d[1],f[1],rt[1])}var tt=this.attrs;if(tt.shadowColor){var bt=tt.shadowBlur,St=bt===void 0?0:bt,Z=tt.shadowOffsetX,ot=Z===void 0?0:Z,Ct=tt.shadowOffsetY,Vt=Ct===void 0?0:Ct,Kt=At-St+ot,te=zt+St+ot,we=ee-St+Vt,ft=Ot+St+Vt;At=Math.min(At,Kt),zt=Math.max(zt,te),ee=Math.min(ee,we),Ot=Math.max(Ot,ft)}return{x:At,y:ee,minX:At,minY:ee,maxX:zt,maxY:Ot,width:zt-At,height:Ot-ee}},Ft.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},Ft.prototype.isClipShape=function(){return this.get("isClipShape")},Ft.prototype.isInShape=function(gt,wt){return!1},Ft.prototype.isOnlyHitBox=function(){return!1},Ft.prototype.isHit=function(gt,wt){var At=this.get("startArrowShape"),ee=this.get("endArrowShape"),zt=[gt,wt,1];zt=this.invertFromMatrix(zt);var Ot=zt[0],ct=zt[1],d=this._isInBBox(Ot,ct);return this.isOnlyHitBox()?d:!!(d&&!this.isClipped(Ot,ct)&&(this.isInShape(Ot,ct)||At&&At.isHit(Ot,ct)||ee&&ee.isHit(Ot,ct)))},Ft}(xt.Z);re.Z=Gt},93924:function(Ie,re,et){"use strict";et.d(re,{_:function(){return P},C:function(){return N}});var pt={};et.r(pt),et.d(pt,{easeBack:function(){return L},easeBackIn:function(){return b},easeBackInOut:function(){return L},easeBackOut:function(){return k},easeBounce:function(){return Y},easeBounceIn:function(){return yt},easeBounceInOut:function(){return V},easeBounceOut:function(){return Y},easeCircle:function(){return Kt},easeCircleIn:function(){return Ct},easeCircleInOut:function(){return Kt},easeCircleOut:function(){return Vt},easeCubic:function(){return wt},easeCubicIn:function(){return Ft},easeCubicInOut:function(){return wt},easeCubicOut:function(){return gt},easeElastic:function(){return F},easeElasticIn:function(){return I},easeElasticInOut:function(){return C},easeElasticOut:function(){return F},easeExp:function(){return ot},easeExpIn:function(){return St},easeExpInOut:function(){return ot},easeExpOut:function(){return Z},easeLinear:function(){return xt},easePoly:function(){return Ot},easePolyIn:function(){return ee},easePolyInOut:function(){return Ot},easePolyOut:function(){return zt},easeQuad:function(){return It},easeQuadIn:function(){return Jt},easeQuadInOut:function(){return It},easeQuadOut:function(){return Gt},easeSin:function(){return tt},easeSinIn:function(){return f},easeSinInOut:function(){return tt},easeSinOut:function(){return rt}});function xt(O){return+O}function Jt(O){return O*O}function Gt(O){return O*(2-O)}function It(O){return((O*=2)<=1?O*O:--O*(2-O)+1)/2}function Ft(O){return O*O*O}function gt(O){return--O*O*O+1}function wt(O){return((O*=2)<=1?O*O*O:(O-=2)*O*O+2)/2}var At=3,ee=function O(q){q=+q;function K(mt){return Math.pow(mt,q)}return K.exponent=O,K}(At),zt=function O(q){q=+q;function K(mt){return 1-Math.pow(1-mt,q)}return K.exponent=O,K}(At),Ot=function O(q){q=+q;function K(mt){return((mt*=2)<=1?Math.pow(mt,q):2-Math.pow(2-mt,q))/2}return K.exponent=O,K}(At),ct=Math.PI,d=ct/2;function f(O){return+O==1?1:1-Math.cos(O*d)}function rt(O){return Math.sin(O*d)}function tt(O){return(1-Math.cos(ct*O))/2}function bt(O){return(Math.pow(2,-10*O)-.0009765625)*1.0009775171065494}function St(O){return bt(1-+O)}function Z(O){return 1-bt(O)}function ot(O){return((O*=2)<=1?bt(1-O):2-bt(O-1))/2}function Ct(O){return 1-Math.sqrt(1-O*O)}function Vt(O){return Math.sqrt(1- --O*O)}function Kt(O){return((O*=2)<=1?1-Math.sqrt(1-O*O):Math.sqrt(1-(O-=2)*O)+1)/2}var te=4/11,we=6/11,ft=8/11,Pt=3/4,Lt=9/11,Tt=10/11,ht=15/16,it=21/22,T=63/64,z=1/te/te;function yt(O){return 1-Y(1-O)}function Y(O){return(O=+O)1){var kt=at[0].charAt(0);at.splice(1,0,at[0].substr(1)),at[0]=kt}(0,ct.S6)(at,function(Ht,Bt){isNaN(Ht)||(at[Bt]=+Ht)}),X[vt]=at}),X}var tt=rt;function bt($,X,at){var vt=null,kt=at;return X=0;Et--)Bt=Ht[Et].index,Ht[Et].type==="add"?$.splice(Bt,0,[].concat($[Bt])):$.splice(Bt,1)}if(vt=$.length,vt2&&(at.push([kt].concat(Bt.splice(0,2))),Zt="l",kt=kt==="m"?"l":"L"),Zt==="o"&&Bt.length===1&&at.push([kt,Bt[0]]),Zt==="r")at.push([kt].concat(Bt));else for(;Bt.length>=X[Zt]&&(at.push([kt].concat(Bt.splice(0,X[Zt]))),!!X[Zt]););return""}),at}var te=/[a-z]/;function we($,X){return[X[0]+(X[0]-$[0]),X[1]+(X[1]-$[1])]}function ft($){var X=parsePathString($);if(!X||!X.length)return[["M",0,0]];for(var at=!1,vt=0;vt=0){at=!0;break}}if(!at)return X;var Ht=[],Bt=0,Zt=0,Et=0,Qt=0,Xt=0,ge,Me,le=X[0];(le[0]==="M"||le[0]==="m")&&(Bt=+le[1],Zt=+le[2],Et=Bt,Qt=Zt,Xt++,Ht[0]=["M",Bt,Zt]);for(var vt=Xt,xe=X.length;vt1&&(Ht=1),Ht<-1&&(Ht=-1),kt*Math.acos(Ht)},it=function($,X,at,vt,kt,Ht,Bt,Zt,Et,Qt,Xt,ge){var Me=Math.pow(kt,2),le=Math.pow(Ht,2),xe=Math.pow(Xt,2),Ce=Math.pow(ge,2),Se=Me*le-Me*Ce-le*xe;Se<0&&(Se=0),Se/=Me*Ce+le*xe,Se=Math.sqrt(Se)*(Bt===Zt?-1:1);var ae=Se*kt/Ht*ge,Fe=Se*-Ht/kt*Xt,Ve=Qt*ae-Et*Fe+($+at)/2,ke=Et*ae+Qt*Fe+(X+vt)/2,ze=(Xt-ae)/kt,$e=(ge-Fe)/Ht,Je=(-Xt-ae)/kt,gr=(-ge-Fe)/Ht,Dr=ht(1,0,ze,$e),Sr=ht(ze,$e,Je,gr);return Zt===0&&Sr>0&&(Sr-=Pt),Zt===1&&Sr<0&&(Sr+=Pt),[Ve,ke,Dr,Sr]},T=function($){var X=$.px,at=$.py,vt=$.cx,kt=$.cy,Ht=$.rx,Bt=$.ry,Zt=$.xAxisRotation,Et=Zt===void 0?0:Zt,Qt=$.largeArcFlag,Xt=Qt===void 0?0:Qt,ge=$.sweepFlag,Me=ge===void 0?0:ge,le=[];if(Ht===0||Bt===0)return[{x1:0,y1:0,x2:0,y2:0,x:vt,y:kt}];var xe=Math.sin(Et*Pt/360),Ce=Math.cos(Et*Pt/360),Se=Ce*(X-vt)/2+xe*(at-kt)/2,ae=-xe*(X-vt)/2+Ce*(at-kt)/2;if(Se===0&&ae===0)return[{x1:0,y1:0,x2:0,y2:0,x:vt,y:kt}];Ht=Math.abs(Ht),Bt=Math.abs(Bt);var Fe=Math.pow(Se,2)/Math.pow(Ht,2)+Math.pow(ae,2)/Math.pow(Bt,2);Fe>1&&(Ht*=Math.sqrt(Fe),Bt*=Math.sqrt(Fe));var Ve=it(X,at,vt,kt,Ht,Bt,Xt,Me,xe,Ce,Se,ae),ke=Ve[0],ze=Ve[1],$e=Ve[2],Je=Ve[3],gr=Math.abs(Je)/(Pt/4);Math.abs(1-gr)<1e-7&&(gr=1);var Dr=Math.max(Math.ceil(gr),1);Je/=Dr;for(var Sr=0;Sr7){$[at].shift();for(var vt=$[at],kt=at;vt.length;)X[at]="A",$.splice(kt+=1,0,["C"].concat(vt.splice(0,6)));$.splice(at,1)}}var H=function($,X,at,vt,kt){var Ht=-3*X+9*at-9*vt+3*kt,Bt=$*Ht+6*X-12*at+6*vt;return $*Bt-3*X+3*at},b=function($,X,at,vt,kt,Ht,Bt,Zt,Et){Et===null&&(Et=1),Et=Et>1?1:Et<0?0:Et;for(var Qt=Et/2,Xt=12,ge=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Me=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],le=0,xe=0;xe0&&le<1&&Et.push(le);continue}var Ce=ge*ge-4*Me*Xt,Se=Math.sqrt(Ce);if(!(Ce<0)){var ae=(-ge+Se)/(2*Xt);ae>0&&ae<1&&Et.push(ae);var Fe=(-ge-Se)/(2*Xt);Fe>0&&Fe<1&&Et.push(Fe)}}for(var Ve=Et.length,ke=Ve,ze;Ve--;)le=Et[Ve],ze=1-le,Qt[0][Ve]=ze*ze*ze*$+3*ze*ze*le*at+3*ze*le*le*kt+le*le*le*Bt,Qt[1][Ve]=ze*ze*ze*X+3*ze*ze*le*vt+3*ze*le*le*Ht+le*le*le*Zt;return Qt[0][ke]=$,Qt[1][ke]=X,Qt[0][ke+1]=Bt,Qt[1][ke+1]=Zt,Qt[0].length=Qt[1].length=ke+2,{min:{x:Math.min.apply(0,Qt[0]),y:Math.min.apply(0,Qt[1])},max:{x:Math.max.apply(0,Qt[0]),y:Math.max.apply(0,Qt[1])}}},L=function($,X,at,vt,kt,Ht,Bt,Zt){if(!(Math.max($,at)Math.max(kt,Bt)||Math.max(X,vt)Math.max(Ht,Zt))){var Et=($*vt-X*at)*(kt-Bt)-($-at)*(kt*Zt-Ht*Bt),Qt=($*vt-X*at)*(Ht-Zt)-(X-vt)*(kt*Zt-Ht*Bt),Xt=($-at)*(Ht-Zt)-(X-vt)*(kt-Bt);if(!!Xt){var ge=Et/Xt,Me=Qt/Xt,le=+ge.toFixed(2),xe=+Me.toFixed(2);if(!(le<+Math.min($,at).toFixed(2)||le>+Math.max($,at).toFixed(2)||le<+Math.min(kt,Bt).toFixed(2)||le>+Math.max(kt,Bt).toFixed(2)||xe<+Math.min(X,vt).toFixed(2)||xe>+Math.max(X,vt).toFixed(2)||xe<+Math.min(Ht,Zt).toFixed(2)||xe>+Math.max(Ht,Zt).toFixed(2)))return{x:ge,y:Me}}}},_=function($,X,at){return X>=$.x&&X<=$.x+$.width&&at>=$.y&&at<=$.y+$.height},j=function($,X,at,vt){return $===null&&($=X=at=vt=0),X===null&&(X=$.y,at=$.width,vt=$.height,$=$.x),{x:$,y:X,width:at,w:at,height:vt,h:vt,x2:$+at,y2:X+vt,cx:$+at/2,cy:X+vt/2,r1:Math.min(at,vt)/2,r2:Math.max(at,vt)/2,r0:Math.sqrt(at*at+vt*vt)/2,path:rectPath($,X,at,vt),vb:[$,X,at,vt].join(" ")}},nt=function($,X){return $=j($),X=j(X),_(X,$.x,$.y)||_(X,$.x2,$.y)||_(X,$.x,$.y2)||_(X,$.x2,$.y2)||_($,X.x,X.y)||_($,X.x2,X.y)||_($,X.x,X.y2)||_($,X.x2,X.y2)||($.xX.x||X.x<$.x2&&X.x>$.x)&&($.yX.y||X.y<$.y2&&X.y>$.y)},I=function($,X,at,vt,kt,Ht,Bt,Zt){isArray($)||($=[$,X,at,vt,kt,Ht,Bt,Zt]);var Et=k.apply(null,$);return j(Et.min.x,Et.min.y,Et.max.x-Et.min.x,Et.max.y-Et.min.y)},F=function($,X,at,vt,kt,Ht,Bt,Zt,Et){var Qt=1-Et,Xt=Math.pow(Qt,3),ge=Math.pow(Qt,2),Me=Et*Et,le=Me*Et,xe=Xt*$+ge*3*Et*at+Qt*3*Et*Et*kt+le*Bt,Ce=Xt*X+ge*3*Et*vt+Qt*3*Et*Et*Ht+le*Zt,Se=$+2*Et*(at-$)+Me*(kt-2*at+$),ae=X+2*Et*(vt-X)+Me*(Ht-2*vt+X),Fe=at+2*Et*(kt-at)+Me*(Bt-2*kt+at),Ve=vt+2*Et*(Ht-vt)+Me*(Zt-2*Ht+vt),ke=Qt*$+Et*at,ze=Qt*X+Et*vt,$e=Qt*kt+Et*Bt,Je=Qt*Ht+Et*Zt,gr=90-Math.atan2(Se-Fe,ae-Ve)*180/Math.PI;return{x:xe,y:Ce,m:{x:Se,y:ae},n:{x:Fe,y:Ve},start:{x:ke,y:ze},end:{x:$e,y:Je},alpha:gr}},C=function($,X,at){var vt=I($),kt=I(X);if(!nt(vt,kt))return at?0:[];for(var Ht=b.apply(0,$),Bt=b.apply(0,X),Zt=~~(Ht/8),Et=~~(Bt/8),Qt=[],Xt=[],ge={},Me=at?0:[],le=0;le=0&&Je<=1&&gr>=0&&gr<=1&&(at?Me++:Me.push({x:$e.x,y:$e.y,t1:Je,t2:gr}))}}return Me},E=function($,X,at){$=path2Curve($),X=path2Curve(X);for(var vt,kt,Ht,Bt,Zt,Et,Qt,Xt,ge,Me,le=at?0:[],xe=0,Ce=$.length;xe1&&(at*=Math.sqrt(le),vt*=Math.sqrt(le));var xe=at*at*(Me*Me)+vt*vt*(ge*ge),Ce=xe?Math.sqrt((at*at*(vt*vt)-xe)/xe):1;Ht===Bt&&(Ce*=-1),isNaN(Ce)&&(Ce=0);var Se=vt?Ce*at*Me/vt:0,ae=at?Ce*-vt*ge/at:0,Fe=(Zt+Qt)/2+Math.cos(kt)*Se-Math.sin(kt)*ae,Ve=(Et+Xt)/2+Math.sin(kt)*Se+Math.cos(kt)*ae,ke=[(ge-Se)/at,(Me-ae)/vt],ze=[(-1*ge-Se)/at,(-1*Me-ae)/vt],$e=q([1,0],ke),Je=q(ke,ze);return O(ke,ze)<=-1&&(Je=Math.PI),O(ke,ze)>=1&&(Je=0),Bt===0&&Je>0&&(Je=Je-2*Math.PI),Bt===1&&Je<0&&(Je=Je+2*Math.PI),{cx:Fe,cy:Ve,rx:K($,[Qt,Xt])?0:at,ry:K($,[Qt,Xt])?0:vt,startAngle:$e,endAngle:$e+Je,xRotation:kt,arcFlag:Ht,sweepFlag:Bt}}function qt($,X){return[X[0]+(X[0]-$[0]),X[1]+(X[1]-$[1])]}function Wt($){$=tt($);for(var X=[],at=null,vt=null,kt=null,Ht=0,Bt=$.length,Zt=0;Zt1){var Bt=$[0],Zt=$[at-1];X.push({from:{x:Zt[0],y:Zt[1]},to:{x:Bt[0],y:Bt[1]}})}return X}function $t($,X){var at=!1;return each($,function(vt){if(getLineIntersect(vt.from,vt.to,X.from,X.to))return at=!0,!1}),at}function Ut($){var X=$.map(function(vt){return vt[0]}),at=$.map(function(vt){return vt[1]});return{minX:Math.min.apply(null,X),maxX:Math.max.apply(null,X),minY:Math.min.apply(null,at),maxY:Math.max.apply(null,at)}}function oe($,X){return!(X.minX>$.maxX||X.maxX<$.minX||X.minY>$.maxY||X.maxY<$.minY)}function Pe($,X){if($.length<2||X.length<2)return!1;var at=Ut($),vt=Ut(X);if(!oe(at,vt))return!1;var kt=!1;if(each(X,function(Et){if(isPointInPolygon($,Et[0],Et[1]))return kt=!0,!1}),kt||(each($,function(Et){if(isPointInPolygon(X,Et[0],Et[1]))return kt=!0,!1}),kt))return!0;var Ht=ce($),Bt=ce(X),Zt=!1;return each(Bt,function(Et){if($t(Ht,Et))return Zt=!0,!1}),Zt}function Ue($,X){for(var at=[],vt=[],kt=[],Ht=0;Ht<$.length;Ht++){var Bt=$[Ht],Zt=Bt.currentPoint,Et=Bt.params,Qt=Bt.prePoint,Xt=void 0;switch(Bt.command){case"Q":Xt=Ft.lD.box(Qt[0],Qt[1],Et[1],Et[2],Et[3],Et[4]);break;case"C":Xt=Ft.Ll.box(Qt[0],Qt[1],Et[1],Et[2],Et[3],Et[4],Et[5],Et[6]);break;case"A":var ge=Bt.arcParams;Xt=Ft.wN.box(ge.cx,ge.cy,ge.rx,ge.ry,ge.xRotation,ge.startAngle,ge.endAngle);break;default:at.push(Zt[0]),vt.push(Zt[1]);break}Xt&&(Bt.box=Xt,at.push(Xt.x,Xt.x+Xt.width),vt.push(Xt.y,Xt.y+Xt.height)),X&&(Bt.command==="L"||Bt.command==="M")&&Bt.prePoint&&Bt.nextPoint&&kt.push(Bt)}at=at.filter(function(ae){return!Number.isNaN(ae)&&ae!==1/0&&ae!==-1/0}),vt=vt.filter(function(ae){return!Number.isNaN(ae)&&ae!==1/0&&ae!==-1/0});var Me=(0,ct.VV)(at),le=(0,ct.VV)(vt),xe=(0,ct.Fp)(at),Ce=(0,ct.Fp)(vt);if(kt.length===0)return{x:Me,y:le,width:xe-Me,height:Ce-le};for(var Ht=0;HtMath.PI/2?Math.PI-Qt:Qt,Xt=Xt>Math.PI/2?Math.PI-Xt:Xt;var ge={xExtra:Math.cos(Et/2-Qt)*(X/2*(1/Math.sin(Et/2)))-X/2||0,yExtra:Math.cos(Xt-Et/2)*(X/2*(1/Math.sin(Et/2)))-X/2||0};return ge}function cr($){var X=$.attr(),at=X.path,vt=X.stroke,kt=vt?X.lineWidth:0,Ht=$.get("segments")||Wt(at),Bt=Ue(Ht,kt),Zt=Bt.x,Et=Bt.y,Qt=Bt.width,Xt=Bt.height,ge={minX:Zt,minY:Et,maxX:Zt+Qt,maxY:Et+Xt};return ge=wt($,ge),{x:ge.minX,y:ge.minY,width:ge.maxX-ge.minX,height:ge.maxY-ge.minY}}function Mr($){var X=$.attr(),at=X.x1,vt=X.y1,kt=X.x2,Ht=X.y2,Bt=Math.min(at,kt),Zt=Math.max(at,kt),Et=Math.min(vt,Ht),Qt=Math.max(vt,Ht),Xt={minX:Bt,maxX:Zt,minY:Et,maxY:Qt};return Xt=wt($,Xt),{x:Xt.minX,y:Xt.minY,width:Xt.maxX-Xt.minX,height:Xt.maxY-Xt.minY}}function kr($){var X=$.attr(),at=X.x,vt=X.y,kt=X.rx,Ht=X.ry;return{x:at-kt,y:vt-Ht,width:kt*2,height:Ht*2}}xt("rect",Gt),xt("image",Gt),xt("circle",It),xt("marker",It),xt("polyline",At),xt("polygon",ee),xt("text",Ot),xt("path",cr),xt("line",Mr),xt("ellipse",kr)},89473:function(Ie,re){"use strict";var et=function(){function pt(xt,Jt){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=xt,this.name=xt,this.originalEvent=Jt,this.timeStamp=Jt.timeStamp}return pt.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},pt.prototype.stopPropagation=function(){this.propagationStopped=!0},pt.prototype.toString=function(){var xt=this.type;return"[Event (type="+xt+")]"},pt.prototype.save=function(){},pt.prototype.restore=function(){},pt}();re.Z=et},98190:function(Ie,re,et){"use strict";et.r(re),et.d(re,{AbstractCanvas:function(){return ee.Z},AbstractGroup:function(){return zt.Z},AbstractShape:function(){return Ot.Z},Base:function(){return At.Z},Event:function(){return wt.Z},PathUtil:function(){return pt},assembleFont:function(){return d.$O},getBBoxMethod:function(){return ct.b},getOffScreenContext:function(){return tt.L},getTextHeight:function(){return d.FE},invert:function(){return rt.U_},isAllowCapture:function(){return f.pP},multiplyVec2:function(){return rt.rG},registerBBox:function(){return ct.W},registerEasing:function(){return bt.C},version:function(){return St}});var pt=et(47575),xt=et(52),Jt=et.n(xt),gt={};for(var Gt in xt)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(Gt)<0&&(gt[Gt]=function(Z){return xt[Z]}.bind(0,Gt));et.d(re,gt);var It=et(19641),Ft=et.n(It),gt={};for(var Gt in It)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(Gt)<0&&(gt[Gt]=function(ot){return It[ot]}.bind(0,Gt));et.d(re,gt);var wt=et(89473),At=et(2667),ee=et(51082),zt=et(31841),Ot=et(15032),ct=et(51784),d=et(8723),f=et(77341),rt=et(41482),tt=et(67052),bt=et(93924),St="0.5.11"},19641:function(){},52:function(){},41482:function(Ie,re,et){"use strict";et.d(re,{U_:function(){return Jt},rG:function(){return xt},xq:function(){return pt}});function pt(Gt,It){var Ft=[],gt=Gt[0],wt=Gt[1],At=Gt[2],ee=Gt[3],zt=Gt[4],Ot=Gt[5],ct=Gt[6],d=Gt[7],f=Gt[8],rt=It[0],tt=It[1],bt=It[2],St=It[3],Z=It[4],ot=It[5],Ct=It[6],Vt=It[7],Kt=It[8];return Ft[0]=rt*gt+tt*ee+bt*ct,Ft[1]=rt*wt+tt*zt+bt*d,Ft[2]=rt*At+tt*Ot+bt*f,Ft[3]=St*gt+Z*ee+ot*ct,Ft[4]=St*wt+Z*zt+ot*d,Ft[5]=St*At+Z*Ot+ot*f,Ft[6]=Ct*gt+Vt*ee+Kt*ct,Ft[7]=Ct*wt+Vt*zt+Kt*d,Ft[8]=Ct*At+Vt*Ot+Kt*f,Ft}function xt(Gt,It){var Ft=[],gt=It[0],wt=It[1];return Ft[0]=Gt[0]*gt+Gt[3]*wt+Gt[6],Ft[1]=Gt[1]*gt+Gt[4]*wt+Gt[7],Ft}function Jt(Gt){var It=[],Ft=Gt[0],gt=Gt[1],wt=Gt[2],At=Gt[3],ee=Gt[4],zt=Gt[5],Ot=Gt[6],ct=Gt[7],d=Gt[8],f=d*ee-zt*ct,rt=-d*At+zt*Ot,tt=ct*At-ee*Ot,bt=Ft*f+gt*rt+wt*tt;return bt?(bt=1/bt,It[0]=f*bt,It[1]=(-d*gt+wt*ct)*bt,It[2]=(zt*gt-wt*ee)*bt,It[3]=rt*bt,It[4]=(d*Ft-wt*Ot)*bt,It[5]=(-zt*Ft+wt*At)*bt,It[6]=tt*bt,It[7]=(-ct*Ft+gt*Ot)*bt,It[8]=(ee*Ft-gt*At)*bt,It):null}},67052:function(Ie,re,et){"use strict";et.d(re,{L:function(){return xt}});var pt=null;function xt(){if(!pt){var Jt=document.createElement("canvas");Jt.width=1,Jt.height=1,pt=Jt.getContext("2d")}return pt}},47575:function(Ie,re,et){"use strict";et.r(re),et.d(re,{catmullRomToBezier:function(){return Ft},fillPath:function(){return ht},fillPathByDiff:function(){return yt},formatPath:function(){return H},intersection:function(){return ft},parsePathArray:function(){return d},parsePathString:function(){return It},pathToAbsolute:function(){return wt},pathToCurve:function(){return Ot},rectPath:function(){return Z}});var pt=et(45098),xt=` +\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,Jt=new RegExp("([a-z])["+xt+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+xt+"]*,?["+xt+"]*)+)","ig"),Gt=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+xt+"]*,?["+xt+"]*","ig"),It=function(b){if(!b)return null;if((0,pt.kJ)(b))return b;var k={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},L=[];return String(b).replace(Jt,function(_,j,nt){var I=[],F=j.toLowerCase();if(nt.replace(Gt,function(C,E){E&&I.push(+E)}),F==="m"&&I.length>2&&(L.push([j].concat(I.splice(0,2))),F="l",j=j==="m"?"l":"L"),F==="o"&&I.length===1&&L.push([j,I[0]]),F==="r")L.push([j].concat(I));else for(;I.length>=k[F]&&(L.push([j].concat(I.splice(0,k[F]))),!!k[F]););return b}),L},Ft=function(b,k){for(var L=[],_=0,j=b.length;j-2*!k>_;_+=2){var nt=[{x:+b[_-2],y:+b[_-1]},{x:+b[_],y:+b[_+1]},{x:+b[_+2],y:+b[_+3]},{x:+b[_+4],y:+b[_+5]}];k?_?j-4===_?nt[3]={x:+b[0],y:+b[1]}:j-2===_&&(nt[2]={x:+b[0],y:+b[1]},nt[3]={x:+b[2],y:+b[3]}):nt[0]={x:+b[j-2],y:+b[j-1]}:j-4===_?nt[3]=nt[2]:_||(nt[0]={x:+b[_],y:+b[_+1]}),L.push(["C",(-nt[0].x+6*nt[1].x+nt[2].x)/6,(-nt[0].y+6*nt[1].y+nt[2].y)/6,(nt[1].x+6*nt[2].x-nt[3].x)/6,(nt[1].y+6*nt[2].y-nt[3].y)/6,nt[2].x,nt[2].y])}return L},gt=function(b,k,L,_,j){var nt=[];if(j===null&&_===null&&(_=L),b=+b,k=+k,L=+L,_=+_,j!==null){var I=Math.PI/180,F=b+L*Math.cos(-_*I),C=b+L*Math.cos(-j*I),E=k+L*Math.sin(-_*I),P=k+L*Math.sin(-j*I);nt=[["M",F,E],["A",L,L,0,+(j-_>180),0,C,P]]}else nt=[["M",b,k],["m",0,-_],["a",L,_,0,1,1,0,2*_],["a",L,_,0,1,1,0,-2*_],["z"]];return nt},wt=function(b){if(b=It(b),!b||!b.length)return[["M",0,0]];var k=[],L=0,_=0,j=0,nt=0,I=0,F,C;b[0][0]==="M"&&(L=+b[0][1],_=+b[0][2],j=L,nt=_,I++,k[0]=["M",L,_]);for(var E=b.length===3&&b[0][0]==="M"&&b[1][0].toUpperCase()==="R"&&b[2][0].toUpperCase()==="Z",P=void 0,N=void 0,O=I,q=b.length;O1&&(oe=Math.sqrt(oe),L=oe*L,_=oe*_);var Pe=L*L,Ue=_*_,Ne=(nt===I?-1:1)*Math.sqrt(Math.abs((Pe*Ue-Pe*Ut*Ut-Ue*$t*$t)/(Pe*Ut*Ut+Ue*$t*$t)));qt=Ne*L*Ut/_+(b+F)/2,Wt=Ne*-_*$t/L+(k+C)/2,K=Math.asin(((k-Wt)/_).toFixed(9)),mt=Math.asin(((C-Wt)/_).toFixed(9)),K=bmt&&(K=K-Math.PI*2),!I&&mt>K&&(mt=mt-Math.PI*2)}var cr=mt-K;if(Math.abs(cr)>P){var Mr=mt,kr=F,$=C;mt=K+P*(I&&mt>K?1:-1),F=qt+L*Math.cos(mt),C=Wt+_*Math.sin(mt),O=zt(F,C,L,_,j,0,I,kr,$,[mt,Mr,qt,Wt])}cr=mt-K;var X=Math.cos(K),at=Math.sin(K),vt=Math.cos(mt),kt=Math.sin(mt),Ht=Math.tan(cr/4),Bt=4/3*L*Ht,Zt=4/3*_*Ht,Et=[b,k],Qt=[b+Bt*at,k-Zt*X],Xt=[F+Bt*kt,C-Zt*vt],ge=[F,C];if(Qt[0]=2*Et[0]-Qt[0],Qt[1]=2*Et[1]-Qt[1],E)return[Qt,Xt,ge].concat(O);O=[Qt,Xt,ge].concat(O).join().split(",");for(var Me=[],le=0,xe=O.length;le7){$t[Ut].shift();for(var oe=$t[Ut];oe.length;)I[Ut]="A",_&&(F[Ut]="A"),$t.splice(Ut++,0,["C"].concat(oe.splice(0,6)));$t.splice(Ut,1),P=Math.max(L.length,_&&_.length||0)}},q=function($t,Ut,oe,Pe,Ue){$t&&Ut&&$t[Ue][0]==="M"&&Ut[Ue][0]!=="M"&&(Ut.splice(Ue,0,["M",Pe.x,Pe.y]),oe.bx=0,oe.by=0,oe.x=$t[Ue][1],oe.y=$t[Ue][2],P=Math.max(L.length,_&&_.length||0))};P=Math.max(L.length,_&&_.length||0);for(var K=0;K1?1:C<0?0:C;for(var E=C/2,P=12,N=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],O=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],q=0,K=0;K0&&q<1&&C.push(q);continue}var mt=N*N-4*O*P,qt=Math.sqrt(mt);if(!(mt<0)){var Wt=(-N+qt)/(2*P);Wt>0&&Wt<1&&C.push(Wt);var ce=(-N-qt)/(2*P);ce>0&&ce<1&&C.push(ce)}}for(var $t=C.length,Ut=$t,oe;$t--;)q=C[$t],oe=1-q,E[0][$t]=oe*oe*oe*b+3*oe*oe*q*L+3*oe*q*q*j+q*q*q*I,E[1][$t]=oe*oe*oe*k+3*oe*oe*q*_+3*oe*q*q*nt+q*q*q*F;return E[0][Ut]=b,E[1][Ut]=k,E[0][Ut+1]=I,E[1][Ut+1]=F,E[0].length=E[1].length=Ut+2,{min:{x:Math.min.apply(0,E[0]),y:Math.min.apply(0,E[1])},max:{x:Math.max.apply(0,E[0]),y:Math.max.apply(0,E[1])}}},bt=function(b,k,L,_,j,nt,I,F){if(!(Math.max(b,L)Math.max(j,I)||Math.max(k,_)Math.max(nt,F))){var C=(b*_-k*L)*(j-I)-(b-L)*(j*F-nt*I),E=(b*_-k*L)*(nt-F)-(k-_)*(j*F-nt*I),P=(b-L)*(nt-F)-(k-_)*(j-I);if(!!P){var N=C/P,O=E/P,q=+N.toFixed(2),K=+O.toFixed(2);if(!(q<+Math.min(b,L).toFixed(2)||q>+Math.max(b,L).toFixed(2)||q<+Math.min(j,I).toFixed(2)||q>+Math.max(j,I).toFixed(2)||K<+Math.min(k,_).toFixed(2)||K>+Math.max(k,_).toFixed(2)||K<+Math.min(nt,F).toFixed(2)||K>+Math.max(nt,F).toFixed(2)))return{x:N,y:O}}}},St=function(b,k,L){return k>=b.x&&k<=b.x+b.width&&L>=b.y&&L<=b.y+b.height},Z=function(b,k,L,_,j){if(j)return[["M",+b+ +j,k],["l",L-j*2,0],["a",j,j,0,0,1,j,j],["l",0,_-j*2],["a",j,j,0,0,1,-j,j],["l",j*2-L,0],["a",j,j,0,0,1,-j,-j],["l",0,j*2-_],["a",j,j,0,0,1,j,-j],["z"]];var nt=[["M",b,k],["l",L,0],["l",0,_],["l",-L,0],["z"]];return nt.parsePathArray=d,nt},ot=function(b,k,L,_){return b===null&&(b=k=L=_=0),k===null&&(k=b.y,L=b.width,_=b.height,b=b.x),{x:b,y:k,width:L,w:L,height:_,h:_,x2:b+L,y2:k+_,cx:b+L/2,cy:k+_/2,r1:Math.min(L,_)/2,r2:Math.max(L,_)/2,r0:Math.sqrt(L*L+_*_)/2,path:Z(b,k,L,_),vb:[b,k,L,_].join(" ")}},Ct=function(b,k){return b=ot(b),k=ot(k),St(k,b.x,b.y)||St(k,b.x2,b.y)||St(k,b.x,b.y2)||St(k,b.x2,b.y2)||St(b,k.x,k.y)||St(b,k.x2,k.y)||St(b,k.x,k.y2)||St(b,k.x2,k.y2)||(b.xk.x||k.xb.x)&&(b.yk.y||k.yb.y)},Vt=function(b,k,L,_,j,nt,I,F){(0,pt.kJ)(b)||(b=[b,k,L,_,j,nt,I,F]);var C=tt.apply(null,b);return ot(C.min.x,C.min.y,C.max.x-C.min.x,C.max.y-C.min.y)},Kt=function(b,k,L,_,j,nt,I,F,C){var E=1-C,P=Math.pow(E,3),N=Math.pow(E,2),O=C*C,q=O*C,K=P*b+N*3*C*L+E*3*C*C*j+q*I,mt=P*k+N*3*C*_+E*3*C*C*nt+q*F,qt=b+2*C*(L-b)+O*(j-2*L+b),Wt=k+2*C*(_-k)+O*(nt-2*_+k),ce=L+2*C*(j-L)+O*(I-2*j+L),$t=_+2*C*(nt-_)+O*(F-2*nt+_),Ut=E*b+C*L,oe=E*k+C*_,Pe=E*j+C*I,Ue=E*nt+C*F,Ne=90-Math.atan2(qt-ce,Wt-$t)*180/Math.PI;return{x:K,y:mt,m:{x:qt,y:Wt},n:{x:ce,y:$t},start:{x:Ut,y:oe},end:{x:Pe,y:Ue},alpha:Ne}},te=function(b,k,L){var _=Vt(b),j=Vt(k);if(!Ct(_,j))return L?0:[];for(var nt=rt.apply(0,b),I=rt.apply(0,k),F=~~(nt/8),C=~~(I/8),E=[],P=[],N={},O=L?0:[],q=0;q=0&&Ue<=1&&Ne>=0&&Ne<=1&&(L?O+=1:O.push({x:Pe.x,y:Pe.y,t1:Ue,t2:Ne}))}}return O},we=function(b,k,L){b=Ot(b),k=Ot(k);for(var _,j,nt,I,F,C,E,P,N,O,q=L?0:[],K=0,mt=b.length;K=3&&(N.length===3&&O.push("Q"),O=O.concat(N[1])),N.length===2&&O.push("L"),O=O.concat(N[N.length-1]),O});return P}var Tt=function(b,k,L){if(L===1)return[[].concat(b)];var _=[];if(k[0]==="L"||k[0]==="C"||k[0]==="Q")_=_.concat(Lt(b,k,L));else{var j=[].concat(b);j[0]==="M"&&(j[0]="L");for(var nt=0;nt<=L-1;nt++)_.push(j)}return _},ht=function(b,k){if(b.length===1)return b;var L=b.length-1,_=k.length-1,j=L/_,nt=[];if(b.length===1&&b[0][0]==="M"){for(var I=0;I<_-L;I++)b.push(b[0]);return b}for(var I=0;I<_;I++){var F=Math.floor(j*I);nt[F]=(nt[F]||0)+1}var C=nt.reduce(function(E,P,N){return N===L?E.concat(b[L]):E.concat(Tt(b[N],b[N+1],P))},[]);return C.unshift(b[0]),(k[_]==="Z"||k[_]==="z")&&C.push("Z"),C},it=function(b,k){if(b.length!==k.length)return!1;var L=!0;return(0,pt.S6)(b,function(_,j){if(_!==k[j])return L=!1,!1}),L};function T(b,k,L){var _=null,j=L;return k=0;C--)I=nt[C].index,nt[C].type==="add"?b.splice(I,0,[].concat(b[I])):b.splice(I,1)}_=b.length;var N=j-_;if(_0)L=Y(L,b[_-1],1);else{b[_]=k[_];break}b[_]=["Q"].concat(L.reduce(function(j,nt){return j.concat(nt)},[]));break;case"T":b[_]=["T"].concat(L[0]);break;case"C":if(L.length<3)if(_>0)L=Y(L,b[_-1],2);else{b[_]=k[_];break}b[_]=["C"].concat(L.reduce(function(j,nt){return j.concat(nt)},[]));break;case"S":if(L.length<2)if(_>0)L=Y(L,b[_-1],1);else{b[_]=k[_];break}b[_]=["S"].concat(L.reduce(function(j,nt){return j.concat(nt)},[]));break;default:b[_]=k[_]}return b}},8723:function(Ie,re,et){"use strict";et.d(re,{$O:function(){return Ft},FE:function(){return Jt},mY:function(){return It}});var pt=et(77341),xt=et(67052);function Jt(gt,wt,At){var ee=1;if((0,pt.HD)(gt)&&(ee=gt.split(` +`).length),ee>1){var zt=Gt(wt,At);return wt*ee+zt*(ee-1)}return wt}function Gt(gt,wt){return wt?wt-gt:gt*.14}function It(gt,wt){var At=(0,xt.L)(),ee=0;if((0,pt.kK)(gt)||gt==="")return ee;if(At.save(),At.font=wt,(0,pt.HD)(gt)&>.includes(` +`)){var zt=gt.split(` +`);(0,pt.S6)(zt,function(Ot){var ct=At.measureText(Ot).width;eeq?Jt(C,E,P,N):this.pointToLine(I,F,C,E,P,N)},pointToLine:function(I,F,C,E,P,N){var O=[C-I,E-F];if(wt.I6(O,[0,0]))return Math.sqrt((P-I)*(P-I)+(N-F)*(N-F));var q=[-O[1],O[0]];wt.Fv(q,q);var K=[P-I,N-F];return Math.abs(wt.AK(K,q))},tangentAngle:function(I,F,C,E){return Math.atan2(E-F,C-I)}},ee=1e-4;function zt(I,F,C,E,P,N){var O,q=1/0,K=[C,E],mt=20;N&&N>200&&(mt=N/10);for(var qt=1/mt,Wt=qt/10,ce=0;ce<=mt;ce++){var $t=ce*qt,Ut=[P.apply(null,I.concat([$t])),P.apply(null,F.concat([$t]))],oe=Jt(K[0],K[1],Ut[0],Ut[1]);oe=0&&oe=0?[P]:[]}function f(I,F,C,E){return 2*(1-E)*(F-I)+2*E*(C-F)}function rt(I,F,C,E,P,N,O){var q=ct(I,C,P,O),K=ct(F,E,N,O),mt=At.pointAt(I,F,C,E,O),qt=At.pointAt(C,E,P,N,O);return[[I,F,mt.x,mt.y,q,K],[q,K,qt.x,qt.y,P,N]]}function tt(I,F,C,E,P,N,O){if(O===0)return(Jt(I,F,C,E)+Jt(C,E,P,N)+Jt(I,F,P,N))/2;var q=rt(I,F,C,E,P,N,.5),K=q[0],mt=q[1];return K.push(O-1),mt.push(O-1),tt.apply(null,K)+tt.apply(null,mt)}var bt={box:function(I,F,C,E,P,N){var O=d(I,C,P)[0],q=d(F,E,N)[0],K=[I,P],mt=[F,N];return O!==void 0&&K.push(ct(I,C,P,O)),q!==void 0&&mt.push(ct(F,E,N,q)),It(K,mt)},length:function(I,F,C,E,P,N){return tt(I,F,C,E,P,N,3)},nearestPoint:function(I,F,C,E,P,N,O,q){return zt([I,C,P],[F,E,N],O,q,ct)},pointDistance:function(I,F,C,E,P,N,O,q){var K=this.nearestPoint(I,F,C,E,P,N,O,q);return Jt(K.x,K.y,O,q)},interpolationAt:ct,pointAt:function(I,F,C,E,P,N,O){return{x:ct(I,C,P,O),y:ct(F,E,N,O)}},divide:function(I,F,C,E,P,N,O){return rt(I,F,C,E,P,N,O)},tangentAngle:function(I,F,C,E,P,N,O){var q=f(I,C,P,O),K=f(F,E,N,O),mt=Math.atan2(K,q);return gt(mt)}};function St(I,F,C,E,P){var N=1-P;return N*N*N*I+3*F*P*N*N+3*C*P*P*N+E*P*P*P}function Z(I,F,C,E,P){var N=1-P;return 3*(N*N*(F-I)+2*N*P*(C-F)+P*P*(E-C))}function ot(I,F,C,E){var P=-3*I+9*F-9*C+3*E,N=6*I-12*F+6*C,O=3*F-3*I,q=[],K,mt,qt;if(Gt(P,0))Gt(N,0)||(K=-O/N,K>=0&&K<=1&&q.push(K));else{var Wt=N*N-4*P*O;Gt(Wt,0)?q.push(-N/(2*P)):Wt>0&&(qt=Math.sqrt(Wt),K=(-N+qt)/(2*P),mt=(-N-qt)/(2*P),K>=0&&K<=1&&q.push(K),mt>=0&&mt<=1&&q.push(mt))}return q}function Ct(I,F,C,E,P,N,O,q,K){var mt=St(I,C,P,O,K),qt=St(F,E,N,q,K),Wt=At.pointAt(I,F,C,E,K),ce=At.pointAt(C,E,P,N,K),$t=At.pointAt(P,N,O,q,K),Ut=At.pointAt(Wt.x,Wt.y,ce.x,ce.y,K),oe=At.pointAt(ce.x,ce.y,$t.x,$t.y,K);return[[I,F,Wt.x,Wt.y,Ut.x,Ut.y,mt,qt],[mt,qt,oe.x,oe.y,$t.x,$t.y,O,q]]}function Vt(I,F,C,E,P,N,O,q,K){if(K===0)return Ot([I,C,P,O],[F,E,N,q]);var mt=Ct(I,F,C,E,P,N,O,q,.5),qt=mt[0],Wt=mt[1];return qt.push(K-1),Wt.push(K-1),Vt.apply(null,qt)+Vt.apply(null,Wt)}var Kt={extrema:ot,box:function(I,F,C,E,P,N,O,q){for(var K=[I,O],mt=[F,q],qt=ot(I,C,P,O),Wt=ot(F,E,N,q),ce=0;ce0?C:C*-1}var we={box:function(I,F,C,E){return{x:I-C,y:F-E,width:C*2,height:E*2}},length:function(I,F,C,E){return Math.PI*(3*(C+E)-Math.sqrt((3*C+E)*(C+3*E)))},nearestPoint:function(I,F,C,E,P,N){var O=C,q=E;if(O===0||q===0)return{x:I,y:F};for(var K=P-I,mt=N-F,qt=Math.abs(K),Wt=Math.abs(mt),ce=O*O,$t=q*q,Ut=Math.PI/4,oe,Pe,Ue=0;Ue<4;Ue++){oe=O*Math.cos(Ut),Pe=q*Math.sin(Ut);var Ne=(ce-$t)*Math.pow(Math.cos(Ut),3)/O,cr=($t-ce)*Math.pow(Math.sin(Ut),3)/q,Mr=oe-Ne,kr=Pe-cr,$=qt-Ne,X=Wt-cr,at=Math.hypot(kr,Mr),vt=Math.hypot(X,$),kt=at*Math.asin((Mr*X-kr*$)/(at*vt)),Ht=kt/Math.sqrt(ce+$t-oe*oe-Pe*Pe);Ut+=Ht,Ut=Math.min(Math.PI/2,Math.max(0,Ut))}return{x:I+te(oe,K),y:F+te(Pe,mt)}},pointDistance:function(I,F,C,E,P,N){var O=this.nearestPoint(I,F,C,E,P,N);return Jt(O.x,O.y,P,N)},pointAt:function(I,F,C,E,P){var N=2*Math.PI*P;return{x:I+C*Math.cos(N),y:F+E*Math.sin(N)}},tangentAngle:function(I,F,C,E,P){var N=2*Math.PI*P,O=Math.atan2(E*Math.cos(N),-C*Math.sin(N));return gt(O)}};function ft(I,F,C,E,P,N,O,q){return-1*C*Math.cos(P)*Math.sin(q)-E*Math.sin(P)*Math.cos(q)}function Pt(I,F,C,E,P,N,O,q){return-1*C*Math.sin(P)*Math.sin(q)+E*Math.cos(P)*Math.cos(q)}function Lt(I,F,C){return Math.atan(-F/I*Math.tan(C))}function Tt(I,F,C){return Math.atan(F/(I*Math.tan(C)))}function ht(I,F,C,E,P,N){return C*Math.cos(P)*Math.cos(N)-E*Math.sin(P)*Math.sin(N)+I}function it(I,F,C,E,P,N){return C*Math.sin(P)*Math.cos(N)+E*Math.cos(P)*Math.sin(N)+F}function T(I,F,C,E){var P=Math.atan2(E*I,C*F);return(P+Math.PI*2)%(Math.PI*2)}function z(I,F,C){return{x:I*Math.cos(C),y:F*Math.sin(C)}}function yt(I,F,C){var E=Math.cos(C),P=Math.sin(C);return[I*E-F*P,I*P+F*E]}var Y={box:function(I,F,C,E,P,N,O){for(var q=Lt(C,E,P),K=1/0,mt=-1/0,qt=[N,O],Wt=-Math.PI*2;Wt<=Math.PI*2;Wt+=Math.PI){var ce=q+Wt;Nmt&&(mt=$t)}for(var Ut=Tt(C,E,P),oe=1/0,Pe=-1/0,Ue=[N,O],Wt=-Math.PI*2;Wt<=Math.PI*2;Wt+=Math.PI){var Ne=Ut+Wt;NPe&&(Pe=cr)}return{x:K,y:oe,width:mt-K,height:Pe-oe}},length:function(I,F,C,E,P,N,O){},nearestPoint:function(I,F,C,E,P,N,O,q,K){var mt=yt(q-I,K-F,-P),qt=mt[0],Wt=mt[1],ce=we.nearestPoint(0,0,C,E,qt,Wt),$t=T(C,E,ce.x,ce.y);$tO&&(ce=z(C,E,O));var Ut=yt(ce.x,ce.y,P);return{x:Ut[0]+I,y:Ut[1]+F}},pointDistance:function(I,F,C,E,P,N,O,q,K){var mt=this.nearestPoint(I,F,C,E,q,K);return Jt(mt.x,mt.y,q,K)},pointAt:function(I,F,C,E,P,N,O,q){var K=(O-N)*q+N;return{x:ht(I,F,C,E,P,K),y:it(I,F,C,E,P,K)}},tangentAngle:function(I,F,C,E,P,N,O,q){var K=(O-N)*q+N,mt=ft(I,F,C,E,P,N,O,K),qt=Pt(I,F,C,E,P,N,O,K);return gt(Math.atan2(qt,mt))}};function V(I){for(var F=0,C=[],E=0;E1||F<0||I.length<2)return null;var C=V(I),E=C.segments,P=C.totalLength;if(P===0)return{x:I[0][0],y:I[0][1]};for(var N=0,O=null,q=0;q=N&&F<=N+Wt){var ce=(F-N)/Wt;O=At.pointAt(mt[0],mt[1],qt[0],qt[1],ce);break}N+=Wt}return O}function k(I,F){if(F>1||F<0||I.length<2)return 0;for(var C=V(I),E=C.segments,P=C.totalLength,N=0,O=0,q=0;q=N&&F<=N+Wt){O=Math.atan2(qt[1]-mt[1],qt[0]-mt[0]);break}N+=Wt}return O}function L(I,F,C){for(var E=1/0,P=0;P]*>/,yt={tr:document.createElement("tbody"),tbody:it,thead:it,tfoot:it,td:T,th:T,"*":document.createElement("div")}}function V(r){it||Y();var e=z.test(r)&&RegExp.$1;(!e||!(e in yt))&&(e="*");var t=yt[e];r=typeof r=="string"?r.replace(/(^\s*)|(\s*$)/g,""):r,t.innerHTML=""+r;var n=t.childNodes[0];return n&&t.contains(n)&&t.removeChild(n),n}function H(r,e){if(r)for(var t in e)e.hasOwnProperty(t)&&(r.style[t]=e[t]);return r}function b(r){var e=getComputedStyle(r);return{width:(r.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(r.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function k(r){return typeof r=="number"&&!isNaN(r)}function L(r,e,t,n){var i=t,a=n;if(e){var o=b(r);i=o.width?o.width:i,a=o.height?o.height:a}return{width:Math.max(k(i)?i:we,we),height:Math.max(k(a)?a:ft,ft)}}function _(r){var e=r.parentNode;e&&e.removeChild(r)}var j=et(90494),nt=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this)||this;n.destroyed=!1;var i=t.visible,a=i===void 0?!0:i;return n.visible=a,n}return e.prototype.show=function(){var t=this.visible;t||this.changeVisible(!0)},e.prototype.hide=function(){var t=this.visible;t&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}(j.Z),I=nt,F=et(98190),C=0,E=1/2,P=1/2,N=.05,O=function(){function r(e){var t=e.xField,n=e.yField,i=e.adjustNames,a=i===void 0?["x","y"]:i,o=e.dimValuesMap;this.adjustNames=a,this.xField=t,this.yField=n,this.dimValuesMap=o}return r.prototype.isAdjust=function(e){return this.adjustNames.indexOf(e)>=0},r.prototype.getAdjustRange=function(e,t,n){var i=this.yField,a=n.indexOf(t),o=n.length,s,l;return!i&&this.isAdjust("y")?(s=0,l=1):o>1?(s=n[a===0?0:a-1],l=n[a===o-1?o-1:a+1],a!==0?s+=(t-s)/2:s-=(l-t)/2,a!==o-1?l-=(l-t)/2:l+=(t-n[o-2])/2):(s=t===0?0:t-.5,l=t===0?1:t+.5),{pre:s,next:l}},r.prototype.adjustData=function(e,t){var n=this,i=this.getDimValues(t);f.S6(e,function(a,o){f.S6(i,function(s,l){n.adjustDim(l,s,a,o)})})},r.prototype.groupData=function(e,t){return f.S6(e,function(n){n[t]===void 0&&(n[t]=C)}),f.vM(e,t)},r.prototype.adjustDim=function(e,t,n,i){},r.prototype.getDimValues=function(e){var t=this,n=t.xField,i=t.yField,a=f.f0({},this.dimValuesMap),o=[];if(n&&this.isAdjust("x")&&o.push(n),i&&this.isAdjust("y")&&o.push(i),o.forEach(function(l){a&&a[l]||(a[l]=f.I(e,l).sort(function(u,c){return u-c}))}),!i&&this.isAdjust("y")){var s="y";a[s]=[C,1]}return a},r}(),q=O,K={},mt=function(r){return K[r.toLowerCase()]},qt=function(r,e){if(mt(r))throw new Error("Adjust type '"+r+"' existed.");K[r.toLowerCase()]=e},Wt=et(52677),ce=et.n(Wt);var $t=function(e,t){return $t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},$t(e,t)};function Ut(r,e){$t(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var oe=function(){return oe=Object.assign||function(t){for(var n,i=1,a=arguments.length;i=0;s--)(o=r[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}function Ne(r,e){return function(t,n){e(t,n,r)}}function cr(r,e){if((typeof Reflect=="undefined"?"undefined":_typeof(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function Mr(r,e,t,n){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(c){try{u(n.next(c))}catch(h){o(h)}}function l(c){try{u(n.throw(c))}catch(h){o(h)}}function u(c){c.done?a(c.value):i(c.value).then(s,l)}u((n=n.apply(r,e||[])).next())})}function kr(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,i=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function vt(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),i,a=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return a}function kt(){for(var r=[],e=0;e1||s(v,p)})})}function s(v,p){try{l(n[v](p))}catch(g){h(a[0][3],g)}}function l(v){v.value instanceof Bt?Promise.resolve(v.value.v).then(u,c):h(a[0][2],v)}function u(v){s("next",v)}function c(v){s("throw",v)}function h(v,p){v(p),a.shift(),a.length&&s(a[0][0],a[0][1])}}function Et(r){var e,t;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,a){e[i]=r[i]?function(o){return(t=!t)?{value:Bt(r[i](o)),done:i==="return"}:a?a(o):o}:a}}function Qt(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof at=="function"?at(r):r[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(a){t[a]=r[a]&&function(o){return new Promise(function(s,l){o=r[a](o),i(s,l,o.done,o.value)})}}function i(a,o,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},o)}}function Xt(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}function ge(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)Object.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}function Me(r){return r&&r.__esModule?r:{default:r}}function le(r,e){if(!e.has(r))throw new TypeError("attempted to get private field on non-instance");return e.get(r)}function xe(r,e,t){if(!e.has(r))throw new TypeError("attempted to set private field on non-instance");return e.set(r,t),t}var Ce=function(r){Ut(e,r);function e(t){var n=r.call(this,t)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var i=t.marginRatio,a=i===void 0?E:i,o=t.dodgeRatio,s=o===void 0?P:o,l=t.dodgeBy,u=t.intervalPadding,c=t.dodgePadding,h=t.xDimensionLength,v=t.groupNum,p=t.defaultSize,g=t.maxColumnWidth,y=t.minColumnWidth,x=t.columnWidthRatio,m=t.customOffset;return n.marginRatio=a,n.dodgeRatio=s,n.dodgeBy=l,n.intervalPadding=u,n.dodgePadding=c,n.xDimensionLegenth=h,n.groupNum=v,n.defaultSize=p,n.maxColumnWidth=g,n.minColumnWidth=y,n.columnWidthRatio=x,n.customOffset=m,n}return e.prototype.process=function(t){var n=f.d9(t),i=f.xH(n),a=this.dodgeBy,o=a?f.ru(i,a):n;return this.cacheMap={},this.adjustDataArray=o,this.mergeData=i,this.adjustData(o,i),this.adjustDataArray=[],this.mergeData=[],n},e.prototype.adjustDim=function(t,n,i,a){var o=this,s=this.customOffset,l=this.getDistribution(t),u=this.groupData(i,t);return f.S6(u,function(c,h){var v;n.length===1?v={pre:n[0]-1,next:n[0]+1}:v=o.getAdjustRange(t,parseFloat(h),n),f.S6(c,function(p){var g=p[t],y=l[g],x=y.indexOf(a);if(f.UM(s))p[t]=o.getDodgeOffset(v,x,y.length);else{var m=v.pre,w=v.next;p[t]=f.mf(s)?s(p,v):(m+w)/2+s}})}),[]},e.prototype.getDodgeOffset=function(t,n,i){var a=this,o=a.dodgeRatio,s=a.marginRatio,l=a.intervalPadding,u=a.dodgePadding,c=t.pre,h=t.next,v=h-c,p;if(!f.UM(l)&&f.UM(u)&&l>=0){var g=this.getIntervalOnlyOffset(i,n);p=c+g}else if(!f.UM(u)&&f.UM(l)&&u>=0){var g=this.getDodgeOnlyOffset(i,n);p=c+g}else if(!f.UM(l)&&!f.UM(u)&&l>=0&&u>=0){var g=this.getIntervalAndDodgeOffset(i,n);p=c+g}else{var y=v*o/i,x=s*y,g=1/2*(v-i*y-(i-1)*x)+((n+1)*y+n*x)-1/2*y-1/2*v;p=(c+h)/2+g}return p},e.prototype.getIntervalOnlyOffset=function(t,n){var i=this,a=i.defaultSize,o=i.intervalPadding,s=i.xDimensionLegenth,l=i.groupNum,u=i.dodgeRatio,c=i.maxColumnWidth,h=i.minColumnWidth,v=i.columnWidthRatio,p=o/s,g=(1-(l-1)*p)/l*u/(t-1),y=((1-p*(l-1))/l-g*(t-1))/t;if(y=f.UM(v)?y:1/l/t*v,!f.UM(c)){var x=c/s;y=Math.min(y,x)}if(!f.UM(h)){var m=h/s;y=Math.max(y,m)}y=a?a/s:y,g=((1-(l-1)*p)/l-t*y)/(t-1);var w=((1/2+n)*y+n*g+1/2*p)*l-p/2;return w},e.prototype.getDodgeOnlyOffset=function(t,n){var i=this,a=i.defaultSize,o=i.dodgePadding,s=i.xDimensionLegenth,l=i.groupNum,u=i.marginRatio,c=i.maxColumnWidth,h=i.minColumnWidth,v=i.columnWidthRatio,p=o/s,g=1*u/(l-1),y=((1-g*(l-1))/l-p*(t-1))/t;if(y=v?1/l/t*v:y,!f.UM(c)){var x=c/s;y=Math.min(y,x)}if(!f.UM(h)){var m=h/s;y=Math.max(y,m)}y=a?a/s:y,g=(1-(y*t+p*(t-1))*l)/(l-1);var w=((1/2+n)*y+n*p+1/2*g)*l-g/2;return w},e.prototype.getIntervalAndDodgeOffset=function(t,n){var i=this,a=i.intervalPadding,o=i.dodgePadding,s=i.xDimensionLegenth,l=i.groupNum,u=a/s,c=o/s,h=((1-u*(l-1))/l-c*(t-1))/t,v=((1/2+n)*h+n*c+1/2*u)*l-u/2;return v},e.prototype.getDistribution=function(t){var n=this.adjustDataArray,i=this.cacheMap,a=i[t];return a||(a={},f.S6(n,function(o,s){var l=f.I(o,t);l.length||l.push(0),f.S6(l,function(u){a[u]||(a[u]=[]),a[u].push(s)})}),i[t]=a),a},e}(q),Se=Ce;function ae(r,e){return(e-r)*Math.random()+r}var Fe=function(r){Ut(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var n=f.d9(t),i=f.xH(n);return this.adjustData(n,i),n},e.prototype.adjustDim=function(t,n,i){var a=this,o=this.groupData(i,t);return f.S6(o,function(s,l){return a.adjustGroup(s,t,parseFloat(l),n)})},e.prototype.getAdjustOffset=function(t){var n=t.pre,i=t.next,a=(i-n)*N;return ae(n+a,i-a)},e.prototype.adjustGroup=function(t,n,i,a){var o=this,s=this.getAdjustRange(n,i,a);return f.S6(t,function(l){l[n]=o.getAdjustOffset(s)}),t},e}(q),Ve=Fe,ke=f.Ct,ze=function(r){Ut(e,r);function e(t){var n=r.call(this,t)||this,i=t.adjustNames,a=i===void 0?["y"]:i,o=t.height,s=o===void 0?NaN:o,l=t.size,u=l===void 0?10:l,c=t.reverseOrder,h=c===void 0?!1:c;return n.adjustNames=a,n.height=s,n.size=u,n.reverseOrder=h,n}return e.prototype.process=function(t){var n=this,i=n.yField,a=n.reverseOrder,o=i?this.processStack(t):this.processOneDimStack(t);return a?this.reverse(o):o},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var n=this,i=n.xField,a=n.yField,o=n.reverseOrder,s=o?this.reverse(t):t,l=new ke,u=new ke;return s.map(function(c){return c.map(function(h){var v,p=f.U2(h,i,0),g=f.U2(h,[a]),y=p.toString();if(g=f.kJ(g)?g[1]:g,!f.UM(g)){var x=g>=0?l:u;x.has(y)||x.set(y,0);var m=x.get(y),w=g+m;return x.set(y,w),oe(oe({},h),(v={},v[a]=[m,w],v))}return h})})},e.prototype.processOneDimStack=function(t){var n=this,i=this,a=i.xField,o=i.height,s=i.reverseOrder,l="y",u=s?this.reverse(t):t,c=new ke;return u.map(function(h){return h.map(function(v){var p,g=n.size,y=v[a],x=g*2/o;c.has(y)||c.set(y,x/2);var m=c.get(y);return c.set(y,m+x),oe(oe({},v),(p={},p[l]=m,p))})})},e}(q),$e=ze,Je=function(r){Ut(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var n=f.xH(t),i=this,a=i.xField,o=i.yField,s=this.getXValuesMaxMap(n),l=Math.max.apply(Math,Object.keys(s).map(function(u){return s[u]}));return f.UI(t,function(u){return f.UI(u,function(c){var h,v,p=c[o],g=c[a];if(f.kJ(p)){var y=(l-s[g])/2;return oe(oe({},c),(h={},h[o]=f.UI(p,function(m){return y+m}),h))}var x=(l-p)/2;return oe(oe({},c),(v={},v[o]=[x,p+x],v))})})},e.prototype.getXValuesMaxMap=function(t){var n=this,i=this,a=i.xField,o=i.yField,s=f.vM(t,function(l){return l[a]});return f.Q8(s,function(l){return n.getDimMaxValue(l,o)})},e.prototype.getDimMaxValue=function(t,n){var i=f.UI(t,function(o){return f.U2(o,n,[])}),a=f.xH(i);return Math.max.apply(Math,a)},e}(q),gr=Je;qt("Dodge",Se),qt("Jitter",Ve),qt("Stack",$e),qt("Symmetric",gr);var Dr=function(r,e){return(0,f.HD)(e)?e:r.invert(r.scale(e))},Sr=function(){function r(e){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(e)}return r.prototype.mapping=function(){for(var e=this,t=[],n=0;n1?1:Number(e),n=r.length-1,i=Math.floor(n*t),a=n*t-i,o=r[i],s=i===n?o:r[i+1];return dn([Or(o,s,a,0),Or(o,s,a,1),Or(o,s,a,2)])},Bn,Xi=function(r){if(r[0]==="#"&&r.length===7)return r;Bn||(Bn=Dn()),Bn.style.color=r;var e=document.defaultView.getComputedStyle(Bn,"").getPropertyValue("color"),t=pn.exec(e),n=t[1].split(/\s*,\s*/).map(function(i){return Number(i)});return e=dn(n),e},ka=function(r){var e=(0,f.HD)(r)?r.split("-"):r,t=(0,f.UI)(e,function(n){return On(n.indexOf("#")===-1?Xi(n):n)});return function(n){return gi(t,n)}},La=function(r){if(Wr(r)){var e,t=void 0;if(r[0]==="l"){var n=Ln.exec(r),i=+n[1]+90;t=n[2],e="linear-gradient("+i+"deg, "}else if(r[0]==="r"){e="radial-gradient(";var n=Pn.exec(r);t=n[4]}var a=t.match(on);return(0,f.S6)(a,function(o,s){var l=o.split(":");e+=l[1]+" "+l[0]*100+"%",s!==a.length-1&&(e+=", ")}),e+=")",e}return r},G={rgb2arr:On,gradient:ka,toRGB:(0,f.HP)(Xi),toCSSGradient:La},R=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.type="color",n.names=["color"],(0,f.HD)(n.values)&&(n.linear=!0),n.gradient=G.gradient(n.values),n}return e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(Lr),W=R,st=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.type="opacity",n.names=["opacity"],n}return e}(Lr),Rt=st,ne=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.names=["x","y"],n.type="position",n}return e.prototype.mapping=function(t,n){var i=this.scales,a=i[0],o=i[1];return(0,f.UM)(t)||(0,f.UM)(n)?[]:[(0,f.kJ)(t)?t.map(function(s){return a.scale(s)}):a.scale(t),(0,f.kJ)(n)?n.map(function(s){return o.scale(s)}):o.scale(n)]},e}(Lr),pe=ne,se=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.type="shape",n.names=["shape"],n}return e.prototype.getLinearValue=function(t){var n=Math.round((this.values.length-1)*t);return this.values[n]},e}(Lr),De=se,ir=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.type="size",n.names=["size"],n}return e}(Lr),yr=ir,Pr={};function gn(r){return Pr[r]}function xr(r,e){Pr[r]=e}var sn=function(){function r(e){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=e,this.initCfg(),this.init()}return r.prototype.translate=function(e){return e},r.prototype.change=function(e){(0,f.f0)(this.__cfg__,e),this.init()},r.prototype.clone=function(){return this.constructor(this.__cfg__)},r.prototype.getTicks=function(){var e=this;return(0,f.UI)(this.ticks,function(t,n){return(0,f.Kn)(t)?t:{text:e.getText(t,n),tickValue:t,value:e.scale(t)}})},r.prototype.getText=function(e,t){var n=this.formatter,i=n?n(e,t):e;return(0,f.UM)(i)||!(0,f.mf)(i.toString)?"":i.toString()},r.prototype.getConfig=function(e){return this.__cfg__[e]},r.prototype.init=function(){(0,f.f0)(this,this.__cfg__),this.setDomain(),(0,f.xb)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},r.prototype.initCfg=function(){},r.prototype.setDomain=function(){},r.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if((0,f.HD)(e)){var n=gn(e);if(!n)throw new Error("There is no method to to calculate ticks!");t=n(this)}else(0,f.mf)(e)&&(t=e(this));return t},r.prototype.rangeMin=function(){return this.range[0]},r.prototype.rangeMax=function(){return this.range[1]},r.prototype.calcPercent=function(e,t,n){return(0,f.hj)(e)?(e-t)/(n-t):NaN},r.prototype.calcValue=function(e,t,n){return t+e*(n-t)},r}(),Wi=sn,Ro=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cat",t.isCategory=!0,t}return e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[a]},e.prototype.getText=function(t){for(var n=[],i=1;i1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(Wi),Zi=Ro,No=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,yn="\\d\\d?",mn="\\d\\d",kf="\\d{3}",Lf="\\d{4}",qi="[^\\s]+",zo=/\[([^]*?)\]/gm;function Vo(r,e){for(var t=[],n=0,i=r.length;n-1?i:null}};function xn(r){for(var e=[],t=1;t3?0:(r-r%10!==10?1:0)*r%10]}},$i=xn({},Pa),Go=function(r){return $i=xn($i,r)},Yo=function(r){return r.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},Tr=function(r,e){for(e===void 0&&(e=2),r=String(r);r.length0?"-":"+")+Tr(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(r){var e=r.getTimezoneOffset();return(e>0?"-":"+")+Tr(Math.floor(Math.abs(e)/60),2)+":"+Tr(Math.abs(e)%60,2)}},Ol=function(r){return+r-1},ji=[null,yn],Xo=[null,qi],Wo=["isPm",qi,function(r,e){var t=r.toLowerCase();return t===e.amPm[0]?0:t===e.amPm[1]?1:null}],Zo=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(r){var e=(r+"").match(/([+-]|\d\d)/gi);if(e){var t=+e[1]*60+parseInt(e[2],10);return e[0]==="+"?t:-t}return 0}],qo={D:["day",yn],DD:["day",mn],Do:["day",yn+qi,function(r){return parseInt(r,10)}],M:["month",yn,Ol],MM:["month",mn,Ol],YY:["year",mn,function(r){var e=new Date,t=+(""+e.getFullYear()).substr(0,2);return+(""+(+r>68?t-1:t)+r)}],h:["hour",yn,void 0,"isPm"],hh:["hour",mn,void 0,"isPm"],H:["hour",yn],HH:["hour",mn],m:["minute",yn],mm:["minute",mn],s:["second",yn],ss:["second",mn],YYYY:["year",Lf],S:["millisecond","\\d",function(r){return+r*100}],SS:["millisecond",mn,function(r){return+r*10}],SSS:["millisecond",kf],d:ji,dd:ji,ddd:Xo,dddd:Xo,MMM:["month",qi,Uo("monthNamesShort")],MMMM:["month",qi,Uo("monthNames")],a:Wo,A:Wo,ZZ:Zo,Z:Zo},Ji={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Da=function(r){return xn(Ji,r)},$o=function(r,e,t){if(e===void 0&&(e=Ji.default),t===void 0&&(t={}),typeof r=="number"&&(r=new Date(r)),Object.prototype.toString.call(r)!=="[object Date]"||isNaN(r.getTime()))throw new Error("Invalid Date pass to format");e=Ji[e]||e;var n=[];e=e.replace(zo,function(a,o){return n.push(o),"@@@"});var i=xn(xn({},$i),t);return e=e.replace(No,function(a){return Df[a](r,i)}),e.replace(/@@@/g,function(){return n.shift()})};function jo(r,e,t){if(t===void 0&&(t={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=Ji[e]||e,r.length>1e3)return null;var n=new Date,i={year:n.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],o=[],s=e.replace(zo,function(S,A){return o.push(Yo(A)),"@@@"}),l={},u={};s=Yo(s).replace(No,function(S){var A=qo[S],B=A[0],U=A[1],Q=A[3];if(l[B])throw new Error("Invalid format. "+B+" specified twice in format");return l[B]=!0,Q&&(u[Q]=!0),a.push(A),"("+U+")"}),Object.keys(u).forEach(function(S){if(!l[S])throw new Error("Invalid format. "+S+" is required in specified format")}),s=s.replace(/@@@/g,function(){return o.shift()});var c=r.match(new RegExp(s,"i"));if(!c)return null;for(var h=xn(xn({},$i),t),v=1;v11||i.month<0||i.day>31||i.day<1||i.hour>23||i.hour<0||i.minute>59||i.minute<0||i.second>59||i.second<0)return null;return m}var Of={format:$o,parse:jo,defaultI18n:Pa,setGlobalDateI18n:Go,setGlobalDateMasks:Da},Bl=Of;function Rl(r){return function(e,t,n,i){for(var a=(0,f.UM)(n)?0:n,o=(0,f.UM)(i)?e.length:i;a>>1;r(e[s])>t?o=s:a=s+1}return a}}var Jo="format";function Ko(r,e){var t=pt[Jo]||Bl[Jo];return t(r,e)}function Ki(r){return(0,f.HD)(r)&&(r.indexOf("T")>0?r=new Date(r).getTime():r=new Date(r.replace(/-/gi,"/")).getTime()),(0,f.J_)(r)&&(r=r.getTime()),r}var Zr=1e3,ln=60*Zr,Rn=60*ln,wn=24*Rn,yi=wn*31,Qo=wn*365,mi=[["HH:mm:ss",Zr],["HH:mm:ss",Zr*10],["HH:mm:ss",Zr*30],["HH:mm",ln],["HH:mm",ln*10],["HH:mm",ln*30],["HH",Rn],["HH",Rn*6],["HH",Rn*12],["YYYY-MM-DD",wn],["YYYY-MM-DD",wn*4],["YYYY-WW",wn*7],["YYYY-MM",yi],["YYYY-MM",yi*4],["YYYY-MM",yi*6],["YYYY",wn*380]];function Nl(r,e,t){var n=(e-r)/t,i=Rl(function(o){return o[1]})(mi,n)-1,a=mi[i];return i<0?a=mi[0]:i>=mi.length&&(a=(0,f.Z$)(mi)),a}var Oa=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="timeCat",t}return e.prototype.translate=function(t){t=Ki(t);var n=this.values.indexOf(t);return n===-1&&((0,f.hj)(t)&&t-1){var a=this.values[i],o=this.formatter;return a=o?o(a,n):Ko(a,this.mask),a}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var t=this.values;(0,f.S6)(t,function(n,i){t[i]=Ki(n)}),t.sort(function(n,i){return n-i}),r.prototype.setDomain.call(this)},e}(Zi),ts=Oa,zl=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.isContinuous=!0,t}return e.prototype.scale=function(t){if((0,f.UM)(t))return NaN;var n=this.rangeMin(),i=this.rangeMax(),a=this.max,o=this.min;if(a===o)return n;var s=this.getScalePercent(t);return n+s*(i-n)},e.prototype.init=function(){r.prototype.init.call(this);var t=this.ticks,n=(0,f.YM)(t),i=(0,f.Z$)(t);nthis.max&&(this.max=i),(0,f.UM)(this.minLimit)||(this.min=n),(0,f.UM)(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=(0,f.rx)(this.values),n=t.min,i=t.max;(0,f.UM)(this.min)&&(this.min=n),(0,f.UM)(this.max)&&(this.max=i),this.min>this.max&&(this.min=n,this.max=i)},e.prototype.calculateTicks=function(){var t=this,n=r.prototype.calculateTicks.call(this);return this.nice||(n=(0,f.hX)(n,function(i){return i>=t.min&&i<=t.max})),n},e.prototype.getScalePercent=function(t){var n=this.max,i=this.min;return(t-i)/(n-i)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(Wi),Qi=zl,Vl=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="linear",t.isLinear=!0,t}return e.prototype.invert=function(t){var n=this.getInvertPercent(t);return this.min+n*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Qi),ta=Vl;function Mn(r,e){var t=Math.E,n;return e>=0?n=Math.pow(t,Math.log(e)/r):n=Math.pow(t,Math.log(-e)/r)*-1,n}function Br(r,e){return r===1?1:Math.log(e)/Math.log(r)}function es(r,e,t){(0,f.UM)(t)&&(t=Math.max.apply(null,r));var n=t;return(0,f.S6)(r,function(i){i>0&&i1&&(n=1),n}function xi(r){var e=r.toString().split(/[eE]/),t=(e[0].split(".")[1]||"").length-+(e[1]||0);return t>0?t:0}function Bf(r,e){var t=xi(r),n=xi(e),i=Math.pow(10,Math.max(t,n));return(r*i+e*i)/i}var Ul=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="log",t}return e.prototype.invert=function(t){var n=this.base,i=Br(n,this.max),a=this.rangeMin(),o=this.rangeMax()-a,s,l=this.positiveMin;if(l){if(t===0)return 0;s=Br(n,l/n);var u=1/(i-s)*o;if(t=0?1:-1;return Math.pow(s,i)*l},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var n=this.max,i=this.min;if(n===i)return 0;var a=this.exponent,o=(Mn(a,t)-Mn(a,i))/(Mn(a,n)-Mn(a,i));return o},e}(Qi),ea=Gl,ra=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="time",t}return e.prototype.getText=function(t,n){var i=this.translate(t),a=this.formatter;return a?a(i,n):Ko(i,this.mask)},e.prototype.scale=function(t){var n=t;return((0,f.HD)(n)||(0,f.J_)(n))&&(n=this.translate(n)),r.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Ki(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,n=this.getConfig("min"),i=this.getConfig("max");if((!(0,f.UM)(n)||!(0,f.hj)(n))&&(this.min=this.translate(this.min)),(!(0,f.UM)(i)||!(0,f.hj)(i))&&(this.max=this.translate(this.max)),t&&t.length){var a=[],o=1/0,s=o,l=0;(0,f.S6)(t,function(u){var c=Ki(u);if(isNaN(c))throw new TypeError("Invalid Time: "+u+" in time scale!");o>c?(s=o,o=c):s>c&&(s=c),l1&&(this.minTickInterval=s-o),(0,f.UM)(n)&&(this.min=o),(0,f.UM)(i)&&(this.max=l)}},e}(ta),Yl=ra,Xl=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantize",t}return e.prototype.invert=function(t){var n=this.ticks,i=n.length,a=this.getInvertPercent(t),o=Math.floor(a*(i-1));if(o>=i-1)return(0,f.Z$)(n);if(o<0)return(0,f.YM)(n);var s=n[o],l=n[o+1],u=o/(i-1),c=(o+1)/(i-1);return s+(a-u)/(c-u)*(l-s)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var t=r.prototype.calculateTicks.call(this);return this.nice||((0,f.Z$)(t)!==this.max&&t.push(this.max),(0,f.YM)(t)!==this.min&&t.unshift(this.min)),t},e.prototype.getScalePercent=function(t){var n=this.ticks;if(t<(0,f.YM)(n))return 0;if(t>(0,f.Z$)(n))return 1;var i=0;return(0,f.S6)(n,function(a,o){if(t>=a)i=o;else return!1}),i/(n.length-1)},e}(Qi),rs=Xl,D=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantile",t}return e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(rs),J=D,lt={};function Mt(r){return lt[r]}function Yt(r,e){if(Mt(r))throw new Error("type '"+r+"' existed.");lt[r]=e}var de=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="identity",t.isIdentity=!0,t}return e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&(0,f.hj)(t)?t:this.range[0]},e.prototype.invert=function(t){var n=this.range;return tn[1]?NaN:this.values[0]},e}(Wi),Ee=de;function je(r){var e=r.values,t=r.tickInterval,n=r.tickCount,i=r.showLast;if((0,f.hj)(t)){var a=(0,f.hX)(e,function(g,y){return y%t===0}),o=(0,f.Z$)(e);return i&&(0,f.Z$)(a)!==o&&a.push(o),a}var s=e.length,l=r.min,u=r.max;if((0,f.UM)(l)&&(l=0),(0,f.UM)(u)&&(u=e.length-1),!(0,f.hj)(n)||n>=s)return e.slice(l,u+1);if(n<=0||u<=0)return[];for(var c=n===1?s:Math.floor(s/(n-1)),h=[],v=l,p=0;p=u);p++)v=Math.min(l+p*c,u),p===n-1&&i?h.push(e[u]):h.push(e[v]);return h}function Er(r){var e=r.min,t=r.max,n=r.nice,i=r.tickCount,a=new Gy;return a.domain([e,t]),n&&a.nice(i),a.ticks(i)}var Fr=5,Rr=Math.sqrt(50),na=Math.sqrt(10),Rf=Math.sqrt(2),Gy=function(){function r(){this._domain=[0,1]}return r.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},r.prototype.nice=function(e){var t,n;e===void 0&&(e=Fr);var i=this._domain.slice(),a=0,o=this._domain.length-1,s=this._domain[a],l=this._domain[o],u;return l0?(s=Math.floor(s/u)*u,l=Math.ceil(l/u)*u,u=ns(s,l,e)):u<0&&(s=Math.ceil(s*u)/u,l=Math.floor(l*u)/u,u=ns(s,l,e)),u>0?(i[a]=Math.floor(s/u)*u,i[o]=Math.ceil(l/u)*u,this.domain(i)):u<0&&(i[a]=Math.ceil(s*u)/u,i[o]=Math.floor(l*u)/u,this.domain(i)),this},r.prototype.ticks=function(e){return e===void 0&&(e=Fr),Yy(this._domain[0],this._domain[this._domain.length-1],e||Fr)},r}();function Yy(r,e,t){var n,i=-1,a,o,s;if(e=+e,r=+r,t=+t,r===e&&t>0)return[r];if((n=e0)for(r=Math.ceil(r/s),e=Math.floor(e/s),o=new Array(a=Math.ceil(e-r+1));++i=0?(a>=Rr?10:a>=na?5:a>=Rf?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=Rr?10:a>=na?5:a>=Rf?2:1)}function Nf(r,e,t){var n;return t==="ceil"?n=Math.ceil(r/e):t==="floor"?n=Math.floor(r/e):n=Math.round(r/e),n*e}function Wl(r,e,t){var n=Nf(r,t,"floor"),i=Nf(e,t,"ceil");n=(0,f.ri)(n,t),i=(0,f.ri)(i,t);for(var a=[],o=Math.max((i-n)/(Math.pow(2,12)-1),t),s=n;s<=i;s=s+o){var l=(0,f.ri)(s,o);a.push(l)}return{min:n,max:i,ticks:a}}function Zl(r,e,t){var n,i=r.minLimit,a=r.maxLimit,o=r.min,s=r.max,l=r.tickCount,u=l===void 0?5:l,c=(0,f.UM)(i)?(0,f.UM)(e)?o:e:i,h=(0,f.UM)(a)?(0,f.UM)(t)?s:t:a;if(c>h&&(n=[c,h],h=n[0],c=n[1]),u<=2)return[c,h];for(var v=(h-c)/(u-1),p=[],g=0;g=0&&(l=1),1-s/(o-1)-t+l}function jy(r,e,t){var n=(0,f.dp)(e),i=(0,f.cq)(e,r),a=1;return 1-i/(n-1)-t+a}function Jy(r,e,t,n,i,a){var o=(r-1)/(a-i),s=(e-1)/(Math.max(a,n)-Math.min(t,i));return 2-Math.max(o/s,s/o)}function Ky(r,e){return r>=e?2-(r-1)/(e-1):1}function Qy(r,e,t,n){var i=e-r;return 1-.5*(Math.pow(e-n,2)+Math.pow(r-t,2))/Math.pow(.1*i,2)}function tm(r,e,t){var n=e-r;if(t>n){var i=(t-n)/2;return 1-Math.pow(i,2)/Math.pow(.1*n,2)}return 1}function em(){return 1}function rm(r,e,t,n,i,a){t===void 0&&(t=5),n===void 0&&(n=!0),i===void 0&&(i=Wy),a===void 0&&(a=[.25,.2,.5,.05]);var o=t<0?0:Math.round(t);if(Number.isNaN(r)||Number.isNaN(e)||typeof r!="number"||typeof e!="number"||!o)return{min:0,max:0,ticks:[]};if(e-r<1e-15||o===1)return{min:r,max:e,ticks:[r]};if(e-r>1e148){var s=t||5,l=(e-r)/s;return{min:r,max:e,ticks:Array(s).fill(null).map(function(Te,Be){return wi(r+l*Be)})}}for(var u={score:-2,lmin:0,lmax:0,lstep:0},c=1;c<1/0;){for(var h=0;hu.score&&(!n||Q<=r&&dt>=e)&&(u.lmin=Q,u.lmax=dt,u.lstep=ut,u.score=be)}m+=1}g+=1}}c+=1}var Nt=wi(u.lmax),ie=wi(u.lmin),he=wi(u.lstep),ue=Math.floor(qy((Nt-ie)/he))+1,ve=new Array(ue);ve[0]=wi(ie);for(var h=1;h0)o=Math.floor(Br(e,n));else{var l=es(a,e,i);o=Math.floor(Br(e,l))}for(var u=s-o,c=Math.ceil(u/t),h=[],v=o;v=0?1:-1;return Math.pow(o,e)*s})}function om(r,e){var t=r.length*e;return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function sm(r){var e=r.tickCount,t=r.values;if(!t||!t.length)return[];for(var n=t.slice().sort(function(s,l){return s-l}),i=[],a=0;a1&&(i=i*Math.ceil(s)),n&&iQo)for(var l=is(t),u=Math.ceil(a/Qo),c=s;c<=l+u;c=c+u)o.push(fm(c));else if(a>yi)for(var h=Math.ceil(a/yi),v=ql(e),p=hm(e,t),c=0;c<=p+h;c=c+h)o.push(vm(s,c+v));else if(a>wn)for(var g=new Date(e),y=g.getFullYear(),x=g.getMonth(),m=g.getDate(),w=Math.ceil(a/wn),M=pm(e,t),c=0;cRn)for(var g=new Date(e),y=g.getFullYear(),x=g.getMonth(),w=g.getDate(),S=g.getHours(),A=Math.ceil(a/Rn),B=dm(e,t),c=0;c<=B+A;c=c+A)o.push(new Date(y,x,w,S+c).getTime());else if(a>ln)for(var U=gm(e,t),Q=Math.ceil(a/ln),c=0;c<=U+Q;c=c+Q)o.push(e+c*ln);else{var dt=a;dt=512&&console.warn("Notice: current ticks length("+o.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),o}xr("cat",je),xr("time-cat",cm),xr("wilkinson-extended",nm),xr("r-pretty",lm),xr("time",um),xr("time-pretty",ym),xr("log",im),xr("pow",am),xr("quantile",sm),xr("d3-linear",Xy),Yt("cat",Zi),Yt("category",Zi),Yt("identity",Ee),Yt("linear",ta),Yt("log",Hl),Yt("pow",ea),Yt("time",Yl),Yt("timeCat",ts),Yt("quantize",rs),Yt("quantile",J);var Uf={},Hf=function(r){return Uf[r.toLowerCase()]},Ba=function(r,e){if(Hf(r))throw new Error("Attribute type '".concat(r,"' existed."));Uf[r.toLowerCase()]=e};Ba("Color",W),Ba("Opacity",Rt),Ba("Position",pe),Ba("Shape",De),Ba("Size",yr);var Gf=et(49685);function mm(){var r=new Gf.WT(3);return Gf.WT!=Float32Array&&(r[0]=0,r[1]=0,r[2]=0),r}function wR(r){var e=new glMatrix.ARRAY_TYPE(3);return e[0]=r[0],e[1]=r[1],e[2]=r[2],e}function MR(r){var e=r[0],t=r[1],n=r[2];return Math.hypot(e,t,n)}function SR(r,e,t){var n=new glMatrix.ARRAY_TYPE(3);return n[0]=r,n[1]=e,n[2]=t,n}function CR(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r}function bR(r,e,t,n){return r[0]=e,r[1]=t,r[2]=n,r}function AR(r,e,t){return r[0]=e[0]+t[0],r[1]=e[1]+t[1],r[2]=e[2]+t[2],r}function TR(r,e,t){return r[0]=e[0]-t[0],r[1]=e[1]-t[1],r[2]=e[2]-t[2],r}function ER(r,e,t){return r[0]=e[0]*t[0],r[1]=e[1]*t[1],r[2]=e[2]*t[2],r}function FR(r,e,t){return r[0]=e[0]/t[0],r[1]=e[1]/t[1],r[2]=e[2]/t[2],r}function _R(r,e){return r[0]=Math.ceil(e[0]),r[1]=Math.ceil(e[1]),r[2]=Math.ceil(e[2]),r}function IR(r,e){return r[0]=Math.floor(e[0]),r[1]=Math.floor(e[1]),r[2]=Math.floor(e[2]),r}function kR(r,e,t){return r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r[2]=Math.min(e[2],t[2]),r}function LR(r,e,t){return r[0]=Math.max(e[0],t[0]),r[1]=Math.max(e[1],t[1]),r[2]=Math.max(e[2],t[2]),r}function PR(r,e){return r[0]=Math.round(e[0]),r[1]=Math.round(e[1]),r[2]=Math.round(e[2]),r}function DR(r,e,t){return r[0]=e[0]*t,r[1]=e[1]*t,r[2]=e[2]*t,r}function OR(r,e,t,n){return r[0]=e[0]+t[0]*n,r[1]=e[1]+t[1]*n,r[2]=e[2]+t[2]*n,r}function BR(r,e){var t=e[0]-r[0],n=e[1]-r[1],i=e[2]-r[2];return Math.hypot(t,n,i)}function RR(r,e){var t=e[0]-r[0],n=e[1]-r[1],i=e[2]-r[2];return t*t+n*n+i*i}function NR(r){var e=r[0],t=r[1],n=r[2];return e*e+t*t+n*n}function zR(r,e){return r[0]=-e[0],r[1]=-e[1],r[2]=-e[2],r}function VR(r,e){return r[0]=1/e[0],r[1]=1/e[1],r[2]=1/e[2],r}function UR(r,e){var t=e[0],n=e[1],i=e[2],a=t*t+n*n+i*i;return a>0&&(a=1/Math.sqrt(a)),r[0]=e[0]*a,r[1]=e[1]*a,r[2]=e[2]*a,r}function xm(r,e){return r[0]*e[0]+r[1]*e[1]+r[2]*e[2]}function HR(r,e,t){var n=e[0],i=e[1],a=e[2],o=t[0],s=t[1],l=t[2];return r[0]=i*l-a*s,r[1]=a*o-n*l,r[2]=n*s-i*o,r}function GR(r,e,t,n){var i=e[0],a=e[1],o=e[2];return r[0]=i+n*(t[0]-i),r[1]=a+n*(t[1]-a),r[2]=o+n*(t[2]-o),r}function YR(r,e,t,n,i,a){var o=a*a,s=o*(2*a-3)+1,l=o*(a-2)+a,u=o*(a-1),c=o*(3-2*a);return r[0]=e[0]*s+t[0]*l+n[0]*u+i[0]*c,r[1]=e[1]*s+t[1]*l+n[1]*u+i[1]*c,r[2]=e[2]*s+t[2]*l+n[2]*u+i[2]*c,r}function XR(r,e,t,n,i,a){var o=1-a,s=o*o,l=a*a,u=s*o,c=3*a*s,h=3*l*o,v=l*a;return r[0]=e[0]*u+t[0]*c+n[0]*h+i[0]*v,r[1]=e[1]*u+t[1]*c+n[1]*h+i[1]*v,r[2]=e[2]*u+t[2]*c+n[2]*h+i[2]*v,r}function WR(r,e){e=e||1;var t=glMatrix.RANDOM()*2*Math.PI,n=glMatrix.RANDOM()*2-1,i=Math.sqrt(1-n*n)*e;return r[0]=Math.cos(t)*i,r[1]=Math.sin(t)*i,r[2]=n*e,r}function ZR(r,e,t){var n=e[0],i=e[1],a=e[2],o=t[3]*n+t[7]*i+t[11]*a+t[15];return o=o||1,r[0]=(t[0]*n+t[4]*i+t[8]*a+t[12])/o,r[1]=(t[1]*n+t[5]*i+t[9]*a+t[13])/o,r[2]=(t[2]*n+t[6]*i+t[10]*a+t[14])/o,r}function Ra(r,e,t){var n=e[0],i=e[1],a=e[2];return r[0]=n*t[0]+i*t[3]+a*t[6],r[1]=n*t[1]+i*t[4]+a*t[7],r[2]=n*t[2]+i*t[5]+a*t[8],r}function qR(r,e,t){var n=t[0],i=t[1],a=t[2],o=t[3],s=e[0],l=e[1],u=e[2],c=i*u-a*l,h=a*s-n*u,v=n*l-i*s,p=i*v-a*h,g=a*c-n*v,y=n*h-i*c,x=o*2;return c*=x,h*=x,v*=x,p*=2,g*=2,y*=2,r[0]=s+c+p,r[1]=l+h+g,r[2]=u+v+y,r}function $R(r,e,t,n){var i=[],a=[];return i[0]=e[0]-t[0],i[1]=e[1]-t[1],i[2]=e[2]-t[2],a[0]=i[0],a[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),a[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),r[0]=a[0]+t[0],r[1]=a[1]+t[1],r[2]=a[2]+t[2],r}function jR(r,e,t,n){var i=[],a=[];return i[0]=e[0]-t[0],i[1]=e[1]-t[1],i[2]=e[2]-t[2],a[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),a[1]=i[1],a[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),r[0]=a[0]+t[0],r[1]=a[1]+t[1],r[2]=a[2]+t[2],r}function JR(r,e,t,n){var i=[],a=[];return i[0]=e[0]-t[0],i[1]=e[1]-t[1],i[2]=e[2]-t[2],a[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),a[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),a[2]=i[2],r[0]=a[0]+t[0],r[1]=a[1]+t[1],r[2]=a[2]+t[2],r}function KR(r,e){var t=r[0],n=r[1],i=r[2],a=e[0],o=e[1],s=e[2],l=Math.sqrt(t*t+n*n+i*i),u=Math.sqrt(a*a+o*o+s*s),c=l*u,h=c&&xm(r,e)/c;return Math.acos(Math.min(Math.max(h,-1),1))}function QR(r){return r[0]=0,r[1]=0,r[2]=0,r}function t5(r){return"vec3("+r[0]+", "+r[1]+", "+r[2]+")"}function e5(r,e){return r[0]===e[0]&&r[1]===e[1]&&r[2]===e[2]}function r5(r,e){var t=r[0],n=r[1],i=r[2],a=e[0],o=e[1],s=e[2];return Math.abs(t-a)<=glMatrix.EPSILON*Math.max(1,Math.abs(t),Math.abs(a))&&Math.abs(n-o)<=glMatrix.EPSILON*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-s)<=glMatrix.EPSILON*Math.max(1,Math.abs(i),Math.abs(s))}var n5=null,i5=null,a5=null,o5=null,s5=null,l5=null,u5=null,c5=function(){var r=mm();return function(e,t,n,i,a,o){var s,l;for(t||(t=3),n||(n=0),i?l=Math.min(i*t+n,e.length):l=e.length,s=n;s=0&&this.radius<=1&&(n=n*this.radius),this.d=Math.floor(n*(1-this.innerRadius)/t),this.a=this.d/(Math.PI*2),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+this.d*.99}},e.prototype.convertPoint=function(t){var n,i=t.x,a=t.y;this.isTransposed&&(n=[a,i],i=n[0],a=n[1]);var o=this.convertDim(i,"x"),s=this.a*o,l=this.convertDim(a,"y");return{x:this.center.x+Math.cos(o)*(s+l),y:this.center.y+Math.sin(o)*(s+l)}},e.prototype.invertPoint=function(t){var n,i=this.d+this.y.start,a=ye.$X([0,0],[t.x,t.y],[this.center.x,this.center.y]),o=nr.Dg(a,[1,0],!0),s=o*this.a;ye.kE(a)this.width/n?(s=this.width/n,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*s*i}):(s=this.height/i,this.circleCenter={x:this.center.x-(.5-a)*s*n,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=s*this.radius:(this.radius<=0||this.radius>s)&&(this.polarRadius=s):this.polarRadius=s,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var n,i=this.getCenter(),a=t.x,o=t.y;return this.isTransposed&&(n=[o,a],a=n[0],o=n[1]),a=this.convertDim(a,"x"),o=this.convertDim(o,"y"),{x:i.x+Math.cos(a)*o,y:i.y+Math.sin(a)*o}},e.prototype.invertPoint=function(t){var n,i=this.getCenter(),a=[t.x-i.x,t.y-i.y],o=this,s=o.startAngle,l=o.endAngle;this.isReflect("x")&&(n=[l,s],s=n[0],l=n[1]);var u=[1,0,0,0,1,0,0,0,1];nr.zu(u,u,s);var c=[1,0,0];Ra(c,c,u);var h=[c[0],c[1]],v=nr.Dg(h,a,l0?g:-g;var y=this.invertDim(p,"y"),x={x:0,y:0};return x.x=this.isTransposed?y:g,x.y=this.isTransposed?g:y,x},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,n=this.endAngle;if(Math.abs(n-t)>=Math.PI*2)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var i=[0,Math.cos(t),Math.cos(n)],a=[0,Math.sin(t),Math.sin(n)],o=Math.min(t,n);o=0;n--)r.removeChild(e[n])}function Im(r,e){return!!r.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function Na(r){var e=r.start,t=r.end,n=Math.min(e.x,t.x),i=Math.min(e.y,t.y),a=Math.max(e.x,t.x),o=Math.max(e.y,t.y);return{x:n,y:i,minX:n,minY:i,maxX:a,maxY:o,width:a-n,height:o-i}}function km(r){var e=r.map(function(s){return s.x}),t=r.map(function(s){return s.y}),n=Math.min.apply(Math,e),i=Math.min.apply(Math,t),a=Math.max.apply(Math,e),o=Math.max.apply(Math,t);return{x:n,y:i,minX:n,minY:i,maxX:a,maxY:o,width:a-n,height:o-i}}function za(r,e,t,n){var i=r+t,a=e+n;return{x:r,y:e,width:t,height:n,minX:r,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(a)?0:a}}function Si(r,e,t){return(1-t)*r+e*t}function ia(r,e,t){return{x:r.x+Math.cos(t)*e,y:r.y+Math.sin(t)*e}}function Lm(r,e){var t=e.x-r.x,n=e.y-r.y;return Math.sqrt(t*t+n*n)}var f5=function(r){return new Promise(function(e){setTimeout(e,r)})},ls=function(r,e,t){return t===void 0&&(t=Math.pow(Number.EPSILON,.5)),[r,e].includes(1/0)?Math.abs(r)===Math.abs(e):Math.abs(r-e)0?(0,f.S6)(l,function(u){if(u.get("visible")){if(u.isGroup()&&u.get("children").length===0)return!0;var c=$f(u),h=u.applyToMatrix([c.minX,c.minY,1]),v=u.applyToMatrix([c.minX,c.maxY,1]),p=u.applyToMatrix([c.maxX,c.minY,1]),g=u.applyToMatrix([c.maxX,c.maxY,1]),y=Math.min(h[0],v[0],p[0],g[0]),x=Math.max(h[0],v[0],p[0],g[0]),m=Math.min(h[1],v[1],p[1],g[1]),w=Math.max(h[1],v[1],p[1],g[1]);ya&&(a=x),ms&&(s=w)}}):(i=0,a=0,o=0,s=0),n=za(i,o,a-i,s-o)}return t?Pm(n,t):n}function Dm(r,e){if(!(!r.getClip()&&!e.getClip())){var t=e.getClip();if(!t){r.setClip(null);return}var n={type:t.get("type"),attrs:t.attr()};r.setClip(n)}}function Nr(r){return r+"px"}function jf(r,e,t,n){var i=Lm(r,e),a=n/i,o=0;return t==="start"?o=0-a:t==="end"&&(o=1+a),{x:Si(r.x,e.x,o),y:Si(r.y,e.y,o)}}var Om={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},Bm=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.initCfg(),n}return e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var n=this,i=this.get("defaultCfg")||{};(0,f.S6)(t,function(a,o){var s=n.get(o),l=a;s!==a&&((0,f.Kn)(a)&&i[o]&&(l=(0,f.b$)({},i[o],a)),n.set(o,l))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){(0,f.wH)(t,"visible")&&(t.visible?this.show():this.hide()),(0,f.wH)(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,n){this.update({offsetX:t,offsetY:n})},e.prototype.setLocation=function(t){var n=(0,d.pi)({},t);this.update(n)},e.prototype.getLocation=function(){var t=this,n={},i=this.get("locationType"),a=Om[i];return(0,f.S6)(a,function(o){n[o]=t.get(o)}),n},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,n=this.get("defaultCfg");(0,f.S6)(n,function(i,a){var o=t.get(a);if((0,f.Kn)(o)){var s=(0,f.b$)({},i,o);t.set(a,s)}})},e}(F.Base),Jf=Bm,Ci="update_status",Rm=["visible","tip","delegateObject"],Nm=["container","group","shapesMap","isRegister","isUpdating","destroyed"],zm=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var n=this.getElementById(t),i=n&&n.get("component");return i},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var n=this.getElementId(t);return this.getElementById(n)},e.prototype.getElementsByName=function(t){var n=[];return(0,f.S6)(this.get("shapesMap"),function(i){i.get("name")===t&&n.push(i)}),n},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var n=this.get("group");this.updateElements(t,n),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var n=this.get("group");n.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),r.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),n=this.getInnerLayoutBBox(),i=t.getTotalMatrix();return i&&(n=_m(i,n)),n},e.prototype.on=function(t,n,i){var a=this.get("group");return a.on(t,n,i),this},e.prototype.off=function(t,n){var i=this.get("group");return i&&i.off(t,n),this},e.prototype.emit=function(t,n){var i=this.get("group");i.emit(t,n)},e.prototype.init=function(){r.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,n){var i=this.get("group");n.target=i,i.emit(t,n),Wf(i,t,n)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),n=t.getGroupBase(),i=new n({delegateObject:this.getDelegateObject()});return i},e.prototype.applyOffset=function(){var t=this.get("offsetX"),n=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:n})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",$f(t)),t},e.prototype.addGroup=function(t,n){this.appendDelegateObject(t,n);var i=t.addGroup(n);return this.get("isRegister")&&this.registerElement(i),i},e.prototype.addShape=function(t,n){this.appendDelegateObject(t,n);var i=t.addShape(n);return this.get("isRegister")&&this.registerElement(i),i},e.prototype.addComponent=function(t,n){var i=n.id,a=n.component,o=(0,d._T)(n,["id","component"]),s=new a((0,d.pi)((0,d.pi)({},o),{id:i,container:t,updateAutoRender:this.get("updateAutoRender")}));return s.init(),s.render(),this.get("isRegister")&&this.registerElement(s.get("group")),s},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var n=this.get("id"),i=this.get("name");return n+"-"+i+"-"+t},e.prototype.registerElement=function(t){var n=t.get("id");this.get("shapesMap")[n]=t},e.prototype.unregisterElement=function(t){var n=t.get("id");delete this.get("shapesMap")[n]},e.prototype.moveElementTo=function(t,n){var i=jl(n);t.attr("matrix",i)},e.prototype.addAnimation=function(t,n,i){var a=n.attr("opacity");(0,f.UM)(a)&&(a=1),n.attr("opacity",0),n.animate({opacity:a},i)},e.prototype.removeAnimation=function(t,n,i){n.animate({opacity:0},i)},e.prototype.updateAnimation=function(t,n,i,a){n.animate(i,a)},e.prototype.updateElements=function(t,n){var i=this,a=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0),l;(0,f.S6)(s,function(u){var c=u.get("id"),h=i.getElementById(c),v=u.get("name");if(h)if(u.get("isComponent")){var p=u.get("component"),g=h.get("component"),y=(0,f.ei)(p.cfg,(0,f.e5)((0,f.XP)(p.cfg),Nm));g.update(y),h.set(Ci,"update")}else{var x=i.getReplaceAttrs(h,u);a&&o.update?i.updateAnimation(v,h,x,o.update):h.attr(x),u.isGroup()&&i.updateElements(u,h),(0,f.S6)(Rm,function(S){h.set(S,u.get(S))}),Dm(h,u),l=h,h.set(Ci,"update")}else{n.add(u);var m=n.getChildren();if(m.splice(m.length-1,1),l){var w=m.indexOf(l);m.splice(w+1,0,u)}else m.unshift(u);if(i.registerElement(u),u.set(Ci,"add"),u.get("isComponent")){var p=u.get("component");p.set("container",n)}else u.isGroup()&&i.registerNewGroup(u);if(l=u,a){var M=i.get("isInit")?o.appear:o.enter;M&&i.addAnimation(v,u,M)}}})},e.prototype.clearUpdateStatus=function(t){var n=t.getChildren();(0,f.S6)(n,function(i){i.set(Ci,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,n=this.get("name"),i=(t={},t[n]=this,t.component=this,t);return i},e.prototype.appendDelegateObject=function(t,n){var i=t.get("delegateObject");n.delegateObject||(n.delegateObject={}),(0,f.CD)(n.delegateObject,i)},e.prototype.getReplaceAttrs=function(t,n){var i=t.attr(),a=n.attr();return(0,f.S6)(i,function(o,s){a[s]===void 0&&(a[s]=void 0)}),a},e.prototype.registerNewGroup=function(t){var n=this,i=t.getChildren();(0,f.S6)(i,function(a){n.registerElement(a),a.set(Ci,"add"),a.isGroup()&&n.registerNewGroup(a)})},e.prototype.deleteElements=function(){var t=this,n=this.get("shapesMap"),i=[];(0,f.S6)(n,function(s,l){!s.get(Ci)||s.destroyed?i.push([l,s]):s.set(Ci,null)});var a=this.get("animate"),o=this.get("animateOption");(0,f.S6)(i,function(s){var l=s[0],u=s[1];if(!u.destroyed){var c=u.get("name");if(a&&o.leave){var h=(0,f.CD)({callback:function(){t.removeElement(u)}},o.leave);t.removeAnimation(c,u,h)}else t.removeElement(u)}delete n[l]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var n=t.get("component");n&&n.destroy()}t.remove()},e}(Jf),Cr=zm,Ql="\u2026";function Vm(r){for(var e=0,t=0;t0&&r.charCodeAt(e)<128?1:2}function Um(r,e,t){t===void 0&&(t="tail");var n=r.length,i="";if(t==="tail"){for(var a=0,o=0;a=19968&&s<=40869?a+=2:a+=1}a>t&&(t=a,n=i)}return r[n].getBBox().width}function tu(r){if(r.length>Ym)return Xm(r);var e=0;return(0,f.S6)(r,function(t){var n=t.getBBox(),i=n.width;e=0?v=Um(a,h,n):v=Hm,v&&(e.attr("text",v),c=!0)}return c?e.set("tip",a):e.set("tip",null),c}function us(r,e){var t=e.x,n=e.y,i=e.content,a=e.style,o=e.id,s=e.name,l=e.rotate,u=e.maxLength,c=e.autoEllipsis,h=e.isVertical,v=e.ellipsisPosition,p=e.background,g=r.addGroup({id:o+"-group",name:s+"-group",attrs:{x:t,y:n}}),y=g.addShape({type:"text",id:o,name:s,attrs:(0,d.pi)({x:0,y:0,text:i},a)}),x=ss((0,f.U2)(p,"padding",0));if(u&&c){var m=u-(x[1]+x[3]);Va(!h,y,m,v)}if(p){var w=(0,f.U2)(p,"style",{}),M=y.getCanvasBBox(),S=M.minX,A=M.minY,B=M.width,U=M.height,Q=g.addShape("rect",{id:o+"-bg",name:o+"-bg",attrs:(0,d.pi)({x:S-x[3],y:A-x[0],width:B+x[1]+x[3],height:U+x[0]+x[2]},w)});Q.toBack()}Jl(g,t,n),qf(g,l,t,n)}var Ge={fontFamily:` + BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", + Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", + SimSun, "sans-serif"`,textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4,descriptionIconStroke:"#fff",descriptionIconFill:"rgba(58, 73, 101, .25)"},Zm=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:Ge.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:Ge.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:Ge.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var n=this.get("start"),i=this.get("end"),a=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:(0,d.pi)({x1:n.x,y1:n.y,x2:i.x,y2:i.y},a)})},e.prototype.getLabelPoint=function(t,n,i){var a;return i==="start"?a=0:i==="center"?a=.5:(0,f.HD)(i)&&i.indexOf("%")!==-1?a=parseInt(i,10)/100:(0,f.hj)(i)?a=i:a=1,(a>1||a<0)&&(a=1),{x:Si(t.x,n.x,a),y:Si(t.y,n.y,a)}},e.prototype.renderLabel=function(t){var n=this.get("text"),i=this.get("start"),a=this.get("end"),o=n.position,s=n.content,l=n.style,u=n.offsetX,c=n.offsetY,h=n.autoRotate,v=n.maxLength,p=n.autoEllipsis,g=n.ellipsisPosition,y=n.background,x=n.isVertical,m=x===void 0?!1:x,w=this.getLabelPoint(i,a,o),M=w.x+u,S=w.y+c,A={id:this.getElementId("line-text"),name:"annotation-line-text",x:M,y:S,content:s,style:l,maxLength:v,autoEllipsis:p,ellipsisPosition:g,background:y,isVertical:m};if(h){var B=[a.x-i.x,a.y-i.y];A.rotate=Math.atan2(B[1],B[0])}us(t,A)},e}(Cr),qm=Zm,$m=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:Ge.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:Ge.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var n=this.getLocation(),i=n.x,a=n.y,o=this.get("content"),s=this.get("style"),l=this.getElementId("text"),u=this.get("name")+"-text",c=this.get("maxLength"),h=this.get("autoEllipsis"),v=this.get("isVertical"),p=this.get("ellipsisPosition"),g=this.get("background"),y=this.get("rotate"),x={id:l,name:u,x:i,y:a,content:o,style:s,maxLength:c,autoEllipsis:h,isVertical:v,ellipsisPosition:p,background:g,rotate:y};us(t,x)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var n=this.getLocation(),i=n.x,a=n.y,o=this.get("rotate");Jl(t,i,a),qf(t,o,i,a)}},e}(Cr),jm=$m,Jm=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),n=t.center,i=t.radius,a=t.startAngle,o=t.endAngle,s=ia(n,i,a),l=ia(n,i,o),u=o-a>Math.PI?1:0,c=[["M",s.x,s.y]];if(o-a===Math.PI*2){var h=ia(n,i,a+Math.PI);c.push(["A",i,i,0,u,1,h.x,h.y]),c.push(["A",i,i,0,u,1,l.x,l.y])}else c.push(["A",i,i,0,u,1,l.x,l.y]);return c},e.prototype.renderArc=function(t){var n=this.getArcPath(),i=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:(0,d.pi)({path:n},i)})},e}(Cr),Km=Jm,Qm=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:Ge.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var n=this.get("start"),i=this.get("end"),a=this.get("style"),o=Na({start:n,end:i});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:(0,d.pi)({x:o.x,y:o.y,width:o.width,height:o.height},a)})},e}(Cr),tx=Qm,ex=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),n=this.get("end"),i=this.get("style"),a=Na({start:t,end:n}),o=this.get("src");return(0,d.pi)({x:a.x,y:a.y,img:o,width:a.width,height:a.height},i)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(Cr),rx=ex,nx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:Ge.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:Ge.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:Ge.fontFamily}}}})},e.prototype.renderInner=function(t){(0,f.U2)(this.get("line"),"display")&&this.renderLine(t),(0,f.U2)(this.get("text"),"display")&&this.renderText(t),(0,f.U2)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var n=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:n})},e.prototype.renderLine=function(t){var n=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:n})},e.prototype.renderText=function(t){var n=this.getShapeAttrs().text,i=n.x,a=n.y,o=n.text,s=(0,d._T)(n,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,h=l.autoEllipsis,v=l.isVertival,p=l.ellipsisPosition,g={x:i,y:a,id:this.getElementId("text"),name:"annotation-text",content:o,style:s,background:u,maxLength:c,autoEllipsis:h,isVertival:v,ellipsisPosition:p};us(t,g)},e.prototype.autoAdjust=function(t){var n=this.get("direction"),i=this.get("x"),a=this.get("y"),o=(0,f.U2)(this.get("line"),"length",0),s=this.get("coordinateBBox"),l=t.getBBox(),u=l.minX,c=l.maxX,h=l.minY,v=l.maxY,p=t.findById(this.getElementId("text-group")),g=t.findById(this.getElementId("text")),y=t.findById(this.getElementId("line"));if(!!s&&p){var x=p.attr("x"),m=p.attr("y"),w=g.getCanvasBBox(),M=w.width,S=w.height,A=0,B=0;if(i+u<=s.minX)if(n==="leftward")A=1;else{var U=s.minX-(i+u);x=p.attr("x")+U}else if(i+c>=s.maxX)if(n==="rightward")A=-1;else{var U=i+c-s.maxX;x=p.attr("x")-U}if(A&&(y&&y.attr("path",[["M",0,0],["L",o*A,0]]),x=(o+2+M)*A),a+h<=s.minY)if(n==="upward")B=1;else{var U=s.minY-(a+h);m=p.attr("y")+U}else if(a+v>=s.maxY)if(n==="downward")B=-1;else{var U=a+v-s.maxY;m=p.attr("y")-U}B&&(y&&y.attr("path",[["M",0,0],["L",0,o*B]]),m=(o+2+S)*B),(x!==p.attr("x")||m!==p.attr("y"))&&Jl(p,x,m)}},e.prototype.getShapeAttrs=function(){var t=(0,f.U2)(this.get("line"),"display"),n=(0,f.U2)(this.get("point"),"style",{}),i=(0,f.U2)(this.get("line"),"style",{}),a=(0,f.U2)(this.get("text"),"style",{}),o=this.get("direction"),s=t?(0,f.U2)(this.get("line"),"length",0):0,l=0,u=0,c="top",h="start";switch(o){case"upward":u=-1,c="bottom";break;case"downward":u=1,c="top";break;case"leftward":l=-1,h="end";break;case"rightward":l=1,h="start";break}return{point:(0,d.pi)({x:0,y:0},n),line:(0,d.pi)({path:[["M",0,0],["L",s*l,s*u]]},i),text:(0,d.pi)({x:(s+2)*l,y:(s+2)*u,text:(0,f.U2)(this.get("text"),"content",""),textBaseline:c,textAlign:h},a)}},e}(Cr),ix=nx,ax=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:Ge.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:Ge.textColor,fontFamily:Ge.fontFamily}}}})},e.prototype.renderInner=function(t){var n=(0,f.U2)(this.get("region"),"style",{}),i=(0,f.U2)(this.get("text"),"style",{}),a=this.get("lineLength")||0,o=this.get("points");if(!!o.length){var s=km(o),l=[];l.push(["M",o[0].x,s.minY-a]),o.forEach(function(c){l.push(["L",c.x,c.y])}),l.push(["L",o[o.length-1].x,o[o.length-1].y-a]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:(0,d.pi)({path:l},n)});var u=(0,d.pi)({id:this.getElementId("text"),name:"annotation-text",x:(s.minX+s.maxX)/2,y:s.minY-a},this.get("text"));us(t,u)}},e}(Cr),ox=ax,sx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var n=this,i=this.get("start"),a=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});(0,f.S6)(this.get("shapes"),function(l,u){var c=l.get("type"),h=(0,f.d9)(l.attr());n.adjustShapeAttrs(h),n.addShape(o,{id:n.getElementId("shape-"+c+"-"+u),capture:!1,type:c,attrs:h})});var s=Na({start:i,end:a});o.setClip({type:"rect",attrs:{x:s.minX,y:s.minY,width:s.width,height:s.height}})},e.prototype.adjustShapeAttrs=function(t){var n=this.get("color");t.fill&&(t.fill=t.fillStyle=n),t.stroke=t.strokeStyle=n},e}(Cr),lx=sx,ux=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"shape",draw:f.ZT})},e.prototype.renderInner=function(t){var n=this.get("render");(0,f.mf)(n)&&n(t)},e}(Cr),cx=ux;function zr(r,e,t){var n;try{n=window.getComputedStyle?window.getComputedStyle(r,null)[e]:r.style[e]}catch(i){}finally{n=n===void 0?t:n}return n}function fx(r,e){var t=zr(r,"width",e);return t==="auto"&&(t=r.offsetWidth),parseFloat(t)}function hx(r,e){var t=fx(r,e),n=parseFloat(zr(r,"borderLeftWidth"))||0,i=parseFloat(zr(r,"paddingLeft"))||0,a=parseFloat(zr(r,"paddingRight"))||0,o=parseFloat(zr(r,"borderRightWidth"))||0,s=parseFloat(zr(r,"marginRight"))||0,l=parseFloat(zr(r,"marginLeft"))||0;return t+n+o+i+a+l+s}function vx(r,e){var t=zr(r,"height",e);return t==="auto"&&(t=r.offsetHeight),parseFloat(t)}function px(r,e){var t=vx(r,e),n=parseFloat(zr(r,"borderTopWidth"))||0,i=parseFloat(zr(r,"paddingTop"))||0,a=parseFloat(zr(r,"paddingBottom"))||0,o=parseFloat(zr(r,"borderBottomWidth"))||0,s=parseFloat(zr(r,"marginTop"))||0,l=parseFloat(zr(r,"marginBottom"))||0;return t+n+o+i+a+s+l}var dx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{container:null,containerTpl:"

",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var n=this.getContainer(),i=t?"auto":"none";n.style.pointerEvents=i,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),n=parseFloat(t.style.left)||0,i=parseFloat(t.style.top)||0;return za(n,i,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");Kl(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),r.prototype.destroy.call(this)},e.prototype.init=function(){r.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if((0,f.UM)(t)){t=this.createDom();var n=this.get("parent");(0,f.HD)(n)&&(n=document.getElementById(n),this.set("parent",n)),n.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else(0,f.HD)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),n=this.get("defaultStyles");t?t=(0,f.b$)({},n,t):t=n,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(!!t){var n=this.getContainer();this.applyChildrenStyles(n,t);var i=this.get("containerClassName");if(i&&Im(n,i)){var a=t[i];H(n,a)}}},e.prototype.applyChildrenStyles=function(t,n){(0,f.S6)(n,function(i,a){var o=t.getElementsByClassName(a);(0,f.S6)(o,function(s){H(s,i)})})},e.prototype.applyStyle=function(t,n){var i=this.get("domStyles");H(n,i[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return V(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){(0,f.wH)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(Jf),eu=dx,gx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),n=this.get("html");Kl(t);var i=(0,f.mf)(n)?n(t):n;if((0,f.kK)(i))t.appendChild(i);else if((0,f.HD)(i)||(0,f.hj)(i)){var a=V(""+i);a&&t.appendChild(a)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),n=this.getLocation(),i=n.x,a=n.y,o=this.get("alignX"),s=this.get("alignY"),l=this.get("offsetX"),u=this.get("offsetY"),c=hx(t),h=px(t),v={x:i,y:a};o==="middle"?v.x-=Math.round(c/2):o==="right"&&(v.x-=Math.round(c)),s==="middle"?v.y-=Math.round(h/2):s==="bottom"&&(v.y-=Math.round(h)),l&&(v.x+=l),u&&(v.y+=u),H(t,{position:"absolute",left:v.x+"px",top:v.y+"px",zIndex:this.get("zIndex")})},e}(eu),yx=gx;function Ua(r,e,t){var n=e+"Style",i=null;return(0,f.S6)(t,function(a,o){r[o]&&a[n]&&(i||(i={}),(0,f.CD)(i,a[n]))}),i}var mx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:Ge.lineColor}},tickLine:{style:{lineWidth:1,stroke:Ge.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:Ge.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:Ge.textColor,fontFamily:Ge.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:Ge.textColor,textBaseline:"middle",fontFamily:Ge.fontFamily,textAlign:"center"},iconStyle:{fill:Ge.descriptionIconFill,stroke:Ge.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:Ge.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,n){(0,f.CD)(t,n),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,n,i){t[n]=i,this.updateTickStates(t)},e.prototype.hasState=function(t,n){return!!t[n]},e.prototype.getItemStates=function(t){var n=this.get("tickStates"),i=[];return(0,f.S6)(n,function(a,o){t[o]&&i.push(o)}),i},e.prototype.clearItemsState=function(t){var n=this,i=this.getItemsByState(t);(0,f.S6)(i,function(a){n.setItemState(a,t,!1)})},e.prototype.getItemsByState=function(t){var n=this,i=this.getItems();return(0,f.hX)(i,function(a){return n.hasState(a,t)})},e.prototype.getSidePoint=function(t,n){var i=this,a=i.getSideVector(n,t);return{x:t.x+a[0],y:t.y+a[1]}},e.prototype.getTextAnchor=function(t){var n;return(0,f.vQ)(t[0],0)?n="center":t[0]>0?n="start":t[0]<0&&(n="end"),n},e.prototype.getTextBaseline=function(t){var n;return(0,f.vQ)(t[1],0)?n="middle":t[1]>0?n="top":t[1]<0&&(n="bottom"),n},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var n=this.getLinePath(),i=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:(0,f.CD)({path:n},i.style)})},e.prototype.getTickLineItems=function(t){var n=this,i=[],a=this.get("tickLine"),o=a.alignTick,s=a.length,l=1,u=t.length;return u>=2&&(l=t[1].value-t[0].value),(0,f.S6)(t,function(c){var h=c.point;o||(h=n.getTickPoint(c.value-l/2));var v=n.getSidePoint(h,s);i.push({startPoint:h,tickValue:c.value,endPoint:v,tickId:c.id,id:"tickline-"+c.id})}),i},e.prototype.getSubTickLineItems=function(t){var n=[],i=this.get("subTickLine"),a=i.count,o=t.length;if(o>=2)for(var s=0;s0){var i=(0,f.dp)(n);if(i>t.threshold){var a=Math.ceil(i/t.threshold),o=n.filter(function(s,l){return l%a===0});this.set("ticks",o),this.set("originalTicks",n)}}},e.prototype.getLabelAttrs=function(t,n,i){var a=this.get("label"),o=a.offset,s=a.offsetX,l=a.offsetY,u=a.rotate,c=a.formatter,h=this.getSidePoint(t.point,o),v=this.getSideVector(o,h),p=c?c(t.name,t,n):t.name,g=a.style;g=(0,f.mf)(g)?(0,f.U2)(this.get("theme"),["label","style"],{}):g;var y=(0,f.CD)({x:h.x+s,y:h.y+l,text:p,textAlign:this.getTextAnchor(v),textBaseline:this.getTextBaseline(v)},g);return u&&(y.matrix=Mi(h,u)),y},e.prototype.drawLabels=function(t){var n=this,i=this.get("ticks"),a=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});(0,f.S6)(i,function(v,p){n.addShape(a,{type:"text",name:"axis-label",id:n.getElementId("label-"+v.id),attrs:n.getLabelAttrs(v,p,i),delegateObject:{tick:v,item:v,index:p}})}),this.processOverlap(a);var o=a.getChildren(),s=(0,f.U2)(this.get("theme"),["label","style"],{}),l=this.get("label"),u=l.style,c=l.formatter;if((0,f.mf)(u)){var h=o.map(function(v){return(0,f.U2)(v.get("delegateObject"),"tick")});(0,f.S6)(o,function(v,p){var g=v.get("delegateObject").tick,y=c?c(g.name,g,p):g.name,x=(0,f.CD)({},s,u(y,p,h));v.attr(x)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),n=t.style,i=t.position,a=t.offset,o=t.spacing,s=o===void 0?0:o,l=t.autoRotate,u=n.fontSize,c=.5;i==="start"?c=0:i==="end"&&(c=1);var h=this.getTickPoint(c),v=this.getSidePoint(h,a||s+u/2),p=(0,f.CD)({x:v.x,y:v.y,text:t.text},n),g=t.rotate,y=g;if((0,f.UM)(g)&&l){var x=this.getAxisVector(h),m=[1,0];y=nr.Dg(x,m,!0)}if(y){var w=Mi(v,y);p.matrix=w}return p},e.prototype.drawTitle=function(t){var n,i=this.getTitleAttrs(),a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:i});!((n=this.get("title"))===null||n===void 0)&&n.description&&this.drawDescriptionIcon(t,a,i.matrix)},e.prototype.drawDescriptionIcon=function(t,n,i){var a=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),o=n.getBBox(),s=o.maxX,l=o.maxY,u=o.height,c=this.get("title").iconStyle,h=4,v=u/2,p=v/6,g=s+h,y=l-u/2,x=[g+v,y-v],m=x[0],w=x[1],M=[m+v,w+v],S=M[0],A=M[1],B=[m,A+v],U=B[0],Q=B[1],dt=[g,w+v],ut=dt[0],Dt=dt[1],jt=[g+v,y-u/4],fe=jt[0],me=jt[1],be=[fe,me+p],Nt=be[0],ie=be[1],he=[Nt,ie+p],ue=he[0],ve=he[1],Te=[ue,ve+v*3/4],Be=Te[0],Ye=Te[1];this.addShape(a,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:(0,d.pi)({path:[["M",m,w],["A",v,v,0,0,1,S,A],["A",v,v,0,0,1,U,Q],["A",v,v,0,0,1,ut,Dt],["A",v,v,0,0,1,m,w],["M",fe,me],["L",Nt,ie],["M",ue,ve],["L",Be,Ye]],lineWidth:p,matrix:i},c)}),this.addShape(a,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:g,y:y-u/2,width:u,height:u,stroke:"#000",fill:"#000",opacity:0,matrix:i,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,n){var i=this.getItemStates(t);if(i.length){var a=this.get("tickStates"),o=this.getElementId("label-"+t.id),s=n.findById(o);if(s){var l=Ua(t,"label",a);l&&s.attr(l)}var u=this.getElementId("tickline-"+t.id),c=n.findById(u);if(c){var h=Ua(t,"tickLine",a);h&&c.attr(h)}}},e.prototype.updateTickStates=function(t){var n=this.getItemStates(t),i=this.get("tickStates"),a=this.get("label"),o=this.getElementByLocalId("label-"+t.id),s=this.get("tickLine"),l=this.getElementByLocalId("tickline-"+t.id);if(n.length){if(o){var u=Ua(t,"label",i);u&&o.attr(u)}if(l){var c=Ua(t,"tickLine",i);c&&l.attr(c)}}else o&&o.attr(a.style),l&&l.attr(s.style)},e}(Cr),Kf=mx;function ru(r,e,t,n){var i=e.getChildren(),a=!1;return(0,f.S6)(i,function(o){var s=Va(r,o,t,n);a=a||s}),a}function xx(){return Qf}function wx(r,e,t){return ru(r,e,t,"head")}function Qf(r,e,t){return ru(r,e,t,"tail")}function Mx(r,e,t){return ru(r,e,t,"middle")}function Sx(r){var e=r.attr("matrix");return e&&e[0]!==1}function th(r){var e=Sx(r)?Fm(r.attr("matrix")):0;return e%360}function nu(r,e,t,n){var i=!1,a=th(e),o=Math.abs(r?t.attr("y")-e.attr("y"):t.attr("x")-e.attr("x")),s=(r?t.attr("y")>e.attr("y"):t.attr("x")>e.attr("x"))?e.getBBox():t.getBBox();if(r){var l=Math.abs(Math.cos(a));ls(l,0,Math.PI/180)?i=s.width+n>o:i=s.height/l+n>o}else{var l=Math.abs(Math.sin(a));ls(l,0,Math.PI/180)?i=s.width+n>o:i=s.height/l+n>o}return i}function Ha(r,e,t,n){var i=(n==null?void 0:n.minGap)||0,a=e.getChildren().slice().filter(function(g){return g.get("visible")});if(!a.length)return!1;var o=!1;t&&a.reverse();for(var s=a.length,l=a[0],u=l,c=1;c1){v=Math.ceil(v);for(var y=0;y2){var o=i[0],s=i[i.length-1];o.get("visible")||(o.show(),Ha(r,e,!1,n)&&(a=!0)),s.get("visible")||(s.show(),Ha(r,e,!0,n)&&(a=!0))}return a}function Fx(r,e){(0,f.S6)(r,function(t){var n=t.attr("x"),i=t.attr("y"),a=Mi({x:n,y:i},e);t.attr("matrix",a)})}function nh(r,e,t,n){var i=e.getChildren();if(!i.length||!r&&i.length<2)return!1;var a=tu(i),o=!1;if(r)o=!!t&&a>t;else{var s=Math.abs(i[1].attr("x")-i[0].attr("x"));o=a>s}if(o){var l=n(t,a);Fx(i,l)}return o}function _x(){return ih}function ih(r,e,t,n){return nh(r,e,t,function(){return(0,f.hj)(n)?n:r?Ge.verticalAxisRotate:Ge.horizontalAxisRotate})}function Ix(r,e,t){return nh(r,e,t,function(n,i){if(!n)return r?Ge.verticalAxisRotate:Ge.horizontalAxisRotate;if(r)return-Math.acos(n/i);var a=0;return n>i?a=Math.PI/4:(a=Math.asin(n/i),a>Math.PI/4&&(a=Math.PI/4)),a})}var kx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),n=this.get("end"),i=[];return i.push(["M",t.x,t.y]),i.push(["L",n.x,n.y]),i},e.prototype.getInnerLayoutBBox=function(){var t=this.get("start"),n=this.get("end"),i=r.prototype.getInnerLayoutBBox.call(this),a=Math.min(t.x,n.x,i.x),o=Math.min(t.y,n.y,i.y),s=Math.max(t.x,n.x,i.maxX),l=Math.max(t.y,n.y,i.maxY);return{x:a,y:o,minX:a,minY:o,maxX:s,maxY:l,width:s-a,height:l-o}},e.prototype.isVertical=function(){var t=this.get("start"),n=this.get("end");return(0,f.vQ)(t.x,n.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),n=this.get("end");return(0,f.vQ)(t.y,n.y)},e.prototype.getTickPoint=function(t){var n=this,i=n.get("start"),a=n.get("end"),o=a.x-i.x,s=a.y-i.y;return{x:i.x+o*t,y:i.y+s*t}},e.prototype.getSideVector=function(t){var n=this.getAxisVector(),i=ye.Fv([0,0],n),a=this.get("verticalFactor"),o=[i[1],i[0]*-1];return ye.bA([0,0],o,t*a)},e.prototype.getAxisVector=function(){var t=this.get("start"),n=this.get("end");return[n.x-t.x,n.y-t.y]},e.prototype.processOverlap=function(t){var n=this,i=this.isVertical(),a=this.isHorizontal();if(!(!i&&!a)){var o=this.get("label"),s=this.get("title"),l=this.get("verticalLimitLength"),u=o.offset,c=l,h=0,v=0;s&&(h=s.style.fontSize,v=s.spacing),c&&(c=c-u-v-h);var p=this.get("overlapOrder");if((0,f.S6)(p,function(x){o[x]&&n.canProcessOverlap(x)&&n.autoProcessOverlap(x,o[x],t,c)}),s&&(0,f.UM)(s.offset)){var g=t.getCanvasBBox(),y=i?g.width:g.height;s.offset=u+y+v+h/2}}},e.prototype.canProcessOverlap=function(t){var n=this.get("label");return t==="autoRotate"?(0,f.UM)(n.rotate):!0},e.prototype.autoProcessOverlap=function(t,n,i,a){var o=this,s=this.isVertical(),l=!1,u=Ft[t];if(n===!0){var c=this.get("label");l=u.getDefault()(s,i,a)}else if((0,f.mf)(n))l=n(s,i,a);else if((0,f.Kn)(n)){var h=n;u[h.type]&&(l=u[h.type](s,i,a,h.cfg))}else u[n]&&(l=u[n](s,i,a));if(t==="autoRotate"){if(l){var v=i.getChildren(),p=this.get("verticalFactor");(0,f.S6)(v,function(y){var x=y.attr("textAlign");if(x==="center"){var m=p>0?"end":"start";y.attr("textAlign",m)}})}}else if(t==="autoHide"){var g=i.getChildren().slice(0);(0,f.S6)(g,function(y){y.get("visible")||(o.get("isRegister")&&o.unregisterElement(y),y.remove())})}},e}(Kf),Lx=kx,Px=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getLinePath=function(){var t=this.get("center"),n=t.x,i=t.y,a=this.get("radius"),o=a,s=this.get("startAngle"),l=this.get("endAngle"),u=[];if(Math.abs(l-s)===Math.PI*2)u=[["M",n,i-o],["A",a,o,0,1,1,n,i+o],["A",a,o,0,1,1,n,i-o],["Z"]];else{var c=this.getCirclePoint(s),h=this.getCirclePoint(l),v=Math.abs(l-s)>Math.PI?1:0,p=s>l?0:1;u=[["M",n,i],["L",c.x,c.y],["A",a,o,0,v,p,h.x,h.y],["L",n,i]]}return u},e.prototype.getTickPoint=function(t){var n=this.get("startAngle"),i=this.get("endAngle"),a=n+(i-n)*t;return this.getCirclePoint(a)},e.prototype.getSideVector=function(t,n){var i=this.get("center"),a=[n.x-i.x,n.y-i.y],o=this.get("verticalFactor"),s=ye.kE(a);return ye.bA(a,a,o*t/s),a},e.prototype.getAxisVector=function(t){var n=this.get("center"),i=[t.x-n.x,t.y-n.y];return[i[1],-1*i[0]]},e.prototype.getCirclePoint=function(t,n){var i=this.get("center");return n=n||this.get("radius"),{x:i.x+Math.cos(t)*n,y:i.y+Math.sin(t)*n}},e.prototype.canProcessOverlap=function(t){var n=this.get("label");return t==="autoRotate"?(0,f.UM)(n.rotate):!0},e.prototype.processOverlap=function(t){var n=this,i=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),s=i.offset,l=o,u=0,c=0;a&&(u=a.style.fontSize,c=a.spacing),l&&(l=l-s-c-u);var h=this.get("overlapOrder");if((0,f.S6)(h,function(p){i[p]&&n.canProcessOverlap(p)&&n.autoProcessOverlap(p,i[p],t,l)}),a&&(0,f.UM)(a.offset)){var v=t.getCanvasBBox().height;a.offset=s+v+c+u/2}},e.prototype.autoProcessOverlap=function(t,n,i,a){var o=this,s=!1,l=Ft[t];if(a>0)if(n===!0)s=l.getDefault()(!1,i,a);else if((0,f.mf)(n))s=n(!1,i,a);else if((0,f.Kn)(n)){var u=n;l[u.type]&&(s=l[u.type](!1,i,a,u.cfg))}else l[n]&&(s=l[n](!1,i,a));if(t==="autoRotate"){if(s){var c=i.getChildren(),h=this.get("verticalFactor");(0,f.S6)(c,function(p){var g=p.attr("textAlign");if(g==="center"){var y=h>0?"end":"start";p.attr("textAlign",y)}})}}else if(t==="autoHide"){var v=i.getChildren().slice(0);(0,f.S6)(v,function(p){p.get("visible")||(o.get("isRegister")&&o.unregisterElement(p),p.remove())})}},e}(Kf),Dx=Px,Ox=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:Ge.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:Ge.textColor,textAlign:"center",textBaseline:"middle",fontFamily:Ge.fontFamily}},textBackground:{padding:5,style:{stroke:Ge.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var n=this.get("text"),i=n.style,a=n.autoRotate,o=n.content;if(!(0,f.UM)(o)){var s=this.getTextPoint(),l=null;if(a){var u=this.getRotateAngle();l=Mi(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:(0,d.pi)((0,d.pi)((0,d.pi)({},s),{text:o,matrix:l}),i)})}},e.prototype.renderLine=function(t){var n=this.getLinePath(),i=this.get("line"),a=i.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:(0,d.pi)({path:n},a)})},e.prototype.renderBackground=function(t){var n=this.getElementId("text"),i=t.findById(n),a=this.get("textBackground");if(a&&i){var o=i.getBBox(),s=ss(a.padding),l=a.style,u=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:(0,d.pi)({x:o.x-s[3],y:o.y-s[0],width:o.width+s[1]+s[3],height:o.height+s[0]+s[2],matrix:i.attr("matrix")},l)});u.toBack()}},e}(Cr),iu=Ox,Bx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),n=t.start,i=t.end,a=this.get("text").position,o=Math.atan2(i.y-n.y,i.x-n.x),s=a==="start"?o-Math.PI/2:o+Math.PI/2;return s},e.prototype.getTextPoint=function(){var t=this.getLocation(),n=t.start,i=t.end,a=this.get("text"),o=a.position,s=a.offset;return jf(n,i,o,s)},e.prototype.getLinePath=function(){var t=this.getLocation(),n=t.start,i=t.end;return[["M",n.x,n.y],["L",i.x,i.y]]},e}(iu),ah=Bx,Rx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),n=t.startAngle,i=t.endAngle,a=this.get("text").position,o=a==="start"?n+Math.PI/2:i-Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.get("text"),n=t.position,i=t.offset,a=this.getLocation(),o=a.center,s=a.radius,l=a.startAngle,u=a.endAngle,c=n==="start"?l:u,h=this.getRotateAngle()-Math.PI,v=ia(o,s,c),p=Math.cos(h)*i,g=Math.sin(h)*i;return{x:v.x+p,y:v.y+g}},e.prototype.getLinePath=function(){var t=this.getLocation(),n=t.center,i=t.radius,a=t.startAngle,o=t.endAngle,s=null;if(o-a===Math.PI*2){var l=n.x,u=n.y;s=[["M",l,u-i],["A",i,i,0,1,1,l,u+i],["A",i,i,0,1,1,l,u-i],["Z"]]}else{var c=ia(n,i,a),h=ia(n,i,o),v=Math.abs(o-a)>Math.PI?1:0,p=a>o?0:1;s=[["M",c.x,c.y],["A",i,i,0,v,p,h.x,h.y]]}return s},e}(iu),Nx=Rx,Ga="g2-crosshair",au=Ga+"-line",ou=Ga+"-text",Ya,zx=(Ya={},Ya[""+Ga]={position:"relative"},Ya[""+au]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},Ya[""+ou]={position:"absolute",color:Ge.textColor,fontFamily:Ge.fontFamily},Ya),Vx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
',crosshairTpl:'
',textTpl:'{content}',domStyles:null,containerClassName:Ga,defaultStyles:zx,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),n=this.get("crosshairTpl"),i=V(n);t.appendChild(i),this.applyStyle(au,i),this.set("crosshairEl",i)},e.prototype.getTextPoint=function(){var t=this.getLocation(),n=t.start,i=t.end,a=this.get("text"),o=a.position,s=a.offset;return jf(n,i,o,s)},e.prototype.resetText=function(){var t=this.get("text"),n=this.get("textEl");if(t){var i=t.content;if(!n){var a=this.getContainer(),o=(0,f.ng)(this.get("textTpl"),t);n=V(o),a.appendChild(n),this.applyStyle(ou,n),this.set("textEl",n)}n.innerHTML=i}else n&&n.remove()},e.prototype.isVertical=function(t,n){return t.x===n.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var n=this.get("start"),i=this.get("end"),a=Math.min(n.x,i.x),o=Math.min(n.y,i.y);this.isVertical(n,i)?H(t,{width:"1px",height:Nr(Math.abs(i.y-n.y))}):H(t,{height:"1px",width:Nr(Math.abs(i.x-n.x))}),H(t,{top:Nr(o),left:Nr(a)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var n=this.get("text").align,i=t.clientWidth,a=this.getTextPoint();switch(n){case"center":a.x=a.x-i/2;break;case"right":a.x=a.x-i;case"left":break}H(t,{top:Nr(a.y),left:Nr(a.x)})}},e.prototype.updateInner=function(t){(0,f.wH)(t,"text")&&this.resetText(),r.prototype.updateInner.call(this,t)},e}(eu),Ux=Vx,Hx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:Ge.lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,n){var i=this.getGridPath(t),a=n.slice(0).reverse(),o=this.getGridPath(a,!0),s=this.get("closed");return s?i=i.concat(o):(o[0][0]="L",i=i.concat(o),i.push(["Z"])),i},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var n=this,i=this.get("line"),a=this.get("items"),o=this.get("alternateColor"),s=null;(0,f.S6)(a,function(l,u){var c=l.id||u;if(i){var h=n.getPathStyle();h=(0,f.mf)(h)?h(l,u,a):h;var v=n.getElementId("line-"+c),p=n.getGridPath(l.points);n.addShape(t,{type:"path",name:"grid-line",id:v,attrs:(0,f.CD)({path:p},h)})}if(o&&u>0){var g=n.getElementId("region-"+c),y=u%2===0;if((0,f.HD)(o))y&&n.drawAlternateRegion(g,t,s.points,l.points,o);else{var x=y?o[1]:o[0];n.drawAlternateRegion(g,t,s.points,l.points,x)}}s=l})},e.prototype.drawAlternateRegion=function(t,n,i,a,o){var s=this.getAlternatePath(i,a);this.addShape(n,{type:"path",id:t,name:"grid-region",attrs:{path:s,fill:o}})},e}(Cr),oh=Hx;function Gx(r,e,t,n){var i=t-r,a=n-e;return Math.sqrt(i*i+a*a)}var Yx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,n){var i=this.getLineType(),a=this.get("closed"),o=[];if(t.length)if(i==="circle"){var s=this.get("center"),l=t[0],u=Gx(s.x,s.y,l.x,l.y),c=n?0:1;a?(o.push(["M",s.x,s.y-u]),o.push(["A",u,u,0,0,c,s.x,s.y+u]),o.push(["A",u,u,0,0,c,s.x,s.y-u]),o.push(["Z"])):(0,f.S6)(t,function(h,v){v===0?o.push(["M",h.x,h.y]):o.push(["A",u,u,0,0,c,h.x,h.y])})}else(0,f.S6)(t,function(h,v){v===0?o.push(["M",h.x,h.y]):o.push(["L",h.x,h.y])}),a&&o.push(["Z"]);return o},e}(oh),Xx=Yx,Wx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"line"})},e.prototype.getGridPath=function(t){var n=[];return(0,f.S6)(t,function(i,a){a===0?n.push(["M",i.x,i.y]):n.push(["L",i.x,i.y])}),n},e}(oh),Zx=Wx,qx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var t=r.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),i=this.get("maxHeight"),a=t.width,o=t.height;return n&&(a=Math.min(a,n)),i&&(o=Math.min(o,i)),za(t.minX,t.minY,a,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),n=this.get("y"),i=this.get("offsetX"),a=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+i,y:n+a})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var n=this.get("background"),i=t.getBBox(),a=ss(n.padding),o=(0,d.pi)({x:0,y:0,width:i.width+a[1]+a[3],height:i.height+a[0]+a[2]},n.style),s=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});s.toBack()},e.prototype.drawTitle=function(t){var n=this.get("currentPoint"),i=this.get("title"),a=i.spacing,o=i.style,s=i.text,l=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:(0,d.pi)({text:s,x:n.x,y:n.y},o)}),u=l.getBBox();this.set("currentPoint",{x:n.x,y:u.maxY+a})},e.prototype.resetDraw=function(){var t=this.get("background"),n={x:0,y:0};if(t){var i=ss(t.padding);n.x=i[3],n.y=i[0]}this.set("currentPoint",n)},e}(Cr),sh=qx,su={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},cs={fill:Ge.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:Ge.fontFamily,fontWeight:"normal",lineHeight:12},lu="navigation-arrow-right",uu="navigation-arrow-left",lh={right:90*Math.PI/180,left:(360-90)*Math.PI/180,up:0,down:180*Math.PI/180},$x=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.currentPageIndex=1,t.totalPagesCnt=1,t.pageWidth=0,t.pageHeight=0,t.startX=0,t.startY=0,t.onNavigationBack=function(){var n=t.getElementByLocalId("item-group");if(t.currentPageIndex>1){t.currentPageIndex-=1,t.updateNavigation();var i=t.getCurrentNavigationMatrix();t.get("animate")?n.animate({matrix:i},100):n.attr({matrix:i})}},t.onNavigationAfter=function(){var n=t.getElementByLocalId("item-group");if(t.currentPageIndexx&&(x=U),p==="horizontal"?(m&&mu}if(s==="horizontal"){var Q=this.get("maxRow")||1,dt=p+(Q===1?0:B),ut=u-v-x.width-x.minX;this.pageHeight=dt*Q,this.pageWidth=ut,(0,f.S6)(l,function(jt){var fe=jt.getBBox(),me=h||fe.width;(M&&MS&&(S=fe.width)}),A=S,S+=v,u&&(S=Math.min(u,S),A=Math.min(u,A)),this.pageWidth=S,this.pageHeight=c-Math.max(x.height,p+B);var Dt=Math.floor(this.pageHeight/(p+B));(0,f.S6)(l,function(jt,fe){fe!==0&&fe%Dt===0&&(w+=1,m.x+=S,m.y=o),i.moveElementTo(jt,m),jt.getParent().setClip({type:"rect",attrs:{x:m.x,y:m.y,width:S,height:p}}),m.y+=p+B}),this.totalPagesCnt=w,this.moveElementTo(y,{x:a+A/2-x.width/2-x.minX,y:c-x.height-x.minY})}this.pageHeight&&this.pageWidth&&n.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),s==="horizontal"&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(w/this.get("maxRow")):this.totalPagesCnt=w,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(y),n.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,n,i,a){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=(0,f.U2)(a.marker,"style",{}),u=l.size,c=u===void 0?12:u,h=(0,d._T)(l,["size"]),v=this.drawArrow(s,o,uu,n==="horizontal"?"up":"left",c,h);v.on("click",this.onNavigationBack);var p=v.getBBox();o.x+=p.width+2;var g=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:(0,d.pi)({x:o.x,y:o.y+c/2,text:i,textBaseline:"middle"},(0,f.U2)(a.text,"style"))}),y=g.getBBox();o.x+=y.width+2;var x=this.drawArrow(s,o,lu,n==="horizontal"?"down":"right",c,h);return x.on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var n=(0,f.b$)({},su,this.get("pageNavigator")),i=n.marker.style,a=i.fill,o=i.opacity,s=i.inactiveFill,l=i.inactiveOpacity,u=this.currentPageIndex+"/"+this.totalPagesCnt,c=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),h=t?t.findById(this.getElementId(uu)):this.getElementByLocalId(uu),v=t?t.findById(this.getElementId(lu)):this.getElementByLocalId(lu);c.attr("text",u),h.attr("opacity",this.currentPageIndex===1?l:o),h.attr("fill",this.currentPageIndex===1?s:a),h.attr("cursor",this.currentPageIndex===1?"not-allowed":"pointer"),v.attr("opacity",this.currentPageIndex===this.totalPagesCnt?l:o),v.attr("fill",this.currentPageIndex===this.totalPagesCnt?s:a),v.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var p=h.getBBox().maxX+2;c.attr("x",p),p+=c.getBBox().width+2,this.updateArrowPath(v,{x:p,y:0})},e.prototype.drawArrow=function(t,n,i,a,o,s){var l=n.x,u=n.y,c=this.addShape(t,{type:"path",id:this.getElementId(i),name:i,attrs:(0,d.pi)({size:o,direction:a,path:[["M",l+o/2,u],["L",l,u+o],["L",l+o,u+o],["Z"]],cursor:"pointer"},s)});return c.attr("matrix",Mi({x:l+o/2,y:u+o/2},lh[a])),c},e.prototype.updateArrowPath=function(t,n){var i=n.x,a=n.y,o=t.attr(),s=o.size,l=o.direction,u=Mi({x:i+s/2,y:a+s/2},lh[l]);t.attr("path",[["M",i+s/2,a],["L",i,a+s],["L",i+s,a+s],["Z"]]),t.attr("matrix",u)},e.prototype.getCurrentNavigationMatrix=function(){var t=this,n=t.currentPageIndex,i=t.pageWidth,a=t.pageHeight,o=this.get("layout"),s=o==="horizontal"?{x:0,y:a*(1-n)}:{x:i*(1-n),y:0};return jl(s)},e.prototype.applyItemStates=function(t,n){var i=this.getItemStates(t),a=i.length>0;if(a){var o=n.getChildren(),s=this.get("itemStates");(0,f.S6)(o,function(l){var u=l.get("name"),c=u.split("-")[2],h=Ua(t,c,s);h&&(l.attr(h),c==="marker"&&!(l.get("isStroke")&&l.get("isFill"))&&(l.get("isStroke")&&l.attr("fill",null),l.get("isFill")&&l.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),n=this.get("maxItemWidth");return n?t&&(n=t<=n?t:n):t&&(n=t),n},e}(sh),jx=$x,Jx=1.4,uh=.4,Kx=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:Ge.textColor,textBaseline:"middle",fontFamily:Ge.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:Ge.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,n){this.update({min:t,max:n})},e.prototype.setValue=function(t){var n=this.getValue();this.set("value",t);var i=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(i),this.delegateEmit("valuechanged",{originValue:n,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var n=this;t.on("legend-handler-min:drag",function(i){var a=n.getValueByCanvasPoint(i.x,i.y),o=n.getCurrentValue(),s=o[1];sa&&(s=a),n.setValue([s,a])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var n=this,i=null;t.on("legend-track:dragstart",function(a){i={x:a.x,y:a.y}}),t.on("legend-track:drag",function(a){if(!!i){var o=n.getValueByCanvasPoint(i.x,i.y),s=n.getValueByCanvasPoint(a.x,a.y),l=n.getCurrentValue(),u=l[1]-l[0],c=n.getRange(),h=s-o;h<0?l[0]+h>c.min?n.setValue([l[0]+h,l[1]+h]):n.setValue([c.min,c.min+u]):h>0&&(h>0&&l[1]+ho&&(h=o),h0&&this.changeRailLength(a,s,i[s]-p)}},e.prototype.changeRailLength=function(t,n,i){var a=t.getBBox(),o;n==="height"?o=this.getRailPath(a.x,a.y,a.width,i):o=this.getRailPath(a.x,a.y,i,a.height),t.attr("path",o)},e.prototype.changeRailPosition=function(t,n,i){var a=t.getBBox(),o=this.getRailPath(n,i,a.width,a.height);t.attr("path",o)},e.prototype.fixedHorizontal=function(t,n,i,a){var o=this.get("label"),s=o.align,l=o.spacing,u=i.getBBox(),c=t.getBBox(),h=n.getBBox(),v=u.height;this.fitRailLength(c,h,u,i),u=i.getBBox(),s==="rail"?(t.attr({x:a.x,y:a.y+v/2}),this.changeRailPosition(i,a.x+c.width+l,a.y),n.attr({x:a.x+c.width+u.width+l*2,y:a.y+v/2})):s==="top"?(t.attr({x:a.x,y:a.y}),n.attr({x:a.x+u.width,y:a.y}),this.changeRailPosition(i,a.x,a.y+c.height+l)):(this.changeRailPosition(i,a.x,a.y),t.attr({x:a.x,y:a.y+u.height+l}),n.attr({x:a.x+u.width,y:a.y+u.height+l}))},e.prototype.fixedVertail=function(t,n,i,a){var o=this.get("label"),s=o.align,l=o.spacing,u=i.getBBox(),c=t.getBBox(),h=n.getBBox();if(this.fitRailLength(c,h,u,i),u=i.getBBox(),s==="rail")t.attr({x:a.x,y:a.y}),this.changeRailPosition(i,a.x,a.y+c.height+l),n.attr({x:a.x,y:a.y+c.height+u.height+l*2});else if(s==="right")t.attr({x:a.x+u.width+l,y:a.y}),this.changeRailPosition(i,a.x,a.y),n.attr({x:a.x+u.width+l,y:a.y+u.height});else{var v=Math.max(c.width,h.width);t.attr({x:a.x,y:a.y}),this.changeRailPosition(i,a.x+v+l,a.y),n.attr({x:a.x,y:a.y+u.height})}},e}(sh),Qx=Kx,Nn="g2-tooltip",zn="g2-tooltip-title",Xa="g2-tooltip-list",fs="g2-tooltip-list-item",hs="g2-tooltip-marker",vs="g2-tooltip-value",ch="g2-tooltip-name",cu="g2-tooltip-crosshair-x",fu="g2-tooltip-crosshair-y",Sn,t1=(Sn={},Sn[""+Nn]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:Ge.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},Sn[""+zn]={marginBottom:"4px"},Sn[""+Xa]={margin:"0px",listStyleType:"none",padding:"0px"},Sn[""+fs]={listStyleType:"none",marginBottom:"4px"},Sn[""+hs]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},Sn[""+vs]={display:"inline-block",float:"right",marginLeft:"30px"},Sn[""+cu]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},Sn[""+fu]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},Sn);function e1(r,e,t,n,i){var a={left:ri.x+i.width,top:ei.y+i.height};return a}function r1(r,e,t,n,i,a){var o=r,s=e;switch(a){case"left":o=r-n-t,s=e-i/2;break;case"right":o=r+t,s=e-i/2;break;case"top":o=r-n/2,s=e-i-t;break;case"bottom":o=r-n/2,s=e+t;break;default:o=r+t,s=e-i-t;break}return{x:o,y:s}}function n1(r,e,t,n,i,a,o){var s=r1(r,e,t,n,i,a);if(o){var l=e1(s.x,s.y,n,i,o);a==="auto"?(l.right&&(s.x=Math.max(0,r-n-t)),l.top&&(s.y=Math.max(0,e-i-t))):a==="top"||a==="bottom"?(l.left&&(s.x=o.x),l.right&&(s.x=o.x+o.width-n),a==="top"&&l.top&&(s.y=e+t),a==="bottom"&&l.bottom&&(s.y=e-i-t)):(l.top&&(s.y=o.y),l.bottom&&(s.y=o.y+o.height-i),a==="left"&&l.left&&(s.x=r+t),a==="right"&&l.right&&(s.x=r-n-t))}return s}function i1(r,e){var t=!1;return(0,f.S6)(e,function(n){if((0,f.wH)(r,n))return t=!0,!1}),t}var a1=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
    ',itemTpl:'
  • + + {name}: + {value} +
  • `,xCrosshairTpl:'
    ',yCrosshairTpl:'
    ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:Nn,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:t1})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!0),H(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!1),H(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var n=t?"":"none",i=this.get("xCrosshairDom"),a=this.get("yCrosshairDom");i&&H(i,{display:n}),a&&H(a,{display:n})},e.prototype.initContainer=function(){if(r.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var t=this.getHtmlContentNode();this.get("parent").appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(t){this.get("customContent")?this.renderCustomContent():(i1(t,["title","showTitle"])&&this.resetTitle(),(0,f.wH)(t,"items")&&this.renderItems()),r.prototype.updateInner.call(this,t)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){r.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t=this.get("x"),n=this.get("y"),i=this.get("offset"),a=this.getOffset(),o=a.offsetX,s=a.offsetY,l=this.get("position"),u=this.get("region"),c=this.getContainer(),h=this.getBBox(),v=h.width,p=h.height,g;u&&(g=Na(u));var y=n1(t,n,i,v,p,l,g);H(c,{left:Nr(y.x+o),top:Nr(y.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),n=this.get("parent"),i=this.get("container");i&&i.parentNode===n?n.replaceChild(t,i):n.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,n=this.get("customContent");if(n){var i=n(this.get("title"),this.get("items"));(0,f.kK)(i)?t=i:t=V(i)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),n=t.getElementsByClassName(zn)[0],i=t.getElementsByClassName(Xa)[0];this.set("titleDom",n),this.set("listDom",i)},e.prototype.resetTitle=function(){var t=this.get("title"),n=this.get("showTitle");n&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var n=this.get("titleDom");n&&(n.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),n=this.get("crosshairs");if(!t||!n)this.clearCrosshairs();else{var i=Na(t),a=this.get("xCrosshairDom"),o=this.get("yCrosshairDom");n==="x"?(this.resetCrosshair("x",i),o&&(o.remove(),this.set("yCrosshairDom",null))):n==="y"?(this.resetCrosshair("y",i),a&&(a.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",i),this.resetCrosshair("y",i)),this.setCrossHairsVisible(this.get("visible"))}},e.prototype.resetCrosshair=function(t,n){var i=this.checkCrosshair(t),a=this.get(t);t==="x"?H(i,{left:Nr(a),top:Nr(n.y),height:Nr(n.height)}):H(i,{top:Nr(a),left:Nr(n.x),width:Nr(n.width)})},e.prototype.checkCrosshair=function(t){var n=t+"CrosshairDom",i=t+"CrosshairTpl",a="CROSSHAIR_"+t.toUpperCase(),o=wt[a],s=this.get(n),l=this.get("parent");return s||(s=V(this.get(i)),this.applyStyle(o,s),l.appendChild(s),this.set(n,s)),s},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),n=this.get("itemTpl"),i=this.get("listDom");i&&((0,f.S6)(t,function(a){var o=G.toCSSGradient(a.color),s=(0,d.pi)((0,d.pi)({},a),{color:o}),l=(0,f.ng)(n,s),u=V(l);i.appendChild(u)}),this.applyChildrenStyles(i,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&Kl(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),n=this.get("yCrosshairDom");t&&t.remove(),n&&n.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(eu),o1=a1,s1={opacity:0},l1={stroke:"#C5C5C5",strokeOpacity:.85},u1={fill:"#CACED4",opacity:.85},c1=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig,f1=/[^\s\,]+/ig;function p5(r){var e=r||[];if(isArray(e))return e;if(isString(e))return e=e.match(c1),each(e,function(t,n){if(t=t.match(f1),t[0].length>1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}each(t,function(a,o){isNaN(a)||(t[o]=+a)}),e[n]=t}),e}var d5=null;function h1(r,e,t,n){var i=[],a=!!n,o,s,l,u,c,h,v;if(a){l=n[0],u=n[1];for(var p=0,g=r.length;p=0;l--)o=a[l].index,a[l].type==="add"?r.splice(o,0,[].concat(r[o])):r.splice(o,1)}if(n=r.length,n2&&(t.push([i].concat(o.splice(0,2))),s="l",i=i==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([i,o[0]]),s==="r")t.push([i].concat(o));else for(;o.length>=e[s]&&(t.push([i].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var x1=/[a-z]/;function fh(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function m5(r){var e=parsePathString(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,n=0;n=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h,v,p=e[0];(p[0]==="M"||p[0]==="m")&&(o=+p[1],s=+p[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var n=c,g=e.length;n1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},M1=function(r,e,t,n,i,a,o,s,l,u,c,h){var v=Math.pow(i,2),p=Math.pow(a,2),g=Math.pow(c,2),y=Math.pow(h,2),x=v*p-v*y-p*g;x<0&&(x=0),x/=v*y+p*g,x=Math.sqrt(x)*(o===s?-1:1);var m=x*i/a*h,w=x*-a/i*c,M=u*m-l*w+(r+t)/2,S=l*m+u*w+(e+n)/2,A=(c-m)/i,B=(h-w)/a,U=(-c-m)/i,Q=(-h-w)/a,dt=hh(1,0,A,B),ut=hh(A,B,U,Q);return s===0&&ut>0&&(ut-=Za),s===1&&ut<0&&(ut+=Za),[M,S,dt,ut]},S1=function(r){var e=r.px,t=r.py,n=r.cx,i=r.cy,a=r.rx,o=r.ry,s=r.xAxisRotation,l=s===void 0?0:s,u=r.largeArcFlag,c=u===void 0?0:u,h=r.sweepFlag,v=h===void 0?0:h,p=[];if(a===0||o===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];var g=Math.sin(l*Za/360),y=Math.cos(l*Za/360),x=y*(e-n)/2+g*(t-i)/2,m=-g*(e-n)/2+y*(t-i)/2;if(x===0&&m===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];a=Math.abs(a),o=Math.abs(o);var w=Math.pow(x,2)/Math.pow(a,2)+Math.pow(m,2)/Math.pow(o,2);w>1&&(a*=Math.sqrt(w),o*=Math.sqrt(w));var M=M1(e,t,n,i,a,o,c,v,g,y,x,m),S=M[0],A=M[1],B=M[2],U=M[3],Q=Math.abs(U)/(Za/4);Math.abs(1-Q)<1e-7&&(Q=1);var dt=Math.max(Math.ceil(Q),1);U/=dt;for(var ut=0;ut7){r[t].shift();for(var n=r[t],i=t;n.length;)e[t]="A",r.splice(i+=1,0,["C"].concat(n.splice(0,6)));r.splice(t,1)}}var vh=function(r,e,t,n,i){var a=-3*e+9*t-9*n+3*i,o=r*a+6*e-12*t+6*n;return r*o-3*e+3*t},ph=function(r,e,t,n,i,a,o,s,l){l===null&&(l=1),l=l>1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],v=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;g0&&p<1&&l.push(p);continue}var y=h*h-4*v*c,x=Math.sqrt(y);if(!(y<0)){var m=(-h+x)/(2*c);m>0&&m<1&&l.push(m);var w=(-h-x)/(2*c);w>0&&w<1&&l.push(w)}}for(var M=l.length,S=M,A;M--;)p=l[M],A=1-p,u[0][M]=A*A*A*r+3*A*A*p*t+3*A*p*p*i+p*p*p*o,u[1][M]=A*A*A*e+3*A*A*p*n+3*A*p*p*a+p*p*p*s;return u[0][S]=r,u[1][S]=e,u[0][S+1]=o,u[1][S+1]=s,u[0].length=u[1].length=S+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},A1=function(r,e,t,n,i,a,o,s){if(!(Math.max(r,t)Math.max(i,o)||Math.max(e,n)Math.max(a,s))){var l=(r*n-e*t)*(i-o)-(r-t)*(i*s-a*o),u=(r*n-e*t)*(a-s)-(e-n)*(i*s-a*o),c=(r-t)*(a-s)-(e-n)*(i-o);if(!!c){var h=l/c,v=u/c,p=+h.toFixed(2),g=+v.toFixed(2);if(!(p<+Math.min(r,t).toFixed(2)||p>+Math.max(r,t).toFixed(2)||p<+Math.min(i,o).toFixed(2)||p>+Math.max(i,o).toFixed(2)||g<+Math.min(e,n).toFixed(2)||g>+Math.max(e,n).toFixed(2)||g<+Math.min(a,s).toFixed(2)||g>+Math.max(a,s).toFixed(2)))return{x:h,y:v}}}},Jn=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},vu=function(r,e,t,n){return r===null&&(r=e=t=n=0),e===null&&(e=r.y,t=r.width,n=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:n,h:n,x2:r+t,y2:e+n,cx:r+t/2,cy:e+n/2,r1:Math.min(t,n)/2,r2:Math.max(t,n)/2,r0:Math.sqrt(t*t+n*n)/2,path:rectPath(r,e,t,n),vb:[r,e,t,n].join(" ")}},T1=function(r,e){return r=vu(r),e=vu(e),Jn(e,r.x,r.y)||Jn(e,r.x2,r.y)||Jn(e,r.x,r.y2)||Jn(e,r.x2,r.y2)||Jn(r,e.x,e.y)||Jn(r,e.x2,e.y)||Jn(r,e.x,e.y2)||Jn(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},dh=function(r,e,t,n,i,a,o,s){isArray(r)||(r=[r,e,t,n,i,a,o,s]);var l=b1.apply(null,r);return vu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},gh=function(r,e,t,n,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),v=l*l,p=v*l,g=c*r+h*3*l*t+u*3*l*l*i+p*o,y=c*e+h*3*l*n+u*3*l*l*a+p*s,x=r+2*l*(t-r)+v*(i-2*t+r),m=e+2*l*(n-e)+v*(a-2*n+e),w=t+2*l*(i-t)+v*(o-2*i+t),M=n+2*l*(a-n)+v*(s-2*a+n),S=u*r+l*t,A=u*e+l*n,B=u*i+l*o,U=u*a+l*s,Q=90-Math.atan2(x-w,m-M)*180/Math.PI;return{x:g,y,m:{x,y:m},n:{x:w,y:M},start:{x:S,y:A},end:{x:B,y:U},alpha:Q}},E1=function(r,e,t){var n=dh(r),i=dh(e);if(!T1(n,i))return t?0:[];for(var a=ph.apply(0,r),o=ph.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},v=t?0:[],p=0;p=0&&U<=1&&Q>=0&&Q<=1&&(t?v++:v.push({x:B.x,y:B.y,t1:U,t2:Q}))}}return v},F1=function(r,e,t){r=path2Curve(r),e=path2Curve(e);for(var n,i,a,o,s,l,u,c,h,v,p=t?0:[],g=0,y=r.length;g1&&(t*=Math.sqrt(p),n*=Math.sqrt(p));var g=t*t*(v*v)+n*n*(h*h),y=g?Math.sqrt((t*t*(n*n)-g)/g):1;a===o&&(y*=-1),isNaN(y)&&(y=0);var x=n?y*t*v/n:0,m=t?y*-n*h/t:0,w=(s+u)/2+Math.cos(i)*x-Math.sin(i)*m,M=(l+c)/2+Math.sin(i)*x+Math.cos(i)*m,S=[(h-x)/t,(v-m)/n],A=[(-1*h-x)/t,(-1*v-m)/n],B=yh([1,0],S),U=yh(S,A);return pu(S,A)<=-1&&(U=Math.PI),pu(S,A)>=1&&(U=0),o===0&&U>0&&(U=U-2*Math.PI),o===1&&U<0&&(U=U+2*Math.PI),{cx:w,cy:M,rx:mh(r,[u,c])?0:t,ry:mh(r,[u,c])?0:n,startAngle:B,endAngle:B+U,xRotation:i,arcFlag:a,sweepFlag:o}}function xh(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function b5(r){r=parsePath(r);for(var e=[],t=null,n=null,i=null,a=0,o=r.length,s=0;s1){var o=r[0],s=r[t-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function _1(r,e){var t=!1;return each(r,function(n){if(getLineIntersect(n.from,n.to,e.from,e.to))return t=!0,!1}),t}function Mh(r){var e=r.map(function(n){return n[0]}),t=r.map(function(n){return n[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,t),maxY:Math.max.apply(null,t)}}function I1(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxYp&&(a=[p,v],v=a[0],p=a[1],o=[i,n],n=o[0],i=o[1],g=!0);var y=n.getBBox(),x=i.getBBox(),m=y.width>v-c?{x:v+h/2+c,textAlign:"left"}:{x:v-h/2-c,textAlign:"right"},w=x.width>u-p-c?{x:p-h/2-c,textAlign:"right"}:{x:p+h/2+c,textAlign:"left"};return g?[w,m]:[m,w]},e.prototype.draw=function(){var t=this.get("container"),n=t&&t.get("canvas");n&&n.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),n=t&&t.get("canvas");return n&&n.get("container")},e}(Cr),F5=null;function aa(r,e,t){if(r){if(typeof r.addEventListener=="function")return r.addEventListener(e,t,!1),{remove:function(){r.removeEventListener(e,t,!1)}};if(typeof r.attachEvent=="function")return r.attachEvent("on"+e,t),{remove:function(){r.detachEvent("on"+e,t)}}}}var G1={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},du={default:G1,hover:{thumbColor:"rgba(0,0,0,0.2)"}},Y1=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.clearEvents=f.ZT,t.onStartEvent=function(n){return function(i){t.isMobile=n,i.originalEvent.preventDefault();var a=n?(0,f.U2)(i.originalEvent,"touches.0.clientX"):i.clientX,o=n?(0,f.U2)(i.originalEvent,"touches.0.clientY"):i.clientY;t.startPos=t.cfg.isHorizontal?a:o,t.bindLaterEvent()}},t.bindLaterEvent=function(){var n=t.getContainerDOM(),i=[];t.isMobile?i=[aa(n,"touchmove",t.onMouseMove),aa(n,"touchend",t.onMouseUp),aa(n,"touchcancel",t.onMouseUp)]:i=[aa(n,"mousemove",t.onMouseMove),aa(n,"mouseup",t.onMouseUp),aa(n,"mouseleave",t.onMouseUp)],t.clearEvents=function(){i.forEach(function(a){a.remove()})}},t.onMouseMove=function(n){var i=t.cfg,a=i.isHorizontal,o=i.thumbOffset;n.preventDefault();var s=t.isMobile?(0,f.U2)(n,"touches.0.clientX"):n.clientX,l=t.isMobile?(0,f.U2)(n,"touches.0.clientY"):n.clientY,u=a?s:l,c=u-t.startPos;t.startPos=u,t.updateThumbOffset(o+c)},t.onMouseUp=function(n){n.preventDefault(),t.clearEvents()},t.onTrackClick=function(n){var i=t.cfg,a=i.isHorizontal,o=i.x,s=i.y,l=i.thumbLen,u=t.getContainerDOM(),c=u.getBoundingClientRect(),h=n.clientX,v=n.clientY,p=a?h-c.left-o-l/2:v-c.top-s-l/2,g=t.validateRange(p);t.updateThumbOffset(g)},t.onThumbMouseOver=function(){var n=t.cfg.theme.hover.thumbColor;t.getElementByLocalId("thumb").attr("stroke",n),t.draw()},t.onThumbMouseOut=function(){var n=t.cfg.theme.default.thumbColor;t.getElementByLocalId("thumb").attr("stroke",n),t.draw()},t}return e.prototype.setRange=function(t,n){this.set("minLimit",t),this.set("maxLimit",n);var i=this.getValue(),a=(0,f.uZ)(i,t,n);i!==a&&!this.get("isInit")&&this.setValue(a)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,n=this.get("maxLimit")||1;return{min:t,max:n}},e.prototype.setValue=function(t){var n=this.getRange(),i=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*(0,f.uZ)(t,n.min,n.max)}),this.delegateEmit("valuechange",{originalValue:i,value:this.getValue()})},e.prototype.getValue=function(){return(0,f.uZ)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,d.pi)((0,d.pi)({},t),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:du})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var n=this.cfg,i=n.trackLen,a=n.theme,o=a===void 0?{default:{}}:a,s=(0,f.b$)({},du,o).default,l=s.lineCap,u=s.trackColor,c=s.size,h=(0,f.U2)(this.cfg,"size",c),v=this.get("isHorizontal")?{x1:0+h/2,y1:h/2,x2:i-h/2,y2:h/2,lineWidth:h,stroke:u,lineCap:l}:{x1:h/2,y1:0+h/2,x2:h/2,y2:i-h/2,lineWidth:h,stroke:u,lineCap:l};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:v})},e.prototype.renderThumbShape=function(t){var n=this.cfg,i=n.thumbOffset,a=n.thumbLen,o=n.theme,s=(0,f.b$)({},du,o).default,l=s.size,u=s.lineCap,c=s.thumbColor,h=(0,f.U2)(this.cfg,"size",l),v=this.get("isHorizontal")?{x1:i+h/2,y1:h/2,x2:i+a-h/2,y2:h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"}:{x1:h/2,y1:i+h/2,x2:h/2,y2:i+a-h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:v})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var n=t.findById(this.getElementId("track"));n.on("click",this.onTrackClick);var i=t.findById(this.getElementId("thumb"));i.on("mouseover",this.onThumbMouseOver),i.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),n=t&&t.get("canvas");return n&&n.get("container")},e.prototype.validateRange=function(t){var n=this.cfg,i=n.thumbLen,a=n.trackLen,o=t;return t+i>a?o=a-i:t+ia.x?a.x:e,t=ta.y?a.y:n,i=i=n&&r<=i}function K1(r,e,t){if((0,f.HD)(r))return r.padEnd(e,t);if((0,f.kJ)(r)){var n=r.length;if(n=this.minX&&e.maxX<=this.maxX&&e.minY>=this.minY&&e.maxY<=this.maxY},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.add=function(){for(var e=[],t=0;te.minX&&this.minYe.minY},r.prototype.size=function(){return this.width*this.height},r.prototype.isPointIn=function(e){return e.x>=this.minX&&e.x<=this.maxX&&e.y>=this.minY&&e.y<=this.maxY},r}(),_5=function(r,e){var t=e.start,n=e.end;return new _r(r.x+r.width*t.x,r.y+r.height*t.y,r.width*Math.abs(n.x-t.x),r.height*Math.abs(n.y-t.y))};function Q1(r){return[[r.minX,r.minY],[r.maxX,r.minY],[r.maxX,r.maxY],[r.minX,r.maxY]]}function $a(r){if(r.isPolar&&!r.isTransposed)return(r.endAngle-r.startAngle)*r.getRadius();var e=r.convert({x:0,y:0}),t=r.convert({x:1,y:0});return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function tw(r){if(r.isPolar){var e=r.startAngle,t=r.endAngle;return t-e===Math.PI*2}return!1}function ys(r,e){var t=r.getCenter();return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function ew(r,e){var t=!1;if(r)if(r.type==="theta"){var n=r.start,i=r.end;t=oa(e.x,n.x,i.x)&&oa(e.y,n.y,i.y)}else{var a=r.invert(e);t=oa(a.x,0,1)&&oa(a.y,0,1)}return t}function sa(r,e){var t=r.getCenter();return Math.atan2(e.y-t.y,e.x-t.x)}function gu(r,e){e===void 0&&(e=0);var t=r.start,n=r.end,i=r.getWidth(),a=r.getHeight();if(r.isPolar){var o=r.startAngle,s=r.endAngle,l=r.getCenter(),u=r.getRadius();return{type:"path",startState:{path:Kn(l.x,l.y,u+e,o,o)},endState:function(h){var v=(s-o)*h+o,p=Kn(l.x,l.y,u+e,o,v);return{path:p}},attrs:{path:Kn(l.x,l.y,u+e,o,s)}}}var c;return r.isTransposed?c={height:a+e*2}:c={width:i+e*2},{type:"rect",startState:{x:t.x-e,y:n.y-e,width:r.isTransposed?i+e*2:0,height:r.isTransposed?0:a+e*2},endState:c,attrs:{x:t.x-e,y:n.y-e,width:i+e*2,height:a+e*2}}}function rw(r,e){e===void 0&&(e=0);var t=r.start,n=r.end,i=r.getWidth(),a=r.getHeight(),o=Math.min(t.x,n.x),s=Math.min(t.y,n.y);return _r.fromRange(o-e,s-e,o+i+e,s+a+e)}var nw=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function iw(r){var e="linear";return nw.test(r)?e="timeCat":(0,f.HD)(r)&&(e="cat"),e}function Ih(r,e,t,n){return e===void 0&&(e={}),e.type?e.type:r.type!=="identity"&&Kt.includes(t)&&["interval"].includes(n)||r.isCategory?"cat":r.type}function aw(r,e,t){var n=e||[];if((0,f.hj)(r)||(0,f.UM)((0,f.Wx)(n,r))&&(0,f.xb)(t)){var i=Mt("identity");return new i({field:r.toString(),values:[r]})}var a=(0,f.I)(n,r),o=(0,f.U2)(t,"type",iw(a[0])),s=Mt(o);return new s((0,d.pi)({field:r,values:a},t))}function ow(r,e){if(r.type!=="identity"&&e.type!=="identity"){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);r.change(t)}}function ja(r){return r.alias||r.field}function kh(r,e,t){var n=r.values,i=n.length,a;if(i===1)a=[.5,1];else{var o=1,s=0;tw(e)?e.isTransposed?(o=(0,f.U2)(t,"widthRatio.multiplePie",1/1.3),s=1/i*o,a=[s/2,1-s/2]):a=[0,1-1/i]:(s=1/i/2,a=[s,1-s])}return a}function sw(r){var e=r.values.filter(function(t){return!(0,f.UM)(t)&&!isNaN(t)});return Math.max.apply(Math,(0,d.ev)((0,d.ev)([],(0,d.CR)(e),!1),[(0,f.UM)(r.max)?-1/0:r.max],!1))}function lw(r){var e,t;switch(r){case tt.TOP:e={x:0,y:1},t={x:1,y:1};break;case tt.RIGHT:e={x:1,y:0},t={x:1,y:1};break;case tt.BOTTOM:e={x:0,y:0},t={x:1,y:0};break;case tt.LEFT:e={x:0,y:0},t={x:0,y:1};break;default:e=t={x:0,y:0}}return{start:e,end:t}}function uw(r){var e,t;return r.isTransposed?(e={x:0,y:0},t={x:1,y:0}):(e={x:0,y:0},t={x:0,y:1}),{start:e,end:t}}function ms(r,e){var t={start:{x:0,y:0},end:{x:0,y:0}};r.isRect?t=lw(e):r.isPolar&&(t=uw(r));var n=t.start,i=t.end;return{start:r.convert(n),end:r.convert(i)}}function I5(r,e){if(r.isRect)return r.isTransposed?[DIRECTION.RIGHT,DIRECTION.BOTTOM].includes(e)?1:-1:[DIRECTION.BOTTOM,DIRECTION.RIGHT].includes(e)?-1:1;if(r.isPolar){var t=r.x.start;return t<0?-1:1}return 1}function Lh(r){var e=r.start,t=r.end;return e.x===t.x}function Ph(r,e){var t=r.start,n=r.end,i=Lh(r);return i?(t.y-n.y)*(e.x-t.x)>0?1:-1:(n.x-t.x)*(t.y-e.y)>0?-1:1}function xs(r,e){var t=(0,f.U2)(r,["components","axis"],{});return(0,f.b$)({},(0,f.U2)(t,["common"],{}),(0,f.b$)({},(0,f.U2)(t,[e],{})))}function Dh(r,e,t){var n=(0,f.U2)(r,["components","axis"],{});return(0,f.b$)({},(0,f.U2)(n,["common","title"],{}),(0,f.b$)({},(0,f.U2)(n,[e,"title"],{})),t)}function yu(r){var e=r.x,t=r.y,n=r.circleCenter,i=t.start>t.end,a=r.isTransposed?r.convert({x:i?0:1,y:0}):r.convert({x:0,y:i?0:1}),o=[a.x-n.x,a.y-n.y],s=[1,0],l=a.y>n.y?ye.EU(o,s):ye.EU(o,s)*-1,u=l+(e.end-e.start),c=Math.sqrt(Math.pow(a.x-n.x,2)+Math.pow(a.y-n.y,2));return{center:n,radius:c,startAngle:l,endAngle:u}}function ws(r,e){return(0,f.jn)(r)?r===!1?!1:{}:(0,f.U2)(r,[e])}function Oh(r,e){return(0,f.U2)(r,"position",e)}function Bh(r,e){return(0,f.U2)(e,["title","text"],ja(r))}var la=function(){function r(e,t){this.destroyed=!1,this.facets=[],this.view=e,this.cfg=(0,f.b$)({},this.getDefaultCfg(),t)}return r.prototype.init=function(){this.container||(this.container=this.createContainer());var e=this.view.getData();this.facets=this.generateFacets(e)},r.prototype.render=function(){this.renderViews()},r.prototype.update=function(){},r.prototype.clear=function(){this.clearFacetViews()},r.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},r.prototype.facetToView=function(e){var t=e.region,n=e.data,i=e.padding,a=i===void 0?this.cfg.padding:i,o=this.view.createView({region:t,padding:a});o.data(n||[]),e.view=o,this.beforeEachView(o,e);var s=this.cfg.eachView;return s&&s(o,e),this.afterEachView(o,e),o},r.prototype.createContainer=function(){var e=this.view.getLayer(rt.FORE);return e.addGroup()},r.prototype.renderViews=function(){this.createFacetViews()},r.prototype.createFacetViews=function(){var e=this;return this.facets.map(function(t){return e.facetToView(t)})},r.prototype.clearFacetViews=function(){var e=this;(0,f.S6)(this.facets,function(t){t.view&&(e.view.removeView(t.view),t.view=void 0)})},r.prototype.parseSpacing=function(){var e=this.view.viewBBox,t=e.width,n=e.height,i=this.cfg.spacing;return i.map(function(a,o){return(0,f.hj)(a)?a/(o===0?t:n):parseFloat(a)/100})},r.prototype.getFieldValues=function(e,t){var n=[],i={};return(0,f.S6)(e,function(a){var o=a[t];!(0,f.UM)(o)&&!i[o]&&(n.push(o),i[o]=!0)}),n},r.prototype.getRegion=function(e,t,n,i){var a=(0,d.CR)(this.parseSpacing(),2),o=a[0],s=a[1],l=(1+o)/(t===0?1:t)-o,u=(1+s)/(e===0?1:e)-s,c={x:(l+o)*n,y:(u+s)*i},h={x:c.x+l,y:c.y+u};return{start:c,end:h}},r.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,0],padding:10,fields:[]}},r.prototype.getDefaultTitleCfg=function(){var e=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:e}}},r.prototype.processAxis=function(e,t){var n=e.getOptions(),i=n.coordinate,a=e.geometries,o=(0,f.U2)(i,"type","rect");if(o==="rect"&&a.length){(0,f.UM)(n.axes)&&(n.axes={});var s=n.axes,l=(0,d.CR)(a[0].getXYFields(),2),u=l[0],c=l[1],h=ws(s,u),v=ws(s,c);h!==!1&&(n.axes[u]=this.getXAxisOption(u,s,h,t)),v!==!1&&(n.axes[c]=this.getYAxisOption(c,s,v,t))}},r.prototype.getFacetDataFilter=function(e){return function(t){return(0,f.yW)(e,function(n){var i=n.field,a=n.value;return!(0,f.UM)(a)&&i?t[i]===a:!0})}},r}(),Rh={},cw=function(r){return Rh[(0,f.vl)(r)]},ua=function(r,e){Rh[(0,f.vl)(r)]=e},fw=function(){function r(e,t){this.context=e,this.cfg=t,e.addAction(this)}return r.prototype.applyCfg=function(e){(0,f.f0)(this,e)},r.prototype.init=function(){this.applyCfg(this.cfg)},r.prototype.destroy=function(){this.context.removeAction(this),this.context=null},r}(),ar=fw,hw=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.callback=null},e}(ar),vw=hw,Ms={};function pw(r,e){var t=Ms[r],n=null;if(t){var i=t.ActionClass,a=t.cfg;n=new i(e,a),n.name=r,n.init()}return n}function Ss(r){var e=Ms[r];return(0,f.U2)(e,"ActionClass")}function Ae(r,e,t){Ms[r]={ActionClass:e,cfg:t}}function k5(r){delete Ms[r]}function dw(r,e){var t=new vw(e);return t.callback=r,t.name="callback",t}function gw(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var n=1,i=r.length;n=o[u]?1:0,v=c>Math.PI?1:0,p=t.convert(s),g=ys(t,p);if(g>=.5)if(c===Math.PI*2){var y={x:(s.x+o.x)/2,y:(s.y+o.y)/2},x=t.convert(y);l.push(["A",g,g,0,v,h,x.x,x.y]),l.push(["A",g,g,0,v,h,p.x,p.y])}else l.push(["A",g,g,0,v,h,p.x,p.y]);return l}function mw(r){(0,f.S6)(r,function(e,t){var n=e;if(n[0].toLowerCase()==="a"){var i=r[t-1],a=r[t+1];a&&a[0].toLowerCase()==="a"?i&&i[0].toLowerCase()==="l"&&(i[0]="M"):i&&i[0].toLowerCase()==="a"&&a&&a[0].toLowerCase()==="l"&&(a[0]="M")}})}var xw=function(r,e,t,n){var i,a=[],o=!!n,s,l,u,c,h,v,p;if(o){i=(0,d.CR)(n,2),u=i[0],c=i[1];for(var g=0,y=r.length;g1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}each(t,function(a,o){isNaN(a)||(t[o]=+a)}),e[n]=t}),e}var P5=null;function bw(r,e,t){var n=null,i=t;return e=0;l--)o=a[l].index,a[l].type==="add"?r.splice(o,0,[].concat(r[o])):r.splice(o,1)}if(n=r.length,n2&&(t.push([i].concat(o.splice(0,2))),s="l",i=i==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([i,o[0]]),s==="r")t.push([i].concat(o));else for(;o.length>=e[s]&&(t.push([i].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var _w=/[a-z]/;function Vh(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function O5(r){var e=parsePathString(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,n=0;n=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h,v,p=e[0];(p[0]==="M"||p[0]==="m")&&(o=+p[1],s=+p[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var n=c,g=e.length;n1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},kw=function(r,e,t,n,i,a,o,s,l,u,c,h){var v=Math.pow(i,2),p=Math.pow(a,2),g=Math.pow(c,2),y=Math.pow(h,2),x=v*p-v*y-p*g;x<0&&(x=0),x/=v*y+p*g,x=Math.sqrt(x)*(o===s?-1:1);var m=x*i/a*h,w=x*-a/i*c,M=u*m-l*w+(r+t)/2,S=l*m+u*w+(e+n)/2,A=(c-m)/i,B=(h-w)/a,U=(-c-m)/i,Q=(-h-w)/a,dt=Uh(1,0,A,B),ut=Uh(A,B,U,Q);return s===0&&ut>0&&(ut-=Qa),s===1&&ut<0&&(ut+=Qa),[M,S,dt,ut]},Lw=function(r){var e=r.px,t=r.py,n=r.cx,i=r.cy,a=r.rx,o=r.ry,s=r.xAxisRotation,l=s===void 0?0:s,u=r.largeArcFlag,c=u===void 0?0:u,h=r.sweepFlag,v=h===void 0?0:h,p=[];if(a===0||o===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];var g=Math.sin(l*Qa/360),y=Math.cos(l*Qa/360),x=y*(e-n)/2+g*(t-i)/2,m=-g*(e-n)/2+y*(t-i)/2;if(x===0&&m===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];a=Math.abs(a),o=Math.abs(o);var w=Math.pow(x,2)/Math.pow(a,2)+Math.pow(m,2)/Math.pow(o,2);w>1&&(a*=Math.sqrt(w),o*=Math.sqrt(w));var M=kw(e,t,n,i,a,o,c,v,g,y,x,m),S=M[0],A=M[1],B=M[2],U=M[3],Q=Math.abs(U)/(Qa/4);Math.abs(1-Q)<1e-7&&(Q=1);var dt=Math.max(Math.ceil(Q),1);U/=dt;for(var ut=0;ut7){r[t].shift();for(var n=r[t],i=t;n.length;)e[t]="A",r.splice(i+=1,0,["C"].concat(n.splice(0,6)));r.splice(t,1)}}var Hh=function(r,e,t,n,i){var a=-3*e+9*t-9*n+3*i,o=r*a+6*e-12*t+6*n;return r*o-3*e+3*t},Gh=function(r,e,t,n,i,a,o,s,l){l===null&&(l=1),l=l>1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],v=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;g0&&p<1&&l.push(p);continue}var y=h*h-4*v*c,x=Math.sqrt(y);if(!(y<0)){var m=(-h+x)/(2*c);m>0&&m<1&&l.push(m);var w=(-h-x)/(2*c);w>0&&w<1&&l.push(w)}}for(var M=l.length,S=M,A;M--;)p=l[M],A=1-p,u[0][M]=A*A*A*r+3*A*A*p*t+3*A*p*p*i+p*p*p*o,u[1][M]=A*A*A*e+3*A*A*p*n+3*A*p*p*a+p*p*p*s;return u[0][S]=r,u[1][S]=e,u[0][S+1]=o,u[1][S+1]=s,u[0].length=u[1].length=S+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},Ow=function(r,e,t,n,i,a,o,s){if(!(Math.max(r,t)Math.max(i,o)||Math.max(e,n)Math.max(a,s))){var l=(r*n-e*t)*(i-o)-(r-t)*(i*s-a*o),u=(r*n-e*t)*(a-s)-(e-n)*(i*s-a*o),c=(r-t)*(a-s)-(e-n)*(i-o);if(!!c){var h=l/c,v=u/c,p=+h.toFixed(2),g=+v.toFixed(2);if(!(p<+Math.min(r,t).toFixed(2)||p>+Math.max(r,t).toFixed(2)||p<+Math.min(i,o).toFixed(2)||p>+Math.max(i,o).toFixed(2)||g<+Math.min(e,n).toFixed(2)||g>+Math.max(e,n).toFixed(2)||g<+Math.min(a,s).toFixed(2)||g>+Math.max(a,s).toFixed(2)))return{x:h,y:v}}}},ti=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},wu=function(r,e,t,n){return r===null&&(r=e=t=n=0),e===null&&(e=r.y,t=r.width,n=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:n,h:n,x2:r+t,y2:e+n,cx:r+t/2,cy:e+n/2,r1:Math.min(t,n)/2,r2:Math.max(t,n)/2,r0:Math.sqrt(t*t+n*n)/2,path:rectPath(r,e,t,n),vb:[r,e,t,n].join(" ")}},Bw=function(r,e){return r=wu(r),e=wu(e),ti(e,r.x,r.y)||ti(e,r.x2,r.y)||ti(e,r.x,r.y2)||ti(e,r.x2,r.y2)||ti(r,e.x,e.y)||ti(r,e.x2,e.y)||ti(r,e.x,e.y2)||ti(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},Yh=function(r,e,t,n,i,a,o,s){isArray(r)||(r=[r,e,t,n,i,a,o,s]);var l=Dw.apply(null,r);return wu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},Xh=function(r,e,t,n,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),v=l*l,p=v*l,g=c*r+h*3*l*t+u*3*l*l*i+p*o,y=c*e+h*3*l*n+u*3*l*l*a+p*s,x=r+2*l*(t-r)+v*(i-2*t+r),m=e+2*l*(n-e)+v*(a-2*n+e),w=t+2*l*(i-t)+v*(o-2*i+t),M=n+2*l*(a-n)+v*(s-2*a+n),S=u*r+l*t,A=u*e+l*n,B=u*i+l*o,U=u*a+l*s,Q=90-Math.atan2(x-w,m-M)*180/Math.PI;return{x:g,y,m:{x,y:m},n:{x:w,y:M},start:{x:S,y:A},end:{x:B,y:U},alpha:Q}},Rw=function(r,e,t){var n=Yh(r),i=Yh(e);if(!Bw(n,i))return t?0:[];for(var a=Gh.apply(0,r),o=Gh.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},v=t?0:[],p=0;p=0&&U<=1&&Q>=0&&Q<=1&&(t?v++:v.push({x:B.x,y:B.y,t1:U,t2:Q}))}}return v},Nw=function(r,e,t){r=path2Curve(r),e=path2Curve(e);for(var n,i,a,o,s,l,u,c,h,v,p=t?0:[],g=0,y=r.length;g1&&(t*=Math.sqrt(p),n*=Math.sqrt(p));var g=t*t*(v*v)+n*n*(h*h),y=g?Math.sqrt((t*t*(n*n)-g)/g):1;a===o&&(y*=-1),isNaN(y)&&(y=0);var x=n?y*t*v/n:0,m=t?y*-n*h/t:0,w=(s+u)/2+Math.cos(i)*x-Math.sin(i)*m,M=(l+c)/2+Math.sin(i)*x+Math.cos(i)*m,S=[(h-x)/t,(v-m)/n],A=[(-1*h-x)/t,(-1*v-m)/n],B=Wh([1,0],S),U=Wh(S,A);return Mu(S,A)<=-1&&(U=Math.PI),Mu(S,A)>=1&&(U=0),o===0&&U>0&&(U=U-2*Math.PI),o===1&&U<0&&(U=U+2*Math.PI),{cx:w,cy:M,rx:Zh(r,[u,c])?0:t,ry:Zh(r,[u,c])?0:n,startAngle:B,endAngle:B+U,xRotation:i,arcFlag:a,sweepFlag:o}}function qh(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function U5(r){r=parsePath(r);for(var e=[],t=null,n=null,i=null,a=0,o=r.length,s=0;s0!=Su(s[1]-t)>0&&Su(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(n=!n)}return n}var jh=function(r,e,t){return r>=e&&r<=t};function Uw(r,e,t,n){var i=.001,a={x:t.x-r.x,y:t.y-r.y},o={x:e.x-r.x,y:e.y-r.y},s={x:n.x-t.x,y:n.y-t.y},l=o.x*s.y-o.y*s.x,u=l*l,c=o.x*o.x+o.y*o.y,h=s.x*s.x+s.y*s.y,v=null;if(u>i*c*h){var p=(a.x*s.y-a.y*s.x)/l,g=(a.x*o.y-a.y*o.x)/l;jh(p,0,1)&&jh(g,0,1)&&(v={x:r.x+p*o.x,y:r.y+p*o.y})}return v}function Jh(r){for(var e=[],t=r.length,n=0;n1){var o=r[0],s=r[t-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function Hw(r,e){var t=!1;return(0,f.S6)(r,function(n){if(Uw(n.from,n.to,e.from,e.to))return t=!0,!1}),t}function Kh(r){var e=r.map(function(n){return n[0]}),t=r.map(function(n){return n[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,t),maxY:Math.max.apply(null,t)}}function Gw(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY0&&i>0&&(n>=e||i>=e)}function ev(r,e){var t=r.getCanvasBBox();return tv(r,e)?t:null}function rv(r,e){var t=r.event.maskShapes;return t.map(function(n){return ev(n,e)}).filter(function(n){return!!n})}function Xw(r,e){var t=r.event,n=t.target;return nv(n,e)}function nv(r,e){return tv(r,e)?r.attr("path"):null}function Ww(r,e){var t=r.event.maskShapes;return t.map(function(n){return nv(n,e)})}function ei(r){var e=r.event,t,n=e.target;return n&&(t=n.get("element")),t}function Ai(r){var e=r.event,t=e.target,n;return t&&(n=t.get("delegateObject")),n}function iv(r){var e=r.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function to(r){return r&&r.component&&r.component.isList()}function av(r){return r&&r.component&&r.component.isSlider()}function eo(r){var e=r.event,t=e.target;return t&&(t==null?void 0:t.get("name"))==="mask"||As(r)}function As(r){var e;return((e=r.event.target)===null||e===void 0?void 0:e.get("name"))==="multi-mask"}function Cu(r,e){var t=r.event.target;if(As(r))return Zw(r,e);if(t.get("type")==="path"){var n=Xw(r,e);return n?cv(r.view,n):void 0}var i=Qh(r,e);return i?Ts(r.view,i):null}function Zw(r,e){var t=r.event.target;if(t.get("type")==="path"){var n=Ww(r,e);return n.length>0?n.flatMap(function(a){return cv(r.view,a)}):null}var i=rv(r,e);return i.length>0?i.flatMap(function(a){return Ts(r.view,a)}):null}function ov(r,e,t){if(As(r))return qw(r,e,t);var n=Qh(r,t);return n?sv(n,r,e):null}function sv(r,e,t){var n=e.view,i=Au(n,t,{x:r.x,y:r.y}),a=Au(n,t,{x:r.maxX,y:r.maxY}),o={minX:i.x,minY:i.y,maxX:a.x,maxY:a.y};return Ts(t,o)}function qw(r,e,t){var n=rv(r,t);return n.length>0?n.flatMap(function(i){return sv(i,r,e)}):null}function wr(r){var e=r.geometries,t=[];return(0,f.S6)(e,function(n){var i=n.elements;t=t.concat(i)}),r.views&&r.views.length&&(0,f.S6)(r.views,function(n){t=t.concat(wr(n))}),t}function $w(r,e,t){var n=wr(r);return n.filter(function(i){return un(i,e)===t})}function lv(r,e){var t=r.geometries,n=[];return(0,f.S6)(t,function(i){var a=i.getElementsBy(function(o){return o.hasState(e)});n=n.concat(a)}),n}function un(r,e){var t=r.getModel(),n=t.data,i;return(0,f.kJ)(n)?i=n[0][e]:i=n[e],i}function jw(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=e.x&&r.y<=e.y&&r.maxY>e.y}function Cn(r){var e=r.parent,t=null;return e&&(t=e.views.filter(function(n){return n!==r})),t}function Kw(r,e){var t=r.getCoordinate();return t.invert(e)}function Au(r,e,t){var n=Kw(r,t);return e.getCoordinate().convert(n)}function vv(r,e,t,n){var i=!1;return(0,f.S6)(r,function(a){if(a[t]===e[t]&&a[n]===e[n])return i=!0,!1}),i}function ca(r,e){var t=r.getScaleByField(e);return!t&&r.views&&(0,f.S6)(r.views,function(n){if(t=ca(n,e),t)return!1}),t}var Qw=function(){function r(e){this.actions=[],this.event=null,this.cacheMap={},this.view=e}return r.prototype.cache=function(){for(var e=[],t=0;t=0&&t.splice(n,1)},r.prototype.getCurrentPoint=function(){var e=this.event;if(e)if(e.target instanceof HTMLElement){var t=this.view.getCanvas(),n=t.getPointByClient(e.clientX,e.clientY);return n}else return{x:e.x,y:e.y};return null},r.prototype.getCurrentShape=function(){return(0,f.U2)(this.event,["gEvent","shape"])},r.prototype.isInPlot=function(){var e=this.getCurrentPoint();return e?this.view.isPointInPlot(e):!1},r.prototype.isInShape=function(e){var t=this.getCurrentShape();return t?t.get("name")===e:!1},r.prototype.isInComponent=function(e){var t=fv(this.view),n=this.getCurrentPoint();return n?!!t.find(function(i){var a=i.getBBox();return e?i.get("name")===e&&hv(a,n):hv(a,n)}):!1},r.prototype.destroy=function(){(0,f.S6)(this.actions.slice(),function(e){e.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},r}(),tM=Qw,eM=function(){function r(e,t){this.view=e,this.cfg=t}return r.prototype.init=function(){this.initEvents()},r.prototype.initEvents=function(){},r.prototype.clearEvents=function(){},r.prototype.destroy=function(){this.clearEvents()},r}(),rM=eM;function pv(r,e,t){var n=r.split(":"),i=n[0],a=e.getAction(i)||pw(i,e);if(!a)throw new Error("There is no action named ".concat(i));var o=n[1];return{action:a,methodName:o,arg:t}}function dv(r){var e=r.action,t=r.methodName,n=r.arg;if(e[t])e[t](n);else throw new Error("Action(".concat(e.name,") doesn't have a method called ").concat(t))}var qr={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},nM=function(r){(0,d.ZT)(e,r);function e(t,n){var i=r.call(this,t,n)||this;return i.callbackCaches={},i.emitCaches={},i.steps=n,i}return e.prototype.init=function(){this.initContext(),r.prototype.init.call(this)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;(0,f.S6)(this.steps,function(n,i){(0,f.S6)(n,function(a){var o=t.getActionCallback(i,a);o&&t.bindEvent(a.trigger,o)})})},e.prototype.clearEvents=function(){var t=this;(0,f.S6)(this.steps,function(n,i){(0,f.S6)(n,function(a){var o=t.getActionCallback(i,a);o&&t.offEvent(a.trigger,o)})})},e.prototype.initContext=function(){var t=this.view,n=new tM(t);this.context=n;var i=this.steps;(0,f.S6)(i,function(a){(0,f.S6)(a,function(o){if((0,f.mf)(o.action))o.actionObject={action:dw(o.action,n),methodName:"execute"};else if((0,f.HD)(o.action))o.actionObject=pv(o.action,n,o.arg);else if((0,f.kJ)(o.action)){var s=o.action,l=(0,f.kJ)(o.arg)?o.arg:[o.arg];o.actionObject=[],(0,f.S6)(s,function(u,c){o.actionObject.push(pv(u,n,l[c]))})}})})},e.prototype.isAllowStep=function(t){var n=this.currentStepName,i=this.steps;if(n===t||t===qr.SHOW_ENABLE)return!0;if(t===qr.PROCESSING)return n===qr.START;if(t===qr.START)return n!==qr.PROCESSING;if(t===qr.END)return n===qr.PROCESSING||n===qr.START;if(t===qr.ROLLBACK){if(i[qr.END])return n===qr.END;if(n===qr.START)return!0}return!1},e.prototype.isAllowExecute=function(t,n){if(this.isAllowStep(t)){var i=this.getKey(t,n);return n.once&&this.emitCaches[i]?!1:n.isEnable?n.isEnable(this.context):!0}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,n){t!==qr.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var i=this.getKey(t,n);this.emitCaches[i]=!0},e.prototype.getKey=function(t,n){return t+n.trigger+n.action},e.prototype.getActionCallback=function(t,n){var i=this,a=this.context,o=this.callbackCaches,s=n.actionObject;if(n.action&&s){var l=this.getKey(t,n);if(!o[l]){var u=function(c){a.event=c,i.isAllowExecute(t,n)?((0,f.kJ)(s)?(0,f.S6)(s,function(h){a.event=c,dv(h)}):(a.event=c,dv(s)),i.afterExecute(t,n),n.callback&&(a.event=c,n.callback(a))):a.event=null};n.debounce?o[l]=(0,f.Ds)(u,n.debounce.wait,n.debounce.immediate):n.throttle?o[l]=(0,f.P2)(u,n.throttle.wait,{leading:n.throttle.leading,trailing:n.throttle.trailing}):o[l]=u}return o[l]}return null},e.prototype.bindEvent=function(t,n){var i=t.split(":");i[0]==="window"?window.addEventListener(i[1],n):i[0]==="document"?document.addEventListener(i[1],n):this.view.on(t,n)},e.prototype.offEvent=function(t,n){var i=t.split(":");i[0]==="window"?window.removeEventListener(i[1],n):i[0]==="document"?document.removeEventListener(i[1],n):this.view.off(t,n)},e}(rM),iM=nM,gv={};function aM(r){return gv[(0,f.vl)(r)]}function Le(r,e){gv[(0,f.vl)(r)]=e}function oM(r,e,t){var n=aM(r);if(!n)return null;if((0,f.PO)(n)){var i=(0,f.CD)((0,f.d9)(n),t);return new iM(e,i)}else{var a=n;return new a(e,t)}}function sM(r){return{title:{autoRotate:!0,position:"center",spacing:r.axisTitleSpacing,style:{fill:r.axisTitleTextFillColor,fontSize:r.axisTitleTextFontSize,lineHeight:r.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily},iconStyle:{fill:r.axisDescriptionIconFillColor}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:r.axisLabelOffset,style:{fill:r.axisLabelFillColor,fontSize:r.axisLabelFontSize,lineHeight:r.axisLabelLineHeight,fontFamily:r.fontFamily}},line:{style:{lineWidth:r.axisLineBorder,stroke:r.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:r.axisGridBorderColor,lineWidth:r.axisGridBorder,lineDash:r.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:r.axisTickLineBorder,stroke:r.axisTickLineBorderColor},alignTick:!0,length:r.axisTickLineLength},subTickLine:null,animate:!0}}function lM(r){return{title:null,marker:{symbol:"circle",spacing:r.legendMarkerSpacing,style:{r:r.legendCircleMarkerSize,fill:r.legendMarkerColor}},itemName:{spacing:5,style:{fill:r.legendItemNameFillColor,fontFamily:r.fontFamily,fontSize:r.legendItemNameFontSize,lineHeight:r.legendItemNameLineHeight,fontWeight:r.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:"#D8D8D8"},markerStyle:{fill:"#D8D8D8",stroke:"#D8D8D8"}},inactive:{nameStyle:{fill:"#D8D8D8"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:r.legendPageNavigatorMarkerSize,inactiveFill:r.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:r.legendPageNavigatorMarkerInactiveFillOpacity,fill:r.legendPageNavigatorMarkerFillColor,opacity:r.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:r.legendPageNavigatorTextFillColor,fontSize:r.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:r.legendItemSpacing,itemMarginBottom:r.legendItemMarginBottom,padding:r.legendPadding}}function yv(r){var e,t={point:{default:{fill:r.pointFillColor,r:r.pointSize,stroke:r.pointBorderColor,lineWidth:r.pointBorder,fillOpacity:r.pointFillOpacity},active:{stroke:r.pointActiveBorderColor,lineWidth:r.pointActiveBorder},selected:{stroke:r.pointSelectedBorderColor,lineWidth:r.pointSelectedBorder},inactive:{fillOpacity:r.pointInactiveFillOpacity,strokeOpacity:r.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:r.hollowPointFillColor,lineWidth:r.hollowPointBorder,stroke:r.hollowPointBorderColor,strokeOpacity:r.hollowPointBorderOpacity,r:r.hollowPointSize},active:{stroke:r.hollowPointActiveBorderColor,strokeOpacity:r.hollowPointActiveBorderOpacity},selected:{lineWidth:r.hollowPointSelectedBorder,stroke:r.hollowPointSelectedBorderColor,strokeOpacity:r.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:r.hollowPointInactiveBorderOpacity}},area:{default:{fill:r.areaFillColor,fillOpacity:r.areaFillOpacity,stroke:null},active:{fillOpacity:r.areaActiveFillOpacity},selected:{fillOpacity:r.areaSelectedFillOpacity},inactive:{fillOpacity:r.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:r.hollowAreaBorderColor,lineWidth:r.hollowAreaBorder,strokeOpacity:r.hollowAreaBorderOpacity},active:{fill:null,lineWidth:r.hollowAreaActiveBorder},selected:{fill:null,lineWidth:r.hollowAreaSelectedBorder},inactive:{strokeOpacity:r.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:r.intervalFillColor,fillOpacity:r.intervalFillOpacity},active:{stroke:r.intervalActiveBorderColor,lineWidth:r.intervalActiveBorder},selected:{stroke:r.intervalSelectedBorderColor,lineWidth:r.intervalSelectedBorder},inactive:{fillOpacity:r.intervalInactiveFillOpacity,strokeOpacity:r.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:r.hollowIntervalFillColor,stroke:r.hollowIntervalBorderColor,lineWidth:r.hollowIntervalBorder,strokeOpacity:r.hollowIntervalBorderOpacity},active:{stroke:r.hollowIntervalActiveBorderColor,lineWidth:r.hollowIntervalActiveBorder,strokeOpacity:r.hollowIntervalActiveBorderOpacity},selected:{stroke:r.hollowIntervalSelectedBorderColor,lineWidth:r.hollowIntervalSelectedBorder,strokeOpacity:r.hollowIntervalSelectedBorderOpacity},inactive:{stroke:r.hollowIntervalInactiveBorderColor,lineWidth:r.hollowIntervalInactiveBorder,strokeOpacity:r.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:r.lineBorderColor,lineWidth:r.lineBorder,strokeOpacity:r.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:r.lineActiveBorder},selected:{lineWidth:r.lineSelectedBorder},inactive:{strokeOpacity:r.lineInactiveBorderOpacity}}},n=sM(r),i=lM(r);return{background:r.backgroundColor,defaultColor:r.brandColor,subColor:r.subColor,semanticRed:r.paletteSemanticRed,semanticGreen:r.paletteSemanticGreen,padding:"auto",fontFamily:r.fontFamily,columnWidthRatio:1/2,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:r.paletteQualitative10,colors20:r.paletteQualitative20,sequenceColors:r.paletteSequence,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:function(a){var o=a.geometry.coordinate;if(o.isPolar&&o.isTransposed){var s=qa(a.getModel(),o),l=s.startAngle,u=s.endAngle,c=(l+u)/2,h=7.5,v=h*Math.cos(c),p=h*Math.sin(c);return{matrix:nr.vs(null,[["t",v,p]])}}return t.interval.selected}}},"hollow-rect":{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},line:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},tick:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},funnel:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}},pyramid:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},line:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},dot:{default:{style:(0,d.pi)((0,d.pi)({},t.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:(0,d.pi)((0,d.pi)({},t.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:(0,d.pi)((0,d.pi)({},t.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:(0,d.pi)((0,d.pi)({},t.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:(0,d.pi)((0,d.pi)({},t.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:(0,d.pi)((0,d.pi)({},t.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:(0,d.pi)((0,d.pi)({},t.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:(0,d.pi)((0,d.pi)({},t.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hvh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},polygon:{polygon:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},point:{circle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},square:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},bowtie:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},diamond:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},hexagon:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},triangle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"triangle-down":{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"hollow-circle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-square":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-bowtie":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-diamond":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-hexagon":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle-down":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},cross:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},tick:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},plus:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},hyphen:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},line:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}}},area:{area:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},smooth:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},line:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"smooth-line":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}},schema:{candle:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},box:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}}},edge:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},arc:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},violin:{violin:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hollow:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"hollow-smooth":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}}},components:{axis:{common:n,top:{position:"top",grid:null,title:null,verticalLimitLength:1/2},bottom:{position:"bottom",grid:null,title:null,verticalLimitLength:1/2},left:{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:(0,f.b$)({},n.grid,{line:{type:"line"}})},radius:{title:null,grid:(0,f.b$)({},n.grid,{line:{type:"circle"}})}},legend:{common:i,right:{layout:"vertical",padding:r.legendVerticalPadding},left:{layout:"vertical",padding:r.legendVerticalPadding},top:{layout:"horizontal",padding:r.legendHorizontalPadding},bottom:{layout:"horizontal",padding:r.legendHorizontalPadding},continuous:{title:null,background:null,track:{},rail:{type:"color",size:r.sliderRailHeight,defaultLength:r.sliderRailWidth,style:{fill:r.sliderRailFillColor,stroke:r.sliderRailBorderColor,lineWidth:r.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:r.sliderLabelTextFillColor,fontSize:r.sliderLabelTextFontSize,lineHeight:r.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily}},handler:{size:r.sliderHandlerWidth,style:{fill:r.sliderHandlerFillColor,stroke:r.sliderHandlerBorderColor}},slidable:!0,padding:i.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:r.tooltipCrosshairsBorderColor,lineWidth:r.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e["".concat(Nn)]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:r.tooltipContainerFillColor,opacity:r.tooltipContainerFillOpacity,boxShadow:r.tooltipContainerShadow,borderRadius:"".concat(r.tooltipContainerBorderRadius,"px"),color:r.tooltipTextFillColor,fontSize:"".concat(r.tooltipTextFontSize,"px"),fontFamily:r.fontFamily,lineHeight:"".concat(r.tooltipTextLineHeight,"px"),padding:"0 12px 0 12px"},e["".concat(zn)]={marginBottom:"12px",marginTop:"12px"},e["".concat(Xa)]={margin:0,listStyleType:"none",padding:0},e["".concat(fs)]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e["".concat(hs)]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e["".concat(vs)]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:r.annotationArcBorderColor,lineWidth:r.annotationArcBorder},animate:!0},line:{style:{stroke:r.annotationLineBorderColor,lineDash:r.annotationLineDash,lineWidth:r.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textAlign:"start",fontFamily:r.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:r.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:r.annotationRegionBorder,stroke:r.annotationRegionBorderColor,fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:r.brandColor,lineWidth:2}},line:{style:{stroke:r.annotationLineBorderColor,lineWidth:r.annotationLineBorder},length:r.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8],backgroundStyle:{fill:r.cSliderBackgroundFillColor,opacity:r.cSliderBackgroundFillOpacity},foregroundStyle:{fill:r.cSliderForegroundFillColor,opacity:r.cSliderForegroundFillOpacity},handlerStyle:{width:r.cSliderHandlerWidth,height:r.cSliderHandlerHeight,fill:r.cSliderHandlerFillColor,opacity:r.cSliderHandlerFillOpacity,stroke:r.cSliderHandlerBorderColor,lineWidth:r.cSliderHandlerBorder,radius:r.cSliderHandlerBorderRadius,highLightFill:r.cSliderHandlerHighlightFillColor},textStyle:{fill:r.cSliderTextFillColor,opacity:r.cSliderTextFillOpacity,fontSize:r.cSliderTextFontSize,lineHeight:r.cSliderTextLineHeight,fontWeight:r.cSliderTextFontWeight,stroke:r.cSliderTextBorderColor,lineWidth:r.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:r.scrollbarTrackFillColor,thumbColor:r.scrollbarThumbFillColor}},hover:{style:{thumbColor:r.scrollbarThumbHighlightFillColor}}}},labels:{offset:12,style:{fill:r.labelFillColor,fontSize:r.labelFontSize,fontFamily:r.fontFamily,stroke:r.labelBorderColor,lineWidth:r.labelBorder},fillColorDark:r.labelFillColorDark,fillColorLight:r.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:r.innerLabelFillColor,fontSize:r.innerLabelFontSize,fontFamily:r.fontFamily,stroke:r.innerLabelBorderColor,lineWidth:r.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:r.overflowLabelFillColor,fontSize:r.overflowLabelFontSize,fontFamily:r.fontFamily,stroke:r.overflowLabelBorderColor,lineWidth:r.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:r.labelLineBorder}},autoRotate:!0}}}var Ke={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},fa={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},uM=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],cM=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],fM=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],mv=function(r){r===void 0&&(r={});var e=r.paletteQualitative10,t=e===void 0?uM:e,n=r.paletteQualitative20,i=n===void 0?cM:n,a=r.brandColor,o=a===void 0?t[0]:a,s={backgroundColor:"transparent",brandColor:o,subColor:"rgba(0,0,0,0.05)",paletteQualitative10:t,paletteQualitative20:i,paletteSemanticRed:"#F4664A",paletteSemanticGreen:"#30BF78",paletteSemanticYellow:"#FAAD14",paletteSequence:fM,fontFamily:`"Segoe UI", Roboto, "Helvetica Neue", Arial, + "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"`,axisLineBorderColor:Ke[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:Ke[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisDescriptionIconFillColor:fa[85],axisTickLineBorderColor:Ke[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:Ke[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:Ke[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:Ke[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:Ke[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:o,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:Ke[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:Ke[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:Ke[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:Ke[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:Ke[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:Ke[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:Ke[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:Ke[25],annotationArcBorderColor:Ke[15],annotationArcBorder:1,annotationLineBorderColor:Ke[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:Ke[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:Ke[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:Ke[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:Ke[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:Ke[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:fa[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:Ke[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:fa[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:Ke[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#000",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(0,0,0,0)",scrollbarThumbFillColor:"rgba(0,0,0,0.15)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.2)",pointFillColor:o,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:fa[100],pointBorderOpacity:1,pointActiveBorderColor:Ke[100],pointSelectedBorder:2,pointSelectedBorderColor:Ke[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:o,hollowPointBorderOpacity:.95,hollowPointFillColor:fa[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:Ke[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:Ke[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:o,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:o,areaFillOpacity:.25,areaActiveFillColor:o,areaActiveFillOpacity:.5,areaSelectedFillColor:o,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:o,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:Ke[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:Ke[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:o,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:Ke[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:Ke[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:o,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:fa[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:Ke[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:Ke[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return(0,d.pi)((0,d.pi)({},s),r)},H5=mv();function Es(r){var e=r.styleSheet,t=e===void 0?{}:e,n=(0,d._T)(r,["styleSheet"]),i=mv(t);return(0,f.b$)({},yv(i),n)}var hM=Es({}),Tu={default:hM};function ro(r){return(0,f.U2)(Tu,(0,f.vl)(r),Tu.default)}function vM(r,e){Tu[(0,f.vl)(r)]=Es(e)}function xv(r,e,t){var n=t.translate(r),i=t.translate(e);return(0,f.vQ)(n,i)}function pM(r,e){var t=e.coordinate,n=e.getXScale(),i=n.range,a=i[i.length-1],o=i[0],s=t.invert(r),l=s.x;return t.isPolar&&l>(1+a)/2&&(l=o),n.translate(n.invert(l))}function wv(r,e,t){var n=t.coordinate,i=t.getYScale(),a=i.field,o=n.invert(e),s=i.invert(o.y),l=(0,f.sE)(r,function(u){var c=u[te];return c[a][0]<=s&&c[a][1]>=s});return l||r[r.length-1]}var dM=(0,f.HP)(function(r){if(r.isCategory)return 1;for(var e=r.values,t=e.length,n=r.translate(e[0]),i=n,a=0;ai&&(i=s)}return(i-n)/(t-1)});function gM(r,e,t){var n=e.getAttribute("position"),i=n.getFields(),a=e.scales,o=(0,f.mf)(t)||!t?i[0]:t,s=a[o],l=s?s.getText(r[o]):r[o]||o;return(0,f.mf)(t)?t(l,r):l}function yM(r){var e=(0,f.VO)(r.attributes);return(0,f.hX)(e,function(t){return(0,f.FX)(Kt,t.type)})}function Mv(r){var e,t,n=yM(r),i;try{for(var a=(0,d.XA)(n),o=a.next();!o.done;o=a.next()){var s=o.value,l=s.getScale(s.type);if(l&&l.isLinear){var u=(0,f.U2)(r.scaleDefs,l.field),c=Ih(l,u,s.type,r.type);if(c!=="cat"){i=l;break}}}}catch(p){e={error:p}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var h=r.getXScale(),v=r.getYScale();return i||v||h}function mM(r,e){var t=e.field,n=r[t];if((0,f.kJ)(n)){var i=n.map(function(a){return e.getText(a)});return i.join("-")}return e.getText(n)}function xM(r,e){var t,n=e.getGroupScales();if(n.length&&(t=n[0]),t){var i=t.field;return t.getText(r[i])}var a=Mv(e);return ja(a)}function Sv(r,e,t){if(e.length===0)return null;var n=t.type,i=t.getXScale(),a=t.getYScale(),o=i.field,s=a.field,l=null;if(n==="heatmap"||n==="point"){for(var u=t.coordinate,c=u.invert(r),h=i.invert(c.x),v=a.invert(c.y),p=1/0,g=0;g=S)if(Q)(0,f.kJ)(l)||(l=[]),l.push(dt);else{l=dt;break}}(0,f.kJ)(l)&&(l=wv(l,r,t))}else{var ut=void 0;if(!i.isLinear&&i.type!=="timeCat"){for(var g=0;gi.translate(U)||Si.max||SMath.abs(i.translate(ut[te][o])-S)&&(M=ut)}var be=dM(t.getXScale());return!l&&Math.abs(i.translate(M[te][o])-S)<=be/2&&(l=M),l}function Eu(r,e,t,n){var i,a;t===void 0&&(t=""),n===void 0&&(n=!1);var o=r[te],s=gM(o,e,t),l=e.tooltipOption,u=e.theme.defaultColor,c=[],h,v;function p(dt,ut){if(n||!(0,f.UM)(ut)&&ut!==""){var Dt={title:s,data:o,mappingData:r,name:dt,value:ut,color:r.color||u,marker:!0};c.push(Dt)}}if((0,f.Kn)(l)){var g=l.fields,y=l.callback;if(y){var x=g.map(function(dt){return r[te][dt]}),m=y.apply(void 0,(0,d.ev)([],(0,d.CR)(x),!1)),w=(0,d.pi)({data:r[te],mappingData:r,title:s,color:r.color||u,marker:!0},m);c.push(w)}else{var M=e.scales;try{for(var S=(0,d.XA)(g),A=S.next();!A.done;A=S.next()){var B=A.value;if(!(0,f.UM)(o[B])){var U=M[B];h=ja(U),v=U.getText(o[B]),p(h,v)}}}catch(dt){i={error:dt}}finally{try{A&&!A.done&&(a=S.return)&&a.call(S)}finally{if(i)throw i.error}}}}else{var Q=Mv(e);v=mM(o,Q),h=xM(o,e),p(h,v)}return c}function Cv(r,e,t,n){var i,a,o=n.showNil,s=[],l=r.dataArray;if(!(0,f.xb)(l)){r.sort(l);try{for(var u=(0,d.XA)(l),c=u.next();!c.done;c=u.next()){var h=c.value,v=Sv(e,h,r);if(v){var p=r.getElementId(v),g=r.elementsMap[p];if(r.type==="heatmap"||g.visible){var y=Eu(v,r,t,o);y.length&&s.push(y)}}}}catch(x){i={error:x}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}return s}function bv(r,e,t,n){var i=n.showNil,a=[],o=r.container,s=o.getShape(e.x,e.y);if(s&&s.get("visible")&&s.get("origin")){var l=s.get("origin").mappingData,u=Eu(l,r,t,i);u.length&&a.push(u)}return a}function Fu(r,e,t){var n,i,a=[],o=r.geometries,s=t.shared,l=t.title,u=t.reversed;try{for(var c=(0,d.XA)(o),h=c.next();!h.done;h=c.next()){var v=h.value;if(v.visible&&v.tooltipOption!==!1){var p=v.type,g=void 0;["point","edge","polygon"].includes(p)?g=bv(v,e,l,t):["area","line","path","heatmap"].includes(p)||s!==!1?g=Cv(v,e,l,t):g=bv(v,e,l,t),g.length&&(u&&g.reverse(),a.push(g))}}}catch(y){n={error:y}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return a}function wM(r,e,t){var n,i,a=Fu(r,e,t);try{for(var o=(0,d.XA)(r.views),s=o.next();!s.done;s=o.next()){var l=s.value;a=a.concat(Fu(l,e,t))}}catch(u){n={error:u}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a}function MM(r){return!(0,f.hj)(r)&&!(0,f.kJ)(r)}function _u(r){r===void 0&&(r=0);var e=(0,f.kJ)(r)?r:[r];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=(0,d.ev)((0,d.ev)([],(0,d.CR)(e),!1),(0,d.CR)(e),!1);break;case 3:e=(0,d.ev)((0,d.ev)([],(0,d.CR)(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var Fs={};function Ti(r,e){Fs[r]=e}function G5(r){delete Fs[r]}function SM(){return Object.keys(Fs)}function CM(r){return Fs[r]}var bM=function(){function r(e){this.option=this.wrapperOption(e)}return r.prototype.update=function(e){return this.option=this.wrapperOption(e),this},r.prototype.hasAction=function(e){var t=this.option.actions;return(0,f.G)(t,function(n){return n[0]===e})},r.prototype.create=function(e,t){var n=this.option,i=n.type,a=n.cfg,o=i==="theta",s=(0,d.pi)({start:e,end:t},a),l=Em(o?"polar":i);return this.coordinate=new l(s),this.coordinate.type=i,o&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},r.prototype.adjust=function(e,t){return this.coordinate.update({start:e,end:t}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},r.prototype.rotate=function(e){return this.option.actions.push(["rotate",e]),this},r.prototype.reflect=function(e){return this.option.actions.push(["reflect",e]),this},r.prototype.scale=function(e,t){return this.option.actions.push(["scale",e,t]),this},r.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},r.prototype.getOption=function(){return this.option},r.prototype.getCoordinate=function(){return this.coordinate},r.prototype.wrapperOption=function(e){return(0,d.pi)({type:"rect",actions:[],cfg:{}},e)},r.prototype.execActions=function(e){var t=this,n=this.option.actions;(0,f.S6)(n,function(i){var a,o=(0,d.CR)(i),s=o[0],l=o.slice(1),u=(0,f.UM)(e)?!0:e.includes(s);u&&(a=t.coordinate)[s].apply(a,(0,d.ev)([],(0,d.CR)(l),!1))})},r}(),AM=bM,TM=function(){function r(e,t,n){this.view=e,this.gEvent=t,this.data=n,this.type=t.type}return r.fromData=function(e,t,n){return new r(e,new F.Event(t,{}),n)},Object.defineProperty(r.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return"[Event (type=".concat(this.type,")]")},r.prototype.clone=function(){return new r(this.view,this.gEvent,this.data)},r}(),lr=TM;function EM(r){var e=r.getController("axis"),t=r.getController("legend"),n=r.getController("annotation"),i=r.getController("slider"),a=r.getController("scrollbar");[e,i,a,t,n].forEach(function(o){o&&o.layout()})}var FM=function(){function r(){this.scales=new Map,this.syncScales=new Map}return r.prototype.createScale=function(e,t,n,i){var a=n,o=this.getScaleMeta(i);if(t.length===0&&o){var s=o.scale,l={type:s.type};s.isCategory&&(l.values=s.values),a=(0,f.b$)(l,o.scaleDef,n)}var u=aw(e,t,a);return this.cacheScale(u,n,i),u},r.prototype.sync=function(e,t){var n=this;this.syncScales.forEach(function(i,a){var o=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,l=[];(0,f.S6)(i,function(u){var c=n.getScale(u);s=(0,f.hj)(c.max)?Math.max(s,c.max):s,o=(0,f.hj)(c.min)?Math.min(o,c.min):o,(0,f.S6)(c.values,function(h){l.includes(h)||l.push(h)})}),(0,f.S6)(i,function(u){var c=n.getScale(u);if(c.isContinuous)c.change({min:o,max:s,values:l});else if(c.isCategory){var h=c.range,v=n.getScaleMeta(u);l&&!(0,f.U2)(v,["scaleDef","range"])&&(h=kh((0,f.b$)({},c,{values:l}),e,t)),c.change({values:l,range:h})}})})},r.prototype.cacheScale=function(e,t,n){var i=this.getScaleMeta(n);i&&i.scale.type===e.type?(ow(i.scale,e),i.scaleDef=t):(i={key:n,scale:e,scaleDef:t},this.scales.set(n,i));var a=this.getSyncKey(i);if(i.syncKey=a,this.removeFromSyncScales(n),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(n)}},r.prototype.getScale=function(e){var t=this.getScaleMeta(e);if(!t){var n=(0,f.Z$)(e.split("-")),i=this.syncScales.get(n);i&&i.length&&(t=this.getScaleMeta(i[0]))}return t&&t.scale},r.prototype.deleteScale=function(e){var t=this.getScaleMeta(e);if(t){var n=t.syncKey,i=this.syncScales.get(n);if(i&&i.length){var a=i.indexOf(e);a!==-1&&i.splice(a,1)}}this.scales.delete(e)},r.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},r.prototype.removeFromSyncScales=function(e){var t=this;this.syncScales.forEach(function(n,i){var a=n.indexOf(e);if(a!==-1)return n.splice(a,1),n.length===0&&t.syncScales.delete(i),!1})},r.prototype.getSyncKey=function(e){var t=e.scale,n=e.scaleDef,i=t.field,a=(0,f.U2)(n,["sync"]);return a===!0?i:a===!1?void 0:a},r.prototype.getScaleMeta=function(e){return this.scales.get(e)},r}(),_s=function(){function r(e,t,n,i){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0),this.top=e,this.right=t,this.bottom=n,this.left=i}return r.instance=function(e,t,n,i){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0),new r(e,t,n,i)},r.prototype.max=function(e){var t=(0,d.CR)(e,4),n=t[0],i=t[1],a=t[2],o=t[3];return this.top=Math.max(this.top,n),this.right=Math.max(this.right,i),this.bottom=Math.max(this.bottom,a),this.left=Math.max(this.left,o),this},r.prototype.shrink=function(e){var t=(0,d.CR)(e,4),n=t[0],i=t[1],a=t[2],o=t[3];return this.top+=n,this.right+=i,this.bottom+=a,this.left+=o,this},r.prototype.inc=function(e,t){var n=e.width,i=e.height;switch(t){case tt.TOP:case tt.TOP_LEFT:case tt.TOP_RIGHT:this.top+=i;break;case tt.RIGHT:case tt.RIGHT_TOP:case tt.RIGHT_BOTTOM:this.right+=n;break;case tt.BOTTOM:case tt.BOTTOM_LEFT:case tt.BOTTOM_RIGHT:this.bottom+=i;break;case tt.LEFT:case tt.LEFT_TOP:case tt.LEFT_BOTTOM:this.left+=n;break;default:break}return this},r.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},r.prototype.clone=function(){return new(r.bind.apply(r,(0,d.ev)([void 0],(0,d.CR)(this.getPadding()),!1)))},r}();function _M(r){var e=r.padding;if(!MM(e))return new(_s.bind.apply(_s,(0,d.ev)([void 0],(0,d.CR)(_u(e)),!1)));var t=r.viewBBox,n=new _s,i=[],a=[],o=[];return(0,f.S6)(r.getComponents(),function(s){var l=s.type;l===bt.AXIS?i.push(s):[bt.LEGEND,bt.SLIDER,bt.SCROLLBAR].includes(l)?a.push(s):l!==bt.GRID&&l!==bt.TOOLTIP&&o.push(s)}),(0,f.S6)(i,function(s){var l=s.component,u=l.getLayoutBBox(),c=new _r(u.x,u.y,u.width,u.height),h=c.exceed(t);n.max(h)}),(0,f.S6)(a,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=l.get("padding"),v=new _r(c.x,c.y,c.width,c.height).expand(h);n.inc(v,u)}),(0,f.S6)(o,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=new _r(c.x,c.y,c.width,c.height);n.inc(h,u)}),n}function IM(r,e,t){var n=t.instance();e.forEach(function(i){i.autoPadding=n.max(i.autoPadding.getPadding())})}var Av=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,{visible:t.visible})||this;n.views=[],n.geometries=[],n.controllers=[],n.interactions={},n.limitInPlot=!1,n.options={data:[],animate:!0},n.usedControllers=SM(),n.scalePool=new FM,n.layoutFunc=EM,n.isPreMouseInPlot=!1,n.isDataChanged=!1,n.isCoordinateChanged=!1,n.createdScaleKeys=new Map,n.onCanvasEvent=function(M){var S=M.name;if(!S.includes(":")){var A=n.createViewEvent(M);n.doPlotEvent(A),n.emit(S,A)}},n.onDelegateEvents=function(M){var S=M.name;if(!!S.includes(":")){var A=n.createViewEvent(M);n.emit(S,A)}};var i=t.id,a=i===void 0?(0,f.EL)("view"):i,o=t.parent,s=t.canvas,l=t.backgroundGroup,u=t.middleGroup,c=t.foregroundGroup,h=t.region,v=h===void 0?{start:{x:0,y:0},end:{x:1,y:1}}:h,p=t.padding,g=t.appendPadding,y=t.theme,x=t.options,m=t.limitInPlot,w=t.syncViewPadding;return n.parent=o,n.canvas=s,n.backgroundGroup=l,n.middleGroup=u,n.foregroundGroup=c,n.region=v,n.padding=p,n.appendPadding=g,n.options=(0,d.pi)((0,d.pi)({},n.options),x),n.limitInPlot=m,n.id=a,n.syncViewPadding=w,n.themeObject=(0,f.Kn)(y)?(0,f.b$)({},ro("default"),Es(y)):ro(y),n.init(),n}return e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t,n){t===void 0&&(t=!1),this.emit(Z.BEFORE_RENDER,lr.fromData(this,Z.BEFORE_RENDER,n)),this.paint(t),this.emit(Z.AFTER_RENDER,lr.fromData(this,Z.AFTER_RENDER,n)),this.visible===!1&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(Z.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var n=this.geometries,i=0;i');ut.appendChild(Dt);var jt=L(ut,l,a,o),fe=Tt(v),me=new fe.Canvas((0,d.pi)({container:Dt,pixelRatio:p,localRefresh:y,supportCSSTransform:M},jt));return n=r.call(this,{parent:null,canvas:me,backgroundGroup:me.addGroup({zIndex:St.BG}),middleGroup:me.addGroup({zIndex:St.MID}),foregroundGroup:me.addGroup({zIndex:St.FORE}),padding:u,appendPadding:c,visible:m,options:B,limitInPlot:U,theme:Q,syncViewPadding:dt})||this,n.onResize=(0,f.Ds)(function(){n.forceFit()},300),n.ele=ut,n.canvas=me,n.width=jt.width,n.height=jt.height,n.autoFit=l,n.localRefresh=y,n.renderer=v,n.wrapperElement=Dt,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(A),n}return e.prototype.initDefaultInteractions=function(t){var n=this;(0,f.S6)(t,function(i){n.interaction(i)})},e.prototype.aria=function(t){var n="aria-label";t===!1?this.ele.removeAttribute(n):this.ele.setAttribute(n,t.label)},e.prototype.changeSize=function(t,n){return this.width===t&&this.height===n?this:(this.emit(Z.BEFORE_CHANGE_SIZE),this.width=t,this.height=n,this.canvas.changeSize(t,n),this.render(!0),this.emit(Z.AFTER_CHANGE_SIZE),this)},e.prototype.clear=function(){r.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),_(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(t){return r.prototype.changeVisible.call(this,t),this.wrapperElement.style.display=t?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=L(this.ele,!0,this.width,this.height),n=t.width,i=t.height;this.changeSize(n,i)}},e.prototype.updateCanvasStyle=function(){H(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(kM),PM=LM,ha=function(){function r(e){this.visible=!0,this.components=[],this.view=e}return r.prototype.clear=function(e){(0,f.S6)(this.components,function(t){t.component.destroy()}),this.components=[]},r.prototype.destroy=function(){this.clear()},r.prototype.getComponents=function(){return this.components},r.prototype.changeVisible=function(e){this.visible!==e&&(this.components.forEach(function(t){e?t.component.show():t.component.hide()}),this.visible=e)},r}();function DM(r){for(var e=[],t=function(i){var a=r[i],o=(0,f.sE)(e,function(s){return s.color===a.color&&s.name===a.name&&s.value===a.value&&s.title===a.title});o||e.push(a)},n=0;n1){var S=u[0],A=Math.abs(t.y-S[0].y);try{for(var B=(0,d.XA)(u),U=B.next();!U.done;U=B.next()){var Q=U.value,dt=Math.abs(t.y-Q[0].y);dt<=A&&(S=Q,A=dt)}}catch(ut){s={error:ut}}finally{try{U&&!U.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}u=[S]}return DM((0,f.xH)(u))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var n=this.tooltip.getContainer(),i=this.tooltip.get("capture");if(n&&i){var a=n.getBoundingClientRect(),o=a.x,s=a.y,l=a.width,u=a.height;return new _r(o,s,l,u).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,n=t.getOptions().tooltip,i=this.processCustomContent(n),a=t.getTheme(),o=(0,f.U2)(a,["components","tooltip"],{}),s=(0,f.U2)(i,"enterable",o.enterable);return(0,f.b$)({},o,i,{capture:!!(s||this.isLocked)})},e.prototype.processCustomContent=function(t){if((0,f.jn)(t)||!(0,f.U2)(t,"customContent"))return t;var n=t.customContent,i=function(a,o){var s=n(a,o)||"";return(0,f.HD)(s)?'
    '+s+"
    ":s};return(0,d.pi)((0,d.pi)({},t),{customContent:i})},e.prototype.getTitle=function(t){var n=t[0].title||t[0].name;return this.title=n,n},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),n={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},i=this.getTooltipCfg(),a=new gs((0,d.pi)((0,d.pi)({parent:t.get("el").parentNode,region:n},i),{visible:!1,crosshairs:null}));a.init(),this.tooltip=a},e.prototype.renderTooltipMarkers=function(t,n){var i,a,o=this.getTooltipMarkersGroup(),s=this.view.getRootView(),l=s.limitInPlot;try{for(var u=(0,d.XA)(t),c=u.next();!c.done;c=u.next()){var h=c.value,v=h.x,p=h.y;if(l||(o==null?void 0:o.getClip())){var g=gu(s.getCoordinate()),y=g.type,x=g.attrs;o==null||o.setClip({type:y,attrs:x})}else o==null||o.setClip(void 0);var m=this.view.getTheme(),w=(0,f.U2)(m,["components","tooltip","marker"],{}),M=(0,d.pi)((0,d.pi)({fill:h.color,symbol:"circle",shadowColor:h.color},(0,f.mf)(n)?(0,d.pi)((0,d.pi)({},w),n(h)):n),{x:v,y:p});o.addShape("marker",{attrs:M})}}catch(S){i={error:S}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},e.prototype.renderCrosshairs=function(t,n){var i=(0,f.U2)(n,["crosshairs","type"],"x");i==="x"?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,n)):i==="y"?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,n)):i==="xy"&&(this.renderXCrosshairs(t,n),this.renderYCrosshairs(t,n))},e.prototype.renderXCrosshairs=function(t,n){var i=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(i.isRect)i.isTransposed?(a={x:i.start.x,y:t.y},o={x:i.end.x,y:t.y}):(a={x:t.x,y:i.end.y},o={x:t.x,y:i.start.y});else{var s=sa(i,t),l=i.getCenter(),u=i.getRadius();o=hr(l.x,l.y,u,s),a=l}var c=(0,f.b$)({start:a,end:o,container:this.getTooltipCrosshairsGroup()},(0,f.U2)(n,"crosshairs",{}),this.getCrosshairsText("x",t,n));delete c.type;var h=this.xCrosshair;h?h.update(c):(h=new ah(c),h.init()),h.render(),h.show(),this.xCrosshair=h},e.prototype.renderYCrosshairs=function(t,n){var i=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(i.isRect){var s=void 0,l=void 0;i.isTransposed?(s={x:t.x,y:i.end.y},l={x:t.x,y:i.start.y}):(s={x:i.start.x,y:t.y},l={x:i.end.x,y:t.y}),a={start:s,end:l},o="Line"}else a={center:i.getCenter(),radius:ys(i,t),startAngle:i.startAngle,endAngle:i.endAngle},o="Circle";a=(0,f.b$)({container:this.getTooltipCrosshairsGroup()},a,(0,f.U2)(n,"crosshairs",{}),this.getCrosshairsText("y",t,n)),delete a.type;var u=this.yCrosshair;u?i.isRect&&u.get("type")==="circle"||!i.isRect&&u.get("type")==="line"?(u=new gt[o](a),u.init()):u.update(a):(u=new gt[o](a),u.init()),u.render(),u.show(),this.yCrosshair=u},e.prototype.getCrosshairsText=function(t,n,i){var a=(0,f.U2)(i,["crosshairs","text"]),o=(0,f.U2)(i,["crosshairs","follow"]),s=this.items;if(a){var l=this.getViewWithGeometry(this.view),u=s[0],c=l.getXScale(),h=l.getYScales()[0],v=void 0,p=void 0;if(o){var g=this.view.getCoordinate().invert(n);v=c.invert(g.x),p=h.invert(g.y)}else v=u.data[c.field],p=u.data[h.field];var y=t==="x"?v:p;return(0,f.mf)(a)?a=a(t,y,s,n):a.content=y,{text:a}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.findItemsFromView=function(t,n){var i,a;if(t.getOptions().tooltip===!1)return[];var o=this.getTooltipCfg(),s=Fu(t,n,o);try{for(var l=(0,d.XA)(t.views),u=l.next();!u.done;u=l.next()){var c=u.value;s=s.concat(this.findItemsFromView(c,n))}}catch(h){i={error:h}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}return s},e.prototype.getViewWithGeometry=function(t){var n=this;return t.geometries.length?t:(0,f.sE)(t.views,function(i){return n.getViewWithGeometry(i)})},e.prototype.getItemsAfterProcess=function(t){var n=this.getTooltipCfg().customItems,i=n||function(a){return a};return i(t)},e}(ha),Tv=OM,Ev={};function Fv(r){return Ev[r.toLowerCase()]}function $r(r,e){Ev[r.toLowerCase()]=e}var va={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},BM={interval:function(r){return{enter:{animation:r.isRect?r.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:r.isPolar&&r.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},_v={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",r.isPolar&&r.isTransposed&&(e="wave-in")),{animation:e}},schema:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":e="grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function RM(r,e){return{delay:(0,f.mf)(r.delay)?r.delay(e):r.delay,easing:(0,f.mf)(r.easing)?r.easing(e):r.easing,duration:(0,f.mf)(r.duration)?r.duration(e):r.duration,callback:r.callback,repeat:r.repeat}}function Iv(r,e,t){var n=BM[r];return n&&((0,f.mf)(n)&&(n=n(e)),n=(0,f.b$)({},va,n),t)?n[t]:n}function pa(r,e,t){var n=(0,f.U2)(r.get("origin"),"data",te),i=e.animation,a=RM(e,n);if(i){var o=Fv(i);o&&o(r,a,t)}else r.animate(t.toAttrs,a)}function NM(r,e,t,n,i){if(_v[t]){var a=_v[t](n),o=Fv((0,f.U2)(a,"animation",""));if(o){var s=(0,d.pi)((0,d.pi)((0,d.pi)({},va.appear),a),e);r.stopAnimate(),o(r,s,{coordinate:n,minYPoint:i,toAttrs:null})}}}var Iu="element-background",zM=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;n.labelShape=[],n.states=[];var i=t.shapeFactory,a=t.container,o=t.offscreenGroup,s=t.elementIndex,l=t.visible,u=l===void 0?!0:l;return n.shapeFactory=i,n.container=a,n.offscreenGroup=o,n.visible=u,n.elementIndex=s,n}return e.prototype.draw=function(t,n){n===void 0&&(n=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,n),this.visible===!1&&this.changeVisible(!1)},e.prototype.update=function(t){var n=this,i=n.shapeFactory,a=n.shape;if(!!a){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(a,t);var o=this.getOffscreenGroup(),s=i.drawShape(this.shapeType,t,o);s.cfg.data=this.data,s.cfg.origin=t,s.cfg.element=this,this.syncShapeStyle(a,s,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var t=this,n=t.shapeFactory,i=t.shape;if(i){var a=this.getAnimateCfg("leave");a?pa(i,a,{coordinate:n.coordinate,toAttrs:(0,d.pi)({},i.attr())}):i.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=[],this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,r.prototype.destroy.call(this)},e.prototype.changeVisible=function(t){r.prototype.changeVisible.call(this,t),t?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(n){n.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(n){n.hide()}))},e.prototype.setState=function(t,n){var i=this,a=i.states,o=i.shapeFactory,s=i.model,l=i.shape,u=i.shapeType,c=a.indexOf(t);if(n){if(c>-1)return;a.push(t),(t==="active"||t==="selected")&&(l==null||l.toFront())}else{if(c===-1)return;if(a.splice(c,1),t==="active"||t==="selected"){var h=this.geometry,v=h.sortZIndex,p=h.zIndexReversed,g=p?this.geometry.elements.length-this.elementIndex:this.elementIndex;v?l.setZIndex(g):l.set("zIndex",g)}}var y=o.drawShape(u,s,this.getOffscreenGroup());a.length?this.syncShapeStyle(l,y,a,null):this.syncShapeStyle(l,y,["reset"],null),y.remove(!0);var x={state:t,stateStatus:n,element:this,target:this.container};this.container.emit("statechange",x),Wf(this.shape,"statechange",x)},e.prototype.clearStates=function(){var t=this,n=this.states;(0,f.S6)(n,function(i){t.setState(i,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,n=t.shape,i=t.labelShape,a={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return n&&(a=n.getCanvasBBox()),i&&i.forEach(function(o){var s=o.getCanvasBBox();a.x=Math.min(s.x,a.x),a.y=Math.min(s.y,a.y),a.minX=Math.min(s.minX,a.minX),a.minY=Math.min(s.minY,a.minY),a.maxX=Math.max(s.maxX,a.maxX),a.maxY=Math.max(s.maxY,a.maxY)}),a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,n=t.shapeType,i=t.geometry,a=t.shapeFactory,o=i.stateOption,s=a.defaultShapeType,l=a.theme[n]||a.theme[s];this.statesStyle=(0,f.b$)({},l,o)}return this.statesStyle},e.prototype.getStateStyle=function(t,n){var i=this.getStatesStyle(),a=(0,f.U2)(i,[t,"style"],{}),o=a[n]||a;return(0,f.mf)(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var n=this,i=this.animate;if(i){var a=i[t];return a&&(0,d.pi)((0,d.pi)({},a),{callback:function(){var o;(0,f.mf)(a.callback)&&a.callback(),(o=n.geometry)===null||o===void 0||o.emit(ot.AFTER_DRAW_ANIMATE)}})}return null},e.prototype.drawShape=function(t,n){var i;n===void 0&&(n=!1);var a=this,o=a.shapeFactory,s=a.container,l=a.shapeType;if(this.shape=o.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?(0,f.HD)(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var c=n?"enter":"appear",h=this.getAnimateCfg(c);h&&((i=this.geometry)===null||i===void 0||i.emit(ot.BEFORE_DRAW_ANIMATE),pa(this.shape,h,{coordinate:o.coordinate,toAttrs:(0,d.pi)({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,n){var i=this;if(t.cfg.origin=n,t.cfg.element=this,t.isGroup()){var a=t.get("children");a.forEach(function(o){i.setShapeInfo(o,n)})}},e.prototype.syncShapeStyle=function(t,n,i,a,o){var s=this,l;if(i===void 0&&(i=[]),o===void 0&&(o=0),!(!t||!n)){var u=t.get("clipShape"),c=n.get("clipShape");if(this.syncShapeStyle(u,c,i,a),t.isGroup())for(var h=t.get("children"),v=n.get("children"),p=0;p=0?a=n:i<=0?a=i:a=0,a},e.prototype.createAttrOption=function(t,n,i){if((0,f.UM)(n)||(0,f.Kn)(n))(0,f.Kn)(n)&&(0,f.Xy)(Object.keys(n),["values"])?(0,f.t8)(this.attributeOption,t,{fields:n.values}):(0,f.t8)(this.attributeOption,t,n);else{var a={};(0,f.hj)(n)?a.values=[n]:a.fields=io(n),i&&((0,f.mf)(i)?a.callback=i:a.values=i),(0,f.t8)(this.attributeOption,t,a)}},e.prototype.initAttributes=function(){var t=this,n=this,i=n.attributes,a=n.attributeOption,o=n.theme,s=n.shapeType;this.groupScales=[];var l={},u=function(v){if(a.hasOwnProperty(v)){var p=a[v];if(!p)return{value:void 0};var g=(0,d.pi)({},p),y=g.callback,x=g.values,m=g.fields,w=m===void 0?[]:m,M=w.map(function(A){var B=t.scales[A];if(!l[A]&&Kt.includes(v)){var U=Ih(B,(0,f.U2)(t.scaleDefs,A),v,t.type);U==="cat"&&(t.groupScales.push(B),l[A]=!0)}return B});g.scales=M,v!=="position"&&M.length===1&&M[0].type==="identity"?g.values=M[0].values:!y&&!x&&(v==="size"?g.values=o.sizes:v==="shape"?g.values=o.shapes[s]||[]:v==="color"&&(M.length?g.values=M[0].values.length<=10?o.colors10:o.colors20:g.values=o.colors10));var S=Hf(v);i[v]=new S(g)}};for(var c in a){var h=u(c);if(typeof h=="object")return h.value}},e.prototype.processData=function(t){var n,i;this.hasSorted=!1;for(var a=this.getAttribute("position").scales,o=a.filter(function(U){return U.isCategory}),s=this.groupData(t),l=[],u=0,c=s.length;us&&(s=h)}var v=this.scaleDefs,p={};ot.max&&!(0,f.U2)(v,[a,"max"])&&(p.max=s),t.change(p)},e.prototype.beforeMapping=function(t){var n=t;if(this.sortable&&this.sort(n),this.generatePoints)for(var i=0,a=n.length;i1)for(var v=0;v0})}function Nv(r,e,t){var n=t.data,i=t.origin,a=t.animateCfg,o=t.coordinate,s=(0,f.U2)(a,"update");r.set("data",n),r.set("origin",i),r.set("animateCfg",a),r.set("coordinate",o),r.set("visible",e.get("visible")),(r.getChildren()||[]).forEach(function(l,u){var c=e.getChildByIndex(u);if(!c)r.removeChild(l),l.remove(!0);else{l.set("data",n),l.set("origin",i),l.set("animateCfg",a),l.set("coordinate",o);var h=_h(l,c);s?pa(l,s,{toAttrs:h,coordinate:o}):l.attr(h),c.isGroup()&&Nv(l,c,t)}}),(0,f.S6)(e.getChildren(),function(l,u){(0,f.kJ)(r.getChildren())&&u>=r.getCount()&&(l.destroyed||r.add(l))})}var jM=function(){function r(e){this.shapesMap={};var t=e.layout,n=e.container;this.layout=t,this.container=n}return r.prototype.render=function(e,t,n){return n===void 0&&(n=!1),(0,d.mG)(this,void 0,void 0,function(){var i,a,o,s,l,u,c,h,v=this;return(0,d.Jh)(this,function(p){switch(p.label){case 0:if(i={},a=this.createOffscreenGroup(),!e.length)return[3,2];try{for(o=(0,d.XA)(e),s=o.next();!s.done;s=o.next())l=s.value,l&&(i[l.id]=this.renderLabel(l,a))}catch(g){c={error:g}}finally{try{s&&!s.done&&(h=o.return)&&h.call(o)}finally{if(c)throw c.error}}return[4,this.doLayout(e,t,i)];case 1:p.sent(),this.renderLabelLine(e,i),this.renderLabelBackground(e,i),this.adjustLabel(e,i),p.label=2;case 2:return u=this.shapesMap,(0,f.S6)(i,function(g,y){if(g.destroyed)delete i[y];else{if(u[y]){var x=g.get("data"),m=g.get("origin"),w=g.get("coordinate"),M=g.get("animateCfg"),S=u[y];Nv(S,i[y],{data:x,origin:m,animateCfg:M,coordinate:w}),i[y]=S}else{if(v.container.destroyed)return;v.container.add(g);var A=(0,f.U2)(g.get("animateCfg"),n?"enter":"appear");A&&pa(g,A,{toAttrs:(0,d.pi)({},g.attr()),coordinate:g.get("coordinate")})}delete u[y]}}),(0,f.S6)(u,function(g){var y=(0,f.U2)(g.get("animateCfg"),"leave");y?pa(g,y,{toAttrs:null,coordinate:g.get("coordinate")}):g.remove(!0)}),this.shapesMap=i,a.destroy(),[2]}})})},r.prototype.clear=function(){this.container.clear(),this.shapesMap={}},r.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null},r.prototype.renderLabel=function(e,t){var n=e.id,i=e.elementId,a=e.data,o=e.mappingData,s=e.coordinate,l=e.animate,u=e.content,c=e.capture,h={id:n,elementId:i,capture:c,data:a,origin:(0,d.pi)((0,d.pi)({},o),{data:o[te]}),coordinate:s},v=t.addGroup((0,d.pi)({name:"label",animateCfg:this.animate===!1||l===null||l===!1?!1:(0,f.b$)({},this.animate,l)},h)),p;if(u.isGroup&&u.isGroup()||u.isShape&&u.isShape()){var g=u.getCanvasBBox(),y=g.width,x=g.height,m=(0,f.U2)(e,"textAlign","left"),w=e.x,M=e.y-x/2;m==="center"?w=w-y/2:(m==="right"||m==="end")&&(w=w-y),ao(u,w,M),p=u,v.add(u)}else{var S=(0,f.U2)(e,["style","fill"]);p=v.addShape("text",(0,d.pi)({attrs:(0,d.pi)((0,d.pi)({x:e.x,y:e.y,textAlign:e.textAlign,textBaseline:(0,f.U2)(e,"textBaseline","middle"),text:e.content},e.style),{fill:(0,f.Ft)(S)?e.color:S})},h))}return e.rotate&&Lu(p,e.rotate),v},r.prototype.doLayout=function(e,t,n){return(0,d.mG)(this,void 0,void 0,function(){var i,a=this;return(0,d.Jh)(this,function(o){switch(o.label){case 0:return this.layout?(i=(0,f.kJ)(this.layout)?this.layout:[this.layout],[4,Promise.all(i.map(function(s){var l=UM((0,f.U2)(s,"type",""));if(!!l){var u=[],c=[];return(0,f.S6)(n,function(h,v){u.push(h),c.push(t[h.get("elementId")])}),l(e,u,c,a.region,s.cfg)}}))]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},r.prototype.renderLabelLine=function(e,t){(0,f.S6)(e,function(n){var i=(0,f.U2)(n,"coordinate");if(!(!n||!i)){var a=i.getCenter(),o=i.getRadius();if(!!n.labelLine){var s=(0,f.U2)(n,"labelLine",{}),l=n.id,u=s.path;if(!u){var c=hr(a.x,a.y,o,n.angle);u=[["M",c.x,c.y],["L",n.x,n.y]]}var h=t[l];h.destroyed||h.addShape("path",{capture:!1,attrs:(0,d.pi)({path:u,stroke:n.color?n.color:(0,f.U2)(n,["style","fill"],"#000"),fill:null},s.style),id:l,origin:n.mappingData,data:n.data,coordinate:n.coordinate})}}})},r.prototype.renderLabelBackground=function(e,t){(0,f.S6)(e,function(n){var i=(0,f.U2)(n,"coordinate"),a=(0,f.U2)(n,"background");if(!(!a||!i)){var o=n.id,s=t[o];if(!s.destroyed){var l=s.getChildren()[0];if(l){var u=Rv(s,n,a.padding),c=u.rotation,h=(0,d._T)(u,["rotation"]),v=s.addShape("rect",{attrs:(0,d.pi)((0,d.pi)({},h),a.style||{}),id:o,origin:n.mappingData,data:n.data,coordinate:n.coordinate});if(v.setZIndex(-1),c){var p=l.getMatrix();v.setMatrix(p)}}}}})},r.prototype.createOffscreenGroup=function(){var e=this.container,t=e.getGroupBase(),n=new t({});return n},r.prototype.adjustLabel=function(e,t){(0,f.S6)(e,function(n){if(n){var i=n.id,a=t[i];if(!a.destroyed){var o=a.findAll(function(s){return s.get("type")!=="path"});(0,f.S6)(o,function(s){s&&(n.offsetX&&s.attr("x",s.attr("x")+n.offsetX),n.offsetY&&s.attr("y",s.attr("y")+n.offsetY))})}}})},r}(),JM=jM;function zv(r){var e=0;return(0,f.S6)(r,function(t){e+=t}),e/r.length}var KM=function(){function r(e){this.geometry=e}return r.prototype.getLabelItems=function(e){var t=this,n=[],i=this.getLabelCfgs(e);return(0,f.S6)(e,function(a,o){var s=i[o];if(!s||(0,f.UM)(a.x)||(0,f.UM)(a.y)){n.push(null);return}var l=(0,f.kJ)(s.content)?s.content:[s.content];s.content=l;var u=l.length;(0,f.S6)(l,function(c,h){if((0,f.UM)(c)||c===""){n.push(null);return}var v=(0,d.pi)((0,d.pi)({},s),t.getLabelPoint(s,a,h));v.textAlign||(v.textAlign=t.getLabelAlign(v,h,u)),v.offset<=0&&(v.labelLine=null),n.push(v)})}),n},r.prototype.render=function(e,t){return t===void 0&&(t=!1),(0,d.mG)(this,void 0,void 0,function(){var n,i,a;return(0,d.Jh)(this,function(o){switch(o.label){case 0:return n=this.getLabelItems(e),i=this.getLabelsRenderer(),a=this.getGeometryShapes(),[4,i.render(n,a,t)];case 1:return o.sent(),[2]}})})},r.prototype.clear=function(){var e=this.labelsRenderer;e&&e.clear()},r.prototype.destroy=function(){var e=this.labelsRenderer;e&&e.destroy(),this.labelsRenderer=null},r.prototype.getCoordinate=function(){return this.geometry.coordinate},r.prototype.getDefaultLabelCfg=function(e,t){var n=this.geometry,i=n.type,a=n.theme;return i==="polygon"||i==="interval"&&t==="middle"||e<0&&!["line","point","path"].includes(i)?(0,f.U2)(a,"innerLabels",{}):(0,f.U2)(a,"labels",{})},r.prototype.getThemedLabelCfg=function(e){var t=this.geometry,n=this.getDefaultLabelCfg(),i=t.type,a=t.theme,o;return i==="polygon"||e.offset<0&&!["line","point","path"].includes(i)?o=(0,f.b$)({},n,a.innerLabels,e):o=(0,f.b$)({},n,a.labels,e),o},r.prototype.setLabelPosition=function(e,t,n,i){},r.prototype.getLabelOffset=function(e){var t=this.getCoordinate(),n=this.getOffsetVector(e);return t.isTransposed?n[0]:n[1]},r.prototype.getLabelOffsetPoint=function(e,t,n){var i=e.offset,a=this.getCoordinate(),o=a.isTransposed,s=o?"x":"y",l=o?1:-1,u={x:0,y:0};return t>0||n===1?u[s]=i*l:u[s]=i*l*-1,u},r.prototype.getLabelPoint=function(e,t,n){var i=this.getCoordinate(),a=e.content.length;function o(x,m,w){w===void 0&&(w=!1);var M=x;return(0,f.kJ)(M)&&(e.content.length===1?w?M=zv(M):M.length<=2?M=M[x.length-1]:M=zv(M):M=M[m]),M}var s={content:e.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},l=(0,f.kJ)(t.shape)?t.shape[0]:t.shape,u=l==="funnel"||l==="pyramid";if(this.geometry.type==="polygon"){var c=J1(t.x,t.y);s.x=c[0],s.y=c[1]}else this.geometry.type==="interval"&&!u?(s.x=o(t.x,n,!0),s.y=o(t.y,n)):(s.x=o(t.x,n),s.y=o(t.y,n));if(u){var h=(0,f.U2)(t,"nextPoints"),v=(0,f.U2)(t,"points");if(h){var p=i.convert(v[1]),g=i.convert(h[1]);s.x=(p.x+g.x)/2,s.y=(p.y+g.y)/2}else if(l==="pyramid"){var p=i.convert(v[1]),g=i.convert(v[2]);s.x=(p.x+g.x)/2,s.y=(p.y+g.y)/2}}e.position&&this.setLabelPosition(s,t,n,e.position);var y=this.getLabelOffsetPoint(e,n,a);return s.start={x:s.x,y:s.y},s.x+=y.x,s.y+=y.y,s.color=t.color,s},r.prototype.getLabelAlign=function(e,t,n){var i="center",a=this.getCoordinate();if(a.isTransposed){var o=e.offset;o<0?i="right":o===0?i="center":i="left",n>1&&t===0&&(i==="right"?i="left":i==="left"&&(i="right"))}return i},r.prototype.getLabelId=function(e){var t=this.geometry,n=t.type,i=t.getXScale(),a=t.getYScale(),o=e[te],s=t.getElementId(e);return n==="line"||n==="area"?s+=" ".concat(o[i.field]):n==="path"&&(s+=" ".concat(o[i.field],"-").concat(o[a.field])),s},r.prototype.getLabelsRenderer=function(){var e=this.geometry,t=e.labelsContainer,n=e.labelOption,i=e.canvasRegion,a=e.animateOption,o=this.geometry.coordinate,s=this.labelsRenderer;return s||(s=new JM({container:t,layout:(0,f.U2)(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=s),s.region=i,s.animate=a?Iv("label",o):!1,s},r.prototype.getLabelCfgs=function(e){var t=this,n=this.geometry,i=n.labelOption,a=n.scales,o=n.coordinate,s=i,l=s.fields,u=s.callback,c=s.cfg,h=l.map(function(p){return a[p]}),v=[];return(0,f.S6)(e,function(p,g){var y=p[te],x=t.getLabelText(y,h),m;if(u){var w=l.map(function(U){return y[U]});if(m=u.apply(void 0,(0,d.ev)([],(0,d.CR)(w),!1)),(0,f.UM)(m)){v.push(null);return}}var M=(0,d.pi)((0,d.pi)({id:t.getLabelId(p),elementId:t.geometry.getElementId(p),data:y,mappingData:p,coordinate:o},c),m);(0,f.mf)(M.position)&&(M.position=M.position(y,p,g));var S=t.getLabelOffset(M.offset||0),A=t.getDefaultLabelCfg(S,M.position);M=(0,f.b$)({},A,M),M.offset=t.getLabelOffset(M.offset||0);var B=M.content;(0,f.mf)(B)?M.content=B(y,p,g):(0,f.o8)(B)&&(M.content=x[0]),v.push(M)}),v},r.prototype.getLabelText=function(e,t){var n=[];return(0,f.S6)(t,function(i){var a=e[i.field];(0,f.kJ)(a)?a=a.map(function(o){return i.getText(o)}):a=i.getText(a),(0,f.UM)(a)||a===""?n.push(null):n.push(a)}),n},r.prototype.getOffsetVector=function(e){e===void 0&&(e=0);var t=this.getCoordinate(),n=0;return(0,f.hj)(e)&&(n=e),t.isTransposed?t.applyMatrix(n,0):t.applyMatrix(0,n)},r.prototype.getGeometryShapes=function(){var e=this.geometry,t={};return(0,f.S6)(e.elementsMap,function(n,i){t[i]=n.shape}),(0,f.S6)(e.getOffscreenGroup().getChildren(),function(n){var i=e.getElementId(n.get("origin").mappingData);t[i]=n}),t},r}(),ks=KM;function Pu(r,e,t){if(!r)return t;var n;if(r.callback&&r.callback.length>1){var i=Array(r.callback.length-1).fill("");n=r.mapping.apply(r,(0,d.ev)([e],(0,d.CR)(i),!1)).join("")}else n=r.mapping(e).join("");return n||t}var Ei={hexagon:function(r,e,t){var n=t/2*Math.sqrt(3);return[["M",r,e-t],["L",r+n,e-t/2],["L",r+n,e+t/2],["L",r,e+t],["L",r-n,e+t/2],["L",r-n,e-t/2],["Z"]]},bowtie:function(r,e,t){var n=t-1.5;return[["M",r-t,e-n],["L",r+t,e+n],["L",r+t,e-n],["L",r-t,e+n],["Z"]]},cross:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e+t],["M",r+t,e-t],["L",r-t,e+t]]},tick:function(r,e,t){return[["M",r-t/2,e-t],["L",r+t/2,e-t],["M",r,e-t],["L",r,e+t],["M",r-t/2,e+t],["L",r+t/2,e+t]]},plus:function(r,e,t){return[["M",r-t,e],["L",r+t,e],["M",r,e-t],["L",r,e+t]]},hyphen:function(r,e,t){return[["M",r-t,e],["L",r+t,e]]},line:function(r,e,t){return[["M",r,e-t],["L",r,e+t]]}},QM=["line","cross","tick","plus","hyphen"];function tS(r,e){return(0,f.mf)(e)?e(r):(0,f.b$)({},r,e)}function eS(r,e){var t=r.symbol;if((0,f.HD)(t)&&QM.indexOf(t)!==-1){var n=(0,f.U2)(r,"style",{}),i=(0,f.U2)(n,"lineWidth",1),a=n.stroke||n.fill||e;r.style=(0,f.b$)({},r.style,{lineWidth:i,stroke:a,fill:null})}}function Vv(r){var e=r.symbol;(0,f.HD)(e)&&Ei[e]&&(r.symbol=Ei[e])}function Du(r){return r.startsWith(tt.LEFT)||r.startsWith(tt.RIGHT)?"vertical":"horizontal"}function Uv(r,e,t,n,i){var a=t.getScale(t.type);if(a.isCategory){var o=a.field,s=e.getAttribute("color"),l=e.getAttribute("shape"),u=r.getTheme().defaultColor,c=e.coordinate.isPolar;return a.getTicks().map(function(h,v){var p,g=h.text,y=h.value,x=g,m=a.invert(y),w=r.filterFieldData(o,[(p={},p[o]=m,p)]).length===0;(0,f.S6)(r.views,function(U){var Q;U.filterFieldData(o,[(Q={},Q[o]=m,Q)]).length||(w=!0)});var M=Pu(s,m,u),S=Pu(l,m,"point"),A=e.getShapeMarker(S,{color:M,isInPolar:c}),B=i;return(0,f.mf)(B)&&(B=B(x,v,(0,d.pi)({name:x,value:m},(0,f.b$)({},n,A)))),A=(0,f.b$)({},n,A,Vr((0,d.pi)({},B),["style"])),eS(A,M),B&&B.style&&(A.style=tS(A.style,B.style)),Vv(A),{id:m,name:x,value:m,marker:A,unchecked:w}})}return[]}function rS(r,e,t){return t.map(function(n,i){var a=e;(0,f.mf)(a)&&(a=a(n.name,i,(0,f.b$)({},r,n)));var o=(0,f.mf)(n.marker)?n.marker(n.name,i,(0,f.b$)({},r,n)):n.marker,s=(0,f.b$)({},r,a,o);return Vv(s),n.marker=s,n})}function Hv(r,e){var t=(0,f.U2)(r,["components","legend"],{});return(0,f.b$)({},(0,f.U2)(t,["common"],{}),(0,f.b$)({},(0,f.U2)(t,[e],{})))}function Ou(r){return r?!1:r==null||isNaN(r)}function Gv(r){if((0,f.kJ)(r))return Ou(r[1].y);var e=r.y;return(0,f.kJ)(e)?Ou(e[0]):Ou(e)}function Ls(r,e,t){if(e===void 0&&(e=!1),t===void 0&&(t=!0),!r.length||r.length===1&&!t)return[];if(e){for(var n=[],i=0,a=r.length;i=r&&i<=r+t&&a>=e&&a<=e+n}function oo(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=0&&i<1/2*Math.PI?(s={x:o.minX,y:o.minY},l={x:o.maxX,y:o.maxY}):1/2*Math.PI<=i&&i1&&(t*=Math.sqrt(p),n*=Math.sqrt(p));var g=t*t*(v*v)+n*n*(h*h),y=g?Math.sqrt((t*t*(n*n)-g)/g):1;a===o&&(y*=-1),isNaN(y)&&(y=0);var x=n?y*t*v/n:0,m=t?y*-n*h/t:0,w=(s+u)/2+Math.cos(i)*x-Math.sin(i)*m,M=(l+c)/2+Math.sin(i)*x+Math.cos(i)*m,S=[(h-x)/t,(v-m)/n],A=[(-1*h-x)/t,(-1*v-m)/n],B=Qv([1,0],S),U=Qv(S,A);return Nu(S,A)<=-1&&(U=Math.PI),Nu(S,A)>=1&&(U=0),o===0&&U>0&&(U=U-2*Math.PI),o===1&&U<0&&(U=U+2*Math.PI),{cx:w,cy:M,rx:jv(r,[u,c])?0:t,ry:jv(r,[u,c])?0:n,startAngle:B,endAngle:B+U,xRotation:i,arcFlag:a,sweepFlag:o}}var Os=Math.sin,Bs=Math.cos,zu=Math.atan2,Rs=Math.PI;function tp(r,e,t,n,i,a,o){var s=e.stroke,l=e.lineWidth,u=t-i,c=n-a,h=zu(c,u),v=new Ju({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Bs(Rs/6)+","+10*Os(Rs/6)+" L0,0 L"+10*Bs(Rs/6)+",-"+10*Os(Rs/6),stroke:s,lineWidth:l}});v.translate(i,a),v.rotateAtPoint(i,a,h),r.set(o?"startArrowShape":"endArrowShape",v)}function ep(r,e,t,n,i,a,o){var s=e.startArrow,l=e.endArrow,u=e.stroke,c=e.lineWidth,h=o?s:l,v=h.d,p=h.fill,g=h.stroke,y=h.lineWidth,x=(0,d._T)(h,["d","fill","stroke","lineWidth"]),m=t-i,w=n-a,M=zu(w,m);v&&(i=i-Bs(M)*v,a=a-Os(M)*v);var S=new Ju({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:(0,d.pi)((0,d.pi)({},x),{stroke:g||u,lineWidth:y||c,fill:p})});S.translate(i,a),S.rotateAtPoint(i,a,M),r.set(o?"startArrowShape":"endArrowShape",S)}function _i(r,e,t,n,i){var a=zu(n-e,t-r);return{dx:Bs(a)*i,dy:Os(a)*i}}function Vu(r,e,t,n,i,a){typeof e.startArrow=="object"?ep(r,e,t,n,i,a,!0):e.startArrow?tp(r,e,t,n,i,a,!0):r.set("startArrowShape",null)}function Uu(r,e,t,n,i,a){typeof e.endArrow=="object"?ep(r,e,t,n,i,a,!1):e.endArrow?tp(r,e,t,n,i,a,!1):r.set("startArrowShape",null)}var rp={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function da(r,e){var t=e.attr();for(var n in t){var i=t[n],a=rp[n]?rp[n]:n;a==="matrix"&&i?r.transform(i[0],i[1],i[3],i[4],i[6],i[7]):a==="lineDash"&&r.setLineDash?(0,f.kJ)(i)&&r.setLineDash(i):(a==="strokeStyle"||a==="fillStyle"?i=mS(r,e,i):a==="globalAlpha"&&(i=i*r.globalAlpha),r[a]=i)}}function Hu(r,e,t){for(var n=0;nA?S:A,Dt=S>A?1:S/A,jt=S>A?A/S:1;e.translate(w,M),e.rotate(Q),e.scale(Dt,jt),e.arc(0,0,ut,B,U,1-dt),e.scale(1/Dt,1/jt),e.rotate(-Q),e.translate(-w,-M)}break}case"Z":e.closePath();break;default:break}if(v==="Z")s=l;else{var fe=h.length;s=[h[fe-2],h[fe-1]]}}}}function ap(r,e){var t=r.get("canvas");t&&(e==="remove"&&(r._cacheCanvasBBox=r.get("cacheCanvasBBox")),r.get("hasChanged")||(r.set("hasChanged",!0),r.cfg.parent&&r.cfg.parent.get("hasChanged")||(t.refreshElement(r,e,t),t.get("autoDraw")&&t.draw())))}function SS(r){var e;if(r.destroyed)e=r._cacheCanvasBBox;else{var t=r.get("cacheCanvasBBox"),n=t&&!!(t.width&&t.height),i=r.getCanvasBBox(),a=i&&!!(i.width&&i.height);n&&a?e=fS(t,i):n?e=t:a&&(e=i)}return e}function CS(r){if(!r.length)return null;var e=[],t=[],n=[],i=[];return(0,f.S6)(r,function(a){var o=SS(a);o&&(e.push(o.minX),t.push(o.minY),n.push(o.maxX),i.push(o.maxY))}),{minX:(0,f.VV)(e),minY:(0,f.VV)(t),maxX:(0,f.Fp)(n),maxY:(0,f.Fp)(i)}}function bS(r,e){return!r||!e||!oo(r,e)?null:{minX:Math.max(r.minX,e.minX),minY:Math.max(r.minY,e.minY),maxX:Math.min(r.maxX,e.maxX),maxY:Math.min(r.maxY,e.maxY)}}var AS=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onCanvasChange=function(t){ap(this,t)},e.prototype.getShapeBase=function(){return At},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,n){n&&(t.save(),da(t,n),n.createPath(t),t.restore(),t.clip(),n._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,n=[],i=[];(0,f.S6)(t,function(v){var p=v.cfg.cacheCanvasBBox;p&&v.cfg.isInView&&(n.push(p.minX,p.maxX),i.push(p.minY,p.maxY))});var a=null;if(n.length){var o=(0,f.VV)(n),s=(0,f.Fp)(n),l=(0,f.VV)(i),u=(0,f.Fp)(i);a={minX:o,minY:l,x:o,y:l,maxX:s,maxY:u,width:s-o,height:u-l};var c=this.cfg.canvas;if(c){var h=c.getViewRange();this.set("isInView",oo(a,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",a)},e.prototype.draw=function(t,n){var i=this.cfg.children,a=n?this.cfg.refresh:!0;i.length&&a&&(t.save(),da(t,this),this._applyClip(t,this.getClip()),Hu(t,i,n),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(F.AbstractGroup),Xu=AS,TS=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return At},e.prototype.getGroupBase=function(){return Xu},e.prototype.onCanvasChange=function(t){ap(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),n=this.getHitLineWidth(),i=(0,F.getBBoxMethod)(t),a=i(this),o=n/2,s=a.x-o,l=a.y-o,u=a.x+a.width+o,c=a.y+a.height+o;return{x:s,minX:s,y:l,minY:l,width:a.width+n,height:a.height+n,maxX:u,maxY:c}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,n){n&&(t.save(),da(t,n),n.createPath(t),t.restore(),t.clip(),n._afterDraw())},e.prototype.draw=function(t,n){var i=this.cfg.clipShape;if(n){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var a=this.getCanvasBBox();if(!oo(n,a)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),da(t,this),this._applyClip(t,i),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var n=this.getCanvasBBox(),i=oo(n,t);this.set("isInView",i),i?this.set("cacheCanvasBBox",n):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var n=this.attrs,i=n.lineWidth,a=n.opacity,o=n.strokeOpacity,s=n.fillOpacity;this.isFill()&&(!(0,f.UM)(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.isStroke()&&i>0&&(!(0,f.UM)(o)&&o!==1&&(t.globalAlpha=o),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,n){var i=this.isStroke(),a=this.isFill(),o=this.getHitLineWidth();return this.isInStrokeOrPath(t,n,i,a,o)},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(F.AbstractShape),fn=TS,ES=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.r,h=o/2,v=$v(l,u,t,n);return a&&i?v<=c+h:a?v<=c:i?v>=c-h&&v<=c+h:!1},e.prototype.createPath=function(t){var n=this.attr(),i=n.x,a=n.y,o=n.r;t.beginPath(),t.arc(i,a,o,0,Math.PI*2,!1),t.closePath()},e}(fn),FS=ES;function Ns(r,e,t,n){return r/(t*t)+e/(n*n)}var _S=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){var s=this.attr(),l=o/2,u=s.x,c=s.y,h=s.rx,v=s.ry,p=(t-u)*(t-u),g=(n-c)*(n-c);return a&&i?Ns(p,g,h+l,v+l)<=1:a?Ns(p,g,h,v)<=1:i?Ns(p,g,h-l,v-l)>=1&&Ns(p,g,h+l,v+l)<=1:!1},e.prototype.createPath=function(t){var n=this.attr(),i=n.x,a=n.y,o=n.rx,s=n.ry;if(t.beginPath(),t.ellipse)t.ellipse(i,a,o,s,0,0,Math.PI*2,!1);else{var l=o>s?o:s,u=o>s?1:o/s,c=o>s?s/o:1;t.save(),t.translate(i,a),t.scale(u,c),t.arc(0,0,l,0,Math.PI*2),t.restore(),t.closePath()}},e}(fn),IS=_S;function op(r){return r instanceof HTMLElement&&(0,f.HD)(r.nodeName)&&r.nodeName.toUpperCase()==="CANVAS"}var kS=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var n=this,i=this.attrs;if((0,f.HD)(t)){var a=new Image;a.onload=function(){if(n.destroyed)return!1;n.attr("img",a),n.set("loading",!1),n._afterLoading();var o=n.get("callback");o&&o.call(n)},a.crossOrigin="Anonymous",a.src=t,this.set("loading",!0)}else t instanceof Image?(i.width||(i.width=t.width),i.height||(i.height=t.height)):op(t)&&(i.width||(i.width=Number(t.getAttribute("width"))),i.height||(i.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),t==="img"&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var n=this.attr(),i=n.x,a=n.y,o=n.width,s=n.height,l=n.sx,u=n.sy,c=n.swidth,h=n.sheight,v=n.img;(v instanceof Image||op(v))&&(!(0,f.UM)(l)&&!(0,f.UM)(u)&&!(0,f.UM)(c)&&!(0,f.UM)(h)?t.drawImage(v,l,u,c,h,i,a,o,s):t.drawImage(v,i,a,o,s))},e}(fn),LS=kS,Ir=et(32793);function oi(r,e,t,n,i,a,o){var s=Math.min(r,t),l=Math.max(r,t),u=Math.min(e,n),c=Math.max(e,n),h=i/2;return a>=s-h&&a<=l+h&&o>=u-h&&o<=c+h?Ir.x1.pointToLine(r,e,t,n,a,o)<=i/2:!1}var PS=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),n=t.x1,i=t.y1,a=t.x2,o=t.y2,s=t.startArrow,l=t.endArrow;s&&Vu(this,t,a,o,n,i),l&&Uu(this,t,n,i,a,o)},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){if(!i||!o)return!1;var s=this.attr(),l=s.x1,u=s.y1,c=s.x2,h=s.y2;return oi(l,u,c,h,o,t,n)},e.prototype.createPath=function(t){var n=this.attr(),i=n.x1,a=n.y1,o=n.x2,s=n.y2,l=n.startArrow,u=n.endArrow,c={dx:0,dy:0},h={dx:0,dy:0};l&&l.d&&(c=_i(i,a,o,s,n.startArrow.d)),u&&u.d&&(h=_i(i,a,o,s,n.endArrow.d)),t.beginPath(),t.moveTo(i+c.dx,a+c.dy),t.lineTo(o-h.dx,s-h.dy)},e.prototype.afterDrawPath=function(t){var n=this.get("startArrowShape"),i=this.get("endArrowShape");n&&n.draw(t),i&&i.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),n=t.x1,i=t.y1,a=t.x2,o=t.y2;return Ir.x1.length(n,i,a,o)},e.prototype.getPoint=function(t){var n=this.attr(),i=n.x1,a=n.y1,o=n.x2,s=n.y2;return Ir.x1.pointAt(i,a,o,s,t)},e}(fn),DS=PS,OS=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig,BS=/[^\s\,]+/ig;function RS(r){var e=r||[];if((0,f.kJ)(e))return e;if((0,f.HD)(e))return e=e.match(OS),(0,f.S6)(e,function(t,n){if(t=t.match(BS),t[0].length>1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}(0,f.S6)(t,function(a,o){isNaN(a)||(t[o]=+a)}),e[n]=t}),e}var NS=RS;function zS(r,e,t){var n=null,i=t;return e=0;l--)o=a[l].index,a[l].type==="add"?r.splice(o,0,[].concat(r[o])):r.splice(o,1)}if(n=r.length,n2&&(t.push([i].concat(o.splice(0,2))),s="l",i=i==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([i,o[0]]),s==="r")t.push([i].concat(o));else for(;o.length>=e[s]&&(t.push([i].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var YS=/[a-z]/;function sp(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function lp(r){var e=GS(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,n=0;n=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h,v,p=e[0];(p[0]==="M"||p[0]==="m")&&(o=+p[1],s=+p[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var n=c,g=e.length;n1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},WS=function(r,e,t,n,i,a,o,s,l,u,c,h){var v=Math.pow(i,2),p=Math.pow(a,2),g=Math.pow(c,2),y=Math.pow(h,2),x=v*p-v*y-p*g;x<0&&(x=0),x/=v*y+p*g,x=Math.sqrt(x)*(o===s?-1:1);var m=x*i/a*h,w=x*-a/i*c,M=u*m-l*w+(r+t)/2,S=l*m+u*w+(e+n)/2,A=(c-m)/i,B=(h-w)/a,U=(-c-m)/i,Q=(-h-w)/a,dt=up(1,0,A,B),ut=up(A,B,U,Q);return s===0&&ut>0&&(ut-=lo),s===1&&ut<0&&(ut+=lo),[M,S,dt,ut]},ZS=function(r){var e=r.px,t=r.py,n=r.cx,i=r.cy,a=r.rx,o=r.ry,s=r.xAxisRotation,l=s===void 0?0:s,u=r.largeArcFlag,c=u===void 0?0:u,h=r.sweepFlag,v=h===void 0?0:h,p=[];if(a===0||o===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];var g=Math.sin(l*lo/360),y=Math.cos(l*lo/360),x=y*(e-n)/2+g*(t-i)/2,m=-g*(e-n)/2+y*(t-i)/2;if(x===0&&m===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];a=Math.abs(a),o=Math.abs(o);var w=Math.pow(x,2)/Math.pow(a,2)+Math.pow(m,2)/Math.pow(o,2);w>1&&(a*=Math.sqrt(w),o*=Math.sqrt(w));var M=WS(e,t,n,i,a,o,c,v,g,y,x,m),S=M[0],A=M[1],B=M[2],U=M[3],Q=Math.abs(U)/(lo/4);Math.abs(1-Q)<1e-7&&(Q=1);var dt=Math.max(Math.ceil(Q),1);U/=dt;for(var ut=0;ut7){r[t].shift();for(var n=r[t],i=t;n.length;)e[t]="A",r.splice(i+=1,0,["C"].concat(n.splice(0,6)));r.splice(t,1)}}var cp=function(r,e,t,n,i){var a=-3*e+9*t-9*n+3*i,o=r*a+6*e-12*t+6*n;return r*o-3*e+3*t},fp=function(r,e,t,n,i,a,o,s,l){l===null&&(l=1),l=l>1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],v=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;g0&&p<1&&l.push(p);continue}var y=h*h-4*v*c,x=Math.sqrt(y);if(!(y<0)){var m=(-h+x)/(2*c);m>0&&m<1&&l.push(m);var w=(-h-x)/(2*c);w>0&&w<1&&l.push(w)}}for(var M=l.length,S=M,A;M--;)p=l[M],A=1-p,u[0][M]=A*A*A*r+3*A*A*p*t+3*A*p*p*i+p*p*p*o,u[1][M]=A*A*A*e+3*A*A*p*n+3*A*p*p*a+p*p*p*s;return u[0][S]=r,u[1][S]=e,u[0][S+1]=o,u[1][S+1]=s,u[0].length=u[1].length=S+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},jS=function(r,e,t,n,i,a,o,s){if(!(Math.max(r,t)Math.max(i,o)||Math.max(e,n)Math.max(a,s))){var l=(r*n-e*t)*(i-o)-(r-t)*(i*s-a*o),u=(r*n-e*t)*(a-s)-(e-n)*(i*s-a*o),c=(r-t)*(a-s)-(e-n)*(i-o);if(!!c){var h=l/c,v=u/c,p=+h.toFixed(2),g=+v.toFixed(2);if(!(p<+Math.min(r,t).toFixed(2)||p>+Math.max(r,t).toFixed(2)||p<+Math.min(i,o).toFixed(2)||p>+Math.max(i,o).toFixed(2)||g<+Math.min(e,n).toFixed(2)||g>+Math.max(e,n).toFixed(2)||g<+Math.min(a,s).toFixed(2)||g>+Math.max(a,s).toFixed(2)))return{x:h,y:v}}}},si=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},Zu=function(r,e,t,n){return r===null&&(r=e=t=n=0),e===null&&(e=r.y,t=r.width,n=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:n,h:n,x2:r+t,y2:e+n,cx:r+t/2,cy:e+n/2,r1:Math.min(t,n)/2,r2:Math.max(t,n)/2,r0:Math.sqrt(t*t+n*n)/2,path:rectPath(r,e,t,n),vb:[r,e,t,n].join(" ")}},JS=function(r,e){return r=Zu(r),e=Zu(e),si(e,r.x,r.y)||si(e,r.x2,r.y)||si(e,r.x,r.y2)||si(e,r.x2,r.y2)||si(r,e.x,e.y)||si(r,e.x2,e.y)||si(r,e.x,e.y2)||si(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},hp=function(r,e,t,n,i,a,o,s){isArray(r)||(r=[r,e,t,n,i,a,o,s]);var l=$S.apply(null,r);return Zu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},vp=function(r,e,t,n,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),v=l*l,p=v*l,g=c*r+h*3*l*t+u*3*l*l*i+p*o,y=c*e+h*3*l*n+u*3*l*l*a+p*s,x=r+2*l*(t-r)+v*(i-2*t+r),m=e+2*l*(n-e)+v*(a-2*n+e),w=t+2*l*(i-t)+v*(o-2*i+t),M=n+2*l*(a-n)+v*(s-2*a+n),S=u*r+l*t,A=u*e+l*n,B=u*i+l*o,U=u*a+l*s,Q=90-Math.atan2(x-w,m-M)*180/Math.PI;return{x:g,y,m:{x,y:m},n:{x:w,y:M},start:{x:S,y:A},end:{x:B,y:U},alpha:Q}},KS=function(r,e,t){var n=hp(r),i=hp(e);if(!JS(n,i))return t?0:[];for(var a=fp.apply(0,r),o=fp.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},v=t?0:[],p=0;p=0&&U<=1&&Q>=0&&Q<=1&&(t?v++:v.push({x:B.x,y:B.y,t1:U,t2:Q}))}}return v},QS=function(r,e,t){r=path2Curve(r),e=path2Curve(e);for(var n,i,a,o,s,l,u,c,h,v,p=t?0:[],g=0,y=r.length;g1&&(t*=Math.sqrt(p),n*=Math.sqrt(p));var g=t*t*(v*v)+n*n*(h*h),y=g?Math.sqrt((t*t*(n*n)-g)/g):1;a===o&&(y*=-1),isNaN(y)&&(y=0);var x=n?y*t*v/n:0,m=t?y*-n*h/t:0,w=(s+u)/2+Math.cos(i)*x-Math.sin(i)*m,M=(l+c)/2+Math.sin(i)*x+Math.cos(i)*m,S=[(h-x)/t,(v-m)/n],A=[(-1*h-x)/t,(-1*v-m)/n],B=pp([1,0],S),U=pp(S,A);return qu(S,A)<=-1&&(U=Math.PI),qu(S,A)>=1&&(U=0),o===0&&U>0&&(U=U-2*Math.PI),o===1&&U<0&&(U=U+2*Math.PI),{cx:w,cy:M,rx:$u(r,[u,c])?0:t,ry:$u(r,[u,c])?0:n,startAngle:B,endAngle:B+U,xRotation:i,arcFlag:a,sweepFlag:o}}function dp(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function e2(r){r=NS(r);for(var e=[],t=null,n=null,i=null,a=0,o=r.length,s=0;s1){var o=r[0],s=r[t-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function r2(r,e){var t=!1;return each(r,function(n){if(getLineIntersect(n.from,n.to,e.from,e.to))return t=!0,!1}),t}function yp(r){var e=r.map(function(n){return n[0]}),t=r.map(function(n){return n[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,t),maxY:Math.max.apply(null,t)}}function n2(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY0!=ju(s[1]-t)>0&&ju(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(n=!n)}return n}function uo(r,e,t,n,i,a,o,s){var l=(Math.atan2(s-e,o-r)+Math.PI*2)%(Math.PI*2);if(li)return!1;var u={x:r+t*Math.cos(l),y:e+t*Math.sin(l)};return $v(u.x,u.y,o,s)<=a/2}var u2=nr.vs;function c2(r){for(var e=!1,t=r.length,n=0;nM?w:M,dt=w>M?1:w/M,ut=w>M?M/w:1,Dt=u2(null,[["t",-x,-m],["r",-B],["s",1/dt,1/ut]]);Ra(U,U,Dt),a=uo(0,0,Q,S,A,e,U[0],U[1]);break;default:break}if(a)break}}return a}function h2(r){for(var e=r.length,t=[],n=[],i=[],a=0;a0&&n.push(i),{polygons:t,polylines:n}}var Vs=(0,d.pi)({hasArc:c2,extractPolygons:h2,isPointInStroke:f2},F.PathUtil);function wp(r,e,t){for(var n=!1,i=0;i=c[0]&&t<=c[1]&&(i=(t-c[0])/(c[1]-c[0]),a=h)});var s=o[a];if((0,f.UM)(s)||(0,f.UM)(a))return null;var l=s.length,u=o[a+1];return Ir.Ll.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],i)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",Vs.pathToCurve(t))},e.prototype._setTcache=function(){var t=0,n=0,i=[],a,o,s,l,u=this.get("curve");if(!!u){if((0,f.S6)(u,function(c,h){s=u[h+1],l=c.length,s&&(t+=Ir.Ll.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6])||0)}),this.set("totalLength",t),t===0){this.set("tCache",[]);return}(0,f.S6)(u,function(c,h){s=u[h+1],l=c.length,s&&(a=[],a[0]=n/t,o=Ir.Ll.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6]),n+=o||0,a[1]=n/t,i.push(a))}),this.set("tCache",i)}},e.prototype.getStartTangent=function(){var t=this.getSegments(),n;if(t.length>1){var i=t[0].currentPoint,a=t[1].currentPoint,o=t[1].startTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([a[0],a[1]]),n.push([i[0],i[1]]))}return n},e.prototype.getEndTangent=function(){var t=this.getSegments(),n=t.length,i;if(n>1){var a=t[n-2].currentPoint,o=t[n-1].currentPoint,s=t[n-1].endTangent;i=[],s?(i.push([o[0]-s[0],o[1]-s[1]]),i.push([o[0],o[1]])):(i.push([a[0],a[1]]),i.push([o[0],o[1]]))}return i},e}(fn),Ju=v2;function Mp(r,e,t,n,i){var a=r.length;if(a<2)return!1;for(var o=0;o=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),Ir.x1.pointAt(n[o][0],n[o][1],n[o+1][0],n[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var n=this.getTotalLength();if(!(n<=0)){var i=0,a=[],o,s;(0,f.S6)(t,function(l,u){t[u+1]&&(o=[],o[0]=i/n,s=Ir.x1.length(l[0],l[1],t[u+1][0],t[u+1][1]),i+=s,o[1]=i/n,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,n=[];return n.push([t[1][0],t[1][1]]),n.push([t[0][0],t[0][1]]),n},e.prototype.getEndTangent=function(){var t=this.attr().points,n=t.length-1,i=[];return i.push([t[n-1][0],t[n-1][1]]),i.push([t[n][0],t[n][1]]),i},e}(fn),y2=g2;function m2(r,e,t,n,i,a,o){var s=i/2;return Fi(r-s,e-s,t,i,a,o)||Fi(r+t-s,e-s,i,n,a,o)||Fi(r+s,e+n-s,t,i,a,o)||Fi(r-s,e+s,i,n,a,o)}function x2(r,e,t,n,i,a,o,s){var l=a/2;return oi(r+i,e,r+t-i,e,a,o,s)||oi(r+t,e+i,r+t,e+n-i,a,o,s)||oi(r+t-i,e+n,r+i,e+n,a,o,s)||oi(r,e+n-i,r,e+i,a,o,s)||uo(r+t-i,e+i,i,1.5*Math.PI,2*Math.PI,a,o,s)||uo(r+t-i,e+n-i,i,0,.5*Math.PI,a,o,s)||uo(r+i,e+n-i,i,.5*Math.PI,Math.PI,a,o,s)||uo(r+i,e+i,i,Math.PI,1.5*Math.PI,a,o,s)}var w2=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.width,h=s.height,v=s.radius;if(v){var g=!1;return i&&(g=x2(l,u,c,h,v,o,t,n)),!g&&a&&(g=mp(this,t,n)),g}else{var p=o/2;if(a&&i)return Fi(l-p,u-p,c+p,h+p,t,n);if(a)return Fi(l,u,c,h,t,n);if(i)return m2(l,u,c,h,o,t,n)}},e.prototype.createPath=function(t){var n=this.attr(),i=n.x,a=n.y,o=n.width,s=n.height,l=n.radius;if(t.beginPath(),l===0)t.rect(i,a,o,s);else{var u=xS(l),c=u[0],h=u[1],v=u[2],p=u[3];t.moveTo(i+c,a),t.lineTo(i+o-h,a),h!==0&&t.arc(i+o-h,a+h,h,-Math.PI/2,0),t.lineTo(i+o,a+s-v),v!==0&&t.arc(i+o-v,a+s-v,v,0,Math.PI/2),t.lineTo(i+p,a+s),p!==0&&t.arc(i+p,a+s-p,p,Math.PI/2,Math.PI),t.lineTo(i,a+c),c!==0&&t.arc(i+c,a+c,c,Math.PI,Math.PI*1.5),t.closePath()}},e}(fn),M2=w2,S2=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=(0,F.assembleFont)(t)},e.prototype._setText=function(t){var n=null;(0,f.HD)(t)&&t.indexOf(` +`)!==-1&&(n=t.split(` +`)),this.set("textArr",n)},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),t.startsWith("font")&&this._assembleFont(),t==="text"&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,n=t.lineHeight,i=t.fontSize*1;return n?n-i:i*.14},e.prototype._drawTextArr=function(t,n,i){var a=this.attrs,o=a.textBaseline,s=a.x,l=a.y,u=a.fontSize*1,c=this._getSpaceingY(),h=(0,F.getTextHeight)(a.text,a.fontSize,a.lineHeight),v;(0,f.S6)(n,function(p,g){v=l+g*(c+u)-h+u,o==="middle"&&(v+=h-u-(h-u)/2),o==="top"&&(v+=h-u),(0,f.UM)(p)||(i?t.fillText(p,s,v):t.strokeText(p,s,v))})},e.prototype._drawText=function(t,n){var i=this.attr(),a=i.x,o=i.y,s=this.get("textArr");if(s)this._drawTextArr(t,s,n);else{var l=i.text;(0,f.UM)(l)||(n?t.fillText(l,a,o):t.strokeText(l,a,o))}},e.prototype.strokeAndFill=function(t){var n=this.attrs,i=n.lineWidth,a=n.opacity,o=n.strokeOpacity,s=n.fillOpacity;this.isStroke()&&i>0&&(!(0,f.UM)(o)&&o!==1&&(t.globalAlpha=a),this.stroke(t)),this.isFill()&&(!(0,f.UM)(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(fn),C2=S2;function b2(r,e){if(e){var t=(0,F.invert)(e);return(0,F.multiplyVec2)(t,r)}return r}function Sp(r,e,t){var n=r.getTotalMatrix();if(n){var i=b2([e,t,1],n),a=i[0],o=i[1];return[a,o]}return[e,t]}function Cp(r,e,t){if(r.isCanvas&&r.isCanvas())return!0;if(!(0,F.isAllowCapture)(r)||r.cfg.isInView===!1)return!1;if(r.cfg.clipShape){var n=Sp(r,e,t),i=n[0],a=n[1];if(r.isClipped(i,a))return!1}var o=r.cfg.cacheCanvasBBox||r.getCanvasBBox();return e>=o.minX&&e<=o.maxX&&t>=o.minY&&t<=o.maxY}function bp(r,e,t){if(!Cp(r,e,t))return null;for(var n=null,i=r.getChildren(),a=i.length,o=a-1;o>=0;o--){var s=i[o];if(s.isGroup())n=bp(s,e,t);else if(Cp(s,e,t)){var l=s,u=Sp(s,e,t),c=u[0],h=u[1];l.isInShape(c,h)&&(n=s)}if(n)break}return n}var A2=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},e.prototype.onCanvasChange=function(t){(t==="attr"||t==="sort"||t==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return At},e.prototype.getGroupBase=function(){return Xu},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||cS();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),n=t.getContext("2d");return this.set("context",n),t},e.prototype.setDOMSize=function(t,n){r.prototype.setDOMSize.call(this,t,n);var i=this.get("context"),a=this.get("el"),o=this.getPixelRatio();a.width=o*t,a.height=o*n,o>1&&i.scale(o,o)},e.prototype.clear=function(){r.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),n=this.get("el");t.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(t,n){var i;return this.get("quickHit")?i=bp(this,t,n):i=r.prototype.getShape.call(this,t,n,null),i},e.prototype._getRefreshRegion=function(){var t=this.get("refreshElements"),n=this.getViewRange(),i;if(t.length&&t[0]===this)i=n;else if(i=CS(t),i){i.minX=Math.floor(i.minX),i.minY=Math.floor(i.minY),i.maxX=Math.ceil(i.maxX),i.maxY=Math.ceil(i.maxY),i.maxY+=1;var a=this.get("clipView");a&&(i=bS(i,n))}return i},e.prototype.refreshElement=function(t){var n=this.get("refreshElements");n.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&((0,f.VS)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),n=this.get("el"),i=this.getChildren();t.clearRect(0,0,n.width,n.height),da(t,this),Hu(t,i),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),n=this.get("refreshElements"),i=this.getChildren(),a=this._getRefreshRegion();a?(t.clearRect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.save(),t.beginPath(),t.rect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.clip(),da(t,this),wS(this,i,a),Hu(t,i,a),t.restore()):n.length&&np(n),(0,f.S6)(n,function(o){o.get("hasChanged")&&o.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,n=this.get("drawFrame"),i=this.get("drawFrameCallback");n||(n=(0,f.U7)(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null),i&&i()}),this.set("drawFrame",n))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(F.AbstractCanvas),T2=A2,E2="0.5.12",Ku={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},Ze={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},t6=null;function tn(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function Ap(r){var e=Ku[r.type],t=r.getParent();if(!e)throw new Error("the type "+r.type+" is not supported by svg");var n=tn(e);if(r.get("id")&&(n.id=r.get("id")),r.set("el",n),r.set("attrs",{}),t){var i=t.get("el");i||(i=t.createDom(),t.set("el",i)),i.appendChild(n)}return n}function Tp(r,e){var t=r.get("el"),n=(0,f.qo)(t.children).sort(e),i=document.createDocumentFragment();n.forEach(function(a){i.appendChild(a)}),t.appendChild(i)}function F2(r,e){var t=r.parentNode,n=Array.from(t.childNodes).filter(function(s){return s.nodeType===1&&s.nodeName.toLowerCase()!=="defs"}),i=n[e],a=n.indexOf(r);if(i){if(a>e)t.insertBefore(r,i);else if(a0&&(n?"stroke"in i?this._setColor(t,"stroke",s):"strokeStyle"in i&&this._setColor(t,"stroke",l):this._setColor(t,"stroke",s||l),c&&v.setAttribute(Ze.strokeOpacity,c),h&&v.setAttribute(Ze.lineWidth,h))},e.prototype._setColor=function(t,n,i){var a=this.get("el");if(!i){a.setAttribute(Ze[n],"none");return}if(i=i.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(i)){var o=t.find("gradient",i);o||(o=t.addGradient(i)),a.setAttribute(Ze[n],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(i)){var o=t.find("pattern",i);o||(o=t.addPattern(i)),a.setAttribute(Ze[n],"url(#"+o+")")}else a.setAttribute(Ze[n],i)},e.prototype.shadow=function(t,n){var i=this.attr(),a=n||i,o=a.shadowOffsetX,s=a.shadowOffsetY,l=a.shadowBlur,u=a.shadowColor;(o||s||l||u)&&_2(this,t)},e.prototype.transform=function(t){var n=this.attr(),i=(t||n).matrix;i&&co(this)},e.prototype.isInShape=function(t,n){return this.isPointInPath(t,n)},e.prototype.isPointInPath=function(t,n){var i=this.get("el"),a=this.get("canvas"),o=a.get("el").getBoundingClientRect(),s=t+o.left,l=n+o.top,u=document.elementFromPoint(s,l);return!!(u&&u.isEqualNode(i))},e.prototype.getHitLineWidth=function(){var t=this.attrs,n=t.lineWidth,i=t.lineAppendWidth;return this.isStroke()?n+i:0},e}(F.AbstractShape),en=k2,L2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="circle",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,r:0})},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,f.S6)(n||i,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):Ze[s]&&a.setAttribute(Ze[s],o)})},e}(en),P2=L2,D2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dom",t.canFill=!1,t.canStroke=!1,t}return e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");if((0,f.S6)(n||i,function(u,c){Ze[c]&&a.setAttribute(Ze[c],u)}),typeof i.html=="function"){var o=i.html.call(this,i);if(o instanceof Element||o instanceof HTMLDocument){for(var s=a.childNodes,l=s.length-1;l>=0;l--)a.removeChild(s[l]);a.appendChild(o)}else a.innerHTML=o}else a.innerHTML=i.html},e}(en),O2=D2,B2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ellipse",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,f.S6)(n||i,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):Ze[s]&&a.setAttribute(Ze[s],o)})},e}(en),R2=B2,N2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="image",t.canFill=!1,t.canStroke=!1,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el");(0,f.S6)(n||a,function(s,l){l==="img"?i._setImage(a.img):Ze[l]&&o.setAttribute(Ze[l],s)})},e.prototype.setAttr=function(t,n){this.attrs[t]=n,t==="img"&&this._setImage(n)},e.prototype._setImage=function(t){var n=this.attr(),i=this.get("el");if((0,f.HD)(t))i.setAttribute("href",t);else if(t instanceof window.Image)n.width||(i.setAttribute("width",t.width),this.attr("width",t.width)),n.height||(i.setAttribute("height",t.height),this.attr("height",t.height)),i.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,f.HD)(t.nodeName)&&t.nodeName.toUpperCase()==="CANVAS")i.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var a=document.createElement("canvas");a.setAttribute("width",""+t.width),a.setAttribute("height",""+t.height),a.getContext("2d").putImageData(t,0,0),n.width||(i.setAttribute("width",""+t.width),this.attr("width",t.width)),n.height||(i.setAttribute("height",""+t.height),this.attr("height",t.height)),i.setAttribute("href",a.toDataURL())}},e}(en),z2=N2,V2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t.canFill=!1,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,f.S6)(n||i,function(o,s){if(s==="startArrow"||s==="endArrow")if(o){var l=(0,f.Kn)(o)?t.addArrow(i,Ze[s]):t.getDefaultArrow(i,Ze[s]);a.setAttribute(Ze[s],"url(#"+l+")")}else a.removeAttribute(Ze[s]);else Ze[s]&&a.setAttribute(Ze[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr(),n=t.x1,i=t.y1,a=t.x2,o=t.y2;return Ir.x1.length(n,i,a,o)},e.prototype.getPoint=function(t){var n=this.attr(),i=n.x1,a=n.y1,o=n.x2,s=n.y2;return Ir.x1.pointAt(i,a,o,s,t)},e}(en),U2=V2,Us={circle:function(r,e,t){return[["M",r,e],["m",-t,0],["a",t,t,0,1,0,t*2,0],["a",t,t,0,1,0,-t*2,0]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var n=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+n],["L",r,e-n],["L",r+t,e+n],["z"]]},triangleDown:function(r,e,t){var n=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-n],["L",r+t,e-n],["L",r,e+n],["Z"]]}},_p={get:function(r){return Us[r]},register:function(r,e){Us[r]=e},remove:function(r){delete Us[r]},getAll:function(){return Us}},H2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="marker",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t){var n=this.get("el");n.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return(0,f.kJ)(t)?t.map(function(n){return n.join(" ")}).join(""):t},e.prototype._getPath=function(){var t=this.attr(),n=t.x,i=t.y,a=t.r||t.radius,o=t.symbol||"circle",s;return(0,f.mf)(o)?s=o:s=_p.get(o),s?s(n,i,a):(console.warn(s+" symbol is not exist."),null)},e.symbolsFactory=_p,e}(en),G2=H2,Y2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="path",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el");(0,f.S6)(n||a,function(s,l){if(l==="path"&&(0,f.kJ)(s))o.setAttribute("d",i._formatPath(s));else if(l==="startArrow"||l==="endArrow")if(s){var u=(0,f.Kn)(s)?t.addArrow(a,Ze[l]):t.getDefaultArrow(a,Ze[l]);o.setAttribute(Ze[l],"url(#"+u+")")}else o.removeAttribute(Ze[l]);else Ze[l]&&o.setAttribute(Ze[l],s)})},e.prototype._formatPath=function(t){var n=t.map(function(i){return i.join(" ")}).join("");return~n.indexOf("NaN")?"":n},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var n=this.get("el"),i=this.getTotalLength();if(i===0)return null;var a=n?n.getPointAtLength(t*i):null;return a?{x:a.x,y:a.y}:null},e}(en),X2=Y2,W2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polygon",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,f.S6)(n||i,function(o,s){s==="points"&&(0,f.kJ)(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):Ze[s]&&a.setAttribute(Ze[s],o)})},e}(en),Z2=W2,q2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polyline",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),["points"].indexOf(t)!==-1&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,f.S6)(n||i,function(o,s){s==="points"&&(0,f.kJ)(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):Ze[s]&&a.setAttribute(Ze[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr().points,n=this.get("totalLength");return(0,f.UM)(n)?(this.set("totalLength",Ir.aH.length(t)),this.get("totalLength")):n},e.prototype.getPoint=function(t){var n=this.attr().points,i=this.get("tCache");i||(this._setTcache(),i=this.get("tCache"));var a,o;return(0,f.S6)(i,function(s,l){t>=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),Ir.x1.pointAt(n[o][0],n[o][1],n[o+1][0],n[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var n=this.getTotalLength();if(!(n<=0)){var i=0,a=[],o,s;(0,f.S6)(t,function(l,u){t[u+1]&&(o=[],o[0]=i/n,s=Ir.x1.length(l[0],l[1],t[u+1][0],t[u+1][1]),i+=s,o[1]=i/n,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,n=[];return n.push([t[1][0],t[1][1]]),n.push([t[0][0],t[0][1]]),n},e.prototype.getEndTangent=function(){var t=this.attr().points,n=t.length-1,i=[];return i.push([t[n-1][0],t[n-1][1]]),i.push([t[n][0],t[n][1]]),i},e}(en),$2=q2,j2=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,J2=/[^\s,]+/gi;function K2(r){var e=0,t=0,n=0,i=0;return(0,f.kJ)(r)?r.length===1?e=t=n=i=r[0]:r.length===2?(e=n=r[0],t=i=r[1]):r.length===3?(e=r[0],t=i=r[1],n=r[2]):(e=r[0],t=r[1],n=r[2],i=r[3]):e=t=n=i=r,{r1:e,r2:t,r3:n,r4:i}}function e6(r){if(r=r||[],isArray(r))return r;if(isString(r))return r=r.match(j2),each(r,function(e,t){if(e=e.match(J2),e[0].length>1){var n=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=n}each(e,function(i,a){isNaN(i)||(e[a]=+i)}),r[t]=e}),r}var Q2=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rect",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el"),s=!1,l=["x","y","width","height","radius"];(0,f.S6)(n||a,function(u,c){l.indexOf(c)!==-1&&!s?(o.setAttribute("d",i._assembleRect(a)),s=!0):l.indexOf(c)===-1&&Ze[c]&&o.setAttribute(Ze[c],u)})},e.prototype._assembleRect=function(t){var n=t.x,i=t.y,a=t.width,o=t.height,s=t.radius;if(!s)return"M "+n+","+i+" l "+a+",0 l 0,"+o+" l"+-a+" 0 z";var l=K2(s);(0,f.kJ)(s)?s.length===1?l.r1=l.r2=l.r3=l.r4=s[0]:s.length===2?(l.r1=l.r3=s[0],l.r2=l.r4=s[1]):s.length===3?(l.r1=s[0],l.r2=l.r4=s[1],l.r3=s[2]):(l.r1=s[0],l.r2=s[1],l.r3=s[2],l.r4=s[3]):l.r1=l.r2=l.r3=l.r4=s;var u=[["M "+(n+l.r1)+","+i],["l "+(a-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(o-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-a)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-o)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]];return u.join(" ")},e}(en),tC=Q2,eC=et(43631),Ip=.3,rC={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},nC={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},iC={left:"left",start:"left",center:"middle",right:"end",end:"end"},aC=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="text",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,d.pi)((0,d.pi)({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el");this._setFont(),(0,f.S6)(n||a,function(s,l){l==="text"?i._setText(""+s):l==="matrix"&&s?co(i):Ze[l]&&o.setAttribute(Ze[l],s)}),o.setAttribute("paint-order","stroke"),o.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),n=this.attr(),i=n.textBaseline,a=n.textAlign,o=(0,eC.qY)();o&&o.name==="firefox"?t.setAttribute("dominant-baseline",nC[i]||"alphabetic"):t.setAttribute("alignment-baseline",rC[i]||"baseline"),t.setAttribute("text-anchor",iC[a]||"left")},e.prototype._setText=function(t){var n=this.get("el"),i=this.attr(),a=i.x,o=i.textBaseline,s=o===void 0?"bottom":o;if(!t)n.innerHTML="";else if(~t.indexOf(` +`)){var l=t.split(` +`),u=l.length-1,c="";(0,f.S6)(l,function(h,v){v===0?s==="alphabetic"?c+=''+h+"":s==="top"?c+=''+h+"":s==="middle"?c+=''+h+"":s==="bottom"?c+=''+h+"":s==="hanging"&&(c+=''+h+""):c+=''+h+""}),n.innerHTML=c}else n.innerHTML=t},e}(en),oC=aC,sC=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,lC=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,uC=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function kp(r){var e=r.match(uC);if(!e)return"";var t="";return e.sort(function(n,i){return n=n.split(":"),i=i.split(":"),Number(n[0])-Number(i[0])}),(0,f.S6)(e,function(n){n=n.split(":"),t+=''}),t}function cC(r,e){var t=sC.exec(r),n=(0,f.wQ)((0,f.c$)(parseFloat(t[1])),Math.PI*2),i=t[2],a,o;n>=0&&n<.5*Math.PI?(a={x:0,y:0},o={x:1,y:1}):.5*Math.PI<=n&&n`;t.innerHTML=n},r}(),yC=gC,mC=function(){function r(e,t){this.cfg={};var n=tn("marker"),i=(0,f.EL)("marker_");n.setAttribute("id",i);var a=tn("path");a.setAttribute("stroke",e.stroke||"none"),a.setAttribute("fill",e.fill||"none"),n.appendChild(a),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=a,this.id=i;var o=e[t==="marker-start"?"startArrow":"endArrow"];return this.stroke=e.stroke||"#000",o===!0?this._setDefaultPath(t,a):(this.cfg=o,this._setMarker(e.lineWidth,a)),this}return r.prototype.match=function(){return!1},r.prototype._setDefaultPath=function(e,t){var n=this.el;t.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY",""+5)},r.prototype._setMarker=function(e,t){var n=this.el,i=this.cfg.path,a=this.cfg.d;(0,f.kJ)(i)&&(i=i.map(function(o){return o.join(" ")}).join("")),t.setAttribute("d",i),n.appendChild(t),a&&n.setAttribute("refX",""+a/e)},r.prototype.update=function(e){var t=this.child;t.attr?t.attr("fill",e):t.setAttribute("fill",e)},r}(),Lp=mC,xC=function(){function r(e){this.type="clip",this.cfg={};var t=tn("clipPath");this.el=t,this.id=(0,f.EL)("clip_"),t.id=this.id;var n=e.cfg.el;return t.appendChild(n),this.cfg=e,this}return r.prototype.match=function(){return!1},r.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},r}(),wC=xC,MC=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,SC=function(){function r(e){this.cfg={};var t=tn("pattern");t.setAttribute("patternUnits","userSpaceOnUse");var n=tn("image");t.appendChild(n);var i=(0,f.EL)("pattern_");t.id=i,this.el=t,this.id=i,this.cfg=e;var a=MC.exec(e),o=a[2];n.setAttribute("href",o);var s=new Image;o.match(/^data:/i)||(s.crossOrigin="Anonymous"),s.src=o;function l(){t.setAttribute("width",""+s.width),t.setAttribute("height",""+s.height)}return s.complete?l():(s.onload=l,s.src=s.src),this}return r.prototype.match=function(e,t){return this.cfg===t},r}(),CC=SC,bC=function(){function r(e){var t=tn("defs"),n=(0,f.EL)("defs_");t.id=n,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}return r.prototype.find=function(e,t){for(var n=this.children,i=null,a=0;a0&&(p[0][0]="L")),a=a.concat(p)}),a.push(["Z"])}return a}function Hs(r,e,t,n,i){for(var a=fr(r,e,!e,"lineWidth"),o=r.connectNulls,s=r.isInCircle,l=r.points,u=r.showSinglePoint,c=Ls(l,o,u),h=[],v=0,p=c.length;vo&&(o=l),l=n[0]}));var x=this.scales[g];try{for(var m=(0,d.XA)(t),w=m.next();!w.done;w=m.next()){var M=w.value,S=this.getDrawCfg(M),A=S.x,B=S.y,U=x.scale(M[te][g]);this.drawGrayScaleBlurredCircle(A-u.x,B-c.y,i+a,U,y)}}catch(ut){o={error:ut}}finally{try{w&&!w.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}var Q=y.getImageData(0,0,h,v);this.clearShadowCanvasCtx(),this.colorize(Q),y.putImageData(Q,0,0);var dt=this.getImageShape();dt.attr("x",u.x),dt.attr("y",c.y),dt.attr("width",h),dt.attr("height",v),dt.attr("img",y.canvas),dt.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),n=this.coordinate;return Math.min(n.getWidth()/(t.scales[0].ticks.length*4),n.getHeight()/(t.scales[1].ticks.length*4))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,n,i,a,o){var s=this.getGrayScaleBlurredCanvas();o.globalAlpha=a,o.drawImage(s,t-i,n-i)},e.prototype.colorize=function(t){for(var n=this.getAttribute("color"),i=t.data,a=this.paletteCache,o=3;oe&&(t=t?e/(1+n/t):0,n=e-t),i+a>e&&(i=i?e/(1+a/i):0,a=e-i),[t||0,n||0,i||0,a||0]}function Op(r,e,t){var n=[];if(t.isRect){var i=t.isTransposed?{x:t.start.x,y:e[0].y}:{x:e[0].x,y:t.start.y},a=t.isTransposed?{x:t.end.x,y:e[2].y}:{x:e[3].x,y:t.end.y},o=(0,f.U2)(r,["background","style","radius"]);if(o){var s=t.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=t.isTransposed?t.getWidth():t.getHeight(),u=(0,d.CR)(Dp(o,Math.min(s,l)),4),c=u[0],h=u[1],v=u[2],p=u[3],g=t.isTransposed&&t.isReflect("y"),y=g?0:1,x=function(B){return g?-B:B};n.push(["M",i.x,a.y+x(c)]),c!==0&&n.push(["A",c,c,0,0,y,i.x+c,a.y]),n.push(["L",a.x-h,a.y]),h!==0&&n.push(["A",h,h,0,0,y,a.x,a.y+x(h)]),n.push(["L",a.x,i.y-x(v)]),v!==0&&n.push(["A",v,v,0,0,y,a.x-v,i.y]),n.push(["L",i.x+p,i.y]),p!==0&&n.push(["A",p,p,0,0,y,i.x,i.y-x(p)])}else n.push(["M",i.x,i.y]),n.push(["L",a.x,i.y]),n.push(["L",a.x,a.y]),n.push(["L",i.x,a.y]),n.push(["L",i.x,i.y]);n.push(["z"])}if(t.isPolar){var m=t.getCenter(),w=qa(r,t),M=w.startAngle,S=w.endAngle;if(t.type!=="theta"&&!t.isTransposed)n=Kn(m.x,m.y,t.getRadius(),M,S);else{var A=function(Q){return Math.pow(Q,2)},c=Math.sqrt(A(m.x-e[0].x)+A(m.y-e[0].y)),h=Math.sqrt(A(m.x-e[2].x)+A(m.y-e[2].y));n=Kn(m.x,m.y,c,t.startAngle,t.endAngle,h)}}return n}function RC(r,e,t){var n=t.getWidth(),i=t.getHeight(),a=t.type==="rect",o=[],s=(r[2].x-r[1].x)/2,l=t.isTransposed?s*i/n:s*n/i;return e==="round"?(a?(o.push(["M",r[0].x,r[0].y+l]),o.push(["L",r[1].x,r[1].y-l]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y-l]),o.push(["L",r[3].x,r[3].y+l]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y+l])):(o.push(["M",r[0].x,r[0].y]),o.push(["L",r[1].x,r[1].y]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y]),o.push(["L",r[3].x,r[3].y]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y])),o.push(["z"])):o=rc(r),o}function Bp(r,e,t){var n=[];return(0,f.UM)(e)?t?n.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",(r[2].x+r[3].x)/2,(r[2].y+r[3].y)/2],["Z"]):n.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",r[2].x,r[2].y],["L",r[3].x,r[3].y],["Z"]):n.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),n}function ho(r,e){return[e,r]}function NC(r,e,t){var n,i,a,o,s,l,u,c=(0,d.CR)((0,d.ev)([],(0,d.CR)(r),!1),4),h=c[0],v=c[1],p=c[2],g=c[3],y=(0,d.CR)(typeof t=="number"?Array(4).fill(t):t,4),x=y[0],m=y[1],w=y[2],M=y[3];e.isTransposed&&(n=(0,d.CR)(ho(v,g),2),v=n[0],g=n[1]),e.isReflect("y")&&(i=(0,d.CR)(ho(h,v),2),h=i[0],v=i[1],a=(0,d.CR)(ho(p,g),2),p=a[0],g=a[1]),e.isReflect("x")&&(o=(0,d.CR)(ho(h,g),2),h=o[0],g=o[1],s=(0,d.CR)(ho(v,p),2),v=s[0],p=s[1]);var S=[],A=function(B){return Math.abs(B)};return l=(0,d.CR)(Dp([x,m,w,M],Math.min(A(g.x-h.x),A(v.y-h.y))).map(function(B){return A(B)}),4),x=l[0],m=l[1],w=l[2],M=l[3],e.isTransposed&&(u=(0,d.CR)([M,x,m,w],4),x=u[0],m=u[1],w=u[2],M=u[3]),h.yo&&(i=o)}return i}function VC(r,e){if(e){var t=(0,f.xH)(r),n=(0,f.I)(t,e);return n.length}return r.length}function nc(r){var e=r.theme,t=r.coordinate,n=r.getXScale(),i=n.values,a=r.beforeMappingData,o=i.length,s=$a(r.coordinate),l=r.intervalPadding,u=r.dodgePadding,c=r.maxColumnWidth||e.maxColumnWidth,h=r.minColumnWidth||e.minColumnWidth,v=r.columnWidthRatio||e.columnWidthRatio,p=r.multiplePieWidthRatio||e.multiplePieWidthRatio,g=r.roseWidthRatio||e.roseWidthRatio;if(n.isLinear&&i.length>1){i.sort();var y=zC(i,n);o=(n.max-n.min)/y,i.length>o&&(o=i.length)}var x=n.range,m=1/o,w=1;if(t.isPolar?t.isTransposed&&o>1?w=p:w=g:(n.isLinear&&(m*=x[1]-x[0]),w=v),!(0,f.UM)(l)&&l>=0){var M=l/s;m=(1-(o-1)*M)/o}else m*=w;if(r.getAdjust("dodge")){var S=r.getAdjust("dodge"),A=S.dodgeBy,B=VC(a,A);if(!(0,f.UM)(u)&&u>=0){var U=u/s;m=(m-U*(B-1))/B}else!(0,f.UM)(l)&&l>=0&&(m*=w),m=m/B;m=m>=0?m:0}if(!(0,f.UM)(c)&&c>=0){var Q=c/s;m>Q&&(m=Q)}if(!(0,f.UM)(h)&&h>=0){var dt=h/s;m0&&!(0,f.U2)(n,[i,"min"])&&t.change({min:0}),o<=0&&!(0,f.U2)(n,[i,"max"])&&t.change({max:0}))}},e.prototype.getDrawCfg=function(t){var n=r.prototype.getDrawCfg.call(this,t);return n.background=this.background,n},e}(ni),HC=UC,GC=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;n.type="line";var i=t.sortable,a=i===void 0?!1:i;return n.sortable=a,n}return e}(tc),YC=GC,Rp=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],XC=["cross","tick","plus","hyphen","line"];function ic(r,e,t,n,i){var a,o,s=fr(e,i,!i,"r"),l=r.parsePoints(e.points),u=l[0];if(e.isStack)u=l[1];else if(l.length>1){var c=t.addGroup();try{for(var h=(0,d.XA)(l),v=h.next();!v.done;v=h.next()){var p=v.value;c.addShape({type:"marker",attrs:(0,d.pi)((0,d.pi)((0,d.pi)({},s),{symbol:Ei[n]||n}),p)})}}catch(g){a={error:g}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(a)throw a.error}}return c}return t.addShape({type:"marker",attrs:(0,d.pi)((0,d.pi)((0,d.pi)({},s),{symbol:Ei[n]||n}),u)})}var l6=ri("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(r){return Bu(r)}});(0,f.S6)(Rp,function(r){qe("point","hollow-".concat(r),{draw:function(e,t){return ic(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ei[r]||r,style:{r:4.5,stroke:t,fill:null}}}})});var u6=null,WC=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="point",t.shapeType="point",t.generatePoints=!0,t}return e.prototype.getDrawCfg=function(t){var n=r.prototype.getDrawCfg.call(this,t);return(0,d.pi)((0,d.pi)({},n),{isStack:!!this.getAdjust("stack")})},e}(ni),ZC=WC;function qC(r){for(var e=r[0],t=1,n=[["M",e.x,e.y]];t2?"weight":"normal",a;if(r.isInCircle){var o={x:0,y:1};return i==="normal"?a=rb(n[0],n[1],o):(t.fill=t.stroke,a=nb(n,o)),a=this.parsePath(a),e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:a})})}else{if(i==="normal")return n=this.parsePoints(n),a=Fh((n[1].x+n[0].x)/2,n[0].y,Math.abs(n[1].x-n[0].x)/2,Math.PI,Math.PI*2),e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:a})});var s=ac(n[1],n[3]),l=ac(n[2],n[0]);return a=[["M",n[0].x,n[0].y],["L",n[1].x,n[1].y],s,["L",n[3].x,n[3].y],["L",n[2].x,n[2].y],l,["Z"]],a=this.parsePath(a),t.fill=t.stroke,e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:a})})}},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});function ib(r,e){var t=ac(r,e),n=[["M",r.x,r.y]];return n.push(t),n}qe("edge","smooth",{draw:function(r,e){var t=fr(r,!0,!1,"lineWidth"),n=r.points,i=this.parsePath(ib(n[0],n[1]));return e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:i})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});var Gs=1/3;function ab(r,e){var t=[];t.push({x:r.x,y:r.y*(1-Gs)+e.y*Gs}),t.push({x:e.x,y:r.y*(1-Gs)+e.y*Gs}),t.push(e);var n=[["M",r.x,r.y]];return(0,f.S6)(t,function(i){n.push(["L",i.x,i.y])}),n}qe("edge","vhv",{draw:function(r,e){var t=fr(r,!0,!1,"lineWidth"),n=r.points,i=this.parsePath(ab(n[0],n[1]));return e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:i})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}}),qe("interval","funnel",{getPoints:function(r){return r.size=r.size*2,ec(r)},draw:function(r,e){var t=fr(r,!1,!0),n=this.parsePath(Bp(r.points,r.nextPoints,!1)),i=e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n}),name:"interval"});return i},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}}),qe("interval","hollow-rect",{draw:function(r,e){var t=fr(r,!0,!1),n=e,i=r==null?void 0:r.background;if(i){n=e.addGroup();var a=Wv(r),o=Op(r,this.parsePoints(r.points),this.coordinate);n.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},a),{path:o}),capture:!1,zIndex:-1,name:Iu})}var s=this.parsePath(rc(r.points)),l=n.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:s}),name:"interval"});return i?n:l},getMarker:function(r){var e=r.color,t=r.isInPolar;return t?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}});function ob(r){var e=r.x,t=r.y,n=r.y0;return(0,f.kJ)(t)?t.map(function(i,a){return{x:(0,f.kJ)(e)?e[a]:e,y:i}}):[{x:e,y:n},{x:e,y:t}]}qe("interval","line",{getPoints:function(r){return ob(r)},draw:function(r,e){var t=fr(r,!0,!1,"lineWidth"),n=Vr((0,d.pi)({},t),["fill"]),i=this.parsePath(rc(r.points,!1)),a=e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},n),{path:i}),name:"interval"});return a},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){return[["M",t,n-i],["L",t,n+i]]},style:{r:5,stroke:e}}}}),qe("interval","pyramid",{getPoints:function(r){return r.size=r.size*2,ec(r)},draw:function(r,e){var t=fr(r,!1,!0),n=this.parsePath(Bp(r.points,r.nextPoints,!0)),i=e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n}),name:"interval"});return i},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});function sb(r){var e,t=r.x,n=r.y,i=r.y0,a=r.size,o,s;(0,f.kJ)(n)?(e=(0,d.CR)(n,2),o=e[0],s=e[1]):(o=i,s=n);var l=t+a/2,u=t-a/2;return[{x:t,y:o},{x:t,y:s},{x:u,y:o},{x:l,y:o},{x:u,y:s},{x:l,y:s}]}function lb(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y]]}qe("interval","tick",{getPoints:function(r){return sb(r)},draw:function(r,e){var t=fr(r,!0,!1),n=this.parsePath(lb(r.points)),i=e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n}),name:"interval"});return i},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){return[["M",t-i/2,n-i],["L",t+i/2,n-i],["M",t,n-i],["L",t,n+i],["M",t-i/2,n+i],["L",t+i/2,n+i]]},style:{r:5,stroke:e}}}});var ub=function(r,e,t){var n=r.x,i=r.y,a=e.x,o=e.y,s;switch(t){case"hv":s=[{x:a,y:i}];break;case"vh":s=[{x:n,y:o}];break;case"hvh":var l=(a+n)/2;s=[{x:l,y:i},{x:l,y:o}];break;case"vhv":var u=(i+o)/2;s=[{x:n,y:u},{x:a,y:u}];break;default:break}return s};function cb(r,e){var t=[];return(0,f.S6)(r,function(n,i){var a=r[i+1];if(t.push(n),a){var o=ub(n,a,e);t=t.concat(o)}}),t}function fb(r){return r.map(function(e,t){return t===0?["M",e.x,e.y]:["L",e.x,e.y]})}function hb(r,e){var t=Ls(r.points,r.connectNulls,r.showSinglePoint),n=[];return(0,f.S6)(t,function(i){var a=cb(i,e);n=n.concat(fb(a))}),(0,d.pi)((0,d.pi)({},fr(r,!0,!1,"lineWidth")),{path:n})}(0,f.S6)(["hv","vh","hvh","vhv"],function(r){qe("line",r,{draw:function(e,t){var n=hb(e,r),i=t.addShape({type:"path",attrs:n,name:"line"});return i},getMarker:function(e){return Zv(e,r)}})}),(0,f.S6)(XC,function(r){qe("point",r,{draw:function(e,t){return ic(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ei[r],style:{r:4.5,stroke:t,fill:null}}}})}),qe("point","image",{draw:function(r,e){var t,n,i=fr(r,!1,!1,"r").r,a=this.parsePoints(r.points),o=a[0];if(r.isStack)o=a[1];else if(a.length>1){var s=e.addGroup();try{for(var l=(0,d.XA)(a),u=l.next();!u.done;u=l.next()){var c=u.value;s.addShape("image",{attrs:{x:c.x-i/2,y:c.y-i,width:i,height:i,img:r.shape[1]}})}}catch(h){t={error:h}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return s}return e.addShape("image",{attrs:{x:o.x-i/2,y:o.y-i,width:i,height:i,img:r.shape[1]}})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4.5,fill:e}}}}),(0,f.S6)(Rp,function(r){qe("point",r,{draw:function(e,t){return ic(this,e,t,r,!1)},getMarker:function(e){var t=e.color;return{symbol:Ei[r]||r,style:{r:4.5,fill:t}}}})});function Np(r){var e=(0,f.kJ)(r)?r:[r],t=e[0],n=e[e.length-1],i=e.length>1?e[1]:t,a=e.length>3?e[3]:n,o=e.length>2?e[2]:i;return{min:t,max:n,min1:i,max1:a,median:o}}function zp(r,e,t){var n=t/2,i;if((0,f.kJ)(e)){var a=Np(e),o=a.min,s=a.max,l=a.median,u=a.min1,c=a.max1,h=r-n,v=r+n;i=[[h,s],[v,s],[r,s],[r,c],[h,u],[h,c],[v,c],[v,u],[r,u],[r,o],[h,o],[v,o],[h,l],[v,l]]}else{e=(0,f.UM)(e)?.5:e;var p=Np(r),o=p.min,s=p.max,l=p.median,u=p.min1,c=p.max1,g=e-n,y=e+n;i=[[o,g],[o,y],[o,e],[u,e],[u,g],[u,y],[c,y],[c,g],[c,e],[s,e],[s,g],[s,y],[l,g],[l,y]]}return i.map(function(x){return{x:x[0],y:x[1]}})}function vb(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x,r[10].y],["L",r[11].x,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]}qe("schema","box",{getPoints:function(r){var e=r.x,t=r.y,n=r.size;return zp(e,t,n)},draw:function(r,e){var t=fr(r,!0,!1),n=this.parsePath(vb(r.points)),i=e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n,name:"schema"})});return i},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){var a=[n-6,n-3,n,n+3,n+6],o=zp(t,a,i);return[["M",o[0].x+1,o[0].y],["L",o[1].x-1,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["M",o[4].x,o[4].y],["L",o[5].x,o[5].y],["L",o[6].x,o[6].y],["L",o[7].x,o[7].y],["L",o[4].x,o[4].y],["Z"],["M",o[8].x,o[8].y],["L",o[9].x,o[9].y],["M",o[10].x+1,o[10].y],["L",o[11].x-1,o[11].y],["M",o[12].x,o[12].y],["L",o[13].x,o[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}});function pb(r){var e=(0,f.kJ)(r)?r:[r],t=e.sort(function(n,i){return i-n});return K1(t,4,t[t.length-1])}function Vp(r,e,t){var n=pb(e);return[{x:r,y:n[0]},{x:r,y:n[1]},{x:r-t/2,y:n[2]},{x:r-t/2,y:n[1]},{x:r+t/2,y:n[1]},{x:r+t/2,y:n[2]},{x:r,y:n[2]},{x:r,y:n[3]}]}function db(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]}qe("schema","candle",{getPoints:function(r){var e=r.x,t=r.y,n=r.size;return Vp(e,t,n)},draw:function(r,e){var t=fr(r,!0,!0),n=this.parsePath(db(r.points)),i=e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n,name:"schema"})});return i},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){var a=[n+7.5,n+3,n-3,n-7.5],o=Vp(t,a,i);return[["M",o[0].x,o[0].y],["L",o[1].x,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["L",o[4].x,o[4].y],["L",o[5].x,o[5].y],["Z"],["M",o[6].x,o[6].y],["L",o[7].x,o[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}});function gb(r,e){var t=Math.abs(r[0].x-r[2].x),n=Math.abs(r[0].y-r[2].y),i=Math.min(t,n);e&&(i=(0,f.uZ)(e,0,Math.min(t,n))),i=i/2;var a=(r[0].x+r[2].x)/2,o=(r[0].y+r[2].y)/2;return{x:a-i,y:o-i,width:i*2,height:i*2}}qe("polygon","square",{draw:function(r,e){if(!(0,f.xb)(r.points)){var t=fr(r,!0,!0),n=this.parsePoints(r.points);return e.addShape("rect",{attrs:(0,d.pi)((0,d.pi)({},t),gb(n,r.size)),name:"polygon"})}},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}}),qe("violin","smooth",{draw:function(r,e){var t=fr(r,!0,!0),n=this.parsePath(Xv(r.points));return e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{stroke:null,r:4,fill:e}}}}),qe("violin","hollow",{draw:function(r,e){var t=fr(r,!0,!1),n=this.parsePath(Yv(r.points));return e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}}),qe("violin","hollow-smooth",{draw:function(r,e){var t=fr(r,!0,!1),n=this.parsePath(Xv(r.points));return e.addShape("path",{attrs:(0,d.pi)((0,d.pi)({},t),{path:n})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});var yb=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelValueDir=function(t){var n="y",i=t.points;return i[0][n]<=i[2][n]?1:-1},e.prototype.getLabelOffsetPoint=function(t,n,i,a){var o,s=r.prototype.getLabelOffsetPoint.call(this,t,n,i),l=this.getCoordinate(),u=l.isTransposed,c=u?"x":"y",h=this.getLabelValueDir(t.mappingData);return s=(0,d.pi)((0,d.pi)({},s),(o={},o[c]=s[c]*h,o)),l.isReflect("x")&&(s=(0,d.pi)((0,d.pi)({},s),{x:s.x*-1})),l.isReflect("y")&&(s=(0,d.pi)((0,d.pi)({},s),{y:s.y*-1})),s},e.prototype.getThemedLabelCfg=function(t){var n=this.geometry,i=this.getDefaultLabelCfg(),a=n.theme;return(0,f.b$)({},i,a.labels,t.position==="middle"?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,n,i,a){var o=this.getCoordinate(),s=o.isTransposed,l=n.points,u=o.convert(l[0]),c=o.convert(l[2]),h=this.getLabelValueDir(n),v,p,g,y,x=(0,f.kJ)(n.shape)?n.shape[0]:n.shape;if(x==="funnel"||x==="pyramid"){var m=(0,f.U2)(n,"nextPoints"),w=(0,f.U2)(n,"points");if(m){var M=o.convert(w[0]),S=o.convert(w[1]),A=o.convert(m[0]),B=o.convert(m[1]);s?(v=Math.min(A.y,M.y),g=Math.max(A.y,M.y),p=(S.x+B.x)/2,y=(M.x+A.x)/2):(v=Math.min((S.y+B.y)/2,(M.y+A.y)/2),g=Math.max((S.y+B.y)/2,(M.y+A.y)/2),p=B.x,y=M.x)}else v=Math.min(c.y,u.y),g=Math.max(c.y,u.y),p=c.x,y=u.x}else v=Math.min(c.y,u.y),g=Math.max(c.y,u.y),p=c.x,y=u.x;switch(a){case"right":t.x=p,t.y=(v+g)/2,t.textAlign=(0,f.U2)(t,"textAlign",h>0?"left":"right");break;case"left":t.x=y,t.y=(v+g)/2,t.textAlign=(0,f.U2)(t,"textAlign",h>0?"left":"right");break;case"bottom":s&&(t.x=(p+y)/2),t.y=g,t.textAlign=(0,f.U2)(t,"textAlign","center"),t.textBaseline=(0,f.U2)(t,"textBaseline",h>0?"bottom":"top");break;case"middle":s&&(t.x=(p+y)/2),t.y=(v+g)/2,t.textAlign=(0,f.U2)(t,"textAlign","center"),t.textBaseline=(0,f.U2)(t,"textBaseline","middle");break;case"top":s&&(t.x=(p+y)/2),t.y=v,t.textAlign=(0,f.U2)(t,"textAlign","center"),t.textBaseline=(0,f.U2)(t,"textBaseline",h>0?"bottom":"top");break;default:break}},e}(ks),mb=yb,Ys=Math.PI/2,xb=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelOffset=function(t){var n=this.getCoordinate(),i=0;if((0,f.hj)(t))i=t;else if((0,f.HD)(t)&&t.indexOf("%")!==-1){var a=n.getRadius();n.innerRadius>0&&(a=a*(1-n.innerRadius)),i=parseFloat(t)*.01*a}return i},e.prototype.getLabelItems=function(t){var n=r.prototype.getLabelItems.call(this,t),i=this.geometry.getYScale();return(0,f.UI)(n,function(a){if(a&&i){var o=i.scale((0,f.U2)(a.data,i.field));return(0,d.pi)((0,d.pi)({},a),{percent:o})}return a})},e.prototype.getLabelAlign=function(t){var n=this.getCoordinate(),i;if(t.labelEmit)i=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(!n.isTransposed)i="center";else{var a=n.getCenter(),o=t.offset;Math.abs(t.x-a.x)<1?i="center":t.angle>Math.PI||t.angle<=0?i=o>0?"left":"right":i=o>0?"right":"left"}return i},e.prototype.getLabelPoint=function(t,n,i){var a=1,o,s=t.content[i];this.isToMiddle(n)?o=this.getMiddlePoint(n.points):(t.content.length===1&&i===0?i=1:i===0&&(a=-1),o=this.getArcPoint(n,i));var l=t.offset*a,u=this.getPointAngle(o),c=t.labelEmit,h=this.getCirclePoint(u,l,o,c);return h.r===0?h.content="":(h.content=s,h.angle=u,h.color=n.color),h.rotate=t.autoRotate?this.getLabelRotate(u,l,c):t.rotate,h.start={x:o.x,y:o.y},h},e.prototype.getArcPoint=function(t,n){return n===void 0&&(n=0),!(0,f.kJ)(t.x)&&!(0,f.kJ)(t.y)?{x:t.x,y:t.y}:{x:(0,f.kJ)(t.x)?t.x[n]:t.x,y:(0,f.kJ)(t.y)?t.y[n]:t.y}},e.prototype.getPointAngle=function(t){return sa(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,n,i,a){var o=this.getCoordinate(),s=o.getCenter(),l=ys(o,i);if(l===0)return(0,d.pi)((0,d.pi)({},s),{r:l});var u=t;if(o.isTransposed&&l>n&&!a){var c=Math.asin(n/(2*l));u=t+c*2}else l=l+n;return{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,n,i){var a=t+Ys;return i&&(a-=Ys),a&&(a>Ys?a=a-Math.PI:a<-Ys&&(a=a+Math.PI)),a},e.prototype.getMiddlePoint=function(t){var n=this.getCoordinate(),i=t.length,a={x:0,y:0};return(0,f.S6)(t,function(o){a.x+=o.x,a.y+=o.y}),a.x/=i,a.y/=i,a=n.convert(a),a},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(ks),Up=xb,wb=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.defaultLayout="distribute",t}return e.prototype.getDefaultLabelCfg=function(t,n){var i=r.prototype.getDefaultLabelCfg.call(this,t,n);return(0,f.b$)({},i,(0,f.U2)(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(t){return r.prototype.getLabelOffset.call(this,t)||0},e.prototype.getLabelRotate=function(t,n,i){var a;return n<0&&(a=t,a>Math.PI/2&&(a=a-Math.PI),a<-Math.PI/2&&(a=a+Math.PI)),a},e.prototype.getLabelAlign=function(t){var n=this.getCoordinate(),i=n.getCenter(),a;return t.angle<=Math.PI/2&&t.x>=i.x?a="left":a="right",t.offset<=0&&(a==="right"?a="left":a="right"),a},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var n=this.getCoordinate(),i={x:(0,f.kJ)(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:(0,f.kJ)(t.x)?t.x[1]:t.x,y:t.y[1]},o,s=sa(n,i);if(t.points&&t.points[0].y===t.points[1].y)o=s;else{var l=sa(n,a);s>=l&&(l=l+Math.PI*2),o=s+(l-s)/2}return o},e.prototype.getCirclePoint=function(t,n){var i=this.getCoordinate(),a=i.getCenter(),o=i.getRadius()+n;return(0,d.pi)((0,d.pi)({},hr(a.x,a.y,o,t)),{angle:t,r:o})},e}(Up),Mb=wb,Hp=4;function Sb(r,e,t,n,i,a){var o,s,l=!0,u=n.start,c=n.end,h=Math.min(u.y,c.y),v=Math.abs(u.y-c.y),p,g=0,y=Number.MIN_VALUE,x=e.map(function(U){return U.y>g&&(g=U.y),U.yv&&(v=g-h);l;)for(x.forEach(function(U){var Q=(Math.min.apply(y,U.targets)+Math.max.apply(y,U.targets))/2;U.pos=Math.min(Math.max(y,Q-U.size/2),v-U.size)}),l=!1,p=x.length;p--;)if(p>0){var m=x[p-1],w=x[p];m.pos+m.size>w.pos&&(m.size+=w.size,m.targets=m.targets.concat(w.targets),m.pos+m.size>v&&(m.pos=v-m.size),x.splice(p,1),l=!0)}p=0,x.forEach(function(U){var Q=h+t/2;U.targets.forEach(function(){e[p].y=U.pos+Q,Q+=t,p++})});var M={};try{for(var S=(0,d.XA)(r),A=S.next();!A.done;A=S.next()){var B=A.value;M[B.get("id")]=B}}catch(U){o={error:U}}finally{try{A&&!A.done&&(s=S.return)&&s.call(S)}finally{if(o)throw o.error}}e.forEach(function(U){var Q=U.r*U.r,dt=Math.pow(Math.abs(U.y-i.y),2);if(Q0){var l=14,u=o+i,c=u*2+l*2,h={start:a.start,end:a.end},v=[[],[]];r.forEach(function(p){!p||(p.textAlign==="right"?v[0].push(p):v[1].push(p))}),v.forEach(function(p,g){var y=c/l;p.length>y&&(p.sort(function(x,m){return m["..percent"]-x["..percent"]}),p.splice(y,p.length-y)),p.sort(function(x,m){return x.y-m.y}),Sb(e,p,l,h,s,g)})}(0,f.S6)(r,function(p){if(p&&p.labelLine){var g=p.offset,y=p.angle,x=hr(s.x,s.y,o,y),m=hr(s.x,s.y,o+g/2,y),w=p.x+(0,f.U2)(p,"offsetX",0),M=p.y+(0,f.U2)(p,"offsetY",0),S={x:w-Math.cos(y)*Hp,y:M-Math.sin(y)*Hp};(0,f.Kn)(p.labelLine)||(p.labelLine={}),p.labelLine.path=["M ".concat(x.x),"".concat(x.y," Q").concat(m.x),"".concat(m.y," ").concat(S.x),S.y].join(",")}})}}function Gp(r,e,t){var n=r.filter(function(g){return!g.invisible});n.sort(function(g,y){return g.y-y.y});var i=!0,a=t.minY,o=t.maxY,s=Math.abs(a-o),l,u=0,c=Number.MIN_VALUE,h=n.map(function(g){return g.y>u&&(u=g.y),g.ys&&(s=u-a);i;)for(h.forEach(function(g){var y=(Math.min.apply(c,g.targets)+Math.max.apply(c,g.targets))/2;g.pos=Math.min(Math.max(c,y-g.size/2),s-g.size),g.pos=Math.max(0,g.pos)}),i=!1,l=h.length;l--;)if(l>0){var v=h[l-1],p=h[l];v.pos+v.size>p.pos&&(v.size+=p.size,v.targets=v.targets.concat(p.targets),v.pos+v.size>s&&(v.pos=s-v.size),h.splice(l,1),i=!0)}l=0,h.forEach(function(g){var y=a+e/2;g.targets.forEach(function(){n[l].y=g.pos+y,y+=e,l++})})}var Yp=4;function bb(r,e){var t=e.getCenter(),n=e.getRadius();if(r&&r.labelLine){var i=r.angle,a=r.offset,o=hr(t.x,t.y,n,i),s=r.x+(0,f.U2)(r,"offsetX",0)*(Math.cos(i)>0?1:-1),l=r.y+(0,f.U2)(r,"offsetY",0)*(Math.sin(i)>0?1:-1),u={x:s-Math.cos(i)*Yp,y:l-Math.sin(i)*Yp},c=r.labelLine.smooth,h=[],v=u.x-t.x,p=u.y-t.y,g=Math.atan(p/v);if(v<0&&(g+=Math.PI),c===!1){(0,f.Kn)(r.labelLine)||(r.labelLine={});var y=0;(i<0&&i>-Math.PI/2||i>Math.PI*1.5)&&u.y>o.y&&(y=1),i>=0&&io.y&&(y=1),i>=Math.PI/2&&iu.y&&(y=1),(i<-Math.PI/2||i>=Math.PI&&iu.y&&(y=1);var x=a/2>4?4:Math.max(a/2-1,0),m=hr(t.x,t.y,n+x,i),w=hr(t.x,t.y,n+a/2,g),M=0;h.push("M ".concat(o.x," ").concat(o.y)),h.push("L ".concat(m.x," ").concat(m.y)),h.push("A ".concat(t.x," ").concat(t.y," 0 ").concat(M," ").concat(y," ").concat(w.x," ").concat(w.y)),h.push("L ".concat(u.x," ").concat(u.y))}else{var m=hr(t.x,t.y,n+(a/2>4?4:Math.max(a/2-1,0)),i),S=o.xMath.pow(Math.E,-16)&&h.push.apply(h,["C",u.x+S*4,u.y,2*m.x-o.x,2*m.y-o.y,o.x,o.y]),h.push("L ".concat(o.x," ").concat(o.y))}r.labelLine.path=h.join(" ")}}function Ab(r,e,t,n){var i,a,o=(0,f.hX)(r,function(Q){return!(0,f.UM)(Q)}),s=e[0]&&e[0].get("coordinate");if(!!s){var l=s.getCenter(),u=s.getRadius(),c={};try{for(var h=(0,d.XA)(e),v=h.next();!v.done;v=h.next()){var p=v.value;c[p.get("id")]=p}}catch(Q){i={error:Q}}finally{try{v&&!v.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}var g=(0,f.U2)(o[0],"labelHeight",14),y=(0,f.U2)(o[0],"offset",0);if(!(y<=0)){var x="left",m="right",w=(0,f.vM)(o,function(Q){return Q.xut&&(Q.sort(function(Dt,jt){return jt.percent-Dt.percent}),(0,f.S6)(Q,function(Dt,jt){jt+1>ut&&(c[Dt.id].set("visible",!1),Dt.invisible=!0)})),Gp(Q,g,U)}),(0,f.S6)(w,function(Q,dt){(0,f.S6)(Q,function(ut){var Dt=dt===m,jt=c[ut.id],fe=jt.getChildByIndex(0);if(fe){var me=u+y,be=ut.y-l.y,Nt=Math.pow(me,2),ie=Math.pow(be,2),he=Nt-ie>0?Nt-ie:0,ue=Math.sqrt(he),ve=Math.abs(Math.cos(ut.angle)*me);Dt?ut.x=l.x+Math.max(ue,ve):ut.x=l.x-Math.max(ue,ve)}fe&&(fe.attr("y",ut.y),fe.attr("x",ut.x)),bb(ut,s)})})}}}var sc=4,Tb=4,Xp=4;function Eb(r,e,t){var n=e.getCenter(),i=e.getRadius(),a={x:r.x-(t?Xp:-Xp),y:r.y},o=hr(n.x,n.y,i+sc,r.angle),s={x:a.x,y:a.y},l={x:o.x,y:o.y},u=hr(n.x,n.y,i,r.angle),c="";if(a.y!==o.y){var h=t?4:-4;s.y=a.y,r.angle<0&&r.angle>=-Math.PI/2&&(s.x=Math.max(o.x,a.x-h),a.y0&&r.angleo.y?l.y=s.y:(l.y=o.y,l.x=Math.max(l.x,s.x-h))),r.angle>Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.y>o.y?l.y=s.y:(l.y=o.y,l.x=Math.min(l.x,s.x-h))),r.angle<-Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.ys.x||Q.x===s.x&&Q.y>s.y,Dt=(0,f.UM)(Q.offsetX)?Tb:Q.offsetX,jt=hr(s.x,s.y,l+sc,Q.angle),fe=g+Dt;Q.x=s.x+(ut?1:-1)*(l+fe),Q.y=jt.y}}});var y=o.start,x=o.end,m="left",w="right",M=(0,f.vM)(r,function(Q){return Q.xS&&(S=Math.min(dt,Math.abs(y.y-x.y)))});var A={minX:y.x,maxX:x.x,minY:s.y-S/2,maxY:s.y+S/2};(0,f.S6)(M,function(Q,dt){var ut=S/p;Q.length>ut&&(Q.sort(function(Dt,jt){return jt.percent-Dt.percent}),(0,f.S6)(Q,function(Dt,jt){jt>ut&&(u[Dt.id].set("visible",!1),Dt.invisible=!0)})),Gp(Q,p,A)});var B=A.minY,U=A.maxY;(0,f.S6)(M,function(Q,dt){var ut=dt===w;(0,f.S6)(Q,function(Dt){var jt=(0,f.U2)(u,Dt&&[Dt.id]);if(!!jt){if(Dt.yU){jt.set("visible",!1);return}var fe=jt.getChildByIndex(0),me=fe.getCanvasBBox(),be={x:ut?me.x:me.maxX,y:me.y+me.height/2};ao(fe,Dt.x-be.x,Dt.y-be.y),Dt.labelLine&&Eb(Dt,o,ut)}})})}}function _b(r,e,t,n){(0,f.S6)(e,function(i){var a=n.minX,o=n.minY,s=n.maxX,l=n.maxY,u=i.getCanvasBBox(),c=u.minX,h=u.minY,v=u.maxX,p=u.maxY,g=u.x,y=u.y,x=u.width,m=u.height,w=g,M=y;(cs?w=s-x:v>s&&(w=w-(v-s)),h>l?M=l-m:p>l&&(M=M-(p-l)),(w!==g||M!==y)&&ao(i,w-g,M-y)})}function Ib(r,e,t,n){(0,f.S6)(e,function(i,a){var o=i.getCanvasBBox(),s=t[a].getBBox();(o.minXs.maxX||o.maxY>s.maxY)&&i.remove(!0)})}var kb=100,Wp=function(){function r(e){e===void 0&&(e={}),this.bitmap={};var t=e.xGap,n=t===void 0?1:t,i=e.yGap,a=i===void 0?8:i;this.xGap=n,this.yGap=a}return r.prototype.hasGap=function(e){for(var t=!0,n=this.bitmap,i=Math.round(e.minX),a=Math.round(e.maxX),o=Math.round(e.minY),s=Math.round(e.maxY),l=i;l<=a;l+=1){if(!n[l]){n[l]={};continue}if(l===i||l===a){for(var u=o;u<=s;u++)if(n[l][u]){t=!1;break}}else if(n[l][o]||n[l][s]){t=!1;break}}return t},r.prototype.fillGap=function(e){for(var t=this.bitmap,n=Math.round(e.minX),i=Math.round(e.maxX),a=Math.round(e.minY),o=Math.round(e.maxY),s=n;s<=i;s+=1)t[s]||(t[s]={});for(var s=n;s<=i;s+=this.xGap){for(var l=a;l<=o;l+=this.yGap)t[s][l]=!0;t[s][o]=!0}if(this.yGap!==1)for(var s=a;s<=o;s+=1)t[n][s]=!0,t[i][s]=!0;if(this.xGap!==1)for(var s=n;s<=i;s+=1)t[s][a]=!0,t[s][o]=!0},r.prototype.destroy=function(){this.bitmap={}},r}();function Lb(r,e,t){t===void 0&&(t=kb);var n=-1,i=r.attr(),a=i.x,o=i.y,s=r.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u,c=-n,h=0,v=0,p=function(m){var w=m*.1;return[w*Math.cos(w),w*Math.sin(w)]};if(e.hasGap(s))return e.fillGap(s),!0;for(var g=!1,y=0,x={};Math.min(Math.abs(h),Math.abs(v))4)return[];var e=function(i,a){return[a.x-i.x,a.y-i.y]},t=e(r[0],r[1]),n=e(r[1],r[2]);return[t,n]}function Xs(r,e,t){e===void 0&&(e=0),t===void 0&&(t={x:0,y:0});var n=r.x,i=r.y;return{x:(n-t.x)*Math.cos(-e)+(i-t.y)*Math.sin(-e)+t.x,y:(t.x-n)*Math.sin(-e)+(i-t.y)*Math.cos(-e)+t.y}}function qp(r){var e=[{x:r.x,y:r.y},{x:r.x+r.width,y:r.y},{x:r.x+r.width,y:r.y+r.height},{x:r.x,y:r.y+r.height}],t=r.rotation;return t?[Xs(e[0],t,e[0]),Xs(e[1],t,e[0]),Xs(e[2],t,e[0]),Xs(e[3],t,e[0])]:e}function $p(r,e){if(r.length>4)return{min:0,max:0};var t=[];return r.forEach(function(n){t.push(Bb([n.x,n.y],e))}),{min:Math.min.apply(Math,(0,d.ev)([],(0,d.CR)(t),!1)),max:Math.max.apply(Math,(0,d.ev)([],(0,d.CR)(t),!1))}}function Rb(r,e){return r.max>e.min&&r.minr.x+r.width+t||e.x+e.widthr.y+r.height+t||e.y+e.height4)return[];var S=function(U,Q){return[Q.x-U.x,Q.y-U.y]},A=S(M[0],M[1]),B=S(M[1],M[2]);return[A,B]}function h(M,S,A){S===void 0&&(S=0),A===void 0&&(A={x:0,y:0});var B=M.x,U=M.y;return{x:(B-A.x)*Math.cos(-S)+(U-A.y)*Math.sin(-S)+A.x,y:(A.x-B)*Math.sin(-S)+(U-A.y)*Math.cos(-S)+A.y}}function v(M){var S=[{x:M.x,y:M.y},{x:M.x+M.width,y:M.y},{x:M.x+M.width,y:M.y+M.height},{x:M.x,y:M.y+M.height}],A=M.rotation;return A?[h(S[0],A,S[0]),h(S[1],A,S[0]),h(S[2],A,S[0]),h(S[3],A,S[0])]:S}function p(M,S){if(M.length>4)return{min:0,max:0};var A=[];return M.forEach(function(B){A.push(u([B.x,B.y],S))}),{min:Math.min.apply(null,A),max:Math.max.apply(null,A)}}function g(M,S){return M.max>S.min&&M.minM.x+M.width+A||S.x+S.widthM.y+M.height+A||S.y+S.height=a.height:o.width>=a.width}function $b(r,e,t){var n=!!r.getAdjust("stack");return n||e.every(function(i,a){var o=t[a];return qb(r,i,o)})}function jb(r,e,t){var n=r.coordinate,i=_r.fromObject(t.getBBox()),a=ii(e);n.isTransposed?a.attr({x:i.minX+i.width/2,textAlign:"center"}):a.attr({y:i.minY+i.height/2,textBaseline:"middle"})}function Jb(r,e,t){var n;if(t.length!==0){var i=(n=t[0])===null||n===void 0?void 0:n.get("element"),a=i==null?void 0:i.geometry;if(!(!a||a.type!=="interval")){var o=$b(a,e,t);o&&t.forEach(function(s,l){var u=e[l];jb(a,u,s)})}}}function Kb(r){var e=500,t=[],n=Math.max(Math.floor(r.length/e),1);return(0,f.S6)(r,function(i,a){a%n===0?t.push(i):i.set("visible",!1)}),t}function Qb(r,e,t){var n;if(t.length!==0){var i=(n=t[0])===null||n===void 0?void 0:n.get("element"),a=i==null?void 0:i.geometry;if(!(!a||a.type!=="interval")){var o=Kb(e),s=(0,d.CR)(a.getXYFields(),1),l=s[0],u=[],c=[],h=(0,f.vM)(o,function(x){return x.get("data")[l]}),v=(0,f.jj)((0,f.UI)(o,function(x){return x.get("data")[l]})),p;o.forEach(function(x){x.set("visible",!0)});var g=function(x){x&&(x.length&&c.push(x.pop()),c.push.apply(c,(0,d.ev)([],(0,d.CR)(x),!1)))};for((0,f.dp)(v)>0&&(p=v.shift(),g(h[p])),(0,f.dp)(v)>0&&(p=v.pop(),g(h[p])),(0,f.S6)(v.reverse(),function(x){g(h[x])});c.length>0;){var y=c.shift();y.get("visible")&&($M(y,u)?y.set("visible",!1):u.push(y))}}}}function tA(r,e){var t=r.getXYFields()[1],n=[],i=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return i.length>0&&n.push(i.shift()),i.length>0&&n.push(i.pop()),n.push.apply(n,(0,d.ev)([],(0,d.CR)(i),!1)),n}function Qp(r,e,t){return r.some(function(n){return t(n,e)})}function eA(r,e,t){t===void 0&&(t=0);var n=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),i=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return n*i}function td(r,e){return Qp(r,e,function(t,n){var i=ii(t),a=ii(n);return eA(i.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function rA(r,e,t,n,i){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||l.type!=="point")){var u=(0,d.CR)(l.getXYFields(),2),c=u[0],h=u[1],v=(0,f.vM)(e,function(y){return y.get("data")[c]}),p=[],g=i&&i.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;(0,f.UI)((0,f.XP)(v).reverse(),function(y){for(var x=tA(l,v[y]);x.length;){var m=x.shift(),w=ii(m);if(Qp(p,m,function(A,B){return A.get("data")[c]===B.get("data")[c]&&A.get("data")[h]===B.get("data")[h]})){w.set("visible",!1);continue}var M=td(p,m),S=!1;if(M&&(w.attr("y",w.attr("y")+2*g),S=td(p,m)),S){w.set("visible",!1);continue}p.push(m)}})}}}function nA(r,e){var t=r.getXYFields()[1],n=[],i=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return i.length>0&&n.push(i.shift()),i.length>0&&n.push(i.pop()),n.push.apply(n,(0,d.ev)([],(0,d.CR)(i),!1)),n}function ed(r,e,t){return r.some(function(n){return t(n,e)})}function iA(r,e,t){t===void 0&&(t=0);var n=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),i=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return n*i}function rd(r,e){return ed(r,e,function(t,n){var i=ii(t),a=ii(n);return iA(i.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function aA(r,e,t,n,i){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||["path","line","area"].indexOf(l.type)<0)){var u=(0,d.CR)(l.getXYFields(),2),c=u[0],h=u[1],v=(0,f.vM)(e,function(y){return y.get("data")[c]}),p=[],g=i&&i.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;(0,f.UI)((0,f.XP)(v).reverse(),function(y){for(var x=nA(l,v[y]);x.length;){var m=x.shift(),w=ii(m);if(ed(p,m,function(A,B){return A.get("data")[c]===B.get("data")[c]&&A.get("data")[h]===B.get("data")[h]})){w.set("visible",!1);continue}var M=rd(p,m),S=!1;if(M&&(w.attr("y",w.attr("y")+2*g),S=rd(p,m)),S){w.set("visible",!1);continue}p.push(m)}})}}}var cc;function oA(){return cc||(cc=document.createElement("canvas").getContext("2d")),cc}var Ws=(0,f.HP)(function(r,e){e===void 0&&(e={});var t=e.fontSize,n=e.fontFamily,i=e.fontWeight,a=e.fontStyle,o=e.fontVariant,s=oA();return s.font=[a,o,i,"".concat(t,"px"),n].join(" "),s.measureText((0,f.HD)(r)?r:"").width},function(r,e){return e===void 0&&(e={}),(0,d.ev)([r],(0,d.CR)((0,f.VO)(e)),!1).join("")}),sA=function(r,e,t){var n=16,i=Ws("...",t),a;(0,f.HD)(r)?a=r:a=(0,f.BB)(r);var o=e,s=[],l,u;if(Ws(r,t)<=e)return r;for(;l=a.substr(0,n),u=Ws(l,t),!(u+i>o&&u>o);)if(s.push(l),o-=u,a=a.substr(n),!a)return s.join("");for(;l=a.substr(0,1),u=Ws(l,t),!(u+i>o);)if(s.push(l),o-=u,a=a.substr(1),!a)return s.join("");return"".concat(s.join(""),"...")};function lA(r,e,t,n,i){if(!(e.length<=0)){var a=(i==null?void 0:i.direction)||["top","right","bottom","left"],o=(i==null?void 0:i.action)||"translate",s=(i==null?void 0:i.margin)||0,l=e[0].get("coordinate");if(!!l){var u=rw(l,s),c=u.minX,h=u.minY,v=u.maxX,p=u.maxY;(0,f.S6)(e,function(g){var y=g.getCanvasBBox(),x=y.minX,m=y.minY,w=y.maxX,M=y.maxY,S=y.x,A=y.y,B=y.width,U=y.height,Q=S,dt=A;if(a.indexOf("left")>=0&&(x=0&&(m=0&&(x>v?Q=v-B:w>v&&(Q=Q-(w-v))),a.indexOf("bottom")>=0&&(m>p?dt=p-U:M>p&&(dt=dt-(M-p))),Q!==S||dt!==A){var ut=Q-S;if(o==="translate")ao(g,ut,dt-A);else if(o==="ellipsis"){var Dt=g.findAll(function(jt){return jt.get("type")==="text"});Dt.forEach(function(jt){var fe=(0,f.ei)(jt.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),me=jt.getCanvasBBox(),be=sA(jt.attr("text"),me.width-Math.abs(ut),fe);jt.attr("text",be)})}else g.hide()}})}}}function uA(r,e,t){var n={fillOpacity:(0,f.UM)(r.attr("fillOpacity"))?1:r.attr("fillOpacity"),strokeOpacity:(0,f.UM)(r.attr("strokeOpacity"))?1:r.attr("strokeOpacity"),opacity:(0,f.UM)(r.attr("opacity"))?1:r.attr("opacity")};r.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),r.animate(n,e)}function cA(r,e,t){var n={fillOpacity:0,strokeOpacity:0,opacity:0},i=e.easing,a=e.duration,o=e.delay;r.animate(n,a,i,function(){r.remove(!0)},o)}function fA(r,e,t){var n,i=(0,d.CR)(e,2),a=i[0],o=i[1];return r.applyToMatrix([a,o,1]),t==="x"?(r.setMatrix(nr.vs(r.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),n=nr.vs(r.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):t==="y"?(r.setMatrix(nr.vs(r.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),n=nr.vs(r.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):t==="xy"&&(r.setMatrix(nr.vs(r.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),n=nr.vs(r.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),n}function fc(r,e,t,n,i){var a=t.start,o=t.end,s=t.getWidth(),l=t.getHeight(),u,c;i==="y"?(u=a.x+s/2,c=n.ya.x?n.x:a.x,c=a.y+l/2):i==="xy"&&(t.isPolar?(u=t.getCenter().x,c=t.getCenter().y):(u=(a.x+o.x)/2,c=(a.y+o.y)/2));var h=fA(r,[u,c],i);r.animate({matrix:h},e)}function hA(r,e,t){var n=t.coordinate,i=t.minYPoint;fc(r,e,n,i,"x")}function vA(r,e,t){var n=t.coordinate,i=t.minYPoint;fc(r,e,n,i,"y")}function pA(r,e,t){var n=t.coordinate,i=t.minYPoint;fc(r,e,n,i,"xy")}function dA(r,e,t){var n=r.getTotalLength();r.attr("lineDash",[n]),r.animate(function(i){return{lineDashOffset:(1-i)*n}},e)}function gA(r,e,t){var n=t.toAttrs,i=n.x,a=n.y;delete n.x,delete n.y,r.attr(n),r.animate({x:i,y:a},e)}function yA(r,e,t){var n=r.getBBox(),i=r.get("origin").mappingData,a=i.points,o=a[0].y-a[1].y>0?n.maxX:n.minX,s=(n.minY+n.maxY)/2;r.applyToMatrix([o,s,1]);var l=nr.vs(r.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);r.setMatrix(l),r.animate({matrix:nr.vs(r.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)}function mA(r,e,t){var n=r.getBBox(),i=r.get("origin").mappingData,a=(n.minX+n.maxX)/2,o=i.points,s=o[0].y-o[1].y<=0?n.maxY:n.minY;r.applyToMatrix([a,s,1]);var l=nr.vs(r.getMatrix(),[["t",-a,-s],["s",1,.01],["t",a,s]]);r.setMatrix(l),r.animate({matrix:nr.vs(r.getMatrix(),[["t",-a,-s],["s",1,100],["t",a,s]])},e)}function nd(r,e){var t,n=Ds(r,e),i=n.startAngle,a=n.endAngle;return!(0,f.vQ)(i,-Math.PI*.5)&&i<-Math.PI*.5&&(i+=Math.PI*2),!(0,f.vQ)(a,-Math.PI*.5)&&a<-Math.PI*.5&&(a+=Math.PI*2),e[5]===0&&(t=(0,d.CR)([a,i],2),i=t[0],a=t[1]),(0,f.vQ)(i,Math.PI*1.5)&&(i=Math.PI*-.5),(0,f.vQ)(a,Math.PI*-.5)&&!(0,f.vQ)(i,a)&&(a=Math.PI*1.5),{startAngle:i,endAngle:a}}function id(r){var e;return r[0]==="M"||r[0]==="L"?e=[r[1],r[2]]:(r[0]==="a"||r[0]==="A"||r[0]==="C")&&(e=[r[r.length-2],r[r.length-1]]),e}function ad(r){var e,t,n,i=r.filter(function(M){return M[0]==="A"||M[0]==="a"});if(i.length===0)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var a=i[0],o=i.length>1?i[1]:i[0],s=r.indexOf(a),l=r.indexOf(o),u=id(r[s-1]),c=id(r[l-1]),h=nd(u,a),v=h.startAngle,p=h.endAngle,g=nd(c,o),y=g.startAngle,x=g.endAngle;(0,f.vQ)(v,y)&&(0,f.vQ)(p,x)?(t=v,n=p):(t=Math.min(v,y),n=Math.max(p,x));var m=a[1],w=i[i.length-1][1];return m=0;u--){var c=this.getFacetsByLevel(t,u);try{for(var h=(n=void 0,(0,d.XA)(c)),v=h.next();!v.done;v=h.next()){var p=v.value;this.isLeaf(p)||(p.originColIndex=p.columnIndex,p.columnIndex=this.getRegionIndex(p.children),p.columnValuesLength=o.length)}}catch(g){n={error:g}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}},e.prototype.getFacetsByLevel=function(t,n){var i=[];return t.forEach(function(a){a.rowIndex===n&&i.push(a)}),i},e.prototype.getRegionIndex=function(t){var n=t[0],i=t[t.length-1];return(i.columnIndex-n.columnIndex)/2+n.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,n,i){var a=this,o=this.cfg.fields,s=o.length;if(!(s=p){var x=i.parsePosition([g[l],g[s.field]]);x&&v.push(x)}if(g[l]===h)return!1}),v},e.prototype.parsePercentPosition=function(t){var n=parseFloat(t[0])/100,i=parseFloat(t[1])/100,a=this.view.getCoordinate(),o=a.start,s=a.end,l={x:Math.min(o.x,s.x),y:Math.min(o.y,s.y)},u=a.getWidth()*n+l.x,c=a.getHeight()*i+l.y;return{x:u,y:c}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),n=t.start,i=t.end,a=t.getWidth(),o=t.getHeight(),s={x:Math.min(n.x,i.x),y:Math.min(n.y,i.y)};return{x:s.x,y:s.y,minX:s.x,minY:s.y,maxX:s.x+a,maxY:s.y+o,width:a,height:o}},e.prototype.getAnnotationCfg=function(t,n,i){var a=this,o=this.view.getCoordinate(),s=this.view.getCanvas(),l={};if((0,f.UM)(n))return null;var u=n.start,c=n.end,h=n.position,v=this.parsePosition(u),p=this.parsePosition(c),g=this.parsePosition(h);if(["arc","image","line","region","regionFilter"].includes(t)&&(!v||!p))return null;if(["text","dataMarker","html"].includes(t)&&!g)return null;if(t==="arc"){var y=n,x=y.start,m=y.end,w=(0,d._T)(y,["start","end"]),M=sa(o,v),S=sa(o,p);M>S&&(S=Math.PI*2+S),l=(0,d.pi)((0,d.pi)({},w),{center:o.getCenter(),radius:ys(o,v),startAngle:M,endAngle:S})}else if(t==="image"){var A=n,B=A.start,U=A.end,w=(0,d._T)(A,["start","end"]);l=(0,d.pi)((0,d.pi)({},w),{start:v,end:p,src:n.src})}else if(t==="line"){var Q=n,dt=Q.start,ut=Q.end,w=(0,d._T)(Q,["start","end"]);l=(0,d.pi)((0,d.pi)({},w),{start:v,end:p,text:(0,f.U2)(n,"text",null)})}else if(t==="region"){var Dt=n,jt=Dt.start,fe=Dt.end,w=(0,d._T)(Dt,["start","end"]);l=(0,d.pi)((0,d.pi)({},w),{start:v,end:p})}else if(t==="text"){var me=this.view.getData(),be=n,Nt=be.position,ie=be.content,w=(0,d._T)(be,["position","content"]),he=ie;(0,f.mf)(ie)&&(he=ie(me)),l=(0,d.pi)((0,d.pi)((0,d.pi)({},g),w),{content:he})}else if(t==="dataMarker"){var ue=n,ve=ue.position,Te=ue.point,Be=ue.line,Ye=ue.text,Re=ue.autoAdjust,Xe=ue.direction,w=(0,d._T)(ue,["position","point","line","text","autoAdjust","direction"]);l=(0,d.pi)((0,d.pi)((0,d.pi)({},w),g),{coordinateBBox:this.getCoordinateBBox(),point:Te,line:Be,text:Ye,autoAdjust:Re,direction:Xe})}else if(t==="dataRegion"){var er=n,vr=er.start,pr=er.end,In=er.region,Ye=er.text,Yi=er.lineLength,w=(0,d._T)(er,["start","end","region","text","lineLength"]);l=(0,d.pi)((0,d.pi)({},w),{points:this.getRegionPoints(vr,pr),region:In,text:Ye,lineLength:Yi})}else if(t==="regionFilter"){var $n=n,_a=$n.start,Ia=$n.end,Vy=$n.apply,vR=$n.color,w=(0,d._T)($n,["start","end","apply","color"]),pR=this.view.geometries,Uy=[],Ef=function(kn){!kn||(kn.isGroup()?kn.getChildren().forEach(function(Bo){return Ef(Bo)}):Uy.push(kn))};(0,f.S6)(pR,function(kn){Vy?(0,f.FX)(Vy,kn.type)&&(0,f.S6)(kn.elements,function(Bo){Ef(Bo.shape)}):(0,f.S6)(kn.elements,function(Bo){Ef(Bo.shape)})}),l=(0,d.pi)((0,d.pi)({},w),{color:vR,shapes:Uy,start:v,end:p})}else if(t==="shape"){var Hy=n,dR=Hy.render,Ff=(0,d._T)(Hy,["render"]),gR=function(mR){if((0,f.mf)(n.render))return dR(mR,a.view,{parsePosition:a.parsePosition.bind(a)})};l=(0,d.pi)((0,d.pi)({},Ff),{render:gR})}else if(t==="html"){var _f=n,If=_f.html,j6=_f.position,Ff=(0,d._T)(_f,["html","position"]),yR=function(kn){return(0,f.mf)(If)?If(kn,a.view):If};l=(0,d.pi)((0,d.pi)((0,d.pi)({},Ff),g),{parent:s.get("el").parentNode,html:yR})}var di=(0,f.b$)({},i,(0,d.pi)((0,d.pi)({},l),{top:n.top,style:n.style,offsetX:n.offsetX,offsetY:n.offsetY}));return t!=="html"&&(di.container=this.getComponentContainer(di)),di.animate=this.view.getOptions().animate&&di.animate&&(0,f.U2)(n,"animate",di.animate),di.animateOption=(0,f.b$)({},va,di.animateOption,n.animateOption),di},e.prototype.isTop=function(t){return(0,f.U2)(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return(0,f.U2)(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var n=this.cache.get(this.getCacheKey(t));if(n){var i=t.type,a=this.getAnnotationTheme(i),o=this.getAnnotationCfg(i,t,a);o&&Vr(o,["container"]),n.component.update((0,d.pi)((0,d.pi)({},o||{}),{visible:!!o})),(0,f.q9)(qs,t.type)&&n.component.render()}else n=this.createAnnotation(t),n&&(n.component.init(),(0,f.q9)(qs,t.type)&&n.component.render());return n},e.prototype.syncCache=function(t){var n=this,i=new Map(this.cache);return t.forEach(function(a,o){i.set(o,a)}),i.forEach(function(a,o){(0,f.sE)(n.option,function(s){return o===n.getCacheKey(s)})||(a.component.destroy(),i.delete(o))}),i},e.prototype.getCacheKey=function(t){return t},e}(ha),RA=BA;function sd(r,e){var t=(0,f.b$)({},(0,f.U2)(r,["components","axis","common"]),(0,f.U2)(r,["components","axis",e]));return(0,f.U2)(t,["grid"],{})}function $s(r,e,t,n){var i=[],a=e.getTicks();return r.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(o,s,l){var u=s.value;if(n)i.push({points:[r.convert(t==="y"?{x:0,y:u}:{x:u,y:0}),r.convert(t==="y"?{x:1,y:u}:{x:u,y:1})]});else if(l){var c=o.value,h=(c+u)/2;i.push({points:[r.convert(t==="y"?{x:0,y:h}:{x:h,y:0}),r.convert(t==="y"?{x:1,y:h}:{x:h,y:1})]})}return s},a[0]),i}function pc(r,e,t,n,i){var a=e.values.length,o=[],s=t.getTicks();return s.reduce(function(l,u){var c=l?l.value:u.value,h=u.value,v=(c+h)/2;return i==="x"?o.push({points:[r.convert({x:n?h:v,y:0}),r.convert({x:n?h:v,y:1})]}):o.push({points:(0,f.UI)(Array(a+1),function(p,g){return r.convert({x:g/a,y:n?h:v})})}),u},s[0]),o}function ld(r,e){var t=(0,f.U2)(e,"grid");if(t===null)return!1;var n=(0,f.U2)(r,"grid");return!(t===void 0&&n===null)}var li=["container"],ud=(0,d.pi)((0,d.pi)({},va),{appear:null}),NA=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(rt.BG).addGroup(),n.gridForeContainer=n.view.getLayer(rt.FORE).addGroup(),n.axisContainer=n.view.getLayer(rt.BG).addGroup(),n.axisForeContainer=n.view.getLayer(rt.FORE).addGroup(),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,n=this.view.getCoordinate();(0,f.S6)(this.getComponents(),function(i){var a=i.component,o=i.direction,s=i.type,l=i.extra,u=l.dim,c=l.scale,h=l.alignTick,v;if(s===bt.AXIS)n.isPolar?u==="x"?v=n.isTransposed?ms(n,o):yu(n):u==="y"&&(v=n.isTransposed?yu(n):ms(n,o)):v=ms(n,o);else if(s===bt.GRID)if(n.isPolar){var p=void 0;n.isTransposed?p=u==="x"?pc(n,t.view.getYScales()[0],c,h,u):$s(n,c,u,h):p=u==="x"?$s(n,c,u,h):pc(n,t.view.getXScale(),c,h,u),v={items:p,center:t.view.getCoordinate().getCenter()}}else v={items:$s(n,c,u,h)};a.update(v)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var n=new Map;this.cache.forEach(function(i,a){t.has(a)?n.set(a,i):i.component.destroy()}),this.cache=n},e.prototype.clear=function(){r.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(n){t.push(n)}),t},e.prototype.updateXAxes=function(t){var n=this.view.getXScale();if(!(!n||n.isIdentity)){var i=ws(this.option,n.field);if(i!==!1){var a=Oh(i,tt.BOTTOM),o=rt.BG,s="x",l=this.view.getCoordinate(),u=this.getId("axis",n.field),c=this.getId("grid",n.field);if(l.isRect){var h=this.cache.get(u);if(h){var v=this.getLineAxisCfg(n,i,a);Vr(v,li),h.component.update(v),t.set(u,h)}else h=this.createLineAxis(n,i,o,a,s),this.cache.set(u,h),t.set(u,h);var p=this.cache.get(c);if(p){var v=this.getLineGridCfg(n,i,a,s);Vr(v,li),p.component.update(v),t.set(c,p)}else p=this.createLineGrid(n,i,o,a,s),p&&(this.cache.set(c,p),t.set(c,p))}else if(l.isPolar){var h=this.cache.get(u);if(h){var v=l.isTransposed?this.getLineAxisCfg(n,i,tt.RADIUS):this.getCircleAxisCfg(n,i,a);Vr(v,li),h.component.update(v),t.set(u,h)}else{if(l.isTransposed){if((0,f.o8)(i))return;h=this.createLineAxis(n,i,o,tt.RADIUS,s)}else h=this.createCircleAxis(n,i,o,a,s);this.cache.set(u,h),t.set(u,h)}var p=this.cache.get(c);if(p){var v=l.isTransposed?this.getCircleGridCfg(n,i,tt.RADIUS,s):this.getLineGridCfg(n,i,tt.CIRCLE,s);Vr(v,li),p.component.update(v),t.set(c,p)}else{if(l.isTransposed){if((0,f.o8)(i))return;p=this.createCircleGrid(n,i,o,tt.RADIUS,s)}else p=this.createLineGrid(n,i,o,tt.CIRCLE,s);p&&(this.cache.set(c,p),t.set(c,p))}}}}},e.prototype.updateYAxes=function(t){var n=this,i=this.view.getYScales();(0,f.S6)(i,function(a,o){if(!(!a||a.isIdentity)){var s=a.field,l=ws(n.option,s);if(l!==!1){var u=rt.BG,c="y",h=n.getId("axis",s),v=n.getId("grid",s),p=n.view.getCoordinate();if(p.isRect){var g=Oh(l,o===0?tt.LEFT:tt.RIGHT),y=n.cache.get(h);if(y){var x=n.getLineAxisCfg(a,l,g);Vr(x,li),y.component.update(x),t.set(h,y)}else y=n.createLineAxis(a,l,u,g,c),n.cache.set(h,y),t.set(h,y);var m=n.cache.get(v);if(m){var x=n.getLineGridCfg(a,l,g,c);Vr(x,li),m.component.update(x),t.set(v,m)}else m=n.createLineGrid(a,l,u,g,c),m&&(n.cache.set(v,m),t.set(v,m))}else if(p.isPolar){var y=n.cache.get(h);if(y){var x=p.isTransposed?n.getCircleAxisCfg(a,l,tt.CIRCLE):n.getLineAxisCfg(a,l,tt.RADIUS);Vr(x,li),y.component.update(x),t.set(h,y)}else{if(p.isTransposed){if((0,f.o8)(l))return;y=n.createCircleAxis(a,l,u,tt.CIRCLE,c)}else y=n.createLineAxis(a,l,u,tt.RADIUS,c);n.cache.set(h,y),t.set(h,y)}var m=n.cache.get(v);if(m){var x=p.isTransposed?n.getLineGridCfg(a,l,tt.CIRCLE,c):n.getCircleGridCfg(a,l,tt.RADIUS,c);Vr(x,li),m.component.update(x),t.set(v,m)}else{if(p.isTransposed){if((0,f.o8)(l))return;m=n.createLineGrid(a,l,u,tt.CIRCLE,c)}else m=n.createCircleGrid(a,l,u,tt.RADIUS,c);m&&(n.cache.set(v,m),t.set(v,m))}}}}})},e.prototype.createLineAxis=function(t,n,i,a,o){var s={component:new X1(this.getLineAxisCfg(t,n,a)),layer:i,direction:a===tt.RADIUS?tt.NONE:a,type:bt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,n,i,a,o){var s=this.getLineGridCfg(t,n,a,o);if(s){var l={component:new Z1(s),layer:i,direction:tt.NONE,type:bt.GRID,extra:{dim:o,scale:t,alignTick:(0,f.U2)(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,n,i,a,o){var s={component:new W1(this.getCircleAxisCfg(t,n,a)),layer:i,direction:a,type:bt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createCircleGrid=function(t,n,i,a,o){var s=this.getCircleGridCfg(t,n,a,o);if(s){var l={component:new q1(s),layer:i,direction:tt.NONE,type:bt.GRID,extra:{dim:o,scale:t,alignTick:(0,f.U2)(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,n,i){var a=(0,f.U2)(n,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=ms(o,i),l=Bh(t,n),u=xs(this.view.getTheme(),i),c=(0,f.U2)(n,["title"])?(0,f.b$)({title:{style:{text:l}}},{title:Dh(this.view.getTheme(),i,n.title)},n):n,h=(0,f.b$)((0,d.pi)((0,d.pi)({container:a},s),{ticks:t.getTicks().map(function(M){return{id:"".concat(M.tickValue),name:M.text,value:M.value}}),verticalFactor:o.isPolar?Ph(s,o.getCenter())*-1:Ph(s,o.getCenter()),theme:u}),u,c),v=this.getAnimateCfg(h),p=v.animate,g=v.animateOption;h.animateOption=g,h.animate=p;var y=Lh(s),x=(0,f.U2)(h,"verticalLimitLength",y?1/3:1/2);if(x<=1){var m=this.view.getCanvas().get("width"),w=this.view.getCanvas().get("height");h.verticalLimitLength=x*(y?m:w)}return h},e.prototype.getLineGridCfg=function(t,n,i,a){if(!!ld(xs(this.view.getTheme(),i),n)){var o=sd(this.view.getTheme(),i),s=(0,f.b$)({container:(0,f.U2)(n,["top"])?this.gridForeContainer:this.gridContainer},o,(0,f.U2)(n,"grid"),this.getAnimateCfg(n));return s.items=$s(this.view.getCoordinate(),t,a,(0,f.U2)(s,"alignTick",!0)),s}},e.prototype.getCircleAxisCfg=function(t,n,i){var a=(0,f.U2)(n,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=t.getTicks().map(function(y){return{id:"".concat(y.tickValue),name:y.text,value:y.value}});!t.isCategory&&Math.abs(o.endAngle-o.startAngle)===Math.PI*2&&s.length&&(s[s.length-1].name="");var l=Bh(t,n),u=xs(this.view.getTheme(),tt.CIRCLE),c=(0,f.U2)(n,["title"])?(0,f.b$)({title:{style:{text:l}}},{title:Dh(this.view.getTheme(),i,n.title)},n):n,h=(0,f.b$)((0,d.pi)((0,d.pi)({container:a},yu(this.view.getCoordinate())),{ticks:s,verticalFactor:1,theme:u}),u,c),v=this.getAnimateCfg(h),p=v.animate,g=v.animateOption;return h.animate=p,h.animateOption=g,h},e.prototype.getCircleGridCfg=function(t,n,i,a){if(!!ld(xs(this.view.getTheme(),i),n)){var o=sd(this.view.getTheme(),tt.RADIUS),s=(0,f.b$)({container:(0,f.U2)(n,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,(0,f.U2)(n,"grid"),this.getAnimateCfg(n)),l=(0,f.U2)(s,"alignTick",!0),u=a==="x"?this.view.getYScales()[0]:this.view.getXScale();return s.items=pc(this.view.getCoordinate(),u,t,l,a),s}},e.prototype.getId=function(t,n){var i=this.view.getCoordinate();return"".concat(t,"-").concat(n,"-").concat(i.type)},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&(0,f.U2)(t,"animate"),animateOption:t&&t.animateOption?(0,f.b$)({},ud,t.animateOption):ud}},e}(ha),zA=NA;function ui(r,e,t){return t===tt.TOP?[r.minX+r.width/2-e.width/2,r.minY]:t===tt.BOTTOM?[r.minX+r.width/2-e.width/2,r.maxY-e.height]:t===tt.LEFT?[r.minX,r.minY+r.height/2-e.height/2]:t===tt.RIGHT?[r.maxX-e.width,r.minY+r.height/2-e.height/2]:t===tt.TOP_LEFT||t===tt.LEFT_TOP?[r.tl.x,r.tl.y]:t===tt.TOP_RIGHT||t===tt.RIGHT_TOP?[r.tr.x-e.width,r.tr.y]:t===tt.BOTTOM_LEFT||t===tt.LEFT_BOTTOM?[r.bl.x,r.bl.y-e.height]:t===tt.BOTTOM_RIGHT||t===tt.RIGHT_BOTTOM?[r.br.x-e.width,r.br.y-e.height]:[0,0]}function VA(r,e){if(e.isTransposed)switch(r){case DIRECTION.BOTTOM:return DIRECTION.LEFT;case DIRECTION.LEFT:return DIRECTION.BOTTOM;case DIRECTION.RIGHT:return DIRECTION.TOP;case DIRECTION.TOP:return DIRECTION.RIGHT}return r}function cd(r){return r===DIRECTION.LEFT?DIRECTION.RIGHT:r===DIRECTION.RIGHT?DIRECTION.LEFT:r}function fd(r){return r===DIRECTION.TOP?DIRECTION.BOTTOM:r===DIRECTION.BOTTOM?DIRECTION.TOP:r}function UA(r,e){var t=e.matrix[0],n=e.matrix[4],i=r;return t<0&&(i=cd(i)),n<0&&(i=fd(i)),i}function HA(r,e){var t=r;return e.isReflect("x")&&(t=cd(t)),e.isReflect("y")&&(t=fd(t)),t}function g6(r,e){var t=r;return t=VA(t,e),t=UA(t,e),t=HA(t,e),t}function hd(r,e){return(0,f.jn)(r)?r===!1?!1:{}:(0,f.U2)(r,[e],r)}function js(r){return(0,f.U2)(r,"position",tt.BOTTOM)}var GA=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.container=n.view.getLayer(rt.FORE).addGroup(),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,(0,f.S6)(this.components,function(n){var i=n.component,a=n.direction,o=Du(a),s=i.get("maxWidthRatio"),l=i.get("maxHeightRatio"),u=t.getCategoryLegendSizeCfg(o,s,l),c=i.get("maxWidth"),h=i.get("maxHeight");i.update({maxWidth:Math.min(u.maxWidth,c||0),maxHeight:Math.min(u.maxHeight,h||0)});var v=i.get("padding"),p=i.getLayoutBBox(),g=new _r(p.x,p.y,p.width,p.height).expand(v),y=(0,d.CR)(ui(t.view.viewBBox,g,a),2),x=y[0],m=y[1],w=(0,d.CR)(ui(t.layoutBBox,g,a),2),M=w[0],S=w[1],A=0,B=0;a.startsWith("top")||a.startsWith("bottom")?(A=x,B=S):(A=M,B=m),i.setLocation({x:A+v[3],y:B+v[0]}),t.layoutBBox=t.layoutBBox.cut(g,a)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var n={},i=function(v,p,g){var y=t.getId(g.field),x=t.getComponentById(y);if(x){var m=void 0,w=hd(t.option,g.field);w!==!1&&((0,f.U2)(w,"custom")?m=t.getCategoryCfg(v,p,g,w,!0):g.isLinear?m=t.getContinuousCfg(v,p,g,w):g.isCategory&&(m=t.getCategoryCfg(v,p,g,w))),m&&(Vr(m,["container"]),x.direction=js(w),x.component.update(m),n[y]=!0)}else{var M=t.createFieldLegend(v,p,g);M&&(M.component.init(),t.components.push(M),n[y]=!0)}};if((0,f.U2)(this.option,"custom")){var a="global-custom",o=this.getComponentById(a);if(o){var s=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);Vr(s,["container"]),o.component.update(s),n[a]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=rt.FORE,c=js(this.option);this.components.push({id:a,component:l,layer:u,direction:c,type:bt.LEGEND,extra:void 0}),n[a]=!0}}}else this.loopLegends(i);var h=[];(0,f.S6)(this.getComponents(),function(v){n[v.id]?h.push(v):v.component.destroy()}),this.components=h},e.prototype.clear=function(){r.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var n=this,i=t.geometries;return(0,f.S6)(t.views,function(a){i=i.concat(n.getGeometries(a))}),i},e.prototype.loopLegends=function(t){var n=this.view.getRootView()===this.view;if(!!n){var i=this.getGeometries(this.view),a={};(0,f.S6)(i,function(o){var s=o.getGroupAttributes();(0,f.S6)(s,function(l){var u=l.getScale(l.type);!u||u.type==="identity"||a[u.field]||(t(o,l,u),a[u.field]=!0)})})}},e.prototype.createFieldLegend=function(t,n,i){var a,o=hd(this.option,i.field),s=rt.FORE,l=js(o);if(o!==!1&&((0,f.U2)(o,"custom")?a=this.createCustomLegend(t,n,i,o):i.isLinear?a=this.createContinuousLegend(t,n,i,o):i.isCategory&&(a=this.createCategoryLegend(t,n,i,o))),a)return a.set("field",i.field),{id:this.getId(i.field),component:a,layer:s,direction:l,type:bt.LEGEND,extra:{scale:i}}},e.prototype.createCustomLegend=function(t,n,i,a){var o=this.getCategoryCfg(t,n,i,a,!0);return new Ah(o)},e.prototype.createContinuousLegend=function(t,n,i,a){var o=this.getContinuousCfg(t,n,i,Vr(a,["value"]));return new $1(o)},e.prototype.createCategoryLegend=function(t,n,i,a){var o=this.getCategoryCfg(t,n,i,a);return new Ah(o)},e.prototype.getContinuousCfg=function(t,n,i,a){var o=i.getTicks(),s=(0,f.sE)(o,function(y){return y.value===0}),l=(0,f.sE)(o,function(y){return y.value===1}),u=o.map(function(y){var x=y.value,m=y.tickValue,w=n.mapping(i.invert(x)).join("");return{value:m,attrValue:w,color:w,scaleValue:x}});s||u.push({value:i.min,attrValue:n.mapping(i.invert(0)).join(""),color:n.mapping(i.invert(0)).join(""),scaleValue:0}),l||u.push({value:i.max,attrValue:n.mapping(i.invert(1)).join(""),color:n.mapping(i.invert(1)).join(""),scaleValue:1}),u.sort(function(y,x){return y.value-x.value});var c={min:(0,f.YM)(u).value,max:(0,f.Z$)(u).value,colors:[],rail:{type:n.type},track:{}};n.type==="size"&&(c.track={style:{fill:n.type==="size"?this.view.getTheme().defaultColor:void 0}}),n.type==="color"&&(c.colors=u.map(function(y){return y.attrValue}));var h=this.container,v=js(a),p=Du(v),g=(0,f.U2)(a,"title");return g&&(g=(0,f.b$)({text:ja(i)},g)),c.container=h,c.layout=p,c.title=g,c.animateOption=va,this.mergeLegendCfg(c,a,"continuous")},e.prototype.getCategoryCfg=function(t,n,i,a,o){var s=this.container,l=(0,f.U2)(a,"position",tt.BOTTOM),u=Hv(this.view.getTheme(),l),c=(0,f.U2)(u,["marker"]),h=(0,f.U2)(a,"marker"),v=Du(l),p=(0,f.U2)(u,["pageNavigator"]),g=(0,f.U2)(a,"pageNavigator"),y=o?rS(c,h,a.items):Uv(this.view,t,n,c,h),x=(0,f.U2)(a,"title");x&&(x=(0,f.b$)({text:i?ja(i):""},x));var m=(0,f.U2)(a,"maxWidthRatio"),w=(0,f.U2)(a,"maxHeightRatio"),M=this.getCategoryLegendSizeCfg(v,m,w);M.container=s,M.layout=v,M.items=y,M.title=x,M.animateOption=va,M.pageNavigator=(0,f.b$)({},p,g);var S=this.mergeLegendCfg(M,a,l);S.reversed&&S.items.reverse();var A=(0,f.U2)(S,"maxItemWidth");return A&&A<=1&&(S.maxItemWidth=this.view.viewBBox.width*A),S},e.prototype.mergeLegendCfg=function(t,n,i){var a=i.split("-")[0],o=Hv(this.view.getTheme(),a);return(0,f.b$)({},o,t,n)},e.prototype.getId=function(t){return"".concat(this.name,"-").concat(t)},e.prototype.getComponentById=function(t){return(0,f.sE)(this.components,function(n){return n.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,n,i){n===void 0&&(n=Pt),i===void 0&&(i=Pt);var a=this.view.viewBBox,o=a.width,s=a.height;return t==="vertical"?{maxWidth:o*n,maxHeight:s}:{maxWidth:o,maxHeight:s*i}},e}(ha),YA=GA,XA=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.onChangeFn=f.ZT,n.resetMeasure=function(){n.clear()},n.onValueChange=function(i){var a=(0,d.CR)(i,2),o=a[0],s=a[1];n.start=o,n.end=s,n.changeViewData(o,s)},n.container=n.view.getLayer(rt.FORE).addGroup(),n.onChangeFn=(0,f.P2)(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(Z.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(Z.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(Z.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(Z.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),n=t.start,i=t.end;(0,f.UM)(this.start)&&(this.start=n,this.end=i);var a=this.view.getOptions().data;this.option&&!(0,f.xb)(a)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var n=this.view.coordinateBBox.width,i=this.slider.component.get("padding"),a=(0,d.CR)(i,4),o=a[0],s=a[1],l=a[2],u=a[3],c=this.slider.component.getLayoutBBox(),h=new _r(c.x,c.y,Math.min(c.width,n),c.height).expand(i),v=this.getMinMaxText(this.start,this.end),p=v.minText,g=v.maxText,y=(0,d.CR)(ui(this.view.viewBBox,h,tt.BOTTOM),2),x=y[0],m=y[1],w=(0,d.CR)(ui(this.view.coordinateBBox,h,tt.BOTTOM),2),M=w[0],S=w[1];this.slider.component.update((0,d.pi)((0,d.pi)({},this.getSliderCfg()),{x:M+u,y:m+o,width:this.width,start:this.start,end:this.end,minText:p,maxText:g})),this.view.viewBBox=this.view.viewBBox.cut(h,tt.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),n=new H1((0,d.pi)({container:this.container},t));return n.init(),{component:n,layer:rt.FORE,direction:tt.BOTTOM,type:bt.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var n=this.getMinMaxText(this.start,this.end),i=n.minText,a=n.maxText;t=(0,d.pi)((0,d.pi)({},t),{width:this.width,start:this.start,end:this.end,minText:i,maxText:a})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if((0,f.Kn)(this.option)){var n=(0,d.pi)({data:this.getData()},(0,f.U2)(this.option,"trendCfg",{}));t=(0,f.b$)({},t,this.getThemeOptions(),this.option),t=(0,d.pi)((0,d.pi)({},t),{trendCfg:n})}return t.start=(0,f.uZ)(Math.min((0,f.UM)(t.start)?0:t.start,(0,f.UM)(t.end)?1:t.end),0,1),t.end=(0,f.uZ)(Math.max((0,f.UM)(t.start)?0:t.start,(0,f.UM)(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,n=(0,d.CR)(this.view.getYScales(),1),i=n[0],a=this.view.getGroupScales();if(a.length){var o=a[0],s=o.field,l=o.ticks;return t.reduce(function(u,c){return c[s]===l[0]&&u.push(c[i.field]),u},[])}return t.map(function(u){return u[i.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,f.U2)(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,n){var i=this.view.getOptions().data,a=this.view.getXScale(),o=!0,s=(0,f.I)(i,a.field);a.isLinear&&(s=s.sort());var l=o?s:s.reverse(),u=(0,f.dp)(i);if(!a||!u)return{};var c=(0,f.dp)(l),h=Math.round(t*(c-1)),v=Math.round(n*(c-1)),p=(0,f.U2)(l,[h]),g=(0,f.U2)(l,[v]),y=this.getSliderCfg().formatter;return y&&(p=y(p,i[h],h),g=y(g,i[v],v)),{minText:p,maxText:g}},e.prototype.changeViewData=function(t,n){var i=this.view.getOptions().data,a=this.view.getXScale(),o=(0,f.dp)(i);if(!(!a||!o)){var s=!0,l=(0,f.I)(i,a.field),u=this.view.getXScale().isLinear?l.sort(function(g,y){return Number(g)-Number(y)}):l,c=s?u:u.reverse(),h=(0,f.dp)(c),v=Math.round(t*(h-1)),p=Math.round(n*(h-1));this.view.filter(a.field,function(g,y){var x=c.indexOf(g);return x>-1?oa(x,v,p):!0}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(ha),WA=XA,Js=0,vd=8,ZA=32,qA=20,$A=function(r){(0,d.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.onChangeFn=f.ZT,n.resetMeasure=function(){n.clear()},n.onValueChange=function(i){var a=i.ratio,o=n.getValidScrollbarCfg().animate;n.ratio=(0,f.uZ)(a,0,1);var s=n.view.getOptions().animate;o||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(s)},n.container=n.view.getLayer(rt.FORE).addGroup(),n.onChangeFn=(0,f.P2)(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(Z.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(Z.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(Z.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(Z.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var n=this.view.coordinateBBox.width,i=this.scrollbar.component.get("padding"),a=this.scrollbar.component.getLayoutBBox(),o=new _r(a.x,a.y,Math.min(a.width,n),a.height).expand(i),s=this.getScrollbarComponentCfg(),l=void 0,u=void 0;if(s.isHorizontal){var c=(0,d.CR)(ui(this.view.viewBBox,o,tt.BOTTOM),2),h=c[0],v=c[1],p=(0,d.CR)(ui(this.view.coordinateBBox,o,tt.BOTTOM),2),g=p[0],y=p[1];l=g,u=v}else{var x=(0,d.CR)(ui(this.view.viewBBox,o,tt.RIGHT),2),h=x[0],v=x[1],m=(0,d.CR)(ui(this.view.viewBBox,o,tt.RIGHT),2),g=m[0],y=m[1];l=g,u=v}l+=i[3],u+=i[0],this.trackLen?this.scrollbar.component.update((0,d.pi)((0,d.pi)({},s),{x:l,y:u,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update((0,d.pi)((0,d.pi)({},s),{x:l,y:u})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?tt.BOTTOM:tt.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,f.U2)(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var n=(0,f.U2)(this.view.getTheme(),["components","scrollbar"]),i=t||{},a=i.thumbHighlightColor,o=(0,d._T)(i,["thumbHighlightColor"]);return{default:(0,f.b$)({},(0,f.U2)(n,["default","style"],{}),o),hover:(0,f.b$)({},(0,f.U2)(n,["hover","style"],{}),{thumbColor:a})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),n=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var i=this.getScrollbarComponentCfg(),a=i.trackLen,o=i.thumbLen;this.trackLen=a,this.thumbLen=o,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=n},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*(0,f.uZ)(this.ratio,0,1)),n=Math.min(t+this.step-1,this.cnt-1);return[t,n]},e.prototype.changeViewData=function(t,n){var i=this,a=(0,d.CR)(t,2),o=a[0],s=a[1],l=this.getValidScrollbarCfg().type,u=l!=="vertical",c=(0,f.I)(this.data,this.xScaleCfg.field),h=this.view.getXScale().isLinear?c.sort(function(p,g){return Number(p)-Number(g)}):c,v=u?h:h.reverse();this.yScalesCfg.forEach(function(p){i.view.scale(p.field,{formatter:p.formatter,type:p.type,min:p.min,max:p.max,tickMethod:p.tickMethod})}),this.view.filter(this.xScaleCfg.field,function(p){var g=v.indexOf(p);return g>-1?oa(g,o,s):!0}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,n=t!=="vertical",i=new Y1((0,d.pi)((0,d.pi)({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return i.init(),{component:i,layer:rt.FORE,direction:n?tt.BOTTOM:tt.RIGHT,type:bt.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),n=this.trackLen?(0,d.pi)((0,d.pi)({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):(0,d.pi)({},t);return this.scrollbar.component.update(n),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,n=this.getValidScrollbarCfg(),i=n.type,a=n.categorySize,o=i!=="vertical";return Math.floor((o?t.width:t.height)/a)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),n=this.getScrollbarData(),i=(0,f.I)(n,t.field);return(0,f.dp)(i)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,n=t.coordinateBBox,i=t.viewBBox,a=this.getValidScrollbarCfg(),o=a.type,s=a.padding,l=a.width,u=a.height,c=a.style,h=o!=="vertical",v=(0,d.CR)(s,4),p=v[0],g=v[1],y=v[2],x=v[3],m=h?{x:n.minX+x,y:i.maxY-u-y}:{x:i.maxX-l-g,y:n.minY+p},w=this.getStep(),M=this.getCnt(),S=h?n.width-x-g:n.height-p-y,A=Math.max(S*(0,f.uZ)(w/M,0,1),qA);return(0,d.pi)((0,d.pi)({},this.getThemeOptions()),{x:m.x,y:m.y,size:h?u:l,isHorizontal:h,trackLen:S,thumbLen:A,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:ZA,width:vd,height:vd,padding:[0,0,0,0],animate:!0,style:{}};return(0,f.Kn)(this.option)&&(t=(0,d.pi)((0,d.pi)({},t),this.option)),(!(0,f.Kn)(this.option)||!this.option.padding)&&(t.padding=t.type==="horizontal"?[Js,0,Js,0]:[0,Js,0,Js]),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),n=this.getValidScrollbarCfg(),i=this.view.getOptions().data||[];return t.isReflect("y")&&n.type==="vertical"&&(i=(0,d.ev)([],(0,d.CR)(i),!1).reverse()),i},e}(ha),jA=$A,JA={fill:"#CCD6EC",opacity:.3};function KA(r,e,t){var n,i,a,o,s,l,u=wM(r,e,t);if(u.length){u=(0,f.xH)(u);try{for(var c=(0,d.XA)(u),h=c.next();!h.done;h=c.next()){var v=h.value;try{for(var p=(a=void 0,(0,d.XA)(v)),g=p.next();!g.done;g=p.next()){var y=g.value,x=y.mappingData,m=x.x,w=x.y;y.x=(0,f.kJ)(m)?m[m.length-1]:m,y.y=(0,f.kJ)(w)?w[w.length-1]:w}}catch(ut){a={error:ut}}finally{try{g&&!g.done&&(o=p.return)&&o.call(p)}finally{if(a)throw a.error}}}}catch(ut){n={error:ut}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}var M=t.shared;if(M===!1&&u.length>1){var S=u[0],A=Math.abs(e.y-S[0].y);try{for(var B=(0,d.XA)(u),U=B.next();!U.done;U=B.next()){var Q=U.value,dt=Math.abs(e.y-Q[0].y);dt<=A&&(S=Q,A=dt)}}catch(ut){s={error:ut}}finally{try{U&&!U.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}u=[S]}return(0,f.jj)((0,f.xH)(u))}return[]}var QA=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(t){var n=this.context.view,i=this.context.event,a=n.getController("tooltip").getTooltipCfg(),o=KA(n,{x:i.x,y:i.y},a);if(!(0,f.Xy)(o,this.items)&&(this.items=o,o.length)){var s=n.getXScale().field,l=o[0].data[s],u=[],c=n.geometries;if((0,f.S6)(c,function(he){if(he.type==="interval"||he.type==="schema"){var ue=he.getElementsBy(function(ve){var Te=ve.getData();return Te[s]===l});u=u.concat(ue)}}),u.length){var h=n.getCoordinate(),v=u[0].shape.getCanvasBBox(),p=u[0].shape.getCanvasBBox(),g=v;(0,f.S6)(u,function(he){var ue=he.shape.getCanvasBBox();h.isTransposed?(ue.minYp.maxY&&(p=ue)):(ue.minXp.maxX&&(p=ue)),g.x=Math.min(ue.minX,g.minX),g.y=Math.min(ue.minY,g.minY),g.width=Math.max(ue.maxX,g.maxX)-g.x,g.height=Math.max(ue.maxY,g.maxY)-g.y});var y=n.backgroundGroup,x=n.coordinateBBox,m=void 0;if(h.isRect){var w=n.getXScale(),M=t||{},S=M.appendRatio,A=M.appendWidth;(0,f.UM)(A)&&(S=(0,f.UM)(S)?w.isLinear?0:.25:S,A=h.isTransposed?S*p.height:S*v.width);var B=void 0,U=void 0,Q=void 0,dt=void 0;h.isTransposed?(B=x.minX,U=Math.min(p.minY,v.minY)-A,Q=x.width,dt=g.height+A*2):(B=Math.min(v.minX,p.minX)-A,U=x.minY,Q=g.width+A*2,dt=x.height),m=[["M",B,U],["L",B+Q,U],["L",B+Q,U+dt],["L",B,U+dt],["Z"]]}else{var ut=(0,f.YM)(u),Dt=(0,f.Z$)(u),jt=qa(ut.getModel(),h).startAngle,fe=qa(Dt.getModel(),h).endAngle,me=h.getCenter(),be=h.getRadius(),Nt=h.innerRadius*be;m=Kn(me.x,me.y,be,jt,fe,Nt)}if(this.regionPath)this.regionPath.attr("path",m),this.regionPath.show();else{var ie=(0,f.U2)(t,"style",JA);this.regionPath=y.addShape({type:"path",name:"active-region",capture:!1,attrs:(0,d.pi)((0,d.pi)({},ie),{path:m})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),r.prototype.destroy.call(this)},e}(ar),tT=QA,eT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.context,n=t.event,i=t.view,a=i.isTooltipLocked();if(!a){var o=this.timeStamp,s=+new Date,l=(0,f.U2)(t.view.getOptions(),"tooltip.showDelay",16);if(s-o>l){var u=this.location,c={x:n.x,y:n.y};(!u||!(0,f.Xy)(u,c))&&this.showTooltip(i,c),this.timeStamp=s,this.location=c}}},e.prototype.hide=function(){var t=this.context.view,n=t.getController("tooltip"),i=this.context.event,a=i.clientX,o=i.clientY;n.isCursorEntered({x:a,y:o})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,n){t.showTooltip(n)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(ar),pd=eT,rT=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.showTooltip=function(t,n){var i=Cn(t);(0,f.S6)(i,function(a){var o=Au(t,a,n);a.showTooltip(o)})},e.prototype.hideTooltip=function(t){var n=Cn(t);(0,f.S6)(n,function(i){i.hideTooltip()})},e}(pd),nT=rT,iT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,n=t.event,i=this.timeStamp,a=+new Date;if(a-i>16){var o=this.location,s={x:n.x,y:n.y};(!o||!(0,f.Xy)(o,s))&&this.showTooltip(s),this.timeStamp=a,this.location=s}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var n=this.context,i=n.event,a=i.target;if(a&&a.get("tip")){if(!this.tooltip)this.renderTooltip();else{var o=n.view,s=o.canvas,l={start:{x:0,y:0},end:{x:s.get("width"),y:s.get("height")}};this.tooltip.set("region",l)}var u=a.get("tip");this.tooltip.update((0,d.pi)({title:u},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,n=this.context.view,i=n.canvas,a={start:{x:0,y:0},end:{x:i.get("width"),y:i.get("height")}},o=n.getTheme(),s=(0,f.U2)(o,["components","tooltip","domStyles"],{}),l=new gs({parent:i.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:(0,d.pi)({},(0,f.b$)({},s,(t={},t[Nn]={"max-width":"50%"},t[zn]={"word-break":"break-all"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(ar),aT=iT,oT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t}return e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,n){t.setState(this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var n=this,i=lv(t,this.stateName);(0,f.S6)(i,function(a){n.setElementState(a,!1)})},e}(ar),dc=oT;function dd(r){return(0,f.U2)(r.get("delegateObject"),"item")}var sT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.ignoreListItemStates=["unchecked"],t}return e.prototype.isItemIgnore=function(t,n){var i=this.ignoreListItemStates,a=i.filter(function(o){return n.hasState(t,o)});return!!a.length},e.prototype.setStateByComponent=function(t,n,i){var a=this.context.view,o=t.get("field"),s=wr(a);this.setElementsStateByItem(s,o,n,i)},e.prototype.setStateByElement=function(t,n){this.setElementState(t,n)},e.prototype.isMathItem=function(t,n,i){var a=this.context.view,o=ca(a,n),s=un(t,n);return!(0,f.UM)(s)&&i.name===o.getText(s)},e.prototype.setElementsStateByItem=function(t,n,i,a){var o=this;(0,f.S6)(t,function(s){o.isMathItem(s,n,i)&&s.setState(o.stateName,a)})},e.prototype.setStateEnable=function(t){var n=ei(this.context);if(n)iv(this.context)&&this.setStateByElement(n,t);else{var i=Ai(this.context);if(to(i)){var a=i.item,o=i.component;if(a&&o&&!this.isItemIgnore(a,o)){var s=this.context.event.gEvent;if(s&&s.fromShape&&s.toShape&&dd(s.fromShape)===dd(s.toShape))return;this.setStateByComponent(o,a,t)}}}},e.prototype.toggle=function(){var t=ei(this.context);if(t){var n=t.hasState(this.stateName);this.setElementState(t,!n)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(dc),gc=sT,lT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(gc),uT=lT,cT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.cache={},t}return e.prototype.getColorScale=function(t,n){var i=n.geometry.getAttribute("color");if(!i)return null;var a=t.getScaleByField(i.getFields()[0]);return a},e.prototype.getLinkPath=function(t,n){var i=this.context.view,a=i.getCoordinate().isTransposed,o=t.shape.getCanvasBBox(),s=n.shape.getCanvasBBox(),l=a?[["M",o.minX,o.minY],["L",s.minX,s.maxY],["L",s.maxX,s.maxY],["L",o.maxX,o.minY],["Z"]]:[["M",o.maxX,o.minY],["L",s.minX,s.minY],["L",s.minX,s.maxY],["L",o.maxX,o.maxY],["Z"]];return l},e.prototype.addLinkShape=function(t,n,i,a){var o={opacity:.4,fill:n.shape.attr("fill")};t.addShape({type:"path",attrs:(0,d.pi)((0,d.pi)({},(0,f.b$)({},o,(0,f.mf)(a)?a(o,n):a)),{path:this.getLinkPath(n,i)})})},e.prototype.linkByElement=function(t,n){var i=this,a=this.context.view,o=this.getColorScale(a,t);if(!!o){var s=un(t,o.field);if(!this.cache[s]){var l=$w(a,o.field,s),u=this.linkGroup,c=u.addGroup();this.cache[s]=c;var h=l.length;(0,f.S6)(l,function(v,p){if(p=0},n)},e}(yc),yd=CT,bT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,n){var i=this.context.view,a=wr(i);gd(a,function(o){return t===o},n)},e.prototype.clear=function(){var t=this.context.view;xc(t)},e}(mc),AT=bT,TT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(yc),ET=TT,FT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(gc),_T=FT,IT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(mc),kT=IT,LT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t.ignoreItemStates=[],t}return e.prototype.getTriggerListInfo=function(){var t=Ai(this.context),n=null;return to(t)&&(n={item:t.item,list:t.component}),n},e.prototype.getAllowComponents=function(){var t=this,n=this.context.view,i=fv(n),a=[];return(0,f.S6)(i,function(o){o.isList()&&t.allowSetStateByElement(o)&&a.push(o)}),a},e.prototype.hasState=function(t,n){return t.hasState(n,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,n=this.getAllowComponents();(0,f.S6)(n,function(i){i.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var n=t.get("field");if(!n)return!1;if(this.cfg&&this.cfg.componentNames){var i=t.get("name");if(this.cfg.componentNames.indexOf(i)===-1)return!1}var a=this.context.view,o=ca(a,n);return o&&o.isCategory},e.prototype.allowSetStateByItem=function(t,n){var i=this.ignoreItemStates;if(i.length){var a=i.filter(function(o){return n.hasState(t,o)});return a.length===0}return!0},e.prototype.setStateByElement=function(t,n,i){var a=t.get("field"),o=this.context.view,s=ca(o,a),l=un(n,a),u=s.getText(l);this.setItemsState(t,u,i)},e.prototype.setStateEnable=function(t){var n=this,i=ei(this.context);if(i){var a=this.getAllowComponents();(0,f.S6)(a,function(u){n.setStateByElement(u,i,t)})}else{var o=Ai(this.context);if(to(o)){var s=o.item,l=o.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(s,l)&&this.setItemState(l,s,t)}}},e.prototype.setItemsState=function(t,n,i){var a=this,o=t.getItems();(0,f.S6)(o,function(s){s.name===n&&a.setItemState(t,s,i)})},e.prototype.setItemState=function(t,n,i){t.setItemState(n,this.stateName,i)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var n=t.list,i=t.item,a=this.hasState(n,i);this.setItemState(n,i,!a)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(ar),ki=LT,PT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(ki),DT=PT,md="inactive",xd="active";function OT(r){var e=r.getItems();(0,f.S6)(e,function(t){r.hasState(t,xd)&&r.setItemState(t,xd,!1),r.hasState(t,md)&&r.setItemState(t,md,!1)})}var go="inactive",Li="active",BT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Li,t.ignoreItemStates=["unchecked"],t}return e.prototype.setItemsState=function(t,n,i){this.setHighlightBy(t,function(a){return a.name===n},i)},e.prototype.setItemState=function(t,n,i){var a=t.getItems();this.setHighlightBy(t,function(o){return o===n},i)},e.prototype.setHighlightBy=function(t,n,i){var a=t.getItems();if(i)(0,f.S6)(a,function(l){n(l)?(t.hasState(l,go)&&t.setItemState(l,go,!1),t.setItemState(l,Li,!0)):t.hasState(l,Li)||t.setItemState(l,go,!0)});else{var o=t.getItemsByState(Li),s=!0;(0,f.S6)(o,function(l){if(!n(l))return s=!1,!1}),s?this.clear():(0,f.S6)(a,function(l){n(l)&&(t.hasState(l,Li)&&t.setItemState(l,Li,!1),t.setItemState(l,go,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)OT(t.list);else{var n=this.getAllowComponents();(0,f.S6)(n,function(i){i.clearItemsState(Li),i.clearItemsState(go)})}},e}(ki),Mc=BT,RT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(ki),NT=RT,zT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="unchecked",t}return e.prototype.unchecked=function(){this.setState()},e}(ki),VT=zT,ga="unchecked",Ks="checked",UT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Ks,t}return e.prototype.setItemState=function(t,n,i){this.setCheckedBy(t,function(a){return a===n},i)},e.prototype.setCheckedBy=function(t,n,i){var a=t.getItems();i&&(0,f.S6)(a,function(o){n(o)?(t.hasState(o,ga)&&t.setItemState(o,ga,!1),t.setItemState(o,Ks,!0)):t.hasState(o,Ks)||t.setItemState(o,ga,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var n=t.list,i=t.item,a=!(0,f.G)(n.getItems(),function(o){return n.hasState(o,ga)});a||n.hasState(i,ga)?this.setItemState(n,i,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();(0,f.S6)(t,function(n){n.clearItemsState(Ks),n.clearItemsState(ga)})},e}(ki),HT=UT,ya="unchecked",GT=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.toggle=function(){var t,n,i,a,o,s,l,u,c=this.getTriggerListInfo();if(c!=null&&c.item){var h=c.list,v=c.item,p=h.getItems(),g=p.filter(function(ut){return!h.hasState(ut,ya)}),y=p.filter(function(ut){return h.hasState(ut,ya)}),x=g[0];if(p.length===g.length)try{for(var m=(0,d.XA)(p),w=m.next();!w.done;w=m.next()){var M=w.value;h.setItemState(M,ya,M.id!==v.id)}}catch(ut){t={error:ut}}finally{try{w&&!w.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}else if(p.length-y.length===1)if(x.id===v.id)try{for(var S=(0,d.XA)(p),A=S.next();!A.done;A=S.next()){var M=A.value;h.setItemState(M,ya,!1)}}catch(ut){i={error:ut}}finally{try{A&&!A.done&&(a=S.return)&&a.call(S)}finally{if(i)throw i.error}}else try{for(var B=(0,d.XA)(p),U=B.next();!U.done;U=B.next()){var M=U.value;h.setItemState(M,ya,M.id!==v.id)}}catch(ut){o={error:ut}}finally{try{U&&!U.done&&(s=B.return)&&s.call(B)}finally{if(o)throw o.error}}else try{for(var Q=(0,d.XA)(p),dt=Q.next();!dt.done;dt=Q.next()){var M=dt.value;h.setItemState(M,ya,M.id!==v.id)}}catch(ut){l={error:ut}}finally{try{dt&&!dt.done&&(u=Q.return)&&u.call(Q)}finally{if(l)throw l.error}}}},e}(ki),YT=GT,wd="showRadio",Sc="legend-radio-tip",XT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var n=t.list,i=t.item;n.setItemState(i,wd,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var n=t.list,i=t.item;n.setItemState(i,wd,!1)}},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.showTip=function(){var t=this.context,n=t.event,i=this.timeStamp,a=+new Date,o=this.context.event.target;if(a-i>16&&o.get("name")==="legend-item-radio"){var s=this.location,l={x:n.x,y:n.y};this.timeStamp=a,this.location=l,(!s||!(0,f.Xy)(s,l))&&this.showTooltip(l)}},e.prototype.hideTip=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var n=this.context,i=n.event,a=i.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=n.view.getCanvas().get("el").getBoundingClientRect(),s=o.x,l=o.y;this.tooltip.update((0,d.pi)((0,d.pi)({title:a.get("tip")},t),{x:t.x+s,y:t.y+l})),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,n=(t={},t[Nn]={padding:"6px 8px",transform:"translate(-50%, -80%)",background:"rgba(0,0,0,0.75)",color:"#fff","border-radius":"2px","z-index":100},t[zn]={"font-size":"12px","line-height":"14px","margin-bottom":0,"word-break":"break-all"},t);document.getElementById(Sc)&&document.body.removeChild(document.getElementById(Sc));var i=new gs({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:n,containerId:Sc});i.init(),i.setCapture(!1),this.tooltip=i},e}(ki),WT=XT,ZT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShape=null,t.points=[],t.starting=!1,t.moving=!1,t.preMovePoint=null,t.shapeType="path",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var n="mask:".concat(t),i=this.context.view,a=this.context.event;i.emit(n,{target:this.maskShape,shape:this.maskShape,points:this.points,x:a.x,y:a.y})},e.prototype.createMask=function(){var t=this.context.view,n=this.getMaskAttrs(),i=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:(0,d.pi)({fill:"#C5D4EB",opacity:.3},n)});return i},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(!(!this.moving||!this.maskShape)){var t=this.getCurrentPoint(),n=this.preMovePoint,i=t.x-n.x,a=t.y-n.y,o=this.points;(0,f.S6)(o,function(s){s.x+=i,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var n=(0,f.b$)({},this.getMaskAttrs(),t);this.maskShape.attr(n)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,r.prototype.destroy.call(this)},e}(ar),Cc=ZT;function Md(r){var e=(0,f.Z$)(r),t=0,n=0,i=0;if(r.length){var a=r[0];t=bu(a,e)/2,n=(e.x+a.x)/2,i=(e.y+a.y)/2}return{x:n,y:i,r:t}}var qT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t}return e.prototype.getMaskAttrs=function(){return Md(this.points)},e}(Cc),$T=qT;function Sd(r){return{start:(0,f.YM)(r),end:(0,f.Z$)(r)}}function Cd(r,e){var t=Math.min(r.x,e.x),n=Math.min(r.y,e.y),i=Math.abs(e.x-r.x),a=Math.abs(e.y-r.y);return{x:t,y:n,width:i,height:a}}var jT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(){return Sd(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),n=t.start,i=t.end;return Cd(n,i)},e}(Cc),bd=jT;function Ad(r){r.x=(0,f.uZ)(r.x,0,1),r.y=(0,f.uZ)(r.y,0,1)}function Td(r,e,t,n){var i=null,a=null,o=n.invert((0,f.YM)(r)),s=n.invert((0,f.Z$)(r));return t&&(Ad(o),Ad(s)),e==="x"?(i=n.convert({x:o.x,y:0}),a=n.convert({x:s.x,y:1})):(i=n.convert({x:0,y:o.y}),a=n.convert({x:1,y:s.y})),{start:i,end:a}}var JT=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(){var t=this.context.view.getCoordinate();return Td(this.points,this.dim,this.inPlot,t)},e}(bd),Ed=JT;function bc(r){var e=[];return r.length&&((0,f.S6)(r,function(t,n){n===0?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",r[0].x,r[0].y])),e}function Fd(r){return{path:bc(r)}}var KT=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return bc(this.points)},e.prototype.getMaskAttrs=function(){return Fd(this.points)},e.prototype.addPoint=function(){this.resize()},e}(Cc),_d=KT;function Ac(r){return Jw(r,!0)}function Id(r){return{path:Ac(r)}}var QT=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return Ac(this.points)},e.prototype.getMaskAttrs=function(){return Id(this.points)},e}(_d),tE=QT,eE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShapes=[],t.starting=!1,t.moving=!1,t.recordPoints=null,t.preMovePoint=null,t.shapeType="path",t.maskType="multi-mask",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var n="".concat(this.maskType,":").concat(t),i=this.context.view,a=this.context.event,o={type:this.shapeType,name:this.maskType,get:function(s){return o.hasOwnProperty(s)?o[s]:void 0}};i.emit(n,{target:o,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:a.x,y:a.y})},e.prototype.createMask=function(t){var n=this.context.view,i=this.recordPoints[t],a=this.getMaskAttrs(i),o=n.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:(0,d.pi)({fill:"#C5D4EB",opacity:.3},a)});this.maskShapes.push(o)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.show()}),this.emitEvent("show"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var n=this.recordPoints.length-1;this.createMask(n),this.updateShapesCapture(!1),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(!(!this.moving||this.maskShapes.length===0)){var t=this.getCurrentPoint(),n=this.preMovePoint,i=t.x-n.x,a=t.y-n.y,o=this.getCurMaskShapeIndex();o>-1&&(this.recordPoints[o].forEach(function(s){s.x+=i,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var n=this;this.recordPoints.forEach(function(i,a){var o=(0,f.b$)({},n.getMaskAttrs(i),t);n.maskShapes[a].attr(o)})},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent("change"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.hide()}),this.emitEvent("hide"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent("change"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach(function(t){return t.remove()}),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();t===-1?(this.recordPointClear(),this.maskShapes.forEach(function(n){return n.remove()}),this.maskShapes=[],this.emitEvent("clearAll")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent("clearSingle")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),r.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return(0,d.ev)([],(0,d.CR)((t=this.recordPoints)!==null&&t!==void 0?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),n=this.getCurrentPoint();this.recordPoints=(0,d.ev)((0,d.ev)([],(0,d.CR)(t),!1),[[n]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),n=this.getCurrentPoint(),i=t.splice(-1,1)[0]||[];i.push(n),this.recordPoints=(0,d.ev)((0,d.ev)([],(0,d.CR)(t),!1),[i],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach(function(n){return n.set("capture",t)})},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex(function(n){var i=n.attrs,a=i.width,o=i.height,s=i.r,l=a===0||o===0||s===0;return!l&&n.isHit(t.x,t.y)})},e}(ar),Tc=eE,rE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(t){return Sd(t)},e.prototype.getMaskAttrs=function(t){var n=this.getRegion(t),i=n.start,a=n.end;return Cd(i,a)},e}(Tc),kd=rE,nE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(t){var n=this.context.view.getCoordinate();return Td(t,this.dim,this.inPlot,n)},e}(kd),Ld=nE,iE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t.getMaskAttrs=Md,t}return e}(Tc),aE=iE,oE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=bc,t.getMaskAttrs=Fd,t}return e.prototype.addPoint=function(){this.resize()},e}(Tc),Pd=oE,sE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=Ac,t.getMaskAttrs=Id,t}return e}(Pd),lE=sE,uE=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.setCursor=function(t){var n=this.context.view;n.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e.prototype.zoomIn=function(){this.setCursor("zoom-in")},e.prototype.zoomOut=function(){this.setCursor("zoom-out")},e}(ar),cE=uE,fE=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,n,i){var a=this;t.getScaleByField(n)&&t.filter(n,i),t.views&&t.views.length&&(0,f.S6)(t.views,function(o){a.filterView(o,n,i)})},e.prototype.filter=function(){var t=Ai(this.context);if(t){var n=this.context.view,i=t.component,a=i.get("field");if(to(t)){if(a){var o=i.getItemsByState("unchecked"),s=ca(n,a),l=o.map(function(p){return p.name});l.length?this.filterView(n,a,function(p){var g=s.getText(p);return!l.includes(g)}):this.filterView(n,a,null),n.render(!0)}}else if(av(t)){var u=i.getValue(),c=(0,d.CR)(u,2),h=c[0],v=c[1];this.filterView(n,a,function(p){return p>=h&&p<=v}),n.render(!0)}}},e}(ar),hE=fE;function Dd(r,e,t,n){var i=Math.min(t[e],n[e]),a=Math.max(t[e],n[e]),o=(0,d.CR)(r.range,2),s=o[0],l=o[1];if(il&&(a=l),i===l&&a===l)return null;var u=r.invert(i),c=r.invert(a);if(r.isCategory){var h=r.values.indexOf(u),v=r.values.indexOf(c),p=r.values.slice(h,v+1);return function(g){return p.includes(g)}}else return function(g){return g>=u&&g<=c}}var Gr;(function(r){r.FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset"})(Gr||(Gr={}));var vE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=["x","y"],t.startPoint=null,t.isStarted=!1,t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,n;if(eo(this.context)){var i=this.context.event.target,a=i.getCanvasBBox();t={x:a.x,y:a.y},n={x:a.maxX,y:a.maxY}}else{if(!this.isStarted)return;t=this.startPoint,n=this.context.getCurrentPoint()}if(!(Math.abs(t.x-n.x)<5||Math.abs(t.x-n.y)<5)){var o=this.context,s=o.view,l=o.event,u={view:s,event:l,dims:this.dims};s.emit(Gr.BEFORE_FILTER,lr.fromData(s,Gr.BEFORE_FILTER,u));var c=s.getCoordinate(),h=c.invert(n),v=c.invert(t);if(this.hasDim("x")){var p=s.getXScale(),g=Dd(p,"x",h,v);this.filterView(s,p.field,g)}if(this.hasDim("y")){var y=s.getYScales()[0],g=Dd(y,"y",h,v);this.filterView(s,y.field,g)}this.reRender(s,{source:Gr.FILTER}),s.emit(Gr.AFTER_FILTER,lr.fromData(s,Gr.AFTER_FILTER,u))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(Gr.BEFORE_RESET,lr.fromData(t,Gr.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var n=t.getXScale();this.filterView(t,n.field,null)}if(this.hasDim("y")){var i=t.getYScales()[0];this.filterView(t,i.field,null)}this.reRender(t,{source:Gr.RESET}),t.emit(Gr.AFTER_RESET,lr.fromData(t,Gr.AFTER_RESET,{}))},e.prototype.filterView=function(t,n,i){t.filter(n,i)},e.prototype.reRender=function(t,n){t.render(!0,n)},e}(ar),Qs=vE,pE=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,n,i){var a=Cn(t);(0,f.S6)(a,function(o){o.filter(n,i)})},e.prototype.reRender=function(t){var n=Cn(t);(0,f.S6)(n,function(i){i.render(!0)})},e}(Qs),Ec=pE,dE=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filter=function(){var t=Ai(this.context),n=this.context.view,i=wr(n);if(eo(this.context)){var a=Cu(this.context,10);a&&(0,f.S6)(i,function(y){a.includes(y)?y.show():y.hide()})}else if(t){var o=t.component,s=o.get("field");if(to(t)){if(s){var l=o.getItemsByState("unchecked"),u=ca(n,s),c=l.map(function(y){return y.name});(0,f.S6)(i,function(y){var x=un(y,s),m=u.getText(x);c.indexOf(m)>=0?y.hide():y.show()})}}else if(av(t)){var h=o.getValue(),v=(0,d.CR)(h,2),p=v[0],g=v[1];(0,f.S6)(i,function(y){var x=un(y,s);x>=p&&x<=g?y.show():y.hide()})}}},e.prototype.clear=function(){var t=wr(this.context.view);(0,f.S6)(t,function(n){n.show()})},e.prototype.reset=function(){this.clear()},e}(ar),gE=dE,yE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.byRecord=!1,t}return e.prototype.filter=function(){eo(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,n=Cu(this.context,10);if(!!n){var i=t.getXScale().field,a=t.getYScales()[0].field,o=n.map(function(l){return l.getModel().data}),s=Cn(t);(0,f.S6)(s,function(l){var u=wr(l);(0,f.S6)(u,function(c){var h=c.getModel().data;vv(o,h,i,a)?c.show():c.hide()})})}},e.prototype.filterByBBox=function(){var t=this,n=this.context.view,i=Cn(n);(0,f.S6)(i,function(a){var o=ov(t.context,a,10),s=wr(a);o&&(0,f.S6)(s,function(l){o.includes(l)?l.show():l.hide()})})},e.prototype.reset=function(){var t=Cn(this.context.view);(0,f.S6)(t,function(n){var i=wr(n);(0,f.S6)(i,function(a){a.show()})})},e}(ar),Od=yE,mE=10,xE=5,wE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.buttonGroup=null,t.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},t}return e.prototype.getButtonCfg=function(){return(0,f.b$)(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),n=this.context.view.foregroundGroup.addGroup({name:t.name}),i=n.addShape({type:"text",name:"button-text",attrs:(0,d.pi)({text:t.text},t.textStyle)}),a=i.getBBox(),o=_u(t.padding),s=n.addShape({type:"rect",name:"button-rect",attrs:(0,d.pi)({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2]},t.style)});s.toBack(),n.on("mouseenter",function(){s.attr(t.activeStyle)}),n.on("mouseleave",function(){s.attr(t.style)}),this.buttonGroup=n},e.prototype.resetPosition=function(){var t=this.context.view,n=t.getCoordinate(),i=n.convert({x:1,y:1}),a=this.buttonGroup,o=a.getBBox(),s=nr.vs(null,[["t",i.x-o.width-mE,i.y+o.height+xE]]);a.setMatrix(s)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var t=this.buttonGroup;t&&t.remove(),r.prototype.destroy.call(this)},e}(ar),ME=wE,SE=4,CE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.dragStart=!1,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(!!this.startPoint){var t=this.context.getCurrentPoint(),n=this.context.view,i=this.context.event;this.dragStart?n.emit("drag",{target:i.target,x:i.x,y:i.y}):bu(t,this.startPoint)>SE&&(n.emit("dragstart",{target:i.target,x:i.x,y:i.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,n=this.context.event;t.emit("dragend",{target:n.target,x:n.x,y:n.y})}this.starting=!1,this.dragStart=!1},e}(ar),bE=CE,AE=5,TE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.isMoving=!1,t.startPoint=null,t.startMatrix=null,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(!!this.starting){var t=this.startPoint,n=this.context.getCurrentPoint(),i=bu(t,n);if(i>AE&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var a=this.context.view,o=nr.vs(this.startMatrix,[["t",n.x-t.x,n.y-t.y]]);a.backgroundGroup.setMatrix(o),a.foregroundGroup.setMatrix(o),a.middleGroup.setMatrix(o)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(ar),EE=TE,Bd="x",Rd="y",FE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=[Bd,Rd],t.cfgFields=["dims"],t.cacheScaleDefs={},t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var n=this.context.view;return t==="x"?n.getXScale():n.getYScales()[0]},e.prototype.resetDim=function(t){var n=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var i=this.getScale(t);n.scale(i.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(Bd),this.resetDim(Rd);var t=this.context.view;t.render(!0)},e}(ar),Nd=FE,_E=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.startPoint=null,t.starting=!1,t.startCache={},t}return e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var n=this.dims;(0,f.S6)(n,function(i){var a=t.getScale(i),o=a.min,s=a.max,l=a.values;t.startCache[i]={min:o,max:s,values:l}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(!!this.starting){var n=this.startPoint,i=this.context.view.getCoordinate(),a=this.context.getCurrentPoint(),o=i.invert(n),s=i.invert(a),l=s.x-o.x,u=s.y-o.y,c=this.context.view,h=this.dims;(0,f.S6)(h,function(v){t.translateDim(v,{x:l*-1,y:u*-1})}),c.render(!0)}},e.prototype.translateDim=function(t,n){if(this.hasDim(t)){var i=this.getScale(t);i.isLinear&&this.translateLinear(t,i,n)}},e.prototype.translateLinear=function(t,n,i){var a=this.context.view,o=this.startCache[t],s=o.min,l=o.max,u=l-s,c=i[t]*u;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:n.nice,min:s,max:l}),a.scale(n.field,{nice:!1,min:s+c,max:l+c})},e.prototype.reset=function(){r.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(Nd),IE=_E,kE=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.zoomRatio=.05,t}return e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var n=this,i=this.dims;(0,f.S6)(i,function(a){n.zoomDim(a,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,n){if(this.hasDim(t)){var i=this.getScale(t);i.isLinear&&this.zoomLinear(t,i,n)}},e.prototype.zoomLinear=function(t,n,i){var a=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:n.nice,min:n.min,max:n.max});var o=this.cacheScaleDefs[t],s=o.max-o.min,l=n.min,u=n.max,c=i*s,h=l-c,v=u+c,p=v-h,g=p/s;v>h&&g<100&&g>.01&&a.scale(n.field,{nice:!1,min:l-c,max:u+c})},e}(Nd),LE=kE;function PE(r){var e=r.gEvent.originalEvent;return e.deltaY>0}var DE=1,OE=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.scroll=function(t){var n=this.context,i=n.view,a=n.event;if(!!i.getOptions().scrollbar){var o=(t==null?void 0:t.wheelDelta)||DE,s=i.getController("scrollbar"),l=i.getXScale(),u=i.getOptions().data,c=(0,f.dp)((0,f.I)(u,l.field)),h=(0,f.dp)(l.values),v=s.getValue(),p=Math.floor((c-h)*v),g=p+(PE(a)?o:-o),y=o/(c-h)/1e4,x=(0,f.uZ)(g/(c-h)+y,0,1);s.setValue(x)}},e}(ar),BE=OE,RE="aixs-description-tooltip",NE=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(){var t=this.context,n=Ai(t).axis,i=n.cfg.title,a=i.description,o=i.text,s=i.descriptionTooltipStyle,l=t.event,u=l.x,c=l.y;this.tooltip||this.renderTooltip(),this.tooltip.update({title:o||"",customContent:function(){return` +
    +
    + \u5B57\u6BB5\u8BF4\u660E\uFF1A`).concat(a,` +
    +
    + `)},x:u,y:c}),this.tooltip.show()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.hide=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,n=this.context.view,i=n.canvas,a={start:{x:0,y:0},end:{x:i.get("width"),y:i.get("height")}},o=new gs({parent:i.get("el").parentNode,region:a,visible:!1,containerId:RE,domStyles:(0,d.pi)({},(0,f.b$)({},(t={},t[Nn]={"max-width":"50%",padding:"10px","line-height":"15px","font-size":"12px",color:"rgba(0, 0, 0, .65)"},t[zn]={"word-break":"break-all","margin-bottom":"3px"},t)))});o.init(),o.setCapture(!1),this.tooltip=o},e}(ar),zE=NE;vM("dark",yv(uS)),ht("canvas",ee),ht("svg",Ot),bn("Polygon",jC),bn("Interval",HC),bn("Schema",KC),bn("Path",tc),bn("Point",ZC),bn("Line",YC),bn("Area",LC),bn("Edge",DC),bn("Heatmap",BC),bn("Violin",eb),no("base",ks),no("interval",mb),no("pie",Mb),no("polar",Up),Ur("overlap",Ob),Ur("distribute",Cb),Ur("fixed-overlap",Db),Ur("hide-overlap",Xb),Ur("limit-in-shape",Ib),Ur("limit-in-canvas",_b),Ur("limit-in-plot",lA),Ur("pie-outer",Ab),Ur("adjust-color",Zb),Ur("interval-adjust-position",Jb),Ur("interval-hide-overlap",Qb),Ur("point-adjust-position",rA),Ur("pie-spider",Fb),Ur("path-adjust-position",aA),$r("fade-in",uA),$r("fade-out",cA),$r("grow-in-x",hA),$r("grow-in-xy",pA),$r("grow-in-y",vA),$r("scale-in-x",yA),$r("scale-in-y",mA),$r("wave-in",wA),$r("zoom-in",MA),$r("zoom-out",SA),$r("position-update",gA),$r("sector-path-update",xA),$r("path-in",dA),ua("rect",LA),ua("mirror",IA),ua("list",TA),ua("matrix",FA),ua("circle",bA),ua("tree",DA),Ti("axis",zA),Ti("legend",YA),Ti("tooltip",Tv),Ti("annotation",RA),Ti("slider",WA),Ti("scrollbar",jA),Ae("tooltip",pd),Ae("sibling-tooltip",nT),Ae("ellipsis-text",aT),Ae("element-active",uT),Ae("element-single-active",yT),Ae("element-range-active",pT),Ae("element-highlight",wc),Ae("element-highlight-by-x",ST),Ae("element-highlight-by-color",wT),Ae("element-single-highlight",AT),Ae("element-range-highlight",yd),Ae("element-sibling-highlight",yd,{effectSiblings:!0,effectByRecord:!0}),Ae("element-selected",_T),Ae("element-single-selected",kT),Ae("element-range-selected",ET),Ae("element-link-by-color",fT),Ae("active-region",tT),Ae("list-active",DT),Ae("list-selected",NT),Ae("list-highlight",Mc),Ae("list-unchecked",VT),Ae("list-checked",HT),Ae("list-focus",YT),Ae("list-radio",WT),Ae("legend-item-highlight",Mc,{componentNames:["legend"]}),Ae("axis-label-highlight",Mc,{componentNames:["axis"]}),Ae("axis-description",zE),Ae("rect-mask",bd),Ae("x-rect-mask",Ed,{dim:"x"}),Ae("y-rect-mask",Ed,{dim:"y"}),Ae("circle-mask",$T),Ae("path-mask",_d),Ae("smooth-path-mask",tE),Ae("rect-multi-mask",kd),Ae("x-rect-multi-mask",Ld,{dim:"x"}),Ae("y-rect-multi-mask",Ld,{dim:"y"}),Ae("circle-multi-mask",aE),Ae("path-multi-mask",Pd),Ae("smooth-path-multi-mask",lE),Ae("cursor",cE),Ae("data-filter",hE),Ae("brush",Qs),Ae("brush-x",Qs,{dims:["x"]}),Ae("brush-y",Qs,{dims:["y"]}),Ae("sibling-filter",Ec),Ae("sibling-x-filter",Ec,{dims:"x"}),Ae("sibling-y-filter",Ec,{dims:"y"}),Ae("element-filter",gE),Ae("element-sibling-filter",Od),Ae("element-sibling-filter-record",Od,{byRecord:!0}),Ae("view-drag",bE),Ae("view-move",EE),Ae("scale-translate",IE),Ae("scale-zoom",LE),Ae("reset-button",ME,{name:"reset-button",text:"reset"}),Ae("mousewheel-scroll",BE);function Hn(r){return r.isInPlot()}Le("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Le("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseout",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Le("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Le("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Le("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Le("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Le("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),Le("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Le("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Le("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),Le("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),Le("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(r){return!r.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(r){return!r.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),Le("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Hn,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:Hn,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:Hn,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),Le("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),Le("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Hn,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:Hn,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:Hn,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),Le("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Hn,action:"path-mask:start"},{trigger:"mousedown",isEnable:Hn,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),Le("brush-x-multi",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"mousedown",isEnable:Hn,action:["x-rect-multi-mask:start","x-rect-multi-mask:show"]},{trigger:"mask:dragstart",action:["x-rect-multi-mask:moveStart"]}],processing:[{trigger:"mousemove",isEnable:function(r){return!As(r)},action:["x-rect-multi-mask:resize"]},{trigger:"multi-mask:change",action:"element-range-highlight:highlight"},{trigger:"mask:drag",action:["x-rect-multi-mask:move"]}],end:[{trigger:"mouseup",action:["x-rect-multi-mask:end"]},{trigger:"mask:dragend",action:["x-rect-multi-mask:moveEnd"]}],rollback:[{trigger:"dblclick",action:["x-rect-multi-mask:clear","cursor:crosshair"]},{trigger:"multi-mask:clearAll",action:["element-range-highlight:clear"]},{trigger:"multi-mask:clearSingle",action:["element-range-highlight:highlight"]}]}),Le("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),Le("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:["cursor:pointer","list-radio:show"]},{trigger:"legend-item:mouseleave",action:["cursor:default","list-radio:hide"]}],start:[{trigger:"legend-item:click",isEnable:function(r){return!r.isInShape("legend-item-radio")},action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","data-filter:filter","list-radio:show"]},{trigger:"legend-item-radio:mouseenter",action:["list-radio:showTip"]},{trigger:"legend-item-radio:mouseleave",action:["list-radio:hideTip"]},{trigger:"legend-item-radio:click",action:["list-focus:toggle","data-filter:filter","list-radio:show"]}]}),Le("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),Le("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),Le("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","element-filter:filter"]}]}),Le("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),Le("axis-description",{start:[{trigger:"axis-description:mousemove",action:"axis-description:show"}],end:[{trigger:"axis-description:mouseleave",action:"axis-description:hide"}]});function zd(r){return r.gEvent.preventDefault(),r.gEvent.originalEvent.deltaY>0}Le("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(r){return zd(r.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(r){return!zd(r.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),Le("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),Le("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var Yr=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],hn;(function(r){r.ERROR="error",r.WARN="warn",r.INFO="log"})(hn||(hn={}));var Vd="AntV/G2Plot";function Ud(r){for(var e=[],t=1;t=0}),i=t.every(function(a){return(0,f.U2)(a,[e])<=0});return n?{min:0}:i?{max:0}:{}}function Hd(r,e,t,n,i){if(i===void 0&&(i=[]),!Array.isArray(r))return{nodes:[],links:[]};var a=[],o={},s=-1;return r.forEach(function(l){var u=l[e],c=l[t],h=l[n],v=Qe(l,i);o[u]||(o[u]=(0,d.pi)({id:++s,name:u},v)),o[c]||(o[c]=(0,d.pi)({id:++s,name:c},v)),a.push((0,d.pi)({source:o[u].id,target:o[c].id,value:h},v))}),{nodes:Object.values(o).sort(function(l,u){return l.id-u.id}),links:a}}function ma(r,e){var t=(0,f.hX)(r,function(n){var i=n[e];return i===null||typeof i=="number"&&!isNaN(i)});return Gn(hn.WARN,t.length===r.length,"illegal data existed in chart data."),t}var VE=5,UE={}.toString,Gd=function(r,e){return UE.call(r)==="[object "+e+"]"},HE=function(r){return Gd(r,"Array")},GE=function(r){return typeof r=="object"&&r!==null},Yd=function(r){if(!GE(r)||!Gd(r,"Object"))return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e},Xd=function(r,e,t,n){t=t||0,n=n||VE;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=e[i];a?Yd(a)?(Yd(r[i])||(r[i]={}),t=n&&r<=i}function ci(r){if((0,f.hj)(r))return[r,r,r,r];if((0,f.kJ)(r)){var e=r.length;if(e===1)return[r[0],r[0],r[0],r[0]];if(e===2)return[r[0],r[1],r[0],r[1]];if(e===3)return[r[0],r[1],r[2],r[1]];if(e===4)return r}return[0,0,0,0]}function el(r,e,t){e===void 0&&(e="bottom"),t===void 0&&(t=25);var n=ci(r),i=[e.startsWith("top")?t:0,e.startsWith("right")?t:0,e.startsWith("bottom")?t:0,e.startsWith("left")?t:0];return[n[0]+i[0],n[1]+i[1],n[2]+i[2],n[3]+i[3]]}function kc(r){var e=r.map(function(n){return ci(n)}),t=[0,0,0,0];return e.length>0&&(t=t.map(function(n,i){return e.forEach(function(a,o){n+=e[o][i]}),n})),t}function ZE(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var n=1,i=r.length;n"},key:"".concat(l===0?"top":"bottom","-statistic")},Qe(s,["offsetX","offsetY","rotate","style","formatter"])))}})},JE=function(r,e,t){var n=e.statistic,i=n.title,a=n.content;[i,a].forEach(function(o){if(!!o){var s=(0,f.mf)(o.style)?o.style(t):o.style;r.annotation().html((0,d.pi)({position:["50%","100%"],html:function(l,u){var c=u.getCoordinate(),h=u.views[0].getCoordinate(),v=h.getCenter(),p=h.getRadius(),g=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*p,y=v.y+g-c.y.start-parseFloat((0,f.U2)(s,"fontSize",0)),x=c.getRadius()*c.innerRadius*2;qd(l,(0,d.pi)({width:"".concat(x,"px"),transform:"translate(-50%, ".concat(y,"px)")},Zd(s)));var m=u.getData();if(o.customHtml)return o.customHtml(l,u,t,m);var w=o.content;return o.formatter&&(w=o.formatter(t,m)),w?(0,f.HD)(w)?w:"".concat(w):"
    "}},Qe(o,["offsetX","offsetY","rotate","style","formatter"])))}})};function $d(r,e){return e?(0,f.u4)(e,function(t,n,i){return t.replace(new RegExp("{\\s*".concat(i,"\\s*}"),"g"),n)},r):r}function He(r,e){return r.views.find(function(t){return t.id===e})}function mo(r){var e=r.parent;return e?e.views:[]}function jd(r){return mo(r).filter(function(e){return e!==r})}function xo(r,e,t){t===void 0&&(t=r.geometries),typeof e=="boolean"?r.animate(e):r.animate(!0),(0,f.S6)(t,function(n){var i;(0,f.mf)(e)?i=e(n.type||n.shapeType,n)||!0:i=e,n.animate(i)})}function nl(){return typeof window=="object"?window==null?void 0:window.devicePixelRatio:2}function Lc(r,e){e===void 0&&(e=r);var t=document.createElement("canvas"),n=nl();t.width=r*n,t.height=e*n,t.style.width="".concat(r,"px"),t.style.height="".concat(e,"px");var i=t.getContext("2d");return i.scale(n,n),t}function Pc(r,e,t,n){n===void 0&&(n=t);var i=e.backgroundColor,a=e.opacity;r.globalAlpha=a,r.fillStyle=i,r.beginPath(),r.fillRect(0,0,t,n),r.closePath()}function Jd(r,e,t){var n=r+e;return t?n*2:n}function Kd(r,e){var t=e?[[r*.25,r*.25],[r*.75,r*.75]]:[[r*.5,r*.5]];return t}function Dc(r,e){var t=e*Math.PI/180,n={a:Math.cos(t)*(1/r),b:Math.sin(t)*(1/r),c:-Math.sin(t)*(1/r),d:Math.cos(t)*(1/r),e:0,f:0};return n}var KE={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0};function QE(r,e,t,n){var i=e.size,a=e.fill,o=e.lineWidth,s=e.stroke,l=e.fillOpacity;r.beginPath(),r.globalAlpha=l,r.fillStyle=a,r.strokeStyle=s,r.lineWidth=o,r.arc(t,n,i/2,0,2*Math.PI,!1),r.fill(),o&&r.stroke(),r.closePath()}function tF(r){var e=_t({},KE,r),t=e.size,n=e.padding,i=e.isStagger,a=e.rotation,o=Jd(t,n,i),s=Kd(o,i),l=Lc(o,o),u=l.getContext("2d");Pc(u,e,o);for(var c=0,h=s;cM){var A=S/y.length,B=Math.max(1,Math.ceil(M/A)-1),U="".concat(y.slice(0,B),"...");w.attr("text",U)}}}}function IF(r,e,t){FF(r,e,t),_F(r,e,t)}function kF(r,e,t){return e===void 0&&(e=!0),t===void 0&&(t=!1),function(n){var i=n.options,a=n.chart,o=i.conversionTag,s=i.theme;return o&&!t&&(a.theme(_t({},(0,f.Kn)(s)?s:ro(s),{columnWidthRatio:1/3})),a.annotation().shape({render:function(l,u){var c=l.addGroup({id:"".concat(a.id,"-conversion-tag-group"),name:"conversion-tag-group"}),h=(0,f.sE)(a.geometries,function(g){return g.type==="interval"}),v={view:u,geometry:h,group:c,field:r,horizontal:e,options:EF(o,e)},p=h.elements;(0,f.S6)(p,function(g,y){y>0&&IF(v,p[y-1],g)})}})),n}}function LF(r){var e=r.options,t=e.legend,n=e.seriesField,i=e.isStack;return n?t!==!1&&(t=(0,d.pi)({position:i?"right-top":"top-left"},t)):t=!1,r.options.legend=t,r}function PF(r){var e=r.chart,t=r.options,n=t.data,i=t.columnStyle,a=t.color,o=t.columnWidthRatio,s=t.isPercent,l=t.isGroup,u=t.isStack,c=t.xField,h=t.yField,v=t.seriesField,p=t.groupField,g=t.tooltip,y=t.shape,x=s&&l&&u?vF(n,h,[c,p],h):Mo(n,h,c,h,s),m=[];u&&v&&!l?x.forEach(function(S){var A=m.find(function(B){return B[c]===S[c]&&B[v]===S[v]});A?A[h]+=S[h]||0:m.push((0,d.pi)({},S))}):m=x,e.data(m);var w=s?(0,d.pi)({formatter:function(S){var A;return{name:l&&u?"".concat(S[v]," - ").concat(S[p]):(A=S[v])!==null&&A!==void 0?A:S[c],value:(Number(S[h])*100).toFixed(2)+"%"}}},g):g,M=_t({},r,{options:{data:m,widthRatio:o,tooltip:w,interval:{shape:y,style:i,color:a}}});return Ar(M),M}function Nc(r){var e,t,n=r.options,i=n.xAxis,a=n.yAxis,o=n.xField,s=n.yField,l=n.data,u=n.isPercent,c=u?{max:1,min:0,minLimit:0,maxLimit:1}:{};return _e(ur((e={},e[o]=i,e[s]=a,e),(t={},t[o]={type:"cat"},t[s]=(0,d.pi)((0,d.pi)({},Fc(l,s)),c),t)))(r)}function DF(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n===!1?e.axis(a,!1):e.axis(a,n),i===!1?e.axis(o,!1):e.axis(o,i),r}function OF(r){var e=r.chart,t=r.options,n=t.legend,i=t.seriesField;return n&&i?e.legend(i,n):n===!1&&e.legend(!1),r}function BF(r){var e=r.chart,t=r.options,n=t.label,i=t.yField,a=t.isRange,o=br(e,"interval");if(!n)o.label(!1);else{var s=n.callback,l=(0,d._T)(n,["callback"]);o.label({fields:[i],callback:s,cfg:(0,d.pi)({layout:l!=null&&l.position?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},mr(a?(0,d.pi)({content:function(u){var c;return(c=u[i])===null||c===void 0?void 0:c.join("-")}},l):l))})}return r}function RF(r){var e=r.chart,t=r.options,n=t.tooltip,i=t.isGroup,a=t.isStack,o=t.groupField,s=t.data,l=t.xField,u=t.yField,c=t.seriesField;if(n===!1)e.tooltip(!1);else{var h=n;if(i&&a){var v=h.customItems,p=(h==null?void 0:h.formatter)||function(g){return{name:"".concat(g[c]," - ").concat(g[o]),value:g[u]}};h=(0,d.pi)((0,d.pi)({},h),{customItems:function(g){var y=[];return(0,f.S6)(g,function(x){var m=(0,f.hX)(s,function(w){return(0,f.BD)(w,Qe(x.data,[l,c]))});m.forEach(function(w){y.push((0,d.pi)((0,d.pi)((0,d.pi)({},x),{value:w[u],data:w,mappingData:{_origin:w}}),p(w)))})}),v?v(y):y}})}e.tooltip(h)}return r}function fl(r,e){e===void 0&&(e=!1);var t=r.options,n=t.seriesField;return _e(LF,We,jr("columnStyle"),fi,Qd("rect"),PF,Nc,DF,OF,RF,wo,Oc,BF,hg,or,tr,sr(),kF(t.yField,!e,!!n),TF(!t.isStack),Oi)(r)}function NF(r){var e=r.options,t=e.xField,n=e.yField,i=e.xAxis,a=e.yAxis,o={left:"bottom",right:"top",top:"left",bottom:"right"},s=a!==!1?(0,d.pi)({position:o[(a==null?void 0:a.position)||"left"]},a):!1,l=i!==!1?(0,d.pi)({position:o[(i==null?void 0:i.position)||"bottom"]},i):!1;return(0,d.pi)((0,d.pi)({},r),{options:(0,d.pi)((0,d.pi)({},e),{xField:n,yField:t,xAxis:s,yAxis:l})})}function zF(r){var e=r.options,t=e.label;return t&&!t.position&&(t.position="left",t.layout||(t.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}])),_t({},r,{options:{label:t}})}function VF(r){var e=r.options,t=e.seriesField,n=e.isStack,i=e.legend;return t?i!==!1&&(i=(0,d.pi)({position:n?"top-left":"right-top"},i||{})):i=!1,_t({},r,{options:{legend:i}})}function UF(r){var e=r.options,t=[{type:"transpose"},{type:"reflectY"}].concat(e.coordinate||[]);return _t({},r,{options:{coordinate:t}})}function HF(r){var e=r.chart,t=r.options,n=t.barStyle,i=t.barWidthRatio,a=t.minBarWidth,o=t.maxBarWidth,s=t.barBackground;return fl({chart:e,options:(0,d.pi)((0,d.pi)({},t),{columnStyle:n,columnWidthRatio:i,minColumnWidth:a,maxColumnWidth:o,columnBackground:s})},!0)}function pg(r){return _e(NF,zF,VF,dr,UF,HF)(r)}var GF=_t({},Oe.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),YF=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bar",t}return e.getDefaultOptions=function(){return GF},e.prototype.changeData=function(t){var n,i;this.updateOption({data:t});var a=this,o=a.chart,s=a.options,l=s.isPercent,u=s.xField,c=s.yField,h=s.xAxis,v=s.yAxis;n=[c,u],u=n[0],c=n[1],i=[v,h],h=i[0],v=i[1];var p=(0,d.pi)((0,d.pi)({},s),{xField:u,yField:c,yAxis:v,xAxis:h});Nc({chart:o,options:p}),o.changeData(Mo(t,u,c,u,l))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return pg},e}(Oe),XF=_t({},Oe.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),WF=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="column",t}return e.getDefaultOptions=function(){return XF},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this.options,i=n.yField,a=n.xField,o=n.isPercent,s=this,l=s.chart,u=s.options;Nc({chart:l,options:u}),this.chart.changeData(Mo(t,i,a,i,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return fl},e}(Oe),zc,hi="$$percentage$$",vi="$$mappingValue$$",Xn="$$conversion$$",Vc="$$totalPercentage$$",So="$$x$$",Co="$$y$$",ZF={appendPadding:[0,80],minSize:0,maxSize:1,meta:(zc={},zc[vi]={min:0,max:1,nice:!1},zc),label:{style:{fill:"#fff",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:"rgba(0,0,0,0.45)"}}},dg="CONVERSION_TAG_NAME";function Uc(r,e,t){var n=[],i=t.yField,a=t.maxSize,o=t.minSize,s=(0,f.U2)((0,f.UT)(e,i),[i]),l=(0,f.hj)(a)?a:1,u=(0,f.hj)(o)?o:0;return n=(0,f.UI)(r,function(c,h){var v=(c[i]||0)/s;return c[hi]=v,c[vi]=(l-u)*v+u,c[Xn]=[(0,f.U2)(r,[h-1,i]),c[i]],c}),n}function Hc(r){return function(e){var t=e.chart,n=e.options,i=n.conversionTag,a=n.filteredData,o=a||t.getOptions().data;if(i){var s=i.formatter;o.forEach(function(l,u){if(!(u<=0||Number.isNaN(l[vi]))){var c=r(l,u,o,{top:!0,name:dg,text:{content:(0,f.mf)(s)?s(l,o):s,offsetX:i.offsetX,offsetY:i.offsetY,position:"end",autoRotate:!1,style:(0,d.pi)({textAlign:"start",textBaseline:"middle"},i.style)}});t.annotation().line(c)}})}return e}}function qF(r){var e=r.chart,t=r.options,n=t.data,i=n===void 0?[]:n,a=t.yField,o=t.maxSize,s=t.minSize,l=Uc(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),r}function $F(r){var e=r.chart,t=r.options,n=t.xField,i=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.shape,u=l===void 0?"funnel":l,c=t.funnelStyle,h=t.state,v=rn(o,[n,i]),p=v.fields,g=v.formatter;Xr({chart:e,options:{type:"interval",xField:n,yField:vi,colorField:n,tooltipFields:(0,f.kJ)(p)&&p.concat([hi,Xn]),mapping:{shape:u,tooltip:g,color:a,style:c},label:s,state:h}});var y=br(r.chart,"interval");return y.adjust("symmetric"),r}function jF(r){var e=r.chart,t=r.options,n=t.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),r}function gg(r){var e=r.options,t=r.chart,n=e.maxSize,i=(0,f.U2)(t,["geometries","0","dataArray"],[]),a=(0,f.U2)(t,["options","data","length"]),o=(0,f.UI)(i,function(l){return(0,f.U2)(l,["0","nextPoints","0","x"])*a-.5}),s=function(l,u,c,h){var v=n-(n-l[vi])/2;return(0,d.pi)((0,d.pi)({},h),{start:[o[u-1]||u-.5,v],end:[o[u-1]||u-.5,v+.05]})};return Hc(s)(r),r}function yg(r){return _e(qF,$F,jF,gg)(r)}function JF(r){var e,t=r.chart,n=r.options,i=n.data,a=i===void 0?[]:i,o=n.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function KF(r){var e=r.chart,t=r.options,n=t.data,i=t.xField,a=t.yField,o=t.color,s=t.compareField,l=t.isTransposed,u=t.tooltip,c=t.maxSize,h=t.minSize,v=t.label,p=t.funnelStyle,g=t.state,y=t.showFacetTitle;return e.facet("mirror",{fields:[s],transpose:!l,padding:l?0:[32,0,0,0],showTitle:y,eachView:function(x,m){var w=l?m.rowIndex:m.columnIndex;l||x.coordinate({type:"rect",actions:[["transpose"],["scale",w===0?-1:1,-1]]});var M=Uc(m.data,n,{yField:a,maxSize:c,minSize:h});x.data(M);var S=rn(u,[i,a,s]),A=S.fields,B=S.formatter,U=l?{offset:w===0?10:-23,position:w===0?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:w===0?"end":"start"}};Xr({chart:x,options:{type:"interval",xField:i,yField:vi,colorField:i,tooltipFields:(0,f.kJ)(A)&&A.concat([hi,Xn]),mapping:{shape:"funnel",tooltip:B,color:o,style:p},label:v===!1?!1:_t({},U,v),state:g}})}}),r}function mg(r){var e=r.chart,t=r.index,n=r.options,i=n.conversionTag,a=n.isTransposed;((0,f.hj)(t)?[e]:e.views).forEach(function(o,s){var l=(0,f.U2)(o,["geometries","0","dataArray"],[]),u=(0,f.U2)(o,["options","data","length"]),c=(0,f.UI)(l,function(v){return(0,f.U2)(v,["0","nextPoints","0","x"])*u-.5}),h=function(v,p,g,y){var x=(t||s)===0?-1:1;return _t({},y,{start:[c[p-1]||p-.5,v[vi]],end:[c[p-1]||p-.5,v[vi]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:i!==!1?x*i.offsetX:0,style:{textAlign:(t||s)===0?"end":"start"}}})};Hc(h)(_t({},{chart:o,options:n}))})}function QF(r){var e=r.chart;return e.once("beforepaint",function(){return mg(r)}),r}function t_(r){return _e(JF,KF,QF)(r)}function e_(r){var e=r.chart,t=r.options,n=t.data,i=n===void 0?[]:n,a=t.yField,o=(0,f.u4)(i,function(u,c){return u+(c[a]||0)},0),s=(0,f.UT)(i,a)[a],l=(0,f.UI)(i,function(u,c){var h=[],v=[];if(u[Vc]=(u[a]||0)/o,c){var p=i[c-1][So],g=i[c-1][Co];h[0]=p[3],v[0]=g[3],h[1]=p[2],v[1]=g[2]}else h[0]=-.5,v[0]=1,h[1]=.5,v[1]=1;return v[2]=v[1]-u[Vc],h[2]=(v[2]+1)/4,v[3]=v[2],h[3]=-h[2],u[So]=h,u[Co]=v,u[hi]=(u[a]||0)/s,u[Xn]=[(0,f.U2)(i,[c-1,a]),u[a]],u});return e.data(l),r}function r_(r){var e=r.chart,t=r.options,n=t.xField,i=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.funnelStyle,u=t.state,c=rn(o,[n,i]),h=c.fields,v=c.formatter;return Xr({chart:e,options:{type:"polygon",xField:So,yField:Co,colorField:n,tooltipFields:(0,f.kJ)(h)&&h.concat([hi,Xn]),label:s,state:u,mapping:{tooltip:v,color:a,style:l}}}),r}function n_(r){var e=r.chart,t=r.options,n=t.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),r}function i_(r){var e=function(t,n,i,a){return(0,d.pi)((0,d.pi)({},a),{start:[t[So][1],t[Co][1]],end:[t[So][1]+.05,t[Co][1]]})};return Hc(e)(r),r}function a_(r){return _e(e_,r_,n_,i_)(r)}function o_(r){var e,t=r.chart,n=r.options,i=n.data,a=i===void 0?[]:i,o=n.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function s_(r){var e=r.chart,t=r.options,n=t.seriesField,i=t.isTransposed,a=t.showFacetTitle;return e.facet("rect",{fields:[n],padding:[i?0:32,10,0,10],showTitle:a,eachView:function(o,s){yg(_t({},r,{chart:o,options:{data:s.data}}))}}),r}function l_(r){return _e(o_,s_)(r)}var u_=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.rendering=!1,t}return e.prototype.change=function(t){var n=this;if(!this.rendering){var i=t.seriesField,a=t.compareField,o=a?mg:gg,s=this.context.view,l=i||a?s.views:[s];(0,f.UI)(l,function(u,c){var h=u.getController("annotation"),v=(0,f.hX)((0,f.U2)(h,["option"],[]),function(g){var y=g.name;return y!==dg});h.clear(!0),(0,f.S6)(v,function(g){typeof g=="object"&&u.annotation()[g.type](g)});var p=(0,f.U2)(u,["filteredData"],u.getOptions().data);o({chart:u,index:c,options:(0,d.pi)((0,d.pi)({},t),{filteredData:Uc(p,p,t)})}),u.filterData(p),n.rendering=!0,u.render(!0)})}this.rendering=!1},e}(ar),xg="funnel-conversion-tag",Gc="funnel-afterrender",wg={trigger:"afterrender",action:"".concat(xg,":change")};Ae(xg,u_),Le(Gc,{start:[wg]});function c_(r){var e=r.options,t=e.compareField,n=e.xField,i=e.yField,a=e.locale,o=e.funnelStyle,s=e.data,l=al(a),u={label:t?{fields:[n,i,t,hi,Xn],formatter:function(h){return"".concat(h[i])}}:{fields:[n,i,hi,Xn],offset:0,position:"middle",formatter:function(h){return"".concat(h[n]," ").concat(h[i])}},tooltip:{title:n,formatter:function(h){return{name:h[n],value:h[i]}}},conversionTag:{formatter:function(h){return"".concat(l.get(["conversionTag","label"]),": ").concat(vg.apply(void 0,h[Xn]))}}},c;return(t||o)&&(c=function(h){return _t({},t&&{lineWidth:1,stroke:"#fff"},(0,f.mf)(o)?o(h):o)}),_t({options:u},r,{options:{funnelStyle:c,data:(0,f.d9)(s)}})}function f_(r){var e=r.options,t=e.compareField,n=e.dynamicHeight,i=e.seriesField;return i?l_(r):t?t_(r):n?a_(r):yg(r)}function h_(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return _e(ur((e={},e[a]=n,e[o]=i,e)))(r)}function v_(r){var e=r.chart;return e.axis(!1),r}function p_(r){var e=r.chart,t=r.options,n=t.legend;return n===!1?e.legend(!1):e.legend(n),r}function d_(r){var e=r.chart,t=r.options,n=t.interactions,i=t.dynamicHeight;return(0,f.S6)(n,function(a){a.enable===!1?e.removeInteraction(a.type):e.interaction(a.type,a.cfg||{})}),i?e.removeInteraction(Gc):e.interaction(Gc,{start:[(0,d.pi)((0,d.pi)({},wg),{arg:t})]}),r}function Mg(r){return _e(c_,f_,h_,v_,dr,d_,p_,tr,We,sr())(r)}var g_=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="funnel",t}return e.getDefaultOptions=function(){return ZF},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Mg},e.prototype.setState=function(t,n,i){i===void 0&&(i=!0);var a=yo(this.chart);(0,f.S6)(a,function(o){n(o.getData())&&o.setState(t,i)})},e.prototype.getStates=function(){var t=yo(this.chart),n=[];return(0,f.S6)(t,function(i){var a=i.getData(),o=i.getStates();(0,f.S6)(o,function(s){n.push({data:a,state:s,geometry:i.geometry,element:i})})}),n},e.CONVERSATION_FIELD=Xn,e.PERCENT_FIELD=hi,e.TOTAL_PERCENT_FIELD=Vc,e}(Oe),hl,Yc="range",Sg="type",Wn="percent",y_="#f0f0f0",Cg="indicator-view",bg="range-view",m_={percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(hl={},hl[Yc]={sync:"v"},hl[Wn]={sync:"v",tickCount:5,tickInterval:.2},hl),animation:!1};function x_(r,e){return r.map(function(t,n){var i;return i={},i[Yc]=t-(r[n-1]||0),i[Sg]="".concat(n),i[Wn]=e,i})}function Ag(r){var e;return[(e={},e[Wn]=(0,f.uZ)(r,0,1),e)]}function Tg(r,e){var t=(0,f.U2)(e,["ticks"],[]),n=(0,f.dp)(t)?(0,f.jj)(t):[0,(0,f.uZ)(r,0,1),1];return n[0]||n.shift(),x_(n,r)}function w_(r){var e=r.chart,t=r.options,n=t.percent,i=t.range,a=t.radius,o=t.innerRadius,s=t.startAngle,l=t.endAngle,u=t.axis,c=t.indicator,h=t.gaugeStyle,v=t.type,p=t.meter,g=i.color,y=i.width;if(c){var x=Ag(n),m=e.createView({id:Cg});m.data(x),m.point().position("".concat(Wn,"*1")).shape(c.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:c}),m.coordinate("polar",{startAngle:s,endAngle:l,radius:o*a}),m.axis(Wn,u),m.scale(Wn,Qe(u,Yr))}var w=Tg(n,t.range),M=e.createView({id:bg});M.data(w);var S=(0,f.HD)(g)?[g,y_]:g,A=Ar({chart:M,options:{xField:"1",yField:Yc,seriesField:Sg,rawFields:[Wn],isStack:!0,interval:{color:S,style:h,shape:v==="meter"?"meter-gauge":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:y,maxColumnWidth:y}}).ext,B=A.geometry;return B.customInfo({meter:p}),M.coordinate("polar",{innerRadius:o,radius:a,startAngle:s,endAngle:l}).transpose(),r}function M_(r){var e;return _e(ur((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[Wn]={},e)))(r)}function Eg(r,e){var t=r.chart,n=r.options,i=n.statistic,a=n.percent;if(t.getController("annotation").clear(!0),i){var o=i.content,s=void 0;o&&(s=_t({},{content:"".concat((a*100).toFixed(2),"%"),style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},o)),JE(t,{statistic:(0,d.pi)((0,d.pi)({},i),{content:s})},{percent:a})}return e&&t.render(!0),r}function S_(r){var e=r.chart,t=r.options,n=t.tooltip;return n?e.tooltip(_t({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(i,a){var o=(0,f.U2)(a,[0,"data",Wn],0);return"".concat((o*100).toFixed(2),"%")}},n)):e.tooltip(!1),r}function C_(r){var e=r.chart;return e.legend(!1),r}function Fg(r){return _e(We,tr,w_,M_,S_,Eg,or,sr(),C_)(r)}qe("point","gauge-indicator",{draw:function(r,e){var t=r.customInfo,n=t.indicator,i=t.defaultColor,a=n,o=a.pointer,s=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:(0,d.pi)({x1:u.x,y1:u.y,x2:r.x,y2:r.y,stroke:i},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:(0,d.pi)({x:u.x,y:u.y,stroke:i},s.style)}),l}}),qe("interval","meter-gauge",{draw:function(r,e){var t=r.customInfo.meter,n=t===void 0?{}:t,i=n.steps,a=i===void 0?50:i,o=n.stepRatio,s=o===void 0?.5:o;a=a<1?1:a,s=(0,f.uZ)(s,0,1);var l=this.coordinate,u=l.startAngle,c=l.endAngle,h=0;if(s>0&&s<1){var v=c-u;h=v/a/(s/(1-s)+1-1/a)}for(var p=h/(1-s)*s,g=e.addGroup(),y=this.coordinate.getCenter(),x=this.coordinate.getRadius(),m=Hr.getAngle(r,this.coordinate),w=m.startAngle,M=m.endAngle,S=w;S1?l/(n-1):s.max),!t&&!n){var c=A_(o);u=l/c}var h={},v=(0,f.vM)(a,i);(0,f.xb)(v)?(0,f.S6)(a,function(g){var y=g[e],x=_g(y,u,n),m="".concat(x[0],"-").concat(x[1]);(0,f.wH)(h,m)||(h[m]={range:x,count:0}),h[m].count+=1}):Object.keys(v).forEach(function(g){(0,f.S6)(v[g],function(y){var x=y[e],m=_g(x,u,n),w="".concat(m[0],"-").concat(m[1]),M="".concat(w,"-").concat(g);(0,f.wH)(h,M)||(h[M]={range:m,count:0},h[M][i]=g),h[M].count+=1})});var p=[];return(0,f.S6)(h,function(g){p.push(g)}),p}var vl="range",bo="count",T_=_t({},Oe.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function E_(r){var e=r.chart,t=r.options,n=t.data,i=t.binField,a=t.binNumber,o=t.binWidth,s=t.color,l=t.stackField,u=t.legend,c=t.columnStyle,h=Ig(n,i,o,a,l);e.data(h);var v=_t({},r,{options:{xField:vl,yField:bo,seriesField:l,isStack:!0,interval:{color:s,style:c}}});return Ar(v),u&&l?e.legend(l,u):e.legend(!1),r}function F_(r){var e,t=r.options,n=t.xAxis,i=t.yAxis;return _e(ur((e={},e[vl]=n,e[bo]=i,e)))(r)}function __(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis;return n===!1?e.axis(vl,!1):e.axis(vl,n),i===!1?e.axis(bo,!1):e.axis(bo,i),r}function I_(r){var e=r.chart,t=r.options,n=t.label,i=br(e,"interval");if(!n)i.label(!1);else{var a=n.callback,o=(0,d._T)(n,["callback"]);i.label({fields:[bo],callback:a,cfg:mr(o)})}return r}function kg(r){return _e(We,jr("columnStyle"),E_,F_,__,fi,I_,dr,or,tr)(r)}var k_=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="histogram",t}return e.getDefaultOptions=function(){return T_},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this.options,i=n.binField,a=n.binNumber,o=n.binWidth,s=n.stackField;this.chart.changeData(Ig(t,i,o,a,s))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return kg},e}(Oe),L_=_t({},Oe.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1}),P_=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.active=function(){var t=this.getView(),n=this.context.event;if(n.data){var i=n.data.items,a=t.geometries.filter(function(o){return o.type==="point"});(0,f.S6)(a,function(o){(0,f.S6)(o.elements,function(s){var l=(0,f.cx)(i,function(u){return u.data===s.data})!==-1;s.setState("active",l)})})}},e.prototype.reset=function(){var t=this.getView(),n=t.geometries.filter(function(i){return i.type==="point"});(0,f.S6)(n,function(i){(0,f.S6)(i.elements,function(a){a.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(ar);Ae("marker-active",P_),Le("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var D_=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t}return e.getDefaultOptions=function(){return L_},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;ul({chart:i,options:a}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return lg},e}(Oe),Lg=_t({},Oe.getDefaultOptions(),{legend:{position:"right",radio:{}},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}}),O_=[1,0,0,0,1,0,0,0,1];function Xc(r,e){var t=e?(0,d.ev)([],e,!0):(0,d.ev)([],O_,!0);return Hr.transform(t,r)}var B_=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getActiveElements=function(){var t=Hr.getDelegationObject(this.context);if(t){var n=this.context.view,i=t.component,a=t.item,o=i.get("field");if(o){var s=n.geometries[0].elements;return s.filter(function(l){return l.getModel().data[o]===a.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,n=this.getActiveElements(),i=t.geometries[0].labelsContainer.getChildren();return i.filter(function(a){return n.find(function(o){return(0,f.Xy)(o.getData(),a.get("data"))})})},e.prototype.transfrom=function(t){t===void 0&&(t=7.5);var n=this.getActiveElements(),i=this.getActiveElementLabels();n.forEach(function(a,o){var s=i[o],l=a.geometry.coordinate;if(l.isPolar&&l.isTransposed){var u=Hr.getAngle(a.getModel(),l),c=u.startAngle,h=u.endAngle,v=(c+h)/2,p=t,g=p*Math.cos(v),y=p*Math.sin(v);a.shape.setMatrix(Xc([["t",g,y]])),s.setMatrix(Xc([["t",g,y]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(ar);function R_(r){var e=r.event,t,n=e.target;return n&&(t=n.get("element")),t}var N_=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAnnotations=function(t){var n=t||this.context.view;return n.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,n=this.context.view;n.removeInteraction("tooltip"),n.on("afterchangesize",function(){var i=t.getAnnotations(n);t.initialAnnotation=i})},e.prototype.change=function(t){var n=this.context,i=n.view,a=n.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var o=(0,f.U2)(a,["data","data"]);if(a.type.match("legend-item")){var s=Hr.getDelegationObject(this.context),l=i.getGroupedFields()[0];if(s&&l){var u=s.item;o=i.getData().find(function(p){return p[l]===u.value})}}if(o){var c=(0,f.U2)(t,"annotations",[]),h=(0,f.U2)(t,"statistic",{});i.getController("annotation").clear(!0),(0,f.S6)(c,function(p){typeof p=="object"&&i.annotation()[p.type](p)}),rl(i,{statistic:h,plotType:"pie"},o),i.render(!0)}var v=R_(this.context);v&&v.shape.toFront()},e.prototype.reset=function(){var t=this.context.view,n=t.getController("annotation");n.clear(!0);var i=this.getInitialAnnotation();(0,f.S6)(i,function(a){t.annotation()[a.type](a)}),t.render(!0)},e}(ar),Pg="pie-statistic";Ae(Pg,N_),Le("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Ae("pie-legend",B_),Le("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});function z_(r,e){var t=null;return(0,f.S6)(r,function(n){typeof n[e]=="number"&&(t+=n[e])}),t}function V_(r,e){var t;switch(r){case"inner":return t="-30%",(0,f.HD)(e)&&e.endsWith("%")?parseFloat(e)*.01>0?t:e:e<0?e:t;case"outer":return t=12,(0,f.HD)(e)&&e.endsWith("%")?parseFloat(e)*.01<0?t:e:e>0?e:t;default:return e}}function pl(r,e){return(0,f.yW)(ma(r,e),function(t){return t[e]===0})}function U_(r){var e=r.chart,t=r.options,n=t.data,i=t.angleField,a=t.colorField,o=t.color,s=t.pieStyle,l=t.shape,u=ma(n,i);if(pl(u,i)){var c="$$percentage$$";u=u.map(function(v){var p;return(0,d.pi)((0,d.pi)({},v),(p={},p[c]=1/u.length,p))}),e.data(u);var h=_t({},r,{options:{xField:"1",yField:c,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Ar(h)}else{e.data(u);var h=_t({},r,{options:{xField:"1",yField:i,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Ar(h)}return r}function H_(r){var e,t=r.chart,n=r.options,i=n.meta,a=n.colorField,o=_t({},i);return t.scale(o,(e={},e[a]={type:"cat"},e)),r}function G_(r){var e=r.chart,t=r.options,n=t.radius,i=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"theta",cfg:{radius:n,innerRadius:i,startAngle:a,endAngle:o}}),r}function Y_(r){var e=r.chart,t=r.options,n=t.label,i=t.colorField,a=t.angleField,o=e.geometries[0];if(!n)o.label(!1);else{var s=n.callback,l=(0,d._T)(n,["callback"]),u=mr(l);if(u.content){var c=u.content;u.content=function(g,y,x){var m=g[i],w=g[a],M=e.getScaleByField(a),S=M==null?void 0:M.scale(w);return(0,f.mf)(c)?c((0,d.pi)((0,d.pi)({},g),{percent:S}),y,x):(0,f.HD)(c)?$d(c,{value:w,name:m,percentage:(0,f.hj)(S)&&!(0,f.UM)(w)?"".concat((S*100).toFixed(2),"%"):null}):c}}var h={inner:"",outer:"pie-outer",spider:"pie-spider"},v=u.type?h[u.type]:"pie-outer",p=u.layout?(0,f.kJ)(u.layout)?u.layout:[u.layout]:[];u.layout=(v?[{type:v}]:[]).concat(p),o.label({fields:i?[a,i]:[a],callback:s,cfg:(0,d.pi)((0,d.pi)({},u),{offset:V_(u.type,u.offset),type:"pie"})})}return r}function Dg(r){var e=r.innerRadius,t=r.statistic,n=r.angleField,i=r.colorField,a=r.meta,o=r.locale,s=al(o);if(e&&t){var l=_t({},Lg.statistic,t),u=l.title,c=l.content;return u!==!1&&(u=_t({},{formatter:function(h){var v=h?h[i]:(0,f.UM)(u.content)?s.get(["statistic","total"]):u.content,p=(0,f.U2)(a,[i,"formatter"])||function(g){return g};return p(v)}},u)),c!==!1&&(c=_t({},{formatter:function(h,v){var p=h?h[n]:z_(v,n),g=(0,f.U2)(a,[n,"formatter"])||function(y){return y};return h||(0,f.UM)(c.content)?g(p):c.content}},c)),_t({},{statistic:{title:u,content:c}},r)}return r}function Og(r){var e=r.chart,t=r.options,n=Dg(t),i=n.innerRadius,a=n.statistic;return e.getController("annotation").clear(!0),_e(sr())(r),i&&a&&rl(e,{statistic:a,plotType:"pie"}),r}function X_(r){var e=r.chart,t=r.options,n=t.tooltip,i=t.colorField,a=t.angleField,o=t.data;if(n===!1)e.tooltip(n);else if(e.tooltip(_t({},n,{shared:!1})),pl(o,a)){var s=(0,f.U2)(n,"fields"),l=(0,f.U2)(n,"formatter");(0,f.xb)((0,f.U2)(n,"fields"))&&(s=[i,a],l=l||function(u){return{name:u[i],value:(0,f.BB)(u[a])}}),e.geometries[0].tooltip(s.join("*"),xa(s,l))}return r}function W_(r){var e=r.chart,t=r.options,n=Dg(t),i=n.interactions,a=n.statistic,o=n.annotations;return(0,f.S6)(i,function(s){var l,u;if(s.enable===!1)e.removeInteraction(s.type);else if(s.type==="pie-statistic-active"){var c=[];!((l=s.cfg)===null||l===void 0)&&l.start||(c=[{trigger:"element:mouseenter",action:"".concat(Pg,":change"),arg:{statistic:a,annotations:o}}]),(0,f.S6)((u=s.cfg)===null||u===void 0?void 0:u.start,function(h){c.push((0,d.pi)((0,d.pi)({},h),{arg:{statistic:a,annotations:o}}))}),e.interaction(s.type,_t({},s.cfg,{start:c}))}else e.interaction(s.type,s.cfg||{})}),r}function Bg(r){return _e(jr("pieStyle"),U_,H_,We,G_,Di,X_,Y_,fi,Og,W_,tr)(r)}var Rg=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="pie",t}return e.getDefaultOptions=function(){return Lg},e.prototype.changeData=function(t){this.chart.emit(Z.BEFORE_CHANGE_DATA,lr.fromData(this.chart,Z.BEFORE_CHANGE_DATA,null));var n=this.options,i=this.options.angleField,a=ma(n.data,i),o=ma(t,i);pl(a,i)||pl(o,i)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),Og({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(Z.AFTER_CHANGE_DATA,lr.fromData(this.chart,Z.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Bg},e}(Oe),Ng=["#FAAD14","#E8EDF3"],Z_={percent:.2,color:Ng,animation:{}};function Wc(r){var e=(0,f.uZ)(Pi(r)?r:0,0,1);return[{current:"".concat(e),type:"current",percent:e},{current:"".concat(e),type:"target",percent:1}]}function zg(r){var e=r.chart,t=r.options,n=t.percent,i=t.progressStyle,a=t.color,o=t.barWidthRatio;e.data(Wc(n));var s=_t({},r,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:o,interval:{style:i,color:(0,f.HD)(a)?[a,Ng[1]]:a},args:{zIndexReversed:!0,sortZIndex:!0}}});return Ar(s),e.tooltip(!1),e.axis(!1),e.legend(!1),r}function q_(r){var e=r.chart;return e.coordinate("rect").transpose(),r}function Vg(r){return _e(zg,ur({}),q_,tr,We,sr())(r)}var $_=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="process",t}return e.getDefaultOptions=function(){return Z_},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Wc(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Vg},e}(Oe);function j_(r){var e=r.chart,t=r.options,n=t.innerRadius,i=t.radius;return e.coordinate("theta",{innerRadius:n,radius:i}),r}function Ug(r,e){var t=r.chart,n=r.options,i=n.innerRadius,a=n.statistic,o=n.percent,s=n.meta;if(t.getController("annotation").clear(!0),i&&a){var l=(0,f.U2)(s,["percent","formatter"])||function(c){return"".concat((c*100).toFixed(2),"%")},u=a.content;u&&(u=_t({},u,{content:(0,f.UM)(u.content)?l(o):u.content})),rl(t,{statistic:(0,d.pi)((0,d.pi)({},a),{content:u}),plotType:"ring-progress"},{percent:o})}return e&&t.render(!0),r}function Hg(r){return _e(zg,ur({}),j_,Ug,tr,We,sr())(r)}var J_={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}},Gg=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ring-process",t}return e.getDefaultOptions=function(){return J_},e.prototype.changeData=function(t){this.chart.emit(Z.BEFORE_CHANGE_DATA,lr.fromData(this.chart,Z.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Wc(t)),Ug({chart:this.chart,options:this.options},!0),this.chart.emit(Z.AFTER_CHANGE_DATA,lr.fromData(this.chart,Z.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Hg},e}(Oe),Ni=et(56645),K_={exp:Ni.regressionExp,linear:Ni.regressionLinear,loess:Ni.regressionLoess,log:Ni.regressionLog,poly:Ni.regressionPoly,pow:Ni.regressionPow,quad:Ni.regressionQuad};function Q_(r,e){var t=10,n={regionStyle:[{position:{start:[r,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[r,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[r,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[r,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-t,offsetY:-t,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:-t,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:t,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-t,offsetY:t,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return n}var tI=function(r,e){var t=e.view,n=e.options,i=n.xField,a=n.yField,o=t.getScaleByField(i),s=t.getScaleByField(a),l=r.map(function(u){return t.getCoordinate().convert({x:o.scale(u[0]),y:s.scale(u[1])})});return jE(l,!1)},eI=function(r){var e=r.options,t=e.xField,n=e.yField,i=e.data,a=e.regressionLine,o=a.type,s=o===void 0?"linear":o,l=a.algorithm,u=a.equation,c,h=null;if(l)c=(0,f.kJ)(l)?l:l(i),h=u;else{var v=K_[s]().x(function(p){return p[t]}).y(function(p){return p[n]});c=v(i),h=nI(s,c)}return[tI(c,r),h]},rI=function(r){var e,t=r.meta,n=t===void 0?{}:t,i=r.xField,a=r.yField,o=r.data,s=o[0][i],l=o[0][a],u=s>0,c=l>0;function h(v,p){var g=(0,f.U2)(n,[v]);function y(m){return(0,f.U2)(g,m)}var x={};return p==="x"?((0,f.hj)(s)&&((0,f.hj)(y("min"))||(x.min=u?0:s*2),(0,f.hj)(y("max"))||(x.max=u?s*2:0)),x):((0,f.hj)(l)&&((0,f.hj)(y("min"))||(x.min=c?0:l*2),(0,f.hj)(y("max"))||(x.max=c?l*2:0)),x)}return(0,d.pi)((0,d.pi)({},n),(e={},e[i]=(0,d.pi)((0,d.pi)({},n[i]),h(i,"x")),e[a]=(0,d.pi)((0,d.pi)({},n[a]),h(a,"y")),e))};function nI(r,e){var t,n,i,a=function(u,c){return c===void 0&&(c=4),Math.round(u*Math.pow(10,c))/Math.pow(10,c)},o=function(u){return Number.isFinite(u)?a(u):"?"};switch(r){case"linear":return"y = ".concat(o(e.a),"x + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"exp":return"y = ".concat(o(e.a),"e^(").concat(o(e.b),"x), R^2 = ").concat(o(e.rSquared));case"log":return"y = ".concat(o(e.a),"ln(x) + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"quad":return"y = ".concat(o(e.a),"x^2 + ").concat(o(e.b),"x + ").concat(o(e.c),", R^2 = ").concat(o(e.rSquared));case"poly":for(var s="y = ".concat(o((t=e.coefficients)===null||t===void 0?void 0:t[0])," + ").concat(o((n=e.coefficients)===null||n===void 0?void 0:n[1]),"x + ").concat(o((i=e.coefficients)===null||i===void 0?void 0:i[2]),"x^2"),l=3;l
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},MI={appendPadding:2,tooltip:(0,d.pi)({},jg),animation:{}};function SI(r){var e=r.chart,t=r.options,n=t.data,i=t.color,a=t.areaStyle,o=t.point,s=t.line,l=o==null?void 0:o.state,u=zi(n);e.data(u);var c=_t({},r,{options:{xField:To,yField:Ma,area:{color:i,style:a},line:s,point:o}}),h=_t({},c,{options:{tooltip:!1}}),v=_t({},c,{options:{tooltip:!1,state:l}});return sl(c),wa(h),Jr(v),e.axis(!1),e.legend(!1),r}function Sa(r){var e,t,n=r.options,i=n.xAxis,a=n.yAxis,o=n.data,s=zi(o);return _e(ur((e={},e[To]=i,e[Ma]=a,e),(t={},t[To]={type:"cat"},t[Ma]=Fc(s,Ma),t)))(r)}function Jg(r){return _e(jr("areaStyle"),SI,Sa,dr,We,tr,sr())(r)}var CI={appendPadding:2,tooltip:(0,d.pi)({},jg),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},Kg=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-area",t}return e.getDefaultOptions=function(){return CI},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;Sa({chart:i,options:a}),i.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Jg},e}(Oe);function bI(r){var e=r.chart,t=r.options,n=t.data,i=t.color,a=t.columnStyle,o=t.columnWidthRatio,s=zi(n);e.data(s);var l=_t({},r,{options:{xField:To,yField:Ma,widthRatio:o,interval:{style:a,color:i}}});return Ar(l),e.axis(!1),e.legend(!1),e.interaction("element-active"),r}function Qg(r){return _e(We,jr("columnStyle"),bI,Sa,dr,tr,sr())(r)}var AI={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(r,e){return"".concat((0,f.U2)(e,[0,"data","y"],0))},containerTpl:'
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},TI={appendPadding:2,tooltip:(0,d.pi)({},AI),animation:{}},EI=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-column",t}return e.getDefaultOptions=function(){return TI},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;Sa({chart:i,options:a}),i.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Qg},e}(Oe);function FI(r){var e=r.chart,t=r.options,n=t.data,i=t.color,a=t.lineStyle,o=t.point,s=o==null?void 0:o.state,l=zi(n);e.data(l);var u=_t({},r,{options:{xField:To,yField:Ma,line:{color:i,style:a},point:o}}),c=_t({},u,{options:{tooltip:!1,state:s}});return wa(u),Jr(c),e.axis(!1),e.legend(!1),r}function t0(r){return _e(FI,Sa,We,dr,tr,sr())(r)}var _I=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-line",t}return e.getDefaultOptions=function(){return MI},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;Sa({chart:i,options:a}),i.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return t0},e}(Oe),II={line:lg,pie:Bg,column:fl,bar:pg,area:ug,gauge:Fg,"tiny-line":t0,"tiny-column":Qg,"tiny-area":Jg,"ring-progress":Hg,progress:Vg,scatter:Xg,histogram:kg,funnel:Mg,stock:$g},kI={line:D_,pie:Rg,column:WF,bar:YF,area:cg,gauge:b_,"tiny-line":_I,"tiny-column":EI,"tiny-area":Kg,"ring-progress":Gg,progress:$_,scatter:hI,histogram:k_,funnel:g_,stock:wI},LI={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function Zc(r,e,t){var n=kI[r];if(!n){console.error("could not find ".concat(r," plot"));return}var i=II[r];i({chart:e,options:_t({},n.getDefaultOptions(),(0,f.U2)(LI,r,{}),t)})}function PI(r){var e=r.chart,t=r.options,n=t.views,i=t.legend;return(0,f.S6)(n,function(a){var o=a.region,s=a.data,l=a.meta,u=a.axes,c=a.coordinate,h=a.interactions,v=a.annotations,p=a.tooltip,g=a.geometries,y=e.createView({region:o});y.data(s);var x={};u&&(0,f.S6)(u,function(m,w){x[w]=Qe(m,Yr)}),x=_t({},l,x),y.scale(x),u?(0,f.S6)(u,function(m,w){y.axis(w,m)}):y.axis(!1),y.coordinate(c),(0,f.S6)(g,function(m){var w=Xr({chart:y,options:m}).ext,M=m.adjust;M&&w.geometry.adjust(M)}),(0,f.S6)(h,function(m){m.enable===!1?y.removeInteraction(m.type):y.interaction(m.type,m.cfg)}),(0,f.S6)(v,function(m){y.annotation()[m.type]((0,d.pi)({},m))}),typeof a.animation=="boolean"?y.animate(!1):(y.animate(!0),(0,f.S6)(y.geometries,function(m){m.animate(a.animation)})),p&&(y.interaction("tooltip"),y.tooltip(p))}),i?(0,f.S6)(i,function(a,o){e.legend(o,a)}):e.legend(!1),e.tooltip(t.tooltip),r}function DI(r){var e=r.chart,t=r.options,n=t.plots,i=t.data,a=i===void 0?[]:i;return(0,f.S6)(n,function(o){var s=o.type,l=o.region,u=o.options,c=u===void 0?{}:u,h=o.top,v=c.tooltip;if(h){Zc(s,e,(0,d.pi)((0,d.pi)({},c),{data:a}));return}var p=e.createView((0,d.pi)({region:l},Qe(c,ig)));v&&p.interaction("tooltip"),Zc(s,p,(0,d.pi)({data:a},c))}),r}function OI(r){var e=r.chart,t=r.options;return e.option("slider",t.slider),r}function BI(r){return _e(tr,PI,DI,or,tr,We,dr,OI,sr())(r)}function RI(r,e){var t=r.getModel(),n=t.data,i;return(0,f.kJ)(n)?i=n[0][e]:i=n[e],i}function NI(r){var e=tl(r);(0,f.S6)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})}var zI=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAssociationItems=function(t,n){var i,a=this.context.event,o=n||{},s=o.linkField,l=o.dim,u=[];if(!((i=a.data)===null||i===void 0)&&i.data){var c=a.data.data;(0,f.S6)(t,function(h){var v,p,g=s;if(l==="x"?g=h.getXScale().field:l==="y"?g=(v=h.getYScales().find(function(x){return x.field===g}))===null||v===void 0?void 0:v.field:g||(g=(p=h.getGroupScales()[0])===null||p===void 0?void 0:p.field),!!g){var y=(0,f.UI)(tl(h),function(x){var m=!1,w=!1,M=(0,f.kJ)(c)?(0,f.U2)(c[0],g):(0,f.U2)(c,g);return RI(x,g)===M?m=!0:w=!0,{element:x,view:h,active:m,inactive:w}});u.push.apply(u,y)}})}return u},e.prototype.showTooltip=function(t){var n=jd(this.context.view),i=this.getAssociationItems(n,t);(0,f.S6)(i,function(a){if(a.active){var o=a.element.shape.getCanvasBBox();a.view.showTooltip({x:o.minX+o.width/2,y:o.minY+o.height/2})}})},e.prototype.hideTooltip=function(){var t=jd(this.context.view);(0,f.S6)(t,function(n){n.hideTooltip()})},e.prototype.active=function(t){var n=mo(this.context.view),i=this.getAssociationItems(n,t);(0,f.S6)(i,function(a){var o=a.active,s=a.element;o&&s.setState("active",!0)})},e.prototype.selected=function(t){var n=mo(this.context.view),i=this.getAssociationItems(n,t);(0,f.S6)(i,function(a){var o=a.active,s=a.element;o&&s.setState("selected",!0)})},e.prototype.highlight=function(t){var n=mo(this.context.view),i=this.getAssociationItems(n,t);(0,f.S6)(i,function(a){var o=a.inactive,s=a.element;o&&s.setState("inactive",!0)})},e.prototype.reset=function(){var t=mo(this.context.view);(0,f.S6)(t,function(n){NI(n)})},e}(ar);Ae("association",zI),Le("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Le("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Le("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Le("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});var VI=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="mix",t}return e.prototype.getSchemaAdaptor=function(){return BI},e}(Oe),Ca;(function(r){r.DEV="DEV",r.BETA="BETA",r.STABLE="STABLE"})(Ca||(Ca={}));function UI(r,e){console.warn(r===Ca.DEV?"Plot '".concat(e,"' is in DEV stage, just give us issues."):r===Ca.BETA?"Plot '".concat(e,"' is in BETA stage, DO NOT use it in production env."):r===Ca.STABLE?"Plot '".concat(e,`' is in STABLE stage, import it by "import { `).concat(e,` } from '@antv/g2plot'".`):"invalid Stage type.")}var w6=function(){function r(){}return Object.defineProperty(r,"MultiView",{get:function(){return UI(Ca.STABLE,"MultiView"),VI},enumerable:!1,configurable:!0}),r}(),Tn="first-axes-view",En="second-axes-view",Vi="series-field-key";function e0(r,e,t,n,i){var a=[];e.forEach(function(h){n.forEach(function(v){var p,g=(p={},p[r]=v[r],p[t]=h,p[h]=v[h],p);a.push(g)})});var o=Object.values((0,f.vM)(a,t)),s=o[0],l=s===void 0?[]:s,u=o[1],c=u===void 0?[]:u;return i?[l.reverse(),c.reverse()]:[l,c]}function Zn(r){return r!=="vertical"}function HI(r,e,t){var n=e[0],i=e[1],a=n.autoPadding,o=i.autoPadding,s=r.__axisPosition,l=s.layout,u=s.position;if(Zn(l)&&u==="top"&&(n.autoPadding=t.instance(a.top,0,a.bottom,a.left),i.autoPadding=t.instance(o.top,a.left,o.bottom,0)),Zn(l)&&u==="bottom"&&(n.autoPadding=t.instance(a.top,a.right/2+5,a.bottom,a.left),i.autoPadding=t.instance(o.top,o.right,o.bottom,a.right/2+5)),!Zn(l)&&u==="bottom"){var c=a.left>=o.left?a.left:o.left;n.autoPadding=t.instance(a.top,a.right,a.bottom/2+5,c),i.autoPadding=t.instance(a.bottom/2+5,o.right,o.bottom,c)}if(!Zn(l)&&u==="top"){var c=a.left>=o.left?a.left:o.left;n.autoPadding=t.instance(a.top,a.right,0,c),i.autoPadding=t.instance(0,o.right,a.top,c)}}function GI(r){var e=r.chart,t=r.options,n=t.data,i=t.xField,a=t.yField,o=t.color,s=t.barStyle,l=t.widthRatio,u=t.legend,c=t.layout,h=e0(i,a,Vi,n,Zn(c));u?e.legend(Vi,u):u===!1&&e.legend(!1);var v,p,g=h[0],y=h[1];Zn(c)?(v=e.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:Tn}),v.coordinate().transpose().reflect("x"),p=e.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:En}),p.coordinate().transpose(),v.data(g),p.data(y)):(v=e.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:Tn}),p=e.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:En}),p.coordinate().reflect("y"),v.data(g),p.data(y));var x=_t({},r,{chart:v,options:{widthRatio:l,xField:i,yField:a[0],seriesField:Vi,interval:{color:o,style:s}}});Ar(x);var m=_t({},r,{chart:p,options:{xField:i,yField:a[1],seriesField:Vi,widthRatio:l,interval:{color:o,style:s}}});return Ar(m),r}function YI(r){var e,t,n,i=r.options,a=r.chart,o=i.xAxis,s=i.yAxis,l=i.xField,u=i.yField,c=He(a,Tn),h=He(a,En),v={};return(0,f.XP)((i==null?void 0:i.meta)||{}).map(function(p){(0,f.U2)(i==null?void 0:i.meta,[p,"alias"])&&(v[p]=i.meta[p].alias)}),a.scale((e={},e[Vi]={sync:!0,formatter:function(p){return(0,f.U2)(v,p,p)}},e)),ur((t={},t[l]=o,t[u[0]]=s[u[0]],t))(_t({},r,{chart:c})),ur((n={},n[l]=o,n[u[1]]=s[u[1]],n))(_t({},r,{chart:h})),r}function XI(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField,s=t.layout,l=He(e,Tn),u=He(e,En);return(n==null?void 0:n.position)==="bottom"?u.axis(a,(0,d.pi)((0,d.pi)({},n),{label:{formatter:function(){return""}}})):u.axis(a,!1),n===!1?l.axis(a,!1):l.axis(a,(0,d.pi)({position:Zn(s)?"top":"bottom"},n)),i===!1?(l.axis(o[0],!1),u.axis(o[1],!1)):(l.axis(o[0],i[o[0]]),u.axis(o[1],i[o[1]])),e.__axisPosition={position:l.getOptions().axes[a].position,layout:s},r}function WI(r){var e=r.chart;return or(_t({},r,{chart:He(e,Tn)})),or(_t({},r,{chart:He(e,En)})),r}function ZI(r){var e=r.chart,t=r.options,n=t.yField,i=t.yAxis;return Oi(_t({},r,{chart:He(e,Tn),options:{yAxis:i[n[0]]}})),Oi(_t({},r,{chart:He(e,En),options:{yAxis:i[n[1]]}})),r}function qI(r){var e=r.chart;return We(_t({},r,{chart:He(e,Tn)})),We(_t({},r,{chart:He(e,En)})),We(r),r}function $I(r){var e=r.chart;return tr(_t({},r,{chart:He(e,Tn)})),tr(_t({},r,{chart:He(e,En)})),r}function jI(r){var e=this,t,n,i=r.chart,a=r.options,o=a.label,s=a.yField,l=a.layout,u=He(i,Tn),c=He(i,En),h=br(u,"interval"),v=br(c,"interval");if(!o)h.label(!1),v.label(!1);else{var p=o.callback,g=(0,d._T)(o,["callback"]);g.position||(g.position="middle"),g.offset===void 0&&(g.offset=2);var y=(0,d.pi)({},g);if(Zn(l)){var x=((t=y.style)===null||t===void 0?void 0:t.textAlign)||(g.position==="middle"?"center":"left");g.style=_t({},g.style,{textAlign:x});var m={left:"right",right:"left",center:"center"};y.style=_t({},y.style,{textAlign:m[x]})}else{var w={top:"bottom",bottom:"top",middle:"middle"};typeof g.position=="string"?g.position=w[g.position]:typeof g.position=="function"&&(g.position=function(){for(var A=[],B=0;B1?"".concat(e,"_").concat(t):"".concat(e)}function a0(r){var e=r.data,t=r.xField,n=r.measureField,i=r.rangeField,a=r.targetField,o=r.layout,s=[],l=[];e.forEach(function(h,v){var p=[h[i]].flat();p.sort(function(x,m){return x-m}),p.forEach(function(x,m){var w,M=m===0?x:p[m]-p[m-1];s.push((w={rKey:"".concat(i,"_").concat(m)},w[t]=t?h[t]:String(v),w[i]=M,w))});var g=[h[n]].flat();g.forEach(function(x,m){var w;s.push((w={mKey:i0(g,n,m)},w[t]=t?h[t]:String(v),w[n]=x,w))});var y=[h[a]].flat();y.forEach(function(x,m){var w;s.push((w={tKey:i0(y,a,m)},w[t]=t?h[t]:String(v),w[a]=x,w))}),l.push(h[i],h[n],h[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,o==="vertical"&&s.reverse(),{min:u,max:c,ds:s}}function sk(r){var e=r.chart,t=r.options,n=t.bulletStyle,i=t.targetField,a=t.rangeField,o=t.measureField,s=t.xField,l=t.color,u=t.layout,c=t.size,h=t.label,v=a0(t),p=v.min,g=v.max,y=v.ds;e.data(y);var x=_t({},r,{options:{xField:s,yField:a,seriesField:"rKey",isStack:!0,label:(0,f.U2)(h,"range"),interval:{color:(0,f.U2)(l,"range"),style:(0,f.U2)(n,"range"),size:(0,f.U2)(c,"range")}}});Ar(x),e.geometries[0].tooltip(!1);var m=_t({},r,{options:{xField:s,yField:o,seriesField:"mKey",isStack:!0,label:(0,f.U2)(h,"measure"),interval:{color:(0,f.U2)(l,"measure"),style:(0,f.U2)(n,"measure"),size:(0,f.U2)(c,"measure")}}});Ar(m);var w=_t({},r,{options:{xField:s,yField:i,seriesField:"tKey",label:(0,f.U2)(h,"target"),point:{color:(0,f.U2)(l,"target"),style:(0,f.U2)(n,"target"),size:(0,f.mf)((0,f.U2)(c,"target"))?function(M){return(0,f.U2)(c,"target")(M)/2}:(0,f.U2)(c,"target")/2,shape:u==="horizontal"?"line":"hyphen"}}});return Jr(w),u==="horizontal"&&e.coordinate().transpose(),(0,d.pi)((0,d.pi)({},r),{ext:{data:{min:p,max:g}}})}function o0(r){var e,t,n=r.options,i=r.ext,a=n.xAxis,o=n.yAxis,s=n.targetField,l=n.rangeField,u=n.measureField,c=n.xField,h=i.data;return _e(ur((e={},e[c]=a,e[u]=o,e),(t={},t[u]={min:h==null?void 0:h.min,max:h==null?void 0:h.max,sync:!0},t[s]={sync:"".concat(u)},t[l]={sync:"".concat(u)},t)))(r)}function lk(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.measureField,s=t.rangeField,l=t.targetField;return e.axis("".concat(s),!1),e.axis("".concat(l),!1),n===!1?e.axis("".concat(a),!1):e.axis("".concat(a),n),i===!1?e.axis("".concat(o),!1):e.axis("".concat(o),i),r}function uk(r){var e=r.chart,t=r.options,n=t.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),r}function ck(r){var e=r.chart,t=r.options,n=t.label,i=t.measureField,a=t.targetField,o=t.rangeField,s=e.geometries,l=s[0],u=s[1],c=s[2];return(0,f.U2)(n,"range")?l.label("".concat(o),(0,d.pi)({layout:[{type:"limit-in-plot"}]},mr(n.range))):l.label(!1),(0,f.U2)(n,"measure")?u.label("".concat(i),(0,d.pi)({layout:[{type:"limit-in-plot"}]},mr(n.measure))):u.label(!1),(0,f.U2)(n,"target")?c.label("".concat(a),(0,d.pi)({layout:[{type:"limit-in-plot"}]},mr(n.target))):c.label(!1),r}function fk(r){_e(sk,o0,lk,uk,We,ck,dr,or,tr)(r)}var hk=_t({},Oe.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}}),C6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bullet",t}return e.getDefaultOptions=function(){return hk},e.prototype.changeData=function(t){this.updateOption({data:t});var n=a0(this.options),i=n.min,a=n.max,o=n.ds;o0({options:this.options,ext:{data:{min:i,max:a}},chart:this.chart}),this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return fk},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),vk={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(r){return r.id},source:function(r){return r.source},target:function(r){return r.target},sourceWeight:function(r){return r.value||1},targetWeight:function(r){return r.value||1},sortBy:null};function pk(r,e,t){(0,f.U5)(r,function(n,i){n.inEdges=e.filter(function(a){return"".concat(t.target(a))==="".concat(i)}),n.outEdges=e.filter(function(a){return"".concat(t.source(a))==="".concat(i)}),n.edges=n.outEdges.concat(n.inEdges),n.frequency=n.edges.length,n.value=0,n.inEdges.forEach(function(a){n.value+=t.targetWeight(a)}),n.outEdges.forEach(function(a){n.value+=t.sourceWeight(a)})})}function dk(r,e){var t={weight:function(i,a){return a.value-i.value},frequency:function(i,a){return a.frequency-i.frequency},id:function(i,a){return"".concat(e.id(i)).localeCompare("".concat(e.id(a)))}},n=t[e.sortBy];!n&&(0,f.mf)(e.sortBy)&&(n=e.sortBy),n&&r.sort(n)}function gk(r,e){var t=r.length;if(!t)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var n=e.nodePaddingRatio;if(n<0||n>=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=n/(2*t),a=e.nodeWidthRatio;if(a<=0||a>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;r.forEach(function(l){o+=l.value}),r.forEach(function(l){l.weight=l.value/o,l.width=l.weight*(1-n),l.height=a}),r.forEach(function(l,u){for(var c=0,h=u-1;h>=0;h--)c+=r[h].width+2*i;var v=l.minX=i+c,p=l.maxX=l.minX+l.width,g=l.minY=e.y-a/2,y=l.maxY=g+a;l.x=[v,p,p,v],l.y=[g,g,y,y]})}else{var s=1/t;r.forEach(function(l,u){l.x=(u+.5)*s,l.y=e.y})}return r}function yk(r,e,t){if(t.weight){var n={};(0,f.U5)(r,function(i,a){n[a]=i.value}),e.forEach(function(i){var a=t.source(i),o=t.target(i),s=r[a],l=r[o];if(s&&l){var u=n[a],c=t.sourceWeight(i),h=s.minX+(s.value-u)/s.value*s.width,v=h+c/s.value*s.width;n[a]-=c;var p=n[o],g=t.targetWeight(i),y=l.minX+(l.value-p)/l.value*l.width,x=y+g/l.value*l.width;n[o]-=g;var m=t.y;i.x=[h,v,y,x],i.y=[m,m,m,m],i.source=s,i.target=l}})}else e.forEach(function(i){var a=r[t.source(i)],o=r[t.target(i)];a&&o&&(i.x=[a.x,o.x],i.y=[a.y,o.y],i.source=a,i.target=o)});return e}function mk(r){return(0,f.f0)({},vk,r)}function xk(r,e){var t=mk(r),n={},i=e.nodes,a=e.links;i.forEach(function(l){var u=t.id(l);n[u]=l}),pk(n,a,t),dk(i,t);var o=gk(i,t),s=yk(n,a,t);return{nodes:o,links:s}}var s0="x",l0="y",u0="name",c0="source",wk={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(r,e){var t=(r[0]+r[1])/2,n=t>.5?-4:4;return{offsetX:n,content:e}},labelEmit:!0,style:{fill:"#8c8c8c"}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(r){return!(0,f.U2)(r,[0,"data","isNode"])},formatter:function(r){var e=r.source,t=r.target,n=r.value;return{name:"".concat(e," -> ").concat(t),value:n}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function Mk(r){var e=r.options,t=e.data,n=e.sourceField,i=e.targetField,a=e.weightField,o=e.nodePaddingRatio,s=e.nodeWidthRatio,l=e.rawFields,u=l===void 0?[]:l,c=Hd(t,n,i,a),h=xk({weight:!0,nodePaddingRatio:o,nodeWidthRatio:s},c),v=h.nodes,p=h.links,g=v.map(function(x){return(0,d.pi)((0,d.pi)({},Qe(x,(0,d.ev)(["id","x","y","name"],u,!0))),{isNode:!0})}),y=p.map(function(x){return(0,d.pi)((0,d.pi)({source:x.source.name,target:x.target.name,name:x.source.name||x.target.name},Qe(x,(0,d.ev)(["x","y","value"],u,!0))),{isNode:!1})});return(0,d.pi)((0,d.pi)({},r),{ext:(0,d.pi)((0,d.pi)({},r.ext),{chordData:{nodesData:g,edgesData:y}})})}function Sk(r){var e,t=r.chart;return t.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[u0]={sync:"color"},e[c0]={sync:"color"},e)),r}function Ck(r){var e=r.chart;return e.axis(!1),r}function bk(r){var e=r.chart;return e.legend(!1),r}function Ak(r){var e=r.chart,t=r.options,n=t.tooltip;return e.tooltip(n),r}function Tk(r){var e=r.chart;return e.coordinate("polar").reflect("y"),r}function Ek(r){var e=r.chart,t=r.options,n=r.ext.chordData.nodesData,i=t.nodeStyle,a=t.label,o=t.tooltip,s=e.createView();return s.data(n),ll({chart:s,options:{xField:s0,yField:l0,seriesField:u0,polygon:{style:i},label:a,tooltip:o}}),r}function Fk(r){var e=r.chart,t=r.options,n=r.ext.chordData.edgesData,i=t.edgeStyle,a=t.tooltip,o=e.createView();o.data(n);var s={xField:s0,yField:l0,seriesField:c0,edge:{style:i,shape:"arc"},tooltip:a};return rg({chart:o,options:s}),r}function _k(r){var e=r.chart,t=r.options,n=t.animation;return xo(e,n,YE(e)),r}function Ik(r){return _e(We,Mk,Tk,Sk,Ck,bk,Ak,Fk,Ek,or,fi,_k)(r)}var b6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="chord",t}return e.getDefaultOptions=function(){return wk},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Ik},e}(Oe),kk=["x","y","r","name","value","path","depth"],Lk={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},f0=4,Pk=0,h0=5,v0="drilldown-bread-crumb",Dk={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},Eo="hierarchy-data-transform-params",Ok=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.name="drill-down",t.historyCache=[],t.breadCrumbGroup=null,t.breadCrumbCfg=Dk,t}return e.prototype.click=function(){var t=(0,f.U2)(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(!!this.breadCrumbGroup){var t=this.context.view.getCoordinate(),n=this.breadCrumbGroup,i=n.getBBox(),a=this.getButtonCfg().position,o={x:t.start.x,y:t.end.y-(i.height+h0*2)};t.isPolar&&(o={x:0,y:0}),a==="bottom-left"&&(o={x:t.start.x,y:t.start.y});var s=Hr.transform(null,[["t",o.x+Pk,o.y+i.height+h0]]);n.setMatrix(s)}},e.prototype.back=function(){(0,f.dp)(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var n=this.context.view,i=(0,f.U2)(n,["interactions","drill-down","cfg","transformData"],function(u){return u}),a=i((0,d.pi)({data:t.data},t[Eo]));n.changeData(a);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:"".concat(l.name,"_").concat(s.height,"_").concat(s.depth),name:l.name,children:i((0,d.pi)({data:l},t[Eo]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(!(!t||t.length<=0)){var n=this.context.view,i=(0,f.Z$)(t).children;n.changeData(i),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,n=(0,f.U2)(t,["interactions","drill-down","cfg","drillDownConfig"]);return _t(this.breadCrumbCfg,n==null?void 0:n.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,n=this.getButtonCfg(),i=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:v0});var a=0;i.forEach(function(o,s){var l=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:"".concat(v0,"_").concat(o.name,"_text"),attrs:(0,d.pi)((0,d.pi)({text:s===0&&!(0,f.UM)(n.rootText)?n.rootText:o.name},n.textStyle),{x:a,y:0})}),u=l.getBBox();if(a+=u.width+f0,l.on("click",function(v){var p,g=v.target.get("id");if(g!==((p=(0,f.Z$)(i))===null||p===void 0?void 0:p.id)){var y=i.slice(0,i.findIndex(function(x){return x.id===g})+1);t.backTo(y)}}),l.on("mouseenter",function(v){var p,g=v.target.get("id");g!==((p=(0,f.Z$)(i))===null||p===void 0?void 0:p.id)?l.attr(n.activeTextStyle):l.attr({cursor:"default"})}),l.on("mouseleave",function(){l.attr(n.textStyle)}),s0&&t*t>n*n+i*i}function $c(r,e){for(var t=0;tl?(i=(u+l-a)/(2*u),s=Math.sqrt(Math.max(0,l/u-i*i)),t.x=r.x-i*n-s*o,t.y=r.y-i*o+s*n):(i=(u+a-l)/(2*u),s=Math.sqrt(Math.max(0,a/u-i*i)),t.x=e.x+i*n-s*o,t.y=e.y+i*o+s*n)):(t.x=e.x+t.r,t.y=e.y)}function m0(r,e){var t=r.r+e.r-1e-6,n=e.x-r.x,i=e.y-r.y;return t>0&&t*t>n*n+i*i}function x0(r){var e=r._,t=r.next._,n=e.r+t.r,i=(e.x*t.r+t.x*e.r)/n,a=(e.y*t.r+t.y*e.r)/n;return i*i+a*a}function ml(r){this._=r,this.next=null,this.previous=null}function w0(r){if(!(i=(r=Bk(r)).length))return 0;var e,t,n,i,a,o,s,l,u,c,h;if(e=r[0],e.x=0,e.y=0,!(i>1))return e.r;if(t=r[1],e.x=-t.r,t.x=e.r,t.y=0,!(i>2))return e.r+t.r;y0(t,e,n=r[2]),e=new ml(e),t=new ml(t),n=new ml(n),e.next=n.previous=t,t.next=e.previous=n,n.next=t.previous=e;t:for(s=3;s=0;)e+=t[n].value;r.value=e}function Zk(){return this.eachAfter(Wk)}var qk=et(64599),b0=et.n(qk);function $k(r,e){var t=-1,n=b0()(this),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;r.call(e,a,++t,this)}}catch(o){n.e(o)}finally{n.f()}return this}function jk(r,e){for(var t=this,n=[t],i,a,o=-1;t=n.pop();)if(r.call(e,t,++o,this),i=t.children)for(a=i.length-1;a>=0;--a)n.push(i[a]);return this}function Jk(r,e){for(var t=this,n=[t],i=[],a,o,s,l=-1;t=n.pop();)if(i.push(t),a=t.children)for(o=0,s=a.length;o=0;)t+=n[i].value;e.value=t})}function tL(r){return this.eachBefore(function(e){e.children&&e.children.sort(r)})}function eL(r){for(var e=this,t=rL(e,r),n=[e];e!==t;)e=e.parent,n.push(e);for(var i=n.length;r!==t;)n.splice(i,0,r),r=r.parent;return n}function rL(r,e){if(r===e)return r;var t=r.ancestors(),n=e.ancestors(),i=null;for(r=t.pop(),e=n.pop();r===e;)i=r,r=t.pop(),e=n.pop();return i}function nL(){for(var r=this,e=[r];r=r.parent;)e.push(r);return e}function iL(){return Array.from(this)}function aL(){var r=[];return this.eachBefore(function(e){e.children||r.push(e)}),r}function oL(){var r=this,e=[];return r.each(function(t){t!==r&&e.push({source:t.parent,target:t})}),e}var sL=et(15009),A0=et.n(sL),lL=A0()().mark(T0);function T0(){var r,e,t,n,i,a;return A0()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:r=this,t=[r];case 1:e=t.reverse(),t=[];case 2:if(!(r=e.pop())){s.next=8;break}return s.next=5,r;case 5:if(n=r.children)for(i=0,a=n.length;i=0;--s)i.push(a=o[s]=new Ea(o[s])),a.parent=n,a.depth=n.depth+1;return t.eachBefore(E0)}function uL(){return Ta(this).eachBefore(hL)}function cL(r){return r.children}function fL(r){return Array.isArray(r)?r[1]:null}function hL(r){r.data.value!==void 0&&(r.value=r.data.value),r.data=r.data.data}function E0(r){var e=0;do r.height=e;while((r=r.parent)&&r.height<++e)}function Ea(r){this.data=r,this.depth=this.height=0,this.parent=null}Ea.prototype=Ta.prototype=Xk()({constructor:Ea,count:Zk,each:$k,eachAfter:Jk,eachBefore:jk,find:Kk,sum:Qk,sort:tL,path:eL,ancestors:nL,descendants:iL,leaves:aL,links:oL,copy:uL},Symbol.iterator,T0);var F0="nodeIndex",_0="childNodeCount",Jc="nodeAncestor",Kc="Invalid field: it must be a string!";function Qc(r,e){var t=r.field,n=r.fields;if((0,f.HD)(t))return t;if((0,f.kJ)(t))return console.warn(Kc),t[0];if(console.warn("".concat(Kc," will try to get fields instead.")),(0,f.HD)(n))return n;if((0,f.kJ)(n)&&n.length)return n[0];if(e)return e;throw new TypeError(Kc)}function tf(r){var e=[];if(r&&r.each){var t,n;r.each(function(i){var a,o;i.parent!==t?(t=i.parent,n=0):n+=1;var s=(0,f.hX)((((a=i.ancestors)===null||a===void 0?void 0:a.call(i))||[]).map(function(l){return e.find(function(u){return u.name===l.name})||l}),function(l){var u=l.depth;return u>0&&u1;)c="".concat((u=h.parent.data)===null||u===void 0?void 0:u.name," / ").concat(c),h=h.parent;if(a&&l.depth>2)return null;var v=_t({},l.data,(0,d.pi)((0,d.pi)((0,d.pi)({},Qe(l.data,i)),{path:c}),l));v.ext=t,v[Eo]={hierarchyConfig:t,rawFields:i,enableDrillDown:a},s.push(v)}),s}function k0(r,e,t){var n=kc([r,e]),i=n[0],a=n[1],o=n[2],s=n[3],l=t.width,u=t.height,c=l-(s+a),h=u-(i+o),v=Math.min(c,h),p=(c-v)/2,g=(h-v)/2,y=i+g,x=a+p,m=o+g,w=s+p,M=[y,x,m,w],S=v<0?0:v;return{finalPadding:M,finalSize:S}}function dL(r){var e=r.chart,t=Math.min(e.viewBBox.width,e.viewBBox.height);return _t({options:{size:function(n){var i=n.r;return i*t}}},r)}function gL(r){var e=r.options,t=r.chart,n=t.viewBBox,i=e.padding,a=e.appendPadding,o=e.drilldown,s=a;if(o!=null&&o.enabled){var l=el(t.appendPadding,(0,f.U2)(o,["breadCrumb","position"]));s=kc([l,a])}var u=k0(i,s,n).finalPadding;return t.padding=u,t.appendPadding=0,r}function yL(r){var e=r.chart,t=r.options,n=e.padding,i=e.appendPadding,a=t.color,o=t.colorField,s=t.pointStyle,l=t.hierarchyConfig,u=t.sizeField,c=t.rawFields,h=c===void 0?[]:c,v=t.drilldown,p=I0({data:t.data,hierarchyConfig:l,enableDrillDown:v==null?void 0:v.enabled,rawFields:h});e.data(p);var g=e.viewBBox,y=k0(n,i,g).finalSize,x=function(m){var w=m.r;return w*y};return u&&(x=function(m){return m[u]*y}),Jr(_t({},r,{options:{xField:"x",yField:"y",seriesField:o,sizeField:u,rawFields:(0,d.ev)((0,d.ev)([],kk,!0),h,!0),point:{color:a,style:s,shape:"circle",size:x}}})),r}function mL(r){return _e(ur({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(r)}function xL(r){var e=r.chart,t=r.options,n=t.tooltip;if(n===!1)e.tooltip(!1);else{var i=n;(0,f.U2)(n,"fields")||(i=_t({},{customItems:function(a){return a.map(function(o){var s=(0,f.U2)(e.getOptions(),"scales"),l=(0,f.U2)(s,["name","formatter"],function(c){return c}),u=(0,f.U2)(s,["value","formatter"],function(c){return c});return(0,d.pi)((0,d.pi)({},o),{name:l(o.data.name),value:u(o.data.value)})})}},i)),e.tooltip(i)}return r}function wL(r){var e=r.chart;return e.axis(!1),r}function ML(r){var e=r.drilldown,t=r.interactions,n=t===void 0?[]:t;return e!=null&&e.enabled?_t({},r,{interactions:(0,d.ev)((0,d.ev)([],n,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:I0,enableDrillDown:!0}}],!1)}):r}function SL(r){var e=r.chart,t=r.options;return or({chart:e,options:ML(t)}),r}function CL(r){return _e(jr("pointStyle"),dL,gL,We,mL,yL,wL,Di,xL,SL,tr,sr())(r)}function L0(r){var e=(0,f.U2)(r,["event","data","data"],{});return(0,f.kJ)(e.children)&&e.children.length>0}function P0(r){var e=r.view.getCoordinate(),t=e.innerRadius;if(t){var n=r.event,i=n.x,a=n.y,o=e.center,s=o.x,l=o.y,u=e.getRadius()*t,c=Math.sqrt(Math.pow(s-i,2)+Math.pow(l-a,2));return c-1?WE(g,h,v):!0}),r.getRootView().render(!0)}};function EL(r){var e,t=r.options,n=t.geometryOptions,i=n===void 0?[]:n,a=t.xField,o=t.yField,s=(0,f.yW)(i,function(l){var u=l.geometry;return u===Hi.Line||u===void 0});return _t({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:s?[0,1]:void 0},e),tooltip:{showMarkers:s,showCrosshairs:s,shared:!0,crosshairs:{type:"x"}},interactions:s?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},r,{options:{yAxis:B0(o,t.yAxis),geometryOptions:[O0(a,o[0],i[0]),O0(a,o[1],i[1])],annotations:B0(o,t.annotations)}})}function FL(r){var e,t,n=r.chart,i=r.options,a=i.geometryOptions,o={line:0,column:1},s=[{type:(e=a[0])===null||e===void 0?void 0:e.geometry,id:Kr},{type:(t=a[1])===null||t===void 0?void 0:t.geometry,id:Qr}];return s.sort(function(l,u){return-o[l.type]+o[u.type]}).forEach(function(l){return n.createView({id:l.id})}),r}function _L(r){var e=r.chart,t=r.options,n=t.xField,i=t.yField,a=t.geometryOptions,o=t.data,s=t.tooltip,l=[(0,d.pi)((0,d.pi)({},a[0]),{id:Kr,data:o[0],yField:i[0]}),(0,d.pi)((0,d.pi)({},a[1]),{id:Qr,data:o[1],yField:i[1]})];return l.forEach(function(u){var c=u.id,h=u.data,v=u.yField,p=rf(u)&&u.isPercent,g=p?ag(h,v,n,v):h,y=He(e,c).data(g),x=p?(0,d.pi)({formatter:function(m){return{name:m[u.seriesField]||v,value:(Number(m[v])*100).toFixed(2)+"%"}}},s):s;TL({chart:y,options:{xField:n,yField:v,tooltip:x,geometryOption:u}})}),r}function IL(r){var e,t=r.chart,n=r.options,i=n.geometryOptions,a=((e=t.getTheme())===null||e===void 0?void 0:e.colors10)||[],o=0;return t.once("beforepaint",function(){(0,f.S6)(i,function(s,l){var u=He(t,l===0?Kr:Qr);if(!s.color){var c=u.getGroupScales(),h=(0,f.U2)(c,[0,"values","length"],1),v=a.slice(o,o+h).concat(l===0?[]:a);u.geometries.forEach(function(p){s.seriesField?p.color(s.seriesField,v):p.color(v[0])}),o+=h}}),t.render(!0)}),r}function kL(r){var e,t,n=r.chart,i=r.options,a=i.xAxis,o=i.yAxis,s=i.xField,l=i.yField;return ur((e={},e[s]=a,e[l[0]]=o[0],e))(_t({},r,{chart:He(n,Kr)})),ur((t={},t[s]=a,t[l[1]]=o[1],t))(_t({},r,{chart:He(n,Qr)})),r}function LL(r){var e=r.chart,t=r.options,n=He(e,Kr),i=He(e,Qr),a=t.xField,o=t.yField,s=t.xAxis,l=t.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),n.axis(a,s),n.axis(o[0],R0(l[0],Fa.Left)),i.axis(a,!1),i.axis(o[1],R0(l[1],Fa.Right)),r}function PL(r){var e=r.chart,t=r.options,n=t.tooltip,i=He(e,Kr),a=He(e,Qr);return e.tooltip(n),i.tooltip({shared:!0}),a.tooltip({shared:!0}),r}function DL(r){var e=r.chart;return or(_t({},r,{chart:He(e,Kr)})),or(_t({},r,{chart:He(e,Qr)})),r}function OL(r){var e=r.chart,t=r.options,n=t.annotations,i=(0,f.U2)(n,[0]),a=(0,f.U2)(n,[1]);return sr(i)(_t({},r,{chart:He(e,Kr),options:{annotations:i}})),sr(a)(_t({},r,{chart:He(e,Qr),options:{annotations:a}})),r}function BL(r){var e=r.chart;return We(_t({},r,{chart:He(e,Kr)})),We(_t({},r,{chart:He(e,Qr)})),We(r),r}function RL(r){var e=r.chart;return tr(_t({},r,{chart:He(e,Kr)})),tr(_t({},r,{chart:He(e,Qr)})),r}function NL(r){var e=r.chart,t=r.options,n=t.yAxis;return Oi(_t({},r,{chart:He(e,Kr),options:{yAxis:n[0]}})),Oi(_t({},r,{chart:He(e,Qr),options:{yAxis:n[1]}})),r}function zL(r){var e=r.chart,t=r.options,n=t.legend,i=t.geometryOptions,a=t.yField,o=t.data,s=He(e,Kr),l=He(e,Qr);if(n===!1)e.legend(!1);else if((0,f.Kn)(n)&&n.custom===!0)e.legend(n);else{var u=(0,f.U2)(i,[0,"legend"],n),c=(0,f.U2)(i,[1,"legend"],n);e.once("beforepaint",function(){var h=o[0].length?N0({view:s,geometryOption:i[0],yField:a[0],legend:u}):[],v=o[1].length?N0({view:l,geometryOption:i[1],yField:a[1],legend:c}):[];e.legend(_t({},n,{custom:!0,items:h.concat(v)}))}),i[0].seriesField&&s.legend(i[0].seriesField,u),i[1].seriesField&&l.legend(i[1].seriesField,c),e.on("legend-item:click",function(h){var v=(0,f.U2)(h,"gEvent.delegateObject",{});if(v&&v.item){var p=v.item,g=p.value,y=p.isGeometry,x=p.viewId;if(y){var m=(0,f.cx)(a,function(S){return S===g});if(m>-1){var w=(0,f.U2)(He(e,x),"geometries");(0,f.S6)(w,function(S){S.changeVisible(!v.item.unchecked)})}}else{var M=(0,f.U2)(e.getController("legend"),"option.items",[]);(0,f.S6)(e.views,function(S){var A=S.getGroupScales();(0,f.S6)(A,function(B){B.values&&B.values.indexOf(g)>-1&&S.filter(B.field,function(U){var Q=(0,f.sE)(M,function(dt){return dt.value===U});return!Q.unchecked})}),e.render(!0)})}}})}return r}function VL(r){var e=r.chart,t=r.options,n=t.slider,i=He(e,Kr),a=He(e,Qr);return n&&(i.option("slider",n),i.on("slider:valuechanged",function(o){var s=o.event,l=s.value,u=s.originValue;(0,f.Xy)(l,u)||z0(a,l)}),e.once("afterpaint",function(){if(!(0,f.jn)(n)){var o=n.start,s=n.end;(o||s)&&z0(a,[o,s])}})),r}function UL(r){return _e(EL,FL,BL,_L,kL,LL,NL,PL,DL,OL,RL,IL,zL,VL)(r)}var T6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dual-axes",t}return e.prototype.getDefaultOptions=function(){return _t({},r.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return UL},e}(Oe);function HL(r,e){var t=e.data,n=e.coordinate,i=e.interactions,a=e.annotations,o=e.animation,s=e.tooltip,l=e.axes,u=e.meta,c=e.geometries;t&&r.data(t);var h={};l&&(0,f.S6)(l,function(v,p){h[p]=Qe(v,Yr)}),h=_t({},u,h),r.scale(h),n&&r.coordinate(n),l===!1?r.axis(!1):(0,f.S6)(l,function(v,p){r.axis(p,v)}),(0,f.S6)(c,function(v){var p=Xr({chart:r,options:v}).ext,g=v.adjust;g&&p.geometry.adjust(g)}),(0,f.S6)(i,function(v){v.enable===!1?r.removeInteraction(v.type):r.interaction(v.type,v.cfg)}),(0,f.S6)(a,function(v){r.annotation()[v.type]((0,d.pi)({},v))}),xo(r,o),s?(r.interaction("tooltip"),r.tooltip(s)):s===!1&&r.removeInteraction("tooltip")}function GL(r){var e=r.chart,t=r.options,n=t.type,i=t.data,a=t.fields,o=t.eachView,s=(0,f.CE)(t,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(i),e.facet(n,(0,d.pi)((0,d.pi)({},s),{fields:a,eachView:function(l,u){var c=o(l,u);if(c.geometries)HL(l,c);else{var h=c,v=h.options;v.tooltip&&l.interaction("tooltip"),Zc(h.type,l,v)}}})),r}function YL(r){var e=r.chart,t=r.options,n=t.axes,i=t.meta,a=t.tooltip,o=t.coordinate,s=t.theme,l=t.legend,u=t.interactions,c=t.annotations,h={};return n&&(0,f.S6)(n,function(v,p){h[p]=Qe(v,Yr)}),h=_t({},i,h),e.scale(h),e.coordinate(o),n?(0,f.S6)(n,function(v,p){e.axis(p,v)}):e.axis(!1),a?(e.interaction("tooltip"),e.tooltip(a)):a===!1&&e.removeInteraction("tooltip"),e.legend(l),s&&e.theme(s),(0,f.S6)(u,function(v){v.enable===!1?e.removeInteraction(v.type):e.interaction(v.type,v.cfg)}),(0,f.S6)(c,function(v){e.annotation()[v.type]((0,d.pi)({},v))}),r}function XL(r){return _e(We,GL,YL)(r)}var WL={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}},E6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="area",t}return e.getDefaultOptions=function(){return WL},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return XL},e}(Oe);function ZL(r){var e=r.chart,t=r.options,n=t.data,i=t.type,a=t.xField,o=t.yField,s=t.colorField,l=t.sizeField,u=t.sizeRatio,c=t.shape,h=t.color,v=t.tooltip,p=t.heatmapStyle,g=t.meta;e.data(n);var y="polygon";i==="density"&&(y="heatmap");var x=rn(v,[a,o,s]),m=x.fields,w=x.formatter,M=1;return(u||u===0)&&(!c&&!l?console.warn("sizeRatio is not in effect: Must define shape or sizeField first"):u<0||u>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):M=u),Xr(_t({},r,{options:{type:y,colorField:s,tooltipFields:m,shapeField:l||"",label:void 0,mapping:{tooltip:w,shape:c&&(l?function(S){var A=n.map(function(dt){return dt[l]}),B=(g==null?void 0:g[l])||{},U=B.min,Q=B.max;return U=(0,f.hj)(U)?U:Math.min.apply(Math,A),Q=(0,f.hj)(Q)?Q:Math.max.apply(Math,A),[c,((0,f.U2)(S,l)-U)/(Q-U),M]}:function(){return[c,1,M]}),color:h||s&&e.getTheme().sequenceColors.join("-"),style:p}}})),r}function qL(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return _e(ur((e={},e[a]=n,e[o]=i,e)))(r)}function $L(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n===!1?e.axis(a,!1):e.axis(a,n),i===!1?e.axis(o,!1):e.axis(o,i),r}function jL(r){var e=r.chart,t=r.options,n=t.legend,i=t.colorField,a=t.sizeField,o=t.sizeLegend,s=n!==!1;return i&&e.legend(i,s?n:!1),a&&e.legend(a,o===void 0?n:o),!s&&!o&&e.legend(!1),r}function JL(r){var e=r.chart,t=r.options,n=t.label,i=t.colorField,a=t.type,o=br(e,a==="density"?"heatmap":"polygon");if(!n)o.label(!1);else if(i){var s=n.callback,l=(0,d._T)(n,["callback"]);o.label({fields:[i],callback:s,cfg:mr(l)})}return r}function KL(r){var e,t,n=r.chart,i=r.options,a=i.coordinate,o=i.reflect,s=_t({actions:[]},a!=null?a:{type:"rect"});return o&&((t=(e=s.actions)===null||e===void 0?void 0:e.push)===null||t===void 0||t.call(e,["reflect",o])),n.coordinate(s),r}function QL(r){return _e(We,jr("heatmapStyle"),qL,KL,ZL,$L,jL,dr,JL,sr(),or,tr,fi)(r)}var tP=_t({},Oe.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});qe("polygon","circle",{draw:function(r,e){var t,n,i=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l)/2,c=Number(r.shape[1]),h=Number(r.shape[2]),v=Math.sqrt(h),p=u*v*Math.sqrt(c),g=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((n=r.defaultStyle)===null||n===void 0?void 0:n.fill),y=e.addShape("circle",{attrs:(0,d.pi)((0,d.pi)((0,d.pi)({x:i,y:a,r:p},r.defaultStyle),r.style),{fill:g})});return y}}),qe("polygon","square",{draw:function(r,e){var t,n,i=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l),c=Number(r.shape[1]),h=Number(r.shape[2]),v=Math.sqrt(h),p=u*v*Math.sqrt(c),g=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((n=r.defaultStyle)===null||n===void 0?void 0:n.fill),y=e.addShape("rect",{attrs:(0,d.pi)((0,d.pi)((0,d.pi)({x:i-p/2,y:a-p/2,width:p,height:p},r.defaultStyle),r.style),{fill:g})});return y}});var F6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="heatmap",t}return e.getDefaultOptions=function(){return tP},e.prototype.getSchemaAdaptor=function(){return QL},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),eP="liquid";function V0(r){return[{percent:r,type:eP}]}function rP(r){var e=r.chart,t=r.options,n=t.percent,i=t.liquidStyle,a=t.radius,o=t.outline,s=t.wave,l=t.shape,u=t.shapeStyle,c=t.animation;e.scale({percent:{min:0,max:1}}),e.data(V0(n));var h=t.color||e.getTheme().defaultColor,v=_t({},r,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:h,style:i,shape:"liquid-fill-gauge"}}}),p=Ar(v).ext,g=p.geometry,y=e.getTheme().background,x={percent:n,radius:a,outline:o,wave:s,shape:l,shapeStyle:u,background:y,animation:c};return g.customInfo(x),e.legend(!1),e.axis(!1),e.tooltip(!1),r}function U0(r,e){var t=r.chart,n=r.options,i=n.statistic,a=n.percent,o=n.meta;t.getController("annotation").clear(!0);var s=(0,f.U2)(o,["percent","formatter"])||function(u){return"".concat((u*100).toFixed(2),"%")},l=i.content;return l&&(l=_t({},l,{content:(0,f.UM)(l.content)?s(a):l.content})),rl(t,{statistic:(0,d.pi)((0,d.pi)({},i),{content:l}),plotType:"liquid"},{percent:a}),e&&t.render(!0),r}function nP(r){return _e(We,jr("liquidStyle"),rP,U0,ur({}),tr,or)(r)}var iP={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"},H0=5e3;function G0(r,e,t){return r+(e-r)*t}function aP(r){var e=(0,d.pi)({opacity:1},r.style);return r.color&&!e.fill&&(e.fill=r.color),e}function oP(r){var e={fill:"#fff",fillOpacity:0,lineWidth:4},t=(0,f.CD)({},e,r.style);return r.color&&!t.stroke&&(t.stroke=r.color),(0,f.hj)(r.opacity)&&(t.opacity=t.strokeOpacity=r.opacity),t}function sP(r,e,t,n){return e===0?[[r+1/2*t/Math.PI/2,n/2],[r+1/2*t/Math.PI,n],[r+t/4,n]]:e===1?[[r+1/2*t/Math.PI/2*(Math.PI-2),n],[r+1/2*t/Math.PI/2*(Math.PI-1),n/2],[r+t/4,0]]:e===2?[[r+1/2*t/Math.PI/2,-n/2],[r+1/2*t/Math.PI,-n],[r+t/4,-n]]:[[r+1/2*t/Math.PI/2*(Math.PI-2),-n],[r+1/2*t/Math.PI/2*(Math.PI-1),-n/2],[r+t/4,0]]}function lP(r,e,t,n,i,a,o){for(var s=Math.ceil(2*r/t*4)*4,l=[],u=n;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*t;var c=a-r+u-r*2;l.push(["M",c,e]);for(var h=0,v=0;v0){var jt=e.addGroup({name:"waves"}),fe=jt.setClip({type:"path",attrs:{path:Dt}});uP(M.x,M.y,1-r.points[1].y,x,U,jt,fe,B*2,m,h)}return e.addShape("path",{name:"distance",attrs:{path:Dt,fill:"transparent",lineWidth:g+y*2,stroke:c==="transparent"?"#fff":c}}),e.addShape("path",{name:"wrap",attrs:(0,f.CD)(Q,{path:Dt,fill:"transparent",lineWidth:g})}),e}});var _6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="liquid",t}return e.getDefaultOptions=function(){return iP},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.chart.emit(Z.BEFORE_CHANGE_DATA,lr.fromData(this.chart,Z.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(V0(t)),U0({chart:this.chart,options:this.options},!0),this.chart.emit(Z.AFTER_CHANGE_DATA,lr.fromData(this.chart,Z.AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return nP},e}(Oe);function dP(r){var e=r.chart,t=r.options,n=t.data,i=t.lineStyle,a=t.color,o=t.point,s=t.area;e.data(n);var l=_t({},r,{options:{line:{style:i,color:a},point:o&&(0,d.pi)({color:a},o),area:s&&(0,d.pi)({color:a},s),label:void 0}}),u=_t({},l,{options:{tooltip:!1}}),c=(o==null?void 0:o.state)||t.state,h=_t({},l,{options:{tooltip:!1,state:c}});return wa(l),Jr(h),sl(u),r}function gP(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return _e(ur((e={},e[a]=n,e[o]=i,e)))(r)}function yP(r){var e=r.chart,t=r.options,n=t.radius,i=t.startAngle,a=t.endAngle;return e.coordinate("polar",{radius:n,startAngle:i,endAngle:a}),r}function mP(r){var e=r.chart,t=r.options,n=t.xField,i=t.xAxis,a=t.yField,o=t.yAxis;return e.axis(n,i),e.axis(a,o),r}function xP(r){var e=r.chart,t=r.options,n=t.label,i=t.yField,a=br(e,"line");if(!n)a.label(!1);else{var o=n.callback,s=(0,d._T)(n,["callback"]);a.label({fields:[i],callback:o,cfg:mr(s)})}return r}function wP(r){return _e(dP,gP,We,yP,mP,Di,dr,xP,or,tr,sr())(r)}var MP=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(t){var n=this.getTooltipCfg(),i=n.shared,a=n.title,o=r.prototype.getTooltipItems.call(this,t);if(o.length>0){var s=this.view.geometries[0],l=s.dataArray,u=o[0].name,c=[];return l.forEach(function(h){h.forEach(function(v){var p=Hr.getTooltipItems(v,s),g=p[0];if(!i&&g&&g.name===u){var y=(0,f.UM)(a)?u:a;c.push((0,d.pi)((0,d.pi)({},g),{name:g.title,title:y}))}else if(i&&g){var y=(0,f.UM)(a)?g.name||u:a;c.push((0,d.pi)((0,d.pi)({},g),{name:g.title,title:y}))}})}),c}return[]},e}(Tv);Ti("radar-tooltip",MP);var SP=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,n=this.getTooltipController();n.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(ar);Ae("radar-tooltip",SP),Le("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});var I6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radar",t}return e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return _t({},r.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return wP},e}(Oe);function CP(r,e,t){var n=t.map(function(o){return o[e]}).filter(function(o){return o!==void 0}),i=n.length>0?Math.max.apply(Math,n):0,a=Math.abs(r)%360;return a?i*360/a:i}function bP(r,e,t){var n=[];return r.forEach(function(i){var a=n.find(function(o){return o[e]===i[e]});a?a[t]+=i[t]||null:n.push((0,d.pi)({},i))}),n}function AP(r){var e=r.chart,t=r.options,n=t.barStyle,i=t.color,a=t.tooltip,o=t.colorField,s=t.type,l=t.xField,u=t.yField,c=t.data,h=t.shape,v=ma(c,u);e.data(v);var p=_t({},r,{options:{tooltip:a,seriesField:o,interval:{style:n,color:i,shape:h||(s==="line"?"line":"intervel")},minColumnWidth:t.minBarWidth,maxColumnWidth:t.maxBarWidth,columnBackground:t.barBackground}});return Ar(p),s==="line"&&Jr({chart:e,options:{xField:l,yField:u,seriesField:o,point:{shape:"circle",color:i}}}),r}function X0(r){var e,t=r.options,n=t.yField,i=t.xField,a=t.data,o=t.isStack,s=t.isGroup,l=t.colorField,u=t.maxAngle,c=o&&!s&&l?bP(a,i,n):a,h=ma(c,n);return _e(ur((e={},e[n]={min:0,max:CP(u,n,h)},e)))(r)}function TP(r){var e=r.chart,t=r.options,n=t.radius,i=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:n,innerRadius:i,startAngle:a,endAngle:o}}).transpose(),r}function EP(r){var e=r.chart,t=r.options,n=t.xField,i=t.xAxis;return e.axis(n,i),r}function FP(r){var e=r.chart,t=r.options,n=t.label,i=t.yField,a=br(e,"interval");if(!n)a.label(!1);else{var o=n.callback,s=(0,d._T)(n,["callback"]);a.label({fields:[i],callback:o,cfg:(0,d.pi)((0,d.pi)({},mr(s)),{type:"polar"})})}return r}function _P(r){return _e(jr("barStyle"),AP,X0,EP,TP,or,tr,We,dr,Di,sr(),FP)(r)}var IP=_t({},Oe.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240}),k6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radial-bar",t}return e.getDefaultOptions=function(){return IP},e.prototype.changeData=function(t){this.updateOption({data:t}),X0({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return _P},e}(Oe);function kP(r){var e=r.chart,t=r.options,n=t.data,i=t.sectorStyle,a=t.shape,o=t.color;return e.data(n),_e(Ar)(_t({},r,{options:{marginRatio:1,interval:{style:i,color:o,shape:a}}})),r}function LP(r){var e=r.chart,t=r.options,n=t.label,i=t.xField,a=br(e,"interval");if(n===!1)a.label(!1);else if((0,f.Kn)(n)){var o=n.callback,s=n.fields,l=(0,d._T)(n,["callback","fields"]),u=l.offset,c=l.layout;(u===void 0||u>=0)&&(c=c?(0,f.kJ)(c)?c:[c]:[],l.layout=(0,f.hX)(c,function(h){return h.type!=="limit-in-shape"}),l.layout.length||delete l.layout),a.label({fields:s||[i],callback:o,cfg:mr(l)})}else Gn(hn.WARN,n===null,"the label option must be an Object."),a.label({fields:[i]});return r}function PP(r){var e=r.chart,t=r.options,n=t.legend,i=t.seriesField;return n===!1?e.legend(!1):i&&e.legend(i,n),r}function DP(r){var e=r.chart,t=r.options,n=t.radius,i=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:n,innerRadius:i,startAngle:a,endAngle:o}}),r}function OP(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return _e(ur((e={},e[a]=n,e[o]=i,e)))(r)}function BP(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n?e.axis(a,n):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),r}function RP(r){_e(jr("sectorStyle"),kP,OP,LP,DP,BP,PP,dr,or,tr,We,sr(),fi)(r)}var NP=_t({},Oe.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right",radio:{}},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]}),L6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rose",t}return e.getDefaultOptions=function(){return NP},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return RP},e}(Oe),W0="x",Z0="y",q0="name",wl="nodes",Ml="edges";function zP(r,e,t){var n=[];return r.forEach(function(i){var a=i[e],o=i[t];n.includes(a)||n.push(a),n.includes(o)||n.push(o)}),n}function VP(r,e,t,n){var i={};return e.forEach(function(a){i[a]={},e.forEach(function(o){i[a][o]=0})}),r.forEach(function(a){i[a[t]][a[n]]=1}),i}function UP(r,e,t){if(!(0,f.kJ)(r))return[];var n=[],i=zP(r,e,t),a=VP(r,i,e,t),o={};i.forEach(function(l){o[l]=0});function s(l){o[l]=1,i.forEach(function(u){if(a[l][u]!=0)if(o[u]==1)n.push("".concat(l,"_").concat(u));else{if(o[u]==-1)return;s(u)}}),o[l]=-1}return i.forEach(function(l){o[l]!=-1&&s(l)}),n.length!==0&&console.warn("sankey data contains circle, ".concat(n.length," records removed."),n),r.filter(function(l){return n.findIndex(function(u){return u==="".concat(l[e],"_").concat(l[t])})<0})}function HP(r){return r.target.depth}function GP(r){return r.depth}function YP(r,e){return e-1-r.height}function nf(r,e){return r.sourceLinks.length?r.depth:e-1}function XP(r){return r.targetLinks.length?r.depth:r.sourceLinks.length?(0,f.F)(r.sourceLinks,HP)-1:0}function Sl(r){return function(){return r}}function af(r,e){for(var t=0,n=0;nhe)throw new Error("circular link");ue=ve,ve=new Set}if(u)for(var Be=Math.max(of(ie,function(Xe){return Xe.depth})+1,0),Ye=void 0,Re=0;Rehe)throw new Error("circular link");ue=ve,ve=new Set}}function S(Nt){for(var ie=Nt.nodes,he=Math.max(of(ie,function(pr){return pr.depth})+1,0),ue=(t-r-i)/(he-1),ve=new Array(he).fill(0).map(function(){return[]}),Te=0,Be=ie;Te0){var Ia=(Xe/er-Re.y0)*ie;Re.y0+=Ia,Re.y1+=Ia,jt(Re)}}c===void 0&&Te.sort(Cl),Te.length&&dt(Te,he)}}function Q(Nt,ie,he){for(var ue=Nt.length,ve=ue-2;ve>=0;--ve){for(var Te=Nt[ve],Be=0,Ye=Te;Be0){var Ia=(Xe/er-Re.y0)*ie;Re.y0+=Ia,Re.y1+=Ia,jt(Re)}}c===void 0&&Te.sort(Cl),Te.length&&dt(Te,he)}}function dt(Nt,ie){var he=Nt.length>>1,ue=Nt[he];Dt(Nt,ue.y0-o,he-1,ie),ut(Nt,ue.y1+o,he+1,ie),Dt(Nt,n,Nt.length-1,ie),ut(Nt,e,0,ie)}function ut(Nt,ie,he,ue){for(;he1e-6&&(ve.y0+=Te,ve.y1+=Te),ie=ve.y1+o}}function Dt(Nt,ie,he,ue){for(;he>=0;--he){var ve=Nt[he],Te=(ve.y1-ie)*ue;Te>1e-6&&(ve.y0-=Te,ve.y1-=Te),ie=ve.y0-o}}function jt(Nt){var ie=Nt.sourceLinks,he=Nt.targetLinks;if(h===void 0){for(var ue=0,ve=he;ue "+i,value:a}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var n=Q0(this.options,this.chart.width,this.chart.height),i=n.nodes,a=n.edges,o=He(this.chart,wl),s=He(this.chart,Ml);o.changeData(i),s.changeData(a)},e.prototype.getSchemaAdaptor=function(){return cD},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),lf="ancestor-node",ty="value",_o="path",hD=[_o,F0,Jc,_0,"name","depth","height"],vD=_t({},Oe.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},legend:!1,sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}});function ey(r){r.x0=Math.round(r.x0),r.y0=Math.round(r.y0),r.x1=Math.round(r.x1),r.y1=Math.round(r.y1)}function Io(r,e,t,n,i){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(n-e)/r.value;++s0)throw new Error("cycle");return l}return t.id=function(n){return arguments.length?(r=xl(n),t):r},t.parentId=function(n){return arguments.length?(e=xl(n),t):e},t}function FD(r,e){return r.parent===e.parent?1:2}function uf(r){var e=r.children;return e?e[0]:r.t}function cf(r){var e=r.children;return e?e[e.length-1]:r.t}function _D(r,e,t){var n=t/(e.i-r.i);e.c-=n,e.s+=t,r.c+=n,e.z+=t,e.m+=t}function ID(r){for(var e=0,t=0,n=r.children,i=n.length,a;--i>=0;)a=n[i],a.z+=e,a.m+=e,e+=a.s+(t+=a.c)}function kD(r,e,t){return r.a.parent===e.parent?r.a:t}function bl(r,e){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}bl.prototype=Object.create(Ea.prototype);function LD(r){for(var e=new bl(r,0),t,n=[e],i,a,o,s;t=n.pop();)if(a=t._.children)for(t.children=new Array(s=a.length),o=s-1;o>=0;--o)n.push(i=t.children[o]=new bl(a[o],o)),i.parent=t;return(e.parent=new bl(null,0)).children=[e],e}function PD(){var r=FD,e=1,t=1,n=null;function i(u){var c=LD(u);if(c.eachAfter(a),c.parent.m=-c.z,c.eachBefore(o),n)u.eachBefore(l);else{var h=u,v=u,p=u;u.eachBefore(function(w){w.xv.x&&(v=w),w.depth>p.depth&&(p=w)});var g=h===v?1:r(h,v)/2,y=g-h.x,x=e/(v.x+g+y),m=t/(p.depth||1);u.eachBefore(function(w){w.x=(w.x+y)*x,w.y=w.depth*m})}return u}function a(u){var c=u.children,h=u.parent.children,v=u.i?h[u.i-1]:null;if(c){ID(u);var p=(c[0].z+c[c.length-1].z)/2;v?(u.z=v.z+r(u._,v._),u.m=u.z-p):u.z=p}else v&&(u.z=v.z+r(u._,v._));u.parent.A=s(u,v,u.parent.A||h[0])}function o(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function s(u,c,h){if(c){for(var v=u,p=u,g=c,y=v.parent.children[0],x=v.m,m=p.m,w=g.m,M=y.m,S;g=cf(g),v=uf(v),g&&v;)y=uf(y),p=cf(p),p.a=u,S=g.z+w-v.z-x+r(g._,v._),S>0&&(_D(kD(g,u,h),u,S),x+=S,m+=S),w+=g.m,x+=v.m,M+=y.m,m+=p.m;g&&!cf(p)&&(p.t=g,p.m+=w-m),v&&!uf(y)&&(y.t=v,y.m+=x-M,h=u)}return h}function l(u){u.x*=e,u.y=u.depth*t}return i.separation=function(u){return arguments.length?(r=u,i):r},i.size=function(u){return arguments.length?(n=!1,e=+u[0],t=+u[1],i):n?null:[e,t]},i.nodeSize=function(u){return arguments.length?(n=!0,e=+u[0],t=+u[1],i):n?[e,t]:null},i}function Al(r,e,t,n,i){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(i-t)/r.value;++sw&&(w=u),B=x*x*A,M=Math.max(w/B,B/m),M>S){x-=u;break}S=M}o.push(l={value:x,dice:p1?n:1)},t}(iy);function sy(){var r=oy,e=!1,t=1,n=1,i=[0],a=Ui,o=Ui,s=Ui,l=Ui,u=Ui;function c(v){return v.x0=v.y0=0,v.x1=t,v.y1=n,v.eachBefore(h),i=[0],e&&v.eachBefore(ey),v}function h(v){var p=i[v.depth],g=v.x0+p,y=v.y0+p,x=v.x1-p,m=v.y1-p;x=v-1){var w=a[h];w.x0=g,w.y0=y,w.x1=x,w.y1=m;return}for(var M=u[h],S=p/2+M,A=h+1,B=v-1;A>>1;u[U]m-y){var ut=p?(g*dt+x*Q)/p:x;c(h,A,Q,g,y,ut,m),c(A,v,dt,ut,y,x,m)}else{var Dt=p?(y*dt+m*Q)/p:m;c(h,A,Q,g,y,x,Dt),c(A,v,dt,g,Dt,x,m)}}}function OD(r,e,t,n,i){(r.depth&1?Al:Io)(r,e,t,n,i)}var BD=function r(e){function t(n,i,a,o,s){if((l=n._squarify)&&l.ratio===e)for(var l,u,c,h,v=-1,p,g=l.length,y=n.value;++v1?n:1)},t}(iy),RD={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(r,e){return e.value-r.value},ratio:.5*(1+Math.sqrt(5))};function ND(r,e){return r==="treemapSquarify"?ct[r].ratio(e):ct[r]}function ly(r,e){e=(0,f.f0)({},RD,e);var t=e.as;if(!(0,f.kJ)(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var n;try{n=Qc(e)}catch(u){console.warn(u)}var i=ND(e.tile,e.ratio),a=function(u){return sy().tile(i).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(Ta(u).sum(function(c){return e.ignoreParentValue&&c.children?0:c[n]}).sort(e.sort))},o=a(r),s=t[0],l=t[1];return o.each(function(u){u[s]=[u.x0,u.x1,u.x1,u.x0],u[l]=[u.y1,u.y1,u.y0,u.y0],["x0","x1","y0","y1"].forEach(function(c){t.indexOf(c)===-1&&delete u[c]})}),tf(o)}function uy(r){var e=r.data,t=r.colorField,n=r.rawFields,i=r.hierarchyConfig,a=i===void 0?{}:i,o=a.activeDepth,s={partition:dD,treemap:ly},l=r.seriesField,u=r.type||"partition",c=s[u](e,(0,d.pi)((0,d.pi)({field:l||"value"},(0,f.CE)(a,["activeDepth"])),{type:"hierarchy.".concat(u),as:["x","y"]})),h=[];return c.forEach(function(v){var p,g,y,x,m,w;if(v.depth===0||o>0&&v.depth>o)return null;for(var M=v.data.name,S=(0,d.pi)({},v);S.depth>1;)M="".concat((g=S.parent.data)===null||g===void 0?void 0:g.name," / ").concat(M),S=S.parent;var A=(0,d.pi)((0,d.pi)((0,d.pi)({},Qe(v.data,(0,d.ev)((0,d.ev)([],n||[],!0),[a.field],!1))),(p={},p[_o]=M,p[lf]=S.data.name,p)),v);l&&(A[l]=v.data[l]||((x=(y=v.parent)===null||y===void 0?void 0:y.data)===null||x===void 0?void 0:x[l])),t&&(A[t]=v.data[t]||((w=(m=v.parent)===null||m===void 0?void 0:m.data)===null||w===void 0?void 0:w[t])),A.ext=a,A[Eo]={hierarchyConfig:a,colorField:t,rawFields:n},h.push(A)}),h}function zD(r){var e=r.chart,t=r.options,n=t.color,i=t.colorField,a=i===void 0?lf:i,o=t.sunburstStyle,s=t.rawFields,l=s===void 0?[]:s,u=t.shape,c=uy(t);e.data(c);var h;return o&&(h=function(v){return _t({},{fillOpacity:Math.pow(.85,v.depth)},(0,f.mf)(o)?o(v):o)}),ll(_t({},r,{options:{xField:"x",yField:"y",seriesField:a,rawFields:(0,f.jj)((0,d.ev)((0,d.ev)([],hD,!0),l,!0)),polygon:{color:n,style:h,shape:u}}})),r}function VD(r){var e=r.chart;return e.axis(!1),r}function UD(r){var e=r.chart,t=r.options,n=t.label,i=br(e,"polygon");if(!n)i.label(!1);else{var a=n.fields,o=a===void 0?["name"]:a,s=n.callback,l=(0,d._T)(n,["fields","callback"]);i.label({fields:o,callback:s,cfg:mr(l)})}return r}function HD(r){var e=r.chart,t=r.options,n=t.innerRadius,i=t.radius,a=t.reflect,o=e.coordinate({type:"polar",cfg:{innerRadius:n,radius:i}});return a&&o.reflect(a),r}function GD(r){var e,t=r.options,n=t.hierarchyConfig,i=t.meta;return _e(ur({},(e={},e[ty]=(0,f.U2)(i,(0,f.U2)(n,["field"],"value")),e)))(r)}function YD(r){var e=r.chart,t=r.options,n=t.tooltip;if(n===!1)e.tooltip(!1);else{var i=n;(0,f.U2)(n,"fields")||(i=_t({},{customItems:function(a){return a.map(function(o){var s=(0,f.U2)(e.getOptions(),"scales"),l=(0,f.U2)(s,[_o,"formatter"],function(c){return c}),u=(0,f.U2)(s,[ty,"formatter"],function(c){return c});return(0,d.pi)((0,d.pi)({},o),{name:l(o.data[_o]),value:u(o.data.value)})})}},i)),e.tooltip(i)}return r}function XD(r){var e=r.drilldown,t=r.interactions,n=t===void 0?[]:t;return e!=null&&e.enabled?_t({},r,{interactions:(0,d.ev)((0,d.ev)([],n,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:uy}}],!1)}):r}function WD(r){var e=r.chart,t=r.options,n=t.drilldown;return or({chart:e,options:XD(t)}),n!=null&&n.enabled&&(e.appendPadding=el(e.appendPadding,(0,f.U2)(n,["breadCrumb","position"]))),r}function ZD(r){return _e(We,jr("sunburstStyle"),zD,VD,GD,Di,HD,YD,UD,WD,tr,sr())(r)}var D6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="sunburst",t}return e.getDefaultOptions=function(){return vD},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ZD},e.SUNBURST_ANCESTOR_FIELD=lf,e.SUNBURST_PATH_FIELD=_o,e.NODE_ANCESTORS_FIELD=Jc,e}(Oe);function cy(r,e){if(!!(0,f.kJ)(r))return r.find(function(t){return t.type===e})}function fy(r,e){var t=cy(r,e);return t&&t.enable!==!1}function ff(r){var e=r.interactions,t=r.drilldown;return(0,f.U2)(t,"enabled")||fy(e,"treemap-drill-down")}function qD(r){var e=r.interactions["drill-down"];if(!!e){var t=e.context.actions.find(function(n){return n.name==="drill-down-action"});t.reset()}}function hf(r){var e=r.data,t=r.colorField,n=r.enableDrillDown,i=r.hierarchyConfig,a=ly(e,(0,d.pi)((0,d.pi)({},i),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),o=[];return a.forEach(function(s){if(s.depth===0||n&&s.depth!==1||!n&&s.children)return null;var l=s.ancestors().map(function(v){return{data:v.data,height:v.height,value:v.value}}),u=n&&(0,f.kJ)(e.path)?l.concat(e.path.slice(1)):l,c=Object.assign({},s.data,(0,d.pi)({x:s.x,y:s.y,depth:s.depth,value:s.value,path:u},s));if(!s.data[t]&&s.parent){var h=s.ancestors().find(function(v){return v.data[t]});c[t]=h==null?void 0:h.data[t]}else c[t]=s.data[t];c[Eo]={hierarchyConfig:i,colorField:t,enableDrillDown:n},o.push(c)}),o}function $D(r){var e=r.options,t=e.colorField;return _t({options:{rawFields:["value"],tooltip:{fields:["name","value",t,"path"],formatter:function(n){return{name:n.name,value:n.value}}}}},r)}function jD(r){var e=r.chart,t=r.options,n=t.color,i=t.colorField,a=t.rectStyle,o=t.hierarchyConfig,s=t.rawFields,l=hf({data:t.data,colorField:t.colorField,enableDrillDown:ff(t),hierarchyConfig:o});return e.data(l),ll(_t({},r,{options:{xField:"x",yField:"y",seriesField:i,rawFields:s,polygon:{color:n,style:a}}})),e.coordinate().reflect("y"),r}function JD(r){var e=r.chart;return e.axis(!1),r}function KD(r){var e=r.drilldown,t=r.interactions,n=t===void 0?[]:t,i=ff(r);return i?_t({},r,{interactions:(0,d.ev)((0,d.ev)([],n,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:hf}}],!1)}):r}function QD(r){var e=r.chart,t=r.options,n=t.interactions,i=t.drilldown;or({chart:e,options:KD(t)});var a=cy(n,"view-zoom");a&&(a.enable!==!1?e.getCanvas().on("mousewheel",function(s){s.preventDefault()}):e.getCanvas().off("mousewheel"));var o=ff(t);return o&&(e.appendPadding=el(e.appendPadding,(0,f.U2)(i,["breadCrumb","position"]))),r}function tO(r){return _e($D,We,jr("rectStyle"),jD,JD,Di,dr,QD,tr,sr())(r)}var eO={colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:"bottom-left",rootText:"\u521D\u59CB",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}}}},O6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="treemap",t}return e.getDefaultOptions=function(){return eO},e.prototype.changeData=function(t){var n=this.options,i=n.colorField,a=n.interactions,o=n.hierarchyConfig;this.updateOption({data:t});var s=hf({data:t,colorField:i,enableDrillDown:fy(a,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(s),qD(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return tO},e}(Oe),qn="id",vf="path",rO={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(r){return{name:r.id,value:r.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]};function Tl(r){if(!!r){var e=r.geometries[0].elements;e.forEach(function(t){t.shape.toFront()})}}var nO=Ss("element-active"),iO=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){Tl(this.context.view)},e.prototype.active=function(){r.prototype.active.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(nO),aO=Ss("element-highlight"),oO=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){Tl(this.context.view)},e.prototype.highlight=function(){r.prototype.highlight.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.clear=function(){r.prototype.clear.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(aO),sO=Ss("element-selected"),lO=Ss("element-single-selected"),uO=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){Tl(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(sO),cO=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){Tl(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(lO);Ae("venn-element-active",iO),Ae("venn-element-highlight",oO),Ae("venn-element-selected",uO),Ae("venn-element-single-selected",cO),Le("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]}),Le("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]}),Le("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]}),Le("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]}),Le("venn-legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","venn-element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","venn-element-active:reset"]}]}),Le("venn-legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","venn-element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","venn-element-highlight:reset"]}]});var fO=function(r){(0,d.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelPoint=function(t,n,i){var a=t.data,o=a.x,s=a.y,l=t.customLabelInfo,u=l.offsetX,c=l.offsetY;return{content:t.content[i],x:o+u,y:s+c}},e}(ks);no("venn",fO);var hO=Array.isArray,vO=hO,ko=` +\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,pO=new RegExp("([a-z])["+ko+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+ko+"]*,?["+ko+"]*)+)","ig"),dO=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+ko+"]*,?["+ko+"]*","ig");function gO(r){if(!r)return null;if(vO(r))return r;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},t=[];return String(r).replace(pO,function(n,i,a){var o=[],s=i.toLowerCase();if(a.replace(dO,function(l,u){u&&o.push(+u)}),s==="m"&&o.length>2&&(t.push([i].concat(o.splice(0,2))),s="l",i=i==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([i,o[0]]),s==="r")t.push([i].concat(o));else for(;o.length>=e[s]&&(t.push([i].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var yO=/[a-z]/;function hy(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function B6(r){var e=parsePathString(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,n=0;n=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h,v,p=e[0];(p[0]==="M"||p[0]==="m")&&(o=+p[1],s=+p[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var n=c,g=e.length;n1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},xO=function(r,e,t,n,i,a,o,s,l,u,c,h){var v=Math.pow(i,2),p=Math.pow(a,2),g=Math.pow(c,2),y=Math.pow(h,2),x=v*p-v*y-p*g;x<0&&(x=0),x/=v*y+p*g,x=Math.sqrt(x)*(o===s?-1:1);var m=x*i/a*h,w=x*-a/i*c,M=u*m-l*w+(r+t)/2,S=l*m+u*w+(e+n)/2,A=(c-m)/i,B=(h-w)/a,U=(-c-m)/i,Q=(-h-w)/a,dt=vy(1,0,A,B),ut=vy(A,B,U,Q);return s===0&&ut>0&&(ut-=Lo),s===1&&ut<0&&(ut+=Lo),[M,S,dt,ut]},wO=function(r){var e=r.px,t=r.py,n=r.cx,i=r.cy,a=r.rx,o=r.ry,s=r.xAxisRotation,l=s===void 0?0:s,u=r.largeArcFlag,c=u===void 0?0:u,h=r.sweepFlag,v=h===void 0?0:h,p=[];if(a===0||o===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];var g=Math.sin(l*Lo/360),y=Math.cos(l*Lo/360),x=y*(e-n)/2+g*(t-i)/2,m=-g*(e-n)/2+y*(t-i)/2;if(x===0&&m===0)return[{x1:0,y1:0,x2:0,y2:0,x:n,y:i}];a=Math.abs(a),o=Math.abs(o);var w=Math.pow(x,2)/Math.pow(a,2)+Math.pow(m,2)/Math.pow(o,2);w>1&&(a*=Math.sqrt(w),o*=Math.sqrt(w));var M=xO(e,t,n,i,a,o,c,v,g,y,x,m),S=M[0],A=M[1],B=M[2],U=M[3],Q=Math.abs(U)/(Lo/4);Math.abs(1-Q)<1e-7&&(Q=1);var dt=Math.max(Math.ceil(Q),1);U/=dt;for(var ut=0;ut7){r[t].shift();for(var n=r[t],i=t;n.length;)e[t]="A",r.splice(i+=1,0,["C"].concat(n.splice(0,6)));r.splice(t,1)}}var py=function(r,e,t,n,i){var a=-3*e+9*t-9*n+3*i,o=r*a+6*e-12*t+6*n;return r*o-3*e+3*t},dy=function(r,e,t,n,i,a,o,s,l){l===null&&(l=1),l=l>1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],v=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;g0&&p<1&&l.push(p);continue}var y=h*h-4*v*c,x=Math.sqrt(y);if(!(y<0)){var m=(-h+x)/(2*c);m>0&&m<1&&l.push(m);var w=(-h-x)/(2*c);w>0&&w<1&&l.push(w)}}for(var M=l.length,S=M,A;M--;)p=l[M],A=1-p,u[0][M]=A*A*A*r+3*A*A*p*t+3*A*p*p*i+p*p*p*o,u[1][M]=A*A*A*e+3*A*A*p*n+3*A*p*p*a+p*p*p*s;return u[0][S]=r,u[1][S]=e,u[0][S+1]=o,u[1][S+1]=s,u[0].length=u[1].length=S+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},CO=function(r,e,t,n,i,a,o,s){if(!(Math.max(r,t)Math.max(i,o)||Math.max(e,n)Math.max(a,s))){var l=(r*n-e*t)*(i-o)-(r-t)*(i*s-a*o),u=(r*n-e*t)*(a-s)-(e-n)*(i*s-a*o),c=(r-t)*(a-s)-(e-n)*(i-o);if(!!c){var h=l/c,v=u/c,p=+h.toFixed(2),g=+v.toFixed(2);if(!(p<+Math.min(r,t).toFixed(2)||p>+Math.max(r,t).toFixed(2)||p<+Math.min(i,o).toFixed(2)||p>+Math.max(i,o).toFixed(2)||g<+Math.min(e,n).toFixed(2)||g>+Math.max(e,n).toFixed(2)||g<+Math.min(a,s).toFixed(2)||g>+Math.max(a,s).toFixed(2)))return{x:h,y:v}}}},pi=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},df=function(r,e,t,n){return r===null&&(r=e=t=n=0),e===null&&(e=r.y,t=r.width,n=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:n,h:n,x2:r+t,y2:e+n,cx:r+t/2,cy:e+n/2,r1:Math.min(t,n)/2,r2:Math.max(t,n)/2,r0:Math.sqrt(t*t+n*n)/2,path:rectPath(r,e,t,n),vb:[r,e,t,n].join(" ")}},bO=function(r,e){return r=df(r),e=df(e),pi(e,r.x,r.y)||pi(e,r.x2,r.y)||pi(e,r.x,r.y2)||pi(e,r.x2,r.y2)||pi(r,e.x,e.y)||pi(r,e.x2,e.y)||pi(r,e.x,e.y2)||pi(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},gy=function(r,e,t,n,i,a,o,s){isArray(r)||(r=[r,e,t,n,i,a,o,s]);var l=SO.apply(null,r);return df(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},yy=function(r,e,t,n,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),v=l*l,p=v*l,g=c*r+h*3*l*t+u*3*l*l*i+p*o,y=c*e+h*3*l*n+u*3*l*l*a+p*s,x=r+2*l*(t-r)+v*(i-2*t+r),m=e+2*l*(n-e)+v*(a-2*n+e),w=t+2*l*(i-t)+v*(o-2*i+t),M=n+2*l*(a-n)+v*(s-2*a+n),S=u*r+l*t,A=u*e+l*n,B=u*i+l*o,U=u*a+l*s,Q=90-Math.atan2(x-w,m-M)*180/Math.PI;return{x:g,y,m:{x,y:m},n:{x:w,y:M},start:{x:S,y:A},end:{x:B,y:U},alpha:Q}},AO=function(r,e,t){var n=gy(r),i=gy(e);if(!bO(n,i))return t?0:[];for(var a=dy.apply(0,r),o=dy.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},v=t?0:[],p=0;p=0&&U<=1&&Q>=0&&Q<=1&&(t?v++:v.push({x:B.x,y:B.y,t1:U,t2:Q}))}}return v},TO=function(r,e,t){r=path2Curve(r),e=path2Curve(e);for(var n,i,a,o,s,l,u,c,h,v,p=t?0:[],g=0,y=r.length;ge?e:r},lighten:function(r,e){return r>e?r:e},dodge:function(r,e){return r===255?255:(r=255*(e/255)/(1-r/255),r>255?255:r)},burn:function(r,e){return e===255?255:r===0?0:255*(1-Math.min(1,(1-e/255)/(r/255)))}},_O=function(r){if(!my[r])throw new Error("unknown blend mode "+r);return my[r]};function IO(r,e,t){t===void 0&&(t="normal");var n=FO(_O(t))(El(r),El(e)),i=El(r),a=i[0],o=i[1],s=i[2],l=i[3],u=El(e),c=u[0],h=u[1],v=u[2],p=u[3],g=Number((l+p*(1-l)).toFixed(2)),y=Math.round((l*(1-p)*(a/255)+l*p*(n[0]/255)+(1-l)*p*(c/255))/g*255),x=Math.round((l*(1-p)*(o/255)+l*p*(n[1]/255)+(1-l)*p*(h/255))/g*255),m=Math.round((l*(1-p)*(s/255)+l*p*(n[2]/255)+(1-l)*p*(v/255))/g*255);return"rgba(".concat(y,", ").concat(x,", ").concat(m,", ").concat(g,")")}function El(r){var e=r.replace("/s+/g",""),t;return typeof e=="string"&&!e.startsWith("rgba")&&!e.startsWith("#")?t=G.rgb2arr(G.toRGB(e)).concat([1]):(e.startsWith("rgba")&&(t=e.replace("rgba(","").replace(")","").split(",")),e.startsWith("#")&&(t=G.rgb2arr(e).concat([1])),t.map(function(n,i){return i===3?Number(n):n|0}))}var Fn=et(87026),xy=1e-10;function gf(r,e){var t=LO(r),n=t.filter(function(U){return kO(U,r)}),i=0,a=0,o,s=[];if(n.length>1){var l=Sy(n);for(o=0;o-1){var y=r[h.parentIndex[g]],x=Math.atan2(h.x-y.x,h.y-y.y),m=Math.atan2(c.x-y.x,c.y-y.y),w=m-x;w<0&&(w+=2*Math.PI);var M=m-w/2,S=vn(v,{x:y.x+y.radius*Math.sin(M),y:y.y+y.radius*Math.cos(M)});S>y.radius*2&&(S=y.radius*2),(p===null||p.width>S)&&(p={circle:y,width:S,p1:h,p2:c})}p!==null&&(s.push(p),i+=yf(p.circle.radius,p.width),c=h)}}else{var A=r[0];for(o=1;oMath.abs(A.radius-r[o].radius)){B=!0;break}B?i=a=0:(i=A.radius*A.radius*Math.PI,s.push({circle:A,p1:{x:A.x,y:A.y+A.radius},p2:{x:A.x-xy,y:A.y+A.radius},width:A.radius*2}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=s,e.innerPoints=n,e.intersectionPoints=t),i+a}function kO(r,e){for(var t=0;te[t].radius+xy)return!1;return!0}function LO(r){for(var e=[],t=0;t=r+e)return 0;if(t<=Math.abs(r-e))return Math.PI*Math.min(r,e)*Math.min(r,e);var n=r-(t*t-e*e+r*r)/(2*t),i=e-(t*t-r*r+e*e)/(2*t);return yf(r,n)+yf(e,i)}function My(r,e){var t=vn(r,e),n=r.radius,i=e.radius;if(t>=n+i||t<=Math.abs(n-i))return[];var a=(n*n-i*i+t*t)/(2*t),o=Math.sqrt(n*n-a*a),s=r.x+a*(e.x-r.x)/t,l=r.y+a*(e.y-r.y)/t,u=-(e.y-r.y)*(o/t),c=-(e.x-r.x)*(o/t);return[{x:s+u,y:l-c},{x:s-u,y:l+c}]}function Sy(r){for(var e={x:0,y:0},t=0;t=o&&(a=t[n],o=s)}var l=(0,Fn.nelderMead)(function(v){return-1*mf({x:v[0],y:v[1]},r,e)},[a.x,a.y],{maxIterations:500,minErrorDelta:1e-10}).x,u={x:l[0],y:l[1]},c=!0;for(n=0;nr[n].radius){c=!1;break}for(n=0;n0&&console.log("WARNING: area "+a+" not represented on screen")}return t}function OO(r,e,t){var n=[],i=r-t,a=e;return n.push("M",i,a),n.push("A",t,t,0,1,0,i+2*t,a),n.push("A",t,t,0,1,0,i,a),n.join(" ")}function U6(r){var e=r.split(" ");return{x:parseFloat(e[1]),y:parseFloat(e[2]),radius:-parseFloat(e[4])}}function BO(r){var e={};gf(r,e);var t=e.arcs;if(t.length===0)return"M 0 0";if(t.length==1){var n=t[0].circle;return OO(n.x,n.y,n.radius)}else{for(var i=[` +M`,t[0].p2.x,t[0].p2.y],a=0;as;i.push(` +A`,s,s,0,l?1:0,1,o.p1.x,o.p1.y)}return i.join(" ")}}function RO(r,e){e=e||{},e.maxIterations=e.maxIterations||500;var t=e.initialLayout||UO,n=e.lossFunction||wf;r=NO(r);var i=t(r,e),a=[],o=[],s;for(s in i)i.hasOwnProperty(s)&&(a.push(i[s].x),a.push(i[s].y),o.push(s));for(var l=(0,Fn.nelderMead)(function(h){for(var v={},p=0;pu?1:-1}),n=0;n=Math.min(e[o].size,e[s].size)?h=1:a.size<=1e-10&&(h=-1),i[o][s]=i[s][o]=h}),{distances:n,constraints:i}}function VO(r,e,t,n){var i=0,a;for(a=0;a0&&g<=h||v<0&&g>=h||(i+=2*y*y,e[2*a]+=4*y*(o-u),e[2*a+1]+=4*y*(s-c),e[2*l]+=4*y*(u-o),e[2*l+1]+=4*y*(c-s))}return i}function UO(r,e){var t=GO(r,e),n=e.lossFunction||wf;if(r.length>=8){var i=HO(r,e),a=n(i,r),o=n(t,r);a+1e-8=Math.min(n[c].size,n[h].size)&&(u=0),i[c].push({set:h,size:l.size,weight:u}),i[h].push({set:c,size:l.size,weight:u})}var v=[];for(a in i)if(i.hasOwnProperty(a)){for(var p=0,o=0;o0){var i=r[0].x,a=r[0].y;for(n=0;n1){var s=Math.atan2(r[1].x,r[1].y)-e,l=void 0,u=void 0,c=Math.cos(s),h=Math.sin(s);for(n=0;n2){for(var v=Math.atan2(r[2].x,r[2].y)-e;v<0;)v+=2*Math.PI;for(;v>2*Math.PI;)v-=2*Math.PI;if(v>Math.PI){var p=r[1].y/(1e-10+r[1].x);for(n=0;n1)throw new Error("quantiles must be between 0 and 1");return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function Po(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}function Fl(r,e,t,n){for(t=t||0,n=n||r.length-1;n>t;){if(n-t>600){var i=n-t+1,a=e-t+1,o=Math.log(i),s=.5*Math.exp(2*o/3),l=.5*Math.sqrt(o*s*(i-s)/i);a-i/2<0&&(l*=-1);var u=Math.max(t,Math.floor(e-a*s/i+l)),c=Math.min(n,Math.floor(e+(i-a)*s/i+l));Fl(r,e,u,c)}var h=r[e],v=t,p=n;for(Po(r,t,e),r[n]>h&&Po(r,t,n);vh;)p--}r[t]===h?Po(r,t,p):(p++,Po(r,p,n)),p<=e&&(t=p+1),e<=p&&(n=p-1)}}function Do(r,e){var t=r.slice();if(Array.isArray(e)){vB(t,e);for(var n=[],i=0;i0?c:h},x=_t({},r,{options:{xField:i,yField:an,seriesField:i,rawFields:[a,kl,bf,an],widthRatio:l,interval:{style:u,shape:p||"waterfall",color:y}}}),m=Ar(x).ext,w=m.geometry;return w.customInfo((0,d.pi)((0,d.pi)({},g),{leaderLine:s})),r}function IB(r){var e,t,n=r.options,i=n.xAxis,a=n.yAxis,o=n.xField,s=n.yField,l=n.meta,u=_t({},{alias:s},(0,f.U2)(l,s));return _e(ur((e={},e[o]=i,e[s]=a,e[an]=a,e),_t({},l,(t={},t[an]=u,t[kl]=u,t[Cf]=u,t))))(r)}function kB(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n===!1?e.axis(a,!1):e.axis(a,n),i===!1?(e.axis(o,!1),e.axis(an,!1)):(e.axis(o,i),e.axis(an,i)),r}function LB(r){var e=r.chart,t=r.options,n=t.legend,i=t.total,a=t.risingFill,o=t.fallingFill,s=t.locale,l=al(s);if(n===!1)e.legend(!1);else{var u=[{name:l.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:l.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:o}}}];i&&u.push({name:i.label||"",value:"total",marker:{symbol:"square",style:_t({},{r:5},(0,f.U2)(i,"style"))}}),e.legend(_t({},{custom:!0,position:"top",items:u},n)),e.removeInteraction("legend-filter")}return r}function PB(r){var e=r.chart,t=r.options,n=t.label,i=t.labelMode,a=t.xField,o=br(e,"interval");if(!n)o.label(!1);else{var s=n.callback,l=(0,d._T)(n,["callback"]);o.label({fields:i==="absolute"?[Cf,a]:[kl,a],callback:s,cfg:mr(l)})}return r}function DB(r){var e=r.chart,t=r.options,n=t.tooltip,i=t.xField,a=t.yField;if(n!==!1){e.tooltip((0,d.pi)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},n));var o=e.geometries[0];n!=null&&n.formatter?o.tooltip("".concat(i,"*").concat(a),n.formatter):o.tooltip(a)}else e.tooltip(!1);return r}function OB(r){return _e(FB,We,_B,IB,kB,LB,DB,PB,fi,or,tr,sr())(r)}var X6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="waterfall",t}return e.getDefaultOptions=function(){return bB},e.prototype.changeData=function(t){var n=this.options,i=n.xField,a=n.yField,o=n.total;this.updateOption({data:t}),this.chart.changeData(Oy(t,i,a,o))},e.prototype.getSchemaAdaptor=function(){return OB},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),Af="color",BB=_t({},Oe.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",Af],formatter:function(r){return{name:r.text,value:r.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}}),RB={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function NB(r,e){return e=(0,f.f0)({},RB,e),zB(r,e)}function zB(r,e){var t=KB();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(l){(0,f.UM)(e[l])||t[l](e[l])}),t.words(r),e.imageMask&&t.createMask(e.imageMask);var n=t.start(),i=n._tags;i.forEach(function(l){l.x+=e.size[0]/2,l.y+=e.size[1]/2});var a=e.size,o=a[0],s=a[1];return i.push({text:"",value:0,x:0,y:0,opacity:0}),i.push({text:"",value:0,x:o,y:s,opacity:0}),i}var Tf=Math.PI/180,Oo=1<<11>>5,Ll=1<<11;function VB(r){return r.text}function UB(){return"serif"}function By(){return"normal"}function HB(r){return r.value}function GB(){return~~(Math.random()*2)*90}function YB(){return 1}function XB(r,e,t,n){if(!e.sprite){var i=r.context,a=r.ratio;i.clearRect(0,0,(Oo<<5)/a,Ll/a);var o=0,s=0,l=0,u=t.length;for(--n;++n>5<<5,h=~~Math.max(Math.abs(y+x),Math.abs(y-x))}else c=c+31>>5<<5;if(h>l&&(l=h),o+c>=Oo<<5&&(o=0,s+=l,l=0),s+h>=Ll)break;i.translate((o+(c>>1))/a,(s+(h>>1))/a),e.rotate&&i.rotate(e.rotate*Tf),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=c,e.height=h,e.xoff=o,e.yoff=s,e.x1=c>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=c}for(var w=i.getImageData(0,0,(Oo<<5)/a,Ll/a).data,M=[];--n>=0;)if(e=t[n],!!e.hasText){for(var c=e.width,S=c>>5,h=e.y1-e.y0,A=0;A>5),ut=w[(s+Q)*(Oo<<5)+(o+A)<<2]?1<<31-A%32:0;M[dt]|=ut,B|=ut}B?U=Q:(e.y0++,h--,Q--,s++)}e.y1=e.y0+U,e.sprite=M.slice(0,(e.y1-e.y0)*S)}}}function WB(r,e,t){t>>=5;for(var n=r.sprite,i=r.width>>5,a=r.x-(i<<4),o=a&127,s=32-o,l=r.y1-r.y0,u=(r.y+r.y0)*t+(a>>5),c,h=0;h>>o:0))&e[u+v])return!0;u+=t}return!1}function ZB(r,e){var t=r[0],n=r[1];e.x+e.x0n.x&&(n.x=e.x+e.x1),e.y+e.y1>n.y&&(n.y=e.y+e.y1)}function qB(r,e){return r.x+r.x1>e[0].x&&r.x+r.x0e[0].y&&r.y+r.y0>5)*r[1]),S=l.length,A=[],B=l.map(function(ut,Dt,jt){return ut.text=c.call(this,ut,Dt,jt),ut.font=e.call(this,ut,Dt,jt),ut.style=h.call(this,ut,Dt,jt),ut.weight=n.call(this,ut,Dt,jt),ut.rotate=i.call(this,ut,Dt,jt),ut.size=~~t.call(this,ut,Dt,jt),ut.padding=a.call(this,ut,Dt,jt),ut}).sort(function(ut,Dt){return Dt.size-ut.size}),U=-1,Q=p.board?[{x:0,y:0},{x,y:m}]:null;dt();function dt(){for(var ut=Date.now();Date.now()-ut>1,Dt.y=m*(s()+.5)>>1,XB(w,Dt,B,U),Dt.hasText&&y(M,Dt,Q)&&(A.push(Dt),Q?p.hasImage||ZB(Q,Dt):Q=[{x:Dt.x+Dt.x0,y:Dt.y+Dt.y0},{x:Dt.x+Dt.x1,y:Dt.y+Dt.y1}],Dt.x-=r[0]>>1,Dt.y-=r[1]>>1)}p._tags=A,p._bounds=Q}return p};function g(x){x.width=x.height=1;var m=Math.sqrt(x.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,1,1).data.length>>2);x.width=(Oo<<5)/m,x.height=Ll/m;var w=x.getContext("2d",{willReadFrequently:!0});return w.fillStyle=w.strokeStyle="red",w.textAlign="center",{context:w,ratio:m}}function y(x,m,w){for(var M=m.x,S=m.y,A=Math.sqrt(r[0]*r[0]+r[1]*r[1]),B=o(r),U=s()<.5?1:-1,Q,dt=-U,ut,Dt;(Q=B(dt+=U))&&(ut=~~Q[0],Dt=~~Q[1],!(Math.min(Math.abs(ut),Math.abs(Dt))>=A));)if(m.x=M+ut,m.y=S+Dt,!(m.x+m.x0<0||m.y+m.y0<0||m.x+m.x1>r[0]||m.y+m.y1>r[1])&&(!w||!WB(m,x,r[0]))&&(!w||qB(m,w))){for(var jt=m.sprite,fe=m.width>>5,me=r[0]>>5,be=m.x-(fe<<4),Nt=be&127,ie=32-Nt,he=m.y1-m.y0,ue=void 0,ve=(m.y+m.y0)*me+(be>>5),Te=0;Te>>Nt:0);ve+=me}return delete m.sprite,!0}return!1}return p.createMask=function(x){var m=document.createElement("canvas"),w=r[0],M=r[1];if(!(!w||!M)){var S=w>>5,A=Ny((w>>5)*M);m.width=w,m.height=M;var B=m.getContext("2d");B.drawImage(x,0,0,x.width,x.height,0,0,w,M);for(var U=B.getImageData(0,0,w,M).data,Q=0;Q>5),Dt=Q*w+dt<<2,jt=U[Dt]>=250&&U[Dt+1]>=250&&U[Dt+2]>=250,fe=jt?1<<31-dt%32:0;A[ut]|=fe}p.board=A,p.hasImage=!0}},p.timeInterval=function(x){u=x==null?1/0:x},p.words=function(x){l=x},p.size=function(x){r=[+x[0],+x[1]]},p.font=function(x){e=_n(x)},p.fontWeight=function(x){n=_n(x)},p.rotate=function(x){i=_n(x)},p.spiral=function(x){o=JB[x]||x},p.fontSize=function(x){t=_n(x)},p.padding=function(x){a=_n(x)},p.random=function(x){s=_n(x)},p}function zy(r){var e=r.options,t=r.chart,n=t,i=n.width,a=n.height,o=n.padding,s=n.appendPadding,l=n.ele,u=e.data,c=e.imageMask,h=e.wordField,v=e.weightField,p=e.colorField,g=e.wordStyle,y=e.timeInterval,x=e.random,m=e.spiral,w=e.autoFit,M=w===void 0?!0:w,S=e.placementStrategy;if(!u||!u.length)return[];var A=g.fontFamily,B=g.fontWeight,U=g.padding,Q=g.fontSize,dt=nR(u,v),ut=[oR(dt),sR(dt)],Dt=u.map(function(me){return{text:me[h],value:me[v],color:me[p],datum:me}}),jt={imageMask:c,font:A,fontSize:rR(Q,ut),fontWeight:B,size:QB({width:i,height:a,padding:o,appendPadding:s,autoFit:M,container:l}),padding:U,timeInterval:y,random:x,spiral:m,rotate:iR(e)};if((0,f.mf)(S)){var fe=Dt.map(function(me,be,Nt){return(0,d.pi)((0,d.pi)((0,d.pi)({},me),{hasText:!!me.text,font:_n(jt.font)(me,be,Nt),weight:_n(jt.fontWeight)(me,be,Nt),rotate:_n(jt.rotate)(me,be,Nt),size:_n(jt.fontSize)(me,be,Nt),style:"normal"}),S.call(t,me,be,Nt))});return fe.push({text:"",value:0,x:0,y:0,opacity:0}),fe.push({text:"",value:0,x:jt.size[0],y:jt.size[1],opacity:0}),fe}return NB(Dt,jt)}function QB(r){var e=r.width,t=r.height,n=r.container,i=r.autoFit,a=r.padding,o=r.appendPadding;if(i){var s=_c(n);e=s.width,t=s.height}e=e||400,t=t||400;var l=tR({padding:a,appendPadding:o}),u=l[0],c=l[1],h=l[2],v=l[3],p=[e-(v+c),t-(u+h)];return p}function tR(r){var e=ci(r.padding),t=ci(r.appendPadding),n=e[0]+t[0],i=e[1]+t[1],a=e[2]+t[2],o=e[3]+t[3];return[n,i,a,o]}function eR(r){return new Promise(function(e,t){if(r instanceof HTMLImageElement){e(r);return}if((0,f.HD)(r)){var n=new Image;n.crossOrigin="anonymous",n.src=r,n.onload=function(){e(n)},n.onerror=function(){Gn(hn.ERROR,!1,"image %s load failed !!!",r),t()};return}Gn(hn.WARN,r===void 0,"The type of imageMask option must be String or HTMLImageElement."),t()})}function rR(r,e){if((0,f.mf)(r))return r;if((0,f.kJ)(r)){var t=r[0],n=r[1];if(!e)return function(){return(n+t)/2};var i=e[0],a=e[1];return a===i?function(){return(n+t)/2}:function(s){var l=s.value;return(n-t)/(a-i)*(l-i)+t}}return function(){return r}}function nR(r,e){return r.map(function(t){return t[e]}).filter(function(t){return typeof t=="number"&&!isNaN(t)})}function iR(r){var e=aR(r),t=e.rotation,n=e.rotationSteps;if(!(0,f.kJ)(t))return t;var i=t[0],a=t[1],o=n===1?0:(a-i)/(n-1);return function(){return a===i?a:Math.floor(Math.random()*n)*o}}function aR(r){var e=r.wordStyle.rotationSteps;return e<1&&(Gn(hn.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:r.wordStyle.rotation,rotationSteps:e}}function oR(r){return Math.min.apply(Math,r)}function sR(r){return Math.max.apply(Math,r)}function lR(r){var e=r.chart,t=r.options,n=t.colorField,i=t.color,a=zy(r);e.data(a);var o=_t({},r,{options:{xField:"x",yField:"y",seriesField:n&&Af,rawFields:(0,f.mf)(i)&&(0,d.ev)((0,d.ev)([],(0,f.U2)(t,"rawFields",[]),!0),["datum"],!1),point:{color:i,shape:"word-cloud"}}}),s=Jr(o).ext;return s.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),r}function uR(r){return _e(ur({x:{nice:!1},y:{nice:!1}}))(r)}function cR(r){var e=r.chart,t=r.options,n=t.legend,i=t.colorField;return n===!1?e.legend(!1):i&&e.legend(Af,n),r}function fR(r){_e(lR,uR,dr,cR,or,tr,We,fi)(r)}qe("point","word-cloud",{draw:function(r,e){var t=r.x,n=r.y,i=e.addShape("text",{attrs:(0,d.pi)((0,d.pi)({},hR(r)),{x:t,y:n})}),a=r.data.rotate;return typeof a=="number"&&Hr.rotate(i,a*Math.PI/180),i}});function hR(r){return{fontSize:r.data.size,text:r.data.text,textAlign:"center",fontFamily:r.data.font,fontWeight:r.data.weight,fill:r.color||r.defaultStyle.stroke,textBaseline:"alphabetic"}}var W6=function(r){(0,d.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="word-cloud",t}return e.getDefaultOptions=function(){return BB},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(zy({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var t=this;return new Promise(function(n){var i=t.options.imageMask;if(!i){r.prototype.render.call(t),n();return}var a=function(o){t.options=(0,d.pi)((0,d.pi)({},t.options),{imageMask:o||null}),r.prototype.render.call(t),n()};eR(i).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return fR},e.prototype.triggerResize=function(){var t=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){r.prototype.triggerResize.call(t)}))},e}(Oe),Z6=function(r){(0,d.ZT)(e,r);function e(t,n,i,a){var o=r.call(this,t,_t({},a,n))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=i,o}return e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e}(Oe),q6="2.4.31";eg("en-US",lF),eg("zh-CN",uF);var $6={scale:ur,legend:Di,tooltip:dr,annotation:sr,interaction:or,theme:We,animation:tr}},31506:function(Ie,re,et){"use strict";et.d(re,{Dg:function(){return At},lh:function(){return It},m$:function(){return Jt},vs:function(){return gt},zu:function(){return Gt}});var pt=et(35600),xt=et(31437);function Jt(zt,Ot,ct){var d=[0,0,0,0,0,0,0,0,0];return pt.vc(d,ct),pt.Jp(zt,d,Ot)}function Gt(zt,Ot,ct){var d=[0,0,0,0,0,0,0,0,0];return pt.Us(d,ct),pt.Jp(zt,d,Ot)}function It(zt,Ot,ct){var d=[0,0,0,0,0,0,0,0,0];return pt.xJ(d,ct),pt.Jp(zt,d,Ot)}function Ft(zt,Ot,ct){return pt.Jp(zt,ct,Ot)}function gt(zt,Ot){for(var ct=zt?[].concat(zt):[1,0,0,0,1,0,0,0,1],d=0,f=Ot.length;d=0;return ct?f?Math.PI*2-d:d:f?d:Math.PI*2-d}function ee(zt,Ot,ct){return ct?(zt[0]=Ot[1],zt[1]=-1*Ot[0]):(zt[0]=-1*Ot[1],zt[1]=Ot[0]),zt}},45098:function(Ie,re,et){"use strict";et.d(re,{Ct:function(){return rs},f0:function(){return ts},uZ:function(){return Me},VS:function(){return Tr},d9:function(){return Xo},FX:function(){return Gt},Ds:function(){return Zo},b$:function(){return jo},e5:function(){return wt},S6:function(){return bt},yW:function(){return Mr},hX:function(){return Ft},sE:function(){return Pt},cx:function(){return Tt},Wx:function(){return it},ri:function(){return xe},xH:function(){return z},U5:function(){return La},U2:function(){return zl},Lo:function(){return Yl},rx:function(){return k},ru:function(){return Ht},vM:function(){return vt},Ms:function(){return kt},wH:function(){return R},YM:function(){return $t},q9:function(){return Gt},cq:function(){return Jo},kJ:function(){return f},jn:function(){return No},J_:function(){return mn},kK:function(){return Go},xb:function(){return Zr},Xy:function(){return Rn},mf:function(){return Ot},BD:function(){return Ct},UM:function(){return d},Ft:function(){return Vo},hj:function(){return Se},vQ:function(){return Sr},Kn:function(){return rt},PO:function(){return we},HD:function(){return K},P9:function(){return zt},o8:function(){return Pa},XP:function(){return Z},Z$:function(){return Ut},vl:function(){return se},UI:function(){return Qo},Q8:function(){return Nl},Fp:function(){return V},UT:function(){return on},HP:function(){return qo},VV:function(){return H},F:function(){return Wr},CD:function(){return ts},wQ:function(){return Or},ZT:function(){return Ul},CE:function(){return Mn},ei:function(){return ta},u4:function(){return N},Od:function(){return q},U7:function(){return Yo},t8:function(){return Qi},dp:function(){return Hl},G:function(){return $},MR:function(){return qt},ng:function(){return ir},P2:function(){return Br},qo:function(){return es},c$:function(){return ka},BB:function(){return ne},jj:function(){return Wt},EL:function(){return Bf},jC:function(){return Pr},VO:function(){return st},I:function(){return ce}});var pt=function(D){return D!==null&&typeof D!="function"&&isFinite(D.length)},xt=pt,Jt=function(D,J){return xt(D)?D.indexOf(J)>-1:!1},Gt=Jt,It=function(D,J){if(!xt(D))return D;for(var lt=[],Mt=0;Mt-1;)_.call(D,de,1);return D},I=null,F=Array.prototype.splice,C=function(J,lt){if(!xt(J))return[];for(var Mt=J?lt.length:0,Yt=Mt-1;Mt--;){var de=void 0,Ee=lt[Mt];(Mt===Yt||Ee!==de)&&(de=Ee,F.call(J,Ee,1))}return J},E=C,P=function(D,J,lt){if(!f(D)&&!we(D))return D;var Mt=lt;return bt(D,function(Yt,de){Mt=J(Mt,Yt,de)}),Mt},N=P,O=function(D,J){var lt=[];if(!xt(D))return lt;for(var Mt=-1,Yt=[],de=D.length;++Mtde[je])return 1;if(Yt[je]lt?lt:D},Me=ge,le=function(D,J){var lt=J.toString(),Mt=lt.indexOf(".");if(Mt===-1)return Math.round(D);var Yt=lt.substr(Mt+1).length;return Yt>20&&(Yt=20),parseFloat(D.toFixed(Yt))},xe=le,Ce=function(D){return zt(D,"Number")},Se=Ce,ae=function(D){return isNumber(D)&&D%1!==0},Fe=null,Ve=function(D){return isNumber(D)&&D%2===0},ke=null,ze=Number.isInteger?Number.isInteger:function(D){return Se(D)&&D%1===0},$e=null,Je=function(D){return isNumber(D)&&D<0},gr=null,Dr=1e-5;function Sr(D,J,lt){return lt===void 0&&(lt=Dr),Math.abs(D-J)0},Pn=null,on=function(D,J){if(!!f(D)){for(var lt,Mt=-1/0,Yt=0;YtMt&&(lt=de,Mt=Ee)}return lt}},Wr=function(D,J){if(!!f(D)){for(var lt,Mt=1/0,Yt=0;YtJ?(Mt&&(clearTimeout(Mt),Mt=null),je=Rr,Ee=D.apply(Yt,de),Mt||(Yt=de=null)):!Mt&<.trailing!==!1&&(Mt=setTimeout(Er,na)),Ee};return Fr.cancel=function(){clearTimeout(Mt),je=0,Mt=Yt=de=null},Fr},es=function(D){return xt(D)?Array.prototype.slice.call(D):[]},xi={},Bf=function(D){return D=D||"g",xi[D]?xi[D]+=1:xi[D]=1,D+xi[D]},Ul=function(){};function Hl(D){return d(D)?0:xt(D)?D.length:Object.keys(D).length}var Gl=et(97582),ea,ra=qo(function(D,J){J===void 0&&(J={});var lt=J.fontSize,Mt=J.fontFamily,Yt=J.fontWeight,de=J.fontStyle,Ee=J.fontVariant;return ea||(ea=document.createElement("canvas").getContext("2d")),ea.font=[de,Ee,Yt,lt+"px",Mt].join(" "),ea.measureText(K(D)?D:"").width},function(D,J){return J===void 0&&(J={}),(0,Gl.pr)([D],st(J)).join("")}),Yl=function(D,J,lt,Mt){Mt===void 0&&(Mt="...");var Yt=16,de=ra(Mt,lt),Ee=K(D)?D:ne(D),je=J,Er=[],Fr,Rr;if(ra(D,lt)<=J)return D;for(;Fr=Ee.substr(0,Yt),Rr=ra(Fr,lt),!(Rr+de>je&&Rr>je);)if(Er.push(Fr),je-=Rr,Ee=Ee.substr(Yt),!Ee)return Er.join("");for(;Fr=Ee.substr(0,1),Rr=ra(Fr,lt),!(Rr+de>je);)if(Er.push(Fr),je-=Rr,Ee=Ee.substr(1),!Ee)return Er.join("");return""+Er.join("")+Mt},Xl=function(){function D(){this.map={}}return D.prototype.has=function(J){return this.map[J]!==void 0},D.prototype.get=function(J,lt){var Mt=this.map[J];return Mt===void 0?lt:Mt},D.prototype.set=function(J,lt){this.map[J]=lt},D.prototype.clear=function(){this.map={}},D.prototype.delete=function(J){delete this.map[J]},D.prototype.size=function(){return Object.keys(this.map).length},D}(),rs=Xl},55054:function(Ie,re,et){"use strict";et.d(re,{Z:function(){return Pt}});var pt=et(67294),xt=et(57838),Jt=et(96159),Gt=et(93967),It=et.n(Gt),Ft=et(64217),gt=et(53124),wt=et(99559),ee=Lt=>{const{value:Tt,formatter:ht,precision:it,decimalSeparator:T,groupSeparator:z="",prefixCls:yt}=Lt;let Y;if(typeof ht=="function")Y=ht(Tt);else{const V=String(Tt),H=V.match(/^(-?)(\d*)(\.(\d+))?$/);if(!H||V==="-")Y=V;else{const b=H[1];let k=H[2]||"0",L=H[4]||"";k=k.replace(/\B(?=(\d{3})+(?!\d))/g,z),typeof it=="number"&&(L=L.padEnd(it,"0").slice(0,it>0?it:0)),L&&(L=`${T}${L}`),Y=[pt.createElement("span",{key:"int",className:`${yt}-content-value-int`},b,k),L&&pt.createElement("span",{key:"decimal",className:`${yt}-content-value-decimal`},L)]}}return pt.createElement("span",{className:`${yt}-content-value`},Y)},zt=et(14747),Ot=et(91945),ct=et(45503);const d=Lt=>{const{componentCls:Tt,marginXXS:ht,padding:it,colorTextDescription:T,titleFontSize:z,colorTextHeading:yt,contentFontSize:Y,fontFamily:V}=Lt;return{[`${Tt}`]:Object.assign(Object.assign({},(0,zt.Wf)(Lt)),{[`${Tt}-title`]:{marginBottom:ht,color:T,fontSize:z},[`${Tt}-skeleton`]:{paddingTop:it},[`${Tt}-content`]:{color:yt,fontSize:Y,fontFamily:V,[`${Tt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Tt}-content-prefix, ${Tt}-content-suffix`]:{display:"inline-block"},[`${Tt}-content-prefix`]:{marginInlineEnd:ht},[`${Tt}-content-suffix`]:{marginInlineStart:ht}}})}},f=Lt=>{const{fontSizeHeading3:Tt,fontSize:ht}=Lt;return{titleFontSize:ht,contentFontSize:Tt}};var rt=(0,Ot.I$)("Statistic",Lt=>{const Tt=(0,ct.TS)(Lt,{});return[d(Tt)]},f),tt=function(Lt,Tt){var ht={};for(var it in Lt)Object.prototype.hasOwnProperty.call(Lt,it)&&Tt.indexOf(it)<0&&(ht[it]=Lt[it]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,it=Object.getOwnPropertySymbols(Lt);T{const{prefixCls:Tt,className:ht,rootClassName:it,style:T,valueStyle:z,value:yt=0,title:Y,valueRender:V,prefix:H,suffix:b,loading:k=!1,formatter:L,precision:_,decimalSeparator:j=".",groupSeparator:nt=",",onMouseEnter:I,onMouseLeave:F}=Lt,C=tt(Lt,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:E,direction:P,statistic:N}=pt.useContext(gt.E_),O=E("statistic",Tt),[q,K,mt]=rt(O),qt=pt.createElement(ee,{decimalSeparator:j,groupSeparator:nt,prefixCls:O,formatter:L,precision:_,value:yt}),Wt=It()(O,{[`${O}-rtl`]:P==="rtl"},N==null?void 0:N.className,ht,it,K,mt),ce=(0,Ft.Z)(C,{aria:!0,data:!0});return q(pt.createElement("div",Object.assign({},ce,{className:Wt,style:Object.assign(Object.assign({},N==null?void 0:N.style),T),onMouseEnter:I,onMouseLeave:F}),Y&&pt.createElement("div",{className:`${O}-title`},Y),pt.createElement(wt.Z,{paragraph:!1,loading:k,className:`${O}-skeleton`},pt.createElement("div",{style:z,className:`${O}-content`},H&&pt.createElement("span",{className:`${O}-content-prefix`},H),V?V(qt):qt,b&&pt.createElement("span",{className:`${O}-content-suffix`},b)))))};const Z=[["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 ot(Lt,Tt){let ht=Lt;const it=/\[[^\]]*]/g,T=(Tt.match(it)||[]).map(V=>V.slice(1,-1)),z=Tt.replace(it,"[]"),yt=Z.reduce((V,H)=>{let[b,k]=H;if(V.includes(b)){const L=Math.floor(ht/k);return ht-=L*k,V.replace(new RegExp(`${b}+`,"g"),_=>{const j=_.length;return L.toString().padStart(j,"0")})}return V},z);let Y=0;return yt.replace(it,()=>{const V=T[Y];return Y+=1,V})}function Ct(Lt,Tt){const{format:ht=""}=Tt,it=new Date(Lt).getTime(),T=Date.now(),z=Math.max(it-T,0);return ot(z,ht)}var Vt=function(Lt,Tt){var ht={};for(var it in Lt)Object.prototype.hasOwnProperty.call(Lt,it)&&Tt.indexOf(it)<0&&(ht[it]=Lt[it]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,it=Object.getOwnPropertySymbols(Lt);T{const{value:Tt,format:ht="HH:mm:ss",onChange:it,onFinish:T}=Lt,z=Vt(Lt,["value","format","onChange","onFinish"]),yt=(0,xt.Z)(),Y=pt.useRef(null),V=()=>{T==null||T(),Y.current&&(clearInterval(Y.current),Y.current=null)},H=()=>{const L=te(Tt);L>=Date.now()&&(Y.current=setInterval(()=>{yt(),it==null||it(L-Date.now()),L(H(),()=>{Y.current&&(clearInterval(Y.current),Y.current=null)}),[Tt]);const b=(L,_)=>Ct(L,Object.assign(Object.assign({},_),{format:ht})),k=L=>(0,Jt.Tm)(L,{title:void 0});return pt.createElement(St,Object.assign({},z,{value:Tt,valueRender:k,formatter:b}))};var ft=pt.memo(we);St.Countdown=ft;var Pt=St},56645:function(Ie,re){(function(et,pt){pt(re)})(this,function(et){"use strict";function pt(ft,Pt){return xt(ft)||Jt(ft,Pt)||Gt()}function xt(ft){if(Array.isArray(ft))return ft}function Jt(ft,Pt){var Lt=[],Tt=!0,ht=!1,it=void 0;try{for(var T=ft[Symbol.iterator](),z;!(Tt=(z=T.next()).done)&&(Lt.push(z.value),!(Pt&&Lt.length===Pt));Tt=!0);}catch(yt){ht=!0,it=yt}finally{try{!Tt&&T.return!=null&&T.return()}finally{if(ht)throw it}}return Lt}function Gt(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function It(ft,Pt,Lt,Tt){ft=ft.filter(function(L,_){var j=Pt(L,_),nt=Lt(L,_);return j!=null&&isFinite(j)&&nt!=null&&isFinite(nt)}),Tt&&ft.sort(function(L,_){return Pt(L)-Pt(_)});for(var ht=ft.length,it=new Float64Array(ht),T=new Float64Array(ht),z=0,yt=0,Y,V,H,b=0;bht&&(V.splice(k+1,0,nt),b=!0)}return b}}function zt(ft,Pt,Lt,Tt){var ht=Tt-ft*ft,it=Math.abs(ht)<1e-24?0:(Lt-ft*Pt)/ht,T=Pt-it*ft;return[T,it]}function Ot(){var ft=function(it){return it[0]},Pt=function(it){return it[1]},Lt;function Tt(ht){var it=0,T=0,z=0,yt=0,Y=0,V=0,H=Lt?+Lt[0]:1/0,b=Lt?+Lt[1]:-1/0;Ft(ht,ft,Pt,function(F,C){var E=Math.log(C),P=F*C;++it,T+=(C-T)/it,yt+=(P-yt)/it,V+=(F*P-V)/it,z+=(C*E-z)/it,Y+=(P*E-Y)/it,Lt||(Fb&&(b=F))});var k=zt(yt/T,z/T,Y/T,V/T),L=pt(k,2),_=L[0],j=L[1];_=Math.exp(_);var nt=function(C){return _*Math.exp(j*C)},I=ee(H,b,nt);return I.a=_,I.b=j,I.predict=nt,I.rSquared=gt(ht,ft,Pt,T,nt),I}return Tt.domain=function(ht){return arguments.length?(Lt=ht,Tt):Lt},Tt.x=function(ht){return arguments.length?(ft=ht,Tt):ft},Tt.y=function(ht){return arguments.length?(Pt=ht,Tt):Pt},Tt}function ct(){var ft=function(it){return it[0]},Pt=function(it){return it[1]},Lt;function Tt(ht){var it=0,T=0,z=0,yt=0,Y=0,V=Lt?+Lt[0]:1/0,H=Lt?+Lt[1]:-1/0;Ft(ht,ft,Pt,function(I,F){++it,T+=(I-T)/it,z+=(F-z)/it,yt+=(I*F-yt)/it,Y+=(I*I-Y)/it,Lt||(IH&&(H=I))});var b=zt(T,z,yt,Y),k=pt(b,2),L=k[0],_=k[1],j=function(F){return _*F+L},nt=[[V,j(V)],[H,j(H)]];return nt.a=_,nt.b=L,nt.predict=j,nt.rSquared=gt(ht,ft,Pt,z,j),nt}return Tt.domain=function(ht){return arguments.length?(Lt=ht,Tt):Lt},Tt.x=function(ht){return arguments.length?(ft=ht,Tt):ft},Tt.y=function(ht){return arguments.length?(Pt=ht,Tt):Pt},Tt}function d(ft){ft.sort(function(Lt,Tt){return Lt-Tt});var Pt=ft.length/2;return Pt%1===0?(ft[Pt-1]+ft[Pt])/2:ft[Math.floor(Pt)]}var f=2,rt=1e-12;function tt(){var ft=function(it){return it[0]},Pt=function(it){return it[1]},Lt=.3;function Tt(ht){for(var it=It(ht,ft,Pt,!0),T=pt(it,4),z=T[0],yt=T[1],Y=T[2],V=T[3],H=z.length,b=Math.max(2,~~(Lt*H)),k=new Float64Array(H),L=new Float64Array(H),_=new Float64Array(H).fill(1),j=-1;++j<=f;){for(var nt=[0,b-1],I=0;Iz[E]-F?C:E,N=0,O=0,q=0,K=0,mt=0,qt=1/Math.abs(z[P]-F||1),Wt=C;Wt<=E;++Wt){var ce=z[Wt],$t=yt[Wt],Ut=bt(Math.abs(F-ce)*qt)*_[Wt],oe=ce*Ut;N+=Ut,O+=oe,q+=$t*Ut,K+=$t*oe,mt+=ce*oe}var Pe=zt(O/N,q/N,K/N,mt/N),Ue=pt(Pe,2),Ne=Ue[0],cr=Ue[1];k[I]=Ne+cr*F,L[I]=Math.abs(yt[I]-k[I]),St(z,I+1,nt)}if(j===f)break;var Mr=d(L);if(Math.abs(Mr)=1?rt:(X=1-$*$)*X}return Z(z,k,Y,V)}return Tt.bandwidth=function(ht){return arguments.length?(Lt=ht,Tt):Lt},Tt.x=function(ht){return arguments.length?(ft=ht,Tt):ft},Tt.y=function(ht){return arguments.length?(Pt=ht,Tt):Pt},Tt}function bt(ft){return(ft=1-ft*ft*ft)*ft*ft}function St(ft,Pt,Lt){var Tt=ft[Pt],ht=Lt[0],it=Lt[1]+1;if(!(it>=ft.length))for(;Pt>ht&&ft[it]-Tt<=Tt-ft[ht];)Lt[0]=++ht,Lt[1]=it,++it}function Z(ft,Pt,Lt,Tt){for(var ht=ft.length,it=[],T=0,z=0,yt=[],Y;Tb&&(b=C))});var L=zt(z,yt,Y,V),_=pt(L,2),j=_[0],nt=_[1],I=function(E){return nt*Math.log(E)/k+j},F=ee(H,b,I);return F.a=nt,F.b=j,F.predict=I,F.rSquared=gt(it,ft,Pt,yt,I),F}return ht.domain=function(it){return arguments.length?(Tt=it,ht):Tt},ht.x=function(it){return arguments.length?(ft=it,ht):ft},ht.y=function(it){return arguments.length?(Pt=it,ht):Pt},ht.base=function(it){return arguments.length?(Lt=it,ht):Lt},ht}function Ct(){var ft=function(it){return it[0]},Pt=function(it){return it[1]},Lt;function Tt(ht){var it=It(ht,ft,Pt),T=pt(it,4),z=T[0],yt=T[1],Y=T[2],V=T[3],H=z.length,b=0,k=0,L=0,_=0,j=0,nt,I,F,C;for(nt=0;ntO&&(O=Ut))});var q=L-b*b,K=b*q-k*k,mt=(j*b-_*k)/K,qt=(_*q-j*k)/K,Wt=-mt*b,ce=function(oe){return oe=oe-Y,mt*oe*oe+qt*oe+Wt+V},$t=ee(N,O,ce);return $t.a=mt,$t.b=qt-2*mt*Y,$t.c=Wt-qt*Y+mt*Y*Y+V,$t.predict=ce,$t.rSquared=gt(ht,ft,Pt,E,ce),$t}return Tt.domain=function(ht){return arguments.length?(Lt=ht,Tt):Lt},Tt.x=function(ht){return arguments.length?(ft=ht,Tt):ft},Tt.y=function(ht){return arguments.length?(Pt=ht,Tt):Pt},Tt}function Vt(){var ft=function(T){return T[0]},Pt=function(T){return T[1]},Lt=3,Tt;function ht(it){if(Lt===1){var T=ct().x(ft).y(Pt).domain(Tt)(it);return T.coefficients=[T.b,T.a],delete T.a,delete T.b,T}if(Lt===2){var z=Ct().x(ft).y(Pt).domain(Tt)(it);return z.coefficients=[z.c,z.b,z.a],delete z.a,delete z.b,delete z.c,z}var yt=It(it,ft,Pt),Y=pt(yt,4),V=Y[0],H=Y[1],b=Y[2],k=Y[3],L=V.length,_=[],j=[],nt=Lt+1,I=0,F=0,C=Tt?+Tt[0]:1/0,E=Tt?+Tt[1]:-1/0;Ft(it,ft,Pt,function(ce,$t){++F,I+=($t-I)/F,Tt||(ceE&&(E=ce))});var P,N,O,q,K;for(P=0;P=0;--it)for(z=Pt[it],yt=1,ht[it]+=z,T=1;T<=it;++T)yt*=(it+1-T)/T,ht[it-T]+=z*Math.pow(Lt,T)*yt;return ht[0]+=Tt,ht}function te(ft){var Pt=ft.length-1,Lt=[],Tt,ht,it,T,z;for(Tt=0;TtMath.abs(ft[Tt][T])&&(T=ht);for(it=Tt;it=Tt;it--)ft[it][ht]-=ft[it][Tt]*ft[Tt][ht]/ft[Tt][Tt]}for(ht=Pt-1;ht>=0;--ht){for(z=0,it=ht+1;itb&&(b=F))});var k=zt(T,z,yt,Y),L=pt(k,2),_=L[0],j=L[1];_=Math.exp(_);var nt=function(C){return _*Math.pow(C,j)},I=ee(H,b,nt);return I.a=_,I.b=j,I.predict=nt,I.rSquared=gt(ht,ft,Pt,V,nt),I}return Tt.domain=function(ht){return arguments.length?(Lt=ht,Tt):Lt},Tt.x=function(ht){return arguments.length?(ft=ht,Tt):ft},Tt.y=function(ht){return arguments.length?(Pt=ht,Tt):Pt},Tt}et.regressionExp=Ot,et.regressionLinear=ct,et.regressionLoess=tt,et.regressionLog=ot,et.regressionPoly=Vt,et.regressionPow=we,et.regressionQuad=Ct,Object.defineProperty(et,"__esModule",{value:!0})})},43631:function(Ie,re,et){"use strict";et.d(re,{qY:function(){return ct}});var pt=et(34155),xt=function(Z,ot,Ct){if(Ct||arguments.length===2)for(var Vt=0,Kt=ot.length,te;Vt0)throw"Initial bisect points must have opposite signs";if(St===0)return d;if(Z===0)return f;for(var Ct=0;Ct=0&&(d=Vt),Math.abs(ot)=ft[we-1].fx){var k=!1;if(T.fx>b.fx?(gt(z,1+Vt,it,-Vt,b),z.fx=ct(z),z.fx=1)break;for(Pt=1;PtZ+bt*tt*ot||Ct>=Tt)Lt=tt;else{if(Math.abs(Kt)<=-St*ot)return tt;Kt*(Lt-Pt)>=0&&(Lt=Pt),Pt=tt,Tt=Ct}return 0}for(var ft=0;ft<10;++ft){if(gt(rt.x,1,f.x,tt,d),Ct=rt.fx=ct(rt.x,rt.fxprime),Kt=Gt(rt.fxprime,d),Ct>Z+bt*tt*ot||ft&&Ct>=Vt)return we(te,tt,Vt);if(Math.abs(Kt)<=-St*ot)return tt;if(Kt>=0)return we(tt,te,Ct);Vt=Ct,te=tt,tt*=2}return tt}function ee(ct,d,f){var rt={x:d.slice(),fx:0,fxprime:d.slice()},tt={x:d.slice(),fx:0,fxprime:d.slice()},bt=d.slice(),St,Z,ot=1,Ct;f=f||{},Ct=f.maxIterations||d.length*20,rt.fx=ct(rt.x,rt.fxprime),St=rt.fxprime.slice(),Ft(St,rt.fxprime,-1);for(var Vt=0;Vt0&&(O=1/Math.sqrt(O)),C[0]=E[0]*O,C[1]=E[1]*O,C}function te(C,E){return C[0]*E[0]+C[1]*E[1]}function we(C,E,P){var N=E[0]*P[1]-E[1]*P[0];return C[0]=C[1]=0,C[2]=N,C}function ft(C,E,P,N){var O=E[0],q=E[1];return C[0]=O+N*(P[0]-O),C[1]=q+N*(P[1]-q),C}function Pt(C,E){E=E||1;var P=glMatrix.RANDOM()*2*Math.PI;return C[0]=Math.cos(P)*E,C[1]=Math.sin(P)*E,C}function Lt(C,E,P){var N=E[0],O=E[1];return C[0]=P[0]*N+P[2]*O,C[1]=P[1]*N+P[3]*O,C}function Tt(C,E,P){var N=E[0],O=E[1];return C[0]=P[0]*N+P[2]*O+P[4],C[1]=P[1]*N+P[3]*O+P[5],C}function ht(C,E,P){var N=E[0],O=E[1];return C[0]=P[0]*N+P[3]*O+P[6],C[1]=P[1]*N+P[4]*O+P[7],C}function it(C,E,P){var N=E[0],O=E[1];return C[0]=P[0]*N+P[4]*O+P[12],C[1]=P[1]*N+P[5]*O+P[13],C}function T(C,E,P,N){var O=E[0]-P[0],q=E[1]-P[1],K=Math.sin(N),mt=Math.cos(N);return C[0]=O*mt-q*K+P[0],C[1]=O*K+q*mt+P[1],C}function z(C,E){var P=C[0],N=C[1],O=E[0],q=E[1],K=Math.sqrt(P*P+N*N)*Math.sqrt(O*O+q*q),mt=K&&(P*O+N*q)/K;return Math.acos(Math.min(Math.max(mt,-1),1))}function yt(C){return C[0]=0,C[1]=0,C}function Y(C){return"vec2("+C[0]+", "+C[1]+")"}function V(C,E){return C[0]===E[0]&&C[1]===E[1]}function H(C,E){var P=C[0],N=C[1],O=E[0],q=E[1];return Math.abs(P-O)<=glMatrix.EPSILON*Math.max(1,Math.abs(P),Math.abs(O))&&Math.abs(N-q)<=glMatrix.EPSILON*Math.max(1,Math.abs(N),Math.abs(q))}var b=null,k=wt,L=null,_=null,j=null,nt=null,I=null,F=function(){var C=xt();return function(E,P,N,O,q,K){var mt,qt;for(P||(P=2),N||(N=0),O?qt=Math.min(O*P+N,E.length):qt=E.length,mt=N;mt=tt.length)){var Lt=Math.max(Pt-zt,0),Tt=Pt,ht=Math.min(Pt+zt,tt.length-1),it=Lt-(Pt-zt),T=Pt+zt-ht,z=Z[-zt-1+it]||0,yt=Z[-zt-1+T]||0,Y=ot/(ot-z-yt);it>0&&(Vt+=Y*(it-1)*Ct);var V=Math.max(0,Pt-zt+1);It.inside(0,tt.length-1,V)&&(tt[V].y+=Y*1*Ct),It.inside(0,tt.length-1,Tt+1)&&(tt[Tt+1].y-=Y*2*Ct),It.inside(0,tt.length-1,ht+1)&&(tt[ht+1].y+=Y*1*Ct)}});var Kt=Vt,te=0,we=0;return tt.forEach(function(ft){te+=ft.y,Kt+=te,ft.y=Kt,we+=Kt}),we>0&&tt.forEach(function(ft){ft.y/=we}),tt};function gt(wt,At){for(var ee={},zt=0,Ot=-At;Ot<=At;Ot++)zt+=wt(Ot/At),ee[Ot]=zt;return ee}Ie.exports.getExpectedValueFromPdf=function(wt){if(!(!wt||wt.length===0)){var At=0;return wt.forEach(function(ee){At+=ee.x*ee.y}),At}},Ie.exports.getXWithLeftTailArea=function(wt,At){if(!(!wt||wt.length===0)){for(var ee=0,zt=0,Ot=0;Ot=At));Ot++);return wt[zt].x}},Ie.exports.getPerplexity=function(wt){if(!(!wt||wt.length===0)){var At=0;return wt.forEach(function(ee){var zt=Math.log(ee.y);isFinite(zt)&&(At+=ee.y*zt)}),At=-At/Jt,Math.pow(2,At)}}},55168:function(Ie,re){"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.SizeSensorId=re.SensorTabIndex=re.SensorClassName=void 0;var et="size-sensor-id";re.SizeSensorId=et;var pt="size-sensor-object";re.SensorClassName=pt;var xt="-1";re.SensorTabIndex=xt},12177:function(Ie,re){"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var et=function(xt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,Gt=null;return function(){for(var It=this,Ft=arguments.length,gt=new Array(Ft),wt=0;wt=0;j--)(_=Y[j])&&(L=(k<3?_(L):k>3?_(V,H,L):_(V,H))||L);return k>3&&L&&Object.defineProperty(V,H,L),L}function Ft(Y,V){return function(H,b){V(H,b,Y)}}function gt(Y,V,H,b,k,L){function _(K){if(K!==void 0&&typeof K!="function")throw new TypeError("Function expected");return K}for(var j=b.kind,nt=j==="getter"?"get":j==="setter"?"set":"value",I=!V&&Y?b.static?Y:Y.prototype:null,F=V||(I?Object.getOwnPropertyDescriptor(I,b.name):{}),C,E=!1,P=H.length-1;P>=0;P--){var N={};for(var O in b)N[O]=O==="access"?{}:b[O];for(var O in b.access)N.access[O]=b.access[O];N.addInitializer=function(K){if(E)throw new TypeError("Cannot add initializers after decoration has completed");L.push(_(K||null))};var q=(0,H[P])(j==="accessor"?{get:F.get,set:F.set}:F[nt],N);if(j==="accessor"){if(q===void 0)continue;if(q===null||typeof q!="object")throw new TypeError("Object expected");(C=_(q.get))&&(F.get=C),(C=_(q.set))&&(F.set=C),(C=_(q.init))&&k.unshift(C)}else(C=_(q))&&(j==="field"?k.unshift(C):F[nt]=C)}I&&Object.defineProperty(I,b.name,F),E=!0}function wt(Y,V,H){for(var b=arguments.length>2,k=0;k0&&L[L.length-1])&&(I[0]===6||I[0]===2)){H=0;continue}if(I[0]===3&&(!L||I[1]>L[0]&&I[1]=Y.length&&(Y=void 0),{value:Y&&Y[b++],done:!Y}}};throw new TypeError(V?"Object is not iterable.":"Symbol.iterator is not defined.")}function tt(Y,V){var H=typeof Symbol=="function"&&Y[Symbol.iterator];if(!H)return Y;var b=H.call(Y),k,L=[],_;try{for(;(V===void 0||V-- >0)&&!(k=b.next()).done;)L.push(k.value)}catch(j){_={error:j}}finally{try{k&&!k.done&&(H=b.return)&&H.call(b)}finally{if(_)throw _.error}}return L}function bt(){for(var Y=[],V=0;V1||j(E,P)})})}function j(E,P){try{nt(b[E](P))}catch(N){C(L[0][3],N)}}function nt(E){E.value instanceof ot?Promise.resolve(E.value.v).then(I,F):C(L[0][2],E)}function I(E){j("next",E)}function F(E){j("throw",E)}function C(E,P){E(P),L.shift(),L.length&&j(L[0][0],L[0][1])}}function Vt(Y){var V,H;return V={},b("next"),b("throw",function(k){throw k}),b("return"),V[Symbol.iterator]=function(){return this},V;function b(k,L){V[k]=Y[k]?function(_){return(H=!H)?{value:ot(Y[k](_)),done:!1}:L?L(_):_}:L}}function Kt(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V=Y[Symbol.asyncIterator],H;return V?V.call(Y):(Y=typeof rt=="function"?rt(Y):Y[Symbol.iterator](),H={},b("next"),b("throw"),b("return"),H[Symbol.asyncIterator]=function(){return this},H);function b(L){H[L]=Y[L]&&function(_){return new Promise(function(j,nt){_=Y[L](_),k(j,nt,_.done,_.value)})}}function k(L,_,j,nt){Promise.resolve(nt).then(function(I){L({value:I,done:j})},_)}}function te(Y,V){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:V}):Y.raw=V,Y}var we=Object.create?function(Y,V){Object.defineProperty(Y,"default",{enumerable:!0,value:V})}:function(Y,V){Y.default=V};function ft(Y){if(Y&&Y.__esModule)return Y;var V={};if(Y!=null)for(var H in Y)H!=="default"&&Object.prototype.hasOwnProperty.call(Y,H)&&d(V,Y,H);return we(V,Y),V}function Pt(Y){return Y&&Y.__esModule?Y:{default:Y}}function Lt(Y,V,H,b){if(H==="a"&&!b)throw new TypeError("Private accessor was defined without a getter");if(typeof V=="function"?Y!==V||!b:!V.has(Y))throw new TypeError("Cannot read private member from an object whose class did not declare it");return H==="m"?b:H==="a"?b.call(Y):b?b.value:V.get(Y)}function Tt(Y,V,H,b,k){if(b==="m")throw new TypeError("Private method is not writable");if(b==="a"&&!k)throw new TypeError("Private accessor was defined without a setter");if(typeof V=="function"?Y!==V||!k:!V.has(Y))throw new TypeError("Cannot write private member to an object whose class did not declare it");return b==="a"?k.call(Y,H):k?k.value=H:V.set(Y,H),H}function ht(Y,V){if(V===null||typeof V!="object"&&typeof V!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof Y=="function"?V===Y:Y.has(V)}function it(Y,V,H){if(V!=null){if(typeof V!="object"&&typeof V!="function")throw new TypeError("Object expected.");var b;if(H){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");b=V[Symbol.asyncDispose]}if(b===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");b=V[Symbol.dispose]}if(typeof b!="function")throw new TypeError("Object not disposable.");Y.stack.push({value:V,dispose:b,async:H})}else H&&Y.stack.push({async:!0});return V}var T=typeof SuppressedError=="function"?SuppressedError:function(Y,V,H){var b=new Error(H);return b.name="SuppressedError",b.error=Y,b.suppressed=V,b};function z(Y){function V(b){Y.error=Y.hasError?new T(b,Y.error,"An error was suppressed during disposal."):b,Y.hasError=!0}function H(){for(;Y.stack.length;){var b=Y.stack.pop();try{var k=b.dispose&&b.dispose.call(b.value);if(b.async)return Promise.resolve(k).then(H,function(L){return V(L),H()})}catch(L){V(L)}}if(Y.hasError)throw Y.error}return H()}var yt={__extends:xt,__assign:Jt,__rest:Gt,__decorate:It,__param:Ft,__metadata:zt,__awaiter:Ot,__generator:ct,__createBinding:d,__exportStar:f,__values:rt,__read:tt,__spread:bt,__spreadArrays:St,__spreadArray:Z,__await:ot,__asyncGenerator:Ct,__asyncDelegator:Vt,__asyncValues:Kt,__makeTemplateObject:te,__importStar:ft,__importDefault:Pt,__classPrivateFieldGet:Lt,__classPrivateFieldSet:Tt,__classPrivateFieldIn:ht,__addDisposableResource:it,__disposeResources:z}}}]); diff --git a/statics/4240.0665442c.async.js b/statics/4240.0665442c.async.js deleted file mode 100644 index 40f00120..00000000 --- a/statics/4240.0665442c.async.js +++ /dev/null @@ -1,72 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4240],{49867:function(en,dt,h){h.d(dt,{N:function(){return r}});const r=ye=>({color:ye.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ye.motionDurationSlow}`,"&:focus, &:hover":{color:ye.colorLinkHover},"&:active":{color:ye.colorLinkActive}})},84164:function(en,dt,h){h.d(dt,{Z:function(){return ye}});var r=h(67294);function ye(Z,nt,We){const me=r.useRef({});function st(rt){if(!me.current||me.current.data!==Z||me.current.childrenColumnName!==nt||me.current.getRowKey!==We){let Ne=function(ut){ut.forEach((ot,Rt)=>{const Vt=We(ot,Rt);Oe.set(Vt,ot),ot&&typeof ot=="object"&&nt in ot&&Ne(ot[nt]||[])})};const Oe=new Map;Ne(Z),me.current={data:Z,childrenColumnName:nt,kvMap:Oe,getRowKey:We}}return me.current.kvMap.get(rt)}return[st]}},64240:function(en,dt,h){h.d(dt,{Z:function(){return Jl}});var r=h(67294),ye={},Z=h(97685),nt=h(66680),We=h(8410),me=h(91881),st=h(73935);function rt(e){var t=r.createContext(void 0),n=function(a){var l=a.value,i=a.children,c=r.useRef(l);c.current=l;var s=r.useState(function(){return{getValue:function(){return c.current},listeners:new Set}}),d=(0,Z.Z)(s,1),f=d[0];return(0,We.Z)(function(){(0,st.unstable_batchedUpdates)(function(){f.listeners.forEach(function(u){u(l)})})},[l]),r.createElement(t.Provider,{value:f},i)};return{Context:t,Provider:n,defaultValue:e}}function Oe(e,t){var n=(0,nt.Z)(typeof t=="function"?t:function(u){if(t===void 0)return u;if(!Array.isArray(t))return u[t];var g={};return t.forEach(function(m){g[m]=u[m]}),g}),o=r.useContext(e==null?void 0:e.Context),a=o||{},l=a.listeners,i=a.getValue,c=r.useRef();c.current=n(o?i():e==null?void 0:e.defaultValue);var s=r.useState({}),d=(0,Z.Z)(s,2),f=d[1];return(0,We.Z)(function(){if(!o)return;function u(g){var m=n(g);(0,me.Z)(c.current,m,!0)||f({})}return l.add(u),function(){l.delete(u)}},[o]),c.current}var Ne=h(87462),ut=h(42550),ot=r.createContext(0);function Rt(){return r.useContext(ot)}function Vt(e,t){var n=(0,ut.Yr)(e),o=function(l,i){var c=n?{ref:i}:{},s=r.useRef(0),d=r.useRef(l);return(!t||t(d.current,l))&&(s.current+=1),d.current=l,r.createElement(ot.Provider,{value:s.current},r.createElement(e,(0,Ne.Z)({},l,c)))};return n?r.forwardRef(o):o}function Kt(e,t){var n=(0,ut.Yr)(e),o=function(l,i){var c=n?{ref:i}:{};return Rt(),r.createElement(e,(0,Ne.Z)({},l,c))};return n?r.memo(r.forwardRef(o),t):r.memo(o,t)}var Cn=rt(),Ve=Cn;function tn(e,t){var n=r.useRef(0);n.current+=1;var o=r.useRef(e),a=[];Object.keys(e||{}).map(function(i){var c;(e==null?void 0:e[i])!==((c=o.current)===null||c===void 0?void 0:c[i])&&a.push(i)}),o.current=e;var l=r.useRef([]);return a.length&&(l.current=a),r.useDebugValue(n.current),r.useDebugValue(l.current.join(", ")),t&&console.log("".concat(t,":"),n.current,l.current),n.current}var nn=null,bn=r.memo(function(){var e=tn();return r.createElement("h1",null,"Render Times: ",e)});bn.displayName="RenderBlock";var Ht=h(71002),H=h(1413),ne=h(4942),Sn=h(94184),he=h.n(Sn),rn=h(56982),Ut=h(88306),wn=h(80334),En=r.createContext({renderWithProps:!1}),Xt=En,lt="RC_TABLE_KEY";function Gt(e){return e==null?[]:Array.isArray(e)?e:[e]}function zt(e){var t=[],n={};return e.forEach(function(o){for(var a=o||{},l=a.key,i=a.dataIndex,c=l||Gt(i).join("-")||lt;n[c];)c="".concat(c,"_next");n[c]=!0,t.push(c)}),t}function Ot(e){return e!=null}function on(e){return e&&(0,Ht.Z)(e)==="object"&&!Array.isArray(e)&&!r.isValidElement(e)}function $n(e,t,n,o,a,l){var i=r.useContext(Xt),c=Rt(),s=(0,rn.Z)(function(){if(Ot(o))return[o];var d=t==null||t===""?[]:Array.isArray(t)?t:[t],f=(0,Ut.Z)(e,d),u=f,g=void 0;if(a){var m=a(f,e,n);on(m)?(u=m.children,g=m.props,i.renderWithProps=!0):u=m}return[u,g]},[c,e,o,t,a,n],function(d,f){if(l){var u=(0,Z.Z)(d,2),g=u[1],m=(0,Z.Z)(f,2),p=m[1];return l(p,g)}return i.renderWithProps?!0:!(0,me.Z)(d,f,!0)});return s}function ln(e,t,n,o){var a=e+t-1;return e<=o&&a>=n}function Rn(e,t){return Oe(Ve,function(n){var o=ln(e,t||1,n.hoverStartRow,n.hoverEndRow);return[o,n.onHover]})}var Jn=function(t){var n=t.ellipsis,o=t.rowType,a=t.children,l,i=n===!0?{showTitle:!0}:n;return i&&(i.showTitle||o==="header")&&(typeof a=="string"||typeof a=="number"?l=a.toString():r.isValidElement(a)&&typeof a.props.children=="string"&&(l=a.props.children)),l};function On(e){var t,n,o,a,l,i,c,s,d=e.component,f=e.children,u=e.ellipsis,g=e.scope,m=e.prefixCls,p=e.className,C=e.align,v=e.record,x=e.render,w=e.dataIndex,$=e.renderIndex,L=e.shouldCellUpdate,O=e.index,E=e.rowType,k=e.colSpan,J=e.rowSpan,j=e.fixLeft,N=e.fixRight,B=e.firstFixLeft,b=e.lastFixLeft,T=e.firstFixRight,A=e.lastFixRight,re=e.appendNode,U=e.additionalProps,P=U===void 0?{}:U,q=e.isSticky,D="".concat(m,"-cell"),de=Oe(Ve,["supportSticky","allColumnsFixedLeft"]),M=de.supportSticky,Ce=de.allColumnsFixedLeft,Ke=$n(v,w,$,f,x,L),ie=(0,Z.Z)(Ke,2),ve=ie[0],_=ie[1],ue={},Te=typeof j=="number"&&M,Le=typeof N=="number"&&M;Te&&(ue.position="sticky",ue.left=j),Le&&(ue.position="sticky",ue.right=N);var Q=(t=(n=(o=_==null?void 0:_.colSpan)!==null&&o!==void 0?o:k)!==null&&n!==void 0?n:P.colSpan)!==null&&t!==void 0?t:1,K=(a=(l=(i=_==null?void 0:_.rowSpan)!==null&&i!==void 0?i:J)!==null&&l!==void 0?l:P.rowSpan)!==null&&a!==void 0?a:1,R=Rn(O,K),y=(0,Z.Z)(R,2),I=y[0],S=y[1],z=function($e){var Re;v&&S(O,O+K-1),P==null||(Re=P.onMouseEnter)===null||Re===void 0||Re.call(P,$e)},W=function($e){var Re;v&&S(-1,-1),P==null||(Re=P.onMouseLeave)===null||Re===void 0||Re.call(P,$e)};if(Q===0||K===0)return null;var fe=(c=P.title)!==null&&c!==void 0?c:Jn({rowType:E,ellipsis:u,children:ve}),Me=he()(D,p,(s={},(0,ne.Z)(s,"".concat(D,"-fix-left"),Te&&M),(0,ne.Z)(s,"".concat(D,"-fix-left-first"),B&&M),(0,ne.Z)(s,"".concat(D,"-fix-left-last"),b&&M),(0,ne.Z)(s,"".concat(D,"-fix-left-all"),b&&Ce&&M),(0,ne.Z)(s,"".concat(D,"-fix-right"),Le&&M),(0,ne.Z)(s,"".concat(D,"-fix-right-first"),T&&M),(0,ne.Z)(s,"".concat(D,"-fix-right-last"),A&&M),(0,ne.Z)(s,"".concat(D,"-ellipsis"),u),(0,ne.Z)(s,"".concat(D,"-with-append"),re),(0,ne.Z)(s,"".concat(D,"-fix-sticky"),(Te||Le)&&q&&M),(0,ne.Z)(s,"".concat(D,"-row-hover"),!_&&I),s),P.className,_==null?void 0:_.className),De={};C&&(De.textAlign=C);var vt=(0,H.Z)((0,H.Z)((0,H.Z)((0,H.Z)({},P.style),De),ue),_==null?void 0:_.style),Ee=ve;return(0,Ht.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!r.isValidElement(Ee)&&(Ee=null),u&&(b||T)&&(Ee=r.createElement("span",{className:"".concat(D,"-content")},Ee)),r.createElement(d,(0,Ne.Z)({},_,P,{className:Me,style:vt,title:fe,scope:g,onMouseEnter:z,onMouseLeave:W,colSpan:Q!==1?Q:null,rowSpan:K!==1?K:null}),re,Ee)}var ht=r.memo(On);function Yt(e,t,n,o,a,l){var i=n[e]||{},c=n[t]||{},s,d;i.fixed==="left"?s=o.left[e]:c.fixed==="right"&&(d=o.right[t]);var f=!1,u=!1,g=!1,m=!1,p=n[t+1],C=n[e-1],v=!(l!=null&&l.children);if(a==="rtl"){if(s!==void 0){var x=C&&C.fixed==="left";m=!x&&v}else if(d!==void 0){var w=p&&p.fixed==="right";g=!w&&v}}else if(s!==void 0){var $=p&&p.fixed==="left";f=!$&&v}else if(d!==void 0){var L=C&&C.fixed==="right";u=!L&&v}return{fixLeft:s,fixRight:d,lastFixLeft:f,firstFixRight:u,lastFixRight:g,firstFixLeft:m,isSticky:o.isSticky}}var V=r.createContext({}),pe=V;function ae(e){var t=e.className,n=e.index,o=e.children,a=e.colSpan,l=a===void 0?1:a,i=e.rowSpan,c=e.align,s=Oe(Ve,["prefixCls","direction"]),d=s.prefixCls,f=s.direction,u=r.useContext(pe),g=u.scrollColumnIndex,m=u.stickyOffsets,p=u.flattenColumns,C=u.columns,v=n+l-1,x=v+1===g?l+1:l,w=Yt(n,n+x-1,p,m,f,C==null?void 0:C[n]);return r.createElement(ht,(0,Ne.Z)({className:t,index:n,component:"td",prefixCls:d,record:null,dataIndex:null,align:c,colSpan:x,rowSpan:i,render:function(){return o}},w))}var X=h(45987),be=["children"];function G(e){var t=e.children,n=(0,X.Z)(e,be);return r.createElement("tr",n,t)}function we(e){var t=e.children;return t}we.Row=G,we.Cell=ae;var Ue=we;function Ie(e){var t=e.children,n=e.stickyOffsets,o=e.flattenColumns,a=e.columns,l=Oe(Ve,"prefixCls"),i=o.length-1,c=o[i],s=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:o,scrollColumnIndex:c!=null&&c.scrollbar?i:null,columns:a}},[c,o,i,n,a]);return r.createElement(pe.Provider,{value:s},r.createElement("tfoot",{className:"".concat(l,"-summary")},t))}var xt=Kt(Ie),yt=Ue,Ct=h(48555),bt=h(5110),Nt=h(79370),Je=h(74204),St=h(64217),Y=h(74902);function Lt(e,t,n,o,a,l){var i=[];i.push({record:e,indent:t,index:l});var c=a(e),s=o==null?void 0:o.has(c);if(e&&Array.isArray(e[n])&&s)for(var d=0;d1?S-1:0),W=1;W=0;c-=1){var s=t[c],d=n&&n[c],f=d&&d[Tt];if(s||f||i){var u=f||{},g=u.columnType,m=(0,X.Z)(u,Dt);a.unshift(r.createElement("col",(0,Ne.Z)({key:c,style:{width:s}},m))),i=!0}}return r.createElement("colgroup",null,a)}var Zt=jt,Nn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function In(e,t){return(0,r.useMemo)(function(){for(var n=[],o=0;o=0})},[l]),N=l[l.length-1],B={fixed:N?N.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat($,"-cell-scrollbar")}}},b=(0,r.useMemo)(function(){return E?[].concat((0,Y.Z)(a),[B]):a},[E,a]),T=(0,r.useMemo)(function(){return E?[].concat((0,Y.Z)(l),[B]):l},[E,l]),A=(0,r.useMemo)(function(){var U=s.right,P=s.left;return(0,H.Z)((0,H.Z)({},s),{},{left:d==="rtl"?[].concat((0,Y.Z)(P.map(function(q){return q+E})),[0]):P,right:d==="rtl"?U:[].concat((0,Y.Z)(U.map(function(q){return q+E})),[0]),isSticky:O})},[E,s,O]),re=In(i,c);return r.createElement("div",{style:(0,H.Z)({overflow:"hidden"},O?{top:u,bottom:g}:{}),ref:J,className:he()(n,(0,ne.Z)({},m,!!m))},r.createElement("table",{style:{tableLayout:"fixed",visibility:o||re?null:"hidden"}},(!o||!C||j)&&r.createElement(Zt,{colWidths:re?[].concat((0,Y.Z)(re),[E]):[],columCount:c+1,columns:T}),v((0,H.Z)((0,H.Z)({},x),{},{stickyOffsets:A,columns:b,flattenColumns:T}))))});Xe.displayName="FixedHolder";var Qn=r.memo(Xe);function qn(e){var t=e.cells,n=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,l=e.cellComponent,i=e.tdCellComponent,c=e.onHeaderRow,s=e.index,d=Oe(Ve,["prefixCls","direction"]),f=d.prefixCls,u=d.direction,g;c&&(g=c(t.map(function(p){return p.column}),s));var m=zt(t.map(function(p){return p.column}));return r.createElement(a,g,t.map(function(p,C){var v=p.column,x=Yt(p.colStart,p.colEnd,o,n,u,v),w;return v&&v.onHeaderCell&&(w=p.column.onHeaderCell(v)),r.createElement(ht,(0,Ne.Z)({},p,{scope:v.title?p.colSpan>1?"colgroup":"col":null,ellipsis:v.ellipsis,align:v.align,component:v.title?l:i,prefixCls:f,key:m[C]},x,{additionalProps:w,rowType:"header"}))}))}qn.displayName="HeaderRow";var Yr=qn;function Jr(e){var t=[];function n(i,c){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[s]=t[s]||[];var d=c,f=i.filter(Boolean).map(function(u){var g={key:u.key,className:u.className||"",children:u.title,column:u,colStart:d},m=1,p=u.children;return p&&p.length>0&&(m=n(p,d,s+1).reduce(function(C,v){return C+v},0),g.hasSubColumns=!0),"colSpan"in u&&(m=u.colSpan),"rowSpan"in u&&(g.rowSpan=u.rowSpan),g.colSpan=m,g.colEnd=g.colStart+m-1,t[s].push(g),d+=m,m});return f}n(e,0);for(var o=t.length,a=function(c){t[c].forEach(function(s){!("rowSpan"in s)&&!s.hasSubColumns&&(s.rowSpan=o-c)})},l=0;l0?[].concat((0,Y.Z)(t),(0,Y.Z)(Zn(l).map(function(i){return(0,H.Z)({fixed:a},i)}))):[].concat((0,Y.Z)(t),[(0,H.Z)((0,H.Z)({},n),{},{fixed:a})])},[])}function sa(e){for(var t=!0,n=0;n=0;l-=1){var i=e[l];if(a&&i.fixed!=="right")a=!1;else if(!a&&i.fixed==="right"){warning(!1,"Index ".concat(l+1," of `columns` missing `fixed='right'` prop."));break}}}function to(e){return e.map(function(t){var n=t.fixed,o=(0,X.Z)(t,eo),a=n;return n==="left"?a="right":n==="right"&&(a="left"),(0,H.Z)({fixed:a},o)})}function no(e,t){var n=e.prefixCls,o=e.columns,a=e.children,l=e.expandable,i=e.expandedKeys,c=e.columnTitle,s=e.getRowKey,d=e.onTriggerExpand,f=e.expandIcon,u=e.rowExpandable,g=e.expandIconColumnIndex,m=e.direction,p=e.expandRowByClick,C=e.columnWidth,v=e.fixed,x=r.useMemo(function(){return o||Tn(a)},[o,a]),w=r.useMemo(function(){if(l){var O,E=x.slice();if(!E.includes(ye)){var k=g||0;k>=0&&E.splice(k,0,ye)}var J=E.indexOf(ye);E=E.filter(function(b,T){return b!==ye||T===J});var j=x[J],N;(v==="left"||v)&&!g?N="left":(v==="right"||v)&&g===x.length?N="right":N=j?j.fixed:null;var B=(O={},(0,ne.Z)(O,Tt,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ne.Z)(O,"title",c),(0,ne.Z)(O,"fixed",N),(0,ne.Z)(O,"className","".concat(n,"-row-expand-icon-cell")),(0,ne.Z)(O,"width",C),(0,ne.Z)(O,"render",function(T,A,re){var U=s(A,re),P=i.has(U),q=u?u(A):!0,D=f({prefixCls:n,expanded:P,expandable:q,record:A,onExpand:d});return p?r.createElement("span",{onClick:function(M){return M.stopPropagation()}},D):D}),O);return E.map(function(b){return b===ye?B:b})}return x.filter(function(b){return b!==ye})},[l,x,s,i,f,m]),$=r.useMemo(function(){var O=w;return t&&(O=t(O)),O.length||(O=[{render:function(){return null}}]),O},[t,w,m]),L=r.useMemo(function(){return m==="rtl"?to(Zn($)):Zn($)},[$,m]);return[$,L]}var ro=no;function oo(e){var t,n=e.prefixCls,o=e.record,a=e.onExpand,l=e.expanded,i=e.expandable,c="".concat(n,"-row-expand-icon");if(!i)return r.createElement("span",{className:he()(c,"".concat(n,"-row-spaced"))});var s=function(f){a(o,f),f.stopPropagation()};return r.createElement("span",{className:he()(c,(t={},(0,ne.Z)(t,"".concat(n,"-row-expanded"),l),(0,ne.Z)(t,"".concat(n,"-row-collapsed"),!l),t)),onClick:s})}function lo(e,t,n){var o=[];function a(l){(l||[]).forEach(function(i,c){o.push(t(i,c)),a(i[n])})}return a(e),o}function ao(e,t,n){var o=at(e),a=o.expandIcon,l=o.expandedRowKeys,i=o.defaultExpandedRowKeys,c=o.defaultExpandAllRows,s=o.expandedRowRender,d=o.onExpand,f=o.onExpandedRowsChange,u=o.childrenColumnName,g=a||oo,m=u||"children",p=r.useMemo(function(){return s?"row":e.expandable&&e.internalHooks===cn&&e.expandable.__PARENT_RENDER_ICON__||t.some(function(O){return O&&(0,Ht.Z)(O)==="object"&&O[m]})?"nest":!1},[!!s,t]),C=r.useState(function(){return i||(c?lo(t,n,m):[])}),v=(0,Z.Z)(C,2),x=v[0],w=v[1],$=r.useMemo(function(){return new Set(l||x||[])},[l,x]),L=r.useCallback(function(O){var E=n(O,t.indexOf(O)),k,J=$.has(E);J?($.delete(E),k=(0,Y.Z)($)):k=[].concat((0,Y.Z)($),[E]),w(k),d&&d(!J,O),f&&f(k)},[n,$,t,d,f]);return[o,p,$,g,m,L]}function io(e,t,n,o){var a=e.map(function(l,i){return Yt(i,i,e,t,n,o==null?void 0:o[i])});return(0,rn.Z)(function(){return a},[a],function(l,i){return!(0,me.Z)(l,i)})}function er(e){var t=(0,r.useRef)(e),n=(0,r.useState)({}),o=(0,Z.Z)(n,2),a=o[1],l=(0,r.useRef)(null),i=(0,r.useRef)([]);function c(s){i.current.push(s);var d=Promise.resolve();l.current=d,d.then(function(){if(l.current===d){var f=i.current,u=t.current;i.current=[],f.forEach(function(g){t.current=g(t.current)}),l.current=null,u!==t.current&&a({})}})}return(0,r.useEffect)(function(){return function(){l.current=null}},[]),[t.current,c]}function so(e){var t=(0,r.useRef)(e||null),n=(0,r.useRef)();function o(){window.clearTimeout(n.current)}function a(i){t.current=i,o(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)}function l(){return t.current}return(0,r.useEffect)(function(){return o},[]),[a,l]}function co(){var e=r.useState(-1),t=(0,Z.Z)(e,2),n=t[0],o=t[1],a=r.useState(-1),l=(0,Z.Z)(a,2),i=l[0],c=l[1],s=r.useCallback(function(d,f){o(d),c(f)},[]);return[n,i,s]}var uo=h(98924),tr=(0,uo.Z)()?window:null;function fo(e,t){var n=(0,Ht.Z)(e)==="object"?e:{},o=n.offsetHeader,a=o===void 0?0:o,l=n.offsetSummary,i=l===void 0?0:l,c=n.offsetScroll,s=c===void 0?0:c,d=n.getContainer,f=d===void 0?function(){return tr}:d,u=f()||tr;return r.useMemo(function(){var g=!!e;return{isSticky:g,stickyClassName:g?"".concat(t,"-sticky-holder"):"",offsetHeader:a,offsetSummary:i,offsetScroll:s,container:u}},[s,a,i,t,u])}function mo(e,t,n){var o=(0,r.useMemo)(function(){for(var a=[],l=[],i=0,c=0,s=0;s=u&&(P=u-g),i({scrollLeft:P/u*(f+2)}),w.current.x=T.pageX},N=function(){if(!!l.current){var T=(0,rr.os)(l.current).top,A=T+l.current.offsetHeight,re=s===window?document.documentElement.scrollTop+window.innerHeight:(0,rr.os)(s).top+s.clientHeight;A-(0,Je.Z)()<=re||T>=re-c?x(function(U){return(0,H.Z)((0,H.Z)({},U),{},{isHiddenScrollBar:!0})}):x(function(U){return(0,H.Z)((0,H.Z)({},U),{},{isHiddenScrollBar:!1})})}},B=function(T){x(function(A){return(0,H.Z)((0,H.Z)({},A),{},{scrollLeft:T/f*u||0})})};return r.useImperativeHandle(n,function(){return{setScrollLeft:B}}),r.useEffect(function(){var b=(0,sn.Z)(document.body,"mouseup",k,!1),T=(0,sn.Z)(document.body,"mousemove",j,!1);return N(),function(){b.remove(),T.remove()}},[g,O]),r.useEffect(function(){var b=(0,sn.Z)(s,"scroll",N,!1),T=(0,sn.Z)(window,"resize",N,!1);return function(){b.remove(),T.remove()}},[s]),r.useEffect(function(){v.isHiddenScrollBar||x(function(b){var T=l.current;return T?(0,H.Z)((0,H.Z)({},b),{},{scrollLeft:T.scrollLeft/T.scrollWidth*T.clientWidth}):b})},[v.isHiddenScrollBar]),f<=u||!g||v.isHiddenScrollBar?null:r.createElement("div",{style:{height:(0,Je.Z)(),width:u,bottom:c},className:"".concat(d,"-sticky-scroll")},r.createElement("div",{onMouseDown:J,ref:m,className:he()("".concat(d,"-sticky-scroll-bar"),(0,ne.Z)({},"".concat(d,"-sticky-scroll-bar-active"),O)),style:{width:"".concat(g,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))},ho=r.forwardRef(go);function xo(e){return null}var yo=xo;function Co(e){return null}var bo=Co,So=[],wo={},cn="rc-table-internal-hook";function Eo(){return"No Data"}function $o(e){var t,n=(0,H.Z)({rowKey:"key",prefixCls:"rc-table",emptyText:Eo},e),o=n.prefixCls,a=n.className,l=n.rowClassName,i=n.style,c=n.data,s=n.rowKey,d=n.scroll,f=n.tableLayout,u=n.direction,g=n.title,m=n.footer,p=n.summary,C=n.caption,v=n.id,x=n.showHeader,w=n.components,$=n.emptyText,L=n.onRow,O=n.onHeaderRow,E=n.internalHooks,k=n.transformColumns,J=n.internalRefs,j=n.sticky,N=c||So,B=!!N.length,b=r.useCallback(function(te,ce){return(0,Ut.Z)(w,te)||ce},[w]),T=r.useMemo(function(){return typeof s=="function"?s:function(te){var ce=te&&te[s];return ce}},[s]),A=co(),re=(0,Z.Z)(A,3),U=re[0],P=re[1],q=re[2],D=ao(n,N,T),de=(0,Z.Z)(D,6),M=de[0],Ce=de[1],Ke=de[2],ie=de[3],ve=de[4],_=de[5],ue=r.useState(0),Te=(0,Z.Z)(ue,2),Le=Te[0],Q=Te[1],K=ro((0,H.Z)((0,H.Z)((0,H.Z)({},n),M),{},{expandable:!!M.expandedRowRender,columnTitle:M.columnTitle,expandedKeys:Ke,getRowKey:T,onTriggerExpand:_,expandIcon:ie,expandIconColumnIndex:M.expandIconColumnIndex,direction:u}),E===cn?k:null),R=(0,Z.Z)(K,2),y=R[0],I=R[1],S=r.useMemo(function(){return{columns:y,flattenColumns:I}},[y,I]),z=r.useRef(),W=r.useRef(),fe=r.useRef(),Me=r.useRef(),De=r.useRef(),vt=r.useState(!1),Ee=(0,Z.Z)(vt,2),it=Ee[0],$e=Ee[1],Re=r.useState(!1),oe=(0,Z.Z)(Re,2),xe=oe[0],se=oe[1],ee=er(new Map),Se=(0,Z.Z)(ee,2),ge=Se[0],Be=Se[1],Ge=zt(I),_e=Ge.map(function(te){return ge.get(te)}),ct=r.useMemo(function(){return _e},[_e.join("_")]),je=po(ct,I.length,u),He=d&&Ot(d.y),ke=d&&Ot(d.x)||Boolean(M.fixed),et=ke&&I.some(function(te){var ce=te.fixed;return ce}),Ye=r.useRef(),ze=fo(j,o),Pe=ze.isSticky,F=ze.offsetHeader,le=ze.offsetSummary,Fe=ze.offsetScroll,Ze=ze.stickyClassName,Pt=ze.container,Ae=r.useMemo(function(){return p==null?void 0:p(N)},[p,N]),Ft=(He||Pe)&&r.isValidElement(Ae)&&Ae.type===Ue&&Ae.props.fixed,gt,gn,jn;He&&(gn={overflowY:"scroll",maxHeight:d.y}),ke&&(gt={overflowX:"auto"},He||(gn={overflowY:"hidden"}),jn={width:(d==null?void 0:d.x)===!0?"auto":d==null?void 0:d.x,minWidth:"100%"});var Zr=r.useCallback(function(te,ce){(0,bt.Z)(z.current)&&Be(function(tt){if(tt.get(te)!==ce){var Et=new Map(tt);return Et.set(te,ce),Et}return tt})},[]),Ql=so(null),kr=(0,Z.Z)(Ql,2),ql=kr[0],Pr=kr[1];function hn(te,ce){!ce||(typeof ce=="function"?ce(te):ce.scrollLeft!==te&&(ce.scrollLeft=te,ce.scrollLeft!==te&&setTimeout(function(){ce.scrollLeft=te},0)))}var Wt=(0,nt.Z)(function(te){var ce=te.currentTarget,tt=te.scrollLeft,Et=u==="rtl",$t=typeof tt=="number"?tt:ce.scrollLeft,Gr=ce||wo;if(!Pr()||Pr()===Gr){var Xn;ql(Gr),hn($t,W.current),hn($t,fe.current),hn($t,De.current),hn($t,(Xn=Ye.current)===null||Xn===void 0?void 0:Xn.setScrollLeft)}if(ce){var Gn=ce.scrollWidth,Yn=ce.clientWidth;if(Gn===Yn){$e(!1),se(!1);return}Et?($e(-$t0)):($e($t>0),se($t1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:o,duration:a=450}=t,l=n(),i=Lo(l,!0),c=Date.now(),s=()=>{const f=Date.now()-c,u=zo(f>a?a:f,i,e,a);kn(l)?l.scrollTo(window.pageXOffset,u):l instanceof Document||l.constructor.name==="HTMLDocument"?l.documentElement.scrollTop=u:l.scrollTop=u,f{a(l,d),d.stopPropagation()},className:he()(s,{[`${s}-spaced`]:!c,[`${s}-expanded`]:c&&i,[`${s}-collapsed`]:c&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}var Do=Mo;function kt(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function qt(e,t){return t?`${t}-${e}`:`${e}`}function un(e,t){return typeof e=="function"?e(t):e}function jo(e,t){const n=un(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n}var Ao={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"},Wo=Ao,Pn=h(93771),ir=function(t,n){return r.createElement(Pn.Z,(0,H.Z)((0,H.Z)({},t),{},{ref:n,icon:Wo}))};ir.displayName="FilterFilled";var Vo=r.forwardRef(ir),sr=h(71577),fn=h(32808),cr=h(13013),dr=h(32983),Uo=h(68508),Xo=h(76529),ur=h(78045),Go=h(14e3),Yo=h(57838);function Jo(e){const t=r.useRef(e),n=(0,Yo.Z)();return[()=>t.current,o=>{t.current=o,n()}]}var Qo=h(25783),qo=h(96365);function _o(e){let{value:t,onChange:n,filterSearch:o,tablePrefixCls:a,locale:l}=e;return o?r.createElement("div",{className:`${a}-filter-dropdown-search`},r.createElement(qo.Z,{prefix:r.createElement(Qo.Z,null),placeholder:l.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${a}-filter-dropdown-search-input`})):null}var fr=_o,mr=h(15105);const el=e=>{const{keyCode:t}=e;t===mr.Z.ENTER&&e.stopPropagation()};var tl=e=>r.createElement("div",{className:e.className,onClick:t=>t.stopPropagation(),onKeyDown:el},e.children);function nl(e){return e.some(t=>{let{children:n}=t;return n})}function pr(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function vr(e){let{filters:t,prefixCls:n,filteredKeys:o,filterMultiple:a,searchValue:l,filterSearch:i}=e;return t.map((c,s)=>{const d=String(c.value);if(c.children)return{key:d||s,label:c.text,popupClassName:`${n}-dropdown-submenu`,children:vr({filters:c.children,prefixCls:n,filteredKeys:o,filterMultiple:a,searchValue:l,filterSearch:i})};const f=a?fn.Z:ur.ZP,u={key:c.value!==void 0?d:s,label:r.createElement(r.Fragment,null,r.createElement(f,{checked:o.includes(d)}),r.createElement("span",null,c.text))};return l.trim()?typeof i=="function"?i(l,c)?u:null:pr(l,c.text)?u:null:u})}function rl(e){var t,n;const{tablePrefixCls:o,prefixCls:a,column:l,dropdownPrefixCls:i,columnKey:c,filterMultiple:s,filterMode:d="menu",filterSearch:f=!1,filterState:u,triggerFilter:g,locale:m,children:p,getPopupContainer:C}=e,{filterDropdownOpen:v,onFilterDropdownOpenChange:x,filterResetToDefaultFilteredValue:w,defaultFilteredValue:$,filterDropdownVisible:L,onFilterDropdownVisibleChange:O}=l,[E,k]=r.useState(!1),J=!!(u&&(((t=u.filteredKeys)===null||t===void 0?void 0:t.length)||u.forceFiltered)),j=S=>{k(S),x==null||x(S),O==null||O(S)},N=(n=v!=null?v:L)!==null&&n!==void 0?n:E,B=u==null?void 0:u.filteredKeys,[b,T]=Jo(B||[]),A=S=>{let{selectedKeys:z}=S;T(z)},re=(S,z)=>{let{node:W,checked:fe}=z;A(s?{selectedKeys:S}:{selectedKeys:fe&&W.key?[W.key]:[]})};r.useEffect(()=>{!E||A({selectedKeys:B||[]})},[B]);const[U,P]=r.useState([]),q=S=>{P(S)},[D,de]=r.useState(""),M=S=>{const{value:z}=S.target;de(z)};r.useEffect(()=>{E||de("")},[E]);const Ce=S=>{const z=S&&S.length?S:null;if(z===null&&(!u||!u.filteredKeys)||(0,me.Z)(z,u==null?void 0:u.filteredKeys,!0))return null;g({column:l,key:c,filteredKeys:z})},Ke=()=>{j(!1),Ce(b())},ie=function(){let{confirm:S,closeDropdown:z}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};S&&Ce([]),z&&j(!1),de(""),T(w?($||[]).map(W=>String(W)):[])},ve=function(){let{closeDropdown:S}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};S&&j(!1),Ce(b())},_=S=>{S&&B!==void 0&&T(B||[]),j(S),!S&&!l.filterDropdown&&Ke()},ue=he()({[`${i}-menu-without-submenu`]:!nl(l.filters||[])}),Te=S=>{if(S.target.checked){const z=At(l==null?void 0:l.filters).map(W=>String(W));T(z)}else T([])},Le=S=>{let{filters:z}=S;return(z||[]).map((W,fe)=>{const Me=String(W.value),De={title:W.text,key:W.value!==void 0?Me:fe};return W.children&&(De.children=Le({filters:W.children})),De})},Q=S=>{var z;return Object.assign(Object.assign({},S),{text:S.title,value:S.key,children:((z=S.children)===null||z===void 0?void 0:z.map(W=>Q(W)))||[]})};let K;if(typeof l.filterDropdown=="function")K=l.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:S=>A({selectedKeys:S}),selectedKeys:b(),confirm:ve,clearFilters:ie,filters:l.filters,visible:N,close:()=>{j(!1)}});else if(l.filterDropdown)K=l.filterDropdown;else{const S=b()||[],z=()=>(l.filters||[]).length===0?r.createElement(dr.Z,{image:dr.Z.PRESENTED_IMAGE_SIMPLE,description:m.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):d==="tree"?r.createElement(r.Fragment,null,r.createElement(fr,{filterSearch:f,value:D,onChange:M,tablePrefixCls:o,locale:m}),r.createElement("div",{className:`${o}-filter-dropdown-tree`},s?r.createElement(fn.Z,{checked:S.length===At(l.filters).length,indeterminate:S.length>0&&S.lengthtypeof f=="function"?f(D,Q(fe)):pr(D,fe.title):void 0}))):r.createElement(r.Fragment,null,r.createElement(fr,{filterSearch:f,value:D,onChange:M,tablePrefixCls:o,locale:m}),r.createElement(Uo.Z,{selectable:!0,multiple:s,prefixCls:`${i}-menu`,className:ue,onSelect:A,onDeselect:A,selectedKeys:S,getPopupContainer:C,openKeys:U,onOpenChange:q,items:vr({filters:l.filters||[],filterSearch:f,prefixCls:a,filteredKeys:b(),filterMultiple:s,searchValue:D})})),W=()=>w?(0,me.Z)(($||[]).map(fe=>String(fe)),S,!0):S.length===0;K=r.createElement(r.Fragment,null,z(),r.createElement("div",{className:`${a}-dropdown-btns`},r.createElement(sr.ZP,{type:"link",size:"small",disabled:W(),onClick:()=>ie()},m.filterReset),r.createElement(sr.ZP,{type:"primary",size:"small",onClick:Ke},m.filterConfirm)))}l.filterDropdown&&(K=r.createElement(Xo.J,{selectable:void 0},K));const R=()=>r.createElement(tl,{className:`${a}-dropdown`},K);let y;typeof l.filterIcon=="function"?y=l.filterIcon(J):l.filterIcon?y=l.filterIcon:y=r.createElement(Vo,null);const{direction:I}=r.useContext(lr.E_);return r.createElement("div",{className:`${a}-column`},r.createElement("span",{className:`${o}-column-title`},p),r.createElement(cr.Z,{dropdownRender:R,trigger:["click"],open:N,onOpenChange:_,getPopupContainer:C,placement:I==="rtl"?"bottomLeft":"bottomRight"},r.createElement("span",{role:"button",tabIndex:-1,className:he()(`${a}-trigger`,{active:J}),onClick:S=>{S.stopPropagation()}},y)))}var ol=rl;function Fn(e,t,n){let o=[];return(e||[]).forEach((a,l)=>{var i;const c=qt(l,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let s=a.filteredValue;"filterDropdown"in a||(s=(i=s==null?void 0:s.map(String))!==null&&i!==void 0?i:s),o.push({column:a,key:kt(a,c),filteredKeys:s,forceFiltered:a.filtered})}else o.push({column:a,key:kt(a,c),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(o=[].concat((0,Y.Z)(o),(0,Y.Z)(Fn(a.children,t,c))))}),o}function gr(e,t,n,o,a,l,i,c){return n.map((s,d)=>{const f=qt(d,c),{filterMultiple:u=!0,filterMode:g,filterSearch:m}=s;let p=s;if(p.filters||p.filterDropdown){const C=kt(p,f),v=o.find(x=>{let{key:w}=x;return C===w});p=Object.assign(Object.assign({},p),{title:x=>r.createElement(ol,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:p,columnKey:C,filterState:v,filterMultiple:u,filterMode:g,filterSearch:m,triggerFilter:l,locale:a,getPopupContainer:i},un(s.title,x))})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:gr(e,t,p.children,o,a,l,i,f)})),p})}function At(e){let t=[];return(e||[]).forEach(n=>{let{value:o,children:a}=n;t.push(o),a&&(t=[].concat((0,Y.Z)(t),(0,Y.Z)(At(a))))}),t}function hr(e){const t={};return e.forEach(n=>{let{key:o,filteredKeys:a,column:l}=n;const{filters:i,filterDropdown:c}=l;if(c)t[o]=a||null;else if(Array.isArray(a)){const s=At(i);t[o]=s.filter(d=>a.includes(String(d)))}else t[o]=null}),t}function xr(e,t){return t.reduce((n,o)=>{const{column:{onFilter:a,filters:l},filteredKeys:i}=o;return a&&i&&i.length?n.filter(c=>i.some(s=>{const d=At(l),f=d.findIndex(g=>String(g)===String(s)),u=f!==-1?d[f]:s;return a(u,c)})):n},e)}function ll(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,onFilterChange:a,getPopupContainer:l,locale:i}=e;const[c,s]=r.useState(()=>Fn(o,!0)),d=r.useMemo(()=>{const m=Fn(o,!1);if(m.length===0)return m;let p=!0,C=!0;if(m.forEach(v=>{let{filteredKeys:x}=v;x!==void 0?p=!1:C=!1}),p){const v=(o||[]).map((x,w)=>kt(x,qt(w)));return c.filter(x=>{let{key:w}=x;return v.includes(w)}).map(x=>{const w=o[v.findIndex($=>$===x.key)];return Object.assign(Object.assign({},x),{column:Object.assign(Object.assign({},x.column),w),forceFiltered:w.filtered})})}return m},[o,c]),f=r.useMemo(()=>hr(d),[d]),u=m=>{const p=d.filter(C=>{let{key:v}=C;return v!==m.key});p.push(m),s(p),a(hr(p),p)};return[m=>gr(t,n,m,d,i,u,l),d,f]}var al=ll,il=h(84164),sl=h(38780),cl=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a{const l=e[a];typeof l!="function"&&(n[a]=l)}),n}function ul(e,t,n){const o=t&&typeof t=="object"?t:{},{total:a=0}=o,l=cl(o,["total"]),[i,c]=(0,r.useState)(()=>({current:"defaultCurrent"in l?l.defaultCurrent:1,pageSize:"defaultPageSize"in l?l.defaultPageSize:yr})),s=(0,sl.Z)(i,l,{total:a>0?a:e}),d=Math.ceil((a||e)/s.pageSize);s.current>d&&(s.current=d||1);const f=(g,m)=>{c({current:g!=null?g:1,pageSize:m||s.pageSize})},u=(g,m)=>{var p;t&&((p=t.onChange)===null||p===void 0||p.call(t,g,m)),f(g,m),n(g,m||(s==null?void 0:s.pageSize))};return t===!1?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:u}),f]}var fl=h(13622),Cr=h(10225),Kn=h(17341),ml=h(1089),pl=h(21770);const wt={},Hn="SELECT_ALL",zn="SELECT_INVERT",Ln="SELECT_NONE",br=[];function Sr(e,t){let n=[];return(t||[]).forEach(o=>{n.push(o),o&&typeof o=="object"&&e in o&&(n=[].concat((0,Y.Z)(n),(0,Y.Z)(Sr(e,o[e]))))}),n}function vl(e,t){const{preserveSelectedRowKeys:n,selectedRowKeys:o,defaultSelectedRowKeys:a,getCheckboxProps:l,onChange:i,onSelect:c,onSelectAll:s,onSelectInvert:d,onSelectNone:f,onSelectMultiple:u,columnWidth:g,type:m,selections:p,fixed:C,renderCell:v,hideSelectAll:x,checkStrictly:w=!0}=e||{},{prefixCls:$,data:L,pageData:O,getRecordByKey:E,getRowKey:k,expandType:J,childrenColumnName:j,locale:N,getPopupContainer:B}=t,[b,T]=(0,pl.Z)(o||a||br,{value:o}),A=r.useRef(new Map),re=(0,r.useCallback)(Q=>{if(n){const K=new Map;Q.forEach(R=>{let y=E(R);!y&&A.current.has(R)&&(y=A.current.get(R)),K.set(R,y)}),A.current=K}},[E,n]);r.useEffect(()=>{re(b)},[b]);const{keyEntities:U}=(0,r.useMemo)(()=>w?{keyEntities:null}:(0,ml.I8)(L,{externalGetKey:k,childrenPropName:j}),[L,k,w,j]),P=(0,r.useMemo)(()=>Sr(j,O),[O,j]),q=(0,r.useMemo)(()=>{const Q=new Map;return P.forEach((K,R)=>{const y=k(K,R),I=(l?l(K):null)||{};Q.set(y,I)}),Q},[P,k,l]),D=(0,r.useCallback)(Q=>{var K;return!!(!((K=q.get(k(Q)))===null||K===void 0)&&K.disabled)},[q,k]),[de,M]=(0,r.useMemo)(()=>{if(w)return[b||[],[]];const{checkedKeys:Q,halfCheckedKeys:K}=(0,Kn.S)(b,!0,U,D);return[Q||[],K]},[b,w,U,D]),Ce=(0,r.useMemo)(()=>{const Q=m==="radio"?de.slice(0,1):de;return new Set(Q)},[de,m]),Ke=(0,r.useMemo)(()=>m==="radio"?new Set:new Set(M),[M,m]),[ie,ve]=(0,r.useState)(null);r.useEffect(()=>{e||T(br)},[!!e]);const _=(0,r.useCallback)((Q,K)=>{let R,y;re(Q),n?(R=Q,y=Q.map(I=>A.current.get(I))):(R=[],y=[],Q.forEach(I=>{const S=E(I);S!==void 0&&(R.push(I),y.push(S))})),T(R),i==null||i(R,y,{type:K})},[T,E,i,n]),ue=(0,r.useCallback)((Q,K,R,y)=>{if(c){const I=R.map(S=>E(S));c(E(Q),K,I,y)}_(R,"single")},[c,E,_]),Te=(0,r.useMemo)(()=>!p||x?null:(p===!0?[Hn,zn,Ln]:p).map(K=>K===Hn?{key:"all",text:N.selectionAll,onSelect(){_(L.map((R,y)=>k(R,y)).filter(R=>{const y=q.get(R);return!(y!=null&&y.disabled)||Ce.has(R)}),"all")}}:K===zn?{key:"invert",text:N.selectInvert,onSelect(){const R=new Set(Ce);O.forEach((I,S)=>{const z=k(I,S),W=q.get(z);W!=null&&W.disabled||(R.has(z)?R.delete(z):R.add(z))});const y=Array.from(R);d&&d(y),_(y,"invert")}}:K===Ln?{key:"none",text:N.selectNone,onSelect(){f==null||f(),_(Array.from(Ce).filter(R=>{const y=q.get(R);return y==null?void 0:y.disabled}),"none")}}:K).map(K=>Object.assign(Object.assign({},K),{onSelect:function(){for(var R,y,I=arguments.length,S=new Array(I),z=0;z{var K;if(!e)return Q.filter(oe=>oe!==wt);let R=(0,Y.Z)(Q);const y=new Set(Ce),I=P.map(k).filter(oe=>!q.get(oe).disabled),S=I.every(oe=>y.has(oe)),z=I.some(oe=>y.has(oe)),W=()=>{const oe=[];S?I.forEach(se=>{y.delete(se),oe.push(se)}):I.forEach(se=>{y.has(se)||(y.add(se),oe.push(se))});const xe=Array.from(y);s==null||s(!S,xe.map(se=>E(se)),oe.map(se=>E(se))),_(xe,"all"),ve(null)};let fe;if(m!=="radio"){let oe;if(Te){const ge={getPopupContainer:B,items:Te.map((Be,Ge)=>{const{key:_e,text:ct,onSelect:je}=Be;return{key:_e||Ge,onClick:()=>{je==null||je(I)},label:ct}})};oe=r.createElement("div",{className:`${$}-selection-extra`},r.createElement(cr.Z,{menu:ge,getPopupContainer:B},r.createElement("span",null,r.createElement(fl.Z,null))))}const xe=P.map((ge,Be)=>{const Ge=k(ge,Be),_e=q.get(Ge)||{};return Object.assign({checked:y.has(Ge)},_e)}).filter(ge=>{let{disabled:Be}=ge;return Be}),se=!!xe.length&&xe.length===P.length,ee=se&&xe.every(ge=>{let{checked:Be}=ge;return Be}),Se=se&&xe.some(ge=>{let{checked:Be}=ge;return Be});fe=!x&&r.createElement("div",{className:`${$}-selection`},r.createElement(fn.Z,{checked:se?ee:!!P.length&&S,indeterminate:se?!ee&&Se:!S&&z,onChange:W,disabled:P.length===0||se,"aria-label":oe?"Custom selection":"Select all",skipGroup:!0}),oe)}let Me;m==="radio"?Me=(oe,xe,se)=>{const ee=k(xe,se),Se=y.has(ee);return{node:r.createElement(ur.ZP,Object.assign({},q.get(ee),{checked:Se,onClick:ge=>ge.stopPropagation(),onChange:ge=>{y.has(ee)||ue(ee,!0,[ee],ge.nativeEvent)}})),checked:Se}}:Me=(oe,xe,se)=>{var ee;const Se=k(xe,se),ge=y.has(Se),Be=Ke.has(Se),Ge=q.get(Se);let _e;return J==="nest"?_e=Be:_e=(ee=Ge==null?void 0:Ge.indeterminate)!==null&&ee!==void 0?ee:Be,{node:r.createElement(fn.Z,Object.assign({},Ge,{indeterminate:_e,checked:ge,skipGroup:!0,onClick:ct=>ct.stopPropagation(),onChange:ct=>{let{nativeEvent:je}=ct;const{shiftKey:He}=je;let ke=-1,et=-1;if(He&&w){const Ye=new Set([ie,Se]);I.some((ze,Pe)=>{if(Ye.has(ze))if(ke===-1)ke=Pe;else return et=Pe,!0;return!1})}if(et!==-1&&ke!==et&&w){const Ye=I.slice(ke,et+1),ze=[];ge?Ye.forEach(F=>{y.has(F)&&(ze.push(F),y.delete(F))}):Ye.forEach(F=>{y.has(F)||(ze.push(F),y.add(F))});const Pe=Array.from(y);u==null||u(!ge,Pe.map(F=>E(F)),ze.map(F=>E(F))),_(Pe,"multiple")}else{const Ye=de;if(w){const ze=ge?(0,Cr._5)(Ye,Se):(0,Cr.L0)(Ye,Se);ue(Se,!ge,ze,je)}else{const ze=(0,Kn.S)([].concat((0,Y.Z)(Ye),[Se]),!0,U,D),{checkedKeys:Pe,halfCheckedKeys:F}=ze;let le=Pe;if(ge){const Fe=new Set(Pe);Fe.delete(Se),le=(0,Kn.S)(Array.from(Fe),{checked:!1,halfCheckedKeys:F},U,D).checkedKeys}ue(Se,!ge,le,je)}}ve(ge?null:Se)}})),checked:ge}};const De=(oe,xe,se)=>{const{node:ee,checked:Se}=Me(oe,xe,se);return v?v(Se,xe,se,ee):ee};if(!R.includes(wt))if(R.findIndex(oe=>{var xe;return((xe=oe[Tt])===null||xe===void 0?void 0:xe.columnType)==="EXPAND_COLUMN"})===0){const[oe,...xe]=R;R=[oe,wt].concat((0,Y.Z)(xe))}else R=[wt].concat((0,Y.Z)(R));const vt=R.indexOf(wt);R=R.filter((oe,xe)=>oe!==wt||xe===vt);const Ee=R[vt-1],it=R[vt+1];let $e=C;$e===void 0&&((it==null?void 0:it.fixed)!==void 0?$e=it.fixed:(Ee==null?void 0:Ee.fixed)!==void 0&&($e=Ee.fixed)),$e&&Ee&&((K=Ee[Tt])===null||K===void 0?void 0:K.columnType)==="EXPAND_COLUMN"&&Ee.fixed===void 0&&(Ee.fixed=$e);const Re={fixed:$e,width:g,className:`${$}-selection-column`,title:e.columnTitle||fe,render:De,[Tt]:{className:`${$}-selection-col`}};return R.map(oe=>oe===wt?Re:oe)},[k,P,e,de,Ce,Ke,g,Te,J,ie,q,u,ue,D]),Ce]}var gl={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"},hl=gl,wr=function(t,n){return r.createElement(Pn.Z,(0,H.Z)((0,H.Z)({},t),{},{ref:n,icon:hl}))};wr.displayName="CaretDownOutlined";var xl=r.forwardRef(wr),yl={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"},Cl=yl,Er=function(t,n){return r.createElement(Pn.Z,(0,H.Z)((0,H.Z)({},t),{},{ref:n,icon:Cl}))};Er.displayName="CaretUpOutlined";var bl=r.forwardRef(Er),Sl=h(83062);const mn="ascend",Bn="descend";function pn(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function $r(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function wl(e,t){return t?e[e.indexOf(t)+1]:e[0]}function Mn(e,t,n){let o=[];function a(l,i){o.push({column:l,key:kt(l,i),multiplePriority:pn(l),sortOrder:l.sortOrder})}return(e||[]).forEach((l,i)=>{const c=qt(i,n);l.children?("sortOrder"in l&&a(l,c),o=[].concat((0,Y.Z)(o),(0,Y.Z)(Mn(l.children,t,c)))):l.sorter&&("sortOrder"in l?a(l,c):t&&l.defaultSortOrder&&o.push({column:l,key:kt(l,c),multiplePriority:pn(l),sortOrder:l.defaultSortOrder}))}),o}function Rr(e,t,n,o,a,l,i,c){return(t||[]).map((s,d)=>{const f=qt(d,c);let u=s;if(u.sorter){const g=u.sortDirections||a,m=u.showSorterTooltip===void 0?i:u.showSorterTooltip,p=kt(u,f),C=n.find(j=>{let{key:N}=j;return N===p}),v=C?C.sortOrder:null,x=wl(g,v),w=g.includes(mn)&&r.createElement(bl,{className:he()(`${e}-column-sorter-up`,{active:v===mn}),role:"presentation"}),$=g.includes(Bn)&&r.createElement(xl,{className:he()(`${e}-column-sorter-down`,{active:v===Bn}),role:"presentation"}),{cancelSort:L,triggerAsc:O,triggerDesc:E}=l||{};let k=L;x===Bn?k=E:x===mn&&(k=O);const J=typeof m=="object"?m:{title:k};u=Object.assign(Object.assign({},u),{className:he()(u.className,{[`${e}-column-sort`]:v}),title:j=>{const N=r.createElement("div",{className:`${e}-column-sorters`},r.createElement("span",{className:`${e}-column-title`},un(s.title,j)),r.createElement("span",{className:he()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(w&&$)})},r.createElement("span",{className:`${e}-column-sorter-inner`},w,$)));return m?r.createElement(Sl.Z,Object.assign({},J),N):N},onHeaderCell:j=>{const N=s.onHeaderCell&&s.onHeaderCell(j)||{},B=N.onClick,b=N.onKeyDown;N.onClick=re=>{o({column:s,key:p,sortOrder:x,multiplePriority:pn(s)}),B==null||B(re)},N.onKeyDown=re=>{re.keyCode===mr.Z.ENTER&&(o({column:s,key:p,sortOrder:x,multiplePriority:pn(s)}),b==null||b(re))};const T=jo(s.title,{}),A=T==null?void 0:T.toString();return v?N["aria-sort"]=v==="ascend"?"ascending":"descending":N["aria-label"]=A||"",N.className=he()(N.className,`${e}-column-has-sorters`),N.tabIndex=0,s.ellipsis&&(N.title=(T!=null?T:"").toString()),N}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:Rr(e,u.children,n,o,a,l,i,f)})),u})}function Or(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function Nr(e){const t=e.filter(n=>{let{sortOrder:o}=n;return o}).map(Or);return t.length===0&&e.length?Object.assign(Object.assign({},Or(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function Dn(e,t,n){const o=t.slice().sort((i,c)=>c.multiplePriority-i.multiplePriority),a=e.slice(),l=o.filter(i=>{let{column:{sorter:c},sortOrder:s}=i;return $r(c)&&s});return l.length?a.sort((i,c)=>{for(let s=0;s{const c=i[n];return c?Object.assign(Object.assign({},i),{[n]:Dn(c,t,n)}):i}):a}function El(e){let{prefixCls:t,mergedColumns:n,onSorterChange:o,sortDirections:a,tableLocale:l,showSorterTooltip:i}=e;const[c,s]=r.useState(Mn(n,!0)),d=r.useMemo(()=>{let p=!0;const C=Mn(n,!1);if(!C.length)return c;const v=[];function x($){p?v.push($):v.push(Object.assign(Object.assign({},$),{sortOrder:null}))}let w=null;return C.forEach($=>{w===null?(x($),$.sortOrder&&($.multiplePriority===!1?p=!1:w=!0)):(w&&$.multiplePriority!==!1||(p=!1),x($))}),v},[n,c]),f=r.useMemo(()=>{const p=d.map(C=>{let{column:v,sortOrder:x}=C;return{column:v,order:x}});return{sortColumns:p,sortColumn:p[0]&&p[0].column,sortOrder:p[0]&&p[0].order}},[d]);function u(p){let C;p.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?C=[p]:C=[].concat((0,Y.Z)(d.filter(v=>{let{key:x}=v;return x!==p.key})),[p]),s(C),o(Nr(C),C)}return[p=>Rr(t,p,d,u,a,l,i),d,f,()=>Nr(d)]}function Ir(e,t){return e.map(n=>{const o=Object.assign({},n);return o.title=un(n.title,t),"children"in o&&(o.children=Ir(o.children,t)),o})}function $l(e){return[r.useCallback(n=>Ir(n,e),[e])]}var Rl=or((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:o}=t;return n!==o}),_t=h(10274),Ol=h(67968),Nl=h(45503),Il=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,o=(a,l,i)=>({[`&${t}-${a}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${l}px -${i+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[` - > ${t}-content, - > ${t}-header, - > ${t}-body, - > ${t}-summary - `]:{"> table":{[` - > thead > tr > th, - > tbody > tr > td, - > tfoot > tr > th, - > tfoot > tr > td - `]:{borderInlineEnd:n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:n},"> tr > th::before":{backgroundColor:"transparent !important"}},[` - > thead > tr, - > tbody > tr, - > tfoot > tr - `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:n}},"> tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:n,content:'""'}}}}},[` - > ${t}-content, - > ${t}-header - `]:{"> table":{borderTop:n}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` - > tr${t}-expanded-row, - > tr${t}-placeholder - `]:{"> td":{borderInlineEnd:0}}}}}},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},vn=h(14747),Tl=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},vn.vS),{wordBreak:"keep-all",[` - &${t}-cell-fix-left-last, - &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zl=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},kl=h(49867),Pl=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:o,motionDurationSlow:a,lineWidth:l,paddingXS:i,lineType:c,tableBorderColor:s,tableExpandIconBg:d,tableExpandColumnWidth:f,borderRadius:u,fontSize:g,fontSizeSM:m,lineHeight:p,tablePaddingVertical:C,tablePaddingHorizontal:v,tableExpandedRowBg:x,paddingXXS:w}=e,$=o/2-l,L=$*2+l*3,O=`${l}px ${c} ${s}`,E=w-l;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:f},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,kl.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:L,height:L,padding:0,color:"inherit",lineHeight:`${L}px`,background:d,border:O,borderRadius:u,transform:`scale(${o/L})`,transition:`all ${a}`,userSelect:"none",["&:focus, &:hover, &:active"]:{borderColor:"currentcolor"},["&::before, &::after"]:{position:"absolute",background:"currentcolor",transition:`transform ${a} ease-out`,content:'""'},"&::before":{top:$,insetInlineEnd:E,insetInlineStart:E,height:l},"&::after":{top:E,bottom:E,insetInlineStart:$,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(g*p-l*3)/2-Math.ceil((m*1.4-l*3)/2),marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:x}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${C}px -${v}px`,padding:`${C}px ${v}px`}}}},Fl=e=>{const{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:l,paddingXXS:i,paddingXS:c,colorText:s,lineWidth:d,lineType:f,tableBorderColor:u,tableHeaderIconColor:g,fontSizeSM:m,tablePaddingHorizontal:p,borderRadius:C,motionDurationSlow:v,colorTextDescription:x,colorPrimary:w,tableHeaderFilterActiveBg:$,colorTextDisabled:L,tableFilterDropdownBg:O,tableFilterDropdownHeight:E,controlItemBgHover:k,controlItemBgActive:J,boxShadowSecondary:j}=e,N=`${n}-dropdown`,B=`${t}-filter-dropdown`,b=`${n}-tree`,T=`${d}px ${f} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-i,marginInline:`${i}px ${-p/2}px`,padding:`0 ${i}px`,color:g,fontSize:m,borderRadius:C,cursor:"pointer",transition:`all ${v}`,"&:hover":{color:x,background:$},"&.active":{color:w}}}},{[`${n}-dropdown`]:{[B]:Object.assign(Object.assign({},(0,vn.Wf)(e)),{minWidth:a,backgroundColor:O,borderRadius:C,boxShadow:j,[`${N}-menu`]:{maxHeight:E,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${c}px 0`,color:L,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${B}-tree`]:{paddingBlock:`${c}px 0`,paddingInline:c,[b]:{padding:0},[`${b}-treenode ${b}-node-content-wrapper:hover`]:{backgroundColor:k},[`${b}-treenode-checkbox-checked ${b}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:J}}},[`${B}-search`]:{padding:c,borderBottom:T,"&-input":{input:{minWidth:l},[o]:{color:L}}},[`${B}-checkall`]:{width:"100%",marginBottom:i,marginInlineStart:i},[`${B}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${c-d}px ${c}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:T}})}},{[`${n}-dropdown ${B}, ${B}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:c,color:s},["> ul"]:{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Kl=e=>{const{componentCls:t,lineWidth:n,colorSplit:o,motionDurationSlow:a,zIndexTableFixed:l,tableBg:i,zIndexTableSticky:c}=e,s=o;return{[`${t}-wrapper`]:{[` - ${t}-cell-fix-left, - ${t}-cell-fix-right - `]:{position:"sticky !important",zIndex:l,background:i},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-n,width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c+1,width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},Hl=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},zl=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},Ll=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"}}}}},Bl=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:a,paddingXS:l,tableHeaderIconColor:i,tableHeaderIconColorHover:c}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+l*2},[` - table tr th${t}-selection-column, - table tr td${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[o]:{color:i,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}}}}},Ml=e=>{const{componentCls:t}=e,n=(o,a,l,i)=>({[`${t}${t}-${o}`]:{fontSize:i,[` - ${t}-title, - ${t}-footer, - ${t}-thead > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${a}px ${l}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${l/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${a}px -${l}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${a}px`,marginInline:`${e.tableExpandColumnWidth-l}px -${l}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${l/4}px`}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Dl=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:o,tableHeaderIconColor:a,tableHeaderIconColorHover:l}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` - &${t}-cell-fix-left:hover, - &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:o,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:l}}}},jl=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:a,tableScrollThumbSize:l,tableScrollBg:i,zIndexTableSticky:c}=e,s=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:c,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${l}px !important`,zIndex:c,display:"flex",alignItems:"center",background:i,borderTop:s,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:o,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},Tr=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:o}=e,a=`${n}px ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${o}`}}}};const Al=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:a,lineWidth:l,lineType:i,tableBorderColor:c,tableFontSize:s,tableBg:d,tableRadius:f,tableHeaderTextColor:u,motionDurationMid:g,tableHeaderBg:m,tableHeaderCellSplitColor:p,tableRowHoverBg:C,tableSelectedRowBg:v,tableSelectedRowHoverBg:x,tableFooterTextColor:w,tableFooterBg:$,paddingContentVerticalLG:L,wireframe:O}=e,E=`${l}px ${i} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,vn.dF)()),{[t]:Object.assign(Object.assign({},(0,vn.Wf)(e)),{fontSize:s,background:d,borderRadius:`${f}px ${f}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${f}px ${f}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${t}-thead > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${L}px ${a}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${o}px ${a}px`},[`${t}-thead`]:{[` - > tr > th, - > tr > td - `]:{position:"relative",color:u,fontWeight:n,textAlign:"start",background:m,borderBottom:E,transition:`background ${g} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:p,transform:"translateY(-50%)",transition:`background-color ${g}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}:not(${t}-bordered)`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderTop:E,borderBottom:"transparent"},"&:last-child > td":{borderBottom:E},[`&:first-child > td, - &${t}-measure-row + tr > td`]:{borderTop:"none",borderTopColor:"transparent"}}}},[`${t}${t}-bordered`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderBottom:E}}}},[`${t}-tbody`]:{"> tr":{"> td":{transition:`background ${g}, border-color ${g}`,[` - > ${t}-wrapper:only-child, - > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:`-${o}px`,marginInline:`${e.tableExpandColumnWidth-a}px -${a}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[` - &${t}-row:hover > td, - > td${t}-cell-row-hover - `]:{background:C},[`&${t}-row-selected`]:{"> td":{background:v},"&:hover > td":{background:x}}}},[`${t}:not(${t}-bordered) ${t}-tbody > tr`]:O?void 0:{[`&${t}-row:hover, &${t}-row${t}-row-selected`]:{[`+ tr${t}-row > td`]:{borderTopColor:"transparent"}},[`&${t}-row:last-child:hover > td, - &${t}-row${t}-row-selected:last-child > td`]:{borderBottomColor:"transparent"},[` - &${t}-row:hover > td, - > td${t}-cell-row-hover, - &${t}-row${t}-row-selected > td - `]:{borderTopColor:"transparent","&:first-child":{borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f}}},[`${t}-footer`]:{padding:`${o}px ${a}px`,color:w,background:$}})}};var Wl=(0,Ol.Z)("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:o,colorTextHeading:a,colorSplit:l,colorBorderSecondary:i,fontSize:c,padding:s,paddingXS:d,paddingSM:f,controlHeight:u,colorFillAlter:g,colorIcon:m,colorIconHover:p,opacityLoading:C,colorBgContainer:v,borderRadiusLG:x,colorFillContent:w,colorFillSecondary:$,controlInteractiveSize:L}=e,O=new _t.C(m),E=new _t.C(p),k=t,J=2,j=new _t.C($).onBackground(v).toHexString(),N=new _t.C(w).onBackground(v).toHexString(),B=new _t.C(g).onBackground(v).toHexString(),b=(0,Nl.TS)(e,{tableFontSize:c,tableBg:v,tableRadius:x,tablePaddingVertical:s,tablePaddingHorizontal:s,tablePaddingVerticalMiddle:f,tablePaddingHorizontalMiddle:d,tablePaddingVerticalSmall:d,tablePaddingHorizontalSmall:d,tableBorderColor:i,tableHeaderTextColor:a,tableHeaderBg:B,tableFooterTextColor:a,tableFooterBg:B,tableHeaderCellSplitColor:i,tableHeaderSortBg:j,tableHeaderSortHoverBg:N,tableHeaderIconColor:O.clone().setAlpha(O.getAlpha()*C).toRgbString(),tableHeaderIconColorHover:E.clone().setAlpha(E.getAlpha()*C).toRgbString(),tableBodySortBg:B,tableFixedHeaderSortActiveBg:j,tableHeaderFilterActiveBg:w,tableFilterDropdownBg:v,tableRowHoverBg:B,tableSelectedRowBg:k,tableSelectedRowHoverBg:n,zIndexTableFixed:J,zIndexTableSticky:J+1,tableFontSizeMiddle:c,tableFontSizeSmall:c,tableSelectionColumnWidth:u,tableExpandIconBg:v,tableExpandColumnWidth:L+2*e.padding,tableExpandedRowBg:g,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:o,tableScrollThumbBgHover:a,tableScrollBg:l});return[Al(b),Hl(b),Tr(b),Dl(b),Fl(b),Il(b),zl(b),Pl(b),Tr(b),Zl(b),Bl(b),Kl(b),jl(b),Tl(b),Ml(b),Ll(b)]});const Vl=[];function Ul(e,t){const{prefixCls:n,className:o,style:a,size:l,bordered:i,dropdownPrefixCls:c,dataSource:s,pagination:d,rowSelection:f,rowKey:u="key",rowClassName:g,columns:m,children:p,childrenColumnName:C,onChange:v,getPopupContainer:x,loading:w,expandIcon:$,expandable:L,expandedRowRender:O,expandIconColumnIndex:E,indentSize:k,scroll:J,sortDirections:j,locale:N,showSorterTooltip:B=!0}=e,b=r.useMemo(()=>m||Tn(p),[m,p]),T=r.useMemo(()=>b.some(F=>F.responsive),[b]),A=(0,Po.Z)(T),re=r.useMemo(()=>{const F=new Set(Object.keys(A).filter(le=>A[le]));return b.filter(le=>!le.responsive||le.responsive.some(Fe=>F.has(Fe)))},[b,A]),U=(0,To.Z)(e,["className","style","columns"]),P=r.useContext(ko.Z),{locale:q=Fo.Z,direction:D,renderEmpty:de,getPrefixCls:M}=r.useContext(lr.E_),Ce=l||P,Ke=Object.assign(Object.assign({},q.Table),N),ie=s||Vl,ve=M("table",n),_=M("dropdown",c),ue=Object.assign({childrenColumnName:C,expandIconColumnIndex:E},L),{childrenColumnName:Te="children"}=ue,Le=r.useMemo(()=>ie.some(F=>F==null?void 0:F[Te])?"nest":O||L&&L.expandedRowRender?"row":null,[ie]),Q={body:r.useRef()},K=r.useMemo(()=>typeof u=="function"?u:F=>F==null?void 0:F[u],[u]),[R]=(0,il.Z)(ie,Te,K),y={},I=function(F,le){let Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const Ze=Object.assign(Object.assign({},y),F);Fe&&(y.resetPagination(),Ze.pagination.current&&(Ze.pagination.current=1),d&&d.onChange&&d.onChange(1,Ze.pagination.pageSize)),J&&J.scrollToFirstRowOnChange!==!1&&Q.body.current&&Bo(0,{getContainer:()=>Q.body.current}),v==null||v(Ze.pagination,Ze.filters,Ze.sorter,{currentDataSource:xr(Dn(ie,Ze.sorterStates,Te),Ze.filterStates),action:le})},S=(F,le)=>{I({sorter:F,sorterStates:le},"sort",!1)},[z,W,fe,Me]=El({prefixCls:ve,mergedColumns:re,onSorterChange:S,sortDirections:j||["ascend","descend"],tableLocale:Ke,showSorterTooltip:B}),De=r.useMemo(()=>Dn(ie,W,Te),[ie,W]);y.sorter=Me(),y.sorterStates=W;const vt=(F,le)=>{I({filters:F,filterStates:le},"filter",!0)},[Ee,it,$e]=al({prefixCls:ve,locale:Ke,dropdownPrefixCls:_,mergedColumns:re,onFilterChange:vt,getPopupContainer:x}),Re=xr(De,it);y.filters=$e,y.filterStates=it;const oe=r.useMemo(()=>{const F={};return Object.keys($e).forEach(le=>{$e[le]!==null&&(F[le]=$e[le])}),Object.assign(Object.assign({},fe),{filters:F})},[fe,$e]),[xe]=$l(oe),se=(F,le)=>{I({pagination:Object.assign(Object.assign({},y.pagination),{current:F,pageSize:le})},"paginate")},[ee,Se]=ul(Re.length,d,se);y.pagination=d===!1?{}:dl(ee,d),y.resetPagination=Se;const ge=r.useMemo(()=>{if(d===!1||!ee.pageSize)return Re;const{current:F=1,total:le,pageSize:Fe=yr}=ee;return Re.lengthFe?Re.slice((F-1)*Fe,F*Fe):Re:Re.slice((F-1)*Fe,F*Fe)},[!!d,Re,ee&&ee.current,ee&&ee.pageSize,ee&&ee.total]),[Be,Ge]=vl(f,{prefixCls:ve,data:Re,pageData:ge,getRowKey:K,getRecordByKey:R,expandType:Le,childrenColumnName:Te,locale:Ke,getPopupContainer:x}),_e=(F,le,Fe)=>{let Ze;return typeof g=="function"?Ze=he()(g(F,le,Fe)):Ze=he()(g),he()({[`${ve}-row-selected`]:Ge.has(K(F,le))},Ze)};ue.__PARENT_RENDER_ICON__=ue.expandIcon,ue.expandIcon=ue.expandIcon||$||Do(Ke),Le==="nest"&&ue.expandIconColumnIndex===void 0?ue.expandIconColumnIndex=f?1:0:ue.expandIconColumnIndex>0&&f&&(ue.expandIconColumnIndex-=1),typeof ue.indentSize!="number"&&(ue.indentSize=typeof k=="number"?k:15);const ct=r.useCallback(F=>xe(Be(Ee(z(F)))),[z,Ee,Be]);let je,He;if(d!==!1&&(ee==null?void 0:ee.total)){let F;ee.size?F=ee.size:F=Ce==="small"||Ce==="middle"?"small":void 0;const le=Pt=>r.createElement(Ko.Z,Object.assign({},ee,{className:he()(`${ve}-pagination ${ve}-pagination-${Pt}`,ee.className),size:F})),Fe=D==="rtl"?"left":"right",{position:Ze}=ee;if(Ze!==null&&Array.isArray(Ze)){const Pt=Ze.find(gt=>gt.includes("top")),Ae=Ze.find(gt=>gt.includes("bottom")),Ft=Ze.every(gt=>`${gt}`=="none");!Pt&&!Ae&&!Ft&&(He=le(Fe)),Pt&&(je=le(Pt.toLowerCase().replace("top",""))),Ae&&(He=le(Ae.toLowerCase().replace("bottom","")))}else He=le(Fe)}let ke;typeof w=="boolean"?ke={spinning:w}:typeof w=="object"&&(ke=Object.assign({spinning:!0},w));const[et,Ye]=Wl(ve),ze=he()(`${ve}-wrapper`,{[`${ve}-wrapper-rtl`]:D==="rtl"},o,Ye),Pe=N&&N.emptyText||(de==null?void 0:de("Table"))||r.createElement(Zo.Z,{componentName:"Table"});return et(r.createElement("div",{ref:t,className:ze,style:a},r.createElement(Ho.Z,Object.assign({spinning:!1},ke),je,r.createElement(Rl,Object.assign({},U,{columns:re,direction:D,expandable:ue,prefixCls:ve,className:he()({[`${ve}-middle`]:Ce==="middle",[`${ve}-small`]:Ce==="small",[`${ve}-bordered`]:i,[`${ve}-empty`]:ie.length===0}),data:ge,rowKey:K,rowClassName:_e,emptyText:Pe,internalHooks:cn,internalRefs:Q,transformColumns:ct})),He)))}var Xl=r.forwardRef(Ul);function Gl(e,t){const n=r.useRef(0);return n.current+=1,r.createElement(Xl,Object.assign({},e,{ref:t,_renderTimes:n.current}))}const pt=r.forwardRef(Gl);pt.SELECTION_COLUMN=wt,pt.EXPAND_COLUMN=ye,pt.SELECTION_ALL=Hn,pt.SELECTION_INVERT=zn,pt.SELECTION_NONE=Ln,pt.Column=Oo,pt.ColumnGroup=Io,pt.Summary=yt;var Yl=pt,Jl=Yl},14e3:function(en,dt,h){h.d(dt,{Z:function(){return Yt}});var r=h(31343),ye=h(1413),Z=h(67294),nt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},We=nt,me=h(93771),st=function(pe,ae){return Z.createElement(me.Z,(0,ye.Z)((0,ye.Z)({},pe),{},{ref:ae,icon:We}))};st.displayName="HolderOutlined";var rt=Z.forwardRef(st),Oe=h(94184),Ne=h.n(Oe),ut=h(53124),ot=h(33603);const Rt=4;function Vt(V){const{dropPosition:pe,dropLevelOffset:ae,prefixCls:X,indent:be,direction:G="ltr"}=V,we=G==="ltr"?"left":"right",Ue=G==="ltr"?"right":"left",Ie={[we]:-ae*be+Rt,[Ue]:0};switch(pe){case-1:Ie.top=-3;break;case 1:Ie.bottom=-3;break;default:Ie.bottom=-3,Ie[we]=be+Rt;break}return Z.createElement("div",{style:Ie,className:`${X}-drop-indicator`})}var Kt=h(77632),Cn=h(32157),tn=Z.forwardRef((V,pe)=>{const{getPrefixCls:ae,direction:X,virtual:be}=Z.useContext(ut.E_),{prefixCls:G,className:we,showIcon:Ue=!1,showLine:Ie,switcherIcon:xt,blockNode:yt=!1,children:Ct,checkable:bt=!1,selectable:Nt=!0,draggable:Je,motion:St}=V,Y=ae("tree",G),Lt=ae(),Jt=St!=null?St:Object.assign(Object.assign({},(0,ot.ZP)(Lt)),{motionAppear:!1}),Qt=Object.assign(Object.assign({},V),{checkable:bt,selectable:Nt,showIcon:Ue,motion:Jt,blockNode:yt,showLine:Boolean(Ie),dropIndicatorRender:Vt}),[Bt,Mt]=(0,Cn.ZP)(Y),It=Z.useMemo(()=>{if(!Je)return!1;let Qe={};switch(typeof Je){case"function":Qe.nodeDraggable=Je;break;case"object":Qe=Object.assign({},Je);break;default:break}return Qe.icon!==!1&&(Qe.icon=Qe.icon||Z.createElement(rt,null)),Qe},[Je]);return Bt(Z.createElement(r.Z,Object.assign({itemHeight:20,ref:pe,virtual:be},Qt,{prefixCls:Y,className:Ne()({[`${Y}-icon-hide`]:!Ue,[`${Y}-block-node`]:yt,[`${Y}-unselectable`]:!Nt,[`${Y}-rtl`]:X==="rtl"},we,Mt),direction:X,checkable:bt&&Z.createElement("span",{className:`${Y}-checkbox-inner`}),selectable:Nt,switcherIcon:Qe=>(0,Kt.Z)(Y,xt,Qe,Ie),draggable:It}),Ct))}),nn=h(74902),bn=h(5309),Ht={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"},H=Ht,ne=function(pe,ae){return Z.createElement(me.Z,(0,ye.Z)((0,ye.Z)({},pe),{},{ref:ae,icon:H}))};ne.displayName="FolderOpenOutlined";var Sn=Z.forwardRef(ne),he={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"},rn=he,Ut=function(pe,ae){return Z.createElement(me.Z,(0,ye.Z)((0,ye.Z)({},pe),{},{ref:ae,icon:rn}))};Ut.displayName="FolderOutlined";var wn=Z.forwardRef(Ut),En=h(10225),Xt=h(1089),lt;(function(V){V[V.None=0]="None",V[V.Start=1]="Start",V[V.End=2]="End"})(lt||(lt={}));function Gt(V,pe){function ae(X){const{key:be,children:G}=X;pe(be,X)!==!1&&Gt(G||[],pe)}V.forEach(ae)}function zt(V){let{treeData:pe,expandedKeys:ae,startKey:X,endKey:be}=V;const G=[];let we=lt.None;if(X&&X===be)return[X];if(!X||!be)return[];function Ue(Ie){return Ie===X||Ie===be}return Gt(pe,Ie=>{if(we===lt.End)return!1;if(Ue(Ie)){if(G.push(Ie),we===lt.None)we=lt.Start;else if(we===lt.Start)return we=lt.End,!1}else we===lt.Start&&G.push(Ie);return ae.includes(Ie)}),G}function Ot(V,pe){const ae=(0,nn.Z)(pe),X=[];return Gt(V,(be,G)=>{const we=ae.indexOf(be);return we!==-1&&(X.push(G),ae.splice(we,1)),!!ae.length}),X}var on=function(V,pe){var ae={};for(var X in V)Object.prototype.hasOwnProperty.call(V,X)&&pe.indexOf(X)<0&&(ae[X]=V[X]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,X=Object.getOwnPropertySymbols(V);be{var{defaultExpandAll:ae,defaultExpandParent:X,defaultExpandedKeys:be}=V,G=on(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const we=Z.useRef(),Ue=Z.useRef(),Ie=()=>{const{keyEntities:ft}=(0,Xt.I8)(ln(G));let qe;return ae?qe=Object.keys(ft):X?qe=(0,En.r7)(G.expandedKeys||be||[],ft):qe=G.expandedKeys||be,qe},[xt,yt]=Z.useState(G.selectedKeys||G.defaultSelectedKeys||[]),[Ct,bt]=Z.useState(()=>Ie());Z.useEffect(()=>{"selectedKeys"in G&&yt(G.selectedKeys)},[G.selectedKeys]),Z.useEffect(()=>{"expandedKeys"in G&&bt(G.expandedKeys)},[G.expandedKeys]);const Nt=(ft,qe)=>{var mt;return"expandedKeys"in G||bt(ft),(mt=G.onExpand)===null||mt===void 0?void 0:mt.call(G,ft,qe)},Je=(ft,qe)=>{var mt;const{multiple:an}=G,{node:Tt,nativeEvent:at}=qe,{key:Dt=""}=Tt,jt=ln(G),Zt=Object.assign(Object.assign({},qe),{selected:!0}),Nn=(at==null?void 0:at.ctrlKey)||(at==null?void 0:at.metaKey),In=at==null?void 0:at.shiftKey;let Xe;an&&Nn?(Xe=ft,we.current=Dt,Ue.current=Xe,Zt.selectedNodes=Ot(jt,Xe)):an&&In?(Xe=Array.from(new Set([].concat((0,nn.Z)(Ue.current||[]),(0,nn.Z)(zt({treeData:jt,expandedKeys:Ct,startKey:Dt,endKey:we.current}))))),Zt.selectedNodes=Ot(jt,Xe)):(Xe=[Dt],we.current=Dt,Ue.current=Xe,Zt.selectedNodes=Ot(jt,Xe)),(mt=G.onSelect)===null||mt===void 0||mt.call(G,Xe,Zt),"selectedKeys"in G||yt(Xe)},{getPrefixCls:St,direction:Y}=Z.useContext(ut.E_),{prefixCls:Lt,className:Jt,showIcon:Qt=!0,expandAction:Bt="click"}=G,Mt=on(G,["prefixCls","className","showIcon","expandAction"]),It=St("tree",Lt),Qe=Ne()(`${It}-directory`,{[`${It}-directory-rtl`]:Y==="rtl"},Jt);return Z.createElement(tn,Object.assign({icon:$n,ref:pe,blockNode:!0},Mt,{showIcon:Qt,expandAction:Bt,prefixCls:It,className:Qe,expandedKeys:Ct,selectedKeys:xt,onSelect:Je,onExpand:Nt}))};var On=Z.forwardRef(Rn);const ht=tn;ht.DirectoryTree=On,ht.TreeNode=r.O;var Yt=ht},79370:function(en,dt,h){h.d(dt,{G:function(){return nt}});var r=h(98924),ye=function(me){if((0,r.Z)()&&window.document.documentElement){var st=Array.isArray(me)?me:[me],rt=window.document.documentElement;return st.some(function(Oe){return Oe in rt.style})}return!1},Z=function(me,st){if(!ye(me))return!1;var rt=document.createElement("div"),Oe=rt.style[me];return rt.style[me]=st,rt.style[me]!==Oe};function nt(We,me){return!Array.isArray(We)&&me!==void 0?Z(We,me):ye(We)}}}]); diff --git a/statics/4855.34d5196a.async.js b/statics/4855.34d5196a.async.js new file mode 100644 index 00000000..568e6750 --- /dev/null +++ b/statics/4855.34d5196a.async.js @@ -0,0 +1,2 @@ +"use strict";var Gs=Object.defineProperty,Js=Object.defineProperties;var qs=Object.getOwnPropertyDescriptors;var Nt=Object.getOwnPropertySymbols;var fr=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable;var hr=Math.pow,cr=(R,M,w)=>M in R?Gs(R,M,{enumerable:!0,configurable:!0,writable:!0,value:w}):R[M]=w,b=(R,M)=>{for(var w in M||(M={}))fr.call(M,w)&&cr(R,w,M[w]);if(Nt)for(var w of Nt(M))dr.call(M,w)&&cr(R,w,M[w]);return R},me=(R,M)=>Js(R,qs(M));var en=(R,M)=>{var w={};for(var O in R)fr.call(R,O)&&M.indexOf(O)<0&&(w[O]=R[O]);if(R!=null&&Nt)for(var O of Nt(R))M.indexOf(O)<0&&dr.call(R,O)&&(w[O]=R[O]);return w};(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4855],{16165:function(R,M,w){var O=w(1413),T=w(4942),y=w(45987),c=w(67294),f=w(93967),d=w.n(f),g=w(63017),u=w(56736),k=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],v=c.forwardRef(function(m,S){var C=m.className,A=m.component,E=m.viewBox,H=m.spin,V=m.rotate,Z=m.tabIndex,W=m.onClick,L=m.children,ee=(0,y.Z)(m,k);(0,u.Kp)(Boolean(A||L),"Should have `component` prop or `children`."),(0,u.C3)();var F=c.useContext(g.Z),Y=F.prefixCls,J=Y===void 0?"anticon":Y,ie=F.rootClassName,ae=d()(ie,J,C),ze=d()((0,T.Z)({},"".concat(J,"-spin"),!!H)),tt=V?{msTransform:"rotate(".concat(V,"deg)"),transform:"rotate(".concat(V,"deg)")}:void 0,_e=(0,O.Z)((0,O.Z)({},u.vD),{},{className:ze,style:tt,viewBox:E});E||delete _e.viewBox;var Fe=function(){return A?c.createElement(A,(0,O.Z)({},_e),L):L?((0,u.Kp)(Boolean(E)||c.Children.count(L)===1&&c.isValidElement(L)&&c.Children.only(L).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),c.createElement("svg",(0,O.Z)((0,O.Z)({},_e),{},{viewBox:E}),L)):null},De=Z;return De===void 0&&W&&(De=-1),c.createElement("span",(0,O.Z)((0,O.Z)({role:"img"},ee),{},{ref:S,tabIndex:De,onClick:W,className:ae}),Fe())});v.displayName="AntdIcon",M.Z=v},91321:function(R,M,w){w.d(M,{Z:function(){return k}});var O=w(1413),T=w(45987),y=w(67294),c=w(16165),f=["type","children"],d=new Set;function g(v){return Boolean(typeof v=="string"&&v.length&&!d.has(v))}function u(v){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=v[m];if(g(S)){var C=document.createElement("script");C.setAttribute("src",S),C.setAttribute("data-namespace",S),v.length>m+1&&(C.onload=function(){u(v,m+1)},C.onerror=function(){u(v,m+1)}),d.add(S),document.body.appendChild(C)}}function k(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=v.scriptUrl,S=v.extraCommonProps,C=S===void 0?{}:S;m&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(m)?u(m.reverse()):u([m]));var A=y.forwardRef(function(E,H){var V=E.type,Z=E.children,W=(0,T.Z)(E,f),L=null;return E.type&&(L=y.createElement("use",{xlinkHref:"#".concat(V)})),Z&&(L=Z),y.createElement(c.Z,(0,O.Z)((0,O.Z)((0,O.Z)({},C),W),{},{ref:H}),L)});return A.displayName="Iconfont",A}},74070:function(R,M,w){var O=w(1413),T=w(67294),y=w(68670),c=w(84089),f=function(u,k){return T.createElement(c.Z,(0,O.Z)((0,O.Z)({},u),{},{ref:k,icon:y.Z}))},d=T.forwardRef(f);M.Z=d},55355:function(R,M,w){w.d(M,{Z:function(){return u}});var O=w(1413),T=w(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},c=y,f=w(84089),d=function(v,m){return T.createElement(f.Z,(0,O.Z)((0,O.Z)({},v),{},{ref:m,icon:c}))},g=T.forwardRef(d),u=g},66309:function(R,M,w){w.d(M,{Z:function(){return De}});var O=w(67294),T=w(93967),y=w.n(T),c=w(98423),f=w(98787),d=w(69760),g=w(96159),u=w(45353),k=w(53124),v=w(54548),m=w(10274),S=w(14747),C=w(45503),A=w(91945);const E=p=>{const{paddingXXS:z,lineWidth:G,tagPaddingHorizontal:x,componentCls:U,calc:ce}=p,se=ce(x).sub(G).equal(),Ee=ce(z).sub(G).equal();return{[U]:Object.assign(Object.assign({},(0,S.Wf)(p)),{display:"inline-block",height:"auto",marginInlineEnd:p.marginXS,paddingInline:se,fontSize:p.tagFontSize,lineHeight:p.tagLineHeight,whiteSpace:"nowrap",background:p.defaultBg,border:`${(0,v.bf)(p.lineWidth)} ${p.lineType} ${p.colorBorder}`,borderRadius:p.borderRadiusSM,opacity:1,transition:`all ${p.motionDurationMid}`,textAlign:"start",position:"relative",[`&${U}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:p.defaultColor},[`${U}-close-icon`]:{marginInlineStart:Ee,fontSize:p.tagIconSize,color:p.colorTextDescription,cursor:"pointer",transition:`all ${p.motionDurationMid}`,"&:hover":{color:p.colorTextHeading}},[`&${U}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${p.iconCls}-close, ${p.iconCls}-close:hover`]:{color:p.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${U}-checkable-checked):hover`]:{color:p.colorPrimary,backgroundColor:p.colorFillSecondary},"&:active, &-checked":{color:p.colorTextLightSolid},"&-checked":{backgroundColor:p.colorPrimary,"&:hover":{backgroundColor:p.colorPrimaryHover}},"&:active":{backgroundColor:p.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${p.iconCls} + span, > span + ${p.iconCls}`]:{marginInlineStart:se}}),[`${U}-borderless`]:{borderColor:"transparent",background:p.tagBorderlessBg}}},H=p=>{const{lineWidth:z,fontSizeIcon:G,calc:x}=p,U=p.fontSizeSM;return(0,C.TS)(p,{tagFontSize:U,tagLineHeight:(0,v.bf)(x(p.lineHeightSM).mul(U).equal()),tagIconSize:x(G).sub(x(z).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:p.defaultBg})},V=p=>({defaultBg:new m.C(p.colorFillQuaternary).onBackground(p.colorBgContainer).toHexString(),defaultColor:p.colorText});var Z=(0,A.I$)("Tag",p=>{const z=H(p);return E(z)},V),W=function(p,z){var G={};for(var x in p)Object.prototype.hasOwnProperty.call(p,x)&&z.indexOf(x)<0&&(G[x]=p[x]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,x=Object.getOwnPropertySymbols(p);U{const{prefixCls:G,style:x,className:U,checked:ce,onChange:se,onClick:Ee}=p,ve=W(p,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Te,tag:te}=O.useContext(k.E_),Me=Ne=>{se==null||se(!ce),Ee==null||Ee(Ne)},Ce=Te("tag",G),[We,Ve,ue]=Z(Ce),nt=y()(Ce,`${Ce}-checkable`,{[`${Ce}-checkable-checked`]:ce},te==null?void 0:te.className,U,Ve,ue);return We(O.createElement("span",Object.assign({},ve,{ref:z,style:Object.assign(Object.assign({},x),te==null?void 0:te.style),className:nt,onClick:Me})))}),F=w(98719);const Y=p=>(0,F.Z)(p,(z,G)=>{let{textColor:x,lightBorderColor:U,lightColor:ce,darkColor:se}=G;return{[`${p.componentCls}${p.componentCls}-${z}`]:{color:x,background:ce,borderColor:U,"&-inverse":{color:p.colorTextLightSolid,background:se,borderColor:se},[`&${p.componentCls}-borderless`]:{borderColor:"transparent"}}}});var J=(0,A.bk)(["Tag","preset"],p=>{const z=H(p);return Y(z)},V);function ie(p){return typeof p!="string"?p:p.charAt(0).toUpperCase()+p.slice(1)}const ae=(p,z,G)=>{const x=ie(G);return{[`${p.componentCls}${p.componentCls}-${z}`]:{color:p[`color${G}`],background:p[`color${x}Bg`],borderColor:p[`color${x}Border`],[`&${p.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ze=(0,A.bk)(["Tag","status"],p=>{const z=H(p);return[ae(z,"success","Success"),ae(z,"processing","Info"),ae(z,"error","Error"),ae(z,"warning","Warning")]},V),tt=function(p,z){var G={};for(var x in p)Object.prototype.hasOwnProperty.call(p,x)&&z.indexOf(x)<0&&(G[x]=p[x]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,x=Object.getOwnPropertySymbols(p);U{const{prefixCls:G,className:x,rootClassName:U,style:ce,children:se,icon:Ee,color:ve,onClose:Te,bordered:te=!0,visible:Me}=p,Ce=tt(p,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:We,direction:Ve,tag:ue}=O.useContext(k.E_),[nt,Ne]=O.useState(!0),It=(0,c.Z)(Ce,["closeIcon","closable"]);O.useEffect(()=>{Me!==void 0&&Ne(Me)},[Me]);const Ie=(0,f.o2)(ve),ht=(0,f.yT)(ve),Ue=Ie||ht,bt=Object.assign(Object.assign({backgroundColor:ve&&!Ue?ve:void 0},ue==null?void 0:ue.style),ce),le=We("tag",G),[xt,_t,Ft]=Z(le),Pe=y()(le,ue==null?void 0:ue.className,{[`${le}-${ve}`]:Ue,[`${le}-has-color`]:ve&&!Ue,[`${le}-hidden`]:!nt,[`${le}-rtl`]:Ve==="rtl",[`${le}-borderless`]:!te},x,U,_t,Ft),mt=Oe=>{Oe.stopPropagation(),Te==null||Te(Oe),!Oe.defaultPrevented&&Ne(!1)},[,Wt]=(0,d.Z)((0,d.w)(p),(0,d.w)(ue),{closable:!1,closeIconRender:Oe=>{const ne=O.createElement("span",{className:`${le}-close-icon`,onClick:mt},Oe);return(0,g.wm)(Oe,ne,Se=>({onClick:ye=>{var Re;(Re=Se==null?void 0:Se.onClick)===null||Re===void 0||Re.call(Se,ye),mt(ye)},className:y()(Se==null?void 0:Se.className,`${le}-close-icon`)}))}}),Vt=typeof Ce.onClick=="function"||se&&se.type==="a",yt=Ee||null,Lt=yt?O.createElement(O.Fragment,null,yt,se&&O.createElement("span",null,se)):se,B=O.createElement("span",Object.assign({},It,{ref:z,className:Pe,style:bt}),Lt,Wt,Ie&&O.createElement(J,{key:"preset",prefixCls:le}),ht&&O.createElement(ze,{key:"status",prefixCls:le}));return xt(Vt?O.createElement(u.Z,{component:"Tag"},B):B)});Fe.CheckableTag=ee;var De=Fe},88574:function(R,M,w){var O=w(68565);T.prototype.addYear=function(){this._date=this._date.plus({years:1})},T.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},T.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},T.prototype.addHour=function(){var y=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=y&&(this._date=this._date.plus({hours:1}))},T.prototype.addMinute=function(){var y=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=y&&(this._date=this._date.minus({hours:1}))},T.prototype.subtractMinute=function(){var y=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>y&&(this._date=this._date.minus({hours:1}))},T.prototype.subtractSecond=function(){var y=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>y&&(this._date=this._date.minus({hours:1}))},T.prototype.getDate=function(){return this._date.day},T.prototype.getFullYear=function(){return this._date.year},T.prototype.getDay=function(){var y=this._date.weekday;return y==7?0:y},T.prototype.getMonth=function(){return this._date.month-1},T.prototype.getHours=function(){return this._date.hour},T.prototype.getMinutes=function(){return this._date.minute},T.prototype.getSeconds=function(){return this._date.second},T.prototype.getMilliseconds=function(){return this._date.millisecond},T.prototype.getTime=function(){return this._date.valueOf()},T.prototype.getUTCDate=function(){return this._getUTC().day},T.prototype.getUTCFullYear=function(){return this._getUTC().year},T.prototype.getUTCDay=function(){var y=this._getUTC().weekday;return y==7?0:y},T.prototype.getUTCMonth=function(){return this._getUTC().month-1},T.prototype.getUTCHours=function(){return this._getUTC().hour},T.prototype.getUTCMinutes=function(){return this._getUTC().minute},T.prototype.getUTCSeconds=function(){return this._getUTC().second},T.prototype.toISOString=function(){return this._date.toUTC().toISO()},T.prototype.toJSON=function(){return this._date.toJSON()},T.prototype.setDate=function(y){this._date=this._date.set({day:y})},T.prototype.setFullYear=function(y){this._date=this._date.set({year:y})},T.prototype.setDay=function(y){this._date=this._date.set({weekday:y})},T.prototype.setMonth=function(y){this._date=this._date.set({month:y+1})},T.prototype.setHours=function(y){this._date=this._date.set({hour:y})},T.prototype.setMinutes=function(y){this._date=this._date.set({minute:y})},T.prototype.setSeconds=function(y){this._date=this._date.set({second:y})},T.prototype.setMilliseconds=function(y){this._date=this._date.set({millisecond:y})},T.prototype._getUTC=function(){return this._date.toUTC()},T.prototype.toString=function(){return this.toDate().toString()},T.prototype.toDate=function(){return this._date.toJSDate()},T.prototype.isLastDayOfMonth=function(){var y=this._date.plus({days:1}).startOf("day");return this._date.month!==y.month},T.prototype.isLastWeekdayOfMonth=function(){var y=this._date.plus({days:7}).startOf("day");return this._date.month!==y.month};function T(y,c){var f={zone:c};if(y?y instanceof T?this._date=y._date:y instanceof Date?this._date=O.DateTime.fromJSDate(y,f):typeof y=="number"?this._date=O.DateTime.fromMillis(y,f):typeof y=="string"&&(this._date=O.DateTime.fromISO(y,f),this._date.isValid||(this._date=O.DateTime.fromRFC2822(y,f)),this._date.isValid||(this._date=O.DateTime.fromSQL(y,f)),this._date.isValid||(this._date=O.DateTime.fromFormat(y,"EEE, d MMM yyyy HH:mm:ss",f))):this._date=O.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(y));c&&c!==this._date.zoneName&&(this._date=this._date.setZone(c))}R.exports=T},363:function(R,M,w){var O=w(88574),T=w(6847),y=1e4;function c(f,d){this._options=d,this._utc=d.utc||!1,this._tz=this._utc?"UTC":d.tz,this._currentDate=new O(d.currentDate,this._tz),this._startDate=d.startDate?new O(d.startDate,this._tz):null,this._endDate=d.endDate?new O(d.endDate,this._tz):null,this._isIterator=d.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=d.nthDayOfWeek||0,this.fields=c._freezeFields(f)}c.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],c.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},c.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],c.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],c.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},c.parseDefaults=["0","*","*","*","*","*"],c.standardValidCharacters=/^[,*\d/-]+$/,c.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,c.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,c.validCharacters={second:c.standardValidCharacters,minute:c.standardValidCharacters,hour:c.standardValidCharacters,dayOfMonth:c.dayOfMonthValidCharacters,month:c.standardValidCharacters,dayOfWeek:c.dayOfWeekValidCharacters},c._isValidConstraintChar=function(d,g){return typeof g!="string"?!1:d.chars.some(function(u){return g.indexOf(u)>-1})},c._parseField=function(d,g,u){switch(d){case"month":case"dayOfWeek":var k=c.aliases[d];g=g.replace(/[a-z]{3}/gi,function(C){if(C=C.toLowerCase(),typeof k[C]!="undefined")return k[C];throw new Error('Validation error, cannot resolve alias "'+C+'"')});break}if(!c.validCharacters[d].test(g))throw new Error("Invalid characters, got value: "+g);g.indexOf("*")!==-1?g=g.replace(/\*/g,u.min+"-"+u.max):g.indexOf("?")!==-1&&(g=g.replace(/\?/g,u.min+"-"+u.max));function v(C){var A=[];function E(W){if(W instanceof Array)for(var L=0,ee=W.length;Lu.max)throw new Error("Constraint error, got value "+F+" expected range "+u.min+"-"+u.max);A.push(F)}else{if(c._isValidConstraintChar(u,W)){A.push(W);return}var Y=+W;if(Number.isNaN(Y)||Yu.max)throw new Error("Constraint error, got value "+W+" expected range "+u.min+"-"+u.max);d==="dayOfWeek"&&(Y=Y%7),A.push(Y)}}var H=C.split(",");if(!H.every(function(W){return W.length>0}))throw new Error("Invalid list value format");if(H.length>1)for(var V=0,Z=H.length;V2)throw new Error("Invalid repeat: "+C);return E.length>1?(E[0]==+E[0]&&(E=[E[0]+"-"+u.max,E[1]]),S(E[0],E[E.length-1])):S(C,A)}function S(C,A){var E=[],H=C.split("-");if(H.length>1){if(H.length<2)return+C;if(!H[0].length){if(!H[1].length)throw new Error("Invalid range: "+C);return+C}var V=+H[0],Z=+H[1];if(Number.isNaN(V)||Number.isNaN(Z)||Vu.max)throw new Error("Constraint error, got range "+V+"-"+Z+" expected range "+u.min+"-"+u.max);if(V>Z)throw new Error("Invalid range: "+C);var W=+A;if(Number.isNaN(W)||W<=0)throw new Error("Constraint error, cannot repeat at every "+W+" time.");d==="dayOfWeek"&&Z%7===0&&E.push(0);for(var L=V,ee=Z;L<=ee;L++){var F=E.indexOf(L)!==-1;!F&&W>0&&W%A===0?(W=1,E.push(L)):W++}return E}return Number.isNaN(+C)?C:+C}return v(g)},c._sortCompareFn=function(f,d){var g=typeof f=="number",u=typeof d=="number";return g&&u?f-d:!g&&u?1:g&&!u?-1:f.localeCompare(d)},c._handleMaxDaysInMonth=function(f){if(f.month.length===1){var d=c.daysInMonth[f.month[0]-1];if(f.dayOfMonth[0]>d)throw new Error("Invalid explicit day of month definition");return f.dayOfMonth.filter(function(g){return g==="L"?!0:g<=d}).sort(c._sortCompareFn)}},c._freezeFields=function(f){for(var d=0,g=c.map.length;d=F)return Y[J]===F;return Y[0]===F}function u(F,Y){if(Y<6){if(F.getDate()<8&&Y===1)return!0;var J=F.getDate()%7?1:0,ie=F.getDate()-F.getDate()%7,ae=Math.floor(ie/7)+J;return ae===Y}return!1}function k(F){return F.length>0&&F.some(function(Y){return typeof Y=="string"&&Y.indexOf("L")>=0})}d=d||!1;var v=d?"subtract":"add",m=new O(this._currentDate,this._tz),S=this._startDate,C=this._endDate,A=m.getTime(),E=0;function H(F){return F.some(function(Y){if(!k([Y]))return!1;var J=Number.parseInt(Y[0])%7;if(Number.isNaN(J))throw new Error("Invalid last weekday of the month expression: "+Y);return m.getDay()===J&&m.isLastWeekdayOfMonth()})}for(;E=c.daysInMonth[m.getMonth()],L=this.fields.dayOfWeek.length===c.constraints[5].max-c.constraints[5].min+1,ee=m.getHours();if(!V&&(!Z||L)){this._applyTimezoneShift(m,v,"Day");continue}if(!W&&L&&!V){this._applyTimezoneShift(m,v,"Day");continue}if(W&&!L&&!Z){this._applyTimezoneShift(m,v,"Day");continue}if(this._nthDayOfWeek>0&&!u(m,this._nthDayOfWeek)){this._applyTimezoneShift(m,v,"Day");continue}if(!g(m.getMonth()+1,this.fields.month)){this._applyTimezoneShift(m,v,"Month");continue}if(g(ee,this.fields.hour)){if(this._dstEnd===ee&&!d){this._dstEnd=null,this._applyTimezoneShift(m,"add","Hour");continue}}else if(this._dstStart!==ee){this._dstStart=null,this._applyTimezoneShift(m,v,"Hour");continue}else if(!g(ee-1,this.fields.hour)){m[v+"Hour"]();continue}if(!g(m.getMinutes(),this.fields.minute)){this._applyTimezoneShift(m,v,"Minute");continue}if(!g(m.getSeconds(),this.fields.second)){this._applyTimezoneShift(m,v,"Second");continue}if(A===m.getTime()){v==="add"||m.getMilliseconds()===0?this._applyTimezoneShift(m,v,"Second"):m.setMilliseconds(0);continue}break}if(E>=y)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new O(m,this._tz),this._hasIterated=!0,m},c.prototype.next=function(){var d=this._findSchedule();return this._isIterator?{value:d,done:!this.hasNext()}:d},c.prototype.prev=function(){var d=this._findSchedule(!0);return this._isIterator?{value:d,done:!this.hasPrev()}:d},c.prototype.hasNext=function(){var f=this._currentDate,d=this._hasIterated;try{return this._findSchedule(),!0}catch(g){return!1}finally{this._currentDate=f,this._hasIterated=d}},c.prototype.hasPrev=function(){var f=this._currentDate,d=this._hasIterated;try{return this._findSchedule(!0),!0}catch(g){return!1}finally{this._currentDate=f,this._hasIterated=d}},c.prototype.iterate=function(d,g){var u=[];if(d>=0)for(var k=0,v=d;kv;k--)try{var m=this.prev();u.push(m),g&&g(m,k)}catch(A){break}return u},c.prototype.reset=function(d){this._currentDate=new O(d||this._options.currentDate)},c.prototype.stringify=function(d){for(var g=[],u=d?0:1,k=c.map.length;u6)throw new Error("Invalid cron expression");for(var A=c.map.length-C.length,E=0,H=c.map.length;EH?E:E-A];if(E1){var ae=+ie[ie.length-1];if(/,/.test(J))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(J))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(J))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(ie.length>2||Number.isNaN(ae)||ae<1||ae>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return m.nthDayOfWeek=ae,ie[0]}return J}}return k(d,g)},c.fieldsToExpression=function(d,g){function u(V,Z,W){if(!Z)throw new Error("Validation error, Field "+V+" is missing");if(Z.length===0)throw new Error("Validation error, Field "+V+" contains no values");for(var L=0,ee=Z.length;LW.max))throw new Error("Constraint error, got value "+F+" expected range "+W.min+"-"+W.max)}}for(var k={},v=0,m=c.map.length;vS.end?k=k.concat(Array.from({length:S.end-S.start+1}).map(function(E,H){var V=S.start+H;return(V-S.start)%S.step===0?V:null}).filter(function(E){return E!=null})):S.end===f-S.step+1?k.push(S.start+"/"+S.step):k.push(S.start+"-"+S.end+"/"+S.step)}return k.join(",")}R.exports=T},45855:function(R,M,w){var O=w(363);function T(){}T._parseEntry=function(c){var f=c.split(" ");if(f.length===6)return{interval:O.parse(c)};if(f.length>6)return{interval:O.parse(f.slice(0,6).join(" ")),command:f.slice(6,f.length)};throw new Error("Invalid entry: "+c)},T.parseExpression=function(c,f){return O.parse(c,f)},T.fieldsToExpression=function(c,f){return O.fieldsToExpression(c,f)},T.parseString=function(c){for(var f=c.split(` +`),d={variables:{},expressions:[],errors:{}},g=0,u=f.length;g0){if(m.match(/^#/))continue;if(v=m.match(/^(.*)=(.*)$/))d.variables[v[1]]=v[2];else{var S=null;try{S=T._parseEntry("0 "+m),d.expressions.push(S.interval)}catch(C){d.errors[m]=C}}}}return d},T.parseFile=function(c,f){w(37281).readFile(c,function(d,g){if(d){f(d);return}return f(null,T.parseString(g.toString()))})},R.exports=T},68565:function(R,M){Object.defineProperty(M,"__esModule",{value:!0});class w extends Error{}class O extends w{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class T extends w{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class y extends w{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class c extends w{}class f extends w{constructor(e){super(`Invalid unit ${e}`)}}class d extends w{}class g extends w{constructor(){super("Zone is an abstract class")}}const u="numeric",k="short",v="long",m={year:u,month:u,day:u},S={year:u,month:k,day:u},C={year:u,month:k,day:u,weekday:k},A={year:u,month:v,day:u},E={year:u,month:v,day:u,weekday:v},H={hour:u,minute:u},V={hour:u,minute:u,second:u},Z={hour:u,minute:u,second:u,timeZoneName:k},W={hour:u,minute:u,second:u,timeZoneName:v},L={hour:u,minute:u,hourCycle:"h23"},ee={hour:u,minute:u,second:u,hourCycle:"h23"},F={hour:u,minute:u,second:u,hourCycle:"h23",timeZoneName:k},Y={hour:u,minute:u,second:u,hourCycle:"h23",timeZoneName:v},J={year:u,month:u,day:u,hour:u,minute:u},ie={year:u,month:u,day:u,hour:u,minute:u,second:u},ae={year:u,month:k,day:u,hour:u,minute:u},ze={year:u,month:k,day:u,hour:u,minute:u,second:u},tt={year:u,month:k,day:u,weekday:k,hour:u,minute:u},_e={year:u,month:v,day:u,hour:u,minute:u,timeZoneName:k},Fe={year:u,month:v,day:u,hour:u,minute:u,second:u,timeZoneName:k},De={year:u,month:v,day:u,weekday:v,hour:u,minute:u,timeZoneName:v},p={year:u,month:v,day:u,weekday:v,hour:u,minute:u,second:u,timeZoneName:v};class z{get type(){throw new g}get name(){throw new g}get ianaName(){return this.name}get isUniversal(){throw new g}offsetName(e,t){throw new g}formatOffset(e,t){throw new g}offset(e){throw new g}equals(e){throw new g}get isValid(){throw new g}}let G=null;class x extends z{static get instance(){return G===null&&(G=new x),G}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Sn(e,t,r)}formatOffset(e,t){return it(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let U={};function ce(n){return U[n]||(U[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),U[n]}const se={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Ee(n,e){const t=n.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),[,s,i,a,o,l,h,D]=r;return[a,s,i,o,l,h,D]}function ve(n,e){const t=n.formatToParts(e),r=[];for(let s=0;s=0?re:1e3+re,(K-N)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Me={};function Ce(n,e={}){const t=JSON.stringify([n,e]);let r=Me[t];return r||(r=new Intl.ListFormat(n,e),Me[t]=r),r}let We={};function Ve(n,e={}){const t=JSON.stringify([n,e]);let r=We[t];return r||(r=new Intl.DateTimeFormat(n,e),We[t]=r),r}let ue={};function nt(n,e={}){const t=JSON.stringify([n,e]);let r=ue[t];return r||(r=new Intl.NumberFormat(n,e),ue[t]=r),r}let Ne={};function It(n,e={}){const a=e,{base:t}=a,r=en(a,["base"]),s=JSON.stringify([n,r]);let i=Ne[s];return i||(i=new Intl.RelativeTimeFormat(n,e),Ne[s]=i),i}let Ie=null;function ht(){return Ie||(Ie=new Intl.DateTimeFormat().resolvedOptions().locale,Ie)}let Ue={};function bt(n){let e=Ue[n];if(!e){const t=new Intl.Locale(n);e="getWeekInfo"in t?t.getWeekInfo():t.weekInfo,Ue[n]=e}return e}function le(n){const e=n.indexOf("-x-");e!==-1&&(n=n.substring(0,e));const t=n.indexOf("-u-");if(t===-1)return[n];{let r,s;try{r=Ve(n).resolvedOptions(),s=n}catch(o){const l=n.substring(0,t);r=Ve(l).resolvedOptions(),s=l}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function xt(n,e,t){return(t||e)&&(n.includes("-u-")||(n+="-u"),t&&(n+=`-ca-${t}`),e&&(n+=`-nu-${e}`)),n}function _t(n){const e=[];for(let t=1;t<=12;t++){const r=_.utc(2009,t,1);e.push(n(r))}return e}function Ft(n){const e=[];for(let t=1;t<=7;t++){const r=_.utc(2016,11,13+t);e.push(n(r))}return e}function Pe(n,e,t,r){const s=n.listingMode();return s==="error"?null:s==="en"?t(e):r(e)}function mt(n){return n.numberingSystem&&n.numberingSystem!=="latn"?!1:n.numberingSystem==="latn"||!n.locale||n.locale.startsWith("en")||new Intl.DateTimeFormat(n.intl).resolvedOptions().numberingSystem==="latn"}class Wt{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const o=r,{padTo:s,floor:i}=o,a=en(o,["padTo","floor"]);if(!t||Object.keys(a).length>0){const l=b({useGrouping:!1},r);r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=nt(e,l)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):Pt(e,3);return X(t,this.padTo)}}}class Vt{constructor(e,t,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),o=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&te.create(o).valid?(s=o,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i=b({},this.opts);i.timeZone=i.timeZone||s,this.dtf=Ve(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(t=>{if(t.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return me(b({},t),{value:r})}else return t}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class yt{constructor(e,t,r){this.opts=b({style:"long"},r),!t&&wn()&&(this.rtf=It(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):xr(t,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Lt={firstDay:1,minimalDays:4,weekend:[6,7]};class B{static fromOpts(e){return B.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,i=!1){const a=e||Q.defaultLocale,o=a||(i?"en-US":ht()),l=t||Q.defaultNumberingSystem,h=r||Q.defaultOutputCalendar,D=zt(s)||Q.defaultWeekSettings;return new B(o,l,h,D,a)}static resetCache(){Ie=null,We={},ue={},Ne={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return B.create(e,t,r,s)}constructor(e,t,r,s,i){const[a,o,l]=le(e);this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=r||l||null,this.weekSettings=s,this.intl=xt(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=mt(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:B.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,zt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone(me(b({},e),{defaultToEN:!0}))}redefaultToSystem(e={}){return this.clone(me(b({},e),{defaultToEN:!1}))}months(e,t=!1){return Pe(this,e,Cn,()=>{const r=t?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=_t(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,t=!1){return Pe(this,e,Nn,()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=Ft(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Pe(this,void 0,()=>In,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[_.utc(2016,11,13,9),_.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Pe(this,e,bn,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[_.utc(-40,1,1),_.utc(2017,1,1)].map(r=>this.extract(r,t,"era"))),this.eraCache[e]})}extract(e,t,r){const s=this.dtFormatter(e,t),i=s.formatToParts(),a=i.find(o=>o.type.toLowerCase()===r);return a?a.value:null}numberFormatter(e={}){return new Wt(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Vt(e,this.intl,t)}relFormatter(e={}){return new yt(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Ce(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:vn()?bt(this.locale):Lt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let Oe=null;class ne extends z{static get utcInstance(){return Oe===null&&(Oe=new ne(0)),Oe}static instance(e){return e===0?ne.utcInstance:new ne(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ne(Tt(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${it(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${it(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return it(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class Se extends z{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ye(n,e){if(I(n)||n===null)return e;if(n instanceof z)return n;if(gr(n)){const t=n.toLowerCase();return t==="default"?e:t==="local"||t==="system"?x.instance:t==="utc"||t==="gmt"?ne.utcInstance:ne.parseSpecifier(t)||te.create(n)}else return Le(n)?ne.instance(n):typeof n=="object"&&"offset"in n&&typeof n.offset=="function"?n:new Se(n)}let Re=()=>Date.now(),tn="system",nn=null,rn=null,sn=null,an=60,on,un=null;class Q{static get now(){return Re}static set now(e){Re=e}static set defaultZone(e){tn=e}static get defaultZone(){return ye(tn,x.instance)}static get defaultLocale(){return nn}static set defaultLocale(e){nn=e}static get defaultNumberingSystem(){return rn}static set defaultNumberingSystem(e){rn=e}static get defaultOutputCalendar(){return sn}static set defaultOutputCalendar(e){sn=e}static get defaultWeekSettings(){return un}static set defaultWeekSettings(e){un=zt(e)}static get twoDigitCutoffYear(){return an}static set twoDigitCutoffYear(e){an=e%100}static get throwOnInvalid(){return on}static set throwOnInvalid(e){on=e}static resetCaches(){B.resetCache(),te.resetCache()}}class ge{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ln=[0,31,59,90,120,151,181,212,243,273,304,334],cn=[0,31,60,91,121,152,182,213,244,274,305,335];function fe(n,e){return new ge("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${n}, which is invalid`)}function $t(n,e,t){const r=new Date(Date.UTC(n,e-1,t));n<100&&n>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function fn(n,e,t){return t+(rt(n)?cn:ln)[e-1]}function dn(n,e){const t=rt(n)?cn:ln,r=t.findIndex(i=>ist(r,e,t)?(h=r+1,l=1):h=r,b({weekYear:h,weekNumber:l,weekday:o},St(n))}function hn(n,e=4,t=1){const{weekYear:r,weekNumber:s,weekday:i}=n,a=Zt($t(r,1,e),t),o=Ye(r);let l=s*7+i-a-7+e,h;l<1?(h=r-1,l+=Ye(h)):l>o?(h=r+1,l-=Ye(r)):h=r;const{month:D,day:$}=dn(h,l);return b({year:h,month:D,day:$},St(n))}function At(n){const{year:e,month:t,day:r}=n,s=fn(e,t,r);return b({year:e,ordinal:s},St(n))}function mn(n){const{year:e,ordinal:t}=n,{month:r,day:s}=dn(e,t);return b({year:e,month:r,day:s},St(n))}function yn(n,e){if(!I(n.localWeekday)||!I(n.localWeekNumber)||!I(n.localWeekYear)){if(!I(n.weekday)||!I(n.weekNumber)||!I(n.weekYear))throw new c("Cannot mix locale-based week fields with ISO-based week fields");return I(n.localWeekday)||(n.weekday=n.localWeekday),I(n.localWeekNumber)||(n.weekNumber=n.localWeekNumber),I(n.localWeekYear)||(n.weekYear=n.localWeekYear),delete n.localWeekday,delete n.localWeekNumber,delete n.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function mr(n,e=4,t=1){const r=pt(n.weekYear),s=de(n.weekNumber,1,st(n.weekYear,e,t)),i=de(n.weekday,1,7);return r?s?i?!1:fe("weekday",n.weekday):fe("week",n.weekNumber):fe("weekYear",n.weekYear)}function yr(n){const e=pt(n.year),t=de(n.ordinal,1,Ye(n.year));return e?t?!1:fe("ordinal",n.ordinal):fe("year",n.year)}function gn(n){const e=pt(n.year),t=de(n.month,1,12),r=de(n.day,1,wt(n.year,n.month));return e?t?r?!1:fe("day",n.day):fe("month",n.month):fe("year",n.year)}function pn(n){const{hour:e,minute:t,second:r,millisecond:s}=n,i=de(e,0,23)||e===24&&t===0&&r===0&&s===0,a=de(t,0,59),o=de(r,0,59),l=de(s,0,999);return i?a?o?l?!1:fe("millisecond",s):fe("second",r):fe("minute",t):fe("hour",e)}function I(n){return typeof n=="undefined"}function Le(n){return typeof n=="number"}function pt(n){return typeof n=="number"&&n%1===0}function gr(n){return typeof n=="string"}function pr(n){return Object.prototype.toString.call(n)==="[object Date]"}function wn(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch(n){return!1}}function vn(){try{return typeof Intl!="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(n){return!1}}function wr(n){return Array.isArray(n)?n:[n]}function Tn(n,e,t){if(n.length!==0)return n.reduce((r,s)=>{const i=[e(s),s];return r&&t(r[0],i[0])===r[0]?r:i},null)[1]}function vr(n,e){return e.reduce((t,r)=>(t[r]=n[r],t),{})}function He(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function zt(n){if(n==null)return null;if(typeof n!="object")throw new d("Week settings must be an object");if(!de(n.firstDay,1,7)||!de(n.minimalDays,1,7)||!Array.isArray(n.weekend)||n.weekend.some(e=>!de(e,1,7)))throw new d("Invalid week settings");return{firstDay:n.firstDay,minimalDays:n.minimalDays,weekend:Array.from(n.weekend)}}function de(n,e,t){return pt(n)&&n>=e&&n<=t}function Tr(n,e){return n-e*Math.floor(n/e)}function X(n,e=2){const t=n<0;let r;return t?r="-"+(""+-n).padStart(e,"0"):r=(""+n).padStart(e,"0"),r}function be(n){if(!(I(n)||n===null||n===""))return parseInt(n,10)}function $e(n){if(!(I(n)||n===null||n===""))return parseFloat(n)}function Ut(n){if(!(I(n)||n===null||n==="")){const e=parseFloat("0."+n)*1e3;return Math.floor(e)}}function Pt(n,e,t=!1){const r=hr(10,e);return(t?Math.trunc:Math.round)(n*r)/r}function rt(n){return n%4===0&&(n%100!==0||n%400===0)}function Ye(n){return rt(n)?366:365}function wt(n,e){const t=Tr(e-1,12)+1,r=n+(e-t)/12;return t===2?rt(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}function vt(n){let e=Date.UTC(n.year,n.month-1,n.day,n.hour,n.minute,n.second,n.millisecond);return n.year<100&&n.year>=0&&(e=new Date(e),e.setUTCFullYear(n.year,n.month-1,n.day)),+e}function On(n,e,t){return-Zt($t(n,1,e),t)+e-1}function st(n,e=4,t=1){const r=On(n,e,t),s=On(n+1,e,t);return(Ye(n)-r+s)/7}function Rt(n){return n>99?n:n>Q.twoDigitCutoffYear?1900+n:2e3+n}function Sn(n,e,t,r=null){const s=new Date(n),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a=b({timeZoneName:e},i),o=new Intl.DateTimeFormat(t,a).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return o?o.value:null}function Tt(n,e){let t=parseInt(n,10);Number.isNaN(t)&&(t=0);const r=parseInt(e,10)||0,s=t<0||Object.is(t,-0)?-r:r;return t*60+s}function kn(n){const e=Number(n);if(typeof n=="boolean"||n===""||Number.isNaN(e))throw new d(`Invalid unit value ${n}`);return e}function Ot(n,e){const t={};for(const r in n)if(He(n,r)){const s=n[r];if(s==null)continue;t[e(r)]=kn(s)}return t}function it(n,e){const t=Math.trunc(Math.abs(n/60)),r=Math.trunc(Math.abs(n%60)),s=n>=0?"+":"-";switch(e){case"short":return`${s}${X(t,2)}:${X(r,2)}`;case"narrow":return`${s}${t}${r>0?`:${r}`:""}`;case"techie":return`${s}${X(t,2)}${X(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function St(n){return vr(n,["hour","minute","second","millisecond"])}const Or=["January","February","March","April","May","June","July","August","September","October","November","December"],En=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Sr=["J","F","M","A","M","J","J","A","S","O","N","D"];function Cn(n){switch(n){case"narrow":return[...Sr];case"short":return[...En];case"long":return[...Or];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Dn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],kr=["M","T","W","T","F","S","S"];function Nn(n){switch(n){case"narrow":return[...kr];case"short":return[...Mn];case"long":return[...Dn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const In=["AM","PM"],Er=["Before Christ","Anno Domini"],Cr=["BC","AD"],Dr=["B","A"];function bn(n){switch(n){case"narrow":return[...Dr];case"short":return[...Cr];case"long":return[...Er];default:return null}}function Mr(n){return In[n.hour<12?0:1]}function Nr(n,e){return Nn(e)[n.weekday-1]}function Ir(n,e){return Cn(e)[n.month-1]}function br(n,e){return bn(e)[n.year<0?0:1]}function xr(n,e,t="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(n)===-1;if(t==="auto"&&i){const $=n==="days";switch(e){case 1:return $?"tomorrow":`next ${s[n][0]}`;case-1:return $?"yesterday":`last ${s[n][0]}`;case 0:return $?"today":`this ${s[n][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),l=o===1,h=s[n],D=r?l?h[1]:h[2]||h[1]:l?s[n][0]:n;return a?`${o} ${D} ago`:`in ${o} ${D}`}function xn(n,e){let t="";for(const r of n)r.literal?t+=r.val:t+=e(r.val);return t}const _r={D:m,DD:S,DDD:A,DDDD:E,t:H,tt:V,ttt:Z,tttt:W,T:L,TT:ee,TTT:F,TTTT:Y,f:J,ff:ae,fff:_e,ffff:De,F:ie,FF:ze,FFF:Fe,FFFF:p};class oe{static create(e,t={}){return new oe(e,t)}static parseFormat(e){let t=null,r="",s=!1;const i=[];for(let a=0;a0&&i.push({literal:s||/^\s+$/.test(r),val:r}),t=null,r="",s=!s):s||o===t?r+=o:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=o,t=o)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return _r[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,b(b({},this.opts),t)).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,b(b({},this.opts),t))}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return X(e,t);const r=b({},this.opts);return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(N,re)=>this.loc.extract(e,N,re),a=N=>e.isOffsetFixed&&e.offset===0&&N.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,N.format):"",o=()=>r?Mr(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(N,re)=>r?Ir(e,N):i(re?{month:N}:{month:N,day:"numeric"},"month"),h=(N,re)=>r?Nr(e,N):i(re?{weekday:N}:{weekday:N,month:"long",day:"numeric"},"weekday"),D=N=>{const re=oe.macroTokenToFormatOpts(N);return re?this.formatWithSystemDefault(e,re):N},$=N=>r?br(e,N):i({era:N},"era"),K=N=>{switch(N){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return h("short",!0);case"cccc":return h("long",!0);case"ccccc":return h("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return h("short",!1);case"EEEE":return h("long",!1);case"EEEEE":return h("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return $("short");case"GG":return $("long");case"GGGGG":return $("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return D(N)}};return xn(oe.parseFormat(t),K)}formatDurationFromString(e,t){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=l=>h=>{const D=r(h);return D?this.num(l.get(D),h.length):h},i=oe.parseFormat(t),a=i.reduce((l,{literal:h,val:D})=>h?l:l.concat(D),[]),o=e.shiftTo(...a.map(r).filter(l=>l));return xn(i,s(o))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Be(...n){const e=n.reduce((t,r)=>t+r.source,"");return RegExp(`^${e}$`)}function je(...n){return e=>n.reduce(([t,r,s],i)=>{const[a,o,l]=i(e,s);return[b(b({},t),a),o||r,l]},[{},null,1]).slice(0,2)}function Ge(n,...e){if(n==null)return[null,null];for(const[t,r]of e){const s=t.exec(n);if(s)return r(s)}return[null,null]}function Fn(...n){return(e,t)=>{const r={};let s;for(s=0;sN!==void 0&&(re||N&&D)?-N:N;return[{years:K($e(t)),months:K($e(r)),weeks:K($e(s)),days:K($e(i)),hours:K($e(a)),minutes:K($e(o)),seconds:K($e(l),l==="-0"),milliseconds:K(Ut(h),$)}]}const Yr={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Bt(n,e,t,r,s,i,a){const o={year:e.length===2?Rt(be(e)):be(e),month:En.indexOf(t)+1,day:be(r),hour:be(s),minute:be(i)};return a&&(o.second=be(a)),n&&(o.weekday=n.length>3?Dn.indexOf(n)+1:Mn.indexOf(n)+1),o}const Br=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function jr(n){const[,e,t,r,s,i,a,o,l,h,D,$]=n,K=Bt(e,s,r,t,i,a,o);let N;return l?N=Yr[l]:h?N=0:N=Tt(D,$),[K,new ne(N)]}function Gr(n){return n.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Jr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,qr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Kr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function $n(n){const[,e,t,r,s,i,a,o]=n;return[Bt(e,s,r,t,i,a,o),ne.utcInstance]}function Qr(n){const[,e,t,r,s,i,a,o]=n;return[Bt(e,o,t,r,s,i,a),ne.utcInstance]}const Xr=Be(Wr,Yt),es=Be(Vr,Yt),ts=Be(Lr,Yt),ns=Be(Vn),Zn=je(Ur,qe,at,ot),rs=je($r,qe,at,ot),ss=je(Zr,qe,at,ot),is=je(qe,at,ot);function as(n){return Ge(n,[Xr,Zn],[es,rs],[ts,ss],[ns,is])}function os(n){return Ge(Gr(n),[Br,jr])}function us(n){return Ge(n,[Jr,$n],[qr,$n],[Kr,Qr])}function ls(n){return Ge(n,[Rr,Hr])}const cs=je(qe);function fs(n){return Ge(n,[Pr,cs])}const ds=Be(Ar,zr),hs=Be(Ln),ms=je(qe,at,ot);function ys(n){return Ge(n,[ds,Zn],[hs,ms])}const An="Invalid Duration",zn={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},gs=b({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},zn),he=146097/400,Ke=146097/4800,ps=b({years:{quarters:4,months:12,weeks:he/7,days:he,hours:he*24,minutes:he*24*60,seconds:he*24*60*60,milliseconds:he*24*60*60*1e3},quarters:{months:3,weeks:he/28,days:he/4,hours:he*24/4,minutes:he*24*60/4,seconds:he*24*60*60/4,milliseconds:he*24*60*60*1e3/4},months:{weeks:Ke/7,days:Ke,hours:Ke*24,minutes:Ke*24*60,seconds:Ke*24*60*60,milliseconds:Ke*24*60*60*1e3}},zn),Ze=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ws=Ze.slice(0).reverse();function xe(n,e,t=!1){const r={values:t?e.values:b(b({},n.values),e.values||{}),loc:n.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||n.conversionAccuracy,matrix:e.matrix||n.matrix};return new P(r)}function Un(n,e){var t;let r=(t=e.milliseconds)!=null?t:0;for(const s of ws.slice(1))e[s]&&(r+=e[s]*n[s].milliseconds);return r}function Pn(n,e){const t=Un(n,e)<0?-1:1;Ze.reduceRight((r,s)=>{if(I(e[s]))return r;if(r){const i=e[r]*t,a=n[s][r],o=Math.floor(i/a);e[s]+=o*t,e[r]-=o*a*t}return s},null),Ze.reduce((r,s)=>{if(I(e[s]))return r;if(r){const i=e[r]%1;e[r]-=i,e[s]+=i*n[r][s]}return s},null)}function vs(n){const e={};for(const[t,r]of Object.entries(n))r!==0&&(e[t]=r);return e}class P{constructor(e){const t=e.conversionAccuracy==="longterm"||!1;let r=t?ps:gs;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||B.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return P.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!="object")throw new d(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new P({values:Ot(e,P.normalizeUnit),loc:B.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(Le(e))return P.fromMillis(e);if(P.isDuration(e))return e;if(typeof e=="object")return P.fromObject(e);throw new d(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=ls(e);return r?P.fromObject(r,t):P.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=fs(e);return r?P.fromObject(r,t):P.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new d("need to specify a reason the Duration is invalid");const r=e instanceof ge?e:new ge(e,t);if(Q.throwOnInvalid)throw new y(r);return new P({invalid:r})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!t)throw new f(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r=me(b({},t),{floor:t.round!==!1&&t.floor!==!1});return this.isValid?oe.create(this.loc,r).formatDurationFromString(this,e):An}toHuman(e={}){if(!this.isValid)return An;const t=Ze.map(r=>{const s=this.values[r];return I(s)?null:this.loc.numberFormatter(me(b({style:"unit",unitDisplay:"long"},e),{unit:r.slice(0,-1)})).format(s)}).filter(r=>r);return this.loc.listFormatter(b({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)}toObject(){return this.isValid?b({},this.values):{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Pt(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e=me(b({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e),{includeOffset:!1}),_.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Un(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=P.fromDurationLike(e),r={};for(const s of Ze)(He(t.values,s)||He(this.values,s))&&(r[s]=t.get(s)+this.get(s));return xe(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=P.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=kn(e(this.values[r],r));return xe(this,{values:t},!0)}get(e){return this[P.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t=b(b({},this.values),Ot(e,P.normalizeUnit));return xe(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:r};return xe(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Pn(this.matrix,e),xe(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=vs(this.normalize().shiftToAll().toObject());return xe(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>P.normalizeUnit(a));const t={},r={},s=this.toObject();let i;for(const a of Ze)if(e.indexOf(a)>=0){i=a;let o=0;for(const h in r)o+=this.matrix[h][a]*r[h],r[h]=0;Le(s[a])&&(o+=s[a]);const l=Math.trunc(o);t[a]=l,r[a]=(o*1e3-l*1e3)/1e3}else Le(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(t[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return Pn(this.matrix,t),xe(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return xe(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of Ze)if(!t(this.values[r],e.values[r]))return!1;return!0}}const Qe="Invalid Interval";function Ts(n,e){return!n||!n.isValid?q.invalid("missing or invalid start"):!e||!e.isValid?q.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:t}={}){return this.isValid?q.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(ct).filter(a=>this.contains(a)).sort((a,o)=>a.toMillis()-o.toMillis()),r=[];let{s}=this,i=0;for(;s+this.e?this.e:a;r.push(q.fromDateTimes(s,o)),s=o,i+=1}return r}splitBy(e){const t=P.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;rl*s));i=+o>+this.e?this.e:o,a.push(q.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e=r?null:q.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return q.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const s=[],i=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),a=Array.prototype.concat(...i),o=a.sort((l,h)=>l.time-h.time);for(const l of o)r+=l.type==="s"?1:-1,r===1?t=l.time:(t&&+t!=+l.time&&s.push(q.fromDateTimes(t,l.time)),t=null);return q.merge(s)}difference(...e){return q.xor([this].concat(e)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Qe}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=m,t={}){return this.isValid?oe.create(this.s.loc.clone(t),e).formatInterval(this):Qe}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Qe}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Qe}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Qe}toFormat(e,{separator:t=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Qe}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):P.invalid(this.invalidReason)}mapEndpoints(e){return q.fromDateTimes(e(this.s),e(this.e))}}class ut{static hasDST(e=Q.defaultZone){const t=_.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return te.isValidZone(e)}static normalizeZone(e){return ye(e,Q.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||B.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||B.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||B.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||B.create(t,r,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||B.create(t,r,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||B.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||B.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return B.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return B.create(t,null,"gregory").eras(e)}static features(){return{relative:wn(),localeWeek:vn()}}}function Rn(n,e){const t=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=t(e)-t(n);return Math.floor(P.fromMillis(r).as("days"))}function Os(n,e,t){const r=[["years",(l,h)=>h.year-l.year],["quarters",(l,h)=>h.quarter-l.quarter+(h.year-l.year)*4],["months",(l,h)=>h.month-l.month+(h.year-l.year)*12],["weeks",(l,h)=>{const D=Rn(l,h);return(D-D%7)/7}],["days",Rn]],s={},i=n;let a,o;for(const[l,h]of r)t.indexOf(l)>=0&&(a=l,s[l]=h(n,e),o=i.plus(s),o>e?(s[l]--,n=i.plus(s),n>e&&(o=n,s[l]--,n=i.plus(s))):n=o);return[n,s,o,a]}function Ss(n,e,t,r){let[s,i,a,o]=Os(n,e,t);const l=e-s,h=t.filter($=>["hours","minutes","seconds","milliseconds"].indexOf($)>=0);h.length===0&&(a0?P.fromMillis(l,r).shiftTo(...h).plus(D):D}const jt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Hn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ks=jt.hanidec.replace(/[\[|\]]/g,"").split("");function Es(n){let e=parseInt(n,10);if(isNaN(e)){e="";for(let t=0;t=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function pe({numberingSystem:n},e=""){return new RegExp(`${jt[n||"latn"]}${e}`)}const Cs="missing Intl.DateTimeFormat.formatToParts support";function j(n,e=t=>t){return{regex:n,deser:([t])=>e(Es(t))}}const Yn=`[ ${String.fromCharCode(160)}]`,Bn=new RegExp(Yn,"g");function Ds(n){return n.replace(/\./g,"\\.?").replace(Bn,Yn)}function jn(n){return n.replace(/\./g,"").replace(Bn," ").toLowerCase()}function we(n,e){return n===null?null:{regex:RegExp(n.map(Ds).join("|")),deser:([t])=>n.findIndex(r=>jn(t)===jn(r))+e}}function Gn(n,e){return{regex:n,deser:([,t,r])=>Tt(t,r),groups:e}}function kt(n){return{regex:n,deser:([e])=>e}}function Ms(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Ns(n,e){const t=pe(e),r=pe(e,"{2}"),s=pe(e,"{3}"),i=pe(e,"{4}"),a=pe(e,"{6}"),o=pe(e,"{1,2}"),l=pe(e,"{1,3}"),h=pe(e,"{1,6}"),D=pe(e,"{1,9}"),$=pe(e,"{2,4}"),K=pe(e,"{4,6}"),N=ke=>({regex:RegExp(Ms(ke.val)),deser:([et])=>et,literal:!0}),Xe=(ke=>{if(n.literal)return N(ke);switch(ke.val){case"G":return we(e.eras("short"),0);case"GG":return we(e.eras("long"),0);case"y":return j(h);case"yy":return j($,Rt);case"yyyy":return j(i);case"yyyyy":return j(K);case"yyyyyy":return j(a);case"M":return j(o);case"MM":return j(r);case"MMM":return we(e.months("short",!0),1);case"MMMM":return we(e.months("long",!0),1);case"L":return j(o);case"LL":return j(r);case"LLL":return we(e.months("short",!1),1);case"LLLL":return we(e.months("long",!1),1);case"d":return j(o);case"dd":return j(r);case"o":return j(l);case"ooo":return j(s);case"HH":return j(r);case"H":return j(o);case"hh":return j(r);case"h":return j(o);case"mm":return j(r);case"m":return j(o);case"q":return j(o);case"qq":return j(r);case"s":return j(o);case"ss":return j(r);case"S":return j(l);case"SSS":return j(s);case"u":return kt(D);case"uu":return kt(o);case"uuu":return j(t);case"a":return we(e.meridiems(),0);case"kkkk":return j(i);case"kk":return j($,Rt);case"W":return j(o);case"WW":return j(r);case"E":case"c":return j(t);case"EEE":return we(e.weekdays("short",!1),1);case"EEEE":return we(e.weekdays("long",!1),1);case"ccc":return we(e.weekdays("short",!0),1);case"cccc":return we(e.weekdays("long",!0),1);case"Z":case"ZZ":return Gn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return Gn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return kt(/[a-z_+-/]{1,256}?/i);case" ":return kt(/[^\S\n\r]/);default:return N(ke)}})(n)||{invalidReason:Cs};return Xe.token=n,Xe}const Is={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function bs(n,e,t){const{type:r,value:s}=n;if(r==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const i=e[r];let a=r;r==="hour"&&(e.hour12!=null?a=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?a="hour12":a="hour24":a=t.hour12?"hour12":"hour24");let o=Is[a];if(typeof o=="object"&&(o=o[i]),o)return{literal:!1,val:o}}function xs(n){return[`^${n.map(t=>t.regex).reduce((t,r)=>`${t}(${r.source})`,"")}$`,n]}function _s(n,e,t){const r=n.match(e);if(r){const s={};let i=1;for(const a in t)if(He(t,a)){const o=t[a],l=o.groups?o.groups+1:1;!o.literal&&o.token&&(s[o.token.val[0]]=o.deser(r.slice(i,i+l))),i+=l}return[r,s]}else return[r,{}]}function Fs(n){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null,r;return I(n.z)||(t=te.create(n.z)),I(n.Z)||(t||(t=new ne(n.Z)),r=n.Z),I(n.q)||(n.M=(n.q-1)*3+1),I(n.h)||(n.h<12&&n.a===1?n.h+=12:n.h===12&&n.a===0&&(n.h=0)),n.G===0&&n.y&&(n.y=-n.y),I(n.u)||(n.S=Ut(n.u)),[Object.keys(n).reduce((i,a)=>{const o=e(a);return o&&(i[o]=n[a]),i},{}),t,r]}let Gt=null;function Ws(){return Gt||(Gt=_.fromMillis(1555555555555)),Gt}function Vs(n,e){if(n.literal)return n;const t=oe.macroTokenToFormatOpts(n.val),r=Kn(t,e);return r==null||r.includes(void 0)?n:r}function Jn(n,e){return Array.prototype.concat(...n.map(t=>Vs(t,e)))}function qn(n,e,t){const r=Jn(oe.parseFormat(t),n),s=r.map(a=>Ns(a,n)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,o]=xs(s),l=RegExp(a,"i"),[h,D]=_s(e,l,o),[$,K,N]=D?Fs(D):[null,null,void 0];if(He(D,"a")&&He(D,"H"))throw new c("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:l,rawMatches:h,matches:D,result:$,zone:K,specificOffset:N}}}function Ls(n,e,t){const{result:r,zone:s,specificOffset:i,invalidReason:a}=qn(n,e,t);return[r,s,i,a]}function Kn(n,e){if(!n)return null;const r=oe.create(e,n).dtFormatter(Ws()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>bs(a,n,i))}const Jt="Invalid DateTime",Qn=864e13;function Et(n){return new ge("unsupported zone",`the zone "${n.name}" is not supported`)}function qt(n){return n.weekData===null&&(n.weekData=gt(n.c)),n.weekData}function Kt(n){return n.localWeekData===null&&(n.localWeekData=gt(n.c,n.loc.getMinDaysInFirstWeek(),n.loc.getStartOfWeek())),n.localWeekData}function Ae(n,e){const t={ts:n.ts,zone:n.zone,c:n.c,o:n.o,loc:n.loc,invalid:n.invalid};return new _(me(b(b({},t),e),{old:t}))}function Xn(n,e,t){let r=n-e*60*1e3;const s=t.offset(r);if(e===s)return[r,e];r-=(s-e)*60*1e3;const i=t.offset(r);return s===i?[r,s]:[n-Math.min(s,i)*60*1e3,Math.max(s,i)]}function Ct(n,e){n+=e*60*1e3;const t=new Date(n);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function Dt(n,e,t){return Xn(vt(n),e,t)}function er(n,e){const t=n.o,r=n.c.year+Math.trunc(e.years),s=n.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i=me(b({},n.c),{year:r,month:s,day:Math.min(n.c.day,wt(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7}),a=P.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=vt(i);let[l,h]=Xn(o,t,n.zone);return a!==0&&(l+=a,h=n.zone.offset(l)),{ts:l,o:h}}function lt(n,e,t,r,s,i){const{setZone:a,zone:o}=t;if(n&&Object.keys(n).length!==0||e){const l=e||o,h=_.fromObject(n,me(b({},t),{zone:l,specificOffset:i}));return a?h:h.setZone(o)}else return _.invalid(new ge("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Mt(n,e,t=!0){return n.isValid?oe.create(B.create("en-US"),{allowZ:t,forceSimple:!0}).formatDateTimeFromString(n,e):null}function Qt(n,e){const t=n.c.year>9999||n.c.year<0;let r="";return t&&n.c.year>=0&&(r+="+"),r+=X(n.c.year,t?6:4),e?(r+="-",r+=X(n.c.month),r+="-",r+=X(n.c.day)):(r+=X(n.c.month),r+=X(n.c.day)),r}function tr(n,e,t,r,s,i){let a=X(n.c.hour);return e?(a+=":",a+=X(n.c.minute),(n.c.millisecond!==0||n.c.second!==0||!t)&&(a+=":")):a+=X(n.c.minute),(n.c.millisecond!==0||n.c.second!==0||!t)&&(a+=X(n.c.second),(n.c.millisecond!==0||!r)&&(a+=".",a+=X(n.c.millisecond,3))),s&&(n.isOffsetFixed&&n.offset===0&&!i?a+="Z":n.o<0?(a+="-",a+=X(Math.trunc(-n.o/60)),a+=":",a+=X(Math.trunc(-n.o%60))):(a+="+",a+=X(Math.trunc(n.o/60)),a+=":",a+=X(Math.trunc(n.o%60)))),i&&(a+="["+n.zone.ianaName+"]"),a}const nr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},$s={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Zs={ordinal:1,hour:0,minute:0,second:0,millisecond:0},rr=["year","month","day","hour","minute","second","millisecond"],As=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],zs=["year","ordinal","hour","minute","second","millisecond"];function Us(n){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[n.toLowerCase()];if(!e)throw new f(n);return e}function sr(n){switch(n.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Us(n)}}function ir(n,e){const t=ye(e.zone,Q.defaultZone),r=B.fromObject(e),s=Q.now();let i,a;if(I(n.year))i=s;else{for(const h of rr)I(n[h])&&(n[h]=nr[h]);const o=gn(n)||pn(n);if(o)return _.invalid(o);const l=t.offset(s);[i,a]=Dt(n,l,t)}return new _({ts:i,zone:t,loc:r,o:a})}function ar(n,e,t){const r=I(t.round)?!0:t.round,s=(a,o)=>(a=Pt(a,r||t.calendary?0:2,!0),e.loc.clone(t).relFormatter(t).format(a,o)),i=a=>t.calendary?e.hasSame(n,a)?0:e.startOf(a).diff(n.startOf(a),a).get(a):e.diff(n,a).get(a);if(t.unit)return s(i(t.unit),t.unit);for(const a of t.units){const o=i(a);if(Math.abs(o)>=1)return s(o,a)}return s(n>e?-0:0,t.units[t.units.length-1])}function or(n){let e={},t;return n.length>0&&typeof n[n.length-1]=="object"?(e=n[n.length-1],t=Array.from(n).slice(0,n.length-1)):t=Array.from(n),[e,t]}class _{constructor(e){const t=e.zone||Q.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new ge("invalid input"):null)||(t.isValid?null:Et(t));this.ts=I(e.ts)?Q.now():e.ts;let s=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,i]=[e.old.c,e.old.o];else{const o=t.offset(this.ts);s=Ct(this.ts,o),r=Number.isNaN(s.year)?new ge("invalid input"):null,s=r?null:s,i=r?null:o}this._zone=t,this.loc=e.loc||B.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new _({})}static local(){const[e,t]=or(arguments),[r,s,i,a,o,l,h]=t;return ir({year:r,month:s,day:i,hour:a,minute:o,second:l,millisecond:h},e)}static utc(){const[e,t]=or(arguments),[r,s,i,a,o,l,h]=t;return e.zone=ne.utcInstance,ir({year:r,month:s,day:i,hour:a,minute:o,second:l,millisecond:h},e)}static fromJSDate(e,t={}){const r=pr(e)?e.valueOf():NaN;if(Number.isNaN(r))return _.invalid("invalid input");const s=ye(t.zone,Q.defaultZone);return s.isValid?new _({ts:r,zone:s,loc:B.fromObject(t)}):_.invalid(Et(s))}static fromMillis(e,t={}){if(Le(e))return e<-Qn||e>Qn?_.invalid("Timestamp out of range"):new _({ts:e,zone:ye(t.zone,Q.defaultZone),loc:B.fromObject(t)});throw new d(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(Le(e))return new _({ts:e*1e3,zone:ye(t.zone,Q.defaultZone),loc:B.fromObject(t)});throw new d("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=ye(t.zone,Q.defaultZone);if(!r.isValid)return _.invalid(Et(r));const s=B.fromObject(t),i=Ot(e,sr),{minDaysInFirstWeek:a,startOfWeek:o}=yn(i,s),l=Q.now(),h=I(t.specificOffset)?r.offset(l):t.specificOffset,D=!I(i.ordinal),$=!I(i.year),K=!I(i.month)||!I(i.day),N=$||K,re=i.weekYear||i.weekNumber;if((N||D)&&re)throw new c("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(K&&D)throw new c("Can't mix ordinal dates with month/day");const Xe=re||i.weekday&&!N;let ke,et,ft=Ct(l,h);Xe?(ke=As,et=$s,ft=gt(ft,a,o)):D?(ke=zs,et=Zs,ft=At(ft)):(ke=rr,et=nr);let ur=!1;for(const dt of ke){const js=i[dt];I(js)?ur?i[dt]=et[dt]:i[dt]=ft[dt]:ur=!0}const Rs=Xe?mr(i,a,o):D?yr(i):gn(i),lr=Rs||pn(i);if(lr)return _.invalid(lr);const Hs=Xe?hn(i,a,o):D?mn(i):i,[Ys,Bs]=Dt(Hs,h,r),Xt=new _({ts:Ys,zone:r,o:Bs,loc:s});return i.weekday&&N&&e.weekday!==Xt.weekday?_.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${Xt.toISO()}`):Xt}static fromISO(e,t={}){const[r,s]=as(e);return lt(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=os(e);return lt(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=us(e);return lt(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(I(e)||I(t))throw new d("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=B.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[o,l,h,D]=Ls(a,e,t);return D?_.invalid(D):lt(o,l,r,`format ${t}`,e,h)}static fromString(e,t,r={}){return _.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=ys(e);return lt(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new d("need to specify a reason the DateTime is invalid");const r=e instanceof ge?e:new ge(e,t);if(Q.throwOnInvalid)throw new O(r);return new _({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=Kn(e,B.fromObject(t));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,t={}){return Jn(oe.parseFormat(e),B.fromObject(t)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?qt(this).weekYear:NaN}get weekNumber(){return this.isValid?qt(this).weekNumber:NaN}get weekday(){return this.isValid?qt(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Kt(this).weekday:NaN}get localWeekNumber(){return this.isValid?Kt(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Kt(this).weekYear:NaN}get ordinal(){return this.isValid?At(this.c).ordinal:NaN}get monthShort(){return this.isValid?ut.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ut.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ut.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ut.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,r=vt(this.c),s=this.zone.offset(r-e),i=this.zone.offset(r+e),a=this.zone.offset(r-s*t),o=this.zone.offset(r-i*t);if(a===o)return[this];const l=r-a*t,h=r-o*t,D=Ct(l,a),$=Ct(h,o);return D.hour===$.hour&&D.minute===$.minute&&D.second===$.second&&D.millisecond===$.millisecond?[Ae(this,{ts:l}),Ae(this,{ts:h})]:[this]}get isInLeapYear(){return rt(this.year)}get daysInMonth(){return wt(this.year,this.month)}get daysInYear(){return this.isValid?Ye(this.year):NaN}get weeksInWeekYear(){return this.isValid?st(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?st(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=oe.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(ne.instance(e),t)}toLocal(){return this.setZone(Q.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if(e=ye(e,Q.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||r){const i=e.offset(this.ts),a=this.toObject();[s]=Dt(a,i,e)}return Ae(this,{ts:s,zone:e})}else return _.invalid(Et(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){const s=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r});return Ae(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Ot(e,sr),{minDaysInFirstWeek:r,startOfWeek:s}=yn(t,this.loc),i=!I(t.weekYear)||!I(t.weekNumber)||!I(t.weekday),a=!I(t.ordinal),o=!I(t.year),l=!I(t.month)||!I(t.day),h=o||l,D=t.weekYear||t.weekNumber;if((h||a)&&D)throw new c("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&a)throw new c("Can't mix ordinal dates with month/day");let $;i?$=hn(b(b({},gt(this.c,r,s)),t),r,s):I(t.ordinal)?($=b(b({},this.toObject()),t),I(t.day)&&($.day=Math.min(wt($.year,$.month),$.day))):$=mn(b(b({},At(this.c)),t));const[K,N]=Dt($,this.o,this.zone);return Ae(this,{ts:K,o:N})}plus(e){if(!this.isValid)return this;const t=P.fromDurationLike(e);return Ae(this,er(this,t))}minus(e){if(!this.isValid)return this;const t=P.fromDurationLike(e).negate();return Ae(this,er(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=P.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(t){const i=this.loc.getStartOfWeek(),{weekday:a}=this;athis.valueOf(),o=a?this:e,l=a?e:this,h=Ss(o,l,i,s);return a?h.negate():h}diffNow(e="milliseconds",t={}){return this.diff(_.now(),e,t)}until(e){return this.isValid?q.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;const s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,r)<=s&&s<=i.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||_.fromObject({},{zone:this.zone}),r=e.padding?thist.valueOf(),Math.min)}static max(...e){if(!e.every(_.isDateTime))throw new d("max requires all arguments be DateTimes");return Tn(e,t=>t.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=B.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return qn(a,e,t)}static fromStringExplain(e,t,r={}){return _.fromFormatExplain(e,t,r)}static get DATE_SHORT(){return m}static get DATE_MED(){return S}static get DATE_MED_WITH_WEEKDAY(){return C}static get DATE_FULL(){return A}static get DATE_HUGE(){return E}static get TIME_SIMPLE(){return H}static get TIME_WITH_SECONDS(){return V}static get TIME_WITH_SHORT_OFFSET(){return Z}static get TIME_WITH_LONG_OFFSET(){return W}static get TIME_24_SIMPLE(){return L}static get TIME_24_WITH_SECONDS(){return ee}static get TIME_24_WITH_SHORT_OFFSET(){return F}static get TIME_24_WITH_LONG_OFFSET(){return Y}static get DATETIME_SHORT(){return J}static get DATETIME_SHORT_WITH_SECONDS(){return ie}static get DATETIME_MED(){return ae}static get DATETIME_MED_WITH_SECONDS(){return ze}static get DATETIME_MED_WITH_WEEKDAY(){return tt}static get DATETIME_FULL(){return _e}static get DATETIME_FULL_WITH_SECONDS(){return Fe}static get DATETIME_HUGE(){return De}static get DATETIME_HUGE_WITH_SECONDS(){return p}}function ct(n){if(_.isDateTime(n))return n;if(n&&n.valueOf&&Le(n.valueOf()))return _.fromJSDate(n);if(n&&typeof n=="object")return _.fromObject(n);throw new d(`Unknown datetime argument: ${n}, of type ${typeof n}`)}const Ps="3.4.4";M.DateTime=_,M.Duration=P,M.FixedOffsetZone=ne,M.IANAZone=te,M.Info=ut,M.Interval=q,M.InvalidZone=Se,M.Settings=Q,M.SystemZone=x,M.VERSION=Ps,M.Zone=z}}]); diff --git a/statics/488.373ef86b.async.js b/statics/488.373ef86b.async.js new file mode 100644 index 00000000..8ba3e9d6 --- /dev/null +++ b/statics/488.373ef86b.async.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[488],{66309:function(r,l,e){e.d(l,{Z:function(){return wl}});var t=e(67294),c=e(93967),K=e.n(c),M=e(98423),sl=e(98787),G=e(69760),Q=e(96159),bl=e(45353),Y=e(53124),al=e(54548),gl=e(10274),hl=e(14747),ml=e(45503),q=e(91945);const pl=a=>{const{paddingXXS:b,lineWidth:p,tagPaddingHorizontal:f,componentCls:u,calc:E}=a,_=E(f).sub(p).equal(),o=E(b).sub(p).equal();return{[u]:Object.assign(Object.assign({},(0,hl.Wf)(a)),{display:"inline-block",height:"auto",marginInlineEnd:a.marginXS,paddingInline:_,fontSize:a.tagFontSize,lineHeight:a.tagLineHeight,whiteSpace:"nowrap",background:a.defaultBg,border:`${(0,al.bf)(a.lineWidth)} ${a.lineType} ${a.colorBorder}`,borderRadius:a.borderRadiusSM,opacity:1,transition:`all ${a.motionDurationMid}`,textAlign:"start",position:"relative",[`&${u}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:a.defaultColor},[`${u}-close-icon`]:{marginInlineStart:o,fontSize:a.tagIconSize,color:a.colorTextDescription,cursor:"pointer",transition:`all ${a.motionDurationMid}`,"&:hover":{color:a.colorTextHeading}},[`&${u}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${a.iconCls}-close, ${a.iconCls}-close:hover`]:{color:a.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${u}-checkable-checked):hover`]:{color:a.colorPrimary,backgroundColor:a.colorFillSecondary},"&:active, &-checked":{color:a.colorTextLightSolid},"&-checked":{backgroundColor:a.colorPrimary,"&:hover":{backgroundColor:a.colorPrimaryHover}},"&:active":{backgroundColor:a.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${a.iconCls} + span, > span + ${a.iconCls}`]:{marginInlineStart:_}}),[`${u}-borderless`]:{borderColor:"transparent",background:a.tagBorderlessBg}}},el=a=>{const{lineWidth:b,fontSizeIcon:p,calc:f}=a,u=a.fontSizeSM;return(0,ml.TS)(a,{tagFontSize:u,tagLineHeight:(0,al.bf)(f(a.lineHeightSM).mul(u).equal()),tagIconSize:f(p).sub(f(b).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:a.defaultBg})},x=a=>({defaultBg:new gl.C(a.colorFillQuaternary).onBackground(a.colorBgContainer).toHexString(),defaultColor:a.colorText});var O=(0,q.I$)("Tag",a=>{const b=el(a);return pl(b)},x),vl=function(a,b){var p={};for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&b.indexOf(f)<0&&(p[f]=a[f]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,f=Object.getOwnPropertySymbols(a);u{const{prefixCls:p,style:f,className:u,checked:E,onChange:_,onClick:o}=a,n=vl(a,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:i,tag:h}=t.useContext(Y.E_),j=v=>{_==null||_(!E),o==null||o(v)},d=i("tag",p),[m,g,C]=O(d),B=K()(d,`${d}-checkable`,{[`${d}-checkable-checked`]:E},h==null?void 0:h.className,u,g,C);return m(t.createElement("span",Object.assign({},n,{ref:b,style:Object.assign(Object.assign({},f),h==null?void 0:h.style),className:B,onClick:j})))}),kl=e(98719);const Cl=a=>(0,kl.Z)(a,(b,p)=>{let{textColor:f,lightBorderColor:u,lightColor:E,darkColor:_}=p;return{[`${a.componentCls}${a.componentCls}-${b}`]:{color:f,background:E,borderColor:u,"&-inverse":{color:a.colorTextLightSolid,background:_,borderColor:_},[`&${a.componentCls}-borderless`]:{borderColor:"transparent"}}}});var nl=(0,q.bk)(["Tag","preset"],a=>{const b=el(a);return Cl(b)},x);function il(a){return typeof a!="string"?a:a.charAt(0).toUpperCase()+a.slice(1)}const $=(a,b,p)=>{const f=il(p);return{[`${a.componentCls}${a.componentCls}-${b}`]:{color:a[`color${p}`],background:a[`color${f}Bg`],borderColor:a[`color${f}Border`],[`&${a.componentCls}-borderless`]:{borderColor:"transparent"}}}};var jl=(0,q.bk)(["Tag","status"],a=>{const b=el(a);return[$(b,"success","Success"),$(b,"processing","Info"),$(b,"error","Error"),$(b,"warning","Warning")]},x),Al=function(a,b){var p={};for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&b.indexOf(f)<0&&(p[f]=a[f]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,f=Object.getOwnPropertySymbols(a);u{const{prefixCls:p,className:f,rootClassName:u,style:E,children:_,icon:o,color:n,onClose:i,bordered:h=!0,visible:j}=a,d=Al(a,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:g,tag:C}=t.useContext(Y.E_),[B,v]=t.useState(!0),y=(0,M.Z)(d,["closeIcon","closable"]);t.useEffect(()=>{j!==void 0&&v(j)},[j]);const A=(0,sl.o2)(n),w=(0,sl.yT)(n),X=A||w,U=Object.assign(Object.assign({backgroundColor:n&&!X?n:void 0},C==null?void 0:C.style),E),k=m("tag",p),[P,L,I]=O(k),cl=K()(k,C==null?void 0:C.className,{[`${k}-${n}`]:X,[`${k}-has-color`]:n&&!X,[`${k}-hidden`]:!B,[`${k}-rtl`]:g==="rtl",[`${k}-borderless`]:!h},f,u,L,I),F=N=>{N.stopPropagation(),i==null||i(N),!N.defaultPrevented&&v(!1)},[,W]=(0,G.Z)((0,G.w)(a),(0,G.w)(C),{closable:!1,closeIconRender:N=>{const T=t.createElement("span",{className:`${k}-close-icon`,onClick:F},N);return(0,Q.wm)(N,T,D=>({onClick:H=>{var Z;(Z=D==null?void 0:D.onClick)===null||Z===void 0||Z.call(D,H),F(H)},className:K()(D==null?void 0:D.className,`${k}-close-icon`)}))}}),S=typeof d.onClick=="function"||_&&_.type==="a",R=o||null,V=R?t.createElement(t.Fragment,null,R,_&&t.createElement("span",null,_)):_,z=t.createElement("span",Object.assign({},y,{ref:b,className:cl,style:U}),V,W,A&&t.createElement(nl,{key:"preset",prefixCls:k}),w&&t.createElement(jl,{key:"status",prefixCls:k}));return P(S?t.createElement(bl.Z,{component:"Tag"},z):z)});tl.CheckableTag=yl;var wl=tl},58281:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#d4d0ab"},"hljs-quote":{color:"#d4d0ab"},"hljs-variable":{color:"#ffa07a"},"hljs-template-variable":{color:"#ffa07a"},"hljs-tag":{color:"#ffa07a"},"hljs-name":{color:"#ffa07a"},"hljs-selector-id":{color:"#ffa07a"},"hljs-selector-class":{color:"#ffa07a"},"hljs-regexp":{color:"#ffa07a"},"hljs-deletion":{color:"#ffa07a"},"hljs-number":{color:"#f5ab35"},"hljs-built_in":{color:"#f5ab35"},"hljs-builtin-name":{color:"#f5ab35"},"hljs-literal":{color:"#f5ab35"},"hljs-type":{color:"#f5ab35"},"hljs-params":{color:"#f5ab35"},"hljs-meta":{color:"#f5ab35"},"hljs-link":{color:"#f5ab35"},"hljs-attribute":{color:"#ffd700"},"hljs-string":{color:"#abe338"},"hljs-symbol":{color:"#abe338"},"hljs-bullet":{color:"#abe338"},"hljs-addition":{color:"#abe338"},"hljs-title":{color:"#00e0e0"},"hljs-section":{color:"#00e0e0"},"hljs-keyword":{color:"#dcc6e0"},"hljs-selector-tag":{color:"#dcc6e0"},hljs:{display:"block",overflowX:"auto",background:"#2b2b2b",color:"#f8f8f2",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},32897:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#696969"},"hljs-quote":{color:"#696969"},"hljs-variable":{color:"#d91e18"},"hljs-template-variable":{color:"#d91e18"},"hljs-tag":{color:"#d91e18"},"hljs-name":{color:"#d91e18"},"hljs-selector-id":{color:"#d91e18"},"hljs-selector-class":{color:"#d91e18"},"hljs-regexp":{color:"#d91e18"},"hljs-deletion":{color:"#d91e18"},"hljs-number":{color:"#aa5d00"},"hljs-built_in":{color:"#aa5d00"},"hljs-builtin-name":{color:"#aa5d00"},"hljs-literal":{color:"#aa5d00"},"hljs-type":{color:"#aa5d00"},"hljs-params":{color:"#aa5d00"},"hljs-meta":{color:"#aa5d00"},"hljs-link":{color:"#aa5d00"},"hljs-attribute":{color:"#aa5d00"},"hljs-string":{color:"#008000"},"hljs-symbol":{color:"#008000"},"hljs-bullet":{color:"#008000"},"hljs-addition":{color:"#008000"},"hljs-title":{color:"#007faa"},"hljs-section":{color:"#007faa"},"hljs-keyword":{color:"#7928a1"},"hljs-selector-tag":{color:"#7928a1"},hljs:{display:"block",overflowX:"auto",background:"#fefefe",color:"#545454",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},65906:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}};l.default=e},20444:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#B6B18B"},"hljs-quote":{color:"#B6B18B"},"hljs-variable":{color:"#EB3C54"},"hljs-template-variable":{color:"#EB3C54"},"hljs-tag":{color:"#EB3C54"},"hljs-name":{color:"#EB3C54"},"hljs-selector-id":{color:"#EB3C54"},"hljs-selector-class":{color:"#EB3C54"},"hljs-regexp":{color:"#EB3C54"},"hljs-deletion":{color:"#EB3C54"},"hljs-number":{color:"#E7CE56"},"hljs-built_in":{color:"#E7CE56"},"hljs-builtin-name":{color:"#E7CE56"},"hljs-literal":{color:"#E7CE56"},"hljs-type":{color:"#E7CE56"},"hljs-params":{color:"#E7CE56"},"hljs-meta":{color:"#E7CE56"},"hljs-link":{color:"#E7CE56"},"hljs-attribute":{color:"#EE7C2B"},"hljs-string":{color:"#4FB4D7"},"hljs-symbol":{color:"#4FB4D7"},"hljs-bullet":{color:"#4FB4D7"},"hljs-addition":{color:"#4FB4D7"},"hljs-title":{color:"#78BB65"},"hljs-section":{color:"#78BB65"},"hljs-keyword":{color:"#B45EA4"},"hljs-selector-tag":{color:"#B45EA4"},hljs:{display:"block",overflowX:"auto",background:"#1C1D21",color:"#c0c5ce",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},27048:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{color:"#a9b7c6",background:"#282b2e",display:"block",overflowX:"auto",padding:"0.5em"},"hljs-number":{color:"#6897BB"},"hljs-literal":{color:"#6897BB"},"hljs-symbol":{color:"#6897BB"},"hljs-bullet":{color:"#6897BB"},"hljs-keyword":{color:"#cc7832"},"hljs-selector-tag":{color:"#cc7832"},"hljs-deletion":{color:"#cc7832"},"hljs-variable":{color:"#629755"},"hljs-template-variable":{color:"#629755"},"hljs-link":{color:"#629755"},"hljs-comment":{color:"#808080"},"hljs-quote":{color:"#808080"},"hljs-meta":{color:"#bbb529"},"hljs-string":{color:"#6A8759"},"hljs-attribute":{color:"#6A8759"},"hljs-addition":{color:"#6A8759"},"hljs-section":{color:"#ffc66d"},"hljs-title":{color:"#ffc66d"},"hljs-type":{color:"#ffc66d"},"hljs-name":{color:"#e8bf6a"},"hljs-selector-id":{color:"#e8bf6a"},"hljs-selector-class":{color:"#e8bf6a"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},41546:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#FFFFFF",color:"#434f54"},"hljs-subst":{color:"#434f54"},"hljs-keyword":{color:"#00979D"},"hljs-attribute":{color:"#00979D"},"hljs-selector-tag":{color:"#00979D"},"hljs-doctag":{color:"#00979D"},"hljs-name":{color:"#00979D"},"hljs-built_in":{color:"#D35400"},"hljs-literal":{color:"#D35400"},"hljs-bullet":{color:"#D35400"},"hljs-code":{color:"#D35400"},"hljs-addition":{color:"#D35400"},"hljs-regexp":{color:"#00979D"},"hljs-symbol":{color:"#00979D"},"hljs-variable":{color:"#00979D"},"hljs-template-variable":{color:"#00979D"},"hljs-link":{color:"#00979D"},"hljs-selector-attr":{color:"#00979D"},"hljs-selector-pseudo":{color:"#00979D"},"hljs-type":{color:"#005C5F"},"hljs-string":{color:"#005C5F"},"hljs-selector-id":{color:"#005C5F"},"hljs-selector-class":{color:"#005C5F"},"hljs-quote":{color:"#005C5F"},"hljs-template-tag":{color:"#005C5F"},"hljs-deletion":{color:"#005C5F"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-comment":{color:"rgba(149,165,166,.8)"},"hljs-meta-keyword":{color:"#728E00"},"hljs-meta":{color:"#434f54"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"},"hljs-function":{color:"#728E00"},"hljs-number":{color:"#8A7B52"}};l.default=e},35132:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},19895:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-string":{color:"#888"},"hljs-variable":{color:"#888"},"hljs-template-variable":{color:"#888"},"hljs-symbol":{color:"#888"},"hljs-bullet":{color:"#888"},"hljs-section":{color:"#888",fontWeight:"bold"},"hljs-addition":{color:"#888"},"hljs-attribute":{color:"#888"},"hljs-link":{color:"#888"},"hljs-comment":{color:"#ccc"},"hljs-quote":{color:"#ccc"},"hljs-meta":{color:"#ccc"},"hljs-deletion":{color:"#ccc"},"hljs-keyword":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},20977:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7e7887"},"hljs-quote":{color:"#7e7887"},"hljs-variable":{color:"#be4678"},"hljs-template-variable":{color:"#be4678"},"hljs-attribute":{color:"#be4678"},"hljs-regexp":{color:"#be4678"},"hljs-link":{color:"#be4678"},"hljs-tag":{color:"#be4678"},"hljs-name":{color:"#be4678"},"hljs-selector-id":{color:"#be4678"},"hljs-selector-class":{color:"#be4678"},"hljs-number":{color:"#aa573c"},"hljs-meta":{color:"#aa573c"},"hljs-built_in":{color:"#aa573c"},"hljs-builtin-name":{color:"#aa573c"},"hljs-literal":{color:"#aa573c"},"hljs-type":{color:"#aa573c"},"hljs-params":{color:"#aa573c"},"hljs-string":{color:"#2a9292"},"hljs-symbol":{color:"#2a9292"},"hljs-bullet":{color:"#2a9292"},"hljs-title":{color:"#576ddb"},"hljs-section":{color:"#576ddb"},"hljs-keyword":{color:"#955ae7"},"hljs-selector-tag":{color:"#955ae7"},"hljs-deletion":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#be4678"},"hljs-addition":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#2a9292"},hljs:{display:"block",overflowX:"auto",background:"#19171c",color:"#8b8792",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},67298:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#655f6d"},"hljs-quote":{color:"#655f6d"},"hljs-variable":{color:"#be4678"},"hljs-template-variable":{color:"#be4678"},"hljs-attribute":{color:"#be4678"},"hljs-tag":{color:"#be4678"},"hljs-name":{color:"#be4678"},"hljs-regexp":{color:"#be4678"},"hljs-link":{color:"#be4678"},"hljs-selector-id":{color:"#be4678"},"hljs-selector-class":{color:"#be4678"},"hljs-number":{color:"#aa573c"},"hljs-meta":{color:"#aa573c"},"hljs-built_in":{color:"#aa573c"},"hljs-builtin-name":{color:"#aa573c"},"hljs-literal":{color:"#aa573c"},"hljs-type":{color:"#aa573c"},"hljs-params":{color:"#aa573c"},"hljs-string":{color:"#2a9292"},"hljs-symbol":{color:"#2a9292"},"hljs-bullet":{color:"#2a9292"},"hljs-title":{color:"#576ddb"},"hljs-section":{color:"#576ddb"},"hljs-keyword":{color:"#955ae7"},"hljs-selector-tag":{color:"#955ae7"},"hljs-deletion":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#be4678"},"hljs-addition":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#2a9292"},hljs:{display:"block",overflowX:"auto",background:"#efecf4",color:"#585260",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},82468:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#999580"},"hljs-quote":{color:"#999580"},"hljs-variable":{color:"#d73737"},"hljs-template-variable":{color:"#d73737"},"hljs-attribute":{color:"#d73737"},"hljs-tag":{color:"#d73737"},"hljs-name":{color:"#d73737"},"hljs-regexp":{color:"#d73737"},"hljs-link":{color:"#d73737"},"hljs-selector-id":{color:"#d73737"},"hljs-selector-class":{color:"#d73737"},"hljs-number":{color:"#b65611"},"hljs-meta":{color:"#b65611"},"hljs-built_in":{color:"#b65611"},"hljs-builtin-name":{color:"#b65611"},"hljs-literal":{color:"#b65611"},"hljs-type":{color:"#b65611"},"hljs-params":{color:"#b65611"},"hljs-string":{color:"#60ac39"},"hljs-symbol":{color:"#60ac39"},"hljs-bullet":{color:"#60ac39"},"hljs-title":{color:"#6684e1"},"hljs-section":{color:"#6684e1"},"hljs-keyword":{color:"#b854d4"},"hljs-selector-tag":{color:"#b854d4"},hljs:{display:"block",overflowX:"auto",background:"#20201d",color:"#a6a28c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},59676:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7d7a68"},"hljs-quote":{color:"#7d7a68"},"hljs-variable":{color:"#d73737"},"hljs-template-variable":{color:"#d73737"},"hljs-attribute":{color:"#d73737"},"hljs-tag":{color:"#d73737"},"hljs-name":{color:"#d73737"},"hljs-regexp":{color:"#d73737"},"hljs-link":{color:"#d73737"},"hljs-selector-id":{color:"#d73737"},"hljs-selector-class":{color:"#d73737"},"hljs-number":{color:"#b65611"},"hljs-meta":{color:"#b65611"},"hljs-built_in":{color:"#b65611"},"hljs-builtin-name":{color:"#b65611"},"hljs-literal":{color:"#b65611"},"hljs-type":{color:"#b65611"},"hljs-params":{color:"#b65611"},"hljs-string":{color:"#60ac39"},"hljs-symbol":{color:"#60ac39"},"hljs-bullet":{color:"#60ac39"},"hljs-title":{color:"#6684e1"},"hljs-section":{color:"#6684e1"},"hljs-keyword":{color:"#b854d4"},"hljs-selector-tag":{color:"#b854d4"},hljs:{display:"block",overflowX:"auto",background:"#fefbec",color:"#6e6b5e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},12105:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#878573"},"hljs-quote":{color:"#878573"},"hljs-variable":{color:"#ba6236"},"hljs-template-variable":{color:"#ba6236"},"hljs-attribute":{color:"#ba6236"},"hljs-tag":{color:"#ba6236"},"hljs-name":{color:"#ba6236"},"hljs-regexp":{color:"#ba6236"},"hljs-link":{color:"#ba6236"},"hljs-selector-id":{color:"#ba6236"},"hljs-selector-class":{color:"#ba6236"},"hljs-number":{color:"#ae7313"},"hljs-meta":{color:"#ae7313"},"hljs-built_in":{color:"#ae7313"},"hljs-builtin-name":{color:"#ae7313"},"hljs-literal":{color:"#ae7313"},"hljs-type":{color:"#ae7313"},"hljs-params":{color:"#ae7313"},"hljs-string":{color:"#7d9726"},"hljs-symbol":{color:"#7d9726"},"hljs-bullet":{color:"#7d9726"},"hljs-title":{color:"#36a166"},"hljs-section":{color:"#36a166"},"hljs-keyword":{color:"#5f9182"},"hljs-selector-tag":{color:"#5f9182"},"hljs-deletion":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#ba6236"},"hljs-addition":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#7d9726"},hljs:{display:"block",overflowX:"auto",background:"#22221b",color:"#929181",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},87629:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#6c6b5a"},"hljs-quote":{color:"#6c6b5a"},"hljs-variable":{color:"#ba6236"},"hljs-template-variable":{color:"#ba6236"},"hljs-attribute":{color:"#ba6236"},"hljs-tag":{color:"#ba6236"},"hljs-name":{color:"#ba6236"},"hljs-regexp":{color:"#ba6236"},"hljs-link":{color:"#ba6236"},"hljs-selector-id":{color:"#ba6236"},"hljs-selector-class":{color:"#ba6236"},"hljs-number":{color:"#ae7313"},"hljs-meta":{color:"#ae7313"},"hljs-built_in":{color:"#ae7313"},"hljs-builtin-name":{color:"#ae7313"},"hljs-literal":{color:"#ae7313"},"hljs-type":{color:"#ae7313"},"hljs-params":{color:"#ae7313"},"hljs-string":{color:"#7d9726"},"hljs-symbol":{color:"#7d9726"},"hljs-bullet":{color:"#7d9726"},"hljs-title":{color:"#36a166"},"hljs-section":{color:"#36a166"},"hljs-keyword":{color:"#5f9182"},"hljs-selector-tag":{color:"#5f9182"},"hljs-deletion":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#ba6236"},"hljs-addition":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#7d9726"},hljs:{display:"block",overflowX:"auto",background:"#f4f3ec",color:"#5f5e4e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},68414:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#9c9491"},"hljs-quote":{color:"#9c9491"},"hljs-variable":{color:"#f22c40"},"hljs-template-variable":{color:"#f22c40"},"hljs-attribute":{color:"#f22c40"},"hljs-tag":{color:"#f22c40"},"hljs-name":{color:"#f22c40"},"hljs-regexp":{color:"#f22c40"},"hljs-link":{color:"#f22c40"},"hljs-selector-id":{color:"#f22c40"},"hljs-selector-class":{color:"#f22c40"},"hljs-number":{color:"#df5320"},"hljs-meta":{color:"#df5320"},"hljs-built_in":{color:"#df5320"},"hljs-builtin-name":{color:"#df5320"},"hljs-literal":{color:"#df5320"},"hljs-type":{color:"#df5320"},"hljs-params":{color:"#df5320"},"hljs-string":{color:"#7b9726"},"hljs-symbol":{color:"#7b9726"},"hljs-bullet":{color:"#7b9726"},"hljs-title":{color:"#407ee7"},"hljs-section":{color:"#407ee7"},"hljs-keyword":{color:"#6666ea"},"hljs-selector-tag":{color:"#6666ea"},hljs:{display:"block",overflowX:"auto",background:"#1b1918",color:"#a8a19f",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},49219:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#766e6b"},"hljs-quote":{color:"#766e6b"},"hljs-variable":{color:"#f22c40"},"hljs-template-variable":{color:"#f22c40"},"hljs-attribute":{color:"#f22c40"},"hljs-tag":{color:"#f22c40"},"hljs-name":{color:"#f22c40"},"hljs-regexp":{color:"#f22c40"},"hljs-link":{color:"#f22c40"},"hljs-selector-id":{color:"#f22c40"},"hljs-selector-class":{color:"#f22c40"},"hljs-number":{color:"#df5320"},"hljs-meta":{color:"#df5320"},"hljs-built_in":{color:"#df5320"},"hljs-builtin-name":{color:"#df5320"},"hljs-literal":{color:"#df5320"},"hljs-type":{color:"#df5320"},"hljs-params":{color:"#df5320"},"hljs-string":{color:"#7b9726"},"hljs-symbol":{color:"#7b9726"},"hljs-bullet":{color:"#7b9726"},"hljs-title":{color:"#407ee7"},"hljs-section":{color:"#407ee7"},"hljs-keyword":{color:"#6666ea"},"hljs-selector-tag":{color:"#6666ea"},hljs:{display:"block",overflowX:"auto",background:"#f1efee",color:"#68615e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},30288:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#9e8f9e"},"hljs-quote":{color:"#9e8f9e"},"hljs-variable":{color:"#ca402b"},"hljs-template-variable":{color:"#ca402b"},"hljs-attribute":{color:"#ca402b"},"hljs-tag":{color:"#ca402b"},"hljs-name":{color:"#ca402b"},"hljs-regexp":{color:"#ca402b"},"hljs-link":{color:"#ca402b"},"hljs-selector-id":{color:"#ca402b"},"hljs-selector-class":{color:"#ca402b"},"hljs-number":{color:"#a65926"},"hljs-meta":{color:"#a65926"},"hljs-built_in":{color:"#a65926"},"hljs-builtin-name":{color:"#a65926"},"hljs-literal":{color:"#a65926"},"hljs-type":{color:"#a65926"},"hljs-params":{color:"#a65926"},"hljs-string":{color:"#918b3b"},"hljs-symbol":{color:"#918b3b"},"hljs-bullet":{color:"#918b3b"},"hljs-title":{color:"#516aec"},"hljs-section":{color:"#516aec"},"hljs-keyword":{color:"#7b59c0"},"hljs-selector-tag":{color:"#7b59c0"},hljs:{display:"block",overflowX:"auto",background:"#1b181b",color:"#ab9bab",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},77551:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#776977"},"hljs-quote":{color:"#776977"},"hljs-variable":{color:"#ca402b"},"hljs-template-variable":{color:"#ca402b"},"hljs-attribute":{color:"#ca402b"},"hljs-tag":{color:"#ca402b"},"hljs-name":{color:"#ca402b"},"hljs-regexp":{color:"#ca402b"},"hljs-link":{color:"#ca402b"},"hljs-selector-id":{color:"#ca402b"},"hljs-selector-class":{color:"#ca402b"},"hljs-number":{color:"#a65926"},"hljs-meta":{color:"#a65926"},"hljs-built_in":{color:"#a65926"},"hljs-builtin-name":{color:"#a65926"},"hljs-literal":{color:"#a65926"},"hljs-type":{color:"#a65926"},"hljs-params":{color:"#a65926"},"hljs-string":{color:"#918b3b"},"hljs-symbol":{color:"#918b3b"},"hljs-bullet":{color:"#918b3b"},"hljs-title":{color:"#516aec"},"hljs-section":{color:"#516aec"},"hljs-keyword":{color:"#7b59c0"},"hljs-selector-tag":{color:"#7b59c0"},hljs:{display:"block",overflowX:"auto",background:"#f7f3f7",color:"#695d69",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},23532:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7195a8"},"hljs-quote":{color:"#7195a8"},"hljs-variable":{color:"#d22d72"},"hljs-template-variable":{color:"#d22d72"},"hljs-attribute":{color:"#d22d72"},"hljs-tag":{color:"#d22d72"},"hljs-name":{color:"#d22d72"},"hljs-regexp":{color:"#d22d72"},"hljs-link":{color:"#d22d72"},"hljs-selector-id":{color:"#d22d72"},"hljs-selector-class":{color:"#d22d72"},"hljs-number":{color:"#935c25"},"hljs-meta":{color:"#935c25"},"hljs-built_in":{color:"#935c25"},"hljs-builtin-name":{color:"#935c25"},"hljs-literal":{color:"#935c25"},"hljs-type":{color:"#935c25"},"hljs-params":{color:"#935c25"},"hljs-string":{color:"#568c3b"},"hljs-symbol":{color:"#568c3b"},"hljs-bullet":{color:"#568c3b"},"hljs-title":{color:"#257fad"},"hljs-section":{color:"#257fad"},"hljs-keyword":{color:"#6b6bb8"},"hljs-selector-tag":{color:"#6b6bb8"},hljs:{display:"block",overflowX:"auto",background:"#161b1d",color:"#7ea2b4",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},30639:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#5a7b8c"},"hljs-quote":{color:"#5a7b8c"},"hljs-variable":{color:"#d22d72"},"hljs-template-variable":{color:"#d22d72"},"hljs-attribute":{color:"#d22d72"},"hljs-tag":{color:"#d22d72"},"hljs-name":{color:"#d22d72"},"hljs-regexp":{color:"#d22d72"},"hljs-link":{color:"#d22d72"},"hljs-selector-id":{color:"#d22d72"},"hljs-selector-class":{color:"#d22d72"},"hljs-number":{color:"#935c25"},"hljs-meta":{color:"#935c25"},"hljs-built_in":{color:"#935c25"},"hljs-builtin-name":{color:"#935c25"},"hljs-literal":{color:"#935c25"},"hljs-type":{color:"#935c25"},"hljs-params":{color:"#935c25"},"hljs-string":{color:"#568c3b"},"hljs-symbol":{color:"#568c3b"},"hljs-bullet":{color:"#568c3b"},"hljs-title":{color:"#257fad"},"hljs-section":{color:"#257fad"},"hljs-keyword":{color:"#6b6bb8"},"hljs-selector-tag":{color:"#6b6bb8"},hljs:{display:"block",overflowX:"auto",background:"#ebf8ff",color:"#516d7b",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},60333:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7e7777"},"hljs-quote":{color:"#7e7777"},"hljs-variable":{color:"#ca4949"},"hljs-template-variable":{color:"#ca4949"},"hljs-attribute":{color:"#ca4949"},"hljs-tag":{color:"#ca4949"},"hljs-name":{color:"#ca4949"},"hljs-regexp":{color:"#ca4949"},"hljs-link":{color:"#ca4949"},"hljs-selector-id":{color:"#ca4949"},"hljs-selector-class":{color:"#ca4949"},"hljs-number":{color:"#b45a3c"},"hljs-meta":{color:"#b45a3c"},"hljs-built_in":{color:"#b45a3c"},"hljs-builtin-name":{color:"#b45a3c"},"hljs-literal":{color:"#b45a3c"},"hljs-type":{color:"#b45a3c"},"hljs-params":{color:"#b45a3c"},"hljs-string":{color:"#4b8b8b"},"hljs-symbol":{color:"#4b8b8b"},"hljs-bullet":{color:"#4b8b8b"},"hljs-title":{color:"#7272ca"},"hljs-section":{color:"#7272ca"},"hljs-keyword":{color:"#8464c4"},"hljs-selector-tag":{color:"#8464c4"},"hljs-deletion":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#ca4949"},"hljs-addition":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#4b8b8b"},hljs:{display:"block",overflowX:"auto",background:"#1b1818",color:"#8a8585",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},68067:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#655d5d"},"hljs-quote":{color:"#655d5d"},"hljs-variable":{color:"#ca4949"},"hljs-template-variable":{color:"#ca4949"},"hljs-attribute":{color:"#ca4949"},"hljs-tag":{color:"#ca4949"},"hljs-name":{color:"#ca4949"},"hljs-regexp":{color:"#ca4949"},"hljs-link":{color:"#ca4949"},"hljs-selector-id":{color:"#ca4949"},"hljs-selector-class":{color:"#ca4949"},"hljs-number":{color:"#b45a3c"},"hljs-meta":{color:"#b45a3c"},"hljs-built_in":{color:"#b45a3c"},"hljs-builtin-name":{color:"#b45a3c"},"hljs-literal":{color:"#b45a3c"},"hljs-type":{color:"#b45a3c"},"hljs-params":{color:"#b45a3c"},"hljs-string":{color:"#4b8b8b"},"hljs-symbol":{color:"#4b8b8b"},"hljs-bullet":{color:"#4b8b8b"},"hljs-title":{color:"#7272ca"},"hljs-section":{color:"#7272ca"},"hljs-keyword":{color:"#8464c4"},"hljs-selector-tag":{color:"#8464c4"},"hljs-deletion":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#ca4949"},"hljs-addition":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#4b8b8b"},hljs:{display:"block",overflowX:"auto",background:"#f4ecec",color:"#585050",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},30690:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#78877d"},"hljs-quote":{color:"#78877d"},"hljs-variable":{color:"#b16139"},"hljs-template-variable":{color:"#b16139"},"hljs-attribute":{color:"#b16139"},"hljs-tag":{color:"#b16139"},"hljs-name":{color:"#b16139"},"hljs-regexp":{color:"#b16139"},"hljs-link":{color:"#b16139"},"hljs-selector-id":{color:"#b16139"},"hljs-selector-class":{color:"#b16139"},"hljs-number":{color:"#9f713c"},"hljs-meta":{color:"#9f713c"},"hljs-built_in":{color:"#9f713c"},"hljs-builtin-name":{color:"#9f713c"},"hljs-literal":{color:"#9f713c"},"hljs-type":{color:"#9f713c"},"hljs-params":{color:"#9f713c"},"hljs-string":{color:"#489963"},"hljs-symbol":{color:"#489963"},"hljs-bullet":{color:"#489963"},"hljs-title":{color:"#478c90"},"hljs-section":{color:"#478c90"},"hljs-keyword":{color:"#55859b"},"hljs-selector-tag":{color:"#55859b"},"hljs-deletion":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#b16139"},"hljs-addition":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#489963"},hljs:{display:"block",overflowX:"auto",background:"#171c19",color:"#87928a",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},9799:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#5f6d64"},"hljs-quote":{color:"#5f6d64"},"hljs-variable":{color:"#b16139"},"hljs-template-variable":{color:"#b16139"},"hljs-attribute":{color:"#b16139"},"hljs-tag":{color:"#b16139"},"hljs-name":{color:"#b16139"},"hljs-regexp":{color:"#b16139"},"hljs-link":{color:"#b16139"},"hljs-selector-id":{color:"#b16139"},"hljs-selector-class":{color:"#b16139"},"hljs-number":{color:"#9f713c"},"hljs-meta":{color:"#9f713c"},"hljs-built_in":{color:"#9f713c"},"hljs-builtin-name":{color:"#9f713c"},"hljs-literal":{color:"#9f713c"},"hljs-type":{color:"#9f713c"},"hljs-params":{color:"#9f713c"},"hljs-string":{color:"#489963"},"hljs-symbol":{color:"#489963"},"hljs-bullet":{color:"#489963"},"hljs-title":{color:"#478c90"},"hljs-section":{color:"#478c90"},"hljs-keyword":{color:"#55859b"},"hljs-selector-tag":{color:"#55859b"},"hljs-deletion":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#b16139"},"hljs-addition":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#489963"},hljs:{display:"block",overflowX:"auto",background:"#ecf4ee",color:"#526057",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},54900:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#809980"},"hljs-quote":{color:"#809980"},"hljs-variable":{color:"#e6193c"},"hljs-template-variable":{color:"#e6193c"},"hljs-attribute":{color:"#e6193c"},"hljs-tag":{color:"#e6193c"},"hljs-name":{color:"#e6193c"},"hljs-regexp":{color:"#e6193c"},"hljs-link":{color:"#e6193c"},"hljs-selector-id":{color:"#e6193c"},"hljs-selector-class":{color:"#e6193c"},"hljs-number":{color:"#87711d"},"hljs-meta":{color:"#87711d"},"hljs-built_in":{color:"#87711d"},"hljs-builtin-name":{color:"#87711d"},"hljs-literal":{color:"#87711d"},"hljs-type":{color:"#87711d"},"hljs-params":{color:"#87711d"},"hljs-string":{color:"#29a329"},"hljs-symbol":{color:"#29a329"},"hljs-bullet":{color:"#29a329"},"hljs-title":{color:"#3d62f5"},"hljs-section":{color:"#3d62f5"},"hljs-keyword":{color:"#ad2bee"},"hljs-selector-tag":{color:"#ad2bee"},hljs:{display:"block",overflowX:"auto",background:"#131513",color:"#8ca68c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},41983:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#687d68"},"hljs-quote":{color:"#687d68"},"hljs-variable":{color:"#e6193c"},"hljs-template-variable":{color:"#e6193c"},"hljs-attribute":{color:"#e6193c"},"hljs-tag":{color:"#e6193c"},"hljs-name":{color:"#e6193c"},"hljs-regexp":{color:"#e6193c"},"hljs-link":{color:"#e6193c"},"hljs-selector-id":{color:"#e6193c"},"hljs-selector-class":{color:"#e6193c"},"hljs-number":{color:"#87711d"},"hljs-meta":{color:"#87711d"},"hljs-built_in":{color:"#87711d"},"hljs-builtin-name":{color:"#87711d"},"hljs-literal":{color:"#87711d"},"hljs-type":{color:"#87711d"},"hljs-params":{color:"#87711d"},"hljs-string":{color:"#29a329"},"hljs-symbol":{color:"#29a329"},"hljs-bullet":{color:"#29a329"},"hljs-title":{color:"#3d62f5"},"hljs-section":{color:"#3d62f5"},"hljs-keyword":{color:"#ad2bee"},"hljs-selector-tag":{color:"#ad2bee"},hljs:{display:"block",overflowX:"auto",background:"#f4fbf4",color:"#5e6e5e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},61587:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#898ea4"},"hljs-quote":{color:"#898ea4"},"hljs-variable":{color:"#c94922"},"hljs-template-variable":{color:"#c94922"},"hljs-attribute":{color:"#c94922"},"hljs-tag":{color:"#c94922"},"hljs-name":{color:"#c94922"},"hljs-regexp":{color:"#c94922"},"hljs-link":{color:"#c94922"},"hljs-selector-id":{color:"#c94922"},"hljs-selector-class":{color:"#c94922"},"hljs-number":{color:"#c76b29"},"hljs-meta":{color:"#c76b29"},"hljs-built_in":{color:"#c76b29"},"hljs-builtin-name":{color:"#c76b29"},"hljs-literal":{color:"#c76b29"},"hljs-type":{color:"#c76b29"},"hljs-params":{color:"#c76b29"},"hljs-string":{color:"#ac9739"},"hljs-symbol":{color:"#ac9739"},"hljs-bullet":{color:"#ac9739"},"hljs-title":{color:"#3d8fd1"},"hljs-section":{color:"#3d8fd1"},"hljs-keyword":{color:"#6679cc"},"hljs-selector-tag":{color:"#6679cc"},hljs:{display:"block",overflowX:"auto",background:"#202746",color:"#979db4",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},87695:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#6b7394"},"hljs-quote":{color:"#6b7394"},"hljs-variable":{color:"#c94922"},"hljs-template-variable":{color:"#c94922"},"hljs-attribute":{color:"#c94922"},"hljs-tag":{color:"#c94922"},"hljs-name":{color:"#c94922"},"hljs-regexp":{color:"#c94922"},"hljs-link":{color:"#c94922"},"hljs-selector-id":{color:"#c94922"},"hljs-selector-class":{color:"#c94922"},"hljs-number":{color:"#c76b29"},"hljs-meta":{color:"#c76b29"},"hljs-built_in":{color:"#c76b29"},"hljs-builtin-name":{color:"#c76b29"},"hljs-literal":{color:"#c76b29"},"hljs-type":{color:"#c76b29"},"hljs-params":{color:"#c76b29"},"hljs-string":{color:"#ac9739"},"hljs-symbol":{color:"#ac9739"},"hljs-bullet":{color:"#ac9739"},"hljs-title":{color:"#3d8fd1"},"hljs-section":{color:"#3d8fd1"},"hljs-keyword":{color:"#6679cc"},"hljs-selector-tag":{color:"#6679cc"},hljs:{display:"block",overflowX:"auto",background:"#f5f7ff",color:"#5e6687",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},27326:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-keyword":{color:"#F92672"},"hljs-operator":{color:"#F92672"},"hljs-pattern-match":{color:"#F92672"},"hljs-pattern-match .hljs-constructor":{color:"#61aeee"},"hljs-function":{color:"#61aeee"},"hljs-function .hljs-params":{color:"#A6E22E"},"hljs-function .hljs-params .hljs-typing":{color:"#FD971F"},"hljs-module-access .hljs-module":{color:"#7e57c2"},"hljs-constructor":{color:"#e2b93d"},"hljs-constructor .hljs-string":{color:"#9CCC65"},"hljs-comment":{color:"#b18eb1",fontStyle:"italic"},"hljs-quote":{color:"#b18eb1",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},82761:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-comment":{color:"#5c6370",fontStyle:"italic"},"hljs-quote":{color:"#5c6370",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-keyword":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},89061:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#383a42",background:"#fafafa"},"hljs-comment":{color:"#a0a1a7",fontStyle:"italic"},"hljs-quote":{color:"#a0a1a7",fontStyle:"italic"},"hljs-doctag":{color:"#a626a4"},"hljs-keyword":{color:"#a626a4"},"hljs-formula":{color:"#a626a4"},"hljs-section":{color:"#e45649"},"hljs-name":{color:"#e45649"},"hljs-selector-tag":{color:"#e45649"},"hljs-deletion":{color:"#e45649"},"hljs-subst":{color:"#e45649"},"hljs-literal":{color:"#0184bb"},"hljs-string":{color:"#50a14f"},"hljs-regexp":{color:"#50a14f"},"hljs-addition":{color:"#50a14f"},"hljs-attribute":{color:"#50a14f"},"hljs-meta-string":{color:"#50a14f"},"hljs-built_in":{color:"#c18401"},"hljs-class .hljs-title":{color:"#c18401"},"hljs-attr":{color:"#986801"},"hljs-variable":{color:"#986801"},"hljs-template-variable":{color:"#986801"},"hljs-type":{color:"#986801"},"hljs-selector-class":{color:"#986801"},"hljs-selector-attr":{color:"#986801"},"hljs-selector-pseudo":{color:"#986801"},"hljs-number":{color:"#986801"},"hljs-symbol":{color:"#4078f2"},"hljs-bullet":{color:"#4078f2"},"hljs-link":{color:"#4078f2",textDecoration:"underline"},"hljs-meta":{color:"#4078f2"},"hljs-selector-id":{color:"#4078f2"},"hljs-title":{color:"#4078f2"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},38855:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#b7a68e url(./brown-papersq.png)",color:"#363c69"},"hljs-keyword":{color:"#005599",fontWeight:"bold"},"hljs-selector-tag":{color:"#005599",fontWeight:"bold"},"hljs-literal":{color:"#005599",fontWeight:"bold"},"hljs-subst":{color:"#363c69"},"hljs-string":{color:"#2c009f"},"hljs-title":{color:"#2c009f",fontWeight:"bold"},"hljs-section":{color:"#2c009f",fontWeight:"bold"},"hljs-type":{color:"#2c009f",fontWeight:"bold"},"hljs-attribute":{color:"#2c009f"},"hljs-symbol":{color:"#2c009f"},"hljs-bullet":{color:"#2c009f"},"hljs-built_in":{color:"#2c009f"},"hljs-addition":{color:"#2c009f"},"hljs-variable":{color:"#2c009f"},"hljs-template-tag":{color:"#2c009f"},"hljs-template-variable":{color:"#2c009f"},"hljs-link":{color:"#2c009f"},"hljs-name":{color:"#2c009f",fontWeight:"bold"},"hljs-comment":{color:"#802022"},"hljs-quote":{color:"#802022"},"hljs-meta":{color:"#802022"},"hljs-deletion":{color:"#802022"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},76642:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#fff"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-variable":{color:"#ab875d"},"hljs-template-variable":{color:"#ab875d"},"hljs-tag":{color:"#ab875d"},"hljs-regexp":{color:"#ab875d"},"hljs-meta":{color:"#ab875d"},"hljs-number":{color:"#ab875d"},"hljs-built_in":{color:"#ab875d"},"hljs-builtin-name":{color:"#ab875d"},"hljs-literal":{color:"#ab875d"},"hljs-params":{color:"#ab875d"},"hljs-symbol":{color:"#ab875d"},"hljs-bullet":{color:"#ab875d"},"hljs-link":{color:"#ab875d"},"hljs-deletion":{color:"#ab875d"},"hljs-section":{color:"#9b869b"},"hljs-title":{color:"#9b869b"},"hljs-name":{color:"#9b869b"},"hljs-selector-id":{color:"#9b869b"},"hljs-selector-class":{color:"#9b869b"},"hljs-type":{color:"#9b869b"},"hljs-attribute":{color:"#9b869b"},"hljs-string":{color:"#8f9c6c"},"hljs-keyword":{color:"#8f9c6c"},"hljs-selector-tag":{color:"#8f9c6c"},"hljs-addition":{color:"#8f9c6c"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},31475:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"#000"},"hljs-subst":{color:"#000"},"hljs-string":{color:"#756bb1"},"hljs-meta":{color:"#756bb1"},"hljs-symbol":{color:"#756bb1"},"hljs-template-tag":{color:"#756bb1"},"hljs-template-variable":{color:"#756bb1"},"hljs-addition":{color:"#756bb1"},"hljs-comment":{color:"#636363"},"hljs-quote":{color:"#636363"},"hljs-number":{color:"#31a354"},"hljs-regexp":{color:"#31a354"},"hljs-literal":{color:"#31a354"},"hljs-bullet":{color:"#31a354"},"hljs-link":{color:"#31a354"},"hljs-deletion":{color:"#88f"},"hljs-variable":{color:"#88f"},"hljs-keyword":{color:"#3182bd"},"hljs-selector-tag":{color:"#3182bd"},"hljs-title":{color:"#3182bd"},"hljs-section":{color:"#3182bd"},"hljs-built_in":{color:"#3182bd"},"hljs-doctag":{color:"#3182bd"},"hljs-type":{color:"#3182bd"},"hljs-tag":{color:"#3182bd"},"hljs-name":{color:"#3182bd"},"hljs-selector-id":{color:"#3182bd"},"hljs-selector-class":{color:"#3182bd"},"hljs-strong":{color:"#3182bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-attribute":{color:"#e6550d"}};l.default=e},53601:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2b2b2b",color:"#bababa"},"hljs-strong":{color:"#a8a8a2"},"hljs-emphasis":{color:"#a8a8a2",fontStyle:"italic"},"hljs-bullet":{color:"#6896ba"},"hljs-quote":{color:"#6896ba"},"hljs-link":{color:"#6896ba"},"hljs-number":{color:"#6896ba"},"hljs-regexp":{color:"#6896ba"},"hljs-literal":{color:"#6896ba"},"hljs-code":{color:"#a6e22e"},"hljs-selector-class":{color:"#a6e22e"},"hljs-keyword":{color:"#cb7832"},"hljs-selector-tag":{color:"#cb7832"},"hljs-section":{color:"#cb7832"},"hljs-attribute":{color:"#cb7832"},"hljs-name":{color:"#cb7832"},"hljs-variable":{color:"#cb7832"},"hljs-params":{color:"#b9b9b9"},"hljs-string":{color:"#6a8759"},"hljs-subst":{color:"#e0c46c"},"hljs-type":{color:"#e0c46c"},"hljs-built_in":{color:"#e0c46c"},"hljs-builtin-name":{color:"#e0c46c"},"hljs-symbol":{color:"#e0c46c"},"hljs-selector-id":{color:"#e0c46c"},"hljs-selector-attr":{color:"#e0c46c"},"hljs-selector-pseudo":{color:"#e0c46c"},"hljs-template-tag":{color:"#e0c46c"},"hljs-template-variable":{color:"#e0c46c"},"hljs-addition":{color:"#e0c46c"},"hljs-comment":{color:"#7f7f7f"},"hljs-deletion":{color:"#7f7f7f"},"hljs-meta":{color:"#7f7f7f"}};l.default=e},73537:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#444",color:"#ddd"},"hljs-keyword":{color:"white",fontWeight:"bold"},"hljs-selector-tag":{color:"white",fontWeight:"bold"},"hljs-literal":{color:"white",fontWeight:"bold"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-link":{color:"white"},"hljs-subst":{color:"#ddd"},"hljs-string":{color:"#d88"},"hljs-title":{color:"#d88",fontWeight:"bold"},"hljs-name":{color:"#d88",fontWeight:"bold"},"hljs-type":{color:"#d88",fontWeight:"bold"},"hljs-attribute":{color:"#d88"},"hljs-symbol":{color:"#d88"},"hljs-bullet":{color:"#d88"},"hljs-built_in":{color:"#d88"},"hljs-addition":{color:"#d88"},"hljs-variable":{color:"#d88"},"hljs-template-tag":{color:"#d88"},"hljs-template-variable":{color:"#d88"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-deletion":{color:"#777"},"hljs-meta":{color:"#777"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},11327:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},39265:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#f8f8ff"},"hljs-comment":{color:"#408080",fontStyle:"italic"},"hljs-quote":{color:"#408080",fontStyle:"italic"},"hljs-keyword":{color:"#954121"},"hljs-selector-tag":{color:"#954121"},"hljs-literal":{color:"#954121"},"hljs-subst":{color:"#954121"},"hljs-number":{color:"#40a070"},"hljs-string":{color:"#219161"},"hljs-doctag":{color:"#219161"},"hljs-selector-id":{color:"#19469d"},"hljs-selector-class":{color:"#19469d"},"hljs-section":{color:"#19469d"},"hljs-type":{color:"#19469d"},"hljs-params":{color:"#00f"},"hljs-title":{color:"#458",fontWeight:"bold"},"hljs-tag":{color:"#000080",fontWeight:"normal"},"hljs-name":{color:"#000080",fontWeight:"normal"},"hljs-attribute":{color:"#000080",fontWeight:"normal"},"hljs-variable":{color:"#008080"},"hljs-template-variable":{color:"#008080"},"hljs-regexp":{color:"#b68"},"hljs-link":{color:"#b68"},"hljs-symbol":{color:"#990073"},"hljs-bullet":{color:"#990073"},"hljs-built_in":{color:"#0086b3"},"hljs-builtin-name":{color:"#0086b3"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{background:"#fdd"},"hljs-addition":{background:"#dfd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},56822:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282a36",color:"#f8f8f2"},"hljs-keyword":{color:"#8be9fd",fontWeight:"bold"},"hljs-selector-tag":{color:"#8be9fd",fontWeight:"bold"},"hljs-literal":{color:"#8be9fd",fontWeight:"bold"},"hljs-section":{color:"#8be9fd",fontWeight:"bold"},"hljs-link":{color:"#8be9fd"},"hljs-function .hljs-keyword":{color:"#ff79c6"},"hljs-subst":{color:"#f8f8f2"},"hljs-string":{color:"#f1fa8c"},"hljs-title":{color:"#f1fa8c",fontWeight:"bold"},"hljs-name":{color:"#f1fa8c",fontWeight:"bold"},"hljs-type":{color:"#f1fa8c",fontWeight:"bold"},"hljs-attribute":{color:"#f1fa8c"},"hljs-symbol":{color:"#f1fa8c"},"hljs-bullet":{color:"#f1fa8c"},"hljs-addition":{color:"#f1fa8c"},"hljs-variable":{color:"#f1fa8c"},"hljs-template-tag":{color:"#f1fa8c"},"hljs-template-variable":{color:"#f1fa8c"},"hljs-comment":{color:"#6272a4"},"hljs-quote":{color:"#6272a4"},"hljs-deletion":{color:"#6272a4"},"hljs-meta":{color:"#6272a4"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},42254:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000080",color:"#0ff"},"hljs-subst":{color:"#0ff"},"hljs-string":{color:"#ff0"},"hljs-attribute":{color:"#ff0"},"hljs-symbol":{color:"#ff0"},"hljs-bullet":{color:"#ff0"},"hljs-built_in":{color:"#ff0"},"hljs-builtin-name":{color:"#ff0"},"hljs-template-tag":{color:"#ff0"},"hljs-template-variable":{color:"#ff0"},"hljs-addition":{color:"#ff0"},"hljs-keyword":{color:"#fff",fontWeight:"bold"},"hljs-selector-tag":{color:"#fff",fontWeight:"bold"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-type":{color:"#fff"},"hljs-name":{color:"#fff",fontWeight:"bold"},"hljs-selector-id":{color:"#fff"},"hljs-selector-class":{color:"#fff"},"hljs-variable":{color:"#fff"},"hljs-comment":{color:"#888"},"hljs-quote":{color:"#888"},"hljs-doctag":{color:"#888"},"hljs-deletion":{color:"#888"},"hljs-number":{color:"#0f0"},"hljs-regexp":{color:"#0f0"},"hljs-literal":{color:"#0f0"},"hljs-link":{color:"#0f0"},"hljs-meta":{color:"#008080"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},93028:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#eee",color:"black"},"hljs-link":{color:"#070"},"hljs-emphasis":{color:"#070",fontStyle:"italic"},"hljs-attribute":{color:"#070"},"hljs-addition":{color:"#070"},"hljs-strong":{color:"#d14",fontWeight:"bold"},"hljs-string":{color:"#d14"},"hljs-deletion":{color:"#d14"},"hljs-quote":{color:"#998",fontStyle:"italic"},"hljs-comment":{color:"#998",fontStyle:"italic"},"hljs-section":{color:"#900"},"hljs-title":{color:"#900"},"hljs-class .hljs-title":{color:"#458"},"hljs-type":{color:"#458"},"hljs-variable":{color:"#336699"},"hljs-template-variable":{color:"#336699"},"hljs-bullet":{color:"#997700"},"hljs-meta":{color:"#3344bb"},"hljs-code":{color:"#099"},"hljs-number":{color:"#099"},"hljs-literal":{color:"#099"},"hljs-keyword":{color:"#099"},"hljs-selector-tag":{color:"#099"},"hljs-regexp":{backgroundColor:"#fff0ff",color:"#880088"},"hljs-symbol":{color:"#990073"},"hljs-tag":{color:"#007700"},"hljs-name":{color:"#007700"},"hljs-selector-id":{color:"#007700"},"hljs-selector-class":{color:"#007700"}};l.default=e},58504:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",background:"white",padding:"0.5em",color:"#333333",overflowX:"auto"},"hljs-comment":{color:"#969896"},"hljs-meta":{color:"#969896"},"hljs-variable":{color:"#df5000"},"hljs-template-variable":{color:"#df5000"},"hljs-strong":{color:"#df5000"},"hljs-emphasis":{color:"#df5000"},"hljs-quote":{color:"#df5000"},"hljs-keyword":{color:"#d73a49"},"hljs-selector-tag":{color:"#d73a49"},"hljs-type":{color:"#d73a49"},"hljs-literal":{color:"#0086b3"},"hljs-symbol":{color:"#0086b3"},"hljs-bullet":{color:"#0086b3"},"hljs-attribute":{color:"#0086b3"},"hljs-section":{color:"#63a35c"},"hljs-name":{color:"#63a35c"},"hljs-tag":{color:"#333333"},"hljs-title":{color:"#6f42c1"},"hljs-attr":{color:"#6f42c1"},"hljs-selector-id":{color:"#6f42c1"},"hljs-selector-class":{color:"#6f42c1"},"hljs-selector-attr":{color:"#6f42c1"},"hljs-selector-pseudo":{color:"#6f42c1"},"hljs-addition":{color:"#55a532",backgroundColor:"#eaffea"},"hljs-deletion":{color:"#bd2c00",backgroundColor:"#ffecec"},"hljs-link":{textDecoration:"underline"},"hljs-number":{color:"#005cc5"},"hljs-string":{color:"#032f62"}};l.default=e},120:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#333",background:"#f8f8f8"},"hljs-comment":{color:"#998",fontStyle:"italic"},"hljs-quote":{color:"#998",fontStyle:"italic"},"hljs-keyword":{color:"#333",fontWeight:"bold"},"hljs-selector-tag":{color:"#333",fontWeight:"bold"},"hljs-subst":{color:"#333",fontWeight:"normal"},"hljs-number":{color:"#008080"},"hljs-literal":{color:"#008080"},"hljs-variable":{color:"#008080"},"hljs-template-variable":{color:"#008080"},"hljs-tag .hljs-attr":{color:"#008080"},"hljs-string":{color:"#d14"},"hljs-doctag":{color:"#d14"},"hljs-title":{color:"#900",fontWeight:"bold"},"hljs-section":{color:"#900",fontWeight:"bold"},"hljs-selector-id":{color:"#900",fontWeight:"bold"},"hljs-type":{color:"#458",fontWeight:"bold"},"hljs-class .hljs-title":{color:"#458",fontWeight:"bold"},"hljs-tag":{color:"#000080",fontWeight:"normal"},"hljs-name":{color:"#000080",fontWeight:"normal"},"hljs-attribute":{color:"#000080",fontWeight:"normal"},"hljs-regexp":{color:"#009926"},"hljs-link":{color:"#009926"},"hljs-symbol":{color:"#990073"},"hljs-bullet":{color:"#990073"},"hljs-built_in":{color:"#0086b3"},"hljs-builtin-name":{color:"#0086b3"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{background:"#fdd"},"hljs-addition":{background:"#dfd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},96038:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222222",color:"#C0C0C0"},"hljs-keyword":{color:"#FFB871",fontWeight:"bold"},"hljs-built_in":{color:"#FFB871"},"hljs-literal":{color:"#FF8080"},"hljs-symbol":{color:"#58E55A"},"hljs-comment":{color:"#5B995B"},"hljs-string":{color:"#FFFF00"},"hljs-number":{color:"#FF8080"},"hljs-attribute":{color:"#C0C0C0"},"hljs-selector-tag":{color:"#C0C0C0"},"hljs-doctag":{color:"#C0C0C0"},"hljs-name":{color:"#C0C0C0"},"hljs-bullet":{color:"#C0C0C0"},"hljs-code":{color:"#C0C0C0"},"hljs-addition":{color:"#C0C0C0"},"hljs-regexp":{color:"#C0C0C0"},"hljs-variable":{color:"#C0C0C0"},"hljs-template-variable":{color:"#C0C0C0"},"hljs-link":{color:"#C0C0C0"},"hljs-selector-attr":{color:"#C0C0C0"},"hljs-selector-pseudo":{color:"#C0C0C0"},"hljs-type":{color:"#C0C0C0"},"hljs-selector-id":{color:"#C0C0C0"},"hljs-selector-class":{color:"#C0C0C0"},"hljs-quote":{color:"#C0C0C0"},"hljs-template-tag":{color:"#C0C0C0"},"hljs-deletion":{color:"#C0C0C0"},"hljs-title":{color:"#C0C0C0"},"hljs-section":{color:"#C0C0C0"},"hljs-function":{color:"#C0C0C0"},"hljs-meta-keyword":{color:"#C0C0C0"},"hljs-meta":{color:"#C0C0C0"},"hljs-subst":{color:"#C0C0C0"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},76756:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-comment":{color:"#800"},"hljs-quote":{color:"#800"},"hljs-keyword":{color:"#008"},"hljs-selector-tag":{color:"#008"},"hljs-section":{color:"#008"},"hljs-title":{color:"#606"},"hljs-name":{color:"#008"},"hljs-variable":{color:"#660"},"hljs-template-variable":{color:"#660"},"hljs-string":{color:"#080"},"hljs-selector-attr":{color:"#080"},"hljs-selector-pseudo":{color:"#080"},"hljs-regexp":{color:"#080"},"hljs-literal":{color:"#066"},"hljs-symbol":{color:"#066"},"hljs-bullet":{color:"#066"},"hljs-meta":{color:"#066"},"hljs-number":{color:"#066"},"hljs-link":{color:"#066"},"hljs-doctag":{color:"#606",fontWeight:"bold"},"hljs-type":{color:"#606"},"hljs-attr":{color:"#606"},"hljs-built_in":{color:"#606"},"hljs-builtin-name":{color:"#606"},"hljs-params":{color:"#606"},"hljs-attribute":{color:"#000"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-selector-id":{color:"#9B703F"},"hljs-selector-class":{color:"#9B703F"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},26918:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"linear-gradient(166deg, rgba(80,31,122,1) 0%, rgba(40,32,179,1) 80%)",color:"#e7e4eb"},"hljs-subtr":{color:"#e7e4eb"},"hljs-doctag":{color:"#af8dd9"},"hljs-meta":{color:"#af8dd9"},"hljs-comment":{color:"#af8dd9"},"hljs-quote":{color:"#af8dd9",fontStyle:"italic"},"hljs-selector-tag":{color:"#AEFBFF",fontWeight:"bold"},"hljs-selector-id":{color:"#AEFBFF",fontWeight:"bold"},"hljs-template-tag":{color:"#AEFBFF",fontWeight:"bold"},"hljs-regexp":{color:"#AEFBFF"},"hljs-attr":{color:"#AEFBFF"},"hljs-tag":{color:"#AEFBFF"},"hljs-params":{color:"#F19FFF",fontWeight:"bold"},"hljs-selector-class":{color:"#F19FFF",fontWeight:"bold"},"hljs-bullet":{color:"#F19FFF"},"hljs-keyword":{color:"#17fc95",fontWeight:"bold"},"hljs-section":{color:"#17fc95",fontWeight:"bold"},"hljs-meta-keyword":{color:"#17fc95"},"hljs-symbol":{color:"#17fc95"},"hljs-type":{color:"#17fc95"},"hljs-addition":{color:"#E7FF9F"},"hljs-number":{color:"#C5FE00"},"hljs-link":{color:"#C5FE00"},"hljs-string":{color:"#38c0ff"},"hljs-attribute":{color:"#E7FF9F"},"hljs-variable":{color:"#E447FF"},"hljs-template-variable":{color:"#E447FF"},"hljs-builtin-name":{color:"#FFC800"},"hljs-built_in":{color:"#FFC800"},"hljs-formula":{color:"#FFC800"},"hljs-name":{color:"#FFC800"},"hljs-title":{color:"#FFC800"},"hljs-class":{color:"#FFC800"},"hljs-function":{color:"#FFC800"},"hljs-selector-pseudo":{color:"#FF9E44"},"hljs-deletion":{color:"#FF9E44"},"hljs-literal":{color:"#FF9E44"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},12560:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"linear-gradient(142deg, rgba(255,253,141,1) 0%, rgba(252,183,255,1) 35%, rgba(144,236,255,1) 100%)",color:"#250482"},"hljs-subtr":{color:"#01958B"},"hljs-doctag":{color:"#CB7200"},"hljs-meta":{color:"#CB7200"},"hljs-comment":{color:"#CB7200"},"hljs-quote":{color:"#CB7200",fontStyle:"italic"},"hljs-selector-tag":{color:"#07BD5F",fontWeight:"bold"},"hljs-selector-id":{color:"#07BD5F",fontWeight:"bold"},"hljs-template-tag":{color:"#07BD5F",fontWeight:"bold"},"hljs-regexp":{color:"#07BD5F"},"hljs-attr":{color:"#07BD5F"},"hljs-tag":{color:"#07BD5F"},"hljs-params":{color:"#43449F",fontWeight:"bold"},"hljs-selector-class":{color:"#43449F",fontWeight:"bold"},"hljs-bullet":{color:"#43449F"},"hljs-keyword":{color:"#7D2801",fontWeight:"bold"},"hljs-section":{color:"#7D2801",fontWeight:"bold"},"hljs-meta-keyword":{color:"#7D2801"},"hljs-symbol":{color:"#7D2801"},"hljs-type":{color:"#7D2801"},"hljs-addition":{color:"#296562"},"hljs-number":{color:"#7F0096"},"hljs-link":{color:"#7F0096"},"hljs-string":{color:"#38c0ff"},"hljs-attribute":{color:"#296562"},"hljs-variable":{color:"#025C8F"},"hljs-template-variable":{color:"#025C8F"},"hljs-builtin-name":{color:"#529117"},"hljs-built_in":{color:"#529117"},"hljs-formula":{color:"#529117"},"hljs-name":{color:"#529117"},"hljs-title":{color:"#529117"},"hljs-class":{color:"#529117"},"hljs-function":{color:"#529117"},"hljs-selector-pseudo":{color:"#AD13FF"},"hljs-deletion":{color:"#AD13FF"},"hljs-literal":{color:"#AD13FF"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},77733:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#333",background:"#fff"},"hljs-comment":{color:"#777",fontStyle:"italic"},"hljs-quote":{color:"#777",fontStyle:"italic"},"hljs-keyword":{color:"#333",fontWeight:"bold"},"hljs-selector-tag":{color:"#333",fontWeight:"bold"},"hljs-subst":{color:"#333",fontWeight:"normal"},"hljs-number":{color:"#777"},"hljs-literal":{color:"#777"},"hljs-string":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat"},"hljs-doctag":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat"},"hljs-formula":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat"},"hljs-title":{color:"#000",fontWeight:"bold"},"hljs-section":{color:"#000",fontWeight:"bold"},"hljs-selector-id":{color:"#000",fontWeight:"bold"},"hljs-class .hljs-title":{color:"#333",fontWeight:"bold"},"hljs-type":{color:"#333",fontWeight:"bold"},"hljs-name":{color:"#333",fontWeight:"bold"},"hljs-tag":{color:"#333"},"hljs-regexp":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat"},"hljs-symbol":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat"},"hljs-bullet":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat"},"hljs-link":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat"},"hljs-built_in":{color:"#000",textDecoration:"underline"},"hljs-builtin-name":{color:"#000",textDecoration:"underline"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{color:"#fff",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat"},"hljs-addition":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},91587:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282828",color:"#ebdbb2"},"hljs-subst":{color:"#ebdbb2"},"hljs-deletion":{color:"#fb4934"},"hljs-formula":{color:"#fb4934"},"hljs-keyword":{color:"#fb4934"},"hljs-link":{color:"#fb4934"},"hljs-selector-tag":{color:"#fb4934"},"hljs-built_in":{color:"#83a598"},"hljs-emphasis":{color:"#83a598",fontStyle:"italic"},"hljs-name":{color:"#83a598"},"hljs-quote":{color:"#83a598"},"hljs-strong":{color:"#83a598",fontWeight:"bold"},"hljs-title":{color:"#83a598"},"hljs-variable":{color:"#83a598"},"hljs-attr":{color:"#fabd2f"},"hljs-params":{color:"#fabd2f"},"hljs-template-tag":{color:"#fabd2f"},"hljs-type":{color:"#fabd2f"},"hljs-builtin-name":{color:"#8f3f71"},"hljs-doctag":{color:"#8f3f71"},"hljs-literal":{color:"#d3869b"},"hljs-number":{color:"#d3869b"},"hljs-code":{color:"#fe8019"},"hljs-meta":{color:"#fe8019"},"hljs-regexp":{color:"#fe8019"},"hljs-selector-id":{color:"#fe8019"},"hljs-template-variable":{color:"#fe8019"},"hljs-addition":{color:"#b8bb26"},"hljs-meta-string":{color:"#b8bb26"},"hljs-section":{color:"#b8bb26",fontWeight:"bold"},"hljs-selector-attr":{color:"#b8bb26"},"hljs-selector-class":{color:"#b8bb26"},"hljs-string":{color:"#b8bb26"},"hljs-symbol":{color:"#b8bb26"},"hljs-attribute":{color:"#8ec07c"},"hljs-bullet":{color:"#8ec07c"},"hljs-class":{color:"#8ec07c"},"hljs-function":{color:"#8ec07c"},"hljs-function .hljs-keyword":{color:"#8ec07c"},"hljs-meta-keyword":{color:"#8ec07c"},"hljs-selector-pseudo":{color:"#8ec07c"},"hljs-tag":{color:"#8ec07c",fontWeight:"bold"},"hljs-comment":{color:"#928374",fontStyle:"italic"},"hljs-link_label":{color:"#d3869b"}};l.default=e},6862:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fbf1c7",color:"#3c3836"},"hljs-subst":{color:"#3c3836"},"hljs-deletion":{color:"#9d0006"},"hljs-formula":{color:"#9d0006"},"hljs-keyword":{color:"#9d0006"},"hljs-link":{color:"#9d0006"},"hljs-selector-tag":{color:"#9d0006"},"hljs-built_in":{color:"#076678"},"hljs-emphasis":{color:"#076678",fontStyle:"italic"},"hljs-name":{color:"#076678"},"hljs-quote":{color:"#076678"},"hljs-strong":{color:"#076678",fontWeight:"bold"},"hljs-title":{color:"#076678"},"hljs-variable":{color:"#076678"},"hljs-attr":{color:"#b57614"},"hljs-params":{color:"#b57614"},"hljs-template-tag":{color:"#b57614"},"hljs-type":{color:"#b57614"},"hljs-builtin-name":{color:"#8f3f71"},"hljs-doctag":{color:"#8f3f71"},"hljs-literal":{color:"#8f3f71"},"hljs-number":{color:"#8f3f71"},"hljs-code":{color:"#af3a03"},"hljs-meta":{color:"#af3a03"},"hljs-regexp":{color:"#af3a03"},"hljs-selector-id":{color:"#af3a03"},"hljs-template-variable":{color:"#af3a03"},"hljs-addition":{color:"#79740e"},"hljs-meta-string":{color:"#79740e"},"hljs-section":{color:"#79740e",fontWeight:"bold"},"hljs-selector-attr":{color:"#79740e"},"hljs-selector-class":{color:"#79740e"},"hljs-string":{color:"#79740e"},"hljs-symbol":{color:"#79740e"},"hljs-attribute":{color:"#427b58"},"hljs-bullet":{color:"#427b58"},"hljs-class":{color:"#427b58"},"hljs-function":{color:"#427b58"},"hljs-function .hljs-keyword":{color:"#427b58"},"hljs-meta-keyword":{color:"#427b58"},"hljs-selector-pseudo":{color:"#427b58"},"hljs-tag":{color:"#427b58",fontWeight:"bold"},"hljs-comment":{color:"#928374",fontStyle:"italic"},"hljs-link_label":{color:"#8f3f71"}};l.default=e},95302:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#989498"},"hljs-quote":{color:"#989498"},"hljs-variable":{color:"#dd464c"},"hljs-template-variable":{color:"#dd464c"},"hljs-attribute":{color:"#dd464c"},"hljs-tag":{color:"#dd464c"},"hljs-name":{color:"#dd464c"},"hljs-selector-id":{color:"#dd464c"},"hljs-selector-class":{color:"#dd464c"},"hljs-regexp":{color:"#dd464c"},"hljs-link":{color:"#dd464c"},"hljs-deletion":{color:"#dd464c"},"hljs-number":{color:"#fd8b19"},"hljs-built_in":{color:"#fd8b19"},"hljs-builtin-name":{color:"#fd8b19"},"hljs-literal":{color:"#fd8b19"},"hljs-type":{color:"#fd8b19"},"hljs-params":{color:"#fd8b19"},"hljs-class .hljs-title":{color:"#fdcc59"},"hljs-string":{color:"#8fc13e"},"hljs-symbol":{color:"#8fc13e"},"hljs-bullet":{color:"#8fc13e"},"hljs-addition":{color:"#8fc13e"},"hljs-meta":{color:"#149b93"},"hljs-function":{color:"#1290bf"},"hljs-section":{color:"#1290bf"},"hljs-title":{color:"#1290bf"},"hljs-keyword":{color:"#c85e7c"},"hljs-selector-tag":{color:"#c85e7c"},hljs:{display:"block",overflowX:"auto",background:"#322931",color:"#b9b5b8",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},54717:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#1d1f21",color:"#c5c8c6"},"hljs::selection":{background:"#373b41"},"hljs span::selection":{background:"#373b41"},"hljs::-moz-selection":{background:"#373b41"},"hljs span::-moz-selection":{background:"#373b41"},"hljs-title":{color:"#f0c674"},"hljs-name":{color:"#f0c674"},"hljs-comment":{color:"#707880"},"hljs-meta":{color:"#707880"},"hljs-meta .hljs-keyword":{color:"#707880"},"hljs-number":{color:"#cc6666"},"hljs-symbol":{color:"#cc6666"},"hljs-literal":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-link":{color:"#cc6666"},"hljs-string":{color:"#b5bd68"},"hljs-doctag":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-regexp":{color:"#b5bd68"},"hljs-selector-attr":{color:"#b5bd68"},"hljs-selector-pseudo":{color:"#b5bd68"},"hljs-attribute":{color:"#b294bb"},"hljs-code":{color:"#b294bb"},"hljs-selector-id":{color:"#b294bb"},"hljs-keyword":{color:"#81a2be"},"hljs-selector-tag":{color:"#81a2be"},"hljs-bullet":{color:"#81a2be"},"hljs-tag":{color:"#81a2be"},"hljs-subst":{color:"#8abeb7"},"hljs-variable":{color:"#8abeb7"},"hljs-template-tag":{color:"#8abeb7"},"hljs-template-variable":{color:"#8abeb7"},"hljs-type":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-quote":{color:"#de935f"},"hljs-section":{color:"#de935f"},"hljs-selector-class":{color:"#de935f"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},88191:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#fff"},"hljs-subst":{fontWeight:"normal",color:"#000"},"hljs-title":{fontWeight:"normal",color:"#000"},"hljs-comment":{color:"#808080",fontStyle:"italic"},"hljs-quote":{color:"#808080",fontStyle:"italic"},"hljs-meta":{color:"#808000"},"hljs-tag":{background:"#efefef"},"hljs-section":{fontWeight:"bold",color:"#000080"},"hljs-name":{fontWeight:"bold",color:"#000080"},"hljs-literal":{fontWeight:"bold",color:"#000080"},"hljs-keyword":{fontWeight:"bold",color:"#000080"},"hljs-selector-tag":{fontWeight:"bold",color:"#000080"},"hljs-type":{fontWeight:"bold",color:"#000080"},"hljs-selector-id":{fontWeight:"bold",color:"#000080"},"hljs-selector-class":{fontWeight:"bold",color:"#000080"},"hljs-attribute":{fontWeight:"bold",color:"#0000ff"},"hljs-number":{fontWeight:"normal",color:"#0000ff"},"hljs-regexp":{fontWeight:"normal",color:"#0000ff"},"hljs-link":{fontWeight:"normal",color:"#0000ff"},"hljs-string":{color:"#008000",fontWeight:"bold"},"hljs-symbol":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-bullet":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-formula":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-doctag":{textDecoration:"underline"},"hljs-variable":{color:"#660e7a"},"hljs-template-variable":{color:"#660e7a"},"hljs-addition":{background:"#baeeba"},"hljs-deletion":{background:"#ffc8bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},26671:function(r,l,e){var t,c=e(64836);t={value:!0},t={enumerable:!0,get:function(){return K.default}},t={enumerable:!0,get:function(){return M.default}},t={enumerable:!0,get:function(){return sl.default}},t={enumerable:!0,get:function(){return G.default}},t={enumerable:!0,get:function(){return Q.default}},t={enumerable:!0,get:function(){return bl.default}},t={enumerable:!0,get:function(){return Y.default}},t={enumerable:!0,get:function(){return al.default}},t={enumerable:!0,get:function(){return gl.default}},t={enumerable:!0,get:function(){return hl.default}},t={enumerable:!0,get:function(){return ml.default}},t={enumerable:!0,get:function(){return q.default}},t={enumerable:!0,get:function(){return pl.default}},t={enumerable:!0,get:function(){return el.default}},t={enumerable:!0,get:function(){return x.default}},t={enumerable:!0,get:function(){return O.default}},t={enumerable:!0,get:function(){return vl.default}},t={enumerable:!0,get:function(){return _l.default}},t={enumerable:!0,get:function(){return yl.default}},t={enumerable:!0,get:function(){return kl.default}},t={enumerable:!0,get:function(){return Cl.default}},t={enumerable:!0,get:function(){return nl.default}},t={enumerable:!0,get:function(){return il.default}},t={enumerable:!0,get:function(){return $.default}},t={enumerable:!0,get:function(){return jl.default}},t={enumerable:!0,get:function(){return Al.default}},t={enumerable:!0,get:function(){return Sl.default}},t={enumerable:!0,get:function(){return tl.default}},t={enumerable:!0,get:function(){return a.default}},t={enumerable:!0,get:function(){return wl.default}},t={enumerable:!0,get:function(){return b.default}},t={enumerable:!0,get:function(){return p.default}},t={enumerable:!0,get:function(){return f.default}},t={enumerable:!0,get:function(){return u.default}},t={enumerable:!0,get:function(){return E.default}},t={enumerable:!0,get:function(){return _.default}},t={enumerable:!0,get:function(){return o.default}},t={enumerable:!0,get:function(){return n.default}},t={enumerable:!0,get:function(){return i.default}},t={enumerable:!0,get:function(){return h.default}},t={enumerable:!0,get:function(){return j.default}},t={enumerable:!0,get:function(){return m.default}},t={enumerable:!0,get:function(){return d.default}},t={enumerable:!0,get:function(){return g.default}},t={enumerable:!0,get:function(){return C.default}},t={enumerable:!0,get:function(){return B.default}},t={enumerable:!0,get:function(){return v.default}},t={enumerable:!0,get:function(){return y.default}},t={enumerable:!0,get:function(){return A.default}},t={enumerable:!0,get:function(){return w.default}},t={enumerable:!0,get:function(){return X.default}},t={enumerable:!0,get:function(){return U.default}},t={enumerable:!0,get:function(){return k.default}},t={enumerable:!0,get:function(){return P.default}},t={enumerable:!0,get:function(){return L.default}},t={enumerable:!0,get:function(){return I.default}},t={enumerable:!0,get:function(){return cl.default}},t={enumerable:!0,get:function(){return F.default}},t={enumerable:!0,get:function(){return W.default}},t={enumerable:!0,get:function(){return S.default}},t={enumerable:!0,get:function(){return R.default}},t={enumerable:!0,get:function(){return V.default}},t={enumerable:!0,get:function(){return N.default}},t={enumerable:!0,get:function(){return z.default}},t={enumerable:!0,get:function(){return T.default}},t={enumerable:!0,get:function(){return H.default}},t={enumerable:!0,get:function(){return D.default}},t={enumerable:!0,get:function(){return Z.default}},t={enumerable:!0,get:function(){return dl.default}},t={enumerable:!0,get:function(){return rl.default}},t={enumerable:!0,get:function(){return ll.default}},t={enumerable:!0,get:function(){return J.default}},t={enumerable:!0,get:function(){return ol.default}},t={enumerable:!0,get:function(){return fl.default}},t={enumerable:!0,get:function(){return Wl.default}},t={enumerable:!0,get:function(){return Bl.default}},t={enumerable:!0,get:function(){return Fl.default}},t={enumerable:!0,get:function(){return Ol.default}},t={enumerable:!0,get:function(){return ul.default}},t={enumerable:!0,get:function(){return El.default}},t={enumerable:!0,get:function(){return Dl.default}},t={enumerable:!0,get:function(){return Pl.default}},t={enumerable:!0,get:function(){return Nl.default}},t={enumerable:!0,get:function(){return Ml.default}},t={enumerable:!0,get:function(){return Xl.default}},t={enumerable:!0,get:function(){return Ll.default}},t={enumerable:!0,get:function(){return Il.default}},t={enumerable:!0,get:function(){return Vl.default}},t={enumerable:!0,get:function(){return Ul.default}},t={enumerable:!0,get:function(){return Tl.default}},t={enumerable:!0,get:function(){return $l.default}},t={enumerable:!0,get:function(){return Ql.default}},t={enumerable:!0,get:function(){return zl.default}},Object.defineProperty(l,"BV",{enumerable:!0,get:function(){return Zl.default}}),t={enumerable:!0,get:function(){return Rl.default}},t={enumerable:!0,get:function(){return Hl.default}},t={enumerable:!0,get:function(){return Jl.default}};var K=c(e(58281)),M=c(e(32897)),sl=c(e(65906)),G=c(e(20444)),Q=c(e(27048)),bl=c(e(41546)),Y=c(e(35132)),al=c(e(19895)),gl=c(e(20977)),hl=c(e(67298)),ml=c(e(82468)),q=c(e(59676)),pl=c(e(12105)),el=c(e(87629)),x=c(e(68414)),O=c(e(49219)),vl=c(e(30288)),_l=c(e(77551)),yl=c(e(23532)),kl=c(e(30639)),Cl=c(e(60333)),nl=c(e(68067)),il=c(e(30690)),$=c(e(9799)),jl=c(e(54900)),Al=c(e(41983)),Sl=c(e(61587)),tl=c(e(87695)),wl=c(e(27326)),a=c(e(82761)),b=c(e(89061)),p=c(e(38855)),f=c(e(76642)),u=c(e(31475)),E=c(e(53601)),_=c(e(73537)),o=c(e(11327)),n=c(e(39265)),i=c(e(56822)),h=c(e(42254)),j=c(e(93028)),d=c(e(58504)),m=c(e(120)),g=c(e(96038)),C=c(e(76756)),B=c(e(26918)),v=c(e(12560)),y=c(e(77733)),A=c(e(91587)),w=c(e(6862)),X=c(e(95302)),U=c(e(54717)),k=c(e(88191)),P=c(e(71716)),L=c(e(84775)),I=c(e(2499)),cl=c(e(55672)),F=c(e(80807)),W=c(e(85188)),S=c(e(21941)),R=c(e(14123)),V=c(e(46192)),z=c(e(69433)),N=c(e(65599)),T=c(e(67540)),D=c(e(16249)),H=c(e(72798)),Z=c(e(35489)),dl=c(e(22891)),rl=c(e(15342)),ll=c(e(75095)),J=c(e(3127)),ol=c(e(62634)),fl=c(e(33554)),Wl=c(e(55786)),Bl=c(e(37467)),Fl=c(e(81416)),Ol=c(e(81027)),ul=c(e(22525)),El=c(e(55252)),Dl=c(e(10974)),Pl=c(e(6375)),Nl=c(e(86597)),Ml=c(e(42759)),Xl=c(e(89452)),Ll=c(e(24146)),Il=c(e(98556)),Tl=c(e(37700)),$l=c(e(47075)),Ql=c(e(79241)),Ul=c(e(8787)),Vl=c(e(50619)),zl=c(e(76021)),Zl=c(e(58044)),Rl=c(e(4142)),Hl=c(e(2665)),Jl=c(e(35661))},71716:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000",color:"#f8f8f8"},"hljs-comment":{color:"#7c7c7c"},"hljs-quote":{color:"#7c7c7c"},"hljs-meta":{color:"#7c7c7c"},"hljs-keyword":{color:"#96cbfe"},"hljs-selector-tag":{color:"#96cbfe"},"hljs-tag":{color:"#96cbfe"},"hljs-name":{color:"#96cbfe"},"hljs-attribute":{color:"#ffffb6"},"hljs-selector-id":{color:"#ffffb6"},"hljs-string":{color:"#a8ff60"},"hljs-selector-attr":{color:"#a8ff60"},"hljs-selector-pseudo":{color:"#a8ff60"},"hljs-addition":{color:"#a8ff60"},"hljs-subst":{color:"#daefa3"},"hljs-regexp":{color:"#e9c062"},"hljs-link":{color:"#e9c062"},"hljs-title":{color:"#ffffb6"},"hljs-section":{color:"#ffffb6"},"hljs-type":{color:"#ffffb6"},"hljs-doctag":{color:"#ffffb6"},"hljs-symbol":{color:"#c6c5fe"},"hljs-bullet":{color:"#c6c5fe"},"hljs-variable":{color:"#c6c5fe"},"hljs-template-variable":{color:"#c6c5fe"},"hljs-literal":{color:"#c6c5fe"},"hljs-number":{color:"#ff73fd"},"hljs-deletion":{color:"#ff73fd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},84775:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#404040",color:"#f0f0f0"},"hljs-subst":{color:"#f0f0f0"},"hljs-comment":{color:"#b5b5b5",fontStyle:"italic"},"hljs-keyword":{color:"#f0f0f0",fontWeight:"bold"},"hljs-attribute":{color:"#f0f0f0",fontWeight:"bold"},"hljs-selector-tag":{color:"#f0f0f0",fontWeight:"bold"},"hljs-meta-keyword":{color:"#f0f0f0",fontWeight:"bold"},"hljs-doctag":{color:"#f0f0f0",fontWeight:"bold"},"hljs-name":{color:"#f0f0f0",fontWeight:"bold"},"hljs-string":{color:"#97bf0d"},"hljs-type":{color:"#f0f0f0"},"hljs-number":{color:"#f0f0f0"},"hljs-selector-id":{color:"#f0f0f0"},"hljs-selector-class":{color:"#f0f0f0"},"hljs-quote":{color:"#f0f0f0"},"hljs-template-tag":{color:"#f0f0f0"},"hljs-deletion":{color:"#f0f0f0"},"hljs-title":{color:"#df471e"},"hljs-section":{color:"#df471e"},"hljs-title>.hljs-built_in":{color:"#81bce9",fontWeight:"normal"},"hljs-regexp":{color:"#e2c696"},"hljs-symbol":{color:"#e2c696"},"hljs-variable":{color:"#e2c696"},"hljs-template-variable":{color:"#e2c696"},"hljs-link":{color:"#e2c696"},"hljs-selector-attr":{color:"#e2c696"},"hljs-selector-pseudo":{color:"#e2c696"},"hljs-built_in":{color:"#97bf0d",fontWeight:"bold"},"hljs-literal":{color:"#97bf0d",fontWeight:"bold"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-class":{color:"#ce9d4d",fontWeight:"bold"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},2499:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-subst":{color:"black"},"hljs-comment":{color:"#555555",fontStyle:"italic"},"hljs-keyword":{color:"#000000",fontWeight:"bold"},"hljs-attribute":{color:"#000000",fontWeight:"bold"},"hljs-selector-tag":{color:"#000000",fontWeight:"bold"},"hljs-meta-keyword":{color:"#000000",fontWeight:"bold"},"hljs-doctag":{color:"#000000",fontWeight:"bold"},"hljs-name":{color:"#000000",fontWeight:"bold"},"hljs-string":{color:"#000080"},"hljs-type":{color:"#000000"},"hljs-number":{color:"#000000"},"hljs-selector-id":{color:"#000000"},"hljs-selector-class":{color:"#000000"},"hljs-quote":{color:"#000000"},"hljs-template-tag":{color:"#000000"},"hljs-deletion":{color:"#000000"},"hljs-title":{color:"#fb2c00"},"hljs-section":{color:"#fb2c00"},"hljs-title>.hljs-built_in":{color:"#008080",fontWeight:"normal"},"hljs-regexp":{color:"#5e1700"},"hljs-symbol":{color:"#5e1700"},"hljs-variable":{color:"#5e1700"},"hljs-template-variable":{color:"#5e1700"},"hljs-link":{color:"#5e1700"},"hljs-selector-attr":{color:"#5e1700"},"hljs-selector-pseudo":{color:"#5e1700"},"hljs-built_in":{color:"#000080",fontWeight:"bold"},"hljs-literal":{color:"#000080",fontWeight:"bold"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-class":{color:"#6f1C00",fontWeight:"bold"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},55672:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#d6baad"},"hljs-quote":{color:"#d6baad"},"hljs-variable":{color:"#dc3958"},"hljs-template-variable":{color:"#dc3958"},"hljs-tag":{color:"#dc3958"},"hljs-name":{color:"#dc3958"},"hljs-selector-id":{color:"#dc3958"},"hljs-selector-class":{color:"#dc3958"},"hljs-regexp":{color:"#dc3958"},"hljs-meta":{color:"#dc3958"},"hljs-number":{color:"#f79a32"},"hljs-built_in":{color:"#f79a32"},"hljs-builtin-name":{color:"#f79a32"},"hljs-literal":{color:"#f79a32"},"hljs-type":{color:"#f79a32"},"hljs-params":{color:"#f79a32"},"hljs-deletion":{color:"#f79a32"},"hljs-link":{color:"#f79a32"},"hljs-title":{color:"#f06431"},"hljs-section":{color:"#f06431"},"hljs-attribute":{color:"#f06431"},"hljs-string":{color:"#889b4a"},"hljs-symbol":{color:"#889b4a"},"hljs-bullet":{color:"#889b4a"},"hljs-addition":{color:"#889b4a"},"hljs-keyword":{color:"#98676a"},"hljs-selector-tag":{color:"#98676a"},"hljs-function":{color:"#98676a"},hljs:{display:"block",overflowX:"auto",background:"#221a0f",color:"#d3af86",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},80807:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#a57a4c"},"hljs-quote":{color:"#a57a4c"},"hljs-variable":{color:"#dc3958"},"hljs-template-variable":{color:"#dc3958"},"hljs-tag":{color:"#dc3958"},"hljs-name":{color:"#dc3958"},"hljs-selector-id":{color:"#dc3958"},"hljs-selector-class":{color:"#dc3958"},"hljs-regexp":{color:"#dc3958"},"hljs-meta":{color:"#dc3958"},"hljs-number":{color:"#f79a32"},"hljs-built_in":{color:"#f79a32"},"hljs-builtin-name":{color:"#f79a32"},"hljs-literal":{color:"#f79a32"},"hljs-type":{color:"#f79a32"},"hljs-params":{color:"#f79a32"},"hljs-deletion":{color:"#f79a32"},"hljs-link":{color:"#f79a32"},"hljs-title":{color:"#f06431"},"hljs-section":{color:"#f06431"},"hljs-attribute":{color:"#f06431"},"hljs-string":{color:"#889b4a"},"hljs-symbol":{color:"#889b4a"},"hljs-bullet":{color:"#889b4a"},"hljs-addition":{color:"#889b4a"},"hljs-keyword":{color:"#98676a"},"hljs-selector-tag":{color:"#98676a"},"hljs-function":{color:"#98676a"},hljs:{display:"block",overflowX:"auto",background:"#fbebd4",color:"#84613d",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},85188:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"#444"},"hljs-name":{color:"#01a3a3",fontWeight:"bold"},"hljs-tag":{color:"#778899"},"hljs-meta":{color:"#778899"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-type":{color:"#4286f4"},"hljs-string":{color:"#4286f4"},"hljs-number":{color:"#4286f4"},"hljs-selector-id":{color:"#4286f4"},"hljs-selector-class":{color:"#4286f4"},"hljs-quote":{color:"#4286f4"},"hljs-template-tag":{color:"#4286f4"},"hljs-deletion":{color:"#4286f4"},"hljs-title":{color:"#4286f4",fontWeight:"bold"},"hljs-section":{color:"#4286f4",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#62bcbc"},"hljs-built_in":{color:"#25c6c6"},"hljs-bullet":{color:"#25c6c6"},"hljs-code":{color:"#25c6c6"},"hljs-addition":{color:"#25c6c6"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},21941:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#8d8d8d"},"hljs-quote":{color:"#b3c7d8"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-subst\n.hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-params":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-meta":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-selector-tag":{color:"#be94bb"},"hljs-keyword":{color:"#be94bb"},"hljs-function":{color:"#be94bb"},"hljs-class":{color:"#be94bb"},"hljs-symbol":{color:"#dbc4d9"},hljs:{display:"block",overflowX:"auto",background:"#303030",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},14123:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",backgroundColor:"#f4f4f4",color:"black"},"hljs-subst":{color:"black"},"hljs-string":{color:"#050"},"hljs-title":{color:"navy",fontWeight:"bold"},"hljs-symbol":{color:"#050"},"hljs-bullet":{color:"#050"},"hljs-attribute":{color:"#050"},"hljs-addition":{color:"#050"},"hljs-variable":{color:"#050"},"hljs-template-tag":{color:"#050"},"hljs-template-variable":{color:"#050"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-number":{color:"#800"},"hljs-regexp":{color:"#800"},"hljs-literal":{color:"#800"},"hljs-type":{color:"#800"},"hljs-link":{color:"#800"},"hljs-deletion":{color:"#00e"},"hljs-meta":{color:"#00e"},"hljs-keyword":{fontWeight:"bold",color:"navy"},"hljs-selector-tag":{fontWeight:"bold",color:"navy"},"hljs-doctag":{fontWeight:"bold",color:"navy"},"hljs-section":{fontWeight:"bold",color:"navy"},"hljs-built_in":{fontWeight:"bold",color:"navy"},"hljs-tag":{fontWeight:"bold",color:"navy"},"hljs-name":{fontWeight:"bold",color:"navy"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},46192:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#eaeef3",color:"#00193a"},"hljs-keyword":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold",color:"#0048ab"},"hljs-section":{fontWeight:"bold",color:"#0048ab"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold",color:"#0048ab"},"hljs-strong":{fontWeight:"bold"},"hljs-comment":{color:"#738191"},"hljs-string":{color:"#0048ab"},"hljs-built_in":{color:"#0048ab"},"hljs-literal":{color:"#0048ab"},"hljs-type":{color:"#0048ab"},"hljs-addition":{color:"#0048ab"},"hljs-tag":{color:"#0048ab"},"hljs-quote":{color:"#0048ab"},"hljs-selector-id":{color:"#0048ab"},"hljs-selector-class":{color:"#0048ab"},"hljs-meta":{color:"#4c81c9"},"hljs-subst":{color:"#4c81c9"},"hljs-symbol":{color:"#4c81c9"},"hljs-regexp":{color:"#4c81c9"},"hljs-attribute":{color:"#4c81c9"},"hljs-deletion":{color:"#4c81c9"},"hljs-variable":{color:"#4c81c9"},"hljs-template-variable":{color:"#4c81c9"},"hljs-link":{color:"#4c81c9"},"hljs-bullet":{color:"#4c81c9"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},69433:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#23241f",color:"#f8f8f2"},"hljs-tag":{color:"#f8f8f2"},"hljs-subst":{color:"#f8f8f2"},"hljs-strong":{color:"#a8a8a2",fontWeight:"bold"},"hljs-emphasis":{color:"#a8a8a2",fontStyle:"italic"},"hljs-bullet":{color:"#ae81ff"},"hljs-quote":{color:"#ae81ff"},"hljs-number":{color:"#ae81ff"},"hljs-regexp":{color:"#ae81ff"},"hljs-literal":{color:"#ae81ff"},"hljs-link":{color:"#ae81ff"},"hljs-code":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e"},"hljs-section":{color:"#a6e22e"},"hljs-selector-class":{color:"#a6e22e"},"hljs-keyword":{color:"#f92672"},"hljs-selector-tag":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-attr":{color:"#f92672"},"hljs-symbol":{color:"#66d9ef"},"hljs-attribute":{color:"#66d9ef"},"hljs-params":{color:"#f8f8f2"},"hljs-class .hljs-title":{color:"#f8f8f2"},"hljs-string":{color:"#e6db74"},"hljs-type":{color:"#e6db74"},"hljs-built_in":{color:"#e6db74"},"hljs-builtin-name":{color:"#e6db74"},"hljs-selector-id":{color:"#e6db74"},"hljs-selector-attr":{color:"#e6db74"},"hljs-selector-pseudo":{color:"#e6db74"},"hljs-addition":{color:"#e6db74"},"hljs-variable":{color:"#e6db74"},"hljs-template-variable":{color:"#e6db74"},"hljs-comment":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"}};l.default=e},65599:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}};l.default=e},67540:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#011627",color:"#d6deeb"},"hljs-keyword":{color:"#c792ea",fontStyle:"italic"},"hljs-built_in":{color:"#addb67",fontStyle:"italic"},"hljs-type":{color:"#82aaff"},"hljs-literal":{color:"#ff5874"},"hljs-number":{color:"#F78C6C"},"hljs-regexp":{color:"#5ca7e4"},"hljs-string":{color:"#ecc48d"},"hljs-subst":{color:"#d3423e"},"hljs-symbol":{color:"#82aaff"},"hljs-class":{color:"#ffcb8b"},"hljs-function":{color:"#82AAFF"},"hljs-title":{color:"#DCDCAA",fontStyle:"italic"},"hljs-params":{color:"#7fdbca"},"hljs-comment":{color:"#637777",fontStyle:"italic"},"hljs-doctag":{color:"#7fdbca"},"hljs-meta":{color:"#82aaff"},"hljs-meta-keyword":{color:"#82aaff"},"hljs-meta-string":{color:"#ecc48d"},"hljs-section":{color:"#82b1ff"},"hljs-tag":{color:"#7fdbca"},"hljs-name":{color:"#7fdbca"},"hljs-builtin-name":{color:"#7fdbca"},"hljs-attr":{color:"#7fdbca"},"hljs-attribute":{color:"#80cbc4"},"hljs-variable":{color:"#addb67"},"hljs-bullet":{color:"#d9f5dd"},"hljs-code":{color:"#80CBC4"},"hljs-emphasis":{color:"#c792ea",fontStyle:"italic"},"hljs-strong":{color:"#addb67",fontWeight:"bold"},"hljs-formula":{color:"#c792ea"},"hljs-link":{color:"#ff869a"},"hljs-quote":{color:"#697098",fontStyle:"italic"},"hljs-selector-tag":{color:"#ff6363"},"hljs-selector-id":{color:"#fad430"},"hljs-selector-class":{color:"#addb67",fontStyle:"italic"},"hljs-selector-attr":{color:"#c792ea",fontStyle:"italic"},"hljs-selector-pseudo":{color:"#c792ea",fontStyle:"italic"},"hljs-template-tag":{color:"#c792ea"},"hljs-template-variable":{color:"#addb67"},"hljs-addition":{color:"#addb67ff",fontStyle:"italic"},"hljs-deletion":{color:"#EF535090",fontStyle:"italic"}};l.default=e},16249:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"#fff"},"xml .hljs-meta":{fontWeight:"bold",fontStyle:"italic",color:"#69f"},"hljs-comment":{fontStyle:"italic",color:"#9c6"},"hljs-quote":{fontStyle:"italic",color:"#9c6"},"hljs-name":{color:"#a7a",fontWeight:"bold"},"hljs-keyword":{color:"#a7a"},"hljs-attr":{fontWeight:"bold",color:"#fff"},"hljs-string":{fontWeight:"normal",color:"#bce"},"hljs-variable":{color:"#588"},"hljs-template-variable":{color:"#588"},"hljs-code":{color:"#bce"},"hljs-meta-string":{color:"#bce"},"hljs-number":{color:"#bce"},"hljs-regexp":{color:"#bce"},"hljs-link":{color:"#bce"},"hljs-title":{color:"#d40"},"hljs-symbol":{color:"#d40"},"hljs-bullet":{color:"#d40"},"hljs-built_in":{color:"#d40"},"hljs-builtin-name":{color:"#d40"},"hljs-section":{color:"#a85"},"hljs-meta":{color:"#a85"},"hljs-class .hljs-title":{color:"#96c"},"hljs-type":{color:"#96c"},"hljs-function .hljs-title":{color:"#fff"},"hljs-subst":{color:"#fff"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#797"},"hljs-deletion":{backgroundColor:"#c99"},"hljs-selector-id":{color:"#964"},"hljs-selector-class":{color:"#964"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},72798:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"#000"},"xml .hljs-meta":{fontWeight:"bold",fontStyle:"italic",color:"#48b"},"hljs-comment":{fontStyle:"italic",color:"#070"},"hljs-quote":{fontStyle:"italic",color:"#070"},"hljs-name":{color:"#808",fontWeight:"bold"},"hljs-keyword":{color:"#808"},"hljs-attr":{fontWeight:"bold",color:"#000"},"hljs-string":{fontWeight:"normal",color:"#00f"},"hljs-variable":{color:"#477"},"hljs-template-variable":{color:"#477"},"hljs-code":{color:"#00f"},"hljs-meta-string":{color:"#00f"},"hljs-number":{color:"#00f"},"hljs-regexp":{color:"#00f"},"hljs-link":{color:"#00f"},"hljs-title":{color:"#f40"},"hljs-symbol":{color:"#f40"},"hljs-bullet":{color:"#f40"},"hljs-built_in":{color:"#f40"},"hljs-builtin-name":{color:"#f40"},"hljs-section":{color:"#642"},"hljs-meta":{color:"#642"},"hljs-class .hljs-title":{color:"#639"},"hljs-type":{color:"#639"},"hljs-function .hljs-title":{color:"#000"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#beb"},"hljs-deletion":{backgroundColor:"#fbb"},"hljs-selector-id":{color:"#964"},"hljs-selector-class":{color:"#964"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},35489:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}};l.default=e},22891:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}};l.default=e},15342:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#65737e"},"hljs-quote":{color:"#65737e"},"hljs-variable":{color:"#bf616a"},"hljs-template-variable":{color:"#bf616a"},"hljs-tag":{color:"#bf616a"},"hljs-name":{color:"#bf616a"},"hljs-selector-id":{color:"#bf616a"},"hljs-selector-class":{color:"#bf616a"},"hljs-regexp":{color:"#bf616a"},"hljs-deletion":{color:"#bf616a"},"hljs-number":{color:"#d08770"},"hljs-built_in":{color:"#d08770"},"hljs-builtin-name":{color:"#d08770"},"hljs-literal":{color:"#d08770"},"hljs-type":{color:"#d08770"},"hljs-params":{color:"#d08770"},"hljs-meta":{color:"#d08770"},"hljs-link":{color:"#d08770"},"hljs-attribute":{color:"#ebcb8b"},"hljs-string":{color:"#a3be8c"},"hljs-symbol":{color:"#a3be8c"},"hljs-bullet":{color:"#a3be8c"},"hljs-addition":{color:"#a3be8c"},"hljs-title":{color:"#8fa1b3"},"hljs-section":{color:"#8fa1b3"},"hljs-keyword":{color:"#b48ead"},"hljs-selector-tag":{color:"#b48ead"},hljs:{display:"block",overflowX:"auto",background:"#2b303b",color:"#c0c5ce",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},75095:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#8d8687"},"hljs-quote":{color:"#8d8687"},"hljs-variable":{color:"#ef6155"},"hljs-template-variable":{color:"#ef6155"},"hljs-tag":{color:"#ef6155"},"hljs-name":{color:"#ef6155"},"hljs-selector-id":{color:"#ef6155"},"hljs-selector-class":{color:"#ef6155"},"hljs-regexp":{color:"#ef6155"},"hljs-link":{color:"#ef6155"},"hljs-meta":{color:"#ef6155"},"hljs-number":{color:"#f99b15"},"hljs-built_in":{color:"#f99b15"},"hljs-builtin-name":{color:"#f99b15"},"hljs-literal":{color:"#f99b15"},"hljs-type":{color:"#f99b15"},"hljs-params":{color:"#f99b15"},"hljs-deletion":{color:"#f99b15"},"hljs-title":{color:"#fec418"},"hljs-section":{color:"#fec418"},"hljs-attribute":{color:"#fec418"},"hljs-string":{color:"#48b685"},"hljs-symbol":{color:"#48b685"},"hljs-bullet":{color:"#48b685"},"hljs-addition":{color:"#48b685"},"hljs-keyword":{color:"#815ba4"},"hljs-selector-tag":{color:"#815ba4"},hljs:{display:"block",overflowX:"auto",background:"#2f1e2e",color:"#a39e9b",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},3127:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#776e71"},"hljs-quote":{color:"#776e71"},"hljs-variable":{color:"#ef6155"},"hljs-template-variable":{color:"#ef6155"},"hljs-tag":{color:"#ef6155"},"hljs-name":{color:"#ef6155"},"hljs-selector-id":{color:"#ef6155"},"hljs-selector-class":{color:"#ef6155"},"hljs-regexp":{color:"#ef6155"},"hljs-link":{color:"#ef6155"},"hljs-meta":{color:"#ef6155"},"hljs-number":{color:"#f99b15"},"hljs-built_in":{color:"#f99b15"},"hljs-builtin-name":{color:"#f99b15"},"hljs-literal":{color:"#f99b15"},"hljs-type":{color:"#f99b15"},"hljs-params":{color:"#f99b15"},"hljs-deletion":{color:"#f99b15"},"hljs-title":{color:"#fec418"},"hljs-section":{color:"#fec418"},"hljs-attribute":{color:"#fec418"},"hljs-string":{color:"#48b685"},"hljs-symbol":{color:"#48b685"},"hljs-bullet":{color:"#48b685"},"hljs-addition":{color:"#48b685"},"hljs-keyword":{color:"#815ba4"},"hljs-selector-tag":{color:"#815ba4"},hljs:{display:"block",overflowX:"auto",background:"#e7e9db",color:"#4f424c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},62634:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#dccf8f",background:"url(./pojoaque.jpg) repeat scroll left top #181914"},"hljs-comment":{color:"#586e75",fontStyle:"italic"},"hljs-quote":{color:"#586e75",fontStyle:"italic"},"hljs-keyword":{color:"#b64926"},"hljs-selector-tag":{color:"#b64926"},"hljs-literal":{color:"#b64926"},"hljs-addition":{color:"#b64926"},"hljs-number":{color:"#468966"},"hljs-string":{color:"#468966"},"hljs-doctag":{color:"#468966"},"hljs-regexp":{color:"#468966"},"hljs-title":{color:"#ffb03b"},"hljs-section":{color:"#ffb03b"},"hljs-built_in":{color:"#ffb03b"},"hljs-name":{color:"#ffb03b"},"hljs-variable":{color:"#b58900"},"hljs-template-variable":{color:"#b58900"},"hljs-class .hljs-title":{color:"#b58900"},"hljs-type":{color:"#b58900"},"hljs-tag":{color:"#b58900"},"hljs-attribute":{color:"#b89859"},"hljs-symbol":{color:"#cb4b16"},"hljs-bullet":{color:"#cb4b16"},"hljs-link":{color:"#cb4b16"},"hljs-subst":{color:"#cb4b16"},"hljs-meta":{color:"#cb4b16"},"hljs-deletion":{color:"#dc322f"},"hljs-selector-id":{color:"#d3a60c"},"hljs-selector-class":{color:"#d3a60c"},"hljs-formula":{background:"#073642"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},33554:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#FFFFDF",color:"#000000"},"hljs-type":{color:"#000000"},"hljs-function":{color:"#000000"},"hljs-name":{color:"#000000",fontWeight:"bold"},"hljs-number":{color:"#000000"},"hljs-attr":{color:"#000000"},"hljs-params":{color:"#000000"},"hljs-subst":{color:"#000000"},"hljs-comment":{color:"#00AAAA"},"hljs-regexp":{color:"#00AAAA"},"hljs-section":{color:"#00AAAA"},"hljs-selector-pseudo":{color:"#00AAAA"},"hljs-addition":{color:"#00AAAA"},"hljs-title":{color:"#006666"},"hljs-tag":{color:"#006666"},"hljs-variable":{color:"#006666"},"hljs-code":{color:"#006666"},"hljs-keyword":{color:"#006666",fontWeight:"bold"},"hljs-class":{color:"#006666",fontWeight:"bold"},"hljs-meta-keyword":{color:"#006666",fontWeight:"bold"},"hljs-selector-class":{color:"#006666",fontWeight:"bold"},"hljs-built_in":{color:"#006666",fontWeight:"bold"},"hljs-builtin-name":{color:"#006666",fontWeight:"bold"},"hljs-string":{color:"#0080FF"},"hljs-selector-attr":{color:"#0080FF"},"hljs-symbol":{color:"#924B72"},"hljs-link":{color:"#924B72"},"hljs-deletion":{color:"#924B72"},"hljs-attribute":{color:"#924B72"},"hljs-meta":{color:"#924B72",fontWeight:"bold"},"hljs-literal":{color:"#924B72",fontWeight:"bold"},"hljs-selector-id":{color:"#924B72",fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},55786:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000000",color:"#aaaaaa"},"hljs-subst":{color:"#aaaaaa"},"hljs-tag":{color:"#aaaaaa"},"hljs-title":{color:"#aaaaaa"},"hljs-strong":{color:"#a8a8a2"},"hljs-emphasis":{color:"#a8a8a2",fontStyle:"italic"},"hljs-bullet":{color:"#ff55ff"},"hljs-quote":{color:"#ff55ff"},"hljs-number":{color:"#ff55ff"},"hljs-regexp":{color:"#ff55ff"},"hljs-literal":{color:"#ff55ff"},"hljs-code\n.hljs-selector-class":{color:"#aaaaff"},"hljs-stronge":{fontStyle:"italic"},"hljs-type":{fontStyle:"italic",color:"#ff55ff"},"hljs-keyword":{color:"#ffff55"},"hljs-selector-tag":{color:"#ffff55"},"hljs-function":{color:"#ffff55"},"hljs-section":{color:"#ffff55"},"hljs-symbol":{color:"#ffff55"},"hljs-name":{color:"#ffff55"},"hljs-attribute":{color:"#ff5555"},"hljs-variable":{color:"#8888ff"},"hljs-params":{color:"#8888ff"},"hljs-class .hljs-title":{color:"#8888ff"},"hljs-string":{color:"#ff55ff"},"hljs-selector-id":{color:"#ff55ff"},"hljs-selector-attr":{color:"#ff55ff"},"hljs-selector-pseudo":{color:"#ff55ff"},"hljs-built_in":{color:"#ff55ff"},"hljs-builtin-name":{color:"#ff55ff"},"hljs-template-tag":{color:"#ff55ff"},"hljs-template-variable":{color:"#ff55ff"},"hljs-addition":{color:"#ff55ff"},"hljs-link":{color:"#ff55ff"},"hljs-comment":{color:"#55ffff"},"hljs-meta":{color:"#55ffff"},"hljs-deletion":{color:"#55ffff"}};l.default=e},37467:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#ffffff",color:"#000000"},"hljs-subst":{color:"#000000"},"hljs-tag":{color:"#000000"},"hljs-title":{color:"#000000"},"hljs-strong":{color:"#000000"},"hljs-emphasis":{color:"#000000",fontStyle:"italic"},"hljs-bullet":{color:"#000080"},"hljs-quote":{color:"#000080"},"hljs-number":{color:"#000080"},"hljs-regexp":{color:"#000080"},"hljs-literal":{color:"#000080"},"hljs-code\n.hljs-selector-class":{color:"#800080"},"hljs-stronge":{fontStyle:"italic"},"hljs-type":{fontStyle:"italic",color:"#008000"},"hljs-keyword":{color:"#808000"},"hljs-selector-tag":{color:"#808000"},"hljs-function":{color:"#808000"},"hljs-section":{color:"#808000"},"hljs-symbol":{color:"#808000"},"hljs-name":{color:"#808000"},"hljs-attribute":{color:"#800000"},"hljs-variable":{color:"#0055AF"},"hljs-params":{color:"#0055AF"},"hljs-class .hljs-title":{color:"#0055AF"},"hljs-string":{color:"#008000"},"hljs-selector-id":{color:"#008000"},"hljs-selector-attr":{color:"#008000"},"hljs-selector-pseudo":{color:"#008000"},"hljs-built_in":{color:"#008000"},"hljs-builtin-name":{color:"#008000"},"hljs-template-tag":{color:"#008000"},"hljs-template-variable":{color:"#008000"},"hljs-addition":{color:"#008000"},"hljs-link":{color:"#008000"},"hljs-comment":{color:"#008000"},"hljs-meta":{color:"#008000"},"hljs-deletion":{color:"#008000"}};l.default=e},81416:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#232323",color:"#e6e1dc"},"hljs-comment":{color:"#bc9458",fontStyle:"italic"},"hljs-quote":{color:"#bc9458",fontStyle:"italic"},"hljs-keyword":{color:"#c26230"},"hljs-selector-tag":{color:"#c26230"},"hljs-string":{color:"#a5c261"},"hljs-number":{color:"#a5c261"},"hljs-regexp":{color:"#a5c261"},"hljs-variable":{color:"#a5c261"},"hljs-template-variable":{color:"#a5c261"},"hljs-subst":{color:"#519f50"},"hljs-tag":{color:"#e8bf6a"},"hljs-name":{color:"#e8bf6a"},"hljs-type":{color:"#da4939"},"hljs-symbol":{color:"#6d9cbe"},"hljs-bullet":{color:"#6d9cbe"},"hljs-built_in":{color:"#6d9cbe"},"hljs-builtin-name":{color:"#6d9cbe"},"hljs-attr":{color:"#6d9cbe"},"hljs-link":{color:"#6d9cbe",textDecoration:"underline"},"hljs-params":{color:"#d0d0ff"},"hljs-attribute":{color:"#cda869"},"hljs-meta":{color:"#9b859d"},"hljs-title":{color:"#ffc66d"},"hljs-section":{color:"#ffc66d"},"hljs-addition":{backgroundColor:"#144212",color:"#e6e1dc",display:"inline-block",width:"100%"},"hljs-deletion":{backgroundColor:"#600",color:"#e6e1dc",display:"inline-block",width:"100%"},"hljs-selector-class":{color:"#9b703f"},"hljs-selector-id":{color:"#8b98ab"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},81027:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#474949",color:"#d1d9e1"},"hljs-comment":{color:"#969896",fontStyle:"italic"},"hljs-quote":{color:"#969896",fontStyle:"italic"},"hljs-keyword":{color:"#cc99cc"},"hljs-selector-tag":{color:"#cc99cc"},"hljs-literal":{color:"#cc99cc"},"hljs-type":{color:"#cc99cc"},"hljs-addition":{color:"#cc99cc"},"hljs-number":{color:"#f99157"},"hljs-selector-attr":{color:"#f99157"},"hljs-selector-pseudo":{color:"#f99157"},"hljs-string":{color:"#8abeb7"},"hljs-doctag":{color:"#8abeb7"},"hljs-regexp":{color:"#8abeb7"},"hljs-title":{color:"#b5bd68"},"hljs-name":{color:"#b5bd68",fontWeight:"bold"},"hljs-section":{color:"#b5bd68",fontWeight:"bold"},"hljs-built_in":{color:"#b5bd68"},"hljs-variable":{color:"#ffcc66"},"hljs-template-variable":{color:"#ffcc66"},"hljs-selector-id":{color:"#ffcc66"},"hljs-class .hljs-title":{color:"#ffcc66"},"hljs-strong":{fontWeight:"bold"},"hljs-symbol":{color:"#f99157"},"hljs-bullet":{color:"#f99157"},"hljs-subst":{color:"#f99157"},"hljs-meta":{color:"#f99157"},"hljs-link":{color:"#f99157"},"hljs-deletion":{color:"#dc322f"},"hljs-formula":{background:"#eee8d5"},"hljs-attr":{color:"#81a2be"},"hljs-attribute":{color:"#81a2be"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},22525:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-attribute":{color:"#0E9A00"},"hljs-function":{color:"#99069A"},"hljs-builtin-name":{color:"#99069A"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#0C9A9A"},"hljs-bullet":{color:"#0C9A9A"},"hljs-code":{color:"#0C9A9A"},"hljs-addition":{color:"#0C9A9A"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},55252:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"15px 0.5em 0.5em 30px",fontSize:"11px",lineHeight:"16px",background:"#f6f6ae url(./school-book.png)",borderTop:"solid 2px #d2e8b9",borderBottom:"solid 1px #d2e8b9",color:"#3e5915"},"hljs-keyword":{color:"#005599",fontWeight:"bold"},"hljs-selector-tag":{color:"#005599",fontWeight:"bold"},"hljs-literal":{color:"#005599",fontWeight:"bold"},"hljs-subst":{color:"#3e5915"},"hljs-string":{color:"#2c009f"},"hljs-title":{color:"#2c009f",fontWeight:"bold"},"hljs-section":{color:"#2c009f",fontWeight:"bold"},"hljs-type":{color:"#2c009f",fontWeight:"bold"},"hljs-symbol":{color:"#2c009f"},"hljs-bullet":{color:"#2c009f"},"hljs-attribute":{color:"#2c009f"},"hljs-built_in":{color:"#2c009f"},"hljs-builtin-name":{color:"#2c009f"},"hljs-addition":{color:"#2c009f"},"hljs-variable":{color:"#2c009f"},"hljs-template-tag":{color:"#2c009f"},"hljs-template-variable":{color:"#2c009f"},"hljs-link":{color:"#2c009f"},"hljs-comment":{color:"#e60415"},"hljs-quote":{color:"#e60415"},"hljs-deletion":{color:"#e60415"},"hljs-meta":{color:"#e60415"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},10974:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2d2b57",fontWeight:"normal",color:"#e3dfff"},"hljs-title":{color:"#fad000",fontWeight:"normal"},"hljs-name":{color:"#a1feff",fontWeight:"normal"},"hljs-tag":{color:"#ffffff"},"hljs-attr":{color:"#f8d000",fontStyle:"italic"},"hljs-built_in":{color:"#fb9e00"},"hljs-selector-tag":{color:"#fb9e00",fontWeight:"normal"},"hljs-section":{color:"#fb9e00"},"hljs-keyword":{color:"#fb9e00",fontWeight:"normal"},"hljs-subst":{color:"#e3dfff"},"hljs-string":{color:"#4cd213"},"hljs-attribute":{color:"#4cd213"},"hljs-symbol":{color:"#4cd213"},"hljs-bullet":{color:"#4cd213"},"hljs-addition":{color:"#4cd213"},"hljs-code":{color:"#4cd213"},"hljs-regexp":{color:"#4cd213"},"hljs-selector-class":{color:"#4cd213"},"hljs-selector-attr":{color:"#4cd213"},"hljs-selector-pseudo":{color:"#4cd213"},"hljs-template-tag":{color:"#4cd213"},"hljs-quote":{color:"#4cd213"},"hljs-deletion":{color:"#4cd213"},"hljs-meta":{color:"#fb9e00"},"hljs-meta-string":{color:"#fb9e00"},"hljs-comment":{color:"#ac65ff"},"hljs-literal":{fontWeight:"normal",color:"#fa658d"},"hljs-strong":{fontWeight:"bold"},"hljs-number":{color:"#fa658d"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},6375:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#002b36",color:"#839496"},"hljs-comment":{color:"#586e75"},"hljs-quote":{color:"#586e75"},"hljs-keyword":{color:"#859900"},"hljs-selector-tag":{color:"#859900"},"hljs-addition":{color:"#859900"},"hljs-number":{color:"#2aa198"},"hljs-string":{color:"#2aa198"},"hljs-meta .hljs-meta-string":{color:"#2aa198"},"hljs-literal":{color:"#2aa198"},"hljs-doctag":{color:"#2aa198"},"hljs-regexp":{color:"#2aa198"},"hljs-title":{color:"#268bd2"},"hljs-section":{color:"#268bd2"},"hljs-name":{color:"#268bd2"},"hljs-selector-id":{color:"#268bd2"},"hljs-selector-class":{color:"#268bd2"},"hljs-attribute":{color:"#b58900"},"hljs-attr":{color:"#b58900"},"hljs-variable":{color:"#b58900"},"hljs-template-variable":{color:"#b58900"},"hljs-class .hljs-title":{color:"#b58900"},"hljs-type":{color:"#b58900"},"hljs-symbol":{color:"#cb4b16"},"hljs-bullet":{color:"#cb4b16"},"hljs-subst":{color:"#cb4b16"},"hljs-meta":{color:"#cb4b16"},"hljs-meta .hljs-keyword":{color:"#cb4b16"},"hljs-selector-attr":{color:"#cb4b16"},"hljs-selector-pseudo":{color:"#cb4b16"},"hljs-link":{color:"#cb4b16"},"hljs-built_in":{color:"#dc322f"},"hljs-deletion":{color:"#dc322f"},"hljs-formula":{background:"#073642"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},86597:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fdf6e3",color:"#657b83"},"hljs-comment":{color:"#93a1a1"},"hljs-quote":{color:"#93a1a1"},"hljs-keyword":{color:"#859900"},"hljs-selector-tag":{color:"#859900"},"hljs-addition":{color:"#859900"},"hljs-number":{color:"#2aa198"},"hljs-string":{color:"#2aa198"},"hljs-meta .hljs-meta-string":{color:"#2aa198"},"hljs-literal":{color:"#2aa198"},"hljs-doctag":{color:"#2aa198"},"hljs-regexp":{color:"#2aa198"},"hljs-title":{color:"#268bd2"},"hljs-section":{color:"#268bd2"},"hljs-name":{color:"#268bd2"},"hljs-selector-id":{color:"#268bd2"},"hljs-selector-class":{color:"#268bd2"},"hljs-attribute":{color:"#b58900"},"hljs-attr":{color:"#b58900"},"hljs-variable":{color:"#b58900"},"hljs-template-variable":{color:"#b58900"},"hljs-class .hljs-title":{color:"#b58900"},"hljs-type":{color:"#b58900"},"hljs-symbol":{color:"#cb4b16"},"hljs-bullet":{color:"#cb4b16"},"hljs-subst":{color:"#cb4b16"},"hljs-meta":{color:"#cb4b16"},"hljs-meta .hljs-keyword":{color:"#cb4b16"},"hljs-selector-attr":{color:"#cb4b16"},"hljs-selector-pseudo":{color:"#cb4b16"},"hljs-link":{color:"#cb4b16"},"hljs-built_in":{color:"#dc322f"},"hljs-deletion":{color:"#dc322f"},"hljs-formula":{background:"#eee8d5"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},42759:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#1C1B19",color:"#FCE8C3"},"hljs-strong":{color:"#918175"},"hljs-emphasis":{color:"#918175",fontStyle:"italic"},"hljs-bullet":{color:"#FF5C8F"},"hljs-quote":{color:"#FF5C8F"},"hljs-link":{color:"#FF5C8F"},"hljs-number":{color:"#FF5C8F"},"hljs-regexp":{color:"#FF5C8F"},"hljs-literal":{color:"#FF5C8F"},"hljs-code":{color:"#68A8E4"},"hljs-selector-class":{color:"#68A8E4"},"hljs-keyword":{color:"#EF2F27"},"hljs-selector-tag":{color:"#EF2F27"},"hljs-section":{color:"#EF2F27"},"hljs-attribute":{color:"#EF2F27"},"hljs-variable":{color:"#EF2F27"},"hljs-name":{color:"#FBB829"},"hljs-title":{color:"#FBB829"},"hljs-type":{color:"#0AAEB3"},"hljs-params":{color:"#0AAEB3"},"hljs-string":{color:"#98BC37"},"hljs-subst":{color:"#C07ABE"},"hljs-built_in":{color:"#C07ABE"},"hljs-builtin-name":{color:"#C07ABE"},"hljs-symbol":{color:"#C07ABE"},"hljs-selector-id":{color:"#C07ABE"},"hljs-selector-attr":{color:"#C07ABE"},"hljs-selector-pseudo":{color:"#C07ABE"},"hljs-template-tag":{color:"#C07ABE"},"hljs-template-variable":{color:"#C07ABE"},"hljs-addition":{color:"#C07ABE"},"hljs-comment":{color:"#918175"},"hljs-deletion":{color:"#918175"},"hljs-meta":{color:"#918175"}};l.default=e},89452:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#ffffff",background:"#1c1b1b"},"hljs-comment":{color:"#999999"},"hljs-keyword":{color:"#88aece"},"hljs-selector-tag":{color:"#88aece"},"hljs-meta-keyword":{color:"#88aece"},"hljs-doctag":{color:"#88aece"},"hljs-section":{color:"#88aece"},"hljs-selector-class":{color:"#88aece"},"hljs-meta":{color:"#88aece"},"hljs-selector-pseudo":{color:"#88aece"},"hljs-attr":{color:"#88aece"},"hljs-attribute":{color:"v#c59bc1"},"hljs-name":{color:"#f08d49"},"hljs-type":{color:"#f08d49"},"hljs-number":{color:"#f08d49"},"hljs-selector-id":{color:"#f08d49"},"hljs-quote":{color:"#f08d49"},"hljs-template-tag":{color:"#f08d49"},"hljs-built_in":{color:"#f08d49"},"hljs-title":{color:"#f08d49"},"hljs-literal":{color:"#f08d49"},"hljs-string":{color:"#b5bd68"},"hljs-regexp":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-variable":{color:"#b5bd68"},"hljs-template-variable":{color:"#b5bd68"},"hljs-link":{color:"#b5bd68"},"hljs-selector-attr":{color:"#b5bd68"},"hljs-meta-string":{color:"#b5bd68"},"hljs-bullet":{color:"#cccccc"},"hljs-code":{color:"#cccccc"},"hljs-deletion":{color:"#de7176"},"hljs-addition":{color:"#76c490"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},24146:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#2f3337",background:"#f6f6f6"},"hljs-comment":{color:"#656e77"},"hljs-keyword":{color:"#015692"},"hljs-selector-tag":{color:"#015692"},"hljs-meta-keyword":{color:"#015692"},"hljs-doctag":{color:"#015692"},"hljs-section":{color:"#015692"},"hljs-selector-class":{color:"#015692"},"hljs-meta":{color:"#015692"},"hljs-selector-pseudo":{color:"#015692"},"hljs-attr":{color:"#015692"},"hljs-attribute":{color:"#803378"},"hljs-name":{color:"#b75501"},"hljs-type":{color:"#b75501"},"hljs-number":{color:"#b75501"},"hljs-selector-id":{color:"#b75501"},"hljs-quote":{color:"#b75501"},"hljs-template-tag":{color:"#b75501"},"hljs-built_in":{color:"#b75501"},"hljs-title":{color:"#b75501"},"hljs-literal":{color:"#b75501"},"hljs-string":{color:"#54790d"},"hljs-regexp":{color:"#54790d"},"hljs-symbol":{color:"#54790d"},"hljs-variable":{color:"#54790d"},"hljs-template-variable":{color:"#54790d"},"hljs-link":{color:"#54790d"},"hljs-selector-attr":{color:"#54790d"},"hljs-meta-string":{color:"#54790d"},"hljs-bullet":{color:"#535a60"},"hljs-code":{color:"#535a60"},"hljs-deletion":{color:"#c02d2e"},"hljs-addition":{color:"#2f6f44"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},98556:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000",color:"#f8f8f8"},"hljs-comment":{color:"#aeaeae",fontStyle:"italic"},"hljs-quote":{color:"#aeaeae",fontStyle:"italic"},"hljs-keyword":{color:"#e28964"},"hljs-selector-tag":{color:"#e28964"},"hljs-type":{color:"#e28964"},"hljs-string":{color:"#65b042"},"hljs-subst":{color:"#daefa3"},"hljs-regexp":{color:"#e9c062"},"hljs-link":{color:"#e9c062"},"hljs-title":{color:"#89bdff"},"hljs-section":{color:"#89bdff"},"hljs-tag":{color:"#89bdff"},"hljs-name":{color:"#89bdff"},"hljs-class .hljs-title":{textDecoration:"underline"},"hljs-doctag":{textDecoration:"underline"},"hljs-symbol":{color:"#3387cc"},"hljs-bullet":{color:"#3387cc"},"hljs-number":{color:"#3387cc"},"hljs-params":{color:"#3e87e3"},"hljs-variable":{color:"#3e87e3"},"hljs-template-variable":{color:"#3e87e3"},"hljs-attribute":{color:"#cda869"},"hljs-meta":{color:"#8996a8"},"hljs-formula":{backgroundColor:"#0e2231",color:"#f8f8f8",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#253b22",color:"#f8f8f8"},"hljs-deletion":{backgroundColor:"#420e09",color:"#f8f8f8"},"hljs-selector-class":{color:"#9b703f"},"hljs-selector-id":{color:"#8b98ab"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},37700:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7285b7"},"hljs-quote":{color:"#7285b7"},"hljs-variable":{color:"#ff9da4"},"hljs-template-variable":{color:"#ff9da4"},"hljs-tag":{color:"#ff9da4"},"hljs-name":{color:"#ff9da4"},"hljs-selector-id":{color:"#ff9da4"},"hljs-selector-class":{color:"#ff9da4"},"hljs-regexp":{color:"#ff9da4"},"hljs-deletion":{color:"#ff9da4"},"hljs-number":{color:"#ffc58f"},"hljs-built_in":{color:"#ffc58f"},"hljs-builtin-name":{color:"#ffc58f"},"hljs-literal":{color:"#ffc58f"},"hljs-type":{color:"#ffc58f"},"hljs-params":{color:"#ffc58f"},"hljs-meta":{color:"#ffc58f"},"hljs-link":{color:"#ffc58f"},"hljs-attribute":{color:"#ffeead"},"hljs-string":{color:"#d1f1a9"},"hljs-symbol":{color:"#d1f1a9"},"hljs-bullet":{color:"#d1f1a9"},"hljs-addition":{color:"#d1f1a9"},"hljs-title":{color:"#bbdaff"},"hljs-section":{color:"#bbdaff"},"hljs-keyword":{color:"#ebbbff"},"hljs-selector-tag":{color:"#ebbbff"},hljs:{display:"block",overflowX:"auto",background:"#002451",color:"white",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},47075:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#d54e53"},"hljs-template-variable":{color:"#d54e53"},"hljs-tag":{color:"#d54e53"},"hljs-name":{color:"#d54e53"},"hljs-selector-id":{color:"#d54e53"},"hljs-selector-class":{color:"#d54e53"},"hljs-regexp":{color:"#d54e53"},"hljs-deletion":{color:"#d54e53"},"hljs-number":{color:"#e78c45"},"hljs-built_in":{color:"#e78c45"},"hljs-builtin-name":{color:"#e78c45"},"hljs-literal":{color:"#e78c45"},"hljs-type":{color:"#e78c45"},"hljs-params":{color:"#e78c45"},"hljs-meta":{color:"#e78c45"},"hljs-link":{color:"#e78c45"},"hljs-attribute":{color:"#e7c547"},"hljs-string":{color:"#b9ca4a"},"hljs-symbol":{color:"#b9ca4a"},"hljs-bullet":{color:"#b9ca4a"},"hljs-addition":{color:"#b9ca4a"},"hljs-title":{color:"#7aa6da"},"hljs-section":{color:"#7aa6da"},"hljs-keyword":{color:"#c397d8"},"hljs-selector-tag":{color:"#c397d8"},hljs:{display:"block",overflowX:"auto",background:"black",color:"#eaeaea",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},79241:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#999999"},"hljs-quote":{color:"#999999"},"hljs-variable":{color:"#f2777a"},"hljs-template-variable":{color:"#f2777a"},"hljs-tag":{color:"#f2777a"},"hljs-name":{color:"#f2777a"},"hljs-selector-id":{color:"#f2777a"},"hljs-selector-class":{color:"#f2777a"},"hljs-regexp":{color:"#f2777a"},"hljs-deletion":{color:"#f2777a"},"hljs-number":{color:"#f99157"},"hljs-built_in":{color:"#f99157"},"hljs-builtin-name":{color:"#f99157"},"hljs-literal":{color:"#f99157"},"hljs-type":{color:"#f99157"},"hljs-params":{color:"#f99157"},"hljs-meta":{color:"#f99157"},"hljs-link":{color:"#f99157"},"hljs-attribute":{color:"#ffcc66"},"hljs-string":{color:"#99cc99"},"hljs-symbol":{color:"#99cc99"},"hljs-bullet":{color:"#99cc99"},"hljs-addition":{color:"#99cc99"},"hljs-title":{color:"#6699cc"},"hljs-section":{color:"#6699cc"},"hljs-keyword":{color:"#cc99cc"},"hljs-selector-tag":{color:"#cc99cc"},hljs:{display:"block",overflowX:"auto",background:"#2d2d2d",color:"#cccccc",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},8787:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},50619:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#8e908c"},"hljs-quote":{color:"#8e908c"},"hljs-variable":{color:"#c82829"},"hljs-template-variable":{color:"#c82829"},"hljs-tag":{color:"#c82829"},"hljs-name":{color:"#c82829"},"hljs-selector-id":{color:"#c82829"},"hljs-selector-class":{color:"#c82829"},"hljs-regexp":{color:"#c82829"},"hljs-deletion":{color:"#c82829"},"hljs-number":{color:"#f5871f"},"hljs-built_in":{color:"#f5871f"},"hljs-builtin-name":{color:"#f5871f"},"hljs-literal":{color:"#f5871f"},"hljs-type":{color:"#f5871f"},"hljs-params":{color:"#f5871f"},"hljs-meta":{color:"#f5871f"},"hljs-link":{color:"#f5871f"},"hljs-attribute":{color:"#eab700"},"hljs-string":{color:"#718c00"},"hljs-symbol":{color:"#718c00"},"hljs-bullet":{color:"#718c00"},"hljs-addition":{color:"#718c00"},"hljs-title":{color:"#4271ae"},"hljs-section":{color:"#4271ae"},"hljs-keyword":{color:"#8959a8"},"hljs-selector-tag":{color:"#8959a8"},hljs:{display:"block",overflowX:"auto",background:"white",color:"#4d4d4c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},76021:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-comment":{color:"#008000"},"hljs-quote":{color:"#008000"},"hljs-variable":{color:"#008000"},"hljs-keyword":{color:"#00f"},"hljs-selector-tag":{color:"#00f"},"hljs-built_in":{color:"#00f"},"hljs-name":{color:"#00f"},"hljs-tag":{color:"#00f"},"hljs-string":{color:"#a31515"},"hljs-title":{color:"#a31515"},"hljs-section":{color:"#a31515"},"hljs-attribute":{color:"#a31515"},"hljs-literal":{color:"#a31515"},"hljs-template-tag":{color:"#a31515"},"hljs-template-variable":{color:"#a31515"},"hljs-type":{color:"#a31515"},"hljs-addition":{color:"#a31515"},"hljs-deletion":{color:"#2b91af"},"hljs-selector-attr":{color:"#2b91af"},"hljs-selector-pseudo":{color:"#2b91af"},"hljs-meta":{color:"#2b91af"},"hljs-doctag":{color:"#808080"},"hljs-attr":{color:"#f00"},"hljs-symbol":{color:"#00b0e8"},"hljs-bullet":{color:"#00b0e8"},"hljs-link":{color:"#00b0e8"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},58044:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#1E1E1E",color:"#DCDCDC"},"hljs-keyword":{color:"#569CD6"},"hljs-literal":{color:"#569CD6"},"hljs-symbol":{color:"#569CD6"},"hljs-name":{color:"#569CD6"},"hljs-link":{color:"#569CD6",textDecoration:"underline"},"hljs-built_in":{color:"#4EC9B0"},"hljs-type":{color:"#4EC9B0"},"hljs-number":{color:"#B8D7A3"},"hljs-class":{color:"#B8D7A3"},"hljs-string":{color:"#D69D85"},"hljs-meta-string":{color:"#D69D85"},"hljs-regexp":{color:"#9A5334"},"hljs-template-tag":{color:"#9A5334"},"hljs-subst":{color:"#DCDCDC"},"hljs-function":{color:"#DCDCDC"},"hljs-title":{color:"#DCDCDC"},"hljs-params":{color:"#DCDCDC"},"hljs-formula":{color:"#DCDCDC"},"hljs-comment":{color:"#57A64A",fontStyle:"italic"},"hljs-quote":{color:"#57A64A",fontStyle:"italic"},"hljs-doctag":{color:"#608B4E"},"hljs-meta":{color:"#9B9B9B"},"hljs-meta-keyword":{color:"#9B9B9B"},"hljs-tag":{color:"#9B9B9B"},"hljs-variable":{color:"#BD63C5"},"hljs-template-variable":{color:"#BD63C5"},"hljs-attr":{color:"#9CDCFE"},"hljs-attribute":{color:"#9CDCFE"},"hljs-builtin-name":{color:"#9CDCFE"},"hljs-section":{color:"gold"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"},"hljs-bullet":{color:"#D7BA7D"},"hljs-selector-tag":{color:"#D7BA7D"},"hljs-selector-id":{color:"#D7BA7D"},"hljs-selector-class":{color:"#D7BA7D"},"hljs-selector-attr":{color:"#D7BA7D"},"hljs-selector-pseudo":{color:"#D7BA7D"},"hljs-addition":{backgroundColor:"#144212",display:"inline-block",width:"100%"},"hljs-deletion":{backgroundColor:"#600",display:"inline-block",width:"100%"}};l.default=e},4142:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},2665:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",color:"#eaeaea",background:"#000",padding:"0.5em"},"hljs-subst":{color:"#eaeaea"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"},"hljs-builtin-name":{color:"#eaeaea"},"hljs-type":{color:"#eaeaea"},"hljs-params":{color:"#da0000"},"hljs-literal":{color:"#ff0000",fontWeight:"bolder"},"hljs-number":{color:"#ff0000",fontWeight:"bolder"},"hljs-name":{color:"#ff0000",fontWeight:"bolder"},"hljs-comment":{color:"#969896"},"hljs-selector-id":{color:"#00ffff"},"hljs-quote":{color:"#00ffff"},"hljs-template-variable":{color:"#00ffff",fontWeight:"bold"},"hljs-variable":{color:"#00ffff",fontWeight:"bold"},"hljs-title":{color:"#00ffff",fontWeight:"bold"},"hljs-selector-class":{color:"#fff000"},"hljs-keyword":{color:"#fff000"},"hljs-symbol":{color:"#fff000"},"hljs-string":{color:"#00ff00"},"hljs-bullet":{color:"#00ff00"},"hljs-tag":{color:"#000fff"},"hljs-section":{color:"#000fff"},"hljs-selector-tag":{color:"#000fff",fontWeight:"bold"},"hljs-attribute":{color:"#ff00ff"},"hljs-built_in":{color:"#ff00ff"},"hljs-regexp":{color:"#ff00ff"},"hljs-link":{color:"#ff00ff"},"hljs-meta":{color:"#fff",fontWeight:"bolder"}};l.default=e},35661:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#3f3f3f",color:"#dcdcdc"},"hljs-keyword":{color:"#e3ceab"},"hljs-selector-tag":{color:"#e3ceab"},"hljs-tag":{color:"#e3ceab"},"hljs-template-tag":{color:"#dcdcdc"},"hljs-number":{color:"#8cd0d3"},"hljs-variable":{color:"#efdcbc"},"hljs-template-variable":{color:"#efdcbc"},"hljs-attribute":{color:"#efdcbc"},"hljs-literal":{color:"#efefaf"},"hljs-subst":{color:"#8f8f8f"},"hljs-title":{color:"#efef8f"},"hljs-name":{color:"#efef8f"},"hljs-selector-id":{color:"#efef8f"},"hljs-selector-class":{color:"#efef8f"},"hljs-section":{color:"#efef8f"},"hljs-type":{color:"#efef8f"},"hljs-symbol":{color:"#dca3a3"},"hljs-bullet":{color:"#dca3a3"},"hljs-link":{color:"#dca3a3"},"hljs-deletion":{color:"#cc9393"},"hljs-string":{color:"#cc9393"},"hljs-built_in":{color:"#cc9393"},"hljs-builtin-name":{color:"#cc9393"},"hljs-addition":{color:"#7f9f7f"},"hljs-comment":{color:"#7f9f7f"},"hljs-quote":{color:"#7f9f7f"},"hljs-meta":{color:"#7f9f7f"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},42481:function(r,l,e){e.d(l,{Z:function(){return _}});var t=e(45987),c=e(74902),K=e(4942),M=e(67294),sl=e(87462);function G(o,n){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(o);n&&(h=h.filter(function(j){return Object.getOwnPropertyDescriptor(o,j).enumerable})),i.push.apply(i,h)}return i}function Q(o){for(var n=1;n=4)return[o[0],o[1],o[2],o[3],"".concat(o[0],".").concat(o[1]),"".concat(o[0],".").concat(o[2]),"".concat(o[0],".").concat(o[3]),"".concat(o[1],".").concat(o[0]),"".concat(o[1],".").concat(o[2]),"".concat(o[1],".").concat(o[3]),"".concat(o[2],".").concat(o[0]),"".concat(o[2],".").concat(o[1]),"".concat(o[2],".").concat(o[3]),"".concat(o[3],".").concat(o[0]),"".concat(o[3],".").concat(o[1]),"".concat(o[3],".").concat(o[2]),"".concat(o[0],".").concat(o[1],".").concat(o[2]),"".concat(o[0],".").concat(o[1],".").concat(o[3]),"".concat(o[0],".").concat(o[2],".").concat(o[1]),"".concat(o[0],".").concat(o[2],".").concat(o[3]),"".concat(o[0],".").concat(o[3],".").concat(o[1]),"".concat(o[0],".").concat(o[3],".").concat(o[2]),"".concat(o[1],".").concat(o[0],".").concat(o[2]),"".concat(o[1],".").concat(o[0],".").concat(o[3]),"".concat(o[1],".").concat(o[2],".").concat(o[0]),"".concat(o[1],".").concat(o[2],".").concat(o[3]),"".concat(o[1],".").concat(o[3],".").concat(o[0]),"".concat(o[1],".").concat(o[3],".").concat(o[2]),"".concat(o[2],".").concat(o[0],".").concat(o[1]),"".concat(o[2],".").concat(o[0],".").concat(o[3]),"".concat(o[2],".").concat(o[1],".").concat(o[0]),"".concat(o[2],".").concat(o[1],".").concat(o[3]),"".concat(o[2],".").concat(o[3],".").concat(o[0]),"".concat(o[2],".").concat(o[3],".").concat(o[1]),"".concat(o[3],".").concat(o[0],".").concat(o[1]),"".concat(o[3],".").concat(o[0],".").concat(o[2]),"".concat(o[3],".").concat(o[1],".").concat(o[0]),"".concat(o[3],".").concat(o[1],".").concat(o[2]),"".concat(o[3],".").concat(o[2],".").concat(o[0]),"".concat(o[3],".").concat(o[2],".").concat(o[1]),"".concat(o[0],".").concat(o[1],".").concat(o[2],".").concat(o[3]),"".concat(o[0],".").concat(o[1],".").concat(o[3],".").concat(o[2]),"".concat(o[0],".").concat(o[2],".").concat(o[1],".").concat(o[3]),"".concat(o[0],".").concat(o[2],".").concat(o[3],".").concat(o[1]),"".concat(o[0],".").concat(o[3],".").concat(o[1],".").concat(o[2]),"".concat(o[0],".").concat(o[3],".").concat(o[2],".").concat(o[1]),"".concat(o[1],".").concat(o[0],".").concat(o[2],".").concat(o[3]),"".concat(o[1],".").concat(o[0],".").concat(o[3],".").concat(o[2]),"".concat(o[1],".").concat(o[2],".").concat(o[0],".").concat(o[3]),"".concat(o[1],".").concat(o[2],".").concat(o[3],".").concat(o[0]),"".concat(o[1],".").concat(o[3],".").concat(o[0],".").concat(o[2]),"".concat(o[1],".").concat(o[3],".").concat(o[2],".").concat(o[0]),"".concat(o[2],".").concat(o[0],".").concat(o[1],".").concat(o[3]),"".concat(o[2],".").concat(o[0],".").concat(o[3],".").concat(o[1]),"".concat(o[2],".").concat(o[1],".").concat(o[0],".").concat(o[3]),"".concat(o[2],".").concat(o[1],".").concat(o[3],".").concat(o[0]),"".concat(o[2],".").concat(o[3],".").concat(o[0],".").concat(o[1]),"".concat(o[2],".").concat(o[3],".").concat(o[1],".").concat(o[0]),"".concat(o[3],".").concat(o[0],".").concat(o[1],".").concat(o[2]),"".concat(o[3],".").concat(o[0],".").concat(o[2],".").concat(o[1]),"".concat(o[3],".").concat(o[1],".").concat(o[0],".").concat(o[2]),"".concat(o[3],".").concat(o[1],".").concat(o[2],".").concat(o[0]),"".concat(o[3],".").concat(o[2],".").concat(o[0],".").concat(o[1]),"".concat(o[3],".").concat(o[2],".").concat(o[1],".").concat(o[0])]}var Y={};function al(o){if(o.length===0||o.length===1)return o;var n=o.join(".");return Y[n]||(Y[n]=bl(o)),Y[n]}function gl(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,h=o.filter(function(d){return d!=="token"}),j=al(h);return j.reduce(function(d,m){return Q(Q({},d),i[m])},n)}function hl(o){return o.join(" ")}function ml(o,n){var i=0;return function(h){return i+=1,h.map(function(j,d){return q({node:j,stylesheet:o,useInlineStyles:n,key:"code-segment-".concat(i,"-").concat(d)})})}}function q(o){var n=o.node,i=o.stylesheet,h=o.style,j=h===void 0?{}:h,d=o.useInlineStyles,m=o.key,g=n.properties,C=n.type,B=n.tagName,v=n.value;if(C==="text")return v;if(B){var y=ml(i,d),A;if(!d)A=Q(Q({},g),{},{className:hl(g.className)});else{var w=Object.keys(i).reduce(function(P,L){return L.split(".").forEach(function(I){P.includes(I)||P.push(I)}),P},[]),X=g.className&&g.className.includes("token")?["token"]:[],U=g.className&&X.concat(g.className.filter(function(P){return!w.includes(P)}));A=Q(Q({},g),{},{className:hl(U)||void 0,style:gl(g.className,Object.assign({},g.style,j),i)})}var k=y(n.children);return M.createElement(B,(0,sl.Z)({key:m},A),k)}}var pl=function(o,n){var i=o.listLanguages();return i.indexOf(n)!==-1},el=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function x(o,n){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(o);n&&(h=h.filter(function(j){return Object.getOwnPropertyDescriptor(o,j).enumerable})),i.push.apply(i,h)}return i}function O(o){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],h=0;h2&&arguments[2]!==void 0?arguments[2]:[];return $({children:F,lineNumber:W,lineNumberStyle:g,largestLineNumber:m,showInlineLineNumbers:j,lineProps:i,className:S,showLineNumbers:h,wrapLongLines:C})}function U(F,W){if(h&&W&&j){var S=il(g,W,m);F.unshift(nl(W,S))}return F}function k(F,W){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return n||S.length>0?X(F,W,S):U(F,W)}for(var P=function(){var W=v[w],S=W.children[0].value,R=_l(S);if(R){var V=S.split(` +`);V.forEach(function(z,N){var T=h&&y.length+d,D={type:"text",value:"".concat(z,` +`)};if(N===0){var H=v.slice(A+1,w).concat($({children:[D],className:W.properties.className})),Z=k(H,T);y.push(Z)}else if(N===V.length-1){var dl=v[w+1]&&v[w+1].children&&v[w+1].children[0],rl={type:"text",value:"".concat(z)};if(dl){var ll=$({children:[rl],className:W.properties.className});v.splice(w+1,0,ll)}else{var J=[rl],ol=k(J,T,W.properties.className);y.push(ol)}}else{var fl=[D],Wl=k(fl,T,W.properties.className);y.push(Wl)}}),A=w}w++};w{const{componentCls:t,customIconTop:e,customIconSize:n,customIconFontSize:o}=i;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:e,width:n,height:n,fontSize:o,lineHeight:`${(0,l.bf)(n)}`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},Ci=i=>{const{componentCls:t}=i,e=`${t}-item`;return{[`${t}-horizontal`]:{[`${e}-tail`]:{transform:"translateY(-50%)"}}}},yi=i=>{const{componentCls:t,inlineDotSize:e,inlineTitleColor:n,inlineTailColor:o}=i,r=i.calc(i.paddingXS).add(i.lineWidth).equal(),c={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${(0,l.bf)(r)} ${(0,l.bf)(i.paddingXXS)} 0`,margin:`0 ${(0,l.bf)(i.calc(i.marginXXS).div(2).equal())}`,borderRadius:i.borderRadiusSM,cursor:"pointer",transition:`background-color ${i.motionDurationMid}`,"&:hover":{background:i.controlItemBgHover},["&[role='button']:hover"]:{opacity:1}},"&-icon":{width:e,height:e,marginInlineStart:`calc(50% - ${(0,l.bf)(i.calc(e).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:i.calc(i.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:i.calc(i.marginXS).sub(i.lineWidth).equal()},"&-title":{color:n,fontSize:i.fontSizeSM,lineHeight:i.lineHeightSM,fontWeight:"normal",marginBottom:i.calc(i.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:i.calc(e).div(2).add(r).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:i.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i.colorBorderBg,border:`${(0,l.bf)(i.lineWidth)} ${i.lineType} ${o}`}},c),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${(0,l.bf)(i.lineWidth)} ${i.lineType} ${o}`}},c),"&-error":c,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:e,height:e,marginInlineStart:`calc(50% - ${(0,l.bf)(i.calc(e).div(2).equal())})`,top:0}},c),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},Ii=i=>{const{componentCls:t,iconSize:e,lineHeight:n,iconSizeSM:o}=i;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:i.calc(e).div(2).add(i.controlHeightLG).equal(),padding:`0 ${(0,l.bf)(i.paddingLG)}`},"&-content":{display:"block",width:i.calc(e).div(2).add(i.controlHeightLG).mul(2).equal(),marginTop:i.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:i.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:i.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:i.calc(e).sub(o).div(2).add(i.controlHeightLG).equal()}}}}}},Ti=i=>{const{componentCls:t,navContentMaxWidth:e,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:r}=i;return{[`&${t}-navigation`]:{paddingTop:i.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:i.calc(i.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:i.calc(i.margin).mul(-1).equal(),paddingBottom:i.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${t}-item-content`]:{maxWidth:e},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},_.vS),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${(0,l.bf)(i.calc(i.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:i.fontSizeIcon,height:i.fontSizeIcon,borderTop:`${(0,l.bf)(i.lineWidth)} ${i.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,l.bf)(i.lineWidth)} ${i.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:i.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:i.calc(i.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,l.bf)(i.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:i.calc(i.controlHeight).mul(.25).equal(),height:i.calc(i.controlHeight).mul(.25).equal(),marginBottom:i.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},xi=i=>{const{antCls:t,componentCls:e,iconSize:n,iconSizeSM:o,processIconColor:r,marginXXS:c,lineWidthBold:S,lineWidth:d,paddingXXS:g}=i,u=i.calc(n).add(i.calc(S).mul(4).equal()).equal(),h=i.calc(o).add(i.calc(i.lineWidth).mul(4).equal()).equal();return{[`&${e}-with-progress`]:{[`${e}-item`]:{paddingTop:g,[`&-process ${e}-item-container ${e}-item-icon ${e}-icon`]:{color:r}},[`&${e}-vertical > ${e}-item `]:{paddingInlineStart:g,[`> ${e}-item-container > ${e}-item-tail`]:{top:c,insetInlineStart:i.calc(n).div(2).sub(d).add(g).equal()}},[`&, &${e}-small`]:{[`&${e}-horizontal ${e}-item:first-child`]:{paddingBottom:g,paddingInlineStart:g}},[`&${e}-small${e}-vertical > ${e}-item > ${e}-item-container > ${e}-item-tail`]:{insetInlineStart:i.calc(o).div(2).sub(d).add(g).equal()},[`&${e}-label-vertical ${e}-item ${e}-item-tail`]:{top:i.calc(n).div(2).add(g).equal()},[`${e}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${(0,l.bf)(u)} !important`,height:`${(0,l.bf)(u)} !important`}}},[`&${e}-small`]:{[`&${e}-label-vertical ${e}-item ${e}-item-tail`]:{top:i.calc(o).div(2).add(g).equal()},[`${e}-item-icon ${t}-progress-inner`]:{width:`${(0,l.bf)(h)} !important`,height:`${(0,l.bf)(h)} !important`}}}}},zi=i=>{const{componentCls:t,descriptionMaxWidth:e,lineHeight:n,dotCurrentSize:o,dotSize:r,motionDurationSlow:c}=i;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:i.calc(i.dotSize).sub(i.calc(i.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,l.bf)(i.calc(e).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,l.bf)(i.calc(i.marginSM).mul(2).equal())})`,height:i.calc(i.lineWidth).mul(3).equal(),marginInlineStart:i.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:i.calc(i.descriptionMaxWidth).sub(r).div(2).equal(),paddingInlineEnd:0,lineHeight:`${(0,l.bf)(r)}`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${c}`,"&::after":{position:"absolute",top:i.calc(i.marginSM).mul(-1).equal(),insetInlineStart:i.calc(r).sub(i.calc(i.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:i.calc(i.controlHeightLG).mul(1.5).equal(),height:i.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:e},[`&-process ${t}-item-icon`]:{position:"relative",top:i.calc(r).sub(o).div(2).equal(),width:o,height:o,lineHeight:`${(0,l.bf)(o)}`,background:"none",marginInlineStart:i.calc(i.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:i.calc(i.controlHeight).sub(r).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:i.calc(i.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:i.calc(r).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:i.calc(i.controlHeight).sub(r).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,l.bf)(i.calc(r).add(i.paddingXS).equal())} 0 ${(0,l.bf)(i.paddingXS)}`,"&::after":{marginInlineStart:i.calc(r).sub(i.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:i.calc(i.controlHeightSM).sub(r).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:i.calc(i.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:i.calc(i.controlHeightSM).sub(r).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},Ei=i=>{const{componentCls:t}=i;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},wi=i=>{const{componentCls:t,iconSizeSM:e,fontSizeSM:n,fontSize:o,colorTextDescription:r}=i;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:i.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:e,height:e,marginTop:0,marginBottom:0,marginInline:`0 ${(0,l.bf)(i.marginXS)}`,fontSize:n,lineHeight:`${(0,l.bf)(e)}`,textAlign:"center",borderRadius:e},[`${t}-item-title`]:{paddingInlineEnd:i.paddingSM,fontSize:o,lineHeight:`${(0,l.bf)(e)}`,"&::after":{top:i.calc(e).div(2).equal()}},[`${t}-item-description`]:{color:r,fontSize:o},[`${t}-item-tail`]:{top:i.calc(e).div(2).sub(i.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:e,lineHeight:`${(0,l.bf)(e)}`,transform:"none"}}}}},Pi=i=>{const{componentCls:t,iconSizeSM:e,iconSize:n}=i;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:i.margin},[`${t}-item-content`]:{display:"block",minHeight:i.calc(i.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${(0,l.bf)(n)}`},[`${t}-item-description`]:{paddingBottom:i.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.calc(n).div(2).sub(i.lineWidth).equal(),width:i.lineWidth,height:"100%",padding:`${(0,l.bf)(i.calc(i.marginXXS).mul(1.5).add(n).equal())} 0 ${(0,l.bf)(i.calc(i.marginXXS).mul(1.5).equal())}`,"&::after":{width:i.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i.calc(e).div(2).sub(i.lineWidth).equal(),padding:`${(0,l.bf)(i.calc(i.marginXXS).mul(1.5).add(e).equal())} 0 ${(0,l.bf)(i.calc(i.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:`${(0,l.bf)(e)}`}}}}};const Ni="wait",Oi="process",Di="finish",Hi="error",F=(i,t)=>{const e=`${t.componentCls}-item`,n=`${i}IconColor`,o=`${i}TitleColor`,r=`${i}DescriptionColor`,c=`${i}TailColor`,S=`${i}IconBgColor`,d=`${i}IconBorderColor`,g=`${i}DotColor`;return{[`${e}-${i} ${e}-icon`]:{backgroundColor:t[S],borderColor:t[d],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[g]}}},[`${e}-${i}${e}-custom ${e}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[g]}},[`${e}-${i} > ${e}-container > ${e}-content > ${e}-title`]:{color:t[o],"&::after":{backgroundColor:t[c]}},[`${e}-${i} > ${e}-container > ${e}-content > ${e}-description`]:{color:t[r]},[`${e}-${i} > ${e}-container > ${e}-tail::after`]:{backgroundColor:t[c]}}},Mi=i=>{const{componentCls:t,motionDurationSlow:e}=i,n=`${t}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none",["&:focus-visible"]:{[o]:Object.assign({},(0,_.oN)(i))}},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:i.iconSize,height:i.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:i.marginXS,fontSize:i.iconFontSize,fontFamily:i.fontFamily,lineHeight:`${(0,l.bf)(i.iconSize)}`,textAlign:"center",borderRadius:i.iconSize,border:`${(0,l.bf)(i.lineWidth)} ${i.lineType} transparent`,transition:`background-color ${e}, border-color ${e}`,[`${t}-icon`]:{position:"relative",top:i.iconTop,color:i.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:i.calc(i.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:i.lineWidth,background:i.colorSplit,borderRadius:i.lineWidth,transition:`background ${e}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:i.padding,color:i.colorText,fontSize:i.fontSizeLG,lineHeight:`${(0,l.bf)(i.titleLineHeight)}`,"&::after":{position:"absolute",top:i.calc(i.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:i.lineWidth,background:i.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:i.marginXS,color:i.colorTextDescription,fontWeight:"normal",fontSize:i.fontSize},[`${n}-description`]:{color:i.colorTextDescription,fontSize:i.fontSize}},F(Ni,i)),F(Oi,i)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:i.fontWeightStrong}}),F(Di,i)),F(Hi,i)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:i.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Wi=i=>{const{componentCls:t,motionDurationSlow:e}=i;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${e}`}},"&:hover":{[`${t}-item`]:{["&-title, &-subtitle, &-description"]:{color:i.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:i.colorPrimary,[`${t}-icon`]:{color:i.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:i.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:i.descriptionMaxWidth,whiteSpace:"normal"}}}}},ji=i=>{const{componentCls:t}=i;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.Wf)(i)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Mi(i)),Wi(i)),bi(i)),wi(i)),Pi(i)),Ci(i)),Ii(i)),zi(i)),Ti(i)),Ei(i)),xi(i)),yi(i))}},Bi=i=>({titleLineHeight:i.controlHeight,customIconSize:i.controlHeight,customIconTop:0,customIconFontSize:i.controlHeightSM,iconSize:i.controlHeight,iconTop:-.5,iconFontSize:i.fontSize,iconSizeSM:i.fontSizeHeading3,dotSize:i.controlHeight/4,dotCurrentSize:i.controlHeightLG/4,navArrowColor:i.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:i.wireframe?i.colorTextDisabled:i.colorTextLabel,waitIconBgColor:i.wireframe?i.colorBgContainer:i.colorFillContent,waitIconBorderColor:i.wireframe?i.colorTextDisabled:"transparent",finishIconBgColor:i.wireframe?i.colorBgContainer:i.controlItemBgActive,finishIconBorderColor:i.wireframe?i.colorPrimary:i.controlItemBgActive});var qi=(0,hi.I$)("Steps",i=>{const{colorTextDisabled:t,controlHeightLG:e,colorTextLightSolid:n,colorText:o,colorPrimary:r,colorTextDescription:c,colorTextQuaternary:S,colorError:d,colorBorderSecondary:g,colorSplit:u}=i,h=(0,vi.TS)(i,{processIconColor:n,processTitleColor:o,processDescriptionColor:o,processIconBgColor:r,processIconBorderColor:r,processDotColor:r,processTailColor:u,waitTitleColor:c,waitDescriptionColor:c,waitTailColor:u,waitDotColor:t,finishIconColor:r,finishTitleColor:o,finishDescriptionColor:c,finishTailColor:r,finishDotColor:r,errorIconColor:n,errorTitleColor:d,errorDescriptionColor:d,errorTailColor:u,errorIconBgColor:d,errorIconBorderColor:d,errorDotColor:d,stepsNavActiveColor:r,stepsProgressSize:e,inlineDotSize:6,inlineTitleColor:S,inlineTailColor:g});return[ji(h)]},Bi),Zi=s(50344);function Xi(i){return i.filter(t=>t)}function Ri(i,t){if(i)return i;const e=(0,Zi.Z)(t).map(n=>{if(a.isValidElement(n)){const{props:o}=n;return Object.assign({},o)}return null});return Xi(e)}var Ai=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(i);o{const{percent:t,size:e,className:n,rootClassName:o,direction:r,items:c,responsive:S=!0,current:d=0,children:g,style:u}=i,h=Ai(i,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:T}=(0,ui.Z)(S),{getPrefixCls:E,direction:x,steps:v}=a.useContext(pi.E_),w=a.useMemo(()=>S&&T?"vertical":r,[T,r]),P=(0,$i.Z)(e),m=E("steps",i.prefixCls),[N,b,z]=qi(m),O=i.type==="inline",R=E("",i.iconPrefix),B=Ri(c,g),C=O?void 0:t,A=Object.assign(Object.assign({},v==null?void 0:v.style),u),D=W()(v==null?void 0:v.className,{[`${m}-rtl`]:x==="rtl",[`${m}-with-progress`]:C!==void 0},n,o,b,z),q={finish:a.createElement(K.Z,{className:`${m}-finish-icon`}),error:a.createElement(Y.Z,{className:`${m}-error-icon`})},Z=y=>{let{node:$,status:p}=y;if(p==="process"&&C!==void 0){const M=P==="small"?32:40;return a.createElement("div",{className:`${m}-progress-icon`},a.createElement(Si.Z,{type:"circle",percent:C,size:M,strokeWidth:4,format:()=>null}),$)}return $},H=(y,$)=>y.description?a.createElement(fi.Z,{title:y.description},$):$;return N(a.createElement(oi,Object.assign({icons:q},h,{style:A,current:d,size:P,items:B,itemRender:O?H:void 0,stepIcon:Z,direction:w,prefixCls:m,iconPrefix:R,className:D})))};ri.Step=oi.Step;var Li=ri}}]); diff --git a/statics/5102.2a9888c1.async.js b/statics/5102.2a9888c1.async.js new file mode 100644 index 00000000..c2e2c557 --- /dev/null +++ b/statics/5102.2a9888c1.async.js @@ -0,0 +1,12 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5102],{42003:function(je,se){var e={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"};se.Z=e},5717:function(je,se){var e={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"};se.Z=e},78290:function(je,se,e){var t=e(67294),ne=e(17012);const v=G=>{let J;return typeof G=="object"&&(G==null?void 0:G.clearIcon)?J=G:G&&(J={clearIcon:t.createElement(ne.Z,null)}),J};se.Z=v},82586:function(je,se,e){e.d(se,{Z:function(){return l},n:function(){return Ge}});var t=e(67294),ne=e(93967),v=e.n(ne),G=e(67656),J=e(42550),c=e(78290),i=e(9708),O=e(53124),S=e(98866),N=e(35792),Ae=e(98675),Ce=e(65223),Ie=e(27833),$e=e(4173),Ve=e(72922),Le=e(47673);function Ke(w){return!!(w.prefix||w.suffix||w.allowClear||w.showCount)}var We=function(w,xe){var le={};for(var B in w)Object.prototype.hasOwnProperty.call(w,B)&&xe.indexOf(B)<0&&(le[B]=w[B]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,B=Object.getOwnPropertySymbols(w);Y{var le;const{prefixCls:B,bordered:Y=!0,status:ge,size:be,disabled:ye,onBlur:pe,onFocus:Se,suffix:Fe,allowClear:Ne,addonAfter:Pe,addonBefore:Oe,className:Be,style:ze,styles:he,rootClassName:we,onChange:Te,classNames:fe,variant:oe}=w,T=We(w,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Re,direction:ie,input:E}=t.useContext(O.E_),o=Re("input",B),re=(0,t.useRef)(null),h=(0,N.Z)(o),[x,g,D]=(0,Le.ZP)(o,h),{compactSize:q,compactItemClassnames:n}=(0,$e.ri)(o,ie),s=(0,Ae.Z)(A=>{var ae;return(ae=be!=null?be:q)!==null&&ae!==void 0?ae:A}),u=t.useContext(S.Z),a=ye!=null?ye:u,{status:r,hasFeedback:f,feedbackIcon:M}=(0,t.useContext)(Ce.aM),C=(0,i.F)(r,ge),Q=Ke(w)||!!f,R=(0,t.useRef)(Q),j=(0,Ve.Z)(re,!0),Z=A=>{j(),pe==null||pe(A)},m=A=>{j(),Se==null||Se(A)},I=A=>{j(),Te==null||Te(A)},b=(f||Fe)&&t.createElement(t.Fragment,null,Fe,f&&M),$=A=>A&&t.createElement($e.BR,null,t.createElement(Ce.Ux,{override:!0,status:!0},A)),_=(0,c.Z)(Ne!=null?Ne:E==null?void 0:E.allowClear),[X,V]=(0,Ie.Z)(oe,Y);return x(t.createElement(G.Z,Object.assign({ref:(0,J.sQ)(xe,re),prefixCls:o,autoComplete:E==null?void 0:E.autoComplete},T,{disabled:a,onBlur:Z,onFocus:m,style:Object.assign(Object.assign({},E==null?void 0:E.style),ze),styles:Object.assign(Object.assign({},E==null?void 0:E.styles),he),suffix:b,allowClear:_,className:v()(Be,we,D,h,n,E==null?void 0:E.className),onChange:I,addonBefore:$(Oe),addonAfter:$(Pe),classNames:Object.assign(Object.assign(Object.assign({},fe),E==null?void 0:E.classNames),{input:v()({[`${o}-sm`]:s==="small",[`${o}-lg`]:s==="large",[`${o}-rtl`]:ie==="rtl"},fe==null?void 0:fe.input,(le=E==null?void 0:E.classNames)===null||le===void 0?void 0:le.input,g),variant:v()({[`${o}-${X}`]:V},(0,i.Z)(o,C)),affixWrapper:v()({[`${o}-affix-wrapper-sm`]:s==="small",[`${o}-affix-wrapper-lg`]:s==="large",[`${o}-affix-wrapper-rtl`]:ie==="rtl"},g),wrapper:v()({[`${o}-group-rtl`]:ie==="rtl"},g),groupWrapper:v()({[`${o}-group-wrapper-sm`]:s==="small",[`${o}-group-wrapper-lg`]:s==="large",[`${o}-group-wrapper-rtl`]:ie==="rtl",[`${o}-group-wrapper-${X}`]:V},(0,i.Z)(`${o}-group-wrapper`,C,f),g)})})))})},22913:function(je,se,e){e.d(se,{Z:function(){return E}});var t=e(67294),ne=e(93967),v=e.n(ne),G=e(87462),J=e(4942),c=e(1413),i=e(74902),O=e(97685),S=e(45987),N=e(67656),Ae=e(82234),Ce=e(87887),Ie=e(21770),$e=e(71002),Ve=e(9220),Le=e(8410),Ke=e(75164),We=` + 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; + pointer-events: none !important; +`,Ge=["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","white-space"],Ue={},l;function w(o){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=o.getAttribute("id")||o.getAttribute("data-reactid")||o.getAttribute("name");if(re&&Ue[h])return Ue[h];var x=window.getComputedStyle(o),g=x.getPropertyValue("box-sizing")||x.getPropertyValue("-moz-box-sizing")||x.getPropertyValue("-webkit-box-sizing"),D=parseFloat(x.getPropertyValue("padding-bottom"))+parseFloat(x.getPropertyValue("padding-top")),q=parseFloat(x.getPropertyValue("border-bottom-width"))+parseFloat(x.getPropertyValue("border-top-width")),n=Ge.map(function(u){return"".concat(u,":").concat(x.getPropertyValue(u))}).join(";"),s={sizingStyle:n,paddingSize:D,borderSize:q,boxSizing:g};return re&&h&&(Ue[h]=s),s}function xe(o){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;l||(l=document.createElement("textarea"),l.setAttribute("tab-index","-1"),l.setAttribute("aria-hidden","true"),document.body.appendChild(l)),o.getAttribute("wrap")?l.setAttribute("wrap",o.getAttribute("wrap")):l.removeAttribute("wrap");var g=w(o,re),D=g.paddingSize,q=g.borderSize,n=g.boxSizing,s=g.sizingStyle;l.setAttribute("style","".concat(s,";").concat(We)),l.value=o.value||o.placeholder||"";var u=void 0,a=void 0,r,f=l.scrollHeight;if(n==="border-box"?f+=q:n==="content-box"&&(f-=D),h!==null||x!==null){l.value=" ";var M=l.scrollHeight-D;h!==null&&(u=M*h,n==="border-box"&&(u=u+D+q),f=Math.max(u,f)),x!==null&&(a=M*x,n==="border-box"&&(a=a+D+q),r=f>a?"":"hidden",f=Math.min(a,f))}var C={height:f,overflowY:r,resize:"none"};return u&&(C.minHeight=u),a&&(C.maxHeight=a),C}var le=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],B=0,Y=1,ge=2,be=t.forwardRef(function(o,re){var h=o,x=h.prefixCls,g=h.onPressEnter,D=h.defaultValue,q=h.value,n=h.autoSize,s=h.onResize,u=h.className,a=h.style,r=h.disabled,f=h.onChange,M=h.onInternalAutoSize,C=(0,S.Z)(h,le),Q=(0,Ie.Z)(D,{value:q,postState:function(k){return k!=null?k:""}}),R=(0,O.Z)(Q,2),j=R[0],Z=R[1],m=function(k){Z(k.target.value),f==null||f(k)},I=t.useRef();t.useImperativeHandle(re,function(){return{textArea:I.current}});var b=t.useMemo(function(){return n&&(0,$e.Z)(n)==="object"?[n.minRows,n.maxRows]:[]},[n]),$=(0,O.Z)(b,2),_=$[0],X=$[1],V=!!n,A=function(){try{if(document.activeElement===I.current){var k=I.current,W=k.selectionStart,d=k.selectionEnd,z=k.scrollTop;I.current.setSelectionRange(W,d),I.current.scrollTop=z}}catch(U){}},ae=t.useState(ge),L=(0,O.Z)(ae,2),ee=L[0],y=L[1],p=t.useState(),P=(0,O.Z)(p,2),te=P[0],ue=P[1],K=function(){y(B)};(0,Le.Z)(function(){V&&K()},[q,_,X,V]),(0,Le.Z)(function(){if(ee===B)y(Y);else if(ee===Y){var Ee=xe(I.current,!1,_,X);y(ge),ue(Ee)}else A()},[ee]);var ve=t.useRef(),ce=function(){Ke.Z.cancel(ve.current)},me=function(k){ee===ge&&(s==null||s(k),n&&(ce(),ve.current=(0,Ke.Z)(function(){K()})))};t.useEffect(function(){return ce},[]);var Ze=V?te:null,De=(0,c.Z)((0,c.Z)({},a),Ze);return(ee===B||ee===Y)&&(De.overflowY="hidden",De.overflowX="hidden"),t.createElement(Ve.Z,{onResize:me,disabled:!(n||s)},t.createElement("textarea",(0,G.Z)({},C,{ref:I,style:De,className:v()(x,u,(0,J.Z)({},"".concat(x,"-disabled"),r)),disabled:r,value:j,onChange:m})))}),ye=be,pe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","readOnly"],Se=t.forwardRef(function(o,re){var h,x=o.defaultValue,g=o.value,D=o.onFocus,q=o.onBlur,n=o.onChange,s=o.allowClear,u=o.maxLength,a=o.onCompositionStart,r=o.onCompositionEnd,f=o.suffix,M=o.prefixCls,C=M===void 0?"rc-textarea":M,Q=o.showCount,R=o.count,j=o.className,Z=o.style,m=o.disabled,I=o.hidden,b=o.classNames,$=o.styles,_=o.onResize,X=o.readOnly,V=(0,S.Z)(o,pe),A=(0,Ie.Z)(x,{value:g,defaultValue:x}),ae=(0,O.Z)(A,2),L=ae[0],ee=ae[1],y=L==null?"":String(L),p=t.useState(!1),P=(0,O.Z)(p,2),te=P[0],ue=P[1],K=t.useRef(!1),ve=t.useState(null),ce=(0,O.Z)(ve,2),me=ce[0],Ze=ce[1],De=(0,t.useRef)(null),Ee=(0,t.useRef)(null),k=function(){var H;return(H=Ee.current)===null||H===void 0?void 0:H.textArea},W=function(){k().focus()};(0,t.useImperativeHandle)(re,function(){var de;return{resizableTextArea:Ee.current,focus:W,blur:function(){k().blur()},nativeElement:((de=De.current)===null||de===void 0?void 0:de.nativeElement)||k()}}),(0,t.useEffect)(function(){ue(function(de){return!m&&de})},[m]);var d=t.useState(null),z=(0,O.Z)(d,2),U=z[0],Qe=z[1];t.useEffect(function(){if(U){var de;(de=k()).setSelectionRange.apply(de,(0,i.Z)(U))}},[U]);var F=(0,Ae.Z)(R,Q),He=(h=F.max)!==null&&h!==void 0?h:u,_e=Number(He)>0,Ye=F.strategy(y),et=!!He&&Ye>He,qe=function(H,Me){var Xe=Me;!K.current&&F.exceedFormatter&&F.max&&F.strategy(Me)>F.max&&(Xe=F.exceedFormatter(Me,{max:F.max}),Me!==Xe&&Qe([k().selectionStart||0,k().selectionEnd||0])),ee(Xe),(0,Ce.rJ)(H.currentTarget,H,n,Xe)},tt=function(H){K.current=!0,a==null||a(H)},nt=function(H){K.current=!1,qe(H,H.currentTarget.value),r==null||r(H)},at=function(H){qe(H,H.target.value)},ot=function(H){var Me=V.onPressEnter,Xe=V.onKeyDown;H.key==="Enter"&&Me&&Me(H),Xe==null||Xe(H)},rt=function(H){ue(!0),D==null||D(H)},st=function(H){ue(!1),q==null||q(H)},lt=function(H){ee(""),W(),(0,Ce.rJ)(k(),H,n)},ke=f,Je;F.show&&(F.showFormatter?Je=F.showFormatter({value:y,count:Ye,maxLength:He}):Je="".concat(Ye).concat(_e?" / ".concat(He):""),ke=t.createElement(t.Fragment,null,ke,t.createElement("span",{className:v()("".concat(C,"-data-count"),b==null?void 0:b.count),style:$==null?void 0:$.count},Je)));var it=function(H){var Me;_==null||_(H),(Me=k())!==null&&Me!==void 0&&Me.style.height&&Ze(!0)},ut=!V.autoSize&&!Q&&!s;return t.createElement(N.Q,{ref:De,value:y,allowClear:s,handleReset:lt,suffix:ke,prefixCls:C,classNames:(0,c.Z)((0,c.Z)({},b),{},{affixWrapper:v()(b==null?void 0:b.affixWrapper,(0,J.Z)((0,J.Z)({},"".concat(C,"-show-count"),Q),"".concat(C,"-textarea-allow-clear"),s))}),disabled:m,focused:te,className:v()(j,et&&"".concat(C,"-out-of-range")),style:(0,c.Z)((0,c.Z)({},Z),me&&!ut?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Je=="string"?Je:void 0}},hidden:I,readOnly:X},t.createElement(ye,(0,G.Z)({},V,{maxLength:u,onKeyDown:ot,onChange:at,onFocus:rt,onBlur:st,onCompositionStart:tt,onCompositionEnd:nt,className:v()(b==null?void 0:b.textarea),style:(0,c.Z)((0,c.Z)({},$==null?void 0:$.textarea),{},{resize:Z==null?void 0:Z.resize}),disabled:m,prefixCls:C,onResize:it,ref:Ee,readOnly:X})))}),Fe=Se,Ne=Fe,Pe=e(78290),Oe=e(9708),Be=e(53124),ze=e(98866),he=e(35792),we=e(98675),Te=e(65223),fe=e(27833),oe=e(82586),T=e(47673),Re=function(o,re){var h={};for(var x in o)Object.prototype.hasOwnProperty.call(o,x)&&re.indexOf(x)<0&&(h[x]=o[x]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,x=Object.getOwnPropertySymbols(o);g{var h,x;const{prefixCls:g,bordered:D=!0,size:q,disabled:n,status:s,allowClear:u,classNames:a,rootClassName:r,className:f,style:M,styles:C,variant:Q}=o,R=Re(o,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:j,direction:Z,textArea:m}=t.useContext(Be.E_),I=(0,we.Z)(q),b=t.useContext(ze.Z),$=n!=null?n:b,{status:_,hasFeedback:X,feedbackIcon:V}=t.useContext(Te.aM),A=(0,Oe.F)(_,s),ae=t.useRef(null);t.useImperativeHandle(re,()=>{var ve;return{resizableTextArea:(ve=ae.current)===null||ve===void 0?void 0:ve.resizableTextArea,focus:ce=>{var me,Ze;(0,oe.n)((Ze=(me=ae.current)===null||me===void 0?void 0:me.resizableTextArea)===null||Ze===void 0?void 0:Ze.textArea,ce)},blur:()=>{var ce;return(ce=ae.current)===null||ce===void 0?void 0:ce.blur()}}});const L=j("input",g),ee=(0,he.Z)(L),[y,p,P]=(0,T.ZP)(L,ee),[te,ue]=(0,fe.Z)(Q,D),K=(0,Pe.Z)(u!=null?u:m==null?void 0:m.allowClear);return y(t.createElement(Ne,Object.assign({autoComplete:m==null?void 0:m.autoComplete},R,{style:Object.assign(Object.assign({},m==null?void 0:m.style),M),styles:Object.assign(Object.assign({},m==null?void 0:m.styles),C),disabled:$,allowClear:K,className:v()(P,ee,f,r,m==null?void 0:m.className),classNames:Object.assign(Object.assign(Object.assign({},a),m==null?void 0:m.classNames),{textarea:v()({[`${L}-sm`]:I==="small",[`${L}-lg`]:I==="large"},p,a==null?void 0:a.textarea,(h=m==null?void 0:m.classNames)===null||h===void 0?void 0:h.textarea),variant:v()({[`${L}-${te}`]:ue},(0,Oe.Z)(L,A)),affixWrapper:v()(`${L}-textarea-affix-wrapper`,{[`${L}-affix-wrapper-rtl`]:Z==="rtl",[`${L}-affix-wrapper-sm`]:I==="small",[`${L}-affix-wrapper-lg`]:I==="large",[`${L}-textarea-show-count`]:o.showCount||((x=o.count)===null||x===void 0?void 0:x.show)},p)}),prefixCls:L,suffix:X&&t.createElement("span",{className:`${L}-textarea-suffix`},V),ref:ae})))})},72922:function(je,se,e){e.d(se,{Z:function(){return ne}});var t=e(67294);function ne(v,G){const J=(0,t.useRef)([]),c=()=>{J.current.push(setTimeout(()=>{var i,O,S,N;((i=v.current)===null||i===void 0?void 0:i.input)&&((O=v.current)===null||O===void 0?void 0:O.input.getAttribute("type"))==="password"&&((S=v.current)===null||S===void 0?void 0:S.input.hasAttribute("value"))&&((N=v.current)===null||N===void 0||N.input.removeAttribute("value"))}))};return(0,t.useEffect)(()=>(G&&c(),()=>J.current.forEach(i=>{i&&clearTimeout(i)})),[]),c}},55102:function(je,se,e){e.d(se,{Z:function(){return q}});var t=e(67294),ne=e(93967),v=e.n(ne),G=e(53124),J=e(65223),c=e(47673),O=n=>{const{getPrefixCls:s,direction:u}=(0,t.useContext)(G.E_),{prefixCls:a,className:r}=n,f=s("input-group",a),M=s("input"),[C,Q]=(0,c.ZP)(M),R=v()(f,{[`${f}-lg`]:n.size==="large",[`${f}-sm`]:n.size==="small",[`${f}-compact`]:n.compact,[`${f}-rtl`]:u==="rtl"},Q,r),j=(0,t.useContext)(J.aM),Z=(0,t.useMemo)(()=>Object.assign(Object.assign({},j),{isFormItemInput:!1}),[j]);return C(t.createElement("span",{className:R,style:n.style,onMouseEnter:n.onMouseEnter,onMouseLeave:n.onMouseLeave,onFocus:n.onFocus,onBlur:n.onBlur},t.createElement(J.aM.Provider,{value:Z},n.children)))},S=e(82586),N=e(74902),Ae=e(56790),Ce=e(64217),Ie=e(9708),$e=e(35792),Ve=e(98675),Le=e(91945),Ke=e(45503),We=e(20353);const Ge=n=>{const{componentCls:s,paddingXS:u}=n;return{[`${s}`]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:u,"&-rtl":{direction:"rtl"},[`${s}-input`]:{textAlign:"center",paddingInline:n.paddingXXS},[`&${s}-sm ${s}-input`]:{paddingInline:n.calc(n.paddingXXS).div(2).equal()},[`&${s}-lg ${s}-input`]:{paddingInline:n.paddingXS}}}};var Ue=(0,Le.I$)(["Input","OTP"],n=>{const s=(0,Ke.TS)(n,(0,We.e)(n));return[Ge(s)]},We.T),l=e(75164),w=function(n,s){var u={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(u[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(n);r{const{value:u,onChange:a,onActiveChange:r,index:f,mask:M}=n,C=w(n,["value","onChange","onActiveChange","index","mask"]),Q=u&&typeof M=="string"?M:u,R=b=>{a(f,b.target.value)},j=t.useRef(null);t.useImperativeHandle(s,()=>j.current);const Z=()=>{(0,l.Z)(()=>{var b;const $=(b=j.current)===null||b===void 0?void 0:b.input;document.activeElement===$&&$&&$.select()})},m=b=>{let{key:$}=b;$==="ArrowLeft"?r(f-1):$==="ArrowRight"&&r(f+1),Z()},I=b=>{b.key==="Backspace"&&!u&&r(f-1),Z()};return t.createElement(S.Z,Object.assign({},C,{ref:j,value:Q,onInput:R,onFocus:Z,onKeyDown:m,onKeyUp:I,onMouseDown:Z,onMouseUp:Z,type:M===!0?"password":"text"}))}),B=function(n,s){var u={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(u[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(n);r{const{prefixCls:u,length:a=6,size:r,defaultValue:f,value:M,onChange:C,formatter:Q,variant:R,disabled:j,status:Z,autoFocus:m,mask:I}=n,b=B(n,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:$,direction:_}=t.useContext(G.E_),X=$("otp",u),V=(0,Ce.Z)(b,{aria:!0,data:!0,attr:!0}),A=(0,$e.Z)(X),[ae,L,ee]=Ue(X,A),y=(0,Ve.Z)(d=>r!=null?r:d),p=t.useContext(J.aM),P=(0,Ie.F)(p.status,Z),te=t.useMemo(()=>Object.assign(Object.assign({},p),{status:P,hasFeedback:!1,feedbackIcon:null}),[p,P]),ue=t.useRef(null),K=t.useRef({});t.useImperativeHandle(s,()=>({focus:()=>{var d;(d=K.current[0])===null||d===void 0||d.focus()},blur:()=>{var d;for(let z=0;zQ?Q(d):d,[ce,me]=t.useState(Y(ve(f||"")));t.useEffect(()=>{M!==void 0&&me(Y(M))},[M]);const Ze=(0,Ae.zX)(d=>{me(d),C&&d.length===a&&d.every(z=>z)&&d.some((z,U)=>ce[U]!==z)&&C(d.join(""))}),De=(0,Ae.zX)((d,z)=>{let U=(0,N.Z)(ce);for(let F=0;F=0&&!U[F];F-=1)U.pop();const Qe=ve(U.map(F=>F||" ").join(""));return U=Y(Qe).map((F,He)=>F===" "&&!U[He]?U[He]:F),U}),Ee=(d,z)=>{var U;const Qe=De(d,z),F=Math.min(d+z.length,a-1);F!==d&&((U=K.current[F])===null||U===void 0||U.focus()),Ze(Qe)},k=d=>{var z;(z=K.current[d])===null||z===void 0||z.focus()},W={variant:R,disabled:j,status:P,mask:I};return ae(t.createElement("div",Object.assign({},V,{ref:ue,className:v()(X,{[`${X}-sm`]:y==="small",[`${X}-lg`]:y==="large",[`${X}-rtl`]:_==="rtl"},ee,L)}),t.createElement(J.aM.Provider,{value:te},Array.from({length:a}).map((d,z)=>{const U=`otp-${z}`,Qe=ce[z]||"";return t.createElement(le,Object.assign({ref:F=>{K.current[z]=F},key:U,index:z,size:y,htmlSize:1,className:`${X}-input`,onChange:Ee,value:Qe,onActiveChange:k,autoFocus:z===0&&m},W))}))))}),ye=e(87462),pe=e(42003),Se=e(93771),Fe=function(s,u){return t.createElement(Se.Z,(0,ye.Z)({},s,{ref:u,icon:pe.Z}))},Ne=t.forwardRef(Fe),Pe=Ne,Oe=e(1208),Be=e(98423),ze=e(42550),he=e(72922),we=function(n,s){var u={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(u[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(n);rn?t.createElement(Oe.Z,null):t.createElement(Pe,null),fe={click:"onClick",hover:"onMouseOver"};var T=t.forwardRef((n,s)=>{const{disabled:u,action:a="click",visibilityToggle:r=!0,iconRender:f=Te}=n,M=typeof r=="object"&&r.visible!==void 0,[C,Q]=(0,t.useState)(()=>M?r.visible:!1),R=(0,t.useRef)(null);t.useEffect(()=>{M&&Q(r.visible)},[M,r]);const j=(0,he.Z)(R),Z=()=>{u||(C&&j(),Q(p=>{var P;const te=!p;return typeof r=="object"&&((P=r.onVisibleChange)===null||P===void 0||P.call(r,te)),te}))},m=p=>{const P=fe[a]||"",te=f(C),ue={[P]:Z,className:`${p}-icon`,key:"passwordIcon",onMouseDown:K=>{K.preventDefault()},onMouseUp:K=>{K.preventDefault()}};return t.cloneElement(t.isValidElement(te)?te:t.createElement("span",null,te),ue)},{className:I,prefixCls:b,inputPrefixCls:$,size:_}=n,X=we(n,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:V}=t.useContext(G.E_),A=V("input",$),ae=V("input-password",b),L=r&&m(ae),ee=v()(ae,I,{[`${ae}-${_}`]:!!_}),y=Object.assign(Object.assign({},(0,Be.Z)(X,["suffix","iconRender","visibilityToggle"])),{type:C?"text":"password",className:ee,prefixCls:A,suffix:L});return _&&(y.size=_),t.createElement(S.Z,Object.assign({ref:(0,ze.sQ)(s,R)},y))}),Re=e(25783),ie=e(96159),E=e(14726),o=e(4173),re=function(n,s){var u={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(u[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(n);r{const{prefixCls:u,inputPrefixCls:a,className:r,size:f,suffix:M,enterButton:C=!1,addonAfter:Q,loading:R,disabled:j,onSearch:Z,onChange:m,onCompositionStart:I,onCompositionEnd:b}=n,$=re(n,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:_,direction:X}=t.useContext(G.E_),V=t.useRef(!1),A=_("input-search",u),ae=_("input",a),{compactSize:L}=(0,o.ri)(A,X),ee=(0,Ve.Z)(W=>{var d;return(d=f!=null?f:L)!==null&&d!==void 0?d:W}),y=t.useRef(null),p=W=>{W&&W.target&&W.type==="click"&&Z&&Z(W.target.value,W,{source:"clear"}),m&&m(W)},P=W=>{var d;document.activeElement===((d=y.current)===null||d===void 0?void 0:d.input)&&W.preventDefault()},te=W=>{var d,z;Z&&Z((z=(d=y.current)===null||d===void 0?void 0:d.input)===null||z===void 0?void 0:z.value,W,{source:"input"})},ue=W=>{V.current||R||te(W)},K=typeof C=="boolean"?t.createElement(Re.Z,null):null,ve=`${A}-button`;let ce;const me=C||{},Ze=me.type&&me.type.__ANT_BUTTON===!0;Ze||me.type==="button"?ce=(0,ie.Tm)(me,Object.assign({onMouseDown:P,onClick:W=>{var d,z;(z=(d=me==null?void 0:me.props)===null||d===void 0?void 0:d.onClick)===null||z===void 0||z.call(d,W),te(W)},key:"enterButton"},Ze?{className:ve,size:ee}:{})):ce=t.createElement(E.ZP,{className:ve,type:C?"primary":void 0,size:ee,disabled:j,key:"enterButton",onMouseDown:P,onClick:te,loading:R,icon:K},C),Q&&(ce=[ce,(0,ie.Tm)(Q,{key:"addonAfter"})]);const De=v()(A,{[`${A}-rtl`]:X==="rtl",[`${A}-${ee}`]:!!ee,[`${A}-with-button`]:!!C},r),Ee=W=>{V.current=!0,I==null||I(W)},k=W=>{V.current=!1,b==null||b(W)};return t.createElement(S.Z,Object.assign({ref:(0,ze.sQ)(y,s),onPressEnter:ue},$,{size:ee,onCompositionStart:Ee,onCompositionEnd:k,prefixCls:ae,addonAfter:ce,suffix:M,onChange:p,className:De,disabled:j}))}),g=e(22913);const D=S.Z;D.Group=O,D.Search=x,D.TextArea=g.Z,D.Password=T,D.OTP=be;var q=D},1208:function(je,se,e){var t=e(87462),ne=e(67294),v=e(5717),G=e(93771),J=function(O,S){return ne.createElement(G.Z,(0,t.Z)({},O,{ref:S,icon:v.Z}))},c=ne.forwardRef(J);se.Z=c},82234:function(je,se,e){e.d(se,{Z:function(){return i}});var t=e(45987),ne=e(1413),v=e(71002),G=e(67294),J=["show"];function c(O,S){if(!S.max)return!0;var N=S.strategy(O);return N<=S.max}function i(O,S){return G.useMemo(function(){var N={};S&&(N.show=(0,v.Z)(S)==="object"&&S.formatter?S.formatter:!!S),N=(0,ne.Z)((0,ne.Z)({},N),O);var Ae=N,Ce=Ae.show,Ie=(0,t.Z)(Ae,J);return(0,ne.Z)((0,ne.Z)({},Ie),{},{show:!!Ce,showFormatter:typeof Ce=="function"?Ce:void 0,strategy:Ie.strategy||function($e){return $e.length}})},[O,S])}},67656:function(je,se,e){e.d(se,{Q:function(){return N},Z:function(){return Ue}});var t=e(1413),ne=e(87462),v=e(4942),G=e(71002),J=e(93967),c=e.n(J),i=e(67294),O=e(87887),S=i.forwardRef(function(l,w){var xe,le,B=l.inputElement,Y=l.children,ge=l.prefixCls,be=l.prefix,ye=l.suffix,pe=l.addonBefore,Se=l.addonAfter,Fe=l.className,Ne=l.style,Pe=l.disabled,Oe=l.readOnly,Be=l.focused,ze=l.triggerFocus,he=l.allowClear,we=l.value,Te=l.handleReset,fe=l.hidden,oe=l.classes,T=l.classNames,Re=l.dataAttrs,ie=l.styles,E=l.components,o=Y!=null?Y:B,re=(E==null?void 0:E.affixWrapper)||"span",h=(E==null?void 0:E.groupWrapper)||"span",x=(E==null?void 0:E.wrapper)||"span",g=(E==null?void 0:E.groupAddon)||"span",D=(0,i.useRef)(null),q=function(V){var A;(A=D.current)!==null&&A!==void 0&&A.contains(V.target)&&(ze==null||ze())},n=(0,O.X3)(l),s=(0,i.cloneElement)(o,{value:we,className:c()(o.props.className,!n&&(T==null?void 0:T.variant))||null}),u=(0,i.useRef)(null);if(i.useImperativeHandle(w,function(){return{nativeElement:u.current||D.current}}),n){var a,r=null;if(he){var f,M=!Pe&&!Oe&&we,C="".concat(ge,"-clear-icon"),Q=(0,G.Z)(he)==="object"&&he!==null&&he!==void 0&&he.clearIcon?he.clearIcon:"\u2716";r=i.createElement("span",{onClick:Te,onMouseDown:function(V){return V.preventDefault()},className:c()(C,(f={},(0,v.Z)(f,"".concat(C,"-hidden"),!M),(0,v.Z)(f,"".concat(C,"-has-suffix"),!!ye),f)),role:"button",tabIndex:-1},Q)}var R="".concat(ge,"-affix-wrapper"),j=c()(R,(a={},(0,v.Z)(a,"".concat(ge,"-disabled"),Pe),(0,v.Z)(a,"".concat(R,"-disabled"),Pe),(0,v.Z)(a,"".concat(R,"-focused"),Be),(0,v.Z)(a,"".concat(R,"-readonly"),Oe),(0,v.Z)(a,"".concat(R,"-input-with-clear-btn"),ye&&he&&we),a),oe==null?void 0:oe.affixWrapper,T==null?void 0:T.affixWrapper,T==null?void 0:T.variant),Z=(ye||he)&&i.createElement("span",{className:c()("".concat(ge,"-suffix"),T==null?void 0:T.suffix),style:ie==null?void 0:ie.suffix},r,ye);s=i.createElement(re,(0,ne.Z)({className:j,style:ie==null?void 0:ie.affixWrapper,onClick:q},Re==null?void 0:Re.affixWrapper,{ref:D}),be&&i.createElement("span",{className:c()("".concat(ge,"-prefix"),T==null?void 0:T.prefix),style:ie==null?void 0:ie.prefix},be),s,Z)}if((0,O.He)(l)){var m="".concat(ge,"-group"),I="".concat(m,"-addon"),b="".concat(m,"-wrapper"),$=c()("".concat(ge,"-wrapper"),m,oe==null?void 0:oe.wrapper,T==null?void 0:T.wrapper),_=c()(b,(0,v.Z)({},"".concat(b,"-disabled"),Pe),oe==null?void 0:oe.group,T==null?void 0:T.groupWrapper);s=i.createElement(h,{className:_,ref:u},i.createElement(x,{className:$},pe&&i.createElement(g,{className:I},pe),s,Se&&i.createElement(g,{className:I},Se)))}return i.cloneElement(s,{className:c()((xe=s.props)===null||xe===void 0?void 0:xe.className,Fe)||null,style:(0,t.Z)((0,t.Z)({},(le=s.props)===null||le===void 0?void 0:le.style),Ne),hidden:fe})}),N=S,Ae=e(74902),Ce=e(97685),Ie=e(45987),$e=e(21770),Ve=e(98423),Le=e(82234),Ke=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],We=(0,i.forwardRef)(function(l,w){var xe=l.autoComplete,le=l.onChange,B=l.onFocus,Y=l.onBlur,ge=l.onPressEnter,be=l.onKeyDown,ye=l.prefixCls,pe=ye===void 0?"rc-input":ye,Se=l.disabled,Fe=l.htmlSize,Ne=l.className,Pe=l.maxLength,Oe=l.suffix,Be=l.showCount,ze=l.count,he=l.type,we=he===void 0?"text":he,Te=l.classes,fe=l.classNames,oe=l.styles,T=l.onCompositionStart,Re=l.onCompositionEnd,ie=(0,Ie.Z)(l,Ke),E=(0,i.useState)(!1),o=(0,Ce.Z)(E,2),re=o[0],h=o[1],x=(0,i.useRef)(!1),g=(0,i.useRef)(null),D=(0,i.useRef)(null),q=function(p){g.current&&(0,O.nH)(g.current,p)},n=(0,$e.Z)(l.defaultValue,{value:l.value}),s=(0,Ce.Z)(n,2),u=s[0],a=s[1],r=u==null?"":String(u),f=(0,i.useState)(null),M=(0,Ce.Z)(f,2),C=M[0],Q=M[1],R=(0,Le.Z)(ze,Be),j=R.max||Pe,Z=R.strategy(r),m=!!j&&Z>j;(0,i.useImperativeHandle)(w,function(){var y;return{focus:q,blur:function(){var P;(P=g.current)===null||P===void 0||P.blur()},setSelectionRange:function(P,te,ue){var K;(K=g.current)===null||K===void 0||K.setSelectionRange(P,te,ue)},select:function(){var P;(P=g.current)===null||P===void 0||P.select()},input:g.current,nativeElement:((y=D.current)===null||y===void 0?void 0:y.nativeElement)||g.current}}),(0,i.useEffect)(function(){h(function(y){return y&&Se?!1:y})},[Se]);var I=function(p,P,te){var ue=P;if(!x.current&&R.exceedFormatter&&R.max&&R.strategy(P)>R.max){if(ue=R.exceedFormatter(P,{max:R.max}),P!==ue){var K,ve;Q([((K=g.current)===null||K===void 0?void 0:K.selectionStart)||0,((ve=g.current)===null||ve===void 0?void 0:ve.selectionEnd)||0])}}else if(te.source==="compositionEnd")return;a(ue),g.current&&(0,O.rJ)(g.current,p,le,ue)};(0,i.useEffect)(function(){if(C){var y;(y=g.current)===null||y===void 0||y.setSelectionRange.apply(y,(0,Ae.Z)(C))}},[C]);var b=function(p){I(p,p.target.value,{source:"change"})},$=function(p){x.current=!1,I(p,p.currentTarget.value,{source:"compositionEnd"}),Re==null||Re(p)},_=function(p){ge&&p.key==="Enter"&&ge(p),be==null||be(p)},X=function(p){h(!0),B==null||B(p)},V=function(p){h(!1),Y==null||Y(p)},A=function(p){a(""),q(),g.current&&(0,O.rJ)(g.current,p,le)},ae=m&&"".concat(pe,"-out-of-range"),L=function(){var p=(0,Ve.Z)(l,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return i.createElement("input",(0,ne.Z)({autoComplete:xe},p,{onChange:b,onFocus:X,onBlur:V,onKeyDown:_,className:c()(pe,(0,v.Z)({},"".concat(pe,"-disabled"),Se),fe==null?void 0:fe.input),style:oe==null?void 0:oe.input,ref:g,size:Fe,type:we,onCompositionStart:function(te){x.current=!0,T==null||T(te)},onCompositionEnd:$}))},ee=function(){var p=Number(j)>0;if(Oe||R.show){var P=R.showFormatter?R.showFormatter({value:r,count:Z,maxLength:j}):"".concat(Z).concat(p?" / ".concat(j):"");return i.createElement(i.Fragment,null,R.show&&i.createElement("span",{className:c()("".concat(pe,"-show-count-suffix"),(0,v.Z)({},"".concat(pe,"-show-count-has-suffix"),!!Oe),fe==null?void 0:fe.count),style:(0,t.Z)({},oe==null?void 0:oe.count)},P),Oe)}return null};return i.createElement(N,(0,ne.Z)({},ie,{prefixCls:pe,className:c()(Ne,ae),handleReset:A,value:r,focused:re,triggerFocus:q,suffix:ee(),disabled:Se,classes:Te,classNames:fe,styles:oe}),L())}),Ge=We,Ue=Ge},87887:function(je,se,e){e.d(se,{He:function(){return t},X3:function(){return ne},nH:function(){return J},rJ:function(){return G}});function t(c){return!!(c.addonBefore||c.addonAfter)}function ne(c){return!!(c.prefix||c.suffix||c.allowClear)}function v(c,i,O){var S=i.cloneNode(!0),N=Object.create(c,{target:{value:S},currentTarget:{value:S}});return S.value=O,typeof i.selectionStart=="number"&&typeof i.selectionEnd=="number"&&(S.selectionStart=i.selectionStart,S.selectionEnd=i.selectionEnd),S.setSelectionRange=function(){i.setSelectionRange.apply(i,arguments)},N}function G(c,i,O,S){if(!!O){var N=i;if(i.type==="click"){N=v(i,c,""),O(N);return}if(c.type!=="file"&&S!==void 0){N=v(i,c,S),O(N);return}O(N)}}function J(c,i){if(!!c){c.focus(i);var O=i||{},S=O.cursor;if(S){var N=c.value.length;switch(S){case"start":c.setSelectionRange(0,0);break;case"end":c.setSelectionRange(N,N);break;default:c.setSelectionRange(0,N)}}}}}}]); diff --git a/statics/5179.52d85221.async.js b/statics/5179.52d85221.async.js new file mode 100644 index 00000000..11b38fe6 --- /dev/null +++ b/statics/5179.52d85221.async.js @@ -0,0 +1,2 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5179],{40110:function(G,V,W){"use strict";var T=W(1413),x=W(67294),e=W(509),n=W(84089),i=function(h,s){return x.createElement(n.Z,(0,T.Z)((0,T.Z)({},h),{},{ref:s,icon:e.Z}))},v=x.forwardRef(i);V.Z=v},37763:function(G,V,W){G.exports=function(T){var x={};function e(n){if(x[n])return x[n].exports;var i=x[n]={exports:{},id:n,loaded:!1};return T[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}return e.m=T,e.c=x,e.p="",e(0)}([function(T,x,e){T.exports=e(1)},function(T,x,e){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function n(a){return a&&a.__esModule?a:{default:a}}var i=e(2),v=n(i);x.default=v.default,T.exports=x.default},function(T,x,e){"use strict";Object.defineProperty(x,"__esModule",{value:!0});var n=Object.assign||function(r){for(var u=1;u=0||!Object.prototype.hasOwnProperty.call(r,g)||(c[g]=r[g]);return c}var a=e(3),h=e(4),s=i(h),l=e(14),m=e(15),o=i(m);d.propTypes={activeClassName:s.default.string,activeIndex:s.default.number,activeStyle:s.default.object,autoEscape:s.default.bool,className:s.default.string,findChunks:s.default.func,highlightClassName:s.default.oneOfType([s.default.object,s.default.string]),highlightStyle:s.default.object,highlightTag:s.default.oneOfType([s.default.node,s.default.func,s.default.string]),sanitize:s.default.func,searchWords:s.default.arrayOf(s.default.oneOfType([s.default.string,s.default.instanceOf(RegExp)])).isRequired,textToHighlight:s.default.string.isRequired,unhighlightClassName:s.default.string,unhighlightStyle:s.default.object};function d(r){var u=r.activeClassName,c=u===void 0?"":u,g=r.activeIndex,p=g===void 0?-1:g,y=r.activeStyle,P=r.autoEscape,A=r.caseSensitive,L=A===void 0?!1:A,z=r.className,$=r.findChunks,k=r.highlightClassName,M=k===void 0?"":k,B=r.highlightStyle,Y=B===void 0?{}:B,F=r.highlightTag,J=F===void 0?"mark":F,q=r.sanitize,U=r.searchWords,Z=r.textToHighlight,N=r.unhighlightClassName,K=N===void 0?"":N,Q=r.unhighlightStyle,X=v(r,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),t=(0,a.findAll)({autoEscape:P,caseSensitive:L,findChunks:$,sanitize:q,searchWords:U,textToHighlight:Z}),f=J,S=-1,C="",E=void 0,I=function(b){var w={};for(var j in b)w[j.toLowerCase()]=b[j];return w},R=(0,o.default)(I);return(0,l.createElement)("span",n({className:z},X,{children:t.map(function(O,b){var w=Z.substr(O.start,O.end-O.start);if(O.highlight){S++;var j=void 0;typeof M=="object"?L?j=M[w]:(M=R(M),j=M[w.toLowerCase()]):j=M;var D=S===+p;C=j+" "+(D?c:""),E=D===!0&&y!=null?Object.assign({},Y,y):Y;var H={children:w,className:C,key:b,style:E};return typeof f!="string"&&(H.highlightIndex=S),(0,l.createElement)(f,H)}else return(0,l.createElement)("span",{children:w,className:K,key:b,style:Q})})}))}T.exports=x.default},function(T,x){T.exports=function(e){var n={};function i(v){if(n[v])return n[v].exports;var a=n[v]={exports:{},id:v,loaded:!1};return e[v].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=n,i.p="",i(0)}([function(e,n,i){e.exports=i(1)},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var v=i(2);Object.defineProperty(n,"combineChunks",{enumerable:!0,get:function(){return v.combineChunks}}),Object.defineProperty(n,"fillInChunks",{enumerable:!0,get:function(){return v.fillInChunks}}),Object.defineProperty(n,"findAll",{enumerable:!0,get:function(){return v.findAll}}),Object.defineProperty(n,"findChunks",{enumerable:!0,get:function(){return v.findChunks}})},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=n.findAll=function(o){var d=o.autoEscape,r=o.caseSensitive,u=r===void 0?!1:r,c=o.findChunks,g=c===void 0?a:c,p=o.sanitize,y=o.searchWords,P=o.textToHighlight;return h({chunksToHighlight:v({chunks:g({autoEscape:d,caseSensitive:u,sanitize:p,searchWords:y,textToHighlight:P})}),totalLength:P?P.length:0})},v=n.combineChunks=function(o){var d=o.chunks;return d=d.sort(function(r,u){return r.start-u.start}).reduce(function(r,u){if(r.length===0)return[u];var c=r.pop();if(u.start<=c.end){var g=Math.max(c.end,u.end);r.push({start:c.start,end:g})}else r.push(c,u);return r},[]),d},a=function(o){var d=o.autoEscape,r=o.caseSensitive,u=o.sanitize,c=u===void 0?s:u,g=o.searchWords,p=o.textToHighlight;return p=c(p),g.filter(function(y){return y}).reduce(function(y,P){P=c(P),d&&(P=l(P));for(var A=new RegExp(P,r?"g":"gi"),L=void 0;L=A.exec(p);){var z=L.index,$=A.lastIndex;$>z&&y.push({start:z,end:$}),L.index==A.lastIndex&&A.lastIndex++}return y},[])};n.findChunks=a;var h=n.fillInChunks=function(o){var d=o.chunksToHighlight,r=o.totalLength,u=[],c=function(y,P,A){P-y>0&&u.push({start:y,end:P,highlight:A})};if(d.length===0)c(0,r,!1);else{var g=0;d.forEach(function(p){c(g,p.start,!1),c(p.start,p.end,!0),g=p.end}),c(g,r,!1)}return u};function s(m){return m}function l(m){return m.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(T,x,e){(function(n){if(n.env.NODE_ENV!=="production"){var i=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,v=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===i},a=!0;T.exports=e(6)(v,a)}else T.exports=e(13)()}).call(x,e(5))},function(T,x){var e=T.exports={},n,i;function v(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=v}catch(p){n=v}try{typeof clearTimeout=="function"?i=clearTimeout:i=a}catch(p){i=a}})();function h(p){if(n===setTimeout)return setTimeout(p,0);if((n===v||!n)&&setTimeout)return n=setTimeout,setTimeout(p,0);try{return n(p,0)}catch(y){try{return n.call(null,p,0)}catch(P){return n.call(this,p,0)}}}function s(p){if(i===clearTimeout)return clearTimeout(p);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(p);try{return i(p)}catch(y){try{return i.call(null,p)}catch(P){return i.call(this,p)}}}var l=[],m=!1,o,d=-1;function r(){!m||!o||(m=!1,o.length?l=o.concat(l):d=-1,l.length&&u())}function u(){if(!m){var p=h(r);m=!0;for(var y=l.length;y;){for(o=l,l=[];++d1)for(var P=1;P1?l-1:0),o=1;o2?m-2:0),d=2;d1&&arguments[1]!==void 0?arguments[1]:e,a=void 0,h=[],s=void 0,l=!1,m=function(r,u){return v(r,h[u])},o=function(){for(var r=arguments.length,u=Array(r),c=0;c1&&arguments[1]!==void 0?arguments[1]:0,M=C[f];if(I(M)){var P=document.createElement("script");P.setAttribute("src",M),P.setAttribute("data-namespace",M),C.length>f+1&&(P.onload=function(){g(C,f+1)},P.onerror=function(){g(C,f+1)}),a.add(M),document.body.appendChild(P)}}function B(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=C.scriptUrl,M=C.extraCommonProps,P=M===void 0?{}:M;f&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(f)?g(f.reverse()):g([f]));var $=h.forwardRef(function(D,j){var A=D.type,K=D.children,W=(0,E.Z)(D,y),x=null;return D.type&&(x=h.createElement("use",{xlinkHref:"#".concat(A)})),K&&(x=K),h.createElement(s.Z,(0,i.Z)((0,i.Z)((0,i.Z)({},P),W),{},{ref:j}),x)});return $.displayName="Iconfont",$}},8751:function(z,b,t){t.d(b,{Z:function(){return I}});var i=t(1413),E=t(67294),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"check-circle",theme:"outlined"},s=h,y=t(84089),a=function(B,C){return E.createElement(y.Z,(0,i.Z)((0,i.Z)({},B),{},{ref:C,icon:s}))};a.displayName="CheckCircleOutlined";var I=E.forwardRef(a)},18429:function(z,b,t){t.d(b,{Z:function(){return I}});var i=t(1413),E=t(67294),h={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"},s=h,y=t(84089),a=function(B,C){return E.createElement(y.Z,(0,i.Z)((0,i.Z)({},B),{},{ref:C,icon:s}))};a.displayName="CloseCircleOutlined";var I=E.forwardRef(a)},51042:function(z,b,t){var i=t(1413),E=t(67294),h=t(42110),s=t(84089),y=function(I,g){return E.createElement(s.Z,(0,i.Z)((0,i.Z)({},I),{},{ref:g,icon:h.Z}))};y.displayName="PlusOutlined",b.Z=E.forwardRef(y)},40110:function(z,b,t){var i=t(1413),E=t(67294),h=t(509),s=t(84089),y=function(I,g){return E.createElement(s.Z,(0,i.Z)((0,i.Z)({},I),{},{ref:g,icon:h.Z}))};y.displayName="SearchOutlined",b.Z=E.forwardRef(y)},86738:function(z,b,t){t.d(b,{Z:function(){return u}});var i=t(26702),E=t(94184),h=t.n(E),s=t(21770),y=t(15105),a=t(67294),I=t(98423),g=t(53124),B=t(55241),C=t(96159),f=t(71577),M=t(87149),P=t(86743),$=t(74342),D=t(24457),j=t(81643),A=t(60590),K=t(67968);const W=e=>{const{componentCls:o,iconCls:c,zIndexPopup:r,colorText:l,colorWarning:p,marginXS:v,fontSize:d,fontWeightStrong:Z,lineHeight:N}=e;return{[o]:{zIndex:r,[`${o}-inner-content`]:{color:l},[`${o}-message`]:{position:"relative",marginBottom:v,color:l,fontSize:d,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o}-message-icon ${c}`]:{color:p,fontSize:d,flex:"none",lineHeight:1,paddingTop:(Math.round(d*N)-d)/2},"&-title":{flex:"auto",marginInlineStart:v},"&-title-only":{fontWeight:Z}},[`${o}-description`]:{position:"relative",marginInlineStart:d+v,marginBottom:v,color:l,fontSize:d},[`${o}-buttons`]:{textAlign:"end",button:{marginInlineStart:v}}}}};var x=(0,K.Z)("Popconfirm",e=>W(e),e=>{const{zIndexPopupBase:o}=e;return{zIndexPopup:o+60}}),w=function(e,o){var c={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(c[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l{const{prefixCls:o,okButtonProps:c,cancelButtonProps:r,title:l,description:p,cancelText:v,okText:d,okType:Z="primary",icon:N=a.createElement(i.Z,null),showCancel:U=!0,close:Y,onConfirm:V,onCancel:H}=e,{getPrefixCls:G}=a.useContext(g.E_);return a.createElement($.Z,{componentName:"Popconfirm",defaultLocale:D.Z.Popconfirm},T=>a.createElement("div",{className:`${o}-inner-content`},a.createElement("div",{className:`${o}-message`},N&&a.createElement("span",{className:`${o}-message-icon`},N),a.createElement("div",{className:h()(`${o}-message-title`,{[`${o}-message-title-only`]:!!p})},(0,j.Z)(l))),p&&a.createElement("div",{className:`${o}-description`},(0,j.Z)(p)),a.createElement("div",{className:`${o}-buttons`},U&&a.createElement(f.ZP,Object.assign({onClick:H,size:"small"},r),v!=null?v:T.cancelText),a.createElement(P.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,M.n)(Z)),c),actionFn:V,close:Y,prefixCls:G("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},d!=null?d:T.okText))))};function F(e){const{prefixCls:o,placement:c,className:r,style:l}=e,p=w(e,["prefixCls","placement","className","style"]),{getPrefixCls:v}=a.useContext(g.E_),d=v("popconfirm",o),[Z]=x(d);return Z(a.createElement(A.ZP,{placement:c,className:h()(d,r),style:l,content:a.createElement(L,Object.assign({prefixCls:d},p))}))}var n=function(e,o){var c={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(c[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l{const{getPrefixCls:c}=a.useContext(g.E_),[r,l]=(0,s.Z)(!1,{value:e.open,defaultValue:e.defaultOpen}),p=(O,S)=>{var R;l(O,!0),(R=e.onOpenChange)===null||R===void 0||R.call(e,O,S)},v=O=>{p(!1,O)},d=O=>{var S;return(S=e.onConfirm)===null||S===void 0?void 0:S.call(void 0,O)},Z=O=>{var S;p(!1,O),(S=e.onCancel)===null||S===void 0||S.call(void 0,O)},N=O=>{O.keyCode===y.Z.ESC&&r&&p(!1,O)},U=O=>{const{disabled:S=!1}=e;S||p(O)},{prefixCls:Y,placement:V="top",trigger:H="click",okType:G="primary",icon:T=a.createElement(i.Z,null),children:_,overlayClassName:J}=e,Q=n(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),X=c("popconfirm",Y),k=h()(X,J),[q]=x(X);return q(a.createElement(B.Z,Object.assign({},(0,I.Z)(Q,["title"]),{trigger:H,placement:V,onOpenChange:U,open:r,ref:o,overlayClassName:k,content:a.createElement(L,Object.assign({okType:G,icon:T},e,{prefixCls:X,close:v,onConfirm:d,onCancel:Z})),"data-popover-inject":!0}),(0,C.Tm)(_,{onKeyDown:O=>{var S,R;a.isValidElement(_)&&((R=_==null?void 0:(S=_.props).onKeyDown)===null||R===void 0||R.call(S,O)),N(O)}})))});m._InternalPanelDoNotUseOrYouWillBeFired=F;var u=m},51904:function(z,b,t){t.d(b,{Z:function(){return F}});var i=t(62208),E=t(94184),h=t.n(E),s=t(67294),y=t(53124),a=t(98787),I=t(45353),g=t(67968),B=t(45503);function C(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}var f=t(63443),M=t(14747);const P=(n,m,u)=>{const e=C(u);return{[`${n.componentCls}-${m}`]:{color:n[`color${u}`],background:n[`color${e}Bg`],borderColor:n[`color${e}Border`]}}},$=n=>(0,f.j)(n,(m,u)=>{let{textColor:e,lightBorderColor:o,lightColor:c,darkColor:r}=u;return{[`${n.componentCls}-${m}`]:{color:e,background:c,borderColor:o,"&-inverse":{color:n.colorTextLightSolid,background:r,borderColor:r}}}}),D=n=>{const{paddingXXS:m,lineWidth:u,tagPaddingHorizontal:e,componentCls:o}=n,c=e-u,r=m-u;return{[o]:Object.assign(Object.assign({},(0,M.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:c,fontSize:n.tagFontSize,lineHeight:`${n.tagLineHeight}px`,whiteSpace:"nowrap",background:n.tagDefaultBg,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.tagDefaultColor},[`${o}-close-icon`]:{marginInlineStart:r,color:n.colorTextDescription,fontSize:n.tagIconSize,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:c}})}};var j=(0,g.Z)("Tag",n=>{const{fontSize:m,lineHeight:u,lineWidth:e,fontSizeIcon:o}=n,c=Math.round(m*u),r=n.fontSizeSM,l=c-e*2,p=n.colorFillAlter,v=n.colorText,d=(0,B.TS)(n,{tagFontSize:r,tagLineHeight:l,tagDefaultBg:p,tagDefaultColor:v,tagIconSize:o-2*e,tagPaddingHorizontal:8});return[D(d),$(d),P(d,"success","Success"),P(d,"processing","Info"),P(d,"error","Error"),P(d,"warning","Warning")]}),A=function(n,m){var u={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&m.indexOf(e)<0&&(u[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,e=Object.getOwnPropertySymbols(n);o{var{prefixCls:m,className:u,checked:e,onChange:o,onClick:c}=n,r=A(n,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:l}=s.useContext(y.E_),p=U=>{o==null||o(!e),c==null||c(U)},v=l("tag",m),[d,Z]=j(v),N=h()(v,{[`${v}-checkable`]:!0,[`${v}-checkable-checked`]:e},u,Z);return d(s.createElement("span",Object.assign({},r,{className:N,onClick:p})))},x=function(n,m){var u={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&m.indexOf(e)<0&&(u[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,e=Object.getOwnPropertySymbols(n);o{var{prefixCls:u,className:e,style:o,children:c,icon:r,color:l,onClose:p,closeIcon:v,closable:d=!1}=n,Z=x(n,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:N,direction:U}=s.useContext(y.E_),[Y,V]=s.useState(!0);s.useEffect(()=>{"visible"in Z&&V(Z.visible)},[Z.visible]);const H=(0,a.o2)(l)||(0,a.yT)(l),G=Object.assign({backgroundColor:l&&!H?l:void 0},o),T=N("tag",u),[_,J]=j(T),Q=h()(T,{[`${T}-${l}`]:H,[`${T}-has-color`]:l&&!H,[`${T}-hidden`]:!Y,[`${T}-rtl`]:U==="rtl"},e,J),X=ee=>{ee.stopPropagation(),p==null||p(ee),!ee.defaultPrevented&&V(!1)},k=()=>d?v?s.createElement("span",{className:`${T}-close-icon`,onClick:X},v):s.createElement(i.Z,{className:`${T}-close-icon`,onClick:X}):null,q=typeof Z.onClick=="function"||c&&c.type==="a",O=r||null,S=O?s.createElement(s.Fragment,null,O,s.createElement("span",null,c)):c,R=s.createElement("span",Object.assign({},Z,{ref:m,className:Q,style:G}),S,k());return _(q?s.createElement(I.Z,null,R):R)},L=s.forwardRef(w);L.CheckableTag=W;var F=L}}]); diff --git a/statics/5373.eb2a3ba4.async.js b/statics/5373.eb2a3ba4.async.js deleted file mode 100644 index d29b8eab..00000000 --- a/statics/5373.eb2a3ba4.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5373],{60532:function(ie,U,b){b.d(U,{Z:function(){return B}});var W=b(1413),K=b(67294),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},M=D,R=b(84089),k=function(h,m){return K.createElement(R.Z,(0,W.Z)((0,W.Z)({},h),{},{ref:m,icon:M}))};k.displayName="MenuOutlined";var B=K.forwardRef(k)},60219:function(ie,U,b){b.d(U,{Z:function(){return B}});var W=b(1413),K=b(67294),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},M=D,R=b(84089),k=function(h,m){return K.createElement(R.Z,(0,W.Z)((0,W.Z)({},h),{},{ref:m,icon:M}))};k.displayName="SaveOutlined";var B=K.forwardRef(k)},95742:function(ie,U,b){b.d(U,{JV:function(){return Pe},gU:function(){return Ue},hv:function(){return Be}});var W=b(87462),K=b(97685),D=b(94334),M=b(15671),R=b(43144),k=b(82963),B=b(61120),G=b(32531),h=b(97326),m=b(4942),_=b(67294),re=b(73935),be=b(41143),j=b.n(be),we=b(74902),Ee=b(45697),l=b.n(Ee),Se=function(){function t(){(0,M.Z)(this,t),(0,m.Z)(this,"refs",{})}return(0,R.Z)(t,[{key:"add",value:function(r,u){this.refs[r]||(this.refs[r]=[]),this.refs[r].push(u)}},{key:"remove",value:function(r,u){var y=this.getIndex(r,u);y!==-1&&this.refs[r].splice(y,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var r=this;return this.refs[this.active.collection].find(function(u){var y=u.node;return y.sortableInfo.index==r.active.index})}},{key:"getIndex",value:function(r,u){return this.refs[r].indexOf(u)}},{key:"getOrderedRefs",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[r].sort(Ce)}}]),t}();function Ce(t,n){var r=t.node.sortableInfo.index,u=n.node.sortableInfo.index;return r-u}function Fe(t,n,r){return t=t.slice(),t.splice(r<0?t.length+r:r,0,t.splice(n,1)[0]),t}function le(t,n){return Object.keys(t).reduce(function(r,u){return n.indexOf(u)===-1&&(r[u]=t[u]),r},{})}var F={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ce=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var t=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],n=(Array.prototype.slice.call(t).join("").match(/-(moz|webkit|ms)-/)||t.OLink===""&&["","o"])[1];switch(n){case"ms":return"ms";default:return n&&n.length?n[0].toUpperCase()+n.substr(1):""}}();function q(t,n){Object.keys(n).forEach(function(r){t.style[r]=n[r]})}function ee(t,n){t.style["".concat(ce,"Transform")]=n==null?"":"translate3d(".concat(n.x,"px,").concat(n.y,"px,0)")}function oe(t,n){t.style["".concat(ce,"TransitionDuration")]=n==null?"":"".concat(n,"ms")}function Y(t,n){for(;t;){if(n(t))return t;t=t.parentNode}return null}function ue(t,n,r){return Math.max(t,Math.min(r,n))}function X(t){return t.substr(-2)==="px"?parseFloat(t):0}function Te(t){var n=window.getComputedStyle(t);return{bottom:X(n.marginBottom),left:X(n.marginLeft),right:X(n.marginRight),top:X(n.marginTop)}}function ae(t,n){var r=n.displayName||n.name;return r?"".concat(t,"(").concat(r,")"):t}function se(t,n){var r=t.getBoundingClientRect();return{top:r.top+n.top,left:r.left+n.left}}function $(t){return t.touches&&t.touches.length?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches.length?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.pageX,y:t.pageY}}function Oe(t){return t.touches&&t.touches.length||t.changedTouches&&t.changedTouches.length}function te(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!!t){var u={left:r.left+t.offsetLeft,top:r.top+t.offsetTop};return t.parentNode===n?u:te(t.parentNode,n,u)}}function Ze(t,n,r){return tn?t-1:t>r&&t0&&r[d].height>0){var e=f.getContext("2d");e.drawImage(r[d],0,0)}}),u}function Pe(t){var n,r,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return r=n=function(y){(0,G.Z)(f,y);function f(){var d,e;(0,M.Z)(this,f);for(var x=arguments.length,i=new Array(x),o=0;o=d.y-x/2&&!g?(i.y=1,o.y=c.y*Math.abs((d.y-x/2-y.y)/x)):y.x>=d.x-e/2&&!P?(i.x=1,o.x=c.x*Math.abs((d.x-e/2-y.x)/e)):y.y<=f.y+x/2&&!C?(i.y=-1,o.y=c.y*Math.abs((y.y-x/2-f.y)/x)):y.x<=f.x+e/2&&!S&&(i.x=-1,o.x=c.x*Math.abs((y.x-e/2-f.x)/e)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(i.x!==0||i.y!==0)&&(this.interval=setInterval(function(){u.isAutoScrolling=!0;var w={left:o.x*i.x,top:o.y*i.y};u.container.scrollTop+=w.top,u.container.scrollLeft+=w.left,u.onScrollCallback(w)},5))}}]),t}();function ke(t){var n=t.node;return{height:n.offsetHeight,width:n.offsetWidth}}function We(t){var n=[z.Input,z.Textarea,z.Select,z.Option,z.Button];return!!(n.indexOf(t.target.tagName)!==-1||Y(t.target,function(r){return r.contentEditable==="true"}))}var pe={axis:l().oneOf(["x","y","xy"]),contentWindow:l().any,disableAutoscroll:l().bool,distance:l().number,getContainer:l().func,getHelperDimensions:l().func,helperClass:l().string,helperContainer:l().oneOfType([l().func,typeof HTMLElement=="undefined"?l().any:l().instanceOf(HTMLElement)]),hideSortableGhost:l().bool,keyboardSortingTransitionDuration:l().number,lockAxis:l().string,lockOffset:l().oneOfType([l().number,l().string,l().arrayOf(l().oneOfType([l().number,l().string]))]),lockToContainerEdges:l().bool,onSortEnd:l().func,onSortMove:l().func,onSortOver:l().func,onSortStart:l().func,pressDelay:l().number,pressThreshold:l().number,keyCodes:l().shape({lift:l().arrayOf(l().number),drop:l().arrayOf(l().number),cancel:l().arrayOf(l().number),up:l().arrayOf(l().number),down:l().arrayOf(l().number)}),shouldCancelStart:l().func,transitionDuration:l().number,updateBeforeSortStart:l().func,useDragHandle:l().bool,useWindowAsScrollContainer:l().bool},ge={lift:[V.SPACE],drop:[V.SPACE],cancel:[V.ESC],up:[V.UP,V.LEFT],down:[V.DOWN,V.RIGHT]},_e={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ke,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ge,shouldCancelStart:We,transitionDuration:300,useWindowAsScrollContainer:!1},Le=Object.keys(pe);function Ne(t){j()(!(t.distance&&t.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 Ke(t,n){try{var r=t()}catch(u){return n(!0,u)}return r&&r.then?r.then(n.bind(null,!1),n.bind(null,!0)):n(!1,value)}var ve=(0,_.createContext)({manager:{}});function Be(t){var n,r,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return r=n=function(y){(0,G.Z)(f,y);function f(d){var e;(0,M.Z)(this,f),e=(0,k.Z)(this,(0,B.Z)(f).call(this,d)),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"state",{}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"handleStart",function(i){var o=e.props,c=o.distance,a=o.shouldCancelStart;if(!(i.button===2||a(i))){e.touched=!0,e.position=$(i);var s=Y(i.target,function(C){return C.sortableInfo!=null});if(s&&s.sortableInfo&&e.nodeIsChild(s)&&!e.state.sorting){var v=e.props.useDragHandle,p=s.sortableInfo,I=p.index,E=p.collection,O=p.disabled;if(O||v&&!Y(i.target,fe))return;e.manager.active={collection:E,index:I},!Oe(i)&&i.target.tagName===z.Anchor&&i.preventDefault(),c||(e.props.pressDelay===0?e.handlePress(i):e.pressTimer=setTimeout(function(){return e.handlePress(i)},e.props.pressDelay))}}}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"nodeIsChild",function(i){return i.sortableInfo.manager===e.manager}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"handleMove",function(i){var o=e.props,c=o.distance,a=o.pressThreshold;if(!e.state.sorting&&e.touched&&!e._awaitingUpdateBeforeSortStart){var s=$(i),v={x:e.position.x-s.x,y:e.position.y-s.y},p=Math.abs(v.x)+Math.abs(v.y);e.delta=v,!c&&(!a||p>=a)?(clearTimeout(e.cancelTimer),e.cancelTimer=setTimeout(e.cancel,0)):c&&p>=c&&e.manager.isActive()&&e.handlePress(i)}}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"handleEnd",function(){e.touched=!1,e.cancel()}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"cancel",function(){var i=e.props.distance,o=e.state.sorting;o||(i||clearTimeout(e.pressTimer),e.manager.active=null)}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"handlePress",function(i){try{var o=e.manager.getActive(),c=function(){if(o){var a=function(){var Z=S.sortableInfo.index,T=Te(S),L=Me(e.container),N=e.scrollContainer.getBoundingClientRect(),J=p({index:Z,node:S,collection:P});if(e.node=S,e.margin=T,e.gridGap=L,e.width=J.width,e.height=J.height,e.marginOffset={x:e.margin.left+e.margin.right+e.gridGap.x,y:Math.max(e.margin.top,e.margin.bottom,e.gridGap.y)},e.boundingClientRect=S.getBoundingClientRect(),e.containerBoundingRect=N,e.index=Z,e.newIndex=Z,e.axis={x:v.indexOf("x")>=0,y:v.indexOf("y")>=0},e.offsetEdge=te(S,e.container),w?e.initialOffset=$((0,D.Z)({},i,{pageX:e.boundingClientRect.left,pageY:e.boundingClientRect.top})):e.initialOffset=$(i),e.initialScroll={left:e.scrollContainer.scrollLeft,top:e.scrollContainer.scrollTop},e.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},e.helper=e.helperContainer.appendChild(Re(S)),q(e.helper,{boxSizing:"border-box",height:"".concat(e.height,"px"),left:"".concat(e.boundingClientRect.left-T.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(e.boundingClientRect.top-T.top,"px"),width:"".concat(e.width,"px")}),w&&e.helper.focus(),E&&(e.sortableGhost=S,q(S,{opacity:0,visibility:"hidden"})),e.minTranslate={},e.maxTranslate={},w){var ne=g?{top:0,left:0,width:e.contentWindow.innerWidth,height:e.contentWindow.innerHeight}:e.containerBoundingRect,ye=ne.top,xe=ne.left,Ge=ne.width,je=ne.height,Ve=ye+je,ze=xe+Ge;e.axis.x&&(e.minTranslate.x=xe-e.boundingClientRect.left,e.maxTranslate.x=ze-(e.boundingClientRect.left+e.width)),e.axis.y&&(e.minTranslate.y=ye-e.boundingClientRect.top,e.maxTranslate.y=Ve-(e.boundingClientRect.top+e.height))}else e.axis.x&&(e.minTranslate.x=(g?0:N.left)-e.boundingClientRect.left-e.width/2,e.maxTranslate.x=(g?e.contentWindow.innerWidth:N.left+N.width)-e.boundingClientRect.left-e.width/2),e.axis.y&&(e.minTranslate.y=(g?0:N.top)-e.boundingClientRect.top-e.height/2,e.maxTranslate.y=(g?e.contentWindow.innerHeight:N.top+N.height)-e.boundingClientRect.top-e.height/2);I&&I.split(" ").forEach(function(Q){return e.helper.classList.add(Q)}),e.listenerNode=i.touches?i.target:e.contentWindow,w?(e.listenerNode.addEventListener("wheel",e.handleKeyEnd,!0),e.listenerNode.addEventListener("mousedown",e.handleKeyEnd,!0),e.listenerNode.addEventListener("keydown",e.handleKeyDown)):(F.move.forEach(function(Q){return e.listenerNode.addEventListener(Q,e.handleSortMove,!1)}),F.end.forEach(function(Q){return e.listenerNode.addEventListener(Q,e.handleSortEnd,!1)})),e.setState({sorting:!0,sortingIndex:Z}),C&&C({node:S,index:Z,collection:P,isKeySorting:w,nodes:e.manager.getOrderedRefs(),helper:e.helper},i),w&&e.keyMove(0)},s=e.props,v=s.axis,p=s.getHelperDimensions,I=s.helperClass,E=s.hideSortableGhost,O=s.updateBeforeSortStart,C=s.onSortStart,g=s.useWindowAsScrollContainer,S=o.node,P=o.collection,w=e.manager.isKeySorting,A=function(){if(typeof O=="function"){e._awaitingUpdateBeforeSortStart=!0;var H=Ke(function(){var Z=S.sortableInfo.index;return Promise.resolve(O({collection:P,index:Z,node:S,isKeySorting:w},i)).then(function(){})},function(Z,T){if(e._awaitingUpdateBeforeSortStart=!1,Z)throw T;return T});if(H&&H.then)return H.then(function(){})}}();return A&&A.then?A.then(a):a(A)}}();return Promise.resolve(c&&c.then?c.then(function(){}):void 0)}catch(a){return Promise.reject(a)}}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"handleSortMove",function(i){var o=e.props.onSortMove;typeof i.preventDefault=="function"&&i.cancelable&&i.preventDefault(),e.updateHelperPosition(i),e.animateNodes(),e.autoscroll(),o&&o(i)}),(0,m.Z)((0,h.Z)((0,h.Z)(e)),"handleSortEnd",function(i){var o=e.props,c=o.hideSortableGhost,a=o.onSortEnd,s=e.manager,v=s.active.collection,p=s.isKeySorting,I=e.manager.getOrderedRefs();e.listenerNode&&(p?(e.listenerNode.removeEventListener("wheel",e.handleKeyEnd,!0),e.listenerNode.removeEventListener("mousedown",e.handleKeyEnd,!0),e.listenerNode.removeEventListener("keydown",e.handleKeyDown)):(F.move.forEach(function(S){return e.listenerNode.removeEventListener(S,e.handleSortMove)}),F.end.forEach(function(S){return e.listenerNode.removeEventListener(S,e.handleSortEnd)}))),e.helper.parentNode.removeChild(e.helper),c&&e.sortableGhost&&q(e.sortableGhost,{opacity:"",visibility:""});for(var E=0,O=I.length;Ec)){e.prevIndex=s,e.newIndex=a;var v=Ze(e.newIndex,e.prevIndex,e.index),p=o.find(function(w){var A=w.node;return A.sortableInfo.index===v}),I=p.node,E=e.containerScrollDelta,O=p.boundingClientRect||se(I,E),C=p.translate||{x:0,y:0},g={top:O.top+C.y-E.top,left:O.left+C.x-E.left},S=sP?P/2:this.height/2,width:this.width>S?S/2:this.width/2},A=p&&g>this.index&&g<=I,H=p&&g=I,Z={x:0,y:0},T=s[E].edgeOffset;T||(T=te(C,this.container),s[E].edgeOffset=T,p&&(s[E].boundingClientRect=se(C,c)));var L=E0&&s[E-1];if(L&&!L.edgeOffset&&(L.edgeOffset=te(L.node,this.container),p&&(L.boundingClientRect=se(L.node,c))),g===this.index){i&&(this.sortableGhost=C,q(C,{opacity:0,visibility:"hidden"}));continue}x&&oe(C,x),this.axis.x?this.axis.y?H||gthis.containerBoundingRect.width-w.width&&L&&(Z.x=L.edgeOffset.left-T.left,Z.y=L.edgeOffset.top-T.top),this.newIndex===null&&(this.newIndex=g)):(A||g>this.index&&(v.left+a.left+w.width>=T.left&&v.top+a.top+w.height>=T.top||v.top+a.top+w.height>=T.top+P))&&(Z.x=-(this.width+this.marginOffset.x),T.left+Z.xthis.index&&v.left+a.left+w.width>=T.left?(Z.x=-(this.width+this.marginOffset.x),this.newIndex=g):(H||gthis.index&&v.top+a.top+w.height>=T.top?(Z.y=-(this.height+this.marginOffset.y),this.newIndex=g):(H||g1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return r=n=function(y){(0,G.Z)(f,y);function f(){var d,e;(0,M.Z)(this,f);for(var x=arguments.length,i=new Array(x),o=0;o0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return j()(u.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var e=u.withRef?this.wrappedInstance:null;return(0,_.createElement)(t,(0,W.Z)({ref:e},le(this.props,He)))}}]),f}(_.Component),(0,m.Z)(n,"displayName",ae("sortableElement",t)),(0,m.Z)(n,"contextType",ve),(0,m.Z)(n,"propTypes",me),(0,m.Z)(n,"defaultProps",{collection:0}),r}},62748:function(ie,U,b){b.d(U,{q:function(){return K}});function W(D,M,R){const k=M<0?D.length+M:M;if(k>=0&&k1&&arguments[1]!==void 0?arguments[1]:0,v=l[i];if(d(v)){var y=document.createElement("script");y.setAttribute("src",v),y.setAttribute("data-namespace",v),l.length>i+1&&(y.onload=function(){p(l,i+1)},y.onerror=function(){p(l,i+1)}),h.add(v),document.body.appendChild(y)}}function o(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=l.scriptUrl,v=l.extraCommonProps,y=v===void 0?{}:v;i&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(i)?p(i.reverse()):p([i]));var c=e.forwardRef(function(g,O){var _=g.type,b=g.children,T=(0,r.Z)(g,m),x=null;return g.type&&(x=e.createElement("use",{xlinkHref:"#".concat(_)})),b&&(x=b),e.createElement(f.Z,(0,s.Z)((0,s.Z)((0,s.Z)({},y),T),{},{ref:O}),x)});return c.displayName="Iconfont",c}},16313:function(n,a,t){var s=t(48764).lW,r=function(){"use strict";function e(o,l,i,v){var y;typeof l=="object"&&(i=l.depth,v=l.prototype,y=l.filter,l=l.circular);var c=[],g=[],O=typeof s!="undefined";typeof l=="undefined"&&(l=!0),typeof i=="undefined"&&(i=1/0);function _(b,T){if(b===null)return null;if(T==0)return b;var x,S;if(typeof b!="object")return b;if(e.__isArray(b))x=[];else if(e.__isRegExp(b))x=new RegExp(b.source,p(b)),b.lastIndex&&(x.lastIndex=b.lastIndex);else if(e.__isDate(b))x=new Date(b.getTime());else{if(O&&s.isBuffer(b))return s.allocUnsafe?x=s.allocUnsafe(b.length):x=new s(b.length),b.copy(x),x;typeof v=="undefined"?(S=Object.getPrototypeOf(b),x=Object.create(S)):(x=Object.create(v),S=v)}if(l){var w=c.indexOf(b);if(w!=-1)return g[w];c.push(b),g.push(x)}for(var A in b){var R;S&&(R=Object.getOwnPropertyDescriptor(S,A)),!(R&&R.set==null)&&(x[A]=_(b[A],T-1))}return x}return _(o,i)}e.clonePrototype=function(l){if(l===null)return null;var i=function(){};return i.prototype=l,new i};function f(o){return Object.prototype.toString.call(o)}e.__objToStr=f;function m(o){return typeof o=="object"&&f(o)==="[object Date]"}e.__isDate=m;function h(o){return typeof o=="object"&&f(o)==="[object Array]"}e.__isArray=h;function d(o){return typeof o=="object"&&f(o)==="[object RegExp]"}e.__isRegExp=d;function p(o){var l="";return o.global&&(l+="g"),o.ignoreCase&&(l+="i"),o.multiline&&(l+="m"),l}return e.__getRegExpFlags=p,e}();n.exports&&(n.exports=r)},34575:function(n,a,t){var s=t(16313);n.exports=function(r,e){return r=r||{},Object.keys(e).forEach(function(f){typeof r[f]=="undefined"&&(r[f]=s(e[f]))}),r}},6663:function(n,a,t){"use strict";var s,r=t(75263),e=t(64836);s={value:!0},a.Z=void 0;var f=e(t(64687)),m=e(t(861)),h=e(t(17156)),d=e(t(56690)),p=e(t(89728)),o=e(t(66115)),l=e(t(61655)),i=e(t(94993)),v=e(t(73808)),y=e(t(38416)),c=r(t(67294)),g=e(t(34575)),O=e(t(69590)),_=e(t(44650)),b=e(t(8348)),T=e(t(8565)),x=e(t(83431)),S=e(t(29274)),w=e(t(28805)),A=e(t(20894)),R=e(t(37903)),Z=e(t(23176));function L(j,M){var I=Object.keys(j);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(j);M&&(D=D.filter(function(u){return Object.getOwnPropertyDescriptor(j,u).enumerable})),I.push.apply(I,D)}return I}function K(j){for(var M,I=1;I=d.length?{done:!0}:{done:!1,value:d[l++]}},e:function(O){throw O},f:i}}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 v,y=!0,c=!1;return{s:function(){o=d[Symbol.iterator]()},n:function(){var O=o.next();return y=O.done,O},e:function(O){c=!0,v=O},f:function g(){try{y||o.return==null||o.return()}finally{if(c)throw g}}}}function f(d,p){if(d){if(typeof d=="string")return m(d,p);var o=Object.prototype.toString.call(d).slice(8,-1);return o==="Object"&&d.constructor&&(o=d.constructor.name),o==="Map"||o==="Set"?Array.from(d):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?m(d,p):void 0}}function m(d,p){(p==null||p>d.length)&&(p=d.length);for(var o=0,l=Array(p);o1&&arguments[1]!==void 0?arguments[1]:0,h=l[i];if(p(h)){var v=document.createElement("script");v.setAttribute("src",h),v.setAttribute("data-namespace",h),l.length>i+1&&(v.onload=function(){y(l,i+1)},v.onerror=function(){y(l,i+1)}),g.add(h),document.body.appendChild(v)}}function s(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=l.scriptUrl,h=l.extraCommonProps,v=h===void 0?{}:h;i&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(i)?y(i.reverse()):y([i]));var c=t.forwardRef(function(b,x){var A=b.type,_=b.children,R=(0,n.Z)(b,d),m=null;return b.type&&(m=t.createElement("use",{xlinkHref:"#".concat(A)})),_&&(m=_),t.createElement(f.Z,(0,o.Z)((0,o.Z)((0,o.Z)({},v),R),{},{ref:x}),m)});return c.displayName="Iconfont",c}},16313:function(r,a,e){var o=e(48764).lW,n=function(){"use strict";function t(s,l,i,h){var v;typeof l=="object"&&(i=l.depth,h=l.prototype,v=l.filter,l=l.circular);var c=[],b=[],x=typeof o!="undefined";typeof l=="undefined"&&(l=!0),typeof i=="undefined"&&(i=1/0);function A(_,R){if(_===null)return null;if(R==0)return _;var m,E;if(typeof _!="object")return _;if(t.__isArray(_))m=[];else if(t.__isRegExp(_))m=new RegExp(_.source,y(_)),_.lastIndex&&(m.lastIndex=_.lastIndex);else if(t.__isDate(_))m=new Date(_.getTime());else{if(x&&o.isBuffer(_))return o.allocUnsafe?m=o.allocUnsafe(_.length):m=new o(_.length),_.copy(m),m;typeof h=="undefined"?(E=Object.getPrototypeOf(_),m=Object.create(E)):(m=Object.create(h),E=h)}if(l){var S=c.indexOf(_);if(S!=-1)return b[S];c.push(_),b.push(m)}for(var w in _){var I;E&&(I=Object.getOwnPropertyDescriptor(E,w)),!(I&&I.set==null)&&(m[w]=A(_[w],R-1))}return m}return A(s,i)}t.clonePrototype=function(l){if(l===null)return null;var i=function(){};return i.prototype=l,new i};function f(s){return Object.prototype.toString.call(s)}t.__objToStr=f;function d(s){return typeof s=="object"&&f(s)==="[object Date]"}t.__isDate=d;function g(s){return typeof s=="object"&&f(s)==="[object Array]"}t.__isArray=g;function p(s){return typeof s=="object"&&f(s)==="[object RegExp]"}t.__isRegExp=p;function y(s){var l="";return s.global&&(l+="g"),s.ignoreCase&&(l+="i"),s.multiline&&(l+="m"),l}return t.__getRegExpFlags=y,t}();r.exports&&(r.exports=n)},34575:function(r,a,e){var o=e(16313);r.exports=function(n,t){return n=n||{},Object.keys(t).forEach(function(f){typeof n[f]=="undefined"&&(n[f]=o(t[f]))}),n}},6663:function(r,a,e){"use strict";var o,n=e(64836),t=e(18698);o={value:!0},a.Z=void 0;var f=n(e(64687)),d=n(e(861)),g=n(e(17156)),p=n(e(56690)),y=n(e(89728)),s=n(e(66115)),l=n(e(61655)),i=n(e(94993)),h=n(e(73808)),v=n(e(38416)),c=F(e(67294)),b=n(e(34575)),x=n(e(69590)),A=n(e(44650)),_=n(e(8348)),R=n(e(8565)),m=n(e(83431)),E=n(e(29274)),S=n(e(28805)),w=n(e(20894)),I=n(e(37903)),N=n(e(23176));function B(C){if(typeof WeakMap!="function")return null;var M=new WeakMap,j=new WeakMap;return(B=function(T){return T?j:M})(C)}function F(C,M){if(!M&&C&&C.__esModule)return C;if(C===null||t(C)!=="object"&&typeof C!="function")return{default:C};var j=B(M);if(j&&j.has(C))return j.get(C);var T={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in C)if(P!="default"&&Object.prototype.hasOwnProperty.call(C,P)){var O=u?Object.getOwnPropertyDescriptor(C,P):null;O&&(O.get||O.set)?Object.defineProperty(T,P,O):T[P]=C[P]}return T.default=C,j&&j.set(C,T),T}function K(C,M){var j=Object.keys(C);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(C);M&&(T=T.filter(function(u){return Object.getOwnPropertyDescriptor(C,u).enumerable})),j.push.apply(j,T)}return j}function H(C){for(var M,j=1;j=p.length?{done:!0}:{done:!1,value:p[l++]}},e:function(x){throw x},f:i}}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 h,v=!0,c=!1;return{s:function(){s=s.call(p)},n:function(){var x=s.next();return v=x.done,x},e:function(x){c=!0,h=x},f:function b(){try{v||s.return==null||s.return()}finally{if(c)throw b}}}}function f(p,y){if(p){if(typeof p=="string")return d(p,y);var s=Object.prototype.toString.call(p).slice(8,-1);return s==="Object"&&p.constructor&&(s=p.constructor.name),s==="Map"||s==="Set"?Array.from(p):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?d(p,y):void 0}}function d(p,y){(y==null||y>p.length)&&(y=p.length);for(var s=0,l=Array(y);se.length)&&(o=e.length);for(var n=0,t=Array(o);n{const r=p=>{const{keyCode:c}=p;c===de.Z.ENTER&&p.preventDefault()},t=p=>{const{keyCode:c}=p,{onClick:O}=e;c===de.Z.ENTER&&O&&O()},{style:i,noStyle:u,disabled:x}=e,v=Je(e,["style","noStyle","disabled"]);let f={};return u||(f=Object.assign({},Qe)),x&&(f.pointerEvents="none"),f=Object.assign(Object.assign({},f),i),o.createElement("div",Object.assign({role:"button",tabIndex:0,ref:n},v,{onKeyDown:r,onKeyUp:t,style:f}))}),Re=s(79370),Ee=s(83062),Ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},qe=Ye,Ie=function(n,r){return o.createElement(re.Z,(0,k.Z)((0,k.Z)({},n),{},{ref:r,icon:qe}))};Ie.displayName="EnterOutlined";var _e=o.forwardRef(Ie),et=s(56994),tt=s(96159),nt=s(67968),ot=s(78589),rt=s(47673),Le=s(49867);const it=(e,n,r,t)=>{const{sizeMarginHeadingVerticalEnd:i,fontWeightStrong:u}=t;return{marginBottom:i,color:r,fontWeight:u,fontSize:e,lineHeight:n}},lt=e=>{const n=[1,2,3,4,5],r={};return n.forEach(t=>{r[` - h${t}&, - div&-h${t}, - div&-h${t} > textarea, - h${t} - `]=it(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),r},at=e=>{const{componentCls:n}=e;return{"a&, a":Object.assign(Object.assign({},(0,Le.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${n}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},st=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:ot.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),ct=e=>{const{componentCls:n}=e,t=(0,rt.e5)(e).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-t,marginBottom:`calc(1em - ${t}px)`},[`${n}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},dt=e=>({"&-copy-success":{[` - &, - &:hover, - &:focus`]:{color:e.colorSuccess}}}),ut=()=>({[` - a&-ellipsis, - span&-ellipsis - `]:{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),ft=e=>{const{componentCls:n,sizeMarginHeadingVerticalStart:r}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${n}-secondary`]:{color:e.colorTextDescription},[`&${n}-success`]:{color:e.colorSuccess},[`&${n}-warning`]:{color:e.colorWarning},[`&${n}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${n}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` - div&, - p - `]:{marginBottom:"1em"}},lt(e)),{[` - & + h1${n}, - & + h2${n}, - & + h3${n}, - & + h4${n}, - & + h5${n} - `]:{marginTop:r},[` - div, - ul, - li, - p, - h1, - h2, - h3, - h4, - h5`]:{[` - + h1, - + h2, - + h3, - + h4, - + h5 - `]:{marginTop:r}}}),st()),at(e)),{[` - ${n}-expand, - ${n}-edit, - ${n}-copy - `]:Object.assign(Object.assign({},(0,Le.N)(e)),{marginInlineStart:e.marginXXS})}),ct(e)),dt(e)),ut()),{"&-rtl":{direction:"rtl"}})}};var Pe=(0,nt.Z)("Typography",e=>[ft(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),pt=e=>{let{prefixCls:n,"aria-label":r,className:t,style:i,direction:u,maxLength:x,autoSize:v=!0,value:f,onSave:p,onCancel:c,onEnd:O,component:g,enterIcon:R=o.createElement(_e,null)}=e;const w=o.useRef(null),I=o.useRef(!1),W=o.useRef(),[K,L]=o.useState(f);o.useEffect(()=>{L(f)},[f]),o.useEffect(()=>{if(w.current&&w.current.resizableTextArea){const{textArea:T}=w.current.resizableTextArea;T.focus();const{length:D}=T.value;T.setSelectionRange(D,D)}},[]);const S=T=>{let{target:D}=T;L(D.value.replace(/[\n\r]/g,""))},Q=()=>{I.current=!0},Y=()=>{I.current=!1},b=T=>{let{keyCode:D}=T;I.current||(W.current=D)},ee=()=>{p(K.trim())},h=T=>{let{keyCode:D,ctrlKey:Oe,altKey:se,metaKey:X,shiftKey:te}=T;W.current===D&&!I.current&&!Oe&&!se&&!X&&!te&&(D===de.Z.ENTER?(ee(),O==null||O()):D===de.Z.ESC&&c())},d=()=>{ee()},P=g?`${n}-${g}`:"",[q,F]=Pe(n),B=z()(n,`${n}-edit-content`,{[`${n}-rtl`]:u==="rtl"},t,P,F);return q(o.createElement("div",{className:B,style:i},o.createElement(et.Z,{ref:w,maxLength:x,value:K,onChange:S,onKeyDown:b,onKeyUp:h,onCompositionStart:Q,onCompositionEnd:Y,onBlur:d,"aria-label":r,rows:1,autoSize:v}),R!==null?(0,tt.Tm)(R,{className:`${n}-edit-content-confirm`}):null))};function xe(e,n){return o.useMemo(()=>{const r=!!e;return[r,Object.assign(Object.assign({},n),r&&typeof e=="object"?e:null)]},[e])}var gt=(e,n)=>{const r=o.useRef(!1);o.useEffect(()=>{r.current?e():r.current=!0},n)},mt=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{var{prefixCls:r,component:t="article",className:i,setContentRef:u,children:x,direction:v}=e,f=mt(e,["prefixCls","component","className","setContentRef","children","direction"]);const{getPrefixCls:p,direction:c}=o.useContext(Te.E_),O=v!=null?v:c;let g=n;u&&(g=(0,we.sQ)(n,u));const R=p("typography",r),[w,I]=Pe(R),W=z()(R,{[`${R}-rtl`]:O==="rtl"},i,I);return w(o.createElement(t,Object.assign({className:W,ref:g},f),x))});function De(e){const n=typeof e;return n==="string"||n==="number"}function yt(e){let n=0;return e.forEach(r=>{De(r)?n+=String(r).length:n+=1}),n}function $e(e,n){let r=0;const t=[];for(let i=0;in){const p=n-r;return t.push(String(u).slice(0,p)),t}t.push(u),r=f}return e}const vt=0,ue=1,ze=2,Se=3,Ze=4;var bt=e=>{let{enabledMeasure:n,children:r,text:t,width:i,fontSize:u,rows:x,onEllipsis:v}=e;const[[f,p,c],O]=o.useState([0,0,0]),[g,R]=o.useState(vt),[w,I]=o.useState(0),W=o.useRef(null),K=o.useRef(null),L=o.useMemo(()=>(0,N.Z)(t),[t]),S=o.useMemo(()=>yt(L),[L]),Q=o.useMemo(()=>!n||g!==Se?r(L,!1):r($e(L,p),p{n&&i&&u&&S&&(R(ue),O([0,Math.ceil(S/2),S]))},[n,i,u,t,S,x]),(0,V.Z)(()=>{var h;g===ue&&I(((h=W.current)===null||h===void 0?void 0:h.offsetHeight)||0)},[g]),(0,V.Z)(()=>{var h,d;if(w){if(g===ue){const P=((h=K.current)===null||h===void 0?void 0:h.offsetHeight)||0,q=x*w;P<=q?(R(Ze),v(!1)):R(ze)}else if(g===ze)if(f!==c){const P=((d=K.current)===null||d===void 0?void 0:d.offsetHeight)||0,q=x*w;let F=f,B=c;f===c-1?B=f:P<=q?F=p:B=p;const T=Math.ceil((F+B)/2);O([F,T,B])}else R(Se),v(!0)}},[g,f,c,x,w]);const Y={width:i,whiteSpace:"normal",margin:0,padding:0},b=(h,d,P)=>o.createElement("span",{"aria-hidden":!0,ref:d,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.floor(u/2)*2},P)},h),ee=(h,d)=>{const P=$e(L,h);return b(r(P,!0),d,Y)};return o.createElement(o.Fragment,null,Q,n&&g!==Se&&g!==Ze&&o.createElement(o.Fragment,null,b("lg",W,{wordBreak:"keep-all",whiteSpace:"nowrap"}),g===ue?b(r(L,!1),K,Y):ee(p,K)))},ht=e=>{let{enabledEllipsis:n,isEllipsis:r,children:t,tooltipProps:i}=e;return!(i!=null&&i.title)||!n?t:o.createElement(Ee.Z,Object.assign({open:r?void 0:!1},i),t)},Et=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{var r,t,i;const{prefixCls:u,className:x,style:v,type:f,disabled:p,children:c,ellipsis:O,editable:g,copyable:R,component:w,title:I}=e,W=Et(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:K,direction:L}=o.useContext(Te.E_),S=(0,Ge.E)("Text")[0],Q=o.useRef(null),Y=o.useRef(null),b=K("typography",u),ee=(0,Ce.Z)(W,["mark","code","delete","underline","strong","keyboard","italic"]),[h,d]=xe(g),[P,q]=(0,Xe.Z)(!1,{value:d.editing}),{triggerType:F=["icon"]}=d,B=l=>{var a;l&&((a=d.onStart)===null||a===void 0||a.call(d)),q(l)};gt(()=>{var l;P||(l=Y.current)===null||l===void 0||l.focus()},[P]);const T=l=>{l==null||l.preventDefault(),B(!0)},D=l=>{var a;(a=d.onChange)===null||a===void 0||a.call(d,l),B(!1)},Oe=()=>{var l;(l=d.onCancel)===null||l===void 0||l.call(d),B(!1)},[se,X]=xe(R),[te,ke]=o.useState(!1),He=o.useRef(),Be={};X.format&&(Be.format=X.format);const Ae=()=>{window.clearTimeout(He.current)},Dt=l=>{var a;l==null||l.preventDefault(),l==null||l.stopPropagation(),le()(X.text||String(c)||"",Be),ke(!0),Ae(),He.current=window.setTimeout(()=>{ke(!1)},3e3),(a=X.onCopy)===null||a===void 0||a.call(X,l)};o.useEffect(()=>Ae,[]);const[We,$t]=o.useState(!1),[Ke,zt]=o.useState(!1),[Zt,Mt]=o.useState(!1),[Ue,kt]=o.useState(!1),[Ve,Ht]=o.useState(!1),[Bt,At]=o.useState(!0),[G,E]=xe(O,{expandable:!1}),Z=G&&!Zt,{rows:ne=1}=E,ge=o.useMemo(()=>!Z||E.suffix!==void 0||E.onEllipsis||E.expandable||h||se,[Z,E,h,se]);(0,V.Z)(()=>{G&&!ge&&($t((0,Re.G)("webkitLineClamp")),zt((0,Re.G)("textOverflow")))},[ge,G]);const M=o.useMemo(()=>ge?!1:ne===1?Ke:We,[ge,Ke,We]),Fe=Z&&(M?Ve:Ue),Wt=Z&&ne===1&&M,me=Z&&ne>1&&M,Kt=l=>{var a;Mt(!0),(a=E.onExpand)===null||a===void 0||a.call(E,l)},[Ut,Vt]=o.useState(0),[Ft,Xt]=o.useState(0),Gt=(l,a)=>{let{offsetWidth:C}=l;var $;Vt(C),Xt(parseInt(($=window.getComputedStyle)===null||$===void 0?void 0:$.call(window,a).fontSize,10)||0)},Jt=l=>{var a;kt(l),Ue!==l&&((a=E.onEllipsis)===null||a===void 0||a.call(E,l))};o.useEffect(()=>{const l=Q.current;if(G&&M&&l){const a=me?l.offsetHeight{const l=Q.current;if(typeof IntersectionObserver=="undefined"||!l||!M||!Z)return;const a=new IntersectionObserver(()=>{At(!!l.offsetParent)});return a.observe(l),()=>{a.disconnect()}},[M,Z]);let J={};E.tooltip===!0?J={title:(r=d.text)!==null&&r!==void 0?r:c}:o.isValidElement(E.tooltip)?J={title:E.tooltip}:typeof E.tooltip=="object"?J=Object.assign({title:(t=d.text)!==null&&t!==void 0?t:c},E.tooltip):J={title:E.tooltip};const ye=o.useMemo(()=>{const l=a=>["string","number"].includes(typeof a);if(!(!G||M)){if(l(d.text))return d.text;if(l(c))return c;if(l(I))return I;if(l(J.title))return J.title}},[G,M,I,J.title,Fe]);if(P)return o.createElement(pt,{value:(i=d.text)!==null&&i!==void 0?i:typeof c=="string"?c:"",onSave:D,onCancel:Oe,onEnd:d.onEnd,prefixCls:b,className:x,style:v,direction:L,component:w,maxLength:d.maxLength,autoSize:d.autoSize,enterIcon:d.enterIcon});const Qt=()=>{const{expandable:l,symbol:a}=E;if(!l)return null;let C;return a?C=a:C=S.expand,o.createElement("a",{key:"expand",className:`${b}-expand`,onClick:Kt,"aria-label":S.expand},C)},Yt=()=>{if(!h)return;const{icon:l,tooltip:a}=d,C=(0,N.Z)(a)[0]||S.edit,$=typeof C=="string"?C:"";return F.includes("icon")?o.createElement(Ee.Z,{key:"edit",title:a===!1?"":C},o.createElement(je,{ref:Y,className:`${b}-edit`,onClick:T,"aria-label":$},l||o.createElement(ce,{role:"button"}))):null},qt=()=>{if(!se)return;const{tooltips:l,icon:a}=X,C=Me(l),$=Me(a),ve=te?fe(C[1],S.copied):fe(C[0],S.copy),tn=te?S.copied:S.copy,nn=typeof ve=="string"?ve:tn;return o.createElement(Ee.Z,{key:"copy",title:ve},o.createElement(je,{className:z()(`${b}-copy`,te&&`${b}-copy-success`),onClick:Dt,"aria-label":nn},te?fe($[1],o.createElement(U.Z,null),!0):fe($[0],o.createElement(y,null),!0)))},_t=l=>[l&&Qt(),Yt(),qt()],en=l=>[l&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},St),E.suffix,_t(l)];return o.createElement(he.Z,{onResize:Gt,disabled:!Z||M},l=>o.createElement(ht,{tooltipProps:J,enabledEllipsis:Z,isEllipsis:Fe},o.createElement(Ne,Object.assign({className:z()({[`${b}-${f}`]:f,[`${b}-disabled`]:p,[`${b}-ellipsis`]:G,[`${b}-single-line`]:Z&&ne===1,[`${b}-ellipsis-single-line`]:Wt,[`${b}-ellipsis-multiple-line`]:me},x),prefixCls:u,style:Object.assign(Object.assign({},v),{WebkitLineClamp:me?ne:void 0}),component:w,ref:(0,we.sQ)(l,Q,n),direction:L,onClick:F.includes("text")?T:void 0,"aria-label":ye==null?void 0:ye.toString(),title:I},ee),o.createElement(bt,{enabledMeasure:Z&&!M,text:c,rows:ne,width:Ut,fontSize:Ft,onEllipsis:Jt},(a,C)=>{let $=a;return a.length&&C&&ye&&($=o.createElement("span",{key:"show-content","aria-hidden":!0},$)),xt(e,o.createElement(o.Fragment,null,$,en(C)))}))))}),Ot=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{var{ellipsis:r,rel:t}=e,i=Ot(e,["ellipsis","rel"]);const u=Object.assign(Object.assign({},i),{rel:t===void 0&&i.target==="_blank"?"noopener noreferrer":t});return delete u.navigate,o.createElement(pe,Object.assign({},u,{ref:n,ellipsis:!!r,component:"a"}))}),wt=o.forwardRef((e,n)=>o.createElement(pe,Object.assign({ref:n},e,{component:"div"}))),Tt=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{var{ellipsis:r}=e,t=Tt(e,["ellipsis"]);const i=o.useMemo(()=>r&&typeof r=="object"?(0,Ce.Z)(r,["expandable","rows"]):r,[r]);return o.createElement(pe,Object.assign({ref:n},t,{ellipsis:i,component:"span"}))};var Rt=o.forwardRef(jt),It=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{const{level:r=1}=e,t=It(e,["level"]);let i;return Lt.includes(r)?i=`h${r}`:i="h1",o.createElement(pe,Object.assign({ref:n},t,{component:i}))});const ae=Ne;ae.Text=Rt,ae.Link=Ct,ae.Title=Pt,ae.Paragraph=wt;var Nt=ae},20640:function(oe,j,s){"use strict";var o=s(11742),U={"text/plain":"Text","text/html":"Url",default:"Text"},k="Copy to clipboard: #{key}, Enter";function be(H){var y=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return H.replace(/#{\s*key\s*}/g,y)}function re(H,y){var A,ie,ce,_,z,m,le=!1;y||(y={}),A=y.debug||!1;try{ce=o(),_=document.createRange(),z=document.getSelection(),m=document.createElement("span"),m.textContent=H,m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(N){if(N.stopPropagation(),y.format)if(N.preventDefault(),typeof N.clipboardData=="undefined"){A&&console.warn("unable to use e.clipboardData"),A&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var V=U[y.format]||U.default;window.clipboardData.setData(V,H)}else N.clipboardData.clearData(),N.clipboardData.setData(y.format,H);y.onCopy&&(N.preventDefault(),y.onCopy(N.clipboardData))}),document.body.appendChild(m),_.selectNodeContents(m),z.addRange(_);var he=document.execCommand("copy");if(!he)throw new Error("copy command was unsuccessful");le=!0}catch(N){A&&console.error("unable to copy using execCommand: ",N),A&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(y.format||"text",H),y.onCopy&&y.onCopy(window.clipboardData),le=!0}catch(V){A&&console.error("unable to copy using clipboardData: ",V),A&&console.error("falling back to prompt"),ie=be("message"in y?y.message:k),window.prompt(ie,H)}}finally{z&&(typeof z.removeRange=="function"?z.removeRange(_):z.removeAllRanges()),m&&document.body.removeChild(m),ce()}return le}oe.exports=re},11742:function(oe){oe.exports=function(){var j=document.getSelection();if(!j.rangeCount)return function(){};for(var s=document.activeElement,o=[],U=0;U1&&arguments[1]!==void 0?arguments[1]:0,S=a[n];if(d(S)){var g=document.createElement("script");g.setAttribute("src",S),g.setAttribute("data-namespace",S),a.length>n+1&&(g.onload=function(){u(a,n+1)},g.onerror=function(){u(a,n+1)}),L.add(S),document.body.appendChild(g)}}function _(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=a.scriptUrl,S=a.extraCommonProps,g=S===void 0?{}:S;n&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(n)?u(n.reverse()):u([n]));var j=r.forwardRef(function(m,M){var c=m.type,l=m.children,N=(0,o.Z)(m,I),E=null;return m.type&&(E=r.createElement("use",{xlinkHref:"#".concat(c)})),l&&(E=l),r.createElement(i.Z,(0,t.Z)((0,t.Z)((0,t.Z)({},g),N),{},{ref:M}),E)});return j.displayName="Iconfont",j}},48483:function(C,s,e){e.d(s,{Z:function(){return u}});var t=e(1413),o=e(67294),r={icon:function(a,n){return{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",fill:a}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:n}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:a}}]}},name:"check-circle",theme:"twotone"},i=r,I=e(84089),L=function(a,n){return o.createElement(I.Z,(0,t.Z)((0,t.Z)({},a),{},{ref:n,icon:i}))},d=o.forwardRef(L),u=d},30881:function(C,s,e){e.d(s,{Z:function(){return u}});var t=e(1413),o=e(67294),r={icon:function(a,n){return{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",fill:a}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:n}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-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 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:a}}]}},name:"close-circle",theme:"twotone"},i=r,I=e(84089),L=function(a,n){return o.createElement(I.Z,(0,t.Z)((0,t.Z)({},a),{},{ref:n,icon:i}))},d=o.forwardRef(L),u=d},40110:function(C,s,e){var t=e(1413),o=e(67294),r=e(509),i=e(84089),I=function(u,_){return o.createElement(i.Z,(0,t.Z)((0,t.Z)({},u),{},{ref:_,icon:r.Z}))},L=o.forwardRef(I);s.Z=L},75574:function(C,s,e){var t=e(40411),o=e(66309),r=e(85893);s.Z={STATUS:{0:(0,r.jsx)(t.Z,{status:"default",text:"\u51C6\u5907\u4E2D"}),1:(0,r.jsx)(t.Z,{status:"processing",text:"\u8FD0\u884C\u4E2D"}),2:(0,r.jsx)(t.Z,{status:"error",text:"\u5DF2\u505C\u6B62"}),3:(0,r.jsx)(t.Z,{status:"success",text:"\u5DF2\u5B8C\u6210"})},EXECUTE_METHOD:{0:"\u624B\u52A8",1:"\u81EA\u52A8",2:"\u6D4B\u8BD5\u8BA1\u5212",3:"PIPELINE",4:"\u5176\u4ED6"},EXECUTE_STATUS:{0:"\u6210\u529F",1:"\u5931\u8D25",2:"\u51FA\u9519",3:"\u8DF3\u8FC7"},EXECUTE_BADGE_STATUS:{0:"success",1:"error",2:"warning",3:"default"},METHOD_TAG:{GET:(0,r.jsx)(o.Z,{color:"success",children:"GET"}),POST:(0,r.jsx)(o.Z,{color:"blue",children:"POST"}),PUT:(0,r.jsx)(o.Z,{color:"purple",children:"PUT"}),DELETE:(0,r.jsx)(o.Z,{color:"red",children:"DELETE"})}}},12554:function(C,s,e){e.d(s,{Z:function(){return m}});var t=e(67294),o=e(7134),r=e(83062),i={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},I=e(19478),L=Object.defineProperty,d=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,a=(M,c,l)=>c in M?L(M,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):M[c]=l,n=(M,c)=>{for(var l in c||(c={}))u.call(c,l)&&a(M,l,c[l]);if(d)for(var l of d(c))_.call(c,l)&&a(M,l,c[l]);return M};const S=M=>React.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},M),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var g="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",j=e(85893),m=function(M){var c=M.user,l=M.size,N=l===void 0?24:l,E=M.marginLeft,v=E===void 0?6:E;return c===void 0?(0,j.jsx)(o.C,{size:N,src:g,alt:"avatar"}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(o.C,{size:N,className:i.avatar,src:c.avatar||I.Z.AVATAR_URL,alt:"avatar"}),(0,j.jsx)(r.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:c.deleted_at?(0,j.jsx)("del",{children:(0,j.jsx)("a",{style:{marginLeft:v,fontSize:13,color:"#ccc"},href:"/#/member/".concat(c.id),rel:"noreferrer",children:c.name})}):(0,j.jsx)("a",{onClick:function(T){T.stopPropagation()},style:{marginLeft:v,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(c.id),rel:"noreferrer",children:c.name})})]})}},37594:function(C,s,e){e.d(s,{B:function(){return r}});var t=e(91321),o="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",r=(0,t.Z)({scriptUrl:o})},22763:function(C,s,e){var t=e(32983),o=e(82759),r=e(85893);s.Z=function(i){var I=i.desc,L=i.height,d=L===void 0?180:L,u=i.image,_=u===void 0?o.Z:u;return(0,r.jsx)(t.Z,{image:_,imageStyle:{height:d},description:I||"\u6682\u65E0\u6570\u636E"})}}}]); diff --git a/statics/5522.69a9aad5.async.js b/statics/5522.69a9aad5.async.js new file mode 100644 index 00000000..abb46e1b --- /dev/null +++ b/statics/5522.69a9aad5.async.js @@ -0,0 +1,26 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5522],{59021:function(Ee,Ze){"use strict";var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};Ze.Z=y},5522:function(Ee,Ze,y){"use strict";y.d(Ze,{f:function(){return ro}});var l=y(4942),fe=y(74165),pe=y(15861),me=y(45987),V=y(97685),s=y(1413),ne=y(10915),le=y(21770),h=y(67294);function ue(r){var e=typeof window=="undefined",n=(0,h.useState)(function(){return e?!1:window.matchMedia(r).matches}),t=(0,V.Z)(n,2),a=t[0],i=t[1];return(0,h.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),c=function(v){return i(v.matches)};return o.addListener(c),function(){return o.removeListener(c)}}},[r]),a}var ye={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},Le=function(){var e=void 0;if(typeof window=="undefined")return e;var n=Object.keys(ye).find(function(t){var a=ye[t].matchMedia;return!!window.matchMedia(a).matches});return e=n,e},A=function(){var e=ue(ye.md.matchMedia),n=ue(ye.lg.matchMedia),t=ue(ye.xxl.matchMedia),a=ue(ye.xl.matchMedia),i=ue(ye.sm.matchMedia),o=ue(ye.xs.matchMedia),c=(0,h.useState)(Le()),d=(0,V.Z)(c,2),v=d[0],f=d[1];return(0,h.useEffect)(function(){if(t){f("xxl");return}if(a){f("xl");return}if(n){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,n,t,a,i,o]),v},K=y(12044);function m(r,e){var n=typeof r.pageName=="string"?r.title:e;(0,h.useEffect)(function(){(0,K.j)()&&n&&(document.title=n)},[r.title,n])}var S=y(1977),b=y(73177);function j(r){if((0,S.n)((0,b.b)(),"5.6.0")<0)return r;var e={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},n=(0,s.Z)({},r);return Object.keys(e).forEach(function(t){n[t]!==void 0&&(n[e[t]]=n[t],delete n[t])}),n}var q=y(90743);function O(r,e){return e>>>r|e<<32-r}function w(r,e,n){return r&e^~r&n}function _(r,e,n){return r&e^r&n^e&n}function Q(r){return O(2,r)^O(13,r)^O(22,r)}function J(r){return O(6,r)^O(11,r)^O(25,r)}function F(r){return O(7,r)^O(18,r)^r>>>3}function U(r){return O(17,r)^O(19,r)^r>>>10}function de(r,e){return r[e&15]+=U(r[e+14&15])+r[e+9&15]+F(r[e+1&15])}var oe=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],z,te,D,xe="0123456789abcdef";function Pe(r,e){var n=(r&65535)+(e&65535),t=(r>>16)+(e>>16)+(n>>16);return t<<16|n&65535}function Oe(){z=new Array(8),te=new Array(2),D=new Array(64),te[0]=te[1]=0,z[0]=1779033703,z[1]=3144134277,z[2]=1013904242,z[3]=2773480762,z[4]=1359893119,z[5]=2600822924,z[6]=528734635,z[7]=1541459225}function Me(){var r,e,n,t,a,i,o,c,d,v,f=new Array(16);r=z[0],e=z[1],n=z[2],t=z[3],a=z[4],i=z[5],o=z[6],c=z[7];for(var C=0;C<16;C++)f[C]=D[(C<<2)+3]|D[(C<<2)+2]<<8|D[(C<<2)+1]<<16|D[C<<2]<<24;for(var x=0;x<64;x++)d=c+J(a)+w(a,i,o)+oe[x],x<16?d+=f[x]:d+=de(f,x),v=Q(r)+_(r,e,n),c=o,o=i,i=a,a=Pe(t,d),t=n,n=e,e=r,r=Pe(d,v);z[0]+=r,z[1]+=e,z[2]+=n,z[3]+=t,z[4]+=a,z[5]+=i,z[6]+=o,z[7]+=c}function $e(r,e){var n,t,a=0;t=te[0]>>3&63;var i=e&63;for((te[0]+=e<<3)>29,n=0;n+63>3&63;if(D[r++]=128,r<=56)for(var e=r;e<56;e++)D[e]=0;else{for(var n=r;n<64;n++)D[n]=0;Me();for(var t=0;t<56;t++)D[t]=0}D[56]=te[1]>>>24&255,D[57]=te[1]>>>16&255,D[58]=te[1]>>>8&255,D[59]=te[1]&255,D[60]=te[0]>>>24&255,D[61]=te[0]>>>16&255,D[62]=te[0]>>>8&255,D[63]=te[0]&255,Me()}function We(){for(var r=0,e=new Array(32),n=0;n<8;n++)e[r++]=z[n]>>>24&255,e[r++]=z[n]>>>16&255,e[r++]=z[n]>>>8&255,e[r++]=z[n]&255;return e}function Ge(){for(var r=new String,e=0;e<8;e++)for(var n=28;n>=0;n-=4)r+=xe.charAt(z[e]>>>n&15);return r}function hn(r){return Oe(),$e(r,r.length),De(),Ge()}var Tn=hn;function nn(r){return nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nn(r)}var Ht=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function At(r,e){return Ot(r)||Dt(r,e)||Pn(r,e)||_t()}function _t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dt(r,e){var n=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(n!=null){var t=[],a=!0,i=!1,o,c;try{for(n=n.call(r);!(a=(o=n.next()).done)&&(t.push(o.value),!(e&&t.length===e));a=!0);}catch(d){i=!0,c=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw c}}return t}}function Ot(r){if(Array.isArray(r))return r}function $t(r,e){var n=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=Pn(r))||e&&r&&typeof r.length=="number"){n&&(r=n);var t=0,a=function(){};return{s:a,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(v){throw v},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,c;return{s:function(){n=n.call(r)},n:function(){var v=n.next();return i=v.done,v},e:function(v){o=!0,c=v},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw c}}}}function Wt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(r,e){for(var n=0;nr.length)&&(e=r.length);for(var n=0,t=new Array(e);n=0)&&(!Object.prototype.propertyIsEnumerable.call(r,t)||(n[t]=r[t]))}return n}function kt(r,e){if(r==null)return{};var n={},t=Object.keys(r),a,i;for(i=0;i=0)&&(n[a]=r[a]);return n}function Vn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function se(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||wn(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},tr=function(e,n){var t=e.menu,a=t===void 0?{}:t,i=e.indexRoute,o=e.path,c=o===void 0?"":o,d=e.children||[],v=a.name,f=v===void 0?e.name:v,C=a.icon,x=C===void 0?e.icon:C,M=a.hideChildren,E=M===void 0?e.hideChildren:M,B=a.flatMenu,I=B===void 0?e.flatMenu:B,$=i&&Object.keys(i).join(",")!=="redirect"?[se({path:c,menu:a},i)].concat(d||[]):d,N=se({},e);if(f&&(N.name=f),x&&(N.icon=x),$&&$.length){if(E)return delete N.children,N;var W=En(se(se({},n),{},{data:$}),e);if(I)return W;delete N[Te]}return N},Xe=function(e){return Array.isArray(e)&&e.length>0};function En(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=r.data,t=r.formatMessage,a=r.parentName,i=r.locale;return!n||!Array.isArray(n)?[]:n.filter(function(o){return o?Xe(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var c,d;return(o==null||(c=o.menu)===null||c===void 0?void 0:c.name)||(o==null?void 0:o.flatMenu)||(o==null||(d=o.menu)===null||d===void 0?void 0:d.flatMenu)?!0:o.menu!==!1}).map(function(o){var c=se(se({},o),{},{path:o.path||o.originPath});return!c.children&&c[Te]&&(c.children=c[Te],delete c[Te]),c.unaccessible&&delete c.name,c.path==="*"&&(c.path="."),c.path==="/*"&&(c.path="."),!c.path&&c.originPath&&(c.path=c.originPath),c}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},c=o.children||o[Te]||[],d=Qn(o.path,e?e.path:"/"),v=o.name,f=nr(o,a||"menu"),C=f!==!1&&i!==!1&&t&&f?t({id:f,defaultMessage:v}):v,x=e.pro_layout_parentKeys,M=x===void 0?[]:x,E=e.children,B=e.icon,I=e.flatMenu,$=e.indexRoute,N=e.routes,W=Jt(e,Ht),T=new Set([].concat(Xn(M),Xn(o.parentKeys||[])));e.key&&T.add(e.key);var L=se(se(se({},W),{},{menu:void 0},o),{},{path:d,locale:f,key:o.key||er(se(se({},o),{},{path:d})),pro_layout_parentKeys:Array.from(T).filter(function(R){return R&&R!=="/"})});if(C?L.name=C:delete L.name,L.menu===void 0&&delete L.menu,Xe(c)){var p=En(se(se({},r),{},{data:c,parentName:f||""}),L);Xe(p)&&(L.children=p)}return tr(L,r)}).flat(1)}var rr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(n){return n&&(n.name||Xe(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var t=se({},n),a=t.children||n[Te]||[];if(delete t[Te],Xe(a)&&!t.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return se(se({},t),{},{children:i})}return se({},n)}).filter(function(n){return n})},ar=function(r){Ft(n,r);var e=Kt(n);function n(){return Wt(this,n),e.apply(this,arguments)}return zt(n,[{key:"get",value:function(a){var i;try{var o=$t(this.entries()),c;try{for(o.s();!(c=o.n()).done;){var d=At(c.value,2),v=d[0],f=d[1],C=an(v);if(!wn(v)&&(0,q.Bo)(C,[]).test(a)){i=f;break}}}catch(x){o.e(x)}finally{o.f()}}catch(x){i=void 0}return i}}]),n}(Bn(Map)),or=function(e){var n=new ar,t=function a(i,o){i.forEach(function(c){var d=c.children||c[Te]||[];Xe(d)&&a(d,c);var v=Qn(c.path,o?o.path:"/");n.set(an(v),c)})};return t(e),n},ir=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(n){var t=n.children||n[Te];if(Xe(t)){var a=r(t);if(a.length)return se({},n)}var i=se({},n);return delete i[Te],delete i.children,i}).filter(function(n){return n})},lr=function(e,n,t,a){var i=En({data:e,formatMessage:t,locale:n}),o=a?ir(i):rr(i),c=or(i);return{breadcrumb:c,menuData:o}},ur=lr;function Yn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function on(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:[],n={};return e.forEach(function(t){var a=on({},t);if(!(!a||!a.key)){!a.children&&a[Te]&&(a.children=a[Te],delete a[Te]);var i=a.children||[];n[an(a.path||a.key||"/")]=on({},a),n[a.key||a.path||"/"]=on({},a),i&&(n=on(on({},n),r(i)))}}),n},sr=dr,vr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&n==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!wn(a)){var i=an(a);try{if(t&&(0,q.Bo)("".concat(i)).test(n)||(0,q.Bo)("".concat(i),[]).test(n)||(0,q.Bo)("".concat(i,"/(.*)")).test(n))return!0}catch(o){}}return!1}).sort(function(a,i){return a===n?10:i===n?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},fr=function(e,n,t,a){var i=sr(n),o=Object.keys(i),c=vr(o,e||"/",a);return!c||c.length<1?[]:(t||(c=[c[c.length-1]]),c.map(function(d){var v=i[d]||{pro_layout_parentKeys:"",key:""},f=new Map,C=(v.pro_layout_parentKeys||[]).map(function(x){return f.has(x)?null:(f.set(x,!0),i[x])}).filter(function(x){return x});return v.key&&C.push(v),C}).flat(1))},mr=fr,He=y(28459),Ve=y(21612),hr=y(93967),k=y.n(hr),Jn=y(97435),gr=y(80334),kn=y(81758),pr=y(78164),u=y(85893),yr=function(e){var n=(0,h.useContext)(ne.L_),t=n.hashId,a=e.style,i=e.prefixCls,o=e.children,c=e.hasPageContainer,d=c===void 0?0:c,v=k()("".concat(i,"-content"),t,(0,l.Z)((0,l.Z)({},"".concat(i,"-has-header"),e.hasHeader),"".concat(i,"-content-has-page-container"),d>0)),f=e.ErrorBoundary||pr.S;return e.ErrorBoundary===!1?(0,u.jsx)(Ve.Z.Content,{className:v,style:a,children:o}):(0,u.jsx)(f,{children:(0,u.jsx)(Ve.Z.Content,{className:v,style:a,children:o})})},xr=function(){return(0,u.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,u.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,u.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,u.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,u.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,u.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,u.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,u.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,u.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,u.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,u.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Cr=y(87909),ln=y(62812),pn=y(87462),br=y(59021),Sr=y(65555),Zr=function(e,n){return h.createElement(Sr.Z,(0,pn.Z)({},e,{ref:n,icon:br.Z}))},Mr=h.forwardRef(Zr),Ir=Mr,Rr=y(55241),Tr=function(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Br=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,c){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},c):(0,u.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[Nn(o.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:o.title}),o.desc?(0,u.jsx)("span",{children:o.desc}):null]})]})},c)})})})},Ln=function(e){if(!e||!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},Pr=function(e,n){if(e&&typeof e=="string"&&Ln(e))return(0,u.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,u.jsx)("div",{id:"avatarLogo",children:e});if(!e&&n&&typeof n=="string"){var t=n.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:t})}return e},jr=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,c){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},c):(0,u.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[Pr(o.icon,o.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:o.title})})]})},c)})})})},Ie=y(98082),wr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"* div":Ie.Wf===null||Ie.Wf===void 0?void 0:(0,Ie.Wf)(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Er=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Lr=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Er(e),"&-default":wr(e)})};function Nr(r){return(0,Ie.Xj)("AppsLogoComponents",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Lr(n)]})}var Nn=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Hn=function(e){var n,t=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,c=e.onItemClick,d=h.useRef(null),v=h.useRef(null),f="".concat(o,"-layout-apps"),C=Nr(f),x=C.wrapSSR,M=C.hashId,E=(0,h.useState)(!1),B=(0,V.Z)(E,2),I=B[0],$=B[1],N=function(R){c==null||c(R,v)},W=(0,h.useMemo)(function(){var p=t==null?void 0:t.some(function(R){return!(R!=null&&R.desc)});return p?(0,u.jsx)(jr,{hashId:M,appList:t,itemClick:c?N:void 0,baseClassName:"".concat(f,"-simple")}):(0,u.jsx)(Br,{hashId:M,appList:t,itemClick:c?N:void 0,baseClassName:"".concat(f,"-default")})},[t,f,M]);if(!(e!=null&&(n=e.appList)!==null&&n!==void 0&&n.length))return null;var T=a?a(e==null?void 0:e.appList,W):W,L=(0,b.X)(void 0,function(p){return $(p)});return x((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:d,onClick:function(R){R.stopPropagation(),R.preventDefault()}}),(0,u.jsx)(Rr.Z,(0,s.Z)((0,s.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},L),{},{overlayClassName:"".concat(f,"-popover ").concat(M).trim(),content:T,getPopupContainer:function(){return d.current||document.body},children:(0,u.jsx)("span",{ref:v,onClick:function(R){R.stopPropagation()},className:k()("".concat(f,"-icon"),M,(0,l.Z)({},"".concat(f,"-icon-active"),I)),children:(0,u.jsx)(Tr,{})})}))]}))},qn=y(7134),Hr=y(78957),et=y(50136);function Ar(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var _r=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function Dr(r){return(0,Ie.Xj)("SiderMenuCollapsedIcon",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[_r(n)]})}var Or=["isMobile","collapsed"],$r=function(e){var n=e.isMobile,t=e.collapsed,a=(0,me.Z)(e,Or),i=Dr(e.className),o=i.wrapSSR,c=i.hashId;return n&&t?null:o((0,u.jsx)("div",(0,s.Z)((0,s.Z)({},a),{},{className:k()(e.className,c,(0,l.Z)((0,l.Z)({},"".concat(e.className,"-collapsed"),t),"".concat(e.className,"-is-mobile"),n)),children:(0,u.jsx)(Ar,{})})))},yn=y(74902),Wr=y(43144),zr=y(15671),Fr=y(42550),Kr=y(2446),xn=y(14004),Ur=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],nt=h.forwardRef(function(r,e){var n=r.className,t=r.component,a=r.viewBox,i=r.spin,o=r.rotate,c=r.tabIndex,d=r.onClick,v=r.children,f=(0,me.Z)(r,Ur),C=h.useRef(),x=(0,Fr.x1)(C,e);(0,xn.Kp)(Boolean(t||v),"Should have `component` prop or `children`."),(0,xn.C3)(C);var M=h.useContext(Kr.Z),E=M.prefixCls,B=E===void 0?"anticon":E,I=M.rootClassName,$=k()(I,B,n),N=k()((0,l.Z)({},"".concat(B,"-spin"),!!i)),W=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,T=(0,s.Z)((0,s.Z)({},xn.vD),{},{className:N,style:W,viewBox:a});a||delete T.viewBox;var L=function(){return t?h.createElement(t,T,v):v?((0,xn.Kp)(Boolean(a)||h.Children.count(v)===1&&h.isValidElement(v)&&h.Children.only(v).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),h.createElement("svg",(0,pn.Z)({},T,{viewBox:a}),v)):null},p=c;return p===void 0&&d&&(p=-1),h.createElement("span",(0,pn.Z)({role:"img"},f,{ref:x,tabIndex:p,onClick:d,className:$}),L())});nt.displayName="AntdIcon";var Gr=nt,Xr=["type","children"],tt=new Set;function Vr(r){return Boolean(typeof r=="string"&&r.length&&!tt.has(r))}function Cn(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=r[e];if(Vr(n)){var t=document.createElement("script");t.setAttribute("src",n),t.setAttribute("data-namespace",n),r.length>e+1&&(t.onload=function(){Cn(r,e+1)},t.onerror=function(){Cn(r,e+1)}),tt.add(n),document.body.appendChild(t)}}function rt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,n=r.extraCommonProps,t=n===void 0?{}:n;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?Cn(e.reverse()):Cn([e]));var a=h.forwardRef(function(i,o){var c=i.type,d=i.children,v=(0,me.Z)(i,Xr),f=null;return i.type&&(f=h.createElement("use",{xlinkHref:"#".concat(c)})),d&&(f=d),h.createElement(Gr,(0,pn.Z)({},t,v,{ref:o}),f)});return a.displayName="Iconfont",a}function Qr(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Yr=y(83062),Jr=y(99559),at=y(14192),kr=function(e,n){var t,a,i=n.includes("horizontal")?(t=e.layout)===null||t===void 0?void 0:t.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,s.Z)((0,s.Z)((0,l.Z)({},"".concat(e.componentCls),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({background:"transparent",color:i==null?void 0:i.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item, + `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item, + `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title, + `).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title, + `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function qr(r,e){return(0,Ie.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,s.Z)((0,s.Z)({},n),{},{componentCls:".".concat(r)});return[kr(t,e||"inline")]})}var ot=function(e){var n=(0,h.useState)(e.collapsed),t=(0,V.Z)(n,2),a=t[0],i=t[1],o=(0,h.useState)(!1),c=(0,V.Z)(o,2),d=c[0],v=c[1];return(0,h.useEffect)(function(){v(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Yr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:v,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Ln(e)||Qr(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,u.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},ea=(0,Wr.Z)(function r(e){var n=this;(0,zr.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,c=o.subMenuItemRender,d=o.baseClassName,v=o.prefixCls,f=o.collapsed,C=o.menu,x=o.iconPrefixes,M=o.layout,E=(C==null?void 0:C.type)==="group"&&M!=="top",B=n.props.token,I=n.getIntlName(t),$=(t==null?void 0:t.children)||(t==null?void 0:t.routes),N=E&&a===0?"group":void 0;if(Array.isArray($)&&$.length>0){var W,T,L,p,R,X=a===0||E&&a===1,H=lt(t.icon,x,"".concat(d,"-icon ").concat((W=n.props)===null||W===void 0?void 0:W.hashId)),P=f&&X?ut(I):null,ee=(0,u.jsxs)("div",{className:k()("".concat(d,"-item-title"),(T=n.props)===null||T===void 0?void 0:T.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-item-title-collapsed"),f),"".concat(d,"-item-title-collapsed-level-").concat(i),f),"".concat(d,"-group-item-title"),N==="group"),"".concat(d,"-item-collapsed-show-title"),(C==null?void 0:C.collapsedShowTitle)&&f)),children:[N==="group"&&f?null:X&&H?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((L=n.props)===null||L===void 0?void 0:L.hashId).trim(),children:H}):P,(0,u.jsx)("span",{className:k()("".concat(d,"-item-text"),(p=n.props)===null||p===void 0?void 0:p.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),N!=="group"&&X&&(H||P))),children:I})]}),ie=c?c((0,s.Z)((0,s.Z)({},t),{},{isUrl:!1}),ee,n.props):ee;if(E&&a===0&&n.props.collapsed&&!C.collapsedShowGroupTitle)return n.getNavMenuItems($,a+1,a);var g=n.getNavMenuItems($,a+1,E&&a===0&&n.props.collapsed?a:a+1);return[{type:N,key:t.key||t.path,label:ie,onClick:E?void 0:t.onTitleClick,children:g,className:k()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-group"),N==="group"),"".concat(d,"-submenu"),N!=="group"),"".concat(d,"-submenu-has-icon"),N!=="group"&&X&&H))},E&&a===0?{type:"divider",prefixCls:v,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:B==null||(R=B.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,c=o.menu,d=o.formatMessage;return i&&(c==null?void 0:c.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,c,d,v,f=n.conversionPath(t.path||"/"),C=n.props,x=C.location,M=x===void 0?{pathname:"/"}:x,E=C.isMobile,B=C.onCollapse,I=C.menuItemRender,$=C.iconPrefixes,N=n.getIntlName(t),W=n.props,T=W.baseClassName,L=W.menu,p=W.collapsed,R=(L==null?void 0:L.type)==="group",X=a===0||R&&a===1,H=X?lt(t.icon,$,"".concat(T,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,P=p&&X?ut(N):null,ee=(0,u.jsxs)("div",{className:k()("".concat(T,"-item-title"),(c=n.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),p),"".concat(T,"-item-title-collapsed-level-").concat(i),p),"".concat(T,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&p)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((d=n.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:P===null&&!H?"none":""},children:H||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:k()("".concat(T,"-item-text"),(v=n.props)===null||v===void 0?void 0:v.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),X&&(H||P))),children:N})]},f),ie=Ln(f);if(ie){var g,ce,Z;ee=(0,u.jsxs)("span",{onClick:function(){var ve,ae;(ve=window)===null||ve===void 0||(ae=ve.open)===null||ae===void 0||ae.call(ve,f,"_blank")},className:k()("".concat(T,"-item-title"),(g=n.props)===null||g===void 0?void 0:g.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),p),"".concat(T,"-item-title-collapsed-level-").concat(i),p),"".concat(T,"-item-link"),!0),"".concat(T,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&p)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((ce=n.props)===null||ce===void 0?void 0:ce.hashId).trim(),style:{display:P===null&&!H?"none":""},children:H||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:k()("".concat(T,"-item-text"),(Z=n.props)===null||Z===void 0?void 0:Z.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),X&&(H||P))),children:N})]},f)}if(I){var Y=(0,s.Z)((0,s.Z)({},t),{},{isUrl:ie,itemPath:f,isMobile:E,replace:f===M.pathname,onClick:function(){return B&&B(!0)},children:void 0});return a===0?(0,u.jsx)(ot,{collapsed:p,title:N,disable:t.disabledTooltip,children:I(Y,ee,n.props)}):I(Y,ee,n.props)}return a===0?(0,u.jsx)(ot,{collapsed:p,title:N,disable:t.disabledTooltip,children:ee}):ee}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),na=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n=e.mode,t=e.className,a=e.handleOpenChange,i=e.style,o=e.menuData,c=e.prefixCls,d=e.menu,v=e.matchMenuKeys,f=e.iconfontUrl,C=e.selectedKeys,x=e.onSelect,M=e.menuRenderType,E=e.openKeys,B=(0,h.useContext)(ne.L_),I=B.dark,$=B.token,N="".concat(c,"-base-menu-").concat(n),W=(0,h.useRef)([]),T=(0,le.Z)(d==null?void 0:d.defaultOpenAll),L=(0,V.Z)(T,2),p=L[0],R=L[1],X=(0,le.Z)(function(){return d!=null&&d.defaultOpenAll?(0,ln.O7)(o)||[]:E===!1?!1:[]},{value:E===!1?void 0:E,onChange:a}),H=(0,V.Z)(X,2),P=H[0],ee=H[1],ie=(0,le.Z)([],{value:C,onChange:x?function(ge){x&&ge&&x(ge)}:void 0}),g=(0,V.Z)(ie,2),ce=g[0],Z=g[1];(0,h.useEffect)(function(){d!=null&&d.defaultOpenAll||E===!1||v&&(ee(v),Z(v))},[v.join("-")]),(0,h.useEffect)(function(){f&&(it=rt({scriptUrl:f}))},[f]),(0,h.useEffect)(function(){if(v.join("-")!==(ce||[]).join("-")&&Z(v),!p&&E!==!1&&v.join("-")!==(P||[]).join("-")){var ge=v;(d==null?void 0:d.autoClose)===!1&&(ge=Array.from(new Set([].concat((0,yn.Z)(v),(0,yn.Z)(P||[]))))),ee(ge)}else d!=null&&d.ignoreFlatMenu&&p?ee((0,ln.O7)(o)):R(!1)},[v.join("-")]);var Y=(0,h.useMemo)(function(){return na(P,e)},[P&&P.join(","),e.layout,e.collapsed]),re=qr(N,n),ve=re.wrapSSR,ae=re.hashId,Ce=(0,h.useMemo)(function(){return new ea((0,s.Z)((0,s.Z)({},e),{},{token:$,menuRenderType:M,baseClassName:N,hashId:ae}))},[e,$,M,N,ae]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:n!=null&&n.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(Jr.Z,{active:!0,title:!1,paragraph:{rows:n!=null&&n.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(W.current=v);var he=e.postMenuData?e.postMenuData(o):o;return he&&(he==null?void 0:he.length)<1?null:ve((0,h.createElement)(et.Z,(0,s.Z)((0,s.Z)({},Y),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:n,inlineIndent:16,defaultOpenKeys:W.current,theme:I?"dark":"light",selectedKeys:ce,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},i),className:k()(t,ae,N,(0,l.Z)((0,l.Z)({},"".concat(N,"-horizontal"),n==="horizontal"),"".concat(N,"-collapsed"),e.collapsed)),items:Ce.getNavMenuItems(he,0,0),onOpenChange:function(je){e.collapsed||ee(je)}},e.menuProps)))};function ta(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Ie.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var ra=["title","render"],aa=h.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),oa=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,ia=dt===void 0?{Provider:aa}:dt,An=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var c=Nn(t),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(c,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},st=function(e){var n,t=e.collapsed,a=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,c=e.onCollapse,d=e.theme,v=e.siderWidth,f=e.isMobile,C=e.onMenuHeaderClick,x=e.breakpoint,M=x===void 0?"lg":x,E=e.style,B=e.layout,I=e.menuExtraRender,$=I===void 0?!1:I,N=e.links,W=e.menuContentRender,T=e.collapsedButtonRender,L=e.prefixCls,p=e.avatarProps,R=e.rightContentRender,X=e.actionsRender,H=e.onOpenChange,P=e.stylish,ee=e.logoStyle,ie=(0,h.useContext)(ne.L_),g=ie.hashId,ce=(0,h.useMemo)(function(){return!(f||B==="mix")},[f,B]),Z="".concat(L,"-sider"),Y=64,re=ta("".concat(Z,".").concat(Z,"-stylish"),{stylish:P,proLayoutCollapsedWidth:Y}),ve=k()("".concat(Z),g,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(Z,"-fixed"),i),"".concat(Z,"-fixed-mix"),B==="mix"&&!f&&i),"".concat(Z,"-collapsed"),e.collapsed),"".concat(Z,"-layout-").concat(B),B&&!f),"".concat(Z,"-light"),d!=="dark"),"".concat(Z,"-mix"),B==="mix"&&!f),"".concat(Z,"-stylish"),!!P)),ae=An(e),Ce=$&&$(e),he=(0,h.useMemo)(function(){return W!==!1&&(0,h.createElement)(ct,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:t&&!f?"vertical":"inline",handleOpenChange:H,style:{width:"100%"},className:"".concat(Z,"-menu ").concat(g).trim()}))},[Z,g,W,H,e]),ge=(N||[]).map(function(be,Ne){return{className:"".concat(Z,"-link"),label:be,key:Ne}}),je=(0,h.useMemo)(function(){return W?W(e,he):he},[W,he,e]),Re=(0,h.useMemo)(function(){if(!p)return null;var be=p.title,Ne=p.render,we=(0,me.Z)(p,ra),Zn=(0,u.jsxs)("div",{className:"".concat(Z,"-actions-avatar"),children:[we!=null&&we.src||we!=null&&we.srcSet||we.icon||we.children?(0,u.jsx)(qn.C,(0,s.Z)({size:28},we)):null,p.title&&!t&&(0,u.jsx)("span",{children:be})]});return Ne?Ne(p,Zn,e):Zn},[p,Z,t]),Be=(0,h.useMemo)(function(){return X?(0,u.jsx)(Hr.Z,{align:"center",size:4,direction:t?"vertical":"horizontal",className:k()(["".concat(Z,"-actions-list"),t&&"".concat(Z,"-actions-list-collapsed"),g]),children:[X==null?void 0:X(e)].flat(1).map(function(be,Ne){return(0,u.jsx)("div",{className:"".concat(Z,"-actions-list-item ").concat(g).trim(),children:be},Ne)})}):null},[X,Z,t]),Ae=(0,h.useMemo)(function(){return(0,u.jsx)(Hn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),ze=(0,h.useMemo)(function(){if(T===!1)return null;var be=(0,u.jsx)($r,{isMobile:f,collapsed:a,className:"".concat(Z,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return T?T(t,be):be},[T,f,a,Z,t,c]),Fe=(0,h.useMemo)(function(){return!Re&&!Be?null:(0,u.jsxs)("div",{className:k()("".concat(Z,"-actions"),g,t&&"".concat(Z,"-actions-collapsed")),children:[Re,Be]})},[Be,Re,Z,t,g]),Ke=(0,h.useMemo)(function(){var be;return e!=null&&(be=e.menu)!==null&&be!==void 0&&be.hideMenuWhenCollapsed&&t?"".concat(Z,"-hide-menu-collapsed"):null},[Z,t,e==null||(n=e.menu)===null||n===void 0?void 0:n.hideMenuWhenCollapsed]),un=o&&(o==null?void 0:o(e)),Sn=(0,u.jsxs)(u.Fragment,{children:[ae&&(0,u.jsxs)("div",{className:k()([k()("".concat(Z,"-logo"),g,(0,l.Z)({},"".concat(Z,"-logo-collapsed"),t))]),onClick:ce?C:void 0,id:"logo",style:ee,children:[ae,Ae]}),Ce&&(0,u.jsx)("div",{className:k()(["".concat(Z,"-extra"),!ae&&"".concat(Z,"-extra-no-logo"),g]),children:Ce}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:je}),(0,u.jsxs)(ia.Provider,{value:{},children:[N?(0,u.jsx)("div",{className:"".concat(Z,"-links ").concat(g).trim(),children:(0,u.jsx)(et.Z,{inlineIndent:16,className:"".concat(Z,"-link-menu ").concat(g).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:ge})}):null,ce&&(0,u.jsxs)(u.Fragment,{children:[Fe,!Be&&R?(0,u.jsx)("div",{className:k()("".concat(Z,"-actions"),g,(0,l.Z)({},"".concat(Z,"-actions-collapsed"),t)),children:R==null?void 0:R(e)}):null]}),un&&(0,u.jsx)("div",{className:k()(["".concat(Z,"-footer"),g,(0,l.Z)({},"".concat(Z,"-footer-collapsed"),t)]),children:un})]})]});return re.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!f&&!Ke&&(0,u.jsx)("div",{style:(0,s.Z)({width:t?Y:v,overflow:"hidden",flex:"0 0 ".concat(t?Y:v,"px"),maxWidth:t?Y:v,minWidth:t?Y:v,transition:"all 0.2s ease 0s"},E)}),(0,u.jsxs)(oa,{collapsible:!0,trigger:null,collapsed:t,breakpoint:M===!1?void 0:M,onCollapse:function(Ne){f||c==null||c(Ne)},collapsedWidth:Y,style:E,theme:d,width:v,className:k()(ve,g,Ke),children:[Ke?(0,u.jsx)("div",{className:"".concat(Z,"-hide-when-collapsed ").concat(g).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Sn}):Sn,ze]})]}))},la=y(10178),ua=y(9220),ca=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function da(r){return(0,Ie.Xj)("ProLayoutRightContent",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ca(n)]})}var sa=["rightContentRender","avatarProps","actionsRender","headerContentRender"],va=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,me.Z)(e,sa),c=(0,h.useContext)(He.ZP.ConfigContext),d=c.getPrefixCls,v="".concat(d(),"-pro-global-header"),f=da(v),C=f.wrapSSR,x=f.hashId,M=(0,h.useState)("auto"),E=(0,V.Z)(M,2),B=E[0],I=E[1],$=(0,h.useMemo)(function(){if(!t)return null;var L=t.title,p=t.render,R=(0,me.Z)(t,va),X=[R!=null&&R.src||R!=null&&R.srcSet||R.icon||R.children?(0,h.createElement)(qn.C,(0,s.Z)((0,s.Z)({},R),{},{size:28,key:"avatar"})):null,L?(0,u.jsx)("span",{style:{marginInlineStart:8},children:L},"name"):void 0];return p?p(t,(0,u.jsx)("div",{children:X}),o):(0,u.jsx)("div",{children:X})},[t]),N=a||$?function(L){var p=a&&(a==null?void 0:a(L));return!p&&!$?null:Array.isArray(p)?C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[p.filter(Boolean).map(function(R,X){var H=!1;if(h.isValidElement(R)){var P;H=!!(R!=null&&(P=R.props)!==null&&P!==void 0&&P["aria-hidden"])}return(0,u.jsx)("div",{className:k()("".concat(v,"-header-actions-item ").concat(x),(0,l.Z)({},"".concat(v,"-header-actions-hover"),!H)),children:R},X)}),$&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:$})]})):C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[p,$&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:$})]}))}:void 0,W=(0,la.D)(function(){var L=(0,pe.Z)((0,fe.Z)().mark(function p(R){return(0,fe.Z)().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:I(R);case 1:case"end":return H.stop()}},p)}));return function(p){return L.apply(this,arguments)}}(),160),T=N||n;return(0,u.jsx)("div",{className:"".concat(v,"-right-content ").concat(x).trim(),style:{minWidth:B,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(ua.Z,{onResize:function(p){var R=p.width;W.run(R)},children:T?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:T((0,s.Z)((0,s.Z)({},o),{},{rightContentSize:B}))}):null})})})},fa=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function ma(r){return(0,Ie.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[fa(n)]})}var ft=function(e){var n,t,a,i,o,c,d,v=(0,h.useRef)(null),f=e.onMenuHeaderClick,C=e.contentWidth,x=e.rightContentRender,M=e.className,E=e.style,B=e.headerContentRender,I=e.layout,$=e.actionsRender,N=(0,h.useContext)(He.ZP.ConfigContext),W=N.getPrefixCls,T=(0,h.useContext)(ne.L_),L=T.dark,p="".concat(e.prefixCls||W("pro"),"-top-nav-header"),R=ma(p),X=R.wrapSSR,H=R.hashId,P=void 0;e.menuHeaderRender!==void 0?P="menuHeaderRender":(I==="mix"||I==="top")&&(P="headerTitleRender");var ee=An((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),P),ie=(0,h.useContext)(ne.L_),g=ie.token,ce=(0,h.useMemo)(function(){var Z,Y,re,ve,ae,Ce,he,ge,je,Re,Be,Ae,ze,Fe=(0,u.jsx)(He.ZP,{theme:{hashed:(0,ne.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,s.Z)({},j({colorItemBg:((Z=g.layout)===null||Z===void 0||(Z=Z.header)===null||Z===void 0?void 0:Z.colorBgHeader)||"transparent",colorSubItemBg:((Y=g.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorBgHeader)||"transparent",radiusItem:g.borderRadius,colorItemBgSelected:((re=g.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(g==null?void 0:g.colorBgTextHover),itemHoverBg:((ve=g.layout)===null||ve===void 0||(ve=ve.header)===null||ve===void 0?void 0:ve.colorBgMenuItemHover)||(g==null?void 0:g.colorBgTextHover),colorItemBgSelectedHorizontal:((ae=g.layout)===null||ae===void 0||(ae=ae.header)===null||ae===void 0?void 0:ae.colorBgMenuItemSelected)||(g==null?void 0:g.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Ce=g.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorTextMenu)||(g==null?void 0:g.colorTextSecondary),colorItemTextHoverHorizontal:((he=g.layout)===null||he===void 0||(he=he.header)===null||he===void 0?void 0:he.colorTextMenuActive)||(g==null?void 0:g.colorText),colorItemTextSelectedHorizontal:((ge=g.layout)===null||ge===void 0||(ge=ge.header)===null||ge===void 0?void 0:ge.colorTextMenuSelected)||(g==null?void 0:g.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((je=g.layout)===null||je===void 0||(je=je.header)===null||je===void 0?void 0:je.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Re=g.layout)===null||Re===void 0||(Re=Re.header)===null||Re===void 0?void 0:Re.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((Be=g.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:g==null?void 0:g.colorBgElevated,subMenuItemBg:g==null?void 0:g.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:g==null?void 0:g.colorBgElevated}))},token:{colorBgElevated:((Ae=g.layout)===null||Ae===void 0||(Ae=Ae.header)===null||Ae===void 0?void 0:Ae.colorBgHeader)||"transparent"}},children:(0,u.jsx)(ct,(0,s.Z)((0,s.Z)((0,s.Z)({theme:L?"dark":"light"},e),{},{className:"".concat(p,"-base-menu ").concat(H).trim()},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return B?B(e,Fe):Fe},[(n=g.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=g.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=g.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=g.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=g.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(c=g.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=g.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,g.borderRadius,g==null?void 0:g.colorBgTextHover,g==null?void 0:g.colorTextSecondary,g==null?void 0:g.colorText,g==null?void 0:g.colorTextBase,g.colorBgElevated,L,e,p,H,B]);return X((0,u.jsx)("div",{className:k()(p,H,M,(0,l.Z)({},"".concat(p,"-light"),!0)),style:E,children:(0,u.jsxs)("div",{ref:v,className:k()("".concat(p,"-main"),H,(0,l.Z)({},"".concat(p,"-wide"),C==="Fixed"&&I==="top")),children:[ee&&(0,u.jsxs)("div",{className:k()("".concat(p,"-main-left ").concat(H)),onClick:f,children:[(0,u.jsx)(Hn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:"".concat(p,"-logo ").concat(H).trim(),id:"logo",children:ee},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(p,"-menu ").concat(H).trim(),children:ce}),(x||$||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)((0,s.Z)({rightContentRender:x},e),{},{prefixCls:p}))]})}))},ha=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};function ga(r){return(0,Ie.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ha(n)]})}var pa=function(e,n){return e===!1?null:e?e(n,null):n},ya=function(e){var n=e.isMobile,t=e.logo,a=e.collapsed,i=e.onCollapse,o=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,v=e.className,f=e.style,C=e.layout,x=e.children,M=e.splitMenus,E=e.menuData,B=e.prefixCls,I=(0,h.useContext)(He.ZP.ConfigContext),$=I.getPrefixCls,N=I.direction,W="".concat(B||$("pro"),"-global-header"),T=ga(W),L=T.wrapSSR,p=T.hashId,R=k()(v,W,p);if(C==="mix"&&!n&&M){var X=(E||[]).map(function(ie){return(0,s.Z)((0,s.Z)({},ie),{},{children:void 0,routes:void 0})}),H=(0,ln.QX)(X);return(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:H}))}var P=k()("".concat(W,"-logo"),p,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(W,"-logo-rtl"),N==="rtl"),"".concat(W,"-logo-mix"),C==="mix"),"".concat(W,"-logo-mobile"),n)),ee=(0,u.jsx)("span",{className:P,children:(0,u.jsx)("a",{children:Nn(t)})},"logo");return L((0,u.jsxs)("div",{className:R,style:(0,s.Z)({},f),children:[n&&(0,u.jsx)("span",{className:"".concat(W,"-collapsed-button ").concat(p).trim(),onClick:function(){i==null||i(!a)},children:(0,u.jsx)(Ir,{})}),n&&pa(c,ee),C==="mix"&&!n&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Hn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:P,onClick:d,children:An((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:x}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)({rightContentRender:o},e))]}))},xa=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function Ca(r){return(0,Ie.Xj)("ProLayoutHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[xa(n)]})}function ba(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Ie.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Sa=function(e){var n,t,a,i=e.isMobile,o=e.fixedHeader,c=e.className,d=e.style,v=e.collapsed,f=e.prefixCls,C=e.onCollapse,x=e.layout,M=e.headerRender,E=e.headerContentRender,B=(0,h.useContext)(ne.L_),I=B.token,$=(0,h.useContext)(He.ZP.ConfigContext),N=(0,h.useState)(!1),W=(0,V.Z)(N,2),T=W[0],L=W[1],p=o||x==="mix",R=(0,h.useCallback)(function(){var Z=x==="top",Y=(0,ln.QX)(e.menuData||[]),re=(0,u.jsx)(ya,(0,s.Z)((0,s.Z)({onCollapse:C},e),{},{menuData:Y,children:E&&E(e,null)}));return Z&&!i&&(re=(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:C},e),{},{menuData:Y}))),M&&typeof M=="function"?M(e,re):re},[E,M,i,x,C,e]);(0,h.useEffect)(function(){var Z,Y=($==null||(Z=$.getTargetContainer)===null||Z===void 0?void 0:Z.call($))||document.body,re=function(){var ae,Ce=Y.scrollTop;return Ce>(((ae=I.layout)===null||ae===void 0||(ae=ae.header)===null||ae===void 0?void 0:ae.heightLayoutHeader)||56)&&!T?(L(!0),!0):(T&&L(!1),!1)};if(!!p&&typeof window!="undefined")return Y.addEventListener("scroll",re,{passive:!0}),function(){Y.removeEventListener("scroll",re)}},[(n=I.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,p,T]);var X=x==="top",H="".concat(f,"-layout-header"),P=Ca(H),ee=P.wrapSSR,ie=P.hashId,g=ba("".concat(H,".").concat(H,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ce=k()(c,ie,H,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(H,"-fixed-header"),p),"".concat(H,"-fixed-header-scroll"),T),"".concat(H,"-mix"),x==="mix"),"".concat(H,"-fixed-header-action"),!v),"".concat(H,"-top-menu"),X),"".concat(H,"-header"),!0),"".concat(H,"-stylish"),!!e.stylish));return x==="side"&&!i?null:g.wrapSSR(ee((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(He.ZP,{theme:{hashed:(0,ne.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[p&&(0,u.jsx)(mt,{style:(0,s.Z)({height:((t=I.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((a=I.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),(0,u.jsx)(mt,{className:ce,style:d,children:R()})]})})))},Za=y(83832),Ma=y(85265),Ia=y(54548),ht=new Ia.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ra=function(e){var n,t,a,i,o,c,d,v,f,C,x,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(v=e.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((x=e.layout)===null||x===void 0||(x=x.header)===null||x===void 0?void 0:x.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((M=e.layout)===null||M===void 0||(M=M.header)===null||M===void 0?void 0:M.heightLayoutHeader)||56,"px")}}))};function Ta(r,e){var n=e.proLayoutCollapsedWidth;return(0,Ie.Xj)("ProLayoutSiderMenu",function(t){var a=(0,s.Z)((0,s.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ra(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,c=e.style,d=e.className,v=e.hide,f=e.prefixCls,C=e.getContainer,x=(0,h.useContext)(ne.L_),M=x.token;(0,h.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var E=(0,Jn.Z)(e,["className","style"]),B=h.useContext(He.ZP.ConfigContext),I=B.direction,$=Ta("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),N=$.wrapSSR,W=$.hashId,T=k()("".concat(f,"-sider"),d,W);if(v)return null;var L=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return N(t?(0,u.jsx)(Ma.Z,(0,s.Z)((0,s.Z)({placement:I==="rtl"?"right":"left",className:k()("".concat(f,"-drawer-sider"),d)},L),{},{style:(0,s.Z)({padding:0,height:"100vh"},c),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,getContainer:C||!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=M.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,u.jsx)(st,(0,s.Z)((0,s.Z)({},E),{},{isMobile:!0,className:T,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(st,(0,s.Z)((0,s.Z)({className:T,originCollapsed:i},E),{},{style:c})))},pt=y(76509),Ba=y(14779),_n=y.n(Ba),Pa=function(e,n,t){if(t){var a=(0,yn.Z)(t.keys()).find(function(o){return _n()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return _n()(o).test(e)});if(i)return n[i]}return{path:""}},Dn=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,c=e.formatMessage,d=e.title,v=e.menu,f=v===void 0?{locale:!1}:v,C=n?"":d||"",x=Pa(a,i,o);if(!x)return{title:C,id:"",pageName:C};var M=x.name;return f.locale!==!1&&x.locale&&c&&(M=c({id:x.locale||"",defaultMessage:x.name})),M?n||!d?{title:M,id:x.locale||"",pageName:M}:{title:"".concat(M," - ").concat(d),id:x.locale||"",pageName:M}:{title:C,id:x.locale||"",pageName:C}},bo=function(e,n){return Dn(e,n).title},ja=y(52676),bn=y(67159),Qe=y(34155),wa=function(){var e;return typeof Qe=="undefined"?bn.Z:((e=Qe)===null||Qe===void 0||(Qe={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||bn.Z},Ea=function(e){var n,t,a,i,o,c,d,v,f,C,x,M,E,B,I,$,N,W,T,L,p,R,X,H,P,ee,ie,g,ce,Z,Y,re;return(n=wa())!==null&&n!==void 0&&n.startsWith("5")?{}:(0,l.Z)((0,l.Z)((0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(p={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(p,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,`-menu-item:active, + `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,`-menu-submenu-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(v=e.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((f=e.layout)===null||f===void 0||(f=f.header)===null||f===void 0?void 0:f.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(x=e.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenuSelected}),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(p,"".concat(e.antCls,"-menu-submenu-selected"),{color:(M=e.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(E=e.layout)===null||E===void 0||(E=E.sider)===null||E===void 0?void 0:E.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(B=e.layout)===null||B===void 0||(B=B.sider)===null||B===void 0?void 0:B.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(I=e.layout)===null||I===void 0||(I=I.sider)===null||I===void 0?void 0:I.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-submenu:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:($=e.layout)===null||$===void 0||($=$.header)===null||$===void 0?void 0:$.colorTextMenuActive,backgroundColor:"".concat((N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorBgMenuItemHover," !important")}),"".concat(e.antCls,`-menu-item-open, + `).concat(e.antCls,`-menu-submenu-open, + `).concat(e.antCls,`-menu-item-selected, + `).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:(W=e.layout)===null||W===void 0||(W=W.header)===null||W===void 0?void 0:W.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((L=e.layout)===null||L===void 0||(L=L.header)===null||L===void 0?void 0:L.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(0,l.Z)((0,l.Z)({},"&".concat(e.antCls,"-menu"),(0,l.Z)({color:(R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,`-menu-submenu-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(X=e.layout)===null||X===void 0||(X=X.header)===null||X===void 0?void 0:X.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(H=e.layout)===null||H===void 0||(H=H.header)===null||H===void 0?void 0:H.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(ee=e.layout)===null||ee===void 0||(ee=ee.header)===null||ee===void 0?void 0:ee.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(ie=e.layout)===null||ie===void 0||(ie=ie.header)===null||ie===void 0?void 0:ie.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active, + `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ce=e.layout)===null||ce===void 0||(ce=ce.sider)===null||ce===void 0?void 0:ce.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(re=e.layout)===null||re===void 0||(re=re.sider)===null||re===void 0?void 0:re.colorTextMenuActive}))))},La=function(e){var n,t,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function Na(r){return(0,Ie.Xj)("ProLayout",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[La(n),Ea(n)]})}function Ha(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=y(34155),Aa=function(){var e;return typeof Ye=="undefined"?bn.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||bn.Z},_a=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=t.findIndex(function(v){return v.linkPath===e.path})===t.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},Da=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},Oa=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return _n()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},$a=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},Wa=function(e,n,t){var a=Ha(e==null?void 0:e.pathname),i=a.map(function(o){var c=Oa(n,o),d=Da(c,t),v=c.hideInBreadcrumb;return d&&!v?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},za=function(e){var n=$a(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?Wa(t,a,e):[]},Fa=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=za(e),v=function(x){for(var M=a||_a,E=arguments.length,B=new Array(E>1?E-1:0),I=1;I-1?{items:f,itemRender:v}:{routes:f,itemRender:v}};function Ka(r){return(0,yn.Z)(r).reduce(function(e,n){var t=(0,V.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Ua=function r(e,n,t,a){var i=ur(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:Ka(c),breadcrumbMap:c,menuData:o}},Ga=y(71002),Xa=y(51812),Va=function(e){var n=(0,h.useState)({}),t=(0,V.Z)(n,2),a=t[0],i=t[1];return(0,h.useEffect)(function(){i((0,Xa.Y)({layout:(0,Ga.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Qa=["id","defaultMessage"],Ya=["fixSiderbar","navTheme","layout"],yt=0,Ja=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Sa,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},ka=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,u.jsx)(Cr.q,{})):null},qa=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,c=e.openKeys,d=e.splitMenus,v=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var C=e.menuData;if(d&&(c!==!1||a==="mix")&&!i){var x=o||n,M=(0,V.Z)(x,1),E=M[0];if(E){var B;C=((B=e.menuData)===null||B===void 0||(B=B.find(function(W){return W.key===E}))===null||B===void 0?void 0:B.children)||[]}else C=[]}var I=(0,ln.QX)(C||[]);if(I&&(I==null?void 0:I.length)<1&&(d||v))return null;if(a==="top"&&!i){var $;return(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:($=e.stylish)===null||$===void 0?void 0:$.sider}))}var N=(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{menuData:I,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,N):N},eo=function(e,n){var t=n.pageTitleRender,a=Dn(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return Dn((0,s.Z)((0,s.Z)({},a),{},{title:i}));(0,gr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},no=function(e,n,t){return e?n?64:t:0},to=function(e){var n,t,a,i,o,c,d,v,f,C,x,M,E,B,I=e||{},$=I.children,N=I.onCollapse,W=I.location,T=W===void 0?{pathname:"/"}:W,L=I.contentStyle,p=I.route,R=I.defaultCollapsed,X=I.style,H=I.siderWidth,P=I.menu,ee=I.siderMenuType,ie=I.isChildrenLayout,g=I.menuDataRender,ce=I.actionRef,Z=I.bgLayoutImgList,Y=I.formatMessage,re=I.loading,ve=(0,h.useMemo)(function(){return H||(e.layout==="mix"?215:256)},[e.layout,H]),ae=(0,h.useContext)(He.ZP.ConfigContext),Ce=(n=e.prefixCls)!==null&&n!==void 0?n:ae.getPrefixCls("pro"),he=(0,le.Z)(!1,{value:P==null?void 0:P.loading,onChange:P==null?void 0:P.onLoadingChange}),ge=(0,V.Z)(he,2),je=ge[0],Re=ge[1],Be=(0,h.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Ae=(0,V.Z)(Be,1),ze=Ae[0],Fe=(0,h.useCallback)(function(Se){var Ue=Se.id,Rn=Se.defaultMessage,fn=(0,me.Z)(Se,Qa);if(Y)return Y((0,s.Z)({id:Ue,defaultMessage:Rn},fn));var mn=(0,ja.e)();return mn[Ue]?mn[Ue]:Rn},[Y]),Ke=(0,kn.ZP)([ze,P==null?void 0:P.params],function(){var Se=(0,pe.Z)((0,fe.Z)().mark(function Ue(Rn){var fn,mn,Lt,Nt;return(0,fe.Z)().wrap(function(en){for(;;)switch(en.prev=en.next){case 0:return mn=(0,V.Z)(Rn,2),Lt=mn[1],Re(!0),en.next=4,P==null||(fn=P.request)===null||fn===void 0?void 0:fn.call(P,Lt||{},(p==null?void 0:p.children)||(p==null?void 0:p.routes)||[]);case 4:return Nt=en.sent,Re(!1),en.abrupt("return",Nt);case 7:case"end":return en.stop()}},Ue)}));return function(Ue){return Se.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),un=Ke.data,Sn=Ke.mutate,be=Ke.isLoading;(0,h.useEffect)(function(){Re(be)},[be]);var Ne=(0,kn.kY)(),we=Ne.cache;(0,h.useEffect)(function(){return function(){we instanceof Map&&we.delete(ze)}},[]);var Zn=(0,h.useMemo)(function(){return Ua(un||(p==null?void 0:p.children)||(p==null?void 0:p.routes)||[],P,Fe,g)},[Fe,P,g,un,p==null?void 0:p.children,p==null?void 0:p.routes]),On=Zn||{},ao=On.breadcrumb,xt=On.breadcrumbMap,Ct=On.menuData,cn=Ct===void 0?[]:Ct;ce&&P!==null&&P!==void 0&&P.request&&(ce.current={reload:function(){Sn()}});var dn=(0,h.useMemo)(function(){return mr(T.pathname||"/",cn||[],!0)},[T.pathname,cn]),$n=(0,h.useMemo)(function(){return Array.from(new Set(dn.map(function(Se){return Se.key||Se.path||""})))},[dn]),bt=dn[dn.length-1]||{},St=Va(bt),Mn=(0,s.Z)((0,s.Z)({},e),St),oo=Mn.fixSiderbar,So=Mn.navTheme,sn=Mn.layout,io=(0,me.Z)(Mn,Ya),Je=A(),ke=(0,h.useMemo)(function(){return(Je==="sm"||Je==="xs")&&!e.disableMobile},[Je,e.disableMobile]),lo=sn!=="top"&&!ke,uo=(0,le.Z)(function(){return R!==void 0?R:!!(ke||Je==="md")},{value:e.collapsed,onChange:N}),Zt=(0,V.Z)(uo,2),vn=Zt[0],Mt=Zt[1],qe=(0,Jn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:Ce},e),{},{siderWidth:ve},St),{},{formatMessage:Fe,breadcrumb:ao,menu:(0,s.Z)((0,s.Z)({},P),{},{type:ee||(P==null?void 0:P.type),loading:je}),layout:sn}),["className","style","breadcrumbRender"]),Wn=eo((0,s.Z)((0,s.Z)({pathname:T.pathname},qe),{},{breadcrumbMap:xt}),e),co=Fa((0,s.Z)((0,s.Z)({},qe),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),In=qa((0,s.Z)((0,s.Z)({},qe),{},{menuData:cn,onCollapse:Mt,isMobile:ke,collapsed:vn}),$n),zn=Ja((0,s.Z)((0,s.Z)({},qe),{},{children:null,hasSiderMenu:!!In,menuData:cn,isMobile:ke,collapsed:vn,onCollapse:Mt}),$n),It=ka((0,s.Z)({isMobile:ke,collapsed:vn},qe)),so=(0,h.useContext)(pt.X),vo=so.isChildrenLayout,Fn=ie!==void 0?ie:vo,_e="".concat(Ce,"-layout"),Rt=Na(_e),fo=Rt.wrapSSR,Kn=Rt.hashId,mo=k()(e.className,Kn,"ant-design-pro",_e,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(Je),Je),"".concat(_e,"-top-menu"),sn==="top"),"".concat(_e,"-is-children"),Fn),"".concat(_e,"-fix-siderbar"),oo),"".concat(_e,"-").concat(sn),sn)),ho=no(!!lo,vn,ve),Tt={position:"relative"};(Fn||L&&L.minHeight)&&(Tt.minHeight=0),(0,h.useEffect)(function(){var Se;(Se=e.onPageChange)===null||Se===void 0||Se.call(e,e.location)},[T.pathname,(t=T.pathname)===null||t===void 0?void 0:t.search]);var go=(0,h.useState)(!1),Bt=(0,V.Z)(go,2),Pt=Bt[0],po=Bt[1],yo=(0,h.useState)(0),jt=(0,V.Z)(yo,2),wt=jt[0],xo=jt[1];m(Wn,e.title||!1);var Co=(0,h.useContext)(ne.L_),G=Co.token,Et=(0,h.useMemo)(function(){return Z&&Z.length>0?Z==null?void 0:Z.map(function(Se,Ue){return(0,u.jsx)("img",{src:Se.src,style:(0,s.Z)({position:"absolute"},Se)},Ue)}):null},[Z]);return fo((0,u.jsx)(pt.X.Provider,{value:(0,s.Z)((0,s.Z)({},qe),{},{breadcrumb:co,menuData:cn,isMobile:ke,collapsed:vn,hasPageContainer:wt,setHasPageContainer:xo,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!In,hasHeader:!!zn,siderWidth:ho,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:po,pageTitleInfo:Wn,matchMenus:dn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,u.jsx)(u.Fragment,{children:$}):(0,u.jsxs)("div",{className:mo,children:[Et||(a=G.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:k()("".concat(_e,"-bg-list"),Kn),children:Et}):null,(0,u.jsxs)(Ve.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:In?"row":void 0},X),children:[(0,u.jsx)(He.ZP,{theme:{hashed:(0,ne.nu)(),token:{controlHeightLG:((i=G.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(G==null?void 0:G.controlHeightLG)},components:{Menu:j({colorItemBg:((o=G.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((c=G.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:G.borderRadius,colorItemBgSelected:((d=G.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(G==null?void 0:G.colorBgTextHover),colorItemBgHover:((v=G.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorBgMenuItemHover)||(G==null?void 0:G.colorBgTextHover),colorItemBgActive:((f=G.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(G==null?void 0:G.colorBgTextActive),colorItemBgSelectedHorizontal:((C=G.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorBgMenuItemSelected)||(G==null?void 0:G.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((x=G.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenu)||(G==null?void 0:G.colorTextSecondary),colorItemTextHover:((M=G.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((E=G.layout)===null||E===void 0||(E=E.sider)===null||E===void 0?void 0:E.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:G==null?void 0:G.colorBgElevated,subMenuItemBg:G==null?void 0:G.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:G==null?void 0:G.colorBgElevated})}},children:In}),(0,u.jsxs)("div",{style:Tt,className:"".concat(_e,"-container ").concat(Kn).trim(),children:[zn,(0,u.jsx)(yr,(0,s.Z)((0,s.Z)({hasPageContainer:wt,isChildrenLayout:Fn},io),{},{hasHeader:!!zn,prefixCls:_e,style:L,children:re?(0,u.jsx)(Za.S,{}):$})),It,Pt&&(0,u.jsx)("div",{className:"".concat(_e,"-has-footer"),style:{height:64,marginBlockStart:(B=G.layout)===null||B===void 0||(B=B.pageContainer)===null||B===void 0?void 0:B.paddingBlockPageContainerContent}})]})]})]})}))},ro=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(He.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,u.jsx)(ne._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(to,(0,s.Z)((0,s.Z)({logo:(0,u.jsx)(xr,{})},at.h),{},{location:(0,K.j)()?window.location:void 0},e))}))})}},90743:function(Ee,Ze){var y;function l(m){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},l(m)}y={value:!0},Ze.Bo=y=y=y=y=y=y=void 0;function fe(m){for(var S=[],b=0;b=48&&w<=57||w>=65&&w<=90||w>=97&&w<=122||w===95){q+=m[O++];continue}break}if(!q)throw new TypeError("Missing parameter name at "+b);S.push({type:"NAME",index:b,value:q}),b=O;continue}if(j==="("){var _=1,Q="",O=b+1;if(m[O]==="?")throw new TypeError('Pattern cannot start with "?" at '+O);for(;O-1:Me===void 0;q||(oe+="(?:"+de+"(?="+U+"))?"),$e||(oe+="(?="+de+"|"+U+")")}return new RegExp(oe,h(b))}y=A;function K(m,S,b){return m instanceof RegExp?ue(m,S):Array.isArray(m)?ye(m,S,b):Le(m,S,b)}Ze.Bo=K},78164:function(Ee,Ze,y){"use strict";y.d(Ze,{S:function(){return ue}});var l=y(15671),fe=y(43144),pe=y(97326),me=y(60136),V=y(29388),s=y(4942),ne=y(29905),le=y(67294),h=y(85893),ue=function(ye){(0,me.Z)(A,ye);var Le=(0,V.Z)(A);function A(){var K;(0,l.Z)(this,A);for(var m=arguments.length,S=new Array(m),b=0;b-1&&(U=j[xe],j=j.slice(0,xe))}j&&(m.push(j),j="",w=!1);var Pe=U!==""&&de!==void 0&&de!==U,Oe=D==="+"||D==="*",Me=D==="?"||D==="*",$e=U||q,De=z||te;m.push({name:oe||S++,prefix:U,delimiter:$e,optional:Me,repeat:Oe,partial:Pe,pattern:De?s(De):"[^"+V($e)+"]+?"})}return(j||b-1;else{var U=F.repeat?"(?:"+F.pattern+")(?:"+V(F.delimiter)+"(?:"+F.pattern+"))*":F.pattern;K&&K.push(F),F.optional?F.partial?_+=V(F.prefix)+"("+U+")?":_+="(?:"+V(F.prefix)+"("+U+"))?":_+=V(F.prefix)+"("+U+")"}}return j?(S||(_+="(?:"+q+")?"),_+=w==="$"?"$":"(?="+w+")"):(S||(_+="(?:"+q+"(?="+w+"))?"),Q||(_+="(?="+q+"|"+w+")")),new RegExp(_,ne(m))}function Le(A,K,m){return A instanceof RegExp?le(A,K):Array.isArray(A)?h(A,K,m):ue(A,K,m)}}}]); diff --git a/statics/5557.755cbfa9.async.js b/statics/5557.755cbfa9.async.js deleted file mode 100644 index b07a10ff..00000000 --- a/statics/5557.755cbfa9.async.js +++ /dev/null @@ -1,61 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5557],{82679:function(ce,z,Q){ce=Q.nmd(ce),ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/lib/dom","ace/editor"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./lib/event_emitter").EventEmitter,d=_("./lib/lang"),o=_("./range").Range,l=_("./range_list").RangeList,t=_("./keyboard/hash_handler").HashHandler,e=_("./tokenizer").Tokenizer,i=_("./clipboard"),n={CURRENT_WORD:function(g){return g.session.getTextRange(g.session.getWordRange())},SELECTION:function(g,h,m){var u=g.session.getTextRange();return m?u.replace(/\n\r?([ \t]*\S)/g,` -`+m+"$1"):u},CURRENT_LINE:function(g){return g.session.getLine(g.getCursorPosition().row)},PREV_LINE:function(g){return g.session.getLine(g.getCursorPosition().row-1)},LINE_INDEX:function(g){return g.getCursorPosition().row},LINE_NUMBER:function(g){return g.getCursorPosition().row+1},SOFT_TABS:function(g){return g.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(g){return g.session.getTabSize()},CLIPBOARD:function(g){return i.getText&&i.getText()},FILENAME:function(g){return/[^/\\]*$/.exec(this.FILEPATH(g))[0]},FILENAME_BASE:function(g){return/[^/\\]*$/.exec(this.FILEPATH(g))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(g){return this.FILEPATH(g).replace(/[^/\\]*$/,"")},FILEPATH:function(g){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(g){var h=g.session.$mode||{};return h.blockComment&&h.blockComment.start||""},BLOCK_COMMENT_END:function(g){var h=g.session.$mode||{};return h.blockComment&&h.blockComment.end||""},LINE_COMMENT:function(g){var h=g.session.$mode||{};return h.lineCommentStart||""},CURRENT_YEAR:r.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:r.bind(null,{year:"2-digit"}),CURRENT_MONTH:r.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:r.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:r.bind(null,{month:"short"}),CURRENT_DATE:r.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:r.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:r.bind(null,{weekday:"short"}),CURRENT_HOUR:r.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:r.bind(null,{minute:"2-digit"}),CURRENT_SECOND:r.bind(null,{second:"2-digit"})};n.SELECTED_TEXT=n.SELECTION;function r(g){var h=new Date().toLocaleString("en-us",g);return h.length==1?"0"+h:h}var s=function(){this.snippetMap={},this.snippetNameMap={}};(function(){b.implement(this,S),this.getTokenizer=function(){return s.$tokenizer||this.createTokenizer()},this.createTokenizer=function(){function g(u){return u=u.substr(1),/^\d+$/.test(u)?[{tabstopId:parseInt(u,10)}]:[{text:u}]}function h(u){return"(?:[^\\\\"+u+"]|\\\\.)"}var m={regex:"/("+h("/")+"+)/",onMatch:function(u,c,p){var a=p[0];return a.fmtString=!0,a.guard=u.slice(1,-1),a.flag="",""},next:"formatString"};return s.$tokenizer=new e({start:[{regex:/\\./,onMatch:function(u,c,p){var a=u[1];return(a=="}"&&p.length||"`$\\".indexOf(a)!=-1)&&(u=a),[u]}},{regex:/}/,onMatch:function(u,c,p){return[p.length?p.shift():u]}},{regex:/\$(?:\d+|\w+)/,onMatch:g},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(u,c,p){var a=g(u.substr(1));return p.unshift(a[0]),a},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+h("\\|")+"*\\|",onMatch:function(u,c,p){var a=u.slice(1,-1).replace(/\\[,|\\]|,/g,function(w){return w.length==2?w[1]:"\0"}).split("\0").map(function(w){return{value:w}});return p[0].choices=a,[a[0]]},next:"start"},m,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(u,c,p){return p.length&&p[0].expectElse?(p[0].expectElse=!1,p[0].ifEnd={elseEnd:p[0]},[p[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(u,c,p){var a=u[1];return a=="}"&&p.length||"`$\\".indexOf(a)!=-1?u=a:a=="n"?u=` -`:a=="t"?u=" ":"ulULE".indexOf(a)!=-1&&(u={changeCase:a,local:a>"a"}),[u]}},{regex:"/\\w*}",onMatch:function(u,c,p){var a=p.shift();return a&&(a.flag=u.slice(1,-1)),this.next=a&&a.tabstopId?"start":"",[a||u]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(u,c,p){return[{text:u.slice(1)}]}},{regex:/\${\w+/,onMatch:function(u,c,p){var a={text:u.slice(2)};return p.unshift(a),[a]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(u,c,p){var a=p.shift();return this.next=a&&a.tabstopId?"start":"",[a||u]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(u,c,p){var a=p[0];return a.formatFunction=u.slice(2,-1),[p.shift()]},next:"formatString"},m,{regex:/:[\?\-+]?/,onMatch:function(u,c,p){u[1]=="+"&&(p[0].ifEnd=p[0]),u[1]=="?"&&(p[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),s.$tokenizer},this.tokenizeTmSnippet=function(g,h){return this.getTokenizer().getLineTokens(g,h).tokens.map(function(m){return m.value||m})},this.getVariableValue=function(g,h,m){if(/^\d+$/.test(h))return(this.variables.__||{})[h]||"";if(/^[A-Z]\d+$/.test(h))return(this.variables[h[0]+"__"]||{})[h.substr(1)]||"";if(h=h.replace(/^TM_/,""),!this.variables.hasOwnProperty(h))return"";var u=this.variables[h];return typeof u=="function"&&(u=this.variables[h](g,h,m)),u==null?"":u},this.variables=n,this.tmStrFormat=function(g,h,m){if(!h.fmt)return g;var u=h.flag||"",c=h.guard;c=new RegExp(c,u.replace(/[^gim]/g,""));var p=typeof h.fmt=="string"?this.tokenizeTmSnippet(h.fmt,"formatString"):h.fmt,a=this,w=g.replace(c,function(){var y=a.variables.__;a.variables.__=[].slice.call(arguments);for(var L=a.resolveVariables(p,m),E="E",M=0;M1?(O=ie[ie.length-1].length,P+=ie.length-1):O+=j.length,N+=j}else j&&(j.start?j.end={row:P,column:O}:j.start={row:P,column:O})});var B=g.getSelectionRange(),G=g.session.replace(B,N),H=new f(g),te=g.inVirtualSelectionMode&&g.selection.index;H.addTabstops(w,B.start,G,te)},this.insertSnippet=function(g,h){var m=this;if(g.inVirtualSelectionMode)return m.insertSnippetForSelection(g,h);g.forEachSelection(function(){m.insertSnippetForSelection(g,h)},null,{keepOrder:!0}),g.tabstopManager&&g.tabstopManager.tabNext()},this.$getScope=function(g){var h=g.session.$mode.$id||"";if(h=h.split("/").pop(),h==="html"||h==="php"){h==="php"&&!g.session.$mode.inlinePhp&&(h="html");var m=g.getCursorPosition(),u=g.session.getState(m.row);typeof u=="object"&&(u=u[0]),u.substring&&(u.substring(0,3)=="js-"?h="javascript":u.substring(0,4)=="css-"?h="css":u.substring(0,4)=="php-"&&(h="php"))}return h},this.getActiveScopes=function(g){var h=this.$getScope(g),m=[h],u=this.snippetMap;return u[h]&&u[h].includeScopes&&m.push.apply(m,u[h].includeScopes),m.push("_"),m},this.expandWithTab=function(g,h){var m=this,u=g.forEachSelection(function(){return m.expandSnippetForSelection(g,h)},null,{keepOrder:!0});return u&&g.tabstopManager&&g.tabstopManager.tabNext(),u},this.expandSnippetForSelection=function(g,h){var m=g.getCursorPosition(),u=g.session.getLine(m.row),c=u.substring(0,m.column),p=u.substr(m.column),a=this.snippetMap,w;return this.getActiveScopes(g).some(function(y){var L=a[y];return L&&(w=this.findMatchingSnippet(L,c,p)),!!w},this),w?(h&&h.dryRun||(g.session.doc.removeInLine(m.row,m.column-w.replaceBefore.length,m.column+w.replaceAfter.length),this.variables.M__=w.matchBefore,this.variables.T__=w.matchAfter,this.insertSnippetForSelection(g,w.content),this.variables.M__=this.variables.T__=null),!0):!1},this.findMatchingSnippet=function(g,h,m){for(var u=g.length;u--;){var c=g[u];if(!(c.startRe&&!c.startRe.test(h))&&!(c.endRe&&!c.endRe.test(m))&&!(!c.startRe&&!c.endRe))return c.matchBefore=c.startRe?c.startRe.exec(h):[""],c.matchAfter=c.endRe?c.endRe.exec(m):[""],c.replaceBefore=c.triggerRe?c.triggerRe.exec(h)[0]:"",c.replaceAfter=c.endTriggerRe?c.endTriggerRe.exec(m)[0]:"",c}},this.snippetMap={},this.snippetNameMap={},this.register=function(g,h){var m=this.snippetMap,u=this.snippetNameMap,c=this;g||(g=[]);function p(y){return y&&!/^\^?\(.*\)\$?$|^\\b$/.test(y)&&(y="(?:"+y+")"),y||""}function a(y,L,E){return y=p(y),L=p(L),E?(y=L+y,y&&y[y.length-1]!="$"&&(y=y+"$")):(y=y+L,y&&y[0]!="^"&&(y="^"+y)),new RegExp(y)}function w(y){y.scope||(y.scope=h||"_"),h=y.scope,m[h]||(m[h]=[],u[h]={});var L=u[h];if(y.name){var E=L[y.name];E&&c.unregister(E),L[y.name]=y}m[h].push(y),y.prefix&&(y.tabTrigger=y.prefix),!y.content&&y.body&&(y.content=Array.isArray(y.body)?y.body.join(` -`):y.body),y.tabTrigger&&!y.trigger&&(!y.guard&&/^\w/.test(y.tabTrigger)&&(y.guard="\\b"),y.trigger=d.escapeRegExp(y.tabTrigger)),!(!y.trigger&&!y.guard&&!y.endTrigger&&!y.endGuard)&&(y.startRe=a(y.trigger,y.guard,!0),y.triggerRe=new RegExp(y.trigger),y.endRe=a(y.endTrigger,y.endGuard,!0),y.endTriggerRe=new RegExp(y.endTrigger))}Array.isArray(g)?g.forEach(w):Object.keys(g).forEach(function(y){w(g[y])}),this._signal("registerSnippets",{scope:h})},this.unregister=function(g,h){var m=this.snippetMap,u=this.snippetNameMap;function c(p){var a=u[p.scope||h];if(a&&a[p.name]){delete a[p.name];var w=m[p.scope||h],y=w&&w.indexOf(p);y>=0&&w.splice(y,1)}}g.content?c(g):Array.isArray(g)&&g.forEach(c)},this.parseSnippetFile=function(g){g=g.replace(/\r/g,"");for(var h=[],m={},u=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm,c;c=u.exec(g);){if(c[1])try{m=JSON.parse(c[1]),h.push(m)}catch(y){}if(c[4])m.content=c[4].replace(/^\t/gm,""),h.push(m),m={};else{var p=c[2],a=c[3];if(p=="regex"){var w=/\/((?:[^\/\\]|\\.)*)|$/g;m.guard=w.exec(a)[1],m.trigger=w.exec(a)[1],m.endTrigger=w.exec(a)[1],m.endGuard=w.exec(a)[1]}else p=="snippet"?(m.tabTrigger=a.match(/^\S*/)[0],m.name||(m.name=a)):p&&(m[p]=a)}}return h},this.getSnippetByName=function(g,h){var m=this.snippetNameMap,u;return this.getActiveScopes(h).some(function(c){var p=m[c];return p&&(u=p[g]),!!u},this),u}}).call(s.prototype);var f=function(g){if(g.tabstopManager)return g.tabstopManager;g.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=d.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(g)};(function(){this.attach=function(g){this.index=0,this.ranges=[],this.tabstops=[],this.$openTabstops=null,this.selectedTabstop=null,this.editor=g,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},this.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges=null,this.tabstops=null,this.selectedTabstop=null,this.editor.removeListener("change",this.$onChange),this.editor.removeListener("changeSelection",this.$onChangeSelection),this.editor.removeListener("changeSession",this.$onChangeSession),this.editor.commands.removeListener("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.editor=null},this.onChange=function(g){for(var h=g.action[0]=="r",m=this.selectedTabstop||{},u=m.parents||{},c=(this.tabstops||[]).slice(),p=0;p2&&(this.tabstops.length&&a.push(a.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,a))},this.addTabstopMarkers=function(g){var h=this.editor.session;g.forEach(function(m){m.markerId||(m.markerId=h.addMarker(m,"ace_snippet-marker","text"))})},this.removeTabstopMarkers=function(g){var h=this.editor.session;g.forEach(function(m){h.removeMarker(m.markerId),m.markerId=null})},this.removeRange=function(g){var h=g.tabstop.indexOf(g);h!=-1&&g.tabstop.splice(h,1),h=this.ranges.indexOf(g),h!=-1&&this.ranges.splice(h,1),h=g.tabstop.rangeList.ranges.indexOf(g),h!=-1&&g.tabstop.splice(h,1),this.editor.session.removeMarker(g.markerId),g.tabstop.length||(h=this.tabstops.indexOf(g.tabstop),h!=-1&&this.tabstops.splice(h,1),this.tabstops.length||this.detach())},this.keyboardHandler=new t,this.keyboardHandler.bindKeys({Tab:function(g){A.snippetManager&&A.snippetManager.expandWithTab(g)||(g.tabstopManager.tabNext(1),g.renderer.scrollCursorIntoView())},"Shift-Tab":function(g){g.tabstopManager.tabNext(-1),g.renderer.scrollCursorIntoView()},Esc:function(g){g.tabstopManager.detach()}})}).call(f.prototype);var v=function(g,h){g.row==0&&(g.column+=h.column),g.row+=h.row},$=function(g,h){g.row==h.row&&(g.column-=h.column),g.row-=h.row};_("./lib/dom").importCssString(".ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute;}"),A.snippetManager=new s;var C=_("./editor").Editor;(function(){this.insertSnippet=function(g,h){return A.snippetManager.insertSnippet(this,g,h)},this.expandSnippet=function(g){return A.snippetManager.expandWithTab(this,g)}}).call(C.prototype)}),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom"],function(_,A,k){"use strict";var b=_("../virtual_renderer").VirtualRenderer,S=_("../editor").Editor,d=_("../range").Range,o=_("../lib/event"),l=_("../lib/lang"),t=_("../lib/dom"),e=function(n){var r=new b(n);r.$maxLines=4;var s=new S(r);return s.setHighlightActiveLine(!1),s.setShowPrintMargin(!1),s.renderer.setShowGutter(!1),s.renderer.setHighlightGutterLine(!1),s.$mouseHandler.$focusTimeout=0,s.$highlightTagPending=!0,s},i=function(n){var r=t.createElement("div"),s=new e(r);n&&n.appendChild(r),r.style.display="none",s.renderer.content.style.cursor="default",s.renderer.setStyle("ace_autocomplete"),s.setOption("displayIndentGuides",!1),s.setOption("dragDelay",150);var f=function(){};s.focus=f,s.$isFocused=!0,s.renderer.$cursorLayer.restartTimer=f,s.renderer.$cursorLayer.element.style.opacity=0,s.renderer.$maxLines=8,s.renderer.$keepTextAreaAtCursor=!1,s.setHighlightActiveLine(!1),s.session.highlight(""),s.session.$searchHighlight.clazz="ace_highlight-marker",s.on("mousedown",function(u){var c=u.getDocumentPosition();s.selection.moveToPosition(c),C.start.row=C.end.row=c.row,u.stop()});var v,$=new d(-1,0,-1,1/0),C=new d(-1,0,-1,1/0);C.id=s.session.addMarker(C,"ace_active-line","fullLine"),s.setSelectOnHover=function(u){u?$.id&&(s.session.removeMarker($.id),$.id=null):$.id=s.session.addMarker($,"ace_line-hover","fullLine")},s.setSelectOnHover(!1),s.on("mousemove",function(u){if(!v){v=u;return}if(!(v.x==u.x&&v.y==u.y)){v=u,v.scrollTop=s.renderer.scrollTop;var c=v.getDocumentPosition().row;$.start.row!=c&&($.id||s.setRow(c),h(c))}}),s.renderer.on("beforeRender",function(){if(v&&$.start.row!=-1){v.$pos=null;var u=v.getDocumentPosition().row;$.id||s.setRow(u),h(u,!0)}}),s.renderer.on("afterRender",function(){var u=s.getRow(),c=s.renderer.$textLayer,p=c.element.childNodes[u-c.config.firstRow];p!==c.selectedNode&&c.selectedNode&&t.removeCssClass(c.selectedNode,"ace_selected"),c.selectedNode=p,p&&t.addCssClass(p,"ace_selected")});var g=function(){h(-1)},h=function(u,c){u!==$.start.row&&($.start.row=$.end.row=u,c||s.session._emit("changeBackMarker"),s._emit("changeHoverMarker"))};s.getHoveredRow=function(){return $.start.row},o.addListener(s.container,"mouseout",g),s.on("hide",g),s.on("changeSelection",g),s.session.doc.getLength=function(){return s.data.length},s.session.doc.getLine=function(u){var c=s.data[u];return typeof c=="string"?c:c&&c.value||""};var m=s.session.bgTokenizer;return m.$tokenizeRow=function(u){var c=s.data[u],p=[];if(!c)return p;typeof c=="string"&&(c={value:c});var a=c.caption||c.value||c.name;function w(I,P){I&&p.push({type:(c.className||"")+(P||""),value:I})}for(var y=a.toLowerCase(),L=(s.filterText||"").toLowerCase(),E=0,M=0,R=0;R<=L.length;R++)if(R!=M&&(c.matchMask&1<w/2&&!p;R&&M+c+E>w?(L.$maxPixelHeight=M-2*this.$borderSize,a.style.top="",a.style.bottom=w-M+"px",s.isTopdown=!1):(M+=c,L.$maxPixelHeight=w-M-.2*c,a.style.top=M+"px",a.style.bottom="",s.isTopdown=!0),a.style.display="";var x=u.left;x+a.offsetWidth>y&&(x=y-a.offsetWidth),a.style.left=x+"px",this._signal("show"),v=null,s.isOpen=!0},s.goTo=function(u){var c=this.getRow(),p=this.session.getLength()-1;switch(u){case"up":c=c<=0?p:c-1;break;case"down":c=c>=p?-1:c+1;break;case"start":c=0;break;case"end":c=p;break}this.setRow(c)},s.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},s.$imageSize=0,s.$borderSize=1,s};t.importCssString(".ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1;}.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #3a674e;}.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4); position: absolute; z-index: 2;}.ace_dark.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid rgba(109, 150, 13, 0.8); background: rgba(58, 103, 78, 0.62);}.ace_completion-meta { opacity: 0.5; margin: 0.9em;}.ace_completion-message { color: blue;}.ace_editor.ace_autocomplete .ace_completion-highlight{ color: #2d69c7;}.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{ color: #93ca12;}.ace_editor.ace_autocomplete { width: 300px; z-index: 200000; border: 1px lightgray solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4; background: #fefefe; color: #111;}.ace_dark.ace_editor.ace_autocomplete { border: 1px #484747 solid; box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51); line-height: 1.4; background: #25282c; color: #c1c1c1;}","autocompletion.css"),A.AcePopup=i,A.$singleLineEditor=e}),ace.define("ace/autocomplete/util",["require","exports","module"],function(_,A,k){"use strict";A.parForEach=function(S,d,o){var l=0,t=S.length;t===0&&o();for(var e=0;e=0&&o.test(S[t]);t--)l.push(S[t]);return l.reverse().join("")},A.retrieveFollowingIdentifier=function(S,d,o){o=o||b;for(var l=[],t=d;tthis.filterText&&r.lastIndexOf(this.filterText,0)===0)var s=this.filtered;else var s=this.all;this.filterText=r,s=this.filterCompletions(s,this.filterText),s=s.sort(function(v,$){return $.exactMatch-v.exactMatch||$.$score-v.$score||(v.caption||v.value).localeCompare($.caption||$.value)});var f=null;s=s.filter(function(v){var $=v.snippet||v.caption||v.value;return $===f?!1:(f=$,!0)}),this.filtered=s},this.filterCompletions=function(r,s){var f=[],v=s.toUpperCase(),$=s.toLowerCase();e:for(var C=0,g;g=r[C];C++){var h=g.caption||g.value||g.snippet;if(!!h){var m=-1,u=0,c=0,p,a;if(this.exactMatch){if(s!==h.substr(0,s.length))continue e}else{var w=h.toLowerCase().indexOf($);if(w>-1)c=w;else for(var y=0;y=0&&(E<0||L0&&(m===-1&&(c+=10),c+=a,u=u|1<",o.escapeHTML(g.caption),"","
    ",o.escapeHTML(g.snippet)].join(""))}},n=[i,t,e];A.setCompleters=function(g){n.length=0,g&&n.push.apply(n,g)},A.addCompleter=function(g){n.push(g)},A.textCompleter=t,A.keyWordCompleter=e,A.snippetCompleter=i;var r={name:"expandSnippet",exec:function(g){return b.expandWithTab(g)},bindKey:"Tab"},s=function(g,h){f(h.session.$mode)},f=function(g){typeof g=="string"&&(g=d.$modes[g]),g&&(b.files||(b.files={}),v(g.$id,g.snippetFileId),g.modes&&g.modes.forEach(f))},v=function(g,h){!h||!g||b.files[g]||(b.files[g]={},d.loadModule(h,function(m){!m||(b.files[g]=m,!m.snippets&&m.snippetText&&(m.snippets=b.parseSnippetFile(m.snippetText)),b.register(m.snippets||[],m.scope),m.includeScopes&&(b.snippetMap[m.scope].includeScopes=m.includeScopes,m.includeScopes.forEach(function(u){f("ace/mode/"+u)})))}))},$=function(g){var h=g.editor,m=h.completer&&h.completer.activated;if(g.command.name==="backspace")m&&!l.getCompletionPrefix(h)&&h.completer.detach();else if(g.command.name==="insertstring"){var u=l.getCompletionPrefix(h);if(u&&!m){var c=S.for(h);c.autoInsert=!1,c.showPopup(h)}}},C=_("../editor").Editor;_("../config").defineOptions(C.prototype,"editor",{enableBasicAutocompletion:{set:function(g){g?(this.completers||(this.completers=Array.isArray(g)?g:n),this.commands.addCommand(S.startCommand)):this.commands.removeCommand(S.startCommand)},value:!1},enableLiveAutocompletion:{set:function(g){g?(this.completers||(this.completers=Array.isArray(g)?g:n),this.commands.on("afterExec",$)):this.commands.removeListener("afterExec",$)},value:!1},enableSnippets:{set:function(g){g?(this.commands.addCommand(r),this.on("changeMode",s),s(null,this)):(this.commands.removeCommand(r),this.off("changeMode",s))},value:!1}})}),function(){ace.require(["ace/ext/language_tools"],function(_){ce&&(ce.exports=_)})}()},90252:function(ce,z,Q){ce=Q.nmd(ce),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(_,A,k){"use strict";var b=_("../lib/oop"),S=_("./text_highlight_rules").TextHighlightRules,d=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};b.inherits(d,S),A.JsonHighlightRules=d}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(_,A,k){"use strict";var b=_("../range").Range,S=function(){};(function(){this.checkOutdent=function(d,o){return/^\s+$/.test(d)?/^\s*\}/.test(o):!1},this.autoOutdent=function(d,o){var l=d.getLine(o),t=l.match(/^(\s*\})/);if(!t)return 0;var e=t[1].length,i=d.findMatchingBracket({row:o,column:e});if(!i||i.row==o)return 0;var n=this.$getIndent(d.getLine(i.row));d.replace(new b(o,0,o,e-1),n)},this.$getIndent=function(d){return d.match(/^\s*/)[0]}}).call(S.prototype),A.MatchingBraceOutdent=S}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(_,A,k){"use strict";var b=_("../../lib/oop"),S=_("../../range").Range,d=_("./fold_mode").FoldMode,o=A.FoldMode=function(l){l&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+l.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+l.end)))};b.inherits(o,d),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(l,t,e){var i=l.getLine(e);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var n=this._getFoldWidgetBase(l,t,e);return!n&&this.startRegionRe.test(i)?"start":n},this.getFoldWidgetRange=function(l,t,e,i){var n=l.getLine(e);if(this.startRegionRe.test(n))return this.getCommentRegionBlock(l,n,e);var f=n.match(this.foldingStartMarker);if(f){var r=f.index;if(f[1])return this.openingBracketBlock(l,f[1],e,r);var s=l.getCommentFoldRange(e,r+f[0].length,1);return s&&!s.isMultiLine()&&(i?s=this.getSectionRange(l,e):t!="all"&&(s=null)),s}if(t!=="markbegin"){var f=n.match(this.foldingStopMarker);if(f){var r=f.index+f[0].length;return f[1]?this.closingBracketBlock(l,f[1],e,r):l.getCommentFoldRange(e,r,-1)}}},this.getSectionRange=function(l,t){var e=l.getLine(t),i=e.search(/\S/),n=t,r=e.length;t=t+1;for(var s=t,f=l.getLength();++tv)break;var $=this.getFoldWidgetRange(l,"all",t);if($){if($.start.row<=n)break;if($.isMultiLine())t=$.end.row;else if(i==v)break}s=t}}return new S(n,r,s,l.getLine(s).length)},this.getCommentRegionBlock=function(l,t,e){for(var i=t.search(/\s*$/),n=l.getLength(),r=e,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,f=1;++er)return new S(r,i,$,t.length)}}.call(o.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(_,A,k){"use strict";var b=_("../lib/oop"),S=_("./text").Mode,d=_("./json_highlight_rules").JsonHighlightRules,o=_("./matching_brace_outdent").MatchingBraceOutdent,l=_("./behaviour/cstyle").CstyleBehaviour,t=_("./folding/cstyle").FoldMode,e=_("../worker/worker_client").WorkerClient,i=function(){this.HighlightRules=d,this.$outdent=new o,this.$behaviour=new l,this.foldingRules=new t};b.inherits(i,S),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(n,r,s){var f=this.$getIndent(r);if(n=="start"){var v=r.match(/^.*[\{\(\[]\s*$/);v&&(f+=s)}return f},this.checkOutdent=function(n,r,s){return this.$outdent.checkOutdent(r,s)},this.autoOutdent=function(n,r,s){this.$outdent.autoOutdent(r,s)},this.createWorker=function(n){var r=new e(["ace"],"ace/mode/json_worker","JsonWorker");return r.attachToDocument(n.getDocument()),r.on("annotate",function(s){n.setAnnotations(s.data)}),r.on("terminate",function(){n.clearAnnotations()}),r},this.$id="ace/mode/json"}.call(i.prototype),A.Mode=i}),function(){ace.require(["ace/mode/json"],function(_){ce&&(ce.exports=_)})}()},52027:function(ce){var z=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},Q=-1,_=1,A=0;z.Diff=function(k,b){return[k,b]},z.prototype.diff_main=function(k,b,S,d){typeof d=="undefined"&&(this.Diff_Timeout<=0?d=Number.MAX_VALUE:d=new Date().getTime()+this.Diff_Timeout*1e3);var o=d;if(k==null||b==null)throw new Error("Null input. (diff_main)");if(k==b)return k?[new z.Diff(A,k)]:[];typeof S=="undefined"&&(S=!0);var l=S,t=this.diff_commonPrefix(k,b),e=k.substring(0,t);k=k.substring(t),b=b.substring(t),t=this.diff_commonSuffix(k,b);var i=k.substring(k.length-t);k=k.substring(0,k.length-t),b=b.substring(0,b.length-t);var n=this.diff_compute_(k,b,l,o);return e&&n.unshift(new z.Diff(A,e)),i&&n.push(new z.Diff(A,i)),this.diff_cleanupMerge(n),n},z.prototype.diff_compute_=function(k,b,S,d){var o;if(!k)return[new z.Diff(_,b)];if(!b)return[new z.Diff(Q,k)];var l=k.length>b.length?k:b,t=k.length>b.length?b:k,e=l.indexOf(t);if(e!=-1)return o=[new z.Diff(_,l.substring(0,e)),new z.Diff(A,t),new z.Diff(_,l.substring(e+t.length))],k.length>b.length&&(o[0][0]=o[2][0]=Q),o;if(t.length==1)return[new z.Diff(Q,k),new z.Diff(_,b)];var i=this.diff_halfMatch_(k,b);if(i){var n=i[0],r=i[1],s=i[2],f=i[3],v=i[4],$=this.diff_main(n,s,S,d),C=this.diff_main(r,f,S,d);return $.concat([new z.Diff(A,v)],C)}return S&&k.length>100&&b.length>100?this.diff_lineMode_(k,b,d):this.diff_bisect_(k,b,d)},z.prototype.diff_lineMode_=function(k,b,S){var d=this.diff_linesToChars_(k,b);k=d.chars1,b=d.chars2;var o=d.lineArray,l=this.diff_main(k,b,!1,S);this.diff_charsToLines_(l,o),this.diff_cleanupSemantic(l),l.push(new z.Diff(A,""));for(var t=0,e=0,i=0,n="",r="";t=1&&i>=1){l.splice(t-e-i,e+i),t=t-e-i;for(var s=this.diff_main(n,r,!1,S),f=s.length-1;f>=0;f--)l.splice(t,0,s[f]);t=t+s.length}i=0,e=0,n="",r="";break}t++}return l.pop(),l},z.prototype.diff_bisect_=function(k,b,S){for(var d=k.length,o=b.length,l=Math.ceil((d+o)/2),t=l,e=2*l,i=new Array(e),n=new Array(e),r=0;rS);h++){for(var m=-h+v;m<=h-$;m+=2){var u=t+m,c;m==-h||m!=h&&i[u-1]d)$+=2;else if(p>o)v+=2;else if(f){var a=t+s-m;if(a>=0&&a=w)return this.diff_bisectSplit_(k,b,c,p,S)}}}for(var y=-h+C;y<=h-g;y+=2){var a=t+y,w;y==-h||y!=h&&n[a-1]d)g+=2;else if(L>o)C+=2;else if(!f){var u=t+s-y;if(u>=0&&u=w)return this.diff_bisectSplit_(k,b,c,p,S)}}}}return[new z.Diff(Q,k),new z.Diff(_,b)]},z.prototype.diff_bisectSplit_=function(k,b,S,d,o){var l=k.substring(0,S),t=b.substring(0,d),e=k.substring(S),i=b.substring(d),n=this.diff_main(l,t,!1,o),r=this.diff_main(e,i,!1,o);return n.concat(r)},z.prototype.diff_linesToChars_=function(k,b){var S=[],d={};S[0]="";function o(i){for(var n="",r=0,s=-1,f=S.length;sd?k=k.substring(S-d):Sb.length?k:b,d=k.length>b.length?b:k;if(S.length<4||d.length*2=$.length?[c,p,a,w,u]:null}var t=l(S,d,Math.ceil(S.length/4)),e=l(S,d,Math.ceil(S.length/2)),i;if(!t&&!e)return null;e?t?i=t[4].length>e[4].length?t:e:i=e:i=t;var n,r,s,f;k.length>b.length?(n=i[0],r=i[1],s=i[2],f=i[3]):(s=i[0],f=i[1],n=i[2],r=i[3]);var v=i[4];return[n,r,s,f,v]},z.prototype.diff_cleanupSemantic=function(k){for(var b=!1,S=[],d=0,o=null,l=0,t=0,e=0,i=0,n=0;l0?S[d-1]:-1,t=0,e=0,i=0,n=0,o=null,b=!0)),l++;for(b&&this.diff_cleanupMerge(k),this.diff_cleanupSemanticLossless(k),l=1;l=v?(f>=r.length/2||f>=s.length/2)&&(k.splice(l,0,new z.Diff(A,s.substring(0,f))),k[l-1][1]=r.substring(0,r.length-f),k[l+1][1]=s.substring(f),l++):(v>=r.length/2||v>=s.length/2)&&(k.splice(l,0,new z.Diff(A,r.substring(0,v))),k[l-1][0]=_,k[l-1][1]=s.substring(0,s.length-v),k[l+1][0]=Q,k[l+1][1]=r.substring(v),l++),l++}l++}},z.prototype.diff_cleanupSemanticLossless=function(k){function b(v,$){if(!v||!$)return 6;var C=v.charAt(v.length-1),g=$.charAt(0),h=C.match(z.nonAlphaNumericRegex_),m=g.match(z.nonAlphaNumericRegex_),u=h&&C.match(z.whitespaceRegex_),c=m&&g.match(z.whitespaceRegex_),p=u&&C.match(z.linebreakRegex_),a=c&&g.match(z.linebreakRegex_),w=p&&v.match(z.blanklineEndRegex_),y=a&&$.match(z.blanklineStartRegex_);return w||y?5:p||a?4:h&&!u&&c?3:u||c?2:h||m?1:0}for(var S=1;S=s&&(s=f,i=d,n=o,r=l)}k[S-1][1]!=i&&(i?k[S-1][1]=i:(k.splice(S-1,1),S--),k[S][1]=n,r?k[S+1][1]=r:(k.splice(S+1,1),S--))}S++}},z.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,z.whitespaceRegex_=/\s/,z.linebreakRegex_=/[\r\n]/,z.blanklineEndRegex_=/\n\r?\n$/,z.blanklineStartRegex_=/^\r?\n\r?\n/,z.prototype.diff_cleanupEfficiency=function(k){for(var b=!1,S=[],d=0,o=null,l=0,t=!1,e=!1,i=!1,n=!1;l0?S[d-1]:-1,i=n=!1),b=!0)),l++;b&&this.diff_cleanupMerge(k)},z.prototype.diff_cleanupMerge=function(k){k.push(new z.Diff(A,""));for(var b=0,S=0,d=0,o="",l="",t;b1?(S!==0&&d!==0&&(t=this.diff_commonPrefix(l,o),t!==0&&(b-S-d>0&&k[b-S-d-1][0]==A?k[b-S-d-1][1]+=l.substring(0,t):(k.splice(0,0,new z.Diff(A,l.substring(0,t))),b++),l=l.substring(t),o=o.substring(t)),t=this.diff_commonSuffix(l,o),t!==0&&(k[b][1]=l.substring(l.length-t)+k[b][1],l=l.substring(0,l.length-t),o=o.substring(0,o.length-t))),b-=S+d,k.splice(b,S+d),o.length&&(k.splice(b,0,new z.Diff(Q,o)),b++),l.length&&(k.splice(b,0,new z.Diff(_,l)),b++),b++):b!==0&&k[b-1][0]==A?(k[b-1][1]+=k[b][1],k.splice(b,1)):b++,d=0,S=0,o="",l="";break}k[k.length-1][1]===""&&k.pop();var e=!1;for(b=1;bb));t++)o=S,l=d;return k.length!=t&&k[t][0]===Q?l:l+(b-o)},z.prototype.diff_prettyHtml=function(k){for(var b=[],S=/&/g,d=//g,l=/\n/g,t=0;t");switch(e){case _:b[t]=''+n+"";break;case Q:b[t]=''+n+"";break;case A:b[t]=""+n+"";break}}return b.join("")},z.prototype.diff_text1=function(k){for(var b=[],S=0;Sthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var d=this.match_alphabet_(b),o=this;function l(c,p){var a=c/b.length,w=Math.abs(S-p);return o.Match_Distance?a+w/o.Match_Distance:w?1:a}var t=this.Match_Threshold,e=k.indexOf(b,S);e!=-1&&(t=Math.min(l(0,e),t),e=k.lastIndexOf(b,S+b.length),e!=-1&&(t=Math.min(l(0,e),t)));var i=1<=$;h--){var m=d[k.charAt(h-1)];if(v===0?g[h]=(g[h+1]<<1|1)&m:g[h]=(g[h+1]<<1|1)&m|((f[h+1]|f[h])<<1|1)|f[h+1],g[h]&i){var u=l(v,h-1);if(u<=t)if(t=u,e=h-1,e>S)$=Math.max(1,2*S-e);else break}}if(l(v+1,S)>t)break;f=g}return e},z.prototype.match_alphabet_=function(k){for(var b={},S=0;S2&&(this.diff_cleanupSemantic(o),this.diff_cleanupEfficiency(o));else if(k&&typeof k=="object"&&typeof b=="undefined"&&typeof S=="undefined")o=k,d=this.diff_text1(o);else if(typeof k=="string"&&b&&typeof b=="object"&&typeof S=="undefined")d=k,o=b;else if(typeof k=="string"&&typeof b=="string"&&S&&typeof S=="object")d=k,o=S;else throw new Error("Unknown call format to patch_make.");if(o.length===0)return[];for(var l=[],t=new z.patch_obj,e=0,i=0,n=0,r=d,s=d,f=0;f=2*this.Patch_Margin&&e&&(this.patch_addContext_(t,r),l.push(t),t=new z.patch_obj,e=0,r=s,i=n);break}v!==_&&(i+=$.length),v!==Q&&(n+=$.length)}return e&&(this.patch_addContext_(t,r),l.push(t)),l},z.prototype.patch_deepCopy=function(k){for(var b=[],S=0;Sthis.Match_MaxBits?(i=this.match_main(b,e.substring(0,this.Match_MaxBits),t),i!=-1&&(n=this.match_main(b,e.substring(e.length-this.Match_MaxBits),t+e.length-this.Match_MaxBits),(n==-1||i>=n)&&(i=-1))):i=this.match_main(b,e,t),i==-1)o[l]=!1,d-=k[l].length2-k[l].length1;else{o[l]=!0,d=i-t;var r;if(n==-1?r=b.substring(i,i+e.length):r=b.substring(i,n+this.Match_MaxBits),e==r)b=b.substring(0,i)+this.diff_text2(k[l].diffs)+b.substring(i+e.length);else{var s=this.diff_main(e,r,!1);if(e.length>this.Match_MaxBits&&this.diff_levenshtein(s)/e.length>this.Patch_DeleteThreshold)o[l]=!1;else{this.diff_cleanupSemanticLossless(s);for(var f=0,v,$=0;$l[0][1].length){var t=b-l[0][1].length;l[0][1]=S.substring(l[0][1].length)+l[0][1],o.start1-=t,o.start2-=t,o.length1+=t,o.length2+=t}if(o=k[k.length-1],l=o.diffs,l.length==0||l[l.length-1][0]!=A)l.push(new z.Diff(A,S)),o.length1+=b,o.length2+=b;else if(b>l[l.length-1][1].length){var t=b-l[l.length-1][1].length;l[l.length-1][1]+=S.substring(0,t),o.length1+=t,o.length2+=t}return S},z.prototype.patch_splitMax=function(k){for(var b=this.Match_MaxBits,S=0;S2*b?(e.length1+=r.length,o+=r.length,i=!1,e.diffs.push(new z.Diff(n,r)),d.diffs.shift()):(r=r.substring(0,b-e.length1-this.Patch_Margin),e.length1+=r.length,o+=r.length,n===A?(e.length2+=r.length,l+=r.length):i=!1,e.diffs.push(new z.Diff(n,r)),r==d.diffs[0][1]?d.diffs.shift():d.diffs[0][1]=d.diffs[0][1].substring(r.length))}t=this.diff_text2(e.diffs),t=t.substring(t.length-this.Patch_Margin);var s=this.diff_text1(d.diffs).substring(0,this.Patch_Margin);s!==""&&(e.length1+=s.length,e.length2+=s.length,e.diffs.length!==0&&e.diffs[e.diffs.length-1][0]===A?e.diffs[e.diffs.length-1][1]+=s:e.diffs.push(new z.Diff(A,s))),i||k.splice(++S,0,e)}}},z.prototype.patch_toText=function(k){for(var b=[],S=0;S-1}function X(W,K){var re=this.__data__,we=de(re,W);return we<0?re.push([W,K]):re[we][1]=K,this}H.prototype.clear=te,H.prototype.delete=j,H.prototype.get=ie,H.prototype.has=ee,H.prototype.set=X;function q(W){var K=-1,re=W?W.length:0;for(this.clear();++K-1}function Bt(T,D){var V=this.__data__,Z=nt(V,T);return Z<0?(++this.size,V.push([T,D])):V[Z][1]=D,this}Pe.prototype.clear=Ft,Pe.prototype.delete=It,Pe.prototype.get=Dt,Pe.prototype.has=Pt,Pe.prototype.set=Bt;function Ue(T){var D=-1,V=T==null?0:T.length;for(this.clear();++DCe))return!1;var Se=le.get(T);if(Se&&le.get(D))return Se==D;var Me=-1,Fe=!0,ke=V&b?new it:void 0;for(le.set(T,D),le.set(D,T);++Me-1&&T%1==0&&T-1&&T%1==0&&T<=S}function St(T){var D=typeof T;return T!=null&&(D=="object"||D=="function")}function et(T){return T!=null&&typeof T=="object"}var $t=he?Re(he):ti;function pi(T){return di(T)?Jt(T):ii(T)}function mi(){return[]}function vi(){return!1}ce.exports=gi},93946:function(ce,z,Q){"use strict";var _=this&&this.__extends||function(){var e=function(i,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&(r[f]=s[f])},e(i,n)};return function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(i,n);function r(){this.constructor=i}i.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=this&&this.__assign||function(){return A=Object.assign||function(e){for(var i,n=1,r=arguments.length;n0&&this.handleMarkers(x);var O=this.editor.$options;o.editorOptions.forEach(function(N){O.hasOwnProperty(N)?n.editor.setOption(N,n.props[N]):n.props[N]&&console.warn("ReactAce: editor option "+N+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(M)&&M.forEach(function(N){typeof N.exec=="string"?n.editor.commands.bindKey(N.bindKey,N.exec):n.editor.commands.addCommand(N)}),L&&this.editor.setKeyboardHandler("ace/keyboard/"+L),s&&(this.refEditor.className+=" "+s),E&&E(this.editor),this.editor.resize(),C&&this.editor.focus()},i.prototype.componentDidUpdate=function(n){for(var r=n,s=this.props,f=0;f0&&s.handleMarkers(q,H);for(var j=0;j=0?parseFloat((d.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((d.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),A.isOldIE=A.isIE&&A.isIE<9,A.isGecko=A.isMozilla=d.match(/ Gecko\/\d+/),A.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",A.isWebKit=parseFloat(d.split("WebKit/")[1])||void 0,A.isChrome=parseFloat(d.split(" Chrome/")[1])||void 0,A.isEdge=parseFloat(d.split(" Edge/")[1])||void 0,A.isAIR=d.indexOf("AdobeAIR")>=0,A.isAndroid=d.indexOf("Android")>=0,A.isChromeOS=d.indexOf(" CrOS ")>=0,A.isIOS=/iPad|iPhone|iPod/.test(d)&&!window.MSStream,A.isIOS&&(A.isMac=!0),A.isMobile=A.isIOS||A.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("./useragent"),S="http://www.w3.org/1999/xhtml";A.buildDom=function i(n,r,s){if(typeof n=="string"&&n){var f=document.createTextNode(n);return r&&r.appendChild(f),f}if(!Array.isArray(n))return n&&n.appendChild&&r&&r.appendChild(n),n;if(typeof n[0]!="string"||!n[0]){for(var v=[],$=0;$=1.5:!0,b.isChromeOS&&(A.HI_DPI=!1),typeof document!="undefined"){var e=document.createElement("div");A.HI_DPI&&e.style.transform!==void 0&&(A.HAS_CSS_TRANSFORMS=!0),!b.isEdge&&typeof e.style.animationName!="undefined"&&(A.HAS_CSS_ANIMATION=!0),e=null}A.HAS_CSS_TRANSFORMS?A.translate=function(i,n,r){i.style.transform="translate("+Math.round(n)+"px, "+Math.round(r)+"px)"}:A.translate=function(i,n,r){i.style.top=Math.round(r)+"px",i.style.left=Math.round(n)+"px"}}),ace.define("ace/lib/oop",["require","exports","module"],function(_,A,k){"use strict";A.inherits=function(b,S){b.super_=S,b.prototype=Object.create(S.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}})},A.mixin=function(b,S){for(var d in S)b[d]=S[d];return b},A.implement=function(b,S){A.mixin(b,S)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],function(_,A,k){"use strict";var b=_("./oop"),S=function(){var d={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}},o,l;for(l in d.FUNCTION_KEYS)o=d.FUNCTION_KEYS[l].toLowerCase(),d[o]=parseInt(l,10);for(l in d.PRINTABLE_KEYS)o=d.PRINTABLE_KEYS[l].toLowerCase(),d[o]=parseInt(l,10);return b.mixin(d,d.MODIFIER_KEYS),b.mixin(d,d.PRINTABLE_KEYS),b.mixin(d,d.FUNCTION_KEYS),d.enter=d.return,d.escape=d.esc,d.del=d.delete,d[173]="-",function(){for(var t=["cmd","ctrl","alt","shift"],e=Math.pow(2,t.length);e--;)d.KEY_MODS[e]=t.filter(function(i){return e&d.KEY_MODS[i]}).join("-")+"-"}(),d.KEY_MODS[0]="",d.KEY_MODS[-1]="input-",d}();b.mixin(A,S),A.keyCodeToString=function(d){var o=S[d];return typeof o!="string"&&(o=String.fromCharCode(d)),o.toLowerCase()}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("./keys"),S=_("./useragent"),d=null,o=0,l;function t(){l=!1;try{document.createComment("").addEventListener("test",function(){},{get passive(){l={passive:!1}}})}catch(C){}}function e(){return l==null&&t(),l}function i(C,g,h){this.elem=C,this.type=g,this.callback=h}i.prototype.destroy=function(){r(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var n=A.addListener=function(C,g,h,m){C.addEventListener(g,h,e()),m&&m.$toDestroy.push(new i(C,g,h))},r=A.removeListener=function(C,g,h){C.removeEventListener(g,h,e())};A.stopEvent=function(C){return A.stopPropagation(C),A.preventDefault(C),!1},A.stopPropagation=function(C){C.stopPropagation&&C.stopPropagation()},A.preventDefault=function(C){C.preventDefault&&C.preventDefault()},A.getButton=function(C){return C.type=="dblclick"?0:C.type=="contextmenu"||S.isMac&&C.ctrlKey&&!C.altKey&&!C.shiftKey?2:C.button},A.capture=function(C,g,h){var m=C&&C.ownerDocument||document;function u(c){g&&g(c),h&&h(c),r(m,"mousemove",g),r(m,"mouseup",u),r(m,"dragstart",u)}return n(m,"mousemove",g),n(m,"mouseup",u),n(m,"dragstart",u),u},A.addMouseWheelListener=function(C,g,h){"onmousewheel"in C?n(C,"mousewheel",function(m){var u=8;m.wheelDeltaX!==void 0?(m.wheelX=-m.wheelDeltaX/u,m.wheelY=-m.wheelDeltaY/u):(m.wheelX=0,m.wheelY=-m.wheelDelta/u),g(m)},h):"onwheel"in C?n(C,"wheel",function(m){var u=.35;switch(m.deltaMode){case m.DOM_DELTA_PIXEL:m.wheelX=m.deltaX*u||0,m.wheelY=m.deltaY*u||0;break;case m.DOM_DELTA_LINE:case m.DOM_DELTA_PAGE:m.wheelX=(m.deltaX||0)*5,m.wheelY=(m.deltaY||0)*5;break}g(m)},h):n(C,"DOMMouseScroll",function(m){m.axis&&m.axis==m.HORIZONTAL_AXIS?(m.wheelX=(m.detail||0)*5,m.wheelY=0):(m.wheelX=0,m.wheelY=(m.detail||0)*5),g(m)},h)},A.addMultiMouseDownListener=function(C,g,h,m,u){var c=0,p,a,w,y={2:"dblclick",3:"tripleclick",4:"quadclick"};function L(E){if(A.getButton(E)!==0?c=0:E.detail>1?(c++,c>4&&(c=1)):c=1,S.isIE){var M=Math.abs(E.clientX-p)>5||Math.abs(E.clientY-a)>5;(!w||M)&&(c=1),w&&clearTimeout(w),w=setTimeout(function(){w=null},g[c-1]||600),c==1&&(p=E.clientX,a=E.clientY)}if(E._clicks=c,h[m]("mousedown",E),c>4)c=0;else if(c>1)return h[m](y[c],E)}Array.isArray(C)||(C=[C]),C.forEach(function(E){n(E,"mousedown",L,u)})};var s=function(C){return 0|(C.ctrlKey?1:0)|(C.altKey?2:0)|(C.shiftKey?4:0)|(C.metaKey?8:0)};A.getModifierString=function(C){return b.KEY_MODS[s(C)]};function f(C,g,h){var m=s(g);if(!S.isMac&&d){if(g.getModifierState&&(g.getModifierState("OS")||g.getModifierState("Win"))&&(m|=8),d.altGr)if((3&m)!=3)d.altGr=0;else return;if(h===18||h===17){var u="location"in g?g.location:g.keyLocation;if(h===17&&u===1)d[h]==1&&(o=g.timeStamp);else if(h===18&&m===3&&u===2){var c=g.timeStamp-o;c<50&&(d.altGr=!0)}}}if(h in b.MODIFIER_KEYS&&(h=-1),!m&&h===13){var u="location"in g?g.location:g.keyLocation;if(u===3&&(C(g,m,-h),g.defaultPrevented))return}if(S.isChromeOS&&m&8){if(C(g,m,h),g.defaultPrevented)return;m&=-9}return!m&&!(h in b.FUNCTION_KEYS)&&!(h in b.PRINTABLE_KEYS)?!1:C(g,m,h)}A.addCommandKeyListener=function(C,g,h){if(S.isOldGecko||S.isOpera&&!("KeyboardEvent"in window)){var m=null;n(C,"keydown",function(c){m=c.keyCode},h),n(C,"keypress",function(c){return f(g,c,m)},h)}else{var u=null;n(C,"keydown",function(c){d[c.keyCode]=(d[c.keyCode]||0)+1;var p=f(g,c,c.keyCode);return u=c.defaultPrevented,p},h),n(C,"keypress",function(c){u&&(c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)&&(A.stopEvent(c),u=null)},h),n(C,"keyup",function(c){d[c.keyCode]=null},h),d||(v(),n(window,"focus",v))}};function v(){d=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!S.isOldIE){var $=1;A.nextTick=function(C,g){g=g||window;var h="zero-timeout-message-"+$++,m=function(u){u.data==h&&(A.stopPropagation(u),r(g,"message",m),C())};n(g,"message",m),g.postMessage(h,"*")}}A.$idleBlocked=!1,A.onIdle=function(C,g){return setTimeout(function h(){A.$idleBlocked?setTimeout(h,100):C()},g)},A.$idleBlockId=null,A.blockIdle=function(C){A.$idleBlockId&&clearTimeout(A.$idleBlockId),A.$idleBlocked=!0,A.$idleBlockId=setTimeout(function(){A.$idleBlocked=!1},C||100)},A.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),A.nextFrame?A.nextFrame=A.nextFrame.bind(window):A.nextFrame=function(C){setTimeout(C,17)}}),ace.define("ace/range",["require","exports","module"],function(_,A,k){"use strict";var b=function(d,o){return d.row-o.row||d.column-o.column},S=function(d,o,l,t){this.start={row:d,column:o},this.end={row:l,column:t}};(function(){this.isEqual=function(d){return this.start.row===d.start.row&&this.end.row===d.end.row&&this.start.column===d.start.column&&this.end.column===d.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(d,o){return this.compare(d,o)==0},this.compareRange=function(d){var o,l=d.end,t=d.start;return o=this.compare(l.row,l.column),o==1?(o=this.compare(t.row,t.column),o==1?2:o==0?1:0):o==-1?-2:(o=this.compare(t.row,t.column),o==-1?-1:o==1?42:0)},this.comparePoint=function(d){return this.compare(d.row,d.column)},this.containsRange=function(d){return this.comparePoint(d.start)==0&&this.comparePoint(d.end)==0},this.intersects=function(d){var o=this.compareRange(d);return o==-1||o==0||o==1},this.isEnd=function(d,o){return this.end.row==d&&this.end.column==o},this.isStart=function(d,o){return this.start.row==d&&this.start.column==o},this.setStart=function(d,o){typeof d=="object"?(this.start.column=d.column,this.start.row=d.row):(this.start.row=d,this.start.column=o)},this.setEnd=function(d,o){typeof d=="object"?(this.end.column=d.column,this.end.row=d.row):(this.end.row=d,this.end.column=o)},this.inside=function(d,o){return this.compare(d,o)==0?!(this.isEnd(d,o)||this.isStart(d,o)):!1},this.insideStart=function(d,o){return this.compare(d,o)==0?!this.isEnd(d,o):!1},this.insideEnd=function(d,o){return this.compare(d,o)==0?!this.isStart(d,o):!1},this.compare=function(d,o){return!this.isMultiLine()&&d===this.start.row?othis.end.column?1:0:dthis.end.row?1:this.start.row===d?o>=this.start.column?0:-1:this.end.row===d?o<=this.end.column?0:1:0},this.compareStart=function(d,o){return this.start.row==d&&this.start.column==o?-1:this.compare(d,o)},this.compareEnd=function(d,o){return this.end.row==d&&this.end.column==o?1:this.compare(d,o)},this.compareInside=function(d,o){return this.end.row==d&&this.end.column==o?1:this.start.row==d&&this.start.column==o?-1:this.compare(d,o)},this.clipRows=function(d,o){if(this.end.row>o)var l={row:o+1,column:0};else if(this.end.rowo)var t={row:o+1,column:0};else if(this.start.row0;)o&1&&(l+=d),(o>>=1)&&(d+=d);return l};var b=/^\s\s*/,S=/\s\s*$/;A.stringTrimLeft=function(d){return d.replace(b,"")},A.stringTrimRight=function(d){return d.replace(S,"")},A.copyObject=function(d){var o={};for(var l in d)o[l]=d[l];return o},A.copyArray=function(d){for(var o=[],l=0,t=d.length;lDate.now()-50?!0:b=!1},cancel:function(){b=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(_,A,k){"use strict";var b=_("../lib/event"),S=_("../lib/useragent"),d=_("../lib/dom"),o=_("../lib/lang"),l=_("../clipboard"),t=S.isChrome<18,e=S.isIE,i=S.isChrome>63,n=400,r=_("../lib/keys"),s=r.KEY_MODS,f=S.isIOS,v=f?/\s/:/\n/,$=S.isMobile,C=function(g,h){var m=d.createElement("textarea");m.className="ace_text-input",m.setAttribute("wrap","off"),m.setAttribute("autocorrect","off"),m.setAttribute("autocapitalize","off"),m.setAttribute("spellcheck",!1),m.style.opacity="0",g.insertBefore(m,g.firstChild);var u=!1,c=!1,p=!1,a=!1,w="";$||(m.style.fontSize="1px");var y=!1,L=!1,E="",M=0,R=0,x=0;try{var F=document.activeElement===m}catch(U){}b.addListener(m,"blur",function(U){L||(h.onBlur(U),F=!1)},h),b.addListener(m,"focus",function(U){if(!L){if(F=!0,S.isEdge)try{if(!document.hasFocus())return}catch(J){}h.onFocus(U),S.isEdge?setTimeout(I):I()}},h),this.$focusScroll=!1,this.focus=function(){if(w||i||this.$focusScroll=="browser")return m.focus({preventScroll:!0});var U=m.style.top;m.style.position="fixed",m.style.top="0px";try{var J=m.getBoundingClientRect().top!=0}catch(ge){return}var ne=[];if(J)for(var ue=m.parentElement;ue&&ue.nodeType==1;)ne.push(ue),ue.setAttribute("ace_nocontext",!0),!ue.parentElement&&ue.getRootNode?ue=ue.getRootNode().host:ue=ue.parentElement;m.focus({preventScroll:!0}),J&&ne.forEach(function(ge){ge.removeAttribute("ace_nocontext")}),setTimeout(function(){m.style.position="",m.style.top=="0px"&&(m.style.top=U)},0)},this.blur=function(){m.blur()},this.isFocused=function(){return F},h.on("beforeEndOperation",function(){var U=h.curOp,J=U&&U.command&&U.command.name;if(J!="insertstring"){var ne=J&&(U.docChanged||U.selectionChanged);p&&ne&&(E=m.value="",oe()),I()}});var I=f?function(U){if(!(!F||u&&!U||a)){U||(U="");var J=` - ab`+U+`cde fg -`;J!=m.value&&(m.value=E=J);var ne=4,ue=4+(U.length||(h.selection.isEmpty()?0:1));(M!=ne||R!=ue)&&m.setSelectionRange(ne,ue),M=ne,R=ue}}:function(){if(!(p||a)&&!(!F&&!B)){p=!0;var U=0,J=0,ne="";if(h.session){var ue=h.selection,ge=ue.getRange(),be=ue.cursor.row;if(U=ge.start.column,J=ge.end.column,ne=h.session.getLine(be),ge.start.row!=be){var me=h.session.getLine(be-1);U=ge.start.rowbe+1?ve.length:J,J+=ne.length+1,ne=ne+` -`+ve}else $&&be>0&&(ne=` -`+ne,J+=1,U+=1);ne.length>n&&(U=E.length&&U.value===E&&E&&U.selectionEnd!==R},O=function(U){p||(u?u=!1:P(m)?(h.selectAll(),I()):$&&m.selectionStart!=M&&I())},N=null;this.setInputHandler=function(U){N=U},this.getInputHandler=function(){return N};var B=!1,G=function(U,J){if(B&&(B=!1),c)return I(),U&&h.onPaste(U),c=!1,"";for(var ne=m.selectionStart,ue=m.selectionEnd,ge=M,be=E.length-R,me=U,ve=U.length-ne,pe=U.length-ue,ae=0;ge>0&&E[ae]==U[ae];)ae++,ge--;for(me=me.slice(ae),ae=1;be>0&&E.length-ae>M-1&&E[E.length-ae]==U[U.length-ae];)ae++,be--;ve-=ae-1,pe-=ae-1;var _e=me.length-ae+1;if(_e<0&&(ge=-_e,_e=0),me=me.slice(0,_e),!J&&!me&&!ve&&!ge&&!be&&!pe)return"";a=!0;var Ie=!1;return S.isAndroid&&me==". "&&(me=" ",Ie=!0),me&&!ge&&!be&&!ve&&!pe||y?h.onTextInput(me):h.onTextInput(me,{extendLeft:ge,extendRight:be,restoreStart:ve,restoreEnd:pe}),a=!1,E=U,M=ne,R=ue,x=pe,Ie?` -`:me},H=function(U){if(p)return Y();if(U&&U.inputType){if(U.inputType=="historyUndo")return h.execCommand("undo");if(U.inputType=="historyRedo")return h.execCommand("redo")}var J=m.value,ne=G(J,!0);(J.length>n+100||v.test(ne)||$&&M<1&&M==R)&&I()},te=function(U,J,ne){var ue=U.clipboardData||window.clipboardData;if(!(!ue||t)){var ge=e||ne?"Text":"text/plain";try{return J?ue.setData(ge,J)!==!1:ue.getData(ge)}catch(be){if(!ne)return te(be,J,!0)}}},j=function(U,J){var ne=h.getCopyText();if(!ne)return b.preventDefault(U);te(U,ne)?(f&&(I(ne),u=ne,setTimeout(function(){u=!1},10)),J?h.onCut():h.onCopy(),b.preventDefault(U)):(u=!0,m.value=ne,m.select(),setTimeout(function(){u=!1,I(),J?h.onCut():h.onCopy()}))},ie=function(U){j(U,!0)},ee=function(U){j(U,!1)},X=function(U){var J=te(U);l.pasteCancelled()||(typeof J=="string"?(J&&h.onPaste(J,U),S.isIE&&setTimeout(I),b.preventDefault(U)):(m.value="",c=!0))};b.addCommandKeyListener(m,h.onCommandKey.bind(h),h),b.addListener(m,"select",O,h),b.addListener(m,"input",H,h),b.addListener(m,"cut",ie,h),b.addListener(m,"copy",ee,h),b.addListener(m,"paste",X,h),(!("oncut"in m)||!("oncopy"in m)||!("onpaste"in m))&&b.addListener(g,"keydown",function(U){if(!(S.isMac&&!U.metaKey||!U.ctrlKey))switch(U.keyCode){case 67:ee(U);break;case 86:X(U);break;case 88:ie(U);break}},h);var q=function(U){if(!(p||!h.onCompositionStart||h.$readOnly)&&(p={},!y)){U.data&&(p.useTextareaForIME=!1),setTimeout(Y,0),h._signal("compositionStart"),h.on("mousedown",he);var J=h.getSelectionRange();J.end.row=J.start.row,J.end.column=J.start.column,p.markerRange=J,p.selectionStart=M,h.onCompositionStart(p),p.useTextareaForIME?(E=m.value="",M=0,R=0):(m.msGetInputContext&&(p.context=m.msGetInputContext()),m.getInputContext&&(p.context=m.getInputContext()))}},Y=function(){if(!(!p||!h.onCompositionUpdate||h.$readOnly)){if(y)return he();if(p.useTextareaForIME)h.onCompositionUpdate(m.value);else{var U=m.value;G(U),p.markerRange&&(p.context&&(p.markerRange.start.column=p.selectionStart=p.context.compositionStartOffset),p.markerRange.end.column=p.markerRange.start.column+R-p.selectionStart+x)}}},oe=function(U){!h.onCompositionEnd||h.$readOnly||(p=!1,h.onCompositionEnd(),h.off("mousedown",he),U&&H())};function he(){L=!0,m.blur(),m.focus(),L=!1}var fe=o.delayedCall(Y,50).schedule.bind(null,null);function se(U){U.keyCode==27&&m.value.lengthR&&E[pe]==` -`?ae=r.end:veR&&E.slice(0,pe).split(` -`).length>2?ae=r.down:pe>R&&E[pe-1]==" "?(ae=r.right,_e=s.option):(pe>R||pe==R&&R!=M&&ve==pe)&&(ae=r.right),ve!==pe&&(_e|=s.shift),ae){var Ie=J.onCommandKey({},_e,ae);if(!Ie&&J.commands){ae=r.keyCodeToString(ae);var Ge=J.commands.findKeyCommand(_e,ae);Ge&&J.execCommand(Ge)}M=ve,R=pe,I("")}}};document.addEventListener("selectionchange",be),J.on("destroy",function(){document.removeEventListener("selectionchange",be)})}};A.TextInput=C,A.$setUserAgentForTests=function(g,h){$=g,f=h}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("../lib/useragent"),S=0,d=550;function o(e){e.$clickSelection=null;var i=e.editor;i.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),i.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),i.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),i.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),i.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var n=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];n.forEach(function(r){e[r]=this[r]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}(function(){this.onMouseDown=function(e){var i=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,s=e.getButton();if(s!==0){var f=r.getSelectionRange(),v=f.isEmpty();(v||s==1)&&r.selection.moveToPosition(n),s==2&&(r.textInput.onContextMenu(e.domEvent),b.isMozilla||e.preventDefault());return}if(this.mousedownEvent.time=Date.now(),i&&!r.isFocused()&&(r.focus(),this.$focusTimeout&&!this.$clickSelection&&!r.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(e);return}return this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()},this.startSelect=function(e,i){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;!this.mousedownEvent||(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):i||n.selection.moveToPosition(e),i||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"))},this.select=function(){var e,i=this.editor,n=i.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(r==-1)e=this.$clickSelection.end;else if(r==1)e=this.$clickSelection.start;else{var s=t(this.$clickSelection,n);n=s.cursor,e=s.anchor}i.selection.setSelectionAnchor(e.row,e.column)}i.selection.selectToPosition(n),i.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var i,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),s=n.selection[e](r.row,r.column);if(this.$clickSelection){var f=this.$clickSelection.comparePoint(s.start),v=this.$clickSelection.comparePoint(s.end);if(f==-1&&v<=0)i=this.$clickSelection.end,(s.end.row!=r.row||s.end.column!=r.column)&&(r=s.start);else if(v==1&&f>=0)i=this.$clickSelection.start,(s.start.row!=r.row||s.start.column!=r.column)&&(r=s.end);else if(f==-1&&v==1)r=s.end,i=s.start;else{var $=t(this.$clickSelection,r);r=$.cursor,i=$.anchor}n.selection.setSelectionAnchor(i.row,i.column)}n.selection.selectToPosition(r),n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),i=Date.now();(e>S||i-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var i=e.getDocumentPosition(),n=this.editor,r=n.session,s=r.getBracketRange(i);s?(s.isEmpty()&&(s.start.column--,s.end.column++),this.setState("select")):(s=n.selection.getWordRange(i.row,i.column),this.setState("selectByWords")),this.$clickSelection=s,this.select()},this.onTripleClick=function(e){var i=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(i.row,i.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(i.row),this.select()},this.onQuadClick=function(e){var i=this.editor;i.selectAll(),this.$clickSelection=i.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var i=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,r=e.domEvent.timeStamp,s=r-n.t,f=s?e.wheelX/s:n.vx,v=s?e.wheelY/s:n.vy;s=1&&i.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(C=!0),$<=1&&i.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(C=!0),C)n.allowed=r;else if(r-n.allowedi.session.documentToScreenRow(p.row,p.column))return C()}if(v!=m)if(v=m.text.join("
    "),r.setHtml(v),r.show(),i._signal("showGutterTooltip",r),i.on("mousewheel",C),e.$tooltipFollowsMouse)g(f);else{var a=f.domEvent.target,w=a.getBoundingClientRect(),y=r.getElement().style;y.left=w.right+"px",y.top=w.bottom+"px"}}function C(){s&&(s=clearTimeout(s)),v&&(r.hide(),v=null,i._signal("hideGutterTooltip",r),i.off("mousewheel",C))}function g(h){r.setPosition(h.x,h.y)}e.editor.setDefaultHandler("guttermousemove",function(h){var m=h.domEvent.target||h.domEvent.srcElement;if(b.hasCssClass(m,"ace_fold-widget"))return C();v&&e.$tooltipFollowsMouse&&g(h),f=h,!s&&(s=setTimeout(function(){s=null,f&&!e.isMousePressed?$():C()},50))}),d.addListener(i.renderer.$gutter,"mouseout",function(h){f=null,!(!v||s)&&(s=setTimeout(function(){s=null,C()},50))},i),i.on("changeSession",C)}function t(e){o.call(this,e)}S.inherits(t,o),function(){this.setPosition=function(e,i){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,s=this.getWidth(),f=this.getHeight();e+=15,i+=15,e+s>n&&(e-=e+s-n),i+f>r&&(i-=20+f),o.prototype.setPosition.call(this,e,i)}}.call(t.prototype),A.GutterHandler=l}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("../lib/event"),S=_("../lib/useragent"),d=A.MouseEvent=function(o,l){this.domEvent=o,this.editor=l,this.x=this.clientX=o.clientX,this.y=this.clientY=o.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){b.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){b.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var o=this.editor,l=o.getSelectionRange();if(l.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=l.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return b.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=S.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(d.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("../lib/dom"),S=_("../lib/event"),d=_("../lib/useragent"),o=200,l=200,t=5;function e(n){var r=n.editor,s=b.createElement("div");s.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",s.textContent="\xA0";var f=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];f.forEach(function(B){n[B]=this[B]},this),r.on("mousedown",this.onMouseDown.bind(n));var v=r.container,$,C,g,h,m,u,c=0,p,a,w,y,L;this.onDragStart=function(B){if(this.cancelDrag||!v.draggable){var G=this;return setTimeout(function(){G.startSelect(),G.captureMouse(B)},0),B.preventDefault()}m=r.getSelectionRange();var H=B.dataTransfer;H.effectAllowed=r.getReadOnly()?"copy":"copyMove",r.container.appendChild(s),H.setDragImage&&H.setDragImage(s,0,0),setTimeout(function(){r.container.removeChild(s)}),H.clearData(),H.setData("Text",r.session.getTextRange()),a=!0,this.setState("drag")},this.onDragEnd=function(B){if(v.draggable=!1,a=!1,this.setState(null),!r.getReadOnly()){var G=B.dataTransfer.dropEffect;!p&&G=="move"&&r.session.remove(r.getSelectionRange()),r.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(B){if(!(r.getReadOnly()||!O(B.dataTransfer)))return C=B.clientX,g=B.clientY,$||x(),c++,B.dataTransfer.dropEffect=p=N(B),S.preventDefault(B)},this.onDragOver=function(B){if(!(r.getReadOnly()||!O(B.dataTransfer)))return C=B.clientX,g=B.clientY,$||(x(),c++),I!==null&&(I=null),B.dataTransfer.dropEffect=p=N(B),S.preventDefault(B)},this.onDragLeave=function(B){if(c--,c<=0&&$)return F(),p=null,S.preventDefault(B)},this.onDrop=function(B){if(!!u){var G=B.dataTransfer;if(a)switch(p){case"move":m.contains(u.row,u.column)?m={start:u,end:u}:m=r.moveText(m,u);break;case"copy":m=r.moveText(m,u,!0);break}else{var H=G.getData("Text");m={start:u,end:r.session.insert(u,H)},r.focus(),p=null}return F(),S.preventDefault(B)}},S.addListener(v,"dragstart",this.onDragStart.bind(n),r),S.addListener(v,"dragend",this.onDragEnd.bind(n),r),S.addListener(v,"dragenter",this.onDragEnter.bind(n),r),S.addListener(v,"dragover",this.onDragOver.bind(n),r),S.addListener(v,"dragleave",this.onDragLeave.bind(n),r),S.addListener(v,"drop",this.onDrop.bind(n),r);function E(B,G){var H=Date.now(),te=!G||B.row!=G.row,j=!G||B.column!=G.column;if(!y||te||j)r.moveCursorToPosition(B),y=H,L={x:C,y:g};else{var ie=i(L.x,L.y,C,g);ie>t?y=null:H-y>=l&&(r.renderer.scrollCursorIntoView(),y=null)}}function M(B,G){var H=Date.now(),te=r.renderer.layerConfig.lineHeight,j=r.renderer.layerConfig.characterWidth,ie=r.renderer.scroller.getBoundingClientRect(),ee={x:{left:C-ie.left,right:ie.right-C},y:{top:g-ie.top,bottom:ie.bottom-g}},X=Math.min(ee.x.left,ee.x.right),q=Math.min(ee.y.top,ee.y.bottom),Y={row:B.row,column:B.column};X/j<=2&&(Y.column+=ee.x.left=o&&r.renderer.scrollCursorIntoView(Y):w=H:w=null}function R(){var B=u;u=r.renderer.screenToTextCoordinates(C,g),E(u,B),M(u,B)}function x(){m=r.selection.toOrientedRange(),$=r.session.addMarker(m,"ace_selection",r.getSelectionStyle()),r.clearSelection(),r.isFocused()&&r.renderer.$cursorLayer.setBlinking(!1),clearInterval(h),R(),h=setInterval(R,20),c=0,S.addListener(document,"mousemove",P)}function F(){clearInterval(h),r.session.removeMarker($),$=null,r.selection.fromOrientedRange(m),r.isFocused()&&!a&&r.$resetCursorStyle(),m=null,u=null,c=0,w=null,y=null,S.removeListener(document,"mousemove",P)}var I=null;function P(){I==null&&(I=setTimeout(function(){I!=null&&$&&F()},20))}function O(B){var G=B.types;return!G||Array.prototype.some.call(G,function(H){return H=="text/plain"||H=="Text"})}function N(B){var G=["copy","copymove","all","uninitialized"],H=["move","copymove","linkmove","all","uninitialized"],te=d.isMac?B.altKey:B.ctrlKey,j="uninitialized";try{j=B.dataTransfer.effectAllowed.toLowerCase()}catch(ee){}var ie="none";return te&&G.indexOf(j)>=0?ie="copy":H.indexOf(j)>=0?ie="move":G.indexOf(j)>=0&&(ie="copy"),ie}}(function(){this.dragWait=function(){var n=Date.now()-this.mousedownEvent.time;n>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var n=this.editor.container;n.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(n){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var n=this.editor,r=n.container;r.draggable=!0,n.renderer.$cursorLayer.setBlinking(!1),n.setStyle("ace_dragging");var s=d.isWin?"default":"move";n.renderer.setCursorStyle(s),this.setState("dragReady")},this.onMouseDrag=function(n){var r=this.editor.container;if(d.isIE&&this.state=="dragReady"){var s=i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);s>3&&r.dragDrop()}if(this.state==="dragWait"){var s=i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);s>0&&(r.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(n){if(!!this.$dragEnabled){this.mousedownEvent=n;var r=this.editor,s=n.inSelection(),f=n.getButton(),v=n.domEvent.detail||1;if(v===1&&f===0&&s){if(n.editor.inMultiSelectMode&&(n.getAccelKey()||n.getShiftKey()))return;this.mousedownEvent.time=Date.now();var $=n.domEvent.target||n.domEvent.srcElement;if("unselectable"in $&&($.unselectable="on"),r.getDragDelay()){if(d.isWebKit){this.cancelDrag=!0;var C=r.container;C.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(n,this.onMouseDrag.bind(this)),n.defaultPrevented=!0}}}}).call(e.prototype);function i(n,r,s,f){return Math.sqrt(Math.pow(s-n,2)+Math.pow(f-r,2))}A.DragdropHandler=e}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(_,A,k){"use strict";var b=_("./mouse_event").MouseEvent,S=_("../lib/event"),d=_("../lib/dom");A.addTouchListeners=function(o,l){var t="scroll",e,i,n,r,s,f,v=0,$,C=0,g=0,h=0,m,u;function c(){var E=window.navigator&&window.navigator.clipboard,M=!1,R=function(){var F=l.getCopyText(),I=l.session.getUndoManager().hasUndo();u.replaceChild(d.buildDom(M?["span",!F&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],F&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],F&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],E&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],I&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Pallete"]]:["span"]),u.firstChild)},x=function(F){var I=F.target.getAttribute("action");if(I=="more"||!M)return M=!M,R();I=="paste"?E.readText().then(function(P){l.execCommand(I,P)}):I&&((I=="cut"||I=="copy")&&(E?E.writeText(l.getCopyText()):document.execCommand("copy")),l.execCommand(I)),u.firstChild.style.display="none",M=!1,I!="openCommandPallete"&&l.focus()};u=d.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(F){t="menu",F.stopPropagation(),F.preventDefault(),l.textInput.focus()},ontouchend:function(F){F.stopPropagation(),F.preventDefault(),x(F)},onclick:x},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],l.container)}function p(){u||c();var E=l.selection.cursor,M=l.renderer.textToScreenCoordinates(E.row,E.column),R=l.renderer.textToScreenCoordinates(0,0).pageX,x=l.renderer.scrollLeft,F=l.container.getBoundingClientRect();u.style.top=M.pageY-F.top-3+"px",M.pageX-F.left=2?l.selection.getLineRange($.row):l.session.getBracketRange($);E&&!E.isEmpty()?l.selection.setRange(E):l.selection.selectWord(),t="wait"}S.addListener(o,"contextmenu",function(E){if(!!m){var M=l.textInput.getElement();M.focus()}},l),S.addListener(o,"touchstart",function(E){var M=E.touches;if(s||M.length>1){clearTimeout(s),s=null,n=-1,t="zoom";return}m=l.$mouseHandler.isMousePressed=!0;var R=l.renderer.layerConfig.lineHeight,x=l.renderer.layerConfig.lineHeight,F=E.timeStamp;r=F;var I=M[0],P=I.clientX,O=I.clientY;Math.abs(e-P)+Math.abs(i-O)>R&&(n=-1),e=E.clientX=P,i=E.clientY=O,g=h=0;var N=new b(E,l);if($=N.getDocumentPosition(),F-n<500&&M.length==1&&!v)C++,E.preventDefault(),E.button=0,y();else{C=0;var B=l.selection.cursor,G=l.selection.isEmpty()?B:l.selection.anchor,H=l.renderer.$cursorLayer.getPixelPosition(B,!0),te=l.renderer.$cursorLayer.getPixelPosition(G,!0),j=l.renderer.scroller.getBoundingClientRect(),ie=l.renderer.layerConfig.offset,ee=l.renderer.scrollLeft,X=function(oe,he){return oe=oe/x,he=he/R-.75,oe*oe+he*he};if(E.clientXY?"cursor":"anchor"),Y<3.5?t="anchor":q<3.5?t="cursor":t="scroll",s=setTimeout(w,450)}n=F},l),S.addListener(o,"touchend",function(E){m=l.$mouseHandler.isMousePressed=!1,f&&clearInterval(f),t=="zoom"?(t="",v=0):s?(l.selection.moveToPosition($),v=0,p()):t=="scroll"?(L(),a()):p(),clearTimeout(s),s=null},l),S.addListener(o,"touchmove",function(E){s&&(clearTimeout(s),s=null);var M=E.touches;if(!(M.length>1||t=="zoom")){var R=M[0],x=e-R.clientX,F=i-R.clientY;if(t=="wait")if(x*x+F*F>4)t="cursor";else return E.preventDefault();e=R.clientX,i=R.clientY,E.clientX=R.clientX,E.clientY=R.clientY;var I=E.timeStamp,P=I-r;if(r=I,t=="scroll"){var O=new b(E,l);O.speed=1,O.wheelX=x,O.wheelY=F,10*Math.abs(x)1&&(C=v[v.length-2]);var h=e[f+"Path"];return h==null?h=e.basePath:$=="/"&&(f=$=""),h&&h.slice(-1)!="/"&&(h+="/"),h+f+$+C+this.get("suffix")},A.setModuleUrl=function(s,f){return e.$moduleUrls[s]=f},A.$loading={},A.loadModule=function(s,f){var v,$;Array.isArray(s)&&($=s[0],s=s[1]);try{v=_(s)}catch(g){}if(v&&!A.$loading[s])return f&&f(v);if(A.$loading[s]||(A.$loading[s]=[]),A.$loading[s].push(f),!(A.$loading[s].length>1)){var C=function(){_([s],function(g){A._emit("load.module",{name:s,module:g});var h=A.$loading[s];A.$loading[s]=null,h.forEach(function(m){m&&m(g)})})};if(!A.get("packaged"))return C();d.loadScript(A.moduleUrl(s,$),C),i()}};var i=function(){!e.basePath&&!e.workerPath&&!e.modePath&&!e.themePath&&!Object.keys(e.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),i=function(){})};n(!0);function n(s){if(!(!t||!t.document)){e.packaged=s||_.packaged||k.packaged||t.define&&Q.amdD.packaged;for(var f={},v="",$=document.currentScript||document._currentScript,C=$&&$.ownerDocument||document,g=C.getElementsByTagName("script"),h=0;h0)if(Le==16){for(U=Ee;U-1){for(U=Ee;U=0&&Y[ue]==w;ue--)X[ue]=d}}}function H(ee,X,q){if(!(o=ee){for(he=oe+1;he=ee;)he++;for(fe=oe,se=he-1;fe=X.length||(he=q[Y-1])!=h&&he!=m||(fe=X[Y+1])!=h&&fe!=m?u:(l&&(fe=m),fe==he?fe:u);case L:return he=Y>0?q[Y-1]:c,he==h&&Y+10&&q[Y-1]==h)return h;if(l)return u;for(de=Y+1,se=X.length;de=1425&&Le<=2303||Le==64286;if(he=X[de],Re&&(he==g||he==a))return g}return Y<1||(he=X[Y-1])==c?u:q[Y-1];case c:return l=!1,e=!0,d;case p:return i=!0,u;case R:case x:case I:case P:case F:l=!1;case O:return u}}function j(ee){var X=ee.charCodeAt(0),q=X>>8;return q==0?X>191?C:N[X]:q==5?/[\u0591-\u05f4]/.test(ee)?g:C:q==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(ee)?M:/[\u0660-\u0669\u066b-\u066c]/.test(ee)?m:X==1642?E:/[\u06f0-\u06f9]/.test(ee)?h:a:q==32&&X<=8287?B[X&255]:q==254&&X>=65136?a:u}function ie(ee){return ee>="\u064B"&&ee<="\u0655"}A.L=C,A.R=g,A.EN=h,A.ON_R=3,A.AN=4,A.R_H=5,A.B=6,A.RLE=7,A.DOT="\xB7",A.doBidiReorder=function(ee,X,q){if(ee.length<2)return{};var Y=ee.split(""),oe=new Array(Y.length),he=new Array(Y.length),fe=[];d=q?$:v,G(Y,fe,Y.length,X);for(var se=0;sea&&X[se]0&&Y[se-1]==="\u0644"&&/\u0622|\u0623|\u0625|\u0627/.test(Y[se])&&(fe[se-1]=fe[se]=A.R_H,se++);Y[Y.length-1]===A.DOT&&(fe[Y.length-1]=A.B),Y[0]==="\u202B"&&(fe[0]=A.RLE);for(var se=0;se=0&&(l=this.session.$docRowCache[e])}return l},this.getSplitIndex=function(){var l=0,t=this.session.$screenRowCache;if(t.length)for(var e,i=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-l>0&&(e=this.session.$getRowCacheIndex(t,this.currentRow-l-1),e===i);)i=e,l++;else l=this.currentRow;return l},this.updateRowLine=function(l,t){l===void 0&&(l=this.getDocumentRow());var e=l===this.session.getLength()-1,i=e?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(l),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var n=this.session.$wrapData[l];n&&(t===void 0&&(t=this.getSplitIndex()),t>0&&n.length?(this.wrapIndent=n.indent,this.wrapOffset=this.wrapIndent*this.charWidths[b.L],this.line=tt?this.session.getOverwrite()?l:l-1:t,i=b.getVisualFromLogicalIdx(e,this.bidiMap),n=this.bidiMap.bidiLevels,r=0;!this.session.getOverwrite()&&l<=t&&n[i]%2!==0&&i++;for(var s=0;st&&n[i]%2===0&&(r+=this.charWidths[n[i]]),this.wrapIndent&&(r+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(r+=this.rtlLineOffset),r},this.getSelections=function(l,t){var e=this.bidiMap,i=e.bidiLevels,n,r=[],s=0,f=Math.min(l,t)-this.wrapIndent,v=Math.max(l,t)-this.wrapIndent,$=!1,C=!1,g=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var h,m=0;m=f&&hi+s/2;){if(i+=s,n===r.length-1){s=0;break}s=this.charWidths[r[++n]]}return n>0&&r[n-1]%2!==0&&r[n]%2===0?(e0&&r[n-1]%2===0&&r[n]%2!==0?t=1+(e>i?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===r.length-1&&s===0&&r[n-1]%2===0||!this.isRtlDir&&n===0&&r[n]%2!==0?t=1+this.bidiMap.logicalFromVisual[n]:(n>0&&r[n-1]%2!==0&&s!==0&&n--,t=this.bidiMap.logicalFromVisual[n]),t===0&&this.isRtlDir&&t++,t+this.wrapIndent}}).call(o.prototype),A.BidiHandler=o}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./lib/lang"),d=_("./lib/event_emitter").EventEmitter,o=_("./range").Range,l=function(t){this.session=t,this.doc=t.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var e=this;this.cursor.on("change",function(i){e.$cursorChanged=!0,e.$silent||e._emit("changeCursor"),!e.$isEmpty&&!e.$silent&&e._emit("changeSelection"),!e.$keepDesiredColumnOnChange&&i.old.column!=i.value.column&&(e.$desiredColumn=null)}),this.anchor.on("change",function(){e.$anchorChanged=!0,!e.$isEmpty&&!e.$silent&&e._emit("changeSelection")})};(function(){b.implement(this,d),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(t,e){this.$isEmpty=!1,this.anchor.setPosition(t,e)},this.getAnchor=this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var t=this.anchor,e=this.lead;return t.row>e.row||t.row==e.row&&t.column>e.column},this.getRange=function(){var t=this.anchor,e=this.lead;return this.$isEmpty?o.fromPoints(e,e):this.isBackwards()?o.fromPoints(e,t):o.fromPoints(t,e)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(t,e){var i=e?t.end:t.start,n=e?t.start:t.end;this.$setSelection(i.row,i.column,n.row,n.column)},this.$setSelection=function(t,e,i,n){if(!this.$silent){var r=this.$isEmpty,s=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(t,e),this.cursor.setPosition(i,n),this.$isEmpty=!o.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||r!=this.$isEmpty||s)&&this._emit("changeSelection")}},this.$moveSelection=function(t){var e=this.lead;this.$isEmpty&&this.setSelectionAnchor(e.row,e.column),t.call(this)},this.selectTo=function(t,e){this.$moveSelection(function(){this.moveCursorTo(t,e)})},this.selectToPosition=function(t){this.$moveSelection(function(){this.moveCursorToPosition(t)})},this.moveTo=function(t,e){this.clearSelection(),this.moveCursorTo(t,e)},this.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(t,e){if(typeof e=="undefined"){var i=t||this.lead;t=i.row,e=i.column}return this.session.getWordRange(t,e)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var t=this.getCursor(),e=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(e)},this.getLineRange=function(t,e){var i=typeof t=="number"?t:this.lead.row,n,r=this.session.getFoldLine(i);return r?(i=r.start.row,n=r.end.row):n=i,e===!0?new o(i,0,n,this.session.getLine(n).length):new o(i,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(t,e,i){var n=t.column,r=t.column+e;return i<0&&(n=t.column-e,r=t.column),this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(n,r).split(" ").length-1==e},this.moveCursorLeft=function(){var t=this.lead.getPosition(),e;if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(t.column===0)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var i=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,i,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-i):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var t=this.lead.getPosition(),e;if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(e.column=n)}}this.moveCursorTo(e.row,e.column)},this.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,e=this.doc.getLine(t).length;this.moveCursorTo(t,e)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var t=this.lead.row,e=this.lead.column,i=this.doc.getLine(t),n=i.substring(e);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(t,e,1);if(r){this.moveCursorTo(r.end.row,r.end.column);return}if(this.session.nonTokenRe.exec(n)&&(e+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=i.substring(e)),e>=i.length){this.moveCursorTo(t,i.length),this.moveCursorRight(),t0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(r)&&(e-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,e)},this.$shortWordEndIndex=function(t){var e=0,i,n=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(t))e=this.session.tokenRe.lastIndex;else{for(;(i=t[e])&&n.test(i);)e++;if(e<1){for(r.lastIndex=0;(i=t[e])&&!r.test(i);)if(r.lastIndex=0,e++,n.test(i))if(e>2){e--;break}else{for(;(i=t[e])&&n.test(i);)e++;if(e>2)break}}}return r.lastIndex=0,e},this.moveCursorShortWordRight=function(){var t=this.lead.row,e=this.lead.column,i=this.doc.getLine(t),n=i.substring(e),r=this.session.getFoldAt(t,e,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(e==i.length){var s=this.doc.getLength();do t++,n=this.doc.getLine(t);while(t0&&/^\s*$/.test(n));e=n.length,/\s+$/.test(n)||(n="")}var r=S.stringReverse(n),s=this.$shortWordEndIndex(r);return this.moveCursorTo(t,e-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(t,e){var i=this.session.documentToScreenPosition(this.lead.row,this.lead.column),n;if(e===0&&(t!==0&&(this.session.$bidiHandler.isBidiRow(i.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(i.column),i.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=i.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column),t!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var r=this.session.lineWidgets[this.lead.row];t<0?t-=r.rowsAbove||0:t>0&&(t+=r.rowCount-(r.rowsAbove||0))}var s=this.session.screenToDocumentPosition(i.row+t,i.column,n);t!==0&&e===0&&s.row===this.lead.row&&(s.column,this.lead.column),this.moveCursorTo(s.row,s.column+e,e===0)},this.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},this.moveCursorTo=function(t,e,i){var n=this.session.getFoldAt(t,e,1);n&&(t=n.start.row,e=n.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(t);/[\uDC00-\uDFFF]/.test(r.charAt(e))&&r.charAt(e-1)&&(this.lead.row==t&&this.lead.column==e+1?e=e-1:e=e+1),this.lead.setPosition(t,e),this.$keepDesiredColumnOnChange=!1,i||(this.$desiredColumn=null)},this.moveCursorToScreen=function(t,e,i){var n=this.session.screenToDocumentPosition(t,e);this.moveCursorTo(n.row,n.column,i)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(t){var e=this.getRange();return t?(t.start.column=e.start.column,t.start.row=e.start.row,t.end.column=e.end.column,t.end.row=e.end.row):t=e,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},this.getRangeOfMovements=function(t){var e=this.getCursor();try{t(this);var i=this.getCursor();return o.fromPoints(e,i)}catch(n){return o.fromPoints(e,e)}finally{this.moveCursorToPosition(e)}},this.toJSON=function(){if(this.rangeCount)var t=this.ranges.map(function(e){var i=e.clone();return i.isBackwards=e.cursor==e.start,i});else{var t=this.getRange();t.isBackwards=this.isBackwards()}return t},this.fromJSON=function(t){if(t.start==null)if(this.rangeList&&t.length>1){this.toSingleRange(t[0]);for(var e=t.length;e--;){var i=o.fromPoints(t[e].start,t[e].end);t[e].isBackwards&&(i.cursor=i.start),this.addRange(i,!0)}return}else t=t[0];this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},this.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var e=this.ranges.length;e--;)if(!this.ranges[e].isEqual(t[e]))return!1;return!0}}).call(l.prototype),A.Selection=l}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(_,A,k){"use strict";var b=_("./config"),S=2e3,d=function(o){this.states=o,this.regExps={},this.matchMappings={};for(var l in this.states){for(var t=this.states[l],e=[],i=0,n=this.matchMappings[l]={defaultToken:"text"},r="g",s=[],f=0;f1?v.onMatch=this.$applyToken:v.onMatch=v.token),C>1&&(/\\\d/.test(v.regex)?$=v.regex.replace(/\\([0-9]+)/g,function(g,h){return"\\"+(parseInt(h,10)+i+1)}):(C=1,$=this.removeCapturingGroups(v.regex)),!v.splitRegex&&typeof v.token!="string"&&s.push(v)),n[i]=f,i+=C,e.push($),v.onMatch||(v.onMatch=null)}}e.length||(n[0]=0,e.push("$")),s.forEach(function(g){g.splitRegex=this.createSplitterRegexp(g.regex,r)},this),this.regExps[l]=new RegExp("("+e.join(")|(")+")|($)",r)}};(function(){this.$setMaxTokenCount=function(o){S=o|0},this.$applyToken=function(o){var l=this.splitRegex.exec(o).slice(1),t=this.token.apply(this,l);if(typeof t=="string")return[{type:t,value:o}];for(var e=[],i=0,n=t.length;iv){var c=o.substring(v,u-m.length);C.type==g?C.value+=c:(C.type&&f.push(C),C={type:g,value:c})}for(var p=0;pS){for($>2*o.length&&this.reportError("infinite loop with in ace tokenizer",{startState:l,line:o});v1&&t[0]!==e&&t.unshift("#tmp",e),{tokens:f,state:t.length?t:e}},this.reportError=b.reportError}).call(d.prototype),A.Tokenizer=d}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(_,A,k){"use strict";var b=_("../lib/lang"),S=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(l,t){if(!t){for(var e in l)this.$rules[e]=l[e];return}for(var e in l){for(var i=l[e],n=0;n=this.$rowTokens.length;){if(this.$row+=1,d||(d=this.$session.getLength()),this.$row>=d)return this.$row=d-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var d=this.$rowTokens,o=this.$tokenIndex,l=d[o].start;if(l!==void 0)return l;for(l=0;o>0;)o-=1,l+=d[o].value.length;return l},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var d=this.$rowTokens[this.$tokenIndex],o=this.getCurrentTokenColumn();return new b(this.$row,o,this.$row,o+d.value.length)}}).call(S.prototype),A.TokenIterator=S}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(_,A,k){"use strict";var b=_("../../lib/oop"),S=_("../behaviour").Behaviour,d=_("../../token_iterator").TokenIterator,o=_("../../lib/lang"),l=["text","paren.rparen","rparen","paren","punctuation.operator"],t=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],e,i={},n={'"':'"',"'":"'"},r=function(v){var $=-1;if(v.multiSelect&&($=v.selection.index,i.rangeCount!=v.multiSelect.rangeCount&&(i={rangeCount:v.multiSelect.rangeCount})),i[$])return e=i[$];e=i[$]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},s=function(v,$,C,g){var h=v.end.row-v.start.row;return{text:C+$+g,selection:[0,v.start.column+1,h,v.end.column+(h?0:1)]}},f=function(v){this.add("braces","insertion",function($,C,g,h,m){var u=g.getCursorPosition(),c=h.doc.getLine(u.row);if(m=="{"){r(g);var p=g.getSelectionRange(),a=h.doc.getTextRange(p);if(a!==""&&a!=="{"&&g.getWrapBehavioursEnabled())return s(p,a,"{","}");if(f.isSaneInsertion(g,h))return/[\]\}\)]/.test(c[u.column])||g.inMultiSelectMode||v&&v.braces?(f.recordAutoInsert(g,h,"}"),{text:"{}",selection:[1,1]}):(f.recordMaybeInsert(g,h,"{"),{text:"{",selection:[1,1]})}else if(m=="}"){r(g);var w=c.substring(u.column,u.column+1);if(w=="}"){var y=h.$findOpeningBracket("}",{column:u.column+1,row:u.row});if(y!==null&&f.isAutoInsertedClosing(u,c,m))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(m==` -`||m==`\r -`){r(g);var L="";f.isMaybeInsertedClosing(u,c)&&(L=o.stringRepeat("}",e.maybeInsertedBrackets),f.clearMaybeInsertedClosing());var w=c.substring(u.column,u.column+1);if(w==="}"){var E=h.findMatchingBracket({row:u.row,column:u.column+1},"}");if(!E)return null;var M=this.$getIndent(h.getLine(E.row))}else if(L)var M=this.$getIndent(c);else{f.clearMaybeInsertedClosing();return}var R=M+h.getTabString();return{text:` -`+R+` -`+M+L,selection:[1,R.length,1,R.length]}}else f.clearMaybeInsertedClosing()}),this.add("braces","deletion",function($,C,g,h,m){var u=h.doc.getTextRange(m);if(!m.isMultiLine()&&u=="{"){r(g);var c=h.doc.getLine(m.start.row),p=c.substring(m.end.column,m.end.column+1);if(p=="}")return m.end.column++,m;e.maybeInsertedBrackets--}}),this.add("parens","insertion",function($,C,g,h,m){if(m=="("){r(g);var u=g.getSelectionRange(),c=h.doc.getTextRange(u);if(c!==""&&g.getWrapBehavioursEnabled())return s(u,c,"(",")");if(f.isSaneInsertion(g,h))return f.recordAutoInsert(g,h,")"),{text:"()",selection:[1,1]}}else if(m==")"){r(g);var p=g.getCursorPosition(),a=h.doc.getLine(p.row),w=a.substring(p.column,p.column+1);if(w==")"){var y=h.$findOpeningBracket(")",{column:p.column+1,row:p.row});if(y!==null&&f.isAutoInsertedClosing(p,a,m))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function($,C,g,h,m){var u=h.doc.getTextRange(m);if(!m.isMultiLine()&&u=="("){r(g);var c=h.doc.getLine(m.start.row),p=c.substring(m.start.column+1,m.start.column+2);if(p==")")return m.end.column++,m}}),this.add("brackets","insertion",function($,C,g,h,m){if(m=="["){r(g);var u=g.getSelectionRange(),c=h.doc.getTextRange(u);if(c!==""&&g.getWrapBehavioursEnabled())return s(u,c,"[","]");if(f.isSaneInsertion(g,h))return f.recordAutoInsert(g,h,"]"),{text:"[]",selection:[1,1]}}else if(m=="]"){r(g);var p=g.getCursorPosition(),a=h.doc.getLine(p.row),w=a.substring(p.column,p.column+1);if(w=="]"){var y=h.$findOpeningBracket("]",{column:p.column+1,row:p.row});if(y!==null&&f.isAutoInsertedClosing(p,a,m))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function($,C,g,h,m){var u=h.doc.getTextRange(m);if(!m.isMultiLine()&&u=="["){r(g);var c=h.doc.getLine(m.start.row),p=c.substring(m.start.column+1,m.start.column+2);if(p=="]")return m.end.column++,m}}),this.add("string_dquotes","insertion",function($,C,g,h,m){var u=h.$mode.$quotes||n;if(m.length==1&&u[m]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(m)!=-1)return;r(g);var c=m,p=g.getSelectionRange(),a=h.doc.getTextRange(p);if(a!==""&&(a.length!=1||!u[a])&&g.getWrapBehavioursEnabled())return s(p,a,c,c);if(!a){var w=g.getCursorPosition(),y=h.doc.getLine(w.row),L=y.substring(w.column-1,w.column),E=y.substring(w.column,w.column+1),M=h.getTokenAt(w.row,w.column),R=h.getTokenAt(w.row,w.column+1);if(L=="\\"&&M&&/escape/.test(M.type))return null;var x=M&&/string|escape/.test(M.type),F=!R||/string|escape/.test(R.type),I;if(E==c)I=x!==F,I&&/string\.end/.test(R.type)&&(I=!1);else{if(x&&!F||x&&F)return null;var P=h.$mode.tokenRe;P.lastIndex=0;var O=P.test(L);P.lastIndex=0;var N=P.test(L);if(O||N||E&&!/[\s;,.})\]\\]/.test(E))return null;var B=y[w.column-2];if(L==c&&(B==c||P.test(B)))return null;I=!0}return{text:I?c+c:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function($,C,g,h,m){var u=h.$mode.$quotes||n,c=h.doc.getTextRange(m);if(!m.isMultiLine()&&u.hasOwnProperty(c)){r(g);var p=h.doc.getLine(m.start.row),a=p.substring(m.start.column+1,m.start.column+2);if(a==c)return m.end.column++,m}})};f.isSaneInsertion=function(v,$){var C=v.getCursorPosition(),g=new d($,C.row,C.column);if(!this.$matchTokenType(g.getCurrentToken()||"text",l)){if(/[)}\]]/.test(v.session.getLine(C.row)[C.column]))return!0;var h=new d($,C.row,C.column+1);if(!this.$matchTokenType(h.getCurrentToken()||"text",l))return!1}return g.stepForward(),g.getCurrentTokenRow()!==C.row||this.$matchTokenType(g.getCurrentToken()||"text",t)},f.$matchTokenType=function(v,$){return $.indexOf(v.type||v)>-1},f.recordAutoInsert=function(v,$,C){var g=v.getCursorPosition(),h=$.doc.getLine(g.row);this.isAutoInsertedClosing(g,h,e.autoInsertedLineEnd[0])||(e.autoInsertedBrackets=0),e.autoInsertedRow=g.row,e.autoInsertedLineEnd=C+h.substr(g.column),e.autoInsertedBrackets++},f.recordMaybeInsert=function(v,$,C){var g=v.getCursorPosition(),h=$.doc.getLine(g.row);this.isMaybeInsertedClosing(g,h)||(e.maybeInsertedBrackets=0),e.maybeInsertedRow=g.row,e.maybeInsertedLineStart=h.substr(0,g.column)+C,e.maybeInsertedLineEnd=h.substr(g.column),e.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(v,$,C){return e.autoInsertedBrackets>0&&v.row===e.autoInsertedRow&&C===e.autoInsertedLineEnd[0]&&$.substr(v.column)===e.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(v,$){return e.maybeInsertedBrackets>0&&v.row===e.maybeInsertedRow&&$.substr(v.column)===e.maybeInsertedLineEnd&&$.substr(0,v.column)==e.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){e.autoInsertedLineEnd=e.autoInsertedLineEnd.substr(1),e.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){e&&(e.maybeInsertedBrackets=0,e.maybeInsertedRow=-1)},b.inherits(f,S),A.CstyleBehaviour=f}),ace.define("ace/unicode",["require","exports","module"],function(_,A,k){"use strict";for(var b=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],S=0,d=[],o=0;o2?H%m!=m-1:H%m==0}}else{if(!this.blockComment)return!1;var c=this.blockComment.start,p=this.blockComment.end,a=new RegExp("^(\\s*)(?:"+t.escapeRegExp(c)+")"),w=new RegExp("(?:"+t.escapeRegExp(p)+")\\s*$"),y=function(I,P){E(I,P)||(!C||/\S/.test(I))&&($.insertInLine({row:P,column:I.length},p),$.insertInLine({row:P,column:h},c))},L=function(I,P){var O;(O=I.match(w))&&$.removeInLine(P,I.length-O[0].length,I.length),(O=I.match(a))&&$.removeInLine(P,O[1].length,O[0].length)},E=function(I,P){if(a.test(I))return!0;for(var O=s.getTokens(P),N=0;NI.length&&(F=I.length)}),h==1/0&&(h=F,C=!1,g=!1),u&&h%m!=0&&(h=Math.floor(h/m)*m),x(g?L:y)},this.toggleBlockComment=function(r,s,f,v){var $=this.blockComment;if(!!$){!$.start&&$[0]&&($=$[0]);var C=new e(s,v.row,v.column),g=C.getCurrentToken(),h=s.selection,m=s.selection.toOrientedRange(),u,c;if(g&&/comment/.test(g.type)){for(var p,a;g&&/comment/.test(g.type);){var w=g.value.indexOf($.start);if(w!=-1){var y=C.getCurrentTokenRow(),L=C.getCurrentTokenColumn()+w;p=new i(y,L,y,L+$.start.length);break}g=C.stepBackward()}for(var C=new e(s,v.row,v.column),g=C.getCurrentToken();g&&/comment/.test(g.type);){var w=g.value.indexOf($.end);if(w!=-1){var y=C.getCurrentTokenRow(),L=C.getCurrentTokenColumn()+w;a=new i(y,L,y,L+$.end.length);break}g=C.stepForward()}a&&s.remove(a),p&&(s.remove(p),u=p.start.row,c=-$.start.length)}else c=$.start.length,u=f.start.row,s.insert(f.end,$.end),s.insert(f.start,$.start);m.start.row==u&&(m.start.column+=c),m.end.row==u&&(m.end.column+=c),s.selection.fromOrientedRange(m)}},this.getNextLineIndent=function(r,s,f){return this.$getIndent(s)},this.checkOutdent=function(r,s,f){return!1},this.autoOutdent=function(r,s,f){},this.$getIndent=function(r){return r.match(/^\s*/)[0]},this.createWorker=function(r){return null},this.createModeDelegates=function(r){this.$embeds=[],this.$modes={};for(var s in r)if(r[s]){var f=r[s],v=f.prototype.$id,$=b.$modes[v];$||(b.$modes[v]=$=new f),b.$modes[s]||(b.$modes[s]=$),this.$embeds.push(s),this.$modes[s]=$}for(var C=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],s=0;s=0&&l.row=0&&l.column<=o[l.row].length}function d(o,l){l.action!="insert"&&l.action!="remove"&&b(l,"delta.action must be 'insert' or 'remove'"),l.lines instanceof Array||b(l,"delta.lines must be an Array"),(!l.start||!l.end)&&b(l,"delta.start/end must be an present");var t=l.start;S(o,l.start)||b(l,"delta.start must be contained in document");var e=l.end;l.action=="remove"&&!S(o,e)&&b(l,"delta.end must contained in document for 'remove' actions");var i=e.row-t.row,n=e.column-(i==0?t.column:0);(i!=l.lines.length-1||l.lines[i].length!=n)&&b(l,"delta.range must match delta lines")}A.applyDelta=function(o,l,t){var e=l.start.row,i=l.start.column,n=o[e]||"";switch(l.action){case"insert":var r=l.lines;if(r.length===1)o[e]=n.substring(0,i)+l.lines[0]+n.substring(i);else{var s=[e,1].concat(l.lines);o.splice.apply(o,s),o[e]=n.substring(0,i)+o[e],o[e+l.lines.length-1]+=n.substring(i)}break;case"remove":var f=l.end.column,v=l.end.row;e===v?o[e]=n.substring(0,i)+n.substring(f):o.splice(e,v-e+1,n.substring(0,i)+o[v].substring(f));break}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./lib/event_emitter").EventEmitter,d=A.Anchor=function(o,l,t){this.$onChange=this.onChange.bind(this),this.attach(o),typeof t=="undefined"?this.setPosition(l.row,l.column):this.setPosition(l,t)};(function(){b.implement(this,S),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row)&&!(t.start.row>this.row)){var e=l(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(e.row,e.column,!0)}};function o(t,e,i){var n=i?t.column<=e.column:t.column=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):t<0?(i.row=0,i.column=0):(i.row=t,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,e))),e<0&&(i.column=0),i}}).call(d.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./apply_delta").applyDelta,d=_("./lib/event_emitter").EventEmitter,o=_("./range").Range,l=_("./anchor").Anchor,t=function(e){this.$lines=[""],e.length===0?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){b.implement(this,d),this.setValue=function(e){var i=this.getLength()-1;this.remove(new o(0,0,i,this.getLine(i).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,i){return new l(this,e,i)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,` -`).split(` -`)}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var i=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=i?i[1]:` -`,this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r -`;case"unix":return` -`;default:return this.$autoNewLine||` -`}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e==`\r -`||e=="\r"||e==` -`},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,i){return this.$lines.slice(e,i+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var i;if(e.start.row===e.end.row)i=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{i=this.getLines(e.start.row,e.end.row),i[0]=(i[0]||"").substring(e.start.column);var n=i.length-1;e.end.row-e.start.row==n&&(i[n]=i[n].substring(0,e.end.column))}return i},this.insertLines=function(e,i){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,i)},this.removeLines=function(e,i){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,i)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,i){return this.getLength()<=1&&this.$detectNewLine(i),this.insertMergedLines(e,this.$split(i))},this.insertInLine=function(e,i){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+i.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[i]},!0),this.clonePos(r)},this.clippedPos=function(e,i){var n=this.getLength();e===void 0?e=n:e<0?e=0:e>=n&&(e=n-1,i=void 0);var r=this.getLine(e);return i==null&&(i=r.length),i=Math.min(Math.max(i,0),r.length),{row:e,column:i}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,i){return{row:e,column:i}},this.$clipPosition=function(e){var i=this.getLength();return e.row>=i?(e.row=Math.max(0,i-1),e.column=this.getLine(i-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,i){e=Math.min(Math.max(e,0),this.getLength());var n=0;e0,r=i=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,i){if(e instanceof o||(e=o.fromPoints(e.start,e.end)),i.length===0&&e.isEmpty())return e.start;if(i==this.getTextRange(e))return e.end;this.remove(e);var n;return i?n=this.insert(e.start,i):n=e.start,n},this.applyDeltas=function(e){for(var i=0;i=0;i--)this.revertDelta(e[i])},this.applyDelta=function(e,i){var n=e.action=="insert";(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(S(this.$lines,e,i),this._signal("change",e)))},this.$safeApplyDelta=function(e){var i=this.$lines.length;(e.action=="remove"&&e.start.row20){t.running=setTimeout(t.$worker,20);break}}t.currentLine=i,n==-1&&(n=i),s<=n&&t.fireUpdateEvent(s,n)}}};(function(){b.implement(this,S),this.setTokenizer=function(o){this.tokenizer=o,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(o){this.doc=o,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(o,l){var t={first:o,last:l};this._signal("update",{data:t})},this.start=function(o){this.currentLine=Math.min(o||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(o){var l=o.start.row,t=o.end.row-l;if(t===0)this.lines[l]=null;else if(o.action=="remove")this.lines.splice(l,t+1,null),this.states.splice(l,t+1,null);else{var e=Array(t+1);e.unshift(l,1),this.lines.splice.apply(this.lines,e),this.states.splice.apply(this.states,e)}this.currentLine=Math.min(l,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(o){return this.lines[o]||this.$tokenizeRow(o)},this.getState=function(o){return this.currentLine==o&&this.$tokenizeRow(o),this.states[o]||"start"},this.$tokenizeRow=function(o){var l=this.doc.getLine(o),t=this.states[o-1],e=this.tokenizer.getLineTokens(l,t,o);return this.states[o]+""!=e.state+""?(this.states[o]=e.state,this.lines[o+1]=null,this.currentLine>o+1&&(this.currentLine=o+1)):this.currentLine==o&&(this.currentLine=o+1),this.lines[o]=e.tokens}}).call(d.prototype),A.BackgroundTokenizer=d}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(_,A,k){"use strict";var b=_("./lib/lang"),S=_("./lib/oop"),d=_("./range").Range,o=function(l,t,e){this.setRegexp(l),this.clazz=t,this.type=e||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(l){this.regExp+""!=l+""&&(this.regExp=l,this.cache=[])},this.update=function(l,t,e,i){if(!!this.regExp)for(var n=i.firstRow,r=i.lastRow,s=n;s<=r;s++){var f=this.cache[s];f==null&&(f=b.getMatchOffsets(e.getLine(s),this.regExp),f.length>this.MAX_RANGES&&(f=f.slice(0,this.MAX_RANGES)),f=f.map(function($){return new d(s,$.offset,s,$.offset+$.length)}),this.cache[s]=f.length?f:"");for(var v=f.length;v--;)t.drawSingleLineMarker(l,f[v].toScreenRange(e),this.clazz,i)}}}).call(o.prototype),A.SearchHighlight=o}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(_,A,k){"use strict";var b=_("../range").Range;function S(d,o){this.foldData=d,Array.isArray(o)?this.folds=o:o=this.folds=[o];var l=o[o.length-1];this.range=new b(o[0].start.row,o[0].start.column,l.end.row,l.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(t){t.setFoldLine(this)},this)}(function(){this.shiftRow=function(d){this.start.row+=d,this.end.row+=d,this.folds.forEach(function(o){o.start.row+=d,o.end.row+=d})},this.addFold=function(d){if(d.sameRow){if(d.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(d),this.folds.sort(function(o,l){return-o.range.compareEnd(l.start.row,l.start.column)}),this.range.compareEnd(d.start.row,d.start.column)>0?(this.end.row=d.end.row,this.end.column=d.end.column):this.range.compareStart(d.end.row,d.end.column)<0&&(this.start.row=d.start.row,this.start.column=d.start.column)}else if(d.start.row==this.end.row)this.folds.push(d),this.end.row=d.end.row,this.end.column=d.end.column;else if(d.end.row==this.start.row)this.folds.unshift(d),this.start.row=d.start.row,this.start.column=d.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");d.foldLine=this},this.containsRow=function(d){return d>=this.start.row&&d<=this.end.row},this.walk=function(d,o,l){var t=0,e=this.folds,i,n,r,s=!0;o==null&&(o=this.end.row,l=this.end.column);for(var f=0;f0)){var s=S(o,n.start);return r===0?l&&s!==0?-i-2:i:s>0||s===0&&!l?i:-i-1}}return-i-1},this.add=function(o){var l=!o.isEmpty(),t=this.pointIndex(o.start,l);t<0&&(t=-t-1);var e=this.pointIndex(o.end,l,t);return e<0?e=-e-1:e++,this.ranges.splice(t,e-t,o)},this.addList=function(o){for(var l=[],t=o.length;t--;)l.push.apply(l,this.add(o[t]));return l},this.substractPoint=function(o){var l=this.pointIndex(o);if(l>=0)return this.ranges.splice(l,1)},this.merge=function(){var o=[],l=this.ranges;l=l.sort(function(r,s){return S(r.start,s.start)});for(var t=l[0],e,i=1;i=0},this.containsPoint=function(o){return this.pointIndex(o)>=0},this.rangeAtPoint=function(o){var l=this.pointIndex(o);if(l>=0)return this.ranges[l]},this.clipRows=function(o,l){var t=this.ranges;if(t[0].start.row>l||t[t.length-1].start.row=e)break}if(o.action=="insert")for(var v=i-e,$=-l.column+t.column;re)break;if(f.start.row==e&&f.start.column>=l.column&&(f.start.column==l.column&&this.$bias<=0||(f.start.column+=$,f.start.row+=v)),f.end.row==e&&f.end.column>=l.column){if(f.end.column==l.column&&this.$bias<0)continue;f.end.column==l.column&&$>0&&rf.start.column&&f.end.column==n[r+1].start.column&&(f.end.column-=$),f.end.column+=$,f.end.row+=v}}else for(var v=e-i,$=l.column-t.column;ri)break;f.end.rowl.column)&&(f.end.column=l.column,f.end.row=l.row):(f.end.column+=$,f.end.row+=v):f.end.row>i&&(f.end.row+=v),f.start.rowl.column)&&(f.start.column=l.column,f.start.row=l.row):(f.start.column+=$,f.start.row+=v):f.start.row>i&&(f.start.row+=v)}if(v!=0&&r=t)return r;if(r.end.row>t)return null}return null},this.getNextFoldLine=function(t,e){var i=this.$foldData,n=0;for(e&&(n=i.indexOf(e)),n==-1&&(n=0),n;n=t)return r}return null},this.getFoldedRowCount=function(t,e){for(var i=this.$foldData,n=e-t+1,r=0;r=e){v=t?n-=e-v:n=0);break}else f>=t&&(v>=t?n-=f-v:n-=f-t+1)}return n},this.$addFoldLine=function(t){return this.$foldData.push(t),this.$foldData.sort(function(e,i){return e.start.row-i.start.row}),t},this.addFold=function(t,e){var i=this.$foldData,n=!1,r;t instanceof d?r=t:(r=new d(e,t),r.collapseChildren=e.collapseChildren),this.$clipRangeToDocument(r.range);var s=r.start.row,f=r.start.column,v=r.end.row,$=r.end.column,C=this.getFoldAt(s,f,1),g=this.getFoldAt(v,$,-1);if(C&&g==C)return C.addSubFold(r);C&&!C.range.isStart(s,f)&&this.removeFold(C),g&&!g.range.isEnd(v,$)&&this.removeFold(g);var h=this.getFoldsInRange(r.range);h.length>0&&(this.removeFolds(h),r.collapseChildren||h.forEach(function(p){r.addSubFold(p)}));for(var m=0;m0&&this.foldAll(t.start.row+1,t.end.row,t.collapseChildren-1),t.subFolds=[]},this.expandFolds=function(t){t.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(t,e){var i,n;if(t==null)i=new b(0,0,this.getLength(),0),e==null&&(e=!0);else if(typeof t=="number")i=new b(t,0,t,this.getLine(t).length);else if("row"in t)i=b.fromPoints(t,t);else{if(Array.isArray(t))return n=[],t.forEach(function(s){n=n.concat(this.unfold(s))},this),n;i=t}n=this.getFoldsInRangeList(i);for(var r=n;n.length==1&&b.comparePoints(n[0].start,i.start)<0&&b.comparePoints(n[0].end,i.end)>0;)this.expandFolds(n),n=this.getFoldsInRangeList(i);if(e!=!1?this.removeFolds(n):this.expandFolds(n),r.length)return r},this.isRowFolded=function(t,e){return!!this.getFoldLine(t,e)},this.getRowFoldEnd=function(t,e){var i=this.getFoldLine(t,e);return i?i.end.row:t},this.getRowFoldStart=function(t,e){var i=this.getFoldLine(t,e);return i?i.start.row:t},this.getFoldDisplayLine=function(t,e,i,n,r){n==null&&(n=t.start.row),r==null&&(r=0),e==null&&(e=t.end.row),i==null&&(i=this.getLine(e).length);var s=this.doc,f="";return t.walk(function(v,$,C,g){if(!($$)break;while(r&&f.test(r.type));r=n.stepBackward()}else r=n.getCurrentToken();return v.end.row=n.getCurrentTokenRow(),v.end.column=n.getCurrentTokenColumn()+r.value.length-2,v}},this.foldAll=function(t,e,i,n){i==null&&(i=1e5);var r=this.foldWidgets;if(!!r){e=e||this.getLength(),t=t||0;for(var s=t;s=t&&(s=f.end.row,f.collapseChildren=i,this.addFold("...",f))}}},this.foldToLevel=function(t){for(this.foldAll();t-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var t=this;this.foldAll(null,null,null,function(e){for(var i=t.getTokens(e),n=0;n=0;){var s=i[n];if(s==null&&(s=i[n]=this.getFoldWidget(n)),s=="start"){var f=this.getFoldWidgetRange(n);if(r||(r=f),f&&f.end.row>=t)break}n--}return{range:n!==-1&&f,firstRange:r}},this.onFoldWidgetClick=function(t,e){e=e.domEvent;var i={children:e.shiftKey,all:e.ctrlKey||e.metaKey,siblings:e.altKey},n=this.$toggleFoldWidget(t,i);if(!n){var r=e.target||e.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(t,e){if(!!this.getFoldWidget){var i=this.getFoldWidget(t),n=this.getLine(t),r=i==="end"?-1:1,s=this.getFoldAt(t,r===-1?0:n.length,r);if(s)return e.children||e.all?this.removeFold(s):this.expandFold(s),s;var f=this.getFoldWidgetRange(t,!0);if(f&&!f.isMultiLine()&&(s=this.getFoldAt(f.start.row,f.start.column,1),s&&f.isEqual(s.range)))return this.removeFold(s),s;if(e.siblings){var v=this.getParentFoldRangeData(t);if(v.range)var $=v.range.start.row+1,C=v.range.end.row;this.foldAll($,C,e.all?1e4:0)}else e.children?(C=f?f.end.row:this.getLength(),this.foldAll(t+1,C,e.all?1e4:0)):f&&(e.all&&(f.collapseChildren=1e4),this.addFold("...",f));return f}},this.toggleFoldWidget=function(t){var e=this.selection.getCursor().row;e=this.getRowFoldStart(e);var i=this.$toggleFoldWidget(e,{});if(!i){var n=this.getParentFoldRangeData(e,!0);if(i=n.range||n.firstRange,i){e=i.start.row;var r=this.getFoldAt(e,this.getLine(e).length,1);r?this.removeFold(r):this.addFold("...",i)}}},this.updateFoldWidgets=function(t){var e=t.start.row,i=t.end.row-e;if(i===0)this.foldWidgets[e]=null;else if(t.action=="remove")this.foldWidgets.splice(e,i+1,null);else{var n=Array(i+1);n.unshift(e,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(t){var e=t.data;e.first!=e.last&&this.foldWidgets.length>e.first&&this.foldWidgets.splice(e.first,this.foldWidgets.length)}}A.Folding=l}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(_,A,k){"use strict";var b=_("../token_iterator").TokenIterator,S=_("../range").Range;function d(){this.findMatchingBracket=function(o,l){if(o.column==0)return null;var t=l||this.getLine(o.row).charAt(o.column-1);if(t=="")return null;var e=t.match(/([\(\[\{])|([\)\]\}])/);return e?e[1]?this.$findClosingBracket(e[1],o):this.$findOpeningBracket(e[2],o):null},this.getBracketRange=function(o){var l=this.getLine(o.row),t=!0,e,i=l.charAt(o.column-1),n=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(n||(i=l.charAt(o.column),o={row:o.row,column:o.column+1},n=i&&i.match(/([\(\[\{])|([\)\]\}])/),t=!1),!n)return null;if(n[1]){var r=this.$findClosingBracket(n[1],o);if(!r)return null;e=S.fromPoints(o,r),t||(e.end.column++,e.start.column--),e.cursor=e.end}else{var r=this.$findOpeningBracket(n[2],o);if(!r)return null;e=S.fromPoints(r,o),t||(e.start.column++,e.end.column--),e.cursor=e.start}return e},this.getMatchingBracketRanges=function(o){var l=this.getLine(o.row),t=l.charAt(o.column-1),e=t&&t.match(/([\(\[\{])|([\)\]\}])/);if(e||(t=l.charAt(o.column),o={row:o.row,column:o.column+1},e=t&&t.match(/([\(\[\{])|([\)\]\}])/)),!e)return null;var i=new S(o.row,o.column-1,o.row,o.column),n=e[1]?this.$findClosingBracket(e[1],o):this.$findOpeningBracket(e[2],o);if(!n)return[i];var r=new S(n.row,n.column,n.row,n.column+1);return[i,r]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(o,l,t){var e=this.$brackets[o],i=1,n=new b(this,l.row,l.column),r=n.getCurrentToken();if(r||(r=n.stepForward()),!!r){t||(t=new RegExp("(\\.?"+r.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var s=l.column-n.getCurrentTokenColumn()-2,f=r.value;;){for(;s>=0;){var v=f.charAt(s);if(v==e){if(i-=1,i==0)return{row:n.getCurrentTokenRow(),column:s+n.getCurrentTokenColumn()}}else v==o&&(i+=1);s-=1}do r=n.stepBackward();while(r&&!t.test(r.type));if(r==null)break;f=r.value,s=f.length-1}return null}},this.$findClosingBracket=function(o,l,t){var e=this.$brackets[o],i=1,n=new b(this,l.row,l.column),r=n.getCurrentToken();if(r||(r=n.stepForward()),!!r){t||(t=new RegExp("(\\.?"+r.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var s=l.column-n.getCurrentTokenColumn();;){for(var f=r.value,v=f.length;sy&&(this.$docRowCache.splice(y,w),this.$screenRowCache.splice(y,w))},this.$getRowCacheIndex=function(a,w){for(var y=0,L=a.length-1;y<=L;){var E=y+L>>1,M=a[E];if(w>M)y=E+1;else if(w=w));M++);return L=y[M],L?(L.index=M,L.start=E-L.value.length,L):null},this.setUndoManager=function(a){if(this.$undoManager=a,this.$informUndoManager&&this.$informUndoManager.cancel(),a){var w=this;a.addSession(this),this.$syncInformUndoManager=function(){w.$informUndoManager.cancel(),w.mergeUndoDeltas=!1},this.$informUndoManager=S.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?S.stringRepeat(" ",this.getTabSize()):" "},this.setUseSoftTabs=function(a){this.setOption("useSoftTabs",a)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(a){this.setOption("tabSize",a)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(a){return this.$useSoftTabs&&a.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(a){this.setOption("navigateWithinSoftTabs",a)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(a){this.setOption("overwrite",a)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(a,w){this.$decorations[a]||(this.$decorations[a]=""),this.$decorations[a]+=" "+w,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(a,w){this.$decorations[a]=(this.$decorations[a]||"").replace(" "+w,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(a){this.$breakpoints=[];for(var w=0;w0&&(L=!!y.charAt(w-1).match(this.tokenRe)),L||(L=!!y.charAt(w).match(this.tokenRe)),L)var E=this.tokenRe;else if(/^\s+$/.test(y.slice(w-1,w+1)))var E=/\s/;else var E=this.nonTokenRe;var M=w;if(M>0){do M--;while(M>=0&&y.charAt(M).match(E));M++}for(var R=w;Ra&&(a=w.screenWidth)}),this.lineWidgetWidth=a},this.$computeWidth=function(a){if(this.$modified||a){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var w=this.doc.getAllLines(),y=this.$rowLengthCache,L=0,E=0,M=this.$foldData[E],R=M?M.start.row:1/0,x=w.length,F=0;FR){if(F=M.end.row+1,F>=x)break;M=this.$foldData[E++],R=M?M.start.row:1/0}y[F]==null&&(y[F]=this.$getStringScreenWidth(w[F])[0]),y[F]>L&&(L=y[F])}this.screenWidth=L}},this.getLine=function(a){return this.doc.getLine(a)},this.getLines=function(a,w){return this.doc.getLines(a,w)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(a){return this.doc.getTextRange(a||this.selection.getRange())},this.insert=function(a,w){return this.doc.insert(a,w)},this.remove=function(a){return this.doc.remove(a)},this.removeFullLines=function(a,w){return this.doc.removeFullLines(a,w)},this.undoChanges=function(a,w){if(!!a.length){this.$fromUndo=!0;for(var y=a.length-1;y!=-1;y--){var L=a[y];L.action=="insert"||L.action=="remove"?this.doc.revertDelta(L):L.folds&&this.addFolds(L.folds)}!w&&this.$undoSelect&&(a.selectionBefore?this.selection.fromJSON(a.selectionBefore):this.selection.setRange(this.$getUndoSelection(a,!0))),this.$fromUndo=!1}},this.redoChanges=function(a,w){if(!!a.length){this.$fromUndo=!0;for(var y=0;ya.end.column&&(M.start.column+=x),M.end.row==a.end.row&&M.end.column>a.end.column&&(M.end.column+=x)),R&&M.start.row>=a.end.row&&(M.start.row+=R,M.end.row+=R)}if(M.end=this.insert(M.start,L),E.length){var F=a.start,I=M.start,R=I.row-F.row,x=I.column-F.column;this.addFolds(E.map(function(N){return N=N.clone(),N.start.row==F.row&&(N.start.column+=x),N.end.row==F.row&&(N.end.column+=x),N.start.row+=R,N.end.row+=R,N}))}return M},this.indentRows=function(a,w,y){y=y.replace(/\t/g,this.getTabString());for(var L=a;L<=w;L++)this.doc.insertInLine({row:L,column:0},y)},this.outdentRows=function(a){for(var w=a.collapseRows(),y=new i(0,0,0,0),L=this.getTabSize(),E=w.start.row;E<=w.end.row;++E){var M=this.getLine(E);y.start.row=E,y.end.row=E;for(var R=0;R0){var L=this.getRowFoldEnd(w+y);if(L>this.doc.getLength()-1)return 0;var E=L-w}else{a=this.$clipRowToDocument(a),w=this.$clipRowToDocument(w);var E=w-a+1}var M=new i(a,0,w,Number.MAX_VALUE),R=this.getFoldsInRange(M).map(function(F){return F=F.clone(),F.start.row+=E,F.end.row+=E,F}),x=y==0?this.doc.getLines(a,w):this.doc.removeFullLines(a,w);return this.doc.insertFullLines(a+E,x),R.length&&this.addFolds(R),E},this.moveLinesUp=function(a,w){return this.$moveLines(a,w,-1)},this.moveLinesDown=function(a,w){return this.$moveLines(a,w,1)},this.duplicateLines=function(a,w){return this.$moveLines(a,w,0)},this.$clipRowToDocument=function(a){return Math.max(0,Math.min(a,this.doc.getLength()-1))},this.$clipColumnToRow=function(a,w){return w<0?0:Math.min(this.doc.getLine(a).length,w)},this.$clipPositionToDocument=function(a,w){if(w=Math.max(0,w),a<0)a=0,w=0;else{var y=this.doc.getLength();a>=y?(a=y-1,w=this.doc.getLine(y-1).length):w=Math.min(this.doc.getLine(a).length,w)}return{row:a,column:w}},this.$clipRangeToDocument=function(a){a.start.row<0?(a.start.row=0,a.start.column=0):a.start.column=this.$clipColumnToRow(a.start.row,a.start.column);var w=this.doc.getLength()-1;return a.end.row>w?(a.end.row=w,a.end.column=this.doc.getLine(w).length):a.end.column=this.$clipColumnToRow(a.end.row,a.end.column),a},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(a){if(a!=this.$useWrapMode){if(this.$useWrapMode=a,this.$modified=!0,this.$resetRowCache(0),a){var w=this.getLength();this.$wrapData=Array(w),this.$updateWrapData(0,w-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(a,w){(this.$wrapLimitRange.min!==a||this.$wrapLimitRange.max!==w)&&(this.$wrapLimitRange={min:a,max:w},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(a,w){var y=this.$wrapLimitRange;y.max<0&&(y={min:w,max:w});var L=this.$constrainWrapLimit(a,y.min,y.max);return L!=this.$wrapLimit&&L>1?(this.$wrapLimit=L,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},this.$constrainWrapLimit=function(a,w,y){return w&&(a=Math.max(w,a)),y&&(a=Math.min(y,a)),a},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(a){this.setWrapLimitRange(a,a)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(a){var w=this.$useWrapMode,y=a.action,L=a.start,E=a.end,M=L.row,R=E.row,x=R-M,F=null;if(this.$updating=!0,x!=0)if(y==="remove"){this[w?"$wrapData":"$rowLengthCache"].splice(M,x);var I=this.$foldData;F=this.getFoldsInRange(a),this.removeFolds(F);var P=this.getFoldLine(E.row),O=0;if(P){P.addRemoveChars(E.row,E.column,L.column-E.column),P.shiftRow(-x);var N=this.getFoldLine(M);N&&N!==P&&(N.merge(P),P=N),O=I.indexOf(P)+1}for(O;O=E.row&&P.shiftRow(-x)}R=M}else{var B=Array(x);B.unshift(M,0);var G=w?this.$wrapData:this.$rowLengthCache;G.splice.apply(G,B);var I=this.$foldData,P=this.getFoldLine(M),O=0;if(P){var H=P.range.compareInside(L.row,L.column);H==0?(P=P.split(L.row,L.column),P&&(P.shiftRow(x),P.addRemoveChars(R,0,E.column-L.column))):H==-1&&(P.addRemoveChars(M,0,E.column-L.column),P.shiftRow(x)),O=I.indexOf(P)+1}for(O;O=M&&P.shiftRow(x)}}else{x=Math.abs(a.start.column-a.end.column),y==="remove"&&(F=this.getFoldsInRange(a),this.removeFolds(F),x=-x);var P=this.getFoldLine(M);P&&P.addRemoveChars(M,L.column,x)}return w&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,w?this.$updateWrapData(M,R):this.$updateRowLengthCache(M,R),F},this.$updateRowLengthCache=function(a,w,y){this.$rowLengthCache[a]=null,this.$rowLengthCache[w]=null},this.$updateWrapData=function(a,w){var y=this.doc.getAllLines(),L=this.getTabSize(),E=this.$wrapData,M=this.$wrapLimit,R,x,F=a;for(w=Math.min(w,y.length-1);F<=w;)x=this.getFoldLine(F,x),x?(R=[],x.walk(function(I,P,O,N){var B;if(I!=null){B=this.$getDisplayTokens(I,R.length),B[0]=C;for(var G=1;Gw-N;){var B=M+w-N;if(a[B-1]>=m&&a[B]>=m){O(B);continue}if(a[B]==C||a[B]==g){for(B;B!=M-1&&a[B]!=C;B--);if(B>M){O(B);continue}for(B=M+w,B;B>2)),M-1);B>G&&a[B]G&&a[B]G&&a[B]==h;)B--}else for(;B>G&&a[B]G){O(++B);continue}B=M+w,a[B]==$&&B--,O(B-N)}return L},this.$getDisplayTokens=function(a,w){var y=[],L;w=w||0;for(var E=0;E39&&M<48||M>57&&M<64?y.push(h):M>=4352&&p(M)?y.push(v,$):y.push(v)}return y},this.$getStringScreenWidth=function(a,w,y){if(w==0)return[0,0];w==null&&(w=1/0),y=y||0;var L,E;for(E=0;E=4352&&p(L)?y+=2:y+=1,!(y>w));E++);return[y,E]},this.lineWidgets=null,this.getRowLength=function(a){var w=1;return this.lineWidgets&&(w+=this.lineWidgets[a]&&this.lineWidgets[a].rowCount||0),!this.$useWrapMode||!this.$wrapData[a]?w:this.$wrapData[a].length+w},this.getRowLineCount=function(a){return!this.$useWrapMode||!this.$wrapData[a]?1:this.$wrapData[a].length+1},this.getRowWrapIndent=function(a){if(this.$useWrapMode){var w=this.screenToDocumentPosition(a,Number.MAX_VALUE),y=this.$wrapData[w.row];return y.length&&y[0]=0)var x=I[P],E=this.$docRowCache[P],N=a>I[O-1];else var N=!O;for(var B=this.getLength()-1,G=this.getNextFoldLine(E),H=G?G.start.row:1/0;x<=a&&(F=this.getRowLength(E),!(x+F>a||E>=B));)x+=F,E++,E>H&&(E=G.end.row+1,G=this.getNextFoldLine(E,G),H=G?G.start.row:1/0),N&&(this.$docRowCache.push(E),this.$screenRowCache.push(x));if(G&&G.start.row<=E)L=this.getFoldDisplayLine(G),E=G.start.row;else{if(x+F<=a||E>B)return{row:B,column:this.getLine(B).length};L=this.getLine(E),G=null}var te=0,j=Math.floor(a-x);if(this.$useWrapMode){var ie=this.$wrapData[E];ie&&(R=ie[j],j>0&&ie.length&&(te=ie.indent,M=ie[j-1]||ie[ie.length-1],L=L.substring(M)))}return y!==void 0&&this.$bidiHandler.isBidiRow(x+j,E,j)&&(w=this.$bidiHandler.offsetToCol(y)),M+=this.$getStringScreenWidth(L,w-te)[1],this.$useWrapMode&&M>=R&&(M=R-1),G?G.idxToPosition(M):{row:E,column:M}},this.documentToScreenPosition=function(a,w){if(typeof w=="undefined")var y=this.$clipPositionToDocument(a.row,a.column);else y=this.$clipPositionToDocument(a,w);a=y.row,w=y.column;var L=0,E=null,M=null;M=this.getFoldAt(a,w,1),M&&(a=M.start.row,w=M.start.column);var R,x=0,F=this.$docRowCache,I=this.$getRowCacheIndex(F,a),P=F.length;if(P&&I>=0)var x=F[I],L=this.$screenRowCache[I],O=a>F[P-1];else var O=!P;for(var N=this.getNextFoldLine(x),B=N?N.start.row:1/0;x=B){if(R=N.end.row+1,R>a)break;N=this.getNextFoldLine(R,N),B=N?N.start.row:1/0}else R=x+1;L+=this.getRowLength(x),x=R,O&&(this.$docRowCache.push(x),this.$screenRowCache.push(L))}var G="";N&&x>=B?(G=this.getFoldDisplayLine(N,a,w),E=N.start.row):(G=this.getLine(a).substring(0,w),E=a);var H=0;if(this.$useWrapMode){var te=this.$wrapData[E];if(te){for(var j=0;G.length>=te[j];)L++,j++;G=G.substring(te[j-1]||0,G.length),H=j>0?te.indent:0}}return this.lineWidgets&&this.lineWidgets[x]&&this.lineWidgets[x].rowsAbove&&(L+=this.lineWidgets[x].rowsAbove),{row:L,column:H+this.$getStringScreenWidth(G)[0]}},this.documentToScreenColumn=function(a,w){return this.documentToScreenPosition(a,w).column},this.documentToScreenRow=function(a,w){return this.documentToScreenPosition(a,w).row},this.getScreenLength=function(){var a=0,w=null;if(this.$useWrapMode)for(var E=this.$wrapData.length,M=0,L=0,w=this.$foldData[L++],R=w?w.start.row:1/0;MR&&(M=w.end.row+1,w=this.$foldData[L++],R=w?w.start.row:1/0)}else{a=this.getLength();for(var y=this.$foldData,L=0;Ly));M++);return[L,M]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},this.isFullWidth=p;function p(a){return a<4352?!1:a>=4352&&a<=4447||a>=4515&&a<=4519||a>=4602&&a<=4607||a>=9001&&a<=9002||a>=11904&&a<=11929||a>=11931&&a<=12019||a>=12032&&a<=12245||a>=12272&&a<=12283||a>=12288&&a<=12350||a>=12353&&a<=12438||a>=12441&&a<=12543||a>=12549&&a<=12589||a>=12593&&a<=12686||a>=12688&&a<=12730||a>=12736&&a<=12771||a>=12784&&a<=12830||a>=12832&&a<=12871||a>=12880&&a<=13054||a>=13056&&a<=19903||a>=19968&&a<=42124||a>=42128&&a<=42182||a>=43360&&a<=43388||a>=44032&&a<=55203||a>=55216&&a<=55238||a>=55243&&a<=55291||a>=63744&&a<=64255||a>=65040&&a<=65049||a>=65072&&a<=65106||a>=65108&&a<=65126||a>=65128&&a<=65131||a>=65281&&a<=65376||a>=65504&&a<=65510}}.call(f.prototype),_("./edit_session/folding").Folding.call(f.prototype),_("./edit_session/bracket_match").BracketMatch.call(f.prototype),o.defineOptions(f.prototype,"session",{wrap:{set:function(v){if(!v||v=="off"?v=!1:v=="free"?v=!0:v=="printMargin"?v=-1:typeof v=="string"&&(v=parseInt(v,10)||!1),this.$wrap!=v)if(this.$wrap=v,!v)this.setUseWrapMode(!1);else{var $=typeof v=="number"?v:null;this.setWrapLimitRange($,$),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(v){v=v=="auto"?this.$mode.type!="text":v!="text",v!=this.$wrapAsCode&&(this.$wrapAsCode=v,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(v){this.$useWorker=v,this.$stopWorker(),v&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(v){v=parseInt(v),v>0&&this.$tabSize!==v&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=v,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(v){this.setFoldStyle(v)},handlesSet:!0},overwrite:{set:function(v){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(v){this.doc.setNewLineMode(v)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(v){this.setMode(v)},get:function(){return this.$modeId},handlesSet:!0}}),A.EditSession=f}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(_,A,k){"use strict";var b=_("./lib/lang"),S=_("./lib/oop"),d=_("./range").Range,o=function(){this.$options={}};(function(){this.set=function(t){return S.mixin(this.$options,t),this},this.getOptions=function(){return b.copyObject(this.$options)},this.setOptions=function(t){this.$options=t},this.find=function(t){var e=this.$options,i=this.$matchIterator(t,e);if(!i)return!1;var n=null;return i.forEach(function(r,s,f,v){return n=new d(r,s,f,v),s==v&&e.start&&e.start.start&&e.skipCurrent!=!1&&n.isEqual(e.start)?(n=null,!1):!0}),n},this.findAll=function(t){var e=this.$options;if(!e.needle)return[];this.$assembleRegExp(e);var i=e.range,n=i?t.getLines(i.start.row,i.end.row):t.doc.getAllLines(),r=[],s=e.re;if(e.$isMultiLine){var f=s.length,v=n.length-f,$;e:for(var C=s.offset||0;C<=v;C++){for(var g=0;gu||(r.push($=new d(C,u,C+f-1,c)),f>2&&(C=C+f-2))}}else for(var p=0;pL&&r[g].end.row==i.end.row;)g--;for(r=r.slice(p,g+1),p=0,g=r.length;p=v;u--)if(h(u,Number.MAX_VALUE,m))return;if(e.wrap!=!1){for(u=$,v=f.row;u>=v;u--)if(h(u,Number.MAX_VALUE,m))return}}};else var C=function(u){var c=f.row;if(!h(c,f.column,u)){for(c=c+1;c<=$;c++)if(h(c,0,u))return;if(e.wrap!=!1){for(c=v,$=f.row;c<=$;c++)if(h(c,0,u))return}}};if(e.$isMultiLine)var g=i.length,h=function(m,u,c){var p=n?m-g+1:m;if(!(p<0||p+g>t.getLength())){var a=t.getLine(p),w=a.search(i[0]);if(!(!n&&wu)&&c(p,w,p+g-1,L))return!0}}};else if(n)var h=function(u,c,p){var a=t.getLine(u),w=[],y,L=0;for(i.lastIndex=0;y=i.exec(a);){var E=y[0].length;if(L=y.index,!E){if(L>=a.length)break;i.lastIndex=L+=1}if(y.index+E>c)break;w.push(y.index,E)}for(var M=w.length-1;M>=0;M-=2){var R=w[M-1],E=w[M];if(p(u,R,u,R+E))return!0}};else var h=function(u,c,p){var a=t.getLine(u),w,y;for(i.lastIndex=c;y=i.exec(a);){var L=y[0].length;if(w=y.index,p(u,w,u,w+L))return!0;if(!L&&(i.lastIndex=w+=1,w>=a.length))return!1}};return{forEach:C}}}).call(o.prototype);function l(t,e){function i(n){return/\w/.test(n)||e.regExp?"\\b":""}return i(t[0])+t+i(t[t.length-1])}A.Search=o}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("../lib/keys"),S=_("../lib/useragent"),d=b.KEY_MODS;function o(t,e){this.platform=e||(S.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=!0}function l(t,e){o.call(this,t,e),this.$singleCommand=!1}l.prototype=o.prototype,function(){this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,i){var n=e&&(typeof e=="string"?e:e.name);e=this.commands[n],i||delete this.commands[n];var r=this.commandKeyBinding;for(var s in r){var f=r[s];if(f==e)delete r[s];else if(Array.isArray(f)){var v=f.indexOf(e);v!=-1&&(f.splice(v,1),f.length==1&&(r[s]=f[0]))}}},this.bindKey=function(e,i,n){if(typeof e=="object"&&e&&(n==null&&(n=e.position),e=e[this.platform]),!!e){if(typeof i=="function")return this.addCommand({exec:i,bindKey:e,name:i.name||e});e.split("|").forEach(function(r){var s="";if(r.indexOf(" ")!=-1){var f=r.split(/\s+/);r=f.pop(),f.forEach(function(C){var g=this.parseKeys(C),h=d[g.hashId]+g.key;s+=(s?" ":"")+h,this._addCommandToBinding(s,"chainKeys")},this),s+=" "}var v=this.parseKeys(r),$=d[v.hashId]+v.key;this._addCommandToBinding(s+$,i,n)},this)}};function t(e){return typeof e=="object"&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this._addCommandToBinding=function(e,i,n){var r=this.commandKeyBinding,s;if(!i)delete r[e];else if(!r[e]||this.$singleCommand)r[e]=i;else{Array.isArray(r[e])?(s=r[e].indexOf(i))!=-1&&r[e].splice(s,1):r[e]=[r[e]],typeof n!="number"&&(n=t(i));var f=r[e];for(s=0;sn)break}f.splice(s,0,i)}},this.addCommands=function(e){e&&Object.keys(e).forEach(function(i){var n=e[i];if(!!n){if(typeof n=="string")return this.bindKey(n,i);typeof n=="function"&&(n={exec:n}),typeof n=="object"&&(n.name||(n.name=i),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(i){this.removeCommand(e[i])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(i){this.bindKey(i,e[i])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var i=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function($){return $}),n=i.pop(),r=b[n];if(b.FUNCTION_KEYS[r])n=b.FUNCTION_KEYS[r].toLowerCase();else if(i.length){if(i.length==1&&i[0]=="shift")return{key:n.toUpperCase(),hashId:-1}}else return{key:n,hashId:-1};for(var s=0,f=i.length;f--;){var v=b.KEY_MODS[i[f]];if(v==null)return typeof console!="undefined"&&console.error("invalid modifier "+i[f]+" in "+e),!1;s|=v}return{key:n,hashId:s}},this.findKeyCommand=function(i,n){var r=d[i]+n;return this.commandKeyBinding[r]},this.handleKeyboard=function(e,i,n,r){if(!(r<0)){var s=d[i]+n,f=this.commandKeyBinding[s];return e.$keyChain&&(e.$keyChain+=" "+s,f=this.commandKeyBinding[e.$keyChain]||f),f&&(f=="chainKeys"||f[f.length-1]=="chainKeys")?(e.$keyChain=e.$keyChain||s,{command:"null"}):(e.$keyChain&&((!i||i==4)&&n.length==1?e.$keyChain=e.$keyChain.slice(0,-s.length-1):(i==-1||r>0)&&(e.$keyChain="")),{command:f})}},this.getStatusText=function(e,i){return i.$keyChain||""}}.call(o.prototype),A.HashHandler=o,A.MultiHashHandler=l}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(_,A,k){"use strict";var b=_("../lib/oop"),S=_("../keyboard/hash_handler").MultiHashHandler,d=_("../lib/event_emitter").EventEmitter,o=function(l,t){S.call(this,t,l),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};b.inherits(o,S),function(){b.implement(this,d),this.exec=function(l,t,e){if(Array.isArray(l)){for(var i=l.length;i--;)if(this.exec(l[i],t,e))return!0;return!1}if(typeof l=="string"&&(l=this.commands[l]),!l||t&&t.$readOnly&&!l.readOnly||this.$checkCommandState!=!1&&l.isAvailable&&!l.isAvailable(t))return!1;var n={editor:t,command:l,args:e};return n.returnValue=this._emit("exec",n),this._signal("afterExec",n),n.returnValue!==!1},this.toggleRecording=function(l){if(!this.$inReplay)return l&&l._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(t){this.macro.push([t.command,t.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(l){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(l);try{this.$inReplay=!0,this.macro.forEach(function(t){typeof t=="string"?this.exec(t,l):this.exec(t[0],l,t[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(l){return l.map(function(t){return typeof t[0]!="string"&&(t[0]=t[0].name),t[1]||(t=t[0]),t})}}.call(o.prototype),A.CommandManager=o}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(_,A,k){"use strict";var b=_("../lib/lang"),S=_("../config"),d=_("../range").Range;function o(t,e){return{win:t,mac:e}}A.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:o("Ctrl-,","Command-,"),exec:function(t){S.loadModule("ace/ext/settings_menu",function(e){e.init(t),t.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:o("Alt-E","F4"),exec:function(t){S.loadModule("./ext/error_marker",function(e){e.showErrorMarker(t,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:o("Alt-Shift-E","Shift-F4"),exec:function(t){S.loadModule("./ext/error_marker",function(e){e.showErrorMarker(t,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:o("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:o(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:o("Ctrl-L","Command-L"),exec:function(t,e){typeof e=="number"&&!isNaN(e)&&t.gotoLine(e),t.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:o("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:o("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:o("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:o("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:o("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:o("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:o("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:o("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:o("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:o("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:o("Ctrl-F","Command-F"),exec:function(t){S.loadModule("ace/ext/searchbox",function(e){e.Search(t)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:o("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:o("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:o("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:o("Up","Up|Ctrl-P"),exec:function(t,e){t.navigateUp(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:o("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:o("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:o("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:o("Down","Down|Ctrl-N"),exec:function(t,e){t.navigateDown(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:o("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:o("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:o("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:o("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:o("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:o("Left","Left|Ctrl-B"),exec:function(t,e){t.navigateLeft(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:o("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:o("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:o("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:o("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:o("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:o("Right","Right|Ctrl-F"),exec:function(t,e){t.navigateRight(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:o(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:o("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:o(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:o("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:o("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:o("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:o("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:o("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:o("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:o("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:o(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(t){},readOnly:!0},{name:"cut",description:"Cut",exec:function(t){var e=t.$copyWithEmptySelection&&t.selection.isEmpty(),i=e?t.selection.getLineRange():t.selection.getRange();t._emit("cut",i),i.isEmpty()||t.session.remove(i),t.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(t,e){t.$handlePaste(e)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:o("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:o("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:o("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:o("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:o("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:o("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:o("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:o("Ctrl-H","Command-Option-F"),exec:function(t){S.loadModule("ace/ext/searchbox",function(e){e.Search(t,!0)})}},{name:"undo",description:"Undo",bindKey:o("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",description:"Redo",bindKey:o("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:o("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:o("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:o("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:o("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:o("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:o("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:o("Shift-Delete",null),exec:function(t){if(t.selection.isEmpty())t.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:o("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:o("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:o("Ctrl-Shift-Backspace",null),exec:function(t){var e=t.selection.getRange();e.start.column=0,t.session.remove(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:o("Ctrl-Shift-Delete",null),exec:function(t){var e=t.selection.getRange();e.end.column=Number.MAX_VALUE,t.session.remove(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:o("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:o("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:o("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:o("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:o("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:o("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(t,e){t.insert(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(t,e){t.insert(b.stringRepeat(e.text||"",e.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:o(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:o("Alt-Shift-X","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:o("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:o("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:o(null,null),exec:function(t){t.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:o("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var e=t.selection.getRange();e.start.column=e.end.column=0,e.end.row++,t.selection.setRange(e,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",description:"Join lines",bindKey:o(null,null),exec:function(t){for(var e=t.selection.isBackwards(),i=e?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),n=e?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),r=t.session.doc.getLine(i.row).length,s=t.session.doc.getTextRange(t.selection.getRange()),f=s.replace(/\n\s*/," ").length,v=t.session.doc.getLine(i.row),$=i.row+1;$<=n.row+1;$++){var C=b.stringTrimLeft(b.stringTrimRight(t.session.doc.getLine($)));C.length!==0&&(C=" "+C),v+=C}n.row+10?(t.selection.moveCursorTo(i.row,i.column),t.selection.selectTo(i.row,i.column+f)):(r=t.session.doc.getLine(i.row).length>r?r+1:r,t.selection.moveCursorTo(i.row,r))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:o(null,null),exec:function(t){var e=t.session.doc.getLength()-1,i=t.session.doc.getLine(e).length,n=t.selection.rangeList.ranges,r=[];n.length<1&&(n=[t.selection.getRange()]);for(var s=0;s=y.lastRow||w.end.row<=y.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:break}a=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var L=this.selection.toJSON();this.curOp.selectionAfter=L,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(L),this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(c){if(!!this.$mergeUndoDeltas){var p=this.prevOp,a=this.$mergeableCommands,w=p.command&&c.command.name==p.command.name;if(c.command.name=="insertstring"){var y=c.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),w=w&&this.mergeNextCommand&&(!/\s/.test(y)||/\s/.test(p.args)),this.mergeNextCommand=!0}else w=w&&a.indexOf(c.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(w=!1),w?this.session.mergeUndoDeltas=!0:a.indexOf(c.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(c,p){if(c&&typeof c=="string"&&c!="ace"){this.$keybindingId=c;var a=this;C.loadModule(["keybinding",c],function(w){a.$keybindingId==c&&a.keyBinding.setKeyboardHandler(w&&w.handler),p&&p()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(c),p&&p()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(c){if(this.session!=c){this.curOp&&this.endOperation(),this.curOp={};var p=this.session;if(p){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var a=this.session.getSelection();a.off("changeCursor",this.$onCursorChange),a.off("changeSelection",this.$onSelectionChange)}this.session=c,c?(this.$onDocumentChange=this.onDocumentChange.bind(this),c.on("change",this.$onDocumentChange),this.renderer.setSession(c),this.$onChangeMode=this.onChangeMode.bind(this),c.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),c.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),c.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),c.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),c.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),c.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=c.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(c)),this._signal("changeSession",{session:c,oldSession:p}),this.curOp=null,p&&p._signal("changeEditor",{oldEditor:this}),c&&c._signal("changeEditor",{editor:this}),c&&c.bgTokenizer&&c.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(c,p){return this.session.doc.setValue(c),p?p==1?this.navigateFileEnd():p==-1&&this.navigateFileStart():this.selectAll(),c},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(c){this.renderer.onResize(c)},this.setTheme=function(c,p){this.renderer.setTheme(c,p)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(c){this.renderer.setStyle(c)},this.unsetStyle=function(c){this.renderer.unsetStyle(c)},this.getFontSize=function(){return this.getOption("fontSize")||S.computedStyle(this.container).fontSize},this.setFontSize=function(c){this.setOption("fontSize",c)},this.$highlightBrackets=function(){if(!this.$highlightPending){var c=this;this.$highlightPending=!0,setTimeout(function(){c.$highlightPending=!1;var p=c.session;if(!(!p||!p.bgTokenizer)){p.$bracketHighlight&&(p.$bracketHighlight.markerIds.forEach(function(y){p.removeMarker(y)}),p.$bracketHighlight=null);var a=p.getMatchingBracketRanges(c.getCursorPosition());if(!a&&p.$mode.getMatching&&(a=p.$mode.getMatching(c.session)),!!a){var w="ace_bracket";Array.isArray(a)?a.length==1&&(w="ace_error_bracket"):a=[a],a.length==2&&(s.comparePoints(a[0].end,a[1].start)==0?a=[s.fromPoints(a[0].start,a[1].end)]:s.comparePoints(a[0].start,a[1].end)==0&&(a=[s.fromPoints(a[1].start,a[0].end)])),p.$bracketHighlight={ranges:a,markerIds:a.map(function(y){return p.addMarker(y,w,"text")})}}}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var c=this;this.$highlightTagPending=!0,setTimeout(function(){c.$highlightTagPending=!1;var p=c.session;if(!(!p||!p.bgTokenizer)){var a=c.getCursorPosition(),w=new g(c.session,a.row,a.column),y=w.getCurrentToken();if(!y||!/\b(?:tag-open|tag-name)/.test(y.type)){p.removeMarker(p.$tagHighlight),p.$tagHighlight=null;return}if(!(y.type.indexOf("tag-open")!==-1&&(y=w.stepForward(),!y))){var L=y.value,E=y.value,M=0,R=w.stepBackward();if(R.value==="<")do R=y,y=w.stepForward(),y&&(y.type.indexOf("tag-name")!==-1?(E=y.value,L===E&&(R.value==="<"?M++:R.value===""&&M--);while(y&&M>=0);else{do if(y=R,R=w.stepBackward(),y){if(y.type.indexOf("tag-name")!==-1)L===y.value&&(R.value==="<"?M++:R.value===""){for(var x=0,F=R;F;){if(F.type.indexOf("tag-name")!==-1&&F.value===L){M--;break}else if(F.value==="<")break;F=w.stepBackward(),x++}for(var I=0;I1)&&(p=!1)),c.$highlightLineMarker&&!p)c.removeMarker(c.$highlightLineMarker.id),c.$highlightLineMarker=null;else if(!c.$highlightLineMarker&&p){var a=new s(p.row,p.column,p.row,1/0);a.id=c.addMarker(a,"ace_active-line","screenLine"),c.$highlightLineMarker=a}else p&&(c.$highlightLineMarker.start.row=p.row,c.$highlightLineMarker.end.row=p.row,c.$highlightLineMarker.start.column=p.column,c._signal("changeBackMarker"))},this.onSelectionChange=function(c){var p=this.session;if(p.$selectionMarker&&p.removeMarker(p.$selectionMarker),p.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var a=this.selection.getRange(),w=this.getSelectionStyle();p.$selectionMarker=p.addMarker(a,"ace_selection",w)}var y=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(y),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var c=this.session,p=this.getSelectionRange();if(!(p.isEmpty()||p.isMultiLine())){var a=p.start.column,w=p.end.column,y=c.getLine(p.start.row),L=y.substring(a,w);if(!(L.length>5e3||!/[\w\d]/.test(L))){var E=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:L}),M=y.substring(a-1,w+1);if(!!E.test(M))return E}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(c){this.renderer.updateText(),this._emit("changeMode",c)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var c=this.getSelectedText(),p=this.session.doc.getNewLineCharacter(),a=!1;if(!c&&this.$copyWithEmptySelection){a=!0;for(var w=this.selection.getAllRanges(),y=0;yF.search(/\S|$/)){var M=F.substr(y.column).search(/\S|$/);a.doc.removeInLine(y.row,y.column,y.column+M)}}this.clearSelection();var R=y.column,x=a.getState(y.row),F=a.getLine(y.row),I=w.checkOutdent(x,F,c);if(a.insert(y,c),L&&L.selection&&(L.selection.length==2?this.selection.setSelectionRange(new s(y.row,R+L.selection[0],y.row,R+L.selection[1])):this.selection.setSelectionRange(new s(y.row+L.selection[0],L.selection[1],y.row+L.selection[2],L.selection[3]))),this.$enableAutoIndent){if(a.getDocument().isNewLine(c)){var P=w.getNextLineIndent(x,F.slice(0,y.column),a.getTabString());a.insert({row:y.row+1,column:0},P)}I&&w.autoOutdent(x,a,y.row)}},this.autoIndent=function(){var c=this.session,p=c.getMode(),a,w;if(this.selection.isEmpty())a=0,w=c.doc.getLength()-1;else{var y=this.getSelectionRange();a=y.start.row,w=y.end.row}for(var L="",E="",M="",R,x,F,I=c.getTabString(),P=a;P<=w;P++)P>0&&(L=c.getState(P-1),E=c.getLine(P-1),M=p.getNextLineIndent(L,E,I)),R=c.getLine(P),x=p.$getIndent(R),M!==x&&(x.length>0&&(F=new s(P,0,P,x.length),c.remove(F)),M.length>0&&c.insert({row:P,column:0},M)),p.autoOutdent(L,c,P)},this.onTextInput=function(c,p){if(!p)return this.keyBinding.onTextInput(c);this.startOperation({command:{name:"insertstring"}});var a=this.applyComposition.bind(this,c,p);this.selection.rangeCount?this.forEachSelection(a):a(),this.endOperation()},this.applyComposition=function(c,p){if(p.extendLeft||p.extendRight){var a=this.selection.getRange();a.start.column-=p.extendLeft,a.end.column+=p.extendRight,a.start.column<0&&(a.start.row--,a.start.column+=this.session.getLine(a.start.row).length+1),this.selection.setRange(a),!c&&!a.isEmpty()&&this.remove()}if((c||!this.selection.isEmpty())&&this.insert(c,!0),p.restoreStart||p.restoreEnd){var a=this.selection.getRange();a.start.column-=p.restoreStart,a.end.column-=p.restoreEnd,this.selection.setRange(a)}},this.onCommandKey=function(c,p,a){return this.keyBinding.onCommandKey(c,p,a)},this.setOverwrite=function(c){this.session.setOverwrite(c)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(c){this.setOption("scrollSpeed",c)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(c){this.setOption("dragDelay",c)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(c){this.setOption("selectionStyle",c)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(c){this.setOption("highlightActiveLine",c)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(c){this.setOption("highlightGutterLine",c)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(c){this.setOption("highlightSelectedWord",c)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(c){this.renderer.setAnimatedScroll(c)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(c){this.renderer.setShowInvisibles(c)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(c){this.renderer.setDisplayIndentGuides(c)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(c){this.renderer.setShowPrintMargin(c)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(c){this.renderer.setPrintMarginColumn(c)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(c){this.setOption("readOnly",c)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(c){this.setOption("behavioursEnabled",c)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(c){this.setOption("wrapBehavioursEnabled",c)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(c){this.setOption("showFoldWidgets",c)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(c){this.setOption("fadeFoldWidgets",c)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(c){this.selection.isEmpty()&&(c=="left"?this.selection.selectLeft():this.selection.selectRight());var p=this.getSelectionRange();if(this.getBehavioursEnabled()){var a=this.session,w=a.getState(p.start.row),y=a.getMode().transformAction(w,"deletion",this,a,p);if(p.end.column===0){var L=a.getTextRange(p);if(L[L.length-1]==` -`){var E=a.getLine(p.end.row);/^\s+$/.test(E)&&(p.end.column=E.length)}}y&&(p=y)}this.session.remove(p),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var c=this.getSelectionRange();c.start.column==c.end.column&&c.start.row==c.end.row&&(c.end.column=0,c.end.row++),this.session.remove(c),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var c=this.getCursorPosition();this.insert(` -`),this.moveCursorToPosition(c)},this.transposeLetters=function(){if(!!this.selection.isEmpty()){var c=this.getCursorPosition(),p=c.column;if(p!==0){var a=this.session.getLine(c.row),w,y;pM.toLowerCase()?1:0});for(var y=new s(0,0,0,0),w=c.first;w<=c.last;w++){var L=p.getLine(w);y.start.row=w,y.end.row=w,y.end.column=L.length,p.replace(y,a[w-c.first])}},this.toggleCommentLines=function(){var c=this.session.getState(this.getCursorPosition().row),p=this.$getSelectedRows();this.session.getMode().toggleCommentLines(c,this.session,p.first,p.last)},this.toggleBlockComment=function(){var c=this.getCursorPosition(),p=this.session.getState(c.row),a=this.getSelectionRange();this.session.getMode().toggleBlockComment(p,this.session,a,c)},this.getNumberAt=function(c,p){var a=/[\-]?[0-9]+(?:\.[0-9]+)?/g;a.lastIndex=0;for(var w=this.session.getLine(c);a.lastIndex=p){var L={value:y[0],start:y.index,end:y.index+y[0].length};return L}}return null},this.modifyNumber=function(c){var p=this.selection.getCursor().row,a=this.selection.getCursor().column,w=new s(p,a-1,p,a),y=this.session.getTextRange(w);if(!isNaN(parseFloat(y))&&isFinite(y)){var L=this.getNumberAt(p,a);if(L){var E=L.value.indexOf(".")>=0?L.start+L.value.indexOf(".")+1:L.end,M=L.start+L.value.length-E,R=parseFloat(L.value);R*=Math.pow(10,M),E!==L.end&&a=E&&L<=M&&(a=H,R.selection.clearSelection(),R.moveCursorTo(c,E+w),R.selection.selectTo(c,M+w)),E=M});for(var x=this.$toggleWordPairs,F,I=0;IO+1)break;O=N.last}for(F--,M=this.session.$moveLines(P,O,p?0:c),p&&c==-1&&(I=F+1);I<=F;)E[I].moveBy(M,0),I++;p||(M=0),R+=M}y.fromOrientedRange(y.ranges[0]),y.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(c){return c=(c||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(c.start.row),last:this.session.getRowFoldEnd(c.end.row)}},this.onCompositionStart=function(c){this.renderer.showComposition(c)},this.onCompositionUpdate=function(c){this.renderer.setCompositionText(c)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(c){return c>=this.getFirstVisibleRow()&&c<=this.getLastVisibleRow()},this.isRowFullyVisible=function(c){return c>=this.renderer.getFirstFullyVisibleRow()&&c<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(c,p){var a=this.renderer,w=this.renderer.layerConfig,y=c*Math.floor(w.height/w.lineHeight);p===!0?this.selection.$moveSelection(function(){this.moveCursorBy(y,0)}):p===!1&&(this.selection.moveCursorBy(y,0),this.selection.clearSelection());var L=a.scrollTop;a.scrollBy(0,y*w.lineHeight),p!=null&&a.scrollCursorIntoView(null,.5),a.animateScrolling(L)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(c){this.renderer.scrollToRow(c)},this.scrollToLine=function(c,p,a,w){this.renderer.scrollToLine(c,p,a,w)},this.centerSelection=function(){var c=this.getSelectionRange(),p={row:Math.floor(c.start.row+(c.end.row-c.start.row)/2),column:Math.floor(c.start.column+(c.end.column-c.start.column)/2)};this.renderer.alignCursor(p,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.selection.selectAll()},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(c,p){this.selection.moveCursorTo(c,p)},this.moveCursorToPosition=function(c){this.selection.moveCursorToPosition(c)},this.jumpToMatching=function(c,p){var a=this.getCursorPosition(),w=new g(this.session,a.row,a.column),y=w.getCurrentToken(),L=y||w.stepForward();if(!!L){var E,M=!1,R={},x=a.column-L.start,F,I={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(L.value.match(/[{}()\[\]]/g)){for(;x=0;--L)this.$tryReplace(a[L],c)&&w++;return this.selection.setSelectionRange(y),w},this.$tryReplace=function(c,p){var a=this.session.getTextRange(c);return p=this.$search.replace(a,p),p!==null?(c.end=this.session.replace(c,p),c):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(c,p,a){p||(p={}),typeof c=="string"||c instanceof RegExp?p.needle=c:typeof c=="object"&&b.mixin(p,c);var w=this.selection.getRange();p.needle==null&&(c=this.session.getTextRange(w)||this.$search.$options.needle,c||(w=this.session.getWordRange(w.start.row,w.start.column),c=this.session.getTextRange(w)),this.$search.set({needle:c})),this.$search.set(p),p.start||this.$search.set({start:w});var y=this.$search.find(this.session);if(p.preventScroll)return y;if(y)return this.revealRange(y,a),y;p.backwards?w.start=w.end:w.end=w.start,this.selection.setRange(w)},this.findNext=function(c,p){this.find({skipCurrent:!0,backwards:!1},c,p)},this.findPrevious=function(c,p){this.find(c,{skipCurrent:!0,backwards:!0},p)},this.revealRange=function(c,p){this.session.unfold(c),this.selection.setSelectionRange(c);var a=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(c.start,c.end,.5),p!==!1&&this.renderer.animateScrolling(a)},this.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(c){c.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},this.setAutoScrollEditorIntoView=function(c){if(!!c){var p,a=this,w=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var y=this.$scrollAnchor;y.style.cssText="position:absolute",this.container.insertBefore(y,this.container.firstChild);var L=this.on("changeSelection",function(){w=!0}),E=this.renderer.on("beforeRender",function(){w&&(p=a.renderer.container.getBoundingClientRect())}),M=this.renderer.on("afterRender",function(){if(w&&p&&(a.isFocused()||a.searchBox&&a.searchBox.isFocused())){var R=a.renderer,x=R.$cursorLayer.$pixelPos,F=R.layerConfig,I=x.top-F.offset;x.top>=0&&I+p.top<0?w=!0:x.topwindow.innerHeight?w=!1:w=null,w!=null&&(y.style.top=I+"px",y.style.left=x.left+"px",y.style.height=F.lineHeight+"px",y.scrollIntoView(w)),w=p=null}});this.setAutoScrollEditorIntoView=function(R){R||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",L),this.renderer.off("afterRender",M),this.renderer.off("beforeRender",E))}}},this.$resetCursorStyle=function(){var c=this.$cursorStyle||"ace",p=this.renderer.$cursorLayer;!p||(p.setSmoothBlinking(/smooth/.test(c)),p.isBlinking=!this.$readOnly&&c!="wide",S.setCssClass(p.element,"ace_slim-cursors",/slim/.test(c)))},this.prompt=function(c,p,a){var w=this;C.loadModule("./ext/prompt",function(y){y.prompt(w,c,p,a)})}}.call(m.prototype),C.defineOptions(m.prototype,"editor",{selectionStyle:{set:function(c){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:c})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(c){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(c){this.textInput.setReadOnly(c),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(c){this.textInput.setCopyWithEmptySelection(c)},initialValue:!1},cursorStyle:{set:function(c){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(c){this.setAutoScrollEditorIntoView(c)}},keyboardHandler:{set:function(c){this.setKeyboardHandler(c)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(c){this.session.setValue(c)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(c){this.setSession(c)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(c){this.renderer.$gutterLayer.setShowLineNumbers(c),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),c&&this.$relativeLineNumbers?u.attach(this):u.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(c){this.$showLineNumbers&&c?u.attach(this):u.detach(this)}},placeholder:{set:function(c){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var p=this.session&&(this.renderer.$composition||this.getValue());if(p&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!p&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var a=S.createElement("div");a.className="ace_placeholder",a.textContent=this.$placeholder||"",this.renderer.placeholderNode=a,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!p&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var u={getText:function(c,p){return(Math.abs(c.selection.lead.row-p)||p+1+(p<9?"\xB7":""))+""},getWidth:function(c,p,a){return Math.max(p.toString().length,(a.lastRow+1).toString().length,2)*a.characterWidth},update:function(c,p){p.renderer.$loop.schedule(p.renderer.CHANGE_GUTTER)},attach:function(c){c.renderer.$gutterLayer.$renderer=this,c.on("changeSelection",this.update),this.update(null,c)},detach:function(c){c.renderer.$gutterLayer.$renderer==this&&(c.renderer.$gutterLayer.$renderer=null),c.off("changeSelection",this.update),this.update(null,c)}};A.Editor=m}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(_,A,k){"use strict";var b=function(){this.$maxRev=0,this.$fromUndo=!1,this.reset()};(function(){this.addSession=function(u){this.$session=u},this.add=function(u,c,p){this.$fromUndo||u!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),(c===!1||!this.lastDeltas)&&(this.lastDeltas=[],this.$undoStack.push(this.lastDeltas),u.id=this.$rev=++this.$maxRev),(u.action=="remove"||u.action=="insert")&&(this.$lastDelta=u),this.lastDeltas.push(u))},this.addSelection=function(u,c){this.selections.push({value:u,rev:c||this.$rev})},this.startNewGroup=function(){return this.lastDeltas=null,this.$rev},this.markIgnored=function(u,c){c==null&&(c=this.$rev+1);for(var p=this.$undoStack,a=p.length;a--;){var w=p[a][0];if(w.id<=u)break;w.id0},this.canRedo=function(){return this.$redoStack.length>0},this.bookmark=function(u){u==null&&(u=this.$rev),this.mark=u},this.isAtBookmark=function(){return this.$rev===this.mark},this.toJSON=function(){},this.fromJSON=function(){},this.hasUndo=this.canUndo,this.hasRedo=this.canRedo,this.isClean=this.isAtBookmark,this.markClean=this.bookmark,this.$prettyPrint=function(u){return u?n(u):n(this.$undoStack)+` ---- -`+n(this.$redoStack)}}).call(b.prototype);function S(u,c){for(var p=c;p--;){var a=u[p];if(a&&!a[0].ignore){for(;p0){E.row+=w,E.column+=E.row==a.row?y:0;continue}!c&&R<=0&&(E.row=p.row,E.column=p.column,R===0&&(E.bias=1))}}}function e(u){return{row:u.row,column:u.column}}function i(u){return{start:e(u.start),end:e(u.end),action:u.action,lines:u.lines.slice()}}function n(u){if(u=u||this,Array.isArray(u))return u.map(n).join(` -`);var c="";return u.action?(c=u.action=="insert"?"+":"-",c+="["+u.lines+"]"):u.value&&(Array.isArray(u.value)?c=u.value.map(r).join(` -`):c=r(u.value)),u.start&&(c+=r(u)),(u.id||u.rev)&&(c+=" ("+(u.id||u.rev)+")"),c}function r(u){return u.start.row+":"+u.start.column+"=>"+u.end.row+":"+u.end.column}function s(u,c){var p=u.action=="insert",a=c.action=="insert";if(p&&a)if(o(c.start,u.end)>=0)$(c,u,-1);else if(o(c.start,u.start)<=0)$(u,c,1);else return null;else if(p&&!a)if(o(c.start,u.end)>=0)$(c,u,-1);else if(o(c.end,u.start)<=0)$(u,c,-1);else return null;else if(!p&&a)if(o(c.start,u.start)>=0)$(c,u,1);else if(o(c.start,u.start)<=0)$(u,c,1);else return null;else if(!p&&!a)if(o(c.start,u.start)>=0)$(c,u,1);else if(o(c.end,u.start)<=0)$(u,c,-1);else return null;return[c,u]}function f(u,c){for(var p=u.length;p--;)for(var a=0;a=0?$(u,c,-1):(o(u.start,c.start)<=0||$(u,d.fromPoints(c.start,u.start),-1),$(c,u,1));else if(!p&&a)o(c.start,u.end)>=0?$(c,u,-1):(o(c.start,u.start)<=0||$(c,d.fromPoints(u.start,c.start),-1),$(u,c,1));else if(!p&&!a)if(o(c.start,u.end)>=0)$(c,u,-1);else if(o(c.end,u.start)<=0)$(u,c,-1);else{var w,y;return o(u.start,c.start)<0&&(w=u,u=g(u,c.start)),o(u.end,c.end)>0&&(y=g(u,c.end)),C(c.end,u.start,u.end,-1),y&&!w&&(u.lines=y.lines,u.start=y.start,u.end=y.end,y=u),[c,w,y].filter(Boolean)}return[c,u]}function $(u,c,p){C(u.start,c.start,c.end,p),C(u.end,c.start,c.end,p)}function C(u,c,p,a){u.row==(a==1?c:p).row&&(u.column+=a*(p.column-c.column)),u.row+=a*(p.row-c.row)}function g(u,c){var p=u.lines,a=u.end;u.end=e(c);var w=u.end.row-u.start.row,y=p.splice(w,p.length),L=w?c.column:c.column-u.start.column;p.push(y[0].substring(0,L)),y[0]=y[0].substr(L);var E={start:e(c),end:a,lines:y,action:u.action};return E}function h(u,c){c=i(c);for(var p=u.length;p--;){for(var a=u[p],w=0;wv&&(g=f.end.row+1,f=n.getNextFoldLine(g,f),v=f?f.start.row:1/0),g>s){for(;this.$lines.getLength()>C+1;)this.$lines.pop();break}$=this.$lines.get(++C),$?$.row=g:($=this.$lines.createCell(g,i,this.session,e),this.$lines.push($)),this.$renderCell($,i,f,g),g++}this._signal("afterRender"),this.$updateGutterWidth(i)},this.$updateGutterWidth=function(i){var n=this.session,r=n.gutterRenderer||this.$renderer,s=n.$firstLineNumber,f=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||n.$useWrapMode)&&(f=n.getLength()+s-1);var v=r?r.getWidth(n,f,i):f.toString().length*i.characterWidth,$=this.$padding||this.$computePadding();v+=$.left+$.right,v!==this.gutterWidth&&!isNaN(v)&&(this.gutterWidth=v,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",v))},this.$updateCursorRow=function(){if(!!this.$highlightGutterLine){var i=this.session.selection.getCursor();this.$cursorRow!==i.row&&(this.$cursorRow=i.row)}},this.updateLineHighlight=function(){if(!!this.$highlightGutterLine){var i=this.session.selection.cursor.row;if(this.$cursorRow=i,!(this.$cursorCell&&this.$cursorCell.row==i)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var n=this.$lines.cells;this.$cursorCell=null;for(var r=0;r=this.$cursorRow){if(s.row>this.$cursorRow){var f=this.session.getFoldLine(this.$cursorRow);if(r>0&&f&&f.start.row==n[r-1].row)s=n[r-1];else break}s.element.className="ace_gutter-active-line "+s.element.className,this.$cursorCell=s;break}}}}},this.scrollLines=function(i){var n=this.config;if(this.config=i,this.$updateCursorRow(),this.$lines.pageChanged(n,i))return this.update(i);this.$lines.moveContainer(i);var r=Math.min(i.lastRow+i.gutterOffset,this.session.getLength()-1),s=this.oldLastRow;if(this.oldLastRow=r,!n||s0;f--)this.$lines.shift();if(s>r)for(var f=this.session.getFoldedRowCount(r+1,s);f>0;f--)this.$lines.pop();i.firstRows&&this.$lines.push(this.$renderLines(i,s+1,r)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(i)},this.$renderLines=function(i,n,r){for(var s=[],f=n,v=this.session.getNextFoldLine(f),$=v?v.start.row:1/0;f>$&&(f=v.end.row+1,v=this.session.getNextFoldLine(f,v),$=v?v.start.row:1/0),!(f>r);){var C=this.$lines.createCell(f,i,this.session,e);this.$renderCell(C,i,v,f),s.push(C),f++}return s},this.$renderCell=function(i,n,r,s){var f=i.element,v=this.session,$=f.childNodes[0],C=f.childNodes[1],g=v.$firstLineNumber,h=v.$breakpoints,m=v.$decorations,u=v.gutterRenderer||this.$renderer,c=this.$showFoldWidgets&&v.foldWidgets,p=r?r.start.row:Number.MAX_VALUE,a="ace_gutter-cell ";if(this.$highlightGutterLine&&(s==this.$cursorRow||r&&s=p&&this.$cursorRow<=r.end.row)&&(a+="ace_gutter-active-line ",this.$cursorCell!=i&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=i)),h[s]&&(a+=h[s]),m[s]&&(a+=m[s]),this.$annotations[s]&&(a+=this.$annotations[s].className),f.className!=a&&(f.className=a),c){var w=c[s];w==null&&(w=c[s]=v.getFoldWidget(s))}if(w){var a="ace_fold-widget ace_"+w;w=="start"&&s==p&&sr.right-n.right)return"foldWidgets"}}).call(t.prototype);function e(i){var n=document.createTextNode("");i.appendChild(n);var r=b.createElement("span");return i.appendChild(r),i}A.Gutter=t}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(_,A,k){"use strict";var b=_("../range").Range,S=_("../lib/dom"),d=function(o){this.element=S.createElement("div"),this.element.className="ace_layer ace_marker-layer",o.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(l){this.$padding=l},this.setSession=function(l){this.session=l},this.setMarkers=function(l){this.markers=l},this.elt=function(l,t){var e=this.i!=-1&&this.element.childNodes[this.i];e?this.i++:(e=document.createElement("div"),this.element.appendChild(e),this.i=-1),e.style.cssText=t,e.className=l},this.update=function(l){if(!!l){this.config=l,this.i=0;var t;for(var e in this.markers){var i=this.markers[e];if(!i.range){i.update(t,this,this.session,l);continue}var n=i.range.clipRows(l.firstRow,l.lastRow);if(!n.isEmpty())if(n=n.toScreenRange(this.session),i.renderer){var r=this.$getTop(n.start.row,l),s=this.$padding+n.start.column*l.characterWidth;i.renderer(t,n,s,r,l)}else i.type=="fullLine"?this.drawFullLineMarker(t,n,i.clazz,l):i.type=="screenLine"?this.drawScreenLineMarker(t,n,i.clazz,l):n.isMultiLine()?i.type=="text"?this.drawTextMarker(t,n,i.clazz,l):this.drawMultiLineMarker(t,n,i.clazz,l):this.drawSingleLineMarker(t,n,i.clazz+" ace_start ace_br15",l)}if(this.i!=-1)for(;this.ig,v==f),i,v==f?0:1,n)},this.drawMultiLineMarker=function(l,t,e,i,n){var r=this.$padding,s=i.lineHeight,f=this.$getTop(t.start.row,i),v=r+t.start.column*i.characterWidth;if(n=n||"",this.session.$bidiHandler.isBidiRow(t.start.row)){var $=t.clone();$.end.row=$.start.row,$.end.column=this.session.getLine($.start.row).length,this.drawBidiSingleLineMarker(l,$,e+" ace_br1 ace_start",i,null,n)}else this.elt(e+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+f+"px;left:"+v+"px;"+(n||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var $=t.clone();$.start.row=$.end.row,$.start.column=0,this.drawBidiSingleLineMarker(l,$,e+" ace_br12",i,null,n)}else{f=this.$getTop(t.end.row,i);var C=t.end.column*i.characterWidth;this.elt(e+" ace_br12","height:"+s+"px;width:"+C+"px;top:"+f+"px;left:"+r+"px;"+(n||""))}if(s=(t.end.row-t.start.row-1)*i.lineHeight,!(s<=0)){f=this.$getTop(t.start.row+1,i);var g=(t.start.column?1:0)|(t.end.column?0:8);this.elt(e+(g?" ace_br"+g:""),"height:"+s+"px;right:0;top:"+f+"px;left:"+r+"px;"+(n||""))}},this.drawSingleLineMarker=function(l,t,e,i,n,r){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(l,t,e,i,n,r);var s=i.lineHeight,f=(t.end.column+(n||0)-t.start.column)*i.characterWidth,v=this.$getTop(t.start.row,i),$=this.$padding+t.start.column*i.characterWidth;this.elt(e,"height:"+s+"px;width:"+f+"px;top:"+v+"px;left:"+$+"px;"+(r||""))},this.drawBidiSingleLineMarker=function(l,t,e,i,n,r){var s=i.lineHeight,f=this.$getTop(t.start.row,i),v=this.$padding,$=this.session.$bidiHandler.getSelections(t.start.column,t.end.column);$.forEach(function(C){this.elt(e,"height:"+s+"px;width:"+C.width+(n||0)+"px;top:"+f+"px;left:"+(v+C.left)+"px;"+(r||""))},this)},this.drawFullLineMarker=function(l,t,e,i,n){var r=this.$getTop(t.start.row,i),s=i.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,i)-r),this.elt(e,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(n||""))},this.drawScreenLineMarker=function(l,t,e,i,n){var r=this.$getTop(t.start.row,i),s=i.lineHeight;this.elt(e,"height:"+s+"px;top:"+r+"px;left:0;right:0;"+(n||""))}}).call(d.prototype),A.Marker=d}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter"],function(_,A,k){"use strict";var b=_("../lib/oop"),S=_("../lib/dom"),d=_("../lib/lang"),o=_("./lines").Lines,l=_("../lib/event_emitter").EventEmitter,t=function(e){this.dom=S,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new o(this.element)};(function(){b.implement(this,l),this.EOF_CHAR="\xB6",this.EOL_CHAR_LF="\xAC",this.EOL_CHAR_CRLF="\xA4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xB7",this.$padding=0,this.MAX_LINE_LENGTH=1e4,this.$updateEolChar=function(){var e=this.session.doc,i=e.getNewLineCharacter()==` -`&&e.getNewLineMode()!="windows",n=i?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=n)return this.EOL_CHAR=n,!0},this.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(i){this._signal("changeCharacterSize",i)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.showSpaces=!1,this.showTabs=!1,this.showEOL=!1,this.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e=="string"?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var i=this.$tabStrings=[0],n=1;nh&&(C=g.end.row+1,g=this.session.getNextFoldLine(C,g),h=g?g.start.row:1/0),!(C>s);){var m=f[v++];if(m){this.dom.removeChildren(m),this.$renderLine(m,C,C==h?g:!1),$&&(m.style.top=this.$lines.computeLineTop(C,e,this.session)+"px");var u=e.lineHeight*this.session.getRowLength(C)+"px";m.style.height!=u&&($=!0,m.style.height=u)}C++}if($)for(;v0;s--)this.$lines.shift();if(i.lastRow>e.lastRow)for(var s=this.session.getFoldedRowCount(e.lastRow+1,i.lastRow);s>0;s--)this.$lines.pop();e.firstRowi.lastRow&&this.$lines.push(this.$renderLinesFragment(e,i.lastRow+1,e.lastRow))},this.$renderLinesFragment=function(e,i,n){for(var r=[],s=i,f=this.session.getNextFoldLine(s),v=f?f.start.row:1/0;s>v&&(s=f.end.row+1,f=this.session.getNextFoldLine(s,f),v=f?f.start.row:1/0),!(s>n);){var $=this.$lines.createCell(s,e,this.session),C=$.element;this.dom.removeChildren(C),S.setStyle(C.style,"height",this.$lines.computeLineHeight(s,e,this.session)+"px"),S.setStyle(C.style,"top",this.$lines.computeLineTop(s,e,this.session)+"px"),this.$renderLine(C,s,s==v?f:!1),this.$useLineGroups()?C.className="ace_line_group":C.className="ace_line",r.push($),s++}return r},this.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var i=e.firstRow,n=e.lastRow,r=this.$lines;r.getLength();)r.pop();r.push(this.$renderLinesFragment(e,i,n))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,i,n,r){for(var s=this,f=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,v=this.dom.createFragment(this.element),$,C=0;$=f.exec(r);){var g=$[1],h=$[2],m=$[3],u=$[4],c=$[5];if(!(!s.showSpaces&&h)){var p=C!=$.index?r.slice(C,$.index):"";if(C=$.index+$[0].length,p&&v.appendChild(this.dom.createTextNode(p,this.element)),g){var a=s.session.getScreenTabSize(i+$.index);v.appendChild(s.$tabStrings[a].cloneNode(!0)),i+=a-1}else if(h)if(s.showSpaces){var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_space",w.textContent=d.stringRepeat(s.SPACE_CHAR,h.length),v.appendChild(w)}else v.appendChild(this.com.createTextNode(h,this.element));else if(m){var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_space ace_invalid",w.textContent=d.stringRepeat(s.SPACE_CHAR,m.length),v.appendChild(w)}else if(u){i+=1;var w=this.dom.createElement("span");w.style.width=s.config.characterWidth*2+"px",w.className=s.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",w.textContent=s.showSpaces?s.SPACE_CHAR:u,v.appendChild(w)}else if(c){i+=1;var w=this.dom.createElement("span");w.style.width=s.config.characterWidth*2+"px",w.className="ace_cjk",w.textContent=c,v.appendChild(w)}}}if(v.appendChild(this.dom.createTextNode(C?r.slice(C):r,this.element)),this.$textToken[n.type])e.appendChild(v);else{var y="ace_"+n.type.replace(/\./g," ace_"),w=this.dom.createElement("span");n.type=="fold"&&(w.style.width=n.value.length*this.config.characterWidth+"px"),w.className=y,w.appendChild(v),e.appendChild(w)}return i+r.length},this.renderIndentGuide=function(e,i,n){var r=i.search(this.$indentGuideRe);if(r<=0||r>=n)return i;if(i[0]==" "){r-=r%this.tabSize;for(var s=r/this.tabSize,f=0;f=f;)v=this.$renderToken($,v,g,h.substring(0,f-r)),h=h.substring(f-r),r=f,$=this.$createLineElement(),e.appendChild($),$.appendChild(this.dom.createTextNode(d.stringRepeat("\xA0",n.indent),this.element)),s++,v=0,f=n[s]||Number.MAX_VALUE;h.length!=0&&(r+=h.length,v=this.$renderToken($,v,g,h))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage($,v,null,"",!0)},this.$renderSimpleLine=function(e,i){var n=0,r=i[0],s=r.value;this.displayIndentGuides&&(s=this.renderIndentGuide(e,s)),s&&(n=this.$renderToken(e,n,r,s));for(var f=1;fthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,r,s);n=this.$renderToken(e,n,r,s)}},this.$renderOverflowMessage=function(e,i,n,r,s){n&&this.$renderToken(e,i,n,r.slice(0,this.MAX_LINE_LENGTH-i));var f=this.dom.createElement("span");f.className="ace_inline_button ace_keyword ace_toggle_wrap",f.textContent=s?"":"",e.appendChild(f)},this.$renderLine=function(e,i,n){if(!n&&n!=!1&&(n=this.session.getFoldLine(i)),n)var r=this.$getFoldLineTokens(i,n);else var r=this.session.getTokens(i);var s=e;if(r.length){var f=this.session.getRowSplitData(i);if(f&&f.length){this.$renderWrappedLine(e,r,f);var s=e.lastChild}else{var s=e;this.$useLineGroups()&&(s=this.$createLineElement(),e.appendChild(s)),this.$renderSimpleLine(s,r)}}else this.$useLineGroups()&&(s=this.$createLineElement(),e.appendChild(s));if(this.showEOL&&s){n&&(i=n.end.row);var v=this.dom.createElement("span");v.className="ace_invisible ace_invisible_eol",v.textContent=i==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,s.appendChild(v)}},this.$getFoldLineTokens=function(e,i){var n=this.session,r=[];function s(v,$,C){for(var g=0,h=0;h+v[g].value.length<$;)if(h+=v[g].value.length,g++,g==v.length)return;if(h!=$){var m=v[g].value.substring($-h);m.length>C-$&&(m=m.substring(0,C-$)),r.push({type:v[g].type,value:m}),h=$+m.length,g+=1}for(;hC?r.push({type:v[g].type,value:m.substring(0,C-h)}):r.push(v[g]),h+=m.length,g+=1}}var f=n.getTokens(e);return i.walk(function(v,$,C,g,h){v!=null?r.push({type:"fold",value:v}):(h&&(f=n.getTokens($)),f.length&&s(f,g,C))},i.end.row,this.session.getLine(i.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){}}).call(t.prototype),A.Text=t}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(_,A,k){"use strict";var b=_("../lib/dom"),S=function(d){this.element=b.createElement("div"),this.element.className="ace_layer ace_cursor-layer",d.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),b.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)};(function(){this.$updateOpacity=function(d){for(var o=this.cursors,l=o.length;l--;)b.setStyle(o[l].style,"opacity",d?"":"0")},this.$startCssAnimation=function(){for(var d=this.cursors,o=d.length;o--;)d[o].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&b.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},this.$stopCssAnimation=function(){this.$isAnimating=!1,b.removeCssClass(this.element,"ace_animate-blinking")},this.$padding=0,this.setPadding=function(d){this.$padding=d},this.setSession=function(d){this.session=d},this.setBlinking=function(d){d!=this.isBlinking&&(this.isBlinking=d,this.restartTimer())},this.setBlinkInterval=function(d){d!=this.blinkInterval&&(this.blinkInterval=d,this.restartTimer())},this.setSmoothBlinking=function(d){d!=this.smoothBlinking&&(this.smoothBlinking=d,b.setCssClass(this.element,"ace_smooth-blinking",d),this.$updateCursors(!0),this.restartTimer())},this.addCursor=function(){var d=b.createElement("div");return d.className="ace_cursor",this.element.appendChild(d),this.cursors.push(d),d},this.removeCursor=function(){if(this.cursors.length>1){var d=this.cursors.pop();return d.parentNode.removeChild(d),d}},this.hideCursor=function(){this.isVisible=!1,b.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,b.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var d=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,b.removeCssClass(this.element,"ace_smooth-blinking")),d(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&b.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),b.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var o=function(){this.timeoutId=setTimeout(function(){d(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){d(!0),o()},this.blinkInterval),o()}},this.getPixelPosition=function(d,o){if(!this.config||!this.session)return{left:0,top:0};d||(d=this.session.selection.getCursor());var l=this.session.documentToScreenPosition(d),t=this.$padding+(this.session.$bidiHandler.isBidiRow(l.row,d.row)?this.session.$bidiHandler.getPosLeft(l.column):l.column*this.config.characterWidth),e=(l.row-(o?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:t,top:e}},this.isCursorInView=function(d,o){return d.top>=0&&d.topd.height+d.offset||i.top<0)&&l>1)){var n=this.cursors[t++]||this.addCursor(),r=n.style;this.drawCursor?this.drawCursor(n,i,d,o[l],this.session):this.isCursorInView(i,d)?(b.setStyle(r,"display","block"),b.translate(n,i.left,i.top),b.setStyle(r,"width",Math.round(d.characterWidth)+"px"),b.setStyle(r,"height",d.lineHeight+"px")):b.setStyle(r,"display","none")}}for(;this.cursors.length>t;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=i,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(d){d!=this.overwrite&&(this.overwrite=d,d?b.addCssClass(this.element,"ace_overwrite-cursors"):b.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(S.prototype),A.Cursor=S}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./lib/dom"),d=_("./lib/event"),o=_("./lib/event_emitter").EventEmitter,l=32768,t=function(n){this.element=S.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=S.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),n.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,d.addListener(this.element,"scroll",this.onScroll.bind(this)),d.addListener(this.element,"mousedown",d.preventDefault)};(function(){b.implement(this,o),this.setVisible=function(n){this.element.style.display=n?"":"none",this.isVisible=n,this.coeff=1}}).call(t.prototype);var e=function(n,r){t.call(this,n),this.scrollTop=0,this.scrollHeight=0,r.$scrollbarWidth=this.width=S.scrollbarWidth(n.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};b.inherits(e,t),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var n=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-n)/(this.coeff-n)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(n){this.element.style.height=n+"px"},this.setInnerHeight=this.setScrollHeight=function(n){this.scrollHeight=n,n>l?(this.coeff=l/n,n=l):this.coeff!=1&&(this.coeff=1),this.inner.style.height=n+"px"},this.setScrollTop=function(n){this.scrollTop!=n&&(this.skipEvent=!0,this.scrollTop=n,this.element.scrollTop=n*this.coeff)}}.call(e.prototype);var i=function(n,r){t.call(this,n),this.scrollLeft=0,this.height=r.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};b.inherits(i,t),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(n){this.element.style.width=n+"px"},this.setInnerWidth=function(n){this.inner.style.width=n+"px"},this.setScrollWidth=function(n){this.inner.style.width=n+"px"},this.setScrollLeft=function(n){this.scrollLeft!=n&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=n)}}.call(i.prototype),A.ScrollBar=e,A.ScrollBarV=e,A.ScrollBarH=i,A.VScrollBar=e,A.HScrollBar=i}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(_,A,k){"use strict";var b=_("./lib/event"),S=function(d,o){this.onRender=d,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=o||window;var l=this;this._flush=function(t){l.pending=!1;var e=l.changes;if(e&&(b.blockIdle(100),l.changes=0,l.onRender(e)),l.changes){if(l.$recursionLimit--<0)return;l.schedule()}else l.$recursionLimit=2}};(function(){this.schedule=function(d){this.changes=this.changes|d,this.changes&&!this.pending&&(b.nextFrame(this._flush),this.pending=!0)},this.clear=function(d){var o=this.changes;return this.changes=0,o}}).call(S.prototype),A.RenderLoop=S}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(_,A,k){var b=_("../lib/oop"),S=_("../lib/dom"),d=_("../lib/lang"),o=_("../lib/event"),l=_("../lib/useragent"),t=_("../lib/event_emitter").EventEmitter,e=256,i=typeof ResizeObserver=="function",n=200,r=A.FontMetrics=function(s){this.el=S.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=S.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=S.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),s.appendChild(this.el),this.$measureNode.textContent=d.stringRepeat("X",e),this.$characterSize={width:0,height:0},i?this.$addObserver():this.checkForSizeChanges()};(function(){b.implement(this,t),this.$characterSize={width:0,height:0},this.$setMeasureNodeStyles=function(s,f){s.width=s.height="auto",s.left=s.top="0px",s.visibility="hidden",s.position="absolute",s.whiteSpace="pre",l.isIE<8?s["font-family"]="inherit":s.font="inherit",s.overflow=f?"hidden":"visible"},this.checkForSizeChanges=function(s){if(s===void 0&&(s=this.$measureSizes()),s&&(this.$characterSize.width!==s.width||this.$characterSize.height!==s.height)){this.$measureNode.style.fontWeight="bold";var f=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=s,this.charSizes=Object.create(null),this.allowBoldFonts=f&&f.width===s.width&&f.height===s.height,this._emit("changeCharacterSize",{data:s})}},this.$addObserver=function(){var s=this;this.$observer=new window.ResizeObserver(function(f){s.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var s=this;return this.$pollSizeChangesTimer=o.onIdle(function f(){s.checkForSizeChanges(),o.onIdle(f,500)},500)},this.setPolling=function(s){s?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(s){var f={height:(s||this.$measureNode).clientHeight,width:(s||this.$measureNode).clientWidth/e};return f.width===0||f.height===0?null:f},this.$measureCharWidth=function(s){this.$main.textContent=d.stringRepeat(s,e);var f=this.$main.getBoundingClientRect();return f.width/e},this.getCharacterWidth=function(s){var f=this.charSizes[s];return f===void 0&&(f=this.charSizes[s]=this.$measureCharWidth(s)/this.$characterSize.width),f},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},this.$getZoom=function s(f){return!f||!f.parentElement?1:(window.getComputedStyle(f).zoom||1)*s(f.parentElement)},this.$initTransformMeasureNodes=function(){var s=function(f,v){return["div",{style:"position: absolute;top:"+f+"px;left:"+v+"px;"}]};this.els=S.buildDom([s(0,0),s(n,0),s(0,n),s(n,n)],this.el)},this.transformCoordinates=function(s,f){if(s){var v=this.$getZoom(this.el);s=h(1/v,s)}function $(I,P,O){var N=I[1]*P[0]-I[0]*P[1];return[(-P[1]*O[0]+P[0]*O[1])/N,(+I[1]*O[0]-I[0]*O[1])/N]}function C(I,P){return[I[0]-P[0],I[1]-P[1]]}function g(I,P){return[I[0]+P[0],I[1]+P[1]]}function h(I,P){return[I*P[0],I*P[1]]}this.els||this.$initTransformMeasureNodes();function m(I){var P=I.getBoundingClientRect();return[P.left,P.top]}var u=m(this.els[0]),c=m(this.els[1]),p=m(this.els[2]),a=m(this.els[3]),w=$(C(a,c),C(a,p),C(g(c,p),g(a,u))),y=h(1+w[0],C(c,u)),L=h(1+w[1],C(p,u));if(f){var E=f,M=w[0]*E[0]/n+w[1]*E[1]/n+1,R=g(h(E[0],y),h(E[1],L));return g(h(1/M/n,R),u)}var x=C(s,u),F=$(C(y,h(w[0],x)),C(L,h(w[1],x)),x);return h(n,F)}}).call(r.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/lib/useragent"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./lib/dom"),d=_("./config"),o=_("./layer/gutter").Gutter,l=_("./layer/marker").Marker,t=_("./layer/text").Text,e=_("./layer/cursor").Cursor,i=_("./scrollbar").HScrollBar,n=_("./scrollbar").VScrollBar,r=_("./renderloop").RenderLoop,s=_("./layer/font_metrics").FontMetrics,f=_("./lib/event_emitter").EventEmitter,v=`.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_editor {position: relative;overflow: hidden;padding: 0;font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;box-sizing: border-box;min-width: 100%;contain: style size layout;font-variant-ligatures: no-common-ligatures;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;contain: style size layout;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {position: absolute;top: 0;left: 0;right: 0;padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {contain: strict;position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;contain: strict;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: transparent;color: inherit;z-index: 1000;opacity: 1;}.ace_composition_placeholder { color: transparent }.ace_composition_marker { border-bottom: 1px solid;position: absolute;border-radius: 0;margin-top: 1px;}[ace_nocontext=true] {transform: none!important;filter: none!important;clip-path: none!important;mask : none!important;contain: none!important;perspective: none!important;mix-blend-mode: initial!important;z-index: auto;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;height: 1000000px;contain: style size layout;}.ace_text-layer {font: inherit !important;position: absolute;height: 1000000px;width: 1000000px;contain: style size layout;}.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {contain: style size layout;position: absolute;top: 0;left: 0;right: 0;}.ace_hidpi .ace_text-layer,.ace_hidpi .ace_gutter-layer,.ace_hidpi .ace_content,.ace_hidpi .ace_gutter {contain: strict;will-change: transform;}.ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group {contain: strict;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {opacity: 0;}.ace_smooth-blinking .ace_cursor {transition: opacity 0.18s;}.ace_animate-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: step-end;animation-name: blink-ace-animate;animation-iteration-count: infinite;}.ace_animate-blinking.ace_smooth-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: ease-in-out;animation-name: blink-ace-animate-smooth;}@keyframes blink-ace-animate {from, to { opacity: 1; }60% { opacity: 0; }}@keyframes blink-ace-animate-smooth {from, to { opacity: 1; }45% { opacity: 1; }60% { opacity: 0; }85% { opacity: 0; }}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_error_bracket {position: absolute;border-bottom: 1px solid #DE5555;border-radius: 0;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;box-sizing: border-box;}.ace_line .ace_fold {box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_inline_button {border: 1px solid lightgray;display: inline-block;margin: -1px 8px;padding: 0 5px;pointer-events: auto;cursor: pointer;}.ace_inline_button:hover {border-color: gray;background: rgba(200,200,200,0.2);display: inline-block;pointer-events: auto;}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_mobile-menu {position: absolute;line-height: 1.5;border-radius: 4px;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;background: white;box-shadow: 1px 3px 2px grey;border: 1px solid #dcdcdc;color: black;}.ace_dark > .ace_mobile-menu {background: #333;color: #ccc;box-shadow: 1px 3px 2px grey;border: 1px solid #444;}.ace_mobile-button {padding: 2px;cursor: pointer;overflow: hidden;}.ace_mobile-button:hover {background-color: #eee;opacity:1;}.ace_mobile-button:active {background-color: #ddd;}.ace_placeholder {font-family: arial;transform: scale(0.9);transform-origin: left;white-space: pre;opacity: 0.7;margin: 0 10px;}`,$=_("./lib/useragent"),C=$.isIE;S.importCssString(v,"ace_editor.css",!1);var g=function(h,m){var u=this;this.container=h||S.createElement("div"),S.addCssClass(this.container,"ace_editor"),S.HI_DPI&&S.addCssClass(this.container,"ace_hidpi"),this.setTheme(m),d.get("useStrictCSP")==null&&d.set("useStrictCSP",!1),this.$gutter=S.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=S.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=S.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new o(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var c=this.$textLayer=new t(this.content);this.canvas=c.element,this.$markerFront=new l(this.content),this.$cursorLayer=new e(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new n(this.container,this),this.scrollBarH=new i(this.container,this),this.scrollBarV.on("scroll",function(p){u.$scrollAnimation||u.session.setScrollTop(p.data-u.scrollMargin.top)}),this.scrollBarH.on("scroll",function(p){u.$scrollAnimation||u.session.setScrollLeft(p.data-u.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new s(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(p){u.updateCharacterSize(),u.onResize(!0,u.gutterWidth,u.$size.width,u.$size.height),u._signal("changeCharacterSize",p)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!$.isIOS,this.$loop=new r(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),d.resetOptions(this),d._signal("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,b.implement(this,f),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),S.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},this.setSession=function(h){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=h,h&&this.scrollMargin.top&&h.getScrollTop()<=0&&h.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(h),this.$markerBack.setSession(h),this.$markerFront.setSession(h),this.$gutterLayer.setSession(h),this.$textLayer.setSession(h),h&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(h,m,u){if(m===void 0&&(m=1/0),this.$changedLines?(this.$changedLines.firstRow>h&&(this.$changedLines.firstRow=h),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(h){h?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(h,m,u,c){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=h?1:0;var p=this.container;c||(c=p.clientHeight||p.scrollHeight),u||(u=p.clientWidth||p.scrollWidth);var a=this.$updateCachedSize(h,m,u,c);if(!this.$size.scrollerHeight||!u&&!c)return this.resizing=0;h&&(this.$gutterLayer.$padding=null),h?this.$renderChanges(a|this.$changes,!0):this.$loop.schedule(a|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(h,m,u,c){c-=this.$extraHeight||0;var p=0,a=this.$size,w={width:a.width,height:a.height,scrollerHeight:a.scrollerHeight,scrollerWidth:a.scrollerWidth};if(c&&(h||a.height!=c)&&(a.height=c,p|=this.CHANGE_SIZE,a.scrollerHeight=a.height,this.$horizScroll&&(a.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",p=p|this.CHANGE_SCROLL),u&&(h||a.width!=u)){p|=this.CHANGE_SIZE,a.width=u,m==null&&(m=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=m,S.setStyle(this.scrollBarH.element.style,"left",m+"px"),S.setStyle(this.scroller.style,"left",m+this.margin.left+"px"),a.scrollerWidth=Math.max(0,u-m-this.scrollBarV.getWidth()-this.margin.h),S.setStyle(this.$gutter.style,"left",this.margin.left+"px");var y=this.scrollBarV.getWidth()+"px";S.setStyle(this.scrollBarH.element.style,"right",y),S.setStyle(this.scroller.style,"right",y),S.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||h)&&(p|=this.CHANGE_FULL)}return a.$dirty=!u||!c,p&&this._signal("resize",w),p},this.onGutterResize=function(h){var m=this.$showGutter?h:0;m!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,m,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},this.adjustWrapLimit=function(){var h=this.$size.scrollerWidth-this.$padding*2,m=Math.floor(h/this.characterWidth);return this.session.adjustWrapLimit(m,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(h){this.setOption("animatedScroll",h)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(h){this.setOption("showInvisibles",h),this.session.$bidiHandler.setShowInvisibles(h)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(h){this.setOption("displayIndentGuides",h)},this.setShowPrintMargin=function(h){this.setOption("showPrintMargin",h)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(h){this.setOption("printMarginColumn",h)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(h){return this.setOption("showGutter",h)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(h){this.setOption("fadeFoldWidgets",h)},this.setHighlightGutterLine=function(h){this.setOption("highlightGutterLine",h)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var h=S.createElement("div");h.className="ace_layer ace_print-margin-layer",this.$printMarginEl=S.createElement("div"),this.$printMarginEl.className="ace_print-margin",h.appendChild(this.$printMarginEl),this.content.insertBefore(h,this.content.firstChild)}var m=this.$printMarginEl.style;m.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",m.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var h=this.textarea.style,m=this.$composition;if(!this.$keepTextAreaAtCursor&&!m){S.translate(this.textarea,-100,0);return}var u=this.$cursorLayer.$pixelPos;if(!!u){m&&m.markerRange&&(u=this.$cursorLayer.getPixelPosition(m.markerRange.start,!0));var c=this.layerConfig,p=u.top,a=u.left;p-=c.offset;var w=m&&m.useTextareaForIME?this.lineHeight:C?0:1;if(p<0||p>c.height-w){S.translate(this.textarea,0,0);return}var y=1,L=this.$size.height-w;if(!m)p+=this.lineHeight;else if(m.useTextareaForIME){var E=this.textarea.value;y=this.characterWidth*this.session.$getStringScreenWidth(E)[0]}else p+=this.lineHeight+2;a-=this.scrollLeft,a>this.$size.scrollerWidth-y&&(a=this.$size.scrollerWidth-y),a+=this.gutterWidth+this.margin.left,S.setStyle(h,"height",w+"px"),S.setStyle(h,"width",y+"px"),S.translate(this.textarea,Math.min(a,this.$size.scrollerWidth-y),Math.min(p,L))}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},this.getLastFullyVisibleRow=function(){var h=this.layerConfig,m=h.lastRow,u=this.session.documentToScreenRow(m,0)*h.lineHeight;return u-this.session.getScrollTop()>h.height-h.lineHeight?m-1:m},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(h){this.$padding=h,this.$textLayer.setPadding(h),this.$cursorLayer.setPadding(h),this.$markerFront.setPadding(h),this.$markerBack.setPadding(h),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(h,m,u,c){var p=this.scrollMargin;p.top=h|0,p.bottom=m|0,p.right=c|0,p.left=u|0,p.v=p.top+p.bottom,p.h=p.left+p.right,p.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-p.top),this.updateFull()},this.setMargin=function(h,m,u,c){var p=this.margin;p.top=h|0,p.bottom=m|0,p.right=c|0,p.left=u|0,p.v=p.top+p.bottom,p.h=p.left+p.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(h){this.setOption("hScrollBarAlwaysVisible",h)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(h){this.setOption("vScrollBarAlwaysVisible",h)},this.$updateScrollBarV=function(){var h=this.layerConfig.maxHeight,m=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(h-=(m-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>h-m&&(h=this.scrollTop+m,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(h+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(h,m){if(this.$changes&&(h|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!h&&!m){this.$changes|=h;return}if(this.$size.$dirty)return this.$changes|=h,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",h),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var u=this.layerConfig;if(h&this.CHANGE_FULL||h&this.CHANGE_SIZE||h&this.CHANGE_TEXT||h&this.CHANGE_LINES||h&this.CHANGE_SCROLL||h&this.CHANGE_H_SCROLL){if(h|=this.$computeLayerConfig()|this.$loop.clear(),u.firstRow!=this.layerConfig.firstRow&&u.firstRowScreen==this.layerConfig.firstRowScreen){var c=this.scrollTop+(u.firstRow-this.layerConfig.firstRow)*this.lineHeight;c>0&&(this.scrollTop=c,h=h|this.CHANGE_SCROLL,h|=this.$computeLayerConfig()|this.$loop.clear())}u=this.layerConfig,this.$updateScrollBarV(),h&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),S.translate(this.content,-this.scrollLeft,-u.offset);var p=u.width+2*this.$padding+"px",a=u.minHeight+"px";S.setStyle(this.content.style,"width",p),S.setStyle(this.content.style,"height",a)}if(h&this.CHANGE_H_SCROLL&&(S.translate(this.content,-this.scrollLeft,-u.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),h&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(u),this.$showGutter&&this.$gutterLayer.update(u),this.$markerBack.update(u),this.$markerFront.update(u),this.$cursorLayer.update(u),this.$moveTextAreaToCursor(),this._signal("afterRender",h);return}if(h&this.CHANGE_SCROLL){this.$changedLines=null,h&this.CHANGE_TEXT||h&this.CHANGE_LINES?this.$textLayer.update(u):this.$textLayer.scrollLines(u),this.$showGutter&&(h&this.CHANGE_GUTTER||h&this.CHANGE_LINES?this.$gutterLayer.update(u):this.$gutterLayer.scrollLines(u)),this.$markerBack.update(u),this.$markerFront.update(u),this.$cursorLayer.update(u),this.$moveTextAreaToCursor(),this._signal("afterRender",h);return}h&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(u),this.$showGutter&&this.$gutterLayer.update(u)):h&this.CHANGE_LINES?(this.$updateLines()||h&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(u):h&this.CHANGE_TEXT||h&this.CHANGE_GUTTER?this.$showGutter&&this.$gutterLayer.update(u):h&this.CHANGE_CURSOR&&this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(u),h&this.CHANGE_CURSOR&&(this.$cursorLayer.update(u),this.$moveTextAreaToCursor()),h&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(u),h&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(u),this._signal("afterRender",h)},this.$autosize=function(){var h=this.session.getScreenLength()*this.lineHeight,m=this.$maxLines*this.lineHeight,u=Math.min(m,Math.max((this.$minLines||1)*this.lineHeight,h))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(u+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&u>this.$maxPixelHeight&&(u=this.$maxPixelHeight);var c=u<=2*this.lineHeight,p=!c&&h>m;if(u!=this.desiredHeight||this.$size.height!=this.desiredHeight||p!=this.$vScroll){p!=this.$vScroll&&(this.$vScroll=p,this.scrollBarV.setVisible(p));var a=this.container.clientWidth;this.container.style.height=u+"px",this.$updateCachedSize(!0,this.$gutterWidth,a,u),this.desiredHeight=u,this._signal("autosize")}},this.$computeLayerConfig=function(){var h=this.session,m=this.$size,u=m.height<=2*this.lineHeight,c=this.session.getScreenLength(),p=c*this.lineHeight,a=this.$getLongestLine(),w=!u&&(this.$hScrollBarAlwaysVisible||m.scrollerWidth-a-2*this.$padding<0),y=this.$horizScroll!==w;y&&(this.$horizScroll=w,this.scrollBarH.setVisible(w));var L=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var E=m.scrollerHeight+this.lineHeight,M=!this.$maxLines&&this.$scrollPastEnd?(m.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;p+=M;var R=this.scrollMargin;this.session.setScrollTop(Math.max(-R.top,Math.min(this.scrollTop,p-m.scrollerHeight+R.bottom))),this.session.setScrollLeft(Math.max(-R.left,Math.min(this.scrollLeft,a+2*this.$padding-m.scrollerWidth+R.right)));var x=!u&&(this.$vScrollBarAlwaysVisible||m.scrollerHeight-p+M<0||this.scrollTop>R.top),F=L!==x;F&&(this.$vScroll=x,this.scrollBarV.setVisible(x));var I=this.scrollTop%this.lineHeight,P=Math.ceil(E/this.lineHeight)-1,O=Math.max(0,Math.round((this.scrollTop-I)/this.lineHeight)),N=O+P,B,G,H=this.lineHeight;O=h.screenToDocumentRow(O,0);var te=h.getFoldLine(O);te&&(O=te.start.row),B=h.documentToScreenRow(O,0),G=h.getRowLength(O)*H,N=Math.min(h.screenToDocumentRow(N,0),h.getLength()-1),E=m.scrollerHeight+h.getRowLength(N)*H+G,I=this.scrollTop-B*H;var j=0;return(this.layerConfig.width!=a||y)&&(j=this.CHANGE_H_SCROLL),(y||F)&&(j|=this.$updateCachedSize(!0,this.gutterWidth,m.width,m.height),this._signal("scrollbarVisibilityChanged"),F&&(a=this.$getLongestLine())),this.layerConfig={width:a,padding:this.$padding,firstRow:O,firstRowScreen:B,lastRow:N,lineHeight:H,characterWidth:this.characterWidth,minHeight:E,maxHeight:p,offset:I,gutterOffset:H?Math.max(0,Math.ceil((I+m.height-m.scrollerHeight)/H)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(a-this.$padding),j},this.$updateLines=function(){if(!!this.$changedLines){var h=this.$changedLines.firstRow,m=this.$changedLines.lastRow;this.$changedLines=null;var u=this.layerConfig;if(!(h>u.lastRow+1)&&!(mthis.$textLayer.MAX_LINE_LENGTH&&(h=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(h*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(h,m){this.$gutterLayer.addGutterDecoration(h,m)},this.removeGutterDecoration=function(h,m){this.$gutterLayer.removeGutterDecoration(h,m)},this.updateBreakpoints=function(h){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(h){this.$gutterLayer.setAnnotations(h),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(h,m,u){this.scrollCursorIntoView(h,u),this.scrollCursorIntoView(m,u)},this.scrollCursorIntoView=function(h,m,u){if(this.$size.scrollerHeight!==0){var c=this.$cursorLayer.getPixelPosition(h),p=c.left,a=c.top,w=u&&u.top||0,y=u&&u.bottom||0,L=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;L+w>a?(m&&L+w>a+this.lineHeight&&(a-=m*this.$size.scrollerHeight),a===0&&(a=-this.scrollMargin.top),this.session.setScrollTop(a)):L+this.$size.scrollerHeight-yp?(p=1-this.scrollMargin.top||m>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||h<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||h>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},this.pixelToScreenCoordinates=function(h,m){var u;if(this.$hasCssTransforms){u={top:0,left:0};var c=this.$fontMetrics.transformCoordinates([h,m]);h=c[1]-this.gutterWidth-this.margin.left,m=c[0]}else u=this.scroller.getBoundingClientRect();var p=h+this.scrollLeft-u.left-this.$padding,a=p/this.characterWidth,w=Math.floor((m+this.scrollTop-u.top)/this.lineHeight),y=this.$blockCursor?Math.floor(a):Math.round(a);return{row:w,column:y,side:a-y>0?1:-1,offsetX:p}},this.screenToTextCoordinates=function(h,m){var u;if(this.$hasCssTransforms){u={top:0,left:0};var c=this.$fontMetrics.transformCoordinates([h,m]);h=c[1]-this.gutterWidth-this.margin.left,m=c[0]}else u=this.scroller.getBoundingClientRect();var p=h+this.scrollLeft-u.left-this.$padding,a=p/this.characterWidth,w=this.$blockCursor?Math.floor(a):Math.round(a),y=Math.floor((m+this.scrollTop-u.top)/this.lineHeight);return this.session.screenToDocumentPosition(y,Math.max(w,0),p)},this.textToScreenCoordinates=function(h,m){var u=this.scroller.getBoundingClientRect(),c=this.session.documentToScreenPosition(h,m),p=this.$padding+(this.session.$bidiHandler.isBidiRow(c.row,h)?this.session.$bidiHandler.getPosLeft(c.column):Math.round(c.column*this.characterWidth)),a=c.row*this.lineHeight;return{pageX:u.left+p-this.scrollLeft,pageY:u.top+a-this.scrollTop}},this.visualizeFocus=function(){S.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){S.removeCssClass(this.container,"ace_focus")},this.showComposition=function(h){this.$composition=h,h.cssText||(h.cssText=this.textarea.style.cssText),h.useTextareaForIME==null&&(h.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(S.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):h.markerId=this.session.addMarker(h.markerRange,"ace_composition_marker","text")},this.setCompositionText=function(h){var m=this.session.selection.cursor;this.addToken(h,"composition_placeholder",m.row,m.column),this.$moveTextAreaToCursor()},this.hideComposition=function(){if(!!this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),S.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var h=this.session.selection.cursor;this.removeExtraToken(h.row,h.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},this.addToken=function(h,m,u,c){var p=this.session;p.bgTokenizer.lines[u]=null;var a={type:m,value:h},w=p.getTokens(u);if(c==null)w.push(a);else for(var y=0,L=0;L50&&n.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:n}))}}).call(e.prototype);var i=function(n,r,s){var f=null,v=!1,$=Object.create(d),C=[],g=new e({messageBuffer:C,terminate:function(){},postMessage:function(m){C.push(m),f&&(v?setTimeout(h):h())}});g.setEmitSync=function(m){v=m};var h=function(){var m=C.shift();m.command?f[m.command].apply(f,m.args):m.event&&$._signal(m.event,m.data)};return $.postMessage=function(m){g.onMessage({data:m})},$.callback=function(m,u){this.postMessage({type:"call",id:u,data:m})},$.emit=function(m,u){this.postMessage({type:"event",name:m,data:u})},o.loadModule(["worker",r],function(m){for(f=new m[s]($);C.length;)h()}),g};A.UIWorkerClient=i,A.WorkerClient=e,A.createWorker=t}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(_,A,k){"use strict";var b=_("./range").Range,S=_("./lib/event_emitter").EventEmitter,d=_("./lib/oop"),o=function(l,t,e,i,n,r){var s=this;this.length=t,this.session=l,this.doc=l.getDocument(),this.mainClass=n,this.othersClass=r,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=i,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=e;var f=l.getUndoManager().$undoStack||l.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=f.length,this.setup(),l.selection.on("changeCursor",this.$onCursorChange)};(function(){d.implement(this,S),this.setup=function(){var l=this,t=this.doc,e=this.session;this.selectionBefore=e.selection.toJSON(),e.selection.inMultiSelectMode&&e.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=e.addMarker(new b(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),l.others.push(r)}),e.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var l=this.session,t=this;this.othersActive=!0,this.others.forEach(function(e){e.markerId=l.addMarker(new b(e.row,e.column,e.row,e.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(!!this.othersActive){this.othersActive=!1;for(var l=0;l=this.pos.column&&t.start.column<=this.pos.column+this.length+1,n=t.start.column-this.pos.column;if(this.updateAnchors(l),i&&(this.length+=e),i&&!this.session.$fromUndo){if(l.action==="insert")for(var r=this.others.length-1;r>=0;r--){var s=this.others[r],f={row:s.row,column:s.column+n};this.doc.insertMergedLines(f,l.lines)}else if(l.action==="remove")for(var r=this.others.length-1;r>=0;r--){var s=this.others[r],f={row:s.row,column:s.column+n};this.doc.remove(new b(f.row,f.column,f.row,f.column-e))}}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(l){this.pos.onChange(l);for(var t=this.others.length;t--;)this.others[t].onChange(l);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var l=this,t=this.session,e=function(n,r){t.removeMarker(n.markerId),n.markerId=t.addMarker(new b(n.row,n.column,n.row,n.column+l.length),r,null,!1)};e(this.pos,this.mainClass);for(var i=this.others.length;i--;)e(this.others[i],this.othersClass)}},this.onCursorChange=function(l){if(!(this.$updating||!this.session)){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",l)):(this.hideOtherMarkers(),this._emit("cursorLeave",l))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(this.$undoStackDepth!==-1){for(var l=this.session.getUndoManager(),t=(l.$undoStack||l.$undostack).length-this.$undoStackDepth,e=0;e1?S.multiSelect.joinSelections():S.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(S){S.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(S){S.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(S){S.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],A.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(S){S.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(S){return S&&S.inMultiSelectMode}}];var b=_("../keyboard/hash_handler").HashHandler;A.keyboardHandler=new b(A.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(_,A,k){var b=_("./range_list").RangeList,S=_("./range").Range,d=_("./selection").Selection,o=_("./mouse/multi_select_handler").onMouseDown,l=_("./lib/event"),t=_("./lib/lang"),e=_("./commands/multi_select_commands");A.commands=e.defaultCommands.concat(e.multiSelectCommands);var i=_("./search").Search,n=new i;function r(g,h,m){return n.$options.wrap=!0,n.$options.needle=h,n.$options.backwards=m==-1,n.find(g)}var s=_("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(s.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(g,h){if(!!g){if(!this.inMultiSelectMode&&this.rangeCount===0){var m=this.toOrientedRange();if(this.rangeList.add(m),this.rangeList.add(g),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),h||this.fromOrientedRange(g);this.rangeList.removeAll(),this.rangeList.add(m),this.$onAddRange(m)}g.cursor||(g.cursor=g.end);var u=this.rangeList.add(g);return this.$onAddRange(g),u.length&&this.$onRemoveRange(u),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),h||this.fromOrientedRange(g)}},this.toSingleRange=function(g){g=g||this.ranges[0];var h=this.rangeList.removeAll();h.length&&this.$onRemoveRange(h),g&&this.fromOrientedRange(g)},this.substractPoint=function(g){var h=this.rangeList.substractPoint(g);if(h)return this.$onRemoveRange(h),h[0]},this.mergeOverlappingRanges=function(){var g=this.rangeList.merge();g.length&&this.$onRemoveRange(g)},this.$onAddRange=function(g){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(g),this._signal("addRange",{range:g})},this.$onRemoveRange=function(g){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var h=this.rangeList.ranges.pop();g.push(h),this.rangeCount=0}for(var m=g.length;m--;){var u=this.ranges.indexOf(g[m]);this.ranges.splice(u,1)}this._signal("removeRange",{ranges:g}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),h=h||this.ranges[0],h&&!h.isEqual(this.getRange())&&this.fromOrientedRange(h)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new b,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var g=this.ranges.length?this.ranges:[this.getRange()],h=[],m=0;m1){var g=this.rangeList.ranges,h=g[g.length-1],m=S.fromPoints(g[0].start,h.end);this.toSingleRange(),this.setSelectionRange(m,h.cursor==h.start)}else{var u=this.session.documentToScreenPosition(this.cursor),c=this.session.documentToScreenPosition(this.anchor),p=this.rectangularRangeBlock(u,c);p.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(g,h,m){var u=[],c=g.column0;)I--;if(I>0)for(var P=0;u[P].isEmpty();)P++;for(var O=I;O>=P;O--)u[O].isEmpty()&&u.splice(O,1)}return u}}.call(d.prototype);var f=_("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(g){g.cursor||(g.cursor=g.end);var h=this.getSelectionStyle();return g.marker=this.session.addMarker(g,"ace_selection",h),this.session.$selectionMarkers.push(g),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,g},this.removeSelectionMarker=function(g){if(!!g.marker){this.session.removeMarker(g.marker);var h=this.session.$selectionMarkers.indexOf(g);h!=-1&&this.session.$selectionMarkers.splice(h,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(g){for(var h=this.session.$selectionMarkers,m=g.length;m--;){var u=g[m];if(!!u.marker){this.session.removeMarker(u.marker);var c=h.indexOf(u);c!=-1&&h.splice(c,1)}}this.session.selectionMarkerCount=h.length},this.$onAddRange=function(g){this.addSelectionMarker(g.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(g){this.removeSelectionMarkers(g.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(g){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(e.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(g){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(e.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(g){var h=g.command,m=g.editor;if(!!m.multiSelect){if(h.multiSelectAction)h.multiSelectAction=="forEach"?u=m.forEachSelection(h,g.args):h.multiSelectAction=="forEachLine"?u=m.forEachSelection(h,g.args,!0):h.multiSelectAction=="single"?(m.exitMultiSelectMode(),u=h.exec(m,g.args||{})):u=h.multiSelectAction(m,g.args||{});else{var u=h.exec(m,g.args||{});m.multiSelect.addRange(m.multiSelect.toOrientedRange()),m.multiSelect.mergeOverlappingRanges()}return u}},this.forEachSelection=function(g,h,m){if(!this.inVirtualSelectionMode){var u=m&&m.keepOrder,c=m==!0||m&&m.$byLines,p=this.session,a=this.selection,w=a.rangeList,y=(u?a:w).ranges,L;if(!y.length)return g.exec?g.exec(this,h||{}):g(this,h||{});var E=a._eventRegistry;a._eventRegistry={};var M=new d(p);this.inVirtualSelectionMode=!0;for(var R=y.length;R--;){if(c)for(;R>0&&y[R].start.row==y[R-1].end.row;)R--;M.fromOrientedRange(y[R]),M.index=R,this.selection=p.selection=M;var x=g.exec?g.exec(this,h||{}):g(this,h||{});!L&&x!==void 0&&(L=x),M.toOrientedRange(y[R])}M.detach(),this.selection=p.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=E,a.mergeOverlappingRanges(),a.ranges[0]&&a.fromOrientedRange(a.ranges[0]);var F=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),F&&F.from==F.to&&this.renderer.animateScrolling(F.from),L}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var g="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var h=this.multiSelect.rangeList.ranges,m=[],u=0;u0);a<0&&(a=0),w>=L&&(w=L-1)}var M=this.session.removeFullLines(a,w);M=this.$reAlignText(M,y),this.session.insert({row:a,column:0},M.join(` -`)+` -`),y||(p.start.column=0,p.end.column=M[M.length-1].length),this.selection.setRange(p)}else{c.forEach(function(I){h.substractPoint(I.cursor)});var R=0,x=1/0,F=m.map(function(I){var P=I.cursor,O=g.getLine(P.row),N=O.substr(P.column).search(/\S/g);return N==-1&&(N=0),P.column>R&&(R=P.column),NB?g.insert(O,t.stringRepeat(" ",N-B)):g.remove(new S(O.row,O.column,O.row,O.column-N+B)),I.start.column=I.end.column=R,I.start.row=I.end.row=O.row,I.cursor=I.end}),h.fromOrientedRange(m[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(g,h){var m=!0,u=!0,c,p,a;return g.map(function(M){var R=M.match(/(\s*)(.*?)(\s*)([=:].*)/);return R?c==null?(c=R[1].length,p=R[2].length,a=R[3].length,R):(c+p+a!=R[1].length+R[2].length+R[3].length&&(u=!1),c!=R[1].length&&(m=!1),c>R[1].length&&(c=R[1].length),pR[3].length&&(a=R[3].length),R):[M]}).map(h?y:m?u?L:y:E);function w(M){return t.stringRepeat(" ",M)}function y(M){return M[2]?w(c)+M[2]+w(p-M[2].length+a)+M[4].replace(/^([=:])\s+/,"$1 "):M[0]}function L(M){return M[2]?w(c+p-M[2].length)+M[2]+w(a)+M[4].replace(/^([=:])\s+/,"$1 "):M[0]}function E(M){return M[2]?w(c)+M[2]+w(a)+M[4].replace(/^([=:])\s+/,"$1 "):M[0]}}}).call(f.prototype);function v(g,h){return g.row==h.row&&g.column==h.column}A.onSessionChange=function(g){var h=g.session;h&&!h.multiSelect&&(h.$selectionMarkers=[],h.selection.$initRangeList(),h.multiSelect=h.selection),this.multiSelect=h&&h.multiSelect;var m=g.oldSession;m&&(m.multiSelect.off("addRange",this.$onAddRange),m.multiSelect.off("removeRange",this.$onRemoveRange),m.multiSelect.off("multiSelect",this.$onMultiSelect),m.multiSelect.off("singleSelect",this.$onSingleSelect),m.multiSelect.lead.off("change",this.$checkMultiselectChange),m.multiSelect.anchor.off("change",this.$checkMultiselectChange)),h&&(h.multiSelect.on("addRange",this.$onAddRange),h.multiSelect.on("removeRange",this.$onRemoveRange),h.multiSelect.on("multiSelect",this.$onMultiSelect),h.multiSelect.on("singleSelect",this.$onSingleSelect),h.multiSelect.lead.on("change",this.$checkMultiselectChange),h.multiSelect.anchor.on("change",this.$checkMultiselectChange)),h&&this.inMultiSelectMode!=h.selection.inMultiSelectMode&&(h.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function $(g){g.$multiselectOnSessionChange||(g.$onAddRange=g.$onAddRange.bind(g),g.$onRemoveRange=g.$onRemoveRange.bind(g),g.$onMultiSelect=g.$onMultiSelect.bind(g),g.$onSingleSelect=g.$onSingleSelect.bind(g),g.$multiselectOnSessionChange=A.onSessionChange.bind(g),g.$checkMultiselectChange=g.$checkMultiselectChange.bind(g),g.$multiselectOnSessionChange(g),g.on("changeSession",g.$multiselectOnSessionChange),g.on("mousedown",o),g.commands.addCommands(e.defaultCommands),C(g))}function C(g){if(!g.textInput)return;var h=g.textInput.getElement(),m=!1;l.addListener(h,"keydown",function(c){var p=c.keyCode==18&&!(c.ctrlKey||c.shiftKey||c.metaKey);g.$blockSelectEnabled&&p?m||(g.renderer.setMouseCursor("crosshair"),m=!0):m&&u()},g),l.addListener(h,"keyup",u,g),l.addListener(h,"blur",u,g);function u(c){m&&(g.renderer.setMouseCursor(""),m=!1)}}A.MultiSelect=$,_("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(g){$(this),g?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",o)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",o))},value:!0},enableBlockSelect:{set:function(g){this.$blockSelectEnabled=g},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(_,A,k){"use strict";var b=_("../../range").Range,S=A.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(d,o,l){var t=d.getLine(l);return this.foldingStartMarker.test(t)?"start":o=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(t)?"end":""},this.getFoldWidgetRange=function(d,o,l){return null},this.indentationBlock=function(d,o,l){var t=/\S/,e=d.getLine(o),i=e.search(t);if(i!=-1){for(var n=l||e.length,r=d.getLength(),s=o,f=o;++os){var C=d.getLine(f).length;return new b(s,n,f,C)}}},this.openingBracketBlock=function(d,o,l,t,e){var i={row:l,column:t+1},n=d.$findClosingBracket(o,i,e);if(!!n){var r=d.foldWidgets[n.row];return r==null&&(r=d.getFoldWidget(n.row)),r=="start"&&n.row>i.row&&(n.row--,n.column=d.getLine(n.row).length),b.fromPoints(i,n)}},this.closingBracketBlock=function(d,o,l,t,e){var i={row:l,column:t},n=d.$findOpeningBracket(o,i);if(!!n)return n.column++,i.column--,b.fromPoints(n,i)}}).call(S.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(_,A,k){"use strict";A.isDark=!1,A.cssClass="ace-tm",A.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',A.$id="ace/theme/textmate";var b=_("../lib/dom");b.importCssString(A.cssText,A.cssClass,!1)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],function(_,A,k){"use strict";var b=_("./lib/dom");function S(d){this.session=d,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(d){var o;return this.lineWidgets?o=this.lineWidgets[d]&&this.lineWidgets[d].rowCount||0:o=0,!this.$useWrapMode||!this.$wrapData[d]?1+o:this.$wrapData[d].length+1+o},this.$getWidgetScreenLength=function(){var d=0;return this.lineWidgets.forEach(function(o){o&&o.rowCount&&!o.hidden&&(d+=o.rowCount)}),d},this.$onChangeEditor=function(d){this.attach(d.editor)},this.attach=function(d){d&&d.widgetManager&&d.widgetManager!=this&&d.widgetManager.detach(),this.editor!=d&&(this.detach(),this.editor=d,d&&(d.widgetManager=this,d.renderer.on("beforeRender",this.measureWidgets),d.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(d){var o=this.editor;if(!!o){this.editor=null,o.widgetManager=null,o.renderer.off("beforeRender",this.measureWidgets),o.renderer.off("afterRender",this.renderWidgets);var l=this.session.lineWidgets;l&&l.forEach(function(t){t&&t.el&&t.el.parentNode&&(t._inDocument=!1,t.el.parentNode.removeChild(t.el))})}},this.updateOnFold=function(d,o){var l=o.lineWidgets;if(!(!l||!d.action)){for(var t=d.data,e=t.start.row,i=t.end.row,n=d.action=="add",r=e+1;ro[l].column&&l++,i.unshift(l,0),o.splice.apply(o,i),this.$updateRows()}}},this.$updateRows=function(){var d=this.session.lineWidgets;if(!!d){var o=!0;d.forEach(function(l,t){if(l)for(o=!1,l.row=t;l.$oldWidget;)l.$oldWidget.row=t,l=l.$oldWidget}),o&&(this.session.lineWidgets=null)}},this.$registerLineWidget=function(d){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var o=this.session.lineWidgets[d.row];return o&&(d.$oldWidget=o,o.el&&o.el.parentNode&&(o.el.parentNode.removeChild(o.el),o._inDocument=!1)),this.session.lineWidgets[d.row]=d,d},this.addLineWidget=function(d){if(this.$registerLineWidget(d),d.session=this.session,!this.editor)return d;var o=this.editor.renderer;d.html&&!d.el&&(d.el=b.createElement("div"),d.el.innerHTML=d.html),d.el&&(b.addCssClass(d.el,"ace_lineWidgetContainer"),d.el.style.position="absolute",d.el.style.zIndex=5,o.container.appendChild(d.el),d._inDocument=!0,d.coverGutter||(d.el.style.zIndex=3),d.pixelHeight==null&&(d.pixelHeight=d.el.offsetHeight)),d.rowCount==null&&(d.rowCount=d.pixelHeight/o.layerConfig.lineHeight);var l=this.session.getFoldAt(d.row,0);if(d.$fold=l,l){var t=this.session.lineWidgets;d.row==l.end.row&&!t[l.start.row]?t[l.start.row]=d:d.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:d.row}}}),this.$updateRows(),this.renderWidgets(null,o),this.onWidgetChanged(d),d},this.removeLineWidget=function(d){if(d._inDocument=!1,d.session=null,d.el&&d.el.parentNode&&d.el.parentNode.removeChild(d.el),d.editor&&d.editor.destroy)try{d.editor.destroy()}catch(l){}if(this.session.lineWidgets){var o=this.session.lineWidgets[d.row];if(o==d)this.session.lineWidgets[d.row]=d.$oldWidget,d.$oldWidget&&this.onWidgetChanged(d.$oldWidget);else for(;o;){if(o.$oldWidget==d){o.$oldWidget=d.$oldWidget;break}o=o.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:d.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(d){for(var o=this.session.lineWidgets,l=o&&o[d],t=[];l;)t.push(l),l=l.$oldWidget;return t},this.onWidgetChanged=function(d){this.session._changedWidgets.push(d),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(d,o){var l=this.session._changedWidgets,t=o.layerConfig;if(!(!l||!l.length)){for(var e=1/0,i=0;i0&&!t[e];)e--;this.firstRow=l.firstRow,this.lastRow=l.lastRow,o.$cursorLayer.config=l;for(var n=e;n<=i;n++){var r=t[n];if(!(!r||!r.el)){if(r.hidden){r.el.style.top=-100-(r.pixelHeight||0)+"px";continue}r._inDocument||(r._inDocument=!0,o.container.appendChild(r.el));var s=o.$cursorLayer.getPixelPosition({row:n,column:0},!0).top;r.coverLine||(s+=l.lineHeight*this.session.getRowLineCount(r.row)),r.el.style.top=s-l.offset+"px";var f=r.coverGutter?0:o.gutterWidth;r.fixedWidth||(f-=o.scrollLeft),r.el.style.left=f+"px",r.fullWidth&&r.screenWidth&&(r.el.style.minWidth=l.width+2*l.padding+"px"),r.fixedWidth?r.el.style.right=o.scrollBar.getWidth()+"px":r.el.style.right=""}}}}}).call(S.prototype),A.LineWidgets=S}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(_,A,k){"use strict";var b=_("../line_widgets").LineWidgets,S=_("../lib/dom"),d=_("../range").Range;function o(t,e,i){for(var n=0,r=t.length-1;n<=r;){var s=n+r>>1,f=i(e,t[s]);if(f>0)n=s+1;else if(f<0)r=s-1;else return s}return-(n+1)}function l(t,e,i){var n=t.getAnnotations().sort(d.comparePoints);if(!!n.length){var r=o(n,{row:e,column:-1},d.comparePoints);r<0&&(r=-r-1),r>=n.length?r=i>0?0:n.length-1:r===0&&i<0&&(r=n.length-1);var s=n[r];if(!(!s||!i)){if(s.row===e){do s=n[r+=i];while(s&&s.row===e);if(!s)return n.slice()}var f=[];e=s.row;do f[i<0?"unshift":"push"](s),s=n[r+=i];while(s&&s.row==e);return f.length&&f}}}A.showErrorMarker=function(t,e){var i=t.session;i.widgetManager||(i.widgetManager=new b(i),i.widgetManager.attach(t));var n=t.getCursorPosition(),r=n.row,s=i.widgetManager.getWidgetsAtRow(r).filter(function(c){return c.type=="errorMarker"})[0];s?s.destroy():r-=e;var f=l(i,r,e),v;if(f){var $=f[0];n.column=($.pos&&typeof $.column!="number"?$.pos.sc:$.column)||0,n.row=$.row,v=t.renderer.$gutterLayer.$annotations[n.row]}else{if(s)return;v={text:["Looks good!"],className:"ace_ok"}}t.session.unfold(n.row),t.selection.moveToPosition(n);var C={row:n.row,fixedWidth:!0,coverGutter:!0,el:S.createElement("div"),type:"errorMarker"},g=C.el.appendChild(S.createElement("div")),h=C.el.appendChild(S.createElement("div"));h.className="error_widget_arrow "+v.className;var m=t.renderer.$cursorLayer.getPixelPosition(n).left;h.style.left=m+t.renderer.gutterWidth-5+"px",C.el.className="error_widget_wrapper",g.className="error_widget "+v.className,g.innerHTML=v.text.join("
    "),g.appendChild(S.createElement("div"));var u=function(c,p,a){if(p===0&&(a==="esc"||a==="return"))return C.destroy(),{command:"null"}};C.destroy=function(){t.$mouseHandler.isMousePressed||(t.keyBinding.removeKeyboardHandler(u),i.widgetManager.removeLineWidget(C),t.off("changeSelection",C.destroy),t.off("changeSession",C.destroy),t.off("mouseup",C.destroy),t.off("change",C.destroy))},t.keyBinding.addKeyboardHandler(u),t.on("changeSelection",C.destroy),t.on("changeSession",C.destroy),t.on("mouseup",C.destroy),t.on("change",C.destroy),t.session.widgetManager.addLineWidget(C),C.el.onmousedown=t.focus.bind(t),t.renderer.scrollCursorIntoView(null,.5,{bottom:C.el.offsetHeight})},S.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(_,A,k){"use strict";_("./lib/fixoldbrowsers");var b=_("./lib/dom"),S=_("./lib/event"),d=_("./range").Range,o=_("./editor").Editor,l=_("./edit_session").EditSession,t=_("./undomanager").UndoManager,e=_("./virtual_renderer").VirtualRenderer;_("./worker/worker_client"),_("./keyboard/hash_handler"),_("./placeholder"),_("./multi_select"),_("./mode/folding/fold_mode"),_("./theme/textmate"),_("./ext/error_marker"),A.config=_("./config"),A.require=_,A.define=Q.amdD,A.edit=function(i,n){if(typeof i=="string"){var r=i;if(i=document.getElementById(r),!i)throw new Error("ace.edit can't find div #"+r)}if(i&&i.env&&i.env.editor instanceof o)return i.env.editor;var s="";if(i&&/input|textarea/i.test(i.tagName)){var f=i;s=f.value,i=b.createElement("pre"),f.parentNode.replaceChild(i,f)}else i&&(s=i.textContent,i.innerHTML="");var v=A.createEditSession(s),$=new o(new e(i),v,n),C={document:v,editor:$,onResize:$.resize.bind($,null)};return f&&(C.textarea=f),S.addListener(window,"resize",C.onResize),$.on("destroy",function(){S.removeListener(window,"resize",C.onResize),C.editor.container.env=null}),$.container.env=$.env=C,$},A.createEditSession=function(i,n){var r=new l(i,n);return r.setUndoManager(new t),r},A.Range=d,A.Editor=o,A.EditSession=l,A.UndoManager=t,A.VirtualRenderer=e,A.version=A.config.version}),function(){ace.require(["ace/ace"],function(_){_&&(_.config.init(!0),_.define=ace.define),window.ace||(window.ace=_);for(var A in _)_.hasOwnProperty(A)&&(window.ace[A]=_[A]);window.ace.default=window.ace,ce&&(ce.exports=window.ace)})}()},21545:function(ce,z,Q){ce=Q.nmd(ce),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(_,A,k){"use strict";var b=_("./lib/oop"),S=_("./lib/lang"),d=_("./lib/event_emitter").EventEmitter,o=_("./editor").Editor,l=_("./virtual_renderer").VirtualRenderer,t=_("./edit_session").EditSession,e=function(i,n,r){this.BELOW=1,this.BESIDE=0,this.$container=i,this.$theme=n,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(r||1),this.$cEditor=this.$editors[0],this.on("focus",function(s){this.$cEditor=s}.bind(this))};(function(){b.implement(this,d),this.$createEditor=function(){var i=document.createElement("div");i.className=this.$editorCSS,i.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(i);var n=new o(new l(i,this.$theme));return n.on("focus",function(){this._emit("focus",n)}.bind(this)),this.$editors.push(n),n.setFontSize(this.$fontSize),n},this.setSplits=function(i){var n;if(i<1)throw"The number of splits have to be > 0!";if(i!=this.$splits){if(i>this.$splits){for(;this.$splitsi;)n=this.$editors[this.$splits-1],this.$container.removeChild(n.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(i){return this.$editors[i]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(i){this.$editors.forEach(function(n){n.setTheme(i)})},this.setKeyboardHandler=function(i){this.$editors.forEach(function(n){n.setKeyboardHandler(i)})},this.forEach=function(i,n){this.$editors.forEach(i,n)},this.$fontSize="",this.setFontSize=function(i){this.$fontSize=i,this.forEach(function(n){n.setFontSize(i)})},this.$cloneSession=function(i){var n=new t(i.getDocument(),i.getMode()),r=i.getUndoManager();return n.setUndoManager(r),n.setTabSize(i.getTabSize()),n.setUseSoftTabs(i.getUseSoftTabs()),n.setOverwrite(i.getOverwrite()),n.setBreakpoints(i.getBreakpoints()),n.setUseWrapMode(i.getUseWrapMode()),n.setUseWorker(i.getUseWorker()),n.setWrapLimitRange(i.$wrapLimitRange.min,i.$wrapLimitRange.max),n.$foldData=i.$cloneFoldData(),n},this.setSession=function(i,n){var r;n==null?r=this.$cEditor:r=this.$editors[n];var s=this.$editors.some(function(f){return f.session===i});return s&&(i=this.$cloneSession(i)),r.setSession(i),i},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(i){this.$orientation!=i&&(this.$orientation=i,this.resize())},this.resize=function(){var i=this.$container.clientWidth,n=this.$container.clientHeight,r;if(this.$orientation==this.BESIDE)for(var s=i/this.$splits,f=0;fs.length)&&(S=s.length),S-=C.length;var l=s.indexOf(C,S);return l!==-1&&l===S}),String.prototype.repeat||A(String.prototype,"repeat",function(C){for(var S="",s=this;C>0;)C&1&&(S+=s),(C>>=1)&&(s+=s);return S}),String.prototype.includes||A(String.prototype,"includes",function(C,S){return this.indexOf(C,S)!=-1}),Object.assign||(Object.assign=function(C){if(C==null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(C),s=1;s>>0,l=arguments[1],r=l>>0,i=r<0?Math.max(s+r,0):Math.min(r,s),n=arguments[2],e=n===void 0?s:n>>0,t=e<0?Math.max(s+e,0):Math.min(e,s);i0;)s&1&&(l+=S),(s>>=1)&&(S+=S);return l};var A=/^\s\s*/,C=/\s\s*$/;T.stringTrimLeft=function(S){return S.replace(A,"")},T.stringTrimRight=function(S){return S.replace(C,"")},T.copyObject=function(S){var s={};for(var l in S)s[l]=S[l];return s},T.copyArray=function(S){for(var s=[],l=0,r=S.length;l65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(k,T,E){"use strict";T.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},T.getOS=function(){return T.isMac?T.OS.MAC:T.isLinux?T.OS.LINUX:T.OS.WINDOWS};var A=typeof navigator=="object"?navigator:{},C=(/mac|win|linux/i.exec(A.platform)||["other"])[0].toLowerCase(),S=A.userAgent||"",s=A.appName||"";T.isWin=C=="win",T.isMac=C=="mac",T.isLinux=C=="linux",T.isIE=s=="Microsoft Internet Explorer"||s.indexOf("MSAppHost")>=0?parseFloat((S.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((S.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),T.isOldIE=T.isIE&&T.isIE<9,T.isGecko=T.isMozilla=S.match(/ Gecko\/\d+/),T.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",T.isWebKit=parseFloat(S.split("WebKit/")[1])||void 0,T.isChrome=parseFloat(S.split(" Chrome/")[1])||void 0,T.isSafari=parseFloat(S.split(" Safari/")[1])&&!T.isChrome||void 0,T.isEdge=parseFloat(S.split(" Edge/")[1])||void 0,T.isAIR=S.indexOf("AdobeAIR")>=0,T.isAndroid=S.indexOf("Android")>=0,T.isChromeOS=S.indexOf(" CrOS ")>=0,T.isIOS=/iPad|iPhone|iPod/.test(S)&&!window.MSStream,T.isIOS&&(T.isMac=!0),T.isMobile=T.isIOS||T.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(k,T,E){"use strict";var A=k("./useragent"),C="http://www.w3.org/1999/xhtml";T.buildDom=function n(e,t,o){if(typeof e=="string"&&e){var a=document.createTextNode(e);return t&&t.appendChild(a),a}if(!Array.isArray(e))return e&&e.appendChild&&t&&t.appendChild(e),e;if(typeof e[0]!="string"||!e[0]){for(var c=[],g=0;g=1.5:!0,A.isChromeOS&&(T.HI_DPI=!1),typeof document!="undefined"){var i=document.createElement("div");T.HI_DPI&&i.style.transform!==void 0&&(T.HAS_CSS_TRANSFORMS=!0),!A.isEdge&&typeof i.style.animationName!="undefined"&&(T.HAS_CSS_ANIMATION=!0),i=null}T.HAS_CSS_TRANSFORMS?T.translate=function(n,e,t){n.style.transform="translate("+Math.round(e)+"px, "+Math.round(t)+"px)"}:T.translate=function(n,e,t){n.style.top=Math.round(t)+"px",n.style.left=Math.round(e)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(k,T,E){"use strict";var A=k("./dom");T.get=function(C,S){var s=new XMLHttpRequest;s.open("GET",C,!0),s.onreadystatechange=function(){s.readyState===4&&S(s.responseText)},s.send(null)},T.loadScript=function(C,S){var s=A.getDocumentHead(),l=document.createElement("script");l.src=C,s.appendChild(l),l.onload=l.onreadystatechange=function(r,i){(i||!l.readyState||l.readyState=="loaded"||l.readyState=="complete")&&(l=l.onload=l.onreadystatechange=null,i||S())}},T.qualifyURL=function(C){var S=document.createElement("a");return S.href=C,S.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(k,T,E){"use strict";T.inherits=function(A,C){A.super_=C,A.prototype=Object.create(C.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})},T.mixin=function(A,C){for(var S in C)A[S]=C[S];return A},T.implement=function(A,C){T.mixin(A,C)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(k,T,E){"use strict";var A={},C=function(){this.propagationStopped=!0},S=function(){this.defaultPrevented=!0};A._emit=A._dispatchEvent=function(s,l){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[s]||[],i=this._defaultHandlers[s];if(!(!r.length&&!i)){(typeof l!="object"||!l)&&(l={}),l.type||(l.type=s),l.stopPropagation||(l.stopPropagation=C),l.preventDefault||(l.preventDefault=S),r=r.slice();for(var n=0;n1&&(c=o[o.length-2]);var L=l[t+"Path"];return L==null?L=l.basePath:a=="/"&&(t=a=""),L&&L.slice(-1)!="/"&&(L+="/"),L+t+a+c+this.get("suffix")},T.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t};var r=function(e,t){if(e==="ace/theme/textmate"||e==="./theme/textmate")return t(null,k("./theme/textmate"));if(i)return i(e,t);console.error("loader is not configured")},i;T.setLoader=function(e){i=e},T.dynamicModules=Object.create(null),T.$loading={},T.$loaded={},T.loadModule=function(e,t){var o;if(Array.isArray(e))var a=e[0],c=e[1];else if(typeof e=="string")var c=e;var g=function(L){if(L&&!T.$loading[c])return t&&t(L);if(T.$loading[c]||(T.$loading[c]=[]),T.$loading[c].push(t),!(T.$loading[c].length>1)){var v=function(){r(c,function(b,u){u&&(T.$loaded[c]=u),T._emit("load.module",{name:c,module:u});var h=T.$loading[c];T.$loading[c]=null,h.forEach(function(f){f&&f(u)})})};if(!T.get("packaged"))return v();C.loadScript(T.moduleUrl(c,a),v),n()}};if(T.dynamicModules[c])T.dynamicModules[c]().then(function(L){L.default?g(L.default):g(L)});else{try{o=this.$require(c)}catch(L){}g(o||T.$loaded[c])}},T.$require=function(e){if(typeof E.require=="function"){var t="require";return E[t](e)}},T.setModuleLoader=function(e,t){T.dynamicModules[e]=t};var n=function(){!l.basePath&&!l.workerPath&&!l.modePath&&!l.themePath&&!Object.keys(l.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),n=function(){})};T.version="1.34.2"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(k,T,E){"use strict";k("./lib/fixoldbrowsers");var A=k("./config");A.setLoader(function(l,r){k([l],function(i){r(null,i)})});var C=function(){return this||typeof window!="undefined"&&window}();E.exports=function(l){A.init=S,A.$require=k,l.require=k,l.define=q.amdD},S(!0);function S(l){if(!(!C||!C.document)){A.set("packaged",l||k.packaged||E.packaged||C.define&&q.amdD.packaged);var r={},i="",n=document.currentScript||document._currentScript,e=n&&n.ownerDocument||document;n&&n.src&&(i=n.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var t=e.getElementsByTagName("script"),o=0;o ["+this.end.row+"/"+this.end.column+"]"},C.prototype.contains=function(S,s){return this.compare(S,s)==0},C.prototype.compareRange=function(S){var s,l=S.end,r=S.start;return s=this.compare(l.row,l.column),s==1?(s=this.compare(r.row,r.column),s==1?2:s==0?1:0):s==-1?-2:(s=this.compare(r.row,r.column),s==-1?-1:s==1?42:0)},C.prototype.comparePoint=function(S){return this.compare(S.row,S.column)},C.prototype.containsRange=function(S){return this.comparePoint(S.start)==0&&this.comparePoint(S.end)==0},C.prototype.intersects=function(S){var s=this.compareRange(S);return s==-1||s==0||s==1},C.prototype.isEnd=function(S,s){return this.end.row==S&&this.end.column==s},C.prototype.isStart=function(S,s){return this.start.row==S&&this.start.column==s},C.prototype.setStart=function(S,s){typeof S=="object"?(this.start.column=S.column,this.start.row=S.row):(this.start.row=S,this.start.column=s)},C.prototype.setEnd=function(S,s){typeof S=="object"?(this.end.column=S.column,this.end.row=S.row):(this.end.row=S,this.end.column=s)},C.prototype.inside=function(S,s){return this.compare(S,s)==0?!(this.isEnd(S,s)||this.isStart(S,s)):!1},C.prototype.insideStart=function(S,s){return this.compare(S,s)==0?!this.isEnd(S,s):!1},C.prototype.insideEnd=function(S,s){return this.compare(S,s)==0?!this.isStart(S,s):!1},C.prototype.compare=function(S,s){return!this.isMultiLine()&&S===this.start.row?sthis.end.column?1:0:Sthis.end.row?1:this.start.row===S?s>=this.start.column?0:-1:this.end.row===S?s<=this.end.column?0:1:0},C.prototype.compareStart=function(S,s){return this.start.row==S&&this.start.column==s?-1:this.compare(S,s)},C.prototype.compareEnd=function(S,s){return this.end.row==S&&this.end.column==s?1:this.compare(S,s)},C.prototype.compareInside=function(S,s){return this.end.row==S&&this.end.column==s?1:this.start.row==S&&this.start.column==s?-1:this.compare(S,s)},C.prototype.clipRows=function(S,s){if(this.end.row>s)var l={row:s+1,column:0};else if(this.end.rows)var r={row:s+1,column:0};else if(this.start.row1?(f++,f>4&&(f=1)):f=1,C.isIE){var $=Math.abs(d.clientX-m)>5||Math.abs(d.clientY-M)>5;(!y||$)&&(f=1),y&&clearTimeout(y),y=setTimeout(function(){y=null},v[f-1]||600),f==1&&(m=d.clientX,M=d.clientY)}if(d._clicks=f,b[u]("mousedown",d),f>4)f=0;else if(f>1)return b[u](w[f],d)}Array.isArray(L)||(L=[L]),L.forEach(function(d){e(d,"mousedown",p,h)})};function o(L){return 0|(L.ctrlKey?1:0)|(L.altKey?2:0)|(L.shiftKey?4:0)|(L.metaKey?8:0)}T.getModifierString=function(L){return A.KEY_MODS[o(L)]};function a(L,v,b){var u=o(v);if(!b&&v.code&&(b=A.$codeToKeyCode[v.code]||b),!C.isMac&&S){if(v.getModifierState&&(v.getModifierState("OS")||v.getModifierState("Win"))&&(u|=8),S.altGr)if((3&u)!=3)S.altGr=0;else return;if(b===18||b===17){var h=v.location;if(b===17&&h===1)S[b]==1&&(s=v.timeStamp);else if(b===18&&u===3&&h===2){var f=v.timeStamp-s;f<50&&(S.altGr=!0)}}}if(b in A.MODIFIER_KEYS&&(b=-1),!(!u&&b===13&&v.location===3&&(L(v,u,-b),v.defaultPrevented))){if(C.isChromeOS&&u&8){if(L(v,u,b),v.defaultPrevented)return;u&=-9}return!u&&!(b in A.FUNCTION_KEYS)&&!(b in A.PRINTABLE_KEYS)?!1:L(v,u,b)}}T.addCommandKeyListener=function(L,v,b){var u=null;e(L,"keydown",function(h){S[h.keyCode]=(S[h.keyCode]||0)+1;var f=a(v,h,h.keyCode);return u=h.defaultPrevented,f},b),e(L,"keypress",function(h){u&&(h.ctrlKey||h.altKey||h.shiftKey||h.metaKey)&&(T.stopEvent(h),u=null)},b),e(L,"keyup",function(h){S[h.keyCode]=null},b),S||(c(),e(window,"focus",c))};function c(){S=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!C.isOldIE){var g=1;T.nextTick=function(L,v){v=v||window;var b="zero-timeout-message-"+g++,u=function(h){h.data==b&&(T.stopPropagation(h),t(v,"message",u),L())};e(v,"message",u),v.postMessage(b,"*")}}T.$idleBlocked=!1,T.onIdle=function(L,v){return setTimeout(function b(){T.$idleBlocked?setTimeout(b,100):L()},v)},T.$idleBlockId=null,T.blockIdle=function(L){T.$idleBlockId&&clearTimeout(T.$idleBlockId),T.$idleBlocked=!0,T.$idleBlockId=setTimeout(function(){T.$idleBlocked=!1},L||100)},T.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),T.nextFrame?T.nextFrame=T.nextFrame.bind(window):T.nextFrame=function(L){setTimeout(L,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(k,T,E){"use strict";var A;E.exports={lineMode:!1,pasteCancelled:function(){return A&&A>Date.now()-50?!0:A=!1},cancel:function(){A=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(k,T,E){"use strict";var A=k("../lib/event"),C=k("../config").nls,S=k("../lib/useragent"),s=k("../lib/dom"),l=k("../lib/lang"),r=k("../clipboard"),i=S.isChrome<18,n=S.isIE,e=S.isChrome>63,t=400,o=k("../lib/keys"),a=o.KEY_MODS,c=S.isIOS,g=c?/\s/:/\n/,L=S.isMobile,v;v=function(b,u){var h=s.createElement("textarea");h.className="ace_text-input",h.setAttribute("wrap","off"),h.setAttribute("autocorrect","off"),h.setAttribute("autocapitalize","off"),h.setAttribute("spellcheck","false"),h.style.opacity="0",b.insertBefore(h,b.firstChild);var f=!1,m=!1,M=!1,y=!1,w="";L||(h.style.fontSize="1px");var p=!1,d=!1,$="",_=0,x=0,R=0,I=Number.MAX_SAFE_INTEGER,F=Number.MIN_SAFE_INTEGER,O=0;try{var N=document.activeElement===h}catch(G){}this.setNumberOfExtraLines=function(G){if(I=Number.MAX_SAFE_INTEGER,F=Number.MIN_SAFE_INTEGER,G<0){O=0;return}O=G},this.setAriaOptions=function(G){if(G.activeDescendant?(h.setAttribute("aria-haspopup","true"),h.setAttribute("aria-autocomplete",G.inline?"both":"list"),h.setAttribute("aria-activedescendant",G.activeDescendant)):(h.setAttribute("aria-haspopup","false"),h.setAttribute("aria-autocomplete","both"),h.removeAttribute("aria-activedescendant")),G.role&&h.setAttribute("role",G.role),G.setLabel){h.setAttribute("aria-roledescription",C("text-input.aria-roledescription","editor"));var te="";if(u.$textInputAriaLabel&&(te+="".concat(u.$textInputAriaLabel,", ")),u.session){var ie=u.session.selection.cursor.row;te+=C("text-input.aria-label","Cursor at row $0",[ie+1])}h.setAttribute("aria-label",te)}},this.setAriaOptions({role:"textbox"}),A.addListener(h,"blur",function(G){d||(u.onBlur(G),N=!1)},u),A.addListener(h,"focus",function(G){if(!d){if(N=!0,S.isEdge)try{if(!document.hasFocus())return}catch(te){}u.onFocus(G),S.isEdge?setTimeout(B):B()}},u),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:u.renderer.enableKeyboardAccessibility}),w||e||this.$focusScroll=="browser")return h.focus({preventScroll:!0});var G=h.style.top;h.style.position="fixed",h.style.top="0px";try{var te=h.getBoundingClientRect().top!=0}catch(ae){return}var ie=[];if(te)for(var ce=h.parentElement;ce&&ce.nodeType==1;)ie.push(ce),ce.setAttribute("ace_nocontext","true"),!ce.parentElement&&ce.getRootNode?ce=ce.getRootNode().host:ce=ce.parentElement;h.focus({preventScroll:!0}),te&&ie.forEach(function(ae){ae.removeAttribute("ace_nocontext")}),setTimeout(function(){h.style.position="",h.style.top=="0px"&&(h.style.top=G)},0)},this.blur=function(){h.blur()},this.isFocused=function(){return N},u.on("beforeEndOperation",function(){var G=u.curOp,te=G&&G.command&&G.command.name;if(te!="insertstring"){var ie=te&&(G.docChanged||G.selectionChanged);M&&ie&&($=h.value="",Ee()),B()}});var H=function(G,te){for(var ie=te,ce=1;ce<=G-I&&ce<2*O+1;ce++)ie+=u.session.getLine(G-ce).length+1;return ie},B=c?function(G){if(!(!N||f&&!G||y)){G||(G="");var te=` + ab`+G+`cde fg +`;te!=h.value&&(h.value=$=te);var ie=4,ce=4+(G.length||(u.selection.isEmpty()?0:1));(_!=ie||x!=ce)&&h.setSelectionRange(ie,ce),_=ie,x=ce}}:function(){if(!(M||y)&&!(!N&&!Q)){M=!0;var G=0,te=0,ie="";if(u.session){var ce=u.selection,ae=ce.getRange(),ve=ce.cursor.row;ve===F+1?(I=F+1,F=I+2*O):ve===I-1?(F=I-1,I=F-2*O):(veF+1)&&(I=ve>O?ve-O:0,F=ve>O?ve+O:2*O);for(var ye=[],we=I;we<=F;we++)ye.push(u.session.getLine(we));if(ie=ye.join(` +`),G=H(ae.start.row,ae.start.column),te=H(ae.end.row,ae.end.column),ae.start.rowF){var de=u.session.getLine(F+1);te=ae.end.row>F+1?de.length:ae.end.column,te+=ie.length+1,ie=ie+` +`+de}else L&&ve>0&&(ie=` +`+ie,te+=1,G+=1);ie.length>t&&(G=$.length&&G.value===$&&$&&G.selectionEnd!==x},U=function(G){M||(f?f=!1:P(h)?(u.selectAll(),B()):L&&h.selectionStart!=_&&B())},K=null;this.setInputHandler=function(G){K=G},this.getInputHandler=function(){return K};var Q=!1,j=function(G,te){if(Q&&(Q=!1),m)return B(),G&&u.onPaste(G),m=!1,"";for(var ie=h.selectionStart,ce=h.selectionEnd,ae=_,ve=$.length-x,ye=G,we=G.length-ie,ge=G.length-ce,de=0;ae>0&&$[de]==G[de];)de++,ae--;for(ye=ye.slice(de),de=1;ve>0&&$.length-de>_-1&&$[$.length-de]==G[G.length-de];)de++,ve--;we-=de-1,ge-=de-1;var Le=ye.length-de+1;if(Le<0&&(ae=-Le,Le=0),ye=ye.slice(0,Le),!te&&!ye&&!we&&!ae&&!ve&&!ge)return"";y=!0;var He=!1;return S.isAndroid&&ye==". "&&(ye=" ",He=!0),ye&&!ae&&!ve&&!we&&!ge||p?u.onTextInput(ye):u.onTextInput(ye,{extendLeft:ae,extendRight:ve,restoreStart:we,restoreEnd:ge}),y=!1,$=G,_=ie,x=ce,R=ge,He?` +`:ye},J=function(G){if(M)return pe();if(G&&G.inputType){if(G.inputType=="historyUndo")return u.execCommand("undo");if(G.inputType=="historyRedo")return u.execCommand("redo")}var te=h.value,ie=j(te,!0);(te.length>t+100||g.test(ie)||L&&_<1&&_==x)&&B()},ee=function(G,te,ie){var ce=G.clipboardData||window.clipboardData;if(!(!ce||i)){var ae=n||ie?"Text":"text/plain";try{return te?ce.setData(ae,te)!==!1:ce.getData(ae)}catch(ve){if(!ie)return ee(ve,te,!0)}}},Z=function(G,te){var ie=u.getCopyText();if(!ie)return A.preventDefault(G);ee(G,ie)?(c&&(B(ie),f=ie,setTimeout(function(){f=!1},10)),te?u.onCut():u.onCopy(),A.preventDefault(G)):(f=!0,h.value=ie,h.select(),setTimeout(function(){f=!1,B(),te?u.onCut():u.onCopy()}))},se=function(G){Z(G,!0)},ue=function(G){Z(G,!1)},fe=function(G){var te=ee(G);r.pasteCancelled()||(typeof te=="string"?(te&&u.onPaste(te,G),S.isIE&&setTimeout(B),A.preventDefault(G)):(h.value="",m=!0))};A.addCommandKeyListener(h,function(G,te,ie){if(!M)return u.onCommandKey(G,te,ie)},u),A.addListener(h,"select",U,u),A.addListener(h,"input",J,u),A.addListener(h,"cut",se,u),A.addListener(h,"copy",ue,u),A.addListener(h,"paste",fe,u),(!("oncut"in h)||!("oncopy"in h)||!("onpaste"in h))&&A.addListener(b,"keydown",function(G){if(!(S.isMac&&!G.metaKey||!G.ctrlKey))switch(G.keyCode){case 67:ue(G);break;case 86:fe(G);break;case 88:se(G);break}},u);var oe=function(G){if(!(M||!u.onCompositionStart||u.$readOnly)&&(M={},!p)){G.data&&(M.useTextareaForIME=!1),setTimeout(pe,0),u._signal("compositionStart"),u.on("mousedown",Re);var te=u.getSelectionRange();te.end.row=te.start.row,te.end.column=te.start.column,M.markerRange=te,M.selectionStart=_,u.onCompositionStart(M),M.useTextareaForIME?($=h.value="",_=0,x=0):(h.msGetInputContext&&(M.context=h.msGetInputContext()),h.getInputContext&&(M.context=h.getInputContext()))}},pe=function(){if(!(!M||!u.onCompositionUpdate||u.$readOnly)){if(p)return Re();if(M.useTextareaForIME)u.onCompositionUpdate(h.value);else{var G=h.value;j(G),M.markerRange&&(M.context&&(M.markerRange.start.column=M.selectionStart=M.context.compositionStartOffset),M.markerRange.end.column=M.markerRange.start.column+x-M.selectionStart+R)}}},Ee=function(G){!u.onCompositionEnd||u.$readOnly||(M=!1,u.onCompositionEnd(),u.off("mousedown",Re),G&&J())};function Re(){d=!0,h.blur(),h.focus(),d=!1}var ke=l.delayedCall(pe,50).schedule.bind(null,null);function be(G){G.keyCode==27&&h.value.lengthx&&$[ge]==` +`?de=o.end:we<_&&$[we-1]==" "?(de=o.left,Le=a.option):we<_||we==_&&x!=_&&we==ge?de=o.left:ge>x&&$.slice(0,ge).split(` +`).length>2?de=o.down:ge>x&&$[ge-1]==" "?(de=o.right,Le=a.option):(ge>x||ge==x&&x!=_&&we==ge)&&(de=o.right),we!==ge&&(Le|=a.shift),de){var He=te.onCommandKey({},Le,de);if(!He&&te.commands){de=o.keyCodeToString(de);var Qe=te.commands.findKeyCommand(Le,de);Qe&&te.execCommand(Qe)}_=we,x=ge,B("")}}};document.addEventListener("selectionchange",ve),te.on("destroy",function(){document.removeEventListener("selectionchange",ve)})}this.destroy=function(){h.parentElement&&h.parentElement.removeChild(h)}},T.TextInput=v,T.$setUserAgentForTests=function(b,u){L=b,c=u}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(k,T,E){"use strict";var A=k("../lib/useragent"),C=0,S=550,s=function(){function i(n){n.$clickSelection=null;var e=n.editor;e.setDefaultHandler("mousedown",this.onMouseDown.bind(n)),e.setDefaultHandler("dblclick",this.onDoubleClick.bind(n)),e.setDefaultHandler("tripleclick",this.onTripleClick.bind(n)),e.setDefaultHandler("quadclick",this.onQuadClick.bind(n)),e.setDefaultHandler("mousewheel",this.onMouseWheel.bind(n));var t=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];t.forEach(function(o){n[o]=this[o]},this),n.selectByLines=this.extendSelectionBy.bind(n,"getLineRange"),n.selectByWords=this.extendSelectionBy.bind(n,"getWordRange")}return i.prototype.onMouseDown=function(n){var e=n.inSelection(),t=n.getDocumentPosition();this.mousedownEvent=n;var o=this.editor,a=n.getButton();if(a!==0){var c=o.getSelectionRange(),g=c.isEmpty();(g||a==1)&&o.selection.moveToPosition(t),a==2&&(o.textInput.onContextMenu(n.domEvent),A.isMozilla||n.preventDefault());return}if(this.mousedownEvent.time=Date.now(),e&&!o.isFocused()&&(o.focus(),this.$focusTimeout&&!this.$clickSelection&&!o.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(n);return}return this.captureMouse(n),this.startSelect(t,n.domEvent._clicks>1),n.preventDefault()},i.prototype.startSelect=function(n,e){n=n||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var t=this.editor;!this.mousedownEvent||(this.mousedownEvent.getShiftKey()?t.selection.selectToPosition(n):e||t.selection.moveToPosition(n),e||this.select(),t.setStyle("ace_selecting"),this.setState("select"))},i.prototype.select=function(){var n,e=this.editor,t=e.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(t);if(o==-1)n=this.$clickSelection.end;else if(o==1)n=this.$clickSelection.start;else{var a=r(this.$clickSelection,t);t=a.cursor,n=a.anchor}e.selection.setSelectionAnchor(n.row,n.column)}e.selection.selectToPosition(t),e.renderer.scrollCursorIntoView()},i.prototype.extendSelectionBy=function(n){var e,t=this.editor,o=t.renderer.screenToTextCoordinates(this.x,this.y),a=t.selection[n](o.row,o.column);if(this.$clickSelection){var c=this.$clickSelection.comparePoint(a.start),g=this.$clickSelection.comparePoint(a.end);if(c==-1&&g<=0)e=this.$clickSelection.end,(a.end.row!=o.row||a.end.column!=o.column)&&(o=a.start);else if(g==1&&c>=0)e=this.$clickSelection.start,(a.start.row!=o.row||a.start.column!=o.column)&&(o=a.end);else if(c==-1&&g==1)o=a.end,e=a.start;else{var L=r(this.$clickSelection,o);o=L.cursor,e=L.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(o),t.renderer.scrollCursorIntoView()},i.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},i.prototype.focusWait=function(){var n=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),e=Date.now();(n>C||e-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},i.prototype.onDoubleClick=function(n){var e=n.getDocumentPosition(),t=this.editor,o=t.session,a=o.getBracketRange(e);a?(a.isEmpty()&&(a.start.column--,a.end.column++),this.setState("select")):(a=t.selection.getWordRange(e.row,e.column),this.setState("selectByWords")),this.$clickSelection=a,this.select()},i.prototype.onTripleClick=function(n){var e=n.getDocumentPosition(),t=this.editor;this.setState("selectByLines");var o=t.getSelectionRange();o.isMultiLine()&&o.contains(e.row,e.column)?(this.$clickSelection=t.selection.getLineRange(o.start.row),this.$clickSelection.end=t.selection.getLineRange(o.end.row).end):this.$clickSelection=t.selection.getLineRange(e.row),this.select()},i.prototype.onQuadClick=function(n){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},i.prototype.onMouseWheel=function(n){if(!n.getAccelKey()){n.getShiftKey()&&n.wheelY&&!n.wheelX&&(n.wheelX=n.wheelY,n.wheelY=0);var e=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var t=this.$lastScroll,o=n.domEvent.timeStamp,a=o-t.t,c=a?n.wheelX/a:t.vx,g=a?n.wheelY/a:t.vy;a=1&&e.renderer.isScrollableBy(n.wheelX*n.speed,0)&&(v=!0),L<=1&&e.renderer.isScrollableBy(0,n.wheelY*n.speed)&&(v=!0),v)t.allowed=o;else if(o-t.allowedS.clientHeight;s||C.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(k,T,E){"use strict";var A=this&&this.__extends||function(){var a=function(c,g){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,v){L.__proto__=v}||function(L,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(L[b]=v[b])},a(c,g)};return function(c,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");a(c,g);function L(){this.constructor=c}c.prototype=g===null?Object.create(g):(L.prototype=g.prototype,new L)}}(),C=this&&this.__values||function(a){var c=typeof Symbol=="function"&&Symbol.iterator,g=c&&a[c],L=0;if(g)return g.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&L>=a.length&&(a=void 0),{value:a&&a[L++],done:!a}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},S=k("./lib/dom"),s=k("./lib/event"),l=k("./range").Range,r=k("./lib/scroll").preventParentScroll,i="ace_tooltip",n=function(){function a(c){this.isOpen=!1,this.$element=null,this.$parentNode=c}return a.prototype.$init=function(){return this.$element=S.createElement("div"),this.$element.className=i,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},a.prototype.getElement=function(){return this.$element||this.$init()},a.prototype.setText=function(c){this.getElement().textContent=c},a.prototype.setHtml=function(c){this.getElement().innerHTML=c},a.prototype.setPosition=function(c,g){this.getElement().style.left=c+"px",this.getElement().style.top=g+"px"},a.prototype.setClassName=function(c){S.addCssClass(this.getElement(),c)},a.prototype.setTheme=function(c){this.$element.className=i+" "+(c.isDark?"ace_dark ":"")+(c.cssClass||"")},a.prototype.show=function(c,g,L){c!=null&&this.setText(c),g!=null&&L!=null&&this.setPosition(g,L),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},a.prototype.hide=function(c){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=i,this.isOpen=!1)},a.prototype.getHeight=function(){return this.getElement().offsetHeight},a.prototype.getWidth=function(){return this.getElement().offsetWidth},a.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},a}(),e=function(){function a(){this.popups=[]}return a.prototype.addPopup=function(c){this.popups.push(c),this.updatePopups()},a.prototype.removePopup=function(c){var g=this.popups.indexOf(c);g!==-1&&(this.popups.splice(g,1),this.updatePopups())},a.prototype.updatePopups=function(){var c,g,L,v;this.popups.sort(function(p,d){return d.priority-p.priority});var b=[];try{for(var u=C(this.popups),h=u.next();!h.done;h=u.next()){var f=h.value,m=!0;try{for(var M=(L=void 0,C(b)),y=M.next();!y.done;y=M.next()){var w=y.value;if(this.doPopupsOverlap(w,f)){m=!1;break}}}catch(p){L={error:p}}finally{try{y&&!y.done&&(v=M.return)&&v.call(M)}finally{if(L)throw L.error}}m?b.push(f):f.hide()}}catch(p){c={error:p}}finally{try{h&&!h.done&&(g=u.return)&&g.call(u)}finally{if(c)throw c.error}}},a.prototype.doPopupsOverlap=function(c,g){var L=c.getElement().getBoundingClientRect(),v=g.getElement().getBoundingClientRect();return L.leftv.left&&L.topv.top},a}(),t=new e;T.popupManager=t,T.Tooltip=n;var o=function(a){A(c,a);function c(g){g===void 0&&(g=document.body);var L=a.call(this,g)||this;L.timeout=void 0,L.lastT=0,L.idleTime=350,L.lastEvent=void 0,L.onMouseOut=L.onMouseOut.bind(L),L.onMouseMove=L.onMouseMove.bind(L),L.waitForHover=L.waitForHover.bind(L),L.hide=L.hide.bind(L);var v=L.getElement();return v.style.whiteSpace="pre-wrap",v.style.pointerEvents="auto",v.addEventListener("mouseout",L.onMouseOut),v.tabIndex=-1,v.addEventListener("blur",function(){v.contains(document.activeElement)||this.hide()}.bind(L)),v.addEventListener("wheel",r),L}return c.prototype.addToEditor=function(g){g.on("mousemove",this.onMouseMove),g.on("mousedown",this.hide),g.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},c.prototype.removeFromEditor=function(g){g.off("mousemove",this.onMouseMove),g.off("mousedown",this.hide),g.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},c.prototype.onMouseMove=function(g,L){this.lastEvent=g,this.lastT=Date.now();var v=L.$mouseHandler.isMousePressed;if(this.isOpen){var b=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(b.row,b.column)||v||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||v||(this.lastEvent=g,this.timeout=setTimeout(this.waitForHover,this.idleTime))},c.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var g=Date.now()-this.lastT;if(this.idleTime-g>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-g);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},c.prototype.isOutsideOfText=function(g){var L=g.editor,v=g.getDocumentPosition(),b=L.session.getLine(v.row);if(v.column==b.length){var u=L.renderer.pixelToScreenCoordinates(g.clientX,g.clientY),h=L.session.documentToScreenPosition(v.row,v.column);if(h.column!=u.column||h.row!=u.row)return!0}return!1},c.prototype.setDataProvider=function(g){this.$gatherData=g},c.prototype.showForRange=function(g,L,v,b){var u=10;if(!(b&&b!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var h=g.renderer;this.isOpen||(t.addPopup(this),this.$registerCloseEvents(),this.setTheme(h.theme)),this.isOpen=!0,this.addMarker(L,g.session),this.range=l.fromPoints(L.start,L.end);var f=h.textToScreenCoordinates(L.start.row,L.start.column),m=h.scroller.getBoundingClientRect();f.pageX=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=k("../lib/dom"),s=k("../lib/event"),l=k("../tooltip").Tooltip,r=k("../config").nls;function i(e){var t=e.editor,o=t.renderer.$gutterLayer,a=new n(t);e.editor.setDefaultHandler("guttermousedown",function(u){if(!(!t.isFocused()||u.getButton()!=0)){var h=o.getRegion(u);if(h!="foldWidgets"){var f=u.getDocumentPosition().row,m=t.session.selection;if(u.getShiftKey())m.selectTo(f,0);else{if(u.domEvent.detail==2)return t.selectAll(),u.preventDefault();e.$clickSelection=t.selection.getLineRange(f)}return e.setState("selectByLines"),e.captureMouse(u),u.preventDefault()}}});var c,g;function L(){var u=g.getDocumentPosition().row,h=t.session.getLength();if(u==h){var f=t.renderer.pixelToScreenCoordinates(0,g.y).row,m=g.$pos;if(f>t.session.documentToScreenRow(m.row,m.column))return v()}if(a.showTooltip(u),!!a.isOpen)if(t.on("mousewheel",v),e.$tooltipFollowsMouse)b(g);else{var M=g.getGutterRow(),y=o.$lines.get(M);if(y){var w=y.element.querySelector(".ace_gutter_annotation"),p=w.getBoundingClientRect(),d=a.getElement().style;d.left=p.right+"px",d.top=p.bottom+"px"}else b(g)}}function v(){c&&(c=clearTimeout(c)),a.isOpen&&(a.hideTooltip(),t.off("mousewheel",v))}function b(u){a.setPosition(u.x,u.y)}e.editor.setDefaultHandler("guttermousemove",function(u){var h=u.domEvent.target||u.domEvent.srcElement;if(S.hasCssClass(h,"ace_fold-widget"))return v();a.isOpen&&e.$tooltipFollowsMouse&&b(u),g=u,!c&&(c=setTimeout(function(){c=null,g&&!e.isMousePressed?L():v()},50))}),s.addListener(t.renderer.$gutter,"mouseout",function(u){g=null,!(!a.isOpen||c)&&(c=setTimeout(function(){c=null,v()},50))},t),t.on("changeSession",v),t.on("input",v)}T.GutterHandler=i;var n=function(e){A(t,e);function t(o){var a=e.call(this,o.container)||this;return a.editor=o,a}return t.prototype.setPosition=function(o,a){var c=window.innerWidth||document.documentElement.clientWidth,g=window.innerHeight||document.documentElement.clientHeight,L=this.getWidth(),v=this.getHeight();o+=15,a+=15,o+L>c&&(o-=o+L-c),a+v>g&&(a-=20+v),l.prototype.setPosition.call(this,o,a)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:r("gutter-tooltip.aria-label.error.singular","error"),plural:r("gutter-tooltip.aria-label.error.plural","errors")},warning:{singular:r("gutter-tooltip.aria-label.warning.singular","warning"),plural:r("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:r("gutter-tooltip.aria-label.info.singular","information message"),plural:r("gutter-tooltip.aria-label.info.plural","information messages")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(o){var a=this.editor.renderer.$gutterLayer,c=a.$annotations[o],g;c?g={text:Array.from(c.text),type:Array.from(c.type)}:g={text:[],type:[]};var L=a.session.getFoldLine(o);if(L&&a.$showFoldedAnnotations){for(var v={error:[],warning:[],info:[]},b,u=o+1;u<=L.end.row;u++)if(!!a.$annotations[u])for(var h=0;h ").concat(g.text[u]);M[g.type[u].replace("_fold","")].push(w)}var p=[].concat(M.error,M.warning,M.info).join("
    ");this.setHtml(p),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},t.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},t.annotationsToSummaryString=function(o){var a,c,g=[],L=["error","warning","info"];try{for(var v=C(L),b=v.next();!b.done;b=v.next()){var u=b.value;if(!!o[u].length){var h=o[u].length===1?t.annotationLabels[u].singular:t.annotationLabels[u].plural;g.push("".concat(o[u].length," ").concat(h))}}}catch(f){a={error:f}}finally{try{b&&!b.done&&(c=v.return)&&c.call(v)}finally{if(a)throw a.error}}return g.join(", ")},t}(l);T.GutterTooltip=n}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(k,T,E){"use strict";var A=k("../lib/event"),C=k("../lib/useragent"),S=function(){function s(l,r){this.speed,this.wheelX,this.wheelY,this.domEvent=l,this.editor=r,this.x=this.clientX=l.clientX,this.y=this.clientY=l.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return s.prototype.stopPropagation=function(){A.stopPropagation(this.domEvent),this.propagationStopped=!0},s.prototype.preventDefault=function(){A.preventDefault(this.domEvent),this.defaultPrevented=!0},s.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},s.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},s.prototype.getGutterRow=function(){var l=this.getDocumentPosition().row,r=this.editor.session.documentToScreenRow(l,0),i=this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0);return r-i},s.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var l=this.editor,r=l.getSelectionRange();if(r.isEmpty())this.$inSelection=!1;else{var i=this.getDocumentPosition();this.$inSelection=r.contains(i.row,i.column)}return this.$inSelection},s.prototype.getButton=function(){return A.getButton(this.domEvent)},s.prototype.getShiftKey=function(){return this.domEvent.shiftKey},s.prototype.getAccelKey=function(){return C.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},s}();T.MouseEvent=S}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(k,T,E){"use strict";var A=k("../lib/dom"),C=k("../lib/event"),S=k("../lib/useragent"),s=200,l=200,r=5;function i(e){var t=e.editor,o=A.createElement("div");o.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",o.textContent="\xA0";var a=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];a.forEach(function(H){e[H]=this[H]},this),t.on("mousedown",this.onMouseDown.bind(e));var c=t.container,g,L,v,b,u,h,f=0,m,M,y,w,p;this.onDragStart=function(H){if(this.cancelDrag||!c.draggable){var B=this;return setTimeout(function(){B.startSelect(),B.captureMouse(H)},0),H.preventDefault()}u=t.getSelectionRange();var P=H.dataTransfer;P.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(o),P.setDragImage&&P.setDragImage(o,0,0),setTimeout(function(){t.container.removeChild(o)}),P.clearData(),P.setData("Text",t.session.getTextRange()),M=!0,this.setState("drag")},this.onDragEnd=function(H){if(c.draggable=!1,M=!1,this.setState(null),!t.getReadOnly()){var B=H.dataTransfer.dropEffect;!m&&B=="move"&&t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(H){if(!(t.getReadOnly()||!O(H.dataTransfer)))return L=H.clientX,v=H.clientY,g||x(),f++,H.dataTransfer.dropEffect=m=N(H),C.preventDefault(H)},this.onDragOver=function(H){if(!(t.getReadOnly()||!O(H.dataTransfer)))return L=H.clientX,v=H.clientY,g||(x(),f++),I!==null&&(I=null),H.dataTransfer.dropEffect=m=N(H),C.preventDefault(H)},this.onDragLeave=function(H){if(f--,f<=0&&g)return R(),m=null,C.preventDefault(H)},this.onDrop=function(H){if(!!h){var B=H.dataTransfer;if(M)switch(m){case"move":u.contains(h.row,h.column)?u={start:h,end:h}:u=t.moveText(u,h);break;case"copy":u=t.moveText(u,h,!0);break}else{var P=B.getData("Text");u={start:h,end:t.session.insert(h,P)},t.focus(),m=null}return R(),C.preventDefault(H)}},C.addListener(c,"dragstart",this.onDragStart.bind(e),t),C.addListener(c,"dragend",this.onDragEnd.bind(e),t),C.addListener(c,"dragenter",this.onDragEnter.bind(e),t),C.addListener(c,"dragover",this.onDragOver.bind(e),t),C.addListener(c,"dragleave",this.onDragLeave.bind(e),t),C.addListener(c,"drop",this.onDrop.bind(e),t);function d(H,B){var P=Date.now(),U=!B||H.row!=B.row,K=!B||H.column!=B.column;if(!w||U||K)t.moveCursorToPosition(H),w=P,p={x:L,y:v};else{var Q=n(p.x,p.y,L,v);Q>r?w=null:P-w>=l&&(t.renderer.scrollCursorIntoView(),w=null)}}function $(H,B){var P=Date.now(),U=t.renderer.layerConfig.lineHeight,K=t.renderer.layerConfig.characterWidth,Q=t.renderer.scroller.getBoundingClientRect(),j={x:{left:L-Q.left,right:Q.right-L},y:{top:v-Q.top,bottom:Q.bottom-v}},J=Math.min(j.x.left,j.x.right),ee=Math.min(j.y.top,j.y.bottom),Z={row:H.row,column:H.column};J/K<=2&&(Z.column+=j.x.left=s&&t.renderer.scrollCursorIntoView(Z):y=P:y=null}function _(){var H=h;h=t.renderer.screenToTextCoordinates(L,v),d(h,H),$(h,H)}function x(){u=t.selection.toOrientedRange(),g=t.session.addMarker(u,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(b),_(),b=setInterval(_,20),f=0,C.addListener(document,"mousemove",F)}function R(){clearInterval(b),t.session.removeMarker(g),g=null,t.selection.fromOrientedRange(u),t.isFocused()&&!M&&t.$resetCursorStyle(),u=null,h=null,f=0,y=null,w=null,C.removeListener(document,"mousemove",F)}var I=null;function F(){I==null&&(I=setTimeout(function(){I!=null&&g&&R()},20))}function O(H){var B=H.types;return!B||Array.prototype.some.call(B,function(P){return P=="text/plain"||P=="Text"})}function N(H){var B=["copy","copymove","all","uninitialized"],P=["move","copymove","linkmove","all","uninitialized"],U=S.isMac?H.altKey:H.ctrlKey,K="uninitialized";try{K=H.dataTransfer.effectAllowed.toLowerCase()}catch(j){}var Q="none";return U&&B.indexOf(K)>=0?Q="copy":P.indexOf(K)>=0?Q="move":B.indexOf(K)>=0&&(Q="copy"),Q}}(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var o=S.isWin?"default":"move";e.renderer.setCursorStyle(o),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;if(S.isIE&&this.state=="dragReady"){var o=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);o>3&&t.dragDrop()}if(this.state==="dragWait"){var o=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);o>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(!!this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,o=e.inSelection(),a=e.getButton(),c=e.domEvent.detail||1;if(c===1&&a===0&&o){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var g=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in g&&(g.unselectable="on"),t.getDragDelay()){if(S.isWebKit){this.cancelDrag=!0;var L=t.container;L.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype);function n(e,t,o,a){return Math.sqrt(Math.pow(o-e,2)+Math.pow(a-t,2))}T.DragdropHandler=i}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(k,T,E){"use strict";var A=k("./mouse_event").MouseEvent,C=k("../lib/event"),S=k("../lib/dom");T.addTouchListeners=function(s,l){var r="scroll",i,n,e,t,o,a,c=0,g,L=0,v=0,b=0,u,h;function f(){var d=window.navigator&&window.navigator.clipboard,$=!1,_=function(){var R=l.getCopyText(),I=l.session.getUndoManager().hasUndo();h.replaceChild(S.buildDom($?["span",!R&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],R&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],R&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],d&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],I&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),h.firstChild)},x=function(R){var I=R.target.getAttribute("action");if(I=="more"||!$)return $=!$,_();I=="paste"?d.readText().then(function(F){l.execCommand(I,F)}):I&&((I=="cut"||I=="copy")&&(d?d.writeText(l.getCopyText()):document.execCommand("copy")),l.execCommand(I)),h.firstChild.style.display="none",$=!1,I!="openCommandPalette"&&l.focus()};h=S.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(R){r="menu",R.stopPropagation(),R.preventDefault(),l.textInput.focus()},ontouchend:function(R){R.stopPropagation(),R.preventDefault(),x(R)},onclick:x},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],l.container)}function m(){h||f();var d=l.selection.cursor,$=l.renderer.textToScreenCoordinates(d.row,d.column),_=l.renderer.textToScreenCoordinates(0,0).pageX,x=l.renderer.scrollLeft,R=l.container.getBoundingClientRect();h.style.top=$.pageY-R.top-3+"px",$.pageX-R.left=2?l.selection.getLineRange(g.row):l.session.getBracketRange(g);d&&!d.isEmpty()?l.selection.setRange(d):l.selection.selectWord(),r="wait"}C.addListener(s,"contextmenu",function(d){if(!!u){var $=l.textInput.getElement();$.focus()}},l),C.addListener(s,"touchstart",function(d){var $=d.touches;if(o||$.length>1){clearTimeout(o),o=null,e=-1,r="zoom";return}u=l.$mouseHandler.isMousePressed=!0;var _=l.renderer.layerConfig.lineHeight,x=l.renderer.layerConfig.lineHeight,R=d.timeStamp;t=R;var I=$[0],F=I.clientX,O=I.clientY;Math.abs(i-F)+Math.abs(n-O)>_&&(e=-1),i=d.clientX=F,n=d.clientY=O,v=b=0;var N=new A(d,l);if(g=N.getDocumentPosition(),R-e<500&&$.length==1&&!c)L++,d.preventDefault(),d.button=0,w();else{L=0;var H=l.selection.cursor,B=l.selection.isEmpty()?H:l.selection.anchor,P=l.renderer.$cursorLayer.getPixelPosition(H,!0),U=l.renderer.$cursorLayer.getPixelPosition(B,!0),K=l.renderer.scroller.getBoundingClientRect(),Q=l.renderer.layerConfig.offset,j=l.renderer.scrollLeft,J=function(se,ue){return se=se/x,ue=ue/_-.75,se*se+ue*ue};if(d.clientXZ?"cursor":"anchor"),Z<3.5?r="anchor":ee<3.5?r="cursor":r="scroll",o=setTimeout(y,450)}e=R},l),C.addListener(s,"touchend",function(d){u=l.$mouseHandler.isMousePressed=!1,a&&clearInterval(a),r=="zoom"?(r="",c=0):o?(l.selection.moveToPosition(g),c=0,m()):r=="scroll"?(p(),M()):m(),clearTimeout(o),o=null},l),C.addListener(s,"touchmove",function(d){o&&(clearTimeout(o),o=null);var $=d.touches;if(!($.length>1||r=="zoom")){var _=$[0],x=i-_.clientX,R=n-_.clientY;if(r=="wait")if(x*x+R*R>4)r="cursor";else return d.preventDefault();i=_.clientX,n=_.clientY,d.clientX=_.clientX,d.clientY=_.clientY;var I=d.timeStamp,F=I-t;if(t=I,r=="scroll"){var O=new A(d,l);O.speed=1,O.wheelX=x,O.wheelY=R,10*Math.abs(x)0)if(Ee==16){for(be=ke;be-1){for(be=ke;be=0&&Z[Oe]==y;Oe--)J[Oe]=S}}}function P(j,J,ee){if(!(s=j){for(ue=se+1;ue=j;)ue++;for(fe=se,oe=ue-1;fe=J.length||(ue=ee[Z-1])!=b&&ue!=u||(fe=J[Z+1])!=b&&fe!=u?h:(l&&(fe=u),fe==ue?fe:h);case p:return ue=Z>0?ee[Z-1]:f,ue==b&&Z+10&&ee[Z-1]==b)return b;if(l)return h;for(pe=Z+1,oe=J.length;pe=1425&&Ee<=2303||Ee==64286;if(ue=J[pe],Re&&(ue==v||ue==M))return v}return Z<1||(ue=J[Z-1])==f?h:ee[Z-1];case f:return l=!1,i=!0,S;case m:return n=!0,h;case _:case x:case I:case F:case R:l=!1;case O:return h}}function K(j){var J=j.charCodeAt(0),ee=J>>8;return ee==0?J>191?L:N[J]:ee==5?/[\u0591-\u05f4]/.test(j)?v:L:ee==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(j)?$:/[\u0660-\u0669\u066b-\u066c]/.test(j)?u:J==1642?d:/[\u06f0-\u06f9]/.test(j)?b:M:ee==32&&J<=8287?H[J&255]:ee==254&&J>=65136?M:h}function Q(j){return j>="\u064B"&&j<="\u0655"}T.L=L,T.R=v,T.EN=b,T.ON_R=3,T.AN=4,T.R_H=5,T.B=6,T.RLE=7,T.DOT="\xB7",T.doBidiReorder=function(j,J,ee){if(j.length<2)return{};var Z=j.split(""),se=new Array(Z.length),ue=new Array(Z.length),fe=[];S=ee?g:c,B(Z,fe,Z.length,J);for(var oe=0;oeM&&J[oe]<_||J[oe]===h||J[oe]===O)?fe[oe]=T.ON_R:oe>0&&Z[oe-1]==="\u0644"&&/\u0622|\u0623|\u0625|\u0627/.test(Z[oe])&&(fe[oe-1]=fe[oe]=T.R_H,oe++);Z[Z.length-1]===T.DOT&&(fe[Z.length-1]=T.B),Z[0]==="\u202B"&&(fe[0]=T.RLE);for(var oe=0;oe=0&&(r=this.session.$docRowCache[n])}return r},l.prototype.getSplitIndex=function(){var r=0,i=this.session.$screenRowCache;if(i.length)for(var n,e=this.session.$getRowCacheIndex(i,this.currentRow);this.currentRow-r>0&&(n=this.session.$getRowCacheIndex(i,this.currentRow-r-1),n===e);)e=n,r++;else r=this.currentRow;return r},l.prototype.updateRowLine=function(r,i){r===void 0&&(r=this.getDocumentRow());var n=r===this.session.getLength()-1,e=n?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(r),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var t=this.session.$wrapData[r];t&&(i===void 0&&(i=this.getSplitIndex()),i>0&&t.length?(this.wrapIndent=t.indent,this.wrapOffset=this.wrapIndent*this.charWidths[A.L],this.line=ii?this.session.getOverwrite()?r:r-1:i,e=A.getVisualFromLogicalIdx(n,this.bidiMap),t=this.bidiMap.bidiLevels,o=0;!this.session.getOverwrite()&&r<=i&&t[e]%2!==0&&e++;for(var a=0;ai&&t[e]%2===0&&(o+=this.charWidths[t[e]]),this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(o+=this.rtlLineOffset),o},l.prototype.getSelections=function(r,i){var n=this.bidiMap,e=n.bidiLevels,t,o=[],a=0,c=Math.min(r,i)-this.wrapIndent,g=Math.max(r,i)-this.wrapIndent,L=!1,v=!1,b=0;this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var u,h=0;h=c&&ue+a/2;){if(e+=a,t===o.length-1){a=0;break}a=this.charWidths[o[++t]]}return t>0&&o[t-1]%2!==0&&o[t]%2===0?(n0&&o[t-1]%2===0&&o[t]%2!==0?i=1+(n>e?this.bidiMap.logicalFromVisual[t]:this.bidiMap.logicalFromVisual[t-1]):this.isRtlDir&&t===o.length-1&&a===0&&o[t-1]%2===0||!this.isRtlDir&&t===0&&o[t]%2!==0?i=1+this.bidiMap.logicalFromVisual[t]:(t>0&&o[t-1]%2!==0&&a!==0&&t--,i=this.bidiMap.logicalFromVisual[t]),i===0&&this.isRtlDir&&i++,i+this.wrapIndent},l}();T.BidiHandler=s}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(k,T,E){"use strict";var A=k("./lib/oop"),C=k("./lib/lang"),S=k("./lib/event_emitter").EventEmitter,s=k("./range").Range,l=function(){function r(i){this.session=i,this.doc=i.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var n=this;this.cursor.on("change",function(e){n.$cursorChanged=!0,n.$silent||n._emit("changeCursor"),!n.$isEmpty&&!n.$silent&&n._emit("changeSelection"),!n.$keepDesiredColumnOnChange&&e.old.column!=e.value.column&&(n.$desiredColumn=null)}),this.anchor.on("change",function(){n.$anchorChanged=!0,!n.$isEmpty&&!n.$silent&&n._emit("changeSelection")})}return r.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},r.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},r.prototype.getCursor=function(){return this.lead.getPosition()},r.prototype.setAnchor=function(i,n){this.$isEmpty=!1,this.anchor.setPosition(i,n)},r.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},r.prototype.getSelectionLead=function(){return this.lead.getPosition()},r.prototype.isBackwards=function(){var i=this.anchor,n=this.lead;return i.row>n.row||i.row==n.row&&i.column>n.column},r.prototype.getRange=function(){var i=this.anchor,n=this.lead;return this.$isEmpty?s.fromPoints(n,n):this.isBackwards()?s.fromPoints(n,i):s.fromPoints(i,n)},r.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},r.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},r.prototype.setRange=function(i,n){var e=n?i.end:i.start,t=n?i.start:i.end;this.$setSelection(e.row,e.column,t.row,t.column)},r.prototype.$setSelection=function(i,n,e,t){if(!this.$silent){var o=this.$isEmpty,a=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(i,n),this.cursor.setPosition(e,t),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||a)&&this._emit("changeSelection")}},r.prototype.$moveSelection=function(i){var n=this.lead;this.$isEmpty&&this.setSelectionAnchor(n.row,n.column),i.call(this)},r.prototype.selectTo=function(i,n){this.$moveSelection(function(){this.moveCursorTo(i,n)})},r.prototype.selectToPosition=function(i){this.$moveSelection(function(){this.moveCursorToPosition(i)})},r.prototype.moveTo=function(i,n){this.clearSelection(),this.moveCursorTo(i,n)},r.prototype.moveToPosition=function(i){this.clearSelection(),this.moveCursorToPosition(i)},r.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},r.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},r.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},r.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},r.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},r.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},r.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},r.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},r.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},r.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},r.prototype.getWordRange=function(i,n){if(typeof n=="undefined"){var e=i||this.lead;i=e.row,n=e.column}return this.session.getWordRange(i,n)},r.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},r.prototype.selectAWord=function(){var i=this.getCursor(),n=this.session.getAWordRange(i.row,i.column);this.setSelectionRange(n)},r.prototype.getLineRange=function(i,n){var e=typeof i=="number"?i:this.lead.row,t,o=this.session.getFoldLine(e);return o?(e=o.start.row,t=o.end.row):t=e,n===!0?new s(e,0,t,this.session.getLine(t).length):new s(e,0,t+1,0)},r.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},r.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},r.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},r.prototype.wouldMoveIntoSoftTab=function(i,n,e){var t=i.column,o=i.column+n;return e<0&&(t=i.column-n,o=i.column),this.session.isTabStop(i)&&this.doc.getLine(i.row).slice(t,o).split(" ").length-1==n},r.prototype.moveCursorLeft=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,-1))this.moveCursorTo(n.start.row,n.start.column);else if(i.column===0)i.row>0&&this.moveCursorTo(i.row-1,this.doc.getLine(i.row-1).length);else{var e=this.session.getTabSize();this.wouldMoveIntoSoftTab(i,e,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-e):this.moveCursorBy(0,-1)}},r.prototype.moveCursorRight=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,1))this.moveCursorTo(n.end.row,n.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(n.column=t)}}this.moveCursorTo(n.row,n.column)},r.prototype.moveCursorFileEnd=function(){var i=this.doc.getLength()-1,n=this.doc.getLine(i).length;this.moveCursorTo(i,n)},r.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},r.prototype.moveCursorLongWordRight=function(){var i=this.lead.row,n=this.lead.column,e=this.doc.getLine(i),t=e.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(i,n,1);if(o){this.moveCursorTo(o.end.row,o.end.column);return}if(this.session.nonTokenRe.exec(t)&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,t=e.substring(n)),n>=e.length){this.moveCursorTo(i,e.length),this.moveCursorRight(),i0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(i,n)},r.prototype.$shortWordEndIndex=function(i){var n=0,e,t=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(i))n=this.session.tokenRe.lastIndex;else{for(;(e=i[n])&&t.test(e);)n++;if(n<1){for(o.lastIndex=0;(e=i[n])&&!o.test(e);)if(o.lastIndex=0,n++,t.test(e))if(n>2){n--;break}else{for(;(e=i[n])&&t.test(e);)n++;if(n>2)break}}}return o.lastIndex=0,n},r.prototype.moveCursorShortWordRight=function(){var i=this.lead.row,n=this.lead.column,e=this.doc.getLine(i),t=e.substring(n),o=this.session.getFoldAt(i,n,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(n==e.length){var a=this.doc.getLength();do i++,t=this.doc.getLine(i);while(i0&&/^\s*$/.test(t));n=t.length,/\s+$/.test(t)||(t="")}var o=C.stringReverse(t),a=this.$shortWordEndIndex(o);return this.moveCursorTo(i,n-a)},r.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},r.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},r.prototype.moveCursorBy=function(i,n){var e=this.session.documentToScreenPosition(this.lead.row,this.lead.column),t;if(n===0&&(i!==0&&(this.session.$bidiHandler.isBidiRow(e.row,this.lead.row)?(t=this.session.$bidiHandler.getPosLeft(e.column),e.column=Math.round(t/this.session.$bidiHandler.charWidths[0])):t=e.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?e.column=this.$desiredColumn:this.$desiredColumn=e.column),i!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];i<0?i-=o.rowsAbove||0:i>0&&(i+=o.rowCount-(o.rowsAbove||0))}var a=this.session.screenToDocumentPosition(e.row+i,e.column,t);i!==0&&n===0&&a.row===this.lead.row&&(a.column,this.lead.column),this.moveCursorTo(a.row,a.column+n,n===0)},r.prototype.moveCursorToPosition=function(i){this.moveCursorTo(i.row,i.column)},r.prototype.moveCursorTo=function(i,n,e){var t=this.session.getFoldAt(i,n,1);t&&(i=t.start.row,n=t.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(i);/[\uDC00-\uDFFF]/.test(o.charAt(n))&&o.charAt(n-1)&&(this.lead.row==i&&this.lead.column==n+1?n=n-1:n=n+1),this.lead.setPosition(i,n),this.$keepDesiredColumnOnChange=!1,e||(this.$desiredColumn=null)},r.prototype.moveCursorToScreen=function(i,n,e){var t=this.session.screenToDocumentPosition(i,n);this.moveCursorTo(t.row,t.column,e)},r.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},r.prototype.fromOrientedRange=function(i){this.setSelectionRange(i,i.cursor==i.start),this.$desiredColumn=i.desiredColumn||this.$desiredColumn},r.prototype.toOrientedRange=function(i){var n=this.getRange();return i?(i.start.column=n.start.column,i.start.row=n.start.row,i.end.column=n.end.column,i.end.row=n.end.row):i=n,i.cursor=this.isBackwards()?i.start:i.end,i.desiredColumn=this.$desiredColumn,i},r.prototype.getRangeOfMovements=function(i){var n=this.getCursor();try{i(this);var e=this.getCursor();return s.fromPoints(n,e)}catch(t){return s.fromPoints(n,n)}finally{this.moveCursorToPosition(n)}},r.prototype.toJSON=function(){if(this.rangeCount)var i=this.ranges.map(function(n){var e=n.clone();return e.isBackwards=n.cursor==n.start,e});else{var i=this.getRange();i.isBackwards=this.isBackwards()}return i},r.prototype.fromJSON=function(i){if(i.start==null)if(this.rangeList&&i.length>1){this.toSingleRange(i[0]);for(var n=i.length;n--;){var e=s.fromPoints(i[n].start,i[n].end);i[n].isBackwards&&(e.cursor=e.start),this.addRange(e,!0)}return}else i=i[0];this.rangeList&&this.toSingleRange(i),this.setSelectionRange(i,i.isBackwards)},r.prototype.isEqual=function(i){if((i.length||this.rangeCount)&&i.length!=this.rangeCount)return!1;if(!i.length||!this.ranges)return this.getRange().isEqual(i);for(var n=this.ranges.length;n--;)if(!this.ranges[n].isEqual(i[n]))return!1;return!0},r}();l.prototype.setSelectionAnchor=l.prototype.setAnchor,l.prototype.getSelectionAnchor=l.prototype.getAnchor,l.prototype.setSelectionRange=l.prototype.setRange,A.implement(l.prototype,S),T.Selection=l}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(k,T,E){"use strict";var A=k("./lib/report_error").reportError,C=2e3,S=function(){function s(l){this.splitRegex,this.states=l,this.regExps={},this.matchMappings={};for(var r in this.states){for(var i=this.states[r],n=[],e=0,t=this.matchMappings[r]={defaultToken:"text"},o="g",a=[],c=0;c1?g.onMatch=this.$applyToken:g.onMatch=g.token),v>1&&(/\\\d/.test(g.regex)?L=g.regex.replace(/\\([0-9]+)/g,function(b,u){return"\\"+(parseInt(u,10)+e+1)}):(v=1,L=this.removeCapturingGroups(g.regex)),!g.splitRegex&&typeof g.token!="string"&&a.push(g)),t[e]=c,e+=v,n.push(L),g.onMatch||(g.onMatch=null)}}n.length||(t[0]=0,n.push("$")),a.forEach(function(b){b.splitRegex=this.createSplitterRegexp(b.regex,o)},this),this.regExps[r]=new RegExp("("+n.join(")|(")+")|($)",o)}}return s.prototype.$setMaxTokenCount=function(l){C=l|0},s.prototype.$applyToken=function(l){var r=this.splitRegex.exec(l).slice(1),i=this.token.apply(this,r);if(typeof i=="string")return[{type:i,value:l}];for(var n=[],e=0,t=i.length;eg){var m=l.substring(g,f-h.length);v.type==b?v.value+=m:(v.type&&c.push(v),v={type:b,value:m})}for(var M=0;MC){for(L>2*l.length&&this.reportError("infinite loop with in ace tokenizer",{startState:r,line:l});g1&&i[0]!==n&&i.unshift("#tmp",n),{tokens:c,state:i.length?i:n}},s}();S.prototype.reportError=A,T.Tokenizer=S}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(k,T,E){"use strict";var A=k("../lib/deep_copy").deepCopy,C;C=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}},function(){this.addRules=function(l,r){if(!r){for(var i in l)this.$rules[i]=l[i];return}for(var i in l){for(var n=l[i],e=0;e=this.$rowTokens.length;){if(this.$row+=1,s||(s=this.$session.getLength()),this.$row>=s)return this.$row=s-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},S.prototype.getCurrentTokenRow=function(){return this.$row},S.prototype.getCurrentTokenColumn=function(){var s=this.$rowTokens,l=this.$tokenIndex,r=s[l].start;if(r!==void 0)return r;for(r=0;l>0;)l-=1,r+=s[l].value.length;return r},S.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},S.prototype.getCurrentTokenRange=function(){var s=this.$rowTokens[this.$tokenIndex],l=this.getCurrentTokenColumn();return new A(this.$row,l,this.$row,l+s.value.length)},S}();T.TokenIterator=C}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(k,T,E){"use strict";var A=k("../../lib/oop"),C=k("../behaviour").Behaviour,S=k("../../token_iterator").TokenIterator,s=k("../../lib/lang"),l=["text","paren.rparen","rparen","paren","punctuation.operator"],r=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],i,n={},e={'"':'"',"'":"'"},t=function(c){var g=-1;if(c.multiSelect&&(g=c.selection.index,n.rangeCount!=c.multiSelect.rangeCount&&(n={rangeCount:c.multiSelect.rangeCount})),n[g])return i=n[g];i=n[g]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},o=function(c,g,L,v){var b=c.end.row-c.start.row;return{text:L+g+v,selection:[0,c.start.column+1,b,c.end.column+(b?0:1)]}},a;a=function(c){c=c||{},this.add("braces","insertion",function(g,L,v,b,u){var h=v.getCursorPosition(),f=b.doc.getLine(h.row);if(u=="{"){t(v);var m=v.getSelectionRange(),M=b.doc.getTextRange(m),y=b.getTokenAt(h.row,h.column);if(M!==""&&M!=="{"&&v.getWrapBehavioursEnabled())return o(m,M,"{","}");if(y&&/(?:string)\.quasi|\.xml/.test(y.type)){var w=[/tag\-(?:open|name)/,/attribute\-name/];return w.some(function(I){return I.test(y.type)})||/(string)\.quasi/.test(y.type)&&y.value[h.column-y.start-1]!=="$"?void 0:(a.recordAutoInsert(v,b,"}"),{text:"{}",selection:[1,1]})}else if(a.isSaneInsertion(v,b))return/[\]\}\)]/.test(f[h.column])||v.inMultiSelectMode||c.braces?(a.recordAutoInsert(v,b,"}"),{text:"{}",selection:[1,1]}):(a.recordMaybeInsert(v,b,"{"),{text:"{",selection:[1,1]})}else if(u=="}"){t(v);var p=f.substring(h.column,h.column+1);if(p=="}"){var d=b.$findOpeningBracket("}",{column:h.column+1,row:h.row});if(d!==null&&a.isAutoInsertedClosing(h,f,u))return a.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(u==` +`||u==`\r +`){t(v);var $="";a.isMaybeInsertedClosing(h,f)&&($=s.stringRepeat("}",i.maybeInsertedBrackets),a.clearMaybeInsertedClosing());var p=f.substring(h.column,h.column+1);if(p==="}"){var _=b.findMatchingBracket({row:h.row,column:h.column+1},"}");if(!_)return null;var x=this.$getIndent(b.getLine(_.row))}else if($)var x=this.$getIndent(f);else{a.clearMaybeInsertedClosing();return}var R=x+b.getTabString();return{text:` +`+R+` +`+x+$,selection:[1,R.length,1,R.length]}}else a.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(g,L,v,b,u){var h=b.doc.getTextRange(u);if(!u.isMultiLine()&&h=="{"){t(v);var f=b.doc.getLine(u.start.row),m=f.substring(u.end.column,u.end.column+1);if(m=="}")return u.end.column++,u;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(g,L,v,b,u){if(u=="("){t(v);var h=v.getSelectionRange(),f=b.doc.getTextRange(h);if(f!==""&&v.getWrapBehavioursEnabled())return o(h,f,"(",")");if(a.isSaneInsertion(v,b))return a.recordAutoInsert(v,b,")"),{text:"()",selection:[1,1]}}else if(u==")"){t(v);var m=v.getCursorPosition(),M=b.doc.getLine(m.row),y=M.substring(m.column,m.column+1);if(y==")"){var w=b.$findOpeningBracket(")",{column:m.column+1,row:m.row});if(w!==null&&a.isAutoInsertedClosing(m,M,u))return a.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(g,L,v,b,u){var h=b.doc.getTextRange(u);if(!u.isMultiLine()&&h=="("){t(v);var f=b.doc.getLine(u.start.row),m=f.substring(u.start.column+1,u.start.column+2);if(m==")")return u.end.column++,u}}),this.add("brackets","insertion",function(g,L,v,b,u){if(u=="["){t(v);var h=v.getSelectionRange(),f=b.doc.getTextRange(h);if(f!==""&&v.getWrapBehavioursEnabled())return o(h,f,"[","]");if(a.isSaneInsertion(v,b))return a.recordAutoInsert(v,b,"]"),{text:"[]",selection:[1,1]}}else if(u=="]"){t(v);var m=v.getCursorPosition(),M=b.doc.getLine(m.row),y=M.substring(m.column,m.column+1);if(y=="]"){var w=b.$findOpeningBracket("]",{column:m.column+1,row:m.row});if(w!==null&&a.isAutoInsertedClosing(m,M,u))return a.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(g,L,v,b,u){var h=b.doc.getTextRange(u);if(!u.isMultiLine()&&h=="["){t(v);var f=b.doc.getLine(u.start.row),m=f.substring(u.start.column+1,u.start.column+2);if(m=="]")return u.end.column++,u}}),this.add("string_dquotes","insertion",function(g,L,v,b,u){var h=b.$mode.$quotes||e;if(u.length==1&&h[u]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(u)!=-1)return;t(v);var f=u,m=v.getSelectionRange(),M=b.doc.getTextRange(m);if(M!==""&&(M.length!=1||!h[M])&&v.getWrapBehavioursEnabled())return o(m,M,f,f);if(!M){var y=v.getCursorPosition(),w=b.doc.getLine(y.row),p=w.substring(y.column-1,y.column),d=w.substring(y.column,y.column+1),$=b.getTokenAt(y.row,y.column),_=b.getTokenAt(y.row,y.column+1);if(p=="\\"&&$&&/escape/.test($.type))return null;var x=$&&/string|escape/.test($.type),R=!_||/string|escape/.test(_.type),I;if(d==f)I=x!==R,I&&/string\.end/.test(_.type)&&(I=!1);else{if(x&&!R||x&&R)return null;var F=b.$mode.tokenRe;F.lastIndex=0;var O=F.test(p);F.lastIndex=0;var N=F.test(d),H=b.$mode.$pairQuotesAfter,B=H&&H[f]&&H[f].test(p);if(!B&&O||N||d&&!/[\s;,.})\]\\]/.test(d))return null;var P=w[y.column-2];if(p==f&&(P==f||F.test(P)))return null;I=!0}return{text:I?f+f:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(g,L,v,b,u){var h=b.$mode.$quotes||e,f=b.doc.getTextRange(u);if(!u.isMultiLine()&&h.hasOwnProperty(f)){t(v);var m=b.doc.getLine(u.start.row),M=m.substring(u.start.column+1,u.start.column+2);if(M==f)return u.end.column++,u}}),c.closeDocComment!==!1&&this.add("doc comment end","insertion",function(g,L,v,b,u){if(g==="doc-start"&&(u===` +`||u===`\r +`)&&v.selection.isEmpty()){var h=v.getCursorPosition(),f=b.doc.getLine(h.row),m=b.doc.getLine(h.row+1),M=this.$getIndent(f);if(/\s*\*/.test(m))return/^\s*\*/.test(f)?{text:u+M+"* ",selection:[1,3+M.length,1,3+M.length]}:{text:u+M+" * ",selection:[1,3+M.length,1,3+M.length]};if(/\/\*\*/.test(f.substring(0,h.column)))return{text:u+M+" * "+u+" "+M+"*/",selection:[1,4+M.length,1,4+M.length]}}})},a.isSaneInsertion=function(c,g){var L=c.getCursorPosition(),v=new S(g,L.row,L.column);if(!this.$matchTokenType(v.getCurrentToken()||"text",l)){if(/[)}\]]/.test(c.session.getLine(L.row)[L.column]))return!0;var b=new S(g,L.row,L.column+1);if(!this.$matchTokenType(b.getCurrentToken()||"text",l))return!1}return v.stepForward(),v.getCurrentTokenRow()!==L.row||this.$matchTokenType(v.getCurrentToken()||"text",r)},a.$matchTokenType=function(c,g){return g.indexOf(c.type||c)>-1},a.recordAutoInsert=function(c,g,L){var v=c.getCursorPosition(),b=g.doc.getLine(v.row);this.isAutoInsertedClosing(v,b,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=v.row,i.autoInsertedLineEnd=L+b.substr(v.column),i.autoInsertedBrackets++},a.recordMaybeInsert=function(c,g,L){var v=c.getCursorPosition(),b=g.doc.getLine(v.row);this.isMaybeInsertedClosing(v,b)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=v.row,i.maybeInsertedLineStart=b.substr(0,v.column)+L,i.maybeInsertedLineEnd=b.substr(v.column),i.maybeInsertedBrackets++},a.isAutoInsertedClosing=function(c,g,L){return i.autoInsertedBrackets>0&&c.row===i.autoInsertedRow&&L===i.autoInsertedLineEnd[0]&&g.substr(c.column)===i.autoInsertedLineEnd},a.isMaybeInsertedClosing=function(c,g){return i.maybeInsertedBrackets>0&&c.row===i.maybeInsertedRow&&g.substr(c.column)===i.maybeInsertedLineEnd&&g.substr(0,c.column)==i.maybeInsertedLineStart},a.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},a.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},A.inherits(a,C),T.CstyleBehaviour=a}),ace.define("ace/unicode",["require","exports","module"],function(k,T,E){"use strict";for(var A=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],C=0,S=[],s=0;s2?P%u!=u-1:P%u==0}}else{if(!this.blockComment)return!1;var f=this.blockComment.start,m=this.blockComment.end,M=new RegExp("^(\\s*)(?:"+r.escapeRegExp(f)+")"),y=new RegExp("(?:"+r.escapeRegExp(m)+")\\s*$"),w=function(I,F){d(I,F)||(!L||/\S/.test(I))&&(g.insertInLine({row:F,column:I.length},m),g.insertInLine({row:F,column:b},f))},p=function(I,F){var O;(O=I.match(y))&&g.removeInLine(F,I.length-O[0].length,I.length),(O=I.match(M))&&g.removeInLine(F,O[1].length,O[0].length)},d=function(I,F){if(M.test(I))return!0;for(var O=o.getTokens(F),N=0;NI.length&&(R=I.length)}),b==1/0&&(b=R,L=!1,v=!1),h&&b%u!=0&&(b=Math.floor(b/u)*u),x(v?p:w)},this.toggleBlockComment=function(t,o,a,c){var g=this.blockComment;if(!!g){!g.start&&g[0]&&(g=g[0]);var L=new i(o,c.row,c.column),v=L.getCurrentToken(),b=o.selection,u=o.selection.toOrientedRange(),h,f;if(v&&/comment/.test(v.type)){for(var m,M;v&&/comment/.test(v.type);){var y=v.value.indexOf(g.start);if(y!=-1){var w=L.getCurrentTokenRow(),p=L.getCurrentTokenColumn()+y;m=new n(w,p,w,p+g.start.length);break}v=L.stepBackward()}for(var L=new i(o,c.row,c.column),v=L.getCurrentToken();v&&/comment/.test(v.type);){var y=v.value.indexOf(g.end);if(y!=-1){var w=L.getCurrentTokenRow(),p=L.getCurrentTokenColumn()+y;M=new n(w,p,w,p+g.end.length);break}v=L.stepForward()}M&&o.remove(M),m&&(o.remove(m),h=m.start.row,f=-g.start.length)}else f=g.start.length,h=a.start.row,o.insert(a.end,g.end),o.insert(a.start,g.start);u.start.row==h&&(u.start.column+=f),u.end.row==h&&(u.end.column+=f),o.selection.fromOrientedRange(u)}},this.getNextLineIndent=function(t,o,a){return this.$getIndent(o)},this.checkOutdent=function(t,o,a){return!1},this.autoOutdent=function(t,o,a){},this.$getIndent=function(t){return t.match(/^\s*/)[0]},this.createWorker=function(t){return null},this.createModeDelegates=function(t){this.$embeds=[],this.$modes={};for(var o in t)if(t[o]){var a=t[o],c=a.prototype.$id,g=A.$modes[c];g||(A.$modes[c]=g=new a),A.$modes[o]||(A.$modes[o]=g),this.$embeds.push(o),this.$modes[o]=g}for(var L=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],v=function(u){(function(h){var f=L[u],m=h[f];h[L[u]]=function(){return this.$delegator(f,arguments,m)}})(b)},b=this,o=0;o=0&&l.row=0&&l.column<=s[l.row].length}function S(s,l){l.action!="insert"&&l.action!="remove"&&A(l,"delta.action must be 'insert' or 'remove'"),l.lines instanceof Array||A(l,"delta.lines must be an Array"),(!l.start||!l.end)&&A(l,"delta.start/end must be an present");var r=l.start;C(s,l.start)||A(l,"delta.start must be contained in document");var i=l.end;l.action=="remove"&&!C(s,i)&&A(l,"delta.end must contained in document for 'remove' actions");var n=i.row-r.row,e=i.column-(n==0?r.column:0);(n!=l.lines.length-1||l.lines[n].length!=e)&&A(l,"delta.range must match delta lines")}T.applyDelta=function(s,l,r){var i=l.start.row,n=l.start.column,e=s[i]||"";switch(l.action){case"insert":var t=l.lines;if(t.length===1)s[i]=e.substring(0,n)+l.lines[0]+e.substring(n);else{var o=[i,1].concat(l.lines);s.splice.apply(s,o),s[i]=e.substring(0,n)+s[i],s[i+l.lines.length-1]+=e.substring(n)}break;case"remove":var a=l.end.column,c=l.end.row;i===c?s[i]=e.substring(0,n)+e.substring(a):s.splice(i,c-i+1,e.substring(0,n)+s[c].substring(a));break}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(k,T,E){"use strict";var A=k("./lib/oop"),C=k("./lib/event_emitter").EventEmitter,S=function(){function r(i,n,e){this.$onChange=this.onChange.bind(this),this.attach(i),typeof n!="number"?this.setPosition(n.row,n.column):this.setPosition(n,e)}return r.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},r.prototype.getDocument=function(){return this.document},r.prototype.onChange=function(i){if(!(i.start.row==i.end.row&&i.start.row!=this.row)&&!(i.start.row>this.row)){var n=l(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},r.prototype.setPosition=function(i,n,e){var t;if(e?t={row:i,column:n}:t=this.$clipPositionToDocument(i,n),!(this.row==t.row&&this.column==t.column)){var o={row:this.row,column:this.column};this.row=t.row,this.column=t.column,this._signal("change",{old:o,value:t})}},r.prototype.detach=function(){this.document.off("change",this.$onChange)},r.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},r.prototype.$clipPositionToDocument=function(i,n){var e={};return i>=this.document.getLength()?(e.row=Math.max(0,this.document.getLength()-1),e.column=this.document.getLine(e.row).length):i<0?(e.row=0,e.column=0):(e.row=i,e.column=Math.min(this.document.getLine(e.row).length,Math.max(0,n))),n<0&&(e.column=0),e},r}();S.prototype.$insertRight=!1,A.implement(S.prototype,C);function s(r,i,n){var e=n?r.column<=i.column:r.column=t&&(n=t-1,e=void 0);var o=this.getLine(n);return e==null&&(e=o.length),e=Math.min(Math.max(e,0),o.length),{row:n,column:e}},i.prototype.clonePos=function(n){return{row:n.row,column:n.column}},i.prototype.pos=function(n,e){return{row:n,column:e}},i.prototype.$clipPosition=function(n){var e=this.getLength();return n.row>=e?(n.row=Math.max(0,e-1),n.column=this.getLine(e-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},i.prototype.insertFullLines=function(n,e){n=Math.min(Math.max(n,0),this.getLength());var t=0;n0,o=e=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(n,e){if(n instanceof s||(n=s.fromPoints(n.start,n.end)),e.length===0&&n.isEmpty())return n.start;if(e==this.getTextRange(n))return n.end;this.remove(n);var t;return e?t=this.insert(n.start,e):t=n.start,t},i.prototype.applyDeltas=function(n){for(var e=0;e=0;e--)this.revertDelta(n[e])},i.prototype.applyDelta=function(n,e){var t=n.action=="insert";(t?n.lines.length<=1&&!n.lines[0]:!s.comparePoints(n.start,n.end))||(t&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(C(this.$lines,n,e),this._signal("change",n)))},i.prototype.$safeApplyDelta=function(n){var e=this.$lines.length;(n.action=="remove"&&n.start.row20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=e,t==-1&&(t=e),a<=t&&i.fireUpdateEvent(a,t)}}}return s.prototype.setTokenizer=function(l){this.tokenizer=l,this.lines=[],this.states=[],this.start(0)},s.prototype.setDocument=function(l){this.doc=l,this.lines=[],this.states=[],this.stop()},s.prototype.fireUpdateEvent=function(l,r){var i={first:l,last:r};this._signal("update",{data:i})},s.prototype.start=function(l){this.currentLine=Math.min(l||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},s.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},s.prototype.$updateOnChange=function(l){var r=l.start.row,i=l.end.row-r;if(i===0)this.lines[r]=null;else if(l.action=="remove")this.lines.splice(r,i+1,null),this.states.splice(r,i+1,null);else{var n=Array(i+1);n.unshift(r,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(r,this.currentLine,this.doc.getLength()),this.stop()},s.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},s.prototype.getTokens=function(l){return this.lines[l]||this.$tokenizeRow(l)},s.prototype.getState=function(l){return this.currentLine==l&&this.$tokenizeRow(l),this.states[l]||"start"},s.prototype.$tokenizeRow=function(l){var r=this.doc.getLine(l),i=this.states[l-1],n=this.tokenizer.getLineTokens(r,i,l);return this.states[l]+""!=n.state+""?(this.states[l]=n.state,this.lines[l+1]=null,this.currentLine>l+1&&(this.currentLine=l+1)):this.currentLine==l&&(this.currentLine=l+1),this.lines[l]=n.tokens},s.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},s}();A.implement(S.prototype,C),T.BackgroundTokenizer=S}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(k,T,E){"use strict";var A=k("./lib/lang"),C=k("./range").Range,S=function(){function s(l,r,i){i===void 0&&(i="text"),this.setRegexp(l),this.clazz=r,this.type=i}return s.prototype.setRegexp=function(l){this.regExp+""!=l+""&&(this.regExp=l,this.cache=[])},s.prototype.update=function(l,r,i,n){if(!!this.regExp)for(var e=n.firstRow,t=n.lastRow,o={},a=e;a<=t;a++){var c=this.cache[a];c==null&&(c=A.getMatchOffsets(i.getLine(a),this.regExp),c.length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map(function(b){return new C(a,b.offset,a,b.offset+b.length)}),this.cache[a]=c.length?c:"");for(var g=c.length;g--;){var L=c[g].toScreenRange(i),v=L.toString();o[v]||(o[v]=!0,r.drawSingleLineMarker(l,L,this.clazz,n))}}},s}();S.prototype.MAX_RANGES=500,T.SearchHighlight=S}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(k,T,E){"use strict";var A=function(){function h(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return h.prototype.addSession=function(f){this.$session=f},h.prototype.add=function(f,m,M){if(!this.$fromUndo&&f!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),m===!1||!this.lastDeltas){this.lastDeltas=[];var y=this.$undoStack.length;y>this.$undoDepth-1&&this.$undoStack.splice(0,y-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),f.id=this.$rev=++this.$maxRev}(f.action=="remove"||f.action=="insert")&&(this.$lastDelta=f),this.lastDeltas.push(f)}},h.prototype.addSelection=function(f,m){this.selections.push({value:f,rev:m||this.$rev})},h.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},h.prototype.markIgnored=function(f,m){m==null&&(m=this.$rev+1);for(var M=this.$undoStack,y=M.length;y--;){var w=M[y][0];if(w.id<=f)break;w.id0},h.prototype.canRedo=function(){return this.$redoStack.length>0},h.prototype.bookmark=function(f){f==null&&(f=this.$rev),this.mark=f},h.prototype.isAtBookmark=function(){return this.$rev===this.mark},h.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},h.prototype.fromJSON=function(f){this.reset(),this.$undoStack=f.$undoStack,this.$redoStack=f.$redoStack},h.prototype.$prettyPrint=function(f){return f?e(f):e(this.$undoStack)+` +--- +`+e(this.$redoStack)},h}();A.prototype.hasUndo=A.prototype.canUndo,A.prototype.hasRedo=A.prototype.canRedo,A.prototype.isClean=A.prototype.isAtBookmark,A.prototype.markClean=A.prototype.bookmark;function C(h,f){for(var m=f;m--;){var M=h[m];if(M&&!M[0].ignore){for(;m0){d.row+=y,d.column+=d.row==M.row?w:0;continue}!f&&_<=0&&(d.row=m.row,d.column=m.column,_===0&&(d.bias=1))}}}function i(h){return{row:h.row,column:h.column}}function n(h){return{start:i(h.start),end:i(h.end),action:h.action,lines:h.lines.slice()}}function e(h){if(h=h||this,Array.isArray(h))return h.map(e).join(` +`);var f="";return h.action?(f=h.action=="insert"?"+":"-",f+="["+h.lines+"]"):h.value&&(Array.isArray(h.value)?f=h.value.map(t).join(` +`):f=t(h.value)),h.start&&(f+=t(h)),(h.id||h.rev)&&(f+=" ("+(h.id||h.rev)+")"),f}function t(h){return h.start.row+":"+h.start.column+"=>"+h.end.row+":"+h.end.column}function o(h,f){var m=h.action=="insert",M=f.action=="insert";if(m&&M)if(s(f.start,h.end)>=0)g(f,h,-1);else if(s(f.start,h.start)<=0)g(h,f,1);else return null;else if(m&&!M)if(s(f.start,h.end)>=0)g(f,h,-1);else if(s(f.end,h.start)<=0)g(h,f,-1);else return null;else if(!m&&M)if(s(f.start,h.start)>=0)g(f,h,1);else if(s(f.start,h.start)<=0)g(h,f,1);else return null;else if(!m&&!M)if(s(f.start,h.start)>=0)g(f,h,1);else if(s(f.end,h.start)<=0)g(h,f,-1);else return null;return[f,h]}function a(h,f){for(var m=h.length;m--;)for(var M=0;M=0?g(h,f,-1):(s(h.start,f.start)<=0||g(h,S.fromPoints(f.start,h.start),-1),g(f,h,1));else if(!m&&M)s(f.start,h.end)>=0?g(f,h,-1):(s(f.start,h.start)<=0||g(f,S.fromPoints(h.start,f.start),-1),g(h,f,1));else if(!m&&!M)if(s(f.start,h.end)>=0)g(f,h,-1);else if(s(f.end,h.start)<=0)g(h,f,-1);else{var y,w;return s(h.start,f.start)<0&&(y=h,h=v(h,f.start)),s(h.end,f.end)>0&&(w=v(h,f.end)),L(f.end,h.start,h.end,-1),w&&!y&&(h.lines=w.lines,h.start=w.start,h.end=w.end,w=h),[f,y,w].filter(Boolean)}return[f,h]}function g(h,f,m){L(h.start,f.start,f.end,m),L(h.end,f.start,f.end,m)}function L(h,f,m,M){h.row==(M==1?f:m).row&&(h.column+=M*(m.column-f.column)),h.row+=M*(m.row-f.row)}function v(h,f){var m=h.lines,M=h.end;h.end=i(f);var y=h.end.row-h.start.row,w=m.splice(y,m.length),p=y?f.column:f.column-h.start.column;m.push(w[0].substring(0,p)),w[0]=w[0].substr(p);var d={start:i(f),end:M,lines:w,action:h.action};return d}function b(h,f){f=n(f);for(var m=h.length;m--;){for(var M=h[m],y=0;ythis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(s),this.folds.sort(function(l,r){return-l.range.compareEnd(r.start.row,r.start.column)}),this.range.compareEnd(s.start.row,s.start.column)>0?(this.end.row=s.end.row,this.end.column=s.end.column):this.range.compareStart(s.end.row,s.end.column)<0&&(this.start.row=s.start.row,this.start.column=s.start.column)}else if(s.start.row==this.end.row)this.folds.push(s),this.end.row=s.end.row,this.end.column=s.end.column;else if(s.end.row==this.start.row)this.folds.unshift(s),this.start.row=s.start.row,this.start.column=s.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");s.foldLine=this},S.prototype.containsRow=function(s){return s>=this.start.row&&s<=this.end.row},S.prototype.walk=function(s,l,r){var i=0,n=this.folds,e,t,o,a=!0;l==null&&(l=this.end.row,r=this.end.column);for(var c=0;c0)){var a=C(l,t.start);return o===0?r&&a!==0?-e-2:e:a>0||a===0&&!r?e:-e-1}}return-e-1},s.prototype.add=function(l){var r=!l.isEmpty(),i=this.pointIndex(l.start,r);i<0&&(i=-i-1);var n=this.pointIndex(l.end,r,i);return n<0?n=-n-1:n++,this.ranges.splice(i,n-i,l)},s.prototype.addList=function(l){for(var r=[],i=l.length;i--;)r.push.apply(r,this.add(l[i]));return r},s.prototype.substractPoint=function(l){var r=this.pointIndex(l);if(r>=0)return this.ranges.splice(r,1)},s.prototype.merge=function(){var l=[],r=this.ranges;r=r.sort(function(o,a){return C(o.start,a.start)});for(var i=r[0],n,e=1;e=0},s.prototype.containsPoint=function(l){return this.pointIndex(l)>=0},s.prototype.rangeAtPoint=function(l){var r=this.pointIndex(l);if(r>=0)return this.ranges[r]},s.prototype.clipRows=function(l,r){var i=this.ranges;if(i[0].start.row>r||i[i.length-1].start.row=n)break}if(l.action=="insert")for(var g=e-n,L=-r.column+i.column;on)break;if(c.start.row==n&&c.start.column>=r.column&&(c.start.column==r.column&&this.$bias<=0||(c.start.column+=L,c.start.row+=g)),c.end.row==n&&c.end.column>=r.column){if(c.end.column==r.column&&this.$bias<0)continue;c.end.column==r.column&&L>0&&oc.start.column&&c.end.column==t[o+1].start.column&&(c.end.column-=L),c.end.column+=L,c.end.row+=g}}else for(var g=n-e,L=r.column-i.column;oe)break;c.end.rowr.column)&&(c.end.column=r.column,c.end.row=r.row):(c.end.column+=L,c.end.row+=g):c.end.row>e&&(c.end.row+=g),c.start.rowr.column)&&(c.start.column=r.column,c.start.row=r.row):(c.start.column+=L,c.start.row+=g):c.start.row>e&&(c.start.row+=g)}if(g!=0&&o=i)return o;if(o.end.row>i)return null}return null},this.getNextFoldLine=function(i,n){var e=this.$foldData,t=0;for(n&&(t=e.indexOf(n)),t==-1&&(t=0),t;t=i)return o}return null},this.getFoldedRowCount=function(i,n){for(var e=this.$foldData,t=n-i+1,o=0;o=n){g=i?t-=n-g:t=0);break}else c>=i&&(g>=i?t-=c-g:t-=c-i+1)}return t},this.$addFoldLine=function(i){return this.$foldData.push(i),this.$foldData.sort(function(n,e){return n.start.row-e.start.row}),i},this.addFold=function(i,n){var e=this.$foldData,t=!1,o;i instanceof S?o=i:(o=new S(n,i),o.collapseChildren=n.collapseChildren),this.$clipRangeToDocument(o.range);var a=o.start.row,c=o.start.column,g=o.end.row,L=o.end.column,v=this.getFoldAt(a,c,1),b=this.getFoldAt(g,L,-1);if(v&&b==v)return v.addSubFold(o);v&&!v.range.isStart(a,c)&&this.removeFold(v),b&&!b.range.isEnd(g,L)&&this.removeFold(b);var u=this.getFoldsInRange(o.range);u.length>0&&(this.removeFolds(u),o.collapseChildren||u.forEach(function(M){o.addSubFold(M)}));for(var h=0;h0&&this.foldAll(i.start.row+1,i.end.row,i.collapseChildren-1),i.subFolds=[]},this.expandFolds=function(i){i.forEach(function(n){this.expandFold(n)},this)},this.unfold=function(i,n){var e,t;if(i==null)e=new A(0,0,this.getLength(),0),n==null&&(n=!0);else if(typeof i=="number")e=new A(i,0,i,this.getLine(i).length);else if("row"in i)e=A.fromPoints(i,i);else{if(Array.isArray(i))return t=[],i.forEach(function(a){t=t.concat(this.unfold(a))},this),t;e=i}t=this.getFoldsInRangeList(e);for(var o=t;t.length==1&&A.comparePoints(t[0].start,e.start)<0&&A.comparePoints(t[0].end,e.end)>0;)this.expandFolds(t),t=this.getFoldsInRangeList(e);if(n!=!1?this.removeFolds(t):this.expandFolds(t),o.length)return o},this.isRowFolded=function(i,n){return!!this.getFoldLine(i,n)},this.getRowFoldEnd=function(i,n){var e=this.getFoldLine(i,n);return e?e.end.row:i},this.getRowFoldStart=function(i,n){var e=this.getFoldLine(i,n);return e?e.start.row:i},this.getFoldDisplayLine=function(i,n,e,t,o){t==null&&(t=i.start.row),o==null&&(o=0),n==null&&(n=i.end.row),e==null&&(e=this.getLine(n).length);var a=this.doc,c="";return i.walk(function(g,L,v,b){if(!(Lv)break;while(o&&c.test(o.type));o=t.stepBackward()}else o=t.getCurrentToken();return g.end.row=t.getCurrentTokenRow(),g.end.column=t.getCurrentTokenColumn(),g}},this.foldAll=function(i,n,e,t){e==null&&(e=1e5);var o=this.foldWidgets;if(!!o){n=n||this.getLength(),i=i||0;for(var a=i;a=i&&(a=c.end.row,c.collapseChildren=e,this.addFold("...",c))}}},this.foldToLevel=function(i){for(this.foldAll();i-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var i=this;this.foldAll(null,null,null,function(n){for(var e=i.getTokens(n),t=0;t=0;){var a=e[t];if(a==null&&(a=e[t]=this.getFoldWidget(t)),a=="start"){var c=this.getFoldWidgetRange(t);if(o||(o=c),c&&c.end.row>=i)break}t--}return{range:t!==-1&&c,firstRange:o}},this.onFoldWidgetClick=function(i,n){n instanceof l&&(n=n.domEvent);var e={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey},t=this.$toggleFoldWidget(i,e);if(!t){var o=n.target||n.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=" ace_invalid")}},this.$toggleFoldWidget=function(i,n){if(!!this.getFoldWidget){var e=this.getFoldWidget(i),t=this.getLine(i),o=e==="end"?-1:1,a=this.getFoldAt(i,o===-1?0:t.length,o);if(a)return n.children||n.all?this.removeFold(a):this.expandFold(a),a;var c=this.getFoldWidgetRange(i,!0);if(c&&!c.isMultiLine()&&(a=this.getFoldAt(c.start.row,c.start.column,1),a&&c.isEqual(a.range)))return this.removeFold(a),a;if(n.siblings){var g=this.getParentFoldRangeData(i);if(g.range)var L=g.range.start.row+1,v=g.range.end.row;this.foldAll(L,v,n.all?1e4:0)}else n.children?(v=c?c.end.row:this.getLength(),this.foldAll(i+1,v,n.all?1e4:0)):c&&(n.all&&(c.collapseChildren=1e4),this.addFold("...",c));return c}},this.toggleFoldWidget=function(i){var n=this.selection.getCursor().row;n=this.getRowFoldStart(n);var e=this.$toggleFoldWidget(n,{});if(!e){var t=this.getParentFoldRangeData(n,!0);if(e=t.range||t.firstRange,e){n=e.start.row;var o=this.getFoldAt(n,this.getLine(n).length,1);o?this.removeFold(o):this.addFold("...",e)}}},this.updateFoldWidgets=function(i){var n=i.start.row,e=i.end.row-n;if(e===0)this.foldWidgets[n]=null;else if(i.action=="remove")this.foldWidgets.splice(n,e+1,null);else{var t=Array(e+1);t.unshift(n,1),this.foldWidgets.splice.apply(this.foldWidgets,t)}},this.tokenizerUpdateFoldWidgets=function(i){var n=i.data;n.first!=n.last&&this.foldWidgets.length>n.first&&this.foldWidgets.splice(n.first,this.foldWidgets.length)}}T.Folding=r}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(k,T,E){"use strict";var A=k("../token_iterator").TokenIterator,C=k("../range").Range;function S(){this.findMatchingBracket=function(s,l){if(s.column==0)return null;var r=l||this.getLine(s.row).charAt(s.column-1);if(r=="")return null;var i=r.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],s):this.$findOpeningBracket(i[2],s):null},this.getBracketRange=function(s){var l=this.getLine(s.row),r=!0,i,n=l.charAt(s.column-1),e=n&&n.match(/([\(\[\{])|([\)\]\}])/);if(e||(n=l.charAt(s.column),s={row:s.row,column:s.column+1},e=n&&n.match(/([\(\[\{])|([\)\]\}])/),r=!1),!e)return null;if(e[1]){var t=this.$findClosingBracket(e[1],s);if(!t)return null;i=C.fromPoints(s,t),r||(i.end.column++,i.start.column--),i.cursor=i.end}else{var t=this.$findOpeningBracket(e[2],s);if(!t)return null;i=C.fromPoints(t,s),r||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.getMatchingBracketRanges=function(s,l){var r=this.getLine(s.row),i=/([\(\[\{])|([\)\]\}])/,n=!l&&r.charAt(s.column-1),e=n&&n.match(i);if(e||(n=(l===void 0||l)&&r.charAt(s.column),s={row:s.row,column:s.column+1},e=n&&n.match(i)),!e)return null;var t=new C(s.row,s.column-1,s.row,s.column),o=e[1]?this.$findClosingBracket(e[1],s):this.$findOpeningBracket(e[2],s);if(!o)return[t];var a=new C(o.row,o.column,o.row,o.column+1);return[t,a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(s,l,r){var i=this.$brackets[s],n=1,e=new A(this,l.row,l.column),t=e.getCurrentToken();if(t||(t=e.stepForward()),!!t){r||(r=new RegExp("(\\.?"+t.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var o=l.column-e.getCurrentTokenColumn()-2,a=t.value;;){for(;o>=0;){var c=a.charAt(o);if(c==i){if(n-=1,n==0)return{row:e.getCurrentTokenRow(),column:o+e.getCurrentTokenColumn()}}else c==s&&(n+=1);o-=1}do t=e.stepBackward();while(t&&!r.test(t.type));if(t==null)break;a=t.value,o=a.length-1}return null}},this.$findClosingBracket=function(s,l,r){var i=this.$brackets[s],n=1,e=new A(this,l.row,l.column),t=e.getCurrentToken();if(t||(t=e.stepForward()),!!t){r||(r=new RegExp("(\\.?"+t.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var o=l.column-e.getCurrentTokenColumn();;){for(var a=t.value,c=a.length;o"?i=!0:l.type.indexOf("tag-name")!==-1&&(r=!0));while(l&&!r);return l},this.$findClosingTag=function(s,l){var r,i=l.value,n=l.value,e=0,t=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);l=s.stepForward();var o=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+l.value.length),a=!1;do{if(r=l,r.type.indexOf("tag-close")!==-1&&!a){var c=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);a=!0}if(l=s.stepForward(),l){if(l.value===">"&&!a){var c=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);a=!0}if(l.type.indexOf("tag-name")!==-1){if(i=l.value,n===i){if(r.value==="<")e++;else if(r.value==="")var v=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);else return}}}else if(n===i&&l.value==="/>"&&(e--,e<0))var g=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+2),L=g,v=L,c=new C(o.end.row,o.end.column,o.end.row,o.end.column+1)}}while(l&&e>=0);if(t&&c&&g&&v&&o&&L)return{openTag:new C(t.start.row,t.start.column,c.end.row,c.end.column),closeTag:new C(g.start.row,g.start.column,v.end.row,v.end.column),openTagName:o,closeTagName:L}},this.$findOpeningTag=function(s,l){var r=s.getCurrentToken(),i=l.value,n=0,e=s.getCurrentTokenRow(),t=s.getCurrentTokenColumn(),o=t+2,a=new C(e,t,e,o);s.stepForward();var c=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+l.value.length);if(l.type.indexOf("tag-close")===-1&&(l=s.stepForward()),!(!l||l.value!==">")){var g=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);s.stepBackward(),s.stepBackward();do if(l=r,e=s.getCurrentTokenRow(),t=s.getCurrentTokenColumn(),o=t+l.value.length,r=s.stepBackward(),l){if(l.type.indexOf("tag-name")!==-1){if(i===l.value)if(r.value==="<"){if(n++,n>0){var L=new C(e,t,e,o),v=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);do l=s.stepForward();while(l&&l.value!==">");var b=new C(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else r.value===""){for(var u=0,h=r;h;){if(h.type.indexOf("tag-name")!==-1&&h.value===i){n--;break}else if(h.value==="<")break;h=s.stepBackward(),u++}for(var f=0;fd&&(this.$docRowCache.splice(d,p),this.$screenRowCache.splice(d,p))},y.prototype.$getRowCacheIndex=function(w,p){for(var d=0,$=w.length-1;d<=$;){var _=d+$>>1,x=w[_];if(p>x)d=_+1;else if(p=p));x++);return $=d[x],$?($.index=x,$.start=_-$.value.length,$):null},y.prototype.setUndoManager=function(w){if(this.$undoManager=w,this.$informUndoManager&&this.$informUndoManager.cancel(),w){var p=this;w.addSession(this),this.$syncInformUndoManager=function(){p.$informUndoManager.cancel(),p.mergeUndoDeltas=!1},this.$informUndoManager=C.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},y.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},y.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},y.prototype.getTabString=function(){return this.getUseSoftTabs()?C.stringRepeat(" ",this.getTabSize()):" "},y.prototype.setUseSoftTabs=function(w){this.setOption("useSoftTabs",w)},y.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},y.prototype.setTabSize=function(w){this.setOption("tabSize",w)},y.prototype.getTabSize=function(){return this.$tabSize},y.prototype.isTabStop=function(w){return this.$useSoftTabs&&w.column%this.$tabSize===0},y.prototype.setNavigateWithinSoftTabs=function(w){this.setOption("navigateWithinSoftTabs",w)},y.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},y.prototype.setOverwrite=function(w){this.setOption("overwrite",w)},y.prototype.getOverwrite=function(){return this.$overwrite},y.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},y.prototype.addGutterDecoration=function(w,p){this.$decorations[w]||(this.$decorations[w]=""),this.$decorations[w]+=" "+p,this._signal("changeBreakpoint",{})},y.prototype.removeGutterDecoration=function(w,p){this.$decorations[w]=(this.$decorations[w]||"").replace(" "+p,""),this._signal("changeBreakpoint",{})},y.prototype.getBreakpoints=function(){return this.$breakpoints},y.prototype.setBreakpoints=function(w){this.$breakpoints=[];for(var p=0;p0&&($=!!d.charAt(p-1).match(this.tokenRe)),$||($=!!d.charAt(p).match(this.tokenRe)),$)var _=this.tokenRe;else if(/^\s+$/.test(d.slice(p-1,p+1)))var _=/\s/;else var _=this.nonTokenRe;var x=p;if(x>0){do x--;while(x>=0&&d.charAt(x).match(_));x++}for(var R=p;Rw&&(w=p.screenWidth)}),this.lineWidgetWidth=w},y.prototype.$computeWidth=function(w){if(this.$modified||w){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var p=this.doc.getAllLines(),d=this.$rowLengthCache,$=0,_=0,x=this.$foldData[_],R=x?x.start.row:1/0,I=p.length,F=0;FR){if(F=x.end.row+1,F>=I)break;x=this.$foldData[_++],R=x?x.start.row:1/0}d[F]==null&&(d[F]=this.$getStringScreenWidth(p[F])[0]),d[F]>$&&($=d[F])}this.screenWidth=$}},y.prototype.getLine=function(w){return this.doc.getLine(w)},y.prototype.getLines=function(w,p){return this.doc.getLines(w,p)},y.prototype.getLength=function(){return this.doc.getLength()},y.prototype.getTextRange=function(w){return this.doc.getTextRange(w||this.selection.getRange())},y.prototype.insert=function(w,p){return this.doc.insert(w,p)},y.prototype.remove=function(w){return this.doc.remove(w)},y.prototype.removeFullLines=function(w,p){return this.doc.removeFullLines(w,p)},y.prototype.undoChanges=function(w,p){if(!!w.length){this.$fromUndo=!0;for(var d=w.length-1;d!=-1;d--){var $=w[d];$.action=="insert"||$.action=="remove"?this.doc.revertDelta($):$.folds&&this.addFolds($.folds)}!p&&this.$undoSelect&&(w.selectionBefore?this.selection.fromJSON(w.selectionBefore):this.selection.setRange(this.$getUndoSelection(w,!0))),this.$fromUndo=!1}},y.prototype.redoChanges=function(w,p){if(!!w.length){this.$fromUndo=!0;for(var d=0;dw.end.column&&(x.start.column+=I),x.end.row==w.end.row&&x.end.column>w.end.column&&(x.end.column+=I)),R&&x.start.row>=w.end.row&&(x.start.row+=R,x.end.row+=R)}if(x.end=this.insert(x.start,$),_.length){var F=w.start,O=x.start,R=O.row-F.row,I=O.column-F.column;this.addFolds(_.map(function(B){return B=B.clone(),B.start.row==F.row&&(B.start.column+=I),B.end.row==F.row&&(B.end.column+=I),B.start.row+=R,B.end.row+=R,B}))}return x},y.prototype.indentRows=function(w,p,d){d=d.replace(/\t/g,this.getTabString());for(var $=w;$<=p;$++)this.doc.insertInLine({row:$,column:0},d)},y.prototype.outdentRows=function(w){for(var p=w.collapseRows(),d=new n(0,0,0,0),$=this.getTabSize(),_=p.start.row;_<=p.end.row;++_){var x=this.getLine(_);d.start.row=_,d.end.row=_;for(var R=0;R<$&&x.charAt(R)==" ";++R);R<$&&x.charAt(R)==" "?(d.start.column=R,d.end.column=R+1):(d.start.column=0,d.end.column=R),this.remove(d)}},y.prototype.$moveLines=function(w,p,d){if(w=this.getRowFoldStart(w),p=this.getRowFoldEnd(p),d<0){var $=this.getRowFoldStart(w+d);if($<0)return 0;var _=$-w}else if(d>0){var $=this.getRowFoldEnd(p+d);if($>this.doc.getLength()-1)return 0;var _=$-p}else{w=this.$clipRowToDocument(w),p=this.$clipRowToDocument(p);var _=p-w+1}var x=new n(w,0,p,Number.MAX_VALUE),R=this.getFoldsInRange(x).map(function(F){return F=F.clone(),F.start.row+=_,F.end.row+=_,F}),I=d==0?this.doc.getLines(w,p):this.doc.removeFullLines(w,p);return this.doc.insertFullLines(w+_,I),R.length&&this.addFolds(R),_},y.prototype.moveLinesUp=function(w,p){return this.$moveLines(w,p,-1)},y.prototype.moveLinesDown=function(w,p){return this.$moveLines(w,p,1)},y.prototype.duplicateLines=function(w,p){return this.$moveLines(w,p,0)},y.prototype.$clipRowToDocument=function(w){return Math.max(0,Math.min(w,this.doc.getLength()-1))},y.prototype.$clipColumnToRow=function(w,p){return p<0?0:Math.min(this.doc.getLine(w).length,p)},y.prototype.$clipPositionToDocument=function(w,p){if(p=Math.max(0,p),w<0)w=0,p=0;else{var d=this.doc.getLength();w>=d?(w=d-1,p=this.doc.getLine(d-1).length):p=Math.min(this.doc.getLine(w).length,p)}return{row:w,column:p}},y.prototype.$clipRangeToDocument=function(w){w.start.row<0?(w.start.row=0,w.start.column=0):w.start.column=this.$clipColumnToRow(w.start.row,w.start.column);var p=this.doc.getLength()-1;return w.end.row>p?(w.end.row=p,w.end.column=this.doc.getLine(p).length):w.end.column=this.$clipColumnToRow(w.end.row,w.end.column),w},y.prototype.setUseWrapMode=function(w){if(w!=this.$useWrapMode){if(this.$useWrapMode=w,this.$modified=!0,this.$resetRowCache(0),w){var p=this.getLength();this.$wrapData=Array(p),this.$updateWrapData(0,p-1)}this._signal("changeWrapMode")}},y.prototype.getUseWrapMode=function(){return this.$useWrapMode},y.prototype.setWrapLimitRange=function(w,p){(this.$wrapLimitRange.min!==w||this.$wrapLimitRange.max!==p)&&(this.$wrapLimitRange={min:w,max:p},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},y.prototype.adjustWrapLimit=function(w,p){var d=this.$wrapLimitRange;d.max<0&&(d={min:p,max:p});var $=this.$constrainWrapLimit(w,d.min,d.max);return $!=this.$wrapLimit&&$>1?(this.$wrapLimit=$,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},y.prototype.$constrainWrapLimit=function(w,p,d){return p&&(w=Math.max(p,w)),d&&(w=Math.min(d,w)),w},y.prototype.getWrapLimit=function(){return this.$wrapLimit},y.prototype.setWrapLimit=function(w){this.setWrapLimitRange(w,w)},y.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},y.prototype.$updateInternalDataOnChange=function(w){var p=this.$useWrapMode,d=w.action,$=w.start,_=w.end,x=$.row,R=_.row,I=R-x,F=null;if(this.$updating=!0,I!=0)if(d==="remove"){this[p?"$wrapData":"$rowLengthCache"].splice(x,I);var O=this.$foldData;F=this.getFoldsInRange(w),this.removeFolds(F);var N=this.getFoldLine(_.row),H=0;if(N){N.addRemoveChars(_.row,_.column,$.column-_.column),N.shiftRow(-I);var B=this.getFoldLine(x);B&&B!==N&&(B.merge(N),N=B),H=O.indexOf(N)+1}for(H;H=_.row&&N.shiftRow(-I)}R=x}else{var P=Array(I);P.unshift(x,0);var U=p?this.$wrapData:this.$rowLengthCache;U.splice.apply(U,P);var O=this.$foldData,N=this.getFoldLine(x),H=0;if(N){var K=N.range.compareInside($.row,$.column);K==0?(N=N.split($.row,$.column),N&&(N.shiftRow(I),N.addRemoveChars(R,0,_.column-$.column))):K==-1&&(N.addRemoveChars(x,0,_.column-$.column),N.shiftRow(I)),H=O.indexOf(N)+1}for(H;H=x&&N.shiftRow(I)}}else{I=Math.abs(w.start.column-w.end.column),d==="remove"&&(F=this.getFoldsInRange(w),this.removeFolds(F),I=-I);var N=this.getFoldLine(x);N&&N.addRemoveChars(x,$.column,I)}return p&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,p?this.$updateWrapData(x,R):this.$updateRowLengthCache(x,R),F},y.prototype.$updateRowLengthCache=function(w,p){this.$rowLengthCache[w]=null,this.$rowLengthCache[p]=null},y.prototype.$updateWrapData=function(w,p){var d=this.doc.getAllLines(),$=this.getTabSize(),_=this.$wrapData,x=this.$wrapLimit,R,I,F=w;for(p=Math.min(p,d.length-1);F<=p;)I=this.getFoldLine(F,I),I?(R=[],I.walk(function(O,N,H,B){var P;if(O!=null){P=this.$getDisplayTokens(O,R.length),P[0]=v;for(var U=1;Up-B;){var P=x+p-B;if(w[P-1]>=h&&w[P]>=h){H(P);continue}if(w[P]==v||w[P]==b){for(P;P!=x-1&&w[P]!=v;P--);if(P>x){H(P);continue}for(P=x+p,P;P>2)),x-1);P>U&&w[P]U&&w[P]U&&w[P]==u;)P--}else for(;P>U&&w[P]U){H(++P);continue}P=x+p,w[P]==L&&P--,H(P-B)}return $},y.prototype.$getDisplayTokens=function(w,p){var d=[],$;p=p||0;for(var _=0;_39&&x<48||x>57&&x<64?d.push(u):x>=4352&&M(x)?d.push(g,L):d.push(g)}return d},y.prototype.$getStringScreenWidth=function(w,p,d){if(p==0)return[0,0];p==null&&(p=1/0),d=d||0;var $,_;for(_=0;_=4352&&M($)?d+=2:d+=1,!(d>p));_++);return[d,_]},y.prototype.getRowLength=function(w){var p=1;return this.lineWidgets&&(p+=this.lineWidgets[w]&&this.lineWidgets[w].rowCount||0),!this.$useWrapMode||!this.$wrapData[w]?p:this.$wrapData[w].length+p},y.prototype.getRowLineCount=function(w){return!this.$useWrapMode||!this.$wrapData[w]?1:this.$wrapData[w].length+1},y.prototype.getRowWrapIndent=function(w){if(this.$useWrapMode){var p=this.screenToDocumentPosition(w,Number.MAX_VALUE),d=this.$wrapData[p.row];return d.length&&d[0]=0)var I=O[N],_=this.$docRowCache[N],B=w>O[H-1];else var B=!H;for(var P=this.getLength()-1,U=this.getNextFoldLine(_),K=U?U.start.row:1/0;I<=w&&(F=this.getRowLength(_),!(I+F>w||_>=P));)I+=F,_++,_>K&&(_=U.end.row+1,U=this.getNextFoldLine(_,U),K=U?U.start.row:1/0),B&&(this.$docRowCache.push(_),this.$screenRowCache.push(I));if(U&&U.start.row<=_)$=this.getFoldDisplayLine(U),_=U.start.row;else{if(I+F<=w||_>P)return{row:P,column:this.getLine(P).length};$=this.getLine(_),U=null}var Q=0,j=Math.floor(w-I);if(this.$useWrapMode){var J=this.$wrapData[_];J&&(R=J[j],j>0&&J.length&&(Q=J.indent,x=J[j-1]||J[J.length-1],$=$.substring(x)))}return d!==void 0&&this.$bidiHandler.isBidiRow(I+j,_,j)&&(p=this.$bidiHandler.offsetToCol(d)),x+=this.$getStringScreenWidth($,p-Q)[1],this.$useWrapMode&&x>=R&&(x=R-1),U?U.idxToPosition(x):{row:_,column:x}},y.prototype.documentToScreenPosition=function(w,p){if(typeof p=="undefined")var d=this.$clipPositionToDocument(w.row,w.column);else d=this.$clipPositionToDocument(w,p);w=d.row,p=d.column;var $=0,_=null,x=null;x=this.getFoldAt(w,p,1),x&&(w=x.start.row,p=x.start.column);var R,I=0,F=this.$docRowCache,O=this.$getRowCacheIndex(F,w),N=F.length;if(N&&O>=0)var I=F[O],$=this.$screenRowCache[O],H=w>F[N-1];else var H=!N;for(var B=this.getNextFoldLine(I),P=B?B.start.row:1/0;I=P){if(R=B.end.row+1,R>w)break;B=this.getNextFoldLine(R,B),P=B?B.start.row:1/0}else R=I+1;$+=this.getRowLength(I),I=R,H&&(this.$docRowCache.push(I),this.$screenRowCache.push($))}var U="";B&&I>=P?(U=this.getFoldDisplayLine(B,w,p),_=B.start.row):(U=this.getLine(w).substring(0,p),_=w);var K=0;if(this.$useWrapMode){var Q=this.$wrapData[_];if(Q){for(var j=0;U.length>=Q[j];)$++,j++;U=U.substring(Q[j-1]||0,U.length),K=j>0?Q.indent:0}}return this.lineWidgets&&this.lineWidgets[I]&&this.lineWidgets[I].rowsAbove&&($+=this.lineWidgets[I].rowsAbove),{row:$,column:K+this.$getStringScreenWidth(U)[0]}},y.prototype.documentToScreenColumn=function(w,p){return this.documentToScreenPosition(w,p).column},y.prototype.documentToScreenRow=function(w,p){return this.documentToScreenPosition(w,p).row},y.prototype.getScreenLength=function(){var w=0,p=null;if(this.$useWrapMode)for(var _=this.$wrapData.length,x=0,$=0,p=this.$foldData[$++],R=p?p.start.row:1/0;x<_;){var I=this.$wrapData[x];w+=I?I.length+1:1,x++,x>R&&(x=p.end.row+1,p=this.$foldData[$++],R=p?p.start.row:1/0)}else{w=this.getLength();for(var d=this.$foldData,$=0;$d));x++);return[$,x]})},y.prototype.getPrecedingCharacter=function(){var w=this.selection.getCursor();if(w.column===0)return w.row===0?"":this.doc.getNewLineCharacter();var p=this.getLine(w.row);return p[w.column-1]},y.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},y}();c.$uid=0,c.prototype.$modes=s.$modes,c.prototype.getValue=c.prototype.toString,c.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},c.prototype.$overwrite=!1,c.prototype.$mode=null,c.prototype.$modeId=null,c.prototype.$scrollTop=0,c.prototype.$scrollLeft=0,c.prototype.$wrapLimit=80,c.prototype.$useWrapMode=!1,c.prototype.$wrapLimitRange={min:null,max:null},c.prototype.lineWidgets=null,c.prototype.isFullWidth=M,A.implement(c.prototype,l);var g=1,L=2,v=3,b=4,u=9,h=10,f=11,m=12;function M(y){return y<4352?!1:y>=4352&&y<=4447||y>=4515&&y<=4519||y>=4602&&y<=4607||y>=9001&&y<=9002||y>=11904&&y<=11929||y>=11931&&y<=12019||y>=12032&&y<=12245||y>=12272&&y<=12283||y>=12288&&y<=12350||y>=12353&&y<=12438||y>=12441&&y<=12543||y>=12549&&y<=12589||y>=12593&&y<=12686||y>=12688&&y<=12730||y>=12736&&y<=12771||y>=12784&&y<=12830||y>=12832&&y<=12871||y>=12880&&y<=13054||y>=13056&&y<=19903||y>=19968&&y<=42124||y>=42128&&y<=42182||y>=43360&&y<=43388||y>=44032&&y<=55203||y>=55216&&y<=55238||y>=55243&&y<=55291||y>=63744&&y<=64255||y>=65040&&y<=65049||y>=65072&&y<=65106||y>=65108&&y<=65126||y>=65128&&y<=65131||y>=65281&&y<=65376||y>=65504&&y<=65510}k("./edit_session/folding").Folding.call(c.prototype),k("./edit_session/bracket_match").BracketMatch.call(c.prototype),s.defineOptions(c.prototype,"session",{wrap:{set:function(y){if(!y||y=="off"?y=!1:y=="free"?y=!0:y=="printMargin"?y=-1:typeof y=="string"&&(y=parseInt(y,10)||!1),this.$wrap!=y)if(this.$wrap=y,!y)this.setUseWrapMode(!1);else{var w=typeof y=="number"?y:null;this.setWrapLimitRange(w,w),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(y){y=y=="auto"?this.$mode.type!="text":y!="text",y!=this.$wrapAsCode&&(this.$wrapAsCode=y,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(y){this.$useWorker=y,this.$stopWorker(),y&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(y){y=parseInt(y),y>0&&this.$tabSize!==y&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=y,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(y){this.setFoldStyle(y)},handlesSet:!0},overwrite:{set:function(y){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(y){this.doc.setNewLineMode(y)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(y){this.setMode(y)},get:function(){return this.$modeId},handlesSet:!0}}),T.EditSession=c}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(k,T,E){"use strict";var A=k("./lib/lang"),C=k("./lib/oop"),S=k("./range").Range,s=function(){function r(){this.$options={}}return r.prototype.set=function(i){return C.mixin(this.$options,i),this},r.prototype.getOptions=function(){return A.copyObject(this.$options)},r.prototype.setOptions=function(i){this.$options=i},r.prototype.find=function(i){var n=this.$options,e=this.$matchIterator(i,n);if(!e)return!1;var t=null;return e.forEach(function(o,a,c,g){return t=new S(o,a,c,g),a==g&&n.start&&n.start.start&&n.skipCurrent!=!1&&t.isEqual(n.start)?(t=null,!1):!0}),t},r.prototype.findAll=function(i){var n=this.$options;if(!n.needle)return[];this.$assembleRegExp(n);var e=n.range,t=e?i.getLines(e.start.row,e.end.row):i.doc.getAllLines(),o=[],a=n.re;if(n.$isMultiLine){var c=a.length,g=t.length-c,L;e:for(var v=a.offset||0;v<=g;v++){for(var b=0;bf||(o.push(L=new S(v,f,v+c-1,m)),c>2&&(v=v+c-2))}}else for(var M=0;Md&&o[b].end.row==$;)b--;for(o=o.slice(M,b+1),M=0,b=o.length;M=L;m--)if(h(m,Number.MAX_VALUE,f))return;if(n.wrap!=!1){for(m=v,L=g.row;m>=L;m--)if(h(m,Number.MAX_VALUE,f))return}}};else var b=function(m){var M=g.row;if(!h(M,g.column,m)){for(M=M+1;M<=v;M++)if(h(M,0,m))return;if(n.wrap!=!1){for(M=L,v=g.row;M<=v;M++)if(h(M,0,m))return}}};if(n.$isMultiLine)var u=e.length,h=function(f,m,M){var y=t?f-u+1:f;if(!(y<0||y+u>i.getLength())){var w=i.getLine(y),p=w.search(e[0]);if(!(!t&&pm)&&M(y,p,y+u-1,$))return!0}}};else if(t)var h=function(m,M,y){var w=i.getLine(m),p=[],d,$=0;for(e.lastIndex=0;d=e.exec(w);){var _=d[0].length;if($=d.index,!_){if($>=w.length)break;e.lastIndex=$+=A.skipEmptyMatch(w,$,a)}if(d.index+_>M)break;p.push(d.index,_)}for(var x=p.length-1;x>=0;x-=2){var R=p[x-1],_=p[x];if(y(m,R,m,R+_))return!0}};else var h=function(m,M,y){var w=i.getLine(m),p,d;for(e.lastIndex=M;d=e.exec(w);){var $=d[0].length;if(p=d.index,y(m,p,m,p+$))return!0;if(!$&&(e.lastIndex=p+=A.skipEmptyMatch(w,p,a),p>=w.length))return!1}};return{forEach:b}},r}();function l(r,i){var n=A.supportsLookbehind();function e(c,g){g===void 0&&(g=!0);var L=n&&i.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w");return L.test(c)||i.regExp?n&&i.$supportsUnicodeFlag?g?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var t=Array.from(r),o=t[0],a=t[t.length-1];return e(o)+r+e(a,!1)}T.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(k,T,E){"use strict";var A=this&&this.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(o[c]=a[c])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),C=k("../lib/keys"),S=k("../lib/useragent"),s=C.KEY_MODS,l=function(){function n(e,t){this.$init(e,t,!1)}return n.prototype.$init=function(e,t,o){this.platform=t||(S.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=o},n.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},n.prototype.removeCommand=function(e,t){var o=e&&(typeof e=="string"?e:e.name);e=this.commands[o],t||delete this.commands[o];var a=this.commandKeyBinding;for(var c in a){var g=a[c];if(g==e)delete a[c];else if(Array.isArray(g)){var L=g.indexOf(e);L!=-1&&(g.splice(L,1),g.length==1&&(a[c]=g[0]))}}},n.prototype.bindKey=function(e,t,o){if(typeof e=="object"&&e&&(o==null&&(o=e.position),e=e[this.platform]),!!e){if(typeof t=="function")return this.addCommand({exec:t,bindKey:e,name:t.name||e});e.split("|").forEach(function(a){var c="";if(a.indexOf(" ")!=-1){var g=a.split(/\s+/);a=g.pop(),g.forEach(function(b){var u=this.parseKeys(b),h=s[u.hashId]+u.key;c+=(c?" ":"")+h,this._addCommandToBinding(c,"chainKeys")},this),c+=" "}var L=this.parseKeys(a),v=s[L.hashId]+L.key;this._addCommandToBinding(c+v,t,o)},this)}},n.prototype._addCommandToBinding=function(e,t,o){var a=this.commandKeyBinding,c;if(!t)delete a[e];else if(!a[e]||this.$singleCommand)a[e]=t;else{Array.isArray(a[e])?(c=a[e].indexOf(t))!=-1&&a[e].splice(c,1):a[e]=[a[e]],typeof o!="number"&&(o=r(t));var g=a[e];for(c=0;co)break}g.splice(c,0,t)}},n.prototype.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var o=e[t];if(!!o){if(typeof o=="string")return this.bindKey(o,t);typeof o=="function"&&(o={exec:o}),typeof o=="object"&&(o.name||(o.name=t),this.addCommand(o))}},this)},n.prototype.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},n.prototype.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},n.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},n.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(v){return v}),o=t.pop(),a=C[o];if(C.FUNCTION_KEYS[a])o=C.FUNCTION_KEYS[a].toLowerCase();else if(t.length){if(t.length==1&&t[0]=="shift")return{key:o.toUpperCase(),hashId:-1}}else return{key:o,hashId:-1};for(var c=0,g=t.length;g--;){var L=C.KEY_MODS[t[g]];if(L==null)return typeof console!="undefined"&&console.error("invalid modifier "+t[g]+" in "+e),!1;c|=L}return{key:o,hashId:c}},n.prototype.findKeyCommand=function(e,t){var o=s[e]+t;return this.commandKeyBinding[o]},n.prototype.handleKeyboard=function(e,t,o,a){if(!(a<0)){var c=s[t]+o,g=this.commandKeyBinding[c];return e.$keyChain&&(e.$keyChain+=" "+c,g=this.commandKeyBinding[e.$keyChain]||g),g&&(g=="chainKeys"||g[g.length-1]=="chainKeys")?(e.$keyChain=e.$keyChain||c,{command:"null"}):(e.$keyChain&&((!t||t==4)&&o.length==1?e.$keyChain=e.$keyChain.slice(0,-c.length-1):(t==-1||a>0)&&(e.$keyChain="")),{command:g})}},n.prototype.getStatusText=function(e,t){return t.$keyChain||""},n}();function r(n){return typeof n=="object"&&n.bindKey&&n.bindKey.position||(n.isDefault?-100:0)}var i=function(n){A(e,n);function e(t,o){var a=n.call(this,t,o)||this;return a.$singleCommand=!0,a}return e}(l);i.call=function(n,e,t){l.prototype.$init.call(n,e,t,!0)},l.call=function(n,e,t){l.prototype.$init.call(n,e,t,!1)},T.HashHandler=i,T.MultiHashHandler=l}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(k,T,E){"use strict";var A=this&&this.__extends||function(){var r=function(i,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(i,n)};return function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(i,n);function e(){this.constructor=i}i.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}}(),C=k("../lib/oop"),S=k("../keyboard/hash_handler").MultiHashHandler,s=k("../lib/event_emitter").EventEmitter,l=function(r){A(i,r);function i(n,e){var t=r.call(this,e,n)||this;return t.byName=t.commands,t.setDefaultHandler("exec",function(o){return o.args?o.command.exec(o.editor,o.args,o.event,!1):o.command.exec(o.editor,{},o.event,!0)}),t}return i.prototype.exec=function(n,e,t){if(Array.isArray(n)){for(var o=n.length;o--;)if(this.exec(n[o],e,t))return!0;return!1}if(typeof n=="string"&&(n=this.commands[n]),!n||e&&e.$readOnly&&!n.readOnly||this.$checkCommandState!=!1&&n.isAvailable&&!n.isAvailable(e))return!1;var a={editor:e,command:n,args:t};return a.returnValue=this._emit("exec",a),this._signal("afterExec",a),a.returnValue!==!1},i.prototype.toggleRecording=function(n){if(!this.$inReplay)return n&&n._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},i.prototype.replay=function(n){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(n);try{this.$inReplay=!0,this.macro.forEach(function(e){typeof e=="string"?this.exec(e,n):this.exec(e[0],n,e[1])},this)}finally{this.$inReplay=!1}}},i.prototype.trimMacro=function(n){return n.map(function(e){return typeof e[0]!="string"&&(e[0]=e[0].name),e[1]||(e=e[0]),e})},i}(S);C.implement(l.prototype,s),T.CommandManager=l}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(k,T,E){"use strict";var A=k("../lib/lang"),C=k("../config"),S=k("../range").Range;function s(r,i){return{win:r,mac:i}}T.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(r){C.loadModule("ace/ext/settings_menu",function(i){i.init(r),r.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(r){C.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(r,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(r){C.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(r,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(r){r.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(r){r.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(r,i){typeof i=="number"&&!isNaN(i)&&r.gotoLine(i),r.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(r){r.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(r){r.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(r){r.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(r){r.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(r){r.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(r){r.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(r){r.session.foldAll(),r.session.unfold(r.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(r){r.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(r){r.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(r){r.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(r){r.selection.isEmpty()?r.selection.selectWord():r.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(r){r.selection.isEmpty()?r.selection.selectWord():r.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(r){C.loadModule("ace/ext/searchbox",function(i){i.Search(r)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(r){r.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(r){r.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(r){r.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(r){r.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(r,i){r.navigateUp(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(r){r.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(r){r.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(r){r.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(r,i){r.navigateDown(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(r){r.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(r){r.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(r){r.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(r){r.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(r){r.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(r,i){r.navigateLeft(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(r){r.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(r){r.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(r){r.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(r){r.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(r){r.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(r,i){r.navigateRight(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(r){r.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(r){r.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(r){r.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(r){r.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(r){r.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(r){r.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(r){r.renderer.scrollBy(0,-2*r.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(r){r.renderer.scrollBy(0,2*r.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(r){r.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(r){r.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(r){r.commands.toggleRecording(r)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(r){r.commands.replay(r)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(r){r.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(r){r.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(r){r.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(r){},readOnly:!0},{name:"cut",description:"Cut",exec:function(r){var i=r.$copyWithEmptySelection&&r.selection.isEmpty(),n=i?r.selection.getLineRange():r.selection.getRange();r._emit("cut",n),n.isEmpty()||r.session.remove(n),r.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(r,i){r.$handlePaste(i)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(r){r.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(r){r.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(r){r.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(r){r.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(r){r.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(r){r.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(r){r.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(r){C.loadModule("ace/ext/searchbox",function(i){i.Search(r,!0)})}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(r){r.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(r){r.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(r){r.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(r){r.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(r){r.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(r){r.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(r){r.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(r){r.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(r){if(r.selection.isEmpty())r.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(r){r.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(r){r.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(r){var i=r.selection.getRange();i.start.column=0,r.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(r){var i=r.selection.getRange();i.end.column=Number.MAX_VALUE,r.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(r){r.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(r){r.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(r){r.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(r){r.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(r){r.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(r){r.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(r,i){r.insert(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(r,i){r.insert(A.stringRepeat(i.text||"",i.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(r){r.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(r){r.transposeLetters()},multiSelectAction:function(r){r.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(r){r.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(r){r.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(r){r.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(r){var i=r.selection.getRange();i.start.column=i.end.column=0,i.end.row++,r.selection.setRange(i,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(r){r.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(r){for(var i=r.selection.isBackwards(),n=i?r.selection.getSelectionLead():r.selection.getSelectionAnchor(),e=i?r.selection.getSelectionAnchor():r.selection.getSelectionLead(),t=r.session.doc.getLine(n.row).length,o=r.session.doc.getTextRange(r.selection.getRange()),a=o.replace(/\n\s*/," ").length,c=r.session.doc.getLine(n.row),g=n.row+1;g<=e.row+1;g++){var L=A.stringTrimLeft(A.stringTrimRight(r.session.doc.getLine(g)));L.length!==0&&(L=" "+L),c+=L}e.row+10?(r.selection.moveCursorTo(n.row,n.column),r.selection.selectTo(n.row,n.column+a)):(t=r.session.doc.getLine(n.row).length>t?t+1:t,r.selection.moveCursorTo(n.row,t))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(r){var i=r.session.doc.getLength()-1,n=r.session.doc.getLine(i).length,e=r.selection.rangeList.ranges,t=[];e.length<1&&(e=[r.selection.getRange()]);for(var o=0;ol[r].column&&r++,e.unshift(r,0),l.splice.apply(l,e),this.$updateRows()}}},S.prototype.$updateRows=function(){var s=this.session.lineWidgets;if(!!s){var l=!0;s.forEach(function(r,i){if(r)for(l=!1,r.row=i;r.$oldWidget;)r.$oldWidget.row=i,r=r.$oldWidget}),l&&(this.session.lineWidgets=null)}},S.prototype.$registerLineWidget=function(s){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var l=this.session.lineWidgets[s.row];return l&&(s.$oldWidget=l,l.el&&l.el.parentNode&&(l.el.parentNode.removeChild(l.el),l._inDocument=!1)),this.session.lineWidgets[s.row]=s,s},S.prototype.addLineWidget=function(s){if(this.$registerLineWidget(s),s.session=this.session,!this.editor)return s;var l=this.editor.renderer;s.html&&!s.el&&(s.el=A.createElement("div"),s.el.innerHTML=s.html),s.text&&!s.el&&(s.el=A.createElement("div"),s.el.textContent=s.text),s.el&&(A.addCssClass(s.el,"ace_lineWidgetContainer"),s.className&&A.addCssClass(s.el,s.className),s.el.style.position="absolute",s.el.style.zIndex="5",l.container.appendChild(s.el),s._inDocument=!0,s.coverGutter||(s.el.style.zIndex="3"),s.pixelHeight==null&&(s.pixelHeight=s.el.offsetHeight)),s.rowCount==null&&(s.rowCount=s.pixelHeight/l.layerConfig.lineHeight);var r=this.session.getFoldAt(s.row,0);if(s.$fold=r,r){var i=this.session.lineWidgets;s.row==r.end.row&&!i[r.start.row]?i[r.start.row]=s:s.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows(),this.renderWidgets(null,l),this.onWidgetChanged(s),s},S.prototype.removeLineWidget=function(s){if(s._inDocument=!1,s.session=null,s.el&&s.el.parentNode&&s.el.parentNode.removeChild(s.el),s.editor&&s.editor.destroy)try{s.editor.destroy()}catch(r){}if(this.session.lineWidgets){var l=this.session.lineWidgets[s.row];if(l==s)this.session.lineWidgets[s.row]=s.$oldWidget,s.$oldWidget&&this.onWidgetChanged(s.$oldWidget);else for(;l;){if(l.$oldWidget==s){l.$oldWidget=s.$oldWidget;break}l=l.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows()},S.prototype.getWidgetsAtRow=function(s){for(var l=this.session.lineWidgets,r=l&&l[s],i=[];r;)i.push(r),r=r.$oldWidget;return i},S.prototype.onWidgetChanged=function(s){this.session._changedWidgets.push(s),this.editor&&this.editor.renderer.updateFull()},S.prototype.measureWidgets=function(s,l){var r=this.session._changedWidgets,i=l.layerConfig;if(!(!r||!r.length)){for(var n=1/0,e=0;e0&&!i[n];)n--;this.firstRow=r.firstRow,this.lastRow=r.lastRow,l.$cursorLayer.config=r;for(var t=n;t<=e;t++){var o=i[t];if(!(!o||!o.el)){if(o.hidden){o.el.style.top=-100-(o.pixelHeight||0)+"px";continue}o._inDocument||(o._inDocument=!0,l.container.appendChild(o.el));var a=l.$cursorLayer.getPixelPosition({row:t,column:0},!0).top;o.coverLine||(a+=r.lineHeight*this.session.getRowLineCount(o.row)),o.el.style.top=a-r.offset+"px";var c=o.coverGutter?0:l.gutterWidth;o.fixedWidth||(c-=l.scrollLeft),o.el.style.left=c+"px",o.fullWidth&&o.screenWidth&&(o.el.style.minWidth=r.width+2*r.padding+"px"),o.fixedWidth?o.el.style.right=l.scrollBar.getWidth()+"px":o.el.style.right=""}}}},S}();T.LineWidgets=C}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(k,T,E){"use strict";var A=k("../lib/keys"),C=k("../mouse/default_gutter_handler").GutterTooltip,S=function(){function l(r){this.editor=r,this.gutterLayer=r.renderer.$gutterLayer,this.element=r.renderer.$gutter,this.lines=r.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new C(this.editor)}return l.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},l.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},l.prototype.$onGutterKeyDown=function(r){if(this.annotationTooltip.isOpen){r.preventDefault(),r.keyCode===A.escape&&this.annotationTooltip.hideTooltip();return}if(r.target===this.element){if(r.keyCode!=A.enter)return;r.preventDefault();var i=this.editor.getCursorPosition().row;this.editor.isRowVisible(i)||this.editor.scrollToLine(i,!0,!0),setTimeout(function(){var n=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),e=this.$findNearestFoldWidget(n),t=this.$findNearestAnnotation(n);if(!(e===null&&t===null)){if(e===null&&t!==null){this.activeRowIndex=t,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}if(e!==null&&t===null){this.activeRowIndex=e,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}if(Math.abs(t-n)0||r+i=0&&this.$isFoldWidgetVisible(r-i))return r-i;if(r+i<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(r+i))return r+i}return null},l.prototype.$findNearestAnnotation=function(r){if(this.$isAnnotationVisible(r))return r;for(var i=0;r-i>0||r+i=0&&this.$isAnnotationVisible(r-i))return r-i;if(r+i<=this.lines.getLength()-1&&this.$isAnnotationVisible(r+i))return r+i}return null},l.prototype.$focusFoldWidget=function(r){if(r!=null){var i=this.$getFoldWidget(r);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},l.prototype.$focusAnnotation=function(r){if(r!=null){var i=this.$getAnnotation(r);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},l.prototype.$blurFoldWidget=function(r){var i=this.$getFoldWidget(r);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},l.prototype.$blurAnnotation=function(r){var i=this.$getAnnotation(r);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},l.prototype.$moveFoldWidgetUp=function(){for(var r=this.activeRowIndex;r>0;)if(r--,this.$isFoldWidgetVisible(r)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=r,this.$focusFoldWidget(this.activeRowIndex);return}},l.prototype.$moveFoldWidgetDown=function(){for(var r=this.activeRowIndex;r0;)if(r--,this.$isAnnotationVisible(r)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=r,this.$focusAnnotation(this.activeRowIndex);return}},l.prototype.$moveAnnotationDown=function(){for(var r=this.activeRowIndex;r=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")},C=k("./lib/oop"),S=k("./lib/dom"),s=k("./lib/lang"),l=k("./lib/useragent"),r=k("./keyboard/textinput").TextInput,i=k("./mouse/mouse_handler").MouseHandler,n=k("./mouse/fold_handler").FoldHandler,e=k("./keyboard/keybinding").KeyBinding,t=k("./edit_session").EditSession,o=k("./search").Search,a=k("./range").Range,c=k("./lib/event_emitter").EventEmitter,g=k("./commands/command_manager").CommandManager,L=k("./commands/default_commands").commands,v=k("./config"),b=k("./token_iterator").TokenIterator,u=k("./line_widgets").LineWidgets,h=k("./keyboard/gutter_handler").GutterKeyboardHandler,f=k("./config").nls,m=k("./clipboard"),M=k("./lib/keys"),y=function(){function p(d,$,_){this.session,this.$toDestroy=[];var x=d.getContainerElement();this.container=x,this.renderer=d,this.id="editor"+ ++p.$uid,this.commands=new g(l.isMac?"mac":"win",L),typeof document=="object"&&(this.textInput=new r(d.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new i(this),new n(this)),this.keyBinding=new e(this),this.$search=new o().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(R,I){I._$emitInputEvent.schedule(31)}),this.setSession($||_&&_.session||new t("")),v.resetOptions(this),_&&this.setOptions(_),v._signal("editor",this)}return p.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},p.prototype.startOperation=function(d){if(this.curOp){if(!d||this.curOp.command)return;this.prevOp=this.curOp}d||(this.previousCommand=null,d={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:d.command||{},args:d.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},p.prototype.endOperation=function(d){if(this.curOp&&this.session){if(d&&d.returnValue===!1||!this.session)return this.curOp=null;if(d==!0&&this.curOp.command&&this.curOp.command.name=="mouse"||(this._signal("beforeEndOperation"),!this.curOp))return;var $=this.curOp.command,_=$&&$.scrollIntoView;if(_){switch(_){case"center-animate":_="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var x=this.selection.getRange(),R=this.renderer.layerConfig;(x.start.row>=R.lastRow||x.end.row<=R.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:break}_=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var I=this.selection.toJSON();this.curOp.selectionAfter=I,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(I),this.prevOp=this.curOp,this.curOp=null}},p.prototype.$historyTracker=function(d){if(!!this.$mergeUndoDeltas){var $=this.prevOp,_=this.$mergeableCommands,x=$.command&&d.command.name==$.command.name;if(d.command.name=="insertstring"){var R=d.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),x=x&&this.mergeNextCommand&&(!/\s/.test(R)||/\s/.test($.args)),this.mergeNextCommand=!0}else x=x&&_.indexOf(d.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(x=!1),x?this.session.mergeUndoDeltas=!0:_.indexOf(d.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},p.prototype.setKeyboardHandler=function(d,$){if(d&&typeof d=="string"&&d!="ace"){this.$keybindingId=d;var _=this;v.loadModule(["keybinding",d],function(x){_.$keybindingId==d&&_.keyBinding.setKeyboardHandler(x&&x.handler),$&&$()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(d),$&&$()},p.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},p.prototype.setSession=function(d){if(this.session!=d){this.curOp&&this.endOperation(),this.curOp={};var $=this.session;if($){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var _=this.session.getSelection();_.off("changeCursor",this.$onCursorChange),_.off("changeSelection",this.$onSelectionChange)}this.session=d,d?(this.$onDocumentChange=this.onDocumentChange.bind(this),d.on("change",this.$onDocumentChange),this.renderer.setSession(d),this.$onChangeMode=this.onChangeMode.bind(this),d.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),d.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),d.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),d.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),d.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),d.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=d.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(d)),this._signal("changeSession",{session:d,oldSession:$}),this.curOp=null,$&&$._signal("changeEditor",{oldEditor:this}),d&&d._signal("changeEditor",{editor:this}),d&&!d.destroyed&&d.bgTokenizer.scheduleStart()}},p.prototype.getSession=function(){return this.session},p.prototype.setValue=function(d,$){return this.session.doc.setValue(d),$?$==1?this.navigateFileEnd():$==-1&&this.navigateFileStart():this.selectAll(),d},p.prototype.getValue=function(){return this.session.getValue()},p.prototype.getSelection=function(){return this.selection},p.prototype.resize=function(d){this.renderer.onResize(d)},p.prototype.setTheme=function(d,$){this.renderer.setTheme(d,$)},p.prototype.getTheme=function(){return this.renderer.getTheme()},p.prototype.setStyle=function(d){this.renderer.setStyle(d)},p.prototype.unsetStyle=function(d){this.renderer.unsetStyle(d)},p.prototype.getFontSize=function(){return this.getOption("fontSize")||S.computedStyle(this.container).fontSize},p.prototype.setFontSize=function(d){this.setOption("fontSize",d)},p.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var d=this;this.$highlightPending=!0,setTimeout(function(){d.$highlightPending=!1;var $=d.session;if(!(!$||$.destroyed)){$.$bracketHighlight&&($.$bracketHighlight.markerIds.forEach(function(B){$.removeMarker(B)}),$.$bracketHighlight=null);var _=d.getCursorPosition(),x=d.getKeyboardHandler(),R=x&&x.$getDirectionForHighlight&&x.$getDirectionForHighlight(d),I=$.getMatchingBracketRanges(_,R);if(!I){var F=new b($,_.row,_.column),O=F.getCurrentToken();if(O&&/\b(?:tag-open|tag-name)/.test(O.type)){var N=$.getMatchingTags(_);N&&(I=[N.openTagName.isEmpty()?N.openTag:N.openTagName,N.closeTagName.isEmpty()?N.closeTag:N.closeTagName])}}if(!I&&$.$mode.getMatching&&(I=$.$mode.getMatching(d.session)),!I){d.getHighlightIndentGuides()&&d.renderer.$textLayer.$highlightIndentGuide();return}var H="ace_bracket";Array.isArray(I)?I.length==1&&(H="ace_error_bracket"):I=[I],I.length==2&&(a.comparePoints(I[0].end,I[1].start)==0?I=[a.fromPoints(I[0].start,I[1].end)]:a.comparePoints(I[0].start,I[1].end)==0&&(I=[a.fromPoints(I[1].start,I[0].end)])),$.$bracketHighlight={ranges:I,markerIds:I.map(function(B){return $.addMarker(B,H,"text")})},d.getHighlightIndentGuides()&&d.renderer.$textLayer.$highlightIndentGuide()}},50)}},p.prototype.focus=function(){this.textInput.focus()},p.prototype.isFocused=function(){return this.textInput.isFocused()},p.prototype.blur=function(){this.textInput.blur()},p.prototype.onFocus=function(d){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",d))},p.prototype.onBlur=function(d){!this.$isFocused||(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",d))},p.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},p.prototype.onDocumentChange=function(d){var $=this.session.$useWrapMode,_=d.start.row==d.end.row?d.end.row:1/0;this.renderer.updateLines(d.start.row,_,$),this._signal("change",d),this.$cursorChange()},p.prototype.onTokenizerUpdate=function(d){var $=d.data;this.renderer.updateLines($.first,$.last)},p.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},p.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},p.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},p.prototype.$updateHighlightActiveLine=function(){var d=this.getSession(),$;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&($=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&($=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&($=!1)),d.$highlightLineMarker&&!$)d.removeMarker(d.$highlightLineMarker.id),d.$highlightLineMarker=null;else if(!d.$highlightLineMarker&&$){var _=new a($.row,$.column,$.row,1/0);_.id=d.addMarker(_,"ace_active-line","screenLine"),d.$highlightLineMarker=_}else $&&(d.$highlightLineMarker.start.row=$.row,d.$highlightLineMarker.end.row=$.row,d.$highlightLineMarker.start.column=$.column,d._signal("changeBackMarker"))},p.prototype.onSelectionChange=function(d){var $=this.session;if($.$selectionMarker&&$.removeMarker($.$selectionMarker),$.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var _=this.selection.getRange(),x=this.getSelectionStyle();$.$selectionMarker=$.addMarker(_,"ace_selection",x)}var R=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(R),this._signal("changeSelection")},p.prototype.$getSelectionHighLightRegexp=function(){var d=this.session,$=this.getSelectionRange();if(!($.isEmpty()||$.isMultiLine())){var _=$.start.column,x=$.end.column,R=d.getLine($.start.row),I=R.substring(_,x);if(!(I.length>5e3||!/[\w\d]/.test(I))){var F=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:I}),O=R.substring(_-1,x+1);if(!!F.test(O))return F}}},p.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},p.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},p.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},p.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},p.prototype.onChangeMode=function(d){this.renderer.updateText(),this._emit("changeMode",d)},p.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},p.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},p.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},p.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},p.prototype.getCopyText=function(){var d=this.getSelectedText(),$=this.session.doc.getNewLineCharacter(),_=!1;if(!d&&this.$copyWithEmptySelection){_=!0;for(var x=this.selection.getAllRanges(),R=0;RB.search(/\S|$/)){var O=B.substr(R.column).search(/\S|$/);_.doc.removeInLine(R.row,R.column,R.column+O)}}this.clearSelection();var N=R.column,H=_.getState(R.row),B=_.getLine(R.row),P=x.checkOutdent(H,B,d);if(_.insert(R,d),I&&I.selection&&(I.selection.length==2?this.selection.setSelectionRange(new a(R.row,N+I.selection[0],R.row,N+I.selection[1])):this.selection.setSelectionRange(new a(R.row+I.selection[0],I.selection[1],R.row+I.selection[2],I.selection[3]))),this.$enableAutoIndent){if(_.getDocument().isNewLine(d)){var U=x.getNextLineIndent(H,B.slice(0,R.column),_.getTabString());_.insert({row:R.row+1,column:0},U)}P&&x.autoOutdent(H,_,R.row)}},p.prototype.autoIndent=function(){for(var d=this.session,$=d.getMode(),_=this.selection.isEmpty()?[new a(0,0,d.doc.getLength()-1,0)]:this.selection.getAllRanges(),x="",R="",I="",F=d.getTabString(),O=0;O<_.length;O++)for(var N=_[O].start.row,H=_[O].end.row,B=N;B<=H;B++){B>0&&(x=d.getState(B-1),R=d.getLine(B-1),I=$.getNextLineIndent(x,R,F));var P=d.getLine(B),U=$.$getIndent(P);if(I!==U){if(U.length>0){var K=new a(B,0,B,U.length);d.remove(K)}I.length>0&&d.insert({row:B,column:0},I)}$.autoOutdent(x,d,B)}},p.prototype.onTextInput=function(d,$){if(!$)return this.keyBinding.onTextInput(d);this.startOperation({command:{name:"insertstring"}});var _=this.applyComposition.bind(this,d,$);this.selection.rangeCount?this.forEachSelection(_):_(),this.endOperation()},p.prototype.applyComposition=function(d,$){if($.extendLeft||$.extendRight){var _=this.selection.getRange();_.start.column-=$.extendLeft,_.end.column+=$.extendRight,_.start.column<0&&(_.start.row--,_.start.column+=this.session.getLine(_.start.row).length+1),this.selection.setRange(_),!d&&!_.isEmpty()&&this.remove()}if((d||!this.selection.isEmpty())&&this.insert(d,!0),$.restoreStart||$.restoreEnd){var _=this.selection.getRange();_.start.column-=$.restoreStart,_.end.column-=$.restoreEnd,this.selection.setRange(_)}},p.prototype.onCommandKey=function(d,$,_){return this.keyBinding.onCommandKey(d,$,_)},p.prototype.setOverwrite=function(d){this.session.setOverwrite(d)},p.prototype.getOverwrite=function(){return this.session.getOverwrite()},p.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},p.prototype.setScrollSpeed=function(d){this.setOption("scrollSpeed",d)},p.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},p.prototype.setDragDelay=function(d){this.setOption("dragDelay",d)},p.prototype.getDragDelay=function(){return this.getOption("dragDelay")},p.prototype.setSelectionStyle=function(d){this.setOption("selectionStyle",d)},p.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},p.prototype.setHighlightActiveLine=function(d){this.setOption("highlightActiveLine",d)},p.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},p.prototype.setHighlightGutterLine=function(d){this.setOption("highlightGutterLine",d)},p.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},p.prototype.setHighlightSelectedWord=function(d){this.setOption("highlightSelectedWord",d)},p.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},p.prototype.setAnimatedScroll=function(d){this.renderer.setAnimatedScroll(d)},p.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},p.prototype.setShowInvisibles=function(d){this.renderer.setShowInvisibles(d)},p.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},p.prototype.setDisplayIndentGuides=function(d){this.renderer.setDisplayIndentGuides(d)},p.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},p.prototype.setHighlightIndentGuides=function(d){this.renderer.setHighlightIndentGuides(d)},p.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},p.prototype.setShowPrintMargin=function(d){this.renderer.setShowPrintMargin(d)},p.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},p.prototype.setPrintMarginColumn=function(d){this.renderer.setPrintMarginColumn(d)},p.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},p.prototype.setReadOnly=function(d){this.setOption("readOnly",d)},p.prototype.getReadOnly=function(){return this.getOption("readOnly")},p.prototype.setBehavioursEnabled=function(d){this.setOption("behavioursEnabled",d)},p.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},p.prototype.setWrapBehavioursEnabled=function(d){this.setOption("wrapBehavioursEnabled",d)},p.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},p.prototype.setShowFoldWidgets=function(d){this.setOption("showFoldWidgets",d)},p.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},p.prototype.setFadeFoldWidgets=function(d){this.setOption("fadeFoldWidgets",d)},p.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},p.prototype.remove=function(d){this.selection.isEmpty()&&(d=="left"?this.selection.selectLeft():this.selection.selectRight());var $=this.getSelectionRange();if(this.getBehavioursEnabled()){var _=this.session,x=_.getState($.start.row),R=_.getMode().transformAction(x,"deletion",this,_,$);if($.end.column===0){var I=_.getTextRange($);if(I[I.length-1]==` +`){var F=_.getLine($.end.row);/^\s+$/.test(F)&&($.end.column=F.length)}}R&&($=R)}this.session.remove($),this.clearSelection()},p.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},p.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var d=this.getSelectionRange();d.start.column==d.end.column&&d.start.row==d.end.row&&(d.end.column=0,d.end.row++),this.session.remove(d),this.clearSelection()},p.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var d=this.getCursorPosition();this.insert(` +`),this.moveCursorToPosition(d)},p.prototype.setGhostText=function(d,$){this.session.widgetManager||(this.session.widgetManager=new u(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(d,$)},p.prototype.removeGhostText=function(){!this.session.widgetManager||this.renderer.removeGhostText()},p.prototype.transposeLetters=function(){if(!!this.selection.isEmpty()){var d=this.getCursorPosition(),$=d.column;if($!==0){var _=this.session.getLine(d.row),x,R;$<_.length?(x=_.charAt($)+_.charAt($-1),R=new a(d.row,$-1,d.row,$+1)):(x=_.charAt($-1)+_.charAt($-2),R=new a(d.row,$-2,d.row,$)),this.session.replace(R,x),this.session.selection.moveToPosition(R.end)}}},p.prototype.toLowerCase=function(){var d=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var $=this.getSelectionRange(),_=this.session.getTextRange($);this.session.replace($,_.toLowerCase()),this.selection.setSelectionRange(d)},p.prototype.toUpperCase=function(){var d=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var $=this.getSelectionRange(),_=this.session.getTextRange($);this.session.replace($,_.toUpperCase()),this.selection.setSelectionRange(d)},p.prototype.indent=function(){var d=this.session,$=this.getSelectionRange();if($.start.row<$.end.row){var _=this.$getSelectedRows();d.indentRows(_.first,_.last," ");return}else if($.start.column<$.end.column){var x=d.getTextRange($);if(!/^\s+$/.test(x)){var _=this.$getSelectedRows();d.indentRows(_.first,_.last," ");return}}var R=d.getLine($.start.row),I=$.start,F=d.getTabSize(),O=d.documentToScreenColumn(I.row,I.column);if(this.session.getUseSoftTabs())var N=F-O%F,H=s.stringRepeat(" ",N);else{for(var N=O%F;R[$.start.column-1]==" "&&N;)$.start.column--,N--;this.selection.setSelectionRange($),H=" "}return this.insert(H)},p.prototype.blockIndent=function(){var d=this.$getSelectedRows();this.session.indentRows(d.first,d.last," ")},p.prototype.blockOutdent=function(){var d=this.session.getSelection();this.session.outdentRows(d.getRange())},p.prototype.sortLines=function(){for(var d=this.$getSelectedRows(),$=this.session,_=[],x=d.first;x<=d.last;x++)_.push($.getLine(x));_.sort(function(F,O){return F.toLowerCase()O.toLowerCase()?1:0});for(var R=new a(0,0,0,0),x=d.first;x<=d.last;x++){var I=$.getLine(x);R.start.row=x,R.end.row=x,R.end.column=I.length,$.replace(R,_[x-d.first])}},p.prototype.toggleCommentLines=function(){var d=this.session.getState(this.getCursorPosition().row),$=this.$getSelectedRows();this.session.getMode().toggleCommentLines(d,this.session,$.first,$.last)},p.prototype.toggleBlockComment=function(){var d=this.getCursorPosition(),$=this.session.getState(d.row),_=this.getSelectionRange();this.session.getMode().toggleBlockComment($,this.session,_,d)},p.prototype.getNumberAt=function(d,$){var _=/[\-]?[0-9]+(?:\.[0-9]+)?/g;_.lastIndex=0;for(var x=this.session.getLine(d);_.lastIndex<$;){var R=_.exec(x);if(R.index<=$&&R.index+R[0].length>=$){var I={value:R[0],start:R.index,end:R.index+R[0].length};return I}}return null},p.prototype.modifyNumber=function(d){var $=this.selection.getCursor().row,_=this.selection.getCursor().column,x=new a($,_-1,$,_),R=this.session.getTextRange(x);if(!isNaN(parseFloat(R))&&isFinite(R)){var I=this.getNumberAt($,_);if(I){var F=I.value.indexOf(".")>=0?I.start+I.value.indexOf(".")+1:I.end,O=I.start+I.value.length-F,N=parseFloat(I.value);N*=Math.pow(10,O),F!==I.end&&_=F&&I<=O&&(_=ee,N.selection.clearSelection(),N.moveCursorTo(d,F+x),N.selection.selectTo(d,O+x)),F=O});for(var H=this.$toggleWordPairs,B,P=0;P=O&&F<=N&&U.match(/((?:https?|ftp):\/\/[\S]+)/)){H=U.replace(/[\s:.,'";}\]]+$/,"");break}O=N}}catch(K){_={error:K}}finally{try{P&&!P.done&&(x=B.return)&&x.call(B)}finally{if(_)throw _.error}}return H},p.prototype.openLink=function(){var d=this.selection.getCursor(),$=this.findLinkAt(d.row,d.column);return $&&window.open($,"_blank"),$!=null},p.prototype.removeLines=function(){var d=this.$getSelectedRows();this.session.removeFullLines(d.first,d.last),this.clearSelection()},p.prototype.duplicateSelection=function(){var d=this.selection,$=this.session,_=d.getRange(),x=d.isBackwards();if(_.isEmpty()){var R=_.start.row;$.duplicateLines(R,R)}else{var I=x?_.start:_.end,F=$.insert(I,$.getTextRange(_));_.start=I,_.end=F,d.setSelectionRange(_,x)}},p.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},p.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},p.prototype.moveText=function(d,$,_){return this.session.moveText(d,$,_)},p.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},p.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},p.prototype.$moveLines=function(d,$){var _,x,R=this.selection;if(!R.inMultiSelectMode||this.inVirtualSelectionMode){var I=R.toOrientedRange();_=this.$getSelectedRows(I),x=this.session.$moveLines(_.first,_.last,$?0:d),$&&d==-1&&(x=0),I.moveBy(x,0),R.fromOrientedRange(I)}else{var F=R.rangeList.ranges;R.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var O=0,N=0,H=F.length,B=0;BK+1)break;K=Q.last}for(B--,O=this.session.$moveLines(U,K,$?0:d),$&&d==-1&&(P=B+1);P<=B;)F[P].moveBy(O,0),P++;$||(O=0),N+=O}R.fromOrientedRange(R.ranges[0]),R.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},p.prototype.$getSelectedRows=function(d){return d=(d||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(d.start.row),last:this.session.getRowFoldEnd(d.end.row)}},p.prototype.onCompositionStart=function(d){this.renderer.showComposition(d)},p.prototype.onCompositionUpdate=function(d){this.renderer.setCompositionText(d)},p.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},p.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},p.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},p.prototype.isRowVisible=function(d){return d>=this.getFirstVisibleRow()&&d<=this.getLastVisibleRow()},p.prototype.isRowFullyVisible=function(d){return d>=this.renderer.getFirstFullyVisibleRow()&&d<=this.renderer.getLastFullyVisibleRow()},p.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},p.prototype.$moveByPage=function(d,$){var _=this.renderer,x=this.renderer.layerConfig,R=d*Math.floor(x.height/x.lineHeight);$===!0?this.selection.$moveSelection(function(){this.moveCursorBy(R,0)}):$===!1&&(this.selection.moveCursorBy(R,0),this.selection.clearSelection());var I=_.scrollTop;_.scrollBy(0,R*x.lineHeight),$!=null&&_.scrollCursorIntoView(null,.5),_.animateScrolling(I)},p.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},p.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},p.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},p.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},p.prototype.scrollPageDown=function(){this.$moveByPage(1)},p.prototype.scrollPageUp=function(){this.$moveByPage(-1)},p.prototype.scrollToRow=function(d){this.renderer.scrollToRow(d)},p.prototype.scrollToLine=function(d,$,_,x){this.renderer.scrollToLine(d,$,_,x)},p.prototype.centerSelection=function(){var d=this.getSelectionRange(),$={row:Math.floor(d.start.row+(d.end.row-d.start.row)/2),column:Math.floor(d.start.column+(d.end.column-d.start.column)/2)};this.renderer.alignCursor($,.5)},p.prototype.getCursorPosition=function(){return this.selection.getCursor()},p.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},p.prototype.getSelectionRange=function(){return this.selection.getRange()},p.prototype.selectAll=function(){this.selection.selectAll()},p.prototype.clearSelection=function(){this.selection.clearSelection()},p.prototype.moveCursorTo=function(d,$){this.selection.moveCursorTo(d,$)},p.prototype.moveCursorToPosition=function(d){this.selection.moveCursorToPosition(d)},p.prototype.jumpToMatching=function(d,$){var _=this.getCursorPosition(),x=new b(this.session,_.row,_.column),R=x.getCurrentToken(),I=0;R&&R.type.indexOf("tag-name")!==-1&&(R=x.stepBackward());var F=R||x.stepForward();if(!!F){var O,N=!1,H={},B=_.column-F.start,P,U={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(F.value.match(/[{}()\[\]]/g)){for(;B1?H[F.value]++:R.value==="=0;--I)this.$tryReplace(_[I],d)&&x++;return this.selection.setSelectionRange(R),x},p.prototype.$tryReplace=function(d,$){var _=this.session.getTextRange(d);return $=this.$search.replace(_,$),$!==null?(d.end=this.session.replace(d,$),d):null},p.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},p.prototype.find=function(d,$,_){$||($={}),typeof d=="string"||d instanceof RegExp?$.needle=d:typeof d=="object"&&C.mixin($,d);var x=this.selection.getRange();$.needle==null&&(d=this.session.getTextRange(x)||this.$search.$options.needle,d||(x=this.session.getWordRange(x.start.row,x.start.column),d=this.session.getTextRange(x)),this.$search.set({needle:d})),this.$search.set($),$.start||this.$search.set({start:x});var R=this.$search.find(this.session);if($.preventScroll)return R;if(R)return this.revealRange(R,_),R;$.backwards?x.start=x.end:x.end=x.start,this.selection.setRange(x)},p.prototype.findNext=function(d,$){this.find({skipCurrent:!0,backwards:!1},d,$)},p.prototype.findPrevious=function(d,$){this.find(d,{skipCurrent:!0,backwards:!0},$)},p.prototype.revealRange=function(d,$){this.session.unfold(d),this.selection.setSelectionRange(d);var _=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(d.start,d.end,.5),$!==!1&&this.renderer.animateScrolling(_)},p.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},p.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(d){d.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},p.prototype.setAutoScrollEditorIntoView=function(d){if(!!d){var $,_=this,x=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var R=this.$scrollAnchor;R.style.cssText="position:absolute",this.container.insertBefore(R,this.container.firstChild);var I=this.on("changeSelection",function(){x=!0}),F=this.renderer.on("beforeRender",function(){x&&($=_.renderer.container.getBoundingClientRect())}),O=this.renderer.on("afterRender",function(){if(x&&$&&(_.isFocused()||_.searchBox&&_.searchBox.isFocused())){var N=_.renderer,H=N.$cursorLayer.$pixelPos,B=N.layerConfig,P=H.top-B.offset;H.top>=0&&P+$.top<0?x=!0:H.topwindow.innerHeight?x=!1:x=null,x!=null&&(R.style.top=P+"px",R.style.left=H.left+"px",R.style.height=B.lineHeight+"px",R.scrollIntoView(x)),x=$=null}});this.setAutoScrollEditorIntoView=function(N){N||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",I),this.renderer.off("afterRender",O),this.renderer.off("beforeRender",F))}}},p.prototype.$resetCursorStyle=function(){var d=this.$cursorStyle||"ace",$=this.renderer.$cursorLayer;!$||($.setSmoothBlinking(/smooth/.test(d)),$.isBlinking=!this.$readOnly&&d!="wide",S.setCssClass($.element,"ace_slim-cursors",/slim/.test(d)))},p.prototype.prompt=function(d,$,_){var x=this;v.loadModule("ace/ext/prompt",function(R){R.prompt(x,d,$,_)})},p}();y.$uid=0,y.prototype.curOp=null,y.prototype.prevOp={},y.prototype.$mergeableCommands=["backspace","del","insertstring"],y.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],C.implement(y.prototype,c),v.defineOptions(y.prototype,"editor",{selectionStyle:{set:function(p){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:p})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(p){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(p){this.textInput.setReadOnly(p),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(p){this.textInput.setCopyWithEmptySelection(p)},initialValue:!1},cursorStyle:{set:function(p){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(p){this.setAutoScrollEditorIntoView(p)}},keyboardHandler:{set:function(p){this.setKeyboardHandler(p)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(p){this.session.setValue(p)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(p){this.setSession(p)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(p){this.renderer.$gutterLayer.setShowLineNumbers(p),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),p&&this.$relativeLineNumbers?w.attach(this):w.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(p){this.$showLineNumbers&&p?w.attach(this):w.detach(this)}},placeholder:{set:function(p){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var d=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(d&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),S.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!d&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),S.addCssClass(this.container,"ace_hasPlaceholder");var $=S.createElement("div");$.className="ace_placeholder",$.textContent=this.$placeholder||"",this.renderer.placeholderNode=$,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!d&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(p){var d={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(x){x.blur(),x.renderer.scroller.focus()},readOnly:!0},$=function(x){if(x.target==this.renderer.scroller&&x.keyCode===M.enter){x.preventDefault();var R=this.getCursorPosition().row;this.isRowVisible(R)||this.scrollToLine(R,!0,!0),this.focus()}},_;p?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(l.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",f("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",f("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",$.bind(this)),this.commands.addCommand(d),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",f("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",f("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),_||(_=new h(this)),_.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",$.bind(this)),this.commands.removeCommand(d),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),_&&_.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(p){this.$textInputAriaLabel=p},initialValue:""},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var w={getText:function(p,d){return(Math.abs(p.selection.lead.row-d)||d+1+(d<9?"\xB7":""))+""},getWidth:function(p,d,$){return Math.max(d.toString().length,($.lastRow+1).toString().length,2)*$.characterWidth},update:function(p,d){d.renderer.$loop.schedule(d.renderer.CHANGE_GUTTER)},attach:function(p){p.renderer.$gutterLayer.$renderer=this,p.on("changeSelection",this.update),this.update(null,p)},detach:function(p){p.renderer.$gutterLayer.$renderer==this&&(p.renderer.$gutterLayer.$renderer=null),p.off("changeSelection",this.update),this.update(null,p)}};T.Editor=y}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(k,T,E){"use strict";var A=k("../lib/dom"),C=function(){function S(s,l){this.element=s,this.canvasHeight=l||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return S.prototype.moveContainer=function(s){A.translate(this.element,0,-(s.firstRowScreen*s.lineHeight%this.canvasHeight)-s.offset*this.$offsetCoefficient)},S.prototype.pageChanged=function(s,l){return Math.floor(s.firstRowScreen*s.lineHeight/this.canvasHeight)!==Math.floor(l.firstRowScreen*l.lineHeight/this.canvasHeight)},S.prototype.computeLineTop=function(s,l,r){var i=l.firstRowScreen*l.lineHeight,n=Math.floor(i/this.canvasHeight),e=r.documentToScreenRow(s,0)*l.lineHeight;return e-n*this.canvasHeight},S.prototype.computeLineHeight=function(s,l,r){return l.lineHeight*r.getRowLineCount(s)},S.prototype.getLength=function(){return this.cells.length},S.prototype.get=function(s){return this.cells[s]},S.prototype.shift=function(){this.$cacheCell(this.cells.shift())},S.prototype.pop=function(){this.$cacheCell(this.cells.pop())},S.prototype.push=function(s){if(Array.isArray(s)){this.cells.push.apply(this.cells,s);for(var l=A.createFragment(this.element),r=0;rL&&(u=g.end.row+1,g=o.getNextFoldLine(u,g),L=g?g.start.row:1/0),u>c){for(;this.$lines.getLength()>b+1;)this.$lines.pop();break}v=this.$lines.get(++b),v?v.row=u:(v=this.$lines.createCell(u,t,this.session,n),this.$lines.push(v)),this.$renderCell(v,t,g,u),u++}this._signal("afterRender"),this.$updateGutterWidth(t)},e.prototype.$updateGutterWidth=function(t){var o=this.session,a=o.gutterRenderer||this.$renderer,c=o.$firstLineNumber,g=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||o.$useWrapMode)&&(g=o.getLength()+c-1);var L=a?a.getWidth(o,g,t):g.toString().length*t.characterWidth,v=this.$padding||this.$computePadding();L+=v.left+v.right,L!==this.gutterWidth&&!isNaN(L)&&(this.gutterWidth=L,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",L))},e.prototype.$updateCursorRow=function(){if(!!this.$highlightGutterLine){var t=this.session.selection.getCursor();this.$cursorRow!==t.row&&(this.$cursorRow=t.row)}},e.prototype.updateLineHighlight=function(){if(!!this.$highlightGutterLine){var t=this.session.selection.cursor.row;if(this.$cursorRow=t,!(this.$cursorCell&&this.$cursorCell.row==t)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var o=this.$lines.cells;this.$cursorCell=null;for(var a=0;a=this.$cursorRow){if(c.row>this.$cursorRow){var g=this.session.getFoldLine(this.$cursorRow);if(a>0&&g&&g.start.row==o[a-1].row)c=o[a-1];else break}c.element.className="ace_gutter-active-line "+c.element.className,this.$cursorCell=c;break}}}}},e.prototype.scrollLines=function(t){var o=this.config;if(this.config=t,this.$updateCursorRow(),this.$lines.pageChanged(o,t))return this.update(t);this.$lines.moveContainer(t);var a=Math.min(t.lastRow+t.gutterOffset,this.session.getLength()-1),c=this.oldLastRow;if(this.oldLastRow=a,!o||c0;g--)this.$lines.shift();if(c>a)for(var g=this.session.getFoldedRowCount(a+1,c);g>0;g--)this.$lines.pop();t.firstRowc&&this.$lines.push(this.$renderLines(t,c+1,a)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(t)},e.prototype.$renderLines=function(t,o,a){for(var c=[],g=o,L=this.session.getNextFoldLine(g),v=L?L.start.row:1/0;g>v&&(g=L.end.row+1,L=this.session.getNextFoldLine(g,L),v=L?L.start.row:1/0),!(g>a);){var b=this.$lines.createCell(g,t,this.session,n);this.$renderCell(b,t,L,g),c.push(b),g++}return c},e.prototype.$renderCell=function(t,o,a,c){var g=t.element,L=this.session,v=g.childNodes[0],b=g.childNodes[1],u=g.childNodes[2],h=u.firstChild,f=L.$firstLineNumber,m=L.$breakpoints,M=L.$decorations,y=L.gutterRenderer||this.$renderer,w=this.$showFoldWidgets&&L.foldWidgets,p=a?a.start.row:Number.MAX_VALUE,d=o.lineHeight+"px",$=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",_=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",x=(y?y.getText(L,c):c+f).toString();if(this.$highlightGutterLine&&(c==this.$cursorRow||a&&c=p&&this.$cursorRow<=a.end.row)&&($+="ace_gutter-active-line ",this.$cursorCell!=t&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=t)),m[c]&&($+=m[c]),M[c]&&($+=M[c]),this.$annotations[c]&&c!==p&&($+=this.$annotations[c].className),w){var R=w[c];R==null&&(R=w[c]=L.getFoldWidget(c))}if(R){var I="ace_fold-widget ace_"+R,F=R=="start"&&c==p&&ca.right-o.right)return"foldWidgets"},e}();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,C.implement(i.prototype,s);function n(e){var t=document.createTextNode("");e.appendChild(t);var o=A.createElement("span");e.appendChild(o);var a=A.createElement("span");e.appendChild(a);var c=A.createElement("span");return a.appendChild(c),e}T.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(k,T,E){"use strict";var A=k("../range").Range,C=k("../lib/dom"),S=function(){function l(r){this.element=C.createElement("div"),this.element.className="ace_layer ace_marker-layer",r.appendChild(this.element)}return l.prototype.setPadding=function(r){this.$padding=r},l.prototype.setSession=function(r){this.session=r},l.prototype.setMarkers=function(r){this.markers=r},l.prototype.elt=function(r,i){var n=this.i!=-1&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=i,n.className=r},l.prototype.update=function(r){if(!!r){this.config=r,this.i=0;var i;for(var n in this.markers){var e=this.markers[n];if(!e.range){e.update(i,this,this.session,r);continue}var t=e.range.clipRows(r.firstRow,r.lastRow);if(!t.isEmpty())if(t=t.toScreenRange(this.session),e.renderer){var o=this.$getTop(t.start.row,r),a=this.$padding+t.start.column*r.characterWidth;e.renderer(i,t,a,o,r)}else e.type=="fullLine"?this.drawFullLineMarker(i,t,e.clazz,r):e.type=="screenLine"?this.drawScreenLineMarker(i,t,e.clazz,r):t.isMultiLine()?e.type=="text"?this.drawTextMarker(i,t,e.clazz,r):this.drawMultiLineMarker(i,t,e.clazz,r):this.drawSingleLineMarker(i,t,e.clazz+" ace_start ace_br15",r)}if(this.i!=-1)for(;this.ib,g==c),e,g==c?0:1,t)},l.prototype.drawMultiLineMarker=function(r,i,n,e,t){var o=this.$padding,a=e.lineHeight,c=this.$getTop(i.start.row,e),g=o+i.start.column*e.characterWidth;if(t=t||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var L=i.clone();L.end.row=L.start.row,L.end.column=this.session.getLine(L.start.row).length,this.drawBidiSingleLineMarker(r,L,n+" ace_br1 ace_start",e,null,t)}else this.elt(n+" ace_br1 ace_start","height:"+a+"px;right:0;top:"+c+"px;left:"+g+"px;"+(t||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var L=i.clone();L.start.row=L.end.row,L.start.column=0,this.drawBidiSingleLineMarker(r,L,n+" ace_br12",e,null,t)}else{c=this.$getTop(i.end.row,e);var v=i.end.column*e.characterWidth;this.elt(n+" ace_br12","height:"+a+"px;width:"+v+"px;top:"+c+"px;left:"+o+"px;"+(t||""))}if(a=(i.end.row-i.start.row-1)*e.lineHeight,!(a<=0)){c=this.$getTop(i.start.row+1,e);var b=(i.start.column?1:0)|(i.end.column?0:8);this.elt(n+(b?" ace_br"+b:""),"height:"+a+"px;right:0;top:"+c+"px;left:"+o+"px;"+(t||""))}},l.prototype.drawSingleLineMarker=function(r,i,n,e,t,o){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(r,i,n,e,t,o);var a=e.lineHeight,c=(i.end.column+(t||0)-i.start.column)*e.characterWidth,g=this.$getTop(i.start.row,e),L=this.$padding+i.start.column*e.characterWidth;this.elt(n,"height:"+a+"px;width:"+c+"px;top:"+g+"px;left:"+L+"px;"+(o||""))},l.prototype.drawBidiSingleLineMarker=function(r,i,n,e,t,o){var a=e.lineHeight,c=this.$getTop(i.start.row,e),g=this.$padding,L=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);L.forEach(function(v){this.elt(n,"height:"+a+"px;width:"+(v.width+(t||0))+"px;top:"+c+"px;left:"+(g+v.left)+"px;"+(o||""))},this)},l.prototype.drawFullLineMarker=function(r,i,n,e,t){var o=this.$getTop(i.start.row,e),a=e.lineHeight;i.start.row!=i.end.row&&(a+=this.$getTop(i.end.row,e)-o),this.elt(n,"height:"+a+"px;top:"+o+"px;left:0;right:0;"+(t||""))},l.prototype.drawScreenLineMarker=function(r,i,n,e,t){var o=this.$getTop(i.start.row,e),a=e.lineHeight;this.elt(n,"height:"+a+"px;top:"+o+"px;left:0;right:0;"+(t||""))},l}();S.prototype.$padding=0;function s(l,r,i,n){return(l?1:0)|(r?2:0)|(i?4:0)|(n?8:0)}T.Marker=S}),ace.define("ace/layer/text_util",["require","exports","module"],function(k,T,E){var A=new Set(["text","rparen","lparen"]);T.isTextToken=function(C){return A.has(C)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(k,T,E){"use strict";var A=k("../lib/oop"),C=k("../lib/dom"),S=k("../lib/lang"),s=k("./lines").Lines,l=k("../lib/event_emitter").EventEmitter,r=k("../config").nls,i=k("./text_util").isTextToken,n=function(){function e(t){this.dom=C,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",t.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return e.prototype.$updateEolChar=function(){var t=this.session.doc,o=t.getNewLineCharacter()==` +`&&t.getNewLineMode()!="windows",a=o?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=a)return this.EOL_CHAR=a,!0},e.prototype.setPadding=function(t){this.$padding=t,this.element.style.margin="0 "+t+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(t){this.$fontMetrics=t,this.$fontMetrics.on("changeCharacterSize",function(o){this._signal("changeCharacterSize",o)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(t){this.session=t,t&&this.$computeTabString()},e.prototype.setShowInvisibles=function(t){return this.showInvisibles==t?!1:(this.showInvisibles=t,typeof t=="string"?(this.showSpaces=/tab/i.test(t),this.showTabs=/space/i.test(t),this.showEOL=/eol/i.test(t)):this.showSpaces=this.showTabs=this.showEOL=t,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(t){return this.displayIndentGuides==t?!1:(this.displayIndentGuides=t,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(t){return this.$highlightIndentGuides===t?!1:(this.$highlightIndentGuides=t,t)},e.prototype.$computeTabString=function(){var t=this.session.getTabSize();this.tabSize=t;for(var o=this.$tabStrings=[0],a=1;af&&(u=h.end.row+1,h=this.session.getNextFoldLine(u,h),f=h?h.start.row:1/0),!(u>g);){var m=L[v++];if(m){this.dom.removeChildren(m),this.$renderLine(m,u,u==f?h:!1),b&&(m.style.top=this.$lines.computeLineTop(u,t,this.session)+"px");var M=t.lineHeight*this.session.getRowLength(u)+"px";m.style.height!=M&&(b=!0,m.style.height=M)}u++}if(b)for(;v0;g--)this.$lines.shift();if(o.lastRow>t.lastRow)for(var g=this.session.getFoldedRowCount(t.lastRow+1,o.lastRow);g>0;g--)this.$lines.pop();t.firstRowo.lastRow&&this.$lines.push(this.$renderLinesFragment(t,o.lastRow+1,t.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(t,o,a){for(var c=[],g=o,L=this.session.getNextFoldLine(g),v=L?L.start.row:1/0;g>v&&(g=L.end.row+1,L=this.session.getNextFoldLine(g,L),v=L?L.start.row:1/0),!(g>a);){var b=this.$lines.createCell(g,t,this.session),u=b.element;this.dom.removeChildren(u),C.setStyle(u.style,"height",this.$lines.computeLineHeight(g,t,this.session)+"px"),C.setStyle(u.style,"top",this.$lines.computeLineTop(g,t,this.session)+"px"),this.$renderLine(u,g,g==v?L:!1),this.$useLineGroups()?u.className="ace_line_group":u.className="ace_line",c.push(b),g++}return c},e.prototype.update=function(t){this.$lines.moveContainer(t),this.config=t;for(var o=t.firstRow,a=t.lastRow,c=this.$lines;c.getLength();)c.pop();c.push(this.$renderLinesFragment(t,o,a))},e.prototype.$renderToken=function(t,o,a,c){for(var g=this,L=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,v=this.dom.createFragment(this.element),b,u=0;b=L.exec(c);){var h=b[1],f=b[2],m=b[3],M=b[4],y=b[5];if(!(!g.showSpaces&&f)){var w=u!=b.index?c.slice(u,b.index):"";if(u=b.index+b[0].length,w&&v.appendChild(this.dom.createTextNode(w,this.element)),h){var p=g.session.getScreenTabSize(o+b.index);v.appendChild(g.$tabStrings[p].cloneNode(!0)),o+=p-1}else if(f)if(g.showSpaces){var d=this.dom.createElement("span");d.className="ace_invisible ace_invisible_space",d.textContent=S.stringRepeat(g.SPACE_CHAR,f.length),v.appendChild(d)}else v.appendChild(this.dom.createTextNode(f,this.element));else if(m){var d=this.dom.createElement("span");d.className="ace_invisible ace_invisible_space ace_invalid",d.textContent=S.stringRepeat(g.SPACE_CHAR,m.length),v.appendChild(d)}else if(M){o+=1;var d=this.dom.createElement("span");d.style.width=g.config.characterWidth*2+"px",d.className=g.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",d.textContent=g.showSpaces?g.SPACE_CHAR:M,v.appendChild(d)}else if(y){o+=1;var d=this.dom.createElement("span");d.style.width=g.config.characterWidth*2+"px",d.className="ace_cjk",d.textContent=y,v.appendChild(d)}}}if(v.appendChild(this.dom.createTextNode(u?c.slice(u):c,this.element)),i(a.type))t.appendChild(v);else{var $="ace_"+a.type.replace(/\./g," ace_"),d=this.dom.createElement("span");a.type=="fold"&&(d.style.width=a.value.length*this.config.characterWidth+"px",d.setAttribute("title",r("inline-fold.closed.title","Unfold code"))),d.className=$,d.appendChild(v),t.appendChild(d)}return o+c.length},e.prototype.renderIndentGuide=function(t,o,a){var c=o.search(this.$indentGuideRe);if(c<=0||c>=a)return o;if(o[0]==" "){c-=c%this.tabSize;for(var g=c/this.tabSize,L=0;LL[v].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&t[o.row]!==""&&o.column===t[o.row].length){this.$highlightIndentGuideMarker.dir=1;for(var v=o.row+1;v0){for(var g=0;g=this.$highlightIndentGuideMarker.start+1){if(c.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(c,o)}}else for(var a=t.length-1;a>=0;a--){var c=t[a];if(this.$highlightIndentGuideMarker.end&&c.row=L;)v=this.$renderToken(b,v,h,f.substring(0,L-c)),f=f.substring(L-c),c=L,b=this.$createLineElement(),t.appendChild(b),b.appendChild(this.dom.createTextNode(S.stringRepeat("\xA0",a.indent),this.element)),g++,v=0,L=a[g]||Number.MAX_VALUE;f.length!=0&&(c+=f.length,v=this.$renderToken(b,v,h,f))}}a[a.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(b,v,null,"",!0)},e.prototype.$renderSimpleLine=function(t,o){for(var a=0,c=0;cthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(t,a,g,L);a=this.$renderToken(t,a,g,L)}}},e.prototype.$renderOverflowMessage=function(t,o,a,c,g){a&&this.$renderToken(t,o,a,c.slice(0,this.MAX_LINE_LENGTH-o));var L=this.dom.createElement("span");L.className="ace_inline_button ace_keyword ace_toggle_wrap",L.textContent=g?"":"",t.appendChild(L)},e.prototype.$renderLine=function(t,o,a){if(!a&&a!=!1&&(a=this.session.getFoldLine(o)),a)var c=this.$getFoldLineTokens(o,a);else var c=this.session.getTokens(o);var g=t;if(c.length){var L=this.session.getRowSplitData(o);if(L&&L.length){this.$renderWrappedLine(t,c,L);var g=t.lastChild}else{var g=t;this.$useLineGroups()&&(g=this.$createLineElement(),t.appendChild(g)),this.$renderSimpleLine(g,c)}}else this.$useLineGroups()&&(g=this.$createLineElement(),t.appendChild(g));if(this.showEOL&&g){a&&(o=a.end.row);var v=this.dom.createElement("span");v.className="ace_invisible ace_invisible_eol",v.textContent=o==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,g.appendChild(v)}},e.prototype.$getFoldLineTokens=function(t,o){var a=this.session,c=[];function g(v,b,u){for(var h=0,f=0;f+v[h].value.lengthu-b&&(m=m.substring(0,u-b)),c.push({type:v[h].type,value:m}),f=b+m.length,h+=1}for(;fu?c.push({type:v[h].type,value:m.substring(0,u-f)}):c.push(v[h]),f+=m.length,h+=1}}var L=a.getTokens(t);return o.walk(function(v,b,u,h,f){v!=null?c.push({type:"fold",value:v}):(f&&(L=a.getTokens(b)),L.length&&g(L,h,u))},o.end.row,this.session.getLine(o.end.row).length),c},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();n.prototype.EOF_CHAR="\xB6",n.prototype.EOL_CHAR_LF="\xAC",n.prototype.EOL_CHAR_CRLF="\xA4",n.prototype.EOL_CHAR=n.prototype.EOL_CHAR_LF,n.prototype.TAB_CHAR="\u2014",n.prototype.SPACE_CHAR="\xB7",n.prototype.$padding=0,n.prototype.MAX_LINE_LENGTH=1e4,n.prototype.showInvisibles=!1,n.prototype.showSpaces=!1,n.prototype.showTabs=!1,n.prototype.showEOL=!1,n.prototype.displayIndentGuides=!0,n.prototype.$highlightIndentGuides=!0,n.prototype.$tabStrings=[],n.prototype.destroy={},n.prototype.onChangeTabSize=n.prototype.$computeTabString,A.implement(n.prototype,l),T.Text=n}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(k,T,E){"use strict";var A=k("../lib/dom"),C=function(){function S(s){this.element=A.createElement("div"),this.element.className="ace_layer ace_cursor-layer",s.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),A.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return S.prototype.$updateOpacity=function(s){for(var l=this.cursors,r=l.length;r--;)A.setStyle(l[r].style,"opacity",s?"":"0")},S.prototype.$startCssAnimation=function(){for(var s=this.cursors,l=s.length;l--;)s[l].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&A.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},S.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,A.removeCssClass(this.element,"ace_animate-blinking")},S.prototype.setPadding=function(s){this.$padding=s},S.prototype.setSession=function(s){this.session=s},S.prototype.setBlinking=function(s){s!=this.isBlinking&&(this.isBlinking=s,this.restartTimer())},S.prototype.setBlinkInterval=function(s){s!=this.blinkInterval&&(this.blinkInterval=s,this.restartTimer())},S.prototype.setSmoothBlinking=function(s){s!=this.smoothBlinking&&(this.smoothBlinking=s,A.setCssClass(this.element,"ace_smooth-blinking",s),this.$updateCursors(!0),this.restartTimer())},S.prototype.addCursor=function(){var s=A.createElement("div");return s.className="ace_cursor",this.element.appendChild(s),this.cursors.push(s),s},S.prototype.removeCursor=function(){if(this.cursors.length>1){var s=this.cursors.pop();return s.parentNode.removeChild(s),s}},S.prototype.hideCursor=function(){this.isVisible=!1,A.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.showCursor=function(){this.isVisible=!0,A.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},S.prototype.restartTimer=function(){var s=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,A.removeCssClass(this.element,"ace_smooth-blinking")),s(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&A.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),A.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var l=function(){this.timeoutId=setTimeout(function(){s(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){s(!0),l()},this.blinkInterval),l()}},S.prototype.getPixelPosition=function(s,l){if(!this.config||!this.session)return{left:0,top:0};s||(s=this.session.selection.getCursor());var r=this.session.documentToScreenPosition(s),i=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,s.row)?this.session.$bidiHandler.getPosLeft(r.column):r.column*this.config.characterWidth),n=(r.row-(l?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:n}},S.prototype.isCursorInView=function(s,l){return s.top>=0&&s.tops.height+s.offset||e.top<0)&&r>1)){var t=this.cursors[i++]||this.addCursor(),o=t.style;this.drawCursor?this.drawCursor(t,e,s,l[r],this.session):this.isCursorInView(e,s)?(A.setStyle(o,"display","block"),A.translate(t,e.left,e.top),A.setStyle(o,"width",Math.round(s.characterWidth)+"px"),A.setStyle(o,"height",s.lineHeight+"px")):A.setStyle(o,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=e,this.restartTimer()},S.prototype.$setOverwrite=function(s){s!=this.overwrite&&(this.overwrite=s,s?A.addCssClass(this.element,"ace_overwrite-cursors"):A.removeCssClass(this.element,"ace_overwrite-cursors"))},S.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},S}();C.prototype.$padding=0,C.prototype.drawCursor=null,T.Cursor=C}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(k,T,E){"use strict";var A=this&&this.__extends||function(){var t=function(o,a){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var L in g)Object.prototype.hasOwnProperty.call(g,L)&&(c[L]=g[L])},t(o,a)};return function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");t(o,a);function c(){this.constructor=o}o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),C=k("./lib/oop"),S=k("./lib/dom"),s=k("./lib/event"),l=k("./lib/event_emitter").EventEmitter,r=32768,i=function(){function t(o,a){this.element=S.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+a,this.inner=S.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),o.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addListener(this.element,"scroll",this.onScroll.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)}return t.prototype.setVisible=function(o){this.element.style.display=o?"":"none",this.isVisible=o,this.coeff=1},t}();C.implement(i.prototype,l);var n=function(t){A(o,t);function o(a,c){var g=t.call(this,a,"-v")||this;return g.scrollTop=0,g.scrollHeight=0,c.$scrollbarWidth=g.width=S.scrollbarWidth(a.ownerDocument),g.inner.style.width=g.element.style.width=(g.width||15)+5+"px",g.$minWidth=0,g}return o.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var a=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-a)/(this.coeff-a)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},o.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},o.prototype.setHeight=function(a){this.element.style.height=a+"px"},o.prototype.setScrollHeight=function(a){this.scrollHeight=a,a>r?(this.coeff=r/a,a=r):this.coeff!=1&&(this.coeff=1),this.inner.style.height=a+"px"},o.prototype.setScrollTop=function(a){this.scrollTop!=a&&(this.skipEvent=!0,this.scrollTop=a,this.element.scrollTop=a*this.coeff)},o}(i);n.prototype.setInnerHeight=n.prototype.setScrollHeight;var e=function(t){A(o,t);function o(a,c){var g=t.call(this,a,"-h")||this;return g.scrollLeft=0,g.height=c.$scrollbarWidth,g.inner.style.height=g.element.style.height=(g.height||15)+5+"px",g}return o.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},o.prototype.getHeight=function(){return this.isVisible?this.height:0},o.prototype.setWidth=function(a){this.element.style.width=a+"px"},o.prototype.setInnerWidth=function(a){this.inner.style.width=a+"px"},o.prototype.setScrollWidth=function(a){this.inner.style.width=a+"px"},o.prototype.setScrollLeft=function(a){this.scrollLeft!=a&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=a)},o}(i);T.ScrollBar=n,T.ScrollBarV=n,T.ScrollBarH=e,T.VScrollBar=n,T.HScrollBar=e}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(k,T,E){"use strict";var A=this&&this.__extends||function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function a(){this.constructor=t}t.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}}(),C=k("./lib/oop"),S=k("./lib/dom"),s=k("./lib/event"),l=k("./lib/event_emitter").EventEmitter;S.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{ + position: absolute; + background: rgba(128, 128, 128, 0.6); + -moz-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #bbb; + border-radius: 2px; + z-index: 8; +} +.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h { + position: absolute; + z-index: 6; + background: none; + overflow: hidden!important; +} +.ace_editor>.ace_sb-v { + z-index: 6; + right: 0; + top: 0; + width: 12px; +} +.ace_editor>.ace_sb-v div { + z-index: 8; + right: 0; + width: 100%; +} +.ace_editor>.ace_sb-h { + bottom: 0; + left: 0; + height: 12px; +} +.ace_editor>.ace_sb-h div { + bottom: 0; + height: 100%; +} +.ace_editor>.ace_sb_grabbed { + z-index: 8; + background: #000; +}`,"ace_scrollbar.css",!1);var r=function(){function e(t,o){this.element=S.createElement("div"),this.element.className="ace_sb"+o,this.inner=S.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1},e}();C.implement(r.prototype,l);var i=function(e){A(t,e);function t(o,a){var c=e.call(this,o,"-v")||this;return c.scrollTop=0,c.scrollHeight=0,c.parent=o,c.width=c.VScrollWidth,c.renderer=a,c.inner.style.width=c.element.style.width=(c.width||15)+"px",c.$minWidth=0,c}return t.prototype.onMouseDown=function(o,a){if(o==="mousedown"&&!(s.getButton(a)!==0||a.detail===2)){if(a.target===this.inner){var c=this,g=a.clientY,L=function(M){g=M.clientY},v=function(){clearInterval(f)},b=a.clientY,u=this.thumbTop,h=function(){if(g!==void 0){var M=c.scrollTopFromThumbTop(u+g-b);M!==c.scrollTop&&c._emit("scroll",{data:M})}};s.capture(this.inner,L,v);var f=setInterval(h,20);return s.preventDefault(a)}var m=a.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(m)}),s.preventDefault(a)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(o){var a=o*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return a=a>>0,a<0?a=0:a>this.pageHeight-this.viewHeight&&(a=this.pageHeight-this.viewHeight),a},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(o){this.height=Math.max(0,o),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(o,a){this.pageHeight===o&&!a||(this.pageHeight=o,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(o){this.scrollTop=o,o<0&&(o=0),this.thumbTop=o*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(r);i.prototype.setInnerHeight=i.prototype.setScrollHeight;var n=function(e){A(t,e);function t(o,a){var c=e.call(this,o,"-h")||this;return c.scrollLeft=0,c.scrollWidth=0,c.height=c.HScrollHeight,c.inner.style.height=c.element.style.height=(c.height||12)+"px",c.renderer=a,c}return t.prototype.onMouseDown=function(o,a){if(o==="mousedown"&&!(s.getButton(a)!==0||a.detail===2)){if(a.target===this.inner){var c=this,g=a.clientX,L=function(M){g=M.clientX},v=function(){clearInterval(f)},b=a.clientX,u=this.thumbLeft,h=function(){if(g!==void 0){var M=c.scrollLeftFromThumbLeft(u+g-b);M!==c.scrollLeft&&c._emit("scroll",{data:M})}};s.capture(this.inner,L,v);var f=setInterval(h,20);return s.preventDefault(a)}var m=a.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(m)}),s.preventDefault(a)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(o){var a=o*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return a=a>>0,a<0?a=0:a>this.pageWidth-this.viewWidth&&(a=this.pageWidth-this.viewWidth),a},t.prototype.setWidth=function(o){this.width=Math.max(0,o),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(o,a){this.pageWidth===o&&!a||(this.pageWidth=o,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(o){this.scrollLeft=o,o<0&&(o=0),this.thumbLeft=o*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(r);n.prototype.setInnerWidth=n.prototype.setScrollWidth,T.ScrollBar=i,T.ScrollBarV=i,T.ScrollBarH=n,T.VScrollBar=i,T.HScrollBar=n}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(k,T,E){"use strict";var A=k("./lib/event"),C=function(){function S(s,l){this.onRender=s,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=l||window;var r=this;this._flush=function(i){r.pending=!1;var n=r.changes;if(n&&(A.blockIdle(100),r.changes=0,r.onRender(n)),r.changes){if(r.$recursionLimit--<0)return;r.schedule()}else r.$recursionLimit=2}}return S.prototype.schedule=function(s){this.changes=this.changes|s,this.changes&&!this.pending&&(A.nextFrame(this._flush),this.pending=!0)},S.prototype.clear=function(s){var l=this.changes;return this.changes=0,l},S}();T.RenderLoop=C}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(k,T,E){var A=k("../lib/oop"),C=k("../lib/dom"),S=k("../lib/lang"),s=k("../lib/event"),l=k("../lib/useragent"),r=k("../lib/event_emitter").EventEmitter,i=512,n=typeof ResizeObserver=="function",e=200,t=function(){function o(a){this.el=C.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=C.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=C.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),a.appendChild(this.el),this.$measureNode.textContent=S.stringRepeat("X",i),this.$characterSize={width:0,height:0},n?this.$addObserver():this.checkForSizeChanges()}return o.prototype.$setMeasureNodeStyles=function(a,c){a.width=a.height="auto",a.left=a.top="0px",a.visibility="hidden",a.position="absolute",a.whiteSpace="pre",l.isIE<8?a["font-family"]="inherit":a.font="inherit",a.overflow=c?"hidden":"visible"},o.prototype.checkForSizeChanges=function(a){if(a===void 0&&(a=this.$measureSizes()),a&&(this.$characterSize.width!==a.width||this.$characterSize.height!==a.height)){this.$measureNode.style.fontWeight="bold";var c=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=a,this.charSizes=Object.create(null),this.allowBoldFonts=c&&c.width===a.width&&c.height===a.height,this._emit("changeCharacterSize",{data:a})}},o.prototype.$addObserver=function(){var a=this;this.$observer=new window.ResizeObserver(function(c){a.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},o.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var a=this;return this.$pollSizeChangesTimer=s.onIdle(function c(){a.checkForSizeChanges(),s.onIdle(c,500)},500)},o.prototype.setPolling=function(a){a?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},o.prototype.$measureSizes=function(a){var c={height:(a||this.$measureNode).clientHeight,width:(a||this.$measureNode).clientWidth/i};return c.width===0||c.height===0?null:c},o.prototype.$measureCharWidth=function(a){this.$main.textContent=S.stringRepeat(a,i);var c=this.$main.getBoundingClientRect();return c.width/i},o.prototype.getCharacterWidth=function(a){var c=this.charSizes[a];return c===void 0&&(c=this.charSizes[a]=this.$measureCharWidth(a)/this.$characterSize.width),c},o.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},o.prototype.$getZoom=function(a){return!a||!a.parentElement?1:(window.getComputedStyle(a).zoom||1)*this.$getZoom(a.parentElement)},o.prototype.$initTransformMeasureNodes=function(){var a=function(c,g){return["div",{style:"position: absolute;top:"+c+"px;left:"+g+"px;"}]};this.els=C.buildDom([a(0,0),a(e,0),a(0,e),a(e,e)],this.el)},o.prototype.transformCoordinates=function(a,c){if(a){var g=this.$getZoom(this.el);a=u(1/g,a)}function L(F,O,N){var H=F[1]*O[0]-F[0]*O[1];return[(-O[1]*N[0]+O[0]*N[1])/H,(+F[1]*N[0]-F[0]*N[1])/H]}function v(F,O){return[F[0]-O[0],F[1]-O[1]]}function b(F,O){return[F[0]+O[0],F[1]+O[1]]}function u(F,O){return[F*O[0],F*O[1]]}this.els||this.$initTransformMeasureNodes();function h(F){var O=F.getBoundingClientRect();return[O.left,O.top]}var f=h(this.els[0]),m=h(this.els[1]),M=h(this.els[2]),y=h(this.els[3]),w=L(v(y,m),v(y,M),v(b(m,M),b(y,f))),p=u(1+w[0],v(m,f)),d=u(1+w[1],v(M,f));if(c){var $=c,_=w[0]*$[0]/e+w[1]*$[1]/e+1,x=b(u($[0],p),u($[1],d));return b(u(1/_/e,x),f)}var R=v(a,f),I=L(v(p,u(w[0],R)),v(d,u(w[1],R)),R);return u(e,I)},o}();t.prototype.$characterSize={width:0,height:0},A.implement(t.prototype,r),T.FontMetrics=t}),ace.define("ace/css/editor-css",["require","exports","module"],function(k,T,E){E.exports=` +.ace_br1 {border-top-left-radius : 3px;} +.ace_br2 {border-top-right-radius : 3px;} +.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;} +.ace_br4 {border-bottom-right-radius: 3px;} +.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;} +.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;} +.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;} +.ace_br8 {border-bottom-left-radius : 3px;} +.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;} +.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;} +.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;} +.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} +.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} +.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} +.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} + + +.ace_editor { + position: relative; + overflow: hidden; + padding: 0; + font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace; + direction: ltr; + text-align: left; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +.ace_scroller { + position: absolute; + overflow: hidden; + top: 0; + bottom: 0; + background-color: inherit; + -ms-user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; + cursor: text; +} + +.ace_content { + position: absolute; + box-sizing: border-box; + min-width: 100%; + contain: style size layout; + font-variant-ligatures: no-common-ligatures; +} + +.ace_keyboard-focus:focus { + box-shadow: inset 0 0 0 2px #5E9ED6; + outline: none; +} + +.ace_dragging .ace_scroller:before{ + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + content: ''; + background: rgba(250, 250, 250, 0.01); + z-index: 1000; +} +.ace_dragging.ace_dark .ace_scroller:before{ + background: rgba(0, 0, 0, 0.01); +} + +.ace_gutter { + position: absolute; + overflow : hidden; + width: auto; + top: 0; + bottom: 0; + left: 0; + cursor: default; + z-index: 4; + -ms-user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; + contain: style size layout; +} + +.ace_gutter-active-line { + position: absolute; + left: 0; + right: 0; +} + +.ace_scroller.ace_scroll-left:after { + content: ""; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset; + pointer-events: none; +} + +.ace_gutter-cell, .ace_gutter-cell_svg-icons { + position: absolute; + top: 0; + left: 0; + right: 0; + padding-left: 19px; + padding-right: 6px; + background-repeat: no-repeat; +} + +.ace_gutter-cell_svg-icons .ace_gutter_annotation { + margin-left: -14px; + float: left; +} + +.ace_gutter-cell .ace_gutter_annotation { + margin-left: -19px; + float: left; +} + +.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg=="); + background-repeat: no-repeat; + background-position: 2px center; +} + +.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg=="); + background-repeat: no-repeat; + background-position: 2px center; +} + +.ace_gutter-cell.ace_info, .ace_icon.ace_info { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII="); + background-repeat: no-repeat; + background-position: 2px center; +} +.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC"); +} + +.ace_icon_svg.ace_error { + -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+"); + background-color: crimson; +} +.ace_icon_svg.ace_warning { + -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg=="); + background-color: darkorange; +} +.ace_icon_svg.ace_info { + -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg=="); + background-color: royalblue; +} + +.ace_icon_svg.ace_error_fold { + -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4="); + background-color: crimson; +} +.ace_icon_svg.ace_warning_fold { + -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4="); + background-color: darkorange; +} + +.ace_scrollbar { + contain: strict; + position: absolute; + right: 0; + bottom: 0; + z-index: 6; +} + +.ace_scrollbar-inner { + position: absolute; + cursor: text; + left: 0; + top: 0; +} + +.ace_scrollbar-v{ + overflow-x: hidden; + overflow-y: scroll; + top: 0; +} + +.ace_scrollbar-h { + overflow-x: scroll; + overflow-y: hidden; + left: 0; +} + +.ace_print-margin { + position: absolute; + height: 100%; +} + +.ace_text-input { + position: absolute; + z-index: 0; + width: 0.5em; + height: 1em; + opacity: 0; + background: transparent; + -moz-appearance: none; + appearance: none; + border: none; + resize: none; + outline: none; + overflow: hidden; + font: inherit; + padding: 0 1px; + margin: 0 -1px; + contain: strict; + -ms-user-select: text; + -moz-user-select: text; + -webkit-user-select: text; + user-select: text; + /*with \`pre-line\` chrome inserts   instead of space*/ + white-space: pre!important; +} +.ace_text-input.ace_composition { + background: transparent; + color: inherit; + z-index: 1000; + opacity: 1; +} +.ace_composition_placeholder { color: transparent } +.ace_composition_marker { + border-bottom: 1px solid; + position: absolute; + border-radius: 0; + margin-top: 1px; +} + +[ace_nocontext=true] { + transform: none!important; + filter: none!important; + clip-path: none!important; + mask : none!important; + contain: none!important; + perspective: none!important; + mix-blend-mode: initial!important; + z-index: auto; +} + +.ace_layer { + z-index: 1; + position: absolute; + overflow: hidden; + /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/ + word-wrap: normal; + white-space: pre; + height: 100%; + width: 100%; + box-sizing: border-box; + /* setting pointer-events: auto; on node under the mouse, which changes + during scroll, will break mouse wheel scrolling in Safari */ + pointer-events: none; +} + +.ace_gutter-layer { + position: relative; + width: auto; + text-align: right; + pointer-events: auto; + height: 1000000px; + contain: style size layout; +} + +.ace_text-layer { + font: inherit !important; + position: absolute; + height: 1000000px; + width: 1000000px; + contain: style size layout; +} + +.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group { + contain: style size layout; + position: absolute; + top: 0; + left: 0; + right: 0; +} + +.ace_hidpi .ace_text-layer, +.ace_hidpi .ace_gutter-layer, +.ace_hidpi .ace_content, +.ace_hidpi .ace_gutter { + contain: strict; +} +.ace_hidpi .ace_text-layer > .ace_line, +.ace_hidpi .ace_text-layer > .ace_line_group { + contain: strict; +} + +.ace_cjk { + display: inline-block; + text-align: center; +} + +.ace_cursor-layer { + z-index: 4; +} + +.ace_cursor { + z-index: 4; + position: absolute; + box-sizing: border-box; + border-left: 2px solid; + /* workaround for smooth cursor repaintng whole screen in chrome */ + transform: translatez(0); +} + +.ace_multiselect .ace_cursor { + border-left-width: 1px; +} + +.ace_slim-cursors .ace_cursor { + border-left-width: 1px; +} + +.ace_overwrite-cursors .ace_cursor { + border-left-width: 0; + border-bottom: 1px solid; +} + +.ace_hidden-cursors .ace_cursor { + opacity: 0.2; +} + +.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor { + opacity: 0; +} + +.ace_smooth-blinking .ace_cursor { + transition: opacity 0.18s; +} + +.ace_animate-blinking .ace_cursor { + animation-duration: 1000ms; + animation-timing-function: step-end; + animation-name: blink-ace-animate; + animation-iteration-count: infinite; +} + +.ace_animate-blinking.ace_smooth-blinking .ace_cursor { + animation-duration: 1000ms; + animation-timing-function: ease-in-out; + animation-name: blink-ace-animate-smooth; +} + +@keyframes blink-ace-animate { + from, to { opacity: 1; } + 60% { opacity: 0; } +} + +@keyframes blink-ace-animate-smooth { + from, to { opacity: 1; } + 45% { opacity: 1; } + 60% { opacity: 0; } + 85% { opacity: 0; } +} + +.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack { + position: absolute; + z-index: 3; +} + +.ace_marker-layer .ace_selection { + position: absolute; + z-index: 5; +} + +.ace_marker-layer .ace_bracket { + position: absolute; + z-index: 6; +} + +.ace_marker-layer .ace_error_bracket { + position: absolute; + border-bottom: 1px solid #DE5555; + border-radius: 0; +} + +.ace_marker-layer .ace_active-line { + position: absolute; + z-index: 2; +} + +.ace_marker-layer .ace_selected-word { + position: absolute; + z-index: 4; + box-sizing: border-box; +} + +.ace_line .ace_fold { + box-sizing: border-box; + + display: inline-block; + height: 11px; + margin-top: -2px; + vertical-align: middle; + + background-image: + url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), + url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII="); + background-repeat: no-repeat, repeat-x; + background-position: center center, top left; + color: transparent; + + border: 1px solid black; + border-radius: 2px; + + cursor: pointer; + pointer-events: auto; +} + +.ace_dark .ace_fold { +} + +.ace_fold:hover{ + background-image: + url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), + url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC"); +} + +.ace_tooltip { + background-color: #f5f5f5; + border: 1px solid gray; + border-radius: 1px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); + color: black; + max-width: 100%; + padding: 3px 4px; + position: fixed; + z-index: 999999; + box-sizing: border-box; + cursor: default; + white-space: pre-wrap; + word-wrap: break-word; + line-height: normal; + font-style: normal; + font-weight: normal; + letter-spacing: normal; + pointer-events: none; + overflow: auto; + max-width: min(60em, 66vw); + overscroll-behavior: contain; +} +.ace_tooltip pre { + white-space: pre-wrap; +} + +.ace_tooltip.ace_dark { + background-color: #636363; + color: #fff; +} + +.ace_tooltip:focus { + outline: 1px solid #5E9ED6; +} + +.ace_icon { + display: inline-block; + width: 18px; + vertical-align: top; +} + +.ace_icon_svg { + display: inline-block; + width: 12px; + vertical-align: top; + -webkit-mask-repeat: no-repeat; + -webkit-mask-size: 12px; + -webkit-mask-position: center; +} + +.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons { + padding-right: 13px; +} + +.ace_fold-widget { + box-sizing: border-box; + + margin: 0 -12px 0 1px; + display: none; + width: 11px; + vertical-align: top; + + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg=="); + background-repeat: no-repeat; + background-position: center; + + border-radius: 3px; + + border: 1px solid transparent; + cursor: pointer; +} + +.ace_folding-enabled .ace_fold-widget { + display: inline-block; +} + +.ace_fold-widget.ace_end { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg=="); +} + +.ace_fold-widget.ace_closed { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA=="); +} + +.ace_fold-widget:hover { + border: 1px solid rgba(0, 0, 0, 0.3); + background-color: rgba(255, 255, 255, 0.2); + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); +} + +.ace_fold-widget:active { + border: 1px solid rgba(0, 0, 0, 0.4); + background-color: rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); +} +/** + * Dark version for fold widgets + */ +.ace_dark .ace_fold-widget { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC"); +} +.ace_dark .ace_fold-widget.ace_end { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg=="); +} +.ace_dark .ace_fold-widget.ace_closed { + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg=="); +} +.ace_dark .ace_fold-widget:hover { + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); + background-color: rgba(255, 255, 255, 0.1); +} +.ace_dark .ace_fold-widget:active { + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); +} + +.ace_inline_button { + border: 1px solid lightgray; + display: inline-block; + margin: -1px 8px; + padding: 0 5px; + pointer-events: auto; + cursor: pointer; +} +.ace_inline_button:hover { + border-color: gray; + background: rgba(200,200,200,0.2); + display: inline-block; + pointer-events: auto; +} + +.ace_fold-widget.ace_invalid { + background-color: #FFB4B4; + border-color: #DE5555; +} + +.ace_fade-fold-widgets .ace_fold-widget { + transition: opacity 0.4s ease 0.05s; + opacity: 0; +} + +.ace_fade-fold-widgets:hover .ace_fold-widget { + transition: opacity 0.05s ease 0.05s; + opacity:1; +} + +.ace_underline { + text-decoration: underline; +} + +.ace_bold { + font-weight: bold; +} + +.ace_nobold .ace_bold { + font-weight: normal; +} + +.ace_italic { + font-style: italic; +} + + +.ace_error-marker { + background-color: rgba(255, 0, 0,0.2); + position: absolute; + z-index: 9; +} + +.ace_highlight-marker { + background-color: rgba(255, 255, 0,0.2); + position: absolute; + z-index: 8; +} + +.ace_mobile-menu { + position: absolute; + line-height: 1.5; + border-radius: 4px; + -ms-user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; + background: white; + box-shadow: 1px 3px 2px grey; + border: 1px solid #dcdcdc; + color: black; +} +.ace_dark > .ace_mobile-menu { + background: #333; + color: #ccc; + box-shadow: 1px 3px 2px grey; + border: 1px solid #444; + +} +.ace_mobile-button { + padding: 2px; + cursor: pointer; + overflow: hidden; +} +.ace_mobile-button:hover { + background-color: #eee; + opacity:1; +} +.ace_mobile-button:active { + background-color: #ddd; +} + +.ace_placeholder { + font-family: arial; + transform: scale(0.9); + transform-origin: left; + white-space: pre; + opacity: 0.7; + margin: 0 10px; +} + +.ace_ghost_text { + opacity: 0.5; + font-style: italic; +} + +.ace_ghost_text > div { + white-space: pre; +} + +.ghost_text_line_wrapped::after { + content: "\u21A9"; + position: absolute; +} + +.ace_lineWidgetContainer.ace_ghost_text { + margin: 0px 4px +} + +.ace_screenreader-only { + position:absolute; + left:-10000px; + top:auto; + width:1px; + height:1px; + overflow:hidden; +}`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(k,T,E){"use strict";var A=k("../lib/dom"),C=k("../lib/oop"),S=k("../lib/event_emitter").EventEmitter,s=function(){function l(r,i){this.canvas=A.createElement("canvas"),this.renderer=i,this.pixelRatio=1,this.maxHeight=i.layerConfig.maxHeight,this.lineHeight=i.layerConfig.lineHeight,this.canvasHeight=r.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=r.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top=0+"px",this.canvas.style.right=0+"px",this.canvas.style.zIndex=7+"px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},r.element.appendChild(this.canvas)}return l.prototype.$updateDecorators=function(r){var i=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;if(r){this.maxHeight=r.maxHeight,this.lineHeight=r.lineHeight,this.canvasHeight=r.height;var n=(r.lastRow+1)*this.lineHeight;nw.priority?1:0}var o=this.renderer.session.$annotations;if(e.clearRect(0,0,this.canvas.width,this.canvas.height),o){var a={info:1,warning:2,error:3};o.forEach(function(y){y.priority=a[y.type]||null}),o=o.sort(t);for(var c=this.renderer.session.$foldData,g=0;gthis.canvasHeight&&(m=this.canvasHeight-this.halfMinDecorationHeight),u=Math.round(m-this.halfMinDecorationHeight),h=Math.round(m+this.halfMinDecorationHeight)}e.fillStyle=i[o[g].type]||null,e.fillRect(0,b,this.canvasWidth,h-u)}}var M=this.renderer.session.selection.getCursor();if(M){var v=this.compensateFoldRows(M.row,c),b=Math.round((M.row-v)*this.lineHeight*this.heightRatio);e.fillStyle="rgba(0, 0, 0, 0.5)",e.fillRect(0,b,this.canvasWidth,2)}},l.prototype.compensateFoldRows=function(r,i){var n=0;if(i&&i.length>0)for(var e=0;ei[e].start.row&&r=i[e].end.row&&(n+=i[e].end.row-i[e].start.row);return n},l}();C.implement(s.prototype,S),T.Decorator=s}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(k,T,E){"use strict";var A=k("./lib/oop"),C=k("./lib/dom"),S=k("./lib/lang"),s=k("./config"),l=k("./layer/gutter").Gutter,r=k("./layer/marker").Marker,i=k("./layer/text").Text,n=k("./layer/cursor").Cursor,e=k("./scrollbar").HScrollBar,t=k("./scrollbar").VScrollBar,o=k("./scrollbar_custom").HScrollBar,a=k("./scrollbar_custom").VScrollBar,c=k("./renderloop").RenderLoop,g=k("./layer/font_metrics").FontMetrics,L=k("./lib/event_emitter").EventEmitter,v=k("./css/editor-css"),b=k("./layer/decorators").Decorator,u=k("./lib/useragent");C.importCssString(v,"ace_editor.css",!1);var h=function(){function f(m,M){var y=this;this.container=m||C.createElement("div"),C.addCssClass(this.container,"ace_editor"),C.HI_DPI&&C.addCssClass(this.container,"ace_hidpi"),this.setTheme(M),s.get("useStrictCSP")==null&&s.set("useStrictCSP",!1),this.$gutter=C.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=C.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=C.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new l(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new r(this.content);var w=this.$textLayer=new i(this.content);this.canvas=w.element,this.$markerFront=new r(this.content),this.$cursorLayer=new n(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new t(this.container,this),this.scrollBarH=new e(this.container,this),this.scrollBarV.on("scroll",function(p){y.$scrollAnimation||y.session.setScrollTop(p.data-y.scrollMargin.top)}),this.scrollBarH.on("scroll",function(p){y.$scrollAnimation||y.session.setScrollLeft(p.data-y.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new g(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(p){y.updateCharacterSize(),y.onResize(!0,y.gutterWidth,y.$size.width,y.$size.height),y._signal("changeCharacterSize",p)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!u.isIOS,this.$loop=new c(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return f.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),C.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},f.prototype.setSession=function(m){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=m,m&&this.scrollMargin.top&&m.getScrollTop()<=0&&m.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(m),this.$markerBack.setSession(m),this.$markerFront.setSession(m),this.$gutterLayer.setSession(m),this.$textLayer.setSession(m),m&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},f.prototype.updateLines=function(m,M,y){if(M===void 0&&(M=1/0),this.$changedLines?(this.$changedLines.firstRow>m&&(this.$changedLines.firstRow=m),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},f.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},f.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},f.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},f.prototype.updateFull=function(m){m?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},f.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},f.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},f.prototype.onResize=function(m,M,y,w){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=m?1:0;var p=this.container;w||(w=p.clientHeight||p.scrollHeight),!w&&this.$maxLines&&this.lineHeight>1&&(!p.style.height||p.style.height=="0px")&&(p.style.height="1px",w=p.clientHeight||p.scrollHeight),y||(y=p.clientWidth||p.scrollWidth);var d=this.$updateCachedSize(m,M,y,w);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!y&&!w)return this.resizing=0;m&&(this.$gutterLayer.$padding=null),m?this.$renderChanges(d|this.$changes,!0):this.$loop.schedule(d|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},f.prototype.$updateCachedSize=function(m,M,y,w){w-=this.$extraHeight||0;var p=0,d=this.$size,$={width:d.width,height:d.height,scrollerHeight:d.scrollerHeight,scrollerWidth:d.scrollerWidth};if(w&&(m||d.height!=w)&&(d.height=w,p|=this.CHANGE_SIZE,d.scrollerHeight=d.height,this.$horizScroll&&(d.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(d.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",p=p|this.CHANGE_SCROLL),y&&(m||d.width!=y)){p|=this.CHANGE_SIZE,d.width=y,M==null&&(M=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=M,C.setStyle(this.scrollBarH.element.style,"left",M+"px"),C.setStyle(this.scroller.style,"left",M+this.margin.left+"px"),d.scrollerWidth=Math.max(0,y-M-this.scrollBarV.getWidth()-this.margin.h),C.setStyle(this.$gutter.style,"left",this.margin.left+"px");var _=this.scrollBarV.getWidth()+"px";C.setStyle(this.scrollBarH.element.style,"right",_),C.setStyle(this.scroller.style,"right",_),C.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(d.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||m)&&(p|=this.CHANGE_FULL)}return d.$dirty=!y||!w,p&&this._signal("resize",$),p},f.prototype.onGutterResize=function(m){var M=this.$showGutter?m:0;M!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,M,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},f.prototype.adjustWrapLimit=function(){var m=this.$size.scrollerWidth-this.$padding*2,M=Math.floor(m/this.characterWidth);return this.session.adjustWrapLimit(M,this.$showPrintMargin&&this.$printMarginColumn)},f.prototype.setAnimatedScroll=function(m){this.setOption("animatedScroll",m)},f.prototype.getAnimatedScroll=function(){return this.$animatedScroll},f.prototype.setShowInvisibles=function(m){this.setOption("showInvisibles",m),this.session.$bidiHandler.setShowInvisibles(m)},f.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},f.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},f.prototype.setDisplayIndentGuides=function(m){this.setOption("displayIndentGuides",m)},f.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},f.prototype.setHighlightIndentGuides=function(m){this.setOption("highlightIndentGuides",m)},f.prototype.setShowPrintMargin=function(m){this.setOption("showPrintMargin",m)},f.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},f.prototype.setPrintMarginColumn=function(m){this.setOption("printMarginColumn",m)},f.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},f.prototype.getShowGutter=function(){return this.getOption("showGutter")},f.prototype.setShowGutter=function(m){return this.setOption("showGutter",m)},f.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},f.prototype.setFadeFoldWidgets=function(m){this.setOption("fadeFoldWidgets",m)},f.prototype.setHighlightGutterLine=function(m){this.setOption("highlightGutterLine",m)},f.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},f.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var m=C.createElement("div");m.className="ace_layer ace_print-margin-layer",this.$printMarginEl=C.createElement("div"),this.$printMarginEl.className="ace_print-margin",m.appendChild(this.$printMarginEl),this.content.insertBefore(m,this.content.firstChild)}var M=this.$printMarginEl.style;M.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",M.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},f.prototype.getContainerElement=function(){return this.container},f.prototype.getMouseEventTarget=function(){return this.scroller},f.prototype.getTextAreaContainer=function(){return this.container},f.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var m=this.textarea.style,M=this.$composition;if(!this.$keepTextAreaAtCursor&&!M){C.translate(this.textarea,-100,0);return}var y=this.$cursorLayer.$pixelPos;if(!!y){M&&M.markerRange&&(y=this.$cursorLayer.getPixelPosition(M.markerRange.start,!0));var w=this.layerConfig,p=y.top,d=y.left;p-=w.offset;var $=M&&M.useTextareaForIME||u.isMobile?this.lineHeight:1;if(p<0||p>w.height-$){C.translate(this.textarea,0,0);return}var _=1,x=this.$size.height-$;if(!M)p+=this.lineHeight;else if(M.useTextareaForIME){var R=this.textarea.value;_=this.characterWidth*this.session.$getStringScreenWidth(R)[0]}else p+=this.lineHeight+2;d-=this.scrollLeft,d>this.$size.scrollerWidth-_&&(d=this.$size.scrollerWidth-_),d+=this.gutterWidth+this.margin.left,C.setStyle(m,"height",$+"px"),C.setStyle(m,"width",_+"px"),C.translate(this.textarea,Math.min(d,this.$size.scrollerWidth-_),Math.min(p,x))}}},f.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},f.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},f.prototype.getLastFullyVisibleRow=function(){var m=this.layerConfig,M=m.lastRow,y=this.session.documentToScreenRow(M,0)*m.lineHeight;return y-this.session.getScrollTop()>m.height-m.lineHeight?M-1:M},f.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},f.prototype.setPadding=function(m){this.$padding=m,this.$textLayer.setPadding(m),this.$cursorLayer.setPadding(m),this.$markerFront.setPadding(m),this.$markerBack.setPadding(m),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},f.prototype.setScrollMargin=function(m,M,y,w){var p=this.scrollMargin;p.top=m|0,p.bottom=M|0,p.right=w|0,p.left=y|0,p.v=p.top+p.bottom,p.h=p.left+p.right,p.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-p.top),this.updateFull()},f.prototype.setMargin=function(m,M,y,w){var p=this.margin;p.top=m|0,p.bottom=M|0,p.right=w|0,p.left=y|0,p.v=p.top+p.bottom,p.h=p.left+p.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},f.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},f.prototype.setHScrollBarAlwaysVisible=function(m){this.setOption("hScrollBarAlwaysVisible",m)},f.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},f.prototype.setVScrollBarAlwaysVisible=function(m){this.setOption("vScrollBarAlwaysVisible",m)},f.prototype.$updateScrollBarV=function(){var m=this.layerConfig.maxHeight,M=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(m-=(M-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>m-M&&(m=this.scrollTop+M,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(m+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},f.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},f.prototype.freeze=function(){this.$frozen=!0},f.prototype.unfreeze=function(){this.$frozen=!1},f.prototype.$renderChanges=function(m,M){if(this.$changes&&(m|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!m&&!M){this.$changes|=m;return}if(this.$size.$dirty)return this.$changes|=m,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",m),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var y=this.layerConfig;if(m&this.CHANGE_FULL||m&this.CHANGE_SIZE||m&this.CHANGE_TEXT||m&this.CHANGE_LINES||m&this.CHANGE_SCROLL||m&this.CHANGE_H_SCROLL){if(m|=this.$computeLayerConfig()|this.$loop.clear(),y.firstRow!=this.layerConfig.firstRow&&y.firstRowScreen==this.layerConfig.firstRowScreen){var w=this.scrollTop+(y.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;w>0&&(this.scrollTop=w,m=m|this.CHANGE_SCROLL,m|=this.$computeLayerConfig()|this.$loop.clear())}y=this.layerConfig,this.$updateScrollBarV(),m&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),C.translate(this.content,-this.scrollLeft,-y.offset);var p=y.width+2*this.$padding+"px",d=y.minHeight+"px";C.setStyle(this.content.style,"width",p),C.setStyle(this.content.style,"height",d)}if(m&this.CHANGE_H_SCROLL&&(C.translate(this.content,-this.scrollLeft,-y.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),m&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(y),this.$showGutter&&this.$gutterLayer.update(y),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(y),this.$markerBack.update(y),this.$markerFront.update(y),this.$cursorLayer.update(y),this.$moveTextAreaToCursor(),this._signal("afterRender",m);return}if(m&this.CHANGE_SCROLL){this.$changedLines=null,m&this.CHANGE_TEXT||m&this.CHANGE_LINES?this.$textLayer.update(y):this.$textLayer.scrollLines(y),this.$showGutter&&(m&this.CHANGE_GUTTER||m&this.CHANGE_LINES?this.$gutterLayer.update(y):this.$gutterLayer.scrollLines(y)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(y),this.$markerBack.update(y),this.$markerFront.update(y),this.$cursorLayer.update(y),this.$moveTextAreaToCursor(),this._signal("afterRender",m);return}m&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(y),this.$showGutter&&this.$gutterLayer.update(y),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(y)):m&this.CHANGE_LINES?((this.$updateLines()||m&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(y),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(y)):m&this.CHANGE_TEXT||m&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(y),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(y)):m&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(y),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(y)),m&this.CHANGE_CURSOR&&(this.$cursorLayer.update(y),this.$moveTextAreaToCursor()),m&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(y),m&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(y),this._signal("afterRender",m)},f.prototype.$autosize=function(){var m=this.session.getScreenLength()*this.lineHeight,M=this.$maxLines*this.lineHeight,y=Math.min(M,Math.max((this.$minLines||1)*this.lineHeight,m))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(y+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&y>this.$maxPixelHeight&&(y=this.$maxPixelHeight);var w=y<=2*this.lineHeight,p=!w&&m>M;if(y!=this.desiredHeight||this.$size.height!=this.desiredHeight||p!=this.$vScroll){p!=this.$vScroll&&(this.$vScroll=p,this.scrollBarV.setVisible(p));var d=this.container.clientWidth;this.container.style.height=y+"px",this.$updateCachedSize(!0,this.$gutterWidth,d,y),this.desiredHeight=y,this._signal("autosize")}},f.prototype.$computeLayerConfig=function(){var m=this.session,M=this.$size,y=M.height<=2*this.lineHeight,w=this.session.getScreenLength(),p=w*this.lineHeight,d=this.$getLongestLine(),$=!y&&(this.$hScrollBarAlwaysVisible||M.scrollerWidth-d-2*this.$padding<0),_=this.$horizScroll!==$;_&&(this.$horizScroll=$,this.scrollBarH.setVisible($));var x=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var R=M.scrollerHeight+this.lineHeight,I=!this.$maxLines&&this.$scrollPastEnd?(M.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;p+=I;var F=this.scrollMargin;this.session.setScrollTop(Math.max(-F.top,Math.min(this.scrollTop,p-M.scrollerHeight+F.bottom))),this.session.setScrollLeft(Math.max(-F.left,Math.min(this.scrollLeft,d+2*this.$padding-M.scrollerWidth+F.right)));var O=!y&&(this.$vScrollBarAlwaysVisible||M.scrollerHeight-p+I<0||this.scrollTop>F.top),N=x!==O;N&&(this.$vScroll=O,this.scrollBarV.setVisible(O));var H=this.scrollTop%this.lineHeight,B=Math.ceil(R/this.lineHeight)-1,P=Math.max(0,Math.round((this.scrollTop-H)/this.lineHeight)),U=P+B,K,Q,j=this.lineHeight;P=m.screenToDocumentRow(P,0);var J=m.getFoldLine(P);J&&(P=J.start.row),K=m.documentToScreenRow(P,0),Q=m.getRowLength(P)*j,U=Math.min(m.screenToDocumentRow(U,0),m.getLength()-1),R=M.scrollerHeight+m.getRowLength(U)*j+Q,H=this.scrollTop-K*j;var ee=0;return(this.layerConfig.width!=d||_)&&(ee=this.CHANGE_H_SCROLL),(_||N)&&(ee|=this.$updateCachedSize(!0,this.gutterWidth,M.width,M.height),this._signal("scrollbarVisibilityChanged"),N&&(d=this.$getLongestLine())),this.layerConfig={width:d,padding:this.$padding,firstRow:P,firstRowScreen:K,lastRow:U,lineHeight:j,characterWidth:this.characterWidth,minHeight:R,maxHeight:p,offset:H,gutterOffset:j?Math.max(0,Math.ceil((H+M.height-M.scrollerHeight)/j)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(d-this.$padding),ee},f.prototype.$updateLines=function(){if(!!this.$changedLines){var m=this.$changedLines.firstRow,M=this.$changedLines.lastRow;this.$changedLines=null;var y=this.layerConfig;if(!(m>y.lastRow+1)&&!(Mthis.$textLayer.MAX_LINE_LENGTH&&(m=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(m*this.characterWidth))},f.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},f.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},f.prototype.addGutterDecoration=function(m,M){this.$gutterLayer.addGutterDecoration(m,M)},f.prototype.removeGutterDecoration=function(m,M){this.$gutterLayer.removeGutterDecoration(m,M)},f.prototype.updateBreakpoints=function(m){this._rows=m,this.$loop.schedule(this.CHANGE_GUTTER)},f.prototype.setAnnotations=function(m){this.$gutterLayer.setAnnotations(m),this.$loop.schedule(this.CHANGE_GUTTER)},f.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},f.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},f.prototype.showCursor=function(){this.$cursorLayer.showCursor()},f.prototype.scrollSelectionIntoView=function(m,M,y){this.scrollCursorIntoView(m,y),this.scrollCursorIntoView(M,y)},f.prototype.scrollCursorIntoView=function(m,M,y){if(this.$size.scrollerHeight!==0){var w=this.$cursorLayer.getPixelPosition(m),p=w.left,d=w.top,$=y&&y.top||0,_=y&&y.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var x=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;x+$>d?(M&&x+$>d+this.lineHeight&&(d-=M*this.$size.scrollerHeight),d===0&&(d=-this.scrollMargin.top),this.session.setScrollTop(d)):x+this.$size.scrollerHeight-_=1-this.scrollMargin.top||M>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||m<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||m>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},f.prototype.pixelToScreenCoordinates=function(m,M){var y;if(this.$hasCssTransforms){y={top:0,left:0};var w=this.$fontMetrics.transformCoordinates([m,M]);m=w[1]-this.gutterWidth-this.margin.left,M=w[0]}else y=this.scroller.getBoundingClientRect();var p=m+this.scrollLeft-y.left-this.$padding,d=p/this.characterWidth,$=Math.floor((M+this.scrollTop-y.top)/this.lineHeight),_=this.$blockCursor?Math.floor(d):Math.round(d);return{row:$,column:_,side:d-_>0?1:-1,offsetX:p}},f.prototype.screenToTextCoordinates=function(m,M){var y;if(this.$hasCssTransforms){y={top:0,left:0};var w=this.$fontMetrics.transformCoordinates([m,M]);m=w[1]-this.gutterWidth-this.margin.left,M=w[0]}else y=this.scroller.getBoundingClientRect();var p=m+this.scrollLeft-y.left-this.$padding,d=p/this.characterWidth,$=this.$blockCursor?Math.floor(d):Math.round(d),_=Math.floor((M+this.scrollTop-y.top)/this.lineHeight);return this.session.screenToDocumentPosition(_,Math.max($,0),p)},f.prototype.textToScreenCoordinates=function(m,M){var y=this.scroller.getBoundingClientRect(),w=this.session.documentToScreenPosition(m,M),p=this.$padding+(this.session.$bidiHandler.isBidiRow(w.row,m)?this.session.$bidiHandler.getPosLeft(w.column):Math.round(w.column*this.characterWidth)),d=w.row*this.lineHeight;return{pageX:y.left+p-this.scrollLeft,pageY:y.top+d-this.scrollTop}},f.prototype.visualizeFocus=function(){C.addCssClass(this.container,"ace_focus")},f.prototype.visualizeBlur=function(){C.removeCssClass(this.container,"ace_focus")},f.prototype.showComposition=function(m){this.$composition=m,m.cssText||(m.cssText=this.textarea.style.cssText),m.useTextareaForIME==null&&(m.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(C.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):m.markerId=this.session.addMarker(m.markerRange,"ace_composition_marker","text")},f.prototype.setCompositionText=function(m){var M=this.session.selection.cursor;this.addToken(m,"composition_placeholder",M.row,M.column),this.$moveTextAreaToCursor()},f.prototype.hideComposition=function(){if(!!this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),C.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var m=this.session.selection.cursor;this.removeExtraToken(m.row,m.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},f.prototype.setGhostText=function(m,M){var y=this.session.selection.cursor,w=M||{row:y.row,column:y.column};this.removeGhostText();var p=this.$calculateWrappedTextChunks(m,w);if(this.addToken(p[0].text,"ghost_text",w.row,w.column),this.$ghostText={text:m,position:{row:w.row,column:w.column}},p.length>1){var d=p.slice(1).map(function(F){return"").concat(F.text,"")});this.$ghostTextWidget={html:d.join(""),row:w.row,column:w.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var $=this.$cursorLayer.getPixelPosition(w,!0),_=this.container,x=_.getBoundingClientRect().height,R=p.length*this.lineHeight,I=R0){var R=0;x.push(p[$].length);for(var I=0;I1||Math.abs(m.$size.height-w)>1?m.$resizeTimer.delay():m.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},f}();h.prototype.CHANGE_CURSOR=1,h.prototype.CHANGE_MARKER=2,h.prototype.CHANGE_GUTTER=4,h.prototype.CHANGE_SCROLL=8,h.prototype.CHANGE_LINES=16,h.prototype.CHANGE_TEXT=32,h.prototype.CHANGE_SIZE=64,h.prototype.CHANGE_MARKER_BACK=128,h.prototype.CHANGE_MARKER_FRONT=256,h.prototype.CHANGE_FULL=512,h.prototype.CHANGE_H_SCROLL=1024,h.prototype.$changes=0,h.prototype.$padding=null,h.prototype.$frozen=!1,h.prototype.STEPS=8,A.implement(h.prototype,L),s.defineOptions(h.prototype,"renderer",{useResizeObserver:{set:function(f){!f&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):f&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(f){this.$textLayer.setShowInvisibles(f)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(f){typeof f=="number"&&(this.$printMarginColumn=f),this.$showPrintMargin=!!f,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(f){this.$gutter.style.display=f?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(f){this.$gutterLayer.$useSvgGutterIcons=f},initialValue:!1},showFoldedAnnotations:{set:function(f){this.$gutterLayer.$showFoldedAnnotations=f},initialValue:!1},fadeFoldWidgets:{set:function(f){C.setCssClass(this.$gutter,"ace_fade-fold-widgets",f)},initialValue:!1},showFoldWidgets:{set:function(f){this.$gutterLayer.setShowFoldWidgets(f),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(f){this.$textLayer.setDisplayIndentGuides(f)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(f){this.$textLayer.setHighlightIndentGuides(f)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(f){this.$gutterLayer.setHighlightGutterLine(f),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(f){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(f){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(f){typeof f=="number"&&(f=f+"px"),this.container.style.fontSize=f,this.updateFontSize()},initialValue:12},fontFamily:{set:function(f){this.container.style.fontFamily=f,this.updateFontSize()}},maxLines:{set:function(f){this.updateFull()}},minLines:{set:function(f){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(f){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(f){f=+f||0,this.$scrollPastEnd!=f&&(this.$scrollPastEnd=f,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(f){this.$gutterLayer.$fixedWidth=!!f,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(f){this.$updateCustomScrollbar(f)},initialValue:!1},theme:{set:function(f){this.setTheme(f)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!u.isMobile&&!u.isIE}}),T.VirtualRenderer=h}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(k,T,E){"use strict";var A=k("../lib/oop"),C=k("../lib/net"),S=k("../lib/event_emitter").EventEmitter,s=k("../config");function l(e){var t="importScripts('"+C.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(c){var o=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,a=new o;return a.append(t),a.getBlob("application/javascript")}}function r(e){if(typeof Worker=="undefined")return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var t=l(e),o=window.URL||window.webkitURL,a=o.createObjectURL(t);return new Worker(a)}return new Worker(e)}var i=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){A.implement(this,S),this.$createWorkerFromOldConfig=function(e,t,o,a,c){if(k.nameToUrl&&!k.toUrl&&(k.toUrl=k.nameToUrl),s.get("packaged")||!k.toUrl)a=a||s.moduleUrl(t,"worker");else{var g=this.$normalizePath;a=a||g(k.toUrl("ace/worker/worker.js",null,"_"));var L={};e.forEach(function(v){L[v]=g(k.toUrl(v,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=r(a),c&&this.send("importScripts",c),this.$worker.postMessage({init:!0,tlns:L,module:t,classname:o}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var o=this.callbacks[t.id];o&&(o(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data);break}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return C.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,o){if(o){var a=this.callbackId++;this.callbacks[a]=o,t.push(a)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(o){console.error(o.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),e.action=="insert"?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;!e||(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(i.prototype);var n=function(e,t,o){var a=null,c=!1,g=Object.create(S),L=[],v=new i({messageBuffer:L,terminate:function(){},postMessage:function(u){L.push(u),a&&(c?setTimeout(b):b())}});v.setEmitSync=function(u){c=u};var b=function(){var u=L.shift();u.command?a[u.command].apply(a,u.args):u.event&&g._signal(u.event,u.data)};return g.postMessage=function(u){v.onMessage({data:u})},g.callback=function(u,h){this.postMessage({type:"call",id:h,data:u})},g.emit=function(u,h){this.postMessage({type:"event",name:u,data:h})},s.loadModule(["worker",t],function(u){for(a=new u[o](g);L.length;)b()}),v};T.UIWorkerClient=n,T.WorkerClient=i,T.createWorker=r}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(k,T,E){"use strict";var A=k("./range").Range,C=k("./lib/event_emitter").EventEmitter,S=k("./lib/oop"),s=function(){function l(r,i,n,e,t,o){var a=this;this.length=i,this.session=r,this.doc=r.getDocument(),this.mainClass=t,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=e,this.$onCursorChange=function(){setTimeout(function(){a.onCursorChange()})},this.$pos=n;var c=r.getUndoManager().$undoStack||r.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=c.length,this.setup(),r.selection.on("changeCursor",this.$onCursorChange)}return l.prototype.setup=function(){var r=this,i=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=i.createAnchor(this.$pos.row,this.$pos.column);var e=this.pos;e.$insertRight=!0,e.detach(),e.markerId=n.addMarker(new A(e.row,e.column,e.row,e.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(t){var o=i.createAnchor(t.row,t.column);o.$insertRight=!0,o.detach(),r.others.push(o)}),n.setUndoSelect(!1)},l.prototype.showOtherMarkers=function(){if(!this.othersActive){var r=this.session,i=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=r.addMarker(new A(n.row,n.column,n.row,n.column+i.length),i.othersClass,null,!1)})}},l.prototype.hideOtherMarkers=function(){if(!!this.othersActive){this.othersActive=!1;for(var r=0;r=this.pos.column&&i.start.column<=this.pos.column+this.length+1,t=i.start.column-this.pos.column;if(this.updateAnchors(r),e&&(this.length+=n),e&&!this.session.$fromUndo){if(r.action==="insert")for(var o=this.others.length-1;o>=0;o--){var a=this.others[o],c={row:a.row,column:a.column+t};this.doc.insertMergedLines(c,r.lines)}else if(r.action==="remove")for(var o=this.others.length-1;o>=0;o--){var a=this.others[o],c={row:a.row,column:a.column+t};this.doc.remove(new A(c.row,c.column,c.row,c.column-n))}}this.$updating=!1,this.updateMarkers()}},l.prototype.updateAnchors=function(r){this.pos.onChange(r);for(var i=this.others.length;i--;)this.others[i].onChange(r);this.updateMarkers()},l.prototype.updateMarkers=function(){if(!this.$updating){var r=this,i=this.session,n=function(t,o){i.removeMarker(t.markerId),t.markerId=i.addMarker(new A(t.row,t.column,t.row,t.column+r.length),o,null,!1)};n(this.pos,this.mainClass);for(var e=this.others.length;e--;)n(this.others[e],this.othersClass)}},l.prototype.onCursorChange=function(r){if(!(this.$updating||!this.session)){var i=this.session.selection.getCursor();i.row===this.pos.row&&i.column>=this.pos.column&&i.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",r)):(this.hideOtherMarkers(),this._emit("cursorLeave",r))}},l.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},l.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var r=this.session.getUndoManager(),i=(r.$undoStack||r.$undostack).length-this.$undoStackDepth,n=0;n1?C.multiSelect.joinSelections():C.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(C){C.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(C){C.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(C){C.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],T.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(C){C.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(C){return C&&C.inMultiSelectMode}}];var A=k("../keyboard/hash_handler").HashHandler;T.keyboardHandler=new A(T.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(k,T,E){var A=k("./range_list").RangeList,C=k("./range").Range,S=k("./selection").Selection,s=k("./mouse/multi_select_handler").onMouseDown,l=k("./lib/event"),r=k("./lib/lang"),i=k("./commands/multi_select_commands");T.commands=i.defaultCommands.concat(i.multiSelectCommands);var n=k("./search").Search,e=new n;function t(v,b,u){return e.$options.wrap=!0,e.$options.needle=b,e.$options.backwards=u==-1,e.find(v)}var o=k("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(o.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(v,b){if(!!v){if(!this.inMultiSelectMode&&this.rangeCount===0){var u=this.toOrientedRange();if(this.rangeList.add(u),this.rangeList.add(v),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),b||this.fromOrientedRange(v);this.rangeList.removeAll(),this.rangeList.add(u),this.$onAddRange(u)}v.cursor||(v.cursor=v.end);var h=this.rangeList.add(v);return this.$onAddRange(v),h.length&&this.$onRemoveRange(h),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),b||this.fromOrientedRange(v)}},this.toSingleRange=function(v){v=v||this.ranges[0];var b=this.rangeList.removeAll();b.length&&this.$onRemoveRange(b),v&&this.fromOrientedRange(v)},this.substractPoint=function(v){var b=this.rangeList.substractPoint(v);if(b)return this.$onRemoveRange(b),b[0]},this.mergeOverlappingRanges=function(){var v=this.rangeList.merge();v.length&&this.$onRemoveRange(v)},this.$onAddRange=function(v){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(v),this._signal("addRange",{range:v})},this.$onRemoveRange=function(v){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var b=this.rangeList.ranges.pop();v.push(b),this.rangeCount=0}for(var u=v.length;u--;){var h=this.ranges.indexOf(v[u]);this.ranges.splice(h,1)}this._signal("removeRange",{ranges:v}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),b=b||this.ranges[0],b&&!b.isEqual(this.getRange())&&this.fromOrientedRange(b)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new A,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var v=this.ranges.length?this.ranges:[this.getRange()],b=[],u=0;u1){var v=this.rangeList.ranges,b=v[v.length-1],u=C.fromPoints(v[0].start,b.end);this.toSingleRange(),this.setSelectionRange(u,b.cursor==b.start)}else{var h=this.session.documentToScreenPosition(this.cursor),f=this.session.documentToScreenPosition(this.anchor),m=this.rectangularRangeBlock(h,f);m.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(v,b,u){var h=[],f=v.column0;)I--;if(I>0)for(var F=0;h[F].isEmpty();)F++;for(var O=I;O>=F;O--)h[O].isEmpty()&&h.splice(O,1)}return h}}.call(S.prototype);var a=k("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(v){v.cursor||(v.cursor=v.end);var b=this.getSelectionStyle();return v.marker=this.session.addMarker(v,"ace_selection",b),this.session.$selectionMarkers.push(v),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,v},this.removeSelectionMarker=function(v){if(!!v.marker){this.session.removeMarker(v.marker);var b=this.session.$selectionMarkers.indexOf(v);b!=-1&&this.session.$selectionMarkers.splice(b,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(v){for(var b=this.session.$selectionMarkers,u=v.length;u--;){var h=v[u];if(!!h.marker){this.session.removeMarker(h.marker);var f=b.indexOf(h);f!=-1&&b.splice(f,1)}}this.session.selectionMarkerCount=b.length},this.$onAddRange=function(v){this.addSelectionMarker(v.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(v){this.removeSelectionMarkers(v.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(v){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(i.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(v){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(i.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(v){var b=v.command,u=v.editor;if(!!u.multiSelect){if(b.multiSelectAction)b.multiSelectAction=="forEach"?h=u.forEachSelection(b,v.args):b.multiSelectAction=="forEachLine"?h=u.forEachSelection(b,v.args,!0):b.multiSelectAction=="single"?(u.exitMultiSelectMode(),h=b.exec(u,v.args||{})):h=b.multiSelectAction(u,v.args||{});else{var h=b.exec(u,v.args||{});u.multiSelect.addRange(u.multiSelect.toOrientedRange()),u.multiSelect.mergeOverlappingRanges()}return h}},this.forEachSelection=function(v,b,u){if(!this.inVirtualSelectionMode){var h=u&&u.keepOrder,f=u==!0||u&&u.$byLines,m=this.session,M=this.selection,y=M.rangeList,w=(h?M:y).ranges,p;if(!w.length)return v.exec?v.exec(this,b||{}):v(this,b||{});var d=M._eventRegistry;M._eventRegistry={};var $=new S(m);this.inVirtualSelectionMode=!0;for(var _=w.length;_--;){if(f)for(;_>0&&w[_].start.row==w[_-1].end.row;)_--;$.fromOrientedRange(w[_]),$.index=_,this.selection=m.selection=$;var x=v.exec?v.exec(this,b||{}):v(this,b||{});!p&&x!==void 0&&(p=x),$.toOrientedRange(w[_])}$.detach(),this.selection=m.selection=M,this.inVirtualSelectionMode=!1,M._eventRegistry=d,M.mergeOverlappingRanges(),M.ranges[0]&&M.fromOrientedRange(M.ranges[0]);var R=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),R&&R.from==R.to&&this.renderer.animateScrolling(R.from),p}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var v="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var b=this.multiSelect.rangeList.ranges,u=[],h=0;h0);M<0&&(M=0),y>=p&&(y=p-1)}var $=this.session.removeFullLines(M,y);$=this.$reAlignText($,w),this.session.insert({row:M,column:0},$.join(` +`)+` +`),w||(m.start.column=0,m.end.column=$[$.length-1].length),this.selection.setRange(m)}else{f.forEach(function(I){b.substractPoint(I.cursor)});var _=0,x=1/0,R=u.map(function(I){var F=I.cursor,O=v.getLine(F.row),N=O.substr(F.column).search(/\S/g);return N==-1&&(N=0),F.column>_&&(_=F.column),NH?v.insert(O,r.stringRepeat(" ",N-H)):v.remove(new C(O.row,O.column,O.row,O.column-N+H)),I.start.column=I.end.column=_,I.start.row=I.end.row=O.row,I.cursor=I.end}),b.fromOrientedRange(u[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(v,b){var u=!0,h=!0,f,m,M;return v.map(function($){var _=$.match(/(\s*)(.*?)(\s*)([=:].*)/);return _?f==null?(f=_[1].length,m=_[2].length,M=_[3].length,_):(f+m+M!=_[1].length+_[2].length+_[3].length&&(h=!1),f!=_[1].length&&(u=!1),f>_[1].length&&(f=_[1].length),m<_[2].length&&(m=_[2].length),M>_[3].length&&(M=_[3].length),_):[$]}).map(b?w:u?h?p:w:d);function y($){return r.stringRepeat(" ",$)}function w($){return $[2]?y(f)+$[2]+y(m-$[2].length+M)+$[4].replace(/^([=:])\s+/,"$1 "):$[0]}function p($){return $[2]?y(f+m-$[2].length)+$[2]+y(M)+$[4].replace(/^([=:])\s+/,"$1 "):$[0]}function d($){return $[2]?y(f)+$[2]+y(M)+$[4].replace(/^([=:])\s+/,"$1 "):$[0]}}}).call(a.prototype);function c(v,b){return v.row==b.row&&v.column==b.column}T.onSessionChange=function(v){var b=v.session;b&&!b.multiSelect&&(b.$selectionMarkers=[],b.selection.$initRangeList(),b.multiSelect=b.selection),this.multiSelect=b&&b.multiSelect;var u=v.oldSession;u&&(u.multiSelect.off("addRange",this.$onAddRange),u.multiSelect.off("removeRange",this.$onRemoveRange),u.multiSelect.off("multiSelect",this.$onMultiSelect),u.multiSelect.off("singleSelect",this.$onSingleSelect),u.multiSelect.lead.off("change",this.$checkMultiselectChange),u.multiSelect.anchor.off("change",this.$checkMultiselectChange)),b&&(b.multiSelect.on("addRange",this.$onAddRange),b.multiSelect.on("removeRange",this.$onRemoveRange),b.multiSelect.on("multiSelect",this.$onMultiSelect),b.multiSelect.on("singleSelect",this.$onSingleSelect),b.multiSelect.lead.on("change",this.$checkMultiselectChange),b.multiSelect.anchor.on("change",this.$checkMultiselectChange)),b&&this.inMultiSelectMode!=b.selection.inMultiSelectMode&&(b.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function g(v){v.$multiselectOnSessionChange||(v.$onAddRange=v.$onAddRange.bind(v),v.$onRemoveRange=v.$onRemoveRange.bind(v),v.$onMultiSelect=v.$onMultiSelect.bind(v),v.$onSingleSelect=v.$onSingleSelect.bind(v),v.$multiselectOnSessionChange=T.onSessionChange.bind(v),v.$checkMultiselectChange=v.$checkMultiselectChange.bind(v),v.$multiselectOnSessionChange(v),v.on("changeSession",v.$multiselectOnSessionChange),v.on("mousedown",s),v.commands.addCommands(i.defaultCommands),L(v))}function L(v){if(!v.textInput)return;var b=v.textInput.getElement(),u=!1;l.addListener(b,"keydown",function(f){var m=f.keyCode==18&&!(f.ctrlKey||f.shiftKey||f.metaKey);v.$blockSelectEnabled&&m?u||(v.renderer.setMouseCursor("crosshair"),u=!0):u&&h()},v),l.addListener(b,"keyup",h,v),l.addListener(b,"blur",h,v);function h(f){u&&(v.renderer.setMouseCursor(""),u=!1)}}T.MultiSelect=g,k("./config").defineOptions(a.prototype,"editor",{enableMultiselect:{set:function(v){g(this),v?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(v){this.$blockSelectEnabled=v},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(k,T,E){"use strict";var A=k("../../range").Range,C=T.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(S,s,l){var r=S.getLine(l);return this.foldingStartMarker.test(r)?"start":s=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(S,s,l){return null},this.indentationBlock=function(S,s,l){var r=/\S/,i=S.getLine(s),n=i.search(r);if(n!=-1){for(var e=l||i.length,t=S.getLength(),o=s,a=s;++so){var L=S.getLine(a).length;return new A(o,e,a,L)}}},this.openingBracketBlock=function(S,s,l,r,i){var n={row:l,column:r+1},e=S.$findClosingBracket(s,n,i);if(!!e){var t=S.foldWidgets[e.row];return t==null&&(t=S.getFoldWidget(e.row)),t=="start"&&e.row>n.row&&(e.row--,e.column=S.getLine(e.row).length),A.fromPoints(n,e)}},this.closingBracketBlock=function(S,s,l,r,i){var n={row:l,column:r},e=S.$findOpeningBracket(s,n);if(!!e)return e.column++,n.column--,A.fromPoints(e,n)}}).call(C.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(k,T,E){"use strict";var A=k("../line_widgets").LineWidgets,C=k("../lib/dom"),S=k("../range").Range,s=k("../config").nls;function l(i,n,e){for(var t=0,o=i.length-1;t<=o;){var a=t+o>>1,c=e(n,i[a]);if(c>0)t=a+1;else if(c<0)o=a-1;else return a}return-(t+1)}function r(i,n,e){var t=i.getAnnotations().sort(S.comparePoints);if(!!t.length){var o=l(t,{row:n,column:-1},S.comparePoints);o<0&&(o=-o-1),o>=t.length?o=e>0?0:t.length-1:o===0&&e<0&&(o=t.length-1);var a=t[o];if(!(!a||!e)){if(a.row===n){do a=t[o+=e];while(a&&a.row===n);if(!a)return t.slice()}var c=[];n=a.row;do c[e<0?"unshift":"push"](a),a=t[o+=e];while(a&&a.row==n);return c.length&&c}}}T.showErrorMarker=function(i,n){var e=i.session;e.widgetManager||(e.widgetManager=new A(e),e.widgetManager.attach(i));var t=i.getCursorPosition(),o=t.row,a=e.widgetManager.getWidgetsAtRow(o).filter(function(m){return m.type=="errorMarker"})[0];a?a.destroy():o-=n;var c=r(e,o,n),g;if(c){var L=c[0];t.column=(L.pos&&typeof L.column!="number"?L.pos.sc:L.column)||0,t.row=L.row,g=i.renderer.$gutterLayer.$annotations[t.row]}else{if(a)return;g={text:[s("error-marker.good-state","Looks good!")],className:"ace_ok"}}i.session.unfold(t.row),i.selection.moveToPosition(t);var v={row:t.row,fixedWidth:!0,coverGutter:!0,el:C.createElement("div"),type:"errorMarker"},b=v.el.appendChild(C.createElement("div")),u=v.el.appendChild(C.createElement("div"));u.className="error_widget_arrow "+g.className;var h=i.renderer.$cursorLayer.getPixelPosition(t).left;u.style.left=h+i.renderer.gutterWidth-5+"px",v.el.className="error_widget_wrapper",b.className="error_widget "+g.className,b.innerHTML=g.text.join("
    "),b.appendChild(C.createElement("div"));var f=function(m,M,y){if(M===0&&(y==="esc"||y==="return"))return v.destroy(),{command:"null"}};v.destroy=function(){i.$mouseHandler.isMousePressed||(i.keyBinding.removeKeyboardHandler(f),e.widgetManager.removeLineWidget(v),i.off("changeSelection",v.destroy),i.off("changeSession",v.destroy),i.off("mouseup",v.destroy),i.off("change",v.destroy))},i.keyBinding.addKeyboardHandler(f),i.on("changeSelection",v.destroy),i.on("changeSession",v.destroy),i.on("mouseup",v.destroy),i.on("change",v.destroy),i.session.widgetManager.addLineWidget(v),v.el.onmousedown=i.focus.bind(i),i.renderer.scrollCursorIntoView(null,.5,{bottom:v.el.offsetHeight})},C.importCssString(` + .error_widget_wrapper { + background: inherit; + color: inherit; + border:none + } + .error_widget { + border-top: solid 2px; + border-bottom: solid 2px; + margin: 5px 0; + padding: 10px 40px; + white-space: pre-wrap; + } + .error_widget.ace_error, .error_widget_arrow.ace_error{ + border-color: #ff5a5a + } + .error_widget.ace_warning, .error_widget_arrow.ace_warning{ + border-color: #F1D817 + } + .error_widget.ace_info, .error_widget_arrow.ace_info{ + border-color: #5a5a5a + } + .error_widget.ace_ok, .error_widget_arrow.ace_ok{ + border-color: #5aaa5a + } + .error_widget_arrow { + position: absolute; + border: solid 5px; + border-top-color: transparent!important; + border-right-color: transparent!important; + border-left-color: transparent!important; + top: -5px; + } +`,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(k,T,E){"use strict";k("./loader_build")(T);var A=k("./lib/dom"),C=k("./range").Range,S=k("./editor").Editor,s=k("./edit_session").EditSession,l=k("./undomanager").UndoManager,r=k("./virtual_renderer").VirtualRenderer;k("./worker/worker_client"),k("./keyboard/hash_handler"),k("./placeholder"),k("./multi_select"),k("./mode/folding/fold_mode"),k("./theme/textmate"),k("./ext/error_marker"),T.config=k("./config"),T.edit=function(i,n){if(typeof i=="string"){var e=i;if(i=document.getElementById(e),!i)throw new Error("ace.edit can't find div #"+e)}if(i&&i.env&&i.env.editor instanceof S)return i.env.editor;var t="";if(i&&/input|textarea/i.test(i.tagName)){var o=i;t=o.value,i=A.createElement("pre"),o.parentNode.replaceChild(i,o)}else i&&(t=i.textContent,i.innerHTML="");var a=T.createEditSession(t),c=new S(new r(i),a,n),g={document:a,editor:c,onResize:c.resize.bind(c,null)};return o&&(g.textarea=o),c.on("destroy",function(){g.editor.container.env=null}),c.container.env=c.env=g,c},T.createEditSession=function(i,n){var e=new s(i,n);return e.setUndoManager(new l),e},T.Range=C,T.Editor=S,T.EditSession=s,T.UndoManager=l,T.VirtualRenderer=r,T.version=T.config.version}),function(){ace.require(["ace/ace"],function(k){k&&(k.config.init(!0),k.define=ace.define);var T=function(){return this}();!T&&typeof window!="undefined"&&(T=window),!T&&typeof self!="undefined"&&(T=self),T.ace||(T.ace=k);for(var E in k)k.hasOwnProperty(E)&&(T.ace[E]=k[E]);T.ace.default=T.ace,he&&(he.exports=T.ace)})}()},82679:function(he,V,q){he=q.nmd(he),ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],function(k,T,E){"use strict";var A=k("./lib/dom"),C=k("./lib/oop"),S=k("./lib/event_emitter").EventEmitter,s=k("./lib/lang"),l=k("./range").Range,r=k("./range_list").RangeList,i=k("./keyboard/hash_handler").HashHandler,n=k("./tokenizer").Tokenizer,e=k("./clipboard"),t={CURRENT_WORD:function(u){return u.session.getTextRange(u.session.getWordRange())},SELECTION:function(u,h,f){var m=u.session.getTextRange();return f?m.replace(/\n\r?([ \t]*\S)/g,` +`+f+"$1"):m},CURRENT_LINE:function(u){return u.session.getLine(u.getCursorPosition().row)},PREV_LINE:function(u){return u.session.getLine(u.getCursorPosition().row-1)},LINE_INDEX:function(u){return u.getCursorPosition().row},LINE_NUMBER:function(u){return u.getCursorPosition().row+1},SOFT_TABS:function(u){return u.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(u){return u.session.getTabSize()},CLIPBOARD:function(u){return e.getText&&e.getText()},FILENAME:function(u){return/[^/\\]*$/.exec(this.FILEPATH(u))[0]},FILENAME_BASE:function(u){return/[^/\\]*$/.exec(this.FILEPATH(u))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(u){return this.FILEPATH(u).replace(/[^/\\]*$/,"")},FILEPATH:function(u){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(u){var h=u.session.$mode||{};return h.blockComment&&h.blockComment.start||""},BLOCK_COMMENT_END:function(u){var h=u.session.$mode||{};return h.blockComment&&h.blockComment.end||""},LINE_COMMENT:function(u){var h=u.session.$mode||{};return h.lineCommentStart||""},CURRENT_YEAR:o.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:o.bind(null,{year:"2-digit"}),CURRENT_MONTH:o.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:o.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:o.bind(null,{month:"short"}),CURRENT_DATE:o.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:o.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:o.bind(null,{weekday:"short"}),CURRENT_HOUR:o.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:o.bind(null,{minute:"2-digit"}),CURRENT_SECOND:o.bind(null,{second:"2-digit"})};t.SELECTED_TEXT=t.SELECTION;function o(u){var h=new Date().toLocaleString("en-us",u);return h.length==1?"0"+h:h}var a=function(){function u(){this.snippetMap={},this.snippetNameMap={},this.variables=t}return u.prototype.getTokenizer=function(){return u.$tokenizer||this.createTokenizer()},u.prototype.createTokenizer=function(){function h(M){return M=M.substr(1),/^\d+$/.test(M)?[{tabstopId:parseInt(M,10)}]:[{text:M}]}function f(M){return"(?:[^\\\\"+M+"]|\\\\.)"}var m={regex:"/("+f("/")+"+)/",onMatch:function(M,y,w){var p=w[0];return p.fmtString=!0,p.guard=M.slice(1,-1),p.flag="",""},next:"formatString"};return u.$tokenizer=new n({start:[{regex:/\\./,onMatch:function(M,y,w){var p=M[1];return(p=="}"&&w.length||"`$\\".indexOf(p)!=-1)&&(M=p),[M]}},{regex:/}/,onMatch:function(M,y,w){return[w.length?w.shift():M]}},{regex:/\$(?:\d+|\w+)/,onMatch:h},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(M,y,w){var p=h(M.substr(1));return w.unshift(p[0]),p},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+f("\\|")+"*\\|",onMatch:function(M,y,w){var p=M.slice(1,-1).replace(/\\[,|\\]|,/g,function(d){return d.length==2?d[1]:"\0"}).split("\0").map(function(d){return{value:d}});return w[0].choices=p,[p[0]]},next:"start"},m,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(M,y,w){return w.length&&w[0].expectElse?(w[0].expectElse=!1,w[0].ifEnd={elseEnd:w[0]},[w[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(M,y,w){var p=M[1];return p=="}"&&w.length||"`$\\".indexOf(p)!=-1?M=p:p=="n"?M=` +`:p=="t"?M=" ":"ulULE".indexOf(p)!=-1&&(M={changeCase:p,local:p>"a"}),[M]}},{regex:"/\\w*}",onMatch:function(M,y,w){var p=w.shift();return p&&(p.flag=M.slice(1,-1)),this.next=p&&p.tabstopId?"start":"",[p||M]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(M,y,w){return[{text:M.slice(1)}]}},{regex:/\${\w+/,onMatch:function(M,y,w){var p={text:M.slice(2)};return w.unshift(p),[p]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(M,y,w){var p=w.shift();return this.next=p&&p.tabstopId?"start":"",[p||M]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(M,y,w){var p=w[0];return p.formatFunction=M.slice(2,-1),[w.shift()]},next:"formatString"},m,{regex:/:[\?\-+]?/,onMatch:function(M,y,w){M[1]=="+"&&(w[0].ifEnd=w[0]),M[1]=="?"&&(w[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),u.$tokenizer},u.prototype.tokenizeTmSnippet=function(h,f){return this.getTokenizer().getLineTokens(h,f).tokens.map(function(m){return m.value||m})},u.prototype.getVariableValue=function(h,f,m){if(/^\d+$/.test(f))return(this.variables.__||{})[f]||"";if(/^[A-Z]\d+$/.test(f))return(this.variables[f[0]+"__"]||{})[f.substr(1)]||"";if(f=f.replace(/^TM_/,""),!this.variables.hasOwnProperty(f))return"";var M=this.variables[f];return typeof M=="function"&&(M=this.variables[f](h,f,m)),M==null?"":M},u.prototype.tmStrFormat=function(h,f,m){if(!f.fmt)return h;var M=f.flag||"",y=f.guard;y=new RegExp(y,M.replace(/[^gim]/g,""));var w=typeof f.fmt=="string"?this.tokenizeTmSnippet(f.fmt,"formatString"):f.fmt,p=this,d=h.replace(y,function(){var $=p.variables.__;p.variables.__=[].slice.call(arguments);for(var _=p.resolveVariables(w,m),x="E",R=0;R<_.length;R++){var I=_[R];if(typeof I=="object")if(_[R]="",I.changeCase&&I.local){var F=_[R+1];F&&typeof F=="string"&&(I.changeCase=="u"?_[R]=F[0].toUpperCase():_[R]=F[0].toLowerCase(),_[R+1]=F.substr(1))}else I.changeCase&&(x=I.changeCase);else x=="U"?_[R]=I.toUpperCase():x=="L"&&(_[R]=I.toLowerCase())}return p.variables.__=$,_.join("")});return d},u.prototype.tmFormatFunction=function(h,f,m){return f.formatFunction=="upcase"?h.toUpperCase():f.formatFunction=="downcase"?h.toLowerCase():h},u.prototype.resolveVariables=function(h,f){for(var m=[],M="",y=!0,w=0;w=0&&d.splice($,1)}}h.content?y(h):Array.isArray(h)&&h.forEach(y)},u.prototype.parseSnippetFile=function(h){h=h.replace(/\r/g,"");for(var f=[],m={},M=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm,y;y=M.exec(h);){if(y[1])try{m=JSON.parse(y[1]),f.push(m)}catch($){}if(y[4])m.content=y[4].replace(/^\t/gm,""),f.push(m),m={};else{var w=y[2],p=y[3];if(w=="regex"){var d=/\/((?:[^\/\\]|\\.)*)|$/g;m.guard=d.exec(p)[1],m.trigger=d.exec(p)[1],m.endTrigger=d.exec(p)[1],m.endGuard=d.exec(p)[1]}else w=="snippet"?(m.tabTrigger=p.match(/^\S*/)[0],m.name||(m.name=p)):w&&(m[w]=p)}}return f},u.prototype.getSnippetByName=function(h,f){var m=this.snippetNameMap,M;return this.getActiveScopes(f).some(function(y){var w=m[y];return w&&(M=w[h]),!!M},this),M},u}();C.implement(a.prototype,S);var c=function(u,h,f){f===void 0&&(f={});var m=u.getCursorPosition(),M=u.session.getLine(m.row),y=u.session.getTabString(),w=M.match(/^\s*/)[0];m.column1?(B=K[K.length-1].length,H+=K.length-1):B+=U.length,P+=U}else U&&(U.start?U.end={row:H,column:B}:U.start={row:H,column:B})}),{text:P,tabstops:d,tokens:p}},g=function(){function u(h){if(this.index=0,this.ranges=[],this.tabstops=[],h.tabstopManager)return h.tabstopManager;h.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=s.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(h)}return u.prototype.attach=function(h){this.$openTabstops=null,this.selectedTabstop=null,this.editor=h,this.session=h.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},u.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},u.prototype.onChange=function(h){for(var f=h.action[0]=="r",m=this.selectedTabstop||{},M=m.parents||{},y=this.tabstops.slice(),w=0;w2&&(this.tabstops.length&&p.push(p.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,p))},u.prototype.addTabstopMarkers=function(h){var f=this.session;h.forEach(function(m){m.markerId||(m.markerId=f.addMarker(m,"ace_snippet-marker","text"))})},u.prototype.removeTabstopMarkers=function(h){var f=this.session;h.forEach(function(m){f.removeMarker(m.markerId),m.markerId=null})},u.prototype.updateTabstopMarkers=function(){if(!!this.selectedTabstop){var h=this.selectedTabstop.snippetId;this.selectedTabstop.index===0&&h--,this.tabstops.forEach(function(f){f.snippetId===h?this.addTabstopMarkers(f):this.removeTabstopMarkers(f)},this)}},u.prototype.removeRange=function(h){var f=h.tabstop.indexOf(h);f!=-1&&h.tabstop.splice(f,1),f=this.ranges.indexOf(h),f!=-1&&this.ranges.splice(f,1),f=h.tabstop.rangeList.ranges.indexOf(h),f!=-1&&h.tabstop.splice(f,1),this.session.removeMarker(h.markerId),h.tabstop.length||(f=this.tabstops.indexOf(h.tabstop),f!=-1&&this.tabstops.splice(f,1),this.tabstops.length||this.detach())},u}();g.prototype.keyboardHandler=new i,g.prototype.keyboardHandler.bindKeys({Tab:function(u){T.snippetManager&&T.snippetManager.expandWithTab(u)||(u.tabstopManager.tabNext(1),u.renderer.scrollCursorIntoView())},"Shift-Tab":function(u){u.tabstopManager.tabNext(-1),u.renderer.scrollCursorIntoView()},Esc:function(u){u.tabstopManager.detach()}});var L=function(u,h){u.row==0&&(u.column+=h.column),u.row+=h.row},v=function(u,h){u.row==h.row&&(u.column-=h.column),u.row-=h.row};A.importCssString(` +.ace_snippet-marker { + -moz-box-sizing: border-box; + box-sizing: border-box; + background: rgba(194, 193, 208, 0.09); + border: 1px dotted rgba(211, 208, 235, 0.62); + position: absolute; +}`,"snippets.css",!1),T.snippetManager=new a;var b=k("./editor").Editor;(function(){this.insertSnippet=function(u,h){return T.snippetManager.insertSnippet(this,u,h)},this.expandSnippet=function(u){return T.snippetManager.expandWithTab(this,u)}}).call(b.prototype)}),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config","ace/lib/useragent"],function(k,T,E){"use strict";var A=k("../virtual_renderer").VirtualRenderer,C=k("../editor").Editor,S=k("../range").Range,s=k("../lib/event"),l=k("../lib/lang"),r=k("../lib/dom"),i=k("../config").nls,n=k("./../lib/useragent"),e=function(L){return"suggest-aria-id:".concat(L)},t=n.isSafari?"menu":"listbox",o=n.isSafari?"menuitem":"option",a=n.isSafari?"aria-current":"aria-selected",c=function(L){var v=new A(L);v.$maxLines=4;var b=new C(v);return b.setHighlightActiveLine(!1),b.setShowPrintMargin(!1),b.renderer.setShowGutter(!1),b.renderer.setHighlightGutterLine(!1),b.$mouseHandler.$focusTimeout=0,b.$highlightTagPending=!0,b},g=function(){function L(v){var b=r.createElement("div"),u=c(b);v&&v.appendChild(b),b.style.display="none",u.renderer.content.style.cursor="default",u.renderer.setStyle("ace_autocomplete"),u.renderer.$textLayer.element.setAttribute("role",t),u.renderer.$textLayer.element.setAttribute("aria-roledescription",i("autocomplete.popup.aria-roledescription","Autocomplete suggestions")),u.renderer.$textLayer.element.setAttribute("aria-label",i("autocomplete.popup.aria-label","Autocomplete suggestions")),u.renderer.textarea.setAttribute("aria-hidden","true"),u.setOption("displayIndentGuides",!1),u.setOption("dragDelay",150);var h=function(){};u.focus=h,u.$isFocused=!0,u.renderer.$cursorLayer.restartTimer=h,u.renderer.$cursorLayer.element.style.opacity="0",u.renderer.$maxLines=8,u.renderer.$keepTextAreaAtCursor=!1,u.setHighlightActiveLine(!1),u.session.highlight(""),u.session.$searchHighlight.clazz="ace_highlight-marker",u.on("mousedown",function(d){var $=d.getDocumentPosition();u.selection.moveToPosition($),M.start.row=M.end.row=$.row,d.stop()});var f,m=new S(-1,0,-1,1/0),M=new S(-1,0,-1,1/0);M.id=u.session.addMarker(M,"ace_active-line","fullLine"),u.setSelectOnHover=function(d){d?m.id&&(u.session.removeMarker(m.id),m.id=null):m.id=u.session.addMarker(m,"ace_line-hover","fullLine")},u.setSelectOnHover(!1),u.on("mousemove",function(d){if(!f){f=d;return}if(!(f.x==d.x&&f.y==d.y)){f=d,f.scrollTop=u.renderer.scrollTop,u.isMouseOver=!0;var $=f.getDocumentPosition().row;m.start.row!=$&&(m.id||u.setRow($),w($))}}),u.renderer.on("beforeRender",function(){if(f&&m.start.row!=-1){f.$pos=null;var d=f.getDocumentPosition().row;m.id||u.setRow(d),w(d,!0)}}),u.renderer.on("afterRender",function(){var d=u.getRow(),$=u.renderer.$textLayer,_=$.element.childNodes[d-$.config.firstRow],x=document.activeElement;if(_!==u.selectedNode&&u.selectedNode&&(r.removeCssClass(u.selectedNode,"ace_selected"),x.removeAttribute("aria-activedescendant"),u.selectedNode.removeAttribute(a),u.selectedNode.removeAttribute("id")),u.selectedNode=_,_){r.addCssClass(_,"ace_selected");var R=e(d);_.id=R,$.element.setAttribute("aria-activedescendant",R),x.setAttribute("aria-activedescendant",R),_.setAttribute("role",o),_.setAttribute("aria-roledescription",i("autocomplete.popup.item.aria-roledescription","item")),_.setAttribute("aria-label",u.getData(d).caption||u.getData(d).value),_.setAttribute("aria-setsize",u.data.length),_.setAttribute("aria-posinset",d+1),_.setAttribute("aria-describedby","doc-tooltip"),_.setAttribute(a,"true")}});var y=function(){w(-1)},w=function(d,$){d!==m.start.row&&(m.start.row=m.end.row=d,$||u.session._emit("changeBackMarker"),u._emit("changeHoverMarker"))};u.getHoveredRow=function(){return m.start.row},s.addListener(u.container,"mouseout",function(){u.isMouseOver=!1,y()}),u.on("hide",y),u.on("changeSelection",y),u.session.doc.getLength=function(){return u.data.length},u.session.doc.getLine=function(d){var $=u.data[d];return typeof $=="string"?$:$&&$.value||""};var p=u.session.bgTokenizer;return p.$tokenizeRow=function(d){var $=u.data[d],_=[];if(!$)return _;typeof $=="string"&&($={value:$});var x=$.caption||$.value||$.name;function R(U,K){U&&_.push({type:($.className||"")+(K||""),value:U})}for(var I=x.toLowerCase(),F=(u.filterText||"").toLowerCase(),O=0,N=0,H=0;H<=F.length;H++)if(H!=N&&($.matchMask&1<=N?_="bottom":_="top"),_==="top"?(H.bottom=d.top-this.$borderSize,H.top=H.bottom-N):_==="bottom"&&(H.top=d.top+$+this.$borderSize,H.bottom=H.top+N);var U=H.top>=0&&H.bottom<=I;if(!x&&!U)return!1;U?O.$maxPixelHeight=null:_==="top"?O.$maxPixelHeight=P:O.$maxPixelHeight=B,_==="top"?(R.style.top="",R.style.bottom=I-H.bottom+"px",u.isTopdown=!1):(R.style.top=H.top+"px",R.style.bottom="",u.isTopdown=!0),R.style.display="";var K=d.left;return K+R.offsetWidth>F&&(K=F-R.offsetWidth),R.style.left=K+"px",R.style.right="",u.isOpen||(u.isOpen=!0,this._signal("show"),f=null),u.anchorPos=d,u.anchor=_,!0},u.show=function(d,$,_){this.tryShow(d,$,_?"bottom":void 0,!0)},u.goTo=function(d){var $=this.getRow(),_=this.session.getLength()-1;switch(d){case"up":$=$<=0?_:$-1;break;case"down":$=$>=_?-1:$+1;break;case"start":$=0;break;case"end":$=_;break}this.setRow($)},u.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},u.$imageSize=0,u.$borderSize=1,u}return L}();r.importCssString(` +.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { + background-color: #CAD6FA; + z-index: 1; +} +.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { + background-color: #3a674e; +} +.ace_editor.ace_autocomplete .ace_line-hover { + border: 1px solid #abbffe; + margin-top: -1px; + background: rgba(233,233,253,0.4); + position: absolute; + z-index: 2; +} +.ace_dark.ace_editor.ace_autocomplete .ace_line-hover { + border: 1px solid rgba(109, 150, 13, 0.8); + background: rgba(58, 103, 78, 0.62); +} +.ace_completion-meta { + opacity: 0.5; + margin-left: 0.9em; +} +.ace_completion-message { + margin-left: 0.9em; + color: blue; +} +.ace_editor.ace_autocomplete .ace_completion-highlight{ + color: #2d69c7; +} +.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{ + color: #93ca12; +} +.ace_editor.ace_autocomplete { + width: 300px; + z-index: 200000; + border: 1px lightgray solid; + position: fixed; + box-shadow: 2px 3px 5px rgba(0,0,0,.2); + line-height: 1.4; + background: #fefefe; + color: #111; +} +.ace_dark.ace_editor.ace_autocomplete { + border: 1px #484747 solid; + box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51); + line-height: 1.4; + background: #25282c; + color: #c1c1c1; +} +.ace_autocomplete .ace_text-layer { + width: calc(100% - 8px); +} +.ace_autocomplete .ace_line { + display: flex; + align-items: center; +} +.ace_autocomplete .ace_line > * { + min-width: 0; + flex: 0 0 auto; +} +.ace_autocomplete .ace_line .ace_ { + flex: 0 1 auto; + overflow: hidden; + text-overflow: ellipsis; +} +.ace_autocomplete .ace_completion-spacer { + flex: 1; +} +.ace_autocomplete.ace_loading:after { + content: ""; + position: absolute; + top: 0px; + height: 2px; + width: 8%; + background: blue; + z-index: 100; + animation: ace_progress 3s infinite linear; + animation-delay: 300ms; + transform: translateX(-100%) scaleX(1); +} +@keyframes ace_progress { + 0% { transform: translateX(-100%) scaleX(1) } + 50% { transform: translateX(625%) scaleX(2) } + 100% { transform: translateX(1500%) scaleX(3) } +} +@media (prefers-reduced-motion) { + .ace_autocomplete.ace_loading:after { + transform: translateX(625%) scaleX(2); + animation: none; + } +} +`,"autocompletion.css",!1),T.AcePopup=g,T.$singleLineEditor=c,T.getAriaId=e}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(k,T,E){"use strict";var A=function(){function C(S){this.editor=S,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return C.prototype.setScreenReaderContent=function(S){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var l=this.popup.getRow(),r=this.popup.renderer.$textLayer,i=r.element.childNodes[l-r.config.firstRow];if(i){for(var n="doc-tooltip ",e=0;e=0&&s.test(C[r]);r--)l.push(C[r]);return l.reverse().join("")},T.retrieveFollowingIdentifier=function(C,S,s){s=s||A;for(var l=[],r=S;r0)for(var u=this.popup.getFirstVisibleRow();u<=this.popup.getLastVisibleRow();u++){var h=this.popup.getData(u);h&&(!b||h.hideInlinePreview)&&this.$seen(h)}},v.prototype.$onPopupShow=function(b){this.$onPopupChange(b),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},v.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var b=this.editor.container.parentNode,u=[];b;)u.push(b),b.addEventListener("scroll",this.onLayoutChange,{passive:!0}),b=b.parentNode;this.$elements=u}},v.prototype.unObserveLayoutChanges=function(){var b=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(u){u.removeEventListener("scroll",b.onLayoutChange,{passive:!0})}),this.$elements=null},v.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},v.prototype.$updatePopupPosition=function(){var b=this.editor,u=b.renderer,h=u.layerConfig.lineHeight,f=u.$cursorLayer.getPixelPosition(this.base,!0);f.left-=this.popup.getTextLeftOffset();var m=b.container.getBoundingClientRect();f.top+=m.top-u.layerConfig.offset,f.left+=m.left-b.renderer.scrollLeft,f.left+=u.gutterWidth;var M={top:f.top,left:f.left};u.$ghostText&&u.$ghostTextWidget&&this.base.row===u.$ghostText.position.row&&(M.top+=u.$ghostTextWidget.el.offsetHeight);var y=b.container.getBoundingClientRect().bottom-h,w=ythis.filterText&&b.lastIndexOf(this.filterText,0)===0)var u=this.filtered;else var u=this.all;this.filterText=b,u=this.filterCompletions(u,this.filterText),u=u.sort(function(f,m){return m.exactMatch-f.exactMatch||m.$score-f.$score||(f.caption||f.value).localeCompare(m.caption||m.value)});var h=null;u=u.filter(function(f){var m=f.snippet||f.caption||f.value;return m===h?!1:(h=m,!0)}),this.filtered=u},v.prototype.filterCompletions=function(b,u){var h=[],f=u.toUpperCase(),m=u.toLowerCase();e:for(var M=0,y;y=b[M];M++){var w=!this.ignoreCaption&&y.caption||y.value||y.snippet;if(!!w){var p=-1,d=0,$=0,_,x;if(this.exactMatch){if(u!==w.substr(0,u.length))continue e}else{var R=w.toLowerCase().indexOf(m);if(R>-1)$=R;else for(var I=0;I=0&&(O<0||F0&&(p===-1&&($+=10),$+=x,d=d|1<",s.escapeHTML(f.caption),"","
    ",s.escapeHTML(n(f.snippet))].join(""))},id:"snippetCompleter"},t=[e,r,i];T.setCompleters=function(f){t.length=0,f&&t.push.apply(t,f)},T.addCompleter=function(f){t.push(f)},T.textCompleter=r,T.keyWordCompleter=i,T.snippetCompleter=e;var o={name:"expandSnippet",exec:function(f){return A.expandWithTab(f)},bindKey:"Tab"},a=function(f,m){c(m.session.$mode)},c=function(f){typeof f=="string"&&(f=S.$modes[f]),f&&(A.files||(A.files={}),g(f.$id,f.snippetFileId),f.modes&&f.modes.forEach(c))},g=function(f,m){!m||!f||A.files[f]||(A.files[f]={},S.loadModule(m,function(M){!M||(A.files[f]=M,!M.snippets&&M.snippetText&&(M.snippets=A.parseSnippetFile(M.snippetText)),A.register(M.snippets||[],M.scope),M.includeScopes&&(A.snippetMap[M.scope].includeScopes=M.includeScopes,M.includeScopes.forEach(function(y){c("ace/mode/"+y)})))}))},L=function(f){var m=f.editor,M=m.completer&&m.completer.activated;if(f.command.name==="backspace")M&&!l.getCompletionPrefix(m)&&m.completer.detach();else if(f.command.name==="insertstring"&&!M){v=f;var y=f.editor.$liveAutocompletionDelay;y?b.delay(y):u(f)}},v,b=s.delayedCall(function(){u(v)},0),u=function(f){var m=f.editor,M=l.getCompletionPrefix(m),y=f.args,w=l.triggerAutocomplete(m,y);if(M&&M.length>=m.$liveAutocompletionThreshold||w){var p=C.for(m);p.autoShown=!0,p.showPopup(m)}},h=k("../editor").Editor;k("../config").defineOptions(h.prototype,"editor",{enableBasicAutocompletion:{set:function(f){f?(this.completers||(this.completers=Array.isArray(f)?f:t),this.commands.addCommand(C.startCommand)):this.commands.removeCommand(C.startCommand)},value:!1},enableLiveAutocompletion:{set:function(f){f?(this.completers||(this.completers=Array.isArray(f)?f:t),this.commands.on("afterExec",L)):this.commands.off("afterExec",L)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(f){f?(this.commands.addCommand(o),this.on("changeMode",a),a(null,this)):(this.commands.removeCommand(o),this.off("changeMode",a))},value:!1}})}),function(){ace.require(["ace/ext/language_tools"],function(k){he&&(he.exports=k)})}()},93083:function(he,V,q){he=q.nmd(he),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(k,T,E){"use strict";var A=k("./lib/oop"),C=k("./lib/lang"),S=k("./lib/event_emitter").EventEmitter,s=k("./editor").Editor,l=k("./virtual_renderer").VirtualRenderer,r=k("./edit_session").EditSession,i;i=function(n,e,t){this.BELOW=1,this.BESIDE=0,this.$container=n,this.$theme=e,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(t||1),this.$cEditor=this.$editors[0],this.on("focus",function(o){this.$cEditor=o}.bind(this))},function(){A.implement(this,S),this.$createEditor=function(){var n=document.createElement("div");n.className=this.$editorCSS,n.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(n);var e=new s(new l(n,this.$theme));return e.on("focus",function(){this._emit("focus",e)}.bind(this)),this.$editors.push(e),e.setFontSize(this.$fontSize),e},this.setSplits=function(n){var e;if(n<1)throw"The number of splits have to be > 0!";if(n!=this.$splits){if(n>this.$splits){for(;this.$splitsn;)e=this.$editors[this.$splits-1],this.$container.removeChild(e.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(n){return this.$editors[n]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(n){this.$editors.forEach(function(e){e.setTheme(n)})},this.setKeyboardHandler=function(n){this.$editors.forEach(function(e){e.setKeyboardHandler(n)})},this.forEach=function(n,e){this.$editors.forEach(n,e)},this.$fontSize="",this.setFontSize=function(n){this.$fontSize=n,this.forEach(function(e){e.setFontSize(n)})},this.$cloneSession=function(n){var e=new r(n.getDocument(),n.getMode()),t=n.getUndoManager();return e.setUndoManager(t),e.setTabSize(n.getTabSize()),e.setUseSoftTabs(n.getUseSoftTabs()),e.setOverwrite(n.getOverwrite()),e.setBreakpoints(n.getBreakpoints()),e.setUseWrapMode(n.getUseWrapMode()),e.setUseWorker(n.getUseWorker()),e.setWrapLimitRange(n.$wrapLimitRange.min,n.$wrapLimitRange.max),e.$foldData=n.$cloneFoldData(),e},this.setSession=function(n,e){var t;e==null?t=this.$cEditor:t=this.$editors[e];var o=this.$editors.some(function(a){return a.session===n});return o&&(n=this.$cloneSession(n)),t.setSession(n),n},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(n){this.$orientation!=n&&(this.$orientation=n,this.resize())},this.resize=function(){var n=this.$container.clientWidth,e=this.$container.clientHeight,t;if(this.$orientation==this.BESIDE)for(var o=n/this.$splits,a=0;ac)break;var g=this.getFoldWidgetRange(l,"all",r);if(g){if(g.start.row<=e)break;if(g.isMultiLine())r=g.end.row;else if(n==c)break}o=r}}return new C(e,t,o,l.getLine(o).length)},this.getCommentRegionBlock=function(l,r,i){for(var n=r.search(/\s*$/),e=l.getLength(),t=i,o=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++it)return new C(t,n,g,r.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(k,T,E){"use strict";var A=k("../lib/oop"),C=k("./text").Mode,S=k("./json_highlight_rules").JsonHighlightRules,s=k("./matching_brace_outdent").MatchingBraceOutdent,l=k("./folding/cstyle").FoldMode,r=k("../worker/worker_client").WorkerClient,i=function(){this.HighlightRules=S,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new l};A.inherits(i,C),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(n,e,t){var o=this.$getIndent(e);if(n=="start"){var a=e.match(/^.*[\{\(\[]\s*$/);a&&(o+=t)}return o},this.checkOutdent=function(n,e,t){return this.$outdent.checkOutdent(e,t)},this.autoOutdent=function(n,e,t){this.$outdent.autoOutdent(e,t)},this.createWorker=function(n){var e=new r(["ace"],"ace/mode/json_worker","JsonWorker");return e.attachToDocument(n.getDocument()),e.on("annotate",function(t){n.setAnnotations(t.data)}),e.on("terminate",function(){n.clearAnnotations()}),e},this.$id="ace/mode/json"}.call(i.prototype),T.Mode=i}),function(){ace.require(["ace/mode/json"],function(k){he&&(he.exports=k)})}()},52027:function(he){var V=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},q=-1,k=1,T=0;V.Diff=function(E,A){return[E,A]},V.prototype.diff_main=function(E,A,C,S){typeof S=="undefined"&&(this.Diff_Timeout<=0?S=Number.MAX_VALUE:S=new Date().getTime()+this.Diff_Timeout*1e3);var s=S;if(E==null||A==null)throw new Error("Null input. (diff_main)");if(E==A)return E?[new V.Diff(T,E)]:[];typeof C=="undefined"&&(C=!0);var l=C,r=this.diff_commonPrefix(E,A),i=E.substring(0,r);E=E.substring(r),A=A.substring(r),r=this.diff_commonSuffix(E,A);var n=E.substring(E.length-r);E=E.substring(0,E.length-r),A=A.substring(0,A.length-r);var e=this.diff_compute_(E,A,l,s);return i&&e.unshift(new V.Diff(T,i)),n&&e.push(new V.Diff(T,n)),this.diff_cleanupMerge(e),e},V.prototype.diff_compute_=function(E,A,C,S){var s;if(!E)return[new V.Diff(k,A)];if(!A)return[new V.Diff(q,E)];var l=E.length>A.length?E:A,r=E.length>A.length?A:E,i=l.indexOf(r);if(i!=-1)return s=[new V.Diff(k,l.substring(0,i)),new V.Diff(T,r),new V.Diff(k,l.substring(i+r.length))],E.length>A.length&&(s[0][0]=s[2][0]=q),s;if(r.length==1)return[new V.Diff(q,E),new V.Diff(k,A)];var n=this.diff_halfMatch_(E,A);if(n){var e=n[0],t=n[1],o=n[2],a=n[3],c=n[4],g=this.diff_main(e,o,C,S),L=this.diff_main(t,a,C,S);return g.concat([new V.Diff(T,c)],L)}return C&&E.length>100&&A.length>100?this.diff_lineMode_(E,A,S):this.diff_bisect_(E,A,S)},V.prototype.diff_lineMode_=function(E,A,C){var S=this.diff_linesToChars_(E,A);E=S.chars1,A=S.chars2;var s=S.lineArray,l=this.diff_main(E,A,!1,C);this.diff_charsToLines_(l,s),this.diff_cleanupSemantic(l),l.push(new V.Diff(T,""));for(var r=0,i=0,n=0,e="",t="";r=1&&n>=1){l.splice(r-i-n,i+n),r=r-i-n;for(var o=this.diff_main(e,t,!1,C),a=o.length-1;a>=0;a--)l.splice(r,0,o[a]);r=r+o.length}n=0,i=0,e="",t="";break}r++}return l.pop(),l},V.prototype.diff_bisect_=function(E,A,C){for(var S=E.length,s=A.length,l=Math.ceil((S+s)/2),r=l,i=2*l,n=new Array(i),e=new Array(i),t=0;tC);b++){for(var u=-b+c;u<=b-g;u+=2){var h=r+u,f;u==-b||u!=b&&n[h-1]S)g+=2;else if(m>s)c+=2;else if(a){var M=r+o-u;if(M>=0&&M=y)return this.diff_bisectSplit_(E,A,f,m,C)}}}for(var w=-b+L;w<=b-v;w+=2){var M=r+w,y;w==-b||w!=b&&e[M-1]S)v+=2;else if(p>s)L+=2;else if(!a){var h=r+o-w;if(h>=0&&h=y)return this.diff_bisectSplit_(E,A,f,m,C)}}}}return[new V.Diff(q,E),new V.Diff(k,A)]},V.prototype.diff_bisectSplit_=function(E,A,C,S,s){var l=E.substring(0,C),r=A.substring(0,S),i=E.substring(C),n=A.substring(S),e=this.diff_main(l,r,!1,s),t=this.diff_main(i,n,!1,s);return e.concat(t)},V.prototype.diff_linesToChars_=function(E,A){var C=[],S={};C[0]="";function s(n){for(var e="",t=0,o=-1,a=C.length;oS?E=E.substring(C-S):CA.length?E:A,S=E.length>A.length?A:E;if(C.length<4||S.length*2=g.length?[f,m,M,y,h]:null}var r=l(C,S,Math.ceil(C.length/4)),i=l(C,S,Math.ceil(C.length/2)),n;if(!r&&!i)return null;i?r?n=r[4].length>i[4].length?r:i:n=i:n=r;var e,t,o,a;E.length>A.length?(e=n[0],t=n[1],o=n[2],a=n[3]):(o=n[0],a=n[1],e=n[2],t=n[3]);var c=n[4];return[e,t,o,a,c]},V.prototype.diff_cleanupSemantic=function(E){for(var A=!1,C=[],S=0,s=null,l=0,r=0,i=0,n=0,e=0;l0?C[S-1]:-1,r=0,i=0,n=0,e=0,s=null,A=!0)),l++;for(A&&this.diff_cleanupMerge(E),this.diff_cleanupSemanticLossless(E),l=1;l=c?(a>=t.length/2||a>=o.length/2)&&(E.splice(l,0,new V.Diff(T,o.substring(0,a))),E[l-1][1]=t.substring(0,t.length-a),E[l+1][1]=o.substring(a),l++):(c>=t.length/2||c>=o.length/2)&&(E.splice(l,0,new V.Diff(T,t.substring(0,c))),E[l-1][0]=k,E[l-1][1]=o.substring(0,o.length-c),E[l+1][0]=q,E[l+1][1]=t.substring(c),l++),l++}l++}},V.prototype.diff_cleanupSemanticLossless=function(E){function A(c,g){if(!c||!g)return 6;var L=c.charAt(c.length-1),v=g.charAt(0),b=L.match(V.nonAlphaNumericRegex_),u=v.match(V.nonAlphaNumericRegex_),h=b&&L.match(V.whitespaceRegex_),f=u&&v.match(V.whitespaceRegex_),m=h&&L.match(V.linebreakRegex_),M=f&&v.match(V.linebreakRegex_),y=m&&c.match(V.blanklineEndRegex_),w=M&&g.match(V.blanklineStartRegex_);return y||w?5:m||M?4:b&&!h&&f?3:h||f?2:b||u?1:0}for(var C=1;C=o&&(o=a,n=S,e=s,t=l)}E[C-1][1]!=n&&(n?E[C-1][1]=n:(E.splice(C-1,1),C--),E[C][1]=e,t?E[C+1][1]=t:(E.splice(C+1,1),C--))}C++}},V.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,V.whitespaceRegex_=/\s/,V.linebreakRegex_=/[\r\n]/,V.blanklineEndRegex_=/\n\r?\n$/,V.blanklineStartRegex_=/^\r?\n\r?\n/,V.prototype.diff_cleanupEfficiency=function(E){for(var A=!1,C=[],S=0,s=null,l=0,r=!1,i=!1,n=!1,e=!1;l0?C[S-1]:-1,n=e=!1),A=!0)),l++;A&&this.diff_cleanupMerge(E)},V.prototype.diff_cleanupMerge=function(E){E.push(new V.Diff(T,""));for(var A=0,C=0,S=0,s="",l="",r;A1?(C!==0&&S!==0&&(r=this.diff_commonPrefix(l,s),r!==0&&(A-C-S>0&&E[A-C-S-1][0]==T?E[A-C-S-1][1]+=l.substring(0,r):(E.splice(0,0,new V.Diff(T,l.substring(0,r))),A++),l=l.substring(r),s=s.substring(r)),r=this.diff_commonSuffix(l,s),r!==0&&(E[A][1]=l.substring(l.length-r)+E[A][1],l=l.substring(0,l.length-r),s=s.substring(0,s.length-r))),A-=C+S,E.splice(A,C+S),s.length&&(E.splice(A,0,new V.Diff(q,s)),A++),l.length&&(E.splice(A,0,new V.Diff(k,l)),A++),A++):A!==0&&E[A-1][0]==T?(E[A-1][1]+=E[A][1],E.splice(A,1)):A++,S=0,C=0,s="",l="";break}E[E.length-1][1]===""&&E.pop();var i=!1;for(A=1;AA));r++)s=C,l=S;return E.length!=r&&E[r][0]===q?l:l+(A-s)},V.prototype.diff_prettyHtml=function(E){for(var A=[],C=/&/g,S=//g,l=/\n/g,r=0;r");switch(i){case k:A[r]=''+e+"";break;case q:A[r]=''+e+"";break;case T:A[r]=""+e+"";break}}return A.join("")},V.prototype.diff_text1=function(E){for(var A=[],C=0;Cthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var S=this.match_alphabet_(A),s=this;function l(f,m){var M=f/A.length,y=Math.abs(C-m);return s.Match_Distance?M+y/s.Match_Distance:y?1:M}var r=this.Match_Threshold,i=E.indexOf(A,C);i!=-1&&(r=Math.min(l(0,i),r),i=E.lastIndexOf(A,C+A.length),i!=-1&&(r=Math.min(l(0,i),r)));var n=1<=g;b--){var u=S[E.charAt(b-1)];if(c===0?v[b]=(v[b+1]<<1|1)&u:v[b]=(v[b+1]<<1|1)&u|((a[b+1]|a[b])<<1|1)|a[b+1],v[b]&n){var h=l(c,b-1);if(h<=r)if(r=h,i=b-1,i>C)g=Math.max(1,2*C-i);else break}}if(l(c+1,C)>r)break;a=v}return i},V.prototype.match_alphabet_=function(E){for(var A={},C=0;C2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(E&&typeof E=="object"&&typeof A=="undefined"&&typeof C=="undefined")s=E,S=this.diff_text1(s);else if(typeof E=="string"&&A&&typeof A=="object"&&typeof C=="undefined")S=E,s=A;else if(typeof E=="string"&&typeof A=="string"&&C&&typeof C=="object")S=E,s=C;else throw new Error("Unknown call format to patch_make.");if(s.length===0)return[];for(var l=[],r=new V.patch_obj,i=0,n=0,e=0,t=S,o=S,a=0;a=2*this.Patch_Margin&&i&&(this.patch_addContext_(r,t),l.push(r),r=new V.patch_obj,i=0,t=o,n=e);break}c!==k&&(n+=g.length),c!==q&&(e+=g.length)}return i&&(this.patch_addContext_(r,t),l.push(r)),l},V.prototype.patch_deepCopy=function(E){for(var A=[],C=0;Cthis.Match_MaxBits?(n=this.match_main(A,i.substring(0,this.Match_MaxBits),r),n!=-1&&(e=this.match_main(A,i.substring(i.length-this.Match_MaxBits),r+i.length-this.Match_MaxBits),(e==-1||n>=e)&&(n=-1))):n=this.match_main(A,i,r),n==-1)s[l]=!1,S-=E[l].length2-E[l].length1;else{s[l]=!0,S=n-r;var t;if(e==-1?t=A.substring(n,n+i.length):t=A.substring(n,e+this.Match_MaxBits),i==t)A=A.substring(0,n)+this.diff_text2(E[l].diffs)+A.substring(n+i.length);else{var o=this.diff_main(i,t,!1);if(i.length>this.Match_MaxBits&&this.diff_levenshtein(o)/i.length>this.Patch_DeleteThreshold)s[l]=!1;else{this.diff_cleanupSemanticLossless(o);for(var a=0,c,g=0;gl[0][1].length){var r=A-l[0][1].length;l[0][1]=C.substring(l[0][1].length)+l[0][1],s.start1-=r,s.start2-=r,s.length1+=r,s.length2+=r}if(s=E[E.length-1],l=s.diffs,l.length==0||l[l.length-1][0]!=T)l.push(new V.Diff(T,C)),s.length1+=A,s.length2+=A;else if(A>l[l.length-1][1].length){var r=A-l[l.length-1][1].length;l[l.length-1][1]+=C.substring(0,r),s.length1+=r,s.length2+=r}return C},V.prototype.patch_splitMax=function(E){for(var A=this.Match_MaxBits,C=0;C2*A?(i.length1+=t.length,s+=t.length,n=!1,i.diffs.push(new V.Diff(e,t)),S.diffs.shift()):(t=t.substring(0,A-i.length1-this.Patch_Margin),i.length1+=t.length,s+=t.length,e===T?(i.length2+=t.length,l+=t.length):n=!1,i.diffs.push(new V.Diff(e,t)),t==S.diffs[0][1]?S.diffs.shift():S.diffs[0][1]=S.diffs[0][1].substring(t.length))}r=this.diff_text2(i.diffs),r=r.substring(r.length-this.Patch_Margin);var o=this.diff_text1(S.diffs).substring(0,this.Patch_Margin);o!==""&&(i.length1+=o.length,i.length2+=o.length,i.diffs.length!==0&&i.diffs[i.diffs.length-1][0]===T?i.diffs[i.diffs.length-1][1]+=o:i.diffs.push(new V.Diff(T,o))),n||E.splice(++C,0,i)}}},V.prototype.patch_toText=function(E){for(var A=[],C=0;C-1}function J(z,X){var re=this.__data__,me=pe(re,z);return me<0?re.push([z,X]):re[me][1]=X,this}P.prototype.clear=U,P.prototype.delete=K,P.prototype.get=Q,P.prototype.has=j,P.prototype.set=J;function ee(z){var X=-1,re=z?z.length:0;for(this.clear();++X-1}function Nt(D,W){var Y=this.__data__,ne=rt(Y,D);return ne<0?(++this.size,Y.push([D,W])):Y[ne][1]=W,this}Be.prototype.clear=Ot,Be.prototype.delete=Dt,Be.prototype.get=Ft,Be.prototype.has=Pt,Be.prototype.set=Nt;function je(D){var W=-1,Y=D==null?0:D.length;for(this.clear();++WMe))return!1;var Se=le.get(D);if(Se&&le.get(W))return Se==W;var xe=-1,Ne=!0,Te=Y&A?new it:void 0;for(le.set(D,W),le.set(W,D);++xe-1&&D%1==0&&D-1&&D%1==0&&D<=C}function $t(D){var W=typeof D;return D!=null&&(W=="object"||W=="function")}function nt(D){return D!=null&&typeof D=="object"}var St=ue?Re(ue):tn;function vn(D){return pn(D)?Zt(D):nn(D)}function mn(){return[]}function yn(){return!1}he.exports=gn},93946:function(he,V,q){"use strict";var k=this&&this.__extends||function(){var i=function(n,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])},i(n,e)};return function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}(),T=this&&this.__assign||function(){return T=Object.assign||function(i){for(var n,e=1,t=arguments.length;e0&&this.handleMarkers(x);var O=this.editor.$options;s.editorOptions.forEach(function(N){O.hasOwnProperty(N)?e.editor.setOption(N,e.props[N]):e.props[N]&&console.warn("ReactAce: editor option "+N+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray($)&&$.forEach(function(N){typeof N.exec=="string"?e.editor.commands.bindKey(N.bindKey,N.exec):e.editor.commands.addCommand(N)}),p&&this.editor.setKeyboardHandler("ace/keyboard/"+p),o&&(this.refEditor.className+=" "+o),d&&d(this.editor),this.editor.resize(),L&&this.editor.focus()},n.prototype.componentDidUpdate=function(e){for(var t=e,o=this.props,a=0;a0&&o.handleMarkers(ee,P);for(var K=0;K1&&arguments[1]!==void 0?arguments[1]:0,ue=y[Q];if(d(ue)){var Z=document.createElement("script");Z.setAttribute("src",ue),Z.setAttribute("data-namespace",ue),y.length>Q+1&&(Z.onload=function(){V(y,Q+1)},Z.onerror=function(){V(y,Q+1)}),s.add(ue),document.body.appendChild(Z)}}function ne(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=y.scriptUrl,ue=y.extraCommonProps,Z=ue===void 0?{}:ue;Q&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(Q)?V(Q.reverse()):V([Q]));var E=se.forwardRef(function(f,S){var x=f.type,T=f.children,Y=(0,ce.Z)(f,X),w=null;return f.type&&(w=se.createElement("use",{xlinkHref:"#".concat(x)})),T&&(w=T),se.createElement(ee.Z,(0,u.Z)((0,u.Z)((0,u.Z)({},Z),Y),{},{ref:S}),w)});return E.displayName="Iconfont",E}},60532:function(Le,Ce,g){"use strict";g.d(Ce,{Z:function(){return d}});var u=g(1413),ce=g(67294),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},ee=se,X=g(84089),s=function(ne,y){return ce.createElement(X.Z,(0,u.Z)((0,u.Z)({},ne),{},{ref:y,icon:ee}))};s.displayName="MenuOutlined";var d=ce.forwardRef(s)},5611:function(Le,Ce,g){"use strict";g.d(Ce,{f:function(){return Ka}});var u=g(4942),ce=g(74165),se=g(15861),ee=g(45987),X=g(97685),s=g(1413),d=g(85893),V=g(46803),ne=g(60869),y=g(67294),Q=g(12044);function ue(t,e){var n=typeof t.pageName=="string"?t.title:e;(0,y.useEffect)(function(){(0,Q.j)()&&n&&(document.title=n)},[t.title,n])}var Z=g(90743);function E(t,e){return e>>>t|e<<32-t}function f(t,e,n){return t&e^~t&n}function S(t,e,n){return t&e^t&n^e&n}function x(t){return E(2,t)^E(13,t)^E(22,t)}function T(t){return E(6,t)^E(11,t)^E(25,t)}function Y(t){return E(7,t)^E(18,t)^t>>>3}function w(t){return E(17,t)^E(19,t)^t>>>10}function P(t,e){return t[e&15]+=w(t[e+14&15])+t[e+9&15]+Y(t[e+1&15])}var $=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],_,B,I,K="0123456789abcdef";function ve(t,e){var n=(t&65535)+(e&65535),r=(t>>16)+(e>>16)+(n>>16);return r<<16|n&65535}function oe(){_=new Array(8),B=new Array(2),I=new Array(64),B[0]=B[1]=0,_[0]=1779033703,_[1]=3144134277,_[2]=1013904242,_[3]=2773480762,_[4]=1359893119,_[5]=2600822924,_[6]=528734635,_[7]=1541459225}function re(){var t,e,n,r,a,i,o,l,c,v,h=new Array(16);t=_[0],e=_[1],n=_[2],r=_[3],a=_[4],i=_[5],o=_[6],l=_[7];for(var C=0;C<16;C++)h[C]=I[(C<<2)+3]|I[(C<<2)+2]<<8|I[(C<<2)+1]<<16|I[C<<2]<<24;for(var b=0;b<64;b++)c=l+T(a)+f(a,i,o)+$[b],b<16?c+=h[b]:c+=P(h,b),v=x(t)+S(t,e,n),l=o,o=i,i=a,a=ve(r,c),r=n,n=e,e=t,t=ve(c,v);_[0]+=t,_[1]+=e,_[2]+=n,_[3]+=r,_[4]+=a,_[5]+=i,_[6]+=o,_[7]+=l}function Me(t,e){var n,r,a=0;r=B[0]>>3&63;var i=e&63;for((B[0]+=e<<3)>29,n=0;n+63>3&63;if(I[t++]=128,t<=56)for(var e=t;e<56;e++)I[e]=0;else{for(var n=t;n<64;n++)I[n]=0;re();for(var r=0;r<56;r++)I[r]=0}I[56]=B[1]>>>24&255,I[57]=B[1]>>>16&255,I[58]=B[1]>>>8&255,I[59]=B[1]&255,I[60]=B[0]>>>24&255,I[61]=B[0]>>>16&255,I[62]=B[0]>>>8&255,I[63]=B[0]&255,re()}function $e(){for(var t=0,e=new Array(32),n=0;n<8;n++)e[t++]=_[n]>>>24&255,e[t++]=_[n]>>>16&255,e[t++]=_[n]>>>8&255,e[t++]=_[n]&255;return e}function Fe(){for(var t=new String,e=0;e<8;e++)for(var n=28;n>=0;n-=4)t+=K.charAt(_[e]>>>n&15);return t}function rn(t){return oe(),Me(t,t.length),G(),Fe()}var Oe=rn;function Ve(t){return Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(t)}var ke=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function en(t,e){return En(t)||Rn(t,e)||Bn(t,e)||sn()}function sn(){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 Rn(t,e){var n=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,o,l;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!(e&&r.length===e));a=!0);}catch(c){i=!0,l=c}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function En(t){if(Array.isArray(t))return t}function wn(t,e){var n=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Bn(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(v){throw v},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){n=n.call(t)},n:function(){var v=n.next();return i=v.done,v},e:function(v){o=!0,l=v},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw l}}}}function jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&(!Object.prototype.propertyIsEnumerable.call(t,r)||(n[r]=t[r]))}return n}function Ft(t,e){if(t==null)return{};var n={},r=Object.keys(t),a,i;for(i=0;i=0)&&(n[a]=t[a]);return n}function Jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function be(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||Nn(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},Gt=function(e,n){var r=e.menu,a=r===void 0?{}:r,i=e.indexRoute,o=e.path,l=o===void 0?"":o,c=e.children||[],v=a.name,h=v===void 0?e.name:v,C=a.icon,b=C===void 0?e.icon:C,M=a.hideChildren,z=M===void 0?e.hideChildren:M,A=a.flatMenu,H=A===void 0?e.flatMenu:A,p=i&&Object.keys(i).join(",")!=="redirect"?[be({path:l,menu:a},i)].concat(c||[]):c,j=be({},e);if(h&&(j.name=h),b&&(j.icon=b),p&&p.length){if(z)return delete j.children,j;var N=On(be(be({},n),{},{data:p}),e);if(H)return N;delete j[Be]}return j},vn=function(e){return Array.isArray(e)&&e.length>0};function On(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=t.data,r=t.formatMessage,a=t.parentName,i=t.locale;return!n||!Array.isArray(n)?[]:n.filter(function(o){return o?vn(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var l,c;return(o==null||(l=o.menu)===null||l===void 0?void 0:l.name)||(o==null?void 0:o.flatMenu)||(o==null||(c=o.menu)===null||c===void 0?void 0:c.flatMenu)?!0:o.menu!==!1}).map(function(o){var l=be(be({},o),{},{path:o.path||o.originPath});return!l.children&&l[Be]&&(l.children=l[Be],delete l[Be]),l.unaccessible&&delete l.name,l.path==="*"&&(l.path="."),l.path==="/*"&&(l.path="."),!l.path&&l.originPath&&(l.path=l.originPath),l}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},l=o.children||o[Be]||[],c=qn(o.path,e?e.path:"/"),v=o.name,h=Ut(o,a||"menu"),C=h!==!1&&i!==!1&&r&&h?r({id:h,defaultMessage:v}):v,b=e.pro_layout_parentKeys,M=b===void 0?[]:b,z=e.children,A=e.icon,H=e.flatMenu,p=e.indexRoute,j=e.routes,N=Wt(e,ke),L=new Set([].concat(Yn(M),Yn(o.parentKeys||[])));e.key&&L.add(e.key);var R=be(be(be({},N),{},{menu:void 0},o),{},{path:c,locale:h,key:o.key||Kt(be(be({},o),{},{path:c})),pro_layout_parentKeys:Array.from(L).filter(function(O){return O&&O!=="/"})});if(C?R.name=C:delete R.name,R.menu===void 0&&delete R.menu,vn(l)){var W=On(be(be({},t),{},{data:l,parentName:h||""}),R);vn(W)&&(R.children=W)}return Gt(R,t)}).flat(1)}var Xt=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(n){return n&&(n.name||vn(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var r=be({},n),a=r.children||n[Be]||[];if(delete r[Be],vn(a)&&!r.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=t(a);if(i.length)return be(be({},r),{},{children:i})}return be({},n)}).filter(function(n){return n})},Vt=function(t){wt(n,t);var e=Lt(n);function n(){return jt(this,n),e.apply(this,arguments)}return Et(n,[{key:"get",value:function(a){var i;try{var o=wn(this.entries()),l;try{for(o.s();!(l=o.n()).done;){var c=en(l.value,2),v=c[0],h=c[1],C=bn(v);if(!Nn(v)&&(0,Z.Bo)(C,[]).test(a)){i=h;break}}}catch(b){o.e(b)}finally{o.f()}}catch(b){i=void 0}return i}}]),n}(Ln(Map)),Qt=function(e){var n=new Vt,r=function a(i,o){i.forEach(function(l){var c=l.children||l[Be]||[];vn(c)&&a(c,l);var v=qn(l.path,o?o.path:"/");n.set(bn(v),l)})};return r(e),n},Yt=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(n){var r=n.children||n[Be];if(vn(r)){var a=t(r);if(a.length)return be({},n)}var i=be({},n);return delete i[Be],delete i.children,i}).filter(function(n){return n})},Jt=function(e,n,r,a){var i=On({data:e,formatMessage:r,locale:n}),o=a?Yt(i):Xt(i),l=Qt(i);return{breadcrumb:l,menuData:o}},qt=Jt;function kn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Sn(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:[],n={};return e.forEach(function(r){var a=Sn({},r);if(!(!a||!a.key)){!a.children&&a[Be]&&(a.children=a[Be],delete a[Be]);var i=a.children||[];n[bn(a.path||a.key||"/")]=Sn({},a),n[a.key||a.path||"/"]=Sn({},a),i&&(n=Sn(Sn({},n),t(i)))}}),n},nr=er,tr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&n==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!Nn(a)){var i=bn(a);try{if(r&&(0,Z.Bo)("".concat(i)).test(n)||(0,Z.Bo)("".concat(i),[]).test(n)||(0,Z.Bo)("".concat(i,"/(.*)")).test(n))return!0}catch(o){}}return!1}).sort(function(a,i){return a===n?10:i===n?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},rr=function(e,n,r,a){var i=nr(n),o=Object.keys(i),l=tr(o,e||"/",a);return!l||l.length<1?[]:(r||(l=[l[l.length-1]]),l.map(function(c){var v=i[c]||{pro_layout_parentKeys:"",key:""},h=new Map,C=(v.pro_layout_parentKeys||[]).map(function(b){return h.has(b)?null:(h.set(b,!0),i[b])}).filter(function(b){return b});return v.key&&C.push(v),C}).flat(1))},ar=rr,Qe=g(58720),Mn=g(97183),or=g(94184),k=g.n(or),et=g(97435),ir=g(45520),nt=g(59734);function lr(t,e){return sr(t)||cr(t,e)||dr(t,e)||ur()}function ur(){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 dr(t,e){if(!!t){if(typeof t=="string")return tt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tt(t,e)}}function tt(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n *":{boxSizing:"border-box",fontFamily:e.fontFamily},"&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"*":{boxSizing:"border-box",fontFamily:e.fontFamily},"* div":Pe.Wf===null||Pe.Wf===void 0?void 0:(0,Pe.Wf)(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},jr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","*":{boxSizing:"border-box",fontFamily:e.fontFamily},"&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Er=function(e){var n,r,a,i,o,l;return(0,u.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:e==null||(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,"&:hover":{color:e==null||(r=e.layout)===null||r===void 0?void 0:r.colorTextAppListIconHover,backgroundColor:e==null||(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:e==null||(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:e==null||(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInline:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(l={},(0,u.Z)(l,"".concat(e.antCls,"-popover-arrow"),{display:"none"}),(0,u.Z)(l,"*",{boxSizing:"border-box",fontFamily:e.fontFamily}),l),"&-simple":jr(e),"&-default":Pr(e)})};function wr(t){return(0,Pe.Xj)("AppsLogoComponents",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[Er(n)]})}var Hn=function(e){return typeof e=="string"?(0,d.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Wn=function(e){var n,r=e.appList,a=e.prefixCls,i=a===void 0?"ant-pro":a,o=e.itemClick,l=y.useRef(null),c="".concat(i,"-layout-apps"),v=wr(c),h=v.wrapSSR,C=v.hashId,b=(0,y.useState)(!1),M=(0,X.Z)(b,2),z=M[0],A=M[1],H=(0,y.useMemo)(function(){var j=r==null?void 0:r.some(function(N){return!(N!=null&&N.desc)});return j?(0,d.jsx)(Tr,{hashId:C,appList:r,itemClick:o,baseClassName:"".concat(c,"-simple")}):(0,d.jsx)(Ir,{hashId:C,appList:r,itemClick:o,baseClassName:"".concat(c,"-default")})},[r,c,C]);if(!(!(e==null||(n=e.appList)===null||n===void 0)&&n.length))return null;var p=(0,at.X)(void 0,function(j){return A(j)});return h((0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{ref:l,onClick:function(N){N.stopPropagation(),N.preventDefault()}}),(0,d.jsx)(_r.Z,(0,s.Z)((0,s.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrowPointAtCenter:!0},p),{},{overlayClassName:"".concat(c,"-popover ").concat(C),content:H,getPopupContainer:function(){return l.current||document.body},children:(0,d.jsx)("span",{onClick:function(N){N.stopPropagation()},className:k()("".concat(c,"-icon"),C,(0,u.Z)({},"".concat(c,"-icon-active"),z)),children:(0,d.jsx)($r,{})})}))]}))},ot=g(26713),it=g(98293),lt=g(68508);function Lr(){return(0,d.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var Br=function(e){var n,r,a,i,o,l;return(0,u.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:e==null||(n=e.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorTextCollapsedButton,backgroundColor:e==null||(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:e==null||(o=e.layout)===null||o===void 0||(l=o.sider)===null||l===void 0?void 0:l.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function Ar(t){return(0,Pe.Xj)("SiderMenuCollapsedIcon",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[Br(n)]})}var Nr=["isMobile","collapsed"],Or=function(e){var n,r=e.isMobile,a=e.collapsed,i=(0,ee.Z)(e,Nr),o=Ar(e.className),l=o.wrapSSR,c=o.hashId;return r&&a?null:l((0,d.jsx)("div",(0,s.Z)((0,s.Z)({},i),{},{className:k()(e.className,c,(n={},(0,u.Z)(n,"".concat(e.className,"-collapsed"),a),(0,u.Z)(n,"".concat(e.className,"-is-mobile"),r),n)),children:(0,d.jsx)(Lr,{})})))},Pn=g(74902),Dr=g(43144),Hr=g(15671),ut=g(91321);function Wr(t){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(t)}var Fr=g(99559),dt=g(14192),zr=function(e){var n,r,a,i,o,l,c;return(0,u.Z)({},"".concat(e.componentCls),(c={background:"transparent",border:"none"},(0,u.Z)(c,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,u.Z)(c,"".concat(e.componentCls,"-submenu-has-icon"),(0,u.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,u.Z)(c,"&&-collapsed",(a={},(0,u.Z)(a,"".concat(e.antCls,`-menu-item, - `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item, - `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title, - `).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),(0,u.Z)(a,"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title, - `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:(n=e.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,u.Z)(a,"".concat(e.componentCls,"-group"),(0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),a)),(0,u.Z)(c,"".concat(e.componentCls,"-item-icon"),{height:"14px",width:"14px",opacity:"0.85",".anticon":{lineHeight:"14px",height:"14px"}}),(0,u.Z)(c,"& &-item-title",(l={display:"flex",flexDirection:"row",alignItems:"center","&-collapsed":(i={flexDirection:"column",justifyContent:"center"},(0,u.Z)(i,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%"}),(0,u.Z)(i,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),i)},(0,u.Z)(l,"&".concat(e.componentCls,"-group-item-title"),{gap:4,height:18,overflow:"hidden"}),(0,u.Z)(l,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,u.Z)({lineHeight:"16px",height:"48px"},"&".concat(e.componentCls,"-item-title-collapsed"),(o={display:"flex"},(0,u.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),(0,u.Z)(o,"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),o))),l)),(0,u.Z)(c,"&-group",(0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,u.Z)(c,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),c))};function Kr(t){return(0,Pe.Xj)("ProLayoutBaseMenu",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[zr(n)]})}var ct=(0,ut.Z)({scriptUrl:dt.h.iconfontUrl}),st=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",r=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Dn(e)||Wr(e))return(0,d.jsx)("img",{width:16,src:e,alt:"icon",className:r},e);if(e.startsWith(n))return(0,d.jsx)(ct,{type:e})}return e},vt=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},Ur=(0,Dr.Z)(function t(e){var n=this;(0,Hr.Z)(this,t),this.props=void 0,this.getNavMenuItems=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return r.map(function(i){return n.getSubMenuOrItem(i,a)}).filter(function(i){return i}).flat(1)},this.getSubMenuOrItem=function(r,a){var i=n.props,o=i.subMenuItemRender,l=i.baseClassName,c=i.prefixCls,v=i.collapsed,h=i.menu,C=i.iconPrefixes,b=i.layout,M=(h==null?void 0:h.type)==="group"&&b!=="top",z=n.props.token,A=n.getIntlName(r),H=(r==null?void 0:r.children)||(r==null?void 0:r.routes),p=M&&a===0?"group":void 0;if(Array.isArray(H)&&H.length>0){var j,N,L,R,W,O,U,J,m=a===0||M&&a===1,D=st(r.icon,C,"action ".concat(l,"-icon ").concat((j=n.props)===null||j===void 0?void 0:j.hashId)),fe=v&&m?vt(A):null,ae=(0,d.jsxs)("div",{title:A,className:k()("".concat(l,"-item-title"),(N=n.props)===null||N===void 0?void 0:N.hashId,(L={},(0,u.Z)(L,"".concat(l,"-item-title-collapsed"),v),(0,u.Z)(L,"".concat(l,"-group-item-title"),p==="group"),(0,u.Z)(L,"".concat(l,"-item-collapsed-show-title"),(h==null?void 0:h.collapsedShowTitle)&&v),L)),children:[p==="group"&&v?null:m&&D?(0,d.jsx)("span",{className:"anticon ".concat(l,"-item-icon ").concat((R=n.props)===null||R===void 0?void 0:R.hashId),children:D}):fe,(0,d.jsx)("span",{className:k()("".concat(l,"-item-text"),(W=n.props)===null||W===void 0?void 0:W.hashId,(0,u.Z)({},"".concat(l,"-item-text-has-icon"),p!=="group"&&m&&(D||fe))),children:A})]}),q=o?o((0,s.Z)((0,s.Z)({},r),{},{isUrl:!1}),ae,n.props):ae,ie=n.getNavMenuItems(H,a+1);return M&&a===0&&n.props.collapsed&&!h.collapsedShowGroupTitle?ie:[{type:p,key:r.key||r.path,title:r.tooltip||q,label:q,onClick:M?void 0:r.onTitleClick,children:ie,className:k()((O={},(0,u.Z)(O,"".concat(l,"-group"),p==="group"),(0,u.Z)(O,"".concat(l,"-submenu"),p!=="group"),(0,u.Z)(O,"".concat(l,"-submenu-has-icon"),p!=="group"&&m&&D),O))},M&&a===0?{type:"divider",prefixCls:c,className:"".concat(l,"-divider"),key:(r.key||r.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:z==null||(U=z.layout)===null||U===void 0||(J=U.sider)===null||J===void 0?void 0:J.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(l,"-menu-item"),title:r.tooltip||A,disabled:r.disabled,key:r.key||r.path,onClick:r.onTitleClick,label:n.getMenuItemPath(r,a)}},this.getIntlName=function(r){var a=r.name,i=r.locale,o=n.props,l=o.menu,c=o.formatMessage;return i&&(l==null?void 0:l.locale)!==!1?c==null?void 0:c({id:i,defaultMessage:a}):a},this.getMenuItemPath=function(r,a){var i,o,l,c,v,h=n.conversionPath(r.path||"/"),C=n.props,b=C.location,M=b===void 0?{pathname:"/"}:b,z=C.isMobile,A=C.onCollapse,H=C.menuItemRender,p=C.iconPrefixes,j=n.getIntlName(r),N=n.props,L=N.baseClassName,R=N.menu,W=N.collapsed,O=(R==null?void 0:R.type)==="group",U=a===0||O&&a===1,J=U?st(r.icon,p,"".concat(L,"-icon ").concat((i=n.props)===null||i===void 0?void 0:i.hashId)):null,m=W&&U?vt(j):null,D=(0,d.jsxs)("div",{className:k()("".concat(L,"-item-title"),(o=n.props)===null||o===void 0?void 0:o.hashId,(l={},(0,u.Z)(l,"".concat(L,"-item-title-collapsed"),W),(0,u.Z)(l,"".concat(L,"-item-collapsed-show-title"),(R==null?void 0:R.collapsedShowTitle)&&W),l)),children:[J?(0,d.jsx)("span",{className:"anticon ".concat(L,"-item-icon ").concat((c=n.props)===null||c===void 0?void 0:c.hashId),children:J}):m,(0,d.jsx)("span",{className:k()("".concat(L,"-item-text"),(v=n.props)===null||v===void 0?void 0:v.hashId,(0,u.Z)({},"".concat(L,"-item-text-has-icon"),U&&(J||m))),children:j})]},h),fe=Dn(h);if(fe){var ae,q,ie,Ie;D=(0,d.jsxs)("span",{title:j,onClick:function(){var me,he;(me=window)===null||me===void 0||(he=me.open)===null||he===void 0||he.call(me,h,"_blank")},className:k()("".concat(L,"-item-title"),(ae=n.props)===null||ae===void 0?void 0:ae.hashId,(q={},(0,u.Z)(q,"".concat(L,"-item-title-collapsed"),W),(0,u.Z)(q,"".concat(L,"-item-link"),!0),(0,u.Z)(q,"".concat(L,"-item-collapsed-show-title"),(R==null?void 0:R.collapsedShowTitle)&&W),q)),children:[J?(0,d.jsx)("span",{className:"anticon ".concat(L,"-item-icon ").concat((ie=n.props)===null||ie===void 0?void 0:ie.hashId),children:J}):m,(0,d.jsx)("span",{className:k()("".concat(L,"-item-text"),(Ie=n.props)===null||Ie===void 0?void 0:Ie.hashId,(0,u.Z)({},"".concat(L,"-item-text-has-icon"),U&&(J||m))),children:j})]},h)}if(H){var xe=(0,s.Z)((0,s.Z)({},r),{},{isUrl:fe,itemPath:h,isMobile:z,replace:h===M.pathname,onClick:function(){return A&&A(!0)},children:void 0});return H(xe,D,n.props)}return D},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Gr=function(e,n){var r=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(r||"mix")&&(i={openKeys:e}),i},ft=function(e){var n,r=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,l=e.menuData,c=e.prefixCls,v=e.menu,h=e.matchMenuKeys,C=e.iconfontUrl,b=e.selectedKeys,M=e.onSelect,z=e.menuRenderType,A=e.openKeys,H=(0,y.useContext)(V.L_),p=H.token,j="".concat(c,"-base-menu"),N=(0,y.useRef)([]),L=(0,ne.Z)(v==null?void 0:v.defaultOpenAll),R=(0,X.Z)(L,2),W=R[0],O=R[1],U=(0,ne.Z)(function(){return v!=null&&v.defaultOpenAll?(0,Zn.O7)(l)||[]:A===!1?!1:[]},{value:A===!1?void 0:A,onChange:i}),J=(0,X.Z)(U,2),m=J[0],D=J[1],fe=(0,ne.Z)([],{value:b,onChange:M?function(pe){M&&pe&&M(pe)}:void 0}),ae=(0,X.Z)(fe,2),q=ae[0],ie=ae[1];(0,y.useEffect)(function(){(v==null?void 0:v.defaultOpenAll)||A===!1||h&&(D(h),ie(h))},[h.join("-")]),(0,y.useEffect)(function(){C&&(ct=(0,ut.Z)({scriptUrl:C}))},[C]),(0,y.useEffect)(function(){if(h.join("-")!==(q||[]).join("-")&&ie(h),!W&&A!==!1&&h.join("-")!==(m||[]).join("-")){var pe=h;(v==null?void 0:v.autoClose)===!1&&(pe=Array.from(new Set([].concat((0,Pn.Z)(h),(0,Pn.Z)(m||[]))))),D(pe)}else(v==null?void 0:v.ignoreFlatMenu)&&W?D((0,Zn.O7)(l)):O(!1)},[h.join("-")]);var Ie=(0,y.useMemo)(function(){return Gr(m,e)},[m&&m.join(","),e.layout,e.collapsed]),xe=Kr(j),Se=xe.wrapSSR,me=xe.hashId,he=(0,y.useMemo)(function(){return new Ur((0,s.Z)((0,s.Z)({},e),{},{token:p,menuRenderType:z,baseClassName:j,hashId:me}))},[e,p,z,j,me]);if(v!=null&&v.loading)return(0,d.jsx)("div",{style:r!=null&&r.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,d.jsx)(Fr.Z,{active:!0,title:!1,paragraph:{rows:r!=null&&r.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(N.current=h);var ye=e.postMenuData?e.postMenuData(l):l;return ye&&(ye==null?void 0:ye.length)<1?null:Se((0,y.createElement)(lt.Z,(0,s.Z)((0,s.Z)({},Ie),{},{key:"Menu",mode:r,inlineIndent:16,defaultOpenKeys:N.current,theme:"light",selectedKeys:q,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},o),className:k()(a,me,j,(n={},(0,u.Z)(n,"".concat(j,"-horizontal"),r==="horizontal"),(0,u.Z)(n,"".concat(j,"-collapsed"),e.collapsed),n)),items:he.getNavMenuItems(ye,0),onOpenChange:D},e.menuProps)))};function Xr(t,e){var n=e.stylish,r=e.proLayoutCollapsedWidth;return(0,Pe.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:r});return n?[(0,u.Z)({},a.proComponentsCls,(0,u.Z)({},"".concat(a.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(i.componentCls),n==null?void 0:n(i))))]:[]})}var Vr=Mn.Z.Sider,Fn=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=e.logo,a=e.title,i=e.layout,o=e[n||""];if(o===!1)return null;var l=Hn(r),c=(0,d.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(l,e.collapsed?null:c,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,d.jsx)("a",{children:l},"title"):(0,d.jsxs)("a",{children:[l,c]},"title")},mt=function(e){var n,r,a,i,o,l,c,v,h,C,b,M,z,A,H,p=e.collapsed,j=e.originCollapsed,N=e.fixSiderbar,L=e.menuFooterRender,R=e.onCollapse,W=e.theme,O=e.siderWidth,U=e.isMobile,J=e.onMenuHeaderClick,m=e.breakpoint,D=m===void 0?"lg":m,fe=e.style,ae=e.layout,q=e.menuExtraRender,ie=q===void 0?!1:q,Ie=e.links,xe=e.menuContentRender,Se=e.collapsedButtonRender,me=e.prefixCls,he=e.avatarProps,ye=e.rightContentRender,pe=e.actionsRender,De=e.onOpenChange,Ae=e.stylish,ze=e.logoStyle,Ne=(0,y.useContext)(V.L_),te=Ne.hashId,le=(0,y.useMemo)(function(){return!(U||ae==="mix")},[U,ae]),F="".concat(me,"-sider"),He=Xr("".concat(F,".").concat(F,"-stylish"),{stylish:Ae,proLayoutCollapsedWidth:64}),Te=k()("".concat(F),te,(n={},(0,u.Z)(n,"".concat(F,"-fixed"),N),(0,u.Z)(n,"".concat(F,"-collapsed"),e.collapsed),(0,u.Z)(n,"".concat(F,"-layout-").concat(ae),ae&&!U),(0,u.Z)(n,"".concat(F,"-light"),W!=="dark"),(0,u.Z)(n,"".concat(F,"-mix"),ae==="mix"&&!U),(0,u.Z)(n,"".concat(F,"-stylish"),!!Ae),n)),Ze=Fn(e),je=ie&&ie(e),Ee=(0,y.useMemo)(function(){return xe!==!1&&(0,y.createElement)(ft,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:De,style:{width:"100%"},className:"".concat(F,"-menu ").concat(te)}))},[F,te,xe,De,e]),Ke=(Ie||[]).map(function(ge,we){return{className:"".concat(F,"-link"),label:ge,key:we}}),Ye=(0,y.useMemo)(function(){return xe?xe(e,Ee):Ee},[xe,Ee,e]),nn=(0,y.useMemo)(function(){return he&&(0,d.jsxs)(ot.Z,{align:"center",className:"".concat(F,"-actions-avatar"),children:[(0,d.jsx)(it.C,(0,s.Z)({size:28},he)),he.title&&!p&&(0,d.jsx)("span",{children:he.title})]})},[he,F,p]),on=(0,y.useMemo)(function(){return pe?(0,d.jsx)(ot.Z,{align:"center",size:4,direction:p?"vertical":"horizontal",className:k()(["".concat(F,"-actions-list"),p&&"".concat(F,"-actions-list-collapsed"),te]),children:pe==null?void 0:pe(e).map(function(ge,we){return(0,d.jsx)("div",{className:"".concat(F,"-actions-list-item ").concat(te),children:ge},we)})}):null},[pe,F,p]),Ue=(0,y.useMemo)(function(){return(0,d.jsx)(Wn,{itemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),fn=(0,y.useMemo)(function(){if(Se===!1)return null;var ge=(0,d.jsx)(Or,{isMobile:U,collapsed:j,className:"".concat(F,"-collapsed-button"),onClick:function(){R==null||R(!j)}});return Se?Se(p,ge):ge},[Se,U,j,F,p,R]),We=(0,y.useMemo)(function(){return!nn&&!on?null:(0,d.jsxs)("div",{className:k()("".concat(F,"-actions"),te,p&&"".concat(F,"-actions-collapsed")),children:[nn,on]})},[on,nn,F,p,te]),_e=60,Ge=(0,y.useMemo)(function(){var ge;return(e==null||(ge=e.menu)===null||ge===void 0?void 0:ge.hideMenuWhenCollapsed)&&p?"".concat(F,"-hide-menu-collapsed"):null},[F,p,e==null||(r=e.menu)===null||r===void 0?void 0:r.hideMenuWhenCollapsed]),ln=L&&(L==null?void 0:L(e)),tn=(0,d.jsxs)(d.Fragment,{children:[Ze&&(0,d.jsxs)("div",{className:k()([k()("".concat(F,"-logo"),te,(0,u.Z)({},"".concat(F,"-logo-collapsed"),p))]),onClick:le?J:void 0,id:"logo",style:ze,children:[Ze,Ue]}),je&&(0,d.jsx)("div",{className:k()(["".concat(F,"-extra"),!Ze&&"".concat(F,"-extra-no-logo"),te]),children:je}),(0,d.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Ye}),Ie?(0,d.jsx)("div",{className:"".concat(F,"-links ").concat(te),children:(0,d.jsx)(lt.Z,{inlineIndent:16,className:"".concat(F,"-link-menu ").concat(te),selectedKeys:[],openKeys:[],theme:"light",mode:"inline",items:Ke})}):null,le&&(0,d.jsxs)(d.Fragment,{children:[We,ye?(0,d.jsx)("div",{className:k()("".concat(F,"-actions"),te,(0,u.Z)({},"".concat(F,"-actions-collapsed"),p)),children:ye==null?void 0:ye(e)}):null]}),ln&&(0,d.jsx)("div",{className:k()(["".concat(F,"-footer"),te,(0,u.Z)({},"".concat(F,"-footer-collapsed"),p)]),children:ln})]}),Xe=(0,y.useContext)(V.L_),de=Xe.token;return He.wrapSSR((0,d.jsxs)(d.Fragment,{children:[N&&!U&&!Ge&&(0,d.jsx)("div",{style:(0,s.Z)({width:p?_e:O,overflow:"hidden",flex:"0 0 ".concat(p?_e:O,"px"),maxWidth:p?_e:O,minWidth:p?_e:O,transition:"all 0.2s ease 0s"},fe)}),(0,d.jsxs)(Vr,{collapsible:!0,trigger:null,collapsed:p,breakpoint:D===!1?void 0:D,onCollapse:function(we){U||R==null||R(we)},collapsedWidth:_e,style:fe,theme:"light",width:O,className:k()(Te,te,Ge),children:[(0,d.jsx)(Qe.ZP,{theme:{hashed:((a="production")===null||a===void 0?void 0:a.toLowerCase())!=="test",components:{Menu:{radiusItem:4,colorItemBgSelected:(de==null||(i=de.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorBgMenuItemSelected)||"rgba(0, 0, 0, 0.04)",colorItemBgActive:(de==null||(l=de.layout)===null||l===void 0||(c=l.sider)===null||c===void 0?void 0:c.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(de==null||(v=de.layout)===null||v===void 0||(h=v.sider)===null||h===void 0?void 0:h.colorTextMenu)||"rgba(0, 0, 0, 0.65)",colorItemTextHover:(de==null||(C=de.layout)===null||C===void 0||(b=C.sider)===null||b===void 0?void 0:b.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(de==null||(M=de.layout)===null||M===void 0||(z=M.sider)===null||z===void 0?void 0:z.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorItemBg:"transparent",colorSubItemBg:"transparent",colorBgElevated:(de==null||(A=de.layout)===null||A===void 0||(H=A.sider)===null||H===void 0?void 0:H.colorBgMenuItemCollapsedElevated)||"#fff"}}},children:Ge?(0,d.jsx)("div",{className:"".concat(F,"-hide-when-collapsed ").concat(te),style:{height:"100%",width:"100%",opacity:Ge?0:1},children:tn}):tn}),fn]})]}))},Qr=g(10178),Yr=g(48555),Jr=function(e){var n,r,a,i,o,l;return(0,u.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:e==null||(n=e.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:e.colorTextSecondary,"> div":{height:"44px",color:e.colorTextSecondary,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(o=e.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorBgRightActionsItemHover}}}}})};function qr(t){return(0,Pe.Xj)("ProLayoutRightContent",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[Jr(n)]})}var kr=["rightContentRender","avatarProps","actionsRender","headerContentRender"],ea=["title"],ht=function(e){var n=e.rightContentRender,r=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,ee.Z)(e,kr),l=(0,y.useContext)(Qe.ZP.ConfigContext),c=l.getPrefixCls,v="".concat(c(),"-pro-global-header"),h=qr(v),C=h.wrapSSR,b=h.hashId,M=(0,y.useState)("auto"),z=(0,X.Z)(M,2),A=z[0],H=z[1],p=(0,y.useMemo)(function(){if(!r)return null;var L=r.title,R=(0,ee.Z)(r,ea);return[(0,y.createElement)(it.C,(0,s.Z)((0,s.Z)({},R),{},{size:28,key:"avatar"})),L?(0,d.jsx)("span",{style:{marginInlineStart:8},children:L},"name"):void 0]},[r]),j=function(R){var W=a&&(a==null?void 0:a(R));return!W&&!p?null:(Array.isArray(W)||(W=[W]),C((0,d.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(b),children:[W.filter(Boolean).map(function(O,U){var J=!1;if(y.isValidElement(O)){var m;J=!!(!(O==null||(m=O.props)===null||m===void 0)&&m["aria-hidden"])}return(0,d.jsx)("div",{className:k()("".concat(v,"-header-actions-item ").concat(b),(0,u.Z)({},"".concat(v,"-header-actions-hover"),!J)),children:O},U)}),p&&(0,d.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(b),children:(0,d.jsx)("div",{children:p})})]})))},N=(0,Qr.D)(function(){var L=(0,se.Z)((0,ce.Z)().mark(function R(W){return(0,ce.Z)().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:H(W);case 1:case"end":return U.stop()}},R)}));return function(R){return L.apply(this,arguments)}}(),160);return(0,d.jsx)("div",{className:"".concat(v,"-right-content ").concat(b),style:{minWidth:A,height:"100%"},children:(0,d.jsx)("div",{style:{height:"100%"},children:(0,d.jsx)(Yr.Z,{onResize:function(R){var W=R.width;N.run(W)},children:(n||j)&&(0,d.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:(n||j)((0,s.Z)((0,s.Z)({},o),{},{rightContentSize:A}))})})})})},na=function(e){var n,r,a,i;return(0,u.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,u.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:e==null||(n=e.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(((e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56)-12,"px")}})};function ta(t){return(0,Pe.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[na(n)]})}var gt=function(e){var n,r,a,i,o,l,c,v,h,C,b,M,z=(0,y.useRef)(null),A=e.onMenuHeaderClick,H=e.contentWidth,p=e.rightContentRender,j=e.className,N=e.style,L=e.headerContentRender,R=e.layout,W=e.actionsRender,O=(0,y.useContext)(Qe.ZP.ConfigContext),U=O.getPrefixCls,J=(0,y.useContext)(V.L_),m=J.token,D="".concat(e.prefixCls||U("pro"),"-top-nav-header"),fe=ta(D),ae=fe.wrapSSR,q=fe.hashId,ie=Fn((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),R==="mix"?"headerTitleRender":void 0),Ie=(0,y.useMemo)(function(){var xe,Se,me,he,ye,pe,De,Ae,ze,Ne,te,le,F,He,Te,Ze,je,Ee,Ke=(0,d.jsx)(Qe.ZP,{theme:{hashed:((xe="production")===null||xe===void 0?void 0:xe.toLowerCase())!=="test",components:{Menu:{colorItemBg:(m==null||(Se=m.layout)===null||Se===void 0||(me=Se.header)===null||me===void 0?void 0:me.colorBgHeader)||"transparent",colorSubItemBg:(m==null||(he=m.layout)===null||he===void 0||(ye=he.header)===null||ye===void 0?void 0:ye.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:(m==null||(pe=m.layout)===null||pe===void 0||(De=pe.header)===null||De===void 0?void 0:De.colorBgMenuItemSelected)||(m==null?void 0:m.colorBgTextHover),colorItemBgActive:(m==null||(Ae=m.layout)===null||Ae===void 0||(ze=Ae.header)===null||ze===void 0?void 0:ze.colorBgMenuItemHover)||(m==null?void 0:m.colorBgTextHover),colorItemBgSelectedHorizontal:(m==null||(Ne=m.layout)===null||Ne===void 0||(te=Ne.header)===null||te===void 0?void 0:te.colorBgMenuItemSelected)||(m==null?void 0:m.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(m==null||(le=m.layout)===null||le===void 0||(F=le.header)===null||F===void 0?void 0:F.colorTextMenu)||(m==null?void 0:m.colorTextSecondary),colorItemTextHover:(m==null||(He=m.layout)===null||He===void 0||(Te=He.header)===null||Te===void 0?void 0:Te.colorTextMenuActive)||(m==null?void 0:m.colorText),colorItemTextSelected:(m==null||(Ze=m.layout)===null||Ze===void 0||(je=Ze.header)===null||je===void 0?void 0:je.colorTextMenuSelected)||(m==null?void 0:m.colorTextBase)}}},children:(0,d.jsx)(ft,(0,s.Z)((0,s.Z)((0,s.Z)({theme:"light"},e),{},{className:"".concat(D,"-base-menu ").concat(q)},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(Ee=e.menuProps)===null||Ee===void 0?void 0:Ee.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return L?L(e,Ke):Ke},[m==null||(n=m.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.colorBgHeader,m==null||(a=m.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgMenuItemSelected,m==null||(o=m.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorBgMenuItemHover,m==null||(c=m.layout)===null||c===void 0||(v=c.header)===null||v===void 0?void 0:v.colorTextMenu,m==null||(h=m.layout)===null||h===void 0||(C=h.header)===null||C===void 0?void 0:C.colorTextMenuActive,m==null||(b=m.layout)===null||b===void 0||(M=b.header)===null||M===void 0?void 0:M.colorTextMenuSelected,m==null?void 0:m.colorBgTextHover,m==null?void 0:m.colorTextSecondary,m==null?void 0:m.colorText,m==null?void 0:m.colorTextBase,e,D,q,L]);return ae((0,d.jsx)("div",{className:k()(D,q,j,(0,u.Z)({},"".concat(D,"-light"),!0)),style:N,children:(0,d.jsxs)("div",{ref:z,className:k()("".concat(D,"-main"),q,(0,u.Z)({},"".concat(D,"-wide"),H==="Fixed")),children:[ie&&(0,d.jsxs)("div",{className:k()("".concat(D,"-main-left ").concat(q)),onClick:A,children:[(0,d.jsx)(Wn,(0,s.Z)({},e)),(0,d.jsx)("div",{className:"".concat(D,"-logo ").concat(q),id:"logo",children:ie},"logo")]}),(0,d.jsx)("div",{style:{flex:1},className:"".concat(D,"-menu ").concat(q),children:Ie}),(p||W||e.avatarProps)&&(0,d.jsx)(ht,(0,s.Z)((0,s.Z)({rightContentRender:p},e),{},{prefixCls:D}))]})}))},ra=function(e){var n,r,a,i,o,l,c;return(0,u.Z)({},e.componentCls,(c={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(r=n.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,u.Z)(c,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,u.Z)(c,"&-collapsed-button",{minHeight:"22px",color:e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,u.Z)(c,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((o=e.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,u.Z)(c,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),c))};function aa(t){return(0,Pe.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[ra(n)]})}var oa=function(e,n){return e===!1?null:e?e(n,null):n},ia=function(e){var n,r=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,l=e.rightContentRender,c=e.menuHeaderRender,v=e.onMenuHeaderClick,h=e.className,C=e.style,b=e.layout,M=e.children,z=e.splitMenus,A=e.menuData,H=e.prefixCls,p=(0,y.useContext)(Qe.ZP.ConfigContext),j=p.direction,N=(0,y.useContext)(Qe.ZP.ConfigContext),L=N.getPrefixCls,R="".concat(H||L("pro"),"-global-header"),W=aa(R),O=W.wrapSSR,U=W.hashId,J=k()(h,R,U);if(b==="mix"&&!r&&z){var m=(A||[]).map(function(q){return(0,s.Z)((0,s.Z)({},q),{},{children:void 0,routes:void 0})}),D=(0,Zn.QX)(m);return(0,d.jsx)(gt,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:D}))}var fe=k()("".concat(R,"-logo"),U,(n={},(0,u.Z)(n,"".concat(R,"-logo-rtl"),j==="rtl"),(0,u.Z)(n,"".concat(R,"-logo-mix"),b==="mix"),(0,u.Z)(n,"".concat(R,"-logo-mobile"),r),n)),ae=(0,d.jsx)("span",{className:fe,children:(0,d.jsx)("a",{children:Hn(a)})},"logo");return O((0,d.jsxs)("div",{className:J,style:(0,s.Z)({},C),children:[r&&(0,d.jsx)("span",{className:"".concat(R,"-collapsed-button ").concat(U),onClick:function(){o==null||o(!i)},children:(0,d.jsx)(Zr.Z,{})}),r&&oa(c,ae),b==="mix"&&!r&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Wn,(0,s.Z)({},e)),(0,d.jsx)("div",{className:fe,onClick:v,children:Fn((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,d.jsx)("div",{style:{flex:1},children:M}),(l||e.actionsRender||e.avatarProps)&&(0,d.jsx)(ht,(0,s.Z)({rightContentRender:l},e))]}))};function la(t,e){var n=e.stylish,r=e.proLayoutCollapsedWidth;return(0,Pe.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:r});return n?[(0,u.Z)({},a.proComponentsCls,(0,u.Z)({},"".concat(a.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(i.componentCls),n==null?void 0:n(i))))]:[]})}var yt=Mn.Z.Header,ua=function(e){var n,r,a,i,o,l,c=e.isMobile,v=e.fixedHeader,h=e.className,C=e.style,b=e.collapsed,M=e.prefixCls,z=e.onCollapse,A=e.layout,H=e.headerRender,p=e.headerContentRender,j=(0,y.useContext)(V.L_),N=j.token,L=(0,y.useCallback)(function(){var ae=A==="top",q=(0,Zn.QX)(e.menuData||[]),ie=(0,d.jsx)(ia,(0,s.Z)((0,s.Z)({onCollapse:z},e),{},{menuData:q,children:p&&p(e,null)}));return ae&&!c&&(ie=(0,d.jsx)(gt,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:z},e),{},{menuData:q}))),H&&typeof H=="function"?H(e,ie):ie},[p,H,c,A,z,e]),R=v||A==="mix",W=A==="top",O="".concat(M,"-layout-header"),U=Mr(O),J=U.wrapSSR,m=U.hashId,D=la("".concat(O,".").concat(O,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),fe=k()(h,m,O,(n={},(0,u.Z)(n,"".concat(O,"-fixed-header"),R),(0,u.Z)(n,"".concat(O,"-mix"),A==="mix"),(0,u.Z)(n,"".concat(O,"-fixed-header-action"),!b),(0,u.Z)(n,"".concat(O,"-top-menu"),W),(0,u.Z)(n,"".concat(O,"-header"),!0),(0,u.Z)(n,"".concat(O,"-stylish"),!!e.stylish),n));return A==="side"&&!c?null:D.wrapSSR(J((0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(Qe.ZP,{theme:{hashed:((r="production")===null||r===void 0?void 0:r.toLowerCase())!=="test",components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"}}},children:[R&&(0,d.jsx)(yt,{style:(0,s.Z)({height:(N==null||(a=N.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,lineHeight:"".concat((N==null||(o=N.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},C)}),(0,d.jsx)(yt,{className:fe,style:C,children:L()})]})})))},da=g(83832),ca=g(85265),sa=g(78635),va=new sa.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0},"80%":{display:"none",opacity:0},"100%":{display:"unset",opacity:1}}),fa=function(e){var n,r,a,i,o,l,c,v,h,C,b,M,z,A,H,p,j,N,L,R,W,O,U,J,m,D;return(0,u.Z)({},e.proComponentsCls,(0,u.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,u.Z)({},e.componentCls,(D={position:"relative",background:((n=e.layout)===null||n===void 0||(r=n.sider)===null||r===void 0?void 0:r.colorMenuBackground)||"transparent",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"},"&-fixed":{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%"}},(0,u.Z)(D,"".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.paddingInlineLayoutMenu,paddingBlock:(o=e.layout)===null||o===void 0||(l=o.sider)===null||l===void 0?void 0:l.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit)}),(0,u.Z)(D,"".concat(e.antCls,"-menu"),(h={},(0,u.Z)(h,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,u.Z)(h,"".concat(e.antCls,"-menu-item:hover"),{color:e==null||(c=e.layout)===null||c===void 0||(v=c.sider)===null||v===void 0?void 0:v.colorTextMenuItemHover}),h)),(0,u.Z)(D,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(C=e.layout)===null||C===void 0||(b=C.sider)===null||b===void 0?void 0:b.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((M=e.layout)===null||M===void 0||(z=M.sider)===null||z===void 0?void 0:z.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(A=e.layout)===null||A===void 0||(H=A.sider)===null||H===void 0?void 0:H.colorTextMenuTitle,fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,u.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,u.Z)(D,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(p=e.layout)===null||p===void 0||(j=p.sider)===null||j===void 0?void 0:j.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(N=e.layout)===null||N===void 0||(L=N.sider)===null||L===void 0?void 0:L.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,u.Z)(D,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,u.Z)(D,"&-mix",{height:"calc(100% - ".concat((e==null||(R=e.layout)===null||R===void 0||(W=R.header)===null||W===void 0?void 0:W.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((e==null||(O=e.layout)===null||O===void 0||(U=O.header)===null||U===void 0?void 0:U.heightLayoutHeader)||56,"px")}),(0,u.Z)(D,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,u.Z)(D,"&-links",{width:"100%",ul:{height:"auto"}}),(0,u.Z)(D,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,u.Z)(D,"&-footer",{color:(J=e.layout)===null||J===void 0||(m=J.sider)===null||m===void 0?void 0:m.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:va,animationDuration:".3s",animationTimingFunction:"ease"}),D))))};function ma(t,e){var n=e.proLayoutCollapsedWidth;return(0,Pe.Xj)("ProLayoutSiderMenu",function(r){var a=(0,s.Z)((0,s.Z)({},r),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:n});return[fa(a)]})}var pt=function(e){var n=e.isMobile,r=e.siderWidth,a=e.collapsed,i=e.onCollapse,o=e.style,l=e.className,c=e.hide,v=e.getContainer,h=e.prefixCls;(0,y.useEffect)(function(){n===!0&&(i==null||i(!0))},[n]);var C=(0,et.Z)(e,["className","style"]),b=y.useContext(Qe.ZP.ConfigContext),M=b.direction,z=ma("".concat(h,"-sider"),{proLayoutCollapsedWidth:64}),A=z.wrapSSR,H=z.hashId,p=k()("".concat(h,"-sider"),l,H);if(c)return null;var j=(0,at.X)(!a,function(){return i==null?void 0:i(!0)});return A(n?(0,d.jsx)(ca.Z,(0,s.Z)((0,s.Z)({placement:M==="rtl"?"right":"left",className:k()("".concat(h,"-drawer-sider"),l)},j),{},{style:(0,s.Z)({padding:0,height:"100vh"},o),maskClosable:!0,closable:!1,getContainer:v,width:r,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,d.jsx)(mt,(0,s.Z)((0,s.Z)({},C),{},{isMobile:!0,className:p,collapsed:n?!1:a,splitMenus:!1,originCollapsed:a}))})):(0,d.jsx)(mt,(0,s.Z)((0,s.Z)({className:p,originCollapsed:a},C),{},{style:o})))},xt=g(76509),ha=g(14779),zn=g.n(ha),ga=function(e,n,r){if(r){var a=(0,Pn.Z)(r.keys()).find(function(o){return zn()(o).test(e)});if(a)return r.get(a)}if(n){var i=Object.keys(n).find(function(o){return zn()(o).test(e)});if(i)return n[i]}return{path:""}},Kn=function(e,n){var r=e.pathname,a=r===void 0?"/":r,i=e.breadcrumb,o=e.breadcrumbMap,l=e.formatMessage,c=e.title,v=e.menu,h=v===void 0?{locale:!1}:v,C=n?"":c||"",b=ga(a,i,o);if(!b)return{title:C,id:"",pageName:C};var M=b.name;return h.locale!==!1&&b.locale&&l&&(M=l({id:b.locale||"",defaultMessage:b.name})),M?n||!c?{title:M,id:b.locale||"",pageName:M}:{title:"".concat(M," - ").concat(c),id:b.locale||"",pageName:M}:{title:C,id:b.locale||"",pageName:C}},eo=function(e,n){return Kn(e,n).title},ya=g(52676),Ct=g(67159),Un=g(34155),pa=function(){var e,n;return typeof Un=="undefined"?Ct.Z:((e=Un)===null||Un===void 0||(n={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||n===void 0?void 0:n.ANTD_VERSION)||Ct.Z},xa=function(e){var n,r,a,i,o,l,c,v,h,C,b,M,z,A,H,p,j,N,L,R,W,O,U,J,m,D,fe,ae,q,ie,Ie,xe,Se,me,he,ye,pe,De,Ae,ze,Ne,te,le,F,He,Te,Ze,je,Ee,Ke,Ye,nn,on,Ue,fn,We,_e,Ge,ln,tn,Xe,de,ge,we,_n,un,mn,gn,yn,dn,Je;return!((n=pa())===null||n===void 0)&&n.startsWith("5")?{}:(Je={},(0,u.Z)(Je,e.proComponentsCls,{width:"100%",height:"100%"}),(0,u.Z)(Je,e.componentCls,(Ge={width:"100%",height:"100%"},(0,u.Z)(Ge,"".concat(e.proComponentsCls,"-base-menu"),(le={color:e==null||(r=e.layout)===null||r===void 0||(a=r.sider)===null||a===void 0?void 0:a.colorTextMenu},(0,u.Z)(le,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:e==null||(i=e.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorTextMenu}),(0,u.Z)(le,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,u.Z)(le,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,u.Z)(le,"&".concat(e.antCls,"-menu"),(v={color:e==null||(l=e.layout)===null||l===void 0||(c=l.sider)===null||c===void 0?void 0:c.colorTextMenu},(0,u.Z)(v,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,u.Z)(v,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),v)),(0,u.Z)(le,"&".concat(e.antCls,"-menu-inline"),(0,u.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,u.Z)(le,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,u.Z)(le,"".concat(e.antCls,`-menu-item:active, - `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,u.Z)(le,"&".concat(e.antCls,"-menu-light"),(0,u.Z)({},"".concat(e.antCls,`-menu-item:hover, - `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,`-menu-submenu-active, - `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:e==null||(h=e.layout)===null||h===void 0||(C=h.sider)===null||C===void 0?void 0:C.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(b=e.layout)===null||b===void 0||(M=b.sider)===null||M===void 0?void 0:M.colorTextMenuActive}))),(0,u.Z)(le,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(W={},(0,u.Z)(W,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:e==null||(z=e.layout)===null||z===void 0||(A=z.sider)===null||A===void 0?void 0:A.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,u.Z)(W,"".concat(e.antCls,`-menu-item:hover, - `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:e==null||(H=e.layout)===null||H===void 0||(p=H.sider)===null||p===void 0?void 0:p.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:e==null||(j=e.layout)===null||j===void 0||(N=j.sider)===null||N===void 0?void 0:N.colorBgMenuItemHover},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(L=e.layout)===null||L===void 0||(R=L.sider)===null||R===void 0?void 0:R.colorTextMenuActive})),W)),(0,u.Z)(le,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(O=e.layout)===null||O===void 0||(U=O.sider)===null||U===void 0?void 0:U.colorTextMenuSelected}),(0,u.Z)(le,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(J=e.layout)===null||J===void 0||(m=J.sider)===null||m===void 0?void 0:m.colorTextMenuSelected}),(0,u.Z)(le,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:e==null||(D=e.layout)===null||D===void 0||(fe=D.sider)===null||fe===void 0?void 0:fe.colorTextMenuSelected}),(0,u.Z)(le,"&".concat(e.antCls,"-menu-vertical"),(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:e==null||(ae=e.layout)===null||ae===void 0||(q=ae.sider)===null||q===void 0?void 0:q.colorTextMenuSelected})),(0,u.Z)(le,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(ie=e.layout)===null||ie===void 0||(Ie=ie.sider)===null||Ie===void 0?void 0:Ie.colorTextMenuActive}),(0,u.Z)(le,"&".concat(e.antCls,"-menu-horizontal"),(te={},(0,u.Z)(te,"".concat(e.antCls,`-menu-item:hover, - `).concat(e.antCls,`-menu-submenu:hover, - `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:e==null||(xe=e.layout)===null||xe===void 0||(Se=xe.header)===null||Se===void 0?void 0:Se.colorTextMenuActive,backgroundColor:e==null||(me=e.layout)===null||me===void 0||(he=me.header)===null||he===void 0?void 0:he.colorBgMenuItemHover}),(0,u.Z)(te,"".concat(e.antCls,`-menu-item-open, - `).concat(e.antCls,`-menu-submenu-open, - `).concat(e.antCls,`-menu-item-selected, - `).concat(e.antCls,"-menu-submenu-selected"),(0,u.Z)({backgroundColor:e==null||(ye=e.layout)===null||ye===void 0||(pe=ye.header)===null||pe===void 0?void 0:pe.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:e==null||(De=e.layout)===null||De===void 0||(Ae=De.header)===null||Ae===void 0?void 0:Ae.colorTextMenuSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(ze=e.layout)===null||ze===void 0||(Ne=ze.header)===null||Ne===void 0?void 0:Ne.colorTextMenuSelected})),(0,u.Z)(te,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,u.Z)(te,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),te)),le)),(0,u.Z)(Ge,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(_e={},(0,u.Z)(_e,"&".concat(e.antCls,"-menu"),(0,u.Z)({color:e==null||(F=e.layout)===null||F===void 0||(He=F.header)===null||He===void 0?void 0:He.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,u.Z)(_e,"&".concat(e.antCls,"-menu-light"),(We={},(0,u.Z)(We,"".concat(e.antCls,`-menu-item:hover, - `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,`-menu-submenu-active, - `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:e==null||(Te=e.layout)===null||Te===void 0||(Ze=Te.header)===null||Ze===void 0?void 0:Ze.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:e==null||(je=e.layout)===null||je===void 0||(Ee=je.header)===null||Ee===void 0?void 0:Ee.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(Ke=e.layout)===null||Ke===void 0||(Ye=Ke.header)===null||Ye===void 0?void 0:Ye.colorTextMenuActive})),(0,u.Z)(We,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(nn=e.layout)===null||nn===void 0||(on=nn.header)===null||on===void 0?void 0:on.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:e==null||(Ue=e.layout)===null||Ue===void 0||(fn=Ue.header)===null||fn===void 0?void 0:fn.colorBgMenuItemSelected}),We)),_e)),Ge)),(0,u.Z)(Je,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,u.Z)(Je,"".concat(e.antCls,"-menu-submenu-popup"),(dn={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,u.Z)(dn,"".concat(e.antCls,"-menu"),(0,u.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active, - `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,u.Z)(dn,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(ln=e.layout)===null||ln===void 0||(tn=ln.sider)===null||tn===void 0?void 0:tn.colorTextMenuSelected}),(0,u.Z)(dn,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(Xe=e.layout)===null||Xe===void 0||(de=Xe.sider)===null||de===void 0?void 0:de.colorTextMenuSelected}),(0,u.Z)(dn,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(yn={},(0,u.Z)(yn,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:e==null||(ge=e.layout)===null||ge===void 0||(we=ge.sider)===null||we===void 0?void 0:we.colorTextMenuSelected}),(0,u.Z)(yn,"".concat(e.antCls,`-menu-item:hover, - `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:e==null||(_n=e.layout)===null||_n===void 0||(un=_n.sider)===null||un===void 0?void 0:un.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(mn=e.layout)===null||mn===void 0||(gn=mn.sider)===null||gn===void 0?void 0:gn.colorTextMenuActive})),yn)),dn)),Je)},Ca=function(e){var n,r,a,i,o,l,c,v,h;return(0,u.Z)({body:{paddingBlock:0,paddingInline:0,marginBlock:0,marginInline:0,fontFamily:e.fontFamily}},e.proComponentsCls,(h={},(0,u.Z)(h,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,u.Z)(h,"& ".concat(e.componentCls),(v={},(0,u.Z)(v,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,u.Z)(v,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(e==null||(n=e.layout)===null||n===void 0||(r=n.pageContainer)===null||r===void 0?void 0:r.colorBgPageContainer)||"transparent",position:"relative","*":{boxSizing:"border-box"},paddingBlock:e==null||(a=e.layout)===null||a===void 0||(i=a.pageContainer)===null||i===void 0?void 0:i.paddingBlockPageContainerContent,paddingInline:e==null||(o=e.layout)===null||o===void 0||(l=o.pageContainer)===null||l===void 0?void 0:l.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,u.Z)(v,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,u.Z)(v,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:e==null||(c=e.layout)===null||c===void 0?void 0:c.bgLayout}),v)),(0,u.Z)(h,"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}),h))};function ba(t){return(0,Pe.Xj)("ProLayout",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(t)});return[Ca(n),xa(n)]})}function Sa(t){if(!t||t==="/")return["/"];var e=t.split("/").filter(function(n){return n});return e.map(function(n,r){return"/".concat(e.slice(0,r+1).join("/"))})}var Ma=function(e,n,r){var a=e.breadcrumbName,i=e.path,o=r.indexOf(e)===r.length-1;return o?(0,d.jsx)("span",{children:a}):(0,d.jsx)("a",{href:i,children:a})},Za=function(e,n){var r=n.formatMessage,a=n.menu;return e.locale&&r&&(a==null?void 0:a.locale)!==!1?r({id:e.locale,defaultMessage:e.name}):e.name},_a=function(e,n){var r=e.get(n);if(!r){var a=Array.from(e.keys())||[],i=a.find(function(o){return zn()(o.replace("?","")).test(n)});i&&(r=e.get(i))}return r||{path:""}},$a=function(e){var n=e.location,r=e.breadcrumbMap;return{location:n,breadcrumbMap:r}},Ia=function(e,n,r){var a=Sa(e==null?void 0:e.pathname),i=a.map(function(o){var l=_a(n,o),c=Za(l,r),v=l.hideInBreadcrumb;return c&&!v?{path:o,breadcrumbName:c,component:l.component}:{path:"",breadcrumbName:""}}).filter(function(o){return o&&o.path});return i},Ra=function(e){var n=$a(e),r=n.location,a=n.breadcrumbMap;return r&&r.pathname&&a?Ia(r,a,e):[]},Ta=function(e,n){var r=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,l=o===void 0?2:o,c=Ra(e),v=a||Ma,h=c;return r&&(h=r(h)||[]),(h&&h.length0),n)),C=e.ErrorBoundary||Ba.S;return e.ErrorBoundary===!1?(0,d.jsx)(Mn.Z.Content,{className:h,style:i,children:l}):(0,d.jsx)(C,{children:(0,d.jsx)(Mn.Z.Content,{className:h,style:i,children:l})})},Na=["id","defaultMessage"],Oa=["fixSiderbar","navTheme","layout"],bt=0,Da=function(e,n){var r;return e.headerRender===!1||e.pure?null:(0,d.jsx)(ua,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{stylish:(r=e.stylish)===null||r===void 0?void 0:r.header}))},Ha=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,d.jsx)(br.q,{})):null},Wa=function(e,n){var r,a=e.layout,i=e.isMobile,o=e.selectedKeys,l=e.openKeys,c=e.splitMenus,v=e.menuRender;if(e.menuRender===!1||e.pure)return null;var h=e.menuData;if(c&&(l!==!1||a==="mix")&&!i){var C=o||n,b=(0,X.Z)(C,1),M=b[0];if(M){var z,A;h=((z=e.menuData)===null||z===void 0||(A=z.find(function(N){return N.key===M}))===null||A===void 0?void 0:A.children)||[]}else h=[]}var H=(0,Zn.QX)(h||[]);if(H&&(H==null?void 0:H.length)<1&&c)return null;if(a==="top"&&!i){var p;return(0,d.jsx)(pt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(p=e.stylish)===null||p===void 0?void 0:p.sider}))}var j=(0,d.jsx)(pt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{menuData:H,stylish:(r=e.stylish)===null||r===void 0?void 0:r.sider}));return v?v(e,j):j},Fa=function(e,n){var r=n.pageTitleRender,a=Kn(e);if(r===!1)return{title:n.title||"",id:"",pageName:""};if(r){var i=r(e,a.title,a);if(typeof i=="string")return Kn((0,s.Z)((0,s.Z)({},a),{},{title:i}));(0,ir.default)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},za=function(e,n,r){return e?n?60:r:0},St=function(e){var n,r,a,i,o,l=e||{},c=l.children,v=l.onCollapse,h=l.location,C=h===void 0?{pathname:"/"}:h,b=l.contentStyle,M=l.route,z=l.defaultCollapsed,A=l.style,H=l.siderWidth,p=l.menu,j=l.siderMenuType,N=l.isChildrenLayout,L=l.menuDataRender,R=l.actionRef,W=l.bgLayoutImgList,O=l.formatMessage,U=l.loading,J=(0,y.useMemo)(function(){return H||(e.layout==="mix"?215:256)},[e.layout,H]),m=(0,y.useContext)(Qe.ZP.ConfigContext),D=(n=e.prefixCls)!==null&&n!==void 0?n:m.getPrefixCls("pro"),fe=(0,ne.Z)(!1,{value:p==null?void 0:p.loading,onChange:p==null?void 0:p.onLoadingChange}),ae=(0,X.Z)(fe,2),q=ae[0],ie=ae[1],Ie=(0,y.useState)(function(){return bt+=1,"pro-layout-".concat(bt)}),xe=(0,X.Z)(Ie,1),Se=xe[0],me=(0,y.useCallback)(function(Re){var cn=Re.id,jn=Re.defaultMessage,$n=(0,ee.Z)(Re,Na);if(O)return O((0,s.Z)({id:cn,defaultMessage:jn},$n));var In=(0,ya.e)();return In[cn]?In[cn]:jn},[O]),he=(0,nt.ZP)([Se,p==null?void 0:p.params],function(){var Re=(0,se.Z)((0,ce.Z)().mark(function cn(jn){var $n,In,Tt,Pt;return(0,ce.Z)().wrap(function(pn){for(;;)switch(pn.prev=pn.next){case 0:return In=(0,X.Z)(jn,2),Tt=In[1],ie(!0),pn.next=4,p==null||($n=p.request)===null||$n===void 0?void 0:$n.call(p,Tt||{},(M==null?void 0:M.children)||(M==null?void 0:M.routes)||[]);case 4:return Pt=pn.sent,ie(!1),pn.abrupt("return",Pt);case 7:case"end":return pn.stop()}},cn)}));return function(cn){return Re.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ye=he.data,pe=he.mutate,De=(0,nt.kY)(),Ae=De.cache;(0,y.useEffect)(function(){return function(){Ae instanceof Map&&Ae.clear()}},[]);var ze=(0,y.useMemo)(function(){return ja(ye||(M==null?void 0:M.children)||(M==null?void 0:M.routes)||[],p,me,L)},[me,p,L,ye,M==null?void 0:M.children,M==null?void 0:M.routes]),Ne=ze||{},te=Ne.breadcrumb,le=te===void 0?{}:te,F=Ne.breadcrumbMap,He=Ne.menuData,Te=He===void 0?[]:He;R&&(p==null?void 0:p.request)&&(R.current={reload:function(){pe()}});var Ze=(0,y.useMemo)(function(){return ar(C.pathname||"/",Te||[],!0)},[C.pathname,Te]),je=(0,y.useMemo)(function(){return Array.from(new Set(Ze.map(function(Re){return Re.key||Re.path||""})))},[Ze]),Ee=Ze[Ze.length-1]||{},Ke=La(Ee),Ye=(0,s.Z)((0,s.Z)({},e),Ke),nn=Ye.fixSiderbar,on=Ye.navTheme,Ue=Ye.layout,fn=(0,ee.Z)(Ye,Oa),We=xr(),_e=(We==="sm"||We==="xs")&&!e.disableMobile,Ge=Ue!=="top"&&!_e,ln=(0,ne.Z)(function(){return z!==void 0?z:!!(_e||We==="md")},{value:e.collapsed,onChange:v}),tn=(0,X.Z)(ln,2),Xe=tn[0],de=tn[1],ge=(0,et.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:D},e),{},{siderWidth:J},Ke),{},{formatMessage:me,breadcrumb:le,menu:(0,s.Z)((0,s.Z)({},p),{},{type:j||(p==null?void 0:p.type),loading:q}),layout:Ue}),["className","style","breadcrumbRender"]),we=Fa((0,s.Z)((0,s.Z)({pathname:C.pathname},ge),{},{breadcrumbMap:F}),e),_n=Ta((0,s.Z)((0,s.Z)({},ge),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:F}),e),un=Wa((0,s.Z)((0,s.Z)({},ge),{},{menuData:Te,onCollapse:de,isMobile:_e,collapsed:Xe}),je),mn=Da((0,s.Z)((0,s.Z)({},ge),{},{children:null,hasSiderMenu:!!un,menuData:Te,isMobile:_e,collapsed:Xe,onCollapse:de}),je),gn=Ha((0,s.Z)({isMobile:_e,collapsed:Xe},ge)),yn=(0,y.useContext)(xt.X),dn=yn.isChildrenLayout,Je=N!==void 0?N:dn,qe="".concat(D,"-layout"),Mt=ba(qe),Ua=Mt.wrapSSR,Gn=Mt.hashId,Ga=k()(e.className,Gn,"ant-design-pro",qe,(r={},(0,u.Z)(r,"screen-".concat(We),We),(0,u.Z)(r,"".concat(qe,"-top-menu"),Ue==="top"),(0,u.Z)(r,"".concat(qe,"-is-children"),Je),(0,u.Z)(r,"".concat(qe,"-fix-siderbar"),nn),(0,u.Z)(r,"".concat(qe,"-").concat(Ue),Ue),r)),Xa=za(!!Ge,Xe,J),Zt={position:"relative"};(Je||b&&b.minHeight)&&(Zt.minHeight=0),(0,y.useEffect)(function(){var Re;(Re=e.onPageChange)===null||Re===void 0||Re.call(e,e.location)},[C.pathname,(a=C.pathname)===null||a===void 0?void 0:a.search]);var Va=(0,y.useState)(!1),_t=(0,X.Z)(Va,2),$t=_t[0],Qa=_t[1],Ya=(0,y.useState)(0),It=(0,X.Z)(Ya,2),Rt=It[0],Ja=It[1];ue(we,e.title||!1);var qa=(0,y.useMemo)(function(){return W&&W.length>0?W.map(function(Re,cn){return(0,d.jsx)("img",{src:Re.src,style:(0,s.Z)({position:"absolute"},Re)},cn)}):null},[W]),ka=(0,y.useContext)(V.L_),Xn=ka.token;return Ua((0,d.jsx)(xt.X.Provider,{value:(0,s.Z)((0,s.Z)({},ge),{},{breadcrumb:_n,menuData:Te,isMobile:_e,collapsed:Xe,hasPageContainer:Rt,setHasPageContainer:Ja,isChildrenLayout:!0,title:we.pageName,hasSiderMenu:!!un,hasHeader:!!mn,siderWidth:Xa,hasFooter:!!gn,hasFooterToolbar:$t,setHasFooterToolbar:Qa,pageTitleInfo:we,matchMenus:Ze,matchMenuKeys:je,currentMenu:Ee}),children:e.pure?(0,d.jsx)(d.Fragment,{children:c}):(0,d.jsxs)("div",{className:Ga,children:[(0,d.jsx)("div",{className:"".concat(qe,"-bg-list ").concat(Gn),children:qa}),(0,d.jsxs)(Mn.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:un?"row":void 0},A),children:[un,(0,d.jsxs)("div",{style:Zt,className:"".concat(qe,"-container ").concat(Gn),children:[mn,(0,d.jsx)(Aa,(0,s.Z)((0,s.Z)({hasPageContainer:Rt,isChildrenLayout:Je},fn),{},{hasHeader:!!mn,prefixCls:qe,style:b,children:U?(0,d.jsx)(da.S,{}):c})),gn,$t&&(0,d.jsx)("div",{className:"".concat(qe,"-has-footer"),style:{height:64,marginBlockStart:Xn==null||(i=Xn.layout)===null||i===void 0||(o=i.pageContainer)===null||o===void 0?void 0:o.paddingBlockPageContainerContent}})]})]})]})}))};St.defaultProps=(0,s.Z)((0,s.Z)({logo:(0,d.jsx)(Cr,{})},dt.h),{},{location:(0,Q.j)()?window.location:void 0});var Ka=function(e){var n=e.colorPrimary,r=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,d.jsx)(Qe.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,d.jsx)(V._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},r),{},{token:e.token,prefixCls:e.prefixCls,children:(0,d.jsx)(St,(0,s.Z)({},e))}))})}},90743:function(Le,Ce){var g;function u(f){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},u(f)}g={value:!0},Ce.Bo=g=g=g=g=g=g=void 0;function ce(f){for(var S=[],x=0;x=48&&P<=57||P>=65&&P<=90||P>=97&&P<=122||P===95){Y+=f[w++];continue}break}if(!Y)throw new TypeError("Missing parameter name at "+x);S.push({type:"NAME",index:x,value:Y}),x=w;continue}if(T==="("){var $=1,_="",w=x+1;if(f[w]==="?")throw new TypeError('Pattern cannot start with "?" at '+w);for(;w-1:Oe===void 0;Y||(oe+="(?:"+ve+"(?="+K+"))?"),Ve||(oe+="(?="+ve+"|"+K+")")}return new RegExp(oe,ne(x))}g=Z;function E(f,S,x){return f instanceof RegExp?y(f,S):Array.isArray(f)?Q(f,S,x):ue(f,S,x)}Ce.Bo=E},78164:function(Le,Ce,g){"use strict";g.d(Ce,{S:function(){return V}});var u=g(15671),ce=g(43144),se=g(32531),ee=g(51630),X=g(85893),s=g(29905),d=g(67294),V=function(ne){(0,se.Z)(Q,ne);var y=(0,ee.Z)(Q);function Q(){var ue;(0,u.Z)(this,Q);for(var Z=arguments.length,E=new Array(Z),f=0;f-1&&(K=T[$e],T=T.slice(0,$e))}T&&(f.push(T),T="",P=!1);var Fe=K!==""&&ve!==void 0&&ve!==K,rn=G==="+"||G==="*",Oe=G==="?"||G==="*",Ve=K||Y,ke=re||Me;f.push({name:oe||S++,prefix:K,delimiter:Ve,optional:Oe,repeat:rn,partial:Fe,pattern:ke?s(ke):"[^"+X(Ve)+"]+?"})}return(T||x-1;else{var K=I.repeat?"(?:"+I.pattern+")(?:"+X(I.delimiter)+"(?:"+I.pattern+"))*":I.pattern;E&&E.push(I),I.optional?I.partial?$+=X(I.prefix)+"("+K+")?":$+="(?:"+X(I.prefix)+"("+K+"))?":$+=X(I.prefix)+"("+K+")"}}return T?(S||($+="(?:"+Y+")?"),$+=P==="$"?"$":"(?="+P+")"):(S||($+="(?:"+Y+"(?="+P+"))?"),_||($+="(?="+Y+"|"+P+")")),new RegExp($,d(f))}function ue(Z,E,f){return Z instanceof RegExp?V(Z,E):Array.isArray(Z)?ne(Z,E,f):y(Z,E,f)}}}]); diff --git a/statics/5851.e22c8799.async.js b/statics/5851.e22c8799.async.js new file mode 100644 index 00000000..2de67084 --- /dev/null +++ b/statics/5851.e22c8799.async.js @@ -0,0 +1,41 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5851],{27363:function(se,P){"use strict";var i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};P.Z=i},16165:function(se,P,i){"use strict";var n=i(1413),Z=i(4942),F=i(45987),D=i(67294),ae=i(93967),N=i.n(ae),C=i(63017),I=i(56736),X=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],R=D.forwardRef(function(g,b){var m=g.className,K=g.component,$=g.viewBox,M=g.spin,A=g.rotate,ce=g.tabIndex,de=g.onClick,V=g.children,xe=(0,F.Z)(g,X);(0,I.Kp)(Boolean(K||V),"Should have `component` prop or `children`."),(0,I.C3)();var ye=D.useContext(C.Z),Ce=ye.prefixCls,ue=Ce===void 0?"anticon":Ce,je=ye.rootClassName,De=N()(je,ue,m),Me=N()((0,Z.Z)({},"".concat(ue,"-spin"),!!M)),Le=A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,ve=(0,n.Z)((0,n.Z)({},I.vD),{},{className:Me,style:Le,viewBox:$});$||delete ve.viewBox;var Be=function(){return K?D.createElement(K,(0,n.Z)({},ve),V):V?((0,I.Kp)(Boolean($)||D.Children.count(V)===1&&D.isValidElement(V)&&D.Children.only(V).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),D.createElement("svg",(0,n.Z)((0,n.Z)({},ve),{},{viewBox:$}),V)):null},be=ce;return be===void 0&&de&&(be=-1),D.createElement("span",(0,n.Z)((0,n.Z)({role:"img"},xe),{},{ref:b,tabIndex:be,onClick:de,className:De}),Be())});R.displayName="AntdIcon",P.Z=R},91321:function(se,P,i){"use strict";i.d(P,{Z:function(){return X}});var n=i(1413),Z=i(45987),F=i(67294),D=i(16165),ae=["type","children"],N=new Set;function C(R){return Boolean(typeof R=="string"&&R.length&&!N.has(R))}function I(R){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b=R[g];if(C(b)){var m=document.createElement("script");m.setAttribute("src",b),m.setAttribute("data-namespace",b),R.length>g+1&&(m.onload=function(){I(R,g+1)},m.onerror=function(){I(R,g+1)}),N.add(b),document.body.appendChild(m)}}function X(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=R.scriptUrl,b=R.extraCommonProps,m=b===void 0?{}:b;g&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(g)?I(g.reverse()):I([g]));var K=F.forwardRef(function($,M){var A=$.type,ce=$.children,de=(0,Z.Z)($,ae),V=null;return $.type&&(V=F.createElement("use",{xlinkHref:"#".concat(A)})),ce&&(V=ce),F.createElement(D.Z,(0,n.Z)((0,n.Z)((0,n.Z)({},m),de),{},{ref:M}),V)});return K.displayName="Iconfont",K}},96746:function(se,P,i){"use strict";i.d(P,{Z:function(){return _t}});var n=i(67294),Z=i(87462),F=i(27363),D=i(93771),ae=function(o,r){return n.createElement(D.Z,(0,Z.Z)({},o,{ref:r,icon:F.Z}))},N=n.forwardRef(ae),C=N,I=i(93967),X=i.n(I),R=i(9220),g=i(50344),b=i(8410),m=i(21770),K=i(98423),$=i(42550),M=i(79370),A=i(15105),ce=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{const r=a=>{const{keyCode:p}=a;p===A.Z.ENTER&&a.preventDefault()},t=a=>{const{keyCode:p}=a,{onClick:f}=e;p===A.Z.ENTER&&f&&f()},{style:l,noStyle:c,disabled:y,tabIndex:E=0}=e,v=ce(e,["style","noStyle","disabled","tabIndex"]);let d={};return c||(d=Object.assign({},de)),y&&(d.pointerEvents="none"),d=Object.assign(Object.assign({},d),l),n.createElement("div",Object.assign({role:"button",tabIndex:E,ref:o},v,{onKeyDown:r,onKeyUp:t,style:d}))}),ye=i(53124),Ce=i(10110),ue=i(83062),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},De=je,Me=function(o,r){return n.createElement(D.Z,(0,Z.Z)({},o,{ref:r,icon:De}))},Le=n.forwardRef(Me),ve=Le,Be=i(96159),be=i(22913),Ne=i(49867),tt=i(91945),nt=i(78589),ot=i(54548);const rt=(e,o,r,t)=>{const{titleMarginBottom:l,fontWeightStrong:c}=t;return{marginBottom:l,color:r,fontWeight:c,fontSize:e,lineHeight:o}},lt=e=>{const o=[1,2,3,4,5],r={};return o.forEach(t=>{r[` + h${t}&, + div&-h${t}, + div&-h${t} > textarea, + h${t} + `]=rt(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),r},it=e=>{const{componentCls:o}=e;return{"a&, a":Object.assign(Object.assign({},(0,Ne.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},st=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:nt.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),at=e=>{const{componentCls:o,paddingSM:r}=e,t=r;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(t).mul(-1).equal(),marginBottom:`calc(1em - ${(0,ot.bf)(t)})`},[`${o}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},ct=e=>({[`${e.componentCls}-copy-success`]:{[` + &, + &:hover, + &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),dt=()=>({[` + a&-ellipsis, + span&-ellipsis + `]:{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),ut=e=>{const{componentCls:o,titleMarginTop:r}=e;return{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${o}-secondary`]:{color:e.colorTextDescription},[`&${o}-success`]:{color:e.colorSuccess},[`&${o}-warning`]:{color:e.colorWarning},[`&${o}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` + div&, + p + `]:{marginBottom:"1em"}},lt(e)),{[` + & + h1${o}, + & + h2${o}, + & + h3${o}, + & + h4${o}, + & + h5${o} + `]:{marginTop:r},[` + div, + ul, + li, + p, + h1, + h2, + h3, + h4, + h5`]:{[` + + h1, + + h2, + + h3, + + h4, + + h5 + `]:{marginTop:r}}}),st(e)),it(e)),{[` + ${o}-expand, + ${o}-collapse, + ${o}-edit, + ${o}-copy + `]:Object.assign(Object.assign({},(0,Ne.N)(e)),{marginInlineStart:e.marginXXS})}),at(e)),ct(e)),dt()),{"&-rtl":{direction:"rtl"}})}},ft=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var He=(0,tt.I$)("Typography",e=>[ut(e)],ft),pt=e=>{const{prefixCls:o,"aria-label":r,className:t,style:l,direction:c,maxLength:y,autoSize:E=!0,value:v,onSave:d,onCancel:a,onEnd:p,component:f,enterIcon:h=n.createElement(ve,null)}=e,L=n.useRef(null),j=n.useRef(!1),z=n.useRef(),[te,ne]=n.useState(v);n.useEffect(()=>{ne(v)},[v]),n.useEffect(()=>{if(L.current&&L.current.resizableTextArea){const{textArea:S}=L.current.resizableTextArea;S.focus();const{length:w}=S.value;S.setSelectionRange(w,w)}},[]);const O=S=>{let{target:w}=S;ne(w.value.replace(/[\n\r]/g,""))},B=()=>{j.current=!0},Q=()=>{j.current=!1},W=S=>{let{keyCode:w}=S;j.current||(z.current=w)},fe=()=>{d(te.trim())},Y=S=>{let{keyCode:w,ctrlKey:he,altKey:re,metaKey:pe,shiftKey:me}=S;z.current===w&&!j.current&&!he&&!re&&!pe&&!me&&(w===A.Z.ENTER?(fe(),p==null||p()):w===A.Z.ESC&&a())},x=()=>{fe()},J=f?`${o}-${f}`:"",[U,_,H]=He(o),oe=X()(o,`${o}-edit-content`,{[`${o}-rtl`]:c==="rtl"},t,J,_,H);return U(n.createElement("div",{className:oe,style:l},n.createElement(be.Z,{ref:L,maxLength:y,value:te,onChange:O,onKeyDown:W,onKeyUp:Y,onCompositionStart:B,onCompositionEnd:Q,onBlur:x,"aria-label":r,rows:1,autoSize:E}),h!==null?(0,Be.Tm)(h,{className:`${o}-edit-content-confirm`}):null))},mt=i(20640),gt=i.n(mt),yt=i(56790),vt=function(e,o,r,t){function l(c){return c instanceof r?c:new r(function(y){y(c)})}return new(r||(r=Promise))(function(c,y){function E(a){try{d(t.next(a))}catch(p){y(p)}}function v(a){try{d(t.throw(a))}catch(p){y(p)}}function d(a){a.done?c(a.value):l(a.value).then(E,v)}d((t=t.apply(e,o||[])).next())})},bt=e=>{let{copyConfig:o,children:r}=e;const[t,l]=n.useState(!1),[c,y]=n.useState(!1),E=n.useRef(null),v=()=>{E.current&&clearTimeout(E.current)},d={};o.format&&(d.format=o.format),n.useEffect(()=>v,[]);const a=(0,yt.zX)(p=>vt(void 0,void 0,void 0,function*(){var f;p==null||p.preventDefault(),p==null||p.stopPropagation(),y(!0);try{const h=typeof o.text=="function"?yield o.text():o.text;gt()(h||String(r)||"",d),y(!1),l(!0),v(),E.current=setTimeout(()=>{l(!1)},3e3),(f=o.onCopy)===null||f===void 0||f.call(o,p)}catch(h){throw y(!1),h}}));return{copied:t,copyLoading:c,onClick:a}};function Ze(e,o){return n.useMemo(()=>{const r=!!e;return[r,Object.assign(Object.assign({},o),r&&typeof e=="object"?e:null)]},[e])}var Et=(e,o)=>{const r=n.useRef(!1);n.useEffect(()=>{r.current?e():r.current=!0},o)},ht=e=>{const o=(0,n.useRef)();return(0,n.useEffect)(()=>{o.current=e}),o.current},xt=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{const{prefixCls:r,component:t="article",className:l,rootClassName:c,setContentRef:y,children:E,direction:v,style:d}=e,a=xt(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:f,typography:h}=n.useContext(ye.E_),L=v!=null?v:f;let j=o;y&&(j=(0,$.sQ)(o,y));const z=p("typography",r),[te,ne,O]=He(z),B=X()(z,h==null?void 0:h.className,{[`${z}-rtl`]:L==="rtl"},l,c,ne,O),Q=Object.assign(Object.assign({},h==null?void 0:h.style),d);return te(n.createElement(t,Object.assign({className:B,style:Q,ref:j},a),E))}),Ct=i(64894),Ot=i(48820),St=function(o,r){return n.createElement(D.Z,(0,Z.Z)({},o,{ref:r,icon:Ot.Z}))},Tt=n.forwardRef(St),It=Tt,Rt=i(19267);function Ke(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Oe(e,o,r){return e===!0||e===void 0?o:e||r&&o}var wt=e=>{const{prefixCls:o,copied:r,locale:t,iconOnly:l,tooltips:c,icon:y,loading:E,tabIndex:v,onCopy:d}=e,a=Ke(c),p=Ke(y),{copied:f,copy:h}=t!=null?t:{},L=r?Oe(a[1],f):Oe(a[0],h),z=typeof L=="string"?L:r?f:h;return n.createElement(ue.Z,{key:"copy",title:L},n.createElement(xe,{className:X()(`${o}-copy`,{[`${o}-copy-success`]:r,[`${o}-copy-icon-only`]:l}),onClick:d,"aria-label":z,tabIndex:v},r?Oe(p[1],n.createElement(Ct.Z,null),!0):Oe(p[0],E?n.createElement(Rt.Z,null):n.createElement(It,null),!0)))},Pt=i(74902);const Se=n.forwardRef((e,o)=>{let{style:r,children:t}=e;const l=n.useRef(null);return n.useImperativeHandle(o,()=>({isExceed:()=>{const c=l.current;return c.scrollHeight>c.clientHeight},getHeight:()=>l.current.clientHeight})),n.createElement("span",{"aria-hidden":!0,ref:l,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},r)},t)});function ze(e){const o=typeof e;return o==="string"||o==="number"}function jt(e){let o=0;return e.forEach(r=>{ze(r)?o+=String(r).length:o+=1}),o}function _e(e,o){let r=0;const t=[];for(let l=0;lo){const d=o-r;return t.push(String(c).slice(0,d)),t}t.push(c),r=v}return e}const $e=0,Ae=1,We=2,Ve=3,Te={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Dt(e){const{enableMeasure:o,width:r,text:t,children:l,rows:c,expanded:y,miscDeps:E,onEllipsis:v}=e,d=n.useMemo(()=>(0,g.Z)(t),[t]),a=n.useMemo(()=>jt(d),[t]),p=n.useMemo(()=>l(d,!1),[t]),[f,h]=n.useState(null),L=n.useRef(null),j=n.useRef(null),z=n.useRef(null),te=n.useRef(null),[ne,O]=n.useState(!1),[B,Q]=n.useState($e),[W,fe]=n.useState(0);(0,b.Z)(()=>{Q(o&&r&&a?Ae:$e)},[r,t,c,o,d]),(0,b.Z)(()=>{var U,_,H,oe;if(B===Ae){const S=!!(!((U=j.current)===null||U===void 0)&&U.isExceed());Q(S?We:Ve),h(S?[0,a]:null),O(S);const w=((_=j.current)===null||_===void 0?void 0:_.getHeight())||0,he=c===1?0:((H=z.current)===null||H===void 0?void 0:H.getHeight())||0,re=((oe=te.current)===null||oe===void 0?void 0:oe.getHeight())||0,pe=he+re,me=Math.max(w,pe);fe(me+1),v(S)}},[B]);const Y=f?Math.ceil((f[0]+f[1])/2):0;(0,b.Z)(()=>{var U;const[_,H]=f||[0,0];if(_!==H){const S=(((U=L.current)===null||U===void 0?void 0:U.getHeight())||0)>W;let w=Y;H-_===1&&(w=S?_:H),h(S?[_,w]:[w,H])}},[f,Y]);const x=n.useMemo(()=>{if(B!==We||!f||f[0]!==f[1]){const U=l(d,!1);return B!==Ve&&B!==$e?n.createElement("span",{style:Object.assign(Object.assign({},Te),{WebkitLineClamp:c})},U):U}return l(y?d:_e(d,f[0]),ne)},[y,B,f,d].concat((0,Pt.Z)(E))),J={width:r,whiteSpace:"normal",margin:0,padding:0};return n.createElement(n.Fragment,null,x,B===Ae&&n.createElement(n.Fragment,null,n.createElement(Se,{style:Object.assign(Object.assign(Object.assign({},J),Te),{WebkitLineClamp:c}),ref:j},p),n.createElement(Se,{style:Object.assign(Object.assign(Object.assign({},J),Te),{WebkitLineClamp:c-1}),ref:z},p),n.createElement(Se,{style:Object.assign(Object.assign(Object.assign({},J),Te),{WebkitLineClamp:1}),ref:te},l([],!0))),B===We&&f&&f[0]!==f[1]&&n.createElement(Se,{style:Object.assign(Object.assign({},J),{top:400}),ref:L},l(_e(d,Y),!0)))}var Mt=e=>{let{enableEllipsis:o,isEllipsis:r,children:t,tooltipProps:l}=e;return!(l!=null&&l.title)||!o?t:n.createElement(ue.Z,Object.assign({open:r?void 0:!1},l),t)},Lt=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{var r,t,l;const{prefixCls:c,className:y,style:E,type:v,disabled:d,children:a,ellipsis:p,editable:f,copyable:h,component:L,title:j}=e,z=Lt(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:te,direction:ne}=n.useContext(ye.E_),[O]=(0,Ce.Z)("Text"),B=n.useRef(null),Q=n.useRef(null),W=te("typography",c),fe=(0,K.Z)(z,["mark","code","delete","underline","strong","keyboard","italic"]),[Y,x]=Ze(f),[J,U]=(0,m.Z)(!1,{value:x.editing}),{triggerType:_=["icon"]}=x,H=s=>{var u;s&&((u=x.onStart)===null||u===void 0||u.call(x)),U(s)},oe=ht(J);Et(()=>{var s;!J&&oe&&((s=Q.current)===null||s===void 0||s.focus())},[J]);const S=s=>{s==null||s.preventDefault(),H(!0)},w=s=>{var u;(u=x.onChange)===null||u===void 0||u.call(x,s),H(!1)},he=()=>{var s;(s=x.onCancel)===null||s===void 0||s.call(x),H(!1)},[re,pe]=Ze(h),{copied:me,copyLoading:Fe,onClick:Vt}=bt({copyConfig:pe,children:a}),[Xe,Ft]=n.useState(!1),[Je,Xt]=n.useState(!1),[Ge,Jt]=n.useState(!1),[Qe,Gt]=n.useState(!1),[Qt,Yt]=n.useState(!0),[le,T]=Ze(p,{expandable:!1,symbol:s=>s?O==null?void 0:O.collapse:O==null?void 0:O.expand}),[G,qt]=(0,m.Z)(T.defaultExpanded||!1,{value:T.expanded}),k=le&&(!G||T.expandable==="collapsible"),{rows:ge=1}=T,Re=n.useMemo(()=>k&&(T.suffix!==void 0||T.onEllipsis||T.expandable||Y||re),[k,T,Y,re]);(0,b.Z)(()=>{le&&!Re&&(Ft((0,M.G)("webkitLineClamp")),Xt((0,M.G)("textOverflow")))},[Re,le]);const[q,en]=n.useState(k),Ye=n.useMemo(()=>Re?!1:ge===1?Je:Xe,[Re,Je,Xe]);(0,b.Z)(()=>{en(Ye&&k)},[Ye,k]);const qe=k&&(q?Qe:Ge),tn=k&&ge===1&&q,we=k&&ge>1&&q,nn=(s,u)=>{var ee;qt(u.expanded),(ee=T.onExpand)===null||ee===void 0||ee.call(T,s,u)},[et,on]=n.useState(0),rn=s=>{let{offsetWidth:u}=s;on(u)},ln=s=>{var u;Jt(s),Ge!==s&&((u=T.onEllipsis)===null||u===void 0||u.call(T,s))};n.useEffect(()=>{const s=B.current;if(le&&q&&s){const u=we?s.offsetHeight{const s=B.current;if(typeof IntersectionObserver=="undefined"||!s||!q||!k)return;const u=new IntersectionObserver(()=>{Yt(!!s.offsetParent)});return u.observe(s),()=>{u.disconnect()}},[q,k]);let ie={};T.tooltip===!0?ie={title:(r=x.text)!==null&&r!==void 0?r:a}:n.isValidElement(T.tooltip)?ie={title:T.tooltip}:typeof T.tooltip=="object"?ie=Object.assign({title:(t=x.text)!==null&&t!==void 0?t:a},T.tooltip):ie={title:T.tooltip};const Pe=n.useMemo(()=>{const s=u=>["string","number"].includes(typeof u);if(!(!le||q)){if(s(x.text))return x.text;if(s(a))return a;if(s(j))return j;if(s(ie.title))return ie.title}},[le,q,j,ie.title,qe]);if(J)return n.createElement(pt,{value:(l=x.text)!==null&&l!==void 0?l:typeof a=="string"?a:"",onSave:w,onCancel:he,onEnd:x.onEnd,prefixCls:W,className:y,style:E,direction:ne,component:L,maxLength:x.maxLength,autoSize:x.autoSize,enterIcon:x.enterIcon});const sn=()=>{const{expandable:s,symbol:u}=T;return!s||G&&s!=="collapsible"?null:n.createElement("a",{key:"expand",className:`${W}-${G?"collapse":"expand"}`,onClick:ee=>nn(ee,{expanded:!G}),"aria-label":G?O.collapse:O==null?void 0:O.expand},typeof u=="function"?u(G):u)},an=()=>{if(!Y)return;const{icon:s,tooltip:u,tabIndex:ee}=x,Ue=(0,g.Z)(u)[0]||(O==null?void 0:O.edit),fn=typeof Ue=="string"?Ue:"";return _.includes("icon")?n.createElement(ue.Z,{key:"edit",title:u===!1?"":Ue},n.createElement(xe,{ref:Q,className:`${W}-edit`,onClick:S,"aria-label":fn,tabIndex:ee},s||n.createElement(C,{role:"button"}))):null},cn=()=>re?n.createElement(wt,Object.assign({key:"copy"},pe,{prefixCls:W,copied:me,locale:O,onCopy:Vt,loading:Fe,iconOnly:a==null})):null,dn=s=>[s&&sn(),an(),cn()],un=s=>[s&&!G&&n.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Nt),T.suffix,dn(s)];return n.createElement(R.Z,{onResize:rn,disabled:!k},s=>n.createElement(Mt,{tooltipProps:ie,enableEllipsis:k,isEllipsis:qe},n.createElement(ke,Object.assign({className:X()({[`${W}-${v}`]:v,[`${W}-disabled`]:d,[`${W}-ellipsis`]:le,[`${W}-single-line`]:k&&ge===1&&!G,[`${W}-ellipsis-single-line`]:tn,[`${W}-ellipsis-multiple-line`]:we},y),prefixCls:c,style:Object.assign(Object.assign({},E),{WebkitLineClamp:we?ge:void 0}),component:L,ref:(0,$.sQ)(s,B,o),direction:ne,onClick:_.includes("text")?S:void 0,"aria-label":Pe==null?void 0:Pe.toString(),title:j},fe),n.createElement(Dt,{enableMeasure:k&&!q,text:a,rows:ge,width:et,onEllipsis:ln,expanded:G,miscDeps:[me,G,Fe,Y,re]},(u,ee)=>Bt(e,n.createElement(n.Fragment,null,u.length>0&&ee&&!G&&Pe?n.createElement("span",{key:"show-content","aria-hidden":!0},u):u,un(ee)))))))}),Zt=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{var{ellipsis:r,rel:t}=e,l=Zt(e,["ellipsis","rel"]);const c=Object.assign(Object.assign({},l),{rel:t===void 0&&l.target==="_blank"?"noopener noreferrer":t});return delete c.navigate,n.createElement(Ie,Object.assign({},c,{ref:o,ellipsis:!!r,component:"a"}))}),At=n.forwardRef((e,o)=>n.createElement(Ie,Object.assign({ref:o},e,{component:"div"}))),Wt=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{var{ellipsis:r}=e,t=Wt(e,["ellipsis"]);const l=n.useMemo(()=>r&&typeof r=="object"?(0,K.Z)(r,["expandable","rows"]):r,[r]);return n.createElement(Ie,Object.assign({ref:o},t,{ellipsis:l,component:"span"}))};var Ht=n.forwardRef(Ut),kt=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{const{level:r=1}=e,t=kt(e,["level"]);let l;return Kt.includes(r)?l=`h${r}`:l="h1",n.createElement(Ie,Object.assign({ref:o},t,{component:l}))});const Ee=ke;Ee.Text=Ht,Ee.Link=$t,Ee.Title=zt,Ee.Paragraph=At;var _t=Ee},20640:function(se,P,i){"use strict";var n=i(11742),Z={"text/plain":"Text","text/html":"Url",default:"Text"},F="Copy to clipboard: #{key}, Enter";function D(N){var C=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return N.replace(/#{\s*key\s*}/g,C)}function ae(N,C){var I,X,R,g,b,m,K=!1;C||(C={}),I=C.debug||!1;try{R=n(),g=document.createRange(),b=document.getSelection(),m=document.createElement("span"),m.textContent=N,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(M){if(M.stopPropagation(),C.format)if(M.preventDefault(),typeof M.clipboardData=="undefined"){I&&console.warn("unable to use e.clipboardData"),I&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var A=Z[C.format]||Z.default;window.clipboardData.setData(A,N)}else M.clipboardData.clearData(),M.clipboardData.setData(C.format,N);C.onCopy&&(M.preventDefault(),C.onCopy(M.clipboardData))}),document.body.appendChild(m),g.selectNodeContents(m),b.addRange(g);var $=document.execCommand("copy");if(!$)throw new Error("copy command was unsuccessful");K=!0}catch(M){I&&console.error("unable to copy using execCommand: ",M),I&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(C.format||"text",N),C.onCopy&&C.onCopy(window.clipboardData),K=!0}catch(A){I&&console.error("unable to copy using clipboardData: ",A),I&&console.error("falling back to prompt"),X=D("message"in C?C.message:F),window.prompt(X,N)}}finally{b&&(typeof b.removeRange=="function"?b.removeRange(g):b.removeAllRanges()),m&&document.body.removeChild(m),R()}return K}se.exports=ae},11742:function(se){se.exports=function(){var P=document.getSelection();if(!P.rangeCount)return function(){};for(var i=document.activeElement,n=[],Z=0;Z{const j=ll(g);return{[`${a.componentCls}-${y}`]:{color:a[`color${g}`],background:a[`color${j}Bg`],borderColor:a[`color${j}Border`]}}},gl=a=>(0,bl.j)(a,(y,g)=>{let{textColor:j,lightBorderColor:u,lightColor:W,darkColor:F}=g;return{[`${a.componentCls}-${y}`]:{color:j,background:W,borderColor:u,"&-inverse":{color:a.colorTextLightSolid,background:F,borderColor:F}}}}),ml=a=>{const{paddingXXS:y,lineWidth:g,tagPaddingHorizontal:j,componentCls:u}=a,W=j-g,F=y-g;return{[u]:Object.assign(Object.assign({},(0,ol.Wf)(a)),{display:"inline-block",height:"auto",marginInlineEnd:a.marginXS,paddingInline:W,fontSize:a.tagFontSize,lineHeight:`${a.tagLineHeight}px`,whiteSpace:"nowrap",background:a.tagDefaultBg,border:`${a.lineWidth}px ${a.lineType} ${a.colorBorder}`,borderRadius:a.borderRadiusSM,opacity:1,transition:`all ${a.motionDurationMid}`,textAlign:"start",[`&${u}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:a.tagDefaultColor},[`${u}-close-icon`]:{marginInlineStart:F,color:a.colorTextDescription,fontSize:a.tagIconSize,cursor:"pointer",transition:`all ${a.motionDurationMid}`,"&:hover":{color:a.colorTextHeading}},[`&${u}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${a.iconCls}-close, ${a.iconCls}-close:hover`]:{color:a.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${u}-checkable-checked):hover`]:{color:a.colorPrimary,backgroundColor:a.colorFillSecondary},"&:active, &-checked":{color:a.colorTextLightSolid},"&-checked":{backgroundColor:a.colorPrimary,"&:hover":{backgroundColor:a.colorPrimaryHover}},"&:active":{backgroundColor:a.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${a.iconCls} + span, > span + ${a.iconCls}`]:{marginInlineStart:W}})}};var el=(0,fl.Z)("Tag",a=>{const{fontSize:y,lineHeight:g,lineWidth:j,fontSizeIcon:u}=a,W=Math.round(y*g),F=a.fontSizeSM,E=W-j*2,L=a.colorFillAlter,M=a.colorText,o=(0,ul.TS)(a,{tagFontSize:F,tagLineHeight:E,tagDefaultBg:L,tagDefaultColor:M,tagIconSize:u-2*j,tagPaddingHorizontal:8});return[ml(o),gl(o),Z(o,"success","Success"),Z(o,"processing","Info"),Z(o,"error","Error"),Z(o,"warning","Warning")]}),pl=function(a,y){var g={};for(var j in a)Object.prototype.hasOwnProperty.call(a,j)&&y.indexOf(j)<0&&(g[j]=a[j]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,j=Object.getOwnPropertySymbols(a);u{var{prefixCls:y,className:g,checked:j,onChange:u,onClick:W}=a,F=pl(a,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:E}=m.useContext(q.E_),L=h=>{u==null||u(!j),W==null||W(h)},M=E("tag",y),[o,n]=el(M),i=P()(M,{[`${M}-checkable`]:!0,[`${M}-checkable-checked`]:j},g,n);return o(m.createElement("span",Object.assign({},F,{className:i,onClick:L})))},cl=function(a,y){var g={};for(var j in a)Object.prototype.hasOwnProperty.call(a,j)&&y.indexOf(j)<0&&(g[j]=a[j]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,j=Object.getOwnPropertySymbols(a);u{var{prefixCls:g,className:j,style:u,children:W,icon:F,color:E,onClose:L,closeIcon:M,closable:o=!1}=a,n=cl(a,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:i,direction:h}=m.useContext(q.E_),[d,f]=m.useState(!0);m.useEffect(()=>{"visible"in n&&f(n.visible)},[n.visible]);const p=(0,x.o2)(E)||(0,x.yT)(E),b=Object.assign({backgroundColor:E&&!p?E:void 0},u),A=i("tag",g),[D,k]=el(A),v=P()(A,{[`${A}-${E}`]:p,[`${A}-has-color`]:E&&!p,[`${A}-hidden`]:!d,[`${A}-rtl`]:h==="rtl"},j,k),C=O=>{O.stopPropagation(),L==null||L(O),!O.defaultPrevented&&f(!1)},w=()=>o?M?m.createElement("span",{className:`${A}-close-icon`,onClick:C},M):m.createElement(t.Z,{className:`${A}-close-icon`,onClick:C}):null,Q=typeof n.onClick=="function"||W&&W.type==="a",I=F||null,N=I?m.createElement(m.Fragment,null,I,m.createElement("span",null,W)):W,S=m.createElement("span",Object.assign({},n,{ref:y,className:v,style:b}),N,w());return D(Q?m.createElement(G.Z,null,S):S)},K=m.forwardRef(z);K.CheckableTag=tl;var vl=K},58281:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#d4d0ab"},"hljs-quote":{color:"#d4d0ab"},"hljs-variable":{color:"#ffa07a"},"hljs-template-variable":{color:"#ffa07a"},"hljs-tag":{color:"#ffa07a"},"hljs-name":{color:"#ffa07a"},"hljs-selector-id":{color:"#ffa07a"},"hljs-selector-class":{color:"#ffa07a"},"hljs-regexp":{color:"#ffa07a"},"hljs-deletion":{color:"#ffa07a"},"hljs-number":{color:"#f5ab35"},"hljs-built_in":{color:"#f5ab35"},"hljs-builtin-name":{color:"#f5ab35"},"hljs-literal":{color:"#f5ab35"},"hljs-type":{color:"#f5ab35"},"hljs-params":{color:"#f5ab35"},"hljs-meta":{color:"#f5ab35"},"hljs-link":{color:"#f5ab35"},"hljs-attribute":{color:"#ffd700"},"hljs-string":{color:"#abe338"},"hljs-symbol":{color:"#abe338"},"hljs-bullet":{color:"#abe338"},"hljs-addition":{color:"#abe338"},"hljs-title":{color:"#00e0e0"},"hljs-section":{color:"#00e0e0"},"hljs-keyword":{color:"#dcc6e0"},"hljs-selector-tag":{color:"#dcc6e0"},hljs:{display:"block",overflowX:"auto",background:"#2b2b2b",color:"#f8f8f2",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},32897:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#696969"},"hljs-quote":{color:"#696969"},"hljs-variable":{color:"#d91e18"},"hljs-template-variable":{color:"#d91e18"},"hljs-tag":{color:"#d91e18"},"hljs-name":{color:"#d91e18"},"hljs-selector-id":{color:"#d91e18"},"hljs-selector-class":{color:"#d91e18"},"hljs-regexp":{color:"#d91e18"},"hljs-deletion":{color:"#d91e18"},"hljs-number":{color:"#aa5d00"},"hljs-built_in":{color:"#aa5d00"},"hljs-builtin-name":{color:"#aa5d00"},"hljs-literal":{color:"#aa5d00"},"hljs-type":{color:"#aa5d00"},"hljs-params":{color:"#aa5d00"},"hljs-meta":{color:"#aa5d00"},"hljs-link":{color:"#aa5d00"},"hljs-attribute":{color:"#aa5d00"},"hljs-string":{color:"#008000"},"hljs-symbol":{color:"#008000"},"hljs-bullet":{color:"#008000"},"hljs-addition":{color:"#008000"},"hljs-title":{color:"#007faa"},"hljs-section":{color:"#007faa"},"hljs-keyword":{color:"#7928a1"},"hljs-selector-tag":{color:"#7928a1"},hljs:{display:"block",overflowX:"auto",background:"#fefefe",color:"#545454",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},65906:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}};l.default=e},20444:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#B6B18B"},"hljs-quote":{color:"#B6B18B"},"hljs-variable":{color:"#EB3C54"},"hljs-template-variable":{color:"#EB3C54"},"hljs-tag":{color:"#EB3C54"},"hljs-name":{color:"#EB3C54"},"hljs-selector-id":{color:"#EB3C54"},"hljs-selector-class":{color:"#EB3C54"},"hljs-regexp":{color:"#EB3C54"},"hljs-deletion":{color:"#EB3C54"},"hljs-number":{color:"#E7CE56"},"hljs-built_in":{color:"#E7CE56"},"hljs-builtin-name":{color:"#E7CE56"},"hljs-literal":{color:"#E7CE56"},"hljs-type":{color:"#E7CE56"},"hljs-params":{color:"#E7CE56"},"hljs-meta":{color:"#E7CE56"},"hljs-link":{color:"#E7CE56"},"hljs-attribute":{color:"#EE7C2B"},"hljs-string":{color:"#4FB4D7"},"hljs-symbol":{color:"#4FB4D7"},"hljs-bullet":{color:"#4FB4D7"},"hljs-addition":{color:"#4FB4D7"},"hljs-title":{color:"#78BB65"},"hljs-section":{color:"#78BB65"},"hljs-keyword":{color:"#B45EA4"},"hljs-selector-tag":{color:"#B45EA4"},hljs:{display:"block",overflowX:"auto",background:"#1C1D21",color:"#c0c5ce",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},27048:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{color:"#a9b7c6",background:"#282b2e",display:"block",overflowX:"auto",padding:"0.5em"},"hljs-number":{color:"#6897BB"},"hljs-literal":{color:"#6897BB"},"hljs-symbol":{color:"#6897BB"},"hljs-bullet":{color:"#6897BB"},"hljs-keyword":{color:"#cc7832"},"hljs-selector-tag":{color:"#cc7832"},"hljs-deletion":{color:"#cc7832"},"hljs-variable":{color:"#629755"},"hljs-template-variable":{color:"#629755"},"hljs-link":{color:"#629755"},"hljs-comment":{color:"#808080"},"hljs-quote":{color:"#808080"},"hljs-meta":{color:"#bbb529"},"hljs-string":{color:"#6A8759"},"hljs-attribute":{color:"#6A8759"},"hljs-addition":{color:"#6A8759"},"hljs-section":{color:"#ffc66d"},"hljs-title":{color:"#ffc66d"},"hljs-type":{color:"#ffc66d"},"hljs-name":{color:"#e8bf6a"},"hljs-selector-id":{color:"#e8bf6a"},"hljs-selector-class":{color:"#e8bf6a"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},41546:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#FFFFFF",color:"#434f54"},"hljs-subst":{color:"#434f54"},"hljs-keyword":{color:"#00979D"},"hljs-attribute":{color:"#00979D"},"hljs-selector-tag":{color:"#00979D"},"hljs-doctag":{color:"#00979D"},"hljs-name":{color:"#00979D"},"hljs-built_in":{color:"#D35400"},"hljs-literal":{color:"#D35400"},"hljs-bullet":{color:"#D35400"},"hljs-code":{color:"#D35400"},"hljs-addition":{color:"#D35400"},"hljs-regexp":{color:"#00979D"},"hljs-symbol":{color:"#00979D"},"hljs-variable":{color:"#00979D"},"hljs-template-variable":{color:"#00979D"},"hljs-link":{color:"#00979D"},"hljs-selector-attr":{color:"#00979D"},"hljs-selector-pseudo":{color:"#00979D"},"hljs-type":{color:"#005C5F"},"hljs-string":{color:"#005C5F"},"hljs-selector-id":{color:"#005C5F"},"hljs-selector-class":{color:"#005C5F"},"hljs-quote":{color:"#005C5F"},"hljs-template-tag":{color:"#005C5F"},"hljs-deletion":{color:"#005C5F"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-comment":{color:"rgba(149,165,166,.8)"},"hljs-meta-keyword":{color:"#728E00"},"hljs-meta":{color:"#434f54"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"},"hljs-function":{color:"#728E00"},"hljs-number":{color:"#8A7B52"}};l.default=e},35132:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},19895:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-string":{color:"#888"},"hljs-variable":{color:"#888"},"hljs-template-variable":{color:"#888"},"hljs-symbol":{color:"#888"},"hljs-bullet":{color:"#888"},"hljs-section":{color:"#888",fontWeight:"bold"},"hljs-addition":{color:"#888"},"hljs-attribute":{color:"#888"},"hljs-link":{color:"#888"},"hljs-comment":{color:"#ccc"},"hljs-quote":{color:"#ccc"},"hljs-meta":{color:"#ccc"},"hljs-deletion":{color:"#ccc"},"hljs-keyword":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},20977:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7e7887"},"hljs-quote":{color:"#7e7887"},"hljs-variable":{color:"#be4678"},"hljs-template-variable":{color:"#be4678"},"hljs-attribute":{color:"#be4678"},"hljs-regexp":{color:"#be4678"},"hljs-link":{color:"#be4678"},"hljs-tag":{color:"#be4678"},"hljs-name":{color:"#be4678"},"hljs-selector-id":{color:"#be4678"},"hljs-selector-class":{color:"#be4678"},"hljs-number":{color:"#aa573c"},"hljs-meta":{color:"#aa573c"},"hljs-built_in":{color:"#aa573c"},"hljs-builtin-name":{color:"#aa573c"},"hljs-literal":{color:"#aa573c"},"hljs-type":{color:"#aa573c"},"hljs-params":{color:"#aa573c"},"hljs-string":{color:"#2a9292"},"hljs-symbol":{color:"#2a9292"},"hljs-bullet":{color:"#2a9292"},"hljs-title":{color:"#576ddb"},"hljs-section":{color:"#576ddb"},"hljs-keyword":{color:"#955ae7"},"hljs-selector-tag":{color:"#955ae7"},"hljs-deletion":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#be4678"},"hljs-addition":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#2a9292"},hljs:{display:"block",overflowX:"auto",background:"#19171c",color:"#8b8792",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},67298:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#655f6d"},"hljs-quote":{color:"#655f6d"},"hljs-variable":{color:"#be4678"},"hljs-template-variable":{color:"#be4678"},"hljs-attribute":{color:"#be4678"},"hljs-tag":{color:"#be4678"},"hljs-name":{color:"#be4678"},"hljs-regexp":{color:"#be4678"},"hljs-link":{color:"#be4678"},"hljs-selector-id":{color:"#be4678"},"hljs-selector-class":{color:"#be4678"},"hljs-number":{color:"#aa573c"},"hljs-meta":{color:"#aa573c"},"hljs-built_in":{color:"#aa573c"},"hljs-builtin-name":{color:"#aa573c"},"hljs-literal":{color:"#aa573c"},"hljs-type":{color:"#aa573c"},"hljs-params":{color:"#aa573c"},"hljs-string":{color:"#2a9292"},"hljs-symbol":{color:"#2a9292"},"hljs-bullet":{color:"#2a9292"},"hljs-title":{color:"#576ddb"},"hljs-section":{color:"#576ddb"},"hljs-keyword":{color:"#955ae7"},"hljs-selector-tag":{color:"#955ae7"},"hljs-deletion":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#be4678"},"hljs-addition":{color:"#19171c",display:"inline-block",width:"100%",backgroundColor:"#2a9292"},hljs:{display:"block",overflowX:"auto",background:"#efecf4",color:"#585260",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},82468:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#999580"},"hljs-quote":{color:"#999580"},"hljs-variable":{color:"#d73737"},"hljs-template-variable":{color:"#d73737"},"hljs-attribute":{color:"#d73737"},"hljs-tag":{color:"#d73737"},"hljs-name":{color:"#d73737"},"hljs-regexp":{color:"#d73737"},"hljs-link":{color:"#d73737"},"hljs-selector-id":{color:"#d73737"},"hljs-selector-class":{color:"#d73737"},"hljs-number":{color:"#b65611"},"hljs-meta":{color:"#b65611"},"hljs-built_in":{color:"#b65611"},"hljs-builtin-name":{color:"#b65611"},"hljs-literal":{color:"#b65611"},"hljs-type":{color:"#b65611"},"hljs-params":{color:"#b65611"},"hljs-string":{color:"#60ac39"},"hljs-symbol":{color:"#60ac39"},"hljs-bullet":{color:"#60ac39"},"hljs-title":{color:"#6684e1"},"hljs-section":{color:"#6684e1"},"hljs-keyword":{color:"#b854d4"},"hljs-selector-tag":{color:"#b854d4"},hljs:{display:"block",overflowX:"auto",background:"#20201d",color:"#a6a28c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},59676:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7d7a68"},"hljs-quote":{color:"#7d7a68"},"hljs-variable":{color:"#d73737"},"hljs-template-variable":{color:"#d73737"},"hljs-attribute":{color:"#d73737"},"hljs-tag":{color:"#d73737"},"hljs-name":{color:"#d73737"},"hljs-regexp":{color:"#d73737"},"hljs-link":{color:"#d73737"},"hljs-selector-id":{color:"#d73737"},"hljs-selector-class":{color:"#d73737"},"hljs-number":{color:"#b65611"},"hljs-meta":{color:"#b65611"},"hljs-built_in":{color:"#b65611"},"hljs-builtin-name":{color:"#b65611"},"hljs-literal":{color:"#b65611"},"hljs-type":{color:"#b65611"},"hljs-params":{color:"#b65611"},"hljs-string":{color:"#60ac39"},"hljs-symbol":{color:"#60ac39"},"hljs-bullet":{color:"#60ac39"},"hljs-title":{color:"#6684e1"},"hljs-section":{color:"#6684e1"},"hljs-keyword":{color:"#b854d4"},"hljs-selector-tag":{color:"#b854d4"},hljs:{display:"block",overflowX:"auto",background:"#fefbec",color:"#6e6b5e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},12105:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#878573"},"hljs-quote":{color:"#878573"},"hljs-variable":{color:"#ba6236"},"hljs-template-variable":{color:"#ba6236"},"hljs-attribute":{color:"#ba6236"},"hljs-tag":{color:"#ba6236"},"hljs-name":{color:"#ba6236"},"hljs-regexp":{color:"#ba6236"},"hljs-link":{color:"#ba6236"},"hljs-selector-id":{color:"#ba6236"},"hljs-selector-class":{color:"#ba6236"},"hljs-number":{color:"#ae7313"},"hljs-meta":{color:"#ae7313"},"hljs-built_in":{color:"#ae7313"},"hljs-builtin-name":{color:"#ae7313"},"hljs-literal":{color:"#ae7313"},"hljs-type":{color:"#ae7313"},"hljs-params":{color:"#ae7313"},"hljs-string":{color:"#7d9726"},"hljs-symbol":{color:"#7d9726"},"hljs-bullet":{color:"#7d9726"},"hljs-title":{color:"#36a166"},"hljs-section":{color:"#36a166"},"hljs-keyword":{color:"#5f9182"},"hljs-selector-tag":{color:"#5f9182"},"hljs-deletion":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#ba6236"},"hljs-addition":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#7d9726"},hljs:{display:"block",overflowX:"auto",background:"#22221b",color:"#929181",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},87629:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#6c6b5a"},"hljs-quote":{color:"#6c6b5a"},"hljs-variable":{color:"#ba6236"},"hljs-template-variable":{color:"#ba6236"},"hljs-attribute":{color:"#ba6236"},"hljs-tag":{color:"#ba6236"},"hljs-name":{color:"#ba6236"},"hljs-regexp":{color:"#ba6236"},"hljs-link":{color:"#ba6236"},"hljs-selector-id":{color:"#ba6236"},"hljs-selector-class":{color:"#ba6236"},"hljs-number":{color:"#ae7313"},"hljs-meta":{color:"#ae7313"},"hljs-built_in":{color:"#ae7313"},"hljs-builtin-name":{color:"#ae7313"},"hljs-literal":{color:"#ae7313"},"hljs-type":{color:"#ae7313"},"hljs-params":{color:"#ae7313"},"hljs-string":{color:"#7d9726"},"hljs-symbol":{color:"#7d9726"},"hljs-bullet":{color:"#7d9726"},"hljs-title":{color:"#36a166"},"hljs-section":{color:"#36a166"},"hljs-keyword":{color:"#5f9182"},"hljs-selector-tag":{color:"#5f9182"},"hljs-deletion":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#ba6236"},"hljs-addition":{color:"#22221b",display:"inline-block",width:"100%",backgroundColor:"#7d9726"},hljs:{display:"block",overflowX:"auto",background:"#f4f3ec",color:"#5f5e4e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},68414:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#9c9491"},"hljs-quote":{color:"#9c9491"},"hljs-variable":{color:"#f22c40"},"hljs-template-variable":{color:"#f22c40"},"hljs-attribute":{color:"#f22c40"},"hljs-tag":{color:"#f22c40"},"hljs-name":{color:"#f22c40"},"hljs-regexp":{color:"#f22c40"},"hljs-link":{color:"#f22c40"},"hljs-selector-id":{color:"#f22c40"},"hljs-selector-class":{color:"#f22c40"},"hljs-number":{color:"#df5320"},"hljs-meta":{color:"#df5320"},"hljs-built_in":{color:"#df5320"},"hljs-builtin-name":{color:"#df5320"},"hljs-literal":{color:"#df5320"},"hljs-type":{color:"#df5320"},"hljs-params":{color:"#df5320"},"hljs-string":{color:"#7b9726"},"hljs-symbol":{color:"#7b9726"},"hljs-bullet":{color:"#7b9726"},"hljs-title":{color:"#407ee7"},"hljs-section":{color:"#407ee7"},"hljs-keyword":{color:"#6666ea"},"hljs-selector-tag":{color:"#6666ea"},hljs:{display:"block",overflowX:"auto",background:"#1b1918",color:"#a8a19f",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},49219:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#766e6b"},"hljs-quote":{color:"#766e6b"},"hljs-variable":{color:"#f22c40"},"hljs-template-variable":{color:"#f22c40"},"hljs-attribute":{color:"#f22c40"},"hljs-tag":{color:"#f22c40"},"hljs-name":{color:"#f22c40"},"hljs-regexp":{color:"#f22c40"},"hljs-link":{color:"#f22c40"},"hljs-selector-id":{color:"#f22c40"},"hljs-selector-class":{color:"#f22c40"},"hljs-number":{color:"#df5320"},"hljs-meta":{color:"#df5320"},"hljs-built_in":{color:"#df5320"},"hljs-builtin-name":{color:"#df5320"},"hljs-literal":{color:"#df5320"},"hljs-type":{color:"#df5320"},"hljs-params":{color:"#df5320"},"hljs-string":{color:"#7b9726"},"hljs-symbol":{color:"#7b9726"},"hljs-bullet":{color:"#7b9726"},"hljs-title":{color:"#407ee7"},"hljs-section":{color:"#407ee7"},"hljs-keyword":{color:"#6666ea"},"hljs-selector-tag":{color:"#6666ea"},hljs:{display:"block",overflowX:"auto",background:"#f1efee",color:"#68615e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},30288:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#9e8f9e"},"hljs-quote":{color:"#9e8f9e"},"hljs-variable":{color:"#ca402b"},"hljs-template-variable":{color:"#ca402b"},"hljs-attribute":{color:"#ca402b"},"hljs-tag":{color:"#ca402b"},"hljs-name":{color:"#ca402b"},"hljs-regexp":{color:"#ca402b"},"hljs-link":{color:"#ca402b"},"hljs-selector-id":{color:"#ca402b"},"hljs-selector-class":{color:"#ca402b"},"hljs-number":{color:"#a65926"},"hljs-meta":{color:"#a65926"},"hljs-built_in":{color:"#a65926"},"hljs-builtin-name":{color:"#a65926"},"hljs-literal":{color:"#a65926"},"hljs-type":{color:"#a65926"},"hljs-params":{color:"#a65926"},"hljs-string":{color:"#918b3b"},"hljs-symbol":{color:"#918b3b"},"hljs-bullet":{color:"#918b3b"},"hljs-title":{color:"#516aec"},"hljs-section":{color:"#516aec"},"hljs-keyword":{color:"#7b59c0"},"hljs-selector-tag":{color:"#7b59c0"},hljs:{display:"block",overflowX:"auto",background:"#1b181b",color:"#ab9bab",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},77551:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#776977"},"hljs-quote":{color:"#776977"},"hljs-variable":{color:"#ca402b"},"hljs-template-variable":{color:"#ca402b"},"hljs-attribute":{color:"#ca402b"},"hljs-tag":{color:"#ca402b"},"hljs-name":{color:"#ca402b"},"hljs-regexp":{color:"#ca402b"},"hljs-link":{color:"#ca402b"},"hljs-selector-id":{color:"#ca402b"},"hljs-selector-class":{color:"#ca402b"},"hljs-number":{color:"#a65926"},"hljs-meta":{color:"#a65926"},"hljs-built_in":{color:"#a65926"},"hljs-builtin-name":{color:"#a65926"},"hljs-literal":{color:"#a65926"},"hljs-type":{color:"#a65926"},"hljs-params":{color:"#a65926"},"hljs-string":{color:"#918b3b"},"hljs-symbol":{color:"#918b3b"},"hljs-bullet":{color:"#918b3b"},"hljs-title":{color:"#516aec"},"hljs-section":{color:"#516aec"},"hljs-keyword":{color:"#7b59c0"},"hljs-selector-tag":{color:"#7b59c0"},hljs:{display:"block",overflowX:"auto",background:"#f7f3f7",color:"#695d69",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},23532:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7195a8"},"hljs-quote":{color:"#7195a8"},"hljs-variable":{color:"#d22d72"},"hljs-template-variable":{color:"#d22d72"},"hljs-attribute":{color:"#d22d72"},"hljs-tag":{color:"#d22d72"},"hljs-name":{color:"#d22d72"},"hljs-regexp":{color:"#d22d72"},"hljs-link":{color:"#d22d72"},"hljs-selector-id":{color:"#d22d72"},"hljs-selector-class":{color:"#d22d72"},"hljs-number":{color:"#935c25"},"hljs-meta":{color:"#935c25"},"hljs-built_in":{color:"#935c25"},"hljs-builtin-name":{color:"#935c25"},"hljs-literal":{color:"#935c25"},"hljs-type":{color:"#935c25"},"hljs-params":{color:"#935c25"},"hljs-string":{color:"#568c3b"},"hljs-symbol":{color:"#568c3b"},"hljs-bullet":{color:"#568c3b"},"hljs-title":{color:"#257fad"},"hljs-section":{color:"#257fad"},"hljs-keyword":{color:"#6b6bb8"},"hljs-selector-tag":{color:"#6b6bb8"},hljs:{display:"block",overflowX:"auto",background:"#161b1d",color:"#7ea2b4",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},30639:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#5a7b8c"},"hljs-quote":{color:"#5a7b8c"},"hljs-variable":{color:"#d22d72"},"hljs-template-variable":{color:"#d22d72"},"hljs-attribute":{color:"#d22d72"},"hljs-tag":{color:"#d22d72"},"hljs-name":{color:"#d22d72"},"hljs-regexp":{color:"#d22d72"},"hljs-link":{color:"#d22d72"},"hljs-selector-id":{color:"#d22d72"},"hljs-selector-class":{color:"#d22d72"},"hljs-number":{color:"#935c25"},"hljs-meta":{color:"#935c25"},"hljs-built_in":{color:"#935c25"},"hljs-builtin-name":{color:"#935c25"},"hljs-literal":{color:"#935c25"},"hljs-type":{color:"#935c25"},"hljs-params":{color:"#935c25"},"hljs-string":{color:"#568c3b"},"hljs-symbol":{color:"#568c3b"},"hljs-bullet":{color:"#568c3b"},"hljs-title":{color:"#257fad"},"hljs-section":{color:"#257fad"},"hljs-keyword":{color:"#6b6bb8"},"hljs-selector-tag":{color:"#6b6bb8"},hljs:{display:"block",overflowX:"auto",background:"#ebf8ff",color:"#516d7b",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},60333:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7e7777"},"hljs-quote":{color:"#7e7777"},"hljs-variable":{color:"#ca4949"},"hljs-template-variable":{color:"#ca4949"},"hljs-attribute":{color:"#ca4949"},"hljs-tag":{color:"#ca4949"},"hljs-name":{color:"#ca4949"},"hljs-regexp":{color:"#ca4949"},"hljs-link":{color:"#ca4949"},"hljs-selector-id":{color:"#ca4949"},"hljs-selector-class":{color:"#ca4949"},"hljs-number":{color:"#b45a3c"},"hljs-meta":{color:"#b45a3c"},"hljs-built_in":{color:"#b45a3c"},"hljs-builtin-name":{color:"#b45a3c"},"hljs-literal":{color:"#b45a3c"},"hljs-type":{color:"#b45a3c"},"hljs-params":{color:"#b45a3c"},"hljs-string":{color:"#4b8b8b"},"hljs-symbol":{color:"#4b8b8b"},"hljs-bullet":{color:"#4b8b8b"},"hljs-title":{color:"#7272ca"},"hljs-section":{color:"#7272ca"},"hljs-keyword":{color:"#8464c4"},"hljs-selector-tag":{color:"#8464c4"},"hljs-deletion":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#ca4949"},"hljs-addition":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#4b8b8b"},hljs:{display:"block",overflowX:"auto",background:"#1b1818",color:"#8a8585",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},68067:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#655d5d"},"hljs-quote":{color:"#655d5d"},"hljs-variable":{color:"#ca4949"},"hljs-template-variable":{color:"#ca4949"},"hljs-attribute":{color:"#ca4949"},"hljs-tag":{color:"#ca4949"},"hljs-name":{color:"#ca4949"},"hljs-regexp":{color:"#ca4949"},"hljs-link":{color:"#ca4949"},"hljs-selector-id":{color:"#ca4949"},"hljs-selector-class":{color:"#ca4949"},"hljs-number":{color:"#b45a3c"},"hljs-meta":{color:"#b45a3c"},"hljs-built_in":{color:"#b45a3c"},"hljs-builtin-name":{color:"#b45a3c"},"hljs-literal":{color:"#b45a3c"},"hljs-type":{color:"#b45a3c"},"hljs-params":{color:"#b45a3c"},"hljs-string":{color:"#4b8b8b"},"hljs-symbol":{color:"#4b8b8b"},"hljs-bullet":{color:"#4b8b8b"},"hljs-title":{color:"#7272ca"},"hljs-section":{color:"#7272ca"},"hljs-keyword":{color:"#8464c4"},"hljs-selector-tag":{color:"#8464c4"},"hljs-deletion":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#ca4949"},"hljs-addition":{color:"#1b1818",display:"inline-block",width:"100%",backgroundColor:"#4b8b8b"},hljs:{display:"block",overflowX:"auto",background:"#f4ecec",color:"#585050",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},30690:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#78877d"},"hljs-quote":{color:"#78877d"},"hljs-variable":{color:"#b16139"},"hljs-template-variable":{color:"#b16139"},"hljs-attribute":{color:"#b16139"},"hljs-tag":{color:"#b16139"},"hljs-name":{color:"#b16139"},"hljs-regexp":{color:"#b16139"},"hljs-link":{color:"#b16139"},"hljs-selector-id":{color:"#b16139"},"hljs-selector-class":{color:"#b16139"},"hljs-number":{color:"#9f713c"},"hljs-meta":{color:"#9f713c"},"hljs-built_in":{color:"#9f713c"},"hljs-builtin-name":{color:"#9f713c"},"hljs-literal":{color:"#9f713c"},"hljs-type":{color:"#9f713c"},"hljs-params":{color:"#9f713c"},"hljs-string":{color:"#489963"},"hljs-symbol":{color:"#489963"},"hljs-bullet":{color:"#489963"},"hljs-title":{color:"#478c90"},"hljs-section":{color:"#478c90"},"hljs-keyword":{color:"#55859b"},"hljs-selector-tag":{color:"#55859b"},"hljs-deletion":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#b16139"},"hljs-addition":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#489963"},hljs:{display:"block",overflowX:"auto",background:"#171c19",color:"#87928a",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},9799:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#5f6d64"},"hljs-quote":{color:"#5f6d64"},"hljs-variable":{color:"#b16139"},"hljs-template-variable":{color:"#b16139"},"hljs-attribute":{color:"#b16139"},"hljs-tag":{color:"#b16139"},"hljs-name":{color:"#b16139"},"hljs-regexp":{color:"#b16139"},"hljs-link":{color:"#b16139"},"hljs-selector-id":{color:"#b16139"},"hljs-selector-class":{color:"#b16139"},"hljs-number":{color:"#9f713c"},"hljs-meta":{color:"#9f713c"},"hljs-built_in":{color:"#9f713c"},"hljs-builtin-name":{color:"#9f713c"},"hljs-literal":{color:"#9f713c"},"hljs-type":{color:"#9f713c"},"hljs-params":{color:"#9f713c"},"hljs-string":{color:"#489963"},"hljs-symbol":{color:"#489963"},"hljs-bullet":{color:"#489963"},"hljs-title":{color:"#478c90"},"hljs-section":{color:"#478c90"},"hljs-keyword":{color:"#55859b"},"hljs-selector-tag":{color:"#55859b"},"hljs-deletion":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#b16139"},"hljs-addition":{color:"#171c19",display:"inline-block",width:"100%",backgroundColor:"#489963"},hljs:{display:"block",overflowX:"auto",background:"#ecf4ee",color:"#526057",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},54900:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#809980"},"hljs-quote":{color:"#809980"},"hljs-variable":{color:"#e6193c"},"hljs-template-variable":{color:"#e6193c"},"hljs-attribute":{color:"#e6193c"},"hljs-tag":{color:"#e6193c"},"hljs-name":{color:"#e6193c"},"hljs-regexp":{color:"#e6193c"},"hljs-link":{color:"#e6193c"},"hljs-selector-id":{color:"#e6193c"},"hljs-selector-class":{color:"#e6193c"},"hljs-number":{color:"#87711d"},"hljs-meta":{color:"#87711d"},"hljs-built_in":{color:"#87711d"},"hljs-builtin-name":{color:"#87711d"},"hljs-literal":{color:"#87711d"},"hljs-type":{color:"#87711d"},"hljs-params":{color:"#87711d"},"hljs-string":{color:"#29a329"},"hljs-symbol":{color:"#29a329"},"hljs-bullet":{color:"#29a329"},"hljs-title":{color:"#3d62f5"},"hljs-section":{color:"#3d62f5"},"hljs-keyword":{color:"#ad2bee"},"hljs-selector-tag":{color:"#ad2bee"},hljs:{display:"block",overflowX:"auto",background:"#131513",color:"#8ca68c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},41983:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#687d68"},"hljs-quote":{color:"#687d68"},"hljs-variable":{color:"#e6193c"},"hljs-template-variable":{color:"#e6193c"},"hljs-attribute":{color:"#e6193c"},"hljs-tag":{color:"#e6193c"},"hljs-name":{color:"#e6193c"},"hljs-regexp":{color:"#e6193c"},"hljs-link":{color:"#e6193c"},"hljs-selector-id":{color:"#e6193c"},"hljs-selector-class":{color:"#e6193c"},"hljs-number":{color:"#87711d"},"hljs-meta":{color:"#87711d"},"hljs-built_in":{color:"#87711d"},"hljs-builtin-name":{color:"#87711d"},"hljs-literal":{color:"#87711d"},"hljs-type":{color:"#87711d"},"hljs-params":{color:"#87711d"},"hljs-string":{color:"#29a329"},"hljs-symbol":{color:"#29a329"},"hljs-bullet":{color:"#29a329"},"hljs-title":{color:"#3d62f5"},"hljs-section":{color:"#3d62f5"},"hljs-keyword":{color:"#ad2bee"},"hljs-selector-tag":{color:"#ad2bee"},hljs:{display:"block",overflowX:"auto",background:"#f4fbf4",color:"#5e6e5e",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},61587:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#898ea4"},"hljs-quote":{color:"#898ea4"},"hljs-variable":{color:"#c94922"},"hljs-template-variable":{color:"#c94922"},"hljs-attribute":{color:"#c94922"},"hljs-tag":{color:"#c94922"},"hljs-name":{color:"#c94922"},"hljs-regexp":{color:"#c94922"},"hljs-link":{color:"#c94922"},"hljs-selector-id":{color:"#c94922"},"hljs-selector-class":{color:"#c94922"},"hljs-number":{color:"#c76b29"},"hljs-meta":{color:"#c76b29"},"hljs-built_in":{color:"#c76b29"},"hljs-builtin-name":{color:"#c76b29"},"hljs-literal":{color:"#c76b29"},"hljs-type":{color:"#c76b29"},"hljs-params":{color:"#c76b29"},"hljs-string":{color:"#ac9739"},"hljs-symbol":{color:"#ac9739"},"hljs-bullet":{color:"#ac9739"},"hljs-title":{color:"#3d8fd1"},"hljs-section":{color:"#3d8fd1"},"hljs-keyword":{color:"#6679cc"},"hljs-selector-tag":{color:"#6679cc"},hljs:{display:"block",overflowX:"auto",background:"#202746",color:"#979db4",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},87695:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#6b7394"},"hljs-quote":{color:"#6b7394"},"hljs-variable":{color:"#c94922"},"hljs-template-variable":{color:"#c94922"},"hljs-attribute":{color:"#c94922"},"hljs-tag":{color:"#c94922"},"hljs-name":{color:"#c94922"},"hljs-regexp":{color:"#c94922"},"hljs-link":{color:"#c94922"},"hljs-selector-id":{color:"#c94922"},"hljs-selector-class":{color:"#c94922"},"hljs-number":{color:"#c76b29"},"hljs-meta":{color:"#c76b29"},"hljs-built_in":{color:"#c76b29"},"hljs-builtin-name":{color:"#c76b29"},"hljs-literal":{color:"#c76b29"},"hljs-type":{color:"#c76b29"},"hljs-params":{color:"#c76b29"},"hljs-string":{color:"#ac9739"},"hljs-symbol":{color:"#ac9739"},"hljs-bullet":{color:"#ac9739"},"hljs-title":{color:"#3d8fd1"},"hljs-section":{color:"#3d8fd1"},"hljs-keyword":{color:"#6679cc"},"hljs-selector-tag":{color:"#6679cc"},hljs:{display:"block",overflowX:"auto",background:"#f5f7ff",color:"#5e6687",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},27326:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-keyword":{color:"#F92672"},"hljs-operator":{color:"#F92672"},"hljs-pattern-match":{color:"#F92672"},"hljs-pattern-match .hljs-constructor":{color:"#61aeee"},"hljs-function":{color:"#61aeee"},"hljs-function .hljs-params":{color:"#A6E22E"},"hljs-function .hljs-params .hljs-typing":{color:"#FD971F"},"hljs-module-access .hljs-module":{color:"#7e57c2"},"hljs-constructor":{color:"#e2b93d"},"hljs-constructor .hljs-string":{color:"#9CCC65"},"hljs-comment":{color:"#b18eb1",fontStyle:"italic"},"hljs-quote":{color:"#b18eb1",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},82761:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-comment":{color:"#5c6370",fontStyle:"italic"},"hljs-quote":{color:"#5c6370",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-keyword":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},89061:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#383a42",background:"#fafafa"},"hljs-comment":{color:"#a0a1a7",fontStyle:"italic"},"hljs-quote":{color:"#a0a1a7",fontStyle:"italic"},"hljs-doctag":{color:"#a626a4"},"hljs-keyword":{color:"#a626a4"},"hljs-formula":{color:"#a626a4"},"hljs-section":{color:"#e45649"},"hljs-name":{color:"#e45649"},"hljs-selector-tag":{color:"#e45649"},"hljs-deletion":{color:"#e45649"},"hljs-subst":{color:"#e45649"},"hljs-literal":{color:"#0184bb"},"hljs-string":{color:"#50a14f"},"hljs-regexp":{color:"#50a14f"},"hljs-addition":{color:"#50a14f"},"hljs-attribute":{color:"#50a14f"},"hljs-meta-string":{color:"#50a14f"},"hljs-built_in":{color:"#c18401"},"hljs-class .hljs-title":{color:"#c18401"},"hljs-attr":{color:"#986801"},"hljs-variable":{color:"#986801"},"hljs-template-variable":{color:"#986801"},"hljs-type":{color:"#986801"},"hljs-selector-class":{color:"#986801"},"hljs-selector-attr":{color:"#986801"},"hljs-selector-pseudo":{color:"#986801"},"hljs-number":{color:"#986801"},"hljs-symbol":{color:"#4078f2"},"hljs-bullet":{color:"#4078f2"},"hljs-link":{color:"#4078f2",textDecoration:"underline"},"hljs-meta":{color:"#4078f2"},"hljs-selector-id":{color:"#4078f2"},"hljs-title":{color:"#4078f2"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},38855:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#b7a68e url(./brown-papersq.png)",color:"#363c69"},"hljs-keyword":{color:"#005599",fontWeight:"bold"},"hljs-selector-tag":{color:"#005599",fontWeight:"bold"},"hljs-literal":{color:"#005599",fontWeight:"bold"},"hljs-subst":{color:"#363c69"},"hljs-string":{color:"#2c009f"},"hljs-title":{color:"#2c009f",fontWeight:"bold"},"hljs-section":{color:"#2c009f",fontWeight:"bold"},"hljs-type":{color:"#2c009f",fontWeight:"bold"},"hljs-attribute":{color:"#2c009f"},"hljs-symbol":{color:"#2c009f"},"hljs-bullet":{color:"#2c009f"},"hljs-built_in":{color:"#2c009f"},"hljs-addition":{color:"#2c009f"},"hljs-variable":{color:"#2c009f"},"hljs-template-tag":{color:"#2c009f"},"hljs-template-variable":{color:"#2c009f"},"hljs-link":{color:"#2c009f"},"hljs-name":{color:"#2c009f",fontWeight:"bold"},"hljs-comment":{color:"#802022"},"hljs-quote":{color:"#802022"},"hljs-meta":{color:"#802022"},"hljs-deletion":{color:"#802022"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},76642:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#fff"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-variable":{color:"#ab875d"},"hljs-template-variable":{color:"#ab875d"},"hljs-tag":{color:"#ab875d"},"hljs-regexp":{color:"#ab875d"},"hljs-meta":{color:"#ab875d"},"hljs-number":{color:"#ab875d"},"hljs-built_in":{color:"#ab875d"},"hljs-builtin-name":{color:"#ab875d"},"hljs-literal":{color:"#ab875d"},"hljs-params":{color:"#ab875d"},"hljs-symbol":{color:"#ab875d"},"hljs-bullet":{color:"#ab875d"},"hljs-link":{color:"#ab875d"},"hljs-deletion":{color:"#ab875d"},"hljs-section":{color:"#9b869b"},"hljs-title":{color:"#9b869b"},"hljs-name":{color:"#9b869b"},"hljs-selector-id":{color:"#9b869b"},"hljs-selector-class":{color:"#9b869b"},"hljs-type":{color:"#9b869b"},"hljs-attribute":{color:"#9b869b"},"hljs-string":{color:"#8f9c6c"},"hljs-keyword":{color:"#8f9c6c"},"hljs-selector-tag":{color:"#8f9c6c"},"hljs-addition":{color:"#8f9c6c"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},31475:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"#000"},"hljs-subst":{color:"#000"},"hljs-string":{color:"#756bb1"},"hljs-meta":{color:"#756bb1"},"hljs-symbol":{color:"#756bb1"},"hljs-template-tag":{color:"#756bb1"},"hljs-template-variable":{color:"#756bb1"},"hljs-addition":{color:"#756bb1"},"hljs-comment":{color:"#636363"},"hljs-quote":{color:"#636363"},"hljs-number":{color:"#31a354"},"hljs-regexp":{color:"#31a354"},"hljs-literal":{color:"#31a354"},"hljs-bullet":{color:"#31a354"},"hljs-link":{color:"#31a354"},"hljs-deletion":{color:"#88f"},"hljs-variable":{color:"#88f"},"hljs-keyword":{color:"#3182bd"},"hljs-selector-tag":{color:"#3182bd"},"hljs-title":{color:"#3182bd"},"hljs-section":{color:"#3182bd"},"hljs-built_in":{color:"#3182bd"},"hljs-doctag":{color:"#3182bd"},"hljs-type":{color:"#3182bd"},"hljs-tag":{color:"#3182bd"},"hljs-name":{color:"#3182bd"},"hljs-selector-id":{color:"#3182bd"},"hljs-selector-class":{color:"#3182bd"},"hljs-strong":{color:"#3182bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-attribute":{color:"#e6550d"}};l.default=e},53601:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2b2b2b",color:"#bababa"},"hljs-strong":{color:"#a8a8a2"},"hljs-emphasis":{color:"#a8a8a2",fontStyle:"italic"},"hljs-bullet":{color:"#6896ba"},"hljs-quote":{color:"#6896ba"},"hljs-link":{color:"#6896ba"},"hljs-number":{color:"#6896ba"},"hljs-regexp":{color:"#6896ba"},"hljs-literal":{color:"#6896ba"},"hljs-code":{color:"#a6e22e"},"hljs-selector-class":{color:"#a6e22e"},"hljs-keyword":{color:"#cb7832"},"hljs-selector-tag":{color:"#cb7832"},"hljs-section":{color:"#cb7832"},"hljs-attribute":{color:"#cb7832"},"hljs-name":{color:"#cb7832"},"hljs-variable":{color:"#cb7832"},"hljs-params":{color:"#b9b9b9"},"hljs-string":{color:"#6a8759"},"hljs-subst":{color:"#e0c46c"},"hljs-type":{color:"#e0c46c"},"hljs-built_in":{color:"#e0c46c"},"hljs-builtin-name":{color:"#e0c46c"},"hljs-symbol":{color:"#e0c46c"},"hljs-selector-id":{color:"#e0c46c"},"hljs-selector-attr":{color:"#e0c46c"},"hljs-selector-pseudo":{color:"#e0c46c"},"hljs-template-tag":{color:"#e0c46c"},"hljs-template-variable":{color:"#e0c46c"},"hljs-addition":{color:"#e0c46c"},"hljs-comment":{color:"#7f7f7f"},"hljs-deletion":{color:"#7f7f7f"},"hljs-meta":{color:"#7f7f7f"}};l.default=e},73537:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#444",color:"#ddd"},"hljs-keyword":{color:"white",fontWeight:"bold"},"hljs-selector-tag":{color:"white",fontWeight:"bold"},"hljs-literal":{color:"white",fontWeight:"bold"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-link":{color:"white"},"hljs-subst":{color:"#ddd"},"hljs-string":{color:"#d88"},"hljs-title":{color:"#d88",fontWeight:"bold"},"hljs-name":{color:"#d88",fontWeight:"bold"},"hljs-type":{color:"#d88",fontWeight:"bold"},"hljs-attribute":{color:"#d88"},"hljs-symbol":{color:"#d88"},"hljs-bullet":{color:"#d88"},"hljs-built_in":{color:"#d88"},"hljs-addition":{color:"#d88"},"hljs-variable":{color:"#d88"},"hljs-template-tag":{color:"#d88"},"hljs-template-variable":{color:"#d88"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-deletion":{color:"#777"},"hljs-meta":{color:"#777"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},11327:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},39265:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#f8f8ff"},"hljs-comment":{color:"#408080",fontStyle:"italic"},"hljs-quote":{color:"#408080",fontStyle:"italic"},"hljs-keyword":{color:"#954121"},"hljs-selector-tag":{color:"#954121"},"hljs-literal":{color:"#954121"},"hljs-subst":{color:"#954121"},"hljs-number":{color:"#40a070"},"hljs-string":{color:"#219161"},"hljs-doctag":{color:"#219161"},"hljs-selector-id":{color:"#19469d"},"hljs-selector-class":{color:"#19469d"},"hljs-section":{color:"#19469d"},"hljs-type":{color:"#19469d"},"hljs-params":{color:"#00f"},"hljs-title":{color:"#458",fontWeight:"bold"},"hljs-tag":{color:"#000080",fontWeight:"normal"},"hljs-name":{color:"#000080",fontWeight:"normal"},"hljs-attribute":{color:"#000080",fontWeight:"normal"},"hljs-variable":{color:"#008080"},"hljs-template-variable":{color:"#008080"},"hljs-regexp":{color:"#b68"},"hljs-link":{color:"#b68"},"hljs-symbol":{color:"#990073"},"hljs-bullet":{color:"#990073"},"hljs-built_in":{color:"#0086b3"},"hljs-builtin-name":{color:"#0086b3"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{background:"#fdd"},"hljs-addition":{background:"#dfd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},56822:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282a36",color:"#f8f8f2"},"hljs-keyword":{color:"#8be9fd",fontWeight:"bold"},"hljs-selector-tag":{color:"#8be9fd",fontWeight:"bold"},"hljs-literal":{color:"#8be9fd",fontWeight:"bold"},"hljs-section":{color:"#8be9fd",fontWeight:"bold"},"hljs-link":{color:"#8be9fd"},"hljs-function .hljs-keyword":{color:"#ff79c6"},"hljs-subst":{color:"#f8f8f2"},"hljs-string":{color:"#f1fa8c"},"hljs-title":{color:"#f1fa8c",fontWeight:"bold"},"hljs-name":{color:"#f1fa8c",fontWeight:"bold"},"hljs-type":{color:"#f1fa8c",fontWeight:"bold"},"hljs-attribute":{color:"#f1fa8c"},"hljs-symbol":{color:"#f1fa8c"},"hljs-bullet":{color:"#f1fa8c"},"hljs-addition":{color:"#f1fa8c"},"hljs-variable":{color:"#f1fa8c"},"hljs-template-tag":{color:"#f1fa8c"},"hljs-template-variable":{color:"#f1fa8c"},"hljs-comment":{color:"#6272a4"},"hljs-quote":{color:"#6272a4"},"hljs-deletion":{color:"#6272a4"},"hljs-meta":{color:"#6272a4"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},42254:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000080",color:"#0ff"},"hljs-subst":{color:"#0ff"},"hljs-string":{color:"#ff0"},"hljs-attribute":{color:"#ff0"},"hljs-symbol":{color:"#ff0"},"hljs-bullet":{color:"#ff0"},"hljs-built_in":{color:"#ff0"},"hljs-builtin-name":{color:"#ff0"},"hljs-template-tag":{color:"#ff0"},"hljs-template-variable":{color:"#ff0"},"hljs-addition":{color:"#ff0"},"hljs-keyword":{color:"#fff",fontWeight:"bold"},"hljs-selector-tag":{color:"#fff",fontWeight:"bold"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-type":{color:"#fff"},"hljs-name":{color:"#fff",fontWeight:"bold"},"hljs-selector-id":{color:"#fff"},"hljs-selector-class":{color:"#fff"},"hljs-variable":{color:"#fff"},"hljs-comment":{color:"#888"},"hljs-quote":{color:"#888"},"hljs-doctag":{color:"#888"},"hljs-deletion":{color:"#888"},"hljs-number":{color:"#0f0"},"hljs-regexp":{color:"#0f0"},"hljs-literal":{color:"#0f0"},"hljs-link":{color:"#0f0"},"hljs-meta":{color:"#008080"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},93028:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#eee",color:"black"},"hljs-link":{color:"#070"},"hljs-emphasis":{color:"#070",fontStyle:"italic"},"hljs-attribute":{color:"#070"},"hljs-addition":{color:"#070"},"hljs-strong":{color:"#d14",fontWeight:"bold"},"hljs-string":{color:"#d14"},"hljs-deletion":{color:"#d14"},"hljs-quote":{color:"#998",fontStyle:"italic"},"hljs-comment":{color:"#998",fontStyle:"italic"},"hljs-section":{color:"#900"},"hljs-title":{color:"#900"},"hljs-class .hljs-title":{color:"#458"},"hljs-type":{color:"#458"},"hljs-variable":{color:"#336699"},"hljs-template-variable":{color:"#336699"},"hljs-bullet":{color:"#997700"},"hljs-meta":{color:"#3344bb"},"hljs-code":{color:"#099"},"hljs-number":{color:"#099"},"hljs-literal":{color:"#099"},"hljs-keyword":{color:"#099"},"hljs-selector-tag":{color:"#099"},"hljs-regexp":{backgroundColor:"#fff0ff",color:"#880088"},"hljs-symbol":{color:"#990073"},"hljs-tag":{color:"#007700"},"hljs-name":{color:"#007700"},"hljs-selector-id":{color:"#007700"},"hljs-selector-class":{color:"#007700"}};l.default=e},58504:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",background:"white",padding:"0.5em",color:"#333333",overflowX:"auto"},"hljs-comment":{color:"#969896"},"hljs-meta":{color:"#969896"},"hljs-variable":{color:"#df5000"},"hljs-template-variable":{color:"#df5000"},"hljs-strong":{color:"#df5000"},"hljs-emphasis":{color:"#df5000"},"hljs-quote":{color:"#df5000"},"hljs-keyword":{color:"#d73a49"},"hljs-selector-tag":{color:"#d73a49"},"hljs-type":{color:"#d73a49"},"hljs-literal":{color:"#0086b3"},"hljs-symbol":{color:"#0086b3"},"hljs-bullet":{color:"#0086b3"},"hljs-attribute":{color:"#0086b3"},"hljs-section":{color:"#63a35c"},"hljs-name":{color:"#63a35c"},"hljs-tag":{color:"#333333"},"hljs-title":{color:"#6f42c1"},"hljs-attr":{color:"#6f42c1"},"hljs-selector-id":{color:"#6f42c1"},"hljs-selector-class":{color:"#6f42c1"},"hljs-selector-attr":{color:"#6f42c1"},"hljs-selector-pseudo":{color:"#6f42c1"},"hljs-addition":{color:"#55a532",backgroundColor:"#eaffea"},"hljs-deletion":{color:"#bd2c00",backgroundColor:"#ffecec"},"hljs-link":{textDecoration:"underline"},"hljs-number":{color:"#005cc5"},"hljs-string":{color:"#032f62"}};l.default=e},120:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#333",background:"#f8f8f8"},"hljs-comment":{color:"#998",fontStyle:"italic"},"hljs-quote":{color:"#998",fontStyle:"italic"},"hljs-keyword":{color:"#333",fontWeight:"bold"},"hljs-selector-tag":{color:"#333",fontWeight:"bold"},"hljs-subst":{color:"#333",fontWeight:"normal"},"hljs-number":{color:"#008080"},"hljs-literal":{color:"#008080"},"hljs-variable":{color:"#008080"},"hljs-template-variable":{color:"#008080"},"hljs-tag .hljs-attr":{color:"#008080"},"hljs-string":{color:"#d14"},"hljs-doctag":{color:"#d14"},"hljs-title":{color:"#900",fontWeight:"bold"},"hljs-section":{color:"#900",fontWeight:"bold"},"hljs-selector-id":{color:"#900",fontWeight:"bold"},"hljs-type":{color:"#458",fontWeight:"bold"},"hljs-class .hljs-title":{color:"#458",fontWeight:"bold"},"hljs-tag":{color:"#000080",fontWeight:"normal"},"hljs-name":{color:"#000080",fontWeight:"normal"},"hljs-attribute":{color:"#000080",fontWeight:"normal"},"hljs-regexp":{color:"#009926"},"hljs-link":{color:"#009926"},"hljs-symbol":{color:"#990073"},"hljs-bullet":{color:"#990073"},"hljs-built_in":{color:"#0086b3"},"hljs-builtin-name":{color:"#0086b3"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{background:"#fdd"},"hljs-addition":{background:"#dfd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},96038:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222222",color:"#C0C0C0"},"hljs-keyword":{color:"#FFB871",fontWeight:"bold"},"hljs-built_in":{color:"#FFB871"},"hljs-literal":{color:"#FF8080"},"hljs-symbol":{color:"#58E55A"},"hljs-comment":{color:"#5B995B"},"hljs-string":{color:"#FFFF00"},"hljs-number":{color:"#FF8080"},"hljs-attribute":{color:"#C0C0C0"},"hljs-selector-tag":{color:"#C0C0C0"},"hljs-doctag":{color:"#C0C0C0"},"hljs-name":{color:"#C0C0C0"},"hljs-bullet":{color:"#C0C0C0"},"hljs-code":{color:"#C0C0C0"},"hljs-addition":{color:"#C0C0C0"},"hljs-regexp":{color:"#C0C0C0"},"hljs-variable":{color:"#C0C0C0"},"hljs-template-variable":{color:"#C0C0C0"},"hljs-link":{color:"#C0C0C0"},"hljs-selector-attr":{color:"#C0C0C0"},"hljs-selector-pseudo":{color:"#C0C0C0"},"hljs-type":{color:"#C0C0C0"},"hljs-selector-id":{color:"#C0C0C0"},"hljs-selector-class":{color:"#C0C0C0"},"hljs-quote":{color:"#C0C0C0"},"hljs-template-tag":{color:"#C0C0C0"},"hljs-deletion":{color:"#C0C0C0"},"hljs-title":{color:"#C0C0C0"},"hljs-section":{color:"#C0C0C0"},"hljs-function":{color:"#C0C0C0"},"hljs-meta-keyword":{color:"#C0C0C0"},"hljs-meta":{color:"#C0C0C0"},"hljs-subst":{color:"#C0C0C0"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},76756:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-comment":{color:"#800"},"hljs-quote":{color:"#800"},"hljs-keyword":{color:"#008"},"hljs-selector-tag":{color:"#008"},"hljs-section":{color:"#008"},"hljs-title":{color:"#606"},"hljs-name":{color:"#008"},"hljs-variable":{color:"#660"},"hljs-template-variable":{color:"#660"},"hljs-string":{color:"#080"},"hljs-selector-attr":{color:"#080"},"hljs-selector-pseudo":{color:"#080"},"hljs-regexp":{color:"#080"},"hljs-literal":{color:"#066"},"hljs-symbol":{color:"#066"},"hljs-bullet":{color:"#066"},"hljs-meta":{color:"#066"},"hljs-number":{color:"#066"},"hljs-link":{color:"#066"},"hljs-doctag":{color:"#606",fontWeight:"bold"},"hljs-type":{color:"#606"},"hljs-attr":{color:"#606"},"hljs-built_in":{color:"#606"},"hljs-builtin-name":{color:"#606"},"hljs-params":{color:"#606"},"hljs-attribute":{color:"#000"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-selector-id":{color:"#9B703F"},"hljs-selector-class":{color:"#9B703F"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},26918:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"linear-gradient(166deg, rgba(80,31,122,1) 0%, rgba(40,32,179,1) 80%)",color:"#e7e4eb"},"hljs-subtr":{color:"#e7e4eb"},"hljs-doctag":{color:"#af8dd9"},"hljs-meta":{color:"#af8dd9"},"hljs-comment":{color:"#af8dd9"},"hljs-quote":{color:"#af8dd9",fontStyle:"italic"},"hljs-selector-tag":{color:"#AEFBFF",fontWeight:"bold"},"hljs-selector-id":{color:"#AEFBFF",fontWeight:"bold"},"hljs-template-tag":{color:"#AEFBFF",fontWeight:"bold"},"hljs-regexp":{color:"#AEFBFF"},"hljs-attr":{color:"#AEFBFF"},"hljs-tag":{color:"#AEFBFF"},"hljs-params":{color:"#F19FFF",fontWeight:"bold"},"hljs-selector-class":{color:"#F19FFF",fontWeight:"bold"},"hljs-bullet":{color:"#F19FFF"},"hljs-keyword":{color:"#17fc95",fontWeight:"bold"},"hljs-section":{color:"#17fc95",fontWeight:"bold"},"hljs-meta-keyword":{color:"#17fc95"},"hljs-symbol":{color:"#17fc95"},"hljs-type":{color:"#17fc95"},"hljs-addition":{color:"#E7FF9F"},"hljs-number":{color:"#C5FE00"},"hljs-link":{color:"#C5FE00"},"hljs-string":{color:"#38c0ff"},"hljs-attribute":{color:"#E7FF9F"},"hljs-variable":{color:"#E447FF"},"hljs-template-variable":{color:"#E447FF"},"hljs-builtin-name":{color:"#FFC800"},"hljs-built_in":{color:"#FFC800"},"hljs-formula":{color:"#FFC800"},"hljs-name":{color:"#FFC800"},"hljs-title":{color:"#FFC800"},"hljs-class":{color:"#FFC800"},"hljs-function":{color:"#FFC800"},"hljs-selector-pseudo":{color:"#FF9E44"},"hljs-deletion":{color:"#FF9E44"},"hljs-literal":{color:"#FF9E44"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},12560:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"linear-gradient(142deg, rgba(255,253,141,1) 0%, rgba(252,183,255,1) 35%, rgba(144,236,255,1) 100%)",color:"#250482"},"hljs-subtr":{color:"#01958B"},"hljs-doctag":{color:"#CB7200"},"hljs-meta":{color:"#CB7200"},"hljs-comment":{color:"#CB7200"},"hljs-quote":{color:"#CB7200",fontStyle:"italic"},"hljs-selector-tag":{color:"#07BD5F",fontWeight:"bold"},"hljs-selector-id":{color:"#07BD5F",fontWeight:"bold"},"hljs-template-tag":{color:"#07BD5F",fontWeight:"bold"},"hljs-regexp":{color:"#07BD5F"},"hljs-attr":{color:"#07BD5F"},"hljs-tag":{color:"#07BD5F"},"hljs-params":{color:"#43449F",fontWeight:"bold"},"hljs-selector-class":{color:"#43449F",fontWeight:"bold"},"hljs-bullet":{color:"#43449F"},"hljs-keyword":{color:"#7D2801",fontWeight:"bold"},"hljs-section":{color:"#7D2801",fontWeight:"bold"},"hljs-meta-keyword":{color:"#7D2801"},"hljs-symbol":{color:"#7D2801"},"hljs-type":{color:"#7D2801"},"hljs-addition":{color:"#296562"},"hljs-number":{color:"#7F0096"},"hljs-link":{color:"#7F0096"},"hljs-string":{color:"#38c0ff"},"hljs-attribute":{color:"#296562"},"hljs-variable":{color:"#025C8F"},"hljs-template-variable":{color:"#025C8F"},"hljs-builtin-name":{color:"#529117"},"hljs-built_in":{color:"#529117"},"hljs-formula":{color:"#529117"},"hljs-name":{color:"#529117"},"hljs-title":{color:"#529117"},"hljs-class":{color:"#529117"},"hljs-function":{color:"#529117"},"hljs-selector-pseudo":{color:"#AD13FF"},"hljs-deletion":{color:"#AD13FF"},"hljs-literal":{color:"#AD13FF"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},77733:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#333",background:"#fff"},"hljs-comment":{color:"#777",fontStyle:"italic"},"hljs-quote":{color:"#777",fontStyle:"italic"},"hljs-keyword":{color:"#333",fontWeight:"bold"},"hljs-selector-tag":{color:"#333",fontWeight:"bold"},"hljs-subst":{color:"#333",fontWeight:"normal"},"hljs-number":{color:"#777"},"hljs-literal":{color:"#777"},"hljs-string":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat"},"hljs-doctag":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat"},"hljs-formula":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat"},"hljs-title":{color:"#000",fontWeight:"bold"},"hljs-section":{color:"#000",fontWeight:"bold"},"hljs-selector-id":{color:"#000",fontWeight:"bold"},"hljs-class .hljs-title":{color:"#333",fontWeight:"bold"},"hljs-type":{color:"#333",fontWeight:"bold"},"hljs-name":{color:"#333",fontWeight:"bold"},"hljs-tag":{color:"#333"},"hljs-regexp":{color:"#333",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat"},"hljs-symbol":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat"},"hljs-bullet":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat"},"hljs-link":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat"},"hljs-built_in":{color:"#000",textDecoration:"underline"},"hljs-builtin-name":{color:"#000",textDecoration:"underline"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{color:"#fff",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat"},"hljs-addition":{color:"#000",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},91587:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282828",color:"#ebdbb2"},"hljs-subst":{color:"#ebdbb2"},"hljs-deletion":{color:"#fb4934"},"hljs-formula":{color:"#fb4934"},"hljs-keyword":{color:"#fb4934"},"hljs-link":{color:"#fb4934"},"hljs-selector-tag":{color:"#fb4934"},"hljs-built_in":{color:"#83a598"},"hljs-emphasis":{color:"#83a598",fontStyle:"italic"},"hljs-name":{color:"#83a598"},"hljs-quote":{color:"#83a598"},"hljs-strong":{color:"#83a598",fontWeight:"bold"},"hljs-title":{color:"#83a598"},"hljs-variable":{color:"#83a598"},"hljs-attr":{color:"#fabd2f"},"hljs-params":{color:"#fabd2f"},"hljs-template-tag":{color:"#fabd2f"},"hljs-type":{color:"#fabd2f"},"hljs-builtin-name":{color:"#8f3f71"},"hljs-doctag":{color:"#8f3f71"},"hljs-literal":{color:"#d3869b"},"hljs-number":{color:"#d3869b"},"hljs-code":{color:"#fe8019"},"hljs-meta":{color:"#fe8019"},"hljs-regexp":{color:"#fe8019"},"hljs-selector-id":{color:"#fe8019"},"hljs-template-variable":{color:"#fe8019"},"hljs-addition":{color:"#b8bb26"},"hljs-meta-string":{color:"#b8bb26"},"hljs-section":{color:"#b8bb26",fontWeight:"bold"},"hljs-selector-attr":{color:"#b8bb26"},"hljs-selector-class":{color:"#b8bb26"},"hljs-string":{color:"#b8bb26"},"hljs-symbol":{color:"#b8bb26"},"hljs-attribute":{color:"#8ec07c"},"hljs-bullet":{color:"#8ec07c"},"hljs-class":{color:"#8ec07c"},"hljs-function":{color:"#8ec07c"},"hljs-function .hljs-keyword":{color:"#8ec07c"},"hljs-meta-keyword":{color:"#8ec07c"},"hljs-selector-pseudo":{color:"#8ec07c"},"hljs-tag":{color:"#8ec07c",fontWeight:"bold"},"hljs-comment":{color:"#928374",fontStyle:"italic"},"hljs-link_label":{color:"#d3869b"}};l.default=e},6862:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fbf1c7",color:"#3c3836"},"hljs-subst":{color:"#3c3836"},"hljs-deletion":{color:"#9d0006"},"hljs-formula":{color:"#9d0006"},"hljs-keyword":{color:"#9d0006"},"hljs-link":{color:"#9d0006"},"hljs-selector-tag":{color:"#9d0006"},"hljs-built_in":{color:"#076678"},"hljs-emphasis":{color:"#076678",fontStyle:"italic"},"hljs-name":{color:"#076678"},"hljs-quote":{color:"#076678"},"hljs-strong":{color:"#076678",fontWeight:"bold"},"hljs-title":{color:"#076678"},"hljs-variable":{color:"#076678"},"hljs-attr":{color:"#b57614"},"hljs-params":{color:"#b57614"},"hljs-template-tag":{color:"#b57614"},"hljs-type":{color:"#b57614"},"hljs-builtin-name":{color:"#8f3f71"},"hljs-doctag":{color:"#8f3f71"},"hljs-literal":{color:"#8f3f71"},"hljs-number":{color:"#8f3f71"},"hljs-code":{color:"#af3a03"},"hljs-meta":{color:"#af3a03"},"hljs-regexp":{color:"#af3a03"},"hljs-selector-id":{color:"#af3a03"},"hljs-template-variable":{color:"#af3a03"},"hljs-addition":{color:"#79740e"},"hljs-meta-string":{color:"#79740e"},"hljs-section":{color:"#79740e",fontWeight:"bold"},"hljs-selector-attr":{color:"#79740e"},"hljs-selector-class":{color:"#79740e"},"hljs-string":{color:"#79740e"},"hljs-symbol":{color:"#79740e"},"hljs-attribute":{color:"#427b58"},"hljs-bullet":{color:"#427b58"},"hljs-class":{color:"#427b58"},"hljs-function":{color:"#427b58"},"hljs-function .hljs-keyword":{color:"#427b58"},"hljs-meta-keyword":{color:"#427b58"},"hljs-selector-pseudo":{color:"#427b58"},"hljs-tag":{color:"#427b58",fontWeight:"bold"},"hljs-comment":{color:"#928374",fontStyle:"italic"},"hljs-link_label":{color:"#8f3f71"}};l.default=e},95302:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#989498"},"hljs-quote":{color:"#989498"},"hljs-variable":{color:"#dd464c"},"hljs-template-variable":{color:"#dd464c"},"hljs-attribute":{color:"#dd464c"},"hljs-tag":{color:"#dd464c"},"hljs-name":{color:"#dd464c"},"hljs-selector-id":{color:"#dd464c"},"hljs-selector-class":{color:"#dd464c"},"hljs-regexp":{color:"#dd464c"},"hljs-link":{color:"#dd464c"},"hljs-deletion":{color:"#dd464c"},"hljs-number":{color:"#fd8b19"},"hljs-built_in":{color:"#fd8b19"},"hljs-builtin-name":{color:"#fd8b19"},"hljs-literal":{color:"#fd8b19"},"hljs-type":{color:"#fd8b19"},"hljs-params":{color:"#fd8b19"},"hljs-class .hljs-title":{color:"#fdcc59"},"hljs-string":{color:"#8fc13e"},"hljs-symbol":{color:"#8fc13e"},"hljs-bullet":{color:"#8fc13e"},"hljs-addition":{color:"#8fc13e"},"hljs-meta":{color:"#149b93"},"hljs-function":{color:"#1290bf"},"hljs-section":{color:"#1290bf"},"hljs-title":{color:"#1290bf"},"hljs-keyword":{color:"#c85e7c"},"hljs-selector-tag":{color:"#c85e7c"},hljs:{display:"block",overflowX:"auto",background:"#322931",color:"#b9b5b8",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},54717:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#1d1f21",color:"#c5c8c6"},"hljs::selection":{background:"#373b41"},"hljs span::selection":{background:"#373b41"},"hljs::-moz-selection":{background:"#373b41"},"hljs span::-moz-selection":{background:"#373b41"},"hljs-title":{color:"#f0c674"},"hljs-name":{color:"#f0c674"},"hljs-comment":{color:"#707880"},"hljs-meta":{color:"#707880"},"hljs-meta .hljs-keyword":{color:"#707880"},"hljs-number":{color:"#cc6666"},"hljs-symbol":{color:"#cc6666"},"hljs-literal":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-link":{color:"#cc6666"},"hljs-string":{color:"#b5bd68"},"hljs-doctag":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-regexp":{color:"#b5bd68"},"hljs-selector-attr":{color:"#b5bd68"},"hljs-selector-pseudo":{color:"#b5bd68"},"hljs-attribute":{color:"#b294bb"},"hljs-code":{color:"#b294bb"},"hljs-selector-id":{color:"#b294bb"},"hljs-keyword":{color:"#81a2be"},"hljs-selector-tag":{color:"#81a2be"},"hljs-bullet":{color:"#81a2be"},"hljs-tag":{color:"#81a2be"},"hljs-subst":{color:"#8abeb7"},"hljs-variable":{color:"#8abeb7"},"hljs-template-tag":{color:"#8abeb7"},"hljs-template-variable":{color:"#8abeb7"},"hljs-type":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-quote":{color:"#de935f"},"hljs-section":{color:"#de935f"},"hljs-selector-class":{color:"#de935f"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},88191:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#fff"},"hljs-subst":{fontWeight:"normal",color:"#000"},"hljs-title":{fontWeight:"normal",color:"#000"},"hljs-comment":{color:"#808080",fontStyle:"italic"},"hljs-quote":{color:"#808080",fontStyle:"italic"},"hljs-meta":{color:"#808000"},"hljs-tag":{background:"#efefef"},"hljs-section":{fontWeight:"bold",color:"#000080"},"hljs-name":{fontWeight:"bold",color:"#000080"},"hljs-literal":{fontWeight:"bold",color:"#000080"},"hljs-keyword":{fontWeight:"bold",color:"#000080"},"hljs-selector-tag":{fontWeight:"bold",color:"#000080"},"hljs-type":{fontWeight:"bold",color:"#000080"},"hljs-selector-id":{fontWeight:"bold",color:"#000080"},"hljs-selector-class":{fontWeight:"bold",color:"#000080"},"hljs-attribute":{fontWeight:"bold",color:"#0000ff"},"hljs-number":{fontWeight:"normal",color:"#0000ff"},"hljs-regexp":{fontWeight:"normal",color:"#0000ff"},"hljs-link":{fontWeight:"normal",color:"#0000ff"},"hljs-string":{color:"#008000",fontWeight:"bold"},"hljs-symbol":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-bullet":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-formula":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-doctag":{textDecoration:"underline"},"hljs-variable":{color:"#660e7a"},"hljs-template-variable":{color:"#660e7a"},"hljs-addition":{background:"#baeeba"},"hljs-deletion":{background:"#ffc8bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},26671:function(r,l,e){var t,c=e(64836);t={value:!0},t={enumerable:!0,get:function(){return P.default}},t={enumerable:!0,get:function(){return m.default}},t={enumerable:!0,get:function(){return q.default}},t={enumerable:!0,get:function(){return x.default}},t={enumerable:!0,get:function(){return G.default}},t={enumerable:!0,get:function(){return fl.default}},t={enumerable:!0,get:function(){return ul.default}},t={enumerable:!0,get:function(){return ll.default}},t={enumerable:!0,get:function(){return bl.default}},t={enumerable:!0,get:function(){return ol.default}},t={enumerable:!0,get:function(){return Z.default}},t={enumerable:!0,get:function(){return gl.default}},t={enumerable:!0,get:function(){return ml.default}},t={enumerable:!0,get:function(){return el.default}},t={enumerable:!0,get:function(){return pl.default}},t={enumerable:!0,get:function(){return Cl.default}},t={enumerable:!0,get:function(){return tl.default}},t={enumerable:!0,get:function(){return cl.default}},t={enumerable:!0,get:function(){return z.default}},t={enumerable:!0,get:function(){return K.default}},t={enumerable:!0,get:function(){return vl.default}},t={enumerable:!0,get:function(){return a.default}},t={enumerable:!0,get:function(){return y.default}},t={enumerable:!0,get:function(){return g.default}},t={enumerable:!0,get:function(){return j.default}},t={enumerable:!0,get:function(){return u.default}},t={enumerable:!0,get:function(){return W.default}},t={enumerable:!0,get:function(){return F.default}},t={enumerable:!0,get:function(){return E.default}},t={enumerable:!0,get:function(){return L.default}},t={enumerable:!0,get:function(){return M.default}},t={enumerable:!0,get:function(){return o.default}},t={enumerable:!0,get:function(){return n.default}},t={enumerable:!0,get:function(){return i.default}},t={enumerable:!0,get:function(){return h.default}},t={enumerable:!0,get:function(){return d.default}},t={enumerable:!0,get:function(){return f.default}},t={enumerable:!0,get:function(){return p.default}},t={enumerable:!0,get:function(){return b.default}},t={enumerable:!0,get:function(){return A.default}},t={enumerable:!0,get:function(){return D.default}},t={enumerable:!0,get:function(){return k.default}},t={enumerable:!0,get:function(){return v.default}},t={enumerable:!0,get:function(){return C.default}},t={enumerable:!0,get:function(){return w.default}},t={enumerable:!0,get:function(){return Q.default}},t={enumerable:!0,get:function(){return I.default}},t={enumerable:!0,get:function(){return N.default}},t={enumerable:!0,get:function(){return S.default}},t={enumerable:!0,get:function(){return O.default}},t={enumerable:!0,get:function(){return $.default}},t={enumerable:!0,get:function(){return yl.default}},t={enumerable:!0,get:function(){return X.default}},t={enumerable:!0,get:function(){return _.default}},t={enumerable:!0,get:function(){return B.default}},t={enumerable:!0,get:function(){return rl.default}},t={enumerable:!0,get:function(){return V.default}},t={enumerable:!0,get:function(){return Y.default}},t={enumerable:!0,get:function(){return sl.default}},t={enumerable:!0,get:function(){return T.default}},t={enumerable:!0,get:function(){return R.default}},t={enumerable:!0,get:function(){return al.default}},t={enumerable:!0,get:function(){return hl.default}},t={enumerable:!0,get:function(){return nl.default}},t={enumerable:!0,get:function(){return il.default}},t={enumerable:!0,get:function(){return H.default}},t={enumerable:!0,get:function(){return U.default}},t={enumerable:!0,get:function(){return J.default}},t={enumerable:!0,get:function(){return jl.default}},t={enumerable:!0,get:function(){return kl.default}},t={enumerable:!0,get:function(){return Al.default}},t={enumerable:!0,get:function(){return wl.default}},t={enumerable:!0,get:function(){return Wl.default}},t={enumerable:!0,get:function(){return dl.default}},t={enumerable:!0,get:function(){return _l.default}},t={enumerable:!0,get:function(){return Sl.default}},t={enumerable:!0,get:function(){return Bl.default}},t={enumerable:!0,get:function(){return Fl.default}},t={enumerable:!0,get:function(){return El.default}},t={enumerable:!0,get:function(){return Dl.default}},t={enumerable:!0,get:function(){return Ol.default}},t={enumerable:!0,get:function(){return Pl.default}},t={enumerable:!0,get:function(){return Ml.default}},t={enumerable:!0,get:function(){return Nl.default}},t={enumerable:!0,get:function(){return Xl.default}},t={enumerable:!0,get:function(){return Ll.default}},t={enumerable:!0,get:function(){return Il.default}},t={enumerable:!0,get:function(){return Ql.default}},t={enumerable:!0,get:function(){return $l.default}},t={enumerable:!0,get:function(){return Tl.default}},t={enumerable:!0,get:function(){return Ul.default}},t={enumerable:!0,get:function(){return Zl.default}},t={enumerable:!0,get:function(){return zl.default}},Object.defineProperty(l,"BV",{enumerable:!0,get:function(){return Vl.default}}),t={enumerable:!0,get:function(){return Rl.default}},t={enumerable:!0,get:function(){return Hl.default}},t={enumerable:!0,get:function(){return Jl.default}};var P=c(e(58281)),m=c(e(32897)),q=c(e(65906)),x=c(e(20444)),G=c(e(27048)),fl=c(e(41546)),ul=c(e(35132)),ll=c(e(19895)),bl=c(e(20977)),ol=c(e(67298)),Z=c(e(82468)),gl=c(e(59676)),ml=c(e(12105)),el=c(e(87629)),pl=c(e(68414)),Cl=c(e(49219)),tl=c(e(30288)),cl=c(e(77551)),z=c(e(23532)),K=c(e(30639)),vl=c(e(60333)),a=c(e(68067)),y=c(e(30690)),g=c(e(9799)),j=c(e(54900)),u=c(e(41983)),W=c(e(61587)),F=c(e(87695)),E=c(e(27326)),L=c(e(82761)),M=c(e(89061)),o=c(e(38855)),n=c(e(76642)),i=c(e(31475)),h=c(e(53601)),d=c(e(73537)),f=c(e(11327)),p=c(e(39265)),b=c(e(56822)),A=c(e(42254)),D=c(e(93028)),k=c(e(58504)),v=c(e(120)),C=c(e(96038)),w=c(e(76756)),Q=c(e(26918)),I=c(e(12560)),N=c(e(77733)),S=c(e(91587)),O=c(e(6862)),$=c(e(95302)),yl=c(e(54717)),X=c(e(88191)),_=c(e(71716)),B=c(e(84775)),rl=c(e(2499)),V=c(e(55672)),Y=c(e(80807)),sl=c(e(85188)),T=c(e(21941)),R=c(e(14123)),al=c(e(46192)),hl=c(e(69433)),nl=c(e(65599)),il=c(e(67540)),H=c(e(16249)),U=c(e(72798)),J=c(e(35489)),jl=c(e(22891)),kl=c(e(15342)),Al=c(e(75095)),wl=c(e(3127)),Wl=c(e(62634)),dl=c(e(33554)),_l=c(e(55786)),Sl=c(e(37467)),Bl=c(e(81416)),Fl=c(e(81027)),El=c(e(22525)),Dl=c(e(55252)),Ol=c(e(10974)),Pl=c(e(6375)),Ml=c(e(86597)),Nl=c(e(42759)),Xl=c(e(89452)),Ll=c(e(24146)),Il=c(e(98556)),Ql=c(e(37700)),$l=c(e(47075)),Tl=c(e(79241)),Ul=c(e(8787)),Zl=c(e(50619)),zl=c(e(76021)),Vl=c(e(58044)),Rl=c(e(4142)),Hl=c(e(2665)),Jl=c(e(35661))},71716:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000",color:"#f8f8f8"},"hljs-comment":{color:"#7c7c7c"},"hljs-quote":{color:"#7c7c7c"},"hljs-meta":{color:"#7c7c7c"},"hljs-keyword":{color:"#96cbfe"},"hljs-selector-tag":{color:"#96cbfe"},"hljs-tag":{color:"#96cbfe"},"hljs-name":{color:"#96cbfe"},"hljs-attribute":{color:"#ffffb6"},"hljs-selector-id":{color:"#ffffb6"},"hljs-string":{color:"#a8ff60"},"hljs-selector-attr":{color:"#a8ff60"},"hljs-selector-pseudo":{color:"#a8ff60"},"hljs-addition":{color:"#a8ff60"},"hljs-subst":{color:"#daefa3"},"hljs-regexp":{color:"#e9c062"},"hljs-link":{color:"#e9c062"},"hljs-title":{color:"#ffffb6"},"hljs-section":{color:"#ffffb6"},"hljs-type":{color:"#ffffb6"},"hljs-doctag":{color:"#ffffb6"},"hljs-symbol":{color:"#c6c5fe"},"hljs-bullet":{color:"#c6c5fe"},"hljs-variable":{color:"#c6c5fe"},"hljs-template-variable":{color:"#c6c5fe"},"hljs-literal":{color:"#c6c5fe"},"hljs-number":{color:"#ff73fd"},"hljs-deletion":{color:"#ff73fd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},84775:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#404040",color:"#f0f0f0"},"hljs-subst":{color:"#f0f0f0"},"hljs-comment":{color:"#b5b5b5",fontStyle:"italic"},"hljs-keyword":{color:"#f0f0f0",fontWeight:"bold"},"hljs-attribute":{color:"#f0f0f0",fontWeight:"bold"},"hljs-selector-tag":{color:"#f0f0f0",fontWeight:"bold"},"hljs-meta-keyword":{color:"#f0f0f0",fontWeight:"bold"},"hljs-doctag":{color:"#f0f0f0",fontWeight:"bold"},"hljs-name":{color:"#f0f0f0",fontWeight:"bold"},"hljs-string":{color:"#97bf0d"},"hljs-type":{color:"#f0f0f0"},"hljs-number":{color:"#f0f0f0"},"hljs-selector-id":{color:"#f0f0f0"},"hljs-selector-class":{color:"#f0f0f0"},"hljs-quote":{color:"#f0f0f0"},"hljs-template-tag":{color:"#f0f0f0"},"hljs-deletion":{color:"#f0f0f0"},"hljs-title":{color:"#df471e"},"hljs-section":{color:"#df471e"},"hljs-title>.hljs-built_in":{color:"#81bce9",fontWeight:"normal"},"hljs-regexp":{color:"#e2c696"},"hljs-symbol":{color:"#e2c696"},"hljs-variable":{color:"#e2c696"},"hljs-template-variable":{color:"#e2c696"},"hljs-link":{color:"#e2c696"},"hljs-selector-attr":{color:"#e2c696"},"hljs-selector-pseudo":{color:"#e2c696"},"hljs-built_in":{color:"#97bf0d",fontWeight:"bold"},"hljs-literal":{color:"#97bf0d",fontWeight:"bold"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-class":{color:"#ce9d4d",fontWeight:"bold"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},2499:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-subst":{color:"black"},"hljs-comment":{color:"#555555",fontStyle:"italic"},"hljs-keyword":{color:"#000000",fontWeight:"bold"},"hljs-attribute":{color:"#000000",fontWeight:"bold"},"hljs-selector-tag":{color:"#000000",fontWeight:"bold"},"hljs-meta-keyword":{color:"#000000",fontWeight:"bold"},"hljs-doctag":{color:"#000000",fontWeight:"bold"},"hljs-name":{color:"#000000",fontWeight:"bold"},"hljs-string":{color:"#000080"},"hljs-type":{color:"#000000"},"hljs-number":{color:"#000000"},"hljs-selector-id":{color:"#000000"},"hljs-selector-class":{color:"#000000"},"hljs-quote":{color:"#000000"},"hljs-template-tag":{color:"#000000"},"hljs-deletion":{color:"#000000"},"hljs-title":{color:"#fb2c00"},"hljs-section":{color:"#fb2c00"},"hljs-title>.hljs-built_in":{color:"#008080",fontWeight:"normal"},"hljs-regexp":{color:"#5e1700"},"hljs-symbol":{color:"#5e1700"},"hljs-variable":{color:"#5e1700"},"hljs-template-variable":{color:"#5e1700"},"hljs-link":{color:"#5e1700"},"hljs-selector-attr":{color:"#5e1700"},"hljs-selector-pseudo":{color:"#5e1700"},"hljs-built_in":{color:"#000080",fontWeight:"bold"},"hljs-literal":{color:"#000080",fontWeight:"bold"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-class":{color:"#6f1C00",fontWeight:"bold"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},55672:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#d6baad"},"hljs-quote":{color:"#d6baad"},"hljs-variable":{color:"#dc3958"},"hljs-template-variable":{color:"#dc3958"},"hljs-tag":{color:"#dc3958"},"hljs-name":{color:"#dc3958"},"hljs-selector-id":{color:"#dc3958"},"hljs-selector-class":{color:"#dc3958"},"hljs-regexp":{color:"#dc3958"},"hljs-meta":{color:"#dc3958"},"hljs-number":{color:"#f79a32"},"hljs-built_in":{color:"#f79a32"},"hljs-builtin-name":{color:"#f79a32"},"hljs-literal":{color:"#f79a32"},"hljs-type":{color:"#f79a32"},"hljs-params":{color:"#f79a32"},"hljs-deletion":{color:"#f79a32"},"hljs-link":{color:"#f79a32"},"hljs-title":{color:"#f06431"},"hljs-section":{color:"#f06431"},"hljs-attribute":{color:"#f06431"},"hljs-string":{color:"#889b4a"},"hljs-symbol":{color:"#889b4a"},"hljs-bullet":{color:"#889b4a"},"hljs-addition":{color:"#889b4a"},"hljs-keyword":{color:"#98676a"},"hljs-selector-tag":{color:"#98676a"},"hljs-function":{color:"#98676a"},hljs:{display:"block",overflowX:"auto",background:"#221a0f",color:"#d3af86",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},80807:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#a57a4c"},"hljs-quote":{color:"#a57a4c"},"hljs-variable":{color:"#dc3958"},"hljs-template-variable":{color:"#dc3958"},"hljs-tag":{color:"#dc3958"},"hljs-name":{color:"#dc3958"},"hljs-selector-id":{color:"#dc3958"},"hljs-selector-class":{color:"#dc3958"},"hljs-regexp":{color:"#dc3958"},"hljs-meta":{color:"#dc3958"},"hljs-number":{color:"#f79a32"},"hljs-built_in":{color:"#f79a32"},"hljs-builtin-name":{color:"#f79a32"},"hljs-literal":{color:"#f79a32"},"hljs-type":{color:"#f79a32"},"hljs-params":{color:"#f79a32"},"hljs-deletion":{color:"#f79a32"},"hljs-link":{color:"#f79a32"},"hljs-title":{color:"#f06431"},"hljs-section":{color:"#f06431"},"hljs-attribute":{color:"#f06431"},"hljs-string":{color:"#889b4a"},"hljs-symbol":{color:"#889b4a"},"hljs-bullet":{color:"#889b4a"},"hljs-addition":{color:"#889b4a"},"hljs-keyword":{color:"#98676a"},"hljs-selector-tag":{color:"#98676a"},"hljs-function":{color:"#98676a"},hljs:{display:"block",overflowX:"auto",background:"#fbebd4",color:"#84613d",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},85188:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"#444"},"hljs-name":{color:"#01a3a3",fontWeight:"bold"},"hljs-tag":{color:"#778899"},"hljs-meta":{color:"#778899"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-type":{color:"#4286f4"},"hljs-string":{color:"#4286f4"},"hljs-number":{color:"#4286f4"},"hljs-selector-id":{color:"#4286f4"},"hljs-selector-class":{color:"#4286f4"},"hljs-quote":{color:"#4286f4"},"hljs-template-tag":{color:"#4286f4"},"hljs-deletion":{color:"#4286f4"},"hljs-title":{color:"#4286f4",fontWeight:"bold"},"hljs-section":{color:"#4286f4",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#62bcbc"},"hljs-built_in":{color:"#25c6c6"},"hljs-bullet":{color:"#25c6c6"},"hljs-code":{color:"#25c6c6"},"hljs-addition":{color:"#25c6c6"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},21941:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#8d8d8d"},"hljs-quote":{color:"#b3c7d8"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-subst\n.hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-params":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-meta":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-selector-tag":{color:"#be94bb"},"hljs-keyword":{color:"#be94bb"},"hljs-function":{color:"#be94bb"},"hljs-class":{color:"#be94bb"},"hljs-symbol":{color:"#dbc4d9"},hljs:{display:"block",overflowX:"auto",background:"#303030",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},14123:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",backgroundColor:"#f4f4f4",color:"black"},"hljs-subst":{color:"black"},"hljs-string":{color:"#050"},"hljs-title":{color:"navy",fontWeight:"bold"},"hljs-symbol":{color:"#050"},"hljs-bullet":{color:"#050"},"hljs-attribute":{color:"#050"},"hljs-addition":{color:"#050"},"hljs-variable":{color:"#050"},"hljs-template-tag":{color:"#050"},"hljs-template-variable":{color:"#050"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-number":{color:"#800"},"hljs-regexp":{color:"#800"},"hljs-literal":{color:"#800"},"hljs-type":{color:"#800"},"hljs-link":{color:"#800"},"hljs-deletion":{color:"#00e"},"hljs-meta":{color:"#00e"},"hljs-keyword":{fontWeight:"bold",color:"navy"},"hljs-selector-tag":{fontWeight:"bold",color:"navy"},"hljs-doctag":{fontWeight:"bold",color:"navy"},"hljs-section":{fontWeight:"bold",color:"navy"},"hljs-built_in":{fontWeight:"bold",color:"navy"},"hljs-tag":{fontWeight:"bold",color:"navy"},"hljs-name":{fontWeight:"bold",color:"navy"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},46192:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#eaeef3",color:"#00193a"},"hljs-keyword":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold",color:"#0048ab"},"hljs-section":{fontWeight:"bold",color:"#0048ab"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold",color:"#0048ab"},"hljs-strong":{fontWeight:"bold"},"hljs-comment":{color:"#738191"},"hljs-string":{color:"#0048ab"},"hljs-built_in":{color:"#0048ab"},"hljs-literal":{color:"#0048ab"},"hljs-type":{color:"#0048ab"},"hljs-addition":{color:"#0048ab"},"hljs-tag":{color:"#0048ab"},"hljs-quote":{color:"#0048ab"},"hljs-selector-id":{color:"#0048ab"},"hljs-selector-class":{color:"#0048ab"},"hljs-meta":{color:"#4c81c9"},"hljs-subst":{color:"#4c81c9"},"hljs-symbol":{color:"#4c81c9"},"hljs-regexp":{color:"#4c81c9"},"hljs-attribute":{color:"#4c81c9"},"hljs-deletion":{color:"#4c81c9"},"hljs-variable":{color:"#4c81c9"},"hljs-template-variable":{color:"#4c81c9"},"hljs-link":{color:"#4c81c9"},"hljs-bullet":{color:"#4c81c9"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},69433:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#23241f",color:"#f8f8f2"},"hljs-tag":{color:"#f8f8f2"},"hljs-subst":{color:"#f8f8f2"},"hljs-strong":{color:"#a8a8a2",fontWeight:"bold"},"hljs-emphasis":{color:"#a8a8a2",fontStyle:"italic"},"hljs-bullet":{color:"#ae81ff"},"hljs-quote":{color:"#ae81ff"},"hljs-number":{color:"#ae81ff"},"hljs-regexp":{color:"#ae81ff"},"hljs-literal":{color:"#ae81ff"},"hljs-link":{color:"#ae81ff"},"hljs-code":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e"},"hljs-section":{color:"#a6e22e"},"hljs-selector-class":{color:"#a6e22e"},"hljs-keyword":{color:"#f92672"},"hljs-selector-tag":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-attr":{color:"#f92672"},"hljs-symbol":{color:"#66d9ef"},"hljs-attribute":{color:"#66d9ef"},"hljs-params":{color:"#f8f8f2"},"hljs-class .hljs-title":{color:"#f8f8f2"},"hljs-string":{color:"#e6db74"},"hljs-type":{color:"#e6db74"},"hljs-built_in":{color:"#e6db74"},"hljs-builtin-name":{color:"#e6db74"},"hljs-selector-id":{color:"#e6db74"},"hljs-selector-attr":{color:"#e6db74"},"hljs-selector-pseudo":{color:"#e6db74"},"hljs-addition":{color:"#e6db74"},"hljs-variable":{color:"#e6db74"},"hljs-template-variable":{color:"#e6db74"},"hljs-comment":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"}};l.default=e},65599:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}};l.default=e},67540:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#011627",color:"#d6deeb"},"hljs-keyword":{color:"#c792ea",fontStyle:"italic"},"hljs-built_in":{color:"#addb67",fontStyle:"italic"},"hljs-type":{color:"#82aaff"},"hljs-literal":{color:"#ff5874"},"hljs-number":{color:"#F78C6C"},"hljs-regexp":{color:"#5ca7e4"},"hljs-string":{color:"#ecc48d"},"hljs-subst":{color:"#d3423e"},"hljs-symbol":{color:"#82aaff"},"hljs-class":{color:"#ffcb8b"},"hljs-function":{color:"#82AAFF"},"hljs-title":{color:"#DCDCAA",fontStyle:"italic"},"hljs-params":{color:"#7fdbca"},"hljs-comment":{color:"#637777",fontStyle:"italic"},"hljs-doctag":{color:"#7fdbca"},"hljs-meta":{color:"#82aaff"},"hljs-meta-keyword":{color:"#82aaff"},"hljs-meta-string":{color:"#ecc48d"},"hljs-section":{color:"#82b1ff"},"hljs-tag":{color:"#7fdbca"},"hljs-name":{color:"#7fdbca"},"hljs-builtin-name":{color:"#7fdbca"},"hljs-attr":{color:"#7fdbca"},"hljs-attribute":{color:"#80cbc4"},"hljs-variable":{color:"#addb67"},"hljs-bullet":{color:"#d9f5dd"},"hljs-code":{color:"#80CBC4"},"hljs-emphasis":{color:"#c792ea",fontStyle:"italic"},"hljs-strong":{color:"#addb67",fontWeight:"bold"},"hljs-formula":{color:"#c792ea"},"hljs-link":{color:"#ff869a"},"hljs-quote":{color:"#697098",fontStyle:"italic"},"hljs-selector-tag":{color:"#ff6363"},"hljs-selector-id":{color:"#fad430"},"hljs-selector-class":{color:"#addb67",fontStyle:"italic"},"hljs-selector-attr":{color:"#c792ea",fontStyle:"italic"},"hljs-selector-pseudo":{color:"#c792ea",fontStyle:"italic"},"hljs-template-tag":{color:"#c792ea"},"hljs-template-variable":{color:"#addb67"},"hljs-addition":{color:"#addb67ff",fontStyle:"italic"},"hljs-deletion":{color:"#EF535090",fontStyle:"italic"}};l.default=e},16249:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"#fff"},"xml .hljs-meta":{fontWeight:"bold",fontStyle:"italic",color:"#69f"},"hljs-comment":{fontStyle:"italic",color:"#9c6"},"hljs-quote":{fontStyle:"italic",color:"#9c6"},"hljs-name":{color:"#a7a",fontWeight:"bold"},"hljs-keyword":{color:"#a7a"},"hljs-attr":{fontWeight:"bold",color:"#fff"},"hljs-string":{fontWeight:"normal",color:"#bce"},"hljs-variable":{color:"#588"},"hljs-template-variable":{color:"#588"},"hljs-code":{color:"#bce"},"hljs-meta-string":{color:"#bce"},"hljs-number":{color:"#bce"},"hljs-regexp":{color:"#bce"},"hljs-link":{color:"#bce"},"hljs-title":{color:"#d40"},"hljs-symbol":{color:"#d40"},"hljs-bullet":{color:"#d40"},"hljs-built_in":{color:"#d40"},"hljs-builtin-name":{color:"#d40"},"hljs-section":{color:"#a85"},"hljs-meta":{color:"#a85"},"hljs-class .hljs-title":{color:"#96c"},"hljs-type":{color:"#96c"},"hljs-function .hljs-title":{color:"#fff"},"hljs-subst":{color:"#fff"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#797"},"hljs-deletion":{backgroundColor:"#c99"},"hljs-selector-id":{color:"#964"},"hljs-selector-class":{color:"#964"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},72798:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"#000"},"xml .hljs-meta":{fontWeight:"bold",fontStyle:"italic",color:"#48b"},"hljs-comment":{fontStyle:"italic",color:"#070"},"hljs-quote":{fontStyle:"italic",color:"#070"},"hljs-name":{color:"#808",fontWeight:"bold"},"hljs-keyword":{color:"#808"},"hljs-attr":{fontWeight:"bold",color:"#000"},"hljs-string":{fontWeight:"normal",color:"#00f"},"hljs-variable":{color:"#477"},"hljs-template-variable":{color:"#477"},"hljs-code":{color:"#00f"},"hljs-meta-string":{color:"#00f"},"hljs-number":{color:"#00f"},"hljs-regexp":{color:"#00f"},"hljs-link":{color:"#00f"},"hljs-title":{color:"#f40"},"hljs-symbol":{color:"#f40"},"hljs-bullet":{color:"#f40"},"hljs-built_in":{color:"#f40"},"hljs-builtin-name":{color:"#f40"},"hljs-section":{color:"#642"},"hljs-meta":{color:"#642"},"hljs-class .hljs-title":{color:"#639"},"hljs-type":{color:"#639"},"hljs-function .hljs-title":{color:"#000"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#beb"},"hljs-deletion":{backgroundColor:"#fbb"},"hljs-selector-id":{color:"#964"},"hljs-selector-class":{color:"#964"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},35489:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}};l.default=e},22891:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}};l.default=e},15342:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#65737e"},"hljs-quote":{color:"#65737e"},"hljs-variable":{color:"#bf616a"},"hljs-template-variable":{color:"#bf616a"},"hljs-tag":{color:"#bf616a"},"hljs-name":{color:"#bf616a"},"hljs-selector-id":{color:"#bf616a"},"hljs-selector-class":{color:"#bf616a"},"hljs-regexp":{color:"#bf616a"},"hljs-deletion":{color:"#bf616a"},"hljs-number":{color:"#d08770"},"hljs-built_in":{color:"#d08770"},"hljs-builtin-name":{color:"#d08770"},"hljs-literal":{color:"#d08770"},"hljs-type":{color:"#d08770"},"hljs-params":{color:"#d08770"},"hljs-meta":{color:"#d08770"},"hljs-link":{color:"#d08770"},"hljs-attribute":{color:"#ebcb8b"},"hljs-string":{color:"#a3be8c"},"hljs-symbol":{color:"#a3be8c"},"hljs-bullet":{color:"#a3be8c"},"hljs-addition":{color:"#a3be8c"},"hljs-title":{color:"#8fa1b3"},"hljs-section":{color:"#8fa1b3"},"hljs-keyword":{color:"#b48ead"},"hljs-selector-tag":{color:"#b48ead"},hljs:{display:"block",overflowX:"auto",background:"#2b303b",color:"#c0c5ce",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},75095:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#8d8687"},"hljs-quote":{color:"#8d8687"},"hljs-variable":{color:"#ef6155"},"hljs-template-variable":{color:"#ef6155"},"hljs-tag":{color:"#ef6155"},"hljs-name":{color:"#ef6155"},"hljs-selector-id":{color:"#ef6155"},"hljs-selector-class":{color:"#ef6155"},"hljs-regexp":{color:"#ef6155"},"hljs-link":{color:"#ef6155"},"hljs-meta":{color:"#ef6155"},"hljs-number":{color:"#f99b15"},"hljs-built_in":{color:"#f99b15"},"hljs-builtin-name":{color:"#f99b15"},"hljs-literal":{color:"#f99b15"},"hljs-type":{color:"#f99b15"},"hljs-params":{color:"#f99b15"},"hljs-deletion":{color:"#f99b15"},"hljs-title":{color:"#fec418"},"hljs-section":{color:"#fec418"},"hljs-attribute":{color:"#fec418"},"hljs-string":{color:"#48b685"},"hljs-symbol":{color:"#48b685"},"hljs-bullet":{color:"#48b685"},"hljs-addition":{color:"#48b685"},"hljs-keyword":{color:"#815ba4"},"hljs-selector-tag":{color:"#815ba4"},hljs:{display:"block",overflowX:"auto",background:"#2f1e2e",color:"#a39e9b",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},3127:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#776e71"},"hljs-quote":{color:"#776e71"},"hljs-variable":{color:"#ef6155"},"hljs-template-variable":{color:"#ef6155"},"hljs-tag":{color:"#ef6155"},"hljs-name":{color:"#ef6155"},"hljs-selector-id":{color:"#ef6155"},"hljs-selector-class":{color:"#ef6155"},"hljs-regexp":{color:"#ef6155"},"hljs-link":{color:"#ef6155"},"hljs-meta":{color:"#ef6155"},"hljs-number":{color:"#f99b15"},"hljs-built_in":{color:"#f99b15"},"hljs-builtin-name":{color:"#f99b15"},"hljs-literal":{color:"#f99b15"},"hljs-type":{color:"#f99b15"},"hljs-params":{color:"#f99b15"},"hljs-deletion":{color:"#f99b15"},"hljs-title":{color:"#fec418"},"hljs-section":{color:"#fec418"},"hljs-attribute":{color:"#fec418"},"hljs-string":{color:"#48b685"},"hljs-symbol":{color:"#48b685"},"hljs-bullet":{color:"#48b685"},"hljs-addition":{color:"#48b685"},"hljs-keyword":{color:"#815ba4"},"hljs-selector-tag":{color:"#815ba4"},hljs:{display:"block",overflowX:"auto",background:"#e7e9db",color:"#4f424c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},62634:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#dccf8f",background:"url(./pojoaque.jpg) repeat scroll left top #181914"},"hljs-comment":{color:"#586e75",fontStyle:"italic"},"hljs-quote":{color:"#586e75",fontStyle:"italic"},"hljs-keyword":{color:"#b64926"},"hljs-selector-tag":{color:"#b64926"},"hljs-literal":{color:"#b64926"},"hljs-addition":{color:"#b64926"},"hljs-number":{color:"#468966"},"hljs-string":{color:"#468966"},"hljs-doctag":{color:"#468966"},"hljs-regexp":{color:"#468966"},"hljs-title":{color:"#ffb03b"},"hljs-section":{color:"#ffb03b"},"hljs-built_in":{color:"#ffb03b"},"hljs-name":{color:"#ffb03b"},"hljs-variable":{color:"#b58900"},"hljs-template-variable":{color:"#b58900"},"hljs-class .hljs-title":{color:"#b58900"},"hljs-type":{color:"#b58900"},"hljs-tag":{color:"#b58900"},"hljs-attribute":{color:"#b89859"},"hljs-symbol":{color:"#cb4b16"},"hljs-bullet":{color:"#cb4b16"},"hljs-link":{color:"#cb4b16"},"hljs-subst":{color:"#cb4b16"},"hljs-meta":{color:"#cb4b16"},"hljs-deletion":{color:"#dc322f"},"hljs-selector-id":{color:"#d3a60c"},"hljs-selector-class":{color:"#d3a60c"},"hljs-formula":{background:"#073642"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},33554:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#FFFFDF",color:"#000000"},"hljs-type":{color:"#000000"},"hljs-function":{color:"#000000"},"hljs-name":{color:"#000000",fontWeight:"bold"},"hljs-number":{color:"#000000"},"hljs-attr":{color:"#000000"},"hljs-params":{color:"#000000"},"hljs-subst":{color:"#000000"},"hljs-comment":{color:"#00AAAA"},"hljs-regexp":{color:"#00AAAA"},"hljs-section":{color:"#00AAAA"},"hljs-selector-pseudo":{color:"#00AAAA"},"hljs-addition":{color:"#00AAAA"},"hljs-title":{color:"#006666"},"hljs-tag":{color:"#006666"},"hljs-variable":{color:"#006666"},"hljs-code":{color:"#006666"},"hljs-keyword":{color:"#006666",fontWeight:"bold"},"hljs-class":{color:"#006666",fontWeight:"bold"},"hljs-meta-keyword":{color:"#006666",fontWeight:"bold"},"hljs-selector-class":{color:"#006666",fontWeight:"bold"},"hljs-built_in":{color:"#006666",fontWeight:"bold"},"hljs-builtin-name":{color:"#006666",fontWeight:"bold"},"hljs-string":{color:"#0080FF"},"hljs-selector-attr":{color:"#0080FF"},"hljs-symbol":{color:"#924B72"},"hljs-link":{color:"#924B72"},"hljs-deletion":{color:"#924B72"},"hljs-attribute":{color:"#924B72"},"hljs-meta":{color:"#924B72",fontWeight:"bold"},"hljs-literal":{color:"#924B72",fontWeight:"bold"},"hljs-selector-id":{color:"#924B72",fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},55786:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000000",color:"#aaaaaa"},"hljs-subst":{color:"#aaaaaa"},"hljs-tag":{color:"#aaaaaa"},"hljs-title":{color:"#aaaaaa"},"hljs-strong":{color:"#a8a8a2"},"hljs-emphasis":{color:"#a8a8a2",fontStyle:"italic"},"hljs-bullet":{color:"#ff55ff"},"hljs-quote":{color:"#ff55ff"},"hljs-number":{color:"#ff55ff"},"hljs-regexp":{color:"#ff55ff"},"hljs-literal":{color:"#ff55ff"},"hljs-code\n.hljs-selector-class":{color:"#aaaaff"},"hljs-stronge":{fontStyle:"italic"},"hljs-type":{fontStyle:"italic",color:"#ff55ff"},"hljs-keyword":{color:"#ffff55"},"hljs-selector-tag":{color:"#ffff55"},"hljs-function":{color:"#ffff55"},"hljs-section":{color:"#ffff55"},"hljs-symbol":{color:"#ffff55"},"hljs-name":{color:"#ffff55"},"hljs-attribute":{color:"#ff5555"},"hljs-variable":{color:"#8888ff"},"hljs-params":{color:"#8888ff"},"hljs-class .hljs-title":{color:"#8888ff"},"hljs-string":{color:"#ff55ff"},"hljs-selector-id":{color:"#ff55ff"},"hljs-selector-attr":{color:"#ff55ff"},"hljs-selector-pseudo":{color:"#ff55ff"},"hljs-built_in":{color:"#ff55ff"},"hljs-builtin-name":{color:"#ff55ff"},"hljs-template-tag":{color:"#ff55ff"},"hljs-template-variable":{color:"#ff55ff"},"hljs-addition":{color:"#ff55ff"},"hljs-link":{color:"#ff55ff"},"hljs-comment":{color:"#55ffff"},"hljs-meta":{color:"#55ffff"},"hljs-deletion":{color:"#55ffff"}};l.default=e},37467:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#ffffff",color:"#000000"},"hljs-subst":{color:"#000000"},"hljs-tag":{color:"#000000"},"hljs-title":{color:"#000000"},"hljs-strong":{color:"#000000"},"hljs-emphasis":{color:"#000000",fontStyle:"italic"},"hljs-bullet":{color:"#000080"},"hljs-quote":{color:"#000080"},"hljs-number":{color:"#000080"},"hljs-regexp":{color:"#000080"},"hljs-literal":{color:"#000080"},"hljs-code\n.hljs-selector-class":{color:"#800080"},"hljs-stronge":{fontStyle:"italic"},"hljs-type":{fontStyle:"italic",color:"#008000"},"hljs-keyword":{color:"#808000"},"hljs-selector-tag":{color:"#808000"},"hljs-function":{color:"#808000"},"hljs-section":{color:"#808000"},"hljs-symbol":{color:"#808000"},"hljs-name":{color:"#808000"},"hljs-attribute":{color:"#800000"},"hljs-variable":{color:"#0055AF"},"hljs-params":{color:"#0055AF"},"hljs-class .hljs-title":{color:"#0055AF"},"hljs-string":{color:"#008000"},"hljs-selector-id":{color:"#008000"},"hljs-selector-attr":{color:"#008000"},"hljs-selector-pseudo":{color:"#008000"},"hljs-built_in":{color:"#008000"},"hljs-builtin-name":{color:"#008000"},"hljs-template-tag":{color:"#008000"},"hljs-template-variable":{color:"#008000"},"hljs-addition":{color:"#008000"},"hljs-link":{color:"#008000"},"hljs-comment":{color:"#008000"},"hljs-meta":{color:"#008000"},"hljs-deletion":{color:"#008000"}};l.default=e},81416:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#232323",color:"#e6e1dc"},"hljs-comment":{color:"#bc9458",fontStyle:"italic"},"hljs-quote":{color:"#bc9458",fontStyle:"italic"},"hljs-keyword":{color:"#c26230"},"hljs-selector-tag":{color:"#c26230"},"hljs-string":{color:"#a5c261"},"hljs-number":{color:"#a5c261"},"hljs-regexp":{color:"#a5c261"},"hljs-variable":{color:"#a5c261"},"hljs-template-variable":{color:"#a5c261"},"hljs-subst":{color:"#519f50"},"hljs-tag":{color:"#e8bf6a"},"hljs-name":{color:"#e8bf6a"},"hljs-type":{color:"#da4939"},"hljs-symbol":{color:"#6d9cbe"},"hljs-bullet":{color:"#6d9cbe"},"hljs-built_in":{color:"#6d9cbe"},"hljs-builtin-name":{color:"#6d9cbe"},"hljs-attr":{color:"#6d9cbe"},"hljs-link":{color:"#6d9cbe",textDecoration:"underline"},"hljs-params":{color:"#d0d0ff"},"hljs-attribute":{color:"#cda869"},"hljs-meta":{color:"#9b859d"},"hljs-title":{color:"#ffc66d"},"hljs-section":{color:"#ffc66d"},"hljs-addition":{backgroundColor:"#144212",color:"#e6e1dc",display:"inline-block",width:"100%"},"hljs-deletion":{backgroundColor:"#600",color:"#e6e1dc",display:"inline-block",width:"100%"},"hljs-selector-class":{color:"#9b703f"},"hljs-selector-id":{color:"#8b98ab"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},81027:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#474949",color:"#d1d9e1"},"hljs-comment":{color:"#969896",fontStyle:"italic"},"hljs-quote":{color:"#969896",fontStyle:"italic"},"hljs-keyword":{color:"#cc99cc"},"hljs-selector-tag":{color:"#cc99cc"},"hljs-literal":{color:"#cc99cc"},"hljs-type":{color:"#cc99cc"},"hljs-addition":{color:"#cc99cc"},"hljs-number":{color:"#f99157"},"hljs-selector-attr":{color:"#f99157"},"hljs-selector-pseudo":{color:"#f99157"},"hljs-string":{color:"#8abeb7"},"hljs-doctag":{color:"#8abeb7"},"hljs-regexp":{color:"#8abeb7"},"hljs-title":{color:"#b5bd68"},"hljs-name":{color:"#b5bd68",fontWeight:"bold"},"hljs-section":{color:"#b5bd68",fontWeight:"bold"},"hljs-built_in":{color:"#b5bd68"},"hljs-variable":{color:"#ffcc66"},"hljs-template-variable":{color:"#ffcc66"},"hljs-selector-id":{color:"#ffcc66"},"hljs-class .hljs-title":{color:"#ffcc66"},"hljs-strong":{fontWeight:"bold"},"hljs-symbol":{color:"#f99157"},"hljs-bullet":{color:"#f99157"},"hljs-subst":{color:"#f99157"},"hljs-meta":{color:"#f99157"},"hljs-link":{color:"#f99157"},"hljs-deletion":{color:"#dc322f"},"hljs-formula":{background:"#eee8d5"},"hljs-attr":{color:"#81a2be"},"hljs-attribute":{color:"#81a2be"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},22525:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-attribute":{color:"#0E9A00"},"hljs-function":{color:"#99069A"},"hljs-builtin-name":{color:"#99069A"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#0C9A9A"},"hljs-bullet":{color:"#0C9A9A"},"hljs-code":{color:"#0C9A9A"},"hljs-addition":{color:"#0C9A9A"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},55252:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"15px 0.5em 0.5em 30px",fontSize:"11px",lineHeight:"16px",background:"#f6f6ae url(./school-book.png)",borderTop:"solid 2px #d2e8b9",borderBottom:"solid 1px #d2e8b9",color:"#3e5915"},"hljs-keyword":{color:"#005599",fontWeight:"bold"},"hljs-selector-tag":{color:"#005599",fontWeight:"bold"},"hljs-literal":{color:"#005599",fontWeight:"bold"},"hljs-subst":{color:"#3e5915"},"hljs-string":{color:"#2c009f"},"hljs-title":{color:"#2c009f",fontWeight:"bold"},"hljs-section":{color:"#2c009f",fontWeight:"bold"},"hljs-type":{color:"#2c009f",fontWeight:"bold"},"hljs-symbol":{color:"#2c009f"},"hljs-bullet":{color:"#2c009f"},"hljs-attribute":{color:"#2c009f"},"hljs-built_in":{color:"#2c009f"},"hljs-builtin-name":{color:"#2c009f"},"hljs-addition":{color:"#2c009f"},"hljs-variable":{color:"#2c009f"},"hljs-template-tag":{color:"#2c009f"},"hljs-template-variable":{color:"#2c009f"},"hljs-link":{color:"#2c009f"},"hljs-comment":{color:"#e60415"},"hljs-quote":{color:"#e60415"},"hljs-deletion":{color:"#e60415"},"hljs-meta":{color:"#e60415"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},10974:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2d2b57",fontWeight:"normal",color:"#e3dfff"},"hljs-title":{color:"#fad000",fontWeight:"normal"},"hljs-name":{color:"#a1feff",fontWeight:"normal"},"hljs-tag":{color:"#ffffff"},"hljs-attr":{color:"#f8d000",fontStyle:"italic"},"hljs-built_in":{color:"#fb9e00"},"hljs-selector-tag":{color:"#fb9e00",fontWeight:"normal"},"hljs-section":{color:"#fb9e00"},"hljs-keyword":{color:"#fb9e00",fontWeight:"normal"},"hljs-subst":{color:"#e3dfff"},"hljs-string":{color:"#4cd213"},"hljs-attribute":{color:"#4cd213"},"hljs-symbol":{color:"#4cd213"},"hljs-bullet":{color:"#4cd213"},"hljs-addition":{color:"#4cd213"},"hljs-code":{color:"#4cd213"},"hljs-regexp":{color:"#4cd213"},"hljs-selector-class":{color:"#4cd213"},"hljs-selector-attr":{color:"#4cd213"},"hljs-selector-pseudo":{color:"#4cd213"},"hljs-template-tag":{color:"#4cd213"},"hljs-quote":{color:"#4cd213"},"hljs-deletion":{color:"#4cd213"},"hljs-meta":{color:"#fb9e00"},"hljs-meta-string":{color:"#fb9e00"},"hljs-comment":{color:"#ac65ff"},"hljs-literal":{fontWeight:"normal",color:"#fa658d"},"hljs-strong":{fontWeight:"bold"},"hljs-number":{color:"#fa658d"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},6375:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#002b36",color:"#839496"},"hljs-comment":{color:"#586e75"},"hljs-quote":{color:"#586e75"},"hljs-keyword":{color:"#859900"},"hljs-selector-tag":{color:"#859900"},"hljs-addition":{color:"#859900"},"hljs-number":{color:"#2aa198"},"hljs-string":{color:"#2aa198"},"hljs-meta .hljs-meta-string":{color:"#2aa198"},"hljs-literal":{color:"#2aa198"},"hljs-doctag":{color:"#2aa198"},"hljs-regexp":{color:"#2aa198"},"hljs-title":{color:"#268bd2"},"hljs-section":{color:"#268bd2"},"hljs-name":{color:"#268bd2"},"hljs-selector-id":{color:"#268bd2"},"hljs-selector-class":{color:"#268bd2"},"hljs-attribute":{color:"#b58900"},"hljs-attr":{color:"#b58900"},"hljs-variable":{color:"#b58900"},"hljs-template-variable":{color:"#b58900"},"hljs-class .hljs-title":{color:"#b58900"},"hljs-type":{color:"#b58900"},"hljs-symbol":{color:"#cb4b16"},"hljs-bullet":{color:"#cb4b16"},"hljs-subst":{color:"#cb4b16"},"hljs-meta":{color:"#cb4b16"},"hljs-meta .hljs-keyword":{color:"#cb4b16"},"hljs-selector-attr":{color:"#cb4b16"},"hljs-selector-pseudo":{color:"#cb4b16"},"hljs-link":{color:"#cb4b16"},"hljs-built_in":{color:"#dc322f"},"hljs-deletion":{color:"#dc322f"},"hljs-formula":{background:"#073642"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},86597:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fdf6e3",color:"#657b83"},"hljs-comment":{color:"#93a1a1"},"hljs-quote":{color:"#93a1a1"},"hljs-keyword":{color:"#859900"},"hljs-selector-tag":{color:"#859900"},"hljs-addition":{color:"#859900"},"hljs-number":{color:"#2aa198"},"hljs-string":{color:"#2aa198"},"hljs-meta .hljs-meta-string":{color:"#2aa198"},"hljs-literal":{color:"#2aa198"},"hljs-doctag":{color:"#2aa198"},"hljs-regexp":{color:"#2aa198"},"hljs-title":{color:"#268bd2"},"hljs-section":{color:"#268bd2"},"hljs-name":{color:"#268bd2"},"hljs-selector-id":{color:"#268bd2"},"hljs-selector-class":{color:"#268bd2"},"hljs-attribute":{color:"#b58900"},"hljs-attr":{color:"#b58900"},"hljs-variable":{color:"#b58900"},"hljs-template-variable":{color:"#b58900"},"hljs-class .hljs-title":{color:"#b58900"},"hljs-type":{color:"#b58900"},"hljs-symbol":{color:"#cb4b16"},"hljs-bullet":{color:"#cb4b16"},"hljs-subst":{color:"#cb4b16"},"hljs-meta":{color:"#cb4b16"},"hljs-meta .hljs-keyword":{color:"#cb4b16"},"hljs-selector-attr":{color:"#cb4b16"},"hljs-selector-pseudo":{color:"#cb4b16"},"hljs-link":{color:"#cb4b16"},"hljs-built_in":{color:"#dc322f"},"hljs-deletion":{color:"#dc322f"},"hljs-formula":{background:"#eee8d5"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},42759:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#1C1B19",color:"#FCE8C3"},"hljs-strong":{color:"#918175"},"hljs-emphasis":{color:"#918175",fontStyle:"italic"},"hljs-bullet":{color:"#FF5C8F"},"hljs-quote":{color:"#FF5C8F"},"hljs-link":{color:"#FF5C8F"},"hljs-number":{color:"#FF5C8F"},"hljs-regexp":{color:"#FF5C8F"},"hljs-literal":{color:"#FF5C8F"},"hljs-code":{color:"#68A8E4"},"hljs-selector-class":{color:"#68A8E4"},"hljs-keyword":{color:"#EF2F27"},"hljs-selector-tag":{color:"#EF2F27"},"hljs-section":{color:"#EF2F27"},"hljs-attribute":{color:"#EF2F27"},"hljs-variable":{color:"#EF2F27"},"hljs-name":{color:"#FBB829"},"hljs-title":{color:"#FBB829"},"hljs-type":{color:"#0AAEB3"},"hljs-params":{color:"#0AAEB3"},"hljs-string":{color:"#98BC37"},"hljs-subst":{color:"#C07ABE"},"hljs-built_in":{color:"#C07ABE"},"hljs-builtin-name":{color:"#C07ABE"},"hljs-symbol":{color:"#C07ABE"},"hljs-selector-id":{color:"#C07ABE"},"hljs-selector-attr":{color:"#C07ABE"},"hljs-selector-pseudo":{color:"#C07ABE"},"hljs-template-tag":{color:"#C07ABE"},"hljs-template-variable":{color:"#C07ABE"},"hljs-addition":{color:"#C07ABE"},"hljs-comment":{color:"#918175"},"hljs-deletion":{color:"#918175"},"hljs-meta":{color:"#918175"}};l.default=e},89452:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#ffffff",background:"#1c1b1b"},"hljs-comment":{color:"#999999"},"hljs-keyword":{color:"#88aece"},"hljs-selector-tag":{color:"#88aece"},"hljs-meta-keyword":{color:"#88aece"},"hljs-doctag":{color:"#88aece"},"hljs-section":{color:"#88aece"},"hljs-selector-class":{color:"#88aece"},"hljs-meta":{color:"#88aece"},"hljs-selector-pseudo":{color:"#88aece"},"hljs-attr":{color:"#88aece"},"hljs-attribute":{color:"v#c59bc1"},"hljs-name":{color:"#f08d49"},"hljs-type":{color:"#f08d49"},"hljs-number":{color:"#f08d49"},"hljs-selector-id":{color:"#f08d49"},"hljs-quote":{color:"#f08d49"},"hljs-template-tag":{color:"#f08d49"},"hljs-built_in":{color:"#f08d49"},"hljs-title":{color:"#f08d49"},"hljs-literal":{color:"#f08d49"},"hljs-string":{color:"#b5bd68"},"hljs-regexp":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-variable":{color:"#b5bd68"},"hljs-template-variable":{color:"#b5bd68"},"hljs-link":{color:"#b5bd68"},"hljs-selector-attr":{color:"#b5bd68"},"hljs-meta-string":{color:"#b5bd68"},"hljs-bullet":{color:"#cccccc"},"hljs-code":{color:"#cccccc"},"hljs-deletion":{color:"#de7176"},"hljs-addition":{color:"#76c490"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},24146:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#2f3337",background:"#f6f6f6"},"hljs-comment":{color:"#656e77"},"hljs-keyword":{color:"#015692"},"hljs-selector-tag":{color:"#015692"},"hljs-meta-keyword":{color:"#015692"},"hljs-doctag":{color:"#015692"},"hljs-section":{color:"#015692"},"hljs-selector-class":{color:"#015692"},"hljs-meta":{color:"#015692"},"hljs-selector-pseudo":{color:"#015692"},"hljs-attr":{color:"#015692"},"hljs-attribute":{color:"#803378"},"hljs-name":{color:"#b75501"},"hljs-type":{color:"#b75501"},"hljs-number":{color:"#b75501"},"hljs-selector-id":{color:"#b75501"},"hljs-quote":{color:"#b75501"},"hljs-template-tag":{color:"#b75501"},"hljs-built_in":{color:"#b75501"},"hljs-title":{color:"#b75501"},"hljs-literal":{color:"#b75501"},"hljs-string":{color:"#54790d"},"hljs-regexp":{color:"#54790d"},"hljs-symbol":{color:"#54790d"},"hljs-variable":{color:"#54790d"},"hljs-template-variable":{color:"#54790d"},"hljs-link":{color:"#54790d"},"hljs-selector-attr":{color:"#54790d"},"hljs-meta-string":{color:"#54790d"},"hljs-bullet":{color:"#535a60"},"hljs-code":{color:"#535a60"},"hljs-deletion":{color:"#c02d2e"},"hljs-addition":{color:"#2f6f44"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},98556:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#000",color:"#f8f8f8"},"hljs-comment":{color:"#aeaeae",fontStyle:"italic"},"hljs-quote":{color:"#aeaeae",fontStyle:"italic"},"hljs-keyword":{color:"#e28964"},"hljs-selector-tag":{color:"#e28964"},"hljs-type":{color:"#e28964"},"hljs-string":{color:"#65b042"},"hljs-subst":{color:"#daefa3"},"hljs-regexp":{color:"#e9c062"},"hljs-link":{color:"#e9c062"},"hljs-title":{color:"#89bdff"},"hljs-section":{color:"#89bdff"},"hljs-tag":{color:"#89bdff"},"hljs-name":{color:"#89bdff"},"hljs-class .hljs-title":{textDecoration:"underline"},"hljs-doctag":{textDecoration:"underline"},"hljs-symbol":{color:"#3387cc"},"hljs-bullet":{color:"#3387cc"},"hljs-number":{color:"#3387cc"},"hljs-params":{color:"#3e87e3"},"hljs-variable":{color:"#3e87e3"},"hljs-template-variable":{color:"#3e87e3"},"hljs-attribute":{color:"#cda869"},"hljs-meta":{color:"#8996a8"},"hljs-formula":{backgroundColor:"#0e2231",color:"#f8f8f8",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#253b22",color:"#f8f8f8"},"hljs-deletion":{backgroundColor:"#420e09",color:"#f8f8f8"},"hljs-selector-class":{color:"#9b703f"},"hljs-selector-id":{color:"#8b98ab"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},37700:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#7285b7"},"hljs-quote":{color:"#7285b7"},"hljs-variable":{color:"#ff9da4"},"hljs-template-variable":{color:"#ff9da4"},"hljs-tag":{color:"#ff9da4"},"hljs-name":{color:"#ff9da4"},"hljs-selector-id":{color:"#ff9da4"},"hljs-selector-class":{color:"#ff9da4"},"hljs-regexp":{color:"#ff9da4"},"hljs-deletion":{color:"#ff9da4"},"hljs-number":{color:"#ffc58f"},"hljs-built_in":{color:"#ffc58f"},"hljs-builtin-name":{color:"#ffc58f"},"hljs-literal":{color:"#ffc58f"},"hljs-type":{color:"#ffc58f"},"hljs-params":{color:"#ffc58f"},"hljs-meta":{color:"#ffc58f"},"hljs-link":{color:"#ffc58f"},"hljs-attribute":{color:"#ffeead"},"hljs-string":{color:"#d1f1a9"},"hljs-symbol":{color:"#d1f1a9"},"hljs-bullet":{color:"#d1f1a9"},"hljs-addition":{color:"#d1f1a9"},"hljs-title":{color:"#bbdaff"},"hljs-section":{color:"#bbdaff"},"hljs-keyword":{color:"#ebbbff"},"hljs-selector-tag":{color:"#ebbbff"},hljs:{display:"block",overflowX:"auto",background:"#002451",color:"white",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},47075:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#d54e53"},"hljs-template-variable":{color:"#d54e53"},"hljs-tag":{color:"#d54e53"},"hljs-name":{color:"#d54e53"},"hljs-selector-id":{color:"#d54e53"},"hljs-selector-class":{color:"#d54e53"},"hljs-regexp":{color:"#d54e53"},"hljs-deletion":{color:"#d54e53"},"hljs-number":{color:"#e78c45"},"hljs-built_in":{color:"#e78c45"},"hljs-builtin-name":{color:"#e78c45"},"hljs-literal":{color:"#e78c45"},"hljs-type":{color:"#e78c45"},"hljs-params":{color:"#e78c45"},"hljs-meta":{color:"#e78c45"},"hljs-link":{color:"#e78c45"},"hljs-attribute":{color:"#e7c547"},"hljs-string":{color:"#b9ca4a"},"hljs-symbol":{color:"#b9ca4a"},"hljs-bullet":{color:"#b9ca4a"},"hljs-addition":{color:"#b9ca4a"},"hljs-title":{color:"#7aa6da"},"hljs-section":{color:"#7aa6da"},"hljs-keyword":{color:"#c397d8"},"hljs-selector-tag":{color:"#c397d8"},hljs:{display:"block",overflowX:"auto",background:"black",color:"#eaeaea",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},79241:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#999999"},"hljs-quote":{color:"#999999"},"hljs-variable":{color:"#f2777a"},"hljs-template-variable":{color:"#f2777a"},"hljs-tag":{color:"#f2777a"},"hljs-name":{color:"#f2777a"},"hljs-selector-id":{color:"#f2777a"},"hljs-selector-class":{color:"#f2777a"},"hljs-regexp":{color:"#f2777a"},"hljs-deletion":{color:"#f2777a"},"hljs-number":{color:"#f99157"},"hljs-built_in":{color:"#f99157"},"hljs-builtin-name":{color:"#f99157"},"hljs-literal":{color:"#f99157"},"hljs-type":{color:"#f99157"},"hljs-params":{color:"#f99157"},"hljs-meta":{color:"#f99157"},"hljs-link":{color:"#f99157"},"hljs-attribute":{color:"#ffcc66"},"hljs-string":{color:"#99cc99"},"hljs-symbol":{color:"#99cc99"},"hljs-bullet":{color:"#99cc99"},"hljs-addition":{color:"#99cc99"},"hljs-title":{color:"#6699cc"},"hljs-section":{color:"#6699cc"},"hljs-keyword":{color:"#cc99cc"},"hljs-selector-tag":{color:"#cc99cc"},hljs:{display:"block",overflowX:"auto",background:"#2d2d2d",color:"#cccccc",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},8787:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},50619:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={"hljs-comment":{color:"#8e908c"},"hljs-quote":{color:"#8e908c"},"hljs-variable":{color:"#c82829"},"hljs-template-variable":{color:"#c82829"},"hljs-tag":{color:"#c82829"},"hljs-name":{color:"#c82829"},"hljs-selector-id":{color:"#c82829"},"hljs-selector-class":{color:"#c82829"},"hljs-regexp":{color:"#c82829"},"hljs-deletion":{color:"#c82829"},"hljs-number":{color:"#f5871f"},"hljs-built_in":{color:"#f5871f"},"hljs-builtin-name":{color:"#f5871f"},"hljs-literal":{color:"#f5871f"},"hljs-type":{color:"#f5871f"},"hljs-params":{color:"#f5871f"},"hljs-meta":{color:"#f5871f"},"hljs-link":{color:"#f5871f"},"hljs-attribute":{color:"#eab700"},"hljs-string":{color:"#718c00"},"hljs-symbol":{color:"#718c00"},"hljs-bullet":{color:"#718c00"},"hljs-addition":{color:"#718c00"},"hljs-title":{color:"#4271ae"},"hljs-section":{color:"#4271ae"},"hljs-keyword":{color:"#8959a8"},"hljs-selector-tag":{color:"#8959a8"},hljs:{display:"block",overflowX:"auto",background:"white",color:"#4d4d4c",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},76021:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"white",color:"black"},"hljs-comment":{color:"#008000"},"hljs-quote":{color:"#008000"},"hljs-variable":{color:"#008000"},"hljs-keyword":{color:"#00f"},"hljs-selector-tag":{color:"#00f"},"hljs-built_in":{color:"#00f"},"hljs-name":{color:"#00f"},"hljs-tag":{color:"#00f"},"hljs-string":{color:"#a31515"},"hljs-title":{color:"#a31515"},"hljs-section":{color:"#a31515"},"hljs-attribute":{color:"#a31515"},"hljs-literal":{color:"#a31515"},"hljs-template-tag":{color:"#a31515"},"hljs-template-variable":{color:"#a31515"},"hljs-type":{color:"#a31515"},"hljs-addition":{color:"#a31515"},"hljs-deletion":{color:"#2b91af"},"hljs-selector-attr":{color:"#2b91af"},"hljs-selector-pseudo":{color:"#2b91af"},"hljs-meta":{color:"#2b91af"},"hljs-doctag":{color:"#808080"},"hljs-attr":{color:"#f00"},"hljs-symbol":{color:"#00b0e8"},"hljs-bullet":{color:"#00b0e8"},"hljs-link":{color:"#00b0e8"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},58044:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#1E1E1E",color:"#DCDCDC"},"hljs-keyword":{color:"#569CD6"},"hljs-literal":{color:"#569CD6"},"hljs-symbol":{color:"#569CD6"},"hljs-name":{color:"#569CD6"},"hljs-link":{color:"#569CD6",textDecoration:"underline"},"hljs-built_in":{color:"#4EC9B0"},"hljs-type":{color:"#4EC9B0"},"hljs-number":{color:"#B8D7A3"},"hljs-class":{color:"#B8D7A3"},"hljs-string":{color:"#D69D85"},"hljs-meta-string":{color:"#D69D85"},"hljs-regexp":{color:"#9A5334"},"hljs-template-tag":{color:"#9A5334"},"hljs-subst":{color:"#DCDCDC"},"hljs-function":{color:"#DCDCDC"},"hljs-title":{color:"#DCDCDC"},"hljs-params":{color:"#DCDCDC"},"hljs-formula":{color:"#DCDCDC"},"hljs-comment":{color:"#57A64A",fontStyle:"italic"},"hljs-quote":{color:"#57A64A",fontStyle:"italic"},"hljs-doctag":{color:"#608B4E"},"hljs-meta":{color:"#9B9B9B"},"hljs-meta-keyword":{color:"#9B9B9B"},"hljs-tag":{color:"#9B9B9B"},"hljs-variable":{color:"#BD63C5"},"hljs-template-variable":{color:"#BD63C5"},"hljs-attr":{color:"#9CDCFE"},"hljs-attribute":{color:"#9CDCFE"},"hljs-builtin-name":{color:"#9CDCFE"},"hljs-section":{color:"gold"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"},"hljs-bullet":{color:"#D7BA7D"},"hljs-selector-tag":{color:"#D7BA7D"},"hljs-selector-id":{color:"#D7BA7D"},"hljs-selector-class":{color:"#D7BA7D"},"hljs-selector-attr":{color:"#D7BA7D"},"hljs-selector-pseudo":{color:"#D7BA7D"},"hljs-addition":{backgroundColor:"#144212",display:"inline-block",width:"100%"},"hljs-deletion":{backgroundColor:"#600",display:"inline-block",width:"100%"}};l.default=e},4142:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}};l.default=e},2665:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",color:"#eaeaea",background:"#000",padding:"0.5em"},"hljs-subst":{color:"#eaeaea"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"},"hljs-builtin-name":{color:"#eaeaea"},"hljs-type":{color:"#eaeaea"},"hljs-params":{color:"#da0000"},"hljs-literal":{color:"#ff0000",fontWeight:"bolder"},"hljs-number":{color:"#ff0000",fontWeight:"bolder"},"hljs-name":{color:"#ff0000",fontWeight:"bolder"},"hljs-comment":{color:"#969896"},"hljs-selector-id":{color:"#00ffff"},"hljs-quote":{color:"#00ffff"},"hljs-template-variable":{color:"#00ffff",fontWeight:"bold"},"hljs-variable":{color:"#00ffff",fontWeight:"bold"},"hljs-title":{color:"#00ffff",fontWeight:"bold"},"hljs-selector-class":{color:"#fff000"},"hljs-keyword":{color:"#fff000"},"hljs-symbol":{color:"#fff000"},"hljs-string":{color:"#00ff00"},"hljs-bullet":{color:"#00ff00"},"hljs-tag":{color:"#000fff"},"hljs-section":{color:"#000fff"},"hljs-selector-tag":{color:"#000fff",fontWeight:"bold"},"hljs-attribute":{color:"#ff00ff"},"hljs-built_in":{color:"#ff00ff"},"hljs-regexp":{color:"#ff00ff"},"hljs-link":{color:"#ff00ff"},"hljs-meta":{color:"#fff",fontWeight:"bolder"}};l.default=e},35661:function(r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#3f3f3f",color:"#dcdcdc"},"hljs-keyword":{color:"#e3ceab"},"hljs-selector-tag":{color:"#e3ceab"},"hljs-tag":{color:"#e3ceab"},"hljs-template-tag":{color:"#dcdcdc"},"hljs-number":{color:"#8cd0d3"},"hljs-variable":{color:"#efdcbc"},"hljs-template-variable":{color:"#efdcbc"},"hljs-attribute":{color:"#efdcbc"},"hljs-literal":{color:"#efefaf"},"hljs-subst":{color:"#8f8f8f"},"hljs-title":{color:"#efef8f"},"hljs-name":{color:"#efef8f"},"hljs-selector-id":{color:"#efef8f"},"hljs-selector-class":{color:"#efef8f"},"hljs-section":{color:"#efef8f"},"hljs-type":{color:"#efef8f"},"hljs-symbol":{color:"#dca3a3"},"hljs-bullet":{color:"#dca3a3"},"hljs-link":{color:"#dca3a3"},"hljs-deletion":{color:"#cc9393"},"hljs-string":{color:"#cc9393"},"hljs-built_in":{color:"#cc9393"},"hljs-builtin-name":{color:"#cc9393"},"hljs-addition":{color:"#7f9f7f"},"hljs-comment":{color:"#7f9f7f"},"hljs-quote":{color:"#7f9f7f"},"hljs-meta":{color:"#7f9f7f"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};l.default=e},42481:function(r,l,e){e.d(l,{Z:function(){return M}});var t=e(45987),c=e(74902),P=e(94334),m=e(67294),q=e(87462);function x(o){var n=o.length;if(n===0||n===1)return o;if(n===2)return[o[0],o[1],"".concat(o[0],".").concat(o[1]),"".concat(o[1],".").concat(o[0])];if(n===3)return[o[0],o[1],o[2],"".concat(o[0],".").concat(o[1]),"".concat(o[0],".").concat(o[2]),"".concat(o[1],".").concat(o[0]),"".concat(o[1],".").concat(o[2]),"".concat(o[2],".").concat(o[0]),"".concat(o[2],".").concat(o[1]),"".concat(o[0],".").concat(o[1],".").concat(o[2]),"".concat(o[0],".").concat(o[2],".").concat(o[1]),"".concat(o[1],".").concat(o[0],".").concat(o[2]),"".concat(o[1],".").concat(o[2],".").concat(o[0]),"".concat(o[2],".").concat(o[0],".").concat(o[1]),"".concat(o[2],".").concat(o[1],".").concat(o[0])];if(n>=4)return[o[0],o[1],o[2],o[3],"".concat(o[0],".").concat(o[1]),"".concat(o[0],".").concat(o[2]),"".concat(o[0],".").concat(o[3]),"".concat(o[1],".").concat(o[0]),"".concat(o[1],".").concat(o[2]),"".concat(o[1],".").concat(o[3]),"".concat(o[2],".").concat(o[0]),"".concat(o[2],".").concat(o[1]),"".concat(o[2],".").concat(o[3]),"".concat(o[3],".").concat(o[0]),"".concat(o[3],".").concat(o[1]),"".concat(o[3],".").concat(o[2]),"".concat(o[0],".").concat(o[1],".").concat(o[2]),"".concat(o[0],".").concat(o[1],".").concat(o[3]),"".concat(o[0],".").concat(o[2],".").concat(o[1]),"".concat(o[0],".").concat(o[2],".").concat(o[3]),"".concat(o[0],".").concat(o[3],".").concat(o[1]),"".concat(o[0],".").concat(o[3],".").concat(o[2]),"".concat(o[1],".").concat(o[0],".").concat(o[2]),"".concat(o[1],".").concat(o[0],".").concat(o[3]),"".concat(o[1],".").concat(o[2],".").concat(o[0]),"".concat(o[1],".").concat(o[2],".").concat(o[3]),"".concat(o[1],".").concat(o[3],".").concat(o[0]),"".concat(o[1],".").concat(o[3],".").concat(o[2]),"".concat(o[2],".").concat(o[0],".").concat(o[1]),"".concat(o[2],".").concat(o[0],".").concat(o[3]),"".concat(o[2],".").concat(o[1],".").concat(o[0]),"".concat(o[2],".").concat(o[1],".").concat(o[3]),"".concat(o[2],".").concat(o[3],".").concat(o[0]),"".concat(o[2],".").concat(o[3],".").concat(o[1]),"".concat(o[3],".").concat(o[0],".").concat(o[1]),"".concat(o[3],".").concat(o[0],".").concat(o[2]),"".concat(o[3],".").concat(o[1],".").concat(o[0]),"".concat(o[3],".").concat(o[1],".").concat(o[2]),"".concat(o[3],".").concat(o[2],".").concat(o[0]),"".concat(o[3],".").concat(o[2],".").concat(o[1]),"".concat(o[0],".").concat(o[1],".").concat(o[2],".").concat(o[3]),"".concat(o[0],".").concat(o[1],".").concat(o[3],".").concat(o[2]),"".concat(o[0],".").concat(o[2],".").concat(o[1],".").concat(o[3]),"".concat(o[0],".").concat(o[2],".").concat(o[3],".").concat(o[1]),"".concat(o[0],".").concat(o[3],".").concat(o[1],".").concat(o[2]),"".concat(o[0],".").concat(o[3],".").concat(o[2],".").concat(o[1]),"".concat(o[1],".").concat(o[0],".").concat(o[2],".").concat(o[3]),"".concat(o[1],".").concat(o[0],".").concat(o[3],".").concat(o[2]),"".concat(o[1],".").concat(o[2],".").concat(o[0],".").concat(o[3]),"".concat(o[1],".").concat(o[2],".").concat(o[3],".").concat(o[0]),"".concat(o[1],".").concat(o[3],".").concat(o[0],".").concat(o[2]),"".concat(o[1],".").concat(o[3],".").concat(o[2],".").concat(o[0]),"".concat(o[2],".").concat(o[0],".").concat(o[1],".").concat(o[3]),"".concat(o[2],".").concat(o[0],".").concat(o[3],".").concat(o[1]),"".concat(o[2],".").concat(o[1],".").concat(o[0],".").concat(o[3]),"".concat(o[2],".").concat(o[1],".").concat(o[3],".").concat(o[0]),"".concat(o[2],".").concat(o[3],".").concat(o[0],".").concat(o[1]),"".concat(o[2],".").concat(o[3],".").concat(o[1],".").concat(o[0]),"".concat(o[3],".").concat(o[0],".").concat(o[1],".").concat(o[2]),"".concat(o[3],".").concat(o[0],".").concat(o[2],".").concat(o[1]),"".concat(o[3],".").concat(o[1],".").concat(o[0],".").concat(o[2]),"".concat(o[3],".").concat(o[1],".").concat(o[2],".").concat(o[0]),"".concat(o[3],".").concat(o[2],".").concat(o[0],".").concat(o[1]),"".concat(o[3],".").concat(o[2],".").concat(o[1],".").concat(o[0])]}var G={};function fl(o){if(o.length===0||o.length===1)return o;var n=o.join(".");return G[n]||(G[n]=x(o)),G[n]}function ul(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,h=o.filter(function(f){return f!=="token"}),d=fl(h);return d.reduce(function(f,p){return(0,P.Z)({},f,i[p])},n)}function ll(o){return o.join(" ")}function bl(o,n){var i=0;return function(h){return i+=1,h.map(function(d,f){return ol({node:d,stylesheet:o,useInlineStyles:n,key:"code-segment-".concat(i,"-").concat(f)})})}}function ol(o){var n=o.node,i=o.stylesheet,h=o.style,d=h===void 0?{}:h,f=o.useInlineStyles,p=o.key,b=n.properties,A=n.type,D=n.tagName,k=n.value;if(A==="text")return k;if(D){var v=bl(i,f),C;if(!f)C=(0,P.Z)({},b,{className:ll(b.className)});else{var w=Object.keys(i).reduce(function(S,O){return O.split(".").forEach(function($){S.includes($)||S.push($)}),S},[]),Q=b.className&&b.className.includes("token")?["token"]:[],I=b.className&&Q.concat(b.className.filter(function(S){return!w.includes(S)}));C=(0,P.Z)({},b,{className:ll(I)||void 0,style:ul(b.className,Object.assign({},b.style,d),i)})}var N=v(n.children);return m.createElement(D,(0,q.Z)({key:p},C),N)}}var Z=function(o,n){var i=o.listLanguages();return i.indexOf(n)!==-1},gl=/\n/g;function ml(o){return o.match(gl)}function el(o){var n=o.lines,i=o.startingLineNumber,h=o.style;return n.map(function(d,f){var p=f+i;return m.createElement("span",{key:"line-".concat(f),className:"react-syntax-highlighter-line-number",style:typeof h=="function"?h(p):h},"".concat(p,` -`))})}function pl(o){var n=o.codeString,i=o.codeStyle,h=o.containerStyle,d=h===void 0?{float:"left",paddingRight:"10px"}:h,f=o.numberStyle,p=f===void 0?{}:f,b=o.startingLineNumber;return m.createElement("code",{style:Object.assign({},i,d)},el({lines:n.replace(/\n$/,"").split(` -`),style:p,startingLineNumber:b}))}function Cl(o){return"".concat(o.toString().length,".25em")}function tl(o,n){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(o),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:n},children:[{type:"text",value:o}]}}function cl(o,n,i){var h={display:"inline-block",minWidth:Cl(i),paddingRight:"1em",textAlign:"right",userSelect:"none"},d=typeof o=="function"?o(n):o,f=(0,P.Z)({},h,d);return f}function z(o){var n=o.children,i=o.lineNumber,h=o.lineNumberStyle,d=o.largestLineNumber,f=o.showInlineLineNumbers,p=o.lineProps,b=p===void 0?{}:p,A=o.className,D=A===void 0?[]:A,k=o.showLineNumbers,v=o.wrapLongLines,C=typeof b=="function"?b(i):b;if(C.className=D,i&&f){var w=cl(h,i,d);n.unshift(tl(i,w))}return v&k&&(C.style=(0,P.Z)({},C.style,{display:"flex"})),{type:"element",tagName:"span",properties:C,children:n}}function K(o){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],h=0;h2&&arguments[2]!==void 0?arguments[2]:[];return z({children:X,lineNumber:_,lineNumberStyle:b,largestLineNumber:p,showInlineLineNumbers:d,lineProps:i,className:B,showLineNumbers:h,wrapLongLines:A})}function I(X,_){if(h&&_&&d){var B=cl(b,_,p);X.unshift(tl(_,B))}return X}function N(X,_){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return n||B.length>0?Q(X,_,B):I(X,_)}for(var S=function(){var _=k[w],B=_.children[0].value,rl=ml(B);if(rl){var V=B.split(` -`);V.forEach(function(Y,sl){var T=h&&v.length+f,R={type:"text",value:"".concat(Y,` -`)};if(sl===0){var al=k.slice(C+1,w).concat(z({children:[R],className:_.properties.className})),hl=N(al,T);v.push(hl)}else if(sl===V.length-1){var nl=k[w+1]&&k[w+1].children&&k[w+1].children[0];if(nl){var il={type:"text",value:"".concat(Y)},H=z({children:[il],className:_.properties.className});k.splice(w+1,0,H)}else{var U=[R],J=N(U,T,_.properties.className);v.push(J)}}else{var jl=[R],kl=N(jl,T,_.properties.className);v.push(kl)}}),C=w}w++};w1&&arguments[1]!==void 0?arguments[1]:0,M=E[S];if(O(M)){var _=document.createElement("script");_.setAttribute("src",M),_.setAttribute("data-namespace",M),E.length>S+1&&(_.onload=function(){w(E,S+1)},_.onerror=function(){w(E,S+1)}),h.add(M),document.body.appendChild(_)}}function F(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=E.scriptUrl,M=E.extraCommonProps,_=M===void 0?{}:M;S&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(S)?w(S.reverse()):w([S]));var q=y.forwardRef(function(I,G){var W=I.type,H=I.children,k=(0,T.Z)(I,c),A=null;return I.type&&(A=y.createElement("use",{xlinkHref:"#".concat(W)})),H&&(A=H),y.createElement(f.Z,(0,D.Z)((0,D.Z)((0,D.Z)({},_),k),{},{ref:G}),A)});return q.displayName="Iconfont",q}},55355:function(ae,Y,x){x.d(Y,{Z:function(){return O}});var D=x(1413),T=x(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},f=y,c=x(84089),h=function(F,E){return T.createElement(c.Z,(0,D.Z)((0,D.Z)({},F),{},{ref:E,icon:f}))};h.displayName="TeamOutlined";var O=T.forwardRef(h)},51904:function(ae,Y,x){x.d(Y,{Z:function(){return V}});var D=x(62208),T=x(94184),y=x.n(T),f=x(67294),c=x(53124),h=x(98787),O=x(45353),w=x(67968),F=x(45503);function E(m){return typeof m!="string"?m:m.charAt(0).toUpperCase()+m.slice(1)}var S=x(63443),M=x(14747);const _=(m,j,$)=>{const Z=E($);return{[`${m.componentCls}-${j}`]:{color:m[`color${$}`],background:m[`color${Z}Bg`],borderColor:m[`color${Z}Border`]}}},q=m=>(0,S.j)(m,(j,$)=>{let{textColor:Z,lightBorderColor:U,lightColor:J,darkColor:re}=$;return{[`${m.componentCls}-${j}`]:{color:Z,background:J,borderColor:U,"&-inverse":{color:m.colorTextLightSolid,background:re,borderColor:re}}}}),I=m=>{const{paddingXXS:j,lineWidth:$,tagPaddingHorizontal:Z,componentCls:U}=m,J=Z-$,re=j-$;return{[U]:Object.assign(Object.assign({},(0,M.Wf)(m)),{display:"inline-block",height:"auto",marginInlineEnd:m.marginXS,paddingInline:J,fontSize:m.tagFontSize,lineHeight:`${m.tagLineHeight}px`,whiteSpace:"nowrap",background:m.tagDefaultBg,border:`${m.lineWidth}px ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadiusSM,opacity:1,transition:`all ${m.motionDurationMid}`,textAlign:"start",[`&${U}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:m.tagDefaultColor},[`${U}-close-icon`]:{marginInlineStart:re,color:m.colorTextDescription,fontSize:m.tagIconSize,cursor:"pointer",transition:`all ${m.motionDurationMid}`,"&:hover":{color:m.colorTextHeading}},[`&${U}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${m.iconCls}-close, ${m.iconCls}-close:hover`]:{color:m.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${U}-checkable-checked):hover`]:{color:m.colorPrimary,backgroundColor:m.colorFillSecondary},"&:active, &-checked":{color:m.colorTextLightSolid},"&-checked":{backgroundColor:m.colorPrimary,"&:hover":{backgroundColor:m.colorPrimaryHover}},"&:active":{backgroundColor:m.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${m.iconCls} + span, > span + ${m.iconCls}`]:{marginInlineStart:J}})}};var G=(0,w.Z)("Tag",m=>{const{fontSize:j,lineHeight:$,lineWidth:Z,fontSizeIcon:U}=m,J=Math.round(j*$),re=m.fontSizeSM,ee=J-Z*2,ce=m.colorFillAlter,ue=m.colorText,oe=(0,F.TS)(m,{tagFontSize:re,tagLineHeight:ee,tagDefaultBg:ce,tagDefaultColor:ue,tagIconSize:U-2*Z,tagPaddingHorizontal:8});return[I(oe),q(oe),_(oe,"success","Success"),_(oe,"processing","Info"),_(oe,"error","Error"),_(oe,"warning","Warning")]}),W=function(m,j){var $={};for(var Z in m)Object.prototype.hasOwnProperty.call(m,Z)&&j.indexOf(Z)<0&&($[Z]=m[Z]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,Z=Object.getOwnPropertySymbols(m);U{var{prefixCls:j,className:$,checked:Z,onChange:U,onClick:J}=m,re=W(m,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:ee}=f.useContext(c.E_),ce=_e=>{U==null||U(!Z),J==null||J(_e)},ue=ee("tag",j),[oe,ve]=G(ue),Ee=y()(ue,{[`${ue}-checkable`]:!0,[`${ue}-checkable-checked`]:Z},$,ve);return oe(f.createElement("span",Object.assign({},re,{className:Ee,onClick:ce})))},A=function(m,j){var $={};for(var Z in m)Object.prototype.hasOwnProperty.call(m,Z)&&j.indexOf(Z)<0&&($[Z]=m[Z]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,Z=Object.getOwnPropertySymbols(m);U{var{prefixCls:$,className:Z,style:U,children:J,icon:re,color:ee,onClose:ce,closeIcon:ue,closable:oe=!1}=m,ve=A(m,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:Ee,direction:_e}=f.useContext(c.E_),[$e,Fe]=f.useState(!0);f.useEffect(()=>{"visible"in ve&&Fe(ve.visible)},[ve.visible]);const De=(0,h.o2)(ee)||(0,h.yT)(ee),it=Object.assign({backgroundColor:ee&&!De?ee:void 0},U),de=Ee("tag",$),[Ye,qe]=G(de),Be=y()(de,{[`${de}-${ee}`]:De,[`${de}-has-color`]:ee&&!De,[`${de}-hidden`]:!$e,[`${de}-rtl`]:_e==="rtl"},Z,qe),R=we=>{we.stopPropagation(),ce==null||ce(we),!we.defaultPrevented&&Fe(!1)},Te=()=>oe?ue?f.createElement("span",{className:`${de}-close-icon`,onClick:R},ue):f.createElement(D.Z,{className:`${de}-close-icon`,onClick:R}):null,Le=typeof ve.onClick=="function"||J&&J.type==="a",at=re||null,pt=at?f.createElement(f.Fragment,null,at,f.createElement("span",null,J)):J,le=f.createElement("span",Object.assign({},ve,{ref:j,className:Be,style:it}),pt,Te());return Ye(Le?f.createElement(O.Z,null,le):le)},N=f.forwardRef(v);N.CheckableTag=k;var V=N},88574:function(ae,Y,x){var D=x(99490);T.prototype.addYear=function(){this._date=this._date.plus({years:1})},T.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},T.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},T.prototype.addHour=function(){var y=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=y&&(this._date=this._date.plus({hours:1}))},T.prototype.addMinute=function(){var y=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date=y&&(this._date=this._date.minus({hours:1}))},T.prototype.subtractMinute=function(){var y=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>y&&(this._date=this._date.minus({hours:1}))},T.prototype.subtractSecond=function(){var y=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>y&&(this._date=this._date.minus({hours:1}))},T.prototype.getDate=function(){return this._date.day},T.prototype.getFullYear=function(){return this._date.year},T.prototype.getDay=function(){var y=this._date.weekday;return y==7?0:y},T.prototype.getMonth=function(){return this._date.month-1},T.prototype.getHours=function(){return this._date.hour},T.prototype.getMinutes=function(){return this._date.minute},T.prototype.getSeconds=function(){return this._date.second},T.prototype.getMilliseconds=function(){return this._date.millisecond},T.prototype.getTime=function(){return this._date.valueOf()},T.prototype.getUTCDate=function(){return this._getUTC().day},T.prototype.getUTCFullYear=function(){return this._getUTC().year},T.prototype.getUTCDay=function(){var y=this._getUTC().weekday;return y==7?0:y},T.prototype.getUTCMonth=function(){return this._getUTC().month-1},T.prototype.getUTCHours=function(){return this._getUTC().hour},T.prototype.getUTCMinutes=function(){return this._getUTC().minute},T.prototype.getUTCSeconds=function(){return this._getUTC().second},T.prototype.toISOString=function(){return this._date.toUTC().toISO()},T.prototype.toJSON=function(){return this._date.toJSON()},T.prototype.setDate=function(y){this._date=this._date.set({day:y})},T.prototype.setFullYear=function(y){this._date=this._date.set({year:y})},T.prototype.setDay=function(y){this._date=this._date.set({weekday:y})},T.prototype.setMonth=function(y){this._date=this._date.set({month:y+1})},T.prototype.setHours=function(y){this._date=this._date.set({hour:y})},T.prototype.setMinutes=function(y){this._date=this._date.set({minute:y})},T.prototype.setSeconds=function(y){this._date=this._date.set({second:y})},T.prototype.setMilliseconds=function(y){this._date=this._date.set({millisecond:y})},T.prototype._getUTC=function(){return this._date.toUTC()},T.prototype.toString=function(){return this.toDate().toString()},T.prototype.toDate=function(){return this._date.toJSDate()},T.prototype.isLastDayOfMonth=function(){var y=this._date.plus({days:1}).startOf("day");return this._date.month!==y.month},T.prototype.isLastWeekdayOfMonth=function(){var y=this._date.plus({days:7}).startOf("day");return this._date.month!==y.month};function T(y,f){var c={zone:f};if(y?y instanceof T?this._date=y._date:y instanceof Date?this._date=D.DateTime.fromJSDate(y,c):typeof y=="number"?this._date=D.DateTime.fromMillis(y,c):typeof y=="string"&&(this._date=D.DateTime.fromISO(y,c),this._date.isValid||(this._date=D.DateTime.fromRFC2822(y,c)),this._date.isValid||(this._date=D.DateTime.fromSQL(y,c)),this._date.isValid||(this._date=D.DateTime.fromFormat(y,"EEE, d MMM yyyy HH:mm:ss",c))):this._date=D.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(y));f&&f!==this._date.zoneName&&(this._date=this._date.setZone(f))}ae.exports=T},363:function(ae,Y,x){var D=x(88574),T=x(6847),y=1e4;function f(c,h){this._options=h,this._utc=h.utc||!1,this._tz=this._utc?"UTC":h.tz,this._currentDate=new D(h.currentDate,this._tz),this._startDate=h.startDate?new D(h.startDate,this._tz):null,this._endDate=h.endDate?new D(h.endDate,this._tz):null,this._isIterator=h.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=h.nthDayOfWeek||0,this.fields=f._freezeFields(c)}f.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],f.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},f.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],f.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],f.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},f.parseDefaults=["0","*","*","*","*","*"],f.standardValidCharacters=/^[,*\d/-]+$/,f.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,f.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,f.validCharacters={second:f.standardValidCharacters,minute:f.standardValidCharacters,hour:f.standardValidCharacters,dayOfMonth:f.dayOfMonthValidCharacters,month:f.standardValidCharacters,dayOfWeek:f.dayOfWeekValidCharacters},f._isValidConstraintChar=function(h,O){return typeof O!="string"?!1:h.chars.some(function(w){return O.indexOf(w)>-1})},f._parseField=function(h,O,w){switch(h){case"month":case"dayOfWeek":var F=f.aliases[h];O=O.replace(/[a-z]{3}/gi,function(_){if(_=_.toLowerCase(),typeof F[_]!="undefined")return F[_];throw new Error('Validation error, cannot resolve alias "'+_+'"')});break}if(!f.validCharacters[h].test(O))throw new Error("Invalid characters, got value: "+O);O.indexOf("*")!==-1?O=O.replace(/\*/g,w.min+"-"+w.max):O.indexOf("?")!==-1&&(O=O.replace(/\?/g,w.min+"-"+w.max));function E(_){var q=[];function I(k){if(k instanceof Array)for(var A=0,v=k.length;Aw.max)throw new Error("Constraint error, got value "+N+" expected range "+w.min+"-"+w.max);q.push(N)}else{if(f._isValidConstraintChar(w,k)){q.push(k);return}var V=+k;if(Number.isNaN(V)||Vw.max)throw new Error("Constraint error, got value "+k+" expected range "+w.min+"-"+w.max);h==="dayOfWeek"&&(V=V%7),q.push(V)}}var G=_.split(",");if(!G.every(function(k){return k.length>0}))throw new Error("Invalid list value format");if(G.length>1)for(var W=0,H=G.length;W1?(I[0]==+I[0]&&(I=[I[0]+"-"+w.max,I[1]]),M(I[0],I[I.length-1])):M(_,q)}function M(_,q){var I=[],G=_.split("-");if(G.length>1){if(G.length<2)return+_;if(!G[0].length){if(!G[1].length)throw new Error("Invalid range: "+_);return+_}var W=+G[0],H=+G[1];if(Number.isNaN(W)||Number.isNaN(H)||Ww.max)throw new Error("Constraint error, got range "+W+"-"+H+" expected range "+w.min+"-"+w.max);if(W>=H)throw new Error("Invalid range: "+_);var k=+q;if(Number.isNaN(k)||k<=0)throw new Error("Constraint error, cannot repeat at every "+k+" time.");for(var A=W,v=H;A<=v;A++)k>0&&k%q===0?(k=1,I.push(A)):k++;return I}return Number.isNaN(+_)?_:+_}return E(O)},f._sortCompareFn=function(c,h){var O=typeof c=="number",w=typeof h=="number";return O&&w?c-h:!O&&w?1:O&&!w?-1:c.localeCompare(h)},f._handleMaxDaysInMonth=function(c){if(c.month.length===1){var h=f.daysInMonth[c.month[0]-1];if(c.dayOfMonth[0]>h)throw new Error("Invalid explicit day of month definition");return c.dayOfMonth.filter(function(O){return O==="L"?!0:O<=h}).sort(f._sortCompareFn)}},f._freezeFields=function(c){for(var h=0,O=f.map.length;h=N)return V[m]===N;return V[0]===N}function w(N,V){if(V<6){if(N.getDate()<8&&V===1)return!0;var m=N.getDate()%7?1:0,j=N.getDate()-N.getDate()%7,$=Math.floor(j/7)+m;return $===V}return!1}function F(N){return N.length>0&&N.some(function(V){return typeof V=="string"&&V.indexOf("L")>=0})}h=h||!1;var E=h?"subtract":"add",S=new D(this._currentDate,this._tz),M=this._startDate,_=this._endDate,q=S.getTime(),I=0;function G(N){return N.some(function(V){if(!F([V]))return!1;var m=Number.parseInt(V[0]);if(Number.isNaN(m))throw new Error("Invalid last weekday of the month expression: "+V);return S.getDay()===m&&S.isLastWeekdayOfMonth()})}for(;I=f.daysInMonth[S.getMonth()],A=this.fields.dayOfWeek.length===f.constraints[5].max-f.constraints[5].min+1,v=S.getHours();if(!W&&!H){this._applyTimezoneShift(S,E,"Day");continue}if(!k&&A&&!W){this._applyTimezoneShift(S,E,"Day");continue}if(k&&!A&&!H){this._applyTimezoneShift(S,E,"Day");continue}if(this._nthDayOfWeek>0&&!w(S,this._nthDayOfWeek)){this._applyTimezoneShift(S,E,"Day");continue}if(!O(S.getMonth()+1,this.fields.month)){this._applyTimezoneShift(S,E,"Month");continue}if(O(v,this.fields.hour)){if(this._dstEnd===v&&!h){this._dstEnd=null,this._applyTimezoneShift(S,"add","Hour");continue}}else if(this._dstStart!==v){this._dstStart=null,this._applyTimezoneShift(S,E,"Hour");continue}else if(!O(v-1,this.fields.hour)){S[E+"Hour"]();continue}if(!O(S.getMinutes(),this.fields.minute)){this._applyTimezoneShift(S,E,"Minute");continue}if(!O(S.getSeconds(),this.fields.second)){this._applyTimezoneShift(S,E,"Second");continue}if(q===S.getTime()){E==="add"||S.getMilliseconds()===0?this._applyTimezoneShift(S,E,"Second"):S.setMilliseconds(0);continue}break}if(I>=y)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new D(S,this._tz),this._hasIterated=!0,S},f.prototype.next=function(){var h=this._findSchedule();return this._isIterator?{value:h,done:!this.hasNext()}:h},f.prototype.prev=function(){var h=this._findSchedule(!0);return this._isIterator?{value:h,done:!this.hasPrev()}:h},f.prototype.hasNext=function(){var c=this._currentDate,h=this._hasIterated;try{return this._findSchedule(),!0}catch(O){return!1}finally{this._currentDate=c,this._hasIterated=h}},f.prototype.hasPrev=function(){var c=this._currentDate,h=this._hasIterated;try{return this._findSchedule(!0),!0}catch(O){return!1}finally{this._currentDate=c,this._hasIterated=h}},f.prototype.iterate=function(h,O){var w=[];if(h>=0)for(var F=0,E=h;FE;F--)try{var S=this.prev();w.push(S),O&&O(S,F)}catch(q){break}return w},f.prototype.reset=function(h){this._currentDate=new D(h||this._options.currentDate)},f.prototype.stringify=function(h){for(var O=[],w=h?0:1,F=f.map.length;w6)throw new Error("Invalid cron expression");for(var q=f.map.length-_.length,I=0,G=f.map.length;IG?I:I-q];if(I1){var $=+j[j.length-1];if(/,/.test(m))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(m))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(m))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(j.length>2||Number.isNaN($)||$<1||$>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return S.nthDayOfWeek=$,j[0]}return m}}return F(h,O)},f.fieldsToExpression=function(h,O){function w(W,H,k){if(!H)throw new Error("Validation error, Field "+W+" is missing");if(H.length===0)throw new Error("Validation error, Field "+W+" contains no values");for(var A=0,v=H.length;Ak.max))throw new Error("Constraint error, got value "+N+" expected range "+k.min+"-"+k.max)}}for(var F={},E=0,S=f.map.length;E6)return{interval:D.parse(c.slice(0,6).join(" ")),command:c.slice(6,c.length)};throw new Error("Invalid entry: "+f)},T.parseExpression=function(f,c){return D.parse(f,c)},T.fieldsToExpression=function(f,c){return D.fieldsToExpression(f,c)},T.parseString=function(f){for(var c=f.split(` -`),h={variables:{},expressions:[],errors:{}},O=0,w=c.length;O0){if(S.match(/^#/))continue;if(E=S.match(/^(.*)=(.*)$/))h.variables[E[1]]=E[2];else{var M=null;try{M=T._parseEntry("0 "+S),h.expressions.push(M.interval)}catch(_){h.errors[S]=_}}}}return h},T.parseFile=function(f,c){x(37281).readFile(f,function(h,O){if(h){c(h);return}return c(null,T.parseString(O.toString()))})},ae.exports=T},99490:function(ae,Y){Object.defineProperty(Y,"__esModule",{value:!0});function x(t,i){for(var r=0;r=0)&&(r[n]=t[n]);return r}function E(t,i){if(!!t){if(typeof t=="string")return S(t,i);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,i)}}function S(t,i){(i==null||i>t.length)&&(i=t.length);for(var r=0,e=new Array(i);r=t.length?{done:!0}:{done:!1,value:t[i++]}};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 i=t[Symbol.iterator](),i.next.bind(i)}var _=function(t){T(i,t);function i(){return t.apply(this,arguments)||this}return i}(w(Error)),q=function(t){T(i,t);function i(r){return t.call(this,"Invalid DateTime: "+r.toMessage())||this}return i}(_),I=function(t){T(i,t);function i(r){return t.call(this,"Invalid Interval: "+r.toMessage())||this}return i}(_),G=function(t){T(i,t);function i(r){return t.call(this,"Invalid Duration: "+r.toMessage())||this}return i}(_),W=function(t){T(i,t);function i(){return t.apply(this,arguments)||this}return i}(_),H=function(t){T(i,t);function i(r){return t.call(this,"Invalid unit "+r)||this}return i}(_),k=function(t){T(i,t);function i(){return t.apply(this,arguments)||this}return i}(_),A=function(t){T(i,t);function i(){return t.call(this,"Zone is an abstract class")||this}return i}(_),v="numeric",N="short",V="long",m={year:v,month:v,day:v},j={year:v,month:N,day:v},$={year:v,month:N,day:v,weekday:N},Z={year:v,month:V,day:v},U={year:v,month:V,day:v,weekday:V},J={hour:v,minute:v},re={hour:v,minute:v,second:v},ee={hour:v,minute:v,second:v,timeZoneName:N},ce={hour:v,minute:v,second:v,timeZoneName:V},ue={hour:v,minute:v,hour12:!1},oe={hour:v,minute:v,second:v,hour12:!1},ve={hour:v,minute:v,second:v,hour12:!1,timeZoneName:N},Ee={hour:v,minute:v,second:v,hour12:!1,timeZoneName:V},_e={year:v,month:v,day:v,hour:v,minute:v},$e={year:v,month:v,day:v,hour:v,minute:v,second:v},Fe={year:v,month:N,day:v,hour:v,minute:v},De={year:v,month:N,day:v,hour:v,minute:v,second:v},it={year:v,month:N,day:v,weekday:N,hour:v,minute:v},de={year:v,month:V,day:v,hour:v,minute:v,timeZoneName:N},Ye={year:v,month:V,day:v,hour:v,minute:v,second:v,timeZoneName:N},qe={year:v,month:V,day:v,weekday:V,hour:v,minute:v,timeZoneName:V},Be={year:v,month:V,day:v,weekday:V,hour:v,minute:v,second:v,timeZoneName:V};function R(t){return typeof t=="undefined"}function Te(t){return typeof t=="number"}function Le(t){return typeof t=="number"&&t%1===0}function at(t){return typeof t=="string"}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function le(){try{return typeof Intl!="undefined"&&Intl.DateTimeFormat}catch(t){return!1}}function we(){return!R(Intl.DateTimeFormat.prototype.formatToParts)}function Ut(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Yr(t){return Array.isArray(t)?t:[t]}function jt(t,i,r){if(t.length!==0)return t.reduce(function(e,n){var a=[i(n),n];return e&&r(e[0],a[0])===e[0]?e:a},null)[1]}function Ht(t,i){return i.reduce(function(r,e){return r[e]=t[e],r},{})}function Ae(t,i){return Object.prototype.hasOwnProperty.call(t,i)}function be(t,i,r){return Le(t)&&t>=i&&t<=r}function qr(t,i){return t-i*Math.floor(t/i)}function Ve(t,i){i===void 0&&(i=2);var r=t<0?"-":"",e=r?t*-1:t,n;return e.toString().length=0&&(i=new Date(i),i.setUTCFullYear(i.getUTCFullYear()-1900)),+i}function st(t){var i=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,r=t-1,e=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return i===4||e===3?53:52}function wt(t){return t>99?t:t>60?1900+t:2e3+t}function $t(t,i,r,e){e===void 0&&(e=null);var n=new Date(t),a={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};e&&(a.timeZone=e);var o=Object.assign({timeZoneName:i},a),s=le();if(s&&we()){var u=new Intl.DateTimeFormat(r,o).formatToParts(n).find(function(b){return b.type.toLowerCase()==="timezonename"});return u?u.value:null}else if(s){var l=new Intl.DateTimeFormat(r,a).format(n),g=new Intl.DateTimeFormat(r,o).format(n),d=g.substring(l.length),p=d.replace(/^[, \u200e]+/,"");return p}else return null}function ut(t,i){var r=parseInt(t,10);Number.isNaN(r)&&(r=0);var e=parseInt(i,10)||0,n=r<0||Object.is(r,-0)?-e:e;return r*60+n}function Yt(t){var i=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(i))throw new k("Invalid unit value "+t);return i}function lt(t,i,r){var e={};for(var n in t)if(Ae(t,n)){if(r.indexOf(n)>=0)continue;var a=t[n];if(a==null)continue;e[i(n)]=Yt(a)}return e}function ft(t,i){var r=Math.trunc(Math.abs(t/60)),e=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(i){case"short":return""+n+Ve(r,2)+":"+Ve(e,2);case"narrow":return""+n+r+(e>0?":"+e:"");case"techie":return""+n+Ve(r,2)+Ve(e,2);default:throw new RangeError("Value format "+i+" is out of range for property format")}}function ct(t){return Ht(t,["hour","minute","second","millisecond"])}var qt=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function Q(t){return JSON.stringify(t,Object.keys(t).sort())}var Br=["January","February","March","April","May","June","July","August","September","October","November","December"],Bt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gr=["J","F","M","A","M","J","J","A","S","O","N","D"];function Gt(t){switch(t){case"narrow":return[].concat(Gr);case"short":return[].concat(Bt);case"long":return[].concat(Br);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Jt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Jr=["M","T","W","T","F","S","S"];function Kt(t){switch(t){case"narrow":return[].concat(Jr);case"short":return[].concat(Qt);case"long":return[].concat(Jt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Xt=["AM","PM"],Qr=["Before Christ","Anno Domini"],Kr=["BC","AD"],Xr=["B","A"];function er(t){switch(t){case"narrow":return[].concat(Xr);case"short":return[].concat(Kr);case"long":return[].concat(Qr);default:return null}}function en(t){return Xt[t.hour<12?0:1]}function tn(t,i){return Kt(i)[t.weekday-1]}function rn(t,i){return Gt(i)[t.month-1]}function nn(t,i){return er(i)[t.year<0?0:1]}function an(t,i,r,e){r===void 0&&(r="always"),e===void 0&&(e=!1);var n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&a){var o=t==="days";switch(i){case 1:return o?"tomorrow":"next "+n[t][0];case-1:return o?"yesterday":"last "+n[t][0];case 0:return o?"today":"this "+n[t][0]}}var s=Object.is(i,-0)||i<0,u=Math.abs(i),l=u===1,g=n[t],d=e?l?g[1]:g[2]||g[1]:l?n[t][0]:t;return s?u+" "+d+" ago":"in "+u+" "+d}function on(t){var i=Ht(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]),r=Q(i),e="EEEE, LLLL d, yyyy, h:mm a";switch(r){case Q(m):return"M/d/yyyy";case Q(j):return"LLL d, yyyy";case Q($):return"EEE, LLL d, yyyy";case Q(Z):return"LLLL d, yyyy";case Q(U):return"EEEE, LLLL d, yyyy";case Q(J):return"h:mm a";case Q(re):return"h:mm:ss a";case Q(ee):return"h:mm a";case Q(ce):return"h:mm a";case Q(ue):return"HH:mm";case Q(oe):return"HH:mm:ss";case Q(ve):return"HH:mm";case Q(Ee):return"HH:mm";case Q(_e):return"M/d/yyyy, h:mm a";case Q(Fe):return"LLL d, yyyy, h:mm a";case Q(de):return"LLLL d, yyyy, h:mm a";case Q(qe):return e;case Q($e):return"M/d/yyyy, h:mm:ss a";case Q(De):return"LLL d, yyyy, h:mm:ss a";case Q(it):return"EEE, d LLL yyyy, h:mm a";case Q(Ye):return"LLLL d, yyyy, h:mm:ss a";case Q(Be):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return e}}function tr(t,i){for(var r="",e=M(t),n;!(n=e()).done;){var a=n.value;a.literal?r+=a.val:r+=i(a.val)}return r}var sn={D:m,DD:j,DDD:Z,DDDD:U,t:J,tt:re,ttt:ee,tttt:ce,T:ue,TT:oe,TTT:ve,TTTT:Ee,f:_e,ff:Fe,fff:de,ffff:qe,F:$e,FF:De,FFF:Ye,FFFF:Be},Se=function(){t.create=function(e,n){return n===void 0&&(n={}),new t(e,n)},t.parseFormat=function(e){for(var n=null,a="",o=!1,s=[],u=0;u0&&s.push({literal:o,val:a}),n=null,a="",o=!o):o||l===n?a+=l:(a.length>0&&s.push({literal:!1,val:a}),a=l,n=l)}return a.length>0&&s.push({literal:o,val:a}),s},t.macroTokenToFormatOpts=function(e){return sn[e]};function t(r,e){this.opts=e,this.loc=r,this.systemLoc=null}var i=t.prototype;return i.formatWithSystemDefault=function(e,n){this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem());var a=this.systemLoc.dtFormatter(e,Object.assign({},this.opts,n));return a.format()},i.formatDateTime=function(e,n){n===void 0&&(n={});var a=this.loc.dtFormatter(e,Object.assign({},this.opts,n));return a.format()},i.formatDateTimeParts=function(e,n){n===void 0&&(n={});var a=this.loc.dtFormatter(e,Object.assign({},this.opts,n));return a.formatToParts()},i.resolvedOptions=function(e,n){n===void 0&&(n={});var a=this.loc.dtFormatter(e,Object.assign({},this.opts,n));return a.resolvedOptions()},i.num=function(e,n){if(n===void 0&&(n=0),this.opts.forceSimple)return Ve(e,n);var a=Object.assign({},this.opts);return n>0&&(a.padTo=n),this.loc.numberFormatter(a).format(e)},i.formatDateTimeFromString=function(e,n){var a=this,o=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory"&&we(),u=function(L,se){return a.loc.extract(e,L,se)},l=function(L){return e.isOffsetFixed&&e.offset===0&&L.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,L.format):""},g=function(){return o?en(e):u({hour:"numeric",hour12:!0},"dayperiod")},d=function(L,se){return o?rn(e,L):u(se?{month:L}:{month:L,day:"numeric"},"month")},p=function(L,se){return o?tn(e,L):u(se?{weekday:L}:{weekday:L,month:"long",day:"numeric"},"weekday")},b=function(L){var se=t.macroTokenToFormatOpts(L);return se?a.formatWithSystemDefault(e,se):L},C=function(L){return o?nn(e,L):u({era:L},"era")},P=function(L){switch(L){case"S":return a.num(e.millisecond);case"u":case"SSS":return a.num(e.millisecond,3);case"s":return a.num(e.second);case"ss":return a.num(e.second,2);case"m":return a.num(e.minute);case"mm":return a.num(e.minute,2);case"h":return a.num(e.hour%12===0?12:e.hour%12);case"hh":return a.num(e.hour%12===0?12:e.hour%12,2);case"H":return a.num(e.hour);case"HH":return a.num(e.hour,2);case"Z":return l({format:"narrow",allowZ:a.opts.allowZ});case"ZZ":return l({format:"short",allowZ:a.opts.allowZ});case"ZZZ":return l({format:"techie",allowZ:a.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:a.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:a.loc.locale});case"z":return e.zoneName;case"a":return g();case"d":return s?u({day:"numeric"},"day"):a.num(e.day);case"dd":return s?u({day:"2-digit"},"day"):a.num(e.day,2);case"c":return a.num(e.weekday);case"ccc":return p("short",!0);case"cccc":return p("long",!0);case"ccccc":return p("narrow",!0);case"E":return a.num(e.weekday);case"EEE":return p("short",!1);case"EEEE":return p("long",!1);case"EEEEE":return p("narrow",!1);case"L":return s?u({month:"numeric",day:"numeric"},"month"):a.num(e.month);case"LL":return s?u({month:"2-digit",day:"numeric"},"month"):a.num(e.month,2);case"LLL":return d("short",!0);case"LLLL":return d("long",!0);case"LLLLL":return d("narrow",!0);case"M":return s?u({month:"numeric"},"month"):a.num(e.month);case"MM":return s?u({month:"2-digit"},"month"):a.num(e.month,2);case"MMM":return d("short",!1);case"MMMM":return d("long",!1);case"MMMMM":return d("narrow",!1);case"y":return s?u({year:"numeric"},"year"):a.num(e.year);case"yy":return s?u({year:"2-digit"},"year"):a.num(e.year.toString().slice(-2),2);case"yyyy":return s?u({year:"numeric"},"year"):a.num(e.year,4);case"yyyyyy":return s?u({year:"numeric"},"year"):a.num(e.year,6);case"G":return C("short");case"GG":return C("long");case"GGGGG":return C("narrow");case"kk":return a.num(e.weekYear.toString().slice(-2),2);case"kkkk":return a.num(e.weekYear,4);case"W":return a.num(e.weekNumber);case"WW":return a.num(e.weekNumber,2);case"o":return a.num(e.ordinal);case"ooo":return a.num(e.ordinal,3);case"q":return a.num(e.quarter);case"qq":return a.num(e.quarter,2);case"X":return a.num(Math.floor(e.ts/1e3));case"x":return a.num(e.ts);default:return b(L)}};return tr(t.parseFormat(n),P)},i.formatDurationFromString=function(e,n){var a=this,o=function(p){switch(p[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},s=function(p){return function(b){var C=o(b);return C?a.num(p.get(C),b.length):b}},u=t.parseFormat(n),l=u.reduce(function(d,p){var b=p.literal,C=p.val;return b?d:d.concat(C)},[]),g=e.shiftTo.apply(e,l.map(o).filter(function(d){return d}));return tr(u,s(g))},t}(),ye=function(){function t(r,e){this.reason=r,this.explanation=e}var i=t.prototype;return i.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),Ze=function(){function t(){}var i=t.prototype;return i.offsetName=function(e,n){throw new A},i.formatOffset=function(e,n){throw new A},i.offset=function(e){throw new A},i.equals=function(e){throw new A},D(t,[{key:"type",get:function(){throw new A}},{key:"name",get:function(){throw new A}},{key:"universal",get:function(){throw new A}},{key:"isValid",get:function(){throw new A}}]),t}(),bt=null,rr=function(t){T(i,t);function i(){return t.apply(this,arguments)||this}var r=i.prototype;return r.offsetName=function(n,a){var o=a.format,s=a.locale;return $t(n,o,s)},r.formatOffset=function(n,a){return ft(this.offset(n),a)},r.offset=function(n){return-new Date(n).getTimezoneOffset()},r.equals=function(n){return n.type==="local"},D(i,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return le()?new Intl.DateTimeFormat().resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return bt===null&&(bt=new i),bt}}]),i}(Ze),un=RegExp("^"+qt.source+"$"),dt={};function ln(t){return dt[t]||(dt[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),dt[t]}var fn={year:0,month:1,day:2,hour:3,minute:4,second:5};function cn(t,i){var r=t.format(i).replace(/\u200E/g,""),e=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r),n=e[1],a=e[2],o=e[3],s=e[4],u=e[5],l=e[6];return[o,n,a,s,u,l]}function dn(t,i){for(var r=t.formatToParts(i),e=[],n=0;n=0?L:1e3+L,(P-z)/(60*1e3)},r.equals=function(n){return n.type==="iana"&&n.name===this.name},D(i,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),i}(Ze),Et=null,fe=function(t){T(i,t),i.instance=function(n){return n===0?i.utcInstance:new i(n)},i.parseSpecifier=function(n){if(n){var a=n.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(a)return new i(ut(a[1],a[2]))}return null},D(i,null,[{key:"utcInstance",get:function(){return Et===null&&(Et=new i(0)),Et}}]);function i(e){var n;return n=t.call(this)||this,n.fixed=e,n}var r=i.prototype;return r.offsetName=function(){return this.name},r.formatOffset=function(n,a){return ft(this.fixed,a)},r.offset=function(){return this.fixed},r.equals=function(n){return n.type==="fixed"&&n.fixed===this.fixed},D(i,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return this.fixed===0?"UTC":"UTC"+ft(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),i}(Ze),_t=function(t){T(i,t);function i(e){var n;return n=t.call(this)||this,n.zoneName=e,n}var r=i.prototype;return r.offsetName=function(){return null},r.formatOffset=function(){return""},r.offset=function(){return NaN},r.equals=function(){return!1},D(i,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),i}(Ze);function Me(t,i){var r;if(R(t)||t===null)return i;if(t instanceof Ze)return t;if(at(t)){var e=t.toLowerCase();return e==="local"?i:e==="utc"||e==="gmt"?fe.utcInstance:(r=Oe.parseGMTOffset(t))!=null?fe.instance(r):Oe.isValidSpecifier(e)?Oe.create(t):fe.parseSpecifier(e)||new _t(t)}else return Te(t)?fe.instance(t):typeof t=="object"&&t.offset&&typeof t.offset=="number"?t:new _t(t)}var nr=function(){return Date.now()},Dt=null,ir=null,ar=null,or=null,sr=!1,K=function(){function t(){}return t.resetCaches=function(){te.resetCache(),Oe.resetCache()},D(t,null,[{key:"now",get:function(){return nr},set:function(r){nr=r}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(r){r?Dt=Me(r):Dt=null}},{key:"defaultZone",get:function(){return Dt||rr.instance}},{key:"defaultLocale",get:function(){return ir},set:function(r){ir=r}},{key:"defaultNumberingSystem",get:function(){return ar},set:function(r){ar=r}},{key:"defaultOutputCalendar",get:function(){return or},set:function(r){or=r}},{key:"throwOnInvalid",get:function(){return sr},set:function(r){sr=r}}]),t}(),Mt={};function It(t,i){i===void 0&&(i={});var r=JSON.stringify([t,i]),e=Mt[r];return e||(e=new Intl.DateTimeFormat(t,i),Mt[r]=e),e}var kt={};function hn(t,i){i===void 0&&(i={});var r=JSON.stringify([t,i]),e=kt[r];return e||(e=new Intl.NumberFormat(t,i),kt[r]=e),e}var Ct={};function mn(t,i){i===void 0&&(i={});var r=i,e=r.base,n=F(r,["base"]),a=JSON.stringify([t,n]),o=Ct[a];return o||(o=new Intl.RelativeTimeFormat(t,i),Ct[a]=o),o}var Ie=null;function vn(){if(Ie)return Ie;if(le()){var t=new Intl.DateTimeFormat().resolvedOptions().locale;return Ie=!t||t==="und"?"en-US":t,Ie}else return Ie="en-US",Ie}function yn(t){var i=t.indexOf("-u-");if(i===-1)return[t];var r,e=t.substring(0,i);try{r=It(t).resolvedOptions()}catch(s){r=It(e).resolvedOptions()}var n=r,a=n.numberingSystem,o=n.calendar;return[e,a,o]}function gn(t,i,r){return le()?((r||i)&&(t+="-u",r&&(t+="-ca-"+r),i&&(t+="-nu-"+i)),t):[]}function pn(t){for(var i=[],r=1;r<=12;r++){var e=X.utc(2016,r,1);i.push(t(e))}return i}function Sn(t){for(var i=[],r=1;r<=7;r++){var e=X.utc(2016,11,13+r);i.push(t(e))}return i}function mt(t,i,r,e,n){var a=t.listingMode(r);return a==="error"?null:a==="en"?e(i):n(i)}function On(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||le()&&new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}var Tn=function(){function t(r,e,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!e&&le()){var a={useGrouping:!1};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=hn(r,a)}}var i=t.prototype;return i.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{var a=this.floor?Math.floor(e):Ot(e,3);return Ve(a,this.padTo)}},t}(),wn=function(){function t(r,e,n){this.opts=n,this.hasIntl=le();var a;if(r.zone.universal&&this.hasIntl){var o=-1*(r.offset/60),s=o>=0?"Etc/GMT+"+o:"Etc/GMT"+o,u=Oe.isValidZone(s);r.offset!==0&&u?(a=s,this.dt=r):(a="UTC",n.timeZoneName?this.dt=r:this.dt=r.offset===0?r:X.fromMillis(r.ts+r.offset*60*1e3))}else r.zone.type==="local"?this.dt=r:(this.dt=r,a=r.zone.name);if(this.hasIntl){var l=Object.assign({},this.opts);a&&(l.timeZone=a),this.dtf=It(e,l)}}var i=t.prototype;return i.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=on(this.opts),n=te.create("en-US");return Se.create(n).formatDateTimeFromString(this.dt,e)},i.formatToParts=function(){return this.hasIntl&&we()?this.dtf.formatToParts(this.dt.toJSDate()):[]},i.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},t}(),bn=function(){function t(r,e,n){this.opts=Object.assign({style:"long"},n),!e&&Ut()&&(this.rtf=mn(r,n))}var i=t.prototype;return i.format=function(e,n){return this.rtf?this.rtf.format(e,n):an(n,e,this.opts.numeric,this.opts.style!=="long")},i.formatToParts=function(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]},t}(),te=function(){t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,a,o){o===void 0&&(o=!1);var s=e||K.defaultLocale,u=s||(o?"en-US":vn()),l=n||K.defaultNumberingSystem,g=a||K.defaultOutputCalendar;return new t(u,l,g,s)},t.resetCache=function(){Ie=null,Mt={},kt={},Ct={}},t.fromObject=function(e){var n=e===void 0?{}:e,a=n.locale,o=n.numberingSystem,s=n.outputCalendar;return t.create(a,o,s)};function t(r,e,n,a){var o=yn(r),s=o[0],u=o[1],l=o[2];this.locale=s,this.numberingSystem=e||u||null,this.outputCalendar=n||l||null,this.intl=gn(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=a,this.fastNumbersCached=null}var i=t.prototype;return i.listingMode=function(e){e===void 0&&(e=!0);var n=le(),a=n&&we(),o=this.isEnglish(),s=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return!a&&!(o&&s)&&!e?"error":!a||o&&s?"en":"intl"},i.clone=function(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1)},i.redefaultToEN=function(e){return e===void 0&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},i.redefaultToSystem=function(e){return e===void 0&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},i.months=function(e,n,a){var o=this;return n===void 0&&(n=!1),a===void 0&&(a=!0),mt(this,e,a,Gt,function(){var s=n?{month:e,day:"numeric"}:{month:e},u=n?"format":"standalone";return o.monthsCache[u][e]||(o.monthsCache[u][e]=pn(function(l){return o.extract(l,s,"month")})),o.monthsCache[u][e]})},i.weekdays=function(e,n,a){var o=this;return n===void 0&&(n=!1),a===void 0&&(a=!0),mt(this,e,a,Kt,function(){var s=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},u=n?"format":"standalone";return o.weekdaysCache[u][e]||(o.weekdaysCache[u][e]=Sn(function(l){return o.extract(l,s,"weekday")})),o.weekdaysCache[u][e]})},i.meridiems=function(e){var n=this;return e===void 0&&(e=!0),mt(this,void 0,e,function(){return Xt},function(){if(!n.meridiemCache){var a={hour:"numeric",hour12:!0};n.meridiemCache=[X.utc(2016,11,13,9),X.utc(2016,11,13,19)].map(function(o){return n.extract(o,a,"dayperiod")})}return n.meridiemCache})},i.eras=function(e,n){var a=this;return n===void 0&&(n=!0),mt(this,e,n,er,function(){var o={era:e};return a.eraCache[e]||(a.eraCache[e]=[X.utc(-40,1,1),X.utc(2017,1,1)].map(function(s){return a.extract(s,o,"era")})),a.eraCache[e]})},i.extract=function(e,n,a){var o=this.dtFormatter(e,n),s=o.formatToParts(),u=s.find(function(l){return l.type.toLowerCase()===a});return u?u.value:null},i.numberFormatter=function(e){return e===void 0&&(e={}),new Tn(this.intl,e.forceSimple||this.fastNumbers,e)},i.dtFormatter=function(e,n){return n===void 0&&(n={}),new wn(e,this.intl,n)},i.relFormatter=function(e){return e===void 0&&(e={}),new bn(this.intl,this.isEnglish(),e)},i.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||le()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},i.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},D(t,[{key:"fastNumbers",get:function(){return this.fastNumbersCached==null&&(this.fastNumbersCached=On(this)),this.fastNumbersCached}}]),t}();function Pe(){for(var t=arguments.length,i=new Array(t),r=0;r1?i-1:0),e=1;e3?Jt.indexOf(t)+1:Qt.indexOf(t)+1),s}var An=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Vn(t){var i=t[1],r=t[2],e=t[3],n=t[4],a=t[5],o=t[6],s=t[7],u=t[8],l=t[9],g=t[10],d=t[11],p=Ft(i,n,e,r,a,o,s),b;return u?b=Ln[u]:l?b=0:b=ut(g,d),[p,new fe(b)]}function Zn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,zn=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Wn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function mr(t){var i=t[1],r=t[2],e=t[3],n=t[4],a=t[5],o=t[6],s=t[7],u=Ft(i,n,e,r,a,o,s);return[u,fe.utcInstance]}function Rn(t){var i=t[1],r=t[2],e=t[3],n=t[4],a=t[5],o=t[6],s=t[7],u=Ft(i,s,r,e,n,a,o);return[u,fe.utcInstance]}var Un=Pe(En,xt),jn=Pe(_n,xt),Hn=Pe(Dn,xt),$n=Pe(fr),Yn=ke(dr,Ce,Re),qn=ke(Mn,Ce,Re),Bn=ke(In,Ce,Re),Gn=ke(Ce,Re);function Jn(t){return ze(t,[Un,Yn],[jn,qn],[Hn,Bn],[$n,Gn])}function Qn(t){return ze(Zn(t),[An,Vn])}function Kn(t){return ze(t,[Pn,mr],[zn,mr],[Wn,Rn])}function Xn(t){return ze(t,[xn,Fn])}var ei=ke(Ce);function ti(t){return ze(t,[Nn,ei])}var ri=Pe(kn,Cn),ni=Pe(cr),ii=ke(dr,Ce,Re,hr),ai=ke(Ce,Re,hr);function oi(t){return ze(t,[ri,ii],[ni,ai])}var si="Invalid Duration",vr={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},ui=Object.assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},vr),he=146097/400,Ue=146097/4800,li=Object.assign({years:{quarters:4,months:12,weeks:he/7,days:he,hours:he*24,minutes:he*24*60,seconds:he*24*60*60,milliseconds:he*24*60*60*1e3},quarters:{months:3,weeks:he/28,days:he/4,hours:he*24/4,minutes:he*24*60/4,seconds:he*24*60*60/4,milliseconds:he*24*60*60*1e3/4},months:{weeks:Ue/7,days:Ue,hours:Ue*24,minutes:Ue*24*60,seconds:Ue*24*60*60,milliseconds:Ue*24*60*60*1e3}},vr),je=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],fi=je.slice(0).reverse();function Ne(t,i,r){r===void 0&&(r=!1);var e={values:r?i.values:Object.assign({},t.values,i.values||{}),loc:t.loc.clone(i.loc),conversionAccuracy:i.conversionAccuracy||t.conversionAccuracy};return new ie(e)}function ci(t){return t<0?Math.floor(t):Math.ceil(t)}function yr(t,i,r,e,n){var a=t[n][r],o=i[r]/a,s=Math.sign(o)===Math.sign(e[n]),u=!s&&e[n]!==0&&Math.abs(o)<=1?ci(o):Math.trunc(o);e[n]+=u,i[r]-=u*a}function di(t,i){fi.reduce(function(r,e){return R(i[e])?r:(r&&yr(t,i,r,i,e),e)},null)}var ie=function(){function t(r){var e=r.conversionAccuracy==="longterm"||!1;this.values=r.values,this.loc=r.loc||te.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=r.invalid||null,this.matrix=e?li:ui,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject(Object.assign({milliseconds:e},n))},t.fromObject=function(e){if(e==null||typeof e!="object")throw new k("Duration.fromObject: argument expected to be an object, got "+(e===null?"null":typeof e));return new t({values:lt(e,t.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:te.fromObject(e),conversionAccuracy:e.conversionAccuracy})},t.fromISO=function(e,n){var a=Xn(e),o=a[0];if(o){var s=Object.assign(o,n);return t.fromObject(s)}else return t.invalid("unparsable",'the input "'+e+`" can't be parsed as ISO 8601`)},t.fromISOTime=function(e,n){var a=ti(e),o=a[0];if(o){var s=Object.assign(o,n);return t.fromObject(s)}else return t.invalid("unparsable",'the input "'+e+`" can't be parsed as ISO 8601`)},t.invalid=function(e,n){if(n===void 0&&(n=null),!e)throw new k("need to specify a reason the Duration is invalid");var a=e instanceof ye?e:new ye(e,n);if(K.throwOnInvalid)throw new G(a);return new t({invalid:a})},t.normalizeUnit=function(e){var n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new H(e);return n},t.isDuration=function(e){return e&&e.isLuxonDuration||!1};var i=t.prototype;return i.toFormat=function(e,n){n===void 0&&(n={});var a=Object.assign({},n,{floor:n.round!==!1&&n.floor!==!1});return this.isValid?Se.create(this.loc,a).formatDurationFromString(this,e):si},i.toObject=function(e){if(e===void 0&&(e={}),!this.isValid)return{};var n=Object.assign({},this.values);return e.includeConfig&&(n.conversionAccuracy=this.conversionAccuracy,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n},i.toISO=function(){if(!this.isValid)return null;var e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ot(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e},i.toISOTime=function(e){if(e===void 0&&(e={}),!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var a=this.shiftTo("hours","minutes","seconds","milliseconds"),o=e.format==="basic"?"hhmm":"hh:mm";(!e.suppressSeconds||a.seconds!==0||a.milliseconds!==0)&&(o+=e.format==="basic"?"ss":":ss",(!e.suppressMilliseconds||a.milliseconds!==0)&&(o+=".SSS"));var s=a.toFormat(o);return e.includePrefix&&(s="T"+s),s},i.toJSON=function(){return this.toISO()},i.toString=function(){return this.toISO()},i.toMillis=function(){return this.as("milliseconds")},i.valueOf=function(){return this.toMillis()},i.plus=function(e){if(!this.isValid)return this;for(var n=xe(e),a={},o=M(je),s;!(s=o()).done;){var u=s.value;(Ae(n.values,u)||Ae(this.values,u))&&(a[u]=n.get(u)+this.get(u))}return Ne(this,{values:a},!0)},i.minus=function(e){if(!this.isValid)return this;var n=xe(e);return this.plus(n.negate())},i.mapUnits=function(e){if(!this.isValid)return this;for(var n={},a=0,o=Object.keys(this.values);a=0){l=p;var b=0;for(var C in s)b+=this.matrix[C][p]*s[C],s[C]=0;Te(u[p])&&(b+=u[p]);var P=Math.trunc(b);o[p]=P,s[p]=b-P;for(var z in u)je.indexOf(z)>je.indexOf(p)&&yr(this.matrix,u,z,o,p)}else Te(u[p])&&(s[p]=u[p])}for(var L in s)s[L]!==0&&(o[l]+=L===l?s[L]:s[L]/this.matrix[l][L]);return Ne(this,{values:o},!0).normalize()},i.negate=function(){if(!this.isValid)return this;for(var e={},n=0,a=Object.keys(this.values);ne:!1},i.isBefore=function(e){return this.isValid?this.e<=e:!1},i.contains=function(e){return this.isValid?this.s<=e&&this.e>e:!1},i.set=function(e){var n=e===void 0?{}:e,a=n.start,o=n.end;return this.isValid?t.fromDateTimes(a||this.s,o||this.e):this},i.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,a=new Array(n),o=0;o+this.e?this.e:d;u.push(t.fromDateTimes(l,p)),l=p,g+=1}return u},i.splitBy=function(e){var n=xe(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];for(var a=this.s,o=1,s,u=[];a+this.e?this.e:l,u.push(t.fromDateTimes(a,s)),a=s,o+=1}return u},i.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},i.overlaps=function(e){return this.e>e.s&&this.s=e.e:!1},i.equals=function(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)},i.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,a=this.e=a?null:t.fromDateTimes(n,a)},i.union=function(e){if(!this.isValid)return this;var n=this.se.e?this.e:e.e;return t.fromDateTimes(n,a)},t.merge=function(e){var n=e.sort(function(s,u){return s.s-u.s}).reduce(function(s,u){var l=s[0],g=s[1];return g?g.overlaps(u)||g.abutsStart(u)?[l,g.union(u)]:[l.concat([g]),u]:[l,u]},[[],null]),a=n[0],o=n[1];return o&&a.push(o),a},t.xor=function(e){for(var n,a=null,o=0,s=[],u=e.map(function(C){return[{time:C.s,type:"s"},{time:C.e,type:"e"}]}),l=(n=Array.prototype).concat.apply(n,u),g=l.sort(function(C,P){return C.time-P.time}),d=M(g),p;!(p=d()).done;){var b=p.value;o+=b.type==="s"?1:-1,o===1?a=b.time:(a&&+a!=+b.time&&s.push(t.fromDateTimes(a,b.time)),a=null)}return t.merge(s)},i.difference=function(){for(var e=this,n=arguments.length,a=new Array(n),o=0;o=0){var p;a=g;var b=d(t,i);if(o=t.plus((p={},p[g]=b,p)),o>i){var C;t=t.plus((C={},C[g]=b-1,C)),b-=1}else t=o;n[g]=b}}return[t,n,o,a]}function vi(t,i,r,e){var n=mi(t,i,r),a=n[0],o=n[1],s=n[2],u=n[3],l=i-a,g=r.filter(function(C){return["hours","minutes","seconds","milliseconds"].indexOf(C)>=0});if(g.length===0){if(s0){var b;return(b=ie.fromMillis(l,e)).shiftTo.apply(b,g).plus(p)}else return p}var Lt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},pr={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},yi=Lt.hanidec.replace(/[\[|\]]/g,"").split("");function gi(t){var i=parseInt(t,10);if(isNaN(i)){i="";for(var r=0;r=o&&e<=s&&(i+=e-o)}}return parseInt(i,10)}else return i}function ge(t,i){var r=t.numberingSystem;return i===void 0&&(i=""),new RegExp(""+Lt[r||"latn"]+i)}var pi="missing Intl.DateTimeFormat.formatToParts support";function B(t,i){return i===void 0&&(i=function(e){return e}),{regex:t,deser:function(e){var n=e[0];return i(gi(n))}}}var Si=String.fromCharCode(160),Sr="( |"+Si+")",Or=new RegExp(Sr,"g");function Oi(t){return t.replace(/\./g,"\\.?").replace(Or,Sr)}function Tr(t){return t.replace(/\./g,"").replace(Or," ").toLowerCase()}function pe(t,i){return t===null?null:{regex:RegExp(t.map(Oi).join("|")),deser:function(e){var n=e[0];return t.findIndex(function(a){return Tr(n)===Tr(a)})+i}}}function wr(t,i){return{regex:t,deser:function(e){var n=e[1],a=e[2];return ut(n,a)},groups:i}}function br(t){return{regex:t,deser:function(r){var e=r[0];return e}}}function Ti(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function wi(t,i){var r=ge(i),e=ge(i,"{2}"),n=ge(i,"{3}"),a=ge(i,"{4}"),o=ge(i,"{6}"),s=ge(i,"{1,2}"),u=ge(i,"{1,3}"),l=ge(i,"{1,6}"),g=ge(i,"{1,9}"),d=ge(i,"{2,4}"),p=ge(i,"{4,6}"),b=function(L){return{regex:RegExp(Ti(L.val)),deser:function(Wt){var gt=Wt[0];return gt},literal:!0}},C=function(L){if(t.literal)return b(L);switch(L.val){case"G":return pe(i.eras("short",!1),0);case"GG":return pe(i.eras("long",!1),0);case"y":return B(l);case"yy":return B(d,wt);case"yyyy":return B(a);case"yyyyy":return B(p);case"yyyyyy":return B(o);case"M":return B(s);case"MM":return B(e);case"MMM":return pe(i.months("short",!0,!1),1);case"MMMM":return pe(i.months("long",!0,!1),1);case"L":return B(s);case"LL":return B(e);case"LLL":return pe(i.months("short",!1,!1),1);case"LLLL":return pe(i.months("long",!1,!1),1);case"d":return B(s);case"dd":return B(e);case"o":return B(u);case"ooo":return B(n);case"HH":return B(e);case"H":return B(s);case"hh":return B(e);case"h":return B(s);case"mm":return B(e);case"m":return B(s);case"q":return B(s);case"qq":return B(e);case"s":return B(s);case"ss":return B(e);case"S":return B(u);case"SSS":return B(n);case"u":return br(g);case"a":return pe(i.meridiems(),0);case"kkkk":return B(a);case"kk":return B(d,wt);case"W":return B(s);case"WW":return B(e);case"E":case"c":return B(r);case"EEE":return pe(i.weekdays("short",!1,!1),1);case"EEEE":return pe(i.weekdays("long",!1,!1),1);case"ccc":return pe(i.weekdays("short",!0,!1),1);case"cccc":return pe(i.weekdays("long",!0,!1),1);case"Z":case"ZZ":return wr(new RegExp("([+-]"+s.source+")(?::("+e.source+"))?"),2);case"ZZZ":return wr(new RegExp("([+-]"+s.source+")("+e.source+")?"),2);case"z":return br(/[a-z_+-/]{1,256}?/i);default:return b(L)}},P=C(t)||{invalidReason:pi};return P.token=t,P}var bi={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};function Ei(t,i,r){var e=t.type,n=t.value;if(e==="literal")return{literal:!0,val:n};var a=r[e],o=bi[e];if(typeof o=="object"&&(o=o[a]),o)return{literal:!1,val:o}}function _i(t){var i=t.map(function(r){return r.regex}).reduce(function(r,e){return r+"("+e.source+")"},"");return["^"+i+"$",t]}function Di(t,i,r){var e=t.match(i);if(e){var n={},a=1;for(var o in r)if(Ae(r,o)){var s=r[o],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(n[s.token.val[0]]=s.deser(e.slice(a,a+u))),a+=u}return[e,n]}else return[e,{}]}function Mi(t){var i=function(a){switch(a){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r;R(t.Z)?R(t.z)?r=null:r=Oe.create(t.z):r=new fe(t.Z),R(t.q)||(t.M=(t.q-1)*3+1),R(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),R(t.u)||(t.S=St(t.u));var e=Object.keys(t).reduce(function(n,a){var o=i(a);return o&&(n[o]=t[a]),n},{});return[e,r]}var At=null;function Ii(){return At||(At=X.fromMillis(1555555555555)),At}function ki(t,i){if(t.literal)return t;var r=Se.macroTokenToFormatOpts(t.val);if(!r)return t;var e=Se.create(i,r),n=e.formatDateTimeParts(Ii()),a=n.map(function(o){return Ei(o,i,r)});return a.includes(void 0)?t:a}function Ci(t,i){var r;return(r=Array.prototype).concat.apply(r,t.map(function(e){return ki(e,i)}))}function Er(t,i,r){var e=Ci(Se.parseFormat(r),t),n=e.map(function(z){return wi(z,t)}),a=n.find(function(z){return z.invalidReason});if(a)return{input:i,tokens:e,invalidReason:a.invalidReason};var o=_i(n),s=o[0],u=o[1],l=RegExp(s,"i"),g=Di(i,l,u),d=g[0],p=g[1],b=p?Mi(p):[null,null],C=b[0],P=b[1];if(Ae(p,"a")&&Ae(p,"H"))throw new W("Can't include meridiem when specifying 24-hour format");return{input:i,tokens:e,regex:l,rawMatches:d,matches:p,result:C,zone:P}}function Ni(t,i,r){var e=Er(t,i,r),n=e.result,a=e.zone,o=e.invalidReason;return[n,a,o]}var _r=[0,31,59,90,120,151,181,212,243,273,304,334],Dr=[0,31,60,91,121,152,182,213,244,274,305,335];function me(t,i){return new ye("unit out of range","you specified "+i+" (of type "+typeof i+") as a "+t+", which is invalid")}function Mr(t,i,r){var e=new Date(Date.UTC(t,i-1,r)).getUTCDay();return e===0?7:e}function Ir(t,i,r){return r+(Ge(t)?Dr:_r)[i-1]}function kr(t,i){var r=Ge(t)?Dr:_r,e=r.findIndex(function(a){return ast(i)?(s=i+1,o=1):s=i,Object.assign({weekYear:s,weekNumber:o,weekday:a},ct(t))}function Cr(t){var i=t.weekYear,r=t.weekNumber,e=t.weekday,n=Mr(i,1,4),a=Je(i),o=r*7+e-n-3,s;o<1?(s=i-1,o+=Je(s)):o>a?(s=i+1,o-=Je(i)):s=i;var u=kr(s,o),l=u.month,g=u.day;return Object.assign({year:s,month:l,day:g},ct(t))}function Zt(t){var i=t.year,r=t.month,e=t.day,n=Ir(i,r,e);return Object.assign({year:i,ordinal:n},ct(t))}function Nr(t){var i=t.year,r=t.ordinal,e=kr(i,r),n=e.month,a=e.day;return Object.assign({year:i,month:n,day:a},ct(t))}function xi(t){var i=Le(t.weekYear),r=be(t.weekNumber,1,st(t.weekYear)),e=be(t.weekday,1,7);return i?r?e?!1:me("weekday",t.weekday):me("week",t.week):me("weekYear",t.weekYear)}function Fi(t){var i=Le(t.year),r=be(t.ordinal,1,Je(t.year));return i?r?!1:me("ordinal",t.ordinal):me("year",t.year)}function xr(t){var i=Le(t.year),r=be(t.month,1,12),e=be(t.day,1,ot(t.year,t.month));return i?r?e?!1:me("day",t.day):me("month",t.month):me("year",t.year)}function Fr(t){var i=t.hour,r=t.minute,e=t.second,n=t.millisecond,a=be(i,0,23)||i===24&&r===0&&e===0&&n===0,o=be(r,0,59),s=be(e,0,59),u=be(n,0,999);return a?o?s?u?!1:me("millisecond",n):me("second",e):me("minute",r):me("hour",i)}var Pt="Invalid DateTime",Lr=864e13;function vt(t){return new ye("unsupported zone",'the zone "'+t.name+'" is not supported')}function zt(t){return t.weekData===null&&(t.weekData=Vt(t.c)),t.weekData}function et(t,i){var r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new X(Object.assign({},r,i,{old:r}))}function Ar(t,i,r){var e=t-i*60*1e3,n=r.offset(e);if(i===n)return[e,i];e-=(n-i)*60*1e3;var a=r.offset(e);return n===a?[e,n]:[t-Math.min(n,a)*60*1e3,Math.max(n,a)]}function Vr(t,i){t+=i*60*1e3;var r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function yt(t,i,r){return Ar(Tt(t),i,r)}function Zr(t,i){var r=t.o,e=t.c.year+Math.trunc(i.years),n=t.c.month+Math.trunc(i.months)+Math.trunc(i.quarters)*3,a=Object.assign({},t.c,{year:e,month:n,day:Math.min(t.c.day,ot(e,n))+Math.trunc(i.days)+Math.trunc(i.weeks)*7}),o=ie.fromObject({years:i.years-Math.trunc(i.years),quarters:i.quarters-Math.trunc(i.quarters),months:i.months-Math.trunc(i.months),weeks:i.weeks-Math.trunc(i.weeks),days:i.days-Math.trunc(i.days),hours:i.hours,minutes:i.minutes,seconds:i.seconds,milliseconds:i.milliseconds}).as("milliseconds"),s=Tt(a),u=Ar(s,r,t.zone),l=u[0],g=u[1];return o!==0&&(l+=o,g=t.zone.offset(l)),{ts:l,o:g}}function tt(t,i,r,e,n){var a=r.setZone,o=r.zone;if(t&&Object.keys(t).length!==0){var s=i||o,u=X.fromObject(Object.assign(t,r,{zone:s,setZone:void 0}));return a?u:u.setZone(o)}else return X.invalid(new ye("unparsable",'the input "'+n+`" can't be parsed as `+e))}function He(t,i,r){return r===void 0&&(r=!0),t.isValid?Se.create(te.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,i):null}function Pr(t,i){var r=i.suppressSeconds,e=r===void 0?!1:r,n=i.suppressMilliseconds,a=n===void 0?!1:n,o=i.includeOffset,s=i.includePrefix,u=s===void 0?!1:s,l=i.includeZone,g=l===void 0?!1:l,d=i.spaceZone,p=d===void 0?!1:d,b=i.format,C=b===void 0?"extended":b,P=C==="basic"?"HHmm":"HH:mm";(!e||t.second!==0||t.millisecond!==0)&&(P+=C==="basic"?"ss":":ss",(!a||t.millisecond!==0)&&(P+=".SSS")),(g||o)&&p&&(P+=" "),g?P+="z":o&&(P+=C==="basic"?"ZZZ":"ZZ");var z=He(t,P);return u&&(z="T"+z),z}var zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Li={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ai={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Wr=["year","month","day","hour","minute","second","millisecond"],Vi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Zi=["year","ordinal","hour","minute","second","millisecond"];function Rr(t){var i={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!i)throw new H(t);return i}function Ur(t,i){for(var r=M(Wr),e;!(e=r()).done;){var n=e.value;R(t[n])&&(t[n]=zr[n])}var a=xr(t)||Fr(t);if(a)return X.invalid(a);var o=K.now(),s=i.offset(o),u=yt(t,s,i),l=u[0],g=u[1];return new X({ts:l,zone:i,o:g})}function jr(t,i,r){var e=R(r.round)?!0:r.round,n=function(d,p){d=Ot(d,e||r.calendary?0:2,!0);var b=i.loc.clone(r).relFormatter(r);return b.format(d,p)},a=function(d){return r.calendary?i.hasSame(t,d)?0:i.startOf(d).diff(t.startOf(d),d).get(d):i.diff(t,d).get(d)};if(r.unit)return n(a(r.unit),r.unit);for(var o=M(r.units),s;!(s=o()).done;){var u=s.value,l=a(u);if(Math.abs(l)>=1)return n(l,u)}return n(t>i?-0:0,r.units[r.units.length-1])}var X=function(){function t(r){var e=r.zone||K.defaultZone,n=r.invalid||(Number.isNaN(r.ts)?new ye("invalid input"):null)||(e.isValid?null:vt(e));this.ts=R(r.ts)?K.now():r.ts;var a=null,o=null;if(!n){var s=r.old&&r.old.ts===this.ts&&r.old.zone.equals(e);if(s){var u=[r.old.c,r.old.o];a=u[0],o=u[1]}else{var l=e.offset(this.ts);a=Vr(this.ts,l),n=Number.isNaN(a.year)?new ye("invalid input"):null,a=n?null:a,o=n?null:l}}this._zone=e,this.loc=r.loc||te.create(),this.invalid=n,this.weekData=null,this.c=a,this.o=o,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(e,n,a,o,s,u,l){return R(e)?t.now():Ur({year:e,month:n,day:a,hour:o,minute:s,second:u,millisecond:l},K.defaultZone)},t.utc=function(e,n,a,o,s,u,l){return R(e)?new t({ts:K.now(),zone:fe.utcInstance}):Ur({year:e,month:n,day:a,hour:o,minute:s,second:u,millisecond:l},fe.utcInstance)},t.fromJSDate=function(e,n){n===void 0&&(n={});var a=pt(e)?e.valueOf():NaN;if(Number.isNaN(a))return t.invalid("invalid input");var o=Me(n.zone,K.defaultZone);return o.isValid?new t({ts:a,zone:o,loc:te.fromObject(n)}):t.invalid(vt(o))},t.fromMillis=function(e,n){if(n===void 0&&(n={}),Te(e))return e<-Lr||e>Lr?t.invalid("Timestamp out of range"):new t({ts:e,zone:Me(n.zone,K.defaultZone),loc:te.fromObject(n)});throw new k("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(n===void 0&&(n={}),Te(e))return new t({ts:e*1e3,zone:Me(n.zone,K.defaultZone),loc:te.fromObject(n)});throw new k("fromSeconds requires a numerical input")},t.fromObject=function(e){var n=Me(e.zone,K.defaultZone);if(!n.isValid)return t.invalid(vt(n));var a=K.now(),o=n.offset(a),s=lt(e,Rr,["zone","locale","outputCalendar","numberingSystem"]),u=!R(s.ordinal),l=!R(s.year),g=!R(s.month)||!R(s.day),d=l||g,p=s.weekYear||s.weekNumber,b=te.fromObject(e);if((d||u)&&p)throw new W("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(g&&u)throw new W("Can't mix ordinal dates with month/day");var C=p||s.weekday&&!d,P,z,L=Vr(a,o);C?(P=Vi,z=Li,L=Vt(L)):u?(P=Zi,z=Ai,L=Zt(L)):(P=Wr,z=zr);for(var se=!1,Wt=M(P),gt;!(gt=Wt()).done;){var nt=gt.value,zi=s[nt];R(zi)?se?s[nt]=z[nt]:s[nt]=L[nt]:se=!0}var Wi=C?xi(s):u?Fi(s):xr(s),Hr=Wi||Fr(s);if(Hr)return t.invalid(Hr);var Ri=C?Cr(s):u?Nr(s):s,$r=yt(Ri,o,n),Ui=$r[0],ji=$r[1],Rt=new t({ts:Ui,zone:n,o:ji,loc:b});return s.weekday&&d&&e.weekday!==Rt.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+s.weekday+" and a date of "+Rt.toISO()):Rt},t.fromISO=function(e,n){n===void 0&&(n={});var a=Jn(e),o=a[0],s=a[1];return tt(o,s,n,"ISO 8601",e)},t.fromRFC2822=function(e,n){n===void 0&&(n={});var a=Qn(e),o=a[0],s=a[1];return tt(o,s,n,"RFC 2822",e)},t.fromHTTP=function(e,n){n===void 0&&(n={});var a=Kn(e),o=a[0],s=a[1];return tt(o,s,n,"HTTP",n)},t.fromFormat=function(e,n,a){if(a===void 0&&(a={}),R(e)||R(n))throw new k("fromFormat requires an input string and a format");var o=a,s=o.locale,u=s===void 0?null:s,l=o.numberingSystem,g=l===void 0?null:l,d=te.fromOpts({locale:u,numberingSystem:g,defaultToEN:!0}),p=Ni(d,e,n),b=p[0],C=p[1],P=p[2];return P?t.invalid(P):tt(b,C,a,"format "+n,e)},t.fromString=function(e,n,a){return a===void 0&&(a={}),t.fromFormat(e,n,a)},t.fromSQL=function(e,n){n===void 0&&(n={});var a=oi(e),o=a[0],s=a[1];return tt(o,s,n,"SQL",e)},t.invalid=function(e,n){if(n===void 0&&(n=null),!e)throw new k("need to specify a reason the DateTime is invalid");var a=e instanceof ye?e:new ye(e,n);if(K.throwOnInvalid)throw new q(a);return new t({invalid:a})},t.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var i=t.prototype;return i.get=function(e){return this[e]},i.resolvedLocaleOpts=function(e){e===void 0&&(e={});var n=Se.create(this.loc.clone(e),e).resolvedOptions(this),a=n.locale,o=n.numberingSystem,s=n.calendar;return{locale:a,numberingSystem:o,outputCalendar:s}},i.toUTC=function(e,n){return e===void 0&&(e=0),n===void 0&&(n={}),this.setZone(fe.instance(e),n)},i.toLocal=function(){return this.setZone(K.defaultZone)},i.setZone=function(e,n){var a=n===void 0?{}:n,o=a.keepLocalTime,s=o===void 0?!1:o,u=a.keepCalendarTime,l=u===void 0?!1:u;if(e=Me(e,K.defaultZone),e.equals(this.zone))return this;if(e.isValid){var g=this.ts;if(s||l){var d=e.offset(this.ts),p=this.toObject(),b=yt(p,d,e);g=b[0]}return et(this,{ts:g,zone:e})}else return t.invalid(vt(e))},i.reconfigure=function(e){var n=e===void 0?{}:e,a=n.locale,o=n.numberingSystem,s=n.outputCalendar,u=this.loc.clone({locale:a,numberingSystem:o,outputCalendar:s});return et(this,{loc:u})},i.setLocale=function(e){return this.reconfigure({locale:e})},i.set=function(e){if(!this.isValid)return this;var n=lt(e,Rr,[]),a=!R(n.weekYear)||!R(n.weekNumber)||!R(n.weekday),o=!R(n.ordinal),s=!R(n.year),u=!R(n.month)||!R(n.day),l=s||u,g=n.weekYear||n.weekNumber;if((l||o)&&g)throw new W("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&o)throw new W("Can't mix ordinal dates with month/day");var d;a?d=Cr(Object.assign(Vt(this.c),n)):R(n.ordinal)?(d=Object.assign(this.toObject(),n),R(n.day)&&(d.day=Math.min(ot(d.year,d.month),d.day))):d=Nr(Object.assign(Zt(this.c),n));var p=yt(d,this.o,this.zone),b=p[0],C=p[1];return et(this,{ts:b,o:C})},i.plus=function(e){if(!this.isValid)return this;var n=xe(e);return et(this,Zr(this,n))},i.minus=function(e){if(!this.isValid)return this;var n=xe(e).negate();return et(this,Zr(this,n))},i.startOf=function(e){if(!this.isValid)return this;var n={},a=ie.normalizeUnit(e);switch(a){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(a==="weeks"&&(n.weekday=1),a==="quarters"){var o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)},i.endOf=function(e){var n;return this.isValid?this.plus((n={},n[e]=1,n)).startOf(e).minus(1):this},i.toFormat=function(e,n){return n===void 0&&(n={}),this.isValid?Se.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Pt},i.toLocaleString=function(e){return e===void 0&&(e=m),this.isValid?Se.create(this.loc.clone(e),e).formatDateTime(this):Pt},i.toLocaleParts=function(e){return e===void 0&&(e={}),this.isValid?Se.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},i.toISO=function(e){return e===void 0&&(e={}),this.isValid?this.toISODate(e)+"T"+this.toISOTime(e):null},i.toISODate=function(e){var n=e===void 0?{}:e,a=n.format,o=a===void 0?"extended":a,s=o==="basic"?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(s="+"+s),He(this,s)},i.toISOWeekDate=function(){return He(this,"kkkk-'W'WW-c")},i.toISOTime=function(e){var n=e===void 0?{}:e,a=n.suppressMilliseconds,o=a===void 0?!1:a,s=n.suppressSeconds,u=s===void 0?!1:s,l=n.includeOffset,g=l===void 0?!0:l,d=n.includePrefix,p=d===void 0?!1:d,b=n.format,C=b===void 0?"extended":b;return Pr(this,{suppressSeconds:u,suppressMilliseconds:o,includeOffset:g,includePrefix:p,format:C})},i.toRFC2822=function(){return He(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},i.toHTTP=function(){return He(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},i.toSQLDate=function(){return He(this,"yyyy-MM-dd")},i.toSQLTime=function(e){var n=e===void 0?{}:e,a=n.includeOffset,o=a===void 0?!0:a,s=n.includeZone,u=s===void 0?!1:s;return Pr(this,{includeOffset:o,includeZone:u,spaceZone:!0})},i.toSQL=function(e){return e===void 0&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},i.toString=function(){return this.isValid?this.toISO():Pt},i.valueOf=function(){return this.toMillis()},i.toMillis=function(){return this.isValid?this.ts:NaN},i.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},i.toJSON=function(){return this.toISO()},i.toBSON=function(){return this.toJSDate()},i.toObject=function(e){if(e===void 0&&(e={}),!this.isValid)return{};var n=Object.assign({},this.c);return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n},i.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},i.diff=function(e,n,a){if(n===void 0&&(n="milliseconds"),a===void 0&&(a={}),!this.isValid||!e.isValid)return ie.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");var o=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},a),s=Yr(n).map(ie.normalizeUnit),u=e.valueOf()>this.valueOf(),l=u?this:e,g=u?e:this,d=vi(l,g,s,o);return u?d.negate():d},i.diffNow=function(e,n){return e===void 0&&(e="milliseconds"),n===void 0&&(n={}),this.diff(t.now(),e,n)},i.until=function(e){return this.isValid?Ke.fromDateTimes(this,e):this},i.hasSame=function(e,n){if(!this.isValid)return!1;var a=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(n)<=a&&a<=o.endOf(n)},i.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},i.toRelative=function(e){if(e===void 0&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({zone:this.zone}),a=e.padding?thisthis.set({month:1}).offset||this.offset>this.set({month:5}).offset}},{key:"isInLeapYear",get:function(){return Ge(this.year)}},{key:"daysInMonth",get:function(){return ot(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?Je(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?st(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return m}},{key:"DATE_MED",get:function(){return j}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return $}},{key:"DATE_FULL",get:function(){return Z}},{key:"DATE_HUGE",get:function(){return U}},{key:"TIME_SIMPLE",get:function(){return J}},{key:"TIME_WITH_SECONDS",get:function(){return re}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return ee}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return ce}},{key:"TIME_24_SIMPLE",get:function(){return ue}},{key:"TIME_24_WITH_SECONDS",get:function(){return oe}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return ve}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return Ee}},{key:"DATETIME_SHORT",get:function(){return _e}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return $e}},{key:"DATETIME_MED",get:function(){return Fe}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return De}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return it}},{key:"DATETIME_FULL",get:function(){return de}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return Ye}},{key:"DATETIME_HUGE",get:function(){return qe}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return Be}}]),t}();function rt(t){if(X.isDateTime(t))return t;if(t&&t.valueOf&&Te(t.valueOf()))return X.fromJSDate(t);if(t&&typeof t=="object")return X.fromObject(t);throw new k("Unknown datetime argument: "+t+", of type "+typeof t)}var Pi="1.28.0";Y.DateTime=X,Y.Duration=ie,Y.FixedOffsetZone=fe,Y.IANAZone=Oe,Y.Info=Xe,Y.Interval=Ke,Y.InvalidZone=_t,Y.LocalZone=rr,Y.Settings=K,Y.VERSION=Pi,Y.Zone=Ze}}]); diff --git a/statics/6333.92cd62fa.async.js b/statics/6333.92cd62fa.async.js new file mode 100644 index 00000000..1bc76217 --- /dev/null +++ b/statics/6333.92cd62fa.async.js @@ -0,0 +1,56 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6333],{93696:function(nn,A){var t={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 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};A.Z=t},86333:function(nn,A,t){t.d(A,{G:function(){return H}});var T=t(1413),N=t(4942),R=t(87462),y=t(67294),f=t(93696),G=t(62914),U=function(c,s){return y.createElement(G.Z,(0,R.Z)({},c,{ref:s,icon:f.Z}))},B=y.forwardRef(U),h=B,S=t(28459),D=t(83062),X=t(93967),O=t.n(X),J=t(98082),L=function(c){return(0,N.Z)({},c.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:c.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:c.colorTextSecondary,fontWeight:"normal",fontSize:c.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function k(l){return(0,J.Xj)("LabelIconTip",function(c){var s=(0,T.Z)((0,T.Z)({},c),{},{componentCls:".".concat(l)});return[L(s)]})}var m=t(85893),H=y.memo(function(l){var c=l.label,s=l.tooltip,V=l.ellipsis,b=l.subTitle,P=(0,y.useContext)(S.ZP.ConfigContext),M=P.getPrefixCls,a=M("pro-core-label-tip"),I=k(a),en=I.wrapSSR,j=I.hashId;if(!s&&!b)return(0,m.jsx)(m.Fragment,{children:c});var z=typeof s=="string"||y.isValidElement(s)?{title:s}:s,on=(z==null?void 0:z.icon)||(0,m.jsx)(h,{});return en((0,m.jsxs)("div",{className:O()(a,j),onMouseDown:function(Z){return Z.stopPropagation()},onMouseLeave:function(Z){return Z.stopPropagation()},onMouseMove:function(Z){return Z.stopPropagation()},children:[(0,m.jsx)("div",{className:O()("".concat(a,"-title"),j,(0,N.Z)({},"".concat(a,"-title-ellipsis"),V)),children:c}),b&&(0,m.jsx)("div",{className:"".concat(a,"-subtitle ").concat(j).trim(),children:b}),s&&(0,m.jsx)(D.Z,(0,T.Z)((0,T.Z)({},z),{},{children:(0,m.jsx)("span",{className:"".concat(a,"-icon ").concat(j).trim(),children:on})}))]}))})},62914:function(nn,A,t){t.d(A,{Z:function(){return wn}});var T=t(87462),N=t(97685),R=t(4942),y=t(45987),f=t(67294),G=t(93967),U=t.n(G),B=t(86500),h=t(1350),S=2,D=.16,X=.05,O=.05,J=.15,L=5,k=4,m=[{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 H(n){var o=n.r,r=n.g,e=n.b,i=(0,B.py)(o,r,e);return{h:i.h*360,s:i.s,v:i.v}}function l(n){var o=n.r,r=n.g,e=n.b;return"#".concat((0,B.vq)(o,r,e,!1))}function c(n,o,r){var e=r/100,i={r:(o.r-n.r)*e+n.r,g:(o.g-n.g)*e+n.g,b:(o.b-n.b)*e+n.b};return i}function s(n,o,r){var e;return Math.round(n.h)>=60&&Math.round(n.h)<=240?e=r?Math.round(n.h)-S*o:Math.round(n.h)+S*o:e=r?Math.round(n.h)+S*o:Math.round(n.h)-S*o,e<0?e+=360:e>=360&&(e-=360),e}function V(n,o,r){if(n.h===0&&n.s===0)return n.s;var e;return r?e=n.s-D*o:o===k?e=n.s+D:e=n.s+X*o,e>1&&(e=1),r&&o===L&&e>.1&&(e=.1),e<.06&&(e=.06),Number(e.toFixed(2))}function b(n,o,r){var e;return r?e=n.v+O*o:e=n.v-J*o,e>1&&(e=1),Number(e.toFixed(2))}function P(n){for(var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],e=(0,h.uA)(n),i=L;i>0;i-=1){var u=H(e),C=l((0,h.uA)({h:s(u,i,!0),s:V(u,i,!0),v:b(u,i,!0)}));r.push(C)}r.push(l(e));for(var v=1;v<=k;v+=1){var x=H(e),w=l((0,h.uA)({h:s(x,v),s:V(x,v),v:b(x,v)}));r.push(w)}return o.theme==="dark"?m.map(function(g){var d=g.index,F=g.opacity,q=l(c((0,h.uA)(o.backgroundColor||"#141414"),(0,h.uA)(r[d]),F*100));return q}):r}var M={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},a={},I={};Object.keys(M).forEach(function(n){a[n]=P(M[n]),a[n].primary=a[n][5],I[n]=P(M[n],{theme:"dark",backgroundColor:"#141414"}),I[n].primary=I[n][5]});var en=a.red,j=a.volcano,z=a.gold,on=a.orange,K=a.yellow,Z=a.lime,zn=a.green,En=a.cyan,fn=a.blue,Fn=a.geekblue,Rn=a.purple,Bn=a.magenta,Dn=a.grey,On=a.grey,vn=(0,f.createContext)({}),rn=vn,p=t(1413),tn=t(71002),mn=t(44958),Cn=t(27571),gn=t(80334);function yn(n){return n.replace(/-(.)/g,function(o,r){return r.toUpperCase()})}function pn(n,o){(0,gn.ZP)(n,"[@ant-design/icons] ".concat(o))}function an(n){return(0,tn.Z)(n)==="object"&&typeof n.name=="string"&&typeof n.theme=="string"&&((0,tn.Z)(n.icon)==="object"||typeof n.icon=="function")}function ln(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(n).reduce(function(o,r){var e=n[r];switch(r){case"class":o.className=e,delete o.class;break;default:delete o[r],o[yn(r)]=e}return o},{})}function Q(n,o,r){return r?f.createElement(n.tag,(0,p.Z)((0,p.Z)({key:o},ln(n.attrs)),r),(n.children||[]).map(function(e,i){return Q(e,"".concat(o,"-").concat(n.tag,"-").concat(i))})):f.createElement(n.tag,(0,p.Z)({key:o},ln(n.attrs)),(n.children||[]).map(function(e,i){return Q(e,"".concat(o,"-").concat(n.tag,"-").concat(i))}))}function cn(n){return P(n)[0]}function sn(n){return n?Array.isArray(n)?n:[n]:[]}var Ln={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},hn=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,xn=function(o){var r=(0,f.useContext)(rn),e=r.csp,i=r.prefixCls,u=hn;i&&(u=u.replace(/anticon/g,i)),(0,f.useEffect)(function(){var C=o.current,v=(0,Cn.A)(C);(0,mn.hq)(u,"@ant-design-icons",{prepend:!0,csp:e,attachTo:v})},[])},Tn=["icon","className","onClick","style","primaryColor","secondaryColor"],E={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Sn(n){var o=n.primaryColor,r=n.secondaryColor;E.primaryColor=o,E.secondaryColor=r||cn(o),E.calculated=!!r}function bn(){return(0,p.Z)({},E)}var W=function(o){var r=o.icon,e=o.className,i=o.onClick,u=o.style,C=o.primaryColor,v=o.secondaryColor,x=(0,y.Z)(o,Tn),w=f.useRef(),g=E;if(C&&(g={primaryColor:C,secondaryColor:v||cn(C)}),xn(w),pn(an(r),"icon should be icon definiton, but got ".concat(r)),!an(r))return null;var d=r;return d&&typeof d.icon=="function"&&(d=(0,p.Z)((0,p.Z)({},d),{},{icon:d.icon(g.primaryColor,g.secondaryColor)})),Q(d.icon,"svg-".concat(d.name),(0,p.Z)((0,p.Z)({className:e,onClick:i,style:u,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},x),{},{ref:w}))};W.displayName="IconReact",W.getTwoToneColors=bn,W.setTwoToneColors=Sn;var Y=W;function un(n){var o=sn(n),r=(0,N.Z)(o,2),e=r[0],i=r[1];return Y.setTwoToneColors({primaryColor:e,secondaryColor:i})}function In(){var n=Y.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}var Zn=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];un(fn.primary);var $=f.forwardRef(function(n,o){var r=n.className,e=n.icon,i=n.spin,u=n.rotate,C=n.tabIndex,v=n.onClick,x=n.twoToneColor,w=(0,y.Z)(n,Zn),g=f.useContext(rn),d=g.prefixCls,F=d===void 0?"anticon":d,q=g.rootClassName,An=U()(q,F,(0,R.Z)((0,R.Z)({},"".concat(F,"-").concat(e.name),!!e.name),"".concat(F,"-spin"),!!i||e.name==="loading"),r),_=C;_===void 0&&v&&(_=-1);var Nn=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,Pn=sn(x),dn=(0,N.Z)(Pn,2),Mn=dn[0],jn=dn[1];return f.createElement("span",(0,T.Z)({role:"img","aria-label":e.name},w,{ref:o,tabIndex:_,onClick:v,className:An}),f.createElement(Y,{icon:e,primaryColor:Mn,secondaryColor:jn,style:Nn}))});$.displayName="AntdIcon",$.getTwoToneColor=In,$.setTwoToneColor=un;var wn=$}}]); diff --git a/statics/6365.d885839f.async.js b/statics/6365.d885839f.async.js deleted file mode 100644 index e5a6cea7..00000000 --- a/statics/6365.d885839f.async.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6365],{42003:function(Ie,re){var t={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"};re.Z=t},5717:function(Ie,re){var t={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"};re.Z=t},16591:function(Ie,re,t){t.d(re,{ZP:function(){return T},D7:function(){return m},rJ:function(){return U},nH:function(){return Z}});var ee=t(41322),ie=t(94184),s=t.n(ie),K=t(4942),te=t(71002),d=t(67294);function G(e){return!!(e.addonBefore||e.addonAfter)}function oe(e){return!!(e.prefix||e.suffix||e.allowClear)}function v(e,l,h,f){if(!!h){var g=l;if(l.type==="click"){var R=e.cloneNode(!0);g=Object.create(l,{target:{value:R},currentTarget:{value:R}}),R.value="",h(g);return}if(f!==void 0){g=Object.create(l,{target:{value:e},currentTarget:{value:e}}),e.value=f,h(g);return}h(g)}}function de(e,l){if(!!e){e.focus(l);var h=l||{},f=h.cursor;if(f){var g=e.value.length;switch(f){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(g,g);break;default:e.setSelectionRange(0,g)}}}}function xe(e){return typeof e=="undefined"||e===null?"":String(e)}var Oe=function(l){var h=l.inputElement,f=l.prefixCls,g=l.prefix,R=l.suffix,L=l.addonBefore,Q=l.addonAfter,B=l.className,V=l.style,H=l.affixWrapperClassName,le=l.groupClassName,o=l.wrapperClassName,z=l.disabled,i=l.readOnly,r=l.focused,n=l.triggerFocus,u=l.allowClear,c=l.value,a=l.handleReset,E=l.hidden,y=(0,d.useRef)(null),S=function($){var J;(J=y.current)!==null&&J!==void 0&&J.contains($.target)&&(n==null||n())},w=function(){var $;if(!u)return null;var J=!z&&!i&&c,X="".concat(f,"-clear-icon"),j=(0,te.Z)(u)==="object"&&u!==null&&u!==void 0&&u.clearIcon?u.clearIcon:"\u2716";return d.createElement("span",{onClick:a,onMouseDown:function(se){return se.preventDefault()},className:s()(X,($={},(0,K.Z)($,"".concat(X,"-hidden"),!J),(0,K.Z)($,"".concat(X,"-has-suffix"),!!R),$)),role:"button",tabIndex:-1},j)},I=(0,d.cloneElement)(h,{value:c,hidden:E});if(oe(l)){var M,x="".concat(f,"-affix-wrapper"),F=s()(x,(M={},(0,K.Z)(M,"".concat(x,"-disabled"),z),(0,K.Z)(M,"".concat(x,"-focused"),r),(0,K.Z)(M,"".concat(x,"-readonly"),i),(0,K.Z)(M,"".concat(x,"-input-with-clear-btn"),R&&u&&c),M),!G(l)&&B,H),N=(R||u)&&d.createElement("span",{className:"".concat(f,"-suffix")},w(),R);I=d.createElement("span",{className:F,style:V,hidden:!G(l)&&E,onClick:S,ref:y},g&&d.createElement("span",{className:"".concat(f,"-prefix")},g),(0,d.cloneElement)(h,{style:null,value:c,hidden:null}),N)}if(G(l)){var Y="".concat(f,"-group"),W="".concat(Y,"-addon"),ue=s()("".concat(f,"-wrapper"),Y,o),C=s()("".concat(f,"-group-wrapper"),B,le);return d.createElement("span",{className:C,style:V,hidden:E},d.createElement("span",{className:ue},L&&d.createElement("span",{className:W},L),(0,d.cloneElement)(I,{style:null,hidden:null}),Q&&d.createElement("span",{className:W},Q)))}return I},ve=Oe,Ne=t(74902),Ze=t(87462),Ce=t(97685),pe=t(45987),Pe=t(98423),Te=t(21770),we=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],ye=(0,d.forwardRef)(function(e,l){var h=e.autoComplete,f=e.onChange,g=e.onFocus,R=e.onBlur,L=e.onPressEnter,Q=e.onKeyDown,B=e.prefixCls,V=B===void 0?"rc-input":B,H=e.disabled,le=e.htmlSize,o=e.className,z=e.maxLength,i=e.suffix,r=e.showCount,n=e.type,u=n===void 0?"text":n,c=e.inputClassName,a=(0,pe.Z)(e,we),E=(0,Te.Z)(e.defaultValue,{value:e.value}),y=(0,Ce.Z)(E,2),S=y[0],w=y[1],I=(0,d.useState)(!1),M=(0,Ce.Z)(I,2),x=M[0],F=M[1],N=(0,d.useRef)(null),Y=function(b){N.current&&de(N.current,b)};(0,d.useImperativeHandle)(l,function(){return{focus:Y,blur:function(){var b;(b=N.current)===null||b===void 0||b.blur()},setSelectionRange:function(b,se,q){var D;(D=N.current)===null||D===void 0||D.setSelectionRange(b,se,q)},select:function(){var b;(b=N.current)===null||b===void 0||b.select()},input:N.current}}),(0,d.useEffect)(function(){F(function(j){return j&&H?!1:j})},[H]);var W=function(b){e.value===void 0&&w(b.target.value),N.current&&v(N.current,b,f)},ue=function(b){L&&b.key==="Enter"&&L(b),Q==null||Q(b)},C=function(b){F(!0),g==null||g(b)},P=function(b){F(!1),R==null||R(b)},$=function(b){w(""),Y(),N.current&&v(N.current,b,f)},J=function(){var b=(0,Pe.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]);return d.createElement("input",(0,Ze.Z)({autoComplete:h},b,{onChange:W,onFocus:C,onBlur:P,onKeyDown:ue,className:s()(V,(0,K.Z)({},"".concat(V,"-disabled"),H),c,!G(e)&&!oe(e)&&o),ref:N,size:le,type:u}))},X=function(){var b=Number(z)>0;if(i||r){var se=xe(S),q=(0,Ne.Z)(se).length,D=(0,te.Z)(r)==="object"?r.formatter({value:se,count:q,maxLength:z}):"".concat(q).concat(b?" / ".concat(z):"");return d.createElement(d.Fragment,null,!!r&&d.createElement("span",{className:s()("".concat(V,"-show-count-suffix"),(0,K.Z)({},"".concat(V,"-show-count-has-suffix"),!!i))},D),i)}return null};return d.createElement(ve,(0,Ze.Z)({},a,{prefixCls:V,className:o,inputElement:J(),handleReset:$,value:xe(S),focused:x,triggerFocus:Y,suffix:X(),disabled:H}))}),k=ye,$e=k,Me=t(42550),je=t(53124),be=t(98866),Se=t(97647),fe=t(65223),Ee=t(4173),ze=t(9708),De=t(72922);function Be(e){return!!(e.prefix||e.suffix||e.allowClear)}var me=t(47673),Fe=function(e,l){var h={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&l.indexOf(f)<0&&(h[f]=e[f]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(e);g{const{prefixCls:h,bordered:f=!0,status:g,size:R,disabled:L,onBlur:Q,onFocus:B,suffix:V,allowClear:H,addonAfter:le,addonBefore:o,className:z,onChange:i}=e,r=Fe(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),{getPrefixCls:n,direction:u,input:c}=d.useContext(je.E_),a=n("input",h),E=(0,d.useRef)(null),[y,S]=(0,me.ZP)(a),{compactSize:w,compactItemClassnames:I}=(0,Ee.ri)(a,u),M=d.useContext(Se.Z),x=w||R||M,F=d.useContext(be.Z),N=L!=null?L:F,{status:Y,hasFeedback:W,feedbackIcon:ue}=(0,d.useContext)(fe.aM),C=(0,ze.F)(Y,g),P=Be(e)||!!W,$=(0,d.useRef)(P);(0,d.useEffect)(()=>{var D;P&&$.current,$.current=P},[P]);const J=(0,De.Z)(E,!0),X=D=>{J(),Q==null||Q(D)},j=D=>{J(),B==null||B(D)},b=D=>{J(),i==null||i(D)},se=(W||V)&&d.createElement(d.Fragment,null,V,W&&ue);let q;return typeof H=="object"&&(H==null?void 0:H.clearIcon)?q=H:H&&(q={clearIcon:d.createElement(ee.Z,null)}),y(d.createElement($e,Object.assign({ref:(0,Me.sQ)(l,E),prefixCls:a,autoComplete:c==null?void 0:c.autoComplete},r,{disabled:N,onBlur:X,onFocus:j,suffix:se,allowClear:q,className:s()(z,I),onChange:b,addonAfter:le&&d.createElement(Ee.BR,null,d.createElement(fe.Ux,{override:!0,status:!0},le)),addonBefore:o&&d.createElement(Ee.BR,null,d.createElement(fe.Ux,{override:!0,status:!0},o)),inputClassName:s()({[`${a}-sm`]:x==="small",[`${a}-lg`]:x==="large",[`${a}-rtl`]:u==="rtl",[`${a}-borderless`]:!f},!P&&(0,ze.Z)(a,C),S),affixWrapperClassName:s()({[`${a}-affix-wrapper-sm`]:x==="small",[`${a}-affix-wrapper-lg`]:x==="large",[`${a}-affix-wrapper-rtl`]:u==="rtl",[`${a}-affix-wrapper-borderless`]:!f},(0,ze.Z)(`${a}-affix-wrapper`,C,W),S),wrapperClassName:s()({[`${a}-group-rtl`]:u==="rtl"},S),groupClassName:s()({[`${a}-group-wrapper-sm`]:x==="small",[`${a}-group-wrapper-lg`]:x==="large",[`${a}-group-wrapper-rtl`]:u==="rtl"},(0,ze.Z)(`${a}-group-wrapper`,C,W),S)})))})},56994:function(Ie,re,t){t.d(re,{Z:function(){return le}});var ee=t(74902),ie=t(94184),s=t.n(ie),K=t(87462),te=t(15671),d=t(43144),G=t(32531),oe=t(51630),v=t(67294),de=t(4942),xe=t(1413),Oe=t(71002),ve=t(97685),Ne=t(45987),Ze=t(48555),Ce=t(8410),pe=t(75164),Pe=t(21770),Te=` - 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; - pointer-events: none !important; -`,we=["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"],ye={},k;function $e(o){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=o.getAttribute("id")||o.getAttribute("data-reactid")||o.getAttribute("name");if(z&&ye[i])return ye[i];var r=window.getComputedStyle(o),n=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),u=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),c=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),a=we.map(function(y){return"".concat(y,":").concat(r.getPropertyValue(y))}).join(";"),E={sizingStyle:a,paddingSize:u,borderSize:c,boxSizing:n};return z&&i&&(ye[i]=E),E}function Me(o){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=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)),o.getAttribute("wrap")?k.setAttribute("wrap",o.getAttribute("wrap")):k.removeAttribute("wrap");var n=$e(o,z),u=n.paddingSize,c=n.borderSize,a=n.boxSizing,E=n.sizingStyle;k.setAttribute("style","".concat(E,";").concat(Te)),k.value=o.value||o.placeholder||"";var y=void 0,S=void 0,w,I=k.scrollHeight;if(a==="border-box"?I+=c:a==="content-box"&&(I-=u),i!==null||r!==null){k.value=" ";var M=k.scrollHeight-u;i!==null&&(y=M*i,a==="border-box"&&(y=y+u+c),I=Math.max(y,I)),r!==null&&(S=M*r,a==="border-box"&&(S=S+u+c),w=I>S?"":"hidden",I=Math.min(S,I))}var x={height:I,overflowY:w,resize:"none"};return y&&(x.minHeight=y),S&&(x.maxHeight=S),x}var je=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],be=0,Se=1,fe=2,Ee=v.forwardRef(function(o,z){var i=o.prefixCls,r=i===void 0?"rc-textarea":i,n=o.onPressEnter,u=o.defaultValue,c=o.value,a=o.autoSize,E=o.onResize,y=o.className,S=o.style,w=o.disabled,I=o.onChange,M=o.onInternalAutoSize,x=(0,Ne.Z)(o,je),F=(0,Pe.Z)(u,{value:c,postState:function(ae){return ae!=null?ae:""}}),N=(0,ve.Z)(F,2),Y=N[0],W=N[1],ue=function(ae){W(ae.target.value),I==null||I(ae)},C=v.useRef();v.useImperativeHandle(z,function(){return{textArea:C.current}});var P=v.useMemo(function(){return a&&(0,Oe.Z)(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),$=(0,ve.Z)(P,2),J=$[0],X=$[1],j=!!a,b=function(){try{if(document.activeElement===C.current){var ae=C.current,Re=ae.selectionStart,Ge=ae.selectionEnd,O=ae.scrollTop;C.current.setSelectionRange(Re,Ge),C.current.scrollTop=O}}catch(A){}},se=v.useState(fe),q=(0,ve.Z)(se,2),D=q[0],he=q[1],Qe=v.useState(),Ke=(0,ve.Z)(Qe,2),Le=Ke[0],Ae=Ke[1],He=function(){he(be)};(0,Ce.Z)(function(){j&&He()},[c,J,X,j]),(0,Ce.Z)(function(){if(D===be)he(Se);else if(D===Se){var ce=Me(C.current,!1,J,X);he(fe),Ae(ce)}else b()},[D]);var Ue=v.useRef(),We=function(){pe.Z.cancel(Ue.current)},Ye=function(ae){D===fe&&(E==null||E(ae),a&&(We(),Ue.current=(0,pe.Z)(function(){He()})))};v.useEffect(function(){return We},[]);var ne=j?Le:null,Ve=(0,xe.Z)((0,xe.Z)({},S),ne);return(D===be||D===Se)&&(Ve.overflowY="hidden",Ve.overflowX="hidden"),v.createElement(Ze.Z,{onResize:Ye,disabled:!(a||E)},v.createElement("textarea",(0,K.Z)({},x,{ref:C,style:Ve,className:s()(r,y,(0,de.Z)({},"".concat(r,"-disabled"),w)),disabled:w,value:Y,onChange:ue})))}),ze=Ee,De=function(o){(0,G.Z)(i,o);var z=(0,oe.Z)(i);function i(r){var n;(0,te.Z)(this,i),n=z.call(this,r),n.resizableTextArea=void 0,n.focus=function(){n.resizableTextArea.textArea.focus()},n.saveTextArea=function(c){n.resizableTextArea=c},n.handleChange=function(c){var a=n.props.onChange;n.setValue(c.target.value),a&&a(c)},n.handleKeyDown=function(c){var a=n.props,E=a.onPressEnter,y=a.onKeyDown;c.keyCode===13&&E&&E(c),y&&y(c)};var u=typeof r.value=="undefined"||r.value===null?r.defaultValue:r.value;return n.state={value:u},n}return(0,d.Z)(i,[{key:"setValue",value:function(n,u){"value"in this.props||this.setState({value:n},u)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return v.createElement(ze,(0,K.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(n){return"value"in n?{value:n.value}:null}}]),i}(v.Component),Be=De,me=t(98423),Fe=t(53124),m=t(98866),U=t(97647),Z=t(65223),p=t(9708),T=t(41322),e=t(96159);const l=["text","input"];function h(o){return!!(o.addonBefore||o.addonAfter)}var g=function(o){(0,G.Z)(i,o);var z=(0,oe.Z)(i);function i(){return(0,te.Z)(this,i),z.apply(this,arguments)}return(0,d.Z)(i,[{key:"renderClearIcon",value:function(n){const{value:u,disabled:c,readOnly:a,handleReset:E,suffix:y}=this.props,S=!c&&!a&&u,w=`${n}-clear-icon`;return v.createElement(T.Z,{onClick:E,onMouseDown:I=>I.preventDefault(),className:s()({[`${w}-hidden`]:!S,[`${w}-has-suffix`]:!!y},w),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(n,u,c){const{value:a,allowClear:E,className:y,style:S,direction:w,bordered:I,hidden:M,status:x,hashId:F}=this.props,{status:N,hasFeedback:Y}=c;if(!E)return(0,e.Tm)(u,{value:a});const W=s()(`${n}-affix-wrapper`,`${n}-affix-wrapper-textarea-with-clear-btn`,(0,p.Z)(`${n}-affix-wrapper`,(0,p.F)(N,x),Y),{[`${n}-affix-wrapper-rtl`]:w==="rtl",[`${n}-affix-wrapper-borderless`]:!I,[`${y}`]:!h(this.props)&&y},F);return v.createElement("span",{className:W,style:S,hidden:M},(0,e.Tm)(u,{style:null,value:a}),this.renderClearIcon(n))}},{key:"render",value:function(){return v.createElement(Z.aM.Consumer,null,n=>{const{prefixCls:u,inputType:c,element:a}=this.props;if(c===l[0])return this.renderTextAreaWithClearIcon(u,a,n)})}}]),i}(v.Component),R=t(16591),L=t(47673),Q=function(o,z){var i={};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&z.indexOf(r)<0&&(i[r]=o[r]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(o);nr&&(n=z),n}var le=v.forwardRef((o,z)=>{var{prefixCls:i,bordered:r=!0,showCount:n=!1,maxLength:u,className:c,style:a,size:E,disabled:y,onCompositionStart:S,onCompositionEnd:w,onChange:I,status:M}=o,x=Q(o,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]);const{getPrefixCls:F,direction:N}=v.useContext(Fe.E_),Y=v.useContext(U.Z),W=v.useContext(m.Z),ue=y!=null?y:W,{status:C,hasFeedback:P,feedbackIcon:$}=v.useContext(Z.aM),J=(0,p.F)(C,M),X=v.useRef(null),j=v.useRef(null),[b,se]=v.useState(!1),q=v.useRef(),D=v.useRef(0),[he,Qe]=(0,Pe.Z)(x.defaultValue,{value:x.value}),{hidden:Ke}=x,Le=(O,A)=>{x.value===void 0&&(Qe(O),A==null||A())},Ae=Number(u)>0,He=O=>{se(!0),q.current=he,D.current=O.currentTarget.selectionStart,S==null||S(O)},Ue=O=>{var A;se(!1);let _=O.currentTarget.value;if(Ae){const ge=D.current>=u+1||D.current===((A=q.current)===null||A===void 0?void 0:A.length);_=V(ge,q.current,_,u)}_!==he&&(Le(_),(0,R.rJ)(O.currentTarget,O,I,_)),w==null||w(O)},We=O=>{let A=O.target.value;if(!b&&Ae){const _=O.target.selectionStart>=u+1||O.target.selectionStart===A.length||!O.target.selectionStart;A=V(_,he,A,u)}Le(A),(0,R.rJ)(O.currentTarget,O,I,A)},Ye=O=>{var A,_,ge;Le(""),(A=X.current)===null||A===void 0||A.focus(),(0,R.rJ)((ge=(_=X.current)===null||_===void 0?void 0:_.resizableTextArea)===null||ge===void 0?void 0:ge.textArea,O,I)},ne=F("input",i),[Ve,ce]=(0,L.ZP)(ne);v.useImperativeHandle(z,()=>{var O;return{resizableTextArea:(O=X.current)===null||O===void 0?void 0:O.resizableTextArea,focus:A=>{var _,ge;(0,R.nH)((ge=(_=X.current)===null||_===void 0?void 0:_.resizableTextArea)===null||ge===void 0?void 0:ge.textArea,A)},blur:()=>{var A;return(A=X.current)===null||A===void 0?void 0:A.blur()}}});const ae=v.createElement(Be,Object.assign({},(0,me.Z)(x,["allowClear"]),{disabled:ue,className:s()({[`${ne}-borderless`]:!r,[c]:c&&!n,[`${ne}-sm`]:Y==="small"||E==="small",[`${ne}-lg`]:Y==="large"||E==="large"},(0,p.Z)(ne,J),ce),style:n?{resize:a==null?void 0:a.resize}:a,prefixCls:ne,onCompositionStart:He,onChange:We,onCompositionEnd:Ue,ref:X}));let Re=(0,R.D7)(he);!b&&Ae&&(x.value===null||x.value===void 0)&&(Re=B(Re,u));const Ge=v.createElement(g,Object.assign({disabled:ue},x,{prefixCls:ne,direction:N,inputType:"text",value:Re,element:ae,handleReset:Ye,ref:j,bordered:r,status:M,style:n?void 0:a,hashId:ce}));if(n||P){const O=(0,ee.Z)(Re).length;let A="";return typeof n=="object"?A=n.formatter({value:Re,count:O,maxLength:u}):A=`${O}${Ae?` / ${u}`:""}`,v.createElement("div",{hidden:Ke,className:s()(`${ne}-textarea`,{[`${ne}-textarea-rtl`]:N==="rtl",[`${ne}-textarea-show-count`]:n},(0,p.Z)(`${ne}-textarea`,J,P),c,ce),style:a,"data-count":A},Ge,P&&v.createElement("span",{className:`${ne}-textarea-suffix`},$))}return Ve(Ge)})},72922:function(Ie,re,t){t.d(re,{Z:function(){return ie}});var ee=t(67294);function ie(s,K){const te=(0,ee.useRef)([]),d=()=>{te.current.push(setTimeout(()=>{var G,oe,v,de;((G=s.current)===null||G===void 0?void 0:G.input)&&((oe=s.current)===null||oe===void 0?void 0:oe.input.getAttribute("type"))==="password"&&((v=s.current)===null||v===void 0?void 0:v.input.hasAttribute("value"))&&((de=s.current)===null||de===void 0||de.input.removeAttribute("value"))}))};return(0,ee.useEffect)(()=>(K&&d(),()=>te.current.forEach(G=>{G&&clearTimeout(G)})),[]),d}},96365:function(Ie,re,t){t.d(re,{Z:function(){return Fe}});var ee=t(94184),ie=t.n(ee),s=t(67294),K=t(53124),te=t(65223),d=t(47673),oe=m=>{const{getPrefixCls:U,direction:Z}=(0,s.useContext)(K.E_),{prefixCls:p,className:T=""}=m,e=U("input-group",p),l=U("input"),[h,f]=(0,d.ZP)(l),g=ie()(e,{[`${e}-lg`]:m.size==="large",[`${e}-sm`]:m.size==="small",[`${e}-compact`]:m.compact,[`${e}-rtl`]:Z==="rtl"},f,T),R=(0,s.useContext)(te.aM),L=(0,s.useMemo)(()=>Object.assign(Object.assign({},R),{isFormItemInput:!1}),[R]);return h(s.createElement("span",{className:g,style:m.style,onMouseEnter:m.onMouseEnter,onMouseLeave:m.onMouseLeave,onFocus:m.onFocus,onBlur:m.onBlur},s.createElement(te.aM.Provider,{value:L},m.children)))},v=t(16591),de=t(1413),xe=t(42003),Oe=t(93771),ve=function(U,Z){return s.createElement(Oe.Z,(0,de.Z)((0,de.Z)({},U),{},{ref:Z,icon:xe.Z}))};ve.displayName="EyeInvisibleOutlined";var Ne=s.forwardRef(ve),Ze=t(1208),Ce=t(98423),pe=t(42550),Pe=t(72922),Te=function(m,U){var Z={};for(var p in m)Object.prototype.hasOwnProperty.call(m,p)&&U.indexOf(p)<0&&(Z[p]=m[p]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,p=Object.getOwnPropertySymbols(m);Tm?s.createElement(Ze.Z,null):s.createElement(Ne,null),ye={click:"onClick",hover:"onMouseOver"};var $e=s.forwardRef((m,U)=>{const{visibilityToggle:Z=!0}=m,p=typeof Z=="object"&&Z.visible!==void 0,[T,e]=(0,s.useState)(()=>p?Z.visible:!1),l=(0,s.useRef)(null);s.useEffect(()=>{p&&e(Z.visible)},[p,Z]);const h=(0,Pe.Z)(l),f=()=>{const{disabled:n}=m;n||(T&&h(),e(u=>{var c;const a=!u;return typeof Z=="object"&&((c=Z.onVisibleChange)===null||c===void 0||c.call(Z,a)),a}))},g=n=>{const{action:u="click",iconRender:c=we}=m,a=ye[u]||"",E=c(T),y={[a]:f,className:`${n}-icon`,key:"passwordIcon",onMouseDown:S=>{S.preventDefault()},onMouseUp:S=>{S.preventDefault()}};return s.cloneElement(s.isValidElement(E)?E:s.createElement("span",null,E),y)},{className:R,prefixCls:L,inputPrefixCls:Q,size:B}=m,V=Te(m,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:H}=s.useContext(K.E_),le=H("input",Q),o=H("input-password",L),z=Z&&g(o),i=ie()(o,R,{[`${o}-${B}`]:!!B}),r=Object.assign(Object.assign({},(0,Ce.Z)(V,["suffix","iconRender","visibilityToggle"])),{type:T?"text":"password",className:i,prefixCls:le,suffix:z});return B&&(r.size=B),s.createElement(v.ZP,Object.assign({ref:(0,pe.sQ)(U,l)},r))}),Me=t(25783),je=t(71577),be=t(97647),Se=t(4173),fe=t(96159),Ee=function(m,U){var Z={};for(var p in m)Object.prototype.hasOwnProperty.call(m,p)&&U.indexOf(p)<0&&(Z[p]=m[p]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,p=Object.getOwnPropertySymbols(m);T{const{prefixCls:Z,inputPrefixCls:p,className:T,size:e,suffix:l,enterButton:h=!1,addonAfter:f,loading:g,disabled:R,onSearch:L,onChange:Q,onCompositionStart:B,onCompositionEnd:V}=m,H=Ee(m,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:le,direction:o}=s.useContext(K.E_),z=s.useContext(be.Z),i=s.useRef(!1),r=le("input-search",Z),n=le("input",p),{compactSize:u}=(0,Se.ri)(r,o),c=u||e||z,a=s.useRef(null),E=C=>{C&&C.target&&C.type==="click"&&L&&L(C.target.value,C),Q&&Q(C)},y=C=>{var P;document.activeElement===((P=a.current)===null||P===void 0?void 0:P.input)&&C.preventDefault()},S=C=>{var P,$;L&&L(($=(P=a.current)===null||P===void 0?void 0:P.input)===null||$===void 0?void 0:$.value,C)},w=C=>{i.current||g||S(C)},I=typeof h=="boolean"?s.createElement(Me.Z,null):null,M=`${r}-button`;let x;const F=h||{},N=F.type&&F.type.__ANT_BUTTON===!0;N||F.type==="button"?x=(0,fe.Tm)(F,Object.assign({onMouseDown:y,onClick:C=>{var P,$;($=(P=F==null?void 0:F.props)===null||P===void 0?void 0:P.onClick)===null||$===void 0||$.call(P,C),S(C)},key:"enterButton"},N?{className:M,size:c}:{})):x=s.createElement(je.ZP,{className:M,type:h?"primary":void 0,size:c,disabled:R,key:"enterButton",onMouseDown:y,onClick:S,loading:g,icon:I},h),f&&(x=[x,(0,fe.Tm)(f,{key:"addonAfter"})]);const Y=ie()(r,{[`${r}-rtl`]:o==="rtl",[`${r}-${c}`]:!!c,[`${r}-with-button`]:!!h},T),W=C=>{i.current=!0,B==null||B(C)},ue=C=>{i.current=!1,V==null||V(C)};return s.createElement(v.ZP,Object.assign({ref:(0,pe.sQ)(a,U),onPressEnter:w},H,{size:c,onCompositionStart:W,onCompositionEnd:ue,prefixCls:n,addonAfter:x,suffix:l,onChange:E,className:Y,disabled:R}))}),Be=t(56994);const me=v.ZP;me.Group=oe,me.Search=De,me.TextArea=Be.Z,me.Password=$e;var Fe=me},1208:function(Ie,re,t){var ee=t(1413),ie=t(67294),s=t(5717),K=t(93771),te=function(G,oe){return ie.createElement(K.Z,(0,ee.Z)((0,ee.Z)({},G),{},{ref:oe,icon:s.Z}))};te.displayName="EyeOutlined",re.Z=ie.forwardRef(te)}}]); diff --git a/statics/6390.af9d2e21.async.js b/statics/6390.513c820d.async.js similarity index 76% rename from statics/6390.af9d2e21.async.js rename to statics/6390.513c820d.async.js index f8c54f7e..8f90f8c3 100644 --- a/statics/6390.af9d2e21.async.js +++ b/statics/6390.513c820d.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6390],{96390:function(e,n,t){t.r(n),t.d(n,{default:function(){return s}});var o=t(67294),u=t(94171),E=t(85893);function s(){var O=(0,u.useOutletContext)();return(0,E.jsx)(u.Outlet,{context:O})}}}]); +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6390],{96390:function(e,n,t){t.r(n),t.d(n,{default:function(){return s}});var o=t(67294),u=t(90596),E=t(85893);function s(){var O=(0,u.useOutletContext)();return(0,E.jsx)(u.Outlet,{context:O})}}}]); diff --git a/statics/6476.b61e509d.async.js b/statics/6476.b61e509d.async.js deleted file mode 100644 index 77731fb4..00000000 --- a/statics/6476.b61e509d.async.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6476],{66476:function(cn,Ye,m){m.d(Ye,{Z:function(){return ln}});var s=m(67294),te=m(74902),Qe=m(94184),T=m.n(Qe),he=m(87462),De=m(15671),Fe=m(43144),Pe=m(32531),Re=m(51630),ye=m(4942),qe=m(45987),je=m(74165),ke=m(71002),_e=m(15861),et=m(64217);function tt(e,n){var t="cannot ".concat(e.method," ").concat(e.action," ").concat(n.status,"'"),r=new Error(t);return r.status=n.status,r.method=e.method,r.url=e.action,r}function Le(e){var n=e.responseText||e.response;if(!n)return n;try{return JSON.parse(n)}catch(t){return n}}function nt(e){var n=new XMLHttpRequest;e.onProgress&&n.upload&&(n.upload.onprogress=function(a){a.total>0&&(a.percent=a.loaded/a.total*100),e.onProgress(a)});var t=new FormData;e.data&&Object.keys(e.data).forEach(function(l){var a=e.data[l];if(Array.isArray(a)){a.forEach(function(i){t.append("".concat(l,"[]"),i)});return}t.append(l,a)}),e.file instanceof Blob?t.append(e.filename,e.file,e.file.name):t.append(e.filename,e.file),n.onerror=function(a){e.onError(a)},n.onload=function(){return n.status<200||n.status>=300?e.onError(tt(e,n),Le(n)):e.onSuccess(Le(n),n)},n.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in n&&(n.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&n.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(l){r[l]!==null&&n.setRequestHeader(l,r[l])}),n.send(t),{abort:function(){n.abort()}}}var rt=+new Date,ot=0;function we(){return"rc-upload-".concat(rt,"-").concat(++ot)}var at=m(80334),be=function(e,n){if(e&&n){var t=Array.isArray(n)?n:n.split(","),r=e.name||"",l=e.type||"",a=l.replace(/\/.*$/,"");return t.some(function(i){var o=i.trim();if(/^\*(\/\*)?$/.test(i))return!0;if(o.charAt(0)==="."){var d=r.toLowerCase(),c=o.toLowerCase(),u=[c];return(c===".jpg"||c===".jpeg")&&(u=[".jpg",".jpeg"]),u.some(function(v){return d.endsWith(v)})}return/\/\*$/.test(o)?a===o.replace(/\/.*$/,""):l===o?!0:/^\w+$/.test(o)?((0,at.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(o,"'.Skip for check.")),!0):!1})}return!0};function it(e,n){var t=e.createReader(),r=[];function l(){t.readEntries(function(a){var i=Array.prototype.slice.apply(a);r=r.concat(i);var o=!i.length;o?n(r):l()})}l()}var lt=function(n,t,r){var l=function a(i,o){i.path=o||"",i.isFile?i.file(function(d){r(d)&&(i.fullPath&&!d.webkitRelativePath&&(Object.defineProperties(d,{webkitRelativePath:{writable:!0}}),d.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(d,{webkitRelativePath:{writable:!1}})),t([d]))}):i.isDirectory&&it(i,function(d){d.forEach(function(c){a(c,"".concat(o).concat(i.name,"/"))})})};n.forEach(function(a){l(a.webkitGetAsEntry())})},st=lt,ct=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],dt=function(e){(0,Pe.Z)(t,e);var n=(0,Re.Z)(t);function t(){var r;(0,De.Z)(this,t);for(var l=arguments.length,a=new Array(l),i=0;i{let{uid:a}=l;return a===e.uid});return r===-1?t.push(e):t[r]=e,t}function Ee(e,n){const t=e.uid!==void 0?"uid":"name";return n.filter(r=>r[t]===e[t])[0]}function Ft(e,n){const t=e.uid!==void 0?"uid":"name",r=n.filter(l=>l[t]!==e[t]);return r.length===n.length?null:r}const Pt=function(){const n=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=n[n.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},He=e=>e.indexOf("image/")===0,Rt=e=>{if(e.type&&!e.thumbUrl)return He(e.type);const n=e.thumbUrl||e.url||"",t=Pt(n);return/^data:image\//.test(n)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(t)?!0:!(/^data:/.test(n)||t)},K=200;function jt(e){return new Promise(n=>{if(!e.type||!He(e.type)){n("");return}const t=document.createElement("canvas");t.width=K,t.height=K,t.style.cssText=`position: fixed; left: 0; top: 0; width: ${K}px; height: ${K}px; z-index: 9999; display: none;`,document.body.appendChild(t);const r=t.getContext("2d"),l=new Image;if(l.onload=()=>{const{width:a,height:i}=l;let o=K,d=K,c=0,u=0;a>i?(d=i*(K/a),u=-(d-o)/2):(o=a*(K/i),c=-(o-d)/2),r.drawImage(l,c,u,o,d);const v=t.toDataURL();document.body.removeChild(t),n(v)},l.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const a=new FileReader;a.addEventListener("load",()=>{a.result&&(l.src=a.result)}),a.readAsDataURL(e)}else l.src=window.URL.createObjectURL(e)})}var Lt=m(47046),Be=function(n,t){return s.createElement(ae.Z,(0,V.Z)((0,V.Z)({},n),{},{ref:t,icon:Lt.Z}))};Be.displayName="DeleteOutlined";var Tt=s.forwardRef(Be),Ut={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"},Nt=Ut,Xe=function(n,t){return s.createElement(ae.Z,(0,V.Z)((0,V.Z)({},n),{},{ref:t,icon:Nt}))};Xe.displayName="DownloadOutlined";var Zt=s.forwardRef(Xe),Mt=m(1208),At=m(69814),zt=m(83062),Ht=s.forwardRef((e,n)=>{let{prefixCls:t,className:r,style:l,locale:a,listType:i,file:o,items:d,progress:c,iconRender:u,actionIconRender:v,itemRender:y,isImgUrl:S,showPreviewIcon:R,showRemoveIcon:N,showDownloadIcon:M,previewIcon:O,removeIcon:F,downloadIcon:j,onPreview:D,onDownload:g,onClose:L}=e;var x,J;const{status:X}=o,[A,se]=s.useState(X);s.useEffect(()=>{X!=="removed"&&se(X)},[X]);const[ce,de]=s.useState(!1),B=s.useRef(null);s.useEffect(()=>(B.current=setTimeout(()=>{de(!0)},300),()=>{B.current&&clearTimeout(B.current)}),[]);const C=u(o);let Y=s.createElement("div",{className:`${t}-icon`},C);if(i==="picture"||i==="picture-card")if(A==="uploading"||!o.thumbUrl&&!o.url){const P=T()({[`${t}-list-item-thumbnail`]:!0,[`${t}-list-item-file`]:A!=="uploading"});Y=s.createElement("div",{className:P},C)}else{const P=S!=null&&S(o)?s.createElement("img",{src:o.thumbUrl||o.url,alt:o.name,className:`${t}-list-item-image`,crossOrigin:o.crossOrigin}):C,_=T()({[`${t}-list-item-thumbnail`]:!0,[`${t}-list-item-file`]:S&&!S(o)});Y=s.createElement("a",{className:_,onClick:ne=>D(o,ne),href:o.url||o.thumbUrl,target:"_blank",rel:"noopener noreferrer"},P)}const ue=T()(`${t}-list-item`,`${t}-list-item-${A}`),pe=typeof o.linkProps=="string"?JSON.parse(o.linkProps):o.linkProps,Q=N?v((typeof F=="function"?F(o):F)||s.createElement(Tt,null),()=>L(o),t,a.removeFile):null,z=M&&A==="done"?v((typeof j=="function"?j(o):j)||s.createElement(Zt,null),()=>g(o),t,a.downloadFile):null,oe=i!=="picture-card"&&s.createElement("span",{key:"download-delete",className:T()(`${t}-list-item-actions`,{picture:i==="picture"})},z,Q),p=T()(`${t}-list-item-name`),E=o.url?[s.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:p,title:o.name},pe,{href:o.url,onClick:P=>D(o,P)}),o.name),oe]:[s.createElement("span",{key:"view",className:p,onClick:P=>D(o,P),title:o.name},o.name),oe],H={pointerEvents:"none",opacity:.5},U=R?s.createElement("a",{href:o.url||o.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:o.url||o.thumbUrl?void 0:H,onClick:P=>D(o,P),title:a.previewFile},typeof O=="function"?O(o):O||s.createElement(Mt.Z,null)):null,q=i==="picture-card"&&A!=="uploading"&&s.createElement("span",{className:`${t}-list-item-actions`},U,A==="done"&&z,Q),{getPrefixCls:W}=s.useContext(Ce.E_),Oe=W(),me=s.createElement("div",{className:ue},Y,E,q,ce&&s.createElement(Se.Z,{motionName:`${Oe}-fade`,visible:A==="uploading",motionDeadline:2e3},P=>{let{className:_}=P;const ne="percent"in o?s.createElement(At.Z,Object.assign({},c,{type:"line",percent:o.percent})):null;return s.createElement("div",{className:T()(`${t}-list-item-progress`,_)},ne)})),I=o.response&&typeof o.response=="string"?o.response:((x=o.error)===null||x===void 0?void 0:x.statusText)||((J=o.error)===null||J===void 0?void 0:J.message)||a.uploadError,k=A==="error"?s.createElement(zt.Z,{title:I,getPopupContainer:P=>P.parentNode},me):me;return s.createElement("div",{className:T()(`${t}-list-item-container`,r),style:l,ref:n},y?y(k,o,d,{download:g.bind(null,o),preview:D.bind(null,o),remove:L.bind(null,o)}):k)});const Bt=(e,n)=>{const{listType:t="text",previewFile:r=jt,onPreview:l,onDownload:a,onRemove:i,locale:o,iconRender:d,isImageUrl:c=Rt,prefixCls:u,items:v=[],showPreviewIcon:y=!0,showRemoveIcon:S=!0,showDownloadIcon:R=!1,removeIcon:N,previewIcon:M,downloadIcon:O,progress:F={strokeWidth:2,showInfo:!1},appendAction:j,appendActionVisible:D=!0,itemRender:g}=e,L=(0,xt.Z)(),[x,J]=s.useState(!1);s.useEffect(()=>{t!=="picture"&&t!=="picture-card"||(v||[]).forEach(p=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(p.originFileObj instanceof File||p.originFileObj instanceof Blob)||p.thumbUrl!==void 0||(p.thumbUrl="",r&&r(p.originFileObj).then(E=>{p.thumbUrl=E||"",L()}))})},[t,v,r]),s.useEffect(()=>{J(!0)},[]);const X=(p,E)=>{if(!!l)return E==null||E.preventDefault(),l(p)},A=p=>{typeof a=="function"?a(p):p.url&&window.open(p.url)},se=p=>{i==null||i(p)},ce=p=>{if(d)return d(p,t);const E=p.status==="uploading",H=c&&c(p)?s.createElement(Ot,null):s.createElement(bt,null);let U=E?s.createElement(Ze.Z,null):s.createElement(St,null);return t==="picture"?U=E?s.createElement(Ze.Z,null):H:t==="picture-card"&&(U=E?o.uploading:H),U},de=(p,E,H,U)=>{const q={type:"text",size:"small",title:U,onClick:W=>{E(),(0,fe.l$)(p)&&p.props.onClick&&p.props.onClick(W)},className:`${H}-list-item-action`};if((0,fe.l$)(p)){const W=(0,fe.Tm)(p,Object.assign(Object.assign({},p.props),{onClick:()=>{}}));return s.createElement(ze.ZP,Object.assign({},q,{icon:W}))}return s.createElement(ze.ZP,Object.assign({},q),s.createElement("span",null,p))};s.useImperativeHandle(n,()=>({handlePreview:X,handleDownload:A}));const{getPrefixCls:B}=s.useContext(Ce.E_),C=B("upload",u),Y=B(),ue=T()({[`${C}-list`]:!0,[`${C}-list-${t}`]:!0}),pe=(0,te.Z)(v.map(p=>({key:p.uid,file:p})));let z={motionDeadline:2e3,motionName:`${C}-${t==="picture-card"?"animate-inline":"animate"}`,keys:pe,motionAppear:x};const oe=(0,s.useMemo)(()=>{const p=Object.assign({},(0,Dt.ZP)(Y));return delete p.onAppearEnd,delete p.onEnterEnd,delete p.onLeaveEnd,p},[Y]);return t!=="picture-card"&&(z=Object.assign(Object.assign({},oe),z)),s.createElement("div",{className:ue},s.createElement(Se.V,Object.assign({},z,{component:!1}),p=>{let{key:E,file:H,className:U,style:q}=p;return s.createElement(Ht,{key:E,locale:o,prefixCls:C,className:U,style:q,file:H,items:v,progress:F,listType:t,isImgUrl:c,showPreviewIcon:y,showRemoveIcon:S,showDownloadIcon:R,removeIcon:N,previewIcon:M,downloadIcon:O,iconRender:ce,actionIconRender:de,itemRender:g,onPreview:X,onDownload:A,onClose:se})}),j&&s.createElement(Se.Z,Object.assign({},z,{visible:D,forceRender:!0}),p=>{let{className:E,style:H}=p;return(0,fe.Tm)(j,U=>({className:T()(U.className,E),style:Object.assign(Object.assign(Object.assign({},H),{pointerEvents:E?"none":void 0}),U.style)}))}))};var Xt=s.forwardRef(Bt),Vt=m(67968),Wt=m(45503),Gt=e=>{const{componentCls:n,iconCls:t}=e;return{[`${n}-wrapper`]:{[`${n}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[n]:{padding:`${e.padding}px 0`},[`${n}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${n}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${n}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${n}-drag-icon`]:{marginBottom:e.margin,[t]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${n}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${n}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${n}-disabled`]:{cursor:"not-allowed",[`p${n}-drag-icon ${t}, - p${n}-text, - p${n}-hint - `]:{color:e.colorTextDisabled}}}}}},ie=m(14747),Kt=e=>{const{componentCls:n,antCls:t,iconCls:r,fontSize:l,lineHeight:a}=e,i=`${n}-list-item`,o=`${i}-actions`,d=`${i}-action`,c=Math.round(l*a);return{[`${n}-wrapper`]:{[`${n}-list`]:Object.assign(Object.assign({},(0,ie.dF)()),{lineHeight:e.lineHeight,[i]:{position:"relative",height:e.lineHeight*l,marginTop:e.marginXS,fontSize:l,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${i}-name`]:Object.assign(Object.assign({},ie.vS),{padding:`0 ${e.paddingXS}px`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[o]:{[d]:{opacity:0},[`${d}${t}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${d}:focus, - &.picture ${d} - `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${n}-icon ${r}`]:{color:e.colorTextDescription,fontSize:l},[`${i}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:l+e.paddingXS,fontSize:l,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${i}:hover ${d}`]:{opacity:1,color:e.colorText},[`${i}-error`]:{color:e.colorError,[`${i}-name, ${n}-icon ${r}`]:{color:e.colorError},[o]:{[`${r}, ${r}:hover`]:{color:e.colorError},[d]:{opacity:1}}},[`${n}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ve=m(78635);const We=new Ve.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ge=new Ve.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Jt=e=>{const{componentCls:n}=e,t=`${n}-animate-inline`;return[{[`${n}-wrapper`]:{[`${t}-appear, ${t}-enter, ${t}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${t}-appear, ${t}-enter`]:{animationName:We},[`${t}-leave`]:{animationName:Ge}}},We,Ge]},Yt=m(10274);const Qt=e=>{const{componentCls:n,iconCls:t,uploadThumbnailSize:r,uploadProgressOffset:l}=e,a=`${n}-list`,i=`${a}-item`;return{[`${n}-wrapper`]:{[`${a}${a}-picture, ${a}${a}-picture-card`]:{[i]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${i}-thumbnail`]:Object.assign(Object.assign({},ie.vS),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[t]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${i}-progress`]:{bottom:l,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${i}-error`]:{borderColor:e.colorError,[`${i}-thumbnail ${t}`]:{["svg path[fill='#e6f7ff']"]:{fill:e.colorErrorBg},["svg path[fill='#1890ff']"]:{fill:e.colorError}}},[`${i}-uploading`]:{borderStyle:"dashed",[`${i}-name`]:{marginBottom:l}}}}}},qt=e=>{const{componentCls:n,iconCls:t,fontSizeLG:r,colorTextLightSolid:l}=e,a=`${n}-list`,i=`${a}-item`,o=e.uploadPicCardSize;return{[`${n}-wrapper${n}-picture-card-wrapper`]:Object.assign(Object.assign({},(0,ie.dF)()),{display:"inline-block",width:"100%",[`${n}${n}-select`]:{width:o,height:o,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${n}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${n}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card`]:{[`${a}-item-container`]:{display:"inline-block",width:o,height:o,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[i]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${i}:hover`]:{[`&::before, ${i}-actions`]:{opacity:1}},[`${i}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${t}-eye, ${t}-download, ${t}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${i}-actions, ${i}-actions:hover`]:{[`${t}-eye, ${t}-download, ${t}-delete`]:{color:new Yt.C(l).setAlpha(.65).toRgbString(),"&:hover":{color:l}}},[`${i}-thumbnail, ${i}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${i}-name`]:{display:"none",textAlign:"center"},[`${i}-file + ${i}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${i}-uploading`]:{[`&${i}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${t}-eye, ${t}-download, ${t}-delete`]:{display:"none"}},[`${i}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}};var kt=e=>{const{componentCls:n}=e;return{[`${n}-rtl`]:{direction:"rtl"}}},_t=m(33507);const en=e=>{const{componentCls:n,colorTextDisabled:t}=e;return{[`${n}-wrapper`]:Object.assign(Object.assign({},(0,ie.Wf)(e)),{[n]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${n}-select`]:{display:"inline-block"},[`${n}-disabled`]:{color:t,cursor:"not-allowed"}})}};var tn=(0,Vt.Z)("Upload",e=>{const{fontSizeHeading3:n,fontSize:t,lineHeight:r,lineWidth:l,controlHeightLG:a}=e,i=Math.round(t*r),o=(0,Wt.TS)(e,{uploadThumbnailSize:n*2,uploadProgressOffset:i/2+l,uploadPicCardSize:a*2.55});return[en(o),Gt(o),Qt(o),qt(o),Kt(o),Jt(o),kt(o),(0,_t.Z)(o)]}),nn=function(e,n,t,r){function l(a){return a instanceof t?a:new t(function(i){i(a)})}return new(t||(t=Promise))(function(a,i){function o(u){try{c(r.next(u))}catch(v){i(v)}}function d(u){try{c(r.throw(u))}catch(v){i(v)}}function c(u){u.done?a(u.value):l(u.value).then(o,d)}c((r=r.apply(e,n||[])).next())})};const le=`__LIST_IGNORE_${Date.now()}__`,rn=(e,n)=>{const{fileList:t,defaultFileList:r,onRemove:l,showUploadList:a=!0,listType:i="text",onPreview:o,onDownload:d,onChange:c,onDrop:u,previewFile:v,disabled:y,locale:S,iconRender:R,isImageUrl:N,progress:M,prefixCls:O,className:F,type:j="select",children:D,style:g,itemRender:L,maxCount:x,data:J={},multiple:X=!1,action:A="",accept:se="",supportServerRender:ce=!0}=e,de=s.useContext(gt.Z),B=y!=null?y:de,[C,Y]=(0,mt.Z)(r||[],{value:t,postState:f=>f!=null?f:[]}),[ue,pe]=s.useState("drop"),Q=s.useRef(null);s.useMemo(()=>{const f=Date.now();(t||[]).forEach((w,$)=>{!w.uid&&!Object.isFrozen(w)&&(w.uid=`__AUTO__${f}_${$}__`)})},[t]);const z=(f,w,$)=>{let h=(0,te.Z)(w);x===1?h=h.slice(-1):x&&(h=h.slice(0,x)),(0,ft.flushSync)(()=>{Y(h)});const b={file:f,fileList:h};$&&(b.event=$),c==null||c(b)},oe=(f,w)=>nn(void 0,void 0,void 0,function*(){const{beforeUpload:$,transformFile:h}=e;let b=f;if($){const Z=yield $(f,w);if(Z===!1)return!1;if(delete f[le],Z===le)return Object.defineProperty(f,le,{value:!0,configurable:!0}),!1;typeof Z=="object"&&Z&&(b=Z)}return h&&(b=yield h(b)),b}),p=f=>{const w=f.filter(b=>!b.file[le]);if(!w.length)return;const $=w.map(b=>ge(b.file));let h=(0,te.Z)(C);$.forEach(b=>{h=ve(b,h)}),$.forEach((b,Z)=>{let re=b;if(w[Z].parsedFile)b.status="uploading";else{const{originFileObj:ee}=b;let G;try{G=new File([ee],ee.name,{type:ee.type})}catch(wn){G=new Blob([ee],{type:ee.type}),G.name=ee.name,G.lastModifiedDate=new Date,G.lastModified=new Date().getTime()}G.uid=b.uid,re=G}z(re,h)})},E=(f,w,$)=>{try{typeof f=="string"&&(f=JSON.parse(f))}catch(Z){}if(!Ee(w,C))return;const h=ge(w);h.status="done",h.percent=100,h.response=f,h.xhr=$;const b=ve(h,C);z(h,b)},H=(f,w)=>{if(!Ee(w,C))return;const $=ge(w);$.status="uploading",$.percent=f.percent;const h=ve($,C);z($,h,f)},U=(f,w,$)=>{if(!Ee($,C))return;const h=ge($);h.error=f,h.response=w,h.status="error";const b=ve(h,C);z(h,b)},q=f=>{let w;Promise.resolve(typeof l=="function"?l(f):l).then($=>{var h;if($===!1)return;const b=Ft(f,C);b&&(w=Object.assign(Object.assign({},f),{status:"removed"}),C==null||C.forEach(Z=>{const re=w.uid!==void 0?"uid":"name";Z[re]===w[re]&&!Object.isFrozen(Z)&&(Z.status="removed")}),(h=Q.current)===null||h===void 0||h.abort(w),z(w,b))})},W=f=>{pe(f.type),f.type==="drop"&&(u==null||u(f))};s.useImperativeHandle(n,()=>({onBatchStart:p,onSuccess:E,onProgress:H,onError:U,fileList:C,upload:Q.current}));const{getPrefixCls:Oe,direction:me}=s.useContext(Ce.E_),I=Oe("upload",O),k=Object.assign(Object.assign({onBatchStart:p,onError:U,onProgress:H,onSuccess:E},e),{data:J,multiple:X,action:A,accept:se,supportServerRender:ce,prefixCls:I,disabled:B,beforeUpload:oe,onChange:void 0});delete k.className,delete k.style,(!D||B)&&delete k.id;const[P,_]=tn(I),ne=(f,w)=>a?s.createElement(vt.Z,{componentName:"Upload",defaultLocale:ht.Z.Upload},$=>{const{showRemoveIcon:h,showPreviewIcon:b,showDownloadIcon:Z,removeIcon:re,previewIcon:ee,downloadIcon:G}=typeof a=="boolean"?{}:a;return s.createElement(Xt,{prefixCls:I,listType:i,items:C,previewFile:v,onPreview:o,onDownload:d,onRemove:q,showRemoveIcon:!B&&h,showPreviewIcon:b,showDownloadIcon:Z,removeIcon:re,previewIcon:ee,downloadIcon:G,iconRender:R,locale:Object.assign(Object.assign({},$),S),isImageUrl:N,progress:M,appendAction:f,appendActionVisible:w,itemRender:L})}):f,xe={[`${I}-rtl`]:me==="rtl"};if(j==="drag"){const f=T()(I,{[`${I}-drag`]:!0,[`${I}-drag-uploading`]:C.some(w=>w.status==="uploading"),[`${I}-drag-hover`]:ue==="dragover",[`${I}-disabled`]:B,[`${I}-rtl`]:me==="rtl"},_);return P(s.createElement("span",{className:T()(`${I}-wrapper`,xe,F,_)},s.createElement("div",{className:f,onDrop:W,onDragOver:W,onDragLeave:W,style:g},s.createElement(Ue,Object.assign({},k,{ref:Q,className:`${I}-btn`}),s.createElement("div",{className:`${I}-drag-container`},D))),ne()))}const sn=T()(I,`${I}-select`,{[`${I}-disabled`]:B}),Je=(f=>s.createElement("div",{className:sn,style:f},s.createElement(Ue,Object.assign({},k,{ref:Q}))))(D?void 0:{display:"none"});return P(i==="picture-card"?s.createElement("span",{className:T()(`${I}-wrapper`,`${I}-picture-card-wrapper`,xe,F,_)},ne(Je,!!D)):s.createElement("span",{className:T()(`${I}-wrapper`,xe,F,_)},Je,ne()))};var Ke=s.forwardRef(rn),on=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l{var{style:t,height:r}=e,l=on(e,["style","height"]);return s.createElement(Ke,Object.assign({ref:n},l,{type:"drag",style:Object.assign(Object.assign({},t),{height:r})}))});const Ie=Ke;Ie.Dragger=an,Ie.LIST_IGNORE=le;var ln=Ie}}]); diff --git a/statics/6476.fe89dcb0.async.js b/statics/6476.fe89dcb0.async.js new file mode 100644 index 00000000..d3a7404c --- /dev/null +++ b/statics/6476.fe89dcb0.async.js @@ -0,0 +1,21 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6476],{66476:function(xn,Qe,f){f.d(Qe,{Z:function(){return yn}});var s=f(67294),oe=f(74902),Re=f(73935),qe=f(93967),z=f.n(qe),q=f(87462),Ze=f(15671),je=f(43144),H=f(97326),Le=f(60136),Te=f(29388),x=f(4942),ke=f(1413),_e=f(45987),Ne=f(74165),et=f(71002),tt=f(15861),nt=f(64217),rt=f(80334),$e=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),o=e.name||"",i=e.type||"",a=i.replace(/\/.*$/,"");return r.some(function(l){var n=l.trim();if(/^\*(\/\*)?$/.test(l))return!0;if(n.charAt(0)==="."){var d=o.toLowerCase(),c=n.toLowerCase(),u=[c];return(c===".jpg"||c===".jpeg")&&(u=[".jpg",".jpeg"]),u.some(function(v){return d.endsWith(v)})}return/\/\*$/.test(n)?a===n.replace(/\/.*$/,""):i===n?!0:/^\w+$/.test(n)?((0,rt.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(n,"'.Skip for check.")),!0):!1})}return!0};function ot(e,t){var r="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),o=new Error(r);return o.status=t.status,o.method=e.method,o.url=e.action,o}function Ue(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(r){return t}}function at(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(a){a.total>0&&(a.percent=a.loaded/a.total*100),e.onProgress(a)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(i){var a=e.data[i];if(Array.isArray(a)){a.forEach(function(l){r.append("".concat(i,"[]"),l)});return}r.append(i,a)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(a){e.onError(a)},t.onload=function(){return t.status<200||t.status>=300?e.onError(ot(e,t),Ue(t)):e.onSuccess(Ue(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var o=e.headers||{};return o["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(o).forEach(function(i){o[i]!==null&&t.setRequestHeader(i,o[i])}),t.send(r),{abort:function(){t.abort()}}}function it(e,t){var r=e.createReader(),o=[];function i(){r.readEntries(function(a){var l=Array.prototype.slice.apply(a);o=o.concat(l);var n=!l.length;n?t(o):i()})}i()}var lt=function(t,r,o){var i=function a(l,n){!l||(l.path=n||"",l.isFile?l.file(function(d){o(d)&&(l.fullPath&&!d.webkitRelativePath&&(Object.defineProperties(d,{webkitRelativePath:{writable:!0}}),d.webkitRelativePath=l.fullPath.replace(/^\//,""),Object.defineProperties(d,{webkitRelativePath:{writable:!1}})),r([d]))}):l.isDirectory&&it(l,function(d){d.forEach(function(c){a(c,"".concat(n).concat(l.name,"/"))})}))};t.forEach(function(a){i(a.webkitGetAsEntry())})},st=lt,ct=+new Date,dt=0;function Ce(){return"rc-upload-".concat(ct,"-").concat(++dt)}var ut=["component","prefixCls","className","classNames","disabled","id","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],pt=function(e){(0,Le.Z)(r,e);var t=(0,Te.Z)(r);function r(){var o;(0,Ze.Z)(this,r);for(var i=arguments.length,a=new Array(i),l=0;l{const{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,T.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,T.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + &:not(${t}-disabled):hover, + &-hover:not(${t}-disabled) + `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,T.bf)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${r}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},It=e=>{const{componentCls:t,antCls:r,iconCls:o,fontSize:i,lineHeight:a,calc:l}=e,n=`${t}-list-item`,d=`${n}-actions`,c=`${n}-action`,u=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,me.dF)()),{lineHeight:e.lineHeight,[n]:{position:"relative",height:l(e.lineHeight).mul(i).equal(),marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${n}-name`]:Object.assign(Object.assign({},me.vS),{padding:`0 ${(0,T.bf)(e.paddingXS)}`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[d]:{whiteSpace:"nowrap",[c]:{opacity:0},[o]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` + ${c}:focus-visible, + &.picture ${c} + `]:{opacity:1},[`${c}${r}-btn`]:{height:u,border:0,lineHeight:1}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:i},[`${n}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:l(i).add(e.paddingXS).equal(),fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${n}:hover ${c}`]:{opacity:1},[`${n}-error`]:{color:e.colorError,[`${n}-name, ${t}-icon ${o}`]:{color:e.colorError},[d]:{[`${o}, ${o}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},St=f(16932),Et=e=>{const{componentCls:t}=e,r=new T.E4("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o=new T.E4("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),i=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${i}-appear, ${i}-enter, ${i}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${i}-appear, ${i}-enter`]:{animationName:r},[`${i}-leave`]:{animationName:o}}},{[`${t}-wrapper`]:(0,St.J$)(e)},r,o]},ze=f(78589);const Ot=e=>{const{componentCls:t,iconCls:r,uploadThumbnailSize:o,uploadProgressOffset:i,calc:a}=e,l=`${t}-list`,n=`${l}-item`;return{[`${t}-wrapper`]:{[` + ${l}${l}-picture, + ${l}${l}-picture-card, + ${l}${l}-picture-circle + `]:{[n]:{position:"relative",height:a(o).add(a(e.lineWidth).mul(2)).add(a(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,T.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${n}-thumbnail`]:Object.assign(Object.assign({},me.vS),{width:o,height:o,lineHeight:(0,T.bf)(a(o).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${n}-progress`]:{bottom:i,width:`calc(100% - ${(0,T.bf)(a(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:a(o).add(e.paddingXS).equal()}},[`${n}-error`]:{borderColor:e.colorError,[`${n}-thumbnail ${r}`]:{[`svg path[fill='${ze.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${ze.iN.primary}']`]:{fill:e.colorError}}},[`${n}-uploading`]:{borderStyle:"dashed",[`${n}-name`]:{marginBottom:i}}},[`${l}${l}-picture-circle ${n}`]:{[`&, &::before, ${n}-thumbnail`]:{borderRadius:"50%"}}}}},Dt=e=>{const{componentCls:t,iconCls:r,fontSizeLG:o,colorTextLightSolid:i,calc:a}=e,l=`${t}-list`,n=`${l}-item`,d=e.uploadPicCardSize;return{[` + ${t}-wrapper${t}-picture-card-wrapper, + ${t}-wrapper${t}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,me.dF)()),{display:"block",[`${t}${t}-select`]:{width:d,height:d,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,T.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${l}${l}-picture-card, ${l}${l}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${l}-item-container`]:{display:"inline-block",width:d,height:d,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[n]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,T.bf)(a(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,T.bf)(a(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${n}:hover`]:{[`&::before, ${n}-actions`]:{opacity:1}},[`${n}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` + ${r}-eye, + ${r}-download, + ${r}-delete + `]:{zIndex:10,width:o,margin:`0 ${(0,T.bf)(e.marginXXS)}`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:"baseline"}}},[`${n}-thumbnail, ${n}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${n}-name`]:{display:"none",textAlign:"center"},[`${n}-file + ${n}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,T.bf)(a(e.paddingXS).mul(2).equal())})`},[`${n}-uploading`]:{[`&${n}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${n}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,T.bf)(a(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var Ft=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};const Pt=e=>{const{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,me.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}},xt=e=>({actionsColor:e.colorTextDescription});var Rt=(0,wt.I$)("Upload",e=>{const{fontSizeHeading3:t,fontHeight:r,lineWidth:o,controlHeightLG:i,calc:a}=e,l=(0,$t.TS)(e,{uploadThumbnailSize:a(t).mul(2).equal(),uploadProgressOffset:a(a(r).div(2)).add(o).equal(),uploadPicCardSize:a(i).mul(2.55).equal()});return[Pt(l),Ct(l),Ot(l),Dt(l),It(l),Et(l),Ft(l),(0,yt.Z)(l)]},xt),Zt={icon:function(t,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:r}},{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:t}}]}},name:"file",theme:"twotone"},jt=Zt,ge=f(93771),Lt=function(t,r){return s.createElement(ge.Z,(0,q.Z)({},t,{ref:r,icon:jt}))},Tt=s.forwardRef(Lt),Nt=Tt,He=f(19267),Ut={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"},Mt=Ut,At=function(t,r){return s.createElement(ge.Z,(0,q.Z)({},t,{ref:r,icon:Mt}))},zt=s.forwardRef(At),Ht=zt,Bt={icon:function(t,r){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:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:r}},{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:r}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:r}},{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:t}}]}},name:"picture",theme:"twotone"},Xt=Bt,Vt=function(t,r){return s.createElement(ge.Z,(0,q.Z)({},t,{ref:r,icon:Xt}))},Wt=s.forwardRef(Vt),Gt=Wt,Ee=f(82225),Kt=f(57838),Jt=f(33603),Be=f(96159),Xe=f(14726);function ye(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function we(e,t){const r=(0,oe.Z)(t),o=r.findIndex(i=>{let{uid:a}=i;return a===e.uid});return o===-1?r.push(e):r[o]=e,r}function Oe(e,t){const r=e.uid!==void 0?"uid":"name";return t.filter(o=>o[r]===e[r])[0]}function Yt(e,t){const r=e.uid!==void 0?"uid":"name",o=t.filter(i=>i[r]!==e[r]);return o.length===t.length?null:o}const Qt=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),o=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(o)||[""])[0]},Ve=e=>e.indexOf("image/")===0,qt=e=>{if(e.type&&!e.thumbUrl)return Ve(e.type);const t=e.thumbUrl||e.url||"",r=Qt(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r)?!0:!(/^data:/.test(t)||r)},k=200;function kt(e){return new Promise(t=>{if(!e.type||!Ve(e.type)){t("");return}const r=document.createElement("canvas");r.width=k,r.height=k,r.style.cssText=`position: fixed; left: 0; top: 0; width: ${k}px; height: ${k}px; z-index: 9999; display: none;`,document.body.appendChild(r);const o=r.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:a,height:l}=i;let n=k,d=k,c=0,u=0;a>l?(d=l*(k/a),u=-(d-n)/2):(n=a*(k/l),c=-(n-d)/2),o.drawImage(i,c,u,n,d);const v=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(i.src),t(v)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const a=new FileReader;a.onload=()=>{a.result&&typeof a.result=="string"&&(i.src=a.result)},a.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const a=new FileReader;a.onload=()=>{a.result&&t(a.result)},a.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var _t=f(47046),en=function(t,r){return s.createElement(ge.Z,(0,q.Z)({},t,{ref:r,icon:_t.Z}))},tn=s.forwardRef(en),nn=tn,rn={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"},on=rn,an=function(t,r){return s.createElement(ge.Z,(0,q.Z)({},t,{ref:r,icon:on}))},ln=s.forwardRef(an),sn=ln,cn=f(1208),dn=f(38703),un=f(83062),pn=s.forwardRef((e,t)=>{let{prefixCls:r,className:o,style:i,locale:a,listType:l,file:n,items:d,progress:c,iconRender:u,actionIconRender:v,itemRender:b,isImgUrl:$,showPreviewIcon:R,showRemoveIcon:A,showDownloadIcon:B,previewIcon:D,removeIcon:Z,downloadIcon:j,onPreview:F,onDownload:g,onClose:L}=e;var S,G;const{status:K}=n,[N,_]=s.useState(K);s.useEffect(()=>{K!=="removed"&&_(K)},[K]);const[ae,se]=s.useState(!1);s.useEffect(()=>{const C=setTimeout(()=>{se(!0)},300);return()=>{clearTimeout(C)}},[]);const J=u(n);let ee=s.createElement("div",{className:`${r}-icon`},J);if(l==="picture"||l==="picture-card"||l==="picture-circle")if(N==="uploading"||!n.thumbUrl&&!n.url){const C=z()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:N!=="uploading"});ee=s.createElement("div",{className:C},J)}else{const C=$!=null&&$(n)?s.createElement("img",{src:n.thumbUrl||n.url,alt:n.name,className:`${r}-list-item-image`,crossOrigin:n.crossOrigin}):J,Q=z()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:$&&!$(n)});ee=s.createElement("a",{className:Q,onClick:ue=>F(n,ue),href:n.url||n.thumbUrl,target:"_blank",rel:"noopener noreferrer"},C)}const X=z()(`${r}-list-item`,`${r}-list-item-${N}`),O=typeof n.linkProps=="string"?JSON.parse(n.linkProps):n.linkProps,ce=A?v((typeof Z=="function"?Z(n):Z)||s.createElement(nn,null),()=>L(n),r,a.removeFile,!0):null,de=B&&N==="done"?v((typeof j=="function"?j(n):j)||s.createElement(sn,null),()=>g(n),r,a.downloadFile):null,he=l!=="picture-card"&&l!=="picture-circle"&&s.createElement("span",{key:"download-delete",className:z()(`${r}-list-item-actions`,{picture:l==="picture"})},de,ce),W=z()(`${r}-list-item-name`),te=n.url?[s.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:W,title:n.name},O,{href:n.url,onClick:C=>F(n,C)}),n.name),he]:[s.createElement("span",{key:"view",className:W,onClick:C=>F(n,C),title:n.name},n.name),he],p=R&&(n.url||n.thumbUrl)?s.createElement("a",{href:n.url||n.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:C=>F(n,C),title:a.previewFile},typeof D=="function"?D(n):D||s.createElement(cn.Z,null)):null,E=(l==="picture-card"||l==="picture-circle")&&N!=="uploading"&&s.createElement("span",{className:`${r}-list-item-actions`},p,N==="done"&&de,ce),{getPrefixCls:V}=s.useContext(Se.E_),U=V(),Y=s.createElement("div",{className:X},ee,te,E,ae&&s.createElement(Ee.ZP,{motionName:`${U}-fade`,visible:N==="uploading",motionDeadline:2e3},C=>{let{className:Q}=C;const ue="percent"in n?s.createElement(dn.Z,Object.assign({},c,{type:"line",percent:n.percent,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"]})):null;return s.createElement("div",{className:z()(`${r}-list-item-progress`,Q)},ue)})),ne=n.response&&typeof n.response=="string"?n.response:((S=n.error)===null||S===void 0?void 0:S.statusText)||((G=n.error)===null||G===void 0?void 0:G.message)||a.uploadError,re=N==="error"?s.createElement(un.Z,{title:ne,getPopupContainer:C=>C.parentNode},Y):Y;return s.createElement("div",{className:z()(`${r}-list-item-container`,o),style:i,ref:t},b?b(re,n,d,{download:g.bind(null,n),preview:F.bind(null,n),remove:L.bind(null,n)}):re)});const fn=(e,t)=>{const{listType:r="text",previewFile:o=kt,onPreview:i,onDownload:a,onRemove:l,locale:n,iconRender:d,isImageUrl:c=qt,prefixCls:u,items:v=[],showPreviewIcon:b=!0,showRemoveIcon:$=!0,showDownloadIcon:R=!1,removeIcon:A,previewIcon:B,downloadIcon:D,progress:Z={size:[-1,2],showInfo:!1},appendAction:j,appendActionVisible:F=!0,itemRender:g,disabled:L}=e,S=(0,Kt.Z)(),[G,K]=s.useState(!1);s.useEffect(()=>{r!=="picture"&&r!=="picture-card"&&r!=="picture-circle"||(v||[]).forEach(p=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(p.originFileObj instanceof File||p.originFileObj)||p.thumbUrl!==void 0||o&&o(p.originFileObj).then(E=>{p.thumbUrl=E||"",S()})})},[r,v,o]),s.useEffect(()=>{K(!0)},[]);const N=(p,E)=>{if(!!i)return E==null||E.preventDefault(),i(p)},_=p=>{typeof a=="function"?a(p):p.url&&window.open(p.url)},ae=p=>{l==null||l(p)},se=p=>{if(d)return d(p,r);const E=p.status==="uploading",V=c&&c(p)?s.createElement(Gt,null):s.createElement(Nt,null);let U=E?s.createElement(He.Z,null):s.createElement(Ht,null);return r==="picture"?U=E?s.createElement(He.Z,null):V:(r==="picture-card"||r==="picture-circle")&&(U=E?n.uploading:V),U},J=(p,E,V,U,Y)=>{const ne={type:"text",size:"small",title:U,onClick:re=>{var C,Q;E(),s.isValidElement(p)&&((Q=(C=p.props).onClick)===null||Q===void 0||Q.call(C,re))},className:`${V}-list-item-action`};if(Y&&(ne.disabled=L),s.isValidElement(p)){const re=(0,Be.Tm)(p,Object.assign(Object.assign({},p.props),{onClick:()=>{}}));return s.createElement(Xe.ZP,Object.assign({},ne,{icon:re}))}return s.createElement(Xe.ZP,Object.assign({},ne),s.createElement("span",null,p))};s.useImperativeHandle(t,()=>({handlePreview:N,handleDownload:_}));const{getPrefixCls:ee}=s.useContext(Se.E_),X=ee("upload",u),O=ee(),ce=z()(`${X}-list`,`${X}-list-${r}`),de=(0,oe.Z)(v.map(p=>({key:p.uid,file:p})));let W={motionDeadline:2e3,motionName:`${X}-${r==="picture-card"||r==="picture-circle"?"animate-inline":"animate"}`,keys:de,motionAppear:G};const te=s.useMemo(()=>{const p=Object.assign({},(0,Jt.Z)(O));return delete p.onAppearEnd,delete p.onEnterEnd,delete p.onLeaveEnd,p},[O]);return r!=="picture-card"&&r!=="picture-circle"&&(W=Object.assign(Object.assign({},te),W)),s.createElement("div",{className:ce},s.createElement(Ee.V4,Object.assign({},W,{component:!1}),p=>{let{key:E,file:V,className:U,style:Y}=p;return s.createElement(pn,{key:E,locale:n,prefixCls:X,className:U,style:Y,file:V,items:v,progress:Z,listType:r,isImgUrl:c,showPreviewIcon:b,showRemoveIcon:$,showDownloadIcon:R,removeIcon:A,previewIcon:B,downloadIcon:D,iconRender:se,actionIconRender:J,itemRender:g,onPreview:N,onDownload:_,onClose:ae})}),j&&s.createElement(Ee.ZP,Object.assign({},W,{visible:F,forceRender:!0}),p=>{let{className:E,style:V}=p;return(0,Be.Tm)(j,U=>({className:z()(U.className,E),style:Object.assign(Object.assign(Object.assign({},V),{pointerEvents:E?"none":void 0}),U.style)}))}))};var mn=s.forwardRef(fn),gn=function(e,t,r,o){function i(a){return a instanceof r?a:new r(function(l){l(a)})}return new(r||(r=Promise))(function(a,l){function n(u){try{c(o.next(u))}catch(v){l(v)}}function d(u){try{c(o.throw(u))}catch(v){l(v)}}function c(u){u.done?a(u.value):i(u.value).then(n,d)}c((o=o.apply(e,t||[])).next())})};const ve=`__LIST_IGNORE_${Date.now()}__`,vn=(e,t)=>{const{fileList:r,defaultFileList:o,onRemove:i,showUploadList:a=!0,listType:l="text",onPreview:n,onDownload:d,onChange:c,onDrop:u,previewFile:v,disabled:b,locale:$,iconRender:R,isImageUrl:A,progress:B,prefixCls:D,className:Z,type:j="select",children:F,style:g,itemRender:L,maxCount:S,data:G={},multiple:K=!1,hasControlInside:N=!0,action:_="",accept:ae="",supportServerRender:se=!0,rootClassName:J}=e,ee=s.useContext(vt.Z),X=b!=null?b:ee,[O,ce]=(0,gt.Z)(o||[],{value:r,postState:m=>m!=null?m:[]}),[de,he]=s.useState("drop"),W=s.useRef(null),te=s.useRef(null);s.useMemo(()=>{const m=Date.now();(r||[]).forEach((y,I)=>{!y.uid&&!Object.isFrozen(y)&&(y.uid=`__AUTO__${m}_${I}__`)})},[r]);const p=(m,y,I)=>{let h=(0,oe.Z)(y),w=!1;S===1?h=h.slice(-1):S&&(w=h.length>S,h=h.slice(0,S)),(0,Re.flushSync)(()=>{ce(h)});const M={file:m,fileList:h};I&&(M.event=I),(!w||m.status==="removed"||h.some(ie=>ie.uid===m.uid))&&(0,Re.flushSync)(()=>{c==null||c(M)})},E=(m,y)=>gn(void 0,void 0,void 0,function*(){const{beforeUpload:I,transformFile:h}=e;let w=m;if(I){const M=yield I(m,y);if(M===!1)return!1;if(delete m[ve],M===ve)return Object.defineProperty(m,ve,{value:!0,configurable:!0}),!1;typeof M=="object"&&M&&(w=M)}return h&&(w=yield h(w)),w}),V=m=>{const y=m.filter(w=>!w.file[ve]);if(!y.length)return;const I=y.map(w=>ye(w.file));let h=(0,oe.Z)(O);I.forEach(w=>{h=we(w,h)}),I.forEach((w,M)=>{let ie=w;if(y[M].parsedFile)w.status="uploading";else{const{originFileObj:fe}=w;let le;try{le=new File([fe],fe.name,{type:fe.type})}catch(An){le=new Blob([fe],{type:fe.type}),le.name=fe.name,le.lastModifiedDate=new Date,le.lastModified=new Date().getTime()}le.uid=w.uid,ie=le}p(ie,h)})},U=(m,y,I)=>{try{typeof m=="string"&&(m=JSON.parse(m))}catch(M){}if(!Oe(y,O))return;const h=ye(y);h.status="done",h.percent=100,h.response=m,h.xhr=I;const w=we(h,O);p(h,w)},Y=(m,y)=>{if(!Oe(y,O))return;const I=ye(y);I.status="uploading",I.percent=m.percent;const h=we(I,O);p(I,h,m)},ne=(m,y,I)=>{if(!Oe(I,O))return;const h=ye(I);h.error=m,h.response=y,h.status="error";const w=we(h,O);p(h,w)},re=m=>{let y;Promise.resolve(typeof i=="function"?i(m):i).then(I=>{var h;if(I===!1)return;const w=Yt(m,O);w&&(y=Object.assign(Object.assign({},m),{status:"removed"}),O==null||O.forEach(M=>{const ie=y.uid!==void 0?"uid":"name";M[ie]===y[ie]&&!Object.isFrozen(M)&&(M.status="removed")}),(h=W.current)===null||h===void 0||h.abort(y),p(y,w))})},C=m=>{he(m.type),m.type==="drop"&&(u==null||u(m))};s.useImperativeHandle(t,()=>({onBatchStart:V,onSuccess:U,onProgress:Y,onError:ne,fileList:O,upload:W.current,nativeElement:te.current}));const{getPrefixCls:Q,direction:ue,upload:pe}=s.useContext(Se.E_),P=Q("upload",D),be=Object.assign(Object.assign({onBatchStart:V,onError:ne,onProgress:Y,onSuccess:U},e),{data:G,multiple:K,action:_,accept:ae,supportServerRender:se,prefixCls:P,disabled:X,beforeUpload:E,onChange:void 0,hasControlInside:N});delete be.className,delete be.style,(!F||X)&&delete be.id;const Ge=`${P}-wrapper`,[Fe,Ke,wn]=Rt(P,Ge),[$n]=(0,ht.Z)("Upload",bt.Z.Upload),{showRemoveIcon:Je,showPreviewIcon:Cn,showDownloadIcon:In,removeIcon:Sn,previewIcon:En,downloadIcon:On}=typeof a=="boolean"?{}:a,Dn=typeof Je=="undefined"?!X:!!Je,Pe=(m,y)=>a?s.createElement(mn,{prefixCls:P,listType:l,items:O,previewFile:v,onPreview:n,onDownload:d,onRemove:re,showRemoveIcon:Dn,showPreviewIcon:Cn,showDownloadIcon:In,removeIcon:Sn,previewIcon:En,downloadIcon:On,iconRender:R,locale:Object.assign(Object.assign({},$n),$),isImageUrl:A,progress:B,appendAction:m,appendActionVisible:y,itemRender:L,disabled:X}):m,xe=z()(Ge,Z,J,Ke,wn,pe==null?void 0:pe.className,{[`${P}-rtl`]:ue==="rtl",[`${P}-picture-card-wrapper`]:l==="picture-card",[`${P}-picture-circle-wrapper`]:l==="picture-circle"}),Fn=Object.assign(Object.assign({},pe==null?void 0:pe.style),g);if(j==="drag"){const m=z()(Ke,P,`${P}-drag`,{[`${P}-drag-uploading`]:O.some(y=>y.status==="uploading"),[`${P}-drag-hover`]:de==="dragover",[`${P}-disabled`]:X,[`${P}-rtl`]:ue==="rtl"});return Fe(s.createElement("span",{className:xe,ref:te},s.createElement("div",{className:m,style:Fn,onDrop:C,onDragOver:C,onDragLeave:C},s.createElement(Ae,Object.assign({},be,{ref:W,className:`${P}-btn`}),s.createElement("div",{className:`${P}-drag-container`},F))),Pe()))}const Pn=z()(P,`${P}-select`,{[`${P}-disabled`]:X}),Ye=s.createElement("div",{className:Pn,style:F?void 0:{display:"none"}},s.createElement(Ae,Object.assign({},be,{ref:W})));return Fe(l==="picture-card"||l==="picture-circle"?s.createElement("span",{className:xe,ref:te},Pe(Ye,!!F)):s.createElement("span",{className:xe,ref:te},Ye,Pe()))};var We=s.forwardRef(vn),hn=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i{var{style:r,height:o,hasControlInside:i=!1}=e,a=hn(e,["style","height","hasControlInside"]);return s.createElement(We,Object.assign({ref:t,hasControlInside:i},a,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))});const De=We;De.Dragger=bn,De.LIST_IGNORE=ve;var yn=De}}]); diff --git a/statics/6510.4ab6ae27.async.js b/statics/6510.4ab6ae27.async.js deleted file mode 100644 index 92d3bffe..00000000 --- a/statics/6510.4ab6ae27.async.js +++ /dev/null @@ -1,145 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6510],{65429:function(re,M,s){"use strict";s.d(M,{Z:function(){return U}});var b=s(1413),V=s(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},k=c,R=s(84089),N=function(P,ee){return V.createElement(R.Z,(0,b.Z)((0,b.Z)({},P),{},{ref:ee,icon:k}))};N.displayName="LikeOutlined";var U=V.forwardRef(N)},10142:function(){"use strict"},93379:function(re){var M={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};re.exports=function(s,b){return typeof b=="number"&&!M[s]?b+"px":b}},15045:function(re,M,s){"use strict";s.d(M,{Z:function(){return le}});var b=s(62994),V=s(94184),c=s.n(V),k=s(4942),R=s(74902),N=s(15671),U=s(43144),ae=s(32531),P=s(51630),ee=s(71002),F=s(50344),L=s(67294),te=s(96774),ie=s.n(te),Le=s(87462),Te=s(45987),Oe=s(62874),Fe=s(97685),Ae=L.forwardRef(function(x,m){var G,B=x.prefixCls,D=x.forceRender,q=x.className,J=x.style,Q=x.children,_=x.isActive,se=x.role,ce=L.useState(_||D),ue=(0,Fe.Z)(ce,2),De=ue[0],Ce=ue[1];return L.useEffect(function(){(D||_)&&Ce(!0)},[D,_]),De?L.createElement("div",{ref:m,className:c()("".concat(B,"-content"),(G={},(0,k.Z)(G,"".concat(B,"-content-active"),_),(0,k.Z)(G,"".concat(B,"-content-inactive"),!_),G),q),style:J,role:se},L.createElement("div",{className:"".concat(B,"-content-box")},Q)):null});Ae.displayName="PanelContent";var me=Ae,xe=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],j=function(x){(0,ae.Z)(G,x);var m=(0,P.Z)(G);function G(){var B;(0,N.Z)(this,G);for(var D=arguments.length,q=new Array(D),J=0;J-1;ue?se.splice(ce,1):se.push(_)}D.setActiveKey(se)},D.getNewChild=function(_,se){if(!_)return null;var ce=D.state.activeKey,ue=D.props,De=ue.prefixCls,Ce=ue.openMotion,de=ue.accordion,He=ue.destroyInactivePanel,Me=ue.expandIcon,Ee=ue.collapsible,ne=_.key||String(se),Pe=_.props,ke=Pe.header,Ze=Pe.headerClass,je=Pe.destroyInactivePanel,Re=Pe.collapsible,_e=!1;de?_e=ce[0]===ne:_e=ce.indexOf(ne)>-1;var et=Re!=null?Re:Ee,Ne={key:ne,panelKey:ne,header:ke,headerClass:Ze,isActive:_e,prefixCls:De,destroyInactivePanel:je!=null?je:He,openMotion:Ce,accordion:de,children:_.props.children,onItemClick:et==="disabled"?null:D.onClickItem,expandIcon:Me,collapsible:et};return typeof _.type=="string"?_:(Object.keys(Ne).forEach(function(Je){typeof Ne[Je]=="undefined"&&delete Ne[Je]}),L.cloneElement(_,Ne))},D.getItems=function(){var _=D.props.children;return(0,F.Z)(_).map(D.getNewChild)},D.setActiveKey=function(_){"activeKey"in D.props||D.setState({activeKey:_}),D.props.onChange(D.props.accordion?_[0]:_)};var q=B.activeKey,J=B.defaultActiveKey,Q=J;return"activeKey"in B&&(Q=q),D.state={activeKey:T(Q)},D}return(0,U.Z)(G,[{key:"shouldComponentUpdate",value:function(D,q){return!ie()(this.props,D)||!ie()(this.state,q)}},{key:"render",value:function(){var D,q=this.props,J=q.prefixCls,Q=q.className,_=q.style,se=q.accordion,ce=c()((D={},(0,k.Z)(D,J,!0),(0,k.Z)(D,Q,!!Q),D));return L.createElement("div",{className:ce,style:_,role:se?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(D){var q={};return"activeKey"in D&&(q.activeKey=T(D.activeKey)),q}}]),G}(L.Component);W.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},W.Panel=$e;var z=W,H=z,S=z.Panel,w=s(98423),g=s(53124),a=s(33603),d=s(96159),C=x=>{const{getPrefixCls:m}=L.useContext(g.E_),{prefixCls:G,className:B="",showArrow:D=!0}=x,q=m("collapse",G),J=c()({[`${q}-no-arrow`]:!D},B);return L.createElement(H.Panel,Object.assign({},x,{prefixCls:q,className:J}))},i=s(33507),A=s(67968),Z=s(45503),u=s(14747);const y=x=>{const{componentCls:m,collapseContentBg:G,padding:B,collapseContentPaddingHorizontal:D,collapseHeaderBg:q,collapseHeaderPadding:J,collapsePanelBorderRadius:Q,lineWidth:_,lineType:se,colorBorder:ce,colorText:ue,colorTextHeading:De,colorTextDisabled:Ce,fontSize:de,lineHeight:He,marginSM:Me,paddingSM:Ee,motionDurationSlow:ne,fontSizeIcon:Pe}=x,ke=`${_}px ${se} ${ce}`;return{[m]:Object.assign(Object.assign({},(0,u.Wf)(x)),{backgroundColor:q,border:ke,borderBottom:0,borderRadius:`${Q}px`,["&-rtl"]:{direction:"rtl"},[`& > ${m}-item`]:{borderBottom:ke,["&:last-child"]:{[` - &, - & > ${m}-header`]:{borderRadius:`0 0 ${Q}px ${Q}px`}},[`> ${m}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:J,color:De,lineHeight:He,cursor:"pointer",transition:`all ${ne}, visibility 0s`,[`> ${m}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${m}-expand-icon`]:{height:de*He,display:"flex",alignItems:"center",paddingInlineEnd:Me},[`${m}-arrow`]:Object.assign(Object.assign({},(0,u.Ro)()),{fontSize:Pe,svg:{transition:`transform ${ne}`}}),[`${m}-header-text`]:{marginInlineEnd:"auto"}},[`${m}-header-collapsible-only`]:{cursor:"default",[`${m}-header-text`]:{flex:"none",cursor:"pointer"}},[`${m}-icon-collapsible-only`]:{cursor:"default",[`${m}-expand-icon`]:{cursor:"pointer"}},[`&${m}-no-arrow`]:{[`> ${m}-header`]:{paddingInlineStart:Ee}}},[`${m}-content`]:{color:ue,backgroundColor:G,borderTop:ke,[`& > ${m}-content-box`]:{padding:`${B}px ${D}px`},["&-hidden"]:{display:"none"}},[`${m}-item:last-child`]:{[`> ${m}-content`]:{borderRadius:`0 0 ${Q}px ${Q}px`}},[`& ${m}-item-disabled > ${m}-header`]:{[` - &, - & > .arrow - `]:{color:Ce,cursor:"not-allowed"}},[`&${m}-icon-position-end`]:{[`& > ${m}-item`]:{[`> ${m}-header`]:{[`${m}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Me}}}}})}},h=x=>{const{componentCls:m}=x,G=`> ${m}-item > ${m}-header ${m}-arrow svg`;return{[`${m}-rtl`]:{[G]:{transform:"rotate(180deg)"}}}},f=x=>{const{componentCls:m,collapseHeaderBg:G,paddingXXS:B,colorBorder:D}=x;return{[`${m}-borderless`]:{backgroundColor:G,border:0,[`> ${m}-item`]:{borderBottom:`1px solid ${D}`},[` - > ${m}-item:last-child, - > ${m}-item:last-child ${m}-header - `]:{borderRadius:0},[`> ${m}-item:last-child`]:{borderBottom:0},[`> ${m}-item > ${m}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${m}-item > ${m}-content > ${m}-content-box`]:{paddingTop:B}}}},E=x=>{const{componentCls:m,paddingSM:G}=x;return{[`${m}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${m}-item`]:{borderBottom:0,[`> ${m}-content`]:{backgroundColor:"transparent",border:0,[`> ${m}-content-box`]:{paddingBlock:G}}}}}};var X=(0,A.Z)("Collapse",x=>{const m=(0,Z.TS)(x,{collapseContentBg:x.colorBgContainer,collapseHeaderBg:x.colorFillAlter,collapseHeaderPadding:`${x.paddingSM}px ${x.padding}px`,collapsePanelBorderRadius:x.borderRadiusLG,collapseContentPaddingHorizontal:16});return[y(m),f(m),E(m),h(m),(0,i.Z)(m)]});const oe=x=>{const{getPrefixCls:m,direction:G}=L.useContext(g.E_),{prefixCls:B,className:D="",bordered:q=!0,ghost:J,expandIconPosition:Q="start"}=x,_=m("collapse",B),se=m(),[ce,ue]=X(_),De=L.useMemo(()=>Q==="left"?"start":Q==="right"?"end":Q,[Q]),Ce=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{expandIcon:ne}=x,Pe=ne?ne(Ee):L.createElement(b.Z,{rotate:Ee.isActive?90:void 0});return(0,d.Tm)(Pe,()=>({className:c()(Pe.props.className,`${_}-arrow`)}))},de=c()(`${_}-icon-position-${De}`,{[`${_}-borderless`]:!q,[`${_}-rtl`]:G==="rtl",[`${_}-ghost`]:!!J},D,ue),He=Object.assign(Object.assign({},(0,a.ZP)(se)),{motionAppear:!1,leavedClassName:`${_}-content-hidden`}),Me=()=>{const{children:Ee}=x;return(0,F.Z)(Ee).map((ne,Pe)=>{var ke;if(!((ke=ne.props)===null||ke===void 0)&&ke.disabled){const Ze=ne.key||String(Pe),{disabled:je,collapsible:Re}=ne.props,_e=Object.assign(Object.assign({},(0,w.Z)(ne.props,["disabled"])),{key:Ze,collapsible:Re!=null?Re:je?"disabled":void 0});return(0,d.Tm)(ne,_e)}return ne})};return ce(L.createElement(H,Object.assign({openMotion:He},x,{expandIcon:Ce,prefixCls:_,className:de}),Me()))};oe.Panel=C;var he=oe,le=he},55054:function(re,M,s){"use strict";s.d(M,{Z:function(){return T}});var b=s(94184),V=s.n(b),c=s(67294),k=s(53124),R=s(99559),U=W=>{const{value:z,formatter:H,precision:S,decimalSeparator:w,groupSeparator:g="",prefixCls:a}=W;let d;if(typeof H=="function")d=H(z);else{const p=String(z),C=p.match(/^(-?)(\d*)(\.(\d+))?$/);if(!C||p==="-")d=p;else{const i=C[1];let A=C[2]||"0",Z=C[4]||"";A=A.replace(/\B(?=(\d{3})+(?!\d))/g,g),typeof S=="number"&&(Z=Z.padEnd(S,"0").slice(0,S>0?S:0)),Z&&(Z=`${w}${Z}`),d=[c.createElement("span",{key:"int",className:`${a}-content-value-int`},i,A),Z&&c.createElement("span",{key:"decimal",className:`${a}-content-value-decimal`},Z)]}}return c.createElement("span",{className:`${a}-content-value`},d)},ae=s(67968),P=s(45503),ee=s(14747);const F=W=>{const{componentCls:z,marginXXS:H,padding:S,colorTextDescription:w,statisticTitleFontSize:g,colorTextHeading:a,statisticContentFontSize:d,statisticFontFamily:p}=W;return{[`${z}`]:Object.assign(Object.assign({},(0,ee.Wf)(W)),{[`${z}-title`]:{marginBottom:H,color:w,fontSize:g},[`${z}-skeleton`]:{paddingTop:S},[`${z}-content`]:{color:a,fontSize:d,fontFamily:p,[`${z}-content-value`]:{display:"inline-block",direction:"ltr"},[`${z}-content-prefix, ${z}-content-suffix`]:{display:"inline-block"},[`${z}-content-prefix`]:{marginInlineEnd:H},[`${z}-content-suffix`]:{marginInlineStart:H}}})}};var L=(0,ae.Z)("Statistic",W=>{const{fontSizeHeading3:z,fontSize:H,fontFamily:S}=W,w=(0,P.TS)(W,{statisticTitleFontSize:H,statisticContentFontSize:z,statisticFontFamily:S});return[F(w)]}),te=s(57838),ie=s(96159);const Le=[["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 Te(W,z){let H=W;const S=/\[[^\]]*]/g,w=(z.match(S)||[]).map(p=>p.slice(1,-1)),g=z.replace(S,"[]"),a=Le.reduce((p,C)=>{let[i,A]=C;if(p.includes(i)){const Z=Math.floor(H/A);return H-=Z*A,p.replace(new RegExp(`${i}+`,"g"),u=>{const y=u.length;return Z.toString().padStart(y,"0")})}return p},g);let d=0;return a.replace(S,()=>{const p=w[d];return d+=1,p})}function Oe(W,z){const{format:H=""}=z,S=new Date(W).getTime(),w=Date.now(),g=Math.max(S-w,0);return Te(g,H)}const Fe=1e3/30;function Ae(W){return new Date(W).getTime()}const me=W=>{const{value:z,format:H="HH:mm:ss",onChange:S,onFinish:w}=W,g=(0,te.Z)(),a=c.useRef(null),d=()=>{w==null||w(),a.current&&(clearInterval(a.current),a.current=null)},p=()=>{const A=Ae(z);A>=Date.now()&&(a.current=setInterval(()=>{g(),S==null||S(A-Date.now()),A(p(),()=>{a.current&&(clearInterval(a.current),a.current=null)}),[z]);const C=(A,Z)=>Oe(A,Object.assign(Object.assign({},Z),{format:H})),i=A=>(0,ie.Tm)(A,{title:void 0});return c.createElement($e,Object.assign({},W,{valueRender:i,formatter:C}))};var xe=c.memo(me);const j=W=>{const{prefixCls:z,className:H,style:S,valueStyle:w,value:g=0,title:a,valueRender:d,prefix:p,suffix:C,loading:i=!1,onMouseEnter:A,onMouseLeave:Z,decimalSeparator:u=".",groupSeparator:y=","}=W,{getPrefixCls:h,direction:f}=c.useContext(k.E_),E=h("statistic",z),[X,oe]=L(E),he=c.createElement(U,Object.assign({decimalSeparator:u,groupSeparator:y,prefixCls:E},W,{value:g})),le=V()(E,{[`${E}-rtl`]:f==="rtl"},H,oe);return X(c.createElement("div",{className:le,style:S,onMouseEnter:A,onMouseLeave:Z},a&&c.createElement("div",{className:`${E}-title`},a),c.createElement(R.Z,{paragraph:!1,loading:i,className:`${E}-skeleton`},c.createElement("div",{style:w,className:`${E}-content`},p&&c.createElement("span",{className:`${E}-content-prefix`},p),d?d(he):he,C&&c.createElement("span",{className:`${E}-content-suffix`},C)))))};j.Countdown=xe;var $e=j,T=$e},51904:function(re,M,s){"use strict";s.d(M,{Z:function(){return $e}});var b=s(62208),V=s(94184),c=s.n(V),k=s(67294),R=s(53124),N=s(98787),U=s(45353),ae=s(67968),P=s(45503);function ee(T){return typeof T!="string"?T:T.charAt(0).toUpperCase()+T.slice(1)}var F=s(63443),L=s(14747);const te=(T,W,z)=>{const H=ee(z);return{[`${T.componentCls}-${W}`]:{color:T[`color${z}`],background:T[`color${H}Bg`],borderColor:T[`color${H}Border`]}}},ie=T=>(0,F.j)(T,(W,z)=>{let{textColor:H,lightBorderColor:S,lightColor:w,darkColor:g}=z;return{[`${T.componentCls}-${W}`]:{color:H,background:w,borderColor:S,"&-inverse":{color:T.colorTextLightSolid,background:g,borderColor:g}}}}),Le=T=>{const{paddingXXS:W,lineWidth:z,tagPaddingHorizontal:H,componentCls:S}=T,w=H-z,g=W-z;return{[S]:Object.assign(Object.assign({},(0,L.Wf)(T)),{display:"inline-block",height:"auto",marginInlineEnd:T.marginXS,paddingInline:w,fontSize:T.tagFontSize,lineHeight:`${T.tagLineHeight}px`,whiteSpace:"nowrap",background:T.tagDefaultBg,border:`${T.lineWidth}px ${T.lineType} ${T.colorBorder}`,borderRadius:T.borderRadiusSM,opacity:1,transition:`all ${T.motionDurationMid}`,textAlign:"start",[`&${S}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:T.tagDefaultColor},[`${S}-close-icon`]:{marginInlineStart:g,color:T.colorTextDescription,fontSize:T.tagIconSize,cursor:"pointer",transition:`all ${T.motionDurationMid}`,"&:hover":{color:T.colorTextHeading}},[`&${S}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${T.iconCls}-close, ${T.iconCls}-close:hover`]:{color:T.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${S}-checkable-checked):hover`]:{color:T.colorPrimary,backgroundColor:T.colorFillSecondary},"&:active, &-checked":{color:T.colorTextLightSolid},"&-checked":{backgroundColor:T.colorPrimary,"&:hover":{backgroundColor:T.colorPrimaryHover}},"&:active":{backgroundColor:T.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${T.iconCls} + span, > span + ${T.iconCls}`]:{marginInlineStart:w}})}};var Te=(0,ae.Z)("Tag",T=>{const{fontSize:W,lineHeight:z,lineWidth:H,fontSizeIcon:S}=T,w=Math.round(W*z),g=T.fontSizeSM,a=w-H*2,d=T.colorFillAlter,p=T.colorText,C=(0,P.TS)(T,{tagFontSize:g,tagLineHeight:a,tagDefaultBg:d,tagDefaultColor:p,tagIconSize:S-2*H,tagPaddingHorizontal:8});return[Le(C),ie(C),te(C,"success","Success"),te(C,"processing","Info"),te(C,"error","Error"),te(C,"warning","Warning")]}),Oe=function(T,W){var z={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&W.indexOf(H)<0&&(z[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,H=Object.getOwnPropertySymbols(T);S{var{prefixCls:W,className:z,checked:H,onChange:S,onClick:w}=T,g=Oe(T,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:a}=k.useContext(R.E_),d=Z=>{S==null||S(!H),w==null||w(Z)},p=a("tag",W),[C,i]=Te(p),A=c()(p,{[`${p}-checkable`]:!0,[`${p}-checkable-checked`]:H},z,i);return C(k.createElement("span",Object.assign({},g,{className:A,onClick:d})))},me=function(T,W){var z={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&W.indexOf(H)<0&&(z[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,H=Object.getOwnPropertySymbols(T);S{var{prefixCls:z,className:H,style:S,children:w,icon:g,color:a,onClose:d,closeIcon:p,closable:C=!1}=T,i=me(T,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:A,direction:Z}=k.useContext(R.E_),[u,y]=k.useState(!0);k.useEffect(()=>{"visible"in i&&y(i.visible)},[i.visible]);const h=(0,N.o2)(a)||(0,N.yT)(a),f=Object.assign({backgroundColor:a&&!h?a:void 0},S),E=A("tag",z),[X,oe]=Te(E),he=c()(E,{[`${E}-${a}`]:h,[`${E}-has-color`]:a&&!h,[`${E}-hidden`]:!u,[`${E}-rtl`]:Z==="rtl"},H,oe),le=q=>{q.stopPropagation(),d==null||d(q),!q.defaultPrevented&&y(!1)},x=()=>C?p?k.createElement("span",{className:`${E}-close-icon`,onClick:le},p):k.createElement(b.Z,{className:`${E}-close-icon`,onClick:le}):null,m=typeof i.onClick=="function"||w&&w.type==="a",G=g||null,B=G?k.createElement(k.Fragment,null,G,k.createElement("span",null,w)):w,D=k.createElement("span",Object.assign({},i,{ref:W,className:he,style:f}),B,x());return X(m?k.createElement(U.Z,null,D):D)},j=k.forwardRef(xe);j.CheckableTag=Ae;var $e=j},53879:function(re,M,s){var b=s(87236),V=s(6189),c={float:"cssFloat"},k=s(93379);function R(P,ee,F){var L=c[ee];if(typeof L=="undefined"&&(L=U(ee)),L){if(F===void 0)return P.style[L];P.style[L]=k(L,F)}}function N(P,ee){for(var F in ee)ee.hasOwnProperty(F)&&R(P,F,ee[F])}function U(P){var ee=V(P),F=b(ee);return c[ee]=c[P]=c[F]=F,F}function ae(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:N(arguments[0],arguments[1]):R(arguments[0],arguments[1],arguments[2])}re.exports=ae,re.exports.set=ae,re.exports.get=function(P,ee){return Array.isArray(ee)?ee.reduce(function(F,L){return F[L]=R(P,L||""),F},{}):R(P,ee||"")}},75:function(re,M,s){var b=s(34155);(function(){var V,c,k,R,N,U;typeof performance!="undefined"&&performance!==null&&performance.now?re.exports=function(){return performance.now()}:typeof b!="undefined"&&b!==null&&b.hrtime?(re.exports=function(){return(V()-N)/1e6},c=b.hrtime,V=function(){var ae;return ae=c(),ae[0]*1e9+ae[1]},R=V(),U=b.uptime()*1e9,N=R-U):Date.now?(re.exports=function(){return Date.now()-k},k=Date.now()):(re.exports=function(){return new Date().getTime()-k},k=new Date().getTime())}).call(this)},87236:function(re){var M=null,s=["Webkit","Moz","O","ms"];re.exports=function(V){M||(M=document.createElement("div"));var c=M.style;if(V in c)return V;for(var k=V.charAt(0).toUpperCase()+V.slice(1),R=s.length;R>=0;R--){var N=s[R]+k;if(N in c)return N}return!1}},54087:function(re,M,s){for(var b=s(75),V=typeof window=="undefined"?s.g:window,c=["moz","webkit"],k="AnimationFrame",R=V["request"+k],N=V["cancel"+k]||V["cancelRequest"+k],U=0;!R&&U=this.getNumEmptyDaysAtStart()+this.getDateDifferenceInDays();if(oe&&!this.props.showOutOfRangeDays)return null;var he=this.getSquareCoordinates(f),le=L(he,2),x=le[0],m=le[1],G=this.getValueForIndex(E),B=b.createElement("rect",N({key:E,width:C,height:C,x,y:m,className:this.getClassNameForIndex(E),onClick:function(){return X.handleClick(G)},onMouseOver:function(J){return X.handleMouseOver(J,G)},onMouseLeave:function(J){return X.handleMouseLeave(J,G)}},this.getTooltipDataAttrsForIndex(E)),b.createElement("title",null,this.getTitleForIndex(E))),D=this.props.transformDayElement;return D?D(B,G,E):B}},{key:"renderWeek",value:function(f){var E=this;return b.createElement("g",{key:f,transform:this.getTransformForWeek(f),className:"".concat(A,"week")},p(z).map(function(X){return E.renderSquare(X,f*z+X)}))}},{key:"renderAllWeeks",value:function(){var f=this;return p(this.getWeekCount()).map(function(E){return f.renderWeek(E)})}},{key:"renderMonthLabels",value:function(){var f=this;if(!this.props.showMonthLabels)return null;var E=p(this.getWeekCount()-1);return E.map(function(X){var oe=w(f.getStartDateWithEmptyDays(),(X+1)*z),he=f.getMonthLabelCoordinates(X),le=L(he,2),x=le[0],m=le[1];return oe.getDate()>=1&&oe.getDate()<=z?b.createElement("text",{key:X,x,y:m,className:"".concat(A,"month-label")},f.props.monthLabels[oe.getMonth()]):null})}},{key:"renderWeekdayLabels",value:function(){var f=this;return this.props.showWeekdayLabels?this.props.weekdayLabels.map(function(E,X){var oe=f.getWeekdayLabelCoordinates(X),he=L(oe,2),le=he[0],x=he[1],m="".concat(f.props.horizontal?"":"".concat(A,"small-text")," ").concat(A,"weekday-label");return X&1?b.createElement("text",{key:"".concat(le).concat(x),x:le,y:x,className:m},E):null}):null}},{key:"render",value:function(){return this.valueCache=this.getValueCache(this.props),b.createElement("svg",{className:"react-calendar-heatmap",viewBox:this.getViewBox()},b.createElement("g",{transform:this.getTransformForMonthLabels(),className:"".concat(A,"month-labels")},this.renderMonthLabels()),b.createElement("g",{transform:this.getTransformForAllWeeks(),className:"".concat(A,"all-weeks")},this.renderAllWeeks()),b.createElement("g",{transform:this.getTransformForWeekdayLabels(),className:"".concat(A,"weekday-labels")},this.renderWeekdayLabels()))}}]),y}(b.Component);return Z.propTypes={values:j.arrayOf(j.shape({date:j.oneOfType([j.string,j.number,j.instanceOf(Date)]).isRequired}).isRequired).isRequired,numDays:j.number,startDate:j.oneOfType([j.string,j.number,j.instanceOf(Date)]),endDate:j.oneOfType([j.string,j.number,j.instanceOf(Date)]),gutterSize:j.number,horizontal:j.bool,showMonthLabels:j.bool,showWeekdayLabels:j.bool,showOutOfRangeDays:j.bool,tooltipDataAttrs:j.oneOfType([j.object,j.func]),titleForValue:j.func,classForValue:j.func,monthLabels:j.arrayOf(j.string),weekdayLabels:j.arrayOf(j.string),onClick:j.func,onMouseOver:j.func,onMouseLeave:j.func,transformDayElement:j.func},Z.defaultProps={numDays:null,startDate:d(200),endDate:new Date,gutterSize:1,horizontal:!0,showMonthLabels:!0,showWeekdayLabels:!1,showOutOfRangeDays:!1,tooltipDataAttrs:null,titleForValue:null,classForValue:function(y){return y?"color-filled":"color-empty"},monthLabels:H,weekdayLabels:S,onClick:null,onMouseOver:null,onMouseLeave:null,transformDayElement:null},Z})},88682:function(re,M,s){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var b=Object.assign||function(F){for(var L=1;L=0||!Object.prototype.hasOwnProperty.call(F,ie)||(te[ie]=F[ie]);return te}function N(F){return c.default.createElement("div",F)}function U(F){var L=F.style,te=R(F,["style"]),ie=b({},L,{right:2,bottom:2,left:2,borderRadius:3});return c.default.createElement("div",b({style:ie},te))}function ae(F){var L=F.style,te=R(F,["style"]),ie=b({},L,{right:2,bottom:2,top:2,borderRadius:3});return c.default.createElement("div",b({style:ie},te))}function P(F){var L=F.style,te=R(F,["style"]),ie=b({},L,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return c.default.createElement("div",b({style:ie},te))}function ee(F){var L=F.style,te=R(F,["style"]),ie=b({},L,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return c.default.createElement("div",b({style:ie},te))}},14608:function(re,M,s){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var b=Object.assign||function(S){for(var w=1;w=0||!Object.prototype.hasOwnProperty.call(S,a)||(g[a]=S[a]);return g}function T(S,w){if(!(S instanceof w))throw new TypeError("Cannot call a class as a function")}function W(S,w){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:S}function z(S,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);S.prototype=Object.create(w&&w.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(S,w):S.__proto__=w)}var H=function(S){z(w,S);function w(g){var a;T(this,w);for(var d=arguments.length,p=Array(d>1?d-1:0),C=1;C0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollLeft=a)}},{key:"scrollTop",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollTop=a)}},{key:"scrollToLeft",value:function(){!this.view||(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){!this.view||(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){!this.view||(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){!this.view||(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var a=this.view,d=this.trackHorizontal,p=this.trackVertical,C=this.thumbHorizontal,i=this.thumbVertical;a.addEventListener("scroll",this.handleScroll),(0,te.default)()&&(d.addEventListener("mouseenter",this.handleTrackMouseEnter),d.addEventListener("mouseleave",this.handleTrackMouseLeave),d.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),p.addEventListener("mouseenter",this.handleTrackMouseEnter),p.addEventListener("mouseleave",this.handleTrackMouseLeave),p.addEventListener("mousedown",this.handleVerticalTrackMouseDown),C.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var a=this.view,d=this.trackHorizontal,p=this.trackVertical,C=this.thumbHorizontal,i=this.thumbVertical;a.removeEventListener("scroll",this.handleScroll),(0,te.default)()&&(d.removeEventListener("mouseenter",this.handleTrackMouseEnter),d.removeEventListener("mouseleave",this.handleTrackMouseLeave),d.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),p.removeEventListener("mouseenter",this.handleTrackMouseEnter),p.removeEventListener("mouseleave",this.handleTrackMouseLeave),p.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),C.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(a){var d=this,p=this.props,C=p.onScroll,i=p.onScrollFrame;C&&C(a),this.update(function(A){var Z=A.scrollLeft,u=A.scrollTop;d.viewScrollLeft=Z,d.viewScrollTop=u,i&&i(A)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var a=this.props.onScrollStart;a&&a(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var a=this.props.autoHide;!a||this.showTracks()}},{key:"handleScrollStop",value:function(){var a=this.props.onScrollStop;a&&a(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var a=this.props.autoHide;!a||this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(a){a.preventDefault();var d=a.target,p=a.clientX,C=d.getBoundingClientRect(),i=C.left,A=this.getThumbHorizontalWidth(),Z=Math.abs(i-p)-A/2;this.view.scrollLeft=this.getScrollLeftForOffset(Z)}},{key:"handleVerticalTrackMouseDown",value:function(a){a.preventDefault();var d=a.target,p=a.clientY,C=d.getBoundingClientRect(),i=C.top,A=this.getThumbVerticalHeight(),Z=Math.abs(i-p)-A/2;this.view.scrollTop=this.getScrollTopForOffset(Z)}},{key:"handleHorizontalThumbMouseDown",value:function(a){a.preventDefault(),this.handleDragStart(a);var d=a.target,p=a.clientX,C=d.offsetWidth,i=d.getBoundingClientRect(),A=i.left;this.prevPageX=C-(p-A)}},{key:"handleVerticalThumbMouseDown",value:function(a){a.preventDefault(),this.handleDragStart(a);var d=a.target,p=a.clientY,C=d.offsetHeight,i=d.getBoundingClientRect(),A=i.top;this.prevPageY=C-(p-A)}},{key:"setupDragging",value:function(){(0,N.default)(document.body,me.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=Le.default}},{key:"teardownDragging",value:function(){(0,N.default)(document.body,me.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(a){this.dragging=!0,a.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(a){if(this.prevPageX){var d=a.clientX,p=this.trackHorizontal.getBoundingClientRect(),C=p.left,i=this.getThumbHorizontalWidth(),A=i-this.prevPageX,Z=-C+d-A;this.view.scrollLeft=this.getScrollLeftForOffset(Z)}if(this.prevPageY){var u=a.clientY,y=this.trackVertical.getBoundingClientRect(),h=y.top,f=this.getThumbVerticalHeight(),E=f-this.prevPageY,X=-h+u-E;this.view.scrollTop=this.getScrollTopForOffset(X)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var a=this.props.autoHide;!a||this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var a=this.props.autoHide;!a||this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var a=this.props.autoHide;!a||this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,N.default)(this.trackHorizontal,{opacity:1}),(0,N.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var a=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var d=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,N.default)(a.trackHorizontal,{opacity:0}),(0,N.default)(a.trackVertical,{opacity:0})},d)}}},{key:"detectScrolling",value:function(){var a=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){a.lastViewScrollLeft===a.viewScrollLeft&&a.lastViewScrollTop===a.viewScrollTop&&(clearInterval(a.detectScrollingInterval),a.scrolling=!1,a.handleScrollStop()),a.lastViewScrollLeft=a.viewScrollLeft,a.lastViewScrollTop=a.viewScrollTop},100))}},{key:"raf",value:function(a){var d=this;this.requestFrame&&k.default.cancel(this.requestFrame),this.requestFrame=(0,k.default)(function(){d.requestFrame=void 0,a()})}},{key:"update",value:function(a){var d=this;this.raf(function(){return d._update(a)})}},{key:"_update",value:function(a){var d=this.props,p=d.onUpdate,C=d.hideTracksWhenNotNeeded,i=this.getValues();if((0,te.default)()){var A=i.scrollLeft,Z=i.clientWidth,u=i.scrollWidth,y=(0,Oe.default)(this.trackHorizontal),h=this.getThumbHorizontalWidth(),f=A/(u-Z)*(y-h),E={width:h,transform:"translateX("+f+"px)"},X=i.scrollTop,oe=i.clientHeight,he=i.scrollHeight,le=(0,Ae.default)(this.trackVertical),x=this.getThumbVerticalHeight(),m=X/(he-oe)*(le-x),G={height:x,transform:"translateY("+m+"px)"};if(C){var B={visibility:u>Z?"visible":"hidden"},D={visibility:he>oe?"visible":"hidden"};(0,N.default)(this.trackHorizontal,B),(0,N.default)(this.trackVertical,D)}(0,N.default)(this.thumbHorizontal,E),(0,N.default)(this.thumbVertical,G)}p&&p(i),typeof a=="function"&&a(i)}},{key:"render",value:function(){var a=this,d=(0,te.default)(),p=this.props,C=p.onScroll,i=p.onScrollFrame,A=p.onScrollStart,Z=p.onScrollStop,u=p.onUpdate,y=p.renderView,h=p.renderTrackHorizontal,f=p.renderTrackVertical,E=p.renderThumbHorizontal,X=p.renderThumbVertical,oe=p.tagName,he=p.hideTracksWhenNotNeeded,le=p.autoHide,x=p.autoHideTimeout,m=p.autoHideDuration,G=p.thumbSize,B=p.thumbMinSize,D=p.universal,q=p.autoHeight,J=p.autoHeightMin,Q=p.autoHeightMax,_=p.style,se=p.children,ce=$e(p,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),ue=this.state.didMountUniversal,De=b({},me.containerStyleDefault,q&&b({},me.containerStyleAutoHeight,{minHeight:J,maxHeight:Q}),_),Ce=b({},me.viewStyleDefault,{marginRight:d?-d:0,marginBottom:d?-d:0},q&&b({},me.viewStyleAutoHeight,{minHeight:(0,F.default)(J)?"calc("+J+" + "+d+"px)":J+d,maxHeight:(0,F.default)(Q)?"calc("+Q+" + "+d+"px)":Q+d}),q&&D&&!ue&&{minHeight:J,maxHeight:Q},D&&!ue&&me.viewStyleUniversalInitial),de={transition:"opacity "+m+"ms",opacity:0},He=b({},me.trackHorizontalStyleDefault,le&&de,(!d||D&&!ue)&&{display:"none"}),Me=b({},me.trackVerticalStyleDefault,le&&de,(!d||D&&!ue)&&{display:"none"});return(0,U.createElement)(oe,b({},ce,{style:De,ref:function(ne){a.container=ne}}),[(0,U.cloneElement)(y({style:Ce}),{key:"view",ref:function(ne){a.view=ne}},se),(0,U.cloneElement)(h({style:He}),{key:"trackHorizontal",ref:function(ne){a.trackHorizontal=ne}},(0,U.cloneElement)(E({style:me.thumbHorizontalStyleDefault}),{ref:function(ne){a.thumbHorizontal=ne}})),(0,U.cloneElement)(f({style:Me}),{key:"trackVertical",ref:function(ne){a.trackVertical=ne}},(0,U.cloneElement)(X({style:me.thumbVerticalStyleDefault}),{ref:function(ne){a.thumbVertical=ne}}))])}}]),w}(U.Component);M.default=H,H.propTypes={onScroll:P.default.func,onScrollFrame:P.default.func,onScrollStart:P.default.func,onScrollStop:P.default.func,onUpdate:P.default.func,renderView:P.default.func,renderTrackHorizontal:P.default.func,renderTrackVertical:P.default.func,renderThumbHorizontal:P.default.func,renderThumbVertical:P.default.func,tagName:P.default.string,thumbSize:P.default.number,thumbMinSize:P.default.number,hideTracksWhenNotNeeded:P.default.bool,autoHide:P.default.bool,autoHideTimeout:P.default.number,autoHideDuration:P.default.number,autoHeight:P.default.bool,autoHeightMin:P.default.oneOfType([P.default.number,P.default.string]),autoHeightMax:P.default.oneOfType([P.default.number,P.default.string]),universal:P.default.bool,style:P.default.object,children:P.default.node},H.defaultProps={renderView:xe.renderViewDefault,renderTrackHorizontal:xe.renderTrackHorizontalDefault,renderTrackVertical:xe.renderTrackVerticalDefault,renderThumbHorizontal:xe.renderThumbHorizontalDefault,renderThumbVertical:xe.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},7679:function(re,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var s=M.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},b=M.containerStyleAutoHeight={height:"auto"},V=M.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},c=M.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},k=M.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},R=M.trackHorizontalStyleDefault={position:"absolute",height:6},N=M.trackVerticalStyleDefault={position:"absolute",width:6},U=M.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},ae=M.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},P=M.disableSelectStyle={userSelect:"none"},ee=M.disableSelectStyleReset={userSelect:""}},31298:function(re,M,s){"use strict";var b;b={value:!0},M.$B=void 0;var V=s(14608),c=k(V);function k(R){return R&&R.__esModule?R:{default:R}}b=c.default,M.$B=c.default},56839:function(re,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=s;function s(b){var V=b.clientHeight,c=getComputedStyle(b),k=c.paddingTop,R=c.paddingBottom;return V-parseFloat(k)-parseFloat(R)}},4749:function(re,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=s;function s(b){var V=b.clientWidth,c=getComputedStyle(b),k=c.paddingLeft,R=c.paddingRight;return V-parseFloat(k)-parseFloat(R)}},13305:function(re,M,s){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=R;var b=s(53879),V=c(b);function c(N){return N&&N.__esModule?N:{default:N}}var k=!1;function R(){if(k!==!1)return k;if(typeof document!="undefined"){var N=document.createElement("div");(0,V.default)(N,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(N),k=N.offsetWidth-N.clientWidth,document.body.removeChild(N)}else k=0;return k||0}},95205:function(re,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=s;function s(b){return typeof b=="string"}},78669:function(re,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=s;function s(){return!1}},38735:function(re,M,s){"use strict";s.d(M,{Z:function(){return On}});var b=s(67294),V=s(45697),c=s.n(V),k=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),R=new Uint8Array(16);function N(){if(!k)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return k(R)}for(var U=[],ae=0;ae<256;++ae)U[ae]=(ae+256).toString(16).substr(1);function P(e,t){var n=t||0,r=U;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}var ee=P;function F(e,t,n){var r=t&&n||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||N)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var l=0;l<16;++l)t[r+l]=o[l];return t||ee(o)}var L=F;function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t){for(var n=0;nYe},Dn=function(Se){return Tr(Se)<0},Hn=function(Se){return kn(Se)>ve},$t=function(Se){return Ln(Se)||xn(Se)||Dn(Se)||Hn(Se)},wr=function(Se){return!$t(Se)},Mn=["top","bottom","left","right"],Rt=[],Nt=0;Nt<4;Nt++){var Cr=Mn[Nt];wr(Cr)&&Rt.push(Cr)}var Ft=!1,jt,Pn=o!==r;return wr(o)&&Pn?(Ft=!0,jt=o):Rt.length>0&&$t(o)&&$t(r)&&(Ft=!0,jt=Rt[0]),Ft?{isNewState:!0,newState:{place:jt}}:{isNewState:!1,position:{left:parseInt(St(r)-It,10),top:parseInt(Tr(r)-bt,10)}}}var X=function(t){var n=t.getBoundingClientRect(),r=n.height,o=n.width;return{height:parseInt(r,10),width:parseInt(o,10)}},oe=function(t,n,r){var o=n.getBoundingClientRect(),l=o.top,v=o.left,O=X(n),$=O.width,I=O.height;return r==="float"?{mouseX:t.clientX,mouseY:t.clientY}:{mouseX:v+$/2,mouseY:l+I/2}},he=function(t,n,r,o,l){var v,O,$,I,K=3,Y=2,fe=12;return t==="float"?(v={l:-(o/2),r:o/2,t:-(l+K+Y),b:-K},$={l:-(o/2),r:o/2,t:K+fe,b:l+K+Y+fe},I={l:-(o+K+Y),r:-K,t:-(l/2),b:l/2},O={l:K,r:o+K+Y,t:-(l/2),b:l/2}):t==="solid"&&(v={l:-(o/2),r:o/2,t:-(r/2+l+Y),b:-(r/2)},$={l:-(o/2),r:o/2,t:r/2,b:r/2+l+Y},I={l:-(o+n/2+Y),r:-(n/2),t:-(l/2),b:l/2},O={l:n/2,r:o+n/2+Y,t:-(l/2),b:l/2}),{top:v,bottom:$,left:I,right:O}},le=function(t){var n=0,r=0;Object.prototype.toString.apply(t)==="[object String]"&&(t=JSON.parse(t.toString().replace(/'/g,'"')));for(var o in t)o==="top"?r-=parseInt(t[o],10):o==="bottom"?r+=parseInt(t[o],10):o==="left"?n-=parseInt(t[o],10):o==="right"&&(n+=parseInt(t[o],10));return{extraOffsetX:n,extraOffsetY:r}},x=function(t){for(var n=t;n;){var r=window.getComputedStyle(n);if(r.getPropertyValue("transform")!=="none"||r.getPropertyValue("will-change")==="transform")break;n=n.parentElement}var o=n&&n.getBoundingClientRect().top||0,l=n&&n.getBoundingClientRect().left||0;return{parentTop:o,parentLeft:l}};function m(e,t,n,r){if(t)return t;if(n!=null)return n;if(n===null)return null;var o=//;return!r||r==="false"||!o.test(e)?e:e.split(o).map(function(l,v){return b.createElement("span",{key:v,className:"multi-line"},l)})}function G(e){var t={};return Object.keys(e).filter(function(n){return/(^aria-\w+$|^role$)/.test(n)}).forEach(function(n){t[n]=e[n]}),t}function B(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map(function(n){return e[n]})}function D(){return"t"+L()}var q=`.__react_component_tooltip { - border-radius: 3px; - display: inline-block; - font-size: 13px; - left: -999em; - opacity: 0; - padding: 8px 21px; - position: fixed; - pointer-events: none; - transition: opacity 0.3s ease-out; - top: -999em; - visibility: hidden; - z-index: 999; -} -.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click { - pointer-events: auto; -} -.__react_component_tooltip::before, .__react_component_tooltip::after { - content: ""; - width: 0; - height: 0; - position: absolute; -} -.__react_component_tooltip.show { - opacity: 0.9; - margin-top: 0; - margin-left: 0; - visibility: visible; -} -.__react_component_tooltip.place-top::before { - border-left: 10px solid transparent; - border-right: 10px solid transparent; - bottom: -8px; - left: 50%; - margin-left: -10px; -} -.__react_component_tooltip.place-bottom::before { - border-left: 10px solid transparent; - border-right: 10px solid transparent; - top: -8px; - left: 50%; - margin-left: -10px; -} -.__react_component_tooltip.place-left::before { - border-top: 6px solid transparent; - border-bottom: 6px solid transparent; - right: -8px; - top: 50%; - margin-top: -5px; -} -.__react_component_tooltip.place-right::before { - border-top: 6px solid transparent; - border-bottom: 6px solid transparent; - left: -8px; - top: 50%; - margin-top: -5px; -} -.__react_component_tooltip .multi-line { - display: block; - padding: 2px 0; - text-align: center; -}`,J={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}};function Q(e){return J[e]?Ae({},J[e]):void 0}function _(e,t,n,r){return se(e,ce(t,n,r))}function se(e,t){var n=t.text,r=t.background,o=t.border,l=t.arrow;return` - .`.concat(e,` { - color: `).concat(n,`; - background: `).concat(r,`; - border: 1px solid `).concat(o,`; - } - - .`).concat(e,`.place-top { - margin-top: -10px; - } - .`).concat(e,`.place-top::before { - border-top: 8px solid `).concat(o,`; - } - .`).concat(e,`.place-top::after { - border-left: 8px solid transparent; - border-right: 8px solid transparent; - bottom: -6px; - left: 50%; - margin-left: -8px; - border-top-color: `).concat(l,`; - border-top-style: solid; - border-top-width: 6px; - } - - .`).concat(e,`.place-bottom { - margin-top: 10px; - } - .`).concat(e,`.place-bottom::before { - border-bottom: 8px solid `).concat(o,`; - } - .`).concat(e,`.place-bottom::after { - border-left: 8px solid transparent; - border-right: 8px solid transparent; - top: -6px; - left: 50%; - margin-left: -8px; - border-bottom-color: `).concat(l,`; - border-bottom-style: solid; - border-bottom-width: 6px; - } - - .`).concat(e,`.place-left { - margin-left: -10px; - } - .`).concat(e,`.place-left::before { - border-left: 8px solid `).concat(o,`; - } - .`).concat(e,`.place-left::after { - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - right: -6px; - top: 50%; - margin-top: -4px; - border-left-color: `).concat(l,`; - border-left-style: solid; - border-left-width: 6px; - } - - .`).concat(e,`.place-right { - margin-left: 10px; - } - .`).concat(e,`.place-right::before { - border-right: 8px solid `).concat(o,`; - } - .`).concat(e,`.place-right::after { - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - left: -6px; - top: 50%; - margin-top: -4px; - border-right-color: `).concat(l,`; - border-right-style: solid; - border-right-width: 6px; - } - `)}function ce(e,t,n){var r=e.text,o=e.background,l=e.border,v=e.arrow?e.arrow:e.background,O=Q(t);return r&&(O.text=r),o&&(O.background=o),n&&(l?O.border=l:O.border=t==="light"?"black":"white"),v&&(O.arrow=v),O}var ue=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof s.g!="undefined"?s.g:typeof self!="undefined"?self:{};function De(e,t){return t={exports:{}},e(t,t.exports),t.exports}var Ce=function(e){return e&&e.Math==Math&&e},de=Ce(typeof globalThis=="object"&&globalThis)||Ce(typeof window=="object"&&window)||Ce(typeof self=="object"&&self)||Ce(typeof ue=="object"&&ue)||function(){return this}()||Function("return this")(),He=function(e){try{return!!e()}catch(t){return!0}},Me=!He(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Ee={}.propertyIsEnumerable,ne=Object.getOwnPropertyDescriptor,Pe=ne&&!Ee.call({1:2},1),ke=Pe?function(t){var n=ne(this,t);return!!n&&n.enumerable}:Ee,Ze={f:ke},je=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Re={}.toString,_e=function(e){return Re.call(e).slice(8,-1)},et="".split,Ne=He(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return _e(e)=="String"?et.call(e,""):Object(e)}:Object,Je=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},tt=function(e){return Ne(Je(e))},Ve=function(e){return typeof e=="object"?e!==null:typeof e=="function"},ut=function(e,t){if(!Ve(e))return e;var n,r;if(t&&typeof(n=e.toString)=="function"&&!Ve(r=n.call(e))||typeof(n=e.valueOf)=="function"&&!Ve(r=n.call(e))||!t&&typeof(n=e.toString)=="function"&&!Ve(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},ft=function(e){return Object(Je(e))},Er={}.hasOwnProperty,Be=function(t,n){return Er.call(ft(t),n)},Tt=de.document,Or=Ve(Tt)&&Ve(Tt.createElement),Vt=function(e){return Or?Tt.createElement(e):{}},Bt=!Me&&!He(function(){return Object.defineProperty(Vt("div"),"a",{get:function(){return 7}}).a!=7}),_t=Object.getOwnPropertyDescriptor,kr=Me?_t:function(t,n){if(t=tt(t),n=ut(n,!0),Bt)try{return _t(t,n)}catch(r){}if(Be(t,n))return je(!Ze.f.call(t,n),t[n])},Ut={f:kr},nt=function(e){if(!Ve(e))throw TypeError(String(e)+" is not an object");return e},Zt=Object.defineProperty,Lr=Me?Zt:function(t,n,r){if(nt(t),n=ut(n,!0),nt(r),Bt)try{return Zt(t,n,r)}catch(o){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t},dt={f:Lr},ot=Me?function(e,t,n){return dt.f(e,t,je(1,n))}:function(e,t,n){return e[t]=n,e},wt=function(e,t){try{ot(de,e,t)}catch(n){de[e]=t}return t},Gt="__core-js_shared__",xr=de[Gt]||wt(Gt,{}),Ke=xr,Dr=Function.toString;typeof Ke.inspectSource!="function"&&(Ke.inspectSource=function(e){return Dr.call(e)});var Kt=Ke.inspectSource,Xt=de.WeakMap,Hr=typeof Xt=="function"&&/native code/.test(Kt(Xt)),Yt=De(function(e){(e.exports=function(t,n){return Ke[t]||(Ke[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Mr=0,Pr=Math.random(),Jt=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++Mr+Pr).toString(36)},Qt=Yt("keys"),qt=function(e){return Qt[e]||(Qt[e]=Jt(e))},Ct={},er="Object already initialized",Ar=de.WeakMap,ht,at,pt,zr=function(e){return pt(e)?at(e):ht(e,{})},Ir=function(e){return function(t){var n;if(!Ve(t)||(n=at(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(Hr||Ke.state){var Qe=Ke.state||(Ke.state=new Ar),Wr=Qe.get,tr=Qe.has,$r=Qe.set;ht=function(e,t){if(tr.call(Qe,e))throw new TypeError(er);return t.facade=e,$r.call(Qe,e,t),t},at=function(e){return Wr.call(Qe,e)||{}},pt=function(e){return tr.call(Qe,e)}}else{var rt=qt("state");Ct[rt]=!0,ht=function(e,t){if(Be(e,rt))throw new TypeError(er);return t.facade=e,ot(e,rt,t),t},at=function(e){return Be(e,rt)?e[rt]:{}},pt=function(e){return Be(e,rt)}}var rr={set:ht,get:at,has:pt,enforce:zr,getterFor:Ir},Rr=De(function(e){var t=rr.get,n=rr.enforce,r=String(String).split("String");(e.exports=function(o,l,v,O){var $=O?!!O.unsafe:!1,I=O?!!O.enumerable:!1,K=O?!!O.noTargetGet:!1,Y;if(typeof v=="function"&&(typeof l=="string"&&!Be(v,"name")&&ot(v,"name",l),Y=n(v),Y.source||(Y.source=r.join(typeof l=="string"?l:""))),o===de){I?o[l]=v:wt(l,v);return}else $?!K&&o[l]&&(I=!0):delete o[l];I?o[l]=v:ot(o,l,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&t(this).source||Kt(this)})}),Et=de,nr=function(e){return typeof e=="function"?e:void 0},Ot=function(e,t){return arguments.length<2?nr(Et[e])||nr(de[e]):Et[e]&&Et[e][t]||de[e]&&de[e][t]},Nr=Math.ceil,Fr=Math.floor,or=function(e){return isNaN(e=+e)?0:(e>0?Fr:Nr)(e)},jr=Math.min,ar=function(e){return e>0?jr(or(e),9007199254740991):0},Vr=Math.max,Br=Math.min,_r=function(e,t){var n=or(e);return n<0?Vr(n+t,0):Br(n,t)},ir=function(e){return function(t,n,r){var o=tt(t),l=ar(o.length),v=_r(r,l),O;if(e&&n!=n){for(;l>v;)if(O=o[v++],O!=O)return!0}else for(;l>v;v++)if((e||v in o)&&o[v]===n)return e||v||0;return!e&&-1}},Ur={includes:ir(!0),indexOf:ir(!1)},Zr=Ur.indexOf,lr=function(e,t){var n=tt(e),r=0,o=[],l;for(l in n)!Be(Ct,l)&&Be(n,l)&&o.push(l);for(;t.length>r;)Be(n,l=t[r++])&&(~Zr(o,l)||o.push(l));return o},vt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Gr=vt.concat("length","prototype"),Kr=Object.getOwnPropertyNames||function(t){return lr(t,Gr)},Xr={f:Kr},Yr=Object.getOwnPropertySymbols,Jr={f:Yr},Qr=Ot("Reflect","ownKeys")||function(t){var n=Xr.f(nt(t)),r=Jr.f;return r?n.concat(r(t)):n},qr=function(e,t){for(var n=Qr(t),r=dt.f,o=Ut.f,l=0;l=74)&&(Ue=kt.match(/Chrome\/(\d+)/),Ue&&(gt=Ue[1])));var dr=gt&&+gt,Lt=!!Object.getOwnPropertySymbols&&!He(function(){return!String(Symbol())||!Symbol.sham&&dr&&dr<41}),fn=Lt&&!Symbol.sham&&typeof Symbol.iterator=="symbol",lt=Yt("wks"),st=de.Symbol,dn=fn?st:st&&st.withoutSetter||Jt,hr=function(e){return(!Be(lt,e)||!(Lt||typeof lt[e]=="string"))&&(Lt&&Be(st,e)?lt[e]=st[e]:lt[e]=dn("Symbol."+e)),lt[e]},hn=hr("species"),pn=function(e,t){var n;return sr(e)&&(n=e.constructor,typeof n=="function"&&(n===Array||sr(n.prototype))?n=void 0:Ve(n)&&(n=n[hn],n===null&&(n=void 0))),new(n===void 0?Array:n)(t===0?0:t)},pr=[].push,Xe=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,l=e==6,v=e==7,O=e==5||l;return function($,I,K,Y){for(var fe=ft($),we=Ne(fe),ge=un(I,K,3),ye=ar(we.length),be=0,Ie=Y||pn,We=t?Ie($,ye):n||v?Ie($,0):void 0,pe,Ye;ye>be;be++)if((O||be in we)&&(pe=we[be],Ye=ge(pe,be,fe),e))if(t)We[be]=Ye;else if(Ye)switch(e){case 3:return!0;case 5:return pe;case 6:return be;case 2:pr.call(We,pe)}else switch(e){case 4:return!1;case 7:pr.call(We,pe)}return l?-1:r||o?o:We}},vn={forEach:Xe(0),map:Xe(1),filter:Xe(2),some:Xe(3),every:Xe(4),find:Xe(5),findIndex:Xe(6),filterOut:Xe(7)},gn=Object.keys||function(t){return lr(t,vt)},mn=Me?Object.defineProperties:function(t,n){nt(t);for(var r=gn(n),o=r.length,l=0,v;o>l;)dt.f(t,v=r[l++],n[v]);return t},yn=Ot("document","documentElement"),vr=">",gr="<",xt="prototype",Dt="script",mr=qt("IE_PROTO"),Ht=function(){},yr=function(e){return gr+Dt+vr+e+gr+"/"+Dt+vr},bn=function(e){e.write(yr("")),e.close();var t=e.parentWindow.Object;return e=null,t},Sn=function(){var e=Vt("iframe"),t="java"+Dt+":",n;return e.style.display="none",yn.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(yr("document.F=Object")),n.close(),n.F},Mt,mt=function(){try{Mt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}mt=Mt?bn(Mt):Sn();for(var e=vt.length;e--;)delete mt[xt][vt[e]];return mt()};Ct[mr]=!0;var Tn=Object.create||function(t,n){var r;return t!==null?(Ht[xt]=nt(t),r=new Ht,Ht[xt]=null,r[mr]=t):r=mt(),n===void 0?r:mn(r,n)},Pt=hr("unscopables"),At=Array.prototype;At[Pt]==null&&dt.f(At,Pt,{configurable:!0,value:Tn(null)});var wn=function(e){At[Pt][e]=!0},Cn=vn.find,zt="find",br=!0;zt in[]&&Array(1)[zt](function(){br=!1}),sn({target:"Array",proto:!0,forced:br},{find:function(t){return Cn(this,t,arguments.length>1?arguments[1]:void 0)}}),wn(zt);var ze,yt,Sr,En=H(ze=S(ze=d(ze=p(ze=C(ze=y(ze=f(ze=(Sr=yt=function(e){me(t,e),Le(t,null,[{key:"propTypes",get:function(){return{uuid:c().string,children:c().any,place:c().string,type:c().string,effect:c().string,offset:c().object,multiline:c().bool,border:c().bool,textColor:c().string,backgroundColor:c().string,borderColor:c().string,arrowColor:c().string,insecure:c().bool,class:c().string,className:c().string,id:c().string,html:c().bool,delayHide:c().number,delayUpdate:c().number,delayShow:c().number,event:c().string,eventOff:c().string,isCapture:c().bool,globalEventOff:c().string,getContent:c().any,afterShow:c().func,afterHide:c().func,overridePosition:c().func,disable:c().bool,scrollHide:c().bool,resizeHide:c().bool,wrapper:c().string,bodyMode:c().bool,possibleCustomEvents:c().string,possibleCustomEventsOff:c().string,clickable:c().bool}}}]);function t(n){var r;return te(this,t),r=T(this,xe(t).call(this,n)),r.state={uuid:n.uuid||D(),place:n.place||"top",desiredPlace:n.place||"top",type:"dark",effect:"float",show:!1,border:!1,customColors:{},offset:{},extraClass:"",html:!1,delayHide:0,delayShow:0,event:n.event||null,eventOff:n.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:G(n),isEmptyTip:!1,disable:!1,possibleCustomEvents:n.possibleCustomEvents||"",possibleCustomEventsOff:n.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},r.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),r.mount=!0,r.delayShowLoop=null,r.delayHideLoop=null,r.delayReshow=null,r.intervalUpdateContent=null,r}return Le(t,[{key:"bind",value:function(r){var o=this;r.forEach(function(l){o[l]=o[l].bind(o)})}},{key:"componentDidMount",value:function(){var r=this.props,o=r.insecure,l=r.resizeHide;this.bindListener(),this.bindWindowEvents(l),this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var r=this.tooltipRef;if(!!r){for(var o=r.parentNode;o.parentNode;)o=o.parentNode;var l;switch(o.constructor.name){case"Document":case"HTMLDocument":case void 0:l=o.head;break;case"ShadowRoot":default:l=o;break}if(!l.querySelector("style[data-react-tooltip]")){var v=document.createElement("style");v.textContent=q,v.setAttribute("data-react-tooltip","true"),l.appendChild(v)}}}},{key:"mouseOnToolTip",value:function(){var r=this.state.show;return r&&this.tooltipRef?(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover")):!1}},{key:"getTargetArray",value:function(r){var o=[],l;if(!r)l="[data-tip]:not([data-for])";else{var v=r.replace(/\\/g,"\\\\").replace(/"/g,'\\"');l='[data-tip][data-for="'.concat(v,'"]')}return B(document.getElementsByTagName("*")).filter(function(O){return O.shadowRoot}).forEach(function(O){o=o.concat(B(O.shadowRoot.querySelectorAll(l)))}),o.concat(B(document.querySelectorAll(l)))}},{key:"bindListener",value:function(){var r=this,o=this.props,l=o.id,v=o.globalEventOff,O=o.isCapture,$=this.getTargetArray(l);$.forEach(function(I){I.getAttribute("currentItem")===null&&I.setAttribute("currentItem","false"),r.unbindBasicListener(I),r.isCustomEvent(I)&&r.customUnbindListener(I)}),this.isBodyMode()?this.bindBodyListener($):$.forEach(function(I){var K=r.isCapture(I),Y=r.getEffect(I);if(r.isCustomEvent(I)){r.customBindListener(I);return}I.addEventListener("mouseenter",r.showTooltip,K),I.addEventListener("focus",r.showTooltip,K),Y==="float"&&I.addEventListener("mousemove",r.updateTooltip,K),I.addEventListener("mouseleave",r.hideTooltip,K),I.addEventListener("blur",r.hideTooltip,K)}),v&&(window.removeEventListener(v,this.hideTooltip),window.addEventListener(v,this.hideTooltip,O)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var r=this,o=this.props,l=o.id,v=o.globalEventOff;if(this.isBodyMode())this.unbindBodyListener();else{var O=this.getTargetArray(l);O.forEach(function($){r.unbindBasicListener($),r.isCustomEvent($)&&r.customUnbindListener($)})}v&&window.removeEventListener(v,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(r){var o=this.isCapture(r);r.removeEventListener("mouseenter",this.showTooltip,o),r.removeEventListener("mousemove",this.updateTooltip,o),r.removeEventListener("mouseleave",this.hideTooltip,o)}},{key:"getTooltipContent",value:function(){var r=this.props,o=r.getContent,l=r.children,v;return o&&(Array.isArray(o)?v=o[0]&&o[0](this.state.originTooltip):v=o(this.state.originTooltip)),m(this.state.originTooltip,l,v,this.state.isMultiline)}},{key:"isEmptyTip",value:function(r){return typeof r=="string"&&r===""||r===null}},{key:"showTooltip",value:function(r,o){if(!!this.tooltipRef){if(o){var l=this.getTargetArray(this.props.id),v=l.some(function(bt){return bt===r.currentTarget});if(!v)return}var O=this.props,$=O.multiline,I=O.getContent,K=r.currentTarget.getAttribute("data-tip"),Y=r.currentTarget.getAttribute("data-multiline")||$||!1,fe=r instanceof window.FocusEvent||o,we=!0;r.currentTarget.getAttribute("data-scroll-hide")?we=r.currentTarget.getAttribute("data-scroll-hide")==="true":this.props.scrollHide!=null&&(we=this.props.scrollHide),r&&r.currentTarget&&r.currentTarget.setAttribute&&r.currentTarget.setAttribute("aria-describedby",this.state.uuid);var ge=r.currentTarget.getAttribute("data-place")||this.props.place||"top",ye=fe&&"solid"||this.getEffect(r.currentTarget),be=r.currentTarget.getAttribute("data-offset")||this.props.offset||{},Ie=E(r,r.currentTarget,this.tooltipRef,ge,ge,ye,be);Ie.position&&this.props.overridePosition&&(Ie.position=this.props.overridePosition(Ie.position,r,r.currentTarget,this.tooltipRef,ge,ge,ye,be));var We=Ie.isNewState?Ie.newState.place:ge;this.clearTimer();var pe=r.currentTarget,Ye=this.state.show?pe.getAttribute("data-delay-update")||this.props.delayUpdate:0,ve=this,ct=function(){ve.setState({originTooltip:K,isMultiline:Y,desiredPlace:ge,place:We,type:pe.getAttribute("data-type")||ve.props.type||"dark",customColors:{text:pe.getAttribute("data-text-color")||ve.props.textColor||null,background:pe.getAttribute("data-background-color")||ve.props.backgroundColor||null,border:pe.getAttribute("data-border-color")||ve.props.borderColor||null,arrow:pe.getAttribute("data-arrow-color")||ve.props.arrowColor||null},effect:ye,offset:be,html:(pe.getAttribute("data-html")?pe.getAttribute("data-html")==="true":ve.props.html)||!1,delayShow:pe.getAttribute("data-delay-show")||ve.props.delayShow||0,delayHide:pe.getAttribute("data-delay-hide")||ve.props.delayHide||0,delayUpdate:pe.getAttribute("data-delay-update")||ve.props.delayUpdate||0,border:(pe.getAttribute("data-border")?pe.getAttribute("data-border")==="true":ve.props.border)||!1,extraClass:pe.getAttribute("data-class")||ve.props.class||ve.props.className||"",disable:(pe.getAttribute("data-tip-disable")?pe.getAttribute("data-tip-disable")==="true":ve.props.disable)||!1,currentTarget:pe},function(){we&&ve.addScrollListener(ve.state.currentTarget),ve.updateTooltip(r),I&&Array.isArray(I)&&(ve.intervalUpdateContent=setInterval(function(){if(ve.mount){var It=ve.props.getContent,St=m(K,"",It[0](),Y),Wt=ve.isEmptyTip(St);ve.setState({isEmptyTip:Wt}),ve.updatePosition()}},I[1]))})};Ye?this.delayReshow=setTimeout(ct,Ye):ct()}}},{key:"updateTooltip",value:function(r){var o=this,l=this.state,v=l.delayShow,O=l.disable,$=this.props.afterShow,I=this.getTooltipContent(),K=r.currentTarget||r.target;if(!this.mouseOnToolTip()&&!(this.isEmptyTip(I)||O)){var Y=this.state.show?0:parseInt(v,10),fe=function(){if(Array.isArray(I)&&I.length>0||I){var ge=!o.state.show;o.setState({currentEvent:r,currentTarget:K,show:!0},function(){o.updatePosition(),ge&&$&&$(r)})}};clearTimeout(this.delayShowLoop),Y?this.delayShowLoop=setTimeout(fe,Y):fe()}}},{key:"listenForTooltipExit",value:function(){var r=this.state.show;r&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){var r=this.state.show;r&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(r,o){var l=this,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isScroll:!1},O=this.state.disable,$=v.isScroll,I=$?0:this.state.delayHide,K=this.props.afterHide,Y=this.getTooltipContent();if(!!this.mount&&!(this.isEmptyTip(Y)||O)){if(o){var fe=this.getTargetArray(this.props.id),we=fe.some(function(ye){return ye===r.currentTarget});if(!we||!this.state.show)return}r&&r.currentTarget&&r.currentTarget.removeAttribute&&r.currentTarget.removeAttribute("aria-describedby");var ge=function(){var be=l.state.show;if(l.mouseOnToolTip()){l.listenForTooltipExit();return}l.removeListenerForTooltipExit(),l.setState({show:!1},function(){l.removeScrollListener(l.state.currentTarget),be&&K&&K(r)})};this.clearTimer(),I?this.delayHideLoop=setTimeout(ge,parseInt(I,10)):ge()}}},{key:"hideTooltipOnScroll",value:function(r,o){this.hideTooltip(r,o,{isScroll:!0})}},{key:"addScrollListener",value:function(r){var o=this.isCapture(r);window.addEventListener("scroll",this.hideTooltipOnScroll,o)}},{key:"removeScrollListener",value:function(r){var o=this.isCapture(r);window.removeEventListener("scroll",this.hideTooltipOnScroll,o)}},{key:"updatePosition",value:function(){var r=this,o=this.state,l=o.currentEvent,v=o.currentTarget,O=o.place,$=o.desiredPlace,I=o.effect,K=o.offset,Y=this.tooltipRef,fe=E(l,v,Y,O,$,I,K);if(fe.position&&this.props.overridePosition&&(fe.position=this.props.overridePosition(fe.position,l,v,Y,O,$,I,K)),fe.isNewState)return this.setState(fe.newState,function(){r.updatePosition()});Y.style.left=fe.position.left+"px",Y.style.top=fe.position.top+"px"}},{key:"clearTimer",value:function(){clearTimeout(this.delayShowLoop),clearTimeout(this.delayHideLoop),clearTimeout(this.delayReshow),clearInterval(this.intervalUpdateContent)}},{key:"hasCustomColors",value:function(){var r=this;return Boolean(Object.keys(this.state.customColors).find(function(o){return o!=="border"&&r.state.customColors[o]})||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var r=this,o=this.state,l=o.extraClass,v=o.html,O=o.ariaProps,$=o.disable,I=o.uuid,K=this.getTooltipContent(),Y=this.isEmptyTip(K),fe=_(this.state.uuid,this.state.customColors,this.state.type,this.state.border),we="__react_component_tooltip"+" ".concat(this.state.uuid)+(this.state.show&&!$&&!Y?" show":"")+(this.state.border?" border":"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),ge=this.props.wrapper;t.supportedWrappers.indexOf(ge)<0&&(ge=t.defaultProps.wrapper);var ye=[we,l].filter(Boolean).join(" ");if(v){var be="".concat(K,` -");return b.createElement(ge,Oe({className:"".concat(ye),id:this.props.id||I,ref:function(We){return r.tooltipRef=We}},O,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:be}}))}else return b.createElement(ge,Oe({className:"".concat(ye),id:this.props.id||I},O,{ref:function(We){return r.tooltipRef=We},"data-id":"tooltip"}),b.createElement("style",{dangerouslySetInnerHTML:{__html:fe},"aria-hidden":"true"}),K)}}],[{key:"getDerivedStateFromProps",value:function(r,o){var l=o.ariaProps,v=G(r),O=Object.keys(v).some(function($){return v[$]!==l[$]});return O?Ae({},o,{ariaProps:v}):null}}]),t}(b.Component),Te(yt,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),Te(yt,"supportedWrappers",["div","span"]),Te(yt,"displayName","ReactTooltip"),Sr))||ze)||ze)||ze)||ze)||ze)||ze)||ze,On=En},6189:function(re,M,s){var b=s(7966);re.exports=V;function V(c){return b(c).replace(/\s(\w)/g,function(k,R){return R.toUpperCase()})}},71788:function(re){re.exports=V;var M=/\s/,s=/(_|-|\.|:)/,b=/([a-z][A-Z]|[A-Z][a-z])/;function V(U){return M.test(U)?U.toLowerCase():s.test(U)?(k(U)||U).toLowerCase():b.test(U)?N(U).toLowerCase():U.toLowerCase()}var c=/[\W_]+(.|$)/g;function k(U){return U.replace(c,function(ae,P){return P?" "+P:""})}var R=/(.)([A-Z]+)/g;function N(U){return U.replace(R,function(ae,P,ee){return P+" "+ee.toLowerCase().split("").join(" ")})}},7966:function(re,M,s){var b=s(71788);re.exports=V;function V(c){return b(c).replace(/[\W_]+(.|$)/g,function(k,R){return R?" "+R:""}).trim()}}}]); diff --git a/statics/6531.b74d290d.async.js b/statics/6531.b74d290d.async.js deleted file mode 100644 index 1511b02d..00000000 --- a/statics/6531.b74d290d.async.js +++ /dev/null @@ -1,71 +0,0 @@ -var hs=Object.defineProperty,ds=Object.defineProperties;var ps=Object.getOwnPropertyDescriptors;var $1=Object.getOwnPropertySymbols;var Vo=Object.prototype.hasOwnProperty,Zo=Object.prototype.propertyIsEnumerable;var Qo=(N,S,l)=>S in N?hs(N,S,{enumerable:!0,configurable:!0,writable:!0,value:l}):N[S]=l,jr=(N,S)=>{for(var l in S||(S={}))Vo.call(S,l)&&Qo(N,l,S[l]);if($1)for(var l of $1(S))Zo.call(S,l)&&Qo(N,l,S[l]);return N},Jo=(N,S)=>ds(N,ps(S));var ea=(N,S)=>{var l={};for(var o in N)Vo.call(N,o)&&S.indexOf(o)<0&&(l[o]=N[o]);if(N!=null&&$1)for(var o of $1(N))S.indexOf(o)<0&&Zo.call(N,o)&&(l[o]=N[o]);return l};var Xr=(N,S,l)=>new Promise((o,T)=>{var v=m=>{try{a(l.next(m))}catch(g){T(g)}},f=m=>{try{a(l.throw(m))}catch(g){T(g)}},a=m=>m.done?o(m.value):Promise.resolve(m.value).then(v,f);a((l=l.apply(N,S)).next())});(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6531],{51444:function(N,S,l){"use strict";l.d(S,{Z:function(){return g}});var o=l(1413),T=l(67294),v={icon:function(d,E){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 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 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:E}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:E}},{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 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:d}},{tag:"path",attrs:{d:"M508 336c-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",fill:d}}]}},name:"eye",theme:"twotone"},f=v,a=l(84089),m=function(d,E){return T.createElement(a.Z,(0,o.Z)((0,o.Z)({},d),{},{ref:E,icon:f}))};m.displayName="EyeTwoTone";var g=T.forwardRef(m)},53314:function(N,S,l){"use strict";l.d(S,{Z:function(){return y}});var o=l(10043),T=l.n(o),v="Strikethrough",f="text",a="Task list",m="todo",g="Table",h="Heading",d={strike:v,strikeText:f,task:a,taskText:m,table:g,tableHeading:h};const E={strikethrough:'',task:'',table:''};function y(s={}){var x=s,{locale:w}=x,I=ea(x,["locale"]);const P=jr(jr({},d),w);return{remark:R=>R.use(T(),I),actions:[{title:P.strike,icon:E.strikethrough,cheatsheet:`~~${P.strikeText}~~`,handler:{type:"action",click({wrapText:R,editor:W}){R("~~"),W.focus()}}},{title:P.task,icon:E.task,cheatsheet:`- [ ] ${P.taskText}`,handler:{type:"action",click({replaceLines:R,editor:W}){R(U=>"- [ ] "+U),W.focus()}}},{title:P.table,icon:E.table,handler:{type:"action",click({editor:R,appendBlock:W,codemirror:U}){const{line:$}=W(`| ${P.tableHeading} | | -| --- | --- | -| | | -`);R.setSelection(U.Pos($,2),U.Pos($,2+P.tableHeading.length)),R.focus()}}}]}}},63790:function(N,S,l){"use strict";l.d(S,{Z:function(){return v}});var o=l(20392),T=l.n(o);function v(g={}){var h=g,{subset:f=!1,ignoreMissing:a=!0}=h,m=ea(h,["subset","ignoreMissing"]);return{rehype:d=>d.use(T(),jr({subset:f,ignoreMissing:a},m))}}},14804:function(N,S,l){"use strict";l.d(S,{Z:function(){return o}});function o(T){let v;return{viewerEffect({markdownBody:f}){const a=[...f.querySelectorAll("img")].filter(m=>{var g,h;return((h=(g=T==null?void 0:T.filter)===null||g===void 0?void 0:g.call(T,m))!==null&&h!==void 0?h:!0)&&!m.closest("a")});a.length!==0&&Xr(this,null,function*(){v||(v=yield l.e(2557).then(l.bind(l,62557))),v.default(a,T)})}}}},80350:function(N,S,l){"use strict";l.d(S,{A:function(){return C}});var o=l(67294),T=l(91296),v=l(93096),f=l(18835),a=l.n(f),m=l(12861),g=l.n(m),h=l(78818),d=l.n(h),E=l(76388),y=l.n(E),w=l(1667),I=l.n(w),s=l(17532),x=l.n(s),P=l(29370),R=l(62854),W=l(939),U=l(38910),$=l(31250),L=l(97553),F=l(65980),z=l(81742),G=l(35929),Q=l(54610),Y=l(39242);function H(){}function X(u){return u()}function Z(){return Object.create(null)}function re(u){u.forEach(X)}function he(u){return typeof u=="function"}function se(u,_){return u!=u?_==_:u!==_||u&&typeof u=="object"||typeof u=="function"}function ye(u,_){return u!=u?_==_:u!==_}function Oe(u){return Object.keys(u).length===0}function K(u,_){u.appendChild(_)}function D(u,_,B){u.insertBefore(_,B||null)}function ie(u){u.parentNode.removeChild(u)}function te(u,_){for(let B=0;Bu.removeEventListener(_,B,J)}function Ae(u,_,B){B==null?u.removeAttribute(_):u.getAttribute(_)!==B&&u.setAttribute(_,B)}function ke(u){return Array.from(u.childNodes)}function Ne(u,_){_=""+_,u.wholeText!==_&&(u.data=_)}function j(u,_,B){u.classList[B?"add":"remove"](_)}function st(u,_,B=!1){const J=document.createEvent("CustomEvent");return J.initCustomEvent(u,B,!1,_),J}let Qe;function Be(u){Qe=u}function $e(){if(!Qe)throw new Error("Function called outside component initialization");return Qe}function ht(u){$e().$$.on_mount.push(u)}function ne(u){$e().$$.after_update.push(u)}function pt(u){$e().$$.on_destroy.push(u)}function ut(){const u=$e();return(_,B)=>{const J=u.$$.callbacks[_];if(J){const le=st(_,B);J.slice().forEach(fe=>{fe.call(u,le)})}}}const je=null,Ot=null,Ct=null,Zn=null,Jn=Promise.resolve();let xt=!1;function Cn(){xt||(xt=!0,Jn.then(mn))}function gn(){return Cn(),Jn}function an(u){Ct.push(u)}let ar=!1;const Wt=new Set;function mn(){if(!ar){ar=!0;do{for(let u=0;u{In.delete(u),J&&(B&&u.d(1),J())}),u.o(_)}}function on(u){u&&u.c()}function Et(u,_,B,J){const{fragment:le,on_mount:fe,on_destroy:pe,after_update:ve}=u.$$;le&&le.m(_,B),J||an(()=>{const de=fe.map(X).filter(he);pe?pe.push(...de):re(de),u.$$.on_mount=[]}),ve.forEach(an)}function fn(u,_){const B=u.$$;B.fragment!==null&&(re(B.on_destroy),B.fragment&&B.fragment.d(_),B.on_destroy=B.fragment=null,B.ctx=[])}function wn(u,_){u.$$.dirty[0]===-1&&(je.push(u),Cn(),u.$$.dirty.fill(0)),u.$$.dirty[_/31|0]|=1<<_%31}function Ft(u,_,B,J,le,fe,pe,ve=[-1]){const de=Qe;Be(u);const Se=u.$$={fragment:null,ctx:null,props:fe,update:H,not_equal:le,bound:Z(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(_.context||(de?de.$$.context:[])),callbacks:Z(),dirty:ve,skip_bound:!1,root:_.target||de.$$.root};pe&&pe(Se.root);let Te=!1;if(Se.ctx=B?B(u,_.props||{},(xe,Ue,...be)=>{const ze=be.length?be[0]:Ue;return Se.ctx&&le(Se.ctx[xe],Se.ctx[xe]=ze)&&(!Se.skip_bound&&Se.bound[xe]&&Se.bound[xe](ze),Te&&wn(u,xe)),Ue}):[],Se.update(),Te=!0,re(Se.before_update),Se.fragment=J?J(Se.ctx):!1,_.target){if(_.hydrate){const xe=ke(_.target);Se.fragment&&Se.fragment.l(xe),xe.forEach(ie)}else Se.fragment&&Se.fragment.c();_.intro&&Pt(u.$$.fragment),Et(u,_.target,_.anchor,_.customElement),mn()}Be(de)}class Ht{$destroy(){fn(this,1),this.$destroy=H}$on(_,B){const J=this.$$.callbacks[_]||(this.$$.callbacks[_]=[]);return J.push(B),()=>{const le=J.indexOf(B);le!==-1&&J.splice(le,1)}}$set(_){this.$$set&&!Oe(_)&&(this.$$.skip_bound=!0,this.$$set(_),this.$$.skip_bound=!1)}}const ce={heading:'',h1:'',h2:'',h3:'',h4:'',h5:'',h6:'',bold:'',italic:'',quote:'',link:'',image:'',code:'',codeBlock:'',ol:'',ul:'',hr:'',source:'',fullscreenOn:'',fullscreenOff:'',help:'',toc:'',close:'',left:'',right:'',more:'',keyboard:''};function Je(u,_,B){const J=u.slice();return J[21]=_[B],J[23]=B,J}function ft(u,_,B){const J=u.slice();return J[21]=_[B],J[23]=B,J}function dt(u){let _,B=u[2].write+"",J,le,fe=u[2].preview+"",pe,ve,de;return{c(){_=ae("div"),J=ge(B),le=ae("div"),pe=ge(fe),Ae(_,"class","bytemd-toolbar-tab"),j(_,"bytemd-toolbar-tab-active",u[1]!=="preview"),Ae(le,"class","bytemd-toolbar-tab"),j(le,"bytemd-toolbar-tab-active",u[1]==="preview")},m(Se,Te){D(Se,_,Te),K(_,J),D(Se,le,Te),K(le,pe),ve||(de=[Me(_,"click",u[15]),Me(le,"click",u[16])],ve=!0)},p(Se,Te){Te&4&&B!==(B=Se[2].write+"")&&Ne(J,B),Te&2&&j(_,"bytemd-toolbar-tab-active",Se[1]!=="preview"),Te&4&&fe!==(fe=Se[2].preview+"")&&Ne(pe,fe),Te&2&&j(le,"bytemd-toolbar-tab-active",Se[1]==="preview")},d(Se){Se&&ie(_),Se&&ie(le),ve=!1,re(de)}}}function yt(u){let _,B=u[3],J=[];for(let le=0;leparseInt(Yt,10));if(!en)return;let _t={title:"",handler:{type:"dropdown",actions:Ze.classList.contains(Qt)?ve:We}};return en==null||en.forEach(Yt=>{var jt;((jt=_t.handler)===null||jt===void 0?void 0:jt.type)==="dropdown"&&(_t=_t.handler.actions[Yt])}),{paths:en,item:_t}}let Ke;function ct(){Ke=delegate(Se,{target:`.${mt}`,onCreate({setProps:Ze,reference:rt}){const Ut=nt(rt);if(!Ut)return;const{item:en,paths:_t}=Ut,{handler:Yt}=en;if(!!Yt){if(Yt.type==="action")Ze({content:en.title,onHidden(jt){jt.destroy()}});else if(Yt.type==="dropdown"){const jt=document.createElement("div");if(jt.classList.add("bytemd-dropdown"),en.title){const Tn=document.createElement("div");Tn.classList.add("bytemd-dropdown-title"),Tn.appendChild(document.createTextNode(en.title)),jt.appendChild(Tn)}Yt.actions.forEach((Tn,br)=>{var sr;const jn=document.createElement("div");jn.classList.add("bytemd-dropdown-item"),jn.setAttribute(tt,[..._t,br].join("-")),((sr=Tn.handler)===null||sr===void 0?void 0:sr.type)==="dropdown"&&jn.classList.add(mt),rt.classList.contains(Qt)&&jn.classList.add(Qt),jn.innerHTML=`${Tn.icon?`
    ${Tn.icon}
    `:""}
    ${Tn.title}
    `,jt.appendChild(jn)}),Ze({allowHTML:!0,showOnCreate:!0,theme:"light-border",placement:"bottom-start",interactive:!0,interactiveDebounce:50,arrow:!1,offset:[0,4],content:jt.outerHTML,onHidden(Tn){Tn.destroy()},onCreate(Tn){[...Tn.popper.querySelectorAll(".bytemd-dropdown-item")].forEach((br,sr)=>{var jn;const ur=(jn=Yt.actions[sr])===null||jn===void 0?void 0:jn.handler;if((ur==null?void 0:ur.type)==="action"){const{mouseenter:Tr,mouseleave:er}=ur;Tr&&br.addEventListener("mouseenter",()=>{Tr(Te)}),er&&br.addEventListener("mouseleave",()=>{er(Te)})}})}})}}}})}ht(()=>{ct()});function $t(Ze){var rt,Ut;const en=Ze.target.closest(`[${tt}]`);if(!en)return;const _t=(Ut=(rt=nt(en))===null||rt===void 0?void 0:rt.item)===null||Ut===void 0?void 0:Ut.handler;(_t==null?void 0:_t.type)==="action"&&_t.click(Te),Ke==null||Ke.destroy(),ct()}const bt=()=>de("tab","write"),ot=()=>de("tab","preview");function kt(Ze){Ot[Ze?"unshift":"push"](()=>{Se=Ze,B(4,Se)})}return u.$$set=Ze=>{"context"in Ze&&B(8,Te=Ze.context),"split"in Ze&&B(0,xe=Ze.split),"activeTab"in Ze&&B(1,Ue=Ze.activeTab),"fullscreen"in Ze&&B(9,be=Ze.fullscreen),"sidebar"in Ze&&B(10,ze=Ze.sidebar),"locale"in Ze&&B(2,He=Ze.locale),"actions"in Ze&&B(3,We=Ze.actions)},u.$$.update=()=>{u.$$.dirty&1024&&B(14,J=ze==="toc"),u.$$.dirty&1024&&B(13,le=ze==="help"),u.$$.dirty&2&&B(12,fe=Ue==="write"),u.$$.dirty&2&&B(11,pe=Ue==="preview"),u.$$.dirty&31237&&B(5,ve=[{title:J?He.closeToc:He.toc,icon:ce.toc,handler:{type:"action",click(){de("click","toc")}},active:J},{title:le?He.closeHelp:He.help,icon:ce.help,handler:{type:"action",click(){de("click","help")}},active:le},{title:fe?He.exitWriteOnly:He.writeOnly,icon:ce.left,handler:{type:"action",click(){de("tab","write")}},active:fe,hidden:!xe},{title:pe?He.exitPreviewOnly:He.previewOnly,icon:ce.right,handler:{type:"action",click(){de("tab","preview")}},active:pe,hidden:!xe},{title:be?He.exitFullscreen:He.fullscreen,icon:be?ce.fullscreenOff:ce.fullscreenOn,handler:{type:"action",click(){de("click","fullscreen")}}},{title:He.source,icon:ce.source,handler:{type:"action",click(){window.open("https://github.com/bytedance/bytemd")}}}])},[xe,Ue,He,We,Se,ve,de,$t,Te,be,ze,pe,fe,le,J,bt,ot,kt]}class vn extends null{constructor(_){super(),Ft(this,_,fr,qt,ye,{context:8,split:0,activeTab:1,fullscreen:9,sidebar:10,locale:2,actions:3})}}const Nn=JSON.stringify(P);function Vt({sanitize:u,plugins:_}){let B=a()().use(g());_==null||_.forEach(({remark:le})=>{le&&(B=le(B))}),B=B.use(d(),{allowDangerousHtml:!0}).use(y());let J=JSON.parse(Nn);return J.attributes["*"].push("className"),typeof u=="function"&&(J=u(J)),B=B.use(I(),J),_==null||_.forEach(({rehype:le})=>{le&&(B=le(B))}),B.use(x())}function zn(u){let _;return{c(){_=ae("div"),Ae(_,"class","markdown-body")},m(B,J){D(B,_,J),_.innerHTML=u[1],u[7](_)},p(B,[J]){J&2&&(_.innerHTML=B[1])},i:H,o:H,d(B){B&&ie(_),u[7](null)}}}function yr(u,_,B){let J;const le=ut();let{value:fe=""}=_,{plugins:pe=[]}=_,{sanitize:ve}=_,de,Se=[];function Te(){Se=pe.map(He=>{var We;return(We=He.viewerEffect)===null||We===void 0?void 0:We.call(He,{markdownBody:de,file:Ue})})}function xe(){Se.forEach(He=>He==null?void 0:He())}ht(()=>{de.addEventListener("click",He=>{var We;const nt=He.target;if(nt.tagName!=="A")return;const Ke=nt.getAttribute("href");!(Ke!=null&&Ke.startsWith("#"))||(We=de.querySelector("#user-content-"+Ke.slice(1)))===null||We===void 0||We.scrollIntoView()})}),pt(xe);let Ue,be=0;ne(()=>{xe(),Te()});function ze(He){Ot[He?"unshift":"push"](()=>{de=He,B(0,de)})}return u.$$set=He=>{"value"in He&&B(2,fe=He.value),"plugins"in He&&B(3,pe=He.plugins),"sanitize"in He&&B(4,ve=He.sanitize)},u.$$.update=()=>{if(u.$$.dirty&92)try{B(5,Ue=Vt({sanitize:ve,plugins:[...pe,{rehype:He=>He.use(()=>(We,nt)=>{gn().then(()=>{le("hast",{hast:We,file:nt})})})}]}).processSync(fe)),B(6,be++,be)}catch(He){console.error(He)}u.$$.dirty&96&&B(1,J=`${Ue}`)},[de,J,fe,pe,ve,Ue,be,ze]}class Gn extends null{constructor(_){super(),Ft(this,_,yr,zn,ye,{value:2,plugins:3,sanitize:4})}}function mr(u,_,B){const J=u.slice();return J[10]=_[B],J[12]=B,J}function or(u){let _,B=u[10].text+"",J,le,fe,pe,ve;function de(){return u[8](u[12])}return{c(){_=ae("li"),J=ge(B),Ae(_,"class",le=`bytemd-toc-${u[10].level}`),Ae(_,"style",fe=`padding-left:${(u[10].level-u[3])*16+8}px`),j(_,"bytemd-toc-active",u[4]===u[12]),j(_,"bytemd-toc-first",u[10].level===u[3])},m(Se,Te){D(Se,_,Te),K(_,J),pe||(ve=Me(_,"click",de),pe=!0)},p(Se,Te){u=Se,Te&4&&B!==(B=u[10].text+"")&&Ne(J,B),Te&4&&le!==(le=`bytemd-toc-${u[10].level}`)&&Ae(_,"class",le),Te&12&&fe!==(fe=`padding-left:${(u[10].level-u[3])*16+8}px`)&&Ae(_,"style",fe),Te&20&&j(_,"bytemd-toc-active",u[4]===u[12]),Te&12&&j(_,"bytemd-toc-first",u[10].level===u[3])},d(Se){Se&&ie(_),pe=!1,ve()}}}function it(u){let _,B,J=u[0].toc+"",le,fe,pe=u[2],ve=[];for(let de=0;de{He.type==="text"&&(ze+=He.value)}),ze}const Ue=be=>{ve("click",be)};return u.$$set=be=>{"hast"in be&&B(6,J=be.hast),"currentBlockIndex"in be&&B(7,le=be.currentBlockIndex),"locale"in be&&B(0,fe=be.locale),"visible"in be&&B(1,pe=be.visible)},u.$$.update=()=>{u.$$.dirty&204&&(B(2,de=[]),B(4,Te=0),J.children.filter(be=>be.type==="element").forEach((be,ze)=>{if(be.tagName[0]==="h"&&!!be.children.length){const He=Number(be.tagName[1]);B(3,Se=Math.min(Se,He)),de.push({level:He,text:xe(be)})}le>=ze&&B(4,Te=de.length-1)}))},[fe,pe,de,Se,Te,ve,J,le,Ue]}class Mn extends null{constructor(_){super(),Ft(this,_,Re,it,ye,{hast:6,currentBlockIndex:7,locale:0,visible:1})}}function vt(u,_){return{wrapText(B,J=B){const le=_.somethingSelected()?_.listSelections()[0]:_.findWordAt(_.getCursor()),fe=le.from(),pe=le.to(),ve=_.getRange(fe,pe),de=u.Pos(fe.line,fe.ch-B.length),Se=u.Pos(pe.line,pe.ch+J.length);if(_.getRange(de,fe)===B&&_.getRange(pe,Se)===J)_.replaceRange(ve,de,Se),_.setSelection(de,u.Pos(de.line,de.ch+ve.length));else{_.replaceRange(B+ve+J,fe,pe);const Te=_.getCursor();_.setSelection(u.Pos(Te.line,Te.ch-J.length-ve.length),u.Pos(Te.line,Te.ch-J.length))}},replaceLines(B){const[J]=_.listSelections(),le=[u.Pos(J.from().line,0),u.Pos(J.to().line)],fe=_.getRange(...le).split(` -`);_.replaceRange(fe.map(B).join(` -`),...le),_.setSelection(...le)},appendBlock(B){const J=_.getCursor();let le=-1;for(let fe=J.line;fe<_.lineCount();fe++)if(!_.getLine(fe).trim()){le=fe;break}return le===-1&&(_.replaceRange(` -`,u.Pos(_.lineCount())),le=_.lineCount()),_.replaceRange(` -`+B,u.Pos(le)),u.Pos(le+1,0)},selectFiles}}function Ge(u,_){let B=_.length-2;for(let J=0;J<_.length;J++)if(u<_[J]){B=J-1;break}return B=Math.max(B,0),B}const b=(u,_=!1)=>{const B=_?"Shift-":"",J=typeof navigator!="undefined"&&/Mac/.test(navigator.platform)?"Cmd-":"Ctrl-";return B+J+u};function at(fe,pe,ve){return Xr(this,arguments,function*({editor:u,appendBlock:_,codemirror:B},J,le){const de=yield J(le),Se=_(de.map(({url:Te,alt:xe,title:Ue},be)=>(xe=xe!=null?xe:le[be].name,`![${xe}](${Te}${Ue?` "${Ue}"`:""})`)).join(` - -`));u.setSelection(Se,B.Pos(Se.line+de.length*2-2)),u.focus()})}function Kt(u,_,B){const J=[{icon:ce.heading,handler:{type:"dropdown",actions:[1,2,3,4,5,6].map(fe=>({title:u[`h${fe}`],icon:ce[`h${fe}`],cheatsheet:fe<=3?`${"#".repeat(fe)} ${u.headingText}`:void 0,handler:{type:"action",click({replaceLines:pe,editor:ve}){pe(de=>(de=de.trim().replace(/^#*/,"").trim(),de="#".repeat(fe)+" "+de,de)),ve.focus()}}}))}},{title:u.bold,icon:ce.bold,cheatsheet:`**${u.boldText}**`,handler:{type:"action",shortcut:b("B"),click({wrapText:fe,editor:pe}){fe("**"),pe.focus()}}},{title:u.italic,icon:ce.italic,cheatsheet:`*${u.italicText}*`,handler:{type:"action",shortcut:b("I"),click({wrapText:fe,editor:pe}){fe("*"),pe.focus()}}},{title:u.quote,icon:ce.quote,cheatsheet:`> ${u.quotedText}`,handler:{type:"action",click({replaceLines:fe,editor:pe}){fe(ve=>"> "+ve),pe.focus()}}},{title:u.link,icon:ce.link,cheatsheet:`[${u.linkText}](url)`,handler:{type:"action",shortcut:b("K"),click({editor:fe,wrapText:pe,codemirror:ve}){pe("[","](url)");const de=fe.getCursor();fe.setSelection(ve.Pos(de.line,de.ch+2),ve.Pos(de.line,de.ch+5)),fe.focus()}}},{title:u.image,icon:ce.image,cheatsheet:`![${u.imageAlt}](url "${u.imageTitle}")`,handler:B?{type:"action",shortcut:b("I",!0),click(fe){return Xr(this,null,function*(){const pe=yield selectFiles({accept:"image/*",multiple:!0});pe!=null&&pe.length&&(yield at(fe,B,Array.from(pe)))})}}:void 0},{title:u.code,icon:ce.code,cheatsheet:"`"+u.codeText+"`",handler:{type:"action",shortcut:b("K",!0),click({wrapText:fe,editor:pe}){fe("`"),pe.focus()}}},{title:u.codeBlock,icon:ce.codeBlock,cheatsheet:"```"+u.codeLang+"\u21B5",handler:{type:"action",shortcut:b("C",!0),click({editor:fe,appendBlock:pe,codemirror:ve}){const de=pe("```js\n```");fe.setSelection(ve.Pos(de.line,3),ve.Pos(de.line,5)),fe.focus()}}},{title:u.ul,icon:ce.ul,cheatsheet:`- ${u.ulItem}`,handler:{type:"action",shortcut:b("U",!0),click({replaceLines:fe,editor:pe}){fe(ve=>"- "+ve),pe.focus()}}},{title:u.ol,icon:ce.ol,cheatsheet:`1. ${u.olItem}`,handler:{type:"action",shortcut:b("O",!0),click({replaceLines:fe,editor:pe}){fe((ve,de)=>`${de+1}. ${ve}`),pe.focus()}}},{title:u.hr,icon:ce.hr,cheatsheet:"---"}];return _.forEach(({actions:fe})=>{fe&&J.push(...fe)}),J}function Rt(u){let _,B=u[2].limited+"",J;return{c(){_=ae("span"),J=ge(B),Ae(_,"class","bytemd-status-error")},m(le,fe){D(le,_,fe),K(_,J)},p(le,fe){fe&4&&B!==(B=le[2].limited+"")&&Ne(J,B)},d(le){le&&ie(_)}}}function Ee(u){let _,B,J=u[2].sync+"",le,fe,pe;return{c(){_=ae("label"),B=ae("input"),le=ge(J),Ae(B,"type","checkbox"),B.checked=u[1]},m(ve,de){D(ve,_,de),K(_,B),K(_,le),fe||(pe=Me(B,"change",u[8]),fe=!0)},p(ve,de){de&2&&(B.checked=ve[1]),de&4&&J!==(J=ve[2].sync+"")&&Ne(le,J)},d(ve){ve&&ie(_),fe=!1,pe()}}}function Fe(u){let _,B,J,le=u[2].words+"",fe,pe,ve,de,Se,Te=u[2].lines+"",xe,Ue,be,ze,He,We,nt=u[2].top+"",Ke,ct,$t,bt=u[3]&&Rt(u),ot=u[0]&&Ee(u);return{c(){_=ae("div"),B=ae("div"),J=ae("span"),fe=ge(le),pe=ge(": "),ve=ae("strong"),de=ge(u[5]),Se=ae("span"),xe=ge(Te),Ue=ge(": "),be=ae("strong"),ze=ge(u[4]),bt&&bt.c(),He=ae("div"),ot&&ot.c(),We=ae("span"),Ke=ge(nt),Ae(B,"class","bytemd-status-left"),Ae(He,"class","bytemd-status-right"),Ae(_,"class","bytemd-status")},m(kt,Ze){D(kt,_,Ze),K(_,B),K(B,J),K(J,fe),K(J,pe),K(J,ve),K(ve,de),K(B,Se),K(Se,xe),K(Se,Ue),K(Se,be),K(be,ze),bt&&bt.m(B,null),K(_,He),ot&&ot.m(He,null),K(He,We),K(We,Ke),ct||($t=Me(We,"click",u[9]),ct=!0)},p(kt,[Ze]){Ze&4&&le!==(le=kt[2].words+"")&&Ne(fe,le),Ze&32&&Ne(de,kt[5]),Ze&4&&Te!==(Te=kt[2].lines+"")&&Ne(xe,Te),Ze&16&&Ne(ze,kt[4]),kt[3]?bt?bt.p(kt,Ze):(bt=Rt(kt),bt.c(),bt.m(B,null)):bt&&(bt.d(1),bt=null),kt[0]?ot?ot.p(kt,Ze):(ot=Ee(kt),ot.c(),ot.m(He,We)):ot&&(ot.d(1),ot=null),Ze&4&&nt!==(nt=kt[2].top+"")&&Ne(Ke,nt)},i:H,o:H,d(kt){kt&&ie(_),bt&&bt.d(),ot&&ot.d(),ct=!1,$t()}}}function Mt(u,_,B){let J,le,{showSync:fe}=_,{value:pe}=_,{syncEnabled:ve}=_,{locale:de}=_,{islimited:Se}=_;const Te=ut(),xe=()=>Te("sync",!ve),Ue=()=>Te("top");return u.$$set=be=>{"showSync"in be&&B(0,fe=be.showSync),"value"in be&&B(7,pe=be.value),"syncEnabled"in be&&B(1,ve=be.syncEnabled),"locale"in be&&B(2,de=be.locale),"islimited"in be&&B(3,Se=be.islimited)},u.$$.update=()=>{u.$$.dirty&128&&B(5,J=wordCount(pe)),u.$$.dirty&128&&B(4,le=pe.split(` -`).length)},[fe,ve,de,Se,le,J,Te,pe,xe,Ue]}class Sn extends null{constructor(_){super(),Ft(this,_,Mt,Fe,se,{showSync:0,value:7,syncEnabled:1,locale:2,islimited:3})}}var lr="Write",_n="Preview",li="Write only",qe="Exit write only",Gi="Preview only",si="Exit preview only",wr="Help",Rn="Close help",ui="Table of contents",bn="Close table of contents",cr="Fullscreen",Dn="Exit fullscreen",fi="Source code",Qr="Markdown Cheatsheet",Wn="Shortcuts",ci="Words",hi="Lines",di="Scroll sync",Wi="Scroll to top",Ki="The maximum character limit has been reached",pi="Heading 1",qn="Heading 2",Yi="Heading 3",Vr="Heading 4",vr="Heading 5",ln="Heading 6",ji="heading",Xi="Bold",Sr="bold text",Qi="Italic",Zr="italic text",gi="Quote",Vi="quoted text",xr="Link",mi="link text",Mr="Image",_r="alt",Jr="title",vi="Code",Ti="code",kr="Code block",Ei="lang",Ai="Unordered list",Kn="item",Zi="Ordered list",Ji="item",Rr="Horizontal rule",Ci={write:lr,preview:_n,writeOnly:li,exitWriteOnly:qe,previewOnly:Gi,exitPreviewOnly:si,help:wr,closeHelp:Rn,toc:ui,closeToc:bn,fullscreen:cr,exitFullscreen:Dn,source:fi,cheatsheet:Qr,shortcuts:Wn,words:ci,lines:hi,sync:di,top:Wi,limited:Ki,h1:pi,h2:qn,h3:Yi,h4:Vr,h5:vr,h6:ln,headingText:ji,bold:Xi,boldText:Sr,italic:Qi,italicText:Zr,quote:gi,quotedText:Vi,link:xr,linkText:mi,image:Mr,imageAlt:_r,imageTitle:Jr,code:vi,codeText:Ti,codeBlock:kr,codeLang:Ei,ul:Ai,ulItem:Kn,ol:Zi,olItem:Ji,hr:Rr};function $n(u,_,B){const J=u.slice();return J[5]=_[B],J}function hr(u,_,B){const J=u.slice();return J[5]=_[B],J}function Yn(u){let _,B,J=u[5].icon+"",le,fe=u[5].title+"",pe,ve,de,Se=u[5].cheatsheet+"",Te;return{c(){_=ae("li"),B=ae("div"),le=ae("div"),pe=ge(fe),ve=ae("div"),de=ae("code"),Te=ge(Se),Ae(B,"class","bytemd-help-icon"),Ae(le,"class","bytemd-help-title"),Ae(ve,"class","bytemd-help-content")},m(xe,Ue){D(xe,_,Ue),K(_,B),B.innerHTML=J,K(_,le),K(le,pe),K(_,ve),K(ve,de),K(de,Te)},p(xe,Ue){Ue&4&&J!==(J=xe[5].icon+"")&&(B.innerHTML=J),Ue&4&&fe!==(fe=xe[5].title+"")&&Ne(pe,fe),Ue&4&&Se!==(Se=xe[5].cheatsheet+"")&&Ne(Te,Se)},d(xe){xe&&ie(_)}}}function Nr(u){let _,B=u[5].cheatsheet&&Yn(u);return{c(){B&&B.c(),_=ee()},m(J,le){B&&B.m(J,le),D(J,_,le)},p(J,le){J[5].cheatsheet?B?B.p(J,le):(B=Yn(J),B.c(),B.m(_.parentNode,_)):B&&(B.d(1),B=null)},d(J){B&&B.d(J),J&&ie(_)}}}function Dr(u){let _,B,J=u[5].icon+"",le,fe=u[5].title+"",pe,ve,de,Se=u[5].handler.shortcut+"",Te;return{c(){_=ae("li"),B=ae("div"),le=ae("div"),pe=ge(fe),ve=ae("div"),de=ae("kbd"),Te=ge(Se),Ae(B,"class","bytemd-help-icon"),Ae(le,"class","bytemd-help-title"),Ae(ve,"class","bytemd-help-content")},m(xe,Ue){D(xe,_,Ue),K(_,B),B.innerHTML=J,K(_,le),K(le,pe),K(_,ve),K(ve,de),K(de,Te)},p(xe,Ue){Ue&4&&J!==(J=xe[5].icon+"")&&(B.innerHTML=J),Ue&4&&fe!==(fe=xe[5].title+"")&&Ne(pe,fe),Ue&4&&Se!==(Se=xe[5].handler.shortcut+"")&&Ne(Te,Se)},d(xe){xe&&ie(_)}}}function dr(u){let _,B=u[5].handler&&u[5].handler.type==="action"&&u[5].handler.shortcut&&Dr(u);return{c(){B&&B.c(),_=ee()},m(J,le){B&&B.m(J,le),D(J,_,le)},p(J,le){J[5].handler&&J[5].handler.type==="action"&&J[5].handler.shortcut?B?B.p(J,le):(B=Dr(J),B.c(),B.m(_.parentNode,_)):B&&(B.d(1),B=null)},d(J){B&&B.d(J),J&&ie(_)}}}function qi(u){let _,B,J=u[0].cheatsheet+"",le,fe,pe,ve=u[0].shortcuts+"",de,Se,Te=u[2],xe=[];for(let ze=0;ze{const{handler:xe,cheatsheet:Ue}=Te;(xe==null?void 0:xe.type)==="dropdown"&&Se.push(...ve(xe.actions)),Ue&&Se.push(Te)}),Se}return u.$$set=de=>{"actions"in de&&B(3,le=de.actions),"locale"in de&&B(0,fe=de.locale),"visible"in de&&B(1,pe=de.visible)},u.$$.update=()=>{u.$$.dirty&8&&B(2,J=ve(le))},[fe,pe,J,le]}class $i extends null{constructor(_){super(),Ft(this,_,Pr,qi,se,{actions:3,locale:0,visible:1})}}function yi(u){let _,B;return _=new Gn({props:{value:u[15],plugins:u[1],sanitize:u[2]}}),_.$on("hast",u[34]),{c(){on(_.$$.fragment)},m(J,le){Et(_,J,le),B=!0},p(J,le){const fe={};le[0]&32768&&(fe.value=J[15]),le[0]&2&&(fe.plugins=J[1]),le[0]&4&&(fe.sanitize=J[2]),_.$set(fe)},i(J){B||(Pt(_.$$.fragment,J),B=!0)},o(J){Lt(_.$$.fragment,J),B=!1},d(J){fn(_,J)}}}function Si(u){let _,B,J,le,fe,pe,ve,de,Se,Te=ce.close+"",xe,Ue,be,ze,He,We;B=new vn({props:{context:u[9],split:u[10],activeTab:u[7],sidebar:u[8],fullscreen:u[14],locale:u[11],actions:u[20]}}),B.$on("key",u[30]),B.$on("tab",u[31]),B.$on("click",u[32]);let nt=!u[3]&&yi(u);return xe=new $i({props:{locale:u[11],actions:u[20],visible:u[8]==="help"}}),Ue=new Mn({props:{hast:u[17],locale:u[11],currentBlockIndex:u[19],visible:u[8]==="toc"}}),Ue.$on("click",u[37]),be=new Sn({props:{locale:u[11],showSync:!u[3]&&u[10],value:u[15],syncEnabled:u[16],islimited:u[0].length>u[4]}}),be.$on("sync",u[38]),be.$on("top",u[39]),{c(){_=ae("div"),on(B.$$.fragment),J=ae("div"),le=ae("div"),pe=ae("div"),nt&&nt.c(),de=ae("div"),Se=ae("div"),on(xe.$$.fragment),on(Ue.$$.fragment),on(be.$$.fragment),Ae(le,"class","bytemd-editor"),Ae(le,"style",fe=u[21].edit),Ae(pe,"class","bytemd-preview"),Ae(pe,"style",ve=u[21].preview),Ae(Se,"class","bytemd-sidebar-close"),Ae(de,"class","bytemd-sidebar"),j(de,"bytemd-hidden",u[8]===!1),Ae(J,"class","bytemd-body"),Ae(_,"class","bytemd"),j(_,"bytemd-split",u[10]&&u[7]===!1),j(_,"bytemd-fullscreen",u[14])},m(Ke,ct){D(Ke,_,ct),Et(B,_,null),K(_,J),K(J,le),u[33](le),K(J,pe),nt&&nt.m(pe,null),u[35](pe),K(J,de),K(de,Se),Se.innerHTML=Te,Et(xe,de,null),Et(Ue,de,null),Et(be,_,null),u[40](_),ze=!0,He||(We=Me(Se,"click",u[36]),He=!0)},p(Ke,ct){const $t={};ct[0]&512&&($t.context=Ke[9]),ct[0]&1024&&($t.split=Ke[10]),ct[0]&128&&($t.activeTab=Ke[7]),ct[0]&256&&($t.sidebar=Ke[8]),ct[0]&16384&&($t.fullscreen=Ke[14]),ct[0]&2048&&($t.locale=Ke[11]),ct[0]&1048576&&($t.actions=Ke[20]),B.$set($t),(!ze||ct[0]&2097152&&fe!==(fe=Ke[21].edit))&&Ae(le,"style",fe),Ke[3]?nt&&(et(),Lt(nt,1,1,()=>{nt=null}),gt()):nt?(nt.p(Ke,ct),ct[0]&8&&Pt(nt,1)):(nt=yi(Ke),nt.c(),Pt(nt,1),nt.m(pe,null)),(!ze||ct[0]&2097152&&ve!==(ve=Ke[21].preview))&&Ae(pe,"style",ve);const bt={};ct[0]&2048&&(bt.locale=Ke[11]),ct[0]&1048576&&(bt.actions=Ke[20]),ct[0]&256&&(bt.visible=Ke[8]==="help"),xe.$set(bt);const ot={};ct[0]&131072&&(ot.hast=Ke[17]),ct[0]&2048&&(ot.locale=Ke[11]),ct[0]&524288&&(ot.currentBlockIndex=Ke[19]),ct[0]&256&&(ot.visible=Ke[8]==="toc"),Ue.$set(ot),ct[0]&256&&j(de,"bytemd-hidden",Ke[8]===!1);const kt={};ct[0]&2048&&(kt.locale=Ke[11]),ct[0]&1032&&(kt.showSync=!Ke[3]&&Ke[10]),ct[0]&32768&&(kt.value=Ke[15]),ct[0]&65536&&(kt.syncEnabled=Ke[16]),ct[0]&17&&(kt.islimited=Ke[0].length>Ke[4]),be.$set(kt),ct[0]&1152&&j(_,"bytemd-split",Ke[10]&&Ke[7]===!1),ct[0]&16384&&j(_,"bytemd-fullscreen",Ke[14])},i(Ke){ze||(Pt(B.$$.fragment,Ke),Pt(nt),Pt(xe.$$.fragment,Ke),Pt(Ue.$$.fragment,Ke),Pt(be.$$.fragment,Ke),ze=!0)},o(Ke){Lt(B.$$.fragment,Ke),Lt(nt),Lt(xe.$$.fragment,Ke),Lt(Ue.$$.fragment,Ke),Lt(be.$$.fragment,Ke),ze=!1},d(Ke){Ke&&ie(_),fn(B),u[33](null),nt&&nt.d(),u[35](null),fn(xe),fn(Ue),fn(be),u[40](null),He=!1,We()}}}function xi(u,_,B){let J,le,fe,pe,ve,{value:de=""}=_,{plugins:Se=[]}=_,{sanitize:Te}=_,{mode:xe="auto"}=_,{previewDebounce:Ue=300}=_,{placeholder:be}=_,{editorConfig:ze}=_,{locale:He}=_,{uploadImages:We}=_,{overridePreview:nt}=_,{maxLength:Ke=1/0}=_;const ct=ut();let $t,bt,ot,kt=1/0,Ze,rt,Ut,en=!1,_t=!1,Yt=[],jt={};function Tn(){Yt=Se.map(De=>{var sn;return(sn=De.editorEffect)===null||sn===void 0?void 0:sn.call(De,ve)}),jt={},le.forEach(({handler:De})=>{(De==null?void 0:De.type)==="action"&&De.shortcut&&(jt[De.shortcut]=()=>{De.click(ve)})}),rt.addKeyMap(jt)}function br(){Yt.forEach(De=>De&&De()),rt==null||rt.removeKeyMap(jt)}let sr=de;const jn=debounce(De=>{B(15,sr=De),nt==null||nt(ot,{value:sr,plugins:Se,sanitize:Te})},Ue);let ur=!0,Tr=!1,er=!1,tn,Xn,ki={type:"root",children:[]},N1,b1=0;ht(()=>Xr(this,null,function*(){B(29,Ze=factory()),usePlaceholder(Ze),useOverlay(Ze),useXml(Ze),useMarkdown(Ze),useGfm(Ze),useYaml(Ze),useYamlFrontmatter(Ze),B(6,rt=Ze(bt,Jo(jr({value:de,mode:"yaml-frontmatter",lineWrapping:!0,tabSize:8,indentUnit:4},ze),{placeholder:be}))),rt.addKeyMap({Tab:"indentMore","Shift-Tab":"indentLess"}),rt.on("change",()=>{ct("change",{value:rt.getValue()})});const De=throttle(()=>{tn=[],Xn=[];const En=rt.getScrollInfo(),wt=ot.childNodes[0];if(!(wt instanceof HTMLElement))return;const zt=ki.children.filter(Er=>Er.type==="element"),nr=[...wt.childNodes].filter(Er=>Er instanceof HTMLElement);for(let Er=0;Er=1||bi>=1)break;tn.push(Or),Xn.push(bi)}tn.push(1),Xn.push(1)},1e3),sn=()=>{if(nt||!ur)return;if(er){er=!1;return}De();const En=rt.getScrollInfo(),wt=En.top/(En.height-En.clientHeight),zt=Ge(wt,tn),nr=(wt-tn[zt])*(Xn[zt+1]-Xn[zt])/(tn[zt+1]-tn[zt])+Xn[zt];ot.scrollTo(0,nr*(ot.scrollHeight-ot.clientHeight)),Tr=!0},n1=()=>{if(nt||(De(),B(19,b1=Ge(ot.scrollTop/(ot.scrollHeight-ot.offsetHeight),Xn)),!ur))return;if(Tr){Tr=!1;return}const En=ot.scrollTop/(ot.scrollHeight-ot.clientHeight),wt=Ge(En,Xn),zt=(En-Xn[wt])*(tn[wt+1]-tn[wt])/(Xn[wt+1]-Xn[wt])+tn[wt],nr=rt.getScrollInfo();rt.scrollTo(0,zt*(nr.height-nr.clientHeight)),er=!0};rt.on("scroll",sn),ot.addEventListener("scroll",n1,{passive:!0});const r1=(En,wt)=>Xr(this,null,function*(){if(!We)return;const zt=Array.from(wt!=null?wt:[]).map(nr=>{if(nr.type.startsWith("image/"))return nr.getAsFile()}).filter(nr=>nr!=null);zt.length&&(En.preventDefault(),yield at(ve,We,zt))});rt.on("drop",(En,wt)=>Xr(this,null,function*(){var zt;r1(wt,(zt=wt.dataTransfer)===null||zt===void 0?void 0:zt.items)})),rt.on("paste",(En,wt)=>Xr(this,null,function*(){var zt;r1(wt,(zt=wt.clipboardData)===null||zt===void 0?void 0:zt.items)})),new ResizeObserver(En=>{B(28,kt=En[0].contentRect.width)}).observe($t,{box:"border-box"})})),pt(br);const ta=De=>{rt.setOption("keyMap",De.detail),rt.focus()},O1=De=>{const sn=De.detail;fe?B(7,Ut=Ut===sn?!1:sn):B(7,Ut=sn),Ut==="write"&&gn().then(()=>{rt&&rt.focus()})},L1=De=>{switch(De.detail){case"fullscreen":B(14,en=!en);break;case"help":B(8,_t=_t==="help"?!1:"help");break;case"toc":B(8,_t=_t==="toc"?!1:"toc");break}};function qr(De){Ot[De?"unshift":"push"](()=>{bt=De,B(12,bt)})}const I1=De=>{B(17,ki=De.detail.hast),B(18,N1=De.detail.file)};function w1(De){Ot[De?"unshift":"push"](()=>{ot=De,B(13,ot)})}const e1=()=>{B(8,_t=!1)},Ni=De=>{ot.querySelectorAll("h1,h2,h3,h4,h5,h6")[De.detail].scrollIntoView()},M1=De=>{B(16,ur=De.detail)},t1=()=>{rt.scrollTo(null,0),ot.scrollTo({top:0})};function tr(De){Ot[De?"unshift":"push"](()=>{$t=De,B(5,$t)})}return u.$$set=De=>{"value"in De&&B(0,de=De.value),"plugins"in De&&B(1,Se=De.plugins),"sanitize"in De&&B(2,Te=De.sanitize),"mode"in De&&B(22,xe=De.mode),"previewDebounce"in De&&B(23,Ue=De.previewDebounce),"placeholder"in De&&B(24,be=De.placeholder),"editorConfig"in De&&B(25,ze=De.editorConfig),"locale"in De&&B(26,He=De.locale),"uploadImages"in De&&B(27,We=De.uploadImages),"overridePreview"in De&&B(3,nt=De.overridePreview),"maxLength"in De&&B(4,Ke=De.maxLength)},u.$$.update=()=>{u.$$.dirty[0]&67108864&&B(11,J=jr(jr({},Ci),He)),u.$$.dirty[0]&134219778&&B(20,le=Kt(J,Se,We)),u.$$.dirty[0]&272629760&&B(10,fe=xe==="split"||xe==="auto"&&kt>=800),u.$$.dirty[0]&1024&&(De=>{fe&&B(7,Ut=!1)})(),u.$$.dirty[0]&1408&&B(21,pe=(()=>{let De,sn;return fe&&Ut===!1?_t?(De=`width:calc(50% - ${_t?140:0}px)`,sn=`width:calc(50% - ${_t?140:0}px)`):(De="width:50%",sn="width:50%"):Ut==="preview"?(De="display:none",sn=`width:calc(100% - ${_t?280:0}px)`):(De=`width:calc(100% - ${_t?280:0}px)`,sn="display:none"),{edit:De,preview:sn}})()),u.$$.dirty[0]&536871008&&B(9,ve=(()=>jr({codemirror:Ze,editor:rt,root:$t},vt(Ze,rt)))()),u.$$.dirty[0]&1&&jn(de),u.$$.dirty[0]&65&&rt&&de!==rt.getValue()&&rt.setValue(de),u.$$.dirty[0]&66&&rt&&Se&&(br(),gn().then(()=>{Tn()}))},[de,Se,Te,nt,Ke,$t,rt,Ut,_t,ve,fe,J,bt,ot,en,sr,ur,ki,N1,b1,le,pe,xe,Ue,be,ze,He,We,kt,Ze,ta,O1,L1,qr,I1,w1,e1,Ni,M1,t1,tr]}class k1 extends null{constructor(_){super(),Ft(this,_,xi,Si,ye,{value:0,plugins:1,sanitize:2,mode:22,previewDebounce:23,placeholder:24,editorConfig:25,locale:26,uploadImages:27,overridePreview:3,maxLength:4},null,[-1,-1])}}const p=J=>{var le=J,{children:u,onChange:_}=le,B=ea(le,["children","onChange"]);const fe=useRef(),pe=useRef(null);return useEffect(()=>{if(!pe.current)return;const ve=new bytemd.Editor({target:pe.current,props:B});return ve.$on("change",de=>{_==null||_(de.detail.value)}),fe.current=ve,()=>{ve.$destroy()}},[]),useEffect(()=>{var ve;(ve=fe.current)===null||ve===void 0||ve.$set(B)},[B]),React.createElement("div",{ref:pe})},C=({value:u,sanitize:_,plugins:B})=>{var J;const le=(0,o.useRef)(null),fe=(0,o.useMemo)(()=>{try{return Vt({sanitize:_,plugins:B}).processSync(u)}catch(pe){console.error(pe)}},[u,_,B]);return(0,o.useEffect)(()=>{const pe=le.current;if(!pe||!fe)return;const ve=B==null?void 0:B.map(({viewerEffect:de})=>de==null?void 0:de({markdownBody:pe,file:fe}));return()=>{ve==null||ve.forEach(de=>de&&de())}},[fe,B]),o.createElement("div",{onClick:pe=>{var ve,de;const Se=pe.target;if(Se.tagName!=="A")return;const Te=Se.getAttribute("href");!(Te!=null&&Te.startsWith("#"))||(de=(ve=le.current)===null||ve===void 0?void 0:ve.querySelector("#user-content-"+Te.slice(1)))===null||de===void 0||de.scrollIntoView()},ref:le,className:"markdown-body",dangerouslySetInnerHTML:{__html:(J=fe==null?void 0:fe.toString())!==null&&J!==void 0?J:""}})}},32758:function(){"use strict"},55026:function(){"use strict"},18869:function(N){"use strict";N.exports=S;function S(l){if(l)throw l}},30932:function(N){"use strict";N.exports=S;function S(l,o){var T=String(l),v=0,f;if(typeof o!="string")throw new Error("Expected character");for(f=T.indexOf(o);f!==-1;)v++,f=T.indexOf(o,f+o.length);return v}},31250:function(N){N.exports=function(S){S.defineOption("placeholder","",function(m,g,h){var d=h&&h!=S.Init;if(g&&!d)m.on("blur",v),m.on("change",f),m.on("swapDoc",f),S.on(m.getInputField(),"compositionupdate",m.state.placeholderCompose=function(){T(m)}),f(m);else if(!g&&d){m.off("blur",v),m.off("change",f),m.off("swapDoc",f),S.off(m.getInputField(),"compositionupdate",m.state.placeholderCompose),l(m);var E=m.getWrapperElement();E.className=E.className.replace(" CodeMirror-empty","")}g&&!m.hasFocus()&&v(m)});function l(m){m.state.placeholder&&(m.state.placeholder.parentNode.removeChild(m.state.placeholder),m.state.placeholder=null)}function o(m){l(m);var g=m.state.placeholder=document.createElement("pre");g.style.cssText="height: 0; overflow: visible",g.style.direction=m.getOption("direction"),g.className="CodeMirror-placeholder CodeMirror-line-like";var h=m.getOption("placeholder");typeof h=="string"&&(h=document.createTextNode(h)),g.appendChild(h),m.display.lineSpace.insertBefore(g,m.display.lineSpace.firstChild)}function T(m){setTimeout(function(){var g=!1;if(m.lineCount()==1){var h=m.getInputField();g=h.nodeName=="TEXTAREA"?!m.getLine(0).length:!/[^\u200b]/.test(h.querySelector(".CodeMirror-line").textContent)}g?o(m):l(m)},20)}function v(m){a(m)&&o(m)}function f(m){var g=m.getWrapperElement(),h=a(m);g.className=g.className.replace(" CodeMirror-empty","")+(h?" CodeMirror-empty":""),h?o(m):l(m)}function a(m){return m.lineCount()===1&&m.getLine(0)===""}}},97553:function(N){N.exports=function(S){"use strict";S.overlayMode=function(l,o,T){return{startState:function(){return{base:S.startState(l),overlay:S.startState(o),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(v){return{base:S.copyState(l,v.base),overlay:S.copyState(o,v.overlay),basePos:v.basePos,baseCur:null,overlayPos:v.overlayPos,overlayCur:null}},token:function(v,f){return(v!=f.streamSeen||Math.min(f.basePos,f.overlayPos)2),x=/Android/.test(S),P=s||x||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(S),R=s||/Mac/.test(l),W=/\bCrOS\b/.test(S),U=/win/i.test(l),$=E&&S.match(/Version\/(\d*\.\d*)/);$&&($=Number($[1])),$&&$>=15&&(E=!1,g=!0);var L=R&&(h||E&&($==null||$<12.11)),F=o||a&&m>=9;function z(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var G=function(e,t){var r=e.className,n=z(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function Q(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Y(e,t){return Q(e).appendChild(t)}function H(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),typeof t=="string")i.appendChild(document.createTextNode(t));else if(t)for(var c=0;c=t)return A+(t-c);A+=k-c,A+=r-A%r,c=k+1}}var te=function(){this.id=null,this.f=null,this.time=0,this.handler=K(this.onTimeout,this)};te.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},te.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r=t)return n+Math.min(A,t-i);if(i+=c-n,i+=r-i%r,n=c+1,i>=t)return n}}var j=[""];function st(e){for(;j.length<=e;)j.push(Qe(j)+" ");return j[e]}function Qe(e){return e[e.length-1]}function Be(e,t){for(var r=[],n=0;n"\x80"&&(e.toUpperCase()!=e.toLowerCase()||pt.test(e))}function je(e,t){return t?t.source.indexOf("\\w")>-1&&ut(e)?!0:t.test(e):ut(e)}function Ot(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Ct=/[\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 Zn(e){return e.charCodeAt(0)>=768&&Ct.test(e)}function Jn(e,t,r){for(;(r<0?t>0:tr?-1:1;;){if(t==r)return t;var i=(t+r)/2,c=n<0?Math.ceil(i):Math.floor(i);if(c==t)return e(c)?t:r;e(c)?r=c:t=c+n}}function Cn(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,c=0;ct||t==r&&A.to==t)&&(n(Math.max(A.from,t),Math.min(A.to,r),A.level==1?"rtl":"ltr",c),i=!0)}i||n(t,r,"ltr")}var gn=null;function an(e,t,r){var n;gn=null;for(var i=0;it)return i;c.to==t&&(c.from!=c.to&&r=="before"?n=i:gn=i),c.from==t&&(c.from!=c.to&&r!="before"?n=i:gn=i)}return n!=null?n:gn}var ar=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function r(M){return M<=247?e.charAt(M):1424<=M&&M<=1524?"R":1536<=M&&M<=1785?t.charAt(M-1536):1774<=M&&M<=2220?"r":8192<=M&&M<=8203?"w":M==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,c=/[LRr]/,A=/[Lb1n]/,k=/[1n]/;function O(M,V,q){this.level=M,this.from=V,this.to=q}return function(M,V){var q=V=="ltr"?"L":"R";if(M.length==0||V=="ltr"&&!n.test(M))return!1;for(var ue=M.length,oe=[],me=0;me-1&&(n[t]=i.slice(0,c).concat(i.slice(c+1)))}}}function et(e,t){var r=In(e,t);if(!!r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i0}function on(e){e.prototype.on=function(t,r){Ye(this,t,r)},e.prototype.off=function(t,r){Tt(this,t,r)}}function Et(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function fn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function wn(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Ft(e){Et(e),fn(e)}function Ht(e){return e.target||e.srcElement}function ce(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),R&&e.ctrlKey&&t==1&&(t=3),t}var Je=function(){if(a&&m<9)return!1;var e=H("div");return"draggable"in e||"dragDrop"in e}(),ft;function dt(e){if(ft==null){var t=H("span","\u200B");Y(e,H("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(ft=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&m<8))}var r=ft?H("span","\u200B"):H("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}var yt;function St(e){if(yt!=null)return yt;var t=Y(e,document.createTextNode("A\u062EA")),r=Z(t,0,1).getBoundingClientRect(),n=Z(t,1,2).getBoundingClientRect();return Q(e),!r||r.left==r.right?!1:yt=n.right-r.right<3}var Bt=` - -b`.split(/\n/).length!=3?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf(` -`,t);i==-1&&(i=e.length);var c=e.slice(t,e.charAt(i-1)=="\r"?i-1:i),A=c.indexOf("\r");A!=-1?(r.push(c.slice(0,A)),t+=A+1):(r.push(c),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},yn=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(r){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Jt=function(){var e=H("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),qt=null;function mt(e){if(qt!=null)return qt;var t=Y(e,H("span","x")),r=t.getBoundingClientRect(),n=Z(t,0,1).getBoundingClientRect();return qt=Math.abs(r.left-n.left)>1}var Qt={},tt={};function fr(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Qt[e]=t}function vn(e,t){tt[e]=t}function Nn(e){if(typeof e=="string"&&tt.hasOwnProperty(e))e=tt[e];else if(e&&typeof e.name=="string"&&tt.hasOwnProperty(e.name)){var t=tt[e.name];typeof t=="string"&&(t={name:t}),e=ne(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Nn("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Nn("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Vt(e,t){t=Nn(t);var r=Qt[t.name];if(!r)return Vt(e,"text/plain");var n=r(e,t);if(zn.hasOwnProperty(t.name)){var i=zn[t.name];for(var c in i)!i.hasOwnProperty(c)||(n.hasOwnProperty(c)&&(n["_"+c]=n[c]),n[c]=i[c])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var A in t.modeProps)n[A]=t.modeProps[A];return n}var zn={};function yr(e,t){var r=zn.hasOwnProperty(e)?zn[e]:zn[e]={};D(t,r)}function Gn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function mr(e,t){for(var r;e.innerMode&&(r=e.innerMode(t),!(!r||r.mode==e));)t=r.state,e=r.mode;return r||{mode:e,state:t}}function or(e,t,r){return e.startState?e.startState(t,r):!0}var it=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};it.prototype.eol=function(){return this.pos>=this.string.length},it.prototype.sol=function(){return this.pos==this.lineStart},it.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},it.prototype.next=function(){if(this.post},it.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},it.prototype.skipToEnd=function(){this.pos=this.string.length},it.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},it.prototype.backUp=function(e){this.pos-=e},it.prototype.column=function(){return this.lastColumnPos0?null:(c&&t!==!1&&(this.pos+=c[0].length),c)}},it.prototype.current=function(){return this.string.slice(this.start,this.pos)},it.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},it.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},it.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Re(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],c=i.chunkSize();if(t=e.first&&tr?Ee(r,Re(e,r).text.length):Gi(t,Re(e,t.line).text.length)}function Gi(e,t){var r=e.ch;return r==null||r>t?Ee(e.line,t):r<0?Ee(e.line,0):e}function si(e,t){for(var r=[],n=0;nthis.maxLookAhead&&(this.maxLookAhead=e),t},Rn.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Rn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Rn.fromSaved=function(e,t,r){return t instanceof wr?new Rn(e,Gn(e.mode,t.state),r,t.lookAhead):new Rn(e,Gn(e.mode,t),r)},Rn.prototype.save=function(e){var t=e!==!1?Gn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new wr(t,this.maxLookAhead):t};function ui(e,t,r,n){var i=[e.state.modeGen],c={};di(e,t.text,e.doc.mode,r,function(M,V){return i.push(M,V)},c,n);for(var A=r.state,k=function(M){r.baseTokens=i;var V=e.state.overlays[M],q=1,ue=0;r.state=!0,di(e,t.text,V.mode,r,function(oe,me){for(var Ce=q;ueoe&&i.splice(q,1,oe,i[q+1],Le),q+=2,ue=Math.min(oe,Le)}if(!!me)if(V.opaque)i.splice(Ce,q-Ce,oe,"overlay "+me),q=Ce+2;else for(;Cee.options.maxHighlightLength&&Gn(e.doc.mode,n.state),c=ui(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=c.styles,c.classes?t.styleClasses=c.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function cr(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new Rn(n,!0,t);var c=Wi(e,t,r),A=c>n.first&&Re(n,c-1).stateAfter,k=A?Rn.fromSaved(n,A,c):new Rn(n,or(n.mode),c);return n.iter(c,t,function(O){Dn(e,O.text,k);var M=k.line;O.stateAfter=M==t-1||M%5==0||M>=i.viewFrom&&Mt.start)return c}throw new Error("Mode "+e.name+" failed to advance stream.")}var Wn=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function ci(e,t,r,n){var i=e.doc,c=i.mode,A;t=qe(i,t);var k=Re(i,t.line),O=cr(e,t.line,r),M=new it(k.text,e.options.tabSize,O),V;for(n&&(V=[]);(n||M.pose.options.maxHighlightLength?(k=!1,A&&Dn(e,t,n,V.pos),V.pos=t.length,q=null):q=hi(Qr(r,V,n.state,ue),c),ue){var oe=ue[0].name;oe&&(q="m-"+(q?oe+" "+q:oe))}if(!k||M!=q){for(;OA;--k){if(k<=c.first)return c.first;var O=Re(c,k-1),M=O.stateAfter;if(M&&(!r||k+(M instanceof wr?M.lookAhead:0)<=c.modeFrontier))return k;var V=ie(O.text,null,e.options.tabSize);(i==null||n>V)&&(i=k-1,n=V)}return i}function Ki(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontierr;n--){var i=Re(e,n).stateAfter;if(i&&(!(i instanceof wr)||n+i.lookAhead=t:c.to>t);(n||(n=[])).push(new vr(A,c.from,O?null:c.to))}}return n}function Qi(e,t,r){var n;if(e)for(var i=0;i=t:c.to>t);if(k||c.from==t&&A.type=="bookmark"&&(!r||c.marker.insertLeft)){var O=c.from==null||(A.inclusiveLeft?c.from<=t:c.from0&&k)for(var Pe=0;Pe0)){var V=[O,1],q=Fe(M.from,k.from),ue=Fe(M.to,k.to);(q<0||!A.inclusiveLeft&&!q)&&V.push({from:M.from,to:k.from}),(ue>0||!A.inclusiveRight&&!ue)&&V.push({from:k.to,to:M.to}),i.splice.apply(i,V),O+=V.length-3}}return i}function xr(e){var t=e.markedSpans;if(!!t){for(var r=0;rt)&&(!n||Jr(n,c.marker)<0)&&(n=c.marker)}return n}function Ai(e,t,r,n,i){var c=Re(e,t),A=qn&&c.markedSpans;if(A)for(var k=0;k=0&&q<=0||V<=0&&q>=0)&&(V<=0&&(O.marker.inclusiveRight&&i.inclusiveLeft?Fe(M.to,r)>=0:Fe(M.to,r)>0)||V>=0&&(O.marker.inclusiveRight&&i.inclusiveLeft?Fe(M.from,n)<=0:Fe(M.from,n)<0)))return!0}}}function Kn(e){for(var t;t=Ti(e);)e=t.find(-1,!0).line;return e}function Zi(e){for(var t;t=kr(e);)e=t.find(1,!0).line;return e}function Ji(e){for(var t,r;t=kr(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function Rr(e,t){var r=Re(e,t),n=Kn(r);return r==n?t:b(n)}function Ci(e,t){if(t>e.lastLine())return t;var r=Re(e,t),n;if(!$n(e,r))return t;for(;n=kr(r);)r=n.find(1,!0).line;return b(r)+1}function $n(e,t){var r=qn&&t.markedSpans;if(r){for(var n=void 0,i=0;it.maxLineLength&&(t.maxLineLength=i,t.maxLine=n)})}var dr=function(e,t,r){this.text=e,mi(this,t),this.height=r?r(this):1};dr.prototype.lineNo=function(){return b(this)},on(dr);function qi(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),xr(e),mi(e,r);var i=n?n(e):1;i!=e.height&&Ge(e,i)}function Pr(e){e.parent=null,xr(e)}var $i={},yi={};function Si(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?yi:$i;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function xi(e,t){var r=X("span",null,null,g?"padding-right: .1px":null),n={pre:X("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var c=i?t.rest[i-1]:t.line,A=void 0;n.pos=0,n.addToken=p,St(e.display.measure)&&(A=Wt(c,e.doc.direction))&&(n.addToken=u(n.addToken,A)),n.map=[];var k=t!=e.display.externalMeasured&&b(c);B(c,n,bn(e,c,k)),c.styleClasses&&(c.styleClasses.bgClass&&(n.bgClass=ye(c.styleClasses.bgClass,n.bgClass||"")),c.styleClasses.textClass&&(n.textClass=ye(c.styleClasses.textClass,n.textClass||""))),n.map.length==0&&n.map.push(0,0,n.content.appendChild(dt(e.display.measure))),i==0?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(g){var O=n.content.lastChild;(/\bcm-tab\b/.test(O.className)||O.querySelector&&O.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return et(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=ye(n.pre.className,n.textClass||"")),n}function k1(e){var t=H("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function p(e,t,r,n,i,c,A){if(!!t){var k=e.splitSpaces?C(t,e.trailingSpace):t,O=e.cm.state.specialChars,M=!1,V;if(!O.test(t))e.col+=t.length,V=document.createTextNode(k),e.map.push(e.pos,e.pos+t.length,V),a&&m<9&&(M=!0),e.pos+=t.length;else{V=document.createDocumentFragment();for(var q=0;;){O.lastIndex=q;var ue=O.exec(t),oe=ue?ue.index-q:t.length-q;if(oe){var me=document.createTextNode(k.slice(q,q+oe));a&&m<9?V.appendChild(H("span",[me])):V.appendChild(me),e.map.push(e.pos,e.pos+oe,me),e.col+=oe,e.pos+=oe}if(!ue)break;q+=oe+1;var Ce=void 0;if(ue[0]==" "){var Le=e.cm.options.tabSize,Ie=Le-e.col%Le;Ce=V.appendChild(H("span",st(Ie),"cm-tab")),Ce.setAttribute("role","presentation"),Ce.setAttribute("cm-text"," "),e.col+=Ie}else ue[0]=="\r"||ue[0]==` -`?(Ce=V.appendChild(H("span",ue[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ce.setAttribute("cm-text",ue[0]),e.col+=1):(Ce=e.cm.options.specialCharPlaceholder(ue[0]),Ce.setAttribute("cm-text",ue[0]),a&&m<9?V.appendChild(H("span",[Ce])):V.appendChild(Ce),e.col+=1);e.map.push(e.pos,e.pos+1,Ce),e.pos++}}if(e.trailingSpace=k.charCodeAt(t.length-1)==32,r||n||i||M||c||A){var _e=r||"";n&&(_e+=n),i&&(_e+=i);var we=H("span",[V],_e,c);if(A)for(var Pe in A)A.hasOwnProperty(Pe)&&Pe!="style"&&Pe!="class"&&we.setAttribute(Pe,A[Pe]);return e.content.appendChild(we)}e.content.appendChild(V)}}function C(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;iM&&q.from<=M));ue++);if(q.to>=V)return e(r,n,i,c,A,k,O);e(r,n.slice(0,q.to-M),i,c,null,k,O),c=null,n=n.slice(q.to-M),M=q.to}}}function _(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function B(e,t,r){var n=e.markedSpans,i=e.text,c=0;if(!n){for(var A=1;AO||lt.collapsed&&Xe.to==O&&Xe.from==O)){if(Xe.to!=null&&Xe.to!=O&&oe>Xe.to&&(oe=Xe.to,Ce=""),lt.className&&(me+=" "+lt.className),lt.css&&(ue=(ue?ue+";":"")+lt.css),lt.startStyle&&Xe.from==O&&(Le+=" "+lt.startStyle),lt.endStyle&&Xe.to==oe&&(Pe||(Pe=[])).push(lt.endStyle,Xe.to),lt.title&&((_e||(_e={})).title=lt.title),lt.attributes)for(var It in lt.attributes)(_e||(_e={}))[It]=lt.attributes[It];lt.collapsed&&(!Ie||Jr(Ie.marker,lt)<0)&&(Ie=Xe)}else Xe.from>O&&oe>Xe.from&&(oe=Xe.from)}if(Pe)for(var dn=0;dn=k)break;for(var Vn=Math.min(k,oe);;){if(V){var Hn=O+V.length;if(!Ie){var nn=Hn>Vn?V.slice(0,Vn-O):V;t.addToken(t,nn,q?q+me:me,Le,O+nn.length==oe?Ce:"",ue,_e)}if(Hn>=Vn){V=V.slice(Vn-O),O=Vn;break}O=Hn,Le=""}V=i.slice(c,c=r[M++]),q=Si(r[M++],t.cm.options)}}}function J(e,t,r){this.line=t,this.rest=Ji(t),this.size=this.rest?b(Qe(this.rest))-r+1:1,this.node=this.text=null,this.hidden=$n(e,t)}function le(e,t,r){for(var n=[],i,c=t;c2&&c.push((O.bottom+M.top)/2-r.top)}}c.push(r.bottom-r.top)}}function sr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;nr)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function jn(e,t){t=Kn(t);var r=b(t),n=e.display.externalMeasured=new J(e.doc,t,r);n.lineN=r;var i=n.built=xi(e,n);return n.text=i.pre,Y(e.display.lineMeasure,i.pre),n}function ur(e,t,r,n){return tn(e,er(e,t),r,n)}function Tr(e,t){if(t>=e.display.viewFrom&&t=r.lineN&&tt)&&(c=O-k,i=c-1,t>=O&&(A="right")),i!=null){if(n=e[M+2],k==O&&r==(n.insertLeft?"left":"right")&&(A=r),r=="left"&&i==0)for(;M&&e[M-2]==e[M-3]&&e[M-1].insertLeft;)n=e[(M-=3)+2],A="left";if(r=="right"&&i==O-k)for(;M=0&&(r=e[i]).left==r.right;i--);return r}function b1(e,t,r,n){var i=ki(t.map,r,n),c=i.node,A=i.start,k=i.end,O=i.collapse,M;if(c.nodeType==3){for(var V=0;V<4;V++){for(;A&&Zn(t.line.text.charAt(i.coverStart+A));)--A;for(;i.coverStart+k0&&(O=n="right");var q;e.options.lineWrapping&&(q=c.getClientRects()).length>1?M=q[n=="right"?q.length-1:0]:M=c.getBoundingClientRect()}if(a&&m<9&&!A&&(!M||!M.left&&!M.right)){var ue=c.parentNode.getClientRects()[0];ue?M={left:ue.left,right:ue.left+Or(e.display),top:ue.top,bottom:ue.bottom}:M=Xn}for(var oe=M.top-t.rect.top,me=M.bottom-t.rect.top,Ce=(oe+me)/2,Le=t.view.measure.heights,Ie=0;Ie=n.text.length?(O=n.text.length,M="before"):O<=0&&(O=0,M="after"),!k)return A(M=="before"?O-1:O,M=="before");function V(me,Ce,Le){var Ie=k[Ce],_e=Ie.level==1;return A(Le?me-1:me,_e!=Le)}var q=an(k,O,M),ue=gn,oe=V(O,q,M=="before");return ue!=null&&(oe.other=V(O,ue,M!="before")),oe}function De(e,t){var r=0;t=qe(e.doc,t),e.options.lineWrapping||(r=Or(e.display)*t.ch);var n=Re(e.doc,t.line),i=Yn(n)+Ut(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function sn(e,t,r,n,i){var c=Ee(e,t,r);return c.xRel=i,n&&(c.outside=n),c}function n1(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,r<0)return sn(n.first,0,null,-1,-1);var i=at(n,r),c=n.first+n.size-1;if(i>c)return sn(n.first+n.size-1,Re(n,c).text.length,null,1,1);t<0&&(t=0);for(var A=Re(n,i);;){var k=zt(e,A,i,t,r),O=Ei(A,k.ch+(k.xRel>0||k.outside>0?1:0));if(!O)return k;var M=O.find(1);if(M.line==i)return M;A=Re(n,i=M.line)}}function r1(e,t,r,n){n-=e1(t);var i=t.text.length,c=xt(function(A){return tn(e,r,A-1).bottom<=n},i,0);return i=xt(function(A){return tn(e,r,A).top>n},c,i),{begin:c,end:i}}function En(e,t,r,n){r||(r=er(e,t));var i=Ni(e,t,tn(e,r,n),"line").top;return r1(e,t,r,i)}function wt(e,t,r,n){return e.bottom<=r?!1:e.top>r?!0:(n?e.left:e.right)>t}function zt(e,t,r,n,i){i-=Yn(t);var c=er(e,t),A=e1(t),k=0,O=t.text.length,M=!0,V=Wt(t,e.doc.direction);if(V){var q=(e.options.lineWrapping?Er:nr)(e,t,r,c,V,n,i);M=q.level!=1,k=M?q.from:q.to-1,O=M?q.to:q.from-1}var ue=null,oe=null,me=xt(function(Ve){var Xe=tn(e,c,Ve);return Xe.top+=A,Xe.bottom+=A,wt(Xe,n,i,!1)?(Xe.top<=i&&Xe.left<=n&&(ue=Ve,oe=Xe),!0):!1},k,O),Ce,Le,Ie=!1;if(oe){var _e=n-oe.left=Pe.bottom?1:0}return me=Jn(t.text,me,1),sn(r,me,Le,Ie,n-Ce)}function nr(e,t,r,n,i,c,A){var k=xt(function(q){var ue=i[q],oe=ue.level!=1;return wt(tr(e,Ee(r,oe?ue.to:ue.from,oe?"before":"after"),"line",t,n),c,A,!0)},0,i.length-1),O=i[k];if(k>0){var M=O.level!=1,V=tr(e,Ee(r,M?O.from:O.to,M?"after":"before"),"line",t,n);wt(V,c,A,!0)&&V.top>A&&(O=i[k-1])}return O}function Er(e,t,r,n,i,c,A){var k=r1(e,t,n,A),O=k.begin,M=k.end;/\s/.test(t.text.charAt(M-1))&&M--;for(var V=null,q=null,ue=0;ue=M||oe.to<=O)){var me=oe.level!=1,Ce=tn(e,n,me?Math.min(M,oe.to)-1:Math.max(O,oe.from)).right,Le=CeLe)&&(V=oe,q=Le)}}return V||(V=i[i.length-1]),V.fromM&&(V={from:V.from,to:M,level:V.level}),V}var Ar;function Fr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(Ar==null){Ar=H("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Ar.appendChild(document.createTextNode("x")),Ar.appendChild(H("br"));Ar.appendChild(document.createTextNode("x"))}Y(e.measure,Ar);var r=Ar.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),Q(e.measure),r||1}function Or(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=H("span","xxxxxxxxxx"),r=H("pre",[t],"CodeMirror-line-like");Y(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function bi(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,c=t.gutters.firstChild,A=0;c;c=c.nextSibling,++A){var k=e.display.gutterSpecs[A].className;r[k]=c.offsetLeft+c.clientLeft+i,n[k]=c.clientWidth}return{fixedPos:na(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function na(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function wa(e){var t=Fr(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/Or(e.display)-3);return function(i){if($n(e.doc,i))return 0;var c=0;if(i.widgets)for(var A=0;A0&&(M=Re(e.doc,O.line).text).length==O.ch){var V=ie(M,M.length,e.options.tabSize)-M.length;O=Ee(O.line,Math.max(0,Math.round((c-_t(e.display).left)/Or(e.display))-V))}return O}function ei(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var r=e.display.view,n=0;nt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)qn&&Rr(e.doc,t)i.viewFrom?Br(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)Br(e);else if(t<=i.viewFrom){var c=_1(e,r,r+n,1);c?(i.view=i.view.slice(c.index),i.viewFrom=c.lineN,i.viewTo+=n):Br(e)}else if(r>=i.viewTo){var A=_1(e,t,t,-1);A?(i.view=i.view.slice(0,A.index),i.viewTo=A.lineN):Br(e)}else{var k=_1(e,t,t,-1),O=_1(e,r,r+n,1);k&&O?(i.view=i.view.slice(0,k.index).concat(le(e,k.lineN,O.lineN)).concat(i.view.slice(O.index)),i.viewTo+=n):Br(e)}var M=i.externalMeasured;M&&(r=i.lineN&&t=n.viewTo)){var c=n.view[ei(e,t)];if(c.node!=null){var A=c.changes||(c.changes=[]);ae(A,r)==-1&&A.push(r)}}}function Br(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function _1(e,t,r,n){var i=ei(e,t),c,A=e.display.view;if(!qn||r==e.doc.first+e.doc.size)return{index:i,lineN:r};for(var k=e.display.viewFrom,O=0;O0){if(i==A.length-1)return null;c=k+A[i].size-t,i++}else c=k-t;t+=c,r+=c}for(;Rr(e.doc,r)!=r;){if(i==(n<0?0:A.length-1))return null;r+=n*A[i-(n<0?1:0)].size,i+=n}return{index:i,lineN:r}}function qo(e,t,r){var n=e.display,i=n.view;i.length==0||t>=n.viewTo||r<=n.viewFrom?(n.view=le(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=le(e,t,n.viewFrom).concat(n.view):n.viewFromr&&(n.view=n.view.slice(0,ei(e,r)))),n.viewTo=r}function Ma(e){for(var t=e.display.view,r=0,n=0;n=e.display.viewTo||k.to().line0?t.blinker=setInterval(function(){e.hasFocus()||Oi(e),t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Da(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||oa(e))}function aa(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Oi(e))},100)}function oa(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(et(e,"focus",e,t),e.state.focused=!0,se(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),g&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),ia(e))}function Oi(e,t){e.state.delayingBlurEvent||(e.state.focused&&(et(e,"blur",e,t),e.state.focused=!1,G(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function D1(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n.005||V<-.005)&&(Ge(i.line,A),Pa(i.line),i.rest))for(var q=0;qe.display.sizerWidth){var ue=Math.ceil(k/Or(e.display));ue>e.display.maxLineLength&&(e.display.maxLineLength=ue,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Pa(e){if(e.widgets)for(var t=0;t=A&&(c=at(t,Yn(Re(t,O))-e.wrapper.clientHeight),A=O)}return{from:c,to:Math.max(A,c+1)}}function el(e,t){if(!gt(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),i!=null&&!I){var c=H("div","\u200B",null,`position: absolute; - top: `+(t.top-r.viewOffset-Ut(e.display))+`px; - height: `+(t.bottom-t.top+Yt(e)+r.barHeight)+`px; - left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(c),c.scrollIntoView(i),e.display.lineSpace.removeChild(c)}}}function tl(e,t,r,n){n==null&&(n=0);var i;!e.options.lineWrapping&&t==r&&(t=t.ch?Ee(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t,r=t.sticky=="before"?Ee(t.line,t.ch+1,"before"):t);for(var c=0;c<5;c++){var A=!1,k=tr(e,t),O=!r||r==t?k:tr(e,r);i={left:Math.min(k.left,O.left),top:Math.min(k.top,O.top)-n,right:Math.max(k.left,O.left),bottom:Math.max(k.bottom,O.bottom)+n};var M=la(e,i),V=e.doc.scrollTop,q=e.doc.scrollLeft;if(M.scrollTop!=null&&(o1(e,M.scrollTop),Math.abs(e.doc.scrollTop-V)>1&&(A=!0)),M.scrollLeft!=null&&(ti(e,M.scrollLeft),Math.abs(e.doc.scrollLeft-q)>1&&(A=!0)),!A)break}return i}function nl(e,t){var r=la(e,t);r.scrollTop!=null&&o1(e,r.scrollTop),r.scrollLeft!=null&&ti(e,r.scrollLeft)}function la(e,t){var r=e.display,n=Fr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:r.scroller.scrollTop,c=Tn(e),A={};t.bottom-t.top>c&&(t.bottom=t.top+c);var k=e.doc.height+en(r),O=t.topk-n;if(t.topi+c){var V=Math.min(t.top,(M?k:t.bottom)-c);V!=i&&(A.scrollTop=V)}var q=e.options.fixedGutter?0:r.gutters.offsetWidth,ue=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:r.scroller.scrollLeft-q,oe=jt(e)-r.gutters.offsetWidth,me=t.right-t.left>oe;return me&&(t.right=t.left+oe),t.left<10?A.scrollLeft=0:t.leftoe+ue-3&&(A.scrollLeft=t.right+(me?0:10)-oe),A}function sa(e,t){t!=null&&(F1(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Li(e){F1(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function a1(e,t,r){(t!=null||r!=null)&&F1(e),t!=null&&(e.curOp.scrollLeft=t),r!=null&&(e.curOp.scrollTop=r)}function rl(e,t){F1(e),e.curOp.scrollToPos=t}function F1(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=De(e,t.from),n=De(e,t.to);Fa(e,r,n,t.margin)}}function Fa(e,t,r,n){var i=la(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});a1(e,i.scrollLeft,i.scrollTop)}function o1(e,t){Math.abs(e.doc.scrollTop-t)<2||(o||fa(e,{top:t}),Ha(e,t,!0),o&&fa(e),u1(e,100))}function Ha(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function ti(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n)&&(e.doc.scrollLeft=t,Wa(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function l1(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+en(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Yt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var ni=function(e,t,r){this.cm=r;var n=this.vert=H("div",[H("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=H("div",[H("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),Ye(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),Ye(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&m<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ni.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var c=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+c)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(n==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},ni.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ni.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ni.prototype.zeroWidthHack=function(){var e=R&&!w?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new te,this.disableVert=new te},ni.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto";function n(){var i=e.getBoundingClientRect(),c=r=="vert"?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);c!=e?e.style.pointerEvents="none":t.set(1e3,n)}t.set(1e3,n)},ni.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var s1=function(){};s1.prototype.update=function(){return{bottom:0,right:0}},s1.prototype.setScrollLeft=function(){},s1.prototype.setScrollTop=function(){},s1.prototype.clear=function(){};function Ii(e,t){t||(t=l1(e));var r=e.display.barWidth,n=e.display.barHeight;Ba(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&D1(e),Ba(e,l1(e)),r=e.display.barWidth,n=e.display.barHeight}function Ba(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}var Ua={native:ni,null:s1};function za(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&G(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ua[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Ye(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,r){r=="horizontal"?ti(e,t):o1(e,t)},e),e.display.scrollbars.addClass&&se(e.display.wrapper,e.display.scrollbars.addClass)}var il=0;function ri(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.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:++il},pe(e.curOp)}function ii(e){var t=e.curOp;t&&de(t,function(r){for(var n=0;n=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new H1(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function ll(e){e.updatedDisplay=e.mustUpdate&&ua(e.cm,e.update)}function sl(e){var t=e.cm,r=t.display;e.updatedDisplay&&D1(t),e.barMeasure=l1(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ur(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Yt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-jt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function ul(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var r=+new Date+e.options.workTime,n=cr(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(c){if(n.line>=e.display.viewFrom){var A=c.styles,k=c.text.length>e.options.maxHighlightLength?Gn(t.mode,n.state):null,O=ui(e,c,n,!0);k&&(n.state=k),c.styles=O.styles;var M=c.styleClasses,V=O.classes;V?c.styleClasses=V:M&&(c.styleClasses=null);for(var q=!A||A.length!=c.styles.length||M!=V&&(!M||!V||M.bgClass!=V.bgClass||M.textClass!=V.textClass),ue=0;!q&&uer)return u1(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&Qn(e,function(){for(var c=0;c=r.viewFrom&&t.visible.to<=r.viewTo&&(r.updateLineNumbers==null||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&Ma(e)==0)return!1;Ka(e)&&(Br(e),t.dims=bi(e));var i=n.first+n.size,c=Math.max(t.visible.from-e.options.viewportMargin,n.first),A=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFromA&&r.viewTo-A<20&&(A=Math.min(i,r.viewTo)),qn&&(c=Rr(e.doc,c),A=Ci(e.doc,A));var k=c!=r.viewFrom||A!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;qo(e,c,A),r.viewOffset=Yn(Re(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var O=Ma(e);if(!k&&O==0&&!t.force&&r.renderedView==r.view&&(r.updateLineNumbers==null||r.updateLineNumbers>=r.viewTo))return!1;var M=dl(e);return O>4&&(r.lineDiv.style.display="none"),gl(e,r.updateLineNumbers,t.dims),O>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,pl(M),Q(r.cursorDiv),Q(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,k&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,u1(e,400)),r.updateLineNumbers=null,!0}function Ga(e,t){for(var r=t.viewport,n=!0;;n=!1){if(!n||!e.options.lineWrapping||t.oldDisplayWidth==jt(e)){if(r&&r.top!=null&&(r={top:Math.min(e.doc.height+en(e.display)-Tn(e),r.top)}),t.visible=P1(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else n&&(t.visible=P1(e.display,e.doc,r));if(!ua(e,t))break;D1(e);var i=l1(e);i1(e),Ii(e,i),ha(e,i),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function fa(e,t){var r=new H1(e,t);if(ua(e,r)){D1(e),Ga(e,r);var n=l1(e);i1(e),Ii(e,n),ha(e,n),r.finish()}}function gl(e,t,r){var n=e.display,i=e.options.lineNumbers,c=n.lineDiv,A=c.firstChild;function k(me){var Ce=me.nextSibling;return g&&R&&e.display.currentWheelTarget==me?me.style.display="none":me.parentNode.removeChild(me),Ce}for(var O=n.view,M=n.viewFrom,V=0;V-1&&(oe=!1),Ue(e,q,M,r)),oe&&(Q(q.lineNumber),q.lineNumber.appendChild(document.createTextNode(Rt(e.options,M)))),A=q.node.nextSibling}M+=q.size}for(;A;)A=k(A)}function ca(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function ha(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Yt(e)+"px"}function Wa(e){var t=e.display,r=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var n=na(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,c=n+"px",A=0;AA.clientWidth,O=A.scrollHeight>A.clientHeight;if(!!(n&&k||i&&O)){if(i&&R&&g){e:for(var M=t.target,V=c.view;M!=A;M=M.parentNode)for(var q=0;q=0&&Fe(e,n.to())<=0)return r}return-1};var At=function(e,t){this.anchor=e,this.head=t};At.prototype.from=function(){return _n(this.anchor,this.head)},At.prototype.to=function(){return lr(this.anchor,this.head)},At.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function pr(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(ue,oe){return Fe(ue.from(),oe.from())}),r=ae(t,i);for(var c=1;c0:O>=0){var M=_n(k.from(),A.from()),V=lr(k.to(),A.to()),q=k.empty()?A.from()==A.head:k.from()==k.head;c<=r&&--r,t.splice(--c,2,new At(q?V:M,q?M:V))}}return new ir(t,r)}function Ur(e,t){return new ir([new At(e,t||e)],0)}function zr(e){return e.text?Ee(e.from.line+e.text.length-1,Qe(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function Qa(e,t){if(Fe(e,t.from)<0)return e;if(Fe(e,t.to)<=0)return zr(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=zr(t).ch-t.to.ch),Ee(r,n)}function pa(e,t){for(var r=[],n=0;n1&&e.remove(k.line+1,me-1),e.insert(k.line+1,Ie)}Te(e,"change",e,t)}function Gr(e,t,r){function n(i,c,A){if(i.linked)for(var k=0;k1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Qe(e.done)}function eo(e,t,r,n){var i=e.history;i.undone.length=0;var c=+new Date,A,k;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&i.lastModTime>c-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(A=Al(i,i.lastOp==n)))k=Qe(A.changes),Fe(t.from,t.to)==0&&Fe(t.from,k.to)==0?k.to=zr(t):A.changes.push(va(e,t));else{var O=Qe(i.done);for((!O||!O.ranges)&&z1(e.sel,i.done),A={changes:[va(e,t)],generation:i.generation},i.done.push(A);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=c,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,k||et(e,"historyAdded")}function Cl(e,t,r,n){var i=t.charAt(0);return i=="*"||i=="+"&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function yl(e,t,r,n){var i=e.history,c=n&&n.origin;r==i.lastSelOp||c&&i.lastSelOrigin==c&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==c||Cl(e,c,Qe(i.done),t))?i.done[i.done.length-1]=t:z1(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=c,i.lastSelOp=r,n&&n.clearRedo!==!1&&$a(i.undone)}function z1(e,t){var r=Qe(t);r&&r.ranges&&r.equals(e)||t.push(e)}function to(e,t,r,n){var i=t["spans_"+e.id],c=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(A){A.markedSpans&&((i||(i=t["spans_"+e.id]={}))[c]=A.markedSpans),++c})}function Sl(e){if(!e)return null;for(var t,r=0;r-1&&(Qe(k)[q]=M[q],delete M[q])}}return n}function Ta(e,t,r,n){if(n){var i=e.anchor;if(r){var c=Fe(t,i)<0;c!=Fe(r,i)<0?(i=t,t=r):c!=Fe(t,r)<0&&(t=r)}return new At(i,t)}else return new At(r||t,t)}function G1(e,t,r,n,i){i==null&&(i=e.cm&&(e.cm.display.shift||e.extend)),xn(e,new ir([Ta(e.sel.primary(),t,r,i)],0),n)}function ro(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),c=0;c=t.ch:k.to>t.ch))){if(i&&(et(O,"beforeCursorEnter"),O.explicitlyCleared))if(c.markedSpans){--A;continue}else break;if(!O.atomic)continue;if(r){var q=O.find(n<0?1:-1),ue=void 0;if((n<0?V:M)&&(q=uo(e,q,-n,q&&q.line==t.line?c:null)),q&&q.line==t.line&&(ue=Fe(q,r))&&(n<0?ue<0:ue>0))return Mi(e,q,t,n,i)}var oe=O.find(n<0?-1:1);return(n<0?M:V)&&(oe=uo(e,oe,n,oe.line==t.line?c:null)),oe?Mi(e,oe,t,n,i):null}}return t}function K1(e,t,r,n,i){var c=n||1,A=Mi(e,t,r,c,i)||!i&&Mi(e,t,r,c,!0)||Mi(e,t,r,-c,i)||!i&&Mi(e,t,r,-c,!0);return A||(e.cantEdit=!0,Ee(e.first,0))}function uo(e,t,r,n){return r<0&&t.ch==0?t.line>e.first?qe(e,Ee(t.line-1)):null:r>0&&t.ch==(n||Re(e,t.line)).text.length?t.line=0;--i)ho(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else ho(e,t)}}function ho(e,t){if(!(t.text.length==1&&t.text[0]==""&&Fe(t.from,t.to)==0)){var r=pa(e,t);eo(e,t,r,e.cm?e.cm.curOp.id:NaN),h1(e,t,r,Zr(e,t));var n=[];Gr(e,function(i,c){!c&&ae(n,i.history)==-1&&(vo(i.history,t),n.push(i.history)),h1(i,t,null,Zr(i,t))})}}function Y1(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!(n&&!r)){for(var i=e.history,c,A=e.sel,k=t=="undo"?i.done:i.undone,O=t=="undo"?i.undone:i.done,M=0;M=0;--oe){var me=ue(oe);if(me)return me.v}}}}function po(e,t){if(t!=0&&(e.first+=t,e.sel=new ir(Be(e.sel.ranges,function(i){return new At(Ee(i.anchor.line+t,i.anchor.ch),Ee(i.head.line+t,i.head.ch))}),e.sel.primIndex),e.cm)){Pn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;ne.lastLine())){if(t.from.linec&&(t={from:t.from,to:Ee(c,Re(e,c).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Mn(e,t.from,t.to),r||(r=pa(e,t)),e.cm?Nl(e.cm,t,n):ma(e,t,n),W1(e,r,Me),e.cantEdit&&K1(e,Ee(e.firstLine(),0))&&(e.cantEdit=!1)}}function Nl(e,t,r){var n=e.doc,i=e.display,c=t.from,A=t.to,k=!1,O=c.line;e.options.lineWrapping||(O=b(Kn(Re(n,c.line))),n.iter(O,A.line+1,function(oe){if(oe==i.maxLine)return k=!0,!0})),n.sel.contains(t.from,t.to)>-1&&Pt(e),ma(n,t,r,wa(e)),e.options.lineWrapping||(n.iter(O,c.line+t.text.length,function(oe){var me=Nr(oe);me>i.maxLineLength&&(i.maxLine=oe,i.maxLineLength=me,i.maxLineChanged=!0,k=!1)}),k&&(e.curOp.updateMaxLine=!0)),Ki(n,c.line),u1(e,400);var M=t.text.length-(A.line-c.line)-1;t.full?Pn(e):c.line==A.line&&t.text.length==1&&!Za(e.doc,t)?Hr(e,c.line,"text"):Pn(e,c.line,A.line+1,M);var V=Lt(e,"changes"),q=Lt(e,"change");if(q||V){var ue={from:c,to:A,text:t.text,removed:t.removed,origin:t.origin};q&&Te(e,"change",e,ue),V&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(ue)}e.display.selForContextMenu=null}function Ri(e,t,r,n,i){var c;n||(n=r),Fe(n,r)<0&&(c=[n,r],r=c[0],n=c[1]),typeof t=="string"&&(t=e.splitLines(t)),_i(e,{from:r,to:n,text:t,origin:i})}function go(e,t,r,n){r1||!(this.children[0]instanceof p1))){var k=[];this.collapse(k),this.children=[new p1(k)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var A=i.lines.length%25+25,k=A;k10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;ne.display.maxLineLength&&(e.display.maxLine=M,e.display.maxLineLength=V,e.display.maxLineChanged=!0)}n!=null&&e&&this.collapsed&&Pn(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&lo(e.doc)),e&&Te(e,"markerCleared",e,this,n,i),t&&ii(e),this.parent&&this.parent.clear()}},Wr.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var r,n,i=0;i0||A==0&&c.clearWhenEmpty!==!1)return c;if(c.replacedWith&&(c.collapsed=!0,c.widgetNode=X("span",[c.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||c.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(c.widgetNode.insertLeft=!0)),c.collapsed){if(Ai(e,t.line,t,r,c)||t.line!=r.line&&Ai(e,r.line,t,r,c))throw new Error("Inserting collapsed marker partially overlapping an existing one");Vr()}c.addToHistory&&eo(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var k=t.line,O=e.cm,M;if(e.iter(k,r.line+1,function(q){O&&c.collapsed&&!O.options.lineWrapping&&Kn(q)==O.display.maxLine&&(M=!0),c.collapsed&&k!=t.line&&Ge(q,0),Xi(q,new vr(c,k==t.line?t.ch:null,k==r.line?r.ch:null)),++k}),c.collapsed&&e.iter(t.line,r.line+1,function(q){$n(e,q)&&Ge(q,0)}),c.clearOnEnter&&Ye(c,"beforeCursorEnter",function(){return c.clear()}),c.readOnly&&(Yi(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),c.collapsed&&(c.id=++Eo,c.atomic=!0),O){if(M&&(O.curOp.updateMaxLine=!0),c.collapsed)Pn(O,t.line,r.line+1);else if(c.className||c.startStyle||c.endStyle||c.css||c.attributes||c.title)for(var V=t.line;V<=r.line;V++)Hr(O,V,"text");c.atomic&&lo(O.doc),Te(O,"markerAdded",O,c)}return c}var v1=function(e,t){this.markers=e,this.primary=t;for(var r=0;r=0;O--)_i(this,n[O]);k?ao(this,k):this.cm&&Li(this.cm)}),undo:hn(function(){Y1(this,"undo")}),redo:hn(function(){Y1(this,"redo")}),undoSelection:hn(function(){Y1(this,"undo",!0)}),redoSelection:hn(function(){Y1(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=qe(this,e),t=qe(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(c){var A=c.markedSpans;if(A)for(var k=0;k=O.to||O.from==null&&i!=e.line||O.from!=null&&i==t.line&&O.from>=t.ch)&&(!r||r(O.marker))&&n.push(O.marker.parent||O.marker)}++i}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;ne)return t=e,!0;e-=c,++r}),qe(this,Ee(r,t))},indexFromPos:function(e){e=qe(this,e);var t=e.ch;if(e.linet&&(t=e.from),e.to!=null&&e.to-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var V=e.dataTransfer.getData("Text");if(V){var q;if(t.state.draggingText&&!t.state.draggingText.copy&&(q=t.listSelections()),W1(t.doc,Ur(r,r)),q)for(var ue=0;ue=0;k--)Ri(e.doc,"",n[k].from,n[k].to,"+delete");Li(e)})}function Aa(e,t,r){var n=Jn(e.text,t+r,r);return n<0||n>e.text.length?null:n}function Ca(e,t,r){var n=Aa(e,t.ch,r);return n==null?null:new Ee(t.line,n,r<0?"after":"before")}function ya(e,t,r,n,i){if(e){t.doc.direction=="rtl"&&(i=-i);var c=Wt(r,t.doc.direction);if(c){var A=i<0?Qe(c):c[0],k=i<0==(A.level==1),O=k?"after":"before",M;if(A.level>0||t.doc.direction=="rtl"){var V=er(t,r);M=i<0?r.text.length-1:0;var q=tn(t,V,M).top;M=xt(function(ue){return tn(t,V,ue).top==q},i<0==(A.level==1)?A.from:A.to-1,M),O=="before"&&(M=Aa(r,M,1))}else M=i<0?A.to:A.from;return new Ee(n,M,O)}}return new Ee(n,i<0?r.text.length:0,i<0?"before":"after")}function Ul(e,t,r,n){var i=Wt(t,e.doc.direction);if(!i)return Ca(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var c=an(i,r.ch,r.sticky),A=i[c];if(e.doc.direction=="ltr"&&A.level%2==0&&(n>0?A.to>r.ch:A.from=A.from&&ue>=V.begin)){var oe=q?"before":"after";return new Ee(r.line,ue,oe)}}var me=function(Ie,_e,we){for(var Pe=function(It,dn){return dn?new Ee(r.line,k(It,1),"before"):new Ee(r.line,It,"after")};Ie>=0&&Ie0==(Ve.level!=1),lt=Xe?we.begin:k(we.end,-1);if(Ve.from<=lt&<0?V.end:k(V.begin,-1);return Le!=null&&!(n>0&&Le==t.text.length)&&(Ce=me(n>0?0:i.length-1,n,M(Le)),Ce)?Ce:null}var A1={selectAll:fo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Me)},killLine:function(e){return Fi(e,function(t){if(t.empty()){var r=Re(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line0)i=new Ee(i.line,i.ch+1),e.replaceRange(c.charAt(i.ch-1)+c.charAt(i.ch-2),Ee(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var A=Re(e.doc,i.line-1).text;A&&(i=new Ee(i.line,1),e.replaceRange(c.charAt(0)+e.doc.lineSeparator()+A.charAt(A.length-1),Ee(i.line-1,A.length-1),i,"+transpose"))}}r.push(new At(i,i))}e.setSelections(r)})},newlineAndIndent:function(e){return Qn(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;ne&&Fe(t,this.pos)==0&&r==this.button};var y1,S1;function Xl(e,t){var r=+new Date;return S1&&S1.compare(r,e,t)?(y1=S1=null,"triple"):y1&&y1.compare(r,e,t)?(S1=new xa(r,e,t),y1=null,"double"):(y1=new xa(r,e,t),S1=null,"single")}function Do(e){var t=this,r=t.display;if(!(gt(t,e)||r.activeTouch&&r.input.supportsTouch())){if(r.input.ensurePolled(),r.shift=e.shiftKey,rt(r,e)){g||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0},100));return}if(!ka(t,e)){var n=$r(t,e),i=ce(e),c=n?Xl(n,i):"single";window.focus(),i==1&&t.state.selectingText&&t.state.selectingText(e),!(n&&Ql(t,i,n,c,e))&&(i==1?n?Zl(t,n,c,e):Ht(e)==r.scroller&&Et(e):i==2?(n&&G1(t.doc,n),setTimeout(function(){return r.input.focus()},20)):i==3&&(F?t.display.input.onContextMenu(e):aa(t)))}}}function Ql(e,t,r,n,i){var c="Click";return n=="double"?c="Double"+c:n=="triple"&&(c="Triple"+c),c=(t==1?"Left":t==2?"Middle":"Right")+c,C1(e,No(c,i),i,function(A){if(typeof A=="string"&&(A=A1[A]),!A)return!1;var k=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),k=A(e,r)!=ee}finally{e.state.suppressEdits=!1}return k})}function Vl(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(i.unit==null){var c=W?r.shiftKey&&r.metaKey:r.altKey;i.unit=c?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(i.extend==null||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),i.addNew==null&&(i.addNew=R?r.metaKey:r.ctrlKey),i.moveOnDrag==null&&(i.moveOnDrag=!(R?r.altKey:r.ctrlKey)),i}function Zl(e,t,r,n){a?setTimeout(K(Da,e),0):e.curOp.focus=he();var i=Vl(e,r,n),c=e.doc.sel,A;e.options.dragDrop&&Je&&!e.isReadOnly()&&r=="single"&&(A=c.contains(t))>-1&&(Fe((A=c.ranges[A]).from(),t)<0||t.xRel>0)&&(Fe(A.to(),t)>0||t.xRel<0)?Jl(e,n,t,i):ql(e,n,t,i)}function Jl(e,t,r,n){var i=e.display,c=!1,A=cn(e,function(M){g&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:aa(e)),Tt(i.wrapper.ownerDocument,"mouseup",A),Tt(i.wrapper.ownerDocument,"mousemove",k),Tt(i.scroller,"dragstart",O),Tt(i.scroller,"drop",A),c||(Et(M),n.addNew||G1(e.doc,r,null,null,n.extend),g&&!y||a&&m==9?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),k=function(M){c=c||Math.abs(t.clientX-M.clientX)+Math.abs(t.clientY-M.clientY)>=10},O=function(){return c=!0};g&&(i.scroller.draggable=!0),e.state.draggingText=A,A.copy=!n.moveOnDrag,Ye(i.wrapper.ownerDocument,"mouseup",A),Ye(i.wrapper.ownerDocument,"mousemove",k),Ye(i.scroller,"dragstart",O),Ye(i.scroller,"drop",A),e.state.delayingBlurEvent=!0,setTimeout(function(){return i.input.focus()},20),i.scroller.dragDrop&&i.scroller.dragDrop()}function Po(e,t,r){if(r=="char")return new At(t,t);if(r=="word")return e.findWordAt(t);if(r=="line")return new At(Ee(t.line,0),qe(e.doc,Ee(t.line+1,0)));var n=r(e,t);return new At(n.from,n.to)}function ql(e,t,r,n){a&&aa(e);var i=e.display,c=e.doc;Et(t);var A,k,O=c.sel,M=O.ranges;if(n.addNew&&!n.extend?(k=c.sel.contains(r),k>-1?A=M[k]:A=new At(r,r)):(A=c.sel.primary(),k=c.sel.primIndex),n.unit=="rectangle")n.addNew||(A=new At(r,r)),r=$r(e,t,!0,!0),k=-1;else{var V=Po(e,r,n.unit);n.extend?A=Ta(A,V.anchor,V.head,n.extend):A=V}n.addNew?k==-1?(k=M.length,xn(c,pr(e,M.concat([A]),k),{scroll:!1,origin:"*mouse"})):M.length>1&&M[k].empty()&&n.unit=="char"&&!n.extend?(xn(c,pr(e,M.slice(0,k).concat(M.slice(k+1)),0),{scroll:!1,origin:"*mouse"}),O=c.sel):Ea(c,k,A,Ae):(k=0,xn(c,new ir([A],0),Ae),O=c.sel);var q=r;function ue(we){if(Fe(q,we)!=0)if(q=we,n.unit=="rectangle"){for(var Pe=[],Ve=e.options.tabSize,Xe=ie(Re(c,r.line).text,r.ch,Ve),lt=ie(Re(c,we.line).text,we.ch,Ve),It=Math.min(Xe,lt),dn=Math.max(Xe,lt),Gt=Math.min(r.line,we.line),Vn=Math.min(e.lastLine(),Math.max(r.line,we.line));Gt<=Vn;Gt++){var Hn=Re(c,Gt).text,nn=Ne(Hn,It,Ve);It==dn?Pe.push(new At(Ee(Gt,nn),Ee(Gt,nn))):Hn.length>nn&&Pe.push(new At(Ee(Gt,nn),Ee(Gt,Ne(Hn,dn,Ve))))}Pe.length||Pe.push(new At(r,r)),xn(c,pr(e,O.ranges.slice(0,k).concat(Pe),k),{origin:"*mouse",scroll:!1}),e.scrollIntoView(we)}else{var Bn=A,An=Po(e,we,n.unit),un=Bn.anchor,rn;Fe(An.anchor,un)>0?(rn=An.head,un=_n(Bn.from(),An.anchor)):(rn=An.anchor,un=lr(Bn.to(),An.head));var Xt=O.ranges.slice(0);Xt[k]=$l(e,new At(qe(c,un),rn)),xn(c,pr(e,Xt,k),Ae)}}var oe=i.wrapper.getBoundingClientRect(),me=0;function Ce(we){var Pe=++me,Ve=$r(e,we,!0,n.unit=="rectangle");if(!!Ve)if(Fe(Ve,q)!=0){e.curOp.focus=he(),ue(Ve);var Xe=P1(i,c);(Ve.line>=Xe.to||Ve.lineoe.bottom?20:0;lt&&setTimeout(cn(e,function(){me==Pe&&(i.scroller.scrollTop+=lt,Ce(we))}),50)}}function Le(we){e.state.selectingText=!1,me=1/0,we&&(Et(we),i.input.focus()),Tt(i.wrapper.ownerDocument,"mousemove",Ie),Tt(i.wrapper.ownerDocument,"mouseup",_e),c.history.lastSelOrigin=null}var Ie=cn(e,function(we){we.buttons===0||!ce(we)?Le(we):Ce(we)}),_e=cn(e,Le);e.state.selectingText=_e,Ye(i.wrapper.ownerDocument,"mousemove",Ie),Ye(i.wrapper.ownerDocument,"mouseup",_e)}function $l(e,t){var r=t.anchor,n=t.head,i=Re(e.doc,r.line);if(Fe(r,n)==0&&r.sticky==n.sticky)return t;var c=Wt(i);if(!c)return t;var A=an(c,r.ch,r.sticky),k=c[A];if(k.from!=r.ch&&k.to!=r.ch)return t;var O=A+(k.from==r.ch==(k.level!=1)?0:1);if(O==0||O==c.length)return t;var M;if(n.line!=r.line)M=(n.line-r.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var V=an(c,n.ch,n.sticky),q=V-A||(n.ch-r.ch)*(k.level==1?-1:1);V==O-1||V==O?M=q<0:M=q>0}var ue=c[O+(M?-1:0)],oe=M==(ue.level==1),me=oe?ue.from:ue.to,Ce=oe?"after":"before";return r.ch==me&&r.sticky==Ce?t:new At(new Ee(r.line,me,Ce),n)}function Fo(e,t,r,n){var i,c;if(t.touches)i=t.touches[0].clientX,c=t.touches[0].clientY;else try{i=t.clientX,c=t.clientY}catch(ue){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&Et(t);var A=e.display,k=A.lineDiv.getBoundingClientRect();if(c>k.bottom||!Lt(e,r))return wn(t);c-=k.top-A.viewOffset;for(var O=0;O=i){var V=at(e.doc,c),q=e.display.gutterSpecs[O];return et(e,r,e,V,q.className,t),wn(t)}}}function ka(e,t){return Fo(e,t,"gutterClick",!0)}function Ho(e,t){rt(e.display,t)||es(e,t)||gt(e,t,"contextmenu")||F||e.display.input.onContextMenu(t)}function es(e,t){return Lt(e,"gutterContextMenu")?Fo(e,t,"gutterContextMenu",!1):!1}function Bo(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),qr(e)}var Hi={toString:function(){return"CodeMirror.Init"}},Uo={},V1={};function ts(e){var t=e.optionHandlers;function r(n,i,c,A){e.defaults[n]=i,c&&(t[n]=A?function(k,O,M){M!=Hi&&c(k,O,M)}:c)}e.defineOption=r,e.Init=Hi,r("value","",function(n,i){return n.setValue(i)},!0),r("mode",null,function(n,i){n.doc.modeOption=i,ga(n)},!0),r("indentUnit",2,ga,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,function(n){c1(n),qr(n),Pn(n)},!0),r("lineSeparator",null,function(n,i){if(n.doc.lineSep=i,!!i){var c=[],A=n.doc.first;n.doc.iter(function(O){for(var M=0;;){var V=O.text.indexOf(i,M);if(V==-1)break;M=V+i.length,c.push(Ee(A,V))}A++});for(var k=c.length-1;k>=0;k--)Ri(n.doc,i,c[k],Ee(c[k].line,c[k].ch+i.length))}}),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(n,i,c){n.state.specialChars=new RegExp(i.source+(i.test(" ")?"":"| "),"g"),c!=Hi&&n.refresh()}),r("specialCharPlaceholder",k1,function(n){return n.refresh()},!0),r("electricChars",!0),r("inputStyle",P?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),r("spellcheck",!1,function(n,i){return n.getInputField().spellcheck=i},!0),r("autocorrect",!1,function(n,i){return n.getInputField().autocorrect=i},!0),r("autocapitalize",!1,function(n,i){return n.getInputField().autocapitalize=i},!0),r("rtlMoveVisually",!U),r("wholeLineUpdateBefore",!0),r("theme","default",function(n){Bo(n),f1(n)},!0),r("keyMap","default",function(n,i,c){var A=X1(i),k=c!=Hi&&X1(c);k&&k.detach&&k.detach(n,A),A.attach&&A.attach(n,k||null)}),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,rs,!0),r("gutters",[],function(n,i){n.display.gutterSpecs=da(i,n.options.lineNumbers),f1(n)},!0),r("fixedGutter",!0,function(n,i){n.display.gutters.style.left=i?na(n.display)+"px":"0",n.refresh()},!0),r("coverGutterNextToScrollbar",!1,function(n){return Ii(n)},!0),r("scrollbarStyle","native",function(n){za(n),Ii(n),n.display.scrollbars.setScrollTop(n.doc.scrollTop),n.display.scrollbars.setScrollLeft(n.doc.scrollLeft)},!0),r("lineNumbers",!1,function(n,i){n.display.gutterSpecs=da(n.options.gutters,i),f1(n)},!0),r("firstLineNumber",1,f1,!0),r("lineNumberFormatter",function(n){return n},f1,!0),r("showCursorWhenSelecting",!1,i1,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,function(n,i){i=="nocursor"&&(Oi(n),n.display.input.blur()),n.display.input.readOnlyChanged(i)}),r("screenReaderLabel",null,function(n,i){i=i===""?null:i,n.display.input.screenReaderLabelChanged(i)}),r("disableInput",!1,function(n,i){i||n.display.input.reset()},!0),r("dragDrop",!0,ns),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,i1,!0),r("singleCursorHeightPerLine",!0,i1,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,c1,!0),r("addModeClass",!1,c1,!0),r("pollInterval",100),r("undoDepth",200,function(n,i){return n.doc.history.undoDepth=i}),r("historyEventDelay",1250),r("viewportMargin",10,function(n){return n.refresh()},!0),r("maxHighlightLength",1e4,c1,!0),r("moveInputWithCursor",!0,function(n,i){i||n.display.input.resetPosition()}),r("tabindex",null,function(n,i){return n.display.input.getField().tabIndex=i||""}),r("autofocus",null),r("direction","ltr",function(n,i){return n.doc.setDirection(i)},!0),r("phrases",null)}function ns(e,t,r){var n=r&&r!=Hi;if(!t!=!n){var i=e.display.dragFunctions,c=t?Ye:Tt;c(e.display.scroller,"dragstart",i.start),c(e.display.scroller,"dragenter",i.enter),c(e.display.scroller,"dragover",i.over),c(e.display.scroller,"dragleave",i.leave),c(e.display.scroller,"drop",i.drop)}}function rs(e){e.options.lineWrapping?(se(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(G(e.display.wrapper,"CodeMirror-wrap"),Dr(e)),ra(e),Pn(e),qr(e),setTimeout(function(){return Ii(e)},100)}function Dt(e,t){var r=this;if(!(this instanceof Dt))return new Dt(e,t);this.options=t=t?D(t):{},D(Uo,t,!1);var n=t.value;typeof n=="string"?n=new Fn(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new Dt.inputStyles[t.inputStyle](this),c=this.display=new ml(e,n,i,t);c.wrapper.CodeMirror=this,Bo(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),za(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 te,keySeq:null,specialChars:null},t.autofocus&&!P&&c.input.focus(),a&&m<11&&setTimeout(function(){return r.display.input.reset(!0)},20),is(this),Dl(),ri(this),this.curOp.forceUpdate=!0,Ja(this,n),t.autofocus&&!P||this.hasFocus()?setTimeout(function(){r.hasFocus()&&!r.state.focused&&oa(r)},20):Oi(this);for(var A in V1)V1.hasOwnProperty(A)&&V1[A](this,t[A],Hi);Ka(this),t.finishInit&&t.finishInit(this);for(var k=0;k20*20}Ye(t.scroller,"touchstart",function(O){if(!gt(e,O)&&!c(O)&&!ka(e,O)){t.input.ensurePolled(),clearTimeout(r);var M=+new Date;t.activeTouch={start:M,moved:!1,prev:M-n.end<=300?n:null},O.touches.length==1&&(t.activeTouch.left=O.touches[0].pageX,t.activeTouch.top=O.touches[0].pageY)}}),Ye(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Ye(t.scroller,"touchend",function(O){var M=t.activeTouch;if(M&&!rt(t,O)&&M.left!=null&&!M.moved&&new Date-M.start<300){var V=e.coordsChar(t.activeTouch,"page"),q;!M.prev||A(M,M.prev)?q=new At(V,V):!M.prev.prev||A(M,M.prev.prev)?q=e.findWordAt(V):q=new At(Ee(V.line,0),qe(e.doc,Ee(V.line+1,0))),e.setSelection(q.anchor,q.head),e.focus(),Et(O)}i()}),Ye(t.scroller,"touchcancel",i),Ye(t.scroller,"scroll",function(){t.scroller.clientHeight&&(o1(e,t.scroller.scrollTop),ti(e,t.scroller.scrollLeft,!0),et(e,"scroll",e))}),Ye(t.scroller,"mousewheel",function(O){return Xa(e,O)}),Ye(t.scroller,"DOMMouseScroll",function(O){return Xa(e,O)}),Ye(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(O){gt(e,O)||Ft(O)},over:function(O){gt(e,O)||(Rl(e,O),Ft(O))},start:function(O){return _l(e,O)},drop:cn(e,Ml),leave:function(O){gt(e,O)||yo(e)}};var k=t.input.getField();Ye(k,"keyup",function(O){return _o.call(e,O)}),Ye(k,"keydown",cn(e,Mo)),Ye(k,"keypress",cn(e,Ro)),Ye(k,"focus",function(O){return oa(e,O)}),Ye(k,"blur",function(O){return Oi(e,O)})}var Na=[];Dt.defineInitHook=function(e){return Na.push(e)};function x1(e,t,r,n){var i=e.doc,c;r==null&&(r="add"),r=="smart"&&(i.mode.indent?c=cr(e,t).state:r="prev");var A=e.options.tabSize,k=Re(i,t),O=ie(k.text,null,A);k.stateAfter&&(k.stateAfter=null);var M=k.text.match(/^\s*/)[0],V;if(!n&&!/\S/.test(k.text))V=0,r="not";else if(r=="smart"&&(V=i.mode.indent(c,k.text.slice(M.length),k.text),V==ee||V>150)){if(!n)return;r="prev"}r=="prev"?t>i.first?V=ie(Re(i,t-1).text,null,A):V=0:r=="add"?V=O+e.options.indentUnit:r=="subtract"?V=O-e.options.indentUnit:typeof r=="number"&&(V=O+r),V=Math.max(0,V);var q="",ue=0;if(e.options.indentWithTabs)for(var oe=Math.floor(V/A);oe;--oe)ue+=A,q+=" ";if(ueA,O=Bt(t),M=null;if(k&&n.ranges.length>1)if(gr&&gr.text.join(` -`)==t){if(n.ranges.length%gr.text.length==0){M=[];for(var V=0;V=0;ue--){var oe=n.ranges[ue],me=oe.from(),Ce=oe.to();oe.empty()&&(r&&r>0?me=Ee(me.line,me.ch-r):e.state.overwrite&&!k?Ce=Ee(Ce.line,Math.min(Re(c,Ce.line).text.length,Ce.ch+Qe(O).length)):k&&gr&&gr.lineWise&&gr.text.join(` -`)==O.join(` -`)&&(me=Ce=Ee(me.line,0)));var Le={from:me,to:Ce,text:M?M[ue%M.length]:O,origin:i||(k?"paste":e.state.cutIncoming>A?"cut":"+input")};_i(e.doc,Le),Te(e,"inputRead",e,Le)}t&&!k&&Go(e,t),Li(e),e.curOp.updateInput<2&&(e.curOp.updateInput=q),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function zo(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&Qn(t,function(){return ba(t,r,0,null,"paste")}),!0}function Go(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var c=e.getModeAt(i.head),A=!1;if(c.electricChars){for(var k=0;k-1){A=x1(e,i.head.line,"smart");break}}else c.electricInput&&c.electricInput.test(Re(e.doc,i.head.line).text.slice(0,i.head.ch))&&(A=x1(e,i.head.line,"smart"));A&&Te(e,"electricInput",e,i.head.line)}}}function Wo(e){for(var t=[],r=[],n=0;nc&&(x1(this,k.head.line,n,!0),c=k.head.line,A==this.doc.sel.primIndex&&Li(this));else{var O=k.from(),M=k.to(),V=Math.max(c,O.line);c=Math.min(this.lastLine(),M.line-(M.ch?0:1))+1;for(var q=V;q0&&Ea(this.doc,A,new At(O,ue[A].to()),Me)}}}),getTokenAt:function(n,i){return ci(this,n,i)},getLineTokens:function(n,i){return ci(this,Ee(n),i,!0)},getTokenTypeAt:function(n){n=qe(this.doc,n);var i=bn(this,Re(this.doc,n.line)),c=0,A=(i.length-1)/2,k=n.ch,O;if(k==0)O=i[2];else for(;;){var M=c+A>>1;if((M?i[M*2-1]:0)>=k)A=M;else if(i[M*2+1]O&&(n=O,A=!0),k=Re(this.doc,n)}else k=n;return Ni(this,k,{top:0,left:0},i||"page",c||A).top+(A?this.doc.height-Yn(k):0)},defaultTextHeight:function(){return Fr(this.display)},defaultCharWidth:function(){return Or(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(n,i,c,A,k){var O=this.display;n=tr(this,qe(this.doc,n));var M=n.bottom,V=n.left;if(i.style.position="absolute",i.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(i),O.sizer.appendChild(i),A=="over")M=n.top;else if(A=="above"||A=="near"){var q=Math.max(O.wrapper.clientHeight,this.doc.height),ue=Math.max(O.sizer.clientWidth,O.lineSpace.clientWidth);(A=="above"||n.bottom+i.offsetHeight>q)&&n.top>i.offsetHeight?M=n.top-i.offsetHeight:n.bottom+i.offsetHeight<=q&&(M=n.bottom),V+i.offsetWidth>ue&&(V=ue-i.offsetWidth)}i.style.top=M+"px",i.style.left=i.style.right="",k=="right"?(V=O.sizer.clientWidth-i.offsetWidth,i.style.right="0px"):(k=="left"?V=0:k=="middle"&&(V=(O.sizer.clientWidth-i.offsetWidth)/2),i.style.left=V+"px"),c&&nl(this,{left:V,top:M,right:V+i.offsetWidth,bottom:M+i.offsetHeight})},triggerOnKeyDown:On(Mo),triggerOnKeyPress:On(Ro),triggerOnKeyUp:_o,triggerOnMouseDown:On(Do),execCommand:function(n){if(A1.hasOwnProperty(n))return A1[n].call(null,this)},triggerElectric:On(function(n){Go(this,n)}),findPosH:function(n,i,c,A){var k=1;i<0&&(k=-1,i=-i);for(var O=qe(this.doc,n),M=0;M0&&V(c.charAt(A-1));)--A;for(;k.5||this.options.lineWrapping)&&ra(this),et(this,"refresh",this)}),swapDoc:On(function(n){var i=this.doc;return i.cm=null,this.state.selectingText&&this.state.selectingText(),Ja(this,n),qr(this),this.display.input.reset(),a1(this,n.scrollLeft,n.scrollTop),this.curOp.forceScroll=!0,Te(this,"swapDoc",this,i),i}),phrase:function(n){var i=this.options.phrases;return i&&Object.prototype.hasOwnProperty.call(i,n)?i[n]:n},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(e),e.registerHelper=function(n,i,c){r.hasOwnProperty(n)||(r[n]=e[n]={_global:[]}),r[n][i]=c},e.registerGlobalHelper=function(n,i,c,A){e.registerHelper(n,i,A),r[n]._global.push({pred:c,val:A})}}function Oa(e,t,r,n,i){var c=t,A=r,k=Re(e,t.line),O=i&&e.direction=="rtl"?-r:r;function M(){var _e=t.line+O;return _e=e.first+e.size?!1:(t=new Ee(_e,t.ch,t.sticky),k=Re(e,_e))}function V(_e){var we;if(n=="codepoint"){var Pe=k.text.charCodeAt(t.ch+(r>0?0:-1));if(isNaN(Pe))we=null;else{var Ve=r>0?Pe>=55296&&Pe<56320:Pe>=56320&&Pe<57343;we=new Ee(t.line,Math.max(0,Math.min(k.text.length,t.ch+r*(Ve?2:1))),-r)}}else i?we=Ul(e.cm,k,t,r):we=Ca(k,t,r);if(we==null)if(!_e&&M())t=ya(i,e.cm,k,t.line,O);else return!1;else t=we;return!0}if(n=="char"||n=="codepoint")V();else if(n=="column")V(!0);else if(n=="word"||n=="group")for(var q=null,ue=n=="group",oe=e.cm&&e.cm.getHelper(t,"wordChars"),me=!0;!(r<0&&!V(!me));me=!1){var Ce=k.text.charAt(t.ch)||` -`,Le=je(Ce,oe)?"w":ue&&Ce==` -`?"n":!ue||/\s/.test(Ce)?null:"p";if(ue&&!me&&!Le&&(Le="s"),q&&q!=Le){r<0&&(r=1,V(),t.sticky="after");break}if(Le&&(q=Le),r>0&&!V(!me))break}var Ie=K1(e,t,c,A,!0);return Mt(c,Ie)&&(Ie.hitSide=!0),Ie}function jo(e,t,r,n){var i=e.doc,c=t.left,A;if(n=="page"){var k=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),O=Math.max(k-.5*Fr(e.display),3);A=(r>0?t.bottom:t.top)+r*O}else n=="line"&&(A=r>0?t.bottom+3:t.top-3);for(var M;M=n1(e,c,A),!!M.outside;){if(r<0?A<=0:A>=i.height){M.hitSide=!0;break}A+=r*5}return M}var Nt=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new te,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Nt.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;Ko(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize);function c(k){for(var O=k.target;O;O=O.parentNode){if(O==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(O.className))break}return!1}Ye(i,"paste",function(k){!c(k)||gt(n,k)||zo(k,n)||m<=11&&setTimeout(cn(n,function(){return t.updateFromDOM()}),20)}),Ye(i,"compositionstart",function(k){t.composing={data:k.data,done:!1}}),Ye(i,"compositionupdate",function(k){t.composing||(t.composing={data:k.data,done:!1})}),Ye(i,"compositionend",function(k){t.composing&&(k.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),Ye(i,"touchstart",function(){return r.forceCompositionEnd()}),Ye(i,"input",function(){t.composing||t.readFromDOMSoon()});function A(k){if(!(!c(k)||gt(n,k))){if(n.somethingSelected())Z1({lineWise:!1,text:n.getSelections()}),k.type=="cut"&&n.replaceSelection("",null,"cut");else if(n.options.lineWiseCopyCut){var O=Wo(n);Z1({lineWise:!0,text:O.text}),k.type=="cut"&&n.operation(function(){n.setSelections(O.ranges,0,Me),n.replaceSelection("",null,"cut")})}else return;if(k.clipboardData){k.clipboardData.clearData();var M=gr.text.join(` -`);if(k.clipboardData.setData("Text",M),k.clipboardData.getData("Text")==M){k.preventDefault();return}}var V=Yo(),q=V.firstChild;n.display.lineSpace.insertBefore(V,n.display.lineSpace.firstChild),q.value=gr.text.join(` -`);var ue=document.activeElement;Oe(q),setTimeout(function(){n.display.lineSpace.removeChild(V),ue.focus(),ue==i&&r.showPrimarySelection()},50)}}Ye(i,"copy",A),Ye(i,"cut",A)},Nt.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Nt.prototype.prepareSelection=function(){var e=_a(this.cm,!1);return e.focus=document.activeElement==this.div,e},Nt.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Nt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Nt.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),n=r.from(),i=r.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||i.line=t.display.viewFrom&&Xo(t,n)||{node:k[0].measure.map[2],offset:0},M=i.linee.firstLine()&&(n=Ee(n.line-1,Re(e.doc,n.line-1).length)),i.ch==Re(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var c,A,k;n.line==t.viewFrom||(c=ei(e,n.line))==0?(A=b(t.view[0].line),k=t.view[0].node):(A=b(t.view[c].line),k=t.view[c-1].node.nextSibling);var O=ei(e,i.line),M,V;if(O==t.view.length-1?(M=t.viewTo-1,V=t.lineDiv.lastChild):(M=b(t.view[O+1].line)-1,V=t.view[O+1].node.previousSibling),!k)return!1;for(var q=e.doc.splitLines(ls(e,k,V,A,M)),ue=Mn(e.doc,Ee(A,0),Ee(M,Re(e.doc,M).text.length));q.length>1&&ue.length>1;)if(Qe(q)==Qe(ue))q.pop(),ue.pop(),M--;else if(q[0]==ue[0])q.shift(),ue.shift(),A++;else break;for(var oe=0,me=0,Ce=q[0],Le=ue[0],Ie=Math.min(Ce.length,Le.length);oen.ch&&_e.charCodeAt(_e.length-me-1)==we.charCodeAt(we.length-me-1);)oe--,me++;q[q.length-1]=_e.slice(0,_e.length-me).replace(/^\u200b+/,""),q[0]=q[0].slice(oe).replace(/\u200b+$/,"");var Ve=Ee(A,oe),Xe=Ee(M,ue.length?Qe(ue).length-me:0);if(q.length>1||q[0]||Fe(Ve,Xe))return Ri(e.doc,q,Ve,Xe,"+input"),!0},Nt.prototype.ensurePolled=function(){this.forceCompositionEnd()},Nt.prototype.reset=function(){this.forceCompositionEnd()},Nt.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Nt.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},Nt.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Qn(this.cm,function(){return Pn(e.cm)})},Nt.prototype.setUneditable=function(e){e.contentEditable="false"},Nt.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||cn(this.cm,ba)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Nt.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Nt.prototype.onContextMenu=function(){},Nt.prototype.resetPosition=function(){},Nt.prototype.needsContentAttribute=!0;function Xo(e,t){var r=Tr(e,t.line);if(!r||r.hidden)return null;var n=Re(e.doc,t.line),i=sr(r,n,t.line),c=Wt(n,e.doc.direction),A="left";if(c){var k=an(c,t.ch);A=k%2?"right":"left"}var O=ki(i.map,t.ch,A);return O.offset=O.collapse=="right"?O.end:O.start,O}function os(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Bi(e,t){return t&&(e.bad=!0),e}function ls(e,t,r,n,i){var c="",A=!1,k=e.doc.lineSeparator(),O=!1;function M(oe){return function(me){return me.id==oe}}function V(){A&&(c+=k,O&&(c+=k),A=O=!1)}function q(oe){oe&&(V(),c+=oe)}function ue(oe){if(oe.nodeType==1){var me=oe.getAttribute("cm-text");if(me){q(me);return}var Ce=oe.getAttribute("cm-marker"),Le;if(Ce){var Ie=e.findMarks(Ee(n,0),Ee(i+1,0),M(+Ce));Ie.length&&(Le=Ie[0].find(0))&&q(Mn(e.doc,Le.from,Le.to).join(k));return}if(oe.getAttribute("contenteditable")=="false")return;var _e=/^(pre|div|p|li|table|br)$/i.test(oe.nodeName);if(!/^br$/i.test(oe.nodeName)&&oe.textContent.length==0)return;_e&&V();for(var we=0;we=9&&t.hasSelection&&(t.hasSelection=null),r.poll()}),Ye(i,"paste",function(A){gt(n,A)||zo(A,n)||(n.state.pasteIncoming=+new Date,r.fastPoll())});function c(A){if(!gt(n,A)){if(n.somethingSelected())Z1({lineWise:!1,text:n.getSelections()});else if(n.options.lineWiseCopyCut){var k=Wo(n);Z1({lineWise:!0,text:k.text}),A.type=="cut"?n.setSelections(k.ranges,null,Me):(r.prevInput="",i.value=k.text.join(` -`),Oe(i))}else return;A.type=="cut"&&(n.state.cutIncoming=+new Date)}}Ye(i,"cut",c),Ye(i,"copy",c),Ye(e.scroller,"paste",function(A){if(!(rt(e,A)||gt(n,A))){if(!i.dispatchEvent){n.state.pasteIncoming=+new Date,r.focus();return}var k=new Event("paste");k.clipboardData=A.clipboardData,i.dispatchEvent(k)}}),Ye(e.lineSpace,"selectstart",function(A){rt(e,A)||Et(A)}),Ye(i,"compositionstart",function(){var A=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:A,range:n.markText(A,n.getCursor("to"),{className:"CodeMirror-composing"})}}),Ye(i,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},Zt.prototype.createField=function(e){this.wrapper=Yo(),this.textarea=this.wrapper.firstChild},Zt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Zt.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=_a(e);if(e.options.moveInputWithCursor){var i=tr(e,r.sel.primary().head,"div"),c=t.wrapper.getBoundingClientRect(),A=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+A.top-c.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+A.left-c.left))}return n},Zt.prototype.showSelection=function(e){var t=this.cm,r=t.display;Y(r.cursorDiv,e.cursors),Y(r.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Zt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&Oe(this.textarea),a&&m>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",a&&m>=9&&(this.hasSelection=null))}},Zt.prototype.getField=function(){return this.textarea},Zt.prototype.supportsTouch=function(){return!1},Zt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!P||he()!=this.textarea))try{this.textarea.focus()}catch(e){}},Zt.prototype.blur=function(){this.textarea.blur()},Zt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Zt.prototype.receivedFocus=function(){this.slowPoll()},Zt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Zt.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function r(){var n=t.poll();!n&&!e?(e=!0,t.polling.set(60,r)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,r)},Zt.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||yn(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(a&&m>=9&&this.hasSelection===i||R&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var c=i.charCodeAt(0);if(c==8203&&!n&&(n="\u200B"),c==8666)return this.reset(),this.cm.execCommand("undo")}for(var A=0,k=Math.min(n.length,i.length);A1e3||i.indexOf(` -`)>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Zt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Zt.prototype.onKeyPress=function(){a&&m>=9&&(this.hasSelection=null),this.fastPoll()},Zt.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var c=$r(r,e),A=n.scroller.scrollTop;if(!c||E)return;var k=r.options.resetSelectionOnContextMenu;k&&r.doc.sel.contains(c)==-1&&cn(r,xn)(r.doc,Ur(c),Me);var O=i.style.cssText,M=t.wrapper.style.cssText,V=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText=`position: absolute; width: 30px; height: 30px; - top: `+(e.clientY-V.top-5)+"px; left: "+(e.clientX-V.left-5)+`px; - z-index: 1000; background: `+(a?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var q;g&&(q=window.scrollY),n.input.focus(),g&&window.scrollTo(null,q),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=oe,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll);function ue(){if(i.selectionStart!=null){var Ce=r.somethingSelected(),Le="\u200B"+(Ce?i.value:"");i.value="\u21DA",i.value=Le,t.prevInput=Ce?"":"\u200B",i.selectionStart=1,i.selectionEnd=Le.length,n.selForContextMenu=r.doc.sel}}function oe(){if(t.contextMenuPending==oe&&(t.contextMenuPending=!1,t.wrapper.style.cssText=M,i.style.cssText=O,a&&m<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=A),i.selectionStart!=null)){(!a||a&&m<9)&&ue();var Ce=0,Le=function(){n.selForContextMenu==r.doc.sel&&i.selectionStart==0&&i.selectionEnd>0&&t.prevInput=="\u200B"?cn(r,fo)(r):Ce++<10?n.detectingSelectAll=setTimeout(Le,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(Le,200)}}if(a&&m>=9&&ue(),F){Ft(e);var me=function(){Tt(window,"mouseup",me),setTimeout(oe,20)};Ye(window,"mouseup",me)}else setTimeout(oe,50)},Zt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Zt.prototype.setUneditable=function(){},Zt.prototype.needsContentAttribute=!1;function us(e,t){if(t=t?D(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var r=he();t.autofocus=r==e||e.getAttribute("autofocus")!=null&&r==document.body}function n(){e.value=k.getValue()}var i;if(e.form&&(Ye(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var c=e.form;i=c.submit;try{var A=c.submit=function(){n(),c.submit=i,c.submit(),c.submit=A}}catch(O){}}t.finishInit=function(O){O.save=n,O.getTextArea=function(){return e},O.toTextArea=function(){O.toTextArea=isNaN,n(),e.parentNode.removeChild(O.getWrapperElement()),e.style.display="",e.form&&(Tt(e.form,"submit",n),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=i))}},e.style.display="none";var k=Dt(function(O){return e.parentNode.insertBefore(O,e.nextSibling)},t);return k}function fs(e){e.off=Tt,e.on=Ye,e.wheelEventPixels=vl,e.Doc=Fn,e.splitLines=Bt,e.countColumn=ie,e.findColumn=Ne,e.isWordChar=ut,e.Pass=ee,e.signal=et,e.Line=dr,e.changeEnd=zr,e.scrollbarModel=Ua,e.Pos=Ee,e.cmpPos=Fe,e.modes=Qt,e.mimeModes=tt,e.resolveMode=Nn,e.getMode=Vt,e.modeExtensions=zn,e.extendMode=yr,e.copyState=Gn,e.startState=or,e.innerMode=mr,e.commands=A1,e.keyMap=Lr,e.keyName=bo,e.isModifierKey=ko,e.lookupKey=Pi,e.normalizeKeyMap=Bl,e.StringStream=it,e.SharedTextMarker=v1,e.TextMarker=Wr,e.LineWidget=m1,e.e_preventDefault=Et,e.e_stopPropagation=fn,e.e_stop=Ft,e.addClass=se,e.contains=re,e.rmClass=G,e.keyNames=Kr}ts(Dt),as(Dt);var cs="iter insert remove copy getEditor constructor".split(" ");for(var q1 in Fn.prototype)Fn.prototype.hasOwnProperty(q1)&&ae(cs,q1)<0&&(Dt.prototype[q1]=function(e){return function(){return e.apply(this.doc,arguments)}}(Fn.prototype[q1]));return on(Fn),Dt.inputStyles={textarea:Zt,contenteditable:Nt},Dt.defineMode=function(e){!Dt.defaults.mode&&e!="null"&&(Dt.defaults.mode=e),fr.apply(this,arguments)},Dt.defineMIME=vn,Dt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Dt.defineMIME("text/plain","null"),Dt.defineExtension=function(e,t){Dt.prototype[e]=t},Dt.defineDocExtension=function(e,t){Fn.prototype[e]=t},Dt.fromTextArea=us,fs(Dt),Dt.version="5.59.3",Dt}},35929:function(N){N.exports=function(S){"use strict";var l=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;S.defineMode("gfm",function(o,T){var v=0;function f(h){return h.code=!1,null}var a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(h){return{code:h.code,codeBlock:h.codeBlock,ateSpace:h.ateSpace}},token:function(h,d){if(d.combineTokens=null,d.codeBlock)return h.match(/^```+/)?(d.codeBlock=!1,null):(h.skipToEnd(),null);if(h.sol()&&(d.code=!1),h.sol()&&h.match(/^```+/))return h.skipToEnd(),d.codeBlock=!0,null;if(h.peek()==="`"){h.next();var E=h.pos;h.eatWhile("`");var y=1+h.pos-E;return d.code?y===v&&(d.code=!1):(v=y,d.code=!0),null}else if(d.code)return h.next(),null;if(h.eatSpace())return d.ateSpace=!0,null;if((h.sol()||d.ateSpace)&&(d.ateSpace=!1,T.gitHubSpice!==!1)){if(h.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return d.combineTokens=!0,"link";if(h.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return d.combineTokens=!0,"link"}return h.match(l)&&h.string.slice(h.start-2,h.start)!="]("&&(h.start==0||/\W/.test(h.string.charAt(h.start-1)))?(d.combineTokens=!0,"link"):(h.next(),null)},blankLine:f},m={taskLists:!0,strikethrough:!0,emoji:!0};for(var g in T)m[g]=T[g];return m.name="markdown",S.overlayMode(S.getMode(o,m),a)},"markdown"),S.defineMIME("text/x-gfm","gfm")}},81742:function(N){N.exports=function(S){"use strict";S.defineMode("markdown",function(l,o){var T=S.getMode(l,"text/html"),v=T.name=="null";function f(K){if(S.findModeByName){var D=S.findModeByName(K);D&&(K=D.mime||D.mimes[0])}var ie=S.getMode(l,K);return ie.name=="null"?null:ie}o.highlightFormatting===void 0&&(o.highlightFormatting=!1),o.maxBlockquoteDepth===void 0&&(o.maxBlockquoteDepth=0),o.taskLists===void 0&&(o.taskLists=!1),o.strikethrough===void 0&&(o.strikethrough=!1),o.emoji===void 0&&(o.emoji=!1),o.fencedCodeBlockHighlighting===void 0&&(o.fencedCodeBlockHighlighting=!0),o.fencedCodeBlockDefaultMode===void 0&&(o.fencedCodeBlockDefaultMode="text/plain"),o.xml===void 0&&(o.xml=!0),o.tokenTypeOverrides===void 0&&(o.tokenTypeOverrides={});var a={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 m in a)a.hasOwnProperty(m)&&o.tokenTypeOverrides[m]&&(a[m]=o.tokenTypeOverrides[m]);var g=/^([*\-_])(?:\s*\1){2,}\s*$/,h=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,d=/^\[(x| )\](?=\s)/i,E=o.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,y=/^ {0,3}(?:\={1,}|-{2,})\s*$/,w=/^[^#!\[\]*_\\<>` "'(~:]+/,I=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,x=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,P=" ";function R(K,D,ie){return D.f=D.inline=ie,ie(K,D)}function W(K,D,ie){return D.f=D.block=ie,ie(K,D)}function U(K){return!K||!/\S/.test(K.string)}function $(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==F){var D=v;if(!D){var ie=S.innerMode(T,K.htmlState);D=ie.mode.name=="xml"&&ie.state.tagStart===null&&!ie.state.context&&ie.state.tokenize.isInText}D&&(K.f=Y,K.block=L,K.htmlState=null)}return K.trailingSpace=0,K.trailingSpaceNewLine=!1,K.prevLine=K.thisLine,K.thisLine={stream:null},null}function L(K,D){var ie=K.column()===D.indentation,te=U(D.prevLine.stream),ae=D.indentedCode,ge=D.prevLine.hr,ee=D.list!==!1,Me=(D.listStack[D.listStack.length-1]||0)+3;D.indentedCode=!1;var Ae=D.indentation;if(D.indentationDiff===null&&(D.indentationDiff=D.indentation,ee)){for(D.list=null;Ae=4&&(ae||D.prevLine.fencedCodeEnd||D.prevLine.header||te))return K.skipToEnd(),D.indentedCode=!0,a.code;if(K.eatSpace())return null;if(ie&&D.indentation<=Me&&(j=K.match(E))&&j[1].length<=6)return D.quote=0,D.header=j[1].length,D.thisLine.header=!0,o.highlightFormatting&&(D.formatting="header"),D.f=D.inline,G(D);if(D.indentation<=Me&&K.eat(">"))return D.quote=ie?1:D.quote+1,o.highlightFormatting&&(D.formatting="quote"),K.eatSpace(),G(D);if(!Ne&&!D.setext&&ie&&D.indentation<=Me&&(j=K.match(h))){var st=j[1]?"ol":"ul";return D.indentation=Ae+K.current().length,D.list=!0,D.quote=0,D.listStack.push(D.indentation),D.em=!1,D.strong=!1,D.code=!1,D.strikethrough=!1,o.taskLists&&K.match(d,!1)&&(D.taskList=!0),D.f=D.inline,o.highlightFormatting&&(D.formatting=["list","list-"+st]),G(D)}else{if(ie&&D.indentation<=Me&&(j=K.match(I,!0)))return D.quote=0,D.fencedEndRE=new RegExp(j[1]+"+ *$"),D.localMode=o.fencedCodeBlockHighlighting&&f(j[2]||o.fencedCodeBlockDefaultMode),D.localMode&&(D.localState=S.startState(D.localMode)),D.f=D.block=z,o.highlightFormatting&&(D.formatting="code-block"),D.code=-1,G(D);if(D.setext||(!ke||!ee)&&!D.quote&&D.list===!1&&!D.code&&!Ne&&!s.test(K.string)&&(j=K.lookAhead(1))&&(j=j.match(y)))return D.setext?(D.header=D.setext,D.setext=0,K.skipToEnd(),o.highlightFormatting&&(D.formatting="header")):(D.header=j[0].charAt(0)=="="?1:2,D.setext=D.header),D.thisLine.header=!0,D.f=D.inline,G(D);if(Ne)return K.skipToEnd(),D.hr=!0,D.thisLine.hr=!0,a.hr;if(K.peek()==="[")return R(K,D,he)}return R(K,D,D.inline)}function F(K,D){var ie=T.token(K,D.htmlState);if(!v){var te=S.innerMode(T,D.htmlState);(te.mode.name=="xml"&&te.state.tagStart===null&&!te.state.context&&te.state.tokenize.isInText||D.md_inside&&K.current().indexOf(">")>-1)&&(D.f=Y,D.block=L,D.htmlState=null)}return ie}function z(K,D){var ie=D.listStack[D.listStack.length-1]||0,te=D.indentation=K.quote?D.push(a.formatting+"-"+K.formatting[ie]+"-"+K.quote):D.push("error"))}if(K.taskOpen)return D.push("meta"),D.length?D.join(" "):null;if(K.taskClosed)return D.push("property"),D.length?D.join(" "):null;if(K.linkHref?D.push(a.linkHref,"url"):(K.strong&&D.push(a.strong),K.em&&D.push(a.em),K.strikethrough&&D.push(a.strikethrough),K.emoji&&D.push(a.emoji),K.linkText&&D.push(a.linkText),K.code&&D.push(a.code),K.image&&D.push(a.image),K.imageAltText&&D.push(a.imageAltText,"link"),K.imageMarker&&D.push(a.imageMarker)),K.header&&D.push(a.header,a.header+"-"+K.header),K.quote&&(D.push(a.quote),!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=K.quote?D.push(a.quote+"-"+K.quote):D.push(a.quote+"-"+o.maxBlockquoteDepth)),K.list!==!1){var te=(K.listStack.length-1)%3;te?te===1?D.push(a.list2):D.push(a.list3):D.push(a.list1)}return K.trailingSpaceNewLine?D.push("trailing-space-new-line"):K.trailingSpace&&D.push("trailing-space-"+(K.trailingSpace%2?"a":"b")),D.length?D.join(" "):null}function Q(K,D){if(K.match(w,!0))return G(D)}function Y(K,D){var ie=D.text(K,D);if(typeof ie!="undefined")return ie;if(D.list)return D.list=null,G(D);if(D.taskList){var te=K.match(d,!0)[1]===" ";return te?D.taskOpen=!0:D.taskClosed=!0,o.highlightFormatting&&(D.formatting="task"),D.taskList=!1,G(D)}if(D.taskOpen=!1,D.taskClosed=!1,D.header&&K.match(/^#+$/,!0))return o.highlightFormatting&&(D.formatting="header"),G(D);var ae=K.next();if(D.linkTitle){D.linkTitle=!1;var ge=ae;ae==="("&&(ge=")"),ge=(ge+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ee="^\\s*(?:[^"+ge+"\\\\]+|\\\\\\\\|\\\\.)"+ge;if(K.match(new RegExp(ee),!0))return a.linkHref}if(ae==="`"){var Me=D.formatting;o.highlightFormatting&&(D.formatting="code"),K.eatWhile("`");var Ae=K.current().length;if(D.code==0&&(!D.quote||Ae==1))return D.code=Ae,G(D);if(Ae==D.code){var ke=G(D);return D.code=0,ke}else return D.formatting=Me,G(D)}else if(D.code)return G(D);if(ae==="\\"&&(K.next(),o.highlightFormatting)){var Ne=G(D),j=a.formatting+"-escape";return Ne?Ne+" "+j:j}if(ae==="!"&&K.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return D.imageMarker=!0,D.image=!0,o.highlightFormatting&&(D.formatting="image"),G(D);if(ae==="["&&D.imageMarker&&K.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return D.imageMarker=!1,D.imageAltText=!0,o.highlightFormatting&&(D.formatting="image"),G(D);if(ae==="]"&&D.imageAltText){o.highlightFormatting&&(D.formatting="image");var Ne=G(D);return D.imageAltText=!1,D.image=!1,D.inline=D.f=X,Ne}if(ae==="["&&!D.image)return D.linkText&&K.match(/^.*?\]/)||(D.linkText=!0,o.highlightFormatting&&(D.formatting="link")),G(D);if(ae==="]"&&D.linkText){o.highlightFormatting&&(D.formatting="link");var Ne=G(D);return D.linkText=!1,D.inline=D.f=K.match(/\(.*?\)| ?\[.*?\]/,!1)?X:Y,Ne}if(ae==="<"&&K.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){D.f=D.inline=H,o.highlightFormatting&&(D.formatting="link");var Ne=G(D);return Ne?Ne+=" ":Ne="",Ne+a.linkInline}if(ae==="<"&&K.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){D.f=D.inline=H,o.highlightFormatting&&(D.formatting="link");var Ne=G(D);return Ne?Ne+=" ":Ne="",Ne+a.linkEmail}if(o.xml&&ae==="<"&&K.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var st=K.string.indexOf(">",K.pos);if(st!=-1){var Qe=K.string.substring(K.start,st);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Qe)&&(D.md_inside=!0)}return K.backUp(1),D.htmlState=S.startState(T),W(K,D,F)}if(o.xml&&ae==="<"&&K.match(/^\/\w*?>/))return D.md_inside=!1,"tag";if(ae==="*"||ae==="_"){for(var Be=1,$e=K.pos==1?" ":K.string.charAt(K.pos-2);Be<3&&K.eat(ae);)Be++;var ht=K.peek()||" ",ne=!/\s/.test(ht)&&(!x.test(ht)||/\s/.test($e)||x.test($e)),pt=!/\s/.test($e)&&(!x.test($e)||/\s/.test(ht)||x.test(ht)),ut=null,je=null;if(Be%2&&(!D.em&&ne&&(ae==="*"||!pt||x.test($e))?ut=!0:D.em==ae&&pt&&(ae==="*"||!ne||x.test(ht))&&(ut=!1)),Be>1&&(!D.strong&&ne&&(ae==="*"||!pt||x.test($e))?je=!0:D.strong==ae&&pt&&(ae==="*"||!ne||x.test(ht))&&(je=!1)),je!=null||ut!=null){o.highlightFormatting&&(D.formatting=ut==null?"strong":je==null?"em":"strong em"),ut===!0&&(D.em=ae),je===!0&&(D.strong=ae);var ke=G(D);return ut===!1&&(D.em=!1),je===!1&&(D.strong=!1),ke}}else if(ae===" "&&(K.eat("*")||K.eat("_"))){if(K.peek()===" ")return G(D);K.backUp(1)}if(o.strikethrough){if(ae==="~"&&K.eatWhile(ae)){if(D.strikethrough){o.highlightFormatting&&(D.formatting="strikethrough");var ke=G(D);return D.strikethrough=!1,ke}else if(K.match(/^[^\s]/,!1))return D.strikethrough=!0,o.highlightFormatting&&(D.formatting="strikethrough"),G(D)}else if(ae===" "&&K.match("~~",!0)){if(K.peek()===" ")return G(D);K.backUp(2)}}if(o.emoji&&ae===":"&&K.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){D.emoji=!0,o.highlightFormatting&&(D.formatting="emoji");var Ot=G(D);return D.emoji=!1,Ot}return ae===" "&&(K.match(/^ +$/,!1)?D.trailingSpace++:D.trailingSpace&&(D.trailingSpaceNewLine=!0)),G(D)}function H(K,D){var ie=K.next();if(ie===">"){D.f=D.inline=Y,o.highlightFormatting&&(D.formatting="link");var te=G(D);return te?te+=" ":te="",te+a.linkInline}return K.match(/^[^>]+/,!0),a.linkInline}function X(K,D){if(K.eatSpace())return null;var ie=K.next();return ie==="("||ie==="["?(D.f=D.inline=re(ie==="("?")":"]"),o.highlightFormatting&&(D.formatting="link-string"),D.linkHref=!0,G(D)):"error"}var Z={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function re(K){return function(D,ie){var te=D.next();if(te===K){ie.f=ie.inline=Y,o.highlightFormatting&&(ie.formatting="link-string");var ae=G(ie);return ie.linkHref=!1,ae}return D.match(Z[K]),ie.linkHref=!0,G(ie)}}function he(K,D){return K.match(/^([^\]\\]|\\.)*\]:/,!1)?(D.f=se,K.next(),o.highlightFormatting&&(D.formatting="link"),D.linkText=!0,G(D)):R(K,D,Y)}function se(K,D){if(K.match("]:",!0)){D.f=D.inline=ye,o.highlightFormatting&&(D.formatting="link");var ie=G(D);return D.linkText=!1,ie}return K.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function ye(K,D){return K.eatSpace()?null:(K.match(/^[^\s]+/,!0),K.peek()===void 0?D.linkTitle=!0:K.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),D.f=D.inline=Y,a.linkHref+" url")}var Oe={startState:function(){return{f:L,prevLine:{stream:null},thisLine:{stream:null},block:L,htmlState:null,indentation:0,inline:Y,text:Q,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(K){return{f:K.f,prevLine:K.prevLine,thisLine:K.thisLine,block:K.block,htmlState:K.htmlState&&S.copyState(T,K.htmlState),indentation:K.indentation,localMode:K.localMode,localState:K.localMode?S.copyState(K.localMode,K.localState):null,inline:K.inline,text:K.text,formatting:!1,linkText:K.linkText,linkTitle:K.linkTitle,linkHref:K.linkHref,code:K.code,em:K.em,strong:K.strong,strikethrough:K.strikethrough,emoji:K.emoji,header:K.header,setext:K.setext,hr:K.hr,taskList:K.taskList,list:K.list,listStack:K.listStack.slice(0),quote:K.quote,indentedCode:K.indentedCode,trailingSpace:K.trailingSpace,trailingSpaceNewLine:K.trailingSpaceNewLine,md_inside:K.md_inside,fencedEndRE:K.fencedEndRE}},token:function(K,D){if(D.formatting=!1,K!=D.thisLine.stream){if(D.header=0,D.hr=!1,K.match(/^\s*$/,!0))return $(D),null;if(D.prevLine=D.thisLine,D.thisLine={stream:K},D.taskList=!1,D.trailingSpace=0,D.trailingSpaceNewLine=!1,!D.localState&&(D.f=D.block,D.f!=F)){var ie=K.match(/^\s*/,!0)[0].replace(/\t/g,P).length;if(D.indentation=ie,D.indentationDiff=null,ie>0)return null}}return D.f(K,D)},innerMode:function(K){return K.block==F?{state:K.htmlState,mode:T}:K.localState?{state:K.localState,mode:K.localMode}:{state:K,mode:Oe}},indent:function(K,D,ie){return K.block==F&&T.indent?T.indent(K.htmlState,D,ie):K.localState&&K.localMode.indent?K.localMode.indent(K.localState,D,ie):S.Pass},blankLine:$,getType:G,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Oe},"xml"),S.defineMIME("text/markdown","markdown"),S.defineMIME("text/x-markdown","markdown")}},65980:function(N){N.exports=function(S){"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},o={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};S.defineMode("xml",function(T,v){var f=T.indentUnit,a={},m=v.htmlMode?l:o;for(var g in m)a[g]=m[g];for(var g in v)a[g]=v[g];var h,d;function E(H,X){function Z(se){return X.tokenize=se,se(H,X)}var re=H.next();if(re=="<")return H.eat("!")?H.eat("[")?H.match("CDATA[")?Z(I("atom","]]>")):null:H.match("--")?Z(I("comment","-->")):H.match("DOCTYPE",!0,!0)?(H.eatWhile(/[\w\._\-]/),Z(s(1))):null:H.eat("?")?(H.eatWhile(/[\w\._\-]/),X.tokenize=I("meta","?>"),"meta"):(h=H.eat("/")?"closeTag":"openTag",X.tokenize=y,"tag bracket");if(re=="&"){var he;return H.eat("#")?H.eat("x")?he=H.eatWhile(/[a-fA-F\d]/)&&H.eat(";"):he=H.eatWhile(/[\d]/)&&H.eat(";"):he=H.eatWhile(/[\w\.\-:]/)&&H.eat(";"),he?"atom":"error"}else return H.eatWhile(/[^&<]/),null}E.isInText=!0;function y(H,X){var Z=H.next();if(Z==">"||Z=="/"&&H.eat(">"))return X.tokenize=E,h=Z==">"?"endTag":"selfcloseTag","tag bracket";if(Z=="=")return h="equals",null;if(Z=="<"){X.tokenize=E,X.state=W,X.tagName=X.tagStart=null;var re=X.tokenize(H,X);return re?re+" tag error":"tag error"}else return/[\'\"]/.test(Z)?(X.tokenize=w(Z),X.stringStartCol=H.column(),X.tokenize(H,X)):(H.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function w(H){var X=function(Z,re){for(;!Z.eol();)if(Z.next()==H){re.tokenize=y;break}return"string"};return X.isInAttribute=!0,X}function I(H,X){return function(Z,re){for(;!Z.eol();){if(Z.match(X)){re.tokenize=E;break}Z.next()}return H}}function s(H){return function(X,Z){for(var re;(re=X.next())!=null;){if(re=="<")return Z.tokenize=s(H+1),Z.tokenize(X,Z);if(re==">")if(H==1){Z.tokenize=E;break}else return Z.tokenize=s(H-1),Z.tokenize(X,Z)}return"meta"}}function x(H,X,Z){this.prev=H.context,this.tagName=X||"",this.indent=H.indented,this.startOfLine=Z,(a.doNotIndent.hasOwnProperty(X)||H.context&&H.context.noIndent)&&(this.noIndent=!0)}function P(H){H.context&&(H.context=H.context.prev)}function R(H,X){for(var Z;;){if(!H.context||(Z=H.context.tagName,!a.contextGrabbers.hasOwnProperty(Z)||!a.contextGrabbers[Z].hasOwnProperty(X)))return;P(H)}}function W(H,X,Z){return H=="openTag"?(Z.tagStart=X.column(),U):H=="closeTag"?$:W}function U(H,X,Z){return H=="word"?(Z.tagName=X.current(),d="tag",z):a.allowMissingTagName&&H=="endTag"?(d="tag bracket",z(H,X,Z)):(d="error",U)}function $(H,X,Z){if(H=="word"){var re=X.current();return Z.context&&Z.context.tagName!=re&&a.implicitlyClosed.hasOwnProperty(Z.context.tagName)&&P(Z),Z.context&&Z.context.tagName==re||a.matchClosing===!1?(d="tag",L):(d="tag error",F)}else return a.allowMissingTagName&&H=="endTag"?(d="tag bracket",L(H,X,Z)):(d="error",F)}function L(H,X,Z){return H!="endTag"?(d="error",L):(P(Z),W)}function F(H,X,Z){return d="error",L(H,X,Z)}function z(H,X,Z){if(H=="word")return d="attribute",G;if(H=="endTag"||H=="selfcloseTag"){var re=Z.tagName,he=Z.tagStart;return Z.tagName=Z.tagStart=null,H=="selfcloseTag"||a.autoSelfClosers.hasOwnProperty(re)?R(Z,re):(R(Z,re),Z.context=new x(Z,re,he==Z.indented)),W}return d="error",z}function G(H,X,Z){return H=="equals"?Q:(a.allowMissing||(d="error"),z(H,X,Z))}function Q(H,X,Z){return H=="string"?Y:H=="word"&&a.allowUnquoted?(d="string",z):(d="error",z(H,X,Z))}function Y(H,X,Z){return H=="string"?Y:z(H,X,Z)}return{startState:function(H){var X={tokenize:E,state:W,indented:H||0,tagName:null,tagStart:null,context:null};return H!=null&&(X.baseIndent=H),X},token:function(H,X){if(!X.tagName&&H.sol()&&(X.indented=H.indentation()),H.eatSpace())return null;h=null;var Z=X.tokenize(H,X);return(Z||h)&&Z!="comment"&&(d=null,X.state=X.state(h||Z,H,X),d&&(Z=d=="error"?Z+" error":d)),Z},indent:function(H,X,Z){var re=H.context;if(H.tokenize.isInAttribute)return H.tagStart==H.indented?H.stringStartCol+1:H.indented+f;if(re&&re.noIndent)return S.Pass;if(H.tokenize!=y&&H.tokenize!=E)return Z?Z.match(/^(\s*)/)[0].length:0;if(H.tagName)return a.multilineTagIndentPastTag!==!1?H.tagStart+H.tagName.length+2:H.tagStart+f*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(H){H.state==Q&&(H.state=z)},xmlCurrentTag:function(H){return H.tagName?{name:H.tagName,close:H.type=="closeTag"}:null},xmlCurrentContext:function(H){for(var X=[],Z=H.context;Z;Z=Z.prev)X.push(Z.tagName);return X.reverse()}}}),S.defineMIME("text/xml","xml"),S.defineMIME("application/xml","xml"),S.mimeModes.hasOwnProperty("text/html")||S.defineMIME("text/html",{name:"xml",htmlMode:!0})}},39242:function(N){N.exports=function(S){var l=0,o=1,T=2;S.defineMode("yaml-frontmatter",function(v,f){var a=S.getMode(v,"yaml"),m=S.getMode(v,f&&f.base||"gfm");function g(h){return h.state==T?m:a}return{startState:function(){return{state:l,inner:S.startState(a)}},copyState:function(h){return{state:h.state,inner:S.copyState(g(h),h.inner)}},token:function(h,d){if(d.state==l)return h.match("---",!1)?(d.state=o,a.token(h,d.inner)):(d.state=T,d.inner=S.startState(m),m.token(h,d.inner));if(d.state==o){var E=h.sol()&&h.match(/(---|\.\.\.)/,!1),y=a.token(h,d.inner);return E&&(d.state=T,d.inner=S.startState(m)),y}else return m.token(h,d.inner)},innerMode:function(h){return{mode:g(h),state:h.inner}},blankLine:function(h){var d=g(h);if(d.blankLine)return d.blankLine(h.inner)}}})}},54610:function(N){N.exports=function(S){"use strict";S.defineMode("yaml",function(){var l=["true","false","on","off","yes","no"],o=new RegExp("\\b(("+l.join(")|(")+"))$","i");return{token:function(T,v){var f=T.peek(),a=v.escaped;if(v.escaped=!1,f=="#"&&(T.pos==0||/\s/.test(T.string.charAt(T.pos-1))))return T.skipToEnd(),"comment";if(T.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(v.literal&&T.indentation()>v.keyCol)return T.skipToEnd(),"string";if(v.literal&&(v.literal=!1),T.sol()){if(v.keyCol=0,v.pair=!1,v.pairStart=!1,T.match("---")||T.match("..."))return"def";if(T.match(/\s*-\s+/))return"meta"}if(T.match(/^(\{|\}|\[|\])/))return f=="{"?v.inlinePairs++:f=="}"?v.inlinePairs--:f=="["?v.inlineList++:v.inlineList--,"meta";if(v.inlineList>0&&!a&&f==",")return T.next(),"meta";if(v.inlinePairs>0&&!a&&f==",")return v.keyCol=0,v.pair=!1,v.pairStart=!1,T.next(),"meta";if(v.pairStart){if(T.match(/^\s*(\||\>)\s*/))return v.literal=!0,"meta";if(T.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(v.inlinePairs==0&&T.match(/^\s*-?[0-9\.\,]+\s?$/)||v.inlinePairs>0&&T.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(T.match(o))return"keyword"}return!v.pair&&T.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(v.pair=!0,v.keyCol=T.indentation(),"atom"):v.pair&&T.match(/^:\s*/)?(v.pairStart=!0,"meta"):(v.pairStart=!1,v.escaped=f=="\\",T.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),S.defineMIME("text/x-yaml","yaml"),S.defineMIME("text/yaml","yaml")}},56851:function(N,S){"use strict";S.parse=v,S.stringify=f;var l=",",o=" ",T="";function v(a){for(var m=[],g=String(a||T),h=g.indexOf(l),d=0,E=!1,y;!E;)h===-1&&(h=g.length,E=!0),y=g.slice(d,h).trim(),(y||!E)&&m.push(y),d=h+1,h=g.indexOf(l,d);return m}function f(a,m){var g=m||{},h=g.padLeft===!1?T:o,d=g.padRight?o:T;return a[a.length-1]===T&&(a=a.concat(T)),a.join(d+l+h).trim()}},94470:function(N){"use strict";var S=Object.prototype.hasOwnProperty,l=Object.prototype.toString,o=Object.defineProperty,T=Object.getOwnPropertyDescriptor,v=function(h){return typeof Array.isArray=="function"?Array.isArray(h):l.call(h)==="[object Array]"},f=function(h){if(!h||l.call(h)!=="[object Object]")return!1;var d=S.call(h,"constructor"),E=h.constructor&&h.constructor.prototype&&S.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!d&&!E)return!1;var y;for(y in h);return typeof y=="undefined"||S.call(h,y)},a=function(h,d){o&&d.name==="__proto__"?o(h,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):h[d.name]=d.newValue},m=function(h,d){if(d==="__proto__")if(S.call(h,d)){if(T)return T(h,d).value}else return;return h[d]};N.exports=function g(){var h,d,E,y,w,I,s=arguments[0],x=1,P=arguments.length,R=!1;for(typeof s=="boolean"&&(R=s,s=arguments[1]||{},x=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});x-1))return F.clobber.indexOf(G)<0?z:F.clobberPrefix+z}function w(F,z,G){var Q=String(z),Y=Q.indexOf(":"),H=Q.indexOf("?"),X=Q.indexOf("#"),Z=Q.indexOf("/"),re=v.call(F.protocols,G)?F.protocols[G].concat():[],he=-1;if(!re.length||Y<0||Z>-1&&Y>Z||H>-1&&Y>H||X>-1&&Y>X)return!0;for(;++he-1)return Y;return!1}return Y}function x(F){return F.allowDoctypes?{name:I}:null}function P(F){return F.allowComments?{value:R}:null}function R(F,z){var G=typeof z=="string"?z:"",Q=G.indexOf("-->");return Q<0?G:G.slice(0,Q)}function W(F,z){return typeof z=="string"?z:""}function U(F){for(var z={},G=-1,Q;++G4&&F.slice(0,4).toLowerCase()==="data"}},773:function(N,S,l){"use strict";N.exports=l(35204)},65802:function(N,S,l){"use strict";var o=l(91878);N.exports=T;function T(v,f){for(var a=[],m=f&&f.children||[],g=-1;++g"]}))+">":"|--!>|";function m(g){return T(g,o(f.entities,{subset:["<",">"]}))}}},15966:function(N){"use strict";N.exports={name:[[` -\f\r &/=>`.split(""),` -\f\r "&'/=>\``.split("")],[`\0 -\f\r "&'/<=>`.split(""),`\0 -\f\r "&'/<=>\``.split("")]],unquoted:[[` -\f\r &>`.split(""),`\0 -\f\r "&'<=>\``.split("")],[`\0 -\f\r "&'<=>\``.split(""),`\0 -\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]}},15842:function(N,S,l){"use strict";var o=l(47529),T=l(30932),v=l(24860);N.exports=f;function f(m,g){var h=m.tightDoctype?"":" ",d=[""}function a(m,g){var h=String(g),d=T(h,m.quote)>T(h,m.alternative)?m.alternative:m.quote;return d+v(h,o(m.entities,{subset:["<","&",d]}))+d}},14307:function(N,S,l){"use strict";var o=l(47529),T=l(11218),v=l(99560),f=l(36582),a=l(56851),m=l(24860),g=l(30932),h=l(65802),d=l(15966);N.exports=E;function E(I,s,x,P){var R=I.schema,W=R.space==="svg"?!1:I.omit,U=[],$=R.space==="svg"?I.closeEmpty:I.voids.indexOf(s.tagName.toLowerCase())>-1,L,F,z;return R.space==="html"&&s.tagName==="svg"&&(I.schema=T),L=y(I,s.properties),F=h(I,R.space==="html"&&s.tagName==="template"?s.content:s),I.schema=R,F&&($=!1),(L||!W||!W.opening(s,x,P))&&(U.push("<",s.tagName,L?" "+L:""),$&&(R.space==="svg"||I.close)&&(z=L.charAt(L.length-1),(!I.tightClose||z==="/"||R.space==="svg"&&z&&z!=='"'&&z!=="'")&&U.push(" "),U.push("/")),U.push(">")),U.push(F),!$&&(!W||!W.closing(s,x,P))&&U.push(""),U.join("")}function y(I,s){var x=[],P=-1,R,W,U;for(R in s)s[R]!=null&&(W=w(I,R,s[R]),W&&x.push(W));for(;++Pg(x,I.alternative)&&(R=I.alternative),W=R+m(x,o(I.entities,{subset:(R==="'"?d.single:d.double)[I.schema.space==="html"?I.valid:1][I.safe],attribute:!0}))+R),U+(W&&"="+W)))}},35204:function(N,S,l){"use strict";var o=l(97247),T=l(11218),v=l(69878),f=l(1600),a=l(91878);N.exports=g;var m;function g(h,d){var E=d||{},y=E.quote||'"',w=y==='"'?"'":'"';if(y!=='"'&&y!=="'")throw new Error("Invalid quote `"+y+"`, expected `'` or `\"`");return"allowDangerousHTML"in E&&!m&&(m=!0,console.warn("Deprecation warning: `allowDangerousHTML` is a nonstandard option, use `allowDangerousHtml` instead")),a({valid:E.allowParseErrors?0:1,safe:E.allowDangerousCharacters?0:1,schema:E.space==="svg"?T:o,omit:E.omitOptionalTags&&f,quote:y,alternative:w,smart:E.quoteSmart,unquoted:E.preferUnquoted,tight:E.tightAttributes,upperDoctype:E.upperDoctype,tightDoctype:E.tightDoctype,bogusComments:E.bogusComments,tightLists:E.tightCommaSeparatedLists,tightClose:E.tightSelfClosing,collapseEmpty:E.collapseEmptyAttributes,dangerous:E.allowDangerousHtml||E.allowDangerousHTML,voids:E.voids||v.concat(),entities:E.entities||{},close:E.closeSelfClosing,closeEmpty:E.closeEmptyElements},h&&typeof h=="object"&&"length"in h?{type:"root",children:h}:h)}},78639:function(N,S,l){"use strict";var o=l(78909),T=l(38115),v=l(51930),f=l(43370),a=l(15254);N.exports=a({html:g,head:m,body:h,p:d,li:E,dt:y,dd:w,rt:I,rp:I,optgroup:s,option:x,menuitem:P,colgroup:m,caption:m,thead:R,tbody:W,tfoot:U,tr:$,td:L,th:L});function m(F,z,G){var Q=f.after(G,z,!0);return!Q||!v(Q)&&!T(Q)}function g(F,z,G){var Q=f.after(G,z);return!Q||!v(Q)}function h(F,z,G){var Q=f.after(G,z);return!Q||!v(Q)}function d(F,z,G){var Q=f.after(G,z);return Q?o(Q,["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]):!G||!o(G,["a","audio","del","ins","map","noscript","video"])}function E(F,z,G){var Q=f.after(G,z);return!Q||o(Q,"li")}function y(F,z,G){var Q=f.after(G,z);return Q&&o(Q,["dt","dd"])}function w(F,z,G){var Q=f.after(G,z);return!Q||o(Q,["dt","dd"])}function I(F,z,G){var Q=f.after(G,z);return!Q||o(Q,["rp","rt"])}function s(F,z,G){var Q=f.after(G,z);return!Q||o(Q,"optgroup")}function x(F,z,G){var Q=f.after(G,z);return!Q||o(Q,["option","optgroup"])}function P(F,z,G){var Q=f.after(G,z);return!Q||o(Q,["menuitem","hr","menu"])}function R(F,z,G){var Q=f.after(G,z);return Q&&o(Q,["tbody","tfoot"])}function W(F,z,G){var Q=f.after(G,z);return!Q||o(Q,["tbody","tfoot"])}function U(F,z,G){return!f.after(G,z)}function $(F,z,G){var Q=f.after(G,z);return!Q||o(Q,"tr")}function L(F,z,G){var Q=f.after(G,z);return!Q||o(Q,["td","th"])}},1600:function(N,S,l){"use strict";S.opening=l(36014),S.closing=l(78639)},15254:function(N){"use strict";N.exports=l;var S={}.hasOwnProperty;function l(o){return T;function T(v,f,a){return S.call(o,v.tagName)&&o[v.tagName](v,f,a)}}},36014:function(N,S,l){"use strict";var o=l(78909),T=l(43370),v=l(38115),f=l(51930),a=l(78639),m=l(15254);N.exports=m({html:g,head:h,body:d,colgroup:E,tbody:y});function g(w){var I=T.after(w,-1);return!I||!f(I)}function h(w){for(var I=w.children,s=[],x=-1;++x-1)return!1;s.push(I[x].tagName)}return I.length}function d(w){var I=T.after(w,-1,!0);return!I||!f(I)&&!v(I)&&!o(I,["meta","link","script","style","template"])}function E(w,I,s){var x=T.before(s,I),P=T.after(w,-1,!0);return o(x,"colgroup")&&a(x,s.children.indexOf(x),s)?!1:P&&o(P,"col")}function y(w,I,s){var x=T.before(s,I),P=T.after(w,-1);return o(x,["thead","tbody"])&&a(x,s.children.indexOf(x),s)?!1:P&&o(P,"tr")}},51930:function(N,S,l){"use strict";var o=l(48145);N.exports=o("comment")},43370:function(N,S,l){"use strict";var o=l(53560);S.before=T(-1),S.after=T(1);function T(v){return f;function f(a,m,g){var h=a&&a.children,d=m+v,E=h&&h[d];if(!g)for(;E&&o(E);)d+=v,E=h[d];return E}}},38115:function(N,S,l){"use strict";var o=l(48145),T=l(53560);N.exports=f;var v=o("text");function f(a){return v(a)&&T(a.value.charAt(0))}},91878:function(N,S,l){"use strict";N.exports=v;var o={comment:l(11928),doctype:l(15842),element:l(14307),raw:l(29044),root:l(65802),text:l(29514)},T={}.hasOwnProperty;function v(f,a,m,g){if(!a||!a.type)throw new Error("Expected node, not `"+a+"`");if(!T.call(o,a.type))throw new Error("Cannot compile unknown node `"+a.type+"`");return o[a.type](f,a,m,g)}},29044:function(N,S,l){"use strict";var o=l(29514);N.exports=T;function T(v,f){return v.dangerous?f.value:o(v,f)}},29514:function(N,S,l){"use strict";var o=l(47529),T=l(24860);N.exports=v;function v(f,a,m,g){return g&&(g.tagName==="script"||g.tagName==="style")?a.value:T(a.value,o(f.entities,{subset:["<","&"]}))}},2653:function(N,S,l){"use strict";var o=l(47529),T=l(97247),v=l(11218),f=l(99560),a=l(76331),m=l(70006),g=l(68019);N.exports=E;var h=["svg","html"],d=g("type");d.handlers.root=y,d.handlers.element=P,d.handlers.text=s,d.handlers.comment=x,d.handlers.doctype=I;function E(W,U){return d(W,U==="svg"?v:T)}function y(W,U){var $=W.data||{},L=$.quirksMode?"quirks":"no-quirks";return R(W,{nodeName:"#document",mode:L},U)}function w(W,U){return R(W,{nodeName:"#document-fragment"},U)}function I(W,U){return R(W,{nodeName:"#documentType",name:W.name,publicId:W.public||"",systemId:W.system||""},U)}function s(W,U){return R(W,{nodeName:"#text",value:W.value},U)}function x(W,U){return R(W,{nodeName:"#comment",data:W.value},U)}function P(W,U){var $=U.space,L=o(W,{children:[]});return a(F,L,{space:$});function F(z,G){var Q=[],Y,H,X,Z,re,he;for(Z in G)re=f(U,Z),H=G[Z],!(H===!1||re.boolean&&!H)&&(X={name:Z,value:H===!0?"":String(H)},re.space&&h.indexOf(re.space)===-1&&(he=Z.indexOf(":"),he===-1?X.prefix="":(X.name=Z.slice(he+1),X.prefix=Z.slice(0,he)),X.namespace=m[re.space]),Q.push(X));return Y=R(W,{nodeName:z,tagName:z,attrs:Q},U),z==="template"&&(Y.content=w(L.content,U)),Y}}function R(W,U,$){var L=$,F=W.position,z=W.children,G=[],Q=z?z.length:0,Y=-1,H;for(W.type==="element"&&(L.space==="html"&&W.tagName==="svg"&&(L=v),U.namespaceURI=m[L.space]);++YZ&&(Z=X):X&&(Z&&H.push(o(` -`,Z)),Z=0,H.push(X));return H.join("")}function I(L,F,z,G){return L.type==="element"?s(L,F,z,G):L.type==="text"?[G.whiteSpace==="normal"?x(L,G):P(L,G)]:[]}function s(L,F,z,G){var Q=W(L,G),Y=L.children||[],H=-1,X=[],Z,re;if(E(L))return X;for(m(L)||d(L)&&v(z,L,d)?re=` -`:g(L)?(Z=2,re=2):y(L)&&(Z=1,re=1);++H{if(Object.prototype.toString.call(S)!=="[object Object]")return!1;const l=Object.getPrototypeOf(S);return l===null||l===Object.prototype}},78234:function(N,S,l){"use strict";var o=l(96464);N.exports=x;var T=/ +$/,v=" ",f=` -`,a="-",m=":",g="|",h=0,d=67,E=76,y=82,w=99,I=108,s=114;function x(U,$){for(var L=$||{},F=L.padding!==!1,z=L.delimiterStart!==!1,G=L.delimiterEnd!==!1,Q=(L.align||[]).concat(),Y=L.alignDelimiters!==!1,H=[],X=L.stringLength||R,Z=-1,re=U.length,he=[],se=[],ye=[],Oe=[],K=[],D=0,ie,te,ae,ge,ee,Me,Ae,ke,Ne,j,st;++ZD&&(D=ae);++tege)&&(K[te]=ee)),ye.push(Me);he[Z]=ye,se[Z]=Oe}if(te=-1,ae=D,typeof Q=="object"&&"length"in Q)for(;++teK[te]&&(K[te]=ee),Oe[te]=ee),ye[te]=Me;for(he.splice(1,0,ye),se.splice(1,0,Oe),Z=-1,re=he.length,Ae=[];++Z0&&(re={type:"text",value:re}),re&&(G=[].concat(G,re)),Q=H+X[0].length),!!F.global);)X=F.exec($.value);if(H===void 0?(G=[$],Y--):(Q<$.value.length&&G.push({type:"text",value:$.value.slice(Q)}),G.unshift(Y,1),f.apply(L.children,G)),R.length>1)for(Z=P(R.slice(1)),H=-1;++H{if(typeof S!="string")throw new TypeError("Expected a string");return S.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},52524:function(N,S,l){"use strict";N.exports=y;var o=l(4999),T=l(99198),v=l(46706),f=l(35478),a=l(10596),m=l(32976),g=l(30162),h=l(61242),d=l(89435),E=l(75432);function y(x,P,R){return typeof P!="string"&&(R=P,P=void 0),w(R)(h(m(R).document().write(g()(x,P,!0))))}function w(x){var P=x||{},R=I({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:G(Lt),autolinkProtocol:ke,autolinkEmail:ke,atxHeading:G(Tt),blockQuote:G(ar),characterEscape:ke,characterReference:ke,codeFenced:G(Wt),codeFencedFenceInfo:Q,codeFencedFenceMeta:Q,codeIndented:G(Wt,Q),codeText:G(mn,Q),codeTextData:ke,data:ke,codeFlowValue:ke,definition:G(Ye),definitionDestinationString:Q,definitionLabelString:Q,definitionTitleString:Q,emphasis:G(In),hardBreakEscape:G(et),hardBreakTrailing:G(et),htmlFlow:G(gt,Q),htmlFlowData:ke,htmlText:G(gt,Q),htmlTextData:ke,image:G(Pt),label:Q,link:G(Lt),listItem:G(Et),listItemValue:he,listOrdered:G(on,re),listUnordered:G(on),paragraph:G(fn),reference:Zn,referenceString:Q,resourceDestinationString:Q,resourceTitleString:Q,setextHeading:G(Tt),strong:G(wn),thematicBreak:G(Ht)},exit:{atxHeading:H(),atxHeadingSequence:ge,autolink:H(),autolinkEmail:an,autolinkProtocol:gn,blockQuote:H(),characterEscapeValue:Ne,characterReferenceMarkerHexadecimal:xt,characterReferenceMarkerNumeric:xt,characterReferenceValue:Cn,codeFenced:H(K),codeFencedFence:Oe,codeFencedFenceInfo:se,codeFencedFenceMeta:ye,codeFlowValue:Ne,codeIndented:H(D),codeText:H($e),codeTextData:Ne,data:Ne,definition:H(),definitionDestinationString:ae,definitionLabelString:ie,definitionTitleString:te,emphasis:H(),hardBreakEscape:H(st),hardBreakTrailing:H(st),htmlFlow:H(Qe),htmlFlowData:Ne,htmlText:H(Be),htmlTextData:Ne,image:H(ne),label:ut,labelText:pt,lineEnding:j,link:H(ht),listItem:H(),listOrdered:H(),listUnordered:H(),paragraph:H(),referenceString:Jn,resourceDestinationString:je,resourceTitleString:Ot,resource:Ct,setextHeading:H(Ae),setextHeadingLineSequence:Me,setextHeadingText:ee,strong:H(),thematicBreak:H()}},P.mdastExtensions||[]),W={};return U;function U(ce){for(var Je={type:"root",children:[]},ft=[Je],dt=[],yt=[],St=-1,Bt,yn,Jt={stack:ft,tokenStack:dt,config:R,enter:Y,exit:X,buffer:Q,resume:Z,setData:L,getData:F};++St-1&&(ke.call(this,ce),Ne.call(this,ce))}function st(){L("atHardBreak",!0)}function Qe(){var ce=this.resume();this.stack[this.stack.length-1].value=ce}function Be(){var ce=this.resume();this.stack[this.stack.length-1].value=ce}function $e(){var ce=this.resume();this.stack[this.stack.length-1].value=ce}function ht(){var ce=this.stack[this.stack.length-1];F("inReference")?(ce.type+="Reference",ce.referenceType=F("referenceType")||"shortcut",delete ce.url,delete ce.title):(delete ce.identifier,delete ce.label,delete ce.referenceType),L("referenceType")}function ne(){var ce=this.stack[this.stack.length-1];F("inReference")?(ce.type+="Reference",ce.referenceType=F("referenceType")||"shortcut",delete ce.url,delete ce.title):(delete ce.identifier,delete ce.label,delete ce.referenceType),L("referenceType")}function pt(ce){this.stack[this.stack.length-2].identifier=f(this.sliceSerialize(ce)).toLowerCase()}function ut(){var ce=this.stack[this.stack.length-1],Je=this.resume();this.stack[this.stack.length-1].label=Je,L("inReference",!0),this.stack[this.stack.length-1].type==="link"?this.stack[this.stack.length-1].children=ce.children:this.stack[this.stack.length-1].alt=Je}function je(){var ce=this.resume();this.stack[this.stack.length-1].url=ce}function Ot(){var ce=this.resume();this.stack[this.stack.length-1].title=ce}function Ct(){L("inReference")}function Zn(){L("referenceType","collapsed")}function Jn(ce){var Je=this.resume();this.stack[this.stack.length-1].label=Je,this.stack[this.stack.length-1].identifier=f(this.sliceSerialize(ce)).toLowerCase(),L("referenceType","full")}function xt(ce){L("characterReferenceType",ce.type)}function Cn(ce){var Je=this.sliceSerialize(ce),ft=F("characterReferenceType"),dt,yt;ft?(dt=a(Je,ft==="characterReferenceMarkerNumeric"?10:16),L("characterReferenceType")):dt=d(Je),yt=this.stack.pop(),yt.value+=dt,yt.position.end=z(ce.end)}function gn(ce){Ne.call(this,ce),this.stack[this.stack.length-1].url=this.sliceSerialize(ce)}function an(ce){Ne.call(this,ce),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(ce)}function ar(){return{type:"blockquote",children:[]}}function Wt(){return{type:"code",lang:null,meta:null,value:""}}function mn(){return{type:"inlineCode",value:""}}function Ye(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function In(){return{type:"emphasis",children:[]}}function Tt(){return{type:"heading",depth:void 0,children:[]}}function et(){return{type:"break"}}function gt(){return{type:"html",value:""}}function Pt(){return{type:"image",title:null,url:"",alt:null}}function Lt(){return{type:"link",title:null,url:"",children:[]}}function on(ce){return{type:"list",ordered:ce.type==="listOrdered",start:null,spread:ce._spread,children:[]}}function Et(ce){return{type:"listItem",spread:ce._spread,checked:null,children:[]}}function fn(){return{type:"paragraph",children:[]}}function wn(){return{type:"strong",children:[]}}function Ft(){return{type:"text",value:""}}function Ht(){return{type:"thematicBreak"}}}function I(x,P){for(var R=-1;++R?\]}]+$/.exec(R),U,$,L;if(W)for(R=R.slice(0,W.index),W=W[0],U=W.indexOf(")"),$=o(R,"("),L=o(R,")");U!==-1&&$>L;)R+=W.slice(0,U+1),W=W.slice(U+1),U=W.indexOf(")"),L++;return[R,W]}function P(R,W){var U=R.input.charCodeAt(R.index-1);return(U!==U||f(U)||v(U))&&(!W||U!==47)}},45574:function(N,S){var l="phrasing",o=["autolink","link","image","label"];S.unsafe=[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:o},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:o},{character:":",before:"[ps]",after:"\\/",inConstruct:l,notInConstruct:o}]},89828:function(N,S){S.canContainEols=["delete"],S.enter={strikethrough:l},S.exit={strikethrough:o};function l(T){this.enter({type:"delete",children:[]},T)}function o(T){this.exit(T)}},9888:function(N,S,l){var o=l(25362);S.unsafe=[{character:"~",inConstruct:"phrasing"}],S.handlers={delete:T},T.peek=v;function T(f,a,m){var g=m.enter("emphasis"),h=o(f,m,{before:"~",after:"~"});return g(),"~~"+h+"~~"}function v(){return"~"}},4865:function(N,S){S.enter={table:l,tableData:f,tableHeader:f,tableRow:T},S.exit={codeText:a,table:o,tableData:v,tableHeader:v,tableRow:v};function l(g){this.enter({type:"table",align:g._align,children:[]},g),this.setData("inTable",!0)}function o(g){this.exit(g),this.setData("inTable")}function T(g){this.enter({type:"tableRow",children:[]},g)}function v(g){this.exit(g)}function f(g){this.enter({type:"tableCell",children:[]},g)}function a(g){var h=this.resume();this.getData("inTable")&&(h=h.replace(/\\([\\|])/g,m)),this.stack[this.stack.length-1].value=h,this.exit(g)}function m(g,h){return h==="|"?h:g}},63046:function(N,S,l){var o=l(25362),T=l(11595),v=l(78234);N.exports=f;function f(a){var m=a||{},g=m.tableCellPadding,h=m.tablePipeAlign,d=m.stringLength,E=g?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` -`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:y,tableRow:w,tableCell:I,inlineCode:R}};function y(W,U,$){return s(x(W,$),W.align)}function w(W,U,$){var L=P(W,$),F=s([L]);return F.slice(0,F.indexOf(` -`))}function I(W,U,$){var L=$.enter("tableCell"),F=o(W,$,{before:E,after:E});return L(),F}function s(W,U){return v(W,{align:U,alignDelimiters:h,padding:g,stringLength:d})}function x(W,U){for(var $=W.children,L=-1,F=$.length,z=[],G=U.enter("table");++L0&&E.children.unshift(o("text"," ")),E.children.unshift(m(null,"input",{type:"checkbox",checked:g.checked,disabled:!0})),w.className=["task-list-item"]),s=d.length,x=-1;++x1:g}},47888:function(N,S,l){"use strict";N.exports=v;var o=l(96115),T=l(95426);function v(f,a){var m={},g=a.ordered?"ol":"ul",h,d=-1,E;for(typeof a.start=="number"&&a.start!==1&&(m.start=a.start),h=T(f,a),E=h.length;++d-1?w=g:w=h.unknownHandler,(typeof w=="function"?w:f)(h,d,E)}function m(h){var d=h.data||{};return v.call(d,"hName")||v.call(d,"hProperties")||v.call(d,"hChildren")?!1:"value"in h}function g(h,d){var E;return d.children?(E=Object.assign({},d),E.children=T(h,d),E):d}},713:function(N,S,l){"use strict";N.exports=v;var o=l(50914),T=l(95426);function v(f,a){var m=a.referenceType,g="]",h,d,E;return m==="collapsed"?g+="[]":m==="full"&&(g+="["+(a.label||a.identifier)+"]"),a.type==="imageReference"?o("text","!["+a.alt+g):(h=T(f,a),d=h[0],d&&d.type==="text"?d.value="["+d.value:h.unshift(o("text","[")),E=h[h.length-1],E&&E.type==="text"?E.value+=g:h.push(o("text",g)),h)}},96115:function(N,S,l){"use strict";N.exports=T;var o=l(50914);function T(v,f){var a=[],m=-1,g=v.length;for(f&&a.push(o("text",` -`));++m0&&a.push(o("text",` -`)),a}},2564:function(N){N.exports=S;function S(l,o){var T=-1,v;if(o.extensions)for(;++T-1?h.start:1)+(d.options.incrementListMarker===!1?0:h.children.indexOf(g))+"."),w=E.length+1,(y==="tab"||y==="mixed"&&(h&&h.spread||g.spread))&&(w=Math.ceil(w/4)*4),s=d.enter("listItem"),I=a(f(g,d),x),s(),I;function x(P,R,W){return R?(W?"":o(" ",w))+P:(W?E:E+o(" ",w-E.length))+P}}},89400:function(N){N.exports=S;function S(l){var o=l.options.bullet||"*";if(o!=="*"&&o!=="+"&&o!=="-")throw new Error("Cannot serialize items with `"+o+"` for `options.bullet`, expected `*`, `+`, or `-`");return o}},56636:function(N){N.exports=S;function S(l){var o=l.options.listItemIndent||"tab";if(o===1||o==="1")return"one";if(o!=="tab"&&o!=="one"&&o!=="mixed")throw new Error("Cannot serialize items with `"+o+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return o}},93493:function(N,S,l){N.exports=T;var o=l(96464);function T(v,f){for(var a=v.children||[],m=[],g=-1,h;++g - -`}return` - -`}}},25362:function(N){N.exports=S;function S(l,o,T){for(var v=l.children||[],f=[],a=-1,m=T.before,g,h,d;++a0&&(m==="\r"||m===` -`)&&d.type==="html"&&(f[f.length-1]=f[f.length-1].replace(/(\r?\n|\r)$/," "),m=" "),f.push(o.handle(d,l,o,{before:m,after:g})),m=f[f.length-1].slice(-1);return f.join("")}},92670:function(N){N.exports=l;var S=/\r?\n|\r/g;function l(o,T){for(var v=[],f=0,a=0,m;m=S.exec(o);)g(o.slice(f,m.index)),v.push(m[0]),f=m.index+m[0].length,a++;return g(o.slice(f)),v.join("");function g(h){v.push(T(h,a,!h))}}},84553:function(N){N.exports=S;function S(l){var o,T;return l._compiled||(o=l.before?"(?:"+l.before+")":"",T=l.after?"(?:"+l.after+")":"",l.atBreak&&(o="[\\r\\n][\\t ]*"+o),l._compiled=new RegExp((o?"("+o+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(l.character)?"\\":"")+l.character+(T||""),"g")),l._compiled}},4999:function(N){"use strict";N.exports=S;function S(o){return o&&(o.value||o.alt||o.title||"children"in o&&l(o.children)||"length"in o&&l(o))||""}function l(o){for(var T=[],v=-1;++v=55296&&g<=57343){if(g>=55296&&g<=56319&&a+1=56320&&h<=57343)){E+=encodeURIComponent(T[a]+T[a+1]),a++;continue}E+="%EF%BF%BD";continue}E+=encodeURIComponent(T[a])}return E}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",N.exports=o},57539:function(N,S,l){N.exports=l(62346)},62346:function(N,S,l){var o=l(76734),T=l(46712),v=l(89696),f=l(17238),a=l(36996),m=l(10395),g={tokenize:$,partial:!0},h={tokenize:L,partial:!0},d={tokenize:F,partial:!0},E={tokenize:G,partial:!0},y={tokenize:z,partial:!0},w={tokenize:W,previous:X},I={tokenize:U,previous:Z},s={tokenize:R,previous:re},x={};S.text=x;for(var P=48;P<123;)x[P]=s,P++,P===58?P=65:P===91&&(P=97);x[43]=s,x[45]=s,x[46]=s,x[95]=s,x[72]=[s,I],x[104]=[s,I],x[87]=[s,w],x[119]=[s,w];function R(se,ye,Oe){var K=this,D;return ie;function ie(ke){return!H(ke)||!re(K.previous)||he(K.events)?Oe(ke):(se.enter("literalAutolink"),se.enter("literalAutolinkEmail"),te(ke))}function te(ke){return H(ke)?(se.consume(ke),te):ke===64?(se.consume(ke),ae):Oe(ke)}function ae(ke){return ke===46?se.check(E,Ae,ge)(ke):ke===45||ke===95?se.check(E,Oe,ee)(ke):T(ke)?(se.consume(ke),ae):Ae(ke)}function ge(ke){return se.consume(ke),D=!0,ae}function ee(ke){return se.consume(ke),Me}function Me(ke){return ke===46?se.check(E,Oe,ge)(ke):ae(ke)}function Ae(ke){return D?(se.exit("literalAutolinkEmail"),se.exit("literalAutolink"),ye(ke)):Oe(ke)}}function W(se,ye,Oe){var K=this;return D;function D(te){return te!==87&&te-32!==87||!X(K.previous)||he(K.events)?Oe(te):(se.enter("literalAutolink"),se.enter("literalAutolinkWww"),se.check(g,se.attempt(h,se.attempt(d,ie),Oe),Oe)(te))}function ie(te){return se.exit("literalAutolinkWww"),se.exit("literalAutolink"),ye(te)}}function U(se,ye,Oe){var K=this;return D;function D(j){return j!==72&&j-32!==72||!Z(K.previous)||he(K.events)?Oe(j):(se.enter("literalAutolink"),se.enter("literalAutolinkHttp"),se.consume(j),ie)}function ie(j){return j===84||j-32===84?(se.consume(j),te):Oe(j)}function te(j){return j===84||j-32===84?(se.consume(j),ae):Oe(j)}function ae(j){return j===80||j-32===80?(se.consume(j),ge):Oe(j)}function ge(j){return j===83||j-32===83?(se.consume(j),ee):ee(j)}function ee(j){return j===58?(se.consume(j),Me):Oe(j)}function Me(j){return j===47?(se.consume(j),Ae):Oe(j)}function Ae(j){return j===47?(se.consume(j),ke):Oe(j)}function ke(j){return v(j)||m(j)||a(j)?Oe(j):se.attempt(h,se.attempt(d,Ne),Oe)(j)}function Ne(j){return se.exit("literalAutolinkHttp"),se.exit("literalAutolink"),ye(j)}}function $(se,ye,Oe){return K;function K(ge){return se.consume(ge),D}function D(ge){return ge===87||ge-32===87?(se.consume(ge),ie):Oe(ge)}function ie(ge){return ge===87||ge-32===87?(se.consume(ge),te):Oe(ge)}function te(ge){return ge===46?(se.consume(ge),ae):Oe(ge)}function ae(ge){return ge===null||f(ge)?Oe(ge):ye(ge)}}function L(se,ye,Oe){var K,D;return ie;function ie(ge){return ge===38?se.check(y,ae,te)(ge):ge===46||ge===95?se.check(E,ae,te)(ge):v(ge)||m(ge)||ge!==45&&a(ge)?ae(ge):(se.consume(ge),ie)}function te(ge){return ge===46?(D=K,K=void 0,se.consume(ge),ie):(ge===95&&(K=!0),se.consume(ge),ie)}function ae(ge){return!D&&!K?ye(ge):Oe(ge)}}function F(se,ye){var Oe=0;return K;function K(te){return te===38?se.check(y,ye,D)(te):(te===40&&Oe++,te===41?se.check(E,ie,D)(te):Y(te)?ye(te):Q(te)?se.check(E,ye,D)(te):(se.consume(te),K))}function D(te){return se.consume(te),K}function ie(te){return Oe--,Oe<0?ye(te):D(te)}}function z(se,ye,Oe){return K;function K(te){return se.consume(te),D}function D(te){return o(te)?(se.consume(te),D):te===59?(se.consume(te),ie):Oe(te)}function ie(te){return Y(te)?ye(te):Oe(te)}}function G(se,ye,Oe){return K;function K(ie){return se.consume(ie),D}function D(ie){return Q(ie)?(se.consume(ie),D):Y(ie)?ye(ie):Oe(ie)}}function Q(se){return se===33||se===34||se===39||se===41||se===42||se===44||se===46||se===58||se===59||se===60||se===63||se===95||se===126}function Y(se){return se===null||se<0||se===32||se===60}function H(se){return se===43||se===45||se===46||se===95||T(se)}function X(se){return se===null||se<0||se===32||se===40||se===42||se===95||se===126}function Z(se){return se===null||!o(se)}function re(se){return se!==47&&Z(se)}function he(se){for(var ye=se.length;ye--;)if((se[ye][1].type==="labelLink"||se[ye][1].type==="labelImage")&&!se[ye][1]._balanced)return!0}},3490:function(N,S,l){N.exports=a;var o=l(19444),T=l(56808),v=l(58280),f=l(75923);function a(m){var g=m||{},h=g.singleTilde,d={tokenize:w,resolveAll:E};return h==null&&(h=!0),{text:{126:d},insideSpan:{null:d}};function E(I,s){for(var x=-1,P,R,W,U;++x1?x(L):(I.consume(L),W++,$):W<2&&!h?x(L):(z=I.exit("strikethroughSequenceTemporary"),G=o(L),z._open=!G||G===2&&F,z._close=!F||F===2&&G,s(L))}}}},81286:function(N,S,l){N.exports=l(23993)},23993:function(N,S,l){S.flow={null:{tokenize:a,resolve:f,interruptible:!0}};var o=l(52928),T={tokenize:m,partial:!0},v={tokenize:g,partial:!0};function f(h,d){for(var E=h.length,y=-1,w,I,s,x,P,R,W,U,$,L;++yX;)y.containerState=w[re][1],w[re][0].exit.call(y,E);w.length=X}function H(X,Z){var re=0;return x={},he;function he(ie){return re-1?void 0:4)}function d(E,y,w){return T(E,E.lazy(this.parser.constructs.flow,y,w),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}S.tokenize=f},22871:function(N,S,l){"use strict";Object.defineProperty(S,"__esModule",{value:!0});var o=l(64590),T=l(52928),v=l(66532),f=a;function a(m){var g=this,h=m.attempt(v,d,m.attempt(this.parser.constructs.flowInitial,E,T(m,m.attempt(this.parser.constructs.flow,E,m.attempt(o,E)),"linePrefix")));return h;function d(y){if(y===null){m.consume(y);return}return m.enter("lineEndingBlank"),m.consume(y),m.exit("lineEndingBlank"),g.currentConstruct=void 0,h}function E(y){if(y===null){m.consume(y);return}return m.enter("lineEnding"),m.consume(y),m.exit("lineEnding"),g.currentConstruct=void 0,h}}S.tokenize=f},97082:function(N,S,l){"use strict";Object.defineProperty(S,"__esModule",{value:!0});var o=l(99198),T=l(75923),v=m("text"),f=m("string"),a={resolveAll:g()};function m(d){return{tokenize:E,resolveAll:g(d==="text"?h:void 0)};function E(y){var w=this,I=this.parser.constructs[d],s=y.attempt(I,x,P);return x;function x(U){return W(U)?s(U):P(U)}function P(U){if(U===null){y.consume(U);return}return y.enter("data"),y.consume(U),R}function R(U){return W(U)?(y.exit("data"),s(U)):(y.consume(U),R)}function W(U){var $=I[U],L=-1;if(U===null)return!0;if($){for(;++L<$.length;)if(!$[L].previous||$[L].previous.call(w,w.previous))return!0}}}}function g(d){return E;function E(y,w){for(var I=-1,s;++I<=y.length;)s===void 0?y[I]&&y[I][1].type==="data"&&(s=I,I++):(!y[I]||y[I][1].type!=="data")&&(I!==s+2&&(y[s][1].end=y[I-1][1].end,y.splice(s+2,I-s-2),I=s+2),s=void 0);return d?d(y,w):y}}function h(d,E){for(var y=-1,w,I,s,x,P,R,W,U;++y<=d.length;)if((y===d.length||d[y][1].type==="lineEnding")&&d[y-1][1].type==="data"){for(I=d[y-1][1],w=E.sliceStream(I),x=w.length,P=-1,R=0,W=void 0;x--;)if(s=w[x],typeof s=="string"){for(P=s.length;s.charCodeAt(P-1)===32;)R++,P--;if(P)break;P=-1}else if(s===-2)W=!0,R++;else if(s!==-1){x++;break}R&&(U={type:y===d.length||W||R<2?"lineSuffix":"hardBreakTrailing",start:{line:I.end.line,column:I.end.column-R,offset:I.end.offset-R,_index:I.start._index+x,_bufferIndex:x?P:I.start._bufferIndex+P},end:T(I.end)},I.end=T(U.start),I.start.offset===I.end.offset?o(I,U):(d.splice(y,0,["enter",U,E],["exit",U,E]),y+=2)),y++}return d}S.resolver=a,S.string=f,S.text=v},32976:function(N,S,l){"use strict";var o=l(13745),T=l(14201),v=l(22871),f=l(97082),a=l(12952),m=l(21388),g=l(28180),h=l(36274);function d(E){var y=E||{},w={defined:[],constructs:a([h].concat(g(y.extensions))),content:I(o),document:I(T),flow:I(v),string:I(f.string),text:I(f.text)};return w;function I(s){return x;function x(P){return m(w,s,P)}}}N.exports=d},61242:function(N,S,l){"use strict";var o=l(84423);function T(v){for(;!o(v););return v}N.exports=T},30162:function(N){"use strict";var S=/[\0\t\n\r]/g;function l(){var o=!0,T=1,v="",f;return a;function a(m,g,h){var d=[],E,y,w,I,s;for(m=v+m.toString(g),w=0,v="",o&&(m.charCodeAt(0)===65279&&w++,o=void 0);w1&&E[w][1].end.offset-E[w][1].start.offset>1?2:1,P={type:W>1?"strongSequence":"emphasisSequence",start:f(m(E[I][1].end),-W),end:m(E[I][1].end)},R={type:W>1?"strongSequence":"emphasisSequence",start:m(E[w][1].start),end:f(m(E[w][1].start),W)},x={type:W>1?"strongText":"emphasisText",start:m(E[I][1].end),end:m(E[w][1].start)},s={type:W>1?"strong":"emphasis",start:m(P.start),end:m(R.end)},E[I][1].end=m(P.start),E[w][1].start=m(R.end),U=[],E[I][1].end.offset-E[I][1].start.offset&&(U=o(U,[["enter",E[I][1],y],["exit",E[I][1],y]])),U=o(U,[["enter",s,y],["enter",P,y],["exit",P,y],["enter",x,y]]),U=o(U,a(y.parser.constructs.insideSpan.null,E.slice(I+1,w),y)),U=o(U,[["exit",x,y],["enter",R,y],["exit",R,y],["exit",s,y]]),E[w][1].end.offset-E[w][1].start.offset?($=2,U=o(U,[["enter",E[w][1],y],["exit",E[w][1],y]])):$=0,T(E,I-1,w-I+3,U),w=I+U.length-$-2;break}}for(w=-1;++w-1?void 0:4)}function m(g){g.exit("blockQuote")}N.exports=v},49653:function(N,S,l){"use strict";var o=l(83074),T={name:"characterEscape",tokenize:v};function v(f,a,m){return g;function g(d){return f.enter("characterEscape"),f.enter("escapeMarker"),f.consume(d),f.exit("escapeMarker"),h}function h(d){return o(d)?(f.enter("characterEscapeValue"),f.consume(d),f.exit("characterEscapeValue"),f.exit("characterEscape"),a):m(d)}}N.exports=T},36713:function(N,S,l){"use strict";var o=l(89435),T=l(46712),v=l(73977),f=l(56238);function a(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var m=a(o),g={name:"characterReference",tokenize:h};function h(d,E,y){var w=this,I=0,s,x;return P;function P($){return d.enter("characterReference"),d.enter("characterReferenceMarker"),d.consume($),d.exit("characterReferenceMarker"),R}function R($){return $===35?(d.enter("characterReferenceMarkerNumeric"),d.consume($),d.exit("characterReferenceMarkerNumeric"),W):(d.enter("characterReferenceValue"),s=31,x=T,U($))}function W($){return $===88||$===120?(d.enter("characterReferenceMarkerHexadecimal"),d.consume($),d.exit("characterReferenceMarkerHexadecimal"),d.enter("characterReferenceValue"),s=6,x=f,U):(d.enter("characterReferenceValue"),s=7,x=v,U($))}function U($){var L;return $===59&&I?(L=d.exit("characterReferenceValue"),x===T&&!m.default(w.sliceSerialize(L))?y($):(d.enter("characterReferenceMarker"),d.consume($),d.exit("characterReferenceMarker"),d.exit("characterReference"),E)):x($)&&I++-1?void 0:4);function re(ye){return Y.enter("codeFencedFence"),Y.enter("codeFencedFenceSequence"),he(ye)}function he(ye){return ye===s?(Y.consume(ye),Z++,he):Z-1||T(I.events,"linePrefix")<4?E.interrupt(I.parser.constructs.flow,w,y)(P):y(P)}}N.exports=a},93865:function(N,S,l){"use strict";var o=l(17238),T=l(88367),v=l(35478),f=l(38229),a=l(97154),m=l(52928),g=l(31056),h=l(59283),d={name:"definition",tokenize:y},E={tokenize:w,partial:!0};function y(I,s,x){var P=this,R;return W;function W(L){return I.enter("definition"),a.call(P,I,U,x,"definitionLabel","definitionLabelMarker","definitionLabelString")(L)}function U(L){return R=v(P.sliceSerialize(P.events[P.events.length-1][1]).slice(1,-1)),L===58?(I.enter("definitionMarker"),I.consume(L),I.exit("definitionMarker"),g(I,f(I,I.attempt(E,m(I,$,"whitespace"),m(I,$,"whitespace")),x,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):x(L)}function $(L){return L===null||o(L)?(I.exit("definition"),P.parser.defined.indexOf(R)<0&&P.parser.defined.push(R),s(L)):x(L)}}function w(I,s,x){return P;function P(U){return T(U)?g(I,R)(U):x(U)}function R(U){return U===34||U===39||U===40?h(I,m(I,W,"whitespace"),x,"definitionTitle","definitionTitleMarker","definitionTitleString")(U):x(U)}function W(U){return U===null||o(U)?s(U):x(U)}}N.exports=d},38229:function(N,S,l){"use strict";var o=l(89696),T=l(88367),v=l(17238);function f(a,m,g,h,d,E,y,w,I){var s=I||1/0,x=0;return P;function P(F){return F===60?(a.enter(h),a.enter(d),a.enter(E),a.consume(F),a.exit(E),R):o(F)||F===41?g(F):(a.enter(h),a.enter(y),a.enter(w),a.enter("chunkString",{contentType:"string"}),$(F))}function R(F){return F===62?(a.enter(E),a.consume(F),a.exit(E),a.exit(d),a.exit(h),m):(a.enter(w),a.enter("chunkString",{contentType:"string"}),W(F))}function W(F){return F===62?(a.exit("chunkString"),a.exit(w),R(F)):F===null||F===60||v(F)?g(F):(a.consume(F),F===92?U:W)}function U(F){return F===60||F===62||F===92?(a.consume(F),W):W(F)}function $(F){return F===40?++x>s?g(F):(a.consume(F),$):F===41?x--?(a.consume(F),$):(a.exit("chunkString"),a.exit(w),a.exit(y),a.exit(h),m(F)):F===null||T(F)?x?g(F):(a.exit("chunkString"),a.exit(w),a.exit(y),a.exit(h),m(F)):o(F)?g(F):(a.consume(F),F===92?L:$)}function L(F){return F===40||F===41||F===92?(a.consume(F),$):$(F)}}N.exports=f},97154:function(N,S,l){"use strict";var o=l(17238),T=l(73654);function v(f,a,m,g,h,d){var E=this,y=0,w;return I;function I(R){return f.enter(g),f.enter(h),f.consume(R),f.exit(h),f.enter(d),s}function s(R){return R===null||R===91||R===93&&!w||R===94&&!y&&"_hiddenFootnoteSupport"in E.parser.constructs||y>999?m(R):R===93?(f.exit(d),f.enter(h),f.consume(R),f.exit(h),f.exit(g),a):o(R)?(f.enter("lineEnding"),f.consume(R),f.exit("lineEnding"),s):(f.enter("chunkString",{contentType:"string"}),x(R))}function x(R){return R===null||R===91||R===93||o(R)||y++>999?(f.exit("chunkString"),s(R)):(f.consume(R),w=w||!T(R),R===92?P:x)}function P(R){return R===91||R===92||R===93?(f.consume(R),y++,x):x(R)}}N.exports=v},52928:function(N,S,l){"use strict";var o=l(73654);function T(v,f,a,m){var g=m?m-1:1/0,h=0;return d;function d(y){return o(y)?(v.enter(a),E(y)):f(y)}function E(y){return o(y)&&h++w&&d[y][1].type==="whitespace"&&(y-=2),d[y][1].type==="atxHeadingSequence"&&(w===y-1||y-4>w&&d[y-2][1].type==="whitespace")&&(y-=w+1===y?2:4),y>w&&(I={type:"atxHeadingText",start:d[w][1].start,end:d[y][1].end},s={type:"chunkText",start:d[w][1].start,end:d[y][1].end,contentType:"text"},f(d,w,y-w+1,[["enter",I,E],["enter",s,E],["exit",s,E],["exit",I,E]])),d}function h(d,E,y){var w=this,I=0;return s;function s(U){return d.enter("atxHeading"),d.enter("atxHeadingSequence"),x(U)}function x(U){return U===35&&I++<6?(d.consume(U),x):U===null||T(U)?(d.exit("atxHeadingSequence"),w.interrupt?E(U):P(U)):y(U)}function P(U){return U===35?(d.enter("atxHeadingSequence"),R(U)):U===null||o(U)?(d.exit("atxHeading"),E(U)):v(U)?a(d,P,"whitespace")(U):(d.enter("atxHeadingText"),W(U))}function R(U){return U===35?(d.consume(U),R):(d.exit("atxHeadingSequence"),P(U))}function W(U){return U===null||U===35||T(U)?(d.exit("atxHeadingText"),P(U)):(d.consume(U),W)}}N.exports=m},76872:function(N,S,l){"use strict";var o=l(76734),T=l(46712),v=l(17238),f=l(88367),a=l(73654),m=l(93267),g=l(57139),h=l(16871),d=l(66532),E={name:"htmlFlow",tokenize:I,resolveTo:w,concrete:!0},y={tokenize:s,partial:!0};function w(x){for(var P=x.length;P--&&!(x[P][0]==="enter"&&x[P][1].type==="htmlFlow"););return P>1&&x[P-2][1].type==="linePrefix"&&(x[P][1].start=x[P-2][1].start,x[P+1][1].start=x[P-2][1].start,x.splice(P-2,2)),x}function I(x,P,R){var W=this,U,$,L,F,z;return G;function G(ne){return x.enter("htmlFlow"),x.enter("htmlFlowData"),x.consume(ne),Q}function Q(ne){return ne===33?(x.consume(ne),Y):ne===47?(x.consume(ne),Z):ne===63?(x.consume(ne),U=3,W.interrupt?P:Be):o(ne)?(x.consume(ne),L=m(ne),$=!0,re):R(ne)}function Y(ne){return ne===45?(x.consume(ne),U=2,H):ne===91?(x.consume(ne),U=5,L="CDATA[",F=0,X):o(ne)?(x.consume(ne),U=4,W.interrupt?P:Be):R(ne)}function H(ne){return ne===45?(x.consume(ne),W.interrupt?P:Be):R(ne)}function X(ne){return ne===L.charCodeAt(F++)?(x.consume(ne),F===L.length?W.interrupt?P:Me:X):R(ne)}function Z(ne){return o(ne)?(x.consume(ne),L=m(ne),re):R(ne)}function re(ne){return ne===null||ne===47||ne===62||f(ne)?ne!==47&&$&&h.indexOf(L.toLowerCase())>-1?(U=1,W.interrupt?P(ne):Me(ne)):g.indexOf(L.toLowerCase())>-1?(U=6,ne===47?(x.consume(ne),he):W.interrupt?P(ne):Me(ne)):(U=7,W.interrupt?R(ne):$?ye(ne):se(ne)):ne===45||T(ne)?(x.consume(ne),L+=m(ne),re):R(ne)}function he(ne){return ne===62?(x.consume(ne),W.interrupt?P:Me):R(ne)}function se(ne){return a(ne)?(x.consume(ne),se):ge(ne)}function ye(ne){return ne===47?(x.consume(ne),ge):ne===58||ne===95||o(ne)?(x.consume(ne),Oe):a(ne)?(x.consume(ne),ye):ge(ne)}function Oe(ne){return ne===45||ne===46||ne===58||ne===95||T(ne)?(x.consume(ne),Oe):K(ne)}function K(ne){return ne===61?(x.consume(ne),D):a(ne)?(x.consume(ne),K):ye(ne)}function D(ne){return ne===null||ne===60||ne===61||ne===62||ne===96?R(ne):ne===34||ne===39?(x.consume(ne),z=ne,ie):a(ne)?(x.consume(ne),D):(z=void 0,te(ne))}function ie(ne){return ne===z?(x.consume(ne),ae):ne===null||v(ne)?R(ne):(x.consume(ne),ie)}function te(ne){return ne===null||ne===34||ne===39||ne===60||ne===61||ne===62||ne===96||f(ne)?K(ne):(x.consume(ne),te)}function ae(ne){return ne===47||ne===62||a(ne)?ye(ne):R(ne)}function ge(ne){return ne===62?(x.consume(ne),ee):R(ne)}function ee(ne){return a(ne)?(x.consume(ne),ee):ne===null||v(ne)?Me(ne):R(ne)}function Me(ne){return ne===45&&U===2?(x.consume(ne),Ne):ne===60&&U===1?(x.consume(ne),j):ne===62&&U===4?(x.consume(ne),$e):ne===63&&U===3?(x.consume(ne),Be):ne===93&&U===5?(x.consume(ne),Qe):v(ne)&&(U===6||U===7)?x.check(y,$e,Ae)(ne):ne===null||v(ne)?Ae(ne):(x.consume(ne),Me)}function Ae(ne){return x.exit("htmlFlowData"),ke(ne)}function ke(ne){return ne===null?ht(ne):v(ne)?(x.enter("lineEnding"),x.consume(ne),x.exit("lineEnding"),ke):(x.enter("htmlFlowData"),Me(ne))}function Ne(ne){return ne===45?(x.consume(ne),Be):Me(ne)}function j(ne){return ne===47?(x.consume(ne),L="",st):Me(ne)}function st(ne){return ne===62&&h.indexOf(L.toLowerCase())>-1?(x.consume(ne),$e):o(ne)&&L.length<8?(x.consume(ne),L+=m(ne),st):Me(ne)}function Qe(ne){return ne===93?(x.consume(ne),Be):Me(ne)}function Be(ne){return ne===62?(x.consume(ne),$e):Me(ne)}function $e(ne){return ne===null||v(ne)?(x.exit("htmlFlowData"),ht(ne)):(x.consume(ne),$e)}function ht(ne){return x.exit("htmlFlow"),P(ne)}}function s(x,P,R){return W;function W(U){return x.exit("htmlFlowData"),x.enter("lineEndingBlank"),x.consume(U),x.exit("lineEndingBlank"),x.attempt(d,P,R)}}N.exports=E},28911:function(N,S,l){"use strict";var o=l(76734),T=l(46712),v=l(17238),f=l(88367),a=l(73654),m=l(52928),g={name:"htmlText",tokenize:h};function h(d,E,y){var w=this,I,s,x,P;return R;function R(j){return d.enter("htmlText"),d.enter("htmlTextData"),d.consume(j),W}function W(j){return j===33?(d.consume(j),U):j===47?(d.consume(j),se):j===63?(d.consume(j),re):o(j)?(d.consume(j),K):y(j)}function U(j){return j===45?(d.consume(j),$):j===91?(d.consume(j),s="CDATA[",x=0,Q):o(j)?(d.consume(j),Z):y(j)}function $(j){return j===45?(d.consume(j),L):y(j)}function L(j){return j===null||j===62?y(j):j===45?(d.consume(j),F):z(j)}function F(j){return j===null||j===62?y(j):z(j)}function z(j){return j===null?y(j):j===45?(d.consume(j),G):v(j)?(P=z,Ae(j)):(d.consume(j),z)}function G(j){return j===45?(d.consume(j),Ne):z(j)}function Q(j){return j===s.charCodeAt(x++)?(d.consume(j),x===s.length?Y:Q):y(j)}function Y(j){return j===null?y(j):j===93?(d.consume(j),H):v(j)?(P=Y,Ae(j)):(d.consume(j),Y)}function H(j){return j===93?(d.consume(j),X):Y(j)}function X(j){return j===62?Ne(j):j===93?(d.consume(j),X):Y(j)}function Z(j){return j===null||j===62?Ne(j):v(j)?(P=Z,Ae(j)):(d.consume(j),Z)}function re(j){return j===null?y(j):j===63?(d.consume(j),he):v(j)?(P=re,Ae(j)):(d.consume(j),re)}function he(j){return j===62?Ne(j):re(j)}function se(j){return o(j)?(d.consume(j),ye):y(j)}function ye(j){return j===45||T(j)?(d.consume(j),ye):Oe(j)}function Oe(j){return v(j)?(P=Oe,Ae(j)):a(j)?(d.consume(j),Oe):Ne(j)}function K(j){return j===45||T(j)?(d.consume(j),K):j===47||j===62||f(j)?D(j):y(j)}function D(j){return j===47?(d.consume(j),Ne):j===58||j===95||o(j)?(d.consume(j),ie):v(j)?(P=D,Ae(j)):a(j)?(d.consume(j),D):Ne(j)}function ie(j){return j===45||j===46||j===58||j===95||T(j)?(d.consume(j),ie):te(j)}function te(j){return j===61?(d.consume(j),ae):v(j)?(P=te,Ae(j)):a(j)?(d.consume(j),te):D(j)}function ae(j){return j===null||j===60||j===61||j===62||j===96?y(j):j===34||j===39?(d.consume(j),I=j,ge):v(j)?(P=ae,Ae(j)):a(j)?(d.consume(j),ae):(d.consume(j),I=void 0,Me)}function ge(j){return j===I?(d.consume(j),ee):j===null?y(j):v(j)?(P=ge,Ae(j)):(d.consume(j),ge)}function ee(j){return j===62||j===47||f(j)?D(j):y(j)}function Me(j){return j===null||j===34||j===39||j===60||j===61||j===96?y(j):j===62||f(j)?D(j):(d.consume(j),Me)}function Ae(j){return d.exit("htmlTextData"),d.enter("lineEnding"),d.consume(j),d.exit("lineEnding"),m(d,ke,"linePrefix",w.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function ke(j){return d.enter("htmlTextData"),P(j)}function Ne(j){return j===62?(d.consume(j),d.exit("htmlTextData"),d.exit("htmlText"),E):y(j)}}N.exports=g},31294:function(N,S,l){"use strict";var o=l(88367),T=l(78811),v=l(56808),f=l(35478),a=l(58280),m=l(75923),g=l(38229),h=l(97154),d=l(59283),E=l(31056),y={name:"labelEnd",tokenize:R,resolveTo:P,resolveAll:x},w={tokenize:W},I={tokenize:U},s={tokenize:$};function x(L){for(var F=-1,z;++F-1,L.enter("labelEnd"),L.enter("labelMarker"),L.consume(he),L.exit("labelMarker"),L.exit("labelEnd"),Z):z(he)}function Z(he){return he===40?L.attempt(w,F,H?F:re)(he):he===91?L.attempt(I,F,H?L.attempt(s,F,re):re)(he):H?F(he):re(he)}function re(he){return Y._balanced=!0,z(he)}}function W(L,F,z){return G;function G(Z){return L.enter("resource"),L.enter("resourceMarker"),L.consume(Z),L.exit("resourceMarker"),E(L,Q)}function Q(Z){return Z===41?X(Z):g(L,Y,z,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(Z)}function Y(Z){return o(Z)?E(L,H)(Z):X(Z)}function H(Z){return Z===34||Z===39||Z===40?d(L,E(L,X),z,"resourceTitle","resourceTitleMarker","resourceTitleString")(Z):X(Z)}function X(Z){return Z===41?(L.enter("resourceMarker"),L.consume(Z),L.exit("resourceMarker"),L.exit("resource"),F):z(Z)}}function U(L,F,z){var G=this;return Q;function Q(H){return h.call(G,L,Y,z,"reference","referenceMarker","referenceString")(H)}function Y(H){return G.parser.defined.indexOf(f(G.sliceSerialize(G.events[G.events.length-1][1]).slice(1,-1)))<0?z(H):F(H)}}function $(L,F,z){return G;function G(Y){return L.enter("reference"),L.enter("referenceMarker"),L.consume(Y),L.exit("referenceMarker"),Q}function Q(Y){return Y===93?(L.enter("referenceMarker"),L.consume(Y),L.exit("referenceMarker"),L.exit("reference"),F):z(Y)}}N.exports=y},36215:function(N,S,l){"use strict";var o=l(31294),T={name:"labelStartImage",tokenize:v,resolveAll:o.resolveAll};function v(f,a,m){var g=this;return h;function h(y){return f.enter("labelImage"),f.enter("labelImageMarker"),f.consume(y),f.exit("labelImageMarker"),d}function d(y){return y===91?(f.enter("labelMarker"),f.consume(y),f.exit("labelMarker"),f.exit("labelImage"),E):m(y)}function E(y){return y===94&&"_hiddenFootnoteSupport"in g.parser.constructs?m(y):a(y)}}N.exports=T},60534:function(N,S,l){"use strict";var o=l(31294),T={name:"labelStartLink",tokenize:v,resolveAll:o.resolveAll};function v(f,a,m){var g=this;return h;function h(E){return f.enter("labelLink"),f.enter("labelMarker"),f.consume(E),f.exit("labelMarker"),f.exit("labelLink"),d}function d(E){return E===94&&"_hiddenFootnoteSupport"in g.parser.constructs?m(E):a(E)}}N.exports=T},92607:function(N,S,l){"use strict";var o=l(52928),T={name:"lineEnding",tokenize:v};function v(f,a){return m;function m(g){return f.enter("lineEnding"),f.consume(g),f.exit("lineEnding"),o(f,a,"linePrefix")}}N.exports=T},46931:function(N,S,l){"use strict";var o=l(73977),T=l(73654),v=l(15096),f=l(18892),a=l(52928),m=l(66532),g=l(37039),h={name:"list",tokenize:y,continuation:{tokenize:w},exit:s},d={tokenize:x,partial:!0},E={tokenize:I,partial:!0};function y(P,R,W){var U=this,$=v(U.events,"linePrefix"),L=0;return F;function F(X){var Z=U.containerState.type||(X===42||X===43||X===45?"listUnordered":"listOrdered");if(Z==="listUnordered"?!U.containerState.marker||X===U.containerState.marker:o(X)){if(U.containerState.type||(U.containerState.type=Z,P.enter(Z,{_container:!0})),Z==="listUnordered")return P.enter("listItemPrefix"),X===42||X===45?P.check(g,W,G)(X):G(X);if(!U.interrupt||X===49)return P.enter("listItemPrefix"),P.enter("listItemValue"),z(X)}return W(X)}function z(X){return o(X)&&++L<10?(P.consume(X),z):(!U.interrupt||L<2)&&(U.containerState.marker?X===U.containerState.marker:X===41||X===46)?(P.exit("listItemValue"),G(X)):W(X)}function G(X){return P.enter("listItemMarker"),P.consume(X),P.exit("listItemMarker"),U.containerState.marker=U.containerState.marker||X,P.check(m,U.interrupt?W:Q,P.attempt(d,H,Y))}function Q(X){return U.containerState.initialBlankLine=!0,$++,H(X)}function Y(X){return T(X)?(P.enter("listItemPrefixWhitespace"),P.consume(X),P.exit("listItemPrefixWhitespace"),H):W(X)}function H(X){return U.containerState.size=$+f(U.sliceStream(P.exit("listItemPrefix"))),R(X)}}function w(P,R,W){var U=this;return U.containerState._closeFlow=void 0,P.check(m,$,L);function $(z){return U.containerState.furtherBlankLines=U.containerState.furtherBlankLines||U.containerState.initialBlankLine,a(P,R,"listItemIndent",U.containerState.size+1)(z)}function L(z){return U.containerState.furtherBlankLines||!T(z)?(U.containerState.furtherBlankLines=U.containerState.initialBlankLine=void 0,F(z)):(U.containerState.furtherBlankLines=U.containerState.initialBlankLine=void 0,P.attempt(E,R,F)(z))}function F(z){return U.containerState._closeFlow=!0,U.interrupt=void 0,a(P,P.attempt(h,R,W),"linePrefix",U.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(z)}}function I(P,R,W){var U=this;return a(P,$,"listItemIndent",U.containerState.size+1);function $(L){return v(U.events,"listItemIndent")===U.containerState.size?R(L):W(L)}}function s(P){P.exit(this.containerState.type)}function x(P,R,W){var U=this;return a(P,$,"listItemPrefixWhitespace",U.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4+1);function $(L){return T(L)||!v(U.events,"listItemPrefixWhitespace")?W(L):R(L)}}N.exports=h},66532:function(N,S,l){"use strict";var o=l(17238),T=l(52928),v={tokenize:f,partial:!0};function f(a,m,g){return T(a,h,"linePrefix");function h(d){return d===null||o(d)?m(d):g(d)}}N.exports=v},15874:function(N,S,l){"use strict";var o=l(17238),T=l(75923),v=l(52928),f={name:"setextUnderline",tokenize:m,resolveTo:a};function a(g,h){for(var d=g.length,E,y,w,I;d--;)if(g[d][0]==="enter"){if(g[d][1].type==="content"){E=d;break}g[d][1].type==="paragraph"&&(y=d)}else g[d][1].type==="content"&&g.splice(d,1),!w&&g[d][1].type==="definition"&&(w=d);return I={type:"setextHeading",start:T(g[y][1].start),end:T(g[g.length-1][1].end)},g[y][1].type="setextHeadingText",w?(g.splice(y,0,["enter",I,h]),g.splice(w+1,0,["exit",g[E][1],h]),g[E][1].end=T(g[w][1].end)):g[E][1]=I,g.push(["exit",I,h]),g}function m(g,h,d){for(var E=this,y=E.events.length,w,I;y--;)if(E.events[y][1].type!=="lineEnding"&&E.events[y][1].type!=="linePrefix"&&E.events[y][1].type!=="content"){I=E.events[y][1].type==="paragraph";break}return s;function s(R){return!E.lazy&&(E.interrupt||I)?(g.enter("setextHeadingLine"),g.enter("setextHeadingLineSequence"),w=R,x(R)):d(R)}function x(R){return R===w?(g.consume(R),x):(g.exit("setextHeadingLineSequence"),v(g,P,"lineSuffix")(R))}function P(R){return R===null||o(R)?(g.exit("setextHeadingLine"),h(R)):d(R)}}N.exports=f},37039:function(N,S,l){"use strict";var o=l(17238),T=l(73654),v=l(52928),f={name:"thematicBreak",tokenize:a};function a(m,g,h){var d=0,E;return y;function y(s){return m.enter("thematicBreak"),E=s,w(s)}function w(s){return s===E?(m.enter("thematicBreakSequence"),I(s)):T(s)?v(m,w,"whitespace")(s):d<3||s!==null&&!o(s)?h(s):(m.exit("thematicBreak"),g(s))}function I(s){return s===E?(m.consume(s),d++,I):(m.exit("thematicBreakSequence"),w(s))}}N.exports=f},78811:function(N,S,l){"use strict";var o=l(56808);function T(v,f){return v.length?(o(v,v.length,0,f),v):f}N.exports=T},56808:function(N,S,l){"use strict";var o=l(21362);function T(v,f,a,m){var g=v.length,h=0,d;if(f<0?f=-f>g?0:g+f:f=f>g?g:f,a=a>0?a:0,m.length<1e4)d=Array.from(m),d.unshift(f,a),o.apply(v,d);else for(a&&o.apply(v,[f,a]);h-1?ne():pt.tokenize.call(ae?o({},$,ae):$,U,ht,ne)(je)}}function ht(pt){return te(j,st),Me}function ne(pt){return st.restore(),++Ne13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"\uFFFD":o(a)}N.exports=T},23082:function(N,S,l){"use strict";var o=l(93267);function T(v){for(var f=-1,a=[],m,g,h;++f-1&&(m[0]=m[0].slice(v)),a>0&&m.push(l[f].slice(0,a))),m}N.exports=S},84423:function(N,S,l){"use strict";var o=l(99198),T=l(56808),v=l(75923);function f(m){for(var g={},h=-1,d,E,y,w,I,s,x;++h-1)return o.QUIRKS;let x=I===null?m:a;if(y(s,x))return o.QUIRKS;if(x=I===null?h:d,y(s,x))return o.LIMITED_QUIRKS}return o.NO_QUIRKS},S.serializeContent=function(w,I,s){let x="!DOCTYPE ";return w&&(x+=w),I?x+=" PUBLIC "+E(I):s&&(x+=" SYSTEM"),s!==null&&(x+=" "+E(s)),x}},41734:function(N){"use strict";N.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},88779:function(N,S,l){"use strict";const o=l(55763),T=l(16152),v=T.TAG_NAMES,f=T.NAMESPACES,a=T.ATTRS,m={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},g="definitionurl",h="definitionURL",d={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},E={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:f.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:f.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:f.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:f.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:f.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:f.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:f.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:f.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:f.XML},"xml:space":{prefix:"xml",name:"space",namespace:f.XML},xmlns:{prefix:"",name:"xmlns",namespace:f.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:f.XMLNS}},y=S.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},w={[v.B]:!0,[v.BIG]:!0,[v.BLOCKQUOTE]:!0,[v.BODY]:!0,[v.BR]:!0,[v.CENTER]:!0,[v.CODE]:!0,[v.DD]:!0,[v.DIV]:!0,[v.DL]:!0,[v.DT]:!0,[v.EM]:!0,[v.EMBED]:!0,[v.H1]:!0,[v.H2]:!0,[v.H3]:!0,[v.H4]:!0,[v.H5]:!0,[v.H6]:!0,[v.HEAD]:!0,[v.HR]:!0,[v.I]:!0,[v.IMG]:!0,[v.LI]:!0,[v.LISTING]:!0,[v.MENU]:!0,[v.META]:!0,[v.NOBR]:!0,[v.OL]:!0,[v.P]:!0,[v.PRE]:!0,[v.RUBY]:!0,[v.S]:!0,[v.SMALL]:!0,[v.SPAN]:!0,[v.STRONG]:!0,[v.STRIKE]:!0,[v.SUB]:!0,[v.SUP]:!0,[v.TABLE]:!0,[v.TT]:!0,[v.U]:!0,[v.UL]:!0,[v.VAR]:!0};S.causesExit=function(x){const P=x.tagName;return P===v.FONT&&(o.getTokenAttr(x,a.COLOR)!==null||o.getTokenAttr(x,a.SIZE)!==null||o.getTokenAttr(x,a.FACE)!==null)?!0:w[P]},S.adjustTokenMathMLAttrs=function(x){for(let P=0;P=55296&&o<=57343},S.isSurrogatePair=function(o){return o>=56320&&o<=57343},S.getSurrogatePairCodePoint=function(o,T){return(o-55296)*1024+9216+T},S.isControlCodePoint=function(o){return o!==32&&o!==10&&o!==13&&o!==9&&o!==12&&o>=1&&o<=31||o>=127&&o<=159},S.isUndefinedCodePoint=function(o){return o>=64976&&o<=65007||l.indexOf(o)>-1}},23843:function(N,S,l){"use strict";const o=l(12814);class T extends o{constructor(f,a){super(f),this.posTracker=null,this.onParseError=a.onParseError}_setErrorLocation(f){f.startLine=f.endLine=this.posTracker.line,f.startCol=f.endCol=this.posTracker.col,f.startOffset=f.endOffset=this.posTracker.offset}_reportError(f){const a={code:f,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(a),this.onParseError(a)}_getOverriddenMethods(f){return{_err(a){f._reportError(a)}}}}N.exports=T},22232:function(N,S,l){"use strict";const o=l(23843),T=l(70050),v=l(46110),f=l(12814);class a extends o{constructor(g,h){super(g,h),this.opts=h,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(g){this.ctLoc&&(g.startLine=this.ctLoc.startLine,g.startCol=this.ctLoc.startCol,g.startOffset=this.ctLoc.startOffset,g.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,g.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,g.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(g,h){return{_bootstrap(d,E){h._bootstrap.call(this,d,E),f.install(this.tokenizer,T,g.opts),f.install(this.tokenizer,v)},_processInputToken(d){g.ctLoc=d.location,h._processInputToken.call(this,d)},_err(d,E){g.locBeforeToken=E&&E.beforeToken,g._reportError(d)}}}}N.exports=a},23288:function(N,S,l){"use strict";const o=l(23843),T=l(57930),v=l(12814);class f extends o{constructor(m,g){super(m,g),this.posTracker=v.install(m,T),this.lastErrOffset=-1}_reportError(m){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(m))}}N.exports=f},70050:function(N,S,l){"use strict";const o=l(23843),T=l(23288),v=l(12814);class f extends o{constructor(m,g){super(m,g);const h=v.install(m.preprocessor,T,g);this.posTracker=h.posTracker}}N.exports=f},11077:function(N,S,l){"use strict";const o=l(12814);class T extends o{constructor(f,a){super(f),this.onItemPop=a.onItemPop}_getOverriddenMethods(f,a){return{pop(){f.onItemPop(this.current),a.pop.call(this)},popAllUpToHtmlElement(){for(let m=this.stackTop;m>0;m--)f.onItemPop(this.items[m]);a.popAllUpToHtmlElement.call(this)},remove(m){f.onItemPop(this.current),a.remove.call(this,m)}}}}N.exports=T},452:function(N,S,l){"use strict";const o=l(12814),T=l(55763),v=l(46110),f=l(11077),m=l(16152).TAG_NAMES;class g extends o{constructor(d){super(d),this.parser=d,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(d){let E=null;this.lastStartTagToken&&(E=Object.assign({},this.lastStartTagToken.location),E.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(d,E)}_setEndLocation(d,E){if(this.treeAdapter.getNodeSourceCodeLocation(d)&&E.location){const w=E.location,I=this.treeAdapter.getTagName(d),s=E.type===T.END_TAG_TOKEN&&I===E.tagName,x={};s?(x.endTag=Object.assign({},w),x.endLine=w.endLine,x.endCol=w.endCol,x.endOffset=w.endOffset):(x.endLine=w.startLine,x.endCol=w.startCol,x.endOffset=w.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(d,x)}}_getOverriddenMethods(d,E){return{_bootstrap(y,w){E._bootstrap.call(this,y,w),d.lastStartTagToken=null,d.lastFosterParentingLocation=null,d.currentToken=null;const I=o.install(this.tokenizer,v);d.posTracker=I.posTracker,o.install(this.openElements,f,{onItemPop:function(s){d._setEndLocation(s,d.currentToken)}})},_runParsingLoop(y){E._runParsingLoop.call(this,y);for(let w=this.openElements.stackTop;w>=0;w--)d._setEndLocation(this.openElements.items[w],d.currentToken)},_processTokenInForeignContent(y){d.currentToken=y,E._processTokenInForeignContent.call(this,y)},_processToken(y){if(d.currentToken=y,E._processToken.call(this,y),y.type===T.END_TAG_TOKEN&&(y.tagName===m.HTML||y.tagName===m.BODY&&this.openElements.hasInScope(m.BODY)))for(let I=this.openElements.stackTop;I>=0;I--){const s=this.openElements.items[I];if(this.treeAdapter.getTagName(s)===y.tagName){d._setEndLocation(s,y);break}}},_setDocumentType(y){E._setDocumentType.call(this,y);const w=this.treeAdapter.getChildNodes(this.document),I=w.length;for(let s=0;s{const E=T.MODE[d];h[E]=function(y){m.ctLoc=m._getCurrentLocation(),g[E].call(this,y)}}),h}}N.exports=f},57930:function(N,S,l){"use strict";const o=l(12814);class T extends o{constructor(f){super(f),this.preprocessor=f,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(f,a){return{advance(){const m=this.pos+1,g=this.html[m];return f.isEol&&(f.isEol=!1,f.line++,f.lineStartPos=m),(g===` -`||g==="\r"&&this.html[m+1]!==` -`)&&(f.isEol=!0),f.col=m-f.lineStartPos+1,f.offset=f.droppedBufferSize+m,a.advance.call(this)},retreat(){a.retreat.call(this),f.isEol=!1,f.col=this.pos-f.lineStartPos+1},dropParsedChunk(){const m=this.pos;a.dropParsedChunk.call(this);const g=m-this.pos;f.lineStartPos-=g,f.droppedBufferSize+=g,f.offset=f.droppedBufferSize+this.pos}}}}N.exports=T},12484:function(N){"use strict";class l{constructor(T){this.length=0,this.entries=[],this.treeAdapter=T,this.bookmark=null}_getNoahArkConditionCandidates(T){const v=[];if(this.length>=3){const f=this.treeAdapter.getAttrList(T).length,a=this.treeAdapter.getTagName(T),m=this.treeAdapter.getNamespaceURI(T);for(let g=this.length-1;g>=0;g--){const h=this.entries[g];if(h.type===l.MARKER_ENTRY)break;const d=h.element,E=this.treeAdapter.getAttrList(d);this.treeAdapter.getTagName(d)===a&&this.treeAdapter.getNamespaceURI(d)===m&&E.length===f&&v.push({idx:g,attrs:E})}}return v.length<3?[]:v}_ensureNoahArkCondition(T){const v=this._getNoahArkConditionCandidates(T);let f=v.length;if(f){const a=this.treeAdapter.getAttrList(T),m=a.length,g=Object.create(null);for(let h=0;h=3-1;h--)this.entries.splice(v[h].idx,1),this.length--}}insertMarker(){this.entries.push({type:l.MARKER_ENTRY}),this.length++}pushElement(T,v){this._ensureNoahArkCondition(T),this.entries.push({type:l.ELEMENT_ENTRY,element:T,token:v}),this.length++}insertElementAfterBookmark(T,v){let f=this.length-1;for(;f>=0&&this.entries[f]!==this.bookmark;f--);this.entries.splice(f+1,0,{type:l.ELEMENT_ENTRY,element:T,token:v}),this.length++}removeEntry(T){for(let v=this.length-1;v>=0;v--)if(this.entries[v]===T){this.entries.splice(v,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const T=this.entries.pop();if(this.length--,T.type===l.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(T){for(let v=this.length-1;v>=0;v--){const f=this.entries[v];if(f.type===l.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(f.element)===T)return f}return null}getElementEntry(T){for(let v=this.length-1;v>=0;v--){const f=this.entries[v];if(f.type===l.ELEMENT_ENTRY&&f.element===T)return f}return null}}l.MARKER_ENTRY="MARKER_ENTRY",l.ELEMENT_ENTRY="ELEMENT_ENTRY",N.exports=l},7045:function(N,S,l){"use strict";const o=l(55763),T=l(46519),v=l(12484),f=l(452),a=l(22232),m=l(12814),g=l(17296),h=l(8904),d=l(31515),E=l(88779),y=l(41734),w=l(54284),I=l(16152),s=I.TAG_NAMES,x=I.NAMESPACES,P=I.ATTRS,R={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:g},W="hidden",U=8,$=3,L="INITIAL_MODE",F="BEFORE_HTML_MODE",z="BEFORE_HEAD_MODE",G="IN_HEAD_MODE",Q="IN_HEAD_NO_SCRIPT_MODE",Y="AFTER_HEAD_MODE",H="IN_BODY_MODE",X="TEXT_MODE",Z="IN_TABLE_MODE",re="IN_TABLE_TEXT_MODE",he="IN_CAPTION_MODE",se="IN_COLUMN_GROUP_MODE",ye="IN_TABLE_BODY_MODE",Oe="IN_ROW_MODE",K="IN_CELL_MODE",D="IN_SELECT_MODE",ie="IN_SELECT_IN_TABLE_MODE",te="IN_TEMPLATE_MODE",ae="AFTER_BODY_MODE",ge="IN_FRAMESET_MODE",ee="AFTER_FRAMESET_MODE",Me="AFTER_AFTER_BODY_MODE",Ae="AFTER_AFTER_FRAMESET_MODE",ke={[s.TR]:Oe,[s.TBODY]:ye,[s.THEAD]:ye,[s.TFOOT]:ye,[s.CAPTION]:he,[s.COLGROUP]:se,[s.TABLE]:Z,[s.BODY]:H,[s.FRAMESET]:ge},Ne={[s.CAPTION]:Z,[s.COLGROUP]:Z,[s.TBODY]:Z,[s.TFOOT]:Z,[s.THEAD]:Z,[s.COL]:se,[s.TR]:ye,[s.TD]:Oe,[s.TH]:Oe},j={[L]:{[o.CHARACTER_TOKEN]:an,[o.NULL_CHARACTER_TOKEN]:an,[o.WHITESPACE_CHARACTER_TOKEN]:je,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:gn,[o.START_TAG_TOKEN]:an,[o.END_TAG_TOKEN]:an,[o.EOF_TOKEN]:an},[F]:{[o.CHARACTER_TOKEN]:mn,[o.NULL_CHARACTER_TOKEN]:mn,[o.WHITESPACE_CHARACTER_TOKEN]:je,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:ar,[o.END_TAG_TOKEN]:Wt,[o.EOF_TOKEN]:mn},[z]:{[o.CHARACTER_TOKEN]:Tt,[o.NULL_CHARACTER_TOKEN]:Tt,[o.WHITESPACE_CHARACTER_TOKEN]:je,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:Ot,[o.START_TAG_TOKEN]:Ye,[o.END_TAG_TOKEN]:In,[o.EOF_TOKEN]:Tt},[G]:{[o.CHARACTER_TOKEN]:Pt,[o.NULL_CHARACTER_TOKEN]:Pt,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:Ot,[o.START_TAG_TOKEN]:et,[o.END_TAG_TOKEN]:gt,[o.EOF_TOKEN]:Pt},[Q]:{[o.CHARACTER_TOKEN]:Et,[o.NULL_CHARACTER_TOKEN]:Et,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:Ot,[o.START_TAG_TOKEN]:Lt,[o.END_TAG_TOKEN]:on,[o.EOF_TOKEN]:Et},[Y]:{[o.CHARACTER_TOKEN]:Ft,[o.NULL_CHARACTER_TOKEN]:Ft,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:Ot,[o.START_TAG_TOKEN]:fn,[o.END_TAG_TOKEN]:wn,[o.EOF_TOKEN]:Ft},[H]:{[o.CHARACTER_TOKEN]:ce,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Mt,[o.END_TAG_TOKEN]:cr,[o.EOF_TOKEN]:Dn},[X]:{[o.CHARACTER_TOKEN]:xt,[o.NULL_CHARACTER_TOKEN]:xt,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:je,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:je,[o.END_TAG_TOKEN]:fi,[o.EOF_TOKEN]:Qr},[Z]:{[o.CHARACTER_TOKEN]:Wn,[o.NULL_CHARACTER_TOKEN]:Wn,[o.WHITESPACE_CHARACTER_TOKEN]:Wn,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Vr,[o.END_TAG_TOKEN]:vr,[o.EOF_TOKEN]:Dn},[re]:{[o.CHARACTER_TOKEN]:Xi,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:ji,[o.COMMENT_TOKEN]:Sr,[o.DOCTYPE_TOKEN]:Sr,[o.START_TAG_TOKEN]:Sr,[o.END_TAG_TOKEN]:Sr,[o.EOF_TOKEN]:Sr},[he]:{[o.CHARACTER_TOKEN]:ce,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Qi,[o.END_TAG_TOKEN]:Zr,[o.EOF_TOKEN]:Dn},[se]:{[o.CHARACTER_TOKEN]:xr,[o.NULL_CHARACTER_TOKEN]:xr,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:gi,[o.END_TAG_TOKEN]:Vi,[o.EOF_TOKEN]:Dn},[ye]:{[o.CHARACTER_TOKEN]:Wn,[o.NULL_CHARACTER_TOKEN]:Wn,[o.WHITESPACE_CHARACTER_TOKEN]:Wn,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:mi,[o.END_TAG_TOKEN]:Mr,[o.EOF_TOKEN]:Dn},[Oe]:{[o.CHARACTER_TOKEN]:Wn,[o.NULL_CHARACTER_TOKEN]:Wn,[o.WHITESPACE_CHARACTER_TOKEN]:Wn,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:_r,[o.END_TAG_TOKEN]:Jr,[o.EOF_TOKEN]:Dn},[K]:{[o.CHARACTER_TOKEN]:ce,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:vi,[o.END_TAG_TOKEN]:Ti,[o.EOF_TOKEN]:Dn},[D]:{[o.CHARACTER_TOKEN]:xt,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:kr,[o.END_TAG_TOKEN]:Ei,[o.EOF_TOKEN]:Dn},[ie]:{[o.CHARACTER_TOKEN]:xt,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Ai,[o.END_TAG_TOKEN]:Kn,[o.EOF_TOKEN]:Dn},[te]:{[o.CHARACTER_TOKEN]:ce,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Zi,[o.END_TAG_TOKEN]:Ji,[o.EOF_TOKEN]:Rr},[ae]:{[o.CHARACTER_TOKEN]:hr,[o.NULL_CHARACTER_TOKEN]:hr,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Zn,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Ci,[o.END_TAG_TOKEN]:$n,[o.EOF_TOKEN]:Cn},[ge]:{[o.CHARACTER_TOKEN]:je,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Yn,[o.END_TAG_TOKEN]:Nr,[o.EOF_TOKEN]:Cn},[ee]:{[o.CHARACTER_TOKEN]:je,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:xt,[o.COMMENT_TOKEN]:Ct,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:Dr,[o.END_TAG_TOKEN]:dr,[o.EOF_TOKEN]:Cn},[Me]:{[o.CHARACTER_TOKEN]:Pr,[o.NULL_CHARACTER_TOKEN]:Pr,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Jn,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:qi,[o.END_TAG_TOKEN]:Pr,[o.EOF_TOKEN]:Cn},[Ae]:{[o.CHARACTER_TOKEN]:je,[o.NULL_CHARACTER_TOKEN]:je,[o.WHITESPACE_CHARACTER_TOKEN]:Ht,[o.COMMENT_TOKEN]:Jn,[o.DOCTYPE_TOKEN]:je,[o.START_TAG_TOKEN]:$i,[o.END_TAG_TOKEN]:je,[o.EOF_TOKEN]:Cn}};class st{constructor(C){this.options=h(R,C),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&m.install(this,f),this.options.onParseError&&m.install(this,a,{onParseError:this.options.onParseError})}parse(C){const u=this.treeAdapter.createDocument();return this._bootstrap(u,null),this.tokenizer.write(C,!0),this._runParsingLoop(null),u}parseFragment(C,u){u||(u=this.treeAdapter.createElement(s.TEMPLATE,x.HTML,[]));const _=this.treeAdapter.createElement("documentmock",x.HTML,[]);this._bootstrap(_,u),this.treeAdapter.getTagName(u)===s.TEMPLATE&&this._pushTmplInsertionMode(te),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(C,!0),this._runParsingLoop(null);const B=this.treeAdapter.getFirstChild(_),J=this.treeAdapter.createDocumentFragment();return this._adoptNodes(B,J),J}_bootstrap(C,u){this.tokenizer=new o(this.options),this.stopped=!1,this.insertionMode=L,this.originalInsertionMode="",this.document=C,this.fragmentContext=u,this.headElement=null,this.formElement=null,this.openElements=new T(this.document,this.treeAdapter),this.activeFormattingElements=new v(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(C){for(;!this.stopped;){this._setupTokenizerCDATAMode();const u=this.tokenizer.getNextToken();if(u.type===o.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,u.type===o.WHITESPACE_CHARACTER_TOKEN&&u.chars[0]===` -`)){if(u.chars.length===1)continue;u.chars=u.chars.substr(1)}if(this._processInputToken(u),C&&this.pendingScript)break}}runParsingLoopForCurrentChunk(C,u){if(this._runParsingLoop(u),u&&this.pendingScript){const _=this.pendingScript;this.pendingScript=null,u(_);return}C&&C()}_setupTokenizerCDATAMode(){const C=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=C&&C!==this.document&&this.treeAdapter.getNamespaceURI(C)!==x.HTML&&!this._isIntegrationPoint(C)}_switchToTextParsing(C,u){this._insertElement(C,x.HTML),this.tokenizer.state=u,this.originalInsertionMode=this.insertionMode,this.insertionMode=X}switchToPlaintextParsing(){this.insertionMode=X,this.originalInsertionMode=H,this.tokenizer.state=o.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let C=this.fragmentContext;do{if(this.treeAdapter.getTagName(C)===s.FORM){this.formElement=C;break}C=this.treeAdapter.getParentNode(C)}while(C)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===x.HTML){const C=this.treeAdapter.getTagName(this.fragmentContext);C===s.TITLE||C===s.TEXTAREA?this.tokenizer.state=o.MODE.RCDATA:C===s.STYLE||C===s.XMP||C===s.IFRAME||C===s.NOEMBED||C===s.NOFRAMES||C===s.NOSCRIPT?this.tokenizer.state=o.MODE.RAWTEXT:C===s.SCRIPT?this.tokenizer.state=o.MODE.SCRIPT_DATA:C===s.PLAINTEXT&&(this.tokenizer.state=o.MODE.PLAINTEXT)}}_setDocumentType(C){const u=C.name||"",_=C.publicId||"",B=C.systemId||"";this.treeAdapter.setDocumentType(this.document,u,_,B)}_attachElementToTree(C){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(C);else{const u=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(u,C)}}_appendElement(C,u){const _=this.treeAdapter.createElement(C.tagName,u,C.attrs);this._attachElementToTree(_)}_insertElement(C,u){const _=this.treeAdapter.createElement(C.tagName,u,C.attrs);this._attachElementToTree(_),this.openElements.push(_)}_insertFakeElement(C){const u=this.treeAdapter.createElement(C,x.HTML,[]);this._attachElementToTree(u),this.openElements.push(u)}_insertTemplate(C){const u=this.treeAdapter.createElement(C.tagName,x.HTML,C.attrs),_=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(u,_),this._attachElementToTree(u),this.openElements.push(u)}_insertFakeRootElement(){const C=this.treeAdapter.createElement(s.HTML,x.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,C),this.openElements.push(C)}_appendCommentNode(C,u){const _=this.treeAdapter.createCommentNode(C.data);this.treeAdapter.appendChild(u,_)}_insertCharacters(C){if(this._shouldFosterParentOnInsertion())this._fosterParentText(C.chars);else{const u=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(u,C.chars)}}_adoptNodes(C,u){for(let _=this.treeAdapter.getFirstChild(C);_;_=this.treeAdapter.getFirstChild(C))this.treeAdapter.detachNode(_),this.treeAdapter.appendChild(u,_)}_shouldProcessTokenInForeignContent(C){const u=this._getAdjustedCurrentElement();if(!u||u===this.document)return!1;const _=this.treeAdapter.getNamespaceURI(u);if(_===x.HTML||this.treeAdapter.getTagName(u)===s.ANNOTATION_XML&&_===x.MATHML&&C.type===o.START_TAG_TOKEN&&C.tagName===s.SVG)return!1;const B=C.type===o.CHARACTER_TOKEN||C.type===o.NULL_CHARACTER_TOKEN||C.type===o.WHITESPACE_CHARACTER_TOKEN;return(C.type===o.START_TAG_TOKEN&&C.tagName!==s.MGLYPH&&C.tagName!==s.MALIGNMARK||B)&&this._isIntegrationPoint(u,x.MATHML)||(C.type===o.START_TAG_TOKEN||B)&&this._isIntegrationPoint(u,x.HTML)?!1:C.type!==o.EOF_TOKEN}_processToken(C){j[this.insertionMode][C.type](this,C)}_processTokenInBodyMode(C){j[H][C.type](this,C)}_processTokenInForeignContent(C){C.type===o.CHARACTER_TOKEN?Si(this,C):C.type===o.NULL_CHARACTER_TOKEN?yi(this,C):C.type===o.WHITESPACE_CHARACTER_TOKEN?xt(this,C):C.type===o.COMMENT_TOKEN?Ct(this,C):C.type===o.START_TAG_TOKEN?xi(this,C):C.type===o.END_TAG_TOKEN&&k1(this,C)}_processInputToken(C){this._shouldProcessTokenInForeignContent(C)?this._processTokenInForeignContent(C):this._processToken(C),C.type===o.START_TAG_TOKEN&&C.selfClosing&&!C.ackSelfClosing&&this._err(y.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(C,u){const _=this.treeAdapter.getTagName(C),B=this.treeAdapter.getNamespaceURI(C),J=this.treeAdapter.getAttrList(C);return E.isIntegrationPoint(_,B,J,u)}_reconstructActiveFormattingElements(){const C=this.activeFormattingElements.length;if(C){let u=C,_=null;do if(u--,_=this.activeFormattingElements.entries[u],_.type===v.MARKER_ENTRY||this.openElements.contains(_.element)){u++;break}while(u>0);for(let B=u;B=0;C--){let _=this.openElements.items[C];C===0&&(u=!0,this.fragmentContext&&(_=this.fragmentContext));const B=this.treeAdapter.getTagName(_),J=ke[B];if(J){this.insertionMode=J;break}else if(!u&&(B===s.TD||B===s.TH)){this.insertionMode=K;break}else if(!u&&B===s.HEAD){this.insertionMode=G;break}else if(B===s.SELECT){this._resetInsertionModeForSelect(C);break}else if(B===s.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(B===s.HTML){this.insertionMode=this.headElement?Y:z;break}else if(u){this.insertionMode=H;break}}}_resetInsertionModeForSelect(C){if(C>0)for(let u=C-1;u>0;u--){const _=this.openElements.items[u],B=this.treeAdapter.getTagName(_);if(B===s.TEMPLATE)break;if(B===s.TABLE){this.insertionMode=ie;return}}this.insertionMode=D}_pushTmplInsertionMode(C){this.tmplInsertionModeStack.push(C),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=C}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(C){const u=this.treeAdapter.getTagName(C);return u===s.TABLE||u===s.TBODY||u===s.TFOOT||u===s.THEAD||u===s.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const C={parent:null,beforeElement:null};for(let u=this.openElements.stackTop;u>=0;u--){const _=this.openElements.items[u],B=this.treeAdapter.getTagName(_),J=this.treeAdapter.getNamespaceURI(_);if(B===s.TEMPLATE&&J===x.HTML){C.parent=this.treeAdapter.getTemplateContent(_);break}else if(B===s.TABLE){C.parent=this.treeAdapter.getParentNode(_),C.parent?C.beforeElement=_:C.parent=this.openElements.items[u-1];break}}return C.parent||(C.parent=this.openElements.items[0]),C}_fosterParentElement(C){const u=this._findFosterParentingLocation();u.beforeElement?this.treeAdapter.insertBefore(u.parent,C,u.beforeElement):this.treeAdapter.appendChild(u.parent,C)}_fosterParentText(C){const u=this._findFosterParentingLocation();u.beforeElement?this.treeAdapter.insertTextBefore(u.parent,C,u.beforeElement):this.treeAdapter.insertText(u.parent,C)}_isSpecialElement(C){const u=this.treeAdapter.getTagName(C),_=this.treeAdapter.getNamespaceURI(C);return I.SPECIAL_ELEMENTS[_][u]}}N.exports=st;function Qe(p,C){let u=p.activeFormattingElements.getElementEntryInScopeWithTagName(C.tagName);return u?p.openElements.contains(u.element)?p.openElements.hasInScope(C.tagName)||(u=null):(p.activeFormattingElements.removeEntry(u),u=null):bn(p,C),u}function Be(p,C){let u=null;for(let _=p.openElements.stackTop;_>=0;_--){const B=p.openElements.items[_];if(B===C.element)break;p._isSpecialElement(B)&&(u=B)}return u||(p.openElements.popUntilElementPopped(C.element),p.activeFormattingElements.removeEntry(C)),u}function $e(p,C,u){let _=C,B=p.openElements.getCommonAncestor(C);for(let J=0,le=B;le!==u;J++,le=B){B=p.openElements.getCommonAncestor(le);const fe=p.activeFormattingElements.getElementEntry(le),pe=fe&&J>=$;!fe||pe?(pe&&p.activeFormattingElements.removeEntry(fe),p.openElements.remove(le)):(le=ht(p,fe),_===C&&(p.activeFormattingElements.bookmark=fe),p.treeAdapter.detachNode(_),p.treeAdapter.appendChild(le,_),_=le)}return _}function ht(p,C){const u=p.treeAdapter.getNamespaceURI(C.element),_=p.treeAdapter.createElement(C.token.tagName,u,C.token.attrs);return p.openElements.replace(C.element,_),C.element=_,_}function ne(p,C,u){if(p._isElementCausesFosterParenting(C))p._fosterParentElement(u);else{const _=p.treeAdapter.getTagName(C),B=p.treeAdapter.getNamespaceURI(C);_===s.TEMPLATE&&B===x.HTML&&(C=p.treeAdapter.getTemplateContent(C)),p.treeAdapter.appendChild(C,u)}}function pt(p,C,u){const _=p.treeAdapter.getNamespaceURI(u.element),B=u.token,J=p.treeAdapter.createElement(B.tagName,_,B.attrs);p._adoptNodes(C,J),p.treeAdapter.appendChild(C,J),p.activeFormattingElements.insertElementAfterBookmark(J,u.token),p.activeFormattingElements.removeEntry(u),p.openElements.remove(u.element),p.openElements.insertAfter(C,J)}function ut(p,C){let u;for(let _=0;_0?(p.openElements.generateImpliedEndTagsThoroughly(),p.openElements.currentTagName!==s.TEMPLATE&&p._err(y.closingOfElementWithOpenChildElements),p.openElements.popUntilTagNamePopped(s.TEMPLATE),p.activeFormattingElements.clearToLastMarker(),p._popTmplInsertionMode(),p._resetInsertionMode()):p._err(y.endTagWithoutMatchingOpenElement)}function Pt(p,C){p.openElements.pop(),p.insertionMode=Y,p._processToken(C)}function Lt(p,C){const u=C.tagName;u===s.HTML?Mt(p,C):u===s.BASEFONT||u===s.BGSOUND||u===s.HEAD||u===s.LINK||u===s.META||u===s.NOFRAMES||u===s.STYLE?et(p,C):u===s.NOSCRIPT?p._err(y.nestedNoscriptInHead):Et(p,C)}function on(p,C){const u=C.tagName;u===s.NOSCRIPT?(p.openElements.pop(),p.insertionMode=G):u===s.BR?Et(p,C):p._err(y.endTagWithoutMatchingOpenElement)}function Et(p,C){const u=C.type===o.EOF_TOKEN?y.openElementsLeftAfterEof:y.disallowedContentInNoscriptInHead;p._err(u),p.openElements.pop(),p.insertionMode=G,p._processToken(C)}function fn(p,C){const u=C.tagName;u===s.HTML?Mt(p,C):u===s.BODY?(p._insertElement(C,x.HTML),p.framesetOk=!1,p.insertionMode=H):u===s.FRAMESET?(p._insertElement(C,x.HTML),p.insertionMode=ge):u===s.BASE||u===s.BASEFONT||u===s.BGSOUND||u===s.LINK||u===s.META||u===s.NOFRAMES||u===s.SCRIPT||u===s.STYLE||u===s.TEMPLATE||u===s.TITLE?(p._err(y.abandonedHeadElementChild),p.openElements.push(p.headElement),et(p,C),p.openElements.remove(p.headElement)):u===s.HEAD?p._err(y.misplacedStartTagForHeadElement):Ft(p,C)}function wn(p,C){const u=C.tagName;u===s.BODY||u===s.HTML||u===s.BR?Ft(p,C):u===s.TEMPLATE?gt(p,C):p._err(y.endTagWithoutMatchingOpenElement)}function Ft(p,C){p._insertFakeElement(s.BODY),p.insertionMode=H,p._processToken(C)}function Ht(p,C){p._reconstructActiveFormattingElements(),p._insertCharacters(C)}function ce(p,C){p._reconstructActiveFormattingElements(),p._insertCharacters(C),p.framesetOk=!1}function Je(p,C){p.openElements.tmplCount===0&&p.treeAdapter.adoptAttributes(p.openElements.items[0],C.attrs)}function ft(p,C){const u=p.openElements.tryPeekProperlyNestedBodyElement();u&&p.openElements.tmplCount===0&&(p.framesetOk=!1,p.treeAdapter.adoptAttributes(u,C.attrs))}function dt(p,C){const u=p.openElements.tryPeekProperlyNestedBodyElement();p.framesetOk&&u&&(p.treeAdapter.detachNode(u),p.openElements.popAllUpToHtmlElement(),p._insertElement(C,x.HTML),p.insertionMode=ge)}function yt(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML)}function St(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement();const u=p.openElements.currentTagName;(u===s.H1||u===s.H2||u===s.H3||u===s.H4||u===s.H5||u===s.H6)&&p.openElements.pop(),p._insertElement(C,x.HTML)}function Bt(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML),p.skipNextNewLine=!0,p.framesetOk=!1}function yn(p,C){const u=p.openElements.tmplCount>0;(!p.formElement||u)&&(p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML),u||(p.formElement=p.openElements.current))}function Jt(p,C){p.framesetOk=!1;const u=C.tagName;for(let _=p.openElements.stackTop;_>=0;_--){const B=p.openElements.items[_],J=p.treeAdapter.getTagName(B);let le=null;if(u===s.LI&&J===s.LI?le=s.LI:(u===s.DD||u===s.DT)&&(J===s.DD||J===s.DT)&&(le=J),le){p.openElements.generateImpliedEndTagsWithExclusion(le),p.openElements.popUntilTagNamePopped(le);break}if(J!==s.ADDRESS&&J!==s.DIV&&J!==s.P&&p._isSpecialElement(B))break}p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML)}function qt(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML),p.tokenizer.state=o.MODE.PLAINTEXT}function mt(p,C){p.openElements.hasInScope(s.BUTTON)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(s.BUTTON)),p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML),p.framesetOk=!1}function Qt(p,C){const u=p.activeFormattingElements.getElementEntryInScopeWithTagName(s.A);u&&(ut(p,C),p.openElements.remove(u.element),p.activeFormattingElements.removeEntry(u)),p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML),p.activeFormattingElements.pushElement(p.openElements.current,C)}function tt(p,C){p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML),p.activeFormattingElements.pushElement(p.openElements.current,C)}function fr(p,C){p._reconstructActiveFormattingElements(),p.openElements.hasInScope(s.NOBR)&&(ut(p,C),p._reconstructActiveFormattingElements()),p._insertElement(C,x.HTML),p.activeFormattingElements.pushElement(p.openElements.current,C)}function vn(p,C){p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML),p.activeFormattingElements.insertMarker(),p.framesetOk=!1}function Nn(p,C){p.treeAdapter.getDocumentMode(p.document)!==I.DOCUMENT_MODE.QUIRKS&&p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML),p.framesetOk=!1,p.insertionMode=Z}function Vt(p,C){p._reconstructActiveFormattingElements(),p._appendElement(C,x.HTML),p.framesetOk=!1,C.ackSelfClosing=!0}function zn(p,C){p._reconstructActiveFormattingElements(),p._appendElement(C,x.HTML);const u=o.getTokenAttr(C,P.TYPE);(!u||u.toLowerCase()!==W)&&(p.framesetOk=!1),C.ackSelfClosing=!0}function yr(p,C){p._appendElement(C,x.HTML),C.ackSelfClosing=!0}function Gn(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._appendElement(C,x.HTML),p.framesetOk=!1,C.ackSelfClosing=!0}function mr(p,C){C.tagName=s.IMG,Vt(p,C)}function or(p,C){p._insertElement(C,x.HTML),p.skipNextNewLine=!0,p.tokenizer.state=o.MODE.RCDATA,p.originalInsertionMode=p.insertionMode,p.framesetOk=!1,p.insertionMode=X}function it(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._reconstructActiveFormattingElements(),p.framesetOk=!1,p._switchToTextParsing(C,o.MODE.RAWTEXT)}function Re(p,C){p.framesetOk=!1,p._switchToTextParsing(C,o.MODE.RAWTEXT)}function Mn(p,C){p._switchToTextParsing(C,o.MODE.RAWTEXT)}function vt(p,C){p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML),p.framesetOk=!1,p.insertionMode===Z||p.insertionMode===he||p.insertionMode===ye||p.insertionMode===Oe||p.insertionMode===K?p.insertionMode=ie:p.insertionMode=D}function Ge(p,C){p.openElements.currentTagName===s.OPTION&&p.openElements.pop(),p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML)}function b(p,C){p.openElements.hasInScope(s.RUBY)&&p.openElements.generateImpliedEndTags(),p._insertElement(C,x.HTML)}function at(p,C){p.openElements.hasInScope(s.RUBY)&&p.openElements.generateImpliedEndTagsWithExclusion(s.RTC),p._insertElement(C,x.HTML)}function Kt(p,C){p.openElements.hasInButtonScope(s.P)&&p._closePElement(),p._insertElement(C,x.HTML)}function Rt(p,C){p._reconstructActiveFormattingElements(),E.adjustTokenMathMLAttrs(C),E.adjustTokenXMLAttrs(C),C.selfClosing?p._appendElement(C,x.MATHML):p._insertElement(C,x.MATHML),C.ackSelfClosing=!0}function Ee(p,C){p._reconstructActiveFormattingElements(),E.adjustTokenSVGAttrs(C),E.adjustTokenXMLAttrs(C),C.selfClosing?p._appendElement(C,x.SVG):p._insertElement(C,x.SVG),C.ackSelfClosing=!0}function Fe(p,C){p._reconstructActiveFormattingElements(),p._insertElement(C,x.HTML)}function Mt(p,C){const u=C.tagName;switch(u.length){case 1:u===s.I||u===s.S||u===s.B||u===s.U?tt(p,C):u===s.P?yt(p,C):u===s.A?Qt(p,C):Fe(p,C);break;case 2:u===s.DL||u===s.OL||u===s.UL?yt(p,C):u===s.H1||u===s.H2||u===s.H3||u===s.H4||u===s.H5||u===s.H6?St(p,C):u===s.LI||u===s.DD||u===s.DT?Jt(p,C):u===s.EM||u===s.TT?tt(p,C):u===s.BR?Vt(p,C):u===s.HR?Gn(p,C):u===s.RB?b(p,C):u===s.RT||u===s.RP?at(p,C):u!==s.TH&&u!==s.TD&&u!==s.TR&&Fe(p,C);break;case 3:u===s.DIV||u===s.DIR||u===s.NAV?yt(p,C):u===s.PRE?Bt(p,C):u===s.BIG?tt(p,C):u===s.IMG||u===s.WBR?Vt(p,C):u===s.XMP?it(p,C):u===s.SVG?Ee(p,C):u===s.RTC?b(p,C):u!==s.COL&&Fe(p,C);break;case 4:u===s.HTML?Je(p,C):u===s.BASE||u===s.LINK||u===s.META?et(p,C):u===s.BODY?ft(p,C):u===s.MAIN||u===s.MENU?yt(p,C):u===s.FORM?yn(p,C):u===s.CODE||u===s.FONT?tt(p,C):u===s.NOBR?fr(p,C):u===s.AREA?Vt(p,C):u===s.MATH?Rt(p,C):u===s.MENU?Kt(p,C):u!==s.HEAD&&Fe(p,C);break;case 5:u===s.STYLE||u===s.TITLE?et(p,C):u===s.ASIDE?yt(p,C):u===s.SMALL?tt(p,C):u===s.TABLE?Nn(p,C):u===s.EMBED?Vt(p,C):u===s.INPUT?zn(p,C):u===s.PARAM||u===s.TRACK?yr(p,C):u===s.IMAGE?mr(p,C):u!==s.FRAME&&u!==s.TBODY&&u!==s.TFOOT&&u!==s.THEAD&&Fe(p,C);break;case 6:u===s.SCRIPT?et(p,C):u===s.CENTER||u===s.FIGURE||u===s.FOOTER||u===s.HEADER||u===s.HGROUP||u===s.DIALOG?yt(p,C):u===s.BUTTON?mt(p,C):u===s.STRIKE||u===s.STRONG?tt(p,C):u===s.APPLET||u===s.OBJECT?vn(p,C):u===s.KEYGEN?Vt(p,C):u===s.SOURCE?yr(p,C):u===s.IFRAME?Re(p,C):u===s.SELECT?vt(p,C):u===s.OPTION?Ge(p,C):Fe(p,C);break;case 7:u===s.BGSOUND?et(p,C):u===s.DETAILS||u===s.ADDRESS||u===s.ARTICLE||u===s.SECTION||u===s.SUMMARY?yt(p,C):u===s.LISTING?Bt(p,C):u===s.MARQUEE?vn(p,C):u===s.NOEMBED?Mn(p,C):u!==s.CAPTION&&Fe(p,C);break;case 8:u===s.BASEFONT?et(p,C):u===s.FRAMESET?dt(p,C):u===s.FIELDSET?yt(p,C):u===s.TEXTAREA?or(p,C):u===s.TEMPLATE?et(p,C):u===s.NOSCRIPT?p.options.scriptingEnabled?Mn(p,C):Fe(p,C):u===s.OPTGROUP?Ge(p,C):u!==s.COLGROUP&&Fe(p,C);break;case 9:u===s.PLAINTEXT?qt(p,C):Fe(p,C);break;case 10:u===s.BLOCKQUOTE||u===s.FIGCAPTION?yt(p,C):Fe(p,C);break;default:Fe(p,C)}}function Sn(p){p.openElements.hasInScope(s.BODY)&&(p.insertionMode=ae)}function lr(p,C){p.openElements.hasInScope(s.BODY)&&(p.insertionMode=ae,p._processToken(C))}function _n(p,C){const u=C.tagName;p.openElements.hasInScope(u)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(u))}function li(p){const C=p.openElements.tmplCount>0,u=p.formElement;C||(p.formElement=null),(u||C)&&p.openElements.hasInScope(s.FORM)&&(p.openElements.generateImpliedEndTags(),C?p.openElements.popUntilTagNamePopped(s.FORM):p.openElements.remove(u))}function qe(p){p.openElements.hasInButtonScope(s.P)||p._insertFakeElement(s.P),p._closePElement()}function Gi(p){p.openElements.hasInListItemScope(s.LI)&&(p.openElements.generateImpliedEndTagsWithExclusion(s.LI),p.openElements.popUntilTagNamePopped(s.LI))}function si(p,C){const u=C.tagName;p.openElements.hasInScope(u)&&(p.openElements.generateImpliedEndTagsWithExclusion(u),p.openElements.popUntilTagNamePopped(u))}function wr(p){p.openElements.hasNumberedHeaderInScope()&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilNumberedHeaderPopped())}function Rn(p,C){const u=C.tagName;p.openElements.hasInScope(u)&&(p.openElements.generateImpliedEndTags(),p.openElements.popUntilTagNamePopped(u),p.activeFormattingElements.clearToLastMarker())}function ui(p){p._reconstructActiveFormattingElements(),p._insertFakeElement(s.BR),p.openElements.pop(),p.framesetOk=!1}function bn(p,C){const u=C.tagName;for(let _=p.openElements.stackTop;_>0;_--){const B=p.openElements.items[_];if(p.treeAdapter.getTagName(B)===u){p.openElements.generateImpliedEndTagsWithExclusion(u),p.openElements.popUntilElementPopped(B);break}if(p._isSpecialElement(B))break}}function cr(p,C){const u=C.tagName;switch(u.length){case 1:u===s.A||u===s.B||u===s.I||u===s.S||u===s.U?ut(p,C):u===s.P?qe(p,C):bn(p,C);break;case 2:u===s.DL||u===s.UL||u===s.OL?_n(p,C):u===s.LI?Gi(p,C):u===s.DD||u===s.DT?si(p,C):u===s.H1||u===s.H2||u===s.H3||u===s.H4||u===s.H5||u===s.H6?wr(p,C):u===s.BR?ui(p,C):u===s.EM||u===s.TT?ut(p,C):bn(p,C);break;case 3:u===s.BIG?ut(p,C):u===s.DIR||u===s.DIV||u===s.NAV||u===s.PRE?_n(p,C):bn(p,C);break;case 4:u===s.BODY?Sn(p,C):u===s.HTML?lr(p,C):u===s.FORM?li(p,C):u===s.CODE||u===s.FONT||u===s.NOBR?ut(p,C):u===s.MAIN||u===s.MENU?_n(p,C):bn(p,C);break;case 5:u===s.ASIDE?_n(p,C):u===s.SMALL?ut(p,C):bn(p,C);break;case 6:u===s.CENTER||u===s.FIGURE||u===s.FOOTER||u===s.HEADER||u===s.HGROUP||u===s.DIALOG?_n(p,C):u===s.APPLET||u===s.OBJECT?Rn(p,C):u===s.STRIKE||u===s.STRONG?ut(p,C):bn(p,C);break;case 7:u===s.ADDRESS||u===s.ARTICLE||u===s.DETAILS||u===s.SECTION||u===s.SUMMARY||u===s.LISTING?_n(p,C):u===s.MARQUEE?Rn(p,C):bn(p,C);break;case 8:u===s.FIELDSET?_n(p,C):u===s.TEMPLATE?gt(p,C):bn(p,C);break;case 10:u===s.BLOCKQUOTE||u===s.FIGCAPTION?_n(p,C):bn(p,C);break;default:bn(p,C)}}function Dn(p,C){p.tmplInsertionModeStackTop>-1?Rr(p,C):p.stopped=!0}function fi(p,C){C.tagName===s.SCRIPT&&(p.pendingScript=p.openElements.current),p.openElements.pop(),p.insertionMode=p.originalInsertionMode}function Qr(p,C){p._err(y.eofInElementThatCanContainOnlyText),p.openElements.pop(),p.insertionMode=p.originalInsertionMode,p._processToken(C)}function Wn(p,C){const u=p.openElements.currentTagName;u===s.TABLE||u===s.TBODY||u===s.TFOOT||u===s.THEAD||u===s.TR?(p.pendingCharacterTokens=[],p.hasNonWhitespacePendingCharacterToken=!1,p.originalInsertionMode=p.insertionMode,p.insertionMode=re,p._processToken(C)):ln(p,C)}function ci(p,C){p.openElements.clearBackToTableContext(),p.activeFormattingElements.insertMarker(),p._insertElement(C,x.HTML),p.insertionMode=he}function hi(p,C){p.openElements.clearBackToTableContext(),p._insertElement(C,x.HTML),p.insertionMode=se}function di(p,C){p.openElements.clearBackToTableContext(),p._insertFakeElement(s.COLGROUP),p.insertionMode=se,p._processToken(C)}function Wi(p,C){p.openElements.clearBackToTableContext(),p._insertElement(C,x.HTML),p.insertionMode=ye}function Ki(p,C){p.openElements.clearBackToTableContext(),p._insertFakeElement(s.TBODY),p.insertionMode=ye,p._processToken(C)}function pi(p,C){p.openElements.hasInTableScope(s.TABLE)&&(p.openElements.popUntilTagNamePopped(s.TABLE),p._resetInsertionMode(),p._processToken(C))}function qn(p,C){const u=o.getTokenAttr(C,P.TYPE);u&&u.toLowerCase()===W?p._appendElement(C,x.HTML):ln(p,C),C.ackSelfClosing=!0}function Yi(p,C){!p.formElement&&p.openElements.tmplCount===0&&(p._insertElement(C,x.HTML),p.formElement=p.openElements.current,p.openElements.pop())}function Vr(p,C){const u=C.tagName;switch(u.length){case 2:u===s.TD||u===s.TH||u===s.TR?Ki(p,C):ln(p,C);break;case 3:u===s.COL?di(p,C):ln(p,C);break;case 4:u===s.FORM?Yi(p,C):ln(p,C);break;case 5:u===s.TABLE?pi(p,C):u===s.STYLE?et(p,C):u===s.TBODY||u===s.TFOOT||u===s.THEAD?Wi(p,C):u===s.INPUT?qn(p,C):ln(p,C);break;case 6:u===s.SCRIPT?et(p,C):ln(p,C);break;case 7:u===s.CAPTION?ci(p,C):ln(p,C);break;case 8:u===s.COLGROUP?hi(p,C):u===s.TEMPLATE?et(p,C):ln(p,C);break;default:ln(p,C)}}function vr(p,C){const u=C.tagName;u===s.TABLE?p.openElements.hasInTableScope(s.TABLE)&&(p.openElements.popUntilTagNamePopped(s.TABLE),p._resetInsertionMode()):u===s.TEMPLATE?gt(p,C):u!==s.BODY&&u!==s.CAPTION&&u!==s.COL&&u!==s.COLGROUP&&u!==s.HTML&&u!==s.TBODY&&u!==s.TD&&u!==s.TFOOT&&u!==s.TH&&u!==s.THEAD&&u!==s.TR&&ln(p,C)}function ln(p,C){const u=p.fosterParentingEnabled;p.fosterParentingEnabled=!0,p._processTokenInBodyMode(C),p.fosterParentingEnabled=u}function ji(p,C){p.pendingCharacterTokens.push(C)}function Xi(p,C){p.pendingCharacterTokens.push(C),p.hasNonWhitespacePendingCharacterToken=!0}function Sr(p,C){let u=0;if(p.hasNonWhitespacePendingCharacterToken)for(;u0?(p.openElements.popUntilTagNamePopped(s.TEMPLATE),p.activeFormattingElements.clearToLastMarker(),p._popTmplInsertionMode(),p._resetInsertionMode(),p._processToken(C)):p.stopped=!0}function Ci(p,C){C.tagName===s.HTML?Mt(p,C):hr(p,C)}function $n(p,C){C.tagName===s.HTML?p.fragmentContext||(p.insertionMode=Me):hr(p,C)}function hr(p,C){p.insertionMode=H,p._processToken(C)}function Yn(p,C){const u=C.tagName;u===s.HTML?Mt(p,C):u===s.FRAMESET?p._insertElement(C,x.HTML):u===s.FRAME?(p._appendElement(C,x.HTML),C.ackSelfClosing=!0):u===s.NOFRAMES&&et(p,C)}function Nr(p,C){C.tagName===s.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),!p.fragmentContext&&p.openElements.currentTagName!==s.FRAMESET&&(p.insertionMode=ee))}function Dr(p,C){const u=C.tagName;u===s.HTML?Mt(p,C):u===s.NOFRAMES&&et(p,C)}function dr(p,C){C.tagName===s.HTML&&(p.insertionMode=Ae)}function qi(p,C){C.tagName===s.HTML?Mt(p,C):Pr(p,C)}function Pr(p,C){p.insertionMode=H,p._processToken(C)}function $i(p,C){const u=C.tagName;u===s.HTML?Mt(p,C):u===s.NOFRAMES&&et(p,C)}function yi(p,C){C.chars=w.REPLACEMENT_CHARACTER,p._insertCharacters(C)}function Si(p,C){p._insertCharacters(C),p.framesetOk=!1}function xi(p,C){if(E.causesExit(C)&&!p.fragmentContext){for(;p.treeAdapter.getNamespaceURI(p.openElements.current)!==x.HTML&&!p._isIntegrationPoint(p.openElements.current);)p.openElements.pop();p._processToken(C)}else{const u=p._getAdjustedCurrentElement(),_=p.treeAdapter.getNamespaceURI(u);_===x.MATHML?E.adjustTokenMathMLAttrs(C):_===x.SVG&&(E.adjustTokenSVGTagName(C),E.adjustTokenSVGAttrs(C)),E.adjustTokenXMLAttrs(C),C.selfClosing?p._appendElement(C,_):p._insertElement(C,_),C.ackSelfClosing=!0}}function k1(p,C){for(let u=p.openElements.stackTop;u>0;u--){const _=p.openElements.items[u];if(p.treeAdapter.getNamespaceURI(_)===x.HTML){p._processToken(C);break}if(p.treeAdapter.getTagName(_).toLowerCase()===C.tagName){p.openElements.popUntilElementPopped(_);break}}}},46519:function(N,S,l){"use strict";const o=l(16152),T=o.TAG_NAMES,v=o.NAMESPACES;function f(h){switch(h.length){case 1:return h===T.P;case 2:return h===T.RB||h===T.RP||h===T.RT||h===T.DD||h===T.DT||h===T.LI;case 3:return h===T.RTC;case 6:return h===T.OPTION;case 8:return h===T.OPTGROUP}return!1}function a(h){switch(h.length){case 1:return h===T.P;case 2:return h===T.RB||h===T.RP||h===T.RT||h===T.DD||h===T.DT||h===T.LI||h===T.TD||h===T.TH||h===T.TR;case 3:return h===T.RTC;case 5:return h===T.TBODY||h===T.TFOOT||h===T.THEAD;case 6:return h===T.OPTION;case 7:return h===T.CAPTION;case 8:return h===T.OPTGROUP||h===T.COLGROUP}return!1}function m(h,d){switch(h.length){case 2:if(h===T.TD||h===T.TH)return d===v.HTML;if(h===T.MI||h===T.MO||h===T.MN||h===T.MS)return d===v.MATHML;break;case 4:if(h===T.HTML)return d===v.HTML;if(h===T.DESC)return d===v.SVG;break;case 5:if(h===T.TABLE)return d===v.HTML;if(h===T.MTEXT)return d===v.MATHML;if(h===T.TITLE)return d===v.SVG;break;case 6:return(h===T.APPLET||h===T.OBJECT)&&d===v.HTML;case 7:return(h===T.CAPTION||h===T.MARQUEE)&&d===v.HTML;case 8:return h===T.TEMPLATE&&d===v.HTML;case 13:return h===T.FOREIGN_OBJECT&&d===v.SVG;case 14:return h===T.ANNOTATION_XML&&d===v.MATHML}return!1}class g{constructor(d,E){this.stackTop=-1,this.items=[],this.current=d,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=E}_indexOf(d){let E=-1;for(let y=this.stackTop;y>=0;y--)if(this.items[y]===d){E=y;break}return E}_isInTemplate(){return this.currentTagName===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===v.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(d){this.items[++this.stackTop]=d,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(d,E){const y=this._indexOf(d);this.items[y]=E,y===this.stackTop&&this._updateCurrentElement()}insertAfter(d,E){const y=this._indexOf(d)+1;this.items.splice(y,0,E),y===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(d){for(;this.stackTop>-1;){const E=this.currentTagName,y=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),E===d&&y===v.HTML)break}}popUntilElementPopped(d){for(;this.stackTop>-1;){const E=this.current;if(this.pop(),E===d)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const d=this.currentTagName,E=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),d===T.H1||d===T.H2||d===T.H3||d===T.H4||d===T.H5||d===T.H6&&E===v.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const d=this.currentTagName,E=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),d===T.TD||d===T.TH&&E===v.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==T.TABLE&&this.currentTagName!==T.TEMPLATE&&this.currentTagName!==T.HTML||this.treeAdapter.getNamespaceURI(this.current)!==v.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==T.TBODY&&this.currentTagName!==T.TFOOT&&this.currentTagName!==T.THEAD&&this.currentTagName!==T.TEMPLATE&&this.currentTagName!==T.HTML||this.treeAdapter.getNamespaceURI(this.current)!==v.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==T.TR&&this.currentTagName!==T.TEMPLATE&&this.currentTagName!==T.HTML||this.treeAdapter.getNamespaceURI(this.current)!==v.HTML;)this.pop()}remove(d){for(let E=this.stackTop;E>=0;E--)if(this.items[E]===d){this.items.splice(E,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const d=this.items[1];return d&&this.treeAdapter.getTagName(d)===T.BODY?d:null}contains(d){return this._indexOf(d)>-1}getCommonAncestor(d){let E=this._indexOf(d);return--E>=0?this.items[E]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===T.HTML}hasInScope(d){for(let E=this.stackTop;E>=0;E--){const y=this.treeAdapter.getTagName(this.items[E]),w=this.treeAdapter.getNamespaceURI(this.items[E]);if(y===d&&w===v.HTML)return!0;if(m(y,w))return!1}return!0}hasNumberedHeaderInScope(){for(let d=this.stackTop;d>=0;d--){const E=this.treeAdapter.getTagName(this.items[d]),y=this.treeAdapter.getNamespaceURI(this.items[d]);if((E===T.H1||E===T.H2||E===T.H3||E===T.H4||E===T.H5||E===T.H6)&&y===v.HTML)return!0;if(m(E,y))return!1}return!0}hasInListItemScope(d){for(let E=this.stackTop;E>=0;E--){const y=this.treeAdapter.getTagName(this.items[E]),w=this.treeAdapter.getNamespaceURI(this.items[E]);if(y===d&&w===v.HTML)return!0;if((y===T.UL||y===T.OL)&&w===v.HTML||m(y,w))return!1}return!0}hasInButtonScope(d){for(let E=this.stackTop;E>=0;E--){const y=this.treeAdapter.getTagName(this.items[E]),w=this.treeAdapter.getNamespaceURI(this.items[E]);if(y===d&&w===v.HTML)return!0;if(y===T.BUTTON&&w===v.HTML||m(y,w))return!1}return!0}hasInTableScope(d){for(let E=this.stackTop;E>=0;E--){const y=this.treeAdapter.getTagName(this.items[E]);if(this.treeAdapter.getNamespaceURI(this.items[E])===v.HTML){if(y===d)return!0;if(y===T.TABLE||y===T.TEMPLATE||y===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let d=this.stackTop;d>=0;d--){const E=this.treeAdapter.getTagName(this.items[d]);if(this.treeAdapter.getNamespaceURI(this.items[d])===v.HTML){if(E===T.TBODY||E===T.THEAD||E===T.TFOOT)return!0;if(E===T.TABLE||E===T.HTML)return!1}}return!0}hasInSelectScope(d){for(let E=this.stackTop;E>=0;E--){const y=this.treeAdapter.getTagName(this.items[E]);if(this.treeAdapter.getNamespaceURI(this.items[E])===v.HTML){if(y===d)return!0;if(y!==T.OPTION&&y!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;f(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;a(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(d){for(;f(this.currentTagName)&&this.currentTagName!==d;)this.pop()}}N.exports=g},55763:function(N,S,l){"use strict";const o=l(77118),T=l(54284),v=l(5482),f=l(41734),a=T.CODE_POINTS,m=T.CODE_POINT_SEQUENCES,g={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},h=1<<0,d=1<<1,E=1<<2,y=h|d|E,w="DATA_STATE",I="RCDATA_STATE",s="RAWTEXT_STATE",x="SCRIPT_DATA_STATE",P="PLAINTEXT_STATE",R="TAG_OPEN_STATE",W="END_TAG_OPEN_STATE",U="TAG_NAME_STATE",$="RCDATA_LESS_THAN_SIGN_STATE",L="RCDATA_END_TAG_OPEN_STATE",F="RCDATA_END_TAG_NAME_STATE",z="RAWTEXT_LESS_THAN_SIGN_STATE",G="RAWTEXT_END_TAG_OPEN_STATE",Q="RAWTEXT_END_TAG_NAME_STATE",Y="SCRIPT_DATA_LESS_THAN_SIGN_STATE",H="SCRIPT_DATA_END_TAG_OPEN_STATE",X="SCRIPT_DATA_END_TAG_NAME_STATE",Z="SCRIPT_DATA_ESCAPE_START_STATE",re="SCRIPT_DATA_ESCAPE_START_DASH_STATE",he="SCRIPT_DATA_ESCAPED_STATE",se="SCRIPT_DATA_ESCAPED_DASH_STATE",ye="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",Oe="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",K="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",D="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",ie="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",te="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",ae="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",ge="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",ee="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",Me="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",Ae="BEFORE_ATTRIBUTE_NAME_STATE",ke="ATTRIBUTE_NAME_STATE",Ne="AFTER_ATTRIBUTE_NAME_STATE",j="BEFORE_ATTRIBUTE_VALUE_STATE",st="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",Qe="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",Be="ATTRIBUTE_VALUE_UNQUOTED_STATE",$e="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",ht="SELF_CLOSING_START_TAG_STATE",ne="BOGUS_COMMENT_STATE",pt="MARKUP_DECLARATION_OPEN_STATE",ut="COMMENT_START_STATE",je="COMMENT_START_DASH_STATE",Ot="COMMENT_STATE",Ct="COMMENT_LESS_THAN_SIGN_STATE",Zn="COMMENT_LESS_THAN_SIGN_BANG_STATE",Jn="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",xt="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",Cn="COMMENT_END_DASH_STATE",gn="COMMENT_END_STATE",an="COMMENT_END_BANG_STATE",ar="DOCTYPE_STATE",Wt="BEFORE_DOCTYPE_NAME_STATE",mn="DOCTYPE_NAME_STATE",Ye="AFTER_DOCTYPE_NAME_STATE",In="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",Tt="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",et="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",gt="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",Pt="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",Lt="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",on="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Et="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",fn="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",wn="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Ft="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ht="BOGUS_DOCTYPE_STATE",ce="CDATA_SECTION_STATE",Je="CDATA_SECTION_BRACKET_STATE",ft="CDATA_SECTION_END_STATE",dt="CHARACTER_REFERENCE_STATE",yt="NAMED_CHARACTER_REFERENCE_STATE",St="AMBIGUOS_AMPERSAND_STATE",Bt="NUMERIC_CHARACTER_REFERENCE_STATE",yn="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Jt="DECIMAL_CHARACTER_REFERENCE_START_STATE",qt="HEXADEMICAL_CHARACTER_REFERENCE_STATE",mt="DECIMAL_CHARACTER_REFERENCE_STATE",Qt="NUMERIC_CHARACTER_REFERENCE_END_STATE";function tt(Ge){return Ge===a.SPACE||Ge===a.LINE_FEED||Ge===a.TABULATION||Ge===a.FORM_FEED}function fr(Ge){return Ge>=a.DIGIT_0&&Ge<=a.DIGIT_9}function vn(Ge){return Ge>=a.LATIN_CAPITAL_A&&Ge<=a.LATIN_CAPITAL_Z}function Nn(Ge){return Ge>=a.LATIN_SMALL_A&&Ge<=a.LATIN_SMALL_Z}function Vt(Ge){return Nn(Ge)||vn(Ge)}function zn(Ge){return Vt(Ge)||fr(Ge)}function yr(Ge){return Ge>=a.LATIN_CAPITAL_A&&Ge<=a.LATIN_CAPITAL_F}function Gn(Ge){return Ge>=a.LATIN_SMALL_A&&Ge<=a.LATIN_SMALL_F}function mr(Ge){return fr(Ge)||yr(Ge)||Gn(Ge)}function or(Ge){return Ge+32}function it(Ge){return Ge<=65535?String.fromCharCode(Ge):(Ge-=65536,String.fromCharCode(Ge>>>10&1023|55296)+String.fromCharCode(56320|Ge&1023))}function Re(Ge){return String.fromCharCode(or(Ge))}function Mn(Ge,b){const at=v[++Ge];let Kt=++Ge,Rt=Kt+at-1;for(;Kt<=Rt;){const Ee=Kt+Rt>>>1,Fe=v[Ee];if(Feb)Rt=Ee-1;else return v[Ee+at]}return-1}class vt{constructor(){this.preprocessor=new o,this.tokenQueue=[],this.allowCDATA=!1,this.state=w,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(b){this._consume(),this._err(b),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const b=this._consume();this._ensureHibernation()||this[this.state](b)}return this.tokenQueue.shift()}write(b,at){this.active=!0,this.preprocessor.write(b,at)}insertHtmlAtCurrentPos(b){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(b)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:vt.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(b){this.state=b,this._unconsume()}_consumeSequenceIfMatch(b,at,Kt){let Rt=0,Ee=!0;const Fe=b.length;let Mt=0,Sn=at,lr;for(;Mt0&&(Sn=this._consume(),Rt++),Sn===a.EOF){Ee=!1;break}if(lr=b[Mt],Sn!==lr&&(Kt||Sn!==or(lr))){Ee=!1;break}}if(!Ee)for(;Rt--;)this._unconsume();return Ee}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==m.SCRIPT_STRING.length)return!1;for(let b=0;b0&&this._err(f.endTagWithAttributes),b.selfClosing&&this._err(f.endTagWithTrailingSolidus)),this.tokenQueue.push(b)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(b,at){this.currentCharacterToken&&this.currentCharacterToken.type!==b&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=at:this._createCharacterToken(b,at)}_emitCodePoint(b){let at=vt.CHARACTER_TOKEN;tt(b)?at=vt.WHITESPACE_CHARACTER_TOKEN:b===a.NULL&&(at=vt.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(at,it(b))}_emitSeveralCodePoints(b){for(let at=0;at-1;){const Ee=v[Rt],Fe=Ee")):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.state=he,this._emitChars(T.REPLACEMENT_CHARACTER)):b===a.EOF?(this._err(f.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=he,this._emitCodePoint(b))}[Oe](b){b===a.SOLIDUS?(this.tempBuff=[],this.state=K):Vt(b)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(ie)):(this._emitChars("<"),this._reconsumeInState(he))}[K](b){Vt(b)?(this._createEndTagToken(),this._reconsumeInState(D)):(this._emitChars("")):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.state=te,this._emitChars(T.REPLACEMENT_CHARACTER)):b===a.EOF?(this._err(f.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=te,this._emitCodePoint(b))}[ee](b){b===a.SOLIDUS?(this.tempBuff=[],this.state=Me,this._emitChars("/")):this._reconsumeInState(te)}[Me](b){tt(b)||b===a.SOLIDUS||b===a.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?he:te,this._emitCodePoint(b)):vn(b)?(this.tempBuff.push(or(b)),this._emitCodePoint(b)):Nn(b)?(this.tempBuff.push(b),this._emitCodePoint(b)):this._reconsumeInState(te)}[Ae](b){tt(b)||(b===a.SOLIDUS||b===a.GREATER_THAN_SIGN||b===a.EOF?this._reconsumeInState(Ne):b===a.EQUALS_SIGN?(this._err(f.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=ke):(this._createAttr(""),this._reconsumeInState(ke)))}[ke](b){tt(b)||b===a.SOLIDUS||b===a.GREATER_THAN_SIGN||b===a.EOF?(this._leaveAttrName(Ne),this._unconsume()):b===a.EQUALS_SIGN?this._leaveAttrName(j):vn(b)?this.currentAttr.name+=Re(b):b===a.QUOTATION_MARK||b===a.APOSTROPHE||b===a.LESS_THAN_SIGN?(this._err(f.unexpectedCharacterInAttributeName),this.currentAttr.name+=it(b)):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentAttr.name+=T.REPLACEMENT_CHARACTER):this.currentAttr.name+=it(b)}[Ne](b){tt(b)||(b===a.SOLIDUS?this.state=ht:b===a.EQUALS_SIGN?this.state=j:b===a.GREATER_THAN_SIGN?(this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(ke)))}[j](b){tt(b)||(b===a.QUOTATION_MARK?this.state=st:b===a.APOSTROPHE?this.state=Qe:b===a.GREATER_THAN_SIGN?(this._err(f.missingAttributeValue),this.state=w,this._emitCurrentToken()):this._reconsumeInState(Be))}[st](b){b===a.QUOTATION_MARK?this.state=$e:b===a.AMPERSAND?(this.returnState=st,this.state=dt):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentAttr.value+=T.REPLACEMENT_CHARACTER):b===a.EOF?(this._err(f.eofInTag),this._emitEOFToken()):this.currentAttr.value+=it(b)}[Qe](b){b===a.APOSTROPHE?this.state=$e:b===a.AMPERSAND?(this.returnState=Qe,this.state=dt):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentAttr.value+=T.REPLACEMENT_CHARACTER):b===a.EOF?(this._err(f.eofInTag),this._emitEOFToken()):this.currentAttr.value+=it(b)}[Be](b){tt(b)?this._leaveAttrValue(Ae):b===a.AMPERSAND?(this.returnState=Be,this.state=dt):b===a.GREATER_THAN_SIGN?(this._leaveAttrValue(w),this._emitCurrentToken()):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentAttr.value+=T.REPLACEMENT_CHARACTER):b===a.QUOTATION_MARK||b===a.APOSTROPHE||b===a.LESS_THAN_SIGN||b===a.EQUALS_SIGN||b===a.GRAVE_ACCENT?(this._err(f.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=it(b)):b===a.EOF?(this._err(f.eofInTag),this._emitEOFToken()):this.currentAttr.value+=it(b)}[$e](b){tt(b)?this._leaveAttrValue(Ae):b===a.SOLIDUS?this._leaveAttrValue(ht):b===a.GREATER_THAN_SIGN?(this._leaveAttrValue(w),this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInTag),this._emitEOFToken()):(this._err(f.missingWhitespaceBetweenAttributes),this._reconsumeInState(Ae))}[ht](b){b===a.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInTag),this._emitEOFToken()):(this._err(f.unexpectedSolidusInTag),this._reconsumeInState(Ae))}[ne](b){b===a.GREATER_THAN_SIGN?(this.state=w,this._emitCurrentToken()):b===a.EOF?(this._emitCurrentToken(),this._emitEOFToken()):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.data+=T.REPLACEMENT_CHARACTER):this.currentToken.data+=it(b)}[pt](b){this._consumeSequenceIfMatch(m.DASH_DASH_STRING,b,!0)?(this._createCommentToken(),this.state=ut):this._consumeSequenceIfMatch(m.DOCTYPE_STRING,b,!1)?this.state=ar:this._consumeSequenceIfMatch(m.CDATA_START_STRING,b,!0)?this.allowCDATA?this.state=ce:(this._err(f.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=ne):this._ensureHibernation()||(this._err(f.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(ne))}[ut](b){b===a.HYPHEN_MINUS?this.state=je:b===a.GREATER_THAN_SIGN?(this._err(f.abruptClosingOfEmptyComment),this.state=w,this._emitCurrentToken()):this._reconsumeInState(Ot)}[je](b){b===a.HYPHEN_MINUS?this.state=gn:b===a.GREATER_THAN_SIGN?(this._err(f.abruptClosingOfEmptyComment),this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ot))}[Ot](b){b===a.HYPHEN_MINUS?this.state=Cn:b===a.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=Ct):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.data+=T.REPLACEMENT_CHARACTER):b===a.EOF?(this._err(f.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=it(b)}[Ct](b){b===a.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=Zn):b===a.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(Ot)}[Zn](b){b===a.HYPHEN_MINUS?this.state=Jn:this._reconsumeInState(Ot)}[Jn](b){b===a.HYPHEN_MINUS?this.state=xt:this._reconsumeInState(Cn)}[xt](b){b!==a.GREATER_THAN_SIGN&&b!==a.EOF&&this._err(f.nestedComment),this._reconsumeInState(gn)}[Cn](b){b===a.HYPHEN_MINUS?this.state=gn:b===a.EOF?(this._err(f.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ot))}[gn](b){b===a.GREATER_THAN_SIGN?(this.state=w,this._emitCurrentToken()):b===a.EXCLAMATION_MARK?this.state=an:b===a.HYPHEN_MINUS?this.currentToken.data+="-":b===a.EOF?(this._err(f.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(Ot))}[an](b){b===a.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=Cn):b===a.GREATER_THAN_SIGN?(this._err(f.incorrectlyClosedComment),this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(Ot))}[ar](b){tt(b)?this.state=Wt:b===a.GREATER_THAN_SIGN?this._reconsumeInState(Wt):b===a.EOF?(this._err(f.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(Wt))}[Wt](b){tt(b)||(vn(b)?(this._createDoctypeToken(Re(b)),this.state=mn):b===a.NULL?(this._err(f.unexpectedNullCharacter),this._createDoctypeToken(T.REPLACEMENT_CHARACTER),this.state=mn):b===a.GREATER_THAN_SIGN?(this._err(f.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=w):b===a.EOF?(this._err(f.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(it(b)),this.state=mn))}[mn](b){tt(b)?this.state=Ye:b===a.GREATER_THAN_SIGN?(this.state=w,this._emitCurrentToken()):vn(b)?this.currentToken.name+=Re(b):b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.name+=T.REPLACEMENT_CHARACTER):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=it(b)}[Ye](b){tt(b)||(b===a.GREATER_THAN_SIGN?(this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(m.PUBLIC_STRING,b,!1)?this.state=In:this._consumeSequenceIfMatch(m.SYSTEM_STRING,b,!1)?this.state=on:this._ensureHibernation()||(this._err(f.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht)))}[In](b){tt(b)?this.state=Tt:b===a.QUOTATION_MARK?(this._err(f.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=et):b===a.APOSTROPHE?(this._err(f.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=gt):b===a.GREATER_THAN_SIGN?(this._err(f.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht))}[Tt](b){tt(b)||(b===a.QUOTATION_MARK?(this.currentToken.publicId="",this.state=et):b===a.APOSTROPHE?(this.currentToken.publicId="",this.state=gt):b===a.GREATER_THAN_SIGN?(this._err(f.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht)))}[et](b){b===a.QUOTATION_MARK?this.state=Pt:b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.publicId+=T.REPLACEMENT_CHARACTER):b===a.GREATER_THAN_SIGN?(this._err(f.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=w):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=it(b)}[gt](b){b===a.APOSTROPHE?this.state=Pt:b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.publicId+=T.REPLACEMENT_CHARACTER):b===a.GREATER_THAN_SIGN?(this._err(f.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=w):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=it(b)}[Pt](b){tt(b)?this.state=Lt:b===a.GREATER_THAN_SIGN?(this.state=w,this._emitCurrentToken()):b===a.QUOTATION_MARK?(this._err(f.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=fn):b===a.APOSTROPHE?(this._err(f.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=wn):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht))}[Lt](b){tt(b)||(b===a.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=w):b===a.QUOTATION_MARK?(this.currentToken.systemId="",this.state=fn):b===a.APOSTROPHE?(this.currentToken.systemId="",this.state=wn):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht)))}[on](b){tt(b)?this.state=Et:b===a.QUOTATION_MARK?(this._err(f.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=fn):b===a.APOSTROPHE?(this._err(f.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=wn):b===a.GREATER_THAN_SIGN?(this._err(f.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht))}[Et](b){tt(b)||(b===a.QUOTATION_MARK?(this.currentToken.systemId="",this.state=fn):b===a.APOSTROPHE?(this.currentToken.systemId="",this.state=wn):b===a.GREATER_THAN_SIGN?(this._err(f.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=w,this._emitCurrentToken()):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ht)))}[fn](b){b===a.QUOTATION_MARK?this.state=Ft:b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.systemId+=T.REPLACEMENT_CHARACTER):b===a.GREATER_THAN_SIGN?(this._err(f.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=w):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=it(b)}[wn](b){b===a.APOSTROPHE?this.state=Ft:b===a.NULL?(this._err(f.unexpectedNullCharacter),this.currentToken.systemId+=T.REPLACEMENT_CHARACTER):b===a.GREATER_THAN_SIGN?(this._err(f.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=w):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=it(b)}[Ft](b){tt(b)||(b===a.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=w):b===a.EOF?(this._err(f.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(f.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Ht)))}[Ht](b){b===a.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=w):b===a.NULL?this._err(f.unexpectedNullCharacter):b===a.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[ce](b){b===a.RIGHT_SQUARE_BRACKET?this.state=Je:b===a.EOF?(this._err(f.eofInCdata),this._emitEOFToken()):this._emitCodePoint(b)}[Je](b){b===a.RIGHT_SQUARE_BRACKET?this.state=ft:(this._emitChars("]"),this._reconsumeInState(ce))}[ft](b){b===a.GREATER_THAN_SIGN?this.state=w:b===a.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(ce))}[dt](b){this.tempBuff=[a.AMPERSAND],b===a.NUMBER_SIGN?(this.tempBuff.push(b),this.state=Bt):zn(b)?this._reconsumeInState(yt):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[yt](b){const at=this._matchNamedCharacterReference(b);if(this._ensureHibernation())this.tempBuff=[a.AMPERSAND];else if(at){const Kt=this.tempBuff[this.tempBuff.length-1]===a.SEMICOLON;this._isCharacterReferenceAttributeQuirk(Kt)||(Kt||this._errOnNextCodePoint(f.missingSemicolonAfterCharacterReference),this.tempBuff=at),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=St}[St](b){zn(b)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=it(b):this._emitCodePoint(b):(b===a.SEMICOLON&&this._err(f.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Bt](b){this.charRefCode=0,b===a.LATIN_SMALL_X||b===a.LATIN_CAPITAL_X?(this.tempBuff.push(b),this.state=yn):this._reconsumeInState(Jt)}[yn](b){mr(b)?this._reconsumeInState(qt):(this._err(f.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Jt](b){fr(b)?this._reconsumeInState(mt):(this._err(f.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[qt](b){yr(b)?this.charRefCode=this.charRefCode*16+b-55:Gn(b)?this.charRefCode=this.charRefCode*16+b-87:fr(b)?this.charRefCode=this.charRefCode*16+b-48:b===a.SEMICOLON?this.state=Qt:(this._err(f.missingSemicolonAfterCharacterReference),this._reconsumeInState(Qt))}[mt](b){fr(b)?this.charRefCode=this.charRefCode*10+b-48:b===a.SEMICOLON?this.state=Qt:(this._err(f.missingSemicolonAfterCharacterReference),this._reconsumeInState(Qt))}[Qt](){if(this.charRefCode===a.NULL)this._err(f.nullCharacterReference),this.charRefCode=a.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(f.characterReferenceOutsideUnicodeRange),this.charRefCode=a.REPLACEMENT_CHARACTER;else if(T.isSurrogate(this.charRefCode))this._err(f.surrogateCharacterReference),this.charRefCode=a.REPLACEMENT_CHARACTER;else if(T.isUndefinedCodePoint(this.charRefCode))this._err(f.noncharacterCharacterReference);else if(T.isControlCodePoint(this.charRefCode)||this.charRefCode===a.CARRIAGE_RETURN){this._err(f.controlCharacterReference);const b=g[this.charRefCode];b&&(this.charRefCode=b)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}vt.CHARACTER_TOKEN="CHARACTER_TOKEN",vt.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",vt.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",vt.START_TAG_TOKEN="START_TAG_TOKEN",vt.END_TAG_TOKEN="END_TAG_TOKEN",vt.COMMENT_TOKEN="COMMENT_TOKEN",vt.DOCTYPE_TOKEN="DOCTYPE_TOKEN",vt.EOF_TOKEN="EOF_TOKEN",vt.HIBERNATION_TOKEN="HIBERNATION_TOKEN",vt.MODE={DATA:w,RCDATA:I,RAWTEXT:s,SCRIPT_DATA:x,PLAINTEXT:P},vt.getTokenAttr=function(Ge,b){for(let at=Ge.attrs.length-1;at>=0;at--)if(Ge.attrs[at].name===b)return Ge.attrs[at].value;return null},N.exports=vt},5482:function(N){"use strict";N.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},77118:function(N,S,l){"use strict";const o=l(54284),T=l(41734),v=o.CODE_POINTS,f=1<<16;class a{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=f}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(g){if(this.pos!==this.lastCharPos){const h=this.html.charCodeAt(this.pos+1);if(o.isSurrogatePair(h))return this.pos++,this._addGap(),o.getSurrogatePairCodePoint(g,h)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(T.surrogateInInputStream),g}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(g,h){this.html?this.html+=g:this.html=g,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=h}insertHtmlAtCurrentPos(g){this.html=this.html.substring(0,this.pos+1)+g+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let g=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&g===v.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):g===v.CARRIAGE_RETURN?(this.skipNextNewLine=!0,v.LINE_FEED):(this.skipNextNewLine=!1,o.isSurrogate(g)&&(g=this._processSurrogate(g)),g>31&&g<127||g===v.LINE_FEED||g===v.CARRIAGE_RETURN||g>159&&g<64976||this._checkForProblematicCharacters(g),g)}_checkForProblematicCharacters(g){o.isControlCodePoint(g)?this._err(T.controlCharacterInInputStream):o.isUndefinedCodePoint(g)&&this._err(T.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}N.exports=a},17296:function(N,S,l){"use strict";const{DOCUMENT_MODE:o}=l(16152);S.createDocument=function(){return{nodeName:"#document",mode:o.NO_QUIRKS,childNodes:[]}},S.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},S.createElement=function(a,m,g){return{nodeName:a,tagName:a,attrs:g,namespaceURI:m,childNodes:[],parentNode:null}},S.createCommentNode=function(a){return{nodeName:"#comment",data:a,parentNode:null}};const T=function(a){return{nodeName:"#text",value:a,parentNode:null}},v=S.appendChild=function(a,m){a.childNodes.push(m),m.parentNode=a},f=S.insertBefore=function(a,m,g){const h=a.childNodes.indexOf(g);a.childNodes.splice(h,0,m),m.parentNode=a};S.setTemplateContent=function(a,m){a.content=m},S.getTemplateContent=function(a){return a.content},S.setDocumentType=function(a,m,g,h){let d=null;for(let E=0;E(Object.keys(v).forEach(f=>{T[f]=v[f]}),T),Object.create(null))}},12814:function(N){"use strict";class S{constructor(o){const T={},v=this._getOverriddenMethods(this,T);for(const f of Object.keys(v))typeof v[f]=="function"&&(T[f]=o[f],o[f]=v[f])}_getOverriddenMethods(){throw new Error("Not implemented")}}S.install=function(l,o,T){l.__mixins||(l.__mixins=[]);for(let f=0;f4&&x.slice(0,4)===f&&a.test(s)&&(s.charAt(4)==="-"?P=d(s):s=E(s),R=T),new R(P,s))}function d(I){var s=I.slice(5).replace(m,w);return f+s.charAt(0).toUpperCase()+s.slice(1)}function E(I){var s=I.slice(4);return m.test(s)?I:(s=s.replace(g,y),s.charAt(0)!=="-"&&(s="-"+s),f+s)}function y(I){return"-"+I.toLowerCase()}function w(I){return I.charAt(1).toUpperCase()}},97247:function(N,S,l){"use strict";var o=l(19940),T=l(8289),v=l(5812),f=l(94397),a=l(67716),m=l(61805);N.exports=o([v,T,f,a,m])},67716:function(N,S,l){"use strict";var o=l(17e3),T=l(17596),v=o.booleanish,f=o.number,a=o.spaceSeparated;N.exports=T({transform:m,properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:f,ariaColIndex:f,ariaColSpan:f,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:v,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:a,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:f,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:f,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:a,ariaRowCount:f,ariaRowIndex:f,ariaRowSpan:f,ariaSelected:v,ariaSetSize:f,ariaSort:null,ariaValueMax:f,ariaValueMin:f,ariaValueNow:f,ariaValueText:null,role:null}});function m(g,h){return h==="role"?h:"aria-"+h.slice(4).toLowerCase()}},61805:function(N,S,l){"use strict";var o=l(17e3),T=l(17596),v=l(10855),f=o.boolean,a=o.overloadedBoolean,m=o.booleanish,g=o.number,h=o.spaceSeparated,d=o.commaSeparated;N.exports=T({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:v,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:h,accessKey:h,action:null,allow:null,allowFullScreen:f,allowPaymentRequest:f,allowUserMedia:f,alt:null,as:null,async:f,autoCapitalize:null,autoComplete:h,autoFocus:f,autoPlay:f,capture:f,charSet:null,checked:f,cite:null,className:h,cols:g,colSpan:null,content:null,contentEditable:m,controls:f,controlsList:h,coords:g|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:f,defer:f,dir:null,dirName:null,disabled:f,download:a,draggable:m,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:f,formTarget:null,headers:h,height:g,hidden:f,high:g,href:null,hrefLang:null,htmlFor:h,httpEquiv:h,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:f,itemId:null,itemProp:h,itemRef:h,itemScope:f,itemType:h,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:f,low:g,manifest:null,max:null,maxLength:g,media:null,method:null,min:null,minLength:g,multiple:f,muted:f,name:null,nonce:null,noModule:f,noValidate:f,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:f,optimum:g,pattern:null,ping:h,placeholder:null,playsInline:f,poster:null,preload:null,readOnly:f,referrerPolicy:null,rel:h,required:f,reversed:f,rows:g,rowSpan:g,sandbox:h,scope:null,scoped:f,seamless:f,selected:f,shape:null,size:g,sizes:null,slot:null,span:g,spellCheck:m,src:null,srcDoc:null,srcLang:null,srcSet:d,start:g,step:null,style:null,tabIndex:g,target:null,title:null,translate:null,type:null,typeMustMatch:f,useMap:null,value:m,width:g,wrap:null,align:null,aLink:null,archive:h,axis:null,background:null,bgColor:null,border:g,borderColor:null,bottomMargin:g,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:f,declare:f,event:null,face:null,frame:null,frameBorder:null,hSpace:g,leftMargin:g,link:null,longDesc:null,lowSrc:null,marginHeight:g,marginWidth:g,noResize:f,noHref:f,noShade:f,noWrap:f,object:null,profile:null,prompt:null,rev:null,rightMargin:g,rules:null,scheme:null,scrolling:m,standby:null,summary:null,text:null,topMargin:g,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:f,disableRemotePlayback:f,prefix:null,property:null,results:g,security:null,unselectable:null}})},45789:function(N,S,l){"use strict";var o=l(17e3),T=l(17596),v=l(28740),f=o.boolean,a=o.number,m=o.spaceSeparated,g=o.commaSeparated,h=o.commaOrSpaceSeparated;N.exports=T({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:v,properties:{about:h,accentHeight:a,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:a,amplitude:a,arabicForm:null,ascent:a,attributeName:null,attributeType:null,azimuth:a,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:a,by:null,calcMode:null,capHeight:a,className:m,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:a,diffuseConstant:a,direction:null,display:null,dur:null,divisor:a,dominantBaseline:null,download:f,dx:null,dy:null,edgeMode:null,editable:null,elevation:a,enableBackground:null,end:null,event:null,exponent:a,externalResourcesRequired:null,fill:null,fillOpacity:a,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g,g2:g,glyphName:g,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:a,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:a,horizOriginX:a,horizOriginY:a,id:null,ideographic:a,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:a,k:a,k1:a,k2:a,k3:a,k4:a,kernelMatrix:h,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:a,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:a,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:a,overlineThickness:a,paintOrder:null,panose1:null,path:null,pathLength:a,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:m,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:a,pointsAtY:a,pointsAtZ:a,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:h,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:h,rev:h,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:h,requiredFeatures:h,requiredFonts:h,requiredFormats:h,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:a,specularExponent:a,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:a,strikethroughThickness:a,string:null,stroke:null,strokeDashArray:h,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:a,strokeOpacity:a,strokeWidth:null,style:null,surfaceScale:a,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:h,tabIndex:a,tableValues:null,target:null,targetX:a,targetY:a,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:h,to:null,transform:null,u1:null,u2:null,underlinePosition:a,underlineThickness:a,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:a,values:null,vAlphabetic:a,vMathematical:a,vectorEffect:null,vHanging:a,vIdeographic:a,version:null,vertAdvY:a,vertOriginX:a,vertOriginY:a,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:a,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},10855:function(N,S,l){"use strict";var o=l(28740);N.exports=T;function T(v,f){return o(v,f.toLowerCase())}},28740:function(N){"use strict";N.exports=S;function S(l,o){return o in l?l[o]:o}},17596:function(N,S,l){"use strict";var o=l(66632),T=l(99607),v=l(98805);N.exports=f;function f(a){var m=a.space,g=a.mustUseProperty||[],h=a.attributes||{},d=a.properties,E=a.transform,y={},w={},I,s;for(I in d)s=new v(I,E(h,I),d[I],m),g.indexOf(I)!==-1&&(s.mustUseProperty=!0),y[I]=s,w[o(I)]=I,w[o(s.attribute)]=I;return new T(y,w,m)}},98805:function(N,S,l){"use strict";var o=l(57643),T=l(17e3);N.exports=a,a.prototype=new o,a.prototype.defined=!0;var v=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],f=v.length;function a(g,h,d,E){var y=-1,w;for(m(this,"space",E),o.call(this,g,h);++y-1?g.prefix.slice(0,d):g.prefix),E;function E(w){T(w,"element",y)}function y(w,I,s){var x,P,R;if(!(!s||s.tagName!=="pre"||w.tagName!=="code")&&(R=f(w),!(R===!1||!R&&g.subset===!1||g.plainText&&g.plainText.indexOf(R)>-1))){x=w.properties,x.className||(x.className=[]),x.className.indexOf(h)<0&&x.className.unshift(h);try{P=R?a.highlight(R,o(s),m):a.highlightAuto(o(s),m)}catch(W){if(!g.ignoreMissing||!/Unknown language/.test(W.message))throw W;P={}}!R&&P.language&&x.className.push("language-"+P.language),P.value&&(w.children=P.value)}}}}function f(a){for(var m=a.properties.className||[],g=-1,h;++g=f)return S.substr(0,f);for(;f>S.length&&v>1;)v&1&&(S+=T),v>>=1,T+=T;return S+=T,S=S.substr(0,f),S}},36582:function(N,S){"use strict";S.parse=v,S.stringify=f;var l="",o=" ",T=/[ \t\n\r\f]+/g;function v(a){var m=String(a||l).trim();return m===l?[]:m.split(T)}function f(a){return a.join(o).trim()}},24860:function(N,S,l){"use strict";N.exports=l(99100)},14983:function(N,S,l){var o=l(68348),T={},v;N.exports=T;for(v in o)T[o[v]]=v},57472:function(N){N.exports=String.fromCharCode},38003:function(N){N.exports={}.hasOwnProperty},34988:function(N){"use strict";N.exports=S;function S(o,T){if(o=o.replace(T.subset?l(T.subset):/["&'<>`]/g,f),T.subset||T.escapeOnly)return o;return o.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,f);function v(a,m,g){return T.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,g.charCodeAt(m+2),T)}function f(a,m,g){return T.format(a.charCodeAt(0),g.charCodeAt(m+1),T)}}function l(o){for(var T=[],v=-1;++vg.length,d;h&&g.push(a);try{d=o.apply(null,g)}catch(E){if(h&&v)throw E;return a(E)}h||(d&&typeof d.then=="function"?d.then(m,a):d instanceof Error?a(d):m(d))}function a(){v||(v=!0,T.apply(null,arguments))}function m(g){a(null,g)}}},18835:function(N,S,l){"use strict";var o=l(18869),T=l(73469),v=l(94470),f=l(90662),a=l(28281),m=l(10939);N.exports=I().freeze();var g=[].slice,h={}.hasOwnProperty,d=a().use(E).use(y).use(w);function E(L,F){F.tree=L.parse(F.file)}function y(L,F,z){L.run(F.tree,F.file,G);function G(Q,Y,H){Q?z(Q):(F.tree=Y,F.file=H,z())}}function w(L,F){var z=L.stringify(F.tree,F.file);z==null||(typeof z=="string"||T(z)?("value"in F.file&&(F.file.value=z),F.file.contents=z):F.file.result=z)}function I(){var L=[],F=a(),z={},G=-1,Q;return Y.data=X,Y.freeze=H,Y.attachers=L,Y.use=Z,Y.parse=he,Y.stringify=Oe,Y.run=se,Y.runSync=ye,Y.process=K,Y.processSync=D,Y;function Y(){for(var ie=I(),te=-1;++te":""))+")"),$;function $(){var L=R.concat(x),F=[],z,G;if((!d||I(x,P,R[R.length-1]||null))&&(F=g(E(x,R)),F[0]===a))return F;if(x.children&&F[0]!==f)for(G=(y?x.children.length:-1)+w;G>-1&&G-1&&mm)return{line:g+1,column:m-(T[g-1]||0)+1,offset:m}}return{}}function a(m){var g=m&&m.line,h=m&&m.column,d;return!isNaN(g)&&!isNaN(h)&&g-1 in T&&(d=(T[g-2]||0)+h-1||0),d>-1&&d-1)throw new Error("`extname` cannot contain multiple dots")}this.path=o.join(this.dirname,this.stem+(L||""))}function x(){return typeof this.path=="string"?o.basename(this.path,this.extname):void 0}function P(L){U(L,"stem"),W(L,"stem"),this.path=o.join(this.dirname||"",L+(this.extname||""))}function R(L){return(this.contents||"").toString(L)}function W(L,F){if(L&&L.indexOf(o.sep)>-1)throw new Error("`"+F+"` cannot be a path: did not expect `"+o.sep+"`")}function U(L,F){if(!L)throw new Error("`"+F+"` cannot be empty")}function $(L,F){if(!L)throw new Error("Setting `"+F+"` requires `path` to be set too")}},65905:function(N,S,l){"use strict";var o=l(80734),T=l(45442);N.exports=T,T.prototype.message=v,T.prototype.info=a,T.prototype.fail=f;function v(m,g,h){var d=new o(m,g,h);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}function f(){var m=this.message.apply(this,arguments);throw m.fatal=!0,m}function a(){var m=this.message.apply(this,arguments);return m.fatal=null,m}},28064:function(N,S){"use strict";S.basename=l,S.dirname=o,S.extname=T,S.join=v,S.sep="/";function l(g,h){var d=0,E=-1,y,w,I,s;if(h!==void 0&&typeof h!="string")throw new TypeError('"ext" argument must be a string');if(m(g),y=g.length,h===void 0||!h.length||h.length>g.length){for(;y--;)if(g.charCodeAt(y)===47){if(I){d=y+1;break}}else E<0&&(I=!0,E=y+1);return E<0?"":g.slice(d,E)}if(h===g)return"";for(w=-1,s=h.length-1;y--;)if(g.charCodeAt(y)===47){if(I){d=y+1;break}}else w<0&&(I=!0,w=y+1),s>-1&&(g.charCodeAt(y)===h.charCodeAt(s--)?s<0&&(E=y):(s=-1,E=w));return d===E?E=w:E<0&&(E=g.length),g.slice(d,E)}function o(g){var h,d,E;if(m(g),!g.length)return".";for(h=-1,E=g.length;--E;)if(g.charCodeAt(E)===47){if(d){h=E;break}}else d||(d=!0);return h<0?g.charCodeAt(0)===47?"/":".":h===1&&g.charCodeAt(0)===47?"//":g.slice(0,h)}function T(g){var h=-1,d=0,E=-1,y=0,w,I,s;for(m(g),s=g.length;s--;){if(I=g.charCodeAt(s),I===47){if(w){d=s+1;break}continue}E<0&&(w=!0,E=s+1),I===46?h<0?h=s:y!==1&&(y=1):h>-1&&(y=-1)}return h<0||E<0||y===0||y===1&&h===E-1&&h===d+1?"":g.slice(h,E)}function v(){for(var g=-1,h;++g2){if(x=d.lastIndexOf("/"),x!==d.length-1){x<0?(d="",E=0):(d=d.slice(0,x),E=d.length-1-d.lastIndexOf("/")),y=I,w=0;continue}}else if(d.length){d="",E=0,y=I,w=0;continue}}h&&(d=d.length?d+"/..":"..",E=2)}else d.length?d+="/"+g.slice(y+1,I):d=g.slice(y+1,I),E=I-y-1;y=I,w=0}else s===46&&w>-1?w++:w=-1}return d}function m(g){if(typeof g!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(g))}},54228:function(N,S){"use strict";S.cwd=l;function l(){return"/"}},70529:function(N){N.exports=function(l){return l!=null&&l.constructor!=null&&typeof l.constructor.isBuffer=="function"&&l.constructor.isBuffer(l)}},939:function(N){var S=/[a-zA-Z0-9_\u0392-\u03c9\u00c0-\u00ff\u0600-\u06ff]+|[\u4e00-\u9fff\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g;N.exports=function(l){var o=l.match(S),T=0;if(!o)return 0;for(var v=0;v=19968?T+=o[v].length:T+=1;return T}},47529:function(N){N.exports=l;var S=Object.prototype.hasOwnProperty;function l(){for(var o={},T=0;T","OElig":"\u0152","oelig":"\u0153","Scaron":"\u0160","scaron":"\u0161","Yuml":"\u0178","circ":"\u02C6","tilde":"\u02DC","ensp":"\u2002","emsp":"\u2003","thinsp":"\u2009","zwnj":"\u200C","zwj":"\u200D","lrm":"\u200E","rlm":"\u200F","ndash":"\u2013","mdash":"\u2014","lsquo":"\u2018","rsquo":"\u2019","sbquo":"\u201A","ldquo":"\u201C","rdquo":"\u201D","bdquo":"\u201E","dagger":"\u2020","Dagger":"\u2021","permil":"\u2030","lsaquo":"\u2039","rsaquo":"\u203A","euro":"\u20AC"}')},37452:function(N){"use strict";N.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},29370:function(N){"use strict";N.exports=JSON.parse('{"strip":["script"],"clobberPrefix":"user-content-","clobber":["name","id"],"ancestors":{"tbody":["table"],"tfoot":["table"],"thead":["table"],"td":["table"],"th":["table"],"tr":["table"]},"protocols":{"href":["http","https","mailto","xmpp","irc","ircs"],"cite":["http","https"],"src":["http","https"],"longDesc":["http","https"]},"tagNames":["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],"attributes":{"a":["href"],"img":["src","longDesc"],"input":[["type","checkbox"],["disabled",true]],"li":[["className","task-list-item"]],"div":["itemScope","itemType"],"blockquote":["cite"],"del":["cite"],"ins":["cite"],"q":["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},"required":{"input":{"type":"checkbox","disabled":true}}}')},76947:function(N){"use strict";N.exports=JSON.parse('["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]')},69878:function(N){"use strict";N.exports=JSON.parse('["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]')},99640:function(N){"use strict";N.exports=JSON.parse('{"classId":"classID","dataType":"datatype","itemId":"itemID","strokeDashArray":"strokeDasharray","strokeDashOffset":"strokeDashoffset","strokeLineCap":"strokeLinecap","strokeLineJoin":"strokeLinejoin","strokeMiterLimit":"strokeMiterlimit","typeOf":"typeof","xLinkActuate":"xlinkActuate","xLinkArcRole":"xlinkArcrole","xLinkHref":"xlinkHref","xLinkRole":"xlinkRole","xLinkShow":"xlinkShow","xLinkTitle":"xlinkTitle","xLinkType":"xlinkType","xmlnsXLink":"xmlnsXlink"}')},52930:function(N){"use strict";N.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},70006:function(N){"use strict";N.exports=JSON.parse('{"html":"http://www.w3.org/1999/xhtml","mathml":"http://www.w3.org/1998/Math/MathML","svg":"http://www.w3.org/2000/svg","xlink":"http://www.w3.org/1999/xlink","xml":"http://www.w3.org/XML/1998/namespace","xmlns":"http://www.w3.org/2000/xmlns/"}')}}]); diff --git a/statics/6682.b91e228c.async.js b/statics/6682.b91e228c.async.js new file mode 100644 index 00000000..6ac58f33 --- /dev/null +++ b/statics/6682.b91e228c.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6682],{59021:function(q,N){var m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};N.Z=m},53682:function(q,N,m){var W=m(1413),K=m(67294),D=m(59021),_=m(84089),M=function(H,h){return K.createElement(_.Z,(0,W.Z)((0,W.Z)({},H),{},{ref:h,icon:D.Z}))},B=K.forwardRef(M);N.Z=B},60219:function(q,N,m){m.d(N,{Z:function(){return H}});var W=m(1413),K=m(67294),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},_=D,M=m(84089),B=function(b,P){return K.createElement(M.Z,(0,W.Z)((0,W.Z)({},b),{},{ref:P,icon:_}))},U=K.forwardRef(B),H=U},95742:function(q,N,m){m.d(N,{JV:function(){return Re},gU:function(){return Ue},hv:function(){return Ne}});var W=m(87462),K=m(97685),D=m(94334),_=m(15671),M=m(43144),B=m(82963),U=m(61120),H=m(60136),h=m(97326),b=m(4942),P=m(67294),re=m(73935),be=m(41143),j=m.n(be),we=m(74902),Ee=m(45697),l=m.n(Ee),Ce=function(){function t(){(0,_.Z)(this,t),(0,b.Z)(this,"refs",{})}return(0,M.Z)(t,[{key:"add",value:function(r,u){this.refs[r]||(this.refs[r]=[]),this.refs[r].push(u)}},{key:"remove",value:function(r,u){var y=this.getIndex(r,u);y!==-1&&this.refs[r].splice(y,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var r=this;return this.refs[this.active.collection].find(function(u){var y=u.node;return y.sortableInfo.index==r.active.index})}},{key:"getIndex",value:function(r,u){return this.refs[r].indexOf(u)}},{key:"getOrderedRefs",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[r].sort(Se)}}]),t}();function Se(t,n){var r=t.node.sortableInfo.index,u=n.node.sortableInfo.index;return r-u}function Fe(t,n,r){return t=t.slice(),t.splice(r<0?t.length+r:r,0,t.splice(n,1)[0]),t}function le(t,n){return Object.keys(t).reduce(function(r,u){return n.indexOf(u)===-1&&(r[u]=t[u]),r},{})}var F={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},ce=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var t=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],n=(Array.prototype.slice.call(t).join("").match(/-(moz|webkit|ms)-/)||t.OLink===""&&["","o"])[1];switch(n){case"ms":return"ms";default:return n&&n.length?n[0].toUpperCase()+n.substr(1):""}}();function ee(t,n){Object.keys(n).forEach(function(r){t.style[r]=n[r]})}function te(t,n){t.style["".concat(ce,"Transform")]=n==null?"":"translate3d(".concat(n.x,"px,").concat(n.y,"px,0)")}function oe(t,n){t.style["".concat(ce,"TransitionDuration")]=n==null?"":"".concat(n,"ms")}function Y(t,n){for(;t;){if(n(t))return t;t=t.parentNode}return null}function ue(t,n,r){return Math.max(t,Math.min(r,n))}function X(t){return t.substr(-2)==="px"?parseFloat(t):0}function Te(t){var n=window.getComputedStyle(t);return{bottom:X(n.marginBottom),left:X(n.marginLeft),right:X(n.marginRight),top:X(n.marginTop)}}function ae(t,n){var r=n.displayName||n.name;return r?"".concat(t,"(").concat(r,")"):t}function se(t,n){var r=t.getBoundingClientRect();return{top:r.top+n.top,left:r.left+n.left}}function $(t){return t.touches&&t.touches.length?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches.length?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.pageX,y:t.pageY}}function Oe(t){return t.touches&&t.touches.length||t.changedTouches&&t.changedTouches.length}function ne(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!!t){var u={left:r.left+t.offsetLeft,top:r.top+t.offsetTop};return t.parentNode===n?u:ne(t.parentNode,n,u)}}function Ie(t,n,r){return tn?t-1:t>r&&t0&&r[d].height>0){var e=f.getContext("2d");e.drawImage(r[d],0,0)}}),u}function Re(t){var n,r,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return r=n=function(y){(0,H.Z)(f,y);function f(){var d,e;(0,_.Z)(this,f);for(var x=arguments.length,i=new Array(x),o=0;o=d.y-x/2&&!g?(i.y=1,o.y=c.y*Math.abs((d.y-x/2-y.y)/x)):y.x>=d.x-e/2&&!R?(i.x=1,o.x=c.x*Math.abs((d.x-e/2-y.x)/e)):y.y<=f.y+x/2&&!S?(i.y=-1,o.y=c.y*Math.abs((y.y-x/2-f.y)/x)):y.x<=f.x+e/2&&!C&&(i.x=-1,o.x=c.x*Math.abs((y.x-e/2-f.x)/e)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(i.x!==0||i.y!==0)&&(this.interval=setInterval(function(){u.isAutoScrolling=!0;var w={left:o.x*i.x,top:o.y*i.y};u.container.scrollTop+=w.top,u.container.scrollLeft+=w.left,u.onScrollCallback(w)},5))}}]),t}();function Ae(t){var n=t.node;return{height:n.offsetHeight,width:n.offsetWidth}}function We(t){var n=[z.Input,z.Textarea,z.Select,z.Option,z.Button];return!!(n.indexOf(t.target.tagName)!==-1||Y(t.target,function(r){return r.contentEditable==="true"}))}var pe={axis:l().oneOf(["x","y","xy"]),contentWindow:l().any,disableAutoscroll:l().bool,distance:l().number,getContainer:l().func,getHelperDimensions:l().func,helperClass:l().string,helperContainer:l().oneOfType([l().func,typeof HTMLElement=="undefined"?l().any:l().instanceOf(HTMLElement)]),hideSortableGhost:l().bool,keyboardSortingTransitionDuration:l().number,lockAxis:l().string,lockOffset:l().oneOfType([l().number,l().string,l().arrayOf(l().oneOfType([l().number,l().string]))]),lockToContainerEdges:l().bool,onSortEnd:l().func,onSortMove:l().func,onSortOver:l().func,onSortStart:l().func,pressDelay:l().number,pressThreshold:l().number,keyCodes:l().shape({lift:l().arrayOf(l().number),drop:l().arrayOf(l().number),cancel:l().arrayOf(l().number),up:l().arrayOf(l().number),down:l().arrayOf(l().number)}),shouldCancelStart:l().func,transitionDuration:l().number,updateBeforeSortStart:l().func,useDragHandle:l().bool,useWindowAsScrollContainer:l().bool},ge={lift:[V.SPACE],drop:[V.SPACE],cancel:[V.ESC],up:[V.UP,V.LEFT],down:[V.DOWN,V.RIGHT]},ke={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ae,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ge,shouldCancelStart:We,transitionDuration:300,useWindowAsScrollContainer:!1},Le=Object.keys(pe);function Ke(t){j()(!(t.distance&&t.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 Be(t,n){try{var r=t()}catch(u){return n(!0,u)}return r&&r.then?r.then(n.bind(null,!1),n.bind(null,!0)):n(!1,value)}var ve=(0,P.createContext)({manager:{}});function Ne(t){var n,r,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return r=n=function(y){(0,H.Z)(f,y);function f(d){var e;(0,_.Z)(this,f),e=(0,B.Z)(this,(0,U.Z)(f).call(this,d)),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"state",{}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"handleStart",function(i){var o=e.props,c=o.distance,a=o.shouldCancelStart;if(!(i.button===2||a(i))){e.touched=!0,e.position=$(i);var s=Y(i.target,function(S){return S.sortableInfo!=null});if(s&&s.sortableInfo&&e.nodeIsChild(s)&&!e.state.sorting){var v=e.props.useDragHandle,p=s.sortableInfo,Z=p.index,E=p.collection,O=p.disabled;if(O||v&&!Y(i.target,fe))return;e.manager.active={collection:E,index:Z},!Oe(i)&&i.target.tagName===z.Anchor&&i.preventDefault(),c||(e.props.pressDelay===0?e.handlePress(i):e.pressTimer=setTimeout(function(){return e.handlePress(i)},e.props.pressDelay))}}}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"nodeIsChild",function(i){return i.sortableInfo.manager===e.manager}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"handleMove",function(i){var o=e.props,c=o.distance,a=o.pressThreshold;if(!e.state.sorting&&e.touched&&!e._awaitingUpdateBeforeSortStart){var s=$(i),v={x:e.position.x-s.x,y:e.position.y-s.y},p=Math.abs(v.x)+Math.abs(v.y);e.delta=v,!c&&(!a||p>=a)?(clearTimeout(e.cancelTimer),e.cancelTimer=setTimeout(e.cancel,0)):c&&p>=c&&e.manager.isActive()&&e.handlePress(i)}}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"handleEnd",function(){e.touched=!1,e.cancel()}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"cancel",function(){var i=e.props.distance,o=e.state.sorting;o||(i||clearTimeout(e.pressTimer),e.manager.active=null)}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"handlePress",function(i){try{var o=e.manager.getActive(),c=function(){if(o){var a=function(){var I=C.sortableInfo.index,T=Te(C),k=_e(e.container),L=e.scrollContainer.getBoundingClientRect(),J=p({index:I,node:C,collection:R});if(e.node=C,e.margin=T,e.gridGap=k,e.width=J.width,e.height=J.height,e.marginOffset={x:e.margin.left+e.margin.right+e.gridGap.x,y:Math.max(e.margin.top,e.margin.bottom,e.gridGap.y)},e.boundingClientRect=C.getBoundingClientRect(),e.containerBoundingRect=L,e.index=I,e.newIndex=I,e.axis={x:v.indexOf("x")>=0,y:v.indexOf("y")>=0},e.offsetEdge=ne(C,e.container),w?e.initialOffset=$((0,D.Z)({},i,{pageX:e.boundingClientRect.left,pageY:e.boundingClientRect.top})):e.initialOffset=$(i),e.initialScroll={left:e.scrollContainer.scrollLeft,top:e.scrollContainer.scrollTop},e.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},e.helper=e.helperContainer.appendChild(Me(C)),ee(e.helper,{boxSizing:"border-box",height:"".concat(e.height,"px"),left:"".concat(e.boundingClientRect.left-T.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(e.boundingClientRect.top-T.top,"px"),width:"".concat(e.width,"px")}),w&&e.helper.focus(),E&&(e.sortableGhost=C,ee(C,{opacity:0,visibility:"hidden"})),e.minTranslate={},e.maxTranslate={},w){var ie=g?{top:0,left:0,width:e.contentWindow.innerWidth,height:e.contentWindow.innerHeight}:e.containerBoundingRect,ye=ie.top,xe=ie.left,Ge=ie.width,je=ie.height,Ve=ye+je,ze=xe+Ge;e.axis.x&&(e.minTranslate.x=xe-e.boundingClientRect.left,e.maxTranslate.x=ze-(e.boundingClientRect.left+e.width)),e.axis.y&&(e.minTranslate.y=ye-e.boundingClientRect.top,e.maxTranslate.y=Ve-(e.boundingClientRect.top+e.height))}else e.axis.x&&(e.minTranslate.x=(g?0:L.left)-e.boundingClientRect.left-e.width/2,e.maxTranslate.x=(g?e.contentWindow.innerWidth:L.left+L.width)-e.boundingClientRect.left-e.width/2),e.axis.y&&(e.minTranslate.y=(g?0:L.top)-e.boundingClientRect.top-e.height/2,e.maxTranslate.y=(g?e.contentWindow.innerHeight:L.top+L.height)-e.boundingClientRect.top-e.height/2);Z&&Z.split(" ").forEach(function(Q){return e.helper.classList.add(Q)}),e.listenerNode=i.touches?i.target:e.contentWindow,w?(e.listenerNode.addEventListener("wheel",e.handleKeyEnd,!0),e.listenerNode.addEventListener("mousedown",e.handleKeyEnd,!0),e.listenerNode.addEventListener("keydown",e.handleKeyDown)):(F.move.forEach(function(Q){return e.listenerNode.addEventListener(Q,e.handleSortMove,!1)}),F.end.forEach(function(Q){return e.listenerNode.addEventListener(Q,e.handleSortEnd,!1)})),e.setState({sorting:!0,sortingIndex:I}),S&&S({node:C,index:I,collection:R,isKeySorting:w,nodes:e.manager.getOrderedRefs(),helper:e.helper},i),w&&e.keyMove(0)},s=e.props,v=s.axis,p=s.getHelperDimensions,Z=s.helperClass,E=s.hideSortableGhost,O=s.updateBeforeSortStart,S=s.onSortStart,g=s.useWindowAsScrollContainer,C=o.node,R=o.collection,w=e.manager.isKeySorting,A=function(){if(typeof O=="function"){e._awaitingUpdateBeforeSortStart=!0;var G=Be(function(){var I=C.sortableInfo.index;return Promise.resolve(O({collection:R,index:I,node:C,isKeySorting:w},i)).then(function(){})},function(I,T){if(e._awaitingUpdateBeforeSortStart=!1,I)throw T;return T});if(G&&G.then)return G.then(function(){})}}();return A&&A.then?A.then(a):a(A)}}();return Promise.resolve(c&&c.then?c.then(function(){}):void 0)}catch(a){return Promise.reject(a)}}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"handleSortMove",function(i){var o=e.props.onSortMove;typeof i.preventDefault=="function"&&i.cancelable&&i.preventDefault(),e.updateHelperPosition(i),e.animateNodes(),e.autoscroll(),o&&o(i)}),(0,b.Z)((0,h.Z)((0,h.Z)(e)),"handleSortEnd",function(i){var o=e.props,c=o.hideSortableGhost,a=o.onSortEnd,s=e.manager,v=s.active.collection,p=s.isKeySorting,Z=e.manager.getOrderedRefs();e.listenerNode&&(p?(e.listenerNode.removeEventListener("wheel",e.handleKeyEnd,!0),e.listenerNode.removeEventListener("mousedown",e.handleKeyEnd,!0),e.listenerNode.removeEventListener("keydown",e.handleKeyDown)):(F.move.forEach(function(C){return e.listenerNode.removeEventListener(C,e.handleSortMove)}),F.end.forEach(function(C){return e.listenerNode.removeEventListener(C,e.handleSortEnd)}))),e.helper.parentNode.removeChild(e.helper),c&&e.sortableGhost&&ee(e.sortableGhost,{opacity:"",visibility:""});for(var E=0,O=Z.length;Ec)){e.prevIndex=s,e.newIndex=a;var v=Ie(e.newIndex,e.prevIndex,e.index),p=o.find(function(w){var A=w.node;return A.sortableInfo.index===v}),Z=p.node,E=e.containerScrollDelta,O=p.boundingClientRect||se(Z,E),S=p.translate||{x:0,y:0},g={top:O.top+S.y-E.top,left:O.left+S.x-E.left},C=sR?R/2:this.height/2,width:this.width>C?C/2:this.width/2},A=p&&g>this.index&&g<=Z,G=p&&g=Z,I={x:0,y:0},T=s[E].edgeOffset;T||(T=ne(S,this.container),s[E].edgeOffset=T,p&&(s[E].boundingClientRect=se(S,c)));var k=E0&&s[E-1];if(k&&!k.edgeOffset&&(k.edgeOffset=ne(k.node,this.container),p&&(k.boundingClientRect=se(k.node,c))),g===this.index){i&&(this.sortableGhost=S,ee(S,{opacity:0,visibility:"hidden"}));continue}x&&oe(S,x),this.axis.x?this.axis.y?G||gthis.containerBoundingRect.width-w.width&&k&&(I.x=k.edgeOffset.left-T.left,I.y=k.edgeOffset.top-T.top),this.newIndex===null&&(this.newIndex=g)):(A||g>this.index&&(v.left+a.left+w.width>=T.left&&v.top+a.top+w.height>=T.top||v.top+a.top+w.height>=T.top+R))&&(I.x=-(this.width+this.marginOffset.x),T.left+I.xthis.index&&v.left+a.left+w.width>=T.left?(I.x=-(this.width+this.marginOffset.x),this.newIndex=g):(G||gthis.index&&v.top+a.top+w.height>=T.top?(I.y=-(this.height+this.marginOffset.y),this.newIndex=g):(G||g1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return r=n=function(y){(0,H.Z)(f,y);function f(){var d,e;(0,_.Z)(this,f);for(var x=arguments.length,i=new Array(x),o=0;o0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return j()(u.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var e=u.withRef?this.wrappedInstance:null;return(0,P.createElement)(t,(0,W.Z)({ref:e},le(this.props,He)))}}]),f}(P.Component),(0,b.Z)(n,"displayName",ae("sortableElement",t)),(0,b.Z)(n,"contextType",ve),(0,b.Z)(n,"propTypes",me),(0,b.Z)(n,"defaultProps",{collection:0}),r}},62748:function(q,N,m){m.d(N,{q:function(){return K}});function W(D,_,M){const B=_<0?D.length+_:_;if(B>=0&&BN in r?A(r,N,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[N]=s,u=(r,N)=>{for(var s in N||(N={}))T.call(N,s)&&a(r,s,N[s]);if(x)for(var s of x(N))j.call(N,s)&&a(r,s,N[s]);return r};const W=r=>React.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},r),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var Q="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",S=e(85893),w=function(r){var N=r.user,s=r.size,v=s===void 0?24:s,k=r.marginLeft,z=k===void 0?6:k;return N===void 0?(0,S.jsx)(I.C,{size:v,src:Q,alt:"avatar"}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(I.C,{size:v,className:y.avatar,src:N.avatar||n.Z.AVATAR_URL,alt:"avatar"}),(0,S.jsx)(c.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:N.deleted_at?(0,S.jsx)("del",{children:(0,S.jsx)("a",{style:{marginLeft:z,fontSize:13,color:"#ccc"},href:"/#/member/".concat(N.id),rel:"noreferrer",children:N.name})}):(0,S.jsx)("a",{onClick:function(G){G.stopPropagation()},style:{marginLeft:z,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(N.id),rel:"noreferrer",children:N.name})})]})}},1633:function(L,l,e){"use strict";e.d(l,{Z:function(){return a4}});var g=e(97857),I=e.n(g),c=e(53239),y=e.n(c),n=e(49332),A=e.n(n),x=e(77136),T=e.n(x),j=e(51612),a=e.n(j),u=e(42692),W=e.n(u),Q=e(57787),S=e.n(Q),w=e(76381),r=e.n(w),N=e(24203),s=e.n(N),v=e(95910),k=e.n(v),z=e(59760),_=e.n(z),G=e(42270),C=e.n(G),f=e(32437),J=e.n(f),p=e(90787),P=e.n(p),B=e(61970),F=e.n(B),U=e(76588),l4=e.n(U),g4=e(67294),M4=e(24315),t4=e(85893);function a4($){return(0,t4.jsx)(M4.Z,I()(I()({},$),{},{theme:$.theme||"material-one-dark"}))}},24315:function(L,l,e){"use strict";e.d(l,{Z:function(){return v}});var g=e(12444),I=e.n(g),c=e(72004),y=e.n(c),n=e(31996),A=e.n(n),x=e(26037),T=e.n(x),j=e(67294),a=e(74981),u=e(82679),W=e(41612),Q=e(68991),S=e(84360),w=e(90252),r=e(12477),N=e(79253),s=e(85893),v=function(k){A()(_,k);var z=T()(_);function _(){return I()(this,_),z.apply(this,arguments)}return y()(_,[{key:"componentDidMount",value:function(){var C=this;this.props.setEditor(this.refs),(0,u.addCompleter)({getCompletions:function(J,p,P,B,F){F(null,(C.props.tables||[]).map(function(U){return{name:U,value:U}}))}})}},{key:"render",value:function(){var C=this.props,f=C.value,J=C.language,p=C.onChange,P=C.height,B=C.readOnly,F=C.theme,U=C.useWorker;return(0,s.jsx)(a.ZP,{ref:"aceEditor",mode:J||"json",theme:F||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:p,value:f,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:P||300},setOptions:{readOnly:B||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!1}})}}]),_}(j.Component)},37594:function(L,l,e){"use strict";e.d(l,{B:function(){return c}});var g=e(91321),I="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",c=(0,g.Z)({scriptUrl:I})},44413:function(L,l,e){"use strict";var g=e(97857),I=e.n(g),c=e(83062),y=e(85893);l.Z=function(n){var A=n.icon,x=n.title,T=n.font,j=n.style,a=n.onClick;return(0,y.jsx)(c.Z,{title:x,children:(0,y.jsx)("span",{onClick:a,style:I()({cursor:"pointer",fontSize:T},j),children:A})})}},26838:function(L,l,e){"use strict";e.d(l,{Z:function(){return Q4}});var g=e(19632),I=e.n(g),c=e(15009),y=e.n(c),n=e(99289),A=e.n(n),x=e(97857),T=e.n(x),j=e(5574),a=e.n(j),u=e(14e3),W=e(34041),Q=e(93980),S=e(2453),w=e(75081),r=e(71230),N=e(15746),s=e(4393),v=e(32983),k=e(64240),z=e(67294),_=e(94171),G=e(1633),C=e(21237),f=e(73505),J=e(51767),p=e(37594),P=e(44413),B=e(19478),F=e(74855),U=e(86452),l4=e(39169),g4=e(15771),M4=e(80936),t4=e(81588),a4=e(43419),$=e(25514),_4=e(51904),v4=e(53575),Y4=e(12554),t=e(85893),k4=$.Z.Text,p4=function(o){var E=o.dispatch,Y=o.user,V=o.online,I4=o.loading,Z=V.historyPage,j4=V.historyData,X=Y.userMap;(0,z.useEffect)(function(){Object.keys(X).length===0&&E({type:"user/fetchUserList"})},[]);var u4=[{title:"\u73AF\u5883",key:"env",render:function(m,K){return(0,t.jsx)(_4.Z,{children:K.database.env_info.name})}},{title:"\u6570\u636E\u5E93",key:"database",render:function(m,K){return K.database.name}},{title:"SQL",dataIndex:"sql",ellipse:!0,render:function(m){return(0,t.jsx)(k4,{copyable:!0,ellipsis:!0,children:m})}},{title:"\u8017\u65F6",dataIndex:"elapsed",render:function(m){return(0,t.jsx)(v4.Z,{status:m>200?"error":"success",text:"".concat(m,"ms")})}},{title:"\u6267\u884C\u4EBA",dataIndex:"create_user",render:function(m){return(0,t.jsx)(Y4.Z,{user:X[m]})}},{title:"\u6267\u884C\u65F6\u95F4",dataIndex:"created_at"}],H=function(){E({type:"online/fetchHistorySQL",payload:{page:Z.current,size:Z.pageSize}})};return(0,z.useEffect)(function(){H()},[Z.current,Z.pageSize]),(0,t.jsx)(k.Z,{size:"small",columns:u4,pagination:Z,dataSource:j4,loading:I4.effects["online/fetchHistorySQL"],onChange:function(m){E({type:"online/save",payload:{historyPage:T()(T()({},Z),{},{current:m.current,pageSize:m.pageSize})}})},rowKey:function(m){return m.id}})},h4=(0,_.connect)(function(h){var o=h.user,E=h.loading,Y=h.online;return{user:o,loading:E,online:Y}})(p4),Z4=u.Z.DirectoryTree,c4=W.Z.Option,s4=Q.Z.TabPane,R4=function(o){var E=o.online,Y=o.dispatch,V=o.loading,I4=o.leftHeight,Z=o.cardHeight,j4=o.tableHeight,X=o.imageHeight,u4=o.editorHeight,H=E.databaseSource,d=E.testResults,m=E.tables,K=E.table_map,i4=E.sqlColumns,q=E.currentDatabase,G4=E.currentDatabaseSqlType,U4=E.currentDatabaseTitle,b4=(0,z.useState)(null),y4=a()(b4,2),W4=y4[0],w4=y4[1],f4=(0,z.useState)("mysql"),D4=a()(f4,2),r4=D4[0],P4=D4[1],B4=(0,z.useState)(""),o4=a()(B4,2),e4=o4[0],F4=o4[1],V4=(0,z.useState)("material-one-dark"),T4=a()(V4,2),z4=T4[0],H4=T4[1],J4=(0,z.useState)({current:1,total:d.length,pageSize:4,pageSizeOptions:[4,10,50],showTotal:function(M){return"\u5171".concat(M,"\u6761\u6570\u636E")}}),E4=a()(J4,2),L4=E4[0],A4=E4[1];(0,z.useEffect)(function(){Y({type:"online/fetchDatabaseSource"})},[]),(0,z.useEffect)(function(){$4(H)},[H]);var m4=function(M){Y({type:"online/save",payload:T()({},M)})},X4=function(){return i4.map(function(M){return{title:M,key:M,dataIndex:M,render:function(R){return R===null?(0,t.jsx)("span",{style:{fontWeight:"100"},children:""}):R}}})},K4=function D(M){for(var i in M)M[i].key.indexOf("column")>-1?(M[i].icon=M[i].primary_key?(0,t.jsx)(l4.Z,{theme:"outline",size:"15",fill:"#f8e725",style:{marginRight:2}}):(0,t.jsx)(g4.Z,{theme:"outline",size:"15",fill:"#333",style:{marginRight:2}}),M[i].title=(0,t.jsxs)("span",{children:[M[i].title," ",(0,t.jsx)("span",{style:{fontSize:12,fontWeight:200,marginLeft:8},children:M[i].type})]})):M[i].key.indexOf("table")>-1?M[i].icon=(0,t.jsx)(M4.Z,{theme:"outline",size:"15",fill:"#7ed321",style:{marginRight:2}}):M[i].key.indexOf("database")>-1&&(M[i].icon=(0,t.jsx)(p.B,{style:{fontSize:15,marginRight:2},type:M[i].sql_type===0?"icon-mysql6":"icon-PostgreSQL"})),M[i].children!==void 0&&M[i].children.length>0&&D(M[i].children)},$4=function(M){K4(M),m4({databaseSource:M})},q4=function(){if(!e4){S.ZP.warning("\u8BF7\u8F93\u5165sql\u8BED\u53E5!!!");return}var M=W4.aceEditor.editor.getSelectedText(),i=M||e4;Y({type:"online/onlineExecuteSQL",payload:{id:q,sql:i}}),A4(T()(T()({},L4),{},{current:1}))},e0=function(){var D=A()(y()().mark(function M(i){return y()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,Y({type:"online/fetchTables",payload:i});case 2:return O.abrupt("return",O.sent);case 3:case"end":return O.stop()}},M)}));return function(i){return D.apply(this,arguments)}}(),M0=function(M){var i=M.key,R=M.children,O=M.data,a0=M.title,c0=M.sql_type;return new Promise(function(){var I0=A()(y()().mark(function x4(S4){var C4,N4;return y()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(!(!i.startsWith("database_")||!R)){b.next=3;break}return S4(),b.abrupt("return");case 3:return b.next=5,e0(O);case 5:C4=b.sent,N4=I()(H),N4.forEach(function(d4){var n4,O4=(n4=d4.children)===null||n4===void 0?void 0:n4.findIndex(function(j0){return j0.key==="database_".concat(O.id)});O4>-1&&(d4.children[O4].children=C4)}),Y({type:"online/save",payload:{databaseSource:N4,currentDatabaseTitle:a0,currentDatabaseSqlType:c0}}),S4();case 10:case"end":return b.stop()}},x4)}));return function(x4){return I0.apply(this,arguments)}}())},t0=q===null?null:(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{style:{marginRight:8},children:"\u6A21\u5F0F"}),(0,t.jsxs)(W.Z,{size:"small",style:{width:90,marginRight:12},value:r4,onSelect:function(M){return P4(M)},children:[(0,t.jsx)(c4,{value:"mysql",children:"MySQL"},"mysql"),(0,t.jsx)(c4,{value:"psql",children:"Postgres"},"psql")]}),(0,t.jsx)("span",{style:{marginRight:8},children:"\u4E3B\u9898 "}),(0,t.jsx)(W.Z,{size:"small",style:{marginRight:16,width:170},value:z4,onSelect:function(M){H4(M)},children:B.Z.EDITOR_THEME.map(function(D){return(0,t.jsx)(c4,{value:D,children:D})})}),(0,t.jsx)(P.Z,{icon:(0,t.jsx)(f.Z,{twoToneColor:"#67C23A"}),title:"\u70B9\u51FB\u53EF\u6267\u884C\u5168\u90E8SQL\uFF0C\u5982\u679C\u9009\u4E2DSQL\u5219\u6267\u884C\u9009\u4E2D\u7684SQL",font:13,style:{marginRight:16},onClick:q4}),(0,t.jsx)(P.Z,{icon:(0,t.jsx)(F.CopyToClipboard,{text:e4,onCopy:function(){S.ZP.success("\u590D\u5236SQL\u6210\u529F")},children:(0,t.jsx)(J.Z,{})}),title:"\u70B9\u51FB\u53EF\u590D\u5236\u5168\u90E8SQL",font:13,style:{marginRight:48}})]})});return(0,t.jsx)(w.Z,{spinning:!!(V.effects["online/fetchDatabaseSource"]||V.effects["online/onlineExecuteSQL"]),tip:"\u6570\u636E\u52A0\u8F7D\u4E2D, \u8BF7\u8010\u5FC3\u7B49\u5F85...",size:"large",children:(0,t.jsxs)(r.Z,{gutter:12,children:[(0,t.jsx)(N.Z,{span:8,style:{display:"table-cell"},children:(0,t.jsx)(s.Z,{title:"\u6570\u636E\u5E93\u5217\u8868",bodyStyle:{height:I4||676,overflowY:"auto"},size:"small",children:(0,t.jsx)(Z4,{treeData:H,loadData:M0,onSelect:function(M,i){if(M.length>0&&M[0].indexOf("database_")===0){var R=parseInt(M[0].split("_")[1],10),O=Array.from(new Set(K[R]));m4({tables:O,currentDatabase:R,currentDatabaseTitle:i.node.title,currentDatabaseSqlType:i.node.sql_type})}}})})}),(0,t.jsxs)(N.Z,{span:16,style:{display:"table-cell"},children:[(0,t.jsx)(s.Z,{bodyStyle:{height:Z||288,overflowY:"auto",padding:0},title:q!==null?(0,t.jsxs)("span",{children:[(0,t.jsx)(p.B,{style:{fontSize:14,marginRight:4},type:G4===0?"icon-mysql6":"icon-PostgreSQL"}),U4]}):(0,t.jsx)(p.B,{type:"icon-sharpicons_database"}),size:"small",extra:t0,children:q!==null?(0,t.jsx)(G.Z,{height:u4||280,tables:m,setEditor:w4,language:r4,theme:z4,value:e4,onChange:function(M){F4(M)}}):(0,t.jsx)(v.Z,{image:C.Z,imageStyle:{height:X||190,marginTop:32},description:"\u9009\u4E2D\u5DE6\u4FA7\u7684\u300E\u6570\u636E\u5E93\u8FDE\u63A5\u300F\u5F00\u542Fsql\u4E4B\u65C5\u5427~"})}),(0,t.jsx)(s.Z,{style:{marginTop:12},bodyStyle:{height:j4||370,overflowY:"auto",padding:"8px 24px"},children:(0,t.jsxs)(Q.Z,{defaultActiveKey:"1",children:[(0,t.jsx)(s4,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(t4.Z,{theme:"outline",size:"13",fill:"#333"})," \u6267\u884C\u7ED3\u679C"]}),children:d.length===0?(0,t.jsx)(v.Z,{image:U.Z,imageStyle:{height:X||180},description:"\u6CA1\u6709\u300E\u67E5\u8BE2\u7ED3\u679C\u300F\u54E6, \u5FEB\u53BB\u6267\u884CSQL\u5427~"}):(0,t.jsx)(k.Z,{columns:X4(i4),dataSource:d,size:"small",scroll:{x:i4.length>8?2e3:1e3,y:190},bordered:!0,pagination:L4,onChange:function(M){return A4(T()(T()({},L4),{},{current:M.current,pageSize:M.pageSize}))},rowKey:function(M,i){return M.id||i},loading:V.effects["online/onlineExecuteSQL"]})},"1"),(0,t.jsx)(s4,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(a4.Z,{theme:"outline",size:"13",fill:"#333"})," \u5386\u53F2\u8BB0\u5F55"]}),children:(0,t.jsx)(h4,{})},"2")]})})]})]})})},Q4=(0,_.connect)(function(h){var o=h.online,E=h.loading;return{loading:E,online:o}})(R4)},86452:function(L,l,e){"use strict";var g=e(67294),I=Object.defineProperty,c=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,A=(j,a,u)=>a in j?I(j,a,{enumerable:!0,configurable:!0,writable:!0,value:u}):j[a]=u,x=(j,a)=>{for(var u in a||(a={}))y.call(a,u)&&A(j,u,a[u]);if(c)for(var u of c(a))n.call(a,u)&&A(j,u,a[u]);return j};const T=j=>React.createElement("svg",x({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.17 116.842c9.442-1.528 13.264-2.678 22.483-11.608 9.22-8.93 18.568 4.098 32.432-1.133 13.864-5.23 15.131-11.564 36.337 7.836 9.775 8.245 17.55 4.981 22.341 8.245 3.194 2.176 6.273 7.54 9.237 16.092H61.17c-9.78-3.421-14.67-6.262-14.67-8.523 0-3.393 5.227-9.381 14.67-10.909Z",fill:"url(#NoData_svg__a)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M208.17 130.342c9.442-1.528 13.264-2.678 22.483-11.608 9.219-8.93 18.568 4.098 32.432-1.133 13.864-5.23 15.131-11.563 36.337 7.836 9.775 8.245 17.55 4.981 22.341 8.245 3.194 2.176 6.273 7.54 9.237 16.092H208.17c-9.78-3.421-14.67-6.262-14.67-8.523 0-3.393 5.227-9.381 14.67-10.909Z",fill:"url(#NoData_svg__b)"}),React.createElement("path",{opacity:.4,fillRule:"evenodd",clipRule:"evenodd",d:"m113.022 125.932 79.234-15.432a1.598 1.598 0 0 1 1.876 1.265l18.362 94.651a1.602 1.602 0 0 1-1.265 1.876l-79.235 15.431a1.598 1.598 0 0 1-1.876-1.263l.001-.002-18.363-94.65a1.603 1.603 0 0 1 1.266-1.876Z",fill:"url(#NoData_svg__c)"}),React.createElement("path",{opacity:.4,fillRule:"evenodd",clipRule:"evenodd",d:"m285.806 129.463-77.968-20.931a1.597 1.597 0 0 0-1.959 1.131L180.971 202.8c-.227.853.28 1.73 1.132 1.96l77.968 20.932a1.599 1.599 0 0 0 1.96-1.129l-.001-.002 24.908-93.137a1.607 1.607 0 0 0-1.132-1.961Z",fill:"url(#NoData_svg__d)"}),React.createElement("path",{d:"M245.951 82.302h-96.23a1.6 1.6 0 0 0-1.6 1.6v133.324a1.6 1.6 0 0 0 1.6 1.6h96.23a1.6 1.6 0 0 0 1.6-1.6V83.902a1.6 1.6 0 0 0-1.6-1.6Z",fill:"url(#NoData_svg__e)"}),React.createElement("path",{d:"M167.663 106.102h-4.877a3.203 3.203 0 0 0-3.203 3.204v4.898a3.203 3.203 0 0 0 3.203 3.203h4.877a3.203 3.203 0 0 0 3.203-3.203v-4.898a3.203 3.203 0 0 0-3.203-3.204Z",fill:"url(#NoData_svg__f)"}),React.createElement("path",{d:"M234.949 106.102h-56.224a.8.8 0 0 0-.8.8v9.705a.8.8 0 0 0 .8.8h56.224a.8.8 0 0 0 .8-.8v-9.705a.8.8 0 0 0-.8-.8Z",fill:"url(#NoData_svg__g)"}),React.createElement("path",{d:"M167.663 128.711h-4.877a3.203 3.203 0 0 0-3.203 3.203v4.898a3.203 3.203 0 0 0 3.203 3.204h4.877a3.203 3.203 0 0 0 3.203-3.204v-4.898a3.203 3.203 0 0 0-3.203-3.203Z",fill:"url(#NoData_svg__h)"}),React.createElement("path",{d:"M234.942 128.711h-56.225a.8.8 0 0 0-.8.8v9.705c0 .441.359.8.8.8h56.225c.441 0 .8-.359.8-.8v-9.705a.8.8 0 0 0-.8-.8Z",fill:"url(#NoData_svg__i)"}),React.createElement("path",{d:"M167.663 151.023h-4.877a3.203 3.203 0 0 0-3.203 3.204v4.898a3.203 3.203 0 0 0 3.203 3.203h4.877a3.203 3.203 0 0 0 3.203-3.203v-4.898a3.203 3.203 0 0 0-3.203-3.204Z",fill:"url(#NoData_svg__j)"}),React.createElement("path",{d:"M234.942 151.023h-56.225a.8.8 0 0 0-.8.8v9.705a.8.8 0 0 0 .8.8h56.225a.8.8 0 0 0 .8-.8v-9.705a.8.8 0 0 0-.8-.8Z",fill:"url(#NoData_svg__k)"}),React.createElement("path",{d:"M218.449 75.274h-40.521a1.6 1.6 0 0 0-1.6 1.6v11.637a1.6 1.6 0 0 0 1.6 1.6h40.521a1.6 1.6 0 0 0 1.6-1.6V76.874a1.6 1.6 0 0 0-1.6-1.6Z",fill:"url(#NoData_svg__l)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M206.011 238.774c89.653 0 40.873-4.974 57.96-8.105 15.371-2.816 37.529-3.588 37.529-7.38 0-8.008-40.254-13.515-95.489-13.515-55.234 0-100.011 6.492-100.011 14.5s44.777 14.5 100.011 14.5Z",fill:"url(#NoData_svg__m)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.081 180.212c-.749 3.776-.397 5.996 1.056 6.661 1.902.8.106 2.831-.278 3.034-.257.136-.043.468.64.997 1.203.641 2.087.897 2.652.766.565-.13 1.254-.773 2.068-1.927-1.515-1.1-2.043-1.982-1.582-2.646.46-.665 1.159-1.358 2.097-2.08.911-.704.876-1.24-.105-1.607.237-.666.325-1.426.264-2.279l-3.193-.919-3.25-.716-.369.716Z",fill:"url(#NoData_svg__n)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M240.775 226.124c-1.717 1.243-2.935 1.897-3.655 1.96-1.079.094-1.581 1.081-.533 1.498 1.048.417 4.199-.593 5.022-.666.824-.072 2.968.031 1.957-2.184-.675-1.476-1.229-2.081-1.662-1.814l-1.197.428.068.778Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M245.148 227.993c-1.759 1.183-2.999 1.793-3.72 1.831-1.082.057-1.618 1.025-.585 1.478 1.032.454 4.216-.445 5.042-.489.825-.043 2.965.134 2.031-2.114-.623-1.499-1.155-2.123-1.597-1.872l-.829-.207-.342 1.373Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M254.217 181.07c3.111-.895 3.938.48 3.938 1.062 0 .387-.098 1.03-.294 1.928.382-.172.652-.303.808-.392.955-.545 1.586-1.512 1.811-2.265.421-1.407-.815-4.391-4.02-3.946-1.117-.214-1.294-1.875-3.235-.853-1.942 1.022-2.596.236-2.596 1.284s.08 4.277 3.588 3.182Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M243.989 196.737c-6.335 7.547-6.634 12.592-.896 15.133 5.349 2.364 8.606 1.165 8.606 0 0-1.166-3.201-2.235-6.348-4.107-2.098-1.248-.808-4.235 3.87-8.962l-5.232-2.064Z",fill:"#FFC5B3"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M244.573 226.946c3.852-19.492 7.815-27.654 11.887-24.486 4.072 3.168 6.661 7.992 7.767 14.473.045.198 1.005.071 2.881-.379 1.875-.45 2.934-.323 3.177.379 0 5.699-2.572 8.76-7.717 9.181-11.929.977-7.022-5.849-7.022-12.885 0 5.623-7.68 13.021-7.68 14.343-1.864.322-2.962.113-3.293-.626Z",fill:"#5C5CBB"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.807 189.743c1.07 0 1.602 2.139 5.412 0 1.173-.072 5.486 1.792 9.319 7.457 2.555 3.778 3.689 10.355 3.401 19.733-.528.878-2.566 1.317-6.112 1.317-3.547 0-5.75-3.983-6.608-11.95-5.289-2.366-8.92-4.062-10.893-5.09-2.958-1.541-5.011-2.588-5.617-3.53-.606-.943 1.795-2.747 4.415-4.85 2.628-2.108 6.208-3.087 6.683-3.087Z",fill:"url(#NoData_svg__o)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M248.224 213.492c1.765-8.661 4.068-12.56 6.908-11.697 4.26 1.295 5.062 16.333 4.655 16.999-.272.444-4.126-1.323-11.563-5.302Z",fill:"#5C5CBB"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M255.002 209.921c-3.911-8.98-7.163-11.225-9.754-6.735-2.592 4.49-4.31 12.108-5.156 22.852h4.293l3.162-12.397c.91 9.495 6.072 13.628 15.485 12.397 2.881-1.563.205-6.935-8.03-16.117Z",fill:"#5C5CBB"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M260.189 201.795c-2.186 6.574-3.733 9.861-4.644 9.861-1.067 0-6.975-.947-10.194-2.481-.897-.427-.82-1.757-2.254-2.459-1.353-.662-6.449.266-1.836 3.655 4.613 3.388 13.037 6.665 16.168 6.125 3.131-.541 7.234-6.936 8.078-12.06.303-1.319-1.347-1.685-4.947-1.099l-.371-1.542Z",fill:"url(#NoData_svg__p)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M259.963 194.423c-1.216 5.943-1.718 9.077-1.506 9.403.318.489 6.807 2.719 7.495 2.452 1.248-.475 1.406-6.058.85-9.541-.37-2.321-2.65-3.093-6.839-2.314Z",fill:"url(#NoData_svg__q)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M109.418 208.012h1.408a.9.9 0 0 1 .9.9v14.553a.9.9 0 0 1-.9.9h-1.408a.9.9 0 0 1-.9-.9v-14.553a.9.9 0 0 1 .9-.9Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.833 188.502c-2.978 6.11-13.235 24.848 1.136 26.946 14.372 2.098 13.731-10.374 11.21-14.838-2.52-4.463-5.366-6.962-5.366-12.108 0-5.145-4.001-6.109-6.98 0Z",fill:"url(#NoData_svg__r)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M287.373 206.974h.869a.45.45 0 0 1 .45.45v7.9a.45.45 0 0 1-.45.45h-.869a.45.45 0 0 1-.45-.45v-7.9a.45.45 0 0 1 .45-.45Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M286.125 196.143c-1.705 3.424-7.576 13.923.65 15.099 8.226 1.176 7.859-5.813 6.417-8.314-1.443-2.501-3.072-3.901-3.072-6.785 0-2.883-2.29-3.423-3.995 0Z",fill:"url(#NoData_svg__s)"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"NoData_svg__a",x1:115.25,y1:102.307,x2:115.25,y2:136.274,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F6F6F7"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFF",stopOpacity:.07})),React.createElement("linearGradient",{id:"NoData_svg__b",x1:302.916,y1:129.936,x2:298.235,y2:138.965,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F6F6F7"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFF",stopOpacity:.07})),React.createElement("linearGradient",{id:"NoData_svg__c",x1:166.094,y1:131.242,x2:142.074,y2:232.04,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E2E3E9"})),React.createElement("linearGradient",{id:"NoData_svg__d",x1:232.493,y1:131.05,x2:249.43,y2:233.287,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E2E2E9"})),React.createElement("linearGradient",{id:"NoData_svg__e",x1:207.338,y1:103.359,x2:157.335,y2:230.867,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:.982,stopColor:"#E3E3EA"}),React.createElement("stop",{offset:1,stopColor:"#E2E2E9"})),React.createElement("linearGradient",{id:"NoData_svg__f",x1:162.344,y1:107.394,x2:167.916,y2:117.398,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAC251"}),React.createElement("stop",{offset:1,stopColor:"#FFE7D6",stopOpacity:.69})),React.createElement("linearGradient",{id:"NoData_svg__g",x1:206.837,y1:106.102,x2:206.837,y2:117.407,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoData_svg__h",x1:162.344,y1:130.003,x2:167.916,y2:140.007,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAC251"}),React.createElement("stop",{offset:1,stopColor:"#FFE7D6",stopOpacity:.69})),React.createElement("linearGradient",{id:"NoData_svg__i",x1:206.83,y1:128.711,x2:206.83,y2:140.016,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoData_svg__j",x1:162.344,y1:152.315,x2:167.916,y2:162.319,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAC251"}),React.createElement("stop",{offset:1,stopColor:"#FFE7D6",stopOpacity:.69})),React.createElement("linearGradient",{id:"NoData_svg__k",x1:206.83,y1:151.023,x2:206.83,y2:162.328,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoData_svg__l",x1:198.189,y1:90.111,x2:198.189,y2:75.274,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEF"}),React.createElement("stop",{offset:1,stopColor:"#DFDFE5"})),React.createElement("linearGradient",{id:"NoData_svg__m",x1:140.131,y1:224.198,x2:273.577,y2:235.137,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EDEDF2"}),React.createElement("stop",{offset:1,stopColor:"#F9F9FC",stopOpacity:.88})),React.createElement("linearGradient",{id:"NoData_svg__n",x1:254.018,y1:182.424,x2:257.247,y2:187.785,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoData_svg__o",x1:266.785,y1:217.427,x2:256.817,y2:193.111,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#6E6EE9"}),React.createElement("stop",{offset:1,stopColor:"#5B5BEA"})),React.createElement("linearGradient",{id:"NoData_svg__p",x1:233.283,y1:207.586,x2:258.365,y2:217.606,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoData_svg__q",x1:262.759,y1:195.098,x2:262.759,y2:202.011,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#4949E2",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#4949E2"})),React.createElement("linearGradient",{id:"NoData_svg__r",x1:110.546,y1:184.274,x2:110.546,y2:215.684,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"})),React.createElement("linearGradient",{id:"NoData_svg__s",x1:288.25,y1:193.774,x2:288.25,y2:211.374,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"}))));l.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYxLjE3IDExNi44NDJjOS40NDItMS41MjggMTMuMjY0LTIuNjc4IDIyLjQ4My0xMS42MDggOS4yMi04LjkzIDE4LjU2OCA0LjA5OCAzMi40MzItMS4xMzMgMTMuODY0LTUuMjMgMTUuMTMxLTExLjU2NCAzNi4zMzcgNy44MzYgOS43NzUgOC4yNDUgMTcuNTUgNC45ODEgMjIuMzQxIDguMjQ1IDMuMTk0IDIuMTc2IDYuMjczIDcuNTQgOS4yMzcgMTYuMDkySDYxLjE3Yy05Ljc4LTMuNDIxLTE0LjY3LTYuMjYyLTE0LjY3LTguNTIzIDAtMy4zOTMgNS4yMjctOS4zODEgMTQuNjctMTAuOTA5WiIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjA4LjE3IDEzMC4zNDJjOS40NDItMS41MjggMTMuMjY0LTIuNjc4IDIyLjQ4My0xMS42MDggOS4yMTktOC45MyAxOC41NjggNC4wOTggMzIuNDMyLTEuMTMzIDEzLjg2NC01LjIzIDE1LjEzMS0xMS41NjMgMzYuMzM3IDcuODM2IDkuNzc1IDguMjQ1IDE3LjU1IDQuOTgxIDIyLjM0MSA4LjI0NSAzLjE5NCAyLjE3NiA2LjI3MyA3LjU0IDkuMjM3IDE2LjA5MkgyMDguMTdjLTkuNzgtMy40MjEtMTQuNjctNi4yNjItMTQuNjctOC41MjMgMC0zLjM5MyA1LjIyNy05LjM4MSAxNC42Ny0xMC45MDlaIiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggb3BhY2l0eT0iLjQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMTEzLjAyMiAxMjUuOTMyIDc5LjIzNC0xNS40MzJhMS41OTggMS41OTggMCAwIDEgMS44NzYgMS4yNjVsMTguMzYyIDk0LjY1MWExLjYwMiAxLjYwMiAwIDAgMS0xLjI2NSAxLjg3NmwtNzkuMjM1IDE1LjQzMWExLjU5OCAxLjU5OCAwIDAgMS0xLjg3Ni0xLjI2M2wuMDAxLS4wMDItMTguMzYzLTk0LjY1YTEuNjAzIDEuNjAzIDAgMCAxIDEuMjY2LTEuODc2WiIgZmlsbD0idXJsKCNjKSIvPjxwYXRoIG9wYWNpdHk9Ii40IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibTI4NS44MDYgMTI5LjQ2My03Ny45NjgtMjAuOTMxYTEuNTk3IDEuNTk3IDAgMCAwLTEuOTU5IDEuMTMxTDE4MC45NzEgMjAyLjhjLS4yMjcuODUzLjI4IDEuNzMgMS4xMzIgMS45Nmw3Ny45NjggMjAuOTMyYTEuNTk5IDEuNTk5IDAgMCAwIDEuOTYtMS4xMjlsLS4wMDEtLjAwMiAyNC45MDgtOTMuMTM3YTEuNjA3IDEuNjA3IDAgMCAwLTEuMTMyLTEuOTYxWiIgZmlsbD0idXJsKCNkKSIvPjxwYXRoIGQ9Ik0yNDUuOTUxIDgyLjMwMmgtOTYuMjNhMS42IDEuNiAwIDAgMC0xLjYgMS42djEzMy4zMjRhMS42IDEuNiAwIDAgMCAxLjYgMS42aDk2LjIzYTEuNiAxLjYgMCAwIDAgMS42LTEuNlY4My45MDJhMS42IDEuNiAwIDAgMC0xLjYtMS42WiIgZmlsbD0idXJsKCNlKSIvPjxwYXRoIGQ9Ik0xNjcuNjYzIDEwNi4xMDJoLTQuODc3YTMuMjAzIDMuMjAzIDAgMCAwLTMuMjAzIDMuMjA0djQuODk4YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzIDMuMjAzaDQuODc3YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzLTMuMjAzdi00Ljg5OGEzLjIwMyAzLjIwMyAwIDAgMC0zLjIwMy0zLjIwNFoiIGZpbGw9InVybCgjZikiLz48cGF0aCBkPSJNMjM0Ljk0OSAxMDYuMTAyaC01Ni4yMjRhLjguOCAwIDAgMC0uOC44djkuNzA1YS44LjggMCAwIDAgLjguOGg1Ni4yMjRhLjguOCAwIDAgMCAuOC0uOHYtOS43MDVhLjguOCAwIDAgMC0uOC0uOFoiIGZpbGw9InVybCgjZykiLz48cGF0aCBkPSJNMTY3LjY2MyAxMjguNzExaC00Ljg3N2EzLjIwMyAzLjIwMyAwIDAgMC0zLjIwMyAzLjIwM3Y0Ljg5OGEzLjIwMyAzLjIwMyAwIDAgMCAzLjIwMyAzLjIwNGg0Ljg3N2EzLjIwMyAzLjIwMyAwIDAgMCAzLjIwMy0zLjIwNHYtNC44OThhMy4yMDMgMy4yMDMgMCAwIDAtMy4yMDMtMy4yMDNaIiBmaWxsPSJ1cmwoI2gpIi8+PHBhdGggZD0iTTIzNC45NDIgMTI4LjcxMWgtNTYuMjI1YS44LjggMCAwIDAtLjguOHY5LjcwNWMwIC40NDEuMzU5LjguOC44aDU2LjIyNWMuNDQxIDAgLjgtLjM1OS44LS44di05LjcwNWEuOC44IDAgMCAwLS44LS44WiIgZmlsbD0idXJsKCNpKSIvPjxwYXRoIGQ9Ik0xNjcuNjYzIDE1MS4wMjNoLTQuODc3YTMuMjAzIDMuMjAzIDAgMCAwLTMuMjAzIDMuMjA0djQuODk4YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzIDMuMjAzaDQuODc3YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzLTMuMjAzdi00Ljg5OGEzLjIwMyAzLjIwMyAwIDAgMC0zLjIwMy0zLjIwNFoiIGZpbGw9InVybCgjaikiLz48cGF0aCBkPSJNMjM0Ljk0MiAxNTEuMDIzaC01Ni4yMjVhLjguOCAwIDAgMC0uOC44djkuNzA1YS44LjggMCAwIDAgLjguOGg1Ni4yMjVhLjguOCAwIDAgMCAuOC0uOHYtOS43MDVhLjguOCAwIDAgMC0uOC0uOFoiIGZpbGw9InVybCgjaykiLz48cGF0aCBkPSJNMjE4LjQ0OSA3NS4yNzRoLTQwLjUyMWExLjYgMS42IDAgMCAwLTEuNiAxLjZ2MTEuNjM3YTEuNiAxLjYgMCAwIDAgMS42IDEuNmg0MC41MjFhMS42IDEuNiAwIDAgMCAxLjYtMS42Vjc2Ljg3NGExLjYgMS42IDAgMCAwLTEuNi0xLjZaIiBmaWxsPSJ1cmwoI2wpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMDYuMDExIDIzOC43NzRjODkuNjUzIDAgNDAuODczLTQuOTc0IDU3Ljk2LTguMTA1IDE1LjM3MS0yLjgxNiAzNy41MjktMy41ODggMzcuNTI5LTcuMzggMC04LjAwOC00MC4yNTQtMTMuNTE1LTk1LjQ4OS0xMy41MTUtNTUuMjM0IDAtMTAwLjAxMSA2LjQ5Mi0xMDAuMDExIDE0LjVzNDQuNzc3IDE0LjUgMTAwLjAxMSAxNC41WiIgZmlsbD0idXJsKCNtKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjUyLjA4MSAxODAuMjEyYy0uNzQ5IDMuNzc2LS4zOTcgNS45OTYgMS4wNTYgNi42NjEgMS45MDIuOC4xMDYgMi44MzEtLjI3OCAzLjAzNC0uMjU3LjEzNi0uMDQzLjQ2OC42NC45OTcgMS4yMDMuNjQxIDIuMDg3Ljg5NyAyLjY1Mi43NjYuNTY1LS4xMyAxLjI1NC0uNzczIDIuMDY4LTEuOTI3LTEuNTE1LTEuMS0yLjA0My0xLjk4Mi0xLjU4Mi0yLjY0Ni40Ni0uNjY1IDEuMTU5LTEuMzU4IDIuMDk3LTIuMDguOTExLS43MDQuODc2LTEuMjQtLjEwNS0xLjYwNy4yMzctLjY2Ni4zMjUtMS40MjYuMjY0LTIuMjc5bC0zLjE5My0uOTE5LTMuMjUtLjcxNi0uMzY5LjcxNloiIGZpbGw9InVybCgjbikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0MC43NzUgMjI2LjEyNGMtMS43MTcgMS4yNDMtMi45MzUgMS44OTctMy42NTUgMS45Ni0xLjA3OS4wOTQtMS41ODEgMS4wODEtLjUzMyAxLjQ5OCAxLjA0OC40MTcgNC4xOTktLjU5MyA1LjAyMi0uNjY2LjgyNC0uMDcyIDIuOTY4LjAzMSAxLjk1Ny0yLjE4NC0uNjc1LTEuNDc2LTEuMjI5LTIuMDgxLTEuNjYyLTEuODE0bC0xLjE5Ny40MjguMDY4Ljc3OFoiIGZpbGw9IiMzRTNFNkUiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0NS4xNDggMjI3Ljk5M2MtMS43NTkgMS4xODMtMi45OTkgMS43OTMtMy43MiAxLjgzMS0xLjA4Mi4wNTctMS42MTggMS4wMjUtLjU4NSAxLjQ3OCAxLjAzMi40NTQgNC4yMTYtLjQ0NSA1LjA0Mi0uNDg5LjgyNS0uMDQzIDIuOTY1LjEzNCAyLjAzMS0yLjExNC0uNjIzLTEuNDk5LTEuMTU1LTIuMTIzLTEuNTk3LTEuODcybC0uODI5LS4yMDctLjM0MiAxLjM3M1oiIGZpbGw9IiMzRTNFNkUiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1NC4yMTcgMTgxLjA3YzMuMTExLS44OTUgMy45MzguNDggMy45MzggMS4wNjIgMCAuMzg3LS4wOTggMS4wMy0uMjk0IDEuOTI4LjM4Mi0uMTcyLjY1Mi0uMzAzLjgwOC0uMzkyLjk1NS0uNTQ1IDEuNTg2LTEuNTEyIDEuODExLTIuMjY1LjQyMS0xLjQwNy0uODE1LTQuMzkxLTQuMDItMy45NDYtMS4xMTctLjIxNC0xLjI5NC0xLjg3NS0zLjIzNS0uODUzLTEuOTQyIDEuMDIyLTIuNTk2LjIzNi0yLjU5NiAxLjI4NHMuMDggNC4yNzcgMy41ODggMy4xODJaIiBmaWxsPSIjMzUzNTY0Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNDMuOTg5IDE5Ni43MzdjLTYuMzM1IDcuNTQ3LTYuNjM0IDEyLjU5Mi0uODk2IDE1LjEzMyA1LjM0OSAyLjM2NCA4LjYwNiAxLjE2NSA4LjYwNiAwIDAtMS4xNjYtMy4yMDEtMi4yMzUtNi4zNDgtNC4xMDctMi4wOTgtMS4yNDgtLjgwOC00LjIzNSAzLjg3LTguOTYybC01LjIzMi0yLjA2NFoiIGZpbGw9IiNGRkM1QjMiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0NC41NzMgMjI2Ljk0NmMzLjg1Mi0xOS40OTIgNy44MTUtMjcuNjU0IDExLjg4Ny0yNC40ODYgNC4wNzIgMy4xNjggNi42NjEgNy45OTIgNy43NjcgMTQuNDczLjA0NS4xOTggMS4wMDUuMDcxIDIuODgxLS4zNzkgMS44NzUtLjQ1IDIuOTM0LS4zMjMgMy4xNzcuMzc5IDAgNS42OTktMi41NzIgOC43Ni03LjcxNyA5LjE4MS0xMS45MjkuOTc3LTcuMDIyLTUuODQ5LTcuMDIyLTEyLjg4NSAwIDUuNjIzLTcuNjggMTMuMDIxLTcuNjggMTQuMzQzLTEuODY0LjMyMi0yLjk2Mi4xMTMtMy4yOTMtLjYyNloiIGZpbGw9IiM1QzVDQkIiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1Mi44MDcgMTg5Ljc0M2MxLjA3IDAgMS42MDIgMi4xMzkgNS40MTIgMCAxLjE3My0uMDcyIDUuNDg2IDEuNzkyIDkuMzE5IDcuNDU3IDIuNTU1IDMuNzc4IDMuNjg5IDEwLjM1NSAzLjQwMSAxOS43MzMtLjUyOC44NzgtMi41NjYgMS4zMTctNi4xMTIgMS4zMTctMy41NDcgMC01Ljc1LTMuOTgzLTYuNjA4LTExLjk1LTUuMjg5LTIuMzY2LTguOTItNC4wNjItMTAuODkzLTUuMDktMi45NTgtMS41NDEtNS4wMTEtMi41ODgtNS42MTctMy41My0uNjA2LS45NDMgMS43OTUtMi43NDcgNC40MTUtNC44NSAyLjYyOC0yLjEwOCA2LjIwOC0zLjA4NyA2LjY4My0zLjA4N1oiIGZpbGw9InVybCgjbykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0OC4yMjQgMjEzLjQ5MmMxLjc2NS04LjY2MSA0LjA2OC0xMi41NiA2LjkwOC0xMS42OTcgNC4yNiAxLjI5NSA1LjA2MiAxNi4zMzMgNC42NTUgMTYuOTk5LS4yNzIuNDQ0LTQuMTI2LTEuMzIzLTExLjU2My01LjMwMloiIGZpbGw9IiM1QzVDQkIiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1NS4wMDIgMjA5LjkyMWMtMy45MTEtOC45OC03LjE2My0xMS4yMjUtOS43NTQtNi43MzUtMi41OTIgNC40OS00LjMxIDEyLjEwOC01LjE1NiAyMi44NTJoNC4yOTNsMy4xNjItMTIuMzk3Yy45MSA5LjQ5NSA2LjA3MiAxMy42MjggMTUuNDg1IDEyLjM5NyAyLjg4MS0xLjU2My4yMDUtNi45MzUtOC4wMy0xNi4xMTdaIiBmaWxsPSIjNUM1Q0JCIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNjAuMTg5IDIwMS43OTVjLTIuMTg2IDYuNTc0LTMuNzMzIDkuODYxLTQuNjQ0IDkuODYxLTEuMDY3IDAtNi45NzUtLjk0Ny0xMC4xOTQtMi40ODEtLjg5Ny0uNDI3LS44Mi0xLjc1Ny0yLjI1NC0yLjQ1OS0xLjM1My0uNjYyLTYuNDQ5LjI2Ni0xLjgzNiAzLjY1NSA0LjYxMyAzLjM4OCAxMy4wMzcgNi42NjUgMTYuMTY4IDYuMTI1IDMuMTMxLS41NDEgNy4yMzQtNi45MzYgOC4wNzgtMTIuMDYuMzAzLTEuMzE5LTEuMzQ3LTEuNjg1LTQuOTQ3LTEuMDk5bC0uMzcxLTEuNTQyWiIgZmlsbD0idXJsKCNwKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjU5Ljk2MyAxOTQuNDIzYy0xLjIxNiA1Ljk0My0xLjcxOCA5LjA3Ny0xLjUwNiA5LjQwMy4zMTguNDg5IDYuODA3IDIuNzE5IDcuNDk1IDIuNDUyIDEuMjQ4LS40NzUgMS40MDYtNi4wNTguODUtOS41NDEtLjM3LTIuMzIxLTIuNjUtMy4wOTMtNi44MzktMi4zMTRaIiBmaWxsPSJ1cmwoI3EpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMDkuNDE4IDIwOC4wMTJoMS40MDhhLjkuOSAwIDAgMSAuOS45djE0LjU1M2EuOS45IDAgMCAxLS45LjloLTEuNDA4YS45LjkgMCAwIDEtLjktLjl2LTE0LjU1M2EuOS45IDAgMCAxIC45LS45WiIgZmlsbD0iI0YwRjBGMyIgZmlsbC1vcGFjaXR5PSIuOSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTA2LjgzMyAxODguNTAyYy0yLjk3OCA2LjExLTEzLjIzNSAyNC44NDggMS4xMzYgMjYuOTQ2IDE0LjM3MiAyLjA5OCAxMy43MzEtMTAuMzc0IDExLjIxLTE0LjgzOC0yLjUyLTQuNDYzLTUuMzY2LTYuOTYyLTUuMzY2LTEyLjEwOCAwLTUuMTQ1LTQuMDAxLTYuMTA5LTYuOTggMFoiIGZpbGw9InVybCgjcikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI4Ny4zNzMgMjA2Ljk3NGguODY5YS40NS40NSAwIDAgMSAuNDUuNDV2Ny45YS40NS40NSAwIDAgMS0uNDUuNDVoLS44NjlhLjQ1LjQ1IDAgMCAxLS40NS0uNDV2LTcuOWEuNDUuNDUgMCAwIDEgLjQ1LS40NVoiIGZpbGw9IiNGMEYwRjMiIGZpbGwtb3BhY2l0eT0iLjkiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI4Ni4xMjUgMTk2LjE0M2MtMS43MDUgMy40MjQtNy41NzYgMTMuOTIzLjY1IDE1LjA5OSA4LjIyNiAxLjE3NiA3Ljg1OS01LjgxMyA2LjQxNy04LjMxNC0xLjQ0My0yLjUwMS0zLjA3Mi0zLjkwMS0zLjA3Mi02Ljc4NSAwLTIuODgzLTIuMjktMy40MjMtMy45OTUgMFoiIGZpbGw9InVybCgjcykiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxMTUuMjUiIHkxPSIxMDIuMzA3IiB4Mj0iMTE1LjI1IiB5Mj0iMTM2LjI3NCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNkY2RjciLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQ0ZDRkYiIHN0b3Atb3BhY2l0eT0iLjA3Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImIiIHgxPSIzMDIuOTE2IiB5MT0iMTI5LjkzNiIgeDI9IjI5OC4yMzUiIHkyPSIxMzguOTY1IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y2RjZGNyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZDRkNGRiIgc3RvcC1vcGFjaXR5PSIuMDciLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYyIgeDE9IjE2Ni4wOTQiIHkxPSIxMzEuMjQyIiB4Mj0iMTQyLjA3NCIgeTI9IjIzMi4wNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMkUzRTkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZCIgeDE9IjIzMi40OTMiIHkxPSIxMzEuMDUiIHgyPSIyNDkuNDMiIHkyPSIyMzMuMjg3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UyRTJFOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJlIiB4MT0iMjA3LjMzOCIgeTE9IjEwMy4zNTkiIHgyPSIxNTcuMzM1IiB5Mj0iMjMwLjg2NyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9Ii45ODIiIHN0b3AtY29sb3I9IiNFM0UzRUEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMkUyRTkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZiIgeDE9IjE2Mi4zNDQiIHkxPSIxMDcuMzk0IiB4Mj0iMTY3LjkxNiIgeTI9IjExNy4zOTgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFDMjUxIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZFN0Q2IiBzdG9wLW9wYWNpdHk9Ii42OSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMjA2LjgzNyIgeTE9IjEwNi4xMDIiIHgyPSIyMDYuODM3IiB5Mj0iMTE3LjQwNyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQUZBRkMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjE2Mi4zNDQiIHkxPSIxMzAuMDAzIiB4Mj0iMTY3LjkxNiIgeTI9IjE0MC4wMDciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFDMjUxIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZFN0Q2IiBzdG9wLW9wYWNpdHk9Ii42OSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJpIiB4MT0iMjA2LjgzIiB5MT0iMTI4LjcxMSIgeDI9IjIwNi44MyIgeTI9IjE0MC4wMTYiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkNGQ0ZGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkFGQUZDIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImoiIHgxPSIxNjIuMzQ0IiB5MT0iMTUyLjMxNSIgeDI9IjE2Ny45MTYiIHkyPSIxNjIuMzE5IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZBQzI1MSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGRTdENiIgc3RvcC1vcGFjaXR5PSIuNjkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjIwNi44MyIgeTE9IjE1MS4wMjMiIHgyPSIyMDYuODMiIHkyPSIxNjIuMzI4IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZDRkNGRiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZBRkFGQyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJsIiB4MT0iMTk4LjE4OSIgeTE9IjkwLjExMSIgeDI9IjE5OC4xODkiIHkyPSI3NS4yNzQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUJFQkVGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREZERkU1Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im0iIHgxPSIxNDAuMTMxIiB5MT0iMjI0LjE5OCIgeDI9IjI3My41NzciIHkyPSIyMzUuMTM3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0VERURGMiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0Y5RjlGQyIgc3RvcC1vcGFjaXR5PSIuODgiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibiIgeDE9IjI1NC4wMTgiIHkxPSIxODIuNDI0IiB4Mj0iMjU3LjI0NyIgeTI9IjE4Ny43ODUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im8iIHgxPSIyNjYuNzg1IiB5MT0iMjE3LjQyNyIgeDI9IjI1Ni44MTciIHkyPSIxOTMuMTExIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzZFNkVFOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzVCNUJFQSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJwIiB4MT0iMjMzLjI4MyIgeTE9IjIwNy41ODYiIHgyPSIyNTguMzY1IiB5Mj0iMjE3LjYwNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0icSIgeDE9IjI2Mi43NTkiIHkxPSIxOTUuMDk4IiB4Mj0iMjYyLjc1OSIgeTI9IjIwMi4wMTEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjNDk0OUUyIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM0OTQ5RTIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iciIgeDE9IjExMC41NDYiIHkxPSIxODQuMjc0IiB4Mj0iMTEwLjU0NiIgeTI9IjIxNS42ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUJFQkVFIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkNGQ0ZEIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InMiIHgxPSIyODguMjUiIHkxPSIxOTMuNzc0IiB4Mj0iMjg4LjI1IiB5Mj0iMjExLjM3NCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFQkVCRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQ0ZDRkQiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4="},21237:function(L,l,e){"use strict";var g=e(67294),I=Object.defineProperty,c=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,A=(j,a,u)=>a in j?I(j,a,{enumerable:!0,configurable:!0,writable:!0,value:u}):j[a]=u,x=(j,a)=>{for(var u in a||(a={}))y.call(a,u)&&A(j,u,a[u]);if(c)for(var u of c(a))n.call(a,u)&&A(j,u,a[u]);return j};const T=j=>React.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 481.03 500"},j),React.createElement("defs",null,React.createElement("style",null,".emptyWork_svg__cls-1,.emptyWork_svg__cls-3{fill:#d6d8e5}.emptyWork_svg__cls-1{opacity:.4}.emptyWork_svg__cls-2{fill:#b1b4c4}.emptyWork_svg__cls-4{fill:#9ea1af}.emptyWork_svg__cls-5{fill:#c4c7d6}.emptyWork_svg__cls-7{fill:#fff}.emptyWork_svg__cls-8{fill:#ffcea9}.emptyWork_svg__cls-9{fill:#ededed}.emptyWork_svg__cls-10{fill:#38226d}.emptyWork_svg__cls-11{fill:#9c73ff}.emptyWork_svg__cls-12{fill:#8c50ff}.emptyWork_svg__cls-13{fill:#f4f4f4}.emptyWork_svg__cls-14{fill:#3a2c6d}.emptyWork_svg__cls-15{fill:#fca70d}.emptyWork_svg__cls-16{fill:#e9eaf2}.emptyWork_svg__cls-17{fill:#e28c10}.emptyWork_svg__cls-19{fill:#7c5522}")),React.createElement("title",null,"Degital_marketing_SVG"),React.createElement("g",{id:"emptyWork_svg__\\u0421\\u043B\\u043E\\u0439_2","data-name":"\\u0421\\u043B\\u043E\\u0439 2"},React.createElement("g",{id:"emptyWork_svg__\\u0421\\u043B\\u043E\\u0439_1-2","data-name":"\\u0421\\u043B\\u043E\\u0439 1"},React.createElement("g",{id:"emptyWork_svg__monitor"},React.createElement("path",{className:"emptyWork_svg__cls-1",d:"m297 395.44-60-34.65c-4.33-2.5-3.78-6.86 1.21-9.75l38.89-22.45 75.69 43.7-38.89 22.45c-5 2.89-12.56 3.2-16.9.7Z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"m301.4 392.87-60-34.66c-4.32-2.5-3.78-6.86 1.22-9.75L281.47 326l75.69 43.7-38.88 22.46c-5 2.89-12.56 3.2-16.88.71Z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"M357.17 369.71v-2.29l-3.5 2.02 3.5.27zM238.45 354.08v-2.33l3.59 1.49-3.59.84z"}),React.createElement("path",{className:"emptyWork_svg__cls-3",d:"m301.4 390.57-60-34.65c-4.32-2.5-3.78-6.86 1.22-9.75l38.88-22.45 75.69 43.7-38.88 22.45c-5.03 2.89-12.59 3.2-16.91.7Z"}),React.createElement("path",{className:"emptyWork_svg__cls-4",d:"m281.67 323.82-9.36-31.08 76.52 43.89 8.34 30.79-75.5-43.6z"}),React.createElement("path",{className:"emptyWork_svg__cls-4",d:"m355 368.7 2.21-1.28-3.29-2.63Z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"m279.26 324.99-9.37-31.08 76.53 43.89 8.53 30.9-75.69-43.71z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m473.51 421.08-296.2-171c-4.15-2.4-7.52-8.84-7.52-14.38V6.59c0-5.54 3.37-8.09 7.52-5.69l296.2 171c4.15 2.4 7.52 8.83 7.52 14.37V415.4c-.03 5.54-3.37 8.08-7.52 5.68Z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m475.03 423.45 3.28-1.9-1.42-9.73-1.86 11.63z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"m169.26 2.31 3.23-1.86 4.64 2.65s-4.94.75-5.06.72-2.81-1.51-2.81-1.51Z"}),React.createElement("path",{d:"m470.79 422.65-296.19-171c-4.16-2.39-7.52-8.83-7.52-14.37V8.16c0-5.54 3.36-8.09 7.52-5.69l296.19 171c4.16 2.4 7.52 8.83 7.52 14.37V417c0 5.5-3.31 8.05-7.52 5.65Z",style:{fill:"#e4e7f2"}}),React.createElement("path",{className:"emptyWork_svg__cls-3",d:"M470.27 423 174.08 252c-4.16-2.4-7.53-8.83-7.53-14.37V8.46c0-5.54 3.37-8.09 7.53-5.69l296.19 171c4.15 2.39 7.52 8.83 7.52 14.37v229.12c0 5.54-3.37 8.09-7.52 5.74Z"}),React.createElement("path",{className:"emptyWork_svg__cls-7",d:"m473.72 409-303.4-175.15.15-224.48c0-2.29 1.62-3.23 3.61-2.08l296.19 171a8 8 0 0 1 3.6 6.24Z"})),React.createElement("ellipse",{className:"emptyWork_svg__cls-1",cx:381.1,cy:481.26,rx:23.29,ry:13.44}),React.createElement("ellipse",{className:"emptyWork_svg__cls-1",cx:104.02,cy:486.56,rx:23.29,ry:13.44}),React.createElement("ellipse",{className:"emptyWork_svg__cls-1",cx:23.29,cy:364.59,rx:23.29,ry:13.44}),React.createElement("g",{id:"emptyWork_svg__Men_4"},React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M87.7 396.64s.66 9.88 2 11.29 5.67 2.4 5.67 2.4l3.38 5.55S95.62 398.22 95 397.8s-7.3-1.16-7.3-1.16Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-9",d:"M94.19 385.67a3.69 3.69 0 0 0-4.7 1.42c-1.24 2.06-2.53 9.11-2.65 10.32 0 0 1.74 2.41 4.36 2Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M104.19 484.24a7.28 7.28 0 0 0 5.46-.66c1.32 0 8.46-3 9.43-.45.85 2.25-2.24 4.33-3.89 4.73-3.61.87-6.28 2.67-7.73 3-1.08.22-2.48.37-3.34-.48-1.03-1.03-.94-4.8.07-6.14Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M107.46 490.21c1.45-.3 4.12-2.1 7.73-3 1.38-.33 3.77-1.85 4-3.65.32 2.07-2.47 3.9-4 4.28-3.61.87-6.28 2.67-7.73 3-1.08.22-2.48.37-3.34-.48a2.06 2.06 0 0 1-.47-.86 4.32 4.32 0 0 0 3.81.71Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M93.07 480.77a7.23 7.23 0 0 0 5.46-.66c1.31 0 8.46-3 9.43-.45.85 2.25-2.24 4.33-3.9 4.73-3.6.87-6.27 2.67-7.72 3-1.08.23-2.48.37-3.34-.47-1-1.04-.94-4.81.07-6.15Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M96.34 486.74c1.45-.3 4.12-2.1 7.72-3 1.39-.34 3.77-1.86 4-3.66.32 2.07-2.47 3.91-4 4.28-3.6.87-6.27 2.67-7.72 3-1.08.23-2.48.37-3.34-.47a2.05 2.05 0 0 1-.47-.87 4.29 4.29 0 0 0 3.81.72Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_2","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-12",d:"M92.28 460.68a43.92 43.92 0 0 1 1.64-7.82s-.49-6.75-.73-13.15c-.28-7.27-2.8-13.66-.81-19.46l22.12 4.92s-1.07 29-1.37 32.53a64.59 64.59 0 0 1-1 8.13C111.1 471.46 110 484 110 484c-2.37 1.37-5.84.24-5.84.24s0-15.75.13-19.8c.19-5 .34-4.57.34-4.57l-.74-12.32-.48-6.13s-.63 4.5-1 8.52c-.35 3.5-1.2 6.67-2.14 13.19-.82 5.66-1.67 17.19-1.67 17.19-2.37 1.38-5.56.43-5.56.43s-1.41-15.16-.76-20.07Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_3","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M95.38 385.79c1.7.09 3 .53 3.19 0a21.32 21.32 0 0 0 .39-2.66c-.2-.5-.37-1-.37-1-2.14-1.32-2.82-3.64-3.1-6.34-.48-4.61 2-8.64 6.62-9.12 4.33-.46 7.52 2.59 8.38 6.77.45 2.07 1.37 6 .13 9.37-.69 1.9-1.58 3.41-2.46 3.7a21.27 21.27 0 0 1-2.57-.23l-.38 2.1c-.16.82-.1 1.26 1.54 2.26s-2.48 3.08-5.17 2.88-5.7-1.82-6.53-3.56c-.93-1.96-.84-4.22.33-4.17Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_4","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-13",d:"M97.85 386.05c-.48 1.18.72 2.62 3.93 3.63s3.5-.29 3.5-.29a64 64 0 0 1 6.23 3.21c1.92 1.34 2.77 5.23 3 11.81.3 7.6.33 18.88.08 20.83 0 0-3.6 3.58-8.2 3.2S94.08 424 92.2 420.85c0-6.67.83-7.75-.25-11.6-2.47-8.79-3.77-12.39-2.57-18.23 1-4.82 2.37-5.42 4.28-5.37a40 40 0 0 1 4.19.4Z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"m110.57 431.09-2.34-26.48 4.94-2.62 1.92 1.62-.59 23.78v1.49s.11 2-3.66 4.39c0 0-.06-.63-.12-1.21l-.09-1Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_5","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-9",d:"M110 391c2.55 0 4.17 1.3 4.8 5.23s1 7.14 1 7.14a6.84 6.84 0 0 1-4.54 2.25c-3.09.35-4-1.22-4-1.22s-.33-4.08-.5-6.85.07-6.55 3.24-6.55Z"}),React.createElement("path",{className:"emptyWork_svg__cls-14",d:"M110.34 372.82s4-6.05-4.65-7.29c-6.23-.89-10.23 3.11-10.69 7.45-.44 4.15 2.11 8.46 4 10.17a7.54 7.54 0 0 0 5.38-.65 32.23 32.23 0 0 0 .12-3.4s-3.08-6.39 5.84-6.28Z"})),React.createElement("path",{className:"emptyWork_svg__cls-1",d:"M445 367.55 205.66 229.37c-4.93-2.84-8.93-10.48-8.93-17.06V36.09c0-6.58 4-9.6 8.93-6.75L445 167.51c4.93 2.85 8.93 10.49 8.93 17.06V360.8c-.01 6.57-4.01 9.6-8.93 6.75Z"}),React.createElement("path",{className:"emptyWork_svg__cls-7",d:"M431.58 342.8 192.26 204.63c-4.94-2.85-8.93-10.49-8.93-17.07V11.34c0-6.58 4-9.6 8.93-6.75l239.32 138.17c4.93 2.85 8.93 10.49 8.93 17.07v176.22c0 6.58-4 9.6-8.93 6.75Z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"M440.51 173.7 183.33 25.21V11.34c0-6.58 4-9.6 8.93-6.75l239.32 138.17c4.93 2.85 8.93 10.49 8.93 17.07Z"}),React.createElement("ellipse",{className:"emptyWork_svg__cls-7",cx:198.95,cy:22.38,rx:2.55,ry:4.42,transform:"rotate(-30 198.965 22.373)"}),React.createElement("ellipse",{className:"emptyWork_svg__cls-7",cx:223.07,cy:36.3,rx:2.55,ry:4.42,transform:"matrix(.87 -.5 .5 .87 11.74 116.4)"}),React.createElement("ellipse",{className:"emptyWork_svg__cls-7",cx:211.01,cy:29.34,rx:2.55,ry:4.42,transform:"rotate(-30 211.018 29.342)"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m219.94 193.8-12.5-7.22v-51.55l12.5 7.21v51.56zM266.38 220.61l-12.51-7.22v-87.64l12.51 7.22v87.64z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m243.16 207.21-12.5-7.22V130.9l12.5 7.22v69.09zM289.59 234.01l-12.5-7.21V105.13l12.5 7.21v121.67z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m418.19 201.02-99.13-57.23v-14.43l99.13 57.23v14.43zM418.19 219.58l-99.13-57.23v-7.22l99.13 57.23v7.22zM418.19 233.33l-99.13-57.23v-7.22l99.13 57.23v7.22zM404.79 239.34l-85.73-49.49v-7.22l85.73 49.5v7.21zM392.29 245.88l-73.23-42.28v-7.22l73.23 42.28v7.22zM361.04 257.73l-30.37-17.53v-7.21l30.37 17.52v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m327.99 238.66-8.93-5.16v-7.22l8.93 5.16v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m361.04 275.26-30.37-17.53v-7.22l30.37 17.53v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m327.99 256.19-8.93-5.16v-7.22l8.93 5.16v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m415.51 289.18-30.36-17.53v-7.21l30.36 17.52v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m382.47 270.11-8.93-5.16v-7.22l8.93 5.16v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m415.51 306.71-30.36-17.53v-7.22l30.36 17.53v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m382.47 287.63-8.93-5.15v-7.22l8.93 5.16v7.21z"}),React.createElement("path",{className:"emptyWork_svg__cls-1",d:"m162.43 352.59-86.41-50.26 8.47-5.81 86.4 50.26-8.46 5.81z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m167.12 345.12-72.33-41.76c-4.94-2.85-8.93-10.49-8.93-17.06V169.88c0-6.58 4-9.6 8.93-6.75l72.33 41.76c4.93 2.85 8.93 10.49 8.93 17.06v116.42c0 6.63-4 9.63-8.93 6.75Z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m167.61 348.79 5.57-3.34-5.62-8.83.05 12.17zM84.3 165.5l5.07-3.06-.18 8.16-4.89-5.1z"}),React.createElement("path",{className:"emptyWork_svg__cls-3",d:"m162 348.22-72.37-41.77c-4.93-2.84-8.93-10.45-8.93-17.06V173c0-6.57 4-9.6 8.93-6.75L162 208c4.93 2.85 8.93 10.49 8.93 17.07v116.39c-.04 6.54-4.04 9.6-8.93 6.76Z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m157.5 238.4-63.41-36.61v-18.55l63.41 36.6v18.56zM111.95 249.23l-16.96-9.8v-18.56l16.96 9.8v18.56zM134.28 262.12l-16.97-9.8v-18.56l16.97 9.8v18.56zM156.6 275l-16.96-9.79v-18.56l16.96 9.79V275zM111.95 277.07l-16.96-9.8v-18.56l16.96 9.8v18.56zM134.28 289.96l-16.97-9.8V261.6l16.97 9.8v18.56zM156.6 302.85l-16.96-9.8v-18.56l16.96 9.8v18.56zM111.95 304.91l-16.96-9.8v-18.56l16.96 9.8v18.56zM134.28 317.8l-16.97-9.8v-18.56l16.97 9.8v18.56zM156.6 330.69l-16.96-9.8v-18.56l16.96 9.8v18.56z"}),React.createElement("path",{className:"emptyWork_svg__cls-1",d:"m415.43 466.69-34.64-20 8.08-4.66 34.64 20-8.08 4.66z"}),React.createElement("path",{className:"emptyWork_svg__cls-17",d:"m427.29 460.03-35.72-20.63 4.47-40.72 26.79 15.46 4.46 45.89z"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m418.01 465.18-35.72-20.62 4.47-40.73 26.79 15.47 4.46 45.88z"}),React.createElement("path",{style:{fill:"#ef990f"},d:"m418.01 465.18 9.28-5.15-4.46-45.89-9.28 5.16 4.46 45.88z"}),React.createElement("path",{className:"emptyWork_svg__cls-17",d:"m386.76 403.83 9.28-5.15-1.09 9.88-8.19-4.73z"}),React.createElement("path",{className:"emptyWork_svg__cls-19",d:"m406.84 415.34-1.65-1c0-3.84-2.26-8.28-5-9.88s-5 .22-5 4.06l-1.65-.95c0-4.9 3-7.15 6.69-5s6.61 7.87 6.61 12.77ZM415.55 410l-1.65-.95c0-3.85-2.26-8.28-5-9.88s-5 .21-5 4.06l-1.65-.95c0-4.9 3-7.15 6.69-5s6.61 7.84 6.61 12.72Z"}),React.createElement("g",{id:"emptyWork_svg__Girl_4"},React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_6","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M395.31 380.29c2 .57 3.1 2.76 4.83 7.43a38.82 38.82 0 0 1 2.08 13.16c-.55 4.4-2.37 7.82-6.78 11.39l-2.1-3.85s4.31-3.81 4.75-8.21c.25-2.47-2.65-10.8-2.65-11s-.13-8.92-.13-8.92Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M378.06 481.72a4.81 4.81 0 0 1-4-.54c-1.08 0-7.4-2.47-8.2-.37-.69 1.84 1.84 3.54 3.19 3.87 2.95.72 5.14 2.19 6.33 2.44a3 3 0 0 0 2.73-.39c.89-.83.78-3.91-.05-5.01Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M375.39 486.61c-1.19-.25-3.38-1.72-6.33-2.44-1.13-.27-3.09-1.51-3.28-3-.27 1.69 2 3.2 3.28 3.5 2.95.72 5.14 2.19 6.33 2.44a3 3 0 0 0 2.73-.39 1.78 1.78 0 0 0 .39-.7 3.54 3.54 0 0 1-3.12.59Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M394.12 473.37a3.79 3.79 0 0 1-3.47-.52c-1 0-7.5-2.38-8.27-.35-.67 1.77 1.77 3.41 3.07 3.72 2.84.69 4.95 2.11 6.09 2.35a2.88 2.88 0 0 0 2.63-.37c.83-.8.74-3.77-.05-4.83Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M391.54 478.08c-1.14-.24-3.25-1.66-6.09-2.35-1.09-.26-3-1.46-3.16-2.88-.25 1.63 1.95 3.08 3.16 3.37 2.84.69 4.95 2.11 6.09 2.35a2.88 2.88 0 0 0 2.63-.37 1.63 1.63 0 0 0 .37-.68 3.4 3.4 0 0 1-3 .56Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_7","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M396.24 457.33a20.94 20.94 0 0 0-1.24-7.12s.83-9.75 1.45-16.15c.91-9.44 2.36-10.37 1.95-16.1-.38-5.32-3.4-8.77-4.19-12.37l-15.41 1.22s-1.34 4.36-3.07 13.06-1.84 19.05-1.68 32.76c.05 3.53-.6 6.6-.39 15.4.14 5.92.47 13.16.47 13.16 2.26 1.94 3.82.51 3.82.51s3.95-17.52 4.53-21.55a12.62 12.62 0 0 0-.54-6.65s1.16-5.51 2-9.84c1.05-5.28 3.63-16.69 3.63-16.69s-.44 17.53.33 21 .9 6.46 1.55 11.16c.79 5.69 1.15 14 1.15 14 2.35 1.49 3.39.34 3.39.34s2.25-11.17 2.25-16.14Z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"M394.21 405.59c1.61 1.65 4.28 6.68 4.28 14.29 0 8.56-1.25 6.82-1.84 16.26l-.6 9.43s-12.87 6.14-22.05.44c-.82-1.78.31-21.61 1.91-28.66s2.73-10.51 2.73-10.51 11.84 3.16 15.57-1.25Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_8","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M394.39 380.2c-3.28-.19-3.59.35-3.86-.81-.09-.42-.27-3.31-.27-3.31a10.28 10.28 0 0 0 .82-1.21 8.4 8.4 0 0 0-3.53-15.52c-4.36-.46-7.56 2.6-8.41 6.8-.46 2.07-.94 6.31.35 9.7.73 1.92 1.4 3.27 3.14 3.2a10.39 10.39 0 0 0 1.71-.3 16 16 0 0 1 .1 2.4c-.05.84.1 1.27-1.55 2.28s2.49 3.09 5.18 2.89 5.73-1.84 6.57-3.58c.92-1.95 1.3-2.44-.25-2.54Z"}),React.createElement("path",{className:"emptyWork_svg__cls-9",d:"M396.81 394.75s3.71-.84 5.41-2.49c0 0-2.21-6.95-3.62-8.7s-2.78 9.48-2.78 9.48Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_9","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-13",d:"M391.14 380.13c.6.76.67 1.71-1.67 2.3a7.42 7.42 0 0 1-5.13-.39 33.79 33.79 0 0 0-5.3 2.81c-2 6.57-.38 7.41-1.22 12.12.32 2.37.72 8.48.82 9.87 4.46 3.12 13.53 2.06 15.57-1.25a25.38 25.38 0 0 1 .31-3.3c2.13-7.9 3.8-10 3.2-16-.34-3.41-.6-5.12-2.41-6a16 16 0 0 0-4.17-.16Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_10","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M350.09 405.84a25.12 25.12 0 0 1 3 .86 9.88 9.88 0 0 0 2.91 1c1.1.18 2.81-.39 5.77-1.79a31.88 31.88 0 0 0 8.66-6.51 75.92 75.92 0 0 0 7.57-10.8c1.28-2.34 2.91-2.93 4.32-2.47 1.69.56 1.9 2.23 0 5.39a59.85 59.85 0 0 1-8.66 11.34 32.42 32.42 0 0 1-9 6.37 28.11 28.11 0 0 1-7.6 2.64c-.93.2-1.56.58-3.27 1.18a11.24 11.24 0 0 1-5.32.59c-1.49-.29-2-.63-2.06-1s.25-.62.94-.57a9.31 9.31 0 0 0 3.3-.08s-1.52-.05-2.44-.16a9.08 9.08 0 0 1-2.36-.6c-.73-.31-1-1.45-.27-1.41s1.24.25 2.59.39a9 9 0 0 0 2.16 0 17.31 17.31 0 0 1-2.64-.65 3.79 3.79 0 0 1-1.84-1.13c-.25-.29-.18-1 .68-.83a13.69 13.69 0 0 0 3.23.72c1.11 0 1.89-.09 1.75-.27s-.79-.14-1.64-.62-1.32-1.37-1-1.8.32-.12 1.22.21Z"}),React.createElement("path",{className:"emptyWork_svg__cls-9",d:"M380.53 395.31a12 12 0 0 1-6.81-3.45l4.12-5.72s2.32-2.93 5.38-1.27c0 0 2.32.25 0 5.08a50.68 50.68 0 0 1-2.69 5.36Z"}),React.createElement("path",{className:"emptyWork_svg__cls-14",d:"M378.34 363.67a3.82 3.82 0 0 1 4.31-3.14 7.2 7.2 0 0 1 4.9-1.18c3.91.4 6.47 2.94 7.66 6.86a31.71 31.71 0 0 1 1.15 6c1.18 8.71 4.34 15.63 1.38 18.21s-11.06 4.23-14.44 2.58 2.79-16.64-3.92-25c-1.57-1.95-1.72-3.34-1.04-4.33Z"})),React.createElement("g",{id:"emptyWork_svg__Men_13"},React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M11 360.45c1.53 1.24 3.78.11 3.89.22a68.24 68.24 0 0 0 5.63 4.69c1 .75 2.43 1.75 2.16 3.18-.48 2.57-4.59 1.78-6.14 1s-2.82-2.09-4.29-3c-1-.65-2.08-1-2.24-2.31-.15-.81.67-3.81.99-3.78Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M10 363.69c.2 1.27 1.22 1.62 2.26 2.26 1.49.93 2.8 2.27 4.35 3.05s5 1.45 6-.39c-.54 2.48-4.59 1.7-6.12.93s-2.82-2.09-4.29-3c-1-.65-2.08-1-2.24-2.31a2 2 0 0 1 .04-.54Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M24.19 355.53c1.52 1.24 4.19-.12 4.31 0a60 60 0 0 0 5 4.54c.95.75 2.44 1.75 2.17 3.18-.48 2.57-4.6 1.78-6.15 1s-2.82-2.09-4.29-3c-1-.65-2.08-1-2.24-2.31-.08-.8.93-3.44 1.2-3.41Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M23.06 358.58c.2 1.27 1.22 1.62 2.26 2.27 1.49.92 2.8 2.26 4.35 3s5 1.44 6-.39c-.54 2.48-4.59 1.7-6.12.92s-2.82-2.09-4.29-3c-1.05-.65-2.08-1-2.24-2.31a2.06 2.06 0 0 1 .04-.49Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_11","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-12",d:"M10.86 304.15c.08 2.31.8 12.32 1.12 17.62s.39 11.8.39 11.8-.91 3.87-1.51 8.41 0 18.87 0 18.87a3.64 3.64 0 0 0 3.91 0s2.44-11.47 3.57-16.64 1.33-8.14 1.91-11.35c.71-3.87 2.24-21.95 2.24-21.95h.62l1.63 20.41a22.83 22.83 0 0 0-1 4.64c-.44 3.32.47 20.05.47 20.05a4.06 4.06 0 0 0 4.22-.17s4.08-22.16 4.08-25.53c0-2.23-.39-31.63-.39-31.63Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_12","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M16.39 259.57s.26 5 .15 5.47-2.31 1.92-2.95 2.45 3.48 4.59 5.48 5.51 8.34-1.5 8.46-4.62-1.09-5.73-2.06-5.87-9.08-2.94-9.08-2.94Z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M30.17 268.9c.29-2.22-1.17-4.32.25-6.09 5 4.87 4.33 17.74 5.46 26 3.68 3.86 11.09 7.65 13.17 8.59.38.18.71.36.64.77a9.28 9.28 0 0 1-1.69 3.75c-4.9-2.12-8.43-3.33-14.56-9.15a13.64 13.64 0 0 1-1.55-2c-1.79-5.29-2.23-18.04-1.72-21.87Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_13","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-13",d:"M15.83 265.91s3.65 5.44 8.74 5.95c1.61-1.58 1.75-7.21-.47-9 0 0 2-1.65 3.44-1.33a7.2 7.2 0 0 1 3.14 4 33 33 0 0 1 1.8 11.64c-.09 5.34 0 21.64 0 21.64s-.72 3.45-5.32 6-8 2.82-11.15 2.09c-2.58-.6-4.71-1.51-5.6-3.38.23-3.74 1.9-13.5 1.28-18.2s-1.62-8.21-1.88-12 .5-3.72 2.41-5.08a31 31 0 0 1 3.61-2.33Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_14","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M27.77 252.07c-.6-3.9-3.41-6.86-7.43-6.64a7.74 7.74 0 0 0-3.95 14.14 7.74 7.74 0 0 0 .63 1.71c1.42 1.66 5.73 2.69 7 2.51a3.69 3.69 0 0 0 3.21-2.62c1.29-3.07.87-7.17.54-9.1Z"}),React.createElement("path",{className:"emptyWork_svg__cls-14",d:"m16.39 259.57.37-3.41S14 249 20.55 250.34c4.34.92 5.43 1.31 6.75-1.6s-3.33-5.53-8.86-4.8a7.64 7.64 0 0 0-6.85 7.75c.15 2.14.72 6.48 4.8 7.88Z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M8.69 271.07c1.91-.54.46-.09 1.91-.54 5 4.86 4.34 13.21 5.47 21.45C18.81 296.51 29 302.65 29 302.65c.13.87-.18 1.13-1.28 2.91a44 44 0 0 1-15.13-9.76c-.24-.23-.59-.29-.69-.6-1.77-5.26-3.71-20.3-3.21-24.13Z"}),React.createElement("path",{className:"emptyWork_svg__cls-13",d:"m53.95 281.23-7.4 25.27-16.21 6.48 5.91-24.62 17.7-7.13z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M26.42 302.83c.24-.86.87-.65 1.57-.43a4.2 4.2 0 0 0 2.4.21 7.37 7.37 0 0 0 1.72-1.17 2.15 2.15 0 0 1 1.08-.3c0 .21-.37 1.5-.37 1.5h3.92a.6.6 0 0 1 .56 1h.24c.73-.17 1 .95.31 1.12l-.6.09c.48.18.6 1 0 1.08h-.19a.59.59 0 0 1-.26 0h-.11a.64.64 0 0 1-.53.76c-1.74.22-4.29.91-5.86-.52a9.75 9.75 0 0 1-3.15-.85c-.99-.49-1.02-1.46-.73-2.49ZM44.17 300.76h.24a.6.6 0 0 1 .34-1.09c.37 0 4-.76 4-.76l.44-1.5c0-.09.63.3.65.31a2.49 2.49 0 0 1 1.16 1.82 4 4 0 0 1-1 2.83 3.66 3.66 0 0 1-2.48 1.07l-1.26.08a.63.63 0 0 1-.68-.62h-.18a.61.61 0 0 1-.26 0H45c-.62 0-.67-.78-.25-1.06h-.6c-.79.08-.73-1.08.02-1.08Z"}),React.createElement("path",{className:"emptyWork_svg__cls-9",d:"M32.23 272.2a3.93 3.93 0 0 0 2.65-1.2c-.14-1.87-2.53-9-7.34-9.49a8.89 8.89 0 0 1 3 3.63 47.27 47.27 0 0 1 1.69 7.06ZM7.83 281.57s4.78 1.65 8.15-1.12c.37-.64-2-8.78-2-8.78s-2-4.17-5.15-2.51-1 12.41-1 12.41Z"})))));l.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0ODEuMDMgNTAwIj48ZGVmcz48c3R5bGU+LmNscy0xLC5jbHMtM3tmaWxsOiNkNmQ4ZTV9LmNscy0xe29wYWNpdHk6LjR9LmNscy0ye2ZpbGw6I2IxYjRjNH0uY2xzLTR7ZmlsbDojOWVhMWFmfS5jbHMtNXtmaWxsOiNjNGM3ZDZ9LmNscy03e2ZpbGw6I2ZmZn0uY2xzLTh7ZmlsbDojZmZjZWE5fS5jbHMtOXtmaWxsOiNlZGVkZWR9LmNscy0xMHtmaWxsOiMzODIyNmR9LmNscy0xMXtmaWxsOiM5YzczZmZ9LmNscy0xMntmaWxsOiM4YzUwZmZ9LmNscy0xM3tmaWxsOiNmNGY0ZjR9LmNscy0xNHtmaWxsOiMzYTJjNmR9LmNscy0xNXtmaWxsOiNmY2E3MGR9LmNscy0xNntmaWxsOiNlOWVhZjJ9LmNscy0xN3tmaWxsOiNlMjhjMTB9LmNscy0xOXtmaWxsOiM3YzU1MjJ9PC9zdHlsZT48L2RlZnM+PGcgaWQ9ItCh0LvQvtC5XzIiIGRhdGEtbmFtZT0i0KHQu9C+0LkgMiI+PGcgaWQ9ItCh0LvQvtC5XzEtMiIgZGF0YS1uYW1lPSLQodC70L7QuSAxIj48ZyBpZD0ibW9uaXRvciI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjk3IDM5NS40NC02MC0zNC42NWMtNC4zMy0yLjUtMy43OC02Ljg2IDEuMjEtOS43NWwzOC44OS0yMi40NSA3NS42OSA0My43LTM4Ljg5IDIyLjQ1Yy01IDIuODktMTIuNTYgMy4yLTE2LjkuN1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0zMDEuNCAzOTIuODctNjAtMzQuNjZjLTQuMzItMi41LTMuNzgtNi44NiAxLjIyLTkuNzVMMjgxLjQ3IDMyNmw3NS42OSA0My43LTM4Ljg4IDIyLjQ2Yy01IDIuODktMTIuNTYgMy4yLTE2Ljg4LjcxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM1Ny4xNyAzNjkuNzF2LTIuMjlsLTMuNSAyLjAyIDMuNS4yN3pNMjM4LjQ1IDM1NC4wOHYtMi4zM2wzLjU5IDEuNDktMy41OS44NHoiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0zMDEuNCAzOTAuNTctNjAtMzQuNjVjLTQuMzItMi41LTMuNzgtNi44NiAxLjIyLTkuNzVsMzguODgtMjIuNDUgNzUuNjkgNDMuNy0zOC44OCAyMi40NWMtNS4wMyAyLjg5LTEyLjU5IDMuMi0xNi45MS43WiIvPjxwYXRoIGNsYXNzPSJjbHMtNCIgZD0ibTI4MS42NyAzMjMuODItOS4zNi0zMS4wOCA3Ni41MiA0My44OSA4LjM0IDMwLjc5LTc1LjUtNDMuNnoiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Im0zNTUgMzY4LjcgMi4yMS0xLjI4LTMuMjktMi42M1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0yNzkuMjYgMzI0Ljk5LTkuMzctMzEuMDggNzYuNTMgNDMuODkgOC41MyAzMC45LTc1LjY5LTQzLjcxeiIvPjxwYXRoIGNsYXNzPSJjbHMtNSIgZD0ibTQ3My41MSA0MjEuMDgtMjk2LjItMTcxYy00LjE1LTIuNC03LjUyLTguODQtNy41Mi0xNC4zOFY2LjU5YzAtNS41NCAzLjM3LTguMDkgNy41Mi01LjY5bDI5Ni4yIDE3MWM0LjE1IDIuNCA3LjUyIDguODMgNy41MiAxNC4zN1Y0MTUuNGMtLjAzIDUuNTQtMy4zNyA4LjA4LTcuNTIgNS42OFoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Im00NzUuMDMgNDIzLjQ1IDMuMjgtMS45LTEuNDItOS43My0xLjg2IDExLjYzeiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0ibTE2OS4yNiAyLjMxIDMuMjMtMS44NiA0LjY0IDIuNjVzLTQuOTQuNzUtNS4wNi43Mi0yLjgxLTEuNTEtMi44MS0xLjUxWiIvPjxwYXRoIGQ9Im00NzAuNzkgNDIyLjY1LTI5Ni4xOS0xNzFjLTQuMTYtMi4zOS03LjUyLTguODMtNy41Mi0xNC4zN1Y4LjE2YzAtNS41NCAzLjM2LTguMDkgNy41Mi01LjY5bDI5Ni4xOSAxNzFjNC4xNiAyLjQgNy41MiA4LjgzIDcuNTIgMTQuMzdWNDE3YzAgNS41LTMuMzEgOC4wNS03LjUyIDUuNjVaIiBzdHlsZT0iZmlsbDojZTRlN2YyIi8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJNNDcwLjI3IDQyMyAxNzQuMDggMjUyYy00LjE2LTIuNC03LjUzLTguODMtNy41My0xNC4zN1Y4LjQ2YzAtNS41NCAzLjM3LTguMDkgNy41My01LjY5bDI5Ni4xOSAxNzFjNC4xNSAyLjM5IDcuNTIgOC44MyA3LjUyIDE0LjM3djIyOS4xMmMwIDUuNTQtMy4zNyA4LjA5LTcuNTIgNS43NFoiLz48cGF0aCBjbGFzcz0iY2xzLTciIGQ9Im00NzMuNzIgNDA5LTMwMy40LTE3NS4xNS4xNS0yMjQuNDhjMC0yLjI5IDEuNjItMy4yMyAzLjYxLTIuMDhsMjk2LjE5IDE3MWE4IDggMCAwIDEgMy42IDYuMjRaIi8+PC9nPjxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjM4MS4xIiBjeT0iNDgxLjI2IiByeD0iMjMuMjkiIHJ5PSIxMy40NCIvPjxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjEwNC4wMiIgY3k9IjQ4Ni41NiIgcng9IjIzLjI5IiByeT0iMTMuNDQiLz48ZWxsaXBzZSBjbGFzcz0iY2xzLTEiIGN4PSIyMy4yOSIgY3k9IjM2NC41OSIgcng9IjIzLjI5IiByeT0iMTMuNDQiLz48ZyBpZD0iTWVuXzQiPjxwYXRoIGNsYXNzPSJjbHMtOCIgZD0iTTg3LjcgMzk2LjY0cy42NiA5Ljg4IDIgMTEuMjkgNS42NyAyLjQgNS42NyAyLjRsMy4zOCA1LjU1Uzk1LjYyIDM5OC4yMiA5NSAzOTcuOHMtNy4zLTEuMTYtNy4zLTEuMTZaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfIiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTkiIGQ9Ik05NC4xOSAzODUuNjdhMy42OSAzLjY5IDAgMCAwLTQuNyAxLjQyYy0xLjI0IDIuMDYtMi41MyA5LjExLTIuNjUgMTAuMzIgMCAwIDEuNzQgMi40MSA0LjM2IDJaIi8+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTEwNC4xOSA0ODQuMjRhNy4yOCA3LjI4IDAgMCAwIDUuNDYtLjY2YzEuMzIgMCA4LjQ2LTMgOS40My0uNDUuODUgMi4yNS0yLjI0IDQuMzMtMy44OSA0LjczLTMuNjEuODctNi4yOCAyLjY3LTcuNzMgMy0xLjA4LjIyLTIuNDguMzctMy4zNC0uNDgtMS4wMy0xLjAzLS45NC00LjguMDctNi4xNFoiLz48cGF0aCBjbGFzcz0iY2xzLTExIiBkPSJNMTA3LjQ2IDQ5MC4yMWMxLjQ1LS4zIDQuMTItMi4xIDcuNzMtMyAxLjM4LS4zMyAzLjc3LTEuODUgNC0zLjY1LjMyIDIuMDctMi40NyAzLjktNCA0LjI4LTMuNjEuODctNi4yOCAyLjY3LTcuNzMgMy0xLjA4LjIyLTIuNDguMzctMy4zNC0uNDhhMi4wNiAyLjA2IDAgMCAxLS40Ny0uODYgNC4zMiA0LjMyIDAgMCAwIDMuODEuNzFaIi8+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTkzLjA3IDQ4MC43N2E3LjIzIDcuMjMgMCAwIDAgNS40Ni0uNjZjMS4zMSAwIDguNDYtMyA5LjQzLS40NS44NSAyLjI1LTIuMjQgNC4zMy0zLjkgNC43My0zLjYuODctNi4yNyAyLjY3LTcuNzIgMy0xLjA4LjIzLTIuNDguMzctMy4zNC0uNDctMS0xLjA0LS45NC00LjgxLjA3LTYuMTVaIi8+PHBhdGggY2xhc3M9ImNscy0xMSIgZD0iTTk2LjM0IDQ4Ni43NGMxLjQ1LS4zIDQuMTItMi4xIDcuNzItMyAxLjM5LS4zNCAzLjc3LTEuODYgNC0zLjY2LjMyIDIuMDctMi40NyAzLjkxLTQgNC4yOC0zLjYuODctNi4yNyAyLjY3LTcuNzIgMy0xLjA4LjIzLTIuNDguMzctMy4zNC0uNDdhMi4wNSAyLjA1IDAgMCAxLS40Ny0uODcgNC4yOSA0LjI5IDAgMCAwIDMuODEuNzJaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfMiIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy0xMiIgZD0iTTkyLjI4IDQ2MC42OGE0My45MiA0My45MiAwIDAgMSAxLjY0LTcuODJzLS40OS02Ljc1LS43My0xMy4xNWMtLjI4LTcuMjctMi44LTEzLjY2LS44MS0xOS40NmwyMi4xMiA0Ljkycy0xLjA3IDI5LTEuMzcgMzIuNTNhNjQuNTkgNjQuNTkgMCAwIDEtMSA4LjEzQzExMS4xIDQ3MS40NiAxMTAgNDg0IDExMCA0ODRjLTIuMzcgMS4zNy01Ljg0LjI0LTUuODQuMjRzMC0xNS43NS4xMy0xOS44Yy4xOS01IC4zNC00LjU3LjM0LTQuNTdsLS43NC0xMi4zMi0uNDgtNi4xM3MtLjYzIDQuNS0xIDguNTJjLS4zNSAzLjUtMS4yIDYuNjctMi4xNCAxMy4xOS0uODIgNS42Ni0xLjY3IDE3LjE5LTEuNjcgMTcuMTktMi4zNyAxLjM4LTUuNTYuNDMtNS41Ni40M3MtMS40MS0xNS4xNi0uNzYtMjAuMDdaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfMyIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy04IiBkPSJNOTUuMzggMzg1Ljc5YzEuNy4wOSAzIC41MyAzLjE5IDBhMjEuMzIgMjEuMzIgMCAwIDAgLjM5LTIuNjZjLS4yLS41LS4zNy0xLS4zNy0xLTIuMTQtMS4zMi0yLjgyLTMuNjQtMy4xLTYuMzQtLjQ4LTQuNjEgMi04LjY0IDYuNjItOS4xMiA0LjMzLS40NiA3LjUyIDIuNTkgOC4zOCA2Ljc3LjQ1IDIuMDcgMS4zNyA2IC4xMyA5LjM3LS42OSAxLjktMS41OCAzLjQxLTIuNDYgMy43YTIxLjI3IDIxLjI3IDAgMCAxLTIuNTctLjIzbC0uMzggMi4xYy0uMTYuODItLjEgMS4yNiAxLjU0IDIuMjZzLTIuNDggMy4wOC01LjE3IDIuODgtNS43LTEuODItNi41My0zLjU2Yy0uOTMtMS45Ni0uODQtNC4yMi4zMy00LjE3WiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzQiIGRhdGEtbmFtZT0iJmx0O9Ca0L7QvdGC0YPRgCZndDsiIGNsYXNzPSJjbHMtMTMiIGQ9Ik05Ny44NSAzODYuMDVjLS40OCAxLjE4LjcyIDIuNjIgMy45MyAzLjYzczMuNS0uMjkgMy41LS4yOWE2NCA2NCAwIDAgMSA2LjIzIDMuMjFjMS45MiAxLjM0IDIuNzcgNS4yMyAzIDExLjgxLjMgNy42LjMzIDE4Ljg4LjA4IDIwLjgzIDAgMC0zLjYgMy41OC04LjIgMy4yUzk0LjA4IDQyNCA5Mi4yIDQyMC44NWMwLTYuNjcuODMtNy43NS0uMjUtMTEuNi0yLjQ3LTguNzktMy43Ny0xMi4zOS0yLjU3LTE4LjIzIDEtNC44MiAyLjM3LTUuNDIgNC4yOC01LjM3YTQwIDQwIDAgMCAxIDQuMTkuNFoiLz48cGF0aCBjbGFzcz0iY2xzLTgiIGQ9Im0xMTAuNTcgNDMxLjA5LTIuMzQtMjYuNDggNC45NC0yLjYyIDEuOTIgMS42Mi0uNTkgMjMuNzh2MS40OXMuMTEgMi0zLjY2IDQuMzljMCAwLS4wNi0uNjMtLjEyLTEuMjFsLS4wOS0xWiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzUiIGRhdGEtbmFtZT0iJmx0O9Ca0L7QvdGC0YPRgCZndDsiIGNsYXNzPSJjbHMtOSIgZD0iTTExMCAzOTFjMi41NSAwIDQuMTcgMS4zIDQuOCA1LjIzczEgNy4xNCAxIDcuMTRhNi44NCA2Ljg0IDAgMCAxLTQuNTQgMi4yNWMtMy4wOS4zNS00LTEuMjItNC0xLjIycy0uMzMtNC4wOC0uNS02Ljg1LjA3LTYuNTUgMy4yNC02LjU1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMTQiIGQ9Ik0xMTAuMzQgMzcyLjgyczQtNi4wNS00LjY1LTcuMjljLTYuMjMtLjg5LTEwLjIzIDMuMTEtMTAuNjkgNy40NS0uNDQgNC4xNSAyLjExIDguNDYgNCAxMC4xN2E3LjU0IDcuNTQgMCAwIDAgNS4zOC0uNjUgMzIuMjMgMzIuMjMgMCAwIDAgLjEyLTMuNHMtMy4wOC02LjM5IDUuODQtNi4yOFoiLz48L2c+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDQ1IDM2Ny41NSAyMDUuNjYgMjI5LjM3Yy00LjkzLTIuODQtOC45My0xMC40OC04LjkzLTE3LjA2VjM2LjA5YzAtNi41OCA0LTkuNiA4LjkzLTYuNzVMNDQ1IDE2Ny41MWM0LjkzIDIuODUgOC45MyAxMC40OSA4LjkzIDE3LjA2VjM2MC44Yy0uMDEgNi41Ny00LjAxIDkuNi04LjkzIDYuNzVaIi8+PHBhdGggY2xhc3M9ImNscy03IiBkPSJNNDMxLjU4IDM0Mi44IDE5Mi4yNiAyMDQuNjNjLTQuOTQtMi44NS04LjkzLTEwLjQ5LTguOTMtMTcuMDdWMTEuMzRjMC02LjU4IDQtOS42IDguOTMtNi43NWwyMzkuMzIgMTM4LjE3YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDd2MTc2LjIyYzAgNi41OC00IDkuNi04LjkzIDYuNzVaIi8+PHBhdGggY2xhc3M9ImNscy0xMiIgZD0iTTQ0MC41MSAxNzMuNyAxODMuMzMgMjUuMjFWMTEuMzRjMC02LjU4IDQtOS42IDguOTMtNi43NWwyMzkuMzIgMTM4LjE3YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDdaIi8+PGVsbGlwc2UgY2xhc3M9ImNscy03IiBjeD0iMTk4Ljk1IiBjeT0iMjIuMzgiIHJ4PSIyLjU1IiByeT0iNC40MiIgdHJhbnNmb3JtPSJyb3RhdGUoLTMwIDE5OC45NjUgMjIuMzczKSIvPjxlbGxpcHNlIGNsYXNzPSJjbHMtNyIgY3g9IjIyMy4wNyIgY3k9IjM2LjMiIHJ4PSIyLjU1IiByeT0iNC40MiIgdHJhbnNmb3JtPSJtYXRyaXgoLjg3IC0uNSAuNSAuODcgMTEuNzQgMTE2LjQpIi8+PGVsbGlwc2UgY2xhc3M9ImNscy03IiBjeD0iMjExLjAxIiBjeT0iMjkuMzQiIHJ4PSIyLjU1IiByeT0iNC40MiIgdHJhbnNmb3JtPSJyb3RhdGUoLTMwIDIxMS4wMTggMjkuMzQyKSIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im0yMTkuOTQgMTkzLjgtMTIuNS03LjIydi01MS41NWwxMi41IDcuMjF2NTEuNTZ6TTI2Ni4zOCAyMjAuNjFsLTEyLjUxLTcuMjJ2LTg3LjY0bDEyLjUxIDcuMjJ2ODcuNjR6Ii8+PHBhdGggY2xhc3M9ImNscy0xMiIgZD0ibTI0My4xNiAyMDcuMjEtMTIuNS03LjIyVjEzMC45bDEyLjUgNy4yMnY2OS4wOXpNMjg5LjU5IDIzNC4wMWwtMTIuNS03LjIxVjEwNS4xM2wxMi41IDcuMjF2MTIxLjY3eiIvPjxwYXRoIGNsYXNzPSJjbHMtMTYiIGQ9Im00MTguMTkgMjAxLjAyLTk5LjEzLTU3LjIzdi0xNC40M2w5OS4xMyA1Ny4yM3YxNC40M3pNNDE4LjE5IDIxOS41OGwtOTkuMTMtNTcuMjN2LTcuMjJsOTkuMTMgNTcuMjN2Ny4yMnpNNDE4LjE5IDIzMy4zM2wtOTkuMTMtNTcuMjN2LTcuMjJsOTkuMTMgNTcuMjN2Ny4yMnpNNDA0Ljc5IDIzOS4zNGwtODUuNzMtNDkuNDl2LTcuMjJsODUuNzMgNDkuNXY3LjIxek0zOTIuMjkgMjQ1Ljg4bC03My4yMy00Mi4yOHYtNy4yMmw3My4yMyA0Mi4yOHY3LjIyek0zNjEuMDQgMjU3LjczbC0zMC4zNy0xNy41M3YtNy4yMWwzMC4zNyAxNy41MnY3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im0zMjcuOTkgMjM4LjY2LTguOTMtNS4xNnYtNy4yMmw4LjkzIDUuMTZ2Ny4yMnoiLz48cGF0aCBjbGFzcz0iY2xzLTE2IiBkPSJtMzYxLjA0IDI3NS4yNi0zMC4zNy0xNy41M3YtNy4yMmwzMC4zNyAxNy41M3Y3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTIiIGQ9Im0zMjcuOTkgMjU2LjE5LTguOTMtNS4xNnYtNy4yMmw4LjkzIDUuMTZ2Ny4yMnoiLz48cGF0aCBjbGFzcz0iY2xzLTE2IiBkPSJtNDE1LjUxIDI4OS4xOC0zMC4zNi0xNy41M3YtNy4yMWwzMC4zNiAxNy41MnY3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTIiIGQ9Im0zODIuNDcgMjcwLjExLTguOTMtNS4xNnYtNy4yMmw4LjkzIDUuMTZ2Ny4yMnoiLz48cGF0aCBjbGFzcz0iY2xzLTE2IiBkPSJtNDE1LjUxIDMwNi43MS0zMC4zNi0xNy41M3YtNy4yMmwzMC4zNiAxNy41M3Y3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im0zODIuNDcgMjg3LjYzLTguOTMtNS4xNXYtNy4yMmw4LjkzIDUuMTZ2Ny4yMXoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xNjIuNDMgMzUyLjU5LTg2LjQxLTUwLjI2IDguNDctNS44MSA4Ni40IDUwLjI2LTguNDYgNS44MXoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Im0xNjcuMTIgMzQ1LjEyLTcyLjMzLTQxLjc2Yy00Ljk0LTIuODUtOC45My0xMC40OS04LjkzLTE3LjA2VjE2OS44OGMwLTYuNTggNC05LjYgOC45My02Ljc1bDcyLjMzIDQxLjc2YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDZ2MTE2LjQyYzAgNi42My00IDkuNjMtOC45MyA2Ljc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtNSIgZD0ibTE2Ny42MSAzNDguNzkgNS41Ny0zLjM0LTUuNjItOC44My4wNSAxMi4xN3pNODQuMyAxNjUuNWw1LjA3LTMuMDYtLjE4IDguMTYtNC44OS01LjF6Ii8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMTYyIDM0OC4yMi03Mi4zNy00MS43N2MtNC45My0yLjg0LTguOTMtMTAuNDUtOC45My0xNy4wNlYxNzNjMC02LjU3IDQtOS42IDguOTMtNi43NUwxNjIgMjA4YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDd2MTE2LjM5Yy0uMDQgNi41NC00LjA0IDkuNi04LjkzIDYuNzZaIi8+PHBhdGggY2xhc3M9ImNscy0xMiIgZD0ibTE1Ny41IDIzOC40LTYzLjQxLTM2LjYxdi0xOC41NWw2My40MSAzNi42djE4LjU2ek0xMTEuOTUgMjQ5LjIzbC0xNi45Ni05Ljh2LTE4LjU2bDE2Ljk2IDkuOHYxOC41NnpNMTM0LjI4IDI2Mi4xMmwtMTYuOTctOS44di0xOC41NmwxNi45NyA5Ljh2MTguNTZ6TTE1Ni42IDI3NWwtMTYuOTYtOS43OXYtMTguNTZsMTYuOTYgOS43OVYyNzV6TTExMS45NSAyNzcuMDdsLTE2Ljk2LTkuOHYtMTguNTZsMTYuOTYgOS44djE4LjU2ek0xMzQuMjggMjg5Ljk2bC0xNi45Ny05LjhWMjYxLjZsMTYuOTcgOS44djE4LjU2ek0xNTYuNiAzMDIuODVsLTE2Ljk2LTkuOHYtMTguNTZsMTYuOTYgOS44djE4LjU2ek0xMTEuOTUgMzA0LjkxbC0xNi45Ni05Ljh2LTE4LjU2bDE2Ljk2IDkuOHYxOC41NnpNMTM0LjI4IDMxNy44bC0xNi45Ny05Ljh2LTE4LjU2bDE2Ljk3IDkuOHYxOC41NnpNMTU2LjYgMzMwLjY5bC0xNi45Ni05Ljh2LTE4LjU2bDE2Ljk2IDkuOHYxOC41NnoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im00MTUuNDMgNDY2LjY5LTM0LjY0LTIwIDguMDgtNC42NiAzNC42NCAyMC04LjA4IDQuNjZ6Ii8+PHBhdGggY2xhc3M9ImNscy0xNyIgZD0ibTQyNy4yOSA0NjAuMDMtMzUuNzItMjAuNjMgNC40Ny00MC43MiAyNi43OSAxNS40NiA0LjQ2IDQ1Ljg5eiIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im00MTguMDEgNDY1LjE4LTM1LjcyLTIwLjYyIDQuNDctNDAuNzMgMjYuNzkgMTUuNDcgNC40NiA0NS44OHoiLz48cGF0aCBzdHlsZT0iZmlsbDojZWY5OTBmIiBkPSJtNDE4LjAxIDQ2NS4xOCA5LjI4LTUuMTUtNC40Ni00NS44OS05LjI4IDUuMTYgNC40NiA0NS44OHoiLz48cGF0aCBjbGFzcz0iY2xzLTE3IiBkPSJtMzg2Ljc2IDQwMy44MyA5LjI4LTUuMTUtMS4wOSA5Ljg4LTguMTktNC43M3oiLz48cGF0aCBjbGFzcz0iY2xzLTE5IiBkPSJtNDA2Ljg0IDQxNS4zNC0xLjY1LTFjMC0zLjg0LTIuMjYtOC4yOC01LTkuODhzLTUgLjIyLTUgNC4wNmwtMS42NS0uOTVjMC00LjkgMy03LjE1IDYuNjktNXM2LjYxIDcuODcgNi42MSAxMi43N1pNNDE1LjU1IDQxMGwtMS42NS0uOTVjMC0zLjg1LTIuMjYtOC4yOC01LTkuODhzLTUgLjIxLTUgNC4wNmwtMS42NS0uOTVjMC00LjkgMy03LjE1IDYuNjktNXM2LjYxIDcuODQgNi42MSAxMi43MloiLz48ZyBpZD0iR2lybF80Ij48cGF0aCBpZD0iX9Ca0L7QvdGC0YPRgF82IiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTgiIGQ9Ik0zOTUuMzEgMzgwLjI5YzIgLjU3IDMuMSAyLjc2IDQuODMgNy40M2EzOC44MiAzOC44MiAwIDAgMSAyLjA4IDEzLjE2Yy0uNTUgNC40LTIuMzcgNy44Mi02Ljc4IDExLjM5bC0yLjEtMy44NXM0LjMxLTMuODEgNC43NS04LjIxYy4yNS0yLjQ3LTIuNjUtMTAuOC0yLjY1LTExcy0uMTMtOC45Mi0uMTMtOC45MloiLz48cGF0aCBjbGFzcz0iY2xzLTEwIiBkPSJNMzc4LjA2IDQ4MS43MmE0LjgxIDQuODEgMCAwIDEtNC0uNTRjLTEuMDggMC03LjQtMi40Ny04LjItLjM3LS42OSAxLjg0IDEuODQgMy41NCAzLjE5IDMuODcgMi45NS43MiA1LjE0IDIuMTkgNi4zMyAyLjQ0YTMgMyAwIDAgMCAyLjczLS4zOWMuODktLjgzLjc4LTMuOTEtLjA1LTUuMDFaIi8+PHBhdGggY2xhc3M9ImNscy0xMSIgZD0iTTM3NS4zOSA0ODYuNjFjLTEuMTktLjI1LTMuMzgtMS43Mi02LjMzLTIuNDQtMS4xMy0uMjctMy4wOS0xLjUxLTMuMjgtMy0uMjcgMS42OSAyIDMuMiAzLjI4IDMuNSAyLjk1LjcyIDUuMTQgMi4xOSA2LjMzIDIuNDRhMyAzIDAgMCAwIDIuNzMtLjM5IDEuNzggMS43OCAwIDAgMCAuMzktLjcgMy41NCAzLjU0IDAgMCAxLTMuMTIuNTlaIi8+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTM5NC4xMiA0NzMuMzdhMy43OSAzLjc5IDAgMCAxLTMuNDctLjUyYy0xIDAtNy41LTIuMzgtOC4yNy0uMzUtLjY3IDEuNzcgMS43NyAzLjQxIDMuMDcgMy43MiAyLjg0LjY5IDQuOTUgMi4xMSA2LjA5IDIuMzVhMi44OCAyLjg4IDAgMCAwIDIuNjMtLjM3Yy44My0uOC43NC0zLjc3LS4wNS00LjgzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMTEiIGQ9Ik0zOTEuNTQgNDc4LjA4Yy0xLjE0LS4yNC0zLjI1LTEuNjYtNi4wOS0yLjM1LTEuMDktLjI2LTMtMS40Ni0zLjE2LTIuODgtLjI1IDEuNjMgMS45NSAzLjA4IDMuMTYgMy4zNyAyLjg0LjY5IDQuOTUgMi4xMSA2LjA5IDIuMzVhMi44OCAyLjg4IDAgMCAwIDIuNjMtLjM3IDEuNjMgMS42MyAwIDAgMCAuMzctLjY4IDMuNCAzLjQgMCAwIDEtMyAuNTZaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfNyIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy04IiBkPSJNMzk2LjI0IDQ1Ny4zM2EyMC45NCAyMC45NCAwIDAgMC0xLjI0LTcuMTJzLjgzLTkuNzUgMS40NS0xNi4xNWMuOTEtOS40NCAyLjM2LTEwLjM3IDEuOTUtMTYuMS0uMzgtNS4zMi0zLjQtOC43Ny00LjE5LTEyLjM3bC0xNS40MSAxLjIycy0xLjM0IDQuMzYtMy4wNyAxMy4wNi0xLjg0IDE5LjA1LTEuNjggMzIuNzZjLjA1IDMuNTMtLjYgNi42LS4zOSAxNS40LjE0IDUuOTIuNDcgMTMuMTYuNDcgMTMuMTYgMi4yNiAxLjk0IDMuODIuNTEgMy44Mi41MXMzLjk1LTE3LjUyIDQuNTMtMjEuNTVhMTIuNjIgMTIuNjIgMCAwIDAtLjU0LTYuNjVzMS4xNi01LjUxIDItOS44NGMxLjA1LTUuMjggMy42My0xNi42OSAzLjYzLTE2LjY5cy0uNDQgMTcuNTMuMzMgMjEgLjkgNi40NiAxLjU1IDExLjE2Yy43OSA1LjY5IDEuMTUgMTQgMS4xNSAxNCAyLjM1IDEuNDkgMy4zOS4zNCAzLjM5LjM0czIuMjUtMTEuMTcgMi4yNS0xNi4xNFoiLz48cGF0aCBjbGFzcz0iY2xzLTEyIiBkPSJNMzk0LjIxIDQwNS41OWMxLjYxIDEuNjUgNC4yOCA2LjY4IDQuMjggMTQuMjkgMCA4LjU2LTEuMjUgNi44Mi0xLjg0IDE2LjI2bC0uNiA5LjQzcy0xMi44NyA2LjE0LTIyLjA1LjQ0Yy0uODItMS43OC4zMS0yMS42MSAxLjkxLTI4LjY2czIuNzMtMTAuNTEgMi43My0xMC41MSAxMS44NCAzLjE2IDE1LjU3LTEuMjVaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfOCIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy04IiBkPSJNMzk0LjM5IDM4MC4yYy0zLjI4LS4xOS0zLjU5LjM1LTMuODYtLjgxLS4wOS0uNDItLjI3LTMuMzEtLjI3LTMuMzFhMTAuMjggMTAuMjggMCAwIDAgLjgyLTEuMjEgOC40IDguNCAwIDAgMC0zLjUzLTE1LjUyYy00LjM2LS40Ni03LjU2IDIuNi04LjQxIDYuOC0uNDYgMi4wNy0uOTQgNi4zMS4zNSA5LjcuNzMgMS45MiAxLjQgMy4yNyAzLjE0IDMuMmExMC4zOSAxMC4zOSAwIDAgMCAxLjcxLS4zIDE2IDE2IDAgMCAxIC4xIDIuNGMtLjA1Ljg0LjEgMS4yNy0xLjU1IDIuMjhzMi40OSAzLjA5IDUuMTggMi44OSA1LjczLTEuODQgNi41Ny0zLjU4Yy45Mi0xLjk1IDEuMy0yLjQ0LS4yNS0yLjU0WiIvPjxwYXRoIGNsYXNzPSJjbHMtOSIgZD0iTTM5Ni44MSAzOTQuNzVzMy43MS0uODQgNS40MS0yLjQ5YzAgMC0yLjIxLTYuOTUtMy42Mi04LjdzLTIuNzggOS40OC0yLjc4IDkuNDhaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfOSIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy0xMyIgZD0iTTM5MS4xNCAzODAuMTNjLjYuNzYuNjcgMS43MS0xLjY3IDIuM2E3LjQyIDcuNDIgMCAwIDEtNS4xMy0uMzkgMzMuNzkgMzMuNzkgMCAwIDAtNS4zIDIuODFjLTIgNi41Ny0uMzggNy40MS0xLjIyIDEyLjEyLjMyIDIuMzcuNzIgOC40OC44MiA5Ljg3IDQuNDYgMy4xMiAxMy41MyAyLjA2IDE1LjU3LTEuMjVhMjUuMzggMjUuMzggMCAwIDEgLjMxLTMuM2MyLjEzLTcuOSAzLjgtMTAgMy4yLTE2LS4zNC0zLjQxLS42LTUuMTItMi40MS02YTE2IDE2IDAgMCAwLTQuMTctLjE2WiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzEwIiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTgiIGQ9Ik0zNTAuMDkgNDA1Ljg0YTI1LjEyIDI1LjEyIDAgMCAxIDMgLjg2IDkuODggOS44OCAwIDAgMCAyLjkxIDFjMS4xLjE4IDIuODEtLjM5IDUuNzctMS43OWEzMS44OCAzMS44OCAwIDAgMCA4LjY2LTYuNTEgNzUuOTIgNzUuOTIgMCAwIDAgNy41Ny0xMC44YzEuMjgtMi4zNCAyLjkxLTIuOTMgNC4zMi0yLjQ3IDEuNjkuNTYgMS45IDIuMjMgMCA1LjM5YTU5Ljg1IDU5Ljg1IDAgMCAxLTguNjYgMTEuMzQgMzIuNDIgMzIuNDIgMCAwIDEtOSA2LjM3IDI4LjExIDI4LjExIDAgMCAxLTcuNiAyLjY0Yy0uOTMuMi0xLjU2LjU4LTMuMjcgMS4xOGExMS4yNCAxMS4yNCAwIDAgMS01LjMyLjU5Yy0xLjQ5LS4yOS0yLS42My0yLjA2LTFzLjI1LS42Mi45NC0uNTdhOS4zMSA5LjMxIDAgMCAwIDMuMy0uMDhzLTEuNTItLjA1LTIuNDQtLjE2YTkuMDggOS4wOCAwIDAgMS0yLjM2LS42Yy0uNzMtLjMxLTEtMS40NS0uMjctMS40MXMxLjI0LjI1IDIuNTkuMzlhOSA5IDAgMCAwIDIuMTYgMCAxNy4zMSAxNy4zMSAwIDAgMS0yLjY0LS42NSAzLjc5IDMuNzkgMCAwIDEtMS44NC0xLjEzYy0uMjUtLjI5LS4xOC0xIC42OC0uODNhMTMuNjkgMTMuNjkgMCAwIDAgMy4yMy43MmMxLjExIDAgMS44OS0uMDkgMS43NS0uMjdzLS43OS0uMTQtMS42NC0uNjItMS4zMi0xLjM3LTEtMS44LjMyLS4xMiAxLjIyLjIxWiIvPjxwYXRoIGNsYXNzPSJjbHMtOSIgZD0iTTM4MC41MyAzOTUuMzFhMTIgMTIgMCAwIDEtNi44MS0zLjQ1bDQuMTItNS43MnMyLjMyLTIuOTMgNS4zOC0xLjI3YzAgMCAyLjMyLjI1IDAgNS4wOGE1MC42OCA1MC42OCAwIDAgMS0yLjY5IDUuMzZaIi8+PHBhdGggY2xhc3M9ImNscy0xNCIgZD0iTTM3OC4zNCAzNjMuNjdhMy44MiAzLjgyIDAgMCAxIDQuMzEtMy4xNCA3LjIgNy4yIDAgMCAxIDQuOS0xLjE4YzMuOTEuNCA2LjQ3IDIuOTQgNy42NiA2Ljg2YTMxLjcxIDMxLjcxIDAgMCAxIDEuMTUgNmMxLjE4IDguNzEgNC4zNCAxNS42MyAxLjM4IDE4LjIxcy0xMS4wNiA0LjIzLTE0LjQ0IDIuNTggMi43OS0xNi42NC0zLjkyLTI1Yy0xLjU3LTEuOTUtMS43Mi0zLjM0LTEuMDQtNC4zM1oiLz48L2c+PGcgaWQ9Ik1lbl8xMyI+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTExIDM2MC40NWMxLjUzIDEuMjQgMy43OC4xMSAzLjg5LjIyYTY4LjI0IDY4LjI0IDAgMCAwIDUuNjMgNC42OWMxIC43NSAyLjQzIDEuNzUgMi4xNiAzLjE4LS40OCAyLjU3LTQuNTkgMS43OC02LjE0IDFzLTIuODItMi4wOS00LjI5LTNjLTEtLjY1LTIuMDgtMS0yLjI0LTIuMzEtLjE1LS44MS42Ny0zLjgxLjk5LTMuNzhaIi8+PHBhdGggY2xhc3M9ImNscy0xMSIgZD0iTTEwIDM2My42OWMuMiAxLjI3IDEuMjIgMS42MiAyLjI2IDIuMjYgMS40OS45MyAyLjggMi4yNyA0LjM1IDMuMDVzNSAxLjQ1IDYtLjM5Yy0uNTQgMi40OC00LjU5IDEuNy02LjEyLjkzcy0yLjgyLTIuMDktNC4yOS0zYy0xLS42NS0yLjA4LTEtMi4yNC0yLjMxYTIgMiAwIDAgMSAuMDQtLjU0WiIvPjxwYXRoIGNsYXNzPSJjbHMtMTAiIGQ9Ik0yNC4xOSAzNTUuNTNjMS41MiAxLjI0IDQuMTktLjEyIDQuMzEgMGE2MCA2MCAwIDAgMCA1IDQuNTRjLjk1Ljc1IDIuNDQgMS43NSAyLjE3IDMuMTgtLjQ4IDIuNTctNC42IDEuNzgtNi4xNSAxcy0yLjgyLTIuMDktNC4yOS0zYy0xLS42NS0yLjA4LTEtMi4yNC0yLjMxLS4wOC0uOC45My0zLjQ0IDEuMi0zLjQxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMTEiIGQ9Ik0yMy4wNiAzNTguNThjLjIgMS4yNyAxLjIyIDEuNjIgMi4yNiAyLjI3IDEuNDkuOTIgMi44IDIuMjYgNC4zNSAzczUgMS40NCA2LS4zOWMtLjU0IDIuNDgtNC41OSAxLjctNi4xMi45MnMtMi44Mi0yLjA5LTQuMjktM2MtMS4wNS0uNjUtMi4wOC0xLTIuMjQtMi4zMWEyLjA2IDIuMDYgMCAwIDEgLjA0LS40OVoiLz48cGF0aCBpZD0iX9Ca0L7QvdGC0YPRgF8xMSIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy0xMiIgZD0iTTEwLjg2IDMwNC4xNWMuMDggMi4zMS44IDEyLjMyIDEuMTIgMTcuNjJzLjM5IDExLjguMzkgMTEuOC0uOTEgMy44Ny0xLjUxIDguNDEgMCAxOC44NyAwIDE4Ljg3YTMuNjQgMy42NCAwIDAgMCAzLjkxIDBzMi40NC0xMS40NyAzLjU3LTE2LjY0IDEuMzMtOC4xNCAxLjkxLTExLjM1Yy43MS0zLjg3IDIuMjQtMjEuOTUgMi4yNC0yMS45NWguNjJsMS42MyAyMC40MWEyMi44MyAyMi44MyAwIDAgMC0xIDQuNjRjLS40NCAzLjMyLjQ3IDIwLjA1LjQ3IDIwLjA1YTQuMDYgNC4wNiAwIDAgMCA0LjIyLS4xN3M0LjA4LTIyLjE2IDQuMDgtMjUuNTNjMC0yLjIzLS4zOS0zMS42My0uMzktMzEuNjNaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfMTIiIGRhdGEtbmFtZT0iJmx0O9Ca0L7QvdGC0YPRgCZndDsiIGNsYXNzPSJjbHMtOCIgZD0iTTE2LjM5IDI1OS41N3MuMjYgNSAuMTUgNS40Ny0yLjMxIDEuOTItMi45NSAyLjQ1IDMuNDggNC41OSA1LjQ4IDUuNTEgOC4zNC0xLjUgOC40Ni00LjYyLTEuMDktNS43My0yLjA2LTUuODctOS4wOC0yLjk0LTkuMDgtMi45NFoiLz48cGF0aCBjbGFzcz0iY2xzLTgiIGQ9Ik0zMC4xNyAyNjguOWMuMjktMi4yMi0xLjE3LTQuMzIuMjUtNi4wOSA1IDQuODcgNC4zMyAxNy43NCA1LjQ2IDI2IDMuNjggMy44NiAxMS4wOSA3LjY1IDEzLjE3IDguNTkuMzguMTguNzEuMzYuNjQuNzdhOS4yOCA5LjI4IDAgMCAxLTEuNjkgMy43NWMtNC45LTIuMTItOC40My0zLjMzLTE0LjU2LTkuMTVhMTMuNjQgMTMuNjQgMCAwIDEtMS41NS0yYy0xLjc5LTUuMjktMi4yMy0xOC4wNC0xLjcyLTIxLjg3WiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzEzIiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTEzIiBkPSJNMTUuODMgMjY1LjkxczMuNjUgNS40NCA4Ljc0IDUuOTVjMS42MS0xLjU4IDEuNzUtNy4yMS0uNDctOSAwIDAgMi0xLjY1IDMuNDQtMS4zM2E3LjIgNy4yIDAgMCAxIDMuMTQgNCAzMyAzMyAwIDAgMSAxLjggMTEuNjRjLS4wOSA1LjM0IDAgMjEuNjQgMCAyMS42NHMtLjcyIDMuNDUtNS4zMiA2LTggMi44Mi0xMS4xNSAyLjA5Yy0yLjU4LS42LTQuNzEtMS41MS01LjYtMy4zOC4yMy0zLjc0IDEuOS0xMy41IDEuMjgtMTguMnMtMS42Mi04LjIxLTEuODgtMTIgLjUtMy43MiAyLjQxLTUuMDhhMzEgMzEgMCAwIDEgMy42MS0yLjMzWiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzE0IiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTgiIGQ9Ik0yNy43NyAyNTIuMDdjLS42LTMuOS0zLjQxLTYuODYtNy40My02LjY0YTcuNzQgNy43NCAwIDAgMC0zLjk1IDE0LjE0IDcuNzQgNy43NCAwIDAgMCAuNjMgMS43MWMxLjQyIDEuNjYgNS43MyAyLjY5IDcgMi41MWEzLjY5IDMuNjkgMCAwIDAgMy4yMS0yLjYyYzEuMjktMy4wNy44Ny03LjE3LjU0LTkuMVoiLz48cGF0aCBjbGFzcz0iY2xzLTE0IiBkPSJtMTYuMzkgMjU5LjU3LjM3LTMuNDFTMTQgMjQ5IDIwLjU1IDI1MC4zNGM0LjM0LjkyIDUuNDMgMS4zMSA2Ljc1LTEuNnMtMy4zMy01LjUzLTguODYtNC44YTcuNjQgNy42NCAwIDAgMC02Ljg1IDcuNzVjLjE1IDIuMTQuNzIgNi40OCA0LjggNy44OFoiLz48cGF0aCBjbGFzcz0iY2xzLTgiIGQ9Ik04LjY5IDI3MS4wN2MxLjkxLS41NC40Ni0uMDkgMS45MS0uNTQgNSA0Ljg2IDQuMzQgMTMuMjEgNS40NyAyMS40NUMxOC44MSAyOTYuNTEgMjkgMzAyLjY1IDI5IDMwMi42NWMuMTMuODctLjE4IDEuMTMtMS4yOCAyLjkxYTQ0IDQ0IDAgMCAxLTE1LjEzLTkuNzZjLS4yNC0uMjMtLjU5LS4yOS0uNjktLjYtMS43Ny01LjI2LTMuNzEtMjAuMy0zLjIxLTI0LjEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMTMiIGQ9Im01My45NSAyODEuMjMtNy40IDI1LjI3LTE2LjIxIDYuNDggNS45MS0yNC42MiAxNy43LTcuMTN6Ii8+PHBhdGggY2xhc3M9ImNscy04IiBkPSJNMjYuNDIgMzAyLjgzYy4yNC0uODYuODctLjY1IDEuNTctLjQzYTQuMiA0LjIgMCAwIDAgMi40LjIxIDcuMzcgNy4zNyAwIDAgMCAxLjcyLTEuMTcgMi4xNSAyLjE1IDAgMCAxIDEuMDgtLjNjMCAuMjEtLjM3IDEuNS0uMzcgMS41aDMuOTJhLjYuNiAwIDAgMSAuNTYgMWguMjRjLjczLS4xNyAxIC45NS4zMSAxLjEybC0uNi4wOWMuNDguMTguNiAxIDAgMS4wOGgtLjE5YS41OS41OSAwIDAgMS0uMjYgMGgtLjExYS42NC42NCAwIDAgMS0uNTMuNzZjLTEuNzQuMjItNC4yOS45MS01Ljg2LS41MmE5Ljc1IDkuNzUgMCAwIDEtMy4xNS0uODVjLS45OS0uNDktMS4wMi0xLjQ2LS43My0yLjQ5Wk00NC4xNyAzMDAuNzZoLjI0YS42LjYgMCAwIDEgLjM0LTEuMDljLjM3IDAgNC0uNzYgNC0uNzZsLjQ0LTEuNWMwLS4wOS42My4zLjY1LjMxYTIuNDkgMi40OSAwIDAgMSAxLjE2IDEuODIgNCA0IDAgMCAxLTEgMi44MyAzLjY2IDMuNjYgMCAwIDEtMi40OCAxLjA3bC0xLjI2LjA4YS42My42MyAwIDAgMS0uNjgtLjYyaC0uMThhLjYxLjYxIDAgMCAxLS4yNiAwSDQ1Yy0uNjIgMC0uNjctLjc4LS4yNS0xLjA2aC0uNmMtLjc5LjA4LS43My0xLjA4LjAyLTEuMDhaIi8+PHBhdGggY2xhc3M9ImNscy05IiBkPSJNMzIuMjMgMjcyLjJhMy45MyAzLjkzIDAgMCAwIDIuNjUtMS4yYy0uMTQtMS44Ny0yLjUzLTktNy4zNC05LjQ5YTguODkgOC44OSAwIDAgMSAzIDMuNjMgNDcuMjcgNDcuMjcgMCAwIDEgMS42OSA3LjA2Wk03LjgzIDI4MS41N3M0Ljc4IDEuNjUgOC4xNS0xLjEyYy4zNy0uNjQtMi04Ljc4LTItOC43OHMtMi00LjE3LTUuMTUtMi41MS0xIDEyLjQxLTEgMTIuNDFaIi8+PC9nPjwvZz48L2c+PC9zdmc+"}}]); diff --git a/statics/6838.d72445a4.async.js b/statics/6838.d72445a4.async.js new file mode 100644 index 00000000..2db81b8b --- /dev/null +++ b/statics/6838.d72445a4.async.js @@ -0,0 +1,398 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6838],{68991:function(L,l,e){L=e.nmd(L);var g=e(52677).default;ace.define("ace/theme/atom-one-dark",["require","exports","module","ace/lib/dom"],function(I,c,y){c.isDark=!1,c.cssClass="ace-atom-dark",c.cssText=` +.ace-atom-dark .ace_gutter { + background: #1d1f20; + color: rgb(139,140,137) +} + +.ace-atom-dark .ace_print-margin { + background: #e8e8e8 +} + +.ace-atom-dark { + background-color: #1d1f20; + color: #F8F8F2 +} + +.ace-atom-dark .ace_cursor { + color: #F8F8F0 +} + +.ace-atom-dark .ace_marker-layer .ace_selection { + background: #49483E +} + +.ace-atom-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1d1f20; + border-radius: 2px +} + +.ace-atom-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-atom-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #49483E +} + +.ace-atom-dark .ace_marker-layer .ace_active-line { + background: #49483E +} + +.ace-atom-dark .ace_gutter-active-line { + background-color: #49483E +} + +.ace-atom-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #49483E +} + +.ace-atom-dark .ace_fold { + background-color: #ffd2a7; + border-color: #F8F8F2 +} + +.ace-atom-dark .ace_keyword { + color: #8ecbfe +} + +.ace-atom-dark .ace_constant.ace_language { + color: #AE81FF +} + +.ace-atom-dark .ace_constant.ace_numeric { + color: #ff73fd +} + +.ace-atom-dark .ace_constant.ace_character { + color: #90cc99 +} + +.ace-atom-dark .ace_constant.ace_other { + color: #90cc99 +} + +.ace-atom-dark .ace_support.ace_function { + color: #66D9EF +} + +.ace-atom-dark .ace_support.ace_constant { + color: #66D9EF +} + +.ace-atom-dark .ace_support.ace_class { + color: #f7ffb6 +} + +.ace-atom-dark .ace_support.ace_type { + color: #f7ffb6 +} + +.ace-atom-dark .ace_storage { + color: #F92672 +} + +.ace-atom-dark .ace_storage.ace_type { + font-style: italic; + color: #66D9EF +} + +.ace-atom-dark .ace_string { + color: #9fff60 +} + +.ace-atom-dark .ace_comment { + color: #737c7c +} + +.ace-atom-dark .ace_variable { + color: #c8c5ff +} + +.ace-atom-dark .ace_variable.ace_parameter { + font-style: italic; + color: #c0c5fe +} + +.ace-atom-dark .ace_entity.ace_other.ace_attribute-name { + color: #A6E22E +} + +.ace-atom-dark .ace_entity.ace_name.ace_function { + color: #ffd2a7 +} + +.ace-atom-dark .ace_entity.ace_name.ace_tag { + color: #F92672 +} +`;var n=I("ace/lib/dom");n.importCssString(c.cssText,c.cssClass)}),function(){ace.require(["ace/theme/ace-atom-one-dark"],function(I){g(L)=="object"&&g(l)=="object"&&L&&(L.exports=I)})}()},41612:function(L,l,e){L=e.nmd(L);var g=e(52677).default;ace.define("ace/theme/material-one-dark",["require","exports","module","ace/lib/dom"],function(I,c,y){c.isDark=!1,c.cssClass="ace-material-one-dark",c.cssText=` +.ace-material-one-dark .ace_gutter { + background: #272B33; + color: rgb(103,111,122) +} + +.ace-material-one-dark .ace_print-margin { + // width: 1px; + background: #e8e8e8 +} + +.ace-material-one-dark { + background-color: #272B33; + color: #A6B2C0 +} + +.ace-material-one-dark .ace_cursor { + color: #528BFF +} + +.ace-material-one-dark .ace_marker-layer .ace_selection { + background: #3D4350 +} + +.ace-material-one-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #272B33; + border-radius: 2px +} + +.ace-material-one-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-material-one-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #747369 +} + +.ace-material-one-dark .ace_marker-layer .ace_active-line { + background: #2B313A +} + +.ace-material-one-dark .ace_gutter-active-line { + background-color: #2B313A +} + +.ace-material-one-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #3D4350 +} + +.ace-material-one-dark .ace_fold { + background-color: #61AEEF; + border-color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword { + color: #C679DD +} + +.ace-material-one-dark .ace_keyword.ace_operator { + color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword.ace_other.ace_unit { + color: #D2945D +} + +.ace-material-one-dark .ace_constant { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_numeric { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_character.ace_escape { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_function { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_class { + color: #E5C17C +} + +.ace-material-one-dark .ace_storage { + color: #C679DD +} + +.ace-material-one-dark .ace_invalid.ace_illegal { + color: #272B33; + background-color: #f2777a +} + +.ace-material-one-dark .ace_invalid.ace_deprecated { + color: #272B33; + background-color: #d27b53 +} + +.ace-material-one-dark .ace_string { + color: #90C378 +} + +.ace-material-one-dark .ace_string.ace_regexp { + color: #57B6C2 +} + +.ace-material-one-dark .ace_comment { + font-style: italic; + color: #59626F +} + +.ace-material-one-dark .ace_variable { + color: #DF6A73 +} + +.ace-material-one-dark .ace_meta.ace_selector { + color: #C679DD +} + +.ace-material-one-dark .ace_entity.ace_other.ace_attribute-name { + color: #D2945D +} + +.ace-material-one-dark .ace_entity.ace_name.ace_function { + color: #61AEEF +} + +.ace-material-one-dark .ace_entity.ace_name.ace_tag { + color: #DF6A73 +} + +.ace-material-one-dark .ace_markup.ace_list { + color: #DF6A73 +} +`;var n=I("ace/lib/dom");n.importCssString(c.cssText,c.cssClass)}),function(){ace.require(["ace/theme/ace-material-one-dark"],function(I){g(L)=="object"&&g(l)=="object"&&L&&(L.exports=I)})}()},84360:function(L,l,e){L=e.nmd(L);var g=e(52677).default;ace.define("ace/theme/vs-dark",["require","exports","module","ace/lib/dom"],function(I,c,y){c.isDark=!1,c.cssClass="ace-vs-dark",c.cssText=` +.ace-vs-dark .ace_gutter { + background: #1E1E1E; + color: rgb(125,125,125) +} + +.ace-vs-dark .ace_print-margin { + background: #e8e8e8 +} + +.ace-vs-dark { + background-color: #1E1E1E; + color: #DCDCDC +} + +.ace-vs-dark .ace_cursor { + color: #DCDCDC +} + +.ace-vs-dark .ace_marker-layer .ace_selection { + background: #264F78 +} + +.ace-vs-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1E1E1E; + border-radius: 2px +} + +.ace-vs-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-vs-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgba(255, 255, 255, 0.25) +} + +.ace-vs-dark .ace_marker-layer .ace_active-line { + background: #0F0F0F +} + +.ace-vs-dark .ace_gutter-active-line { + background-color: #0F0F0F +} + +.ace-vs-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #264F78 +} + +.ace-vs-dark .ace_fold { + background-color: #DCDCDC; + border-color: #DCDCDC +} + +.ace-vs-dark .ace_keyword { + color: #569CD6 +} + +.ace-vs-dark .ace_constant { + color: #B4CEA8 +} + +.ace-vs-dark .ace_constant.ace_language { + color: #569CD6 +} + +.ace-vs-dark .ace_constant.ace_numeric { + color: #B5CEA8 +} + +.ace-vs-dark .ace_constant.ace_character.ace_escape { + color: #E3BBAB +} + +.ace-vs-dark .ace_support.ace_function { + color: #DCDCDC +} + +.ace-vs-dark .ace_support.ace_constant { + color: #B5CEA8 +} + +.ace-vs-dark .ace_support.ace_class { + color: #DCDCDC +} + +.ace-vs-dark .ace_support.ace_type { + color: #DCDCDC +} + +.ace-vs-dark .ace_storage.ace_type { + color: #569CD6 +} + +.ace-vs-dark .ace_invalid { + color: #ff3333 +} + +.ace-vs-dark .ace_string { + color: #D69D85 +} + +.ace-vs-dark .ace_comment { + color: #608B4E +} + +.ace-vs-dark .ace_variable { + color: #DCDCDC +} + +.ace-vs-dark .ace_meta.ace_tag { + color: #808080 +} + +.ace-vs-dark .ace_entity.ace_other.ace_attribute-name { + color: #92CAF4 +} + +.ace-vs-dark .ace_entity.ace_name.ace_function { + color: #DCDCDC +} + +.ace-vs-dark .ace_entity.ace_name.ace_tag { + color: #569CD6 +} + +.ace-vs-dark .ace_markup.ace_heading { + color: #569CD6 +} + +.ace-vs-dark .ace_markup.ace_list { + color: #DCDCDC +} +`;var n=I("ace/lib/dom");n.importCssString(c.cssText,c.cssClass)}),function(){ace.require(["ace/theme/ace-vs-dark"],function(I){g(L)=="object"&&g(l)=="object"&&L&&(L.exports=I)})}()},12554:function(L,l,e){"use strict";e.d(l,{Z:function(){return w}});var g=e(67294),I=e(7134),c=e(83062),y={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},n=e(19478),A=Object.defineProperty,S=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,a=(r,N,s)=>N in r?A(r,N,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[N]=s,u=(r,N)=>{for(var s in N||(N={}))T.call(N,s)&&a(r,s,N[s]);if(S)for(var s of S(N))j.call(N,s)&&a(r,s,N[s]);return r};const W=r=>React.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},r),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var Q="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",x=e(85893),w=function(r){var N=r.user,s=r.size,v=s===void 0?24:s,k=r.marginLeft,z=k===void 0?6:k;return N===void 0?(0,x.jsx)(I.C,{size:v,src:Q,alt:"avatar"}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(I.C,{size:v,className:y.avatar,src:N.avatar||n.Z.AVATAR_URL,alt:"avatar"}),(0,x.jsx)(c.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:N.deleted_at?(0,x.jsx)("del",{children:(0,x.jsx)("a",{style:{marginLeft:z,fontSize:13,color:"#ccc"},href:"/#/member/".concat(N.id),rel:"noreferrer",children:N.name})}):(0,x.jsx)("a",{onClick:function(G){G.stopPropagation()},style:{marginLeft:z,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(N.id),rel:"noreferrer",children:N.name})})]})}},1633:function(L,l,e){"use strict";e.d(l,{Z:function(){return a4}});var g=e(97857),I=e.n(g),c=e(53239),y=e.n(c),n=e(49332),A=e.n(n),S=e(77136),T=e.n(S),j=e(51612),a=e.n(j),u=e(42692),W=e.n(u),Q=e(57787),x=e.n(Q),w=e(76381),r=e.n(w),N=e(24203),s=e.n(N),v=e(95910),k=e.n(v),z=e(59760),_=e.n(z),G=e(42270),d=e.n(G),f=e(32437),J=e.n(f),p=e(90787),P=e.n(p),B=e(61970),F=e.n(B),U=e(76588),l4=e.n(U),g4=e(67294),M4=e(24315),t4=e(85893);function a4($){return(0,t4.jsx)(M4.Z,I()(I()({},$),{},{theme:$.theme||"material-one-dark"}))}},24315:function(L,l,e){"use strict";e.d(l,{Z:function(){return v}});var g=e(12444),I=e.n(g),c=e(72004),y=e.n(c),n=e(31996),A=e.n(n),S=e(26037),T=e.n(S),j=e(67294),a=e(74981),u=e(82679),W=e(41612),Q=e(68991),x=e(84360),w=e(90252),r=e(12477),N=e(79253),s=e(85893),v=function(k){A()(_,k);var z=T()(_);function _(){return I()(this,_),z.apply(this,arguments)}return y()(_,[{key:"componentDidMount",value:function(){var d=this;this.props.setEditor(this.refs),(0,u.addCompleter)({getCompletions:function(J,p,P,B,F){F(null,(d.props.tables||[]).map(function(U){return{name:U,value:U}}))}})}},{key:"render",value:function(){var d=this.props,f=d.value,J=d.language,p=d.onChange,P=d.height,B=d.readOnly,F=d.theme,U=d.useWorker;return(0,s.jsx)(a.ZP,{ref:"aceEditor",mode:J||"json",theme:F||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:p,value:f,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:P||300},setOptions:{readOnly:B||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!1}})}}]),_}(j.Component)},37594:function(L,l,e){"use strict";e.d(l,{B:function(){return c}});var g=e(91321),I="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",c=(0,g.Z)({scriptUrl:I})},44413:function(L,l,e){"use strict";var g=e(97857),I=e.n(g),c=e(83062),y=e(85893);l.Z=function(n){var A=n.icon,S=n.title,T=n.font,j=n.style,a=n.onClick;return(0,y.jsx)(c.Z,{title:S,children:(0,y.jsx)("span",{onClick:a,style:I()({cursor:"pointer",fontSize:T},j),children:A})})}},26838:function(L,l,e){"use strict";e.d(l,{Z:function(){return Q4}});var g=e(19632),I=e.n(g),c=e(15009),y=e.n(c),n=e(99289),A=e.n(n),S=e(97857),T=e.n(S),j=e(5574),a=e.n(j),u=e(14e3),W=e(34041),Q=e(11941),x=e(2453),w=e(75081),r=e(71230),N=e(15746),s=e(4393),v=e(32983),k=e(72051),z=e(67294),_=e(90596),G=e(1633),d=e(21237),f=e(73505),J=e(51767),p=e(37594),P=e(44413),B=e(19478),F=e(74855),U=e(86452),l4=e(39169),g4=e(15771),M4=e(80936),t4=e(81588),a4=e(43419),$=e(96746),_4=e(66309),v4=e(40411),Y4=e(12554),t=e(85893),k4=$.Z.Text,p4=function(o){var E=o.dispatch,Y=o.user,V=o.online,I4=o.loading,Z=V.historyPage,j4=V.historyData,X=Y.userMap;(0,z.useEffect)(function(){Object.keys(X).length===0&&E({type:"user/fetchUserList"})},[]);var u4=[{title:"\u73AF\u5883",key:"env",render:function(m,K){return(0,t.jsx)(_4.Z,{children:K.database.env_info.name})}},{title:"\u6570\u636E\u5E93",key:"database",render:function(m,K){return K.database.name}},{title:"SQL",dataIndex:"sql",ellipse:!0,render:function(m){return(0,t.jsx)(k4,{copyable:!0,ellipsis:!0,children:m})}},{title:"\u8017\u65F6",dataIndex:"elapsed",render:function(m){return(0,t.jsx)(v4.Z,{status:m>200?"error":"success",text:"".concat(m,"ms")})}},{title:"\u6267\u884C\u4EBA",dataIndex:"create_user",render:function(m){return(0,t.jsx)(Y4.Z,{user:X[m]})}},{title:"\u6267\u884C\u65F6\u95F4",dataIndex:"created_at"}],H=function(){E({type:"online/fetchHistorySQL",payload:{page:Z.current,size:Z.pageSize}})};return(0,z.useEffect)(function(){H()},[Z.current,Z.pageSize]),(0,t.jsx)(k.Z,{size:"small",columns:u4,pagination:Z,dataSource:j4,loading:I4.effects["online/fetchHistorySQL"],onChange:function(m){E({type:"online/save",payload:{historyPage:T()(T()({},Z),{},{current:m.current,pageSize:m.pageSize})}})},rowKey:function(m){return m.id}})},h4=(0,_.connect)(function(h){var o=h.user,E=h.loading,Y=h.online;return{user:o,loading:E,online:Y}})(p4),Z4=u.Z.DirectoryTree,c4=W.Z.Option,s4=Q.Z.TabPane,R4=function(o){var E=o.online,Y=o.dispatch,V=o.loading,I4=o.leftHeight,Z=o.cardHeight,j4=o.tableHeight,X=o.imageHeight,u4=o.editorHeight,H=E.databaseSource,C=E.testResults,m=E.tables,K=E.table_map,i4=E.sqlColumns,q=E.currentDatabase,G4=E.currentDatabaseSqlType,U4=E.currentDatabaseTitle,b4=(0,z.useState)(null),y4=a()(b4,2),W4=y4[0],w4=y4[1],f4=(0,z.useState)("mysql"),D4=a()(f4,2),r4=D4[0],P4=D4[1],B4=(0,z.useState)(""),o4=a()(B4,2),e4=o4[0],F4=o4[1],V4=(0,z.useState)("material-one-dark"),T4=a()(V4,2),z4=T4[0],H4=T4[1],J4=(0,z.useState)({current:1,total:C.length,pageSize:4,pageSizeOptions:[4,10,50],showTotal:function(M){return"\u5171".concat(M,"\u6761\u6570\u636E")}}),E4=a()(J4,2),L4=E4[0],A4=E4[1];(0,z.useEffect)(function(){Y({type:"online/fetchDatabaseSource"})},[]),(0,z.useEffect)(function(){$4(H)},[H]);var m4=function(M){Y({type:"online/save",payload:T()({},M)})},X4=function(){return i4.map(function(M){return{title:M,key:M,dataIndex:M,render:function(R){return R===null?(0,t.jsx)("span",{style:{fontWeight:"100"},children:""}):R}}})},K4=function D(M){for(var i in M)M[i].key.indexOf("column")>-1?(M[i].icon=M[i].primary_key?(0,t.jsx)(l4.Z,{theme:"outline",size:"15",fill:"#f8e725",style:{marginRight:2}}):(0,t.jsx)(g4.Z,{theme:"outline",size:"15",fill:"#333",style:{marginRight:2}}),M[i].title=(0,t.jsxs)("span",{children:[M[i].title," ",(0,t.jsx)("span",{style:{fontSize:12,fontWeight:200,marginLeft:8},children:M[i].type})]})):M[i].key.indexOf("table")>-1?M[i].icon=(0,t.jsx)(M4.Z,{theme:"outline",size:"15",fill:"#7ed321",style:{marginRight:2}}):M[i].key.indexOf("database")>-1&&(M[i].icon=(0,t.jsx)(p.B,{style:{fontSize:15,marginRight:2},type:M[i].sql_type===0?"icon-mysql6":"icon-PostgreSQL"})),M[i].children!==void 0&&M[i].children.length>0&&D(M[i].children)},$4=function(M){K4(M),m4({databaseSource:M})},q4=function(){if(!e4){x.ZP.warning("\u8BF7\u8F93\u5165sql\u8BED\u53E5!!!");return}var M=W4.aceEditor.editor.getSelectedText(),i=M||e4;Y({type:"online/onlineExecuteSQL",payload:{id:q,sql:i}}),A4(T()(T()({},L4),{},{current:1}))},e0=function(){var D=A()(y()().mark(function M(i){return y()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,Y({type:"online/fetchTables",payload:i});case 2:return O.abrupt("return",O.sent);case 3:case"end":return O.stop()}},M)}));return function(i){return D.apply(this,arguments)}}(),M0=function(M){var i=M.key,R=M.children,O=M.data,a0=M.title,c0=M.sql_type;return new Promise(function(){var I0=A()(y()().mark(function S4(x4){var d4,N4;return y()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(!(!i.startsWith("database_")||!R)){b.next=3;break}return x4(),b.abrupt("return");case 3:return b.next=5,e0(O);case 5:d4=b.sent,N4=I()(H),N4.forEach(function(C4){var n4,O4=(n4=C4.children)===null||n4===void 0?void 0:n4.findIndex(function(j0){return j0.key==="database_".concat(O.id)});O4>-1&&(C4.children[O4].children=d4)}),Y({type:"online/save",payload:{databaseSource:N4,currentDatabaseTitle:a0,currentDatabaseSqlType:c0}}),x4();case 10:case"end":return b.stop()}},S4)}));return function(S4){return I0.apply(this,arguments)}}())},t0=q===null?null:(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{style:{marginRight:8},children:"\u6A21\u5F0F"}),(0,t.jsxs)(W.Z,{size:"small",style:{width:90,marginRight:12},value:r4,onSelect:function(M){return P4(M)},children:[(0,t.jsx)(c4,{value:"mysql",children:"MySQL"},"mysql"),(0,t.jsx)(c4,{value:"psql",children:"Postgres"},"psql")]}),(0,t.jsx)("span",{style:{marginRight:8},children:"\u4E3B\u9898 "}),(0,t.jsx)(W.Z,{size:"small",style:{marginRight:16,width:170},value:z4,onSelect:function(M){H4(M)},children:B.Z.EDITOR_THEME.map(function(D){return(0,t.jsx)(c4,{value:D,children:D})})}),(0,t.jsx)(P.Z,{icon:(0,t.jsx)(f.Z,{twoToneColor:"#67C23A"}),title:"\u70B9\u51FB\u53EF\u6267\u884C\u5168\u90E8SQL\uFF0C\u5982\u679C\u9009\u4E2DSQL\u5219\u6267\u884C\u9009\u4E2D\u7684SQL",font:13,style:{marginRight:16},onClick:q4}),(0,t.jsx)(P.Z,{icon:(0,t.jsx)(F.CopyToClipboard,{text:e4,onCopy:function(){x.ZP.success("\u590D\u5236SQL\u6210\u529F")},children:(0,t.jsx)(J.Z,{})}),title:"\u70B9\u51FB\u53EF\u590D\u5236\u5168\u90E8SQL",font:13,style:{marginRight:48}})]})});return(0,t.jsx)(w.Z,{spinning:!!(V.effects["online/fetchDatabaseSource"]||V.effects["online/onlineExecuteSQL"]),tip:"\u6570\u636E\u52A0\u8F7D\u4E2D, \u8BF7\u8010\u5FC3\u7B49\u5F85...",size:"large",children:(0,t.jsxs)(r.Z,{gutter:12,children:[(0,t.jsx)(N.Z,{span:8,style:{display:"table-cell"},children:(0,t.jsx)(s.Z,{title:"\u6570\u636E\u5E93\u5217\u8868",bodyStyle:{height:I4||676,overflowY:"auto"},size:"small",children:(0,t.jsx)(Z4,{treeData:H,loadData:M0,onSelect:function(M,i){if(M.length>0&&M[0].indexOf("database_")===0){var R=parseInt(M[0].split("_")[1],10),O=Array.from(new Set(K[R]));m4({tables:O,currentDatabase:R,currentDatabaseTitle:i.node.title,currentDatabaseSqlType:i.node.sql_type})}}})})}),(0,t.jsxs)(N.Z,{span:16,style:{display:"table-cell"},children:[(0,t.jsx)(s.Z,{bodyStyle:{height:Z||288,overflowY:"auto",padding:0},title:q!==null?(0,t.jsxs)("span",{children:[(0,t.jsx)(p.B,{style:{fontSize:14,marginRight:4},type:G4===0?"icon-mysql6":"icon-PostgreSQL"}),U4]}):(0,t.jsx)(p.B,{type:"icon-sharpicons_database"}),size:"small",extra:t0,children:q!==null?(0,t.jsx)(G.Z,{height:u4||280,tables:m,setEditor:w4,language:r4,theme:z4,value:e4,onChange:function(M){F4(M)}}):(0,t.jsx)(v.Z,{image:d.Z,imageStyle:{height:X||190,marginTop:32},description:"\u9009\u4E2D\u5DE6\u4FA7\u7684\u300E\u6570\u636E\u5E93\u8FDE\u63A5\u300F\u5F00\u542Fsql\u4E4B\u65C5\u5427~"})}),(0,t.jsx)(s.Z,{style:{marginTop:12},bodyStyle:{height:j4||370,overflowY:"auto",padding:"8px 24px"},children:(0,t.jsxs)(Q.Z,{defaultActiveKey:"1",children:[(0,t.jsx)(s4,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(t4.Z,{theme:"outline",size:"13",fill:"#333"})," \u6267\u884C\u7ED3\u679C"]}),children:C.length===0?(0,t.jsx)(v.Z,{image:U.Z,imageStyle:{height:X||180},description:"\u6CA1\u6709\u300E\u67E5\u8BE2\u7ED3\u679C\u300F\u54E6, \u5FEB\u53BB\u6267\u884CSQL\u5427~"}):(0,t.jsx)(k.Z,{columns:X4(i4),dataSource:C,size:"small",scroll:{x:i4.length>8?2e3:1e3,y:190},bordered:!0,pagination:L4,onChange:function(M){return A4(T()(T()({},L4),{},{current:M.current,pageSize:M.pageSize}))},rowKey:function(M,i){return M.id||i},loading:V.effects["online/onlineExecuteSQL"]})},"1"),(0,t.jsx)(s4,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(a4.Z,{theme:"outline",size:"13",fill:"#333"})," \u5386\u53F2\u8BB0\u5F55"]}),children:(0,t.jsx)(h4,{})},"2")]})})]})]})})},Q4=(0,_.connect)(function(h){var o=h.online,E=h.loading;return{loading:E,online:o}})(R4)},86452:function(L,l,e){"use strict";var g=e(67294),I=Object.defineProperty,c=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,A=(j,a,u)=>a in j?I(j,a,{enumerable:!0,configurable:!0,writable:!0,value:u}):j[a]=u,S=(j,a)=>{for(var u in a||(a={}))y.call(a,u)&&A(j,u,a[u]);if(c)for(var u of c(a))n.call(a,u)&&A(j,u,a[u]);return j};const T=j=>React.createElement("svg",S({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.17 116.842c9.442-1.528 13.264-2.678 22.483-11.608 9.22-8.93 18.568 4.098 32.432-1.133 13.864-5.23 15.131-11.564 36.337 7.836 9.775 8.245 17.55 4.981 22.341 8.245 3.194 2.176 6.273 7.54 9.237 16.092H61.17c-9.78-3.421-14.67-6.262-14.67-8.523 0-3.393 5.227-9.381 14.67-10.909Z",fill:"url(#NoData_svg__a)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M208.17 130.342c9.442-1.528 13.264-2.678 22.483-11.608 9.219-8.93 18.568 4.098 32.432-1.133 13.864-5.23 15.131-11.563 36.337 7.836 9.775 8.245 17.55 4.981 22.341 8.245 3.194 2.176 6.273 7.54 9.237 16.092H208.17c-9.78-3.421-14.67-6.262-14.67-8.523 0-3.393 5.227-9.381 14.67-10.909Z",fill:"url(#NoData_svg__b)"}),React.createElement("path",{opacity:.4,fillRule:"evenodd",clipRule:"evenodd",d:"m113.022 125.932 79.234-15.432a1.598 1.598 0 0 1 1.876 1.265l18.362 94.651a1.602 1.602 0 0 1-1.265 1.876l-79.235 15.431a1.598 1.598 0 0 1-1.876-1.263l.001-.002-18.363-94.65a1.603 1.603 0 0 1 1.266-1.876Z",fill:"url(#NoData_svg__c)"}),React.createElement("path",{opacity:.4,fillRule:"evenodd",clipRule:"evenodd",d:"m285.806 129.463-77.968-20.931a1.597 1.597 0 0 0-1.959 1.131L180.971 202.8c-.227.853.28 1.73 1.132 1.96l77.968 20.932a1.599 1.599 0 0 0 1.96-1.129l-.001-.002 24.908-93.137a1.607 1.607 0 0 0-1.132-1.961Z",fill:"url(#NoData_svg__d)"}),React.createElement("path",{d:"M245.951 82.302h-96.23a1.6 1.6 0 0 0-1.6 1.6v133.324a1.6 1.6 0 0 0 1.6 1.6h96.23a1.6 1.6 0 0 0 1.6-1.6V83.902a1.6 1.6 0 0 0-1.6-1.6Z",fill:"url(#NoData_svg__e)"}),React.createElement("path",{d:"M167.663 106.102h-4.877a3.203 3.203 0 0 0-3.203 3.204v4.898a3.203 3.203 0 0 0 3.203 3.203h4.877a3.203 3.203 0 0 0 3.203-3.203v-4.898a3.203 3.203 0 0 0-3.203-3.204Z",fill:"url(#NoData_svg__f)"}),React.createElement("path",{d:"M234.949 106.102h-56.224a.8.8 0 0 0-.8.8v9.705a.8.8 0 0 0 .8.8h56.224a.8.8 0 0 0 .8-.8v-9.705a.8.8 0 0 0-.8-.8Z",fill:"url(#NoData_svg__g)"}),React.createElement("path",{d:"M167.663 128.711h-4.877a3.203 3.203 0 0 0-3.203 3.203v4.898a3.203 3.203 0 0 0 3.203 3.204h4.877a3.203 3.203 0 0 0 3.203-3.204v-4.898a3.203 3.203 0 0 0-3.203-3.203Z",fill:"url(#NoData_svg__h)"}),React.createElement("path",{d:"M234.942 128.711h-56.225a.8.8 0 0 0-.8.8v9.705c0 .441.359.8.8.8h56.225c.441 0 .8-.359.8-.8v-9.705a.8.8 0 0 0-.8-.8Z",fill:"url(#NoData_svg__i)"}),React.createElement("path",{d:"M167.663 151.023h-4.877a3.203 3.203 0 0 0-3.203 3.204v4.898a3.203 3.203 0 0 0 3.203 3.203h4.877a3.203 3.203 0 0 0 3.203-3.203v-4.898a3.203 3.203 0 0 0-3.203-3.204Z",fill:"url(#NoData_svg__j)"}),React.createElement("path",{d:"M234.942 151.023h-56.225a.8.8 0 0 0-.8.8v9.705a.8.8 0 0 0 .8.8h56.225a.8.8 0 0 0 .8-.8v-9.705a.8.8 0 0 0-.8-.8Z",fill:"url(#NoData_svg__k)"}),React.createElement("path",{d:"M218.449 75.274h-40.521a1.6 1.6 0 0 0-1.6 1.6v11.637a1.6 1.6 0 0 0 1.6 1.6h40.521a1.6 1.6 0 0 0 1.6-1.6V76.874a1.6 1.6 0 0 0-1.6-1.6Z",fill:"url(#NoData_svg__l)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M206.011 238.774c89.653 0 40.873-4.974 57.96-8.105 15.371-2.816 37.529-3.588 37.529-7.38 0-8.008-40.254-13.515-95.489-13.515-55.234 0-100.011 6.492-100.011 14.5s44.777 14.5 100.011 14.5Z",fill:"url(#NoData_svg__m)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.081 180.212c-.749 3.776-.397 5.996 1.056 6.661 1.902.8.106 2.831-.278 3.034-.257.136-.043.468.64.997 1.203.641 2.087.897 2.652.766.565-.13 1.254-.773 2.068-1.927-1.515-1.1-2.043-1.982-1.582-2.646.46-.665 1.159-1.358 2.097-2.08.911-.704.876-1.24-.105-1.607.237-.666.325-1.426.264-2.279l-3.193-.919-3.25-.716-.369.716Z",fill:"url(#NoData_svg__n)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M240.775 226.124c-1.717 1.243-2.935 1.897-3.655 1.96-1.079.094-1.581 1.081-.533 1.498 1.048.417 4.199-.593 5.022-.666.824-.072 2.968.031 1.957-2.184-.675-1.476-1.229-2.081-1.662-1.814l-1.197.428.068.778Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M245.148 227.993c-1.759 1.183-2.999 1.793-3.72 1.831-1.082.057-1.618 1.025-.585 1.478 1.032.454 4.216-.445 5.042-.489.825-.043 2.965.134 2.031-2.114-.623-1.499-1.155-2.123-1.597-1.872l-.829-.207-.342 1.373Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M254.217 181.07c3.111-.895 3.938.48 3.938 1.062 0 .387-.098 1.03-.294 1.928.382-.172.652-.303.808-.392.955-.545 1.586-1.512 1.811-2.265.421-1.407-.815-4.391-4.02-3.946-1.117-.214-1.294-1.875-3.235-.853-1.942 1.022-2.596.236-2.596 1.284s.08 4.277 3.588 3.182Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M243.989 196.737c-6.335 7.547-6.634 12.592-.896 15.133 5.349 2.364 8.606 1.165 8.606 0 0-1.166-3.201-2.235-6.348-4.107-2.098-1.248-.808-4.235 3.87-8.962l-5.232-2.064Z",fill:"#FFC5B3"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M244.573 226.946c3.852-19.492 7.815-27.654 11.887-24.486 4.072 3.168 6.661 7.992 7.767 14.473.045.198 1.005.071 2.881-.379 1.875-.45 2.934-.323 3.177.379 0 5.699-2.572 8.76-7.717 9.181-11.929.977-7.022-5.849-7.022-12.885 0 5.623-7.68 13.021-7.68 14.343-1.864.322-2.962.113-3.293-.626Z",fill:"#5C5CBB"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.807 189.743c1.07 0 1.602 2.139 5.412 0 1.173-.072 5.486 1.792 9.319 7.457 2.555 3.778 3.689 10.355 3.401 19.733-.528.878-2.566 1.317-6.112 1.317-3.547 0-5.75-3.983-6.608-11.95-5.289-2.366-8.92-4.062-10.893-5.09-2.958-1.541-5.011-2.588-5.617-3.53-.606-.943 1.795-2.747 4.415-4.85 2.628-2.108 6.208-3.087 6.683-3.087Z",fill:"url(#NoData_svg__o)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M248.224 213.492c1.765-8.661 4.068-12.56 6.908-11.697 4.26 1.295 5.062 16.333 4.655 16.999-.272.444-4.126-1.323-11.563-5.302Z",fill:"#5C5CBB"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M255.002 209.921c-3.911-8.98-7.163-11.225-9.754-6.735-2.592 4.49-4.31 12.108-5.156 22.852h4.293l3.162-12.397c.91 9.495 6.072 13.628 15.485 12.397 2.881-1.563.205-6.935-8.03-16.117Z",fill:"#5C5CBB"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M260.189 201.795c-2.186 6.574-3.733 9.861-4.644 9.861-1.067 0-6.975-.947-10.194-2.481-.897-.427-.82-1.757-2.254-2.459-1.353-.662-6.449.266-1.836 3.655 4.613 3.388 13.037 6.665 16.168 6.125 3.131-.541 7.234-6.936 8.078-12.06.303-1.319-1.347-1.685-4.947-1.099l-.371-1.542Z",fill:"url(#NoData_svg__p)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M259.963 194.423c-1.216 5.943-1.718 9.077-1.506 9.403.318.489 6.807 2.719 7.495 2.452 1.248-.475 1.406-6.058.85-9.541-.37-2.321-2.65-3.093-6.839-2.314Z",fill:"url(#NoData_svg__q)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M109.418 208.012h1.408a.9.9 0 0 1 .9.9v14.553a.9.9 0 0 1-.9.9h-1.408a.9.9 0 0 1-.9-.9v-14.553a.9.9 0 0 1 .9-.9Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.833 188.502c-2.978 6.11-13.235 24.848 1.136 26.946 14.372 2.098 13.731-10.374 11.21-14.838-2.52-4.463-5.366-6.962-5.366-12.108 0-5.145-4.001-6.109-6.98 0Z",fill:"url(#NoData_svg__r)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M287.373 206.974h.869a.45.45 0 0 1 .45.45v7.9a.45.45 0 0 1-.45.45h-.869a.45.45 0 0 1-.45-.45v-7.9a.45.45 0 0 1 .45-.45Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M286.125 196.143c-1.705 3.424-7.576 13.923.65 15.099 8.226 1.176 7.859-5.813 6.417-8.314-1.443-2.501-3.072-3.901-3.072-6.785 0-2.883-2.29-3.423-3.995 0Z",fill:"url(#NoData_svg__s)"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"NoData_svg__a",x1:115.25,y1:102.307,x2:115.25,y2:136.274,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F6F6F7"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFF",stopOpacity:.07})),React.createElement("linearGradient",{id:"NoData_svg__b",x1:302.916,y1:129.936,x2:298.235,y2:138.965,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F6F6F7"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFF",stopOpacity:.07})),React.createElement("linearGradient",{id:"NoData_svg__c",x1:166.094,y1:131.242,x2:142.074,y2:232.04,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E2E3E9"})),React.createElement("linearGradient",{id:"NoData_svg__d",x1:232.493,y1:131.05,x2:249.43,y2:233.287,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E2E2E9"})),React.createElement("linearGradient",{id:"NoData_svg__e",x1:207.338,y1:103.359,x2:157.335,y2:230.867,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:.982,stopColor:"#E3E3EA"}),React.createElement("stop",{offset:1,stopColor:"#E2E2E9"})),React.createElement("linearGradient",{id:"NoData_svg__f",x1:162.344,y1:107.394,x2:167.916,y2:117.398,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAC251"}),React.createElement("stop",{offset:1,stopColor:"#FFE7D6",stopOpacity:.69})),React.createElement("linearGradient",{id:"NoData_svg__g",x1:206.837,y1:106.102,x2:206.837,y2:117.407,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoData_svg__h",x1:162.344,y1:130.003,x2:167.916,y2:140.007,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAC251"}),React.createElement("stop",{offset:1,stopColor:"#FFE7D6",stopOpacity:.69})),React.createElement("linearGradient",{id:"NoData_svg__i",x1:206.83,y1:128.711,x2:206.83,y2:140.016,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoData_svg__j",x1:162.344,y1:152.315,x2:167.916,y2:162.319,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAC251"}),React.createElement("stop",{offset:1,stopColor:"#FFE7D6",stopOpacity:.69})),React.createElement("linearGradient",{id:"NoData_svg__k",x1:206.83,y1:151.023,x2:206.83,y2:162.328,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoData_svg__l",x1:198.189,y1:90.111,x2:198.189,y2:75.274,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEF"}),React.createElement("stop",{offset:1,stopColor:"#DFDFE5"})),React.createElement("linearGradient",{id:"NoData_svg__m",x1:140.131,y1:224.198,x2:273.577,y2:235.137,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EDEDF2"}),React.createElement("stop",{offset:1,stopColor:"#F9F9FC",stopOpacity:.88})),React.createElement("linearGradient",{id:"NoData_svg__n",x1:254.018,y1:182.424,x2:257.247,y2:187.785,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoData_svg__o",x1:266.785,y1:217.427,x2:256.817,y2:193.111,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#6E6EE9"}),React.createElement("stop",{offset:1,stopColor:"#5B5BEA"})),React.createElement("linearGradient",{id:"NoData_svg__p",x1:233.283,y1:207.586,x2:258.365,y2:217.606,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoData_svg__q",x1:262.759,y1:195.098,x2:262.759,y2:202.011,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#4949E2",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#4949E2"})),React.createElement("linearGradient",{id:"NoData_svg__r",x1:110.546,y1:184.274,x2:110.546,y2:215.684,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"})),React.createElement("linearGradient",{id:"NoData_svg__s",x1:288.25,y1:193.774,x2:288.25,y2:211.374,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"}))));l.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYxLjE3IDExNi44NDJjOS40NDItMS41MjggMTMuMjY0LTIuNjc4IDIyLjQ4My0xMS42MDggOS4yMi04LjkzIDE4LjU2OCA0LjA5OCAzMi40MzItMS4xMzMgMTMuODY0LTUuMjMgMTUuMTMxLTExLjU2NCAzNi4zMzcgNy44MzYgOS43NzUgOC4yNDUgMTcuNTUgNC45ODEgMjIuMzQxIDguMjQ1IDMuMTk0IDIuMTc2IDYuMjczIDcuNTQgOS4yMzcgMTYuMDkySDYxLjE3Yy05Ljc4LTMuNDIxLTE0LjY3LTYuMjYyLTE0LjY3LTguNTIzIDAtMy4zOTMgNS4yMjctOS4zODEgMTQuNjctMTAuOTA5WiIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjA4LjE3IDEzMC4zNDJjOS40NDItMS41MjggMTMuMjY0LTIuNjc4IDIyLjQ4My0xMS42MDggOS4yMTktOC45MyAxOC41NjggNC4wOTggMzIuNDMyLTEuMTMzIDEzLjg2NC01LjIzIDE1LjEzMS0xMS41NjMgMzYuMzM3IDcuODM2IDkuNzc1IDguMjQ1IDE3LjU1IDQuOTgxIDIyLjM0MSA4LjI0NSAzLjE5NCAyLjE3NiA2LjI3MyA3LjU0IDkuMjM3IDE2LjA5MkgyMDguMTdjLTkuNzgtMy40MjEtMTQuNjctNi4yNjItMTQuNjctOC41MjMgMC0zLjM5MyA1LjIyNy05LjM4MSAxNC42Ny0xMC45MDlaIiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggb3BhY2l0eT0iLjQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMTEzLjAyMiAxMjUuOTMyIDc5LjIzNC0xNS40MzJhMS41OTggMS41OTggMCAwIDEgMS44NzYgMS4yNjVsMTguMzYyIDk0LjY1MWExLjYwMiAxLjYwMiAwIDAgMS0xLjI2NSAxLjg3NmwtNzkuMjM1IDE1LjQzMWExLjU5OCAxLjU5OCAwIDAgMS0xLjg3Ni0xLjI2M2wuMDAxLS4wMDItMTguMzYzLTk0LjY1YTEuNjAzIDEuNjAzIDAgMCAxIDEuMjY2LTEuODc2WiIgZmlsbD0idXJsKCNjKSIvPjxwYXRoIG9wYWNpdHk9Ii40IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibTI4NS44MDYgMTI5LjQ2My03Ny45NjgtMjAuOTMxYTEuNTk3IDEuNTk3IDAgMCAwLTEuOTU5IDEuMTMxTDE4MC45NzEgMjAyLjhjLS4yMjcuODUzLjI4IDEuNzMgMS4xMzIgMS45Nmw3Ny45NjggMjAuOTMyYTEuNTk5IDEuNTk5IDAgMCAwIDEuOTYtMS4xMjlsLS4wMDEtLjAwMiAyNC45MDgtOTMuMTM3YTEuNjA3IDEuNjA3IDAgMCAwLTEuMTMyLTEuOTYxWiIgZmlsbD0idXJsKCNkKSIvPjxwYXRoIGQ9Ik0yNDUuOTUxIDgyLjMwMmgtOTYuMjNhMS42IDEuNiAwIDAgMC0xLjYgMS42djEzMy4zMjRhMS42IDEuNiAwIDAgMCAxLjYgMS42aDk2LjIzYTEuNiAxLjYgMCAwIDAgMS42LTEuNlY4My45MDJhMS42IDEuNiAwIDAgMC0xLjYtMS42WiIgZmlsbD0idXJsKCNlKSIvPjxwYXRoIGQ9Ik0xNjcuNjYzIDEwNi4xMDJoLTQuODc3YTMuMjAzIDMuMjAzIDAgMCAwLTMuMjAzIDMuMjA0djQuODk4YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzIDMuMjAzaDQuODc3YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzLTMuMjAzdi00Ljg5OGEzLjIwMyAzLjIwMyAwIDAgMC0zLjIwMy0zLjIwNFoiIGZpbGw9InVybCgjZikiLz48cGF0aCBkPSJNMjM0Ljk0OSAxMDYuMTAyaC01Ni4yMjRhLjguOCAwIDAgMC0uOC44djkuNzA1YS44LjggMCAwIDAgLjguOGg1Ni4yMjRhLjguOCAwIDAgMCAuOC0uOHYtOS43MDVhLjguOCAwIDAgMC0uOC0uOFoiIGZpbGw9InVybCgjZykiLz48cGF0aCBkPSJNMTY3LjY2MyAxMjguNzExaC00Ljg3N2EzLjIwMyAzLjIwMyAwIDAgMC0zLjIwMyAzLjIwM3Y0Ljg5OGEzLjIwMyAzLjIwMyAwIDAgMCAzLjIwMyAzLjIwNGg0Ljg3N2EzLjIwMyAzLjIwMyAwIDAgMCAzLjIwMy0zLjIwNHYtNC44OThhMy4yMDMgMy4yMDMgMCAwIDAtMy4yMDMtMy4yMDNaIiBmaWxsPSJ1cmwoI2gpIi8+PHBhdGggZD0iTTIzNC45NDIgMTI4LjcxMWgtNTYuMjI1YS44LjggMCAwIDAtLjguOHY5LjcwNWMwIC40NDEuMzU5LjguOC44aDU2LjIyNWMuNDQxIDAgLjgtLjM1OS44LS44di05LjcwNWEuOC44IDAgMCAwLS44LS44WiIgZmlsbD0idXJsKCNpKSIvPjxwYXRoIGQ9Ik0xNjcuNjYzIDE1MS4wMjNoLTQuODc3YTMuMjAzIDMuMjAzIDAgMCAwLTMuMjAzIDMuMjA0djQuODk4YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzIDMuMjAzaDQuODc3YTMuMjAzIDMuMjAzIDAgMCAwIDMuMjAzLTMuMjAzdi00Ljg5OGEzLjIwMyAzLjIwMyAwIDAgMC0zLjIwMy0zLjIwNFoiIGZpbGw9InVybCgjaikiLz48cGF0aCBkPSJNMjM0Ljk0MiAxNTEuMDIzaC01Ni4yMjVhLjguOCAwIDAgMC0uOC44djkuNzA1YS44LjggMCAwIDAgLjguOGg1Ni4yMjVhLjguOCAwIDAgMCAuOC0uOHYtOS43MDVhLjguOCAwIDAgMC0uOC0uOFoiIGZpbGw9InVybCgjaykiLz48cGF0aCBkPSJNMjE4LjQ0OSA3NS4yNzRoLTQwLjUyMWExLjYgMS42IDAgMCAwLTEuNiAxLjZ2MTEuNjM3YTEuNiAxLjYgMCAwIDAgMS42IDEuNmg0MC41MjFhMS42IDEuNiAwIDAgMCAxLjYtMS42Vjc2Ljg3NGExLjYgMS42IDAgMCAwLTEuNi0xLjZaIiBmaWxsPSJ1cmwoI2wpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMDYuMDExIDIzOC43NzRjODkuNjUzIDAgNDAuODczLTQuOTc0IDU3Ljk2LTguMTA1IDE1LjM3MS0yLjgxNiAzNy41MjktMy41ODggMzcuNTI5LTcuMzggMC04LjAwOC00MC4yNTQtMTMuNTE1LTk1LjQ4OS0xMy41MTUtNTUuMjM0IDAtMTAwLjAxMSA2LjQ5Mi0xMDAuMDExIDE0LjVzNDQuNzc3IDE0LjUgMTAwLjAxMSAxNC41WiIgZmlsbD0idXJsKCNtKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjUyLjA4MSAxODAuMjEyYy0uNzQ5IDMuNzc2LS4zOTcgNS45OTYgMS4wNTYgNi42NjEgMS45MDIuOC4xMDYgMi44MzEtLjI3OCAzLjAzNC0uMjU3LjEzNi0uMDQzLjQ2OC42NC45OTcgMS4yMDMuNjQxIDIuMDg3Ljg5NyAyLjY1Mi43NjYuNTY1LS4xMyAxLjI1NC0uNzczIDIuMDY4LTEuOTI3LTEuNTE1LTEuMS0yLjA0My0xLjk4Mi0xLjU4Mi0yLjY0Ni40Ni0uNjY1IDEuMTU5LTEuMzU4IDIuMDk3LTIuMDguOTExLS43MDQuODc2LTEuMjQtLjEwNS0xLjYwNy4yMzctLjY2Ni4zMjUtMS40MjYuMjY0LTIuMjc5bC0zLjE5My0uOTE5LTMuMjUtLjcxNi0uMzY5LjcxNloiIGZpbGw9InVybCgjbikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0MC43NzUgMjI2LjEyNGMtMS43MTcgMS4yNDMtMi45MzUgMS44OTctMy42NTUgMS45Ni0xLjA3OS4wOTQtMS41ODEgMS4wODEtLjUzMyAxLjQ5OCAxLjA0OC40MTcgNC4xOTktLjU5MyA1LjAyMi0uNjY2LjgyNC0uMDcyIDIuOTY4LjAzMSAxLjk1Ny0yLjE4NC0uNjc1LTEuNDc2LTEuMjI5LTIuMDgxLTEuNjYyLTEuODE0bC0xLjE5Ny40MjguMDY4Ljc3OFoiIGZpbGw9IiMzRTNFNkUiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0NS4xNDggMjI3Ljk5M2MtMS43NTkgMS4xODMtMi45OTkgMS43OTMtMy43MiAxLjgzMS0xLjA4Mi4wNTctMS42MTggMS4wMjUtLjU4NSAxLjQ3OCAxLjAzMi40NTQgNC4yMTYtLjQ0NSA1LjA0Mi0uNDg5LjgyNS0uMDQzIDIuOTY1LjEzNCAyLjAzMS0yLjExNC0uNjIzLTEuNDk5LTEuMTU1LTIuMTIzLTEuNTk3LTEuODcybC0uODI5LS4yMDctLjM0MiAxLjM3M1oiIGZpbGw9IiMzRTNFNkUiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1NC4yMTcgMTgxLjA3YzMuMTExLS44OTUgMy45MzguNDggMy45MzggMS4wNjIgMCAuMzg3LS4wOTggMS4wMy0uMjk0IDEuOTI4LjM4Mi0uMTcyLjY1Mi0uMzAzLjgwOC0uMzkyLjk1NS0uNTQ1IDEuNTg2LTEuNTEyIDEuODExLTIuMjY1LjQyMS0xLjQwNy0uODE1LTQuMzkxLTQuMDItMy45NDYtMS4xMTctLjIxNC0xLjI5NC0xLjg3NS0zLjIzNS0uODUzLTEuOTQyIDEuMDIyLTIuNTk2LjIzNi0yLjU5NiAxLjI4NHMuMDggNC4yNzcgMy41ODggMy4xODJaIiBmaWxsPSIjMzUzNTY0Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNDMuOTg5IDE5Ni43MzdjLTYuMzM1IDcuNTQ3LTYuNjM0IDEyLjU5Mi0uODk2IDE1LjEzMyA1LjM0OSAyLjM2NCA4LjYwNiAxLjE2NSA4LjYwNiAwIDAtMS4xNjYtMy4yMDEtMi4yMzUtNi4zNDgtNC4xMDctMi4wOTgtMS4yNDgtLjgwOC00LjIzNSAzLjg3LTguOTYybC01LjIzMi0yLjA2NFoiIGZpbGw9IiNGRkM1QjMiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0NC41NzMgMjI2Ljk0NmMzLjg1Mi0xOS40OTIgNy44MTUtMjcuNjU0IDExLjg4Ny0yNC40ODYgNC4wNzIgMy4xNjggNi42NjEgNy45OTIgNy43NjcgMTQuNDczLjA0NS4xOTggMS4wMDUuMDcxIDIuODgxLS4zNzkgMS44NzUtLjQ1IDIuOTM0LS4zMjMgMy4xNzcuMzc5IDAgNS42OTktMi41NzIgOC43Ni03LjcxNyA5LjE4MS0xMS45MjkuOTc3LTcuMDIyLTUuODQ5LTcuMDIyLTEyLjg4NSAwIDUuNjIzLTcuNjggMTMuMDIxLTcuNjggMTQuMzQzLTEuODY0LjMyMi0yLjk2Mi4xMTMtMy4yOTMtLjYyNloiIGZpbGw9IiM1QzVDQkIiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1Mi44MDcgMTg5Ljc0M2MxLjA3IDAgMS42MDIgMi4xMzkgNS40MTIgMCAxLjE3My0uMDcyIDUuNDg2IDEuNzkyIDkuMzE5IDcuNDU3IDIuNTU1IDMuNzc4IDMuNjg5IDEwLjM1NSAzLjQwMSAxOS43MzMtLjUyOC44NzgtMi41NjYgMS4zMTctNi4xMTIgMS4zMTctMy41NDcgMC01Ljc1LTMuOTgzLTYuNjA4LTExLjk1LTUuMjg5LTIuMzY2LTguOTItNC4wNjItMTAuODkzLTUuMDktMi45NTgtMS41NDEtNS4wMTEtMi41ODgtNS42MTctMy41My0uNjA2LS45NDMgMS43OTUtMi43NDcgNC40MTUtNC44NSAyLjYyOC0yLjEwOCA2LjIwOC0zLjA4NyA2LjY4My0zLjA4N1oiIGZpbGw9InVybCgjbykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0OC4yMjQgMjEzLjQ5MmMxLjc2NS04LjY2MSA0LjA2OC0xMi41NiA2LjkwOC0xMS42OTcgNC4yNiAxLjI5NSA1LjA2MiAxNi4zMzMgNC42NTUgMTYuOTk5LS4yNzIuNDQ0LTQuMTI2LTEuMzIzLTExLjU2My01LjMwMloiIGZpbGw9IiM1QzVDQkIiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1NS4wMDIgMjA5LjkyMWMtMy45MTEtOC45OC03LjE2My0xMS4yMjUtOS43NTQtNi43MzUtMi41OTIgNC40OS00LjMxIDEyLjEwOC01LjE1NiAyMi44NTJoNC4yOTNsMy4xNjItMTIuMzk3Yy45MSA5LjQ5NSA2LjA3MiAxMy42MjggMTUuNDg1IDEyLjM5NyAyLjg4MS0xLjU2My4yMDUtNi45MzUtOC4wMy0xNi4xMTdaIiBmaWxsPSIjNUM1Q0JCIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNjAuMTg5IDIwMS43OTVjLTIuMTg2IDYuNTc0LTMuNzMzIDkuODYxLTQuNjQ0IDkuODYxLTEuMDY3IDAtNi45NzUtLjk0Ny0xMC4xOTQtMi40ODEtLjg5Ny0uNDI3LS44Mi0xLjc1Ny0yLjI1NC0yLjQ1OS0xLjM1My0uNjYyLTYuNDQ5LjI2Ni0xLjgzNiAzLjY1NSA0LjYxMyAzLjM4OCAxMy4wMzcgNi42NjUgMTYuMTY4IDYuMTI1IDMuMTMxLS41NDEgNy4yMzQtNi45MzYgOC4wNzgtMTIuMDYuMzAzLTEuMzE5LTEuMzQ3LTEuNjg1LTQuOTQ3LTEuMDk5bC0uMzcxLTEuNTQyWiIgZmlsbD0idXJsKCNwKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjU5Ljk2MyAxOTQuNDIzYy0xLjIxNiA1Ljk0My0xLjcxOCA5LjA3Ny0xLjUwNiA5LjQwMy4zMTguNDg5IDYuODA3IDIuNzE5IDcuNDk1IDIuNDUyIDEuMjQ4LS40NzUgMS40MDYtNi4wNTguODUtOS41NDEtLjM3LTIuMzIxLTIuNjUtMy4wOTMtNi44MzktMi4zMTRaIiBmaWxsPSJ1cmwoI3EpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMDkuNDE4IDIwOC4wMTJoMS40MDhhLjkuOSAwIDAgMSAuOS45djE0LjU1M2EuOS45IDAgMCAxLS45LjloLTEuNDA4YS45LjkgMCAwIDEtLjktLjl2LTE0LjU1M2EuOS45IDAgMCAxIC45LS45WiIgZmlsbD0iI0YwRjBGMyIgZmlsbC1vcGFjaXR5PSIuOSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTA2LjgzMyAxODguNTAyYy0yLjk3OCA2LjExLTEzLjIzNSAyNC44NDggMS4xMzYgMjYuOTQ2IDE0LjM3MiAyLjA5OCAxMy43MzEtMTAuMzc0IDExLjIxLTE0LjgzOC0yLjUyLTQuNDYzLTUuMzY2LTYuOTYyLTUuMzY2LTEyLjEwOCAwLTUuMTQ1LTQuMDAxLTYuMTA5LTYuOTggMFoiIGZpbGw9InVybCgjcikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI4Ny4zNzMgMjA2Ljk3NGguODY5YS40NS40NSAwIDAgMSAuNDUuNDV2Ny45YS40NS40NSAwIDAgMS0uNDUuNDVoLS44NjlhLjQ1LjQ1IDAgMCAxLS40NS0uNDV2LTcuOWEuNDUuNDUgMCAwIDEgLjQ1LS40NVoiIGZpbGw9IiNGMEYwRjMiIGZpbGwtb3BhY2l0eT0iLjkiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI4Ni4xMjUgMTk2LjE0M2MtMS43MDUgMy40MjQtNy41NzYgMTMuOTIzLjY1IDE1LjA5OSA4LjIyNiAxLjE3NiA3Ljg1OS01LjgxMyA2LjQxNy04LjMxNC0xLjQ0My0yLjUwMS0zLjA3Mi0zLjkwMS0zLjA3Mi02Ljc4NSAwLTIuODgzLTIuMjktMy40MjMtMy45OTUgMFoiIGZpbGw9InVybCgjcykiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxMTUuMjUiIHkxPSIxMDIuMzA3IiB4Mj0iMTE1LjI1IiB5Mj0iMTM2LjI3NCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNkY2RjciLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQ0ZDRkYiIHN0b3Atb3BhY2l0eT0iLjA3Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImIiIHgxPSIzMDIuOTE2IiB5MT0iMTI5LjkzNiIgeDI9IjI5OC4yMzUiIHkyPSIxMzguOTY1IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y2RjZGNyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZDRkNGRiIgc3RvcC1vcGFjaXR5PSIuMDciLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYyIgeDE9IjE2Ni4wOTQiIHkxPSIxMzEuMjQyIiB4Mj0iMTQyLjA3NCIgeTI9IjIzMi4wNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMkUzRTkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZCIgeDE9IjIzMi40OTMiIHkxPSIxMzEuMDUiIHgyPSIyNDkuNDMiIHkyPSIyMzMuMjg3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UyRTJFOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJlIiB4MT0iMjA3LjMzOCIgeTE9IjEwMy4zNTkiIHgyPSIxNTcuMzM1IiB5Mj0iMjMwLjg2NyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9Ii45ODIiIHN0b3AtY29sb3I9IiNFM0UzRUEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMkUyRTkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZiIgeDE9IjE2Mi4zNDQiIHkxPSIxMDcuMzk0IiB4Mj0iMTY3LjkxNiIgeTI9IjExNy4zOTgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFDMjUxIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZFN0Q2IiBzdG9wLW9wYWNpdHk9Ii42OSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMjA2LjgzNyIgeTE9IjEwNi4xMDIiIHgyPSIyMDYuODM3IiB5Mj0iMTE3LjQwNyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQUZBRkMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjE2Mi4zNDQiIHkxPSIxMzAuMDAzIiB4Mj0iMTY3LjkxNiIgeTI9IjE0MC4wMDciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFDMjUxIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZFN0Q2IiBzdG9wLW9wYWNpdHk9Ii42OSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJpIiB4MT0iMjA2LjgzIiB5MT0iMTI4LjcxMSIgeDI9IjIwNi44MyIgeTI9IjE0MC4wMTYiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkNGQ0ZGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkFGQUZDIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImoiIHgxPSIxNjIuMzQ0IiB5MT0iMTUyLjMxNSIgeDI9IjE2Ny45MTYiIHkyPSIxNjIuMzE5IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZBQzI1MSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGRTdENiIgc3RvcC1vcGFjaXR5PSIuNjkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjIwNi44MyIgeTE9IjE1MS4wMjMiIHgyPSIyMDYuODMiIHkyPSIxNjIuMzI4IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZDRkNGRiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZBRkFGQyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJsIiB4MT0iMTk4LjE4OSIgeTE9IjkwLjExMSIgeDI9IjE5OC4xODkiIHkyPSI3NS4yNzQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUJFQkVGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREZERkU1Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im0iIHgxPSIxNDAuMTMxIiB5MT0iMjI0LjE5OCIgeDI9IjI3My41NzciIHkyPSIyMzUuMTM3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0VERURGMiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0Y5RjlGQyIgc3RvcC1vcGFjaXR5PSIuODgiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibiIgeDE9IjI1NC4wMTgiIHkxPSIxODIuNDI0IiB4Mj0iMjU3LjI0NyIgeTI9IjE4Ny43ODUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im8iIHgxPSIyNjYuNzg1IiB5MT0iMjE3LjQyNyIgeDI9IjI1Ni44MTciIHkyPSIxOTMuMTExIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzZFNkVFOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzVCNUJFQSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJwIiB4MT0iMjMzLjI4MyIgeTE9IjIwNy41ODYiIHgyPSIyNTguMzY1IiB5Mj0iMjE3LjYwNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0icSIgeDE9IjI2Mi43NTkiIHkxPSIxOTUuMDk4IiB4Mj0iMjYyLjc1OSIgeTI9IjIwMi4wMTEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjNDk0OUUyIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM0OTQ5RTIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iciIgeDE9IjExMC41NDYiIHkxPSIxODQuMjc0IiB4Mj0iMTEwLjU0NiIgeTI9IjIxNS42ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUJFQkVFIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkNGQ0ZEIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InMiIHgxPSIyODguMjUiIHkxPSIxOTMuNzc0IiB4Mj0iMjg4LjI1IiB5Mj0iMjExLjM3NCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFQkVCRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQ0ZDRkQiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4="},21237:function(L,l,e){"use strict";var g=e(67294),I=Object.defineProperty,c=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,A=(j,a,u)=>a in j?I(j,a,{enumerable:!0,configurable:!0,writable:!0,value:u}):j[a]=u,S=(j,a)=>{for(var u in a||(a={}))y.call(a,u)&&A(j,u,a[u]);if(c)for(var u of c(a))n.call(a,u)&&A(j,u,a[u]);return j};const T=j=>React.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 481.03 500"},j),React.createElement("defs",null,React.createElement("style",null,".emptyWork_svg__cls-1,.emptyWork_svg__cls-3{fill:#d6d8e5}.emptyWork_svg__cls-1{opacity:.4}.emptyWork_svg__cls-2{fill:#b1b4c4}.emptyWork_svg__cls-4{fill:#9ea1af}.emptyWork_svg__cls-5{fill:#c4c7d6}.emptyWork_svg__cls-7{fill:#fff}.emptyWork_svg__cls-8{fill:#ffcea9}.emptyWork_svg__cls-9{fill:#ededed}.emptyWork_svg__cls-10{fill:#38226d}.emptyWork_svg__cls-11{fill:#9c73ff}.emptyWork_svg__cls-12{fill:#8c50ff}.emptyWork_svg__cls-13{fill:#f4f4f4}.emptyWork_svg__cls-14{fill:#3a2c6d}.emptyWork_svg__cls-15{fill:#fca70d}.emptyWork_svg__cls-16{fill:#e9eaf2}.emptyWork_svg__cls-17{fill:#e28c10}.emptyWork_svg__cls-19{fill:#7c5522}")),React.createElement("title",null,"Degital_marketing_SVG"),React.createElement("g",{id:"emptyWork_svg__\\u0421\\u043B\\u043E\\u0439_2","data-name":"\\u0421\\u043B\\u043E\\u0439 2"},React.createElement("g",{id:"emptyWork_svg__\\u0421\\u043B\\u043E\\u0439_1-2","data-name":"\\u0421\\u043B\\u043E\\u0439 1"},React.createElement("g",{id:"emptyWork_svg__monitor"},React.createElement("path",{className:"emptyWork_svg__cls-1",d:"m297 395.44-60-34.65c-4.33-2.5-3.78-6.86 1.21-9.75l38.89-22.45 75.69 43.7-38.89 22.45c-5 2.89-12.56 3.2-16.9.7Z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"m301.4 392.87-60-34.66c-4.32-2.5-3.78-6.86 1.22-9.75L281.47 326l75.69 43.7-38.88 22.46c-5 2.89-12.56 3.2-16.88.71Z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"M357.17 369.71v-2.29l-3.5 2.02 3.5.27zM238.45 354.08v-2.33l3.59 1.49-3.59.84z"}),React.createElement("path",{className:"emptyWork_svg__cls-3",d:"m301.4 390.57-60-34.65c-4.32-2.5-3.78-6.86 1.22-9.75l38.88-22.45 75.69 43.7-38.88 22.45c-5.03 2.89-12.59 3.2-16.91.7Z"}),React.createElement("path",{className:"emptyWork_svg__cls-4",d:"m281.67 323.82-9.36-31.08 76.52 43.89 8.34 30.79-75.5-43.6z"}),React.createElement("path",{className:"emptyWork_svg__cls-4",d:"m355 368.7 2.21-1.28-3.29-2.63Z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"m279.26 324.99-9.37-31.08 76.53 43.89 8.53 30.9-75.69-43.71z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m473.51 421.08-296.2-171c-4.15-2.4-7.52-8.84-7.52-14.38V6.59c0-5.54 3.37-8.09 7.52-5.69l296.2 171c4.15 2.4 7.52 8.83 7.52 14.37V415.4c-.03 5.54-3.37 8.08-7.52 5.68Z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m475.03 423.45 3.28-1.9-1.42-9.73-1.86 11.63z"}),React.createElement("path",{className:"emptyWork_svg__cls-2",d:"m169.26 2.31 3.23-1.86 4.64 2.65s-4.94.75-5.06.72-2.81-1.51-2.81-1.51Z"}),React.createElement("path",{d:"m470.79 422.65-296.19-171c-4.16-2.39-7.52-8.83-7.52-14.37V8.16c0-5.54 3.36-8.09 7.52-5.69l296.19 171c4.16 2.4 7.52 8.83 7.52 14.37V417c0 5.5-3.31 8.05-7.52 5.65Z",style:{fill:"#e4e7f2"}}),React.createElement("path",{className:"emptyWork_svg__cls-3",d:"M470.27 423 174.08 252c-4.16-2.4-7.53-8.83-7.53-14.37V8.46c0-5.54 3.37-8.09 7.53-5.69l296.19 171c4.15 2.39 7.52 8.83 7.52 14.37v229.12c0 5.54-3.37 8.09-7.52 5.74Z"}),React.createElement("path",{className:"emptyWork_svg__cls-7",d:"m473.72 409-303.4-175.15.15-224.48c0-2.29 1.62-3.23 3.61-2.08l296.19 171a8 8 0 0 1 3.6 6.24Z"})),React.createElement("ellipse",{className:"emptyWork_svg__cls-1",cx:381.1,cy:481.26,rx:23.29,ry:13.44}),React.createElement("ellipse",{className:"emptyWork_svg__cls-1",cx:104.02,cy:486.56,rx:23.29,ry:13.44}),React.createElement("ellipse",{className:"emptyWork_svg__cls-1",cx:23.29,cy:364.59,rx:23.29,ry:13.44}),React.createElement("g",{id:"emptyWork_svg__Men_4"},React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M87.7 396.64s.66 9.88 2 11.29 5.67 2.4 5.67 2.4l3.38 5.55S95.62 398.22 95 397.8s-7.3-1.16-7.3-1.16Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-9",d:"M94.19 385.67a3.69 3.69 0 0 0-4.7 1.42c-1.24 2.06-2.53 9.11-2.65 10.32 0 0 1.74 2.41 4.36 2Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M104.19 484.24a7.28 7.28 0 0 0 5.46-.66c1.32 0 8.46-3 9.43-.45.85 2.25-2.24 4.33-3.89 4.73-3.61.87-6.28 2.67-7.73 3-1.08.22-2.48.37-3.34-.48-1.03-1.03-.94-4.8.07-6.14Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M107.46 490.21c1.45-.3 4.12-2.1 7.73-3 1.38-.33 3.77-1.85 4-3.65.32 2.07-2.47 3.9-4 4.28-3.61.87-6.28 2.67-7.73 3-1.08.22-2.48.37-3.34-.48a2.06 2.06 0 0 1-.47-.86 4.32 4.32 0 0 0 3.81.71Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M93.07 480.77a7.23 7.23 0 0 0 5.46-.66c1.31 0 8.46-3 9.43-.45.85 2.25-2.24 4.33-3.9 4.73-3.6.87-6.27 2.67-7.72 3-1.08.23-2.48.37-3.34-.47-1-1.04-.94-4.81.07-6.15Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M96.34 486.74c1.45-.3 4.12-2.1 7.72-3 1.39-.34 3.77-1.86 4-3.66.32 2.07-2.47 3.91-4 4.28-3.6.87-6.27 2.67-7.72 3-1.08.23-2.48.37-3.34-.47a2.05 2.05 0 0 1-.47-.87 4.29 4.29 0 0 0 3.81.72Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_2","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-12",d:"M92.28 460.68a43.92 43.92 0 0 1 1.64-7.82s-.49-6.75-.73-13.15c-.28-7.27-2.8-13.66-.81-19.46l22.12 4.92s-1.07 29-1.37 32.53a64.59 64.59 0 0 1-1 8.13C111.1 471.46 110 484 110 484c-2.37 1.37-5.84.24-5.84.24s0-15.75.13-19.8c.19-5 .34-4.57.34-4.57l-.74-12.32-.48-6.13s-.63 4.5-1 8.52c-.35 3.5-1.2 6.67-2.14 13.19-.82 5.66-1.67 17.19-1.67 17.19-2.37 1.38-5.56.43-5.56.43s-1.41-15.16-.76-20.07Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_3","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M95.38 385.79c1.7.09 3 .53 3.19 0a21.32 21.32 0 0 0 .39-2.66c-.2-.5-.37-1-.37-1-2.14-1.32-2.82-3.64-3.1-6.34-.48-4.61 2-8.64 6.62-9.12 4.33-.46 7.52 2.59 8.38 6.77.45 2.07 1.37 6 .13 9.37-.69 1.9-1.58 3.41-2.46 3.7a21.27 21.27 0 0 1-2.57-.23l-.38 2.1c-.16.82-.1 1.26 1.54 2.26s-2.48 3.08-5.17 2.88-5.7-1.82-6.53-3.56c-.93-1.96-.84-4.22.33-4.17Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_4","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-13",d:"M97.85 386.05c-.48 1.18.72 2.62 3.93 3.63s3.5-.29 3.5-.29a64 64 0 0 1 6.23 3.21c1.92 1.34 2.77 5.23 3 11.81.3 7.6.33 18.88.08 20.83 0 0-3.6 3.58-8.2 3.2S94.08 424 92.2 420.85c0-6.67.83-7.75-.25-11.6-2.47-8.79-3.77-12.39-2.57-18.23 1-4.82 2.37-5.42 4.28-5.37a40 40 0 0 1 4.19.4Z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"m110.57 431.09-2.34-26.48 4.94-2.62 1.92 1.62-.59 23.78v1.49s.11 2-3.66 4.39c0 0-.06-.63-.12-1.21l-.09-1Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_5","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-9",d:"M110 391c2.55 0 4.17 1.3 4.8 5.23s1 7.14 1 7.14a6.84 6.84 0 0 1-4.54 2.25c-3.09.35-4-1.22-4-1.22s-.33-4.08-.5-6.85.07-6.55 3.24-6.55Z"}),React.createElement("path",{className:"emptyWork_svg__cls-14",d:"M110.34 372.82s4-6.05-4.65-7.29c-6.23-.89-10.23 3.11-10.69 7.45-.44 4.15 2.11 8.46 4 10.17a7.54 7.54 0 0 0 5.38-.65 32.23 32.23 0 0 0 .12-3.4s-3.08-6.39 5.84-6.28Z"})),React.createElement("path",{className:"emptyWork_svg__cls-1",d:"M445 367.55 205.66 229.37c-4.93-2.84-8.93-10.48-8.93-17.06V36.09c0-6.58 4-9.6 8.93-6.75L445 167.51c4.93 2.85 8.93 10.49 8.93 17.06V360.8c-.01 6.57-4.01 9.6-8.93 6.75Z"}),React.createElement("path",{className:"emptyWork_svg__cls-7",d:"M431.58 342.8 192.26 204.63c-4.94-2.85-8.93-10.49-8.93-17.07V11.34c0-6.58 4-9.6 8.93-6.75l239.32 138.17c4.93 2.85 8.93 10.49 8.93 17.07v176.22c0 6.58-4 9.6-8.93 6.75Z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"M440.51 173.7 183.33 25.21V11.34c0-6.58 4-9.6 8.93-6.75l239.32 138.17c4.93 2.85 8.93 10.49 8.93 17.07Z"}),React.createElement("ellipse",{className:"emptyWork_svg__cls-7",cx:198.95,cy:22.38,rx:2.55,ry:4.42,transform:"rotate(-30 198.965 22.373)"}),React.createElement("ellipse",{className:"emptyWork_svg__cls-7",cx:223.07,cy:36.3,rx:2.55,ry:4.42,transform:"matrix(.87 -.5 .5 .87 11.74 116.4)"}),React.createElement("ellipse",{className:"emptyWork_svg__cls-7",cx:211.01,cy:29.34,rx:2.55,ry:4.42,transform:"rotate(-30 211.018 29.342)"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m219.94 193.8-12.5-7.22v-51.55l12.5 7.21v51.56zM266.38 220.61l-12.51-7.22v-87.64l12.51 7.22v87.64z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m243.16 207.21-12.5-7.22V130.9l12.5 7.22v69.09zM289.59 234.01l-12.5-7.21V105.13l12.5 7.21v121.67z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m418.19 201.02-99.13-57.23v-14.43l99.13 57.23v14.43zM418.19 219.58l-99.13-57.23v-7.22l99.13 57.23v7.22zM418.19 233.33l-99.13-57.23v-7.22l99.13 57.23v7.22zM404.79 239.34l-85.73-49.49v-7.22l85.73 49.5v7.21zM392.29 245.88l-73.23-42.28v-7.22l73.23 42.28v7.22zM361.04 257.73l-30.37-17.53v-7.21l30.37 17.52v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m327.99 238.66-8.93-5.16v-7.22l8.93 5.16v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m361.04 275.26-30.37-17.53v-7.22l30.37 17.53v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m327.99 256.19-8.93-5.16v-7.22l8.93 5.16v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m415.51 289.18-30.36-17.53v-7.21l30.36 17.52v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m382.47 270.11-8.93-5.16v-7.22l8.93 5.16v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-16",d:"m415.51 306.71-30.36-17.53v-7.22l30.36 17.53v7.22z"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m382.47 287.63-8.93-5.15v-7.22l8.93 5.16v7.21z"}),React.createElement("path",{className:"emptyWork_svg__cls-1",d:"m162.43 352.59-86.41-50.26 8.47-5.81 86.4 50.26-8.46 5.81z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m167.12 345.12-72.33-41.76c-4.94-2.85-8.93-10.49-8.93-17.06V169.88c0-6.58 4-9.6 8.93-6.75l72.33 41.76c4.93 2.85 8.93 10.49 8.93 17.06v116.42c0 6.63-4 9.63-8.93 6.75Z"}),React.createElement("path",{className:"emptyWork_svg__cls-5",d:"m167.61 348.79 5.57-3.34-5.62-8.83.05 12.17zM84.3 165.5l5.07-3.06-.18 8.16-4.89-5.1z"}),React.createElement("path",{className:"emptyWork_svg__cls-3",d:"m162 348.22-72.37-41.77c-4.93-2.84-8.93-10.45-8.93-17.06V173c0-6.57 4-9.6 8.93-6.75L162 208c4.93 2.85 8.93 10.49 8.93 17.07v116.39c-.04 6.54-4.04 9.6-8.93 6.76Z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"m157.5 238.4-63.41-36.61v-18.55l63.41 36.6v18.56zM111.95 249.23l-16.96-9.8v-18.56l16.96 9.8v18.56zM134.28 262.12l-16.97-9.8v-18.56l16.97 9.8v18.56zM156.6 275l-16.96-9.79v-18.56l16.96 9.79V275zM111.95 277.07l-16.96-9.8v-18.56l16.96 9.8v18.56zM134.28 289.96l-16.97-9.8V261.6l16.97 9.8v18.56zM156.6 302.85l-16.96-9.8v-18.56l16.96 9.8v18.56zM111.95 304.91l-16.96-9.8v-18.56l16.96 9.8v18.56zM134.28 317.8l-16.97-9.8v-18.56l16.97 9.8v18.56zM156.6 330.69l-16.96-9.8v-18.56l16.96 9.8v18.56z"}),React.createElement("path",{className:"emptyWork_svg__cls-1",d:"m415.43 466.69-34.64-20 8.08-4.66 34.64 20-8.08 4.66z"}),React.createElement("path",{className:"emptyWork_svg__cls-17",d:"m427.29 460.03-35.72-20.63 4.47-40.72 26.79 15.46 4.46 45.89z"}),React.createElement("path",{className:"emptyWork_svg__cls-15",d:"m418.01 465.18-35.72-20.62 4.47-40.73 26.79 15.47 4.46 45.88z"}),React.createElement("path",{style:{fill:"#ef990f"},d:"m418.01 465.18 9.28-5.15-4.46-45.89-9.28 5.16 4.46 45.88z"}),React.createElement("path",{className:"emptyWork_svg__cls-17",d:"m386.76 403.83 9.28-5.15-1.09 9.88-8.19-4.73z"}),React.createElement("path",{className:"emptyWork_svg__cls-19",d:"m406.84 415.34-1.65-1c0-3.84-2.26-8.28-5-9.88s-5 .22-5 4.06l-1.65-.95c0-4.9 3-7.15 6.69-5s6.61 7.87 6.61 12.77ZM415.55 410l-1.65-.95c0-3.85-2.26-8.28-5-9.88s-5 .21-5 4.06l-1.65-.95c0-4.9 3-7.15 6.69-5s6.61 7.84 6.61 12.72Z"}),React.createElement("g",{id:"emptyWork_svg__Girl_4"},React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_6","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M395.31 380.29c2 .57 3.1 2.76 4.83 7.43a38.82 38.82 0 0 1 2.08 13.16c-.55 4.4-2.37 7.82-6.78 11.39l-2.1-3.85s4.31-3.81 4.75-8.21c.25-2.47-2.65-10.8-2.65-11s-.13-8.92-.13-8.92Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M378.06 481.72a4.81 4.81 0 0 1-4-.54c-1.08 0-7.4-2.47-8.2-.37-.69 1.84 1.84 3.54 3.19 3.87 2.95.72 5.14 2.19 6.33 2.44a3 3 0 0 0 2.73-.39c.89-.83.78-3.91-.05-5.01Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M375.39 486.61c-1.19-.25-3.38-1.72-6.33-2.44-1.13-.27-3.09-1.51-3.28-3-.27 1.69 2 3.2 3.28 3.5 2.95.72 5.14 2.19 6.33 2.44a3 3 0 0 0 2.73-.39 1.78 1.78 0 0 0 .39-.7 3.54 3.54 0 0 1-3.12.59Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M394.12 473.37a3.79 3.79 0 0 1-3.47-.52c-1 0-7.5-2.38-8.27-.35-.67 1.77 1.77 3.41 3.07 3.72 2.84.69 4.95 2.11 6.09 2.35a2.88 2.88 0 0 0 2.63-.37c.83-.8.74-3.77-.05-4.83Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M391.54 478.08c-1.14-.24-3.25-1.66-6.09-2.35-1.09-.26-3-1.46-3.16-2.88-.25 1.63 1.95 3.08 3.16 3.37 2.84.69 4.95 2.11 6.09 2.35a2.88 2.88 0 0 0 2.63-.37 1.63 1.63 0 0 0 .37-.68 3.4 3.4 0 0 1-3 .56Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_7","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M396.24 457.33a20.94 20.94 0 0 0-1.24-7.12s.83-9.75 1.45-16.15c.91-9.44 2.36-10.37 1.95-16.1-.38-5.32-3.4-8.77-4.19-12.37l-15.41 1.22s-1.34 4.36-3.07 13.06-1.84 19.05-1.68 32.76c.05 3.53-.6 6.6-.39 15.4.14 5.92.47 13.16.47 13.16 2.26 1.94 3.82.51 3.82.51s3.95-17.52 4.53-21.55a12.62 12.62 0 0 0-.54-6.65s1.16-5.51 2-9.84c1.05-5.28 3.63-16.69 3.63-16.69s-.44 17.53.33 21 .9 6.46 1.55 11.16c.79 5.69 1.15 14 1.15 14 2.35 1.49 3.39.34 3.39.34s2.25-11.17 2.25-16.14Z"}),React.createElement("path",{className:"emptyWork_svg__cls-12",d:"M394.21 405.59c1.61 1.65 4.28 6.68 4.28 14.29 0 8.56-1.25 6.82-1.84 16.26l-.6 9.43s-12.87 6.14-22.05.44c-.82-1.78.31-21.61 1.91-28.66s2.73-10.51 2.73-10.51 11.84 3.16 15.57-1.25Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_8","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M394.39 380.2c-3.28-.19-3.59.35-3.86-.81-.09-.42-.27-3.31-.27-3.31a10.28 10.28 0 0 0 .82-1.21 8.4 8.4 0 0 0-3.53-15.52c-4.36-.46-7.56 2.6-8.41 6.8-.46 2.07-.94 6.31.35 9.7.73 1.92 1.4 3.27 3.14 3.2a10.39 10.39 0 0 0 1.71-.3 16 16 0 0 1 .1 2.4c-.05.84.1 1.27-1.55 2.28s2.49 3.09 5.18 2.89 5.73-1.84 6.57-3.58c.92-1.95 1.3-2.44-.25-2.54Z"}),React.createElement("path",{className:"emptyWork_svg__cls-9",d:"M396.81 394.75s3.71-.84 5.41-2.49c0 0-2.21-6.95-3.62-8.7s-2.78 9.48-2.78 9.48Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_9","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-13",d:"M391.14 380.13c.6.76.67 1.71-1.67 2.3a7.42 7.42 0 0 1-5.13-.39 33.79 33.79 0 0 0-5.3 2.81c-2 6.57-.38 7.41-1.22 12.12.32 2.37.72 8.48.82 9.87 4.46 3.12 13.53 2.06 15.57-1.25a25.38 25.38 0 0 1 .31-3.3c2.13-7.9 3.8-10 3.2-16-.34-3.41-.6-5.12-2.41-6a16 16 0 0 0-4.17-.16Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_10","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M350.09 405.84a25.12 25.12 0 0 1 3 .86 9.88 9.88 0 0 0 2.91 1c1.1.18 2.81-.39 5.77-1.79a31.88 31.88 0 0 0 8.66-6.51 75.92 75.92 0 0 0 7.57-10.8c1.28-2.34 2.91-2.93 4.32-2.47 1.69.56 1.9 2.23 0 5.39a59.85 59.85 0 0 1-8.66 11.34 32.42 32.42 0 0 1-9 6.37 28.11 28.11 0 0 1-7.6 2.64c-.93.2-1.56.58-3.27 1.18a11.24 11.24 0 0 1-5.32.59c-1.49-.29-2-.63-2.06-1s.25-.62.94-.57a9.31 9.31 0 0 0 3.3-.08s-1.52-.05-2.44-.16a9.08 9.08 0 0 1-2.36-.6c-.73-.31-1-1.45-.27-1.41s1.24.25 2.59.39a9 9 0 0 0 2.16 0 17.31 17.31 0 0 1-2.64-.65 3.79 3.79 0 0 1-1.84-1.13c-.25-.29-.18-1 .68-.83a13.69 13.69 0 0 0 3.23.72c1.11 0 1.89-.09 1.75-.27s-.79-.14-1.64-.62-1.32-1.37-1-1.8.32-.12 1.22.21Z"}),React.createElement("path",{className:"emptyWork_svg__cls-9",d:"M380.53 395.31a12 12 0 0 1-6.81-3.45l4.12-5.72s2.32-2.93 5.38-1.27c0 0 2.32.25 0 5.08a50.68 50.68 0 0 1-2.69 5.36Z"}),React.createElement("path",{className:"emptyWork_svg__cls-14",d:"M378.34 363.67a3.82 3.82 0 0 1 4.31-3.14 7.2 7.2 0 0 1 4.9-1.18c3.91.4 6.47 2.94 7.66 6.86a31.71 31.71 0 0 1 1.15 6c1.18 8.71 4.34 15.63 1.38 18.21s-11.06 4.23-14.44 2.58 2.79-16.64-3.92-25c-1.57-1.95-1.72-3.34-1.04-4.33Z"})),React.createElement("g",{id:"emptyWork_svg__Men_13"},React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M11 360.45c1.53 1.24 3.78.11 3.89.22a68.24 68.24 0 0 0 5.63 4.69c1 .75 2.43 1.75 2.16 3.18-.48 2.57-4.59 1.78-6.14 1s-2.82-2.09-4.29-3c-1-.65-2.08-1-2.24-2.31-.15-.81.67-3.81.99-3.78Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M10 363.69c.2 1.27 1.22 1.62 2.26 2.26 1.49.93 2.8 2.27 4.35 3.05s5 1.45 6-.39c-.54 2.48-4.59 1.7-6.12.93s-2.82-2.09-4.29-3c-1-.65-2.08-1-2.24-2.31a2 2 0 0 1 .04-.54Z"}),React.createElement("path",{className:"emptyWork_svg__cls-10",d:"M24.19 355.53c1.52 1.24 4.19-.12 4.31 0a60 60 0 0 0 5 4.54c.95.75 2.44 1.75 2.17 3.18-.48 2.57-4.6 1.78-6.15 1s-2.82-2.09-4.29-3c-1-.65-2.08-1-2.24-2.31-.08-.8.93-3.44 1.2-3.41Z"}),React.createElement("path",{className:"emptyWork_svg__cls-11",d:"M23.06 358.58c.2 1.27 1.22 1.62 2.26 2.27 1.49.92 2.8 2.26 4.35 3s5 1.44 6-.39c-.54 2.48-4.59 1.7-6.12.92s-2.82-2.09-4.29-3c-1.05-.65-2.08-1-2.24-2.31a2.06 2.06 0 0 1 .04-.49Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_11","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-12",d:"M10.86 304.15c.08 2.31.8 12.32 1.12 17.62s.39 11.8.39 11.8-.91 3.87-1.51 8.41 0 18.87 0 18.87a3.64 3.64 0 0 0 3.91 0s2.44-11.47 3.57-16.64 1.33-8.14 1.91-11.35c.71-3.87 2.24-21.95 2.24-21.95h.62l1.63 20.41a22.83 22.83 0 0 0-1 4.64c-.44 3.32.47 20.05.47 20.05a4.06 4.06 0 0 0 4.22-.17s4.08-22.16 4.08-25.53c0-2.23-.39-31.63-.39-31.63Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_12","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M16.39 259.57s.26 5 .15 5.47-2.31 1.92-2.95 2.45 3.48 4.59 5.48 5.51 8.34-1.5 8.46-4.62-1.09-5.73-2.06-5.87-9.08-2.94-9.08-2.94Z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M30.17 268.9c.29-2.22-1.17-4.32.25-6.09 5 4.87 4.33 17.74 5.46 26 3.68 3.86 11.09 7.65 13.17 8.59.38.18.71.36.64.77a9.28 9.28 0 0 1-1.69 3.75c-4.9-2.12-8.43-3.33-14.56-9.15a13.64 13.64 0 0 1-1.55-2c-1.79-5.29-2.23-18.04-1.72-21.87Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_13","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-13",d:"M15.83 265.91s3.65 5.44 8.74 5.95c1.61-1.58 1.75-7.21-.47-9 0 0 2-1.65 3.44-1.33a7.2 7.2 0 0 1 3.14 4 33 33 0 0 1 1.8 11.64c-.09 5.34 0 21.64 0 21.64s-.72 3.45-5.32 6-8 2.82-11.15 2.09c-2.58-.6-4.71-1.51-5.6-3.38.23-3.74 1.9-13.5 1.28-18.2s-1.62-8.21-1.88-12 .5-3.72 2.41-5.08a31 31 0 0 1 3.61-2.33Z"}),React.createElement("path",{id:"emptyWork_svg___\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440_14","data-name":"<\\u041A\\u043E\\u043D\\u0442\\u0443\\u0440>",className:"emptyWork_svg__cls-8",d:"M27.77 252.07c-.6-3.9-3.41-6.86-7.43-6.64a7.74 7.74 0 0 0-3.95 14.14 7.74 7.74 0 0 0 .63 1.71c1.42 1.66 5.73 2.69 7 2.51a3.69 3.69 0 0 0 3.21-2.62c1.29-3.07.87-7.17.54-9.1Z"}),React.createElement("path",{className:"emptyWork_svg__cls-14",d:"m16.39 259.57.37-3.41S14 249 20.55 250.34c4.34.92 5.43 1.31 6.75-1.6s-3.33-5.53-8.86-4.8a7.64 7.64 0 0 0-6.85 7.75c.15 2.14.72 6.48 4.8 7.88Z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M8.69 271.07c1.91-.54.46-.09 1.91-.54 5 4.86 4.34 13.21 5.47 21.45C18.81 296.51 29 302.65 29 302.65c.13.87-.18 1.13-1.28 2.91a44 44 0 0 1-15.13-9.76c-.24-.23-.59-.29-.69-.6-1.77-5.26-3.71-20.3-3.21-24.13Z"}),React.createElement("path",{className:"emptyWork_svg__cls-13",d:"m53.95 281.23-7.4 25.27-16.21 6.48 5.91-24.62 17.7-7.13z"}),React.createElement("path",{className:"emptyWork_svg__cls-8",d:"M26.42 302.83c.24-.86.87-.65 1.57-.43a4.2 4.2 0 0 0 2.4.21 7.37 7.37 0 0 0 1.72-1.17 2.15 2.15 0 0 1 1.08-.3c0 .21-.37 1.5-.37 1.5h3.92a.6.6 0 0 1 .56 1h.24c.73-.17 1 .95.31 1.12l-.6.09c.48.18.6 1 0 1.08h-.19a.59.59 0 0 1-.26 0h-.11a.64.64 0 0 1-.53.76c-1.74.22-4.29.91-5.86-.52a9.75 9.75 0 0 1-3.15-.85c-.99-.49-1.02-1.46-.73-2.49ZM44.17 300.76h.24a.6.6 0 0 1 .34-1.09c.37 0 4-.76 4-.76l.44-1.5c0-.09.63.3.65.31a2.49 2.49 0 0 1 1.16 1.82 4 4 0 0 1-1 2.83 3.66 3.66 0 0 1-2.48 1.07l-1.26.08a.63.63 0 0 1-.68-.62h-.18a.61.61 0 0 1-.26 0H45c-.62 0-.67-.78-.25-1.06h-.6c-.79.08-.73-1.08.02-1.08Z"}),React.createElement("path",{className:"emptyWork_svg__cls-9",d:"M32.23 272.2a3.93 3.93 0 0 0 2.65-1.2c-.14-1.87-2.53-9-7.34-9.49a8.89 8.89 0 0 1 3 3.63 47.27 47.27 0 0 1 1.69 7.06ZM7.83 281.57s4.78 1.65 8.15-1.12c.37-.64-2-8.78-2-8.78s-2-4.17-5.15-2.51-1 12.41-1 12.41Z"})))));l.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0ODEuMDMgNTAwIj48ZGVmcz48c3R5bGU+LmNscy0xLC5jbHMtM3tmaWxsOiNkNmQ4ZTV9LmNscy0xe29wYWNpdHk6LjR9LmNscy0ye2ZpbGw6I2IxYjRjNH0uY2xzLTR7ZmlsbDojOWVhMWFmfS5jbHMtNXtmaWxsOiNjNGM3ZDZ9LmNscy03e2ZpbGw6I2ZmZn0uY2xzLTh7ZmlsbDojZmZjZWE5fS5jbHMtOXtmaWxsOiNlZGVkZWR9LmNscy0xMHtmaWxsOiMzODIyNmR9LmNscy0xMXtmaWxsOiM5YzczZmZ9LmNscy0xMntmaWxsOiM4YzUwZmZ9LmNscy0xM3tmaWxsOiNmNGY0ZjR9LmNscy0xNHtmaWxsOiMzYTJjNmR9LmNscy0xNXtmaWxsOiNmY2E3MGR9LmNscy0xNntmaWxsOiNlOWVhZjJ9LmNscy0xN3tmaWxsOiNlMjhjMTB9LmNscy0xOXtmaWxsOiM3YzU1MjJ9PC9zdHlsZT48L2RlZnM+PGcgaWQ9ItCh0LvQvtC5XzIiIGRhdGEtbmFtZT0i0KHQu9C+0LkgMiI+PGcgaWQ9ItCh0LvQvtC5XzEtMiIgZGF0YS1uYW1lPSLQodC70L7QuSAxIj48ZyBpZD0ibW9uaXRvciI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjk3IDM5NS40NC02MC0zNC42NWMtNC4zMy0yLjUtMy43OC02Ljg2IDEuMjEtOS43NWwzOC44OS0yMi40NSA3NS42OSA0My43LTM4Ljg5IDIyLjQ1Yy01IDIuODktMTIuNTYgMy4yLTE2LjkuN1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0zMDEuNCAzOTIuODctNjAtMzQuNjZjLTQuMzItMi41LTMuNzgtNi44NiAxLjIyLTkuNzVMMjgxLjQ3IDMyNmw3NS42OSA0My43LTM4Ljg4IDIyLjQ2Yy01IDIuODktMTIuNTYgMy4yLTE2Ljg4LjcxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM1Ny4xNyAzNjkuNzF2LTIuMjlsLTMuNSAyLjAyIDMuNS4yN3pNMjM4LjQ1IDM1NC4wOHYtMi4zM2wzLjU5IDEuNDktMy41OS44NHoiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Im0zMDEuNCAzOTAuNTctNjAtMzQuNjVjLTQuMzItMi41LTMuNzgtNi44NiAxLjIyLTkuNzVsMzguODgtMjIuNDUgNzUuNjkgNDMuNy0zOC44OCAyMi40NWMtNS4wMyAyLjg5LTEyLjU5IDMuMi0xNi45MS43WiIvPjxwYXRoIGNsYXNzPSJjbHMtNCIgZD0ibTI4MS42NyAzMjMuODItOS4zNi0zMS4wOCA3Ni41MiA0My44OSA4LjM0IDMwLjc5LTc1LjUtNDMuNnoiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Im0zNTUgMzY4LjcgMi4yMS0xLjI4LTMuMjktMi42M1oiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0yNzkuMjYgMzI0Ljk5LTkuMzctMzEuMDggNzYuNTMgNDMuODkgOC41MyAzMC45LTc1LjY5LTQzLjcxeiIvPjxwYXRoIGNsYXNzPSJjbHMtNSIgZD0ibTQ3My41MSA0MjEuMDgtMjk2LjItMTcxYy00LjE1LTIuNC03LjUyLTguODQtNy41Mi0xNC4zOFY2LjU5YzAtNS41NCAzLjM3LTguMDkgNy41Mi01LjY5bDI5Ni4yIDE3MWM0LjE1IDIuNCA3LjUyIDguODMgNy41MiAxNC4zN1Y0MTUuNGMtLjAzIDUuNTQtMy4zNyA4LjA4LTcuNTIgNS42OFoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Im00NzUuMDMgNDIzLjQ1IDMuMjgtMS45LTEuNDItOS43My0xLjg2IDExLjYzeiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0ibTE2OS4yNiAyLjMxIDMuMjMtMS44NiA0LjY0IDIuNjVzLTQuOTQuNzUtNS4wNi43Mi0yLjgxLTEuNTEtMi44MS0xLjUxWiIvPjxwYXRoIGQ9Im00NzAuNzkgNDIyLjY1LTI5Ni4xOS0xNzFjLTQuMTYtMi4zOS03LjUyLTguODMtNy41Mi0xNC4zN1Y4LjE2YzAtNS41NCAzLjM2LTguMDkgNy41Mi01LjY5bDI5Ni4xOSAxNzFjNC4xNiAyLjQgNy41MiA4LjgzIDcuNTIgMTQuMzdWNDE3YzAgNS41LTMuMzEgOC4wNS03LjUyIDUuNjVaIiBzdHlsZT0iZmlsbDojZTRlN2YyIi8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJNNDcwLjI3IDQyMyAxNzQuMDggMjUyYy00LjE2LTIuNC03LjUzLTguODMtNy41My0xNC4zN1Y4LjQ2YzAtNS41NCAzLjM3LTguMDkgNy41My01LjY5bDI5Ni4xOSAxNzFjNC4xNSAyLjM5IDcuNTIgOC44MyA3LjUyIDE0LjM3djIyOS4xMmMwIDUuNTQtMy4zNyA4LjA5LTcuNTIgNS43NFoiLz48cGF0aCBjbGFzcz0iY2xzLTciIGQ9Im00NzMuNzIgNDA5LTMwMy40LTE3NS4xNS4xNS0yMjQuNDhjMC0yLjI5IDEuNjItMy4yMyAzLjYxLTIuMDhsMjk2LjE5IDE3MWE4IDggMCAwIDEgMy42IDYuMjRaIi8+PC9nPjxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjM4MS4xIiBjeT0iNDgxLjI2IiByeD0iMjMuMjkiIHJ5PSIxMy40NCIvPjxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjEwNC4wMiIgY3k9IjQ4Ni41NiIgcng9IjIzLjI5IiByeT0iMTMuNDQiLz48ZWxsaXBzZSBjbGFzcz0iY2xzLTEiIGN4PSIyMy4yOSIgY3k9IjM2NC41OSIgcng9IjIzLjI5IiByeT0iMTMuNDQiLz48ZyBpZD0iTWVuXzQiPjxwYXRoIGNsYXNzPSJjbHMtOCIgZD0iTTg3LjcgMzk2LjY0cy42NiA5Ljg4IDIgMTEuMjkgNS42NyAyLjQgNS42NyAyLjRsMy4zOCA1LjU1Uzk1LjYyIDM5OC4yMiA5NSAzOTcuOHMtNy4zLTEuMTYtNy4zLTEuMTZaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfIiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTkiIGQ9Ik05NC4xOSAzODUuNjdhMy42OSAzLjY5IDAgMCAwLTQuNyAxLjQyYy0xLjI0IDIuMDYtMi41MyA5LjExLTIuNjUgMTAuMzIgMCAwIDEuNzQgMi40MSA0LjM2IDJaIi8+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTEwNC4xOSA0ODQuMjRhNy4yOCA3LjI4IDAgMCAwIDUuNDYtLjY2YzEuMzIgMCA4LjQ2LTMgOS40My0uNDUuODUgMi4yNS0yLjI0IDQuMzMtMy44OSA0LjczLTMuNjEuODctNi4yOCAyLjY3LTcuNzMgMy0xLjA4LjIyLTIuNDguMzctMy4zNC0uNDgtMS4wMy0xLjAzLS45NC00LjguMDctNi4xNFoiLz48cGF0aCBjbGFzcz0iY2xzLTExIiBkPSJNMTA3LjQ2IDQ5MC4yMWMxLjQ1LS4zIDQuMTItMi4xIDcuNzMtMyAxLjM4LS4zMyAzLjc3LTEuODUgNC0zLjY1LjMyIDIuMDctMi40NyAzLjktNCA0LjI4LTMuNjEuODctNi4yOCAyLjY3LTcuNzMgMy0xLjA4LjIyLTIuNDguMzctMy4zNC0uNDhhMi4wNiAyLjA2IDAgMCAxLS40Ny0uODYgNC4zMiA0LjMyIDAgMCAwIDMuODEuNzFaIi8+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTkzLjA3IDQ4MC43N2E3LjIzIDcuMjMgMCAwIDAgNS40Ni0uNjZjMS4zMSAwIDguNDYtMyA5LjQzLS40NS44NSAyLjI1LTIuMjQgNC4zMy0zLjkgNC43My0zLjYuODctNi4yNyAyLjY3LTcuNzIgMy0xLjA4LjIzLTIuNDguMzctMy4zNC0uNDctMS0xLjA0LS45NC00LjgxLjA3LTYuMTVaIi8+PHBhdGggY2xhc3M9ImNscy0xMSIgZD0iTTk2LjM0IDQ4Ni43NGMxLjQ1LS4zIDQuMTItMi4xIDcuNzItMyAxLjM5LS4zNCAzLjc3LTEuODYgNC0zLjY2LjMyIDIuMDctMi40NyAzLjkxLTQgNC4yOC0zLjYuODctNi4yNyAyLjY3LTcuNzIgMy0xLjA4LjIzLTIuNDguMzctMy4zNC0uNDdhMi4wNSAyLjA1IDAgMCAxLS40Ny0uODcgNC4yOSA0LjI5IDAgMCAwIDMuODEuNzJaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfMiIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy0xMiIgZD0iTTkyLjI4IDQ2MC42OGE0My45MiA0My45MiAwIDAgMSAxLjY0LTcuODJzLS40OS02Ljc1LS43My0xMy4xNWMtLjI4LTcuMjctMi44LTEzLjY2LS44MS0xOS40NmwyMi4xMiA0Ljkycy0xLjA3IDI5LTEuMzcgMzIuNTNhNjQuNTkgNjQuNTkgMCAwIDEtMSA4LjEzQzExMS4xIDQ3MS40NiAxMTAgNDg0IDExMCA0ODRjLTIuMzcgMS4zNy01Ljg0LjI0LTUuODQuMjRzMC0xNS43NS4xMy0xOS44Yy4xOS01IC4zNC00LjU3LjM0LTQuNTdsLS43NC0xMi4zMi0uNDgtNi4xM3MtLjYzIDQuNS0xIDguNTJjLS4zNSAzLjUtMS4yIDYuNjctMi4xNCAxMy4xOS0uODIgNS42Ni0xLjY3IDE3LjE5LTEuNjcgMTcuMTktMi4zNyAxLjM4LTUuNTYuNDMtNS41Ni40M3MtMS40MS0xNS4xNi0uNzYtMjAuMDdaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfMyIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy04IiBkPSJNOTUuMzggMzg1Ljc5YzEuNy4wOSAzIC41MyAzLjE5IDBhMjEuMzIgMjEuMzIgMCAwIDAgLjM5LTIuNjZjLS4yLS41LS4zNy0xLS4zNy0xLTIuMTQtMS4zMi0yLjgyLTMuNjQtMy4xLTYuMzQtLjQ4LTQuNjEgMi04LjY0IDYuNjItOS4xMiA0LjMzLS40NiA3LjUyIDIuNTkgOC4zOCA2Ljc3LjQ1IDIuMDcgMS4zNyA2IC4xMyA5LjM3LS42OSAxLjktMS41OCAzLjQxLTIuNDYgMy43YTIxLjI3IDIxLjI3IDAgMCAxLTIuNTctLjIzbC0uMzggMi4xYy0uMTYuODItLjEgMS4yNiAxLjU0IDIuMjZzLTIuNDggMy4wOC01LjE3IDIuODgtNS43LTEuODItNi41My0zLjU2Yy0uOTMtMS45Ni0uODQtNC4yMi4zMy00LjE3WiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzQiIGRhdGEtbmFtZT0iJmx0O9Ca0L7QvdGC0YPRgCZndDsiIGNsYXNzPSJjbHMtMTMiIGQ9Ik05Ny44NSAzODYuMDVjLS40OCAxLjE4LjcyIDIuNjIgMy45MyAzLjYzczMuNS0uMjkgMy41LS4yOWE2NCA2NCAwIDAgMSA2LjIzIDMuMjFjMS45MiAxLjM0IDIuNzcgNS4yMyAzIDExLjgxLjMgNy42LjMzIDE4Ljg4LjA4IDIwLjgzIDAgMC0zLjYgMy41OC04LjIgMy4yUzk0LjA4IDQyNCA5Mi4yIDQyMC44NWMwLTYuNjcuODMtNy43NS0uMjUtMTEuNi0yLjQ3LTguNzktMy43Ny0xMi4zOS0yLjU3LTE4LjIzIDEtNC44MiAyLjM3LTUuNDIgNC4yOC01LjM3YTQwIDQwIDAgMCAxIDQuMTkuNFoiLz48cGF0aCBjbGFzcz0iY2xzLTgiIGQ9Im0xMTAuNTcgNDMxLjA5LTIuMzQtMjYuNDggNC45NC0yLjYyIDEuOTIgMS42Mi0uNTkgMjMuNzh2MS40OXMuMTEgMi0zLjY2IDQuMzljMCAwLS4wNi0uNjMtLjEyLTEuMjFsLS4wOS0xWiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzUiIGRhdGEtbmFtZT0iJmx0O9Ca0L7QvdGC0YPRgCZndDsiIGNsYXNzPSJjbHMtOSIgZD0iTTExMCAzOTFjMi41NSAwIDQuMTcgMS4zIDQuOCA1LjIzczEgNy4xNCAxIDcuMTRhNi44NCA2Ljg0IDAgMCAxLTQuNTQgMi4yNWMtMy4wOS4zNS00LTEuMjItNC0xLjIycy0uMzMtNC4wOC0uNS02Ljg1LjA3LTYuNTUgMy4yNC02LjU1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMTQiIGQ9Ik0xMTAuMzQgMzcyLjgyczQtNi4wNS00LjY1LTcuMjljLTYuMjMtLjg5LTEwLjIzIDMuMTEtMTAuNjkgNy40NS0uNDQgNC4xNSAyLjExIDguNDYgNCAxMC4xN2E3LjU0IDcuNTQgMCAwIDAgNS4zOC0uNjUgMzIuMjMgMzIuMjMgMCAwIDAgLjEyLTMuNHMtMy4wOC02LjM5IDUuODQtNi4yOFoiLz48L2c+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDQ1IDM2Ny41NSAyMDUuNjYgMjI5LjM3Yy00LjkzLTIuODQtOC45My0xMC40OC04LjkzLTE3LjA2VjM2LjA5YzAtNi41OCA0LTkuNiA4LjkzLTYuNzVMNDQ1IDE2Ny41MWM0LjkzIDIuODUgOC45MyAxMC40OSA4LjkzIDE3LjA2VjM2MC44Yy0uMDEgNi41Ny00LjAxIDkuNi04LjkzIDYuNzVaIi8+PHBhdGggY2xhc3M9ImNscy03IiBkPSJNNDMxLjU4IDM0Mi44IDE5Mi4yNiAyMDQuNjNjLTQuOTQtMi44NS04LjkzLTEwLjQ5LTguOTMtMTcuMDdWMTEuMzRjMC02LjU4IDQtOS42IDguOTMtNi43NWwyMzkuMzIgMTM4LjE3YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDd2MTc2LjIyYzAgNi41OC00IDkuNi04LjkzIDYuNzVaIi8+PHBhdGggY2xhc3M9ImNscy0xMiIgZD0iTTQ0MC41MSAxNzMuNyAxODMuMzMgMjUuMjFWMTEuMzRjMC02LjU4IDQtOS42IDguOTMtNi43NWwyMzkuMzIgMTM4LjE3YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDdaIi8+PGVsbGlwc2UgY2xhc3M9ImNscy03IiBjeD0iMTk4Ljk1IiBjeT0iMjIuMzgiIHJ4PSIyLjU1IiByeT0iNC40MiIgdHJhbnNmb3JtPSJyb3RhdGUoLTMwIDE5OC45NjUgMjIuMzczKSIvPjxlbGxpcHNlIGNsYXNzPSJjbHMtNyIgY3g9IjIyMy4wNyIgY3k9IjM2LjMiIHJ4PSIyLjU1IiByeT0iNC40MiIgdHJhbnNmb3JtPSJtYXRyaXgoLjg3IC0uNSAuNSAuODcgMTEuNzQgMTE2LjQpIi8+PGVsbGlwc2UgY2xhc3M9ImNscy03IiBjeD0iMjExLjAxIiBjeT0iMjkuMzQiIHJ4PSIyLjU1IiByeT0iNC40MiIgdHJhbnNmb3JtPSJyb3RhdGUoLTMwIDIxMS4wMTggMjkuMzQyKSIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im0yMTkuOTQgMTkzLjgtMTIuNS03LjIydi01MS41NWwxMi41IDcuMjF2NTEuNTZ6TTI2Ni4zOCAyMjAuNjFsLTEyLjUxLTcuMjJ2LTg3LjY0bDEyLjUxIDcuMjJ2ODcuNjR6Ii8+PHBhdGggY2xhc3M9ImNscy0xMiIgZD0ibTI0My4xNiAyMDcuMjEtMTIuNS03LjIyVjEzMC45bDEyLjUgNy4yMnY2OS4wOXpNMjg5LjU5IDIzNC4wMWwtMTIuNS03LjIxVjEwNS4xM2wxMi41IDcuMjF2MTIxLjY3eiIvPjxwYXRoIGNsYXNzPSJjbHMtMTYiIGQ9Im00MTguMTkgMjAxLjAyLTk5LjEzLTU3LjIzdi0xNC40M2w5OS4xMyA1Ny4yM3YxNC40M3pNNDE4LjE5IDIxOS41OGwtOTkuMTMtNTcuMjN2LTcuMjJsOTkuMTMgNTcuMjN2Ny4yMnpNNDE4LjE5IDIzMy4zM2wtOTkuMTMtNTcuMjN2LTcuMjJsOTkuMTMgNTcuMjN2Ny4yMnpNNDA0Ljc5IDIzOS4zNGwtODUuNzMtNDkuNDl2LTcuMjJsODUuNzMgNDkuNXY3LjIxek0zOTIuMjkgMjQ1Ljg4bC03My4yMy00Mi4yOHYtNy4yMmw3My4yMyA0Mi4yOHY3LjIyek0zNjEuMDQgMjU3LjczbC0zMC4zNy0xNy41M3YtNy4yMWwzMC4zNyAxNy41MnY3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im0zMjcuOTkgMjM4LjY2LTguOTMtNS4xNnYtNy4yMmw4LjkzIDUuMTZ2Ny4yMnoiLz48cGF0aCBjbGFzcz0iY2xzLTE2IiBkPSJtMzYxLjA0IDI3NS4yNi0zMC4zNy0xNy41M3YtNy4yMmwzMC4zNyAxNy41M3Y3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTIiIGQ9Im0zMjcuOTkgMjU2LjE5LTguOTMtNS4xNnYtNy4yMmw4LjkzIDUuMTZ2Ny4yMnoiLz48cGF0aCBjbGFzcz0iY2xzLTE2IiBkPSJtNDE1LjUxIDI4OS4xOC0zMC4zNi0xNy41M3YtNy4yMWwzMC4zNiAxNy41MnY3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTIiIGQ9Im0zODIuNDcgMjcwLjExLTguOTMtNS4xNnYtNy4yMmw4LjkzIDUuMTZ2Ny4yMnoiLz48cGF0aCBjbGFzcz0iY2xzLTE2IiBkPSJtNDE1LjUxIDMwNi43MS0zMC4zNi0xNy41M3YtNy4yMmwzMC4zNiAxNy41M3Y3LjIyeiIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im0zODIuNDcgMjg3LjYzLTguOTMtNS4xNXYtNy4yMmw4LjkzIDUuMTZ2Ny4yMXoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xNjIuNDMgMzUyLjU5LTg2LjQxLTUwLjI2IDguNDctNS44MSA4Ni40IDUwLjI2LTguNDYgNS44MXoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Im0xNjcuMTIgMzQ1LjEyLTcyLjMzLTQxLjc2Yy00Ljk0LTIuODUtOC45My0xMC40OS04LjkzLTE3LjA2VjE2OS44OGMwLTYuNTggNC05LjYgOC45My02Ljc1bDcyLjMzIDQxLjc2YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDZ2MTE2LjQyYzAgNi42My00IDkuNjMtOC45MyA2Ljc1WiIvPjxwYXRoIGNsYXNzPSJjbHMtNSIgZD0ibTE2Ny42MSAzNDguNzkgNS41Ny0zLjM0LTUuNjItOC44My4wNSAxMi4xN3pNODQuMyAxNjUuNWw1LjA3LTMuMDYtLjE4IDguMTYtNC44OS01LjF6Ii8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJtMTYyIDM0OC4yMi03Mi4zNy00MS43N2MtNC45My0yLjg0LTguOTMtMTAuNDUtOC45My0xNy4wNlYxNzNjMC02LjU3IDQtOS42IDguOTMtNi43NUwxNjIgMjA4YzQuOTMgMi44NSA4LjkzIDEwLjQ5IDguOTMgMTcuMDd2MTE2LjM5Yy0uMDQgNi41NC00LjA0IDkuNi04LjkzIDYuNzZaIi8+PHBhdGggY2xhc3M9ImNscy0xMiIgZD0ibTE1Ny41IDIzOC40LTYzLjQxLTM2LjYxdi0xOC41NWw2My40MSAzNi42djE4LjU2ek0xMTEuOTUgMjQ5LjIzbC0xNi45Ni05Ljh2LTE4LjU2bDE2Ljk2IDkuOHYxOC41NnpNMTM0LjI4IDI2Mi4xMmwtMTYuOTctOS44di0xOC41NmwxNi45NyA5Ljh2MTguNTZ6TTE1Ni42IDI3NWwtMTYuOTYtOS43OXYtMTguNTZsMTYuOTYgOS43OVYyNzV6TTExMS45NSAyNzcuMDdsLTE2Ljk2LTkuOHYtMTguNTZsMTYuOTYgOS44djE4LjU2ek0xMzQuMjggMjg5Ljk2bC0xNi45Ny05LjhWMjYxLjZsMTYuOTcgOS44djE4LjU2ek0xNTYuNiAzMDIuODVsLTE2Ljk2LTkuOHYtMTguNTZsMTYuOTYgOS44djE4LjU2ek0xMTEuOTUgMzA0LjkxbC0xNi45Ni05Ljh2LTE4LjU2bDE2Ljk2IDkuOHYxOC41NnpNMTM0LjI4IDMxNy44bC0xNi45Ny05Ljh2LTE4LjU2bDE2Ljk3IDkuOHYxOC41NnpNMTU2LjYgMzMwLjY5bC0xNi45Ni05Ljh2LTE4LjU2bDE2Ljk2IDkuOHYxOC41NnoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im00MTUuNDMgNDY2LjY5LTM0LjY0LTIwIDguMDgtNC42NiAzNC42NCAyMC04LjA4IDQuNjZ6Ii8+PHBhdGggY2xhc3M9ImNscy0xNyIgZD0ibTQyNy4yOSA0NjAuMDMtMzUuNzItMjAuNjMgNC40Ny00MC43MiAyNi43OSAxNS40NiA0LjQ2IDQ1Ljg5eiIvPjxwYXRoIGNsYXNzPSJjbHMtMTUiIGQ9Im00MTguMDEgNDY1LjE4LTM1LjcyLTIwLjYyIDQuNDctNDAuNzMgMjYuNzkgMTUuNDcgNC40NiA0NS44OHoiLz48cGF0aCBzdHlsZT0iZmlsbDojZWY5OTBmIiBkPSJtNDE4LjAxIDQ2NS4xOCA5LjI4LTUuMTUtNC40Ni00NS44OS05LjI4IDUuMTYgNC40NiA0NS44OHoiLz48cGF0aCBjbGFzcz0iY2xzLTE3IiBkPSJtMzg2Ljc2IDQwMy44MyA5LjI4LTUuMTUtMS4wOSA5Ljg4LTguMTktNC43M3oiLz48cGF0aCBjbGFzcz0iY2xzLTE5IiBkPSJtNDA2Ljg0IDQxNS4zNC0xLjY1LTFjMC0zLjg0LTIuMjYtOC4yOC01LTkuODhzLTUgLjIyLTUgNC4wNmwtMS42NS0uOTVjMC00LjkgMy03LjE1IDYuNjktNXM2LjYxIDcuODcgNi42MSAxMi43N1pNNDE1LjU1IDQxMGwtMS42NS0uOTVjMC0zLjg1LTIuMjYtOC4yOC01LTkuODhzLTUgLjIxLTUgNC4wNmwtMS42NS0uOTVjMC00LjkgMy03LjE1IDYuNjktNXM2LjYxIDcuODQgNi42MSAxMi43MloiLz48ZyBpZD0iR2lybF80Ij48cGF0aCBpZD0iX9Ca0L7QvdGC0YPRgF82IiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTgiIGQ9Ik0zOTUuMzEgMzgwLjI5YzIgLjU3IDMuMSAyLjc2IDQuODMgNy40M2EzOC44MiAzOC44MiAwIDAgMSAyLjA4IDEzLjE2Yy0uNTUgNC40LTIuMzcgNy44Mi02Ljc4IDExLjM5bC0yLjEtMy44NXM0LjMxLTMuODEgNC43NS04LjIxYy4yNS0yLjQ3LTIuNjUtMTAuOC0yLjY1LTExcy0uMTMtOC45Mi0uMTMtOC45MloiLz48cGF0aCBjbGFzcz0iY2xzLTEwIiBkPSJNMzc4LjA2IDQ4MS43MmE0LjgxIDQuODEgMCAwIDEtNC0uNTRjLTEuMDggMC03LjQtMi40Ny04LjItLjM3LS42OSAxLjg0IDEuODQgMy41NCAzLjE5IDMuODcgMi45NS43MiA1LjE0IDIuMTkgNi4zMyAyLjQ0YTMgMyAwIDAgMCAyLjczLS4zOWMuODktLjgzLjc4LTMuOTEtLjA1LTUuMDFaIi8+PHBhdGggY2xhc3M9ImNscy0xMSIgZD0iTTM3NS4zOSA0ODYuNjFjLTEuMTktLjI1LTMuMzgtMS43Mi02LjMzLTIuNDQtMS4xMy0uMjctMy4wOS0xLjUxLTMuMjgtMy0uMjcgMS42OSAyIDMuMiAzLjI4IDMuNSAyLjk1LjcyIDUuMTQgMi4xOSA2LjMzIDIuNDRhMyAzIDAgMCAwIDIuNzMtLjM5IDEuNzggMS43OCAwIDAgMCAuMzktLjcgMy41NCAzLjU0IDAgMCAxLTMuMTIuNTlaIi8+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTM5NC4xMiA0NzMuMzdhMy43OSAzLjc5IDAgMCAxLTMuNDctLjUyYy0xIDAtNy41LTIuMzgtOC4yNy0uMzUtLjY3IDEuNzcgMS43NyAzLjQxIDMuMDcgMy43MiAyLjg0LjY5IDQuOTUgMi4xMSA2LjA5IDIuMzVhMi44OCAyLjg4IDAgMCAwIDIuNjMtLjM3Yy44My0uOC43NC0zLjc3LS4wNS00LjgzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMTEiIGQ9Ik0zOTEuNTQgNDc4LjA4Yy0xLjE0LS4yNC0zLjI1LTEuNjYtNi4wOS0yLjM1LTEuMDktLjI2LTMtMS40Ni0zLjE2LTIuODgtLjI1IDEuNjMgMS45NSAzLjA4IDMuMTYgMy4zNyAyLjg0LjY5IDQuOTUgMi4xMSA2LjA5IDIuMzVhMi44OCAyLjg4IDAgMCAwIDIuNjMtLjM3IDEuNjMgMS42MyAwIDAgMCAuMzctLjY4IDMuNCAzLjQgMCAwIDEtMyAuNTZaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfNyIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy04IiBkPSJNMzk2LjI0IDQ1Ny4zM2EyMC45NCAyMC45NCAwIDAgMC0xLjI0LTcuMTJzLjgzLTkuNzUgMS40NS0xNi4xNWMuOTEtOS40NCAyLjM2LTEwLjM3IDEuOTUtMTYuMS0uMzgtNS4zMi0zLjQtOC43Ny00LjE5LTEyLjM3bC0xNS40MSAxLjIycy0xLjM0IDQuMzYtMy4wNyAxMy4wNi0xLjg0IDE5LjA1LTEuNjggMzIuNzZjLjA1IDMuNTMtLjYgNi42LS4zOSAxNS40LjE0IDUuOTIuNDcgMTMuMTYuNDcgMTMuMTYgMi4yNiAxLjk0IDMuODIuNTEgMy44Mi41MXMzLjk1LTE3LjUyIDQuNTMtMjEuNTVhMTIuNjIgMTIuNjIgMCAwIDAtLjU0LTYuNjVzMS4xNi01LjUxIDItOS44NGMxLjA1LTUuMjggMy42My0xNi42OSAzLjYzLTE2LjY5cy0uNDQgMTcuNTMuMzMgMjEgLjkgNi40NiAxLjU1IDExLjE2Yy43OSA1LjY5IDEuMTUgMTQgMS4xNSAxNCAyLjM1IDEuNDkgMy4zOS4zNCAzLjM5LjM0czIuMjUtMTEuMTcgMi4yNS0xNi4xNFoiLz48cGF0aCBjbGFzcz0iY2xzLTEyIiBkPSJNMzk0LjIxIDQwNS41OWMxLjYxIDEuNjUgNC4yOCA2LjY4IDQuMjggMTQuMjkgMCA4LjU2LTEuMjUgNi44Mi0xLjg0IDE2LjI2bC0uNiA5LjQzcy0xMi44NyA2LjE0LTIyLjA1LjQ0Yy0uODItMS43OC4zMS0yMS42MSAxLjkxLTI4LjY2czIuNzMtMTAuNTEgMi43My0xMC41MSAxMS44NCAzLjE2IDE1LjU3LTEuMjVaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfOCIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy04IiBkPSJNMzk0LjM5IDM4MC4yYy0zLjI4LS4xOS0zLjU5LjM1LTMuODYtLjgxLS4wOS0uNDItLjI3LTMuMzEtLjI3LTMuMzFhMTAuMjggMTAuMjggMCAwIDAgLjgyLTEuMjEgOC40IDguNCAwIDAgMC0zLjUzLTE1LjUyYy00LjM2LS40Ni03LjU2IDIuNi04LjQxIDYuOC0uNDYgMi4wNy0uOTQgNi4zMS4zNSA5LjcuNzMgMS45MiAxLjQgMy4yNyAzLjE0IDMuMmExMC4zOSAxMC4zOSAwIDAgMCAxLjcxLS4zIDE2IDE2IDAgMCAxIC4xIDIuNGMtLjA1Ljg0LjEgMS4yNy0xLjU1IDIuMjhzMi40OSAzLjA5IDUuMTggMi44OSA1LjczLTEuODQgNi41Ny0zLjU4Yy45Mi0xLjk1IDEuMy0yLjQ0LS4yNS0yLjU0WiIvPjxwYXRoIGNsYXNzPSJjbHMtOSIgZD0iTTM5Ni44MSAzOTQuNzVzMy43MS0uODQgNS40MS0yLjQ5YzAgMC0yLjIxLTYuOTUtMy42Mi04LjdzLTIuNzggOS40OC0yLjc4IDkuNDhaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfOSIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy0xMyIgZD0iTTM5MS4xNCAzODAuMTNjLjYuNzYuNjcgMS43MS0xLjY3IDIuM2E3LjQyIDcuNDIgMCAwIDEtNS4xMy0uMzkgMzMuNzkgMzMuNzkgMCAwIDAtNS4zIDIuODFjLTIgNi41Ny0uMzggNy40MS0xLjIyIDEyLjEyLjMyIDIuMzcuNzIgOC40OC44MiA5Ljg3IDQuNDYgMy4xMiAxMy41MyAyLjA2IDE1LjU3LTEuMjVhMjUuMzggMjUuMzggMCAwIDEgLjMxLTMuM2MyLjEzLTcuOSAzLjgtMTAgMy4yLTE2LS4zNC0zLjQxLS42LTUuMTItMi40MS02YTE2IDE2IDAgMCAwLTQuMTctLjE2WiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzEwIiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTgiIGQ9Ik0zNTAuMDkgNDA1Ljg0YTI1LjEyIDI1LjEyIDAgMCAxIDMgLjg2IDkuODggOS44OCAwIDAgMCAyLjkxIDFjMS4xLjE4IDIuODEtLjM5IDUuNzctMS43OWEzMS44OCAzMS44OCAwIDAgMCA4LjY2LTYuNTEgNzUuOTIgNzUuOTIgMCAwIDAgNy41Ny0xMC44YzEuMjgtMi4zNCAyLjkxLTIuOTMgNC4zMi0yLjQ3IDEuNjkuNTYgMS45IDIuMjMgMCA1LjM5YTU5Ljg1IDU5Ljg1IDAgMCAxLTguNjYgMTEuMzQgMzIuNDIgMzIuNDIgMCAwIDEtOSA2LjM3IDI4LjExIDI4LjExIDAgMCAxLTcuNiAyLjY0Yy0uOTMuMi0xLjU2LjU4LTMuMjcgMS4xOGExMS4yNCAxMS4yNCAwIDAgMS01LjMyLjU5Yy0xLjQ5LS4yOS0yLS42My0yLjA2LTFzLjI1LS42Mi45NC0uNTdhOS4zMSA5LjMxIDAgMCAwIDMuMy0uMDhzLTEuNTItLjA1LTIuNDQtLjE2YTkuMDggOS4wOCAwIDAgMS0yLjM2LS42Yy0uNzMtLjMxLTEtMS40NS0uMjctMS40MXMxLjI0LjI1IDIuNTkuMzlhOSA5IDAgMCAwIDIuMTYgMCAxNy4zMSAxNy4zMSAwIDAgMS0yLjY0LS42NSAzLjc5IDMuNzkgMCAwIDEtMS44NC0xLjEzYy0uMjUtLjI5LS4xOC0xIC42OC0uODNhMTMuNjkgMTMuNjkgMCAwIDAgMy4yMy43MmMxLjExIDAgMS44OS0uMDkgMS43NS0uMjdzLS43OS0uMTQtMS42NC0uNjItMS4zMi0xLjM3LTEtMS44LjMyLS4xMiAxLjIyLjIxWiIvPjxwYXRoIGNsYXNzPSJjbHMtOSIgZD0iTTM4MC41MyAzOTUuMzFhMTIgMTIgMCAwIDEtNi44MS0zLjQ1bDQuMTItNS43MnMyLjMyLTIuOTMgNS4zOC0xLjI3YzAgMCAyLjMyLjI1IDAgNS4wOGE1MC42OCA1MC42OCAwIDAgMS0yLjY5IDUuMzZaIi8+PHBhdGggY2xhc3M9ImNscy0xNCIgZD0iTTM3OC4zNCAzNjMuNjdhMy44MiAzLjgyIDAgMCAxIDQuMzEtMy4xNCA3LjIgNy4yIDAgMCAxIDQuOS0xLjE4YzMuOTEuNCA2LjQ3IDIuOTQgNy42NiA2Ljg2YTMxLjcxIDMxLjcxIDAgMCAxIDEuMTUgNmMxLjE4IDguNzEgNC4zNCAxNS42MyAxLjM4IDE4LjIxcy0xMS4wNiA0LjIzLTE0LjQ0IDIuNTggMi43OS0xNi42NC0zLjkyLTI1Yy0xLjU3LTEuOTUtMS43Mi0zLjM0LTEuMDQtNC4zM1oiLz48L2c+PGcgaWQ9Ik1lbl8xMyI+PHBhdGggY2xhc3M9ImNscy0xMCIgZD0iTTExIDM2MC40NWMxLjUzIDEuMjQgMy43OC4xMSAzLjg5LjIyYTY4LjI0IDY4LjI0IDAgMCAwIDUuNjMgNC42OWMxIC43NSAyLjQzIDEuNzUgMi4xNiAzLjE4LS40OCAyLjU3LTQuNTkgMS43OC02LjE0IDFzLTIuODItMi4wOS00LjI5LTNjLTEtLjY1LTIuMDgtMS0yLjI0LTIuMzEtLjE1LS44MS42Ny0zLjgxLjk5LTMuNzhaIi8+PHBhdGggY2xhc3M9ImNscy0xMSIgZD0iTTEwIDM2My42OWMuMiAxLjI3IDEuMjIgMS42MiAyLjI2IDIuMjYgMS40OS45MyAyLjggMi4yNyA0LjM1IDMuMDVzNSAxLjQ1IDYtLjM5Yy0uNTQgMi40OC00LjU5IDEuNy02LjEyLjkzcy0yLjgyLTIuMDktNC4yOS0zYy0xLS42NS0yLjA4LTEtMi4yNC0yLjMxYTIgMiAwIDAgMSAuMDQtLjU0WiIvPjxwYXRoIGNsYXNzPSJjbHMtMTAiIGQ9Ik0yNC4xOSAzNTUuNTNjMS41MiAxLjI0IDQuMTktLjEyIDQuMzEgMGE2MCA2MCAwIDAgMCA1IDQuNTRjLjk1Ljc1IDIuNDQgMS43NSAyLjE3IDMuMTgtLjQ4IDIuNTctNC42IDEuNzgtNi4xNSAxcy0yLjgyLTIuMDktNC4yOS0zYy0xLS42NS0yLjA4LTEtMi4yNC0yLjMxLS4wOC0uOC45My0zLjQ0IDEuMi0zLjQxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMTEiIGQ9Ik0yMy4wNiAzNTguNThjLjIgMS4yNyAxLjIyIDEuNjIgMi4yNiAyLjI3IDEuNDkuOTIgMi44IDIuMjYgNC4zNSAzczUgMS40NCA2LS4zOWMtLjU0IDIuNDgtNC41OSAxLjctNi4xMi45MnMtMi44Mi0yLjA5LTQuMjktM2MtMS4wNS0uNjUtMi4wOC0xLTIuMjQtMi4zMWEyLjA2IDIuMDYgMCAwIDEgLjA0LS40OVoiLz48cGF0aCBpZD0iX9Ca0L7QvdGC0YPRgF8xMSIgZGF0YS1uYW1lPSImbHQ70JrQvtC90YLRg9GAJmd0OyIgY2xhc3M9ImNscy0xMiIgZD0iTTEwLjg2IDMwNC4xNWMuMDggMi4zMS44IDEyLjMyIDEuMTIgMTcuNjJzLjM5IDExLjguMzkgMTEuOC0uOTEgMy44Ny0xLjUxIDguNDEgMCAxOC44NyAwIDE4Ljg3YTMuNjQgMy42NCAwIDAgMCAzLjkxIDBzMi40NC0xMS40NyAzLjU3LTE2LjY0IDEuMzMtOC4xNCAxLjkxLTExLjM1Yy43MS0zLjg3IDIuMjQtMjEuOTUgMi4yNC0yMS45NWguNjJsMS42MyAyMC40MWEyMi44MyAyMi44MyAwIDAgMC0xIDQuNjRjLS40NCAzLjMyLjQ3IDIwLjA1LjQ3IDIwLjA1YTQuMDYgNC4wNiAwIDAgMCA0LjIyLS4xN3M0LjA4LTIyLjE2IDQuMDgtMjUuNTNjMC0yLjIzLS4zOS0zMS42My0uMzktMzEuNjNaIi8+PHBhdGggaWQ9Il/QmtC+0L3RgtGD0YBfMTIiIGRhdGEtbmFtZT0iJmx0O9Ca0L7QvdGC0YPRgCZndDsiIGNsYXNzPSJjbHMtOCIgZD0iTTE2LjM5IDI1OS41N3MuMjYgNSAuMTUgNS40Ny0yLjMxIDEuOTItMi45NSAyLjQ1IDMuNDggNC41OSA1LjQ4IDUuNTEgOC4zNC0xLjUgOC40Ni00LjYyLTEuMDktNS43My0yLjA2LTUuODctOS4wOC0yLjk0LTkuMDgtMi45NFoiLz48cGF0aCBjbGFzcz0iY2xzLTgiIGQ9Ik0zMC4xNyAyNjguOWMuMjktMi4yMi0xLjE3LTQuMzIuMjUtNi4wOSA1IDQuODcgNC4zMyAxNy43NCA1LjQ2IDI2IDMuNjggMy44NiAxMS4wOSA3LjY1IDEzLjE3IDguNTkuMzguMTguNzEuMzYuNjQuNzdhOS4yOCA5LjI4IDAgMCAxLTEuNjkgMy43NWMtNC45LTIuMTItOC40My0zLjMzLTE0LjU2LTkuMTVhMTMuNjQgMTMuNjQgMCAwIDEtMS41NS0yYy0xLjc5LTUuMjktMi4yMy0xOC4wNC0xLjcyLTIxLjg3WiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzEzIiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTEzIiBkPSJNMTUuODMgMjY1LjkxczMuNjUgNS40NCA4Ljc0IDUuOTVjMS42MS0xLjU4IDEuNzUtNy4yMS0uNDctOSAwIDAgMi0xLjY1IDMuNDQtMS4zM2E3LjIgNy4yIDAgMCAxIDMuMTQgNCAzMyAzMyAwIDAgMSAxLjggMTEuNjRjLS4wOSA1LjM0IDAgMjEuNjQgMCAyMS42NHMtLjcyIDMuNDUtNS4zMiA2LTggMi44Mi0xMS4xNSAyLjA5Yy0yLjU4LS42LTQuNzEtMS41MS01LjYtMy4zOC4yMy0zLjc0IDEuOS0xMy41IDEuMjgtMTguMnMtMS42Mi04LjIxLTEuODgtMTIgLjUtMy43MiAyLjQxLTUuMDhhMzEgMzEgMCAwIDEgMy42MS0yLjMzWiIvPjxwYXRoIGlkPSJf0JrQvtC90YLRg9GAXzE0IiBkYXRhLW5hbWU9IiZsdDvQmtC+0L3RgtGD0YAmZ3Q7IiBjbGFzcz0iY2xzLTgiIGQ9Ik0yNy43NyAyNTIuMDdjLS42LTMuOS0zLjQxLTYuODYtNy40My02LjY0YTcuNzQgNy43NCAwIDAgMC0zLjk1IDE0LjE0IDcuNzQgNy43NCAwIDAgMCAuNjMgMS43MWMxLjQyIDEuNjYgNS43MyAyLjY5IDcgMi41MWEzLjY5IDMuNjkgMCAwIDAgMy4yMS0yLjYyYzEuMjktMy4wNy44Ny03LjE3LjU0LTkuMVoiLz48cGF0aCBjbGFzcz0iY2xzLTE0IiBkPSJtMTYuMzkgMjU5LjU3LjM3LTMuNDFTMTQgMjQ5IDIwLjU1IDI1MC4zNGM0LjM0LjkyIDUuNDMgMS4zMSA2Ljc1LTEuNnMtMy4zMy01LjUzLTguODYtNC44YTcuNjQgNy42NCAwIDAgMC02Ljg1IDcuNzVjLjE1IDIuMTQuNzIgNi40OCA0LjggNy44OFoiLz48cGF0aCBjbGFzcz0iY2xzLTgiIGQ9Ik04LjY5IDI3MS4wN2MxLjkxLS41NC40Ni0uMDkgMS45MS0uNTQgNSA0Ljg2IDQuMzQgMTMuMjEgNS40NyAyMS40NUMxOC44MSAyOTYuNTEgMjkgMzAyLjY1IDI5IDMwMi42NWMuMTMuODctLjE4IDEuMTMtMS4yOCAyLjkxYTQ0IDQ0IDAgMCAxLTE1LjEzLTkuNzZjLS4yNC0uMjMtLjU5LS4yOS0uNjktLjYtMS43Ny01LjI2LTMuNzEtMjAuMy0zLjIxLTI0LjEzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMTMiIGQ9Im01My45NSAyODEuMjMtNy40IDI1LjI3LTE2LjIxIDYuNDggNS45MS0yNC42MiAxNy43LTcuMTN6Ii8+PHBhdGggY2xhc3M9ImNscy04IiBkPSJNMjYuNDIgMzAyLjgzYy4yNC0uODYuODctLjY1IDEuNTctLjQzYTQuMiA0LjIgMCAwIDAgMi40LjIxIDcuMzcgNy4zNyAwIDAgMCAxLjcyLTEuMTcgMi4xNSAyLjE1IDAgMCAxIDEuMDgtLjNjMCAuMjEtLjM3IDEuNS0uMzcgMS41aDMuOTJhLjYuNiAwIDAgMSAuNTYgMWguMjRjLjczLS4xNyAxIC45NS4zMSAxLjEybC0uNi4wOWMuNDguMTguNiAxIDAgMS4wOGgtLjE5YS41OS41OSAwIDAgMS0uMjYgMGgtLjExYS42NC42NCAwIDAgMS0uNTMuNzZjLTEuNzQuMjItNC4yOS45MS01Ljg2LS41MmE5Ljc1IDkuNzUgMCAwIDEtMy4xNS0uODVjLS45OS0uNDktMS4wMi0xLjQ2LS43My0yLjQ5Wk00NC4xNyAzMDAuNzZoLjI0YS42LjYgMCAwIDEgLjM0LTEuMDljLjM3IDAgNC0uNzYgNC0uNzZsLjQ0LTEuNWMwLS4wOS42My4zLjY1LjMxYTIuNDkgMi40OSAwIDAgMSAxLjE2IDEuODIgNCA0IDAgMCAxLTEgMi44MyAzLjY2IDMuNjYgMCAwIDEtMi40OCAxLjA3bC0xLjI2LjA4YS42My42MyAwIDAgMS0uNjgtLjYyaC0uMThhLjYxLjYxIDAgMCAxLS4yNiAwSDQ1Yy0uNjIgMC0uNjctLjc4LS4yNS0xLjA2aC0uNmMtLjc5LjA4LS43My0xLjA4LjAyLTEuMDhaIi8+PHBhdGggY2xhc3M9ImNscy05IiBkPSJNMzIuMjMgMjcyLjJhMy45MyAzLjkzIDAgMCAwIDIuNjUtMS4yYy0uMTQtMS44Ny0yLjUzLTktNy4zNC05LjQ5YTguODkgOC44OSAwIDAgMSAzIDMuNjMgNDcuMjcgNDcuMjcgMCAwIDEgMS42OSA3LjA2Wk03LjgzIDI4MS41N3M0Ljc4IDEuNjUgOC4xNS0xLjEyYy4zNy0uNjQtMi04Ljc4LTItOC43OHMtMi00LjE3LTUuMTUtMi41MS0xIDEyLjQxLTEgMTIuNDFaIi8+PC9nPjwvZz48L2c+PC9zdmc+"}}]); diff --git a/statics/7221.001cee09.async.js b/statics/7221.001cee09.async.js new file mode 100644 index 00000000..0c2ed7cc --- /dev/null +++ b/statics/7221.001cee09.async.js @@ -0,0 +1,9 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7221],{47221:function(Ke,q,r){r.d(q,{Z:function(){return Me}});var o=r(67294),_=r(62994),ee=r(93967),j=r.n(ee),k=r(87462),ne=r(74902),z=r(97685),ae=r(71002),te=r(21770),le=r(80334),G=r(45987),L=r(50344),O=r(4942),oe=r(82225),D=r(15105),W=o.forwardRef(function(n,e){var a=n.prefixCls,t=n.forceRender,l=n.className,m=n.style,p=n.children,c=n.isActive,h=n.role,i=o.useState(c||t),x=(0,z.Z)(i,2),d=x[0],u=x[1];return o.useEffect(function(){(t||c)&&u(!0)},[t,c]),d?o.createElement("div",{ref:e,className:j()("".concat(a,"-content"),(0,O.Z)((0,O.Z)({},"".concat(a,"-content-active"),c),"".concat(a,"-content-inactive"),!c),l),style:m,role:h},o.createElement("div",{className:"".concat(a,"-content-box")},p)):null});W.displayName="PanelContent";var re=W,ie=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],se=o.forwardRef(function(n,e){var a=n.showArrow,t=a===void 0?!0:a,l=n.headerClass,m=n.isActive,p=n.onItemClick,c=n.forceRender,h=n.className,i=n.prefixCls,x=n.collapsible,d=n.accordion,u=n.panelKey,f=n.extra,E=n.header,y=n.expandIcon,s=n.openMotion,I=n.destroyInactivePanel,$=n.children,P=(0,G.Z)(n,ie),v=x==="disabled",S=x==="header",C=x==="icon",Z=f!=null&&typeof f!="boolean",b=function(){p==null||p(u)},N=function(w){(w.key==="Enter"||w.keyCode===D.Z.ENTER||w.which===D.Z.ENTER)&&b()},M=typeof y=="function"?y(n):o.createElement("i",{className:"arrow"});M&&(M=o.createElement("div",{className:"".concat(i,"-expand-icon"),onClick:["header","icon"].includes(x)?b:void 0},M));var g=j()((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(i,"-item"),!0),"".concat(i,"-item-active"),m),"".concat(i,"-item-disabled"),v),h),A=j()(l,(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(i,"-header"),!0),"".concat(i,"-header-collapsible-only"),S),"".concat(i,"-icon-collapsible-only"),C)),R={className:A,"aria-expanded":m,"aria-disabled":v,onKeyDown:N};return!S&&!C&&(R.onClick=b,R.role=d?"tab":"button",R.tabIndex=v?-1:0),o.createElement("div",(0,k.Z)({},P,{ref:e,className:g}),o.createElement("div",R,t&&M,o.createElement("span",{className:"".concat(i,"-header-text"),onClick:x==="header"?b:void 0},E),Z&&o.createElement("div",{className:"".concat(i,"-extra")},f)),o.createElement(oe.ZP,(0,k.Z)({visible:m,leavedClassName:"".concat(i,"-content-hidden")},s,{forceRender:c,removeOnLeave:I}),function(B,w){var H=B.className,T=B.style;return o.createElement(re,{ref:w,prefixCls:i,className:H,style:T,isActive:m,forceRender:c,role:d?"tabpanel":void 0},$)}))}),X=se,ce=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],de=function(e,a){var t=a.prefixCls,l=a.accordion,m=a.collapsible,p=a.destroyInactivePanel,c=a.onItemClick,h=a.activeKey,i=a.openMotion,x=a.expandIcon;return e.map(function(d,u){var f=d.children,E=d.label,y=d.key,s=d.collapsible,I=d.onItemClick,$=d.destroyInactivePanel,P=(0,G.Z)(d,ce),v=String(y!=null?y:u),S=s!=null?s:m,C=$!=null?$:p,Z=function(M){S!=="disabled"&&(c(M),I==null||I(M))},b=!1;return l?b=h[0]===v:b=h.indexOf(v)>-1,o.createElement(X,(0,k.Z)({},P,{prefixCls:t,key:v,panelKey:v,isActive:b,accordion:l,openMotion:i,expandIcon:x,header:E,collapsible:S,onItemClick:Z,destroyInactivePanel:C}),f)})},ve=function(e,a,t){if(!e)return null;var l=t.prefixCls,m=t.accordion,p=t.collapsible,c=t.destroyInactivePanel,h=t.onItemClick,i=t.activeKey,x=t.openMotion,d=t.expandIcon,u=e.key||String(a),f=e.props,E=f.header,y=f.headerClass,s=f.destroyInactivePanel,I=f.collapsible,$=f.onItemClick,P=!1;m?P=i[0]===u:P=i.indexOf(u)>-1;var v=I!=null?I:p,S=function(b){v!=="disabled"&&(h(b),$==null||$(b))},C={key:u,panelKey:u,header:E,headerClass:y,isActive:P,prefixCls:l,destroyInactivePanel:s!=null?s:c,openMotion:x,accordion:m,children:e.props.children,onItemClick:S,expandIcon:d,collapsible:v};return typeof e.type=="string"?e:(Object.keys(C).forEach(function(Z){typeof C[Z]=="undefined"&&delete C[Z]}),o.cloneElement(e,C))};function fe(n,e,a){return Array.isArray(n)?de(n,a):(0,L.Z)(e).map(function(t,l){return ve(t,l,a)})}var me=fe,ue=r(64217);function Ce(n){var e=n;if(!Array.isArray(e)){var a=(0,ae.Z)(e);e=a==="number"||a==="string"?[e]:[]}return e.map(function(t){return String(t)})}var ge=o.forwardRef(function(n,e){var a=n.prefixCls,t=a===void 0?"rc-collapse":a,l=n.destroyInactivePanel,m=l===void 0?!1:l,p=n.style,c=n.accordion,h=n.className,i=n.children,x=n.collapsible,d=n.openMotion,u=n.expandIcon,f=n.activeKey,E=n.defaultActiveKey,y=n.onChange,s=n.items,I=j()(t,h),$=(0,te.Z)([],{value:f,onChange:function(N){return y==null?void 0:y(N)},defaultValue:E,postState:Ce}),P=(0,z.Z)($,2),v=P[0],S=P[1],C=function(N){return S(function(){if(c)return v[0]===N?[]:[N];var M=v.indexOf(N),g=M>-1;return g?v.filter(function(A){return A!==N}):[].concat((0,ne.Z)(v),[N])})};(0,le.ZP)(!i,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Z=me(s,i,{prefixCls:t,accordion:c,openMotion:d,expandIcon:u,collapsible:x,destroyInactivePanel:m,onItemClick:C,activeKey:v});return o.createElement("div",(0,k.Z)({ref:e,className:I,style:p,role:c?"tablist":void 0},(0,ue.Z)(n,{aria:!0,data:!0})),Z)}),V=Object.assign(ge,{Panel:X}),F=V,Oe=V.Panel,J=r(98423),pe=r(33603),Q=r(96159),U=r(53124),he=r(98675),xe=o.forwardRef((n,e)=>{const{getPrefixCls:a}=o.useContext(U.E_),{prefixCls:t,className:l,showArrow:m=!0}=n,p=a("collapse",t),c=j()({[`${p}-no-arrow`]:!m},l);return o.createElement(F.Panel,Object.assign({ref:e},n,{prefixCls:p,className:c}))}),K=r(54548),Y=r(14747),ye=r(33507),be=r(91945),$e=r(45503);const Ie=n=>{const{componentCls:e,contentBg:a,padding:t,headerBg:l,headerPadding:m,collapseHeaderPaddingSM:p,collapseHeaderPaddingLG:c,collapsePanelBorderRadius:h,lineWidth:i,lineType:x,colorBorder:d,colorText:u,colorTextHeading:f,colorTextDisabled:E,fontSizeLG:y,lineHeight:s,lineHeightLG:I,marginSM:$,paddingSM:P,paddingLG:v,paddingXS:S,motionDurationSlow:C,fontSizeIcon:Z,contentPadding:b,fontHeight:N,fontHeightLG:M}=n,g=`${(0,K.bf)(i)} ${x} ${d}`;return{[e]:Object.assign(Object.assign({},(0,Y.Wf)(n)),{backgroundColor:l,border:g,borderRadius:h,["&-rtl"]:{direction:"rtl"},[`& > ${e}-item`]:{borderBottom:g,["&:last-child"]:{[` + &, + & > ${e}-header`]:{borderRadius:`0 0 ${(0,K.bf)(h)} ${(0,K.bf)(h)}`}},[`> ${e}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:m,color:f,lineHeight:s,cursor:"pointer",transition:`all ${C}, visibility 0s`,[`> ${e}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${e}-expand-icon`]:{height:N,display:"flex",alignItems:"center",paddingInlineEnd:$},[`${e}-arrow`]:Object.assign(Object.assign({},(0,Y.Ro)()),{fontSize:Z,transition:`transform ${C}`,svg:{transition:`transform ${C}`}}),[`${e}-header-text`]:{marginInlineEnd:"auto"}},[`${e}-icon-collapsible-only`]:{cursor:"unset",[`${e}-expand-icon`]:{cursor:"pointer"}}},[`${e}-content`]:{color:u,backgroundColor:a,borderTop:g,[`& > ${e}-content-box`]:{padding:b},["&-hidden"]:{display:"none"}},["&-small"]:{[`> ${e}-item`]:{[`> ${e}-header`]:{padding:p,paddingInlineStart:S,[`> ${e}-expand-icon`]:{marginInlineStart:n.calc(P).sub(S).equal()}},[`> ${e}-content > ${e}-content-box`]:{padding:P}}},["&-large"]:{[`> ${e}-item`]:{fontSize:y,lineHeight:I,[`> ${e}-header`]:{padding:c,paddingInlineStart:t,[`> ${e}-expand-icon`]:{height:M,marginInlineStart:n.calc(v).sub(t).equal()}},[`> ${e}-content > ${e}-content-box`]:{padding:v}}},[`${e}-item:last-child`]:{borderBottom:0,[`> ${e}-content`]:{borderRadius:`0 0 ${(0,K.bf)(h)} ${(0,K.bf)(h)}`}},[`& ${e}-item-disabled > ${e}-header`]:{[` + &, + & > .arrow + `]:{color:E,cursor:"not-allowed"}},[`&${e}-icon-position-end`]:{[`& > ${e}-item`]:{[`> ${e}-header`]:{[`${e}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:$}}}}})}},Pe=n=>{const{componentCls:e}=n,a=`> ${e}-item > ${e}-header ${e}-arrow`;return{[`${e}-rtl`]:{[a]:{transform:"rotate(180deg)"}}}},Se=n=>{const{componentCls:e,headerBg:a,paddingXXS:t,colorBorder:l}=n;return{[`${e}-borderless`]:{backgroundColor:a,border:0,[`> ${e}-item`]:{borderBottom:`1px solid ${l}`},[` + > ${e}-item:last-child, + > ${e}-item:last-child ${e}-header + `]:{borderRadius:0},[`> ${e}-item:last-child`]:{borderBottom:0},[`> ${e}-item > ${e}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${e}-item > ${e}-content > ${e}-content-box`]:{paddingTop:t}}}},Ne=n=>{const{componentCls:e,paddingSM:a}=n;return{[`${e}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${e}-item`]:{borderBottom:0,[`> ${e}-content`]:{backgroundColor:"transparent",border:0,[`> ${e}-content-box`]:{paddingBlock:a}}}}}},Ae=n=>({headerPadding:`${n.paddingSM}px ${n.padding}px`,headerBg:n.colorFillAlter,contentPadding:`${n.padding}px 16px`,contentBg:n.colorBgContainer});var Ee=(0,be.I$)("Collapse",n=>{const e=(0,$e.TS)(n,{collapseHeaderPaddingSM:`${(0,K.bf)(n.paddingXS)} ${(0,K.bf)(n.paddingSM)}`,collapseHeaderPaddingLG:`${(0,K.bf)(n.padding)} ${(0,K.bf)(n.paddingLG)}`,collapsePanelBorderRadius:n.borderRadiusLG});return[Ie(e),Se(e),Ne(e),Pe(e),(0,ye.Z)(e)]},Ae),Ze=Object.assign(o.forwardRef((n,e)=>{const{getPrefixCls:a,direction:t,collapse:l}=o.useContext(U.E_),{prefixCls:m,className:p,rootClassName:c,style:h,bordered:i=!0,ghost:x,size:d,expandIconPosition:u="start",children:f,expandIcon:E}=n,y=(0,he.Z)(g=>{var A;return(A=d!=null?d:g)!==null&&A!==void 0?A:"middle"}),s=a("collapse",m),I=a(),[$,P,v]=Ee(s),S=o.useMemo(()=>u==="left"?"start":u==="right"?"end":u,[u]),C=E!=null?E:l==null?void 0:l.expandIcon,Z=o.useCallback(function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const A=typeof C=="function"?C(g):o.createElement(_.Z,{rotate:g.isActive?90:void 0});return(0,Q.Tm)(A,()=>{var R;return{className:j()((R=A==null?void 0:A.props)===null||R===void 0?void 0:R.className,`${s}-arrow`)}})},[C,s]),b=j()(`${s}-icon-position-${S}`,{[`${s}-borderless`]:!i,[`${s}-rtl`]:t==="rtl",[`${s}-ghost`]:!!x,[`${s}-${y}`]:y!=="middle"},l==null?void 0:l.className,p,c,P,v),N=Object.assign(Object.assign({},(0,pe.Z)(I)),{motionAppear:!1,leavedClassName:`${s}-content-hidden`}),M=o.useMemo(()=>f?(0,L.Z)(f).map((g,A)=>{var R,B;if(!((R=g.props)===null||R===void 0)&&R.disabled){const w=(B=g.key)!==null&&B!==void 0?B:String(A),{disabled:H,collapsible:T}=g.props,Re=Object.assign(Object.assign({},(0,J.Z)(g.props,["disabled"])),{key:w,collapsible:T!=null?T:H?"disabled":void 0});return(0,Q.Tm)(g,Re)}return g}):null,[f]);return $(o.createElement(F,Object.assign({ref:e,openMotion:N},(0,J.Z)(n,["rootClassName"]),{expandIcon:Z,prefixCls:s,className:b,style:Object.assign(Object.assign({},l==null?void 0:l.style),h)}),M))}),{Panel:xe}),Me=Ze}}]); diff --git a/statics/7258.6a83b674.async.js b/statics/7258.6a83b674.async.js deleted file mode 100644 index 3b87aef1..00000000 --- a/statics/7258.6a83b674.async.js +++ /dev/null @@ -1,11 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7258],{47389:function(ge,ne,a){"use strict";var e=a(1413),b=a(67294),m=a(27363),$=a(84089),c=function(B,re){return b.createElement($.Z,(0,e.Z)((0,e.Z)({},B),{},{ref:re,icon:m.Z}))};c.displayName="EditOutlined",ne.Z=b.forwardRef(c)},11475:function(ge,ne,a){"use strict";a.d(ne,{Z:function(){return B}});var e=a(1413),b=a(67294),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},$=m,c=a(84089),F=function(K,w){return b.createElement(c.Z,(0,e.Z)((0,e.Z)({},K),{},{ref:w,icon:$}))};F.displayName="ExclamationCircleOutlined";var B=b.forwardRef(F)},74842:function(ge,ne,a){"use strict";a.d(ne,{Z:function(){return B}});var e=a(1413),b=a(67294),m={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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},$=m,c=a(84089),F=function(K,w){return b.createElement(c.Z,(0,e.Z)((0,e.Z)({},K),{},{ref:w,icon:$}))};F.displayName="PlayCircleOutlined";var B=b.forwardRef(F)},97321:function(ge,ne,a){"use strict";a.d(ne,{Z:function(){return ae}});var e=a(4942),b=a(1413),m=a(45987),$=a(97685),c=a(85893),F=a(60869),B=a(58720),re=a(98293),K=a(94184),w=a.n(K),C=a(67294),A=a(74902),N=a(71230),P=a(15746),I=a(97435),de=["prefixCls","className","style","options","loading","multiple","bordered","onChange"],pe=function(t){var z=t.prefixCls,g="".concat(z,"-loading-block");return(0,c.jsxs)("div",{className:"".concat(z,"-loading-content"),children:[(0,c.jsx)(N.Z,{gutter:8,children:(0,c.jsx)(P.Z,{span:22,children:(0,c.jsx)("div",{className:g})})}),(0,c.jsxs)(N.Z,{gutter:8,children:[(0,c.jsx)(P.Z,{span:8,children:(0,c.jsx)("div",{className:g})}),(0,c.jsx)(P.Z,{span:14,children:(0,c.jsx)("div",{className:g})})]}),(0,c.jsxs)(N.Z,{gutter:8,children:[(0,c.jsx)(P.Z,{span:6,children:(0,c.jsx)("div",{className:g})}),(0,c.jsx)(P.Z,{span:16,children:(0,c.jsx)("div",{className:g})})]}),(0,c.jsxs)(N.Z,{gutter:8,children:[(0,c.jsx)(P.Z,{span:13,children:(0,c.jsx)("div",{className:g})}),(0,c.jsx)(P.Z,{span:9,children:(0,c.jsx)("div",{className:g})})]}),(0,c.jsxs)(N.Z,{gutter:8,children:[(0,c.jsx)(P.Z,{span:4,children:(0,c.jsx)("div",{className:g})}),(0,c.jsx)(P.Z,{span:3,children:(0,c.jsx)("div",{className:g})}),(0,c.jsx)(P.Z,{span:14,children:(0,c.jsx)("div",{className:g})})]})]})},he=(0,C.createContext)(null),n=function(t){var z=t.prefixCls,g=t.className,xe=t.style,ye=t.options,ee=ye===void 0?[]:ye,T=t.loading,l=T===void 0?!1:T,E=t.multiple,S=E===void 0?!1:E,M=t.bordered,Y=M===void 0?!0:M,le=t.onChange,R=(0,m.Z)(t,de),L=(0,C.useContext)(B.ZP.ConfigContext),te=(0,C.useCallback)(function(){return ee==null?void 0:ee.map(function(i){return typeof i=="string"?{title:i,value:i}:i})},[ee]),_=L.getPrefixCls("pro-checkcard",z),se="".concat(_,"-group"),ue=(0,I.Z)(R,["children","defaultValue","value","disabled","size"]),fe=(0,F.Z)(t.defaultValue,{value:t.value,onChange:t.onChange}),Ce=(0,$.Z)(fe,2),$e=Ce[0],ie=Ce[1],X=(0,C.useRef)(new Map),Oe=function(o){var f;(f=X.current)===null||f===void 0||f.set(o,!0)},Te=function(o){var f;(f=X.current)===null||f===void 0||f.delete(o)},s=function(o){if(!S){var f;f=$e,f===o.value?f=void 0:f=o.value,ie==null||ie(f)}if(S){var Z,y,O=[],v=$e,G=v==null?void 0:v.includes(o.value);O=(0,A.Z)(v||[]),G||O.push(o.value),G&&(O=O.filter(function(p){return p!==o.value}));var q=te(),k=(Z=O)===null||Z===void 0||(y=Z.filter(function(p){return X.current.has(p)}))===null||y===void 0?void 0:y.sort(function(p,D){var j=q.findIndex(function(ce){return ce.value===p}),Q=q.findIndex(function(ce){return ce.value===D});return j-Q});ie(k)}},r=(0,C.useMemo)(function(){if(l)return new Array(ee.length||C.Children.toArray(t.children).length||1).fill(0).map(function(o,f){return(0,c.jsx)(ae,{loading:!0},f)});if(ee&&ee.length>0){var i=$e;return te().map(function(o){var f;return(0,c.jsx)(ae,{disabled:o.disabled,size:(f=o.size)!==null&&f!==void 0?f:t.size,value:o.value,checked:S?i==null?void 0:i.includes(o.value):i===o.value,onChange:o.onChange,title:o.title,avatar:o.avatar,description:o.description,cover:o.cover},o.value.toString())})}return t.children},[te,l,S,ee,t.children,t.size,$e]),d=w()(se,g);return(0,c.jsx)(he.Provider,{value:{toggleOption:s,bordered:Y,value:$e,disabled:t.disabled,size:t.size,loading:t.loading,multiple:t.multiple,registerValue:Oe,cancelValue:Te},children:(0,c.jsx)("div",(0,b.Z)((0,b.Z)({className:d,style:xe},ue),{},{children:r}))})},u=n,U=a(98082),h=function(t){return{backgroundColor:t.colorPrimaryBgHover,borderColor:t.colorPrimary}},x=function(t){return(0,e.Z)({backgroundColor:t.colorBgContainerDisabled,borderColor:t.colorBorder,cursor:"not-allowed"},t.componentCls,{"&-description":{color:t.colorTextDisabled},"&-title":{color:t.colorTextDisabled},"&-avatar":{opacity:"0.25"}})},H=function(t){var z,g;return(0,e.Z)({},t.componentCls,(g={position:"relative",display:"inline-block",width:"320px",marginInlineEnd:"16px",marginBlockEnd:"16px",color:t.colorText,fontSize:t.fontSize,lineHeight:t.lineHeight,verticalAlign:"top",backgroundColor:t.colorBgContainer,borderRadius:t.borderRadius,cursor:"pointer",transition:"all 0.3s","&:last-child":{marginInlineEnd:0},"& + &":{marginInlineStart:"0 !important"},"&-bordered":{border:"".concat(t.lineWidth,"px solid ").concat(t.colorBorder)},"&-group":{display:"inline-block"}},(0,e.Z)(g,"".concat(t.componentCls,"-loading"),{overflow:"hidden",userSelect:"none","&-content":(z={paddingInline:t.padding,paddingBlock:t.paddingSM,p:{marginBlock:0,marginInline:0}},(0,e.Z)(z,"".concat(t.componentCls,"-loading-block"),{height:"14px",marginBlock:"4px",background:"linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",animationName:"card-loading",animationDuration:"1.4s",animationTimingFunction:"ease",animationIterationCount:"infinite"}),(0,e.Z)(z,"@keyframes card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),z)}),(0,e.Z)(g,"&:focus",h(t)),(0,e.Z)(g,"&-checked",(0,b.Z)((0,b.Z)({},h(t)),{},{"&:after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"6px solid ".concat(t.colorPrimary),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:"2px",content:"''"}})),(0,e.Z)(g,"&-disabled",x(t)),(0,e.Z)(g,"&[disabled]",x(t)),(0,e.Z)(g,"&-checked&-disabled",{"&:after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"6px solid ".concat(t.colorTextDisabled),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:"2px",content:"''"}}),(0,e.Z)(g,"&-lg",{width:440}),(0,e.Z)(g,"&-sm",{width:212}),(0,e.Z)(g,"&-cover",{paddingInline:t.paddingXXS,paddingBlock:t.paddingXXS,img:{width:"100%",height:"100%",overflow:"hidden",borderRadius:t.borderRadius}}),(0,e.Z)(g,"&-content",{display:"flex",paddingInline:t.paddingSM,paddingBlock:t.padding}),(0,e.Z)(g,"&-avatar-header",{display:"flex",alignItems:"center"}),(0,e.Z)(g,"&-avatar",{paddingInlineEnd:8}),(0,e.Z)(g,"&-detail",{overflow:"hidden",width:"100%","> div:not(:last-child)":{marginBlockEnd:4}}),(0,e.Z)(g,"&-header",{display:"flex",alignItems:"center",justifyContent:"space-between"}),(0,e.Z)(g,"&-title",{overflow:"hidden",color:t.colorTextHeading,fontWeight:"500",fontSize:t.fontSize,whiteSpace:"nowrap",textOverflow:"ellipsis"}),(0,e.Z)(g,"&-description",{color:t.colorTextSecondary}),(0,e.Z)(g,"&:not(".concat(t.componentCls,"-disabled)"),{"&:hover":{borderColor:t.colorPrimary}}),g))};function V(W){return(0,U.Xj)("CheckCard",function(t){var z=(0,b.Z)((0,b.Z)({},t),{},{componentCls:".".concat(W)});return[H(z)]})}var J=["prefixCls","className","avatar","title","description","cover","extra","style"],ve=function(t){var z,g=(0,F.Z)(t.defaultChecked||!1,{value:t.checked,onChange:t.onChange}),xe=(0,$.Z)(g,2),ye=xe[0],ee=xe[1],T=(0,C.useContext)(he),l=(0,C.useContext)(B.ZP.ConfigContext),E=l.getPrefixCls,S=function(j){var Q,ce;t==null||(Q=t.onClick)===null||Q===void 0||Q.call(t,j);var oe=!ye;T==null||(ce=T.toggleOption)===null||ce===void 0||ce.call(T,{value:t.value}),ee==null||ee(oe)},M=function(j){return j==="large"?"lg":j==="small"?"sm":""};(0,C.useEffect)(function(){var D;return T==null||(D=T.registerValue)===null||D===void 0||D.call(T,t.value),function(){var j;return T==null||(j=T.cancelValue)===null||j===void 0?void 0:j.call(T,t.value)}},[t.value]);var Y=function(j,Q){return(0,c.jsx)("div",{className:"".concat(j,"-cover"),children:typeof Q=="string"?(0,c.jsx)("img",{src:Q,alt:"checkcard"}):Q})},le=t.prefixCls,R=t.className,L=t.avatar,te=t.title,_=t.description,se=t.cover,ue=t.extra,fe=t.style,Ce=fe===void 0?{}:fe,$e=(0,m.Z)(t,J),ie=(0,b.Z)({},$e),X=E("pro-checkcard",le),Oe=V(X),Te=Oe.wrapSSR,s=Oe.hashId;ie.checked=ye;var r=!1;if(T){var d;ie.disabled=t.disabled||T.disabled,ie.loading=t.loading||T.loading,ie.bordered=t.bordered||T.bordered,r=T.multiple;var i=T.multiple?(d=T.value)===null||d===void 0?void 0:d.includes(t.value):T.value===t.value;ie.checked=ie.loading?!1:i,ie.size=t.size||T.size}var o=ie.disabled,f=o===void 0?!1:o,Z=ie.size,y=ie.loading,O=ie.bordered,v=O===void 0?!0:O,G=ie.checked,q=M(Z),k=w()(X,R,s,(z={},(0,e.Z)(z,"".concat(X,"-loading"),y),(0,e.Z)(z,"".concat(X,"-").concat(q),q),(0,e.Z)(z,"".concat(X,"-checked"),G),(0,e.Z)(z,"".concat(X,"-multiple"),r),(0,e.Z)(z,"".concat(X,"-disabled"),f),(0,e.Z)(z,"".concat(X,"-bordered"),v),z)),p=(0,C.useMemo)(function(){if(y)return(0,c.jsx)(pe,{prefixCls:X||""});if(se)return Y(X||"",se);var D=L?(0,c.jsx)("div",{className:"".concat(X,"-avatar ").concat(s),children:typeof L=="string"?(0,c.jsx)(re.C,{size:48,shape:"square",src:L}):L}):null,j=(te||ue)&&(0,c.jsxs)("div",{className:"".concat(X,"-header ").concat(s),children:[(0,c.jsx)("div",{className:"".concat(X,"-title ").concat(s),children:te}),ue&&(0,c.jsx)("div",{className:"".concat(X,"-extra ").concat(s),children:ue})]}),Q=_?(0,c.jsx)("div",{className:"".concat(X,"-description ").concat(s),children:_}):null,ce=w()("".concat(X,"-content"),s,(0,e.Z)({},"".concat(X,"-avatar-header"),D&&j&&!Q));return(0,c.jsxs)("div",{className:ce,children:[D,j||Q?(0,c.jsxs)("div",{className:"".concat(X,"-detail ").concat(s),children:[j,Q]}):null]})},[L,y,se,_,ue,s,X,te]);return Te((0,c.jsx)("div",{className:k,style:Ce,onClick:function(j){!y&&!f&&S(j)},children:p}))};ve.Group=u;var ae=ve},63100:function(ge,ne,a){"use strict";var e=a(67294),b=a(61607);ne.Z=(0,b.a1)("send",!0,function(m){return e.createElement("svg",{width:m.size,height:m.size,viewBox:"0 0 48 48",fill:"none"},e.createElement("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:m.colors[0],strokeWidth:m.strokeWidth,strokeLinejoin:m.strokeLinejoin}),e.createElement("path",{d:"M43.0001 5L22.1001 25.9",stroke:m.colors[0],strokeWidth:m.strokeWidth,strokeLinecap:m.strokeLinecap,strokeLinejoin:m.strokeLinejoin}))})},4007:function(ge,ne,a){ge=a.nmd(ge),ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,b,m){"use strict";var $=e("../lib/oop"),c=e("./text_highlight_rules").TextHighlightRules,F=function(){var B="and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield|async|await|nonlocal",re="True|False|None|NotImplemented|Ellipsis|__debug__",K="abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|apply|delattr|help|next|setattr|set|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|ascii|breakpoint|bytes",w=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":K,"variable.language":"self|cls","constant.language":re,keyword:B},"identifier"),C="[uU]?",A="[rR]",N="[fF]",P="(?:[rR][fF]|[fF][rR])",I="(?:(?:[1-9]\\d*)|(?:0))",de="(?:0[oO]?[0-7]+)",pe="(?:0[xX][\\dA-Fa-f]+)",he="(?:0[bB][01]+)",n="(?:"+I+"|"+de+"|"+pe+"|"+he+")",u="(?:[eE][+-]?\\d+)",U="(?:\\.\\d+)",h="(?:\\d+)",x="(?:(?:"+h+"?"+U+")|(?:"+h+"\\.))",H="(?:(?:"+x+"|"+h+")"+u+")",V="(?:"+H+"|"+x+")",J=`\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`;this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:C+'"{3}',next:"qqstring3"},{token:"string",regex:C+'"(?=.)',next:"qqstring"},{token:"string",regex:C+"'{3}",next:"qstring3"},{token:"string",regex:C+"'(?=.)",next:"qstring"},{token:"string",regex:A+'"{3}',next:"rawqqstring3"},{token:"string",regex:A+'"(?=.)',next:"rawqqstring"},{token:"string",regex:A+"'{3}",next:"rawqstring3"},{token:"string",regex:A+"'(?=.)",next:"rawqstring"},{token:"string",regex:N+'"{3}',next:"fqqstring3"},{token:"string",regex:N+'"(?=.)',next:"fqqstring"},{token:"string",regex:N+"'{3}",next:"fqstring3"},{token:"string",regex:N+"'(?=.)",next:"fqstring"},{token:"string",regex:P+'"{3}',next:"rfqqstring3"},{token:"string",regex:P+'"(?=.)',next:"rfqqstring"},{token:"string",regex:P+"'{3}",next:"rfqstring3"},{token:"string",regex:P+"'(?=.)",next:"rfqstring"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"punctuation",regex:",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:"text",regex:"\\s+"},{include:"constants"}],qqstring3:[{token:"constant.language.escape",regex:J},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:J},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:J},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:J},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],rawqqstring3:[{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],rawqstring3:[{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],rawqqstring:[{token:"string",regex:"\\\\$",next:"rawqqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],rawqstring:[{token:"string",regex:"\\\\$",next:"rawqstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],fqqstring3:[{token:"constant.language.escape",regex:J},{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring3:[{token:"constant.language.escape",regex:J},{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqqstring:[{token:"constant.language.escape",regex:J},{token:"string",regex:"\\\\$",next:"fqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring:[{token:"constant.language.escape",regex:J},{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring3:[{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring3:[{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring:[{token:"string",regex:"\\\\$",next:"rfqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring:[{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstringParRules:[{token:"paren.lparen",regex:"[\\[\\(]"},{token:"paren.rparen",regex:"[\\]\\)]"},{token:"string",regex:"\\s+"},{token:"string",regex:"'[^']*'"},{token:"string",regex:'"[^"]*"'},{token:"function.support",regex:"(!s|!r|!a)"},{include:"constants"},{token:"paren.rparen",regex:"}",next:"pop"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"}],constants:[{token:"constant.numeric",regex:"(?:"+V+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:V},{token:"constant.numeric",regex:n+"[lL]\\b"},{token:"constant.numeric",regex:n+"\\b"},{token:["punctuation","function.support"],regex:"(\\.)([a-zA-Z_]+)\\b"},{token:w,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"}]},this.normalizeRules()};$.inherits(F,c),b.PythonHighlightRules=F}),ace.define("ace/mode/folding/pythonic",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(e,b,m){"use strict";var $=e("../../lib/oop"),c=e("./fold_mode").FoldMode,F=b.FoldMode=function(B){this.foldingStartMarker=new RegExp("([\\[{])(?:\\s*)$|("+B+")(?:\\s*)(?:#.*)?$")};$.inherits(F,c),function(){this.getFoldWidgetRange=function(B,re,K){var w=B.getLine(K),C=w.match(this.foldingStartMarker);if(C)return C[1]?this.openingBracketBlock(B,C[1],K,C.index):C[2]?this.indentationBlock(B,K,C.index+C[2].length):this.indentationBlock(B,K)}}.call(F.prototype)}),ace.define("ace/mode/python",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/python_highlight_rules","ace/mode/folding/pythonic","ace/range"],function(e,b,m){"use strict";var $=e("../lib/oop"),c=e("./text").Mode,F=e("./python_highlight_rules").PythonHighlightRules,B=e("./folding/pythonic").FoldMode,re=e("../range").Range,K=function(){this.HighlightRules=F,this.foldingRules=new B("\\:"),this.$behaviour=this.$defaultBehaviour};$.inherits(K,c),function(){this.lineCommentStart="#",this.getNextLineIndent=function(C,A,N){var P=this.$getIndent(A),I=this.getTokenizer().getLineTokens(A,C),de=I.tokens;if(de.length&&de[de.length-1].type=="comment")return P;if(C=="start"){var pe=A.match(/^.*[\{\(\[:]\s*$/);pe&&(P+=N)}return P};var w={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(C,A,N){if(N!==`\r -`&&N!=="\r"&&N!==` -`)return!1;var P=this.getTokenizer().getLineTokens(A.trim(),C).tokens;if(!P)return!1;do var I=P.pop();while(I&&(I.type=="comment"||I.type=="text"&&I.value.match(/^\s+$/)));return I?I.type=="keyword"&&w[I.value]:!1},this.autoOutdent=function(C,A,N){N+=1;var P=this.$getIndent(A.getLine(N)),I=A.getTabString();P.slice(-I.length)==I&&A.remove(new re(N,P.length-I.length,N,P.length))},this.$id="ace/mode/python",this.snippetFileId="ace/snippets/python"}.call(K.prototype),b.Mode=K}),function(){ace.require(["ace/mode/python"],function(e){ge&&(ge.exports=e)})}()},84552:function(ge,ne,a){"use strict";a.d(ne,{Z:function(){return T}});var e=a(67294);function b(l){const E=(0,e.useRef)(l);return E.current=l,E}var m=b;const $=l=>l!==null&&typeof l=="object",c=l=>typeof l=="function",F=l=>typeof l=="string",B=l=>typeof l=="boolean",re=l=>typeof l=="number",K=l=>typeof l=="undefined";var C=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function A(l,E){if(!C)return;if(!l)return E;let S;return c(l)?S=l():"current"in l?S=l.current:S=l,S}var N=a(18446),P=a.n(N),de=!1,he=l=>{de&&(c(l)||console.error(`useUnmount expected parameter is a function, got ${typeof l}`));const E=m(l);(0,e.useEffect)(()=>()=>{E.current()},[])};function n(l,E){if(l===E)return!0;for(let S=0;S(S,M,Y)=>{const le=(0,e.useRef)(!1),R=(0,e.useRef)([]),L=(0,e.useRef)([]),te=(0,e.useRef)();l(()=>{var _;const ue=(Array.isArray(Y)?Y:[Y]).map(fe=>A(fe));if(!le.current){le.current=!0,R.current=ue,L.current=M,te.current=S();return}(ue.length!==R.current.length||!n(ue,R.current)||!n(M,L.current))&&((_=te.current)===null||_===void 0||_.call(te),R.current=ue,L.current=M,te.current=S())}),he(()=>{var _;(_=te.current)===null||_===void 0||_.call(te),le.current=!1})},x=U(e.useEffect);const H=(l,E=[])=>P()(l,E);var J=(l,E,S)=>{const M=(0,e.useRef)(),Y=(0,e.useRef)(0);H(E,M.current)||(M.current=E,Y.current+=1),x(l,[Y.current],S)},ae=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?navigator==null?void 0:navigator.platform:"");const W={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222};ae?W.meta=[91,93]:W.meta=[91,92];const t={ctrl:l=>l.ctrlKey,shift:l=>l.shiftKey,alt:l=>l.altKey,meta:l=>l.type==="keyup"?W.meta.includes(l.keyCode):l.metaKey};function z(l){const E=Object.keys(t).reduce((S,M)=>t[M](l)?S+1:S,0);return[16,17,18,91,92].includes(l.keyCode)?E:E+1}function g(l,E,S){if(!l.key)return!1;if(re(E))return l.keyCode===E;const M=E.split(".");let Y=0;for(const le of M){const R=t[le],L=W[le.toLowerCase()];(R&&R(l)||L&&L===l.keyCode)&&Y++}return S?Y===M.length&&z(l)===M.length:Y===M.length}function xe(l,E){return c(l)?l:F(l)||re(l)?S=>g(S,l,E):Array.isArray(l)?S=>l.some(M=>g(S,M,E)):()=>Boolean(l)}const ye=["keydown"];function ee(l,E,S){const{events:M=ye,target:Y,exactMatch:le=!1,useCapture:R=!1}=S||{},L=m(E),te=m(l);J(()=>{var _;const se=A(Y,window);if(!se)return;const ue=fe=>{var Ce;if(xe(te.current,le)(fe))return(Ce=L.current)===null||Ce===void 0?void 0:Ce.call(L,fe)};for(const fe of M)(_=se==null?void 0:se.addEventListener)===null||_===void 0||_.call(se,fe,ue,R);return()=>{var fe;for(const Ce of M)(fe=se==null?void 0:se.removeEventListener)===null||fe===void 0||fe.call(se,Ce,ue,R)}},[M],Y)}var T=ee},49288:function(ge,ne,a){"use strict";var e=a(94184),b=a.n(e),m=a(50344),$=a(98423),c=a(67294),F=a(53124),B=a(34041),re=a(8745),K=a(96159);const{Option:w}=B.Z;function C(I){return I&&I.type&&(I.type.isSelectOption||I.type.isSelectOptGroup)}const A=(I,de)=>{const{prefixCls:pe,className:he,popupClassName:n,dropdownClassName:u,children:U,dataSource:h}=I,x=(0,m.Z)(U);let H;x.length===1&&(0,K.l$)(x[0])&&!C(x[0])&&([H]=x);const V=H?()=>H:void 0;let J;x.length&&C(x[0])?J=U:J=h?h.map(W=>{if((0,K.l$)(W))return W;switch(typeof W){case"string":return c.createElement(w,{key:W,value:W},W);case"object":{const{value:t}=W;return c.createElement(w,{key:t,value:t},W.text)}default:return}}):[];const{getPrefixCls:ve}=c.useContext(F.E_),ae=ve("select",pe);return c.createElement(B.Z,Object.assign({ref:de},(0,$.Z)(I,["dataSource","dropdownClassName"]),{prefixCls:ae,popupClassName:n||u,className:b()(`${ae}-auto-complete`,he),mode:B.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:V}),J)},N=c.forwardRef(A),P=(0,re.Z)(N);N.Option=w,N._InternalPanelDoNotUseOrYouWillBeFired=P,ne.Z=N},33100:function(ge,ne,a){"use strict";a.d(ne,{Z:function(){return he}});var e=a(19267),b=a(94184),m=a.n(b),$=a(67294),c=a(53124),F=a(96159),B=function(n,u){var U={};for(var h in n)Object.prototype.hasOwnProperty.call(n,h)&&u.indexOf(h)<0&&(U[h]=n[h]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,h=Object.getOwnPropertySymbols(n);x{var{prefixCls:u,className:U,color:h="blue",dot:x,pending:H=!1,position:V,label:J,children:ve}=n,ae=B(n,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:W}=$.useContext(c.E_),t=W("timeline",u),z=m()({[`${t}-item`]:!0,[`${t}-item-pending`]:H},U),g=/blue|red|green|gray/.test(h||"")?void 0:h,xe=m()({[`${t}-item-head`]:!0,[`${t}-item-head-custom`]:!!x,[`${t}-item-head-${h}`]:!g});return $.createElement("li",Object.assign({},ae,{className:z}),J&&$.createElement("div",{className:`${t}-item-label`},J),$.createElement("div",{className:`${t}-item-tail`}),$.createElement("div",{className:xe,style:{borderColor:g,color:g}},x),$.createElement("div",{className:`${t}-item-content`},ve))},w=a(67968),C=a(45503),A=a(14747);const N=n=>{const{componentCls:u}=n;return{[u]:Object.assign(Object.assign({},(0,A.Wf)(n)),{margin:0,padding:0,listStyle:"none",[`${u}-item`]:{position:"relative",margin:0,paddingBottom:n.timeLineItemPaddingBottom,fontSize:n.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:n.timeLineItemHeadSize,insetInlineStart:(n.timeLineItemHeadSize-n.timeLineItemTailWidth)/2,height:`calc(100% - ${n.timeLineItemHeadSize}px)`,borderInlineStart:`${n.timeLineItemTailWidth}px ${n.lineType} ${n.colorSplit}`},"&-pending":{[`${u}-item-head`]:{fontSize:n.fontSizeSM,backgroundColor:"transparent"},[`${u}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:n.timeLineItemHeadSize,height:n.timeLineItemHeadSize,backgroundColor:n.colorBgContainer,border:`${n.timeLineHeadBorderWidth}px ${n.lineType} transparent`,borderRadius:"50%","&-blue":{color:n.colorPrimary,borderColor:n.colorPrimary},"&-red":{color:n.colorError,borderColor:n.colorError},"&-green":{color:n.colorSuccess,borderColor:n.colorSuccess},"&-gray":{color:n.colorTextDisabled,borderColor:n.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n.timeLineItemHeadSize/2,insetInlineStart:n.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:n.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(n.fontSize*n.lineHeight-n.fontSize)+n.lineWidth,marginInlineStart:n.margin+n.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${u}-item-tail`]:{display:"none"},[`> ${u}-item-content`]:{minHeight:n.controlHeightLG*1.2}}},[`&${u}-alternate, - &${u}-right, - &${u}-label`]:{[`${u}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${n.marginXXS}px`,"&-custom":{marginInlineStart:n.timeLineItemTailWidth/2}},"&-left":{[`${u}-item-content`]:{insetInlineStart:`calc(50% - ${n.marginXXS}px)`,width:`calc(50% - ${n.marginSM}px)`,textAlign:"start"}},"&-right":{[`${u}-item-content`]:{width:`calc(50% - ${n.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${u}-right`]:{[`${u}-item-right`]:{[`${u}-item-tail, - ${u}-item-head, - ${u}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(n.timeLineItemHeadSize+n.timeLineItemTailWidth)/2}px)`},[`${u}-item-content`]:{width:`calc(100% - ${n.timeLineItemHeadSize+n.marginXS}px)`}}},[`&${u}-pending - ${u}-item-last - ${u}-item-tail`]:{display:"block",height:`calc(100% - ${n.margin}px)`,borderInlineStart:`${n.timeLineItemTailWidth}px dotted ${n.colorSplit}`},[`&${u}-reverse - ${u}-item-last - ${u}-item-tail`]:{display:"none"},[`&${u}-reverse ${u}-item-pending`]:{[`${u}-item-tail`]:{insetBlockStart:n.margin,display:"block",height:`calc(100% - ${n.margin}px)`,borderInlineStart:`${n.timeLineItemTailWidth}px dotted ${n.colorSplit}`},[`${u}-item-content`]:{minHeight:n.controlHeightLG*1.2}},[`&${u}-label`]:{[`${u}-item-label`]:{position:"absolute",insetBlockStart:-(n.fontSize*n.lineHeight-n.fontSize)+n.timeLineItemTailWidth,width:`calc(50% - ${n.marginSM}px)`,textAlign:"end"},[`${u}-item-right`]:{[`${u}-item-label`]:{insetInlineStart:`calc(50% + ${n.marginSM}px)`,width:`calc(50% - ${n.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${u}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var P=(0,w.Z)("Timeline",n=>{const u=(0,C.TS)(n,{timeLineItemPaddingBottom:n.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:n.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:n.lineWidthBold,timeLineHeadBorderWidth:n.wireframe?n.lineWidthBold:n.lineWidth*3});return[N(u)]}),I=function(n,u){var U={};for(var h in n)Object.prototype.hasOwnProperty.call(n,h)&&u.indexOf(h)<0&&(U[h]=n[h]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,h=Object.getOwnPropertySymbols(n);x{const{getPrefixCls:u,direction:U}=$.useContext(c.E_),{prefixCls:h,pending:x=null,pendingDot:H,children:V,className:J,reverse:ve=!1,mode:ae=""}=n,W=I(n,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),t=u("timeline",h),z=typeof x=="boolean"?null:x,[g,xe]=P(t),ye=x?$.createElement(K,{pending:!!x,dot:H||$.createElement(e.Z,null)},z):null,ee=$.Children.toArray(V);ee.push(ye),ve&&ee.reverse();const T=(R,L)=>ae==="alternate"?R.props.position==="right"?`${t}-item-right`:R.props.position==="left"?`${t}-item-left`:L%2===0?`${t}-item-left`:`${t}-item-right`:ae==="left"?`${t}-item-left`:ae==="right"?`${t}-item-right`:R.props.position==="right"?`${t}-item-right`:"",l=ee.filter(R=>!!R),E=$.Children.count(l),S=`${t}-item-last`,M=$.Children.map(l,(R,L)=>{const te=L===E-2?S:"",_=L===E-1?S:"";return(0,F.Tm)(R,{className:m()([R.props.className,!ve&&!!x?te:_,T(R,L)])})}),Y=ee.some(R=>{var L;return!!(!((L=R==null?void 0:R.props)===null||L===void 0)&&L.label)}),le=m()(t,{[`${t}-pending`]:!!x,[`${t}-reverse`]:!!ve,[`${t}-${ae}`]:!!ae&&!Y,[`${t}-label`]:Y,[`${t}-rtl`]:U==="rtl"},J);return g($.createElement("ul",Object.assign({},W,{className:m()(le,xe)}),M))};de.Item=K;var pe=de,he=pe},93531:function(ge,ne,a){"use strict";a.d(ne,{Z:function(){return Te}});var e=a(67294),b=a(1413),m=a(87462),$=a(71002),c=a(97685),F=a(45987),B=a(81263),re=a(2788),K=a(94184),w=a.n(K),C=a(21770),A=a(8410);function N(s){var r=window.innerWidth||document.documentElement.clientWidth,d=window.innerHeight||document.documentElement.clientHeight,i=s.getBoundingClientRect(),o=i.top,f=i.right,Z=i.bottom,y=i.left;return o>=0&&y>=0&&f<=r&&Z<=d}var P=a(66680);function I(s,r,d){var i=(0,e.useState)(void 0),o=(0,c.Z)(i,2),f=o[0],Z=o[1];(0,A.Z)(function(){var p=typeof s=="function"?s():s;Z(p||null)});var y=(0,e.useState)(null),O=(0,c.Z)(y,2),v=O[0],G=O[1],q=(0,P.Z)(function(){if(f){N(f)||f.scrollIntoView(!0);var p=f.getBoundingClientRect(),D=p.left,j=p.top,Q=p.width,ce=p.height,oe={left:D,top:j,width:Q,height:ce,radius:0};G(function(be){return JSON.stringify(be)!==JSON.stringify(oe)?oe:be})}else G(null)});(0,A.Z)(function(){return q(),window.addEventListener("resize",q),function(){window.removeEventListener("resize",q)}},[f,r,q]);var k=(0,e.useMemo)(function(){if(!v)return v;var p=(d==null?void 0:d.offset)||6,D=(d==null?void 0:d.radius)||2;return{left:v.left-p,top:v.top-p,width:v.width+p*2,height:v.height+p*2,radius:D}},[v,d]);return[k,f]}var de=a(74902);function pe(s){var r=s.prefixCls,d=s.current,i=s.total,o=s.title,f=s.description,Z=s.onClose,y=s.onPrev,O=s.onNext,v=s.onFinish,G=s.arrow,q=s.className;return e.createElement("div",{className:w()("".concat(r,"-content"),q)},G&&e.createElement("div",{className:"".concat(r,"-arrow"),key:"arrow"}),e.createElement("div",{className:"".concat(r,"-inner")},e.createElement("button",{type:"button",onClick:Z,"aria-label":"Close",className:"".concat(r,"-close")},e.createElement("span",{className:"".concat(r,"-close-x")},"\xD7")),e.createElement("div",{className:"".concat(r,"-header")},e.createElement("div",{className:"".concat(r,"-title")},o)),e.createElement("div",{className:"".concat(r,"-description")},f),e.createElement("div",{className:"".concat(r,"-footer")},e.createElement("div",{className:"".concat(r,"-sliders")},i>1?(0,de.Z)(Array.from({length:i}).keys()).map(function(k,p){return e.createElement("span",{key:k,className:p===d?"active":""})}):null),e.createElement("div",{className:"".concat(r,"-buttons")},d!==0?e.createElement("button",{className:"".concat(r,"-prev-btn"),onClick:y},"Prev"):null,d===i-1?e.createElement("button",{className:"".concat(r,"-finish-btn"),onClick:v},"Finish"):e.createElement("button",{className:"".concat(r,"-next-btn"),onClick:O},"Next")))))}var he=function(r){var d=r.current,i=r.renderPanel;return e.createElement(e.Fragment,null,typeof i=="function"?i(r,d):e.createElement(pe,r))},n=he,u=a(7028),U={fill:"transparent",pointerEvents:"auto"},h=function(r){var d=r.prefixCls,i=r.rootClassName,o=r.pos,f=r.mask,Z=r.open,y=r.animated,O=(0,u.Z)(),v="".concat(d,"-mask-").concat(O),G=(0,$.Z)(y)==="object"?y==null?void 0:y.placeholder:y;return e.createElement(re.Z,{open:Z,autoLock:!0},e.createElement("div",{className:w()("".concat(d,"-mask"),i),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:900,pointerEvents:"none"}},f?e.createElement("svg",{style:{width:"100%",height:"100%"}},e.createElement("defs",null,e.createElement("mask",{id:v},e.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"white"}),o&&e.createElement("rect",{x:o.left,y:o.top,rx:o.radius,width:o.width,height:o.height,fill:"black",className:G?"".concat(d,"-placeholder-animated"):""}))),e.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"rgba(0,0,0,0.5)",mask:"url(#".concat(v,")")}),o&&e.createElement(e.Fragment,null,e.createElement("rect",(0,m.Z)({},U,{x:"0",y:"0",width:"100%",height:o.top})),e.createElement("rect",(0,m.Z)({},U,{x:"0",y:"0",width:o.left,height:"100%"})),e.createElement("rect",(0,m.Z)({},U,{x:"0",y:o.top+o.height,width:"100%",height:"calc(100vh - ".concat(o.top+o.height,"px)")})),e.createElement("rect",(0,m.Z)({},U,{x:o.left+o.width,y:"0",width:"calc(100vw - ".concat(o.left+o.width,"px)"),height:"100%"})))):null))},x=h,H={adjustX:1,adjustY:1},V=[0,0],J={left:{points:["cr","cl"],overflow:H,offset:[-4,0],targetOffset:V},right:{points:["cl","cr"],overflow:H,offset:[4,0],targetOffset:V},top:{points:["bc","tc"],overflow:H,offset:[0,-4],targetOffset:V},bottom:{points:["tc","bc"],overflow:H,offset:[0,4],targetOffset:V},topLeft:{points:["bl","tl"],overflow:H,offset:[0,-4],targetOffset:V},leftTop:{points:["tr","tl"],overflow:H,offset:[-4,0],targetOffset:V},topRight:{points:["br","tr"],overflow:H,offset:[0,-4],targetOffset:V},rightTop:{points:["tl","tr"],overflow:H,offset:[4,0],targetOffset:V},bottomRight:{points:["tr","br"],overflow:H,offset:[0,4],targetOffset:V},rightBottom:{points:["bl","br"],overflow:H,offset:[4,0],targetOffset:V},bottomLeft:{points:["tl","bl"],overflow:H,offset:[0,4],targetOffset:V},leftBottom:{points:["br","bl"],overflow:H,offset:[-4,0],targetOffset:V}};function ve(s){var r=s.arrowWidth,d=r===void 0?4:r,i=s.horizontalArrowShift,o=i===void 0?16:i,f=s.verticalArrowShift,Z=f===void 0?8:f,y=s.placement,O={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:[-(o+d),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Z+d)]},topRight:{points:["br","tc"],offset:[o+d,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Z+d)]},bottomRight:{points:["tc","bc"],offset:[o+d,4]},rightBottom:{points:["bl","cr"],offset:[4,Z+d]},bottomLeft:{points:["tl","bc"],offset:[-(o+d),4]},leftBottom:{points:["br","cl"],offset:[-4,Z+d]}};return Object.keys(O).forEach(function(v){O[v]=(0,b.Z)((0,b.Z)({},O[v]),{},{targetOffset:V})}),O[y]}var ae=J,W=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated"],t={points:["cc","cc"],offset:[0,0]},z={left:"50%",top:"50%",width:1,height:1},g=function(r){var d=r.prefixCls,i=d===void 0?"rc-tour":d,o=r.steps,f=o===void 0?[]:o,Z=r.defaultCurrent,y=r.current,O=r.onChange,v=r.onClose,G=r.onFinish,q=r.open,k=r.mask,p=k===void 0?!0:k,D=r.arrow,j=D===void 0?!0:D,Q=r.rootClassName,ce=r.placement,oe=ce===void 0?"bottom":ce,be=r.renderPanel,we=r.gap,Re=r.animated,Pe=(0,F.Z)(r,W),Ze=(0,C.Z)(0,{value:y,defaultValue:Z}),je=(0,c.Z)(Ze,2),Ee=je[0],Me=je[1],Be=(0,C.Z)(void 0,{value:q,postState:function(Se){return Ee<0||Ee>=f.length?!1:Se!=null?Se:!0}}),Le=(0,c.Z)(Be,2),me=Le[0],Ne=Le[1],ke=e.useRef(me);(0,A.Z)(function(){me&&!ke.current&&Me(0),ke.current=me},[me]);var Ie=f[Ee]||{},qe=Ie.target,ze=Ie.placement,Je=Ie.style,Fe=Ie.arrow,Ye=Ie.className,Ae=Ie.mask,Ke=ze!=null?ze:oe,Qe=me&&(Ae!=null?Ae:p),_e=I(qe,q,we),Ue=(0,c.Z)(_e,2),Xe=Ue[0],We=Ue[1],De=We?typeof Fe=="undefined"?j:Fe:!1,et=(0,$.Z)(De)==="object"?De.pointAtCenter:!1,Ge=function(Se){Me(Se),O==null||O(Se)},tt=We?et?ve({placement:oe}):ae[Ke]:t;if(We===void 0)return null;var Ve=function(){Ne(!1),v==null||v(Ee)},nt=function(){return e.createElement(n,(0,m.Z)({arrow:De,key:"content",prefixCls:i,total:f.length,renderPanel:be,onPrev:function(){Ge(Ee-1)},onNext:function(){Ge(Ee+1)},onClose:Ve,current:Ee,onFinish:function(){Ve(),G==null||G()}},f[Ee]))};return e.createElement(e.Fragment,null,e.createElement(B.Z,(0,m.Z)({},Pe,{popupAlign:tt,popupStyle:Je,popupPlacement:Ke,builtinPlacements:ae,popupVisible:me,popupClassName:w()(Q,Ye),prefixCls:i,popup:nt,forceRender:!1,destroyPopupOnHide:!0,zIndex:1090}),e.createElement(re.Z,{open:me,autoLock:!0},e.createElement("div",{className:w()(Q,"".concat(i,"-target-placeholder")),style:(0,b.Z)((0,b.Z)({},Xe||z),{},{position:"fixed",pointerEvents:"none"})}))),e.createElement(x,{prefixCls:i,pos:Xe,mask:Qe,open:me,animated:Re,rootClassName:Q}))},xe=g,ye=xe,ee=a(62208),T=a(74342),l=a(71577),E=a(24457),M=(s,r,d)=>{const{prefixCls:i,total:o=1,title:f,onClose:Z,onPrev:y,onNext:O,onFinish:v,cover:G,description:q,nextButtonProps:k,prevButtonProps:p,stepRender:D,type:j,arrow:Q,className:ce}=s,oe=typeof j!="undefined"?j:d,be=r===o-1,we=()=>{y==null||y(),typeof(p==null?void 0:p.onClick)=="function"&&(p==null||p.onClick())},Re=()=>{be?v==null||v():O==null||O(),typeof(k==null?void 0:k.onClick)=="function"&&(k==null||k.onClick())};let Pe;f&&(Pe=e.createElement("div",{className:`${i}-header`},e.createElement("div",{className:`${i}-title`},f)));let Ze;q&&(Ze=e.createElement("div",{className:`${i}-description`},q));let je;G&&(je=e.createElement("div",{className:`${i}-cover`},G));const Ee=typeof D=="function"&&D(r,o)||(0,de.Z)(Array.from({length:o}).keys()).map((me,Ne)=>e.createElement("span",{key:me,className:w()(Ne===r&&`${i}-slider-active`,`${i}-slider`)})),Me=o>1?Ee:null,Be=oe==="primary"?"default":"primary",Le={type:"default",ghost:oe==="primary"};return e.createElement(T.Z,{componentName:"Tour",defaultLocale:E.Z.Tour},me=>{var Ne,ke;return e.createElement("div",{className:w()(oe==="primary"?`${i}-primary`:"",ce,`${i}-content`)},Q&&e.createElement("div",{className:`${i}-arrow`,key:"arrow"}),e.createElement("div",{className:`${i}-inner`},e.createElement(ee.Z,{className:`${i}-close`,onClick:Z}),je,Pe,Ze,e.createElement("div",{className:`${i}-footer`},e.createElement("div",{className:`${i}-sliders`},Me),e.createElement("div",{className:`${i}-buttons`},r!==0?e.createElement(l.ZP,Object.assign({},Le,p,{onClick:we,size:"small",className:w()(`${i}-prev-btn`,p==null?void 0:p.className)}),(Ne=p==null?void 0:p.children)!==null&&Ne!==void 0?Ne:me.Previous):null,e.createElement(l.ZP,Object.assign({type:Be},k,{onClick:Re,size:"small",className:w()(`${i}-next-btn`,k==null?void 0:k.className)}),(ke=k==null?void 0:k.children)!==null&&ke!==void 0?ke:be?me.Finish:me.Next)))))})},Y=a(53124),le=a(10274),R=a(67968),L=a(45503),te=a(14747),_=a(97414);const se=s=>{const{componentCls:r,lineHeight:d,padding:i,paddingXS:o,borderRadius:f,borderRadiusXS:Z,colorPrimary:y,colorText:O,colorFill:v,sliderHeight:G,sliderWidth:q,boxShadow:k,tourZIndexPopup:p,fontSize:D,colorBgContainer:j,fontWeightStrong:Q,marginXS:ce,colorTextLightSolid:oe,tourBorderRadius:be,colorWhite:we,colorBgTextHover:Re,tourCloseSize:Pe,motionDurationSlow:Ze}=s;return[{[r]:Object.assign(Object.assign({},(0,te.Wf)(s)),{color:O,position:"absolute",zIndex:p,display:"block",visibility:"visible",fontSize:D,lineHeight:d,width:520,"--antd-arrow-background-color":j,"&-pure":{maxWidth:"100%",position:"relative"},[`&${r}-hidden`]:{display:"none"},[`${r}-content`]:{position:"relative"},[`${r}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:be,boxShadow:k,position:"relative",backgroundColor:j,border:"none",backgroundClip:"padding-box",[`${r}-close`]:{position:"absolute",top:i,insetInlineEnd:i,color:s.colorIcon,outline:"none",width:Pe,height:Pe,borderRadius:s.borderRadiusSM,transition:`background-color ${s.motionDurationMid}, color ${s.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:s.colorIconHover,backgroundColor:s.wireframe?"transparent":s.colorFillContent}},[`${r}-cover`]:{textAlign:"center",padding:`${i+Pe+o}px ${i}px 0`,img:{width:"100%"}},[`${r}-header`]:{padding:`${i}px ${i}px ${o}px`,[`${r}-title`]:{lineHeight:d,fontSize:D,fontWeight:Q}},[`${r}-description`]:{padding:`0 ${i}px`,lineHeight:d,wordWrap:"break-word"},[`${r}-footer`]:{padding:`${o}px ${i}px ${i}px`,textAlign:"end",borderRadius:`0 0 ${Z}px ${Z}px`,display:"flex",justifyContent:"space-between",[`${r}-sliders`]:{display:"inline-block",[`${r}-slider`]:{width:`${q}px`,height:`${G}px`,display:"inline-block",borderRadius:"50%",background:v,marginInlineEnd:G,"&-active":{background:y}}},[`${r}-buttons button`]:{marginInlineStart:ce}}},[`${r}-primary, &${r}-primary`]:{"--antd-arrow-background-color":y},[`${r}-primary`]:{[`${r}-inner`]:{color:oe,textAlign:"start",textDecoration:"none",backgroundColor:y,borderRadius:f,boxShadow:k,[`${r}-close`]:{color:oe},[`${r}-sliders`]:{[`${r}-slider`]:{background:new le.C(oe).setAlpha(.15).toRgbString(),"&-active":{background:oe}}},[`${r}-prev-btn`]:{color:oe,borderColor:new le.C(oe).setAlpha(.15).toRgbString(),backgroundColor:y,"&:hover":{backgroundColor:new le.C(oe).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${r}-next-btn`]:{color:y,borderColor:"transparent",background:we,"&:hover":{background:new le.C(Re).onBackground(we).toRgbString()}}}}}),[`${r}-mask`]:{[`${r}-placeholder-animated`]:{transition:`all ${Ze}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${r}-inner`]:{borderRadius:Math.min(be,_.qN)}}},(0,_.ZP)(s,{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:be,limitVerticalRadius:!0})]};var ue=(0,R.Z)("Tour",s=>{const{borderRadiusLG:r,fontSize:d,lineHeight:i}=s,o=(0,L.TS)(s,{tourZIndexPopup:s.zIndexPopupBase+70,sliderWidth:6,sliderHeight:6,tourBorderRadius:r,tourCloseSize:d*i});return[se(o)]}),fe=a(60590),Ce=function(s,r){var d={};for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&r.indexOf(i)<0&&(d[i]=s[i]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(s);o{const{prefixCls:r,current:d=0,total:i=6,className:o,style:f,type:Z}=s,y=Ce(s,["prefixCls","current","total","className","style","type"]),{getPrefixCls:O}=e.useContext(Y.E_),v=O("tour",r),[G,q]=ue(v),k=M(Object.assign(Object.assign({},y),{prefixCls:v,total:i}),d,Z);return G(e.createElement(fe.t5,{prefixCls:v,hashId:q,className:w()(o,`${v}-pure`,Z&&`${v}-${Z}`),style:f},k))},X=function(s,r){var d={};for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&r.indexOf(i)<0&&(d[i]=s[i]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(s);o{const{prefixCls:r,steps:d,current:i,type:o,rootClassName:f}=s,Z=X(s,["prefixCls","steps","current","type","rootClassName"]),{getPrefixCls:y,direction:O}=(0,e.useContext)(Y.E_),v=y("tour",r),[G,q]=ue(v),k=w()({[`${v}-rtl`]:O==="rtl"},q,f),p=(D,j)=>M(D,j,o);return G(e.createElement(ye,Object.assign({},Z,{rootClassName:k,prefixCls:v,steps:d,current:i,animated:!0,renderPanel:p})))};Oe._InternalPanelDoNotUseOrYouWillBeFired=ie;var Te=Oe},18446:function(ge,ne,a){var e=a(90939);function b(m,$){return e(m,$)}ge.exports=b}}]); diff --git a/statics/7490.0d7490dc.async.js b/statics/7490.0d7490dc.async.js new file mode 100644 index 00000000..6ebb14a7 --- /dev/null +++ b/statics/7490.0d7490dc.async.js @@ -0,0 +1,11 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7490],{47389:function(Ne,oe,c){"use strict";var n=c(1413),x=c(67294),P=c(27363),F=c(84089),Y=function(le,w){return x.createElement(F.Z,(0,n.Z)((0,n.Z)({},le),{},{ref:w,icon:P.Z}))},T=x.forwardRef(Y);oe.Z=T},11475:function(Ne,oe,c){"use strict";c.d(oe,{Z:function(){return le}});var n=c(1413),x=c(67294),P={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"},F=P,Y=c(84089),T=function(Z,N){return x.createElement(Y.Z,(0,n.Z)((0,n.Z)({},Z),{},{ref:N,icon:F}))},q=x.forwardRef(T),le=q},74842:function(Ne,oe,c){"use strict";c.d(oe,{Z:function(){return le}});var n=c(1413),x=c(67294),P={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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},F=P,Y=c(84089),T=function(Z,N){return x.createElement(Y.Z,(0,n.Z)((0,n.Z)({},Z),{},{ref:N,icon:F}))},q=x.forwardRef(T),le=q},97321:function(Ne,oe,c){"use strict";c.d(oe,{Z:function(){return Te}});var n=c(4942),x=c(1413),P=c(45987),F=c(97685),Y=c(21770),T=c(28459),q=c(7134),le=c(93967),w=c.n(le),Z=c(67294),N=c(80171),J=c(74902),L=c(99559),V=c(54635),B=c(98082),se=c(10915),de=c(97435),Oe=c(54548),we=function(i){return{backgroundColor:i.colorPrimaryBg,borderColor:i.colorPrimary}},$e=function(i){return(0,n.Z)({backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,cursor:"not-allowed"},i.componentCls,{"&-description":{color:i.colorTextDisabled},"&-title":{color:i.colorTextDisabled},"&-avatar":{opacity:"0.25"}})},ue=new Oe.E4("card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),be=function(i){var t;return(0,n.Z)({},i.componentCls,(t={position:"relative",display:"inline-block",width:"320px",marginInlineEnd:"16px",marginBlockEnd:"16px",color:i.colorText,fontSize:i.fontSize,lineHeight:i.lineHeight,verticalAlign:"top",backgroundColor:i.colorBgContainer,borderRadius:i.borderRadius,overflow:"auto",cursor:"pointer",transition:"all 0.3s","&:after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,opacity:0,transition:"all 0.3s "+i.motionEaseInOut,borderBlockEnd:"".concat(i.borderRadius+4,"px solid transparent"),borderInlineStart:"".concat(i.borderRadius+4,"px solid transparent"),borderStartEndRadius:"".concat(i.borderRadius,"px"),content:"''"},"&:last-child":{marginInlineEnd:0},"& + &":{marginInlineStart:"0 !important"},"&-bordered":{border:"".concat(i.lineWidth,"px solid ").concat(i.colorBorder)},"&-group":{display:"inline-block","&-sub-check-card":{display:"flex",flexDirection:"column",gap:"8px","&-title":{cursor:"pointer",paddingBlock:i.paddingXS,display:"flex",gap:4,alignItems:"center"},"&-panel":{visibility:"initial",transition:"all 0.3s",opacity:1,"&-collapse":{display:"none",visibility:"hidden",opacity:0}}}}},(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)(t,"".concat(i.componentCls,"-loading"),{overflow:"hidden",userSelect:"none","&-content":{padding:i.paddingMD}}),"&:focus",we(i)),"&-checked",(0,x.Z)((0,x.Z)({},we(i)),{},{"&:after":{opacity:1,border:"".concat(i.borderRadius+4,"px solid ").concat(i.colorPrimary),borderBlockEnd:"".concat(i.borderRadius+4,"px solid transparent"),borderInlineStart:"".concat(i.borderRadius+4,"px solid transparent"),borderStartEndRadius:"".concat(i.borderRadius,"px")}})),"&-disabled",$e(i)),"&[disabled]",$e(i)),"&-checked&-disabled",{"&:after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"".concat(i.borderRadius+4,"px solid ").concat(i.colorTextDisabled),borderBlockEnd:"".concat(i.borderRadius+4,"px solid transparent"),borderInlineStart:"".concat(i.borderRadius+4,"px solid transparent"),borderStartEndRadius:"".concat(i.borderRadius,"px"),content:"''"}}),"&-lg",{width:440}),"&-sm",{width:212}),"&-cover",{paddingInline:i.paddingXXS,paddingBlock:i.paddingXXS,img:{width:"100%",height:"100%",overflow:"hidden",borderRadius:i.borderRadius}}),"&-content",{display:"flex",paddingInline:i.paddingSM,paddingBlock:i.padding}),(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)(t,"&-body",{paddingInline:i.paddingSM,paddingBlock:i.padding}),"&-avatar-header",{display:"flex",alignItems:"center"}),"&-avatar",{paddingInlineEnd:8}),"&-detail",{overflow:"hidden",width:"100%","> div:not(:last-child)":{marginBlockEnd:4}}),"&-header",{display:"flex",alignItems:"center",justifyContent:"space-between",lineHeight:i.lineHeight,"&-left":{display:"flex",alignItems:"center",gap:i.sizeSM,minWidth:0}}),"&-title",{overflow:"hidden",color:i.colorTextHeading,fontWeight:"500",fontSize:i.fontSize,whiteSpace:"nowrap",textOverflow:"ellipsis",display:"flex",alignItems:"center",justifyContent:"space-between","&-with-ellipsis":{display:"inline-block"}}),"&-description",{color:i.colorTextSecondary}),"&:not(".concat(i.componentCls,"-disabled)"),{"&:hover":{borderColor:i.colorPrimary}})))};function xe(re){return(0,B.Xj)("CheckCard",function(i){var t=(0,x.Z)((0,x.Z)({},i),{},{componentCls:".".concat(re)});return[be(t)]})}var O=c(85893),ye=["prefixCls","className","style","options","loading","multiple","bordered","onChange"],ae=function(i){var t=i.prefixCls,a=i.hashId;return(0,O.jsx)("div",{className:w()("".concat(t,"-loading-content"),a),children:(0,O.jsx)(L.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1})})},Ie=(0,Z.createContext)(null),s=function(i){var t=(0,Z.useState)(!1),a=(0,F.Z)(t,2),o=a[0],e=a[1],r=B.Ow.useToken(),l=r.hashId,g="".concat(i.prefix,"-sub-check-card");return(0,O.jsxs)("div",{className:w()(g,l),children:[(0,O.jsxs)("div",{className:w()("".concat(g,"-title"),l),onClick:function(){e(!o)},children:[(0,O.jsx)(V.Z,{style:{transform:"rotate(".concat(o?90:0,"deg)"),transition:"transform 0.3s"}}),i.title]}),(0,O.jsx)("div",{className:w()("".concat(g,"-panel"),l,(0,n.Z)({},"".concat(g,"-panel-collapse"),o)),children:i.children})]})},h=function(i){var t=i.prefixCls,a=i.className,o=i.style,e=i.options,r=e===void 0?[]:e,l=i.loading,g=l===void 0?!1:l,b=i.multiple,z=b===void 0?!1:b,y=i.bordered,R=y===void 0?!0:y,I=i.onChange,E=(0,P.Z)(i,ye),S=(0,Z.useContext)(T.ZP.ConfigContext),k=(0,Z.useCallback)(function(){return r==null?void 0:r.map(function(fe){return typeof fe=="string"?{title:fe,value:fe}:fe})},[r]),X=S.getPrefixCls("pro-checkcard",t),ie=xe(X),Ce=ie.wrapSSR,Le=ie.hashId,U="".concat(X,"-group"),j=(0,de.Z)(E,["children","defaultValue","value","disabled","size"]),De=(0,Y.Z)(i.defaultValue,{value:i.value,onChange:i.onChange}),ke=(0,F.Z)(De,2),_=ke[0],ge=ke[1],Re=(0,Z.useRef)(new Map),Ae=function(Se){var ce;(ce=Re.current)===null||ce===void 0||ce.set(Se,!0)},Me=function(Se){var ce;(ce=Re.current)===null||ce===void 0||ce.delete(Se)},Be=function(Se){if(!z){var ce;ce=_,ce===Se.value?ce=void 0:ce=Se.value,ge==null||ge(ce)}if(z){var je,Q=[],u=_,d=u==null?void 0:u.includes(Se.value);Q=(0,J.Z)(u||[]),d||Q.push(Se.value),d&&(Q=Q.filter(function(m){return m!==Se.value}));var f=k(),v=(je=Q)===null||je===void 0||(je=je.filter(function(m){return Re.current.has(m)}))===null||je===void 0?void 0:je.sort(function(m,A){var W=f.findIndex(function(ne){return ne.value===m}),M=f.findIndex(function(ne){return ne.value===A});return W-M});ge(v)}},Xe=(0,Z.useMemo)(function(){if(g)return new Array(r.length||Z.Children.toArray(i.children).length||1).fill(0).map(function(ce,je){return(0,O.jsx)(Te,{loading:!0},je)});if(r&&r.length>0){var fe=_,Se=function ce(je){return je.map(function(Q){var u;if(Q.children&&Q.children.length>0){var d,f;return(0,O.jsx)(s,{title:Q.title,prefix:U,children:ce(Q.children)},((d=Q.value)===null||d===void 0?void 0:d.toString())||((f=Q.title)===null||f===void 0?void 0:f.toString()))}return(0,O.jsx)(Te,{disabled:Q.disabled,size:(u=Q.size)!==null&&u!==void 0?u:i.size,value:Q.value,checked:z?fe==null?void 0:fe.includes(Q.value):fe===Q.value,onChange:Q.onChange,title:Q.title,avatar:Q.avatar,description:Q.description,cover:Q.cover},Q.value.toString())})};return Se(k())}return i.children},[k,g,z,r,i.children,i.size,_]),Je=w()(U,a,Le);return Ce((0,O.jsx)(Ie.Provider,{value:{toggleOption:Be,bordered:R,value:_,disabled:i.disabled,size:i.size,loading:i.loading,multiple:i.multiple,registerValue:Ae,cancelValue:Me},children:(0,O.jsx)("div",(0,x.Z)((0,x.Z)({className:Je,style:o},j),{},{children:Xe}))}))},C=function(re){return(0,O.jsx)(se._Y,{needDeps:!0,children:(0,O.jsx)(h,(0,x.Z)({},re))})},p=["prefixCls","className","avatar","title","description","cover","extra","style"],$=function(i){var t=(0,Y.Z)(i.defaultChecked||!1,{value:i.checked,onChange:i.onChange}),a=(0,F.Z)(t,2),o=a[0],e=a[1],r=(0,Z.useContext)(Ie),l=(0,Z.useContext)(T.ZP.ConfigContext),g=l.getPrefixCls,b=function(v){var m,A;i==null||(m=i.onClick)===null||m===void 0||m.call(i,v);var W=!o;r==null||(A=r.toggleOption)===null||A===void 0||A.call(r,{value:i.value}),e==null||e(W)},z=function(v){return v==="large"?"lg":v==="small"?"sm":""};(0,Z.useEffect)(function(){var f;return r==null||(f=r.registerValue)===null||f===void 0||f.call(r,i.value),function(){var v;return r==null||(v=r.cancelValue)===null||v===void 0?void 0:v.call(r,i.value)}},[i.value]);var y=i.prefixCls,R=i.className,I=i.avatar,E=i.title,S=i.description,k=i.cover,X=i.extra,ie=i.style,Ce=ie===void 0?{}:ie,Le=(0,P.Z)(i,p),U=(0,x.Z)({},Le),j=g("pro-checkcard",y),De=xe(j),ke=De.wrapSSR,_=De.hashId,ge=function(v,m){return(0,O.jsx)("div",{className:w()("".concat(v,"-cover"),_),children:typeof m=="string"?(0,O.jsx)("img",{src:m,alt:"checkcard"}):m})};U.checked=o;var Re=!1;if(r){var Ae;U.disabled=i.disabled||r.disabled,U.loading=i.loading||r.loading,U.bordered=i.bordered||r.bordered,Re=r.multiple;var Me=r.multiple?(Ae=r.value)===null||Ae===void 0?void 0:Ae.includes(i.value):r.value===i.value;U.checked=U.loading?!1:Me,U.size=i.size||r.size}var Be=U.disabled,Xe=Be===void 0?!1:Be,Je=U.size,fe=U.loading,Se=U.bordered,ce=Se===void 0?!0:Se,je=U.checked,Q=z(Je),u=w()(j,R,_,(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)({},"".concat(j,"-loading"),fe),"".concat(j,"-").concat(Q),Q),"".concat(j,"-checked"),je),"".concat(j,"-multiple"),Re),"".concat(j,"-disabled"),Xe),"".concat(j,"-bordered"),ce),"".concat(j,"-ghost"),i.ghost)),d=(0,Z.useMemo)(function(){if(fe)return(0,O.jsx)(ae,{prefixCls:j||"",hashId:_});if(k)return ge(j||"",k);var f=I?(0,O.jsx)("div",{className:w()("".concat(j,"-avatar"),_),children:typeof I=="string"?(0,O.jsx)(q.C,{size:48,shape:"square",src:I}):I}):null,v=(E!=null?E:X)!=null&&(0,O.jsxs)("div",{className:w()("".concat(j,"-header"),_),children:[(0,O.jsxs)("div",{className:w()("".concat(j,"-header-left"),_),children:[(0,O.jsx)("div",{className:w()("".concat(j,"-title"),_,(0,n.Z)({},"".concat(j,"-title-with-ellipsis"),typeof E=="string")),children:E}),i.subTitle?(0,O.jsx)("div",{className:w()("".concat(j,"-subTitle"),_),children:i.subTitle}):null]}),X&&(0,O.jsx)("div",{className:w()("".concat(j,"-extra"),_),children:X})]}),m=S?(0,O.jsx)("div",{className:w()("".concat(j,"-description"),_),children:S}):null,A=w()("".concat(j,"-content"),_,(0,n.Z)({},"".concat(j,"-avatar-header"),f&&v&&!m));return(0,O.jsxs)("div",{className:A,children:[f,v||m?(0,O.jsxs)("div",{className:w()("".concat(j,"-detail"),_),children:[v,m]}):null]})},[I,fe,k,S,X,_,j,i.subTitle,E]);return ke((0,O.jsxs)("div",{className:u,style:Ce,onClick:function(v){!fe&&!Xe&&b(v)},onMouseEnter:i.onMouseEnter,children:[d,i.children?(0,O.jsx)("div",{className:w()("".concat(j,"-body"),_),style:i.bodyStyle,children:i.children}):null,i.actions?(0,O.jsx)(N.Z,{actions:i.actions,prefixCls:j}):null]}))};$.Group=C;var Te=$},63100:function(Ne,oe,c){"use strict";var n=c(67294),x=c(61607);oe.Z=(0,x.a1)("send",!0,function(P){return n.createElement("svg",{width:P.size,height:P.size,viewBox:"0 0 48 48",fill:"none"},n.createElement("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:P.colors[0],strokeWidth:P.strokeWidth,strokeLinejoin:P.strokeLinejoin}),n.createElement("path",{d:"M43.0001 5L22.1001 25.9",stroke:P.colors[0],strokeWidth:P.strokeWidth,strokeLinecap:P.strokeLinecap,strokeLinejoin:P.strokeLinejoin}))})},4007:function(Ne,oe,c){Ne=c.nmd(Ne),ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,x,P){"use strict";var F=n("../lib/oop"),Y=n("./text_highlight_rules").TextHighlightRules,T=function(){var q="and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield|async|await|nonlocal",le="True|False|None|NotImplemented|Ellipsis|__debug__",w="abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|apply|delattr|help|next|setattr|set|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|ascii|breakpoint|bytes",Z=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":w,"variable.language":"self|cls","constant.language":le,keyword:q},"identifier"),N="[uU]?",J="[rR]",L="[fF]",V="(?:[rR][fF]|[fF][rR])",B="(?:(?:[1-9]\\d*)|(?:0))",se="(?:0[oO]?[0-7]+)",de="(?:0[xX][\\dA-Fa-f]+)",Oe="(?:0[bB][01]+)",we="(?:"+B+"|"+se+"|"+de+"|"+Oe+")",$e="(?:[eE][+-]?\\d+)",ue="(?:\\.\\d+)",be="(?:\\d+)",xe="(?:(?:"+be+"?"+ue+")|(?:"+be+"\\.))",O="(?:(?:"+xe+"|"+be+")"+$e+")",ye="(?:"+O+"|"+xe+")",ae=`\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`;this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:N+'"{3}',next:"qqstring3"},{token:"string",regex:N+'"(?=.)',next:"qqstring"},{token:"string",regex:N+"'{3}",next:"qstring3"},{token:"string",regex:N+"'(?=.)",next:"qstring"},{token:"string",regex:J+'"{3}',next:"rawqqstring3"},{token:"string",regex:J+'"(?=.)',next:"rawqqstring"},{token:"string",regex:J+"'{3}",next:"rawqstring3"},{token:"string",regex:J+"'(?=.)",next:"rawqstring"},{token:"string",regex:L+'"{3}',next:"fqqstring3"},{token:"string",regex:L+'"(?=.)',next:"fqqstring"},{token:"string",regex:L+"'{3}",next:"fqstring3"},{token:"string",regex:L+"'(?=.)",next:"fqstring"},{token:"string",regex:V+'"{3}',next:"rfqqstring3"},{token:"string",regex:V+'"(?=.)',next:"rfqqstring"},{token:"string",regex:V+"'{3}",next:"rfqstring3"},{token:"string",regex:V+"'(?=.)",next:"rfqstring"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"punctuation",regex:",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:["keyword","text","entity.name.function"],regex:"(def|class)(\\s+)([\\u00BF-\\u1FFF\\u2C00-\\uD7FF\\w]+)"},{token:"text",regex:"\\s+"},{include:"constants"}],qqstring3:[{token:"constant.language.escape",regex:ae},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:ae},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:ae},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:ae},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],rawqqstring3:[{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],rawqstring3:[{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],rawqqstring:[{token:"string",regex:"\\\\$",next:"rawqqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],rawqstring:[{token:"string",regex:"\\\\$",next:"rawqstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],fqqstring3:[{token:"constant.language.escape",regex:ae},{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring3:[{token:"constant.language.escape",regex:ae},{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqqstring:[{token:"constant.language.escape",regex:ae},{token:"string",regex:"\\\\$",next:"fqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring:[{token:"constant.language.escape",regex:ae},{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring3:[{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring3:[{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring:[{token:"string",regex:"\\\\$",next:"rfqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring:[{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstringParRules:[{token:"paren.lparen",regex:"[\\[\\(]"},{token:"paren.rparen",regex:"[\\]\\)]"},{token:"string",regex:"\\s+"},{token:"string",regex:"'[^']*'"},{token:"string",regex:'"[^"]*"'},{token:"function.support",regex:"(!s|!r|!a)"},{include:"constants"},{token:"paren.rparen",regex:"}",next:"pop"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"}],constants:[{token:"constant.numeric",regex:"(?:"+ye+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:ye},{token:"constant.numeric",regex:we+"[lL]\\b"},{token:"constant.numeric",regex:we+"\\b"},{token:["punctuation","function.support"],regex:"(\\.)([a-zA-Z_]+)\\b"},{token:Z,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"}]},this.normalizeRules()};F.inherits(T,Y),x.PythonHighlightRules=T}),ace.define("ace/mode/folding/pythonic",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(n,x,P){"use strict";var F=n("../../lib/oop"),Y=n("./fold_mode").FoldMode,T=x.FoldMode=function(q){this.foldingStartMarker=new RegExp("([\\[{])(?:\\s*)$|("+q+")(?:\\s*)(?:#.*)?$")};F.inherits(T,Y),function(){this.getFoldWidgetRange=function(q,le,w){var Z=q.getLine(w),N=Z.match(this.foldingStartMarker);if(N)return N[1]?this.openingBracketBlock(q,N[1],w,N.index):N[2]?this.indentationBlock(q,w,N.index+N[2].length):this.indentationBlock(q,w)}}.call(T.prototype)}),ace.define("ace/mode/python",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/python_highlight_rules","ace/mode/folding/pythonic","ace/range"],function(n,x,P){"use strict";var F=n("../lib/oop"),Y=n("./text").Mode,T=n("./python_highlight_rules").PythonHighlightRules,q=n("./folding/pythonic").FoldMode,le=n("../range").Range,w=function(){this.HighlightRules=T,this.foldingRules=new q("\\:"),this.$behaviour=this.$defaultBehaviour};F.inherits(w,Y),function(){this.lineCommentStart="#",this.$pairQuotesAfter={"'":/[ruf]/i,'"':/[ruf]/i},this.getNextLineIndent=function(N,J,L){var V=this.$getIndent(J),B=this.getTokenizer().getLineTokens(J,N),se=B.tokens;if(se.length&&se[se.length-1].type=="comment")return V;if(N=="start"){var de=J.match(/^.*[\{\(\[:]\s*$/);de&&(V+=L)}return V};var Z={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(N,J,L){if(L!==`\r +`&&L!=="\r"&&L!==` +`)return!1;var V=this.getTokenizer().getLineTokens(J.trim(),N).tokens;if(!V)return!1;do var B=V.pop();while(B&&(B.type=="comment"||B.type=="text"&&B.value.match(/^\s+$/)));return B?B.type=="keyword"&&Z[B.value]:!1},this.autoOutdent=function(N,J,L){L+=1;var V=this.$getIndent(J.getLine(L)),B=J.getTabString();V.slice(-B.length)==B&&J.remove(new le(L,V.length-B.length,L,V.length))},this.$id="ace/mode/python",this.snippetFileId="ace/snippets/python"}.call(w.prototype),x.Mode=w}),function(){ace.require(["ace/mode/python"],function(n){Ne&&(Ne.exports=n)})}()},17811:function(Ne,oe,c){"use strict";c.d(oe,{Z:function(){return o}});var n=c(97582),x=c(67294);function P(e){var r=(0,x.useRef)(e);return r.current=e,r}var F=P,Y=function(e){return e!==null&&typeof e=="object"},T=function(e){return typeof e=="function"},q=function(e){return typeof e=="string"},le=function(e){return typeof e=="boolean"},w=function(e){return typeof e=="number"},Z=function(e){return typeof e=="undefined"},N=!!(typeof window!="undefined"&&window.document&&window.document.createElement),J=N;function L(e,r){if(!!J){if(!e)return r;var l;return T(e)?l=e():"current"in e?l=e.current:l=e,l}}var V=!1,B=V,se=function(e){B&&(T(e)||console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));var r=F(e);(0,x.useEffect)(function(){return function(){r.current()}},[])},de=se;function Oe(e,r){if(e===r)return!0;for(var l=0;l{var de;const{prefixCls:Oe,className:we,popupClassName:$e,dropdownClassName:ue,children:be,dataSource:xe}=B,O=(0,F.Z)(be);let ye;O.length===1&&n.isValidElement(O[0])&&!N(O[0])&&([ye]=O);const ae=ye?()=>ye:void 0;let Ie;O.length&&N(O[0])?Ie=be:Ie=xe?xe.map(p=>{if(n.isValidElement(p))return p;switch(typeof p){case"string":return n.createElement(Z,{key:p,value:p},p);case"object":{const{value:$}=p;return n.createElement(Z,{key:$,value:$},p.text)}default:return}}):[];const{getPrefixCls:s}=n.useContext(le.E_),h=s("select",Oe),[C]=(0,T.Cn)("SelectLike",(de=B.dropdownStyle)===null||de===void 0?void 0:de.zIndex);return n.createElement(w.Z,Object.assign({ref:se,suffixIcon:null},(0,Y.Z)(B,["dataSource","dropdownClassName"]),{prefixCls:h,popupClassName:$e||ue,dropdownStyle:Object.assign(Object.assign({},B.dropdownStyle),{zIndex:C}),className:P()(`${h}-auto-complete`,we),mode:w.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:ae}),Ie)},L=n.forwardRef(J),V=(0,q.Z)(L);L.Option=Z,L._InternalPanelDoNotUseOrYouWillBeFired=V,oe.Z=L},12845:function(Ne,oe,c){"use strict";c.d(oe,{Z:function(){return Ie}});var n=c(67294),x=c(93967),P=c.n(x),F=c(53124),Y=c(35792),T=c(54548),q=c(14747),le=c(91945),w=c(45503);const Z=s=>{const{componentCls:h,calc:C}=s;return{[h]:Object.assign(Object.assign({},(0,q.Wf)(s)),{margin:0,padding:0,listStyle:"none",[`${h}-item`]:{position:"relative",margin:0,paddingBottom:s.itemPaddingBottom,fontSize:s.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:s.itemHeadSize,insetInlineStart:C(C(s.itemHeadSize).sub(s.tailWidth)).div(2).equal(),height:`calc(100% - ${(0,T.bf)(s.itemHeadSize)})`,borderInlineStart:`${(0,T.bf)(s.tailWidth)} ${s.lineType} ${s.tailColor}`},"&-pending":{[`${h}-item-head`]:{fontSize:s.fontSizeSM,backgroundColor:"transparent"},[`${h}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:s.itemHeadSize,height:s.itemHeadSize,backgroundColor:s.dotBg,border:`${(0,T.bf)(s.dotBorderWidth)} ${s.lineType} transparent`,borderRadius:"50%","&-blue":{color:s.colorPrimary,borderColor:s.colorPrimary},"&-red":{color:s.colorError,borderColor:s.colorError},"&-green":{color:s.colorSuccess,borderColor:s.colorSuccess},"&-gray":{color:s.colorTextDisabled,borderColor:s.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:C(s.itemHeadSize).div(2).equal(),insetInlineStart:C(s.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:s.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:C(C(s.fontSize).mul(s.lineHeight).sub(s.fontSize)).mul(-1).add(s.lineWidth).equal(),marginInlineStart:C(s.margin).add(s.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${h}-item-tail`]:{display:"none"},[`> ${h}-item-content`]:{minHeight:C(s.controlHeightLG).mul(1.2).equal()}}},[`&${h}-alternate, + &${h}-right, + &${h}-label`]:{[`${h}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:C(s.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:C(s.tailWidth).div(2).equal()}},"&-left":{[`${h}-item-content`]:{insetInlineStart:`calc(50% - ${(0,T.bf)(s.marginXXS)})`,width:`calc(50% - ${(0,T.bf)(s.marginSM)})`,textAlign:"start"}},"&-right":{[`${h}-item-content`]:{width:`calc(50% - ${(0,T.bf)(s.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${h}-right`]:{[`${h}-item-right`]:{[`${h}-item-tail, + ${h}-item-head, + ${h}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(0,T.bf)(C(C(s.itemHeadSize).add(s.tailWidth)).div(2).equal())})`},[`${h}-item-content`]:{width:`calc(100% - ${(0,T.bf)(C(s.itemHeadSize).add(s.marginXS).equal())})`}}},[`&${h}-pending + ${h}-item-last + ${h}-item-tail`]:{display:"block",height:`calc(100% - ${(0,T.bf)(s.margin)})`,borderInlineStart:`${(0,T.bf)(s.tailWidth)} dotted ${s.tailColor}`},[`&${h}-reverse + ${h}-item-last + ${h}-item-tail`]:{display:"none"},[`&${h}-reverse ${h}-item-pending`]:{[`${h}-item-tail`]:{insetBlockStart:s.margin,display:"block",height:`calc(100% - ${(0,T.bf)(s.margin)})`,borderInlineStart:`${(0,T.bf)(s.tailWidth)} dotted ${s.tailColor}`},[`${h}-item-content`]:{minHeight:C(s.controlHeightLG).mul(1.2).equal()}},[`&${h}-label`]:{[`${h}-item-label`]:{position:"absolute",insetBlockStart:C(C(s.fontSize).mul(s.lineHeight).sub(s.fontSize)).mul(-1).add(s.tailWidth).equal(),width:`calc(50% - ${(0,T.bf)(s.marginSM)})`,textAlign:"end"},[`${h}-item-right`]:{[`${h}-item-label`]:{insetInlineStart:`calc(50% + ${(0,T.bf)(s.marginSM)})`,width:`calc(50% - ${(0,T.bf)(s.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${h}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},N=s=>({tailColor:s.colorSplit,tailWidth:s.lineWidthBold,dotBorderWidth:s.wireframe?s.lineWidthBold:s.lineWidth*3,dotBg:s.colorBgContainer,itemPaddingBottom:s.padding*1.25});var J=(0,le.I$)("Timeline",s=>{const h=(0,w.TS)(s,{itemHeadSize:10,customHeadPaddingVertical:s.paddingXXS,paddingInlineEnd:2});return[Z(h)]},N),L=function(s,h){var C={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&h.indexOf(p)<0&&(C[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,p=Object.getOwnPropertySymbols(s);${var{prefixCls:h,className:C,color:p="blue",dot:$,pending:Te=!1,position:re,label:i,children:t}=s,a=L(s,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:o}=n.useContext(F.E_),e=o("timeline",h),r=P()(`${e}-item`,{[`${e}-item-pending`]:Te},C),l=/blue|red|green|gray/.test(p||"")?void 0:p,g=P()(`${e}-item-head`,{[`${e}-item-head-custom`]:!!$,[`${e}-item-head-${p}`]:!l});return n.createElement("li",Object.assign({},a,{className:r}),i&&n.createElement("div",{className:`${e}-item-label`},i),n.createElement("div",{className:`${e}-item-tail`}),n.createElement("div",{className:g,style:{borderColor:l,color:l}},$),n.createElement("div",{className:`${e}-item-content`},t))},se=c(74902),de=c(19267),Oe=function(s,h){var C={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&h.indexOf(p)<0&&(C[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,p=Object.getOwnPropertySymbols(s);${var{prefixCls:h,className:C,pending:p=!1,children:$,items:Te,rootClassName:re,reverse:i=!1,direction:t,hashId:a,pendingDot:o,mode:e=""}=s,r=Oe(s,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const l=(S,k)=>e==="alternate"?S==="right"?`${h}-item-right`:S==="left"?`${h}-item-left`:k%2===0?`${h}-item-left`:`${h}-item-right`:e==="left"?`${h}-item-left`:e==="right"?`${h}-item-right`:S==="right"?`${h}-item-right`:"",g=(0,se.Z)(Te||[]),b=typeof p=="boolean"?null:p;p&&g.push({pending:!!p,dot:o||n.createElement(de.Z,null),children:b}),i&&g.reverse();const z=g.length,y=`${h}-item-last`,R=g.filter(S=>!!S).map((S,k)=>{var X;const ie=k===z-2?y:"",Ce=k===z-1?y:"",{className:Le}=S,U=Oe(S,["className"]);return n.createElement(B,Object.assign({},U,{className:P()([Le,!i&&!!p?ie:Ce,l((X=S==null?void 0:S.position)!==null&&X!==void 0?X:"",k)]),key:(S==null?void 0:S.key)||k}))}),I=g.some(S=>!!(S!=null&&S.label)),E=P()(h,{[`${h}-pending`]:!!p,[`${h}-reverse`]:!!i,[`${h}-${e}`]:!!e&&!I,[`${h}-label`]:I,[`${h}-rtl`]:t==="rtl"},C,re,a);return n.createElement("ul",Object.assign({},r,{className:E}),R)},ue=c(50344);function be(s,h){return s&&Array.isArray(s)?s:(0,ue.Z)(h).map(C=>{var p,$;return Object.assign({children:($=(p=C==null?void 0:C.props)===null||p===void 0?void 0:p.children)!==null&&$!==void 0?$:""},C.props)})}var xe=be,O=function(s,h){var C={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&h.indexOf(p)<0&&(C[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,p=Object.getOwnPropertySymbols(s);${const{getPrefixCls:h,direction:C,timeline:p}=n.useContext(F.E_),{prefixCls:$,children:Te,items:re,className:i,style:t}=s,a=O(s,["prefixCls","children","items","className","style"]),o=h("timeline",$),e=(0,Y.Z)(o),[r,l,g]=J(o,e),b=xe(re,Te);return r(n.createElement($e,Object.assign({},a,{className:P()(p==null?void 0:p.className,i,g,e),style:Object.assign(Object.assign({},p==null?void 0:p.style),t),prefixCls:o,direction:C,items:b,hashId:l})))};ye.Item=B;var ae=ye,Ie=ae},42180:function(Ne,oe,c){"use strict";c.d(oe,{Z:function(){return Q}});var n=c(67294),x=c(1413),P=c(87462),F=c(71002),Y=c(97685),T=c(45987),q=c(2788),le=c(40228),w=c(93967),Z=c.n(w),N=c(8410),J=c(21770);function L(u){return u!==null&&(0,F.Z)(u)==="object"}function V(u,d,f){if(u===!1||d===!1&&(!L(u)||!u.closeIcon))return null;var v=typeof d!="boolean"?d:void 0;if(L(u)){var m;return(0,x.Z)((0,x.Z)({},u),{},{closeIcon:(m=u.closeIcon)!==null&&m!==void 0?m:v})}return f||u||d?{closeIcon:v}:"empty"}function B(u,d,f,v){return n.useMemo(function(){var m=V(u,d,!1),A=V(f,v,!0);return m!=="empty"?m:A},[f,v,u,d])}var se=c(66680);function de(u){var d=window.innerWidth||document.documentElement.clientWidth,f=window.innerHeight||document.documentElement.clientHeight,v=u.getBoundingClientRect(),m=v.top,A=v.right,W=v.bottom,M=v.left;return m>=0&&M>=0&&A<=d&&W<=f}function Oe(u,d,f){var v;return(v=f!=null?f:d)!==null&&v!==void 0?v:u===null?"center":"bottom"}function we(u,d,f,v){var m=(0,n.useState)(void 0),A=(0,Y.Z)(m,2),W=A[0],M=A[1];(0,N.Z)(function(){var G=typeof u=="function"?u():u;M(G||null)});var ne=(0,n.useState)(null),ve=(0,Y.Z)(ne,2),ee=ve[0],K=ve[1],te=(0,se.Z)(function(){if(W){!de(W)&&d&&W.scrollIntoView(v);var G=W.getBoundingClientRect(),H=G.left,D=G.top,Ee=G.width,ze=G.height,We={left:H,top:D,width:Ee,height:ze,radius:0};K(function(He){return JSON.stringify(He)!==JSON.stringify(We)?We:He})}else K(null)}),me=function(H){var D;return(D=Array.isArray(f==null?void 0:f.offset)?f==null?void 0:f.offset[H]:f==null?void 0:f.offset)!==null&&D!==void 0?D:6};(0,N.Z)(function(){return te(),window.addEventListener("resize",te),function(){window.removeEventListener("resize",te)}},[W,d,te]);var he=(0,n.useMemo)(function(){if(!ee)return ee;var G=me(0),H=me(1),D=(f==null?void 0:f.radius)||2;return{left:ee.left-G,top:ee.top-H,width:ee.width+G*2,height:ee.height+H*2,radius:D}},[ee,f]);return[he,W]}var $e=c(7028),ue={fill:"transparent",pointerEvents:"auto"},be=function(d){var f=d.prefixCls,v=d.rootClassName,m=d.pos,A=d.showMask,W=d.style,M=W===void 0?{}:W,ne=d.fill,ve=ne===void 0?"rgba(0,0,0,0.5)":ne,ee=d.open,K=d.animated,te=d.zIndex,me=d.disabledInteraction,he=(0,$e.Z)(),G="".concat(f,"-mask-").concat(he),H=(0,F.Z)(K)==="object"?K==null?void 0:K.placeholder:K,D=typeof navigator!="undefined"&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ee=D?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return n.createElement(q.Z,{open:ee,autoLock:!0},n.createElement("div",{className:Z()("".concat(f,"-mask"),v),style:(0,x.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:te,pointerEvents:m&&!me?"none":"auto"},M)},A?n.createElement("svg",{style:{width:"100%",height:"100%"}},n.createElement("defs",null,n.createElement("mask",{id:G},n.createElement("rect",(0,P.Z)({x:"0",y:"0"},Ee,{fill:"white"})),m&&n.createElement("rect",{x:m.left,y:m.top,rx:m.radius,width:m.width,height:m.height,fill:"black",className:H?"".concat(f,"-placeholder-animated"):""}))),n.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:ve,mask:"url(#".concat(G,")")}),m&&n.createElement(n.Fragment,null,n.createElement("rect",(0,P.Z)({},ue,{x:"0",y:"0",width:"100%",height:m.top})),n.createElement("rect",(0,P.Z)({},ue,{x:"0",y:"0",width:m.left,height:"100%"})),n.createElement("rect",(0,P.Z)({},ue,{x:"0",y:m.top+m.height,width:"100%",height:"calc(100vh - ".concat(m.top+m.height,"px)")})),n.createElement("rect",(0,P.Z)({},ue,{x:m.left+m.width,y:"0",width:"calc(100vw - ".concat(m.left+m.width,"px)"),height:"100%"})))):null))},xe=be,O={adjustX:1,adjustY:1},ye=[0,0],ae={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function Ie(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,d={};return Object.keys(ae).forEach(function(f){d[f]=(0,x.Z)((0,x.Z)({},ae[f]),{},{autoArrow:u,targetOffset:ye})}),d}var s=Ie(),h=c(74902),C=c(64217);function p(u){var d,f=u.prefixCls,v=u.current,m=u.total,A=u.title,W=u.description,M=u.onClose,ne=u.onPrev,ve=u.onNext,ee=u.onFinish,K=u.className,te=u.closable,me=(0,C.Z)(te||{},!0),he=(d=te==null?void 0:te.closeIcon)!==null&&d!==void 0?d:n.createElement("span",{className:"".concat(f,"-close-x")},"\xD7"),G=!!te;return n.createElement("div",{className:Z()("".concat(f,"-content"),K)},n.createElement("div",{className:"".concat(f,"-inner")},G&&n.createElement("button",(0,P.Z)({type:"button",onClick:M,"aria-label":"Close"},me,{className:"".concat(f,"-close")}),he),n.createElement("div",{className:"".concat(f,"-header")},n.createElement("div",{className:"".concat(f,"-title")},A)),n.createElement("div",{className:"".concat(f,"-description")},W),n.createElement("div",{className:"".concat(f,"-footer")},n.createElement("div",{className:"".concat(f,"-sliders")},m>1?(0,h.Z)(Array.from({length:m}).keys()).map(function(H,D){return n.createElement("span",{key:H,className:D===v?"active":""})}):null),n.createElement("div",{className:"".concat(f,"-buttons")},v!==0?n.createElement("button",{className:"".concat(f,"-prev-btn"),onClick:ne},"Prev"):null,v===m-1?n.createElement("button",{className:"".concat(f,"-finish-btn"),onClick:ee},"Finish"):n.createElement("button",{className:"".concat(f,"-next-btn"),onClick:ve},"Next")))))}var $=function(d){var f=d.current,v=d.renderPanel;return n.createElement(n.Fragment,null,typeof v=="function"?v(d,f):n.createElement(p,d))},Te=$,re=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],i={left:"50%",top:"50%",width:1,height:1},t={block:"center",inline:"center"},a=function(d){var f=d.prefixCls,v=f===void 0?"rc-tour":f,m=d.steps,A=m===void 0?[]:m,W=d.defaultCurrent,M=d.current,ne=d.onChange,ve=d.onClose,ee=d.onFinish,K=d.open,te=d.mask,me=te===void 0?!0:te,he=d.arrow,G=he===void 0?!0:he,H=d.rootClassName,D=d.placement,Ee=d.renderPanel,ze=d.gap,We=d.animated,He=d.scrollIntoViewOptions,pe=He===void 0?t:He,Pe=d.zIndex,_e=Pe===void 0?1001:Pe,Qe=d.closeIcon,lt=d.closable,qe=d.builtinPlacements,tt=d.disabledInteraction,st=(0,T.Z)(d,re),rt=n.useRef(),Fe=(0,J.Z)(0,{value:M,defaultValue:W}),Ze=(0,Y.Z)(Fe,2),Ke=Ze[0],ut=Ze[1],Ct=(0,J.Z)(void 0,{value:K,postState:function(Ve){return Ke<0||Ke>=A.length?!1:Ve!=null?Ve:!0}}),ft=(0,Y.Z)(Ct,2),Ue=ft[0],St=ft[1],Et=n.useState(Ue),vt=(0,Y.Z)(Et,2),Pt=vt[0],Ot=vt[1],gt=n.useRef(Ue);(0,N.Z)(function(){Ue&&(gt.current||ut(0),Ot(!0)),gt.current=Ue},[Ue]);var Ge=A[Ke]||{},wt=Ge.target,$t=Ge.placement,It=Ge.style,mt=Ge.arrow,Tt=Ge.className,ct=Ge.mask,ht=Ge.scrollIntoViewOptions,dt=ht===void 0?t:ht,Rt=Ge.closeIcon,jt=Ge.closable,Zt=B(jt,Rt,lt,Qe),nt=Ue&&(ct!=null?ct:me),Nt=dt!=null?dt:pe,Mt=we(wt,K,ze,Nt),pt=(0,Y.Z)(Mt,2),yt=pt[0],at=pt[1],Bt=Oe(at,D,$t),it=at?typeof mt=="undefined"?G:mt:!1,ot=(0,F.Z)(it)==="object"?it.pointAtCenter:!1;(0,N.Z)(function(){var Ye;(Ye=rt.current)===null||Ye===void 0||Ye.forceAlign()},[ot,Ke]);var bt=function(Ve){ut(Ve),ne==null||ne(Ve)},zt=(0,n.useMemo)(function(){return qe?typeof qe=="function"?qe({arrowPointAtCenter:ot}):qe:Ie(ot)},[qe,ot]);if(at===void 0||!Pt)return null;var xt=function(){St(!1),ve==null||ve(Ke)},kt=function(){return n.createElement(Te,(0,P.Z)({arrow:it,key:"content",prefixCls:v,total:A.length,renderPanel:Ee,onPrev:function(){bt(Ke-1)},onNext:function(){bt(Ke+1)},onClose:xt,current:Ke,onFinish:function(){xt(),ee==null||ee()}},A[Ke],{closable:Zt}))},At=typeof nt=="boolean"?nt:!!nt,et=typeof nt=="boolean"?void 0:nt,Dt=function(Ve){return Ve||at||document.body};return n.createElement(n.Fragment,null,n.createElement(xe,{zIndex:_e,prefixCls:v,pos:yt,showMask:At,style:et==null?void 0:et.style,fill:et==null?void 0:et.color,open:Ue,animated:We,rootClassName:H,disabledInteraction:tt}),n.createElement(le.Z,(0,P.Z)({},st,{builtinPlacements:zt,ref:rt,popupStyle:It,popupPlacement:Bt,popupVisible:Ue,popupClassName:Z()(H,Tt),prefixCls:v,popup:kt,forceRender:!1,destroyPopupOnHide:!0,zIndex:_e,getTriggerDOMNode:Dt,arrow:!!it}),n.createElement(q.Z,{open:Ue,autoLock:!0},n.createElement("div",{className:Z()(H,"".concat(v,"-target-placeholder")),style:(0,x.Z)((0,x.Z)({},yt||i),{},{position:"fixed",pointerEvents:"none"})}))))},o=a,e=o,r=c(87263),l=c(80636),g=c(43945),b=c(53124),z=c(29691),y=c(62208),R=c(14726),I=c(10110),E=c(24457);function S(u){return u!=null}var X=u=>{var d,f;const{stepProps:v,current:m,type:A,indicatorsRender:W}=u,{prefixCls:M,total:ne=1,title:ve,onClose:ee,onPrev:K,onNext:te,onFinish:me,cover:he,description:G,nextButtonProps:H,prevButtonProps:D,type:Ee,closable:ze}=v,We=Ee!=null?Ee:A,He=n.useMemo(()=>{let Ze=n.createElement(y.Z,{className:`${M}-close-icon`});return ze&&ze.closeIcon&&(Ze=ze.closeIcon),n.createElement("button",{type:"button",onClick:ee,className:`${M}-close`},Ze)},[ze]),pe=m===ne-1,Pe=()=>{var Ze;K==null||K(),(Ze=D==null?void 0:D.onClick)===null||Ze===void 0||Ze.call(D)},_e=()=>{var Ze;pe?me==null||me():te==null||te(),(Ze=H==null?void 0:H.onClick)===null||Ze===void 0||Ze.call(H)},Qe=S(ve)?n.createElement("div",{className:`${M}-header`},n.createElement("div",{className:`${M}-title`},ve)):null,lt=S(G)?n.createElement("div",{className:`${M}-description`},G):null,qe=S(he)?n.createElement("div",{className:`${M}-cover`},he):null;let tt;W?tt=W(m,ne):tt=(0,h.Z)(Array.from({length:ne}).keys()).map((Ze,Ke)=>n.createElement("span",{key:Ze,className:Z()(Ke===m&&`${M}-indicator-active`,`${M}-indicator`)}));const st=We==="primary"?"default":"primary",rt={type:"default",ghost:We==="primary"},[Fe]=(0,I.Z)("Tour",E.Z.Tour);return n.createElement("div",{className:`${M}-content`},n.createElement("div",{className:`${M}-inner`},ze&&He,qe,Qe,lt,n.createElement("div",{className:`${M}-footer`},ne>1&&n.createElement("div",{className:`${M}-indicators`},tt),n.createElement("div",{className:`${M}-buttons`},m!==0?n.createElement(R.ZP,Object.assign({},rt,D,{onClick:Pe,size:"small",className:Z()(`${M}-prev-btn`,D==null?void 0:D.className)}),(d=D==null?void 0:D.children)!==null&&d!==void 0?d:Fe==null?void 0:Fe.Previous):null,n.createElement(R.ZP,Object.assign({type:st},H,{onClick:_e,size:"small",className:Z()(`${M}-next-btn`,H==null?void 0:H.className)}),(f=H==null?void 0:H.children)!==null&&f!==void 0?f:pe?Fe==null?void 0:Fe.Finish:Fe==null?void 0:Fe.Next)))))},ie=c(69760),Ce=c(8745),Le=c(96159),U=c(60590),j=c(54548),De=c(10274),ke=c(14747),_=c(97414),ge=c(79511),Re=c(91945),Ae=c(45503);const Me=u=>{const{componentCls:d,lineHeight:f,padding:v,paddingXS:m,borderRadius:A,borderRadiusXS:W,colorPrimary:M,colorText:ne,colorFill:ve,indicatorHeight:ee,indicatorWidth:K,boxShadowTertiary:te,tourZIndexPopup:me,fontSize:he,colorBgElevated:G,fontWeightStrong:H,marginXS:D,colorTextLightSolid:Ee,tourBorderRadius:ze,colorWhite:We,primaryNextBtnHoverBg:He,closeBtnSize:pe,motionDurationSlow:Pe,antCls:_e,primaryPrevBtnBg:Qe}=u;return[{[d]:Object.assign(Object.assign({},(0,ke.Wf)(u)),{color:ne,position:"absolute",zIndex:me,display:"block",visibility:"visible",fontSize:he,lineHeight:f,width:520,"--antd-arrow-background-color":G,"&-pure":{maxWidth:"100%",position:"relative"},[`&${d}-hidden`]:{display:"none"},[`${d}-content`]:{position:"relative"},[`${d}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:ze,boxShadow:te,position:"relative",backgroundColor:G,border:"none",backgroundClip:"padding-box",[`${d}-close`]:Object.assign({position:"absolute",top:v,insetInlineEnd:v,color:u.colorIcon,background:"none",border:"none",width:pe,height:pe,borderRadius:u.borderRadiusSM,transition:`background-color ${u.motionDurationMid}, color ${u.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:u.colorIconHover,backgroundColor:u.colorBgTextHover},"&:active":{backgroundColor:u.colorBgTextActive}},(0,ke.Qy)(u)),[`${d}-cover`]:{textAlign:"center",padding:`${(0,j.bf)(u.calc(v).add(pe).add(m).equal())} ${(0,j.bf)(v)} 0`,img:{width:"100%"}},[`${d}-header`]:{padding:`${(0,j.bf)(v)} ${(0,j.bf)(v)} ${(0,j.bf)(m)}`,[`${d}-title`]:{lineHeight:f,fontSize:he,fontWeight:H}},[`${d}-description`]:{padding:`0 ${(0,j.bf)(v)}`,lineHeight:f,wordWrap:"break-word"},[`${d}-footer`]:{padding:`${(0,j.bf)(m)} ${(0,j.bf)(v)} ${(0,j.bf)(v)}`,textAlign:"end",borderRadius:`0 0 ${(0,j.bf)(W)} ${(0,j.bf)(W)}`,display:"flex",[`${d}-indicators`]:{display:"inline-block",[`${d}-indicator`]:{width:K,height:ee,display:"inline-block",borderRadius:"50%",background:ve,"&:not(:last-child)":{marginInlineEnd:ee},"&-active":{background:M}}},[`${d}-buttons`]:{marginInlineStart:"auto",[`${_e}-btn`]:{marginInlineStart:D}}}},[`${d}-primary, &${d}-primary`]:{"--antd-arrow-background-color":M,[`${d}-inner`]:{color:Ee,textAlign:"start",textDecoration:"none",backgroundColor:M,borderRadius:A,boxShadow:te,[`${d}-close`]:{color:Ee},[`${d}-indicators`]:{[`${d}-indicator`]:{background:Qe,"&-active":{background:Ee}}},[`${d}-prev-btn`]:{color:Ee,borderColor:Qe,backgroundColor:M,"&:hover":{backgroundColor:Qe,borderColor:"transparent"}},[`${d}-next-btn`]:{color:M,borderColor:"transparent",background:We,"&:hover":{background:He}}}}}),[`${d}-mask`]:{[`${d}-placeholder-animated`]:{transition:`all ${Pe}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${d}-inner`]:{borderRadius:u.min(ze,_.qN)}}},(0,_.ZP)(u,"var(--antd-arrow-background-color)")]},Be=u=>Object.assign(Object.assign({zIndexPopup:u.zIndexPopupBase+70,closeBtnSize:u.fontSize*u.lineHeight,primaryPrevBtnBg:new De.C(u.colorTextLightSolid).setAlpha(.15).toRgbString(),primaryNextBtnHoverBg:new De.C(u.colorBgTextHover).onBackground(u.colorWhite).toRgbString()},(0,_.wZ)({contentRadius:u.borderRadiusLG,limitVerticalRadius:!0})),(0,ge.w)(u));var Xe=(0,Re.I$)("Tour",u=>{const{borderRadiusLG:d}=u,f=(0,Ae.TS)(u,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:d});return[Me(f)]},Be),Je=function(u,d){var f={};for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&d.indexOf(v)<0&&(f[v]=u[v]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,v=Object.getOwnPropertySymbols(u);m{const{prefixCls:d,current:f=0,total:v=6,className:m,style:A,type:W,closable:M,closeIcon:ne}=u,ve=Je(u,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:ee}=n.useContext(b.E_),K=ee("tour",d),[te,me,he]=Xe(K),[G,H]=(0,ie.Z)({closable:M,closeIcon:ne},null,{closable:!0,closeIconRender:D=>n.isValidElement(D)?(0,Le.Tm)(D,{className:Z()(D.props.className,`${K}-close-icon`)}):D});return te(n.createElement(U.t5,{prefixCls:K,hashId:me,className:Z()(m,`${K}-pure`,W&&`${K}-${W}`,he),style:A},n.createElement(X,{stepProps:Object.assign(Object.assign({},ve),{prefixCls:K,total:v,closable:G?{closeIcon:H}:void 0}),current:f,type:W})))};var Se=(0,Ce.i)(fe),ce=function(u,d){var f={};for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&d.indexOf(v)<0&&(f[v]=u[v]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,v=Object.getOwnPropertySymbols(u);m{const{prefixCls:d,type:f,rootClassName:v,indicatorsRender:m,steps:A,closeIcon:W}=u,M=ce(u,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:ne,direction:ve,tour:ee}=(0,n.useContext)(b.E_),K=ne("tour",d),[te,me,he]=Xe(K),[,G]=(0,z.ZP)(),H=n.useMemo(()=>A==null?void 0:A.map(pe=>{var Pe;return Object.assign(Object.assign({},pe),{className:Z()(pe.className,{[`${K}-primary`]:((Pe=pe.type)!==null&&Pe!==void 0?Pe:f)==="primary"})})}),[A,f]),D=pe=>{var Pe;return(0,l.Z)({arrowPointAtCenter:(Pe=pe==null?void 0:pe.arrowPointAtCenter)!==null&&Pe!==void 0?Pe:!0,autoAdjustOverflow:!0,offset:G.marginXXS,arrowWidth:G.sizePopupArrow,borderRadius:G.borderRadius})},Ee=Z()({[`${K}-rtl`]:ve==="rtl"},me,he,v),ze=(pe,Pe)=>n.createElement(X,{type:f,stepProps:pe,current:Pe,indicatorsRender:m}),[We,He]=(0,r.Cn)("Tour",M.zIndex);return te(n.createElement(g.Z.Provider,{value:He},n.createElement(e,Object.assign({},M,{closeIcon:W!=null?W:ee==null?void 0:ee.closeIcon,zIndex:We,rootClassName:Ee,prefixCls:K,animated:!0,renderPanel:ze,builtinPlacements:D,steps:H}))))};je._InternalPanelDoNotUseOrYouWillBeFired=Se;var Q=je},97582:function(Ne,oe,c){"use strict";c.d(oe,{CR:function(){return de},Jh:function(){return L},XA:function(){return se},ZT:function(){return x},_T:function(){return F},ev:function(){return $e},mG:function(){return J},pi:function(){return P},pr:function(){return we}});var n=function(t,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])},n(t,a)};function x(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(t,a);function o(){this.constructor=t}t.prototype=a===null?Object.create(a):(o.prototype=a.prototype,new o)}var P=function(){return P=Object.assign||function(a){for(var o,e=1,r=arguments.length;e=0;b--)(g=t[b])&&(l=(r<3?g(l):r>3?g(a,o,l):g(a,o))||l);return r>3&&l&&Object.defineProperty(a,o,l),l}function T(t,a){return function(o,e){a(o,e,t)}}function q(t,a,o,e,r,l){function g(Ce){if(Ce!==void 0&&typeof Ce!="function")throw new TypeError("Function expected");return Ce}for(var b=e.kind,z=b==="getter"?"get":b==="setter"?"set":"value",y=!a&&t?e.static?t:t.prototype:null,R=a||(y?Object.getOwnPropertyDescriptor(y,e.name):{}),I,E=!1,S=o.length-1;S>=0;S--){var k={};for(var X in e)k[X]=X==="access"?{}:e[X];for(var X in e.access)k.access[X]=e.access[X];k.addInitializer=function(Ce){if(E)throw new TypeError("Cannot add initializers after decoration has completed");l.push(g(Ce||null))};var ie=(0,o[S])(b==="accessor"?{get:R.get,set:R.set}:R[z],k);if(b==="accessor"){if(ie===void 0)continue;if(ie===null||typeof ie!="object")throw new TypeError("Object expected");(I=g(ie.get))&&(R.get=I),(I=g(ie.set))&&(R.set=I),(I=g(ie.init))&&r.unshift(I)}else(I=g(ie))&&(b==="field"?r.unshift(I):R[z]=I)}y&&Object.defineProperty(y,e.name,R),E=!0}function le(t,a,o){for(var e=arguments.length>2,r=0;r0&&l[l.length-1])&&(y[0]===6||y[0]===2)){o=0;continue}if(y[0]===3&&(!l||y[1]>l[0]&&y[1]=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function de(t,a){var o=typeof Symbol=="function"&&t[Symbol.iterator];if(!o)return t;var e=o.call(t),r,l=[],g;try{for(;(a===void 0||a-- >0)&&!(r=e.next()).done;)l.push(r.value)}catch(b){g={error:b}}finally{try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(g)throw g.error}}return l}function Oe(){for(var t=[],a=0;a1||b(E,S)})})}function b(E,S){try{z(e[E](S))}catch(k){I(l[0][3],k)}}function z(E){E.value instanceof ue?Promise.resolve(E.value.v).then(y,R):I(l[0][2],E)}function y(E){b("next",E)}function R(E){b("throw",E)}function I(E,S){E(S),l.shift(),l.length&&b(l[0][0],l[0][1])}}function xe(t){var a,o;return a={},e("next"),e("throw",function(r){throw r}),e("return"),a[Symbol.iterator]=function(){return this},a;function e(r,l){a[r]=t[r]?function(g){return(o=!o)?{value:ue(t[r](g)),done:!1}:l?l(g):g}:l}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=t[Symbol.asyncIterator],o;return a?a.call(t):(t=typeof se=="function"?se(t):t[Symbol.iterator](),o={},e("next"),e("throw"),e("return"),o[Symbol.asyncIterator]=function(){return this},o);function e(l){o[l]=t[l]&&function(g){return new Promise(function(b,z){g=t[l](g),r(b,z,g.done,g.value)})}}function r(l,g,b,z){Promise.resolve(z).then(function(y){l({value:y,done:b})},g)}}function ye(t,a){return Object.defineProperty?Object.defineProperty(t,"raw",{value:a}):t.raw=a,t}var ae=Object.create?function(t,a){Object.defineProperty(t,"default",{enumerable:!0,value:a})}:function(t,a){t.default=a};function Ie(t){if(t&&t.__esModule)return t;var a={};if(t!=null)for(var o in t)o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)&&V(a,t,o);return ae(a,t),a}function s(t){return t&&t.__esModule?t:{default:t}}function h(t,a,o,e){if(o==="a"&&!e)throw new TypeError("Private accessor was defined without a getter");if(typeof a=="function"?t!==a||!e:!a.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return o==="m"?e:o==="a"?e.call(t):e?e.value:a.get(t)}function C(t,a,o,e,r){if(e==="m")throw new TypeError("Private method is not writable");if(e==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof a=="function"?t!==a||!r:!a.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e==="a"?r.call(t,o):r?r.value=o:a.set(t,o),o}function p(t,a){if(a===null||typeof a!="object"&&typeof a!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?a===t:t.has(a)}function $(t,a,o){if(a!=null){if(typeof a!="object"&&typeof a!="function")throw new TypeError("Object expected.");var e;if(o){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");e=a[Symbol.asyncDispose]}if(e===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");e=a[Symbol.dispose]}if(typeof e!="function")throw new TypeError("Object not disposable.");t.stack.push({value:a,dispose:e,async:o})}else o&&t.stack.push({async:!0});return a}var Te=typeof SuppressedError=="function"?SuppressedError:function(t,a,o){var e=new Error(o);return e.name="SuppressedError",e.error=t,e.suppressed=a,e};function re(t){function a(e){t.error=t.hasError?new Te(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}function o(){for(;t.stack.length;){var e=t.stack.pop();try{var r=e.dispose&&e.dispose.call(e.value);if(e.async)return Promise.resolve(r).then(o,function(l){return a(l),o()})}catch(l){a(l)}}if(t.hasError)throw t.error}return o()}var i={__extends:x,__assign:P,__rest:F,__decorate:Y,__param:T,__metadata:N,__awaiter:J,__generator:L,__createBinding:V,__exportStar:B,__values:se,__read:de,__spread:Oe,__spreadArrays:we,__spreadArray:$e,__await:ue,__asyncGenerator:be,__asyncDelegator:xe,__asyncValues:O,__makeTemplateObject:ye,__importStar:Ie,__importDefault:s,__classPrivateFieldGet:h,__classPrivateFieldSet:C,__classPrivateFieldIn:p,__addDisposableResource:$,__disposeResources:re}}}]); diff --git a/statics/7612.7b214a1c.async.js b/statics/7612.7b214a1c.async.js deleted file mode 100644 index d678a6d4..00000000 --- a/statics/7612.7b214a1c.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7612],{4270:function(ya,R,r){r.d(R,{Z:function(){return Fa}});var c=r(1413),n=r(4942),S=r(71002),O=r(97685),$=r(45987),l=r(85893),W=r(43929),K=r(12795),H=r(25378);function U(){return(0,H.Z)()}var L={useBreakpoint:U},j=r(58720),D=r(93980),v=r(94184),x=r.n(v),X=r(97435),G=r(60869),p=r(67294),d=r(98082),b=j.ZP.ConfigContext,A=function(a){var t,i,g=a.componentCls,f=a.antCls;return(0,n.Z)({},"".concat(g,"-actions"),(i={marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none",display:"flex",gap:8,background:a.colorBgContainer,borderBlockStart:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit),minHeight:42},(0,n.Z)(i,"& > *",{alignItems:"center",justifyContent:"center",flex:1,display:"flex",cursor:"pointer",color:a.colorTextSecondary,transition:"color 0.3s","&:hover":{color:a.colorPrimaryHover}}),(0,n.Z)(i,"& > li > div",{flex:1,width:"100%",marginBlock:a.marginSM,marginInline:0,color:a.colorTextSecondary,textAlign:"center",a:{color:a.colorTextSecondary,transition:"color 0.3s","&:hover":{color:a.colorPrimaryHover}},div:(t={position:"relative",display:"block",minWidth:32,fontSize:a.fontSize,lineHeight:a.lineHeight,cursor:"pointer","&:hover":{color:a.colorPrimaryHover,transition:"color 0.3s"}},(0,n.Z)(t,"a:not(".concat(f,`-btn), - > .anticon`),{display:"inline-block",width:"100%",color:a.colorTextSecondary,lineHeight:"22px",transition:"color 0.3s","&:hover":{color:a.colorPrimaryHover}}),(0,n.Z)(t,".anticon",{fontSize:a.cardActionIconSize,lineHeight:"22px"}),t),"&:not(:last-child)":{borderInlineEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)}}),i))};function Z(o){var a=(0,p.useContext)(b),t=a.getPrefixCls,i=".".concat(t());return(0,d.Xj)("ProCardActions",function(g){var f=(0,c.Z)((0,c.Z)({},g),{},{componentCls:".".concat(o),antCls:i,cardActionIconSize:16});return[A(f)]})}var B=function(a){var t=a.actions,i=a.prefixCls,g=Z(i),f=g.wrapSSR,s=g.hashId;return Array.isArray(t)&&(t==null?void 0:t.length)?f((0,l.jsx)("ul",{className:x()("".concat(i,"-actions"),s),children:t.map(function(aa,J){return(0,l.jsx)("li",{style:{width:"".concat(100/t.length,"%"),padding:0,margin:0},className:x()("".concat(i,"-actions-item"),s),children:aa},"action-".concat(J))})})):f((0,l.jsx)("ul",{className:x()("".concat(i,"-actions"),s),children:t}))},M=B,C=r(71230),y=r(15746),F=function(a){var t;return(0,n.Z)({},a.componentCls,(t={"&-loading":{overflow:"hidden"},"&-loading &-body":{userSelect:"none"}},(0,n.Z)(t,"".concat(a.componentCls,"-loading-content"),{width:"100%",p:{marginBlock:0,marginInline:0}}),(0,n.Z)(t,"".concat(a.componentCls,"-loading-block"),{height:"14px",marginBlock:"4px",background:"linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",backgroundSize:"600% 600%",borderRadius:a.borderRadius,animationName:"card-loading",animationDuration:"1.4s",animationTimingFunction:"ease",animationIterationCount:"infinite"}),(0,n.Z)(t,"@keyframes card-loading",{"0%":{backgroundPosition:"0 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50 % "}}),t))};function w(o){return(0,d.Xj)("ProCardLoading",function(a){var t=(0,c.Z)((0,c.Z)({},a),{},{componentCls:".".concat(o)});return[F(t)]})}var V=function(a){var t=a.style,i=a.prefix,g=w(i||"ant-pro-card"),f=g.wrapSSR;return f((0,l.jsxs)("div",{className:"".concat(i,"-loading-content"),style:t,children:[(0,l.jsx)(C.Z,{gutter:8,children:(0,l.jsx)(y.Z,{span:22,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})})}),(0,l.jsxs)(C.Z,{gutter:8,children:[(0,l.jsx)(y.Z,{span:8,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})}),(0,l.jsx)(y.Z,{span:15,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})})]}),(0,l.jsxs)(C.Z,{gutter:8,children:[(0,l.jsx)(y.Z,{span:6,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})}),(0,l.jsx)(y.Z,{span:18,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})})]}),(0,l.jsxs)(C.Z,{gutter:8,children:[(0,l.jsx)(y.Z,{span:13,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})}),(0,l.jsx)(y.Z,{span:9,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})})]}),(0,l.jsxs)(C.Z,{gutter:8,children:[(0,l.jsx)(y.Z,{span:4,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})}),(0,l.jsx)(y.Z,{span:3,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})}),(0,l.jsx)(y.Z,{span:16,children:(0,l.jsx)("div",{className:"".concat(i,"-loading-block")})})]})]}))},ra=V,la=r(13286),k=function(a){return{backgroundColor:a.controlItemBgActive,borderColor:a.controlOutline}},ia=function(a){var t,i,g,f,s=a.componentCls;return f={},(0,n.Z)(f,s,(0,c.Z)((0,c.Z)({position:"relative",display:"flex",flexDirection:"column",boxSizing:"border-box",width:"100%",marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,backgroundColor:a.colorBgContainer,borderRadius:a.borderRadius},d.Wf===null||d.Wf===void 0?void 0:(0,d.Wf)(a)),{},(t={"*":{boxSizing:"border-box",fontFamily:a.fontFamily},"&-box-shadow":{boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017",borderColor:"transparent"},"&-col":{width:"100%"},"&-border":{border:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)},"&-hoverable":(0,n.Z)({cursor:"pointer",transition:"box-shadow 0.3s, border-color 0.3s","&:hover":{borderColor:"transparent",boxShadow:"0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017"}},"&".concat(s,"-checked:hover"),{borderColor:a.controlOutline}),"&-checked":(0,c.Z)((0,c.Z)({},k(a)),{},{"&::after":{position:"absolute",insetBlockStart:2,insetInlineEnd:2,width:0,height:0,border:"6px solid ".concat(a.colorPrimary),borderBlockEnd:"6px solid transparent",borderInlineStart:"6px solid transparent",borderStartEndRadius:2,content:'""'}}),"&:focus":(0,c.Z)({},k(a)),"&&-size-small":(0,n.Z)({},s,{"&-header":{paddingInline:a.paddingSM,paddingBlock:a.paddingXS,paddingBlockEnd:0,"&-border":{paddingBlockEnd:a.paddingXS}},"&-title":{fontSize:a.fontSize},"&-body":{paddingInline:a.paddingSM,paddingBlock:a.paddingSM}}),"&&-ghost":(0,n.Z)({backgroundColor:"transparent"},"> ".concat(s),{"&-header":{paddingInlineEnd:0,paddingBlockEnd:a.padding,paddingInlineStart:0},"&-body":{paddingBlock:0,paddingInline:0,backgroundColor:"transparent"}}),"&&-split > &-body":{paddingBlock:0,paddingInline:0},"&&-contain-card > &-body":{display:"flex"}},(0,n.Z)(t,"".concat(s,"-body-direction-column"),{flexDirection:"column"}),(0,n.Z)(t,"".concat(s,"-body-wrap"),{flexWrap:"wrap"}),(0,n.Z)(t,"&&-collapse",(0,n.Z)({},"> ".concat(s),{"&-header":{paddingBlockEnd:a.padding,borderBlockEnd:0},"&-body":{display:"none"}})),(0,n.Z)(t,"".concat(s,"-header"),{display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:a.paddingLG,paddingBlock:a.padding,paddingBlockEnd:0,"&-border":{"&":{paddingBlockEnd:a.padding},borderBlockEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)},"&-collapsible":{cursor:"pointer"}}),(0,n.Z)(t,"".concat(s,"-title"),{color:a.colorText,fontWeight:500,fontSize:a.fontSizeLG,lineHeight:a.lineHeight}),(0,n.Z)(t,"".concat(s,"-extra"),{color:a.colorText}),(0,n.Z)(t,"".concat(s,"-type-inner"),(0,n.Z)({},"".concat(s,"-header"),{backgroundColor:a.colorFillAlter})),(0,n.Z)(t,"".concat(s,"-collapsible-icon"),{marginInlineEnd:a.marginXS,color:a.colorIconHover,":hover":{color:a.colorPrimaryHover},"& svg":{transition:"transform ".concat(a.motionDurationMid)}}),(0,n.Z)(t,"".concat(s,"-body"),{display:"block",boxSizing:"border-box",height:"100%",paddingInline:a.paddingLG,paddingBlock:a.padding,"&-center":{display:"flex",alignItems:"center",justifyContent:"center"}}),t))),(0,n.Z)(f,"".concat(s,"-col"),(i={},(0,n.Z)(i,"&".concat(s,"-split-vertical"),{borderInlineEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)}),(0,n.Z)(i,"&".concat(s,"-split-horizontal"),{borderBlockEnd:"".concat(a.lineWidth,"px ").concat(a.lineType," ").concat(a.colorSplit)}),i)),(0,n.Z)(f,"".concat(s,"-tabs"),(g={},(0,n.Z)(g,"".concat(a.antCls,"-tabs-top > ").concat(a.antCls,"-tabs-nav"),(0,n.Z)({marginBlockEnd:0},"".concat(a.antCls,"-tabs-nav-list"),{marginBlockStart:a.marginXS,paddingInlineStart:a.padding})),(0,n.Z)(g,"".concat(a.antCls,"-tabs-bottom > ").concat(a.antCls,"-tabs-nav"),(0,n.Z)({marginBlockEnd:0},"".concat(a.antCls,"-tabs-nav-list"),{paddingInlineStart:a.padding})),(0,n.Z)(g,"".concat(a.antCls,"-tabs-left"),(0,n.Z)({},"".concat(a.antCls,"-tabs-content-holder"),(0,n.Z)({},"".concat(a.antCls,"-tabs-content"),(0,n.Z)({},"".concat(a.antCls,"-tabs-tabpane"),{paddingInlineStart:0})))),(0,n.Z)(g,"".concat(a.antCls,"-tabs-left > ").concat(a.antCls,"-tabs-nav"),(0,n.Z)({marginInlineEnd:0},"".concat(a.antCls,"-tabs-nav-list"),{paddingBlockStart:a.padding})),(0,n.Z)(g,"".concat(a.antCls,"-tabs-right"),(0,n.Z)({},"".concat(a.antCls,"-tabs-content-holder"),(0,n.Z)({},"".concat(a.antCls,"-tabs-content"),(0,n.Z)({},"".concat(a.antCls,"-tabs-tabpane"),{paddingInlineStart:0})))),(0,n.Z)(g,"".concat(a.antCls,"-tabs-right > ").concat(a.antCls,"-tabs-nav"),(0,n.Z)({},"".concat(a.antCls,"-tabs-nav-list"),{paddingBlockStart:a.padding})),g)),f},fa=24,Ga=function(a,t){var i=t.componentCls;return a===0?(0,n.Z)({},"".concat(i,"-col-0"),{display:"none"}):(0,n.Z)({},"".concat(i,"-col-").concat(a),{flexShrink:0,width:"".concat(a/fa*100,"%")})},$a=function(a){return Array(fa+1).fill(1).map(function(t,i){return Ga(i,a)})};function Ka(o){return(0,d.Xj)("ProCard",function(a){var t=(0,c.Z)((0,c.Z)({},a),{},{componentCls:".".concat(o)});return[ia(t),$a(t)]})}var Ha=["className","style","bodyStyle","headStyle","title","subTitle","extra","tip","wrap","layout","loading","gutter","tooltip","split","headerBordered","bordered","boxShadow","children","size","actions","ghost","hoverable","direction","collapsed","collapsible","collapsibleIconRender","defaultCollapsed","onCollapse","checked","onChecked","tabs","type"],Ua=L.useBreakpoint,Xa=p.forwardRef(function(o,a){var t,i,g,f=o.className,s=o.style,aa=o.bodyStyle,J=aa===void 0?{}:aa,xa=o.headStyle,wa=xa===void 0?{}:xa,Ca=o.title,Va=o.subTitle,ea=o.extra,Ja=o.tip,ma=o.wrap,Qa=ma===void 0?!1:ma,Ya=o.layout,Q=o.loading,ba=o.gutter,_a=ba===void 0?0:ba,qa=o.tooltip,Y=o.split,Za=o.headerBordered,ka=Za===void 0?!1:Za,Sa=o.bordered,an=Sa===void 0?!1:Sa,Pa=o.boxShadow,nn=Pa===void 0?!1:Pa,ca=o.children,Ia=o.size,ja=o.actions,Ba=o.ghost,tn=Ba===void 0?!1:Ba,Ea=o.hoverable,on=Ea===void 0?!1:Ea,rn=o.direction,Ta=o.collapsed,Da=o.collapsible,ln=Da===void 0?!1:Da,Aa=o.collapsibleIconRender,Ma=o.defaultCollapsed,en=Ma===void 0?!1:Ma,cn=o.onCollapse,dn=o.checked,da=o.onChecked,N=o.tabs,sa=o.type,_=(0,$.Z)(o,Ha),sn=(0,p.useContext)(j.ZP.ConfigContext),vn=sn.getPrefixCls,Na=Ua(),gn=(0,G.Z)(en,{value:Ta,onChange:cn}),za=(0,O.Z)(gn,2),na=za[0],un=za[1],ta=["xxl","xl","lg","md","sm","xs"],hn=(0,la.g)(N==null?void 0:N.items,ca,N),pn=function(h){var u=[0,0],P=Array.isArray(h)?h:[h,0];return P.forEach(function(I,z){if((0,S.Z)(I)==="object")for(var T=0;T=0&&T<=24),P)),Sn=Oa((0,l.jsx)("div",{style:(0,c.Z)((0,c.Z)((0,c.Z)({},q),va(ga>0,{paddingInlineEnd:ga/2,paddingInlineStart:ga/2})),va(ua>0,{paddingBlockStart:ua/2,paddingBlockEnd:ua/2})),className:Zn,children:p.cloneElement(m)}));return p.cloneElement(Sn,{key:"pro-card-col-".concat((m==null?void 0:m.key)||h)})}return m}),Cn=x()("".concat(e),f,E,(t={},(0,n.Z)(t,"".concat(e,"-border"),an),(0,n.Z)(t,"".concat(e,"-box-shadow"),nn),(0,n.Z)(t,"".concat(e,"-contain-card"),ha),(0,n.Z)(t,"".concat(e,"-loading"),Q),(0,n.Z)(t,"".concat(e,"-split"),Y==="vertical"||Y==="horizontal"),(0,n.Z)(t,"".concat(e,"-ghost"),tn),(0,n.Z)(t,"".concat(e,"-hoverable"),on),(0,n.Z)(t,"".concat(e,"-size-").concat(Ia),Ia),(0,n.Z)(t,"".concat(e,"-type-").concat(sa),sa),(0,n.Z)(t,"".concat(e,"-collapse"),na),(0,n.Z)(t,"".concat(e,"-checked"),dn),t)),mn=x()("".concat(e,"-body"),E,(i={},(0,n.Z)(i,"".concat(e,"-body-center"),Ya==="center"),(0,n.Z)(i,"".concat(e,"-body-direction-column"),Y==="horizontal"||rn==="column"),(0,n.Z)(i,"".concat(e,"-body-wrap"),Qa&&ha),i)),bn=J,La=p.isValidElement(Q)?Q:(0,l.jsx)(ra,{prefix:e,style:J.padding===0||J.padding==="0px"?{padding:24}:void 0}),oa=ln&&Ta===void 0&&(Aa?Aa({collapsed:na}):(0,l.jsx)(W.Z,{rotate:na?void 0:90,className:"".concat(e,"-collapsible-icon ").concat(E)}));return Oa((0,l.jsxs)("div",(0,c.Z)((0,c.Z)({className:Cn,style:s,ref:a,onClick:function(h){var u;da==null||da(h),_==null||(u=_.onClick)===null||u===void 0||u.call(_,h)}},(0,X.Z)(_,["prefixCls","colSpan"])),{},{children:[(Ca||ea||oa)&&(0,l.jsxs)("div",{className:x()("".concat(e,"-header"),E,(g={},(0,n.Z)(g,"".concat(e,"-header-border"),ka||sa==="inner"),(0,n.Z)(g,"".concat(e,"-header-collapsible"),oa),g)),style:wa,onClick:function(){oa&&un(!na)},children:[(0,l.jsxs)("div",{className:"".concat(e,"-title ").concat(E),children:[oa,(0,l.jsx)(K.G,{label:Ca,tooltip:qa||Ja,subTitle:Va})]}),ea&&(0,l.jsx)("div",{className:"".concat(e,"-extra ").concat(E),children:ea})]}),N?(0,l.jsx)("div",{className:"".concat(e,"-tabs ").concat(E),children:(0,l.jsx)(D.Z,(0,c.Z)((0,c.Z)({onChange:N.onChange},N),{},{items:hn,children:Q?La:ca}))}):(0,l.jsx)("div",{className:mn,style:bn,children:Q?La:xn}),ja?(0,l.jsx)(M,{actions:ja,prefixCls:e}):null]})))}),Fa=Xa},44962:function(ya,R,r){r.d(R,{Z:function(){return j}});var c=r(4942),n=r(85893),S=r(58720),O=r(94184),$=r.n(O),l=r(67294),W=r(1413),K=r(98082),H=function(v){var x=v.componentCls;return(0,c.Z)({},x,{"&-divider":{flex:"none",width:v.lineWidth,marginInline:v.marginXS,marginBlock:v.marginLG,backgroundColor:v.colorSplit,"&-horizontal":{width:"initial",height:v.lineWidth,marginInline:v.marginLG,marginBlock:v.marginXS}},"&&-size-small &-divider":{marginBlock:v.marginLG,marginInline:v.marginXS,"&-horizontal":{marginBlock:v.marginXS,marginInline:v.marginLG}}})};function U(D){return(0,K.Xj)("ProCardDivider",function(v){var x=(0,W.Z)((0,W.Z)({},v),{},{componentCls:".".concat(D)});return[H(x)]})}var L=function(v){var x=(0,l.useContext)(S.ZP.ConfigContext),X=x.getPrefixCls,G=X("pro-card"),p="".concat(G,"-divider"),d=U(G),b=d.wrapSSR,A=d.hashId,Z=v.className,B=v.style,M=B===void 0?{}:B,C=v.type,y=$()(p,Z,A,(0,c.Z)({},"".concat(p,"-").concat(C),C));return b((0,n.jsx)("div",{className:y,style:M}))},j=L},13286:function(ya,R,r){r.d(R,{g:function(){return X}});var c=r(45987),n=r(1413),S=r(85893),O=r(58720),$=r(67159),l=r(93980),W=r(94184),K=r.n(W),H=r(45598),U=r(45520),L=r(67294),j=r(4270),D=["tab","children"],v=["key","tab","tabKey","disabled","destroyInactiveTabPane","children","className","style","cardProps"];function x(p){return p.filter(function(d){return d})}function X(p,d,b){if(p)return p.map(function(Z){return(0,n.Z)((0,n.Z)({},Z),{},{children:(0,S.jsx)(j.Z,(0,n.Z)((0,n.Z)({},b==null?void 0:b.cardProps),{},{children:Z.children}))})});(0,U.noteOnce)(!b,"Tabs.TabPane is deprecated. Please use `items` directly.");var A=(0,H.Z)(d).map(function(Z){if(L.isValidElement(Z)){var B=Z.key,M=Z.props,C=M||{},y=C.tab,F=C.children,w=(0,c.Z)(C,D),V=(0,n.Z)((0,n.Z)({key:String(B)},w),{},{children:(0,S.jsx)(j.Z,(0,n.Z)((0,n.Z)({},b==null?void 0:b.cardProps),{},{children:F})),label:y});return V}return null});return x(A)}var G=function(d){var b=(0,L.useContext)(O.ZP.ConfigContext),A=b.getPrefixCls;if($.Z.startsWith("5"))return(0,S.jsx)(S.Fragment,{});var Z=d.key,B=d.tab,M=d.tabKey,C=d.disabled,y=d.destroyInactiveTabPane,F=d.children,w=d.className,V=d.style,ra=d.cardProps,la=(0,c.Z)(d,v),k=A("pro-card-tabpane"),ia=K()(k,w);return(0,S.jsx)(l.Z.TabPane,(0,n.Z)((0,n.Z)({tabKey:M,tab:B,className:ia,style:V,disabled:C,destroyInactiveTabPane:y},la),{},{children:(0,S.jsx)(j.Z,(0,n.Z)((0,n.Z)({},ra),{},{children:F}))}),Z)};R.Z=G}}]); diff --git a/statics/7676.bbd70425.async.js b/statics/7676.bbd70425.async.js new file mode 100644 index 00000000..d67e8778 --- /dev/null +++ b/statics/7676.bbd70425.async.js @@ -0,0 +1,41 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7676],{47676:function(it,Qe,D){"use strict";D.d(Qe,{Z:function(){return mo}});var Re=D(27484),Ce=D.n(Re),Oe=D(80334),ve=D(72540),Le=D.n(ve),Ve=D(96036),Ct=D.n(Ve),oe=D(55183),Ee=D.n(oe),pt=D(172),Xt=D.n(pt),ie=D(28734),ye=D.n(ie),Te=D(10285),Ye=D.n(Te);Ce().extend(Ye()),Ce().extend(ye()),Ce().extend(Le()),Ce().extend(Ct()),Ce().extend(Ee()),Ce().extend(Xt()),Ce().extend(function(e,t){var n=t.prototype,a=n.format;n.format=function(o){var i=(o||"").replace("Wo","wo");return a.bind(this)(i)}});var _e={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},je=function(t){var n=_e[t];return n||t.split("_")[0]},vt=function(){(0,Oe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},mt={getNow:function(){return Ce()()},getFixedDate:function(t){return Ce()(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Ce()().locale(je(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(je(t)).weekday(0)},getWeek:function(t,n){return n.locale(je(t)).week()},getShortWeekDays:function(t){return Ce()().locale(je(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Ce()().locale(je(t)).localeData().monthsShort()},format:function(t,n,a){return n.locale(je(t)).format(a)},parse:function(t,n,a){for(var r=je(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",a=String(e);a.length2&&arguments[2]!==void 0?arguments[2]:[],a=l.useState([!1,!1]),r=(0,w.Z)(a,2),o=r[0],i=r[1],c=function(u,v){i(function(m){return an(m,v,u)})},s=l.useMemo(function(){return o.map(function(d,u){if(d)return!0;var v=e[u];return v?!!(!n[u]&&!v||v&&t(v,{activeIndex:u})):!1})},[e,o,t,n]);return[s,c]}function Ha(e,t,n,a,r){var o="",i=[];return e&&i.push(r?"hh":"HH"),t&&i.push("mm"),n&&i.push("ss"),o=i.join(":"),a&&(o+=".SSS"),r&&(o+=" A"),o}function Fr(e,t,n,a,r,o){var i=e.fieldDateTimeFormat,c=e.fieldDateFormat,s=e.fieldTimeFormat,d=e.fieldMonthFormat,u=e.fieldYearFormat,v=e.fieldWeekFormat,m=e.fieldQuarterFormat,g=e.yearFormat,f=e.cellYearFormat,p=e.cellQuarterFormat,h=e.dayFormat,C=e.cellDateFormat,k=Ha(t,n,a,r,o);return(0,Q.Z)((0,Q.Z)({},e),{},{fieldDateTimeFormat:i||"YYYY-MM-DD ".concat(k),fieldDateFormat:c||"YYYY-MM-DD",fieldTimeFormat:s||k,fieldMonthFormat:d||"YYYY-MM",fieldYearFormat:u||"YYYY",fieldWeekFormat:v||"gggg-wo",fieldQuarterFormat:m||"YYYY-[Q]Q",yearFormat:g||"YYYY",cellYearFormat:f||"YYYY",cellQuarterFormat:p||"[Q]Q",cellDateFormat:C||h||"D"})}function Ta(e,t){var n=t.showHour,a=t.showMinute,r=t.showSecond,o=t.showMillisecond,i=t.use12Hours;return l.useMemo(function(){return Fr(e,n,a,r,o,i)},[e,n,a,r,o,i])}var rn=D(71002);function ln(e,t,n){return n!=null?n:t.some(function(a){return e.includes(a)})}var Vr=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Hr(e){var t=hn(e,Vr),n=e.format,a=e.picker,r=null;return n&&(r=n,Array.isArray(r)&&(r=r[0]),r=(0,rn.Z)(r)==="object"?r.format:r),a==="time"&&(t.format=r),[t,r]}function Tr(e){return e&&typeof e=="string"}function Ya(e,t,n,a){return[e,t,n,a].some(function(r){return r!==void 0})}function Aa(e,t,n,a,r){var o=t,i=n,c=a;if(!e&&!o&&!i&&!c&&!r)o=!0,i=!0,c=!0;else if(e){var s,d,u,v=[o,i,c].some(function(f){return f===!1}),m=[o,i,c].some(function(f){return f===!0}),g=v?!0:!m;o=(s=o)!==null&&s!==void 0?s:g,i=(d=i)!==null&&d!==void 0?d:g,c=(u=c)!==null&&u!==void 0?u:g}return[o,i,c,r]}function Ba(e){var t=e.showTime,n=Hr(e),a=(0,w.Z)(n,2),r=a[0],o=a[1],i=t&&(0,rn.Z)(t)==="object"?t:{},c=(0,Q.Z)((0,Q.Z)({defaultOpenValue:i.defaultOpenValue||i.defaultValue},r),i),s=c.showMillisecond,d=c.showHour,u=c.showMinute,v=c.showSecond,m=Ya(d,u,v,s),g=Aa(m,d,u,v,s),f=(0,w.Z)(g,3);return d=f[0],u=f[1],v=f[2],[c,(0,Q.Z)((0,Q.Z)({},c),{},{showHour:d,showMinute:u,showSecond:v,showMillisecond:s}),c.format,o]}function La(e,t,n,a,r){var o=e==="time";if(e==="datetime"||o){for(var i=a,c=Na(e,r,null),s=c,d=[t,n],u=0;u1&&(i=t.addDate(i,-7)),i}function Ue(e,t){var n=t.generateConfig,a=t.locale,r=t.format;return e?typeof r=="function"?r(e):n.locale.format(a.locale,e,r):""}function bn(e,t,n){var a=t,r=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(i,c){n?a=e[i](a,e[r[c]](n)):a=e[i](a,0)}),a}function Lr(e,t,n,a,r){var o=(0,Ze.zX)(function(i,c){return!!(n&&n(i,c)||a&&e.isAfter(a,i)&&!Je(e,t,a,i,c.type)||r&&e.isAfter(i,r)&&!Je(e,t,r,i,c.type))});return o}function Wr(e,t,n){return l.useMemo(function(){var a=Na(e,t,n),r=Yt(a),o=r[0],i=(0,rn.Z)(o)==="object"&&o.type==="mask"?o.format:null;return[r.map(function(c){return typeof c=="string"||typeof c=="function"?c:c.format}),i]},[e,t,n])}function zr(e,t,n){return typeof e[0]=="function"||n?!0:t}function jr(e,t,n,a){var r=(0,Ze.zX)(function(o,i){var c=(0,Q.Z)({type:t},i);if(delete c.activeIndex,!e.isValidate(o)||n&&n(o,c))return!0;if((t==="date"||t==="time")&&a){var s,d=i&&i.activeIndex===1?"end":"start",u=((s=a.disabledTime)===null||s===void 0?void 0:s.call(a,o,d,{from:c.from}))||{},v=u.disabledHours,m=u.disabledMinutes,g=u.disabledSeconds,f=u.disabledMilliseconds,p=a.disabledHours,h=a.disabledMinutes,C=a.disabledSeconds,k=v||p,S=m||h,b=g||C,M=e.getHour(o),y=e.getMinute(o),x=e.getSecond(o),H=e.getMillisecond(o);if(k&&k().includes(M)||S&&S(M).includes(y)||b&&b(M,y).includes(x)||f&&f(M,y,x).includes(H))return!0}return!1});return r}function Sn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=l.useMemo(function(){var a=e&&Yt(e);return t&&a&&(a[1]=a[1]||a[0]),a},[e,t]);return n}function Ua(e,t){var n=e.generateConfig,a=e.locale,r=e.picker,o=r===void 0?"date":r,i=e.prefixCls,c=i===void 0?"rc-picker":i,s=e.styles,d=s===void 0?{}:s,u=e.classNames,v=u===void 0?{}:u,m=e.order,g=m===void 0?!0:m,f=e.components,p=f===void 0?{}:f,h=e.inputRender,C=e.allowClear,k=e.clearIcon,S=e.needConfirm,b=e.multiple,M=e.format,y=e.inputReadOnly,x=e.disabledDate,H=e.minDate,$=e.maxDate,R=e.showTime,I=e.value,A=e.defaultValue,T=e.pickerValue,L=e.defaultPickerValue,Z=Sn(I),O=Sn(A),B=Sn(T),j=Sn(L),F=o==="date"&&R?"datetime":o,N=F==="time"||F==="datetime",E=N||b,P=S!=null?S:N,V=Ba(e),Y=(0,w.Z)(V,4),J=Y[0],G=Y[1],W=Y[2],X=Y[3],ee=Ta(a,G),ue=l.useMemo(function(){return La(F,W,X,J,ee)},[F,W,X,J,ee]),ne=l.useMemo(function(){return(0,Q.Z)((0,Q.Z)({},e),{},{prefixCls:c,locale:ee,picker:o,styles:d,classNames:v,order:g,components:(0,Q.Z)({input:h},p),clearIcon:Yr(c,C,k),showTime:ue,value:Z,defaultValue:O,pickerValue:B,defaultPickerValue:j},t==null?void 0:t())},[e]),q=Wr(F,ee,M),de=(0,w.Z)(q,2),be=de[0],Me=de[1],te=zr(be,y,b),we=Lr(n,a,x,H,$),ke=jr(n,o,we,ue),$e=l.useMemo(function(){return(0,Q.Z)((0,Q.Z)({},ne),{},{needConfirm:P,inputReadOnly:te,disabledDate:we})},[ne,P,te,we]);return[$e,F,E,be,Me,ke]}var Dt=D(75164);function Ur(e,t,n){var a=(0,Ze.C8)(t,{value:e}),r=(0,w.Z)(a,2),o=r[0],i=r[1],c=l.useRef(e),s=l.useRef(),d=function(){Dt.Z.cancel(s.current)},u=(0,Ze.zX)(function(){i(c.current),n&&o!==c.current&&n(c.current)}),v=(0,Ze.zX)(function(m,g){d(),c.current=m,m||g?u():s.current=(0,Dt.Z)(u)});return l.useEffect(function(){return d},[]),[o,v]}function Xa(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0,r=n.every(function(u){return u})?!1:e,o=Ur(r,t||!1,a),i=(0,w.Z)(o,2),c=i[0],s=i[1];function d(u){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!v.inherit||c)&&s(u,v.force)}return[c,d]}function Ka(e){var t=l.useRef();return l.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(r){var o;(o=t.current)===null||o===void 0||o.focus(r)},blur:function(){var r;(r=t.current)===null||r===void 0||r.blur()}}}),t}function Ga(e,t){return l.useMemo(function(){return e||(t?((0,Oe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var a=(0,w.Z)(n,2),r=a[0],o=a[1];return{label:r,value:o}})):[])},[e,t])}function Gn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,a=l.useRef(t);a.current=t,(0,lt.o)(function(){if(e)a.current(e);else{var r=(0,Dt.Z)(function(){a.current(e)},n);return function(){Dt.Z.cancel(r)}}},[e])}function Qa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=l.useState(0),a=(0,w.Z)(n,2),r=a[0],o=a[1],i=l.useState(!1),c=(0,w.Z)(i,2),s=c[0],d=c[1],u=l.useRef([]),v=l.useRef(null),m=function(h){d(h)},g=function(h){return h&&(v.current=h),v.current},f=function(h){var C=u.current,k=new Set(C.filter(function(b){return h[b]||t[b]})),S=C[C.length-1]===0?1:0;return k.size>=2||e[S]?null:S};return Gn(s,function(){s||(u.current=[])}),l.useEffect(function(){s&&u.current.push(r)},[s,r]),[s,m,g,r,o,f,u.current]}function Xr(e,t,n,a,r,o){var i=n[n.length-1],c=function(d,u){var v=(0,w.Z)(e,2),m=v[0],g=v[1],f=(0,Q.Z)((0,Q.Z)({},u),{},{from:Oa(e,n)});return i===1&&t[0]&&m&&!Je(a,r,m,d,f.type)&&a.isAfter(m,d)||i===0&&t[1]&&g&&!Je(a,r,g,d,f.type)&&a.isAfter(d,g)?!0:o==null?void 0:o(d,f)};return c}function un(e,t,n,a){switch(t){case"date":case"week":return e.addMonth(n,a);case"month":case"quarter":return e.addYear(n,a);case"year":return e.addYear(n,a*10);case"decade":return e.addYear(n,a*100);default:return n}}var Qn=[];function Ja(e,t,n,a,r,o,i,c){var s=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Qn,d=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Qn,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Qn,v=arguments.length>11?arguments[11]:void 0,m=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,f=i==="time",p=o||0,h=function(B){var j=e.getNow();return f&&(j=bn(e,j)),s[B]||n[B]||j},C=(0,w.Z)(d,2),k=C[0],S=C[1],b=(0,Ze.C8)(function(){return h(0)},{value:k}),M=(0,w.Z)(b,2),y=M[0],x=M[1],H=(0,Ze.C8)(function(){return h(1)},{value:S}),$=(0,w.Z)(H,2),R=$[0],I=$[1],A=l.useMemo(function(){var O=[y,R][p];return f?O:bn(e,O,u[p])},[f,y,R,p,e,u]),T=function(B){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",F=[x,I][p];F(B);var N=[y,R];N[p]=B,v&&(!Je(e,t,y,N[0],i)||!Je(e,t,R,N[1],i))&&v(N,{source:j,range:p===1?"end":"start",mode:a})},L=function(B,j){if(c){var F={date:"month",week:"month",month:"year",quarter:"year"},N=F[i];if(N&&!Je(e,t,B,j,N))return un(e,i,j,-1);if(i==="year"){var E=Math.floor(e.getYear(B)/10),P=Math.floor(e.getYear(j)/10);if(E!==P)return un(e,i,j,-1)}}return j},Z=l.useRef(null);return(0,lt.Z)(function(){if(r&&!s[p]){var O=f?null:e.getNow();if(Z.current!==null&&Z.current!==p?O=[y,R][p^1]:n[p]?O=p===0?n[0]:L(n[0],n[1]):n[p^1]&&(O=n[p^1]),O){m&&e.isAfter(m,O)&&(O=m);var B=c?un(e,i,O,1):O;g&&e.isAfter(B,g)&&(O=c?un(e,i,g,-1):g),T(O,"reset")}}},[r,p,n[p]]),l.useEffect(function(){r?Z.current=p:Z.current=null},[r,p]),(0,lt.Z)(function(){r&&s&&s[p]&&T(s[p],"reset")},[r,p]),[A,T]}function qa(e,t){var n=l.useRef(e),a=l.useState({}),r=(0,w.Z)(a,2),o=r[1],i=function(d){return d&&t!==void 0?t:n.current},c=function(d){n.current=d,o({})};return[i,c,i(!0)]}var Kr=[];function _a(e,t,n){var a=function(i){return i.map(function(c){return Ue(c,{generateConfig:e,locale:t,format:n[0]})})},r=function(i,c){for(var s=Math.max(i.length,c.length),d=-1,u=0;u2&&arguments[2]!==void 0?arguments[2]:1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,i=[],c=n>=1?n|0:1,s=e;s<=t;s+=c){var d=r.includes(s);(!d||!a)&&i.push({label:Wn(s,o),value:s,disabled:d})}return i}function Jn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=t||{},r=a.use12Hours,o=a.hourStep,i=o===void 0?1:o,c=a.minuteStep,s=c===void 0?1:c,d=a.secondStep,u=d===void 0?1:d,v=a.millisecondStep,m=v===void 0?100:v,g=a.hideDisabledOptions,f=a.disabledTime,p=a.disabledHours,h=a.disabledMinutes,C=a.disabledSeconds,k=l.useMemo(function(){return n||e.getNow()},[n,e]);if(!1)var S,b,M;var y=l.useCallback(function(E){var P=(f==null?void 0:f(E))||{};return[P.disabledHours||p||yn,P.disabledMinutes||h||yn,P.disabledSeconds||C||yn,P.disabledMilliseconds||yn]},[f,p,h,C]),x=l.useMemo(function(){return y(k)},[k,y]),H=(0,w.Z)(x,4),$=H[0],R=H[1],I=H[2],A=H[3],T=l.useCallback(function(E,P,V,Y){var J=kn(0,23,i,g,E()),G=r?J.map(function(ue){return(0,Q.Z)((0,Q.Z)({},ue),{},{label:Wn(ue.value%12||12,2)})}):J,W=function(ne){return kn(0,59,s,g,P(ne))},X=function(ne,q){return kn(0,59,u,g,V(ne,q))},ee=function(ne,q,de){return kn(0,999,m,g,Y(ne,q,de),3)};return[G,W,X,ee]},[g,i,r,m,s,u]),L=l.useMemo(function(){return T($,R,I,A)},[T,$,R,I,A]),Z=(0,w.Z)(L,4),O=Z[0],B=Z[1],j=Z[2],F=Z[3],N=function(P,V){var Y=function(){return O},J=B,G=j,W=F;if(V){var X=y(V),ee=(0,w.Z)(X,4),ue=ee[0],ne=ee[1],q=ee[2],de=ee[3],be=T(ue,ne,q,de),Me=(0,w.Z)(be,4),te=Me[0],we=Me[1],ke=Me[2],$e=Me[3];Y=function(){return te},J=we,G=ke,W=$e}var he=Qr(P,Y,J,G,W,e);return he};return[N,O,B,j,F]}function Jr(e){var t=e.mode,n=e.internalMode,a=e.renderExtraFooter,r=e.showNow,o=e.showTime,i=e.onSubmit,c=e.onNow,s=e.invalid,d=e.needConfirm,u=e.generateConfig,v=e.disabledDate,m=l.useContext(ht),g=m.prefixCls,f=m.locale,p=m.button,h=p===void 0?"button":p,C=u.getNow(),k=Jn(u,o,C),S=(0,w.Z)(k,1),b=S[0],M=a==null?void 0:a(t),y=v(C,{type:t}),x=function(){if(!y){var L=b(C);c(L)}},H="".concat(g,"-now"),$="".concat(H,"-btn"),R=r&&l.createElement("li",{className:H},l.createElement("a",{className:Fe()($,y&&"".concat($,"-disabled")),"aria-disabled":y,onClick:x},n==="date"?f.today:f.now)),I=d&&l.createElement("li",{className:"".concat(g,"-ok")},l.createElement(h,{disabled:s,onClick:i},f.ok)),A=(R||I)&&l.createElement("ul",{className:"".concat(g,"-ranges")},R,I);return!M&&!A?null:l.createElement("div",{className:"".concat(g,"-footer")},M&&l.createElement("div",{className:"".concat(g,"-footer-extra")},M),A)}function lr(e,t,n){function a(r,o){var i=r.findIndex(function(s){return Je(e,t,s,o,n)});if(i===-1)return[].concat((0,Ke.Z)(r),[o]);var c=(0,Ke.Z)(r);return c.splice(i,1),c}return a}var Bt=l.createContext(null);function Pn(){return l.useContext(Bt)}function Gt(e,t){var n=e.prefixCls,a=e.generateConfig,r=e.locale,o=e.disabledDate,i=e.minDate,c=e.maxDate,s=e.cellRender,d=e.hoverValue,u=e.hoverRangeValue,v=e.onHover,m=e.values,g=e.pickerValue,f=e.onSelect,p=e.prevIcon,h=e.nextIcon,C=e.superPrevIcon,k=e.superNextIcon,S=a.getNow(),b={now:S,values:m,pickerValue:g,prefixCls:n,disabledDate:o,minDate:i,maxDate:c,cellRender:s,hoverValue:d,hoverRangeValue:u,onHover:v,locale:r,generateConfig:a,onSelect:f,panelType:t,prevIcon:p,nextIcon:h,superPrevIcon:C,superNextIcon:k};return[b,S]}var Zt=l.createContext({});function cn(e){for(var t=e.rowNum,n=e.colNum,a=e.baseDate,r=e.getCellDate,o=e.prefixColumn,i=e.rowClassName,c=e.titleFormat,s=e.getCellText,d=e.getCellClassName,u=e.headerCells,v=e.cellSelection,m=v===void 0?!0:v,g=e.disabledDate,f=Pn(),p=f.prefixCls,h=f.panelType,C=f.now,k=f.disabledDate,S=f.cellRender,b=f.onHover,M=f.hoverValue,y=f.hoverRangeValue,x=f.generateConfig,H=f.values,$=f.locale,R=f.onSelect,I=g||k,A="".concat(p,"-cell"),T=l.useContext(Zt),L=T.onCellDblClick,Z=function(V){return H.some(function(Y){return Y&&Je(x,$,V,Y,h)})},O=[],B=0;B1&&arguments[1]!==void 0?arguments[1]:!1;Ne(z),h==null||h(z),De&&Xe(z)},Pe=function(z,De){ee(z),De&&U(De),Xe(De,z)},_=function(z){if(ke(z),U(z),X!==b){var De=["decade","year"],Be=[].concat(De,["month"]),ze={quarter:[].concat(De,["quarter"]),week:[].concat((0,Ke.Z)(Be),["week"]),date:[].concat((0,Ke.Z)(Be),["date"])},St=ze[b]||Be,yt=St.indexOf(X),et=St[yt+1];et&&Pe(et,z)}},me=l.useMemo(function(){var K,z;if(Array.isArray(x)){var De=(0,w.Z)(x,2);K=De[0],z=De[1]}else K=x;return!K&&!z?null:(K=K||z,z=z||K,r.isAfter(K,z)?[z,K]:[K,z])},[x,r]),le=zn(H,$,R),He=A[ue]||sl[ue]||Mn,We=l.useContext(Zt),Ae=l.useMemo(function(){return(0,Q.Z)((0,Q.Z)({},We),{},{hideHeader:T})},[We,T]),ae="".concat(L,"-panel"),qe=hn(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return l.createElement(Zt.Provider,{value:Ae},l.createElement("div",{ref:Z,tabIndex:s,className:Fe()(ae,(0,ge.Z)({},"".concat(ae,"-rtl"),o==="rtl"))},l.createElement(He,(0,se.Z)({},qe,{showTime:Y,prefixCls:L,locale:P,generateConfig:r,onModeChange:Pe,pickerValue:Se,onPickerValueChange:function(z){U(z,!0)},value:te[0],onSelect:_,values:te,cellRender:le,hoverRangeValue:me,hoverValue:y}))))}var fl=l.memo(l.forwardRef(dl)),qn=fl;function vl(e){var t=e.picker,n=e.multiplePanel,a=e.pickerValue,r=e.onPickerValueChange,o=e.needConfirm,i=e.onSubmit,c=e.range,s=e.hoverValue,d=l.useContext(ht),u=d.prefixCls,v=d.generateConfig,m=l.useCallback(function(k,S){return un(v,t,k,S)},[v,t]),g=l.useMemo(function(){return m(a,1)},[a,m]),f=function(S){r(m(S,-1))},p={onCellDblClick:function(){o&&i()}},h=t==="time",C=(0,Q.Z)((0,Q.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:h});return c?C.hoverRangeValue=s:C.hoverValue=s,n?l.createElement("div",{className:"".concat(u,"-panels")},l.createElement(Zt.Provider,{value:(0,Q.Z)((0,Q.Z)({},p),{},{hideNext:!0})},l.createElement(qn,C)),l.createElement(Zt.Provider,{value:(0,Q.Z)((0,Q.Z)({},p),{},{hidePrev:!0})},l.createElement(qn,(0,se.Z)({},C,{pickerValue:g,onPickerValueChange:f})))):l.createElement(Zt.Provider,{value:(0,Q.Z)({},p)},l.createElement(qn,C))}function ir(e){return typeof e=="function"?e():e}function ml(e){var t=e.prefixCls,n=e.presets,a=e.onClick,r=e.onHover;return n.length?l.createElement("div",{className:"".concat(t,"-presets")},l.createElement("ul",null,n.map(function(o,i){var c=o.label,s=o.value;return l.createElement("li",{key:i,onClick:function(){a(ir(s))},onMouseEnter:function(){r(ir(s))},onMouseLeave:function(){r(null)}},c)}))):null}function ur(e){var t=e.panelRender,n=e.internalMode,a=e.picker,r=e.showNow,o=e.range,i=e.multiple,c=e.activeOffset,s=c===void 0?0:c,d=e.presets,u=e.onPresetHover,v=e.onPresetSubmit,m=e.onFocus,g=e.onBlur,f=e.direction,p=e.value,h=e.onSelect,C=e.isInvalid,k=e.defaultOpenValue,S=e.onOk,b=e.onSubmit,M=l.useContext(ht),y=M.prefixCls,x="".concat(y,"-panel"),H=f==="rtl",$=l.useRef(null),R=l.useRef(null),I=l.useState(0),A=(0,w.Z)(I,2),T=A[0],L=A[1],Z=l.useState(0),O=(0,w.Z)(Z,2),B=O[0],j=O[1],F=function(de){de.offsetWidth&&L(de.offsetWidth)};l.useEffect(function(){if(o){var q,de=((q=$.current)===null||q===void 0?void 0:q.offsetWidth)||0,be=T-de;s<=be?j(0):j(s+de-T)}},[T,s,o]);function N(q){return q.filter(function(de){return de})}var E=l.useMemo(function(){return N(Yt(p))},[p]),P=a==="time"&&!E.length,V=l.useMemo(function(){return P?N([k]):E},[P,E,k]),Y=P?k:E,J=l.useMemo(function(){return V.length?V.some(function(q){return C(q)}):!0},[V,C]),G=function(){P&&h(k),S(),b()},W=l.createElement("div",{className:"".concat(y,"-panel-layout")},l.createElement(ml,{prefixCls:y,presets:d,onClick:v,onHover:u}),l.createElement("div",null,l.createElement(vl,(0,se.Z)({},e,{value:Y})),l.createElement(Jr,(0,se.Z)({},e,{showNow:i?!1:r,invalid:J,onSubmit:G}))));t&&(W=t(W));var X="".concat(x,"-container"),ee="marginLeft",ue="marginRight",ne=l.createElement("div",{tabIndex:-1,className:Fe()(X,"".concat(y,"-").concat(n,"-panel-container")),style:(0,ge.Z)((0,ge.Z)({},H?ue:ee,B),H?ee:ue,"auto"),onFocus:m,onBlur:g},W);return o&&(ne=l.createElement("div",{ref:R,className:Fe()("".concat(y,"-range-wrapper"),"".concat(y,"-").concat(a,"-range-wrapper"))},l.createElement("div",{ref:$,className:"".concat(y,"-range-arrow"),style:(0,ge.Z)({},H?"right":"left",s)}),l.createElement(rr.Z,{onResize:F},ne))),ne}var Jt=D(45987);function cr(e,t){var n=e.format,a=e.maskFormat,r=e.generateConfig,o=e.locale,i=e.preserveInvalidOnBlur,c=e.inputReadOnly,s=e.required,d=e["aria-required"],u=e.onSubmit,v=e.onFocus,m=e.onBlur,g=e.onInputChange,f=e.onInvalid,p=e.open,h=e.onOpenChange,C=e.onKeyDown,k=e.onChange,S=e.activeHelp,b=e.name,M=e.autoComplete,y=e.id,x=e.value,H=e.invalid,$=e.placeholder,R=e.disabled,I=e.activeIndex,A=e.allHelp,T=e.picker,L=function(P,V){var Y=r.locale.parse(o.locale,P,[V]);return Y&&r.isValidate(Y)?Y:null},Z=n[0],O=l.useCallback(function(E){return Ue(E,{locale:o,format:Z,generateConfig:r})},[o,r,Z]),B=l.useMemo(function(){return x.map(O)},[x,O]),j=l.useMemo(function(){var E=T==="time"?8:10,P=typeof Z=="function"?Z(r.getNow()).length:Z.length;return Math.max(E,P)+2},[Z,T,r]),F=function(P){for(var V=0;V=c&&n<=s)return o;var d=Math.min(Math.abs(n-c),Math.abs(n-s));d0?wt:en));var jt=zt+kt,tn=en-wt+1;return String(wt+(tn+jt-wt)%tn)};switch(De){case"Backspace":case"Delete":Be="",ze=yt;break;case"ArrowLeft":Be="",et(-1);break;case"ArrowRight":Be="",et(1);break;case"ArrowUp":Be="",ze=Lt(1);break;case"ArrowDown":Be="",ze=Lt(-1);break;default:isNaN(Number(De))||(Be=P+De,ze=Be);break}if(Be!==null&&(V(Be),Be.length>=St&&(et(1),V(""))),ze!==null){var dt=q.slice(0,ke)+Wn(ze,St)+q.slice($e);Se(dt.slice(0,i.length))}ne({})},ae=l.useRef();(0,lt.Z)(function(){if(!(!L||!i||U.current)){if(!Me.match(q)){Se(i);return}return be.current.setSelectionRange(ke,$e),ae.current=(0,Dt.Z)(function(){be.current.setSelectionRange(ke,$e)}),function(){Dt.Z.cancel(ae.current)}}},[Me,i,L,q,G,ke,$e,ue,Se]);var qe=i?{onFocus:me,onBlur:He,onKeyDown:Ae,onMouseDown:Pe,onMouseUp:_,onPaste:Xe}:{};return l.createElement("div",{ref:de,className:Fe()(I,(0,ge.Z)((0,ge.Z)({},"".concat(I,"-active"),n&&r),"".concat(I,"-placeholder"),u))},l.createElement(R,(0,se.Z)({ref:be,"aria-invalid":h,autoComplete:"off"},k,{onKeyDown:We,onBlur:le},qe,{value:q,onChange:Ne})),l.createElement(Dn,{type:"suffix",icon:o}),C)}),ta=Pl,xl=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","onMouseDown","required","aria-required","autoFocus"],Ml=["index"];function Dl(e,t){var n=e.id,a=e.clearIcon,r=e.suffixIcon,o=e.separator,i=o===void 0?"~":o,c=e.activeIndex,s=e.activeHelp,d=e.allHelp,u=e.focused,v=e.onFocus,m=e.onBlur,g=e.onKeyDown,f=e.locale,p=e.generateConfig,h=e.placeholder,C=e.className,k=e.style,S=e.onClick,b=e.onClear,M=e.value,y=e.onChange,x=e.onSubmit,H=e.onInputChange,$=e.format,R=e.maskFormat,I=e.preserveInvalidOnBlur,A=e.onInvalid,T=e.disabled,L=e.invalid,Z=e.inputReadOnly,O=e.direction,B=e.onOpenChange,j=e.onActiveOffset,F=e.onMouseDown,N=e.required,E=e["aria-required"],P=e.autoFocus,V=(0,Jt.Z)(e,xl),Y=O==="rtl",J=l.useContext(ht),G=J.prefixCls,W=l.useMemo(function(){if(typeof n=="string")return[n];var _=n||{};return[_.start,_.end]},[n]),X=l.useRef(),ee=l.useRef(),ue=l.useRef(),ne=function(me){var le;return(le=[ee,ue][me])===null||le===void 0?void 0:le.current};l.useImperativeHandle(t,function(){return{nativeElement:X.current,focus:function(me){if((0,rn.Z)(me)==="object"){var le,He=me||{},We=He.index,Ae=We===void 0?0:We,ae=(0,Jt.Z)(He,Ml);(le=ne(Ae))===null||le===void 0||le.focus(ae)}else{var qe;(qe=ne(me!=null?me:0))===null||qe===void 0||qe.focus()}},blur:function(){var me,le;(me=ne(0))===null||me===void 0||me.blur(),(le=ne(1))===null||le===void 0||le.blur()}}});var q=sr(V),de=l.useMemo(function(){return Array.isArray(h)?h:[h,h]},[h]),be=cr((0,Q.Z)((0,Q.Z)({},e),{},{id:W,placeholder:de})),Me=(0,w.Z)(be,1),te=Me[0],we=Y?"right":"left",ke=l.useState((0,ge.Z)({position:"absolute",width:0},we,0)),$e=(0,w.Z)(ke,2),he=$e[0],Se=$e[1],Ne=(0,Ze.zX)(function(){var _=ne(c);if(_){var me=_.nativeElement,le=me.offsetWidth,He=me.offsetLeft,We=me.offsetParent,Ae=He;if(Y){var ae=We,qe=getComputedStyle(ae);Ae=ae.offsetWidth-parseFloat(qe.borderRightWidth)-parseFloat(qe.borderLeftWidth)-He-le}Se(function(K){return(0,Q.Z)((0,Q.Z)({},K),{},(0,ge.Z)({width:le},we,Ae))}),j(c===0?0:Ae)}});l.useEffect(function(){Ne()},[c]);var Xe=a&&(M[0]&&!T[0]||M[1]&&!T[1]),U=P&&!T[0],Pe=P&&!U&&!T[1];return l.createElement(rr.Z,{onResize:Ne},l.createElement("div",(0,se.Z)({},q,{className:Fe()(G,"".concat(G,"-range"),(0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)({},"".concat(G,"-focused"),u),"".concat(G,"-disabled"),T.every(function(_){return _})),"".concat(G,"-invalid"),L.some(function(_){return _})),"".concat(G,"-rtl"),Y),C),style:k,ref:X,onClick:S,onMouseDown:function(me){var le=me.target;le!==ee.current.inputElement&&le!==ue.current.inputElement&&me.preventDefault(),F==null||F(me)}}),l.createElement(ta,(0,se.Z)({ref:ee},te(0),{autoFocus:U,"date-range":"start"})),l.createElement("div",{className:"".concat(G,"-range-separator")},i),l.createElement(ta,(0,se.Z)({ref:ue},te(1),{autoFocus:Pe,"date-range":"end"})),l.createElement("div",{className:"".concat(G,"-active-bar"),style:he}),l.createElement(Dn,{type:"suffix",icon:r}),Xe&&l.createElement(_n,{icon:a,onClear:b})))}var wl=l.forwardRef(Dl),Il=wl;function fr(e,t){var n=e!=null?e:t;return Array.isArray(n)?n:[n,n]}function wn(e){return e===1?"end":"start"}function $l(e,t){var n=Ua(e,function(){var Ie=e.disabled,ce=e.allowEmpty,xe=fr(Ie,!1),Ge=fr(ce,!1);return{disabled:xe,allowEmpty:Ge}}),a=(0,w.Z)(n,6),r=a[0],o=a[1],i=a[2],c=a[3],s=a[4],d=a[5],u=r.prefixCls,v=r.styles,m=r.classNames,g=r.defaultValue,f=r.value,p=r.needConfirm,h=r.onKeyDown,C=r.disabled,k=r.allowEmpty,S=r.disabledDate,b=r.minDate,M=r.maxDate,y=r.defaultOpen,x=r.open,H=r.onOpenChange,$=r.locale,R=r.generateConfig,I=r.picker,A=r.showNow,T=r.showToday,L=r.showTime,Z=r.mode,O=r.onPanelChange,B=r.onCalendarChange,j=r.onOk,F=r.defaultPickerValue,N=r.pickerValue,E=r.onPickerValueChange,P=r.inputReadOnly,V=r.suffixIcon,Y=r.onFocus,J=r.onBlur,G=r.presets,W=r.ranges,X=r.components,ee=r.cellRender,ue=r.dateRender,ne=r.monthCellRender,q=r.onClick,de=Ka(t),be=Xa(x,y,C,H),Me=(0,w.Z)(be,2),te=Me[0],we=Me[1],ke=function(ce,xe){(C.some(function(Ge){return!Ge})||!ce)&&we(ce,xe)},$e=tr(R,$,c,!0,!1,g,f,B,j),he=(0,w.Z)($e,5),Se=he[0],Ne=he[1],Xe=he[2],U=he[3],Pe=he[4],_=Xe(),me=Qa(C,k),le=(0,w.Z)(me,7),He=le[0],We=le[1],Ae=le[2],ae=le[3],qe=le[4],K=le[5],z=le[6],De=function(ce,xe){We(!0),Y==null||Y(ce,{range:wn(xe!=null?xe:ae)})},Be=function(ce,xe){We(!1),J==null||J(ce,{range:wn(xe!=null?xe:ae)})},ze=l.useMemo(function(){if(!L)return null;var Ie=L.disabledTime,ce=Ie?function(xe){var Ge=wn(ae),Ft=Oa(_,z,ae);return Ie(xe,Ge,{from:Ft})}:void 0;return(0,Q.Z)((0,Q.Z)({},L),{},{disabledTime:ce})},[L,ae,_,z]),St=(0,Ze.C8)([I,I],{value:Z}),yt=(0,w.Z)(St,2),et=yt[0],Lt=yt[1],dt=et[ae]||I,Ot=dt==="date"&&ze?"datetime":dt,kt=Ot===I&&Ot!=="time",Wt=ar(I,dt,A,T,!0),ot=nr(r,Se,Ne,Xe,U,C,c,He,te,d),wt=(0,w.Z)(ot,2),en=wt[0],It=wt[1],dn=Xr(_,C,z,R,$,S),zt=Va(_,d,k),jt=(0,w.Z)(zt,2),tn=jt[0],ua=jt[1],ca=Ja(R,$,_,et,te,ae,o,kt,F,N,ze==null?void 0:ze.defaultOpenValue,E,b,M),En=(0,w.Z)(ca,2),Zn=En[0],sa=En[1],Nn=(0,Ze.zX)(function(Ie,ce,xe){var Ge=an(et,ae,ce);if((Ge[0]!==et[0]||Ge[1]!==et[1])&&Lt(Ge),O&&xe!==!1){var Ft=(0,Ke.Z)(_);Ie&&(Ft[ae]=Ie),O(Ft,Ge)}}),nn=function(ce,xe){return an(_,xe,ce)},tt=function(ce,xe){var Ge=_;ce&&(Ge=nn(ce,ae));var Ft=K(Ge);U(Ge),en(ae,Ft===null),Ft===null?ke(!1,{force:!0}):xe||de.current.focus({index:Ft})},da=function(ce){if(!de.current.nativeElement.contains(document.activeElement)){var xe=C.findIndex(function(Ge){return!Ge});xe>=0&&de.current.focus({index:xe})}ke(!0),q==null||q(ce)},fa=function(){It(null),ke(!1,{force:!0})},va=l.useState(null),fn=(0,w.Z)(va,2),ma=fn[0],vn=fn[1],ga=l.useState(null),mn=(0,w.Z)(ga,2),ft=mn[0],Ut=mn[1],On=l.useMemo(function(){return ft||_},[_,ft]);l.useEffect(function(){te||Ut(null)},[te]);var ha=l.useState(0),Fn=(0,w.Z)(ha,2),Ca=Fn[0],Vn=Fn[1],pa=Ga(G,W),ba=function(ce){Ut(ce),vn("preset")},Sa=function(ce){var xe=It(ce);xe&&ke(!1,{force:!0})},ya=function(ce){tt(ce)},ka=function(ce){Ut(ce?nn(ce,ae):null),vn("cell")},Pa=function(ce){ke(!0),De(ce)},xa=function(ce){Ae("panel");var xe=an(_,ae,ce);U(xe),!p&&!i&&o===Ot&&tt(ce)},Ma=function(){ke(!1)},Da=zn(ee,ue,ne,wn(ae)),wa=_[ae]||null,Ia=(0,Ze.zX)(function(Ie){return d(Ie,{activeIndex:ae})}),$a=l.useMemo(function(){var Ie=(0,Tt.Z)(r,!1),ce=(0,Kt.Z)(r,[].concat((0,Ke.Z)(Object.keys(Ie)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return ce},[r]),Ra=l.createElement(ur,(0,se.Z)({},$a,{showNow:Wt,showTime:ze,range:!0,multiplePanel:kt,activeOffset:Ca,disabledDate:dn,onFocus:Pa,onBlur:Be,picker:I,mode:dt,internalMode:Ot,onPanelChange:Nn,format:s,value:wa,isInvalid:Ia,onChange:null,onSelect:xa,pickerValue:Zn,defaultOpenValue:Yt(L==null?void 0:L.defaultOpenValue)[ae],onPickerValueChange:sa,hoverValue:On,onHover:ka,needConfirm:p,onSubmit:tt,onOk:Pe,presets:pa,onPresetHover:ba,onPresetSubmit:Sa,onNow:ya,cellRender:Da})),Ea=function(ce,xe){var Ge=nn(ce,xe);U(Ge)},fe=function(){Ae("input")},re=function(ce,xe){Ae("input"),ke(!0,{inherit:!0}),qe(xe),De(ce,xe)},nt=function(ce,xe){ke(!1),Be(ce,xe)},Pt=function(ce,xe){ce.key==="Tab"&&tt(null,!0),h==null||h(ce,xe)},Hn=l.useMemo(function(){return{prefixCls:u,locale:$,generateConfig:R,button:X.button,input:X.input}},[u,$,R,X.button,X.input]);if((0,lt.Z)(function(){te&&ae!==void 0&&Nn(null,I,!1)},[te,ae,I]),(0,lt.Z)(function(){var Ie=Ae();!te&&Ie==="input"&&(ke(!1),tt(null,!0)),!te&&i&&!p&&Ie==="panel"&&(ke(!0),tt())},[te]),!1)var po;return l.createElement(ht.Provider,{value:Hn},l.createElement(Za,(0,se.Z)({},Fa(r),{popupElement:Ra,popupStyle:v.popup,popupClassName:m.popup,visible:te,onClose:Ma,range:!0}),l.createElement(Il,(0,se.Z)({},r,{ref:de,suffixIcon:V,activeIndex:He||te?ae:null,activeHelp:!!ft,allHelp:!!ft&&ma==="preset",focused:He,onFocus:re,onBlur:nt,onKeyDown:Pt,onSubmit:tt,value:On,maskFormat:s,onChange:Ea,onInputChange:fe,format:c,inputReadOnly:P,disabled:C,open:te,onOpenChange:ke,onClick:da,onClear:fa,invalid:tn,onInvalid:ua,onActiveOffset:Vn}))))}var Rl=l.forwardRef($l),El=Rl,Zl=D(39983);function Nl(e){var t=e.prefixCls,n=e.value,a=e.onRemove,r=e.removeIcon,o=r===void 0?"\xD7":r,i=e.formatDate,c=e.disabled,s=e.maxTagCount,d=e.placeholder,u="".concat(t,"-selector"),v="".concat(t,"-selection"),m="".concat(v,"-overflow");function g(h,C){return l.createElement("span",{className:Fe()("".concat(v,"-item")),title:typeof h=="string"?h:null},l.createElement("span",{className:"".concat(v,"-item-content")},h),!c&&C&&l.createElement("span",{onMouseDown:function(S){S.preventDefault()},onClick:C,className:"".concat(v,"-item-remove")},o))}function f(h){var C=i(h),k=function(b){b&&b.stopPropagation(),a(h)};return g(C,k)}function p(h){var C="+ ".concat(h.length," ...");return g(C)}return l.createElement("div",{className:u},l.createElement(Zl.Z,{prefixCls:m,data:n,renderItem:f,renderRest:p,itemKey:function(C){return i(C)},maxCount:s}),!n.length&&l.createElement("span",{className:"".concat(t,"-selection-placeholder")},d))}var Ol=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function Fl(e,t){var n=e.id,a=e.open,r=e.clearIcon,o=e.suffixIcon,i=e.activeHelp,c=e.allHelp,s=e.focused,d=e.onFocus,u=e.onBlur,v=e.onKeyDown,m=e.locale,g=e.generateConfig,f=e.placeholder,p=e.className,h=e.style,C=e.onClick,k=e.onClear,S=e.internalPicker,b=e.value,M=e.onChange,y=e.onSubmit,x=e.onInputChange,H=e.multiple,$=e.maxTagCount,R=e.format,I=e.maskFormat,A=e.preserveInvalidOnBlur,T=e.onInvalid,L=e.disabled,Z=e.invalid,O=e.inputReadOnly,B=e.direction,j=e.onOpenChange,F=e.onMouseDown,N=e.required,E=e["aria-required"],P=e.autoFocus,V=e.removeIcon,Y=(0,Jt.Z)(e,Ol),J=B==="rtl",G=l.useContext(ht),W=G.prefixCls,X=l.useRef(),ee=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:X.current,focus:function(he){var Se;(Se=ee.current)===null||Se===void 0||Se.focus(he)},blur:function(){var he;(he=ee.current)===null||he===void 0||he.blur()}}});var ue=sr(Y),ne=function(he){M([he])},q=function(he){var Se=b.filter(function(Ne){return Ne&&!Je(g,m,Ne,he,S)});M(Se),a||y()},de=cr((0,Q.Z)((0,Q.Z)({},e),{},{onChange:ne}),function($e){var he=$e.valueTexts;return{value:he[0]||"",active:s}}),be=(0,w.Z)(de,2),Me=be[0],te=be[1],we=!!(r&&b.length&&!L),ke=H?l.createElement(l.Fragment,null,l.createElement(Nl,{prefixCls:W,value:b,onRemove:q,formatDate:te,maxTagCount:$,disabled:L,removeIcon:V,placeholder:f}),l.createElement("input",{className:"".concat(W,"-multiple-input"),value:b.map(te).join(","),ref:ee,readOnly:!0,autoFocus:P}),l.createElement(Dn,{type:"suffix",icon:o}),we&&l.createElement(_n,{icon:r,onClear:k})):l.createElement(ta,(0,se.Z)({ref:ee},Me(),{autoFocus:P,suffixIcon:o,clearIcon:we&&l.createElement(_n,{icon:r,onClear:k}),showActiveCls:!1}));return l.createElement("div",(0,se.Z)({},ue,{className:Fe()(W,(0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)({},"".concat(W,"-multiple"),H),"".concat(W,"-focused"),s),"".concat(W,"-disabled"),L),"".concat(W,"-invalid"),Z),"".concat(W,"-rtl"),J),p),style:h,ref:X,onClick:C,onMouseDown:function(he){var Se,Ne=he.target;Ne!==((Se=ee.current)===null||Se===void 0?void 0:Se.inputElement)&&he.preventDefault(),F==null||F(he)}}),ke)}var Vl=l.forwardRef(Fl),Hl=Vl;function Tl(e,t){var n=Ua(e),a=(0,w.Z)(n,6),r=a[0],o=a[1],i=a[2],c=a[3],s=a[4],d=a[5],u=r,v=u.prefixCls,m=u.styles,g=u.classNames,f=u.order,p=u.defaultValue,h=u.value,C=u.needConfirm,k=u.onChange,S=u.onKeyDown,b=u.disabled,M=u.disabledDate,y=u.minDate,x=u.maxDate,H=u.defaultOpen,$=u.open,R=u.onOpenChange,I=u.locale,A=u.generateConfig,T=u.picker,L=u.showNow,Z=u.showToday,O=u.showTime,B=u.mode,j=u.onPanelChange,F=u.onCalendarChange,N=u.onOk,E=u.multiple,P=u.defaultPickerValue,V=u.pickerValue,Y=u.onPickerValueChange,J=u.inputReadOnly,G=u.suffixIcon,W=u.removeIcon,X=u.onFocus,ee=u.onBlur,ue=u.presets,ne=u.components,q=u.cellRender,de=u.dateRender,be=u.monthCellRender,Me=u.onClick,te=Ka(t);function we(fe){return fe===null?null:E?fe:fe[0]}var ke=lr(A,I,o),$e=Xa($,H,[b],R),he=(0,w.Z)($e,2),Se=he[0],Ne=he[1],Xe=function(re,nt,Pt){if(F){var Hn=(0,Q.Z)({},Pt);delete Hn.range,F(we(re),we(nt),Hn)}},U=function(re){N==null||N(we(re))},Pe=tr(A,I,c,!1,f,p,h,Xe,U),_=(0,w.Z)(Pe,5),me=_[0],le=_[1],He=_[2],We=_[3],Ae=_[4],ae=He(),qe=Qa([b]),K=(0,w.Z)(qe,4),z=K[0],De=K[1],Be=K[2],ze=K[3],St=function(re){De(!0),X==null||X(re,{})},yt=function(re){De(!1),ee==null||ee(re,{})},et=(0,Ze.C8)(T,{value:B}),Lt=(0,w.Z)(et,2),dt=Lt[0],Ot=Lt[1],kt=dt==="date"&&O?"datetime":dt,Wt=ar(T,dt,L,Z),ot=k&&function(fe,re){k(we(fe),we(re))},wt=nr((0,Q.Z)((0,Q.Z)({},r),{},{onChange:ot}),me,le,He,We,[],c,z,Se,d),en=(0,w.Z)(wt,2),It=en[1],dn=Va(ae,d),zt=(0,w.Z)(dn,2),jt=zt[0],tn=zt[1],ua=l.useMemo(function(){return jt.some(function(fe){return fe})},[jt]),ca=function(re,nt){if(Y){var Pt=(0,Q.Z)((0,Q.Z)({},nt),{},{mode:nt.mode[0]});delete Pt.range,Y(re[0],Pt)}},En=Ja(A,I,ae,[dt],Se,ze,o,!1,P,V,Yt(O==null?void 0:O.defaultOpenValue),ca,y,x),Zn=(0,w.Z)(En,2),sa=Zn[0],Nn=Zn[1],nn=(0,Ze.zX)(function(fe,re,nt){if(Ot(re),j&&nt!==!1){var Pt=fe||ae[ae.length-1];j(Pt,re)}}),tt=function(){It(He()),Ne(!1,{force:!0})},da=function(re){!b&&!te.current.nativeElement.contains(document.activeElement)&&te.current.focus(),Ne(!0),Me==null||Me(re)},fa=function(){It(null),Ne(!1,{force:!0})},va=l.useState(null),fn=(0,w.Z)(va,2),ma=fn[0],vn=fn[1],ga=l.useState(null),mn=(0,w.Z)(ga,2),ft=mn[0],Ut=mn[1],On=l.useMemo(function(){var fe=[ft].concat((0,Ke.Z)(ae)).filter(function(re){return re});return E?fe:fe.slice(0,1)},[ae,ft,E]),ha=l.useMemo(function(){return!E&&ft?[ft]:ae.filter(function(fe){return fe})},[ae,ft,E]);l.useEffect(function(){Se||Ut(null)},[Se]);var Fn=Ga(ue),Ca=function(re){Ut(re),vn("preset")},Vn=function(re){var nt=E?ke(He(),re):[re],Pt=It(nt);Pt&&!E&&Ne(!1,{force:!0})},pa=function(re){Vn(re)},ba=function(re){Ut(re),vn("cell")},Sa=function(re){Ne(!0),St(re)},ya=function(re){Be("panel");var nt=E?ke(He(),re):[re];We(nt),!C&&!i&&o===kt&&tt()},ka=function(){Ne(!1)},Pa=zn(q,de,be),xa=l.useMemo(function(){var fe=(0,Tt.Z)(r,!1),re=(0,Kt.Z)(r,[].concat((0,Ke.Z)(Object.keys(fe)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,Q.Z)((0,Q.Z)({},re),{},{multiple:r.multiple})},[r]),Ma=l.createElement(ur,(0,se.Z)({},xa,{showNow:Wt,showTime:O,disabledDate:M,onFocus:Sa,onBlur:yt,picker:T,mode:dt,internalMode:kt,onPanelChange:nn,format:s,value:ae,isInvalid:d,onChange:null,onSelect:ya,pickerValue:sa,defaultOpenValue:O==null?void 0:O.defaultOpenValue,onPickerValueChange:Nn,hoverValue:On,onHover:ba,needConfirm:C,onSubmit:tt,onOk:Ae,presets:Fn,onPresetHover:Ca,onPresetSubmit:Vn,onNow:pa,cellRender:Pa})),Da=function(re){We(re)},wa=function(){Be("input")},Ia=function(re){Be("input"),Ne(!0,{inherit:!0}),St(re)},$a=function(re){Ne(!1),yt(re)},Ra=function(re,nt){re.key==="Tab"&&tt(),S==null||S(re,nt)},Ea=l.useMemo(function(){return{prefixCls:v,locale:I,generateConfig:A,button:ne.button,input:ne.input}},[v,I,A,ne.button,ne.input]);return(0,lt.Z)(function(){Se&&ze!==void 0&&nn(null,T,!1)},[Se,ze,T]),(0,lt.Z)(function(){var fe=Be();!Se&&fe==="input"&&(Ne(!1),tt()),!Se&&i&&!C&&fe==="panel"&&(Ne(!0),tt())},[Se]),l.createElement(ht.Provider,{value:Ea},l.createElement(Za,(0,se.Z)({},Fa(r),{popupElement:Ma,popupStyle:m.popup,popupClassName:g.popup,visible:Se,onClose:ka}),l.createElement(Hl,(0,se.Z)({},r,{ref:te,suffixIcon:G,removeIcon:W,activeHelp:!!ft,allHelp:!!ft&&ma==="preset",focused:z,onFocus:Ia,onBlur:$a,onKeyDown:Ra,onSubmit:tt,value:ha,maskFormat:s,onChange:Da,onInputChange:wa,internalPicker:o,format:c,inputReadOnly:J,disabled:b,open:Se,onOpenChange:Ne,onClick:da,onClear:fa,invalid:ua,onInvalid:function(re){tn(re,0)}}))))}var Yl=l.forwardRef(Tl),Al=Yl,Bl=Al,vr=D(87263),In=D(9708),mr=D(53124),gr=D(98866),hr=D(35792),Cr=D(98675),pr=D(65223),br=D(27833),Sr=D(10110),$n=D(4173),yr=D(87206),pe=D(54548),Ll=D(47673),kr=D(20353),na=D(14747),Wl=D(80110),qt=D(48611),Pr=D(33297),xr=D(79511),zl=D(91945),aa=D(45503),Mr=D(16928);const ra=(e,t)=>{const{componentCls:n,controlHeight:a}=e,r=t?`${n}-${t}`:"",o=(0,Mr.gp)(e);return[{[`${n}-multiple${r}`]:{paddingBlock:o.containerPadding,paddingInlineStart:o.basePadding,minHeight:a,[`${n}-selection-item`]:{height:o.itemHeight,lineHeight:(0,pe.bf)(o.itemLineHeight)}}}]};var jl=e=>{const{componentCls:t,calc:n,lineWidth:a}=e,r=(0,aa.TS)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),o=(0,aa.TS)(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(a).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[ra(r,"small"),ra(e),ra(o,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},(0,Mr._z)(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Rn=D(10274);const Ul=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:a,borderRadiusSM:r,motionDurationMid:o,cellHoverBg:i,lineWidth:c,lineType:s,colorPrimary:d,cellActiveWithRangeBg:u,colorTextLightSolid:v,colorTextDisabled:m,cellBgDisabled:g,colorFillSecondary:f}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:a,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:a,height:a,lineHeight:(0,pe.bf)(a),borderRadius:r,transition:`background ${o}`},[`&:hover:not(${t}-in-view), + &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:i}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,pe.bf)(c)} ${s} ${d}`,borderRadius:r,content:'""'}},[`&-in-view${t}-in-range, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:v,background:d},[`&${t}-disabled ${n}`]:{background:f}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:r,borderEndStartRadius:r,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:r,borderEndEndRadius:r},"&-disabled":{color:m,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:g}},[`&-disabled${t}-today ${n}::before`]:{borderColor:m}}},Xl=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:a,pickerYearMonthCellWidth:r,pickerControlIconSize:o,cellWidth:i,paddingSM:c,paddingXS:s,paddingXXS:d,colorBgContainer:u,lineWidth:v,lineType:m,borderRadiusLG:g,colorPrimary:f,colorTextHeading:p,colorSplit:h,pickerControlIconBorderWidth:C,colorIcon:k,textHeight:S,motionDurationMid:b,colorIconHover:M,fontWeightStrong:y,cellHeight:x,pickerCellPaddingVertical:H,colorTextDisabled:$,colorText:R,fontSize:I,motionDurationSlow:A,withoutTimeCellHeight:T,pickerQuarterPanelContentHeight:L,borderRadiusSM:Z,colorTextLightSolid:O,cellHoverBg:B,timeColumnHeight:j,timeColumnWidth:F,timeCellHeight:N,controlItemBgActive:E,marginXXS:P,pickerDatePanelPaddingHorizontal:V,pickerControlIconMargin:Y}=e,J=e.calc(i).mul(7).add(e.calc(V).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:g,outline:"none","&-focused":{borderColor:f},"&-rtl":{direction:"rtl",[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel, + &-week-panel, + &-date-panel, + &-time-panel`]:{display:"flex",flexDirection:"column",width:J},"&-header":{display:"flex",padding:`0 ${(0,pe.bf)(s)}`,color:p,borderBottom:`${(0,pe.bf)(v)} ${m} ${h}`,"> *":{flex:"none"},button:{padding:0,color:k,lineHeight:(0,pe.bf)(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${b}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:I,"&:hover":{color:M},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:y,lineHeight:(0,pe.bf)(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:f}}}},[`&-prev-icon, + &-next-icon, + &-super-prev-icon, + &-super-next-icon`]:{position:"relative",display:"inline-block",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockWidth:`${(0,pe.bf)(C)} 0`,borderInlineWidth:`${(0,pe.bf)(C)} 0`,content:'""'}},[`&-super-prev-icon, + &-super-next-icon`]:{"&::after":{position:"absolute",top:Y,insetInlineStart:Y,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockWidth:`${(0,pe.bf)(C)} 0`,borderInlineWidth:`${(0,pe.bf)(C)} 0`,content:'""'}},[`&-prev-icon, + &-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon, + &-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:x,fontWeight:"normal"},th:{height:e.calc(x).add(e.calc(H).mul(2)).equal(),color:R,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,pe.bf)(H)} 0`,color:$,cursor:"pointer","&-in-view":{color:R}},Ul(e)),[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${t}-content`]:{height:e.calc(T).mul(4).equal()},[a]:{padding:`0 ${(0,pe.bf)(s)}`}},"&-quarter-panel":{[`${t}-content`]:{height:L}},"&-decade-panel":{[a]:{padding:`0 ${(0,pe.bf)(e.calc(s).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${t}-body`]:{padding:`0 ${(0,pe.bf)(s)}`},[a]:{width:r}},"&-date-panel":{[`${t}-body`]:{padding:`${(0,pe.bf)(s)} ${(0,pe.bf)(V)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${a}, + &-selected ${a}, + ${a}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${b}`},"&:first-child:before":{borderStartStartRadius:Z,borderEndStartRadius:Z},"&:last-child:before":{borderStartEndRadius:Z,borderEndEndRadius:Z}},["&:hover td"]:{"&:before":{background:B}},[`&-range-start td, + &-range-end td, + &-selected td, + &-hover td`]:{[`&${n}`]:{"&:before":{background:f},[`&${t}-cell-week`]:{color:new Rn.C(O).setAlpha(.5).toHexString()},[a]:{color:O}}},["&-range-hover td:before"]:{background:E}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${(0,pe.bf)(s)} ${(0,pe.bf)(c)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${(0,pe.bf)(v)} ${m} ${h}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${A}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:j},"&-column":{flex:"1 0 auto",width:F,margin:`${(0,pe.bf)(d)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${b}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(N).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,pe.bf)(v)} ${m} ${h}`},"&-active":{background:new Rn.C(E).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:P,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(F).sub(e.calc(P).mul(2)).equal(),height:N,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(F).sub(N).div(2).equal(),color:R,lineHeight:(0,pe.bf)(N),borderRadius:Z,cursor:"pointer",transition:`background ${b}`,"&:hover":{background:B}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:E}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:$,background:"transparent",cursor:"not-allowed"}}}}}}}}};var Kl=e=>{const{componentCls:t,textHeight:n,lineWidth:a,paddingSM:r,antCls:o,colorPrimary:i,cellActiveWithRangeBg:c,colorPrimaryBorder:s,lineType:d,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${(0,pe.bf)(a)} ${d} ${u}`,"&-extra":{padding:`0 ${(0,pe.bf)(r)}`,lineHeight:(0,pe.bf)(e.calc(n).sub(e.calc(a).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,pe.bf)(a)} ${d} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:(0,pe.bf)(r),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,pe.bf)(e.calc(n).sub(e.calc(a).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:i,background:c,borderColor:s,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(a).mul(2).equal(),marginInlineStart:"auto"}}}}};const Gl=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:a,padding:r}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(a).add(e.calc(a).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(r).add(e.calc(a).div(2)).equal()}},Ql=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:a,controlHeightLG:r,paddingXXS:o,lineWidth:i}=e,c=o*2,s=i*2,d=Math.min(n-c,n-s),u=Math.min(a-c,a-s),v=Math.min(r-c,r-s);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Rn.C(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Rn.C(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:a*1.5,cellHeight:a,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:d,multipleItemHeightSM:u,multipleItemHeightLG:v,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Jl=e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,kr.T)(e)),Ql(e)),(0,xr.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50});var la=D(93900),ql=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},(0,la.qG)(e)),(0,la.H8)(e)),(0,la.Mu)(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,pe.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${(0,pe.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,pe.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}};const oa=(e,t,n,a)=>{const r=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(r).div(2).equal(),0),i=e.max(e.calc(t).sub(r).sub(o).equal(),0);return{padding:`${(0,pe.bf)(o)} ${(0,pe.bf)(a)} ${(0,pe.bf)(i)}`}},_l=e=>{const{componentCls:t,colorError:n,colorWarning:a}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:a}}}}},eo=e=>{const{componentCls:t,antCls:n,controlHeight:a,paddingInline:r,lineWidth:o,lineType:i,colorBorder:c,borderRadius:s,motionDurationMid:d,colorTextDisabled:u,colorTextPlaceholder:v,controlHeightLG:m,fontSizeLG:g,controlHeightSM:f,paddingInlineSM:p,paddingXS:h,marginXS:C,colorTextDescription:k,lineWidthBold:S,colorPrimary:b,motionDurationSlow:M,zIndexPopup:y,paddingXXS:x,sizePopupArrow:H,colorBgElevated:$,borderRadiusLG:R,boxShadowSecondary:I,borderRadiusSM:A,colorSplit:T,cellHoverBg:L,presetsWidth:Z,presetsMaxWidth:O,boxShadowPopoverArrow:B,fontHeight:j,fontHeightLG:F,lineHeightLG:N}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,na.Wf)(e)),oa(e,a,j,r)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:s,transition:`border ${d}, box-shadow ${d}, background ${d}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${d}`},(0,Ll.nz)(v)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:v}}},"&-large":Object.assign(Object.assign({},oa(e,m,F,r)),{[`${t}-input > input`]:{fontSize:g,lineHeight:N}}),"&-small":Object.assign({},oa(e,f,j,p)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(h).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:`opacity ${d}, color ${d}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:C}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${d}, color ${d}`,"> *":{verticalAlign:"top"},"&:hover":{color:k}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:g,color:u,fontSize:g,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:k},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:S,background:b,opacity:0,transition:`all ${M} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${(0,pe.bf)(h)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:r},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:p}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,na.Wf)(e)),Xl(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:qt.Qt},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:qt.fJ},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:qt.ly},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:qt.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:x},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${M} ease-out`},(0,xr.W)(e,$,B)),{"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:$,borderRadius:R,boxShadow:I,transition:`margin ${M}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:Z,maxWidth:O,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${(0,pe.bf)(o)} ${i} ${T}`,li:Object.assign(Object.assign({},na.vS),{borderRadius:A,paddingInline:h,paddingBlock:e.calc(f).sub(j).div(2).equal(),cursor:"pointer",transition:`all ${M}`,"+ li":{marginTop:C},"&:hover":{background:L}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:c}}}}),"&-dropdown-range":{padding:`${(0,pe.bf)(e.calc(H).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,qt.oN)(e,"slide-up"),(0,qt.oN)(e,"slide-down"),(0,Pr.Fm)(e,"move-up"),(0,Pr.Fm)(e,"move-down")]};var Dr=(0,zl.I$)("DatePicker",e=>{const t=(0,aa.TS)((0,kr.e)(e),Gl(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Kl(t),eo(t),ql(t),_l(t),jl(t),(0,Wl.c)(e,{focusElCls:`${e.componentCls}-focused`})]},Jl),to=D(43277);function no(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function ao(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function ia(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function wr(e,t){const{allowClear:n=!0}=e,{clearIcon:a,removeIcon:r}=(0,to.Z)(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[l.useMemo(()=>n===!1?!1:Object.assign({clearIcon:a},n===!0?{}:n),[n,a]),r]}var ro=D(14726);function lo(e){return l.createElement(ro.ZP,Object.assign({size:"small",type:"primary"},e))}function Ir(e){return(0,l.useMemo)(()=>Object.assign({button:lo},e),[e])}var oo=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{var r;const{prefixCls:o,getPopupContainer:i,components:c,className:s,style:d,placement:u,size:v,disabled:m,bordered:g=!0,placeholder:f,popupClassName:p,dropdownClassName:h,status:C,rootClassName:k,variant:S}=n,b=oo(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant"]),M=l.useRef(null),{getPrefixCls:y,direction:x,getPopupContainer:H,rangePicker:$}=(0,l.useContext)(mr.E_),R=y("picker",o),{compactSize:I,compactItemClassnames:A}=(0,$n.ri)(R,x),{picker:T}=n,L=y(),[Z,O]=(0,br.Z)(S,g),B=(0,hr.Z)(R),[j,F,N]=Dr(R,B),[E]=wr(n,R),P=Ir(c),V=(0,Cr.Z)(be=>{var Me;return(Me=v!=null?v:I)!==null&&Me!==void 0?Me:be}),Y=l.useContext(gr.Z),J=m!=null?m:Y,G=(0,l.useContext)(pr.aM),{hasFeedback:W,status:X,feedbackIcon:ee}=G,ue=l.createElement(l.Fragment,null,T==="time"?l.createElement(Ht,null):l.createElement(Vt,null),W&&ee);(0,l.useImperativeHandle)(a,()=>M.current);const[ne]=(0,Sr.Z)("Calendar",yr.Z),q=Object.assign(Object.assign({},ne),n.locale),[de]=(0,vr.Cn)("DatePicker",(r=n.popupStyle)===null||r===void 0?void 0:r.zIndex);return j(l.createElement($n.BR,null,l.createElement(El,Object.assign({separator:l.createElement("span",{"aria-label":"to",className:`${R}-separator`},l.createElement(Ln,null)),disabled:J,ref:M,popupAlign:ia(x,u),placeholder:ao(q,T,f),suffixIcon:ue,prevIcon:l.createElement("span",{className:`${R}-prev-icon`}),nextIcon:l.createElement("span",{className:`${R}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${R}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${R}-super-next-icon`}),transitionName:`${L}-slide-up`},b,{className:Fe()({[`${R}-${V}`]:V,[`${R}-${Z}`]:O},(0,In.Z)(R,(0,In.F)(X,C),W),F,A,s,$==null?void 0:$.className,N,B,k),style:Object.assign(Object.assign({},$==null?void 0:$.style),d),locale:q.lang,prefixCls:R,getPopupContainer:i||H,generateConfig:e,components:P,direction:x,classNames:{popup:Fe()(F,p||h,N,B,k)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:de})},allowClear:E}))))})}var uo=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r{var f;const{prefixCls:p,getPopupContainer:h,components:C,style:k,className:S,rootClassName:b,size:M,bordered:y,placement:x,placeholder:H,popupClassName:$,dropdownClassName:R,disabled:I,status:A,variant:T,onCalendarChange:L}=m,Z=uo(m,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:O,direction:B,getPopupContainer:j,[u]:F}=(0,l.useContext)(mr.E_),N=O("picker",p),{compactSize:E,compactItemClassnames:P}=(0,$n.ri)(N,B),V=l.useRef(null),[Y,J]=(0,br.Z)(T,y),G=(0,hr.Z)(N),[W,X,ee]=Dr(N,G);(0,l.useImperativeHandle)(g,()=>V.current);const ue={showToday:!0},ne=s||m.picker,q=O(),{onSelect:de,multiple:be}=Z,Me=de&&s==="time"&&!be,te=(Ae,ae,qe)=>{L==null||L(Ae,ae,qe),Me&&de(Ae)},[we,ke]=wr(m,N),$e=Ir(C),he=(0,Cr.Z)(Ae=>{var ae;return(ae=M!=null?M:E)!==null&&ae!==void 0?ae:Ae}),Se=l.useContext(gr.Z),Ne=I!=null?I:Se,Xe=(0,l.useContext)(pr.aM),{hasFeedback:U,status:Pe,feedbackIcon:_}=Xe,me=l.createElement(l.Fragment,null,ne==="time"?l.createElement(Ht,null):l.createElement(Vt,null),U&&_),[le]=(0,Sr.Z)("DatePicker",yr.Z),He=Object.assign(Object.assign({},le),m.locale),[We]=(0,vr.Cn)("DatePicker",(f=m.popupStyle)===null||f===void 0?void 0:f.zIndex);return W(l.createElement($n.BR,null,l.createElement(Bl,Object.assign({ref:V,placeholder:no(He,ne,H),suffixIcon:me,dropdownAlign:ia(B,x),prevIcon:l.createElement("span",{className:`${N}-prev-icon`}),nextIcon:l.createElement("span",{className:`${N}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${N}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${N}-super-next-icon`}),transitionName:`${q}-slide-up`,picker:s,onCalendarChange:te},ue,Z,{locale:He.lang,className:Fe()({[`${N}-${he}`]:he,[`${N}-${Y}`]:J},(0,In.Z)(N,(0,In.F)(Pe,A),U),X,P,F==null?void 0:F.className,S,ee,G,b),style:Object.assign(Object.assign({},F==null?void 0:F.style),k),prefixCls:N,getPopupContainer:h||j,generateConfig:e,components:$e,direction:B,disabled:Ne,classNames:{popup:Fe()(X,ee,G,b,$||R)},styles:{popup:Object.assign(Object.assign({},m.popupStyle),{zIndex:We})},allowClear:we,removeIcon:ke}))))})}const n=t(),a=t("week","WeekPicker"),r=t("month","MonthPicker"),o=t("year","YearPicker"),i=t("quarter","QuarterPicker"),c=t("time","TimePicker");return{DatePicker:n,WeekPicker:a,MonthPicker:r,YearPicker:o,TimePicker:c,QuarterPicker:i}}function so(e){const{DatePicker:t,WeekPicker:n,MonthPicker:a,YearPicker:r,TimePicker:o,QuarterPicker:i}=co(e),c=io(e),s=t;return s.WeekPicker=n,s.MonthPicker=a,s.YearPicker=r,s.RangePicker=c,s.TimePicker=o,s.QuarterPicker=i,s}var $r=so;const _t=$r(gt);function Rr(e){const t=ia(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const fo=(0,ut.Z)(_t,"picker",null,Rr);_t._InternalPanelDoNotUseOrYouWillBeFired=fo;const vo=(0,ut.Z)(_t.RangePicker,"picker",null,Rr);_t._InternalRangePanelDoNotUseOrYouWillBeFired=vo,_t.generatePicker=$r;var mo=_t},28734:function(it){(function(Qe,D){it.exports=D()})(this,function(){"use strict";return function(Qe,D){var Re=D.prototype,Ce=Re.format;Re.format=function(Oe){var ve=this,Le=this.$locale();if(!this.isValid())return Ce.bind(this)(Oe);var Ve=this.$utils(),Ct=(Oe||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(oe){switch(oe){case"Q":return Math.ceil((ve.$M+1)/3);case"Do":return Le.ordinal(ve.$D);case"gggg":return ve.weekYear();case"GGGG":return ve.isoWeekYear();case"wo":return Le.ordinal(ve.week(),"W");case"w":case"ww":return Ve.s(ve.week(),oe==="w"?1:2,"0");case"W":case"WW":return Ve.s(ve.isoWeek(),oe==="W"?1:2,"0");case"k":case"kk":return Ve.s(String(ve.$H===0?24:ve.$H),oe==="k"?1:2,"0");case"X":return Math.floor(ve.$d.getTime()/1e3);case"x":return ve.$d.getTime();case"z":return"["+ve.offsetName()+"]";case"zzz":return"["+ve.offsetName("long")+"]";default:return oe}});return Ce.bind(this)(Ct)}}})},10285:function(it){(function(Qe,D){it.exports=D()})(this,function(){"use strict";var Qe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},D=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,Re=/\d\d/,Ce=/\d\d?/,Oe=/\d*[^-_:/,()\s\d]+/,ve={},Le=function(ie){return(ie=+ie)+(ie>68?1900:2e3)},Ve=function(ie){return function(ye){this[ie]=+ye}},Ct=[/[+-]\d\d:?(\d\d)?|Z/,function(ie){(this.zone||(this.zone={})).offset=function(ye){if(!ye||ye==="Z")return 0;var Te=ye.match(/([+-]|\d\d)/g),Ye=60*Te[1]+(+Te[2]||0);return Ye===0?0:Te[0]==="+"?-Ye:Ye}(ie)}],oe=function(ie){var ye=ve[ie];return ye&&(ye.indexOf?ye:ye.s.concat(ye.f))},Ee=function(ie,ye){var Te,Ye=ve.meridiem;if(Ye){for(var _e=1;_e<=24;_e+=1)if(ie.indexOf(Ye(_e,0,ye))>-1){Te=_e>12;break}}else Te=ie===(ye?"pm":"PM");return Te},pt={A:[Oe,function(ie){this.afternoon=Ee(ie,!1)}],a:[Oe,function(ie){this.afternoon=Ee(ie,!0)}],S:[/\d/,function(ie){this.milliseconds=100*+ie}],SS:[Re,function(ie){this.milliseconds=10*+ie}],SSS:[/\d{3}/,function(ie){this.milliseconds=+ie}],s:[Ce,Ve("seconds")],ss:[Ce,Ve("seconds")],m:[Ce,Ve("minutes")],mm:[Ce,Ve("minutes")],H:[Ce,Ve("hours")],h:[Ce,Ve("hours")],HH:[Ce,Ve("hours")],hh:[Ce,Ve("hours")],D:[Ce,Ve("day")],DD:[Re,Ve("day")],Do:[Oe,function(ie){var ye=ve.ordinal,Te=ie.match(/\d+/);if(this.day=Te[0],ye)for(var Ye=1;Ye<=31;Ye+=1)ye(Ye).replace(/\[|\]/g,"")===ie&&(this.day=Ye)}],M:[Ce,Ve("month")],MM:[Re,Ve("month")],MMM:[Oe,function(ie){var ye=oe("months"),Te=(oe("monthsShort")||ye.map(function(Ye){return Ye.slice(0,3)})).indexOf(ie)+1;if(Te<1)throw new Error;this.month=Te%12||Te}],MMMM:[Oe,function(ie){var ye=oe("months").indexOf(ie)+1;if(ye<1)throw new Error;this.month=ye%12||ye}],Y:[/[+-]?\d+/,Ve("year")],YY:[Re,function(ie){this.year=Le(ie)}],YYYY:[/\d{4}/,Ve("year")],Z:Ct,ZZ:Ct};function Xt(ie){var ye,Te;ye=ie,Te=ve&&ve.formats;for(var Ye=(ie=ye.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(l,se,ct){var at=ct&&ct.toUpperCase();return se||Te[ct]||Qe[ct]||Te[at].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(st,bt,xt){return bt||xt.slice(1)})})).match(D),_e=Ye.length,je=0;je<_e;je+=1){var vt=Ye[je],mt=pt[vt],gt=mt&&mt[0],ut=mt&&mt[1];Ye[je]=ut?{regex:gt,parser:ut}:vt.replace(/^\[|\]$/g,"")}return function(l){for(var se={},ct=0,at=0;ct<_e;ct+=1){var st=Ye[ct];if(typeof st=="string")at+=st.length;else{var bt=st.regex,xt=st.parser,Vt=l.slice(at),$t=bt.exec(Vt)[0];xt.call(se,$t),l=l.replace($t,"")}}return function(Mt){var rt=Mt.afternoon;if(rt!==void 0){var Rt=Mt.hours;rt?Rt<12&&(Mt.hours+=12):Rt===12&&(Mt.hours=0),delete Mt.afternoon}}(se),se}}return function(ie,ye,Te){Te.p.customParseFormat=!0,ie&&ie.parseTwoDigitYear&&(Le=ie.parseTwoDigitYear);var Ye=ye.prototype,_e=Ye.parse;Ye.parse=function(je){var vt=je.date,mt=je.utc,gt=je.args;this.$u=mt;var ut=gt[1];if(typeof ut=="string"){var l=gt[2]===!0,se=gt[3]===!0,ct=l||se,at=gt[2];se&&(at=gt[2]),ve=this.$locale(),!l&&at&&(ve=Te.Ls[at]),this.$d=function(Vt,$t,Mt){try{if(["x","X"].indexOf($t)>-1)return new Date(($t==="X"?1e3:1)*Vt);var rt=Xt($t)(Vt),Rt=rt.year,Ht=rt.month,Tn=rt.day,Yn=rt.hours,An=rt.minutes,Bn=rt.seconds,Ln=rt.milliseconds,gn=rt.zone,Fe=new Date,Ke=Tn||(Rt||Ht?1:Fe.getDate()),Q=Rt||Fe.getFullYear(),w=0;Rt&&!Ht||(w=Ht>0?Ht-1:Fe.getMonth());var Ze=Yn||0,lt=An||0,Kt=Bn||0,Tt=Ln||0;return gn?new Date(Date.UTC(Q,w,Ke,Ze,lt,Kt,Tt+60*gn.offset*1e3)):Mt?new Date(Date.UTC(Q,w,Ke,Ze,lt,Kt,Tt)):new Date(Q,w,Ke,Ze,lt,Kt,Tt)}catch(ge){return new Date("")}}(vt,ut,mt),this.init(),at&&at!==!0&&(this.$L=this.locale(at).$L),ct&&vt!=this.format(ut)&&(this.$d=new Date("")),ve={}}else if(ut instanceof Array)for(var st=ut.length,bt=1;bt<=st;bt+=1){gt[1]=ut[bt-1];var xt=Te.apply(this,gt);if(xt.isValid()){this.$d=xt.$d,this.$L=xt.$L,this.init();break}bt===st&&(this.$d=new Date(""))}else _e.call(this,je)}}})},96036:function(it){(function(Qe,D){it.exports=D()})(this,function(){"use strict";return function(Qe,D,Re){var Ce=D.prototype,Oe=function(oe){return oe&&(oe.indexOf?oe:oe.s)},ve=function(oe,Ee,pt,Xt,ie){var ye=oe.name?oe:oe.$locale(),Te=Oe(ye[Ee]),Ye=Oe(ye[pt]),_e=Te||Ye.map(function(vt){return vt.slice(0,Xt)});if(!ie)return _e;var je=ye.weekStart;return _e.map(function(vt,mt){return _e[(mt+(je||0))%7]})},Le=function(){return Re.Ls[Re.locale()]},Ve=function(oe,Ee){return oe.formats[Ee]||function(pt){return pt.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Xt,ie,ye){return ie||ye.slice(1)})}(oe.formats[Ee.toUpperCase()])},Ct=function(){var oe=this;return{months:function(Ee){return Ee?Ee.format("MMMM"):ve(oe,"months")},monthsShort:function(Ee){return Ee?Ee.format("MMM"):ve(oe,"monthsShort","months",3)},firstDayOfWeek:function(){return oe.$locale().weekStart||0},weekdays:function(Ee){return Ee?Ee.format("dddd"):ve(oe,"weekdays")},weekdaysMin:function(Ee){return Ee?Ee.format("dd"):ve(oe,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ee){return Ee?Ee.format("ddd"):ve(oe,"weekdaysShort","weekdays",3)},longDateFormat:function(Ee){return Ve(oe.$locale(),Ee)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};Ce.localeData=function(){return Ct.bind(this)()},Re.localeData=function(){var oe=Le();return{firstDayOfWeek:function(){return oe.weekStart||0},weekdays:function(){return Re.weekdays()},weekdaysShort:function(){return Re.weekdaysShort()},weekdaysMin:function(){return Re.weekdaysMin()},months:function(){return Re.months()},monthsShort:function(){return Re.monthsShort()},longDateFormat:function(Ee){return Ve(oe,Ee)},meridiem:oe.meridiem,ordinal:oe.ordinal}},Re.months=function(){return ve(Le(),"months")},Re.monthsShort=function(){return ve(Le(),"monthsShort","months",3)},Re.weekdays=function(oe){return ve(Le(),"weekdays",null,null,oe)},Re.weekdaysShort=function(oe){return ve(Le(),"weekdaysShort","weekdays",3,oe)},Re.weekdaysMin=function(oe){return ve(Le(),"weekdaysMin","weekdays",2,oe)}}})},55183:function(it){(function(Qe,D){it.exports=D()})(this,function(){"use strict";var Qe="week",D="year";return function(Re,Ce,Oe){var ve=Ce.prototype;ve.week=function(Le){if(Le===void 0&&(Le=null),Le!==null)return this.add(7*(Le-this.week()),"day");var Ve=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var Ct=Oe(this).startOf(D).add(1,D).date(Ve),oe=Oe(this).endOf(Qe);if(Ct.isBefore(oe))return 1}var Ee=Oe(this).startOf(D).date(Ve).startOf(Qe).subtract(1,"millisecond"),pt=this.diff(Ee,Qe,!0);return pt<0?Oe(this).startOf("week").week():Math.ceil(pt)},ve.weeks=function(Le){return Le===void 0&&(Le=null),this.week(Le)}}})},172:function(it){(function(Qe,D){it.exports=D()})(this,function(){"use strict";return function(Qe,D){D.prototype.weekYear=function(){var Re=this.month(),Ce=this.week(),Oe=this.year();return Ce===1&&Re===11?Oe+1:Re===0&&Ce>=52?Oe-1:Oe}}})},72540:function(it){(function(Qe,D){it.exports=D()})(this,function(){"use strict";return function(Qe,D){D.prototype.weekday=function(Re){var Ce=this.$locale().weekStart||0,Oe=this.$W,ve=(Oe=0||!Object.prototype.hasOwnProperty.call(r,v)||(c[v]=r[v]);return c}var i=e(3),d=e(4),o=u(d),l=e(14),m=e(15),s=u(m);h.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.oneOfType([o.default.object,o.default.string]),highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.instanceOf(RegExp)])).isRequired,textToHighlight:o.default.string.isRequired,unhighlightClassName:o.default.string,unhighlightStyle:o.default.object};function h(r){var a=r.activeClassName,c=a===void 0?"":a,v=r.activeIndex,p=v===void 0?-1:v,y=r.activeStyle,w=r.autoEscape,A=r.caseSensitive,L=A===void 0?!1:A,$=r.className,k=r.findChunks,W=r.highlightClassName,z=W===void 0?"":W,U=r.highlightStyle,Y=U===void 0?{}:U,q=r.highlightTag,J=q===void 0?"mark":q,Q=r.sanitize,M=r.searchWords,F=r.textToHighlight,N=r.unhighlightClassName,B=N===void 0?"":N,X=r.unhighlightStyle,G=g(r,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),t=(0,i.findAll)({autoEscape:w,caseSensitive:L,findChunks:k,sanitize:Q,searchWords:M,textToHighlight:F}),f=J,P=-1,S="",x=void 0,I=function(b){var E={};for(var j in b)E[j.toLowerCase()]=b[j];return E},C=(0,s.default)(I);return(0,l.createElement)("span",n({className:$},G,{children:t.map(function(T,b){var E=F.substr(T.start,T.end-T.start);if(T.highlight){P++;var j=void 0;typeof z=="object"?L?j=z[E]:(z=C(z),j=z[E.toLowerCase()]):j=z;var H=P===+p;S=j+" "+(H?c:""),x=H===!0&&y!=null?Object.assign({},Y,y):Y;var D={children:E,className:S,key:b,style:x};return typeof f!="string"&&(D.highlightIndex=P),(0,l.createElement)(f,D)}else return(0,l.createElement)("span",{children:E,className:B,key:b,style:X})})}))}O.exports=R.default},function(O,R){O.exports=function(e){var n={};function u(g){if(n[g])return n[g].exports;var i=n[g]={exports:{},id:g,loaded:!1};return e[g].call(i.exports,i,i.exports,u),i.loaded=!0,i.exports}return u.m=e,u.c=n,u.p="",u(0)}([function(e,n,u){e.exports=u(1)},function(e,n,u){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var g=u(2);Object.defineProperty(n,"combineChunks",{enumerable:!0,get:function(){return g.combineChunks}}),Object.defineProperty(n,"fillInChunks",{enumerable:!0,get:function(){return g.fillInChunks}}),Object.defineProperty(n,"findAll",{enumerable:!0,get:function(){return g.findAll}}),Object.defineProperty(n,"findChunks",{enumerable:!0,get:function(){return g.findChunks}})},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=n.findAll=function(s){var h=s.autoEscape,r=s.caseSensitive,a=r===void 0?!1:r,c=s.findChunks,v=c===void 0?i:c,p=s.sanitize,y=s.searchWords,w=s.textToHighlight;return d({chunksToHighlight:g({chunks:v({autoEscape:h,caseSensitive:a,sanitize:p,searchWords:y,textToHighlight:w})}),totalLength:w?w.length:0})},g=n.combineChunks=function(s){var h=s.chunks;return h=h.sort(function(r,a){return r.start-a.start}).reduce(function(r,a){if(r.length===0)return[a];var c=r.pop();if(a.start<=c.end){var v=Math.max(c.end,a.end);r.push({start:c.start,end:v})}else r.push(c,a);return r},[]),h},i=function(s){var h=s.autoEscape,r=s.caseSensitive,a=s.sanitize,c=a===void 0?o:a,v=s.searchWords,p=s.textToHighlight;return p=c(p),v.filter(function(y){return y}).reduce(function(y,w){w=c(w),h&&(w=l(w));for(var A=new RegExp(w,r?"g":"gi"),L=void 0;L=A.exec(p);){var $=L.index,k=A.lastIndex;k>$&&y.push({start:$,end:k}),L.index==A.lastIndex&&A.lastIndex++}return y},[])};n.findChunks=i;var d=n.fillInChunks=function(s){var h=s.chunksToHighlight,r=s.totalLength,a=[],c=function(y,w,A){w-y>0&&a.push({start:y,end:w,highlight:A})};if(h.length===0)c(0,r,!1);else{var v=0;h.forEach(function(p){c(v,p.start,!1),c(p.start,p.end,!0),v=p.end}),c(v,r,!1)}return a};function o(m){return m}function l(m){return m.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(O,R,e){(function(n){if(n.env.NODE_ENV!=="production"){var u=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,g=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===u},i=!0;O.exports=e(6)(g,i)}else O.exports=e(13)()}).call(R,e(5))},function(O,R){var e=O.exports={},n,u;function g(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=g}catch(p){n=g}try{typeof clearTimeout=="function"?u=clearTimeout:u=i}catch(p){u=i}})();function d(p){if(n===setTimeout)return setTimeout(p,0);if((n===g||!n)&&setTimeout)return n=setTimeout,setTimeout(p,0);try{return n(p,0)}catch(y){try{return n.call(null,p,0)}catch(w){return n.call(this,p,0)}}}function o(p){if(u===clearTimeout)return clearTimeout(p);if((u===i||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(p);try{return u(p)}catch(y){try{return u.call(null,p)}catch(w){return u.call(this,p)}}}var l=[],m=!1,s,h=-1;function r(){!m||!s||(m=!1,s.length?l=s.concat(l):h=-1,l.length&&a())}function a(){if(!m){var p=d(r);m=!0;for(var y=l.length;y;){for(s=l,l=[];++h1)for(var w=1;w1?l-1:0),s=1;s2?m-2:0),h=2;h1&&arguments[1]!==void 0?arguments[1]:e,i=void 0,d=[],o=void 0,l=!1,m=function(r,a){return g(r,d[a])},s=function(){for(var r=arguments.length,a=Array(r),c=0;c{const{type:le,children:se,prefixCls:re,buttonProps:I,close:F,autoFocus:z,emitEvent:k,isSilent:H,quitOnNullishReturnValue:K,actionFn:j}=D,B=E.useRef(!1),ae=E.useRef(null),[Q,G]=(0,o.Z)(!1),R=function(){F==null||F.apply(void 0,arguments)};E.useEffect(()=>{let h=null;return z&&(h=setTimeout(()=>{var p;(p=ae.current)===null||p===void 0||p.focus()})),()=>{h&&clearTimeout(h)}},[]);const X=h=>{!M(h)||(G(!0),h.then(function(){G(!1,!0),R.apply(void 0,arguments),B.current=!1},p=>{if(G(!1,!0),B.current=!1,!(H!=null&&H()))return Promise.reject(p)}))},Y=h=>{if(B.current)return;if(B.current=!0,!j){R();return}let p;if(k){if(p=j(h),K&&!M(p)){B.current=!1,R(h);return}}else if(j.length)p=j(F),B.current=!1;else if(p=j(),!M(p)){R();return}X(p)};return E.createElement(U.ZP,Object.assign({},(0,L.nx)(le),{onClick:Y,loading:Q,prefixCls:re},I,{ref:ae}),se)};te.Z=oe},17788:function(Ne,te,i){i.d(te,{Z:function(){return sn}});var E=i(74902),o=i(67294),U=i(38135),L=i(53124),M=i(28459),oe=i(76278),D=i(17012),le=i(26702),se=i(1558),re=i(93967),I=i.n(re),F=i(87263),z=i(33603),k=i(10110),H=i(29691),K=i(86743);const j=o.createContext({}),{Provider:B}=j;var Q=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:s,isSilent:n,mergedOkCancel:l,rootPrefixCls:a,close:C,onCancel:f,onConfirm:c}=(0,o.useContext)(j);return l?o.createElement(K.Z,{isSilent:n,actionFn:f,close:function(){C==null||C.apply(void 0,arguments),c==null||c(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${a}-btn`},s):null},R=()=>{const{autoFocusButton:e,close:t,isSilent:s,okButtonProps:n,rootPrefixCls:l,okTextLocale:a,okType:C,onConfirm:f,onOk:c}=(0,o.useContext)(j);return o.createElement(K.Z,{isSilent:s,type:C||"primary",actionFn:c,close:function(){t==null||t.apply(void 0,arguments),f==null||f(!0)},autoFocus:e==="ok",buttonProps:n,prefixCls:`${l}-btn`},a)},X=i(62208),Y=i(40974),h=i(69760),p=i(98924);const Ie=()=>(0,p.Z)()&&window.document.documentElement;var Se=i(43945),ie=i(35792),Be=i(65223),Ze=i(4173),Me=i(16569),Fe=i(98866),ue=i(14726),fe=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:s}=(0,o.useContext)(j);return o.createElement(ue.ZP,Object.assign({onClick:s},e),t)},Re=i(33671),de=()=>{const{confirmLoading:e,okButtonProps:t,okType:s,okTextLocale:n,onOk:l}=(0,o.useContext)(j);return o.createElement(ue.ZP,Object.assign({},(0,Re.nx)(s),{loading:e,onClick:l},t),n)},me=i(83008);function Ce(e,t){return o.createElement("span",{className:`${e}-close-x`},t||o.createElement(X.Z,{className:`${e}-close-icon`}))}const ve=e=>{const{okText:t,okType:s="primary",cancelText:n,confirmLoading:l,onOk:a,onCancel:C,okButtonProps:f,cancelButtonProps:c,footer:u}=e,[r]=(0,k.Z)("Modal",(0,me.A)()),d=t||(r==null?void 0:r.okText),y=n||(r==null?void 0:r.cancelText),m={confirmLoading:l,okButtonProps:f,cancelButtonProps:c,okTextLocale:d,cancelTextLocale:y,okType:s,onOk:a,onCancel:C},P=o.useMemo(()=>m,(0,E.Z)(Object.values(m)));let g;return typeof u=="function"||typeof u=="undefined"?(g=o.createElement(o.Fragment,null,o.createElement(fe,null),o.createElement(de,null)),typeof u=="function"&&(g=u(g,{OkBtn:de,CancelBtn:fe})),g=o.createElement(B,{value:P},g)):g=u,o.createElement(Fe.n,{disabled:!1},g)};var J=i(71194),Ae=function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{ce={x:e.pageX,y:e.pageY},setTimeout(()=>{ce=null},100)};Ie()&&document.documentElement.addEventListener("click",we,!0);var ge=e=>{var t;const{getPopupContainer:s,getPrefixCls:n,direction:l,modal:a}=o.useContext(L.E_),C=V=>{const{onCancel:w}=e;w==null||w(V)},f=V=>{const{onOk:w}=e;w==null||w(V)},{prefixCls:c,className:u,rootClassName:r,open:d,wrapClassName:y,centered:m,getContainer:P,focusTriggerAfterClose:g=!0,style:O,visible:v,width:x=520,footer:$,classNames:b,styles:Z}=e,N=Ae(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),S=n("modal",c),q=n(),_=(0,ie.Z)(S),[ee,ne,rn]=(0,J.ZP)(S,_),an=I()(y,{[`${S}-centered`]:!!m,[`${S}-wrap-rtl`]:l==="rtl"}),cn=$!==null&&o.createElement(ve,Object.assign({},e,{onOk:f,onCancel:C})),[un,fn]=(0,h.Z)((0,h.w)(e),(0,h.w)(a),{closable:!0,closeIcon:o.createElement(X.Z,{className:`${S}-close-icon`}),closeIconRender:V=>Ce(S,V)}),dn=(0,Me.H)(`.${S}-content`),[mn,Cn]=(0,F.Cn)("Modal",N.zIndex);return ee(o.createElement(Ze.BR,null,o.createElement(Be.Ux,{status:!0,override:!0},o.createElement(Se.Z.Provider,{value:Cn},o.createElement(Y.Z,Object.assign({width:x},N,{zIndex:mn,getContainer:P===void 0?s:P,prefixCls:S,rootClassName:I()(ne,r,rn,_),footer:cn,visible:d!=null?d:v,mousePosition:(t=N.mousePosition)!==null&&t!==void 0?t:ce,onClose:C,closable:un,closeIcon:fn,focusTriggerAfterClose:g,transitionName:(0,z.m)(q,"zoom",e.transitionName),maskTransitionName:(0,z.m)(q,"fade",e.maskTransitionName),className:I()(ne,u,a==null?void 0:a.className),style:Object.assign(Object.assign({},a==null?void 0:a.style),O),classNames:Object.assign(Object.assign(Object.assign({},a==null?void 0:a.classNames),b),{wrapper:I()(an,b==null?void 0:b.wrapper)}),styles:Object.assign(Object.assign({},a==null?void 0:a.styles),Z),panelRef:dn}))))))},Le=i(54548),De=i(14747),ze=i(91945);const ke=e=>{const{componentCls:t,titleFontSize:s,titleLineHeight:n,modalConfirmIconSize:l,fontSize:a,lineHeight:C,modalTitleHeight:f,fontHeight:c,confirmBodyPadding:u}=e,r=`${t}-confirm`;return{[r]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${r}-body-wrapper`]:Object.assign({},(0,De.dF)()),[`&${t} ${t}-body`]:{padding:u},[`${r}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:l,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(l).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(f).sub(l).equal()).div(2).equal()}},[`${r}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${r}-paragraph`]:{maxWidth:`calc(100% - ${(0,Le.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${r}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:s,lineHeight:n},[`${r}-content`]:{color:e.colorText,fontSize:a,lineHeight:C},[`${r}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${r}-error ${r}-body > ${e.iconCls}`]:{color:e.colorError},[`${r}-warning ${r}-body > ${e.iconCls}, + ${r}-confirm ${r}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${r}-info ${r}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${r}-success ${r}-body > ${e.iconCls}`]:{color:e.colorSuccess}}};var He=(0,ze.bk)(["Modal","confirm"],e=>{const t=(0,J.B4)(e);return[ke(t)]},J.eh,{order:-1e3}),We=function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);lx,(0,E.Z)(Object.values(x))),b=o.createElement(o.Fragment,null,o.createElement(Q,null),o.createElement(R,null)),Z=e.title!==void 0&&e.title!==null,N=`${a}-body`;return o.createElement("div",{className:`${a}-body-wrapper`},o.createElement("div",{className:I()(N,{[`${N}-has-title`]:Z})},d,o.createElement("div",{className:`${a}-paragraph`},Z&&o.createElement("span",{className:`${a}-title`},e.title),o.createElement("div",{className:`${a}-content`},e.content))),c===void 0||typeof c=="function"?o.createElement(B,{value:$},o.createElement("div",{className:`${a}-btns`},typeof c=="function"?c(b,{OkBtn:R,CancelBtn:Q}):b)):c,o.createElement(He,{prefixCls:t}))}const Ve=e=>{const{close:t,zIndex:s,afterClose:n,open:l,keyboard:a,centered:C,getContainer:f,maskStyle:c,direction:u,prefixCls:r,wrapClassName:d,rootPrefixCls:y,bodyStyle:m,closable:P=!1,closeIcon:g,modalRender:O,focusTriggerAfterClose:v,onConfirm:x,styles:$}=e,b=`${r}-confirm`,Z=e.width||416,N=e.style||{},S=e.mask===void 0?!0:e.mask,q=e.maskClosable===void 0?!1:e.maskClosable,_=I()(b,`${b}-${e.type}`,{[`${b}-rtl`]:u==="rtl"},e.className),[,ee]=(0,H.ZP)(),ne=o.useMemo(()=>s!==void 0?s:ee.zIndexPopupBase+F.u6,[s,ee]);return o.createElement(ge,{prefixCls:r,className:_,wrapClassName:I()({[`${b}-centered`]:!!e.centered},d),onCancel:()=>{t==null||t({triggerCancel:!0}),x==null||x(!1)},open:l,title:"",footer:null,transitionName:(0,z.m)(y||"","zoom",e.transitionName),maskTransitionName:(0,z.m)(y||"","fade",e.maskTransitionName),mask:S,maskClosable:q,style:N,styles:Object.assign({body:m,mask:c},$),width:Z,zIndex:ne,afterClose:n,keyboard:a,centered:C,getContainer:f,closable:P,closeIcon:g,modalRender:O,focusTriggerAfterClose:v},o.createElement(xe,Object.assign({},e,{confirmPrefixCls:b})))};var ye=e=>{const{rootPrefixCls:t,iconPrefixCls:s,direction:n,theme:l}=e;return o.createElement(M.ZP,{prefixCls:t,iconPrefixCls:s,direction:n,theme:l},o.createElement(Ve,Object.assign({},e)))},A=[];let Oe="";function be(){return Oe}const Ue=e=>{var t,s;const{prefixCls:n,getContainer:l,direction:a}=e,C=(0,me.A)(),f=(0,o.useContext)(L.E_),c=be()||f.getPrefixCls(),u=n||`${c}-modal`;let r=l;return r===!1&&(r=void 0),o.createElement(ye,Object.assign({},e,{rootPrefixCls:c,prefixCls:u,iconPrefixCls:f.iconPrefixCls,theme:f.theme,direction:a!=null?a:f.direction,locale:(s=(t=f.locale)===null||t===void 0?void 0:t.Modal)!==null&&s!==void 0?s:C,getContainer:r}))};function W(e){const t=(0,M.w6)(),s=document.createDocumentFragment();let n=Object.assign(Object.assign({},e),{close:f,open:!0}),l;function a(){for(var u=arguments.length,r=new Array(u),d=0;dm&&m.triggerCancel);e.onCancel&&y&&e.onCancel.apply(e,[()=>{}].concat((0,E.Z)(r.slice(1))));for(let m=0;m{const r=t.getPrefixCls(void 0,be()),d=t.getIconPrefixCls(),y=t.getTheme(),m=o.createElement(Ue,Object.assign({},u));(0,U.s)(o.createElement(M.ZP,{prefixCls:r,iconPrefixCls:d,theme:y},t.holderRender?t.holderRender(m):m),s)})}function f(){for(var u=arguments.length,r=new Array(u),d=0;d{typeof e.afterClose=="function"&&e.afterClose(),a.apply(this,r)}}),n.visible&&delete n.visible,C(n)}function c(u){typeof u=="function"?n=u(n):n=Object.assign(Object.assign({},n),u),C(n)}return C(n),A.push(f),{destroy:f,update:c}}function Pe(e){return Object.assign(Object.assign({},e),{type:"warning"})}function pe(e){return Object.assign(Object.assign({},e),{type:"info"})}function Ee(e){return Object.assign(Object.assign({},e),{type:"success"})}function he(e){return Object.assign(Object.assign({},e),{type:"error"})}function je(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Ke(e){let{rootPrefixCls:t}=e;Oe=t}var Qe=i(8745),Ge=function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{const{prefixCls:t,className:s,closeIcon:n,closable:l,type:a,title:C,children:f,footer:c}=e,u=Ge(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:r}=o.useContext(L.E_),d=r(),y=t||r("modal"),m=(0,ie.Z)(d),[P,g,O]=(0,J.ZP)(y,m),v=`${y}-confirm`;let x={};return a?x={closable:l!=null?l:!1,title:"",footer:"",children:o.createElement(xe,Object.assign({},e,{prefixCls:y,confirmPrefixCls:v,rootPrefixCls:d,content:f}))}:x={closable:l!=null?l:!0,title:C,footer:c!==null&&o.createElement(ve,Object.assign({},e)),children:f},P(o.createElement(Y.s,Object.assign({prefixCls:y,className:I()(g,`${y}-pure-panel`,a&&v,a&&`${v}-${a}`,s,O,m)},u,{closeIcon:Ce(y,n),closable:l},x)))};var Ye=(0,Qe.i)(Xe);function Je(){const[e,t]=o.useState([]),s=o.useCallback(n=>(t(l=>[].concat((0,E.Z)(l),[n])),()=>{t(l=>l.filter(a=>a!==n))}),[]);return[e,s]}var qe=i(24457),_e=function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{var s,{afterClose:n,config:l}=e,a=_e(e,["afterClose","config"]);const[C,f]=o.useState(!0),[c,u]=o.useState(l),{direction:r,getPrefixCls:d}=o.useContext(L.E_),y=d("modal"),m=d(),P=()=>{var x;n(),(x=c.afterClose)===null||x===void 0||x.call(c)},g=function(){f(!1);for(var x=arguments.length,$=new Array(x),b=0;bN&&N.triggerCancel);c.onCancel&&Z&&c.onCancel.apply(c,[()=>{}].concat((0,E.Z)($.slice(1))))};o.useImperativeHandle(t,()=>({destroy:g,update:x=>{u($=>Object.assign(Object.assign({},$),x))}}));const O=(s=c.okCancel)!==null&&s!==void 0?s:c.type==="confirm",[v]=(0,k.Z)("Modal",qe.Z.Modal);return o.createElement(ye,Object.assign({prefixCls:y,rootPrefixCls:m},c,{close:g,open:C,afterClose:P,okText:c.okText||(O?v==null?void 0:v.okText:v==null?void 0:v.justOkText),direction:c.direction||r,cancelText:c.cancelText||(v==null?void 0:v.cancelText)},a))};var nn=o.forwardRef(en);let Te=0;const tn=o.memo(o.forwardRef((e,t)=>{const[s,n]=Je();return o.useImperativeHandle(t,()=>({patchElement:n}),[]),o.createElement(o.Fragment,null,s)}));function on(){const e=o.useRef(null),[t,s]=o.useState([]);o.useEffect(()=>{t.length&&((0,E.Z)(t).forEach(C=>{C()}),s([]))},[t]);const n=o.useCallback(a=>function(f){var c;Te+=1;const u=o.createRef();let r;const d=new Promise(O=>{r=O});let y=!1,m;const P=o.createElement(nn,{key:`modal-${Te}`,config:a(f),ref:u,afterClose:()=>{m==null||m()},isSilent:()=>y,onConfirm:O=>{r(O)}});return m=(c=e.current)===null||c===void 0?void 0:c.patchElement(P),m&&A.push(m),{destroy:()=>{function O(){var v;(v=u.current)===null||v===void 0||v.destroy()}u.current?O():s(v=>[].concat((0,E.Z)(v),[O]))},update:O=>{function v(){var x;(x=u.current)===null||x===void 0||x.update(O)}u.current?v():s(x=>[].concat((0,E.Z)(x),[v]))},then:O=>(y=!0,d.then(O))}},[]);return[o.useMemo(()=>({info:n(pe),success:n(Ee),error:n(he),warning:n(Pe),confirm:n(je)}),[]),o.createElement(tn,{key:"modal-holder",ref:e})]}var ln=on;function $e(e){return W(Pe(e))}const T=ge;T.useModal=ln,T.info=function(t){return W(pe(t))},T.success=function(t){return W(Ee(t))},T.error=function(t){return W(he(t))},T.warning=$e,T.warn=$e,T.confirm=function(t){return W(je(t))},T.destroyAll=function(){for(;A.length;){const t=A.pop();t&&t()}},T.config=Ke,T._InternalPanelDoNotUseOrYouWillBeFired=Ye;var sn=T}}]); diff --git a/statics/7804.18fb1ab6.async.js b/statics/7804.18fb1ab6.async.js new file mode 100644 index 00000000..8295136e --- /dev/null +++ b/statics/7804.18fb1ab6.async.js @@ -0,0 +1,13 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7804],{37804:function(st,en,u){u.d(en,{Z:function(){return Xn}});var i=u(67294),nn=u(13622),_=u(87462),tn={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"},rn=tn,an=u(93771),on=function(n,t){return i.createElement(an.Z,(0,_.Z)({},n,{ref:t,icon:rn}))},ln=i.forwardRef(on),sn=ln,un=u(93967),T=u.n(un),I=u(4942),dn=u(71002),ee=u(97685),Me=u(45987),Ze=u(15671),Ae=u(43144);function pe(){return typeof BigInt=="function"}function Ve(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function G(e){var n=e.trim(),t=n.startsWith("-");t&&(n=n.slice(1)),n=n.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),n.startsWith(".")&&(n="0".concat(n));var r=n||"0",a=r.split("."),o=a[0]||"0",h=a[1]||"0";o==="0"&&h==="0"&&(t=!1);var m=t?"-":"";return{negative:t,negativeStr:m,trimStr:r,integerStr:o,decimalStr:h,fullStr:"".concat(m).concat(r)}}function he(e){var n=String(e);return!Number.isNaN(Number(n))&&n.includes("e")}function U(e){var n=String(e);if(he(e)){var t=Number(n.slice(n.indexOf("e-")+2)),r=n.match(/\.(\d+)/);return r!=null&&r[1]&&(t+=r[1].length),t}return n.includes(".")&&be(n)?n.length-n.indexOf(".")-1:0}function oe(e){var n=String(e);if(he(e)){if(e>Number.MAX_SAFE_INTEGER)return String(pe()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return t?this.isInvalidate()?"":G("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),fn=function(){function e(n){if((0,Ze.Z)(this,e),(0,I.Z)(this,"origin",""),(0,I.Z)(this,"number",void 0),(0,I.Z)(this,"empty",void 0),Ve(n)){this.empty=!0;return}this.origin=String(n),this.number=Number(n)}return(0,Ae.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var r=Number(t);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return t?this.isInvalidate()?"":oe(this.number):this.origin}}]),e}();function je(e){return pe()?new cn(e):new fn(e)}function le(e,n,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=G(e),o=a.negativeStr,h=a.integerStr,m=a.decimalStr,g="".concat(n).concat(m),v="".concat(o).concat(h);if(t>=0){var c=Number(m[t]);if(c>=5&&!r){var S=je(e).add("".concat(o,"0.").concat("0".repeat(t)).concat(10-c));return le(S.toString(),n,t,r)}return t===0?v:"".concat(v).concat(n).concat(m.padEnd(t,"0").slice(0,t))}return g===".0"?v:"".concat(v).concat(g)}var O=je,mn=u(67656),se=u(8410);function vn(e,n){return typeof Proxy!="undefined"&&e?new Proxy(e,{get:function(r,a){if(n[a])return n[a];var o=r[a];return typeof o=="function"?o.bind(r):o}}):e}var gn=u(42550),pn=u(80334);function hn(e,n){var t=(0,i.useRef)(null);function r(){try{var o=e.selectionStart,h=e.selectionEnd,m=e.value,g=m.substring(0,o),v=m.substring(h);t.current={start:o,end:h,value:m,beforeTxt:g,afterTxt:v}}catch(c){}}function a(){if(e&&t.current&&n)try{var o=e.value,h=t.current,m=h.beforeTxt,g=h.afterTxt,v=h.start,c=o.length;if(o.endsWith(g))c=o.length-t.current.afterTxt.length;else if(o.startsWith(m))c=m.length;else{var S=m[v-1],E=o.indexOf(S,v-1);E!==-1&&(c=E+1)}e.setSelectionRange(c,c)}catch(N){(0,pn.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(N.message))}}return[r,a]}var bn=u(31131),Sn=function(){var n=(0,i.useState)(!1),t=(0,ee.Z)(n,2),r=t[0],a=t[1];return(0,se.Z)(function(){a((0,bn.Z)())},[]),r},Nn=Sn,ue=u(75164),yn=200,En=600;function In(e){var n=e.prefixCls,t=e.upNode,r=e.downNode,a=e.upDisabled,o=e.downDisabled,h=e.onStep,m=i.useRef(),g=i.useRef([]),v=i.useRef();v.current=h;var c=function(){clearTimeout(m.current)},S=function(f,P){f.preventDefault(),c(),v.current(P);function M(){v.current(P),m.current=setTimeout(M,yn)}m.current=setTimeout(M,En)};i.useEffect(function(){return function(){c(),g.current.forEach(function($){return ue.Z.cancel($)})}},[]);var E=Nn();if(E)return null;var N="".concat(n,"-handler"),x=T()(N,"".concat(N,"-up"),(0,I.Z)({},"".concat(N,"-up-disabled"),a)),D=T()(N,"".concat(N,"-down"),(0,I.Z)({},"".concat(N,"-down-disabled"),o)),y=function(){return g.current.push((0,ue.Z)(c))},B={unselectable:"on",role:"button",onMouseUp:y,onMouseLeave:y};return i.createElement("div",{className:"".concat(N,"-wrap")},i.createElement("span",(0,_.Z)({},B,{onMouseDown:function(f){S(f,!0)},"aria-label":"Increase Value","aria-disabled":a,className:x}),t||i.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-up-inner")})),i.createElement("span",(0,_.Z)({},B,{onMouseDown:function(f){S(f,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:D}),r||i.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-down-inner")})))}function Fe(e){var n=typeof e=="number"?oe(e):G(e).fullStr,t=n.includes(".");return t?G(n.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var $n=u(87887),xn=function(){var e=(0,i.useRef)(0),n=function(){ue.Z.cancel(e.current)};return(0,i.useEffect)(function(){return n},[]),function(t){n(),e.current=(0,ue.Z)(function(){t()})}},Rn=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],wn=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Te=function(n,t){return n||t.isEmpty()?t.toString():t.toNumber()},We=function(n){var t=O(n);return t.isInvalidate()?null:t},Cn=i.forwardRef(function(e,n){var t=e.prefixCls,r=e.className,a=e.style,o=e.min,h=e.max,m=e.step,g=m===void 0?1:m,v=e.defaultValue,c=e.value,S=e.disabled,E=e.readOnly,N=e.upHandler,x=e.downHandler,D=e.keyboard,y=e.changeOnWheel,B=y===void 0?!1:y,$=e.controls,f=$===void 0?!0:$,P=e.classNames,M=e.stringMode,w=e.parser,Z=e.formatter,A=e.precision,C=e.decimalSeparator,W=e.onChange,H=e.onInput,V=e.onPressEnter,z=e.onStep,fe=e.changeOnBlur,Ee=fe===void 0?!0:fe,Ie=e.domRef,me=(0,Me.Z)(e,Rn),L="".concat(t,"-input"),k=i.useRef(null),$e=i.useState(!1),te=(0,ee.Z)($e,2),X=te[0],ve=te[1],j=i.useRef(!1),K=i.useRef(!1),Y=i.useRef(!1),xe=i.useState(function(){return O(c!=null?c:v)}),Q=(0,ee.Z)(xe,2),b=Q[0],Ue=Q[1];function Yn(s){c===void 0&&Ue(s)}var Re=i.useCallback(function(s,l){if(!l)return A>=0?A:Math.max(U(s),U(g))},[A,g]),we=i.useCallback(function(s){var l=String(s);if(w)return w(l);var p=l;return C&&(p=p.replace(C,".")),p.replace(/[^\w.-]+/g,"")},[w,C]),Ce=i.useRef(""),ze=i.useCallback(function(s,l){if(Z)return Z(s,{userTyping:l,input:String(Ce.current)});var p=typeof s=="number"?oe(s):s;if(!l){var d=Re(p,l);if(be(p)&&(C||d>=0)){var F=C||".";p=le(p,F,d)}}return p},[Z,Re,C]),Qn=i.useState(function(){var s=v!=null?v:c;return b.isInvalidate()&&["string","number"].includes((0,dn.Z)(s))?Number.isNaN(s)?"":s:ze(b.toString(),!1)}),ke=(0,ee.Z)(Qn,2),re=ke[0],Ke=ke[1];Ce.current=re;function ae(s,l){Ke(ze(s.isInvalidate()?s.toString(!1):s.toString(!l),l))}var J=i.useMemo(function(){return We(h)},[h,A]),q=i.useMemo(function(){return We(o)},[o,A]),Xe=i.useMemo(function(){return!J||!b||b.isInvalidate()?!1:J.lessEquals(b)},[J,b]),Ye=i.useMemo(function(){return!q||!b||b.isInvalidate()?!1:b.lessEquals(q)},[q,b]),Jn=hn(k.current,X),Qe=(0,ee.Z)(Jn,2),qn=Qe[0],_n=Qe[1],Je=function(l){return J&&!l.lessEquals(J)?J:q&&!q.lessEquals(l)?q:null},Oe=function(l){return!Je(l)},ge=function(l,p){var d=l,F=Oe(d)||d.isEmpty();if(!d.isEmpty()&&!p&&(d=Je(d)||d,F=!0),!E&&!S&&F){var ie=d.toString(),Be=Re(ie,p);return Be>=0&&(d=O(le(ie,".",Be)),Oe(d)||(d=O(le(ie,".",Be,!0)))),d.equals(b)||(Yn(d),W==null||W(d.isEmpty()?null:Te(M,d)),c===void 0&&ae(d,p)),d}return b},et=xn(),qe=function s(l){if(qn(),Ce.current=l,Ke(l),!K.current){var p=we(l),d=O(p);d.isNaN()||ge(d,!0)}H==null||H(l),et(function(){var F=l;w||(F=l.replace(/。/g,".")),F!==l&&s(F)})},nt=function(){K.current=!0},tt=function(){K.current=!1,qe(k.current.value)},rt=function(l){qe(l.target.value)},De=function(l){var p;if(!(l&&Xe||!l&&Ye)){j.current=!1;var d=O(Y.current?Fe(g):g);l||(d=d.negate());var F=(b||O(0)).add(d.toString()),ie=ge(F,!1);z==null||z(Te(M,ie),{offset:Y.current?Fe(g):g,type:l?"up":"down"}),(p=k.current)===null||p===void 0||p.focus()}},_e=function(l){var p=O(we(re)),d;p.isNaN()?d=ge(b,l):d=ge(p,l),c!==void 0?ae(b,!1):d.isNaN()||ae(d,!1)},at=function(){j.current=!0},it=function(l){var p=l.key,d=l.shiftKey;j.current=!0,Y.current=d,p==="Enter"&&(K.current||(j.current=!1),_e(!1),V==null||V(l)),D!==!1&&!K.current&&["Up","ArrowUp","Down","ArrowDown"].includes(p)&&(De(p==="Up"||p==="ArrowUp"),l.preventDefault())},ot=function(){j.current=!1,Y.current=!1};i.useEffect(function(){if(B&&X){var s=function(d){De(d.deltaY<0),d.preventDefault()},l=k.current;if(l)return l.addEventListener("wheel",s,{passive:!1}),function(){return l.removeEventListener("wheel",s)}}});var lt=function(){Ee&&_e(!1),ve(!1),j.current=!1};return(0,se.o)(function(){b.isInvalidate()||ae(b,!1)},[A,Z]),(0,se.o)(function(){var s=O(c);Ue(s);var l=O(we(re));(!s.equals(l)||!j.current||Z)&&ae(s,j.current)},[c]),(0,se.o)(function(){Z&&_n()},[re]),i.createElement("div",{ref:Ie,className:T()(t,r,(0,I.Z)((0,I.Z)((0,I.Z)((0,I.Z)((0,I.Z)({},"".concat(t,"-focused"),X),"".concat(t,"-disabled"),S),"".concat(t,"-readonly"),E),"".concat(t,"-not-a-number"),b.isNaN()),"".concat(t,"-out-of-range"),!b.isInvalidate()&&!Oe(b))),style:a,onFocus:function(){ve(!0)},onBlur:lt,onKeyDown:it,onKeyUp:ot,onCompositionStart:nt,onCompositionEnd:tt,onBeforeInput:at},f&&i.createElement(In,{prefixCls:t,upNode:N,downNode:x,upDisabled:Xe,downDisabled:Ye,onStep:De}),i.createElement("div",{className:"".concat(L,"-wrap")},i.createElement("input",(0,_.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":h,"aria-valuenow":b.isInvalidate()?null:b.toString(),step:g},me,{ref:(0,gn.sQ)(k,n),className:L,value:re,onChange:rt,disabled:S,readOnly:E}))))}),On=i.forwardRef(function(e,n){var t=e.disabled,r=e.style,a=e.prefixCls,o=a===void 0?"rc-input-number":a,h=e.value,m=e.prefix,g=e.suffix,v=e.addonBefore,c=e.addonAfter,S=e.className,E=e.classNames,N=(0,Me.Z)(e,wn),x=i.useRef(null),D=i.useRef(null),y=i.useRef(null),B=function(f){y.current&&(0,$n.nH)(y.current,f)};return i.useImperativeHandle(n,function(){return vn(y.current,{nativeElement:x.current.nativeElement||D.current})}),i.createElement(mn.Q,{className:S,triggerFocus:B,prefixCls:o,value:h,disabled:t,style:r,prefix:m,suffix:g,addonAfter:c,addonBefore:v,classNames:E,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:x},i.createElement(Cn,(0,_.Z)({prefixCls:o,disabled:t,ref:y,domRef:D,className:E==null?void 0:E.input},N)))}),Dn=On,Bn=Dn,Se=u(9708),Mn=u(53124),Zn=u(28459),An=u(98866),Vn=u(35792),jn=u(98675),Ne=u(65223),Fn=u(27833),ye=u(4173),R=u(54548),de=u(47673),He=u(20353),ne=u(93900),ce=u(14747),Tn=u(80110),Wn=u(91945),Hn=u(45503),Ln=u(10274);const Pn=e=>{var n;const t=(n=e.handleVisible)!==null&&n!==void 0?n:"auto";return Object.assign(Object.assign({},(0,He.T)(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Ln.C(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:t===!0?1:0})},Le=(e,n)=>{let{componentCls:t,borderRadiusSM:r,borderRadiusLG:a}=e;const o=n==="lg"?a:r;return{[`&-${n}`]:{[`${t}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderEndEndRadius:o}}}},Gn=e=>{const{componentCls:n,lineWidth:t,lineType:r,borderRadius:a,fontSizeLG:o,controlHeightLG:h,controlHeightSM:m,colorError:g,paddingInlineSM:v,paddingBlockSM:c,paddingBlockLG:S,paddingInlineLG:E,colorTextDescription:N,motionDurationMid:x,handleHoverColor:D,paddingInline:y,paddingBlock:B,handleBg:$,handleActiveBg:f,colorTextDisabled:P,borderRadiusSM:M,borderRadiusLG:w,controlWidth:Z,handleOpacity:A,handleBorderColor:C,filledHandleBg:W,lineHeightLG:H,calc:V}=e;return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ce.Wf)(e)),(0,de.ik)(e)),{display:"inline-block",width:Z,margin:0,padding:0,borderRadius:a}),(0,ne.qG)(e,{[`${n}-handler-wrap`]:{background:$,[`${n}-handler-down`]:{borderBlockStart:`${(0,R.bf)(t)} ${r} ${C}`}}})),(0,ne.H8)(e,{[`${n}-handler-wrap`]:{background:W,[`${n}-handler-down`]:{borderBlockStart:`${(0,R.bf)(t)} ${r} ${C}`}},"&:focus-within":{[`${n}-handler-wrap`]:{background:$}}})),(0,ne.Mu)(e)),{"&-rtl":{direction:"rtl",[`${n}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:H,borderRadius:w,[`input${n}-input`]:{height:V(h).sub(V(t).mul(2)).equal(),padding:`${(0,R.bf)(S)} ${(0,R.bf)(E)}`}},"&-sm":{padding:0,borderRadius:M,[`input${n}-input`]:{height:V(m).sub(V(t).mul(2)).equal(),padding:`${(0,R.bf)(c)} ${(0,R.bf)(v)}`}},"&-out-of-range":{[`${n}-input-wrap`]:{input:{color:g}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ce.Wf)(e)),(0,de.s7)(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${n}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${n}-group-addon`]:{borderRadius:w,fontSize:e.fontSizeLG}},"&-sm":{[`${n}-group-addon`]:{borderRadius:M}}},(0,ne.ir)(e)),(0,ne.S5)(e)),{[`&:not(${n}-compact-first-item):not(${n}-compact-last-item)${n}-compact-item`]:{[`${n}, ${n}-group-addon`]:{borderRadius:0}},[`&:not(${n}-compact-last-item)${n}-compact-first-item`]:{[`${n}, ${n}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${n}-compact-first-item)${n}-compact-last-item`]:{[`${n}, ${n}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${n}-input`]:{cursor:"not-allowed"},[n]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ce.Wf)(e)),{width:"100%",padding:`${(0,R.bf)(B)} ${(0,R.bf)(y)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${x} linear`,appearance:"textfield",fontSize:"inherit"}),(0,de.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[n]:Object.assign(Object.assign(Object.assign({[`&:hover ${n}-handler-wrap, &-focused ${n}-handler-wrap`]:{opacity:1},[`${n}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,opacity:A,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${x} linear ${x}`,[`${n}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${n}-handler-up-inner, + ${n}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${n}-handler`]:{height:"50%",overflow:"hidden",color:N,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,R.bf)(t)} ${r} ${C}`,transition:`all ${x} linear`,"&:active":{background:f},"&:hover":{height:"60%",[` + ${n}-handler-up-inner, + ${n}-handler-down-inner + `]:{color:D}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ce.Ro)()),{color:N,transition:`all ${x} linear`,userSelect:"none"})},[`${n}-handler-up`]:{borderStartEndRadius:a},[`${n}-handler-down`]:{borderEndEndRadius:a}},Le(e,"lg")),Le(e,"sm")),{"&-disabled, &-readonly":{[`${n}-handler-wrap`]:{display:"none"},[`${n}-input`]:{color:"inherit"}},[` + ${n}-handler-up-disabled, + ${n}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${n}-handler-up-disabled:hover &-handler-up-inner, + ${n}-handler-down-disabled:hover &-handler-down-inner + `]:{color:P}})}]},Un=e=>{const{componentCls:n,paddingBlock:t,paddingInline:r,inputAffixPadding:a,controlWidth:o,borderRadiusLG:h,borderRadiusSM:m,paddingInlineLG:g,paddingInlineSM:v,paddingBlockLG:c,paddingBlockSM:S}=e;return{[`${n}-affix-wrapper`]:Object.assign(Object.assign({[`input${n}-input`]:{padding:`${(0,R.bf)(t)} 0`}},(0,de.ik)(e)),{position:"relative",display:"inline-flex",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:h,paddingInlineStart:g,[`input${n}-input`]:{padding:`${(0,R.bf)(c)} 0`}},"&-sm":{borderRadius:m,paddingInlineStart:v,[`input${n}-input`]:{padding:`${(0,R.bf)(S)} 0`}},[`&:not(${n}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${n}-disabled`]:{background:"transparent"},[`> div${n}`]:{width:"100%",border:"none",outline:"none",[`&${n}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${n}-handler-wrap`]:{zIndex:2},[n]:{color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:a}}})}};var zn=(0,Wn.I$)("InputNumber",e=>{const n=(0,Hn.TS)(e,(0,He.e)(e));return[Gn(n),Un(n),(0,Tn.c)(n)]},Pn,{unitless:{handleOpacity:!0}}),kn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:r}=i.useContext(Mn.E_),a=i.useRef(null);i.useImperativeHandle(n,()=>a.current);const{className:o,rootClassName:h,size:m,disabled:g,prefixCls:v,addonBefore:c,addonAfter:S,prefix:E,bordered:N,readOnly:x,status:D,controls:y,variant:B}=e,$=kn(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls","variant"]),f=t("input-number",v),P=(0,Vn.Z)(f),[M,w,Z]=zn(f,P),{compactSize:A,compactItemClassnames:C}=(0,ye.ri)(f,r);let W=i.createElement(sn,{className:`${f}-handler-up-inner`}),H=i.createElement(nn.Z,{className:`${f}-handler-down-inner`});const V=typeof y=="boolean"?y:void 0;typeof y=="object"&&(W=typeof y.upIcon=="undefined"?W:i.createElement("span",{className:`${f}-handler-up-inner`},y.upIcon),H=typeof y.downIcon=="undefined"?H:i.createElement("span",{className:`${f}-handler-down-inner`},y.downIcon));const{hasFeedback:z,status:fe,isFormItemInput:Ee,feedbackIcon:Ie}=i.useContext(Ne.aM),me=(0,Se.F)(fe,D),L=(0,jn.Z)(xe=>{var Q;return(Q=m!=null?m:A)!==null&&Q!==void 0?Q:xe}),k=i.useContext(An.Z),$e=g!=null?g:k,[te,X]=(0,Fn.Z)(B,N),ve=z&&i.createElement(i.Fragment,null,Ie),j=T()({[`${f}-lg`]:L==="large",[`${f}-sm`]:L==="small",[`${f}-rtl`]:r==="rtl",[`${f}-in-form-item`]:Ee},w),K=`${f}-group`,Y=i.createElement(Bn,Object.assign({ref:a,disabled:$e,className:T()(Z,P,o,h,C),upHandler:W,downHandler:H,prefixCls:f,readOnly:x,controls:V,prefix:E,suffix:ve,addonAfter:S&&i.createElement(ye.BR,null,i.createElement(Ne.Ux,{override:!0,status:!0},S)),addonBefore:c&&i.createElement(ye.BR,null,i.createElement(Ne.Ux,{override:!0,status:!0},c)),classNames:{input:j,variant:T()({[`${f}-${te}`]:X},(0,Se.Z)(f,me,z)),affixWrapper:T()({[`${f}-affix-wrapper-sm`]:L==="small",[`${f}-affix-wrapper-lg`]:L==="large",[`${f}-affix-wrapper-rtl`]:r==="rtl"},w),wrapper:T()({[`${K}-rtl`]:r==="rtl"},w),groupWrapper:T()({[`${f}-group-wrapper-sm`]:L==="small",[`${f}-group-wrapper-lg`]:L==="large",[`${f}-group-wrapper-rtl`]:r==="rtl",[`${f}-group-wrapper-${te}`]:X},(0,Se.Z)(`${f}-group-wrapper`,me,z),w)}},$));return M(Y)}),Ge=Pe,Kn=e=>i.createElement(Zn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},i.createElement(Pe,Object.assign({},e)));Ge._InternalPanelDoNotUseOrYouWillBeFired=Kn;var Xn=Ge}}]); diff --git a/statics/8045.32d91a61.async.js b/statics/8045.32d91a61.async.js new file mode 100644 index 00000000..30bb3652 --- /dev/null +++ b/statics/8045.32d91a61.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8045],{78045:function(Se,re,n){n.d(re,{ZP:function(){return ye}});var i=n(67294),X=n(93967),A=n.n(X),ne=n(21770),ae=n(64217),G=n(53124),Q=n(35792),ie=n(98675);const P=i.createContext(null),le=P.Provider;var de=P;const g=i.createContext(null),se=g.Provider;var J=n(50132),w=n(42550),ce=n(45353),ue=n(17415),be=n(98866),K=n(65223),k=n(54548),T=n(14747),Y=n(91945),q=n(45503);const fe=o=>{const{componentCls:r,antCls:a}=o,t=`${r}-group`;return{[t]:Object.assign(Object.assign({},(0,T.Wf)(o)),{display:"inline-block",fontSize:0,[`&${t}-rtl`]:{direction:"rtl"},[`${a}-badge ${a}-badge-count`]:{zIndex:1},[`> ${a}-badge:not(:first-child) > ${a}-button-wrapper`]:{borderInlineStart:"none"}})}},U=o=>{const{componentCls:r,wrapperMarginInlineEnd:a,colorPrimary:t,radioSize:e,motionDurationSlow:c,motionDurationMid:C,motionEaseInOutCirc:m,colorBgContainer:u,colorBorder:O,lineWidth:S,colorBgContainerDisabled:$,colorTextDisabled:B,paddingXS:E,dotColorDisabled:I,lineType:D,radioColor:b,radioBgColor:y,calc:h}=o,R=`${r}-inner`,x=4,p=h(e).sub(h(x).mul(2)),d=h(1).mul(e).equal();return{[`${r}-wrapper`]:Object.assign(Object.assign({},(0,T.Wf)(o)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:a,cursor:"pointer",[`&${r}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:o.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${r}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,k.bf)(S)} ${D} ${t}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[r]:Object.assign(Object.assign({},(0,T.Wf)(o)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${r}-wrapper:hover &, + &:hover ${R}`]:{borderColor:t},[`${r}-input:focus-visible + ${R}`]:Object.assign({},(0,T.oN)(o)),[`${r}:hover::after, ${r}-wrapper:hover &::after`]:{visibility:"visible"},[`${r}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:d,height:d,marginBlockStart:h(1).mul(e).div(-2).equal(),marginInlineStart:h(1).mul(e).div(-2).equal(),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:d,transform:"scale(0)",opacity:0,transition:`all ${c} ${m}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:d,height:d,backgroundColor:u,borderColor:O,borderStyle:"solid",borderWidth:S,borderRadius:"50%",transition:`all ${C}`},[`${r}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${r}-checked`]:{[R]:{borderColor:t,backgroundColor:y,"&::after":{transform:`scale(${o.calc(o.dotSize).div(e).equal()})`,opacity:1,transition:`all ${c} ${m}`}}},[`${r}-disabled`]:{cursor:"not-allowed",[R]:{backgroundColor:$,borderColor:O,cursor:"not-allowed","&::after":{backgroundColor:I}},[`${r}-input`]:{cursor:"not-allowed"},[`${r}-disabled + span`]:{color:B,cursor:"not-allowed"},[`&${r}-checked`]:{[R]:{"&::after":{transform:`scale(${h(p).div(e).equal({unit:!1})})`}}}},[`span${r} + *`]:{paddingInlineStart:E,paddingInlineEnd:E}})}},ge=o=>{const{buttonColor:r,controlHeight:a,componentCls:t,lineWidth:e,lineType:c,colorBorder:C,motionDurationSlow:m,motionDurationMid:u,buttonPaddingInline:O,fontSize:S,buttonBg:$,fontSizeLG:B,controlHeightLG:E,controlHeightSM:I,paddingXS:D,borderRadius:b,borderRadiusSM:y,borderRadiusLG:h,buttonCheckedBg:R,buttonSolidCheckedColor:x,colorTextDisabled:p,colorBgContainerDisabled:d,buttonCheckedBgDisabled:j,buttonCheckedColorDisabled:F,colorPrimary:M,colorPrimaryHover:W,colorPrimaryActive:s,buttonSolidCheckedBg:N,buttonSolidCheckedHoverBg:H,buttonSolidCheckedActiveBg:l,calc:f}=o;return{[`${t}-button-wrapper`]:{position:"relative",display:"inline-block",height:a,margin:0,paddingInline:O,paddingBlock:0,color:r,fontSize:S,lineHeight:(0,k.bf)(f(a).sub(f(e).mul(2)).equal()),background:$,border:`${(0,k.bf)(e)} ${c} ${C}`,borderBlockStartWidth:f(e).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:e,cursor:"pointer",transition:[`color ${u}`,`background ${u}`,`box-shadow ${u}`].join(","),a:{color:r},[`> ${t}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:f(e).mul(-1).equal(),insetInlineStart:f(e).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:e,paddingInline:0,backgroundColor:C,transition:`background-color ${m}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,k.bf)(e)} ${c} ${C}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${t}-group-large &`]:{height:E,fontSize:B,lineHeight:(0,k.bf)(f(E).sub(f(e).mul(2)).equal()),"&:first-child":{borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h}},[`${t}-group-small &`]:{height:I,paddingInline:f(D).sub(e).equal(),paddingBlock:0,lineHeight:(0,k.bf)(f(I).sub(f(e).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:M},"&:has(:focus-visible)":Object.assign({},(0,T.oN)(o)),[`${t}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${t}-button-wrapper-disabled)`]:{zIndex:1,color:M,background:R,borderColor:M,"&::before":{backgroundColor:M},"&:first-child":{borderColor:M},"&:hover":{color:W,borderColor:W,"&::before":{backgroundColor:W}},"&:active":{color:s,borderColor:s,"&::before":{backgroundColor:s}}},[`${t}-group-solid &-checked:not(${t}-button-wrapper-disabled)`]:{color:x,background:N,borderColor:N,"&:hover":{color:x,background:H,borderColor:H},"&:active":{color:x,background:l,borderColor:l}},"&-disabled":{color:p,backgroundColor:d,borderColor:C,cursor:"not-allowed","&:first-child, &:hover":{color:p,backgroundColor:d,borderColor:C}},[`&-disabled${t}-button-wrapper-checked`]:{color:F,backgroundColor:j,borderColor:C,boxShadow:"none"}}}},L=o=>{const{wireframe:r,padding:a,marginXS:t,lineWidth:e,fontSizeLG:c,colorText:C,colorBgContainer:m,colorTextDisabled:u,controlItemBgActiveDisabled:O,colorTextLightSolid:S,colorPrimary:$,colorPrimaryHover:B,colorPrimaryActive:E,colorWhite:I}=o,D=4,b=c,y=r?b-D*2:b-(D+e)*2;return{radioSize:b,dotSize:y,dotColorDisabled:u,buttonSolidCheckedColor:S,buttonSolidCheckedBg:$,buttonSolidCheckedHoverBg:B,buttonSolidCheckedActiveBg:E,buttonBg:m,buttonCheckedBg:m,buttonColor:C,buttonCheckedBgDisabled:O,buttonCheckedColorDisabled:u,buttonPaddingInline:a-e,wrapperMarginInlineEnd:t,radioColor:r?$:I,radioBgColor:r?m:$}};var _=(0,Y.I$)("Radio",o=>{const{controlOutline:r,controlOutlineWidth:a}=o,t=`0 0 0 ${(0,k.bf)(a)} ${r}`,e=t,c=(0,q.TS)(o,{radioFocusShadow:t,radioButtonFocusShadow:e});return[fe(c),U(c),ge(c)]},L,{unitless:{radioSize:!0,dotSize:!0}}),he=function(o,r){var a={};for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&r.indexOf(t)<0&&(a[t]=o[t]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,t=Object.getOwnPropertySymbols(o);e{var a,t;const e=i.useContext(de),c=i.useContext(g),{getPrefixCls:C,direction:m,radio:u}=i.useContext(G.E_),O=i.useRef(null),S=(0,w.sQ)(r,O),{isFormItemInput:$}=i.useContext(K.aM),B=l=>{var f,V;(f=o.onChange)===null||f===void 0||f.call(o,l),(V=e==null?void 0:e.onChange)===null||V===void 0||V.call(e,l)},{prefixCls:E,className:I,rootClassName:D,children:b,style:y,title:h}=o,R=he(o,["prefixCls","className","rootClassName","children","style","title"]),x=C("radio",E),p=((e==null?void 0:e.optionType)||c)==="button",d=p?`${x}-button`:x,j=(0,Q.Z)(x),[F,M,W]=_(x,j),s=Object.assign({},R),N=i.useContext(be.Z);e&&(s.name=e.name,s.onChange=B,s.checked=o.value===e.value,s.disabled=(a=s.disabled)!==null&&a!==void 0?a:e.disabled),s.disabled=(t=s.disabled)!==null&&t!==void 0?t:N;const H=A()(`${d}-wrapper`,{[`${d}-wrapper-checked`]:s.checked,[`${d}-wrapper-disabled`]:s.disabled,[`${d}-wrapper-rtl`]:m==="rtl",[`${d}-wrapper-in-form-item`]:$},u==null?void 0:u.className,I,D,M,W,j);return F(i.createElement(ce.Z,{component:"Radio",disabled:s.disabled},i.createElement("label",{className:H,style:Object.assign(Object.assign({},u==null?void 0:u.style),y),onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,title:h},i.createElement(J.Z,Object.assign({},s,{className:A()(s.className,!p&&ue.A),type:"radio",prefixCls:d,ref:S})),b!==void 0?i.createElement("span",null,b):null)))};var Z=i.forwardRef(ee);const ve=i.forwardRef((o,r)=>{const{getPrefixCls:a,direction:t}=i.useContext(G.E_),[e,c]=(0,ne.Z)(o.defaultValue,{value:o.value}),C=l=>{const f=e,V=l.target.value;"value"in o||c(V);const{onChange:me}=o;me&&V!==f&&me(l)},{prefixCls:m,className:u,rootClassName:O,options:S,buttonStyle:$="outline",disabled:B,children:E,size:I,style:D,id:b,onMouseEnter:y,onMouseLeave:h,onFocus:R,onBlur:x}=o,p=a("radio",m),d=`${p}-group`,j=(0,Q.Z)(p),[F,M,W]=_(p,j);let s=E;S&&S.length>0&&(s=S.map(l=>typeof l=="string"||typeof l=="number"?i.createElement(Z,{key:l.toString(),prefixCls:p,disabled:B,value:l,checked:e===l},l):i.createElement(Z,{key:`radio-group-value-options-${l.value}`,prefixCls:p,disabled:l.disabled||B,value:l.value,checked:e===l.value,title:l.title,style:l.style,id:l.id,required:l.required},l.label)));const N=(0,ie.Z)(I),H=A()(d,`${d}-${$}`,{[`${d}-${N}`]:N,[`${d}-rtl`]:t==="rtl"},u,O,M,W,j);return F(i.createElement("div",Object.assign({},(0,ae.Z)(o,{aria:!0,data:!0}),{className:H,style:D,onMouseEnter:y,onMouseLeave:h,onFocus:R,onBlur:x,id:b,ref:r}),i.createElement(le,{value:{onChange:C,value:e,disabled:o.disabled,name:o.name,optionType:o.optionType}},s)))});var pe=i.memo(ve),oe=function(o,r){var a={};for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&r.indexOf(t)<0&&(a[t]=o[t]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,t=Object.getOwnPropertySymbols(o);e{const{getPrefixCls:a}=i.useContext(G.E_),{prefixCls:t}=o,e=oe(o,["prefixCls"]),c=a("radio",t);return i.createElement(se,{value:"button"},i.createElement(Z,Object.assign({prefixCls:c},e,{type:"radio",ref:r})))};var z=i.forwardRef(v);const te=Z;te.Button=z,te.Group=pe,te.__ANT_RADIO=!0;var ye=te},50132:function(Se,re,n){var i=n(87462),X=n(1413),A=n(4942),ne=n(97685),ae=n(45987),G=n(93967),Q=n.n(G),ie=n(21770),P=n(67294),le=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],de=(0,P.forwardRef)(function(g,se){var J=g.prefixCls,w=J===void 0?"rc-checkbox":J,ce=g.className,ue=g.style,be=g.checked,K=g.disabled,k=g.defaultChecked,T=k===void 0?!1:k,Y=g.type,q=Y===void 0?"checkbox":Y,fe=g.title,U=g.onChange,ge=(0,ae.Z)(g,le),L=(0,P.useRef)(null),_=(0,P.useRef)(null),he=(0,ie.Z)(T,{value:be}),ee=(0,ne.Z)(he,2),Ce=ee[0],Z=ee[1];(0,P.useImperativeHandle)(se,function(){return{focus:function(v){var z;(z=L.current)===null||z===void 0||z.focus(v)},blur:function(){var v;(v=L.current)===null||v===void 0||v.blur()},input:L.current,nativeElement:_.current}});var ve=Q()(w,ce,(0,A.Z)((0,A.Z)({},"".concat(w,"-checked"),Ce),"".concat(w,"-disabled"),K)),pe=function(v){K||("checked"in g||Z(v.target.checked),U==null||U({target:(0,X.Z)((0,X.Z)({},g),{},{type:q,checked:v.target.checked}),stopPropagation:function(){v.stopPropagation()},preventDefault:function(){v.preventDefault()},nativeEvent:v.nativeEvent}))};return P.createElement("span",{className:ve,title:fe,style:ue,ref:_},P.createElement("input",(0,i.Z)({},ge,{className:"".concat(w,"-input"),ref:L,onChange:pe,disabled:K,checked:!!Ce,type:q})),P.createElement("span",{className:"".concat(w,"-inner")}))});re.Z=de}}]); diff --git a/statics/8045.5d4a4862.async.js b/statics/8045.5d4a4862.async.js deleted file mode 100644 index f8895c0c..00000000 --- a/statics/8045.5d4a4862.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8045],{78045:function(ge,J,i){i.d(J,{ZP:function(){return be}});var Y=i(94184),Z=i.n(Y),q=i(21770),a=i(67294),F=i(53124),ee=i(97647),oe=i(5467);const V=a.createContext(null),z=V.Provider;var te=V;const X=a.createContext(null),Q=X.Provider;var w=i(50132),ne=i(42550),_=i(98866),$=i(65223),s=i(78635),l=i(67968),g=i(45503),B=i(14747);const A=new s.E4("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),K=e=>{const{componentCls:r,antCls:n}=e,o=`${r}-group`;return{[o]:Object.assign(Object.assign({},(0,B.Wf)(e)),{display:"inline-block",fontSize:0,[`&${o}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},N=e=>{const{componentCls:r,radioWrapperMarginRight:n,radioCheckedColor:o,radioSize:t,motionDurationSlow:d,motionDurationMid:C,motionEaseInOut:T,motionEaseInOutCirc:y,radioButtonBg:k,colorBorder:S,lineWidth:P,radioDotSize:x,colorBgContainerDisabled:O,colorTextDisabled:D,paddingXS:R,radioDotDisabledColor:p,lineType:b,radioDotDisabledSize:v,wireframe:h,colorWhite:u}=e,c=`${r}-inner`;return{[`${r}-wrapper`]:Object.assign(Object.assign({},(0,B.Wf)(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${r}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${r}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${P}px ${b} ${o}`,borderRadius:"50%",visibility:"hidden",animationName:A,animationDuration:d,animationTimingFunction:T,animationFillMode:"both",content:'""'},[r]:Object.assign(Object.assign({},(0,B.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${r}-wrapper:hover &, - &:hover ${c}`]:{borderColor:o},[`${r}-input:focus-visible + ${c}`]:Object.assign({},(0,B.oN)(e)),[`${r}:hover::after, ${r}-wrapper:hover &::after`]:{visibility:"visible"},[`${r}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:t,height:t,marginBlockStart:t/-2,marginInlineStart:t/-2,backgroundColor:h?o:u,borderBlockStart:0,borderInlineStart:0,borderRadius:t,transform:"scale(0)",opacity:0,transition:`all ${d} ${y}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:t,height:t,backgroundColor:k,borderColor:S,borderStyle:"solid",borderWidth:P,borderRadius:"50%",transition:`all ${C}`},[`${r}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${r}-checked`]:{[c]:{borderColor:o,backgroundColor:h?k:o,"&::after":{transform:`scale(${x/t})`,opacity:1,transition:`all ${d} ${y}`}}},[`${r}-disabled`]:{cursor:"not-allowed",[c]:{backgroundColor:O,borderColor:S,cursor:"not-allowed","&::after":{backgroundColor:p}},[`${r}-input`]:{cursor:"not-allowed"},[`${r}-disabled + span`]:{color:D,cursor:"not-allowed"},[`&${r}-checked`]:{[c]:{"&::after":{transform:`scale(${v/t})`}}}},[`span${r} + *`]:{paddingInlineStart:R,paddingInlineEnd:R}})}},re=e=>{const{radioButtonColor:r,controlHeight:n,componentCls:o,lineWidth:t,lineType:d,colorBorder:C,motionDurationSlow:T,motionDurationMid:y,radioButtonPaddingHorizontal:k,fontSize:S,radioButtonBg:P,fontSizeLG:x,controlHeightLG:O,controlHeightSM:D,paddingXS:R,borderRadius:p,borderRadiusSM:b,borderRadiusLG:v,radioCheckedColor:h,radioButtonCheckedBg:u,radioButtonHoverColor:c,radioButtonActiveColor:m,radioSolidCheckedColor:I,colorTextDisabled:M,colorBgContainerDisabled:E,radioDisabledButtonCheckedColor:L,radioDisabledButtonCheckedBg:H}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:k,paddingBlock:0,color:r,fontSize:S,lineHeight:`${n-t*2}px`,background:P,border:`${t}px ${d} ${C}`,borderBlockStartWidth:t+.02,borderInlineStartWidth:0,borderInlineEndWidth:t,cursor:"pointer",transition:[`color ${y}`,`background ${y}`,`border-color ${y}`,`box-shadow ${y}`].join(","),a:{color:r},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-t,insetInlineStart:-t,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:t,paddingInline:0,backgroundColor:C,transition:`background-color ${T}`,content:'""'}},"&:first-child":{borderInlineStart:`${t}px ${d} ${C}`,borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p},"&:first-child:last-child":{borderRadius:p},[`${o}-group-large &`]:{height:O,fontSize:x,lineHeight:`${O-t*2}px`,"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${o}-group-small &`]:{height:D,paddingInline:R-t,paddingBlock:0,lineHeight:`${D-t*2}px`,"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},"&:hover":{position:"relative",color:h},"&:has(:focus-visible)":Object.assign({},(0,B.oN)(e)),[`${o}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:h,background:u,borderColor:h,"&::before":{backgroundColor:h},"&:first-child":{borderColor:h},"&:hover":{color:c,borderColor:c,"&::before":{backgroundColor:c}},"&:active":{color:m,borderColor:m,"&::before":{backgroundColor:m}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:I,background:h,borderColor:h,"&:hover":{color:I,background:c,borderColor:c},"&:active":{color:I,background:m,borderColor:m}},"&-disabled":{color:M,backgroundColor:E,borderColor:C,cursor:"not-allowed","&:first-child, &:hover":{color:M,backgroundColor:E,borderColor:C}},[`&-disabled${o}-button-wrapper-checked`]:{color:L,backgroundColor:H,borderColor:C,boxShadow:"none"}}}};var U=(0,l.Z)("Radio",e=>{const{padding:r,lineWidth:n,controlItemBgActiveDisabled:o,colorTextDisabled:t,colorBgContainer:d,fontSizeLG:C,controlOutline:T,colorPrimaryHover:y,colorPrimaryActive:k,colorText:S,colorPrimary:P,marginXS:x,controlOutlineWidth:O,colorTextLightSolid:D,wireframe:R}=e,p=`0 0 0 ${O}px ${T}`,b=p,v=C,h=4,u=v-h*2,c=R?u:v-(h+n)*2,m=P,I=S,M=y,E=k,L=r-n,H=t,f=x,G=(0,g.TS)(e,{radioFocusShadow:p,radioButtonFocusShadow:b,radioSize:v,radioDotSize:c,radioDotDisabledSize:u,radioCheckedColor:m,radioDotDisabledColor:t,radioSolidCheckedColor:D,radioButtonBg:d,radioButtonCheckedBg:d,radioButtonColor:I,radioButtonHoverColor:M,radioButtonActiveColor:E,radioButtonPaddingHorizontal:L,radioDisabledButtonCheckedBg:o,radioDisabledButtonCheckedColor:H,radioWrapperMarginRight:f});return[K(G),N(G),re(G)]}),ae=function(e,r){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(e);t{const n=a.useContext(te),o=a.useContext(X),{getPrefixCls:t,direction:d}=a.useContext(F.E_),C=a.useRef(),T=(0,ne.sQ)(r,C),{isFormItemInput:y}=a.useContext($.aM),k=I=>{var M,E;(M=e.onChange)===null||M===void 0||M.call(e,I),(E=n==null?void 0:n.onChange)===null||E===void 0||E.call(n,I)},{prefixCls:S,className:P,children:x,style:O,disabled:D}=e,R=ae(e,["prefixCls","className","children","style","disabled"]),p=t("radio",S),b=((n==null?void 0:n.optionType)||o)==="button"?`${p}-button`:p,[v,h]=U(p),u=Object.assign({},R),c=a.useContext(_.Z);u.disabled=D||c,n&&(u.name=n.name,u.onChange=k,u.checked=e.value===n.value,u.disabled=u.disabled||n.disabled);const m=Z()(`${b}-wrapper`,{[`${b}-wrapper-checked`]:u.checked,[`${b}-wrapper-disabled`]:u.disabled,[`${b}-wrapper-rtl`]:d==="rtl",[`${b}-wrapper-in-form-item`]:y},P,h);return v(a.createElement("label",{className:m,style:O,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},a.createElement(w.Z,Object.assign({},u,{type:"radio",prefixCls:b,ref:T})),x!==void 0?a.createElement("span",null,x):null))};var W=a.forwardRef(ie);const le=a.forwardRef((e,r)=>{const{getPrefixCls:n,direction:o}=a.useContext(F.E_),t=a.useContext(ee.Z),[d,C]=(0,q.Z)(e.defaultValue,{value:e.value}),T=f=>{const G=d,fe=f.target.value;"value"in e||C(fe);const{onChange:pe}=e;pe&&fe!==G&&pe(f)},{prefixCls:y,className:k="",options:S,buttonStyle:P="outline",disabled:x,children:O,size:D,style:R,id:p,onMouseEnter:b,onMouseLeave:v,onFocus:h,onBlur:u}=e,c=n("radio",y),m=`${c}-group`,[I,M]=U(c);let E=O;S&&S.length>0&&(E=S.map(f=>typeof f=="string"||typeof f=="number"?a.createElement(W,{key:f.toString(),prefixCls:c,disabled:x,value:f,checked:d===f},f):a.createElement(W,{key:`radio-group-value-options-${f.value}`,prefixCls:c,disabled:f.disabled||x,value:f.value,checked:d===f.value,style:f.style},f.label)));const L=D||t,H=Z()(m,`${m}-${P}`,{[`${m}-${L}`]:L,[`${m}-rtl`]:o==="rtl"},k,M);return I(a.createElement("div",Object.assign({},(0,oe.Z)(e),{className:H,style:R,onMouseEnter:b,onMouseLeave:v,onFocus:h,onBlur:u,id:p,ref:r}),a.createElement(z,{value:{onChange:T,value:d,disabled:e.disabled,name:e.name,optionType:e.optionType}},E)))});var de=a.memo(le),se=function(e,r){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,o=Object.getOwnPropertySymbols(e);t{const{getPrefixCls:n}=a.useContext(F.E_),{prefixCls:o}=e,t=se(e,["prefixCls"]),d=n("radio",o);return a.createElement(Q,{value:"button"},a.createElement(W,Object.assign({prefixCls:d},t,{type:"radio",ref:r})))};var ue=a.forwardRef(ce);const j=W;j.Button=ue,j.Group=de,j.__ANT_RADIO=!0;var be=j},50132:function(ge,J,i){var Y=i(87462),Z=i(4942),q=i(45987),a=i(1413),F=i(15671),ee=i(43144),oe=i(32531),V=i(51630),z=i(67294),te=i(94184),X=i.n(te),Q=function(w){(0,oe.Z)(_,w);var ne=(0,V.Z)(_);function _($){var s;(0,F.Z)(this,_),s=ne.call(this,$),s.handleChange=function(g){var B=s.props,A=B.disabled,K=B.onChange;A||("checked"in s.props||s.setState({checked:g.target.checked}),K&&K({target:(0,a.Z)((0,a.Z)({},s.props),{},{checked:g.target.checked}),stopPropagation:function(){g.stopPropagation()},preventDefault:function(){g.preventDefault()},nativeEvent:g.nativeEvent}))},s.saveInput=function(g){s.input=g};var l="checked"in $?$.checked:$.defaultChecked;return s.state={checked:l},s}return(0,ee.Z)(_,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var s,l=this.props,g=l.prefixCls,B=l.className,A=l.style,K=l.name,N=l.id,re=l.type,U=l.disabled,ae=l.readOnly,ie=l.tabIndex,he=l.onClick,W=l.onFocus,le=l.onBlur,de=l.onKeyDown,se=l.onKeyPress,ce=l.onKeyUp,ue=l.autoFocus,j=l.value,be=l.required,e=(0,q.Z)(l,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),r=Object.keys(e).reduce(function(t,d){return(d.substr(0,5)==="aria-"||d.substr(0,5)==="data-"||d==="role")&&(t[d]=e[d]),t},{}),n=this.state.checked,o=X()(g,B,(s={},(0,Z.Z)(s,"".concat(g,"-checked"),n),(0,Z.Z)(s,"".concat(g,"-disabled"),U),s));return z.createElement("span",{className:o,style:A},z.createElement("input",(0,Y.Z)({name:K,id:N,type:re,required:be,readOnly:ae,disabled:U,tabIndex:ie,className:"".concat(g,"-input"),checked:!!n,onClick:he,onFocus:W,onBlur:le,onKeyUp:ce,onKeyDown:de,onKeyPress:se,onChange:this.handleChange,autoFocus:ue,ref:this.saveInput,value:j},r)),z.createElement("span",{className:"".concat(g,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(s,l){return"checked"in s?(0,a.Z)((0,a.Z)({},l),{},{checked:s.checked}):null}}]),_}(z.Component);Q.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},J.Z=Q}}]); diff --git a/statics/8131.0ed0df50.async.js b/statics/8131.0ed0df50.async.js deleted file mode 100644 index 9fdd390b..00000000 --- a/statics/8131.0ed0df50.async.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8131],{58131:function(Bt,Be,u){u.d(Be,{Z:function(){return Dt}});var L=u(65223),B=u(74902),Xe=u(94184),Q=u.n(Xe),pe=u(62874),o=u(67294),be=u(33603);function le(e){const[t,r]=o.useState(e);return o.useEffect(()=>{const n=setTimeout(()=>{r(e)},e.length?0:10);return()=>{clearTimeout(n)}},[e]),t}var ve=u(50438),qe=u(33507),Ge=u(67968),Ye=u(45503),ye=u(14747),Ke=e=>{const{componentCls:t}=e,r=`${t}-show-help`,n=`${t}-show-help-item`;return{[r]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, - opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Qe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, - input[type='radio']:focus, - input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),xe=(e,t)=>{const{formItemCls:r}=e;return{[r]:{[`${r}-label > label`]:{height:t},[`${r}-control-input`]:{minHeight:t}}}},Ue=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(e)),Qe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},xe(e,e.controlHeightSM)),"&-large":Object.assign({},xe(e,e.controlHeightLG))})}},Je=e=>{const{formItemCls:t,iconCls:r,componentCls:n,rootPrefixCls:l}=e;return{[t]:Object.assign(Object.assign({},(0,ye.Wf)(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${l}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${r}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${n}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${n}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${l}-col-'"]):not([class*="' ${l}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:ve.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},ke=e=>{const{componentCls:t,formItemCls:r,rootPrefixCls:n}=e;return{[`${t}-horizontal`]:{[`${r}-label`]:{flexGrow:0},[`${r}-control`]:{flex:"1 1 0",minWidth:0},[`${r}-label.${n}-col-24 + ${r}-control`]:{minWidth:"unset"}}}},_e=e=>{const{componentCls:t,formItemCls:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[r]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${r}-label, - > ${r}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${r}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${r}-has-feedback`]:{display:"inline-block"}}}}},te=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),et=e=>{const{componentCls:t,formItemCls:r}=e;return{[`${r} ${r}-label`]:te(e),[t]:{[r]:{flexWrap:"wrap",[`${r}-label, - ${r}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},tt=e=>{const{componentCls:t,formItemCls:r,rootPrefixCls:n}=e;return{[`${t}-vertical`]:{[r]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${r}-label, - .${n}-col-24${r}-label, - .${n}-col-xl-24${r}-label`]:te(e),[`@media (max-width: ${e.screenXSMax}px)`]:[et(e),{[t]:{[`.${n}-col-xs-24${r}-label`]:te(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${n}-col-sm-24${r}-label`]:te(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${n}-col-md-24${r}-label`]:te(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${n}-col-lg-24${r}-label`]:te(e)}}}};var ce=(0,Ge.Z)("Form",(e,t)=>{let{rootPrefixCls:r}=t;const n=(0,Ye.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:r});return[Ue(n),Je(n),Ke(n),ke(n),_e(n),tt(n),(0,qe.Z)(n),ve.kr]});const Ce=[];function me(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${n}`,error:e,errorStatus:r}}function $e(e){let{help:t,helpStatus:r,errors:n=Ce,warnings:l=Ce,className:a,fieldId:i,onVisibleChanged:d}=e;const{prefixCls:s}=o.useContext(L.Rk),m=`${s}-item-explain`,[,g]=ce(s),E=(0,o.useMemo)(()=>(0,be.ZP)(s),[s]),W=le(n),I=le(l),T=o.useMemo(()=>t!=null?[me(t,"help",r)]:[].concat((0,B.Z)(W.map((c,p)=>me(c,"error","error",p))),(0,B.Z)(I.map((c,p)=>me(c,"warning","warning",p)))),[t,r,W,I]),F={};return i&&(F.id=`${i}_help`),o.createElement(pe.Z,{motionDeadline:E.motionDeadline,motionName:`${s}-show-help`,visible:!!T.length,onVisibleChanged:d},c=>{const{className:p,style:x}=c;return o.createElement("div",Object.assign({},F,{className:Q()(m,p,a,g),style:x,role:"alert"}),o.createElement(pe.V,Object.assign({keys:T},(0,be.ZP)(s),{motionName:`${s}-show-help-item`,component:!1}),C=>{const{key:$,error:h,errorStatus:b,className:N,style:j}=C;return o.createElement("div",{key:$,className:Q()(N,{[`${m}-${b}`]:b}),style:j},h)}))})}var _=u(24407),de=u(53124),Se=u(98866),Ee=u(97647);let Ie=e=>typeof e=="object"&&e!=null&&e.nodeType===1,we=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",ue=(e,t)=>{if(e.clientHeight{let l=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch(i){return null}})(n);return!!l&&(l.clientHeightat||a>e&&i=t&&d>=r?a-e-n:i>t&&dr?i-t+l:0,nt=e=>{let t=e.parentElement;return t==null?e.getRootNode().host||null:t};var Oe=(e,t)=>{var r,n,l,a,i,d;if(typeof document=="undefined")return[];let{scrollMode:s,block:m,inline:g,boundary:E,skipOverflowHiddenElements:W}=t,I=typeof E=="function"?E:Z=>Z!==E;if(!Ie(e))throw new TypeError("Invalid target");let T=document.scrollingElement||document.documentElement,F=[],c=e;for(;Ie(c)&&I(c);){if(c=nt(c),c===T){F.push(c);break}c!=null&&c===document.body&&ue(c)&&!ue(document.documentElement)||c!=null&&ue(c,W)&&F.push(c)}let p=(n=(r=window.visualViewport)==null?void 0:r.width)!=null?n:innerWidth,x=(a=(l=window.visualViewport)==null?void 0:l.height)!=null?a:innerHeight,C=(i=window.scrollX)!=null?i:pageXOffset,$=(d=window.scrollY)!=null?d:pageYOffset,{height:h,width:b,top:N,right:j,bottom:H,left:f}=e.getBoundingClientRect(),w=m==="start"||m==="nearest"?N:m==="end"?H:N+h/2,P=g==="center"?f+b/2:g==="end"?j:f,M=[];for(let Z=0;Z=0&&f>=0&&H<=x&&j<=p&&N>=q&&H<=ne&&f>=G&&j<=k)return M;let y=getComputedStyle(v),R=parseInt(y.borderLeftWidth,10),O=parseInt(y.borderTopWidth,10),z=parseInt(y.borderRightWidth,10),D=parseInt(y.borderBottomWidth,10),V=0,A=0,Y="offsetWidth"in v?v.offsetWidth-v.clientWidth-R-z:0,S="offsetHeight"in v?v.offsetHeight-v.clientHeight-O-D:0,ee="offsetWidth"in v?v.offsetWidth===0?0:X/v.offsetWidth:0,ae="offsetHeight"in v?v.offsetHeight===0?0:J/v.offsetHeight:0;if(T===v)V=m==="start"?w:m==="end"?w-x:m==="nearest"?ie($,$+x,x,O,D,$+w,$+w+h,h):w-x/2,A=g==="start"?P:g==="center"?P-p/2:g==="end"?P-p:ie(C,C+p,p,R,z,C+P,C+P+b,b),V=Math.max(0,V+$),A=Math.max(0,A+C);else{V=m==="start"?w-q-O:m==="end"?w-ne+D+S:m==="nearest"?ie(q,ne,J,O,D+S,w,w+h,h):w-(q+J/2)+S/2,A=g==="start"?P-G-R:g==="center"?P-(G+X/2)+Y/2:g==="end"?P-k+z+Y:ie(G,k,X,R,z+Y,P,P+b,b);let{scrollLeft:K,scrollTop:oe}=v;V=Math.max(0,Math.min(oe+V/ae,v.scrollHeight-J/ae+S)),A=Math.max(0,Math.min(K+A/ee,v.scrollWidth-X/ee+Y)),w+=oe-V,P+=K-A}M.push({el:v,top:V,left:A})}return M};let rt=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function ot(e,t){let r=e.isConnected||e.ownerDocument.documentElement.contains(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(r?Oe(e,t):[]);if(!r)return;let n=rt(t),l=Oe(e,n),a="scrollBehavior"in document.body.style;l.forEach(i=>{let{el:d,top:s,left:m}=i;d.scroll&&a?d.scroll({top:s,left:m,behavior:n.behavior}):(d.scrollTop=s,d.scrollLeft=m)})}const lt=["parentNode"],it="form_item";function re(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Fe(e,t){if(!e.length)return;const r=e.join("_");return t?`${t}_${r}`:lt.includes(r)?`${it}_${r}`:r}function Pe(e){return re(e).join("_")}function Ne(e){const[t]=(0,_.cI)(),r=o.useRef({}),n=o.useMemo(()=>e!=null?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:l=>a=>{const i=Pe(l);a?r.current[i]=a:delete r.current[i]}},scrollToField:function(l){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=re(l),d=Fe(i,n.__INTERNAL__.name),s=d?document.getElementById(d):null;s&&ot(s,Object.assign({scrollMode:"if-needed",block:"nearest"},a))},getFieldInstance:l=>{const a=Pe(l);return r.current[a]}}),[e,t]);return[n]}var at=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{const r=o.useContext(Ee.Z),n=o.useContext(Se.Z),{getPrefixCls:l,direction:a,form:i}=o.useContext(de.E_),{prefixCls:d,className:s="",size:m=r,disabled:g=n,form:E,colon:W,labelAlign:I,labelWrap:T,labelCol:F,wrapperCol:c,hideRequiredMark:p,layout:x="horizontal",scrollToFirstError:C,requiredMark:$,onFinishFailed:h,name:b}=e,N=at(e,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),j=(0,o.useMemo)(()=>$!==void 0?$:i&&i.requiredMark!==void 0?i.requiredMark:!p,[p,$,i]),H=W!=null?W:i==null?void 0:i.colon,f=l("form",d),[w,P]=ce(f),M=Q()(f,{[`${f}-${x}`]:!0,[`${f}-hide-required-mark`]:j===!1,[`${f}-rtl`]:a==="rtl",[`${f}-${m}`]:m},P,s),[Z]=Ne(E),{__INTERNAL__:v}=Z;v.name=b;const J=(0,o.useMemo)(()=>({name:b,labelAlign:I,labelCol:F,labelWrap:T,wrapperCol:c,vertical:x==="vertical",colon:H,requiredMark:j,itemRef:v.itemRef,form:Z}),[b,I,F,c,x,H,j,Z]);o.useImperativeHandle(t,()=>Z);const X=q=>{h==null||h(q);let k={block:"nearest"};C&&q.errorFields.length&&(typeof C=="object"&&(k=C),Z.scrollToField(q.errorFields[0].name,k))};return w(o.createElement(Se.n,{disabled:g},o.createElement(Ee.q,{size:m},o.createElement(L.q3.Provider,{value:J},o.createElement(_.ZP,Object.assign({id:b},N,{name:b,onFinishFailed:X,form:Z,className:M}))))))};var ct=o.forwardRef(st),mt=u(30470),je=u(42550);const Me=()=>{const{status:e}=(0,o.useContext)(L.aM);return{status:e}};Me.Context=L.aM;var dt=Me,Re=u(96159),Le=u(75164);function ut(e){const[t,r]=o.useState(e),n=(0,o.useRef)(null),l=(0,o.useRef)([]),a=(0,o.useRef)(!1);o.useEffect(()=>(a.current=!1,()=>{a.current=!0,Le.Z.cancel(n.current),n.current=null}),[]);function i(d){a.current||(n.current===null&&(l.current=[],n.current=(0,Le.Z)(()=>{n.current=null,r(s=>{let m=s;return l.current.forEach(g=>{m=g(m)}),m})})),l.current.push(d))}return[t,i]}function ft(){const{itemRef:e}=o.useContext(L.q3),t=o.useRef({});function r(n,l){const a=l&&typeof l=="object"&&l.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=(0,je.sQ)(e(n),a)),t.current.ref}return r}var gt=u(76278),ht=u(41322),pt=u(26702),bt=u(19267),vt=u(8410),yt=u(98423),xt=u(92820),We=u(1413),Ct=u(36688),$t=u(93771),Te=function(t,r){return o.createElement($t.Z,(0,We.Z)((0,We.Z)({},t),{},{ref:r,icon:Ct.Z}))};Te.displayName="QuestionCircleOutlined";var St=o.forwardRef(Te),Ze=u(21584),Et=u(74342),It=u(24457),wt=u(83062),Ot=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{let{prefixCls:t,label:r,htmlFor:n,labelCol:l,labelAlign:a,colon:i,required:d,requiredMark:s,tooltip:m}=e;var g;const[E]=(0,Et.E)("Form"),{vertical:W,labelAlign:I,labelCol:T,labelWrap:F,colon:c}=o.useContext(L.q3);if(!r)return null;const p=l||T||{},x=a||I,C=`${t}-item-label`,$=Q()(C,x==="left"&&`${C}-left`,p.className,{[`${C}-wrap`]:!!F});let h=r;const b=i===!0||c!==!1&&i!==!1;b&&!W&&typeof r=="string"&&r.trim()!==""&&(h=r.replace(/[:|:]\s*$/,""));const j=Ft(m);if(j){const{icon:f=o.createElement(St,null)}=j,w=Ot(j,["icon"]),P=o.createElement(wt.Z,Object.assign({},w),o.cloneElement(f,{className:`${t}-item-tooltip`,title:""}));h=o.createElement(o.Fragment,null,h,P)}s==="optional"&&!d&&(h=o.createElement(o.Fragment,null,h,o.createElement("span",{className:`${t}-item-optional`,title:""},(E==null?void 0:E.optional)||((g=It.Z.Form)===null||g===void 0?void 0:g.optional))));const H=Q()({[`${t}-item-required`]:d,[`${t}-item-required-mark-optional`]:s==="optional",[`${t}-item-no-colon`]:!b});return o.createElement(Ze.Z,Object.assign({},p,{className:$}),o.createElement("label",{htmlFor:n,className:H,title:typeof r=="string"?r:""},h))},Nt=e=>{const{prefixCls:t,status:r,wrapperCol:n,children:l,errors:a,warnings:i,_internalItemRender:d,extra:s,help:m,fieldId:g,marginBottom:E,onErrorVisibleChanged:W}=e,I=`${t}-item`,T=o.useContext(L.q3),F=n||T.wrapperCol||{},c=Q()(`${I}-control`,F.className),p=o.useMemo(()=>Object.assign({},T),[T]);delete p.labelCol,delete p.wrapperCol;const x=o.createElement("div",{className:`${I}-control-input`},o.createElement("div",{className:`${I}-control-input-content`},l)),C=o.useMemo(()=>({prefixCls:t,status:r}),[t,r]),$=E!==null||a.length||i.length?o.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},o.createElement(L.Rk.Provider,{value:C},o.createElement($e,{fieldId:g,errors:a,warnings:i,help:m,helpStatus:r,className:`${I}-explain-connected`,onVisibleChanged:W})),!!E&&o.createElement("div",{style:{width:0,height:E}})):null,h={};g&&(h.id=`${g}_extra`);const b=s?o.createElement("div",Object.assign({},h,{className:`${I}-extra`}),s):null,N=d&&d.mark==="pro_table_render"&&d.render?d.render(e,{input:x,errorList:$,extra:b}):o.createElement(o.Fragment,null,x,$,b);return o.createElement(L.q3.Provider,{value:p},o.createElement(Ze.Z,Object.assign({},F,{className:c}),N))},jt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{if(b&&x.current){const M=getComputedStyle(x.current);j(parseInt(M.marginBottom,10))}},[b]);const H=M=>{M||j(null)};let f="";d!==void 0?f=d:s.validating?f="validating":C.length?f="error":$.length?f="warning":s.touched&&(f="success");const w=o.useMemo(()=>{let M;if(m){const Z=f&&Mt[f];M=Z?o.createElement("span",{className:Q()(`${c}-feedback-icon`,`${c}-feedback-icon-${f}`)},o.createElement(Z,null)):null}return{status:f,hasFeedback:m,feedbackIcon:M,isFormItemInput:!0}},[f,m]),P={[c]:!0,[`${c}-with-help`]:h||C.length||$.length,[`${r}`]:!!r,[`${c}-has-feedback`]:f&&m,[`${c}-has-success`]:f==="success",[`${c}-has-warning`]:f==="warning",[`${c}-has-error`]:f==="error",[`${c}-is-validating`]:f==="validating",[`${c}-hidden`]:g};return o.createElement("div",{className:Q()(P),style:n,ref:x},o.createElement(xt.Z,Object.assign({className:`${c}-row`},(0,yt.Z)(F,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),o.createElement(Pt,Object.assign({htmlFor:W,required:I,requiredMark:p},e,{prefixCls:t})),o.createElement(Nt,Object.assign({},e,s,{errors:C,warnings:$,prefixCls:t,status:f,help:l,marginBottom:N,onErrorVisibleChanged:H}),o.createElement(L.qI.Provider,{value:T},o.createElement(L.aM.Provider,{value:w},E)))),!!N&&o.createElement("div",{className:`${c}-margin-offset`,style:{marginBottom:-N}}))}const Lt="__SPLIT__",Kt=null,Wt=o.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((r,n)=>r===t.childProps[n]));function Tt(e){return e!=null}function He(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}}function Zt(e){const{name:t,noStyle:r,className:n,dependencies:l,prefixCls:a,shouldUpdate:i,rules:d,children:s,required:m,label:g,messageVariables:E,trigger:W="onChange",validateTrigger:I,hidden:T}=e,{getPrefixCls:F}=o.useContext(de.E_),{name:c}=o.useContext(L.q3),p=typeof s=="function",x=o.useContext(L.qI),{validateTrigger:C}=o.useContext(_.zb),$=I!==void 0?I:C,h=Tt(t),b=F("form",a),[N,j]=ce(b),H=o.useContext(_.ZM),f=o.useRef(),[w,P]=ut({}),[M,Z]=(0,mt.Z)(()=>He()),v=y=>{const R=H==null?void 0:H.getKey(y.name);if(Z(y.destroy?He():y,!0),r&&x){let O=y.name;if(y.destroy)O=f.current||O;else if(R!==void 0){const[z,D]=R;O=[z].concat((0,B.Z)(D)),f.current=O}x(y,O)}},J=(y,R)=>{P(O=>{const z=Object.assign({},O),V=[].concat((0,B.Z)(y.name.slice(0,-1)),(0,B.Z)(R)).join(Lt);return y.destroy?delete z[V]:z[V]=y,z})},[X,q]=o.useMemo(()=>{const y=(0,B.Z)(M.errors),R=(0,B.Z)(M.warnings);return Object.values(w).forEach(O=>{y.push.apply(y,(0,B.Z)(O.errors||[])),R.push.apply(R,(0,B.Z)(O.warnings||[]))}),[y,R]},[w,M.errors,M.warnings]),k=ft();function ne(y,R,O){return r&&!T?y:o.createElement(Rt,Object.assign({key:"row"},e,{className:Q()(n,j),prefixCls:b,fieldId:R,isRequired:O,errors:X,warnings:q,meta:M,onSubItemMetaChange:J}),y)}if(!h&&!p&&!l)return N(ne(s));let G={};return typeof g=="string"?G.label=g:t&&(G.label=String(t)),E&&(G=Object.assign(Object.assign({},G),E)),N(o.createElement(_.gN,Object.assign({},e,{messageVariables:G,trigger:W,validateTrigger:$,onMetaChange:v}),(y,R,O)=>{const z=re(t).length&&R?R.name:[],D=Fe(z,c),V=m!==void 0?m:!!(d&&d.some(S=>{if(S&&typeof S=="object"&&S.required&&!S.warningOnly)return!0;if(typeof S=="function"){const ee=S(O);return ee&&ee.required&&!ee.warningOnly}return!1})),A=Object.assign({},y);let Y=null;if(Array.isArray(s)&&h)Y=s;else if(!(p&&(!(i||l)||h))){if(!(l&&!p&&!h))if((0,Re.l$)(s)){const S=Object.assign(Object.assign({},s.props),A);if(S.id||(S.id=D),e.help||X.length>0||q.length>0||e.extra){const K=[];(e.help||X.length>0)&&K.push(`${D}_help`),e.extra&&K.push(`${D}_extra`),S["aria-describedby"]=K.join(" ")}X.length>0&&(S["aria-invalid"]="true"),V&&(S["aria-required"]="true"),(0,je.Yr)(s)&&(S.ref=k(z,s)),new Set([].concat((0,B.Z)(re(W)),(0,B.Z)(re($)))).forEach(K=>{S[K]=function(){for(var oe,ze,fe,Ae,ge,De=arguments.length,he=new Array(De),se=0;se{var{prefixCls:t,children:r}=e,n=Vt(e,["prefixCls","children"]);const{getPrefixCls:l}=o.useContext(de.E_),a=l("form",t),i=o.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return o.createElement(_.aV,Object.assign({},n),(d,s,m)=>o.createElement(L.Rk.Provider,{value:i},r(d.map(g=>Object.assign(Object.assign({},g),{fieldKey:g.key})),s,{errors:m.errors,warnings:m.warnings})))};function At(){const{form:e}=(0,o.useContext)(L.q3);return e}const U=ct;U.Item=Ht,U.List=zt,U.ErrorList=$e,U.useForm=Ne,U.useFormInstance=At,U.useWatch=_.qo,U.Provider=L.RV,U.create=()=>{};var Dt=U}}]); diff --git a/statics/8232.7fdab39c.async.js b/statics/8232.7fdab39c.async.js new file mode 100644 index 00000000..75fd8c18 --- /dev/null +++ b/statics/8232.7fdab39c.async.js @@ -0,0 +1,9 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8232],{8232:function(un,Qe,c){c.d(Qe,{Z:function(){return dn}});var w=c(65223),K=c(74902),l=c(67294),Ue=c(93967),U=c.n(Ue),xe=c(82225),$e=c(33603),fe=c(35792);function de(e){const[t,n]=l.useState(e);return l.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}var ae=c(54548),Se=c(14747),Ie=c(50438),Je=c(33507),ke=c(45503),Ee=c(91945),_e=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};const et=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,ae.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + input[type='radio']:focus, + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${(0,ae.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),Fe=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},tt=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(e)),et(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},Fe(e,e.controlHeightSM)),"&-large":Object.assign({},Fe(e,e.controlHeightLG))})}},nt=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o,labelRequiredMarkColor:i,labelColor:a,labelFontSize:d,labelHeight:m,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:b,itemMarginBottom:p}=e;return{[t]:Object.assign(Object.assign({},(0,Se.Wf)(e)),{marginBottom:p,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:m,color:a,fontSize:d,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:b},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{["--ant-display"]:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:Ie.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},rt=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},ot=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},se=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),lt=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:se(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},it=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:se(e),[`@media (max-width: ${(0,ae.bf)(e.screenXSMax)})`]:[lt(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:se(e)}}],[`@media (max-width: ${(0,ae.bf)(e.screenSMMax)})`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:se(e)}},[`@media (max-width: ${(0,ae.bf)(e.screenMDMax)})`]:{[t]:{[`.${r}-col-md-24${n}-label`]:se(e)}},[`@media (max-width: ${(0,ae.bf)(e.screenLGMax)})`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:se(e)}}}},at=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),we=(e,t)=>(0,ke.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});var ge=(0,Ee.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=we(e,n);return[tt(r),nt(r),_e(r),rt(r),ot(r),it(r),(0,Je.Z)(r),Ie.kr]},at,{order:-1e3});const Oe=[];function pe(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}var Me=e=>{let{help:t,helpStatus:n,errors:r=Oe,warnings:o=Oe,className:i,fieldId:a,onVisibleChanged:d}=e;const{prefixCls:m}=l.useContext(w.Rk),u=`${m}-item-explain`,b=(0,fe.Z)(m),[p,j,I]=ge(m,b),v=(0,l.useMemo)(()=>(0,$e.Z)(m),[m]),E=de(r),O=de(o),S=l.useMemo(()=>t!=null?[pe(t,"help",n)]:[].concat((0,K.Z)(E.map((f,g)=>pe(f,"error","error",g))),(0,K.Z)(O.map((f,g)=>pe(f,"warning","warning",g)))),[t,n,E,O]),s={};return a&&(s.id=`${a}_help`),p(l.createElement(xe.ZP,{motionDeadline:v.motionDeadline,motionName:`${m}-show-help`,visible:!!S.length,onVisibleChanged:d},f=>{const{className:g,style:h}=f;return l.createElement("div",Object.assign({},s,{className:U()(u,g,I,b,i,j),style:h,role:"alert"}),l.createElement(xe.V4,Object.assign({keys:S},(0,$e.Z)(m),{motionName:`${m}-show-help-item`,component:!1}),$=>{const{key:L,error:M,errorStatus:z,className:H,style:D}=$;return l.createElement("div",{key:L,className:U()(H,{[`${u}-${z}`]:z}),style:D},M)}))}))},oe=c(57698),he=c(53124),Ne=c(98866),st=c(98675),ct=c(97647);const Pe=e=>typeof e=="object"&&e!=null&&e.nodeType===1,je=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",be=(e,t)=>{if(e.clientHeight{const o=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(a){return null}})(r);return!!o&&(o.clientHeightit||i>e&&a=t&&d>=n?i-e-r:a>t&&dn?a-t+o:0,dt=e=>{const t=e.parentElement;return t==null?e.getRootNode().host||null:t},Re=(e,t)=>{var n,r,o,i;if(typeof document=="undefined")return[];const{scrollMode:a,block:d,inline:m,boundary:u,skipOverflowHiddenElements:b}=t,p=typeof u=="function"?u:R=>R!==u;if(!Pe(e))throw new TypeError("Invalid target");const j=document.scrollingElement||document.documentElement,I=[];let v=e;for(;Pe(v)&&p(v);){if(v=dt(v),v===j){I.push(v);break}v!=null&&v===document.body&&be(v)&&!be(document.documentElement)||v!=null&&be(v,b)&&I.push(v)}const E=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,O=(i=(o=window.visualViewport)==null?void 0:o.height)!=null?i:innerHeight,{scrollX:S,scrollY:s}=window,{height:f,width:g,top:h,right:$,bottom:L,left:M}=e.getBoundingClientRect(),{top:z,right:H,bottom:D,left:Y}=(R=>{const y=window.getComputedStyle(R);return{top:parseFloat(y.scrollMarginTop)||0,right:parseFloat(y.scrollMarginRight)||0,bottom:parseFloat(y.scrollMarginBottom)||0,left:parseFloat(y.scrollMarginLeft)||0}})(e);let V=d==="start"||d==="nearest"?h-z:d==="end"?L+D:h+f/2-z+D,x=m==="center"?M+g/2-Y+H:m==="end"?$+H:M-Y;const T=[];for(let R=0;R=0&&M>=0&&L<=O&&$<=E&&h>=ne&&L<=X&&M>=q&&$<=B)return T;const k=getComputedStyle(y),_=parseInt(k.borderLeftWidth,10),Z=parseInt(k.borderTopWidth,10),C=parseInt(k.borderRightWidth,10),N=parseInt(k.borderBottomWidth,10);let F=0,W=0;const G="offsetWidth"in y?y.offsetWidth-y.clientWidth-_-C:0,Q="offsetHeight"in y?y.offsetHeight-y.clientHeight-Z-N:0,re="offsetWidth"in y?y.offsetWidth===0?0:te/y.offsetWidth:0,ee="offsetHeight"in y?y.offsetHeight===0?0:A/y.offsetHeight:0;if(j===y)F=d==="start"?V:d==="end"?V-O:d==="nearest"?me(s,s+O,O,Z,N,s+V,s+V+f,f):V-O/2,W=m==="start"?x:m==="center"?x-E/2:m==="end"?x-E:me(S,S+E,E,_,C,S+x,S+x+g,g),F=Math.max(0,F+s),W=Math.max(0,W+S);else{F=d==="start"?V-ne-Z:d==="end"?V-X+N+Q:d==="nearest"?me(ne,X,A,Z,N+Q,V,V+f,f):V-(ne+A/2)+Q/2,W=m==="start"?x-q-_:m==="center"?x-(q+te/2)+G/2:m==="end"?x-B+C+G:me(q,B,te,_,C+G,x,x+g,g);const{scrollLeft:P,scrollTop:le}=y;F=ee===0?0:Math.max(0,Math.min(le+F/ee,y.scrollHeight-A/ee+Q)),W=re===0?0:Math.max(0,Math.min(P+W/re,y.scrollWidth-te/re+G)),V+=le-F,x+=P-W}T.push({el:y,top:F,left:W})}return T},mt=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function ut(e,t){if(!e.isConnected||!(o=>{let i=o;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const n=(o=>{const i=window.getComputedStyle(o);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((o=>typeof o=="object"&&typeof o.behavior=="function")(t))return t.behavior(Re(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:o,top:i,left:a}of Re(e,mt(t))){const d=i-n.top+n.bottom,m=a-n.left+n.right;o.scroll({top:d,left:m,behavior:r})}}var ft=c(34203);const gt=["parentNode"],pt="form_item";function ce(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Le(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:gt.includes(n)?`${pt}_${n}`:n}function Ve(e,t,n,r,o,i){let a=r;return i!==void 0?a=i:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||o&&n.validated)&&(a="success"),a}function Te(e){return ce(e).join("_")}function ht(e,t){const n=t.getFieldInstance(e),r=(0,ft.bn)(n);if(r)return r;const o=Le(ce(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function Ze(e){const[t]=(0,oe.cI)(),n=l.useRef({}),r=l.useMemo(()=>e!=null?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:o=>i=>{const a=Te(o);i?n.current[a]=i:delete n.current[a]}},scrollToField:function(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=ht(o,r);a&&ut(a,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:o=>{const i=Te(o);return n.current[i]}}),[e,t]);return[r]}var bt=c(37920),vt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{const n=l.useContext(Ne.Z),{getPrefixCls:r,direction:o,form:i}=l.useContext(he.E_),{prefixCls:a,className:d,rootClassName:m,size:u,disabled:b=n,form:p,colon:j,labelAlign:I,labelWrap:v,labelCol:E,wrapperCol:O,hideRequiredMark:S,layout:s="horizontal",scrollToFirstError:f,requiredMark:g,onFinishFailed:h,name:$,style:L,feedbackIcons:M,variant:z}=e,H=vt(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),D=(0,st.Z)(u),Y=l.useContext(bt.Z),V=(0,l.useMemo)(()=>g!==void 0?g:S?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[S,g,i]),x=j!=null?j:i==null?void 0:i.colon,T=r("form",a),R=(0,fe.Z)(T),[y,A,te]=ge(T,R),ne=U()(T,`${T}-${s}`,{[`${T}-hide-required-mark`]:V===!1,[`${T}-rtl`]:o==="rtl",[`${T}-${D}`]:D},te,R,A,i==null?void 0:i.className,d,m),[B]=Ze(p),{__INTERNAL__:X}=B;X.name=$;const q=(0,l.useMemo)(()=>({name:$,labelAlign:I,labelCol:E,labelWrap:v,wrapperCol:O,vertical:s==="vertical",colon:x,requiredMark:V,itemRef:X.itemRef,form:B,feedbackIcons:M}),[$,I,E,O,s,x,V,B,M]);l.useImperativeHandle(t,()=>B);const k=(Z,C)=>{if(Z){let N={block:"nearest"};typeof Z=="object"&&(N=Z),B.scrollToField(C,N)}},_=Z=>{if(h==null||h(Z),Z.errorFields.length){const C=Z.errorFields[0].name;if(f!==void 0){k(f,C);return}i&&i.scrollToFirstError!==void 0&&k(i.scrollToFirstError,C)}};return y(l.createElement(w.pg.Provider,{value:z},l.createElement(Ne.n,{disabled:b},l.createElement(ct.Z.Provider,{value:D},l.createElement(w.RV,{validateMessages:Y},l.createElement(w.q3.Provider,{value:q},l.createElement(oe.ZP,Object.assign({id:$},H,{name:$,onFinishFailed:_,form:B,style:Object.assign(Object.assign({},i==null?void 0:i.style),L),className:ne}))))))))};var Ct=l.forwardRef(yt),xt=c(30470),We=c(42550),$t=c(96159),St=c(27288),It=c(50344);function Et(e){if(typeof e=="function")return e;const t=(0,It.Z)(e);return t.length<=1?t[0]:t}const He=()=>{const{status:e,errors:t=[],warnings:n=[]}=(0,l.useContext)(w.aM);return{status:e,errors:t,warnings:n}};He.Context=w.aM;var Ft=He,ze=c(75164);function wt(e){const[t,n]=l.useState(e),r=(0,l.useRef)(null),o=(0,l.useRef)([]),i=(0,l.useRef)(!1);l.useEffect(()=>(i.current=!1,()=>{i.current=!0,ze.Z.cancel(r.current),r.current=null}),[]);function a(d){i.current||(r.current===null&&(o.current=[],r.current=(0,ze.Z)(()=>{r.current=null,n(m=>{let u=m;return o.current.forEach(b=>{u=b(u)}),u})})),o.current.push(d))}return[t,a]}function Ot(){const{itemRef:e}=l.useContext(w.q3),t=l.useRef({});function n(r,o){const i=o&&typeof o=="object"&&o.ref,a=r.join("_");return(t.current.name!==a||t.current.originRef!==i)&&(t.current.name=a,t.current.originRef=i,t.current.ref=(0,We.sQ)(e(r),i)),t.current.ref}return n}var Mt=c(5110),Nt=c(8410),Pt=c(98423),jt=c(92820),De=c(21584);const Rt=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var Lt=(0,Ee.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=we(e,n);return[Rt(r)]}),Vt=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:i,warnings:a,_internalItemRender:d,extra:m,help:u,fieldId:b,marginBottom:p,onErrorVisibleChanged:j}=e,I=`${t}-item`,v=l.useContext(w.q3),E=r||v.wrapperCol||{},O=U()(`${I}-control`,E.className),S=l.useMemo(()=>Object.assign({},v),[v]);delete S.labelCol,delete S.wrapperCol;const s=l.createElement("div",{className:`${I}-control-input`},l.createElement("div",{className:`${I}-control-input-content`},o)),f=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),g=p!==null||i.length||a.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(w.Rk.Provider,{value:f},l.createElement(Me,{fieldId:b,errors:i,warnings:a,help:u,helpStatus:n,className:`${I}-explain-connected`,onVisibleChanged:j})),!!p&&l.createElement("div",{style:{width:0,height:p}})):null,h={};b&&(h.id=`${b}_extra`);const $=m?l.createElement("div",Object.assign({},h,{className:`${I}-extra`}),m):null,L=d&&d.mark==="pro_table_render"&&d.render?d.render(e,{input:s,errorList:g,extra:$}):l.createElement(l.Fragment,null,s,g,$);return l.createElement(w.q3.Provider,{value:S},l.createElement(De.Z,Object.assign({},E,{className:O}),L),l.createElement(Lt,{prefixCls:t}))},Tt=c(87462),Zt=c(36688),Wt=c(93771),Ht=function(t,n){return l.createElement(Wt.Z,(0,Tt.Z)({},t,{ref:n,icon:Zt.Z}))},zt=l.forwardRef(Ht),Dt=zt,At=c(10110),Bt=c(24457),Xt=c(83062),Gt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:i,colon:a,required:d,requiredMark:m,tooltip:u}=e;var b;const[p]=(0,At.Z)("Form"),{vertical:j,labelAlign:I,labelCol:v,labelWrap:E,colon:O}=l.useContext(w.q3);if(!n)return null;const S=o||v||{},s=i||I,f=`${t}-item-label`,g=U()(f,s==="left"&&`${f}-left`,S.className,{[`${f}-wrap`]:!!E});let h=n;const $=a===!0||O!==!1&&a!==!1;$&&!j&&typeof n=="string"&&n.trim()!==""&&(h=n.replace(/[:|:]\s*$/,""));const M=Kt(u);if(M){const{icon:Y=l.createElement(Dt,null)}=M,V=Gt(M,["icon"]),x=l.createElement(Xt.Z,Object.assign({},V),l.cloneElement(Y,{className:`${t}-item-tooltip`,title:"",onClick:T=>{T.preventDefault()},tabIndex:null}));h=l.createElement(l.Fragment,null,h,x)}const z=m==="optional",H=typeof m=="function";H?h=m(h,{required:!!d}):z&&!d&&(h=l.createElement(l.Fragment,null,h,l.createElement("span",{className:`${t}-item-optional`,title:""},(p==null?void 0:p.optional)||((b=Bt.Z.Form)===null||b===void 0?void 0:b.optional))));const D=U()({[`${t}-item-required`]:d,[`${t}-item-required-mark-optional`]:z||H,[`${t}-item-no-colon`]:!$});return l.createElement(De.Z,Object.assign({},S,{className:g}),l.createElement("label",{htmlFor:r,className:D,title:typeof n=="string"?n:""},h))},qt=c(76278),Qt=c(17012),Ut=c(26702),Jt=c(19267);const kt={success:qt.Z,warning:Ut.Z,error:Qt.Z,validating:Jt.Z};function Ae(e){let{children:t,errors:n,warnings:r,hasFeedback:o,validateStatus:i,prefixCls:a,meta:d,noStyle:m}=e;const u=`${a}-item`,{feedbackIcons:b}=l.useContext(w.q3),p=Ve(n,r,d,null,!!o,i),{isFormItemInput:j,status:I,hasFeedback:v,feedbackIcon:E}=l.useContext(w.aM),O=l.useMemo(()=>{var S;let s;if(o){const g=o!==!0&&o.icons||b,h=p&&((S=g==null?void 0:g({status:p,errors:n,warnings:r}))===null||S===void 0?void 0:S[p]),$=p&&kt[p];s=h!==!1&&$?l.createElement("span",{className:U()(`${u}-feedback-icon`,`${u}-feedback-icon-${p}`)},h||l.createElement($,null)):null}const f={status:p||"",errors:n,warnings:r,hasFeedback:!!o,feedbackIcon:s,isFormItemInput:!0};return m&&(f.status=(p!=null?p:I)||"",f.isFormItemInput=j,f.hasFeedback=!!(o!=null?o:v),f.feedbackIcon=o!==void 0?f.feedbackIcon:E),f},[p,o,m,j,I]);return l.createElement(w.aM.Provider,{value:O},t)}var _t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o{if(M&&g.current){const R=getComputedStyle(g.current);D(parseInt(R.marginBottom,10))}},[M,z]);const Y=R=>{R||D(null)},x=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const y=R?h:u.errors,A=R?$:u.warnings;return Ve(y,A,u,"",!!b,m)}(),T=U()(s,n,r,{[`${s}-with-help`]:L||h.length||$.length,[`${s}-has-feedback`]:x&&b,[`${s}-has-success`]:x==="success",[`${s}-has-warning`]:x==="warning",[`${s}-has-error`]:x==="error",[`${s}-is-validating`]:x==="validating",[`${s}-hidden`]:p});return l.createElement("div",{className:T,style:o,ref:g},l.createElement(jt.Z,Object.assign({className:`${s}-row`},(0,Pt.Z)(S,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(Yt,Object.assign({htmlFor:I},e,{requiredMark:f,required:v!=null?v:E,prefixCls:t})),l.createElement(Vt,Object.assign({},e,u,{errors:h,warnings:$,prefixCls:t,status:x,help:i,marginBottom:H,onErrorVisibleChanged:Y}),l.createElement(w.qI.Provider,{value:O},l.createElement(Ae,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:b,validateStatus:x},j)))),!!H&&l.createElement("div",{className:`${s}-margin-offset`,style:{marginBottom:-H}}))}const tn="__SPLIT__",vn=null;function nn(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(o=>{const i=e[o],a=t[o];return i===a||typeof i=="function"||typeof a=="function"})}const rn=l.memo(e=>{let{children:t}=e;return t},(e,t)=>nn(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function Be(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function on(e){const{name:t,noStyle:n,className:r,dependencies:o,prefixCls:i,shouldUpdate:a,rules:d,children:m,required:u,label:b,messageVariables:p,trigger:j="onChange",validateTrigger:I,hidden:v,help:E}=e,{getPrefixCls:O}=l.useContext(he.E_),{name:S}=l.useContext(w.q3),s=Et(m),f=typeof s=="function",g=l.useContext(w.qI),{validateTrigger:h}=l.useContext(oe.zb),$=I!==void 0?I:h,L=t!=null,M=O("form",i),z=(0,fe.Z)(M),[H,D,Y]=ge(M,z),V=(0,St.ln)("Form.Item"),x=l.useContext(oe.ZM),T=l.useRef(),[R,y]=wt({}),[A,te]=(0,xt.Z)(()=>Be()),ne=C=>{const N=x==null?void 0:x.getKey(C.name);if(te(C.destroy?Be():C,!0),n&&E!==!1&&g){let F=C.name;if(C.destroy)F=T.current||F;else if(N!==void 0){const[W,G]=N;F=[W].concat((0,K.Z)(G)),T.current=F}g(C,F)}},B=(C,N)=>{y(F=>{const W=Object.assign({},F),Q=[].concat((0,K.Z)(C.name.slice(0,-1)),(0,K.Z)(N)).join(tn);return C.destroy?delete W[Q]:W[Q]=C,W})},[X,q]=l.useMemo(()=>{const C=(0,K.Z)(A.errors),N=(0,K.Z)(A.warnings);return Object.values(R).forEach(F=>{C.push.apply(C,(0,K.Z)(F.errors||[])),N.push.apply(N,(0,K.Z)(F.warnings||[]))}),[C,N]},[R,A.errors,A.warnings]),k=Ot();function _(C,N,F){return n&&!v?l.createElement(Ae,{prefixCls:M,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:A,errors:X,warnings:q,noStyle:!0},C):l.createElement(en,Object.assign({key:"row"},e,{className:U()(r,Y,z,D),prefixCls:M,fieldId:N,isRequired:F,errors:X,warnings:q,meta:A,onSubItemMetaChange:B}),C)}if(!L&&!f&&!o)return H(_(s));let Z={};return typeof b=="string"?Z.label=b:t&&(Z.label=String(t)),p&&(Z=Object.assign(Object.assign({},Z),p)),H(l.createElement(oe.gN,Object.assign({},e,{messageVariables:Z,trigger:j,validateTrigger:$,onMetaChange:ne}),(C,N,F)=>{const W=ce(t).length&&N?N.name:[],G=Le(W,S),Q=u!==void 0?u:!!(d&&d.some(P=>{if(P&&typeof P=="object"&&P.required&&!P.warningOnly)return!0;if(typeof P=="function"){const le=P(F);return le&&le.required&&!le.warningOnly}return!1})),re=Object.assign({},C);let ee=null;if(Array.isArray(s)&&L)ee=s;else if(!(f&&(!(a||o)||L))){if(!(o&&!f&&!L))if(l.isValidElement(s)){const P=Object.assign(Object.assign({},s.props),re);if(P.id||(P.id=G),E||X.length>0||q.length>0||e.extra){const ie=[];(E||X.length>0)&&ie.push(`${G}_help`),e.extra&&ie.push(`${G}_extra`),P["aria-describedby"]=ie.join(" ")}X.length>0&&(P["aria-invalid"]="true"),Q&&(P["aria-required"]="true"),(0,We.Yr)(s)&&(P.ref=k(W,s)),new Set([].concat((0,K.Z)(ce(j)),(0,K.Z)(ce($)))).forEach(ie=>{P[ie]=function(){for(var Ge,Ke,ve,Ye,ye,qe=arguments.length,Ce=new Array(qe),ue=0;ue{var{prefixCls:t,children:n}=e,r=an(e,["prefixCls","children"]);const{getPrefixCls:o}=l.useContext(he.E_),i=o("form",t),a=l.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return l.createElement(oe.aV,Object.assign({},r),(d,m,u)=>l.createElement(w.Rk.Provider,{value:a},n(d.map(b=>Object.assign(Object.assign({},b),{fieldKey:b.key})),m,{errors:u.errors,warnings:u.warnings})))};function cn(){const{form:e}=(0,l.useContext)(w.q3);return e}const J=Ct;J.Item=ln,J.List=sn,J.ErrorList=Me,J.useForm=Ze,J.useFormInstance=cn,J.useWatch=oe.qo,J.Provider=w.RV,J.create=()=>{};var dn=J}}]); diff --git a/statics/8325.c084a41d.async.js b/statics/8325.c084a41d.async.js deleted file mode 100644 index bf496cc4..00000000 --- a/statics/8325.c084a41d.async.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8325],{51042:function(rt,ge,l){var ae=l(1413),Q=l(67294),r=l(42110),pe=l(84089),ie=function(oe,he){return Q.createElement(pe.Z,(0,ae.Z)((0,ae.Z)({},oe),{},{ref:he,icon:r.Z}))};ie.displayName="PlusOutlined",ge.Z=Q.forwardRef(ie)},43589:function(rt,ge,l){l.d(ge,{Z:function(){return Zt}});var ae=l(13622),Q=l(1413),r=l(67294),pe={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"},ie=pe,Pe=l(93771),oe=function(t,n){return r.createElement(Pe.Z,(0,Q.Z)((0,Q.Z)({},t),{},{ref:n,icon:ie}))};oe.displayName="UpOutlined";var he=r.forwardRef(oe),at=l(94184),z=l.n(at),be=l(87462),y=l(4942),it=l(71002),le=l(97685),ot=l(45987),se=l(15105),Se=l(8410),lt=l(42550),Ae=l(15671),Be=l(43144);function Ne(){return typeof BigInt=="function"}function H(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var a=t||"0",i=a.split("."),s=i[0]||"0",h=i[1]||"0";s==="0"&&h==="0"&&(n=!1);var f=n?"-":"";return{negative:n,negativeStr:f,trimStr:a,integerStr:s,decimalStr:h,fullStr:"".concat(f).concat(a)}}function ye(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function J(e){var t=String(e);if(ye(e)){var n=Number(t.slice(t.indexOf("e-")+2)),a=t.match(/\.(\d+)/);return a!=null&&a[1]&&(n+=a[1].length),n}return t.includes(".")&&Ee(t)?t.length-t.indexOf(".")-1:0}function ue(e){var t=String(e);if(ye(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Ne()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(i0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":ue(this.number):this.origin}}]),e}(),ut=function(){function e(t){if((0,Ae.Z)(this,e),(0,y.Z)(this,"origin",""),(0,y.Z)(this,"negative",void 0),(0,y.Z)(this,"integer",void 0),(0,y.Z)(this,"decimal",void 0),(0,y.Z)(this,"decimalLen",void 0),(0,y.Z)(this,"empty",void 0),(0,y.Z)(this,"nan",void 0),Ve(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}var n=t;if(ye(n)&&(n=Number(n)),n=typeof n=="string"?n:ue(n),Ee(n)){var a=H(n);this.negative=a.negative;var i=a.trimStr.split(".");this.integer=BigInt(i[0]);var s=i[1]||"0";this.decimal=BigInt(s),this.decimalLen=s.length}else this.nan=!0}return(0,Be.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(n){var a="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(n,"0"));return BigInt(a)}},{key:"negate",value:function(){var n=new e(this.toString());return n.negative=!n.negative,n}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var a=new e(n);if(a.isInvalidate())return this;var i=Math.max(this.getDecimalStr().length,a.getDecimalStr().length),s=this.alignDecimal(i),h=a.alignDecimal(i),f=(s+h).toString(),b=H(f),N=b.negativeStr,m=b.trimStr,S="".concat(N).concat(m.padStart(i+1,"0"));return new e("".concat(S.slice(0,-i),".").concat(S.slice(-i)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toString()===(n==null?void 0:n.toString())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":H("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function je(e){return Ne()?new ut(e):new st(e)}function de(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var i=H(e),s=i.negativeStr,h=i.integerStr,f=i.decimalStr,b="".concat(t).concat(f),N="".concat(s).concat(h);if(n>=0){var m=Number(f[n]);if(m>=5&&!a){var S=je(e).add("".concat(s,"0.").concat("0".repeat(n)).concat(10-m));return de(S.toString(),t,n,a)}return n===0?N:"".concat(N).concat(t).concat(f.padEnd(n,"0").slice(0,n))}return b===".0"?N:"".concat(N).concat(b)}var O=je,dt=l(31131),ct=200,ft=600;function mt(e){var t=e.prefixCls,n=e.upNode,a=e.downNode,i=e.upDisabled,s=e.downDisabled,h=e.onStep,f=r.useRef(),b=r.useRef();b.current=h;var N=function(w,V){w.preventDefault(),b.current(V);function E(){b.current(V),f.current=setTimeout(E,ct)}f.current=setTimeout(E,ft)},m=function(){clearTimeout(f.current)};if(r.useEffect(function(){return m},[]),(0,dt.Z)())return null;var S="".concat(t,"-handler"),g=z()(S,"".concat(S,"-up"),(0,y.Z)({},"".concat(S,"-up-disabled"),i)),I=z()(S,"".concat(S,"-down"),(0,y.Z)({},"".concat(S,"-down-disabled"),s)),$={unselectable:"on",role:"button",onMouseUp:m,onMouseLeave:m};return r.createElement("div",{className:"".concat(S,"-wrap")},r.createElement("span",(0,be.Z)({},$,{onMouseDown:function(w){N(w,!0)},"aria-label":"Increase Value","aria-disabled":i,className:g}),n||r.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),r.createElement("span",(0,be.Z)({},$,{onMouseDown:function(w){N(w,!1)},"aria-label":"Decrease Value","aria-disabled":s,className:I}),a||r.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Te(e){var t=typeof e=="number"?ue(e):H(e).fullStr,n=t.includes(".");return n?H(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var vt=l(80334);function gt(e,t){var n=(0,r.useRef)(null);function a(){try{var s=e.selectionStart,h=e.selectionEnd,f=e.value,b=f.substring(0,s),N=f.substring(h);n.current={start:s,end:h,value:f,beforeTxt:b,afterTxt:N}}catch(m){}}function i(){if(e&&n.current&&t)try{var s=e.value,h=n.current,f=h.beforeTxt,b=h.afterTxt,N=h.start,m=s.length;if(s.endsWith(b))m=s.length-n.current.afterTxt.length;else if(s.startsWith(f))m=f.length;else{var S=f[N-1],g=s.indexOf(S,N-1);g!==-1&&(m=g+1)}e.setSelectionRange(m,m)}catch(I){(0,vt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(I.message))}}return[a,i]}var Ue=l(75164),pt=function(){var e=(0,r.useRef)(0),t=function(){Ue.Z.cancel(e.current)};return(0,r.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,Ue.Z)(function(){n()})}},ht=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Fe=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},We=function(t){var n=O(t);return n.isInvalidate()?null:n},ze=r.forwardRef(function(e,t){var n,a=e.prefixCls,i=a===void 0?"rc-input-number":a,s=e.className,h=e.style,f=e.min,b=e.max,N=e.step,m=N===void 0?1:N,S=e.defaultValue,g=e.value,I=e.disabled,$=e.readOnly,Z=e.upHandler,w=e.downHandler,V=e.keyboard,E=e.controls,G=E===void 0?!0:E,d=e.stringMode,j=e.parser,M=e.formatter,T=e.precision,U=e.decimalSeparator,L=e.onChange,K=e.onInput,q=e.onPressEnter,F=e.onStep,we=(0,ot.Z)(e,ht),fe="".concat(i,"-input"),k=r.useRef(null),_=r.useState(!1),B=(0,le.Z)(_,2),me=B[0],ee=B[1],P=r.useRef(!1),R=r.useRef(!1),D=r.useRef(!1),W=r.useState(function(){return O(g!=null?g:S)}),x=(0,le.Z)(W,2),p=x[0],ve=x[1];function Ce(u){g===void 0&&ve(u)}var Re=r.useCallback(function(u,o){if(!o)return T>=0?T:Math.max(J(u),J(m))},[T,m]),De=r.useCallback(function(u){var o=String(u);if(j)return j(o);var v=o;return U&&(v=v.replace(U,".")),v.replace(/[^\w.-]+/g,"")},[j,U]),Ge=r.useRef(""),ke=r.useCallback(function(u,o){if(M)return M(u,{userTyping:o,input:String(Ge.current)});var v=typeof u=="number"?ue(u):u;if(!o){var c=Re(v,o);if(Ee(v)&&(U||c>=0)){var A=U||".";v=de(v,A,c)}}return v},[M,Re,U]),Mt=r.useState(function(){var u=S!=null?S:g;return p.isInvalidate()&&["string","number"].includes((0,it.Z)(u))?Number.isNaN(u)?"":u:ke(p.toString(),!1)}),Xe=(0,le.Z)(Mt,2),te=Xe[0],Ye=Xe[1];Ge.current=te;function ne(u,o){Ye(ke(u.isInvalidate()?u.toString(!1):u.toString(!o),o))}var X=r.useMemo(function(){return We(b)},[b,T]),Y=r.useMemo(function(){return We(f)},[f,T]),Qe=r.useMemo(function(){return!X||!p||p.isInvalidate()?!1:X.lessEquals(p)},[X,p]),Je=r.useMemo(function(){return!Y||!p||p.isInvalidate()?!1:p.lessEquals(Y)},[Y,p]),Pt=gt(k.current,me),qe=(0,le.Z)(Pt,2),At=qe[0],Bt=qe[1],_e=function(o){return X&&!o.lessEquals(X)?X:Y&&!Y.lessEquals(o)?Y:null},Oe=function(o){return!_e(o)},Ze=function(o,v){var c=o,A=Oe(c)||c.isEmpty();if(!c.isEmpty()&&!v&&(c=_e(c)||c,A=!0),!$&&!I&&A){var re=c.toString(),Me=Re(re,v);return Me>=0&&(c=O(de(re,".",Me)),Oe(c)||(c=O(de(re,".",Me,!0)))),c.equals(p)||(Ce(c),L==null||L(c.isEmpty()?null:Fe(d,c)),g===void 0&&ne(c,v)),c}return p},Vt=pt(),et=function u(o){if(At(),Ye(o),!R.current){var v=De(o),c=O(v);c.isNaN()||Ze(c,!0)}K==null||K(o),Vt(function(){var A=o;j||(A=o.replace(/。/g,".")),A!==o&&u(A)})},jt=function(){R.current=!0},Tt=function(){R.current=!1,et(k.current.value)},Ut=function(o){et(o.target.value)},tt=function(o){var v;if(!(o&&Qe||!o&&Je)){P.current=!1;var c=O(D.current?Te(m):m);o||(c=c.negate());var A=(p||O(0)).add(c.toString()),re=Ze(A,!1);F==null||F(Fe(d,re),{offset:D.current?Te(m):m,type:o?"up":"down"}),(v=k.current)===null||v===void 0||v.focus()}},nt=function(o){var v=O(De(te)),c=v;v.isNaN()?c=p:c=Ze(v,o),g!==void 0?ne(p,!1):c.isNaN()||ne(c,!1)},Ft=function(){P.current=!0},Wt=function(o){var v=o.which,c=o.shiftKey;P.current=!0,c?D.current=!0:D.current=!1,v===se.Z.ENTER&&(R.current||(P.current=!1),nt(!1),q==null||q(o)),V!==!1&&!R.current&&[se.Z.UP,se.Z.DOWN].includes(v)&&(tt(se.Z.UP===v),o.preventDefault())},zt=function(){P.current=!1,D.current=!1},Ht=function(){nt(!1),ee(!1),P.current=!1};return(0,Se.o)(function(){p.isInvalidate()||ne(p,!1)},[T]),(0,Se.o)(function(){var u=O(g);ve(u);var o=O(De(te));(!u.equals(o)||!P.current||M)&&ne(u,P.current)},[g]),(0,Se.o)(function(){M&&Bt()},[te]),r.createElement("div",{className:z()(i,s,(n={},(0,y.Z)(n,"".concat(i,"-focused"),me),(0,y.Z)(n,"".concat(i,"-disabled"),I),(0,y.Z)(n,"".concat(i,"-readonly"),$),(0,y.Z)(n,"".concat(i,"-not-a-number"),p.isNaN()),(0,y.Z)(n,"".concat(i,"-out-of-range"),!p.isInvalidate()&&!Oe(p)),n)),style:h,onFocus:function(){ee(!0)},onBlur:Ht,onKeyDown:Wt,onKeyUp:zt,onCompositionStart:jt,onCompositionEnd:Tt,onBeforeInput:Ft},G&&r.createElement(mt,{prefixCls:i,upNode:Z,downNode:w,upDisabled:Qe,downDisabled:Je,onStep:tt}),r.createElement("div",{className:"".concat(fe,"-wrap")},r.createElement("input",(0,be.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":f,"aria-valuemax":b,"aria-valuenow":p.isInvalidate()?null:p.toString(),step:m},we,{ref:(0,lt.sQ)(k,t),className:fe,value:te,onChange:Ut,disabled:I,readOnly:$}))))});ze.displayName="InputNumber";var bt=ze,St=bt,Nt=l(53124),yt=l(58720),Et=l(98866),It=l(97647),Ie=l(65223),xe=l(4173),He=l(96159),ce=l(9708),C=l(47673),xt=l(67968),$e=l(14747),$t=l(80110);const wt=e=>{const{componentCls:t,lineWidth:n,lineType:a,colorBorder:i,borderRadius:s,fontSizeLG:h,controlHeightLG:f,controlHeightSM:b,colorError:N,inputPaddingHorizontalSM:m,colorTextDescription:S,motionDurationMid:g,colorPrimary:I,controlHeight:$,inputPaddingHorizontal:Z,colorBgContainer:w,colorTextDisabled:V,borderRadiusSM:E,borderRadiusLG:G,controlWidth:d,handleVisible:j}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(e)),(0,C.ik)(e)),(0,C.bi)(e,t)),{display:"inline-block",width:d,margin:0,padding:0,border:`${n}px ${a} ${i}`,borderRadius:s,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:h,borderRadius:G,[`input${t}-input`]:{height:f-2*n}},"&-sm":{padding:0,borderRadius:E,[`input${t}-input`]:{height:b-2*n,padding:`0 ${m}px`}},"&:hover":Object.assign({},(0,C.pU)(e)),"&-focused":Object.assign({},(0,C.M1)(e)),"&-disabled":Object.assign(Object.assign({},(0,C.Xy)(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:N}},"&-group":Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(e)),(0,C.s7)(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:G}},"&-sm":{[`${t}-group-addon`]:{borderRadius:E}}}}),[t]:{"&-input":Object.assign(Object.assign({width:"100%",height:$-2*n,padding:`0 ${Z}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:s,outline:0,transition:`all ${g} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},(0,C.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:w,borderStartStartRadius:0,borderStartEndRadius:s,borderEndEndRadius:s,borderEndStartRadius:0,opacity:j===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${g} linear ${g}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:S,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${a} ${i}`,transition:`all ${g} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:I}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,$e.Ro)()),{color:S,transition:`all ${g} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:s},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${a} ${i}`,borderEndEndRadius:s},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"}},[` - ${t}-handler-up-disabled, - ${t}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${t}-handler-up-disabled:hover &-handler-up-inner, - ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:V}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},Ct=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:a,controlWidth:i,borderRadiusLG:s,borderRadiusSM:h}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,C.ik)(e)),(0,C.bi)(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:s},"&-sm":{borderRadius:h},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,C.pU)(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:a}}})}};var Rt=(0,xt.Z)("InputNumber",e=>{const t=(0,C.e5)(e);return[wt(t),Ct(t),(0,$t.c)(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"})),Dt=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:a}=r.useContext(Nt.E_),i=r.useContext(It.Z),[s,h]=r.useState(!1),f=r.useRef(null);r.useImperativeHandle(t,()=>f.current);const{className:b,size:N,disabled:m,prefixCls:S,addonBefore:g,addonAfter:I,prefix:$,bordered:Z=!0,readOnly:w,status:V,controls:E}=e,G=Dt(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),d=n("input-number",S),[j,M]=Rt(d),{compactSize:T,compactItemClassnames:U}=(0,xe.ri)(d,a);let L=r.createElement(he,{className:`${d}-handler-up-inner`}),K=r.createElement(ae.Z,{className:`${d}-handler-down-inner`});const q=typeof E=="boolean"?E:void 0;typeof E=="object"&&(L=typeof E.upIcon=="undefined"?L:r.createElement("span",{className:`${d}-handler-up-inner`},E.upIcon),K=typeof E.downIcon=="undefined"?K:r.createElement("span",{className:`${d}-handler-down-inner`},E.downIcon));const{hasFeedback:F,status:we,isFormItemInput:fe,feedbackIcon:k}=r.useContext(Ie.aM),_=(0,ce.F)(we,V),B=T||N||i,me=r.useContext(Et.Z),ee=m!=null?m:me,P=z()({[`${d}-lg`]:B==="large",[`${d}-sm`]:B==="small",[`${d}-rtl`]:a==="rtl",[`${d}-borderless`]:!Z,[`${d}-in-form-item`]:fe},(0,ce.Z)(d,_),U,M,b);let R=r.createElement(St,Object.assign({ref:f,disabled:ee,className:P,upHandler:L,downHandler:K,prefixCls:d,readOnly:w,controls:q},G));if($!=null||F){const D=z()(`${d}-affix-wrapper`,(0,ce.Z)(`${d}-affix-wrapper`,_,F),{[`${d}-affix-wrapper-focused`]:s,[`${d}-affix-wrapper-disabled`]:e.disabled,[`${d}-affix-wrapper-sm`]:B==="small",[`${d}-affix-wrapper-lg`]:B==="large",[`${d}-affix-wrapper-rtl`]:a==="rtl",[`${d}-affix-wrapper-readonly`]:w,[`${d}-affix-wrapper-borderless`]:!Z,[`${b}`]:!(g||I)&&b},M);R=r.createElement("div",{className:D,style:e.style,onMouseUp:()=>f.current.focus()},$&&r.createElement("span",{className:`${d}-prefix`},$),(0,He.Tm)(R,{style:null,value:e.value,onFocus:W=>{var x;h(!0),(x=e.onFocus)===null||x===void 0||x.call(e,W)},onBlur:W=>{var x;h(!1),(x=e.onBlur)===null||x===void 0||x.call(e,W)}}),F&&r.createElement("span",{className:`${d}-suffix`},k))}if(g!=null||I!=null){const D=`${d}-group`,W=`${D}-addon`,x=g?r.createElement("div",{className:W},g):null,p=I?r.createElement("div",{className:W},I):null,ve=z()(`${d}-wrapper`,D,M,{[`${D}-rtl`]:a==="rtl"}),Ce=z()(`${d}-group-wrapper`,{[`${d}-group-wrapper-sm`]:B==="small",[`${d}-group-wrapper-lg`]:B==="large",[`${d}-group-wrapper-rtl`]:a==="rtl"},(0,ce.Z)(`${d}-group-wrapper`,_,F),M,b);R=r.createElement("div",{className:Ce,style:e.style},r.createElement("div",{className:ve},x&&r.createElement(xe.BR,null,r.createElement(Ie.Ux,{status:!0,override:!0},x)),(0,He.Tm)(R,{style:null,disabled:ee}),p&&r.createElement(xe.BR,null,r.createElement(Ie.Ux,{status:!0,override:!0},p))))}return j(R)}),Ke=Le,Ot=e=>r.createElement(yt.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(Le,Object.assign({},e)));Ke._InternalPanelDoNotUseOrYouWillBeFired=Ot;var Zt=Ke}}]); diff --git a/statics/7403.40e9fd06.async.js b/statics/8586.c5705aec.async.js similarity index 52% rename from statics/7403.40e9fd06.async.js rename to statics/8586.c5705aec.async.js index 5bbeb2b0..63da0b05 100644 --- a/statics/7403.40e9fd06.async.js +++ b/statics/8586.c5705aec.async.js @@ -1,15 +1,15 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7403],{70366:function(Ei){(function(R,b){Ei.exports=b()})(this,function(){return function(R){var b={};function o(f){if(b[f])return b[f].exports;var c=b[f]={i:f,l:!1,exports:{}};return R[f].call(c.exports,c,c.exports,o),c.l=!0,c.exports}return o.m=R,o.c=b,o.d=function(f,c,M){o.o(f,c)||Object.defineProperty(f,c,{enumerable:!0,get:M})},o.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},o.t=function(f,c){if(1&c&&(f=o(f)),8&c||4&c&&typeof f=="object"&&f&&f.__esModule)return f;var M=Object.create(null);if(o.r(M),Object.defineProperty(M,"default",{enumerable:!0,value:f}),2&c&&typeof f!="string")for(var _ in f)o.d(M,_,function(x){return f[x]}.bind(null,_));return M},o.n=function(f){var c=f&&f.__esModule?function(){return f.default}:function(){return f};return o.d(c,"a",c),c},o.o=function(f,c){return Object.prototype.hasOwnProperty.call(f,c)},o.p="",o(o.s=547)}([function(R,b,o){"use strict";o.r(b),o.d(b,"contains",function(){return c}),o.d(b,"includes",function(){return c}),o.d(b,"difference",function(){return _}),o.d(b,"find",function(){return L}),o.d(b,"findIndex",function(){return z}),o.d(b,"firstValue",function(){return X}),o.d(b,"flatten",function(){return te}),o.d(b,"flattenDeep",function(){return ue}),o.d(b,"getRange",function(){return ye}),o.d(b,"pull",function(){return ne}),o.d(b,"pullAt",function(){return V}),o.d(b,"reduce",function(){return ae}),o.d(b,"remove",function(){return we}),o.d(b,"sortBy",function(){return se}),o.d(b,"union",function(){return J}),o.d(b,"uniq",function(){return ee}),o.d(b,"valuesOfKey",function(){return Y}),o.d(b,"head",function(){return q}),o.d(b,"last",function(){return G}),o.d(b,"startsWith",function(){return re}),o.d(b,"endsWith",function(){return fe}),o.d(b,"filter",function(){return M}),o.d(b,"every",function(){return ce}),o.d(b,"some",function(){return $}),o.d(b,"group",function(){return ke}),o.d(b,"groupBy",function(){return Se}),o.d(b,"groupToMap",function(){return Pe}),o.d(b,"getWrapBehavior",function(){return Ce}),o.d(b,"wrapBehavior",function(){return Re}),o.d(b,"number2color",function(){return Le}),o.d(b,"parseRadius",function(){return Ke}),o.d(b,"clamp",function(){return et}),o.d(b,"fixedBase",function(){return ot}),o.d(b,"isDecimal",function(){return Ct}),o.d(b,"isEven",function(){return Tt}),o.d(b,"isInteger",function(){return jt}),o.d(b,"isNegative",function(){return Kt}),o.d(b,"isNumberEqual",function(){return Qt}),o.d(b,"isOdd",function(){return rr}),o.d(b,"isPositive",function(){return or}),o.d(b,"max",function(){return le}),o.d(b,"maxBy",function(){return Mr}),o.d(b,"min",function(){return xe}),o.d(b,"minBy",function(){return cr}),o.d(b,"mod",function(){return yr}),o.d(b,"toDegree",function(){return Xr}),o.d(b,"toInteger",function(){return gr}),o.d(b,"toRadian",function(){return dr}),o.d(b,"forIn",function(){return Br}),o.d(b,"has",function(){return Rr}),o.d(b,"hasKey",function(){return pn}),o.d(b,"hasValue",function(){return Nr}),o.d(b,"keys",function(){return p}),o.d(b,"isMatch",function(){return A}),o.d(b,"values",function(){return zr}),o.d(b,"lowerCase",function(){return rn}),o.d(b,"lowerFirst",function(){return Ir}),o.d(b,"substitute",function(){return On}),o.d(b,"upperCase",function(){return In}),o.d(b,"upperFirst",function(){return Dn}),o.d(b,"getType",function(){return gn}),o.d(b,"isArguments",function(){return Er}),o.d(b,"isArray",function(){return h}),o.d(b,"isArrayLike",function(){return f}),o.d(b,"isBoolean",function(){return ln}),o.d(b,"isDate",function(){return yn}),o.d(b,"isError",function(){return mn}),o.d(b,"isFunction",function(){return S}),o.d(b,"isFinite",function(){return Qn}),o.d(b,"isNil",function(){return g}),o.d(b,"isNull",function(){return Un}),o.d(b,"isNumber",function(){return dt}),o.d(b,"isObject",function(){return E}),o.d(b,"isObjectLike",function(){return N}),o.d(b,"isPlainObject",function(){return P}),o.d(b,"isPrototype",function(){return Oi}),o.d(b,"isRegExp",function(){return ni}),o.d(b,"isString",function(){return Ae}),o.d(b,"isType",function(){return O}),o.d(b,"isUndefined",function(){return Bn}),o.d(b,"isElement",function(){return wi}),o.d(b,"requestAnimationFrame",function(){return Mi}),o.d(b,"clearAnimationFrame",function(){return Wn}),o.d(b,"augment",function(){return hi}),o.d(b,"clone",function(){return oi}),o.d(b,"debounce",function(){return di}),o.d(b,"memoize",function(){return _i}),o.d(b,"deepMix",function(){return Yn}),o.d(b,"each",function(){return m}),o.d(b,"extend",function(){return ki}),o.d(b,"indexOf",function(){return Gi}),o.d(b,"isEmpty",function(){return oo}),o.d(b,"isEqual",function(){return ci}),o.d(b,"isEqualWith",function(){return li}),o.d(b,"map",function(){return ao}),o.d(b,"mapValues",function(){return $i}),o.d(b,"mix",function(){return Jn}),o.d(b,"assign",function(){return Jn}),o.d(b,"get",function(){return vo}),o.d(b,"set",function(){return nr}),o.d(b,"pick",function(){return Ne}),o.d(b,"omit",function(){return He}),o.d(b,"throttle",function(){return ft}),o.d(b,"toArray",function(){return At}),o.d(b,"toString",function(){return Dr}),o.d(b,"uniqueId",function(){return vr}),o.d(b,"noop",function(){return Be}),o.d(b,"identity",function(){return ut}),o.d(b,"size",function(){return bt}),o.d(b,"Cache",function(){return Ft});var f=function(_e){return _e!==null&&typeof _e!="function"&&isFinite(_e.length)},c=function(_e,ze){return!!f(_e)&&_e.indexOf(ze)>-1},M=function(_e,ze){if(!f(_e))return _e;for(var Qe=[],lt=0;lt<_e.length;lt++){var vt=_e[lt];ze(vt,lt)&&Qe.push(vt)}return Qe},_=function(_e,ze){return ze===void 0&&(ze=[]),M(_e,function(Qe){return!c(ze,Qe)})},x={}.toString,O=function(_e,ze){return x.call(_e)==="[object "+ze+"]"},S=function(_e){return O(_e,"Function")},g=function(_e){return _e==null},h=function(_e){return Array.isArray?Array.isArray(_e):O(_e,"Array")};function y(_e){return(y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ze){return typeof ze}:function(ze){return ze&&typeof Symbol=="function"&&ze.constructor===Symbol&&ze!==Symbol.prototype?"symbol":typeof ze})(_e)}var E=function(_e){var ze=y(_e);return _e!==null&&ze==="object"||ze==="function"},m=function(_e,ze){if(_e){if(h(_e))for(var Qe=0,lt=_e.length;Qe-1;)Ie.call(_e,wt,1);return _e},Z=Array.prototype.splice,V=function(_e,ze){if(!f(_e))return[];for(var Qe=_e?ze.length:0,lt=Qe-1;Qe--;){var vt=void 0,wt=ze[Qe];Qe!==lt&&wt===vt||(vt=wt,Z.call(_e,wt,1))}return _e},ae=function(_e,ze,Qe){if(!h(_e)&&!P(_e))return _e;var lt=Qe;return m(_e,function(vt,wt){lt=ze(lt,vt,wt)}),lt},we=function(_e,ze){var Qe=[];if(!f(_e))return Qe;for(var lt=-1,vt=[],wt=_e.length;++ltwt[Wt])return 1;if(vt[Wt]Qe?Qe:_e},ot=function(_e,ze){var Qe=ze.toString(),lt=Qe.indexOf(".");if(lt===-1)return Math.round(_e);var vt=Qe.substr(lt+1).length;return vt>20&&(vt=20),parseFloat(_e.toFixed(vt))},dt=function(_e){return O(_e,"Number")},Ct=function(_e){return dt(_e)&&_e%1!=0},Tt=function(_e){return dt(_e)&&_e%2==0},jt=Number.isInteger?Number.isInteger:function(_e){return dt(_e)&&_e%1==0},Kt=function(_e){return dt(_e)&&_e<0};function Qt(_e,ze,Qe){return Qe===void 0&&(Qe=1e-5),Math.abs(_e-ze)0},Mr=function(_e,ze){if(h(_e)){for(var Qe,lt=-1/0,vt=0;vt<_e.length;vt++){var wt=_e[vt],Lt=S(ze)?ze(wt):wt[ze];Lt>lt&&(Qe=wt,lt=Lt)}return Qe}},cr=function(_e,ze){if(h(_e)){for(var Qe,lt=1/0,vt=0;vt<_e.length;vt++){var wt=_e[vt],Lt=S(ze)?ze(wt):wt[ze];Ltze?(lt&&(clearTimeout(lt),lt=null),Wt=ar,Lt=_e.apply(vt,wt),lt||(vt=wt=null)):lt||Qe.trailing===!1||(lt=setTimeout(er,pr)),Lt};return tr.cancel=function(){clearTimeout(lt),Wt=0,lt=vt=wt=null},tr},At=function(_e){return f(_e)?Array.prototype.slice.call(_e):[]},Ht={},vr=function(_e){return Ht[_e=_e||"g"]?Ht[_e]+=1:Ht[_e]=1,_e+Ht[_e]},Be=function(){},ut=function(_e){return _e};function bt(_e){return g(_e)?0:f(_e)?_e.length:Object.keys(_e).length}var Ft=function(){function _e(){this.map={}}return _e.prototype.has=function(ze){return this.map[ze]!==void 0},_e.prototype.get=function(ze,Qe){var lt=this.map[ze];return lt===void 0?Qe:lt},_e.prototype.set=function(ze,Qe){this.map[ze]=Qe},_e.prototype.clear=function(){this.map={}},_e.prototype.delete=function(ze){delete this.map[ze]},_e.prototype.size=function(){return Object.keys(this.map).length},_e}()},function(R,b,o){"use strict";function f(ie){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne})(ie)}o.r(b),o.d(b,"__extends",function(){return M}),o.d(b,"__assign",function(){return _}),o.d(b,"__rest",function(){return x}),o.d(b,"__decorate",function(){return O}),o.d(b,"__param",function(){return S}),o.d(b,"__metadata",function(){return g}),o.d(b,"__awaiter",function(){return h}),o.d(b,"__generator",function(){return y}),o.d(b,"__createBinding",function(){return E}),o.d(b,"__exportStar",function(){return m}),o.d(b,"__values",function(){return p}),o.d(b,"__read",function(){return A}),o.d(b,"__spread",function(){return C}),o.d(b,"__spreadArrays",function(){return N}),o.d(b,"__spreadArray",function(){return P}),o.d(b,"__await",function(){return L}),o.d(b,"__asyncGenerator",function(){return z}),o.d(b,"__asyncDelegator",function(){return X}),o.d(b,"__asyncValues",function(){return te}),o.d(b,"__makeTemplateObject",function(){return ue}),o.d(b,"__importStar",function(){return xe}),o.d(b,"__importDefault",function(){return ye}),o.d(b,"__classPrivateFieldGet",function(){return W}),o.d(b,"__classPrivateFieldSet",function(){return Ie});var c=function(ie,ne){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,V){Z.__proto__=V}||function(Z,V){for(var ae in V)Object.prototype.hasOwnProperty.call(V,ae)&&(Z[ae]=V[ae])})(ie,ne)};function M(ie,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");function Z(){this.constructor=ie}c(ie,ne),ie.prototype=ne===null?Object.create(ne):(Z.prototype=ne.prototype,new Z)}var _=function(){return(_=Object.assign||function(ie){for(var ne,Z=1,V=arguments.length;Z=0;se--)(ae=ie[se])&&(Ae=(we<3?ae(Ae):we>3?ae(ne,Z,Ae):ae(ne,Z))||Ae);return we>3&&Ae&&Object.defineProperty(ne,Z,Ae),Ae}function S(ie,ne){return function(Z,V){ne(Z,V,ie)}}function g(ie,ne){if((typeof Reflect=="undefined"?"undefined":f(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(ie,ne)}function h(ie,ne,Z,V){return new(Z||(Z=Promise))(function(ae,we){function Ae(J){try{ee(V.next(J))}catch(Y){we(Y)}}function se(J){try{ee(V.throw(J))}catch(Y){we(Y)}}function ee(J){var Y;J.done?ae(J.value):(Y=J.value,Y instanceof Z?Y:new Z(function(q){q(Y)})).then(Ae,se)}ee((V=V.apply(ie,ne||[])).next())})}function y(ie,ne){var Z,V,ae,we,Ae={label:0,sent:function(){if(1&ae[0])throw ae[1];return ae[1]},trys:[],ops:[]};return we={next:se(0),throw:se(1),return:se(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function se(ee){return function(J){return function(Y){if(Z)throw new TypeError("Generator is already executing.");for(;Ae;)try{if(Z=1,V&&(ae=2&Y[0]?V.return:Y[0]?V.throw||((ae=V.return)&&ae.call(V),0):V.next)&&!(ae=ae.call(V,Y[1])).done)return ae;switch(V=0,ae&&(Y=[2&Y[0],ae.value]),Y[0]){case 0:case 1:ae=Y;break;case 4:return Ae.label++,{value:Y[1],done:!1};case 5:Ae.label++,V=Y[1],Y=[0];continue;case 7:Y=Ae.ops.pop(),Ae.trys.pop();continue;default:if(ae=Ae.trys,!((ae=ae.length>0&&ae[ae.length-1])||Y[0]!==6&&Y[0]!==2)){Ae=0;continue}if(Y[0]===3&&(!ae||Y[1]>ae[0]&&Y[1]=ie.length&&(ie=void 0),{value:ie&&ie[V++],done:!ie}}};throw new TypeError(ne?"Object is not iterable.":"Symbol.iterator is not defined.")}function A(ie,ne){var Z=typeof Symbol=="function"&&ie[Symbol.iterator];if(!Z)return ie;var V,ae,we=Z.call(ie),Ae=[];try{for(;(ne===void 0||ne-- >0)&&!(V=we.next()).done;)Ae.push(V.value)}catch(se){ae={error:se}}finally{try{V&&!V.done&&(Z=we.return)&&Z.call(we)}finally{if(ae)throw ae.error}}return Ae}function C(){for(var ie=[],ne=0;ne1||se(q,G)})})}function se(q,G){try{(re=ae[q](G)).value instanceof L?Promise.resolve(re.value.v).then(ee,J):Y(we[0][2],re)}catch(fe){Y(we[0][3],fe)}var re}function ee(q){se("next",q)}function J(q){se("throw",q)}function Y(q,G){q(G),we.shift(),we.length&&se(we[0][0],we[0][1])}}function X(ie){var ne,Z;return ne={},V("next"),V("throw",function(ae){throw ae}),V("return"),ne[Symbol.iterator]=function(){return this},ne;function V(ae,we){ne[ae]=ie[ae]?function(Ae){return(Z=!Z)?{value:L(ie[ae](Ae)),done:ae==="return"}:we?we(Ae):Ae}:we}}function te(ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,Z=ie[Symbol.asyncIterator];return Z?Z.call(ie):(ie=p(ie),ne={},V("next"),V("throw"),V("return"),ne[Symbol.asyncIterator]=function(){return this},ne);function V(ae){ne[ae]=ie[ae]&&function(we){return new Promise(function(Ae,se){(function(ee,J,Y,q){Promise.resolve(q).then(function(G){ee({value:G,done:Y})},J)})(Ae,se,(we=ie[ae](we)).done,we.value)})}}}function ue(ie,ne){return Object.defineProperty?Object.defineProperty(ie,"raw",{value:ne}):ie.raw=ne,ie}var le=Object.create?function(ie,ne){Object.defineProperty(ie,"default",{enumerable:!0,value:ne})}:function(ie,ne){ie.default=ne};function xe(ie){if(ie&&ie.__esModule)return ie;var ne={};if(ie!=null)for(var Z in ie)Z!=="default"&&Object.prototype.hasOwnProperty.call(ie,Z)&&E(ne,ie,Z);return le(ne,ie),ne}function ye(ie){return ie&&ie.__esModule?ie:{default:ie}}function W(ie,ne,Z,V){if(Z==="a"&&!V)throw new TypeError("Private accessor was defined without a getter");if(typeof ne=="function"?ie!==ne||!V:!ne.has(ie))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Z==="m"?V:Z==="a"?V.call(ie):V?V.value:ne.get(ie)}function Ie(ie,ne,Z,V,ae){if(V==="m")throw new TypeError("Private method is not writable");if(V==="a"&&!ae)throw new TypeError("Private accessor was defined without a setter");if(typeof ne=="function"?ie!==ne||!ae:!ne.has(ie))throw new TypeError("Cannot write private member to an object whose class did not declare it");return V==="a"?ae.call(ie,Z):ae?ae.value=Z:ne.set(ie,Z),Z}},function(R,b,o){"use strict";o.d(b,"a",function(){return f}),o.d(b,"b",function(){return c}),o.d(b,"c",function(){return _}),o.d(b,"d",function(){return St}),o.d(b,"e",function(){return Er}),o.d(b,"f",function(){return M});var f={};o.r(f),o.d(f,"create",function(){return O}),o.d(f,"fromMat4",function(){return S}),o.d(f,"clone",function(){return g}),o.d(f,"copy",function(){return h}),o.d(f,"fromValues",function(){return y}),o.d(f,"set",function(){return E}),o.d(f,"identity",function(){return m}),o.d(f,"transpose",function(){return p}),o.d(f,"invert",function(){return A}),o.d(f,"adjoint",function(){return C}),o.d(f,"determinant",function(){return N}),o.d(f,"multiply",function(){return P}),o.d(f,"translate",function(){return L}),o.d(f,"rotate",function(){return z}),o.d(f,"scale",function(){return X}),o.d(f,"fromTranslation",function(){return te}),o.d(f,"fromRotation",function(){return ue}),o.d(f,"fromScaling",function(){return le}),o.d(f,"fromMat2d",function(){return xe}),o.d(f,"fromQuat",function(){return ye}),o.d(f,"normalFromMat4",function(){return W}),o.d(f,"projection",function(){return Ie}),o.d(f,"str",function(){return ie}),o.d(f,"frob",function(){return ne}),o.d(f,"add",function(){return Z}),o.d(f,"subtract",function(){return V}),o.d(f,"multiplyScalar",function(){return ae}),o.d(f,"multiplyScalarAndAdd",function(){return we}),o.d(f,"exactEquals",function(){return Ae}),o.d(f,"equals",function(){return se}),o.d(f,"mul",function(){return ee}),o.d(f,"sub",function(){return J});var c={};o.r(c),o.d(c,"create",function(){return Y}),o.d(c,"clone",function(){return q}),o.d(c,"copy",function(){return G}),o.d(c,"fromValues",function(){return re}),o.d(c,"set",function(){return fe}),o.d(c,"identity",function(){return ce}),o.d(c,"transpose",function(){return $}),o.d(c,"invert",function(){return de}),o.d(c,"adjoint",function(){return Se}),o.d(c,"determinant",function(){return Pe}),o.d(c,"multiply",function(){return ke}),o.d(c,"translate",function(){return Ce}),o.d(c,"scale",function(){return Re}),o.d(c,"rotate",function(){return Oe}),o.d(c,"rotateX",function(){return Le}),o.d(c,"rotateY",function(){return Ke}),o.d(c,"rotateZ",function(){return et}),o.d(c,"fromTranslation",function(){return ot}),o.d(c,"fromScaling",function(){return dt}),o.d(c,"fromRotation",function(){return Ct}),o.d(c,"fromXRotation",function(){return Tt}),o.d(c,"fromYRotation",function(){return jt}),o.d(c,"fromZRotation",function(){return Kt}),o.d(c,"fromRotationTranslation",function(){return Qt}),o.d(c,"fromQuat2",function(){return rr}),o.d(c,"getTranslation",function(){return or}),o.d(c,"getScaling",function(){return Mr}),o.d(c,"getRotation",function(){return cr}),o.d(c,"fromRotationTranslationScale",function(){return yr}),o.d(c,"fromRotationTranslationScaleOrigin",function(){return br}),o.d(c,"fromQuat",function(){return Xr}),o.d(c,"frustum",function(){return gr}),o.d(c,"perspective",function(){return xr}),o.d(c,"perspectiveFromFieldOfView",function(){return dr}),o.d(c,"ortho",function(){return Br}),o.d(c,"lookAt",function(){return Rr}),o.d(c,"targetTo",function(){return pn}),o.d(c,"str",function(){return zr}),o.d(c,"frob",function(){return Nr}),o.d(c,"add",function(){return Dr}),o.d(c,"subtract",function(){return rn}),o.d(c,"multiplyScalar",function(){return Ir}),o.d(c,"multiplyScalarAndAdd",function(){return On}),o.d(c,"exactEquals",function(){return In}),o.d(c,"equals",function(){return Dn}),o.d(c,"mul",function(){return Rn}),o.d(c,"sub",function(){return gn});var M={};o.r(M),o.d(M,"create",function(){return ln}),o.d(M,"clone",function(){return yn}),o.d(M,"fromValues",function(){return mn}),o.d(M,"copy",function(){return Qn}),o.d(M,"set",function(){return Un}),o.d(M,"add",function(){return ri}),o.d(M,"subtract",function(){return Oi}),o.d(M,"multiply",function(){return ni}),o.d(M,"divide",function(){return Bn}),o.d(M,"ceil",function(){return wi}),o.d(M,"floor",function(){return Mi}),o.d(M,"min",function(){return Wn}),o.d(M,"max",function(){return ii}),o.d(M,"round",function(){return Jn}),o.d(M,"scale",function(){return hi}),o.d(M,"scaleAndAdd",function(){return Vn}),o.d(M,"distance",function(){return oi}),o.d(M,"squaredDistance",function(){return di}),o.d(M,"length",function(){return _i}),o.d(M,"squaredLength",function(){return Xn}),o.d(M,"negate",function(){return Yn}),o.d(M,"inverse",function(){return ki}),o.d(M,"normalize",function(){return Gi}),o.d(M,"dot",function(){return Hn}),o.d(M,"cross",function(){return oo}),o.d(M,"lerp",function(){return ci}),o.d(M,"random",function(){return li}),o.d(M,"transformMat4",function(){return ao}),o.d(M,"transformQuat",function(){return Zi}),o.d(M,"zero",function(){return $i}),o.d(M,"str",function(){return vo}),o.d(M,"exactEquals",function(){return nr}),o.d(M,"equals",function(){return We}),o.d(M,"sub",function(){return He}),o.d(M,"mul",function(){return ft}),o.d(M,"div",function(){return At}),o.d(M,"dist",function(){return Ht}),o.d(M,"sqrDist",function(){return vr}),o.d(M,"len",function(){return Be}),o.d(M,"sqrLen",function(){return ut}),o.d(M,"forEach",function(){return bt});var _={};o.r(_),o.d(_,"create",function(){return Ft}),o.d(_,"identity",function(){return _e}),o.d(_,"setAxisAngle",function(){return ze}),o.d(_,"getAxisAngle",function(){return Qe}),o.d(_,"getAngle",function(){return lt}),o.d(_,"multiply",function(){return vt}),o.d(_,"rotateX",function(){return wt}),o.d(_,"rotateY",function(){return Lt}),o.d(_,"rotateZ",function(){return Wt}),o.d(_,"calculateW",function(){return er}),o.d(_,"exp",function(){return tr}),o.d(_,"ln",function(){return ar}),o.d(_,"pow",function(){return pr}),o.d(_,"slerp",function(){return Ur}),o.d(_,"random",function(){return Gr}),o.d(_,"invert",function(){return $r}),o.d(_,"conjugate",function(){return Kr}),o.d(_,"fromMat3",function(){return jn}),o.d(_,"fromEuler",function(){return Cn}),o.d(_,"str",function(){return qn}),o.d(_,"clone",function(){return ko}),o.d(_,"fromValues",function(){return Fi}),o.d(_,"copy",function(){return Qi}),o.d(_,"set",function(){return nn}),o.d(_,"add",function(){return pi}),o.d(_,"mul",function(){return Ji}),o.d(_,"scale",function(){return Ai}),o.d(_,"dot",function(){return Gn}),o.d(_,"lerp",function(){return zi}),o.d(_,"length",function(){return Di}),o.d(_,"len",function(){return fi}),o.d(_,"squaredLength",function(){return Ui}),o.d(_,"sqrLen",function(){return Ci}),o.d(_,"normalize",function(){return eo}),o.d(_,"exactEquals",function(){return so}),o.d(_,"equals",function(){return Vi}),o.d(_,"rotationTo",function(){return Ti}),o.d(_,"sqlerp",function(){return _t}),o.d(_,"setAxes",function(){return $e});var x=o(12);function O(){var w=new x.a(9);return x.a!=Float32Array&&(w[1]=0,w[2]=0,w[3]=0,w[5]=0,w[6]=0,w[7]=0),w[0]=1,w[4]=1,w[8]=1,w}function S(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[4],w[4]=D[5],w[5]=D[6],w[6]=D[8],w[7]=D[9],w[8]=D[10],w}function g(w){var D=new x.a(9);return D[0]=w[0],D[1]=w[1],D[2]=w[2],D[3]=w[3],D[4]=w[4],D[5]=w[5],D[6]=w[6],D[7]=w[7],D[8]=w[8],D}function h(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w[4]=D[4],w[5]=D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}function y(w,D,he,K,oe,ge,be,De,Ue){var Me=new x.a(9);return Me[0]=w,Me[1]=D,Me[2]=he,Me[3]=K,Me[4]=oe,Me[5]=ge,Me[6]=be,Me[7]=De,Me[8]=Ue,Me}function E(w,D,he,K,oe,ge,be,De,Ue,Me){return w[0]=D,w[1]=he,w[2]=K,w[3]=oe,w[4]=ge,w[5]=be,w[6]=De,w[7]=Ue,w[8]=Me,w}function m(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}function p(w,D){if(w===D){var he=D[1],K=D[2],oe=D[5];w[1]=D[3],w[2]=D[6],w[3]=he,w[5]=D[7],w[6]=K,w[7]=oe}else w[0]=D[0],w[1]=D[3],w[2]=D[6],w[3]=D[1],w[4]=D[4],w[5]=D[7],w[6]=D[2],w[7]=D[5],w[8]=D[8];return w}function A(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=D[4],De=D[5],Ue=D[6],Me=D[7],Fe=D[8],Ye=Fe*be-De*Me,Ge=-Fe*ge+De*Ue,Xe=Me*ge-be*Ue,Je=he*Ye+K*Ge+oe*Xe;return Je?(Je=1/Je,w[0]=Ye*Je,w[1]=(-Fe*K+oe*Me)*Je,w[2]=(De*K-oe*be)*Je,w[3]=Ge*Je,w[4]=(Fe*he-oe*Ue)*Je,w[5]=(-De*he+oe*ge)*Je,w[6]=Xe*Je,w[7]=(-Me*he+K*Ue)*Je,w[8]=(be*he-K*ge)*Je,w):null}function C(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=D[4],De=D[5],Ue=D[6],Me=D[7],Fe=D[8];return w[0]=be*Fe-De*Me,w[1]=oe*Me-K*Fe,w[2]=K*De-oe*be,w[3]=De*Ue-ge*Fe,w[4]=he*Fe-oe*Ue,w[5]=oe*ge-he*De,w[6]=ge*Me-be*Ue,w[7]=K*Ue-he*Me,w[8]=he*be-K*ge,w}function N(w){var D=w[0],he=w[1],K=w[2],oe=w[3],ge=w[4],be=w[5],De=w[6],Ue=w[7],Me=w[8];return D*(Me*ge-be*Ue)+he*(-Me*oe+be*De)+K*(Ue*oe-ge*De)}function P(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=D[3],De=D[4],Ue=D[5],Me=D[6],Fe=D[7],Ye=D[8],Ge=he[0],Xe=he[1],Je=he[2],tt=he[3],Ve=he[4],it=he[5],pt=he[6],Et=he[7],mt=he[8];return w[0]=Ge*K+Xe*be+Je*Me,w[1]=Ge*oe+Xe*De+Je*Fe,w[2]=Ge*ge+Xe*Ue+Je*Ye,w[3]=tt*K+Ve*be+it*Me,w[4]=tt*oe+Ve*De+it*Fe,w[5]=tt*ge+Ve*Ue+it*Ye,w[6]=pt*K+Et*be+mt*Me,w[7]=pt*oe+Et*De+mt*Fe,w[8]=pt*ge+Et*Ue+mt*Ye,w}function L(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=D[3],De=D[4],Ue=D[5],Me=D[6],Fe=D[7],Ye=D[8],Ge=he[0],Xe=he[1];return w[0]=K,w[1]=oe,w[2]=ge,w[3]=be,w[4]=De,w[5]=Ue,w[6]=Ge*K+Xe*be+Me,w[7]=Ge*oe+Xe*De+Fe,w[8]=Ge*ge+Xe*Ue+Ye,w}function z(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=D[3],De=D[4],Ue=D[5],Me=D[6],Fe=D[7],Ye=D[8],Ge=Math.sin(he),Xe=Math.cos(he);return w[0]=Xe*K+Ge*be,w[1]=Xe*oe+Ge*De,w[2]=Xe*ge+Ge*Ue,w[3]=Xe*be-Ge*K,w[4]=Xe*De-Ge*oe,w[5]=Xe*Ue-Ge*ge,w[6]=Me,w[7]=Fe,w[8]=Ye,w}function X(w,D,he){var K=he[0],oe=he[1];return w[0]=K*D[0],w[1]=K*D[1],w[2]=K*D[2],w[3]=oe*D[3],w[4]=oe*D[4],w[5]=oe*D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}function te(w,D){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=D[0],w[7]=D[1],w[8]=1,w}function ue(w,D){var he=Math.sin(D),K=Math.cos(D);return w[0]=K,w[1]=he,w[2]=0,w[3]=-he,w[4]=K,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}function le(w,D){return w[0]=D[0],w[1]=0,w[2]=0,w[3]=0,w[4]=D[1],w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}function xe(w,D){return w[0]=D[0],w[1]=D[1],w[2]=0,w[3]=D[2],w[4]=D[3],w[5]=0,w[6]=D[4],w[7]=D[5],w[8]=1,w}function ye(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=he+he,De=K+K,Ue=oe+oe,Me=he*be,Fe=K*be,Ye=K*De,Ge=oe*be,Xe=oe*De,Je=oe*Ue,tt=ge*be,Ve=ge*De,it=ge*Ue;return w[0]=1-Ye-Je,w[3]=Fe-it,w[6]=Ge+Ve,w[1]=Fe+it,w[4]=1-Me-Je,w[7]=Xe-tt,w[2]=Ge-Ve,w[5]=Xe+tt,w[8]=1-Me-Ye,w}function W(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=D[4],De=D[5],Ue=D[6],Me=D[7],Fe=D[8],Ye=D[9],Ge=D[10],Xe=D[11],Je=D[12],tt=D[13],Ve=D[14],it=D[15],pt=he*De-K*be,Et=he*Ue-oe*be,mt=he*Me-ge*be,xt=K*Ue-oe*De,Ot=K*Me-ge*De,yt=oe*Me-ge*Ue,qe=Fe*tt-Ye*Je,at=Fe*Ve-Ge*Je,ht=Fe*it-Xe*Je,Mt=Ye*Ve-Ge*tt,zt=Ye*it-Xe*tt,Ut=Ge*it-Xe*Ve,Xt=pt*Ut-Et*zt+mt*Mt+xt*ht-Ot*at+yt*qe;return Xt?(Xt=1/Xt,w[0]=(De*Ut-Ue*zt+Me*Mt)*Xt,w[1]=(Ue*ht-be*Ut-Me*at)*Xt,w[2]=(be*zt-De*ht+Me*qe)*Xt,w[3]=(oe*zt-K*Ut-ge*Mt)*Xt,w[4]=(he*Ut-oe*ht+ge*at)*Xt,w[5]=(K*ht-he*zt-ge*qe)*Xt,w[6]=(tt*yt-Ve*Ot+it*xt)*Xt,w[7]=(Ve*mt-Je*yt-it*Et)*Xt,w[8]=(Je*Ot-tt*mt+it*pt)*Xt,w):null}function Ie(w,D,he){return w[0]=2/D,w[1]=0,w[2]=0,w[3]=0,w[4]=-2/he,w[5]=0,w[6]=-1,w[7]=1,w[8]=1,w}function ie(w){return"mat3("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+", "+w[4]+", "+w[5]+", "+w[6]+", "+w[7]+", "+w[8]+")"}function ne(w){return Math.hypot(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8])}function Z(w,D,he){return w[0]=D[0]+he[0],w[1]=D[1]+he[1],w[2]=D[2]+he[2],w[3]=D[3]+he[3],w[4]=D[4]+he[4],w[5]=D[5]+he[5],w[6]=D[6]+he[6],w[7]=D[7]+he[7],w[8]=D[8]+he[8],w}function V(w,D,he){return w[0]=D[0]-he[0],w[1]=D[1]-he[1],w[2]=D[2]-he[2],w[3]=D[3]-he[3],w[4]=D[4]-he[4],w[5]=D[5]-he[5],w[6]=D[6]-he[6],w[7]=D[7]-he[7],w[8]=D[8]-he[8],w}function ae(w,D,he){return w[0]=D[0]*he,w[1]=D[1]*he,w[2]=D[2]*he,w[3]=D[3]*he,w[4]=D[4]*he,w[5]=D[5]*he,w[6]=D[6]*he,w[7]=D[7]*he,w[8]=D[8]*he,w}function we(w,D,he,K){return w[0]=D[0]+he[0]*K,w[1]=D[1]+he[1]*K,w[2]=D[2]+he[2]*K,w[3]=D[3]+he[3]*K,w[4]=D[4]+he[4]*K,w[5]=D[5]+he[5]*K,w[6]=D[6]+he[6]*K,w[7]=D[7]+he[7]*K,w[8]=D[8]+he[8]*K,w}function Ae(w,D){return w[0]===D[0]&&w[1]===D[1]&&w[2]===D[2]&&w[3]===D[3]&&w[4]===D[4]&&w[5]===D[5]&&w[6]===D[6]&&w[7]===D[7]&&w[8]===D[8]}function se(w,D){var he=w[0],K=w[1],oe=w[2],ge=w[3],be=w[4],De=w[5],Ue=w[6],Me=w[7],Fe=w[8],Ye=D[0],Ge=D[1],Xe=D[2],Je=D[3],tt=D[4],Ve=D[5],it=D[6],pt=D[7],Et=D[8];return Math.abs(he-Ye)<=x.b*Math.max(1,Math.abs(he),Math.abs(Ye))&&Math.abs(K-Ge)<=x.b*Math.max(1,Math.abs(K),Math.abs(Ge))&&Math.abs(oe-Xe)<=x.b*Math.max(1,Math.abs(oe),Math.abs(Xe))&&Math.abs(ge-Je)<=x.b*Math.max(1,Math.abs(ge),Math.abs(Je))&&Math.abs(be-tt)<=x.b*Math.max(1,Math.abs(be),Math.abs(tt))&&Math.abs(De-Ve)<=x.b*Math.max(1,Math.abs(De),Math.abs(Ve))&&Math.abs(Ue-it)<=x.b*Math.max(1,Math.abs(Ue),Math.abs(it))&&Math.abs(Me-pt)<=x.b*Math.max(1,Math.abs(Me),Math.abs(pt))&&Math.abs(Fe-Et)<=x.b*Math.max(1,Math.abs(Fe),Math.abs(Et))}var ee=P,J=V;function Y(){var w=new x.a(16);return x.a!=Float32Array&&(w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[11]=0,w[12]=0,w[13]=0,w[14]=0),w[0]=1,w[5]=1,w[10]=1,w[15]=1,w}function q(w){var D=new x.a(16);return D[0]=w[0],D[1]=w[1],D[2]=w[2],D[3]=w[3],D[4]=w[4],D[5]=w[5],D[6]=w[6],D[7]=w[7],D[8]=w[8],D[9]=w[9],D[10]=w[10],D[11]=w[11],D[12]=w[12],D[13]=w[13],D[14]=w[14],D[15]=w[15],D}function G(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w[4]=D[4],w[5]=D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w[9]=D[9],w[10]=D[10],w[11]=D[11],w[12]=D[12],w[13]=D[13],w[14]=D[14],w[15]=D[15],w}function re(w,D,he,K,oe,ge,be,De,Ue,Me,Fe,Ye,Ge,Xe,Je,tt){var Ve=new x.a(16);return Ve[0]=w,Ve[1]=D,Ve[2]=he,Ve[3]=K,Ve[4]=oe,Ve[5]=ge,Ve[6]=be,Ve[7]=De,Ve[8]=Ue,Ve[9]=Me,Ve[10]=Fe,Ve[11]=Ye,Ve[12]=Ge,Ve[13]=Xe,Ve[14]=Je,Ve[15]=tt,Ve}function fe(w,D,he,K,oe,ge,be,De,Ue,Me,Fe,Ye,Ge,Xe,Je,tt,Ve){return w[0]=D,w[1]=he,w[2]=K,w[3]=oe,w[4]=ge,w[5]=be,w[6]=De,w[7]=Ue,w[8]=Me,w[9]=Fe,w[10]=Ye,w[11]=Ge,w[12]=Xe,w[13]=Je,w[14]=tt,w[15]=Ve,w}function ce(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=1,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}function $(w,D){if(w===D){var he=D[1],K=D[2],oe=D[3],ge=D[6],be=D[7],De=D[11];w[1]=D[4],w[2]=D[8],w[3]=D[12],w[4]=he,w[6]=D[9],w[7]=D[13],w[8]=K,w[9]=ge,w[11]=D[14],w[12]=oe,w[13]=be,w[14]=De}else w[0]=D[0],w[1]=D[4],w[2]=D[8],w[3]=D[12],w[4]=D[1],w[5]=D[5],w[6]=D[9],w[7]=D[13],w[8]=D[2],w[9]=D[6],w[10]=D[10],w[11]=D[14],w[12]=D[3],w[13]=D[7],w[14]=D[11],w[15]=D[15];return w}function de(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=D[4],De=D[5],Ue=D[6],Me=D[7],Fe=D[8],Ye=D[9],Ge=D[10],Xe=D[11],Je=D[12],tt=D[13],Ve=D[14],it=D[15],pt=he*De-K*be,Et=he*Ue-oe*be,mt=he*Me-ge*be,xt=K*Ue-oe*De,Ot=K*Me-ge*De,yt=oe*Me-ge*Ue,qe=Fe*tt-Ye*Je,at=Fe*Ve-Ge*Je,ht=Fe*it-Xe*Je,Mt=Ye*Ve-Ge*tt,zt=Ye*it-Xe*tt,Ut=Ge*it-Xe*Ve,Xt=pt*Ut-Et*zt+mt*Mt+xt*ht-Ot*at+yt*qe;return Xt?(Xt=1/Xt,w[0]=(De*Ut-Ue*zt+Me*Mt)*Xt,w[1]=(oe*zt-K*Ut-ge*Mt)*Xt,w[2]=(tt*yt-Ve*Ot+it*xt)*Xt,w[3]=(Ge*Ot-Ye*yt-Xe*xt)*Xt,w[4]=(Ue*ht-be*Ut-Me*at)*Xt,w[5]=(he*Ut-oe*ht+ge*at)*Xt,w[6]=(Ve*mt-Je*yt-it*Et)*Xt,w[7]=(Fe*yt-Ge*mt+Xe*Et)*Xt,w[8]=(be*zt-De*ht+Me*qe)*Xt,w[9]=(K*ht-he*zt-ge*qe)*Xt,w[10]=(Je*Ot-tt*mt+it*pt)*Xt,w[11]=(Ye*mt-Fe*Ot-Xe*pt)*Xt,w[12]=(De*at-be*Mt-Ue*qe)*Xt,w[13]=(he*Mt-K*at+oe*qe)*Xt,w[14]=(tt*Et-Je*xt-Ve*pt)*Xt,w[15]=(Fe*xt-Ye*Et+Ge*pt)*Xt,w):null}function Se(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=D[4],De=D[5],Ue=D[6],Me=D[7],Fe=D[8],Ye=D[9],Ge=D[10],Xe=D[11],Je=D[12],tt=D[13],Ve=D[14],it=D[15];return w[0]=De*(Ge*it-Xe*Ve)-Ye*(Ue*it-Me*Ve)+tt*(Ue*Xe-Me*Ge),w[1]=-(K*(Ge*it-Xe*Ve)-Ye*(oe*it-ge*Ve)+tt*(oe*Xe-ge*Ge)),w[2]=K*(Ue*it-Me*Ve)-De*(oe*it-ge*Ve)+tt*(oe*Me-ge*Ue),w[3]=-(K*(Ue*Xe-Me*Ge)-De*(oe*Xe-ge*Ge)+Ye*(oe*Me-ge*Ue)),w[4]=-(be*(Ge*it-Xe*Ve)-Fe*(Ue*it-Me*Ve)+Je*(Ue*Xe-Me*Ge)),w[5]=he*(Ge*it-Xe*Ve)-Fe*(oe*it-ge*Ve)+Je*(oe*Xe-ge*Ge),w[6]=-(he*(Ue*it-Me*Ve)-be*(oe*it-ge*Ve)+Je*(oe*Me-ge*Ue)),w[7]=he*(Ue*Xe-Me*Ge)-be*(oe*Xe-ge*Ge)+Fe*(oe*Me-ge*Ue),w[8]=be*(Ye*it-Xe*tt)-Fe*(De*it-Me*tt)+Je*(De*Xe-Me*Ye),w[9]=-(he*(Ye*it-Xe*tt)-Fe*(K*it-ge*tt)+Je*(K*Xe-ge*Ye)),w[10]=he*(De*it-Me*tt)-be*(K*it-ge*tt)+Je*(K*Me-ge*De),w[11]=-(he*(De*Xe-Me*Ye)-be*(K*Xe-ge*Ye)+Fe*(K*Me-ge*De)),w[12]=-(be*(Ye*Ve-Ge*tt)-Fe*(De*Ve-Ue*tt)+Je*(De*Ge-Ue*Ye)),w[13]=he*(Ye*Ve-Ge*tt)-Fe*(K*Ve-oe*tt)+Je*(K*Ge-oe*Ye),w[14]=-(he*(De*Ve-Ue*tt)-be*(K*Ve-oe*tt)+Je*(K*Ue-oe*De)),w[15]=he*(De*Ge-Ue*Ye)-be*(K*Ge-oe*Ye)+Fe*(K*Ue-oe*De),w}function Pe(w){var D=w[0],he=w[1],K=w[2],oe=w[3],ge=w[4],be=w[5],De=w[6],Ue=w[7],Me=w[8],Fe=w[9],Ye=w[10],Ge=w[11],Xe=w[12],Je=w[13],tt=w[14],Ve=w[15];return(D*be-he*ge)*(Ye*Ve-Ge*tt)-(D*De-K*ge)*(Fe*Ve-Ge*Je)+(D*Ue-oe*ge)*(Fe*tt-Ye*Je)+(he*De-K*be)*(Me*Ve-Ge*Xe)-(he*Ue-oe*be)*(Me*tt-Ye*Xe)+(K*Ue-oe*De)*(Me*Je-Fe*Xe)}function ke(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=D[3],De=D[4],Ue=D[5],Me=D[6],Fe=D[7],Ye=D[8],Ge=D[9],Xe=D[10],Je=D[11],tt=D[12],Ve=D[13],it=D[14],pt=D[15],Et=he[0],mt=he[1],xt=he[2],Ot=he[3];return w[0]=Et*K+mt*De+xt*Ye+Ot*tt,w[1]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[2]=Et*ge+mt*Me+xt*Xe+Ot*it,w[3]=Et*be+mt*Fe+xt*Je+Ot*pt,Et=he[4],mt=he[5],xt=he[6],Ot=he[7],w[4]=Et*K+mt*De+xt*Ye+Ot*tt,w[5]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[6]=Et*ge+mt*Me+xt*Xe+Ot*it,w[7]=Et*be+mt*Fe+xt*Je+Ot*pt,Et=he[8],mt=he[9],xt=he[10],Ot=he[11],w[8]=Et*K+mt*De+xt*Ye+Ot*tt,w[9]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[10]=Et*ge+mt*Me+xt*Xe+Ot*it,w[11]=Et*be+mt*Fe+xt*Je+Ot*pt,Et=he[12],mt=he[13],xt=he[14],Ot=he[15],w[12]=Et*K+mt*De+xt*Ye+Ot*tt,w[13]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[14]=Et*ge+mt*Me+xt*Xe+Ot*it,w[15]=Et*be+mt*Fe+xt*Je+Ot*pt,w}function Ce(w,D,he){var K,oe,ge,be,De,Ue,Me,Fe,Ye,Ge,Xe,Je,tt=he[0],Ve=he[1],it=he[2];return D===w?(w[12]=D[0]*tt+D[4]*Ve+D[8]*it+D[12],w[13]=D[1]*tt+D[5]*Ve+D[9]*it+D[13],w[14]=D[2]*tt+D[6]*Ve+D[10]*it+D[14],w[15]=D[3]*tt+D[7]*Ve+D[11]*it+D[15]):(K=D[0],oe=D[1],ge=D[2],be=D[3],De=D[4],Ue=D[5],Me=D[6],Fe=D[7],Ye=D[8],Ge=D[9],Xe=D[10],Je=D[11],w[0]=K,w[1]=oe,w[2]=ge,w[3]=be,w[4]=De,w[5]=Ue,w[6]=Me,w[7]=Fe,w[8]=Ye,w[9]=Ge,w[10]=Xe,w[11]=Je,w[12]=K*tt+De*Ve+Ye*it+D[12],w[13]=oe*tt+Ue*Ve+Ge*it+D[13],w[14]=ge*tt+Me*Ve+Xe*it+D[14],w[15]=be*tt+Fe*Ve+Je*it+D[15]),w}function Re(w,D,he){var K=he[0],oe=he[1],ge=he[2];return w[0]=D[0]*K,w[1]=D[1]*K,w[2]=D[2]*K,w[3]=D[3]*K,w[4]=D[4]*oe,w[5]=D[5]*oe,w[6]=D[6]*oe,w[7]=D[7]*oe,w[8]=D[8]*ge,w[9]=D[9]*ge,w[10]=D[10]*ge,w[11]=D[11]*ge,w[12]=D[12],w[13]=D[13],w[14]=D[14],w[15]=D[15],w}function Oe(w,D,he,K){var oe,ge,be,De,Ue,Me,Fe,Ye,Ge,Xe,Je,tt,Ve,it,pt,Et,mt,xt,Ot,yt,qe,at,ht,Mt,zt=K[0],Ut=K[1],Xt=K[2],fr=Math.hypot(zt,Ut,Xt);return fr0?(he[0]=2*(De*be+Fe*K+Ue*ge-Me*oe)/Ye,he[1]=2*(Ue*be+Fe*oe+Me*K-De*ge)/Ye,he[2]=2*(Me*be+Fe*ge+De*oe-Ue*K)/Ye):(he[0]=2*(De*be+Fe*K+Ue*ge-Me*oe),he[1]=2*(Ue*be+Fe*oe+Me*K-De*ge),he[2]=2*(Me*be+Fe*ge+De*oe-Ue*K)),Qt(w,D,he),w}function or(w,D){return w[0]=D[12],w[1]=D[13],w[2]=D[14],w}function Mr(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[4],be=D[5],De=D[6],Ue=D[8],Me=D[9],Fe=D[10];return w[0]=Math.hypot(he,K,oe),w[1]=Math.hypot(ge,be,De),w[2]=Math.hypot(Ue,Me,Fe),w}function cr(w,D){var he=new x.a(3);Mr(he,D);var K=1/he[0],oe=1/he[1],ge=1/he[2],be=D[0]*K,De=D[1]*oe,Ue=D[2]*ge,Me=D[4]*K,Fe=D[5]*oe,Ye=D[6]*ge,Ge=D[8]*K,Xe=D[9]*oe,Je=D[10]*ge,tt=be+Fe+Je,Ve=0;return tt>0?(Ve=2*Math.sqrt(tt+1),w[3]=.25*Ve,w[0]=(Ye-Xe)/Ve,w[1]=(Ge-Ue)/Ve,w[2]=(De-Me)/Ve):be>Fe&&be>Je?(Ve=2*Math.sqrt(1+be-Fe-Je),w[3]=(Ye-Xe)/Ve,w[0]=.25*Ve,w[1]=(De+Me)/Ve,w[2]=(Ge+Ue)/Ve):Fe>Je?(Ve=2*Math.sqrt(1+Fe-be-Je),w[3]=(Ge-Ue)/Ve,w[0]=(De+Me)/Ve,w[1]=.25*Ve,w[2]=(Ye+Xe)/Ve):(Ve=2*Math.sqrt(1+Je-be-Fe),w[3]=(De-Me)/Ve,w[0]=(Ge+Ue)/Ve,w[1]=(Ye+Xe)/Ve,w[2]=.25*Ve),w}function yr(w,D,he,K){var oe=D[0],ge=D[1],be=D[2],De=D[3],Ue=oe+oe,Me=ge+ge,Fe=be+be,Ye=oe*Ue,Ge=oe*Me,Xe=oe*Fe,Je=ge*Me,tt=ge*Fe,Ve=be*Fe,it=De*Ue,pt=De*Me,Et=De*Fe,mt=K[0],xt=K[1],Ot=K[2];return w[0]=(1-(Je+Ve))*mt,w[1]=(Ge+Et)*mt,w[2]=(Xe-pt)*mt,w[3]=0,w[4]=(Ge-Et)*xt,w[5]=(1-(Ye+Ve))*xt,w[6]=(tt+it)*xt,w[7]=0,w[8]=(Xe+pt)*Ot,w[9]=(tt-it)*Ot,w[10]=(1-(Ye+Je))*Ot,w[11]=0,w[12]=he[0],w[13]=he[1],w[14]=he[2],w[15]=1,w}function br(w,D,he,K,oe){var ge=D[0],be=D[1],De=D[2],Ue=D[3],Me=ge+ge,Fe=be+be,Ye=De+De,Ge=ge*Me,Xe=ge*Fe,Je=ge*Ye,tt=be*Fe,Ve=be*Ye,it=De*Ye,pt=Ue*Me,Et=Ue*Fe,mt=Ue*Ye,xt=K[0],Ot=K[1],yt=K[2],qe=oe[0],at=oe[1],ht=oe[2],Mt=(1-(tt+it))*xt,zt=(Xe+mt)*xt,Ut=(Je-Et)*xt,Xt=(Xe-mt)*Ot,fr=(1-(Ge+it))*Ot,Or=(Ve+pt)*Ot,kr=(Je+Et)*yt,mr=(Ve-pt)*yt,sr=(1-(Ge+tt))*yt;return w[0]=Mt,w[1]=zt,w[2]=Ut,w[3]=0,w[4]=Xt,w[5]=fr,w[6]=Or,w[7]=0,w[8]=kr,w[9]=mr,w[10]=sr,w[11]=0,w[12]=he[0]+qe-(Mt*qe+Xt*at+kr*ht),w[13]=he[1]+at-(zt*qe+fr*at+mr*ht),w[14]=he[2]+ht-(Ut*qe+Or*at+sr*ht),w[15]=1,w}function Xr(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=he+he,De=K+K,Ue=oe+oe,Me=he*be,Fe=K*be,Ye=K*De,Ge=oe*be,Xe=oe*De,Je=oe*Ue,tt=ge*be,Ve=ge*De,it=ge*Ue;return w[0]=1-Ye-Je,w[1]=Fe+it,w[2]=Ge-Ve,w[3]=0,w[4]=Fe-it,w[5]=1-Me-Je,w[6]=Xe+tt,w[7]=0,w[8]=Ge+Ve,w[9]=Xe-tt,w[10]=1-Me-Ye,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}function gr(w,D,he,K,oe,ge,be){var De=1/(he-D),Ue=1/(oe-K),Me=1/(ge-be);return w[0]=2*ge*De,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=2*ge*Ue,w[6]=0,w[7]=0,w[8]=(he+D)*De,w[9]=(oe+K)*Ue,w[10]=(be+ge)*Me,w[11]=-1,w[12]=0,w[13]=0,w[14]=be*ge*2*Me,w[15]=0,w}function xr(w,D,he,K,oe){var ge,be=1/Math.tan(D/2);return w[0]=be/he,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=be,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[11]=-1,w[12]=0,w[13]=0,w[15]=0,oe!=null&&oe!==1/0?(ge=1/(K-oe),w[10]=(oe+K)*ge,w[14]=2*oe*K*ge):(w[10]=-1,w[14]=-2*K),w}function dr(w,D,he,K){var oe=Math.tan(D.upDegrees*Math.PI/180),ge=Math.tan(D.downDegrees*Math.PI/180),be=Math.tan(D.leftDegrees*Math.PI/180),De=Math.tan(D.rightDegrees*Math.PI/180),Ue=2/(be+De),Me=2/(oe+ge);return w[0]=Ue,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=Me,w[6]=0,w[7]=0,w[8]=-(be-De)*Ue*.5,w[9]=(oe-ge)*Me*.5,w[10]=K/(he-K),w[11]=-1,w[12]=0,w[13]=0,w[14]=K*he/(he-K),w[15]=0,w}function Br(w,D,he,K,oe,ge,be){var De=1/(D-he),Ue=1/(K-oe),Me=1/(ge-be);return w[0]=-2*De,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=-2*Ue,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=2*Me,w[11]=0,w[12]=(D+he)*De,w[13]=(oe+K)*Ue,w[14]=(be+ge)*Me,w[15]=1,w}function Rr(w,D,he,K){var oe,ge,be,De,Ue,Me,Fe,Ye,Ge,Xe,Je=D[0],tt=D[1],Ve=D[2],it=K[0],pt=K[1],Et=K[2],mt=he[0],xt=he[1],Ot=he[2];return Math.abs(Je-mt)0&&(Fe*=Xe=1/Math.sqrt(Xe),Ye*=Xe,Ge*=Xe);var Je=Ue*Ge-Me*Ye,tt=Me*Fe-De*Ge,Ve=De*Ye-Ue*Fe;return(Xe=Je*Je+tt*tt+Ve*Ve)>0&&(Je*=Xe=1/Math.sqrt(Xe),tt*=Xe,Ve*=Xe),w[0]=Je,w[1]=tt,w[2]=Ve,w[3]=0,w[4]=Ye*Ve-Ge*tt,w[5]=Ge*Je-Fe*Ve,w[6]=Fe*tt-Ye*Je,w[7]=0,w[8]=Fe,w[9]=Ye,w[10]=Ge,w[11]=0,w[12]=oe,w[13]=ge,w[14]=be,w[15]=1,w}function zr(w){return"mat4("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+", "+w[4]+", "+w[5]+", "+w[6]+", "+w[7]+", "+w[8]+", "+w[9]+", "+w[10]+", "+w[11]+", "+w[12]+", "+w[13]+", "+w[14]+", "+w[15]+")"}function Nr(w){return Math.hypot(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8],w[9],w[10],w[11],w[12],w[13],w[14],w[15])}function Dr(w,D,he){return w[0]=D[0]+he[0],w[1]=D[1]+he[1],w[2]=D[2]+he[2],w[3]=D[3]+he[3],w[4]=D[4]+he[4],w[5]=D[5]+he[5],w[6]=D[6]+he[6],w[7]=D[7]+he[7],w[8]=D[8]+he[8],w[9]=D[9]+he[9],w[10]=D[10]+he[10],w[11]=D[11]+he[11],w[12]=D[12]+he[12],w[13]=D[13]+he[13],w[14]=D[14]+he[14],w[15]=D[15]+he[15],w}function rn(w,D,he){return w[0]=D[0]-he[0],w[1]=D[1]-he[1],w[2]=D[2]-he[2],w[3]=D[3]-he[3],w[4]=D[4]-he[4],w[5]=D[5]-he[5],w[6]=D[6]-he[6],w[7]=D[7]-he[7],w[8]=D[8]-he[8],w[9]=D[9]-he[9],w[10]=D[10]-he[10],w[11]=D[11]-he[11],w[12]=D[12]-he[12],w[13]=D[13]-he[13],w[14]=D[14]-he[14],w[15]=D[15]-he[15],w}function Ir(w,D,he){return w[0]=D[0]*he,w[1]=D[1]*he,w[2]=D[2]*he,w[3]=D[3]*he,w[4]=D[4]*he,w[5]=D[5]*he,w[6]=D[6]*he,w[7]=D[7]*he,w[8]=D[8]*he,w[9]=D[9]*he,w[10]=D[10]*he,w[11]=D[11]*he,w[12]=D[12]*he,w[13]=D[13]*he,w[14]=D[14]*he,w[15]=D[15]*he,w}function On(w,D,he,K){return w[0]=D[0]+he[0]*K,w[1]=D[1]+he[1]*K,w[2]=D[2]+he[2]*K,w[3]=D[3]+he[3]*K,w[4]=D[4]+he[4]*K,w[5]=D[5]+he[5]*K,w[6]=D[6]+he[6]*K,w[7]=D[7]+he[7]*K,w[8]=D[8]+he[8]*K,w[9]=D[9]+he[9]*K,w[10]=D[10]+he[10]*K,w[11]=D[11]+he[11]*K,w[12]=D[12]+he[12]*K,w[13]=D[13]+he[13]*K,w[14]=D[14]+he[14]*K,w[15]=D[15]+he[15]*K,w}function In(w,D){return w[0]===D[0]&&w[1]===D[1]&&w[2]===D[2]&&w[3]===D[3]&&w[4]===D[4]&&w[5]===D[5]&&w[6]===D[6]&&w[7]===D[7]&&w[8]===D[8]&&w[9]===D[9]&&w[10]===D[10]&&w[11]===D[11]&&w[12]===D[12]&&w[13]===D[13]&&w[14]===D[14]&&w[15]===D[15]}function Dn(w,D){var he=w[0],K=w[1],oe=w[2],ge=w[3],be=w[4],De=w[5],Ue=w[6],Me=w[7],Fe=w[8],Ye=w[9],Ge=w[10],Xe=w[11],Je=w[12],tt=w[13],Ve=w[14],it=w[15],pt=D[0],Et=D[1],mt=D[2],xt=D[3],Ot=D[4],yt=D[5],qe=D[6],at=D[7],ht=D[8],Mt=D[9],zt=D[10],Ut=D[11],Xt=D[12],fr=D[13],Or=D[14],kr=D[15];return Math.abs(he-pt)<=x.b*Math.max(1,Math.abs(he),Math.abs(pt))&&Math.abs(K-Et)<=x.b*Math.max(1,Math.abs(K),Math.abs(Et))&&Math.abs(oe-mt)<=x.b*Math.max(1,Math.abs(oe),Math.abs(mt))&&Math.abs(ge-xt)<=x.b*Math.max(1,Math.abs(ge),Math.abs(xt))&&Math.abs(be-Ot)<=x.b*Math.max(1,Math.abs(be),Math.abs(Ot))&&Math.abs(De-yt)<=x.b*Math.max(1,Math.abs(De),Math.abs(yt))&&Math.abs(Ue-qe)<=x.b*Math.max(1,Math.abs(Ue),Math.abs(qe))&&Math.abs(Me-at)<=x.b*Math.max(1,Math.abs(Me),Math.abs(at))&&Math.abs(Fe-ht)<=x.b*Math.max(1,Math.abs(Fe),Math.abs(ht))&&Math.abs(Ye-Mt)<=x.b*Math.max(1,Math.abs(Ye),Math.abs(Mt))&&Math.abs(Ge-zt)<=x.b*Math.max(1,Math.abs(Ge),Math.abs(zt))&&Math.abs(Xe-Ut)<=x.b*Math.max(1,Math.abs(Xe),Math.abs(Ut))&&Math.abs(Je-Xt)<=x.b*Math.max(1,Math.abs(Je),Math.abs(Xt))&&Math.abs(tt-fr)<=x.b*Math.max(1,Math.abs(tt),Math.abs(fr))&&Math.abs(Ve-Or)<=x.b*Math.max(1,Math.abs(Ve),Math.abs(Or))&&Math.abs(it-kr)<=x.b*Math.max(1,Math.abs(it),Math.abs(kr))}var Rn=ke,gn=rn,Er=o(39);function ln(){var w=new x.a(4);return x.a!=Float32Array&&(w[0]=0,w[1]=0,w[2]=0,w[3]=0),w}function yn(w){var D=new x.a(4);return D[0]=w[0],D[1]=w[1],D[2]=w[2],D[3]=w[3],D}function mn(w,D,he,K){var oe=new x.a(4);return oe[0]=w,oe[1]=D,oe[2]=he,oe[3]=K,oe}function Qn(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w}function Un(w,D,he,K,oe){return w[0]=D,w[1]=he,w[2]=K,w[3]=oe,w}function ri(w,D,he){return w[0]=D[0]+he[0],w[1]=D[1]+he[1],w[2]=D[2]+he[2],w[3]=D[3]+he[3],w}function Oi(w,D,he){return w[0]=D[0]-he[0],w[1]=D[1]-he[1],w[2]=D[2]-he[2],w[3]=D[3]-he[3],w}function ni(w,D,he){return w[0]=D[0]*he[0],w[1]=D[1]*he[1],w[2]=D[2]*he[2],w[3]=D[3]*he[3],w}function Bn(w,D,he){return w[0]=D[0]/he[0],w[1]=D[1]/he[1],w[2]=D[2]/he[2],w[3]=D[3]/he[3],w}function wi(w,D){return w[0]=Math.ceil(D[0]),w[1]=Math.ceil(D[1]),w[2]=Math.ceil(D[2]),w[3]=Math.ceil(D[3]),w}function Mi(w,D){return w[0]=Math.floor(D[0]),w[1]=Math.floor(D[1]),w[2]=Math.floor(D[2]),w[3]=Math.floor(D[3]),w}function Wn(w,D,he){return w[0]=Math.min(D[0],he[0]),w[1]=Math.min(D[1],he[1]),w[2]=Math.min(D[2],he[2]),w[3]=Math.min(D[3],he[3]),w}function ii(w,D,he){return w[0]=Math.max(D[0],he[0]),w[1]=Math.max(D[1],he[1]),w[2]=Math.max(D[2],he[2]),w[3]=Math.max(D[3],he[3]),w}function Jn(w,D){return w[0]=Math.round(D[0]),w[1]=Math.round(D[1]),w[2]=Math.round(D[2]),w[3]=Math.round(D[3]),w}function hi(w,D,he){return w[0]=D[0]*he,w[1]=D[1]*he,w[2]=D[2]*he,w[3]=D[3]*he,w}function Vn(w,D,he,K){return w[0]=D[0]+he[0]*K,w[1]=D[1]+he[1]*K,w[2]=D[2]+he[2]*K,w[3]=D[3]+he[3]*K,w}function oi(w,D){var he=D[0]-w[0],K=D[1]-w[1],oe=D[2]-w[2],ge=D[3]-w[3];return Math.hypot(he,K,oe,ge)}function di(w,D){var he=D[0]-w[0],K=D[1]-w[1],oe=D[2]-w[2],ge=D[3]-w[3];return he*he+K*K+oe*oe+ge*ge}function _i(w){var D=w[0],he=w[1],K=w[2],oe=w[3];return Math.hypot(D,he,K,oe)}function Xn(w){var D=w[0],he=w[1],K=w[2],oe=w[3];return D*D+he*he+K*K+oe*oe}function Yn(w,D){return w[0]=-D[0],w[1]=-D[1],w[2]=-D[2],w[3]=-D[3],w}function ki(w,D){return w[0]=1/D[0],w[1]=1/D[1],w[2]=1/D[2],w[3]=1/D[3],w}function Gi(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=he*he+K*K+oe*oe+ge*ge;return be>0&&(be=1/Math.sqrt(be)),w[0]=he*be,w[1]=K*be,w[2]=oe*be,w[3]=ge*be,w}function Hn(w,D){return w[0]*D[0]+w[1]*D[1]+w[2]*D[2]+w[3]*D[3]}function oo(w,D,he,K){var oe=he[0]*K[1]-he[1]*K[0],ge=he[0]*K[2]-he[2]*K[0],be=he[0]*K[3]-he[3]*K[0],De=he[1]*K[2]-he[2]*K[1],Ue=he[1]*K[3]-he[3]*K[1],Me=he[2]*K[3]-he[3]*K[2],Fe=D[0],Ye=D[1],Ge=D[2],Xe=D[3];return w[0]=Ye*Me-Ge*Ue+Xe*De,w[1]=-Fe*Me+Ge*be-Xe*ge,w[2]=Fe*Ue-Ye*be+Xe*oe,w[3]=-Fe*De+Ye*ge-Ge*oe,w}function ci(w,D,he,K){var oe=D[0],ge=D[1],be=D[2],De=D[3];return w[0]=oe+K*(he[0]-oe),w[1]=ge+K*(he[1]-ge),w[2]=be+K*(he[2]-be),w[3]=De+K*(he[3]-De),w}function li(w,D){var he,K,oe,ge,be,De;D=D||1;do be=(he=2*x.c()-1)*he+(K=2*x.c()-1)*K;while(be>=1);do De=(oe=2*x.c()-1)*oe+(ge=2*x.c()-1)*ge;while(De>=1);var Ue=Math.sqrt((1-be)/De);return w[0]=D*he,w[1]=D*K,w[2]=D*oe*Ue,w[3]=D*ge*Ue,w}function ao(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=D[3];return w[0]=he[0]*K+he[4]*oe+he[8]*ge+he[12]*be,w[1]=he[1]*K+he[5]*oe+he[9]*ge+he[13]*be,w[2]=he[2]*K+he[6]*oe+he[10]*ge+he[14]*be,w[3]=he[3]*K+he[7]*oe+he[11]*ge+he[15]*be,w}function Zi(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=he[0],De=he[1],Ue=he[2],Me=he[3],Fe=Me*K+De*ge-Ue*oe,Ye=Me*oe+Ue*K-be*ge,Ge=Me*ge+be*oe-De*K,Xe=-be*K-De*oe-Ue*ge;return w[0]=Fe*Me+Xe*-be+Ye*-Ue-Ge*-De,w[1]=Ye*Me+Xe*-De+Ge*-be-Fe*-Ue,w[2]=Ge*Me+Xe*-Ue+Fe*-De-Ye*-be,w[3]=D[3],w}function $i(w){return w[0]=0,w[1]=0,w[2]=0,w[3]=0,w}function vo(w){return"vec4("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+")"}function nr(w,D){return w[0]===D[0]&&w[1]===D[1]&&w[2]===D[2]&&w[3]===D[3]}function We(w,D){var he=w[0],K=w[1],oe=w[2],ge=w[3],be=D[0],De=D[1],Ue=D[2],Me=D[3];return Math.abs(he-be)<=x.b*Math.max(1,Math.abs(he),Math.abs(be))&&Math.abs(K-De)<=x.b*Math.max(1,Math.abs(K),Math.abs(De))&&Math.abs(oe-Ue)<=x.b*Math.max(1,Math.abs(oe),Math.abs(Ue))&&Math.abs(ge-Me)<=x.b*Math.max(1,Math.abs(ge),Math.abs(Me))}var Ne,He=Oi,ft=ni,At=Bn,Ht=oi,vr=di,Be=_i,ut=Xn,bt=(Ne=ln(),function(w,D,he,K,oe,ge){var be,De;for(D||(D=4),he||(he=0),De=K?Math.min(K*D+he,w.length):w.length,be=he;bex.b?(w[0]=D[0]/K,w[1]=D[1]/K,w[2]=D[2]/K):(w[0]=1,w[1]=0,w[2]=0),he}function lt(w,D){var he=Gn(w,D);return Math.acos(2*he*he-1)}function vt(w,D,he){var K=D[0],oe=D[1],ge=D[2],be=D[3],De=he[0],Ue=he[1],Me=he[2],Fe=he[3];return w[0]=K*Fe+be*De+oe*Me-ge*Ue,w[1]=oe*Fe+be*Ue+ge*De-K*Me,w[2]=ge*Fe+be*Me+K*Ue-oe*De,w[3]=be*Fe-K*De-oe*Ue-ge*Me,w}function wt(w,D,he){he*=.5;var K=D[0],oe=D[1],ge=D[2],be=D[3],De=Math.sin(he),Ue=Math.cos(he);return w[0]=K*Ue+be*De,w[1]=oe*Ue+ge*De,w[2]=ge*Ue-oe*De,w[3]=be*Ue-K*De,w}function Lt(w,D,he){he*=.5;var K=D[0],oe=D[1],ge=D[2],be=D[3],De=Math.sin(he),Ue=Math.cos(he);return w[0]=K*Ue-ge*De,w[1]=oe*Ue+be*De,w[2]=ge*Ue+K*De,w[3]=be*Ue-oe*De,w}function Wt(w,D,he){he*=.5;var K=D[0],oe=D[1],ge=D[2],be=D[3],De=Math.sin(he),Ue=Math.cos(he);return w[0]=K*Ue+oe*De,w[1]=oe*Ue-K*De,w[2]=ge*Ue+be*De,w[3]=be*Ue-ge*De,w}function er(w,D){var he=D[0],K=D[1],oe=D[2];return w[0]=he,w[1]=K,w[2]=oe,w[3]=Math.sqrt(Math.abs(1-he*he-K*K-oe*oe)),w}function tr(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=Math.sqrt(he*he+K*K+oe*oe),De=Math.exp(ge),Ue=be>0?De*Math.sin(be)/be:0;return w[0]=he*Ue,w[1]=K*Ue,w[2]=oe*Ue,w[3]=De*Math.cos(be),w}function ar(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=Math.sqrt(he*he+K*K+oe*oe),De=be>0?Math.atan2(be,ge)/be:0;return w[0]=he*De,w[1]=K*De,w[2]=oe*De,w[3]=.5*Math.log(he*he+K*K+oe*oe+ge*ge),w}function pr(w,D,he){return ar(w,D),Ai(w,w,he),tr(w,w),w}function Ur(w,D,he,K){var oe,ge,be,De,Ue,Me=D[0],Fe=D[1],Ye=D[2],Ge=D[3],Xe=he[0],Je=he[1],tt=he[2],Ve=he[3];return(ge=Me*Xe+Fe*Je+Ye*tt+Ge*Ve)<0&&(ge=-ge,Xe=-Xe,Je=-Je,tt=-tt,Ve=-Ve),1-ge>x.b?(oe=Math.acos(ge),be=Math.sin(oe),De=Math.sin((1-K)*oe)/be,Ue=Math.sin(K*oe)/be):(De=1-K,Ue=K),w[0]=De*Me+Ue*Xe,w[1]=De*Fe+Ue*Je,w[2]=De*Ye+Ue*tt,w[3]=De*Ge+Ue*Ve,w}function Gr(w){var D=x.c(),he=x.c(),K=x.c(),oe=Math.sqrt(1-D),ge=Math.sqrt(D);return w[0]=oe*Math.sin(2*Math.PI*he),w[1]=oe*Math.cos(2*Math.PI*he),w[2]=ge*Math.sin(2*Math.PI*K),w[3]=ge*Math.cos(2*Math.PI*K),w}function $r(w,D){var he=D[0],K=D[1],oe=D[2],ge=D[3],be=he*he+K*K+oe*oe+ge*ge,De=be?1/be:0;return w[0]=-he*De,w[1]=-K*De,w[2]=-oe*De,w[3]=ge*De,w}function Kr(w,D){return w[0]=-D[0],w[1]=-D[1],w[2]=-D[2],w[3]=D[3],w}function jn(w,D){var he,K=D[0]+D[4]+D[8];if(K>0)he=Math.sqrt(K+1),w[3]=.5*he,he=.5/he,w[0]=(D[5]-D[7])*he,w[1]=(D[6]-D[2])*he,w[2]=(D[1]-D[3])*he;else{var oe=0;D[4]>D[0]&&(oe=1),D[8]>D[3*oe+oe]&&(oe=2);var ge=(oe+1)%3,be=(oe+2)%3;he=Math.sqrt(D[3*oe+oe]-D[3*ge+ge]-D[3*be+be]+1),w[oe]=.5*he,he=.5/he,w[3]=(D[3*ge+be]-D[3*be+ge])*he,w[ge]=(D[3*ge+oe]+D[3*oe+ge])*he,w[be]=(D[3*be+oe]+D[3*oe+be])*he}return w}function Cn(w,D,he,K){var oe=.5*Math.PI/180;D*=oe,he*=oe,K*=oe;var ge=Math.sin(D),be=Math.cos(D),De=Math.sin(he),Ue=Math.cos(he),Me=Math.sin(K),Fe=Math.cos(K);return w[0]=ge*Ue*Fe-be*De*Me,w[1]=be*De*Fe+ge*Ue*Me,w[2]=be*Ue*Me-ge*De*Fe,w[3]=be*Ue*Fe+ge*De*Me,w}function qn(w){return"quat("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+")"}var Qr,Mn,ai,Sn,si,Jr,ko=yn,Fi=mn,Qi=Qn,nn=Un,pi=ri,Ji=vt,Ai=hi,Gn=Hn,zi=ci,Di=_i,fi=Di,Ui=Xn,Ci=Ui,eo=Gi,so=nr,Vi=We,Ti=(Qr=Er.create(),Mn=Er.fromValues(1,0,0),ai=Er.fromValues(0,1,0),function(w,D,he){var K=Er.dot(D,he);return K<-.999999?(Er.cross(Qr,Mn,D),Er.len(Qr)<1e-6&&Er.cross(Qr,ai,D),Er.normalize(Qr,Qr),ze(w,Qr,Math.PI),w):K>.999999?(w[0]=0,w[1]=0,w[2]=0,w[3]=1,w):(Er.cross(Qr,D,he),w[0]=Qr[0],w[1]=Qr[1],w[2]=Qr[2],w[3]=1+K,eo(w,w))}),_t=(Sn=Ft(),si=Ft(),function(w,D,he,K,oe,ge){return Ur(Sn,D,oe,ge),Ur(si,he,K,ge),Ur(w,Sn,si,2*ge*(1-ge)),w}),$e=(Jr=O(),function(w,D,he,K){return Jr[0]=he[0],Jr[3]=he[1],Jr[6]=he[2],Jr[1]=K[0],Jr[4]=K[1],Jr[7]=K[2],Jr[2]=-D[0],Jr[5]=-D[1],Jr[8]=-D[2],eo(w,jn(w,Jr))}),St=o(79)},function(R,b,o){"use strict";o.d(b,"AST_TOKEN_TYPES",function(){return h}),o.d(b,"STORAGE_CLASS",function(){return E}),o.d(b,"Target",function(){return m}),o.d(b,"DefineValuePlaceholder",function(){return A}),o(228),o(25),o(132),o(134),o(119),o(120),o(121),o(122),o(123),o(124),o(68),o(126),o(127),o(128),o(129);var f=o(118);o.d(b,"createEntity",function(){return f.b});var c=o(13);o.d(b,"IDENTIFIER",function(){return c.a});var M=o(91);o.d(b,"createWorldContainer",function(){return M.a});var _=o(237);o.d(b,"generateAABBFromVertices",function(){return _.a});var x=o(238);o.d(b,"isSafari",function(){return x.a}),o(267);var O=o(268);o.d(b,"AABB",function(){return O.a}),o.d(b,"Frustum",function(){return O.b});var S=o(114);o.o(S,"gl")&&o.d(b,"gl",function(){return S.gl});var g=o(250);o.o(g,"gl")&&o.d(b,"gl",function(){return g.gl});var h,y,E,m,p=o(251);o.o(p,"gl")&&o.d(b,"gl",function(){return p.gl}),o.o(S,"gl")&&o.d(b,"gl",function(){return S.gl}),function(C){C.Void="Void",C.Boolean="Boolean",C.Float="Float",C.Uint32="Uint32",C.Int32="Int32",C.Vector="Vector",C.Vector2Float="vec2",C.Vector3Float="vec3",C.Vector4Float="vec4",C.Vector2Boolean="vec2",C.Vector3Boolean="vec3",C.Vector4Boolean="vec4",C.Vector2Uint="vec2",C.Vector3Uint="vec3",C.Vector4Uint="vec4",C.Vector2Int="vec2",C.Vector3Int="vec3",C.Vector4Int="vec4",C.Matrix="Matrix",C.Matrix3x3Float="mat3x3",C.Matrix4x4Float="mat4x4",C.Struct="Struct",C.FloatArray="Float[]",C.Vector4FloatArray="vec4[]"}(h||(h={})),function(C){C.Program="Program",C.Identifier="Identifier",C.VariableDeclaration="VariableDeclaration",C.BlockStatement="BlockStatement",C.ReturnStatement="ReturnStatement",C.FunctionDeclaration="FunctionDeclaration",C.VariableDeclarator="VariableDeclarator",C.AssignmentExpression="AssignmentExpression",C.LogicalExpression="LogicalExpression",C.BinaryExpression="BinaryExpression",C.ArrayExpression="ArrayExpression",C.UnaryExpression="UnaryExpression",C.UpdateExpression="UpdateExpression",C.FunctionExpression="FunctionExpression",C.MemberExpression="MemberExpression",C.ConditionalExpression="ConditionalExpression",C.ExpressionStatement="ExpressionStatement",C.CallExpression="CallExpression",C.NumThreadStatement="NumThreadStatement",C.StorageStatement="StorageStatement",C.DoWhileStatement="DoWhileStatement",C.WhileStatement="WhileStatement",C.ForStatement="ForStatement",C.BreakStatement="BreakStatement",C.ContinueStatement="ContinueStatement",C.IfStatement="IfStatement",C.ImportedFunctionStatement="ImportedFunctionStatement"}(y||(y={})),function(C){C.Input="Input",C.Output="Output",C.Uniform="Uniform",C.Workgroup="Workgroup",C.UniformConstant="UniformConstant",C.Image="Image",C.StorageBuffer="StorageBuffer",C.Private="Private",C.Function="Function"}(E||(E={})),function(C){C.GLSL100="GLSL100",C.GLSL450="GLSL450",C.WGSL="WGSL"}(m||(m={}));var A="__DefineValuePlaceholder__"},function(R,b){R.exports=function(o,f,c){return f in o?Object.defineProperty(o,f,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[f]=c,o},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.multiBindToService=b.getServiceIdentifierAsString=b.typeConstraint=b.namedConstraint=b.taggedConstraint=b.traverseAncerstors=b.decorate=b.id=b.MetadataReader=b.postConstruct=b.targetName=b.multiInject=b.unmanaged=b.optional=b.LazyServiceIdentifer=b.inject=b.named=b.tagged=b.injectable=b.ContainerModule=b.AsyncContainerModule=b.TargetTypeEnum=b.BindingTypeEnum=b.BindingScopeEnum=b.Container=b.METADATA_KEY=void 0;var f=o(32);b.METADATA_KEY=f;var c=o(485);Object.defineProperty(b,"Container",{enumerable:!0,get:function(){return c.Container}});var M=o(54);Object.defineProperty(b,"BindingScopeEnum",{enumerable:!0,get:function(){return M.BindingScopeEnum}}),Object.defineProperty(b,"BindingTypeEnum",{enumerable:!0,get:function(){return M.BindingTypeEnum}}),Object.defineProperty(b,"TargetTypeEnum",{enumerable:!0,get:function(){return M.TargetTypeEnum}});var _=o(501);Object.defineProperty(b,"AsyncContainerModule",{enumerable:!0,get:function(){return _.AsyncContainerModule}}),Object.defineProperty(b,"ContainerModule",{enumerable:!0,get:function(){return _.ContainerModule}});var x=o(502);Object.defineProperty(b,"injectable",{enumerable:!0,get:function(){return x.injectable}});var O=o(503);Object.defineProperty(b,"tagged",{enumerable:!0,get:function(){return O.tagged}});var S=o(504);Object.defineProperty(b,"named",{enumerable:!0,get:function(){return S.named}});var g=o(233);Object.defineProperty(b,"inject",{enumerable:!0,get:function(){return g.inject}}),Object.defineProperty(b,"LazyServiceIdentifer",{enumerable:!0,get:function(){return g.LazyServiceIdentifer}});var h=o(505);Object.defineProperty(b,"optional",{enumerable:!0,get:function(){return h.optional}});var y=o(506);Object.defineProperty(b,"unmanaged",{enumerable:!0,get:function(){return y.unmanaged}});var E=o(507);Object.defineProperty(b,"multiInject",{enumerable:!0,get:function(){return E.multiInject}});var m=o(508);Object.defineProperty(b,"targetName",{enumerable:!0,get:function(){return m.targetName}});var p=o(509);Object.defineProperty(b,"postConstruct",{enumerable:!0,get:function(){return p.postConstruct}});var A=o(231);Object.defineProperty(b,"MetadataReader",{enumerable:!0,get:function(){return A.MetadataReader}});var C=o(66);Object.defineProperty(b,"id",{enumerable:!0,get:function(){return C.id}});var N=o(58);Object.defineProperty(b,"decorate",{enumerable:!0,get:function(){return N.decorate}});var P=o(236);Object.defineProperty(b,"traverseAncerstors",{enumerable:!0,get:function(){return P.traverseAncerstors}}),Object.defineProperty(b,"taggedConstraint",{enumerable:!0,get:function(){return P.taggedConstraint}}),Object.defineProperty(b,"namedConstraint",{enumerable:!0,get:function(){return P.namedConstraint}}),Object.defineProperty(b,"typeConstraint",{enumerable:!0,get:function(){return P.typeConstraint}});var L=o(90);Object.defineProperty(b,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return L.getServiceIdentifierAsString}});var z=o(510);Object.defineProperty(b,"multiBindToService",{enumerable:!0,get:function(){return z.multiBindToService}})},function(R,b){R.exports=function(o,f){if(!(o instanceof f))throw new TypeError("Cannot call a class as a function")},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){function o(f,c){for(var M=0;M"),Renderable:Symbol("Factory"),MeshSystem:Symbol("MeshSystem"),MeshComponentManager:Symbol("MeshComponentManager"),CullableComponentManager:Symbol("CullableComponentManager"),Geometry:Symbol("Geometry"),GeometrySystem:Symbol("GeometrySystem"),GeometryComponentManager:Symbol("GeometryComponentManager"),Material:Symbol("Material"),MaterialSystem:Symbol("MaterialSystem"),MaterialComponentManager:Symbol("MaterialComponentManager"),ForwardRenderPath:Symbol("ForwardRenderPath"),ComputeSystem:Symbol("ComputeSystem"),ComputeComponentManager:Symbol("ComputeComponentManager"),ComputeStrategy:Symbol("ComputeStrategy"),Systems:Symbol("Systems"),World:Symbol("World"),RenderEngine:Symbol("RenderEngine"),WebGPUEngine:Symbol("WebGPUEngine"),WebGLEngine:Symbol("WebGLEngine"),ShaderModuleService:Symbol("ShaderModuleService"),ConfigService:Symbol("ConfigService"),InteractorService:Symbol("InteractorService"),IEventEmitter:Symbol("IEventEmitter"),Light:Symbol("Light")}},function(R,b){function o(f,c,M,_,x,O,S){try{var g=f[O](S),h=g.value}catch(y){return void M(y)}g.done?c(h):Promise.resolve(h).then(_,x)}R.exports=function(f){return function(){var c=this,M=arguments;return new Promise(function(_,x){var O=f.apply(c,M);function S(h){o(O,_,x,S,g,"next",h)}function g(h){o(O,_,x,S,g,"throw",h)}S(void 0)})}},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";o.d(b,"d",function(){return c}),o.d(b,"b",function(){return M}),o.d(b,"e",function(){return _}),o.d(b,"f",function(){return x}),o.d(b,"l",function(){return O}),o.d(b,"j",function(){return S});var f=o(0);function c(){return window?window.devicePixelRatio:1}function M(g,h,y,E){var m=g-y,p=h-E;return Math.sqrt(m*m+p*p)}function _(g,h,y,E,m,p){return m>=g&&m<=g+y&&p>=h&&p<=h+E}function x(g,h){return!(h.minX>g.maxX||h.maxXg.maxY||h.maxY=0;return m?A?2*Math.PI-p:p:A?p:2*Math.PI-p}function h(y,E,m){return m?(y[0]=E[1],y[1]=-1*E[0]):(y[0]=-1*E[1],y[1]=E[0]),y}},function(R,b){function o(f){return R.exports=o=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},R.exports.default=R.exports,R.exports.__esModule=!0,o(f)}R.exports=o,R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";o.d(b,"j",function(){return c}),o.d(b,"c",function(){return M}),o.d(b,"g",function(){return _}),o.d(b,"b",function(){return x});var f=o(0);function c(O,S){var g=O.indexOf(S);g!==-1&&O.splice(g,1)}o.d(b,"e",function(){return f.isNil}),o.d(b,"d",function(){return f.isFunction}),o.d(b,"h",function(){return f.isString}),o.d(b,"f",function(){return f.isObject}),o.d(b,"i",function(){return f.mix}),o.d(b,"a",function(){return f.each}),o.d(b,"k",function(){return f.upperFirst});var M=typeof window!="undefined"&&window.document!==void 0;function _(O,S){if(O.isCanvas())return!0;for(var g=S.getParent(),h=!1;g;){if(g===O){h=!0;break}g=g.getParent()}return h}function x(O){return O.cfg.visible&&O.cfg.capture}},function(R,b,o){"use strict";o.d(b,"e",function(){return N}),o.d(b,"b",function(){return ue}),o.d(b,"a",function(){return ne}),o.d(b,"c",function(){return y}),o.d(b,"d",function(){return se}),o.d(b,"f",function(){return f});var f={};function c(ee){return Math.min.apply(null,ee)}function M(ee){return Math.max.apply(null,ee)}function _(ee,J,Y,q){var G=ee-Y,re=J-q;return Math.sqrt(G*G+re*re)}function x(ee,J){return Math.abs(ee-J)<.001}function O(ee,J){var Y=c(ee),q=c(J);return{x:Y,y:q,width:M(ee)-Y,height:M(J)-q}}function S(ee,J,Y,q){return{minX:c([ee,Y]),maxX:M([ee,Y]),minY:c([J,q]),maxY:M([J,q])}}function g(ee){return(ee+2*Math.PI)%(2*Math.PI)}o.r(f),o.d(f,"distance",function(){return _}),o.d(f,"isNumberEqual",function(){return x}),o.d(f,"getBBoxByArray",function(){return O}),o.d(f,"getBBoxRange",function(){return S}),o.d(f,"piMod",function(){return g});var h=o(79),y={box:function(ee,J,Y,q){return O([ee,Y],[J,q])},length:function(ee,J,Y,q){return _(ee,J,Y,q)},pointAt:function(ee,J,Y,q,G){return{x:(1-G)*ee+G*Y,y:(1-G)*J+G*q}},pointDistance:function(ee,J,Y,q,G,re){var fe=(Y-ee)*(G-ee)+(q-J)*(re-J);return fe<0?_(ee,J,G,re):fe>(Y-ee)*(Y-ee)+(q-J)*(q-J)?_(Y,q,G,re):this.pointToLine(ee,J,Y,q,G,re)},pointToLine:function(ee,J,Y,q,G,re){var fe=[Y-ee,q-J];if(h.exactEquals(fe,[0,0]))return Math.sqrt((G-ee)*(G-ee)+(re-J)*(re-J));var ce=[-fe[1],fe[0]];h.normalize(ce,ce);var $=[G-ee,re-J];return Math.abs(h.dot($,ce))},tangentAngle:function(ee,J,Y,q){return Math.atan2(q-J,Y-ee)}};function E(ee,J,Y,q,G,re){var fe,ce=1/0,$=[Y,q],de=20;re&&re>200&&(de=re/10);for(var Se=1/de,Pe=Se/10,ke=0;ke<=de;ke++){var Ce=ke*Se,Re=[G.apply(null,ee.concat([Ce])),G.apply(null,J.concat([Ce]))];(et=_($[0],$[1],Re[0],Re[1]))=0&&et=0?[G]:[]}function A(ee,J,Y,q){return 2*(1-q)*(J-ee)+2*q*(Y-J)}function C(ee,J,Y,q,G,re,fe){var ce=m(ee,Y,G,fe),$=m(J,q,re,fe),de=y.pointAt(ee,J,Y,q,fe),Se=y.pointAt(Y,q,G,re,fe);return[[ee,J,de.x,de.y,ce,$],[ce,$,Se.x,Se.y,G,re]]}var N={box:function(ee,J,Y,q,G,re){var fe=p(ee,Y,G)[0],ce=p(J,q,re)[0],$=[ee,G],de=[J,re];return fe!==void 0&&$.push(m(ee,Y,G,fe)),ce!==void 0&&de.push(m(J,q,re,ce)),O($,de)},length:function(ee,J,Y,q,G,re){return function fe(ce,$,de,Se,Pe,ke,Ce){if(Ce===0)return(_(ce,$,de,Se)+_(de,Se,Pe,ke)+_(ce,$,Pe,ke))/2;var Re=C(ce,$,de,Se,Pe,ke,.5),Oe=Re[0],Le=Re[1];return Oe.push(Ce-1),Le.push(Ce-1),fe.apply(null,Oe)+fe.apply(null,Le)}(ee,J,Y,q,G,re,3)},nearestPoint:function(ee,J,Y,q,G,re,fe,ce){return E([ee,Y,G],[J,q,re],fe,ce,m)},pointDistance:function(ee,J,Y,q,G,re,fe,ce){var $=this.nearestPoint(ee,J,Y,q,G,re,fe,ce);return _($.x,$.y,fe,ce)},interpolationAt:m,pointAt:function(ee,J,Y,q,G,re,fe){return{x:m(ee,Y,G,fe),y:m(J,q,re,fe)}},divide:function(ee,J,Y,q,G,re,fe){return C(ee,J,Y,q,G,re,fe)},tangentAngle:function(ee,J,Y,q,G,re,fe){var ce=A(ee,Y,G,fe),$=A(J,q,re,fe);return g(Math.atan2($,ce))}};function P(ee,J,Y,q,G){var re=1-G;return re*re*re*ee+3*J*G*re*re+3*Y*G*G*re+q*G*G*G}function L(ee,J,Y,q,G){var re=1-G;return 3*(re*re*(J-ee)+2*re*G*(Y-J)+G*G*(q-Y))}function z(ee,J,Y,q){var G,re,fe,ce=-3*ee+9*J-9*Y+3*q,$=6*ee-12*J+6*Y,de=3*J-3*ee,Se=[];if(x(ce,0))x($,0)||(G=-de/$)>=0&&G<=1&&Se.push(G);else{var Pe=$*$-4*ce*de;x(Pe,0)?Se.push(-$/(2*ce)):Pe>0&&(re=(-$-(fe=Math.sqrt(Pe)))/(2*ce),(G=(-$+fe)/(2*ce))>=0&&G<=1&&Se.push(G),re>=0&&re<=1&&Se.push(re))}return Se}function X(ee,J,Y,q,G,re,fe,ce,$){var de=P(ee,Y,G,fe,$),Se=P(J,q,re,ce,$),Pe=y.pointAt(ee,J,Y,q,$),ke=y.pointAt(Y,q,G,re,$),Ce=y.pointAt(G,re,fe,ce,$),Re=y.pointAt(Pe.x,Pe.y,ke.x,ke.y,$),Oe=y.pointAt(ke.x,ke.y,Ce.x,Ce.y,$);return[[ee,J,Pe.x,Pe.y,Re.x,Re.y,de,Se],[de,Se,Oe.x,Oe.y,Ce.x,Ce.y,fe,ce]]}function te(ee,J,Y,q,G,re,fe,ce,$){if($===0)return function(ke,Ce){for(var Re=0,Oe=ke.length,Le=0;Le0?Y:-1*Y}var xe=function(ee,J,Y,q,G,re){var fe=Y,ce=q;if(fe===0||ce===0)return{x:ee,y:J};for(var $,de,Se=G-ee,Pe=re-J,ke=Math.abs(Se),Ce=Math.abs(Pe),Re=fe*fe,Oe=ce*ce,Le=Math.PI/4,Ke=0;Ke<4;Ke++){$=fe*Math.cos(Le),de=ce*Math.sin(Le);var et=(Re-Oe)*Math.pow(Math.cos(Le),3)/fe,ot=(Oe-Re)*Math.pow(Math.sin(Le),3)/ce,dt=$-et,Ct=de-ot,Tt=ke-et,jt=Ce-ot,Kt=Math.hypot(Ct,dt),Qt=Math.hypot(jt,Tt);Le+=Kt*Math.asin((dt*jt-Ct*Tt)/(Kt*Qt))/Math.sqrt(Re+Oe-$*$-de*de),Le=Math.min(Math.PI/2,Math.max(0,Le))}return{x:ee+le($,Se),y:J+le(de,Pe)}};function ye(ee,J,Y,q,G,re){return Y*Math.cos(G)*Math.cos(re)-q*Math.sin(G)*Math.sin(re)+ee}function W(ee,J,Y,q,G,re){return Y*Math.sin(G)*Math.cos(re)+q*Math.cos(G)*Math.sin(re)+J}function Ie(ee,J,Y){return{x:ee*Math.cos(Y),y:J*Math.sin(Y)}}function ie(ee,J,Y){var q=Math.cos(Y),G=Math.sin(Y);return[ee*q-J*G,ee*G+J*q]}var ne={box:function(ee,J,Y,q,G,re,fe){for(var ce=function(dt,Ct,Tt){return Math.atan(-Ct/dt*Math.tan(Tt))}(Y,q,G),$=1/0,de=-1/0,Se=[re,fe],Pe=2*-Math.PI;Pe<=2*Math.PI;Pe+=Math.PI){var ke=ce+Pe;rede&&(de=Ce)}var Re=function(dt,Ct,Tt){return Math.atan(Ct/(dt*Math.tan(Tt)))}(Y,q,G),Oe=1/0,Le=-1/0,Ke=[re,fe];for(Pe=2*-Math.PI;Pe<=2*Math.PI;Pe+=Math.PI){var et=Re+Pe;reLe&&(Le=ot)}return{x:$,y:Oe,width:de-$,height:Le-Oe}},length:function(ee,J,Y,q,G,re,fe){},nearestPoint:function(ee,J,Y,q,G,re,fe,ce,$){var de=ie(ce-ee,$-J,-G),Se=de[0],Pe=de[1],ke=xe(0,0,Y,q,Se,Pe),Ce=function(Oe,Le,Ke,et){return(Math.atan2(et*Oe,Ke*Le)+2*Math.PI)%(2*Math.PI)}(Y,q,ke.x,ke.y);Cefe&&(ke=Ie(Y,q,fe));var Re=ie(ke.x,ke.y,G);return{x:Re[0]+ee,y:Re[1]+J}},pointDistance:function(ee,J,Y,q,G,re,fe,ce,$){var de=this.nearestPoint(ee,J,Y,q,ce,$);return _(de.x,de.y,ce,$)},pointAt:function(ee,J,Y,q,G,re,fe,ce){var $=(fe-re)*ce+re;return{x:ye(ee,0,Y,q,G,$),y:W(0,J,Y,q,G,$)}},tangentAngle:function(ee,J,Y,q,G,re,fe,ce){var $=(fe-re)*ce+re,de=function(Pe,ke,Ce,Re,Oe,Le,Ke,et){return-1*Ce*Math.cos(Oe)*Math.sin(et)-Re*Math.sin(Oe)*Math.cos(et)}(0,0,Y,q,G,0,0,$),Se=function(Pe,ke,Ce,Re,Oe,Le,Ke,et){return-1*Ce*Math.sin(Oe)*Math.sin(et)+Re*Math.cos(Oe)*Math.cos(et)}(0,0,Y,q,G,0,0,$);return g(Math.atan2(Se,de))}};function Z(ee){for(var J=0,Y=[],q=0;q1||J<0||ee.length<2)return null;var Y=Z(ee),q=Y.segments,G=Y.totalLength;if(G===0)return{x:ee[0][0],y:ee[0][1]};for(var re=0,fe=null,ce=0;ce=re&&J<=re+Pe){var ke=(J-re)/Pe;fe=y.pointAt(de[0],de[1],Se[0],Se[1],ke);break}re+=Pe}return fe}function we(ee,J){if(J>1||J<0||ee.length<2)return 0;for(var Y=Z(ee),q=Y.segments,G=Y.totalLength,re=0,fe=0,ce=0;ce=re&&J<=re+Pe){fe=Math.atan2(Se[1]-de[1],Se[0]-de[0]);break}re+=Pe}return fe}function Ae(ee,J,Y){for(var q=1/0,G=0;G-1}},{key:"create",value:function(A,C){this.lookup[A]=this.components.length;var N=new this.clazz(C||{});return this.components.push(N),this.entities.push(A),N}},{key:"remove",value:function(A){var C=this.lookup[A];C>-1&&C-1){var N=this.entities[C];if(C-1?this.components[C]:null}},{key:"getCount",value:function(){return this.components.length}},{key:"getEntityByComponentIndex",value:function(A){for(var C=0,N=Object.keys(this.lookup);Cg)h.insertBefore(S,E);else if(mJ?ee:J,ce=ee>J?1:ee/J,$=ee>J?J/ee:1;L.translate(Ae,se),L.rotate(G),L.scale(ce,$),L.arc(0,0,fe,Y,q,1-re),L.scale(1/ce,1/$),L.rotate(-G),L.translate(-Ae,-se)}break;case"Z":L.closePath()}if(ne==="Z")xe=ye;else{var de=ie.length;xe=[ie[de-2],ie[de-1]]}}}}function A(P,L){var z=P.get("canvas");z&&(L==="remove"&&(P._cacheCanvasBBox=P.get("cacheCanvasBBox")),P.get("hasChanged")||(P.set("hasChanged",!0),P.cfg.parent&&P.cfg.parent.get("hasChanged")||(z.refreshElement(P,L,z),z.get("autoDraw")&&z.draw())))}function C(P){if(!P.length)return null;var L=[],z=[],X=[],te=[];return Object(f.each)(P,function(ue){var le=function(xe){var ye;if(xe.destroyed)ye=xe._cacheCanvasBBox;else{var W=xe.get("cacheCanvasBBox"),Ie=W&&!(!W.width||!W.height),ie=xe.getCanvasBBox(),ne=ie&&!(!ie.width||!ie.height);Ie&&ne?ye=Object(_.l)(W,ie):Ie?ye=W:ne&&(ye=ie)}return ye}(ue);le&&(L.push(le.minX),z.push(le.minY),X.push(le.maxX),te.push(le.maxY))}),{minX:Object(f.min)(L),minY:Object(f.min)(z),maxX:Object(f.max)(X),maxY:Object(f.max)(te)}}function N(P,L){return P&&L&&Object(_.f)(P,L)?{minX:Math.max(P.minX,L.minX),minY:Math.max(P.minY,L.minY),maxX:Math.min(P.maxX,L.maxX),maxY:Math.min(P.maxY,L.maxY)}:null}},function(R,b){var o=Array.isArray;R.exports=o},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.NON_CUSTOM_TAG_KEYS=b.POST_CONSTRUCT=b.DESIGN_PARAM_TYPES=b.PARAM_TYPES=b.TAGGED_PROP=b.TAGGED=b.MULTI_INJECT_TAG=b.INJECT_TAG=b.OPTIONAL_TAG=b.UNMANAGED_TAG=b.NAME_TAG=b.NAMED_TAG=void 0,b.NAMED_TAG="named",b.NAME_TAG="name",b.UNMANAGED_TAG="unmanaged",b.OPTIONAL_TAG="optional",b.INJECT_TAG="inject",b.MULTI_INJECT_TAG="multi_inject",b.TAGGED="inversify:tagged",b.TAGGED_PROP="inversify:tagged_props",b.PARAM_TYPES="inversify:paramtypes",b.DESIGN_PARAM_TYPES="design:paramtypes",b.POST_CONSTRUCT="post_construct",b.NON_CUSTOM_TAG_KEYS=[b.INJECT_TAG,b.MULTI_INJECT_TAG,b.NAME_TAG,b.UNMANAGED_TAG,b.NAMED_TAG,b.OPTIONAL_TAG]},function(R,b,o){"use strict";o.d(b,"c",function(){return y}),o.d(b,"b",function(){return E}),o.d(b,"a",function(){return m});var f=o(1),c=o(55);function M(p){return(M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(p)}var _=Math.sin,x=Math.cos,O=Math.atan2,S=Math.PI;function g(p,A,C,N,P,L,z){var X=A.stroke,te=A.lineWidth,ue=O(N-L,C-P),le=new c.Path({type:"path",canvas:p.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*x(S/6)+","+10*_(S/6)+" L0,0 L"+10*x(S/6)+",-"+10*_(S/6),stroke:X,lineWidth:te}});le.translate(P,L),le.rotateAtPoint(P,L,ue),p.set(z?"startArrowShape":"endArrowShape",le)}function h(p,A,C,N,P,L,z){var X=A.startArrow,te=A.endArrow,ue=A.stroke,le=A.lineWidth,xe=z?X:te,ye=xe.d,W=xe.fill,Ie=xe.stroke,ie=xe.lineWidth,ne=Object(f.__rest)(xe,["d","fill","stroke","lineWidth"]),Z=O(N-L,C-P);ye&&(P-=x(Z)*ye,L-=_(Z)*ye);var V=new c.Path({type:"path",canvas:p.get("canvas"),isArrowShape:!0,attrs:Object(f.__assign)(Object(f.__assign)({},ne),{stroke:Ie||ue,lineWidth:ie||le,fill:W})});V.translate(P,L),V.rotateAtPoint(P,L,Z),p.set(z?"startArrowShape":"endArrowShape",V)}function y(p,A,C,N,P){var L=O(N-A,C-p);return{dx:x(L)*P,dy:_(L)*P}}function E(p,A,C,N,P,L){M(A.startArrow)==="object"?h(p,A,C,N,P,L,!0):A.startArrow?g(p,A,C,N,P,L,!0):p.set("startArrowShape",null)}function m(p,A,C,N,P,L){M(A.endArrow)==="object"?h(p,A,C,N,P,L,!1):A.endArrow?g(p,A,C,N,P,L,!1):p.set("startArrowShape",null)}},function(R,b,o){"use strict";o.d(b,"b",function(){return c}),o.d(b,"c",function(){return M}),o.d(b,"a",function(){return _});var f=o(26);function c(x,O){var S=x.cfg.el,g=x.attr(),h={dx:g.shadowOffsetX,dy:g.shadowOffsetY,blur:g.shadowBlur,color:g.shadowColor};if(h.dx||h.dy||h.blur||h.color){var y=O.find("filter",h);y||(y=O.addShadow(h)),S.setAttribute("filter","url(#"+y+")")}else S.removeAttribute("filter")}function M(x){var O=x.attr().matrix;if(O){for(var S=x.cfg.el,g=[],h=0;h<9;h+=3)g.push(O[h]+","+O[h+1]);(g=g.join(",")).indexOf("NaN")===-1?S.setAttribute("transform","matrix("+g+")"):console.warn("invalid matrix:",O)}}function _(x,O){var S=x.getClip(),g=x.get("el");if(S){if(S&&!g.hasAttribute("clip-path")){Object(f.a)(S),S.createPath(O);var h=O.addClip(S);g.setAttribute("clip-path","url(#"+h+")")}}else g.removeAttribute("clip-path")}},function(R,b,o){"use strict";var f;o.d(b,"a",function(){return f}),function(c){c[c.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",c[c.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",c[c.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",c[c.POINTS=0]="POINTS",c[c.LINES=1]="LINES",c[c.LINE_LOOP=2]="LINE_LOOP",c[c.LINE_STRIP=3]="LINE_STRIP",c[c.TRIANGLES=4]="TRIANGLES",c[c.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",c[c.TRIANGLE_FAN=6]="TRIANGLE_FAN",c[c.ZERO=0]="ZERO",c[c.ONE=1]="ONE",c[c.SRC_COLOR=768]="SRC_COLOR",c[c.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",c[c.SRC_ALPHA=770]="SRC_ALPHA",c[c.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",c[c.DST_ALPHA=772]="DST_ALPHA",c[c.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",c[c.DST_COLOR=774]="DST_COLOR",c[c.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",c[c.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",c[c.FUNC_ADD=32774]="FUNC_ADD",c[c.BLEND_EQUATION=32777]="BLEND_EQUATION",c[c.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",c[c.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",c[c.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",c[c.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",c[c.MAX_EXT=32776]="MAX_EXT",c[c.MIN_EXT=32775]="MIN_EXT",c[c.BLEND_DST_RGB=32968]="BLEND_DST_RGB",c[c.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",c[c.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",c[c.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",c[c.CONSTANT_COLOR=32769]="CONSTANT_COLOR",c[c.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",c[c.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",c[c.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",c[c.BLEND_COLOR=32773]="BLEND_COLOR",c[c.ARRAY_BUFFER=34962]="ARRAY_BUFFER",c[c.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",c[c.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",c[c.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",c[c.STREAM_DRAW=35040]="STREAM_DRAW",c[c.STATIC_DRAW=35044]="STATIC_DRAW",c[c.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",c[c.BUFFER_SIZE=34660]="BUFFER_SIZE",c[c.BUFFER_USAGE=34661]="BUFFER_USAGE",c[c.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",c[c.FRONT=1028]="FRONT",c[c.BACK=1029]="BACK",c[c.FRONT_AND_BACK=1032]="FRONT_AND_BACK",c[c.CULL_FACE=2884]="CULL_FACE",c[c.BLEND=3042]="BLEND",c[c.DITHER=3024]="DITHER",c[c.STENCIL_TEST=2960]="STENCIL_TEST",c[c.DEPTH_TEST=2929]="DEPTH_TEST",c[c.SCISSOR_TEST=3089]="SCISSOR_TEST",c[c.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",c[c.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",c[c.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",c[c.NO_ERROR=0]="NO_ERROR",c[c.INVALID_ENUM=1280]="INVALID_ENUM",c[c.INVALID_VALUE=1281]="INVALID_VALUE",c[c.INVALID_OPERATION=1282]="INVALID_OPERATION",c[c.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",c[c.CW=2304]="CW",c[c.CCW=2305]="CCW",c[c.LINE_WIDTH=2849]="LINE_WIDTH",c[c.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",c[c.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",c[c.CULL_FACE_MODE=2885]="CULL_FACE_MODE",c[c.FRONT_FACE=2886]="FRONT_FACE",c[c.DEPTH_RANGE=2928]="DEPTH_RANGE",c[c.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",c[c.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",c[c.DEPTH_FUNC=2932]="DEPTH_FUNC",c[c.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",c[c.STENCIL_FUNC=2962]="STENCIL_FUNC",c[c.STENCIL_FAIL=2964]="STENCIL_FAIL",c[c.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",c[c.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",c[c.STENCIL_REF=2967]="STENCIL_REF",c[c.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",c[c.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",c[c.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",c[c.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",c[c.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",c[c.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",c[c.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",c[c.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",c[c.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",c[c.VIEWPORT=2978]="VIEWPORT",c[c.SCISSOR_BOX=3088]="SCISSOR_BOX",c[c.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",c[c.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",c[c.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",c[c.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",c[c.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",c[c.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",c[c.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",c[c.RED_BITS=3410]="RED_BITS",c[c.GREEN_BITS=3411]="GREEN_BITS",c[c.BLUE_BITS=3412]="BLUE_BITS",c[c.ALPHA_BITS=3413]="ALPHA_BITS",c[c.DEPTH_BITS=3414]="DEPTH_BITS",c[c.STENCIL_BITS=3415]="STENCIL_BITS",c[c.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",c[c.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",c[c.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",c[c.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",c[c.SAMPLES=32937]="SAMPLES",c[c.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",c[c.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",c[c.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",c[c.DONT_CARE=4352]="DONT_CARE",c[c.FASTEST=4353]="FASTEST",c[c.NICEST=4354]="NICEST",c[c.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",c[c.BYTE=5120]="BYTE",c[c.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",c[c.SHORT=5122]="SHORT",c[c.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",c[c.INT=5124]="INT",c[c.UNSIGNED_INT=5125]="UNSIGNED_INT",c[c.FLOAT=5126]="FLOAT",c[c.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",c[c.ALPHA=6406]="ALPHA",c[c.RGB=6407]="RGB",c[c.RGBA=6408]="RGBA",c[c.LUMINANCE=6409]="LUMINANCE",c[c.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",c[c.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",c[c.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",c[c.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",c[c.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",c[c.VERTEX_SHADER=35633]="VERTEX_SHADER",c[c.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",c[c.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",c[c.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",c[c.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",c[c.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",c[c.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",c[c.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",c[c.SHADER_TYPE=35663]="SHADER_TYPE",c[c.DELETE_STATUS=35712]="DELETE_STATUS",c[c.LINK_STATUS=35714]="LINK_STATUS",c[c.VALIDATE_STATUS=35715]="VALIDATE_STATUS",c[c.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",c[c.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",c[c.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",c[c.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",c[c.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",c[c.NEVER=512]="NEVER",c[c.LESS=513]="LESS",c[c.EQUAL=514]="EQUAL",c[c.LEQUAL=515]="LEQUAL",c[c.GREATER=516]="GREATER",c[c.NOTEQUAL=517]="NOTEQUAL",c[c.GEQUAL=518]="GEQUAL",c[c.ALWAYS=519]="ALWAYS",c[c.KEEP=7680]="KEEP",c[c.REPLACE=7681]="REPLACE",c[c.INCR=7682]="INCR",c[c.DECR=7683]="DECR",c[c.INVERT=5386]="INVERT",c[c.INCR_WRAP=34055]="INCR_WRAP",c[c.DECR_WRAP=34056]="DECR_WRAP",c[c.VENDOR=7936]="VENDOR",c[c.RENDERER=7937]="RENDERER",c[c.VERSION=7938]="VERSION",c[c.NEAREST=9728]="NEAREST",c[c.LINEAR=9729]="LINEAR",c[c.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",c[c.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",c[c.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",c[c.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",c[c.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",c[c.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",c[c.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",c[c.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",c[c.TEXTURE_2D=3553]="TEXTURE_2D",c[c.TEXTURE=5890]="TEXTURE",c[c.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",c[c.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",c[c.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",c[c.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",c[c.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",c[c.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",c[c.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",c[c.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",c[c.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",c[c.TEXTURE0=33984]="TEXTURE0",c[c.TEXTURE1=33985]="TEXTURE1",c[c.TEXTURE2=33986]="TEXTURE2",c[c.TEXTURE3=33987]="TEXTURE3",c[c.TEXTURE4=33988]="TEXTURE4",c[c.TEXTURE5=33989]="TEXTURE5",c[c.TEXTURE6=33990]="TEXTURE6",c[c.TEXTURE7=33991]="TEXTURE7",c[c.TEXTURE8=33992]="TEXTURE8",c[c.TEXTURE9=33993]="TEXTURE9",c[c.TEXTURE10=33994]="TEXTURE10",c[c.TEXTURE11=33995]="TEXTURE11",c[c.TEXTURE12=33996]="TEXTURE12",c[c.TEXTURE13=33997]="TEXTURE13",c[c.TEXTURE14=33998]="TEXTURE14",c[c.TEXTURE15=33999]="TEXTURE15",c[c.TEXTURE16=34e3]="TEXTURE16",c[c.TEXTURE17=34001]="TEXTURE17",c[c.TEXTURE18=34002]="TEXTURE18",c[c.TEXTURE19=34003]="TEXTURE19",c[c.TEXTURE20=34004]="TEXTURE20",c[c.TEXTURE21=34005]="TEXTURE21",c[c.TEXTURE22=34006]="TEXTURE22",c[c.TEXTURE23=34007]="TEXTURE23",c[c.TEXTURE24=34008]="TEXTURE24",c[c.TEXTURE25=34009]="TEXTURE25",c[c.TEXTURE26=34010]="TEXTURE26",c[c.TEXTURE27=34011]="TEXTURE27",c[c.TEXTURE28=34012]="TEXTURE28",c[c.TEXTURE29=34013]="TEXTURE29",c[c.TEXTURE30=34014]="TEXTURE30",c[c.TEXTURE31=34015]="TEXTURE31",c[c.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",c[c.REPEAT=10497]="REPEAT",c[c.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",c[c.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",c[c.FLOAT_VEC2=35664]="FLOAT_VEC2",c[c.FLOAT_VEC3=35665]="FLOAT_VEC3",c[c.FLOAT_VEC4=35666]="FLOAT_VEC4",c[c.INT_VEC2=35667]="INT_VEC2",c[c.INT_VEC3=35668]="INT_VEC3",c[c.INT_VEC4=35669]="INT_VEC4",c[c.BOOL=35670]="BOOL",c[c.BOOL_VEC2=35671]="BOOL_VEC2",c[c.BOOL_VEC3=35672]="BOOL_VEC3",c[c.BOOL_VEC4=35673]="BOOL_VEC4",c[c.FLOAT_MAT2=35674]="FLOAT_MAT2",c[c.FLOAT_MAT3=35675]="FLOAT_MAT3",c[c.FLOAT_MAT4=35676]="FLOAT_MAT4",c[c.SAMPLER_2D=35678]="SAMPLER_2D",c[c.SAMPLER_CUBE=35680]="SAMPLER_CUBE",c[c.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",c[c.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",c[c.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",c[c.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",c[c.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",c[c.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",c[c.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",c[c.COMPILE_STATUS=35713]="COMPILE_STATUS",c[c.LOW_FLOAT=36336]="LOW_FLOAT",c[c.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",c[c.HIGH_FLOAT=36338]="HIGH_FLOAT",c[c.LOW_INT=36339]="LOW_INT",c[c.MEDIUM_INT=36340]="MEDIUM_INT",c[c.HIGH_INT=36341]="HIGH_INT",c[c.FRAMEBUFFER=36160]="FRAMEBUFFER",c[c.RENDERBUFFER=36161]="RENDERBUFFER",c[c.RGBA4=32854]="RGBA4",c[c.RGB5_A1=32855]="RGB5_A1",c[c.RGB565=36194]="RGB565",c[c.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",c[c.STENCIL_INDEX=6401]="STENCIL_INDEX",c[c.STENCIL_INDEX8=36168]="STENCIL_INDEX8",c[c.DEPTH_STENCIL=34041]="DEPTH_STENCIL",c[c.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",c[c.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",c[c.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",c[c.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",c[c.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",c[c.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",c[c.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",c[c.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",c[c.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",c[c.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",c[c.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",c[c.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",c[c.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",c[c.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",c[c.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",c[c.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",c[c.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",c[c.NONE=0]="NONE",c[c.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",c[c.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",c[c.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",c[c.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",c[c.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",c[c.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",c[c.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",c[c.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",c[c.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",c[c.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",c[c.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",c[c.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",c[c.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",c[c.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",c[c.COPY_SRC=1]="COPY_SRC",c[c.COPY_DST=2]="COPY_DST",c[c.SAMPLED=4]="SAMPLED",c[c.STORAGE=8]="STORAGE",c[c.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"}(f||(f={}))},function(R,b,o){"use strict";var f=o(28),c=o(46).Graph;function M(x,O,S,g){var h;do h=f.uniqueId(g);while(x.hasNode(h));return S.dummy=O,x.setNode(h,S),h}function _(x){return f.max(f.map(x.nodes(),function(O){var S=x.node(O).rank;if(!f.isUndefined(S))return S}))}R.exports={addDummyNode:M,simplify:function(x){var O=new c().setGraph(x.graph());return f.forEach(x.nodes(),function(S){O.setNode(S,x.node(S))}),f.forEach(x.edges(),function(S){var g=O.edge(S.v,S.w)||{weight:0,minlen:1},h=x.edge(S);O.setEdge(S.v,S.w,{weight:g.weight+h.weight,minlen:Math.max(g.minlen,h.minlen)})}),O},asNonCompoundGraph:function(x){var O=new c({multigraph:x.isMultigraph()}).setGraph(x.graph());return f.forEach(x.nodes(),function(S){x.children(S).length||O.setNode(S,x.node(S))}),f.forEach(x.edges(),function(S){O.setEdge(S,x.edge(S))}),O},successorWeights:function(x){var O=f.map(x.nodes(),function(S){var g={};return f.forEach(x.outEdges(S),function(h){g[h.w]=(g[h.w]||0)+x.edge(h).weight}),g});return f.zipObject(x.nodes(),O)},predecessorWeights:function(x){var O=f.map(x.nodes(),function(S){var g={};return f.forEach(x.inEdges(S),function(h){g[h.v]=(g[h.v]||0)+x.edge(h).weight}),g});return f.zipObject(x.nodes(),O)},intersectRect:function(x,O){var S,g,h=x.x,y=x.y,E=O.x-h,m=O.y-y,p=x.width/2,A=x.height/2;if(!E&&!m)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(m)*p>Math.abs(E)*A?(m<0&&(A=-A),S=A*E/m,g=A):(E<0&&(p=-p),S=p,g=p*m/E),{x:h+S,y:y+g}},buildLayerMatrix:function(x){var O=f.map(f.range(_(x)+1),function(){return[]});return f.forEach(x.nodes(),function(S){var g=x.node(S),h=g.rank;f.isUndefined(h)||(O[h][g.order]=S)}),O},normalizeRanks:function(x){var O=f.min(f.map(x.nodes(),function(S){return x.node(S).rank}));f.forEach(x.nodes(),function(S){var g=x.node(S);f.has(g,"rank")&&(g.rank-=O)})},removeEmptyRanks:function(x){var O=f.min(f.map(x.nodes(),function(y){return x.node(y).rank})),S=[];f.forEach(x.nodes(),function(y){var E=x.node(y).rank-O;S[E]||(S[E]=[]),S[E].push(y)});var g=0,h=x.graph().nodeRankFactor;f.forEach(S,function(y,E){f.isUndefined(y)&&E%h!=0?--g:g&&f.forEach(y,function(m){x.node(m).rank+=g})})},addBorderNode:function(x,O,S,g){var h={width:0,height:0};return arguments.length>=4&&(h.rank=S,h.order=g),M(x,"border",h,O)},maxRank:_,partition:function(x,O){var S={lhs:[],rhs:[]};return f.forEach(x,function(g){O(g)?S.lhs.push(g):S.rhs.push(g)}),S},time:function(x,O){var S=f.now();try{return O()}finally{console.log(x+" time: "+(f.now()-S)+"ms")}},notime:function(x,O){return O()}}},function(R,b,o){"use strict";o.d(b,"a",function(){return x}),o.d(b,"b",function(){return h}),o.d(b,"c",function(){return m}),o.d(b,"d",function(){return z});var f=o(0),c=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,M=/[^\s\,]+/gi,_=function(X){var te=X||[];return Object(f.isArray)(te)?te:Object(f.isString)(te)?(te=te.match(c),Object(f.each)(te,function(ue,le){if((ue=ue.match(M))[0].length>1){var xe=ue[0].charAt(0);ue.splice(1,0,ue[0].substr(1)),ue[0]=xe}Object(f.each)(ue,function(ye,W){isNaN(ye)||(ue[W]=+ye)}),te[le]=ue}),te):void 0};function x(X,te){for(var ue=[],le=0,xe=X.length;xe-2*!te>le;le+=2){var ye=[{x:+X[le-2],y:+X[le-1]},{x:+X[le],y:+X[le+1]},{x:+X[le+2],y:+X[le+3]},{x:+X[le+4],y:+X[le+5]}];te?le?xe-4===le?ye[3]={x:+X[0],y:+X[1]}:xe-2===le&&(ye[2]={x:+X[0],y:+X[1]},ye[3]={x:+X[2],y:+X[3]}):ye[0]={x:+X[xe-2],y:+X[xe-1]}:xe-4===le?ye[3]=ye[2]:le||(ye[0]={x:+X[le],y:+X[le+1]}),ue.push(["C",(-ye[0].x+6*ye[1].x+ye[2].x)/6,(-ye[0].y+6*ye[1].y+ye[2].y)/6,(ye[1].x+6*ye[2].x-ye[3].x)/6,(ye[1].y+6*ye[2].y-ye[3].y)/6,ye[2].x,ye[2].y])}return ue}var O=` -\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,S=new RegExp("([a-z])["+O+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+O+"]*,?["+O+"]*)+)","ig"),g=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+O+"]*,?["+O+"]*","ig");function h(X){if(!X)return null;if(Object(f.isArray)(X))return X;var te={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},ue=[];return String(X).replace(S,function(le,xe,ye){var W=[],Ie=xe.toLowerCase();if(ye.replace(g,function(ie,ne){ne&&W.push(+ne)}),Ie==="m"&&W.length>2&&(ue.push([xe].concat(W.splice(0,2))),Ie="l",xe=xe==="m"?"l":"L"),Ie==="o"&&W.length===1&&ue.push([xe,W[0]]),Ie==="r")ue.push([xe].concat(W));else for(;W.length>=te[Ie]&&(ue.push([xe].concat(W.splice(0,te[Ie]))),te[Ie]););return""}),ue}var y=/[a-z]/;function E(X,te){return[te[0]+(te[0]-X[0]),te[1]+(te[1]-X[1])]}function m(X){var te=h(X);if(!te||!te.length)return[["M",0,0]];for(var ue=!1,le=0;le=0){ue=!0;break}}if(!ue)return te;var ye=[],W=0,Ie=0,ie=0,ne=0,Z=0,V=te[0];V[0]!=="M"&&V[0]!=="m"||(ie=W=+V[1],ne=Ie=+V[2],Z++,ye[0]=["M",W,Ie]),le=Z;for(var ae=te.length;le1&&(ue*=Math.sqrt(we),le*=Math.sqrt(we));var Ae=ue*ue*(ae*ae)+le*le*(V*V),se=Ae?Math.sqrt((ue*ue*(le*le)-Ae)/Ae):1;ye===W&&(se*=-1),isNaN(se)&&(se=0);var ee=le?se*ue*ae/le:0,J=ue?se*-le*V/ue:0,Y=(Ie+ne)/2+Math.cos(xe)*ee-Math.sin(xe)*J,q=(ie+Z)/2+Math.sin(xe)*ee+Math.cos(xe)*J,G=[(V-ee)/ue,(ae-J)/le],re=[(-1*V-ee)/ue,(-1*ae-J)/le],fe=C([1,0],G),ce=C(G,re);return A(G,re)<=-1&&(ce=Math.PI),A(G,re)>=1&&(ce=0),W===0&&ce>0&&(ce-=2*Math.PI),W===1&&ce<0&&(ce+=2*Math.PI),{cx:Y,cy:q,rx:N(X,[ne,Z])?0:ue,ry:N(X,[ne,Z])?0:le,startAngle:fe,endAngle:fe+ce,xRotation:xe,arcFlag:ye,sweepFlag:W}}function L(X,te){return[te[0]+(te[0]-X[0]),te[1]+(te[1]-X[1])]}function z(X){for(var te=[],ue=null,le=null,xe=null,ye=0,W=(X=_(X)).length,Ie=0;Ie0&&(dt=1/Math.sqrt(dt)),Oe[0]=Le[0]*dt,Oe[1]=Le[1]*dt,Oe[2]=Le[2]*dt,Oe}function ye(Oe,Le){return Oe[0]*Le[0]+Oe[1]*Le[1]+Oe[2]*Le[2]}function W(Oe,Le,Ke){var et=Le[0],ot=Le[1],dt=Le[2],Ct=Ke[0],Tt=Ke[1],jt=Ke[2];return Oe[0]=ot*jt-dt*Tt,Oe[1]=dt*Ct-et*jt,Oe[2]=et*Tt-ot*Ct,Oe}function Ie(Oe,Le,Ke,et){var ot=Le[0],dt=Le[1],Ct=Le[2];return Oe[0]=ot+et*(Ke[0]-ot),Oe[1]=dt+et*(Ke[1]-dt),Oe[2]=Ct+et*(Ke[2]-Ct),Oe}function ie(Oe,Le,Ke,et,ot,dt){var Ct=dt*dt,Tt=Ct*(2*dt-3)+1,jt=Ct*(dt-2)+dt,Kt=Ct*(dt-1),Qt=Ct*(3-2*dt);return Oe[0]=Le[0]*Tt+Ke[0]*jt+et[0]*Kt+ot[0]*Qt,Oe[1]=Le[1]*Tt+Ke[1]*jt+et[1]*Kt+ot[1]*Qt,Oe[2]=Le[2]*Tt+Ke[2]*jt+et[2]*Kt+ot[2]*Qt,Oe}function ne(Oe,Le,Ke,et,ot,dt){var Ct=1-dt,Tt=Ct*Ct,jt=dt*dt,Kt=Tt*Ct,Qt=3*dt*Tt,rr=3*jt*Ct,or=jt*dt;return Oe[0]=Le[0]*Kt+Ke[0]*Qt+et[0]*rr+ot[0]*or,Oe[1]=Le[1]*Kt+Ke[1]*Qt+et[1]*rr+ot[1]*or,Oe[2]=Le[2]*Kt+Ke[2]*Qt+et[2]*rr+ot[2]*or,Oe}function Z(Oe,Le){Le=Le||1;var Ke=2*f.c()*Math.PI,et=2*f.c()-1,ot=Math.sqrt(1-et*et)*Le;return Oe[0]=Math.cos(Ke)*ot,Oe[1]=Math.sin(Ke)*ot,Oe[2]=et*Le,Oe}function V(Oe,Le,Ke){var et=Le[0],ot=Le[1],dt=Le[2],Ct=Ke[3]*et+Ke[7]*ot+Ke[11]*dt+Ke[15];return Ct=Ct||1,Oe[0]=(Ke[0]*et+Ke[4]*ot+Ke[8]*dt+Ke[12])/Ct,Oe[1]=(Ke[1]*et+Ke[5]*ot+Ke[9]*dt+Ke[13])/Ct,Oe[2]=(Ke[2]*et+Ke[6]*ot+Ke[10]*dt+Ke[14])/Ct,Oe}function ae(Oe,Le,Ke){var et=Le[0],ot=Le[1],dt=Le[2];return Oe[0]=et*Ke[0]+ot*Ke[3]+dt*Ke[6],Oe[1]=et*Ke[1]+ot*Ke[4]+dt*Ke[7],Oe[2]=et*Ke[2]+ot*Ke[5]+dt*Ke[8],Oe}function we(Oe,Le,Ke){var et=Ke[0],ot=Ke[1],dt=Ke[2],Ct=Ke[3],Tt=Le[0],jt=Le[1],Kt=Le[2],Qt=ot*Kt-dt*jt,rr=dt*Tt-et*Kt,or=et*jt-ot*Tt,Mr=ot*or-dt*rr,cr=dt*Qt-et*or,yr=et*rr-ot*Qt,br=2*Ct;return Qt*=br,rr*=br,or*=br,Mr*=2,cr*=2,yr*=2,Oe[0]=Tt+Qt+Mr,Oe[1]=jt+rr+cr,Oe[2]=Kt+or+yr,Oe}function Ae(Oe,Le,Ke,et){var ot=[],dt=[];return ot[0]=Le[0]-Ke[0],ot[1]=Le[1]-Ke[1],ot[2]=Le[2]-Ke[2],dt[0]=ot[0],dt[1]=ot[1]*Math.cos(et)-ot[2]*Math.sin(et),dt[2]=ot[1]*Math.sin(et)+ot[2]*Math.cos(et),Oe[0]=dt[0]+Ke[0],Oe[1]=dt[1]+Ke[1],Oe[2]=dt[2]+Ke[2],Oe}function se(Oe,Le,Ke,et){var ot=[],dt=[];return ot[0]=Le[0]-Ke[0],ot[1]=Le[1]-Ke[1],ot[2]=Le[2]-Ke[2],dt[0]=ot[2]*Math.sin(et)+ot[0]*Math.cos(et),dt[1]=ot[1],dt[2]=ot[2]*Math.cos(et)-ot[0]*Math.sin(et),Oe[0]=dt[0]+Ke[0],Oe[1]=dt[1]+Ke[1],Oe[2]=dt[2]+Ke[2],Oe}function ee(Oe,Le,Ke,et){var ot=[],dt=[];return ot[0]=Le[0]-Ke[0],ot[1]=Le[1]-Ke[1],ot[2]=Le[2]-Ke[2],dt[0]=ot[0]*Math.cos(et)-ot[1]*Math.sin(et),dt[1]=ot[0]*Math.sin(et)+ot[1]*Math.cos(et),dt[2]=ot[2],Oe[0]=dt[0]+Ke[0],Oe[1]=dt[1]+Ke[1],Oe[2]=dt[2]+Ke[2],Oe}function J(Oe,Le){var Ke=Oe[0],et=Oe[1],ot=Oe[2],dt=Le[0],Ct=Le[1],Tt=Le[2],jt=Math.sqrt(Ke*Ke+et*et+ot*ot)*Math.sqrt(dt*dt+Ct*Ct+Tt*Tt),Kt=jt&&ye(Oe,Le)/jt;return Math.acos(Math.min(Math.max(Kt,-1),1))}function Y(Oe){return Oe[0]=0,Oe[1]=0,Oe[2]=0,Oe}function q(Oe){return"vec3("+Oe[0]+", "+Oe[1]+", "+Oe[2]+")"}function G(Oe,Le){return Oe[0]===Le[0]&&Oe[1]===Le[1]&&Oe[2]===Le[2]}function re(Oe,Le){var Ke=Oe[0],et=Oe[1],ot=Oe[2],dt=Le[0],Ct=Le[1],Tt=Le[2];return Math.abs(Ke-dt)<=f.b*Math.max(1,Math.abs(Ke),Math.abs(dt))&&Math.abs(et-Ct)<=f.b*Math.max(1,Math.abs(et),Math.abs(Ct))&&Math.abs(ot-Tt)<=f.b*Math.max(1,Math.abs(ot),Math.abs(Tt))}var fe,ce=h,$=y,de=E,Se=z,Pe=X,ke=_,Ce=te,Re=(fe=c(),function(Oe,Le,Ke,et,ot,dt){var Ct,Tt;for(Le||(Le=3),Ke||(Ke=0),Tt=et?Math.min(et*Le+Ke,Oe.length):Oe.length,Ct=Ke;Ct= than the number of constructor arguments of its base class."},b.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",b.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",b.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",b.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",b.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class",b.POST_CONSTRUCT_ERROR=function(){for(var f=[],c=0;c=$.length?{done:!0}:{done:!1,value:$[Pe++]}},e:function(Le){throw Le},f:ke}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ce,Re=!0,Oe=!1;return{s:function(){Se=$[Symbol.iterator]()},n:function(){var Le=Se.next();return Re=Le.done,Le},e:function(Le){Oe=!0,Ce=Le},f:function(){try{Re||Se.return==null||Se.return()}finally{if(Oe)throw Ce}}}}function fe($,de){(de==null||de>$.length)&&(de=$.length);for(var Se=0,Pe=new Array(de);Se2&&(J.push([q].concat(re.splice(0,2))),fe="l",q=q==="m"?"l":"L"),fe==="o"&&re.length===1&&J.push([q,re[0]]),fe==="r")J.push([q].concat(re));else for(;re.length>=ee[fe]&&(J.push([q].concat(re.splice(0,ee[fe]))),ee[fe]););return se}),J},O=function(se,ee){for(var J=[],Y=0,q=se.length;q-2*!ee>Y;Y+=2){var G=[{x:+se[Y-2],y:+se[Y-1]},{x:+se[Y],y:+se[Y+1]},{x:+se[Y+2],y:+se[Y+3]},{x:+se[Y+4],y:+se[Y+5]}];ee?Y?q-4===Y?G[3]={x:+se[0],y:+se[1]}:q-2===Y&&(G[2]={x:+se[0],y:+se[1]},G[3]={x:+se[2],y:+se[3]}):G[0]={x:+se[q-2],y:+se[q-1]}:q-4===Y?G[3]=G[2]:Y||(G[0]={x:+se[Y],y:+se[Y+1]}),J.push(["C",(-G[0].x+6*G[1].x+G[2].x)/6,(-G[0].y+6*G[1].y+G[2].y)/6,(G[1].x+6*G[2].x-G[3].x)/6,(G[1].y+6*G[2].y-G[3].y)/6,G[2].x,G[2].y])}return J},S=function(se,ee,J,Y,q){var G=[];if(q===null&&Y===null&&(Y=J),se=+se,ee=+ee,J=+J,Y=+Y,q!==null){var re=Math.PI/180,fe=se+J*Math.cos(-Y*re),ce=se+J*Math.cos(-q*re);G=[["M",fe,ee+J*Math.sin(-Y*re)],["A",J,J,0,+(q-Y>180),0,ce,ee+J*Math.sin(-q*re)]]}else G=[["M",se,ee],["m",0,-Y],["a",J,Y,0,1,1,0,2*Y],["a",J,Y,0,1,1,0,-2*Y],["z"]];return G},g=function(se){if(!(se=x(se))||!se.length)return[["M",0,0]];var ee,J,Y=[],q=0,G=0,re=0,fe=0,ce=0;se[0][0]==="M"&&(re=q=+se[0][1],fe=G=+se[0][2],ce++,Y[0]=["M",q,G]);for(var $=se.length===3&&se[0][0]==="M"&&se[1][0].toUpperCase()==="R"&&se[2][0].toUpperCase()==="Z",de=void 0,Se=void 0,Pe=ce,ke=se.length;Pe1&&(Y*=Ct=Math.sqrt(Ct),q*=Ct);var Tt=Y*Y,jt=q*q,Kt=(re===fe?-1:1)*Math.sqrt(Math.abs((Tt*jt-Tt*dt*dt-jt*ot*ot)/(Tt*dt*dt+jt*ot*ot)));Ce=Kt*Y*dt/q+(ee+ce)/2,Re=Kt*-q*ot/Y+(J+$)/2,Pe=Math.asin(((J-Re)/q).toFixed(9)),ke=Math.asin((($-Re)/q).toFixed(9)),Pe=eeke&&(Pe-=2*Math.PI),!fe&&ke>Pe&&(ke-=2*Math.PI)}var Qt=ke-Pe;if(Math.abs(Qt)>Oe){var rr=ke,or=ce,Mr=$;ke=Pe+Oe*(fe&&ke>Pe?1:-1),Ke=se(ce=Ce+Y*Math.cos(ke),$=Re+q*Math.sin(ke),Y,q,G,0,fe,or,Mr,[ke,rr,Ce,Re])}Qt=ke-Pe;var cr=Math.cos(Pe),yr=Math.sin(Pe),br=Math.cos(ke),Xr=Math.sin(ke),gr=Math.tan(Qt/4),xr=4/3*Y*gr,dr=4/3*q*gr,Br=[ee,J],Rr=[ee+xr*yr,J-dr*cr],pn=[ce+xr*Xr,$-dr*br],zr=[ce,$];if(Rr[0]=2*Br[0]-Rr[0],Rr[1]=2*Br[1]-Rr[1],de)return[Rr,pn,zr].concat(Ke);for(var Nr=[],Dr=0,rn=(Ke=[Rr,pn,zr].concat(Ke).join().split(",")).length;Dr7){et[ot].shift();for(var dt=et[ot];dt.length;)fe[ot]="A",q&&(ce[ot]="A"),et.splice(ot++,0,["C"].concat(dt.splice(0,6)));et.splice(ot,1),J=Math.max(Y.length,q&&q.length||0)}},ke=function(et,ot,dt,Ct,Tt){et&&ot&&et[Tt][0]==="M"&&ot[Tt][0]!=="M"&&(ot.splice(Tt,0,["M",Ct.x,Ct.y]),dt.bx=0,dt.by=0,dt.x=et[Tt][1],dt.y=et[Tt][2],J=Math.max(Y.length,q&&q.length||0))};J=Math.max(Y.length,q&&q.length||0);for(var Ce=0;Ce1?1:ce<0?0:ce)/2,de=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Se=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Pe=0,ke=0;ke<12;ke++){var Ce=$*de[ke]+$,Re=C(Ce,se,J,q,re),Oe=C(Ce,ee,Y,G,fe),Le=Re*Re+Oe*Oe;Pe+=Se[ke]*Math.sqrt(Le)}return $*Pe},P=function(se,ee,J,Y,q,G,re,fe){for(var ce,$,de,Se,Pe=[],ke=[[],[]],Ce=0;Ce<2;++Ce)if(Ce===0?($=6*se-12*J+6*q,ce=-3*se+9*J-9*q+3*re,de=3*J-3*se):($=6*ee-12*Y+6*G,ce=-3*ee+9*Y-9*G+3*fe,de=3*Y-3*ee),Math.abs(ce)<1e-12){if(Math.abs($)<1e-12)continue;(Se=-de/$)>0&&Se<1&&Pe.push(Se)}else{var Re=$*$-4*de*ce,Oe=Math.sqrt(Re);if(!(Re<0)){var Le=(-$+Oe)/(2*ce);Le>0&&Le<1&&Pe.push(Le);var Ke=(-$-Oe)/(2*ce);Ke>0&&Ke<1&&Pe.push(Ke)}}for(var et,ot=Pe.length,dt=ot;ot--;)et=1-(Se=Pe[ot]),ke[0][ot]=et*et*et*se+3*et*et*Se*J+3*et*Se*Se*q+Se*Se*Se*re,ke[1][ot]=et*et*et*ee+3*et*et*Se*Y+3*et*Se*Se*G+Se*Se*Se*fe;return ke[0][dt]=se,ke[1][dt]=ee,ke[0][dt+1]=re,ke[1][dt+1]=fe,ke[0].length=ke[1].length=dt+2,{min:{x:Math.min.apply(0,ke[0]),y:Math.min.apply(0,ke[1])},max:{x:Math.max.apply(0,ke[0]),y:Math.max.apply(0,ke[1])}}},L=function(se,ee,J,Y,q,G,re,fe){if(!(Math.max(se,J)Math.max(q,re)||Math.max(ee,Y)Math.max(G,fe))){var ce=(se-J)*(G-fe)-(ee-Y)*(q-re);if(ce){var $=((se*Y-ee*J)*(q-re)-(se-J)*(q*fe-G*re))/ce,de=((se*Y-ee*J)*(G-fe)-(ee-Y)*(q*fe-G*re))/ce,Se=+$.toFixed(2),Pe=+de.toFixed(2);if(!(Se<+Math.min(se,J).toFixed(2)||Se>+Math.max(se,J).toFixed(2)||Se<+Math.min(q,re).toFixed(2)||Se>+Math.max(q,re).toFixed(2)||Pe<+Math.min(ee,Y).toFixed(2)||Pe>+Math.max(ee,Y).toFixed(2)||Pe<+Math.min(G,fe).toFixed(2)||Pe>+Math.max(G,fe).toFixed(2)))return{x:$,y:de}}}},z=function(se,ee,J){return ee>=se.x&&ee<=se.x+se.width&&J>=se.y&&J<=se.y+se.height},X=function(se,ee,J,Y,q){if(q)return[["M",+se+ +q,ee],["l",J-2*q,0],["a",q,q,0,0,1,q,q],["l",0,Y-2*q],["a",q,q,0,0,1,-q,q],["l",2*q-J,0],["a",q,q,0,0,1,-q,-q],["l",0,2*q-Y],["a",q,q,0,0,1,q,-q],["z"]];var G=[["M",se,ee],["l",J,0],["l",0,Y],["l",-J,0],["z"]];return G.parsePathArray=A,G},te=function(se,ee,J,Y){return se===null&&(se=ee=J=Y=0),ee===null&&(ee=se.y,J=se.width,Y=se.height,se=se.x),{x:se,y:ee,width:J,w:J,height:Y,h:Y,x2:se+J,y2:ee+Y,cx:se+J/2,cy:ee+Y/2,r1:Math.min(J,Y)/2,r2:Math.max(J,Y)/2,r0:Math.sqrt(J*J+Y*Y)/2,path:X(se,ee,J,Y),vb:[se,ee,J,Y].join(" ")}},ue=function(se,ee,J,Y,q,G,re,fe){Object(f.isArray)(se)||(se=[se,ee,J,Y,q,G,re,fe]);var ce=P.apply(null,se);return te(ce.min.x,ce.min.y,ce.max.x-ce.min.x,ce.max.y-ce.min.y)},le=function(se,ee,J,Y,q,G,re,fe,ce){var $=1-ce,de=Math.pow($,3),Se=Math.pow($,2),Pe=ce*ce,ke=Pe*ce,Ce=se+2*ce*(J-se)+Pe*(q-2*J+se),Re=ee+2*ce*(Y-ee)+Pe*(G-2*Y+ee),Oe=J+2*ce*(q-J)+Pe*(re-2*q+J),Le=Y+2*ce*(G-Y)+Pe*(fe-2*G+Y);return{x:de*se+3*Se*ce*J+3*$*ce*ce*q+ke*re,y:de*ee+3*Se*ce*Y+3*$*ce*ce*G+ke*fe,m:{x:Ce,y:Re},n:{x:Oe,y:Le},start:{x:$*se+ce*J,y:$*ee+ce*Y},end:{x:$*q+ce*re,y:$*G+ce*fe},alpha:90-180*Math.atan2(Ce-Oe,Re-Le)/Math.PI}},xe=function(se,ee,J){if(!function(dt,Ct){return dt=te(dt),Ct=te(Ct),z(Ct,dt.x,dt.y)||z(Ct,dt.x2,dt.y)||z(Ct,dt.x,dt.y2)||z(Ct,dt.x2,dt.y2)||z(dt,Ct.x,Ct.y)||z(dt,Ct.x2,Ct.y)||z(dt,Ct.x,Ct.y2)||z(dt,Ct.x2,Ct.y2)||(dt.xCt.x||Ct.xdt.x)&&(dt.yCt.y||Ct.ydt.y)}(ue(se),ue(ee)))return J?0:[];for(var Y=~~(N.apply(0,se)/8),q=~~(N.apply(0,ee)/8),G=[],re=[],fe={},ce=J?0:[],$=0;$=0&&et<=1&&ot>=0&&ot<=1&&(J?ce+=1:ce.push({x:Ke.x,y:Ke.y,t1:et,t2:ot}))}}return ce},ye=function(se,ee){return function(J,Y,q){var G,re,fe,ce,$,de,Se,Pe,ke,Ce;J=m(J),Y=m(Y);for(var Re=q?0:[],Oe=0,Le=J.length;Oe=3&&(Re.length===3&&Oe.push("Q"),Oe=Oe.concat(Re[1])),Re.length===2&&Oe.push("L"),Oe=Oe.concat(Re[Re.length-1])})}(se,ee,J));else{var q=[].concat(se);q[0]==="M"&&(q[0]="L");for(var G=0;G<=J-1;G++)Y.push(q)}return Y},ie=function(se,ee){if(se.length===1)return se;var J=se.length-1,Y=ee.length-1,q=J/Y,G=[];if(se.length===1&&se[0][0]==="M"){for(var re=0;re=0;ce--)re=G[ce].index,G[ce].type==="add"?se.splice(re,0,[].concat(se[re])):se.splice(re,1)}var Se=q-(Y=se.length);if(Y0)){se[Y]=ee[Y];break}J=ae(J,se[Y-1],1)}se[Y]=["Q"].concat(J.reduce(function(q,G){return q.concat(G)},[]));break;case"T":se[Y]=["T"].concat(J[0]);break;case"C":if(J.length<3){if(!(Y>0)){se[Y]=ee[Y];break}J=ae(J,se[Y-1],2)}se[Y]=["C"].concat(J.reduce(function(q,G){return q.concat(G)},[]));break;case"S":if(J.length<2){if(!(Y>0)){se[Y]=ee[Y];break}J=ae(J,se[Y-1],1)}se[Y]=["S"].concat(J.reduce(function(q,G){return q.concat(G)},[]));break;default:se[Y]=ee[Y]}return se}},function(R,b,o){var f=o(84),c=o(147);R.exports=function(M){return M!=null&&c(M.length)&&!f(M)}},function(R,b,o){function f(S){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(S)}var c=o(363),M=o(373),_=o(65),x=o(31),O=o(380);R.exports=function(S){return typeof S=="function"?S:S==null?_:f(S)=="object"?x(S)?M(S[0],S[1]):c(S):O(S)}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.TargetTypeEnum=b.BindingTypeEnum=b.BindingScopeEnum=void 0,b.BindingScopeEnum={Request:"Request",Singleton:"Singleton",Transient:"Transient"},b.BindingTypeEnum={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},b.TargetTypeEnum={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"}},function(R,b,o){"use strict";o.r(b),o.d(b,"Base",function(){return S}),o.d(b,"Circle",function(){return g}),o.d(b,"Ellipse",function(){return y}),o.d(b,"Image",function(){return m}),o.d(b,"Line",function(){return N}),o.d(b,"Marker",function(){return X}),o.d(b,"Path",function(){return V}),o.d(b,"Polygon",function(){return we}),o.d(b,"Polyline",function(){return Ae}),o.d(b,"Rect",function(){return ee}),o.d(b,"Text",function(){return J});var f={};o.r(f),o.d(f,"Base",function(){return S}),o.d(f,"Circle",function(){return g}),o.d(f,"Ellipse",function(){return y}),o.d(f,"Image",function(){return m}),o.d(f,"Line",function(){return N}),o.d(f,"Marker",function(){return X}),o.d(f,"Path",function(){return V}),o.d(f,"Polygon",function(){return we}),o.d(f,"Polyline",function(){return Ae}),o.d(f,"Rect",function(){return ee}),o.d(f,"Text",function(){return J});var c=o(1),M=o(21),_=o(15),x=o(30),O=o(75),S=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},q.prototype.getShapeBase=function(){return f},q.prototype.getGroupBase=function(){return O.a},q.prototype.onCanvasChange=function(G){Object(x.h)(this,G)},q.prototype.calculateBBox=function(){var G=this.get("type"),re=this.getHitLineWidth(),fe=Object(M.getBBoxMethod)(G)(this),ce=re/2,$=fe.x-ce,de=fe.y-ce,Se=fe.x+fe.width+ce,Pe=fe.y+fe.height+ce;return{x:$,minX:$,y:de,minY:de,width:fe.width+re,height:fe.height+re,maxX:Se,maxY:Pe}},q.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},q.prototype.isStroke=function(){return!!this.attrs.stroke},q.prototype._applyClip=function(G,re){re&&(G.save(),Object(x.a)(G,re),re.createPath(G),G.restore(),G.clip(),re._afterDraw())},q.prototype.draw=function(G,re){var fe=this.cfg.clipShape;if(re){if(this.cfg.refresh===!1)return void this.set("hasChanged",!1);var ce=this.getCanvasBBox();if(!Object(_.f)(re,ce))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}G.save(),Object(x.a)(G,this),this._applyClip(G,fe),this.drawPath(G),G.restore(),this._afterDraw()},q.prototype.getCanvasViewBox=function(){var G=this.cfg.canvas;return G?G.getViewRange():null},q.prototype.cacheCanvasBBox=function(){var G=this.getCanvasViewBox();if(G){var re=this.getCanvasBBox(),fe=Object(_.f)(re,G);this.set("isInView",fe),fe?this.set("cacheCanvasBBox",re):this.set("cacheCanvasBBox",null)}},q.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},q.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},q.prototype.drawPath=function(G){this.createPath(G),this.strokeAndFill(G),this.afterDrawPath(G)},q.prototype.fill=function(G){G.fill()},q.prototype.stroke=function(G){G.stroke()},q.prototype.strokeAndFill=function(G){var re=this.attrs,fe=re.lineWidth,ce=re.opacity,$=re.strokeOpacity,de=re.fillOpacity;this.isFill()&&(Object(_.i)(de)||de===1?this.fill(G):(G.globalAlpha=de,this.fill(G),G.globalAlpha=ce)),this.isStroke()&&fe>0&&(Object(_.i)($)||$===1||(G.globalAlpha=$),this.stroke(G)),this.afterDrawPath(G)},q.prototype.createPath=function(G){},q.prototype.afterDrawPath=function(G){},q.prototype.isInShape=function(G,re){var fe=this.isStroke(),ce=this.isFill(),$=this.getHitLineWidth();return this.isInStrokeOrPath(G,re,fe,ce,$)},q.prototype.isInStrokeOrPath=function(G,re,fe,ce,$){return!1},q.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var G=this.attrs;return G.lineWidth+G.lineAppendWidth},q}(M.AbstractShape),g=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{x:0,y:0,r:0})},q.prototype.isInStrokeOrPath=function(G,re,fe,ce,$){var de=this.attr(),Se=de.x,Pe=de.y,ke=de.r,Ce=$/2,Re=Object(_.b)(Se,Pe,G,re);return ce&&fe?Re<=ke+Ce:ce?Re<=ke:!!fe&&Re>=ke-Ce&&Re<=ke+Ce},q.prototype.createPath=function(G){var re=this.attr(),fe=re.x,ce=re.y,$=re.r;G.beginPath(),G.arc(fe,ce,$,0,2*Math.PI,!1),G.closePath()},q}(S);function h(Y,q,G,re){return Y/(G*G)+q/(re*re)}var y=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{x:0,y:0,rx:0,ry:0})},q.prototype.isInStrokeOrPath=function(G,re,fe,ce,$){var de=this.attr(),Se=$/2,Pe=de.x,ke=de.y,Ce=de.rx,Re=de.ry,Oe=(G-Pe)*(G-Pe),Le=(re-ke)*(re-ke);return ce&&fe?h(Oe,Le,Ce+Se,Re+Se)<=1:ce?h(Oe,Le,Ce,Re)<=1:!!fe&&h(Oe,Le,Ce-Se,Re-Se)>=1&&h(Oe,Le,Ce+Se,Re+Se)<=1},q.prototype.createPath=function(G){var re=this.attr(),fe=re.x,ce=re.y,$=re.rx,de=re.ry;if(G.beginPath(),G.ellipse)G.ellipse(fe,ce,$,de,0,0,2*Math.PI,!1);else{var Se=$>de?$:de,Pe=$>de?1:$/de,ke=$>de?de/$:1;G.save(),G.translate(fe,ce),G.scale(Pe,ke),G.arc(0,0,Se,0,2*Math.PI),G.restore(),G.closePath()}},q}(S);function E(Y){return Y instanceof HTMLElement&&Object(_.k)(Y.nodeName)&&Y.nodeName.toUpperCase()==="CANVAS"}var m=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{x:0,y:0,width:0,height:0})},q.prototype.initAttrs=function(G){this._setImage(G.img)},q.prototype.isStroke=function(){return!1},q.prototype.isOnlyHitBox=function(){return!0},q.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var G=this.get("canvas");G?G.draw():this.createPath(this.get("context"))}},q.prototype._setImage=function(G){var re=this,fe=this.attrs;if(Object(_.k)(G)){var ce=new Image;ce.onload=function(){if(re.destroyed)return!1;re.attr("img",ce),re.set("loading",!1),re._afterLoading();var $=re.get("callback");$&&$.call(re)},ce.crossOrigin="Anonymous",ce.src=G,this.set("loading",!0)}else G instanceof Image?(fe.width||(fe.width=G.width),fe.height||(fe.height=G.height)):E(G)&&(fe.width||(fe.width=Number(G.getAttribute("width"))),fe.height||(fe.height,Number(G.getAttribute("height"))))},q.prototype.onAttrChange=function(G,re,fe){Y.prototype.onAttrChange.call(this,G,re,fe),G==="img"&&this._setImage(re)},q.prototype.createPath=function(G){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",G);var re=this.attr(),fe=re.x,ce=re.y,$=re.width,de=re.height,Se=re.sx,Pe=re.sy,ke=re.swidth,Ce=re.sheight,Re=re.img;(Re instanceof Image||E(Re))&&(Object(_.i)(Se)||Object(_.i)(Pe)||Object(_.i)(ke)||Object(_.i)(Ce)?G.drawImage(Re,fe,ce,$,de):G.drawImage(Re,Se,Pe,ke,Ce,fe,ce,$,de))},q}(S),p=o(20);function A(Y,q,G,re,fe,ce,$){var de=Math.min(Y,G),Se=Math.max(Y,G),Pe=Math.min(q,re),ke=Math.max(q,re),Ce=fe/2;return ce>=de-Ce&&ce<=Se+Ce&&$>=Pe-Ce&&$<=ke+Ce&&p.c.pointToLine(Y,q,G,re,ce,$)<=fe/2}var C=o(33),N=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},q.prototype.initAttrs=function(G){this.setArrow()},q.prototype.onAttrChange=function(G,re,fe){Y.prototype.onAttrChange.call(this,G,re,fe),this.setArrow()},q.prototype.setArrow=function(){var G=this.attr(),re=G.x1,fe=G.y1,ce=G.x2,$=G.y2,de=G.startArrow,Se=G.endArrow;de&&C.b(this,G,ce,$,re,fe),Se&&C.a(this,G,re,fe,ce,$)},q.prototype.isInStrokeOrPath=function(G,re,fe,ce,$){if(!fe||!$)return!1;var de=this.attr();return A(de.x1,de.y1,de.x2,de.y2,$,G,re)},q.prototype.createPath=function(G){var re=this.attr(),fe=re.x1,ce=re.y1,$=re.x2,de=re.y2,Se=re.startArrow,Pe=re.endArrow,ke={dx:0,dy:0},Ce={dx:0,dy:0};Se&&Se.d&&(ke=C.c(fe,ce,$,de,re.startArrow.d)),Pe&&Pe.d&&(Ce=C.c(fe,ce,$,de,re.endArrow.d)),G.beginPath(),G.moveTo(fe+ke.dx,ce+ke.dy),G.lineTo($-Ce.dx,de-Ce.dy)},q.prototype.afterDrawPath=function(G){var re=this.get("startArrowShape"),fe=this.get("endArrowShape");re&&re.draw(G),fe&&fe.draw(G)},q.prototype.getTotalLength=function(){var G=this.attr(),re=G.x1,fe=G.y1,ce=G.x2,$=G.y2;return p.c.length(re,fe,ce,$)},q.prototype.getPoint=function(G){var re=this.attr(),fe=re.x1,ce=re.y1,$=re.x2,de=re.y2;return p.c.pointAt(fe,ce,$,de,G)},q}(S),P=o(0),L=o(37),z={circle:function(Y,q,G){return[["M",Y-G,q],["A",G,G,0,1,0,Y+G,q],["A",G,G,0,1,0,Y-G,q]]},square:function(Y,q,G){return[["M",Y-G,q-G],["L",Y+G,q-G],["L",Y+G,q+G],["L",Y-G,q+G],["Z"]]},diamond:function(Y,q,G){return[["M",Y-G,q],["L",Y,q-G],["L",Y+G,q],["L",Y,q+G],["Z"]]},triangle:function(Y,q,G){var re=G*Math.sin(.3333333333333333*Math.PI);return[["M",Y-G,q+re],["L",Y,q-re],["L",Y+G,q+re],["Z"]]},"triangle-down":function(Y,q,G){var re=G*Math.sin(.3333333333333333*Math.PI);return[["M",Y-G,q-re],["L",Y+G,q-re],["L",Y,q+re],["Z"]]}},X=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.initAttrs=function(G){this._resetParamsCache()},q.prototype._resetParamsCache=function(){this.set("paramsCache",{})},q.prototype.onAttrChange=function(G,re,fe){Y.prototype.onAttrChange.call(this,G,re,fe),["symbol","x","y","r","radius"].indexOf(G)!==-1&&this._resetParamsCache()},q.prototype.isOnlyHitBox=function(){return!0},q.prototype._getR=function(G){return Object(P.isNil)(G.r)?G.radius:G.r},q.prototype._getPath=function(){var G,re,fe=this.attr(),ce=fe.x,$=fe.y,de=fe.symbol||"circle",Se=this._getR(fe);if(Object(_.h)(de))re=(G=de)(ce,$,Se),re=Object(L.c)(re);else{if(!(G=q.Symbols[de]))return console.warn(de+" marker is not supported."),null;re=G(ce,$,Se)}return re},q.prototype.createPath=function(G){var re=this._getPath(),fe=this.get("paramsCache");Object(x.e)(this,G,{path:re},fe)},q.Symbols=z,q}(S);function te(Y,q,G){var re=Object(M.getOffScreenContext)();return Y.createPath(re),re.isPointInPath(q,G)}function ue(Y){return Math.abs(Y)<1e-6?0:Y<0?-1:1}function le(Y,q,G){return(G[0]-Y[0])*(q[1]-Y[1])==(q[0]-Y[0])*(G[1]-Y[1])&&Math.min(Y[0],q[0])<=G[0]&&G[0]<=Math.max(Y[0],q[0])&&Math.min(Y[1],q[1])<=G[1]&&G[1]<=Math.max(Y[1],q[1])}function xe(Y,q,G){var re=!1,fe=Y.length;if(fe<=2)return!1;for(var ce=0;ce0!=ue(de[1]-G)>0&&ue(q-(G-$[1])*($[0]-de[0])/($[1]-de[1])-$[0])<0&&(re=!re)}return re}var ye=o(17),W=o(39);function Ie(Y,q,G,re,fe,ce,$,de){var Se=(Math.atan2(de-q,$-Y)+2*Math.PI)%(2*Math.PI);if(Sefe)return!1;var Pe={x:Y+G*Math.cos(Se),y:q+G*Math.sin(Se)};return Object(_.b)(Pe.x,Pe.y,$,de)<=ce/2}var ie=ye.a.transform,ne=Object(c.__assign)({hasArc:function(Y){for(var q=!1,G=Y.length,re=0;re0&&re.push(fe),{polygons:G,polylines:re}},isPointInStroke:function(Y,q,G,re,fe){for(var ce=!1,$=q/2,de=0;deot?et:ot,Qt=ie(null,[["t",-Le,-Ke],["r",-Tt],["s",1/(et>ot?1:et/ot),1/(et>ot?ot/et:1)]]);W.transformMat3(jt,jt,Qt),ce=Ie(0,0,Kt,dt,Ct,q,jt[0],jt[1])}if(ce)break}}return ce}},M.PathUtil);function Z(Y,q,G){for(var re=!1,fe=0;fe=ke[0]&&G<=ke[1]&&(re=(G-ke[0])/(ke[1]-ke[0]),fe=Ce)});var de=$[fe];if(Object(P.isNil)(de)||Object(P.isNil)(fe))return null;var Se=de.length,Pe=$[fe+1];return p.b.pointAt(de[Se-2],de[Se-1],Pe[1],Pe[2],Pe[3],Pe[4],Pe[5],Pe[6],re)},q.prototype._calculateCurve=function(){var G=this.attr().path;this.set("curve",ne.pathToCurve(G))},q.prototype._setTcache=function(){var G,re,fe,ce,$=0,de=0,Se=[],Pe=this.get("curve");Pe&&(Object(P.each)(Pe,function(ke,Ce){fe=Pe[Ce+1],ce=ke.length,fe&&($+=p.b.length(ke[ce-2],ke[ce-1],fe[1],fe[2],fe[3],fe[4],fe[5],fe[6])||0)}),this.set("totalLength",$),$!==0?(Object(P.each)(Pe,function(ke,Ce){fe=Pe[Ce+1],ce=ke.length,fe&&((G=[])[0]=de/$,re=p.b.length(ke[ce-2],ke[ce-1],fe[1],fe[2],fe[3],fe[4],fe[5],fe[6]),de+=re||0,G[1]=de/$,Se.push(G))}),this.set("tCache",Se)):this.set("tCache",[]))},q.prototype.getStartTangent=function(){var G,re=this.getSegments();if(re.length>1){var fe=re[0].currentPoint,ce=re[1].currentPoint,$=re[1].startTangent;G=[],$?(G.push([fe[0]-$[0],fe[1]-$[1]]),G.push([fe[0],fe[1]])):(G.push([ce[0],ce[1]]),G.push([fe[0],fe[1]]))}return G},q.prototype.getEndTangent=function(){var G,re=this.getSegments(),fe=re.length;if(fe>1){var ce=re[fe-2].currentPoint,$=re[fe-1].currentPoint,de=re[fe-1].endTangent;G=[],de?(G.push([$[0]-de[0],$[1]-de[1]]),G.push([$[0],$[1]])):(G.push([ce[0],ce[1]]),G.push([$[0],$[1]]))}return G},q}(S);function ae(Y,q,G,re,fe){var ce=Y.length;if(ce<2)return!1;for(var $=0;$=de[0]&&G<=de[1]&&(re=(G-de[0])/(de[1]-de[0]),fe=Se)}),p.c.pointAt(ce[fe][0],ce[fe][1],ce[fe+1][0],ce[fe+1][1],re)},q.prototype._setTcache=function(){var G=this.attr().points;if(G&&G.length!==0){var re=this.getTotalLength();if(!(re<=0)){var fe,ce,$=0,de=[];Object(P.each)(G,function(Se,Pe){G[Pe+1]&&((fe=[])[0]=$/re,ce=p.c.length(Se[0],Se[1],G[Pe+1][0],G[Pe+1][1]),$+=ce,fe[1]=$/re,de.push(fe))}),this.set("tCache",de)}}},q.prototype.getStartTangent=function(){var G=this.attr().points,re=[];return re.push([G[1][0],G[1][1]]),re.push([G[0][0],G[0][1]]),re},q.prototype.getEndTangent=function(){var G=this.attr().points,re=G.length-1,fe=[];return fe.push([G[re-1][0],G[re-1][1]]),fe.push([G[re][0],G[re][1]]),fe},q}(S),se=o(139),ee=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{x:0,y:0,width:0,height:0,radius:0})},q.prototype.isInStrokeOrPath=function(G,re,fe,ce,$){var de=this.attr(),Se=de.x,Pe=de.y,ke=de.width,Ce=de.height,Re=de.radius;if(Re){var Oe=!1;return fe&&(Oe=function(Ke,et,ot,dt,Ct,Tt,jt,Kt){return A(Ke+Ct,et,Ke+ot-Ct,et,Tt,jt,Kt)||A(Ke+ot,et+Ct,Ke+ot,et+dt-Ct,Tt,jt,Kt)||A(Ke+ot-Ct,et+dt,Ke+Ct,et+dt,Tt,jt,Kt)||A(Ke,et+dt-Ct,Ke,et+Ct,Tt,jt,Kt)||Ie(Ke+ot-Ct,et+Ct,Ct,1.5*Math.PI,2*Math.PI,Tt,jt,Kt)||Ie(Ke+ot-Ct,et+dt-Ct,Ct,0,.5*Math.PI,Tt,jt,Kt)||Ie(Ke+Ct,et+dt-Ct,Ct,.5*Math.PI,Math.PI,Tt,jt,Kt)||Ie(Ke+Ct,et+Ct,Ct,Math.PI,1.5*Math.PI,Tt,jt,Kt)}(Se,Pe,ke,Ce,Re,$,G,re)),!Oe&&ce&&(Oe=te(this,G,re)),Oe}var Le=$/2;return ce&&fe?Object(_.e)(Se-Le,Pe-Le,ke+Le,Ce+Le,G,re):ce?Object(_.e)(Se,Pe,ke,Ce,G,re):fe?function(Ke,et,ot,dt,Ct,Tt,jt){var Kt=Ct/2;return Object(_.e)(Ke-Kt,et-Kt,ot,Ct,Tt,jt)||Object(_.e)(Ke+ot-Kt,et-Kt,Ct,dt,Tt,jt)||Object(_.e)(Ke+Kt,et+dt-Kt,ot,Ct,Tt,jt)||Object(_.e)(Ke-Kt,et+Kt,Ct,dt,Tt,jt)}(Se,Pe,ke,Ce,$,G,re):void 0},q.prototype.createPath=function(G){var re=this.attr(),fe=re.x,ce=re.y,$=re.width,de=re.height,Se=re.radius;if(G.beginPath(),Se===0)G.rect(fe,ce,$,de);else{var Pe=Object(se.a)(Se),ke=Pe[0],Ce=Pe[1],Re=Pe[2],Oe=Pe[3];G.moveTo(fe+ke,ce),G.lineTo(fe+$-Ce,ce),Ce!==0&&G.arc(fe+$-Ce,ce+Ce,Ce,-Math.PI/2,0),G.lineTo(fe+$,ce+de-Re),Re!==0&&G.arc(fe+$-Re,ce+de-Re,Re,0,Math.PI/2),G.lineTo(fe+Oe,ce+de),Oe!==0&&G.arc(fe+Oe,ce+de-Oe,Oe,Math.PI/2,Math.PI),G.lineTo(fe,ce+ke),ke!==0&&G.arc(fe+ke,ce+ke,ke,Math.PI,1.5*Math.PI),G.closePath()}},q}(S),J=function(Y){function q(){return Y!==null&&Y.apply(this,arguments)||this}return Object(c.__extends)(q,Y),q.prototype.getDefaultAttrs=function(){var G=Y.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},G),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},q.prototype.isOnlyHitBox=function(){return!0},q.prototype.initAttrs=function(G){this._assembleFont(),G.text&&this._setText(G.text)},q.prototype._assembleFont=function(){var G=this.attrs;G.font=Object(M.assembleFont)(G)},q.prototype._setText=function(G){var re=null;Object(_.k)(G)&&G.indexOf(` -`)!==-1&&(re=G.split(` -`)),this.set("textArr",re)},q.prototype.onAttrChange=function(G,re,fe){Y.prototype.onAttrChange.call(this,G,re,fe),G.startsWith("font")&&this._assembleFont(),G==="text"&&this._setText(re)},q.prototype._getSpaceingY=function(){var G=this.attrs,re=G.lineHeight,fe=1*G.fontSize;return re?re-fe:.14*fe},q.prototype._drawTextArr=function(G,re,fe){var ce,$=this.attrs,de=$.textBaseline,Se=$.x,Pe=$.y,ke=1*$.fontSize,Ce=this._getSpaceingY(),Re=Object(M.getTextHeight)($.text,$.fontSize,$.lineHeight);Object(_.c)(re,function(Oe,Le){ce=Pe+Le*(Ce+ke)-Re+ke,de==="middle"&&(ce+=Re-ke-(Re-ke)/2),de==="top"&&(ce+=Re-ke),Object(_.i)(Oe)||(fe?G.fillText(Oe,Se,ce):G.strokeText(Oe,Se,ce))})},q.prototype._drawText=function(G,re){var fe=this.attr(),ce=fe.x,$=fe.y,de=this.get("textArr");if(de)this._drawTextArr(G,de,re);else{var Se=fe.text;Object(_.i)(Se)||(re?G.fillText(Se,ce,$):G.strokeText(Se,ce,$))}},q.prototype.strokeAndFill=function(G){var re=this.attrs,fe=re.lineWidth,ce=re.opacity,$=re.strokeOpacity,de=re.fillOpacity;this.isStroke()&&fe>0&&(Object(_.i)($)||$===1||(G.globalAlpha=ce),this.stroke(G)),this.isFill()&&(Object(_.i)(de)||de===1?this.fill(G):(G.globalAlpha=de,this.fill(G),G.globalAlpha=ce)),this.afterDrawPath(G)},q.prototype.fill=function(G){this._drawText(G,!0)},q.prototype.stroke=function(G){this._drawText(G,!1)},q}(S)},function(R,b,o){"use strict";o.d(b,"b",function(){return f}),o.d(b,"a",function(){return y});var f,c=o(59),M=o.n(c),_=o(6),x=o.n(_),O=o(7),S=o.n(O),g=o(2),h=o(125);(function(E){E[E.OUTSIDE=4294967295]="OUTSIDE",E[E.INSIDE=0]="INSIDE",E[E.INDETERMINATE=2147483647]="INDETERMINATE"})(f||(f={}));var y=function(){function E(m){if(x()(this,E),this.planes=[],m)this.planes=m;else for(var p=0;p<6;p++)this.planes.push(new h.a)}return S()(E,[{key:"extractFromVPMatrix",value:function(m){var p=M()(m,16),A=p[0],C=p[1],N=p[2],P=p[3],L=p[4],z=p[5],X=p[6],te=p[7],ue=p[8],le=p[9],xe=p[10],ye=p[11],W=p[12],Ie=p[13],ie=p[14],ne=p[15];g.e.set(this.planes[0].normal,P-A,te-L,ye-ue),this.planes[0].distance=-(ne-W),g.e.set(this.planes[1].normal,P+A,te+L,ye+ue),this.planes[1].distance=-(ne+W),g.e.set(this.planes[2].normal,P+C,te+z,ye+le),this.planes[2].distance=-(ne+Ie),g.e.set(this.planes[3].normal,P-C,te-z,ye-le),this.planes[3].distance=-(ne-Ie),g.e.set(this.planes[4].normal,P-N,te-X,ye-xe),this.planes[4].distance=-(ne-ie),g.e.set(this.planes[5].normal,P+N,te+X,ye+xe),this.planes[5].distance=-(ne+ie),this.planes.forEach(function(Z){Z.normalize(),Z.updatePNVertexFlag()})}}]),E}()},function(R,b,o){var f=o(179),c=o(149),M=o(52);R.exports=function(_){return M(_)?f(_):c(_)}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.tagProperty=b.tagParameter=b.decorate=void 0;var f=o(40),c=o(32);function M(O,S,g,h,y){var E={},m=typeof y=="number",p=y!==void 0&&m?y.toString():g;if(m&&g!==void 0)throw new Error(f.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(O,S)&&(E=Reflect.getMetadata(O,S));var A=E[p];if(Array.isArray(A))for(var C=0,N=A;C-1},M=function(we,ze){if(!f(we))return we;for(var Qe=[],lt=0;lt-1;)Ce.call(we,wt,1);return we},Q=Array.prototype.splice,W=function(we,ze){if(!f(we))return[];for(var Qe=we?ze.length:0,lt=Qe-1;Qe--;){var vt=void 0,wt=ze[Qe];Qe!==lt&&wt===vt||(vt=wt,Q.call(we,wt,1))}return we},le=function(we,ze,Qe){if(!h(we)&&!P(we))return we;var lt=Qe;return m(we,function(vt,wt){lt=ze(lt,vt,wt)}),lt},Oe=function(we,ze){var Qe=[];if(!f(we))return Qe;for(var lt=-1,vt=[],wt=we.length;++ltwt[Wt])return 1;if(vt[Wt]Qe?Qe:we},nt=function(we,ze){var Qe=ze.toString(),lt=Qe.indexOf(".");if(lt===-1)return Math.round(we);var vt=Qe.substr(lt+1).length;return vt>20&&(vt=20),parseFloat(we.toFixed(vt))},dt=function(we){return O(we,"Number")},kt=function(we){return dt(we)&&we%1!=0},At=function(we){return dt(we)&&we%2==0},It=Number.isInteger?Number.isInteger:function(we){return dt(we)&&we%1==0},Kt=function(we){return dt(we)&&we<0};function Qt(we,ze,Qe){return Qe===void 0&&(Qe=1e-5),Math.abs(we-ze)0},Mr=function(we,ze){if(h(we)){for(var Qe,lt=-1/0,vt=0;vtlt&&(Qe=wt,lt=Lt)}return Qe}},ar=function(we,ze){if(h(we)){for(var Qe,lt=1/0,vt=0;vtze?(lt&&(clearTimeout(lt),lt=null),Wt=sr,Lt=we.apply(vt,wt),lt||(vt=wt=null)):lt||Qe.trailing===!1||(lt=setTimeout(er,gr)),Lt};return rr.cancel=function(){clearTimeout(lt),Wt=0,lt=vt=wt=null},rr},Tt=function(we){return f(we)?Array.prototype.slice.call(we):[]},Ht={},vr=function(we){return Ht[we=we||"g"]?Ht[we]+=1:Ht[we]=1,we+Ht[we]},Be=function(){},ut=function(we){return we};function bt(we){return g(we)?0:f(we)?we.length:Object.keys(we).length}var Ft=function(){function we(){this.map={}}return we.prototype.has=function(ze){return this.map[ze]!==void 0},we.prototype.get=function(ze,Qe){var lt=this.map[ze];return lt===void 0?Qe:lt},we.prototype.set=function(ze,Qe){this.map[ze]=Qe},we.prototype.clear=function(){this.map={}},we.prototype.delete=function(ze){delete this.map[ze]},we.prototype.size=function(){return Object.keys(this.map).length},we}()},function(R,b,o){"use strict";function f(ge){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(he){return typeof he}:function(he){return he&&typeof Symbol=="function"&&he.constructor===Symbol&&he!==Symbol.prototype?"symbol":typeof he})(ge)}o.r(b),o.d(b,"__extends",function(){return M}),o.d(b,"__assign",function(){return _}),o.d(b,"__rest",function(){return x}),o.d(b,"__decorate",function(){return O}),o.d(b,"__param",function(){return S}),o.d(b,"__metadata",function(){return g}),o.d(b,"__awaiter",function(){return h}),o.d(b,"__generator",function(){return y}),o.d(b,"__createBinding",function(){return E}),o.d(b,"__exportStar",function(){return m}),o.d(b,"__values",function(){return p}),o.d(b,"__read",function(){return A}),o.d(b,"__spread",function(){return C}),o.d(b,"__spreadArrays",function(){return N}),o.d(b,"__spreadArray",function(){return P}),o.d(b,"__await",function(){return L}),o.d(b,"__asyncGenerator",function(){return z}),o.d(b,"__asyncDelegator",function(){return H}),o.d(b,"__asyncValues",function(){return re}),o.d(b,"__makeTemplateObject",function(){return ae}),o.d(b,"__importStar",function(){return xe}),o.d(b,"__importDefault",function(){return ye}),o.d(b,"__classPrivateFieldGet",function(){return Y}),o.d(b,"__classPrivateFieldSet",function(){return Ce});var c=function(ge,he){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,W){Q.__proto__=W}||function(Q,W){for(var le in W)Object.prototype.hasOwnProperty.call(W,le)&&(Q[le]=W[le])})(ge,he)};function M(ge,he){if(typeof he!="function"&&he!==null)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");function Q(){this.constructor=ge}c(ge,he),ge.prototype=he===null?Object.create(he):(Q.prototype=he.prototype,new Q)}var _=function(){return(_=Object.assign||function(ge){for(var he,Q=1,W=arguments.length;Q=0;se--)(le=ge[se])&&(Te=(Oe<3?le(Te):Oe>3?le(he,Q,Te):le(he,Q))||Te);return Oe>3&&Te&&Object.defineProperty(he,Q,Te),Te}function S(ge,he){return function(Q,W){he(Q,W,ge)}}function g(ge,he){if((typeof Reflect=="undefined"?"undefined":f(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(ge,he)}function h(ge,he,Q,W){return new(Q||(Q=Promise))(function(le,Oe){function Te(te){try{ee(W.next(te))}catch(U){Oe(U)}}function se(te){try{ee(W.throw(te))}catch(U){Oe(U)}}function ee(te){var U;te.done?le(te.value):(U=te.value,U instanceof Q?U:new Q(function(X){X(U)})).then(Te,se)}ee((W=W.apply(ge,he||[])).next())})}function y(ge,he){var Q,W,le,Oe,Te={label:0,sent:function(){if(1&le[0])throw le[1];return le[1]},trys:[],ops:[]};return Oe={next:se(0),throw:se(1),return:se(2)},typeof Symbol=="function"&&(Oe[Symbol.iterator]=function(){return this}),Oe;function se(ee){return function(te){return function(U){if(Q)throw new TypeError("Generator is already executing.");for(;Te;)try{if(Q=1,W&&(le=2&U[0]?W.return:U[0]?W.throw||((le=W.return)&&le.call(W),0):W.next)&&!(le=le.call(W,U[1])).done)return le;switch(W=0,le&&(U=[2&U[0],le.value]),U[0]){case 0:case 1:le=U;break;case 4:return Te.label++,{value:U[1],done:!1};case 5:Te.label++,W=U[1],U=[0];continue;case 7:U=Te.ops.pop(),Te.trys.pop();continue;default:if(le=Te.trys,!((le=le.length>0&&le[le.length-1])||U[0]!==6&&U[0]!==2)){Te=0;continue}if(U[0]===3&&(!le||U[1]>le[0]&&U[1]=ge.length&&(ge=void 0),{value:ge&&ge[W++],done:!ge}}};throw new TypeError(he?"Object is not iterable.":"Symbol.iterator is not defined.")}function A(ge,he){var Q=typeof Symbol=="function"&&ge[Symbol.iterator];if(!Q)return ge;var W,le,Oe=Q.call(ge),Te=[];try{for(;(he===void 0||he-- >0)&&!(W=Oe.next()).done;)Te.push(W.value)}catch(se){le={error:se}}finally{try{W&&!W.done&&(Q=Oe.return)&&Q.call(Oe)}finally{if(le)throw le.error}}return Te}function C(){for(var ge=[],he=0;he1||se(X,B)})})}function se(X,B){try{(J=le[X](B)).value instanceof L?Promise.resolve(J.value.v).then(ee,te):U(Oe[0][2],J)}catch(ne){U(Oe[0][3],ne)}var J}function ee(X){se("next",X)}function te(X){se("throw",X)}function U(X,B){X(B),Oe.shift(),Oe.length&&se(Oe[0][0],Oe[0][1])}}function H(ge){var he,Q;return he={},W("next"),W("throw",function(le){throw le}),W("return"),he[Symbol.iterator]=function(){return this},he;function W(le,Oe){he[le]=ge[le]?function(Te){return(Q=!Q)?{value:L(ge[le](Te)),done:le==="return"}:Oe?Oe(Te):Te}:Oe}}function re(ge){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,Q=ge[Symbol.asyncIterator];return Q?Q.call(ge):(ge=p(ge),he={},W("next"),W("throw"),W("return"),he[Symbol.asyncIterator]=function(){return this},he);function W(le){he[le]=ge[le]&&function(Oe){return new Promise(function(Te,se){(function(ee,te,U,X){Promise.resolve(X).then(function(B){ee({value:B,done:U})},te)})(Te,se,(Oe=ge[le](Oe)).done,Oe.value)})}}}function ae(ge,he){return Object.defineProperty?Object.defineProperty(ge,"raw",{value:he}):ge.raw=he,ge}var ue=Object.create?function(ge,he){Object.defineProperty(ge,"default",{enumerable:!0,value:he})}:function(ge,he){ge.default=he};function xe(ge){if(ge&&ge.__esModule)return ge;var he={};if(ge!=null)for(var Q in ge)Q!=="default"&&Object.prototype.hasOwnProperty.call(ge,Q)&&E(he,ge,Q);return ue(he,ge),he}function ye(ge){return ge&&ge.__esModule?ge:{default:ge}}function Y(ge,he,Q,W){if(Q==="a"&&!W)throw new TypeError("Private accessor was defined without a getter");if(typeof he=="function"?ge!==he||!W:!he.has(ge))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Q==="m"?W:Q==="a"?W.call(ge):W?W.value:he.get(ge)}function Ce(ge,he,Q,W,le){if(W==="m")throw new TypeError("Private method is not writable");if(W==="a"&&!le)throw new TypeError("Private accessor was defined without a setter");if(typeof he=="function"?ge!==he||!le:!he.has(ge))throw new TypeError("Cannot write private member to an object whose class did not declare it");return W==="a"?le.call(ge,Q):le?le.value=Q:he.set(ge,Q),Q}},function(R,b,o){"use strict";o.d(b,"a",function(){return f}),o.d(b,"b",function(){return c}),o.d(b,"c",function(){return _}),o.d(b,"d",function(){return St}),o.d(b,"e",function(){return Er}),o.d(b,"f",function(){return M});var f={};o.r(f),o.d(f,"create",function(){return O}),o.d(f,"fromMat4",function(){return S}),o.d(f,"clone",function(){return g}),o.d(f,"copy",function(){return h}),o.d(f,"fromValues",function(){return y}),o.d(f,"set",function(){return E}),o.d(f,"identity",function(){return m}),o.d(f,"transpose",function(){return p}),o.d(f,"invert",function(){return A}),o.d(f,"adjoint",function(){return C}),o.d(f,"determinant",function(){return N}),o.d(f,"multiply",function(){return P}),o.d(f,"translate",function(){return L}),o.d(f,"rotate",function(){return z}),o.d(f,"scale",function(){return H}),o.d(f,"fromTranslation",function(){return re}),o.d(f,"fromRotation",function(){return ae}),o.d(f,"fromScaling",function(){return ue}),o.d(f,"fromMat2d",function(){return xe}),o.d(f,"fromQuat",function(){return ye}),o.d(f,"normalFromMat4",function(){return Y}),o.d(f,"projection",function(){return Ce}),o.d(f,"str",function(){return ge}),o.d(f,"frob",function(){return he}),o.d(f,"add",function(){return Q}),o.d(f,"subtract",function(){return W}),o.d(f,"multiplyScalar",function(){return le}),o.d(f,"multiplyScalarAndAdd",function(){return Oe}),o.d(f,"exactEquals",function(){return Te}),o.d(f,"equals",function(){return se}),o.d(f,"mul",function(){return ee}),o.d(f,"sub",function(){return te});var c={};o.r(c),o.d(c,"create",function(){return U}),o.d(c,"clone",function(){return X}),o.d(c,"copy",function(){return B}),o.d(c,"fromValues",function(){return J}),o.d(c,"set",function(){return ne}),o.d(c,"identity",function(){return ie}),o.d(c,"transpose",function(){return Z}),o.d(c,"invert",function(){return fe}),o.d(c,"adjoint",function(){return _e}),o.d(c,"determinant",function(){return je}),o.d(c,"multiply",function(){return Me}),o.d(c,"translate",function(){return Ae}),o.d(c,"scale",function(){return Le}),o.d(c,"rotate",function(){return Se}),o.d(c,"rotateX",function(){return Re}),o.d(c,"rotateY",function(){return Ke}),o.d(c,"rotateZ",function(){return Je}),o.d(c,"fromTranslation",function(){return nt}),o.d(c,"fromScaling",function(){return dt}),o.d(c,"fromRotation",function(){return kt}),o.d(c,"fromXRotation",function(){return At}),o.d(c,"fromYRotation",function(){return It}),o.d(c,"fromZRotation",function(){return Kt}),o.d(c,"fromRotationTranslation",function(){return Qt}),o.d(c,"fromQuat2",function(){return tr}),o.d(c,"getTranslation",function(){return nr}),o.d(c,"getScaling",function(){return Mr}),o.d(c,"getRotation",function(){return ar}),o.d(c,"fromRotationTranslationScale",function(){return yr}),o.d(c,"fromRotationTranslationScaleOrigin",function(){return mr}),o.d(c,"fromQuat",function(){return Rr}),o.d(c,"frustum",function(){return pr}),o.d(c,"perspective",function(){return xr}),o.d(c,"perspectiveFromFieldOfView",function(){return dr}),o.d(c,"ortho",function(){return Gr}),o.d(c,"lookAt",function(){return Lr}),o.d(c,"targetTo",function(){return pn}),o.d(c,"str",function(){return Ur}),o.d(c,"frob",function(){return Nr}),o.d(c,"add",function(){return Dr}),o.d(c,"subtract",function(){return rn}),o.d(c,"multiplyScalar",function(){return Ir}),o.d(c,"multiplyScalarAndAdd",function(){return On}),o.d(c,"exactEquals",function(){return In}),o.d(c,"equals",function(){return Dn}),o.d(c,"mul",function(){return Rn}),o.d(c,"sub",function(){return gn});var M={};o.r(M),o.d(M,"create",function(){return ln}),o.d(M,"clone",function(){return yn}),o.d(M,"fromValues",function(){return mn}),o.d(M,"copy",function(){return Qn}),o.d(M,"set",function(){return Un}),o.d(M,"add",function(){return ri}),o.d(M,"subtract",function(){return Oi}),o.d(M,"multiply",function(){return ni}),o.d(M,"divide",function(){return Bn}),o.d(M,"ceil",function(){return wi}),o.d(M,"floor",function(){return Mi}),o.d(M,"min",function(){return Wn}),o.d(M,"max",function(){return ii}),o.d(M,"round",function(){return Jn}),o.d(M,"scale",function(){return hi}),o.d(M,"scaleAndAdd",function(){return Vn}),o.d(M,"distance",function(){return oi}),o.d(M,"squaredDistance",function(){return di}),o.d(M,"length",function(){return _i}),o.d(M,"squaredLength",function(){return Xn}),o.d(M,"negate",function(){return Yn}),o.d(M,"inverse",function(){return ki}),o.d(M,"normalize",function(){return Gi}),o.d(M,"dot",function(){return Hn}),o.d(M,"cross",function(){return oo}),o.d(M,"lerp",function(){return ci}),o.d(M,"random",function(){return li}),o.d(M,"transformMat4",function(){return ao}),o.d(M,"transformQuat",function(){return Zi}),o.d(M,"zero",function(){return $i}),o.d(M,"str",function(){return vo}),o.d(M,"exactEquals",function(){return ir}),o.d(M,"equals",function(){return We}),o.d(M,"sub",function(){return He}),o.d(M,"mul",function(){return ft}),o.d(M,"div",function(){return Tt}),o.d(M,"dist",function(){return Ht}),o.d(M,"sqrDist",function(){return vr}),o.d(M,"len",function(){return Be}),o.d(M,"sqrLen",function(){return ut}),o.d(M,"forEach",function(){return bt});var _={};o.r(_),o.d(_,"create",function(){return Ft}),o.d(_,"identity",function(){return we}),o.d(_,"setAxisAngle",function(){return ze}),o.d(_,"getAxisAngle",function(){return Qe}),o.d(_,"getAngle",function(){return lt}),o.d(_,"multiply",function(){return vt}),o.d(_,"rotateX",function(){return wt}),o.d(_,"rotateY",function(){return Lt}),o.d(_,"rotateZ",function(){return Wt}),o.d(_,"calculateW",function(){return er}),o.d(_,"exp",function(){return rr}),o.d(_,"ln",function(){return sr}),o.d(_,"pow",function(){return gr}),o.d(_,"slerp",function(){return Vr}),o.d(_,"random",function(){return Fr}),o.d(_,"invert",function(){return $r}),o.d(_,"conjugate",function(){return Kr}),o.d(_,"fromMat3",function(){return jn}),o.d(_,"fromEuler",function(){return Cn}),o.d(_,"str",function(){return qn}),o.d(_,"clone",function(){return ko}),o.d(_,"fromValues",function(){return Fi}),o.d(_,"copy",function(){return Qi}),o.d(_,"set",function(){return nn}),o.d(_,"add",function(){return pi}),o.d(_,"mul",function(){return Ji}),o.d(_,"scale",function(){return Ai}),o.d(_,"dot",function(){return Gn}),o.d(_,"lerp",function(){return zi}),o.d(_,"length",function(){return Di}),o.d(_,"len",function(){return fi}),o.d(_,"squaredLength",function(){return Ui}),o.d(_,"sqrLen",function(){return Ci}),o.d(_,"normalize",function(){return eo}),o.d(_,"exactEquals",function(){return so}),o.d(_,"equals",function(){return Vi}),o.d(_,"rotationTo",function(){return Ti}),o.d(_,"sqlerp",function(){return _t}),o.d(_,"setAxes",function(){return $e});var x=o(12);function O(){var w=new x.a(9);return x.a!=Float32Array&&(w[1]=0,w[2]=0,w[3]=0,w[5]=0,w[6]=0,w[7]=0),w[0]=1,w[4]=1,w[8]=1,w}function S(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[4],w[4]=D[5],w[5]=D[6],w[6]=D[8],w[7]=D[9],w[8]=D[10],w}function g(w){var D=new x.a(9);return D[0]=w[0],D[1]=w[1],D[2]=w[2],D[3]=w[3],D[4]=w[4],D[5]=w[5],D[6]=w[6],D[7]=w[7],D[8]=w[8],D}function h(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w[4]=D[4],w[5]=D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}function y(w,D,ce,K,oe,pe,be,De,Ue){var ke=new x.a(9);return ke[0]=w,ke[1]=D,ke[2]=ce,ke[3]=K,ke[4]=oe,ke[5]=pe,ke[6]=be,ke[7]=De,ke[8]=Ue,ke}function E(w,D,ce,K,oe,pe,be,De,Ue,ke){return w[0]=D,w[1]=ce,w[2]=K,w[3]=oe,w[4]=pe,w[5]=be,w[6]=De,w[7]=Ue,w[8]=ke,w}function m(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}function p(w,D){if(w===D){var ce=D[1],K=D[2],oe=D[5];w[1]=D[3],w[2]=D[6],w[3]=ce,w[5]=D[7],w[6]=K,w[7]=oe}else w[0]=D[0],w[1]=D[3],w[2]=D[6],w[3]=D[1],w[4]=D[4],w[5]=D[7],w[6]=D[2],w[7]=D[5],w[8]=D[8];return w}function A(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=D[4],De=D[5],Ue=D[6],ke=D[7],Fe=D[8],Ye=Fe*be-De*ke,Ge=-Fe*pe+De*Ue,Xe=ke*pe-be*Ue,et=ce*Ye+K*Ge+oe*Xe;return et?(et=1/et,w[0]=Ye*et,w[1]=(-Fe*K+oe*ke)*et,w[2]=(De*K-oe*be)*et,w[3]=Ge*et,w[4]=(Fe*ce-oe*Ue)*et,w[5]=(-De*ce+oe*pe)*et,w[6]=Xe*et,w[7]=(-ke*ce+K*Ue)*et,w[8]=(be*ce-K*pe)*et,w):null}function C(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=D[4],De=D[5],Ue=D[6],ke=D[7],Fe=D[8];return w[0]=be*Fe-De*ke,w[1]=oe*ke-K*Fe,w[2]=K*De-oe*be,w[3]=De*Ue-pe*Fe,w[4]=ce*Fe-oe*Ue,w[5]=oe*pe-ce*De,w[6]=pe*ke-be*Ue,w[7]=K*Ue-ce*ke,w[8]=ce*be-K*pe,w}function N(w){var D=w[0],ce=w[1],K=w[2],oe=w[3],pe=w[4],be=w[5],De=w[6],Ue=w[7],ke=w[8];return D*(ke*pe-be*Ue)+ce*(-ke*oe+be*De)+K*(Ue*oe-pe*De)}function P(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=D[3],De=D[4],Ue=D[5],ke=D[6],Fe=D[7],Ye=D[8],Ge=ce[0],Xe=ce[1],et=ce[2],tt=ce[3],Ve=ce[4],ot=ce[5],pt=ce[6],Et=ce[7],mt=ce[8];return w[0]=Ge*K+Xe*be+et*ke,w[1]=Ge*oe+Xe*De+et*Fe,w[2]=Ge*pe+Xe*Ue+et*Ye,w[3]=tt*K+Ve*be+ot*ke,w[4]=tt*oe+Ve*De+ot*Fe,w[5]=tt*pe+Ve*Ue+ot*Ye,w[6]=pt*K+Et*be+mt*ke,w[7]=pt*oe+Et*De+mt*Fe,w[8]=pt*pe+Et*Ue+mt*Ye,w}function L(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=D[3],De=D[4],Ue=D[5],ke=D[6],Fe=D[7],Ye=D[8],Ge=ce[0],Xe=ce[1];return w[0]=K,w[1]=oe,w[2]=pe,w[3]=be,w[4]=De,w[5]=Ue,w[6]=Ge*K+Xe*be+ke,w[7]=Ge*oe+Xe*De+Fe,w[8]=Ge*pe+Xe*Ue+Ye,w}function z(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=D[3],De=D[4],Ue=D[5],ke=D[6],Fe=D[7],Ye=D[8],Ge=Math.sin(ce),Xe=Math.cos(ce);return w[0]=Xe*K+Ge*be,w[1]=Xe*oe+Ge*De,w[2]=Xe*pe+Ge*Ue,w[3]=Xe*be-Ge*K,w[4]=Xe*De-Ge*oe,w[5]=Xe*Ue-Ge*pe,w[6]=ke,w[7]=Fe,w[8]=Ye,w}function H(w,D,ce){var K=ce[0],oe=ce[1];return w[0]=K*D[0],w[1]=K*D[1],w[2]=K*D[2],w[3]=oe*D[3],w[4]=oe*D[4],w[5]=oe*D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}function re(w,D){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=D[0],w[7]=D[1],w[8]=1,w}function ae(w,D){var ce=Math.sin(D),K=Math.cos(D);return w[0]=K,w[1]=ce,w[2]=0,w[3]=-ce,w[4]=K,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}function ue(w,D){return w[0]=D[0],w[1]=0,w[2]=0,w[3]=0,w[4]=D[1],w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}function xe(w,D){return w[0]=D[0],w[1]=D[1],w[2]=0,w[3]=D[2],w[4]=D[3],w[5]=0,w[6]=D[4],w[7]=D[5],w[8]=1,w}function ye(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=ce+ce,De=K+K,Ue=oe+oe,ke=ce*be,Fe=K*be,Ye=K*De,Ge=oe*be,Xe=oe*De,et=oe*Ue,tt=pe*be,Ve=pe*De,ot=pe*Ue;return w[0]=1-Ye-et,w[3]=Fe-ot,w[6]=Ge+Ve,w[1]=Fe+ot,w[4]=1-ke-et,w[7]=Xe-tt,w[2]=Ge-Ve,w[5]=Xe+tt,w[8]=1-ke-Ye,w}function Y(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=D[4],De=D[5],Ue=D[6],ke=D[7],Fe=D[8],Ye=D[9],Ge=D[10],Xe=D[11],et=D[12],tt=D[13],Ve=D[14],ot=D[15],pt=ce*De-K*be,Et=ce*Ue-oe*be,mt=ce*ke-pe*be,xt=K*Ue-oe*De,Ot=K*ke-pe*De,yt=oe*ke-pe*Ue,qe=Fe*tt-Ye*et,at=Fe*Ve-Ge*et,ht=Fe*ot-Xe*et,Mt=Ye*Ve-Ge*tt,zt=Ye*ot-Xe*tt,Ut=Ge*ot-Xe*Ve,Xt=pt*Ut-Et*zt+mt*Mt+xt*ht-Ot*at+yt*qe;return Xt?(Xt=1/Xt,w[0]=(De*Ut-Ue*zt+ke*Mt)*Xt,w[1]=(Ue*ht-be*Ut-ke*at)*Xt,w[2]=(be*zt-De*ht+ke*qe)*Xt,w[3]=(oe*zt-K*Ut-pe*Mt)*Xt,w[4]=(ce*Ut-oe*ht+pe*at)*Xt,w[5]=(K*ht-ce*zt-pe*qe)*Xt,w[6]=(tt*yt-Ve*Ot+ot*xt)*Xt,w[7]=(Ve*mt-et*yt-ot*Et)*Xt,w[8]=(et*Ot-tt*mt+ot*pt)*Xt,w):null}function Ce(w,D,ce){return w[0]=2/D,w[1]=0,w[2]=0,w[3]=0,w[4]=-2/ce,w[5]=0,w[6]=-1,w[7]=1,w[8]=1,w}function ge(w){return"mat3("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+", "+w[4]+", "+w[5]+", "+w[6]+", "+w[7]+", "+w[8]+")"}function he(w){return Math.hypot(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8])}function Q(w,D,ce){return w[0]=D[0]+ce[0],w[1]=D[1]+ce[1],w[2]=D[2]+ce[2],w[3]=D[3]+ce[3],w[4]=D[4]+ce[4],w[5]=D[5]+ce[5],w[6]=D[6]+ce[6],w[7]=D[7]+ce[7],w[8]=D[8]+ce[8],w}function W(w,D,ce){return w[0]=D[0]-ce[0],w[1]=D[1]-ce[1],w[2]=D[2]-ce[2],w[3]=D[3]-ce[3],w[4]=D[4]-ce[4],w[5]=D[5]-ce[5],w[6]=D[6]-ce[6],w[7]=D[7]-ce[7],w[8]=D[8]-ce[8],w}function le(w,D,ce){return w[0]=D[0]*ce,w[1]=D[1]*ce,w[2]=D[2]*ce,w[3]=D[3]*ce,w[4]=D[4]*ce,w[5]=D[5]*ce,w[6]=D[6]*ce,w[7]=D[7]*ce,w[8]=D[8]*ce,w}function Oe(w,D,ce,K){return w[0]=D[0]+ce[0]*K,w[1]=D[1]+ce[1]*K,w[2]=D[2]+ce[2]*K,w[3]=D[3]+ce[3]*K,w[4]=D[4]+ce[4]*K,w[5]=D[5]+ce[5]*K,w[6]=D[6]+ce[6]*K,w[7]=D[7]+ce[7]*K,w[8]=D[8]+ce[8]*K,w}function Te(w,D){return w[0]===D[0]&&w[1]===D[1]&&w[2]===D[2]&&w[3]===D[3]&&w[4]===D[4]&&w[5]===D[5]&&w[6]===D[6]&&w[7]===D[7]&&w[8]===D[8]}function se(w,D){var ce=w[0],K=w[1],oe=w[2],pe=w[3],be=w[4],De=w[5],Ue=w[6],ke=w[7],Fe=w[8],Ye=D[0],Ge=D[1],Xe=D[2],et=D[3],tt=D[4],Ve=D[5],ot=D[6],pt=D[7],Et=D[8];return Math.abs(ce-Ye)<=x.b*Math.max(1,Math.abs(ce),Math.abs(Ye))&&Math.abs(K-Ge)<=x.b*Math.max(1,Math.abs(K),Math.abs(Ge))&&Math.abs(oe-Xe)<=x.b*Math.max(1,Math.abs(oe),Math.abs(Xe))&&Math.abs(pe-et)<=x.b*Math.max(1,Math.abs(pe),Math.abs(et))&&Math.abs(be-tt)<=x.b*Math.max(1,Math.abs(be),Math.abs(tt))&&Math.abs(De-Ve)<=x.b*Math.max(1,Math.abs(De),Math.abs(Ve))&&Math.abs(Ue-ot)<=x.b*Math.max(1,Math.abs(Ue),Math.abs(ot))&&Math.abs(ke-pt)<=x.b*Math.max(1,Math.abs(ke),Math.abs(pt))&&Math.abs(Fe-Et)<=x.b*Math.max(1,Math.abs(Fe),Math.abs(Et))}var ee=P,te=W;function U(){var w=new x.a(16);return x.a!=Float32Array&&(w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[11]=0,w[12]=0,w[13]=0,w[14]=0),w[0]=1,w[5]=1,w[10]=1,w[15]=1,w}function X(w){var D=new x.a(16);return D[0]=w[0],D[1]=w[1],D[2]=w[2],D[3]=w[3],D[4]=w[4],D[5]=w[5],D[6]=w[6],D[7]=w[7],D[8]=w[8],D[9]=w[9],D[10]=w[10],D[11]=w[11],D[12]=w[12],D[13]=w[13],D[14]=w[14],D[15]=w[15],D}function B(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w[4]=D[4],w[5]=D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w[9]=D[9],w[10]=D[10],w[11]=D[11],w[12]=D[12],w[13]=D[13],w[14]=D[14],w[15]=D[15],w}function J(w,D,ce,K,oe,pe,be,De,Ue,ke,Fe,Ye,Ge,Xe,et,tt){var Ve=new x.a(16);return Ve[0]=w,Ve[1]=D,Ve[2]=ce,Ve[3]=K,Ve[4]=oe,Ve[5]=pe,Ve[6]=be,Ve[7]=De,Ve[8]=Ue,Ve[9]=ke,Ve[10]=Fe,Ve[11]=Ye,Ve[12]=Ge,Ve[13]=Xe,Ve[14]=et,Ve[15]=tt,Ve}function ne(w,D,ce,K,oe,pe,be,De,Ue,ke,Fe,Ye,Ge,Xe,et,tt,Ve){return w[0]=D,w[1]=ce,w[2]=K,w[3]=oe,w[4]=pe,w[5]=be,w[6]=De,w[7]=Ue,w[8]=ke,w[9]=Fe,w[10]=Ye,w[11]=Ge,w[12]=Xe,w[13]=et,w[14]=tt,w[15]=Ve,w}function ie(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=1,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}function Z(w,D){if(w===D){var ce=D[1],K=D[2],oe=D[3],pe=D[6],be=D[7],De=D[11];w[1]=D[4],w[2]=D[8],w[3]=D[12],w[4]=ce,w[6]=D[9],w[7]=D[13],w[8]=K,w[9]=pe,w[11]=D[14],w[12]=oe,w[13]=be,w[14]=De}else w[0]=D[0],w[1]=D[4],w[2]=D[8],w[3]=D[12],w[4]=D[1],w[5]=D[5],w[6]=D[9],w[7]=D[13],w[8]=D[2],w[9]=D[6],w[10]=D[10],w[11]=D[14],w[12]=D[3],w[13]=D[7],w[14]=D[11],w[15]=D[15];return w}function fe(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=D[4],De=D[5],Ue=D[6],ke=D[7],Fe=D[8],Ye=D[9],Ge=D[10],Xe=D[11],et=D[12],tt=D[13],Ve=D[14],ot=D[15],pt=ce*De-K*be,Et=ce*Ue-oe*be,mt=ce*ke-pe*be,xt=K*Ue-oe*De,Ot=K*ke-pe*De,yt=oe*ke-pe*Ue,qe=Fe*tt-Ye*et,at=Fe*Ve-Ge*et,ht=Fe*ot-Xe*et,Mt=Ye*Ve-Ge*tt,zt=Ye*ot-Xe*tt,Ut=Ge*ot-Xe*Ve,Xt=pt*Ut-Et*zt+mt*Mt+xt*ht-Ot*at+yt*qe;return Xt?(Xt=1/Xt,w[0]=(De*Ut-Ue*zt+ke*Mt)*Xt,w[1]=(oe*zt-K*Ut-pe*Mt)*Xt,w[2]=(tt*yt-Ve*Ot+ot*xt)*Xt,w[3]=(Ge*Ot-Ye*yt-Xe*xt)*Xt,w[4]=(Ue*ht-be*Ut-ke*at)*Xt,w[5]=(ce*Ut-oe*ht+pe*at)*Xt,w[6]=(Ve*mt-et*yt-ot*Et)*Xt,w[7]=(Fe*yt-Ge*mt+Xe*Et)*Xt,w[8]=(be*zt-De*ht+ke*qe)*Xt,w[9]=(K*ht-ce*zt-pe*qe)*Xt,w[10]=(et*Ot-tt*mt+ot*pt)*Xt,w[11]=(Ye*mt-Fe*Ot-Xe*pt)*Xt,w[12]=(De*at-be*Mt-Ue*qe)*Xt,w[13]=(ce*Mt-K*at+oe*qe)*Xt,w[14]=(tt*Et-et*xt-Ve*pt)*Xt,w[15]=(Fe*xt-Ye*Et+Ge*pt)*Xt,w):null}function _e(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=D[4],De=D[5],Ue=D[6],ke=D[7],Fe=D[8],Ye=D[9],Ge=D[10],Xe=D[11],et=D[12],tt=D[13],Ve=D[14],ot=D[15];return w[0]=De*(Ge*ot-Xe*Ve)-Ye*(Ue*ot-ke*Ve)+tt*(Ue*Xe-ke*Ge),w[1]=-(K*(Ge*ot-Xe*Ve)-Ye*(oe*ot-pe*Ve)+tt*(oe*Xe-pe*Ge)),w[2]=K*(Ue*ot-ke*Ve)-De*(oe*ot-pe*Ve)+tt*(oe*ke-pe*Ue),w[3]=-(K*(Ue*Xe-ke*Ge)-De*(oe*Xe-pe*Ge)+Ye*(oe*ke-pe*Ue)),w[4]=-(be*(Ge*ot-Xe*Ve)-Fe*(Ue*ot-ke*Ve)+et*(Ue*Xe-ke*Ge)),w[5]=ce*(Ge*ot-Xe*Ve)-Fe*(oe*ot-pe*Ve)+et*(oe*Xe-pe*Ge),w[6]=-(ce*(Ue*ot-ke*Ve)-be*(oe*ot-pe*Ve)+et*(oe*ke-pe*Ue)),w[7]=ce*(Ue*Xe-ke*Ge)-be*(oe*Xe-pe*Ge)+Fe*(oe*ke-pe*Ue),w[8]=be*(Ye*ot-Xe*tt)-Fe*(De*ot-ke*tt)+et*(De*Xe-ke*Ye),w[9]=-(ce*(Ye*ot-Xe*tt)-Fe*(K*ot-pe*tt)+et*(K*Xe-pe*Ye)),w[10]=ce*(De*ot-ke*tt)-be*(K*ot-pe*tt)+et*(K*ke-pe*De),w[11]=-(ce*(De*Xe-ke*Ye)-be*(K*Xe-pe*Ye)+Fe*(K*ke-pe*De)),w[12]=-(be*(Ye*Ve-Ge*tt)-Fe*(De*Ve-Ue*tt)+et*(De*Ge-Ue*Ye)),w[13]=ce*(Ye*Ve-Ge*tt)-Fe*(K*Ve-oe*tt)+et*(K*Ge-oe*Ye),w[14]=-(ce*(De*Ve-Ue*tt)-be*(K*Ve-oe*tt)+et*(K*Ue-oe*De)),w[15]=ce*(De*Ge-Ue*Ye)-be*(K*Ge-oe*Ye)+Fe*(K*Ue-oe*De),w}function je(w){var D=w[0],ce=w[1],K=w[2],oe=w[3],pe=w[4],be=w[5],De=w[6],Ue=w[7],ke=w[8],Fe=w[9],Ye=w[10],Ge=w[11],Xe=w[12],et=w[13],tt=w[14],Ve=w[15];return(D*be-ce*pe)*(Ye*Ve-Ge*tt)-(D*De-K*pe)*(Fe*Ve-Ge*et)+(D*Ue-oe*pe)*(Fe*tt-Ye*et)+(ce*De-K*be)*(ke*Ve-Ge*Xe)-(ce*Ue-oe*be)*(ke*tt-Ye*Xe)+(K*Ue-oe*De)*(ke*et-Fe*Xe)}function Me(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=D[3],De=D[4],Ue=D[5],ke=D[6],Fe=D[7],Ye=D[8],Ge=D[9],Xe=D[10],et=D[11],tt=D[12],Ve=D[13],ot=D[14],pt=D[15],Et=ce[0],mt=ce[1],xt=ce[2],Ot=ce[3];return w[0]=Et*K+mt*De+xt*Ye+Ot*tt,w[1]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[2]=Et*pe+mt*ke+xt*Xe+Ot*ot,w[3]=Et*be+mt*Fe+xt*et+Ot*pt,Et=ce[4],mt=ce[5],xt=ce[6],Ot=ce[7],w[4]=Et*K+mt*De+xt*Ye+Ot*tt,w[5]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[6]=Et*pe+mt*ke+xt*Xe+Ot*ot,w[7]=Et*be+mt*Fe+xt*et+Ot*pt,Et=ce[8],mt=ce[9],xt=ce[10],Ot=ce[11],w[8]=Et*K+mt*De+xt*Ye+Ot*tt,w[9]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[10]=Et*pe+mt*ke+xt*Xe+Ot*ot,w[11]=Et*be+mt*Fe+xt*et+Ot*pt,Et=ce[12],mt=ce[13],xt=ce[14],Ot=ce[15],w[12]=Et*K+mt*De+xt*Ye+Ot*tt,w[13]=Et*oe+mt*Ue+xt*Ge+Ot*Ve,w[14]=Et*pe+mt*ke+xt*Xe+Ot*ot,w[15]=Et*be+mt*Fe+xt*et+Ot*pt,w}function Ae(w,D,ce){var K,oe,pe,be,De,Ue,ke,Fe,Ye,Ge,Xe,et,tt=ce[0],Ve=ce[1],ot=ce[2];return D===w?(w[12]=D[0]*tt+D[4]*Ve+D[8]*ot+D[12],w[13]=D[1]*tt+D[5]*Ve+D[9]*ot+D[13],w[14]=D[2]*tt+D[6]*Ve+D[10]*ot+D[14],w[15]=D[3]*tt+D[7]*Ve+D[11]*ot+D[15]):(K=D[0],oe=D[1],pe=D[2],be=D[3],De=D[4],Ue=D[5],ke=D[6],Fe=D[7],Ye=D[8],Ge=D[9],Xe=D[10],et=D[11],w[0]=K,w[1]=oe,w[2]=pe,w[3]=be,w[4]=De,w[5]=Ue,w[6]=ke,w[7]=Fe,w[8]=Ye,w[9]=Ge,w[10]=Xe,w[11]=et,w[12]=K*tt+De*Ve+Ye*ot+D[12],w[13]=oe*tt+Ue*Ve+Ge*ot+D[13],w[14]=pe*tt+ke*Ve+Xe*ot+D[14],w[15]=be*tt+Fe*Ve+et*ot+D[15]),w}function Le(w,D,ce){var K=ce[0],oe=ce[1],pe=ce[2];return w[0]=D[0]*K,w[1]=D[1]*K,w[2]=D[2]*K,w[3]=D[3]*K,w[4]=D[4]*oe,w[5]=D[5]*oe,w[6]=D[6]*oe,w[7]=D[7]*oe,w[8]=D[8]*pe,w[9]=D[9]*pe,w[10]=D[10]*pe,w[11]=D[11]*pe,w[12]=D[12],w[13]=D[13],w[14]=D[14],w[15]=D[15],w}function Se(w,D,ce,K){var oe,pe,be,De,Ue,ke,Fe,Ye,Ge,Xe,et,tt,Ve,ot,pt,Et,mt,xt,Ot,yt,qe,at,ht,Mt,zt=K[0],Ut=K[1],Xt=K[2],fr=Math.hypot(zt,Ut,Xt);return fr0?(ce[0]=2*(De*be+Fe*K+Ue*pe-ke*oe)/Ye,ce[1]=2*(Ue*be+Fe*oe+ke*K-De*pe)/Ye,ce[2]=2*(ke*be+Fe*pe+De*oe-Ue*K)/Ye):(ce[0]=2*(De*be+Fe*K+Ue*pe-ke*oe),ce[1]=2*(Ue*be+Fe*oe+ke*K-De*pe),ce[2]=2*(ke*be+Fe*pe+De*oe-Ue*K)),Qt(w,D,ce),w}function nr(w,D){return w[0]=D[12],w[1]=D[13],w[2]=D[14],w}function Mr(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[4],be=D[5],De=D[6],Ue=D[8],ke=D[9],Fe=D[10];return w[0]=Math.hypot(ce,K,oe),w[1]=Math.hypot(pe,be,De),w[2]=Math.hypot(Ue,ke,Fe),w}function ar(w,D){var ce=new x.a(3);Mr(ce,D);var K=1/ce[0],oe=1/ce[1],pe=1/ce[2],be=D[0]*K,De=D[1]*oe,Ue=D[2]*pe,ke=D[4]*K,Fe=D[5]*oe,Ye=D[6]*pe,Ge=D[8]*K,Xe=D[9]*oe,et=D[10]*pe,tt=be+Fe+et,Ve=0;return tt>0?(Ve=2*Math.sqrt(tt+1),w[3]=.25*Ve,w[0]=(Ye-Xe)/Ve,w[1]=(Ge-Ue)/Ve,w[2]=(De-ke)/Ve):be>Fe&&be>et?(Ve=2*Math.sqrt(1+be-Fe-et),w[3]=(Ye-Xe)/Ve,w[0]=.25*Ve,w[1]=(De+ke)/Ve,w[2]=(Ge+Ue)/Ve):Fe>et?(Ve=2*Math.sqrt(1+Fe-be-et),w[3]=(Ge-Ue)/Ve,w[0]=(De+ke)/Ve,w[1]=.25*Ve,w[2]=(Ye+Xe)/Ve):(Ve=2*Math.sqrt(1+et-be-Fe),w[3]=(De-ke)/Ve,w[0]=(Ge+Ue)/Ve,w[1]=(Ye+Xe)/Ve,w[2]=.25*Ve),w}function yr(w,D,ce,K){var oe=D[0],pe=D[1],be=D[2],De=D[3],Ue=oe+oe,ke=pe+pe,Fe=be+be,Ye=oe*Ue,Ge=oe*ke,Xe=oe*Fe,et=pe*ke,tt=pe*Fe,Ve=be*Fe,ot=De*Ue,pt=De*ke,Et=De*Fe,mt=K[0],xt=K[1],Ot=K[2];return w[0]=(1-(et+Ve))*mt,w[1]=(Ge+Et)*mt,w[2]=(Xe-pt)*mt,w[3]=0,w[4]=(Ge-Et)*xt,w[5]=(1-(Ye+Ve))*xt,w[6]=(tt+ot)*xt,w[7]=0,w[8]=(Xe+pt)*Ot,w[9]=(tt-ot)*Ot,w[10]=(1-(Ye+et))*Ot,w[11]=0,w[12]=ce[0],w[13]=ce[1],w[14]=ce[2],w[15]=1,w}function mr(w,D,ce,K,oe){var pe=D[0],be=D[1],De=D[2],Ue=D[3],ke=pe+pe,Fe=be+be,Ye=De+De,Ge=pe*ke,Xe=pe*Fe,et=pe*Ye,tt=be*Fe,Ve=be*Ye,ot=De*Ye,pt=Ue*ke,Et=Ue*Fe,mt=Ue*Ye,xt=K[0],Ot=K[1],yt=K[2],qe=oe[0],at=oe[1],ht=oe[2],Mt=(1-(tt+ot))*xt,zt=(Xe+mt)*xt,Ut=(et-Et)*xt,Xt=(Xe-mt)*Ot,fr=(1-(Ge+ot))*Ot,Or=(Ve+pt)*Ot,kr=(et+Et)*yt,br=(Ve-pt)*yt,ur=(1-(Ge+tt))*yt;return w[0]=Mt,w[1]=zt,w[2]=Ut,w[3]=0,w[4]=Xt,w[5]=fr,w[6]=Or,w[7]=0,w[8]=kr,w[9]=br,w[10]=ur,w[11]=0,w[12]=ce[0]+qe-(Mt*qe+Xt*at+kr*ht),w[13]=ce[1]+at-(zt*qe+fr*at+br*ht),w[14]=ce[2]+ht-(Ut*qe+Or*at+ur*ht),w[15]=1,w}function Rr(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=ce+ce,De=K+K,Ue=oe+oe,ke=ce*be,Fe=K*be,Ye=K*De,Ge=oe*be,Xe=oe*De,et=oe*Ue,tt=pe*be,Ve=pe*De,ot=pe*Ue;return w[0]=1-Ye-et,w[1]=Fe+ot,w[2]=Ge-Ve,w[3]=0,w[4]=Fe-ot,w[5]=1-ke-et,w[6]=Xe+tt,w[7]=0,w[8]=Ge+Ve,w[9]=Xe-tt,w[10]=1-ke-Ye,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}function pr(w,D,ce,K,oe,pe,be){var De=1/(ce-D),Ue=1/(oe-K),ke=1/(pe-be);return w[0]=2*pe*De,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=2*pe*Ue,w[6]=0,w[7]=0,w[8]=(ce+D)*De,w[9]=(oe+K)*Ue,w[10]=(be+pe)*ke,w[11]=-1,w[12]=0,w[13]=0,w[14]=be*pe*2*ke,w[15]=0,w}function xr(w,D,ce,K,oe){var pe,be=1/Math.tan(D/2);return w[0]=be/ce,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=be,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[11]=-1,w[12]=0,w[13]=0,w[15]=0,oe!=null&&oe!==1/0?(pe=1/(K-oe),w[10]=(oe+K)*pe,w[14]=2*oe*K*pe):(w[10]=-1,w[14]=-2*K),w}function dr(w,D,ce,K){var oe=Math.tan(D.upDegrees*Math.PI/180),pe=Math.tan(D.downDegrees*Math.PI/180),be=Math.tan(D.leftDegrees*Math.PI/180),De=Math.tan(D.rightDegrees*Math.PI/180),Ue=2/(be+De),ke=2/(oe+pe);return w[0]=Ue,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=ke,w[6]=0,w[7]=0,w[8]=-(be-De)*Ue*.5,w[9]=(oe-pe)*ke*.5,w[10]=K/(ce-K),w[11]=-1,w[12]=0,w[13]=0,w[14]=K*ce/(ce-K),w[15]=0,w}function Gr(w,D,ce,K,oe,pe,be){var De=1/(D-ce),Ue=1/(K-oe),ke=1/(pe-be);return w[0]=-2*De,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=-2*Ue,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=2*ke,w[11]=0,w[12]=(D+ce)*De,w[13]=(oe+K)*Ue,w[14]=(be+pe)*ke,w[15]=1,w}function Lr(w,D,ce,K){var oe,pe,be,De,Ue,ke,Fe,Ye,Ge,Xe,et=D[0],tt=D[1],Ve=D[2],ot=K[0],pt=K[1],Et=K[2],mt=ce[0],xt=ce[1],Ot=ce[2];return Math.abs(et-mt)0&&(Fe*=Xe=1/Math.sqrt(Xe),Ye*=Xe,Ge*=Xe);var et=Ue*Ge-ke*Ye,tt=ke*Fe-De*Ge,Ve=De*Ye-Ue*Fe;return(Xe=et*et+tt*tt+Ve*Ve)>0&&(et*=Xe=1/Math.sqrt(Xe),tt*=Xe,Ve*=Xe),w[0]=et,w[1]=tt,w[2]=Ve,w[3]=0,w[4]=Ye*Ve-Ge*tt,w[5]=Ge*et-Fe*Ve,w[6]=Fe*tt-Ye*et,w[7]=0,w[8]=Fe,w[9]=Ye,w[10]=Ge,w[11]=0,w[12]=oe,w[13]=pe,w[14]=be,w[15]=1,w}function Ur(w){return"mat4("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+", "+w[4]+", "+w[5]+", "+w[6]+", "+w[7]+", "+w[8]+", "+w[9]+", "+w[10]+", "+w[11]+", "+w[12]+", "+w[13]+", "+w[14]+", "+w[15]+")"}function Nr(w){return Math.hypot(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8],w[9],w[10],w[11],w[12],w[13],w[14],w[15])}function Dr(w,D,ce){return w[0]=D[0]+ce[0],w[1]=D[1]+ce[1],w[2]=D[2]+ce[2],w[3]=D[3]+ce[3],w[4]=D[4]+ce[4],w[5]=D[5]+ce[5],w[6]=D[6]+ce[6],w[7]=D[7]+ce[7],w[8]=D[8]+ce[8],w[9]=D[9]+ce[9],w[10]=D[10]+ce[10],w[11]=D[11]+ce[11],w[12]=D[12]+ce[12],w[13]=D[13]+ce[13],w[14]=D[14]+ce[14],w[15]=D[15]+ce[15],w}function rn(w,D,ce){return w[0]=D[0]-ce[0],w[1]=D[1]-ce[1],w[2]=D[2]-ce[2],w[3]=D[3]-ce[3],w[4]=D[4]-ce[4],w[5]=D[5]-ce[5],w[6]=D[6]-ce[6],w[7]=D[7]-ce[7],w[8]=D[8]-ce[8],w[9]=D[9]-ce[9],w[10]=D[10]-ce[10],w[11]=D[11]-ce[11],w[12]=D[12]-ce[12],w[13]=D[13]-ce[13],w[14]=D[14]-ce[14],w[15]=D[15]-ce[15],w}function Ir(w,D,ce){return w[0]=D[0]*ce,w[1]=D[1]*ce,w[2]=D[2]*ce,w[3]=D[3]*ce,w[4]=D[4]*ce,w[5]=D[5]*ce,w[6]=D[6]*ce,w[7]=D[7]*ce,w[8]=D[8]*ce,w[9]=D[9]*ce,w[10]=D[10]*ce,w[11]=D[11]*ce,w[12]=D[12]*ce,w[13]=D[13]*ce,w[14]=D[14]*ce,w[15]=D[15]*ce,w}function On(w,D,ce,K){return w[0]=D[0]+ce[0]*K,w[1]=D[1]+ce[1]*K,w[2]=D[2]+ce[2]*K,w[3]=D[3]+ce[3]*K,w[4]=D[4]+ce[4]*K,w[5]=D[5]+ce[5]*K,w[6]=D[6]+ce[6]*K,w[7]=D[7]+ce[7]*K,w[8]=D[8]+ce[8]*K,w[9]=D[9]+ce[9]*K,w[10]=D[10]+ce[10]*K,w[11]=D[11]+ce[11]*K,w[12]=D[12]+ce[12]*K,w[13]=D[13]+ce[13]*K,w[14]=D[14]+ce[14]*K,w[15]=D[15]+ce[15]*K,w}function In(w,D){return w[0]===D[0]&&w[1]===D[1]&&w[2]===D[2]&&w[3]===D[3]&&w[4]===D[4]&&w[5]===D[5]&&w[6]===D[6]&&w[7]===D[7]&&w[8]===D[8]&&w[9]===D[9]&&w[10]===D[10]&&w[11]===D[11]&&w[12]===D[12]&&w[13]===D[13]&&w[14]===D[14]&&w[15]===D[15]}function Dn(w,D){var ce=w[0],K=w[1],oe=w[2],pe=w[3],be=w[4],De=w[5],Ue=w[6],ke=w[7],Fe=w[8],Ye=w[9],Ge=w[10],Xe=w[11],et=w[12],tt=w[13],Ve=w[14],ot=w[15],pt=D[0],Et=D[1],mt=D[2],xt=D[3],Ot=D[4],yt=D[5],qe=D[6],at=D[7],ht=D[8],Mt=D[9],zt=D[10],Ut=D[11],Xt=D[12],fr=D[13],Or=D[14],kr=D[15];return Math.abs(ce-pt)<=x.b*Math.max(1,Math.abs(ce),Math.abs(pt))&&Math.abs(K-Et)<=x.b*Math.max(1,Math.abs(K),Math.abs(Et))&&Math.abs(oe-mt)<=x.b*Math.max(1,Math.abs(oe),Math.abs(mt))&&Math.abs(pe-xt)<=x.b*Math.max(1,Math.abs(pe),Math.abs(xt))&&Math.abs(be-Ot)<=x.b*Math.max(1,Math.abs(be),Math.abs(Ot))&&Math.abs(De-yt)<=x.b*Math.max(1,Math.abs(De),Math.abs(yt))&&Math.abs(Ue-qe)<=x.b*Math.max(1,Math.abs(Ue),Math.abs(qe))&&Math.abs(ke-at)<=x.b*Math.max(1,Math.abs(ke),Math.abs(at))&&Math.abs(Fe-ht)<=x.b*Math.max(1,Math.abs(Fe),Math.abs(ht))&&Math.abs(Ye-Mt)<=x.b*Math.max(1,Math.abs(Ye),Math.abs(Mt))&&Math.abs(Ge-zt)<=x.b*Math.max(1,Math.abs(Ge),Math.abs(zt))&&Math.abs(Xe-Ut)<=x.b*Math.max(1,Math.abs(Xe),Math.abs(Ut))&&Math.abs(et-Xt)<=x.b*Math.max(1,Math.abs(et),Math.abs(Xt))&&Math.abs(tt-fr)<=x.b*Math.max(1,Math.abs(tt),Math.abs(fr))&&Math.abs(Ve-Or)<=x.b*Math.max(1,Math.abs(Ve),Math.abs(Or))&&Math.abs(ot-kr)<=x.b*Math.max(1,Math.abs(ot),Math.abs(kr))}var Rn=Me,gn=rn,Er=o(39);function ln(){var w=new x.a(4);return x.a!=Float32Array&&(w[0]=0,w[1]=0,w[2]=0,w[3]=0),w}function yn(w){var D=new x.a(4);return D[0]=w[0],D[1]=w[1],D[2]=w[2],D[3]=w[3],D}function mn(w,D,ce,K){var oe=new x.a(4);return oe[0]=w,oe[1]=D,oe[2]=ce,oe[3]=K,oe}function Qn(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w}function Un(w,D,ce,K,oe){return w[0]=D,w[1]=ce,w[2]=K,w[3]=oe,w}function ri(w,D,ce){return w[0]=D[0]+ce[0],w[1]=D[1]+ce[1],w[2]=D[2]+ce[2],w[3]=D[3]+ce[3],w}function Oi(w,D,ce){return w[0]=D[0]-ce[0],w[1]=D[1]-ce[1],w[2]=D[2]-ce[2],w[3]=D[3]-ce[3],w}function ni(w,D,ce){return w[0]=D[0]*ce[0],w[1]=D[1]*ce[1],w[2]=D[2]*ce[2],w[3]=D[3]*ce[3],w}function Bn(w,D,ce){return w[0]=D[0]/ce[0],w[1]=D[1]/ce[1],w[2]=D[2]/ce[2],w[3]=D[3]/ce[3],w}function wi(w,D){return w[0]=Math.ceil(D[0]),w[1]=Math.ceil(D[1]),w[2]=Math.ceil(D[2]),w[3]=Math.ceil(D[3]),w}function Mi(w,D){return w[0]=Math.floor(D[0]),w[1]=Math.floor(D[1]),w[2]=Math.floor(D[2]),w[3]=Math.floor(D[3]),w}function Wn(w,D,ce){return w[0]=Math.min(D[0],ce[0]),w[1]=Math.min(D[1],ce[1]),w[2]=Math.min(D[2],ce[2]),w[3]=Math.min(D[3],ce[3]),w}function ii(w,D,ce){return w[0]=Math.max(D[0],ce[0]),w[1]=Math.max(D[1],ce[1]),w[2]=Math.max(D[2],ce[2]),w[3]=Math.max(D[3],ce[3]),w}function Jn(w,D){return w[0]=Math.round(D[0]),w[1]=Math.round(D[1]),w[2]=Math.round(D[2]),w[3]=Math.round(D[3]),w}function hi(w,D,ce){return w[0]=D[0]*ce,w[1]=D[1]*ce,w[2]=D[2]*ce,w[3]=D[3]*ce,w}function Vn(w,D,ce,K){return w[0]=D[0]+ce[0]*K,w[1]=D[1]+ce[1]*K,w[2]=D[2]+ce[2]*K,w[3]=D[3]+ce[3]*K,w}function oi(w,D){var ce=D[0]-w[0],K=D[1]-w[1],oe=D[2]-w[2],pe=D[3]-w[3];return Math.hypot(ce,K,oe,pe)}function di(w,D){var ce=D[0]-w[0],K=D[1]-w[1],oe=D[2]-w[2],pe=D[3]-w[3];return ce*ce+K*K+oe*oe+pe*pe}function _i(w){var D=w[0],ce=w[1],K=w[2],oe=w[3];return Math.hypot(D,ce,K,oe)}function Xn(w){var D=w[0],ce=w[1],K=w[2],oe=w[3];return D*D+ce*ce+K*K+oe*oe}function Yn(w,D){return w[0]=-D[0],w[1]=-D[1],w[2]=-D[2],w[3]=-D[3],w}function ki(w,D){return w[0]=1/D[0],w[1]=1/D[1],w[2]=1/D[2],w[3]=1/D[3],w}function Gi(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=ce*ce+K*K+oe*oe+pe*pe;return be>0&&(be=1/Math.sqrt(be)),w[0]=ce*be,w[1]=K*be,w[2]=oe*be,w[3]=pe*be,w}function Hn(w,D){return w[0]*D[0]+w[1]*D[1]+w[2]*D[2]+w[3]*D[3]}function oo(w,D,ce,K){var oe=ce[0]*K[1]-ce[1]*K[0],pe=ce[0]*K[2]-ce[2]*K[0],be=ce[0]*K[3]-ce[3]*K[0],De=ce[1]*K[2]-ce[2]*K[1],Ue=ce[1]*K[3]-ce[3]*K[1],ke=ce[2]*K[3]-ce[3]*K[2],Fe=D[0],Ye=D[1],Ge=D[2],Xe=D[3];return w[0]=Ye*ke-Ge*Ue+Xe*De,w[1]=-Fe*ke+Ge*be-Xe*pe,w[2]=Fe*Ue-Ye*be+Xe*oe,w[3]=-Fe*De+Ye*pe-Ge*oe,w}function ci(w,D,ce,K){var oe=D[0],pe=D[1],be=D[2],De=D[3];return w[0]=oe+K*(ce[0]-oe),w[1]=pe+K*(ce[1]-pe),w[2]=be+K*(ce[2]-be),w[3]=De+K*(ce[3]-De),w}function li(w,D){var ce,K,oe,pe,be,De;D=D||1;do be=(ce=2*x.c()-1)*ce+(K=2*x.c()-1)*K;while(be>=1);do De=(oe=2*x.c()-1)*oe+(pe=2*x.c()-1)*pe;while(De>=1);var Ue=Math.sqrt((1-be)/De);return w[0]=D*ce,w[1]=D*K,w[2]=D*oe*Ue,w[3]=D*pe*Ue,w}function ao(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=D[3];return w[0]=ce[0]*K+ce[4]*oe+ce[8]*pe+ce[12]*be,w[1]=ce[1]*K+ce[5]*oe+ce[9]*pe+ce[13]*be,w[2]=ce[2]*K+ce[6]*oe+ce[10]*pe+ce[14]*be,w[3]=ce[3]*K+ce[7]*oe+ce[11]*pe+ce[15]*be,w}function Zi(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=ce[0],De=ce[1],Ue=ce[2],ke=ce[3],Fe=ke*K+De*pe-Ue*oe,Ye=ke*oe+Ue*K-be*pe,Ge=ke*pe+be*oe-De*K,Xe=-be*K-De*oe-Ue*pe;return w[0]=Fe*ke+Xe*-be+Ye*-Ue-Ge*-De,w[1]=Ye*ke+Xe*-De+Ge*-be-Fe*-Ue,w[2]=Ge*ke+Xe*-Ue+Fe*-De-Ye*-be,w[3]=D[3],w}function $i(w){return w[0]=0,w[1]=0,w[2]=0,w[3]=0,w}function vo(w){return"vec4("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+")"}function ir(w,D){return w[0]===D[0]&&w[1]===D[1]&&w[2]===D[2]&&w[3]===D[3]}function We(w,D){var ce=w[0],K=w[1],oe=w[2],pe=w[3],be=D[0],De=D[1],Ue=D[2],ke=D[3];return Math.abs(ce-be)<=x.b*Math.max(1,Math.abs(ce),Math.abs(be))&&Math.abs(K-De)<=x.b*Math.max(1,Math.abs(K),Math.abs(De))&&Math.abs(oe-Ue)<=x.b*Math.max(1,Math.abs(oe),Math.abs(Ue))&&Math.abs(pe-ke)<=x.b*Math.max(1,Math.abs(pe),Math.abs(ke))}var Ne,He=Oi,ft=ni,Tt=Bn,Ht=oi,vr=di,Be=_i,ut=Xn,bt=(Ne=ln(),function(w,D,ce,K,oe,pe){var be,De;for(D||(D=4),ce||(ce=0),De=K?Math.min(K*D+ce,w.length):w.length,be=ce;bex.b?(w[0]=D[0]/K,w[1]=D[1]/K,w[2]=D[2]/K):(w[0]=1,w[1]=0,w[2]=0),ce}function lt(w,D){var ce=Gn(w,D);return Math.acos(2*ce*ce-1)}function vt(w,D,ce){var K=D[0],oe=D[1],pe=D[2],be=D[3],De=ce[0],Ue=ce[1],ke=ce[2],Fe=ce[3];return w[0]=K*Fe+be*De+oe*ke-pe*Ue,w[1]=oe*Fe+be*Ue+pe*De-K*ke,w[2]=pe*Fe+be*ke+K*Ue-oe*De,w[3]=be*Fe-K*De-oe*Ue-pe*ke,w}function wt(w,D,ce){ce*=.5;var K=D[0],oe=D[1],pe=D[2],be=D[3],De=Math.sin(ce),Ue=Math.cos(ce);return w[0]=K*Ue+be*De,w[1]=oe*Ue+pe*De,w[2]=pe*Ue-oe*De,w[3]=be*Ue-K*De,w}function Lt(w,D,ce){ce*=.5;var K=D[0],oe=D[1],pe=D[2],be=D[3],De=Math.sin(ce),Ue=Math.cos(ce);return w[0]=K*Ue-pe*De,w[1]=oe*Ue+be*De,w[2]=pe*Ue+K*De,w[3]=be*Ue-oe*De,w}function Wt(w,D,ce){ce*=.5;var K=D[0],oe=D[1],pe=D[2],be=D[3],De=Math.sin(ce),Ue=Math.cos(ce);return w[0]=K*Ue+oe*De,w[1]=oe*Ue-K*De,w[2]=pe*Ue+be*De,w[3]=be*Ue-pe*De,w}function er(w,D){var ce=D[0],K=D[1],oe=D[2];return w[0]=ce,w[1]=K,w[2]=oe,w[3]=Math.sqrt(Math.abs(1-ce*ce-K*K-oe*oe)),w}function rr(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=Math.sqrt(ce*ce+K*K+oe*oe),De=Math.exp(pe),Ue=be>0?De*Math.sin(be)/be:0;return w[0]=ce*Ue,w[1]=K*Ue,w[2]=oe*Ue,w[3]=De*Math.cos(be),w}function sr(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=Math.sqrt(ce*ce+K*K+oe*oe),De=be>0?Math.atan2(be,pe)/be:0;return w[0]=ce*De,w[1]=K*De,w[2]=oe*De,w[3]=.5*Math.log(ce*ce+K*K+oe*oe+pe*pe),w}function gr(w,D,ce){return sr(w,D),Ai(w,w,ce),rr(w,w),w}function Vr(w,D,ce,K){var oe,pe,be,De,Ue,ke=D[0],Fe=D[1],Ye=D[2],Ge=D[3],Xe=ce[0],et=ce[1],tt=ce[2],Ve=ce[3];return(pe=ke*Xe+Fe*et+Ye*tt+Ge*Ve)<0&&(pe=-pe,Xe=-Xe,et=-et,tt=-tt,Ve=-Ve),1-pe>x.b?(oe=Math.acos(pe),be=Math.sin(oe),De=Math.sin((1-K)*oe)/be,Ue=Math.sin(K*oe)/be):(De=1-K,Ue=K),w[0]=De*ke+Ue*Xe,w[1]=De*Fe+Ue*et,w[2]=De*Ye+Ue*tt,w[3]=De*Ge+Ue*Ve,w}function Fr(w){var D=x.c(),ce=x.c(),K=x.c(),oe=Math.sqrt(1-D),pe=Math.sqrt(D);return w[0]=oe*Math.sin(2*Math.PI*ce),w[1]=oe*Math.cos(2*Math.PI*ce),w[2]=pe*Math.sin(2*Math.PI*K),w[3]=pe*Math.cos(2*Math.PI*K),w}function $r(w,D){var ce=D[0],K=D[1],oe=D[2],pe=D[3],be=ce*ce+K*K+oe*oe+pe*pe,De=be?1/be:0;return w[0]=-ce*De,w[1]=-K*De,w[2]=-oe*De,w[3]=pe*De,w}function Kr(w,D){return w[0]=-D[0],w[1]=-D[1],w[2]=-D[2],w[3]=D[3],w}function jn(w,D){var ce,K=D[0]+D[4]+D[8];if(K>0)ce=Math.sqrt(K+1),w[3]=.5*ce,ce=.5/ce,w[0]=(D[5]-D[7])*ce,w[1]=(D[6]-D[2])*ce,w[2]=(D[1]-D[3])*ce;else{var oe=0;D[4]>D[0]&&(oe=1),D[8]>D[3*oe+oe]&&(oe=2);var pe=(oe+1)%3,be=(oe+2)%3;ce=Math.sqrt(D[3*oe+oe]-D[3*pe+pe]-D[3*be+be]+1),w[oe]=.5*ce,ce=.5/ce,w[3]=(D[3*pe+be]-D[3*be+pe])*ce,w[pe]=(D[3*pe+oe]+D[3*oe+pe])*ce,w[be]=(D[3*be+oe]+D[3*oe+be])*ce}return w}function Cn(w,D,ce,K){var oe=.5*Math.PI/180;D*=oe,ce*=oe,K*=oe;var pe=Math.sin(D),be=Math.cos(D),De=Math.sin(ce),Ue=Math.cos(ce),ke=Math.sin(K),Fe=Math.cos(K);return w[0]=pe*Ue*Fe-be*De*ke,w[1]=be*De*Fe+pe*Ue*ke,w[2]=be*Ue*ke-pe*De*Fe,w[3]=be*Ue*Fe+pe*De*ke,w}function qn(w){return"quat("+w[0]+", "+w[1]+", "+w[2]+", "+w[3]+")"}var Qr,Mn,ai,Sn,si,Jr,ko=yn,Fi=mn,Qi=Qn,nn=Un,pi=ri,Ji=vt,Ai=hi,Gn=Hn,zi=ci,Di=_i,fi=Di,Ui=Xn,Ci=Ui,eo=Gi,so=ir,Vi=We,Ti=(Qr=Er.create(),Mn=Er.fromValues(1,0,0),ai=Er.fromValues(0,1,0),function(w,D,ce){var K=Er.dot(D,ce);return K<-.999999?(Er.cross(Qr,Mn,D),Er.len(Qr)<1e-6&&Er.cross(Qr,ai,D),Er.normalize(Qr,Qr),ze(w,Qr,Math.PI),w):K>.999999?(w[0]=0,w[1]=0,w[2]=0,w[3]=1,w):(Er.cross(Qr,D,ce),w[0]=Qr[0],w[1]=Qr[1],w[2]=Qr[2],w[3]=1+K,eo(w,w))}),_t=(Sn=Ft(),si=Ft(),function(w,D,ce,K,oe,pe){return Vr(Sn,D,oe,pe),Vr(si,ce,K,pe),Vr(w,Sn,si,2*pe*(1-pe)),w}),$e=(Jr=O(),function(w,D,ce,K){return Jr[0]=ce[0],Jr[3]=ce[1],Jr[6]=ce[2],Jr[1]=K[0],Jr[4]=K[1],Jr[7]=K[2],Jr[2]=-D[0],Jr[5]=-D[1],Jr[8]=-D[2],eo(w,jn(w,Jr))}),St=o(79)},function(R,b,o){"use strict";o.d(b,"AST_TOKEN_TYPES",function(){return h}),o.d(b,"STORAGE_CLASS",function(){return E}),o.d(b,"Target",function(){return m}),o.d(b,"DefineValuePlaceholder",function(){return A}),o(228),o(25),o(132),o(134),o(119),o(120),o(121),o(122),o(123),o(124),o(68),o(126),o(127),o(128),o(129);var f=o(118);o.d(b,"createEntity",function(){return f.b});var c=o(13);o.d(b,"IDENTIFIER",function(){return c.a});var M=o(91);o.d(b,"createWorldContainer",function(){return M.a});var _=o(237);o.d(b,"generateAABBFromVertices",function(){return _.a});var x=o(238);o.d(b,"isSafari",function(){return x.a}),o(267);var O=o(268);o.d(b,"AABB",function(){return O.a}),o.d(b,"Frustum",function(){return O.b});var S=o(114);o.o(S,"gl")&&o.d(b,"gl",function(){return S.gl});var g=o(250);o.o(g,"gl")&&o.d(b,"gl",function(){return g.gl});var h,y,E,m,p=o(251);o.o(p,"gl")&&o.d(b,"gl",function(){return p.gl}),o.o(S,"gl")&&o.d(b,"gl",function(){return S.gl}),function(C){C.Void="Void",C.Boolean="Boolean",C.Float="Float",C.Uint32="Uint32",C.Int32="Int32",C.Vector="Vector",C.Vector2Float="vec2",C.Vector3Float="vec3",C.Vector4Float="vec4",C.Vector2Boolean="vec2",C.Vector3Boolean="vec3",C.Vector4Boolean="vec4",C.Vector2Uint="vec2",C.Vector3Uint="vec3",C.Vector4Uint="vec4",C.Vector2Int="vec2",C.Vector3Int="vec3",C.Vector4Int="vec4",C.Matrix="Matrix",C.Matrix3x3Float="mat3x3",C.Matrix4x4Float="mat4x4",C.Struct="Struct",C.FloatArray="Float[]",C.Vector4FloatArray="vec4[]"}(h||(h={})),function(C){C.Program="Program",C.Identifier="Identifier",C.VariableDeclaration="VariableDeclaration",C.BlockStatement="BlockStatement",C.ReturnStatement="ReturnStatement",C.FunctionDeclaration="FunctionDeclaration",C.VariableDeclarator="VariableDeclarator",C.AssignmentExpression="AssignmentExpression",C.LogicalExpression="LogicalExpression",C.BinaryExpression="BinaryExpression",C.ArrayExpression="ArrayExpression",C.UnaryExpression="UnaryExpression",C.UpdateExpression="UpdateExpression",C.FunctionExpression="FunctionExpression",C.MemberExpression="MemberExpression",C.ConditionalExpression="ConditionalExpression",C.ExpressionStatement="ExpressionStatement",C.CallExpression="CallExpression",C.NumThreadStatement="NumThreadStatement",C.StorageStatement="StorageStatement",C.DoWhileStatement="DoWhileStatement",C.WhileStatement="WhileStatement",C.ForStatement="ForStatement",C.BreakStatement="BreakStatement",C.ContinueStatement="ContinueStatement",C.IfStatement="IfStatement",C.ImportedFunctionStatement="ImportedFunctionStatement"}(y||(y={})),function(C){C.Input="Input",C.Output="Output",C.Uniform="Uniform",C.Workgroup="Workgroup",C.UniformConstant="UniformConstant",C.Image="Image",C.StorageBuffer="StorageBuffer",C.Private="Private",C.Function="Function"}(E||(E={})),function(C){C.GLSL100="GLSL100",C.GLSL450="GLSL450",C.WGSL="WGSL"}(m||(m={}));var A="__DefineValuePlaceholder__"},function(R,b){R.exports=function(o,f,c){return f in o?Object.defineProperty(o,f,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[f]=c,o},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.multiBindToService=b.getServiceIdentifierAsString=b.typeConstraint=b.namedConstraint=b.taggedConstraint=b.traverseAncerstors=b.decorate=b.id=b.MetadataReader=b.postConstruct=b.targetName=b.multiInject=b.unmanaged=b.optional=b.LazyServiceIdentifer=b.inject=b.named=b.tagged=b.injectable=b.ContainerModule=b.AsyncContainerModule=b.TargetTypeEnum=b.BindingTypeEnum=b.BindingScopeEnum=b.Container=b.METADATA_KEY=void 0;var f=o(32);b.METADATA_KEY=f;var c=o(485);Object.defineProperty(b,"Container",{enumerable:!0,get:function(){return c.Container}});var M=o(54);Object.defineProperty(b,"BindingScopeEnum",{enumerable:!0,get:function(){return M.BindingScopeEnum}}),Object.defineProperty(b,"BindingTypeEnum",{enumerable:!0,get:function(){return M.BindingTypeEnum}}),Object.defineProperty(b,"TargetTypeEnum",{enumerable:!0,get:function(){return M.TargetTypeEnum}});var _=o(501);Object.defineProperty(b,"AsyncContainerModule",{enumerable:!0,get:function(){return _.AsyncContainerModule}}),Object.defineProperty(b,"ContainerModule",{enumerable:!0,get:function(){return _.ContainerModule}});var x=o(502);Object.defineProperty(b,"injectable",{enumerable:!0,get:function(){return x.injectable}});var O=o(503);Object.defineProperty(b,"tagged",{enumerable:!0,get:function(){return O.tagged}});var S=o(504);Object.defineProperty(b,"named",{enumerable:!0,get:function(){return S.named}});var g=o(233);Object.defineProperty(b,"inject",{enumerable:!0,get:function(){return g.inject}}),Object.defineProperty(b,"LazyServiceIdentifer",{enumerable:!0,get:function(){return g.LazyServiceIdentifer}});var h=o(505);Object.defineProperty(b,"optional",{enumerable:!0,get:function(){return h.optional}});var y=o(506);Object.defineProperty(b,"unmanaged",{enumerable:!0,get:function(){return y.unmanaged}});var E=o(507);Object.defineProperty(b,"multiInject",{enumerable:!0,get:function(){return E.multiInject}});var m=o(508);Object.defineProperty(b,"targetName",{enumerable:!0,get:function(){return m.targetName}});var p=o(509);Object.defineProperty(b,"postConstruct",{enumerable:!0,get:function(){return p.postConstruct}});var A=o(231);Object.defineProperty(b,"MetadataReader",{enumerable:!0,get:function(){return A.MetadataReader}});var C=o(66);Object.defineProperty(b,"id",{enumerable:!0,get:function(){return C.id}});var N=o(58);Object.defineProperty(b,"decorate",{enumerable:!0,get:function(){return N.decorate}});var P=o(236);Object.defineProperty(b,"traverseAncerstors",{enumerable:!0,get:function(){return P.traverseAncerstors}}),Object.defineProperty(b,"taggedConstraint",{enumerable:!0,get:function(){return P.taggedConstraint}}),Object.defineProperty(b,"namedConstraint",{enumerable:!0,get:function(){return P.namedConstraint}}),Object.defineProperty(b,"typeConstraint",{enumerable:!0,get:function(){return P.typeConstraint}});var L=o(90);Object.defineProperty(b,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return L.getServiceIdentifierAsString}});var z=o(510);Object.defineProperty(b,"multiBindToService",{enumerable:!0,get:function(){return z.multiBindToService}})},function(R,b){R.exports=function(o,f){if(!(o instanceof f))throw new TypeError("Cannot call a class as a function")},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){function o(f,c){for(var M=0;M"),Renderable:Symbol("Factory"),MeshSystem:Symbol("MeshSystem"),MeshComponentManager:Symbol("MeshComponentManager"),CullableComponentManager:Symbol("CullableComponentManager"),Geometry:Symbol("Geometry"),GeometrySystem:Symbol("GeometrySystem"),GeometryComponentManager:Symbol("GeometryComponentManager"),Material:Symbol("Material"),MaterialSystem:Symbol("MaterialSystem"),MaterialComponentManager:Symbol("MaterialComponentManager"),ForwardRenderPath:Symbol("ForwardRenderPath"),ComputeSystem:Symbol("ComputeSystem"),ComputeComponentManager:Symbol("ComputeComponentManager"),ComputeStrategy:Symbol("ComputeStrategy"),Systems:Symbol("Systems"),World:Symbol("World"),RenderEngine:Symbol("RenderEngine"),WebGPUEngine:Symbol("WebGPUEngine"),WebGLEngine:Symbol("WebGLEngine"),ShaderModuleService:Symbol("ShaderModuleService"),ConfigService:Symbol("ConfigService"),InteractorService:Symbol("InteractorService"),IEventEmitter:Symbol("IEventEmitter"),Light:Symbol("Light")}},function(R,b){function o(f,c,M,_,x,O,S){try{var g=f[O](S),h=g.value}catch(y){return void M(y)}g.done?c(h):Promise.resolve(h).then(_,x)}R.exports=function(f){return function(){var c=this,M=arguments;return new Promise(function(_,x){var O=f.apply(c,M);function S(h){o(O,_,x,S,g,"next",h)}function g(h){o(O,_,x,S,g,"throw",h)}S(void 0)})}},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";o.d(b,"d",function(){return c}),o.d(b,"b",function(){return M}),o.d(b,"e",function(){return _}),o.d(b,"f",function(){return x}),o.d(b,"l",function(){return O}),o.d(b,"j",function(){return S});var f=o(0);function c(){return window?window.devicePixelRatio:1}function M(g,h,y,E){var m=g-y,p=h-E;return Math.sqrt(m*m+p*p)}function _(g,h,y,E,m,p){return m>=g&&m<=g+y&&p>=h&&p<=h+E}function x(g,h){return!(h.minX>g.maxX||h.maxXg.maxY||h.maxY=0;return m?A?2*Math.PI-p:p:A?p:2*Math.PI-p}function h(y,E,m){return m?(y[0]=E[1],y[1]=-1*E[0]):(y[0]=-1*E[1],y[1]=E[0]),y}},function(R,b){function o(f){return R.exports=o=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},R.exports.default=R.exports,R.exports.__esModule=!0,o(f)}R.exports=o,R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";o.d(b,"j",function(){return c}),o.d(b,"c",function(){return M}),o.d(b,"g",function(){return _}),o.d(b,"b",function(){return x});var f=o(0);function c(O,S){var g=O.indexOf(S);g!==-1&&O.splice(g,1)}o.d(b,"e",function(){return f.isNil}),o.d(b,"d",function(){return f.isFunction}),o.d(b,"h",function(){return f.isString}),o.d(b,"f",function(){return f.isObject}),o.d(b,"i",function(){return f.mix}),o.d(b,"a",function(){return f.each}),o.d(b,"k",function(){return f.upperFirst});var M=typeof window!="undefined"&&window.document!==void 0;function _(O,S){if(O.isCanvas())return!0;for(var g=S.getParent(),h=!1;g;){if(g===O){h=!0;break}g=g.getParent()}return h}function x(O){return O.cfg.visible&&O.cfg.capture}},function(R,b,o){"use strict";o.d(b,"e",function(){return N}),o.d(b,"b",function(){return ae}),o.d(b,"a",function(){return he}),o.d(b,"c",function(){return y}),o.d(b,"d",function(){return se}),o.d(b,"f",function(){return f});var f={};function c(ee){return Math.min.apply(null,ee)}function M(ee){return Math.max.apply(null,ee)}function _(ee,te,U,X){var B=ee-U,J=te-X;return Math.sqrt(B*B+J*J)}function x(ee,te){return Math.abs(ee-te)<.001}function O(ee,te){var U=c(ee),X=c(te);return{x:U,y:X,width:M(ee)-U,height:M(te)-X}}function S(ee,te,U,X){return{minX:c([ee,U]),maxX:M([ee,U]),minY:c([te,X]),maxY:M([te,X])}}function g(ee){return(ee+2*Math.PI)%(2*Math.PI)}o.r(f),o.d(f,"distance",function(){return _}),o.d(f,"isNumberEqual",function(){return x}),o.d(f,"getBBoxByArray",function(){return O}),o.d(f,"getBBoxRange",function(){return S}),o.d(f,"piMod",function(){return g});var h=o(79),y={box:function(ee,te,U,X){return O([ee,U],[te,X])},length:function(ee,te,U,X){return _(ee,te,U,X)},pointAt:function(ee,te,U,X,B){return{x:(1-B)*ee+B*U,y:(1-B)*te+B*X}},pointDistance:function(ee,te,U,X,B,J){var ne=(U-ee)*(B-ee)+(X-te)*(J-te);return ne<0?_(ee,te,B,J):ne>(U-ee)*(U-ee)+(X-te)*(X-te)?_(U,X,B,J):this.pointToLine(ee,te,U,X,B,J)},pointToLine:function(ee,te,U,X,B,J){var ne=[U-ee,X-te];if(h.exactEquals(ne,[0,0]))return Math.sqrt((B-ee)*(B-ee)+(J-te)*(J-te));var ie=[-ne[1],ne[0]];h.normalize(ie,ie);var Z=[B-ee,J-te];return Math.abs(h.dot(Z,ie))},tangentAngle:function(ee,te,U,X){return Math.atan2(X-te,U-ee)}};function E(ee,te,U,X,B,J){var ne,ie=1/0,Z=[U,X],fe=20;J&&J>200&&(fe=J/10);for(var _e=1/fe,je=_e/10,Me=0;Me<=fe;Me++){var Ae=Me*_e,Le=[B.apply(null,ee.concat([Ae])),B.apply(null,te.concat([Ae]))];(Je=_(Z[0],Z[1],Le[0],Le[1]))=0&&Je=0?[B]:[]}function A(ee,te,U,X){return 2*(1-X)*(te-ee)+2*X*(U-te)}function C(ee,te,U,X,B,J,ne){var ie=m(ee,U,B,ne),Z=m(te,X,J,ne),fe=y.pointAt(ee,te,U,X,ne),_e=y.pointAt(U,X,B,J,ne);return[[ee,te,fe.x,fe.y,ie,Z],[ie,Z,_e.x,_e.y,B,J]]}var N={box:function(ee,te,U,X,B,J){var ne=p(ee,U,B)[0],ie=p(te,X,J)[0],Z=[ee,B],fe=[te,J];return ne!==void 0&&Z.push(m(ee,U,B,ne)),ie!==void 0&&fe.push(m(te,X,J,ie)),O(Z,fe)},length:function(ee,te,U,X,B,J){return function ne(ie,Z,fe,_e,je,Me,Ae){if(Ae===0)return(_(ie,Z,fe,_e)+_(fe,_e,je,Me)+_(ie,Z,je,Me))/2;var Le=C(ie,Z,fe,_e,je,Me,.5),Se=Le[0],Re=Le[1];return Se.push(Ae-1),Re.push(Ae-1),ne.apply(null,Se)+ne.apply(null,Re)}(ee,te,U,X,B,J,3)},nearestPoint:function(ee,te,U,X,B,J,ne,ie){return E([ee,U,B],[te,X,J],ne,ie,m)},pointDistance:function(ee,te,U,X,B,J,ne,ie){var Z=this.nearestPoint(ee,te,U,X,B,J,ne,ie);return _(Z.x,Z.y,ne,ie)},interpolationAt:m,pointAt:function(ee,te,U,X,B,J,ne){return{x:m(ee,U,B,ne),y:m(te,X,J,ne)}},divide:function(ee,te,U,X,B,J,ne){return C(ee,te,U,X,B,J,ne)},tangentAngle:function(ee,te,U,X,B,J,ne){var ie=A(ee,U,B,ne),Z=A(te,X,J,ne);return g(Math.atan2(Z,ie))}};function P(ee,te,U,X,B){var J=1-B;return J*J*J*ee+3*te*B*J*J+3*U*B*B*J+X*B*B*B}function L(ee,te,U,X,B){var J=1-B;return 3*(J*J*(te-ee)+2*J*B*(U-te)+B*B*(X-U))}function z(ee,te,U,X){var B,J,ne,ie=-3*ee+9*te-9*U+3*X,Z=6*ee-12*te+6*U,fe=3*te-3*ee,_e=[];if(x(ie,0))x(Z,0)||(B=-fe/Z)>=0&&B<=1&&_e.push(B);else{var je=Z*Z-4*ie*fe;x(je,0)?_e.push(-Z/(2*ie)):je>0&&(J=(-Z-(ne=Math.sqrt(je)))/(2*ie),(B=(-Z+ne)/(2*ie))>=0&&B<=1&&_e.push(B),J>=0&&J<=1&&_e.push(J))}return _e}function H(ee,te,U,X,B,J,ne,ie,Z){var fe=P(ee,U,B,ne,Z),_e=P(te,X,J,ie,Z),je=y.pointAt(ee,te,U,X,Z),Me=y.pointAt(U,X,B,J,Z),Ae=y.pointAt(B,J,ne,ie,Z),Le=y.pointAt(je.x,je.y,Me.x,Me.y,Z),Se=y.pointAt(Me.x,Me.y,Ae.x,Ae.y,Z);return[[ee,te,je.x,je.y,Le.x,Le.y,fe,_e],[fe,_e,Se.x,Se.y,Ae.x,Ae.y,ne,ie]]}function re(ee,te,U,X,B,J,ne,ie,Z){if(Z===0)return function(Me,Ae){for(var Le=0,Se=Me.length,Re=0;Re0?U:-1*U}var xe=function(ee,te,U,X,B,J){var ne=U,ie=X;if(ne===0||ie===0)return{x:ee,y:te};for(var Z,fe,_e=B-ee,je=J-te,Me=Math.abs(_e),Ae=Math.abs(je),Le=ne*ne,Se=ie*ie,Re=Math.PI/4,Ke=0;Ke<4;Ke++){Z=ne*Math.cos(Re),fe=ie*Math.sin(Re);var Je=(Le-Se)*Math.pow(Math.cos(Re),3)/ne,nt=(Se-Le)*Math.pow(Math.sin(Re),3)/ie,dt=Z-Je,kt=fe-nt,At=Me-Je,It=Ae-nt,Kt=Math.hypot(kt,dt),Qt=Math.hypot(It,At);Re+=Kt*Math.asin((dt*It-kt*At)/(Kt*Qt))/Math.sqrt(Le+Se-Z*Z-fe*fe),Re=Math.min(Math.PI/2,Math.max(0,Re))}return{x:ee+ue(Z,_e),y:te+ue(fe,je)}};function ye(ee,te,U,X,B,J){return U*Math.cos(B)*Math.cos(J)-X*Math.sin(B)*Math.sin(J)+ee}function Y(ee,te,U,X,B,J){return U*Math.sin(B)*Math.cos(J)+X*Math.cos(B)*Math.sin(J)+te}function Ce(ee,te,U){return{x:ee*Math.cos(U),y:te*Math.sin(U)}}function ge(ee,te,U){var X=Math.cos(U),B=Math.sin(U);return[ee*X-te*B,ee*B+te*X]}var he={box:function(ee,te,U,X,B,J,ne){for(var ie=function(dt,kt,At){return Math.atan(-kt/dt*Math.tan(At))}(U,X,B),Z=1/0,fe=-1/0,_e=[J,ne],je=2*-Math.PI;je<=2*Math.PI;je+=Math.PI){var Me=ie+je;Jfe&&(fe=Ae)}var Le=function(dt,kt,At){return Math.atan(kt/(dt*Math.tan(At)))}(U,X,B),Se=1/0,Re=-1/0,Ke=[J,ne];for(je=2*-Math.PI;je<=2*Math.PI;je+=Math.PI){var Je=Le+je;JRe&&(Re=nt)}return{x:Z,y:Se,width:fe-Z,height:Re-Se}},length:function(ee,te,U,X,B,J,ne){},nearestPoint:function(ee,te,U,X,B,J,ne,ie,Z){var fe=ge(ie-ee,Z-te,-B),_e=fe[0],je=fe[1],Me=xe(0,0,U,X,_e,je),Ae=function(Se,Re,Ke,Je){return(Math.atan2(Je*Se,Ke*Re)+2*Math.PI)%(2*Math.PI)}(U,X,Me.x,Me.y);Aene&&(Me=Ce(U,X,ne));var Le=ge(Me.x,Me.y,B);return{x:Le[0]+ee,y:Le[1]+te}},pointDistance:function(ee,te,U,X,B,J,ne,ie,Z){var fe=this.nearestPoint(ee,te,U,X,ie,Z);return _(fe.x,fe.y,ie,Z)},pointAt:function(ee,te,U,X,B,J,ne,ie){var Z=(ne-J)*ie+J;return{x:ye(ee,0,U,X,B,Z),y:Y(0,te,U,X,B,Z)}},tangentAngle:function(ee,te,U,X,B,J,ne,ie){var Z=(ne-J)*ie+J,fe=function(je,Me,Ae,Le,Se,Re,Ke,Je){return-1*Ae*Math.cos(Se)*Math.sin(Je)-Le*Math.sin(Se)*Math.cos(Je)}(0,0,U,X,B,0,0,Z),_e=function(je,Me,Ae,Le,Se,Re,Ke,Je){return-1*Ae*Math.sin(Se)*Math.sin(Je)+Le*Math.cos(Se)*Math.cos(Je)}(0,0,U,X,B,0,0,Z);return g(Math.atan2(_e,fe))}};function Q(ee){for(var te=0,U=[],X=0;X1||te<0||ee.length<2)return null;var U=Q(ee),X=U.segments,B=U.totalLength;if(B===0)return{x:ee[0][0],y:ee[0][1]};for(var J=0,ne=null,ie=0;ie=J&&te<=J+je){var Me=(te-J)/je;ne=y.pointAt(fe[0],fe[1],_e[0],_e[1],Me);break}J+=je}return ne}function Oe(ee,te){if(te>1||te<0||ee.length<2)return 0;for(var U=Q(ee),X=U.segments,B=U.totalLength,J=0,ne=0,ie=0;ie=J&&te<=J+je){ne=Math.atan2(_e[1]-fe[1],_e[0]-fe[0]);break}J+=je}return ne}function Te(ee,te,U){for(var X=1/0,B=0;B-1}},{key:"create",value:function(A,C){this.lookup[A]=this.components.length;var N=new this.clazz(C||{});return this.components.push(N),this.entities.push(A),N}},{key:"remove",value:function(A){var C=this.lookup[A];C>-1&&C-1){var N=this.entities[C];if(C-1?this.components[C]:null}},{key:"getCount",value:function(){return this.components.length}},{key:"getEntityByComponentIndex",value:function(A){for(var C=0,N=Object.keys(this.lookup);Cg)h.insertBefore(S,E);else if(mte?ee:te,ie=ee>te?1:ee/te,Z=ee>te?te/ee:1;L.translate(Te,se),L.rotate(B),L.scale(ie,Z),L.arc(0,0,ne,U,X,1-J),L.scale(1/ie,1/Z),L.rotate(-B),L.translate(-Te,-se)}break;case"Z":L.closePath()}if(he==="Z")xe=ye;else{var fe=ge.length;xe=[ge[fe-2],ge[fe-1]]}}}}function A(P,L){var z=P.get("canvas");z&&(L==="remove"&&(P._cacheCanvasBBox=P.get("cacheCanvasBBox")),P.get("hasChanged")||(P.set("hasChanged",!0),P.cfg.parent&&P.cfg.parent.get("hasChanged")||(z.refreshElement(P,L,z),z.get("autoDraw")&&z.draw())))}function C(P){if(!P.length)return null;var L=[],z=[],H=[],re=[];return Object(f.each)(P,function(ae){var ue=function(xe){var ye;if(xe.destroyed)ye=xe._cacheCanvasBBox;else{var Y=xe.get("cacheCanvasBBox"),Ce=Y&&!(!Y.width||!Y.height),ge=xe.getCanvasBBox(),he=ge&&!(!ge.width||!ge.height);Ce&&he?ye=Object(_.l)(Y,ge):Ce?ye=Y:he&&(ye=ge)}return ye}(ae);ue&&(L.push(ue.minX),z.push(ue.minY),H.push(ue.maxX),re.push(ue.maxY))}),{minX:Object(f.min)(L),minY:Object(f.min)(z),maxX:Object(f.max)(H),maxY:Object(f.max)(re)}}function N(P,L){return P&&L&&Object(_.f)(P,L)?{minX:Math.max(P.minX,L.minX),minY:Math.max(P.minY,L.minY),maxX:Math.min(P.maxX,L.maxX),maxY:Math.min(P.maxY,L.maxY)}:null}},function(R,b){var o=Array.isArray;R.exports=o},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.NON_CUSTOM_TAG_KEYS=b.POST_CONSTRUCT=b.DESIGN_PARAM_TYPES=b.PARAM_TYPES=b.TAGGED_PROP=b.TAGGED=b.MULTI_INJECT_TAG=b.INJECT_TAG=b.OPTIONAL_TAG=b.UNMANAGED_TAG=b.NAME_TAG=b.NAMED_TAG=void 0,b.NAMED_TAG="named",b.NAME_TAG="name",b.UNMANAGED_TAG="unmanaged",b.OPTIONAL_TAG="optional",b.INJECT_TAG="inject",b.MULTI_INJECT_TAG="multi_inject",b.TAGGED="inversify:tagged",b.TAGGED_PROP="inversify:tagged_props",b.PARAM_TYPES="inversify:paramtypes",b.DESIGN_PARAM_TYPES="design:paramtypes",b.POST_CONSTRUCT="post_construct",b.NON_CUSTOM_TAG_KEYS=[b.INJECT_TAG,b.MULTI_INJECT_TAG,b.NAME_TAG,b.UNMANAGED_TAG,b.NAMED_TAG,b.OPTIONAL_TAG]},function(R,b,o){"use strict";o.d(b,"c",function(){return y}),o.d(b,"b",function(){return E}),o.d(b,"a",function(){return m});var f=o(1),c=o(55);function M(p){return(M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(p)}var _=Math.sin,x=Math.cos,O=Math.atan2,S=Math.PI;function g(p,A,C,N,P,L,z){var H=A.stroke,re=A.lineWidth,ae=O(N-L,C-P),ue=new c.Path({type:"path",canvas:p.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*x(S/6)+","+10*_(S/6)+" L0,0 L"+10*x(S/6)+",-"+10*_(S/6),stroke:H,lineWidth:re}});ue.translate(P,L),ue.rotateAtPoint(P,L,ae),p.set(z?"startArrowShape":"endArrowShape",ue)}function h(p,A,C,N,P,L,z){var H=A.startArrow,re=A.endArrow,ae=A.stroke,ue=A.lineWidth,xe=z?H:re,ye=xe.d,Y=xe.fill,Ce=xe.stroke,ge=xe.lineWidth,he=Object(f.__rest)(xe,["d","fill","stroke","lineWidth"]),Q=O(N-L,C-P);ye&&(P-=x(Q)*ye,L-=_(Q)*ye);var W=new c.Path({type:"path",canvas:p.get("canvas"),isArrowShape:!0,attrs:Object(f.__assign)(Object(f.__assign)({},he),{stroke:Ce||ae,lineWidth:ge||ue,fill:Y})});W.translate(P,L),W.rotateAtPoint(P,L,Q),p.set(z?"startArrowShape":"endArrowShape",W)}function y(p,A,C,N,P){var L=O(N-A,C-p);return{dx:x(L)*P,dy:_(L)*P}}function E(p,A,C,N,P,L){M(A.startArrow)==="object"?h(p,A,C,N,P,L,!0):A.startArrow?g(p,A,C,N,P,L,!0):p.set("startArrowShape",null)}function m(p,A,C,N,P,L){M(A.endArrow)==="object"?h(p,A,C,N,P,L,!1):A.endArrow?g(p,A,C,N,P,L,!1):p.set("startArrowShape",null)}},function(R,b,o){"use strict";o.d(b,"b",function(){return c}),o.d(b,"c",function(){return M}),o.d(b,"a",function(){return _});var f=o(26);function c(x,O){var S=x.cfg.el,g=x.attr(),h={dx:g.shadowOffsetX,dy:g.shadowOffsetY,blur:g.shadowBlur,color:g.shadowColor};if(h.dx||h.dy||h.blur||h.color){var y=O.find("filter",h);y||(y=O.addShadow(h)),S.setAttribute("filter","url(#"+y+")")}else S.removeAttribute("filter")}function M(x){var O=x.attr().matrix;if(O){for(var S=x.cfg.el,g=[],h=0;h<9;h+=3)g.push(O[h]+","+O[h+1]);(g=g.join(",")).indexOf("NaN")===-1?S.setAttribute("transform","matrix("+g+")"):console.warn("invalid matrix:",O)}}function _(x,O){var S=x.getClip(),g=x.get("el");if(S){if(S&&!g.hasAttribute("clip-path")){Object(f.a)(S),S.createPath(O);var h=O.addClip(S);g.setAttribute("clip-path","url(#"+h+")")}}else g.removeAttribute("clip-path")}},function(R,b,o){"use strict";var f;o.d(b,"a",function(){return f}),function(c){c[c.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",c[c.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",c[c.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",c[c.POINTS=0]="POINTS",c[c.LINES=1]="LINES",c[c.LINE_LOOP=2]="LINE_LOOP",c[c.LINE_STRIP=3]="LINE_STRIP",c[c.TRIANGLES=4]="TRIANGLES",c[c.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",c[c.TRIANGLE_FAN=6]="TRIANGLE_FAN",c[c.ZERO=0]="ZERO",c[c.ONE=1]="ONE",c[c.SRC_COLOR=768]="SRC_COLOR",c[c.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",c[c.SRC_ALPHA=770]="SRC_ALPHA",c[c.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",c[c.DST_ALPHA=772]="DST_ALPHA",c[c.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",c[c.DST_COLOR=774]="DST_COLOR",c[c.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",c[c.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",c[c.FUNC_ADD=32774]="FUNC_ADD",c[c.BLEND_EQUATION=32777]="BLEND_EQUATION",c[c.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",c[c.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",c[c.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",c[c.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",c[c.MAX_EXT=32776]="MAX_EXT",c[c.MIN_EXT=32775]="MIN_EXT",c[c.BLEND_DST_RGB=32968]="BLEND_DST_RGB",c[c.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",c[c.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",c[c.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",c[c.CONSTANT_COLOR=32769]="CONSTANT_COLOR",c[c.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",c[c.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",c[c.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",c[c.BLEND_COLOR=32773]="BLEND_COLOR",c[c.ARRAY_BUFFER=34962]="ARRAY_BUFFER",c[c.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",c[c.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",c[c.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",c[c.STREAM_DRAW=35040]="STREAM_DRAW",c[c.STATIC_DRAW=35044]="STATIC_DRAW",c[c.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",c[c.BUFFER_SIZE=34660]="BUFFER_SIZE",c[c.BUFFER_USAGE=34661]="BUFFER_USAGE",c[c.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",c[c.FRONT=1028]="FRONT",c[c.BACK=1029]="BACK",c[c.FRONT_AND_BACK=1032]="FRONT_AND_BACK",c[c.CULL_FACE=2884]="CULL_FACE",c[c.BLEND=3042]="BLEND",c[c.DITHER=3024]="DITHER",c[c.STENCIL_TEST=2960]="STENCIL_TEST",c[c.DEPTH_TEST=2929]="DEPTH_TEST",c[c.SCISSOR_TEST=3089]="SCISSOR_TEST",c[c.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",c[c.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",c[c.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",c[c.NO_ERROR=0]="NO_ERROR",c[c.INVALID_ENUM=1280]="INVALID_ENUM",c[c.INVALID_VALUE=1281]="INVALID_VALUE",c[c.INVALID_OPERATION=1282]="INVALID_OPERATION",c[c.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",c[c.CW=2304]="CW",c[c.CCW=2305]="CCW",c[c.LINE_WIDTH=2849]="LINE_WIDTH",c[c.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",c[c.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",c[c.CULL_FACE_MODE=2885]="CULL_FACE_MODE",c[c.FRONT_FACE=2886]="FRONT_FACE",c[c.DEPTH_RANGE=2928]="DEPTH_RANGE",c[c.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",c[c.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",c[c.DEPTH_FUNC=2932]="DEPTH_FUNC",c[c.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",c[c.STENCIL_FUNC=2962]="STENCIL_FUNC",c[c.STENCIL_FAIL=2964]="STENCIL_FAIL",c[c.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",c[c.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",c[c.STENCIL_REF=2967]="STENCIL_REF",c[c.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",c[c.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",c[c.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",c[c.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",c[c.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",c[c.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",c[c.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",c[c.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",c[c.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",c[c.VIEWPORT=2978]="VIEWPORT",c[c.SCISSOR_BOX=3088]="SCISSOR_BOX",c[c.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",c[c.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",c[c.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",c[c.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",c[c.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",c[c.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",c[c.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",c[c.RED_BITS=3410]="RED_BITS",c[c.GREEN_BITS=3411]="GREEN_BITS",c[c.BLUE_BITS=3412]="BLUE_BITS",c[c.ALPHA_BITS=3413]="ALPHA_BITS",c[c.DEPTH_BITS=3414]="DEPTH_BITS",c[c.STENCIL_BITS=3415]="STENCIL_BITS",c[c.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",c[c.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",c[c.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",c[c.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",c[c.SAMPLES=32937]="SAMPLES",c[c.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",c[c.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",c[c.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",c[c.DONT_CARE=4352]="DONT_CARE",c[c.FASTEST=4353]="FASTEST",c[c.NICEST=4354]="NICEST",c[c.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",c[c.BYTE=5120]="BYTE",c[c.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",c[c.SHORT=5122]="SHORT",c[c.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",c[c.INT=5124]="INT",c[c.UNSIGNED_INT=5125]="UNSIGNED_INT",c[c.FLOAT=5126]="FLOAT",c[c.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",c[c.ALPHA=6406]="ALPHA",c[c.RGB=6407]="RGB",c[c.RGBA=6408]="RGBA",c[c.LUMINANCE=6409]="LUMINANCE",c[c.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",c[c.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",c[c.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",c[c.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",c[c.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",c[c.VERTEX_SHADER=35633]="VERTEX_SHADER",c[c.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",c[c.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",c[c.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",c[c.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",c[c.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",c[c.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",c[c.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",c[c.SHADER_TYPE=35663]="SHADER_TYPE",c[c.DELETE_STATUS=35712]="DELETE_STATUS",c[c.LINK_STATUS=35714]="LINK_STATUS",c[c.VALIDATE_STATUS=35715]="VALIDATE_STATUS",c[c.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",c[c.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",c[c.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",c[c.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",c[c.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",c[c.NEVER=512]="NEVER",c[c.LESS=513]="LESS",c[c.EQUAL=514]="EQUAL",c[c.LEQUAL=515]="LEQUAL",c[c.GREATER=516]="GREATER",c[c.NOTEQUAL=517]="NOTEQUAL",c[c.GEQUAL=518]="GEQUAL",c[c.ALWAYS=519]="ALWAYS",c[c.KEEP=7680]="KEEP",c[c.REPLACE=7681]="REPLACE",c[c.INCR=7682]="INCR",c[c.DECR=7683]="DECR",c[c.INVERT=5386]="INVERT",c[c.INCR_WRAP=34055]="INCR_WRAP",c[c.DECR_WRAP=34056]="DECR_WRAP",c[c.VENDOR=7936]="VENDOR",c[c.RENDERER=7937]="RENDERER",c[c.VERSION=7938]="VERSION",c[c.NEAREST=9728]="NEAREST",c[c.LINEAR=9729]="LINEAR",c[c.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",c[c.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",c[c.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",c[c.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",c[c.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",c[c.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",c[c.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",c[c.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",c[c.TEXTURE_2D=3553]="TEXTURE_2D",c[c.TEXTURE=5890]="TEXTURE",c[c.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",c[c.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",c[c.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",c[c.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",c[c.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",c[c.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",c[c.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",c[c.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",c[c.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",c[c.TEXTURE0=33984]="TEXTURE0",c[c.TEXTURE1=33985]="TEXTURE1",c[c.TEXTURE2=33986]="TEXTURE2",c[c.TEXTURE3=33987]="TEXTURE3",c[c.TEXTURE4=33988]="TEXTURE4",c[c.TEXTURE5=33989]="TEXTURE5",c[c.TEXTURE6=33990]="TEXTURE6",c[c.TEXTURE7=33991]="TEXTURE7",c[c.TEXTURE8=33992]="TEXTURE8",c[c.TEXTURE9=33993]="TEXTURE9",c[c.TEXTURE10=33994]="TEXTURE10",c[c.TEXTURE11=33995]="TEXTURE11",c[c.TEXTURE12=33996]="TEXTURE12",c[c.TEXTURE13=33997]="TEXTURE13",c[c.TEXTURE14=33998]="TEXTURE14",c[c.TEXTURE15=33999]="TEXTURE15",c[c.TEXTURE16=34e3]="TEXTURE16",c[c.TEXTURE17=34001]="TEXTURE17",c[c.TEXTURE18=34002]="TEXTURE18",c[c.TEXTURE19=34003]="TEXTURE19",c[c.TEXTURE20=34004]="TEXTURE20",c[c.TEXTURE21=34005]="TEXTURE21",c[c.TEXTURE22=34006]="TEXTURE22",c[c.TEXTURE23=34007]="TEXTURE23",c[c.TEXTURE24=34008]="TEXTURE24",c[c.TEXTURE25=34009]="TEXTURE25",c[c.TEXTURE26=34010]="TEXTURE26",c[c.TEXTURE27=34011]="TEXTURE27",c[c.TEXTURE28=34012]="TEXTURE28",c[c.TEXTURE29=34013]="TEXTURE29",c[c.TEXTURE30=34014]="TEXTURE30",c[c.TEXTURE31=34015]="TEXTURE31",c[c.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",c[c.REPEAT=10497]="REPEAT",c[c.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",c[c.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",c[c.FLOAT_VEC2=35664]="FLOAT_VEC2",c[c.FLOAT_VEC3=35665]="FLOAT_VEC3",c[c.FLOAT_VEC4=35666]="FLOAT_VEC4",c[c.INT_VEC2=35667]="INT_VEC2",c[c.INT_VEC3=35668]="INT_VEC3",c[c.INT_VEC4=35669]="INT_VEC4",c[c.BOOL=35670]="BOOL",c[c.BOOL_VEC2=35671]="BOOL_VEC2",c[c.BOOL_VEC3=35672]="BOOL_VEC3",c[c.BOOL_VEC4=35673]="BOOL_VEC4",c[c.FLOAT_MAT2=35674]="FLOAT_MAT2",c[c.FLOAT_MAT3=35675]="FLOAT_MAT3",c[c.FLOAT_MAT4=35676]="FLOAT_MAT4",c[c.SAMPLER_2D=35678]="SAMPLER_2D",c[c.SAMPLER_CUBE=35680]="SAMPLER_CUBE",c[c.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",c[c.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",c[c.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",c[c.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",c[c.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",c[c.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",c[c.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",c[c.COMPILE_STATUS=35713]="COMPILE_STATUS",c[c.LOW_FLOAT=36336]="LOW_FLOAT",c[c.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",c[c.HIGH_FLOAT=36338]="HIGH_FLOAT",c[c.LOW_INT=36339]="LOW_INT",c[c.MEDIUM_INT=36340]="MEDIUM_INT",c[c.HIGH_INT=36341]="HIGH_INT",c[c.FRAMEBUFFER=36160]="FRAMEBUFFER",c[c.RENDERBUFFER=36161]="RENDERBUFFER",c[c.RGBA4=32854]="RGBA4",c[c.RGB5_A1=32855]="RGB5_A1",c[c.RGB565=36194]="RGB565",c[c.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",c[c.STENCIL_INDEX=6401]="STENCIL_INDEX",c[c.STENCIL_INDEX8=36168]="STENCIL_INDEX8",c[c.DEPTH_STENCIL=34041]="DEPTH_STENCIL",c[c.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",c[c.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",c[c.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",c[c.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",c[c.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",c[c.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",c[c.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",c[c.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",c[c.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",c[c.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",c[c.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",c[c.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",c[c.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",c[c.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",c[c.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",c[c.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",c[c.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",c[c.NONE=0]="NONE",c[c.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",c[c.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",c[c.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",c[c.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",c[c.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",c[c.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",c[c.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",c[c.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",c[c.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",c[c.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",c[c.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",c[c.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",c[c.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",c[c.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",c[c.COPY_SRC=1]="COPY_SRC",c[c.COPY_DST=2]="COPY_DST",c[c.SAMPLED=4]="SAMPLED",c[c.STORAGE=8]="STORAGE",c[c.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"}(f||(f={}))},function(R,b,o){"use strict";var f=o(28),c=o(46).Graph;function M(x,O,S,g){var h;do h=f.uniqueId(g);while(x.hasNode(h));return S.dummy=O,x.setNode(h,S),h}function _(x){return f.max(f.map(x.nodes(),function(O){var S=x.node(O).rank;if(!f.isUndefined(S))return S}))}R.exports={addDummyNode:M,simplify:function(x){var O=new c().setGraph(x.graph());return f.forEach(x.nodes(),function(S){O.setNode(S,x.node(S))}),f.forEach(x.edges(),function(S){var g=O.edge(S.v,S.w)||{weight:0,minlen:1},h=x.edge(S);O.setEdge(S.v,S.w,{weight:g.weight+h.weight,minlen:Math.max(g.minlen,h.minlen)})}),O},asNonCompoundGraph:function(x){var O=new c({multigraph:x.isMultigraph()}).setGraph(x.graph());return f.forEach(x.nodes(),function(S){x.children(S).length||O.setNode(S,x.node(S))}),f.forEach(x.edges(),function(S){O.setEdge(S,x.edge(S))}),O},successorWeights:function(x){var O=f.map(x.nodes(),function(S){var g={};return f.forEach(x.outEdges(S),function(h){g[h.w]=(g[h.w]||0)+x.edge(h).weight}),g});return f.zipObject(x.nodes(),O)},predecessorWeights:function(x){var O=f.map(x.nodes(),function(S){var g={};return f.forEach(x.inEdges(S),function(h){g[h.v]=(g[h.v]||0)+x.edge(h).weight}),g});return f.zipObject(x.nodes(),O)},intersectRect:function(x,O){var S,g,h=x.x,y=x.y,E=O.x-h,m=O.y-y,p=x.width/2,A=x.height/2;if(!E&&!m)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(m)*p>Math.abs(E)*A?(m<0&&(A=-A),S=A*E/m,g=A):(E<0&&(p=-p),S=p,g=p*m/E),{x:h+S,y:y+g}},buildLayerMatrix:function(x){var O=f.map(f.range(_(x)+1),function(){return[]});return f.forEach(x.nodes(),function(S){var g=x.node(S),h=g.rank;f.isUndefined(h)||(O[h][g.order]=S)}),O},normalizeRanks:function(x){var O=f.min(f.map(x.nodes(),function(S){return x.node(S).rank}));f.forEach(x.nodes(),function(S){var g=x.node(S);f.has(g,"rank")&&(g.rank-=O)})},removeEmptyRanks:function(x){var O=f.min(f.map(x.nodes(),function(y){return x.node(y).rank})),S=[];f.forEach(x.nodes(),function(y){var E=x.node(y).rank-O;S[E]||(S[E]=[]),S[E].push(y)});var g=0,h=x.graph().nodeRankFactor;f.forEach(S,function(y,E){f.isUndefined(y)&&E%h!=0?--g:g&&f.forEach(y,function(m){x.node(m).rank+=g})})},addBorderNode:function(x,O,S,g){var h={width:0,height:0};return arguments.length>=4&&(h.rank=S,h.order=g),M(x,"border",h,O)},maxRank:_,partition:function(x,O){var S={lhs:[],rhs:[]};return f.forEach(x,function(g){O(g)?S.lhs.push(g):S.rhs.push(g)}),S},time:function(x,O){var S=f.now();try{return O()}finally{console.log(x+" time: "+(f.now()-S)+"ms")}},notime:function(x,O){return O()}}},function(R,b,o){"use strict";o.d(b,"a",function(){return x}),o.d(b,"b",function(){return h}),o.d(b,"c",function(){return m}),o.d(b,"d",function(){return z});var f=o(0),c=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,M=/[^\s\,]+/gi,_=function(H){var re=H||[];return Object(f.isArray)(re)?re:Object(f.isString)(re)?(re=re.match(c),Object(f.each)(re,function(ae,ue){if((ae=ae.match(M))[0].length>1){var xe=ae[0].charAt(0);ae.splice(1,0,ae[0].substr(1)),ae[0]=xe}Object(f.each)(ae,function(ye,Y){isNaN(ye)||(ae[Y]=+ye)}),re[ue]=ae}),re):void 0};function x(H,re){for(var ae=[],ue=0,xe=H.length;xe-2*!re>ue;ue+=2){var ye=[{x:+H[ue-2],y:+H[ue-1]},{x:+H[ue],y:+H[ue+1]},{x:+H[ue+2],y:+H[ue+3]},{x:+H[ue+4],y:+H[ue+5]}];re?ue?xe-4===ue?ye[3]={x:+H[0],y:+H[1]}:xe-2===ue&&(ye[2]={x:+H[0],y:+H[1]},ye[3]={x:+H[2],y:+H[3]}):ye[0]={x:+H[xe-2],y:+H[xe-1]}:xe-4===ue?ye[3]=ye[2]:ue||(ye[0]={x:+H[ue],y:+H[ue+1]}),ae.push(["C",(-ye[0].x+6*ye[1].x+ye[2].x)/6,(-ye[0].y+6*ye[1].y+ye[2].y)/6,(ye[1].x+6*ye[2].x-ye[3].x)/6,(ye[1].y+6*ye[2].y-ye[3].y)/6,ye[2].x,ye[2].y])}return ae}var O=` +\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,S=new RegExp("([a-z])["+O+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+O+"]*,?["+O+"]*)+)","ig"),g=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+O+"]*,?["+O+"]*","ig");function h(H){if(!H)return null;if(Object(f.isArray)(H))return H;var re={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},ae=[];return String(H).replace(S,function(ue,xe,ye){var Y=[],Ce=xe.toLowerCase();if(ye.replace(g,function(ge,he){he&&Y.push(+he)}),Ce==="m"&&Y.length>2&&(ae.push([xe].concat(Y.splice(0,2))),Ce="l",xe=xe==="m"?"l":"L"),Ce==="o"&&Y.length===1&&ae.push([xe,Y[0]]),Ce==="r")ae.push([xe].concat(Y));else for(;Y.length>=re[Ce]&&(ae.push([xe].concat(Y.splice(0,re[Ce]))),re[Ce]););return""}),ae}var y=/[a-z]/;function E(H,re){return[re[0]+(re[0]-H[0]),re[1]+(re[1]-H[1])]}function m(H){var re=h(H);if(!re||!re.length)return[["M",0,0]];for(var ae=!1,ue=0;ue=0){ae=!0;break}}if(!ae)return re;var ye=[],Y=0,Ce=0,ge=0,he=0,Q=0,W=re[0];W[0]!=="M"&&W[0]!=="m"||(ge=Y=+W[1],he=Ce=+W[2],Q++,ye[0]=["M",Y,Ce]),ue=Q;for(var le=re.length;ue1&&(ae*=Math.sqrt(Oe),ue*=Math.sqrt(Oe));var Te=ae*ae*(le*le)+ue*ue*(W*W),se=Te?Math.sqrt((ae*ae*(ue*ue)-Te)/Te):1;ye===Y&&(se*=-1),isNaN(se)&&(se=0);var ee=ue?se*ae*le/ue:0,te=ae?se*-ue*W/ae:0,U=(Ce+he)/2+Math.cos(xe)*ee-Math.sin(xe)*te,X=(ge+Q)/2+Math.sin(xe)*ee+Math.cos(xe)*te,B=[(W-ee)/ae,(le-te)/ue],J=[(-1*W-ee)/ae,(-1*le-te)/ue],ne=C([1,0],B),ie=C(B,J);return A(B,J)<=-1&&(ie=Math.PI),A(B,J)>=1&&(ie=0),Y===0&&ie>0&&(ie-=2*Math.PI),Y===1&&ie<0&&(ie+=2*Math.PI),{cx:U,cy:X,rx:N(H,[he,Q])?0:ae,ry:N(H,[he,Q])?0:ue,startAngle:ne,endAngle:ne+ie,xRotation:xe,arcFlag:ye,sweepFlag:Y}}function L(H,re){return[re[0]+(re[0]-H[0]),re[1]+(re[1]-H[1])]}function z(H){for(var re=[],ae=null,ue=null,xe=null,ye=0,Y=(H=_(H)).length,Ce=0;Ce0&&(dt=1/Math.sqrt(dt)),Se[0]=Re[0]*dt,Se[1]=Re[1]*dt,Se[2]=Re[2]*dt,Se}function ye(Se,Re){return Se[0]*Re[0]+Se[1]*Re[1]+Se[2]*Re[2]}function Y(Se,Re,Ke){var Je=Re[0],nt=Re[1],dt=Re[2],kt=Ke[0],At=Ke[1],It=Ke[2];return Se[0]=nt*It-dt*At,Se[1]=dt*kt-Je*It,Se[2]=Je*At-nt*kt,Se}function Ce(Se,Re,Ke,Je){var nt=Re[0],dt=Re[1],kt=Re[2];return Se[0]=nt+Je*(Ke[0]-nt),Se[1]=dt+Je*(Ke[1]-dt),Se[2]=kt+Je*(Ke[2]-kt),Se}function ge(Se,Re,Ke,Je,nt,dt){var kt=dt*dt,At=kt*(2*dt-3)+1,It=kt*(dt-2)+dt,Kt=kt*(dt-1),Qt=kt*(3-2*dt);return Se[0]=Re[0]*At+Ke[0]*It+Je[0]*Kt+nt[0]*Qt,Se[1]=Re[1]*At+Ke[1]*It+Je[1]*Kt+nt[1]*Qt,Se[2]=Re[2]*At+Ke[2]*It+Je[2]*Kt+nt[2]*Qt,Se}function he(Se,Re,Ke,Je,nt,dt){var kt=1-dt,At=kt*kt,It=dt*dt,Kt=At*kt,Qt=3*dt*At,tr=3*It*kt,nr=It*dt;return Se[0]=Re[0]*Kt+Ke[0]*Qt+Je[0]*tr+nt[0]*nr,Se[1]=Re[1]*Kt+Ke[1]*Qt+Je[1]*tr+nt[1]*nr,Se[2]=Re[2]*Kt+Ke[2]*Qt+Je[2]*tr+nt[2]*nr,Se}function Q(Se,Re){Re=Re||1;var Ke=2*f.c()*Math.PI,Je=2*f.c()-1,nt=Math.sqrt(1-Je*Je)*Re;return Se[0]=Math.cos(Ke)*nt,Se[1]=Math.sin(Ke)*nt,Se[2]=Je*Re,Se}function W(Se,Re,Ke){var Je=Re[0],nt=Re[1],dt=Re[2],kt=Ke[3]*Je+Ke[7]*nt+Ke[11]*dt+Ke[15];return kt=kt||1,Se[0]=(Ke[0]*Je+Ke[4]*nt+Ke[8]*dt+Ke[12])/kt,Se[1]=(Ke[1]*Je+Ke[5]*nt+Ke[9]*dt+Ke[13])/kt,Se[2]=(Ke[2]*Je+Ke[6]*nt+Ke[10]*dt+Ke[14])/kt,Se}function le(Se,Re,Ke){var Je=Re[0],nt=Re[1],dt=Re[2];return Se[0]=Je*Ke[0]+nt*Ke[3]+dt*Ke[6],Se[1]=Je*Ke[1]+nt*Ke[4]+dt*Ke[7],Se[2]=Je*Ke[2]+nt*Ke[5]+dt*Ke[8],Se}function Oe(Se,Re,Ke){var Je=Ke[0],nt=Ke[1],dt=Ke[2],kt=Ke[3],At=Re[0],It=Re[1],Kt=Re[2],Qt=nt*Kt-dt*It,tr=dt*At-Je*Kt,nr=Je*It-nt*At,Mr=nt*nr-dt*tr,ar=dt*Qt-Je*nr,yr=Je*tr-nt*Qt,mr=2*kt;return Qt*=mr,tr*=mr,nr*=mr,Mr*=2,ar*=2,yr*=2,Se[0]=At+Qt+Mr,Se[1]=It+tr+ar,Se[2]=Kt+nr+yr,Se}function Te(Se,Re,Ke,Je){var nt=[],dt=[];return nt[0]=Re[0]-Ke[0],nt[1]=Re[1]-Ke[1],nt[2]=Re[2]-Ke[2],dt[0]=nt[0],dt[1]=nt[1]*Math.cos(Je)-nt[2]*Math.sin(Je),dt[2]=nt[1]*Math.sin(Je)+nt[2]*Math.cos(Je),Se[0]=dt[0]+Ke[0],Se[1]=dt[1]+Ke[1],Se[2]=dt[2]+Ke[2],Se}function se(Se,Re,Ke,Je){var nt=[],dt=[];return nt[0]=Re[0]-Ke[0],nt[1]=Re[1]-Ke[1],nt[2]=Re[2]-Ke[2],dt[0]=nt[2]*Math.sin(Je)+nt[0]*Math.cos(Je),dt[1]=nt[1],dt[2]=nt[2]*Math.cos(Je)-nt[0]*Math.sin(Je),Se[0]=dt[0]+Ke[0],Se[1]=dt[1]+Ke[1],Se[2]=dt[2]+Ke[2],Se}function ee(Se,Re,Ke,Je){var nt=[],dt=[];return nt[0]=Re[0]-Ke[0],nt[1]=Re[1]-Ke[1],nt[2]=Re[2]-Ke[2],dt[0]=nt[0]*Math.cos(Je)-nt[1]*Math.sin(Je),dt[1]=nt[0]*Math.sin(Je)+nt[1]*Math.cos(Je),dt[2]=nt[2],Se[0]=dt[0]+Ke[0],Se[1]=dt[1]+Ke[1],Se[2]=dt[2]+Ke[2],Se}function te(Se,Re){var Ke=Se[0],Je=Se[1],nt=Se[2],dt=Re[0],kt=Re[1],At=Re[2],It=Math.sqrt(Ke*Ke+Je*Je+nt*nt)*Math.sqrt(dt*dt+kt*kt+At*At),Kt=It&&ye(Se,Re)/It;return Math.acos(Math.min(Math.max(Kt,-1),1))}function U(Se){return Se[0]=0,Se[1]=0,Se[2]=0,Se}function X(Se){return"vec3("+Se[0]+", "+Se[1]+", "+Se[2]+")"}function B(Se,Re){return Se[0]===Re[0]&&Se[1]===Re[1]&&Se[2]===Re[2]}function J(Se,Re){var Ke=Se[0],Je=Se[1],nt=Se[2],dt=Re[0],kt=Re[1],At=Re[2];return Math.abs(Ke-dt)<=f.b*Math.max(1,Math.abs(Ke),Math.abs(dt))&&Math.abs(Je-kt)<=f.b*Math.max(1,Math.abs(Je),Math.abs(kt))&&Math.abs(nt-At)<=f.b*Math.max(1,Math.abs(nt),Math.abs(At))}var ne,ie=h,Z=y,fe=E,_e=z,je=H,Me=_,Ae=re,Le=(ne=c(),function(Se,Re,Ke,Je,nt,dt){var kt,At;for(Re||(Re=3),Ke||(Ke=0),At=Je?Math.min(Je*Re+Ke,Se.length):Se.length,kt=Ke;kt= than the number of constructor arguments of its base class."},b.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",b.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",b.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",b.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",b.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class",b.POST_CONSTRUCT_ERROR=function(){for(var f=[],c=0;c=Z.length?{done:!0}:{done:!1,value:Z[je++]}},e:function(Re){throw Re},f:Me}}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 Ae,Le=!0,Se=!1;return{s:function(){_e=Z[Symbol.iterator]()},n:function(){var Re=_e.next();return Le=Re.done,Re},e:function(Re){Se=!0,Ae=Re},f:function(){try{Le||_e.return==null||_e.return()}finally{if(Se)throw Ae}}}}function ne(Z,fe){(fe==null||fe>Z.length)&&(fe=Z.length);for(var _e=0,je=new Array(fe);_e2&&(te.push([X].concat(J.splice(0,2))),ne="l",X=X==="m"?"l":"L"),ne==="o"&&J.length===1&&te.push([X,J[0]]),ne==="r")te.push([X].concat(J));else for(;J.length>=ee[ne]&&(te.push([X].concat(J.splice(0,ee[ne]))),ee[ne]););return se}),te},O=function(se,ee){for(var te=[],U=0,X=se.length;X-2*!ee>U;U+=2){var B=[{x:+se[U-2],y:+se[U-1]},{x:+se[U],y:+se[U+1]},{x:+se[U+2],y:+se[U+3]},{x:+se[U+4],y:+se[U+5]}];ee?U?X-4===U?B[3]={x:+se[0],y:+se[1]}:X-2===U&&(B[2]={x:+se[0],y:+se[1]},B[3]={x:+se[2],y:+se[3]}):B[0]={x:+se[X-2],y:+se[X-1]}:X-4===U?B[3]=B[2]:U||(B[0]={x:+se[U],y:+se[U+1]}),te.push(["C",(-B[0].x+6*B[1].x+B[2].x)/6,(-B[0].y+6*B[1].y+B[2].y)/6,(B[1].x+6*B[2].x-B[3].x)/6,(B[1].y+6*B[2].y-B[3].y)/6,B[2].x,B[2].y])}return te},S=function(se,ee,te,U,X){var B=[];if(X===null&&U===null&&(U=te),se=+se,ee=+ee,te=+te,U=+U,X!==null){var J=Math.PI/180,ne=se+te*Math.cos(-U*J),ie=se+te*Math.cos(-X*J);B=[["M",ne,ee+te*Math.sin(-U*J)],["A",te,te,0,+(X-U>180),0,ie,ee+te*Math.sin(-X*J)]]}else B=[["M",se,ee],["m",0,-U],["a",te,U,0,1,1,0,2*U],["a",te,U,0,1,1,0,-2*U],["z"]];return B},g=function(se){if(!(se=x(se))||!se.length)return[["M",0,0]];var ee,te,U=[],X=0,B=0,J=0,ne=0,ie=0;se[0][0]==="M"&&(J=X=+se[0][1],ne=B=+se[0][2],ie++,U[0]=["M",X,B]);for(var Z=se.length===3&&se[0][0]==="M"&&se[1][0].toUpperCase()==="R"&&se[2][0].toUpperCase()==="Z",fe=void 0,_e=void 0,je=ie,Me=se.length;je1&&(U*=kt=Math.sqrt(kt),X*=kt);var At=U*U,It=X*X,Kt=(J===ne?-1:1)*Math.sqrt(Math.abs((At*It-At*dt*dt-It*nt*nt)/(At*dt*dt+It*nt*nt)));Ae=Kt*U*dt/X+(ee+ie)/2,Le=Kt*-X*nt/U+(te+Z)/2,je=Math.asin(((te-Le)/X).toFixed(9)),Me=Math.asin(((Z-Le)/X).toFixed(9)),je=eeMe&&(je-=2*Math.PI),!ne&&Me>je&&(Me-=2*Math.PI)}var Qt=Me-je;if(Math.abs(Qt)>Se){var tr=Me,nr=ie,Mr=Z;Me=je+Se*(ne&&Me>je?1:-1),Ke=se(ie=Ae+U*Math.cos(Me),Z=Le+X*Math.sin(Me),U,X,B,0,ne,nr,Mr,[Me,tr,Ae,Le])}Qt=Me-je;var ar=Math.cos(je),yr=Math.sin(je),mr=Math.cos(Me),Rr=Math.sin(Me),pr=Math.tan(Qt/4),xr=4/3*U*pr,dr=4/3*X*pr,Gr=[ee,te],Lr=[ee+xr*yr,te-dr*ar],pn=[ie+xr*Rr,Z-dr*mr],Ur=[ie,Z];if(Lr[0]=2*Gr[0]-Lr[0],Lr[1]=2*Gr[1]-Lr[1],fe)return[Lr,pn,Ur].concat(Ke);for(var Nr=[],Dr=0,rn=(Ke=[Lr,pn,Ur].concat(Ke).join().split(",")).length;Dr7){Je[nt].shift();for(var dt=Je[nt];dt.length;)ne[nt]="A",X&&(ie[nt]="A"),Je.splice(nt++,0,["C"].concat(dt.splice(0,6)));Je.splice(nt,1),te=Math.max(U.length,X&&X.length||0)}},Me=function(Je,nt,dt,kt,At){Je&&nt&&Je[At][0]==="M"&&nt[At][0]!=="M"&&(nt.splice(At,0,["M",kt.x,kt.y]),dt.bx=0,dt.by=0,dt.x=Je[At][1],dt.y=Je[At][2],te=Math.max(U.length,X&&X.length||0))};te=Math.max(U.length,X&&X.length||0);for(var Ae=0;Ae1?1:ie<0?0:ie)/2,fe=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],_e=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],je=0,Me=0;Me<12;Me++){var Ae=Z*fe[Me]+Z,Le=C(Ae,se,te,X,J),Se=C(Ae,ee,U,B,ne),Re=Le*Le+Se*Se;je+=_e[Me]*Math.sqrt(Re)}return Z*je},P=function(se,ee,te,U,X,B,J,ne){for(var ie,Z,fe,_e,je=[],Me=[[],[]],Ae=0;Ae<2;++Ae)if(Ae===0?(Z=6*se-12*te+6*X,ie=-3*se+9*te-9*X+3*J,fe=3*te-3*se):(Z=6*ee-12*U+6*B,ie=-3*ee+9*U-9*B+3*ne,fe=3*U-3*ee),Math.abs(ie)<1e-12){if(Math.abs(Z)<1e-12)continue;(_e=-fe/Z)>0&&_e<1&&je.push(_e)}else{var Le=Z*Z-4*fe*ie,Se=Math.sqrt(Le);if(!(Le<0)){var Re=(-Z+Se)/(2*ie);Re>0&&Re<1&&je.push(Re);var Ke=(-Z-Se)/(2*ie);Ke>0&&Ke<1&&je.push(Ke)}}for(var Je,nt=je.length,dt=nt;nt--;)Je=1-(_e=je[nt]),Me[0][nt]=Je*Je*Je*se+3*Je*Je*_e*te+3*Je*_e*_e*X+_e*_e*_e*J,Me[1][nt]=Je*Je*Je*ee+3*Je*Je*_e*U+3*Je*_e*_e*B+_e*_e*_e*ne;return Me[0][dt]=se,Me[1][dt]=ee,Me[0][dt+1]=J,Me[1][dt+1]=ne,Me[0].length=Me[1].length=dt+2,{min:{x:Math.min.apply(0,Me[0]),y:Math.min.apply(0,Me[1])},max:{x:Math.max.apply(0,Me[0]),y:Math.max.apply(0,Me[1])}}},L=function(se,ee,te,U,X,B,J,ne){if(!(Math.max(se,te)Math.max(X,J)||Math.max(ee,U)Math.max(B,ne))){var ie=(se-te)*(B-ne)-(ee-U)*(X-J);if(ie){var Z=((se*U-ee*te)*(X-J)-(se-te)*(X*ne-B*J))/ie,fe=((se*U-ee*te)*(B-ne)-(ee-U)*(X*ne-B*J))/ie,_e=+Z.toFixed(2),je=+fe.toFixed(2);if(!(_e<+Math.min(se,te).toFixed(2)||_e>+Math.max(se,te).toFixed(2)||_e<+Math.min(X,J).toFixed(2)||_e>+Math.max(X,J).toFixed(2)||je<+Math.min(ee,U).toFixed(2)||je>+Math.max(ee,U).toFixed(2)||je<+Math.min(B,ne).toFixed(2)||je>+Math.max(B,ne).toFixed(2)))return{x:Z,y:fe}}}},z=function(se,ee,te){return ee>=se.x&&ee<=se.x+se.width&&te>=se.y&&te<=se.y+se.height},H=function(se,ee,te,U,X){if(X)return[["M",+se+ +X,ee],["l",te-2*X,0],["a",X,X,0,0,1,X,X],["l",0,U-2*X],["a",X,X,0,0,1,-X,X],["l",2*X-te,0],["a",X,X,0,0,1,-X,-X],["l",0,2*X-U],["a",X,X,0,0,1,X,-X],["z"]];var B=[["M",se,ee],["l",te,0],["l",0,U],["l",-te,0],["z"]];return B.parsePathArray=A,B},re=function(se,ee,te,U){return se===null&&(se=ee=te=U=0),ee===null&&(ee=se.y,te=se.width,U=se.height,se=se.x),{x:se,y:ee,width:te,w:te,height:U,h:U,x2:se+te,y2:ee+U,cx:se+te/2,cy:ee+U/2,r1:Math.min(te,U)/2,r2:Math.max(te,U)/2,r0:Math.sqrt(te*te+U*U)/2,path:H(se,ee,te,U),vb:[se,ee,te,U].join(" ")}},ae=function(se,ee,te,U,X,B,J,ne){Object(f.isArray)(se)||(se=[se,ee,te,U,X,B,J,ne]);var ie=P.apply(null,se);return re(ie.min.x,ie.min.y,ie.max.x-ie.min.x,ie.max.y-ie.min.y)},ue=function(se,ee,te,U,X,B,J,ne,ie){var Z=1-ie,fe=Math.pow(Z,3),_e=Math.pow(Z,2),je=ie*ie,Me=je*ie,Ae=se+2*ie*(te-se)+je*(X-2*te+se),Le=ee+2*ie*(U-ee)+je*(B-2*U+ee),Se=te+2*ie*(X-te)+je*(J-2*X+te),Re=U+2*ie*(B-U)+je*(ne-2*B+U);return{x:fe*se+3*_e*ie*te+3*Z*ie*ie*X+Me*J,y:fe*ee+3*_e*ie*U+3*Z*ie*ie*B+Me*ne,m:{x:Ae,y:Le},n:{x:Se,y:Re},start:{x:Z*se+ie*te,y:Z*ee+ie*U},end:{x:Z*X+ie*J,y:Z*B+ie*ne},alpha:90-180*Math.atan2(Ae-Se,Le-Re)/Math.PI}},xe=function(se,ee,te){if(!function(dt,kt){return dt=re(dt),kt=re(kt),z(kt,dt.x,dt.y)||z(kt,dt.x2,dt.y)||z(kt,dt.x,dt.y2)||z(kt,dt.x2,dt.y2)||z(dt,kt.x,kt.y)||z(dt,kt.x2,kt.y)||z(dt,kt.x,kt.y2)||z(dt,kt.x2,kt.y2)||(dt.xkt.x||kt.xdt.x)&&(dt.ykt.y||kt.ydt.y)}(ae(se),ae(ee)))return te?0:[];for(var U=~~(N.apply(0,se)/8),X=~~(N.apply(0,ee)/8),B=[],J=[],ne={},ie=te?0:[],Z=0;Z=0&&Je<=1&&nt>=0&&nt<=1&&(te?ie+=1:ie.push({x:Ke.x,y:Ke.y,t1:Je,t2:nt}))}}return ie},ye=function(se,ee){return function(te,U,X){var B,J,ne,ie,Z,fe,_e,je,Me,Ae;te=m(te),U=m(U);for(var Le=X?0:[],Se=0,Re=te.length;Se=3&&(Le.length===3&&Se.push("Q"),Se=Se.concat(Le[1])),Le.length===2&&Se.push("L"),Se=Se.concat(Le[Le.length-1])})}(se,ee,te));else{var X=[].concat(se);X[0]==="M"&&(X[0]="L");for(var B=0;B<=te-1;B++)U.push(X)}return U},ge=function(se,ee){if(se.length===1)return se;var te=se.length-1,U=ee.length-1,X=te/U,B=[];if(se.length===1&&se[0][0]==="M"){for(var J=0;J=0;ie--)J=B[ie].index,B[ie].type==="add"?se.splice(J,0,[].concat(se[J])):se.splice(J,1)}var _e=X-(U=se.length);if(U0)){se[U]=ee[U];break}te=le(te,se[U-1],1)}se[U]=["Q"].concat(te.reduce(function(X,B){return X.concat(B)},[]));break;case"T":se[U]=["T"].concat(te[0]);break;case"C":if(te.length<3){if(!(U>0)){se[U]=ee[U];break}te=le(te,se[U-1],2)}se[U]=["C"].concat(te.reduce(function(X,B){return X.concat(B)},[]));break;case"S":if(te.length<2){if(!(U>0)){se[U]=ee[U];break}te=le(te,se[U-1],1)}se[U]=["S"].concat(te.reduce(function(X,B){return X.concat(B)},[]));break;default:se[U]=ee[U]}return se}},function(R,b,o){var f=o(84),c=o(147);R.exports=function(M){return M!=null&&c(M.length)&&!f(M)}},function(R,b,o){function f(S){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(S)}var c=o(363),M=o(373),_=o(65),x=o(31),O=o(380);R.exports=function(S){return typeof S=="function"?S:S==null?_:f(S)=="object"?x(S)?M(S[0],S[1]):c(S):O(S)}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.TargetTypeEnum=b.BindingTypeEnum=b.BindingScopeEnum=void 0,b.BindingScopeEnum={Request:"Request",Singleton:"Singleton",Transient:"Transient"},b.BindingTypeEnum={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},b.TargetTypeEnum={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"}},function(R,b,o){"use strict";o.r(b),o.d(b,"Base",function(){return S}),o.d(b,"Circle",function(){return g}),o.d(b,"Ellipse",function(){return y}),o.d(b,"Image",function(){return m}),o.d(b,"Line",function(){return N}),o.d(b,"Marker",function(){return H}),o.d(b,"Path",function(){return W}),o.d(b,"Polygon",function(){return Oe}),o.d(b,"Polyline",function(){return Te}),o.d(b,"Rect",function(){return ee}),o.d(b,"Text",function(){return te});var f={};o.r(f),o.d(f,"Base",function(){return S}),o.d(f,"Circle",function(){return g}),o.d(f,"Ellipse",function(){return y}),o.d(f,"Image",function(){return m}),o.d(f,"Line",function(){return N}),o.d(f,"Marker",function(){return H}),o.d(f,"Path",function(){return W}),o.d(f,"Polygon",function(){return Oe}),o.d(f,"Polyline",function(){return Te}),o.d(f,"Rect",function(){return ee}),o.d(f,"Text",function(){return te});var c=o(1),M=o(21),_=o(15),x=o(30),O=o(75),S=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},X.prototype.getShapeBase=function(){return f},X.prototype.getGroupBase=function(){return O.a},X.prototype.onCanvasChange=function(B){Object(x.h)(this,B)},X.prototype.calculateBBox=function(){var B=this.get("type"),J=this.getHitLineWidth(),ne=Object(M.getBBoxMethod)(B)(this),ie=J/2,Z=ne.x-ie,fe=ne.y-ie,_e=ne.x+ne.width+ie,je=ne.y+ne.height+ie;return{x:Z,minX:Z,y:fe,minY:fe,width:ne.width+J,height:ne.height+J,maxX:_e,maxY:je}},X.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},X.prototype.isStroke=function(){return!!this.attrs.stroke},X.prototype._applyClip=function(B,J){J&&(B.save(),Object(x.a)(B,J),J.createPath(B),B.restore(),B.clip(),J._afterDraw())},X.prototype.draw=function(B,J){var ne=this.cfg.clipShape;if(J){if(this.cfg.refresh===!1)return void this.set("hasChanged",!1);var ie=this.getCanvasBBox();if(!Object(_.f)(J,ie))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}B.save(),Object(x.a)(B,this),this._applyClip(B,ne),this.drawPath(B),B.restore(),this._afterDraw()},X.prototype.getCanvasViewBox=function(){var B=this.cfg.canvas;return B?B.getViewRange():null},X.prototype.cacheCanvasBBox=function(){var B=this.getCanvasViewBox();if(B){var J=this.getCanvasBBox(),ne=Object(_.f)(J,B);this.set("isInView",ne),ne?this.set("cacheCanvasBBox",J):this.set("cacheCanvasBBox",null)}},X.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},X.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},X.prototype.drawPath=function(B){this.createPath(B),this.strokeAndFill(B),this.afterDrawPath(B)},X.prototype.fill=function(B){B.fill()},X.prototype.stroke=function(B){B.stroke()},X.prototype.strokeAndFill=function(B){var J=this.attrs,ne=J.lineWidth,ie=J.opacity,Z=J.strokeOpacity,fe=J.fillOpacity;this.isFill()&&(Object(_.i)(fe)||fe===1?this.fill(B):(B.globalAlpha=fe,this.fill(B),B.globalAlpha=ie)),this.isStroke()&&ne>0&&(Object(_.i)(Z)||Z===1||(B.globalAlpha=Z),this.stroke(B)),this.afterDrawPath(B)},X.prototype.createPath=function(B){},X.prototype.afterDrawPath=function(B){},X.prototype.isInShape=function(B,J){var ne=this.isStroke(),ie=this.isFill(),Z=this.getHitLineWidth();return this.isInStrokeOrPath(B,J,ne,ie,Z)},X.prototype.isInStrokeOrPath=function(B,J,ne,ie,Z){return!1},X.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var B=this.attrs;return B.lineWidth+B.lineAppendWidth},X}(M.AbstractShape),g=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{x:0,y:0,r:0})},X.prototype.isInStrokeOrPath=function(B,J,ne,ie,Z){var fe=this.attr(),_e=fe.x,je=fe.y,Me=fe.r,Ae=Z/2,Le=Object(_.b)(_e,je,B,J);return ie&&ne?Le<=Me+Ae:ie?Le<=Me:!!ne&&Le>=Me-Ae&&Le<=Me+Ae},X.prototype.createPath=function(B){var J=this.attr(),ne=J.x,ie=J.y,Z=J.r;B.beginPath(),B.arc(ne,ie,Z,0,2*Math.PI,!1),B.closePath()},X}(S);function h(U,X,B,J){return U/(B*B)+X/(J*J)}var y=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{x:0,y:0,rx:0,ry:0})},X.prototype.isInStrokeOrPath=function(B,J,ne,ie,Z){var fe=this.attr(),_e=Z/2,je=fe.x,Me=fe.y,Ae=fe.rx,Le=fe.ry,Se=(B-je)*(B-je),Re=(J-Me)*(J-Me);return ie&&ne?h(Se,Re,Ae+_e,Le+_e)<=1:ie?h(Se,Re,Ae,Le)<=1:!!ne&&h(Se,Re,Ae-_e,Le-_e)>=1&&h(Se,Re,Ae+_e,Le+_e)<=1},X.prototype.createPath=function(B){var J=this.attr(),ne=J.x,ie=J.y,Z=J.rx,fe=J.ry;if(B.beginPath(),B.ellipse)B.ellipse(ne,ie,Z,fe,0,0,2*Math.PI,!1);else{var _e=Z>fe?Z:fe,je=Z>fe?1:Z/fe,Me=Z>fe?fe/Z:1;B.save(),B.translate(ne,ie),B.scale(je,Me),B.arc(0,0,_e,0,2*Math.PI),B.restore(),B.closePath()}},X}(S);function E(U){return U instanceof HTMLElement&&Object(_.k)(U.nodeName)&&U.nodeName.toUpperCase()==="CANVAS"}var m=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{x:0,y:0,width:0,height:0})},X.prototype.initAttrs=function(B){this._setImage(B.img)},X.prototype.isStroke=function(){return!1},X.prototype.isOnlyHitBox=function(){return!0},X.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var B=this.get("canvas");B?B.draw():this.createPath(this.get("context"))}},X.prototype._setImage=function(B){var J=this,ne=this.attrs;if(Object(_.k)(B)){var ie=new Image;ie.onload=function(){if(J.destroyed)return!1;J.attr("img",ie),J.set("loading",!1),J._afterLoading();var Z=J.get("callback");Z&&Z.call(J)},ie.crossOrigin="Anonymous",ie.src=B,this.set("loading",!0)}else B instanceof Image?(ne.width||(ne.width=B.width),ne.height||(ne.height=B.height)):E(B)&&(ne.width||(ne.width=Number(B.getAttribute("width"))),ne.height||(ne.height,Number(B.getAttribute("height"))))},X.prototype.onAttrChange=function(B,J,ne){U.prototype.onAttrChange.call(this,B,J,ne),B==="img"&&this._setImage(J)},X.prototype.createPath=function(B){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",B);var J=this.attr(),ne=J.x,ie=J.y,Z=J.width,fe=J.height,_e=J.sx,je=J.sy,Me=J.swidth,Ae=J.sheight,Le=J.img;(Le instanceof Image||E(Le))&&(Object(_.i)(_e)||Object(_.i)(je)||Object(_.i)(Me)||Object(_.i)(Ae)?B.drawImage(Le,ne,ie,Z,fe):B.drawImage(Le,_e,je,Me,Ae,ne,ie,Z,fe))},X}(S),p=o(20);function A(U,X,B,J,ne,ie,Z){var fe=Math.min(U,B),_e=Math.max(U,B),je=Math.min(X,J),Me=Math.max(X,J),Ae=ne/2;return ie>=fe-Ae&&ie<=_e+Ae&&Z>=je-Ae&&Z<=Me+Ae&&p.c.pointToLine(U,X,B,J,ie,Z)<=ne/2}var C=o(33),N=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},X.prototype.initAttrs=function(B){this.setArrow()},X.prototype.onAttrChange=function(B,J,ne){U.prototype.onAttrChange.call(this,B,J,ne),this.setArrow()},X.prototype.setArrow=function(){var B=this.attr(),J=B.x1,ne=B.y1,ie=B.x2,Z=B.y2,fe=B.startArrow,_e=B.endArrow;fe&&C.b(this,B,ie,Z,J,ne),_e&&C.a(this,B,J,ne,ie,Z)},X.prototype.isInStrokeOrPath=function(B,J,ne,ie,Z){if(!ne||!Z)return!1;var fe=this.attr();return A(fe.x1,fe.y1,fe.x2,fe.y2,Z,B,J)},X.prototype.createPath=function(B){var J=this.attr(),ne=J.x1,ie=J.y1,Z=J.x2,fe=J.y2,_e=J.startArrow,je=J.endArrow,Me={dx:0,dy:0},Ae={dx:0,dy:0};_e&&_e.d&&(Me=C.c(ne,ie,Z,fe,J.startArrow.d)),je&&je.d&&(Ae=C.c(ne,ie,Z,fe,J.endArrow.d)),B.beginPath(),B.moveTo(ne+Me.dx,ie+Me.dy),B.lineTo(Z-Ae.dx,fe-Ae.dy)},X.prototype.afterDrawPath=function(B){var J=this.get("startArrowShape"),ne=this.get("endArrowShape");J&&J.draw(B),ne&&ne.draw(B)},X.prototype.getTotalLength=function(){var B=this.attr(),J=B.x1,ne=B.y1,ie=B.x2,Z=B.y2;return p.c.length(J,ne,ie,Z)},X.prototype.getPoint=function(B){var J=this.attr(),ne=J.x1,ie=J.y1,Z=J.x2,fe=J.y2;return p.c.pointAt(ne,ie,Z,fe,B)},X}(S),P=o(0),L=o(37),z={circle:function(U,X,B){return[["M",U-B,X],["A",B,B,0,1,0,U+B,X],["A",B,B,0,1,0,U-B,X]]},square:function(U,X,B){return[["M",U-B,X-B],["L",U+B,X-B],["L",U+B,X+B],["L",U-B,X+B],["Z"]]},diamond:function(U,X,B){return[["M",U-B,X],["L",U,X-B],["L",U+B,X],["L",U,X+B],["Z"]]},triangle:function(U,X,B){var J=B*Math.sin(.3333333333333333*Math.PI);return[["M",U-B,X+J],["L",U,X-J],["L",U+B,X+J],["Z"]]},"triangle-down":function(U,X,B){var J=B*Math.sin(.3333333333333333*Math.PI);return[["M",U-B,X-J],["L",U+B,X-J],["L",U,X+J],["Z"]]}},H=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.initAttrs=function(B){this._resetParamsCache()},X.prototype._resetParamsCache=function(){this.set("paramsCache",{})},X.prototype.onAttrChange=function(B,J,ne){U.prototype.onAttrChange.call(this,B,J,ne),["symbol","x","y","r","radius"].indexOf(B)!==-1&&this._resetParamsCache()},X.prototype.isOnlyHitBox=function(){return!0},X.prototype._getR=function(B){return Object(P.isNil)(B.r)?B.radius:B.r},X.prototype._getPath=function(){var B,J,ne=this.attr(),ie=ne.x,Z=ne.y,fe=ne.symbol||"circle",_e=this._getR(ne);if(Object(_.h)(fe))J=(B=fe)(ie,Z,_e),J=Object(L.c)(J);else{if(!(B=X.Symbols[fe]))return console.warn(fe+" marker is not supported."),null;J=B(ie,Z,_e)}return J},X.prototype.createPath=function(B){var J=this._getPath(),ne=this.get("paramsCache");Object(x.e)(this,B,{path:J},ne)},X.Symbols=z,X}(S);function re(U,X,B){var J=Object(M.getOffScreenContext)();return U.createPath(J),J.isPointInPath(X,B)}function ae(U){return Math.abs(U)<1e-6?0:U<0?-1:1}function ue(U,X,B){return(B[0]-U[0])*(X[1]-U[1])==(X[0]-U[0])*(B[1]-U[1])&&Math.min(U[0],X[0])<=B[0]&&B[0]<=Math.max(U[0],X[0])&&Math.min(U[1],X[1])<=B[1]&&B[1]<=Math.max(U[1],X[1])}function xe(U,X,B){var J=!1,ne=U.length;if(ne<=2)return!1;for(var ie=0;ie0!=ae(fe[1]-B)>0&&ae(X-(B-Z[1])*(Z[0]-fe[0])/(Z[1]-fe[1])-Z[0])<0&&(J=!J)}return J}var ye=o(17),Y=o(39);function Ce(U,X,B,J,ne,ie,Z,fe){var _e=(Math.atan2(fe-X,Z-U)+2*Math.PI)%(2*Math.PI);if(_ene)return!1;var je={x:U+B*Math.cos(_e),y:X+B*Math.sin(_e)};return Object(_.b)(je.x,je.y,Z,fe)<=ie/2}var ge=ye.a.transform,he=Object(c.__assign)({hasArc:function(U){for(var X=!1,B=U.length,J=0;J0&&J.push(ne),{polygons:B,polylines:J}},isPointInStroke:function(U,X,B,J,ne){for(var ie=!1,Z=X/2,fe=0;fent?Je:nt,Qt=ge(null,[["t",-Re,-Ke],["r",-At],["s",1/(Je>nt?1:Je/nt),1/(Je>nt?nt/Je:1)]]);Y.transformMat3(It,It,Qt),ie=Ce(0,0,Kt,dt,kt,X,It[0],It[1])}if(ie)break}}return ie}},M.PathUtil);function Q(U,X,B){for(var J=!1,ne=0;ne=Me[0]&&B<=Me[1]&&(J=(B-Me[0])/(Me[1]-Me[0]),ne=Ae)});var fe=Z[ne];if(Object(P.isNil)(fe)||Object(P.isNil)(ne))return null;var _e=fe.length,je=Z[ne+1];return p.b.pointAt(fe[_e-2],fe[_e-1],je[1],je[2],je[3],je[4],je[5],je[6],J)},X.prototype._calculateCurve=function(){var B=this.attr().path;this.set("curve",he.pathToCurve(B))},X.prototype._setTcache=function(){var B,J,ne,ie,Z=0,fe=0,_e=[],je=this.get("curve");je&&(Object(P.each)(je,function(Me,Ae){ne=je[Ae+1],ie=Me.length,ne&&(Z+=p.b.length(Me[ie-2],Me[ie-1],ne[1],ne[2],ne[3],ne[4],ne[5],ne[6])||0)}),this.set("totalLength",Z),Z!==0?(Object(P.each)(je,function(Me,Ae){ne=je[Ae+1],ie=Me.length,ne&&((B=[])[0]=fe/Z,J=p.b.length(Me[ie-2],Me[ie-1],ne[1],ne[2],ne[3],ne[4],ne[5],ne[6]),fe+=J||0,B[1]=fe/Z,_e.push(B))}),this.set("tCache",_e)):this.set("tCache",[]))},X.prototype.getStartTangent=function(){var B,J=this.getSegments();if(J.length>1){var ne=J[0].currentPoint,ie=J[1].currentPoint,Z=J[1].startTangent;B=[],Z?(B.push([ne[0]-Z[0],ne[1]-Z[1]]),B.push([ne[0],ne[1]])):(B.push([ie[0],ie[1]]),B.push([ne[0],ne[1]]))}return B},X.prototype.getEndTangent=function(){var B,J=this.getSegments(),ne=J.length;if(ne>1){var ie=J[ne-2].currentPoint,Z=J[ne-1].currentPoint,fe=J[ne-1].endTangent;B=[],fe?(B.push([Z[0]-fe[0],Z[1]-fe[1]]),B.push([Z[0],Z[1]])):(B.push([ie[0],ie[1]]),B.push([Z[0],Z[1]]))}return B},X}(S);function le(U,X,B,J,ne){var ie=U.length;if(ie<2)return!1;for(var Z=0;Z=fe[0]&&B<=fe[1]&&(J=(B-fe[0])/(fe[1]-fe[0]),ne=_e)}),p.c.pointAt(ie[ne][0],ie[ne][1],ie[ne+1][0],ie[ne+1][1],J)},X.prototype._setTcache=function(){var B=this.attr().points;if(B&&B.length!==0){var J=this.getTotalLength();if(!(J<=0)){var ne,ie,Z=0,fe=[];Object(P.each)(B,function(_e,je){B[je+1]&&((ne=[])[0]=Z/J,ie=p.c.length(_e[0],_e[1],B[je+1][0],B[je+1][1]),Z+=ie,ne[1]=Z/J,fe.push(ne))}),this.set("tCache",fe)}}},X.prototype.getStartTangent=function(){var B=this.attr().points,J=[];return J.push([B[1][0],B[1][1]]),J.push([B[0][0],B[0][1]]),J},X.prototype.getEndTangent=function(){var B=this.attr().points,J=B.length-1,ne=[];return ne.push([B[J-1][0],B[J-1][1]]),ne.push([B[J][0],B[J][1]]),ne},X}(S),se=o(139),ee=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{x:0,y:0,width:0,height:0,radius:0})},X.prototype.isInStrokeOrPath=function(B,J,ne,ie,Z){var fe=this.attr(),_e=fe.x,je=fe.y,Me=fe.width,Ae=fe.height,Le=fe.radius;if(Le){var Se=!1;return ne&&(Se=function(Ke,Je,nt,dt,kt,At,It,Kt){return A(Ke+kt,Je,Ke+nt-kt,Je,At,It,Kt)||A(Ke+nt,Je+kt,Ke+nt,Je+dt-kt,At,It,Kt)||A(Ke+nt-kt,Je+dt,Ke+kt,Je+dt,At,It,Kt)||A(Ke,Je+dt-kt,Ke,Je+kt,At,It,Kt)||Ce(Ke+nt-kt,Je+kt,kt,1.5*Math.PI,2*Math.PI,At,It,Kt)||Ce(Ke+nt-kt,Je+dt-kt,kt,0,.5*Math.PI,At,It,Kt)||Ce(Ke+kt,Je+dt-kt,kt,.5*Math.PI,Math.PI,At,It,Kt)||Ce(Ke+kt,Je+kt,kt,Math.PI,1.5*Math.PI,At,It,Kt)}(_e,je,Me,Ae,Le,Z,B,J)),!Se&&ie&&(Se=re(this,B,J)),Se}var Re=Z/2;return ie&&ne?Object(_.e)(_e-Re,je-Re,Me+Re,Ae+Re,B,J):ie?Object(_.e)(_e,je,Me,Ae,B,J):ne?function(Ke,Je,nt,dt,kt,At,It){var Kt=kt/2;return Object(_.e)(Ke-Kt,Je-Kt,nt,kt,At,It)||Object(_.e)(Ke+nt-Kt,Je-Kt,kt,dt,At,It)||Object(_.e)(Ke+Kt,Je+dt-Kt,nt,kt,At,It)||Object(_.e)(Ke-Kt,Je+Kt,kt,dt,At,It)}(_e,je,Me,Ae,Z,B,J):void 0},X.prototype.createPath=function(B){var J=this.attr(),ne=J.x,ie=J.y,Z=J.width,fe=J.height,_e=J.radius;if(B.beginPath(),_e===0)B.rect(ne,ie,Z,fe);else{var je=Object(se.a)(_e),Me=je[0],Ae=je[1],Le=je[2],Se=je[3];B.moveTo(ne+Me,ie),B.lineTo(ne+Z-Ae,ie),Ae!==0&&B.arc(ne+Z-Ae,ie+Ae,Ae,-Math.PI/2,0),B.lineTo(ne+Z,ie+fe-Le),Le!==0&&B.arc(ne+Z-Le,ie+fe-Le,Le,0,Math.PI/2),B.lineTo(ne+Se,ie+fe),Se!==0&&B.arc(ne+Se,ie+fe-Se,Se,Math.PI/2,Math.PI),B.lineTo(ne,ie+Me),Me!==0&&B.arc(ne+Me,ie+Me,Me,Math.PI,1.5*Math.PI),B.closePath()}},X}(S),te=function(U){function X(){return U!==null&&U.apply(this,arguments)||this}return Object(c.__extends)(X,U),X.prototype.getDefaultAttrs=function(){var B=U.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},B),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},X.prototype.isOnlyHitBox=function(){return!0},X.prototype.initAttrs=function(B){this._assembleFont(),B.text&&this._setText(B.text)},X.prototype._assembleFont=function(){var B=this.attrs;B.font=Object(M.assembleFont)(B)},X.prototype._setText=function(B){var J=null;Object(_.k)(B)&&B.indexOf(` +`)!==-1&&(J=B.split(` +`)),this.set("textArr",J)},X.prototype.onAttrChange=function(B,J,ne){U.prototype.onAttrChange.call(this,B,J,ne),B.startsWith("font")&&this._assembleFont(),B==="text"&&this._setText(J)},X.prototype._getSpaceingY=function(){var B=this.attrs,J=B.lineHeight,ne=1*B.fontSize;return J?J-ne:.14*ne},X.prototype._drawTextArr=function(B,J,ne){var ie,Z=this.attrs,fe=Z.textBaseline,_e=Z.x,je=Z.y,Me=1*Z.fontSize,Ae=this._getSpaceingY(),Le=Object(M.getTextHeight)(Z.text,Z.fontSize,Z.lineHeight);Object(_.c)(J,function(Se,Re){ie=je+Re*(Ae+Me)-Le+Me,fe==="middle"&&(ie+=Le-Me-(Le-Me)/2),fe==="top"&&(ie+=Le-Me),Object(_.i)(Se)||(ne?B.fillText(Se,_e,ie):B.strokeText(Se,_e,ie))})},X.prototype._drawText=function(B,J){var ne=this.attr(),ie=ne.x,Z=ne.y,fe=this.get("textArr");if(fe)this._drawTextArr(B,fe,J);else{var _e=ne.text;Object(_.i)(_e)||(J?B.fillText(_e,ie,Z):B.strokeText(_e,ie,Z))}},X.prototype.strokeAndFill=function(B){var J=this.attrs,ne=J.lineWidth,ie=J.opacity,Z=J.strokeOpacity,fe=J.fillOpacity;this.isStroke()&&ne>0&&(Object(_.i)(Z)||Z===1||(B.globalAlpha=ie),this.stroke(B)),this.isFill()&&(Object(_.i)(fe)||fe===1?this.fill(B):(B.globalAlpha=fe,this.fill(B),B.globalAlpha=ie)),this.afterDrawPath(B)},X.prototype.fill=function(B){this._drawText(B,!0)},X.prototype.stroke=function(B){this._drawText(B,!1)},X}(S)},function(R,b,o){"use strict";o.d(b,"b",function(){return f}),o.d(b,"a",function(){return y});var f,c=o(59),M=o.n(c),_=o(6),x=o.n(_),O=o(7),S=o.n(O),g=o(2),h=o(125);(function(E){E[E.OUTSIDE=4294967295]="OUTSIDE",E[E.INSIDE=0]="INSIDE",E[E.INDETERMINATE=2147483647]="INDETERMINATE"})(f||(f={}));var y=function(){function E(m){if(x()(this,E),this.planes=[],m)this.planes=m;else for(var p=0;p<6;p++)this.planes.push(new h.a)}return S()(E,[{key:"extractFromVPMatrix",value:function(m){var p=M()(m,16),A=p[0],C=p[1],N=p[2],P=p[3],L=p[4],z=p[5],H=p[6],re=p[7],ae=p[8],ue=p[9],xe=p[10],ye=p[11],Y=p[12],Ce=p[13],ge=p[14],he=p[15];g.e.set(this.planes[0].normal,P-A,re-L,ye-ae),this.planes[0].distance=-(he-Y),g.e.set(this.planes[1].normal,P+A,re+L,ye+ae),this.planes[1].distance=-(he+Y),g.e.set(this.planes[2].normal,P+C,re+z,ye+ue),this.planes[2].distance=-(he+Ce),g.e.set(this.planes[3].normal,P-C,re-z,ye-ue),this.planes[3].distance=-(he-Ce),g.e.set(this.planes[4].normal,P-N,re-H,ye-xe),this.planes[4].distance=-(he-ge),g.e.set(this.planes[5].normal,P+N,re+H,ye+xe),this.planes[5].distance=-(he+ge),this.planes.forEach(function(Q){Q.normalize(),Q.updatePNVertexFlag()})}}]),E}()},function(R,b,o){var f=o(179),c=o(149),M=o(52);R.exports=function(_){return M(_)?f(_):c(_)}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.tagProperty=b.tagParameter=b.decorate=void 0;var f=o(40),c=o(32);function M(O,S,g,h,y){var E={},m=typeof y=="number",p=y!==void 0&&m?y.toString():g;if(m&&g!==void 0)throw new Error(f.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(O,S)&&(E=Reflect.getMetadata(O,S));var A=E[p];if(Array.isArray(A))for(var C=0,N=A;C1?S*h+function(y,E){return E?E-y:.14*y}(S,g)*(h-1):S}function _(O,S){var g=Object(c.a)(),h=0;if(Object(f.e)(O)||O==="")return h;if(g.save(),g.font=S,Object(f.h)(O)&&O.includes(` `)){var y=O.split(` -`);Object(f.a)(y,function(E){var m=g.measureText(E).width;h=se.length?{done:!0}:{done:!1,value:se[Y++]}},e:function(ce){throw ce},f:q}}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 G,re=!0,fe=!1;return{s:function(){J=se[Symbol.iterator]()},n:function(){var ce=J.next();return re=ce.done,ce},e:function(ce){fe=!0,G=ce},f:function(){try{re||J.return==null||J.return()}finally{if(fe)throw G}}}}function V(se,ee){(ee==null||ee>se.length)&&(ee=se.length);for(var J=0,Y=new Array(ee);JPe||Ce<0||Re>ke||Re<0))return de(ee.pickingFBO,function(){(q=$({x:Math.round(Ce),y:Math.round(ke-(fe+1)*window.devicePixelRatio),width:1,height:1,data:new Uint8Array(4),framebuffer:ee.pickingFBO}))[0]===0&&q[1]===0&&q[2]===0||(G=Object(ie.a)(q),ee.highlightEnabled&&ee.highlightPickedFeature(q,Y))}),G}}return le()(se,[{key:"enableHighlight",value:function(ee){this.highlightEnabled=ee}},{key:"setHighlightColor",value:function(ee){this.highlightColor=ee}},{key:"highlightPickedFeature",value:function(ee,J){if(ee){var Y,q=Z(J.getScene().getEntities());try{for(q.s();!(Y=q.n()).done;){var G=Y.value,re=this.mesh.getComponentByEntity(G).material;re.setUniform("u_PickingStage",we),re.setUniform("u_PickingColor",[ee[0],ee[1],ee[2]]),re.setUniform("u_HighlightColor",this.highlightColor)}}catch(fe){q.e(fe)}finally{q.f()}}}}]),se}(),m.IDENTIFIER="PixelPicking Pass",S=p,g=ye()(S.prototype,"engine",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=ye()(S.prototype,"resourcePool",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=ye()(S.prototype,"renderPassFactory",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=ye()(S.prototype,"mesh",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=S))||O)},function(R,b,o){"use strict";o.d(b,"a",function(){return M}),o.d(b,"b",function(){return _});var f=o(34),c=o(26);function M(x,O){O.forEach(function(S){S.draw(x)})}function _(x,O){var S=x.get("canvas");if(S&&S.get("autoDraw")){var g=S.get("context"),h=x.getParent(),y=h?h.getChildren():[S],E=x.get("el");if(O==="remove")if(x.get("isClipShape")){var m=E&&E.parentNode,p=m&&m.parentNode;m&&p&&p.removeChild(m)}else E&&E.parentNode&&E.parentNode.removeChild(E);else if(O==="show")E.setAttribute("visibility","visible");else if(O==="hide")E.setAttribute("visibility","hidden");else if(O==="zIndex")Object(c.c)(E,y.indexOf(x));else if(O==="sort"){var A=x.get("children");A&&A.length&&Object(c.d)(x,function(C,N){return A.indexOf(C)-A.indexOf(N)?1:0})}else O==="clear"?E&&(E.innerHTML=""):O==="matrix"?Object(f.c)(x):O==="clip"?Object(f.a)(x,g):O==="attr"||O==="add"&&x.draw(g)}}},function(R,b){R.exports=function(o,f){return o===f||o!=o&&f!=f}},function(R,b,o){var f=o(47).Symbol;R.exports=f},function(R,b,o){(function(f){function c(h){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(h)}var M=o(47),_=o(339),x=c(b)=="object"&&b&&!b.nodeType&&b,O=x&&c(f)=="object"&&f&&!f.nodeType&&f,S=O&&O.exports===x?M.Buffer:void 0,g=(S?S.isBuffer:void 0)||_;f.exports=g}).call(this,o(87)(R))},function(R,b,o){var f=o(348),c=o(144),M=o(349),_=o(188),x=o(350),O=o(63),S=o(177),g=S(f),h=S(c),y=S(M),E=S(_),m=S(x),p=O;(f&&p(new f(new ArrayBuffer(1)))!="[object DataView]"||c&&p(new c)!="[object Map]"||M&&p(M.resolve())!="[object Promise]"||_&&p(new _)!="[object Set]"||x&&p(new x)!="[object WeakMap]")&&(p=function(A){var C=O(A),N=C=="[object Object]"?A.constructor:void 0,P=N?S(N):"";if(P)switch(P){case g:return"[object DataView]";case h:return"[object Map]";case y:return"[object Promise]";case E:return"[object Set]";case m:return"[object WeakMap]"}return C}),R.exports=p},function(R,b,o){function f(_){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(_)}var c=o(63),M=o(49);R.exports=function(_){return f(_)=="symbol"||M(_)&&c(_)=="[object Symbol]"}},function(R,b,o){"use strict";var f=o(1),c=o(21),M=o(55),_=o(30),x=o(0),O=o(15),S=function(g){function h(){return g!==null&&g.apply(this,arguments)||this}return Object(f.__extends)(h,g),h.prototype.onCanvasChange=function(y){Object(_.h)(this,y)},h.prototype.getShapeBase=function(){return M},h.prototype.getGroupBase=function(){return h},h.prototype._applyClip=function(y,E){E&&(y.save(),Object(_.a)(y,E),E.createPath(y),y.restore(),y.clip(),E._afterDraw())},h.prototype.cacheCanvasBBox=function(){var y=this.cfg.children,E=[],m=[];Object(x.each)(y,function(X){var te=X.cfg.cacheCanvasBBox;te&&X.cfg.isInView&&(E.push(te.minX,te.maxX),m.push(te.minY,te.maxY))});var p=null;if(E.length){var A=Object(x.min)(E),C=Object(x.max)(E),N=Object(x.min)(m),P=Object(x.max)(m);p={minX:A,minY:N,x:A,y:N,maxX:C,maxY:P,width:C-A,height:P-N};var L=this.cfg.canvas;if(L){var z=L.getViewRange();this.set("isInView",Object(O.f)(p,z))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",p)},h.prototype.draw=function(y,E){var m=this.cfg.children,p=!E||this.cfg.refresh;m.length&&p&&(y.save(),Object(_.a)(y,this),this._applyClip(y,this.getClip()),Object(_.d)(y,m,E),y.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},h.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},h}(c.AbstractGroup);b.a=S},function(R,b,o){"use strict";var f=o(1),c=o(21),M=o(0),_=o(78),x=o(69),O=o(34),S=o(16),g=o(26),h=function(y){function E(){return y!==null&&y.apply(this,arguments)||this}return Object(f.__extends)(E,y),E.prototype.isEntityGroup=function(){return!0},E.prototype.createDom=function(){var m=Object(g.b)("g");this.set("el",m);var p=this.getParent();if(p){var A=p.get("el");A||(A=p.createDom(),p.set("el",A)),A.appendChild(m)}return m},E.prototype.afterAttrsChange=function(m){y.prototype.afterAttrsChange.call(this,m);var p=this.get("canvas");if(p&&p.get("autoDraw")){var A=p.get("context");this.createPath(A,m)}},E.prototype.onCanvasChange=function(m){Object(x.b)(this,m)},E.prototype.getShapeBase=function(){return _},E.prototype.getGroupBase=function(){return E},E.prototype.draw=function(m){var p=this.getChildren(),A=this.get("el");this.get("destroyed")?A&&A.parentNode.removeChild(A):(A||this.createDom(),Object(O.a)(this,m),this.createPath(m),p.length&&Object(x.a)(m,p))},E.prototype.createPath=function(m,p){var A=this.attr(),C=this.get("el");Object(M.each)(p||A,function(N,P){S.b[P]&&C.setAttribute(S.b[P],N)}),Object(O.c)(this)},E}(c.AbstractGroup);b.a=h},function(R,b,o){"use strict";o.d(b,"a",function(){return O});var f=o(6),c=o.n(f),M=o(7),_=o.n(M),x=o(2),O=function(){function S(g,h){c()(this,S),this.center=void 0,this.halfExtents=void 0,this.min=x.e.create(),this.max=x.e.create(),this.update(g,h)}return _()(S,[{key:"update",value:function(g,h){this.center=g||x.e.create(),this.halfExtents=h||x.e.fromValues(.5,.5,.5),this.min=x.e.sub(this.min,this.center,this.halfExtents),this.max=x.e.add(this.max,this.center,this.halfExtents)}},{key:"setMinMax",value:function(g,h){x.e.add(this.center,h,g),x.e.scale(this.center,this.center,.5),x.e.sub(this.halfExtents,h,g),x.e.scale(this.halfExtents,this.halfExtents,.5),x.e.copy(this.min,g),x.e.copy(this.max,h)}},{key:"getMin",value:function(){return this.min}},{key:"getMax",value:function(){return this.max}},{key:"add",value:function(g){var h=this.center,y=h[0],E=h[1],m=h[2],p=this.halfExtents,A=p[0],C=p[1],N=p[2],P=y-A,L=y+A,z=E-C,X=E+C,te=m-N,ue=m+N,le=g.center,xe=le[0],ye=le[1],W=le[2],Ie=g.halfExtents,ie=Ie[0],ne=Ie[1],Z=Ie[2],V=xe-ie,ae=xe+ie,we=ye-ne,Ae=ye+ne,se=W-Z,ee=W+Z;VL&&(L=ae),weX&&(X=Ae),seue&&(ue=ee),h[0]=.5*(P+L),h[1]=.5*(z+X),h[2]=.5*(te+ue),p[0]=.5*(L-P),p[1]=.5*(X-z),p[2]=.5*(ue-te),this.min[0]=P,this.min[1]=z,this.min[2]=te,this.max[0]=L,this.max[1]=X,this.max[2]=ue}},{key:"intersects",value:function(g){var h=this.getMax(),y=this.getMin(),E=g.getMax(),m=g.getMin();return y[0]<=E[0]&&h[0]>=m[0]&&y[1]<=E[1]&&h[1]>=m[1]&&y[2]<=E[2]&&h[2]>=m[2]}},{key:"containsPoint",value:function(g){var h=this.getMin(),y=this.getMax();return!(g[0]y[0]||g[1]y[1]||g[2]y[2])}},{key:"getNegativeFarPoint",value:function(g){return g.pnVertexFlag===273?x.e.copy(x.e.create(),this.min):g.pnVertexFlag===272?x.e.fromValues(this.min[0],this.min[1],this.max[2]):g.pnVertexFlag===257?x.e.fromValues(this.min[0],this.max[1],this.min[2]):g.pnVertexFlag===256?x.e.fromValues(this.min[0],this.max[1],this.max[2]):g.pnVertexFlag===17?x.e.fromValues(this.max[0],this.min[1],this.min[2]):g.pnVertexFlag===16?x.e.fromValues(this.max[0],this.min[1],this.max[2]):g.pnVertexFlag===1?x.e.fromValues(this.max[0],this.max[1],this.min[2]):x.e.fromValues(this.max[0],this.max[1],this.max[2])}},{key:"getPositiveFarPoint",value:function(g){return g.pnVertexFlag===273?x.e.copy(x.e.create(),this.max):g.pnVertexFlag===272?x.e.fromValues(this.max[0],this.max[1],this.min[2]):g.pnVertexFlag===257?x.e.fromValues(this.max[0],this.min[1],this.max[2]):g.pnVertexFlag===256?x.e.fromValues(this.max[0],this.min[1],this.min[2]):g.pnVertexFlag===17?x.e.fromValues(this.min[0],this.max[1],this.max[2]):g.pnVertexFlag===16?x.e.fromValues(this.min[0],this.max[1],this.min[2]):g.pnVertexFlag===1?x.e.fromValues(this.min[0],this.min[1],this.max[2]):x.e.fromValues(this.min[0],this.min[1],this.min[2])}}]),S}()},function(R,b,o){"use strict";o.r(b),o.d(b,"Base",function(){return h}),o.d(b,"Circle",function(){return E}),o.d(b,"Dom",function(){return m}),o.d(b,"Ellipse",function(){return p}),o.d(b,"Image",function(){return A}),o.d(b,"Line",function(){return N}),o.d(b,"Marker",function(){return z}),o.d(b,"Path",function(){return X}),o.d(b,"Polygon",function(){return te}),o.d(b,"Polyline",function(){return ue}),o.d(b,"Rect",function(){return le}),o.d(b,"Text",function(){return ie});var f={};o.r(f),o.d(f,"Base",function(){return h}),o.d(f,"Circle",function(){return E}),o.d(f,"Dom",function(){return m}),o.d(f,"Ellipse",function(){return p}),o.d(f,"Image",function(){return A}),o.d(f,"Line",function(){return N}),o.d(f,"Marker",function(){return z}),o.d(f,"Path",function(){return X}),o.d(f,"Polygon",function(){return te}),o.d(f,"Polyline",function(){return ue}),o.d(f,"Rect",function(){return le}),o.d(f,"Text",function(){return ie});var c=o(1),M=o(21),_=o(34),x=o(26),O=o(69),S=o(16),g=o(76),h=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="svg",V.canFill=!1,V.canStroke=!1,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},Z.prototype.afterAttrsChange=function(V){ne.prototype.afterAttrsChange.call(this,V);var ae=this.get("canvas");if(ae&&ae.get("autoDraw")){var we=ae.get("context");this.draw(we,V)}},Z.prototype.getShapeBase=function(){return f},Z.prototype.getGroupBase=function(){return g.a},Z.prototype.onCanvasChange=function(V){Object(O.b)(this,V)},Z.prototype.calculateBBox=function(){var V=this.get("el"),ae=null;if(V)ae=V.getBBox();else{var we=Object(M.getBBoxMethod)(this.get("type"));we&&(ae=we(this))}if(ae){var Ae=ae.x,se=ae.y,ee=ae.width,J=ae.height,Y=this.getHitLineWidth(),q=Y/2,G=Ae-q,re=se-q;return{x:G,y:re,minX:G,minY:re,maxX:Ae+ee+q,maxY:se+J+q,width:ee+Y,height:J+Y}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},Z.prototype.isFill=function(){var V=this.attr(),ae=V.fill,we=V.fillStyle;return(ae||we||this.isClipShape())&&this.canFill},Z.prototype.isStroke=function(){var V=this.attr(),ae=V.stroke,we=V.strokeStyle;return(ae||we)&&this.canStroke},Z.prototype.draw=function(V,ae){var we=this.get("el");this.get("destroyed")?we&&we.parentNode.removeChild(we):(we||Object(x.a)(this),Object(_.a)(this,V),this.createPath(V,ae),this.shadow(V,ae),this.strokeAndFill(V,ae),this.transform(ae))},Z.prototype.createPath=function(V,ae){},Z.prototype.strokeAndFill=function(V,ae){var we=ae||this.attr(),Ae=we.fill,se=we.fillStyle,ee=we.stroke,J=we.strokeStyle,Y=we.fillOpacity,q=we.strokeOpacity,G=we.lineWidth,re=this.get("el");this.canFill&&(ae?"fill"in we?this._setColor(V,"fill",Ae):"fillStyle"in we&&this._setColor(V,"fill",se):this._setColor(V,"fill",Ae||se),Y&&re.setAttribute(S.b.fillOpacity,Y)),this.canStroke&&G>0&&(ae?"stroke"in we?this._setColor(V,"stroke",ee):"strokeStyle"in we&&this._setColor(V,"stroke",J):this._setColor(V,"stroke",ee||J),q&&re.setAttribute(S.b.strokeOpacity,q),G&&re.setAttribute(S.b.lineWidth,G))},Z.prototype._setColor=function(V,ae,we){var Ae=this.get("el");if(we)if(we=we.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(we))(se=V.find("gradient",we))||(se=V.addGradient(we)),Ae.setAttribute(S.b[ae],"url(#"+se+")");else if(/^[p,P]{1}[\s]*\(/.test(we)){var se;(se=V.find("pattern",we))||(se=V.addPattern(we)),Ae.setAttribute(S.b[ae],"url(#"+se+")")}else Ae.setAttribute(S.b[ae],we);else Ae.setAttribute(S.b[ae],"none")},Z.prototype.shadow=function(V,ae){var we=this.attr(),Ae=ae||we,se=Ae.shadowOffsetX,ee=Ae.shadowOffsetY,J=Ae.shadowBlur,Y=Ae.shadowColor;(se||ee||J||Y)&&Object(_.b)(this,V)},Z.prototype.transform=function(V){var ae=this.attr();(V||ae).matrix&&Object(_.c)(this)},Z.prototype.isInShape=function(V,ae){return this.isPointInPath(V,ae)},Z.prototype.isPointInPath=function(V,ae){var we=this.get("el"),Ae=this.get("canvas").get("el").getBoundingClientRect(),se=V+Ae.left,ee=ae+Ae.top,J=document.elementFromPoint(se,ee);return!(!J||!J.isEqualNode(we))},Z.prototype.getHitLineWidth=function(){var V=this.attrs,ae=V.lineWidth,we=V.lineAppendWidth;return this.isStroke()?ae+we:0},Z}(M.AbstractShape),y=o(0),E=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="circle",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{x:0,y:0,r:0})},Z.prototype.createPath=function(V,ae){var we=this.attr(),Ae=this.get("el");Object(y.each)(ae||we,function(se,ee){ee==="x"||ee==="y"?Ae.setAttribute("c"+ee,se):S.b[ee]&&Ae.setAttribute(S.b[ee],se)})},Z}(h),m=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="dom",V.canFill=!1,V.canStroke=!1,V}return Object(c.__extends)(Z,ne),Z.prototype.createPath=function(V,ae){var we=this.attr(),Ae=this.get("el");if(Object(y.each)(ae||we,function(Y,q){S.b[q]&&Ae.setAttribute(S.b[q],Y)}),typeof we.html=="function"){var se=we.html.call(this,we);if(se instanceof Element||se instanceof HTMLDocument){for(var ee=Ae.childNodes,J=ee.length-1;J>=0;J--)Ae.removeChild(ee[J]);Ae.appendChild(se)}else Ae.innerHTML=se}else Ae.innerHTML=we.html},Z}(h),p=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="ellipse",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{x:0,y:0,rx:0,ry:0})},Z.prototype.createPath=function(V,ae){var we=this.attr(),Ae=this.get("el");Object(y.each)(ae||we,function(se,ee){ee==="x"||ee==="y"?Ae.setAttribute("c"+ee,se):S.b[ee]&&Ae.setAttribute(S.b[ee],se)})},Z}(h),A=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="image",V.canFill=!1,V.canStroke=!1,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{x:0,y:0,width:0,height:0})},Z.prototype.createPath=function(V,ae){var we=this,Ae=this.attr(),se=this.get("el");Object(y.each)(ae||Ae,function(ee,J){J==="img"?we._setImage(Ae.img):S.b[J]&&se.setAttribute(S.b[J],ee)})},Z.prototype.setAttr=function(V,ae){this.attrs[V]=ae,V==="img"&&this._setImage(ae)},Z.prototype._setImage=function(V){var ae=this.attr(),we=this.get("el");if(Object(y.isString)(V))we.setAttribute("href",V);else if(V instanceof window.Image)ae.width||(we.setAttribute("width",V.width),this.attr("width",V.width)),ae.height||(we.setAttribute("height",V.height),this.attr("height",V.height)),we.setAttribute("href",V.src);else if(V instanceof HTMLElement&&Object(y.isString)(V.nodeName)&&V.nodeName.toUpperCase()==="CANVAS")we.setAttribute("href",V.toDataURL());else if(V instanceof ImageData){var Ae=document.createElement("canvas");Ae.setAttribute("width",""+V.width),Ae.setAttribute("height",""+V.height),Ae.getContext("2d").putImageData(V,0,0),ae.width||(we.setAttribute("width",""+V.width),this.attr("width",V.width)),ae.height||(we.setAttribute("height",""+V.height),this.attr("height",V.height)),we.setAttribute("href",Ae.toDataURL())}},Z}(h),C=o(20),N=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="line",V.canFill=!1,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},Z.prototype.createPath=function(V,ae){var we=this.attr(),Ae=this.get("el");Object(y.each)(ae||we,function(se,ee){if(ee==="startArrow"||ee==="endArrow")if(se){var J=Object(y.isObject)(se)?V.addArrow(we,S.b[ee]):V.getDefaultArrow(we,S.b[ee]);Ae.setAttribute(S.b[ee],"url(#"+J+")")}else Ae.removeAttribute(S.b[ee]);else S.b[ee]&&Ae.setAttribute(S.b[ee],se)})},Z.prototype.getTotalLength=function(){var V=this.attr(),ae=V.x1,we=V.y1,Ae=V.x2,se=V.y2;return C.c.length(ae,we,Ae,se)},Z.prototype.getPoint=function(V){var ae=this.attr(),we=ae.x1,Ae=ae.y1,se=ae.x2,ee=ae.y2;return C.c.pointAt(we,Ae,se,ee,V)},Z}(h),P={circle:function(ne,Z,V){return[["M",ne,Z],["m",-V,0],["a",V,V,0,1,0,2*V,0],["a",V,V,0,1,0,2*-V,0]]},square:function(ne,Z,V){return[["M",ne-V,Z-V],["L",ne+V,Z-V],["L",ne+V,Z+V],["L",ne-V,Z+V],["Z"]]},diamond:function(ne,Z,V){return[["M",ne-V,Z],["L",ne,Z-V],["L",ne+V,Z],["L",ne,Z+V],["Z"]]},triangle:function(ne,Z,V){var ae=V*Math.sin(.3333333333333333*Math.PI);return[["M",ne-V,Z+ae],["L",ne,Z-ae],["L",ne+V,Z+ae],["z"]]},triangleDown:function(ne,Z,V){var ae=V*Math.sin(.3333333333333333*Math.PI);return[["M",ne-V,Z-ae],["L",ne+V,Z-ae],["L",ne,Z+ae],["Z"]]}},L={get:function(ne){return P[ne]},register:function(ne,Z){P[ne]=Z},remove:function(ne){delete P[ne]},getAll:function(){return P}},z=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="marker",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.createPath=function(V){this.get("el").setAttribute("d",this._assembleMarker())},Z.prototype._assembleMarker=function(){var V=this._getPath();return Object(y.isArray)(V)?V.map(function(ae){return ae.join(" ")}).join(""):V},Z.prototype._getPath=function(){var V,ae=this.attr(),we=ae.x,Ae=ae.y,se=ae.r||ae.radius,ee=ae.symbol||"circle";return(V=Object(y.isFunction)(ee)?ee:L.get(ee))?V(we,Ae,se):(console.warn(V+" symbol is not exist."),null)},Z.symbolsFactory=L,Z}(h),X=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="path",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{startArrow:!1,endArrow:!1})},Z.prototype.createPath=function(V,ae){var we=this,Ae=this.attr(),se=this.get("el");Object(y.each)(ae||Ae,function(ee,J){if(J==="path"&&Object(y.isArray)(ee))se.setAttribute("d",we._formatPath(ee));else if(J==="startArrow"||J==="endArrow")if(ee){var Y=Object(y.isObject)(ee)?V.addArrow(Ae,S.b[J]):V.getDefaultArrow(Ae,S.b[J]);se.setAttribute(S.b[J],"url(#"+Y+")")}else se.removeAttribute(S.b[J]);else S.b[J]&&se.setAttribute(S.b[J],ee)})},Z.prototype._formatPath=function(V){var ae=V.map(function(we){return we.join(" ")}).join("");return~ae.indexOf("NaN")?"":ae},Z.prototype.getTotalLength=function(){var V=this.get("el");return V?V.getTotalLength():null},Z.prototype.getPoint=function(V){var ae=this.get("el"),we=this.getTotalLength();if(we===0)return null;var Ae=ae?ae.getPointAtLength(V*we):null;return Ae?{x:Ae.x,y:Ae.y}:null},Z}(h),te=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="polygon",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.createPath=function(V,ae){var we=this.attr(),Ae=this.get("el");Object(y.each)(ae||we,function(se,ee){ee==="points"&&Object(y.isArray)(se)&&se.length>=2?Ae.setAttribute("points",se.map(function(J){return J[0]+","+J[1]}).join(" ")):S.b[ee]&&Ae.setAttribute(S.b[ee],se)})},Z}(h),ue=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="polyline",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{startArrow:!1,endArrow:!1})},Z.prototype.onAttrChange=function(V,ae,we){ne.prototype.onAttrChange.call(this,V,ae,we),["points"].indexOf(V)!==-1&&this._resetCache()},Z.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},Z.prototype.createPath=function(V,ae){var we=this.attr(),Ae=this.get("el");Object(y.each)(ae||we,function(se,ee){ee==="points"&&Object(y.isArray)(se)&&se.length>=2?Ae.setAttribute("points",se.map(function(J){return J[0]+","+J[1]}).join(" ")):S.b[ee]&&Ae.setAttribute(S.b[ee],se)})},Z.prototype.getTotalLength=function(){var V=this.attr().points,ae=this.get("totalLength");return Object(y.isNil)(ae)?(this.set("totalLength",C.d.length(V)),this.get("totalLength")):ae},Z.prototype.getPoint=function(V){var ae,we,Ae=this.attr().points,se=this.get("tCache");return se||(this._setTcache(),se=this.get("tCache")),Object(y.each)(se,function(ee,J){V>=ee[0]&&V<=ee[1]&&(ae=(V-ee[0])/(ee[1]-ee[0]),we=J)}),C.c.pointAt(Ae[we][0],Ae[we][1],Ae[we+1][0],Ae[we+1][1],ae)},Z.prototype._setTcache=function(){var V=this.attr().points;if(V&&V.length!==0){var ae=this.getTotalLength();if(!(ae<=0)){var we,Ae,se=0,ee=[];Object(y.each)(V,function(J,Y){V[Y+1]&&((we=[])[0]=se/ae,Ae=C.c.length(J[0],J[1],V[Y+1][0],V[Y+1][1]),se+=Ae,we[1]=se/ae,ee.push(we))}),this.set("tCache",ee)}}},Z.prototype.getStartTangent=function(){var V=this.attr().points,ae=[];return ae.push([V[1][0],V[1][1]]),ae.push([V[0][0],V[0][1]]),ae},Z.prototype.getEndTangent=function(){var V=this.attr().points,ae=V.length-1,we=[];return we.push([V[ae-1][0],V[ae-1][1]]),we.push([V[ae][0],V[ae][1]]),we},Z}(h),le=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="rect",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{x:0,y:0,width:0,height:0,radius:0})},Z.prototype.createPath=function(V,ae){var we=this,Ae=this.attr(),se=this.get("el"),ee=!1,J=["x","y","width","height","radius"];Object(y.each)(ae||Ae,function(Y,q){J.indexOf(q)===-1||ee?J.indexOf(q)===-1&&S.b[q]&&se.setAttribute(S.b[q],Y):(se.setAttribute("d",we._assembleRect(Ae)),ee=!0)})},Z.prototype._assembleRect=function(V){var ae=V.x,we=V.y,Ae=V.width,se=V.height,ee=V.radius;if(!ee)return"M "+ae+","+we+" l "+Ae+",0 l 0,"+se+" l"+-Ae+" 0 z";var J=function(Y){var q=0,G=0,re=0,fe=0;return Object(y.isArray)(Y)?Y.length===1?q=G=re=fe=Y[0]:Y.length===2?(q=re=Y[0],G=fe=Y[1]):Y.length===3?(q=Y[0],G=fe=Y[1],re=Y[2]):(q=Y[0],G=Y[1],re=Y[2],fe=Y[3]):q=G=re=fe=Y,{r1:q,r2:G,r3:re,r4:fe}}(ee);return Object(y.isArray)(ee)?ee.length===1?J.r1=J.r2=J.r3=J.r4=ee[0]:ee.length===2?(J.r1=J.r3=ee[0],J.r2=J.r4=ee[1]):ee.length===3?(J.r1=ee[0],J.r2=J.r4=ee[1],J.r3=ee[2]):(J.r1=ee[0],J.r2=ee[1],J.r3=ee[2],J.r4=ee[3]):J.r1=J.r2=J.r3=J.r4=ee,[["M "+(ae+J.r1)+","+we],["l "+(Ae-J.r1-J.r2)+",0"],["a "+J.r2+","+J.r2+",0,0,1,"+J.r2+","+J.r2],["l 0,"+(se-J.r2-J.r3)],["a "+J.r3+","+J.r3+",0,0,1,"+-J.r3+","+J.r3],["l "+(J.r3+J.r4-Ae)+",0"],["a "+J.r4+","+J.r4+",0,0,1,"+-J.r4+","+-J.r4],["l 0,"+(J.r4+J.r1-se)],["a "+J.r1+","+J.r1+",0,0,1,"+J.r1+","+-J.r1],["z"]].join(" ")},Z}(h),xe=o(138),ye={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},W={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},Ie={left:"left",start:"left",center:"middle",right:"end",end:"end"},ie=function(ne){function Z(){var V=ne!==null&&ne.apply(this,arguments)||this;return V.type="text",V.canFill=!0,V.canStroke=!0,V}return Object(c.__extends)(Z,ne),Z.prototype.getDefaultAttrs=function(){var V=ne.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},V),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},Z.prototype.createPath=function(V,ae){var we=this,Ae=this.attr(),se=this.get("el");this._setFont(),Object(y.each)(ae||Ae,function(ee,J){J==="text"?we._setText(""+ee):J==="matrix"&&ee?Object(_.c)(we):S.b[J]&&se.setAttribute(S.b[J],ee)}),se.setAttribute("paint-order","stroke"),se.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},Z.prototype._setFont=function(){var V=this.get("el"),ae=this.attr(),we=ae.textBaseline,Ae=ae.textAlign,se=Object(xe.a)();se&&se.name==="firefox"?V.setAttribute("dominant-baseline",W[we]||"alphabetic"):V.setAttribute("alignment-baseline",ye[we]||"baseline"),V.setAttribute("text-anchor",Ie[Ae]||"left")},Z.prototype._setText=function(V){var ae=this.get("el"),we=this.attr(),Ae=we.x,se=we.textBaseline,ee=se===void 0?"bottom":se;if(V)if(~V.indexOf(` -`)){var J=V.split(` -`),Y=J.length-1,q="";Object(y.each)(J,function(G,re){re===0?ee==="alphabetic"?q+=''+G+"":ee==="top"?q+=''+G+"":ee==="middle"?q+=''+G+"":ee==="bottom"?q+=''+G+"":ee==="hanging"&&(q+=''+G+""):q+=''+G+""}),ae.innerHTML=q}else ae.innerHTML=V;else ae.innerHTML=""},Z}(h)},function(R,b,o){"use strict";o.r(b),o.d(b,"create",function(){return c}),o.d(b,"clone",function(){return M}),o.d(b,"fromValues",function(){return _}),o.d(b,"copy",function(){return x}),o.d(b,"set",function(){return O}),o.d(b,"add",function(){return S}),o.d(b,"subtract",function(){return g}),o.d(b,"multiply",function(){return h}),o.d(b,"divide",function(){return y}),o.d(b,"ceil",function(){return E}),o.d(b,"floor",function(){return m}),o.d(b,"min",function(){return p}),o.d(b,"max",function(){return A}),o.d(b,"round",function(){return C}),o.d(b,"scale",function(){return N}),o.d(b,"scaleAndAdd",function(){return P}),o.d(b,"distance",function(){return L}),o.d(b,"squaredDistance",function(){return z}),o.d(b,"length",function(){return X}),o.d(b,"squaredLength",function(){return te}),o.d(b,"negate",function(){return ue}),o.d(b,"inverse",function(){return le}),o.d(b,"normalize",function(){return xe}),o.d(b,"dot",function(){return ye}),o.d(b,"cross",function(){return W}),o.d(b,"lerp",function(){return Ie}),o.d(b,"random",function(){return ie}),o.d(b,"transformMat2",function(){return ne}),o.d(b,"transformMat2d",function(){return Z}),o.d(b,"transformMat3",function(){return V}),o.d(b,"transformMat4",function(){return ae}),o.d(b,"rotate",function(){return we}),o.d(b,"angle",function(){return Ae}),o.d(b,"zero",function(){return se}),o.d(b,"str",function(){return ee}),o.d(b,"exactEquals",function(){return J}),o.d(b,"equals",function(){return Y}),o.d(b,"len",function(){return G}),o.d(b,"sub",function(){return re}),o.d(b,"mul",function(){return fe}),o.d(b,"div",function(){return ce}),o.d(b,"dist",function(){return $}),o.d(b,"sqrDist",function(){return de}),o.d(b,"sqrLen",function(){return Se}),o.d(b,"forEach",function(){return Pe});var f=o(12);function c(){var ke=new f.a(2);return f.a!=Float32Array&&(ke[0]=0,ke[1]=0),ke}function M(ke){var Ce=new f.a(2);return Ce[0]=ke[0],Ce[1]=ke[1],Ce}function _(ke,Ce){var Re=new f.a(2);return Re[0]=ke,Re[1]=Ce,Re}function x(ke,Ce){return ke[0]=Ce[0],ke[1]=Ce[1],ke}function O(ke,Ce,Re){return ke[0]=Ce,ke[1]=Re,ke}function S(ke,Ce,Re){return ke[0]=Ce[0]+Re[0],ke[1]=Ce[1]+Re[1],ke}function g(ke,Ce,Re){return ke[0]=Ce[0]-Re[0],ke[1]=Ce[1]-Re[1],ke}function h(ke,Ce,Re){return ke[0]=Ce[0]*Re[0],ke[1]=Ce[1]*Re[1],ke}function y(ke,Ce,Re){return ke[0]=Ce[0]/Re[0],ke[1]=Ce[1]/Re[1],ke}function E(ke,Ce){return ke[0]=Math.ceil(Ce[0]),ke[1]=Math.ceil(Ce[1]),ke}function m(ke,Ce){return ke[0]=Math.floor(Ce[0]),ke[1]=Math.floor(Ce[1]),ke}function p(ke,Ce,Re){return ke[0]=Math.min(Ce[0],Re[0]),ke[1]=Math.min(Ce[1],Re[1]),ke}function A(ke,Ce,Re){return ke[0]=Math.max(Ce[0],Re[0]),ke[1]=Math.max(Ce[1],Re[1]),ke}function C(ke,Ce){return ke[0]=Math.round(Ce[0]),ke[1]=Math.round(Ce[1]),ke}function N(ke,Ce,Re){return ke[0]=Ce[0]*Re,ke[1]=Ce[1]*Re,ke}function P(ke,Ce,Re,Oe){return ke[0]=Ce[0]+Re[0]*Oe,ke[1]=Ce[1]+Re[1]*Oe,ke}function L(ke,Ce){var Re=Ce[0]-ke[0],Oe=Ce[1]-ke[1];return Math.hypot(Re,Oe)}function z(ke,Ce){var Re=Ce[0]-ke[0],Oe=Ce[1]-ke[1];return Re*Re+Oe*Oe}function X(ke){var Ce=ke[0],Re=ke[1];return Math.hypot(Ce,Re)}function te(ke){var Ce=ke[0],Re=ke[1];return Ce*Ce+Re*Re}function ue(ke,Ce){return ke[0]=-Ce[0],ke[1]=-Ce[1],ke}function le(ke,Ce){return ke[0]=1/Ce[0],ke[1]=1/Ce[1],ke}function xe(ke,Ce){var Re=Ce[0],Oe=Ce[1],Le=Re*Re+Oe*Oe;return Le>0&&(Le=1/Math.sqrt(Le)),ke[0]=Ce[0]*Le,ke[1]=Ce[1]*Le,ke}function ye(ke,Ce){return ke[0]*Ce[0]+ke[1]*Ce[1]}function W(ke,Ce,Re){var Oe=Ce[0]*Re[1]-Ce[1]*Re[0];return ke[0]=ke[1]=0,ke[2]=Oe,ke}function Ie(ke,Ce,Re,Oe){var Le=Ce[0],Ke=Ce[1];return ke[0]=Le+Oe*(Re[0]-Le),ke[1]=Ke+Oe*(Re[1]-Ke),ke}function ie(ke,Ce){Ce=Ce||1;var Re=2*f.c()*Math.PI;return ke[0]=Math.cos(Re)*Ce,ke[1]=Math.sin(Re)*Ce,ke}function ne(ke,Ce,Re){var Oe=Ce[0],Le=Ce[1];return ke[0]=Re[0]*Oe+Re[2]*Le,ke[1]=Re[1]*Oe+Re[3]*Le,ke}function Z(ke,Ce,Re){var Oe=Ce[0],Le=Ce[1];return ke[0]=Re[0]*Oe+Re[2]*Le+Re[4],ke[1]=Re[1]*Oe+Re[3]*Le+Re[5],ke}function V(ke,Ce,Re){var Oe=Ce[0],Le=Ce[1];return ke[0]=Re[0]*Oe+Re[3]*Le+Re[6],ke[1]=Re[1]*Oe+Re[4]*Le+Re[7],ke}function ae(ke,Ce,Re){var Oe=Ce[0],Le=Ce[1];return ke[0]=Re[0]*Oe+Re[4]*Le+Re[12],ke[1]=Re[1]*Oe+Re[5]*Le+Re[13],ke}function we(ke,Ce,Re,Oe){var Le=Ce[0]-Re[0],Ke=Ce[1]-Re[1],et=Math.sin(Oe),ot=Math.cos(Oe);return ke[0]=Le*ot-Ke*et+Re[0],ke[1]=Le*et+Ke*ot+Re[1],ke}function Ae(ke,Ce){var Re=ke[0],Oe=ke[1],Le=Ce[0],Ke=Ce[1],et=Math.sqrt(Re*Re+Oe*Oe)*Math.sqrt(Le*Le+Ke*Ke),ot=et&&(Re*Le+Oe*Ke)/et;return Math.acos(Math.min(Math.max(ot,-1),1))}function se(ke){return ke[0]=0,ke[1]=0,ke}function ee(ke){return"vec2("+ke[0]+", "+ke[1]+")"}function J(ke,Ce){return ke[0]===Ce[0]&&ke[1]===Ce[1]}function Y(ke,Ce){var Re=ke[0],Oe=ke[1],Le=Ce[0],Ke=Ce[1];return Math.abs(Re-Le)<=f.b*Math.max(1,Math.abs(Re),Math.abs(Le))&&Math.abs(Oe-Ke)<=f.b*Math.max(1,Math.abs(Oe),Math.abs(Ke))}var q,G=X,re=g,fe=h,ce=y,$=L,de=z,Se=te,Pe=(q=c(),function(ke,Ce,Re,Oe,Le,Ke){var et,ot;for(Ce||(Ce=2),Re||(Re=0),ot=Oe?Math.min(Oe*Ce+Re,ke.length):ke.length,et=Re;et=se.length?{done:!0}:{done:!1,value:se[U++]}},e:function(ie){throw ie},f:X}}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 B,J=!0,ne=!1;return{s:function(){te=se[Symbol.iterator]()},n:function(){var ie=te.next();return J=ie.done,ie},e:function(ie){ne=!0,B=ie},f:function(){try{J||te.return==null||te.return()}finally{if(ne)throw B}}}}function W(se,ee){(ee==null||ee>se.length)&&(ee=se.length);for(var te=0,U=new Array(ee);teje||Ae<0||Le>Me||Le<0))return fe(ee.pickingFBO,function(){(X=Z({x:Math.round(Ae),y:Math.round(Me-(ne+1)*window.devicePixelRatio),width:1,height:1,data:new Uint8Array(4),framebuffer:ee.pickingFBO}))[0]===0&&X[1]===0&&X[2]===0||(B=Object(ge.a)(X),ee.highlightEnabled&&ee.highlightPickedFeature(X,U))}),B}}return ue()(se,[{key:"enableHighlight",value:function(ee){this.highlightEnabled=ee}},{key:"setHighlightColor",value:function(ee){this.highlightColor=ee}},{key:"highlightPickedFeature",value:function(ee,te){if(ee){var U,X=Q(te.getScene().getEntities());try{for(X.s();!(U=X.n()).done;){var B=U.value,J=this.mesh.getComponentByEntity(B).material;J.setUniform("u_PickingStage",Oe),J.setUniform("u_PickingColor",[ee[0],ee[1],ee[2]]),J.setUniform("u_HighlightColor",this.highlightColor)}}catch(ne){X.e(ne)}finally{X.f()}}}}]),se}(),m.IDENTIFIER="PixelPicking Pass",S=p,g=ye()(S.prototype,"engine",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=ye()(S.prototype,"resourcePool",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=ye()(S.prototype,"renderPassFactory",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=ye()(S.prototype,"mesh",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=S))||O)},function(R,b,o){"use strict";o.d(b,"a",function(){return M}),o.d(b,"b",function(){return _});var f=o(34),c=o(26);function M(x,O){O.forEach(function(S){S.draw(x)})}function _(x,O){var S=x.get("canvas");if(S&&S.get("autoDraw")){var g=S.get("context"),h=x.getParent(),y=h?h.getChildren():[S],E=x.get("el");if(O==="remove")if(x.get("isClipShape")){var m=E&&E.parentNode,p=m&&m.parentNode;m&&p&&p.removeChild(m)}else E&&E.parentNode&&E.parentNode.removeChild(E);else if(O==="show")E.setAttribute("visibility","visible");else if(O==="hide")E.setAttribute("visibility","hidden");else if(O==="zIndex")Object(c.c)(E,y.indexOf(x));else if(O==="sort"){var A=x.get("children");A&&A.length&&Object(c.d)(x,function(C,N){return A.indexOf(C)-A.indexOf(N)?1:0})}else O==="clear"?E&&(E.innerHTML=""):O==="matrix"?Object(f.c)(x):O==="clip"?Object(f.a)(x,g):O==="attr"||O==="add"&&x.draw(g)}}},function(R,b){R.exports=function(o,f){return o===f||o!=o&&f!=f}},function(R,b,o){var f=o(47).Symbol;R.exports=f},function(R,b,o){(function(f){function c(h){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(h)}var M=o(47),_=o(339),x=c(b)=="object"&&b&&!b.nodeType&&b,O=x&&c(f)=="object"&&f&&!f.nodeType&&f,S=O&&O.exports===x?M.Buffer:void 0,g=(S?S.isBuffer:void 0)||_;f.exports=g}).call(this,o(87)(R))},function(R,b,o){var f=o(348),c=o(144),M=o(349),_=o(188),x=o(350),O=o(63),S=o(177),g=S(f),h=S(c),y=S(M),E=S(_),m=S(x),p=O;(f&&p(new f(new ArrayBuffer(1)))!="[object DataView]"||c&&p(new c)!="[object Map]"||M&&p(M.resolve())!="[object Promise]"||_&&p(new _)!="[object Set]"||x&&p(new x)!="[object WeakMap]")&&(p=function(A){var C=O(A),N=C=="[object Object]"?A.constructor:void 0,P=N?S(N):"";if(P)switch(P){case g:return"[object DataView]";case h:return"[object Map]";case y:return"[object Promise]";case E:return"[object Set]";case m:return"[object WeakMap]"}return C}),R.exports=p},function(R,b,o){function f(_){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(_)}var c=o(63),M=o(49);R.exports=function(_){return f(_)=="symbol"||M(_)&&c(_)=="[object Symbol]"}},function(R,b,o){"use strict";var f=o(1),c=o(21),M=o(55),_=o(30),x=o(0),O=o(15),S=function(g){function h(){return g!==null&&g.apply(this,arguments)||this}return Object(f.__extends)(h,g),h.prototype.onCanvasChange=function(y){Object(_.h)(this,y)},h.prototype.getShapeBase=function(){return M},h.prototype.getGroupBase=function(){return h},h.prototype._applyClip=function(y,E){E&&(y.save(),Object(_.a)(y,E),E.createPath(y),y.restore(),y.clip(),E._afterDraw())},h.prototype.cacheCanvasBBox=function(){var y=this.cfg.children,E=[],m=[];Object(x.each)(y,function(H){var re=H.cfg.cacheCanvasBBox;re&&H.cfg.isInView&&(E.push(re.minX,re.maxX),m.push(re.minY,re.maxY))});var p=null;if(E.length){var A=Object(x.min)(E),C=Object(x.max)(E),N=Object(x.min)(m),P=Object(x.max)(m);p={minX:A,minY:N,x:A,y:N,maxX:C,maxY:P,width:C-A,height:P-N};var L=this.cfg.canvas;if(L){var z=L.getViewRange();this.set("isInView",Object(O.f)(p,z))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",p)},h.prototype.draw=function(y,E){var m=this.cfg.children,p=!E||this.cfg.refresh;m.length&&p&&(y.save(),Object(_.a)(y,this),this._applyClip(y,this.getClip()),Object(_.d)(y,m,E),y.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},h.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},h}(c.AbstractGroup);b.a=S},function(R,b,o){"use strict";var f=o(1),c=o(21),M=o(0),_=o(78),x=o(69),O=o(34),S=o(16),g=o(26),h=function(y){function E(){return y!==null&&y.apply(this,arguments)||this}return Object(f.__extends)(E,y),E.prototype.isEntityGroup=function(){return!0},E.prototype.createDom=function(){var m=Object(g.b)("g");this.set("el",m);var p=this.getParent();if(p){var A=p.get("el");A||(A=p.createDom(),p.set("el",A)),A.appendChild(m)}return m},E.prototype.afterAttrsChange=function(m){y.prototype.afterAttrsChange.call(this,m);var p=this.get("canvas");if(p&&p.get("autoDraw")){var A=p.get("context");this.createPath(A,m)}},E.prototype.onCanvasChange=function(m){Object(x.b)(this,m)},E.prototype.getShapeBase=function(){return _},E.prototype.getGroupBase=function(){return E},E.prototype.draw=function(m){var p=this.getChildren(),A=this.get("el");this.get("destroyed")?A&&A.parentNode.removeChild(A):(A||this.createDom(),Object(O.a)(this,m),this.createPath(m),p.length&&Object(x.a)(m,p))},E.prototype.createPath=function(m,p){var A=this.attr(),C=this.get("el");Object(M.each)(p||A,function(N,P){S.b[P]&&C.setAttribute(S.b[P],N)}),Object(O.c)(this)},E}(c.AbstractGroup);b.a=h},function(R,b,o){"use strict";o.d(b,"a",function(){return O});var f=o(6),c=o.n(f),M=o(7),_=o.n(M),x=o(2),O=function(){function S(g,h){c()(this,S),this.center=void 0,this.halfExtents=void 0,this.min=x.e.create(),this.max=x.e.create(),this.update(g,h)}return _()(S,[{key:"update",value:function(g,h){this.center=g||x.e.create(),this.halfExtents=h||x.e.fromValues(.5,.5,.5),this.min=x.e.sub(this.min,this.center,this.halfExtents),this.max=x.e.add(this.max,this.center,this.halfExtents)}},{key:"setMinMax",value:function(g,h){x.e.add(this.center,h,g),x.e.scale(this.center,this.center,.5),x.e.sub(this.halfExtents,h,g),x.e.scale(this.halfExtents,this.halfExtents,.5),x.e.copy(this.min,g),x.e.copy(this.max,h)}},{key:"getMin",value:function(){return this.min}},{key:"getMax",value:function(){return this.max}},{key:"add",value:function(g){var h=this.center,y=h[0],E=h[1],m=h[2],p=this.halfExtents,A=p[0],C=p[1],N=p[2],P=y-A,L=y+A,z=E-C,H=E+C,re=m-N,ae=m+N,ue=g.center,xe=ue[0],ye=ue[1],Y=ue[2],Ce=g.halfExtents,ge=Ce[0],he=Ce[1],Q=Ce[2],W=xe-ge,le=xe+ge,Oe=ye-he,Te=ye+he,se=Y-Q,ee=Y+Q;WL&&(L=le),OeH&&(H=Te),seae&&(ae=ee),h[0]=.5*(P+L),h[1]=.5*(z+H),h[2]=.5*(re+ae),p[0]=.5*(L-P),p[1]=.5*(H-z),p[2]=.5*(ae-re),this.min[0]=P,this.min[1]=z,this.min[2]=re,this.max[0]=L,this.max[1]=H,this.max[2]=ae}},{key:"intersects",value:function(g){var h=this.getMax(),y=this.getMin(),E=g.getMax(),m=g.getMin();return y[0]<=E[0]&&h[0]>=m[0]&&y[1]<=E[1]&&h[1]>=m[1]&&y[2]<=E[2]&&h[2]>=m[2]}},{key:"containsPoint",value:function(g){var h=this.getMin(),y=this.getMax();return!(g[0]y[0]||g[1]y[1]||g[2]y[2])}},{key:"getNegativeFarPoint",value:function(g){return g.pnVertexFlag===273?x.e.copy(x.e.create(),this.min):g.pnVertexFlag===272?x.e.fromValues(this.min[0],this.min[1],this.max[2]):g.pnVertexFlag===257?x.e.fromValues(this.min[0],this.max[1],this.min[2]):g.pnVertexFlag===256?x.e.fromValues(this.min[0],this.max[1],this.max[2]):g.pnVertexFlag===17?x.e.fromValues(this.max[0],this.min[1],this.min[2]):g.pnVertexFlag===16?x.e.fromValues(this.max[0],this.min[1],this.max[2]):g.pnVertexFlag===1?x.e.fromValues(this.max[0],this.max[1],this.min[2]):x.e.fromValues(this.max[0],this.max[1],this.max[2])}},{key:"getPositiveFarPoint",value:function(g){return g.pnVertexFlag===273?x.e.copy(x.e.create(),this.max):g.pnVertexFlag===272?x.e.fromValues(this.max[0],this.max[1],this.min[2]):g.pnVertexFlag===257?x.e.fromValues(this.max[0],this.min[1],this.max[2]):g.pnVertexFlag===256?x.e.fromValues(this.max[0],this.min[1],this.min[2]):g.pnVertexFlag===17?x.e.fromValues(this.min[0],this.max[1],this.max[2]):g.pnVertexFlag===16?x.e.fromValues(this.min[0],this.max[1],this.min[2]):g.pnVertexFlag===1?x.e.fromValues(this.min[0],this.min[1],this.max[2]):x.e.fromValues(this.min[0],this.min[1],this.min[2])}}]),S}()},function(R,b,o){"use strict";o.r(b),o.d(b,"Base",function(){return h}),o.d(b,"Circle",function(){return E}),o.d(b,"Dom",function(){return m}),o.d(b,"Ellipse",function(){return p}),o.d(b,"Image",function(){return A}),o.d(b,"Line",function(){return N}),o.d(b,"Marker",function(){return z}),o.d(b,"Path",function(){return H}),o.d(b,"Polygon",function(){return re}),o.d(b,"Polyline",function(){return ae}),o.d(b,"Rect",function(){return ue}),o.d(b,"Text",function(){return ge});var f={};o.r(f),o.d(f,"Base",function(){return h}),o.d(f,"Circle",function(){return E}),o.d(f,"Dom",function(){return m}),o.d(f,"Ellipse",function(){return p}),o.d(f,"Image",function(){return A}),o.d(f,"Line",function(){return N}),o.d(f,"Marker",function(){return z}),o.d(f,"Path",function(){return H}),o.d(f,"Polygon",function(){return re}),o.d(f,"Polyline",function(){return ae}),o.d(f,"Rect",function(){return ue}),o.d(f,"Text",function(){return ge});var c=o(1),M=o(21),_=o(34),x=o(26),O=o(69),S=o(16),g=o(76),h=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="svg",W.canFill=!1,W.canStroke=!1,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},Q.prototype.afterAttrsChange=function(W){he.prototype.afterAttrsChange.call(this,W);var le=this.get("canvas");if(le&&le.get("autoDraw")){var Oe=le.get("context");this.draw(Oe,W)}},Q.prototype.getShapeBase=function(){return f},Q.prototype.getGroupBase=function(){return g.a},Q.prototype.onCanvasChange=function(W){Object(O.b)(this,W)},Q.prototype.calculateBBox=function(){var W=this.get("el"),le=null;if(W)le=W.getBBox();else{var Oe=Object(M.getBBoxMethod)(this.get("type"));Oe&&(le=Oe(this))}if(le){var Te=le.x,se=le.y,ee=le.width,te=le.height,U=this.getHitLineWidth(),X=U/2,B=Te-X,J=se-X;return{x:B,y:J,minX:B,minY:J,maxX:Te+ee+X,maxY:se+te+X,width:ee+U,height:te+U}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},Q.prototype.isFill=function(){var W=this.attr(),le=W.fill,Oe=W.fillStyle;return(le||Oe||this.isClipShape())&&this.canFill},Q.prototype.isStroke=function(){var W=this.attr(),le=W.stroke,Oe=W.strokeStyle;return(le||Oe)&&this.canStroke},Q.prototype.draw=function(W,le){var Oe=this.get("el");this.get("destroyed")?Oe&&Oe.parentNode.removeChild(Oe):(Oe||Object(x.a)(this),Object(_.a)(this,W),this.createPath(W,le),this.shadow(W,le),this.strokeAndFill(W,le),this.transform(le))},Q.prototype.createPath=function(W,le){},Q.prototype.strokeAndFill=function(W,le){var Oe=le||this.attr(),Te=Oe.fill,se=Oe.fillStyle,ee=Oe.stroke,te=Oe.strokeStyle,U=Oe.fillOpacity,X=Oe.strokeOpacity,B=Oe.lineWidth,J=this.get("el");this.canFill&&(le?"fill"in Oe?this._setColor(W,"fill",Te):"fillStyle"in Oe&&this._setColor(W,"fill",se):this._setColor(W,"fill",Te||se),U&&J.setAttribute(S.b.fillOpacity,U)),this.canStroke&&B>0&&(le?"stroke"in Oe?this._setColor(W,"stroke",ee):"strokeStyle"in Oe&&this._setColor(W,"stroke",te):this._setColor(W,"stroke",ee||te),X&&J.setAttribute(S.b.strokeOpacity,X),B&&J.setAttribute(S.b.lineWidth,B))},Q.prototype._setColor=function(W,le,Oe){var Te=this.get("el");if(Oe)if(Oe=Oe.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(Oe))(se=W.find("gradient",Oe))||(se=W.addGradient(Oe)),Te.setAttribute(S.b[le],"url(#"+se+")");else if(/^[p,P]{1}[\s]*\(/.test(Oe)){var se;(se=W.find("pattern",Oe))||(se=W.addPattern(Oe)),Te.setAttribute(S.b[le],"url(#"+se+")")}else Te.setAttribute(S.b[le],Oe);else Te.setAttribute(S.b[le],"none")},Q.prototype.shadow=function(W,le){var Oe=this.attr(),Te=le||Oe,se=Te.shadowOffsetX,ee=Te.shadowOffsetY,te=Te.shadowBlur,U=Te.shadowColor;(se||ee||te||U)&&Object(_.b)(this,W)},Q.prototype.transform=function(W){var le=this.attr();(W||le).matrix&&Object(_.c)(this)},Q.prototype.isInShape=function(W,le){return this.isPointInPath(W,le)},Q.prototype.isPointInPath=function(W,le){var Oe=this.get("el"),Te=this.get("canvas").get("el").getBoundingClientRect(),se=W+Te.left,ee=le+Te.top,te=document.elementFromPoint(se,ee);return!(!te||!te.isEqualNode(Oe))},Q.prototype.getHitLineWidth=function(){var W=this.attrs,le=W.lineWidth,Oe=W.lineAppendWidth;return this.isStroke()?le+Oe:0},Q}(M.AbstractShape),y=o(0),E=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="circle",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{x:0,y:0,r:0})},Q.prototype.createPath=function(W,le){var Oe=this.attr(),Te=this.get("el");Object(y.each)(le||Oe,function(se,ee){ee==="x"||ee==="y"?Te.setAttribute("c"+ee,se):S.b[ee]&&Te.setAttribute(S.b[ee],se)})},Q}(h),m=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="dom",W.canFill=!1,W.canStroke=!1,W}return Object(c.__extends)(Q,he),Q.prototype.createPath=function(W,le){var Oe=this.attr(),Te=this.get("el");if(Object(y.each)(le||Oe,function(U,X){S.b[X]&&Te.setAttribute(S.b[X],U)}),typeof Oe.html=="function"){var se=Oe.html.call(this,Oe);if(se instanceof Element||se instanceof HTMLDocument){for(var ee=Te.childNodes,te=ee.length-1;te>=0;te--)Te.removeChild(ee[te]);Te.appendChild(se)}else Te.innerHTML=se}else Te.innerHTML=Oe.html},Q}(h),p=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="ellipse",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{x:0,y:0,rx:0,ry:0})},Q.prototype.createPath=function(W,le){var Oe=this.attr(),Te=this.get("el");Object(y.each)(le||Oe,function(se,ee){ee==="x"||ee==="y"?Te.setAttribute("c"+ee,se):S.b[ee]&&Te.setAttribute(S.b[ee],se)})},Q}(h),A=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="image",W.canFill=!1,W.canStroke=!1,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{x:0,y:0,width:0,height:0})},Q.prototype.createPath=function(W,le){var Oe=this,Te=this.attr(),se=this.get("el");Object(y.each)(le||Te,function(ee,te){te==="img"?Oe._setImage(Te.img):S.b[te]&&se.setAttribute(S.b[te],ee)})},Q.prototype.setAttr=function(W,le){this.attrs[W]=le,W==="img"&&this._setImage(le)},Q.prototype._setImage=function(W){var le=this.attr(),Oe=this.get("el");if(Object(y.isString)(W))Oe.setAttribute("href",W);else if(W instanceof window.Image)le.width||(Oe.setAttribute("width",W.width),this.attr("width",W.width)),le.height||(Oe.setAttribute("height",W.height),this.attr("height",W.height)),Oe.setAttribute("href",W.src);else if(W instanceof HTMLElement&&Object(y.isString)(W.nodeName)&&W.nodeName.toUpperCase()==="CANVAS")Oe.setAttribute("href",W.toDataURL());else if(W instanceof ImageData){var Te=document.createElement("canvas");Te.setAttribute("width",""+W.width),Te.setAttribute("height",""+W.height),Te.getContext("2d").putImageData(W,0,0),le.width||(Oe.setAttribute("width",""+W.width),this.attr("width",W.width)),le.height||(Oe.setAttribute("height",""+W.height),this.attr("height",W.height)),Oe.setAttribute("href",Te.toDataURL())}},Q}(h),C=o(20),N=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="line",W.canFill=!1,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},Q.prototype.createPath=function(W,le){var Oe=this.attr(),Te=this.get("el");Object(y.each)(le||Oe,function(se,ee){if(ee==="startArrow"||ee==="endArrow")if(se){var te=Object(y.isObject)(se)?W.addArrow(Oe,S.b[ee]):W.getDefaultArrow(Oe,S.b[ee]);Te.setAttribute(S.b[ee],"url(#"+te+")")}else Te.removeAttribute(S.b[ee]);else S.b[ee]&&Te.setAttribute(S.b[ee],se)})},Q.prototype.getTotalLength=function(){var W=this.attr(),le=W.x1,Oe=W.y1,Te=W.x2,se=W.y2;return C.c.length(le,Oe,Te,se)},Q.prototype.getPoint=function(W){var le=this.attr(),Oe=le.x1,Te=le.y1,se=le.x2,ee=le.y2;return C.c.pointAt(Oe,Te,se,ee,W)},Q}(h),P={circle:function(he,Q,W){return[["M",he,Q],["m",-W,0],["a",W,W,0,1,0,2*W,0],["a",W,W,0,1,0,2*-W,0]]},square:function(he,Q,W){return[["M",he-W,Q-W],["L",he+W,Q-W],["L",he+W,Q+W],["L",he-W,Q+W],["Z"]]},diamond:function(he,Q,W){return[["M",he-W,Q],["L",he,Q-W],["L",he+W,Q],["L",he,Q+W],["Z"]]},triangle:function(he,Q,W){var le=W*Math.sin(.3333333333333333*Math.PI);return[["M",he-W,Q+le],["L",he,Q-le],["L",he+W,Q+le],["z"]]},triangleDown:function(he,Q,W){var le=W*Math.sin(.3333333333333333*Math.PI);return[["M",he-W,Q-le],["L",he+W,Q-le],["L",he,Q+le],["Z"]]}},L={get:function(he){return P[he]},register:function(he,Q){P[he]=Q},remove:function(he){delete P[he]},getAll:function(){return P}},z=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="marker",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.createPath=function(W){this.get("el").setAttribute("d",this._assembleMarker())},Q.prototype._assembleMarker=function(){var W=this._getPath();return Object(y.isArray)(W)?W.map(function(le){return le.join(" ")}).join(""):W},Q.prototype._getPath=function(){var W,le=this.attr(),Oe=le.x,Te=le.y,se=le.r||le.radius,ee=le.symbol||"circle";return(W=Object(y.isFunction)(ee)?ee:L.get(ee))?W(Oe,Te,se):(console.warn(W+" symbol is not exist."),null)},Q.symbolsFactory=L,Q}(h),H=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="path",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{startArrow:!1,endArrow:!1})},Q.prototype.createPath=function(W,le){var Oe=this,Te=this.attr(),se=this.get("el");Object(y.each)(le||Te,function(ee,te){if(te==="path"&&Object(y.isArray)(ee))se.setAttribute("d",Oe._formatPath(ee));else if(te==="startArrow"||te==="endArrow")if(ee){var U=Object(y.isObject)(ee)?W.addArrow(Te,S.b[te]):W.getDefaultArrow(Te,S.b[te]);se.setAttribute(S.b[te],"url(#"+U+")")}else se.removeAttribute(S.b[te]);else S.b[te]&&se.setAttribute(S.b[te],ee)})},Q.prototype._formatPath=function(W){var le=W.map(function(Oe){return Oe.join(" ")}).join("");return~le.indexOf("NaN")?"":le},Q.prototype.getTotalLength=function(){var W=this.get("el");return W?W.getTotalLength():null},Q.prototype.getPoint=function(W){var le=this.get("el"),Oe=this.getTotalLength();if(Oe===0)return null;var Te=le?le.getPointAtLength(W*Oe):null;return Te?{x:Te.x,y:Te.y}:null},Q}(h),re=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="polygon",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.createPath=function(W,le){var Oe=this.attr(),Te=this.get("el");Object(y.each)(le||Oe,function(se,ee){ee==="points"&&Object(y.isArray)(se)&&se.length>=2?Te.setAttribute("points",se.map(function(te){return te[0]+","+te[1]}).join(" ")):S.b[ee]&&Te.setAttribute(S.b[ee],se)})},Q}(h),ae=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="polyline",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{startArrow:!1,endArrow:!1})},Q.prototype.onAttrChange=function(W,le,Oe){he.prototype.onAttrChange.call(this,W,le,Oe),["points"].indexOf(W)!==-1&&this._resetCache()},Q.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},Q.prototype.createPath=function(W,le){var Oe=this.attr(),Te=this.get("el");Object(y.each)(le||Oe,function(se,ee){ee==="points"&&Object(y.isArray)(se)&&se.length>=2?Te.setAttribute("points",se.map(function(te){return te[0]+","+te[1]}).join(" ")):S.b[ee]&&Te.setAttribute(S.b[ee],se)})},Q.prototype.getTotalLength=function(){var W=this.attr().points,le=this.get("totalLength");return Object(y.isNil)(le)?(this.set("totalLength",C.d.length(W)),this.get("totalLength")):le},Q.prototype.getPoint=function(W){var le,Oe,Te=this.attr().points,se=this.get("tCache");return se||(this._setTcache(),se=this.get("tCache")),Object(y.each)(se,function(ee,te){W>=ee[0]&&W<=ee[1]&&(le=(W-ee[0])/(ee[1]-ee[0]),Oe=te)}),C.c.pointAt(Te[Oe][0],Te[Oe][1],Te[Oe+1][0],Te[Oe+1][1],le)},Q.prototype._setTcache=function(){var W=this.attr().points;if(W&&W.length!==0){var le=this.getTotalLength();if(!(le<=0)){var Oe,Te,se=0,ee=[];Object(y.each)(W,function(te,U){W[U+1]&&((Oe=[])[0]=se/le,Te=C.c.length(te[0],te[1],W[U+1][0],W[U+1][1]),se+=Te,Oe[1]=se/le,ee.push(Oe))}),this.set("tCache",ee)}}},Q.prototype.getStartTangent=function(){var W=this.attr().points,le=[];return le.push([W[1][0],W[1][1]]),le.push([W[0][0],W[0][1]]),le},Q.prototype.getEndTangent=function(){var W=this.attr().points,le=W.length-1,Oe=[];return Oe.push([W[le-1][0],W[le-1][1]]),Oe.push([W[le][0],W[le][1]]),Oe},Q}(h),ue=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="rect",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{x:0,y:0,width:0,height:0,radius:0})},Q.prototype.createPath=function(W,le){var Oe=this,Te=this.attr(),se=this.get("el"),ee=!1,te=["x","y","width","height","radius"];Object(y.each)(le||Te,function(U,X){te.indexOf(X)===-1||ee?te.indexOf(X)===-1&&S.b[X]&&se.setAttribute(S.b[X],U):(se.setAttribute("d",Oe._assembleRect(Te)),ee=!0)})},Q.prototype._assembleRect=function(W){var le=W.x,Oe=W.y,Te=W.width,se=W.height,ee=W.radius;if(!ee)return"M "+le+","+Oe+" l "+Te+",0 l 0,"+se+" l"+-Te+" 0 z";var te=function(U){var X=0,B=0,J=0,ne=0;return Object(y.isArray)(U)?U.length===1?X=B=J=ne=U[0]:U.length===2?(X=J=U[0],B=ne=U[1]):U.length===3?(X=U[0],B=ne=U[1],J=U[2]):(X=U[0],B=U[1],J=U[2],ne=U[3]):X=B=J=ne=U,{r1:X,r2:B,r3:J,r4:ne}}(ee);return Object(y.isArray)(ee)?ee.length===1?te.r1=te.r2=te.r3=te.r4=ee[0]:ee.length===2?(te.r1=te.r3=ee[0],te.r2=te.r4=ee[1]):ee.length===3?(te.r1=ee[0],te.r2=te.r4=ee[1],te.r3=ee[2]):(te.r1=ee[0],te.r2=ee[1],te.r3=ee[2],te.r4=ee[3]):te.r1=te.r2=te.r3=te.r4=ee,[["M "+(le+te.r1)+","+Oe],["l "+(Te-te.r1-te.r2)+",0"],["a "+te.r2+","+te.r2+",0,0,1,"+te.r2+","+te.r2],["l 0,"+(se-te.r2-te.r3)],["a "+te.r3+","+te.r3+",0,0,1,"+-te.r3+","+te.r3],["l "+(te.r3+te.r4-Te)+",0"],["a "+te.r4+","+te.r4+",0,0,1,"+-te.r4+","+-te.r4],["l 0,"+(te.r4+te.r1-se)],["a "+te.r1+","+te.r1+",0,0,1,"+te.r1+","+-te.r1],["z"]].join(" ")},Q}(h),xe=o(138),ye={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},Y={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},Ce={left:"left",start:"left",center:"middle",right:"end",end:"end"},ge=function(he){function Q(){var W=he!==null&&he.apply(this,arguments)||this;return W.type="text",W.canFill=!0,W.canStroke=!0,W}return Object(c.__extends)(Q,he),Q.prototype.getDefaultAttrs=function(){var W=he.prototype.getDefaultAttrs.call(this);return Object(c.__assign)(Object(c.__assign)({},W),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},Q.prototype.createPath=function(W,le){var Oe=this,Te=this.attr(),se=this.get("el");this._setFont(),Object(y.each)(le||Te,function(ee,te){te==="text"?Oe._setText(""+ee):te==="matrix"&&ee?Object(_.c)(Oe):S.b[te]&&se.setAttribute(S.b[te],ee)}),se.setAttribute("paint-order","stroke"),se.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},Q.prototype._setFont=function(){var W=this.get("el"),le=this.attr(),Oe=le.textBaseline,Te=le.textAlign,se=Object(xe.a)();se&&se.name==="firefox"?W.setAttribute("dominant-baseline",Y[Oe]||"alphabetic"):W.setAttribute("alignment-baseline",ye[Oe]||"baseline"),W.setAttribute("text-anchor",Ce[Te]||"left")},Q.prototype._setText=function(W){var le=this.get("el"),Oe=this.attr(),Te=Oe.x,se=Oe.textBaseline,ee=se===void 0?"bottom":se;if(W)if(~W.indexOf(` +`)){var te=W.split(` +`),U=te.length-1,X="";Object(y.each)(te,function(B,J){J===0?ee==="alphabetic"?X+=''+B+"":ee==="top"?X+=''+B+"":ee==="middle"?X+=''+B+"":ee==="bottom"?X+=''+B+"":ee==="hanging"&&(X+=''+B+""):X+=''+B+""}),le.innerHTML=X}else le.innerHTML=W;else le.innerHTML=""},Q}(h)},function(R,b,o){"use strict";o.r(b),o.d(b,"create",function(){return c}),o.d(b,"clone",function(){return M}),o.d(b,"fromValues",function(){return _}),o.d(b,"copy",function(){return x}),o.d(b,"set",function(){return O}),o.d(b,"add",function(){return S}),o.d(b,"subtract",function(){return g}),o.d(b,"multiply",function(){return h}),o.d(b,"divide",function(){return y}),o.d(b,"ceil",function(){return E}),o.d(b,"floor",function(){return m}),o.d(b,"min",function(){return p}),o.d(b,"max",function(){return A}),o.d(b,"round",function(){return C}),o.d(b,"scale",function(){return N}),o.d(b,"scaleAndAdd",function(){return P}),o.d(b,"distance",function(){return L}),o.d(b,"squaredDistance",function(){return z}),o.d(b,"length",function(){return H}),o.d(b,"squaredLength",function(){return re}),o.d(b,"negate",function(){return ae}),o.d(b,"inverse",function(){return ue}),o.d(b,"normalize",function(){return xe}),o.d(b,"dot",function(){return ye}),o.d(b,"cross",function(){return Y}),o.d(b,"lerp",function(){return Ce}),o.d(b,"random",function(){return ge}),o.d(b,"transformMat2",function(){return he}),o.d(b,"transformMat2d",function(){return Q}),o.d(b,"transformMat3",function(){return W}),o.d(b,"transformMat4",function(){return le}),o.d(b,"rotate",function(){return Oe}),o.d(b,"angle",function(){return Te}),o.d(b,"zero",function(){return se}),o.d(b,"str",function(){return ee}),o.d(b,"exactEquals",function(){return te}),o.d(b,"equals",function(){return U}),o.d(b,"len",function(){return B}),o.d(b,"sub",function(){return J}),o.d(b,"mul",function(){return ne}),o.d(b,"div",function(){return ie}),o.d(b,"dist",function(){return Z}),o.d(b,"sqrDist",function(){return fe}),o.d(b,"sqrLen",function(){return _e}),o.d(b,"forEach",function(){return je});var f=o(12);function c(){var Me=new f.a(2);return f.a!=Float32Array&&(Me[0]=0,Me[1]=0),Me}function M(Me){var Ae=new f.a(2);return Ae[0]=Me[0],Ae[1]=Me[1],Ae}function _(Me,Ae){var Le=new f.a(2);return Le[0]=Me,Le[1]=Ae,Le}function x(Me,Ae){return Me[0]=Ae[0],Me[1]=Ae[1],Me}function O(Me,Ae,Le){return Me[0]=Ae,Me[1]=Le,Me}function S(Me,Ae,Le){return Me[0]=Ae[0]+Le[0],Me[1]=Ae[1]+Le[1],Me}function g(Me,Ae,Le){return Me[0]=Ae[0]-Le[0],Me[1]=Ae[1]-Le[1],Me}function h(Me,Ae,Le){return Me[0]=Ae[0]*Le[0],Me[1]=Ae[1]*Le[1],Me}function y(Me,Ae,Le){return Me[0]=Ae[0]/Le[0],Me[1]=Ae[1]/Le[1],Me}function E(Me,Ae){return Me[0]=Math.ceil(Ae[0]),Me[1]=Math.ceil(Ae[1]),Me}function m(Me,Ae){return Me[0]=Math.floor(Ae[0]),Me[1]=Math.floor(Ae[1]),Me}function p(Me,Ae,Le){return Me[0]=Math.min(Ae[0],Le[0]),Me[1]=Math.min(Ae[1],Le[1]),Me}function A(Me,Ae,Le){return Me[0]=Math.max(Ae[0],Le[0]),Me[1]=Math.max(Ae[1],Le[1]),Me}function C(Me,Ae){return Me[0]=Math.round(Ae[0]),Me[1]=Math.round(Ae[1]),Me}function N(Me,Ae,Le){return Me[0]=Ae[0]*Le,Me[1]=Ae[1]*Le,Me}function P(Me,Ae,Le,Se){return Me[0]=Ae[0]+Le[0]*Se,Me[1]=Ae[1]+Le[1]*Se,Me}function L(Me,Ae){var Le=Ae[0]-Me[0],Se=Ae[1]-Me[1];return Math.hypot(Le,Se)}function z(Me,Ae){var Le=Ae[0]-Me[0],Se=Ae[1]-Me[1];return Le*Le+Se*Se}function H(Me){var Ae=Me[0],Le=Me[1];return Math.hypot(Ae,Le)}function re(Me){var Ae=Me[0],Le=Me[1];return Ae*Ae+Le*Le}function ae(Me,Ae){return Me[0]=-Ae[0],Me[1]=-Ae[1],Me}function ue(Me,Ae){return Me[0]=1/Ae[0],Me[1]=1/Ae[1],Me}function xe(Me,Ae){var Le=Ae[0],Se=Ae[1],Re=Le*Le+Se*Se;return Re>0&&(Re=1/Math.sqrt(Re)),Me[0]=Ae[0]*Re,Me[1]=Ae[1]*Re,Me}function ye(Me,Ae){return Me[0]*Ae[0]+Me[1]*Ae[1]}function Y(Me,Ae,Le){var Se=Ae[0]*Le[1]-Ae[1]*Le[0];return Me[0]=Me[1]=0,Me[2]=Se,Me}function Ce(Me,Ae,Le,Se){var Re=Ae[0],Ke=Ae[1];return Me[0]=Re+Se*(Le[0]-Re),Me[1]=Ke+Se*(Le[1]-Ke),Me}function ge(Me,Ae){Ae=Ae||1;var Le=2*f.c()*Math.PI;return Me[0]=Math.cos(Le)*Ae,Me[1]=Math.sin(Le)*Ae,Me}function he(Me,Ae,Le){var Se=Ae[0],Re=Ae[1];return Me[0]=Le[0]*Se+Le[2]*Re,Me[1]=Le[1]*Se+Le[3]*Re,Me}function Q(Me,Ae,Le){var Se=Ae[0],Re=Ae[1];return Me[0]=Le[0]*Se+Le[2]*Re+Le[4],Me[1]=Le[1]*Se+Le[3]*Re+Le[5],Me}function W(Me,Ae,Le){var Se=Ae[0],Re=Ae[1];return Me[0]=Le[0]*Se+Le[3]*Re+Le[6],Me[1]=Le[1]*Se+Le[4]*Re+Le[7],Me}function le(Me,Ae,Le){var Se=Ae[0],Re=Ae[1];return Me[0]=Le[0]*Se+Le[4]*Re+Le[12],Me[1]=Le[1]*Se+Le[5]*Re+Le[13],Me}function Oe(Me,Ae,Le,Se){var Re=Ae[0]-Le[0],Ke=Ae[1]-Le[1],Je=Math.sin(Se),nt=Math.cos(Se);return Me[0]=Re*nt-Ke*Je+Le[0],Me[1]=Re*Je+Ke*nt+Le[1],Me}function Te(Me,Ae){var Le=Me[0],Se=Me[1],Re=Ae[0],Ke=Ae[1],Je=Math.sqrt(Le*Le+Se*Se)*Math.sqrt(Re*Re+Ke*Ke),nt=Je&&(Le*Re+Se*Ke)/Je;return Math.acos(Math.min(Math.max(nt,-1),1))}function se(Me){return Me[0]=0,Me[1]=0,Me}function ee(Me){return"vec2("+Me[0]+", "+Me[1]+")"}function te(Me,Ae){return Me[0]===Ae[0]&&Me[1]===Ae[1]}function U(Me,Ae){var Le=Me[0],Se=Me[1],Re=Ae[0],Ke=Ae[1];return Math.abs(Le-Re)<=f.b*Math.max(1,Math.abs(Le),Math.abs(Re))&&Math.abs(Se-Ke)<=f.b*Math.max(1,Math.abs(Se),Math.abs(Ke))}var X,B=H,J=g,ne=h,ie=y,Z=L,fe=z,_e=re,je=(X=c(),function(Me,Ae,Le,Se,Re,Ke){var Je,nt;for(Ae||(Ae=2),Le||(Le=0),nt=Se?Math.min(Se*Ae+Le,Me.length):Me.length,Je=Le;Je-1}},function(S,g,h){"use strict";g.a=function(y){var E=O(y);return y!==null&&E==="object"||E==="function"}},function(S,g,h){"use strict";var y=h(2),E=h(1);g.a=function(m,p){if(!Object(E.a)(m))return m;var A=[];return Object(y.a)(m,function(C,N){p(C,N)&&A.push(C)}),A}},function(S,g,h){"use strict";g.a=function(y){return O(y)==="object"&&y!==null}},function(S,g,h){"use strict";function y(E,m){for(var p in m)m.hasOwnProperty(p)&&p!=="constructor"&&m[p]!==void 0&&(E[p]=m[p])}g.a=function(E,m,p,A){return m&&y(E,m),p&&y(E,p),A&&y(E,A),E}},function(S,g,h){var y=h(30),E=["LR","RL","TB","BT","H","V"],m=["LR","RL","H"],p=E[0];S.exports=function(A,C,N){var P=C.direction||p;if(C.isHorizontal=function(le){return m.indexOf(le)>-1}(P),P&&E.indexOf(P)===-1)throw new TypeError("Invalid direction: "+P);if(P===E[0])N(A,C);else if(P===E[1])N(A,C),A.right2left();else if(P===E[2])N(A,C);else if(P===E[3])N(A,C),A.bottom2top();else if(P===E[4]||P===E[5]){var L=y(A,C),z=L.left,X=L.right;N(z,C),N(X,C),C.isHorizontal?z.right2left():z.bottom2top(),X.translate(z.x-X.x,z.y-X.y),A.x=z.x,A.y=X.y;var te=A.getBoundingBox();C.isHorizontal?te.top<0&&A.translate(0,-te.top):te.left<0&&A.translate(-te.left,0)}var ue=C.fixedRoot;return ue===void 0&&(ue=!0),ue&&A.translate(-(A.x+A.width/2+A.hgap),-(A.y+A.height/2+A.vgap)),A}},function(S,g,h){var y=h(7),E={getId:function(p){return p.id||p.name},getPreH:function(p){return p.preH||0},getPreV:function(p){return p.preV||0},getHGap:function(p){return p.hgap||18},getVGap:function(p){return p.vgap||18},getChildren:function(p){return p.children},getHeight:function(p){return p.height||36},getWidth:function(p){var A=p.label||" ";return p.width||18*A.split("").length}};function m(p,A){var C=this;if(C.vgap=C.hgap=0,p instanceof m)return p;C.data=p;var N=A.getHGap(p),P=A.getVGap(p);return C.preH=A.getPreH(p),C.preV=A.getPreV(p),C.width=A.getWidth(p),C.height=A.getHeight(p),C.width+=C.preH,C.height+=C.preV,C.id=A.getId(p),C.x=C.y=0,C.depth=0,C.children||(C.children=[]),C.addGap(N,P),C}y.assign(m.prototype,{isRoot:function(){return this.depth===0},isLeaf:function(){return this.children.length===0},addGap:function(p,A){this.hgap+=p,this.vgap+=A,this.width+=2*p,this.height+=2*A},eachNode:function(p){for(var A,C=[this];A=C.shift();)p(A),C=A.children.concat(C)},DFTraverse:function(p){this.eachNode(p)},BFTraverse:function(p){for(var A,C=[this];A=C.shift();)p(A),C=C.concat(A.children)},getBoundingBox:function(){var p={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(A){p.left=Math.min(p.left,A.x),p.top=Math.min(p.top,A.y),p.width=Math.max(p.width,A.x+A.width),p.height=Math.max(p.height,A.y+A.height)}),p},translate:function(p,A){p===void 0&&(p=0),A===void 0&&(A=0),this.eachNode(function(C){C.x+=p,C.y+=A,C.x+=C.preH,C.y+=C.preV})},right2left:function(){var p=this.getBoundingBox();this.eachNode(function(A){A.x=A.x-2*(A.x-p.left)-A.width}),this.translate(p.width,0)},bottom2top:function(){var p=this.getBoundingBox();this.eachNode(function(A){A.y=A.y-2*(A.y-p.top)-A.height}),this.translate(0,p.height)}}),S.exports=function(p,A,C){A===void 0&&(A={});var N,P=new m(p,A=y.assign({},E,A)),L=[P];if(!C&&!p.collapsed){for(;N=L.shift();)if(!N.data.collapsed){var z=A.getChildren(N.data),X=z?z.length:0;if(N.children=new Array(X),z&&X)for(var te=0;te-1;)E.call(p,L,1);return p}},function(S,g,h){"use strict";var y=h(2),E=h(0),m=h(9);g.a=function(p,A,C){if(!Object(E.a)(p)&&!Object(m.a)(p))return p;var N=C;return Object(y.a)(p,function(P,L){N=A(N,P,L)}),N}},function(S,g,h){"use strict";var y=h(1),E=h(21);g.a=function(m,p){var A=[];if(!Object(y.a)(m))return A;for(var C=-1,N=[],P=m.length;++CL[X])return 1;if(P[X]m?m:y}},function(S,g,h){"use strict";g.a=function(y,E){var m=E.toString(),p=m.indexOf(".");if(p===-1)return Math.round(y);var A=m.substr(p+1).length;return A>20&&(A=20),parseFloat(y.toFixed(A))}},function(S,g,h){"use strict";var y=h(5);g.a=function(E){return Object(y.a)(E)&&E%1!=0}},function(S,g,h){"use strict";var y=h(5);g.a=function(E){return Object(y.a)(E)&&E%2==0}},function(S,g,h){"use strict";var y=h(5),E=Number.isInteger?Number.isInteger:function(m){return Object(y.a)(m)&&m%1==0};g.a=E},function(S,g,h){"use strict";var y=h(5);g.a=function(E){return Object(y.a)(E)&&E<0}},function(S,g,h){"use strict";g.a=function(y,E,m){return m===void 0&&(m=1e-5),Math.abs(y-E)0}},function(S,g,h){"use strict";var y=h(2),E=h(0),m=h(3);g.a=function(p,A){if(Object(E.a)(p)){var C,N,P=p[0];return C=Object(m.a)(A)?A(p[0]):p[0][A],Object(y.a)(p,function(L){(N=Object(m.a)(A)?A(L):L[A])>C&&(P=L,C=N)}),P}}},function(S,g,h){"use strict";var y=h(2),E=h(0),m=h(3);g.a=function(p,A){if(Object(E.a)(p)){var C,N,P=p[0];return C=Object(m.a)(A)?A(p[0]):p[0][A],Object(y.a)(p,function(L){(N=Object(m.a)(A)?A(L):L[A])E?(p&&(clearTimeout(p),p=null),P=X,N=y.apply(A,C),p||(A=C=null)):p||m.trailing===!1||(p=setTimeout(L,te)),N};return z.cancel=function(){clearTimeout(p),P=0,p=A=C=null},z}},function(S,g,h){"use strict";var y=h(1);g.a=function(E){return Object(y.a)(E)?Array.prototype.slice.call(E):[]}},function(S,g,h){"use strict";var y={};g.a=function(E){return y[E=E||"g"]?y[E]+=1:y[E]=1,E+y[E]}},function(S,g,h){"use strict";g.a=function(){}},function(S,g,h){"use strict";g.a=function(y){return y}},function(S,g,h){"use strict";g.a=function(m){return Object(y.a)(m)?0:Object(E.a)(m)?m.length:Object.keys(m).length};var y=h(6),E=h(1)},function(S,g,h){"use strict";var y=function(){function E(){this.map={}}return E.prototype.has=function(m){return this.map[m]!==void 0},E.prototype.get=function(m,p){var A=this.map[m];return A===void 0?p:A},E.prototype.set=function(m,p){this.map[m]=p},E.prototype.clear=function(){this.map={}},E.prototype.delete=function(m){delete this.map[m]},E.prototype.size=function(){return Object.keys(this.map).length},E}();g.a=y},function(S,g){function h(E,m,p,A){A===void 0&&(A=[]);var C=this;C.w=E||0,C.h=m||0,C.y=p||0,C.x=0,C.c=A||[],C.cs=A.length,C.prelim=0,C.mod=0,C.shift=0,C.change=0,C.tl=null,C.tr=null,C.el=null,C.er=null,C.msel=0,C.mser=0}function y(E,m){var p=function A(C,N){var P=N?C.y:C.x;return C.children.forEach(function(L){P=Math.min(A(L,N),P)}),P}(E,m);(function A(C,N,P){P?C.y+=N:C.x+=N,C.children.forEach(function(L){A(L,N,P)})})(E,-p,m)}h.fromNode=function(E,m){if(!E)return null;var p=[];return E.children.forEach(function(A){p.push(h.fromNode(A,m))}),m?new h(E.height,E.width,E.x,p):new h(E.width,E.height,E.y,p)},S.exports=function(E,m){m===void 0&&(m={});var p=m.isHorizontal;function A(ue){ue.cs===0?(ue.el=ue,ue.er=ue,ue.msel=ue.mser=0):(ue.el=ue.c[0].el,ue.msel=ue.c[0].msel,ue.er=ue.c[ue.cs-1].er,ue.mser=ue.c[ue.cs-1].mser)}function C(ue,le,xe){for(var ye=ue.c[le-1],W=ye.mod,Ie=ue.c[le],ie=Ie.mod;ye!==null&&Ie!==null;){z(ye)>xe.low&&(xe=xe.nxt);var ne=W+ye.prelim+ye.w-(ie+Ie.prelim);ne>0&&(ie+=ne,N(ue,le,xe.index,ne));var Z=z(ye),V=z(Ie);Z<=V&&(ye=L(ye))!==null&&(W+=ye.mod),Z>=V&&(Ie=P(Ie))!==null&&(ie+=Ie.mod)}!ye&&Ie?function(ae,we,Ae,se){var ee=ae.c[0].el;ee.tl=Ae;var J=se-Ae.mod-ae.c[0].msel;ee.mod+=J,ee.prelim-=J,ae.c[0].el=ae.c[we].el,ae.c[0].msel=ae.c[we].msel}(ue,le,Ie,ie):ye&&!Ie&&function(ae,we,Ae,se){var ee=ae.c[we].er;ee.tr=Ae;var J=se-Ae.mod-ae.c[we].mser;ee.mod+=J,ee.prelim-=J,ae.c[we].er=ae.c[we-1].er,ae.c[we].mser=ae.c[we-1].mser}(ue,le,ye,W)}function N(ue,le,xe,ye){ue.c[le].mod+=ye,ue.c[le].msel+=ye,ue.c[le].mser+=ye,function(W,Ie,ie,ne){if(ie!==Ie-1){var Z=Ie-ie;W.c[ie+1].shift+=ne/Z,W.c[Ie].shift-=ne/Z,W.c[Ie].change-=ne-ne/Z}}(ue,le,xe,ye)}function P(ue){return ue.cs===0?ue.tl:ue.c[0]}function L(ue){return ue.cs===0?ue.tr:ue.c[ue.cs-1]}function z(ue){return ue.y+ue.h}function X(ue,le,xe){for(;xe!==null&&ue>=xe.low;)xe=xe.nxt;return{low:ue,index:le,nxt:xe}}(function ue(le,xe,ye){ye===void 0&&(ye=0),xe?(le.x=ye,ye+=le.width):(le.y=ye,ye+=le.height),le.children.forEach(function(W){ue(W,xe,ye)})})(E,p);var te=h.fromNode(E,p);return function ue(le){if(le.cs!==0){ue(le.c[0]);for(var xe=X(z(le.c[0].el),0,null),ye=1;yeN&&(N=z.depth);var X=z.children,te=X.length,ue=new E(z.height,[]);return X.forEach(function(le,xe){var ye=L(le);ue.children.push(ye),xe===0&&(ue.leftChild=ye),xe===te-1&&(ue.rightChild=ye)}),ue.originNode=z,ue.isLeaf=z.isLeaf(),ue}(p);return function L(z){if(z.isLeaf||z.children.length===0)z.drawingDepth=N;else{var X=z.children.map(function(ue){return L(ue)}),te=Math.min.apply(null,X);z.drawingDepth=te-1}return z.drawingDepth}(P),function L(z){z.x=z.drawingDepth*A.rankSep,z.isLeaf?(z.y=0,C&&(z.y=C.y+C.height+A.nodeSep,z.originNode.parent!==C.originNode.parent&&(z.y+=A.subTreeSep)),C=z):(z.children.forEach(function(X){L(X)}),z.y=(z.leftChild.y+z.rightChild.y)/2)}(P),function L(z,X,te){te?(X.x=z.x,X.y=z.y):(X.x=z.y,X.y=z.x),z.children.forEach(function(ue,le){L(ue,X.children[le],te)})}(P,p,A.isHorizontal),p}},function(S,g,h){var y=h(11),E=h(117),m=h(30),p=h(7),A=["LR","RL","H"],C=A[0],N=function(L){var z,X;function te(){return L.apply(this,arguments)||this}return X=L,(z=te).prototype=Object.create(X.prototype),z.prototype.constructor=z,z.__proto__=X,te.prototype.execute=function(){var ue=this.options,le=this.rootNode;ue.isHorizontal=!0;var xe=ue.indent,ye=xe===void 0?20:xe,W=ue.dropCap,Ie=W===void 0||W,ie=ue.direction||C;if(ie&&A.indexOf(ie)===-1)throw new TypeError("Invalid direction: "+ie);if(ie===A[0])E(le,ye,Ie);else if(ie===A[1])E(le,ye,Ie),le.right2left();else if(ie===A[2]){var ne=m(le,ue),Z=ne.left,V=ne.right;E(Z,ye,Ie),Z.right2left(),E(V,ye,Ie);var ae=Z.getBoundingBox();V.translate(ae.width,0),le.x=V.x-le.width/2}return le},te}(y),P={};S.exports=function(L,z){return z=p.assign({},P,z),new N(L,z).execute()}},function(S,g){S.exports=function(h,y,E){var m=null;h.eachNode(function(p){(function(A,C,N,P){if(!P)try{if(A.id===A.parent.children[0].id)return A.x+=N*A.depth,void(A.y=C?C.y:0)}catch(L){}A.x+=N*A.depth,A.y=C?C.y+C.height:0})(p,m,y,E),m=p})}},function(S,g,h){var y=h(11),E=h(119),m=h(17),p=h(7),A=function(N){var P,L;function z(){return N.apply(this,arguments)||this}return L=N,(P=z).prototype=Object.create(L.prototype),P.prototype.constructor=P,P.__proto__=L,z.prototype.execute=function(){return m(this.rootNode,this.options,E)},z}(y),C={};S.exports=function(N,P){return P=p.assign({},C,P),new A(N,P).execute()}},function(S,g,h){var y=h(7),E={getSubTreeSep:function(){return 0}};S.exports=function(m,p){p===void 0&&(p={}),p=y.assign({},E,p),m.parent={x:0,width:0,height:0,y:0},m.BFTraverse(function(A){A.x=A.parent.x+A.parent.width}),m.parent=null,function A(C,N){var P=0;return C.children.length?C.children.forEach(function(L){P+=A(L,N)}):P=C.height,C._subTreeSep=N.getSubTreeSep(C.data),C.totalHeight=Math.max(C.height,P)+2*C._subTreeSep,C.totalHeight}(m,p),m.startY=0,m.y=m.totalHeight/2-m.height/2,m.eachNode(function(A){var C=A.children,N=C.length;if(N){var P=C[0];if(P.startY=A.startY+A._subTreeSep,N===1)P.y=A.y+A.height/2-P.height/2;else{P.y=P.startY+P.totalHeight/2-P.height/2;for(var L=1;LC.height)C.y=L.y+X/2-C.height/2;else if(N.length!==1||C.height>te){var ue=C.y+(C.height-X)/2-L.y;N.forEach(function(le){le.translate(0,ue)})}else C.y=(L.y+L.height/2+z.y+z.height/2)/2-C.height/2}}(m)}}])},O(b)==="object"&&O(f)==="object"?f.exports=x():(M=[],(_=typeof(c=x)=="function"?c.apply(b,M):c)===void 0||(f.exports=_))}).call(this,o(87)(R))},function(R,b,o){"use strict";function f(p){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(p)}var c=o(298),M=o(302),_=[].slice,x=["keyword","gray","hex"],O={};Object.keys(M).forEach(function(p){O[_.call(M[p].labels).sort().join("")]=p});var S={};function g(p,A){if(!(this instanceof g))return new g(p,A);if(A&&A in x&&(A=null),A&&!(A in M))throw new Error("Unknown model: "+A);var C,N;if(p==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(p instanceof g)this.model=p.model,this.color=p.color.slice(),this.valpha=p.valpha;else if(typeof p=="string"){var P=c.get(p);if(P===null)throw new Error("Unable to parse color from string: "+p);this.model=P.model,N=M[this.model].channels,this.color=P.value.slice(0,N),this.valpha=typeof P.value[N]=="number"?P.value[N]:1}else if(p.length){this.model=A||"rgb",N=M[this.model].channels;var L=_.call(p,0,N);this.color=m(L,N),this.valpha=typeof p[N]=="number"?p[N]:1}else if(typeof p=="number")p&=16777215,this.model="rgb",this.color=[p>>16&255,p>>8&255,255&p],this.valpha=1;else{this.valpha=1;var z=Object.keys(p);"alpha"in p&&(z.splice(z.indexOf("alpha"),1),this.valpha=typeof p.alpha=="number"?p.alpha:0);var X=z.sort().join("");if(!(X in O))throw new Error("Unable to parse color from object: "+JSON.stringify(p));this.model=O[X];var te=M[this.model].labels,ue=[];for(C=0;CC?(A+.05)/(C+.05):(C+.05)/(A+.05)},level:function(p){var A=this.contrast(p);return A>=7.1?"AAA":A>=4.5?"AA":""},isDark:function(){var p=this.rgb().color;return(299*p[0]+587*p[1]+114*p[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var p=this.rgb(),A=0;A<3;A++)p.color[A]=255-p.color[A];return p},lighten:function(p){var A=this.hsl();return A.color[2]+=A.color[2]*p,A},darken:function(p){var A=this.hsl();return A.color[2]-=A.color[2]*p,A},saturate:function(p){var A=this.hsl();return A.color[1]+=A.color[1]*p,A},desaturate:function(p){var A=this.hsl();return A.color[1]-=A.color[1]*p,A},whiten:function(p){var A=this.hwb();return A.color[1]+=A.color[1]*p,A},blacken:function(p){var A=this.hwb();return A.color[2]+=A.color[2]*p,A},grayscale:function(){var p=this.rgb().color,A=.3*p[0]+.59*p[1]+.11*p[2];return g.rgb(A,A,A)},fade:function(p){return this.alpha(this.valpha-this.valpha*p)},opaquer:function(p){return this.alpha(this.valpha+this.valpha*p)},rotate:function(p){var A=this.hsl(),C=A.color[0];return C=(C=(C+p)%360)<0?360+C:C,A.color[0]=C,A},mix:function(p,A){if(!p||!p.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+f(p));var C=p.rgb(),N=this.rgb(),P=A===void 0?.5:A,L=2*P-1,z=C.alpha()-N.alpha(),X=((L*z==-1?L:(L+z)/(1+L*z))+1)/2,te=1-X;return g.rgb(X*C.red()+te*N.red(),X*C.green()+te*N.green(),X*C.blue()+te*N.blue(),C.alpha()*P+N.alpha()*(1-P))}},Object.keys(M).forEach(function(p){if(x.indexOf(p)===-1){var A=M[p].channels;g.prototype[p]=function(){if(this.model===p)return new g(this);if(arguments.length)return new g(arguments,p);var C=typeof arguments[A]=="number"?A:this.valpha;return new g(E(M[this.model][p].raw(this.color)).concat(C),p)},g[p]=function(C){return typeof C=="number"&&(C=m(_.call(arguments),A)),new g(C,p)}}}),R.exports=g},function(R,b,o){var f=o(63),c=o(43);R.exports=function(M){if(!c(M))return!1;var _=f(M);return _=="[object Function]"||_=="[object GeneratorFunction]"||_=="[object AsyncFunction]"||_=="[object Proxy]"}},function(R,b,o){var f=o(101),c=o(102);R.exports=function(M,_,x,O){var S=!x;x||(x={});for(var g=-1,h=_.length;++g-1}},function(S,g,h){"use strict";g.a=function(y){var E=O(y);return y!==null&&E==="object"||E==="function"}},function(S,g,h){"use strict";var y=h(2),E=h(1);g.a=function(m,p){if(!Object(E.a)(m))return m;var A=[];return Object(y.a)(m,function(C,N){p(C,N)&&A.push(C)}),A}},function(S,g,h){"use strict";g.a=function(y){return O(y)==="object"&&y!==null}},function(S,g,h){"use strict";function y(E,m){for(var p in m)m.hasOwnProperty(p)&&p!=="constructor"&&m[p]!==void 0&&(E[p]=m[p])}g.a=function(E,m,p,A){return m&&y(E,m),p&&y(E,p),A&&y(E,A),E}},function(S,g,h){var y=h(30),E=["LR","RL","TB","BT","H","V"],m=["LR","RL","H"],p=E[0];S.exports=function(A,C,N){var P=C.direction||p;if(C.isHorizontal=function(ue){return m.indexOf(ue)>-1}(P),P&&E.indexOf(P)===-1)throw new TypeError("Invalid direction: "+P);if(P===E[0])N(A,C);else if(P===E[1])N(A,C),A.right2left();else if(P===E[2])N(A,C);else if(P===E[3])N(A,C),A.bottom2top();else if(P===E[4]||P===E[5]){var L=y(A,C),z=L.left,H=L.right;N(z,C),N(H,C),C.isHorizontal?z.right2left():z.bottom2top(),H.translate(z.x-H.x,z.y-H.y),A.x=z.x,A.y=H.y;var re=A.getBoundingBox();C.isHorizontal?re.top<0&&A.translate(0,-re.top):re.left<0&&A.translate(-re.left,0)}var ae=C.fixedRoot;return ae===void 0&&(ae=!0),ae&&A.translate(-(A.x+A.width/2+A.hgap),-(A.y+A.height/2+A.vgap)),A}},function(S,g,h){var y=h(7),E={getId:function(p){return p.id||p.name},getPreH:function(p){return p.preH||0},getPreV:function(p){return p.preV||0},getHGap:function(p){return p.hgap||18},getVGap:function(p){return p.vgap||18},getChildren:function(p){return p.children},getHeight:function(p){return p.height||36},getWidth:function(p){var A=p.label||" ";return p.width||18*A.split("").length}};function m(p,A){var C=this;if(C.vgap=C.hgap=0,p instanceof m)return p;C.data=p;var N=A.getHGap(p),P=A.getVGap(p);return C.preH=A.getPreH(p),C.preV=A.getPreV(p),C.width=A.getWidth(p),C.height=A.getHeight(p),C.width+=C.preH,C.height+=C.preV,C.id=A.getId(p),C.x=C.y=0,C.depth=0,C.children||(C.children=[]),C.addGap(N,P),C}y.assign(m.prototype,{isRoot:function(){return this.depth===0},isLeaf:function(){return this.children.length===0},addGap:function(p,A){this.hgap+=p,this.vgap+=A,this.width+=2*p,this.height+=2*A},eachNode:function(p){for(var A,C=[this];A=C.shift();)p(A),C=A.children.concat(C)},DFTraverse:function(p){this.eachNode(p)},BFTraverse:function(p){for(var A,C=[this];A=C.shift();)p(A),C=C.concat(A.children)},getBoundingBox:function(){var p={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(A){p.left=Math.min(p.left,A.x),p.top=Math.min(p.top,A.y),p.width=Math.max(p.width,A.x+A.width),p.height=Math.max(p.height,A.y+A.height)}),p},translate:function(p,A){p===void 0&&(p=0),A===void 0&&(A=0),this.eachNode(function(C){C.x+=p,C.y+=A,C.x+=C.preH,C.y+=C.preV})},right2left:function(){var p=this.getBoundingBox();this.eachNode(function(A){A.x=A.x-2*(A.x-p.left)-A.width}),this.translate(p.width,0)},bottom2top:function(){var p=this.getBoundingBox();this.eachNode(function(A){A.y=A.y-2*(A.y-p.top)-A.height}),this.translate(0,p.height)}}),S.exports=function(p,A,C){A===void 0&&(A={});var N,P=new m(p,A=y.assign({},E,A)),L=[P];if(!C&&!p.collapsed){for(;N=L.shift();)if(!N.data.collapsed){var z=A.getChildren(N.data),H=z?z.length:0;if(N.children=new Array(H),z&&H)for(var re=0;re-1;)E.call(p,L,1);return p}},function(S,g,h){"use strict";var y=h(2),E=h(0),m=h(9);g.a=function(p,A,C){if(!Object(E.a)(p)&&!Object(m.a)(p))return p;var N=C;return Object(y.a)(p,function(P,L){N=A(N,P,L)}),N}},function(S,g,h){"use strict";var y=h(1),E=h(21);g.a=function(m,p){var A=[];if(!Object(y.a)(m))return A;for(var C=-1,N=[],P=m.length;++CL[H])return 1;if(P[H]m?m:y}},function(S,g,h){"use strict";g.a=function(y,E){var m=E.toString(),p=m.indexOf(".");if(p===-1)return Math.round(y);var A=m.substr(p+1).length;return A>20&&(A=20),parseFloat(y.toFixed(A))}},function(S,g,h){"use strict";var y=h(5);g.a=function(E){return Object(y.a)(E)&&E%1!=0}},function(S,g,h){"use strict";var y=h(5);g.a=function(E){return Object(y.a)(E)&&E%2==0}},function(S,g,h){"use strict";var y=h(5),E=Number.isInteger?Number.isInteger:function(m){return Object(y.a)(m)&&m%1==0};g.a=E},function(S,g,h){"use strict";var y=h(5);g.a=function(E){return Object(y.a)(E)&&E<0}},function(S,g,h){"use strict";g.a=function(y,E,m){return m===void 0&&(m=1e-5),Math.abs(y-E)0}},function(S,g,h){"use strict";var y=h(2),E=h(0),m=h(3);g.a=function(p,A){if(Object(E.a)(p)){var C,N,P=p[0];return C=Object(m.a)(A)?A(p[0]):p[0][A],Object(y.a)(p,function(L){(N=Object(m.a)(A)?A(L):L[A])>C&&(P=L,C=N)}),P}}},function(S,g,h){"use strict";var y=h(2),E=h(0),m=h(3);g.a=function(p,A){if(Object(E.a)(p)){var C,N,P=p[0];return C=Object(m.a)(A)?A(p[0]):p[0][A],Object(y.a)(p,function(L){(N=Object(m.a)(A)?A(L):L[A])E?(p&&(clearTimeout(p),p=null),P=H,N=y.apply(A,C),p||(A=C=null)):p||m.trailing===!1||(p=setTimeout(L,re)),N};return z.cancel=function(){clearTimeout(p),P=0,p=A=C=null},z}},function(S,g,h){"use strict";var y=h(1);g.a=function(E){return Object(y.a)(E)?Array.prototype.slice.call(E):[]}},function(S,g,h){"use strict";var y={};g.a=function(E){return y[E=E||"g"]?y[E]+=1:y[E]=1,E+y[E]}},function(S,g,h){"use strict";g.a=function(){}},function(S,g,h){"use strict";g.a=function(y){return y}},function(S,g,h){"use strict";g.a=function(m){return Object(y.a)(m)?0:Object(E.a)(m)?m.length:Object.keys(m).length};var y=h(6),E=h(1)},function(S,g,h){"use strict";var y=function(){function E(){this.map={}}return E.prototype.has=function(m){return this.map[m]!==void 0},E.prototype.get=function(m,p){var A=this.map[m];return A===void 0?p:A},E.prototype.set=function(m,p){this.map[m]=p},E.prototype.clear=function(){this.map={}},E.prototype.delete=function(m){delete this.map[m]},E.prototype.size=function(){return Object.keys(this.map).length},E}();g.a=y},function(S,g){function h(E,m,p,A){A===void 0&&(A=[]);var C=this;C.w=E||0,C.h=m||0,C.y=p||0,C.x=0,C.c=A||[],C.cs=A.length,C.prelim=0,C.mod=0,C.shift=0,C.change=0,C.tl=null,C.tr=null,C.el=null,C.er=null,C.msel=0,C.mser=0}function y(E,m){var p=function A(C,N){var P=N?C.y:C.x;return C.children.forEach(function(L){P=Math.min(A(L,N),P)}),P}(E,m);(function A(C,N,P){P?C.y+=N:C.x+=N,C.children.forEach(function(L){A(L,N,P)})})(E,-p,m)}h.fromNode=function(E,m){if(!E)return null;var p=[];return E.children.forEach(function(A){p.push(h.fromNode(A,m))}),m?new h(E.height,E.width,E.x,p):new h(E.width,E.height,E.y,p)},S.exports=function(E,m){m===void 0&&(m={});var p=m.isHorizontal;function A(ae){ae.cs===0?(ae.el=ae,ae.er=ae,ae.msel=ae.mser=0):(ae.el=ae.c[0].el,ae.msel=ae.c[0].msel,ae.er=ae.c[ae.cs-1].er,ae.mser=ae.c[ae.cs-1].mser)}function C(ae,ue,xe){for(var ye=ae.c[ue-1],Y=ye.mod,Ce=ae.c[ue],ge=Ce.mod;ye!==null&&Ce!==null;){z(ye)>xe.low&&(xe=xe.nxt);var he=Y+ye.prelim+ye.w-(ge+Ce.prelim);he>0&&(ge+=he,N(ae,ue,xe.index,he));var Q=z(ye),W=z(Ce);Q<=W&&(ye=L(ye))!==null&&(Y+=ye.mod),Q>=W&&(Ce=P(Ce))!==null&&(ge+=Ce.mod)}!ye&&Ce?function(le,Oe,Te,se){var ee=le.c[0].el;ee.tl=Te;var te=se-Te.mod-le.c[0].msel;ee.mod+=te,ee.prelim-=te,le.c[0].el=le.c[Oe].el,le.c[0].msel=le.c[Oe].msel}(ae,ue,Ce,ge):ye&&!Ce&&function(le,Oe,Te,se){var ee=le.c[Oe].er;ee.tr=Te;var te=se-Te.mod-le.c[Oe].mser;ee.mod+=te,ee.prelim-=te,le.c[Oe].er=le.c[Oe-1].er,le.c[Oe].mser=le.c[Oe-1].mser}(ae,ue,ye,Y)}function N(ae,ue,xe,ye){ae.c[ue].mod+=ye,ae.c[ue].msel+=ye,ae.c[ue].mser+=ye,function(Y,Ce,ge,he){if(ge!==Ce-1){var Q=Ce-ge;Y.c[ge+1].shift+=he/Q,Y.c[Ce].shift-=he/Q,Y.c[Ce].change-=he-he/Q}}(ae,ue,xe,ye)}function P(ae){return ae.cs===0?ae.tl:ae.c[0]}function L(ae){return ae.cs===0?ae.tr:ae.c[ae.cs-1]}function z(ae){return ae.y+ae.h}function H(ae,ue,xe){for(;xe!==null&&ae>=xe.low;)xe=xe.nxt;return{low:ae,index:ue,nxt:xe}}(function ae(ue,xe,ye){ye===void 0&&(ye=0),xe?(ue.x=ye,ye+=ue.width):(ue.y=ye,ye+=ue.height),ue.children.forEach(function(Y){ae(Y,xe,ye)})})(E,p);var re=h.fromNode(E,p);return function ae(ue){if(ue.cs!==0){ae(ue.c[0]);for(var xe=H(z(ue.c[0].el),0,null),ye=1;yeN&&(N=z.depth);var H=z.children,re=H.length,ae=new E(z.height,[]);return H.forEach(function(ue,xe){var ye=L(ue);ae.children.push(ye),xe===0&&(ae.leftChild=ye),xe===re-1&&(ae.rightChild=ye)}),ae.originNode=z,ae.isLeaf=z.isLeaf(),ae}(p);return function L(z){if(z.isLeaf||z.children.length===0)z.drawingDepth=N;else{var H=z.children.map(function(ae){return L(ae)}),re=Math.min.apply(null,H);z.drawingDepth=re-1}return z.drawingDepth}(P),function L(z){z.x=z.drawingDepth*A.rankSep,z.isLeaf?(z.y=0,C&&(z.y=C.y+C.height+A.nodeSep,z.originNode.parent!==C.originNode.parent&&(z.y+=A.subTreeSep)),C=z):(z.children.forEach(function(H){L(H)}),z.y=(z.leftChild.y+z.rightChild.y)/2)}(P),function L(z,H,re){re?(H.x=z.x,H.y=z.y):(H.x=z.y,H.y=z.x),z.children.forEach(function(ae,ue){L(ae,H.children[ue],re)})}(P,p,A.isHorizontal),p}},function(S,g,h){var y=h(11),E=h(117),m=h(30),p=h(7),A=["LR","RL","H"],C=A[0],N=function(L){var z,H;function re(){return L.apply(this,arguments)||this}return H=L,(z=re).prototype=Object.create(H.prototype),z.prototype.constructor=z,z.__proto__=H,re.prototype.execute=function(){var ae=this.options,ue=this.rootNode;ae.isHorizontal=!0;var xe=ae.indent,ye=xe===void 0?20:xe,Y=ae.dropCap,Ce=Y===void 0||Y,ge=ae.direction||C;if(ge&&A.indexOf(ge)===-1)throw new TypeError("Invalid direction: "+ge);if(ge===A[0])E(ue,ye,Ce);else if(ge===A[1])E(ue,ye,Ce),ue.right2left();else if(ge===A[2]){var he=m(ue,ae),Q=he.left,W=he.right;E(Q,ye,Ce),Q.right2left(),E(W,ye,Ce);var le=Q.getBoundingBox();W.translate(le.width,0),ue.x=W.x-ue.width/2}return ue},re}(y),P={};S.exports=function(L,z){return z=p.assign({},P,z),new N(L,z).execute()}},function(S,g){S.exports=function(h,y,E){var m=null;h.eachNode(function(p){(function(A,C,N,P){if(!P)try{if(A.id===A.parent.children[0].id)return A.x+=N*A.depth,void(A.y=C?C.y:0)}catch(L){}A.x+=N*A.depth,A.y=C?C.y+C.height:0})(p,m,y,E),m=p})}},function(S,g,h){var y=h(11),E=h(119),m=h(17),p=h(7),A=function(N){var P,L;function z(){return N.apply(this,arguments)||this}return L=N,(P=z).prototype=Object.create(L.prototype),P.prototype.constructor=P,P.__proto__=L,z.prototype.execute=function(){return m(this.rootNode,this.options,E)},z}(y),C={};S.exports=function(N,P){return P=p.assign({},C,P),new A(N,P).execute()}},function(S,g,h){var y=h(7),E={getSubTreeSep:function(){return 0}};S.exports=function(m,p){p===void 0&&(p={}),p=y.assign({},E,p),m.parent={x:0,width:0,height:0,y:0},m.BFTraverse(function(A){A.x=A.parent.x+A.parent.width}),m.parent=null,function A(C,N){var P=0;return C.children.length?C.children.forEach(function(L){P+=A(L,N)}):P=C.height,C._subTreeSep=N.getSubTreeSep(C.data),C.totalHeight=Math.max(C.height,P)+2*C._subTreeSep,C.totalHeight}(m,p),m.startY=0,m.y=m.totalHeight/2-m.height/2,m.eachNode(function(A){var C=A.children,N=C.length;if(N){var P=C[0];if(P.startY=A.startY+A._subTreeSep,N===1)P.y=A.y+A.height/2-P.height/2;else{P.y=P.startY+P.totalHeight/2-P.height/2;for(var L=1;LC.height)C.y=L.y+H/2-C.height/2;else if(N.length!==1||C.height>re){var ae=C.y+(C.height-H)/2-L.y;N.forEach(function(ue){ue.translate(0,ae)})}else C.y=(L.y+L.height/2+z.y+z.height/2)/2-C.height/2}}(m)}}])},O(b)==="object"&&O(f)==="object"?f.exports=x():(M=[],(_=typeof(c=x)=="function"?c.apply(b,M):c)===void 0||(f.exports=_))}).call(this,o(87)(R))},function(R,b,o){"use strict";function f(p){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(p)}var c=o(298),M=o(302),_=[].slice,x=["keyword","gray","hex"],O={};Object.keys(M).forEach(function(p){O[_.call(M[p].labels).sort().join("")]=p});var S={};function g(p,A){if(!(this instanceof g))return new g(p,A);if(A&&A in x&&(A=null),A&&!(A in M))throw new Error("Unknown model: "+A);var C,N;if(p==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(p instanceof g)this.model=p.model,this.color=p.color.slice(),this.valpha=p.valpha;else if(typeof p=="string"){var P=c.get(p);if(P===null)throw new Error("Unable to parse color from string: "+p);this.model=P.model,N=M[this.model].channels,this.color=P.value.slice(0,N),this.valpha=typeof P.value[N]=="number"?P.value[N]:1}else if(p.length){this.model=A||"rgb",N=M[this.model].channels;var L=_.call(p,0,N);this.color=m(L,N),this.valpha=typeof p[N]=="number"?p[N]:1}else if(typeof p=="number")p&=16777215,this.model="rgb",this.color=[p>>16&255,p>>8&255,255&p],this.valpha=1;else{this.valpha=1;var z=Object.keys(p);"alpha"in p&&(z.splice(z.indexOf("alpha"),1),this.valpha=typeof p.alpha=="number"?p.alpha:0);var H=z.sort().join("");if(!(H in O))throw new Error("Unable to parse color from object: "+JSON.stringify(p));this.model=O[H];var re=M[this.model].labels,ae=[];for(C=0;CC?(A+.05)/(C+.05):(C+.05)/(A+.05)},level:function(p){var A=this.contrast(p);return A>=7.1?"AAA":A>=4.5?"AA":""},isDark:function(){var p=this.rgb().color;return(299*p[0]+587*p[1]+114*p[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var p=this.rgb(),A=0;A<3;A++)p.color[A]=255-p.color[A];return p},lighten:function(p){var A=this.hsl();return A.color[2]+=A.color[2]*p,A},darken:function(p){var A=this.hsl();return A.color[2]-=A.color[2]*p,A},saturate:function(p){var A=this.hsl();return A.color[1]+=A.color[1]*p,A},desaturate:function(p){var A=this.hsl();return A.color[1]-=A.color[1]*p,A},whiten:function(p){var A=this.hwb();return A.color[1]+=A.color[1]*p,A},blacken:function(p){var A=this.hwb();return A.color[2]+=A.color[2]*p,A},grayscale:function(){var p=this.rgb().color,A=.3*p[0]+.59*p[1]+.11*p[2];return g.rgb(A,A,A)},fade:function(p){return this.alpha(this.valpha-this.valpha*p)},opaquer:function(p){return this.alpha(this.valpha+this.valpha*p)},rotate:function(p){var A=this.hsl(),C=A.color[0];return C=(C=(C+p)%360)<0?360+C:C,A.color[0]=C,A},mix:function(p,A){if(!p||!p.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+f(p));var C=p.rgb(),N=this.rgb(),P=A===void 0?.5:A,L=2*P-1,z=C.alpha()-N.alpha(),H=((L*z==-1?L:(L+z)/(1+L*z))+1)/2,re=1-H;return g.rgb(H*C.red()+re*N.red(),H*C.green()+re*N.green(),H*C.blue()+re*N.blue(),C.alpha()*P+N.alpha()*(1-P))}},Object.keys(M).forEach(function(p){if(x.indexOf(p)===-1){var A=M[p].channels;g.prototype[p]=function(){if(this.model===p)return new g(this);if(arguments.length)return new g(arguments,p);var C=typeof arguments[A]=="number"?A:this.valpha;return new g(E(M[this.model][p].raw(this.color)).concat(C),p)},g[p]=function(C){return typeof C=="number"&&(C=m(_.call(arguments),A)),new g(C,p)}}}),R.exports=g},function(R,b,o){var f=o(63),c=o(43);R.exports=function(M){if(!c(M))return!1;var _=f(M);return _=="[object Function]"||_=="[object GeneratorFunction]"||_=="[object AsyncFunction]"||_=="[object Proxy]"}},function(R,b,o){var f=o(101),c=o(102);R.exports=function(M,_,x,O){var S=!x;x||(x={});for(var g=-1,h=_.length;++g ")}(S);throw new Error(c.CIRCULAR_DEPENDENCY+" "+g)}x(S)})},b.listMetadataForTarget=function(x,O){if(O.isTagged()||O.isNamed()){var S="",g=O.getNamedTag(),h=O.getCustomTags();return g!==null&&(S+=g.toString()+` `),h!==null&&h.forEach(function(y){S+=y.toString()+` `})," "+x+` - `+x+" - "+S}return" "+x},b.getFunctionName=_},function(R,b,o){"use strict";o.d(b,"a",function(){return ke}),o(228);var f,c,M,_,x,O=o(5),S=o(271),g=o.n(S),h=o(25),y=o(10),E=o.n(y),m=o(6),p=o.n(m),A=o(7),C=o.n(A),N=o(11),P=o.n(N),L=(o(29),o(13)),z=o(35),X=(f=Object(O.injectable)(),c=Object(O.inject)(L.a.RenderEngine),f((_=function(){function Ce(){p()(this,Ce),E()(this,"engine",x,this),this.resourcePool={}}return C()(Ce,[{key:"getOrCreateResource",value:function(Re){if(!this.resourcePool[Re.name]){var Oe=Re.descriptor,Le=Oe.width,Ke=Oe.height,et=Oe.usage;this.resourcePool[Re.name]=this.engine.createFramebuffer({color:this.engine.createTexture2D({width:Le,height:Ke,wrapS:z.a.CLAMP_TO_EDGE,wrapT:z.a.CLAMP_TO_EDGE,usage:et})})}return this.resourcePool[Re.name]}},{key:"clean",value:function(){this.resourcePool={}}}]),Ce}(),x=P()(_.prototype,"engine",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=_))||M),te=o(132),ue=o(134),le=o(119),xe=o(120),ye=o(121),W=o(122),Ie=o(123),ie=o(124),ne=o(81),Z=o(68),V=o(50),ae=o(126),we=o(127),Ae=o(23),se=o.n(Ae),ee=o(24),J=o.n(ee),Y=o(18),q=o.n(Y);function G(Ce){var Re=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Oe){return!1}}();return function(){var Oe,Le=q()(Ce);if(Re){var Ke=q()(this).constructor;Oe=Reflect.construct(Le,arguments,Ke)}else Oe=Le.apply(this,arguments);return J()(this,Oe)}}var re=function(Ce){se()(Oe,Ce);var Re=G(Oe);function Oe(Le){var Ke;return p()(this,Oe),(Ke=Re.call(this,Le)).name=void 0,Ke.name=Le.name||"",Ke}return Oe}(h.a),fe=o(128),ce=o(129),$=o(130),de=o(131),Se=o(133),Pe=new O.Container;g()(Pe,!1);function ke(){var Ce=new O.Container;return Ce.parent=Pe,Ce.bind(L.a.Systems).to(fe.a).inSingletonScope().whenTargetNamed(L.a.SceneGraphSystem),Ce.bind(L.a.Systems).to(te.a).inSingletonScope().whenTargetNamed(L.a.FrameGraphSystem),Ce.bind(L.a.Systems).to(ie.a).inSingletonScope().whenTargetNamed(L.a.MeshSystem),Ce.bind(L.a.Systems).to(le.a).inSingletonScope().whenTargetNamed(L.a.GeometrySystem),Ce.bind(L.a.Systems).to(ye.a).inSingletonScope().whenTargetNamed(L.a.MaterialSystem),Ce.bind(L.a.Systems).to(ae.a).inSingletonScope().whenTargetNamed(L.a.RendererSystem),Ce.bind(L.a.ResourcePool).to(X).inSingletonScope(),Ce.bind(L.a.ConfigService).to($.a).inSingletonScope(),Ce.bind(L.a.InteractorService).to(de.a).inSingletonScope(),Ce.bind(L.a.RenderPass).to(V.a).inSingletonScope().whenTargetNamed(V.a.IDENTIFIER),Ce.bind(L.a.RenderPass).to(ne.a).inSingletonScope().whenTargetNamed(ne.a.IDENTIFIER),Ce.bind(L.a.RenderPass).to(Z.a).inSingletonScope().whenTargetNamed(Z.a.IDENTIFIER),Ce.bind(L.a.RenderPassFactory).toFactory(function(Re){return function(Oe){return Re.container.getNamed(L.a.RenderPass,Oe)}}),Ce}Pe.bind(L.a.ShaderModuleService).to(Se.a).inSingletonScope(),Pe.bind(L.a.NameComponentManager).toConstantValue(new h.b(re)),Pe.bind(L.a.HierarchyComponentManager).toConstantValue(new h.b(we.a)),Pe.bind(L.a.TransformComponentManager).toConstantValue(new h.b(ce.a)),Pe.bind(L.a.MeshComponentManager).toConstantValue(new h.b(Ie.a)),Pe.bind(L.a.CullableComponentManager).toConstantValue(new h.b(W.a)),Pe.bind(L.a.GeometryComponentManager).toConstantValue(new h.b(ue.a)),Pe.bind(L.a.MaterialComponentManager).toConstantValue(new h.b(xe.a))},function(R,b,o){"use strict";o.d(b,"a",function(){return x});var f=o(15);function c(O){return Math.sqrt(O[0]*O[0]+O[1]*O[1])}function M(O,S){return c(O)*c(S)?(O[0]*S[0]+O[1]*S[1])/(c(O)*c(S)):1}function _(O,S){return(O[0]*S[1]1&&(g*=Math.sqrt(z),h*=Math.sqrt(z));var X=g*g*(L*L)+h*h*(P*P),te=X?Math.sqrt((g*g*(h*h)-X)/X):1;E===m&&(te*=-1),isNaN(te)&&(te=0);var ue=h?te*g*L/h:0,le=g?te*-h*P/g:0,xe=(p+C)/2+Math.cos(y)*ue-Math.sin(y)*le,ye=(A+N)/2+Math.sin(y)*ue+Math.cos(y)*le,W=[(P-ue)/g,(L-le)/h],Ie=[(-1*P-ue)/g,(-1*L-le)/h],ie=_([1,0],W),ne=_(W,Ie);return M(W,Ie)<=-1&&(ne=Math.PI),M(W,Ie)>=1&&(ne=0),m===0&&ne>0&&(ne-=2*Math.PI),m===1&&ne<0&&(ne+=2*Math.PI),{cx:xe,cy:ye,rx:Object(f.j)(O,[C,N])?0:g,ry:Object(f.j)(O,[C,N])?0:h,startAngle:ie,endAngle:ie+ne,xRotation:y,arcFlag:E,sweepFlag:m}}},function(R,b,o){var f;function c(M){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(M)}(function(M){var _=/^\s+/,x=/\s+$/,O=0,S=M.round,g=M.min,h=M.max,y=M.random;function E($,de){if(de=de||{},($=$||"")instanceof E)return $;if(!(this instanceof E))return new E($,de);var Se=function(Pe){var ke={r:0,g:0,b:0},Ce=1,Re=null,Oe=null,Le=null,Ke=!1,et=!1;typeof Pe=="string"&&(Pe=function(Tt){Tt=Tt.replace(_,"").replace(x,"").toLowerCase();var jt,Kt=!1;if(ne[Tt])Tt=ne[Tt],Kt=!0;else if(Tt=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(jt=fe.rgb.exec(Tt))?{r:jt[1],g:jt[2],b:jt[3]}:(jt=fe.rgba.exec(Tt))?{r:jt[1],g:jt[2],b:jt[3],a:jt[4]}:(jt=fe.hsl.exec(Tt))?{h:jt[1],s:jt[2],l:jt[3]}:(jt=fe.hsla.exec(Tt))?{h:jt[1],s:jt[2],l:jt[3],a:jt[4]}:(jt=fe.hsv.exec(Tt))?{h:jt[1],s:jt[2],v:jt[3]}:(jt=fe.hsva.exec(Tt))?{h:jt[1],s:jt[2],v:jt[3],a:jt[4]}:(jt=fe.hex8.exec(Tt))?{r:Ae(jt[1]),g:Ae(jt[2]),b:Ae(jt[3]),a:Y(jt[4]),format:Kt?"name":"hex8"}:(jt=fe.hex6.exec(Tt))?{r:Ae(jt[1]),g:Ae(jt[2]),b:Ae(jt[3]),format:Kt?"name":"hex"}:(jt=fe.hex4.exec(Tt))?{r:Ae(jt[1]+""+jt[1]),g:Ae(jt[2]+""+jt[2]),b:Ae(jt[3]+""+jt[3]),a:Y(jt[4]+""+jt[4]),format:Kt?"name":"hex8"}:(jt=fe.hex3.exec(Tt))?{r:Ae(jt[1]+""+jt[1]),g:Ae(jt[2]+""+jt[2]),b:Ae(jt[3]+""+jt[3]),format:Kt?"name":"hex"}:!1}(Pe)),c(Pe)=="object"&&(ce(Pe.r)&&ce(Pe.g)&&ce(Pe.b)?(ot=Pe.r,dt=Pe.g,Ct=Pe.b,ke={r:255*ae(ot,255),g:255*ae(dt,255),b:255*ae(Ct,255)},Ke=!0,et=String(Pe.r).substr(-1)==="%"?"prgb":"rgb"):ce(Pe.h)&&ce(Pe.s)&&ce(Pe.v)?(Re=ee(Pe.s),Oe=ee(Pe.v),ke=function(Tt,jt,Kt){Tt=6*ae(Tt,360),jt=ae(jt,100),Kt=ae(Kt,100);var Qt=M.floor(Tt),rr=Tt-Qt,or=Kt*(1-jt),Mr=Kt*(1-rr*jt),cr=Kt*(1-(1-rr)*jt),yr=Qt%6;return{r:255*[Kt,Mr,or,or,cr,Kt][yr],g:255*[cr,Kt,Kt,Mr,or,or][yr],b:255*[or,or,cr,Kt,Kt,Mr][yr]}}(Pe.h,Re,Oe),Ke=!0,et="hsv"):ce(Pe.h)&&ce(Pe.s)&&ce(Pe.l)&&(Re=ee(Pe.s),Le=ee(Pe.l),ke=function(Tt,jt,Kt){var Qt,rr,or;function Mr(br,Xr,gr){return gr<0&&(gr+=1),gr>1&&(gr-=1),gr<1/6?br+6*(Xr-br)*gr:gr<.5?Xr:gr<2/3?br+(Xr-br)*(2/3-gr)*6:br}if(Tt=ae(Tt,360),jt=ae(jt,100),Kt=ae(Kt,100),jt===0)Qt=rr=or=Kt;else{var cr=Kt<.5?Kt*(1+jt):Kt+jt-Kt*jt,yr=2*Kt-cr;Qt=Mr(yr,cr,Tt+1/3),rr=Mr(yr,cr,Tt),or=Mr(yr,cr,Tt-1/3)}return{r:255*Qt,g:255*rr,b:255*or}}(Pe.h,Re,Le),Ke=!0,et="hsl"),Pe.hasOwnProperty("a")&&(Ce=Pe.a));var ot,dt,Ct;return Ce=V(Ce),{ok:Ke,format:Pe.format||et,r:g(255,h(ke.r,0)),g:g(255,h(ke.g,0)),b:g(255,h(ke.b,0)),a:Ce}}($);this._originalInput=$,this._r=Se.r,this._g=Se.g,this._b=Se.b,this._a=Se.a,this._roundA=S(100*this._a)/100,this._format=de.format||Se.format,this._gradientType=de.gradientType,this._r<1&&(this._r=S(this._r)),this._g<1&&(this._g=S(this._g)),this._b<1&&(this._b=S(this._b)),this._ok=Se.ok,this._tc_id=O++}function m($,de,Se){$=ae($,255),de=ae(de,255),Se=ae(Se,255);var Pe,ke,Ce=h($,de,Se),Re=g($,de,Se),Oe=(Ce+Re)/2;if(Ce==Re)Pe=ke=0;else{var Le=Ce-Re;switch(ke=Oe>.5?Le/(2-Ce-Re):Le/(Ce+Re),Ce){case $:Pe=(de-Se)/Le+(de>1)+720)%360;--de;)Pe.h=(Pe.h+ke)%360,Ce.push(E(Pe));return Ce}function ie($,de){de=de||6;for(var Se=E($).toHsv(),Pe=Se.h,ke=Se.s,Ce=Se.v,Re=[],Oe=1/de;de--;)Re.push(E({h:Pe,s:ke,v:Ce})),Ce=(Ce+Oe)%1;return Re}E.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 $=this.toRgb();return(299*$.r+587*$.g+114*$.b)/1e3},getLuminance:function(){var $,de,Se,Pe=this.toRgb();return $=Pe.r/255,de=Pe.g/255,Se=Pe.b/255,.2126*($<=.03928?$/12.92:M.pow(($+.055)/1.055,2.4))+.7152*(de<=.03928?de/12.92:M.pow((de+.055)/1.055,2.4))+.0722*(Se<=.03928?Se/12.92:M.pow((Se+.055)/1.055,2.4))},setAlpha:function($){return this._a=V($),this._roundA=S(100*this._a)/100,this},toHsv:function(){var $=p(this._r,this._g,this._b);return{h:360*$.h,s:$.s,v:$.v,a:this._a}},toHsvString:function(){var $=p(this._r,this._g,this._b),de=S(360*$.h),Se=S(100*$.s),Pe=S(100*$.v);return this._a==1?"hsv("+de+", "+Se+"%, "+Pe+"%)":"hsva("+de+", "+Se+"%, "+Pe+"%, "+this._roundA+")"},toHsl:function(){var $=m(this._r,this._g,this._b);return{h:360*$.h,s:$.s,l:$.l,a:this._a}},toHslString:function(){var $=m(this._r,this._g,this._b),de=S(360*$.h),Se=S(100*$.s),Pe=S(100*$.l);return this._a==1?"hsl("+de+", "+Se+"%, "+Pe+"%)":"hsla("+de+", "+Se+"%, "+Pe+"%, "+this._roundA+")"},toHex:function($){return A(this._r,this._g,this._b,$)},toHexString:function($){return"#"+this.toHex($)},toHex8:function($){return function(de,Se,Pe,ke,Ce){var Re=[se(S(de).toString(16)),se(S(Se).toString(16)),se(S(Pe).toString(16)),se(J(ke))];return Ce&&Re[0].charAt(0)==Re[0].charAt(1)&&Re[1].charAt(0)==Re[1].charAt(1)&&Re[2].charAt(0)==Re[2].charAt(1)&&Re[3].charAt(0)==Re[3].charAt(1)?Re[0].charAt(0)+Re[1].charAt(0)+Re[2].charAt(0)+Re[3].charAt(0):Re.join("")}(this._r,this._g,this._b,this._a,$)},toHex8String:function($){return"#"+this.toHex8($)},toRgb:function(){return{r:S(this._r),g:S(this._g),b:S(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+S(this._r)+", "+S(this._g)+", "+S(this._b)+")":"rgba("+S(this._r)+", "+S(this._g)+", "+S(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:S(100*ae(this._r,255))+"%",g:S(100*ae(this._g,255))+"%",b:S(100*ae(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+S(100*ae(this._r,255))+"%, "+S(100*ae(this._g,255))+"%, "+S(100*ae(this._b,255))+"%)":"rgba("+S(100*ae(this._r,255))+"%, "+S(100*ae(this._g,255))+"%, "+S(100*ae(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(Z[A(this._r,this._g,this._b,!0)]||!1)},toFilter:function($){var de="#"+C(this._r,this._g,this._b,this._a),Se=de,Pe=this._gradientType?"GradientType = 1, ":"";if($){var ke=E($);Se="#"+C(ke._r,ke._g,ke._b,ke._a)}return"progid:DXImageTransform.Microsoft.gradient("+Pe+"startColorstr="+de+",endColorstr="+Se+")"},toString:function($){var de=!!$;$=$||this._format;var Se=!1,Pe=this._a<1&&this._a>=0;return de||!Pe||$!=="hex"&&$!=="hex6"&&$!=="hex3"&&$!=="hex4"&&$!=="hex8"&&$!=="name"?($==="rgb"&&(Se=this.toRgbString()),$==="prgb"&&(Se=this.toPercentageRgbString()),$!=="hex"&&$!=="hex6"||(Se=this.toHexString()),$==="hex3"&&(Se=this.toHexString(!0)),$==="hex4"&&(Se=this.toHex8String(!0)),$==="hex8"&&(Se=this.toHex8String()),$==="name"&&(Se=this.toName()),$==="hsl"&&(Se=this.toHslString()),$==="hsv"&&(Se=this.toHsvString()),Se||this.toHexString()):$==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return E(this.toString())},_applyModification:function($,de){var Se=$.apply(null,[this].concat([].slice.call(de)));return this._r=Se._r,this._g=Se._g,this._b=Se._b,this.setAlpha(Se._a),this},lighten:function(){return this._applyModification(z,arguments)},brighten:function(){return this._applyModification(X,arguments)},darken:function(){return this._applyModification(te,arguments)},desaturate:function(){return this._applyModification(N,arguments)},saturate:function(){return this._applyModification(P,arguments)},greyscale:function(){return this._applyModification(L,arguments)},spin:function(){return this._applyModification(ue,arguments)},_applyCombination:function($,de){return $.apply(null,[this].concat([].slice.call(de)))},analogous:function(){return this._applyCombination(Ie,arguments)},complement:function(){return this._applyCombination(le,arguments)},monochromatic:function(){return this._applyCombination(ie,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(xe,arguments)},tetrad:function(){return this._applyCombination(ye,arguments)}},E.fromRatio=function($,de){if(c($)=="object"){var Se={};for(var Pe in $)$.hasOwnProperty(Pe)&&(Se[Pe]=Pe==="a"?$[Pe]:ee($[Pe]));$=Se}return E($,de)},E.equals=function($,de){return!(!$||!de)&&E($).toRgbString()==E(de).toRgbString()},E.random=function(){return E.fromRatio({r:y(),g:y(),b:y()})},E.mix=function($,de,Se){Se=Se===0?0:Se||50;var Pe=E($).toRgb(),ke=E(de).toRgb(),Ce=Se/100;return E({r:(ke.r-Pe.r)*Ce+Pe.r,g:(ke.g-Pe.g)*Ce+Pe.g,b:(ke.b-Pe.b)*Ce+Pe.b,a:(ke.a-Pe.a)*Ce+Pe.a})},E.readability=function($,de){var Se=E($),Pe=E(de);return(M.max(Se.getLuminance(),Pe.getLuminance())+.05)/(M.min(Se.getLuminance(),Pe.getLuminance())+.05)},E.isReadable=function($,de,Se){var Pe,ke,Ce=E.readability($,de);switch(ke=!1,(Pe=function(Re){var Oe,Le;return Oe=((Re=Re||{level:"AA",size:"small"}).level||"AA").toUpperCase(),Le=(Re.size||"small").toLowerCase(),Oe!=="AA"&&Oe!=="AAA"&&(Oe="AA"),Le!=="small"&&Le!=="large"&&(Le="small"),{level:Oe,size:Le}}(Se)).level+Pe.size){case"AAsmall":case"AAAlarge":ke=Ce>=4.5;break;case"AAlarge":ke=Ce>=3;break;case"AAAsmall":ke=Ce>=7}return ke},E.mostReadable=function($,de,Se){var Pe,ke,Ce,Re,Oe=null,Le=0;ke=(Se=Se||{}).includeFallbackColors,Ce=Se.level,Re=Se.size;for(var Ke=0;KeLe&&(Le=Pe,Oe=E(de[Ke]));return E.isReadable($,Oe,{level:Ce,size:Re})||!ke?Oe:(Se.includeFallbackColors=!1,E.mostReadable($,["#fff","#000"],Se))};var ne=E.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Z=E.hexNames=function($){var de={};for(var Se in $)$.hasOwnProperty(Se)&&(de[$[Se]]=Se);return de}(ne);function V($){return $=parseFloat($),(isNaN($)||$<0||$>1)&&($=1),$}function ae($,de){(function(Pe){return typeof Pe=="string"&&Pe.indexOf(".")!=-1&&parseFloat(Pe)===1})($)&&($="100%");var Se=function(Pe){return typeof Pe=="string"&&Pe.indexOf("%")!=-1}($);return $=g(de,h(0,parseFloat($))),Se&&($=parseInt($*de,10)/100),M.abs($-de)<1e-6?1:$%de/parseFloat(de)}function we($){return g(1,h(0,$))}function Ae($){return parseInt($,16)}function se($){return $.length==1?"0"+$:""+$}function ee($){return $<=1&&($=100*$+"%"),$}function J($){return M.round(255*parseFloat($)).toString(16)}function Y($){return Ae($)/255}var q,G,re,fe=(G="[\\s|\\(]+("+(q="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",re="[\\s|\\(]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",{CSS_UNIT:new RegExp(q),rgb:new RegExp("rgb"+G),rgba:new RegExp("rgba"+re),hsl:new RegExp("hsl"+G),hsla:new RegExp("hsla"+re),hsv:new RegExp("hsv"+G),hsva:new RegExp("hsva"+re),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function ce($){return!!fe.CSS_UNIT.exec($)}R.exports?R.exports=E:(f=function(){return E}.call(b,o,b,R))===void 0||(R.exports=f)})(Math)},function(R,b,o){R.exports={EPSILON:o(252),create:o(253),clone:o(516),fromValues:o(517),copy:o(518),set:o(254),equals:o(519),exactEquals:o(520),add:o(255),subtract:o(162),sub:o(521),multiply:o(256),mul:o(522),divide:o(257),div:o(523),inverse:o(524),min:o(525),max:o(526),rotate:o(527),floor:o(528),ceil:o(529),round:o(530),scale:o(531),scaleAndAdd:o(532),distance:o(258),dist:o(533),squaredDistance:o(259),sqrDist:o(534),length:o(260),len:o(535),squaredLength:o(261),sqrLen:o(536),negate:o(537),normalize:o(262),dot:o(263),cross:o(538),lerp:o(539),random:o(540),transformMat2:o(541),transformMat2d:o(542),transformMat3:o(543),transformMat4:o(544),forEach:o(545),limit:o(546)}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=function(c,M){var _=c.nodes,x=c.edges,O=[],S={};if(!_)throw new Error("invalid nodes data!");return _&&_.forEach(function(g,h){S[g.id]=h,O.push([])}),x&&x.forEach(function(g){var h=g.source,y=g.target,E=S[h],m=S[y];!E&&E!==0||!m&&m!==0||(O[E][m]=1,M||(O[m][E]=1))}),O};b.default=f},function(R,b,o){var f=o(97),c=o(313),M=o(314),_=o(315),x=o(316),O=o(317);function S(g){var h=this.__data__=new f(g);this.size=h.size}S.prototype.clear=c,S.prototype.delete=M,S.prototype.get=_,S.prototype.has=x,S.prototype.set=O,R.exports=S},function(R,b,o){var f=o(308),c=o(309),M=o(310),_=o(311),x=o(312);function O(S){var g=-1,h=S==null?0:S.length;for(this.clear();++g-1&&c%1==0&&c0&&arguments[0]!==void 0?arguments[0]:{vertexCount:3},ie=Ie.vertexCount,ne=Object(te.createEntity)();return this.geometry.create(ne,{vertexCount:ie})}},{key:"createInstancedBufferGeometry",value:function(Ie){var ie=Ie.maxInstancedCount,ne=Ie.vertexCount,Z=Object(te.createEntity)();return this.geometry.create(Z,{maxInstancedCount:ie,vertexCount:ne})}}]),ye}(),O=z()(x.prototype,"geometry",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=z()(x.prototype,"engine",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=x))||_)},function(R,b,o){"use strict";o.d(b,"a",function(){return z});var f=o(4),c=o.n(f),M=o(6),_=o.n(M),x=o(7),O=o.n(x),S=o(22),g=o.n(S),h=o(23),y=o.n(h),E=o(24),m=o.n(E),p=o(18),A=o.n(p),C=o(3);function N(X,te){var ue=Object.keys(X);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(X);te&&(le=le.filter(function(xe){return Object.getOwnPropertyDescriptor(X,xe).enumerable})),ue.push.apply(ue,le)}return ue}function P(X){for(var te=1;te=Ae.length?{done:!0}:{done:!1,value:Ae[J++]}},e:function(fe){throw fe},f:Y}}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 q,G=!0,re=!1;return{s:function(){ee=Ae[Symbol.iterator]()},n:function(){var fe=ee.next();return G=fe.done,fe},e:function(fe){re=!0,q=fe},f:function(){try{G||ee.return==null||ee.return()}finally{if(re)throw q}}}}function ae(Ae,se){(se==null||se>Ae.length)&&(se=Ae.length);for(var ee=0,J=new Array(se);ee0)return ne.b.OUTSIDE;W.e.dot($,ee.getPositiveFarPoint(Y[G]))+de>0&&(q|=fe)}}return q}}]),Ae}(),h=ye()(g.prototype,"mesh",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=ye()(g.prototype,"cullable",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=ye()(g.prototype,"geometry",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=ye()(g.prototype,"hierarchy",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=ye()(g.prototype,"transform",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=g))||S)},function(R,b,o){"use strict";o.d(b,"a",function(){return O});var f=o(6),c=o.n(f),M=o(7),_=o.n(M),x=o(2),O=function(){function S(g,h){c()(this,S),this.distance=void 0,this.normal=void 0,this.pnVertexFlag=void 0,this.distance=g||0,this.normal=h||x.e.fromValues(0,1,0),this.updatePNVertexFlag()}return _()(S,[{key:"updatePNVertexFlag",value:function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)}},{key:"distanceToPoint",value:function(g){return x.e.dot(g,this.normal)-this.distance}},{key:"normalize",value:function(){var g=1/x.e.len(this.normal);x.e.scale(this.normal,this.normal,g),this.distance*=g}},{key:"intersectsLine",value:function(g,h,y){var E=this.distanceToPoint(g),m=E/(E-this.distanceToPoint(h)),p=m>=0&&m<=1;return p&&y&&x.e.lerp(y,g,h,m),p}}]),S}()},function(R,b,o){"use strict";o.d(b,"a",function(){return Z});var f,c,M,_,x,O,S,g,h,y,E,m,p=o(9),A=o.n(p),C=o(14),N=o.n(C),P=o(10),L=o.n(P),z=o(6),X=o.n(z),te=o(7),ue=o.n(te),le=o(11),xe=o.n(le),ye=(o(29),o(5)),W=o(13),Ie=o(81),ie=o(68),ne=o(50),Z=(f=Object(ye.injectable)(),c=Object(ye.inject)(W.a.Systems),M=Object(ye.named)(W.a.FrameGraphSystem),_=Object(ye.inject)(W.a.RenderPassFactory),x=Object(ye.inject)(W.a.ConfigService),O=Object(ye.inject)(W.a.ResourcePool),f((g=function(){function V(){X()(this,V),L()(this,"frameGraphSystem",h,this),L()(this,"renderPassFactory",y,this),L()(this,"configService",E,this),L()(this,"resourcePool",m,this)}var ae;return ue()(V,[{key:"execute",value:(ae=N()(A.a.mark(function we(Ae){var se,ee,J,Y,q,G,re,fe;return A.a.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:se=this.renderPassFactory(ne.a.IDENTIFIER),ee=se.setup,J=se.execute,this.frameGraphSystem.addPass(ne.a.IDENTIFIER,ee,J),Y=this.renderPassFactory(Ie.a.IDENTIFIER),q=Y.setup,G=Y.execute,re=Y.tearDown,fe=this.frameGraphSystem.addPass(Ie.a.IDENTIFIER,q,G,re),this.frameGraphSystem.present(fe.data.output);case 5:case"end":return ce.stop()}},we,this)})),function(we){return ae.apply(this,arguments)})},{key:"tearDown",value:function(){this.resourcePool.clean()}},{key:"pick",value:function(we,Ae){return this.renderPassFactory(ie.a.IDENTIFIER).pick(we,Ae)}}]),V}(),h=xe()(g.prototype,"frameGraphSystem",[c,M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=xe()(g.prototype,"renderPassFactory",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=xe()(g.prototype,"configService",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=xe()(g.prototype,"resourcePool",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=g))||S)},function(R,b,o){"use strict";o.d(b,"a",function(){return m});var f=o(6),c=o.n(f),M=o(22),_=o.n(M),x=o(23),O=o.n(x),S=o(24),g=o.n(S),h=o(18),y=o.n(h);function E(p){var A=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(C){return!1}}();return function(){var C,N=y()(p);if(A){var P=y()(this).constructor;C=Reflect.construct(N,arguments,P)}else C=N.apply(this,arguments);return g()(this,C)}}var m=function(p){O()(C,p);var A=E(C);function C(N){var P;return c()(this,C),(P=A.call(this,N)).parentID=void 0,Object.assign(_()(P),N),P}return C}(o(25).a)},function(R,b,o){"use strict";o.d(b,"a",function(){return ye});var f,c,M,_,x,O,S,g,h,y=o(9),E=o.n(y),m=o(14),p=o.n(m),A=o(10),C=o.n(A),N=o(6),P=o.n(N),L=o(7),z=o.n(L),X=o(11),te=o.n(X),ue=(o(29),o(2)),le=o(5),xe=o(13),ye=(f=Object(le.injectable)(),c=Object(le.inject)(xe.a.HierarchyComponentManager),M=Object(le.inject)(xe.a.TransformComponentManager),_=Object(le.inject)(xe.a.MeshComponentManager),f((O=function(){function W(){P()(this,W),C()(this,"hierarchy",S,this),C()(this,"transform",g,this),C()(this,"mesh",h,this)}var Ie;return z()(W,[{key:"execute",value:(Ie=p()(E.a.mark(function ie(){return E.a.wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:this.runTransformUpdateSystem(),this.runHierarchyUpdateSystem();case 2:case"end":return ne.stop()}},ie,this)})),function(){return Ie.apply(this,arguments)})},{key:"tearDown",value:function(){this.hierarchy.clear(),this.transform.clear()}},{key:"getHierarchyComponentManager",value:function(){return this.hierarchy}},{key:"getTransformComponentManager",value:function(){return this.transform}},{key:"runTransformUpdateSystem",value:function(){var ie=this;this.transform.forEach(function(ne,Z){(Z.isDirty()||Z.isLocalDirty())&&(ie.setMeshAABBDirty(ie.mesh.getComponentByEntity(ne)),Z.updateTransform())})}},{key:"runHierarchyUpdateSystem",value:function(){var ie=this;this.hierarchy.forEach(function(ne,Z){var V=ie.transform.getComponentByEntity(ne),ae=ie.transform.getComponentByEntity(Z.parentID);V!==null&&ae!==null&&V.updateTransformWithParent(ae)})}},{key:"attach",value:function(ie,ne,Z){this.hierarchy.contains(ie)&&this.detach(ie),this.hierarchy.create(ie,{parentID:ne});var V=this.mesh.getComponentByEntity(ne);if(this.setMeshAABBDirty(V),V&&V.children.indexOf(ie)===-1&&V.children.push(ie),this.hierarchy.getCount()>1){for(var ae=this.hierarchy.getCount()-1;ae>0;--ae)for(var we=this.hierarchy.getEntity(ae),Ae=0;Ae0&&arguments[0]!==void 0)||arguments[0];z?this.dirtyFlag|=L.DIRTY:this.dirtyFlag&=~L.DIRTY}},{key:"isLocalDirty",value:function(){return this.localDirtyFlag}},{key:"setLocalDirty",value:function(){var z=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];z?(this.localDirtyFlag|=L.DIRTY,this.setDirty(!0)):this.localDirtyFlag&=~L.DIRTY}},{key:"updateTransform",value:function(){this.isLocalDirty()&&this.getLocalTransform(),this.isDirty()&&this.parent===null&&(p.b.copy(this.worldTransform,this.getLocalTransform()),this.setDirty(!1))}},{key:"updateTransformWithParent",value:function(z){p.b.multiply(this.worldTransform,z.worldTransform,this.getLocalTransform())}},{key:"applyTransform",value:function(){this.setDirty(),p.b.getScaling(this.localScale,this.worldTransform),p.b.getTranslation(this.localPosition,this.worldTransform),p.b.getRotation(this.localRotation,this.worldTransform)}},{key:"clearTransform",value:function(){this.setDirty(),this.localPosition=p.e.fromValues(0,0,0),this.localRotation=p.c.fromValues(0,0,0,1),this.localScale=p.e.fromValues(1,1,1)}},{key:"scaleLocal",value:function(z){return this.setLocalDirty(),p.e.multiply(this.localScale,this.localScale,z),this}},{key:"getLocalPosition",value:function(){return this.localPosition}},{key:"getLocalRotation",value:function(){return this.localRotation}},{key:"getLocalScale",value:function(){return this.localScale}},{key:"getLocalTransform",value:function(){return this.localDirtyFlag&&(p.b.fromRotationTranslationScale(this.localTransform,this.localRotation,this.localPosition,this.localScale),this.setLocalDirty(!1)),this.localTransform}},{key:"getWorldTransform",value:function(){return this.isLocalDirty()||this.isDirty()?(this.parent&&this.parent.getWorldTransform(),this.updateTransform(),this.worldTransform):this.worldTransform}},{key:"getPosition",value:function(){return p.b.getTranslation(this.position,this.worldTransform),this.position}},{key:"getRotation",value:function(){return p.b.getRotation(this.rotation,this.worldTransform),this.rotation}},{key:"getScale",value:function(){return p.b.getScaling(this.scaling,this.worldTransform),this.scaling}}]),L}(o(25).a);C.DIRTY=1},function(R,b,o){"use strict";o.d(b,"a",function(){return S});var f,c=o(6),M=o.n(c),_=o(7),x=o.n(_),O=o(5),S=Object(O.injectable)()(f=function(){function g(){M()(this,g),this.config=void 0}return x()(g,[{key:"get",value:function(){return this.config}},{key:"set",value:function(h){this.config=h}}]),g}())||f},function(R,b,o){"use strict";o.d(b,"a",function(){return g});var f,c,M=o(6),_=o.n(M),x=o(7),O=o.n(x),S=o(5);(function(h){h.PANSTART="PANSTART",h.PANEND="PANEND",h.PANMOVE="PANMOVE",h.PINCH="PINCH",h.KEYDOWN="KEYDOWN",h.KEYUP="KEYUP",h.HOVER="HOVER"})(c||(c={}));var g=Object(S.injectable)()(f=function(){function h(){_()(this,h)}return O()(h,[{key:"listen",value:function(y){}},{key:"on",value:function(y,E){}},{key:"connect",value:function(){}},{key:"disconnect",value:function(){}},{key:"destroy",value:function(){}}]),h}())||f},function(R,b,o){"use strict";o.d(b,"a",function(){return ee});var f=o(59),c=o.n(f),M=o(9),_=o.n(M),x=o(14),O=o.n(x),S=o(10),g=o.n(S),h=o(6),y=o.n(h),E=o(7),m=o.n(E),p=o(11),A=o.n(p),C=(o(29),o(5)),N=o(13),P=function J(){y()(this,J),this.index=void 0},L=function J(){y()(this,J),this.name=void 0,this.data=void 0,this.execute=void 0,this.tearDown=void 0},z=function(){function J(){y()(this,J),this.name=void 0,this.refCount=0,this.hasSideEffect=!1,this.devirtualize=[],this.destroy=[],this.reads=[],this.writes=[]}return m()(J,[{key:"read",value:function(Y){return this.reads.find(function(q){return q.index===Y.index})||this.reads.push(Y),Y}},{key:"sample",value:function(Y){return this.read(Y),Y}},{key:"write",value:function(Y,q){if(this.writes.find(function(fe){return fe.index===q.index}))return q;var G=Y.getResourceNode(q);G.resource.version++,G.resource.imported&&(this.hasSideEffect=!0);var re=Y.createResourceNode(G.resource);return Y.getResourceNode(re).writer=this,this.writes.push(re),re}}]),J}(),X=o(23),te=o.n(X),ue=o(24),le=o.n(ue),xe=o(18),ye=o.n(xe);function W(J){var Y=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(q){return!1}}();return function(){var q,G=ye()(J);if(Y){var re=ye()(this).constructor;q=Reflect.construct(G,arguments,re)}else q=G.apply(this,arguments);return le()(this,q)}}var Ie,ie,ne,Z,V,ae=function(J){te()(q,J);var Y=W(q);function q(){var G;y()(this,q);for(var re=arguments.length,fe=new Array(re),ce=0;ce=J.length?{done:!0}:{done:!1,value:J[G++]}},e:function(de){throw de},f:re}}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 fe,ce=!0,$=!1;return{s:function(){q=J[Symbol.iterator]()},n:function(){var de=q.next();return ce=de.done,de},e:function(de){$=!0,fe=de},f:function(){try{ce||q.return==null||q.return()}finally{if($)throw fe}}}}function se(J,Y){(Y==null||Y>J.length)&&(Y=J.length);for(var q=0,G=new Array(Y);q1&&(le=te[1].trim()),z){case"bool":le=le==="true";break;case"float":case"int":le=Number(le);break;case"vec2":case"vec3":case"vec4":case"ivec2":case"ivec3":case"ivec4":case"mat2":case"mat3":case"mat4":le=le?le.replace("[","").replace("]","").split(",").reduce(function(xe,ye){return xe.push(Number(ye.trim())),xe},[]):new Array(function(xe){var ye=0;switch(xe){case"vec2":case"ivec2":ye=2;break;case"vec3":case"ivec3":ye=3;break;case"vec4":case"ivec4":case"mat2":ye=4;break;case"mat3":ye=9;break;case"mat4":ye=16}return ye}(z)).fill(0)}return P[ue]=le,"uniform ".concat(z," ").concat(ue,`; -`)}),uniforms:P}}function E(N,P){var L=Object.keys(N);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(N);P&&(z=z.filter(function(X){return Object.getOwnPropertyDescriptor(N,X).enumerable})),L.push.apply(L,z)}return L}function m(N){for(var P=1;P1&&(g*=Math.sqrt(z),h*=Math.sqrt(z));var H=g*g*(L*L)+h*h*(P*P),re=H?Math.sqrt((g*g*(h*h)-H)/H):1;E===m&&(re*=-1),isNaN(re)&&(re=0);var ae=h?re*g*L/h:0,ue=g?re*-h*P/g:0,xe=(p+C)/2+Math.cos(y)*ae-Math.sin(y)*ue,ye=(A+N)/2+Math.sin(y)*ae+Math.cos(y)*ue,Y=[(P-ae)/g,(L-ue)/h],Ce=[(-1*P-ae)/g,(-1*L-ue)/h],ge=_([1,0],Y),he=_(Y,Ce);return M(Y,Ce)<=-1&&(he=Math.PI),M(Y,Ce)>=1&&(he=0),m===0&&he>0&&(he-=2*Math.PI),m===1&&he<0&&(he+=2*Math.PI),{cx:xe,cy:ye,rx:Object(f.j)(O,[C,N])?0:g,ry:Object(f.j)(O,[C,N])?0:h,startAngle:ge,endAngle:ge+he,xRotation:y,arcFlag:E,sweepFlag:m}}},function(R,b,o){var f;function c(M){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(M)}(function(M){var _=/^\s+/,x=/\s+$/,O=0,S=M.round,g=M.min,h=M.max,y=M.random;function E(Z,fe){if(fe=fe||{},(Z=Z||"")instanceof E)return Z;if(!(this instanceof E))return new E(Z,fe);var _e=function(je){var Me={r:0,g:0,b:0},Ae=1,Le=null,Se=null,Re=null,Ke=!1,Je=!1;typeof je=="string"&&(je=function(At){At=At.replace(_,"").replace(x,"").toLowerCase();var It,Kt=!1;if(he[At])At=he[At],Kt=!0;else if(At=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(It=ne.rgb.exec(At))?{r:It[1],g:It[2],b:It[3]}:(It=ne.rgba.exec(At))?{r:It[1],g:It[2],b:It[3],a:It[4]}:(It=ne.hsl.exec(At))?{h:It[1],s:It[2],l:It[3]}:(It=ne.hsla.exec(At))?{h:It[1],s:It[2],l:It[3],a:It[4]}:(It=ne.hsv.exec(At))?{h:It[1],s:It[2],v:It[3]}:(It=ne.hsva.exec(At))?{h:It[1],s:It[2],v:It[3],a:It[4]}:(It=ne.hex8.exec(At))?{r:Te(It[1]),g:Te(It[2]),b:Te(It[3]),a:U(It[4]),format:Kt?"name":"hex8"}:(It=ne.hex6.exec(At))?{r:Te(It[1]),g:Te(It[2]),b:Te(It[3]),format:Kt?"name":"hex"}:(It=ne.hex4.exec(At))?{r:Te(It[1]+""+It[1]),g:Te(It[2]+""+It[2]),b:Te(It[3]+""+It[3]),a:U(It[4]+""+It[4]),format:Kt?"name":"hex8"}:(It=ne.hex3.exec(At))?{r:Te(It[1]+""+It[1]),g:Te(It[2]+""+It[2]),b:Te(It[3]+""+It[3]),format:Kt?"name":"hex"}:!1}(je)),c(je)=="object"&&(ie(je.r)&&ie(je.g)&&ie(je.b)?(nt=je.r,dt=je.g,kt=je.b,Me={r:255*le(nt,255),g:255*le(dt,255),b:255*le(kt,255)},Ke=!0,Je=String(je.r).substr(-1)==="%"?"prgb":"rgb"):ie(je.h)&&ie(je.s)&&ie(je.v)?(Le=ee(je.s),Se=ee(je.v),Me=function(At,It,Kt){At=6*le(At,360),It=le(It,100),Kt=le(Kt,100);var Qt=M.floor(At),tr=At-Qt,nr=Kt*(1-It),Mr=Kt*(1-tr*It),ar=Kt*(1-(1-tr)*It),yr=Qt%6;return{r:255*[Kt,Mr,nr,nr,ar,Kt][yr],g:255*[ar,Kt,Kt,Mr,nr,nr][yr],b:255*[nr,nr,ar,Kt,Kt,Mr][yr]}}(je.h,Le,Se),Ke=!0,Je="hsv"):ie(je.h)&&ie(je.s)&&ie(je.l)&&(Le=ee(je.s),Re=ee(je.l),Me=function(At,It,Kt){var Qt,tr,nr;function Mr(mr,Rr,pr){return pr<0&&(pr+=1),pr>1&&(pr-=1),pr<1/6?mr+6*(Rr-mr)*pr:pr<.5?Rr:pr<2/3?mr+(Rr-mr)*(2/3-pr)*6:mr}if(At=le(At,360),It=le(It,100),Kt=le(Kt,100),It===0)Qt=tr=nr=Kt;else{var ar=Kt<.5?Kt*(1+It):Kt+It-Kt*It,yr=2*Kt-ar;Qt=Mr(yr,ar,At+1/3),tr=Mr(yr,ar,At),nr=Mr(yr,ar,At-1/3)}return{r:255*Qt,g:255*tr,b:255*nr}}(je.h,Le,Re),Ke=!0,Je="hsl"),je.hasOwnProperty("a")&&(Ae=je.a));var nt,dt,kt;return Ae=W(Ae),{ok:Ke,format:je.format||Je,r:g(255,h(Me.r,0)),g:g(255,h(Me.g,0)),b:g(255,h(Me.b,0)),a:Ae}}(Z);this._originalInput=Z,this._r=_e.r,this._g=_e.g,this._b=_e.b,this._a=_e.a,this._roundA=S(100*this._a)/100,this._format=fe.format||_e.format,this._gradientType=fe.gradientType,this._r<1&&(this._r=S(this._r)),this._g<1&&(this._g=S(this._g)),this._b<1&&(this._b=S(this._b)),this._ok=_e.ok,this._tc_id=O++}function m(Z,fe,_e){Z=le(Z,255),fe=le(fe,255),_e=le(_e,255);var je,Me,Ae=h(Z,fe,_e),Le=g(Z,fe,_e),Se=(Ae+Le)/2;if(Ae==Le)je=Me=0;else{var Re=Ae-Le;switch(Me=Se>.5?Re/(2-Ae-Le):Re/(Ae+Le),Ae){case Z:je=(fe-_e)/Re+(fe<_e?6:0);break;case fe:je=(_e-Z)/Re+2;break;case _e:je=(Z-fe)/Re+4}je/=6}return{h:je,s:Me,l:Se}}function p(Z,fe,_e){Z=le(Z,255),fe=le(fe,255),_e=le(_e,255);var je,Me,Ae=h(Z,fe,_e),Le=g(Z,fe,_e),Se=Ae,Re=Ae-Le;if(Me=Ae===0?0:Re/Ae,Ae==Le)je=0;else{switch(Ae){case Z:je=(fe-_e)/Re+(fe<_e?6:0);break;case fe:je=(_e-Z)/Re+2;break;case _e:je=(Z-fe)/Re+4}je/=6}return{h:je,s:Me,v:Se}}function A(Z,fe,_e,je){var Me=[se(S(Z).toString(16)),se(S(fe).toString(16)),se(S(_e).toString(16))];return je&&Me[0].charAt(0)==Me[0].charAt(1)&&Me[1].charAt(0)==Me[1].charAt(1)&&Me[2].charAt(0)==Me[2].charAt(1)?Me[0].charAt(0)+Me[1].charAt(0)+Me[2].charAt(0):Me.join("")}function C(Z,fe,_e,je){return[se(te(je)),se(S(Z).toString(16)),se(S(fe).toString(16)),se(S(_e).toString(16))].join("")}function N(Z,fe){fe=fe===0?0:fe||10;var _e=E(Z).toHsl();return _e.s-=fe/100,_e.s=Oe(_e.s),E(_e)}function P(Z,fe){fe=fe===0?0:fe||10;var _e=E(Z).toHsl();return _e.s+=fe/100,_e.s=Oe(_e.s),E(_e)}function L(Z){return E(Z).desaturate(100)}function z(Z,fe){fe=fe===0?0:fe||10;var _e=E(Z).toHsl();return _e.l+=fe/100,_e.l=Oe(_e.l),E(_e)}function H(Z,fe){fe=fe===0?0:fe||10;var _e=E(Z).toRgb();return _e.r=h(0,g(255,_e.r-S(-fe/100*255))),_e.g=h(0,g(255,_e.g-S(-fe/100*255))),_e.b=h(0,g(255,_e.b-S(-fe/100*255))),E(_e)}function re(Z,fe){fe=fe===0?0:fe||10;var _e=E(Z).toHsl();return _e.l-=fe/100,_e.l=Oe(_e.l),E(_e)}function ae(Z,fe){var _e=E(Z).toHsl(),je=(_e.h+fe)%360;return _e.h=je<0?360+je:je,E(_e)}function ue(Z){var fe=E(Z).toHsl();return fe.h=(fe.h+180)%360,E(fe)}function xe(Z){var fe=E(Z).toHsl(),_e=fe.h;return[E(Z),E({h:(_e+120)%360,s:fe.s,l:fe.l}),E({h:(_e+240)%360,s:fe.s,l:fe.l})]}function ye(Z){var fe=E(Z).toHsl(),_e=fe.h;return[E(Z),E({h:(_e+90)%360,s:fe.s,l:fe.l}),E({h:(_e+180)%360,s:fe.s,l:fe.l}),E({h:(_e+270)%360,s:fe.s,l:fe.l})]}function Y(Z){var fe=E(Z).toHsl(),_e=fe.h;return[E(Z),E({h:(_e+72)%360,s:fe.s,l:fe.l}),E({h:(_e+216)%360,s:fe.s,l:fe.l})]}function Ce(Z,fe,_e){fe=fe||6,_e=_e||30;var je=E(Z).toHsl(),Me=360/_e,Ae=[E(Z)];for(je.h=(je.h-(Me*fe>>1)+720)%360;--fe;)je.h=(je.h+Me)%360,Ae.push(E(je));return Ae}function ge(Z,fe){fe=fe||6;for(var _e=E(Z).toHsv(),je=_e.h,Me=_e.s,Ae=_e.v,Le=[],Se=1/fe;fe--;)Le.push(E({h:je,s:Me,v:Ae})),Ae=(Ae+Se)%1;return Le}E.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 Z=this.toRgb();return(299*Z.r+587*Z.g+114*Z.b)/1e3},getLuminance:function(){var Z,fe,_e,je=this.toRgb();return Z=je.r/255,fe=je.g/255,_e=je.b/255,.2126*(Z<=.03928?Z/12.92:M.pow((Z+.055)/1.055,2.4))+.7152*(fe<=.03928?fe/12.92:M.pow((fe+.055)/1.055,2.4))+.0722*(_e<=.03928?_e/12.92:M.pow((_e+.055)/1.055,2.4))},setAlpha:function(Z){return this._a=W(Z),this._roundA=S(100*this._a)/100,this},toHsv:function(){var Z=p(this._r,this._g,this._b);return{h:360*Z.h,s:Z.s,v:Z.v,a:this._a}},toHsvString:function(){var Z=p(this._r,this._g,this._b),fe=S(360*Z.h),_e=S(100*Z.s),je=S(100*Z.v);return this._a==1?"hsv("+fe+", "+_e+"%, "+je+"%)":"hsva("+fe+", "+_e+"%, "+je+"%, "+this._roundA+")"},toHsl:function(){var Z=m(this._r,this._g,this._b);return{h:360*Z.h,s:Z.s,l:Z.l,a:this._a}},toHslString:function(){var Z=m(this._r,this._g,this._b),fe=S(360*Z.h),_e=S(100*Z.s),je=S(100*Z.l);return this._a==1?"hsl("+fe+", "+_e+"%, "+je+"%)":"hsla("+fe+", "+_e+"%, "+je+"%, "+this._roundA+")"},toHex:function(Z){return A(this._r,this._g,this._b,Z)},toHexString:function(Z){return"#"+this.toHex(Z)},toHex8:function(Z){return function(fe,_e,je,Me,Ae){var Le=[se(S(fe).toString(16)),se(S(_e).toString(16)),se(S(je).toString(16)),se(te(Me))];return Ae&&Le[0].charAt(0)==Le[0].charAt(1)&&Le[1].charAt(0)==Le[1].charAt(1)&&Le[2].charAt(0)==Le[2].charAt(1)&&Le[3].charAt(0)==Le[3].charAt(1)?Le[0].charAt(0)+Le[1].charAt(0)+Le[2].charAt(0)+Le[3].charAt(0):Le.join("")}(this._r,this._g,this._b,this._a,Z)},toHex8String:function(Z){return"#"+this.toHex8(Z)},toRgb:function(){return{r:S(this._r),g:S(this._g),b:S(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+S(this._r)+", "+S(this._g)+", "+S(this._b)+")":"rgba("+S(this._r)+", "+S(this._g)+", "+S(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:S(100*le(this._r,255))+"%",g:S(100*le(this._g,255))+"%",b:S(100*le(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+S(100*le(this._r,255))+"%, "+S(100*le(this._g,255))+"%, "+S(100*le(this._b,255))+"%)":"rgba("+S(100*le(this._r,255))+"%, "+S(100*le(this._g,255))+"%, "+S(100*le(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(Q[A(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Z){var fe="#"+C(this._r,this._g,this._b,this._a),_e=fe,je=this._gradientType?"GradientType = 1, ":"";if(Z){var Me=E(Z);_e="#"+C(Me._r,Me._g,Me._b,Me._a)}return"progid:DXImageTransform.Microsoft.gradient("+je+"startColorstr="+fe+",endColorstr="+_e+")"},toString:function(Z){var fe=!!Z;Z=Z||this._format;var _e=!1,je=this._a<1&&this._a>=0;return fe||!je||Z!=="hex"&&Z!=="hex6"&&Z!=="hex3"&&Z!=="hex4"&&Z!=="hex8"&&Z!=="name"?(Z==="rgb"&&(_e=this.toRgbString()),Z==="prgb"&&(_e=this.toPercentageRgbString()),Z!=="hex"&&Z!=="hex6"||(_e=this.toHexString()),Z==="hex3"&&(_e=this.toHexString(!0)),Z==="hex4"&&(_e=this.toHex8String(!0)),Z==="hex8"&&(_e=this.toHex8String()),Z==="name"&&(_e=this.toName()),Z==="hsl"&&(_e=this.toHslString()),Z==="hsv"&&(_e=this.toHsvString()),_e||this.toHexString()):Z==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return E(this.toString())},_applyModification:function(Z,fe){var _e=Z.apply(null,[this].concat([].slice.call(fe)));return this._r=_e._r,this._g=_e._g,this._b=_e._b,this.setAlpha(_e._a),this},lighten:function(){return this._applyModification(z,arguments)},brighten:function(){return this._applyModification(H,arguments)},darken:function(){return this._applyModification(re,arguments)},desaturate:function(){return this._applyModification(N,arguments)},saturate:function(){return this._applyModification(P,arguments)},greyscale:function(){return this._applyModification(L,arguments)},spin:function(){return this._applyModification(ae,arguments)},_applyCombination:function(Z,fe){return Z.apply(null,[this].concat([].slice.call(fe)))},analogous:function(){return this._applyCombination(Ce,arguments)},complement:function(){return this._applyCombination(ue,arguments)},monochromatic:function(){return this._applyCombination(ge,arguments)},splitcomplement:function(){return this._applyCombination(Y,arguments)},triad:function(){return this._applyCombination(xe,arguments)},tetrad:function(){return this._applyCombination(ye,arguments)}},E.fromRatio=function(Z,fe){if(c(Z)=="object"){var _e={};for(var je in Z)Z.hasOwnProperty(je)&&(_e[je]=je==="a"?Z[je]:ee(Z[je]));Z=_e}return E(Z,fe)},E.equals=function(Z,fe){return!(!Z||!fe)&&E(Z).toRgbString()==E(fe).toRgbString()},E.random=function(){return E.fromRatio({r:y(),g:y(),b:y()})},E.mix=function(Z,fe,_e){_e=_e===0?0:_e||50;var je=E(Z).toRgb(),Me=E(fe).toRgb(),Ae=_e/100;return E({r:(Me.r-je.r)*Ae+je.r,g:(Me.g-je.g)*Ae+je.g,b:(Me.b-je.b)*Ae+je.b,a:(Me.a-je.a)*Ae+je.a})},E.readability=function(Z,fe){var _e=E(Z),je=E(fe);return(M.max(_e.getLuminance(),je.getLuminance())+.05)/(M.min(_e.getLuminance(),je.getLuminance())+.05)},E.isReadable=function(Z,fe,_e){var je,Me,Ae=E.readability(Z,fe);switch(Me=!1,(je=function(Le){var Se,Re;return Se=((Le=Le||{level:"AA",size:"small"}).level||"AA").toUpperCase(),Re=(Le.size||"small").toLowerCase(),Se!=="AA"&&Se!=="AAA"&&(Se="AA"),Re!=="small"&&Re!=="large"&&(Re="small"),{level:Se,size:Re}}(_e)).level+je.size){case"AAsmall":case"AAAlarge":Me=Ae>=4.5;break;case"AAlarge":Me=Ae>=3;break;case"AAAsmall":Me=Ae>=7}return Me},E.mostReadable=function(Z,fe,_e){var je,Me,Ae,Le,Se=null,Re=0;Me=(_e=_e||{}).includeFallbackColors,Ae=_e.level,Le=_e.size;for(var Ke=0;KeRe&&(Re=je,Se=E(fe[Ke]));return E.isReadable(Z,Se,{level:Ae,size:Le})||!Me?Se:(_e.includeFallbackColors=!1,E.mostReadable(Z,["#fff","#000"],_e))};var he=E.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"},Q=E.hexNames=function(Z){var fe={};for(var _e in Z)Z.hasOwnProperty(_e)&&(fe[Z[_e]]=_e);return fe}(he);function W(Z){return Z=parseFloat(Z),(isNaN(Z)||Z<0||Z>1)&&(Z=1),Z}function le(Z,fe){(function(je){return typeof je=="string"&&je.indexOf(".")!=-1&&parseFloat(je)===1})(Z)&&(Z="100%");var _e=function(je){return typeof je=="string"&&je.indexOf("%")!=-1}(Z);return Z=g(fe,h(0,parseFloat(Z))),_e&&(Z=parseInt(Z*fe,10)/100),M.abs(Z-fe)<1e-6?1:Z%fe/parseFloat(fe)}function Oe(Z){return g(1,h(0,Z))}function Te(Z){return parseInt(Z,16)}function se(Z){return Z.length==1?"0"+Z:""+Z}function ee(Z){return Z<=1&&(Z=100*Z+"%"),Z}function te(Z){return M.round(255*parseFloat(Z)).toString(16)}function U(Z){return Te(Z)/255}var X,B,J,ne=(B="[\\s|\\(]+("+(X="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+X+")[,|\\s]+("+X+")\\s*\\)?",J="[\\s|\\(]+("+X+")[,|\\s]+("+X+")[,|\\s]+("+X+")[,|\\s]+("+X+")\\s*\\)?",{CSS_UNIT:new RegExp(X),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+J),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+J),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+J),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 ie(Z){return!!ne.CSS_UNIT.exec(Z)}R.exports?R.exports=E:(f=function(){return E}.call(b,o,b,R))===void 0||(R.exports=f)})(Math)},function(R,b,o){R.exports={EPSILON:o(252),create:o(253),clone:o(516),fromValues:o(517),copy:o(518),set:o(254),equals:o(519),exactEquals:o(520),add:o(255),subtract:o(162),sub:o(521),multiply:o(256),mul:o(522),divide:o(257),div:o(523),inverse:o(524),min:o(525),max:o(526),rotate:o(527),floor:o(528),ceil:o(529),round:o(530),scale:o(531),scaleAndAdd:o(532),distance:o(258),dist:o(533),squaredDistance:o(259),sqrDist:o(534),length:o(260),len:o(535),squaredLength:o(261),sqrLen:o(536),negate:o(537),normalize:o(262),dot:o(263),cross:o(538),lerp:o(539),random:o(540),transformMat2:o(541),transformMat2d:o(542),transformMat3:o(543),transformMat4:o(544),forEach:o(545),limit:o(546)}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=function(c,M){var _=c.nodes,x=c.edges,O=[],S={};if(!_)throw new Error("invalid nodes data!");return _&&_.forEach(function(g,h){S[g.id]=h,O.push([])}),x&&x.forEach(function(g){var h=g.source,y=g.target,E=S[h],m=S[y];!E&&E!==0||!m&&m!==0||(O[E][m]=1,M||(O[m][E]=1))}),O};b.default=f},function(R,b,o){var f=o(97),c=o(313),M=o(314),_=o(315),x=o(316),O=o(317);function S(g){var h=this.__data__=new f(g);this.size=h.size}S.prototype.clear=c,S.prototype.delete=M,S.prototype.get=_,S.prototype.has=x,S.prototype.set=O,R.exports=S},function(R,b,o){var f=o(308),c=o(309),M=o(310),_=o(311),x=o(312);function O(S){var g=-1,h=S==null?0:S.length;for(this.clear();++g-1&&c%1==0&&c0&&arguments[0]!==void 0?arguments[0]:{vertexCount:3},ge=Ce.vertexCount,he=Object(re.createEntity)();return this.geometry.create(he,{vertexCount:ge})}},{key:"createInstancedBufferGeometry",value:function(Ce){var ge=Ce.maxInstancedCount,he=Ce.vertexCount,Q=Object(re.createEntity)();return this.geometry.create(Q,{maxInstancedCount:ge,vertexCount:he})}}]),ye}(),O=z()(x.prototype,"geometry",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=z()(x.prototype,"engine",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=x))||_)},function(R,b,o){"use strict";o.d(b,"a",function(){return z});var f=o(4),c=o.n(f),M=o(6),_=o.n(M),x=o(7),O=o.n(x),S=o(22),g=o.n(S),h=o(23),y=o.n(h),E=o(24),m=o.n(E),p=o(18),A=o.n(p),C=o(3);function N(H,re){var ae=Object.keys(H);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(H);re&&(ue=ue.filter(function(xe){return Object.getOwnPropertyDescriptor(H,xe).enumerable})),ae.push.apply(ae,ue)}return ae}function P(H){for(var re=1;re=Te.length?{done:!0}:{done:!1,value:Te[te++]}},e:function(ne){throw ne},f:U}}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 X,B=!0,J=!1;return{s:function(){ee=Te[Symbol.iterator]()},n:function(){var ne=ee.next();return B=ne.done,ne},e:function(ne){J=!0,X=ne},f:function(){try{B||ee.return==null||ee.return()}finally{if(J)throw X}}}}function le(Te,se){(se==null||se>Te.length)&&(se=Te.length);for(var ee=0,te=new Array(se);ee0)return he.b.OUTSIDE;Y.e.dot(Z,ee.getPositiveFarPoint(U[B]))+fe>0&&(X|=ne)}}return X}}]),Te}(),h=ye()(g.prototype,"mesh",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=ye()(g.prototype,"cullable",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=ye()(g.prototype,"geometry",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=ye()(g.prototype,"hierarchy",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=ye()(g.prototype,"transform",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=g))||S)},function(R,b,o){"use strict";o.d(b,"a",function(){return O});var f=o(6),c=o.n(f),M=o(7),_=o.n(M),x=o(2),O=function(){function S(g,h){c()(this,S),this.distance=void 0,this.normal=void 0,this.pnVertexFlag=void 0,this.distance=g||0,this.normal=h||x.e.fromValues(0,1,0),this.updatePNVertexFlag()}return _()(S,[{key:"updatePNVertexFlag",value:function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)}},{key:"distanceToPoint",value:function(g){return x.e.dot(g,this.normal)-this.distance}},{key:"normalize",value:function(){var g=1/x.e.len(this.normal);x.e.scale(this.normal,this.normal,g),this.distance*=g}},{key:"intersectsLine",value:function(g,h,y){var E=this.distanceToPoint(g),m=E/(E-this.distanceToPoint(h)),p=m>=0&&m<=1;return p&&y&&x.e.lerp(y,g,h,m),p}}]),S}()},function(R,b,o){"use strict";o.d(b,"a",function(){return Q});var f,c,M,_,x,O,S,g,h,y,E,m,p=o(9),A=o.n(p),C=o(14),N=o.n(C),P=o(10),L=o.n(P),z=o(6),H=o.n(z),re=o(7),ae=o.n(re),ue=o(11),xe=o.n(ue),ye=(o(29),o(5)),Y=o(13),Ce=o(81),ge=o(68),he=o(50),Q=(f=Object(ye.injectable)(),c=Object(ye.inject)(Y.a.Systems),M=Object(ye.named)(Y.a.FrameGraphSystem),_=Object(ye.inject)(Y.a.RenderPassFactory),x=Object(ye.inject)(Y.a.ConfigService),O=Object(ye.inject)(Y.a.ResourcePool),f((g=function(){function W(){H()(this,W),L()(this,"frameGraphSystem",h,this),L()(this,"renderPassFactory",y,this),L()(this,"configService",E,this),L()(this,"resourcePool",m,this)}var le;return ae()(W,[{key:"execute",value:(le=N()(A.a.mark(function Oe(Te){var se,ee,te,U,X,B,J,ne;return A.a.wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:se=this.renderPassFactory(he.a.IDENTIFIER),ee=se.setup,te=se.execute,this.frameGraphSystem.addPass(he.a.IDENTIFIER,ee,te),U=this.renderPassFactory(Ce.a.IDENTIFIER),X=U.setup,B=U.execute,J=U.tearDown,ne=this.frameGraphSystem.addPass(Ce.a.IDENTIFIER,X,B,J),this.frameGraphSystem.present(ne.data.output);case 5:case"end":return ie.stop()}},Oe,this)})),function(Oe){return le.apply(this,arguments)})},{key:"tearDown",value:function(){this.resourcePool.clean()}},{key:"pick",value:function(Oe,Te){return this.renderPassFactory(ge.a.IDENTIFIER).pick(Oe,Te)}}]),W}(),h=xe()(g.prototype,"frameGraphSystem",[c,M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=xe()(g.prototype,"renderPassFactory",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=xe()(g.prototype,"configService",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=xe()(g.prototype,"resourcePool",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=g))||S)},function(R,b,o){"use strict";o.d(b,"a",function(){return m});var f=o(6),c=o.n(f),M=o(22),_=o.n(M),x=o(23),O=o.n(x),S=o(24),g=o.n(S),h=o(18),y=o.n(h);function E(p){var A=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(C){return!1}}();return function(){var C,N=y()(p);if(A){var P=y()(this).constructor;C=Reflect.construct(N,arguments,P)}else C=N.apply(this,arguments);return g()(this,C)}}var m=function(p){O()(C,p);var A=E(C);function C(N){var P;return c()(this,C),(P=A.call(this,N)).parentID=void 0,Object.assign(_()(P),N),P}return C}(o(25).a)},function(R,b,o){"use strict";o.d(b,"a",function(){return ye});var f,c,M,_,x,O,S,g,h,y=o(9),E=o.n(y),m=o(14),p=o.n(m),A=o(10),C=o.n(A),N=o(6),P=o.n(N),L=o(7),z=o.n(L),H=o(11),re=o.n(H),ae=(o(29),o(2)),ue=o(5),xe=o(13),ye=(f=Object(ue.injectable)(),c=Object(ue.inject)(xe.a.HierarchyComponentManager),M=Object(ue.inject)(xe.a.TransformComponentManager),_=Object(ue.inject)(xe.a.MeshComponentManager),f((O=function(){function Y(){P()(this,Y),C()(this,"hierarchy",S,this),C()(this,"transform",g,this),C()(this,"mesh",h,this)}var Ce;return z()(Y,[{key:"execute",value:(Ce=p()(E.a.mark(function ge(){return E.a.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:this.runTransformUpdateSystem(),this.runHierarchyUpdateSystem();case 2:case"end":return he.stop()}},ge,this)})),function(){return Ce.apply(this,arguments)})},{key:"tearDown",value:function(){this.hierarchy.clear(),this.transform.clear()}},{key:"getHierarchyComponentManager",value:function(){return this.hierarchy}},{key:"getTransformComponentManager",value:function(){return this.transform}},{key:"runTransformUpdateSystem",value:function(){var ge=this;this.transform.forEach(function(he,Q){(Q.isDirty()||Q.isLocalDirty())&&(ge.setMeshAABBDirty(ge.mesh.getComponentByEntity(he)),Q.updateTransform())})}},{key:"runHierarchyUpdateSystem",value:function(){var ge=this;this.hierarchy.forEach(function(he,Q){var W=ge.transform.getComponentByEntity(he),le=ge.transform.getComponentByEntity(Q.parentID);W!==null&&le!==null&&W.updateTransformWithParent(le)})}},{key:"attach",value:function(ge,he,Q){this.hierarchy.contains(ge)&&this.detach(ge),this.hierarchy.create(ge,{parentID:he});var W=this.mesh.getComponentByEntity(he);if(this.setMeshAABBDirty(W),W&&W.children.indexOf(ge)===-1&&W.children.push(ge),this.hierarchy.getCount()>1){for(var le=this.hierarchy.getCount()-1;le>0;--le)for(var Oe=this.hierarchy.getEntity(le),Te=0;Te0&&arguments[0]!==void 0)||arguments[0];z?this.dirtyFlag|=L.DIRTY:this.dirtyFlag&=~L.DIRTY}},{key:"isLocalDirty",value:function(){return this.localDirtyFlag}},{key:"setLocalDirty",value:function(){var z=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];z?(this.localDirtyFlag|=L.DIRTY,this.setDirty(!0)):this.localDirtyFlag&=~L.DIRTY}},{key:"updateTransform",value:function(){this.isLocalDirty()&&this.getLocalTransform(),this.isDirty()&&this.parent===null&&(p.b.copy(this.worldTransform,this.getLocalTransform()),this.setDirty(!1))}},{key:"updateTransformWithParent",value:function(z){p.b.multiply(this.worldTransform,z.worldTransform,this.getLocalTransform())}},{key:"applyTransform",value:function(){this.setDirty(),p.b.getScaling(this.localScale,this.worldTransform),p.b.getTranslation(this.localPosition,this.worldTransform),p.b.getRotation(this.localRotation,this.worldTransform)}},{key:"clearTransform",value:function(){this.setDirty(),this.localPosition=p.e.fromValues(0,0,0),this.localRotation=p.c.fromValues(0,0,0,1),this.localScale=p.e.fromValues(1,1,1)}},{key:"scaleLocal",value:function(z){return this.setLocalDirty(),p.e.multiply(this.localScale,this.localScale,z),this}},{key:"getLocalPosition",value:function(){return this.localPosition}},{key:"getLocalRotation",value:function(){return this.localRotation}},{key:"getLocalScale",value:function(){return this.localScale}},{key:"getLocalTransform",value:function(){return this.localDirtyFlag&&(p.b.fromRotationTranslationScale(this.localTransform,this.localRotation,this.localPosition,this.localScale),this.setLocalDirty(!1)),this.localTransform}},{key:"getWorldTransform",value:function(){return this.isLocalDirty()||this.isDirty()?(this.parent&&this.parent.getWorldTransform(),this.updateTransform(),this.worldTransform):this.worldTransform}},{key:"getPosition",value:function(){return p.b.getTranslation(this.position,this.worldTransform),this.position}},{key:"getRotation",value:function(){return p.b.getRotation(this.rotation,this.worldTransform),this.rotation}},{key:"getScale",value:function(){return p.b.getScaling(this.scaling,this.worldTransform),this.scaling}}]),L}(o(25).a);C.DIRTY=1},function(R,b,o){"use strict";o.d(b,"a",function(){return S});var f,c=o(6),M=o.n(c),_=o(7),x=o.n(_),O=o(5),S=Object(O.injectable)()(f=function(){function g(){M()(this,g),this.config=void 0}return x()(g,[{key:"get",value:function(){return this.config}},{key:"set",value:function(h){this.config=h}}]),g}())||f},function(R,b,o){"use strict";o.d(b,"a",function(){return g});var f,c,M=o(6),_=o.n(M),x=o(7),O=o.n(x),S=o(5);(function(h){h.PANSTART="PANSTART",h.PANEND="PANEND",h.PANMOVE="PANMOVE",h.PINCH="PINCH",h.KEYDOWN="KEYDOWN",h.KEYUP="KEYUP",h.HOVER="HOVER"})(c||(c={}));var g=Object(S.injectable)()(f=function(){function h(){_()(this,h)}return O()(h,[{key:"listen",value:function(y){}},{key:"on",value:function(y,E){}},{key:"connect",value:function(){}},{key:"disconnect",value:function(){}},{key:"destroy",value:function(){}}]),h}())||f},function(R,b,o){"use strict";o.d(b,"a",function(){return ee});var f=o(59),c=o.n(f),M=o(9),_=o.n(M),x=o(14),O=o.n(x),S=o(10),g=o.n(S),h=o(6),y=o.n(h),E=o(7),m=o.n(E),p=o(11),A=o.n(p),C=(o(29),o(5)),N=o(13),P=function te(){y()(this,te),this.index=void 0},L=function te(){y()(this,te),this.name=void 0,this.data=void 0,this.execute=void 0,this.tearDown=void 0},z=function(){function te(){y()(this,te),this.name=void 0,this.refCount=0,this.hasSideEffect=!1,this.devirtualize=[],this.destroy=[],this.reads=[],this.writes=[]}return m()(te,[{key:"read",value:function(U){return this.reads.find(function(X){return X.index===U.index})||this.reads.push(U),U}},{key:"sample",value:function(U){return this.read(U),U}},{key:"write",value:function(U,X){if(this.writes.find(function(ne){return ne.index===X.index}))return X;var B=U.getResourceNode(X);B.resource.version++,B.resource.imported&&(this.hasSideEffect=!0);var J=U.createResourceNode(B.resource);return U.getResourceNode(J).writer=this,this.writes.push(J),J}}]),te}(),H=o(23),re=o.n(H),ae=o(24),ue=o.n(ae),xe=o(18),ye=o.n(xe);function Y(te){var U=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(X){return!1}}();return function(){var X,B=ye()(te);if(U){var J=ye()(this).constructor;X=Reflect.construct(B,arguments,J)}else X=B.apply(this,arguments);return ue()(this,X)}}var Ce,ge,he,Q,W,le=function(te){re()(X,te);var U=Y(X);function X(){var B;y()(this,X);for(var J=arguments.length,ne=new Array(J),ie=0;ie=te.length?{done:!0}:{done:!1,value:te[B++]}},e:function(fe){throw fe},f:J}}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 ne,ie=!0,Z=!1;return{s:function(){X=te[Symbol.iterator]()},n:function(){var fe=X.next();return ie=fe.done,fe},e:function(fe){Z=!0,ne=fe},f:function(){try{ie||X.return==null||X.return()}finally{if(Z)throw ne}}}}function se(te,U){(U==null||U>te.length)&&(U=te.length);for(var X=0,B=new Array(U);X1&&(ue=re[1].trim()),z){case"bool":ue=ue==="true";break;case"float":case"int":ue=Number(ue);break;case"vec2":case"vec3":case"vec4":case"ivec2":case"ivec3":case"ivec4":case"mat2":case"mat3":case"mat4":ue=ue?ue.replace("[","").replace("]","").split(",").reduce(function(xe,ye){return xe.push(Number(ye.trim())),xe},[]):new Array(function(xe){var ye=0;switch(xe){case"vec2":case"ivec2":ye=2;break;case"vec3":case"ivec3":ye=3;break;case"vec4":case"ivec4":case"mat2":ye=4;break;case"mat3":ye=9;break;case"mat4":ye=16}return ye}(z)).fill(0)}return P[ae]=ue,"uniform ".concat(z," ").concat(ae,`; +`)}),uniforms:P}}function E(N,P){var L=Object.keys(N);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(N);P&&(z=z.filter(function(H){return Object.getOwnPropertyDescriptor(N,H).enumerable})),L.push.apply(L,z)}return L}function m(N){for(var P=1;Pp.x*b) ? length(p-vec2(0.0,b)) : length(p-vec2(-d,0.0))-r; -}`})}},{key:"registerModule",value:function(P,L){if(!this.rawContentCache[P]){var z=L.vs,X=z===void 0?"":z,te=L.fs,ue=te===void 0?"":te,le=L.uniforms,xe=y(X),ye=xe.content,W=xe.uniforms,Ie=y(ue),ie=Ie.content,ne=Ie.uniforms;this.rawContentCache[P]={fs:ie,uniforms:m(m(m({},W),ne),le),vs:ye}}}},{key:"destroy",value:function(){this.moduleCache={},this.rawContentCache={}}},{key:"getModule",value:function(P){var L=this;if(this.moduleCache[P])return this.moduleCache[P];var z,X=this.rawContentCache[P].vs||"",te=this.rawContentCache[P].fs||"",ue=this.processModule(X,[],"vs"),le=ue.content,xe=ue.includeList,ye=this.processModule(te,[],"fs"),W=ye.content,Ie=ye.includeList,ie=W,ne=(z=xe.concat(Ie).concat(P),z.filter(function(Z,V,ae){return ae.indexOf(Z)===V})).reduce(function(Z,V){return m(m({},Z),L.rawContentCache[V].uniforms)},{});return p.test(W)||(ie=`#ifdef GL_FRAGMENT_PRECISION_HIGH +}`})}},{key:"registerModule",value:function(P,L){if(!this.rawContentCache[P]){var z=L.vs,H=z===void 0?"":z,re=L.fs,ae=re===void 0?"":re,ue=L.uniforms,xe=y(H),ye=xe.content,Y=xe.uniforms,Ce=y(ae),ge=Ce.content,he=Ce.uniforms;this.rawContentCache[P]={fs:ge,uniforms:m(m(m({},Y),he),ue),vs:ye}}}},{key:"destroy",value:function(){this.moduleCache={},this.rawContentCache={}}},{key:"getModule",value:function(P){var L=this;if(this.moduleCache[P])return this.moduleCache[P];var z,H=this.rawContentCache[P].vs||"",re=this.rawContentCache[P].fs||"",ae=this.processModule(H,[],"vs"),ue=ae.content,xe=ae.includeList,ye=this.processModule(re,[],"fs"),Y=ye.content,Ce=ye.includeList,ge=Y,he=(z=xe.concat(Ce).concat(P),z.filter(function(Q,W,le){return le.indexOf(Q)===W})).reduce(function(Q,W){return m(m({},Q),L.rawContentCache[W].uniforms)},{});return p.test(Y)||(ge=`#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; #else precision mediump float; #endif -`+W),this.moduleCache[P]={fs:ie.trim(),uniforms:ne,vs:le.trim()},this.moduleCache[P]}},{key:"processModule",value:function(P,L,z){var X=this;return{content:P.replace(A,function(te,ue){var le=ue.split(" ")[0].replace(/"/g,"");if(L.indexOf(le)>-1)return"";var xe=X.rawContentCache[le][z];return L.push(le),X.processModule(xe||"",L,z).content}),includeList:L}}}]),N}())||g},function(R,b,o){"use strict";o.d(b,"a",function(){return ye});var f=o(4),c=o.n(f),M=o(6),_=o.n(M),x=o(7),O=o.n(x),S=o(22),g=o.n(S),h=o(23),y=o.n(h),E=o(24),m=o.n(E),p=o(18),A=o.n(p),C=o(2),N=o(25),P=o(41),L=o.n(P),z={};z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Arguments]"]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object Boolean]"]=z["[object DataView]"]=z["[object Date]"]=z["[object Error]"]=z["[object Function]"]=z["[object Map]"]=z["[object Number]"]=z["[object Object]"]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object WeakMap]"]=!1;var X=Object.prototype.toString,te=function(W){return function(Ie){return!!Ie&&L()(Ie)==="object"}(W)&&function(Ie){return typeof Ie=="number"&&Ie>-1&&Ie%1==0&&Ie<=9007199254740991}(W.length)&&!!z[X.call(W)]};function ue(W,Ie){var ie=Object.keys(W);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(W);Ie&&(ne=ne.filter(function(Z){return Object.getOwnPropertyDescriptor(W,Z).enumerable})),ie.push.apply(ie,ne)}return ie}function le(W){for(var Ie=1;Ie0)});return C.length>0?(Object(_.a)(C,function(N){var P=N.getBBox();p.push(P.minX,P.maxX),A.push(P.minY,P.maxY)}),h=Object(c.min)(p),y=Object(c.max)(p),E=Object(c.min)(A),m=Object(c.max)(A)):(h=0,y=0,E=0,m=0),{x:h,y:E,minX:h,minY:E,maxX:y,maxY:m,width:y-h,height:m-E}},g.prototype.getCanvasBBox=function(){var h=1/0,y=-1/0,E=1/0,m=-1/0,p=[],A=[],C=this.getChildren().filter(function(N){return N.get("visible")&&(!N.isGroup()||N.isGroup()&&N.getChildren().length>0)});return C.length>0?(Object(_.a)(C,function(N){var P=N.getCanvasBBox();p.push(P.minX,P.maxX),A.push(P.minY,P.maxY)}),h=Object(c.min)(p),y=Object(c.max)(p),E=Object(c.min)(A),m=Object(c.max)(A)):(h=0,y=0,E=0,m=0),{x:h,y:E,minX:h,minY:E,maxX:y,maxY:m,width:y-h,height:m-E}},g.prototype.getDefaultCfg=function(){var h=S.prototype.getDefaultCfg.call(this);return h.children=[],h},g.prototype.onAttrChange=function(h,y,E){if(S.prototype.onAttrChange.call(this,h,y,E),h==="matrix"){var m=this.getTotalMatrix();this._applyChildrenMarix(m)}},g.prototype.applyMatrix=function(h){var y=this.getTotalMatrix();S.prototype.applyMatrix.call(this,h);var E=this.getTotalMatrix();E!==y&&this._applyChildrenMarix(E)},g.prototype._applyChildrenMarix=function(h){var y=this.getChildren();Object(_.a)(y,function(E){E.applyMatrix(h)})},g.prototype.addShape=function(){for(var h=[],y=0;y=0;A--){var C=h[A];if(Object(_.b)(C)&&(C.isGroup()?p=C.getShape(y,E,m):C.isHit(y,E)&&(p=C)),p)break}return p},g.prototype.add=function(h){var y=this.getCanvas(),E=this.getChildren(),m=this.get("timeline"),p=h.getParent();p&&function(A,C,N){N===void 0&&(N=!0),N?C.destroy():(C.set("parent",null),C.set("canvas",null)),Object(_.j)(A.getChildren(),C)}(p,h,!1),h.set("parent",this),y&&function A(C,N){if(C.set("canvas",N),C.isGroup()){var P=C.get("children");P.length&&P.forEach(function(L){A(L,N)})}}(h,y),m&&function A(C,N){if(C.set("timeline",N),C.isGroup()){var P=C.get("children");P.length&&P.forEach(function(L){A(L,N)})}}(h,m),E.push(h),h.onCanvasChange("add"),this._applyElementMatrix(h)},g.prototype._applyElementMatrix=function(h){var y=this.getTotalMatrix();y&&h.applyMatrix(y)},g.prototype.getChildren=function(){return this.get("children")},g.prototype.sort=function(){var h,y=this.getChildren();Object(_.a)(y,function(E,m){return E._INDEX=m,E}),y.sort((h=function(E,m){return E.get("zIndex")-m.get("zIndex")},function(E,m){var p=h(E,m);return p===0?E._INDEX-m._INDEX:p})),this.onCanvasChange("sort")},g.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var h=this.getChildren(),y=h.length-1;y>=0;y--)h[y].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},g.prototype.destroy=function(){this.get("destroyed")||(this.clear(),S.prototype.destroy.call(this))},g.prototype.getFirst=function(){return this.getChildByIndex(0)},g.prototype.getLast=function(){var h=this.getChildren();return this.getChildByIndex(h.length-1)},g.prototype.getChildByIndex=function(h){return this.getChildren()[h]},g.prototype.getCount=function(){return this.getChildren().length},g.prototype.contain=function(h){return this.getChildren().indexOf(h)>-1},g.prototype.removeChild=function(h,y){y===void 0&&(y=!0),this.contain(h)&&h.remove(y)},g.prototype.findAll=function(h){var y=[],E=this.getChildren();return Object(_.a)(E,function(m){h(m)&&y.push(m),m.isGroup()&&(y=y.concat(m.findAll(h)))}),y},g.prototype.find=function(h){var y=null,E=this.getChildren();return Object(_.a)(E,function(m){if(h(m)?y=m:m.isGroup()&&(y=m.find(h)),y)return!1}),y},g.prototype.findById=function(h){return this.find(function(y){return y.get("id")===h})},g.prototype.findByClassName=function(h){return this.find(function(y){return y.get("className")===h})},g.prototype.findAllByName=function(h){return this.findAll(function(y){return y.get("name")===h})},g}(M.a);b.a=O},function(R,b,o){"use strict";var f=o(1),c=o(0),M=o(17),_=o(19),x=o(38),O=o(116),S=M.a.transform,g=["zIndex","capture","visible","type"],h=["repeat"];function y(A,C){var N={},P=C.attrs;for(var L in A)N[L]=P[L];return N}function E(A,C){var N={},P=C.attr();return Object(c.each)(A,function(L,z){h.indexOf(z)!==-1||Object(c.isEqual)(P[z],L)||(N[z]=L)}),N}function m(A,C){if(C.onFrame)return A;var N=C.startTime,P=C.delay,L=C.duration,z=Object.prototype.hasOwnProperty;return Object(c.each)(A,function(X){N+PX.delay&&Object(c.each)(C.toAttrs,function(te,ue){z.call(X.toAttrs,ue)&&(delete X.toAttrs[ue],delete X.fromAttrs[ue])})}),A}var p=function(A){function C(N){var P=A.call(this,N)||this;P.attrs={};var L=P.getDefaultAttrs();return Object(c.mix)(L,N.attrs),P.attrs=L,P.initAttrs(L),P.initAnimate(),P}return Object(f.__extends)(C,A),C.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},C.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},C.prototype.onCanvasChange=function(N){},C.prototype.initAttrs=function(N){},C.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},C.prototype.isGroup=function(){return!1},C.prototype.getParent=function(){return this.get("parent")},C.prototype.getCanvas=function(){return this.get("canvas")},C.prototype.attr=function(){for(var N,P=[],L=0;L0?z=m(z,Ae):L.addAnimator(this),z.push(Ae),this.set("animations",z),this.set("_pause",{isPaused:!1})}},C.prototype.stopAnimate=function(N){var P=this;N===void 0&&(N=!0);var L=this.get("animations");Object(c.each)(L,function(z){N&&(z.onFrame?P.attr(z.onFrame(1)):P.attr(z.toAttrs)),z.callback&&z.callback()}),this.set("animating",!1),this.set("animations",[])},C.prototype.pauseAnimate=function(){var N=this.get("timeline"),P=this.get("animations"),L=N.getTime();return Object(c.each)(P,function(z){z._paused=!0,z._pauseTime=L,z.pauseCallback&&z.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:L}),this},C.prototype.resumeAnimate=function(){var N=this.get("timeline").getTime(),P=this.get("animations"),L=this.get("_pause").pauseTime;return Object(c.each)(P,function(z){z.startTime=z.startTime+(N-L),z._paused=!1,z._pauseTime=null,z.resumeCallback&&z.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",P),this},C.prototype.emitDelegation=function(N,P){var L,z=this,X=P.propagationPath;this.getEvents(),N==="mouseenter"?L=P.fromShape:N==="mouseleave"&&(L=P.toShape);for(var te=function(xe){var ye=X[xe],W=ye.get("name");if(W){if((ye.isGroup()||ye.isCanvas&&ye.isCanvas())&&L&&Object(_.g)(ye,L))return"break";Object(c.isArray)(W)?Object(c.each)(W,function(Ie){z.emitDelegateEvent(ye,Ie,P)}):ue.emitDelegateEvent(ye,W,P)}},ue=this,le=0;le=0&&L<.5*Math.PI?(C={x:X.minX,y:X.minY},N={x:X.maxX,y:X.maxY}):.5*Math.PI<=L&&LN[ye.id]+V?(N[Z]=N[ye.id]+V,P[Z]=[ye.id]):N[Z]===N[ye.id]+V&&P[Z].push(ye.id)})},X=0;XA){var C=p;p=A,A=C}return p+""+A+""+(c.isUndefined(m)?"\0":m)}function S(h,y,E,m){var p=""+y,A=""+E;if(!h&&p>A){var C=p;p=A,A=C}var N={v:p,w:A};return m&&(N.name=m),N}function g(h,y){return O(h,y.v,y.w,y.name)}M.prototype._nodeCount=0,M.prototype._edgeCount=0,M.prototype.isDirected=function(){return this._isDirected},M.prototype.isMultigraph=function(){return this._isMultigraph},M.prototype.isCompound=function(){return this._isCompound},M.prototype.setGraph=function(h){return this._label=h,this},M.prototype.graph=function(){return this._label},M.prototype.setDefaultNodeLabel=function(h){return c.isFunction(h)||(h=c.constant(h)),this._defaultNodeLabelFn=h,this},M.prototype.nodeCount=function(){return this._nodeCount},M.prototype.nodes=function(){return c.keys(this._nodes)},M.prototype.sources=function(){var h=this;return c.filter(this.nodes(),function(y){return c.isEmpty(h._in[y])})},M.prototype.sinks=function(){var h=this;return c.filter(this.nodes(),function(y){return c.isEmpty(h._out[y])})},M.prototype.setNodes=function(h,y){var E=arguments,m=this;return c.each(h,function(p){E.length>1?m.setNode(p,y):m.setNode(p)}),this},M.prototype.setNode=function(h,y){return c.has(this._nodes,h)?(arguments.length>1&&(this._nodes[h]=y),this):(this._nodes[h]=arguments.length>1?y:this._defaultNodeLabelFn(h),this._isCompound&&(this._parent[h]="\0",this._children[h]={},this._children["\0"][h]=!0),this._in[h]={},this._preds[h]={},this._out[h]={},this._sucs[h]={},++this._nodeCount,this)},M.prototype.node=function(h){return this._nodes[h]},M.prototype.hasNode=function(h){return c.has(this._nodes,h)},M.prototype.removeNode=function(h){var y=this;if(c.has(this._nodes,h)){var E=function(m){y.removeEdge(y._edgeObjs[m])};delete this._nodes[h],this._isCompound&&(this._removeFromParentsChildList(h),delete this._parent[h],c.each(this.children(h),function(m){y.setParent(m)}),delete this._children[h]),c.each(c.keys(this._in[h]),E),delete this._in[h],delete this._preds[h],c.each(c.keys(this._out[h]),E),delete this._out[h],delete this._sucs[h],--this._nodeCount}return this},M.prototype.setParent=function(h,y){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(c.isUndefined(y))y="\0";else{for(var E=y+="";!c.isUndefined(E);E=this.parent(E))if(E===h)throw new Error("Setting "+y+" as parent of "+h+" would create a cycle");this.setNode(y)}return this.setNode(h),this._removeFromParentsChildList(h),this._parent[h]=y,this._children[y][h]=!0,this},M.prototype._removeFromParentsChildList=function(h){delete this._children[this._parent[h]][h]},M.prototype.parent=function(h){if(this._isCompound){var y=this._parent[h];if(y!=="\0")return y}},M.prototype.children=function(h){if(c.isUndefined(h)&&(h="\0"),this._isCompound){var y=this._children[h];if(y)return c.keys(y)}else{if(h==="\0")return this.nodes();if(this.hasNode(h))return[]}},M.prototype.predecessors=function(h){var y=this._preds[h];if(y)return c.keys(y)},M.prototype.successors=function(h){var y=this._sucs[h];if(y)return c.keys(y)},M.prototype.neighbors=function(h){var y=this.predecessors(h);if(y)return c.union(y,this.successors(h))},M.prototype.isLeaf=function(h){return(this.isDirected()?this.successors(h):this.neighbors(h)).length===0},M.prototype.filterNodes=function(h){var y=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});y.setGraph(this.graph());var E=this;c.each(this._nodes,function(p,A){h(A)&&y.setNode(A,p)}),c.each(this._edgeObjs,function(p){y.hasNode(p.v)&&y.hasNode(p.w)&&y.setEdge(p,E.edge(p))});var m={};return this._isCompound&&c.each(y.nodes(),function(p){y.setParent(p,function A(C){var N=E.parent(C);return N===void 0||y.hasNode(N)?(m[C]=N,N):N in m?m[N]:A(N)}(p))}),y},M.prototype.setDefaultEdgeLabel=function(h){return c.isFunction(h)||(h=c.constant(h)),this._defaultEdgeLabelFn=h,this},M.prototype.edgeCount=function(){return this._edgeCount},M.prototype.edges=function(){return c.values(this._edgeObjs)},M.prototype.setPath=function(h,y){var E=this,m=arguments;return c.reduce(h,function(p,A){return m.length>1?E.setEdge(p,A,y):E.setEdge(p,A),A}),this},M.prototype.setEdge=function(){var h,y,E,m,p=!1,A=arguments[0];f(A)==="object"&&A!==null&&"v"in A?(h=A.v,y=A.w,E=A.name,arguments.length===2&&(m=arguments[1],p=!0)):(h=A,y=arguments[1],E=arguments[3],arguments.length>2&&(m=arguments[2],p=!0)),h=""+h,y=""+y,c.isUndefined(E)||(E=""+E);var C=O(this._isDirected,h,y,E);if(c.has(this._edgeLabels,C))return p&&(this._edgeLabels[C]=m),this;if(!c.isUndefined(E)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(h),this.setNode(y),this._edgeLabels[C]=p?m:this._defaultEdgeLabelFn(h,y,E);var N=S(this._isDirected,h,y,E);return h=N.v,y=N.w,Object.freeze(N),this._edgeObjs[C]=N,_(this._preds[y],h),_(this._sucs[h],y),this._in[y][C]=N,this._out[h][C]=N,this._edgeCount++,this},M.prototype.edge=function(h,y,E){var m=arguments.length===1?g(this._isDirected,arguments[0]):O(this._isDirected,h,y,E);return this._edgeLabels[m]},M.prototype.hasEdge=function(h,y,E){var m=arguments.length===1?g(this._isDirected,arguments[0]):O(this._isDirected,h,y,E);return c.has(this._edgeLabels,m)},M.prototype.removeEdge=function(h,y,E){var m=arguments.length===1?g(this._isDirected,arguments[0]):O(this._isDirected,h,y,E),p=this._edgeObjs[m];return p&&(h=p.v,y=p.w,delete this._edgeLabels[m],delete this._edgeObjs[m],x(this._preds[y],h),x(this._sucs[h],y),delete this._in[y][m],delete this._out[h][m],this._edgeCount--),this},M.prototype.inEdges=function(h,y){var E=this._in[h];if(E){var m=c.values(E);return y?c.filter(m,function(p){return p.v===y}):m}},M.prototype.outEdges=function(h,y){var E=this._out[h];if(E){var m=c.values(E);return y?c.filter(m,function(p){return p.w===y}):m}},M.prototype.nodeEdges=function(h,y){var E=this.inEdges(h,y);if(E)return E.concat(this.outEdges(h,y))}},function(R,b,o){var f=o(62)(o(47),"Map");R.exports=f},function(R,b,o){var f=o(324),c=o(331),M=o(333),_=o(334),x=o(335);function O(S){var g=-1,h=S==null?0:S.length;for(this.clear();++g-1&&o%1==0&&o<=9007199254740991}},function(R,b,o){(function(f){function c(g){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(g)}var M=o(175),_=c(b)=="object"&&b&&!b.nodeType&&b,x=_&&c(f)=="object"&&f&&!f.nodeType&&f,O=x&&x.exports===_&&M.process,S=function(){try{var g=x&&x.require&&x.require("util").types;return g||O&&O.binding&&O.binding("util")}catch(h){}}();f.exports=S}).call(this,o(87)(R))},function(R,b,o){var f=o(105),c=o(341),M=Object.prototype.hasOwnProperty;R.exports=function(_){if(!f(_))return c(_);var x=[];for(var O in Object(_))M.call(_,O)&&O!="constructor"&&x.push(O);return x}},function(R,b,o){var f=o(183),c=o(184),M=Object.prototype.propertyIsEnumerable,_=Object.getOwnPropertySymbols,x=_?function(O){return O==null?[]:(O=Object(O),f(_(O),function(S){return M.call(O,S)}))}:c;R.exports=x},function(R,b){R.exports=function(o,f){for(var c=-1,M=f.length,_=o.length;++c0&&O(E)?x>1?M(E,x-1,O,S,g):f(g,E):S||(g[g.length]=E)}return g}},function(R,b,o){var f=o(74);R.exports=function(c,M,_){for(var x=-1,O=c.length;++x1)for(var N=1;N=S&&h.minY<=g&&h.maxY>=g},O.prototype.afterAttrsChange=function(S){x.prototype.afterAttrsChange.call(this,S),this.clearCacheBBox()},O.prototype.getBBox=function(){var S=this.cfg.bbox;return S||(S=this.calculateBBox(),this.set("bbox",S)),S},O.prototype.getCanvasBBox=function(){var S=this.cfg.canvasBBox;return S||(S=this.calculateCanvasBBox(),this.set("canvasBBox",S)),S},O.prototype.applyMatrix=function(S){x.prototype.applyMatrix.call(this,S),this.set("canvasBBox",null)},O.prototype.calculateCanvasBBox=function(){var S=this.getBBox(),g=this.getTotalMatrix(),h=S.minX,y=S.minY,E=S.maxX,m=S.maxY;if(g){var p=Object(M.c)(g,[S.minX,S.minY]),A=Object(M.c)(g,[S.maxX,S.minY]),C=Object(M.c)(g,[S.minX,S.maxY]),N=Object(M.c)(g,[S.maxX,S.maxY]);h=Math.min(p[0],A[0],C[0],N[0]),E=Math.max(p[0],A[0],C[0],N[0]),y=Math.min(p[1],A[1],C[1],N[1]),m=Math.max(p[1],A[1],C[1],N[1])}var P=this.attrs;if(P.shadowColor){var L=P.shadowBlur,z=L===void 0?0:L,X=P.shadowOffsetX,te=X===void 0?0:X,ue=P.shadowOffsetY,le=ue===void 0?0:ue,xe=h-z+te,ye=E+z+te,W=y-z+le,Ie=m+z+le;h=Math.min(h,xe),E=Math.max(E,ye),y=Math.min(y,W),m=Math.max(m,Ie)}return{x:h,y,minX:h,minY:y,maxX:E,maxY:m,width:E-h,height:m-y}},O.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},O.prototype.isClipShape=function(){return this.get("isClipShape")},O.prototype.isInShape=function(S,g){return!1},O.prototype.isOnlyHitBox=function(){return!1},O.prototype.isHit=function(S,g){var h=this.get("startArrowShape"),y=this.get("endArrowShape"),E=[S,g,1],m=(E=this.invertFromMatrix(E))[0],p=E[1],A=this._isInBBox(m,p);return this.isOnlyHitBox()?A:!!(A&&!this.isClipped(m,p)&&(this.isInShape(m,p)||h&&h.isHit(m,p)||y&&y.isHit(m,p)))},O}(c.a);b.a=_},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(_,x){return x?M(_):c(_)},b.detectStrongConnectComponents=b.detectConnectedComponents=void 0;var f=o(45),c=function(_){for(var x=_.nodes,O=x===void 0?[]:x,S=_.edges,g=S===void 0?[]:S,h=[],y={},E=[],m=function N(P){E.push(P),y[P.id]=!0;for(var L=(0,f.getNeighbors)(P.id,g),z=function(te){var ue=L[te];if(!y[ue]){var le=O.filter(function(xe){return xe.id===ue});le.length>0&&N(le[0])}},X=0;X0;)C.push(E.pop());h.push(C)}}return h};b.detectConnectedComponents=c;var M=function(_){for(var x=_.nodes,O=x===void 0?[]:x,S=_.edges,g=S===void 0?[]:S,h=[],y={},E={},m={},p=[],A=0,C=function z(X){E[X.id]=A,m[X.id]=A,A+=1,h.push(X),y[X.id]=!0;for(var te=(0,f.getNeighbors)(X.id,g,"target").filter(function(W){return O.map(function(Ie){return Ie.id}).indexOf(W)>-1}),ue=function(W){var Ie=te[W];if(E[Ie]||E[Ie]===0)y[Ie]&&(m[X.id]=Math.min(m[X.id],E[Ie]));else{var ie=O.filter(function(ne){return ne.id===Ie});ie.length>0&&z(ie[0]),m[X.id]=Math.min(m[X.id],m[Ie])}},le=0;le0;){var ye=h.pop();if(y[ye.id]=!1,xe.push(ye),ye===X)break}xe.length>0&&p.push(xe)}},N=0,P=O;NS[h][E]+S[E][y]&&(S[h][y]=S[h][E]+S[E][y]);return S};b.default=M},function(R,b,o){var f=o(303),c={};for(var M in f)f.hasOwnProperty(M)&&(c[f[M]]=M);var _=R.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var x in _)if(_.hasOwnProperty(x)){if(!("channels"in _[x]))throw new Error("missing channels property: "+x);if(!("labels"in _[x]))throw new Error("missing channel labels property: "+x);if(_[x].labels.length!==_[x].channels)throw new Error("channel and label counts mismatch: "+x);var O=_[x].channels,S=_[x].labels;delete _[x].channels,delete _[x].labels,Object.defineProperty(_[x],"channels",{value:O}),Object.defineProperty(_[x],"labels",{value:S})}_.rgb.hsl=function(g){var h,y,E=g[0]/255,m=g[1]/255,p=g[2]/255,A=Math.min(E,m,p),C=Math.max(E,m,p),N=C-A;return C===A?h=0:E===C?h=(m-p)/N:m===C?h=2+(p-E)/N:p===C&&(h=4+(E-m)/N),(h=Math.min(60*h,360))<0&&(h+=360),y=(A+C)/2,[h,100*(C===A?0:y<=.5?N/(C+A):N/(2-C-A)),100*y]},_.rgb.hsv=function(g){var h,y,E,m,p,A=g[0]/255,C=g[1]/255,N=g[2]/255,P=Math.max(A,C,N),L=P-Math.min(A,C,N),z=function(X){return(P-X)/6/L+.5};return L===0?m=p=0:(p=L/P,h=z(A),y=z(C),E=z(N),A===P?m=E-y:C===P?m=1/3+h-E:N===P&&(m=2/3+y-h),m<0?m+=1:m>1&&(m-=1)),[360*m,100*p,100*P]},_.rgb.hwb=function(g){var h=g[0],y=g[1],E=g[2];return[_.rgb.hsl(g)[0],100*(1/255*Math.min(h,Math.min(y,E))),100*(E=1-1/255*Math.max(h,Math.max(y,E)))]},_.rgb.cmyk=function(g){var h,y=g[0]/255,E=g[1]/255,m=g[2]/255;return[100*((1-y-(h=Math.min(1-y,1-E,1-m)))/(1-h)||0),100*((1-E-h)/(1-h)||0),100*((1-m-h)/(1-h)||0),100*h]},_.rgb.keyword=function(g){var h=c[g];if(h)return h;var y,E,m,p=1/0;for(var A in f)if(f.hasOwnProperty(A)){var C=f[A],N=(E=g,m=C,Math.pow(E[0]-m[0],2)+Math.pow(E[1]-m[1],2)+Math.pow(E[2]-m[2],2));N.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.3576*(y=y>.04045?Math.pow((y+.055)/1.055,2.4):y/12.92)+.1805*(E=E>.04045?Math.pow((E+.055)/1.055,2.4):E/12.92)),100*(.2126*h+.7152*y+.0722*E),100*(.0193*h+.1192*y+.9505*E)]},_.rgb.lab=function(g){var h=_.rgb.xyz(g),y=h[0],E=h[1],m=h[2];return E/=100,m/=108.883,y=(y/=95.047)>.008856?Math.pow(y,1/3):7.787*y+16/116,[116*(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116)-16,500*(y-E),200*(E-(m=m>.008856?Math.pow(m,1/3):7.787*m+16/116))]},_.hsl.rgb=function(g){var h,y,E,m,p,A=g[0]/360,C=g[1]/100,N=g[2]/100;if(C===0)return[p=255*N,p,p];h=2*N-(y=N<.5?N*(1+C):N+C-N*C),m=[0,0,0];for(var P=0;P<3;P++)(E=A+1/3*-(P-1))<0&&E++,E>1&&E--,p=6*E<1?h+6*(y-h)*E:2*E<1?y:3*E<2?h+(y-h)*(2/3-E)*6:h,m[P]=255*p;return m},_.hsl.hsv=function(g){var h=g[0],y=g[1]/100,E=g[2]/100,m=y,p=Math.max(E,.01);return y*=(E*=2)<=1?E:2-E,m*=p<=1?p:2-p,[h,100*(E===0?2*m/(p+m):2*y/(E+y)),100*((E+y)/2)]},_.hsv.rgb=function(g){var h=g[0]/60,y=g[1]/100,E=g[2]/100,m=Math.floor(h)%6,p=h-Math.floor(h),A=255*E*(1-y),C=255*E*(1-y*p),N=255*E*(1-y*(1-p));switch(E*=255,m){case 0:return[E,N,A];case 1:return[C,E,A];case 2:return[A,E,N];case 3:return[A,C,E];case 4:return[N,A,E];case 5:return[E,A,C]}},_.hsv.hsl=function(g){var h,y,E,m=g[0],p=g[1]/100,A=g[2]/100,C=Math.max(A,.01);return E=(2-p)*A,y=p*C,[m,100*(y=(y/=(h=(2-p)*C)<=1?h:2-h)||0),100*(E/=2)]},_.hwb.rgb=function(g){var h,y,E,m,p,A,C,N=g[0]/360,P=g[1]/100,L=g[2]/100,z=P+L;switch(z>1&&(P/=z,L/=z),E=6*N-(h=Math.floor(6*N)),(1&h)!=0&&(E=1-E),m=P+E*((y=1-L)-P),h){default:case 6:case 0:p=y,A=m,C=P;break;case 1:p=m,A=y,C=P;break;case 2:p=P,A=y,C=m;break;case 3:p=P,A=m,C=y;break;case 4:p=m,A=P,C=y;break;case 5:p=y,A=P,C=m}return[255*p,255*A,255*C]},_.cmyk.rgb=function(g){var h=g[0]/100,y=g[1]/100,E=g[2]/100,m=g[3]/100;return[255*(1-Math.min(1,h*(1-m)+m)),255*(1-Math.min(1,y*(1-m)+m)),255*(1-Math.min(1,E*(1-m)+m))]},_.xyz.rgb=function(g){var h,y,E,m=g[0]/100,p=g[1]/100,A=g[2]/100;return y=-.9689*m+1.8758*p+.0415*A,E=.0557*m+-.204*p+1.057*A,h=(h=3.2406*m+-1.5372*p+-.4986*A)>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,y=y>.0031308?1.055*Math.pow(y,1/2.4)-.055:12.92*y,E=E>.0031308?1.055*Math.pow(E,1/2.4)-.055:12.92*E,[255*(h=Math.min(Math.max(0,h),1)),255*(y=Math.min(Math.max(0,y),1)),255*(E=Math.min(Math.max(0,E),1))]},_.xyz.lab=function(g){var h=g[0],y=g[1],E=g[2];return y/=100,E/=108.883,h=(h/=95.047)>.008856?Math.pow(h,1/3):7.787*h+16/116,[116*(y=y>.008856?Math.pow(y,1/3):7.787*y+16/116)-16,500*(h-y),200*(y-(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116))]},_.lab.xyz=function(g){var h,y,E,m=g[0];h=g[1]/500+(y=(m+16)/116),E=y-g[2]/200;var p=Math.pow(y,3),A=Math.pow(h,3),C=Math.pow(E,3);return y=p>.008856?p:(y-16/116)/7.787,h=A>.008856?A:(h-16/116)/7.787,E=C>.008856?C:(E-16/116)/7.787,[h*=95.047,y*=100,E*=108.883]},_.lab.lch=function(g){var h,y=g[0],E=g[1],m=g[2];return(h=360*Math.atan2(m,E)/2/Math.PI)<0&&(h+=360),[y,Math.sqrt(E*E+m*m),h]},_.lch.lab=function(g){var h,y=g[0],E=g[1];return h=g[2]/360*2*Math.PI,[y,E*Math.cos(h),E*Math.sin(h)]},_.rgb.ansi16=function(g){var h=g[0],y=g[1],E=g[2],m=1 in arguments?arguments[1]:_.rgb.hsv(g)[2];if((m=Math.round(m/50))===0)return 30;var p=30+(Math.round(E/255)<<2|Math.round(y/255)<<1|Math.round(h/255));return m===2&&(p+=60),p},_.hsv.ansi16=function(g){return _.rgb.ansi16(_.hsv.rgb(g),g[2])},_.rgb.ansi256=function(g){var h=g[0],y=g[1],E=g[2];return h===y&&y===E?h<8?16:h>248?231:Math.round((h-8)/247*24)+232:16+36*Math.round(h/255*5)+6*Math.round(y/255*5)+Math.round(E/255*5)},_.ansi16.rgb=function(g){var h=g%10;if(h===0||h===7)return g>50&&(h+=3.5),[h=h/10.5*255,h,h];var y=.5*(1+~~(g>50));return[(1&h)*y*255,(h>>1&1)*y*255,(h>>2&1)*y*255]},_.ansi256.rgb=function(g){if(g>=232){var h=10*(g-232)+8;return[h,h,h]}var y;return g-=16,[Math.floor(g/36)/5*255,Math.floor((y=g%36)/6)/5*255,y%6/5*255]},_.rgb.hex=function(g){var h=(((255&Math.round(g[0]))<<16)+((255&Math.round(g[1]))<<8)+(255&Math.round(g[2]))).toString(16).toUpperCase();return"000000".substring(h.length)+h},_.hex.rgb=function(g){var h=g.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!h)return[0,0,0];var y=h[0];h[0].length===3&&(y=y.split("").map(function(m){return m+m}).join(""));var E=parseInt(y,16);return[E>>16&255,E>>8&255,255&E]},_.rgb.hcg=function(g){var h,y=g[0]/255,E=g[1]/255,m=g[2]/255,p=Math.max(Math.max(y,E),m),A=Math.min(Math.min(y,E),m),C=p-A;return h=C<=0?0:p===y?(E-m)/C%6:p===E?2+(m-y)/C:4+(y-E)/C+4,h/=6,[360*(h%=1),100*C,100*(C<1?A/(1-C):0)]},_.hsl.hcg=function(g){var h=g[1]/100,y=g[2]/100,E=1,m=0;return(E=y<.5?2*h*y:2*h*(1-y))<1&&(m=(y-.5*E)/(1-E)),[g[0],100*E,100*m]},_.hsv.hcg=function(g){var h=g[1]/100,y=g[2]/100,E=h*y,m=0;return E<1&&(m=(y-E)/(1-E)),[g[0],100*E,100*m]},_.hcg.rgb=function(g){var h=g[0]/360,y=g[1]/100,E=g[2]/100;if(y===0)return[255*E,255*E,255*E];var m,p=[0,0,0],A=h%1*6,C=A%1,N=1-C;switch(Math.floor(A)){case 0:p[0]=1,p[1]=C,p[2]=0;break;case 1:p[0]=N,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=C;break;case 3:p[0]=0,p[1]=N,p[2]=1;break;case 4:p[0]=C,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=N}return m=(1-y)*E,[255*(y*p[0]+m),255*(y*p[1]+m),255*(y*p[2]+m)]},_.hcg.hsv=function(g){var h=g[1]/100,y=h+g[2]/100*(1-h),E=0;return y>0&&(E=h/y),[g[0],100*E,100*y]},_.hcg.hsl=function(g){var h=g[1]/100,y=g[2]/100*(1-h)+.5*h,E=0;return y>0&&y<.5?E=h/(2*y):y>=.5&&y<1&&(E=h/(2*(1-y))),[g[0],100*E,100*y]},_.hcg.hwb=function(g){var h=g[1]/100,y=h+g[2]/100*(1-h);return[g[0],100*(y-h),100*(1-y)]},_.hwb.hcg=function(g){var h=g[1]/100,y=1-g[2]/100,E=y-h,m=0;return E<1&&(m=(y-E)/(1-E)),[g[0],100*E,100*m]},_.apple.rgb=function(g){return[g[0]/65535*255,g[1]/65535*255,g[2]/65535*255]},_.rgb.apple=function(g){return[g[0]/255*65535,g[1]/255*65535,g[2]/255*65535]},_.gray.rgb=function(g){return[g[0]/100*255,g[0]/100*255,g[0]/100*255]},_.gray.hsl=_.gray.hsv=function(g){return[0,0,g[0]]},_.gray.hwb=function(g){return[0,100,g[0]]},_.gray.cmyk=function(g){return[0,0,0,g[0]]},_.gray.lab=function(g){return[g[0],0,0]},_.gray.hex=function(g){var h=255&Math.round(g[0]/100*255),y=((h<<16)+(h<<8)+h).toString(16).toUpperCase();return"000000".substring(y.length)+y},_.rgb.gray=function(g){return[(g[0]+g[1]+g[2])/3/255*100]}},function(R,b,o){var f=o(96),c=o(146),M=o(101),_=o(336),x=o(342),O=o(181),S=o(182),g=o(345),h=o(346),y=o(186),E=o(347),m=o(73),p=o(351),A=o(352),C=o(191),N=o(31),P=o(72),L=o(356),z=o(43),X=o(358),te=o(57),ue=o(64),le={};le["[object Arguments]"]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object DataView]"]=le["[object Boolean]"]=le["[object Date]"]=le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Map]"]=le["[object Number]"]=le["[object Object]"]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object Symbol]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Error]"]=le["[object Function]"]=le["[object WeakMap]"]=!1,R.exports=function xe(ye,W,Ie,ie,ne,Z){var V,ae=1&W,we=2&W,Ae=4&W;if(Ie&&(V=ne?Ie(ye,ie,ne,Z):Ie(ye)),V!==void 0)return V;if(!z(ye))return ye;var se=N(ye);if(se){if(V=p(ye),!ae)return S(ye,V)}else{var ee=m(ye),J=ee=="[object Function]"||ee=="[object GeneratorFunction]";if(P(ye))return O(ye,ae);if(ee=="[object Object]"||ee=="[object Arguments]"||J&&!ne){if(V=we||J?{}:C(ye),!ae)return we?h(ye,x(V,ye)):g(ye,_(V,ye))}else{if(!le[ee])return ne?ye:{};V=A(ye,ee,ae)}}Z||(Z=new f);var Y=Z.get(ye);if(Y)return Y;Z.set(ye,V),X(ye)?ye.forEach(function(G){V.add(xe(G,W,Ie,G,ye,Z))}):L(ye)&&ye.forEach(function(G,re){V.set(re,xe(G,W,Ie,re,ye,Z))});var q=se?void 0:(Ae?we?E:y:we?ue:te)(ye);return c(q||ye,function(G,re){q&&(G=ye[re=G]),M(V,re,xe(G,W,Ie,re,ye,Z))}),V}},function(R,b,o){(function(f){function c(_){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(_)}var M=(f===void 0?"undefined":c(f))=="object"&&f&&f.Object===Object&&f;R.exports=M}).call(this,o(176))},function(R,b){function o(c){return(o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M})(c)}var f;f=function(){return this}();try{f=f||new Function("return this")()}catch(c){(typeof window=="undefined"?"undefined":o(window))==="object"&&(f=window)}R.exports=f},function(R,b){var o=Function.prototype.toString;R.exports=function(f){if(f!=null){try{return o.call(f)}catch(c){}try{return f+""}catch(c){}}return""}},function(R,b,o){var f=o(62),c=function(){try{var M=f(Object,"defineProperty");return M({},"",{}),M}catch(_){}}();R.exports=c},function(R,b,o){var f=o(337),c=o(86),M=o(31),_=o(72),x=o(103),O=o(88),S=Object.prototype.hasOwnProperty;R.exports=function(g,h){var y=M(g),E=!y&&c(g),m=!y&&!E&&_(g),p=!y&&!E&&!m&&O(g),A=y||E||m||p,C=A?f(g.length,String):[],N=C.length;for(var P in g)!h&&!S.call(g,P)||A&&(P=="length"||m&&(P=="offset"||P=="parent")||p&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||x(P,N))||C.push(P);return C}},function(R,b){R.exports=function(o,f){return function(c){return o(f(c))}}},function(R,b,o){(function(f){function c(g){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(g)}var M=o(47),_=c(b)=="object"&&b&&!b.nodeType&&b,x=_&&c(f)=="object"&&f&&!f.nodeType&&f,O=x&&x.exports===_?M.Buffer:void 0,S=O?O.allocUnsafe:void 0;f.exports=function(g,h){if(h)return g.slice();var y=g.length,E=S?S(y):new g.constructor(y);return g.copy(E),E}}).call(this,o(87)(R))},function(R,b){R.exports=function(o,f){var c=-1,M=o.length;for(f||(f=Array(M));++cE))return!1;var p=h.get(_),A=h.get(x);if(p&&A)return p==x&&A==_;var C=-1,N=!0,P=2&O?new f:void 0;for(h.set(_,x),h.set(x,_);++C0&&(m=C.removeMin(),(p=A[m]).distance!==Number.POSITIVE_INFINITY);)E(m).forEach(N);return A}(_,String(x),O||M,S||function(g){return _.outEdges(g)})};var M=f.constant(1)},function(R,b,o){var f=o(42);function c(){this._arr=[],this._keyIndices={}}R.exports=c,c.prototype.size=function(){return this._arr.length},c.prototype.keys=function(){return this._arr.map(function(M){return M.key})},c.prototype.has=function(M){return f.has(this._keyIndices,M)},c.prototype.priority=function(M){var _=this._keyIndices[M];if(_!==void 0)return this._arr[_].priority},c.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},c.prototype.add=function(M,_){var x=this._keyIndices;if(M=String(M),!f.has(x,M)){var O=this._arr,S=O.length;return x[M]=S,O.push({key:M,priority:_}),this._decrease(S),!0}return!1},c.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var M=this._arr.pop();return delete this._keyIndices[M.key],this._heapify(0),M.key},c.prototype.decrease=function(M,_){var x=this._keyIndices[M];if(_>this._arr[x].priority)throw new Error("New priority is greater than current priority. Key: "+M+" Old: "+this._arr[x].priority+" New: "+_);this._arr[x].priority=_,this._decrease(x)},c.prototype._heapify=function(M){var _=this._arr,x=2*M,O=x+1,S=M;x<_.length&&(S=_[x].priority<_[S].priority?x:S,O<_.length&&(S=_[O].priority<_[S].priority?O:S),S!==M&&(this._swap(M,S),this._heapify(S)))},c.prototype._decrease=function(M){for(var _,x=this._arr,O=x[M].priority;M!==0&&!(x[_=M>>1].priority=0&&Re=this._keys.length?(this._index=-1,this._keys=$,this._values=$):this._index++,{value:Oe,done:!1}}return{value:void 0,done:!0}},Ce.prototype.throw=function(Re){throw this._index>=0&&(this._index=-1,this._keys=$,this._values=$),Re},Ce.prototype.return=function(Re){return this._index>=0&&(this._index=-1,this._keys=$,this._values=$),{value:Re,done:!0}},Ce}();return function(){function Ce(){this._keys=[],this._values=[],this._cacheKey=ce,this._cacheIndex=-2}return Object.defineProperty(Ce.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Ce.prototype.has=function(Re){return this._find(Re,!1)>=0},Ce.prototype.get=function(Re){var Oe=this._find(Re,!1);return Oe>=0?this._values[Oe]:void 0},Ce.prototype.set=function(Re,Oe){var Le=this._find(Re,!0);return this._values[Le]=Oe,this},Ce.prototype.delete=function(Re){var Oe=this._find(Re,!1);if(Oe>=0){for(var Le=this._keys.length,Ke=Oe+1;Ke=0;--Ce){var Re=(0,Pe[Ce])(ke);if(!Z(Re)&&!V(Re)){if(!J(Re))throw new TypeError;ke=Re}}return ke}(ce,$)}if(!se(ce))throw new TypeError;if(!ae($))throw new TypeError;if(!ae(Se)&&!Z(Se)&&!V(Se))throw new TypeError;return V(Se)&&(Se=void 0),function(Pe,ke,Ce,Re){for(var Oe=Pe.length-1;Oe>=0;--Oe){var Le=(0,Pe[Oe])(ke,Ce,Re);if(!Z(Le)&&!V(Le)){if(!ae(Le))throw new TypeError;Re=Le}}return Re}(ce,$,de=Ae(de),Se)}),y("metadata",function(ce,$){return function(de,Se){if(!ae(de))throw new TypeError;if(!Z(Se)&&!function(Pe){switch(ne(Pe)){case 3:case 4:return!0;default:return!1}}(Se))throw new TypeError;Ie(ce,$,de,Se)}}),y("defineMetadata",function(ce,$,de,Se){if(!ae(de))throw new TypeError;return Z(Se)||(Se=Ae(Se)),Ie(ce,$,de,Se)}),y("hasMetadata",function(ce,$,de){if(!ae($))throw new TypeError;return Z(de)||(de=Ae(de)),function Se(Pe,ke,Ce){if(ye(Pe,ke,Ce))return!0;var Re=re(ke);return!V(Re)&&Se(Pe,Re,Ce)}(ce,$,de)}),y("hasOwnMetadata",function(ce,$,de){if(!ae($))throw new TypeError;return Z(de)||(de=Ae(de)),ye(ce,$,de)}),y("getMetadata",function(ce,$,de){if(!ae($))throw new TypeError;return Z(de)||(de=Ae(de)),function Se(Pe,ke,Ce){if(ye(Pe,ke,Ce))return W(Pe,ke,Ce);var Re=re(ke);return V(Re)?void 0:Se(Pe,Re,Ce)}(ce,$,de)}),y("getOwnMetadata",function(ce,$,de){if(!ae($))throw new TypeError;return Z(de)||(de=Ae(de)),W(ce,$,de)}),y("getMetadataKeys",function(ce,$){if(!ae(ce))throw new TypeError;return Z($)||($=Ae($)),function de(Se,Pe){var ke=ie(Se,Pe),Ce=re(Se);if(Ce===null)return ke;var Re=de(Ce,Pe);if(Re.length<=0)return ke;if(ke.length<=0)return Re;for(var Oe=new ue,Le=[],Ke=0,et=ke;Ke0)return!0;var Pe=le.get($);return Pe.delete(de),Pe.size>0||le.delete($),!0})}(g)})()})(_||(_={}))}).call(this,o(166),o(176))},function(R,b,o){var f=o(230);R.exports=function(c,M){if(c){if(typeof c=="string")return f(c,M);var _=Object.prototype.toString.call(c).slice(8,-1);return _==="Object"&&c.constructor&&(_=c.constructor.name),_==="Map"||_==="Set"?Array.from(c):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?f(c,M):void 0}},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){R.exports=function(o,f){(f==null||f>o.length)&&(f=o.length);for(var c=0,M=new Array(f);cS[0]&&(S[0]=h),y>S[1]&&(S[1]=y),E>S[2]&&(S[2]=E)}return x.setMinMax(O,S),x}},function(R,b,o){"use strict";o.d(b,"a",function(){return f});var f=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent)},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b,o){"use strict";var f;(function(c){c.Normal="normal",c.PostProcessing="post-processing"})(f||(f={}))},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){R.exports=1e-6},function(R,b){R.exports=function(){var o=new Float32Array(2);return o[0]=0,o[1]=0,o}},function(R,b){R.exports=function(o,f,c){return o[0]=f,o[1]=c,o}},function(R,b){R.exports=function(o,f,c){return o[0]=f[0]+c[0],o[1]=f[1]+c[1],o}},function(R,b){R.exports=function(o,f,c){return o[0]=f[0]*c[0],o[1]=f[1]*c[1],o}},function(R,b){R.exports=function(o,f,c){return o[0]=f[0]/c[0],o[1]=f[1]/c[1],o}},function(R,b){R.exports=function(o,f){var c=f[0]-o[0],M=f[1]-o[1];return Math.sqrt(c*c+M*M)}},function(R,b){R.exports=function(o,f){var c=f[0]-o[0],M=f[1]-o[1];return c*c+M*M}},function(R,b){R.exports=function(o){var f=o[0],c=o[1];return Math.sqrt(f*f+c*c)}},function(R,b){R.exports=function(o){var f=o[0],c=o[1];return f*f+c*c}},function(R,b){R.exports=function(o,f){var c=f[0],M=f[1],_=c*c+M*M;return _>0&&(_=1/Math.sqrt(_),o[0]=f[0]*_,o[1]=f[1]*_),o}},function(R,b){R.exports=function(o,f){return o[0]*f[0]+o[1]*f[1]}},function(R,b,o){"use strict";var f={};o.r(f),o.d(f,"easeLinear",function(){return ye}),o.d(f,"easeQuad",function(){return ie}),o.d(f,"easeQuadIn",function(){return W}),o.d(f,"easeQuadOut",function(){return Ie}),o.d(f,"easeQuadInOut",function(){return ie}),o.d(f,"easeCubic",function(){return V}),o.d(f,"easeCubicIn",function(){return ne}),o.d(f,"easeCubicOut",function(){return Z}),o.d(f,"easeCubicInOut",function(){return V}),o.d(f,"easePoly",function(){return Ae}),o.d(f,"easePolyIn",function(){return ae}),o.d(f,"easePolyOut",function(){return we}),o.d(f,"easePolyInOut",function(){return Ae}),o.d(f,"easeSin",function(){return q}),o.d(f,"easeSinIn",function(){return J}),o.d(f,"easeSinOut",function(){return Y}),o.d(f,"easeSinInOut",function(){return q}),o.d(f,"easeExp",function(){return ce}),o.d(f,"easeExpIn",function(){return re}),o.d(f,"easeExpOut",function(){return fe}),o.d(f,"easeExpInOut",function(){return ce}),o.d(f,"easeCircle",function(){return Se}),o.d(f,"easeCircleIn",function(){return $}),o.d(f,"easeCircleOut",function(){return de}),o.d(f,"easeCircleInOut",function(){return Se}),o.d(f,"easeBounce",function(){return Ce}),o.d(f,"easeBounceIn",function(){return ke}),o.d(f,"easeBounceOut",function(){return Ce}),o.d(f,"easeBounceInOut",function(){return Re}),o.d(f,"easeBack",function(){return Ke}),o.d(f,"easeBackIn",function(){return Oe}),o.d(f,"easeBackOut",function(){return Le}),o.d(f,"easeBackInOut",function(){return Ke}),o.d(f,"easeElastic",function(){return dt}),o.d(f,"easeElasticIn",function(){return ot}),o.d(f,"easeElasticOut",function(){return dt}),o.d(f,"easeElasticInOut",function(){return Ct});var c=o(1),M=o(138),_=o(136),x=o(19),O=o(0);function S(We){return(S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ne){return typeof Ne}:function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne})(We)}var g,h,y=0,E=0,m=0,p=0,A=0,C=0,N=(typeof performance=="undefined"?"undefined":S(performance))==="object"&&performance.now?performance:Date,P=(typeof window=="undefined"?"undefined":S(window))==="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(We){setTimeout(We,17)};function L(){return A||(P(z),A=N.now()+C)}function z(){A=0}function X(){this._call=this._time=this._next=null}function te(We,Ne,He){var ft=new X;return ft.restart(We,Ne,He),ft}function ue(){A=(p=N.now())+C,y=E=0;try{(function(){L(),++y;for(var We,Ne=g;Ne;)(We=A-Ne._time)>=0&&Ne._call.call(null,We),Ne=Ne._next;--y})()}finally{y=0,function(){for(var We,Ne,He=g,ft=1/0;He;)He._call?(ft>He._time&&(ft=He._time),We=He,He=He._next):(Ne=He._next,He._next=null,He=We?We._next=Ne:g=Ne);h=We,xe(ft)}(),A=0}}function le(){var We=N.now(),Ne=We-p;Ne>1e3&&(C-=Ne,p=We)}function xe(We){y||(E&&(E=clearTimeout(E)),We-A>24?(We<1/0&&(E=setTimeout(ue,We-N.now()-C)),m&&(m=clearInterval(m))):(m||(p=N.now(),m=setInterval(le,1e3)),y=1,P(ue)))}function ye(We){return+We}function W(We){return We*We}function Ie(We){return We*(2-We)}function ie(We){return((We*=2)<=1?We*We:--We*(2-We)+1)/2}function ne(We){return We*We*We}function Z(We){return--We*We*We+1}function V(We){return((We*=2)<=1?We*We*We:(We-=2)*We*We+2)/2}X.prototype=te.prototype={constructor:X,restart:function(We,Ne,He){if(typeof We!="function")throw new TypeError("callback is not a function");He=(He==null?L():+He)+(Ne==null?0:+Ne),this._next||h===this||(h?h._next=this:g=this,h=this),this._call=We,this._time=He,xe()},stop:function(){this._call&&(this._call=null,this._time=1/0,xe())}};var ae=function We(Ne){function He(ft){return Math.pow(ft,Ne)}return Ne=+Ne,He.exponent=We,He}(3),we=function We(Ne){function He(ft){return 1-Math.pow(1-ft,Ne)}return Ne=+Ne,He.exponent=We,He}(3),Ae=function We(Ne){function He(ft){return((ft*=2)<=1?Math.pow(ft,Ne):2-Math.pow(2-ft,Ne))/2}return Ne=+Ne,He.exponent=We,He}(3),se=Math.PI,ee=se/2;function J(We){return+We==1?1:1-Math.cos(We*ee)}function Y(We){return Math.sin(We*ee)}function q(We){return(1-Math.cos(se*We))/2}function G(We){return 1.0009775171065494*(Math.pow(2,-10*We)-.0009765625)}function re(We){return G(1-+We)}function fe(We){return 1-G(We)}function ce(We){return((We*=2)<=1?G(1-We):2-G(We-1))/2}function $(We){return 1-Math.sqrt(1-We*We)}function de(We){return Math.sqrt(1- --We*We)}function Se(We){return((We*=2)<=1?1-Math.sqrt(1-We*We):Math.sqrt(1-(We-=2)*We)+1)/2}var Pe=7.5625;function ke(We){return 1-Ce(1-We)}function Ce(We){return(We=+We)<4/11?Pe*We*We:We<8/11?Pe*(We-=6/11)*We+3/4:We<10/11?Pe*(We-=9/11)*We+15/16:Pe*(We-=21/22)*We+63/64}function Re(We){return((We*=2)<=1?1-Ce(1-We):Ce(We-1)+1)/2}var Oe=function We(Ne){function He(ft){return(ft=+ft)*ft*(Ne*(ft-1)+ft)}return Ne=+Ne,He.overshoot=We,He}(1.70158),Le=function We(Ne){function He(ft){return--ft*ft*((ft+1)*Ne+ft)+1}return Ne=+Ne,He.overshoot=We,He}(1.70158),Ke=function We(Ne){function He(ft){return((ft*=2)<1?ft*ft*((Ne+1)*ft-Ne):(ft-=2)*ft*((Ne+1)*ft+Ne)+2)/2}return Ne=+Ne,He.overshoot=We,He}(1.70158),et=2*Math.PI,ot=function We(Ne,He){var ft=Math.asin(1/(Ne=Math.max(1,Ne)))*(He/=et);function At(Ht){return Ne*G(- --Ht)*Math.sin((ft-Ht)/He)}return At.amplitude=function(Ht){return We(Ht,He*et)},At.period=function(Ht){return We(Ne,Ht)},At}(1,.3),dt=function We(Ne,He){var ft=Math.asin(1/(Ne=Math.max(1,Ne)))*(He/=et);function At(Ht){return 1-Ne*G(Ht=+Ht)*Math.sin((Ht+ft)/He)}return At.amplitude=function(Ht){return We(Ht,He*et)},At.period=function(Ht){return We(Ne,Ht)},At}(1,.3),Ct=function We(Ne,He){var ft=Math.asin(1/(Ne=Math.max(1,Ne)))*(He/=et);function At(Ht){return((Ht=2*Ht-1)<0?Ne*G(-Ht)*Math.sin((ft-Ht)/He):2-Ne*G(Ht)*Math.sin((ft+Ht)/He))/2}return At.amplitude=function(Ht){return We(Ht,He*et)},At.period=function(Ht){return We(Ne,Ht)},At}(1,.3),Tt=function(We,Ne,He){We.prototype=Ne.prototype=He,He.constructor=We};function jt(We,Ne){var He=Object.create(We.prototype);for(var ft in Ne)He[ft]=Ne[ft];return He}function Kt(){}var Qt="\\s*([+-]?\\d+)\\s*",rr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",or="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mr=/^#([0-9a-f]{3,8})$/,cr=new RegExp("^rgb\\("+[Qt,Qt,Qt]+"\\)$"),yr=new RegExp("^rgb\\("+[or,or,or]+"\\)$"),br=new RegExp("^rgba\\("+[Qt,Qt,Qt,rr]+"\\)$"),Xr=new RegExp("^rgba\\("+[or,or,or,rr]+"\\)$"),gr=new RegExp("^hsl\\("+[rr,or,or]+"\\)$"),xr=new RegExp("^hsla\\("+[rr,or,or,rr]+"\\)$"),dr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Br(){return this.rgb().formatHex()}function Rr(){return this.rgb().formatRgb()}function pn(We){var Ne,He;return We=(We+"").trim().toLowerCase(),(Ne=Mr.exec(We))?(He=Ne[1].length,Ne=parseInt(Ne[1],16),He===6?zr(Ne):He===3?new Ir(Ne>>8&15|Ne>>4&240,Ne>>4&15|240&Ne,(15&Ne)<<4|15&Ne,1):He===8?Nr(Ne>>24&255,Ne>>16&255,Ne>>8&255,(255&Ne)/255):He===4?Nr(Ne>>12&15|Ne>>8&240,Ne>>8&15|Ne>>4&240,Ne>>4&15|240&Ne,((15&Ne)<<4|15&Ne)/255):null):(Ne=cr.exec(We))?new Ir(Ne[1],Ne[2],Ne[3],1):(Ne=yr.exec(We))?new Ir(255*Ne[1]/100,255*Ne[2]/100,255*Ne[3]/100,1):(Ne=br.exec(We))?Nr(Ne[1],Ne[2],Ne[3],Ne[4]):(Ne=Xr.exec(We))?Nr(255*Ne[1]/100,255*Ne[2]/100,255*Ne[3]/100,Ne[4]):(Ne=gr.exec(We))?Rn(Ne[1],Ne[2]/100,Ne[3]/100,1):(Ne=xr.exec(We))?Rn(Ne[1],Ne[2]/100,Ne[3]/100,Ne[4]):dr.hasOwnProperty(We)?zr(dr[We]):We==="transparent"?new Ir(NaN,NaN,NaN,0):null}function zr(We){return new Ir(We>>16&255,We>>8&255,255&We,1)}function Nr(We,Ne,He,ft){return ft<=0&&(We=Ne=He=NaN),new Ir(We,Ne,He,ft)}function Dr(We){return We instanceof Kt||(We=pn(We)),We?new Ir((We=We.rgb()).r,We.g,We.b,We.opacity):new Ir}function rn(We,Ne,He,ft){return arguments.length===1?Dr(We):new Ir(We,Ne,He,ft==null?1:ft)}function Ir(We,Ne,He,ft){this.r=+We,this.g=+Ne,this.b=+He,this.opacity=+ft}function On(){return"#"+Dn(this.r)+Dn(this.g)+Dn(this.b)}function In(){var We=this.opacity;return((We=isNaN(We)?1:Math.max(0,Math.min(1,We)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(We===1?")":", "+We+")")}function Dn(We){return((We=Math.max(0,Math.min(255,Math.round(We)||0)))<16?"0":"")+We.toString(16)}function Rn(We,Ne,He,ft){return ft<=0?We=Ne=He=NaN:He<=0||He>=1?We=Ne=NaN:Ne<=0&&(We=NaN),new Er(We,Ne,He,ft)}function gn(We){if(We instanceof Er)return new Er(We.h,We.s,We.l,We.opacity);if(We instanceof Kt||(We=pn(We)),!We)return new Er;if(We instanceof Er)return We;var Ne=(We=We.rgb()).r/255,He=We.g/255,ft=We.b/255,At=Math.min(Ne,He,ft),Ht=Math.max(Ne,He,ft),vr=NaN,Be=Ht-At,ut=(Ht+At)/2;return Be?(vr=Ne===Ht?(He-ft)/Be+6*(He0&&ut<1?0:vr,new Er(vr,Be,ut,We.opacity)}function Er(We,Ne,He,ft){this.h=+We,this.s=+Ne,this.l=+He,this.opacity=+ft}function ln(We,Ne,He){return 255*(We<60?Ne+(He-Ne)*We/60:We<180?He:We<240?Ne+(He-Ne)*(240-We)/60:Ne)}function yn(We,Ne,He,ft,At){var Ht=We*We,vr=Ht*We;return((1-3*We+3*Ht-vr)*Ne+(4-6*Ht+3*vr)*He+(1+3*We+3*Ht-3*vr)*ft+vr*At)/6}Tt(Kt,pn,{copy:function(We){return Object.assign(new this.constructor,this,We)},displayable:function(){return this.rgb().displayable()},hex:Br,formatHex:Br,formatHsl:function(){return gn(this).formatHsl()},formatRgb:Rr,toString:Rr}),Tt(Ir,rn,jt(Kt,{brighter:function(We){return We=We==null?1/.7:Math.pow(1/.7,We),new Ir(this.r*We,this.g*We,this.b*We,this.opacity)},darker:function(We){return We=We==null?.7:Math.pow(.7,We),new Ir(this.r*We,this.g*We,this.b*We,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:On,formatHex:On,formatRgb:In,toString:In})),Tt(Er,function(We,Ne,He,ft){return arguments.length===1?gn(We):new Er(We,Ne,He,ft==null?1:ft)},jt(Kt,{brighter:function(We){return We=We==null?1/.7:Math.pow(1/.7,We),new Er(this.h,this.s,this.l*We,this.opacity)},darker:function(We){return We=We==null?.7:Math.pow(.7,We),new Er(this.h,this.s,this.l*We,this.opacity)},rgb:function(){var We=this.h%360+360*(this.h<0),Ne=isNaN(We)||isNaN(this.s)?0:this.s,He=this.l,ft=He+(He<.5?He:1-He)*Ne,At=2*He-ft;return new Ir(ln(We>=240?We-240:We+120,At,ft),ln(We,At,ft),ln(We<120?We+240:We-120,At,ft),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var We=this.opacity;return((We=isNaN(We)?1:Math.max(0,Math.min(1,We)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(We===1?")":", "+We+")")}}));var mn=function(We){return function(){return We}};function Qn(We,Ne){return function(He){return We+He*Ne}}function Un(We){return(We=+We)==1?ri:function(Ne,He){return He-Ne?function(ft,At,Ht){return ft=Math.pow(ft,Ht),At=Math.pow(At,Ht)-ft,Ht=1/Ht,function(vr){return Math.pow(ft+vr*At,Ht)}}(Ne,He,We):mn(isNaN(Ne)?He:Ne)}}function ri(We,Ne){var He=Ne-We;return He?Qn(We,He):mn(isNaN(We)?Ne:We)}var Oi=function We(Ne){var He=Un(Ne);function ft(At,Ht){var vr=He((At=rn(At)).r,(Ht=rn(Ht)).r),Be=He(At.g,Ht.g),ut=He(At.b,Ht.b),bt=ri(At.opacity,Ht.opacity);return function(Ft){return At.r=vr(Ft),At.g=Be(Ft),At.b=ut(Ft),At.opacity=bt(Ft),At+""}}return ft.gamma=We,ft}(1);function ni(We){return function(Ne){var He,ft,At=Ne.length,Ht=new Array(At),vr=new Array(At),Be=new Array(At);for(He=0;He=1?(He=1,Ne-1):Math.floor(He*Ne),At=We[ft],Ht=We[ft+1],vr=ft>0?We[ft-1]:2*At-Ht,Be=ftHt&&(At=Ne.slice(Ht,At),Be[vr]?Be[vr]+=At:Be[++vr]=At),(He=He[0])===(ft=ft[0])?Be[vr]?Be[vr]+=ft:Be[++vr]=ft:(Be[++vr]=null,ut.push({i:vr,x:ii(He,ft)})),Ht=oi.lastIndex;return Httr.length?(er=Yn.parsePathString(Qe[Wt]),tr=Yn.parsePathString(ze[Wt]),tr=Yn.fillPathByDiff(tr,er),tr=Yn.formatPath(tr,er),bt.fromAttrs.path=tr,bt.toAttrs.path=er):bt.pathFormatted||(er=Yn.parsePathString(Qe[Wt]),tr=Yn.parsePathString(ze[Wt]),tr=Yn.formatPath(tr,er),bt.fromAttrs.path=tr,bt.toAttrs.path=er,bt.pathFormatted=!0),_e[Wt]=[];for(var ar=0;ar0){for(var vr=At.animators.length-1;vr>=0;vr--)if((Ne=At.animators[vr]).destroyed)At.removeAnimator(vr);else{if(!Ne.isAnimatePaused())for(var Be=(He=Ne.get("animations")).length-1;Be>=0;Be--)ft=He[Be],Gi(Ne,ft,Ht)&&(He.splice(Be,1),ft.callback&&ft.callback());He.length===0&&At.removeAnimator(vr)}At.canvas.get("autoDraw")||At.canvas.draw()}})},We.prototype.addAnimator=function(Ne){this.animators.push(Ne)},We.prototype.removeAnimator=function(Ne){this.animators.splice(Ne,1)},We.prototype.isAnimating=function(){return!!this.animators.length},We.prototype.stop=function(){this.timer&&this.timer.stop()},We.prototype.stopAllAnimations=function(Ne){Ne===void 0&&(Ne=!0),this.animators.forEach(function(He){He.stopAnimate(Ne)}),this.animators=[],this.canvas.draw()},We.prototype.getTime=function(){return this.current},We}(),oo=o(115),ci=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function li(We,Ne,He){He.name=Ne,He.target=We,He.currentTarget=We,He.delegateTarget=We,We.emit(Ne,He)}function ao(We,Ne,He){if(He.bubbles){var ft=void 0,At=!1;if(Ne==="mouseenter"?(ft=He.fromShape,At=!0):Ne==="mouseleave"&&(At=!0,ft=He.toShape),We.isCanvas()&&At)return;if(ft&&Object(x.g)(We,ft))return void(He.bubbles=!1);He.name=Ne,He.currentTarget=We,He.delegateTarget=We,We.emit(Ne,He)}}var Zi=function(){function We(Ne){var He=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(ft){var At=ft.type;He._triggerEvent(At,ft)},this._onDocumentMove=function(ft){if(He.canvas.get("el")!==ft.target&&(He.dragging||He.currentShape)){var At=He._getPointInfo(ft);He.dragging&&He._emitEvent("drag",ft,At,He.draggingShape)}},this._onDocumentMouseUp=function(ft){if(He.canvas.get("el")!==ft.target&&He.dragging){var At=He._getPointInfo(ft);He.draggingShape&&He._emitEvent("drop",ft,At,null),He._emitEvent("dragend",ft,At,He.draggingShape),He._afterDrag(He.draggingShape,At,ft)}},this.canvas=Ne.canvas}return We.prototype.init=function(){this._bindEvents()},We.prototype._bindEvents=function(){var Ne=this,He=this.canvas.get("el");Object(x.a)(ci,function(ft){He.addEventListener(ft,Ne._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},We.prototype._clearEvents=function(){var Ne=this,He=this.canvas.get("el");Object(x.a)(ci,function(ft){He.removeEventListener(ft,Ne._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},We.prototype._getEventObj=function(Ne,He,ft,At,Ht,vr){var Be=new oo.a(Ne,He);return Be.fromShape=Ht,Be.toShape=vr,Be.x=ft.x,Be.y=ft.y,Be.clientX=ft.clientX,Be.clientY=ft.clientY,Be.propagationPath.push(At),Be},We.prototype._getShape=function(Ne,He){return this.canvas.getShape(Ne.x,Ne.y,He)},We.prototype._getPointInfo=function(Ne){var He=this.canvas,ft=He.getClientByEvent(Ne),At=He.getPointByEvent(Ne);return{x:At.x,y:At.y,clientX:ft.x,clientY:ft.y}},We.prototype._triggerEvent=function(Ne,He){var ft=this._getPointInfo(He),At=this._getShape(ft,He),Ht=this["_on"+Ne],vr=!1;if(Ht)Ht.call(this,ft,At,He);else{var Be=this.currentShape;Ne==="mouseenter"||Ne==="dragenter"||Ne==="mouseover"?(this._emitEvent(Ne,He,ft,null,null,At),At&&this._emitEvent(Ne,He,ft,At,null,At),Ne==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",He,ft,null)):Ne==="mouseleave"||Ne==="dragleave"||Ne==="mouseout"?(vr=!0,Be&&this._emitEvent(Ne,He,ft,Be,Be,null),this._emitEvent(Ne,He,ft,null,Be,null),Ne==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",He,ft,null)):this._emitEvent(Ne,He,ft,At,null,null)}if(vr||(this.currentShape=At),At&&!At.get("destroyed")){var ut=this.canvas;ut.get("el").style.cursor=At.attr("cursor")||ut.get("cursor")}},We.prototype._onmousedown=function(Ne,He,ft){ft.button===0&&(this.mousedownShape=He,this.mousedownPoint=Ne,this.mousedownTimeStamp=ft.timeStamp),this._emitEvent("mousedown",ft,Ne,He,null,null)},We.prototype._emitMouseoverEvents=function(Ne,He,ft,At){var Ht=this.canvas.get("el");ft!==At&&(ft&&(this._emitEvent("mouseout",Ne,He,ft,ft,At),this._emitEvent("mouseleave",Ne,He,ft,ft,At),At&&!At.get("destroyed")||(Ht.style.cursor=this.canvas.get("cursor"))),At&&(this._emitEvent("mouseover",Ne,He,At,ft,At),this._emitEvent("mouseenter",Ne,He,At,ft,At)))},We.prototype._emitDragoverEvents=function(Ne,He,ft,At,Ht){At?(At!==ft&&(ft&&this._emitEvent("dragleave",Ne,He,ft,ft,At),this._emitEvent("dragenter",Ne,He,At,ft,At)),Ht||this._emitEvent("dragover",Ne,He,At)):ft&&this._emitEvent("dragleave",Ne,He,ft,ft,At),Ht&&this._emitEvent("dragover",Ne,He,At)},We.prototype._afterDrag=function(Ne,He,ft){Ne&&(Ne.set("capture",!0),this.draggingShape=null),this.dragging=!1;var At=this._getShape(He,ft);At!==Ne&&this._emitMouseoverEvents(ft,He,Ne,At),this.currentShape=At},We.prototype._onmouseup=function(Ne,He,ft){if(ft.button===0){var At=this.draggingShape;this.dragging?(At&&this._emitEvent("drop",ft,Ne,He),this._emitEvent("dragend",ft,Ne,At),this._afterDrag(At,Ne,ft)):(this._emitEvent("mouseup",ft,Ne,He),He===this.mousedownShape&&this._emitEvent("click",ft,Ne,He),this.mousedownShape=null,this.mousedownPoint=null)}},We.prototype._ondragover=function(Ne,He,ft){ft.preventDefault();var At=this.currentShape;this._emitDragoverEvents(ft,Ne,At,He,!0)},We.prototype._onmousemove=function(Ne,He,ft){var At=this.canvas,Ht=this.currentShape,vr=this.draggingShape;if(this.dragging)vr&&this._emitDragoverEvents(ft,Ne,Ht,He,!1),this._emitEvent("drag",ft,Ne,vr);else{var Be=this.mousedownPoint;if(Be){var ut=this.mousedownShape,bt=ft.timeStamp-this.mousedownTimeStamp,Ft=Be.clientX-Ne.clientX,_e=Be.clientY-Ne.clientY;bt>120||Ft*Ft+_e*_e>40?ut&&ut.get("draggable")?((vr=this.mousedownShape).set("capture",!1),this.draggingShape=vr,this.dragging=!0,this._emitEvent("dragstart",ft,Ne,vr),this.mousedownShape=null,this.mousedownPoint=null):!ut&&At.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",ft,Ne,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(ft,Ne,Ht,He),this._emitEvent("mousemove",ft,Ne,He)):(this._emitMouseoverEvents(ft,Ne,Ht,He),this._emitEvent("mousemove",ft,Ne,He))}else this._emitMouseoverEvents(ft,Ne,Ht,He),this._emitEvent("mousemove",ft,Ne,He)}},We.prototype._emitEvent=function(Ne,He,ft,At,Ht,vr){var Be=this._getEventObj(Ne,He,ft,At,Ht,vr);if(At){Be.shape=At,li(At,Ne,Be);for(var ut=At.getParent();ut;)ut.emitDelegation(Ne,Be),Be.propagationStopped||ao(ut,Ne,Be),Be.propagationPath.push(ut),ut=ut.getParent()}else li(this.canvas,Ne,Be)},We.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},We}(),$i=Object(M.a)(),vo=$i&&$i.name==="firefox",nr=function(We){function Ne(He){var ft=We.call(this,He)||this;return ft.initContainer(),ft.initDom(),ft.initEvents(),ft.initTimeline(),ft}return Object(c.__extends)(Ne,We),Ne.prototype.getDefaultCfg=function(){var He=We.prototype.getDefaultCfg.call(this);return He.cursor="default",He.supportCSSTransform=!1,He},Ne.prototype.initContainer=function(){var He=this.get("container");Object(x.h)(He)&&(He=document.getElementById(He),this.set("container",He))},Ne.prototype.initDom=function(){var He=this.createDom();this.set("el",He),this.get("container").appendChild(He),this.setDOMSize(this.get("width"),this.get("height"))},Ne.prototype.initEvents=function(){var He=new Zi({canvas:this});He.init(),this.set("eventController",He)},Ne.prototype.initTimeline=function(){var He=new Hn(this);this.set("timeline",He)},Ne.prototype.setDOMSize=function(He,ft){var At=this.get("el");x.c&&(At.style.width=He+"px",At.style.height=ft+"px")},Ne.prototype.changeSize=function(He,ft){this.setDOMSize(He,ft),this.set("width",He),this.set("height",ft),this.onCanvasChange("changeSize")},Ne.prototype.getRenderer=function(){return this.get("renderer")},Ne.prototype.getCursor=function(){return this.get("cursor")},Ne.prototype.setCursor=function(He){this.set("cursor",He);var ft=this.get("el");x.c&&ft&&(ft.style.cursor=He)},Ne.prototype.getPointByEvent=function(He){if(this.get("supportCSSTransform")){if(vo&&!Object(x.e)(He.layerX)&&He.layerX!==He.offsetX)return{x:He.layerX,y:He.layerY};if(!Object(x.e)(He.offsetX))return{x:He.offsetX,y:He.offsetY}}var ft=this.getClientByEvent(He),At=ft.x,Ht=ft.y;return this.getPointByClient(At,Ht)},Ne.prototype.getClientByEvent=function(He){var ft=He;return He.touches&&(ft=He.type==="touchend"?He.changedTouches[0]:He.touches[0]),{x:ft.clientX,y:ft.clientY}},Ne.prototype.getPointByClient=function(He,ft){var At=this.get("el").getBoundingClientRect();return{x:He-At.left,y:ft-At.top}},Ne.prototype.getClientByPoint=function(He,ft){var At=this.get("el").getBoundingClientRect();return{x:He+At.left,y:ft+At.top}},Ne.prototype.draw=function(){},Ne.prototype.removeDom=function(){var He=this.get("el");He.parentNode.removeChild(He)},Ne.prototype.clearEvents=function(){this.get("eventController").destroy()},Ne.prototype.isCanvas=function(){return!0},Ne.prototype.getParent=function(){return null},Ne.prototype.destroy=function(){var He=this.get("timeline");this.get("destroyed")||(this.clear(),He&&He.stop(),this.clearEvents(),this.removeDom(),We.prototype.destroy.call(this))},Ne}(_.a);b.a=nr},function(R,b,o){"use strict";o.d(b,"a",function(){return M});var f=new Map;function c(p,A){f.set(p,A)}function M(p){return f.get(p)}var _=function(p){var A=p.attr();return{x:A.x,y:A.y,width:A.width,height:A.height}},x=function(p){var A=p.attr(),C=A.x,N=A.y,P=A.r;return{x:C-P,y:N-P,width:2*P,height:2*P}},O=o(20);function S(p,A){return p&&A?{minX:Math.min(p.minX,A.minX),minY:Math.min(p.minY,A.minY),maxX:Math.max(p.maxX,A.maxX),maxY:Math.max(p.maxY,A.maxY)}:p||A}function g(p,A){var C=p.get("startArrowShape"),N=p.get("endArrowShape");return C&&(A=S(A,C.getCanvasBBox())),N&&(A=S(A,N.getCanvasBBox())),A}var h=o(67),y=o(37),E=o(0);function m(p,A){var C=p.prePoint,N=p.currentPoint,P=p.nextPoint,L=Math.pow(N[0]-C[0],2)+Math.pow(N[1]-C[1],2),z=Math.pow(N[0]-P[0],2)+Math.pow(N[1]-P[1],2),X=Math.pow(C[0]-P[0],2)+Math.pow(C[1]-P[1],2),te=Math.acos((L+z-X)/(2*Math.sqrt(L)*Math.sqrt(z)));if(!te||Math.sin(te)===0||Object(E.isNumberEqual)(te,0))return{xExtra:0,yExtra:0};var ue=Math.abs(Math.atan2(P[1]-N[1],P[0]-N[0])),le=Math.abs(Math.atan2(P[0]-N[0],P[1]-N[1]));return ue=ue>Math.PI/2?Math.PI-ue:ue,le=le>Math.PI/2?Math.PI-le:le,{xExtra:Math.cos(te/2-ue)*(A/2*(1/Math.sin(te/2)))-A/2||0,yExtra:Math.cos(le-te/2)*(A/2*(1/Math.sin(te/2)))-A/2||0}}c("rect",_),c("image",_),c("circle",x),c("marker",x),c("polyline",function(p){for(var A=p.attr().points,C=[],N=[],P=0;P'}),W}var A=function(){function xe(ye){this.cfg={};var W=null,Ie=Object(h.uniqueId)("gradient_");return ye.toLowerCase()[0]==="l"?function(ie,ne){var Z,V,ae=y.exec(ie),we=Object(h.mod)(Object(h.toRadian)(parseFloat(ae[1])),2*Math.PI),Ae=ae[2];we>=0&&we<.5*Math.PI?(Z={x:0,y:0},V={x:1,y:1}):.5*Math.PI<=we&&we-1)return"";var xe=H.rawContentCache[ue][z];return L.push(ue),H.processModule(xe||"",L,z).content}),includeList:L}}}]),N}())||g},function(R,b,o){"use strict";o.d(b,"a",function(){return ye});var f=o(4),c=o.n(f),M=o(6),_=o.n(M),x=o(7),O=o.n(x),S=o(22),g=o.n(S),h=o(23),y=o.n(h),E=o(24),m=o.n(E),p=o(18),A=o.n(p),C=o(2),N=o(25),P=o(41),L=o.n(P),z={};z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Arguments]"]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object Boolean]"]=z["[object DataView]"]=z["[object Date]"]=z["[object Error]"]=z["[object Function]"]=z["[object Map]"]=z["[object Number]"]=z["[object Object]"]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object WeakMap]"]=!1;var H=Object.prototype.toString,re=function(Y){return function(Ce){return!!Ce&&L()(Ce)==="object"}(Y)&&function(Ce){return typeof Ce=="number"&&Ce>-1&&Ce%1==0&&Ce<=9007199254740991}(Y.length)&&!!z[H.call(Y)]};function ae(Y,Ce){var ge=Object.keys(Y);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(Y);Ce&&(he=he.filter(function(Q){return Object.getOwnPropertyDescriptor(Y,Q).enumerable})),ge.push.apply(ge,he)}return ge}function ue(Y){for(var Ce=1;Ce0)});return C.length>0?(Object(_.a)(C,function(N){var P=N.getBBox();p.push(P.minX,P.maxX),A.push(P.minY,P.maxY)}),h=Object(c.min)(p),y=Object(c.max)(p),E=Object(c.min)(A),m=Object(c.max)(A)):(h=0,y=0,E=0,m=0),{x:h,y:E,minX:h,minY:E,maxX:y,maxY:m,width:y-h,height:m-E}},g.prototype.getCanvasBBox=function(){var h=1/0,y=-1/0,E=1/0,m=-1/0,p=[],A=[],C=this.getChildren().filter(function(N){return N.get("visible")&&(!N.isGroup()||N.isGroup()&&N.getChildren().length>0)});return C.length>0?(Object(_.a)(C,function(N){var P=N.getCanvasBBox();p.push(P.minX,P.maxX),A.push(P.minY,P.maxY)}),h=Object(c.min)(p),y=Object(c.max)(p),E=Object(c.min)(A),m=Object(c.max)(A)):(h=0,y=0,E=0,m=0),{x:h,y:E,minX:h,minY:E,maxX:y,maxY:m,width:y-h,height:m-E}},g.prototype.getDefaultCfg=function(){var h=S.prototype.getDefaultCfg.call(this);return h.children=[],h},g.prototype.onAttrChange=function(h,y,E){if(S.prototype.onAttrChange.call(this,h,y,E),h==="matrix"){var m=this.getTotalMatrix();this._applyChildrenMarix(m)}},g.prototype.applyMatrix=function(h){var y=this.getTotalMatrix();S.prototype.applyMatrix.call(this,h);var E=this.getTotalMatrix();E!==y&&this._applyChildrenMarix(E)},g.prototype._applyChildrenMarix=function(h){var y=this.getChildren();Object(_.a)(y,function(E){E.applyMatrix(h)})},g.prototype.addShape=function(){for(var h=[],y=0;y=0;A--){var C=h[A];if(Object(_.b)(C)&&(C.isGroup()?p=C.getShape(y,E,m):C.isHit(y,E)&&(p=C)),p)break}return p},g.prototype.add=function(h){var y=this.getCanvas(),E=this.getChildren(),m=this.get("timeline"),p=h.getParent();p&&function(A,C,N){N===void 0&&(N=!0),N?C.destroy():(C.set("parent",null),C.set("canvas",null)),Object(_.j)(A.getChildren(),C)}(p,h,!1),h.set("parent",this),y&&function A(C,N){if(C.set("canvas",N),C.isGroup()){var P=C.get("children");P.length&&P.forEach(function(L){A(L,N)})}}(h,y),m&&function A(C,N){if(C.set("timeline",N),C.isGroup()){var P=C.get("children");P.length&&P.forEach(function(L){A(L,N)})}}(h,m),E.push(h),h.onCanvasChange("add"),this._applyElementMatrix(h)},g.prototype._applyElementMatrix=function(h){var y=this.getTotalMatrix();y&&h.applyMatrix(y)},g.prototype.getChildren=function(){return this.get("children")},g.prototype.sort=function(){var h,y=this.getChildren();Object(_.a)(y,function(E,m){return E._INDEX=m,E}),y.sort((h=function(E,m){return E.get("zIndex")-m.get("zIndex")},function(E,m){var p=h(E,m);return p===0?E._INDEX-m._INDEX:p})),this.onCanvasChange("sort")},g.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var h=this.getChildren(),y=h.length-1;y>=0;y--)h[y].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},g.prototype.destroy=function(){this.get("destroyed")||(this.clear(),S.prototype.destroy.call(this))},g.prototype.getFirst=function(){return this.getChildByIndex(0)},g.prototype.getLast=function(){var h=this.getChildren();return this.getChildByIndex(h.length-1)},g.prototype.getChildByIndex=function(h){return this.getChildren()[h]},g.prototype.getCount=function(){return this.getChildren().length},g.prototype.contain=function(h){return this.getChildren().indexOf(h)>-1},g.prototype.removeChild=function(h,y){y===void 0&&(y=!0),this.contain(h)&&h.remove(y)},g.prototype.findAll=function(h){var y=[],E=this.getChildren();return Object(_.a)(E,function(m){h(m)&&y.push(m),m.isGroup()&&(y=y.concat(m.findAll(h)))}),y},g.prototype.find=function(h){var y=null,E=this.getChildren();return Object(_.a)(E,function(m){if(h(m)?y=m:m.isGroup()&&(y=m.find(h)),y)return!1}),y},g.prototype.findById=function(h){return this.find(function(y){return y.get("id")===h})},g.prototype.findByClassName=function(h){return this.find(function(y){return y.get("className")===h})},g.prototype.findAllByName=function(h){return this.findAll(function(y){return y.get("name")===h})},g}(M.a);b.a=O},function(R,b,o){"use strict";var f=o(1),c=o(0),M=o(17),_=o(19),x=o(38),O=o(116),S=M.a.transform,g=["zIndex","capture","visible","type"],h=["repeat"];function y(A,C){var N={},P=C.attrs;for(var L in A)N[L]=P[L];return N}function E(A,C){var N={},P=C.attr();return Object(c.each)(A,function(L,z){h.indexOf(z)!==-1||Object(c.isEqual)(P[z],L)||(N[z]=L)}),N}function m(A,C){if(C.onFrame)return A;var N=C.startTime,P=C.delay,L=C.duration,z=Object.prototype.hasOwnProperty;return Object(c.each)(A,function(H){N+PH.delay&&Object(c.each)(C.toAttrs,function(re,ae){z.call(H.toAttrs,ae)&&(delete H.toAttrs[ae],delete H.fromAttrs[ae])})}),A}var p=function(A){function C(N){var P=A.call(this,N)||this;P.attrs={};var L=P.getDefaultAttrs();return Object(c.mix)(L,N.attrs),P.attrs=L,P.initAttrs(L),P.initAnimate(),P}return Object(f.__extends)(C,A),C.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},C.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},C.prototype.onCanvasChange=function(N){},C.prototype.initAttrs=function(N){},C.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},C.prototype.isGroup=function(){return!1},C.prototype.getParent=function(){return this.get("parent")},C.prototype.getCanvas=function(){return this.get("canvas")},C.prototype.attr=function(){for(var N,P=[],L=0;L0?z=m(z,Te):L.addAnimator(this),z.push(Te),this.set("animations",z),this.set("_pause",{isPaused:!1})}},C.prototype.stopAnimate=function(N){var P=this;N===void 0&&(N=!0);var L=this.get("animations");Object(c.each)(L,function(z){N&&(z.onFrame?P.attr(z.onFrame(1)):P.attr(z.toAttrs)),z.callback&&z.callback()}),this.set("animating",!1),this.set("animations",[])},C.prototype.pauseAnimate=function(){var N=this.get("timeline"),P=this.get("animations"),L=N.getTime();return Object(c.each)(P,function(z){z._paused=!0,z._pauseTime=L,z.pauseCallback&&z.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:L}),this},C.prototype.resumeAnimate=function(){var N=this.get("timeline").getTime(),P=this.get("animations"),L=this.get("_pause").pauseTime;return Object(c.each)(P,function(z){z.startTime=z.startTime+(N-L),z._paused=!1,z._pauseTime=null,z.resumeCallback&&z.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",P),this},C.prototype.emitDelegation=function(N,P){var L,z=this,H=P.propagationPath;this.getEvents(),N==="mouseenter"?L=P.fromShape:N==="mouseleave"&&(L=P.toShape);for(var re=function(xe){var ye=H[xe],Y=ye.get("name");if(Y){if((ye.isGroup()||ye.isCanvas&&ye.isCanvas())&&L&&Object(_.g)(ye,L))return"break";Object(c.isArray)(Y)?Object(c.each)(Y,function(Ce){z.emitDelegateEvent(ye,Ce,P)}):ae.emitDelegateEvent(ye,Y,P)}},ae=this,ue=0;ue=0&&L<.5*Math.PI?(C={x:H.minX,y:H.minY},N={x:H.maxX,y:H.maxY}):.5*Math.PI<=L&&LN[ye.id]+W?(N[Q]=N[ye.id]+W,P[Q]=[ye.id]):N[Q]===N[ye.id]+W&&P[Q].push(ye.id)})},H=0;HA){var C=p;p=A,A=C}return p+""+A+""+(c.isUndefined(m)?"\0":m)}function S(h,y,E,m){var p=""+y,A=""+E;if(!h&&p>A){var C=p;p=A,A=C}var N={v:p,w:A};return m&&(N.name=m),N}function g(h,y){return O(h,y.v,y.w,y.name)}M.prototype._nodeCount=0,M.prototype._edgeCount=0,M.prototype.isDirected=function(){return this._isDirected},M.prototype.isMultigraph=function(){return this._isMultigraph},M.prototype.isCompound=function(){return this._isCompound},M.prototype.setGraph=function(h){return this._label=h,this},M.prototype.graph=function(){return this._label},M.prototype.setDefaultNodeLabel=function(h){return c.isFunction(h)||(h=c.constant(h)),this._defaultNodeLabelFn=h,this},M.prototype.nodeCount=function(){return this._nodeCount},M.prototype.nodes=function(){return c.keys(this._nodes)},M.prototype.sources=function(){var h=this;return c.filter(this.nodes(),function(y){return c.isEmpty(h._in[y])})},M.prototype.sinks=function(){var h=this;return c.filter(this.nodes(),function(y){return c.isEmpty(h._out[y])})},M.prototype.setNodes=function(h,y){var E=arguments,m=this;return c.each(h,function(p){E.length>1?m.setNode(p,y):m.setNode(p)}),this},M.prototype.setNode=function(h,y){return c.has(this._nodes,h)?(arguments.length>1&&(this._nodes[h]=y),this):(this._nodes[h]=arguments.length>1?y:this._defaultNodeLabelFn(h),this._isCompound&&(this._parent[h]="\0",this._children[h]={},this._children["\0"][h]=!0),this._in[h]={},this._preds[h]={},this._out[h]={},this._sucs[h]={},++this._nodeCount,this)},M.prototype.node=function(h){return this._nodes[h]},M.prototype.hasNode=function(h){return c.has(this._nodes,h)},M.prototype.removeNode=function(h){var y=this;if(c.has(this._nodes,h)){var E=function(m){y.removeEdge(y._edgeObjs[m])};delete this._nodes[h],this._isCompound&&(this._removeFromParentsChildList(h),delete this._parent[h],c.each(this.children(h),function(m){y.setParent(m)}),delete this._children[h]),c.each(c.keys(this._in[h]),E),delete this._in[h],delete this._preds[h],c.each(c.keys(this._out[h]),E),delete this._out[h],delete this._sucs[h],--this._nodeCount}return this},M.prototype.setParent=function(h,y){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(c.isUndefined(y))y="\0";else{for(var E=y+="";!c.isUndefined(E);E=this.parent(E))if(E===h)throw new Error("Setting "+y+" as parent of "+h+" would create a cycle");this.setNode(y)}return this.setNode(h),this._removeFromParentsChildList(h),this._parent[h]=y,this._children[y][h]=!0,this},M.prototype._removeFromParentsChildList=function(h){delete this._children[this._parent[h]][h]},M.prototype.parent=function(h){if(this._isCompound){var y=this._parent[h];if(y!=="\0")return y}},M.prototype.children=function(h){if(c.isUndefined(h)&&(h="\0"),this._isCompound){var y=this._children[h];if(y)return c.keys(y)}else{if(h==="\0")return this.nodes();if(this.hasNode(h))return[]}},M.prototype.predecessors=function(h){var y=this._preds[h];if(y)return c.keys(y)},M.prototype.successors=function(h){var y=this._sucs[h];if(y)return c.keys(y)},M.prototype.neighbors=function(h){var y=this.predecessors(h);if(y)return c.union(y,this.successors(h))},M.prototype.isLeaf=function(h){return(this.isDirected()?this.successors(h):this.neighbors(h)).length===0},M.prototype.filterNodes=function(h){var y=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});y.setGraph(this.graph());var E=this;c.each(this._nodes,function(p,A){h(A)&&y.setNode(A,p)}),c.each(this._edgeObjs,function(p){y.hasNode(p.v)&&y.hasNode(p.w)&&y.setEdge(p,E.edge(p))});var m={};return this._isCompound&&c.each(y.nodes(),function(p){y.setParent(p,function A(C){var N=E.parent(C);return N===void 0||y.hasNode(N)?(m[C]=N,N):N in m?m[N]:A(N)}(p))}),y},M.prototype.setDefaultEdgeLabel=function(h){return c.isFunction(h)||(h=c.constant(h)),this._defaultEdgeLabelFn=h,this},M.prototype.edgeCount=function(){return this._edgeCount},M.prototype.edges=function(){return c.values(this._edgeObjs)},M.prototype.setPath=function(h,y){var E=this,m=arguments;return c.reduce(h,function(p,A){return m.length>1?E.setEdge(p,A,y):E.setEdge(p,A),A}),this},M.prototype.setEdge=function(){var h,y,E,m,p=!1,A=arguments[0];f(A)==="object"&&A!==null&&"v"in A?(h=A.v,y=A.w,E=A.name,arguments.length===2&&(m=arguments[1],p=!0)):(h=A,y=arguments[1],E=arguments[3],arguments.length>2&&(m=arguments[2],p=!0)),h=""+h,y=""+y,c.isUndefined(E)||(E=""+E);var C=O(this._isDirected,h,y,E);if(c.has(this._edgeLabels,C))return p&&(this._edgeLabels[C]=m),this;if(!c.isUndefined(E)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(h),this.setNode(y),this._edgeLabels[C]=p?m:this._defaultEdgeLabelFn(h,y,E);var N=S(this._isDirected,h,y,E);return h=N.v,y=N.w,Object.freeze(N),this._edgeObjs[C]=N,_(this._preds[y],h),_(this._sucs[h],y),this._in[y][C]=N,this._out[h][C]=N,this._edgeCount++,this},M.prototype.edge=function(h,y,E){var m=arguments.length===1?g(this._isDirected,arguments[0]):O(this._isDirected,h,y,E);return this._edgeLabels[m]},M.prototype.hasEdge=function(h,y,E){var m=arguments.length===1?g(this._isDirected,arguments[0]):O(this._isDirected,h,y,E);return c.has(this._edgeLabels,m)},M.prototype.removeEdge=function(h,y,E){var m=arguments.length===1?g(this._isDirected,arguments[0]):O(this._isDirected,h,y,E),p=this._edgeObjs[m];return p&&(h=p.v,y=p.w,delete this._edgeLabels[m],delete this._edgeObjs[m],x(this._preds[y],h),x(this._sucs[h],y),delete this._in[y][m],delete this._out[h][m],this._edgeCount--),this},M.prototype.inEdges=function(h,y){var E=this._in[h];if(E){var m=c.values(E);return y?c.filter(m,function(p){return p.v===y}):m}},M.prototype.outEdges=function(h,y){var E=this._out[h];if(E){var m=c.values(E);return y?c.filter(m,function(p){return p.w===y}):m}},M.prototype.nodeEdges=function(h,y){var E=this.inEdges(h,y);if(E)return E.concat(this.outEdges(h,y))}},function(R,b,o){var f=o(62)(o(47),"Map");R.exports=f},function(R,b,o){var f=o(324),c=o(331),M=o(333),_=o(334),x=o(335);function O(S){var g=-1,h=S==null?0:S.length;for(this.clear();++g-1&&o%1==0&&o<=9007199254740991}},function(R,b,o){(function(f){function c(g){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(g)}var M=o(175),_=c(b)=="object"&&b&&!b.nodeType&&b,x=_&&c(f)=="object"&&f&&!f.nodeType&&f,O=x&&x.exports===_&&M.process,S=function(){try{var g=x&&x.require&&x.require("util").types;return g||O&&O.binding&&O.binding("util")}catch(h){}}();f.exports=S}).call(this,o(87)(R))},function(R,b,o){var f=o(105),c=o(341),M=Object.prototype.hasOwnProperty;R.exports=function(_){if(!f(_))return c(_);var x=[];for(var O in Object(_))M.call(_,O)&&O!="constructor"&&x.push(O);return x}},function(R,b,o){var f=o(183),c=o(184),M=Object.prototype.propertyIsEnumerable,_=Object.getOwnPropertySymbols,x=_?function(O){return O==null?[]:(O=Object(O),f(_(O),function(S){return M.call(O,S)}))}:c;R.exports=x},function(R,b){R.exports=function(o,f){for(var c=-1,M=f.length,_=o.length;++c0&&O(E)?x>1?M(E,x-1,O,S,g):f(g,E):S||(g[g.length]=E)}return g}},function(R,b,o){var f=o(74);R.exports=function(c,M,_){for(var x=-1,O=c.length;++x1)for(var N=1;N=S&&h.minY<=g&&h.maxY>=g},O.prototype.afterAttrsChange=function(S){x.prototype.afterAttrsChange.call(this,S),this.clearCacheBBox()},O.prototype.getBBox=function(){var S=this.cfg.bbox;return S||(S=this.calculateBBox(),this.set("bbox",S)),S},O.prototype.getCanvasBBox=function(){var S=this.cfg.canvasBBox;return S||(S=this.calculateCanvasBBox(),this.set("canvasBBox",S)),S},O.prototype.applyMatrix=function(S){x.prototype.applyMatrix.call(this,S),this.set("canvasBBox",null)},O.prototype.calculateCanvasBBox=function(){var S=this.getBBox(),g=this.getTotalMatrix(),h=S.minX,y=S.minY,E=S.maxX,m=S.maxY;if(g){var p=Object(M.c)(g,[S.minX,S.minY]),A=Object(M.c)(g,[S.maxX,S.minY]),C=Object(M.c)(g,[S.minX,S.maxY]),N=Object(M.c)(g,[S.maxX,S.maxY]);h=Math.min(p[0],A[0],C[0],N[0]),E=Math.max(p[0],A[0],C[0],N[0]),y=Math.min(p[1],A[1],C[1],N[1]),m=Math.max(p[1],A[1],C[1],N[1])}var P=this.attrs;if(P.shadowColor){var L=P.shadowBlur,z=L===void 0?0:L,H=P.shadowOffsetX,re=H===void 0?0:H,ae=P.shadowOffsetY,ue=ae===void 0?0:ae,xe=h-z+re,ye=E+z+re,Y=y-z+ue,Ce=m+z+ue;h=Math.min(h,xe),E=Math.max(E,ye),y=Math.min(y,Y),m=Math.max(m,Ce)}return{x:h,y,minX:h,minY:y,maxX:E,maxY:m,width:E-h,height:m-y}},O.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},O.prototype.isClipShape=function(){return this.get("isClipShape")},O.prototype.isInShape=function(S,g){return!1},O.prototype.isOnlyHitBox=function(){return!1},O.prototype.isHit=function(S,g){var h=this.get("startArrowShape"),y=this.get("endArrowShape"),E=[S,g,1],m=(E=this.invertFromMatrix(E))[0],p=E[1],A=this._isInBBox(m,p);return this.isOnlyHitBox()?A:!!(A&&!this.isClipped(m,p)&&(this.isInShape(m,p)||h&&h.isHit(m,p)||y&&y.isHit(m,p)))},O}(c.a);b.a=_},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(_,x){return x?M(_):c(_)},b.detectStrongConnectComponents=b.detectConnectedComponents=void 0;var f=o(45),c=function(_){for(var x=_.nodes,O=x===void 0?[]:x,S=_.edges,g=S===void 0?[]:S,h=[],y={},E=[],m=function N(P){E.push(P),y[P.id]=!0;for(var L=(0,f.getNeighbors)(P.id,g),z=function(re){var ae=L[re];if(!y[ae]){var ue=O.filter(function(xe){return xe.id===ae});ue.length>0&&N(ue[0])}},H=0;H0;)C.push(E.pop());h.push(C)}}return h};b.detectConnectedComponents=c;var M=function(_){for(var x=_.nodes,O=x===void 0?[]:x,S=_.edges,g=S===void 0?[]:S,h=[],y={},E={},m={},p=[],A=0,C=function z(H){E[H.id]=A,m[H.id]=A,A+=1,h.push(H),y[H.id]=!0;for(var re=(0,f.getNeighbors)(H.id,g,"target").filter(function(Y){return O.map(function(Ce){return Ce.id}).indexOf(Y)>-1}),ae=function(Y){var Ce=re[Y];if(E[Ce]||E[Ce]===0)y[Ce]&&(m[H.id]=Math.min(m[H.id],E[Ce]));else{var ge=O.filter(function(he){return he.id===Ce});ge.length>0&&z(ge[0]),m[H.id]=Math.min(m[H.id],m[Ce])}},ue=0;ue0;){var ye=h.pop();if(y[ye.id]=!1,xe.push(ye),ye===H)break}xe.length>0&&p.push(xe)}},N=0,P=O;NS[h][E]+S[E][y]&&(S[h][y]=S[h][E]+S[E][y]);return S};b.default=M},function(R,b,o){var f=o(303),c={};for(var M in f)f.hasOwnProperty(M)&&(c[f[M]]=M);var _=R.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var x in _)if(_.hasOwnProperty(x)){if(!("channels"in _[x]))throw new Error("missing channels property: "+x);if(!("labels"in _[x]))throw new Error("missing channel labels property: "+x);if(_[x].labels.length!==_[x].channels)throw new Error("channel and label counts mismatch: "+x);var O=_[x].channels,S=_[x].labels;delete _[x].channels,delete _[x].labels,Object.defineProperty(_[x],"channels",{value:O}),Object.defineProperty(_[x],"labels",{value:S})}_.rgb.hsl=function(g){var h,y,E=g[0]/255,m=g[1]/255,p=g[2]/255,A=Math.min(E,m,p),C=Math.max(E,m,p),N=C-A;return C===A?h=0:E===C?h=(m-p)/N:m===C?h=2+(p-E)/N:p===C&&(h=4+(E-m)/N),(h=Math.min(60*h,360))<0&&(h+=360),y=(A+C)/2,[h,100*(C===A?0:y<=.5?N/(C+A):N/(2-C-A)),100*y]},_.rgb.hsv=function(g){var h,y,E,m,p,A=g[0]/255,C=g[1]/255,N=g[2]/255,P=Math.max(A,C,N),L=P-Math.min(A,C,N),z=function(H){return(P-H)/6/L+.5};return L===0?m=p=0:(p=L/P,h=z(A),y=z(C),E=z(N),A===P?m=E-y:C===P?m=1/3+h-E:N===P&&(m=2/3+y-h),m<0?m+=1:m>1&&(m-=1)),[360*m,100*p,100*P]},_.rgb.hwb=function(g){var h=g[0],y=g[1],E=g[2];return[_.rgb.hsl(g)[0],100*(1/255*Math.min(h,Math.min(y,E))),100*(E=1-1/255*Math.max(h,Math.max(y,E)))]},_.rgb.cmyk=function(g){var h,y=g[0]/255,E=g[1]/255,m=g[2]/255;return[100*((1-y-(h=Math.min(1-y,1-E,1-m)))/(1-h)||0),100*((1-E-h)/(1-h)||0),100*((1-m-h)/(1-h)||0),100*h]},_.rgb.keyword=function(g){var h=c[g];if(h)return h;var y,E,m,p=1/0;for(var A in f)if(f.hasOwnProperty(A)){var C=f[A],N=(E=g,m=C,Math.pow(E[0]-m[0],2)+Math.pow(E[1]-m[1],2)+Math.pow(E[2]-m[2],2));N.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.3576*(y=y>.04045?Math.pow((y+.055)/1.055,2.4):y/12.92)+.1805*(E=E>.04045?Math.pow((E+.055)/1.055,2.4):E/12.92)),100*(.2126*h+.7152*y+.0722*E),100*(.0193*h+.1192*y+.9505*E)]},_.rgb.lab=function(g){var h=_.rgb.xyz(g),y=h[0],E=h[1],m=h[2];return E/=100,m/=108.883,y=(y/=95.047)>.008856?Math.pow(y,1/3):7.787*y+16/116,[116*(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116)-16,500*(y-E),200*(E-(m=m>.008856?Math.pow(m,1/3):7.787*m+16/116))]},_.hsl.rgb=function(g){var h,y,E,m,p,A=g[0]/360,C=g[1]/100,N=g[2]/100;if(C===0)return[p=255*N,p,p];h=2*N-(y=N<.5?N*(1+C):N+C-N*C),m=[0,0,0];for(var P=0;P<3;P++)(E=A+1/3*-(P-1))<0&&E++,E>1&&E--,p=6*E<1?h+6*(y-h)*E:2*E<1?y:3*E<2?h+(y-h)*(2/3-E)*6:h,m[P]=255*p;return m},_.hsl.hsv=function(g){var h=g[0],y=g[1]/100,E=g[2]/100,m=y,p=Math.max(E,.01);return y*=(E*=2)<=1?E:2-E,m*=p<=1?p:2-p,[h,100*(E===0?2*m/(p+m):2*y/(E+y)),100*((E+y)/2)]},_.hsv.rgb=function(g){var h=g[0]/60,y=g[1]/100,E=g[2]/100,m=Math.floor(h)%6,p=h-Math.floor(h),A=255*E*(1-y),C=255*E*(1-y*p),N=255*E*(1-y*(1-p));switch(E*=255,m){case 0:return[E,N,A];case 1:return[C,E,A];case 2:return[A,E,N];case 3:return[A,C,E];case 4:return[N,A,E];case 5:return[E,A,C]}},_.hsv.hsl=function(g){var h,y,E,m=g[0],p=g[1]/100,A=g[2]/100,C=Math.max(A,.01);return E=(2-p)*A,y=p*C,[m,100*(y=(y/=(h=(2-p)*C)<=1?h:2-h)||0),100*(E/=2)]},_.hwb.rgb=function(g){var h,y,E,m,p,A,C,N=g[0]/360,P=g[1]/100,L=g[2]/100,z=P+L;switch(z>1&&(P/=z,L/=z),E=6*N-(h=Math.floor(6*N)),(1&h)!=0&&(E=1-E),m=P+E*((y=1-L)-P),h){default:case 6:case 0:p=y,A=m,C=P;break;case 1:p=m,A=y,C=P;break;case 2:p=P,A=y,C=m;break;case 3:p=P,A=m,C=y;break;case 4:p=m,A=P,C=y;break;case 5:p=y,A=P,C=m}return[255*p,255*A,255*C]},_.cmyk.rgb=function(g){var h=g[0]/100,y=g[1]/100,E=g[2]/100,m=g[3]/100;return[255*(1-Math.min(1,h*(1-m)+m)),255*(1-Math.min(1,y*(1-m)+m)),255*(1-Math.min(1,E*(1-m)+m))]},_.xyz.rgb=function(g){var h,y,E,m=g[0]/100,p=g[1]/100,A=g[2]/100;return y=-.9689*m+1.8758*p+.0415*A,E=.0557*m+-.204*p+1.057*A,h=(h=3.2406*m+-1.5372*p+-.4986*A)>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,y=y>.0031308?1.055*Math.pow(y,1/2.4)-.055:12.92*y,E=E>.0031308?1.055*Math.pow(E,1/2.4)-.055:12.92*E,[255*(h=Math.min(Math.max(0,h),1)),255*(y=Math.min(Math.max(0,y),1)),255*(E=Math.min(Math.max(0,E),1))]},_.xyz.lab=function(g){var h=g[0],y=g[1],E=g[2];return y/=100,E/=108.883,h=(h/=95.047)>.008856?Math.pow(h,1/3):7.787*h+16/116,[116*(y=y>.008856?Math.pow(y,1/3):7.787*y+16/116)-16,500*(h-y),200*(y-(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116))]},_.lab.xyz=function(g){var h,y,E,m=g[0];h=g[1]/500+(y=(m+16)/116),E=y-g[2]/200;var p=Math.pow(y,3),A=Math.pow(h,3),C=Math.pow(E,3);return y=p>.008856?p:(y-16/116)/7.787,h=A>.008856?A:(h-16/116)/7.787,E=C>.008856?C:(E-16/116)/7.787,[h*=95.047,y*=100,E*=108.883]},_.lab.lch=function(g){var h,y=g[0],E=g[1],m=g[2];return(h=360*Math.atan2(m,E)/2/Math.PI)<0&&(h+=360),[y,Math.sqrt(E*E+m*m),h]},_.lch.lab=function(g){var h,y=g[0],E=g[1];return h=g[2]/360*2*Math.PI,[y,E*Math.cos(h),E*Math.sin(h)]},_.rgb.ansi16=function(g){var h=g[0],y=g[1],E=g[2],m=1 in arguments?arguments[1]:_.rgb.hsv(g)[2];if((m=Math.round(m/50))===0)return 30;var p=30+(Math.round(E/255)<<2|Math.round(y/255)<<1|Math.round(h/255));return m===2&&(p+=60),p},_.hsv.ansi16=function(g){return _.rgb.ansi16(_.hsv.rgb(g),g[2])},_.rgb.ansi256=function(g){var h=g[0],y=g[1],E=g[2];return h===y&&y===E?h<8?16:h>248?231:Math.round((h-8)/247*24)+232:16+36*Math.round(h/255*5)+6*Math.round(y/255*5)+Math.round(E/255*5)},_.ansi16.rgb=function(g){var h=g%10;if(h===0||h===7)return g>50&&(h+=3.5),[h=h/10.5*255,h,h];var y=.5*(1+~~(g>50));return[(1&h)*y*255,(h>>1&1)*y*255,(h>>2&1)*y*255]},_.ansi256.rgb=function(g){if(g>=232){var h=10*(g-232)+8;return[h,h,h]}var y;return g-=16,[Math.floor(g/36)/5*255,Math.floor((y=g%36)/6)/5*255,y%6/5*255]},_.rgb.hex=function(g){var h=(((255&Math.round(g[0]))<<16)+((255&Math.round(g[1]))<<8)+(255&Math.round(g[2]))).toString(16).toUpperCase();return"000000".substring(h.length)+h},_.hex.rgb=function(g){var h=g.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!h)return[0,0,0];var y=h[0];h[0].length===3&&(y=y.split("").map(function(m){return m+m}).join(""));var E=parseInt(y,16);return[E>>16&255,E>>8&255,255&E]},_.rgb.hcg=function(g){var h,y=g[0]/255,E=g[1]/255,m=g[2]/255,p=Math.max(Math.max(y,E),m),A=Math.min(Math.min(y,E),m),C=p-A;return h=C<=0?0:p===y?(E-m)/C%6:p===E?2+(m-y)/C:4+(y-E)/C+4,h/=6,[360*(h%=1),100*C,100*(C<1?A/(1-C):0)]},_.hsl.hcg=function(g){var h=g[1]/100,y=g[2]/100,E=1,m=0;return(E=y<.5?2*h*y:2*h*(1-y))<1&&(m=(y-.5*E)/(1-E)),[g[0],100*E,100*m]},_.hsv.hcg=function(g){var h=g[1]/100,y=g[2]/100,E=h*y,m=0;return E<1&&(m=(y-E)/(1-E)),[g[0],100*E,100*m]},_.hcg.rgb=function(g){var h=g[0]/360,y=g[1]/100,E=g[2]/100;if(y===0)return[255*E,255*E,255*E];var m,p=[0,0,0],A=h%1*6,C=A%1,N=1-C;switch(Math.floor(A)){case 0:p[0]=1,p[1]=C,p[2]=0;break;case 1:p[0]=N,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=C;break;case 3:p[0]=0,p[1]=N,p[2]=1;break;case 4:p[0]=C,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=N}return m=(1-y)*E,[255*(y*p[0]+m),255*(y*p[1]+m),255*(y*p[2]+m)]},_.hcg.hsv=function(g){var h=g[1]/100,y=h+g[2]/100*(1-h),E=0;return y>0&&(E=h/y),[g[0],100*E,100*y]},_.hcg.hsl=function(g){var h=g[1]/100,y=g[2]/100*(1-h)+.5*h,E=0;return y>0&&y<.5?E=h/(2*y):y>=.5&&y<1&&(E=h/(2*(1-y))),[g[0],100*E,100*y]},_.hcg.hwb=function(g){var h=g[1]/100,y=h+g[2]/100*(1-h);return[g[0],100*(y-h),100*(1-y)]},_.hwb.hcg=function(g){var h=g[1]/100,y=1-g[2]/100,E=y-h,m=0;return E<1&&(m=(y-E)/(1-E)),[g[0],100*E,100*m]},_.apple.rgb=function(g){return[g[0]/65535*255,g[1]/65535*255,g[2]/65535*255]},_.rgb.apple=function(g){return[g[0]/255*65535,g[1]/255*65535,g[2]/255*65535]},_.gray.rgb=function(g){return[g[0]/100*255,g[0]/100*255,g[0]/100*255]},_.gray.hsl=_.gray.hsv=function(g){return[0,0,g[0]]},_.gray.hwb=function(g){return[0,100,g[0]]},_.gray.cmyk=function(g){return[0,0,0,g[0]]},_.gray.lab=function(g){return[g[0],0,0]},_.gray.hex=function(g){var h=255&Math.round(g[0]/100*255),y=((h<<16)+(h<<8)+h).toString(16).toUpperCase();return"000000".substring(y.length)+y},_.rgb.gray=function(g){return[(g[0]+g[1]+g[2])/3/255*100]}},function(R,b,o){var f=o(96),c=o(146),M=o(101),_=o(336),x=o(342),O=o(181),S=o(182),g=o(345),h=o(346),y=o(186),E=o(347),m=o(73),p=o(351),A=o(352),C=o(191),N=o(31),P=o(72),L=o(356),z=o(43),H=o(358),re=o(57),ae=o(64),ue={};ue["[object Arguments]"]=ue["[object Array]"]=ue["[object ArrayBuffer]"]=ue["[object DataView]"]=ue["[object Boolean]"]=ue["[object Date]"]=ue["[object Float32Array]"]=ue["[object Float64Array]"]=ue["[object Int8Array]"]=ue["[object Int16Array]"]=ue["[object Int32Array]"]=ue["[object Map]"]=ue["[object Number]"]=ue["[object Object]"]=ue["[object RegExp]"]=ue["[object Set]"]=ue["[object String]"]=ue["[object Symbol]"]=ue["[object Uint8Array]"]=ue["[object Uint8ClampedArray]"]=ue["[object Uint16Array]"]=ue["[object Uint32Array]"]=!0,ue["[object Error]"]=ue["[object Function]"]=ue["[object WeakMap]"]=!1,R.exports=function xe(ye,Y,Ce,ge,he,Q){var W,le=1&Y,Oe=2&Y,Te=4&Y;if(Ce&&(W=he?Ce(ye,ge,he,Q):Ce(ye)),W!==void 0)return W;if(!z(ye))return ye;var se=N(ye);if(se){if(W=p(ye),!le)return S(ye,W)}else{var ee=m(ye),te=ee=="[object Function]"||ee=="[object GeneratorFunction]";if(P(ye))return O(ye,le);if(ee=="[object Object]"||ee=="[object Arguments]"||te&&!he){if(W=Oe||te?{}:C(ye),!le)return Oe?h(ye,x(W,ye)):g(ye,_(W,ye))}else{if(!ue[ee])return he?ye:{};W=A(ye,ee,le)}}Q||(Q=new f);var U=Q.get(ye);if(U)return U;Q.set(ye,W),H(ye)?ye.forEach(function(B){W.add(xe(B,Y,Ce,B,ye,Q))}):L(ye)&&ye.forEach(function(B,J){W.set(J,xe(B,Y,Ce,J,ye,Q))});var X=se?void 0:(Te?Oe?E:y:Oe?ae:re)(ye);return c(X||ye,function(B,J){X&&(B=ye[J=B]),M(W,J,xe(B,Y,Ce,J,ye,Q))}),W}},function(R,b,o){(function(f){function c(_){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(_)}var M=(f===void 0?"undefined":c(f))=="object"&&f&&f.Object===Object&&f;R.exports=M}).call(this,o(176))},function(R,b){function o(c){return(o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M})(c)}var f;f=function(){return this}();try{f=f||new Function("return this")()}catch(c){(typeof window=="undefined"?"undefined":o(window))==="object"&&(f=window)}R.exports=f},function(R,b){var o=Function.prototype.toString;R.exports=function(f){if(f!=null){try{return o.call(f)}catch(c){}try{return f+""}catch(c){}}return""}},function(R,b,o){var f=o(62),c=function(){try{var M=f(Object,"defineProperty");return M({},"",{}),M}catch(_){}}();R.exports=c},function(R,b,o){var f=o(337),c=o(86),M=o(31),_=o(72),x=o(103),O=o(88),S=Object.prototype.hasOwnProperty;R.exports=function(g,h){var y=M(g),E=!y&&c(g),m=!y&&!E&&_(g),p=!y&&!E&&!m&&O(g),A=y||E||m||p,C=A?f(g.length,String):[],N=C.length;for(var P in g)!h&&!S.call(g,P)||A&&(P=="length"||m&&(P=="offset"||P=="parent")||p&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||x(P,N))||C.push(P);return C}},function(R,b){R.exports=function(o,f){return function(c){return o(f(c))}}},function(R,b,o){(function(f){function c(g){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(g)}var M=o(47),_=c(b)=="object"&&b&&!b.nodeType&&b,x=_&&c(f)=="object"&&f&&!f.nodeType&&f,O=x&&x.exports===_?M.Buffer:void 0,S=O?O.allocUnsafe:void 0;f.exports=function(g,h){if(h)return g.slice();var y=g.length,E=S?S(y):new g.constructor(y);return g.copy(E),E}}).call(this,o(87)(R))},function(R,b){R.exports=function(o,f){var c=-1,M=o.length;for(f||(f=Array(M));++cE))return!1;var p=h.get(_),A=h.get(x);if(p&&A)return p==x&&A==_;var C=-1,N=!0,P=2&O?new f:void 0;for(h.set(_,x),h.set(x,_);++C0&&(m=C.removeMin(),(p=A[m]).distance!==Number.POSITIVE_INFINITY);)E(m).forEach(N);return A}(_,String(x),O||M,S||function(g){return _.outEdges(g)})};var M=f.constant(1)},function(R,b,o){var f=o(42);function c(){this._arr=[],this._keyIndices={}}R.exports=c,c.prototype.size=function(){return this._arr.length},c.prototype.keys=function(){return this._arr.map(function(M){return M.key})},c.prototype.has=function(M){return f.has(this._keyIndices,M)},c.prototype.priority=function(M){var _=this._keyIndices[M];if(_!==void 0)return this._arr[_].priority},c.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},c.prototype.add=function(M,_){var x=this._keyIndices;if(M=String(M),!f.has(x,M)){var O=this._arr,S=O.length;return x[M]=S,O.push({key:M,priority:_}),this._decrease(S),!0}return!1},c.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var M=this._arr.pop();return delete this._keyIndices[M.key],this._heapify(0),M.key},c.prototype.decrease=function(M,_){var x=this._keyIndices[M];if(_>this._arr[x].priority)throw new Error("New priority is greater than current priority. Key: "+M+" Old: "+this._arr[x].priority+" New: "+_);this._arr[x].priority=_,this._decrease(x)},c.prototype._heapify=function(M){var _=this._arr,x=2*M,O=x+1,S=M;x<_.length&&(S=_[x].priority<_[S].priority?x:S,O<_.length&&(S=_[O].priority<_[S].priority?O:S),S!==M&&(this._swap(M,S),this._heapify(S)))},c.prototype._decrease=function(M){for(var _,x=this._arr,O=x[M].priority;M!==0&&!(x[_=M>>1].priority=0&&Le=this._keys.length?(this._index=-1,this._keys=Z,this._values=Z):this._index++,{value:Se,done:!1}}return{value:void 0,done:!0}},Ae.prototype.throw=function(Le){throw this._index>=0&&(this._index=-1,this._keys=Z,this._values=Z),Le},Ae.prototype.return=function(Le){return this._index>=0&&(this._index=-1,this._keys=Z,this._values=Z),{value:Le,done:!0}},Ae}();return function(){function Ae(){this._keys=[],this._values=[],this._cacheKey=ie,this._cacheIndex=-2}return Object.defineProperty(Ae.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Ae.prototype.has=function(Le){return this._find(Le,!1)>=0},Ae.prototype.get=function(Le){var Se=this._find(Le,!1);return Se>=0?this._values[Se]:void 0},Ae.prototype.set=function(Le,Se){var Re=this._find(Le,!0);return this._values[Re]=Se,this},Ae.prototype.delete=function(Le){var Se=this._find(Le,!1);if(Se>=0){for(var Re=this._keys.length,Ke=Se+1;Ke=0;--Ae){var Le=(0,je[Ae])(Me);if(!Q(Le)&&!W(Le)){if(!te(Le))throw new TypeError;Me=Le}}return Me}(ie,Z)}if(!se(ie))throw new TypeError;if(!le(Z))throw new TypeError;if(!le(_e)&&!Q(_e)&&!W(_e))throw new TypeError;return W(_e)&&(_e=void 0),function(je,Me,Ae,Le){for(var Se=je.length-1;Se>=0;--Se){var Re=(0,je[Se])(Me,Ae,Le);if(!Q(Re)&&!W(Re)){if(!le(Re))throw new TypeError;Le=Re}}return Le}(ie,Z,fe=Te(fe),_e)}),y("metadata",function(ie,Z){return function(fe,_e){if(!le(fe))throw new TypeError;if(!Q(_e)&&!function(je){switch(he(je)){case 3:case 4:return!0;default:return!1}}(_e))throw new TypeError;Ce(ie,Z,fe,_e)}}),y("defineMetadata",function(ie,Z,fe,_e){if(!le(fe))throw new TypeError;return Q(_e)||(_e=Te(_e)),Ce(ie,Z,fe,_e)}),y("hasMetadata",function(ie,Z,fe){if(!le(Z))throw new TypeError;return Q(fe)||(fe=Te(fe)),function _e(je,Me,Ae){if(ye(je,Me,Ae))return!0;var Le=J(Me);return!W(Le)&&_e(je,Le,Ae)}(ie,Z,fe)}),y("hasOwnMetadata",function(ie,Z,fe){if(!le(Z))throw new TypeError;return Q(fe)||(fe=Te(fe)),ye(ie,Z,fe)}),y("getMetadata",function(ie,Z,fe){if(!le(Z))throw new TypeError;return Q(fe)||(fe=Te(fe)),function _e(je,Me,Ae){if(ye(je,Me,Ae))return Y(je,Me,Ae);var Le=J(Me);return W(Le)?void 0:_e(je,Le,Ae)}(ie,Z,fe)}),y("getOwnMetadata",function(ie,Z,fe){if(!le(Z))throw new TypeError;return Q(fe)||(fe=Te(fe)),Y(ie,Z,fe)}),y("getMetadataKeys",function(ie,Z){if(!le(ie))throw new TypeError;return Q(Z)||(Z=Te(Z)),function fe(_e,je){var Me=ge(_e,je),Ae=J(_e);if(Ae===null)return Me;var Le=fe(Ae,je);if(Le.length<=0)return Me;if(Me.length<=0)return Le;for(var Se=new ae,Re=[],Ke=0,Je=Me;Ke0)return!0;var je=ue.get(Z);return je.delete(fe),je.size>0||ue.delete(Z),!0})}(g)})()})(_||(_={}))}).call(this,o(166),o(176))},function(R,b,o){var f=o(230);R.exports=function(c,M){if(c){if(typeof c=="string")return f(c,M);var _=Object.prototype.toString.call(c).slice(8,-1);return _==="Object"&&c.constructor&&(_=c.constructor.name),_==="Map"||_==="Set"?Array.from(c):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?f(c,M):void 0}},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){R.exports=function(o,f){(f==null||f>o.length)&&(f=o.length);for(var c=0,M=new Array(f);cS[0]&&(S[0]=h),y>S[1]&&(S[1]=y),E>S[2]&&(S[2]=E)}return x.setMinMax(O,S),x}},function(R,b,o){"use strict";o.d(b,"a",function(){return f});var f=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent)},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b,o){"use strict";var f;(function(c){c.Normal="normal",c.PostProcessing="post-processing"})(f||(f={}))},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){},function(R,b){R.exports=1e-6},function(R,b){R.exports=function(){var o=new Float32Array(2);return o[0]=0,o[1]=0,o}},function(R,b){R.exports=function(o,f,c){return o[0]=f,o[1]=c,o}},function(R,b){R.exports=function(o,f,c){return o[0]=f[0]+c[0],o[1]=f[1]+c[1],o}},function(R,b){R.exports=function(o,f,c){return o[0]=f[0]*c[0],o[1]=f[1]*c[1],o}},function(R,b){R.exports=function(o,f,c){return o[0]=f[0]/c[0],o[1]=f[1]/c[1],o}},function(R,b){R.exports=function(o,f){var c=f[0]-o[0],M=f[1]-o[1];return Math.sqrt(c*c+M*M)}},function(R,b){R.exports=function(o,f){var c=f[0]-o[0],M=f[1]-o[1];return c*c+M*M}},function(R,b){R.exports=function(o){var f=o[0],c=o[1];return Math.sqrt(f*f+c*c)}},function(R,b){R.exports=function(o){var f=o[0],c=o[1];return f*f+c*c}},function(R,b){R.exports=function(o,f){var c=f[0],M=f[1],_=c*c+M*M;return _>0&&(_=1/Math.sqrt(_),o[0]=f[0]*_,o[1]=f[1]*_),o}},function(R,b){R.exports=function(o,f){return o[0]*f[0]+o[1]*f[1]}},function(R,b,o){"use strict";var f={};o.r(f),o.d(f,"easeLinear",function(){return ye}),o.d(f,"easeQuad",function(){return ge}),o.d(f,"easeQuadIn",function(){return Y}),o.d(f,"easeQuadOut",function(){return Ce}),o.d(f,"easeQuadInOut",function(){return ge}),o.d(f,"easeCubic",function(){return W}),o.d(f,"easeCubicIn",function(){return he}),o.d(f,"easeCubicOut",function(){return Q}),o.d(f,"easeCubicInOut",function(){return W}),o.d(f,"easePoly",function(){return Te}),o.d(f,"easePolyIn",function(){return le}),o.d(f,"easePolyOut",function(){return Oe}),o.d(f,"easePolyInOut",function(){return Te}),o.d(f,"easeSin",function(){return X}),o.d(f,"easeSinIn",function(){return te}),o.d(f,"easeSinOut",function(){return U}),o.d(f,"easeSinInOut",function(){return X}),o.d(f,"easeExp",function(){return ie}),o.d(f,"easeExpIn",function(){return J}),o.d(f,"easeExpOut",function(){return ne}),o.d(f,"easeExpInOut",function(){return ie}),o.d(f,"easeCircle",function(){return _e}),o.d(f,"easeCircleIn",function(){return Z}),o.d(f,"easeCircleOut",function(){return fe}),o.d(f,"easeCircleInOut",function(){return _e}),o.d(f,"easeBounce",function(){return Ae}),o.d(f,"easeBounceIn",function(){return Me}),o.d(f,"easeBounceOut",function(){return Ae}),o.d(f,"easeBounceInOut",function(){return Le}),o.d(f,"easeBack",function(){return Ke}),o.d(f,"easeBackIn",function(){return Se}),o.d(f,"easeBackOut",function(){return Re}),o.d(f,"easeBackInOut",function(){return Ke}),o.d(f,"easeElastic",function(){return dt}),o.d(f,"easeElasticIn",function(){return nt}),o.d(f,"easeElasticOut",function(){return dt}),o.d(f,"easeElasticInOut",function(){return kt});var c=o(1),M=o(138),_=o(136),x=o(19),O=o(0);function S(We){return(S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ne){return typeof Ne}:function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne})(We)}var g,h,y=0,E=0,m=0,p=0,A=0,C=0,N=(typeof performance=="undefined"?"undefined":S(performance))==="object"&&performance.now?performance:Date,P=(typeof window=="undefined"?"undefined":S(window))==="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(We){setTimeout(We,17)};function L(){return A||(P(z),A=N.now()+C)}function z(){A=0}function H(){this._call=this._time=this._next=null}function re(We,Ne,He){var ft=new H;return ft.restart(We,Ne,He),ft}function ae(){A=(p=N.now())+C,y=E=0;try{(function(){L(),++y;for(var We,Ne=g;Ne;)(We=A-Ne._time)>=0&&Ne._call.call(null,We),Ne=Ne._next;--y})()}finally{y=0,function(){for(var We,Ne,He=g,ft=1/0;He;)He._call?(ft>He._time&&(ft=He._time),We=He,He=He._next):(Ne=He._next,He._next=null,He=We?We._next=Ne:g=Ne);h=We,xe(ft)}(),A=0}}function ue(){var We=N.now(),Ne=We-p;Ne>1e3&&(C-=Ne,p=We)}function xe(We){y||(E&&(E=clearTimeout(E)),We-A>24?(We<1/0&&(E=setTimeout(ae,We-N.now()-C)),m&&(m=clearInterval(m))):(m||(p=N.now(),m=setInterval(ue,1e3)),y=1,P(ae)))}function ye(We){return+We}function Y(We){return We*We}function Ce(We){return We*(2-We)}function ge(We){return((We*=2)<=1?We*We:--We*(2-We)+1)/2}function he(We){return We*We*We}function Q(We){return--We*We*We+1}function W(We){return((We*=2)<=1?We*We*We:(We-=2)*We*We+2)/2}H.prototype=re.prototype={constructor:H,restart:function(We,Ne,He){if(typeof We!="function")throw new TypeError("callback is not a function");He=(He==null?L():+He)+(Ne==null?0:+Ne),this._next||h===this||(h?h._next=this:g=this,h=this),this._call=We,this._time=He,xe()},stop:function(){this._call&&(this._call=null,this._time=1/0,xe())}};var le=function We(Ne){function He(ft){return Math.pow(ft,Ne)}return Ne=+Ne,He.exponent=We,He}(3),Oe=function We(Ne){function He(ft){return 1-Math.pow(1-ft,Ne)}return Ne=+Ne,He.exponent=We,He}(3),Te=function We(Ne){function He(ft){return((ft*=2)<=1?Math.pow(ft,Ne):2-Math.pow(2-ft,Ne))/2}return Ne=+Ne,He.exponent=We,He}(3),se=Math.PI,ee=se/2;function te(We){return+We==1?1:1-Math.cos(We*ee)}function U(We){return Math.sin(We*ee)}function X(We){return(1-Math.cos(se*We))/2}function B(We){return 1.0009775171065494*(Math.pow(2,-10*We)-.0009765625)}function J(We){return B(1-+We)}function ne(We){return 1-B(We)}function ie(We){return((We*=2)<=1?B(1-We):2-B(We-1))/2}function Z(We){return 1-Math.sqrt(1-We*We)}function fe(We){return Math.sqrt(1- --We*We)}function _e(We){return((We*=2)<=1?1-Math.sqrt(1-We*We):Math.sqrt(1-(We-=2)*We)+1)/2}var je=7.5625;function Me(We){return 1-Ae(1-We)}function Ae(We){return(We=+We)<4/11?je*We*We:We<8/11?je*(We-=6/11)*We+3/4:We<10/11?je*(We-=9/11)*We+15/16:je*(We-=21/22)*We+63/64}function Le(We){return((We*=2)<=1?1-Ae(1-We):Ae(We-1)+1)/2}var Se=function We(Ne){function He(ft){return(ft=+ft)*ft*(Ne*(ft-1)+ft)}return Ne=+Ne,He.overshoot=We,He}(1.70158),Re=function We(Ne){function He(ft){return--ft*ft*((ft+1)*Ne+ft)+1}return Ne=+Ne,He.overshoot=We,He}(1.70158),Ke=function We(Ne){function He(ft){return((ft*=2)<1?ft*ft*((Ne+1)*ft-Ne):(ft-=2)*ft*((Ne+1)*ft+Ne)+2)/2}return Ne=+Ne,He.overshoot=We,He}(1.70158),Je=2*Math.PI,nt=function We(Ne,He){var ft=Math.asin(1/(Ne=Math.max(1,Ne)))*(He/=Je);function Tt(Ht){return Ne*B(- --Ht)*Math.sin((ft-Ht)/He)}return Tt.amplitude=function(Ht){return We(Ht,He*Je)},Tt.period=function(Ht){return We(Ne,Ht)},Tt}(1,.3),dt=function We(Ne,He){var ft=Math.asin(1/(Ne=Math.max(1,Ne)))*(He/=Je);function Tt(Ht){return 1-Ne*B(Ht=+Ht)*Math.sin((Ht+ft)/He)}return Tt.amplitude=function(Ht){return We(Ht,He*Je)},Tt.period=function(Ht){return We(Ne,Ht)},Tt}(1,.3),kt=function We(Ne,He){var ft=Math.asin(1/(Ne=Math.max(1,Ne)))*(He/=Je);function Tt(Ht){return((Ht=2*Ht-1)<0?Ne*B(-Ht)*Math.sin((ft-Ht)/He):2-Ne*B(Ht)*Math.sin((ft+Ht)/He))/2}return Tt.amplitude=function(Ht){return We(Ht,He*Je)},Tt.period=function(Ht){return We(Ne,Ht)},Tt}(1,.3),At=function(We,Ne,He){We.prototype=Ne.prototype=He,He.constructor=We};function It(We,Ne){var He=Object.create(We.prototype);for(var ft in Ne)He[ft]=Ne[ft];return He}function Kt(){}var Qt="\\s*([+-]?\\d+)\\s*",tr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",nr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mr=/^#([0-9a-f]{3,8})$/,ar=new RegExp("^rgb\\("+[Qt,Qt,Qt]+"\\)$"),yr=new RegExp("^rgb\\("+[nr,nr,nr]+"\\)$"),mr=new RegExp("^rgba\\("+[Qt,Qt,Qt,tr]+"\\)$"),Rr=new RegExp("^rgba\\("+[nr,nr,nr,tr]+"\\)$"),pr=new RegExp("^hsl\\("+[tr,nr,nr]+"\\)$"),xr=new RegExp("^hsla\\("+[tr,nr,nr,tr]+"\\)$"),dr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Gr(){return this.rgb().formatHex()}function Lr(){return this.rgb().formatRgb()}function pn(We){var Ne,He;return We=(We+"").trim().toLowerCase(),(Ne=Mr.exec(We))?(He=Ne[1].length,Ne=parseInt(Ne[1],16),He===6?Ur(Ne):He===3?new Ir(Ne>>8&15|Ne>>4&240,Ne>>4&15|240&Ne,(15&Ne)<<4|15&Ne,1):He===8?Nr(Ne>>24&255,Ne>>16&255,Ne>>8&255,(255&Ne)/255):He===4?Nr(Ne>>12&15|Ne>>8&240,Ne>>8&15|Ne>>4&240,Ne>>4&15|240&Ne,((15&Ne)<<4|15&Ne)/255):null):(Ne=ar.exec(We))?new Ir(Ne[1],Ne[2],Ne[3],1):(Ne=yr.exec(We))?new Ir(255*Ne[1]/100,255*Ne[2]/100,255*Ne[3]/100,1):(Ne=mr.exec(We))?Nr(Ne[1],Ne[2],Ne[3],Ne[4]):(Ne=Rr.exec(We))?Nr(255*Ne[1]/100,255*Ne[2]/100,255*Ne[3]/100,Ne[4]):(Ne=pr.exec(We))?Rn(Ne[1],Ne[2]/100,Ne[3]/100,1):(Ne=xr.exec(We))?Rn(Ne[1],Ne[2]/100,Ne[3]/100,Ne[4]):dr.hasOwnProperty(We)?Ur(dr[We]):We==="transparent"?new Ir(NaN,NaN,NaN,0):null}function Ur(We){return new Ir(We>>16&255,We>>8&255,255&We,1)}function Nr(We,Ne,He,ft){return ft<=0&&(We=Ne=He=NaN),new Ir(We,Ne,He,ft)}function Dr(We){return We instanceof Kt||(We=pn(We)),We?new Ir((We=We.rgb()).r,We.g,We.b,We.opacity):new Ir}function rn(We,Ne,He,ft){return arguments.length===1?Dr(We):new Ir(We,Ne,He,ft==null?1:ft)}function Ir(We,Ne,He,ft){this.r=+We,this.g=+Ne,this.b=+He,this.opacity=+ft}function On(){return"#"+Dn(this.r)+Dn(this.g)+Dn(this.b)}function In(){var We=this.opacity;return((We=isNaN(We)?1:Math.max(0,Math.min(1,We)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(We===1?")":", "+We+")")}function Dn(We){return((We=Math.max(0,Math.min(255,Math.round(We)||0)))<16?"0":"")+We.toString(16)}function Rn(We,Ne,He,ft){return ft<=0?We=Ne=He=NaN:He<=0||He>=1?We=Ne=NaN:Ne<=0&&(We=NaN),new Er(We,Ne,He,ft)}function gn(We){if(We instanceof Er)return new Er(We.h,We.s,We.l,We.opacity);if(We instanceof Kt||(We=pn(We)),!We)return new Er;if(We instanceof Er)return We;var Ne=(We=We.rgb()).r/255,He=We.g/255,ft=We.b/255,Tt=Math.min(Ne,He,ft),Ht=Math.max(Ne,He,ft),vr=NaN,Be=Ht-Tt,ut=(Ht+Tt)/2;return Be?(vr=Ne===Ht?(He-ft)/Be+6*(He0&&ut<1?0:vr,new Er(vr,Be,ut,We.opacity)}function Er(We,Ne,He,ft){this.h=+We,this.s=+Ne,this.l=+He,this.opacity=+ft}function ln(We,Ne,He){return 255*(We<60?Ne+(He-Ne)*We/60:We<180?He:We<240?Ne+(He-Ne)*(240-We)/60:Ne)}function yn(We,Ne,He,ft,Tt){var Ht=We*We,vr=Ht*We;return((1-3*We+3*Ht-vr)*Ne+(4-6*Ht+3*vr)*He+(1+3*We+3*Ht-3*vr)*ft+vr*Tt)/6}At(Kt,pn,{copy:function(We){return Object.assign(new this.constructor,this,We)},displayable:function(){return this.rgb().displayable()},hex:Gr,formatHex:Gr,formatHsl:function(){return gn(this).formatHsl()},formatRgb:Lr,toString:Lr}),At(Ir,rn,It(Kt,{brighter:function(We){return We=We==null?1/.7:Math.pow(1/.7,We),new Ir(this.r*We,this.g*We,this.b*We,this.opacity)},darker:function(We){return We=We==null?.7:Math.pow(.7,We),new Ir(this.r*We,this.g*We,this.b*We,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:On,formatHex:On,formatRgb:In,toString:In})),At(Er,function(We,Ne,He,ft){return arguments.length===1?gn(We):new Er(We,Ne,He,ft==null?1:ft)},It(Kt,{brighter:function(We){return We=We==null?1/.7:Math.pow(1/.7,We),new Er(this.h,this.s,this.l*We,this.opacity)},darker:function(We){return We=We==null?.7:Math.pow(.7,We),new Er(this.h,this.s,this.l*We,this.opacity)},rgb:function(){var We=this.h%360+360*(this.h<0),Ne=isNaN(We)||isNaN(this.s)?0:this.s,He=this.l,ft=He+(He<.5?He:1-He)*Ne,Tt=2*He-ft;return new Ir(ln(We>=240?We-240:We+120,Tt,ft),ln(We,Tt,ft),ln(We<120?We+240:We-120,Tt,ft),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var We=this.opacity;return((We=isNaN(We)?1:Math.max(0,Math.min(1,We)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(We===1?")":", "+We+")")}}));var mn=function(We){return function(){return We}};function Qn(We,Ne){return function(He){return We+He*Ne}}function Un(We){return(We=+We)==1?ri:function(Ne,He){return He-Ne?function(ft,Tt,Ht){return ft=Math.pow(ft,Ht),Tt=Math.pow(Tt,Ht)-ft,Ht=1/Ht,function(vr){return Math.pow(ft+vr*Tt,Ht)}}(Ne,He,We):mn(isNaN(Ne)?He:Ne)}}function ri(We,Ne){var He=Ne-We;return He?Qn(We,He):mn(isNaN(We)?Ne:We)}var Oi=function We(Ne){var He=Un(Ne);function ft(Tt,Ht){var vr=He((Tt=rn(Tt)).r,(Ht=rn(Ht)).r),Be=He(Tt.g,Ht.g),ut=He(Tt.b,Ht.b),bt=ri(Tt.opacity,Ht.opacity);return function(Ft){return Tt.r=vr(Ft),Tt.g=Be(Ft),Tt.b=ut(Ft),Tt.opacity=bt(Ft),Tt+""}}return ft.gamma=We,ft}(1);function ni(We){return function(Ne){var He,ft,Tt=Ne.length,Ht=new Array(Tt),vr=new Array(Tt),Be=new Array(Tt);for(He=0;He=1?(He=1,Ne-1):Math.floor(He*Ne),Tt=We[ft],Ht=We[ft+1],vr=ft>0?We[ft-1]:2*Tt-Ht,Be=ftHt&&(Tt=Ne.slice(Ht,Tt),Be[vr]?Be[vr]+=Tt:Be[++vr]=Tt),(He=He[0])===(ft=ft[0])?Be[vr]?Be[vr]+=ft:Be[++vr]=ft:(Be[++vr]=null,ut.push({i:vr,x:ii(He,ft)})),Ht=oi.lastIndex;return Htrr.length?(er=Yn.parsePathString(Qe[Wt]),rr=Yn.parsePathString(ze[Wt]),rr=Yn.fillPathByDiff(rr,er),rr=Yn.formatPath(rr,er),bt.fromAttrs.path=rr,bt.toAttrs.path=er):bt.pathFormatted||(er=Yn.parsePathString(Qe[Wt]),rr=Yn.parsePathString(ze[Wt]),rr=Yn.formatPath(rr,er),bt.fromAttrs.path=rr,bt.toAttrs.path=er,bt.pathFormatted=!0),we[Wt]=[];for(var sr=0;sr0){for(var vr=Tt.animators.length-1;vr>=0;vr--)if((Ne=Tt.animators[vr]).destroyed)Tt.removeAnimator(vr);else{if(!Ne.isAnimatePaused())for(var Be=(He=Ne.get("animations")).length-1;Be>=0;Be--)ft=He[Be],Gi(Ne,ft,Ht)&&(He.splice(Be,1),ft.callback&&ft.callback());He.length===0&&Tt.removeAnimator(vr)}Tt.canvas.get("autoDraw")||Tt.canvas.draw()}})},We.prototype.addAnimator=function(Ne){this.animators.push(Ne)},We.prototype.removeAnimator=function(Ne){this.animators.splice(Ne,1)},We.prototype.isAnimating=function(){return!!this.animators.length},We.prototype.stop=function(){this.timer&&this.timer.stop()},We.prototype.stopAllAnimations=function(Ne){Ne===void 0&&(Ne=!0),this.animators.forEach(function(He){He.stopAnimate(Ne)}),this.animators=[],this.canvas.draw()},We.prototype.getTime=function(){return this.current},We}(),oo=o(115),ci=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function li(We,Ne,He){He.name=Ne,He.target=We,He.currentTarget=We,He.delegateTarget=We,We.emit(Ne,He)}function ao(We,Ne,He){if(He.bubbles){var ft=void 0,Tt=!1;if(Ne==="mouseenter"?(ft=He.fromShape,Tt=!0):Ne==="mouseleave"&&(Tt=!0,ft=He.toShape),We.isCanvas()&&Tt)return;if(ft&&Object(x.g)(We,ft))return void(He.bubbles=!1);He.name=Ne,He.currentTarget=We,He.delegateTarget=We,We.emit(Ne,He)}}var Zi=function(){function We(Ne){var He=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(ft){var Tt=ft.type;He._triggerEvent(Tt,ft)},this._onDocumentMove=function(ft){if(He.canvas.get("el")!==ft.target&&(He.dragging||He.currentShape)){var Tt=He._getPointInfo(ft);He.dragging&&He._emitEvent("drag",ft,Tt,He.draggingShape)}},this._onDocumentMouseUp=function(ft){if(He.canvas.get("el")!==ft.target&&He.dragging){var Tt=He._getPointInfo(ft);He.draggingShape&&He._emitEvent("drop",ft,Tt,null),He._emitEvent("dragend",ft,Tt,He.draggingShape),He._afterDrag(He.draggingShape,Tt,ft)}},this.canvas=Ne.canvas}return We.prototype.init=function(){this._bindEvents()},We.prototype._bindEvents=function(){var Ne=this,He=this.canvas.get("el");Object(x.a)(ci,function(ft){He.addEventListener(ft,Ne._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},We.prototype._clearEvents=function(){var Ne=this,He=this.canvas.get("el");Object(x.a)(ci,function(ft){He.removeEventListener(ft,Ne._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},We.prototype._getEventObj=function(Ne,He,ft,Tt,Ht,vr){var Be=new oo.a(Ne,He);return Be.fromShape=Ht,Be.toShape=vr,Be.x=ft.x,Be.y=ft.y,Be.clientX=ft.clientX,Be.clientY=ft.clientY,Be.propagationPath.push(Tt),Be},We.prototype._getShape=function(Ne,He){return this.canvas.getShape(Ne.x,Ne.y,He)},We.prototype._getPointInfo=function(Ne){var He=this.canvas,ft=He.getClientByEvent(Ne),Tt=He.getPointByEvent(Ne);return{x:Tt.x,y:Tt.y,clientX:ft.x,clientY:ft.y}},We.prototype._triggerEvent=function(Ne,He){var ft=this._getPointInfo(He),Tt=this._getShape(ft,He),Ht=this["_on"+Ne],vr=!1;if(Ht)Ht.call(this,ft,Tt,He);else{var Be=this.currentShape;Ne==="mouseenter"||Ne==="dragenter"||Ne==="mouseover"?(this._emitEvent(Ne,He,ft,null,null,Tt),Tt&&this._emitEvent(Ne,He,ft,Tt,null,Tt),Ne==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",He,ft,null)):Ne==="mouseleave"||Ne==="dragleave"||Ne==="mouseout"?(vr=!0,Be&&this._emitEvent(Ne,He,ft,Be,Be,null),this._emitEvent(Ne,He,ft,null,Be,null),Ne==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",He,ft,null)):this._emitEvent(Ne,He,ft,Tt,null,null)}if(vr||(this.currentShape=Tt),Tt&&!Tt.get("destroyed")){var ut=this.canvas;ut.get("el").style.cursor=Tt.attr("cursor")||ut.get("cursor")}},We.prototype._onmousedown=function(Ne,He,ft){ft.button===0&&(this.mousedownShape=He,this.mousedownPoint=Ne,this.mousedownTimeStamp=ft.timeStamp),this._emitEvent("mousedown",ft,Ne,He,null,null)},We.prototype._emitMouseoverEvents=function(Ne,He,ft,Tt){var Ht=this.canvas.get("el");ft!==Tt&&(ft&&(this._emitEvent("mouseout",Ne,He,ft,ft,Tt),this._emitEvent("mouseleave",Ne,He,ft,ft,Tt),Tt&&!Tt.get("destroyed")||(Ht.style.cursor=this.canvas.get("cursor"))),Tt&&(this._emitEvent("mouseover",Ne,He,Tt,ft,Tt),this._emitEvent("mouseenter",Ne,He,Tt,ft,Tt)))},We.prototype._emitDragoverEvents=function(Ne,He,ft,Tt,Ht){Tt?(Tt!==ft&&(ft&&this._emitEvent("dragleave",Ne,He,ft,ft,Tt),this._emitEvent("dragenter",Ne,He,Tt,ft,Tt)),Ht||this._emitEvent("dragover",Ne,He,Tt)):ft&&this._emitEvent("dragleave",Ne,He,ft,ft,Tt),Ht&&this._emitEvent("dragover",Ne,He,Tt)},We.prototype._afterDrag=function(Ne,He,ft){Ne&&(Ne.set("capture",!0),this.draggingShape=null),this.dragging=!1;var Tt=this._getShape(He,ft);Tt!==Ne&&this._emitMouseoverEvents(ft,He,Ne,Tt),this.currentShape=Tt},We.prototype._onmouseup=function(Ne,He,ft){if(ft.button===0){var Tt=this.draggingShape;this.dragging?(Tt&&this._emitEvent("drop",ft,Ne,He),this._emitEvent("dragend",ft,Ne,Tt),this._afterDrag(Tt,Ne,ft)):(this._emitEvent("mouseup",ft,Ne,He),He===this.mousedownShape&&this._emitEvent("click",ft,Ne,He),this.mousedownShape=null,this.mousedownPoint=null)}},We.prototype._ondragover=function(Ne,He,ft){ft.preventDefault();var Tt=this.currentShape;this._emitDragoverEvents(ft,Ne,Tt,He,!0)},We.prototype._onmousemove=function(Ne,He,ft){var Tt=this.canvas,Ht=this.currentShape,vr=this.draggingShape;if(this.dragging)vr&&this._emitDragoverEvents(ft,Ne,Ht,He,!1),this._emitEvent("drag",ft,Ne,vr);else{var Be=this.mousedownPoint;if(Be){var ut=this.mousedownShape,bt=ft.timeStamp-this.mousedownTimeStamp,Ft=Be.clientX-Ne.clientX,we=Be.clientY-Ne.clientY;bt>120||Ft*Ft+we*we>40?ut&&ut.get("draggable")?((vr=this.mousedownShape).set("capture",!1),this.draggingShape=vr,this.dragging=!0,this._emitEvent("dragstart",ft,Ne,vr),this.mousedownShape=null,this.mousedownPoint=null):!ut&&Tt.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",ft,Ne,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(ft,Ne,Ht,He),this._emitEvent("mousemove",ft,Ne,He)):(this._emitMouseoverEvents(ft,Ne,Ht,He),this._emitEvent("mousemove",ft,Ne,He))}else this._emitMouseoverEvents(ft,Ne,Ht,He),this._emitEvent("mousemove",ft,Ne,He)}},We.prototype._emitEvent=function(Ne,He,ft,Tt,Ht,vr){var Be=this._getEventObj(Ne,He,ft,Tt,Ht,vr);if(Tt){Be.shape=Tt,li(Tt,Ne,Be);for(var ut=Tt.getParent();ut;)ut.emitDelegation(Ne,Be),Be.propagationStopped||ao(ut,Ne,Be),Be.propagationPath.push(ut),ut=ut.getParent()}else li(this.canvas,Ne,Be)},We.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},We}(),$i=Object(M.a)(),vo=$i&&$i.name==="firefox",ir=function(We){function Ne(He){var ft=We.call(this,He)||this;return ft.initContainer(),ft.initDom(),ft.initEvents(),ft.initTimeline(),ft}return Object(c.__extends)(Ne,We),Ne.prototype.getDefaultCfg=function(){var He=We.prototype.getDefaultCfg.call(this);return He.cursor="default",He.supportCSSTransform=!1,He},Ne.prototype.initContainer=function(){var He=this.get("container");Object(x.h)(He)&&(He=document.getElementById(He),this.set("container",He))},Ne.prototype.initDom=function(){var He=this.createDom();this.set("el",He),this.get("container").appendChild(He),this.setDOMSize(this.get("width"),this.get("height"))},Ne.prototype.initEvents=function(){var He=new Zi({canvas:this});He.init(),this.set("eventController",He)},Ne.prototype.initTimeline=function(){var He=new Hn(this);this.set("timeline",He)},Ne.prototype.setDOMSize=function(He,ft){var Tt=this.get("el");x.c&&(Tt.style.width=He+"px",Tt.style.height=ft+"px")},Ne.prototype.changeSize=function(He,ft){this.setDOMSize(He,ft),this.set("width",He),this.set("height",ft),this.onCanvasChange("changeSize")},Ne.prototype.getRenderer=function(){return this.get("renderer")},Ne.prototype.getCursor=function(){return this.get("cursor")},Ne.prototype.setCursor=function(He){this.set("cursor",He);var ft=this.get("el");x.c&&ft&&(ft.style.cursor=He)},Ne.prototype.getPointByEvent=function(He){if(this.get("supportCSSTransform")){if(vo&&!Object(x.e)(He.layerX)&&He.layerX!==He.offsetX)return{x:He.layerX,y:He.layerY};if(!Object(x.e)(He.offsetX))return{x:He.offsetX,y:He.offsetY}}var ft=this.getClientByEvent(He),Tt=ft.x,Ht=ft.y;return this.getPointByClient(Tt,Ht)},Ne.prototype.getClientByEvent=function(He){var ft=He;return He.touches&&(ft=He.type==="touchend"?He.changedTouches[0]:He.touches[0]),{x:ft.clientX,y:ft.clientY}},Ne.prototype.getPointByClient=function(He,ft){var Tt=this.get("el").getBoundingClientRect();return{x:He-Tt.left,y:ft-Tt.top}},Ne.prototype.getClientByPoint=function(He,ft){var Tt=this.get("el").getBoundingClientRect();return{x:He+Tt.left,y:ft+Tt.top}},Ne.prototype.draw=function(){},Ne.prototype.removeDom=function(){var He=this.get("el");He.parentNode.removeChild(He)},Ne.prototype.clearEvents=function(){this.get("eventController").destroy()},Ne.prototype.isCanvas=function(){return!0},Ne.prototype.getParent=function(){return null},Ne.prototype.destroy=function(){var He=this.get("timeline");this.get("destroyed")||(this.clear(),He&&He.stop(),this.clearEvents(),this.removeDom(),We.prototype.destroy.call(this))},Ne}(_.a);b.a=ir},function(R,b,o){"use strict";o.d(b,"a",function(){return M});var f=new Map;function c(p,A){f.set(p,A)}function M(p){return f.get(p)}var _=function(p){var A=p.attr();return{x:A.x,y:A.y,width:A.width,height:A.height}},x=function(p){var A=p.attr(),C=A.x,N=A.y,P=A.r;return{x:C-P,y:N-P,width:2*P,height:2*P}},O=o(20);function S(p,A){return p&&A?{minX:Math.min(p.minX,A.minX),minY:Math.min(p.minY,A.minY),maxX:Math.max(p.maxX,A.maxX),maxY:Math.max(p.maxY,A.maxY)}:p||A}function g(p,A){var C=p.get("startArrowShape"),N=p.get("endArrowShape");return C&&(A=S(A,C.getCanvasBBox())),N&&(A=S(A,N.getCanvasBBox())),A}var h=o(67),y=o(37),E=o(0);function m(p,A){var C=p.prePoint,N=p.currentPoint,P=p.nextPoint,L=Math.pow(N[0]-C[0],2)+Math.pow(N[1]-C[1],2),z=Math.pow(N[0]-P[0],2)+Math.pow(N[1]-P[1],2),H=Math.pow(C[0]-P[0],2)+Math.pow(C[1]-P[1],2),re=Math.acos((L+z-H)/(2*Math.sqrt(L)*Math.sqrt(z)));if(!re||Math.sin(re)===0||Object(E.isNumberEqual)(re,0))return{xExtra:0,yExtra:0};var ae=Math.abs(Math.atan2(P[1]-N[1],P[0]-N[0])),ue=Math.abs(Math.atan2(P[0]-N[0],P[1]-N[1]));return ae=ae>Math.PI/2?Math.PI-ae:ae,ue=ue>Math.PI/2?Math.PI-ue:ue,{xExtra:Math.cos(re/2-ae)*(A/2*(1/Math.sin(re/2)))-A/2||0,yExtra:Math.cos(ue-re/2)*(A/2*(1/Math.sin(re/2)))-A/2||0}}c("rect",_),c("image",_),c("circle",x),c("marker",x),c("polyline",function(p){for(var A=p.attr().points,C=[],N=[],P=0;P'}),Y}var A=function(){function xe(ye){this.cfg={};var Y=null,Ce=Object(h.uniqueId)("gradient_");return ye.toLowerCase()[0]==="l"?function(ge,he){var Q,W,le=y.exec(ge),Oe=Object(h.mod)(Object(h.toRadian)(parseFloat(le[1])),2*Math.PI),Te=le[2];Oe>=0&&Oe<.5*Math.PI?(Q={x:0,y:0},W={x:1,y:1}):.5*Math.PI<=Oe&&Oe`;W.innerHTML=Ie},xe}(),L=function(){function xe(ye,W){this.cfg={};var Ie=Object(O.b)("marker"),ie=Object(h.uniqueId)("marker_");Ie.setAttribute("id",ie);var ne=Object(O.b)("path");ne.setAttribute("stroke",ye.stroke||"none"),ne.setAttribute("fill",ye.fill||"none"),Ie.appendChild(ne),Ie.setAttribute("overflow","visible"),Ie.setAttribute("orient","auto-start-reverse"),this.el=Ie,this.child=ne,this.id=ie;var Z=ye[W==="marker-start"?"startArrow":"endArrow"];return this.stroke=ye.stroke||"#000",Z===!0?this._setDefaultPath(W,ne):(this.cfg=Z,this._setMarker(ye.lineWidth,ne)),this}return xe.prototype.match=function(){return!1},xe.prototype._setDefaultPath=function(ye,W){var Ie=this.el;W.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),Ie.setAttribute("refX",""+10*Math.cos(Math.PI/6)),Ie.setAttribute("refY","5")},xe.prototype._setMarker=function(ye,W){var Ie=this.el,ie=this.cfg.path,ne=this.cfg.d;Object(h.isArray)(ie)&&(ie=ie.map(function(Z){return Z.join(" ")}).join("")),W.setAttribute("d",ie),Ie.appendChild(W),ne&&Ie.setAttribute("refX",""+ne/ye)},xe.prototype.update=function(ye){var W=this.child;W.attr?W.attr("fill",ye):W.setAttribute("fill",ye)},xe}(),z=function(){function xe(ye){this.type="clip",this.cfg={};var W=Object(O.b)("clipPath");this.el=W,this.id=Object(h.uniqueId)("clip_"),W.id=this.id;var Ie=ye.cfg.el;return W.appendChild(Ie),this.cfg=ye,this}return xe.prototype.match=function(){return!1},xe.prototype.remove=function(){var ye=this.el;ye.parentNode.removeChild(ye)},xe}(),X=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,te=function(){function xe(ye){this.cfg={};var W=Object(O.b)("pattern");W.setAttribute("patternUnits","userSpaceOnUse");var Ie=Object(O.b)("image");W.appendChild(Ie);var ie=Object(h.uniqueId)("pattern_");W.id=ie,this.el=W,this.id=ie,this.cfg=ye;var ne=X.exec(ye)[2];Ie.setAttribute("href",ne);var Z=new Image;function V(){W.setAttribute("width",""+Z.width),W.setAttribute("height",""+Z.height)}return ne.match(/^data:/i)||(Z.crossOrigin="Anonymous"),Z.src=ne,Z.complete?V():(Z.onload=V,Z.src=Z.src),this}return xe.prototype.match=function(ye,W){return this.cfg===W},xe}(),ue=function(){function xe(ye){var W=Object(O.b)("defs"),Ie=Object(h.uniqueId)("defs_");W.id=Ie,ye.appendChild(W),this.children=[],this.defaultArrow={},this.el=W,this.canvas=ye}return xe.prototype.find=function(ye,W){for(var Ie=this.children,ie=null,ne=0;ne=N.minX&&E<=N.maxX&&m>=N.minY&&m<=N.maxY}var x=o(55),O=o(75),S=o(15),g=o(30),h=function(y){function E(){return y!==null&&y.apply(this,arguments)||this}return Object(f.__extends)(E,y),E.prototype.getDefaultCfg=function(){var m=y.prototype.getDefaultCfg.call(this);return m.renderer="canvas",m.autoDraw=!0,m.localRefresh=!0,m.refreshElements=[],m.clipView=!0,m.quickHit=!1,m},E.prototype.onCanvasChange=function(m){m!=="attr"&&m!=="sort"&&m!=="changeSize"||(this.set("refreshElements",[this]),this.draw())},E.prototype.getShapeBase=function(){return x},E.prototype.getGroupBase=function(){return O.a},E.prototype.getPixelRatio=function(){var m=this.get("pixelRatio")||Object(S.d)();return m>=1?Math.ceil(m):1},E.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},E.prototype.createDom=function(){var m=document.createElement("canvas"),p=m.getContext("2d");return this.set("context",p),m},E.prototype.setDOMSize=function(m,p){y.prototype.setDOMSize.call(this,m,p);var A=this.get("context"),C=this.get("el"),N=this.getPixelRatio();C.width=N*m,C.height=N*p,N>1&&A.scale(N,N)},E.prototype.clear=function(){y.prototype.clear.call(this),this._clearFrame();var m=this.get("context"),p=this.get("el");m.clearRect(0,0,p.width,p.height)},E.prototype.getShape=function(m,p){return this.get("quickHit")?function A(C,N,P){if(!_(C,N,P))return null;for(var L=null,z=C.getChildren(),X=z.length-1;X>=0;X--){var te=z[X];if(te.isGroup())L=A(te,N,P);else if(_(te,N,P)){var ue=te,le=M(te,N,P),xe=le[0],ye=le[1];ue.isInShape(xe,ye)&&(L=te)}if(L)break}return L}(this,m,p):y.prototype.getShape.call(this,m,p,null)},E.prototype._getRefreshRegion=function(){var m,p=this.get("refreshElements"),A=this.getViewRange();return p.length&&p[0]===this?m=A:(m=Object(g.f)(p))&&(m.minX=Math.floor(m.minX),m.minY=Math.floor(m.minY),m.maxX=Math.ceil(m.maxX),m.maxY=Math.ceil(m.maxY),m.maxY+=1,this.get("clipView")&&(m=Object(g.g)(m,A))),m},E.prototype.refreshElement=function(m){this.get("refreshElements").push(m)},E.prototype._clearFrame=function(){var m=this.get("drawFrame");m&&(Object(S.a)(m),this.set("drawFrame",null),this.set("refreshElements",[]))},E.prototype.draw=function(){var m=this.get("drawFrame");this.get("autoDraw")&&m||this._startDraw()},E.prototype._drawAll=function(){var m=this.get("context"),p=this.get("el"),A=this.getChildren();m.clearRect(0,0,p.width,p.height),Object(g.a)(m,this),Object(g.d)(m,A),this.set("refreshElements",[])},E.prototype._drawRegion=function(){var m=this.get("context"),p=this.get("refreshElements"),A=this.getChildren(),C=this._getRefreshRegion();C?(m.clearRect(C.minX,C.minY,C.maxX-C.minX,C.maxY-C.minY),m.save(),m.beginPath(),m.rect(C.minX,C.minY,C.maxX-C.minX,C.maxY-C.minY),m.clip(),Object(g.a)(m,this),Object(g.b)(this,A,C),Object(g.d)(m,A,C),m.restore()):p.length&&Object(g.c)(p),Object(S.c)(p,function(N){N.get("hasChanged")&&N.set("hasChanged",!1)}),this.set("refreshElements",[])},E.prototype._startDraw=function(){var m=this,p=this.get("drawFrame");p||(p=Object(S.n)(function(){m.get("localRefresh")?m._drawRegion():m._drawAll(),m.set("drawFrame",null)}),this.set("drawFrame",p))},E.prototype.skipDraw=function(){},E.prototype.removeDom=function(){var m=this.get("el");m.width=0,m.height=0,m.parentNode.removeChild(m)},E}(c.AbstractCanvas);b.a=h},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getAdjMatrixAsync",{enumerable:!0,get:function(){return f.getAdjMatrixAsync}}),Object.defineProperty(b,"connectedComponentAsync",{enumerable:!0,get:function(){return f.connectedComponentAsync}}),Object.defineProperty(b,"getDegreeAsync",{enumerable:!0,get:function(){return f.getDegreeAsync}}),Object.defineProperty(b,"getInDegreeAsync",{enumerable:!0,get:function(){return f.getInDegreeAsync}}),Object.defineProperty(b,"getOutDegreeAsync",{enumerable:!0,get:function(){return f.getOutDegreeAsync}}),Object.defineProperty(b,"detectCycleAsync",{enumerable:!0,get:function(){return f.detectCycleAsync}}),Object.defineProperty(b,"detectAllCyclesAsync",{enumerable:!0,get:function(){return f.detectAllCyclesAsync}}),Object.defineProperty(b,"detectAllDirectedCycleAsync",{enumerable:!0,get:function(){return f.detectAllDirectedCycleAsync}}),Object.defineProperty(b,"detectAllUndirectedCycleAsync",{enumerable:!0,get:function(){return f.detectAllUndirectedCycleAsync}}),Object.defineProperty(b,"dijkstraAsync",{enumerable:!0,get:function(){return f.dijkstraAsync}}),Object.defineProperty(b,"findAllPathAsync",{enumerable:!0,get:function(){return f.findAllPathAsync}}),Object.defineProperty(b,"findShortestPathAsync",{enumerable:!0,get:function(){return f.findShortestPathAsync}}),Object.defineProperty(b,"floydWarshallAsync",{enumerable:!0,get:function(){return f.floydWarshallAsync}}),Object.defineProperty(b,"labelPropagationAsync",{enumerable:!0,get:function(){return f.labelPropagationAsync}}),Object.defineProperty(b,"louvainAsync",{enumerable:!0,get:function(){return f.louvainAsync}}),Object.defineProperty(b,"minimumSpanningTreeAsync",{enumerable:!0,get:function(){return f.minimumSpanningTreeAsync}}),Object.defineProperty(b,"pageRankAsync",{enumerable:!0,get:function(){return f.pageRankAsync}}),Object.defineProperty(b,"getNeighborsAsync",{enumerable:!0,get:function(){return f.getNeighborsAsync}}),Object.defineProperty(b,"GADDIAsync",{enumerable:!0,get:function(){return f.GADDIAsync}}),b.default=b.detectDirectedCycleAsync=void 0;var f=o(280),c=f.detectCycleAsync;b.detectDirectedCycleAsync=c;var M={getAdjMatrixAsync:f.getAdjMatrixAsync,connectedComponentAsync:f.connectedComponentAsync,getDegreeAsync:f.getDegreeAsync,getInDegreeAsync:f.getInDegreeAsync,getOutDegreeAsync:f.getOutDegreeAsync,detectCycleAsync:f.detectCycleAsync,detectDirectedCycleAsync:c,detectAllCyclesAsync:f.detectAllCyclesAsync,detectAllDirectedCycleAsync:f.detectAllDirectedCycleAsync,detectAllUndirectedCycleAsync:f.detectAllUndirectedCycleAsync,dijkstraAsync:f.dijkstraAsync,findAllPathAsync:f.findAllPathAsync,findShortestPathAsync:f.findShortestPathAsync,floydWarshallAsync:f.floydWarshallAsync,labelPropagationAsync:f.labelPropagationAsync,louvainAsync:f.louvainAsync,minimumSpanningTreeAsync:f.minimumSpanningTreeAsync,pageRankAsync:f.pageRankAsync,getNeighborsAsync:f.getNeighborsAsync,GADDIAsync:f.GADDIAsync};b.default=M},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var f=o(512);b.default=function(c,M){return M===void 0&&(M=!0),{lazyInject:f.makePropertyInjectDecorator(c,M),lazyInjectNamed:f.makePropertyInjectNamedDecorator(c,M),lazyInjectTagged:f.makePropertyInjectTaggedDecorator(c,M),lazyMultiInject:f.makePropertyMultiInjectDecorator(c,M)}}},function(R,b,o){var f,c,M;function _(x){return(_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(x)}M=function(){"use strict";var x=function(Be){return Be instanceof Uint8Array||Be instanceof Uint16Array||Be instanceof Uint32Array||Be instanceof Int8Array||Be instanceof Int16Array||Be instanceof Int32Array||Be instanceof Float32Array||Be instanceof Float64Array||Be instanceof Uint8ClampedArray},O=function(Be,ut){for(var bt=Object.keys(ut),Ft=0;Ft=0&&(0|Be)===Be||S("invalid parameter type, ("+Be+")"+h(ut)+". must be a nonnegative integer")},oneOf:E,shaderError:function(Be,ut,bt,Ft,_e){if(!Be.getShaderParameter(ut,Be.COMPILE_STATUS)){var ze=Be.getShaderInfoLog(ut),Qe=Ft===Be.FRAGMENT_SHADER?"fragment":"vertex";ue(bt,"string",Qe+" shader source must be a string",_e);var lt=z(bt,_e),vt=function(wt){var Lt=[];return wt.split(` -`).forEach(function(Wt){if(!(Wt.length<5)){var er=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(Wt);er?Lt.push(new N(0|er[1],0|er[2],er[3].trim())):Wt.length>0&&Lt.push(new N("unknown",0,Wt))}}),Lt}(ze);(function(wt,Lt){Lt.forEach(function(Wt){var er=wt[Wt.file];if(er){var tr=er.index[Wt.line];if(tr)return tr.errors.push(Wt),void(er.hasErrors=!0)}wt.unknown.hasErrors=!0,wt.unknown.lines[0].errors.push(Wt)})})(lt,vt),Object.keys(lt).forEach(function(wt){var Lt=lt[wt];if(Lt.hasErrors){var Wt=[""],er=[""];tr("file number "+wt+": "+Lt.name+` -`,"color:red;text-decoration:underline;font-weight:bold"),Lt.lines.forEach(function(ar){if(ar.errors.length>0){tr(p(ar.number,4)+"| ","background-color:yellow; font-weight:bold"),tr(ar.line+` -`,"color:red; background-color:yellow; font-weight:bold");var pr=0;ar.errors.forEach(function(Ur){var Gr=Ur.message,$r=/^\s*'(.*)'\s*:\s*(.*)$/.exec(Gr);if($r){var Kr=$r[1];switch(Gr=$r[2],Kr){case"assign":Kr="="}pr=Math.max(ar.line.indexOf(Kr,pr),0)}else pr=0;tr(p("| ",6)),tr(p("^^^",pr+3)+` -`,"font-weight:bold"),tr(p("| ",6)),tr(Gr+` -`,"font-weight:bold")}),tr(p("| ",6)+` -`)}else tr(p(ar.number,4)+"| "),tr(ar.line+` -`,"color:red")}),typeof document=="undefined"||window.chrome?console.log(Wt.join("")):(er[0]=Wt.join("%c"),console.log.apply(console,er))}function tr(ar,pr){Wt.push(ar),er.push(pr||"")}}),g.raise("Error compiling "+Qe+" shader, "+lt[0].name)}},linkError:function(Be,ut,bt,Ft,_e){if(!Be.getProgramParameter(ut,Be.LINK_STATUS)){var ze=Be.getProgramInfoLog(ut),Qe=z(bt,_e),lt='Error linking program with vertex shader, "'+z(Ft,_e)[0].name+'", and fragment shader "'+Qe[0].name+'"';typeof document!="undefined"?console.log("%c"+lt+` + />`;Y.innerHTML=Ce},xe}(),L=function(){function xe(ye,Y){this.cfg={};var Ce=Object(O.b)("marker"),ge=Object(h.uniqueId)("marker_");Ce.setAttribute("id",ge);var he=Object(O.b)("path");he.setAttribute("stroke",ye.stroke||"none"),he.setAttribute("fill",ye.fill||"none"),Ce.appendChild(he),Ce.setAttribute("overflow","visible"),Ce.setAttribute("orient","auto-start-reverse"),this.el=Ce,this.child=he,this.id=ge;var Q=ye[Y==="marker-start"?"startArrow":"endArrow"];return this.stroke=ye.stroke||"#000",Q===!0?this._setDefaultPath(Y,he):(this.cfg=Q,this._setMarker(ye.lineWidth,he)),this}return xe.prototype.match=function(){return!1},xe.prototype._setDefaultPath=function(ye,Y){var Ce=this.el;Y.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),Ce.setAttribute("refX",""+10*Math.cos(Math.PI/6)),Ce.setAttribute("refY","5")},xe.prototype._setMarker=function(ye,Y){var Ce=this.el,ge=this.cfg.path,he=this.cfg.d;Object(h.isArray)(ge)&&(ge=ge.map(function(Q){return Q.join(" ")}).join("")),Y.setAttribute("d",ge),Ce.appendChild(Y),he&&Ce.setAttribute("refX",""+he/ye)},xe.prototype.update=function(ye){var Y=this.child;Y.attr?Y.attr("fill",ye):Y.setAttribute("fill",ye)},xe}(),z=function(){function xe(ye){this.type="clip",this.cfg={};var Y=Object(O.b)("clipPath");this.el=Y,this.id=Object(h.uniqueId)("clip_"),Y.id=this.id;var Ce=ye.cfg.el;return Y.appendChild(Ce),this.cfg=ye,this}return xe.prototype.match=function(){return!1},xe.prototype.remove=function(){var ye=this.el;ye.parentNode.removeChild(ye)},xe}(),H=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,re=function(){function xe(ye){this.cfg={};var Y=Object(O.b)("pattern");Y.setAttribute("patternUnits","userSpaceOnUse");var Ce=Object(O.b)("image");Y.appendChild(Ce);var ge=Object(h.uniqueId)("pattern_");Y.id=ge,this.el=Y,this.id=ge,this.cfg=ye;var he=H.exec(ye)[2];Ce.setAttribute("href",he);var Q=new Image;function W(){Y.setAttribute("width",""+Q.width),Y.setAttribute("height",""+Q.height)}return he.match(/^data:/i)||(Q.crossOrigin="Anonymous"),Q.src=he,Q.complete?W():(Q.onload=W,Q.src=Q.src),this}return xe.prototype.match=function(ye,Y){return this.cfg===Y},xe}(),ae=function(){function xe(ye){var Y=Object(O.b)("defs"),Ce=Object(h.uniqueId)("defs_");Y.id=Ce,ye.appendChild(Y),this.children=[],this.defaultArrow={},this.el=Y,this.canvas=ye}return xe.prototype.find=function(ye,Y){for(var Ce=this.children,ge=null,he=0;he=N.minX&&E<=N.maxX&&m>=N.minY&&m<=N.maxY}var x=o(55),O=o(75),S=o(15),g=o(30),h=function(y){function E(){return y!==null&&y.apply(this,arguments)||this}return Object(f.__extends)(E,y),E.prototype.getDefaultCfg=function(){var m=y.prototype.getDefaultCfg.call(this);return m.renderer="canvas",m.autoDraw=!0,m.localRefresh=!0,m.refreshElements=[],m.clipView=!0,m.quickHit=!1,m},E.prototype.onCanvasChange=function(m){m!=="attr"&&m!=="sort"&&m!=="changeSize"||(this.set("refreshElements",[this]),this.draw())},E.prototype.getShapeBase=function(){return x},E.prototype.getGroupBase=function(){return O.a},E.prototype.getPixelRatio=function(){var m=this.get("pixelRatio")||Object(S.d)();return m>=1?Math.ceil(m):1},E.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},E.prototype.createDom=function(){var m=document.createElement("canvas"),p=m.getContext("2d");return this.set("context",p),m},E.prototype.setDOMSize=function(m,p){y.prototype.setDOMSize.call(this,m,p);var A=this.get("context"),C=this.get("el"),N=this.getPixelRatio();C.width=N*m,C.height=N*p,N>1&&A.scale(N,N)},E.prototype.clear=function(){y.prototype.clear.call(this),this._clearFrame();var m=this.get("context"),p=this.get("el");m.clearRect(0,0,p.width,p.height)},E.prototype.getShape=function(m,p){return this.get("quickHit")?function A(C,N,P){if(!_(C,N,P))return null;for(var L=null,z=C.getChildren(),H=z.length-1;H>=0;H--){var re=z[H];if(re.isGroup())L=A(re,N,P);else if(_(re,N,P)){var ae=re,ue=M(re,N,P),xe=ue[0],ye=ue[1];ae.isInShape(xe,ye)&&(L=re)}if(L)break}return L}(this,m,p):y.prototype.getShape.call(this,m,p,null)},E.prototype._getRefreshRegion=function(){var m,p=this.get("refreshElements"),A=this.getViewRange();return p.length&&p[0]===this?m=A:(m=Object(g.f)(p))&&(m.minX=Math.floor(m.minX),m.minY=Math.floor(m.minY),m.maxX=Math.ceil(m.maxX),m.maxY=Math.ceil(m.maxY),m.maxY+=1,this.get("clipView")&&(m=Object(g.g)(m,A))),m},E.prototype.refreshElement=function(m){this.get("refreshElements").push(m)},E.prototype._clearFrame=function(){var m=this.get("drawFrame");m&&(Object(S.a)(m),this.set("drawFrame",null),this.set("refreshElements",[]))},E.prototype.draw=function(){var m=this.get("drawFrame");this.get("autoDraw")&&m||this._startDraw()},E.prototype._drawAll=function(){var m=this.get("context"),p=this.get("el"),A=this.getChildren();m.clearRect(0,0,p.width,p.height),Object(g.a)(m,this),Object(g.d)(m,A),this.set("refreshElements",[])},E.prototype._drawRegion=function(){var m=this.get("context"),p=this.get("refreshElements"),A=this.getChildren(),C=this._getRefreshRegion();C?(m.clearRect(C.minX,C.minY,C.maxX-C.minX,C.maxY-C.minY),m.save(),m.beginPath(),m.rect(C.minX,C.minY,C.maxX-C.minX,C.maxY-C.minY),m.clip(),Object(g.a)(m,this),Object(g.b)(this,A,C),Object(g.d)(m,A,C),m.restore()):p.length&&Object(g.c)(p),Object(S.c)(p,function(N){N.get("hasChanged")&&N.set("hasChanged",!1)}),this.set("refreshElements",[])},E.prototype._startDraw=function(){var m=this,p=this.get("drawFrame");p||(p=Object(S.n)(function(){m.get("localRefresh")?m._drawRegion():m._drawAll(),m.set("drawFrame",null)}),this.set("drawFrame",p))},E.prototype.skipDraw=function(){},E.prototype.removeDom=function(){var m=this.get("el");m.width=0,m.height=0,m.parentNode.removeChild(m)},E}(c.AbstractCanvas);b.a=h},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getAdjMatrixAsync",{enumerable:!0,get:function(){return f.getAdjMatrixAsync}}),Object.defineProperty(b,"connectedComponentAsync",{enumerable:!0,get:function(){return f.connectedComponentAsync}}),Object.defineProperty(b,"getDegreeAsync",{enumerable:!0,get:function(){return f.getDegreeAsync}}),Object.defineProperty(b,"getInDegreeAsync",{enumerable:!0,get:function(){return f.getInDegreeAsync}}),Object.defineProperty(b,"getOutDegreeAsync",{enumerable:!0,get:function(){return f.getOutDegreeAsync}}),Object.defineProperty(b,"detectCycleAsync",{enumerable:!0,get:function(){return f.detectCycleAsync}}),Object.defineProperty(b,"detectAllCyclesAsync",{enumerable:!0,get:function(){return f.detectAllCyclesAsync}}),Object.defineProperty(b,"detectAllDirectedCycleAsync",{enumerable:!0,get:function(){return f.detectAllDirectedCycleAsync}}),Object.defineProperty(b,"detectAllUndirectedCycleAsync",{enumerable:!0,get:function(){return f.detectAllUndirectedCycleAsync}}),Object.defineProperty(b,"dijkstraAsync",{enumerable:!0,get:function(){return f.dijkstraAsync}}),Object.defineProperty(b,"findAllPathAsync",{enumerable:!0,get:function(){return f.findAllPathAsync}}),Object.defineProperty(b,"findShortestPathAsync",{enumerable:!0,get:function(){return f.findShortestPathAsync}}),Object.defineProperty(b,"floydWarshallAsync",{enumerable:!0,get:function(){return f.floydWarshallAsync}}),Object.defineProperty(b,"labelPropagationAsync",{enumerable:!0,get:function(){return f.labelPropagationAsync}}),Object.defineProperty(b,"louvainAsync",{enumerable:!0,get:function(){return f.louvainAsync}}),Object.defineProperty(b,"minimumSpanningTreeAsync",{enumerable:!0,get:function(){return f.minimumSpanningTreeAsync}}),Object.defineProperty(b,"pageRankAsync",{enumerable:!0,get:function(){return f.pageRankAsync}}),Object.defineProperty(b,"getNeighborsAsync",{enumerable:!0,get:function(){return f.getNeighborsAsync}}),Object.defineProperty(b,"GADDIAsync",{enumerable:!0,get:function(){return f.GADDIAsync}}),b.default=b.detectDirectedCycleAsync=void 0;var f=o(280),c=f.detectCycleAsync;b.detectDirectedCycleAsync=c;var M={getAdjMatrixAsync:f.getAdjMatrixAsync,connectedComponentAsync:f.connectedComponentAsync,getDegreeAsync:f.getDegreeAsync,getInDegreeAsync:f.getInDegreeAsync,getOutDegreeAsync:f.getOutDegreeAsync,detectCycleAsync:f.detectCycleAsync,detectDirectedCycleAsync:c,detectAllCyclesAsync:f.detectAllCyclesAsync,detectAllDirectedCycleAsync:f.detectAllDirectedCycleAsync,detectAllUndirectedCycleAsync:f.detectAllUndirectedCycleAsync,dijkstraAsync:f.dijkstraAsync,findAllPathAsync:f.findAllPathAsync,findShortestPathAsync:f.findShortestPathAsync,floydWarshallAsync:f.floydWarshallAsync,labelPropagationAsync:f.labelPropagationAsync,louvainAsync:f.louvainAsync,minimumSpanningTreeAsync:f.minimumSpanningTreeAsync,pageRankAsync:f.pageRankAsync,getNeighborsAsync:f.getNeighborsAsync,GADDIAsync:f.GADDIAsync};b.default=M},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var f=o(512);b.default=function(c,M){return M===void 0&&(M=!0),{lazyInject:f.makePropertyInjectDecorator(c,M),lazyInjectNamed:f.makePropertyInjectNamedDecorator(c,M),lazyInjectTagged:f.makePropertyInjectTaggedDecorator(c,M),lazyMultiInject:f.makePropertyMultiInjectDecorator(c,M)}}},function(R,b,o){var f,c,M;function _(x){return(_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(x)}M=function(){"use strict";var x=function(Be){return Be instanceof Uint8Array||Be instanceof Uint16Array||Be instanceof Uint32Array||Be instanceof Int8Array||Be instanceof Int16Array||Be instanceof Int32Array||Be instanceof Float32Array||Be instanceof Float64Array||Be instanceof Uint8ClampedArray},O=function(Be,ut){for(var bt=Object.keys(ut),Ft=0;Ft=0&&(0|Be)===Be||S("invalid parameter type, ("+Be+")"+h(ut)+". must be a nonnegative integer")},oneOf:E,shaderError:function(Be,ut,bt,Ft,we){if(!Be.getShaderParameter(ut,Be.COMPILE_STATUS)){var ze=Be.getShaderInfoLog(ut),Qe=Ft===Be.FRAGMENT_SHADER?"fragment":"vertex";ae(bt,"string",Qe+" shader source must be a string",we);var lt=z(bt,we),vt=function(wt){var Lt=[];return wt.split(` +`).forEach(function(Wt){if(!(Wt.length<5)){var er=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(Wt);er?Lt.push(new N(0|er[1],0|er[2],er[3].trim())):Wt.length>0&&Lt.push(new N("unknown",0,Wt))}}),Lt}(ze);(function(wt,Lt){Lt.forEach(function(Wt){var er=wt[Wt.file];if(er){var rr=er.index[Wt.line];if(rr)return rr.errors.push(Wt),void(er.hasErrors=!0)}wt.unknown.hasErrors=!0,wt.unknown.lines[0].errors.push(Wt)})})(lt,vt),Object.keys(lt).forEach(function(wt){var Lt=lt[wt];if(Lt.hasErrors){var Wt=[""],er=[""];rr("file number "+wt+": "+Lt.name+` +`,"color:red;text-decoration:underline;font-weight:bold"),Lt.lines.forEach(function(sr){if(sr.errors.length>0){rr(p(sr.number,4)+"| ","background-color:yellow; font-weight:bold"),rr(sr.line+` +`,"color:red; background-color:yellow; font-weight:bold");var gr=0;sr.errors.forEach(function(Vr){var Fr=Vr.message,$r=/^\s*'(.*)'\s*:\s*(.*)$/.exec(Fr);if($r){var Kr=$r[1];switch(Fr=$r[2],Kr){case"assign":Kr="="}gr=Math.max(sr.line.indexOf(Kr,gr),0)}else gr=0;rr(p("| ",6)),rr(p("^^^",gr+3)+` +`,"font-weight:bold"),rr(p("| ",6)),rr(Fr+` +`,"font-weight:bold")}),rr(p("| ",6)+` +`)}else rr(p(sr.number,4)+"| "),rr(sr.line+` +`,"color:red")}),typeof document=="undefined"||window.chrome?console.log(Wt.join("")):(er[0]=Wt.join("%c"),console.log.apply(console,er))}function rr(sr,gr){Wt.push(sr),er.push(gr||"")}}),g.raise("Error compiling "+Qe+" shader, "+lt[0].name)}},linkError:function(Be,ut,bt,Ft,we){if(!Be.getProgramParameter(ut,Be.LINK_STATUS)){var ze=Be.getProgramInfoLog(ut),Qe=z(bt,we),lt='Error linking program with vertex shader, "'+z(Ft,we)[0].name+'", and fragment shader "'+Qe[0].name+'"';typeof document!="undefined"?console.log("%c"+lt+` %c`+ze,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(lt+` -`+ze),g.raise(lt)}},callSite:L,saveCommandRef:X,saveDrawInfo:function(Be,ut,bt,Ft){function _e(vt){return vt?Ft.id(vt):0}function ze(vt,wt){Object.keys(wt).forEach(function(Lt){vt[Ft.id(Lt)]=!0})}X(Be),Be._fragId=_e(Be.static.frag),Be._vertId=_e(Be.static.vert);var Qe=Be._uniformSet={};ze(Qe,ut.static),ze(Qe,ut.dynamic);var lt=Be._attributeSet={};ze(lt,bt.static),ze(lt,bt.dynamic),Be._hasCount="count"in Be.static||"count"in Be.dynamic||"elements"in Be.static||"elements"in Be.dynamic},framebufferFormat:function(Be,ut,bt){Be.texture?E(Be.texture._texture.internalformat,ut,"unsupported texture format for attachment"):E(Be.renderbuffer._renderbuffer.format,bt,"unsupported renderbuffer format for attachment")},guessCommand:P,texture2D:function(Be,ut,bt){var Ft,_e=ut.width,ze=ut.height,Qe=ut.channels;g(_e>0&&_e<=bt.maxTextureSize&&ze>0&&ze<=bt.maxTextureSize,"invalid texture shape"),Be.wrapS===33071&&Be.wrapT===33071||g(ye(_e)&&ye(ze),"incompatible wrap mode for texture, both width and height must be power of 2"),ut.mipmask===1?_e!==1&&ze!==1&&g(Be.minFilter!==9984&&Be.minFilter!==9986&&Be.minFilter!==9985&&Be.minFilter!==9987,"min filter requires mipmap"):(g(ye(_e)&&ye(ze),"texture must be a square power of 2 to support mipmapping"),g(ut.mipmask===(_e<<1)-1,"missing or incomplete mipmap data")),ut.type===5126&&(bt.extensions.indexOf("oes_texture_float_linear")<0&&g(Be.minFilter===9728&&Be.magFilter===9728,"filter not supported, must enable oes_texture_float_linear"),g(!Be.genMipmaps,"mipmap generation not supported with float textures"));var lt=ut.images;for(Ft=0;Ft<16;++Ft)if(lt[Ft]){var vt=_e>>Ft,wt=ze>>Ft;g(ut.mipmask&1<0&&_e<=Ft.maxTextureSize&&ze>0&&ze<=Ft.maxTextureSize,"invalid texture shape"),g(_e===ze,"cube map must be square"),g(ut.wrapS===33071&&ut.wrapT===33071,"wrap mode not supported by cube map");for(var lt=0;lt>Lt,tr=ze>>Lt;g(vt.mipmask&1<1&&Ft===_e&&(Ft==='"'||Ft==="'"))return['"'+ne(bt.substr(1,bt.length-2))+'"'];var ze=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(bt);if(ze)return ut(bt.substr(0,ze.index)).concat(ut(ze[1])).concat(ut(bt.substr(ze.index+ze[0].length)));var Qe=bt.split(".");if(Qe.length===1)return['"'+ne(bt)+'"'];for(var lt=[],vt=0;vt0,"invalid pixel ratio"))):W.raise("invalid arguments to regl"),ut&&(ut.nodeName.toLowerCase()==="canvas"?Ft=ut:bt=ut),!_e){if(!Ft){W(typeof document!="undefined","must manually specify webgl context outside of DOM environments");var ar=function(pr,Ur,Gr){var $r,Kr=document.createElement("canvas");function jn(){var Cn=window.innerWidth,qn=window.innerHeight;if(pr!==document.body){var Qr=pr.getBoundingClientRect();Cn=Qr.right-Qr.left,qn=Qr.bottom-Qr.top}Kr.width=Gr*Cn,Kr.height=Gr*qn,O(Kr.style,{width:Cn+"px",height:qn+"px"})}return O(Kr.style,{border:0,margin:0,padding:0,top:0,left:0}),pr.appendChild(Kr),pr===document.body&&(Kr.style.position="absolute",O(pr.style,{margin:0,padding:0})),pr!==document.body&&typeof ResizeObserver=="function"?($r=new ResizeObserver(function(){setTimeout(jn)})).observe(pr):window.addEventListener("resize",jn,!1),jn(),{canvas:Kr,onDestroy:function(){$r?$r.disconnect():window.removeEventListener("resize",jn),pr.removeChild(Kr)}}}(bt||document.body,0,Lt);if(!ar)return null;Ft=ar.canvas,tr=ar.onDestroy}lt.premultipliedAlpha===void 0&&(lt.premultipliedAlpha=!0),_e=function(pr,Ur){function Gr($r){try{return pr.getContext($r,Ur)}catch(Kr){return null}}return Gr("webgl")||Gr("experimental-webgl")||Gr("webgl-experimental")}(Ft,lt)}return _e?{gl:_e,canvas:Ft,container:bt,extensions:vt,optionalExtensions:wt,pixelRatio:Lt,profile:Wt,onDone:er,onDestroy:tr}:(tr(),er("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function J(Be,ut){for(var bt=Array(Be),Ft=0;Ft65535)<<4,ut|=bt=((Be>>>=ut)>255)<<3,ut|=bt=((Be>>>=bt)>15)<<2,(ut|=bt=((Be>>>=bt)>3)<<1)|(Be>>>=bt)>>1}function q(){var Be=J(8,function(){return[]});function ut(Ft){var _e=function(Qe){for(var lt=16;lt<=268435456;lt*=16)if(Qe<=lt)return lt;return 0}(Ft),ze=Be[Y(_e)>>2];return ze.length>0?ze.pop():new ArrayBuffer(_e)}function bt(Ft){Be[Y(Ft.byteLength)>>2].push(Ft)}return{alloc:ut,free:bt,allocType:function(Ft,_e){var ze=null;switch(Ft){case 5120:ze=new Int8Array(ut(_e),0,_e);break;case 5121:ze=new Uint8Array(ut(_e),0,_e);break;case 5122:ze=new Int16Array(ut(2*_e),0,_e);break;case 5123:ze=new Uint16Array(ut(2*_e),0,_e);break;case 5124:ze=new Int32Array(ut(4*_e),0,_e);break;case 5125:ze=new Uint32Array(ut(4*_e),0,_e);break;case 5126:ze=new Float32Array(ut(4*_e),0,_e);break;default:return null}return ze.length!==_e?ze.subarray(0,_e):ze},freeType:function(Ft){bt(Ft.buffer)}}}var G=q();function re(Be){return!!Be&&_(Be)==="object"&&Array.isArray(Be.shape)&&Array.isArray(Be.stride)&&typeof Be.offset=="number"&&Be.shape.length===Be.stride.length&&(Array.isArray(Be.data)||x(Be.data))}G.zero=q();var fe=function(Be){return Object.keys(Be).map(function(ut){return Be[ut]})},ce={shape:function(Be){for(var ut=[],bt=Be;bt.length;bt=bt[0])ut.push(bt.length);return ut},flatten:function(Be,ut,bt,Ft){var _e=1;if(ut.length)for(var ze=0;ze>>31<<15,ze=(Ft<<1>>>24)-127,Qe=Ft>>13&1023;if(ze<-24)ut[bt]=_e;else if(ze<-14){var lt=-14-ze;ut[bt]=_e+(Qe+1024>>lt)}else ut[bt]=ze>15?_e+31744:_e+(ze+15<<10)+Qe}return ut}function Tt(Be){return Array.isArray(Be)||x(Be)}var jt=function(Be){return!(Be&Be-1||!Be)},Kt=[9984,9986,9985,9987],Qt=[0,6409,6410,6407,6408],rr={};function or(Be){return"[object "+Be+"]"}rr[6409]=rr[6406]=rr[6402]=1,rr[34041]=rr[6410]=2,rr[6407]=rr[35904]=3,rr[6408]=rr[35906]=4;var Mr=or("HTMLCanvasElement"),cr=or("OffscreenCanvas"),yr=or("CanvasRenderingContext2D"),br=or("ImageBitmap"),Xr=or("HTMLImageElement"),gr=or("HTMLVideoElement"),xr=Object.keys(de).concat([Mr,cr,yr,br,Xr,gr]),dr=[];dr[5121]=1,dr[5126]=4,dr[36193]=2,dr[5123]=2,dr[5125]=4;var Br=[];function Rr(Be){return Array.isArray(Be)&&(Be.length===0||typeof Be[0]=="number")}function pn(Be){return!!Array.isArray(Be)&&!(Be.length===0||!Tt(Be[0]))}function zr(Be){return Object.prototype.toString.call(Be)}function Nr(Be){return zr(Be)===Mr}function Dr(Be){return zr(Be)===cr}function rn(Be){if(!Be)return!1;var ut=zr(Be);return xr.indexOf(ut)>=0||Rr(Be)||pn(Be)||re(Be)}function Ir(Be){return 0|de[Object.prototype.toString.call(Be)]}function On(Be,ut){return G.allocType(Be.type===36193?5126:Be.type,ut)}function In(Be,ut){Be.type===36193?(Be.data=Ct(ut),G.freeType(ut)):Be.data=ut}function Dn(Be,ut,bt,Ft,_e,ze){var Qe;if(Qe=Br[Be]!==void 0?Br[Be]:rr[Be]*dr[ut],ze&&(Qe*=6),_e){for(var lt=0,vt=bt;vt>=1;)lt+=Qe*vt*vt,vt/=2;return lt}return Qe*bt*Ft}function Rn(Be,ut,bt,Ft,_e,ze,Qe){var lt={"don't care":4352,"dont care":4352,nice:4354,fast:4353},vt={repeat:10497,clamp:33071,mirror:33648},wt={nearest:9728,linear:9729},Lt=O({mipmap:9987,"nearest mipmap nearest":9984,"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},wt),Wt={none:0,browser:37444},er={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},tr={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},ar={};ut.ext_srgb&&(tr.srgb=35904,tr.srgba=35906),ut.oes_texture_float&&(er.float32=er.float=5126),ut.oes_texture_half_float&&(er.float16=er["half float"]=36193),ut.webgl_depth_texture&&(O(tr,{depth:6402,"depth stencil":34041}),O(er,{uint16:5123,uint32:5125,"depth stencil":34042})),ut.webgl_compressed_texture_s3tc&&O(ar,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779}),ut.webgl_compressed_texture_atc&&O(ar,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798}),ut.webgl_compressed_texture_pvrtc&&O(ar,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843}),ut.webgl_compressed_texture_etc1&&(ar["rgb etc1"]=36196);var pr=Array.prototype.slice.call(Be.getParameter(34467));Object.keys(ar).forEach(function(K){var oe=ar[K];pr.indexOf(oe)>=0&&(tr[K]=oe)});var Ur=Object.keys(tr);bt.textureFormats=Ur;var Gr=[];Object.keys(tr).forEach(function(K){var oe=tr[K];Gr[oe]=K});var $r=[];Object.keys(er).forEach(function(K){var oe=er[K];$r[oe]=K});var Kr=[];Object.keys(wt).forEach(function(K){Kr[wt[K]]=K});var jn=[];Object.keys(Lt).forEach(function(K){var oe=Lt[K];jn[oe]=K});var Cn=[];Object.keys(vt).forEach(function(K){Cn[vt[K]]=K});var qn=Ur.reduce(function(K,oe){var ge=tr[oe];return ge===6409||ge===6406||ge===6409||ge===6410||ge===6402||ge===34041||ut.ext_srgb&&(ge===35904||ge===35906)?K[ge]=ge:ge===32855||oe.indexOf("rgba")>=0?K[ge]=6408:K[ge]=6407,K},{});function Qr(){this.internalformat=6408,this.format=6408,this.type=5121,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=37444,this.width=0,this.height=0,this.channels=0}function Mn(K,oe){K.internalformat=oe.internalformat,K.format=oe.format,K.type=oe.type,K.compressed=oe.compressed,K.premultiplyAlpha=oe.premultiplyAlpha,K.flipY=oe.flipY,K.unpackAlignment=oe.unpackAlignment,K.colorSpace=oe.colorSpace,K.width=oe.width,K.height=oe.height,K.channels=oe.channels}function ai(K,oe){if(_(oe)==="object"&&oe){if("premultiplyAlpha"in oe&&(W.type(oe.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),K.premultiplyAlpha=oe.premultiplyAlpha),"flipY"in oe&&(W.type(oe.flipY,"boolean","invalid texture flip"),K.flipY=oe.flipY),"alignment"in oe&&(W.oneOf(oe.alignment,[1,2,4,8],"invalid texture unpack alignment"),K.unpackAlignment=oe.alignment),"colorSpace"in oe&&(W.parameter(oe.colorSpace,Wt,"invalid colorSpace"),K.colorSpace=Wt[oe.colorSpace]),"type"in oe){var ge=oe.type;W(ut.oes_texture_float||!(ge==="float"||ge==="float32"),"you must enable the OES_texture_float extension in order to use floating point textures."),W(ut.oes_texture_half_float||!(ge==="half float"||ge==="float16"),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),W(ut.webgl_depth_texture||!(ge==="uint16"||ge==="uint32"||ge==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),W.parameter(ge,er,"invalid texture type"),K.type=er[ge]}var be=K.width,De=K.height,Ue=K.channels,Me=!1;"shape"in oe?(W(Array.isArray(oe.shape)&&oe.shape.length>=2,"shape must be an array"),be=oe.shape[0],De=oe.shape[1],oe.shape.length===3&&(Ue=oe.shape[2],W(Ue>0&&Ue<=4,"invalid number of channels"),Me=!0),W(be>=0&&be<=bt.maxTextureSize,"invalid width"),W(De>=0&&De<=bt.maxTextureSize,"invalid height")):("radius"in oe&&(be=De=oe.radius,W(be>=0&&be<=bt.maxTextureSize,"invalid radius")),"width"in oe&&(be=oe.width,W(be>=0&&be<=bt.maxTextureSize,"invalid width")),"height"in oe&&(De=oe.height,W(De>=0&&De<=bt.maxTextureSize,"invalid height")),"channels"in oe&&(Ue=oe.channels,W(Ue>0&&Ue<=4,"invalid number of channels"),Me=!0)),K.width=0|be,K.height=0|De,K.channels=0|Ue;var Fe=!1;if("format"in oe){var Ye=oe.format;W(ut.webgl_depth_texture||!(Ye==="depth"||Ye==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),W.parameter(Ye,tr,"invalid texture format");var Ge=K.internalformat=tr[Ye];K.format=qn[Ge],Ye in er&&("type"in oe||(K.type=er[Ye])),Ye in ar&&(K.compressed=!0),Fe=!0}!Me&&Fe?K.channels=rr[K.format]:Me&&!Fe?K.channels!==Qt[K.format]&&(K.format=K.internalformat=Qt[K.channels]):Fe&&Me&&W(K.channels===rr[K.format],"number of channels inconsistent with specified format")}}function Sn(K){Be.pixelStorei(37440,K.flipY),Be.pixelStorei(37441,K.premultiplyAlpha),Be.pixelStorei(37443,K.colorSpace),Be.pixelStorei(3317,K.unpackAlignment)}function si(){Qr.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Jr(K,oe){var ge=null;if(rn(oe)?ge=oe:oe&&(W.type(oe,"object","invalid pixel data type"),ai(K,oe),"x"in oe&&(K.xOffset=0|oe.x),"y"in oe&&(K.yOffset=0|oe.y),rn(oe.data)&&(ge=oe.data)),W(!K.compressed||ge instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),oe.copy){W(!ge,"can not specify copy and data field for the same texture");var be=_e.viewportWidth,De=_e.viewportHeight;K.width=K.width||be-K.xOffset,K.height=K.height||De-K.yOffset,K.needsCopy=!0,W(K.xOffset>=0&&K.xOffset=0&&K.yOffset0&&K.width<=be&&K.height>0&&K.height<=De,"copy texture read out of bounds")}else if(ge){if(x(ge))K.channels=K.channels||4,K.data=ge,"type"in oe||K.type!==5121||(K.type=Ir(ge));else if(Rr(ge))K.channels=K.channels||4,function(qe,at){var ht=at.length;switch(qe.type){case 5121:case 5123:case 5125:case 5126:var Mt=G.allocType(qe.type,ht);Mt.set(at),qe.data=Mt;break;case 36193:qe.data=Ct(at);break;default:W.raise("unsupported texture type, must specify a typed array")}}(K,ge),K.alignment=1,K.needsFree=!0;else if(re(ge)){var Ue=ge.data;Array.isArray(Ue)||K.type!==5121||(K.type=Ir(Ue));var Me,Fe,Ye,Ge,Xe,Je,tt=ge.shape,Ve=ge.stride;tt.length===3?(Ye=tt[2],Je=Ve[2]):(W(tt.length===2,"invalid ndarray pixel data, must be 2 or 3D"),Ye=1,Je=1),Me=tt[0],Fe=tt[1],Ge=Ve[0],Xe=Ve[1],K.alignment=1,K.width=Me,K.height=Fe,K.channels=Ye,K.format=K.internalformat=Qt[Ye],K.needsFree=!0,function(qe,at,ht,Mt,zt,Ut){for(var Xt=qe.width,fr=qe.height,Or=qe.channels,kr=On(qe,Xt*fr*Or),mr=0,sr=0;sr=0,"oes_texture_float extension not enabled"):K.type===36193&&W(bt.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function ko(K,oe,ge){var be=K.element,De=K.data,Ue=K.internalformat,Me=K.format,Fe=K.type,Ye=K.width,Ge=K.height;Sn(K),be?Be.texImage2D(oe,ge,Me,Me,Fe,be):K.compressed?Be.compressedTexImage2D(oe,ge,Ue,Ye,Ge,0,De):K.needsCopy?(Ft(),Be.copyTexImage2D(oe,ge,Me,K.xOffset,K.yOffset,Ye,Ge,0)):Be.texImage2D(oe,ge,Me,Ye,Ge,0,Me,Fe,De||null)}function Fi(K,oe,ge,be,De){var Ue=K.element,Me=K.data,Fe=K.internalformat,Ye=K.format,Ge=K.type,Xe=K.width,Je=K.height;Sn(K),Ue?Be.texSubImage2D(oe,De,ge,be,Ye,Ge,Ue):K.compressed?Be.compressedTexSubImage2D(oe,De,ge,be,Fe,Xe,Je,Me):K.needsCopy?(Ft(),Be.copyTexSubImage2D(oe,De,ge,be,K.xOffset,K.yOffset,Xe,Je)):Be.texSubImage2D(oe,De,ge,be,Xe,Je,Ye,Ge,Me)}var Qi=[];function nn(){return Qi.pop()||new si}function pi(K){K.needsFree&&G.freeType(K.data),si.call(K),Qi.push(K)}function Ji(){Qr.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function Ai(K,oe,ge){var be=K.images[0]=nn();K.mipmask=1,be.width=K.width=oe,be.height=K.height=ge,be.channels=K.channels=4}function Gn(K,oe){var ge=null;if(rn(oe))Mn(ge=K.images[0]=nn(),K),Jr(ge,oe),K.mipmask=1;else if(ai(K,oe),Array.isArray(oe.mipmap))for(var be=oe.mipmap,De=0;De>=De,ge.height>>=De,Jr(ge,be[De]),K.mipmask|=1<=0&&!("faces"in oe)&&(K.genMipmaps=!0)}if("mag"in oe){var be=oe.mag;W.parameter(be,wt),K.magFilter=wt[be]}var De=K.wrapS,Ue=K.wrapT;if("wrap"in oe){var Me=oe.wrap;typeof Me=="string"?(W.parameter(Me,vt),De=Ue=vt[Me]):Array.isArray(Me)&&(W.parameter(Me[0],vt),W.parameter(Me[1],vt),De=vt[Me[0]],Ue=vt[Me[1]])}else{if("wrapS"in oe){var Fe=oe.wrapS;W.parameter(Fe,vt),De=vt[Fe]}if("wrapT"in oe){var Ye=oe.wrapT;W.parameter(Ye,vt),Ue=vt[Ye]}}if(K.wrapS=De,K.wrapT=Ue,"anisotropic"in oe){var Ge=oe.anisotropic;W(typeof Ge=="number"&&Ge>=1&&Ge<=bt.maxAnisotropic,"aniso samples must be between 1 and "),K.anisotropic=oe.anisotropic}if("mipmap"in oe){var Xe=!1;switch(_(oe.mipmap)){case"string":W.parameter(oe.mipmap,lt,"invalid mipmap hint"),K.mipmapHint=lt[oe.mipmap],K.genMipmaps=!0,Xe=!0;break;case"boolean":Xe=K.genMipmaps=oe.mipmap;break;case"object":W(Array.isArray(oe.mipmap),"invalid mipmap type"),K.genMipmaps=!1,Xe=!0;break;default:W.raise("invalid mipmap type")}Xe&&!("min"in oe)&&(K.minFilter=9984)}}function so(K,oe){Be.texParameteri(oe,10241,K.minFilter),Be.texParameteri(oe,10240,K.magFilter),Be.texParameteri(oe,10242,K.wrapS),Be.texParameteri(oe,10243,K.wrapT),ut.ext_texture_filter_anisotropic&&Be.texParameteri(oe,34046,K.anisotropic),K.genMipmaps&&(Be.hint(33170,K.mipmapHint),Be.generateMipmap(oe))}var Vi=0,Ti={},_t=bt.maxTextureUnits,$e=Array(_t).map(function(){return null});function St(K){Qr.call(this),this.mipmask=0,this.internalformat=6408,this.id=Vi++,this.refCount=1,this.target=K,this.texture=Be.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Ci,Qe.profile&&(this.stats={size:0})}function w(K){Be.activeTexture(33984),Be.bindTexture(K.target,K.texture)}function D(){var K=$e[0];K?Be.bindTexture(K.target,K.texture):Be.bindTexture(3553,null)}function he(K){var oe=K.texture;W(oe,"must not double destroy texture");var ge=K.unit,be=K.target;ge>=0&&(Be.activeTexture(33984+ge),Be.bindTexture(be,null),$e[ge]=null),Be.deleteTexture(oe),K.texture=null,K.params=null,K.pixels=null,K.refCount=0,delete Ti[K.id],ze.textureCount--}return O(St.prototype,{bind:function(){this.bindCount+=1;var K=this.unit;if(K<0){for(var oe=0;oe<_t;++oe){var ge=$e[oe];if(ge){if(ge.bindCount>0)continue;ge.unit=-1}$e[oe]=this,K=oe;break}K>=_t&&W.raise("insufficient number of texture units"),Qe.profile&&ze.maxTextureUnits>Xe)-Ye,Je.height=Je.height||(ge.height>>Xe)-Ge,W(ge.type===Je.type&&ge.format===Je.format&&ge.internalformat===Je.internalformat,"incompatible format for texture.subimage"),W(Ye>=0&&Ge>=0&&Ye+Je.width<=ge.width&&Ge+Je.height<=ge.height,"texture.subimage write out of bounds"),W(ge.mipmask&1<>Ye;++Ye){var Ge=Me>>Ye,Xe=Fe>>Ye;if(!Ge||!Xe)break;Be.texImage2D(3553,Ye,ge.format,Ge,Xe,0,ge.format,ge.type,null)}return D(),Qe.profile&&(ge.stats.size=Dn(ge.internalformat,ge.type,Me,Fe,!1,!1)),be},be._reglType="texture2d",be._texture=ge,Qe.profile&&(be.stats=ge.stats),be.destroy=function(){ge.decRef()},be},createCube:function(K,oe,ge,be,De,Ue){var Me=new St(34067);Ti[Me.id]=Me,ze.cubeCount++;var Fe=new Array(6);function Ye(Ge,Xe,Je,tt,Ve,it){var pt,Et=Me.texInfo;for(Ci.call(Et),pt=0;pt<6;++pt)Fe[pt]=fi();if(typeof Ge!="number"&&Ge)if(_(Ge)==="object")if(Xe)Gn(Fe[0],Ge),Gn(Fe[1],Xe),Gn(Fe[2],Je),Gn(Fe[3],tt),Gn(Fe[4],Ve),Gn(Fe[5],it);else if(eo(Et,Ge),ai(Me,Ge),"faces"in Ge){var mt=Ge.faces;for(W(Array.isArray(mt)&&mt.length===6,"cube faces must be a length 6 array"),pt=0;pt<6;++pt)W(_(mt[pt])==="object"&&!!mt[pt],"invalid input for cube map face"),Mn(Fe[pt],Me),Gn(Fe[pt],mt[pt])}else for(pt=0;pt<6;++pt)Gn(Fe[pt],Ge);else W.raise("invalid arguments to cube map");else{var xt=0|Ge||1;for(pt=0;pt<6;++pt)Ai(Fe[pt],xt,xt)}for(Mn(Me,Fe[0]),bt.npotTextureCube||W(jt(Me.width)&&jt(Me.height),"your browser does not support non power or two texture dimensions"),Et.genMipmaps?Me.mipmask=(Fe[0].width<<1)-1:Me.mipmask=Fe[0].mipmask,W.textureCube(Me,Et,Fe,bt),Me.internalformat=Fe[0].internalformat,Ye.width=Fe[0].width,Ye.height=Fe[0].height,w(Me),pt=0;pt<6;++pt)zi(Fe[pt],34069+pt);for(so(Et,34067),D(),Qe.profile&&(Me.stats.size=Dn(Me.internalformat,Me.type,Ye.width,Ye.height,Et.genMipmaps,!0)),Ye.format=Gr[Me.internalformat],Ye.type=$r[Me.type],Ye.mag=Kr[Et.magFilter],Ye.min=jn[Et.minFilter],Ye.wrapS=Cn[Et.wrapS],Ye.wrapT=Cn[Et.wrapT],pt=0;pt<6;++pt)Ui(Fe[pt]);return Ye}return Ye(K,oe,ge,be,De,Ue),Ye.subimage=function(Ge,Xe,Je,tt,Ve){W(!!Xe,"must specify image data"),W(typeof Ge=="number"&&Ge===(0|Ge)&&Ge>=0&&Ge<6,"invalid face");var it=0|Je,pt=0|tt,Et=0|Ve,mt=nn();return Mn(mt,Me),mt.width=0,mt.height=0,Jr(mt,Xe),mt.width=mt.width||(Me.width>>Et)-it,mt.height=mt.height||(Me.height>>Et)-pt,W(Me.type===mt.type&&Me.format===mt.format&&Me.internalformat===mt.internalformat,"incompatible format for texture.subimage"),W(it>=0&&pt>=0&&it+mt.width<=Me.width&&pt+mt.height<=Me.height,"texture.subimage write out of bounds"),W(Me.mipmask&1<>tt;++tt)Be.texImage2D(34069+Je,tt,Me.format,Xe>>tt,Xe>>tt,0,Me.format,Me.type,null);return D(),Qe.profile&&(Me.stats.size=Dn(Me.internalformat,Me.type,Ye.width,Ye.height,!1,!0)),Ye}},Ye._reglType="textureCube",Ye._texture=Me,Qe.profile&&(Ye.stats=Me.stats),Ye.destroy=function(){Me.decRef()},Ye},clear:function(){for(var K=0;K<_t;++K)Be.activeTexture(33984+K),Be.bindTexture(3553,null),$e[K]=null;fe(Ti).forEach(he),ze.cubeCount=0,ze.textureCount=0},getTexture:function(K){return null},restore:function(){for(var K=0;K<_t;++K){var oe=$e[K];oe&&(oe.bindCount=0,oe.unit=-1,$e[K]=null)}fe(Ti).forEach(function(ge){ge.texture=Be.createTexture(),Be.bindTexture(ge.target,ge.texture);for(var be=0;be<32;++be)if((ge.mipmask&1<>be,ge.height>>be,0,ge.internalformat,ge.type,null);else for(var De=0;De<6;++De)Be.texImage2D(34069+De,be,ge.internalformat,ge.width>>be,ge.height>>be,0,ge.internalformat,ge.type,null);so(ge.texInfo,ge.target)})},refresh:function(){for(var K=0;K<_t;++K){var oe=$e[K];oe&&(oe.bindCount=0,oe.unit=-1,$e[K]=null),Be.activeTexture(33984+K),Be.bindTexture(3553,null),Be.bindTexture(34067,null)}}}}Br[32854]=2,Br[32855]=2,Br[36194]=2,Br[34041]=4,Br[33776]=.5,Br[33777]=.5,Br[33778]=1,Br[33779]=1,Br[35986]=.5,Br[35987]=1,Br[34798]=1,Br[35840]=.5,Br[35841]=.25,Br[35842]=.5,Br[35843]=.25,Br[36196]=.5;var gn=[];function Er(Be,ut,bt){return gn[Be]*ut*bt}gn[32854]=2,gn[32855]=2,gn[36194]=2,gn[33189]=2,gn[36168]=1,gn[34041]=4,gn[35907]=4,gn[34836]=16,gn[34842]=8,gn[34843]=6;var ln=[6407,6408],yn=[];yn[6408]=4,yn[6407]=3;var mn=[];mn[5121]=1,mn[5126]=4,mn[36193]=2;var Qn=[32854,32855,36194,35907,34842,34843,34836],Un={};function ri(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.offset=0,this.stride=0,this.divisor=0}function Oi(Be,ut,bt,Ft,_e,ze,Qe){function lt(vt){var wt;ut.next===null?(W(_e.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),wt=5121):(W(ut.next.colorAttachments[0].texture!==null,"You cannot read from a renderbuffer"),wt=ut.next.colorAttachments[0].texture._texture.type,ze.oes_texture_float?(W(wt===5121||wt===5126,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),wt===5126&&W(Qe.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):W(wt===5121,"Reading from a framebuffer is only allowed for the type 'uint8'"));var Lt=0,Wt=0,er=Ft.framebufferWidth,tr=Ft.framebufferHeight,ar=null;x(vt)?ar=vt:vt&&(W.type(vt,"object","invalid arguments to regl.read()"),Lt=0|vt.x,Wt=0|vt.y,W(Lt>=0&&Lt=0&&Wt0&&er+Lt<=Ft.framebufferWidth,"invalid width for read pixels"),W(tr>0&&tr+Wt<=Ft.framebufferHeight,"invalid height for read pixels"),bt();var pr=er*tr*4;return ar||(wt===5121?ar=new Uint8Array(pr):wt===5126&&(ar=ar||new Float32Array(pr))),W.isTypedArray(ar,"data buffer for regl.read() must be a typedarray"),W(ar.byteLength>=pr,"data buffer for regl.read() too small"),Be.pixelStorei(3333,4),Be.readPixels(Lt,Wt,er,tr,6408,wt,ar),ar}return function(vt){return vt&&"framebuffer"in vt?function(wt){var Lt;return ut.setFBO({framebuffer:wt.framebuffer},function(){Lt=lt(wt)}),Lt}(vt):lt(vt)}}function ni(Be){return Array.prototype.slice.call(Be)}function Bn(Be){return ni(Be).join("")}Un[36053]="complete",Un[36054]="incomplete attachment",Un[36057]="incomplete dimensions",Un[36055]="incomplete, missing attachment",Un[36061]="unsupported";var wi="xyzw".split(""),Mi="profile",Wn="framebuffer",ii="vert",Jn="frag",hi="elements",Vn="primitive",oi="count",di="offset",_i="instances",Xn="vao",Yn=Wn+"Width",ki=Wn+"Height",Gi=["blend.func","blend.equation","stencil.func","stencil.opFront","stencil.opBack","sample.coverage","viewport","scissor.box","polygonOffset.offset"],Hn={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},oo=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],ci={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},li={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},ao={frag:35632,vert:35633},Zi={cw:2304,ccw:2305};function $i(Be){return Array.isArray(Be)||x(Be)||re(Be)}function vo(Be){return Be.sort(function(ut,bt){return ut==="viewport"?-1:bt==="viewport"?1:ut=1,Ft>=2,ut)}if(bt===4){var _e=Be.data;return new nr(_e.thisDep,_e.contextDep,_e.propDep,ut)}if(bt===5)return new nr(!1,!1,!1,ut);if(bt===6){for(var ze=!1,Qe=!1,lt=!1,vt=0;vt=1&&(Qe=!0),Lt>=2&&(lt=!0)}else wt.type===4&&(ze=ze||wt.data.thisDep,Qe=Qe||wt.data.contextDep,lt=lt||wt.data.propDep)}return new nr(ze,Qe,lt,ut)}return new nr(bt===3,bt===2,bt===1,ut)}var ft=new nr(!1,!1,!1,function(){});function At(Be,ut,bt,Ft,_e,ze,Qe,lt,vt,wt,Lt,Wt,er,tr,ar){var pr=wt.Record,Ur={add:32774,subtract:32778,"reverse subtract":32779};bt.ext_blend_minmax&&(Ur.min=32775,Ur.max=32776);var Gr=bt.angle_instanced_arrays,$r=bt.webgl_draw_buffers,Kr={dirty:!0,profile:ar.profile},jn={},Cn=[],qn={},Qr={};function Mn(_t){return _t.replace(".","_")}function ai(_t,$e,St){var w=Mn(_t);Cn.push(_t),jn[w]=Kr[w]=!!St,qn[w]=$e}function Sn(_t,$e,St){var w=Mn(_t);Cn.push(_t),Array.isArray(St)?(Kr[w]=St.slice(),jn[w]=St.slice()):Kr[w]=jn[w]=St,Qr[w]=$e}ai("dither",3024),ai("blend.enable",3042),Sn("blend.color","blendColor",[0,0,0,0]),Sn("blend.equation","blendEquationSeparate",[32774,32774]),Sn("blend.func","blendFuncSeparate",[1,0,1,0]),ai("depth.enable",2929,!0),Sn("depth.func","depthFunc",513),Sn("depth.range","depthRange",[0,1]),Sn("depth.mask","depthMask",!0),Sn("colorMask","colorMask",[!0,!0,!0,!0]),ai("cull.enable",2884),Sn("cull.face","cullFace",1029),Sn("frontFace","frontFace",2305),Sn("lineWidth","lineWidth",1),ai("polygonOffset.enable",32823),Sn("polygonOffset.offset","polygonOffset",[0,0]),ai("sample.alpha",32926),ai("sample.enable",32928),Sn("sample.coverage","sampleCoverage",[1,!1]),ai("stencil.enable",2960),Sn("stencil.mask","stencilMask",-1),Sn("stencil.func","stencilFunc",[519,0,-1]),Sn("stencil.opFront","stencilOpSeparate",[1028,7680,7680,7680]),Sn("stencil.opBack","stencilOpSeparate",[1029,7680,7680,7680]),ai("scissor.enable",3089),Sn("scissor.box","scissor",[0,0,Be.drawingBufferWidth,Be.drawingBufferHeight]),Sn("viewport","viewport",[0,0,Be.drawingBufferWidth,Be.drawingBufferHeight]);var si={gl:Be,context:er,strings:ut,next:jn,current:Kr,draw:Wt,elements:ze,buffer:_e,shader:Lt,attributes:wt.state,vao:wt,uniforms:vt,framebuffer:lt,extensions:bt,timer:tr,isBufferArgs:$i},Jr={primTypes:et,compareFuncs:ci,blendFuncs:Hn,blendEquations:Ur,stencilOps:li,glTypes:Se,orientationType:Zi};W.optional(function(){si.isArrayLike=Tt}),$r&&(Jr.backBuffer=[1029],Jr.drawBuffer=J(Ft.maxDrawbuffers,function(_t){return _t===0?[0]:J(_t,function($e){return 36064+$e})}));var ko=0;function Fi(){var _t=function(){var be=0,De=[],Ue=[];function Me(){var Xe=[],Je=[];return O(function(){Xe.push.apply(Xe,ni(arguments))},{def:function(){var tt="v"+be++;return Je.push(tt),arguments.length>0&&(Xe.push(tt,"="),Xe.push.apply(Xe,ni(arguments)),Xe.push(";")),tt},toString:function(){return Bn([Je.length>0?"var "+Je.join(",")+";":"",Bn(Xe)])}})}function Fe(){var Xe=Me(),Je=Me(),tt=Xe.toString,Ve=Je.toString;function it(pt,Et){Je(pt,Et,"=",Xe.def(pt,Et),";")}return O(function(){Xe.apply(Xe,ni(arguments))},{def:Xe.def,entry:Xe,exit:Je,save:it,set:function(pt,Et,mt){it(pt,Et),Xe(pt,Et,"=",mt,";")},toString:function(){return tt()+Ve()}})}var Ye=Me(),Ge={};return{global:Ye,link:function(Xe){for(var Je=0;Je0&&we<=bt.maxTextureSize&&ze>0&&ze<=bt.maxTextureSize,"invalid texture shape"),Be.wrapS===33071&&Be.wrapT===33071||g(ye(we)&&ye(ze),"incompatible wrap mode for texture, both width and height must be power of 2"),ut.mipmask===1?we!==1&&ze!==1&&g(Be.minFilter!==9984&&Be.minFilter!==9986&&Be.minFilter!==9985&&Be.minFilter!==9987,"min filter requires mipmap"):(g(ye(we)&&ye(ze),"texture must be a square power of 2 to support mipmapping"),g(ut.mipmask===(we<<1)-1,"missing or incomplete mipmap data")),ut.type===5126&&(bt.extensions.indexOf("oes_texture_float_linear")<0&&g(Be.minFilter===9728&&Be.magFilter===9728,"filter not supported, must enable oes_texture_float_linear"),g(!Be.genMipmaps,"mipmap generation not supported with float textures"));var lt=ut.images;for(Ft=0;Ft<16;++Ft)if(lt[Ft]){var vt=we>>Ft,wt=ze>>Ft;g(ut.mipmask&1<0&&we<=Ft.maxTextureSize&&ze>0&&ze<=Ft.maxTextureSize,"invalid texture shape"),g(we===ze,"cube map must be square"),g(ut.wrapS===33071&&ut.wrapT===33071,"wrap mode not supported by cube map");for(var lt=0;lt>Lt,rr=ze>>Lt;g(vt.mipmask&1<1&&Ft===we&&(Ft==='"'||Ft==="'"))return['"'+he(bt.substr(1,bt.length-2))+'"'];var ze=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(bt);if(ze)return ut(bt.substr(0,ze.index)).concat(ut(ze[1])).concat(ut(bt.substr(ze.index+ze[0].length)));var Qe=bt.split(".");if(Qe.length===1)return['"'+he(bt)+'"'];for(var lt=[],vt=0;vt0,"invalid pixel ratio"))):Y.raise("invalid arguments to regl"),ut&&(ut.nodeName.toLowerCase()==="canvas"?Ft=ut:bt=ut),!we){if(!Ft){Y(typeof document!="undefined","must manually specify webgl context outside of DOM environments");var sr=function(gr,Vr,Fr){var $r,Kr=document.createElement("canvas");function jn(){var Cn=window.innerWidth,qn=window.innerHeight;if(gr!==document.body){var Qr=gr.getBoundingClientRect();Cn=Qr.right-Qr.left,qn=Qr.bottom-Qr.top}Kr.width=Fr*Cn,Kr.height=Fr*qn,O(Kr.style,{width:Cn+"px",height:qn+"px"})}return O(Kr.style,{border:0,margin:0,padding:0,top:0,left:0}),gr.appendChild(Kr),gr===document.body&&(Kr.style.position="absolute",O(gr.style,{margin:0,padding:0})),gr!==document.body&&typeof ResizeObserver=="function"?($r=new ResizeObserver(function(){setTimeout(jn)})).observe(gr):window.addEventListener("resize",jn,!1),jn(),{canvas:Kr,onDestroy:function(){$r?$r.disconnect():window.removeEventListener("resize",jn),gr.removeChild(Kr)}}}(bt||document.body,0,Lt);if(!sr)return null;Ft=sr.canvas,rr=sr.onDestroy}lt.premultipliedAlpha===void 0&&(lt.premultipliedAlpha=!0),we=function(gr,Vr){function Fr($r){try{return gr.getContext($r,Vr)}catch(Kr){return null}}return Fr("webgl")||Fr("experimental-webgl")||Fr("webgl-experimental")}(Ft,lt)}return we?{gl:we,canvas:Ft,container:bt,extensions:vt,optionalExtensions:wt,pixelRatio:Lt,profile:Wt,onDone:er,onDestroy:rr}:(rr(),er("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function te(Be,ut){for(var bt=Array(Be),Ft=0;Ft65535)<<4,ut|=bt=((Be>>>=ut)>255)<<3,ut|=bt=((Be>>>=bt)>15)<<2,(ut|=bt=((Be>>>=bt)>3)<<1)|(Be>>>=bt)>>1}function X(){var Be=te(8,function(){return[]});function ut(Ft){var we=function(Qe){for(var lt=16;lt<=268435456;lt*=16)if(Qe<=lt)return lt;return 0}(Ft),ze=Be[U(we)>>2];return ze.length>0?ze.pop():new ArrayBuffer(we)}function bt(Ft){Be[U(Ft.byteLength)>>2].push(Ft)}return{alloc:ut,free:bt,allocType:function(Ft,we){var ze=null;switch(Ft){case 5120:ze=new Int8Array(ut(we),0,we);break;case 5121:ze=new Uint8Array(ut(we),0,we);break;case 5122:ze=new Int16Array(ut(2*we),0,we);break;case 5123:ze=new Uint16Array(ut(2*we),0,we);break;case 5124:ze=new Int32Array(ut(4*we),0,we);break;case 5125:ze=new Uint32Array(ut(4*we),0,we);break;case 5126:ze=new Float32Array(ut(4*we),0,we);break;default:return null}return ze.length!==we?ze.subarray(0,we):ze},freeType:function(Ft){bt(Ft.buffer)}}}var B=X();function J(Be){return!!Be&&_(Be)==="object"&&Array.isArray(Be.shape)&&Array.isArray(Be.stride)&&typeof Be.offset=="number"&&Be.shape.length===Be.stride.length&&(Array.isArray(Be.data)||x(Be.data))}B.zero=X();var ne=function(Be){return Object.keys(Be).map(function(ut){return Be[ut]})},ie={shape:function(Be){for(var ut=[],bt=Be;bt.length;bt=bt[0])ut.push(bt.length);return ut},flatten:function(Be,ut,bt,Ft){var we=1;if(ut.length)for(var ze=0;ze>>31<<15,ze=(Ft<<1>>>24)-127,Qe=Ft>>13&1023;if(ze<-24)ut[bt]=we;else if(ze<-14){var lt=-14-ze;ut[bt]=we+(Qe+1024>>lt)}else ut[bt]=ze>15?we+31744:we+(ze+15<<10)+Qe}return ut}function At(Be){return Array.isArray(Be)||x(Be)}var It=function(Be){return!(Be&Be-1||!Be)},Kt=[9984,9986,9985,9987],Qt=[0,6409,6410,6407,6408],tr={};function nr(Be){return"[object "+Be+"]"}tr[6409]=tr[6406]=tr[6402]=1,tr[34041]=tr[6410]=2,tr[6407]=tr[35904]=3,tr[6408]=tr[35906]=4;var Mr=nr("HTMLCanvasElement"),ar=nr("OffscreenCanvas"),yr=nr("CanvasRenderingContext2D"),mr=nr("ImageBitmap"),Rr=nr("HTMLImageElement"),pr=nr("HTMLVideoElement"),xr=Object.keys(fe).concat([Mr,ar,yr,mr,Rr,pr]),dr=[];dr[5121]=1,dr[5126]=4,dr[36193]=2,dr[5123]=2,dr[5125]=4;var Gr=[];function Lr(Be){return Array.isArray(Be)&&(Be.length===0||typeof Be[0]=="number")}function pn(Be){return!!Array.isArray(Be)&&!(Be.length===0||!At(Be[0]))}function Ur(Be){return Object.prototype.toString.call(Be)}function Nr(Be){return Ur(Be)===Mr}function Dr(Be){return Ur(Be)===ar}function rn(Be){if(!Be)return!1;var ut=Ur(Be);return xr.indexOf(ut)>=0||Lr(Be)||pn(Be)||J(Be)}function Ir(Be){return 0|fe[Object.prototype.toString.call(Be)]}function On(Be,ut){return B.allocType(Be.type===36193?5126:Be.type,ut)}function In(Be,ut){Be.type===36193?(Be.data=kt(ut),B.freeType(ut)):Be.data=ut}function Dn(Be,ut,bt,Ft,we,ze){var Qe;if(Qe=Gr[Be]!==void 0?Gr[Be]:tr[Be]*dr[ut],ze&&(Qe*=6),we){for(var lt=0,vt=bt;vt>=1;)lt+=Qe*vt*vt,vt/=2;return lt}return Qe*bt*Ft}function Rn(Be,ut,bt,Ft,we,ze,Qe){var lt={"don't care":4352,"dont care":4352,nice:4354,fast:4353},vt={repeat:10497,clamp:33071,mirror:33648},wt={nearest:9728,linear:9729},Lt=O({mipmap:9987,"nearest mipmap nearest":9984,"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},wt),Wt={none:0,browser:37444},er={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},rr={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},sr={};ut.ext_srgb&&(rr.srgb=35904,rr.srgba=35906),ut.oes_texture_float&&(er.float32=er.float=5126),ut.oes_texture_half_float&&(er.float16=er["half float"]=36193),ut.webgl_depth_texture&&(O(rr,{depth:6402,"depth stencil":34041}),O(er,{uint16:5123,uint32:5125,"depth stencil":34042})),ut.webgl_compressed_texture_s3tc&&O(sr,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779}),ut.webgl_compressed_texture_atc&&O(sr,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798}),ut.webgl_compressed_texture_pvrtc&&O(sr,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843}),ut.webgl_compressed_texture_etc1&&(sr["rgb etc1"]=36196);var gr=Array.prototype.slice.call(Be.getParameter(34467));Object.keys(sr).forEach(function(K){var oe=sr[K];gr.indexOf(oe)>=0&&(rr[K]=oe)});var Vr=Object.keys(rr);bt.textureFormats=Vr;var Fr=[];Object.keys(rr).forEach(function(K){var oe=rr[K];Fr[oe]=K});var $r=[];Object.keys(er).forEach(function(K){var oe=er[K];$r[oe]=K});var Kr=[];Object.keys(wt).forEach(function(K){Kr[wt[K]]=K});var jn=[];Object.keys(Lt).forEach(function(K){var oe=Lt[K];jn[oe]=K});var Cn=[];Object.keys(vt).forEach(function(K){Cn[vt[K]]=K});var qn=Vr.reduce(function(K,oe){var pe=rr[oe];return pe===6409||pe===6406||pe===6409||pe===6410||pe===6402||pe===34041||ut.ext_srgb&&(pe===35904||pe===35906)?K[pe]=pe:pe===32855||oe.indexOf("rgba")>=0?K[pe]=6408:K[pe]=6407,K},{});function Qr(){this.internalformat=6408,this.format=6408,this.type=5121,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=37444,this.width=0,this.height=0,this.channels=0}function Mn(K,oe){K.internalformat=oe.internalformat,K.format=oe.format,K.type=oe.type,K.compressed=oe.compressed,K.premultiplyAlpha=oe.premultiplyAlpha,K.flipY=oe.flipY,K.unpackAlignment=oe.unpackAlignment,K.colorSpace=oe.colorSpace,K.width=oe.width,K.height=oe.height,K.channels=oe.channels}function ai(K,oe){if(_(oe)==="object"&&oe){if("premultiplyAlpha"in oe&&(Y.type(oe.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),K.premultiplyAlpha=oe.premultiplyAlpha),"flipY"in oe&&(Y.type(oe.flipY,"boolean","invalid texture flip"),K.flipY=oe.flipY),"alignment"in oe&&(Y.oneOf(oe.alignment,[1,2,4,8],"invalid texture unpack alignment"),K.unpackAlignment=oe.alignment),"colorSpace"in oe&&(Y.parameter(oe.colorSpace,Wt,"invalid colorSpace"),K.colorSpace=Wt[oe.colorSpace]),"type"in oe){var pe=oe.type;Y(ut.oes_texture_float||!(pe==="float"||pe==="float32"),"you must enable the OES_texture_float extension in order to use floating point textures."),Y(ut.oes_texture_half_float||!(pe==="half float"||pe==="float16"),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),Y(ut.webgl_depth_texture||!(pe==="uint16"||pe==="uint32"||pe==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),Y.parameter(pe,er,"invalid texture type"),K.type=er[pe]}var be=K.width,De=K.height,Ue=K.channels,ke=!1;"shape"in oe?(Y(Array.isArray(oe.shape)&&oe.shape.length>=2,"shape must be an array"),be=oe.shape[0],De=oe.shape[1],oe.shape.length===3&&(Ue=oe.shape[2],Y(Ue>0&&Ue<=4,"invalid number of channels"),ke=!0),Y(be>=0&&be<=bt.maxTextureSize,"invalid width"),Y(De>=0&&De<=bt.maxTextureSize,"invalid height")):("radius"in oe&&(be=De=oe.radius,Y(be>=0&&be<=bt.maxTextureSize,"invalid radius")),"width"in oe&&(be=oe.width,Y(be>=0&&be<=bt.maxTextureSize,"invalid width")),"height"in oe&&(De=oe.height,Y(De>=0&&De<=bt.maxTextureSize,"invalid height")),"channels"in oe&&(Ue=oe.channels,Y(Ue>0&&Ue<=4,"invalid number of channels"),ke=!0)),K.width=0|be,K.height=0|De,K.channels=0|Ue;var Fe=!1;if("format"in oe){var Ye=oe.format;Y(ut.webgl_depth_texture||!(Ye==="depth"||Ye==="depth stencil"),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),Y.parameter(Ye,rr,"invalid texture format");var Ge=K.internalformat=rr[Ye];K.format=qn[Ge],Ye in er&&("type"in oe||(K.type=er[Ye])),Ye in sr&&(K.compressed=!0),Fe=!0}!ke&&Fe?K.channels=tr[K.format]:ke&&!Fe?K.channels!==Qt[K.format]&&(K.format=K.internalformat=Qt[K.channels]):Fe&&ke&&Y(K.channels===tr[K.format],"number of channels inconsistent with specified format")}}function Sn(K){Be.pixelStorei(37440,K.flipY),Be.pixelStorei(37441,K.premultiplyAlpha),Be.pixelStorei(37443,K.colorSpace),Be.pixelStorei(3317,K.unpackAlignment)}function si(){Qr.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function Jr(K,oe){var pe=null;if(rn(oe)?pe=oe:oe&&(Y.type(oe,"object","invalid pixel data type"),ai(K,oe),"x"in oe&&(K.xOffset=0|oe.x),"y"in oe&&(K.yOffset=0|oe.y),rn(oe.data)&&(pe=oe.data)),Y(!K.compressed||pe instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),oe.copy){Y(!pe,"can not specify copy and data field for the same texture");var be=we.viewportWidth,De=we.viewportHeight;K.width=K.width||be-K.xOffset,K.height=K.height||De-K.yOffset,K.needsCopy=!0,Y(K.xOffset>=0&&K.xOffset=0&&K.yOffset0&&K.width<=be&&K.height>0&&K.height<=De,"copy texture read out of bounds")}else if(pe){if(x(pe))K.channels=K.channels||4,K.data=pe,"type"in oe||K.type!==5121||(K.type=Ir(pe));else if(Lr(pe))K.channels=K.channels||4,function(qe,at){var ht=at.length;switch(qe.type){case 5121:case 5123:case 5125:case 5126:var Mt=B.allocType(qe.type,ht);Mt.set(at),qe.data=Mt;break;case 36193:qe.data=kt(at);break;default:Y.raise("unsupported texture type, must specify a typed array")}}(K,pe),K.alignment=1,K.needsFree=!0;else if(J(pe)){var Ue=pe.data;Array.isArray(Ue)||K.type!==5121||(K.type=Ir(Ue));var ke,Fe,Ye,Ge,Xe,et,tt=pe.shape,Ve=pe.stride;tt.length===3?(Ye=tt[2],et=Ve[2]):(Y(tt.length===2,"invalid ndarray pixel data, must be 2 or 3D"),Ye=1,et=1),ke=tt[0],Fe=tt[1],Ge=Ve[0],Xe=Ve[1],K.alignment=1,K.width=ke,K.height=Fe,K.channels=Ye,K.format=K.internalformat=Qt[Ye],K.needsFree=!0,function(qe,at,ht,Mt,zt,Ut){for(var Xt=qe.width,fr=qe.height,Or=qe.channels,kr=On(qe,Xt*fr*Or),br=0,ur=0;ur=0,"oes_texture_float extension not enabled"):K.type===36193&&Y(bt.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function ko(K,oe,pe){var be=K.element,De=K.data,Ue=K.internalformat,ke=K.format,Fe=K.type,Ye=K.width,Ge=K.height;Sn(K),be?Be.texImage2D(oe,pe,ke,ke,Fe,be):K.compressed?Be.compressedTexImage2D(oe,pe,Ue,Ye,Ge,0,De):K.needsCopy?(Ft(),Be.copyTexImage2D(oe,pe,ke,K.xOffset,K.yOffset,Ye,Ge,0)):Be.texImage2D(oe,pe,ke,Ye,Ge,0,ke,Fe,De||null)}function Fi(K,oe,pe,be,De){var Ue=K.element,ke=K.data,Fe=K.internalformat,Ye=K.format,Ge=K.type,Xe=K.width,et=K.height;Sn(K),Ue?Be.texSubImage2D(oe,De,pe,be,Ye,Ge,Ue):K.compressed?Be.compressedTexSubImage2D(oe,De,pe,be,Fe,Xe,et,ke):K.needsCopy?(Ft(),Be.copyTexSubImage2D(oe,De,pe,be,K.xOffset,K.yOffset,Xe,et)):Be.texSubImage2D(oe,De,pe,be,Xe,et,Ye,Ge,ke)}var Qi=[];function nn(){return Qi.pop()||new si}function pi(K){K.needsFree&&B.freeType(K.data),si.call(K),Qi.push(K)}function Ji(){Qr.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function Ai(K,oe,pe){var be=K.images[0]=nn();K.mipmask=1,be.width=K.width=oe,be.height=K.height=pe,be.channels=K.channels=4}function Gn(K,oe){var pe=null;if(rn(oe))Mn(pe=K.images[0]=nn(),K),Jr(pe,oe),K.mipmask=1;else if(ai(K,oe),Array.isArray(oe.mipmap))for(var be=oe.mipmap,De=0;De>=De,pe.height>>=De,Jr(pe,be[De]),K.mipmask|=1<=0&&!("faces"in oe)&&(K.genMipmaps=!0)}if("mag"in oe){var be=oe.mag;Y.parameter(be,wt),K.magFilter=wt[be]}var De=K.wrapS,Ue=K.wrapT;if("wrap"in oe){var ke=oe.wrap;typeof ke=="string"?(Y.parameter(ke,vt),De=Ue=vt[ke]):Array.isArray(ke)&&(Y.parameter(ke[0],vt),Y.parameter(ke[1],vt),De=vt[ke[0]],Ue=vt[ke[1]])}else{if("wrapS"in oe){var Fe=oe.wrapS;Y.parameter(Fe,vt),De=vt[Fe]}if("wrapT"in oe){var Ye=oe.wrapT;Y.parameter(Ye,vt),Ue=vt[Ye]}}if(K.wrapS=De,K.wrapT=Ue,"anisotropic"in oe){var Ge=oe.anisotropic;Y(typeof Ge=="number"&&Ge>=1&&Ge<=bt.maxAnisotropic,"aniso samples must be between 1 and "),K.anisotropic=oe.anisotropic}if("mipmap"in oe){var Xe=!1;switch(_(oe.mipmap)){case"string":Y.parameter(oe.mipmap,lt,"invalid mipmap hint"),K.mipmapHint=lt[oe.mipmap],K.genMipmaps=!0,Xe=!0;break;case"boolean":Xe=K.genMipmaps=oe.mipmap;break;case"object":Y(Array.isArray(oe.mipmap),"invalid mipmap type"),K.genMipmaps=!1,Xe=!0;break;default:Y.raise("invalid mipmap type")}Xe&&!("min"in oe)&&(K.minFilter=9984)}}function so(K,oe){Be.texParameteri(oe,10241,K.minFilter),Be.texParameteri(oe,10240,K.magFilter),Be.texParameteri(oe,10242,K.wrapS),Be.texParameteri(oe,10243,K.wrapT),ut.ext_texture_filter_anisotropic&&Be.texParameteri(oe,34046,K.anisotropic),K.genMipmaps&&(Be.hint(33170,K.mipmapHint),Be.generateMipmap(oe))}var Vi=0,Ti={},_t=bt.maxTextureUnits,$e=Array(_t).map(function(){return null});function St(K){Qr.call(this),this.mipmask=0,this.internalformat=6408,this.id=Vi++,this.refCount=1,this.target=K,this.texture=Be.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Ci,Qe.profile&&(this.stats={size:0})}function w(K){Be.activeTexture(33984),Be.bindTexture(K.target,K.texture)}function D(){var K=$e[0];K?Be.bindTexture(K.target,K.texture):Be.bindTexture(3553,null)}function ce(K){var oe=K.texture;Y(oe,"must not double destroy texture");var pe=K.unit,be=K.target;pe>=0&&(Be.activeTexture(33984+pe),Be.bindTexture(be,null),$e[pe]=null),Be.deleteTexture(oe),K.texture=null,K.params=null,K.pixels=null,K.refCount=0,delete Ti[K.id],ze.textureCount--}return O(St.prototype,{bind:function(){this.bindCount+=1;var K=this.unit;if(K<0){for(var oe=0;oe<_t;++oe){var pe=$e[oe];if(pe){if(pe.bindCount>0)continue;pe.unit=-1}$e[oe]=this,K=oe;break}K>=_t&&Y.raise("insufficient number of texture units"),Qe.profile&&ze.maxTextureUnits>Xe)-Ye,et.height=et.height||(pe.height>>Xe)-Ge,Y(pe.type===et.type&&pe.format===et.format&&pe.internalformat===et.internalformat,"incompatible format for texture.subimage"),Y(Ye>=0&&Ge>=0&&Ye+et.width<=pe.width&&Ge+et.height<=pe.height,"texture.subimage write out of bounds"),Y(pe.mipmask&1<>Ye;++Ye){var Ge=ke>>Ye,Xe=Fe>>Ye;if(!Ge||!Xe)break;Be.texImage2D(3553,Ye,pe.format,Ge,Xe,0,pe.format,pe.type,null)}return D(),Qe.profile&&(pe.stats.size=Dn(pe.internalformat,pe.type,ke,Fe,!1,!1)),be},be._reglType="texture2d",be._texture=pe,Qe.profile&&(be.stats=pe.stats),be.destroy=function(){pe.decRef()},be},createCube:function(K,oe,pe,be,De,Ue){var ke=new St(34067);Ti[ke.id]=ke,ze.cubeCount++;var Fe=new Array(6);function Ye(Ge,Xe,et,tt,Ve,ot){var pt,Et=ke.texInfo;for(Ci.call(Et),pt=0;pt<6;++pt)Fe[pt]=fi();if(typeof Ge!="number"&&Ge)if(_(Ge)==="object")if(Xe)Gn(Fe[0],Ge),Gn(Fe[1],Xe),Gn(Fe[2],et),Gn(Fe[3],tt),Gn(Fe[4],Ve),Gn(Fe[5],ot);else if(eo(Et,Ge),ai(ke,Ge),"faces"in Ge){var mt=Ge.faces;for(Y(Array.isArray(mt)&&mt.length===6,"cube faces must be a length 6 array"),pt=0;pt<6;++pt)Y(_(mt[pt])==="object"&&!!mt[pt],"invalid input for cube map face"),Mn(Fe[pt],ke),Gn(Fe[pt],mt[pt])}else for(pt=0;pt<6;++pt)Gn(Fe[pt],Ge);else Y.raise("invalid arguments to cube map");else{var xt=0|Ge||1;for(pt=0;pt<6;++pt)Ai(Fe[pt],xt,xt)}for(Mn(ke,Fe[0]),bt.npotTextureCube||Y(It(ke.width)&&It(ke.height),"your browser does not support non power or two texture dimensions"),Et.genMipmaps?ke.mipmask=(Fe[0].width<<1)-1:ke.mipmask=Fe[0].mipmask,Y.textureCube(ke,Et,Fe,bt),ke.internalformat=Fe[0].internalformat,Ye.width=Fe[0].width,Ye.height=Fe[0].height,w(ke),pt=0;pt<6;++pt)zi(Fe[pt],34069+pt);for(so(Et,34067),D(),Qe.profile&&(ke.stats.size=Dn(ke.internalformat,ke.type,Ye.width,Ye.height,Et.genMipmaps,!0)),Ye.format=Fr[ke.internalformat],Ye.type=$r[ke.type],Ye.mag=Kr[Et.magFilter],Ye.min=jn[Et.minFilter],Ye.wrapS=Cn[Et.wrapS],Ye.wrapT=Cn[Et.wrapT],pt=0;pt<6;++pt)Ui(Fe[pt]);return Ye}return Ye(K,oe,pe,be,De,Ue),Ye.subimage=function(Ge,Xe,et,tt,Ve){Y(!!Xe,"must specify image data"),Y(typeof Ge=="number"&&Ge===(0|Ge)&&Ge>=0&&Ge<6,"invalid face");var ot=0|et,pt=0|tt,Et=0|Ve,mt=nn();return Mn(mt,ke),mt.width=0,mt.height=0,Jr(mt,Xe),mt.width=mt.width||(ke.width>>Et)-ot,mt.height=mt.height||(ke.height>>Et)-pt,Y(ke.type===mt.type&&ke.format===mt.format&&ke.internalformat===mt.internalformat,"incompatible format for texture.subimage"),Y(ot>=0&&pt>=0&&ot+mt.width<=ke.width&&pt+mt.height<=ke.height,"texture.subimage write out of bounds"),Y(ke.mipmask&1<>tt;++tt)Be.texImage2D(34069+et,tt,ke.format,Xe>>tt,Xe>>tt,0,ke.format,ke.type,null);return D(),Qe.profile&&(ke.stats.size=Dn(ke.internalformat,ke.type,Ye.width,Ye.height,!1,!0)),Ye}},Ye._reglType="textureCube",Ye._texture=ke,Qe.profile&&(Ye.stats=ke.stats),Ye.destroy=function(){ke.decRef()},Ye},clear:function(){for(var K=0;K<_t;++K)Be.activeTexture(33984+K),Be.bindTexture(3553,null),$e[K]=null;ne(Ti).forEach(ce),ze.cubeCount=0,ze.textureCount=0},getTexture:function(K){return null},restore:function(){for(var K=0;K<_t;++K){var oe=$e[K];oe&&(oe.bindCount=0,oe.unit=-1,$e[K]=null)}ne(Ti).forEach(function(pe){pe.texture=Be.createTexture(),Be.bindTexture(pe.target,pe.texture);for(var be=0;be<32;++be)if((pe.mipmask&1<>be,pe.height>>be,0,pe.internalformat,pe.type,null);else for(var De=0;De<6;++De)Be.texImage2D(34069+De,be,pe.internalformat,pe.width>>be,pe.height>>be,0,pe.internalformat,pe.type,null);so(pe.texInfo,pe.target)})},refresh:function(){for(var K=0;K<_t;++K){var oe=$e[K];oe&&(oe.bindCount=0,oe.unit=-1,$e[K]=null),Be.activeTexture(33984+K),Be.bindTexture(3553,null),Be.bindTexture(34067,null)}}}}Gr[32854]=2,Gr[32855]=2,Gr[36194]=2,Gr[34041]=4,Gr[33776]=.5,Gr[33777]=.5,Gr[33778]=1,Gr[33779]=1,Gr[35986]=.5,Gr[35987]=1,Gr[34798]=1,Gr[35840]=.5,Gr[35841]=.25,Gr[35842]=.5,Gr[35843]=.25,Gr[36196]=.5;var gn=[];function Er(Be,ut,bt){return gn[Be]*ut*bt}gn[32854]=2,gn[32855]=2,gn[36194]=2,gn[33189]=2,gn[36168]=1,gn[34041]=4,gn[35907]=4,gn[34836]=16,gn[34842]=8,gn[34843]=6;var ln=[6407,6408],yn=[];yn[6408]=4,yn[6407]=3;var mn=[];mn[5121]=1,mn[5126]=4,mn[36193]=2;var Qn=[32854,32855,36194,35907,34842,34843,34836],Un={};function ri(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.offset=0,this.stride=0,this.divisor=0}function Oi(Be,ut,bt,Ft,we,ze,Qe){function lt(vt){var wt;ut.next===null?(Y(we.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),wt=5121):(Y(ut.next.colorAttachments[0].texture!==null,"You cannot read from a renderbuffer"),wt=ut.next.colorAttachments[0].texture._texture.type,ze.oes_texture_float?(Y(wt===5121||wt===5126,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),wt===5126&&Y(Qe.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):Y(wt===5121,"Reading from a framebuffer is only allowed for the type 'uint8'"));var Lt=0,Wt=0,er=Ft.framebufferWidth,rr=Ft.framebufferHeight,sr=null;x(vt)?sr=vt:vt&&(Y.type(vt,"object","invalid arguments to regl.read()"),Lt=0|vt.x,Wt=0|vt.y,Y(Lt>=0&&Lt=0&&Wt0&&er+Lt<=Ft.framebufferWidth,"invalid width for read pixels"),Y(rr>0&&rr+Wt<=Ft.framebufferHeight,"invalid height for read pixels"),bt();var gr=er*rr*4;return sr||(wt===5121?sr=new Uint8Array(gr):wt===5126&&(sr=sr||new Float32Array(gr))),Y.isTypedArray(sr,"data buffer for regl.read() must be a typedarray"),Y(sr.byteLength>=gr,"data buffer for regl.read() too small"),Be.pixelStorei(3333,4),Be.readPixels(Lt,Wt,er,rr,6408,wt,sr),sr}return function(vt){return vt&&"framebuffer"in vt?function(wt){var Lt;return ut.setFBO({framebuffer:wt.framebuffer},function(){Lt=lt(wt)}),Lt}(vt):lt(vt)}}function ni(Be){return Array.prototype.slice.call(Be)}function Bn(Be){return ni(Be).join("")}Un[36053]="complete",Un[36054]="incomplete attachment",Un[36057]="incomplete dimensions",Un[36055]="incomplete, missing attachment",Un[36061]="unsupported";var wi="xyzw".split(""),Mi="profile",Wn="framebuffer",ii="vert",Jn="frag",hi="elements",Vn="primitive",oi="count",di="offset",_i="instances",Xn="vao",Yn=Wn+"Width",ki=Wn+"Height",Gi=["blend.func","blend.equation","stencil.func","stencil.opFront","stencil.opBack","sample.coverage","viewport","scissor.box","polygonOffset.offset"],Hn={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},oo=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],ci={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},li={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},ao={frag:35632,vert:35633},Zi={cw:2304,ccw:2305};function $i(Be){return Array.isArray(Be)||x(Be)||J(Be)}function vo(Be){return Be.sort(function(ut,bt){return ut==="viewport"?-1:bt==="viewport"?1:ut=1,Ft>=2,ut)}if(bt===4){var we=Be.data;return new ir(we.thisDep,we.contextDep,we.propDep,ut)}if(bt===5)return new ir(!1,!1,!1,ut);if(bt===6){for(var ze=!1,Qe=!1,lt=!1,vt=0;vt=1&&(Qe=!0),Lt>=2&&(lt=!0)}else wt.type===4&&(ze=ze||wt.data.thisDep,Qe=Qe||wt.data.contextDep,lt=lt||wt.data.propDep)}return new ir(ze,Qe,lt,ut)}return new ir(bt===3,bt===2,bt===1,ut)}var ft=new ir(!1,!1,!1,function(){});function Tt(Be,ut,bt,Ft,we,ze,Qe,lt,vt,wt,Lt,Wt,er,rr,sr){var gr=wt.Record,Vr={add:32774,subtract:32778,"reverse subtract":32779};bt.ext_blend_minmax&&(Vr.min=32775,Vr.max=32776);var Fr=bt.angle_instanced_arrays,$r=bt.webgl_draw_buffers,Kr={dirty:!0,profile:sr.profile},jn={},Cn=[],qn={},Qr={};function Mn(_t){return _t.replace(".","_")}function ai(_t,$e,St){var w=Mn(_t);Cn.push(_t),jn[w]=Kr[w]=!!St,qn[w]=$e}function Sn(_t,$e,St){var w=Mn(_t);Cn.push(_t),Array.isArray(St)?(Kr[w]=St.slice(),jn[w]=St.slice()):Kr[w]=jn[w]=St,Qr[w]=$e}ai("dither",3024),ai("blend.enable",3042),Sn("blend.color","blendColor",[0,0,0,0]),Sn("blend.equation","blendEquationSeparate",[32774,32774]),Sn("blend.func","blendFuncSeparate",[1,0,1,0]),ai("depth.enable",2929,!0),Sn("depth.func","depthFunc",513),Sn("depth.range","depthRange",[0,1]),Sn("depth.mask","depthMask",!0),Sn("colorMask","colorMask",[!0,!0,!0,!0]),ai("cull.enable",2884),Sn("cull.face","cullFace",1029),Sn("frontFace","frontFace",2305),Sn("lineWidth","lineWidth",1),ai("polygonOffset.enable",32823),Sn("polygonOffset.offset","polygonOffset",[0,0]),ai("sample.alpha",32926),ai("sample.enable",32928),Sn("sample.coverage","sampleCoverage",[1,!1]),ai("stencil.enable",2960),Sn("stencil.mask","stencilMask",-1),Sn("stencil.func","stencilFunc",[519,0,-1]),Sn("stencil.opFront","stencilOpSeparate",[1028,7680,7680,7680]),Sn("stencil.opBack","stencilOpSeparate",[1029,7680,7680,7680]),ai("scissor.enable",3089),Sn("scissor.box","scissor",[0,0,Be.drawingBufferWidth,Be.drawingBufferHeight]),Sn("viewport","viewport",[0,0,Be.drawingBufferWidth,Be.drawingBufferHeight]);var si={gl:Be,context:er,strings:ut,next:jn,current:Kr,draw:Wt,elements:ze,buffer:we,shader:Lt,attributes:wt.state,vao:wt,uniforms:vt,framebuffer:lt,extensions:bt,timer:rr,isBufferArgs:$i},Jr={primTypes:Je,compareFuncs:ci,blendFuncs:Hn,blendEquations:Vr,stencilOps:li,glTypes:_e,orientationType:Zi};Y.optional(function(){si.isArrayLike=At}),$r&&(Jr.backBuffer=[1029],Jr.drawBuffer=te(Ft.maxDrawbuffers,function(_t){return _t===0?[0]:te(_t,function($e){return 36064+$e})}));var ko=0;function Fi(){var _t=function(){var be=0,De=[],Ue=[];function ke(){var Xe=[],et=[];return O(function(){Xe.push.apply(Xe,ni(arguments))},{def:function(){var tt="v"+be++;return et.push(tt),arguments.length>0&&(Xe.push(tt,"="),Xe.push.apply(Xe,ni(arguments)),Xe.push(";")),tt},toString:function(){return Bn([et.length>0?"var "+et.join(",")+";":"",Bn(Xe)])}})}function Fe(){var Xe=ke(),et=ke(),tt=Xe.toString,Ve=et.toString;function ot(pt,Et){et(pt,Et,"=",Xe.def(pt,Et),";")}return O(function(){Xe.apply(Xe,ni(arguments))},{def:Xe.def,entry:Xe,exit:et,save:ot,set:function(pt,Et,mt){ot(pt,Et),Xe(pt,Et,"=",mt,";")},toString:function(){return tt()+Ve()}})}var Ye=ke(),Ge={};return{global:Ye,link:function(Xe){for(var et=0;et=0,'unknown parameter "'+Et+'"',D.commandStr)})}it(he),it(K)});var oe=function(Ve,it){var pt=Ve.static;if(typeof pt[Jn]=="string"&&typeof pt[ii]=="string"){if(Object.keys(it.dynamic).length>0)return null;var Et=it.static,mt=Object.keys(Et);if(mt.length>0&&typeof Et[mt[0]]=="number"){for(var xt=[],Ot=0;Ot=0,"invalid "+qe,pt.commandStr)):zt=!1,"height"in at?(Mt=0|at.height,W.command(Mt>=0,"invalid "+qe,pt.commandStr)):zt=!1,new nr(!zt&&it&&it.thisDep,!zt&&it&&it.contextDep,!zt&&it&&it.propDep,function(kr,mr){var sr=kr.shared.context,an=ht;"width"in at||(an=mr.def(sr,".",Yn,"-",Ut));var sn=Mt;return"height"in at||(sn=mr.def(sr,".",ki,"-",Xt)),[Ut,Xt,an,sn]})}if(qe in mt){var fr=mt[qe],Or=He(fr,function(kr,mr){var sr=kr.invoke(mr,fr);W.optional(function(){kr.assert(mr,sr+"&&typeof "+sr+'==="object"',"invalid "+qe)});var an=kr.shared.context,sn=mr.def(sr,".x|0"),Ii=mr.def(sr,".y|0"),Wi=mr.def('"width" in ',sr,"?",sr,".width|0:","(",an,".",Yn,"-",sn,")"),fo=mr.def('"height" in ',sr,"?",sr,".height|0:","(",an,".",ki,"-",Ii,")");return W.optional(function(){kr.assert(mr,Wi+">=0&&"+fo+">=0","invalid "+qe)}),[sn,Ii,Wi,fo]});return it&&(Or.thisDep=Or.thisDep||it.thisDep,Or.contextDep=Or.contextDep||it.contextDep,Or.propDep=Or.propDep||it.propDep),Or}return it?new nr(it.thisDep,it.contextDep,it.propDep,function(kr,mr){var sr=kr.shared.context;return[0,0,mr.def(sr,".",Yn),mr.def(sr,".",ki)]}):null}var Ot=xt("viewport");if(Ot){var yt=Ot;Ot=new nr(Ot.thisDep,Ot.contextDep,Ot.propDep,function(qe,at){var ht=yt.append(qe,at),Mt=qe.shared.context;return at.set(Mt,".viewportWidth",ht[2]),at.set(Mt,".viewportHeight",ht[3]),ht})}return{viewport:Ot,scissor_box:xt("scissor.box")}}(_t,ge,D),De=function(Ve,it){var pt=Ve.static,Et=Ve.dynamic,mt=function(){if(hi in pt){var yt=pt[hi];$i(yt)?yt=ze.getElements(ze.create(yt,!0)):yt&&(yt=ze.getElements(yt),W.command(yt,"invalid elements",it.commandStr));var qe=Ne(function(ht,Mt){if(yt){var zt=ht.link(yt);return ht.ELEMENTS=zt,zt}return ht.ELEMENTS=null,null});return qe.value=yt,qe}if(hi in Et){var at=Et[hi];return He(at,function(ht,Mt){var zt=ht.shared,Ut=zt.isBufferArgs,Xt=zt.elements,fr=ht.invoke(Mt,at),Or=Mt.def("null"),kr=Mt.def(Ut,"(",fr,")"),mr=ht.cond(kr).then(Or,"=",Xt,".createStream(",fr,");").else(Or,"=",Xt,".getElements(",fr,");");return W.optional(function(){ht.assert(mr.else,"!"+fr+"||"+Or,"invalid elements")}),Mt.entry(mr),Mt.exit(ht.cond(kr).then(Xt,".destroyStream(",Or,");")),ht.ELEMENTS=Or,Or})}return null}();function xt(yt,qe){if(yt in pt){var at=0|pt[yt];return W.command(!qe||at>=0,"invalid "+yt,it.commandStr),Ne(function(Mt,zt){return qe&&(Mt.OFFSET=at),at})}if(yt in Et){var ht=Et[yt];return He(ht,function(Mt,zt){var Ut=Mt.invoke(zt,ht);return qe&&(Mt.OFFSET=Ut,W.optional(function(){Mt.assert(zt,Ut+">=0","invalid "+yt)})),Ut})}return qe&&mt?Ne(function(Mt,zt){return Mt.OFFSET="0",0}):null}var Ot=xt(di,!0);return{elements:mt,primitive:function(){if(Vn in pt){var yt=pt[Vn];return W.commandParameter(yt,et,"invalid primitve",it.commandStr),Ne(function(at,ht){return et[yt]})}if(Vn in Et){var qe=Et[Vn];return He(qe,function(at,ht){var Mt=at.constants.primTypes,zt=at.invoke(ht,qe);return W.optional(function(){at.assert(ht,zt+" in "+Mt,"invalid primitive, must be one of "+Object.keys(et))}),ht.def(Mt,"[",zt,"]")})}return mt?We(mt)?mt.value?Ne(function(at,ht){return ht.def(at.ELEMENTS,".primType")}):Ne(function(){return 4}):new nr(mt.thisDep,mt.contextDep,mt.propDep,function(at,ht){var Mt=at.ELEMENTS;return ht.def(Mt,"?",Mt,".primType:",4)}):null}(),count:function(){if(oi in pt){var yt=0|pt[oi];return W.command(typeof yt=="number"&&yt>=0,"invalid vertex count",it.commandStr),Ne(function(){return yt})}if(oi in Et){var qe=Et[oi];return He(qe,function(Mt,zt){var Ut=Mt.invoke(zt,qe);return W.optional(function(){Mt.assert(zt,"typeof "+Ut+'==="number"&&'+Ut+">=0&&"+Ut+"===("+Ut+"|0)","invalid vertex count")}),Ut})}if(mt){if(We(mt)){if(mt)return Ot?new nr(Ot.thisDep,Ot.contextDep,Ot.propDep,function(Mt,zt){var Ut=zt.def(Mt.ELEMENTS,".vertCount-",Mt.OFFSET);return W.optional(function(){Mt.assert(zt,Ut+">=0","invalid vertex offset/element buffer too small")}),Ut}):Ne(function(Mt,zt){return zt.def(Mt.ELEMENTS,".vertCount")});var at=Ne(function(){return-1});return W.optional(function(){at.MISSING=!0}),at}var ht=new nr(mt.thisDep||Ot.thisDep,mt.contextDep||Ot.contextDep,mt.propDep||Ot.propDep,function(Mt,zt){var Ut=Mt.ELEMENTS;return Mt.OFFSET?zt.def(Ut,"?",Ut,".vertCount-",Mt.OFFSET,":-1"):zt.def(Ut,"?",Ut,".vertCount:-1")});return W.optional(function(){ht.DYNAMIC=!0}),ht}return null}(),instances:xt(_i,!1),offset:Ot}}(_t,D),Ue=function(Ve,it){var pt=Ve.static,Et=Ve.dynamic,mt={};return Cn.forEach(function(xt){var Ot=Mn(xt);function yt(qe,at){if(xt in pt){var ht=qe(pt[xt]);mt[Ot]=Ne(function(){return ht})}else if(xt in Et){var Mt=Et[xt];mt[Ot]=He(Mt,function(zt,Ut){return at(zt,Ut,zt.invoke(Ut,Mt))})}}switch(xt){case"cull.enable":case"blend.enable":case"dither":case"stencil.enable":case"depth.enable":case"scissor.enable":case"polygonOffset.enable":case"sample.alpha":case"sample.enable":case"depth.mask":return yt(function(qe){return W.commandType(qe,"boolean",xt,it.commandStr),qe},function(qe,at,ht){return W.optional(function(){qe.assert(at,"typeof "+ht+'==="boolean"',"invalid flag "+xt,qe.commandStr)}),ht});case"depth.func":return yt(function(qe){return W.commandParameter(qe,ci,"invalid "+xt,it.commandStr),ci[qe]},function(qe,at,ht){var Mt=qe.constants.compareFuncs;return W.optional(function(){qe.assert(at,ht+" in "+Mt,"invalid "+xt+", must be one of "+Object.keys(ci))}),at.def(Mt,"[",ht,"]")});case"depth.range":return yt(function(qe){return W.command(Tt(qe)&&qe.length===2&&typeof qe[0]=="number"&&typeof qe[1]=="number"&&qe[0]<=qe[1],"depth range is 2d array",it.commandStr),qe},function(qe,at,ht){return W.optional(function(){qe.assert(at,qe.shared.isArrayLike+"("+ht+")&&"+ht+".length===2&&typeof "+ht+'[0]==="number"&&typeof '+ht+'[1]==="number"&&'+ht+"[0]<="+ht+"[1]","depth range must be a 2d array")}),[at.def("+",ht,"[0]"),at.def("+",ht,"[1]")]});case"blend.func":return yt(function(qe){W.commandType(qe,"object","blend.func",it.commandStr);var at="srcRGB"in qe?qe.srcRGB:qe.src,ht="srcAlpha"in qe?qe.srcAlpha:qe.src,Mt="dstRGB"in qe?qe.dstRGB:qe.dst,zt="dstAlpha"in qe?qe.dstAlpha:qe.dst;return W.commandParameter(at,Hn,Ot+".srcRGB",it.commandStr),W.commandParameter(ht,Hn,Ot+".srcAlpha",it.commandStr),W.commandParameter(Mt,Hn,Ot+".dstRGB",it.commandStr),W.commandParameter(zt,Hn,Ot+".dstAlpha",it.commandStr),W.command(oo.indexOf(at+", "+Mt)===-1,"unallowed blending combination (srcRGB, dstRGB) = ("+at+", "+Mt+")",it.commandStr),[Hn[at],Hn[Mt],Hn[ht],Hn[zt]]},function(qe,at,ht){var Mt=qe.constants.blendFuncs;function zt(kr,mr){var sr=at.def('"',kr,mr,'" in ',ht,"?",ht,".",kr,mr,":",ht,".",kr);return W.optional(function(){qe.assert(at,sr+" in "+Mt,"invalid "+xt+"."+kr+mr+", must be one of "+Object.keys(Hn))}),sr}W.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid blend func, must be an object")});var Ut=zt("src","RGB"),Xt=zt("dst","RGB");W.optional(function(){var kr=qe.constants.invalidBlendCombinations;qe.assert(at,kr+".indexOf("+Ut+'+", "+'+Xt+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")});var fr=at.def(Mt,"[",Ut,"]"),Or=at.def(Mt,"[",zt("src","Alpha"),"]");return[fr,at.def(Mt,"[",Xt,"]"),Or,at.def(Mt,"[",zt("dst","Alpha"),"]")]});case"blend.equation":return yt(function(qe){return typeof qe=="string"?(W.commandParameter(qe,Ur,"invalid "+xt,it.commandStr),[Ur[qe],Ur[qe]]):_(qe)==="object"?(W.commandParameter(qe.rgb,Ur,xt+".rgb",it.commandStr),W.commandParameter(qe.alpha,Ur,xt+".alpha",it.commandStr),[Ur[qe.rgb],Ur[qe.alpha]]):void W.commandRaise("invalid blend.equation",it.commandStr)},function(qe,at,ht){var Mt=qe.constants.blendEquations,zt=at.def(),Ut=at.def(),Xt=qe.cond("typeof ",ht,'==="string"');return W.optional(function(){function fr(Or,kr,mr){qe.assert(Or,mr+" in "+Mt,"invalid "+kr+", must be one of "+Object.keys(Ur))}fr(Xt.then,xt,ht),qe.assert(Xt.else,ht+"&&typeof "+ht+'==="object"',"invalid "+xt),fr(Xt.else,xt+".rgb",ht+".rgb"),fr(Xt.else,xt+".alpha",ht+".alpha")}),Xt.then(zt,"=",Ut,"=",Mt,"[",ht,"];"),Xt.else(zt,"=",Mt,"[",ht,".rgb];",Ut,"=",Mt,"[",ht,".alpha];"),at(Xt),[zt,Ut]});case"blend.color":return yt(function(qe){return W.command(Tt(qe)&&qe.length===4,"blend.color must be a 4d array",it.commandStr),J(4,function(at){return+qe[at]})},function(qe,at,ht){return W.optional(function(){qe.assert(at,qe.shared.isArrayLike+"("+ht+")&&"+ht+".length===4","blend.color must be a 4d array")}),J(4,function(Mt){return at.def("+",ht,"[",Mt,"]")})});case"stencil.mask":return yt(function(qe){return W.commandType(qe,"number",Ot,it.commandStr),0|qe},function(qe,at,ht){return W.optional(function(){qe.assert(at,"typeof "+ht+'==="number"',"invalid stencil.mask")}),at.def(ht,"|0")});case"stencil.func":return yt(function(qe){W.commandType(qe,"object",Ot,it.commandStr);var at=qe.cmp||"keep",ht=qe.ref||0,Mt="mask"in qe?qe.mask:-1;return W.commandParameter(at,ci,xt+".cmp",it.commandStr),W.commandType(ht,"number",xt+".ref",it.commandStr),W.commandType(Mt,"number",xt+".mask",it.commandStr),[ci[at],ht,Mt]},function(qe,at,ht){var Mt=qe.constants.compareFuncs;return W.optional(function(){function zt(){qe.assert(at,Array.prototype.join.call(arguments,""),"invalid stencil.func")}zt(ht+"&&typeof ",ht,'==="object"'),zt('!("cmp" in ',ht,")||(",ht,".cmp in ",Mt,")")}),[at.def('"cmp" in ',ht,"?",Mt,"[",ht,".cmp]",":",7680),at.def(ht,".ref|0"),at.def('"mask" in ',ht,"?",ht,".mask|0:-1")]});case"stencil.opFront":case"stencil.opBack":return yt(function(qe){W.commandType(qe,"object",Ot,it.commandStr);var at=qe.fail||"keep",ht=qe.zfail||"keep",Mt=qe.zpass||"keep";return W.commandParameter(at,li,xt+".fail",it.commandStr),W.commandParameter(ht,li,xt+".zfail",it.commandStr),W.commandParameter(Mt,li,xt+".zpass",it.commandStr),[xt==="stencil.opBack"?1029:1028,li[at],li[ht],li[Mt]]},function(qe,at,ht){var Mt=qe.constants.stencilOps;function zt(Ut){return W.optional(function(){qe.assert(at,'!("'+Ut+'" in '+ht+")||("+ht+"."+Ut+" in "+Mt+")","invalid "+xt+"."+Ut+", must be one of "+Object.keys(li))}),at.def('"',Ut,'" in ',ht,"?",Mt,"[",ht,".",Ut,"]:",7680)}return W.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid "+xt)}),[xt==="stencil.opBack"?1029:1028,zt("fail"),zt("zfail"),zt("zpass")]});case"polygonOffset.offset":return yt(function(qe){W.commandType(qe,"object",Ot,it.commandStr);var at=0|qe.factor,ht=0|qe.units;return W.commandType(at,"number",Ot+".factor",it.commandStr),W.commandType(ht,"number",Ot+".units",it.commandStr),[at,ht]},function(qe,at,ht){return W.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid "+xt)}),[at.def(ht,".factor|0"),at.def(ht,".units|0")]});case"cull.face":return yt(function(qe){var at=0;return qe==="front"?at=1028:qe==="back"&&(at=1029),W.command(!!at,Ot,it.commandStr),at},function(qe,at,ht){return W.optional(function(){qe.assert(at,ht+'==="front"||'+ht+'==="back"',"invalid cull.face")}),at.def(ht,'==="front"?',1028,":",1029)});case"lineWidth":return yt(function(qe){return W.command(typeof qe=="number"&&qe>=Ft.lineWidthDims[0]&&qe<=Ft.lineWidthDims[1],"invalid line width, must be a positive number between "+Ft.lineWidthDims[0]+" and "+Ft.lineWidthDims[1],it.commandStr),qe},function(qe,at,ht){return W.optional(function(){qe.assert(at,"typeof "+ht+'==="number"&&'+ht+">="+Ft.lineWidthDims[0]+"&&"+ht+"<="+Ft.lineWidthDims[1],"invalid line width")}),ht});case"frontFace":return yt(function(qe){return W.commandParameter(qe,Zi,Ot,it.commandStr),Zi[qe]},function(qe,at,ht){return W.optional(function(){qe.assert(at,ht+'==="cw"||'+ht+'==="ccw"',"invalid frontFace, must be one of cw,ccw")}),at.def(ht+'==="cw"?2304:2305')});case"colorMask":return yt(function(qe){return W.command(Tt(qe)&&qe.length===4,"color.mask must be length 4 array",it.commandStr),qe.map(function(at){return!!at})},function(qe,at,ht){return W.optional(function(){qe.assert(at,qe.shared.isArrayLike+"("+ht+")&&"+ht+".length===4","invalid color.mask")}),J(4,function(Mt){return"!!"+ht+"["+Mt+"]"})});case"sample.coverage":return yt(function(qe){W.command(_(qe)==="object"&&qe,Ot,it.commandStr);var at="value"in qe?qe.value:1,ht=!!qe.invert;return W.command(typeof at=="number"&&at>=0&&at<=1,"sample.coverage.value must be a number between 0 and 1",it.commandStr),[at,ht]},function(qe,at,ht){return W.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid sample.coverage")}),[at.def('"value" in ',ht,"?+",ht,".value:1"),at.def("!!",ht,".invert")]})}}),mt}(_t,D),Me=function(Ve,it,pt){var Et=Ve.static,mt=Ve.dynamic;function xt(ht){if(ht in Et){var Mt=ut.id(Et[ht]);W.optional(function(){Lt.shader(ao[ht],Mt,W.guessCommand())});var zt=Ne(function(){return Mt});return zt.id=Mt,zt}if(ht in mt){var Ut=mt[ht];return He(Ut,function(Xt,fr){var Or=Xt.invoke(fr,Ut),kr=fr.def(Xt.shared.strings,".id(",Or,")");return W.optional(function(){fr(Xt.shared.shader,".shader(",ao[ht],",",kr,",",Xt.command,");")}),kr})}return null}var Ot,yt=xt(Jn),qe=xt(ii),at=null;return We(yt)&&We(qe)?(at=Lt.program(qe.id,yt.id,null,pt),Ot=Ne(function(ht,Mt){return ht.link(at)})):Ot=new nr(yt&&yt.thisDep||qe&&qe.thisDep,yt&&yt.contextDep||qe&&qe.contextDep,yt&&yt.propDep||qe&&qe.propDep,function(ht,Mt){var zt,Ut=ht.shared.shader;zt=yt?yt.append(ht,Mt):Mt.def(Ut,".",Jn);var Xt=Ut+".program("+(qe?qe.append(ht,Mt):Mt.def(Ut,".",ii))+","+zt;return W.optional(function(){Xt+=","+ht.command}),Mt.def(Xt+")")}),{frag:yt,vert:qe,progVar:Ot,program:at}}(_t,0,oe);function Fe(Ve){var it=be[Ve];it&&(Ue[Ve]=it)}Fe("viewport"),Fe(Mn("scissor.box"));var Ye=Object.keys(Ue).length>0,Ge={framebuffer:ge,draw:De,shader:Me,state:Ue,dirty:Ye,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Ge.profile=function(Ve){var it,pt=Ve.static,Et=Ve.dynamic;if(Mi in pt){var mt=!!pt[Mi];(it=Ne(function(Ot,yt){return mt})).enable=mt}else if(Mi in Et){var xt=Et[Mi];it=He(xt,function(Ot,yt){return Ot.invoke(yt,xt)})}return it}(_t),Ge.uniforms=function(Ve,it){var pt=Ve.static,Et=Ve.dynamic,mt={};return Object.keys(pt).forEach(function(xt){var Ot,yt=pt[xt];if(typeof yt=="number"||typeof yt=="boolean")Ot=Ne(function(){return yt});else if(typeof yt=="function"){var qe=yt._reglType;qe==="texture2d"||qe==="textureCube"?Ot=Ne(function(at){return at.link(yt)}):qe==="framebuffer"||qe==="framebufferCube"?(W.command(yt.color.length>0,'missing color attachment for framebuffer sent to uniform "'+xt+'"',it.commandStr),Ot=Ne(function(at){return at.link(yt.color[0])})):W.commandRaise('invalid data for uniform "'+xt+'"',it.commandStr)}else Tt(yt)?Ot=Ne(function(at){return at.global.def("[",J(yt.length,function(ht){return W.command(typeof yt[ht]=="number"||typeof yt[ht]=="boolean","invalid uniform "+xt,at.commandStr),yt[ht]}),"]")}):W.commandRaise('invalid or missing data for uniform "'+xt+'"',it.commandStr);Ot.value=yt,mt[xt]=Ot}),Object.keys(Et).forEach(function(xt){var Ot=Et[xt];mt[xt]=He(Ot,function(yt,qe){return yt.invoke(qe,Ot)})}),mt}(St,D),Ge.drawVAO=Ge.scopeVAO=function(Ve,it){var pt=Ve.static,Et=Ve.dynamic;if(Xn in pt){var mt=pt[Xn];return mt!==null&&wt.getVAO(mt)===null&&(mt=wt.createVAO(mt)),Ne(function(Ot){return Ot.link(wt.getVAO(mt))})}if(Xn in Et){var xt=Et[Xn];return He(xt,function(Ot,yt){var qe=Ot.invoke(yt,xt);return yt.def(Ot.shared.vao+".getVAO("+qe+")")})}return null}(_t),!Ge.drawVAO&&Me.program&&!oe&&bt.angle_instanced_arrays){var Xe=!0,Je=Me.program.attributes.map(function(Ve){var it=$e.static[Ve];return Xe=Xe&&!!it,it});if(Xe&&Je.length>0){var tt=wt.getVAO(wt.createVAO(Je));Ge.drawVAO=new nr(null,null,null,function(Ve,it){return Ve.link(tt)}),Ge.useVAO=!0}}return oe?Ge.useVAO=!0:Ge.attributes=function(Ve,it){var pt=Ve.static,Et=Ve.dynamic,mt={};return Object.keys(pt).forEach(function(xt){var Ot=pt[xt],yt=ut.id(xt),qe=new pr;if($i(Ot))qe.state=1,qe.buffer=_e.getBuffer(_e.create(Ot,34962,!1,!0)),qe.type=0;else{var at=_e.getBuffer(Ot);if(at)qe.state=1,qe.buffer=at,qe.type=0;else if(W.command(_(Ot)==="object"&&Ot,"invalid data for attribute "+xt,it.commandStr),"constant"in Ot){var ht=Ot.constant;qe.buffer="null",qe.state=2,typeof ht=="number"?qe.x=ht:(W.command(Tt(ht)&&ht.length>0&&ht.length<=4,"invalid constant for attribute "+xt,it.commandStr),wi.forEach(function(kr,mr){mr=0,'invalid offset for attribute "'+xt+'"',it.commandStr);var zt=0|Ot.stride;W.command(zt>=0&&zt<256,'invalid stride for attribute "'+xt+'", must be integer betweeen [0, 255]',it.commandStr);var Ut=0|Ot.size;W.command(!("size"in Ot)||Ut>0&&Ut<=4,'invalid size for attribute "'+xt+'", must be 1,2,3,4',it.commandStr);var Xt=!!Ot.normalized,fr=0;"type"in Ot&&(W.commandParameter(Ot.type,Se,"invalid type for attribute "+xt,it.commandStr),fr=Se[Ot.type]);var Or=0|Ot.divisor;"divisor"in Ot&&(W.command(Or===0||Gr,'cannot specify divisor for attribute "'+xt+'", instancing not supported',it.commandStr),W.command(Or>=0,'invalid divisor for attribute "'+xt+'"',it.commandStr)),W.optional(function(){var kr=it.commandStr,mr=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(Ot).forEach(function(sr){W.command(mr.indexOf(sr)>=0,'unknown parameter "'+sr+'" for attribute pointer "'+xt+'" (valid parameters are '+mr+")",kr)})}),qe.buffer=at,qe.state=1,qe.size=Ut,qe.normalized=Xt,qe.type=fr||at.dtype,qe.offset=Mt,qe.stride=zt,qe.divisor=Or}}mt[xt]=Ne(function(kr,mr){var sr=kr.attribCache;if(yt in sr)return sr[yt];var an={isStream:!1};return Object.keys(qe).forEach(function(sn){an[sn]=qe[sn]}),qe.buffer&&(an.buffer=kr.link(qe.buffer),an.type=an.type||an.buffer+".dtype"),sr[yt]=an,an})}),Object.keys(Et).forEach(function(xt){var Ot=Et[xt];mt[xt]=He(Ot,function(yt,qe){var at=yt.invoke(qe,Ot),ht=yt.shared,Mt=yt.constants,zt=ht.isBufferArgs,Ut=ht.buffer;W.optional(function(){yt.assert(qe,at+"&&(typeof "+at+'==="object"||typeof '+at+'==="function")&&('+zt+"("+at+")||"+Ut+".getBuffer("+at+")||"+Ut+".getBuffer("+at+".buffer)||"+zt+"("+at+'.buffer)||("constant" in '+at+"&&(typeof "+at+'.constant==="number"||'+ht.isArrayLike+"("+at+".constant))))",'invalid dynamic attribute "'+xt+'"')});var Xt={isStream:qe.def(!1)},fr=new pr;fr.state=1,Object.keys(fr).forEach(function(sr){Xt[sr]=qe.def(""+fr[sr])});var Or=Xt.buffer,kr=Xt.type;function mr(sr){qe(Xt[sr],"=",at,".",sr,"|0;")}return qe("if(",zt,"(",at,")){",Xt.isStream,"=true;",Or,"=",Ut,".createStream(",34962,",",at,");",kr,"=",Or,".dtype;","}else{",Or,"=",Ut,".getBuffer(",at,");","if(",Or,"){",kr,"=",Or,".dtype;",'}else if("constant" in ',at,"){",Xt.state,"=",2,";","if(typeof "+at+'.constant === "number"){',Xt[wi[0]],"=",at,".constant;",wi.slice(1).map(function(sr){return Xt[sr]}).join("="),"=0;","}else{",wi.map(function(sr,an){return Xt[sr]+"="+at+".constant.length>"+an+"?"+at+".constant["+an+"]:0;"}).join(""),"}}else{","if(",zt,"(",at,".buffer)){",Or,"=",Ut,".createStream(",34962,",",at,".buffer);","}else{",Or,"=",Ut,".getBuffer(",at,".buffer);","}",kr,'="type" in ',at,"?",Mt.glTypes,"[",at,".type]:",Or,".dtype;",Xt.normalized,"=!!",at,".normalized;"),mr("size"),mr("offset"),mr("stride"),mr("divisor"),qe("}}"),qe.exit("if(",Xt.isStream,"){",Ut,".destroyStream(",Or,");","}"),Xt})}),mt}($e,D),Ge.context=function(Ve){var it=Ve.static,pt=Ve.dynamic,Et={};return Object.keys(it).forEach(function(mt){var xt=it[mt];Et[mt]=Ne(function(Ot,yt){return typeof xt=="number"||typeof xt=="boolean"?""+xt:Ot.link(xt)})}),Object.keys(pt).forEach(function(mt){var xt=pt[mt];Et[mt]=He(xt,function(Ot,yt){return Ot.invoke(yt,xt)})}),Et}(w),Ge}function nn(_t,$e,St){var w=_t.shared.context,D=_t.scope();Object.keys(St).forEach(function(he){$e.save(w,"."+he);var K=St[he].append(_t,$e);Array.isArray(K)?D(w,".",he,"=[",K.join(),"];"):D(w,".",he,"=",K,";")}),$e(D)}function pi(_t,$e,St,w){var D,he=_t.shared,K=he.gl,oe=he.framebuffer;$r&&(D=$e.def(he.extensions,".webgl_draw_buffers"));var ge,be=_t.constants,De=be.drawBuffer,Ue=be.backBuffer;ge=St?St.append(_t,$e):$e.def(oe,".next"),w||$e("if(",ge,"!==",oe,".cur){"),$e("if(",ge,"){",K,".bindFramebuffer(",36160,",",ge,".framebuffer);"),$r&&$e(D,".drawBuffersWEBGL(",De,"[",ge,".colorAttachments.length]);"),$e("}else{",K,".bindFramebuffer(",36160,",null);"),$r&&$e(D,".drawBuffersWEBGL(",Ue,");"),$e("}",oe,".cur=",ge,";"),w||$e("}")}function Ji(_t,$e,St){var w=_t.shared,D=w.gl,he=_t.current,K=_t.next,oe=w.current,ge=w.next,be=_t.cond(oe,".dirty");Cn.forEach(function(De){var Ue,Me,Fe=Mn(De);if(!(Fe in St.state))if(Fe in K){Ue=K[Fe],Me=he[Fe];var Ye=J(Kr[Fe].length,function(Xe){return be.def(Ue,"[",Xe,"]")});be(_t.cond(Ye.map(function(Xe,Je){return Xe+"!=="+Me+"["+Je+"]"}).join("||")).then(D,".",Qr[Fe],"(",Ye,");",Ye.map(function(Xe,Je){return Me+"["+Je+"]="+Xe}).join(";"),";"))}else{Ue=be.def(ge,".",Fe);var Ge=_t.cond(Ue,"!==",oe,".",Fe);be(Ge),Fe in qn?Ge(_t.cond(Ue).then(D,".enable(",qn[Fe],");").else(D,".disable(",qn[Fe],");"),oe,".",Fe,"=",Ue,";"):Ge(D,".",Qr[Fe],"(",Ue,");",oe,".",Fe,"=",Ue,";")}}),Object.keys(St.state).length===0&&be(oe,".dirty=false;"),$e(be)}function Ai(_t,$e,St,w){var D=_t.shared,he=_t.current,K=D.current,oe=D.gl;vo(Object.keys(St)).forEach(function(ge){var be=St[ge];if(!w||w(be)){var De=be.append(_t,$e);if(qn[ge]){var Ue=qn[ge];We(be)?$e(oe,De?".enable(":".disable(",Ue,");"):$e(_t.cond(De).then(oe,".enable(",Ue,");").else(oe,".disable(",Ue,");")),$e(K,".",ge,"=",De,";")}else if(Tt(De)){var Me=he[ge];$e(oe,".",Qr[ge],"(",De,");",De.map(function(Fe,Ye){return Me+"["+Ye+"]="+Fe}).join(";"),";")}else $e(oe,".",Qr[ge],"(",De,");",K,".",ge,"=",De,";")}})}function Gn(_t,$e){Gr&&(_t.instancing=$e.def(_t.shared.extensions,".angle_instanced_arrays"))}function zi(_t,$e,St,w,D){var he,K,oe,ge=_t.shared,be=_t.stats,De=ge.current,Ue=ge.timer,Me=St.profile;function Fe(){return typeof performance=="undefined"?"Date.now()":"performance.now()"}function Ye(Ve){Ve(he=$e.def(),"=",Fe(),";"),typeof D=="string"?Ve(be,".count+=",D,";"):Ve(be,".count++;"),tr&&(w?Ve(K=$e.def(),"=",Ue,".getNumPendingQueries();"):Ve(Ue,".beginQuery(",be,");"))}function Ge(Ve){Ve(be,".cpuTime+=",Fe(),"-",he,";"),tr&&(w?Ve(Ue,".pushScopeStats(",K,",",Ue,".getNumPendingQueries(),",be,");"):Ve(Ue,".endQuery();"))}function Xe(Ve){var it=$e.def(De,".profile");$e(De,".profile=",Ve,";"),$e.exit(De,".profile=",it,";")}if(Me){if(We(Me))return void(Me.enable?(Ye($e),Ge($e.exit),Xe("true")):Xe("false"));Xe(oe=Me.append(_t,$e))}else oe=$e.def(De,".profile");var Je=_t.block();Ye(Je),$e("if(",oe,"){",Je,"}");var tt=_t.block();Ge(tt),$e.exit("if(",oe,"){",tt,"}")}function Di(_t,$e,St,w,D){var he=_t.shared;w.forEach(function(K){var oe,ge=K.name,be=St.attributes[ge];if(be){if(!D(be))return;oe=be.append(_t,$e)}else{if(!D(ft))return;var De=_t.scopeAttrib(ge);W.optional(function(){_t.assert($e,De+".state","missing attribute "+ge)}),oe={},Object.keys(new pr).forEach(function(Ue){oe[Ue]=$e.def(De,".",Ue)})}(function(Ue,Me,Fe){var Ye=he.gl,Ge=$e.def(Ue,".location"),Xe=$e.def(he.attributes,"[",Ge,"]"),Je=Fe.state,tt=Fe.buffer,Ve=[Fe.x,Fe.y,Fe.z,Fe.w],it=["buffer","normalized","offset","stride"];function pt(){$e("if(!",Xe,".buffer){",Ye,".enableVertexAttribArray(",Ge,");}");var mt,xt=Fe.type;if(mt=Fe.size?$e.def(Fe.size,"||",Me):Me,$e("if(",Xe,".type!==",xt,"||",Xe,".size!==",mt,"||",it.map(function(yt){return Xe+"."+yt+"!=="+Fe[yt]}).join("||"),"){",Ye,".bindBuffer(",34962,",",tt,".buffer);",Ye,".vertexAttribPointer(",[Ge,mt,xt,Fe.normalized,Fe.stride,Fe.offset],");",Xe,".type=",xt,";",Xe,".size=",mt,";",it.map(function(yt){return Xe+"."+yt+"="+Fe[yt]+";"}).join(""),"}"),Gr){var Ot=Fe.divisor;$e("if(",Xe,".divisor!==",Ot,"){",_t.instancing,".vertexAttribDivisorANGLE(",[Ge,Ot],");",Xe,".divisor=",Ot,";}")}}function Et(){$e("if(",Xe,".buffer){",Ye,".disableVertexAttribArray(",Ge,");",Xe,".buffer=null;","}if(",wi.map(function(mt,xt){return Xe+"."+mt+"!=="+Ve[xt]}).join("||"),"){",Ye,".vertexAttrib4f(",Ge,",",Ve,");",wi.map(function(mt,xt){return Xe+"."+mt+"="+Ve[xt]+";"}).join(""),"}")}Je===1?pt():Je===2?Et():($e("if(",Je,"===",1,"){"),pt(),$e("}else{"),Et(),$e("}"))})(_t.link(K),function(Ue){switch(Ue){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(K.info.type),oe)})}function fi(_t,$e,St,w,D){for(var he,K=_t.shared,oe=K.gl,ge=0;ge1?$e(J(Ve,function(mt){return Array.isArray(be)?be[mt]:be+"["+mt+"]"})):(W(!Array.isArray(be),"uniform value must not be an array"),$e(be));$e(");")}}function Ui(_t,$e,St,w){var D=_t.shared,he=D.gl,K=D.draw,oe=w.draw,ge=function(){var Ve,it=oe.elements,pt=$e;return it?((it.contextDep&&w.contextDynamic||it.propDep)&&(pt=St),Ve=it.append(_t,pt)):Ve=pt.def(K,".",hi),Ve&&pt("if("+Ve+")"+he+".bindBuffer(34963,"+Ve+".buffer.buffer);"),Ve}();function be(Ve){var it=oe[Ve];return it?it.contextDep&&w.contextDynamic||it.propDep?it.append(_t,St):it.append(_t,$e):$e.def(K,".",Ve)}var De,Ue,Me=be(Vn),Fe=be(di),Ye=function(){var Ve,it=oe.count,pt=$e;return it?((it.contextDep&&w.contextDynamic||it.propDep)&&(pt=St),Ve=it.append(_t,pt),W.optional(function(){it.MISSING&&_t.assert($e,"false","missing vertex count"),it.DYNAMIC&&_t.assert(pt,Ve+">=0","missing vertex count")})):(Ve=pt.def(K,".",oi),W.optional(function(){_t.assert(pt,Ve+">=0","missing vertex count")})),Ve}();if(typeof Ye=="number"){if(Ye===0)return}else St("if(",Ye,"){"),St.exit("}");Gr&&(De=be(_i),Ue=_t.instancing);var Ge=ge+".type",Xe=oe.elements&&We(oe.elements);function Je(){function Ve(){St(Ue,".drawElementsInstancedANGLE(",[Me,Ye,Ge,Fe+"<<(("+Ge+"-5121)>>1)",De],");")}function it(){St(Ue,".drawArraysInstancedANGLE(",[Me,Fe,Ye,De],");")}ge?Xe?Ve():(St("if(",ge,"){"),Ve(),St("}else{"),it(),St("}")):it()}function tt(){function Ve(){St(he+".drawElements("+[Me,Ye,Ge,Fe+"<<(("+Ge+"-5121)>>1)"]+");")}function it(){St(he+".drawArrays("+[Me,Fe,Ye]+");")}ge?Xe?Ve():(St("if(",ge,"){"),Ve(),St("}else{"),it(),St("}")):it()}Gr&&(typeof De!="number"||De>=0)?typeof De=="string"?(St("if(",De,">0){"),Je(),St("}else if(",De,"<0){"),tt(),St("}")):Je():tt()}function Ci(_t,$e,St,w,D){var he=Fi(),K=he.proc("body",D);return W.optional(function(){he.commandStr=$e.commandStr,he.command=he.link($e.commandStr)}),Gr&&(he.instancing=K.def(he.shared.extensions,".angle_instanced_arrays")),_t(he,K,St,w),he.compile().body}function eo(_t,$e,St,w){Gn(_t,$e),St.useVAO?St.drawVAO?$e(_t.shared.vao,".setVAO(",St.drawVAO.append(_t,$e),");"):$e(_t.shared.vao,".setVAO(",_t.shared.vao,".targetVAO);"):($e(_t.shared.vao,".setVAO(null);"),Di(_t,$e,St,w.attributes,function(){return!0})),fi(_t,$e,St,w.uniforms,function(){return!0}),Ui(_t,$e,$e,St)}function so(_t,$e,St,w){function D(){return!0}_t.batchId="a1",Gn(_t,$e),Di(_t,$e,St,w.attributes,D),fi(_t,$e,St,w.uniforms,D),Ui(_t,$e,$e,St)}function Vi(_t,$e,St,w){Gn(_t,$e);var D=St.contextDep,he=$e.def(),K=$e.def();_t.shared.props=K,_t.batchId=he;var oe=_t.scope(),ge=_t.scope();function be(Ge){return Ge.contextDep&&D||Ge.propDep}function De(Ge){return!be(Ge)}if($e(oe.entry,"for(",he,"=0;",he,"<","a1",";++",he,"){",K,"=","a0","[",he,"];",ge,"}",oe.exit),St.needsContext&&nn(_t,ge,St.context),St.needsFramebuffer&&pi(_t,ge,St.framebuffer),Ai(_t,ge,St.state,be),St.profile&&be(St.profile)&&zi(_t,ge,St,!1,!0),w)St.useVAO?St.drawVAO?be(St.drawVAO)?ge(_t.shared.vao,".setVAO(",St.drawVAO.append(_t,ge),");"):oe(_t.shared.vao,".setVAO(",St.drawVAO.append(_t,oe),");"):oe(_t.shared.vao,".setVAO(",_t.shared.vao,".targetVAO);"):(oe(_t.shared.vao,".setVAO(null);"),Di(_t,oe,St,w.attributes,De),Di(_t,ge,St,w.attributes,be)),fi(_t,oe,St,w.uniforms,De),fi(_t,ge,St,w.uniforms,be),Ui(_t,oe,ge,St);else{var Ue=_t.global.def("{}"),Me=St.shader.progVar.append(_t,ge),Fe=ge.def(Me,".id"),Ye=ge.def(Ue,"[",Fe,"]");ge(_t.shared.gl,".useProgram(",Me,".program);","if(!",Ye,"){",Ye,"=",Ue,"[",Fe,"]=",_t.link(function(Ge){return Ci(so,_t,St,Ge,2)}),"(",Me,");}",Ye,".call(this,a0[",he,"],",he,");")}}function Ti(_t,$e,St){var w=$e.static[St];if(w&&function(De){if(_(De)==="object"&&!Tt(De)){for(var Ue=Object.keys(De),Me=0;Me0&&be(oe.shared.current,".dirty=true;")}(he,K),function(oe,ge){var be=oe.proc("scope",3);oe.batchId="a2";var De=oe.shared,Ue=De.current;function Me(Fe){var Ye=ge.shader[Fe];Ye&&be.set(De.shader,"."+Fe,Ye.append(oe,be))}nn(oe,be,ge.context),ge.framebuffer&&ge.framebuffer.append(oe,be),vo(Object.keys(ge.state)).forEach(function(Fe){var Ye=ge.state[Fe].append(oe,be);Tt(Ye)?Ye.forEach(function(Ge,Xe){be.set(oe.next[Fe],"["+Xe+"]",Ge)}):be.set(De.next,"."+Fe,Ye)}),zi(oe,be,ge,!0,!0),[hi,di,oi,_i,Vn].forEach(function(Fe){var Ye=ge.draw[Fe];Ye&&be.set(De.draw,"."+Fe,""+Ye.append(oe,be))}),Object.keys(ge.uniforms).forEach(function(Fe){var Ye=ge.uniforms[Fe].append(oe,be);Array.isArray(Ye)&&(Ye="["+Ye.join()+"]"),be.set(De.uniforms,"["+ut.id(Fe)+"]",Ye)}),Object.keys(ge.attributes).forEach(function(Fe){var Ye=ge.attributes[Fe].append(oe,be),Ge=oe.scopeAttrib(Fe);Object.keys(new pr).forEach(function(Xe){be.set(Ge,"."+Xe,Ye[Xe])})}),ge.scopeVAO&&be.set(De.vao,".targetVAO",ge.scopeVAO.append(oe,be)),Me(ii),Me(Jn),Object.keys(ge.state).length>0&&(be(Ue,".dirty=true;"),be.exit(Ue,".dirty=true;")),be("a1(",oe.shared.context,",a0,",oe.batchId,");")}(he,K),function(oe,ge){var be=oe.proc("batch",2);oe.batchId="0",Gn(oe,be);var De=!1,Ue=!0;Object.keys(ge.context).forEach(function(it){De=De||ge.context[it].propDep}),De||(nn(oe,be,ge.context),Ue=!1);var Me=ge.framebuffer,Fe=!1;function Ye(it){return it.contextDep&&De||it.propDep}Me?(Me.propDep?De=Fe=!0:Me.contextDep&&De&&(Fe=!0),Fe||pi(oe,be,Me)):pi(oe,be,null),ge.state.viewport&&ge.state.viewport.propDep&&(De=!0),Ji(oe,be,ge),Ai(oe,be,ge.state,function(it){return!Ye(it)}),ge.profile&&Ye(ge.profile)||zi(oe,be,ge,!1,"a1"),ge.contextDep=De,ge.needsContext=Ue,ge.needsFramebuffer=Fe;var Ge=ge.shader.progVar;if(Ge.contextDep&&De||Ge.propDep)Vi(oe,be,ge,null);else{var Xe=Ge.append(oe,be);if(be(oe.shared.gl,".useProgram(",Xe,".program);"),ge.shader.program)Vi(oe,be,ge,ge.shader.program);else{be(oe.shared.vao,".setVAO(null);");var Je=oe.global.def("{}"),tt=be.def(Xe,".id"),Ve=be.def(Je,"[",tt,"]");be(oe.cond(Ve).then(Ve,".call(this,a0,a1);").else(Ve,"=",Je,"[",tt,"]=",oe.link(function(it){return Ci(Vi,oe,ge,it,2)}),"(",Xe,");",Ve,".call(this,a0,a1);"))}}Object.keys(ge.state).length>0&&be(oe.shared.current,".dirty=true;")}(he,K),O(he.compile(),{destroy:function(){K.shader.program.destroy()}})}}}var Ht=function(Be,ut){if(!ut.ext_disjoint_timer_query)return null;var bt=[];function Ft(er){bt.push(er)}var _e=[];function ze(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var Qe=[];function lt(er){Qe.push(er)}var vt=[];function wt(er,tr,ar){var pr=Qe.pop()||new ze;pr.startQueryIndex=er,pr.endQueryIndex=tr,pr.sum=0,pr.stats=ar,vt.push(pr)}var Lt=[],Wt=[];return{beginQuery:function(er){var tr=bt.pop()||ut.ext_disjoint_timer_query.createQueryEXT();ut.ext_disjoint_timer_query.beginQueryEXT(35007,tr),_e.push(tr),wt(_e.length-1,_e.length,er)},endQuery:function(){ut.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:wt,update:function(){var er,tr,ar=_e.length;if(ar!==0){Wt.length=Math.max(Wt.length,ar+1),Lt.length=Math.max(Lt.length,ar+1),Lt[0]=0,Wt[0]=0;var pr=0;for(er=0,tr=0;tr<_e.length;++tr){var Ur=_e[tr];ut.ext_disjoint_timer_query.getQueryObjectEXT(Ur,34919)?(pr+=ut.ext_disjoint_timer_query.getQueryObjectEXT(Ur,34918),Ft(Ur)):_e[er++]=Ur,Lt[tr+1]=pr,Wt[tr+1]=er}for(_e.length=er,er=0,tr=0;tr0)if(Array.isArray(Fe[0])){tt=Ce(Fe);for(var it=1,pt=1;pt0)if(typeof Ve[0]=="number"){var mt=G.allocType(Xe.dtype,Ve.length);Le(mt,Ve),tt(mt,Et),G.freeType(mt)}else if(Array.isArray(Ve[0])||x(Ve[0])){pt=Ce(Ve);var xt=ke(Ve,pt,Xe.dtype);tt(xt,Et),G.freeType(xt)}else W.raise("invalid buffer data")}else if(re(Ve)){pt=Ve.shape;var Ot=Ve.stride,yt=0,qe=0,at=0,ht=0;pt.length===1?(yt=pt[0],qe=1,at=Ot[0],ht=0):pt.length===2?(yt=pt[0],qe=pt[1],at=Ot[0],ht=Ot[1]):W.raise("invalid shape");var Mt=Array.isArray(Ve.data)?Xe.dtype:Oe(Ve.data),zt=G.allocType(Mt,yt*qe);Ke(zt,Ve.data,yt,qe,at,ht,Ve.offset),tt(zt,Et),G.freeType(zt)}else W.raise("invalid data for buffer subdata");return Je},w.profile&&(Je.stats=Xe.stats),Je.destroy=function(){Ue(Xe)},Je},createStream:function(Me,Fe){var Ye=ge.pop();return Ye||(Ye=new oe(Me)),Ye.bind(),De(Ye,Fe,35040,0,1,!1),Ye},destroyStream:function(Me){ge.push(Me)},clear:function(){fe(K).forEach(Ue),ge.forEach(Ue)},getBuffer:function(Me){return Me&&Me._buffer instanceof oe?Me._buffer:null},restore:function(){fe(K).forEach(function(Me){Me.buffer=$e.createBuffer(),$e.bindBuffer(Me.type,Me.buffer),$e.bufferData(Me.type,Me.persistentData||Me.byteLength,Me.usage)})},_initBuffer:De}}(bt,wt,ut,function($e){return $r.destroyBuffer($e)}),$r=function($e,St,w,D,he){for(var K=w.maxAttributes,oe=new Array(K),ge=0;ge0,"must specify at least one attribute");var Ve={},it=Xe.attributes;it.length=tt.length;for(var pt=0;pt=Ot.byteLength?Et.subdata(Ot):(Et.destroy(),Xe.buffers[pt]=null)),Xe.buffers[pt]||(Et=Xe.buffers[pt]=he.create(mt,34962,!1,!0)),xt.buffer=he.getBuffer(Et),xt.size=0|xt.buffer.dimension,xt.normalized=!1,xt.type=xt.buffer.dtype,xt.offset=0,xt.stride=0,xt.divisor=0,xt.state=1,Ve[pt]=1):he.getBuffer(mt)?(xt.buffer=he.getBuffer(mt),xt.size=0|xt.buffer.dimension,xt.normalized=!1,xt.type=xt.buffer.dtype,xt.offset=0,xt.stride=0,xt.divisor=0,xt.state=1):he.getBuffer(mt.buffer)?(xt.buffer=he.getBuffer(mt.buffer),xt.size=0|(+mt.size||xt.buffer.dimension),xt.normalized=!!mt.normalized||!1,"type"in mt?(W.parameter(mt.type,Se,"invalid buffer type"),xt.type=Se[mt.type]):xt.type=xt.buffer.dtype,xt.offset=0|(mt.offset||0),xt.stride=0|(mt.stride||0),xt.divisor=0|(mt.divisor||0),xt.state=1,W(xt.size>=1&&xt.size<=4,"size must be between 1 and 4"),W(xt.offset>=0,"invalid offset"),W(xt.stride>=0&&xt.stride<=255,"stride must be between 0 and 255"),W(xt.divisor>=0,"divisor must be positive"),W(!xt.divisor||!!St.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in mt?(W(pt>0,"first attribute must not be a constant"),xt.x=+mt.x||0,xt.y=+mt.y||0,xt.z=+mt.z||0,xt.w=+mt.w||0,xt.state=2):W(!1,"invalid attribute spec for location "+pt)}for(var yt=0;yt>=1:Ve===5125&&(pt>>=2)),Me.vertCount=pt;var Et=Ge;if(Ge<0){Et=4;var mt=Me.buffer.dimension;mt===1&&(Et=0),mt===2&&(Et=1),mt===3&&(Et=4)}Me.primType=Et}function Ue(Me){D.elementsCount--,W(Me.buffer!==null,"must not double destroy elements"),delete he[Me.id],Me.buffer.destroy(),Me.buffer=null}return{create:function(Me,Fe){var Ye=w.create(null,34963,!0),Ge=new ge(Ye._buffer);function Xe(Je){if(Je)if(typeof Je=="number")Ye(Je),Ge.primType=4,Ge.vertCount=0|Je,Ge.type=5121;else{var tt=null,Ve=35044,it=-1,pt=-1,Et=0,mt=0;Array.isArray(Je)||x(Je)||re(Je)?tt=Je:(W.type(Je,"object","invalid arguments for elements"),"data"in Je&&(tt=Je.data,W(Array.isArray(tt)||x(tt)||re(tt),"invalid data for element buffer")),"usage"in Je&&(W.parameter(Je.usage,Pe,"invalid element buffer usage"),Ve=Pe[Je.usage]),"primitive"in Je&&(W.parameter(Je.primitive,et,"invalid element buffer primitive"),it=et[Je.primitive]),"count"in Je&&(W(typeof Je.count=="number"&&Je.count>=0,"invalid vertex count for elements"),pt=0|Je.count),"type"in Je&&(W.parameter(Je.type,oe,"invalid buffer type"),mt=oe[Je.type]),"length"in Je?Et=0|Je.length:(Et=pt,mt===5123||mt===5122?Et*=2:mt!==5125&&mt!==5124||(Et*=4))),De(Ge,tt,Ve,it,pt,Et,mt)}else Ye(),Ge.primType=4,Ge.vertCount=0,Ge.type=5121;return Xe}return D.elementsCount++,Xe(Me),Xe._reglType="elements",Xe._elements=Ge,Xe.subdata=function(Je,tt){return Ye.subdata(Je,tt),Xe},Xe.destroy=function(){Ue(Ge)},Xe},createStream:function(Me){var Fe=be.pop();return Fe||(Fe=new ge(w.create(null,34963,!0,!1)._buffer)),De(Fe,Me,35040,-1,-1,0,0),Fe},destroyStream:function(Me){be.push(Me)},getElements:function(Me){return typeof Me=="function"&&Me._elements instanceof ge?Me._elements:null},clear:function(){fe(he).forEach(Ue)}}}(bt,Lt,Gr,wt),jn=function($e,St,w,D){var he={},K={};function oe(Ge,Xe,Je,tt){this.name=Ge,this.id=Xe,this.location=Je,this.info=tt}function ge(Ge,Xe){for(var Je=0;Je1)for(var yt=0;ytGe&&(Ge=Xe.stats.uniformsCount)}),Ge},w.getMaxAttributesCount=function(){var Ge=0;return Ue.forEach(function(Xe){Xe.stats.attributesCount>Ge&&(Ge=Xe.stats.attributesCount)}),Ge}),{clear:function(){var Ge=$e.deleteShader.bind($e);fe(he).forEach(Ge),he={},fe(K).forEach(Ge),K={},Ue.forEach(function(Xe){$e.deleteProgram(Xe.program)}),Ue.length=0,De={},w.shaderCount=0},program:function(Ge,Xe,Je,tt){W.command(Ge>=0,"missing vertex shader",Je),W.command(Xe>=0,"missing fragment shader",Je);var Ve=De[Xe];Ve||(Ve=De[Xe]={});var it=Ve[Ge];if(it&&(it.refCount++,!tt))return it;var pt=new Fe(Xe,Ge);return w.shaderCount++,Ye(pt,Je,tt),it||(Ve[Ge]=pt),Ue.push(pt),O(pt,{destroy:function(){if(pt.refCount--,pt.refCount<=0){$e.deleteProgram(pt.program);var Et=Ue.indexOf(pt);Ue.splice(Et,1),w.shaderCount--}Ve[pt.vertId].refCount<=0&&($e.deleteShader(K[pt.vertId]),delete K[pt.vertId],delete De[pt.fragId][pt.vertId]),Object.keys(De[pt.fragId]).length||($e.deleteShader(he[pt.fragId]),delete he[pt.fragId],delete De[pt.fragId])}})},restore:function(){he={},K={};for(var Ge=0;Ge=2,"invalid renderbuffer shape"),tt=0|Et[0],Ve=0|Et[1]}else"radius"in pt&&(tt=Ve=0|pt.radius),"width"in pt&&(tt=0|pt.width),"height"in pt&&(Ve=0|pt.height);"format"in pt&&(W.parameter(pt.format,K,"invalid renderbuffer format"),it=K[pt.format])}else typeof Xe=="number"?(tt=0|Xe,Ve=typeof Je=="number"?0|Je:tt):Xe?W.raise("invalid arguments to renderbuffer constructor"):tt=Ve=1;if(W(tt>0&&Ve>0&&tt<=w.maxRenderbufferSize&&Ve<=w.maxRenderbufferSize,"invalid renderbuffer size"),tt!==Ye.width||Ve!==Ye.height||it!==Ye.format)return Ge.width=Ye.width=tt,Ge.height=Ye.height=Ve,Ye.format=it,$e.bindRenderbuffer(36161,Ye.renderbuffer),$e.renderbufferStorage(36161,it,tt,Ve),W($e.getError()===0,"invalid render buffer format"),he.profile&&(Ye.stats.size=Er(Ye.format,Ye.width,Ye.height)),Ge.format=oe[Ye.format],Ge}return be[Ye.id]=Ye,D.renderbufferCount++,Ge(Me,Fe),Ge.resize=function(Xe,Je){var tt=0|Xe,Ve=0|Je||tt;return tt===Ye.width&&Ve===Ye.height||(W(tt>0&&Ve>0&&tt<=w.maxRenderbufferSize&&Ve<=w.maxRenderbufferSize,"invalid renderbuffer size"),Ge.width=Ye.width=tt,Ge.height=Ye.height=Ve,$e.bindRenderbuffer(36161,Ye.renderbuffer),$e.renderbufferStorage(36161,Ye.format,tt,Ve),W($e.getError()===0,"invalid render buffer format"),he.profile&&(Ye.stats.size=Er(Ye.format,Ye.width,Ye.height))),Ge},Ge._reglType="renderbuffer",Ge._renderbuffer=Ye,he.profile&&(Ge.stats=Ye.stats),Ge.destroy=function(){Ye.decRef()},Ge},clear:function(){fe(be).forEach(Ue)},restore:function(){fe(be).forEach(function(Me){Me.renderbuffer=$e.createRenderbuffer(),$e.bindRenderbuffer(36161,Me.renderbuffer),$e.renderbufferStorage(36161,Me.format,Me.width,Me.height)}),$e.bindRenderbuffer(36161,null)}}}(bt,Lt,Ur,wt,ut),Qr=function($e,St,w,D,he,K){var oe={cur:null,next:null,dirty:!1,setFBO:null},ge=["rgba"],be=["rgba4","rgb565","rgb5 a1"];St.ext_srgb&&be.push("srgba"),St.ext_color_buffer_half_float&&be.push("rgba16f","rgb16f"),St.webgl_color_buffer_float&&be.push("rgba32f");var De=["uint8"];function Ue(yt,qe,at){this.target=yt,this.texture=qe,this.renderbuffer=at;var ht=0,Mt=0;qe?(ht=qe.width,Mt=qe.height):at&&(ht=at.width,Mt=at.height),this.width=ht,this.height=Mt}function Me(yt){yt&&(yt.texture&&yt.texture._texture.decRef(),yt.renderbuffer&&yt.renderbuffer._renderbuffer.decRef())}function Fe(yt,qe,at){if(yt)if(yt.texture){var ht=yt.texture._texture,Mt=Math.max(1,ht.width),zt=Math.max(1,ht.height);W(Mt===qe&&zt===at,"inconsistent width/height for supplied texture"),ht.refCount+=1}else{var Ut=yt.renderbuffer._renderbuffer;W(Ut.width===qe&&Ut.height===at,"inconsistent width/height for renderbuffer"),Ut.refCount+=1}}function Ye(yt,qe){qe&&(qe.texture?$e.framebufferTexture2D(36160,yt,qe.target,qe.texture._texture.texture,0):$e.framebufferRenderbuffer(36160,yt,36161,qe.renderbuffer._renderbuffer.renderbuffer))}function Ge(yt){var qe=3553,at=null,ht=null,Mt=yt;_(yt)==="object"&&(Mt=yt.data,"target"in yt&&(qe=0|yt.target)),W.type(Mt,"function","invalid attachment data");var zt=Mt._reglType;return zt==="texture2d"?(at=Mt,W(qe===3553)):zt==="textureCube"?(at=Mt,W(qe>=34069&&qe<34075,"invalid cube map target")):zt==="renderbuffer"?(ht=Mt,qe=36161):W.raise("invalid regl object for attachment"),new Ue(qe,at,ht)}function Xe(yt,qe,at,ht,Mt){if(at){var zt=D.create2D({width:yt,height:qe,format:ht,type:Mt});return zt._texture.refCount=0,new Ue(3553,zt,null)}var Ut=he.create({width:yt,height:qe,format:ht});return Ut._renderbuffer.refCount=0,new Ue(36161,null,Ut)}function Je(yt){return yt&&(yt.texture||yt.renderbuffer)}function tt(yt,qe,at){yt&&(yt.texture?yt.texture.resize(qe,at):yt.renderbuffer&&yt.renderbuffer.resize(qe,at),yt.width=qe,yt.height=at)}St.oes_texture_half_float&&De.push("half float","float16"),St.oes_texture_float&&De.push("float","float32");var Ve=0,it={};function pt(){this.id=Ve++,it[this.id]=this,this.framebuffer=$e.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function Et(yt){yt.colorAttachments.forEach(Me),Me(yt.depthAttachment),Me(yt.stencilAttachment),Me(yt.depthStencilAttachment)}function mt(yt){var qe=yt.framebuffer;W(qe,"must not double destroy framebuffer"),$e.deleteFramebuffer(qe),yt.framebuffer=null,K.framebufferCount--,delete it[yt.id]}function xt(yt){var qe;$e.bindFramebuffer(36160,yt.framebuffer);var at=yt.colorAttachments;for(qe=0;qe=2,"invalid shape for framebuffer"),Xt=Ao[0],fr=Ao[1]}else"radius"in Wr&&(Xt=fr=Wr.radius),"width"in Wr&&(Xt=Wr.width),"height"in Wr&&(fr=Wr.height);("color"in Wr||"colors"in Wr)&&(mr=Wr.color||Wr.colors,Array.isArray(mr)&&W(mr.length===1||St.webgl_draw_buffers,"multiple render targets not supported")),mr||("colorCount"in Wr&&(Ii=0|Wr.colorCount,W(Ii>0,"invalid color buffer count")),"colorTexture"in Wr&&(sr=!!Wr.colorTexture,an="rgba4"),"colorType"in Wr&&(sn=Wr.colorType,sr?(W(St.oes_texture_float||!(sn==="float"||sn==="float32"),"you must enable OES_texture_float in order to use floating point framebuffer objects"),W(St.oes_texture_half_float||!(sn==="half float"||sn==="float16"),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):sn==="half float"||sn==="float16"?(W(St.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),an="rgba16f"):sn!=="float"&&sn!=="float32"||(W(St.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),an="rgba32f"),W.oneOf(sn,De,"invalid color type")),"colorFormat"in Wr&&(an=Wr.colorFormat,ge.indexOf(an)>=0?sr=!0:be.indexOf(an)>=0?sr=!1:sr?W.oneOf(Wr.colorFormat,ge,"invalid color format for texture"):W.oneOf(Wr.colorFormat,be,"invalid color format for renderbuffer"))),("depthTexture"in Wr||"depthStencilTexture"in Wr)&&(ga=!(!Wr.depthTexture&&!Wr.depthStencilTexture),W(!ga||St.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in Wr&&(typeof Wr.depth=="boolean"?Or=Wr.depth:(Wi=Wr.depth,kr=!1)),"stencil"in Wr&&(typeof Wr.stencil=="boolean"?kr=Wr.stencil:(fo=Wr.stencil,Or=!1)),"depthStencil"in Wr&&(typeof Wr.depthStencil=="boolean"?Or=kr=Wr.depthStencil:(ir=Wr.depthStencil,Or=!1,kr=!1))}else Xt=fr=1;var Nt=null,uo=null,yo=null,co=null;if(Array.isArray(mr))Nt=mr.map(Ge);else if(mr)Nt=[Ge(mr)];else for(Nt=new Array(Ii),Ut=0;Ut=0||Nt[Ut].renderbuffer&&Qn.indexOf(Nt[Ut].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+Ut+" is invalid"),Nt[Ut]&&Nt[Ut].texture){var Ra=yn[Nt[Ut].texture._texture.format]*mn[Nt[Ut].texture._texture.type];Da===null?Da=Ra:W(Da===Ra,"all color attachments much have the same number of bits per pixel.")}return Fe(uo,Xt,fr),W(!uo||uo.texture&&uo.texture._texture.format===6402||uo.renderbuffer&&uo.renderbuffer._renderbuffer.format===33189,"invalid depth attachment for framebuffer object"),Fe(yo,Xt,fr),W(!yo||yo.renderbuffer&&yo.renderbuffer._renderbuffer.format===36168,"invalid stencil attachment for framebuffer object"),Fe(co,Xt,fr),W(!co||co.texture&&co.texture._texture.format===34041||co.renderbuffer&&co.renderbuffer._renderbuffer.format===34041,"invalid depth-stencil attachment for framebuffer object"),Et(at),at.width=Xt,at.height=fr,at.colorAttachments=Nt,at.depthAttachment=uo,at.stencilAttachment=yo,at.depthStencilAttachment=co,ht.color=Nt.map(Je),ht.depth=Je(uo),ht.stencil=Je(yo),ht.depthStencil=Je(co),ht.width=at.width,ht.height=at.height,xt(at),ht}return K.framebufferCount++,ht(yt,qe),O(ht,{resize:function(Mt,zt){W(oe.next!==at,"can not resize a framebuffer which is currently in use");var Ut=Math.max(0|Mt,1),Xt=Math.max(0|zt||Ut,1);if(Ut===at.width&&Xt===at.height)return ht;for(var fr=at.colorAttachments,Or=0;Or=2,"invalid shape for framebuffer"),W(an[0]===an[1],"cube framebuffer must be square"),Xt=an[0]}else"radius"in sr&&(Xt=0|sr.radius),"width"in sr?(Xt=0|sr.width,"height"in sr&&W(sr.height===Xt,"must be square")):"height"in sr&&(Xt=0|sr.height);("color"in sr||"colors"in sr)&&(fr=sr.color||sr.colors,Array.isArray(fr)&&W(fr.length===1||St.webgl_draw_buffers,"multiple render targets not supported")),fr||("colorCount"in sr&&(mr=0|sr.colorCount,W(mr>0,"invalid color buffer count")),"colorType"in sr&&(W.oneOf(sr.colorType,De,"invalid color type"),kr=sr.colorType),"colorFormat"in sr&&(Or=sr.colorFormat,W.oneOf(sr.colorFormat,ge,"invalid color format for texture"))),"depth"in sr&&(Ut.depth=sr.depth),"stencil"in sr&&(Ut.stencil=sr.stencil),"depthStencil"in sr&&(Ut.depthStencil=sr.depthStencil)}else Xt=1;if(fr)if(Array.isArray(fr))for(zt=[],Mt=0;Mt0&&(Ut.depth=qe[0].depth,Ut.stencil=qe[0].stencil,Ut.depthStencil=qe[0].depthStencil),qe[Mt]?qe[Mt](Ut):qe[Mt]=Ot(Ut)}return O(at,{width:Xt,height:Xt,color:zt})}return at(yt),O(at,{faces:qe,resize:function(ht){var Mt,zt=0|ht;if(W(zt>0&&zt<=w.maxCubeMapSize,"invalid radius for cube fbo"),zt===at.width)return at;var Ut=at.color;for(Mt=0;Mt=0;--$e){var St=Jr[$e];St&&St(pr,null,0)}bt.flush(),Wt&&Wt.update()}function Ji(){!nn&&Jr.length>0&&(nn=ae.next(pi))}function Ai(){nn&&(ae.cancel(pi),nn=null)}function Gn($e){$e.preventDefault(),_e=!0,Ai(),ko.forEach(function(St){St()})}function zi($e){bt.getError(),_e=!1,ze.restore(),jn.restore(),Gr.restore(),Cn.restore(),qn.restore(),Qr.restore(),$r.restore(),Wt&&Wt.restore(),Mn.procs.refresh(),Ji(),Fi.forEach(function(St){St()})}function Di($e){function St(Fe,Ye){var Ge={},Xe={};return Object.keys(Fe).forEach(function(Je){var tt=Fe[Je];if(V.isDynamic(tt))Xe[Je]=V.unbox(tt,Je);else{if(Ye&&Array.isArray(tt)){for(var Ve=0;Ve0)return De.call(this,function(Xe){for(;Me.length=0,"cannot cancel a frame twice"),Jr[St]=function w(){var D=vr(Jr,w);Jr[D]=Jr[Jr.length-1],Jr.length-=1,Jr.length<=0&&Ai()}}}}function eo(){var $e=Sn.viewport,St=Sn.scissor_box;$e[0]=$e[1]=St[0]=St[1]=0,pr.viewportWidth=pr.framebufferWidth=pr.drawingBufferWidth=$e[2]=St[2]=bt.drawingBufferWidth,pr.viewportHeight=pr.framebufferHeight=pr.drawingBufferHeight=$e[3]=St[3]=bt.drawingBufferHeight}function so(){pr.tick+=1,pr.time=Ti(),eo(),Mn.procs.poll()}function Vi(){Cn.refresh(),eo(),Mn.procs.refresh(),Wt&&Wt.update()}function Ti(){return(we()-er)/1e3}Vi();var _t=O(Di,{clear:function($e){if(W(_($e)==="object"&&$e,"regl.clear() takes an object as input"),"framebuffer"in $e)if($e.framebuffer&&$e.framebuffer_reglType==="framebufferCube")for(var St=0;St<6;++St)fi(O({framebuffer:$e.framebuffer.faces[St]},$e),Ui);else fi($e,Ui);else Ui(0,$e)},prop:V.define.bind(null,1),context:V.define.bind(null,2),this:V.define.bind(null,3),draw:Di({}),buffer:function($e){return Gr.create($e,34962,!1,!1)},elements:function($e){return Kr.create($e,!1)},texture:Cn.create2D,cube:Cn.createCube,renderbuffer:qn.create,framebuffer:Qr.create,framebufferCube:Qr.createCube,vao:$r.createVAO,attributes:Ft,frame:Ci,on:function($e,St){var w;switch(W.type(St,"function","listener callback must be a function"),$e){case"frame":return Ci(St);case"lost":w=ko;break;case"restore":w=Fi;break;case"destroy":w=Qi;break;default:W.raise("invalid event, must be one of frame,lost,restore,destroy")}return w.push(St),{cancel:function(){for(var D=0;D=0},read:ai,destroy:function(){Jr.length=0,Ai(),si&&(si.removeEventListener("webglcontextlost",Gn),si.removeEventListener("webglcontextrestored",zi)),jn.clear(),Qr.clear(),qn.clear(),Cn.clear(),Kr.clear(),Gr.clear(),$r.clear(),Wt&&Wt.clear(),Qi.forEach(function($e){$e()})},_gl:bt,_refresh:Vi,poll:function(){so(),Wt&&Wt.update()},now:Ti,stats:wt});return ut.onDone(null,_t),_t}},_(b)==="object"&&R!==void 0?R.exports=M():(c=typeof(f=M)=="function"?f.call(b,o,b,R):f)===void 0||(R.exports=c)},,,,,,,,function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.GADDIAsync=b.getNeighborsAsync=b.pageRankAsync=b.minimumSpanningTreeAsync=b.louvainAsync=b.labelPropagationAsync=b.floydWarshallAsync=b.findShortestPathAsync=b.findAllPathAsync=b.dijkstraAsync=b.detectAllUndirectedCycleAsync=b.detectAllDirectedCycleAsync=b.detectAllCyclesAsync=b.detectCycleAsync=b.getOutDegreeAsync=b.getInDegreeAsync=b.getDegreeAsync=b.connectedComponentAsync=b.getAdjMatrixAsync=void 0;var f,c=(f=o(281))&&f.__esModule?f:{default:f},M=o(141);b.getAdjMatrixAsync=function(_,x){return(0,c.default)(M.ALGORITHM.getAdjMatrix).apply(void 0,[_,x])},b.connectedComponentAsync=function(_,x){return(0,c.default)(M.ALGORITHM.connectedComponent).apply(void 0,[_,x])},b.getDegreeAsync=function(_){return(0,c.default)(M.ALGORITHM.getDegree)(_)},b.getInDegreeAsync=function(_,x){return(0,c.default)(M.ALGORITHM.getInDegree)(_,x)},b.getOutDegreeAsync=function(_,x){return(0,c.default)(M.ALGORITHM.getOutDegree)(_,x)},b.detectCycleAsync=function(_){return(0,c.default)(M.ALGORITHM.detectCycle)(_)},b.detectAllCyclesAsync=function(_){return(0,c.default)(M.ALGORITHM.detectAllCycles)(_)},b.detectAllDirectedCycleAsync=function(_){return(0,c.default)(M.ALGORITHM.detectAllDirectedCycle)(_)},b.detectAllUndirectedCycleAsync=function(_){return(0,c.default)(M.ALGORITHM.detectAllUndirectedCycle)(_)},b.dijkstraAsync=function(_,x,O,S){return(0,c.default)(M.ALGORITHM.dijkstra).apply(void 0,[_,x,O,S])},b.findAllPathAsync=function(_,x,O,S){return(0,c.default)(M.ALGORITHM.findAllPath).apply(void 0,[_,x,O,S])},b.findShortestPathAsync=function(_,x,O,S,g){return(0,c.default)(M.ALGORITHM.findShortestPath).apply(void 0,[_,x,O,S,g])},b.floydWarshallAsync=function(_,x){return(0,c.default)(M.ALGORITHM.floydWarshall).apply(void 0,[_,x])},b.labelPropagationAsync=function(_,x,O,S){return S===void 0&&(S=1e3),(0,c.default)(M.ALGORITHM.labelPropagation)(_,x,O,S)},b.louvainAsync=function(_,x,O,S){return(0,c.default)(M.ALGORITHM.louvain)(_,x,O,S)},b.minimumSpanningTreeAsync=function(_,x,O){return(0,c.default)(M.ALGORITHM.minimumSpanningTree).apply(void 0,[_,x,O])},b.pageRankAsync=function(_,x,O){return(0,c.default)(M.ALGORITHM.pageRank).apply(void 0,[_,x,O])},b.getNeighborsAsync=function(_,x,O){return(0,c.default)(M.ALGORITHM.getNeighbors).apply(void 0,[_,x,O])},b.GADDIAsync=function(_,x,O,S,g,h,y){return O===void 0&&(O=!1),h===void 0&&(h="cluster"),y===void 0&&(y="cluster"),(0,c.default)(M.ALGORITHM.GADDI).apply(void 0,[_,x,O,S,g,h,y])}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f,c=o(141),M=(f=o(282))&&f.__esModule?f:{default:f},_=function(x){return function(){for(var O=[],S=0;S0;)for(var xe=te.pop(),ye=xe.id,W=(0,x.getNeighbors)(ye,y.edges),Ie=function(ne){var Z,V=W[ne],ae=y.nodes.find(function(Y){return Y.id===V});if(V===ye)C.push(((Z={})[V]=xe,Z));else if(V in le){if(!le[ye].has(ae)){for(var we=!0,Ae=[ae,xe],se=ue[ye];le[V].size&&!le[V].has(se)&&(Ae.push(se),se!==ue[se.id]);)se=ue[se.id];if(Ae.push(se),E&&m?(we=!1,Ae.findIndex(function(Y){return E.indexOf(Y.id)>-1})>-1&&(we=!0)):E&&!m&&Ae.findIndex(function(Y){return E.indexOf(Y.id)>-1})>-1&&(we=!1),we){for(var ee={},J=1;J-1)return q;p.push(ee),A.add(ee);for(var G=Y[ee.id],re=0;re0;){var Pe=Se.pop();A.has(Pe)&&(A.delete(Pe),C[Pe.id].forEach(function(ke){Se.push(ke)}),C[Pe.id].clear())}})(ee);else for(re=0;re-1});Se-1?$[de.id].push(L[ke]):N.push(((ee={})[de.id]=de,ee))}}return{component:ce,adjList:$,minIdx:Y}},Ie=0;Ie=Ie}),ne=(0,_.detectStrongConnectComponents)({nodes:ie,edges:y.edges}).filter(function(se){return se.length>1});if(ne.length===0)break;var Z=W(ne),V=Z.minIdx,ae=Z.adjList,we=Z.component;if(!(we.length>1))break;we.forEach(function(se){C[se.id]=new Set});var Ae=P[V];if(E&&m&&E.indexOf(Ae.id)===-1)return N;z(Ae,Ae,ae),Ie=V+1}return N};b.detectAllDirectedCycle=g,b.detectAllCycles=function(y,E,m,p){return p===void 0&&(p=!0),E?g(y,m,p):S(y,m,p)};var h=function(y){var E=null,m=y.nodes,p={},A={},C={},N={};(m===void 0?[]:m).forEach(function(z){A[z.id]=z});for(var P={enter:function(z){var X=z.current,te=z.previous;if(C[X]){E={};for(var ue=X,le=te;le!==X;)E[ue]=le,ue=le,le=p[le];E[ue]=le}else C[X]=X,delete A[X],p[X]=te},leave:function(z){var X=z.current;N[X]=X,delete C[X]},allowTraversal:function(z){var X=z.next;return!E&&!N[X]}};Object.keys(A).length;){var L=Object.keys(A)[0];(0,M.default)(y,L,P)}return E};b.default=h},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.findAllPath=b.findShortestPath=void 0;var f,c=(f=o(142))&&f.__esModule?f:{default:f},M=o(45);b.findShortestPath=function(_,x,O,S,g){var h=(0,c.default)(_,x,S,g),y=h.length,E=h.path,m=h.allPath;return{length:y[O],path:E[O],allPath:m[O]}},b.findAllPath=function(_,x,O,S){var g;if(x===O)return[[x]];var h=_.edges,y=h===void 0?[]:h,E=[x],m=((g={})[x]=!0,g),p=[],A=[],C=S?(0,M.getNeighbors)(x,y,"target"):(0,M.getNeighbors)(x,y);for(p.push(C);E.length>0&&p.length>0;){var N=p[p.length-1];if(N.length){var P=N.shift();if(P&&(E.push(P),m[P]=!0,C=S?(0,M.getNeighbors)(P,y,"target"):(0,M.getNeighbors)(P,y),p.push(C.filter(function(X){return!m[X]}))),E[E.length-1]===O){var L=E.map(function(X){return X});A.push(L),z=E.pop(),m[z]=!1,p.pop()}}else{var z=E.pop();m[z]=!1,p.pop()}}return A}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f,c=(f=o(95))&&f.__esModule?f:{default:f},M=o(45),_=function(x,O,S,g){O===void 0&&(O=!1),S===void 0&&(S="weight"),g===void 0&&(g=1e3);var h=x.nodes,y=h===void 0?[]:h,E=x.edges,m=E===void 0?[]:E,p={},A={};y.forEach(function(le,xe){var ye=(0,M.uniqueId)();le.clusterId=ye,p[ye]={id:ye,nodes:[le]},A[le.id]={node:le,idx:xe}});var C=(0,c.default)(x,O),N=[],P={};C.forEach(function(le,xe){var ye=0,W=y[xe].id;P[W]={},le.forEach(function(Ie,ie){if(Ie){ye+=Ie;var ne=y[ie].id;P[W][ne]=Ie}}),N.push(ye)});for(var L=0,z=function(){var le=!1;if(y.forEach(function(xe){var ye={};Object.keys(P[xe.id]).forEach(function(we){var Ae=P[xe.id][we],se=A[we].node.clusterId;ye[se]||(ye[se]=0),ye[se]+=Ae});var W=-1/0,Ie=[];if(Object.keys(ye).forEach(function(we){W=0&&Ie.splice(ie,1),Ie&&Ie.length){le=!0;var ne=p[xe.clusterId],Z=ne.nodes.indexOf(xe);ne.nodes.splice(Z,1);var V=Math.floor(Math.random()*Ie.length),ae=p[Ie[V]];ae.nodes.push(xe),xe.clusterId=ae.id}}}),!le)return"break";L++};L100);)te=X,ue++,Object.keys(A).forEach(function(ie){var ne=0;m.forEach(function(Z){var V=Z.source,ae=Z.target,we=C[V].node.clusterId,Ae=C[ae].node.clusterId;(we===ie&&Ae!==ie||Ae===ie&&we!==ie)&&(ne+=Z[S]||1)}),A[ie].sumTot=ne}),y.forEach(function(ie,ne){var Z,V=A[ie.clusterId],ae=0,we=P[ne]/(2*z),Ae=0;V.nodes.forEach(function(re){var fe=C[re.id].idx;Ae+=N[ne][fe]||0});var se=Ae-V.sumTot*we,ee=L[ie.id];if(Object.keys(ee).forEach(function(re){var fe=C[re].node.clusterId;if(fe!==ie.clusterId){var ce=A[fe],$=ce.nodes;if($&&$.length){var de=0;$.forEach(function(Pe){var ke=C[Pe.id].idx;de+=N[ne][ke]||0});var Se=de-ce.sumTot*we-se;Se>ae&&(ae=Se,Z=ce)}}}),ae>0){Z.nodes.push(ie);var J=ie.clusterId;ie.clusterId=Z.id;var Y=V.nodes.indexOf(ie);V.nodes.splice(Y,1);var q=0,G=0;m.forEach(function(re){var fe=re.source,ce=re.target,$=C[fe].node.clusterId,de=C[ce].node.clusterId;($===Z.id&&de!==Z.id||de===Z.id&&$!==Z.id)&&(q+=re[S]||1),($===J&&de!==J||de===J&&$!==J)&&(G+=re[S]||1)}),Z.sumTot=q,V.sumTot=G}});var le={},xe=0;Object.keys(A).forEach(function(ie){var ne=A[ie];if(ne.nodes&&ne.nodes.length){var Z=String(xe+1);Z!==ie&&(ne.id=Z,ne.nodes=ne.nodes.map(function(V){return{id:V.id,clusterId:Z}}),A[Z]=ne,le[ie]=Z,delete A[ie],xe++)}else delete A[ie]}),y.forEach(function(ie){ie.clusterId&&le[ie.clusterId]&&(ie.clusterId=le[ie.clusterId])});var ye=[],W={};m.forEach(function(ie){var ne=ie.source,Z=ie.target,V=ie[S]||1,ae=C[ne].node.clusterId,we=C[Z].node.clusterId,Ae=ae+"---"+we;if(W[Ae])W[Ae].weight+=V,W[Ae].count++;else{var se={source:ae,target:we,weight:V,count:1};W[Ae]=se,ye.push(se)}});var Ie=[];return Object.keys(A).forEach(function(ie){Ie.push(A[ie])}),{clusters:Ie,clusterEdges:ye}};b.default=_},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=_(o(292)),c=_(o(293)),M=o(45);function _(g){return g&&g.__esModule?g:{default:g}}var x=function(g,h){var y=[],E=g.nodes,m=E===void 0?[]:E,p=g.edges,A=p===void 0?[]:p;if(m.length===0)return y;var C=m[0],N=new Set;N.add(C);var P=new c.default(function(te,ue){return h?te.weight-ue.weight:0});for((0,M.getEdgesByNodeId)(C.id,A).forEach(function(te){P.insert(te)});!P.isEmpty();){var L=P.delMin(),z=L.source,X=L.target;N.has(z)&&N.has(X)||(y.push(L),N.has(z)||(N.add(z),(0,M.getEdgesByNodeId)(z,A).forEach(function(te){P.insert(te)})),N.has(X)||(N.add(X),(0,M.getEdgesByNodeId)(X,A).forEach(function(te){P.insert(te)})))}return y},O=function(g,h){var y=[],E=g.nodes,m=E===void 0?[]:E,p=g.edges,A=p===void 0?[]:p;if(m.length===0)return y;var C=A.map(function(X){return X});h&&C.sort(function(X,te){return X.weight-te.weight});for(var N=new f.default(m.map(function(X){return X.id}));C.length>0;){var P=C.shift(),L=P.source,z=P.target;N.connected(L,z)||(y.push(P),N.union(L,z))}return y},S=function(g,h,y){return y?{prim:x,kruskal:O}[y](g,h):O(g,h)};b.default=S},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=function(){function c(M){this.count=M.length,this.parent={};for(var _=0,x=M;_0&&(this.list[0]=x,this.moveDown(0)),_},M.prototype.insert=function(_){if(_!==null){this.list.push(_);var x=this.list.length-1;return this.moveUp(x),!0}return!1},M.prototype.moveUp=function(_){for(var x=this.getParent(_);_&&_>0&&this.compareFn(this.list[x],this.list[_])>0;){var O=this.list[x];this.list[x]=this.list[_],this.list[_]=O,_=x,x=this.getParent(_)}},M.prototype.moveDown=function(_){var x,O=_,S=this.getLeft(_),g=this.getRight(_),h=this.list.length;S!==null&&S0?O=S:g!==null&&g0&&(O=g),_!==O&&(x=[this.list[O],this.list[_]],this.list[_]=x[0],this.list[O]=x[1],this.moveDown(O))},M}();b.default=c},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f,c=(f=o(170))&&f.__esModule?f:{default:f},M=o(45),_=function(x,O,S){typeof O!="number"&&(O=1e-6),typeof S!="number"&&(S=.85);for(var g,h=1,y=0,E=1e3,m=x.nodes,p=m===void 0?[]:m,A=x.edges,C=A===void 0?[]:A,N=p.length,P={},L={},z=0;z0&&h>O;){for(y=0,z=0;z0&&(g+=L[xe]/ye)}P[te]=S*g,y+=P[te]}}for(y=(1-y)/N,h=0,z=0;z2*rr)););if(Nr<2*rr&&(br[xr+"-"+zr]={start:xr,end:zr,distance:cr[xr][zr]},dr++,++Xr>=or))return br;if(++Br>2*rr)break}drKe[Qt][zr]){pn=!0;break}if(pn)return ke.splice(gr,1),"continue";var Nr={};dr.neighbors.forEach(function(Ir){var On=W[xr.id+"-"+Ir.id];Nr[xr.id+"-"+Ir.id]={start:ne[xr.id].idx,end:ne[Ir.id].idx,distance:On}}),Y=y(Nr,se,N,Y);var Dr=[];Object.keys(Nr).forEach(function(Ir){if(de[Ir])Dr.push(de[Ir]);else{var On=Y[Ir];de[Ir]=E(On,$,te,ue),Dr.push(de[Ir])}}),Dr=Dr.sort(function(Ir,On){return On-Ir});var rn=!1;for(zr=0;zr=0;Xr--)br(Xr)});var et=[];ke.forEach(function(Qt){for(var rr=ne[Qt.id].idx,or=h(N.nodes,xe[rr],rr,te,X).neighbors,Mr=or.length,cr=!1,yr=function(gr){if(or.length+1Ke[dr][Ke[dr].length-1])return or.splice(gr,1),"continue";var pn=de[Br]?de[Br]:function(Dr,rn,Ir,On,In,Dn,Rn,gn,Er,ln,yn){var mn,Qn=rn.id+"-"+Ir.id;if(ln&&ln[Qn])return ln[Qn];var Un=yn?yn[Qn]:void 0;if(!Un){var ri=((mn={})[Qn]={start:On[rn.id].idx,end:On[Ir.id].idx,distance:In},mn);Un=(yn=y(ri,Dn,Dr,yn))[Qn]}return E(Un,Rn,gn,Er)}(N,Qt,xr,ne,Rr,se,$,te,ue,de,Y),zr=Se.id+"-"+dr;if(pnrn&&(Nr=rn)}),Ce[dr]=Nr),ne[xr.id].degree=0;br--){var Xr=yr(br);if(S(Xr)==="object")return Xr.value}cr||et.push({nodes:[Qt].concat(or)})});var ot=(0,_.default)(P,Se.id,!1).length,dt={};L?(Object.keys(ot).forEach(function(Qt){var rr=ae[Qt].node[te];dt[rr]?dt[rr].push(ot[Qt]):dt[rr]=[ot[Qt]]}),Object.keys(dt).forEach(function(Qt){dt[Qt].sort(function(rr,or){return rr-or})})):dt=Ke;for(var Ct=function(Qt){var rr=et[Qt],or=rr.nodes[0],Mr={},cr={};rr.nodes.forEach(function(Er,ln){cr[Er.id]={idx:ln,node:Er,degree:0};var yn=Er[te];Mr[yn]?Mr[yn]++:Mr[yn]=1});var yr=[],br={};N.edges.forEach(function(Er){cr[Er.source]&&cr[Er.target]&&(yr.push(Er),br[Er[ue]]?br[Er[ue]]++:br[Er[ue]]=1,cr[Er.source].degree++,cr[Er.target].degree++)});for(var Xr=Object.keys(Ae).length,gr=!1,xr=0;xr=0&&pn(xr)!=="break";xr--);if(Rr)return et.splice(Qt,1),"continue";rr.edges=yr;var zr=(0,_.default)(rr,rr.nodes[0].id,!1).length;if(Object.keys(zr).reverse().forEach(function(Er){if(Er!==rr.nodes[0].id&&!Rr){if(zr[Er]===1/0){var ln=cr[Er].node[te];if(Mr[ln]--,Mr[ln]dt[mn][dt[mn].length-1]){if(ln=cr[Er].node[te],Mr[ln]--,Mr[ln]=0;rn--){var Ir=rr.nodes[rn],On=cr[Ir.id].degree,In=Ir[te];if(On=0;Dn--){var Rn=yr[Dn];if(!cr[Rn.source]||!cr[Rn.target]){yr.splice(Dn,1);var gn=Rn[ue];if(br[gn]--,cr[Rn.source]&&cr[Rn.source].degree--,cr[Rn.target]&&cr[Rn.target].degree--,Ae[gn]&&br[gn]=0&&Ct(Tt)!=="break";Tt--);var jt=et.length,Kt=function(Qt){var rr=et[Qt],or={};rr.edges.forEach(function(yr){var br=yr.source+"-"+yr.target+"-"+yr.label;or[br]?or[br]++:or[br]=1});for(var Mr=function(yr){var br=et[yr],Xr={};br.edges.forEach(function(xr){var dr=xr.source+"-"+xr.target+"-"+xr.label;Xr[dr]?Xr[dr]++:Xr[dr]=1});var gr=!0;Object.keys(Xr).length!==Object.keys(or).length?gr=!1:Object.keys(or).forEach(function(xr){Xr[xr]!==or[xr]&&(gr=!1)}),gr&&et.splice(yr,1)},cr=jt-1;cr>Qt;cr--)Mr(cr);jt=et.length};for(Tt=0;Tt<=jt-1;Tt++)Kt(Tt);return et}}};b.default=C},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=o(0),c=o(297),M=function(){function g(h,y,E,m,p){this.fromNode=h,this.toNode=y,this.nodeEdgeNodeLabel={nodeLabel1:E||c.VACANT_NODE_LABEL,edgeLabel:m||c.VACANT_EDGE_LABEL,nodeLabel2:p||c.VACANT_NODE_LABEL}}return g.prototype.equalTo=function(h){return this.fromNode===h.formNode&&this.toNode===h.toNode&&this.nodeEdgeNodeLabel===h.nodeEdgeNodeLabel},g.prototype.notEqualTo=function(h){return!this.equalTo(h)},g}(),_=function(){function g(){this.rmpath=[],this.dfsEdgeList=[]}return g.prototype.equalTo=function(h){var y=this.dfsEdgeList.length;if(y!==h.length)return!1;for(var E=0;E=0;y--){var E=this.dfsEdgeList[y],m=E.fromNode,p=E.toNode;mX||m.hasNode(A[z.to])||(y.labelW&&Ie(ie)!=="break";ie--);if(xe){var ne=h.findMinLabel(le);A.dfsEdgeList.push(new M(ue,ye,c.VACANT_NODE_LABEL,ne.edgeLabel,c.VACANT_NODE_LABEL));var Z=A.dfsEdgeList.length-1;return h.dfsCode.dfsEdgeList[Z]===A.dfsEdgeList[Z]&&L(le[ne.edgeLabel].projected)}var V={};xe=!1;var ae=0;z.forEach(function(J){var Y=new x(J),q=h.findForwardPureEdges(m,Y.edges[X[0]],te,Y);q.length>0&&(xe=!0,ae=ue,q.forEach(function(G){var re=G.label+"-"+p[G.to].label;V[re]||(V[re]={projected:[],edgeLabel:G.label,nodeLabel2:p[G.to].label}),V[re].projected.push({graphId:m.id,edge:G,preNode:J})}))});var we=X.length,Ae=function(J){if(xe)return"break";var Y=X[J];z.forEach(function(q){var G=new x(q),re=h.findForwardRmpathEdges(m,G.edges[Y],te,G);re.length>0&&(xe=!0,ae=A.dfsEdgeList[Y].fromNode,re.forEach(function(fe){var ce=fe.label+"-"+p[fe.to].label;V[ce]||(V[ce]={projected:[],edgeLabel:fe.label,nodeLabel2:p[fe.to].label}),V[ce].projected.push({graphId:m.id,edge:fe,preNode:q})}))})};for(ie=0;ie=0;te--){var ue=y.findBackwardEdge(L,X.edges[m[te]],X.edges[m[0]],X);if(ue){var le=y.dfsCode.dfsEdgeList[m[te]].fromNode+"-"+ue.label;N[le]||(N[le]={projected:[],toNodeId:y.dfsCode.dfsEdgeList[m[te]].fromNode,edgeLabel:ue.label}),N[le].projected.push({graphId:P.graphId,edge:ue,preNode:P})}}if(!(E>=y.maxNodeNum)){y.findForwardPureEdges(L,X.edges[m[0]],A,X).forEach(function(ye){var W=p+"-"+ye.label+"-"+z[ye.to].label;C[W]||(C[W]={projected:[],fromNodeId:p,edgeLabel:ye.label,nodeLabel2:z[ye.to].label}),C[W].projected.push({graphId:P.graphId,edge:ye,preNode:P})});var xe=function(ye){y.findForwardRmpathEdges(L,X.edges[m[ye]],A,X).forEach(function(W){var Ie=y.dfsCode.dfsEdgeList[m[ye]].fromNode+"-"+W.label+"-"+z[W.to].label;C[Ie]||(C[Ie]={projected:[],fromNodeId:y.dfsCode.dfsEdgeList[m[ye]].fromNode,edgeLabel:W.label,nodeLabel2:z[W.to].label}),C[Ie].projected.push({graphId:P.graphId,edge:W,preNode:P})})};for(te=0;teIe){var ie=Ie;Ie=W,W=ie}var ne=ye.label,Z=P+"-"+W+"-"+ne+"-"+Ie,V=W+"-"+ne+"-"+Ie;if(!A[V]){var ae=A[V]||0;ae++,A[V]=ae}N[Z]={graphId:P,nodeLabel1:W,edgeLabel:ne,nodeLabel2:Ie}})})}),Object.keys(p).forEach(function(P){if(!(p[P]=4&&g[3]!==1&&(h=", "+g[3]),"hwb("+g[0]+", "+g[1]+"%, "+g[2]+"%"+h+")"},x.to.keyword=function(g){return M[g.slice(0,3)]}},function(R,b,o){"use strict";R.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(R,b,o){"use strict";var f=o(301),c=Array.prototype.concat,M=Array.prototype.slice,_=R.exports=function(x){for(var O=[],S=0,g=x.length;S=0&&(o.splice instanceof Function||Object.getOwnPropertyDescriptor(o,o.length-1)&&o.constructor.name!=="String"))}},function(R,b,o){function f(x){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(x)}var c=o(173),M=o(304),_={};Object.keys(c).forEach(function(x){_[x]={},Object.defineProperty(_[x],"channels",{value:c[x].channels}),Object.defineProperty(_[x],"labels",{value:c[x].labels});var O=M(x);Object.keys(O).forEach(function(S){var g=O[S];_[x][S]=function(h){var y=function(E){if(E==null)return E;arguments.length>1&&(E=Array.prototype.slice.call(arguments));var m=h(E);if(f(m)==="object")for(var p=m.length,A=0;A1&&(E=Array.prototype.slice.call(arguments)),h(E))};return"conversion"in h&&(y.conversion=h.conversion),y}(g)})}),R.exports=_},function(R,b,o){"use strict";R.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(R,b,o){var f=o(173);function c(x){var O=function(){for(var A={},C=Object.keys(f),N=C.length,P=0;P-1}},function(R,b,o){var f=o(98);R.exports=function(c,M){var _=this.__data__,x=f(_,c);return x<0?(++this.size,_.push([c,M])):_[x][1]=M,this}},function(R,b,o){var f=o(97);R.exports=function(){this.__data__=new f,this.size=0}},function(R,b){R.exports=function(o){var f=this.__data__,c=f.delete(o);return this.size=f.size,c}},function(R,b){R.exports=function(o){return this.__data__.get(o)}},function(R,b){R.exports=function(o){return this.__data__.has(o)}},function(R,b,o){var f=o(97),c=o(144),M=o(145);R.exports=function(_,x){var O=this.__data__;if(O instanceof f){var S=O.__data__;if(!c||S.length<199)return S.push([_,x]),this.size=++O.size,this;O=this.__data__=new M(S)}return O.set(_,x),this.size=O.size,this}},function(R,b,o){var f=o(84),c=o(321),M=o(43),_=o(177),x=/^\[object .+?Constructor\]$/,O=Function.prototype,S=Object.prototype,g=O.toString,h=S.hasOwnProperty,y=RegExp("^"+g.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");R.exports=function(E){return!(!M(E)||c(E))&&(f(E)?y:x).test(_(E))}},function(R,b,o){var f=o(71),c=Object.prototype,M=c.hasOwnProperty,_=c.toString,x=f?f.toStringTag:void 0;R.exports=function(O){var S=M.call(O,x),g=O[x];try{O[x]=void 0;var h=!0}catch(E){}var y=_.call(O);return h&&(S?O[x]=g:delete O[x]),y}},function(R,b){var o=Object.prototype.toString;R.exports=function(f){return o.call(f)}},function(R,b,o){var f,c=o(322),M=(f=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"";R.exports=function(_){return!!M&&M in _}},function(R,b,o){var f=o(47)["__core-js_shared__"];R.exports=f},function(R,b){R.exports=function(o,f){return o==null?void 0:o[f]}},function(R,b,o){var f=o(325),c=o(97),M=o(144);R.exports=function(){this.size=0,this.__data__={hash:new f,map:new(M||c),string:new f}}},function(R,b,o){var f=o(326),c=o(327),M=o(328),_=o(329),x=o(330);function O(S){var g=-1,h=S==null?0:S.length;for(this.clear();++g0){if(++c>=800)return arguments[0]}else c=0;return f.apply(void 0,arguments)}}},function(R,b,o){var f=o(199),c=o(399),M=o(403),_=o(200),x=o(404),O=o(156);R.exports=function(S,g,h){var y=-1,E=c,m=S.length,p=!0,A=[],C=A;if(h)p=!1,E=M;else if(m>=200){var N=g?null:x(S);if(N)return O(N);p=!1,E=_,C=new f}else C=g?[]:A;e:for(;++y-1}},function(R,b,o){var f=o(214),c=o(401),M=o(402);R.exports=function(_,x,O){return x==x?M(_,x,O):f(_,c,O)}},function(R,b){R.exports=function(o){return o!=o}},function(R,b){R.exports=function(o,f,c){for(var M=c-1,_=o.length;++M<_;)if(o[M]===f)return M;return-1}},function(R,b){R.exports=function(o,f,c){for(var M=-1,_=o==null?0:o.length;++M<_;)if(c(f,o[M]))return!0;return!1}},function(R,b,o){var f=o(188),c=o(405),M=o(156),_=f&&1/M(new f([,-0]))[1]==1/0?function(x){return new f(x)}:c;R.exports=_},function(R,b){R.exports=function(){}},function(R,b,o){var f=o(110);R.exports=function(c,M){return f(M,function(_){return c[_]})}},function(R,b){R.exports="2.1.8"},function(R,b,o){var f=o(42),c=o(143);function M(x){return f.map(x.nodes(),function(O){var S=x.node(O),g=x.parent(O),h={v:O};return f.isUndefined(S)||(h.value=S),f.isUndefined(g)||(h.parent=g),h})}function _(x){return f.map(x.edges(),function(O){var S=x.edge(O),g={v:O.v,w:O.w};return f.isUndefined(O.name)||(g.name=O.name),f.isUndefined(S)||(g.value=S),g})}R.exports={write:function(x){var O={options:{directed:x.isDirected(),multigraph:x.isMultigraph(),compound:x.isCompound()},nodes:M(x),edges:_(x)};return f.isUndefined(x.graph())||(O.value=f.clone(x.graph())),O},read:function(x){var O=new c(x.options).setGraph(x.value);return f.each(x.nodes,function(S){O.setNode(S.v,S.value),S.parent&&O.setParent(S.v,S.parent)}),f.each(x.edges,function(S){O.setEdge({v:S.v,w:S.w,name:S.name},S.value)}),O}}},function(R,b,o){R.exports={components:o(410),dijkstra:o(217),dijkstraAll:o(411),findCycles:o(412),floydWarshall:o(413),isAcyclic:o(414),postorder:o(415),preorder:o(416),prim:o(417),tarjan:o(219),topsort:o(220)}},function(R,b,o){var f=o(42);R.exports=function(c){var M,_={},x=[];function O(S){f.has(_,S)||(_[S]=!0,M.push(S),f.each(c.successors(S),O),f.each(c.predecessors(S),O))}return f.each(c.nodes(),function(S){M=[],O(S),M.length&&x.push(M)}),x}},function(R,b,o){var f=o(217),c=o(42);R.exports=function(M,_,x){return c.transform(M.nodes(),function(O,S){O[S]=f(M,S,_,x)},{})}},function(R,b,o){var f=o(42),c=o(219);R.exports=function(M){return f.filter(c(M),function(_){return _.length>1||_.length===1&&M.hasEdge(_[0],_[0])})}},function(R,b,o){var f=o(42);R.exports=function(M,_,x){return function(O,S,g){var h={},y=O.nodes();return y.forEach(function(E){h[E]={},h[E][E]={distance:0},y.forEach(function(m){E!==m&&(h[E][m]={distance:Number.POSITIVE_INFINITY})}),g(E).forEach(function(m){var p=m.v===E?m.w:m.v,A=S(m);h[E][p]={distance:A,predecessor:E}})}),y.forEach(function(E){var m=h[E];y.forEach(function(p){var A=h[p];y.forEach(function(C){var N=A[E],P=m[C],L=A[C],z=N.distance+P.distance;z0;){if(O=h.removeMin(),f.has(g,O))S.setEdge(O,g[O]);else{if(E)throw new Error("Input graph is not connected: "+_);E=!0}_.nodeEdges(O).forEach(y)}return S}},function(R,b,o){"use strict";var f=o(28),c=o(458),M=o(461),_=o(462),x=o(36).normalizeRanks,O=o(464),S=o(36).removeEmptyRanks,g=o(465),h=o(466),y=o(467),E=o(468),m=o(477),p=o(36),A=o(46).Graph;R.exports=function(ye,W){var Ie=W&&W.debugTiming?p.time:p.notime;Ie("layout",function(){var ie=Ie(" buildLayoutGraph",function(){return function(ne){var Z=new A({multigraph:!0,compound:!0}),V=xe(ne.graph());return Z.setGraph(f.merge({},N,le(V,C),f.pick(V,P))),f.forEach(ne.nodes(),function(ae){var we=xe(ne.node(ae));Z.setNode(ae,f.defaults(le(we,L),z)),Z.setParent(ae,ne.parent(ae))}),f.forEach(ne.edges(),function(ae){var we=xe(ne.edge(ae));Z.setEdge(ae,f.merge({},te,le(we,X),f.pick(we,ue)))}),Z}(ye)});Ie(" runLayout",function(){(function(ne,Z){Z(" makeSpaceForEdgeLabels",function(){(function(V){var ae=V.graph();ae.ranksep/=2,f.forEach(V.edges(),function(we){var Ae=V.edge(we);Ae.minlen*=2,Ae.labelpos.toLowerCase()!=="c"&&(ae.rankdir==="TB"||ae.rankdir==="BT"?Ae.width+=Ae.labeloffset:Ae.height+=Ae.labeloffset)})})(ne)}),Z(" removeSelfEdges",function(){(function(V){f.forEach(V.edges(),function(ae){if(ae.v===ae.w){var we=V.node(ae.v);we.selfEdges||(we.selfEdges=[]),we.selfEdges.push({e:ae,label:V.edge(ae)}),V.removeEdge(ae)}})})(ne)}),Z(" acyclic",function(){c.run(ne)}),Z(" nestingGraph.run",function(){g.run(ne)}),Z(" rank",function(){_(p.asNonCompoundGraph(ne))}),Z(" injectEdgeLabelProxies",function(){(function(V){f.forEach(V.edges(),function(ae){var we=V.edge(ae);if(we.width&&we.height){var Ae=V.node(ae.v),se={rank:(V.node(ae.w).rank-Ae.rank)/2+Ae.rank,e:ae};p.addDummyNode(V,"edge-proxy",se,"_ep")}})})(ne)}),Z(" removeEmptyRanks",function(){S(ne)}),Z(" nestingGraph.cleanup",function(){g.cleanup(ne)}),Z(" normalizeRanks",function(){x(ne)}),Z(" assignRankMinMax",function(){(function(V){var ae=0;f.forEach(V.nodes(),function(we){var Ae=V.node(we);Ae.borderTop&&(Ae.minRank=V.node(Ae.borderTop).rank,Ae.maxRank=V.node(Ae.borderBottom).rank,ae=f.max(ae,Ae.maxRank))}),V.graph().maxRank=ae})(ne)}),Z(" removeEdgeLabelProxies",function(){(function(V){f.forEach(V.nodes(),function(ae){var we=V.node(ae);we.dummy==="edge-proxy"&&(V.edge(we.e).labelRank=we.rank,V.removeNode(ae))})})(ne)}),Z(" normalize.run",function(){M.run(ne)}),Z(" parentDummyChains",function(){O(ne)}),Z(" addBorderSegments",function(){h(ne)}),Z(" order",function(){E(ne)}),Z(" insertSelfEdges",function(){(function(V){var ae=p.buildLayerMatrix(V);f.forEach(ae,function(we){var Ae=0;f.forEach(we,function(se,ee){var J=V.node(se);J.order=ee+Ae,f.forEach(J.selfEdges,function(Y){p.addDummyNode(V,"selfedge",{width:Y.label.width,height:Y.label.height,rank:J.rank,order:ee+ ++Ae,e:Y.e,label:Y.label},"_se")}),delete J.selfEdges})})})(ne)}),Z(" adjustCoordinateSystem",function(){y.adjust(ne)}),Z(" position",function(){m(ne)}),Z(" positionSelfEdges",function(){(function(V){f.forEach(V.nodes(),function(ae){var we=V.node(ae);if(we.dummy==="selfedge"){var Ae=V.node(we.e.v),se=Ae.x+Ae.width/2,ee=Ae.y,J=we.x-se,Y=Ae.height/2;V.setEdge(we.e,we.label),V.removeNode(ae),we.label.points=[{x:se+2*J/3,y:ee-Y},{x:se+5*J/6,y:ee-Y},{x:se+J,y:ee},{x:se+5*J/6,y:ee+Y},{x:se+2*J/3,y:ee+Y}],we.label.x=we.x,we.label.y=we.y}})})(ne)}),Z(" removeBorderNodes",function(){(function(V){f.forEach(V.nodes(),function(ae){if(V.children(ae).length){var we=V.node(ae),Ae=V.node(we.borderTop),se=V.node(we.borderBottom),ee=V.node(f.last(we.borderLeft)),J=V.node(f.last(we.borderRight));we.width=Math.abs(J.x-ee.x),we.height=Math.abs(se.y-Ae.y),we.x=ee.x+we.width/2,we.y=Ae.y+we.height/2}}),f.forEach(V.nodes(),function(ae){V.node(ae).dummy==="border"&&V.removeNode(ae)})})(ne)}),Z(" normalize.undo",function(){M.undo(ne)}),Z(" fixupEdgeLabelCoords",function(){(function(V){f.forEach(V.edges(),function(ae){var we=V.edge(ae);if(f.has(we,"x"))switch(we.labelpos!=="l"&&we.labelpos!=="r"||(we.width-=we.labeloffset),we.labelpos){case"l":we.x-=we.width/2+we.labeloffset;break;case"r":we.x+=we.width/2+we.labeloffset}})})(ne)}),Z(" undoCoordinateSystem",function(){y.undo(ne)}),Z(" translateGraph",function(){(function(V){var ae=Number.POSITIVE_INFINITY,we=0,Ae=Number.POSITIVE_INFINITY,se=0,ee=V.graph(),J=ee.marginx||0,Y=ee.marginy||0;function q(G){var re=G.x,fe=G.y,ce=G.width,$=G.height;ae=Math.min(ae,re-ce/2),we=Math.max(we,re+ce/2),Ae=Math.min(Ae,fe-$/2),se=Math.max(se,fe+$/2)}f.forEach(V.nodes(),function(G){q(V.node(G))}),f.forEach(V.edges(),function(G){var re=V.edge(G);f.has(re,"x")&&q(re)}),ae-=J,Ae-=Y,f.forEach(V.nodes(),function(G){var re=V.node(G);re.x-=ae,re.y-=Ae}),f.forEach(V.edges(),function(G){var re=V.edge(G);f.forEach(re.points,function(fe){fe.x-=ae,fe.y-=Ae}),f.has(re,"x")&&(re.x-=ae),f.has(re,"y")&&(re.y-=Ae)}),ee.width=we-ae+J,ee.height=se-Ae+Y})(ne)}),Z(" assignNodeIntersects",function(){(function(V){f.forEach(V.edges(),function(ae){var we,Ae,se=V.edge(ae),ee=V.node(ae.v),J=V.node(ae.w);se.points?(we=se.points[0],Ae=se.points[se.points.length-1]):(se.points=[],we=J,Ae=ee),se.points.unshift(p.intersectRect(ee,we)),se.points.push(p.intersectRect(J,Ae))})})(ne)}),Z(" reversePoints",function(){(function(V){f.forEach(V.edges(),function(ae){var we=V.edge(ae);we.reversed&&we.points.reverse()})})(ne)}),Z(" acyclic.undo",function(){c.undo(ne)})})(ie,Ie)}),Ie(" updateInputGraph",function(){(function(ne,Z){f.forEach(ne.nodes(),function(V){var ae=ne.node(V),we=Z.node(V);ae&&(ae.x=we.x,ae.y=we.y,Z.children(V).length&&(ae.width=we.width,ae.height=we.height))}),f.forEach(ne.edges(),function(V){var ae=ne.edge(V),we=Z.edge(V);ae.points=we.points,f.has(we,"x")&&(ae.x=we.x,ae.y=we.y)}),ne.graph().width=Z.graph().width,ne.graph().height=Z.graph().height})(ye,ie)})})};var C=["nodesep","edgesep","ranksep","marginx","marginy"],N={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},P=["acyclicer","ranker","rankdir","align"],L=["width","height"],z={width:0,height:0},X=["minlen","weight","width","height","labeloffset"],te={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},ue=["labelpos"];function le(ye,W){return f.mapValues(f.pick(ye,W),Number)}function xe(ye){var W={};return f.forEach(ye,function(Ie,ie){W[ie.toLowerCase()]=Ie}),W}},function(R,b,o){var f=o(174);R.exports=function(c){return f(c,5)}},function(R,b,o){var f=o(111),c=o(70),M=o(112),_=o(64),x=Object.prototype,O=x.hasOwnProperty,S=f(function(g,h){g=Object(g);var y=-1,E=h.length,m=E>2?h[2]:void 0;for(m&&M(h[0],h[1],m)&&(E=1);++y-1?g[h?x[y]:y]:void 0}}},function(R,b,o){var f=o(214),c=o(53),M=o(424),_=Math.max;R.exports=function(x,O,S){var g=x==null?0:x.length;if(!g)return-1;var h=S==null?0:M(S);return h<0&&(h=_(g+h,0)),f(x,c(O,3),h)}},function(R,b,o){var f=o(222);R.exports=function(c){var M=f(c),_=M%1;return M==M?_?M-_:M:0}},function(R,b,o){var f=o(426),c=o(43),M=o(74),_=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,O=/^0o[0-7]+$/i,S=parseInt;R.exports=function(g){if(typeof g=="number")return g;if(M(g))return NaN;if(c(g)){var h=typeof g.valueOf=="function"?g.valueOf():g;g=c(h)?h+"":h}if(typeof g!="string")return g===0?g:+g;g=f(g);var y=x.test(g);return y||O.test(g)?S(g.slice(2),y?2:8):_.test(g)?NaN:+g}},function(R,b,o){var f=o(427),c=/^\s+/;R.exports=function(M){return M&&M.slice(0,f(M)+1).replace(c,"")}},function(R,b){var o=/\s/;R.exports=function(f){for(var c=f.length;c--&&o.test(f.charAt(c)););return c}},function(R,b,o){var f=o(155),c=o(195),M=o(64);R.exports=function(_,x){return _==null?_:f(_,c(x),M)}},function(R,b){R.exports=function(o){var f=o==null?0:o.length;return f?o[f-1]:void 0}},function(R,b,o){var f=o(102),c=o(154),M=o(53);R.exports=function(_,x){var O={};return x=M(x,3),c(_,function(S,g,h){f(O,g,x(S,g,h))}),O}},function(R,b,o){var f=o(159),c=o(432),M=o(65);R.exports=function(_){return _&&_.length?f(_,M,c):void 0}},function(R,b){R.exports=function(o,f){return o>f}},function(R,b,o){var f=o(434),c=o(438)(function(M,_,x){f(M,_,x)});R.exports=c},function(R,b,o){var f=o(96),c=o(224),M=o(155),_=o(435),x=o(43),O=o(64),S=o(225);R.exports=function g(h,y,E,m,p){h!==y&&M(y,function(A,C){if(p||(p=new f),x(A))_(h,y,C,E,g,m,p);else{var N=m?m(S(h,C),A,C+"",h,y,p):void 0;N===void 0&&(N=A),c(h,C,N)}},O)}},function(R,b,o){var f=o(224),c=o(181),M=o(190),_=o(182),x=o(191),O=o(86),S=o(31),g=o(215),h=o(72),y=o(84),E=o(43),m=o(436),p=o(88),A=o(225),C=o(437);R.exports=function(N,P,L,z,X,te,ue){var le=A(N,L),xe=A(P,L),ye=ue.get(xe);if(ye)f(N,L,ye);else{var W=te?te(le,xe,L+"",N,P,ue):void 0,Ie=W===void 0;if(Ie){var ie=S(xe),ne=!ie&&h(xe),Z=!ie&&!ne&&p(xe);W=xe,ie||ne||Z?S(le)?W=le:g(le)?W=_(le):ne?(Ie=!1,W=c(xe,!0)):Z?(Ie=!1,W=M(xe,!0)):W=[]:m(xe)||O(xe)?(W=le,O(le)?W=C(le):E(le)&&!y(le)||(W=x(xe))):Ie=!1}Ie&&(ue.set(xe,W),X(W,xe,z,te,ue),ue.delete(xe)),f(N,L,W)}}},function(R,b,o){var f=o(63),c=o(106),M=o(49),_=Function.prototype,x=Object.prototype,O=_.toString,S=x.hasOwnProperty,g=O.call(Object);R.exports=function(h){if(!M(h)||f(h)!="[object Object]")return!1;var y=c(h);if(y===null)return!0;var E=S.call(y,"constructor")&&y.constructor;return typeof E=="function"&&E instanceof E&&O.call(E)==g}},function(R,b,o){var f=o(85),c=o(64);R.exports=function(M){return f(M,c(M))}},function(R,b,o){var f=o(111),c=o(112);R.exports=function(M){return f(function(_,x){var O=-1,S=x.length,g=S>1?x[S-1]:void 0,h=S>2?x[2]:void 0;for(g=M.length>3&&typeof g=="function"?(S--,g):void 0,h&&c(x[0],x[1],h)&&(g=S<3?void 0:g,S=1),_=Object(_);++O1&&_(O,S[0],S[1])?S=[]:g>2&&_(S[0],S[1],S[2])&&(S=[S[0]]),c(O,f(S,1),[])});R.exports=x},function(R,b,o){var f=o(110),c=o(108),M=o(53),_=o(210),x=o(452),O=o(104),S=o(453),g=o(65),h=o(31);R.exports=function(y,E,m){E=E.length?f(E,function(C){return h(C)?function(N){return c(N,C.length===1?C[0]:C)}:C}):[g];var p=-1;E=f(E,O(M));var A=_(y,function(C,N,P){return{criteria:f(E,function(L){return L(C)}),index:++p,value:C}});return x(A,function(C,N){return S(C,N,m)})}},function(R,b){R.exports=function(o,f){var c=o.length;for(o.sort(f);c--;)o[c]=o[c].value;return o}},function(R,b,o){var f=o(454);R.exports=function(c,M,_){for(var x=-1,O=c.criteria,S=M.criteria,g=O.length,h=_.length;++x=h?y:y*(_[x]=="desc"?-1:1)}return c.index-M.index}},function(R,b,o){var f=o(74);R.exports=function(c,M){if(c!==M){var _=c!==void 0,x=c===null,O=c==c,S=f(c),g=M!==void 0,h=M===null,y=M==M,E=f(M);if(!h&&!E&&!S&&c>M||S&&g&&y&&!h&&!E||x&&g&&y||!_&&y||!O)return 1;if(!x&&!S&&!E&&c0;--L)if(A=m[L].dequeue()){C=C.concat(x(E,m,p,A,!0));break}}}return C}(h.graph,h.buckets,h.zeroIdx);return f.flatten(f.map(y,function(E){return S.outEdges(E.v,E.w)}),!0)};var _=f.constant(1);function x(S,g,h,y,E){var m=E?[]:void 0;return f.forEach(S.inEdges(y.v),function(p){var A=S.edge(p),C=S.node(p.v);E&&m.push({v:p.v,w:p.w}),C.out-=A,O(g,h,C)}),f.forEach(S.outEdges(y.v),function(p){var A=S.edge(p),C=p.w,N=S.node(C);N.in-=A,O(g,h,N)}),S.removeNode(y.v),m}function O(S,g,h){h.out?h.in?S[h.out-h.in+g].enqueue(h):S[S.length-1].enqueue(h):S[0].enqueue(h)}},function(R,b){function o(){var M={};M._next=M._prev=M,this._sentinel=M}function f(M){M._prev._next=M._next,M._next._prev=M._prev,delete M._next,delete M._prev}function c(M,_){if(M!=="_next"&&M!=="_prev")return _}R.exports=o,o.prototype.dequeue=function(){var M=this._sentinel,_=M._prev;if(_!==M)return f(_),_},o.prototype.enqueue=function(M){var _=this._sentinel;M._prev&&M._next&&f(M),M._next=_._next,_._next._prev=M,_._next=M,M._prev=_},o.prototype.toString=function(){for(var M=[],_=this._sentinel,x=_._prev;x!==_;)M.push(JSON.stringify(x,c)),x=x._prev;return"["+M.join(", ")+"]"}},function(R,b,o){"use strict";var f=o(28),c=o(36);R.exports={run:function(M){M.graph().dummyChains=[],f.forEach(M.edges(),function(_){(function(x,O){var S,g,h,y=O.v,E=x.node(y).rank,m=O.w,p=x.node(m).rank,A=O.name,C=x.edge(O),N=C.labelRank;if(p!==E+1){for(x.removeEdge(O),h=0,++E;Ele.lim&&(xe=le,ye=!0);var W=f.filter(L.edges(),function(Ie){return ye===N(P,P.node(Ie.v),xe)&&ye!==N(P,P.node(Ie.w),xe)});return f.minBy(W,function(Ie){return M(L,Ie)})}function C(P,L,z,X){var te=z.v,ue=z.w;P.removeEdge(te,ue),P.setEdge(X.v,X.w,{}),E(P),h(P,L),function(le,xe){var ye=f.find(le.nodes(),function(Ie){return!xe.node(Ie).parent}),W=x(le,ye);W=W.slice(1),f.forEach(W,function(Ie){var ie=le.node(Ie).parent,ne=xe.edge(Ie,ie),Z=!1;ne||(ne=xe.edge(ie,Ie),Z=!0),xe.node(Ie).rank=xe.node(ie).rank+(Z?ne.minlen:-ne.minlen)})}(P,L)}function N(P,L,z){return z.low<=L.lim&&L.lim<=z.lim}R.exports=g,g.initLowLimValues=E,g.initCutValues=h,g.calcCutValue=y,g.leaveEdge=p,g.enterEdge=A,g.exchangeEdges=C},function(R,b,o){var f=o(28);R.exports=function(c){var M=function(_){var x={},O=0;function S(g){var h=O;f.forEach(_.children(g),S),x[g]={low:h,lim:O++}}return f.forEach(_.children(),S),x}(c);f.forEach(c.graph().dummyChains,function(_){for(var x=c.node(_),O=x.edgeObj,S=function(p,A,C,N){var P,L,z=[],X=[],te=Math.min(A[C].low,A[N].low),ue=Math.max(A[C].lim,A[N].lim);P=C;do P=p.parent(P),z.push(P);while(P&&(A[P].low>te||ue>A[P].lim));for(L=P,P=N;(P=p.parent(P))!==L;)X.push(P);return{path:z.concat(X.reverse()),lca:L}}(c,M,O.v,O.w),g=S.path,h=S.lca,y=0,E=g[y],m=!0;_!==O.w;){if(x=c.node(_),m){for(;(E=g[y])!==h&&c.node(E).maxRank=2),N=g.buildLayerMatrix(m);var te=M(m,N);te0;)p%2&&(A+=y[p+1]),y[p=p-1>>1]+=m.weight;E+=m.weight*A})),E}R.exports=function(M,_){for(var x=0,O=1;O<_.length;++O)x+=c(M,_[O-1],_[O]);return x}},function(R,b,o){var f=o(28),c=o(472),M=o(473),_=o(474);R.exports=function x(O,S,g,h){var y=O.children(S),E=O.node(S),m=E?E.borderLeft:void 0,p=E?E.borderRight:void 0,A={};m&&(y=f.filter(y,function(X){return X!==m&&X!==p}));var C=c(O,y);f.forEach(C,function(X){if(O.children(X.v).length){var te=x(O,X.v,g,h);A[X.v]=te,f.has(te,"barycenter")&&(ue=X,le=te,f.isUndefined(ue.barycenter)?(ue.barycenter=le.barycenter,ue.weight=le.weight):(ue.barycenter=(ue.barycenter*ue.weight+le.barycenter*le.weight)/(ue.weight+le.weight),ue.weight+=le.weight))}var ue,le});var N=M(C,g);(function(X,te){f.forEach(X,function(ue){ue.vs=f.flatten(ue.vs.map(function(le){return te[le]?te[le].vs:le}),!0)})})(N,A);var P=_(N,h);if(m&&(P.vs=f.flatten([m,P.vs,p],!0),O.predecessors(m).length)){var L=O.node(O.predecessors(m)[0]),z=O.node(O.predecessors(p)[0]);f.has(P,"barycenter")||(P.barycenter=0,P.weight=0),P.barycenter=(P.barycenter*P.weight+L.order+z.order)/(P.weight+2),P.weight+=2}return P}},function(R,b,o){var f=o(28);R.exports=function(c,M){return f.map(M,function(_){var x=c.inEdges(_);if(x.length){var O=f.reduce(x,function(S,g){var h=c.edge(g),y=c.node(g.v);return{sum:S.sum+h.weight*y.order,weight:S.weight+h.weight}},{sum:0,weight:0});return{v:_,barycenter:O.sum/O.weight,weight:O.weight}}return{v:_}})}},function(R,b,o){"use strict";var f=o(28);R.exports=function(c,M){var _={};return f.forEach(c,function(x,O){var S=_[x.v]={indegree:0,in:[],out:[],vs:[x.v],i:O};f.isUndefined(x.barycenter)||(S.barycenter=x.barycenter,S.weight=x.weight)}),f.forEach(M.edges(),function(x){var O=_[x.v],S=_[x.w];f.isUndefined(O)||f.isUndefined(S)||(S.indegree++,O.out.push(_[x.w]))}),function(x){var O=[];function S(y){return function(E){E.merged||(f.isUndefined(E.barycenter)||f.isUndefined(y.barycenter)||E.barycenter>=y.barycenter)&&function(m,p){var A=0,C=0;m.weight&&(A+=m.barycenter*m.weight,C+=m.weight),p.weight&&(A+=p.barycenter*p.weight,C+=p.weight),m.vs=p.vs.concat(m.vs),m.barycenter=A/C,m.weight=C,m.i=Math.min(p.i,m.i),p.merged=!0}(y,E)}}function g(y){return function(E){E.in.push(y),--E.indegree==0&&x.push(E)}}for(;x.length;){var h=x.pop();O.push(h),f.forEach(h.in.reverse(),S(h)),f.forEach(h.out,g(h))}return f.map(f.filter(O,function(y){return!y.merged}),function(y){return f.pick(y,["vs","i","barycenter","weight"])})}(f.filter(_,function(x){return!x.indegree}))}},function(R,b,o){var f=o(28),c=o(36);function M(_,x,O){for(var S;x.length&&(S=f.last(x)).i<=O;)x.pop(),_.push(S.vs),O++;return O}R.exports=function(_,x){var O=c.partition(_,function(C){return f.has(C,"barycenter")}),S=O.lhs,g=f.sortBy(O.rhs,function(C){return-C.i}),h=[],y=0,E=0,m=0;S.sort((p=!!x,function(C,N){return C.barycenterN.barycenter?1:p?N.i-C.i:C.i-N.i})),m=M(h,g,m),f.forEach(S,function(C){m+=C.vs.length,h.push(C.vs),y+=C.barycenter*C.weight,E+=C.weight,m=M(h,g,m)});var p,A={vs:f.flatten(h,!0)};return E&&(A.barycenter=y/E,A.weight=E),A}},function(R,b,o){var f=o(28),c=o(46).Graph;R.exports=function(M,_,x){var O=function(g){for(var h;g.hasNode(h=f.uniqueId("_root")););return h}(M),S=new c({compound:!0}).setGraph({root:O}).setDefaultNodeLabel(function(g){return M.node(g)});return f.forEach(M.nodes(),function(g){var h=M.node(g),y=M.parent(g);(h.rank===_||h.minRank<=_&&_<=h.maxRank)&&(S.setNode(g),S.setParent(g,y||O),f.forEach(M[x](g),function(E){var m=E.v===g?E.w:E.v,p=S.edge(m,g),A=f.isUndefined(p)?0:p.weight;S.setEdge(m,g,{weight:M.edge(E).weight+A})}),f.has(h,"minRank")&&S.setNode(g,{borderLeft:h.borderLeft[_],borderRight:h.borderRight[_]}))}),S}},function(R,b,o){var f=o(28);R.exports=function(c,M,_){var x,O={};f.forEach(_,function(S){for(var g,h,y=c.parent(S);y;){if((g=c.parent(y))?(h=O[g],O[g]=y):(h=x,x=y),h&&h!==y)return void M.setEdge(h,y);y=g}})}},function(R,b,o){"use strict";var f=o(28),c=o(36),M=o(478).positionX;R.exports=function(_){(function(x){var O=c.buildLayerMatrix(x),S=x.graph().ranksep,g=0;f.forEach(O,function(h){var y=f.max(f.map(h,function(E){return x.node(E).height}));f.forEach(h,function(E){x.node(E).y=g+y/2}),g+=y+S})})(_=c.asNonCompoundGraph(_)),f.forEach(M(_),function(x,O){_.node(O).x=x})}},function(R,b,o){"use strict";var f=o(28),c=o(46).Graph,M=o(36);function _(p,A){var C={};return f.reduce(A,function(N,P){var L=0,z=0,X=N.length,te=f.last(P);return f.forEach(P,function(ue,le){var xe=function(W,Ie){if(W.node(Ie).dummy)return f.find(W.predecessors(Ie),function(ie){return W.node(ie).dummy})}(p,ue),ye=xe?p.node(xe).order:X;(xe||ue===te)&&(f.forEach(P.slice(z,le+1),function(W){f.forEach(p.predecessors(W),function(Ie){var ie=p.node(Ie),ne=ie.order;!(nete)&&O(C,xe,ue)})})}return f.reduce(A,function(P,L){var z,X=-1,te=0;return f.forEach(L,function(ue,le){if(p.node(ue).dummy==="border"){var xe=p.predecessors(ue);xe.length&&(z=p.node(xe[0]).order,N(L,te,le,X,z),te=le,X=z)}N(L,te,L.length,z,P.length)}),L}),C}function O(p,A,C){if(A>C){var N=A;A=C,C=N}var P=p[A];P||(p[A]=P={}),P[C]=!0}function S(p,A,C){if(A>C){var N=A;A=C,C=N}return f.has(p[A],C)}function g(p,A,C,N){var P={},L={},z={};return f.forEach(A,function(X){f.forEach(X,function(te,ue){P[te]=te,L[te]=te,z[te]=ue})}),f.forEach(A,function(X){var te=-1;f.forEach(X,function(ue){var le=N(ue);if(le.length)for(var xe=((le=f.sortBy(le,function(ie){return z[ie]})).length-1)/2,ye=Math.floor(xe),W=Math.ceil(xe);ye<=W;++ye){var Ie=le[ye];L[ue]===ue&&te=0;--we){var Ae=this.tryEntries[we],se=Ae.completion;if(Ae.tryLoc==="root")return ae("end");if(Ae.tryLoc<=this.prev){var ee=O.call(Ae,"catchLoc"),J=O.call(Ae,"finallyLoc");if(ee&&J){if(this.prev=0;--ae){var we=this.tryEntries[ae];if(we.tryLoc<=this.prev&&O.call(we,"finallyLoc")&&this.prev=0;--V){var ae=this.tryEntries[V];if(ae.finallyLoc===Z)return this.complete(ae.completion,ae.afterLoc),W(ae),A}},catch:function(Z){for(var V=this.tryEntries.length-1;V>=0;--V){var ae=this.tryEntries[V];if(ae.tryLoc===Z){var we=ae.completion;if(we.type==="throw"){var Ae=we.arg;W(ae)}return Ae}}throw new Error("illegal catch attempt")},delegateYield:function(Z,V,ae){return this.delegate={iterator:ie(Z),resultName:V,nextLoc:ae},this.method==="next"&&(this.arg=void 0),A}},_}(c(f)==="object"?f.exports:{});try{regeneratorRuntime=M}catch(_){(typeof globalThis=="undefined"?"undefined":c(globalThis))==="object"?globalThis.regeneratorRuntime=M:Function("r","regeneratorRuntime = r")(M)}}).call(this,o(87)(R))},function(R,b){R.exports=function(o){if(Array.isArray(o))return o},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){R.exports=function(o,f){var c=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(c!=null){var M,_,x=[],O=!0,S=!1;try{for(c=c.call(o);!(O=(M=c.next()).done)&&(x.push(M.value),!f||x.length!==f);O=!0);}catch(g){S=!0,_=g}finally{try{O||c.return==null||c.return()}finally{if(S)throw _}}return x}},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){R.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";function f(L){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z})(L)}var c=this&&this.__awaiter||function(L,z,X,te){return new(X||(X=Promise))(function(ue,le){function xe(Ie){try{W(te.next(Ie))}catch(ie){le(ie)}}function ye(Ie){try{W(te.throw(Ie))}catch(ie){le(ie)}}function W(Ie){var ie;Ie.done?ue(Ie.value):(ie=Ie.value,ie instanceof X?ie:new X(function(ne){ne(ie)})).then(xe,ye)}W((te=te.apply(L,z||[])).next())})},M=this&&this.__generator||function(L,z){var X,te,ue,le,xe={label:0,sent:function(){if(1&ue[0])throw ue[1];return ue[1]},trys:[],ops:[]};return le={next:ye(0),throw:ye(1),return:ye(2)},typeof Symbol=="function"&&(le[Symbol.iterator]=function(){return this}),le;function ye(W){return function(Ie){return function(ie){if(X)throw new TypeError("Generator is already executing.");for(;xe;)try{if(X=1,te&&(ue=2&ie[0]?te.return:ie[0]?te.throw||((ue=te.return)&&ue.call(te),0):te.next)&&!(ue=ue.call(te,ie[1])).done)return ue;switch(te=0,ue&&(ie=[2&ie[0],ue.value]),ie[0]){case 0:case 1:ue=ie;break;case 4:return xe.label++,{value:ie[1],done:!1};case 5:xe.label++,te=ie[1],ie=[0];continue;case 7:ie=xe.ops.pop(),xe.trys.pop();continue;default:if(ue=xe.trys,!((ue=ue.length>0&&ue[ue.length-1])||ie[0]!==6&&ie[0]!==2)){xe=0;continue}if(ie[0]===3&&(!ue||ie[1]>ue[0]&&ie[1]0,te=z.length>p.length,ue=function(xe,ye,W,Ie,ie){for(var ne=[],Z=0;Z0?L:E(m,A)}return 0}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.QueryableString=void 0;var f=function(){function c(M){this.str=M}return c.prototype.startsWith=function(M){return this.str.indexOf(M)===0},c.prototype.endsWith=function(M){var _,x=M.split("").reverse().join("");return _=this.str.split("").reverse().join(""),this.startsWith.call({str:_},x)},c.prototype.contains=function(M){return this.str.indexOf(M)!==-1},c.prototype.equals=function(M){return this.str===M},c.prototype.value=function(){return this.str},c}();b.QueryableString=f},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Request=void 0;var f=o(66),c=function(){function M(_,x,O,S,g){this.id=f.id(),this.serviceIdentifier=_,this.parentContext=x,this.parentRequest=O,this.target=g,this.childRequests=[],this.bindings=Array.isArray(S)?S:[S],this.requestScope=O===null?new Map:null}return M.prototype.addChildRequest=function(_,x,O){var S=new M(_,this.parentContext,this,x,O);return this.childRequests.push(S),S},M}();b.Request=c},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.resolve=void 0;var f=o(40),c=o(54),M=o(232),_=o(90),x=o(495),O=function(S,g,h){try{return h()}catch(y){throw M.isStackOverflowExeption(y)?new Error(f.CIRCULAR_DEPENDENCY_IN_FACTORY(S,g.toString())):y}};b.resolve=function(S){return function g(h){return function(y){y.parentContext.setCurrentRequest(y);var E=y.bindings,m=y.childRequests,p=y.target&&y.target.isArray(),A=!(y.parentRequest&&y.parentRequest.target&&y.target&&y.parentRequest.target.matchesArray(y.target.serviceIdentifier));if(p&&A)return m.map(function(X){return g(h)(X)});var C=null;if(!y.target.isOptional()||E.length!==0){var N=E[0],P=N.scope===c.BindingScopeEnum.Singleton,L=N.scope===c.BindingScopeEnum.Request;if(P&&N.activated)return N.cache;if(L&&h!==null&&h.has(N.id))return h.get(N.id);if(N.type===c.BindingTypeEnum.ConstantValue)C=N.cache,N.activated=!0;else if(N.type===c.BindingTypeEnum.Function)C=N.cache,N.activated=!0;else if(N.type===c.BindingTypeEnum.Constructor)C=N.implementationType;else if(N.type===c.BindingTypeEnum.DynamicValue&&N.dynamicValue!==null)C=O("toDynamicValue",N.serviceIdentifier,function(){return N.dynamicValue(y.parentContext)});else if(N.type===c.BindingTypeEnum.Factory&&N.factory!==null)C=O("toFactory",N.serviceIdentifier,function(){return N.factory(y.parentContext)});else if(N.type===c.BindingTypeEnum.Provider&&N.provider!==null)C=O("toProvider",N.serviceIdentifier,function(){return N.provider(y.parentContext)});else{if(N.type!==c.BindingTypeEnum.Instance||N.implementationType===null){var z=_.getServiceIdentifierAsString(y.serviceIdentifier);throw new Error(f.INVALID_BINDING_TYPE+" "+z)}C=x.resolveInstance(N.implementationType,m,g(h))}return typeof N.onActivation=="function"&&(C=N.onActivation(y.parentContext,C)),P&&(N.cache=C,N.activated=!0),L&&h!==null&&!h.has(N.id)&&h.set(N.id,C),C}}}(S.plan.rootRequest.requestScope)(S.plan.rootRequest)}},function(R,b,o){"use strict";var f=this&&this.__spreadArray||function(x,O){for(var S=0,g=O.length,h=x.length;S0){var E=O.filter(function(m){return m.target!==null&&m.target.type===M.TargetTypeEnum.ConstructorArgument}).map(S);h=E,y=function(m,p,A){var C=p.filter(function(P){return P.target!==null&&P.target.type===M.TargetTypeEnum.ClassProperty}),N=C.map(A);return C.forEach(function(P,L){var z;z=P.target.name.value();var X=N[L];m[z]=X}),m}(y=new((g=x).bind.apply(g,f([void 0],h))),O,S)}else y=new x;return function(m,p){if(Reflect.hasMetadata(_.POST_CONSTRUCT,m)){var A=Reflect.getMetadata(_.POST_CONSTRUCT,m);try{p[A.value]()}catch(C){throw new Error(c.POST_CONSTRUCT_ERROR(m.name,C.message))}}}(x,y),y}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BindingToSyntax=void 0;var f=o(40),c=o(54),M=o(497),_=o(235),x=function(){function O(S){this._binding=S}return O.prototype.to=function(S){return this._binding.type=c.BindingTypeEnum.Instance,this._binding.implementationType=S,new M.BindingInWhenOnSyntax(this._binding)},O.prototype.toSelf=function(){if(typeof this._binding.serviceIdentifier!="function")throw new Error(""+f.INVALID_TO_SELF_VALUE);var S=this._binding.serviceIdentifier;return this.to(S)},O.prototype.toConstantValue=function(S){return this._binding.type=c.BindingTypeEnum.ConstantValue,this._binding.cache=S,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toDynamicValue=function(S){return this._binding.type=c.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=S,this._binding.implementationType=null,new M.BindingInWhenOnSyntax(this._binding)},O.prototype.toConstructor=function(S){return this._binding.type=c.BindingTypeEnum.Constructor,this._binding.implementationType=S,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toFactory=function(S){return this._binding.type=c.BindingTypeEnum.Factory,this._binding.factory=S,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toFunction=function(S){if(typeof S!="function")throw new Error(f.INVALID_FUNCTION_BINDING);var g=this.toConstantValue(S);return this._binding.type=c.BindingTypeEnum.Function,this._binding.scope=c.BindingScopeEnum.Singleton,g},O.prototype.toAutoFactory=function(S){return this._binding.type=c.BindingTypeEnum.Factory,this._binding.factory=function(g){return function(){return g.container.get(S)}},this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toProvider=function(S){return this._binding.type=c.BindingTypeEnum.Provider,this._binding.provider=S,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toService=function(S){this.toDynamicValue(function(g){return g.container.get(S)})},O}();b.BindingToSyntax=x},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BindingInWhenOnSyntax=void 0;var f=o(498),c=o(160),M=o(161),_=function(){function x(O){this._binding=O,this._bindingWhenSyntax=new M.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new c.BindingOnSyntax(this._binding),this._bindingInSyntax=new f.BindingInSyntax(O)}return x.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},x.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},x.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},x.prototype.when=function(O){return this._bindingWhenSyntax.when(O)},x.prototype.whenTargetNamed=function(O){return this._bindingWhenSyntax.whenTargetNamed(O)},x.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},x.prototype.whenTargetTagged=function(O,S){return this._bindingWhenSyntax.whenTargetTagged(O,S)},x.prototype.whenInjectedInto=function(O){return this._bindingWhenSyntax.whenInjectedInto(O)},x.prototype.whenParentNamed=function(O){return this._bindingWhenSyntax.whenParentNamed(O)},x.prototype.whenParentTagged=function(O,S){return this._bindingWhenSyntax.whenParentTagged(O,S)},x.prototype.whenAnyAncestorIs=function(O){return this._bindingWhenSyntax.whenAnyAncestorIs(O)},x.prototype.whenNoAncestorIs=function(O){return this._bindingWhenSyntax.whenNoAncestorIs(O)},x.prototype.whenAnyAncestorNamed=function(O){return this._bindingWhenSyntax.whenAnyAncestorNamed(O)},x.prototype.whenAnyAncestorTagged=function(O,S){return this._bindingWhenSyntax.whenAnyAncestorTagged(O,S)},x.prototype.whenNoAncestorNamed=function(O){return this._bindingWhenSyntax.whenNoAncestorNamed(O)},x.prototype.whenNoAncestorTagged=function(O,S){return this._bindingWhenSyntax.whenNoAncestorTagged(O,S)},x.prototype.whenAnyAncestorMatches=function(O){return this._bindingWhenSyntax.whenAnyAncestorMatches(O)},x.prototype.whenNoAncestorMatches=function(O){return this._bindingWhenSyntax.whenNoAncestorMatches(O)},x.prototype.onActivation=function(O){return this._bindingOnSyntax.onActivation(O)},x}();b.BindingInWhenOnSyntax=_},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BindingInSyntax=void 0;var f=o(54),c=o(235),M=function(){function _(x){this._binding=x}return _.prototype.inRequestScope=function(){return this._binding.scope=f.BindingScopeEnum.Request,new c.BindingWhenOnSyntax(this._binding)},_.prototype.inSingletonScope=function(){return this._binding.scope=f.BindingScopeEnum.Singleton,new c.BindingWhenOnSyntax(this._binding)},_.prototype.inTransientScope=function(){return this._binding.scope=f.BindingScopeEnum.Transient,new c.BindingWhenOnSyntax(this._binding)},_}();b.BindingInSyntax=M},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ContainerSnapshot=void 0;var f=function(){function c(){}return c.of=function(M,_){var x=new c;return x.bindings=M,x.middleware=_,x},c}();b.ContainerSnapshot=f},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Lookup=void 0;var f=o(40),c=function(){function M(){this._map=new Map}return M.prototype.getMap=function(){return this._map},M.prototype.add=function(_,x){if(_==null)throw new Error(f.NULL_ARGUMENT);if(x==null)throw new Error(f.NULL_ARGUMENT);var O=this._map.get(_);O!==void 0?(O.push(x),this._map.set(_,O)):this._map.set(_,[x])},M.prototype.get=function(_){if(_==null)throw new Error(f.NULL_ARGUMENT);var x=this._map.get(_);if(x!==void 0)return x;throw new Error(f.KEY_NOT_FOUND)},M.prototype.remove=function(_){if(_==null)throw new Error(f.NULL_ARGUMENT);if(!this._map.delete(_))throw new Error(f.KEY_NOT_FOUND)},M.prototype.removeByCondition=function(_){var x=this;this._map.forEach(function(O,S){var g=O.filter(function(h){return!_(h)});g.length>0?x._map.set(S,g):x._map.delete(S)})},M.prototype.hasKey=function(_){if(_==null)throw new Error(f.NULL_ARGUMENT);return this._map.has(_)},M.prototype.clone=function(){var _=new M;return this._map.forEach(function(x,O){x.forEach(function(S){return _.add(O,S.clone())})}),_},M.prototype.traverse=function(_){this._map.forEach(function(x,O){_(O,x)})},M}();b.Lookup=c},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AsyncContainerModule=b.ContainerModule=void 0;var f=o(66),c=function(_){this.id=f.id(),this.registry=_};b.ContainerModule=c;var M=function(_){this.id=f.id(),this.registry=_};b.AsyncContainerModule=M},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.injectable=void 0;var f=o(40),c=o(32);b.injectable=function(){return function(M){if(Reflect.hasOwnMetadata(c.PARAM_TYPES,M))throw new Error(f.DUPLICATED_INJECTABLE_DECORATOR);var _=Reflect.getMetadata(c.DESIGN_PARAM_TYPES,M)||[];return Reflect.defineMetadata(c.PARAM_TYPES,_,M),M}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.tagged=void 0;var f=o(48),c=o(58);b.tagged=function(M,_){return function(x,O,S){var g=new f.Metadata(M,_);typeof S=="number"?c.tagParameter(x,O,S,g):c.tagProperty(x,O,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.named=void 0;var f=o(32),c=o(48),M=o(58);b.named=function(_){return function(x,O,S){var g=new c.Metadata(f.NAMED_TAG,_);typeof S=="number"?M.tagParameter(x,O,S,g):M.tagProperty(x,O,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.optional=void 0;var f=o(32),c=o(48),M=o(58);b.optional=function(){return function(_,x,O){var S=new c.Metadata(f.OPTIONAL_TAG,!0);typeof O=="number"?M.tagParameter(_,x,O,S):M.tagProperty(_,x,S)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.unmanaged=void 0;var f=o(32),c=o(48),M=o(58);b.unmanaged=function(){return function(_,x,O){var S=new c.Metadata(f.UNMANAGED_TAG,!0);M.tagParameter(_,x,O,S)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.multiInject=void 0;var f=o(32),c=o(48),M=o(58);b.multiInject=function(_){return function(x,O,S){var g=new c.Metadata(f.MULTI_INJECT_TAG,_);typeof S=="number"?M.tagParameter(x,O,S,g):M.tagProperty(x,O,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.targetName=void 0;var f=o(32),c=o(48),M=o(58);b.targetName=function(_){return function(x,O,S){var g=new c.Metadata(f.NAME_TAG,_);M.tagParameter(x,O,S,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.postConstruct=void 0;var f=o(40),c=o(32),M=o(48);b.postConstruct=function(){return function(_,x,O){var S=new M.Metadata(c.POST_CONSTRUCT,x);if(Reflect.hasOwnMetadata(c.POST_CONSTRUCT,_.constructor))throw new Error(f.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(c.POST_CONSTRUCT,S,_.constructor)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.multiBindToService=void 0,b.multiBindToService=function(f){return function(c){return function(){for(var M=[],_=0;_c*c){var _=Math.sqrt(M);o[0]=f[0]/_*c,o[1]=f[1]/_*c}else o[0]=f[0],o[1]=f[1];return o}},function(R,b,o){"use strict";o.r(b),o.d(b,"G6GraphEvent",function(){return ar}),o.d(b,"G6Event",function(){return zt}),o.d(b,"Node",function(){return Gn}),o.d(b,"Edge",function(){return Ai}),o.d(b,"Combo",function(){return zi}),o.d(b,"Hull",function(){return Xe}),o.d(b,"registerNode",function(){return sn}),o.d(b,"registerCombo",function(){return Wi}),o.d(b,"AbstractGraph",function(){return tt}),o.d(b,"registerEdge",function(){return Ii}),o.d(b,"registerBehavior",function(){return fo}),o.d(b,"AbstractLayout",function(){return sr}),o.d(b,"AbstractEvent",function(){return an}),o.d(b,"BaseGlobal",function(){return ir}),o.d(b,"Graph",function(){return Ju}),o.d(b,"TreeGraph",function(){return Pd}),o.d(b,"Util",function(){return No}),o.d(b,"Layout",function(){return Ws}),o.d(b,"TreeLayout",function(){return Md}),o.d(b,"registerLayout",function(){return kd}),o.d(b,"Global",function(){return Xo}),o.d(b,"Minimap",function(){return Ub}),o.d(b,"Grid",function(){return zb}),o.d(b,"Bundling",function(){return Vb}),o.d(b,"Menu",function(){return Wb}),o.d(b,"Fisheye",function(){return Fp}),o.d(b,"Algorithm",function(){return Gp}),o.d(b,"ToolBar",function(){return Xb}),o.d(b,"Tooltip",function(){return Yb}),o.d(b,"TimeBar",function(){return zp}),o.d(b,"ImageMinimap",function(){return Up}),o.d(b,"EdgeFilterLens",function(){return Vp}),o.d(b,"SnapLine",function(){return Wp}),o.d(b,"Legend",function(){return Hb}),o.d(b,"Arrow",function(){return Ut}),o.d(b,"Marker",function(){return Xt}),o.d(b,"Shape",function(){return fr}),o.d(b,"version",function(){return qb});var f={};o.r(f),o.d(f,"getAdjMatrix",function(){return z}),o.d(f,"breadthFirstSearch",function(){return Ie}),o.d(f,"connectedComponent",function(){return ne}),o.d(f,"getDegree",function(){return V}),o.d(f,"getInDegree",function(){return ae}),o.d(f,"getOutDegree",function(){return we}),o.d(f,"detectCycle",function(){return Y}),o.d(f,"detectDirectedCycle",function(){return Br}),o.d(f,"detectAllCycles",function(){return J}),o.d(f,"detectAllDirectedCycle",function(){return ee}),o.d(f,"detectAllUndirectedCycle",function(){return se}),o.d(f,"depthFirstSearch",function(){return Ae}),o.d(f,"dijkstra",function(){return q}),o.d(f,"findAllPath",function(){return fe}),o.d(f,"findShortestPath",function(){return re}),o.d(f,"floydWarshall",function(){return ce}),o.d(f,"labelPropagation",function(){return $}),o.d(f,"louvain",function(){return Se}),o.d(f,"minimumSpanningTree",function(){return Le}),o.d(f,"pageRank",function(){return Ke}),o.d(f,"getNeighbors",function(){return xe}),o.d(f,"Stack",function(){return dr}),o.d(f,"GADDI",function(){return xr}),o.d(f,"default",function(){return Rr});var c={};o.r(c),o.d(c,"compare",function(){return zr}),o.d(c,"getLineIntersect",function(){return Dr}),o.d(c,"getRectIntersectByPoint",function(){return rn}),o.d(c,"getCircleIntersectByPoint",function(){return Ir}),o.d(c,"getEllipseIntersectByPoint",function(){return On}),o.d(c,"applyMatrix",function(){return In}),o.d(c,"invertMatrix",function(){return Dn}),o.d(c,"getCircleCenterByPoints",function(){return Rn}),o.d(c,"distance",function(){return gn}),o.d(c,"scaleMatrix",function(){return Er}),o.d(c,"floydWarshall",function(){return ln}),o.d(c,"getAdjMatrix",function(){return yn}),o.d(c,"translate",function(){return mn}),o.d(c,"move",function(){return Qn}),o.d(c,"scale",function(){return Un}),o.d(c,"rotate",function(){return ri}),o.d(c,"getDegree",function(){return Oi}),o.d(c,"isPointInPolygon",function(){return Bn}),o.d(c,"intersectBBox",function(){return wi}),o.d(c,"isPolygonsIntersect",function(){return Mi}),o.d(c,"Line",function(){return Wn}),o.d(c,"getBBoxBoundLine",function(){return ii}),o.d(c,"itemIntersectByLine",function(){return hi}),o.d(c,"fractionToLine",function(){return Vn}),o.d(c,"getPointsCenter",function(){return oi}),o.d(c,"squareDist",function(){return di}),o.d(c,"pointLineSquareDist",function(){return _i}),o.d(c,"isPointsOverlap",function(){return Xn}),o.d(c,"pointRectSquareDist",function(){return Yn}),o.d(c,"pointLineDistance",function(){return ki});var M={};o.r(M),o.d(M,"getBBox",function(){return vr}),o.d(M,"getLoopCfgs",function(){return Be}),o.d(M,"getLabelPosition",function(){return ut}),o.d(M,"traverseTree",function(){return Ft}),o.d(M,"traverseTreeUp",function(){return _e}),o.d(M,"getLetterWidth",function(){return ze}),o.d(M,"getTextSize",function(){return Qe}),o.d(M,"plainCombosToTrees",function(){return lt}),o.d(M,"reconstructTree",function(){return vt}),o.d(M,"getComboBBox",function(){return wt}),o.d(M,"shouldRefreshEdge",function(){return Lt}),o.d(M,"cloneBesidesImg",function(){return Wt});var _={};o.r(_),o.d(_,"uniqueId",function(){return pr}),o.d(_,"formatPadding",function(){return Ur}),o.d(_,"cloneEvent",function(){return Gr}),o.d(_,"isViewportChanged",function(){return $r}),o.d(_,"isNaN",function(){return Kr}),o.d(_,"calculationItemsBBox",function(){return jn}),o.d(_,"processParallelEdges",function(){return Cn});var x={};o.r(x),o.d(x,"getSpline",function(){return so}),o.d(x,"getControlPoint",function(){return Vi}),o.d(x,"pointsToPolygon",function(){return Ti}),o.d(x,"pathToPoints",function(){return _t}),o.d(x,"getClosedSpline",function(){return $e}),o.d(x,"roundedHull",function(){return he}),o.d(x,"paddedHull",function(){return K});var O={};o.r(O),o.d(O,"defaultSubjectColors",function(){return Or});var S={};o.r(S),o.d(S,"leftTranslate",function(){return uo}),o.d(S,"leftRotate",function(){return yo}),o.d(S,"leftScale",function(){return co}),o.d(S,"transform",function(){return Da}),o.d(S,"direction",function(){return Ra}),o.d(S,"angleTo",function(){return Hp}),o.d(S,"vertical",function(){return qp});var g={};o.r(g),o.d(g,"mixColor",function(){return gi}),o.d(g,"getColorsWithSubjectColor",function(){return fu}),o.d(g,"getColorSetsBySubjectColors",function(){return Qp});var h={};o.r(h),o.d(h,"proccessToFunc",function(){return vy}),o.d(h,"buildTextureData",function(){return yy}),o.d(h,"buildTextureDataWithOneEdgeAttr",function(){return my}),o.d(h,"buildTextureDataWithTwoEdgeAttr",function(){return by}),o.d(h,"attributesToTextureData",function(){return xy}),o.d(h,"arrayToTextureData",function(){return wy}),o.d(h,"radialLayout",function(){return _y});var y={};o.r(y),o.d(y,"gpuDetector",function(){return Od});var E={};o.r(E),o.d(E,"default",function(){return np}),o.d(E,"assign",function(){return Jo}),o.d(E,"format",function(){return tp}),o.d(E,"parse",function(){return rp}),o.d(E,"defaultI18n",function(){return rc}),o.d(E,"setGlobalDateI18n",function(){return Hd}),o.d(E,"setGlobalDateMasks",function(){return ep});var m=o(1),p=o(0),A={getDefaultCfg:function(){return{}},getEvents:function(){return{}},updateCfg:function(n){return Object.assign(this,n),!0},shouldBegin:function(){return!0},shouldUpdate:function(){return!0},shouldEnd:function(){return!0},bind:function(n){var t=this,e=this.events;this.graph=n,this.type!=="drag-canvas"&&this.type!=="brush-select"&&this.type!=="lasso-select"||n.get("canvas").set("draggable",!0),Object(p.each)(e,function(r,i){n.on(i,r)}),document.addEventListener("visibilitychange",function(){t.keydown=!1})},unbind:function(n){var t=this.events;this.type!=="drag-canvas"&&this.type!=="brush-select"&&this.type!=="lasso-select"||n.get("canvas").set("draggable",!1),Object(p.each)(t,function(e,r){n.off(r,e)})},get:function(n){return this[n]},set:function(n,t){return this[n]=t,this}},C=function(){function n(){}return n.registerBehavior=function(t,e){if(!e)throw new Error("please specify handler for this behavior: "+t);var r=Object(p.clone)(A);Object.assign(r,e);var i=function(a){var s=this;Object.assign(this,this.getDefaultCfg(),a);var u=this.getEvents();this.events=null;var l={};u&&(Object(p.each)(u,function(d,v){l[v]=Object(p.wrapBehavior)(s,d)}),this.events=l)};i.prototype=r,n.types[t]=i},n.hasBehavior=function(t){return!!n.types[t]},n.getBehavior=function(t){return n.types[t]},n.types={},n}(),N=C,P=o(135),L=o(17),z=function(n,t){var e=n.nodes,r=n.edges,i=[],a={};if(!e)throw new Error("invalid nodes data!");return e&&e.forEach(function(s,u){a[s.id]=u,i.push([])}),r&&r.forEach(function(s){var u=s.source,l=s.target,d=a[u],v=a[l];!d&&d!==0||!v&&v!==0||(i[d][v]=1,t||(i[v][d]=1))}),i},X=function(n,t){return n===t},te=function(){function n(t,e){e===void 0&&(e=null),this.value=t,this.next=e}return n.prototype.toString=function(t){return t?t(this.value):""+this.value},n}(),ue=function(){function n(t){t===void 0&&(t=X),this.head=null,this.tail=null,this.compare=t}return n.prototype.prepend=function(t){var e=new te(t,this.head);return this.head=e,this.tail||(this.tail=e),this},n.prototype.append=function(t){var e=new te(t);return this.head?(this.tail.next=e,this.tail=e,this):(this.head=e,this.tail=e,this)},n.prototype.delete=function(t){if(!this.head)return null;for(var e=null;this.head&&this.compare(this.head.value,t);)e=this.head,this.head=this.head.next;var r=this.head;if(r!==null)for(;r.next;)this.compare(r.next.value,t)?(e=r.next,r.next=r.next.next):r=r.next;return this.compare(this.tail.value,t)&&(this.tail=r),e},n.prototype.find=function(t){var e=t.value,r=e===void 0?void 0:e,i=t.callback,a=i===void 0?void 0:i;if(!this.head)return null;for(var s=this.head;s;){if(a&&a(s.value)||r!==void 0&&this.compare(s.value,r))return s;s=s.next}return null},n.prototype.deleteTail=function(){var t=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,t;for(var e=this.head;e.next;)e.next.next?e=e.next:e.next=null;return this.tail=e,t},n.prototype.deleteHead=function(){if(!this.head)return null;var t=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),t},n.prototype.fromArray=function(t){var e=this;return t.forEach(function(r){return e.append(r)}),this},n.prototype.toArray=function(){for(var t=[],e=this.head;e;)t.push(e),e=e.next;return t},n.prototype.reverse=function(){for(var t=this.head,e=null,r=null;t;)r=t.next,t.next=e,e=t,t=r;this.tail=this.head,this.head=e},n.prototype.toString=function(t){return t===void 0&&(t=void 0),this.toArray().map(function(e){return e.toString(t)}).toString()},n}(),le=function(){function n(){this.linkedList=new ue}return n.prototype.isEmpty=function(){return!this.linkedList.head},n.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},n.prototype.enqueue=function(t){this.linkedList.append(t)},n.prototype.dequeue=function(){var t=this.linkedList.deleteHead();return t?t.value:null},n.prototype.toString=function(t){return this.linkedList.toString(t)},n}(),xe=function(n,t,e){t===void 0&&(t=[]);var r=t.filter(function(i){return i.source===n||i.target===n});return e==="target"?r.filter(function(i){return i.source===n}).map(function(i){return i.target}):e==="source"?r.filter(function(i){return i.target===n}).map(function(i){return i.source}):r.map(function(i){return i.source===n?i.target:i.source})},ye=function(n,t){return t.filter(function(e){return e.source===n||e.target===n})},W=function(n){return n===void 0&&(n=0),n+"-"+(""+Math.random()).split(".")[1].substr(0,5)+(""+Math.random()).split(".")[1].substr(0,5)},Ie=function(n,t,e){var r=function(d){d===void 0&&(d={});var v,k=d,T=function(){},I=(v={},function(j){var F=j.next;return!v[F]&&(v[F]=!0,!0)});return k.allowTraversal=d.allowTraversal||I,k.enter=d.enter||T,k.leave=d.leave||T,k}(e),i=new le,a=n.edges,s=a===void 0?[]:a;i.enqueue(t);for(var u="",l=function(){var d=i.dequeue();r.enter({current:d,previous:u}),xe(d,s,"target").forEach(function(v){r.allowTraversal({previous:u,current:d,next:v})&&i.enqueue(v)}),r.leave({current:d,previous:u}),u=d};!i.isEmpty();)l()},ie=function(n){for(var t=n.nodes,e=t===void 0?[]:t,r=n.edges,i=r===void 0?[]:r,a=[],s={},u={},l={},d=[],v=0,k=function F(B){u[B.id]=v,l[B.id]=v,v+=1,a.push(B),s[B.id]=!0;for(var U=xe(B.id,i,"target").filter(function(me){return e.map(function(Te){return Te.id}).indexOf(me)>-1}),H=function(me){var Te=U[me];if(u[Te]||u[Te]===0)s[Te]&&(l[B.id]=Math.min(l[B.id],u[Te]));else{var Ee=e.filter(function(je){return je.id===Te});Ee.length>0&&F(Ee[0]),l[B.id]=Math.min(l[B.id],l[Te])}},Q=0;Q0;){var pe=a.pop();if(s[pe.id]=!1,ve.push(pe),pe===B)break}ve.length>0&&d.push(ve)}},T=0,I=e;T0&&j(pe[0])}},H=0;H0;)I.push(d.pop());u.push(I)}}return u}(n)}var Z=function(n){var t={},e=n.nodes,r=e===void 0?[]:e,i=n.edges,a=i===void 0?[]:i;return r.forEach(function(s){t[s.id]={degree:0,inDegree:0,outDegree:0}}),a.forEach(function(s){t[s.source].degree++,t[s.source].outDegree++,t[s.target].degree++,t[s.target].inDegree++}),t},V=Z,ae=function(n,t){return Z(n)[t]?Z(n)[t].inDegree:0},we=function(n,t){return Z(n)[t]?Z(n)[t].outDegree:0};function Ae(n,t,e){(function r(i,a,s,u){u.enter({current:a,previous:s});var l=i.edges;xe(a,l===void 0?[]:l,"target").forEach(function(d){u.allowTraversal({previous:s,current:a,next:d})&&r(i,d,a,u)}),u.leave({current:a,previous:s})})(n,t,"",function(r){r===void 0&&(r={});var i,a=r,s=function(){},u=(i={},function(l){var d=l.next;return!i[d]&&(i[d]=!0,!0)});return a.allowTraversal=r.allowTraversal||u,a.enter=r.enter||s,a.leave=r.leave||s,a}(e))}var se=function(n,t,e){var r,i;e===void 0&&(e=!0);for(var a=[],s=0,u=ne(n,!1);s0;)for(var j=k.pop(),F=j.id,B=xe(F,n.edges),U=function(Q){var ve,pe=B[Q],me=n.nodes.find(function(ct){return ct.id===pe});if(pe===F)a.push(((ve={})[pe]=j,ve));else if(pe in I){if(!I[F].has(me)){for(var Te=!0,Ee=[me,j],je=T[F];I[pe].size&&!I[pe].has(je)&&(Ee.push(je),je!==T[je.id]);)je=T[je.id];if(Ee.push(je),t&&e?(Te=!1,Ee.findIndex(function(ct){return t.indexOf(ct.id)>-1})>-1&&(Te=!0)):t&&!e&&Ee.findIndex(function(ct){return t.indexOf(ct.id)>-1})>-1&&(Te=!1),Te){for(var Ze={},nt=1;nt-1)return st;r.push(Ze),i.add(Ze);for(var It=ct[Ze.id],gt=0;gt0;){var Dt=Vt.pop();i.has(Dt)&&(i.delete(Dt),a[Dt.id].forEach(function(qt){Vt.push(qt)}),a[Dt.id].clear())}})(Ze);else for(gt=0;gt-1});Vt-1?Zt[kt.id].push(l[qt]):s.push(((Ze={})[kt.id]=kt,Ze))}}return{component:Rt,adjList:Zt,minIdx:ct}},U=0;U=U}),Q=ie({nodes:H,edges:n.edges}).filter(function(je){return je.length>1});if(Q.length===0)break;var ve=B(Q),pe=ve.minIdx,me=ve.adjList,Te=ve.component;if(!(Te.length>1))break;Te.forEach(function(je){a[je.id]=new Set});var Ee=u[pe];if(t&&e&&t.indexOf(Ee.id)===-1)return s;d(Ee,Ee,me),U=pe+1}return s},J=function(n,t,e,r){return r===void 0&&(r=!0),t?ee(n,e,r):se(n,e,r)},Y=function(n){var t=null,e=n.nodes,r={},i={},a={},s={};(e===void 0?[]:e).forEach(function(l){i[l.id]=l});for(var u={enter:function(l){var d=l.current,v=l.previous;if(a[d]){t={};for(var k=d,T=v;T!==d;)t[k]=T,k=T,T=r[T];t[k]=T}else a[d]=d,delete i[d],r[d]=v},leave:function(l){var d=l.current;s[d]=d,delete a[d]},allowTraversal:function(l){var d=l.next;return!t&&!s[d]}};Object.keys(i).length;)Ae(n,Object.keys(i)[0],u);return t},q=function(n,t,e,r){var i=n.nodes,a=i===void 0?[]:i,s=n.edges,u=s===void 0?[]:s,l=[],d={},v={},k={};a.forEach(function(H,Q){var ve=H.id;l.push(ve),v[ve]=1/0,ve===t&&(v[ve]=0)});for(var T=a.length,I=function(H){var Q=function(pe,me,Te){for(var Ee,je=1/0,Ze=0;Zev[Q.id]+je?(v[Ee]=v[Q.id]+je,k[Ee]=[Q.id]):v[Ee]===v[Q.id]+je&&k[Ee].push(Q.id)})},j=0;j0&&d.length>0;){var T=d[d.length-1];if(T.length){var I=T.shift();if(I&&(u.push(I),l[I]=!0,k=r?xe(I,s,"target"):xe(I,s),d.push(k.filter(function(B){return!l[B]}))),u[u.length-1]===e){var j=u.map(function(B){return B});v.push(j),F=u.pop(),l[F]=!1,d.pop()}}else{var F=u.pop();l[F]=!1,d.pop()}}return v},ce=function(n,t){for(var e=z(n,t),r=[],i=e.length,a=0;ar[a][u]+r[u][s]&&(r[a][s]=r[a][u]+r[u][s]);return r},$=function(n,t,e,r){t===void 0&&(t=!1),e===void 0&&(e="weight"),r===void 0&&(r=1e3);var i=n.nodes,a=i===void 0?[]:i,s=n.edges,u=s===void 0?[]:s,l={},d={};a.forEach(function(H,Q){var ve=W();H.clusterId=ve,l[ve]={id:ve,nodes:[H]},d[H.id]={node:H,idx:Q}});var v=z(n,t),k=[],T={};v.forEach(function(H,Q){var ve=0,pe=a[Q].id;T[pe]={},H.forEach(function(me,Te){if(me){ve+=me;var Ee=a[Te].id;T[pe][Ee]=me}}),k.push(ve)});for(var I=0,j=function(){var H=!1;if(a.forEach(function(Q){var ve={};Object.keys(T[Q.id]).forEach(function(ct){var st=T[Q.id][ct],It=d[ct].node.clusterId;ve[It]||(ve[It]=0),ve[It]+=st});var pe=-1/0,me=[];if(Object.keys(ve).forEach(function(ct){pe=0&&me.splice(Te,1),me&&me.length){H=!0;var Ee=l[Q.clusterId],je=Ee.nodes.indexOf(Q);Ee.nodes.splice(je,1);var Ze=Math.floor(Math.random()*me.length),nt=l[me[Ze]];nt.nodes.push(Q),Q.clusterId=nt.id}}}),!H)return"break";I++};I100);)B=F,U++,Object.keys(d).forEach(function(Te){var Ee=0;u.forEach(function(je){var Ze=je.source,nt=je.target,ct=v[Ze].node.clusterId,st=v[nt].node.clusterId;(ct===Te&&st!==Te||st===Te&&ct!==Te)&&(Ee+=je[e]||1)}),d[Te].sumTot=Ee}),a.forEach(function(Te,Ee){var je,Ze=d[Te.clusterId],nt=0,ct=T[Ee]/(2*j),st=0;Ze.nodes.forEach(function(Vt){var Dt=v[Vt.id].idx;st+=k[Ee][Dt]||0});var It=st-Ze.sumTot*ct,gt=I[Te.id];if(Object.keys(gt).forEach(function(Vt){var Dt=v[Vt].node.clusterId;if(Dt!==Te.clusterId){var qt=d[Dt],$t=qt.nodes;if($t&&$t.length){var Gt=0;$t.forEach(function(Lr){var wn=v[Lr.id].idx;Gt+=k[Ee][wn]||0});var lr=Gt-qt.sumTot*ct-It;lr>nt&&(nt=lr,je=qt)}}}),nt>0){je.nodes.push(Te);var Pt=Te.clusterId;Te.clusterId=je.id;var Rt=Ze.nodes.indexOf(Te);Ze.nodes.splice(Rt,1);var Zt=0,kt=0;u.forEach(function(Vt){var Dt=Vt.source,qt=Vt.target,$t=v[Dt].node.clusterId,Gt=v[qt].node.clusterId;($t===je.id&&Gt!==je.id||Gt===je.id&&$t!==je.id)&&(Zt+=Vt[e]||1),($t===Pt&&Gt!==Pt||Gt===Pt&&$t!==Pt)&&(kt+=Vt[e]||1)}),je.sumTot=Zt,Ze.sumTot=kt}});var H={},Q=0;Object.keys(d).forEach(function(Te){var Ee=d[Te];if(Ee.nodes&&Ee.nodes.length){var je=String(Q+1);je!==Te&&(Ee.id=je,Ee.nodes=Ee.nodes.map(function(Ze){return{id:Ze.id,clusterId:je}}),d[je]=Ee,H[Te]=je,delete d[Te],Q++)}else delete d[Te]}),a.forEach(function(Te){Te.clusterId&&H[Te.clusterId]&&(Te.clusterId=H[Te.clusterId])});var ve=[],pe={};u.forEach(function(Te){var Ee=Te.source,je=Te.target,Ze=Te[e]||1,nt=v[Ee].node.clusterId,ct=v[je].node.clusterId,st=nt+"---"+ct;if(pe[st])pe[st].weight+=Ze,pe[st].count++;else{var It={source:nt,target:ct,weight:Ze,count:1};pe[st]=It,ve.push(It)}});var me=[];return Object.keys(d).forEach(function(Te){me.push(d[Te])}),{clusters:me,clusterEdges:ve}},Pe=function(){function n(t){this.count=t.length,this.parent={};for(var e=0,r=t;e0&&(this.list[0]=e,this.moveDown(0)),t},n.prototype.insert=function(t){if(t!==null){this.list.push(t);var e=this.list.length-1;return this.moveUp(e),!0}return!1},n.prototype.moveUp=function(t){for(var e=this.getParent(t);t&&t>0&&this.compareFn(this.list[e],this.list[t])>0;){var r=this.list[e];this.list[e]=this.list[t],this.list[t]=r,t=e,e=this.getParent(t)}},n.prototype.moveDown=function(t){var e,r=t,i=this.getLeft(t),a=this.getRight(t),s=this.list.length;i!==null&&i0?r=i:a!==null&&a0&&(r=a),t!==r&&(e=[this.list[r],this.list[t]],this.list[t]=e[0],this.list[r]=e[1],this.moveDown(r))},n}(),Re=function(n,t){var e=[],r=n.nodes,i=r===void 0?[]:r,a=n.edges,s=a===void 0?[]:a;if(i.length===0)return e;var u=i[0],l=new Set;l.add(u);var d=new Ce(function(I,j){return t?I.weight-j.weight:0});for(ye(u.id,s).forEach(function(I){d.insert(I)});!d.isEmpty();){var v=d.delMin(),k=v.source,T=v.target;l.has(k)&&l.has(T)||(e.push(v),l.has(k)||(l.add(k),ye(k,s).forEach(function(I){d.insert(I)})),l.has(T)||(l.add(T),ye(T,s).forEach(function(I){d.insert(I)})))}return e},Oe=function(n,t){var e=[],r=n.nodes,i=r===void 0?[]:r,a=n.edges,s=a===void 0?[]:a;if(i.length===0)return e;var u=s.map(function(T){return T});t&&u.sort(function(T,I){return T.weight-I.weight});for(var l=new Pe(i.map(function(T){return T.id}));u.length>0;){var d=u.shift(),v=d.source,k=d.target;l.connected(v,k)||(e.push(d),l.union(v,k))}return e},Le=function(n,t,e){return e?{prim:Re,kruskal:Oe}[e](n,t):Oe(n,t)},Ke=function(n,t,e){typeof t!="number"&&(t=1e-6),typeof e!="number"&&(e=.85);for(var r,i=1,a=0,s=1e3,u=n.nodes,l=u===void 0?[]:u,d=n.edges,v=d===void 0?[]:d,k=l.length,T={},I={},j=0;j0&&i>t;){for(a=0,j=0;j0&&(r+=I[Q]/ve)}T[B]=e*r,a+=T[B]}}for(a=(1-a)/k,i=0,j=0;j=0;e--){var r=this.dfsEdgeList[e],i=r.fromNode,a=r.toNode;iT||i.hasNode(s[k.to])||(e.labelH&&Q(ve)!=="break";ve--);if(B){var pe=t.findMinLabel(F);s.dfsEdgeList.push(new Ct(j,U,"-1",pe.edgeLabel,"-1"));var me=s.dfsEdgeList.length-1;return t.dfsCode.dfsEdgeList[me]===s.dfsEdgeList[me]&&v(F[pe.edgeLabel].projected)}var Te={};B=!1;var Ee=0;k.forEach(function(st){var It=new jt(st),gt=t.findForwardPureEdges(i,It.edges[T[0]],I,It);gt.length>0&&(B=!0,Ee=j,gt.forEach(function(Pt){var Rt=Pt.label+"-"+a[Pt.to].label;Te[Rt]||(Te[Rt]={projected:[],edgeLabel:Pt.label,nodeLabel2:a[Pt.to].label}),Te[Rt].projected.push({graphId:i.id,edge:Pt,preNode:st})}))});var je=T.length,Ze=function(st){if(B)return"break";var It=T[st];k.forEach(function(gt){var Pt=new jt(gt),Rt=t.findForwardRmpathEdges(i,Pt.edges[It],I,Pt);Rt.length>0&&(B=!0,Ee=s.dfsEdgeList[It].fromNode,Rt.forEach(function(Zt){var kt=Zt.label+"-"+a[Zt.to].label;Te[kt]||(Te[kt]={projected:[],edgeLabel:Zt.label,nodeLabel2:a[Zt.to].label}),Te[kt].projected.push({graphId:i.id,edge:Zt,preNode:gt})}))})};for(ve=0;ve=0;I--){var j=e.findBackwardEdge(v,T.edges[i[I]],T.edges[i[0]],T);if(j){var F=e.dfsCode.dfsEdgeList[i[I]].fromNode+"-"+j.label;l[F]||(l[F]={projected:[],toNodeId:e.dfsCode.dfsEdgeList[i[I]].fromNode,edgeLabel:j.label}),l[F].projected.push({graphId:d.graphId,edge:j,preNode:d})}}if(!(r>=e.maxNodeNum)){e.findForwardPureEdges(v,T.edges[i[0]],s,T).forEach(function(U){var H=a+"-"+U.label+"-"+k[U.to].label;u[H]||(u[H]={projected:[],fromNodeId:a,edgeLabel:U.label,nodeLabel2:k[U.to].label}),u[H].projected.push({graphId:d.graphId,edge:U,preNode:d})});var B=function(U){e.findForwardRmpathEdges(v,T.edges[i[U]],s,T).forEach(function(H){var Q=e.dfsCode.dfsEdgeList[i[U]].fromNode+"-"+H.label+"-"+k[H.to].label;u[Q]||(u[Q]={projected:[],fromNodeId:e.dfsCode.dfsEdgeList[i[U]].fromNode,edgeLabel:H.label,nodeLabel2:k[H.to].label}),u[Q].projected.push({graphId:d.graphId,edge:H,preNode:d})})};for(I=0;IQ){var ve=Q;Q=H,H=ve}var pe=U.label,me=d+"-"+H+"-"+pe+"-"+Q,Te=H+"-"+pe+"-"+Q;if(!s[Te]){var Ee=s[Te]||0;Ee++,s[Te]=Ee}l[me]={graphId:d,nodeLabel1:H,edgeLabel:pe,nodeLabel2:Q}})})}),Object.keys(a).forEach(function(d){if(!(a[d]2*jr)););if(Vr<2*jr&&(en[Tr+"-"+cn]={start:Tr,end:cn,distance:hr[Tr][cn]},Zr++,++Yr>=_r))return en;if(++Tn>2*jr)break}ZrVt[Sr][cn]){bi=!0;break}if(bi)return gt.splice(Cr,1),"continue";var Vr={};Zr.neighbors.forEach(function(En){var Si=v[Tr.id+"-"+En.id];Vr[Tr.id+"-"+En.id]={start:I[Tr.id].idx,end:I[En.id].idx,distance:Si}}),me=cr(Vr,Q,n,me);var An=[];Object.keys(Vr).forEach(function(En){if(ct[En])An.push(ct[En]);else{var Si=me[En];ct[En]=yr(Si,nt,a,s),An.push(ct[En])}}),An=An.sort(function(En,Si){return Si-En});var Zn=!1;for(cn=0;cn=0;Yr--)en(Yr)});var Dt=[];gt.forEach(function(Sr){for(var jr=I[Sr.id].idx,_r=Mr(n.nodes,l[jr],jr,a,i).neighbors,un=_r.length,hr=!1,qr=function(Cr){if(_r.length+1Vt[Zr][Vt[Zr].length-1])return _r.splice(Cr,1),"continue";var bi=ct[Tn]?ct[Tn]:function(An,Zn,En,Si,Wo,wo,no,wr,vn,$n,_n){var Ni,go=Zn.id+"-"+En.id;if($n&&$n[go])return $n[go];var xi=_n?_n[go]:void 0;if(!xi){var _o=((Ni={})[go]={start:Si[Zn.id].idx,end:Si[En.id].idx,distance:Wo},Ni);xi=(_n=cr(_o,wo,An,_n))[go]}return yr(xi,no,wr,vn)}(n,Sr,Tr,I,tn,Q,nt,a,s,ct,me),cn=st.id+"-"+Zr;if(biZn&&(Vr=Zn)}),Pt[Zr]=Vr),I[Tr.id].degree=0;en--){var Yr=qr(en);if(rr(Yr)==="object")return Yr.value}hr||Dt.push({nodes:[Sr].concat(_r)})});var qt=q(t,st.id,!1).length,$t={};e?(Object.keys(qt).forEach(function(Sr){var jr=B[Sr].node[a];$t[jr]?$t[jr].push(qt[Sr]):$t[jr]=[qt[Sr]]}),Object.keys($t).forEach(function(Sr){$t[Sr].sort(function(jr,_r){return jr-_r})})):$t=Vt;for(var Gt=function(Sr){var jr=Dt[Sr],_r=jr.nodes[0],un={},hr={};jr.nodes.forEach(function(vn,$n){hr[vn.id]={idx:$n,node:vn,degree:0};var _n=vn[a];un[_n]?un[_n]++:un[_n]=1});var qr=[],en={};n.edges.forEach(function(vn){hr[vn.source]&&hr[vn.target]&&(qr.push(vn),en[vn[s]]?en[vn[s]]++:en[vn[s]]=1,hr[vn.source].degree++,hr[vn.target].degree++)});for(var Yr=Object.keys(H).length,Cr=!1,Tr=0;Tr=0&&bi(Tr)!=="break";Tr--);if(tn)return Dt.splice(Sr,1),"continue";jr.edges=qr;var cn=q(jr,jr.nodes[0].id,!1).length;if(Object.keys(cn).reverse().forEach(function(vn){if(vn!==jr.nodes[0].id&&!tn){if(cn[vn]===1/0){var $n=hr[vn].node[a];if(un[$n]--,un[$n]$t[Ni][$t[Ni].length-1]){if($n=hr[vn].node[a],un[$n]--,un[$n]=0;Zn--){var En=jr.nodes[Zn],Si=hr[En.id].degree,Wo=En[a];if(Si=0;wo--){var no=qr[wo];if(!hr[no.source]||!hr[no.target]){qr.splice(wo,1);var wr=no[s];if(en[wr]--,hr[no.source]&&hr[no.source].degree--,hr[no.target]&&hr[no.target].degree--,H[wr]&&en[wr]=0&&Gt(lr)!=="break";lr--);var Lr=Dt.length,wn=function(Sr){var jr=Dt[Sr],_r={};jr.edges.forEach(function(qr){var en=qr.source+"-"+qr.target+"-"+qr.label;_r[en]?_r[en]++:_r[en]=1});for(var un=function(qr){var en=Dt[qr],Yr={};en.edges.forEach(function(Tr){var Zr=Tr.source+"-"+Tr.target+"-"+Tr.label;Yr[Zr]?Yr[Zr]++:Yr[Zr]=1});var Cr=!0;Object.keys(Yr).length!==Object.keys(_r).length?Cr=!1:Object.keys(_r).forEach(function(Tr){Yr[Tr]!==_r[Tr]&&(Cr=!1)}),Cr&&Dt.splice(qr,1)},hr=Lr-1;hr>Sr;hr--)un(hr);Lr=Dt.length};for(lr=0;lr<=Lr-1;lr++)wn(lr);return Dt}}},dr=function(){function n(t){t===void 0&&(t=10),this.linkedList=new ue,this.maxStep=t}return Object.defineProperty(n.prototype,"length",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),n.prototype.isEmpty=function(){return!this.linkedList.head},n.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},n.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},n.prototype.push=function(t){this.linkedList.prepend(t),this.length>this.maxStep&&this.linkedList.deleteTail()},n.prototype.pop=function(){var t=this.linkedList.deleteHead();return t?t.value:null},n.prototype.toArray=function(){return this.linkedList.toArray().map(function(t){return t.value})},n.prototype.clear=function(){for(;!this.isEmpty();)this.pop()},n}(),Br=Y,Rr={getAdjMatrix:z,breadthFirstSearch:Ie,connectedComponent:ne,getDegree:V,getInDegree:ae,getOutDegree:we,detectCycle:Y,detectDirectedCycle:Br,detectAllCycles:J,detectAllDirectedCycle:ee,detectAllUndirectedCycle:se,depthFirstSearch:Ae,dijkstra:q,findAllPath:fe,findShortestPath:re,floydWarshall:ce,labelPropagation:$,louvain:Se,minimumSpanningTree:Le,pageRank:Ke,getNeighbors:xe,Stack:dr,GADDI:xr},pn=L.a.transform,zr=function(n){return function(t,e){return t[n]-e[n]}},Nr=function(n,t,e){return n>=t&&n<=e},Dr=function(n,t,e,r){var i=e.x-n.x,a=e.y-n.y,s=t.x-n.x,u=t.y-n.y,l=r.x-e.x,d=r.y-e.y,v=s*d-u*l,k=1/v;if(v*v>1e-4*(s*s+u*u)*(l*l+d*d)){var T=(i*d-a*l)*k,I=(i*u-a*s)*k;return Nr(T,0,1)&&Nr(I,0,1)?{x:n.x+T*s,y:n.y+T*u}:null}return null},rn=function(n,t){var e=n.x,r=n.y,i=n.width,a=n.height,s=[],u={x:e+i/2,y:r+a/2};s.push({x:e,y:r}),s.push({x:e+i,y:r}),s.push({x:e+i,y:r+a}),s.push({x:e,y:r+a}),s.push({x:e,y:r});for(var l=null,d=1;dt[r][a]+t[a][i]&&(t[r][i]=t[r][a]+t[a][i]);return t},yn=function(n,t){var e=n.nodes,r=n.edges,i=[],a={};if(!e)throw new Error("invalid nodes data!");return e&&e.forEach(function(s,u){a[s.id]=u,i.push([])}),r&&r.forEach(function(s){var u=s.source,l=s.target,d=a[u],v=a[l];i[d][v]=1,t||(i[v][d]=1)}),i},mn=function(n,t){n.translate(t.x,t.y)},Qn=function(n,t,e,r){r===void 0&&(r={duration:500});var i=n.getMatrix();i||(i=[1,0,0,0,1,0,0,0,1]);var a=n.getCanvasBBox(),s=t.x-a.minX,u=t.y-a.minY;if(e){var l=s*i[0],d=u*i[4],v=0,k=0,T=0,I=0;n.animate(function(F){return i=pn(i,[["t",(T=l*F)-v,(I=d*F)-k]]),v=T,k=I,{matrix:i}},r)}else{var j=pn(i,[["t",s,u]]);n.setMatrix(j)}},Un=function(n,t){var e=n.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var r=t;Object(p.isArray)(t)||(r=[t,t]),Object(p.isArray)(t)&&t.length===1&&(r=[t[0],t[0]]),e=pn(e,[["s",r[0],r[1]]]),n.setMatrix(e)},ri=function(n,t){var e=n.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]),e=pn(e,[["r",t]]),n.setMatrix(e)},Oi=function(n,t,e){for(var r=[],i=0;i0!=a(l[1]-e)>0&&a(t-(e-u[1])*(u[0]-l[0])/(u[1]-l[1])-u[0])<0&&(r=!r)}return r},wi=function(n,t){return!(t.minX>n.maxX||t.maxXn.maxY||t.maxY1){var B=v[0],U=v[T-1];k.push({from:{x:U[0],y:U[1]},to:{x:B[0],y:B[1]}})}return k};if(n.length<2||t.length<2)return!1;var i=e(n),a=e(t);if(!wi(i,a))return!1;var s=!1;if(Object(p.each)(t,function(v){if(Bn(n,v[0],v[1]))return s=!0,!1}),s||(Object(p.each)(n,function(v){if(Bn(t,v[0],v[1]))return s=!0,!1}),s))return!0;var u=r(n),l=r(t),d=!1;return Object(p.each)(l,function(v){if(function(k,T){var I=!1;return Object(p.each)(k,function(j){if(Dr(j.from,j.to,T.from,T.to))return I=!0,!1}),I}(u,v))return d=!0,!1}),d},Wn=function(){function n(t,e,r,i){this.x1=t,this.y1=e,this.x2=r,this.y2=i}return n.prototype.getBBox=function(){var t=Math.min(this.x1,this.x2),e=Math.min(this.y1,this.y2),r=Math.max(this.x1,this.x2),i=Math.max(this.y1,this.y2);return{x:t,y:e,minX:t,minY:e,maxX:r,maxY:i,width:r-t,height:i-e}},n}(),ii=function(n,t){return{top:[n.minX,n.minY,n.maxX,n.minY],left:[n.minX,n.minY,n.minX,n.maxY],bottom:[n.minX,n.maxY,n.maxX,n.maxY],right:[n.maxX,n.minY,n.maxX,n.maxY]}[t]},Jn=function(n,t){var e=(t.x2-t.x1)*(n.y1-t.y1)-(t.y2-t.y1)*(n.x1-t.x1),r=(n.x2-n.x1)*(n.y1-t.y1)-(n.y2-n.y1)*(n.x1-t.x1),i=(t.y2-t.y1)*(n.x2-n.x1)-(t.x2-t.x1)*(n.y2-n.y1);if(i){var a=e/i,s=r/i;if(a>=0&&a<=1&&s>=0&&s<=1)return a}return Number.POSITIVE_INFINITY},hi=function(n,t){for(var e=["top","left","bottom","right"],r=n.getBBox(),i=0,a=[],s=0;s<4;s++){var u=ii(r,e[s]),l=u[0],d=u[1],v=u[2],k=u[3];a[s]=Dr({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},{x:l,y:d},{x:v,y:k}),a[s]&&(i+=1)}return[a,i]},Vn=function(n,t){for(var e=["top","left","bottom","right"],r=n.getBBox(),i=Number.POSITIVE_INFINITY,a=0,s=0;s<4;s++){var u=ii(r,e[s]),l=u[0],d=u[1],v=u[2],k=u[3],T=Jn(t,new Wn(l,d,v,k));(T=Math.abs(T-.5))>=0&&T<=1&&(a+=1,i=T0){for(var r=0,i=n;rt.x+t.width,i=n.y>t.y+t.height,a=n.y":.604998779296875,"/":.5,"?":.53699951171875},Ne=Math.PI,He=Math.sin,ft=Math.cos,At=He(Ne/8),Ht=ft(Ne/8),vr=function(n,t){var e=n.getBBox(),r={x:e.minX,y:e.minY},i={x:e.maxX,y:e.maxY};if(t){var a=t.getMatrix();a||(a=[1,0,0,0,1,0,0,0,1]),r=In(r,a),i=In(i,a)}var s=r.x,u=r.y,l=i.x,d=i.y;return{x:s,y:u,minX:s,minY:u,maxX:l,maxY:d,width:l-s,height:d-u}},Be=function(n){var t=n.sourceNode||n.targetNode,e=t.get("group").getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var r=t.getKeyShape().getBBox(),i=n.loopCfg||{},a=i.dist||2*Math.max(r.width,r.height),s=i.position||nr.defaultLoopPosition,u=[e[6],e[7]],l=[n.startPoint.x,n.startPoint.y],d=[n.endPoint.x,n.endPoint.y],v=r.height/2,k=r.height/2,T=v*At,I=v*Ht,j=k*At,F=k*Ht;if(l[0]===d[0]&&l[1]===d[1]){switch(s){case"top":l=[u[0]-T,u[1]-I],d=[u[0]+j,u[1]-F];break;case"top-right":v=r.height/2,k=r.width/2,l=[u[0]+(T=v*At),u[1]-(I=v*Ht)],d=[u[0]+(F=k*Ht),u[1]-(j=k*At)];break;case"right":v=r.width/2,k=r.width/2,l=[u[0]+(I=v*Ht),u[1]-(T=v*At)],d=[u[0]+(F=k*Ht),u[1]+(j=k*At)];break;case"bottom-right":v=r.width/2,k=r.height/2,l=[u[0]+(I=v*Ht),u[1]+(T=v*At)],d=[u[0]+(j=k*At),u[1]+(F=k*Ht)];break;case"bottom":v=r.height/2,k=r.height/2,l=[u[0]+(T=v*At),u[1]+(I=v*Ht)],d=[u[0]-(j=k*At),u[1]+(F=k*Ht)];break;case"bottom-left":v=r.height/2,k=r.width/2,l=[u[0]-(T=v*At),u[1]+(I=v*Ht)],d=[u[0]-(F=k*Ht),u[1]+(j=k*At)];break;case"left":v=r.width/2,k=r.width/2,l=[u[0]-(I=v*Ht),u[1]+(T=v*At)],d=[u[0]-(F=k*Ht),u[1]-(j=k*At)];break;case"top-left":v=r.width/2,k=r.height/2,l=[u[0]-(I=v*Ht),u[1]-(T=v*At)],d=[u[0]-(j=k*At),u[1]-(F=k*Ht)];break;default:v=r.width/2,k=r.width/2,l=[u[0]-(T=v*At),u[1]-(I=v*Ht)],d=[u[0]+(j=k*At),u[1]-(F=k*Ht)]}if(i.clockwise===!1){var B=[l[0],l[1]];l=[d[0],d[1]],d=[B[0],B[1]]}}var U=[l[0]-u[0],l[1]-u[1]],H=(v+a)/v,Q=(k+a)/k;i.clockwise===!1&&(H=(k+a)/k,Q=(v+a)/v);var ve=L.c.scale([0,0],U,H),pe=[u[0]+ve[0],u[1]+ve[1]],me=[d[0]-u[0],d[1]-u[1]],Te=L.c.scale([0,0],me,Q),Ee=[u[0]+Te[0],u[1]+Te[1]];return n.startPoint={x:l[0],y:l[1]},n.endPoint={x:d[0],y:d[1]},n.controlPoints=[{x:pe[0],y:pe[1]},{x:Ee[0],y:Ee[1]}],n},ut=function(n,t,e,r,i){var a=[],s=n==null?void 0:n.getPoint(t);if(!s)return{x:0,y:0,angle:0};if(t<1e-4)a=n.getStartTangent().reverse();else if(t>.9999)a=n.getEndTangent();else{var u=n==null?void 0:n.getPoint(t+1e-4);a.push([s.x,s.y]),a.push([u.x,u.y])}var l=Math.atan2(a[1][1]-a[0][1],a[1][0]-a[0][0]);if(l<0&&(l+=2*Ne),e&&(s.x+=ft(l)*e,s.y+=He(l)*e),r){var d=l-Ne/2;l>.5*Ne&&l<1.5*Ne&&(d-=Ne),s.x+=ft(d)*r,s.y+=He(d)*r}var v={x:s.x,y:s.y,angle:l};return i?(l>.5*Ne&&l<1.5*Ne&&(l-=Ne),Object(m.__assign)({rotate:l},v)):v},bt=function n(t,e){if(e(t)===!1)return!1;if(t&&t.children){for(var r=t.children.length-1;r>=0;r--)if(!n(t.children[r],e))return!1}return!0},Ft=function(n,t){typeof t=="function"&&bt(n,t)},_e=function(n,t){typeof t=="function"&&function e(r,i){if(r&&r.children){for(var a=r.children.length-1;a>=0;a--)if(!e(r.children[a],i))return}return i(r)!==!1}(n,t)},ze=function(n,t){return t*(We[n]||1)},Qe=function(n,t){var e=0,r=new RegExp("[\u4E00-\u9FA5]+");return n.split("").forEach(function(i){r.test(i)?e+=t:e+=ze(i,t)}),[e,t]},lt=function(n,t){var e=[],r={},i={};n.forEach(function(u){i[u.id]=u}),n.forEach(function(u,l){var d=Object(p.clone)(u);d.itemType="combo",d.children=void 0,d.parentId===d.id?(console.warn("The parentId for combo "+d.id+" can not be the same as the combo's id"),delete d.parentId):d.parentId&&!i[d.parentId]&&(console.warn("The parent combo for combo "+d.id+" does not exist!"),delete d.parentId);var v=r[d.id];if(v){if(d.children=v.children,r[d.id]=d,!(v=d).parentId)return void e.push(v);var k=r[v.parentId];if(k)k.children?k.children.push(d):k.children=[d];else{var T={id:v.parentId,children:[v]};r[v.parentId]=T,r[d.id]=d}}else if(Object(p.isString)(u.parentId)){var I=r[u.parentId];if(I)I.children?I.children.push(d):I.children=[d],r[d.id]=d;else{var j={id:u.parentId,children:[d]};r[j.id]=j,r[d.id]=d}}else e.push(d),r[d.id]=d});var a={};(t||[]).forEach(function(u){a[u.id]=u;var l=r[u.comboId];if(l){var d={id:u.id,comboId:u.comboId};l.children?l.children.push(d):l.children=[d],d.itemType="node",r[u.id]=d}});var s=0;return e.forEach(function(u){u.depth=s+10,bt(u,function(l){var d,v=r[l.id].itemType;d=v==="node"?r[l.comboId]:r[l.parentId],l.depth=d&&v==="node"?s+1:s+10,s-1&&i.splice(l,1),s||(r={id:t,itemType:"node",comboId:e},a[t]={children:void 0}),t){var d=!1;if(e){var v=0;(n||[]).forEach(function(T){d||Ft(T,function(I){return e!==I.id||(d=!0,I.children?I.children.push(r):I.children=[r],v=I.depth,r.itemType==="node"?r.depth=v+2:r.depth=v+1,!1)})})}else e&&d||r.itemType==="node"||n.push(r);var k=r.depth;Ft(r,function(T){return T.itemType==="node"?k+=2:k+=1,T.depth=k,!0})}return n},wt=function(n,t){var e={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0,x:void 0,y:void 0,width:void 0,height:void 0,centerX:void 0,centerY:void 0};return n&&n.length!==0&&(n.forEach(function(r){var i=t.findById(r.id);if(i&&i.isVisible()){i.set("bboxCanvasCache",void 0);var a=i.getCanvasBBox();a.x&&e.minX>a.minX&&(e.minX=a.minX),a.y&&e.minY>a.minY&&(e.minY=a.minY),a.x&&e.maxXe&&(e=d),v>i&&(i=v)}return{x:Math.floor(t),y:Math.floor(r),width:Math.ceil(e)-Math.floor(t),height:Math.ceil(i)-Math.floor(r),minX:t,minY:r,maxX:e,maxY:i}},Cn=function(n,t,e,r,i){t===void 0&&(t=15),e===void 0&&(e="quadratic"),r===void 0&&(r=void 0),i===void 0&&(i=void 0);for(var a=n.length,s=2*t,u=["top","top-right","right","bottom-right","bottom","bottom-left","left","top-left"],l={},d=[],v={},k=0;kk&&(T=k),t.zoom(T,u)}},n.prototype.getFormatPadding=function(){var t=this.graph.get("fitViewPadding");return Ur(t)},n.prototype.focusPoint=function(t,e,r){var i=this,a=this.getViewCenter(),s=this.getPointByCanvas(a.x,a.y),u=this.graph.get("group").getMatrix();if(u||(u=[1,0,0,0,1,0,0,0,1]),e){var l=(s.x-t.x)*u[0],d=(s.y-t.y)*u[4],v=0,k=0,T=0,I=0;this.graph.get("canvas").animate(function(j){T=l*j,I=d*j,i.graph.translate(T-v,I-k),v=T,k=I},Object(m.__assign)({},r))}else this.graph.translate((s.x-t.x)*u[0],(s.y-t.y)*u[4])},n.prototype.getPointByCanvas=function(t,e){var r=this.graph.get("group").getMatrix();return r||(r=[1,0,0,0,1,0,0,0,1]),Dn({x:t,y:e},r)},n.prototype.getPointByClient=function(t,e){var r=this.graph.get("canvas").getPointByClient(t,e);return this.getPointByCanvas(r.x,r.y)},n.prototype.getClientByPoint=function(t,e){var r=this.graph.get("canvas"),i=this.getCanvasByPoint(t,e),a=r.getClientByPoint(i.x,i.y);return{x:a.x,y:a.y}},n.prototype.getCanvasByPoint=function(t,e){var r=this.graph.get("group").getMatrix();return r||(r=[1,0,0,0,1,0,0,0,1]),In({x:t,y:e},r)},n.prototype.focus=function(t,e,r){if(Object(p.isString)(t)&&(t=this.graph.findById(t)),t){var i=0,a=0;if(t.getType&&t.getType()==="edge"){var s=t.getSource().get("group").getMatrix(),u=t.getTarget().get("group").getMatrix();s&&u?(i=(s[6]+u[6])/2,a=(s[7]+u[7])/2):(s||u)&&(i=s?s[6]:u[6],a=s?s[7]:u[7])}else{var l=t.get("group").getMatrix();l||(l=[1,0,0,0,1,0,0,0,1]),i=l[6],a=l[7]}this.focusPoint({x:i,y:a},e,r)}},n.prototype.changeSize=function(t,e){var r=this.graph;if(!Object(p.isNumber)(t)||!Object(p.isNumber)(e))throw Error("invalid canvas width & height, please make sure width & height type is number");r.set({width:t,height:e}),r.get("canvas").changeSize(t,e),r.get("plugins").forEach(function(i){i.get("gridContainer")&&i.positionInit()})},n.prototype.destroy=function(){this.graph=null,this.destroyed=!1},n}();function Qr(n){return(Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Mn(n){if(typeof n!="string")return n;var t=function(pe){if(typeof pe!="string")return pe;try{return JSON.parse(pe.trim())}catch(me){return pe.trim()}},e=t(n);if(typeof e!="string")return e;for(var r=function(pe){return pe[pe.length-1]},i=n.trim(),a=[],s=[],u=function(){for(var pe=[],me=0;mer.width&&(r.width=v.width+v.x),v.height+v.y>r.height&&(r.height=v.height+v.y)}}}return n.bbox=function(k,T,I){var j,F,B=k.attrs,U=B===void 0?{}:B,H={x:T.x||0,y:T.y||0,width:I.width||0,height:I.height||0};switch(k.type){case"maker":case"circle":U.r&&(F=2*U.r,j=2*U.r);break;case"text":U.text&&(F=Qe(U.text,U.fontSize||12)[0],j=16,H.y+=j,H.height=j,H.width=F,k.attrs=Object(m.__assign)({fontSize:12,fill:"#000"},U));break;default:U.width&&(F=U.width),U.height&&(j=U.height)}return j>=0&&(H.height=j),F>=0&&(H.width=F),U.marginTop&&(H.y+=U.marginTop),U.marginLeft&&(H.x+=U.marginLeft),H}(n,t,r),n.attrs=Object(m.__assign)(Object(m.__assign)({},n.attrs),n.bbox),n}function Sn(n){var t={},e=function(r){var i=function(u){return function(l){for(var d=u.length,v=[],k=0,T="";k0||((F=I.children)===null||F===void 0?void 0:F.length)>0)for(var pe=Math.max((B=T.children)===null||B===void 0?void 0:B.length,(U=I.children)===null||U===void 0?void 0:U.length),me=I.children||[],Te=T.children||[],Ee=0;Ee-1)return;r.push(a)}else l>-1&&r.splice(l,1)}else if(Object(p.isString)(e)){var d=r.filter(function(k){return k.includes(s)});d.length>0&&this.clearStates(d),(u=u.filter(function(k){return!k.includes(s)})).push(a),this.set("states",u)}if(i){var v=this.get("model").type;i.setState(v,t,e,this)}},n.prototype.clearStates=function(t){var e=this,r=e.getStates(),i=e.get("shapeFactory"),a=e.get("model").type;t||(t=r),Object(p.isString)(t)&&(t=[t]);var s=r.filter(function(u){return t.indexOf(u)===-1});e.set("states",s),t.forEach(function(u){i.setState(a,u,!1,e)})},n.prototype.getContainer=function(){return this.get("group")},n.prototype.getKeyShape=function(){return this.get("keyShape")},n.prototype.getModel=function(){return this.get("model")},n.prototype.getType=function(){return this.get("type")},n.prototype.getID=function(){return this.get("id")},n.prototype.isItem=function(){return!0},n.prototype.getStates=function(){return this.get("states")},n.prototype.hasState=function(t){return this.getStates().indexOf(t)>=0},n.prototype.refresh=function(t){var e=this.get("model");this.updatePosition(e),this.updateShape(t),this.afterUpdate(),this.clearCache()},n.prototype.getUpdateType=function(t){},n.prototype.update=function(t,e){e===void 0&&(e=void 0);var r=this.get("model");if(e==="move")this.updatePosition(t);else{var i=r.visible,a=t.visible;i!==a&&a!==void 0&&this.changeVisibility(a);var s={x:r.x,y:r.y};t.x=isNaN(+t.x)?r.x:+t.x,t.y=isNaN(+t.y)?r.y:+t.y;var u=this.get("styles");if(t.stateStyles){var l=t.stateStyles;Object(p.mix)(u,l),delete t.stateStyles}Object.assign(r,t),s.x===t.x&&s.y===t.y||this.updatePosition(t),this.updateShape()}this.afterUpdate(),this.clearCache()},n.prototype.updateShape=function(t){var e=this.get("shapeFactory"),r=this.get("model"),i=r.type;if(e.shouldUpdate(i)&&i===this.get("currentShape")){var a=this.getShapeCfg(r,t);e.baseUpdate(i,a,this,t),t!=="move"&&this.setOriginStyle()}else this.draw();this.restoreStates(e,i)},n.prototype.updatePosition=function(t){var e=this.get("model"),r=Object(p.isNil)(+t.x)?+e.x:+t.x,i=Object(p.isNil)(+t.y)?+e.y:+t.y,a=this.get("group");if(Object(p.isNil)(r)||Object(p.isNil)(i))return!1;e.x=r,e.y=i;var s=a.getMatrix();return(!s||s[6]!==r||s[7]!==i)&&(a.resetMatrix(),mn(a,{x:r,y:i}),this.clearCache(),!0)},n.prototype.getBBox=function(){var t=this.get("bboxCache");return t||(t=this.calculateBBox(),this.set("bboxCache",t)),t},n.prototype.getCanvasBBox=function(){var t=this.get("bboxCanvasCache");return t||(t=this.calculateCanvasBBox(),this.set("bboxCanvasCache",t)),t},n.prototype.toFront=function(){this.get("group").toFront()},n.prototype.toBack=function(){this.get("group").toBack()},n.prototype.show=function(){this.changeVisibility(!0)},n.prototype.hide=function(){this.changeVisibility(!1)},n.prototype.changeVisibility=function(t){var e=this.get("group");t?e.show():e.hide(),this.set("visible",t)},n.prototype.isVisible=function(){return this.get("visible")},n.prototype.enableCapture=function(t){var e=this.get("group");e&&e.set("capture",t)},n.prototype.destroy=function(){if(!this.destroyed){var t=this.get("animate"),e=this.get("group");t&&e.stopAnimate(),this.clearCache(),e.remove(),this._cfg=null,this.destroyed=!0}},n}(),Ji={source:"start",target:"end"},Ai=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return Object(m.__extends)(t,n),t.prototype.getDefaultCfg=function(){return{type:"edge",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},t.prototype.setEnd=function(e,r){var i=Ji[e]+"Point",a=e+"Node",s=this.get(a);s&&!s.destroyed&&s.removeEdge(this),Object(p.isPlainObject)(r)?(this.set(i,r),this.set(a,null)):r&&(r.addEdge(this),this.set(a,r),this.set(i,null))},t.prototype.getLinkPoint=function(e,r,i){var a=Ji[e]+"Point",s=e+"Node",u=this.get(a);if(!u){var l=this.get(s),d=e+"Anchor",v=this.getPrePoint(e,i),k=r[d];Object(p.isNil)(k)||(u=l.getLinkPointByAnchor(k)),u=u||l.getLinkPoint(v),Object(p.isNil)(u.index)||this.set(e+"AnchorIndex",u.index)}return u},t.prototype.getPrePoint=function(e,r){if(r&&r.length)return r[e==="source"?0:r.length-1];var i=e==="source"?"target":"source";return this.getEndPoint(i)},t.prototype.getEndPoint=function(e){var r=e+"Node",i=Ji[e]+"Point",a=this.get(r);return a?a.get("model"):this.get(i)},t.prototype.getControlPointsByCenter=function(e){var r=this.getEndPoint("source"),i=this.getEndPoint("target"),a=this.get("shapeFactory"),s=e.type;return a.getControlPoints(s,{startPoint:r,endPoint:i})},t.prototype.getEndCenter=function(e){var r=e+"Node",i=Ji[e]+"Point",a=this.get(r);if(a){var s=a.getBBox();return{x:s.centerX,y:s.centerY}}return this.get(i)},t.prototype.init=function(){n.prototype.init.call(this),this.setSource(this.get("source")),this.setTarget(this.get("target"))},t.prototype.getShapeCfg=function(e,r){var i=this.get("linkCenter"),a=r==="move"?e:n.prototype.getShapeCfg.call(this,e);if(i)a.startPoint=this.getEndCenter("source"),a.endPoint=this.getEndCenter("target");else{var s=a.controlPoints||this.getControlPointsByCenter(a);a.startPoint=this.getLinkPoint("source",e,s),a.endPoint=this.getLinkPoint("target",e,s)}return a.sourceNode=this.get("sourceNode"),a.targetNode=this.get("targetNode"),a},t.prototype.getModel=function(){var e=this.get("model"),r=this.get("sourceNode"),i=this.get("targetNode");return r?delete e.sourceNode:e.source=this.get("startPoint"),i?delete e.targetNode:e.target=this.get("endPoint"),Object(p.isString)(e.source)||Object(p.isPlainObject)(e.source)||(e.source=e.source.getID()),Object(p.isString)(e.target)||Object(p.isPlainObject)(e.target)||(e.target=e.target.getID()),e},t.prototype.setSource=function(e){this.setEnd("source",e),this.set("source",e)},t.prototype.setTarget=function(e){this.setEnd("target",e),this.set("target",e)},t.prototype.getSource=function(){return this.get("source")},t.prototype.getTarget=function(){return this.get("target")},t.prototype.updatePosition=function(){return!1},t.prototype.update=function(e,r){r===void 0&&(r=void 0);var i=this.get("model"),a=i.visible,s=e.visible;a!==s&&s!==void 0&&this.changeVisibility(s);var u=this.get("styles");if(e.stateStyles){var l=e.stateStyles;Object(p.mix)(u,l),delete e.stateStyles}Object.assign(i,e),this.updateShape(r),this.afterUpdate(),this.clearCache()},t.prototype.destroy=function(){var e=this.get("sourceNode"),r=this.get("targetNode");e&&!e.destroyed&&e.removeEdge(this),r&&!r.destroyed&&r.removeEdge(this),n.prototype.destroy.call(this)},t}(pi),Gn=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return Object(m.__extends)(t,n),t.prototype.getNearestPoint=function(e,r){for(var i=0,a=e[0],s=gn(e[0],r),u=0;u-1&&r.splice(i,1)},t.prototype.clearCache=function(){this.set("bboxCache",null),this.set("anchorPointsCache",null)},t.prototype.getUpdateType=function(e){var r,i,a,s,u;if(e){var l=!Object(p.isNil)(e.x),d=!Object(p.isNil)(e.y),v=Object.keys(e);return v.length===1&&(l||d)||v.length===2&&l&&d?"move":Object(p.isNumber)(e.x)||Object(p.isNumber)(e.y)||e.type||e.anchorPoints||e.size||(e==null?void 0:e.style)&&(((r=e==null?void 0:e.style)===null||r===void 0?void 0:r.r)||((i=e==null?void 0:e.style)===null||i===void 0?void 0:i.width)||((a=e==null?void 0:e.style)===null||a===void 0?void 0:a.height)||((s=e==null?void 0:e.style)===null||s===void 0?void 0:s.rx)||((u=e==null?void 0:e.style)===null||u===void 0?void 0:u.ry))?"bbox":"style"}},t}(pi),zi=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return Object(m.__extends)(t,n),t.prototype.getDefaultCfg=function(){return{type:"combo",nodes:[],edges:[],combos:[]}},t.prototype.getShapeCfg=function(e){var r=this.get("styles"),i=this.get("bbox");if(r&&i){var a=e,s={r:Math.hypot(i.height,i.width)/2||nr.defaultCombo.size[0]/2,width:i.width||nr.defaultCombo.size[0],height:i.height||nr.defaultCombo.size[1]};a.style=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},r),e.style),s);var u=e.padding||nr.defaultCombo.padding;return Object(p.isNumber)(u)?(s.r+=u,s.width+=2*u,s.height+=2*u):(s.r+=u[0],s.width+=u[1]+u[3]||2*u[1],s.height+=u[0]+u[2]||2*u[0]),this.set("sizeCache",s),a}return e},t.prototype.calculateCanvasBBox=function(){if(!this.destroyed){var e=this.get("keyShape"),r=this.get("group"),i=vr(e,r);i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2;var a=this.get("sizeCache"),s=this.get("bboxCache")||{},u=s.x,l=s.x;return a?(a.width=Math.max(a.width,i.width),a.height=Math.max(a.height,i.height),e.get("type")==="circle"?(i.width=2*a.r,i.height=2*a.r):(i.width=a.width,i.height=a.height),i.minX=i.centerX-i.width/2,i.minY=i.centerY-i.height/2,i.maxX=i.centerX+i.width/2,i.maxY=i.centerY+i.height/2):(i.width=i.maxX-i.minX,i.height=i.maxY-i.minY,i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2),i.x=i.minX,i.y=i.minY,i.x===u&&i.y===l||this.set("anchorPointsCache",null),i}},t.prototype.getChildren=function(){return{nodes:this.getNodes(),combos:this.getCombos()}},t.prototype.getNodes=function(){return this.get("nodes")},t.prototype.getCombos=function(){return this.get("combos")},t.prototype.addChild=function(e){switch(e.getType()){case"node":this.addNode(e);break;case"combo":this.addCombo(e);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},t.prototype.addCombo=function(e){return this.get("combos").push(e),!0},t.prototype.addNode=function(e){return this.get("nodes").push(e),!0},t.prototype.removeChild=function(e){switch(e.getType()){case"node":this.removeNode(e);break;case"combo":this.removeCombo(e);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},t.prototype.removeCombo=function(e){if(e){var r=this.getCombos(),i=r.indexOf(e);return i>-1&&(r.splice(i,1),!0)}},t.prototype.removeNode=function(e){if(e){var r=this.getNodes(),i=r.indexOf(e);return i>-1&&(r.splice(i,1),!0)}},t.prototype.getUpdateType=function(e){},t.prototype.getBBox=function(){return this.set("bboxCanvasCache",null),this.calculateCanvasBBox()},t.prototype.clearCache=function(){this.set("bboxCache",null),this.set("bboxCanvasCache",null),this.set("anchorPointsCache",null)},t.prototype.destroy=function(){if(!this.destroyed){var e=this.get("animate"),r=this.get("group");e&&r.stopAnimate(),this.clearCache(),this.set("sizeCache",null),this.set("bbox",null),r.remove(),this._cfg=null,this.destroyed=!0}},t}(Gn),Di=function(){function n(t){var e=this;this.edgeToBeUpdateMap={},this.throttleRefresh=Object(p.throttle)(function(r){var i,a=e.graph;if(a&&!a.get("destroyed")){var s=e.edgeToBeUpdateMap;s&&((i=Object.keys(s))===null||i===void 0?void 0:i.length)&&(Object.keys(s).forEach(function(u){var l=s[u].edge;l&&!l.destroyed&&l.refresh(s[u].updateType)}),e.edgeToBeUpdateMap={})}},16,{trailing:!0,leading:!0}),this.graph=t,this.destroyed=!1}return n.prototype.addItem=function(t,e){var r=this.graph,i=t==="vedge"?"edge":t,a=r.get(i+"Group")||r.get("group"),s=Object(p.upperFirst)(i),u=null,l=r.get(i+Object(p.upperFirst)("stateStyles"))||{},d=r.get("default"+s);e.stateStyles&&(l=e.stateStyles),d&&Object(p.each)(d,function(H,Q){Object(p.isObject)(H)&&!Object(p.isArray)(H)?e[Q]=Object(p.deepMix)({},H,e[Q]):Object(p.isArray)(H)?e[Q]=e[Q]||Object(p.clone)(d[Q]):e[Q]=e[Q]||d[Q]});var v=r.get(i+"Mapper");if(v){var k=v(e);k.stateStyles&&(l=k.stateStyles,delete k.stateStyles),Object(p.each)(k,function(H,Q){Object(p.isObject)(H)&&!Object(p.isArray)(H)?e[Q]=Object(p.deepMix)({},e[Q],H):e[Q]=k[Q]||e[Q]})}if(r.emit("beforeadditem",{type:t,model:e}),t==="edge"||t==="vedge"){var T=void 0,I=void 0;if(T=e.source,I=e.target,T&&Object(p.isString)(T)&&(T=r.findById(T)),I&&Object(p.isString)(I)&&(I=r.findById(I)),!T||!I)return void console.warn("The source or target node of edge "+e.id+" does not exist!");T.getType&&T.getType()==="combo"&&(e.isComboEdge=!0),I.getType&&I.getType()==="combo"&&(e.isComboEdge=!0),u=new Ai({model:e,source:T,target:I,styles:l,linkCenter:r.get("linkCenter"),group:a.addGroup()})}else if(t==="node")u=new Gn({model:e,styles:l,group:a.addGroup()});else if(t==="combo"){var j=e.children,F=wt(j,r);isNaN(F.x)?isNaN(e.x)&&(e.x=100*Math.random()):e.x=F.x,isNaN(F.y)?isNaN(e.y)&&(e.y=100*Math.random()):e.y=F.y;var B=a.addGroup();B.setZIndex(e.depth);var U=(u=new zi({model:e,styles:l,bbox:e.collapsed?wt([],r):F,group:B})).getModel();(j||[]).forEach(function(H){var Q=r.findById(H.id);u.addChild(Q),H.depth=U.depth+2}),e.collapsed&&setTimeout(function(){r.collapseCombo(u)},0)}if(u)return r.get(t+"s").push(u),r.get("itemMap")[u.get("id")]=u,r.emit("afteradditem",{item:u,model:e}),u},n.prototype.updateItem=function(t,e){var r,i,a=this,s=this.graph;if(Object(p.isString)(t)&&(t=s.findById(t)),t&&!t.destroyed){var u="";t.getType&&(u=t.getType());var l=s.get(u+"Mapper"),d=t.getModel(),v=t.getUpdateType(e);if(l){var k=l(Object(p.deepMix)({},d,e)),T=Object(p.deepMix)({},d,k,e);k.stateStyles&&(t.set("styles",T.stateStyles),delete T.stateStyles),Object(p.each)(T,function(Q,ve){e[ve]=Q})}else Object(p.each)(e,function(Q,ve){d[ve]&&Object(p.isObject)(Q)&&!Object(p.isArray)(Q)&&(e[ve]=Object(m.__assign)(Object(m.__assign)({},d[ve]),e[ve]))});if(s.emit("beforeupdateitem",{item:t,cfg:e}),u==="edge"){if(e.source){var I=e.source;Object(p.isString)(I)&&(I=s.findById(I)),t.setSource(I)}if(e.target){var j=e.target;Object(p.isString)(j)&&(j=s.findById(j)),t.setTarget(j)}t.update(e)}if(u==="node"||u==="combo"){t.update(e,v);var F=t.getEdges(),B=v==="bbox"||v==="move";if(u==="node")v==="move"?Object(p.each)(F,function(Q){a.edgeToBeUpdateMap[Q.getID()]={edge:Q,updateType:v},a.throttleRefresh()}):B&&Object(p.each)(F,function(Q){Q.refresh()});else if(B&&u==="combo"){var U=t.get("shapeFactory"),H=d.type||"circle";(d.animate===void 0||e.animate===void 0?(i=(r=U[H])===null||r===void 0?void 0:r.options)===null||i===void 0?void 0:i.animate:d.animate||e.animate)?setTimeout(function(){if(t&&!t.destroyed){var Q=t.getKeyShape();Q&&!Q.destroyed&&Object(p.each)(F,function(ve){ve&&!ve.destroyed&&ve.refresh()})}},201):Object(p.each)(F,function(Q){Q.refresh()})}}s.emit("afterupdateitem",{item:t,cfg:e})}},n.prototype.updateCombo=function(t,e){var r,i,a=this,s=this.graph;if(Object(p.isString)(t)&&(t=s.findById(t)),t&&!t.destroyed){var u=t.getModel(),l=wt(u.collapsed?[]:e,s),d=u.collapsed?wt(e,s):l,v=d.x,k=d.y;t.set("bbox",l),t.update({x:v,y:k});var T=t.get("shapeFactory"),I=u.type||"circle";(u.animate===void 0?(i=(r=T[I])===null||r===void 0?void 0:r.options)===null||i===void 0?void 0:i.animate:u.animate)?setTimeout(function(){if(t&&!t.destroyed){var j=t.getKeyShape();j&&!j.destroyed&&(t.getShapeCfg(u),a.updateComboEdges(t))}},201):this.updateComboEdges(t)}},n.prototype.updateComboEdges=function(t){for(var e=t.getEdges()||[],r=0;r-1&&s.splice(u,1),a==="edge"){var l=r.get("v"+a+"s"),d=l.indexOf(t);d>-1&&l.splice(d,1)}var v=t.get("id");delete r.get("itemMap")[v];var k=r.get("comboTrees"),T=t.get("id");if(a==="node"){var I=t.getModel().comboId;if(k&&I){var j=k,F=!1;k.forEach(function(pe){F||Ft(pe,function(me){if(me.id===T&&j){var Te=j.indexOf(me);return j.splice(Te,1),F=!0,!1}return j=me.children,!0})})}for(var B=(ve=t.getEdges()).length-1;B>=0;B--)r.removeItem(ve[B],!1);I&&r.updateCombo(I)}else if(a==="combo"){var U,H=t.getModel().parentId,Q=!1;(k||[]).forEach(function(pe){Q||Ft(pe,function(me){return me.id!==T||(U=me,Q=!0,!1)})}),U.removed=!0,U&&U.children&&U.children.forEach(function(pe){e.removeItem(pe.id)});var ve;for(B=(ve=t.getEdges()).length;B>=0;B--)r.removeItem(ve[B],!1);H&&r.updateCombo(H)}t.destroy(),r.emit("afterremoveitem",{item:i})}},n.prototype.setItemState=function(t,e,r){var i=this.graph,a=e;Object(p.isString)(r)&&(a=e+":"+r),t.hasState(a)===r&&r||Object(p.isString)(r)&&t.hasState(a)||(i.emit("beforeitemstatechange",{item:t,state:a,enabled:r}),t.setState(e,r),i.autoPaint(),i.emit("afteritemstatechange",{item:t,state:a,enabled:r}))},n.prototype.priorityState=function(t,e){var r=this.graph,i=t;Object(p.isString)(t)&&(i=r.findById(t)),this.setItemState(i,e,!1),this.setItemState(i,e,!0)},n.prototype.clearItemStates=function(t,e){var r=this.graph;Object(p.isString)(t)&&(t=r.findById(t)),r.emit("beforeitemstatesclear",{item:t,states:e}),t.clearStates(e),r.emit("afteritemstatesclear",{item:t,states:e})},n.prototype.refreshItem=function(t){var e=this.graph;Object(p.isString)(t)&&(t=e.findById(t)),e.emit("beforeitemrefresh",{item:t}),t.refresh(),e.emit("afteritemrefresh",{item:t})},n.prototype.addCombos=function(t,e){var r=this,i=this.graph;(t||[]).forEach(function(s){_e(s,function(u){var l;return e.forEach(function(d){d.id===u.id&&(d.children=u.children,d.depth=u.depth,l=d)}),l&&r.addItem("combo",l),!0})});var a=i.get("comboGroup");a&&a.sort()},n.prototype.changeItemVisibility=function(t,e){var r=this,i=this.graph;if(Object(p.isString)(t)&&(t=i.findById(t)),t){if(i.emit("beforeitemvisibilitychange",{item:t,visible:e}),t.changeVisibility(e),t.getType&&t.getType()==="node"){var a=t.getEdges();Object(p.each)(a,function(v){(!e||v.get("source").isVisible()&&v.get("target").isVisible())&&r.changeItemVisibility(v,e)})}else if(t.getType&&t.getType()==="combo"){var s=i.get("comboTrees"),u=t.get("id"),l=[],d=!1;(s||[]).forEach(function(v){d||v.children&&v.children.length!==0&&Ft(v,function(k){return k.id!==u||(l=k.children,d=!0,!1)})}),l&&(!e||e&&!t.getModel().collapsed)&&l.forEach(function(v){var k=i.findById(v.id);r.changeItemVisibility(k,e)}),a=t.getEdges(),Object(p.each)(a,function(v){(!e||v.get("source").isVisible()&&v.get("target").isVisible())&&r.changeItemVisibility(v,e)})}return i.emit("afteritemvisibilitychange",{item:t,visible:e}),t}console.warn("The item to be shown or hidden does not exist!")},n.prototype.destroy=function(){this.graph=null,this.destroyed=!0},n}(),fi=null,Ui=function(){function n(t){this.graph=t,this.cachedStates={enabled:{},disabled:{}},this.destroyed=!1}return n.checkCache=function(t,e,r){if(r[e]){var i=r[e].indexOf(t);i>=0&&r[e].splice(i,1)}},n.cacheState=function(t,e,r){r[e]||(r[e]=[]),r[e].push(t)},n.prototype.updateState=function(t,e,r){var i=this,a=n.checkCache,s=n.cacheState;if(!t.destroyed){var u=this.cachedStates,l=u.enabled,d=u.disabled;r?(a(t,e,d),s(t,e,l)):(a(t,e,l),s(t,e,d)),fi&&clearTimeout(fi),fi=setTimeout(function(){fi=null,i.updateGraphStates()},16)}},n.prototype.updateStates=function(t,e,r){var i=this;Object(p.isString)(e)?this.updateState(t,e,r):e.forEach(function(a){i.updateState(t,a,r)})},n.prototype.updateGraphStates=function(){var t=this.graph.get("states"),e=this.cachedStates;Object(p.each)(e.disabled,function(r,i){t[i]&&(t[i]=t[i].filter(function(a){return r.indexOf(a)<0&&!r.destroyed}))}),Object(p.each)(e.enabled,function(r,i){if(t[i]){var a={};t[i].forEach(function(s){s.destroyed||(a[s.get("id")]=!0)}),r.forEach(function(s){if(!s.destroyed){var u=s.get("id");a[u]||(a[u]=!0,t[i].push(s))}})}else t[i]=r}),this.graph.emit("graphstatechange",{states:t}),this.cachedStates={enabled:{},disabled:{}}},n.prototype.destroy=function(){this.graph=null,this.cachedStates=null,fi&&clearTimeout(fi),fi=null,this.destroyed=!0},n}(),Ci=o(37),eo=function(n,t){return n&&t?n.replace(/\\?\{([^{}]+)\}/g,function(e,r){if(e.charAt(0)==="\\")return e.slice(1);var i=t[r];return i===0&&(i="0"),i||""}):n},so=function(n){var t=[];if(n.length<2)throw new Error("point length must largn than 2, now it's "+n.length);for(var e=0,r=n;e0?u-1:a-1,d=L.c.normalize([0,0],L.c.add([0,0],s[l].v,L.c.scale([0,0],s[u].v,-1)));s[u].p=L.c.add([0,0],s[u].p,L.c.scale([0,0],d,t))}return s.map(function(v){var k=v.p;return{x:k[0],y:k[1]}})}var oe=function(n,t,e){return(n.y-e.y)*(t.x-e.x)-(n.x-e.x)*(t.y-e.y)},ge=function(n){var t=n.map(function(a){return{x:a.getModel().x,y:a.getModel().y}});if(t.sort(function(a,s){return a.x===s.x?a.y-s.y:a.x-s.x}),t.length===1)return t;for(var e=[],r=0;r=2&&oe(e[e.length-2],e[e.length-1],t[r])<=0;)e.pop();e.push(t[r])}var i=[];for(r=t.length-1;r>=0;r--){for(;i.length>=2&&oe(i[i.length-2],i[i.length-1],t[r])<=0;)i.pop();i.push(t[r])}return i.pop(),e.pop(),e.concat(i)},be={maxRoutingIterations:100,maxMarchingIterations:100,pixelGroupSize:2,edgeR0:10,edgeR1:10,nodeR0:5,nodeR1:10,morphBuffer:5,threshold:.001,skip:16,nodeInfluenceFactor:1,edgeInfluenceFactor:1,negativeNodeInfluenceFactor:-.5};function De(n,t,e){var r=!1,i=function(u,l){return t.cells[u+l*t.width]},a=function(u,l){var d=0;return i(u-1,l-1)>=e&&(d+=1),i(u,l-1)>e&&(d+=2),i(u-1,l)>e&&(d+=4),i(u,l)>e&&(d+=8),d},s=function(u,l){for(var d,v,k=u,T=l,I=0;I-1){if(n[0].x===k&&n[0].y===T)return!0}else n.push({x:k,y:T});var j=a(k,T);switch(j){case-1:return console.warn("Marched out of bounds"),!0;case 0:case 3:case 2:case 7:k++;break;case 12:case 14:case 4:k--;break;case 6:d===0&&(v===-1?k-=1:k+=1);break;case 1:case 13:case 5:T--;break;case 9:d===1&&(v===0?T-=1:T+=1);break;case 10:case 8:case 11:T++;break;default:return console.warn("Marching squares invalid state: "+j),!0}}};this.march=function(){for(var u=0;ue&&a(u,l)!==15&&(r=s(u,l));return r}}var Ue=function(n,t){var e=Number.POSITIVE_INFINITY,r=null;return n.forEach(function(i){var a=Vn(i,t);a>=0&&a0?U+1:U},0);j*Math.pow(B+1,2)0;){var l=s.pop();if(s.length===0){u.push(l);break}var d=s.pop(),v=new Wn(l.x1,l.y1,d.x2,d.y2);Ue(t,v)?(u.push(l),s.push(d)):s.push(v)}return u}(function(s,u,l,d){var v=[],k=[];k.push(s);for(var T=!0,I=0,j=function(U,H){var Q=!1;return H.forEach(function(ve){Q||(Xn(U,{x:ve.x1,y:ve.y1})||Xn(U,{x:ve.x2,y:ve.y2}))&&(Q=!0)}),Q},F=function(U,H){for(var Q=0,ve=H;Q=1;)Ee=Ge(H,Te/=1.5,ve,me),je=j(Ee,k)||j(Ee,v),Ze=F(Ee,u);!Ee||je||me&&Ze||(k.push(new Wn(U.x1,U.y1,Ee.x,Ee.y)),k.push(new Wn(Ee.x,Ee.y,U.x2,U.y2)),T=!0)};pe(!0),T||pe(!1)}}T||v.push(U),I+=1};!T&&k.length;)B()}for(;k.length;)v.push(k.pop());return v}(new Wn(n.getModel().x,n.getModel().y,a.getModel().x,a.getModel().y),t,r,i))}var Fe=function(n,t,e){var r=Object.assign(be,e),i=oi(n.map(function(pe){return{x:pe.getModel().x,y:pe.getModel().y}}));n=n.sort(function(pe,me){return di({x:pe.getModel().x,y:pe.getModel().y},i)-di({x:me.getModel().x,y:me.getModel().y},i)});var a=[],s=[];n.forEach(function(pe){Me(pe,t,a,r.maxRoutingIterations,r.morphBuffer).forEach(function(me){s.push(me)}),a.push(pe)});for(var u,l,d,v,k,T=function(pe,me,Te){var Ee={minX:Number.POSITIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY,width:0,height:0,x:0,y:0},je=[];pe.forEach(function(st){je.push(st.getBBox())}),me.forEach(function(st){je.push(st.getBBox())});for(var Ze=0,nt=je;ZeEe.maxX?ct.maxX:Ee.maxX)+Te,Ee.maxY=(ct.maxY>Ee.maxY?ct.maxY:Ee.maxY)+Te}return Ee.width=Ee.maxX-Ee.minX,Ee.height=Ee.maxY-Ee.minY,Ee.x=Ee.minX,Ee.y=Ee.minY,Ee}(n,s,r.nodeR0),I=(u=T.width,l=T.height,d=r.pixelGroupSize,v=Math.ceil(u/d),k=Math.ceil(l/d),{cells:new Float32Array(Math.max(0,v*k)).fill(0),width:v,height:k}),j=[],F=[],B=0;B1)for(H=Math.floor(U.length/r.skip);H<3&&r.skip>1;)r.skip-=1,H=Math.floor(U.length/r.skip);for(var Q=0,ve=0;ve0))break;r.nonMemberInfluenceFactor*=.8}}return F};function Ye(n,t,e,r,i,a){function s(T,I){var j=Math.floor((T-I)/a.pixelGroupSize);return j<0?0:j}function u(T,I){return T*a.pixelGroupSize+I}var l=(a.nodeR0-a.nodeR1)*(a.nodeR0-a.nodeR1),d=(a.edgeR0-a.edgeR1)*(a.edgeR0-a.edgeR1),v=function(T,I){return[Math.min(s(T.minX,I+r.minX),i.width),Math.min(s(T.minY,I+r.minY),i.height),Math.min(s(T.maxX,-I+r.minX),i.width),Math.min(s(T.maxY,-I+r.minY),i.height)]},k=function(T,I){for(var j=T.getBBox(),F=v(j,a.nodeR1),B=F[0],U=F[1],H=F[2],Q=F[3],ve=U;vel.y?r?d.topLeft:d.bottomRight:r?d.topRight:d.bottomLeft:s.yu.x?r?d.topLeft:d.bottomRight:r?d.bottomLeft:d.topRight:a.x0?this.cfg.padding+t:10+t,this.cfg.bubbleCfg={nodeR0:this.padding-t,nodeR1:this.padding-t,morphBuffer:this.padding-t}},n.prototype.setType=function(){this.type=this.cfg.type,this.members.length<3&&(this.type="round-convex"),this.type!=="round-convex"&&this.type!=="smooth-convex"&&this.type!=="bubble"&&(console.warn("The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default."),this.type="round-convex")},n.prototype.calcPath=function(t,e){var r,i,a;switch(this.type){case"round-convex":a=he((r=ge(t)).map(function(s){return[s.x,s.y]}),this.padding),i=Object(Ci.b)(a);break;case"smooth-convex":(r=ge(t)).length===2?(a=he(r.map(function(s){return[s.x,s.y]}),this.padding),i=Object(Ci.b)(a)):r.length>2&&(a=K(r.map(function(s){return[s.x,s.y]}),this.padding),i=$e(a));break;case"bubble":i=(r=Fe(t,e,this.cfg.bubbleCfg)).length>=2&&$e(r)}return i},n.prototype.render=function(){this.group.addShape("path",{attrs:Object(m.__assign)({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id}),this.group.toBack()},n.prototype.addMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t)),this.members.push(t);var e=this.nonMembers.indexOf(t);return e>-1&&this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},n.prototype.addNonMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t)),this.nonMembers.push(t);var e=this.members.indexOf(t);return e>-1&&this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},n.prototype.removeMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t));var e=this.members.indexOf(t);return e>-1&&(this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},n.prototype.removeNonMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t));var e=this.nonMembers.indexOf(t);return e>-1&&(this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},n.prototype.updateData=function(t,e){var r=this;this.group.findById(this.id).remove(),t&&(this.members=t.map(function(i){return Object(p.isString)(i)?r.graph.findById(i):i})),e&&(this.nonMembers=e.map(function(i){return Object(p.isString)(i)?r.graph.findById(i):i})),this.path=this.calcPath(this.members,this.nonMembers),this.render()},n.prototype.updateStyle=function(t){this.group.findById(this.id).attr(Object(m.__assign)({},t))},n.prototype.updateCfg=function(t){var e=this;this.cfg=Object(p.deepMix)(this.cfg,t),this.id=this.cfg.id,this.group=this.cfg.group,t.members&&(this.members=this.cfg.members.map(function(r){return Object(p.isString)(r)?e.graph.findById(r):r})),t.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map(function(r){return Object(p.isString)(r)?e.graph.findById(r):r})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},n.prototype.contain=function(t){var e,r,i=this,a=(e=Object(p.isString)(t)?this.graph.findById(t):t).getKeyShape();if(e.get("type")==="path")r=_t(a.attr("path"));else{var s=a.getCanvasBBox();r=[[s.minX,s.minY],[s.maxX,s.minY],[s.maxX,s.maxY],[s.minX,s.maxY]]}return r=r.map(function(u){var l=i.graph.getPointByCanvas(u[0],u[1]);return[l.x,l.y]}),Mi(r,_t(this.path))},n.prototype.destroy=function(){this.group.remove(),this.cfg=null},n}(),Je=L.a.transform,tt=function(n){function t(e){var r=n.call(this)||this;return r.cfg=Object(p.deepMix)(r.getDefaultCfg(),e),r.init(),r.animating=!1,r.destroyed=!1,r.cfg.enabledStack&&(r.undoStack=new dr(r.cfg.maxStep),r.redoStack=new dr(r.cfg.maxStep)),r}return Object(m.__extends)(t,n),t.prototype.init=function(){this.initCanvas();var e=new qn(this),r=new tr(this),i=new Di(this),a=new Ui(this);this.set({viewController:e,modeController:r,itemController:i,stateController:a}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},t.prototype.initGroups=function(){var e=this.get("canvas"),r=this.get("canvas").get("el").id,i=e.addGroup({id:r+"-root",className:nr.rootContainerClassName});if(this.get("groupByTypes")){var a=i.addGroup({id:r+"-edge",className:nr.edgeContainerClassName}),s=i.addGroup({id:r+"-node",className:nr.nodeContainerClassName}),u=i.addGroup({id:r+"-combo",className:nr.comboContainerClassName});u.toBack(),this.set({nodeGroup:s,edgeGroup:a,comboGroup:u})}var l=i.addGroup({id:r+"-delegate",className:nr.delegateContainerClassName});this.set({delegateGroup:l}),this.set("group",i)},t.prototype.getDefaultCfg=function(){return{container:void 0,width:void 0,height:void 0,renderer:"canvas",modes:{},plugins:[],data:{},fitViewPadding:10,minZoom:.2,maxZoom:10,event:!0,groupByTypes:!0,directed:!1,autoPaint:!0,nodes:[],edges:[],combos:[],vedges:[],itemMap:{},linkCenter:!1,defaultNode:{},defaultEdge:{},nodeStateStyles:{},edgeStateStyles:{},states:{},animate:!1,animateCfg:{onFrame:void 0,duration:500,easing:"easeLinear"},callback:void 0,enabledStack:!1,maxStep:10,tooltips:[]}},t.prototype.set=function(e,r){return Object(p.isPlainObject)(e)?this.cfg=Object(m.__assign)(Object(m.__assign)({},this.cfg),e):this.cfg[e]=r,this},t.prototype.get=function(e){var r;return(r=this.cfg)===null||r===void 0?void 0:r[e]},t.prototype.getGroup=function(){return this.get("group")},t.prototype.getContainer=function(){return this.get("container")},t.prototype.getMinZoom=function(){return this.get("minZoom")},t.prototype.setMinZoom=function(e){return this.set("minZoom",e)},t.prototype.getMaxZoom=function(){return this.get("maxZoom")},t.prototype.setMaxZoom=function(e){return this.set("maxZoom",e)},t.prototype.getWidth=function(){return this.get("width")},t.prototype.getHeight=function(){return this.get("height")},t.prototype.clearItemStates=function(e,r){Object(p.isString)(e)&&(e=this.findById(e));var i=this.get("itemController");r||(r=e.get("states")),i.clearItemStates(e,r),this.get("stateController").updateStates(e,r,!1)},t.prototype.node=function(e){typeof e=="function"&&this.set("nodeMapper",e)},t.prototype.edge=function(e){typeof e=="function"&&this.set("edgeMapper",e)},t.prototype.combo=function(e){typeof e=="function"&&this.set("comboMapper",e)},t.prototype.findById=function(e){return this.get("itemMap")[e]},t.prototype.find=function(e,r){var i,a=this.get(e+"s");return Object(p.each)(a,function(s,u){if(r(s,u))return i=s}),i},t.prototype.findAll=function(e,r){var i=[];return Object(p.each)(this.get(e+"s"),function(a,s){r(a,s)&&i.push(a)}),i},t.prototype.findAllByState=function(e,r){return this.findAll(e,function(i){return i.hasState(r)})},t.prototype.translate=function(e,r){var i=this.get("group"),a=Object(p.clone)(i.getMatrix());a||(a=[1,0,0,0,1,0,0,0,1]),a=Je(a,[["t",e,r]]),i.setMatrix(a),this.emit("viewportchange",{action:"translate",matrix:i.getMatrix()}),this.autoPaint()},t.prototype.moveTo=function(e,r,i,a){var s=this.get("group");Qn(s,{x:e,y:r},i,a||{duration:500,easing:"easeCubic"}),this.emit("viewportchange",{action:"move",matrix:s.getMatrix()})},t.prototype.fitView=function(e){e&&this.set("fitViewPadding",e),this.get("viewController").fitView(),this.autoPaint()},t.prototype.fitCenter=function(){this.get("viewController").fitCenter(),this.autoPaint()},t.prototype.addBehaviors=function(e,r){return this.get("modeController").manipulateBehaviors(e,r,!0),this},t.prototype.removeBehaviors=function(e,r){return this.get("modeController").manipulateBehaviors(e,r,!1),this},t.prototype.updateBehavior=function(e,r,i){return this.get("modeController").updateBehavior(e,r,i),this},t.prototype.zoom=function(e,r){var i=this.get("group"),a=Object(p.clone)(i.getMatrix()),s=this.get("minZoom"),u=this.get("maxZoom");a||(a=[1,0,0,0,1,0,0,0,1]),a=Je(a,r?[["t",-r.x,-r.y],["s",e,e],["t",r.x,r.y]]:[["s",e,e]]),s&&a[0]u||(i.setMatrix(a),this.emit("viewportchange",{action:"zoom",matrix:a}),this.autoPaint())},t.prototype.zoomTo=function(e,r){var i=e/this.getZoom();this.zoom(i,r)},t.prototype.focusItem=function(e,r,i){var a=this.get("viewController"),s=!1;r?s=!0:r===void 0&&(s=this.get("animate"));var u={};i?u=i:i===void 0&&(u=this.get("animateCfg")),a.focus(e,s,u),this.autoPaint()},t.prototype.autoPaint=function(){this.get("autoPaint")&&this.paint()},t.prototype.paint=function(){this.emit("beforepaint"),this.get("canvas").draw(),this.emit("afterpaint")},t.prototype.getPointByClient=function(e,r){return this.get("viewController").getPointByClient(e,r)},t.prototype.getClientByPoint=function(e,r){return this.get("viewController").getClientByPoint(e,r)},t.prototype.getPointByCanvas=function(e,r){return this.get("viewController").getPointByCanvas(e,r)},t.prototype.getCanvasByPoint=function(e,r){return this.get("viewController").getCanvasByPoint(e,r)},t.prototype.getGraphCenterPoint=function(){var e=this.get("group").getCanvasBBox();return{x:(e.minX+e.maxX)/2,y:(e.minY+e.maxY)/2}},t.prototype.getViewPortCenterPoint=function(){return this.getPointByCanvas(this.get("width")/2,this.get("height")/2)},t.prototype.showItem=function(e,r){r===void 0&&(r=!0);var i=this.get("itemController").changeItemVisibility(e,!0);if(r&&this.get("enabledStack")){var a=i.getID(),s={},u={};switch(i.getType()){case"node":s.nodes=[{id:a,visible:!1}],u.nodes=[{id:a,visible:!0}];break;case"edge":s.nodes=[{id:a,visible:!1}],u.edges=[{id:a,visible:!0}];break;case"combo":s.nodes=[{id:a,visible:!1}],u.combos=[{id:a,visible:!0}]}this.pushStack("visible",{before:s,after:u})}},t.prototype.hideItem=function(e,r){r===void 0&&(r=!0);var i=this.get("itemController").changeItemVisibility(e,!1);if(r&&this.get("enabledStack")){var a=i.getID(),s={},u={};switch(i.getType()){case"node":s.nodes=[{id:a,visible:!0}],u.nodes=[{id:a,visible:!1}];break;case"edge":s.nodes=[{id:a,visible:!0}],u.edges=[{id:a,visible:!1}];break;case"combo":s.nodes=[{id:a,visible:!0}],u.combos=[{id:a,visible:!1}]}this.pushStack("visible",{before:s,after:u})}},t.prototype.refreshItem=function(e){this.get("itemController").refreshItem(e)},t.prototype.setAutoPaint=function(e){this.set("autoPaint",e),this.get("canvas").set("autoDraw",e)},t.prototype.remove=function(e,r){r===void 0&&(r=!0),this.removeItem(e,r)},t.prototype.removeItem=function(e,r){r===void 0&&(r=!0);var i=e;if(Object(p.isString)(e)&&(i=this.findById(e)),!i&&Object(p.isString)(e))console.warn("The item to be removed does not exist!");else if(i){var a="";if(i.getType&&(a=i.getType()),r&&this.get("enabledStack")){var s=Object(m.__assign)(Object(m.__assign)({},i.getModel()),{itemType:a}),u={};switch(a){case"node":u.nodes=[s],u.edges=[];for(var l=i.getEdges(),d=l.length-1;d>=0;d--)u.edges.push(Object(m.__assign)(Object(m.__assign)({},l[d].getModel()),{itemType:"edge"}));break;case"edge":u.edges=[s];break;case"combo":u.combos=[s]}this.pushStack("delete",{before:u,after:{}})}if(a==="node"&&i.getModel().comboId&&this.updateComboTree(i),this.get("itemController").removeItem(i),a==="combo"){var v=vt(this.get("comboTrees"));this.set("comboTrees",v)}}},t.prototype.addItem=function(e,r,i,a){i===void 0&&(i=!0),a===void 0&&(a=!0);var s=this.get("comboSorted");this.set("comboSorted",s&&!a);var u=this.get("itemController");if(!function(ve,pe){if(ve==="node"||ve==="combo"){if(pe.id&&!Object(p.isString)(pe.id))return console.warn("G6 Warning Tips: missing 'id' property, or the 'id' %c"+pe.id+"%c is not a string.","font-size: 20px; color: red;",""),!1}else if(!(ve!=="edge"||pe.source&&pe.target))return console.warn("G6 Warning Tips: missing 'source' or 'target' for the edge."),!1;return!0}(e,r))return!1;if(!r.id||!this.findById(r.id)){var l,d=this.get("comboTrees");if(d||(d=[]),e==="combo"){var v=this.get("itemMap"),k=!1;if(d.forEach(function(ve){k||_e(ve,function(pe){if(r.parentId===pe.id){k=!0;var me=Object(m.__assign)({id:r.id,depth:pe.depth+2},r);pe.children?pe.children.push(me):pe.children=[me],r.depth=me.depth,l=u.addItem(e,r)}var Te=v[pe.id];return k&&Te&&Te.getType&&Te.getType()==="combo"&&u.updateCombo(Te,pe.children),!0})}),!k){var T=Object(m.__assign)({id:r.id,depth:0},r);r.depth=T.depth,d.push(T),l=u.addItem(e,r)}this.set("comboTrees",d)}else if(e==="node"&&Object(p.isString)(r.comboId)&&d){var I;(I=this.findById(r.comboId))&&I.getType&&I.getType()!=="combo"&&console.warn("'"+r.comboId+"' is not a id of a combo in the graph, the node will be added without combo."),l=u.addItem(e,r);var j=this.get("itemMap"),F=!1,B=!1;(d||[]).forEach(function(ve){B||F||_e(ve,function(pe){if(pe.id===r.id)return B=!0,!1;if(r.comboId===pe.id&&!B){F=!0;var me=Object(p.clone)(r);me.itemType="node",pe.children?pe.children.push(me):pe.children=[me],me.depth=pe.depth+1}return F&&j[pe.id].getType&&j[pe.id].getType()==="combo"&&u.updateCombo(j[pe.id],pe.children),!0})})}else l=u.addItem(e,r);(e==="node"&&r.comboId||e==="combo"&&r.parentId)&&(I=this.findById(r.comboId||r.parentId))&&I.getType&&I.getType()==="combo"&&I.addChild(l);var U=this.get("combos");if(U&&U.length>0&&this.sortCombos(),this.autoPaint(),i&&this.get("enabledStack")){var H=Object(m.__assign)(Object(m.__assign)({},l.getModel()),{itemType:e}),Q={};switch(e){case"node":Q.nodes=[H];break;case"edge":Q.edges=[H];break;case"combo":Q.combos=[H]}this.pushStack("add",{before:{},after:Q})}return l}console.warn("This item exists already. Be sure the id %c"+r.id+"%c is unique.","font-size: 20px; color: red;","")},t.prototype.add=function(e,r,i,a){return i===void 0&&(i=!0),a===void 0&&(a=!0),this.addItem(e,r,i,a)},t.prototype.updateItem=function(e,r,i){var a=this;i===void 0&&(i=!0);var s,u=this.get("itemController");s=Object(p.isString)(e)?this.findById(e):e;var l=Object(p.clone)(s.getModel()),d="";s.getType&&(d=s.getType());var v=Object(m.__spreadArray)([],s.getStates());if(d==="combo"&&Object(p.each)(v,function(j){return a.setItemState(s,j,!1)}),u.updateItem(s,r),d==="combo"&&Object(p.each)(v,function(j){return a.setItemState(s,j,!0)}),i&&this.get("enabledStack")){var k={nodes:[],edges:[],combos:[]},T={nodes:[],edges:[],combos:[]},I=Object(m.__assign)({id:l.id},r);switch(d){case"node":k.nodes.push(l),T.nodes.push(I);break;case"edge":k.edges.push(l),T.edges.push(I);break;case"combo":k.combos.push(l),T.combos.push(I)}d==="node"&&k.nodes.push(l),this.pushStack("update",{before:k,after:T})}},t.prototype.update=function(e,r,i){i===void 0&&(i=!0),this.updateItem(e,r,i)},t.prototype.setItemState=function(e,r,i){Object(p.isString)(e)&&(e=this.findById(e)),this.get("itemController").setItemState(e,r,i);var a=this.get("stateController");Object(p.isString)(i)?a.updateState(e,r+":"+i,!0):a.updateState(e,r,i)},t.prototype.priorityState=function(e,r){this.get("itemController").priorityState(e,r)},t.prototype.data=function(e){er(e),this.set("data",e)},t.prototype.render=function(){var e=this;this.set("comboSorted",!1);var r=this.get("data");if(this.get("enabledStack")&&this.clearStack(),!r)throw new Error("data must be defined first");var i=r.nodes,a=i===void 0?[]:i,s=r.edges,u=s===void 0?[]:s,l=r.combos,d=l===void 0?[]:l;if(this.clear(!0),this.emit("beforerender"),Object(p.each)(a,function(I){e.add("node",I,!1,!1)}),d&&d.length!==0){var v=lt(d,a);this.set("comboTrees",v),e.addCombos(d)}Object(p.each)(u,function(I){e.add("edge",I,!1,!1)});var k=e.get("animate");(e.get("fitView")||e.get("fitCenter"))&&e.set("animate",!1);var T=e.get("layoutController");if(T){if(T.layout(function(){e.get("fitView")?e.fitView():e.get("fitCenter")&&e.fitCenter(),e.autoPaint(),e.emit("afterrender"),(e.get("fitView")||e.get("fitCenter"))&&e.set("animate",k)}),this.destroyed)return}else e.get("fitView")&&e.fitView(),e.get("fitCenter")&&e.fitCenter(),e.emit("afterrender"),e.set("animate",k);this.get("groupByTypes")||(d&&d.length!==0?this.sortCombos():r.nodes&&r.edges&&r.nodes.length=0;T--)k[T].destroyed&&k.splice(T,1);d&&(i.addCombos(d),this.get("groupByTypes")||this.sortCombos()),this.diffItems("edge",l,e.edges),Object(p.each)(u,function(j,F){(!j.getType||j.getType()!=="node"&&j.getType()!=="combo")&&l.edges.indexOf(j)<0&&(delete u[F],i.remove(j,!1))}),this.set({nodes:l.nodes,edges:l.edges});var I=this.get("layoutController");return I&&(I.changeData(),i.get("animate")&&!I.getLayoutType()?i.positionsAnimate():i.autoPaint()),setTimeout(function(){a.set("localRefresh",s)},16),this},t.prototype.addCombos=function(e){var r=this.get("comboTrees");this.get("itemController").addCombos(r,e)},t.prototype.createCombo=function(e,r){var i=this;this.set("comboSorted",!1);var a,s="";if(e){if(Object(p.isString)(e))s=e,a={id:e};else{if(!(s=e.id))return void console.warn("Create combo failed. Please assign a unique string id for the adding combo.");a=e}var u=r.map(function(d){var v=i.findById(d),k=v.getModel(),T="";v.getType&&(T=v.getType());var I={id:v.getID(),itemType:T};return T==="combo"?(I.parentId=s,k.parentId=s):T==="node"&&(I.comboId=s,k.comboId=s),I});a.children=u,this.addItem("combo",a,!1),this.set("comboSorted",!1);var l=this.get("comboTrees");(l||[]).forEach(function(d){_e(d,function(v){return v.id!==s||(v.itemType="combo",v.children=u,!1)})}),l&&this.sortCombos()}},t.prototype.uncombo=function(e){var r=this,i=e;if(Object(p.isString)(e)&&(i=this.findById(e)),!i||i.getType&&i.getType()!=="combo")console.warn("The item is not a combo!");else{var a=i.getModel().parentId,s=this.get("comboTrees");s||(s=[]);var u,l=this.get("itemMap"),d=i.get("id"),v=[],k=this.get("combos"),T=this.findById(a);if(s.forEach(function(j){u||_e(j,function(F){if(F.id===d){u=F,i.getEdges().forEach(function(U){r.removeItem(U,!1)});var B=k.indexOf(i);k.splice(B,1),delete l[d],i.destroy()}return!a||!u||F.id!==a||(T.removeCombo(i),(B=(v=F.children).indexOf(u))!==-1&&v.splice(B,1),u.children.forEach(function(U){var H=r.findById(U.id),Q=H.getModel();H.getType&&H.getType()==="combo"?(U.parentId=a,delete U.comboId,Q.parentId=a,delete Q.comboId):H.getType&&H.getType()==="node"&&(U.comboId=a,Q.comboId=a),T.addChild(H),v.push(U)}),!1)})}),!a&&u){var I=s.indexOf(u);s.splice(I,1),u.children.forEach(function(j){j.parentId=void 0;var F=r.findById(j.id).getModel();delete F.parentId,delete F.comboId,j.itemType!=="node"&&s.push(j)})}}},t.prototype.updateCombos=function(){var e=this,r=this.get("comboTrees"),i=this.get("itemController"),a=this.get("itemMap");(r||[]).forEach(function(s){_e(s,function(u){if(!u)return!0;var l=a[u.id];if(l&&l.getType&&l.getType()==="combo"){var d=Object(m.__spreadArray)([],l.getStates());Object(p.each)(d,function(v){return e.setItemState(l,v,!1)}),i.updateCombo(l,u.children),Object(p.each)(d,function(v){return e.setItemState(l,v,!0)})}return!0})}),this.sortCombos()},t.prototype.updateCombo=function(e){var r,i=this,a=e;if(Object(p.isString)(e)&&(a=this.findById(e)),!a||a.getType&&a.getType()!=="combo")console.warn("The item to be updated is not a combo!");else{r=a.get("id");var s=this.get("comboTrees"),u=this.get("itemController"),l=this.get("itemMap");(s||[]).forEach(function(d){_e(d,function(v){if(!v)return!0;var k=l[v.id];if(r===v.id&&k&&k.getType&&k.getType()==="combo"){var T=Object(m.__spreadArray)([],k.getStates());Object(p.each)(T,function(I){k.getStateStyle(I)&&i.setItemState(k,I,!1)}),u.updateCombo(k,v.children),Object(p.each)(T,function(I){k.getStateStyle(I)&&i.setItemState(k,I,!0)}),r&&(r=v.parentId)}return!0})})}},t.prototype.updateComboTree=function(e,r,i){i===void 0&&(i=!0);var a;this.set("comboSorted",!1);var s,u=(a=Object(p.isString)(e)?this.findById(e):e).getModel(),l=u.comboId||u.parentId,d="";if(a.getType&&(d=a.getType()),r&&d==="combo"){var v,k=this.get("comboTrees"),T=!0;if((k||[]).forEach(function(U){v||Ft(U,function(H){if(!v)return H.id===a.getID()&&(v=H),!0})}),Ft(v,function(U){return U.id!==r||(T=!1,!1)}),!T)return void console.warn("Failed to update the combo tree! The parentId points to a descendant of the combo!")}if(i&&this.get("enabledStack")){var I={},j={};d==="combo"?(I.combos=[{id:u.id,parentId:u.parentId}],j.combos=[{id:u.id,parentId:r}]):d==="node"&&(I.nodes=[{id:u.id,parentId:u.comboId}],j.nodes=[{id:u.id,parentId:r}]),this.pushStack("updateComboTree",{before:I,after:j})}if(u.parentId||u.comboId){var F=this.findById(u.parentId||u.comboId);F&&F.removeChild(a)}d==="combo"?u.parentId=r:d==="node"&&(u.comboId=r),r&&(s=this.findById(r))&&s.addChild(a),l&&(s=this.findById(l))&&s.removeChild(a);var B=vt(this.get("comboTrees"),u.id,r);this.set("comboTrees",B),this.updateCombos()},t.prototype.save=function(){var e=[],r=[],i=[];return Object(p.each)(this.get("nodes"),function(a){e.push(a.getModel())}),Object(p.each)(this.get("edges"),function(a){r.push(a.getModel())}),Object(p.each)(this.get("combos"),function(a){i.push(a.getModel())}),{nodes:e,edges:r,combos:i}},t.prototype.changeSize=function(e,r){return this.get("viewController").changeSize(e,r),this},t.prototype.refresh=function(){if(this.emit("beforegraphrefresh"),this.get("animate"))this.positionsAnimate();else{var e=this.get("nodes"),r=this.get("edges"),i=this.get("edges");Object(p.each)(e,function(a){a.refresh()}),Object(p.each)(r,function(a){a.refresh()}),Object(p.each)(i,function(a){a.refresh()})}this.emit("aftergraphrefresh"),this.autoPaint()},t.prototype.getNodes=function(){return this.get("nodes")},t.prototype.getEdges=function(){return this.get("edges")},t.prototype.getCombos=function(){return this.get("combos")},t.prototype.getComboChildren=function(e){if(Object(p.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()==="combo"))return e.getChildren();console.warn("The combo does not exist!")},t.prototype.positionsAnimate=function(){var e=this;e.emit("beforeanimate");var r=e.get("animateCfg"),i=r.onFrame,a=e.getNodes(),s=a.map(function(u){var l=u.getModel();return{id:l.id,x:l.x,y:l.y}});e.isAnimating()&&e.stopAnimate(),e.get("canvas").animate(function(u){Object(p.each)(s,function(l){var d=e.findById(l.id);if(d&&!d.destroyed){var v=d.get("originAttrs"),k=d.get("model");if(!v){var T=d.getContainer().getMatrix();T||(T=[1,0,0,0,1,0,0,0,1]),v={x:T[6],y:T[7]},d.set("originAttrs",v)}if(i){var I=i(d,u,l,v);d.set("model",Object.assign(k,I))}else k.x=v.x+(l.x-v.x)*u,k.y=v.y+(l.y-v.y)*u}}),e.refreshPositions()},{duration:r.duration,easing:r.easing,callback:function(){Object(p.each)(a,function(u){u.set("originAttrs",null)}),r.callback&&r.callback(),e.emit("afteranimate"),e.animating=!1}})},t.prototype.refreshPositions=function(){this.emit("beforegraphrefreshposition");var e,r=this.get("nodes"),i=this.get("edges"),a=this.get("vedges"),s=this.get("combos"),u={};Object(p.each)(r,function(l){e=l.getModel();var d=l.get("originAttrs");if(!d||e.x!==d.x||e.y!==d.y){var v=l.updatePosition({x:e.x,y:e.y});u[e.id]=v,e.comboId&&(u[e.comboId]=u[e.comboId]||v)}}),s&&s.length!==0&&this.updateCombos(),Object(p.each)(i,function(l){var d=l.getSource().getModel(),v=l.getTarget();if(!Object(p.isPlainObject)(v)){var k=v.getModel();(u[d.id]||u[k.id]||l.getModel().isComboEdge)&&l.refresh()}}),Object(p.each)(a,function(l){l.refresh()}),this.emit("aftergraphrefreshposition"),this.autoPaint()},t.prototype.stopAnimate=function(){this.get("canvas").stopAnimate()},t.prototype.isAnimating=function(){return this.animating},t.prototype.getZoom=function(){var e=this.get("group").getMatrix();return e?e[0]:1},t.prototype.getCurrentMode=function(){return this.get("modeController").getMode()},t.prototype.setMode=function(e){return this.get("modeController").setMode(e),this},t.prototype.clear=function(e){var r;return e===void 0&&(e=!1),(r=this.get("canvas"))===null||r===void 0||r.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],groups:[],combos:[],comboTrees:[]}),e||this.emit("afterrender"),this},t.prototype.updateLayout=function(e,r,i){var a=this,s=this.get("layoutController");if(Object(p.isString)(e)&&(e={type:e}),r){var u=i;u||(u=r==="begin"?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),u=this.getPointByCanvas(u.x,u.y);var l=["force","gForce","fruchterman"];l.includes(e.type)||!e.type&&l.includes(s==null?void 0:s.layoutType)?e.center=[u.x,u.y]:this.once("afterlayout",function(k){var T=a.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];u.x=u.x*T[0]+T[6],u.y=u.y*T[0]+T[7];var I=a.getGroup().getCanvasBBox(),j=I.minX,F=I.maxX,B=I.minY,U={x:(j+F)/2,y:(B+I.maxY)/2};r==="begin"&&(U.x=j,U.y=B),a.translate(u.x-U.x,u.y-U.y)})}var d=this.get("layout"),v={};Object.assign(v,d,e),this.set("layout",v),s.isLayoutTypeSame(v)&&v.gpuEnabled===d.gpuEnabled?s.updateLayoutCfg(v):s.changeLayout(v)},t.prototype.destroyLayout=function(){this.get("layoutController").destroyLayout()},t.prototype.layout=function(){var e=this.get("layoutController"),r=this.get("layout");r&&e&&(r.workerEnabled?e.layout():e.layoutMethod?e.relayout(!0):e.layout())},t.prototype.collapseCombo=function(e){var r=this;if(Object(p.isString)(e)&&(e=this.findById(e)),e){this.emit("beforecollapseexpandcombo",{action:"expand",item:e});var i=e.getModel();this.get("itemController").collapseCombo(e),i.collapsed=!0;var a=this.getEdges().concat(this.get("vedges")),s=[],u=[],l=this.get("comboTrees"),d=!1;(l||[]).forEach(function(T){d||Ft(T,function(I){if(d&&I.depth<=i.depth)return!1;if(i.id===I.id&&(d=!0),d){var j=r.findById(I.id);j&&j.getType&&j.getType()==="combo"&&(s=s.concat(j.getNodes()),u=u.concat(j.getCombos()))}return!0})});var v={},k=[];a.forEach(function(T){if(!T.isVisible()||T.getModel().isVEdge){var I=T.getSource(),j=T.getTarget();if((s.includes(I)||u.includes(I))&&!s.includes(j)&&!u.includes(j)||I.getModel().id===i.id){if((H=T.getModel()).isVEdge)return void r.removeItem(T,!1);for(var F=j.getModel();!j.isVisible();){if(!(j=r.findById(F.parentId||F.comboId))||!F.parentId&&!F.comboId)return;F=j.getModel()}var B=F.id;if(v[i.id+"-"+B])return void(v[i.id+"-"+B]+=H.size||1);var U=r.addItem("vedge",{source:i.id,target:B,isVEdge:!0},!1);v[i.id+"-"+B]=H.size||1,k.push(U)}else if(!s.includes(I)&&!u.includes(I)&&(s.includes(j)||u.includes(j))||j.getModel().id===i.id){var H;if((H=T.getModel()).isVEdge)return void r.removeItem(T,!1);for(var Q=I.getModel();!I.isVisible();){if(!(I=r.findById(Q.parentId||Q.comboId))||!Q.parentId&&!Q.comboId)return;Q=I.getModel()}var ve=Q.id;if(v[ve+"-"+i.id])return void(v[ve+"-"+i.id]+=H.size||1);U=r.addItem("vedge",{target:i.id,source:ve,isVEdge:!0},!1),v[ve+"-"+i.id]=H.size||1,k.push(U)}}}),k.forEach(function(T){var I=T.getModel();r.updateItem(T,{size:v[I.source+"-"+I.target]},!1)}),this.emit("aftercollapseexpandcombo",{action:"collapse",item:e})}else console.warn("The combo to be collapsed does not exist!")},t.prototype.expandCombo=function(e){var r=this;if(Object(p.isString)(e)&&(e=this.findById(e)),!e||e.getType&&e.getType()!=="combo")console.warn("The combo to be collapsed does not exist!");else{this.emit("beforecollapseexpandcombo",{action:"expand",item:e});var i=e.getModel();this.get("itemController").expandCombo(e),i.collapsed=!1;var a=this.getEdges().concat(this.get("vedges")),s=[],u=[],l=this.get("comboTrees"),d=!1;(l||[]).forEach(function(T){d||Ft(T,function(I){if(d&&I.depth<=i.depth)return!1;if(i.id===I.id&&(d=!0),d){var j=r.findById(I.id);j&&j.getType&&j.getType()==="combo"&&(s=s.concat(j.getNodes()),u=u.concat(j.getCombos()))}return!0})});var v={},k={};a.forEach(function(T){if(!T.isVisible()||T.getModel().isVEdge){var I=T.getSource(),j=T.getTarget(),F=I.get("id"),B=j.get("id");if((s.includes(I)||u.includes(I))&&!s.includes(j)&&!u.includes(j)||F===i.id){if(T.getModel().isVEdge)return void r.removeItem(T,!1);for(var U=j.getModel();!j.isVisible();){if(!(j=r.findById(U.comboId||U.parentId))||!U.parentId&&!U.comboId)return;U=j.getModel()}B=U.id;for(var H=I.getModel();!I.isVisible();){if(!(I=r.findById(H.comboId||H.parentId))||!H.parentId&&!H.comboId)return;if(H.comboId===i.id||H.parentId===i.id)break;H=I.getModel()}if(F=H.id,B){if(v[ve=F+"-"+B])return v[ve]+=T.getModel().size||1,void r.updateItem(k[ve],{size:v[ve]},!1);var Q=r.addItem("vedge",{source:F,target:B,isVEdge:!0},!1);v[ve]=T.getModel().size||1,k[ve]=Q}}else if(!s.includes(I)&&!u.includes(I)&&(s.includes(j)||u.includes(j))||B===i.id){if(T.getModel().isVEdge)return void r.removeItem(T,!1);for(H=I.getModel();!I.isVisible();){if(!(I=r.findById(H.comboId||H.parentId))||!H.parentId&&!H.comboId)return;H=I.getModel()}for(F=H.id,U=j.getModel();!j.isVisible();){if(!(j=r.findById(U.comboId||U.parentId))||!U.parentId&&!U.comboId)return;if(U.comboId===i.id||U.parentId===i.id)break;U=j.getModel()}if(B=U.id,F){var ve;if(v[ve=F+"-"+B])return v[ve]+=T.getModel().size||1,void r.updateItem(k[ve],{size:v[ve]},!1);Q=r.addItem("vedge",{target:B,source:F,isVEdge:!0},!1),v[ve]=T.getModel().size||1,k[ve]=Q}}else(s.includes(I)||u.includes(I))&&(s.includes(j)||u.includes(j))&&I.isVisible()&&j.isVisible()&&T.show()}}),this.emit("aftercollapseexpandcombo",{action:"expand",item:e})}},t.prototype.collapseExpandCombo=function(e){if(Object(p.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()==="combo")){for(var r=e.getModel(),i=this.findById(r.parentId);i;){var a=i.getModel();if(a.collapsed)return console.warn("Fail to expand the combo since it's ancestor combo is collapsed."),void(i=void 0);i=this.findById(a.parentId)}r.collapsed?this.expandCombo(e):this.collapseCombo(e),this.updateCombo(e)}},t.prototype.sortCombos=function(){var e=this;if(!this.get("comboSorted")){this.set("comboSorted",!0);var r=[],i={};(this.get("comboTrees")||[]).forEach(function(a){Ft(a,function(s){return r[s.depth]?r[s.depth].push(s.id):r[s.depth]=[s.id],i[s.id]=s.depth,!0})}),(this.getEdges().concat(this.get("vedges"))||[]).forEach(function(a){var s=a.getModel(),u=i[s.source]||0,l=i[s.target]||0,d=Math.max(u,l);r[d]?r[d].push(s.id):r[d]=[s.id]}),r.forEach(function(a){if(a&&a.length)for(var s=a.length-1;s>=0;s--){var u=e.findById(a[s]);u&&u.toFront()}})}},t.prototype.getNeighbors=function(e,r){var i=e;return Object(p.isString)(e)&&(i=this.findById(e)),i.getNeighbors(r)},t.prototype.getNodeDegree=function(e,r,i){r===void 0&&(r=void 0),i===void 0&&(i=!1);var a=e;Object(p.isString)(e)&&(a=this.findById(e));var s=this.get("degrees");s&&!i||(s=V(this.save()),this.set("degrees",s));var u=s[a.getID()],l=0;if(!u)return 0;switch(r){case"in":l=u.inDegree;break;case"out":l=u.outDegree;break;case"all":l=u;break;default:l=u.degree}return l},t.prototype.getUndoStack=function(){return this.undoStack},t.prototype.getRedoStack=function(){return this.redoStack},t.prototype.getStackData=function(){return this.get("enabledStack")?{undoStack:this.undoStack.toArray(),redoStack:this.redoStack.toArray()}:null},t.prototype.clearStack=function(){this.get("enabledStack")&&(this.undoStack.clear(),this.redoStack.clear())},t.prototype.pushStack=function(e,r,i){if(e===void 0&&(e="update"),i===void 0&&(i="undo"),this.get("enabledStack")){var a=r?Object(p.clone)(r):{before:{},after:Object(p.clone)(this.save())};i==="redo"?this.redoStack.push({action:e,data:a}):this.undoStack.push({action:e,data:a}),this.emit("stackchange",{undoStack:this.undoStack,redoStack:this.redoStack})}else console.warn("\u8BF7\u5148\u542F\u7528 undo & redo \u529F\u80FD\uFF0C\u5728\u5B9E\u4F8B\u5316 Graph \u65F6\u5019\u914D\u7F6E enabledStack: true !")},t.prototype.getAdjMatrix=function(e,r){e===void 0&&(e=!0),r===void 0&&(r=this.get("directed"));var i=this.get("adjMatrix");return i&&e||(i=z(this.save(),r),this.set("adjMatrix",i)),i},t.prototype.getShortestPathMatrix=function(e,r){e===void 0&&(e=!0),r===void 0&&(r=this.get("directed"));var i=this.get("adjMatrix"),a=this.get("shortestPathMatrix");return i&&e||(i=z(this.save(),r),this.set("adjMatrix",i)),a&&e||(a=ce(this.save(),r),this.set("shortestPathMatrix",a)),a},t.prototype.on=function(e,r,i){return n.prototype.on.call(this,e,r,i)},t.prototype.destroy=function(){this.clear(),this.clearStack(),this.get("itemController").destroy(),this.get("modeController").destroy(),this.get("viewController").destroy(),this.get("stateController").destroy(),this.get("canvas").destroy(),this.cfg=null,this.destroyed=!0,this.redoStack=null,this.undoStack=null},t.prototype.createHull=function(e){if(e.members&&!(e.members.length<1)){var r=this.get("hullGroup"),i=this.get("hullMap");if(i||(i={},this.set("hullMap",i)),r&&!r.get("destroyed")||((r=this.get("group").addGroup({id:"hullGroup"})).toBack(),this.set("hullGroup",r)),i[e.id])return console.warn("Existed hull id."),i[e.id];var a=r.addGroup({id:e.id+"-container"}),s=new Xe(this,Object(m.__assign)(Object(m.__assign)({},e),{group:a}));return i[s.id]=s,s}console.warn("Create hull failed! The members is empty.")},t.prototype.getHulls=function(){return this.get("hullMap")},t.prototype.getHullById=function(e){return this.get("hullMap")[e]},t.prototype.removeHull=function(e){var r;r=Object(p.isString)(e)?this.getHullById(e):e,delete this.get("hullMap")[r.id],r.destroy()},t.prototype.removeHulls=function(){var e=this.getHulls();e&&Object.keys(e).length&&(Object.keys(e).forEach(function(r){e[r].destroy()}),this.set("hullMap",{}))},t}(P.a);function Ve(n){return(Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}var it=L.a.transform,pt=["startArrow","endArrow"],Et={lineWidth:1,stroke:void 0,fill:void 0,lineAppendWidth:1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,x:0,y:0,r:10,width:20,height:20,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},mt={edge:{lineWidth:1,stroke:"#000",lineDash:void 0,startArrow:!1,endArrow:!1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},node:Et,combo:Et},xt={options:{},itemType:"",type:"",getCustomConfig:function(n){return{}},getOptions:function(n,t){return t==="move"||t==="bbox"?{}:Object(p.deepMix)({labelCfg:{style:{fontFamily:typeof window!="undefined"&&window.getComputedStyle&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif"}},descriptionCfg:{style:{fontFamily:typeof window!="undefined"&&window.getComputedStyle&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif"}}},this.options,this.getCustomConfig(n)||{},n)},draw:function(n,t){var e=this.drawShape(n,t);return e.set("className",this.itemType+"-shape"),n.label&&this.drawLabel(n,t).set("className",this.itemType+"-label"),e},afterDraw:function(n,t,e){},drawShape:function(n,t){return null},drawLabel:function(n,t){var e=this.getOptions(n).labelCfg||{},r=this.getLabelStyle(n,e,t),i=r.rotate;delete r.rotate;var a=t.addShape("text",{attrs:r,draggable:!0,className:"text-shape",name:"text-shape"});if(i){var s=a.getBBox(),u=a.getMatrix();if(u||(u=[1,0,0,0,1,0,0,0,1]),r.rotateCenter)switch(r.rotateCenter){case"center":u=it(u,[["t",-s.width/2,-s.height/2],["r",i],["t",s.width/2,s.height/2]]);break;case"lefttop":u=it(u,[["t",-r.x,-r.y],["r",i],["t",r.x,r.y]]);break;case"leftcenter":u=it(u,[["t",-r.x,-r.y-s.height/2],["r",i],["t",r.x,r.y+s.height/2]]);break;default:u=it(u,[["t",-s.width/2,-s.height/2],["r",i],["t",s.width/2,s.height/2]])}else u=it(u,[["t",-r.x,-r.y-s.height/2],["r",i],["t",r.x,r.y+s.height/2]]);a.setMatrix(u)}if(r.background){var l=this.drawLabelBg(n,t,a),d=this.itemType+"-label-bg";l.set("classname",d),a.toFront()}return a},drawLabelBg:function(n,t,e){var r=this.options.labelCfg,i=Object(p.mix)({},r,n.labelCfg),a=this.getLabelBgStyleByPosition(e,n,i,t);return t.addShape("rect",{name:"text-bg-shape",attrs:a})},getLabelStyleByPosition:function(n,t,e){return{text:n.label}},getLabelBgStyleByPosition:function(n,t,e,r){return{}},getLabelStyle:function(n,t,e){var r=this.getLabelStyleByPosition(n,t,e),i=this.itemType+"Label",a=nr[i]?nr[i].style:null;return Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},a),r),t.style)},getShapeStyle:function(n){return n.style},update:function(n,t,e){this.updateShapeStyle(n,t,e),this.updateLabel(n,t,e)},updateShapeStyle:function(n,t,e){var r=t.getContainer(),i=t.getKeyShape(),a=Object(p.mix)({},i.attr(),n.style),s=function(l){var d,v=a[l];if(Object(p.isPlainObject)(v)){var k=r.find(function(T){return T.get("name")===l});k&&k.attr(v)}else i.attr(((d={})[l]=v,d))};for(var u in a)s(u)},updateLabel:function(n,t,e){var r=t.getContainer(),i=this.getOptions({},e).labelCfg,a=this.itemType+"-label",s=r.find(function(ve){return ve.get("className")===a}),u=this.itemType+"-label-bg",l=r.find(function(ve){return ve.get("classname")===u});if(n.label||n.label==="")if(s){var d={};t.getModel&&(d=t.getModel().labelCfg);var v=Object(p.deepMix)({},i,d,n.labelCfg),k=this.getLabelStyleByPosition(n,v,r),T=n.labelCfg?n.labelCfg.style:void 0,I=v.style&&v.style.background,j=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},s.attr()),k),T),F=j.rotate;if(delete j.rotate,F){var B=[1,0,0,0,1,0,0,0,1];B=it(B,[["t",-j.x,-j.y],["r",F],["t",j.x,j.y]]),s.resetMatrix(),s.attr(Object(m.__assign)(Object(m.__assign)({},j),{matrix:B}))}else s.resetMatrix(),s.attr(j);if(l)if(j.background){var U=this.getLabelBgStyleByPosition(s,n,v,r),H=Object(m.__assign)(Object(m.__assign)({},U),I);if(l.resetMatrix(),F){var Q=[1,0,0,0,1,0,0,0,1];Q=it(Q,[["t",-H.x,-H.y],["r",F],["t",H.x,H.y]]),H.matrix=Q}l.attr(H)}else r.removeChild(l);else j.background&&((l=this.drawLabelBg(n,r,s)).set("classname",u),s.toFront())}else this.drawLabel(n,r).set("className",a)},afterUpdate:function(n,t){},setState:function(n,t,e){var r,i,a=e.get("keyShape");if(a&&!a.destroyed){var s=e.getType(),u=Object(p.isBoolean)(t)?n:n+":"+t,l=this.getStateStyle(u,e),d=e.getStateStyle(u);if(d||l){var v=Object(p.mix)({},d||l),k=e.getContainer(),T={x:1,y:1,cx:1,cy:1};if(s==="combo"&&(T.r=1,T.width=1,T.height=1),t){var I=function(st){var It,gt=v[st];if(Object(p.isPlainObject)(gt)&&!pt.includes(st)){var Pt=k.find(function(Rt){return Rt.get("name")===st});Pt&&Pt.attr(gt)}else a.attr(((It={})[st]=gt,It))};for(var j in v)I(j)}else{var F=Wt(e.getCurrentStatesStyle()),B=e.getModel(),U=Object(p.mix)({},B.style,Wt(e.getOriginStyle())),H=a.get("name"),Q=a.attr(),ve={};Object.keys(Q).forEach(function(st){if(st!=="img"){var It=Q[st];It&&Ve(It)==="object"?ve[st]=Object(p.clone)(It):ve[st]=It}});var pe={},me=function(st){var It=v[st];if(Object(p.isPlainObject)(It)&&!pt.includes(st)){var gt=k.find(function(Zt){return Zt.get("name")===st});if(gt){var Pt=Wt(gt.attr());Object(p.each)(It,function(Zt,kt){if(st===H&&ve[kt]&&!T[kt]){delete ve[kt];var Vt=U[st][kt]||mt[s][kt];a.attr(kt,Vt)}else if(Pt[kt]||Pt[kt]===0){delete Pt[kt];var Dt=U[st][kt]||mt[s][kt];gt.attr(kt,Dt)}}),pe[st]=Pt}}else if(ve[st]&&!T[st]){delete ve[st];var Rt=U[st]||(U[H]?U[H][st]:void 0)||mt[s][st];a.attr(st,Rt)}};for(var Te in v)me(Te);for(var j in H?pe[H]=ve:Object(p.mix)(pe,ve),F)if(!T[j]){var Ee=F[j];Object(p.isPlainObject)(Ee)&&!pt.includes(j)||(H?(Object(p.mix)(U[H],((i={})[j]=Ee,i)),delete U[j]):Object(p.mix)(U,((r={})[j]=Ee,r)),delete F[j])}var je={};Object(p.deepMix)(je,U,pe,F);var Ze=!1,nt=function(st){var It,gt,Pt=je[st];if(Object(p.isPlainObject)(Pt)&&!pt.includes(st)){var Rt=k.find(function(kt){return kt.get("name")===st});Rt&&(Rt.get("type")==="text"&&(delete Pt.x,delete Pt.y,delete Pt.matrix),st===H&&(s==="combo"&&(delete Pt.r,delete Pt.width,delete Pt.height),Ze=!0),Rt.attr(Pt))}else if(!Ze){var Zt=Pt||mt[s][st];s==="combo"?H||a.attr(((It={})[st]=Zt,It)):a.attr(((gt={})[st]=Zt,gt))}};for(var ct in je)nt(ct)}}}},getStateStyle:function(n,t){var e=t.getModel(),r=t.getType(),i=this.getOptions(e),a=i.stateStyles,s=i.style,u=s===void 0?{}:s,l=e.stateStyles?e.stateStyles[n]:a&&a[n];return r==="combo"?Object(p.clone)(l):Object(p.mix)({},u,l)},getControlPoints:function(n){return n.controlPoints},getAnchorPoints:function(n){var t,e;return(n==null?void 0:n.anchorPoints)||((t=this.getCustomConfig(n))===null||t===void 0?void 0:t.anchorPoints)||((e=this.options)===null||e===void 0?void 0:e.anchorPoints)}},Ot={itemType:"node",shapeType:"single-node",labelPosition:"center",offset:nr.nodeLabel.offset,getSize:function(n){var t=n.size||this.getOptions({}).size||nr.defaultNode.size;return Object(p.isArray)(t)&&t.length===1&&(t=[t[0],t[0]]),Object(p.isArray)(t)||(t=[t,t]),t},getLabelStyleByPosition:function(n,t){var e=t.position||this.labelPosition;if(e==="center")return{x:0,y:0,text:n.label};var r=t.offset;Object(p.isNil)(r)&&(r=this.offset);var i,a=this.getSize(n),s=a[0],u=a[1];switch(e){case"top":i={x:0,y:0-u/2-r,textBaseline:"bottom"};break;case"bottom":i={x:0,y:u/2+r,textBaseline:"top"};break;case"left":i={x:0-s/2-r,y:0,textAlign:"right"};break;default:i={x:s/2+r,y:0,textAlign:"left"}}return i.text=n.label,i},getLabelBgStyleByPosition:function(n,t,e,r){if(!n)return{};var i=n.getBBox(),a=e.style&&e.style.background;if(!a)return{};var s,u=Ur(a.padding),l=i.width+u[1]+u[3],d=i.height+u[0]+u[2],v=e.offset;return Object(p.isNil)(v)&&(v=this.offset),s={x:i.minX-u[3],y:i.minY-u[0]},s=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},s),a),{width:l,height:d})},drawShape:function(n,t){var e=this.shapeType,r=this.getShapeStyle(n);return t.addShape(e,{attrs:r,draggable:!0,name:"node-shape"})},updateLinkPoints:function(n,t){var e,r=this.getOptions(n).linkPoints,i=t.find(function(me){return me.get("className")==="link-point-left"}),a=t.find(function(me){return me.get("className")==="link-point-right"}),s=t.find(function(me){return me.get("className")==="link-point-top"}),u=t.find(function(me){return me.get("className")==="link-point-bottom"});i&&(e=i.attr()),a&&!e&&(e=a.attr()),s&&!e&&(e=s.attr()),u&&!e&&(e=u.attr()),e||(e=r);var l=Object(p.mix)({},e,n.linkPoints),d=l.fill,v=l.stroke,k=l.lineWidth,T=l.size/2;T||(T=l.r);var I=n.linkPoints?n.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},j=I.left,F=I.right,B=I.top,U=I.bottom,H=this.getSize(n),Q=H[0],ve=H[1],pe={r:T,fill:d,stroke:v,lineWidth:k};i?j||j===void 0?i.attr(Object(m.__assign)(Object(m.__assign)({},pe),{x:-Q/2,y:0})):i.remove():j&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},pe),{x:-Q/2,y:0}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),a?(F||F===void 0||a.remove(),a.attr(Object(m.__assign)(Object(m.__assign)({},pe),{x:Q/2,y:0}))):F&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},pe),{x:Q/2,y:0}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),s?(B||B===void 0||s.remove(),s.attr(Object(m.__assign)(Object(m.__assign)({},pe),{x:0,y:-ve/2}))):B&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},pe),{x:0,y:-ve/2}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u?U||U===void 0?u.attr(Object(m.__assign)(Object(m.__assign)({},pe),{x:0,y:ve/2})):u.remove():U&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},pe),{x:0,y:ve/2}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},updateShape:function(n,t,e,r){t.get("keyShape").attr(Object(m.__assign)({},e)),this.updateLabel(n,t),r&&this.updateIcon(n,t)},updateIcon:function(n,t){var e=this,r=t.getContainer(),i=this.getOptions(n).icon,a=(n.icon?n.icon:{show:void 0}).show,s=r.find(function(k){return k.get("className")===e.type+"-icon"});if(s)if(a||a===void 0){var u=Object(p.mix)({},s.attr(),i),l=u.width,d=u.height;s.attr(Object(m.__assign)(Object(m.__assign)({},u),{x:-l/2,y:-d/2}))}else s.remove();else if(a){l=i.width,d=i.height,r.addShape("image",{attrs:Object(m.__assign)(Object(m.__assign)({},i),{x:-l/2,y:-d/2}),className:this.type+"-icon",name:this.type+"-icon"});var v=r.find(function(k){return k.get("className")==="node-label"});v&&v.toFront()}}},yt=Object(m.__assign)(Object(m.__assign)({},xt),Ot);nn.registerNode("single-node",yt);var qe={itemType:"edge",labelPosition:"center",refX:0,refY:0,labelAutoRotate:!1,options:{size:nr.defaultEdge.size,style:{x:0,y:0,stroke:nr.defaultEdge.style.stroke,lineAppendWidth:nr.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:nr.edgeLabel.style.fill,fontSize:nr.edgeLabel.style.fontSize}},stateStyles:Object(m.__assign)({},nr.edgeStateStyles)},getPath:function(n){var t=[];return Object(p.each)(n,function(e,r){r===0?t.push(["M",e.x,e.y]):t.push(["L",e.x,e.y])}),t},getShapeStyle:function(n){var t=this.options.style,e={stroke:n.color},r=Object(p.mix)({},t,e,n.style),i=n.size||nr.defaultEdge.size,a=(n=this.getPathPoints(n)).startPoint,s=n.endPoint,u=this.getControlPoints(n),l=[a];u&&(l=l.concat(u)),l.push(s);var d=this.getPath(l);return Object(p.mix)({},nr.defaultEdge.style,{stroke:nr.defaultEdge.color,lineWidth:i,path:d},r)},updateShapeStyle:function(n,t,e){var r,i=t.getContainer(),a={stroke:n.color},s=((r=t.getKeyShape)===null||r===void 0?void 0:r.call(t))||i.find(function(Q){return Q.get("className")==="edge-shape"}),u=n.size,l=(n=this.getPathPoints(n)).startPoint,d=n.endPoint,v=this.getControlPoints(n),k=[l];v&&(k=k.concat(v)),k.push(d);var T=s.attr(),I=Object(p.mix)({},a,T,n.style),j=n.sourceNode,F=n.targetNode,B={radius:I.radius};v||(B={source:j,target:F,offset:I.offset,radius:I.radius});var U=this.getPath(k,B),H={};e==="move"?H={path:U}:(T.endArrow&&I.endArrow===!1&&(n.style.endArrow={path:""}),T.startArrow&&I.startArrow===!1&&(n.style.startArrow={path:""}),H=Object(p.mix)(a,T,{lineWidth:u,path:U},n.style)),s&&s.attr(H)},getLabelStyleByPosition:function(n,t,e){var r,i=t.position||this.labelPosition,a={},s=e&&e.find(function(k){return k.get("className")==="edge-shape"});r=i==="start"?0:i==="end"?1:.5;var u,l=t.refX||this.refX,d=t.refY||this.refY;if(n.startPoint.x===n.endPoint.x&&n.startPoint.y===n.endPoint.y)return a.x=n.startPoint.x+l,a.y=n.startPoint.y+d,a.text=n.label,a;u=Object(p.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate;var v=ut(s,r,l,d,u);return a.x=v.x,a.y=v.y,a.rotate=v.rotate,a.textAlign=this._getTextAlign(i,v.angle),a.text=n.label,a},getLabelBgStyleByPosition:function(n,t,e,r){if(!n)return{};var i=n.getBBox(),a=e.style&&e.style.background;if(!a)return{};var s,u=a.padding,l=i.width+u[1]+u[3],d=i.height+u[0]+u[2],v=e.position||this.labelPosition,k=Object(m.__assign)(Object(m.__assign)({},a),{width:l,height:d,x:i.minX-u[2],y:i.minY-u[0],rotate:0});s=Object(p.isNil)(e.autoRotate)?this.labelAutoRotate:e.autoRotate;var T,I=r&&r.find(function(H){return H.get("className")==="edge-shape"});T=v==="start"?0:v==="end"?1:.5;var j=e.refX||this.refX,F=e.refY||this.refY;if(t.startPoint.x===t.endPoint.x&&t.startPoint.y===t.endPoint.y)return k.x=t.startPoint.x+j-l/2,k.y=t.startPoint.y+F-d/2,k;var B=ut(I,T,j-l/2,F+d/2,s),U=B.angle;return U>.5*Math.PI&&U<1.5*Math.PI&&(B=ut(I,T,j+l/2,F+d/2,s)),s&&(k.x=B.x,k.y=B.y),k.rotate=B.rotate,k},_getTextAlign:function(n,t){var e="center";return t?(t%=2*Math.PI,n!=="center"&&(e=t>=0&&t<=Math.PI/2||t>=1.5*Math.PI&&t<2*Math.PI?n:function(r){var i=r;return r==="start"?i="end":r==="end"&&(i="start"),i}(n)),e):n},getControlPoints:function(n){return n.controlPoints},getPathPoints:function(n){return n},drawShape:function(n,t){var e=this.getShapeStyle(n);return t.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:e})},drawLabel:function(n,t){var e,r=this.options.labelCfg;e=typeof window!="undefined"&&window.getComputedStyle!==void 0&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif";var i=Object(p.deepMix)({fontFamily:e},r,n.labelCfg),a=this.getLabelStyle(n,i,t),s=a.rotate;delete a.rotate;var u=t.addShape("text",{attrs:a,name:"text-shape"});if(s&&u.rotateAtStart(s),a.background){var l=this.drawLabelBg(n,t,u),d=this.itemType+"-label-bg";l.set("classname",d),u.toFront()}return u},drawLabelBg:function(n,t,e){var r=this.options.labelCfg,i=Object(p.deepMix)({},r,n.labelCfg),a=this.getLabelStyle(n,i,t).rotate,s=this.getLabelBgStyleByPosition(e,n,i,t);delete s.rotate;var u=t.addShape("rect",{name:"text-bg-shape",attrs:s});return a&&u.rotateAtStart(a),u}},at=Object(m.__assign)(Object(m.__assign)({},xt),qe);nn.registerEdge("single-edge",at),nn.registerEdge("line",{getControlPoints:function(){}},"single-edge"),nn.registerEdge("spline",{getPath:function(n){return so(n)}},"single-edge"),nn.registerEdge("arc",{curveOffset:20,clockwise:1,getControlPoints:function(n){var t,e,r=n.startPoint,i=n.endPoint,a=(r.x+i.x)/2,s=(r.y+i.y)/2;if(n.controlPoints!==void 0){if(e=n.controlPoints[0],t=Rn(r,e,i),r.x<=i.x&&r.y>i.y?this.clockwise=t.x>e.x?0:1:r.x<=i.x&&r.ye.x?1:0:r.x>i.x&&r.y<=i.y?this.clockwise=t.y=0,'unknown parameter "'+Et+'"',D.commandStr)})}ot(ce),ot(K)});var oe=function(Ve,ot){var pt=Ve.static;if(typeof pt[Jn]=="string"&&typeof pt[ii]=="string"){if(Object.keys(ot.dynamic).length>0)return null;var Et=ot.static,mt=Object.keys(Et);if(mt.length>0&&typeof Et[mt[0]]=="number"){for(var xt=[],Ot=0;Ot=0,"invalid "+qe,pt.commandStr)):zt=!1,"height"in at?(Mt=0|at.height,Y.command(Mt>=0,"invalid "+qe,pt.commandStr)):zt=!1,new ir(!zt&&ot&&ot.thisDep,!zt&&ot&&ot.contextDep,!zt&&ot&&ot.propDep,function(kr,br){var ur=kr.shared.context,an=ht;"width"in at||(an=br.def(ur,".",Yn,"-",Ut));var sn=Mt;return"height"in at||(sn=br.def(ur,".",ki,"-",Xt)),[Ut,Xt,an,sn]})}if(qe in mt){var fr=mt[qe],Or=He(fr,function(kr,br){var ur=kr.invoke(br,fr);Y.optional(function(){kr.assert(br,ur+"&&typeof "+ur+'==="object"',"invalid "+qe)});var an=kr.shared.context,sn=br.def(ur,".x|0"),Ii=br.def(ur,".y|0"),Wi=br.def('"width" in ',ur,"?",ur,".width|0:","(",an,".",Yn,"-",sn,")"),fo=br.def('"height" in ',ur,"?",ur,".height|0:","(",an,".",ki,"-",Ii,")");return Y.optional(function(){kr.assert(br,Wi+">=0&&"+fo+">=0","invalid "+qe)}),[sn,Ii,Wi,fo]});return ot&&(Or.thisDep=Or.thisDep||ot.thisDep,Or.contextDep=Or.contextDep||ot.contextDep,Or.propDep=Or.propDep||ot.propDep),Or}return ot?new ir(ot.thisDep,ot.contextDep,ot.propDep,function(kr,br){var ur=kr.shared.context;return[0,0,br.def(ur,".",Yn),br.def(ur,".",ki)]}):null}var Ot=xt("viewport");if(Ot){var yt=Ot;Ot=new ir(Ot.thisDep,Ot.contextDep,Ot.propDep,function(qe,at){var ht=yt.append(qe,at),Mt=qe.shared.context;return at.set(Mt,".viewportWidth",ht[2]),at.set(Mt,".viewportHeight",ht[3]),ht})}return{viewport:Ot,scissor_box:xt("scissor.box")}}(_t,pe,D),De=function(Ve,ot){var pt=Ve.static,Et=Ve.dynamic,mt=function(){if(hi in pt){var yt=pt[hi];$i(yt)?yt=ze.getElements(ze.create(yt,!0)):yt&&(yt=ze.getElements(yt),Y.command(yt,"invalid elements",ot.commandStr));var qe=Ne(function(ht,Mt){if(yt){var zt=ht.link(yt);return ht.ELEMENTS=zt,zt}return ht.ELEMENTS=null,null});return qe.value=yt,qe}if(hi in Et){var at=Et[hi];return He(at,function(ht,Mt){var zt=ht.shared,Ut=zt.isBufferArgs,Xt=zt.elements,fr=ht.invoke(Mt,at),Or=Mt.def("null"),kr=Mt.def(Ut,"(",fr,")"),br=ht.cond(kr).then(Or,"=",Xt,".createStream(",fr,");").else(Or,"=",Xt,".getElements(",fr,");");return Y.optional(function(){ht.assert(br.else,"!"+fr+"||"+Or,"invalid elements")}),Mt.entry(br),Mt.exit(ht.cond(kr).then(Xt,".destroyStream(",Or,");")),ht.ELEMENTS=Or,Or})}return null}();function xt(yt,qe){if(yt in pt){var at=0|pt[yt];return Y.command(!qe||at>=0,"invalid "+yt,ot.commandStr),Ne(function(Mt,zt){return qe&&(Mt.OFFSET=at),at})}if(yt in Et){var ht=Et[yt];return He(ht,function(Mt,zt){var Ut=Mt.invoke(zt,ht);return qe&&(Mt.OFFSET=Ut,Y.optional(function(){Mt.assert(zt,Ut+">=0","invalid "+yt)})),Ut})}return qe&&mt?Ne(function(Mt,zt){return Mt.OFFSET="0",0}):null}var Ot=xt(di,!0);return{elements:mt,primitive:function(){if(Vn in pt){var yt=pt[Vn];return Y.commandParameter(yt,Je,"invalid primitve",ot.commandStr),Ne(function(at,ht){return Je[yt]})}if(Vn in Et){var qe=Et[Vn];return He(qe,function(at,ht){var Mt=at.constants.primTypes,zt=at.invoke(ht,qe);return Y.optional(function(){at.assert(ht,zt+" in "+Mt,"invalid primitive, must be one of "+Object.keys(Je))}),ht.def(Mt,"[",zt,"]")})}return mt?We(mt)?mt.value?Ne(function(at,ht){return ht.def(at.ELEMENTS,".primType")}):Ne(function(){return 4}):new ir(mt.thisDep,mt.contextDep,mt.propDep,function(at,ht){var Mt=at.ELEMENTS;return ht.def(Mt,"?",Mt,".primType:",4)}):null}(),count:function(){if(oi in pt){var yt=0|pt[oi];return Y.command(typeof yt=="number"&&yt>=0,"invalid vertex count",ot.commandStr),Ne(function(){return yt})}if(oi in Et){var qe=Et[oi];return He(qe,function(Mt,zt){var Ut=Mt.invoke(zt,qe);return Y.optional(function(){Mt.assert(zt,"typeof "+Ut+'==="number"&&'+Ut+">=0&&"+Ut+"===("+Ut+"|0)","invalid vertex count")}),Ut})}if(mt){if(We(mt)){if(mt)return Ot?new ir(Ot.thisDep,Ot.contextDep,Ot.propDep,function(Mt,zt){var Ut=zt.def(Mt.ELEMENTS,".vertCount-",Mt.OFFSET);return Y.optional(function(){Mt.assert(zt,Ut+">=0","invalid vertex offset/element buffer too small")}),Ut}):Ne(function(Mt,zt){return zt.def(Mt.ELEMENTS,".vertCount")});var at=Ne(function(){return-1});return Y.optional(function(){at.MISSING=!0}),at}var ht=new ir(mt.thisDep||Ot.thisDep,mt.contextDep||Ot.contextDep,mt.propDep||Ot.propDep,function(Mt,zt){var Ut=Mt.ELEMENTS;return Mt.OFFSET?zt.def(Ut,"?",Ut,".vertCount-",Mt.OFFSET,":-1"):zt.def(Ut,"?",Ut,".vertCount:-1")});return Y.optional(function(){ht.DYNAMIC=!0}),ht}return null}(),instances:xt(_i,!1),offset:Ot}}(_t,D),Ue=function(Ve,ot){var pt=Ve.static,Et=Ve.dynamic,mt={};return Cn.forEach(function(xt){var Ot=Mn(xt);function yt(qe,at){if(xt in pt){var ht=qe(pt[xt]);mt[Ot]=Ne(function(){return ht})}else if(xt in Et){var Mt=Et[xt];mt[Ot]=He(Mt,function(zt,Ut){return at(zt,Ut,zt.invoke(Ut,Mt))})}}switch(xt){case"cull.enable":case"blend.enable":case"dither":case"stencil.enable":case"depth.enable":case"scissor.enable":case"polygonOffset.enable":case"sample.alpha":case"sample.enable":case"depth.mask":return yt(function(qe){return Y.commandType(qe,"boolean",xt,ot.commandStr),qe},function(qe,at,ht){return Y.optional(function(){qe.assert(at,"typeof "+ht+'==="boolean"',"invalid flag "+xt,qe.commandStr)}),ht});case"depth.func":return yt(function(qe){return Y.commandParameter(qe,ci,"invalid "+xt,ot.commandStr),ci[qe]},function(qe,at,ht){var Mt=qe.constants.compareFuncs;return Y.optional(function(){qe.assert(at,ht+" in "+Mt,"invalid "+xt+", must be one of "+Object.keys(ci))}),at.def(Mt,"[",ht,"]")});case"depth.range":return yt(function(qe){return Y.command(At(qe)&&qe.length===2&&typeof qe[0]=="number"&&typeof qe[1]=="number"&&qe[0]<=qe[1],"depth range is 2d array",ot.commandStr),qe},function(qe,at,ht){return Y.optional(function(){qe.assert(at,qe.shared.isArrayLike+"("+ht+")&&"+ht+".length===2&&typeof "+ht+'[0]==="number"&&typeof '+ht+'[1]==="number"&&'+ht+"[0]<="+ht+"[1]","depth range must be a 2d array")}),[at.def("+",ht,"[0]"),at.def("+",ht,"[1]")]});case"blend.func":return yt(function(qe){Y.commandType(qe,"object","blend.func",ot.commandStr);var at="srcRGB"in qe?qe.srcRGB:qe.src,ht="srcAlpha"in qe?qe.srcAlpha:qe.src,Mt="dstRGB"in qe?qe.dstRGB:qe.dst,zt="dstAlpha"in qe?qe.dstAlpha:qe.dst;return Y.commandParameter(at,Hn,Ot+".srcRGB",ot.commandStr),Y.commandParameter(ht,Hn,Ot+".srcAlpha",ot.commandStr),Y.commandParameter(Mt,Hn,Ot+".dstRGB",ot.commandStr),Y.commandParameter(zt,Hn,Ot+".dstAlpha",ot.commandStr),Y.command(oo.indexOf(at+", "+Mt)===-1,"unallowed blending combination (srcRGB, dstRGB) = ("+at+", "+Mt+")",ot.commandStr),[Hn[at],Hn[Mt],Hn[ht],Hn[zt]]},function(qe,at,ht){var Mt=qe.constants.blendFuncs;function zt(kr,br){var ur=at.def('"',kr,br,'" in ',ht,"?",ht,".",kr,br,":",ht,".",kr);return Y.optional(function(){qe.assert(at,ur+" in "+Mt,"invalid "+xt+"."+kr+br+", must be one of "+Object.keys(Hn))}),ur}Y.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid blend func, must be an object")});var Ut=zt("src","RGB"),Xt=zt("dst","RGB");Y.optional(function(){var kr=qe.constants.invalidBlendCombinations;qe.assert(at,kr+".indexOf("+Ut+'+", "+'+Xt+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")});var fr=at.def(Mt,"[",Ut,"]"),Or=at.def(Mt,"[",zt("src","Alpha"),"]");return[fr,at.def(Mt,"[",Xt,"]"),Or,at.def(Mt,"[",zt("dst","Alpha"),"]")]});case"blend.equation":return yt(function(qe){return typeof qe=="string"?(Y.commandParameter(qe,Vr,"invalid "+xt,ot.commandStr),[Vr[qe],Vr[qe]]):_(qe)==="object"?(Y.commandParameter(qe.rgb,Vr,xt+".rgb",ot.commandStr),Y.commandParameter(qe.alpha,Vr,xt+".alpha",ot.commandStr),[Vr[qe.rgb],Vr[qe.alpha]]):void Y.commandRaise("invalid blend.equation",ot.commandStr)},function(qe,at,ht){var Mt=qe.constants.blendEquations,zt=at.def(),Ut=at.def(),Xt=qe.cond("typeof ",ht,'==="string"');return Y.optional(function(){function fr(Or,kr,br){qe.assert(Or,br+" in "+Mt,"invalid "+kr+", must be one of "+Object.keys(Vr))}fr(Xt.then,xt,ht),qe.assert(Xt.else,ht+"&&typeof "+ht+'==="object"',"invalid "+xt),fr(Xt.else,xt+".rgb",ht+".rgb"),fr(Xt.else,xt+".alpha",ht+".alpha")}),Xt.then(zt,"=",Ut,"=",Mt,"[",ht,"];"),Xt.else(zt,"=",Mt,"[",ht,".rgb];",Ut,"=",Mt,"[",ht,".alpha];"),at(Xt),[zt,Ut]});case"blend.color":return yt(function(qe){return Y.command(At(qe)&&qe.length===4,"blend.color must be a 4d array",ot.commandStr),te(4,function(at){return+qe[at]})},function(qe,at,ht){return Y.optional(function(){qe.assert(at,qe.shared.isArrayLike+"("+ht+")&&"+ht+".length===4","blend.color must be a 4d array")}),te(4,function(Mt){return at.def("+",ht,"[",Mt,"]")})});case"stencil.mask":return yt(function(qe){return Y.commandType(qe,"number",Ot,ot.commandStr),0|qe},function(qe,at,ht){return Y.optional(function(){qe.assert(at,"typeof "+ht+'==="number"',"invalid stencil.mask")}),at.def(ht,"|0")});case"stencil.func":return yt(function(qe){Y.commandType(qe,"object",Ot,ot.commandStr);var at=qe.cmp||"keep",ht=qe.ref||0,Mt="mask"in qe?qe.mask:-1;return Y.commandParameter(at,ci,xt+".cmp",ot.commandStr),Y.commandType(ht,"number",xt+".ref",ot.commandStr),Y.commandType(Mt,"number",xt+".mask",ot.commandStr),[ci[at],ht,Mt]},function(qe,at,ht){var Mt=qe.constants.compareFuncs;return Y.optional(function(){function zt(){qe.assert(at,Array.prototype.join.call(arguments,""),"invalid stencil.func")}zt(ht+"&&typeof ",ht,'==="object"'),zt('!("cmp" in ',ht,")||(",ht,".cmp in ",Mt,")")}),[at.def('"cmp" in ',ht,"?",Mt,"[",ht,".cmp]",":",7680),at.def(ht,".ref|0"),at.def('"mask" in ',ht,"?",ht,".mask|0:-1")]});case"stencil.opFront":case"stencil.opBack":return yt(function(qe){Y.commandType(qe,"object",Ot,ot.commandStr);var at=qe.fail||"keep",ht=qe.zfail||"keep",Mt=qe.zpass||"keep";return Y.commandParameter(at,li,xt+".fail",ot.commandStr),Y.commandParameter(ht,li,xt+".zfail",ot.commandStr),Y.commandParameter(Mt,li,xt+".zpass",ot.commandStr),[xt==="stencil.opBack"?1029:1028,li[at],li[ht],li[Mt]]},function(qe,at,ht){var Mt=qe.constants.stencilOps;function zt(Ut){return Y.optional(function(){qe.assert(at,'!("'+Ut+'" in '+ht+")||("+ht+"."+Ut+" in "+Mt+")","invalid "+xt+"."+Ut+", must be one of "+Object.keys(li))}),at.def('"',Ut,'" in ',ht,"?",Mt,"[",ht,".",Ut,"]:",7680)}return Y.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid "+xt)}),[xt==="stencil.opBack"?1029:1028,zt("fail"),zt("zfail"),zt("zpass")]});case"polygonOffset.offset":return yt(function(qe){Y.commandType(qe,"object",Ot,ot.commandStr);var at=0|qe.factor,ht=0|qe.units;return Y.commandType(at,"number",Ot+".factor",ot.commandStr),Y.commandType(ht,"number",Ot+".units",ot.commandStr),[at,ht]},function(qe,at,ht){return Y.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid "+xt)}),[at.def(ht,".factor|0"),at.def(ht,".units|0")]});case"cull.face":return yt(function(qe){var at=0;return qe==="front"?at=1028:qe==="back"&&(at=1029),Y.command(!!at,Ot,ot.commandStr),at},function(qe,at,ht){return Y.optional(function(){qe.assert(at,ht+'==="front"||'+ht+'==="back"',"invalid cull.face")}),at.def(ht,'==="front"?',1028,":",1029)});case"lineWidth":return yt(function(qe){return Y.command(typeof qe=="number"&&qe>=Ft.lineWidthDims[0]&&qe<=Ft.lineWidthDims[1],"invalid line width, must be a positive number between "+Ft.lineWidthDims[0]+" and "+Ft.lineWidthDims[1],ot.commandStr),qe},function(qe,at,ht){return Y.optional(function(){qe.assert(at,"typeof "+ht+'==="number"&&'+ht+">="+Ft.lineWidthDims[0]+"&&"+ht+"<="+Ft.lineWidthDims[1],"invalid line width")}),ht});case"frontFace":return yt(function(qe){return Y.commandParameter(qe,Zi,Ot,ot.commandStr),Zi[qe]},function(qe,at,ht){return Y.optional(function(){qe.assert(at,ht+'==="cw"||'+ht+'==="ccw"',"invalid frontFace, must be one of cw,ccw")}),at.def(ht+'==="cw"?2304:2305')});case"colorMask":return yt(function(qe){return Y.command(At(qe)&&qe.length===4,"color.mask must be length 4 array",ot.commandStr),qe.map(function(at){return!!at})},function(qe,at,ht){return Y.optional(function(){qe.assert(at,qe.shared.isArrayLike+"("+ht+")&&"+ht+".length===4","invalid color.mask")}),te(4,function(Mt){return"!!"+ht+"["+Mt+"]"})});case"sample.coverage":return yt(function(qe){Y.command(_(qe)==="object"&&qe,Ot,ot.commandStr);var at="value"in qe?qe.value:1,ht=!!qe.invert;return Y.command(typeof at=="number"&&at>=0&&at<=1,"sample.coverage.value must be a number between 0 and 1",ot.commandStr),[at,ht]},function(qe,at,ht){return Y.optional(function(){qe.assert(at,ht+"&&typeof "+ht+'==="object"',"invalid sample.coverage")}),[at.def('"value" in ',ht,"?+",ht,".value:1"),at.def("!!",ht,".invert")]})}}),mt}(_t,D),ke=function(Ve,ot,pt){var Et=Ve.static,mt=Ve.dynamic;function xt(ht){if(ht in Et){var Mt=ut.id(Et[ht]);Y.optional(function(){Lt.shader(ao[ht],Mt,Y.guessCommand())});var zt=Ne(function(){return Mt});return zt.id=Mt,zt}if(ht in mt){var Ut=mt[ht];return He(Ut,function(Xt,fr){var Or=Xt.invoke(fr,Ut),kr=fr.def(Xt.shared.strings,".id(",Or,")");return Y.optional(function(){fr(Xt.shared.shader,".shader(",ao[ht],",",kr,",",Xt.command,");")}),kr})}return null}var Ot,yt=xt(Jn),qe=xt(ii),at=null;return We(yt)&&We(qe)?(at=Lt.program(qe.id,yt.id,null,pt),Ot=Ne(function(ht,Mt){return ht.link(at)})):Ot=new ir(yt&&yt.thisDep||qe&&qe.thisDep,yt&&yt.contextDep||qe&&qe.contextDep,yt&&yt.propDep||qe&&qe.propDep,function(ht,Mt){var zt,Ut=ht.shared.shader;zt=yt?yt.append(ht,Mt):Mt.def(Ut,".",Jn);var Xt=Ut+".program("+(qe?qe.append(ht,Mt):Mt.def(Ut,".",ii))+","+zt;return Y.optional(function(){Xt+=","+ht.command}),Mt.def(Xt+")")}),{frag:yt,vert:qe,progVar:Ot,program:at}}(_t,0,oe);function Fe(Ve){var ot=be[Ve];ot&&(Ue[Ve]=ot)}Fe("viewport"),Fe(Mn("scissor.box"));var Ye=Object.keys(Ue).length>0,Ge={framebuffer:pe,draw:De,shader:ke,state:Ue,dirty:Ye,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Ge.profile=function(Ve){var ot,pt=Ve.static,Et=Ve.dynamic;if(Mi in pt){var mt=!!pt[Mi];(ot=Ne(function(Ot,yt){return mt})).enable=mt}else if(Mi in Et){var xt=Et[Mi];ot=He(xt,function(Ot,yt){return Ot.invoke(yt,xt)})}return ot}(_t),Ge.uniforms=function(Ve,ot){var pt=Ve.static,Et=Ve.dynamic,mt={};return Object.keys(pt).forEach(function(xt){var Ot,yt=pt[xt];if(typeof yt=="number"||typeof yt=="boolean")Ot=Ne(function(){return yt});else if(typeof yt=="function"){var qe=yt._reglType;qe==="texture2d"||qe==="textureCube"?Ot=Ne(function(at){return at.link(yt)}):qe==="framebuffer"||qe==="framebufferCube"?(Y.command(yt.color.length>0,'missing color attachment for framebuffer sent to uniform "'+xt+'"',ot.commandStr),Ot=Ne(function(at){return at.link(yt.color[0])})):Y.commandRaise('invalid data for uniform "'+xt+'"',ot.commandStr)}else At(yt)?Ot=Ne(function(at){return at.global.def("[",te(yt.length,function(ht){return Y.command(typeof yt[ht]=="number"||typeof yt[ht]=="boolean","invalid uniform "+xt,at.commandStr),yt[ht]}),"]")}):Y.commandRaise('invalid or missing data for uniform "'+xt+'"',ot.commandStr);Ot.value=yt,mt[xt]=Ot}),Object.keys(Et).forEach(function(xt){var Ot=Et[xt];mt[xt]=He(Ot,function(yt,qe){return yt.invoke(qe,Ot)})}),mt}(St,D),Ge.drawVAO=Ge.scopeVAO=function(Ve,ot){var pt=Ve.static,Et=Ve.dynamic;if(Xn in pt){var mt=pt[Xn];return mt!==null&&wt.getVAO(mt)===null&&(mt=wt.createVAO(mt)),Ne(function(Ot){return Ot.link(wt.getVAO(mt))})}if(Xn in Et){var xt=Et[Xn];return He(xt,function(Ot,yt){var qe=Ot.invoke(yt,xt);return yt.def(Ot.shared.vao+".getVAO("+qe+")")})}return null}(_t),!Ge.drawVAO&&ke.program&&!oe&&bt.angle_instanced_arrays){var Xe=!0,et=ke.program.attributes.map(function(Ve){var ot=$e.static[Ve];return Xe=Xe&&!!ot,ot});if(Xe&&et.length>0){var tt=wt.getVAO(wt.createVAO(et));Ge.drawVAO=new ir(null,null,null,function(Ve,ot){return Ve.link(tt)}),Ge.useVAO=!0}}return oe?Ge.useVAO=!0:Ge.attributes=function(Ve,ot){var pt=Ve.static,Et=Ve.dynamic,mt={};return Object.keys(pt).forEach(function(xt){var Ot=pt[xt],yt=ut.id(xt),qe=new gr;if($i(Ot))qe.state=1,qe.buffer=we.getBuffer(we.create(Ot,34962,!1,!0)),qe.type=0;else{var at=we.getBuffer(Ot);if(at)qe.state=1,qe.buffer=at,qe.type=0;else if(Y.command(_(Ot)==="object"&&Ot,"invalid data for attribute "+xt,ot.commandStr),"constant"in Ot){var ht=Ot.constant;qe.buffer="null",qe.state=2,typeof ht=="number"?qe.x=ht:(Y.command(At(ht)&&ht.length>0&&ht.length<=4,"invalid constant for attribute "+xt,ot.commandStr),wi.forEach(function(kr,br){br=0,'invalid offset for attribute "'+xt+'"',ot.commandStr);var zt=0|Ot.stride;Y.command(zt>=0&&zt<256,'invalid stride for attribute "'+xt+'", must be integer betweeen [0, 255]',ot.commandStr);var Ut=0|Ot.size;Y.command(!("size"in Ot)||Ut>0&&Ut<=4,'invalid size for attribute "'+xt+'", must be 1,2,3,4',ot.commandStr);var Xt=!!Ot.normalized,fr=0;"type"in Ot&&(Y.commandParameter(Ot.type,_e,"invalid type for attribute "+xt,ot.commandStr),fr=_e[Ot.type]);var Or=0|Ot.divisor;"divisor"in Ot&&(Y.command(Or===0||Fr,'cannot specify divisor for attribute "'+xt+'", instancing not supported',ot.commandStr),Y.command(Or>=0,'invalid divisor for attribute "'+xt+'"',ot.commandStr)),Y.optional(function(){var kr=ot.commandStr,br=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(Ot).forEach(function(ur){Y.command(br.indexOf(ur)>=0,'unknown parameter "'+ur+'" for attribute pointer "'+xt+'" (valid parameters are '+br+")",kr)})}),qe.buffer=at,qe.state=1,qe.size=Ut,qe.normalized=Xt,qe.type=fr||at.dtype,qe.offset=Mt,qe.stride=zt,qe.divisor=Or}}mt[xt]=Ne(function(kr,br){var ur=kr.attribCache;if(yt in ur)return ur[yt];var an={isStream:!1};return Object.keys(qe).forEach(function(sn){an[sn]=qe[sn]}),qe.buffer&&(an.buffer=kr.link(qe.buffer),an.type=an.type||an.buffer+".dtype"),ur[yt]=an,an})}),Object.keys(Et).forEach(function(xt){var Ot=Et[xt];mt[xt]=He(Ot,function(yt,qe){var at=yt.invoke(qe,Ot),ht=yt.shared,Mt=yt.constants,zt=ht.isBufferArgs,Ut=ht.buffer;Y.optional(function(){yt.assert(qe,at+"&&(typeof "+at+'==="object"||typeof '+at+'==="function")&&('+zt+"("+at+")||"+Ut+".getBuffer("+at+")||"+Ut+".getBuffer("+at+".buffer)||"+zt+"("+at+'.buffer)||("constant" in '+at+"&&(typeof "+at+'.constant==="number"||'+ht.isArrayLike+"("+at+".constant))))",'invalid dynamic attribute "'+xt+'"')});var Xt={isStream:qe.def(!1)},fr=new gr;fr.state=1,Object.keys(fr).forEach(function(ur){Xt[ur]=qe.def(""+fr[ur])});var Or=Xt.buffer,kr=Xt.type;function br(ur){qe(Xt[ur],"=",at,".",ur,"|0;")}return qe("if(",zt,"(",at,")){",Xt.isStream,"=true;",Or,"=",Ut,".createStream(",34962,",",at,");",kr,"=",Or,".dtype;","}else{",Or,"=",Ut,".getBuffer(",at,");","if(",Or,"){",kr,"=",Or,".dtype;",'}else if("constant" in ',at,"){",Xt.state,"=",2,";","if(typeof "+at+'.constant === "number"){',Xt[wi[0]],"=",at,".constant;",wi.slice(1).map(function(ur){return Xt[ur]}).join("="),"=0;","}else{",wi.map(function(ur,an){return Xt[ur]+"="+at+".constant.length>"+an+"?"+at+".constant["+an+"]:0;"}).join(""),"}}else{","if(",zt,"(",at,".buffer)){",Or,"=",Ut,".createStream(",34962,",",at,".buffer);","}else{",Or,"=",Ut,".getBuffer(",at,".buffer);","}",kr,'="type" in ',at,"?",Mt.glTypes,"[",at,".type]:",Or,".dtype;",Xt.normalized,"=!!",at,".normalized;"),br("size"),br("offset"),br("stride"),br("divisor"),qe("}}"),qe.exit("if(",Xt.isStream,"){",Ut,".destroyStream(",Or,");","}"),Xt})}),mt}($e,D),Ge.context=function(Ve){var ot=Ve.static,pt=Ve.dynamic,Et={};return Object.keys(ot).forEach(function(mt){var xt=ot[mt];Et[mt]=Ne(function(Ot,yt){return typeof xt=="number"||typeof xt=="boolean"?""+xt:Ot.link(xt)})}),Object.keys(pt).forEach(function(mt){var xt=pt[mt];Et[mt]=He(xt,function(Ot,yt){return Ot.invoke(yt,xt)})}),Et}(w),Ge}function nn(_t,$e,St){var w=_t.shared.context,D=_t.scope();Object.keys(St).forEach(function(ce){$e.save(w,"."+ce);var K=St[ce].append(_t,$e);Array.isArray(K)?D(w,".",ce,"=[",K.join(),"];"):D(w,".",ce,"=",K,";")}),$e(D)}function pi(_t,$e,St,w){var D,ce=_t.shared,K=ce.gl,oe=ce.framebuffer;$r&&(D=$e.def(ce.extensions,".webgl_draw_buffers"));var pe,be=_t.constants,De=be.drawBuffer,Ue=be.backBuffer;pe=St?St.append(_t,$e):$e.def(oe,".next"),w||$e("if(",pe,"!==",oe,".cur){"),$e("if(",pe,"){",K,".bindFramebuffer(",36160,",",pe,".framebuffer);"),$r&&$e(D,".drawBuffersWEBGL(",De,"[",pe,".colorAttachments.length]);"),$e("}else{",K,".bindFramebuffer(",36160,",null);"),$r&&$e(D,".drawBuffersWEBGL(",Ue,");"),$e("}",oe,".cur=",pe,";"),w||$e("}")}function Ji(_t,$e,St){var w=_t.shared,D=w.gl,ce=_t.current,K=_t.next,oe=w.current,pe=w.next,be=_t.cond(oe,".dirty");Cn.forEach(function(De){var Ue,ke,Fe=Mn(De);if(!(Fe in St.state))if(Fe in K){Ue=K[Fe],ke=ce[Fe];var Ye=te(Kr[Fe].length,function(Xe){return be.def(Ue,"[",Xe,"]")});be(_t.cond(Ye.map(function(Xe,et){return Xe+"!=="+ke+"["+et+"]"}).join("||")).then(D,".",Qr[Fe],"(",Ye,");",Ye.map(function(Xe,et){return ke+"["+et+"]="+Xe}).join(";"),";"))}else{Ue=be.def(pe,".",Fe);var Ge=_t.cond(Ue,"!==",oe,".",Fe);be(Ge),Fe in qn?Ge(_t.cond(Ue).then(D,".enable(",qn[Fe],");").else(D,".disable(",qn[Fe],");"),oe,".",Fe,"=",Ue,";"):Ge(D,".",Qr[Fe],"(",Ue,");",oe,".",Fe,"=",Ue,";")}}),Object.keys(St.state).length===0&&be(oe,".dirty=false;"),$e(be)}function Ai(_t,$e,St,w){var D=_t.shared,ce=_t.current,K=D.current,oe=D.gl;vo(Object.keys(St)).forEach(function(pe){var be=St[pe];if(!w||w(be)){var De=be.append(_t,$e);if(qn[pe]){var Ue=qn[pe];We(be)?$e(oe,De?".enable(":".disable(",Ue,");"):$e(_t.cond(De).then(oe,".enable(",Ue,");").else(oe,".disable(",Ue,");")),$e(K,".",pe,"=",De,";")}else if(At(De)){var ke=ce[pe];$e(oe,".",Qr[pe],"(",De,");",De.map(function(Fe,Ye){return ke+"["+Ye+"]="+Fe}).join(";"),";")}else $e(oe,".",Qr[pe],"(",De,");",K,".",pe,"=",De,";")}})}function Gn(_t,$e){Fr&&(_t.instancing=$e.def(_t.shared.extensions,".angle_instanced_arrays"))}function zi(_t,$e,St,w,D){var ce,K,oe,pe=_t.shared,be=_t.stats,De=pe.current,Ue=pe.timer,ke=St.profile;function Fe(){return typeof performance=="undefined"?"Date.now()":"performance.now()"}function Ye(Ve){Ve(ce=$e.def(),"=",Fe(),";"),typeof D=="string"?Ve(be,".count+=",D,";"):Ve(be,".count++;"),rr&&(w?Ve(K=$e.def(),"=",Ue,".getNumPendingQueries();"):Ve(Ue,".beginQuery(",be,");"))}function Ge(Ve){Ve(be,".cpuTime+=",Fe(),"-",ce,";"),rr&&(w?Ve(Ue,".pushScopeStats(",K,",",Ue,".getNumPendingQueries(),",be,");"):Ve(Ue,".endQuery();"))}function Xe(Ve){var ot=$e.def(De,".profile");$e(De,".profile=",Ve,";"),$e.exit(De,".profile=",ot,";")}if(ke){if(We(ke))return void(ke.enable?(Ye($e),Ge($e.exit),Xe("true")):Xe("false"));Xe(oe=ke.append(_t,$e))}else oe=$e.def(De,".profile");var et=_t.block();Ye(et),$e("if(",oe,"){",et,"}");var tt=_t.block();Ge(tt),$e.exit("if(",oe,"){",tt,"}")}function Di(_t,$e,St,w,D){var ce=_t.shared;w.forEach(function(K){var oe,pe=K.name,be=St.attributes[pe];if(be){if(!D(be))return;oe=be.append(_t,$e)}else{if(!D(ft))return;var De=_t.scopeAttrib(pe);Y.optional(function(){_t.assert($e,De+".state","missing attribute "+pe)}),oe={},Object.keys(new gr).forEach(function(Ue){oe[Ue]=$e.def(De,".",Ue)})}(function(Ue,ke,Fe){var Ye=ce.gl,Ge=$e.def(Ue,".location"),Xe=$e.def(ce.attributes,"[",Ge,"]"),et=Fe.state,tt=Fe.buffer,Ve=[Fe.x,Fe.y,Fe.z,Fe.w],ot=["buffer","normalized","offset","stride"];function pt(){$e("if(!",Xe,".buffer){",Ye,".enableVertexAttribArray(",Ge,");}");var mt,xt=Fe.type;if(mt=Fe.size?$e.def(Fe.size,"||",ke):ke,$e("if(",Xe,".type!==",xt,"||",Xe,".size!==",mt,"||",ot.map(function(yt){return Xe+"."+yt+"!=="+Fe[yt]}).join("||"),"){",Ye,".bindBuffer(",34962,",",tt,".buffer);",Ye,".vertexAttribPointer(",[Ge,mt,xt,Fe.normalized,Fe.stride,Fe.offset],");",Xe,".type=",xt,";",Xe,".size=",mt,";",ot.map(function(yt){return Xe+"."+yt+"="+Fe[yt]+";"}).join(""),"}"),Fr){var Ot=Fe.divisor;$e("if(",Xe,".divisor!==",Ot,"){",_t.instancing,".vertexAttribDivisorANGLE(",[Ge,Ot],");",Xe,".divisor=",Ot,";}")}}function Et(){$e("if(",Xe,".buffer){",Ye,".disableVertexAttribArray(",Ge,");",Xe,".buffer=null;","}if(",wi.map(function(mt,xt){return Xe+"."+mt+"!=="+Ve[xt]}).join("||"),"){",Ye,".vertexAttrib4f(",Ge,",",Ve,");",wi.map(function(mt,xt){return Xe+"."+mt+"="+Ve[xt]+";"}).join(""),"}")}et===1?pt():et===2?Et():($e("if(",et,"===",1,"){"),pt(),$e("}else{"),Et(),$e("}"))})(_t.link(K),function(Ue){switch(Ue){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(K.info.type),oe)})}function fi(_t,$e,St,w,D){for(var ce,K=_t.shared,oe=K.gl,pe=0;pe1?$e(te(Ve,function(mt){return Array.isArray(be)?be[mt]:be+"["+mt+"]"})):(Y(!Array.isArray(be),"uniform value must not be an array"),$e(be));$e(");")}}function Ui(_t,$e,St,w){var D=_t.shared,ce=D.gl,K=D.draw,oe=w.draw,pe=function(){var Ve,ot=oe.elements,pt=$e;return ot?((ot.contextDep&&w.contextDynamic||ot.propDep)&&(pt=St),Ve=ot.append(_t,pt)):Ve=pt.def(K,".",hi),Ve&&pt("if("+Ve+")"+ce+".bindBuffer(34963,"+Ve+".buffer.buffer);"),Ve}();function be(Ve){var ot=oe[Ve];return ot?ot.contextDep&&w.contextDynamic||ot.propDep?ot.append(_t,St):ot.append(_t,$e):$e.def(K,".",Ve)}var De,Ue,ke=be(Vn),Fe=be(di),Ye=function(){var Ve,ot=oe.count,pt=$e;return ot?((ot.contextDep&&w.contextDynamic||ot.propDep)&&(pt=St),Ve=ot.append(_t,pt),Y.optional(function(){ot.MISSING&&_t.assert($e,"false","missing vertex count"),ot.DYNAMIC&&_t.assert(pt,Ve+">=0","missing vertex count")})):(Ve=pt.def(K,".",oi),Y.optional(function(){_t.assert(pt,Ve+">=0","missing vertex count")})),Ve}();if(typeof Ye=="number"){if(Ye===0)return}else St("if(",Ye,"){"),St.exit("}");Fr&&(De=be(_i),Ue=_t.instancing);var Ge=pe+".type",Xe=oe.elements&&We(oe.elements);function et(){function Ve(){St(Ue,".drawElementsInstancedANGLE(",[ke,Ye,Ge,Fe+"<<(("+Ge+"-5121)>>1)",De],");")}function ot(){St(Ue,".drawArraysInstancedANGLE(",[ke,Fe,Ye,De],");")}pe?Xe?Ve():(St("if(",pe,"){"),Ve(),St("}else{"),ot(),St("}")):ot()}function tt(){function Ve(){St(ce+".drawElements("+[ke,Ye,Ge,Fe+"<<(("+Ge+"-5121)>>1)"]+");")}function ot(){St(ce+".drawArrays("+[ke,Fe,Ye]+");")}pe?Xe?Ve():(St("if(",pe,"){"),Ve(),St("}else{"),ot(),St("}")):ot()}Fr&&(typeof De!="number"||De>=0)?typeof De=="string"?(St("if(",De,">0){"),et(),St("}else if(",De,"<0){"),tt(),St("}")):et():tt()}function Ci(_t,$e,St,w,D){var ce=Fi(),K=ce.proc("body",D);return Y.optional(function(){ce.commandStr=$e.commandStr,ce.command=ce.link($e.commandStr)}),Fr&&(ce.instancing=K.def(ce.shared.extensions,".angle_instanced_arrays")),_t(ce,K,St,w),ce.compile().body}function eo(_t,$e,St,w){Gn(_t,$e),St.useVAO?St.drawVAO?$e(_t.shared.vao,".setVAO(",St.drawVAO.append(_t,$e),");"):$e(_t.shared.vao,".setVAO(",_t.shared.vao,".targetVAO);"):($e(_t.shared.vao,".setVAO(null);"),Di(_t,$e,St,w.attributes,function(){return!0})),fi(_t,$e,St,w.uniforms,function(){return!0}),Ui(_t,$e,$e,St)}function so(_t,$e,St,w){function D(){return!0}_t.batchId="a1",Gn(_t,$e),Di(_t,$e,St,w.attributes,D),fi(_t,$e,St,w.uniforms,D),Ui(_t,$e,$e,St)}function Vi(_t,$e,St,w){Gn(_t,$e);var D=St.contextDep,ce=$e.def(),K=$e.def();_t.shared.props=K,_t.batchId=ce;var oe=_t.scope(),pe=_t.scope();function be(Ge){return Ge.contextDep&&D||Ge.propDep}function De(Ge){return!be(Ge)}if($e(oe.entry,"for(",ce,"=0;",ce,"<","a1",";++",ce,"){",K,"=","a0","[",ce,"];",pe,"}",oe.exit),St.needsContext&&nn(_t,pe,St.context),St.needsFramebuffer&&pi(_t,pe,St.framebuffer),Ai(_t,pe,St.state,be),St.profile&&be(St.profile)&&zi(_t,pe,St,!1,!0),w)St.useVAO?St.drawVAO?be(St.drawVAO)?pe(_t.shared.vao,".setVAO(",St.drawVAO.append(_t,pe),");"):oe(_t.shared.vao,".setVAO(",St.drawVAO.append(_t,oe),");"):oe(_t.shared.vao,".setVAO(",_t.shared.vao,".targetVAO);"):(oe(_t.shared.vao,".setVAO(null);"),Di(_t,oe,St,w.attributes,De),Di(_t,pe,St,w.attributes,be)),fi(_t,oe,St,w.uniforms,De),fi(_t,pe,St,w.uniforms,be),Ui(_t,oe,pe,St);else{var Ue=_t.global.def("{}"),ke=St.shader.progVar.append(_t,pe),Fe=pe.def(ke,".id"),Ye=pe.def(Ue,"[",Fe,"]");pe(_t.shared.gl,".useProgram(",ke,".program);","if(!",Ye,"){",Ye,"=",Ue,"[",Fe,"]=",_t.link(function(Ge){return Ci(so,_t,St,Ge,2)}),"(",ke,");}",Ye,".call(this,a0[",ce,"],",ce,");")}}function Ti(_t,$e,St){var w=$e.static[St];if(w&&function(De){if(_(De)==="object"&&!At(De)){for(var Ue=Object.keys(De),ke=0;ke0&&be(oe.shared.current,".dirty=true;")}(ce,K),function(oe,pe){var be=oe.proc("scope",3);oe.batchId="a2";var De=oe.shared,Ue=De.current;function ke(Fe){var Ye=pe.shader[Fe];Ye&&be.set(De.shader,"."+Fe,Ye.append(oe,be))}nn(oe,be,pe.context),pe.framebuffer&&pe.framebuffer.append(oe,be),vo(Object.keys(pe.state)).forEach(function(Fe){var Ye=pe.state[Fe].append(oe,be);At(Ye)?Ye.forEach(function(Ge,Xe){be.set(oe.next[Fe],"["+Xe+"]",Ge)}):be.set(De.next,"."+Fe,Ye)}),zi(oe,be,pe,!0,!0),[hi,di,oi,_i,Vn].forEach(function(Fe){var Ye=pe.draw[Fe];Ye&&be.set(De.draw,"."+Fe,""+Ye.append(oe,be))}),Object.keys(pe.uniforms).forEach(function(Fe){var Ye=pe.uniforms[Fe].append(oe,be);Array.isArray(Ye)&&(Ye="["+Ye.join()+"]"),be.set(De.uniforms,"["+ut.id(Fe)+"]",Ye)}),Object.keys(pe.attributes).forEach(function(Fe){var Ye=pe.attributes[Fe].append(oe,be),Ge=oe.scopeAttrib(Fe);Object.keys(new gr).forEach(function(Xe){be.set(Ge,"."+Xe,Ye[Xe])})}),pe.scopeVAO&&be.set(De.vao,".targetVAO",pe.scopeVAO.append(oe,be)),ke(ii),ke(Jn),Object.keys(pe.state).length>0&&(be(Ue,".dirty=true;"),be.exit(Ue,".dirty=true;")),be("a1(",oe.shared.context,",a0,",oe.batchId,");")}(ce,K),function(oe,pe){var be=oe.proc("batch",2);oe.batchId="0",Gn(oe,be);var De=!1,Ue=!0;Object.keys(pe.context).forEach(function(ot){De=De||pe.context[ot].propDep}),De||(nn(oe,be,pe.context),Ue=!1);var ke=pe.framebuffer,Fe=!1;function Ye(ot){return ot.contextDep&&De||ot.propDep}ke?(ke.propDep?De=Fe=!0:ke.contextDep&&De&&(Fe=!0),Fe||pi(oe,be,ke)):pi(oe,be,null),pe.state.viewport&&pe.state.viewport.propDep&&(De=!0),Ji(oe,be,pe),Ai(oe,be,pe.state,function(ot){return!Ye(ot)}),pe.profile&&Ye(pe.profile)||zi(oe,be,pe,!1,"a1"),pe.contextDep=De,pe.needsContext=Ue,pe.needsFramebuffer=Fe;var Ge=pe.shader.progVar;if(Ge.contextDep&&De||Ge.propDep)Vi(oe,be,pe,null);else{var Xe=Ge.append(oe,be);if(be(oe.shared.gl,".useProgram(",Xe,".program);"),pe.shader.program)Vi(oe,be,pe,pe.shader.program);else{be(oe.shared.vao,".setVAO(null);");var et=oe.global.def("{}"),tt=be.def(Xe,".id"),Ve=be.def(et,"[",tt,"]");be(oe.cond(Ve).then(Ve,".call(this,a0,a1);").else(Ve,"=",et,"[",tt,"]=",oe.link(function(ot){return Ci(Vi,oe,pe,ot,2)}),"(",Xe,");",Ve,".call(this,a0,a1);"))}}Object.keys(pe.state).length>0&&be(oe.shared.current,".dirty=true;")}(ce,K),O(ce.compile(),{destroy:function(){K.shader.program.destroy()}})}}}var Ht=function(Be,ut){if(!ut.ext_disjoint_timer_query)return null;var bt=[];function Ft(er){bt.push(er)}var we=[];function ze(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var Qe=[];function lt(er){Qe.push(er)}var vt=[];function wt(er,rr,sr){var gr=Qe.pop()||new ze;gr.startQueryIndex=er,gr.endQueryIndex=rr,gr.sum=0,gr.stats=sr,vt.push(gr)}var Lt=[],Wt=[];return{beginQuery:function(er){var rr=bt.pop()||ut.ext_disjoint_timer_query.createQueryEXT();ut.ext_disjoint_timer_query.beginQueryEXT(35007,rr),we.push(rr),wt(we.length-1,we.length,er)},endQuery:function(){ut.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:wt,update:function(){var er,rr,sr=we.length;if(sr!==0){Wt.length=Math.max(Wt.length,sr+1),Lt.length=Math.max(Lt.length,sr+1),Lt[0]=0,Wt[0]=0;var gr=0;for(er=0,rr=0;rr0)if(Array.isArray(Fe[0])){tt=Ae(Fe);for(var ot=1,pt=1;pt0)if(typeof Ve[0]=="number"){var mt=B.allocType(Xe.dtype,Ve.length);Re(mt,Ve),tt(mt,Et),B.freeType(mt)}else if(Array.isArray(Ve[0])||x(Ve[0])){pt=Ae(Ve);var xt=Me(Ve,pt,Xe.dtype);tt(xt,Et),B.freeType(xt)}else Y.raise("invalid buffer data")}else if(J(Ve)){pt=Ve.shape;var Ot=Ve.stride,yt=0,qe=0,at=0,ht=0;pt.length===1?(yt=pt[0],qe=1,at=Ot[0],ht=0):pt.length===2?(yt=pt[0],qe=pt[1],at=Ot[0],ht=Ot[1]):Y.raise("invalid shape");var Mt=Array.isArray(Ve.data)?Xe.dtype:Se(Ve.data),zt=B.allocType(Mt,yt*qe);Ke(zt,Ve.data,yt,qe,at,ht,Ve.offset),tt(zt,Et),B.freeType(zt)}else Y.raise("invalid data for buffer subdata");return et},w.profile&&(et.stats=Xe.stats),et.destroy=function(){Ue(Xe)},et},createStream:function(ke,Fe){var Ye=pe.pop();return Ye||(Ye=new oe(ke)),Ye.bind(),De(Ye,Fe,35040,0,1,!1),Ye},destroyStream:function(ke){pe.push(ke)},clear:function(){ne(K).forEach(Ue),pe.forEach(Ue)},getBuffer:function(ke){return ke&&ke._buffer instanceof oe?ke._buffer:null},restore:function(){ne(K).forEach(function(ke){ke.buffer=$e.createBuffer(),$e.bindBuffer(ke.type,ke.buffer),$e.bufferData(ke.type,ke.persistentData||ke.byteLength,ke.usage)})},_initBuffer:De}}(bt,wt,ut,function($e){return $r.destroyBuffer($e)}),$r=function($e,St,w,D,ce){for(var K=w.maxAttributes,oe=new Array(K),pe=0;pe0,"must specify at least one attribute");var Ve={},ot=Xe.attributes;ot.length=tt.length;for(var pt=0;pt=Ot.byteLength?Et.subdata(Ot):(Et.destroy(),Xe.buffers[pt]=null)),Xe.buffers[pt]||(Et=Xe.buffers[pt]=ce.create(mt,34962,!1,!0)),xt.buffer=ce.getBuffer(Et),xt.size=0|xt.buffer.dimension,xt.normalized=!1,xt.type=xt.buffer.dtype,xt.offset=0,xt.stride=0,xt.divisor=0,xt.state=1,Ve[pt]=1):ce.getBuffer(mt)?(xt.buffer=ce.getBuffer(mt),xt.size=0|xt.buffer.dimension,xt.normalized=!1,xt.type=xt.buffer.dtype,xt.offset=0,xt.stride=0,xt.divisor=0,xt.state=1):ce.getBuffer(mt.buffer)?(xt.buffer=ce.getBuffer(mt.buffer),xt.size=0|(+mt.size||xt.buffer.dimension),xt.normalized=!!mt.normalized||!1,"type"in mt?(Y.parameter(mt.type,_e,"invalid buffer type"),xt.type=_e[mt.type]):xt.type=xt.buffer.dtype,xt.offset=0|(mt.offset||0),xt.stride=0|(mt.stride||0),xt.divisor=0|(mt.divisor||0),xt.state=1,Y(xt.size>=1&&xt.size<=4,"size must be between 1 and 4"),Y(xt.offset>=0,"invalid offset"),Y(xt.stride>=0&&xt.stride<=255,"stride must be between 0 and 255"),Y(xt.divisor>=0,"divisor must be positive"),Y(!xt.divisor||!!St.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in mt?(Y(pt>0,"first attribute must not be a constant"),xt.x=+mt.x||0,xt.y=+mt.y||0,xt.z=+mt.z||0,xt.w=+mt.w||0,xt.state=2):Y(!1,"invalid attribute spec for location "+pt)}for(var yt=0;yt>=1:Ve===5125&&(pt>>=2)),ke.vertCount=pt;var Et=Ge;if(Ge<0){Et=4;var mt=ke.buffer.dimension;mt===1&&(Et=0),mt===2&&(Et=1),mt===3&&(Et=4)}ke.primType=Et}function Ue(ke){D.elementsCount--,Y(ke.buffer!==null,"must not double destroy elements"),delete ce[ke.id],ke.buffer.destroy(),ke.buffer=null}return{create:function(ke,Fe){var Ye=w.create(null,34963,!0),Ge=new pe(Ye._buffer);function Xe(et){if(et)if(typeof et=="number")Ye(et),Ge.primType=4,Ge.vertCount=0|et,Ge.type=5121;else{var tt=null,Ve=35044,ot=-1,pt=-1,Et=0,mt=0;Array.isArray(et)||x(et)||J(et)?tt=et:(Y.type(et,"object","invalid arguments for elements"),"data"in et&&(tt=et.data,Y(Array.isArray(tt)||x(tt)||J(tt),"invalid data for element buffer")),"usage"in et&&(Y.parameter(et.usage,je,"invalid element buffer usage"),Ve=je[et.usage]),"primitive"in et&&(Y.parameter(et.primitive,Je,"invalid element buffer primitive"),ot=Je[et.primitive]),"count"in et&&(Y(typeof et.count=="number"&&et.count>=0,"invalid vertex count for elements"),pt=0|et.count),"type"in et&&(Y.parameter(et.type,oe,"invalid buffer type"),mt=oe[et.type]),"length"in et?Et=0|et.length:(Et=pt,mt===5123||mt===5122?Et*=2:mt!==5125&&mt!==5124||(Et*=4))),De(Ge,tt,Ve,ot,pt,Et,mt)}else Ye(),Ge.primType=4,Ge.vertCount=0,Ge.type=5121;return Xe}return D.elementsCount++,Xe(ke),Xe._reglType="elements",Xe._elements=Ge,Xe.subdata=function(et,tt){return Ye.subdata(et,tt),Xe},Xe.destroy=function(){Ue(Ge)},Xe},createStream:function(ke){var Fe=be.pop();return Fe||(Fe=new pe(w.create(null,34963,!0,!1)._buffer)),De(Fe,ke,35040,-1,-1,0,0),Fe},destroyStream:function(ke){be.push(ke)},getElements:function(ke){return typeof ke=="function"&&ke._elements instanceof pe?ke._elements:null},clear:function(){ne(ce).forEach(Ue)}}}(bt,Lt,Fr,wt),jn=function($e,St,w,D){var ce={},K={};function oe(Ge,Xe,et,tt){this.name=Ge,this.id=Xe,this.location=et,this.info=tt}function pe(Ge,Xe){for(var et=0;et1)for(var yt=0;ytGe&&(Ge=Xe.stats.uniformsCount)}),Ge},w.getMaxAttributesCount=function(){var Ge=0;return Ue.forEach(function(Xe){Xe.stats.attributesCount>Ge&&(Ge=Xe.stats.attributesCount)}),Ge}),{clear:function(){var Ge=$e.deleteShader.bind($e);ne(ce).forEach(Ge),ce={},ne(K).forEach(Ge),K={},Ue.forEach(function(Xe){$e.deleteProgram(Xe.program)}),Ue.length=0,De={},w.shaderCount=0},program:function(Ge,Xe,et,tt){Y.command(Ge>=0,"missing vertex shader",et),Y.command(Xe>=0,"missing fragment shader",et);var Ve=De[Xe];Ve||(Ve=De[Xe]={});var ot=Ve[Ge];if(ot&&(ot.refCount++,!tt))return ot;var pt=new Fe(Xe,Ge);return w.shaderCount++,Ye(pt,et,tt),ot||(Ve[Ge]=pt),Ue.push(pt),O(pt,{destroy:function(){if(pt.refCount--,pt.refCount<=0){$e.deleteProgram(pt.program);var Et=Ue.indexOf(pt);Ue.splice(Et,1),w.shaderCount--}Ve[pt.vertId].refCount<=0&&($e.deleteShader(K[pt.vertId]),delete K[pt.vertId],delete De[pt.fragId][pt.vertId]),Object.keys(De[pt.fragId]).length||($e.deleteShader(ce[pt.fragId]),delete ce[pt.fragId],delete De[pt.fragId])}})},restore:function(){ce={},K={};for(var Ge=0;Ge=2,"invalid renderbuffer shape"),tt=0|Et[0],Ve=0|Et[1]}else"radius"in pt&&(tt=Ve=0|pt.radius),"width"in pt&&(tt=0|pt.width),"height"in pt&&(Ve=0|pt.height);"format"in pt&&(Y.parameter(pt.format,K,"invalid renderbuffer format"),ot=K[pt.format])}else typeof Xe=="number"?(tt=0|Xe,Ve=typeof et=="number"?0|et:tt):Xe?Y.raise("invalid arguments to renderbuffer constructor"):tt=Ve=1;if(Y(tt>0&&Ve>0&&tt<=w.maxRenderbufferSize&&Ve<=w.maxRenderbufferSize,"invalid renderbuffer size"),tt!==Ye.width||Ve!==Ye.height||ot!==Ye.format)return Ge.width=Ye.width=tt,Ge.height=Ye.height=Ve,Ye.format=ot,$e.bindRenderbuffer(36161,Ye.renderbuffer),$e.renderbufferStorage(36161,ot,tt,Ve),Y($e.getError()===0,"invalid render buffer format"),ce.profile&&(Ye.stats.size=Er(Ye.format,Ye.width,Ye.height)),Ge.format=oe[Ye.format],Ge}return be[Ye.id]=Ye,D.renderbufferCount++,Ge(ke,Fe),Ge.resize=function(Xe,et){var tt=0|Xe,Ve=0|et||tt;return tt===Ye.width&&Ve===Ye.height||(Y(tt>0&&Ve>0&&tt<=w.maxRenderbufferSize&&Ve<=w.maxRenderbufferSize,"invalid renderbuffer size"),Ge.width=Ye.width=tt,Ge.height=Ye.height=Ve,$e.bindRenderbuffer(36161,Ye.renderbuffer),$e.renderbufferStorage(36161,Ye.format,tt,Ve),Y($e.getError()===0,"invalid render buffer format"),ce.profile&&(Ye.stats.size=Er(Ye.format,Ye.width,Ye.height))),Ge},Ge._reglType="renderbuffer",Ge._renderbuffer=Ye,ce.profile&&(Ge.stats=Ye.stats),Ge.destroy=function(){Ye.decRef()},Ge},clear:function(){ne(be).forEach(Ue)},restore:function(){ne(be).forEach(function(ke){ke.renderbuffer=$e.createRenderbuffer(),$e.bindRenderbuffer(36161,ke.renderbuffer),$e.renderbufferStorage(36161,ke.format,ke.width,ke.height)}),$e.bindRenderbuffer(36161,null)}}}(bt,Lt,Vr,wt,ut),Qr=function($e,St,w,D,ce,K){var oe={cur:null,next:null,dirty:!1,setFBO:null},pe=["rgba"],be=["rgba4","rgb565","rgb5 a1"];St.ext_srgb&&be.push("srgba"),St.ext_color_buffer_half_float&&be.push("rgba16f","rgb16f"),St.webgl_color_buffer_float&&be.push("rgba32f");var De=["uint8"];function Ue(yt,qe,at){this.target=yt,this.texture=qe,this.renderbuffer=at;var ht=0,Mt=0;qe?(ht=qe.width,Mt=qe.height):at&&(ht=at.width,Mt=at.height),this.width=ht,this.height=Mt}function ke(yt){yt&&(yt.texture&&yt.texture._texture.decRef(),yt.renderbuffer&&yt.renderbuffer._renderbuffer.decRef())}function Fe(yt,qe,at){if(yt)if(yt.texture){var ht=yt.texture._texture,Mt=Math.max(1,ht.width),zt=Math.max(1,ht.height);Y(Mt===qe&&zt===at,"inconsistent width/height for supplied texture"),ht.refCount+=1}else{var Ut=yt.renderbuffer._renderbuffer;Y(Ut.width===qe&&Ut.height===at,"inconsistent width/height for renderbuffer"),Ut.refCount+=1}}function Ye(yt,qe){qe&&(qe.texture?$e.framebufferTexture2D(36160,yt,qe.target,qe.texture._texture.texture,0):$e.framebufferRenderbuffer(36160,yt,36161,qe.renderbuffer._renderbuffer.renderbuffer))}function Ge(yt){var qe=3553,at=null,ht=null,Mt=yt;_(yt)==="object"&&(Mt=yt.data,"target"in yt&&(qe=0|yt.target)),Y.type(Mt,"function","invalid attachment data");var zt=Mt._reglType;return zt==="texture2d"?(at=Mt,Y(qe===3553)):zt==="textureCube"?(at=Mt,Y(qe>=34069&&qe<34075,"invalid cube map target")):zt==="renderbuffer"?(ht=Mt,qe=36161):Y.raise("invalid regl object for attachment"),new Ue(qe,at,ht)}function Xe(yt,qe,at,ht,Mt){if(at){var zt=D.create2D({width:yt,height:qe,format:ht,type:Mt});return zt._texture.refCount=0,new Ue(3553,zt,null)}var Ut=ce.create({width:yt,height:qe,format:ht});return Ut._renderbuffer.refCount=0,new Ue(36161,null,Ut)}function et(yt){return yt&&(yt.texture||yt.renderbuffer)}function tt(yt,qe,at){yt&&(yt.texture?yt.texture.resize(qe,at):yt.renderbuffer&&yt.renderbuffer.resize(qe,at),yt.width=qe,yt.height=at)}St.oes_texture_half_float&&De.push("half float","float16"),St.oes_texture_float&&De.push("float","float32");var Ve=0,ot={};function pt(){this.id=Ve++,ot[this.id]=this,this.framebuffer=$e.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function Et(yt){yt.colorAttachments.forEach(ke),ke(yt.depthAttachment),ke(yt.stencilAttachment),ke(yt.depthStencilAttachment)}function mt(yt){var qe=yt.framebuffer;Y(qe,"must not double destroy framebuffer"),$e.deleteFramebuffer(qe),yt.framebuffer=null,K.framebufferCount--,delete ot[yt.id]}function xt(yt){var qe;$e.bindFramebuffer(36160,yt.framebuffer);var at=yt.colorAttachments;for(qe=0;qe=2,"invalid shape for framebuffer"),Xt=Ao[0],fr=Ao[1]}else"radius"in Xr&&(Xt=fr=Xr.radius),"width"in Xr&&(Xt=Xr.width),"height"in Xr&&(fr=Xr.height);("color"in Xr||"colors"in Xr)&&(br=Xr.color||Xr.colors,Array.isArray(br)&&Y(br.length===1||St.webgl_draw_buffers,"multiple render targets not supported")),br||("colorCount"in Xr&&(Ii=0|Xr.colorCount,Y(Ii>0,"invalid color buffer count")),"colorTexture"in Xr&&(ur=!!Xr.colorTexture,an="rgba4"),"colorType"in Xr&&(sn=Xr.colorType,ur?(Y(St.oes_texture_float||!(sn==="float"||sn==="float32"),"you must enable OES_texture_float in order to use floating point framebuffer objects"),Y(St.oes_texture_half_float||!(sn==="half float"||sn==="float16"),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):sn==="half float"||sn==="float16"?(Y(St.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),an="rgba16f"):sn!=="float"&&sn!=="float32"||(Y(St.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),an="rgba32f"),Y.oneOf(sn,De,"invalid color type")),"colorFormat"in Xr&&(an=Xr.colorFormat,pe.indexOf(an)>=0?ur=!0:be.indexOf(an)>=0?ur=!1:ur?Y.oneOf(Xr.colorFormat,pe,"invalid color format for texture"):Y.oneOf(Xr.colorFormat,be,"invalid color format for renderbuffer"))),("depthTexture"in Xr||"depthStencilTexture"in Xr)&&(ga=!(!Xr.depthTexture&&!Xr.depthStencilTexture),Y(!ga||St.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in Xr&&(typeof Xr.depth=="boolean"?Or=Xr.depth:(Wi=Xr.depth,kr=!1)),"stencil"in Xr&&(typeof Xr.stencil=="boolean"?kr=Xr.stencil:(fo=Xr.stencil,Or=!1)),"depthStencil"in Xr&&(typeof Xr.depthStencil=="boolean"?Or=kr=Xr.depthStencil:(or=Xr.depthStencil,Or=!1,kr=!1))}else Xt=fr=1;var Nt=null,uo=null,yo=null,co=null;if(Array.isArray(br))Nt=br.map(Ge);else if(br)Nt=[Ge(br)];else for(Nt=new Array(Ii),Ut=0;Ut=0||Nt[Ut].renderbuffer&&Qn.indexOf(Nt[Ut].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+Ut+" is invalid"),Nt[Ut]&&Nt[Ut].texture){var Ra=yn[Nt[Ut].texture._texture.format]*mn[Nt[Ut].texture._texture.type];Da===null?Da=Ra:Y(Da===Ra,"all color attachments much have the same number of bits per pixel.")}return Fe(uo,Xt,fr),Y(!uo||uo.texture&&uo.texture._texture.format===6402||uo.renderbuffer&&uo.renderbuffer._renderbuffer.format===33189,"invalid depth attachment for framebuffer object"),Fe(yo,Xt,fr),Y(!yo||yo.renderbuffer&&yo.renderbuffer._renderbuffer.format===36168,"invalid stencil attachment for framebuffer object"),Fe(co,Xt,fr),Y(!co||co.texture&&co.texture._texture.format===34041||co.renderbuffer&&co.renderbuffer._renderbuffer.format===34041,"invalid depth-stencil attachment for framebuffer object"),Et(at),at.width=Xt,at.height=fr,at.colorAttachments=Nt,at.depthAttachment=uo,at.stencilAttachment=yo,at.depthStencilAttachment=co,ht.color=Nt.map(et),ht.depth=et(uo),ht.stencil=et(yo),ht.depthStencil=et(co),ht.width=at.width,ht.height=at.height,xt(at),ht}return K.framebufferCount++,ht(yt,qe),O(ht,{resize:function(Mt,zt){Y(oe.next!==at,"can not resize a framebuffer which is currently in use");var Ut=Math.max(0|Mt,1),Xt=Math.max(0|zt||Ut,1);if(Ut===at.width&&Xt===at.height)return ht;for(var fr=at.colorAttachments,Or=0;Or=2,"invalid shape for framebuffer"),Y(an[0]===an[1],"cube framebuffer must be square"),Xt=an[0]}else"radius"in ur&&(Xt=0|ur.radius),"width"in ur?(Xt=0|ur.width,"height"in ur&&Y(ur.height===Xt,"must be square")):"height"in ur&&(Xt=0|ur.height);("color"in ur||"colors"in ur)&&(fr=ur.color||ur.colors,Array.isArray(fr)&&Y(fr.length===1||St.webgl_draw_buffers,"multiple render targets not supported")),fr||("colorCount"in ur&&(br=0|ur.colorCount,Y(br>0,"invalid color buffer count")),"colorType"in ur&&(Y.oneOf(ur.colorType,De,"invalid color type"),kr=ur.colorType),"colorFormat"in ur&&(Or=ur.colorFormat,Y.oneOf(ur.colorFormat,pe,"invalid color format for texture"))),"depth"in ur&&(Ut.depth=ur.depth),"stencil"in ur&&(Ut.stencil=ur.stencil),"depthStencil"in ur&&(Ut.depthStencil=ur.depthStencil)}else Xt=1;if(fr)if(Array.isArray(fr))for(zt=[],Mt=0;Mt0&&(Ut.depth=qe[0].depth,Ut.stencil=qe[0].stencil,Ut.depthStencil=qe[0].depthStencil),qe[Mt]?qe[Mt](Ut):qe[Mt]=Ot(Ut)}return O(at,{width:Xt,height:Xt,color:zt})}return at(yt),O(at,{faces:qe,resize:function(ht){var Mt,zt=0|ht;if(Y(zt>0&&zt<=w.maxCubeMapSize,"invalid radius for cube fbo"),zt===at.width)return at;var Ut=at.color;for(Mt=0;Mt=0;--$e){var St=Jr[$e];St&&St(gr,null,0)}bt.flush(),Wt&&Wt.update()}function Ji(){!nn&&Jr.length>0&&(nn=le.next(pi))}function Ai(){nn&&(le.cancel(pi),nn=null)}function Gn($e){$e.preventDefault(),we=!0,Ai(),ko.forEach(function(St){St()})}function zi($e){bt.getError(),we=!1,ze.restore(),jn.restore(),Fr.restore(),Cn.restore(),qn.restore(),Qr.restore(),$r.restore(),Wt&&Wt.restore(),Mn.procs.refresh(),Ji(),Fi.forEach(function(St){St()})}function Di($e){function St(Fe,Ye){var Ge={},Xe={};return Object.keys(Fe).forEach(function(et){var tt=Fe[et];if(W.isDynamic(tt))Xe[et]=W.unbox(tt,et);else{if(Ye&&Array.isArray(tt)){for(var Ve=0;Ve0)return De.call(this,function(Xe){for(;ke.length=0,"cannot cancel a frame twice"),Jr[St]=function w(){var D=vr(Jr,w);Jr[D]=Jr[Jr.length-1],Jr.length-=1,Jr.length<=0&&Ai()}}}}function eo(){var $e=Sn.viewport,St=Sn.scissor_box;$e[0]=$e[1]=St[0]=St[1]=0,gr.viewportWidth=gr.framebufferWidth=gr.drawingBufferWidth=$e[2]=St[2]=bt.drawingBufferWidth,gr.viewportHeight=gr.framebufferHeight=gr.drawingBufferHeight=$e[3]=St[3]=bt.drawingBufferHeight}function so(){gr.tick+=1,gr.time=Ti(),eo(),Mn.procs.poll()}function Vi(){Cn.refresh(),eo(),Mn.procs.refresh(),Wt&&Wt.update()}function Ti(){return(Oe()-er)/1e3}Vi();var _t=O(Di,{clear:function($e){if(Y(_($e)==="object"&&$e,"regl.clear() takes an object as input"),"framebuffer"in $e)if($e.framebuffer&&$e.framebuffer_reglType==="framebufferCube")for(var St=0;St<6;++St)fi(O({framebuffer:$e.framebuffer.faces[St]},$e),Ui);else fi($e,Ui);else Ui(0,$e)},prop:W.define.bind(null,1),context:W.define.bind(null,2),this:W.define.bind(null,3),draw:Di({}),buffer:function($e){return Fr.create($e,34962,!1,!1)},elements:function($e){return Kr.create($e,!1)},texture:Cn.create2D,cube:Cn.createCube,renderbuffer:qn.create,framebuffer:Qr.create,framebufferCube:Qr.createCube,vao:$r.createVAO,attributes:Ft,frame:Ci,on:function($e,St){var w;switch(Y.type(St,"function","listener callback must be a function"),$e){case"frame":return Ci(St);case"lost":w=ko;break;case"restore":w=Fi;break;case"destroy":w=Qi;break;default:Y.raise("invalid event, must be one of frame,lost,restore,destroy")}return w.push(St),{cancel:function(){for(var D=0;D=0},read:ai,destroy:function(){Jr.length=0,Ai(),si&&(si.removeEventListener("webglcontextlost",Gn),si.removeEventListener("webglcontextrestored",zi)),jn.clear(),Qr.clear(),qn.clear(),Cn.clear(),Kr.clear(),Fr.clear(),$r.clear(),Wt&&Wt.clear(),Qi.forEach(function($e){$e()})},_gl:bt,_refresh:Vi,poll:function(){so(),Wt&&Wt.update()},now:Ti,stats:wt});return ut.onDone(null,_t),_t}},_(b)==="object"&&R!==void 0?R.exports=M():(c=typeof(f=M)=="function"?f.call(b,o,b,R):f)===void 0||(R.exports=c)},,,,,,,,function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.GADDIAsync=b.getNeighborsAsync=b.pageRankAsync=b.minimumSpanningTreeAsync=b.louvainAsync=b.labelPropagationAsync=b.floydWarshallAsync=b.findShortestPathAsync=b.findAllPathAsync=b.dijkstraAsync=b.detectAllUndirectedCycleAsync=b.detectAllDirectedCycleAsync=b.detectAllCyclesAsync=b.detectCycleAsync=b.getOutDegreeAsync=b.getInDegreeAsync=b.getDegreeAsync=b.connectedComponentAsync=b.getAdjMatrixAsync=void 0;var f,c=(f=o(281))&&f.__esModule?f:{default:f},M=o(141);b.getAdjMatrixAsync=function(_,x){return(0,c.default)(M.ALGORITHM.getAdjMatrix).apply(void 0,[_,x])},b.connectedComponentAsync=function(_,x){return(0,c.default)(M.ALGORITHM.connectedComponent).apply(void 0,[_,x])},b.getDegreeAsync=function(_){return(0,c.default)(M.ALGORITHM.getDegree)(_)},b.getInDegreeAsync=function(_,x){return(0,c.default)(M.ALGORITHM.getInDegree)(_,x)},b.getOutDegreeAsync=function(_,x){return(0,c.default)(M.ALGORITHM.getOutDegree)(_,x)},b.detectCycleAsync=function(_){return(0,c.default)(M.ALGORITHM.detectCycle)(_)},b.detectAllCyclesAsync=function(_){return(0,c.default)(M.ALGORITHM.detectAllCycles)(_)},b.detectAllDirectedCycleAsync=function(_){return(0,c.default)(M.ALGORITHM.detectAllDirectedCycle)(_)},b.detectAllUndirectedCycleAsync=function(_){return(0,c.default)(M.ALGORITHM.detectAllUndirectedCycle)(_)},b.dijkstraAsync=function(_,x,O,S){return(0,c.default)(M.ALGORITHM.dijkstra).apply(void 0,[_,x,O,S])},b.findAllPathAsync=function(_,x,O,S){return(0,c.default)(M.ALGORITHM.findAllPath).apply(void 0,[_,x,O,S])},b.findShortestPathAsync=function(_,x,O,S,g){return(0,c.default)(M.ALGORITHM.findShortestPath).apply(void 0,[_,x,O,S,g])},b.floydWarshallAsync=function(_,x){return(0,c.default)(M.ALGORITHM.floydWarshall).apply(void 0,[_,x])},b.labelPropagationAsync=function(_,x,O,S){return S===void 0&&(S=1e3),(0,c.default)(M.ALGORITHM.labelPropagation)(_,x,O,S)},b.louvainAsync=function(_,x,O,S){return(0,c.default)(M.ALGORITHM.louvain)(_,x,O,S)},b.minimumSpanningTreeAsync=function(_,x,O){return(0,c.default)(M.ALGORITHM.minimumSpanningTree).apply(void 0,[_,x,O])},b.pageRankAsync=function(_,x,O){return(0,c.default)(M.ALGORITHM.pageRank).apply(void 0,[_,x,O])},b.getNeighborsAsync=function(_,x,O){return(0,c.default)(M.ALGORITHM.getNeighbors).apply(void 0,[_,x,O])},b.GADDIAsync=function(_,x,O,S,g,h,y){return O===void 0&&(O=!1),h===void 0&&(h="cluster"),y===void 0&&(y="cluster"),(0,c.default)(M.ALGORITHM.GADDI).apply(void 0,[_,x,O,S,g,h,y])}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f,c=o(141),M=(f=o(282))&&f.__esModule?f:{default:f},_=function(x){return function(){for(var O=[],S=0;S0;)for(var xe=re.pop(),ye=xe.id,Y=(0,x.getNeighbors)(ye,y.edges),Ce=function(he){var Q,W=Y[he],le=y.nodes.find(function(U){return U.id===W});if(W===ye)C.push(((Q={})[W]=xe,Q));else if(W in ue){if(!ue[ye].has(le)){for(var Oe=!0,Te=[le,xe],se=ae[ye];ue[W].size&&!ue[W].has(se)&&(Te.push(se),se!==ae[se.id]);)se=ae[se.id];if(Te.push(se),E&&m?(Oe=!1,Te.findIndex(function(U){return E.indexOf(U.id)>-1})>-1&&(Oe=!0)):E&&!m&&Te.findIndex(function(U){return E.indexOf(U.id)>-1})>-1&&(Oe=!1),Oe){for(var ee={},te=1;te-1)return X;p.push(ee),A.add(ee);for(var B=U[ee.id],J=0;J0;){var je=_e.pop();A.has(je)&&(A.delete(je),C[je.id].forEach(function(Me){_e.push(Me)}),C[je.id].clear())}})(ee);else for(J=0;J-1});_e-1?Z[fe.id].push(L[Me]):N.push(((ee={})[fe.id]=fe,ee))}}return{component:ie,adjList:Z,minIdx:U}},Ce=0;Ce=Ce}),he=(0,_.detectStrongConnectComponents)({nodes:ge,edges:y.edges}).filter(function(se){return se.length>1});if(he.length===0)break;var Q=Y(he),W=Q.minIdx,le=Q.adjList,Oe=Q.component;if(!(Oe.length>1))break;Oe.forEach(function(se){C[se.id]=new Set});var Te=P[W];if(E&&m&&E.indexOf(Te.id)===-1)return N;z(Te,Te,le),Ce=W+1}return N};b.detectAllDirectedCycle=g,b.detectAllCycles=function(y,E,m,p){return p===void 0&&(p=!0),E?g(y,m,p):S(y,m,p)};var h=function(y){var E=null,m=y.nodes,p={},A={},C={},N={};(m===void 0?[]:m).forEach(function(z){A[z.id]=z});for(var P={enter:function(z){var H=z.current,re=z.previous;if(C[H]){E={};for(var ae=H,ue=re;ue!==H;)E[ae]=ue,ae=ue,ue=p[ue];E[ae]=ue}else C[H]=H,delete A[H],p[H]=re},leave:function(z){var H=z.current;N[H]=H,delete C[H]},allowTraversal:function(z){var H=z.next;return!E&&!N[H]}};Object.keys(A).length;){var L=Object.keys(A)[0];(0,M.default)(y,L,P)}return E};b.default=h},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.findAllPath=b.findShortestPath=void 0;var f,c=(f=o(142))&&f.__esModule?f:{default:f},M=o(45);b.findShortestPath=function(_,x,O,S,g){var h=(0,c.default)(_,x,S,g),y=h.length,E=h.path,m=h.allPath;return{length:y[O],path:E[O],allPath:m[O]}},b.findAllPath=function(_,x,O,S){var g;if(x===O)return[[x]];var h=_.edges,y=h===void 0?[]:h,E=[x],m=((g={})[x]=!0,g),p=[],A=[],C=S?(0,M.getNeighbors)(x,y,"target"):(0,M.getNeighbors)(x,y);for(p.push(C);E.length>0&&p.length>0;){var N=p[p.length-1];if(N.length){var P=N.shift();if(P&&(E.push(P),m[P]=!0,C=S?(0,M.getNeighbors)(P,y,"target"):(0,M.getNeighbors)(P,y),p.push(C.filter(function(H){return!m[H]}))),E[E.length-1]===O){var L=E.map(function(H){return H});A.push(L),z=E.pop(),m[z]=!1,p.pop()}}else{var z=E.pop();m[z]=!1,p.pop()}}return A}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f,c=(f=o(95))&&f.__esModule?f:{default:f},M=o(45),_=function(x,O,S,g){O===void 0&&(O=!1),S===void 0&&(S="weight"),g===void 0&&(g=1e3);var h=x.nodes,y=h===void 0?[]:h,E=x.edges,m=E===void 0?[]:E,p={},A={};y.forEach(function(ue,xe){var ye=(0,M.uniqueId)();ue.clusterId=ye,p[ye]={id:ye,nodes:[ue]},A[ue.id]={node:ue,idx:xe}});var C=(0,c.default)(x,O),N=[],P={};C.forEach(function(ue,xe){var ye=0,Y=y[xe].id;P[Y]={},ue.forEach(function(Ce,ge){if(Ce){ye+=Ce;var he=y[ge].id;P[Y][he]=Ce}}),N.push(ye)});for(var L=0,z=function(){var ue=!1;if(y.forEach(function(xe){var ye={};Object.keys(P[xe.id]).forEach(function(Oe){var Te=P[xe.id][Oe],se=A[Oe].node.clusterId;ye[se]||(ye[se]=0),ye[se]+=Te});var Y=-1/0,Ce=[];if(Object.keys(ye).forEach(function(Oe){Y=0&&Ce.splice(ge,1),Ce&&Ce.length){ue=!0;var he=p[xe.clusterId],Q=he.nodes.indexOf(xe);he.nodes.splice(Q,1);var W=Math.floor(Math.random()*Ce.length),le=p[Ce[W]];le.nodes.push(xe),xe.clusterId=le.id}}}),!ue)return"break";L++};L100);)re=H,ae++,Object.keys(A).forEach(function(ge){var he=0;m.forEach(function(Q){var W=Q.source,le=Q.target,Oe=C[W].node.clusterId,Te=C[le].node.clusterId;(Oe===ge&&Te!==ge||Te===ge&&Oe!==ge)&&(he+=Q[S]||1)}),A[ge].sumTot=he}),y.forEach(function(ge,he){var Q,W=A[ge.clusterId],le=0,Oe=P[he]/(2*z),Te=0;W.nodes.forEach(function(J){var ne=C[J.id].idx;Te+=N[he][ne]||0});var se=Te-W.sumTot*Oe,ee=L[ge.id];if(Object.keys(ee).forEach(function(J){var ne=C[J].node.clusterId;if(ne!==ge.clusterId){var ie=A[ne],Z=ie.nodes;if(Z&&Z.length){var fe=0;Z.forEach(function(je){var Me=C[je.id].idx;fe+=N[he][Me]||0});var _e=fe-ie.sumTot*Oe-se;_e>le&&(le=_e,Q=ie)}}}),le>0){Q.nodes.push(ge);var te=ge.clusterId;ge.clusterId=Q.id;var U=W.nodes.indexOf(ge);W.nodes.splice(U,1);var X=0,B=0;m.forEach(function(J){var ne=J.source,ie=J.target,Z=C[ne].node.clusterId,fe=C[ie].node.clusterId;(Z===Q.id&&fe!==Q.id||fe===Q.id&&Z!==Q.id)&&(X+=J[S]||1),(Z===te&&fe!==te||fe===te&&Z!==te)&&(B+=J[S]||1)}),Q.sumTot=X,W.sumTot=B}});var ue={},xe=0;Object.keys(A).forEach(function(ge){var he=A[ge];if(he.nodes&&he.nodes.length){var Q=String(xe+1);Q!==ge&&(he.id=Q,he.nodes=he.nodes.map(function(W){return{id:W.id,clusterId:Q}}),A[Q]=he,ue[ge]=Q,delete A[ge],xe++)}else delete A[ge]}),y.forEach(function(ge){ge.clusterId&&ue[ge.clusterId]&&(ge.clusterId=ue[ge.clusterId])});var ye=[],Y={};m.forEach(function(ge){var he=ge.source,Q=ge.target,W=ge[S]||1,le=C[he].node.clusterId,Oe=C[Q].node.clusterId,Te=le+"---"+Oe;if(Y[Te])Y[Te].weight+=W,Y[Te].count++;else{var se={source:le,target:Oe,weight:W,count:1};Y[Te]=se,ye.push(se)}});var Ce=[];return Object.keys(A).forEach(function(ge){Ce.push(A[ge])}),{clusters:Ce,clusterEdges:ye}};b.default=_},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=_(o(292)),c=_(o(293)),M=o(45);function _(g){return g&&g.__esModule?g:{default:g}}var x=function(g,h){var y=[],E=g.nodes,m=E===void 0?[]:E,p=g.edges,A=p===void 0?[]:p;if(m.length===0)return y;var C=m[0],N=new Set;N.add(C);var P=new c.default(function(re,ae){return h?re.weight-ae.weight:0});for((0,M.getEdgesByNodeId)(C.id,A).forEach(function(re){P.insert(re)});!P.isEmpty();){var L=P.delMin(),z=L.source,H=L.target;N.has(z)&&N.has(H)||(y.push(L),N.has(z)||(N.add(z),(0,M.getEdgesByNodeId)(z,A).forEach(function(re){P.insert(re)})),N.has(H)||(N.add(H),(0,M.getEdgesByNodeId)(H,A).forEach(function(re){P.insert(re)})))}return y},O=function(g,h){var y=[],E=g.nodes,m=E===void 0?[]:E,p=g.edges,A=p===void 0?[]:p;if(m.length===0)return y;var C=A.map(function(H){return H});h&&C.sort(function(H,re){return H.weight-re.weight});for(var N=new f.default(m.map(function(H){return H.id}));C.length>0;){var P=C.shift(),L=P.source,z=P.target;N.connected(L,z)||(y.push(P),N.union(L,z))}return y},S=function(g,h,y){return y?{prim:x,kruskal:O}[y](g,h):O(g,h)};b.default=S},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=function(){function c(M){this.count=M.length,this.parent={};for(var _=0,x=M;_0&&(this.list[0]=x,this.moveDown(0)),_},M.prototype.insert=function(_){if(_!==null){this.list.push(_);var x=this.list.length-1;return this.moveUp(x),!0}return!1},M.prototype.moveUp=function(_){for(var x=this.getParent(_);_&&_>0&&this.compareFn(this.list[x],this.list[_])>0;){var O=this.list[x];this.list[x]=this.list[_],this.list[_]=O,_=x,x=this.getParent(_)}},M.prototype.moveDown=function(_){var x,O=_,S=this.getLeft(_),g=this.getRight(_),h=this.list.length;S!==null&&S0?O=S:g!==null&&g0&&(O=g),_!==O&&(x=[this.list[O],this.list[_]],this.list[_]=x[0],this.list[O]=x[1],this.moveDown(O))},M}();b.default=c},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f,c=(f=o(170))&&f.__esModule?f:{default:f},M=o(45),_=function(x,O,S){typeof O!="number"&&(O=1e-6),typeof S!="number"&&(S=.85);for(var g,h=1,y=0,E=1e3,m=x.nodes,p=m===void 0?[]:m,A=x.edges,C=A===void 0?[]:A,N=p.length,P={},L={},z=0;z0&&h>O;){for(y=0,z=0;z0&&(g+=L[xe]/ye)}P[re]=S*g,y+=P[re]}}for(y=(1-y)/N,h=0,z=0;z2*tr)););if(Nr<2*tr&&(mr[xr+"-"+Ur]={start:xr,end:Ur,distance:ar[xr][Ur]},dr++,++Rr>=nr))return mr;if(++Gr>2*tr)break}drKe[Qt][Ur]){pn=!0;break}if(pn)return Me.splice(pr,1),"continue";var Nr={};dr.neighbors.forEach(function(Ir){var On=Y[xr.id+"-"+Ir.id];Nr[xr.id+"-"+Ir.id]={start:he[xr.id].idx,end:he[Ir.id].idx,distance:On}}),U=y(Nr,se,N,U);var Dr=[];Object.keys(Nr).forEach(function(Ir){if(fe[Ir])Dr.push(fe[Ir]);else{var On=U[Ir];fe[Ir]=E(On,Z,re,ae),Dr.push(fe[Ir])}}),Dr=Dr.sort(function(Ir,On){return On-Ir});var rn=!1;for(Ur=0;Ur=0;Rr--)mr(Rr)});var Je=[];Me.forEach(function(Qt){for(var tr=he[Qt.id].idx,nr=h(N.nodes,xe[tr],tr,re,H).neighbors,Mr=nr.length,ar=!1,yr=function(pr){if(nr.length+1Ke[dr][Ke[dr].length-1])return nr.splice(pr,1),"continue";var pn=fe[Gr]?fe[Gr]:function(Dr,rn,Ir,On,In,Dn,Rn,gn,Er,ln,yn){var mn,Qn=rn.id+"-"+Ir.id;if(ln&&ln[Qn])return ln[Qn];var Un=yn?yn[Qn]:void 0;if(!Un){var ri=((mn={})[Qn]={start:On[rn.id].idx,end:On[Ir.id].idx,distance:In},mn);Un=(yn=y(ri,Dn,Dr,yn))[Qn]}return E(Un,Rn,gn,Er)}(N,Qt,xr,he,Lr,se,Z,re,ae,fe,U),Ur=_e.id+"-"+dr;if(pnrn&&(Nr=rn)}),Ae[dr]=Nr),he[xr.id].degree=0;mr--){var Rr=yr(mr);if(S(Rr)==="object")return Rr.value}ar||Je.push({nodes:[Qt].concat(nr)})});var nt=(0,_.default)(P,_e.id,!1).length,dt={};L?(Object.keys(nt).forEach(function(Qt){var tr=le[Qt].node[re];dt[tr]?dt[tr].push(nt[Qt]):dt[tr]=[nt[Qt]]}),Object.keys(dt).forEach(function(Qt){dt[Qt].sort(function(tr,nr){return tr-nr})})):dt=Ke;for(var kt=function(Qt){var tr=Je[Qt],nr=tr.nodes[0],Mr={},ar={};tr.nodes.forEach(function(Er,ln){ar[Er.id]={idx:ln,node:Er,degree:0};var yn=Er[re];Mr[yn]?Mr[yn]++:Mr[yn]=1});var yr=[],mr={};N.edges.forEach(function(Er){ar[Er.source]&&ar[Er.target]&&(yr.push(Er),mr[Er[ae]]?mr[Er[ae]]++:mr[Er[ae]]=1,ar[Er.source].degree++,ar[Er.target].degree++)});for(var Rr=Object.keys(Te).length,pr=!1,xr=0;xr=0&&pn(xr)!=="break";xr--);if(Lr)return Je.splice(Qt,1),"continue";tr.edges=yr;var Ur=(0,_.default)(tr,tr.nodes[0].id,!1).length;if(Object.keys(Ur).reverse().forEach(function(Er){if(Er!==tr.nodes[0].id&&!Lr){if(Ur[Er]===1/0){var ln=ar[Er].node[re];if(Mr[ln]--,Mr[ln]dt[mn][dt[mn].length-1]){if(ln=ar[Er].node[re],Mr[ln]--,Mr[ln]=0;rn--){var Ir=tr.nodes[rn],On=ar[Ir.id].degree,In=Ir[re];if(On=0;Dn--){var Rn=yr[Dn];if(!ar[Rn.source]||!ar[Rn.target]){yr.splice(Dn,1);var gn=Rn[ae];if(mr[gn]--,ar[Rn.source]&&ar[Rn.source].degree--,ar[Rn.target]&&ar[Rn.target].degree--,Te[gn]&&mr[gn]=0&&kt(At)!=="break";At--);var It=Je.length,Kt=function(Qt){var tr=Je[Qt],nr={};tr.edges.forEach(function(yr){var mr=yr.source+"-"+yr.target+"-"+yr.label;nr[mr]?nr[mr]++:nr[mr]=1});for(var Mr=function(yr){var mr=Je[yr],Rr={};mr.edges.forEach(function(xr){var dr=xr.source+"-"+xr.target+"-"+xr.label;Rr[dr]?Rr[dr]++:Rr[dr]=1});var pr=!0;Object.keys(Rr).length!==Object.keys(nr).length?pr=!1:Object.keys(nr).forEach(function(xr){Rr[xr]!==nr[xr]&&(pr=!1)}),pr&&Je.splice(yr,1)},ar=It-1;ar>Qt;ar--)Mr(ar);It=Je.length};for(At=0;At<=It-1;At++)Kt(At);return Je}}};b.default=C},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var f=o(0),c=o(297),M=function(){function g(h,y,E,m,p){this.fromNode=h,this.toNode=y,this.nodeEdgeNodeLabel={nodeLabel1:E||c.VACANT_NODE_LABEL,edgeLabel:m||c.VACANT_EDGE_LABEL,nodeLabel2:p||c.VACANT_NODE_LABEL}}return g.prototype.equalTo=function(h){return this.fromNode===h.formNode&&this.toNode===h.toNode&&this.nodeEdgeNodeLabel===h.nodeEdgeNodeLabel},g.prototype.notEqualTo=function(h){return!this.equalTo(h)},g}(),_=function(){function g(){this.rmpath=[],this.dfsEdgeList=[]}return g.prototype.equalTo=function(h){var y=this.dfsEdgeList.length;if(y!==h.length)return!1;for(var E=0;E=0;y--){var E=this.dfsEdgeList[y],m=E.fromNode,p=E.toNode;mH||m.hasNode(A[z.to])||(y.labelY&&Ce(ge)!=="break";ge--);if(xe){var he=h.findMinLabel(ue);A.dfsEdgeList.push(new M(ae,ye,c.VACANT_NODE_LABEL,he.edgeLabel,c.VACANT_NODE_LABEL));var Q=A.dfsEdgeList.length-1;return h.dfsCode.dfsEdgeList[Q]===A.dfsEdgeList[Q]&&L(ue[he.edgeLabel].projected)}var W={};xe=!1;var le=0;z.forEach(function(te){var U=new x(te),X=h.findForwardPureEdges(m,U.edges[H[0]],re,U);X.length>0&&(xe=!0,le=ae,X.forEach(function(B){var J=B.label+"-"+p[B.to].label;W[J]||(W[J]={projected:[],edgeLabel:B.label,nodeLabel2:p[B.to].label}),W[J].projected.push({graphId:m.id,edge:B,preNode:te})}))});var Oe=H.length,Te=function(te){if(xe)return"break";var U=H[te];z.forEach(function(X){var B=new x(X),J=h.findForwardRmpathEdges(m,B.edges[U],re,B);J.length>0&&(xe=!0,le=A.dfsEdgeList[U].fromNode,J.forEach(function(ne){var ie=ne.label+"-"+p[ne.to].label;W[ie]||(W[ie]={projected:[],edgeLabel:ne.label,nodeLabel2:p[ne.to].label}),W[ie].projected.push({graphId:m.id,edge:ne,preNode:X})}))})};for(ge=0;ge=0;re--){var ae=y.findBackwardEdge(L,H.edges[m[re]],H.edges[m[0]],H);if(ae){var ue=y.dfsCode.dfsEdgeList[m[re]].fromNode+"-"+ae.label;N[ue]||(N[ue]={projected:[],toNodeId:y.dfsCode.dfsEdgeList[m[re]].fromNode,edgeLabel:ae.label}),N[ue].projected.push({graphId:P.graphId,edge:ae,preNode:P})}}if(!(E>=y.maxNodeNum)){y.findForwardPureEdges(L,H.edges[m[0]],A,H).forEach(function(ye){var Y=p+"-"+ye.label+"-"+z[ye.to].label;C[Y]||(C[Y]={projected:[],fromNodeId:p,edgeLabel:ye.label,nodeLabel2:z[ye.to].label}),C[Y].projected.push({graphId:P.graphId,edge:ye,preNode:P})});var xe=function(ye){y.findForwardRmpathEdges(L,H.edges[m[ye]],A,H).forEach(function(Y){var Ce=y.dfsCode.dfsEdgeList[m[ye]].fromNode+"-"+Y.label+"-"+z[Y.to].label;C[Ce]||(C[Ce]={projected:[],fromNodeId:y.dfsCode.dfsEdgeList[m[ye]].fromNode,edgeLabel:Y.label,nodeLabel2:z[Y.to].label}),C[Ce].projected.push({graphId:P.graphId,edge:Y,preNode:P})})};for(re=0;reCe){var ge=Ce;Ce=Y,Y=ge}var he=ye.label,Q=P+"-"+Y+"-"+he+"-"+Ce,W=Y+"-"+he+"-"+Ce;if(!A[W]){var le=A[W]||0;le++,A[W]=le}N[Q]={graphId:P,nodeLabel1:Y,edgeLabel:he,nodeLabel2:Ce}})})}),Object.keys(p).forEach(function(P){if(!(p[P]=4&&g[3]!==1&&(h=", "+g[3]),"hwb("+g[0]+", "+g[1]+"%, "+g[2]+"%"+h+")"},x.to.keyword=function(g){return M[g.slice(0,3)]}},function(R,b,o){"use strict";R.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(R,b,o){"use strict";var f=o(301),c=Array.prototype.concat,M=Array.prototype.slice,_=R.exports=function(x){for(var O=[],S=0,g=x.length;S=0&&(o.splice instanceof Function||Object.getOwnPropertyDescriptor(o,o.length-1)&&o.constructor.name!=="String"))}},function(R,b,o){function f(x){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(x)}var c=o(173),M=o(304),_={};Object.keys(c).forEach(function(x){_[x]={},Object.defineProperty(_[x],"channels",{value:c[x].channels}),Object.defineProperty(_[x],"labels",{value:c[x].labels});var O=M(x);Object.keys(O).forEach(function(S){var g=O[S];_[x][S]=function(h){var y=function(E){if(E==null)return E;arguments.length>1&&(E=Array.prototype.slice.call(arguments));var m=h(E);if(f(m)==="object")for(var p=m.length,A=0;A1&&(E=Array.prototype.slice.call(arguments)),h(E))};return"conversion"in h&&(y.conversion=h.conversion),y}(g)})}),R.exports=_},function(R,b,o){"use strict";R.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(R,b,o){var f=o(173);function c(x){var O=function(){for(var A={},C=Object.keys(f),N=C.length,P=0;P-1}},function(R,b,o){var f=o(98);R.exports=function(c,M){var _=this.__data__,x=f(_,c);return x<0?(++this.size,_.push([c,M])):_[x][1]=M,this}},function(R,b,o){var f=o(97);R.exports=function(){this.__data__=new f,this.size=0}},function(R,b){R.exports=function(o){var f=this.__data__,c=f.delete(o);return this.size=f.size,c}},function(R,b){R.exports=function(o){return this.__data__.get(o)}},function(R,b){R.exports=function(o){return this.__data__.has(o)}},function(R,b,o){var f=o(97),c=o(144),M=o(145);R.exports=function(_,x){var O=this.__data__;if(O instanceof f){var S=O.__data__;if(!c||S.length<199)return S.push([_,x]),this.size=++O.size,this;O=this.__data__=new M(S)}return O.set(_,x),this.size=O.size,this}},function(R,b,o){var f=o(84),c=o(321),M=o(43),_=o(177),x=/^\[object .+?Constructor\]$/,O=Function.prototype,S=Object.prototype,g=O.toString,h=S.hasOwnProperty,y=RegExp("^"+g.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");R.exports=function(E){return!(!M(E)||c(E))&&(f(E)?y:x).test(_(E))}},function(R,b,o){var f=o(71),c=Object.prototype,M=c.hasOwnProperty,_=c.toString,x=f?f.toStringTag:void 0;R.exports=function(O){var S=M.call(O,x),g=O[x];try{O[x]=void 0;var h=!0}catch(E){}var y=_.call(O);return h&&(S?O[x]=g:delete O[x]),y}},function(R,b){var o=Object.prototype.toString;R.exports=function(f){return o.call(f)}},function(R,b,o){var f,c=o(322),M=(f=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"";R.exports=function(_){return!!M&&M in _}},function(R,b,o){var f=o(47)["__core-js_shared__"];R.exports=f},function(R,b){R.exports=function(o,f){return o==null?void 0:o[f]}},function(R,b,o){var f=o(325),c=o(97),M=o(144);R.exports=function(){this.size=0,this.__data__={hash:new f,map:new(M||c),string:new f}}},function(R,b,o){var f=o(326),c=o(327),M=o(328),_=o(329),x=o(330);function O(S){var g=-1,h=S==null?0:S.length;for(this.clear();++g0){if(++c>=800)return arguments[0]}else c=0;return f.apply(void 0,arguments)}}},function(R,b,o){var f=o(199),c=o(399),M=o(403),_=o(200),x=o(404),O=o(156);R.exports=function(S,g,h){var y=-1,E=c,m=S.length,p=!0,A=[],C=A;if(h)p=!1,E=M;else if(m>=200){var N=g?null:x(S);if(N)return O(N);p=!1,E=_,C=new f}else C=g?[]:A;e:for(;++y-1}},function(R,b,o){var f=o(214),c=o(401),M=o(402);R.exports=function(_,x,O){return x==x?M(_,x,O):f(_,c,O)}},function(R,b){R.exports=function(o){return o!=o}},function(R,b){R.exports=function(o,f,c){for(var M=c-1,_=o.length;++M<_;)if(o[M]===f)return M;return-1}},function(R,b){R.exports=function(o,f,c){for(var M=-1,_=o==null?0:o.length;++M<_;)if(c(f,o[M]))return!0;return!1}},function(R,b,o){var f=o(188),c=o(405),M=o(156),_=f&&1/M(new f([,-0]))[1]==1/0?function(x){return new f(x)}:c;R.exports=_},function(R,b){R.exports=function(){}},function(R,b,o){var f=o(110);R.exports=function(c,M){return f(M,function(_){return c[_]})}},function(R,b){R.exports="2.1.8"},function(R,b,o){var f=o(42),c=o(143);function M(x){return f.map(x.nodes(),function(O){var S=x.node(O),g=x.parent(O),h={v:O};return f.isUndefined(S)||(h.value=S),f.isUndefined(g)||(h.parent=g),h})}function _(x){return f.map(x.edges(),function(O){var S=x.edge(O),g={v:O.v,w:O.w};return f.isUndefined(O.name)||(g.name=O.name),f.isUndefined(S)||(g.value=S),g})}R.exports={write:function(x){var O={options:{directed:x.isDirected(),multigraph:x.isMultigraph(),compound:x.isCompound()},nodes:M(x),edges:_(x)};return f.isUndefined(x.graph())||(O.value=f.clone(x.graph())),O},read:function(x){var O=new c(x.options).setGraph(x.value);return f.each(x.nodes,function(S){O.setNode(S.v,S.value),S.parent&&O.setParent(S.v,S.parent)}),f.each(x.edges,function(S){O.setEdge({v:S.v,w:S.w,name:S.name},S.value)}),O}}},function(R,b,o){R.exports={components:o(410),dijkstra:o(217),dijkstraAll:o(411),findCycles:o(412),floydWarshall:o(413),isAcyclic:o(414),postorder:o(415),preorder:o(416),prim:o(417),tarjan:o(219),topsort:o(220)}},function(R,b,o){var f=o(42);R.exports=function(c){var M,_={},x=[];function O(S){f.has(_,S)||(_[S]=!0,M.push(S),f.each(c.successors(S),O),f.each(c.predecessors(S),O))}return f.each(c.nodes(),function(S){M=[],O(S),M.length&&x.push(M)}),x}},function(R,b,o){var f=o(217),c=o(42);R.exports=function(M,_,x){return c.transform(M.nodes(),function(O,S){O[S]=f(M,S,_,x)},{})}},function(R,b,o){var f=o(42),c=o(219);R.exports=function(M){return f.filter(c(M),function(_){return _.length>1||_.length===1&&M.hasEdge(_[0],_[0])})}},function(R,b,o){var f=o(42);R.exports=function(M,_,x){return function(O,S,g){var h={},y=O.nodes();return y.forEach(function(E){h[E]={},h[E][E]={distance:0},y.forEach(function(m){E!==m&&(h[E][m]={distance:Number.POSITIVE_INFINITY})}),g(E).forEach(function(m){var p=m.v===E?m.w:m.v,A=S(m);h[E][p]={distance:A,predecessor:E}})}),y.forEach(function(E){var m=h[E];y.forEach(function(p){var A=h[p];y.forEach(function(C){var N=A[E],P=m[C],L=A[C],z=N.distance+P.distance;z0;){if(O=h.removeMin(),f.has(g,O))S.setEdge(O,g[O]);else{if(E)throw new Error("Input graph is not connected: "+_);E=!0}_.nodeEdges(O).forEach(y)}return S}},function(R,b,o){"use strict";var f=o(28),c=o(458),M=o(461),_=o(462),x=o(36).normalizeRanks,O=o(464),S=o(36).removeEmptyRanks,g=o(465),h=o(466),y=o(467),E=o(468),m=o(477),p=o(36),A=o(46).Graph;R.exports=function(ye,Y){var Ce=Y&&Y.debugTiming?p.time:p.notime;Ce("layout",function(){var ge=Ce(" buildLayoutGraph",function(){return function(he){var Q=new A({multigraph:!0,compound:!0}),W=xe(he.graph());return Q.setGraph(f.merge({},N,ue(W,C),f.pick(W,P))),f.forEach(he.nodes(),function(le){var Oe=xe(he.node(le));Q.setNode(le,f.defaults(ue(Oe,L),z)),Q.setParent(le,he.parent(le))}),f.forEach(he.edges(),function(le){var Oe=xe(he.edge(le));Q.setEdge(le,f.merge({},re,ue(Oe,H),f.pick(Oe,ae)))}),Q}(ye)});Ce(" runLayout",function(){(function(he,Q){Q(" makeSpaceForEdgeLabels",function(){(function(W){var le=W.graph();le.ranksep/=2,f.forEach(W.edges(),function(Oe){var Te=W.edge(Oe);Te.minlen*=2,Te.labelpos.toLowerCase()!=="c"&&(le.rankdir==="TB"||le.rankdir==="BT"?Te.width+=Te.labeloffset:Te.height+=Te.labeloffset)})})(he)}),Q(" removeSelfEdges",function(){(function(W){f.forEach(W.edges(),function(le){if(le.v===le.w){var Oe=W.node(le.v);Oe.selfEdges||(Oe.selfEdges=[]),Oe.selfEdges.push({e:le,label:W.edge(le)}),W.removeEdge(le)}})})(he)}),Q(" acyclic",function(){c.run(he)}),Q(" nestingGraph.run",function(){g.run(he)}),Q(" rank",function(){_(p.asNonCompoundGraph(he))}),Q(" injectEdgeLabelProxies",function(){(function(W){f.forEach(W.edges(),function(le){var Oe=W.edge(le);if(Oe.width&&Oe.height){var Te=W.node(le.v),se={rank:(W.node(le.w).rank-Te.rank)/2+Te.rank,e:le};p.addDummyNode(W,"edge-proxy",se,"_ep")}})})(he)}),Q(" removeEmptyRanks",function(){S(he)}),Q(" nestingGraph.cleanup",function(){g.cleanup(he)}),Q(" normalizeRanks",function(){x(he)}),Q(" assignRankMinMax",function(){(function(W){var le=0;f.forEach(W.nodes(),function(Oe){var Te=W.node(Oe);Te.borderTop&&(Te.minRank=W.node(Te.borderTop).rank,Te.maxRank=W.node(Te.borderBottom).rank,le=f.max(le,Te.maxRank))}),W.graph().maxRank=le})(he)}),Q(" removeEdgeLabelProxies",function(){(function(W){f.forEach(W.nodes(),function(le){var Oe=W.node(le);Oe.dummy==="edge-proxy"&&(W.edge(Oe.e).labelRank=Oe.rank,W.removeNode(le))})})(he)}),Q(" normalize.run",function(){M.run(he)}),Q(" parentDummyChains",function(){O(he)}),Q(" addBorderSegments",function(){h(he)}),Q(" order",function(){E(he)}),Q(" insertSelfEdges",function(){(function(W){var le=p.buildLayerMatrix(W);f.forEach(le,function(Oe){var Te=0;f.forEach(Oe,function(se,ee){var te=W.node(se);te.order=ee+Te,f.forEach(te.selfEdges,function(U){p.addDummyNode(W,"selfedge",{width:U.label.width,height:U.label.height,rank:te.rank,order:ee+ ++Te,e:U.e,label:U.label},"_se")}),delete te.selfEdges})})})(he)}),Q(" adjustCoordinateSystem",function(){y.adjust(he)}),Q(" position",function(){m(he)}),Q(" positionSelfEdges",function(){(function(W){f.forEach(W.nodes(),function(le){var Oe=W.node(le);if(Oe.dummy==="selfedge"){var Te=W.node(Oe.e.v),se=Te.x+Te.width/2,ee=Te.y,te=Oe.x-se,U=Te.height/2;W.setEdge(Oe.e,Oe.label),W.removeNode(le),Oe.label.points=[{x:se+2*te/3,y:ee-U},{x:se+5*te/6,y:ee-U},{x:se+te,y:ee},{x:se+5*te/6,y:ee+U},{x:se+2*te/3,y:ee+U}],Oe.label.x=Oe.x,Oe.label.y=Oe.y}})})(he)}),Q(" removeBorderNodes",function(){(function(W){f.forEach(W.nodes(),function(le){if(W.children(le).length){var Oe=W.node(le),Te=W.node(Oe.borderTop),se=W.node(Oe.borderBottom),ee=W.node(f.last(Oe.borderLeft)),te=W.node(f.last(Oe.borderRight));Oe.width=Math.abs(te.x-ee.x),Oe.height=Math.abs(se.y-Te.y),Oe.x=ee.x+Oe.width/2,Oe.y=Te.y+Oe.height/2}}),f.forEach(W.nodes(),function(le){W.node(le).dummy==="border"&&W.removeNode(le)})})(he)}),Q(" normalize.undo",function(){M.undo(he)}),Q(" fixupEdgeLabelCoords",function(){(function(W){f.forEach(W.edges(),function(le){var Oe=W.edge(le);if(f.has(Oe,"x"))switch(Oe.labelpos!=="l"&&Oe.labelpos!=="r"||(Oe.width-=Oe.labeloffset),Oe.labelpos){case"l":Oe.x-=Oe.width/2+Oe.labeloffset;break;case"r":Oe.x+=Oe.width/2+Oe.labeloffset}})})(he)}),Q(" undoCoordinateSystem",function(){y.undo(he)}),Q(" translateGraph",function(){(function(W){var le=Number.POSITIVE_INFINITY,Oe=0,Te=Number.POSITIVE_INFINITY,se=0,ee=W.graph(),te=ee.marginx||0,U=ee.marginy||0;function X(B){var J=B.x,ne=B.y,ie=B.width,Z=B.height;le=Math.min(le,J-ie/2),Oe=Math.max(Oe,J+ie/2),Te=Math.min(Te,ne-Z/2),se=Math.max(se,ne+Z/2)}f.forEach(W.nodes(),function(B){X(W.node(B))}),f.forEach(W.edges(),function(B){var J=W.edge(B);f.has(J,"x")&&X(J)}),le-=te,Te-=U,f.forEach(W.nodes(),function(B){var J=W.node(B);J.x-=le,J.y-=Te}),f.forEach(W.edges(),function(B){var J=W.edge(B);f.forEach(J.points,function(ne){ne.x-=le,ne.y-=Te}),f.has(J,"x")&&(J.x-=le),f.has(J,"y")&&(J.y-=Te)}),ee.width=Oe-le+te,ee.height=se-Te+U})(he)}),Q(" assignNodeIntersects",function(){(function(W){f.forEach(W.edges(),function(le){var Oe,Te,se=W.edge(le),ee=W.node(le.v),te=W.node(le.w);se.points?(Oe=se.points[0],Te=se.points[se.points.length-1]):(se.points=[],Oe=te,Te=ee),se.points.unshift(p.intersectRect(ee,Oe)),se.points.push(p.intersectRect(te,Te))})})(he)}),Q(" reversePoints",function(){(function(W){f.forEach(W.edges(),function(le){var Oe=W.edge(le);Oe.reversed&&Oe.points.reverse()})})(he)}),Q(" acyclic.undo",function(){c.undo(he)})})(ge,Ce)}),Ce(" updateInputGraph",function(){(function(he,Q){f.forEach(he.nodes(),function(W){var le=he.node(W),Oe=Q.node(W);le&&(le.x=Oe.x,le.y=Oe.y,Q.children(W).length&&(le.width=Oe.width,le.height=Oe.height))}),f.forEach(he.edges(),function(W){var le=he.edge(W),Oe=Q.edge(W);le.points=Oe.points,f.has(Oe,"x")&&(le.x=Oe.x,le.y=Oe.y)}),he.graph().width=Q.graph().width,he.graph().height=Q.graph().height})(ye,ge)})})};var C=["nodesep","edgesep","ranksep","marginx","marginy"],N={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},P=["acyclicer","ranker","rankdir","align"],L=["width","height"],z={width:0,height:0},H=["minlen","weight","width","height","labeloffset"],re={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},ae=["labelpos"];function ue(ye,Y){return f.mapValues(f.pick(ye,Y),Number)}function xe(ye){var Y={};return f.forEach(ye,function(Ce,ge){Y[ge.toLowerCase()]=Ce}),Y}},function(R,b,o){var f=o(174);R.exports=function(c){return f(c,5)}},function(R,b,o){var f=o(111),c=o(70),M=o(112),_=o(64),x=Object.prototype,O=x.hasOwnProperty,S=f(function(g,h){g=Object(g);var y=-1,E=h.length,m=E>2?h[2]:void 0;for(m&&M(h[0],h[1],m)&&(E=1);++y-1?g[h?x[y]:y]:void 0}}},function(R,b,o){var f=o(214),c=o(53),M=o(424),_=Math.max;R.exports=function(x,O,S){var g=x==null?0:x.length;if(!g)return-1;var h=S==null?0:M(S);return h<0&&(h=_(g+h,0)),f(x,c(O,3),h)}},function(R,b,o){var f=o(222);R.exports=function(c){var M=f(c),_=M%1;return M==M?_?M-_:M:0}},function(R,b,o){var f=o(426),c=o(43),M=o(74),_=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,O=/^0o[0-7]+$/i,S=parseInt;R.exports=function(g){if(typeof g=="number")return g;if(M(g))return NaN;if(c(g)){var h=typeof g.valueOf=="function"?g.valueOf():g;g=c(h)?h+"":h}if(typeof g!="string")return g===0?g:+g;g=f(g);var y=x.test(g);return y||O.test(g)?S(g.slice(2),y?2:8):_.test(g)?NaN:+g}},function(R,b,o){var f=o(427),c=/^\s+/;R.exports=function(M){return M&&M.slice(0,f(M)+1).replace(c,"")}},function(R,b){var o=/\s/;R.exports=function(f){for(var c=f.length;c--&&o.test(f.charAt(c)););return c}},function(R,b,o){var f=o(155),c=o(195),M=o(64);R.exports=function(_,x){return _==null?_:f(_,c(x),M)}},function(R,b){R.exports=function(o){var f=o==null?0:o.length;return f?o[f-1]:void 0}},function(R,b,o){var f=o(102),c=o(154),M=o(53);R.exports=function(_,x){var O={};return x=M(x,3),c(_,function(S,g,h){f(O,g,x(S,g,h))}),O}},function(R,b,o){var f=o(159),c=o(432),M=o(65);R.exports=function(_){return _&&_.length?f(_,M,c):void 0}},function(R,b){R.exports=function(o,f){return o>f}},function(R,b,o){var f=o(434),c=o(438)(function(M,_,x){f(M,_,x)});R.exports=c},function(R,b,o){var f=o(96),c=o(224),M=o(155),_=o(435),x=o(43),O=o(64),S=o(225);R.exports=function g(h,y,E,m,p){h!==y&&M(y,function(A,C){if(p||(p=new f),x(A))_(h,y,C,E,g,m,p);else{var N=m?m(S(h,C),A,C+"",h,y,p):void 0;N===void 0&&(N=A),c(h,C,N)}},O)}},function(R,b,o){var f=o(224),c=o(181),M=o(190),_=o(182),x=o(191),O=o(86),S=o(31),g=o(215),h=o(72),y=o(84),E=o(43),m=o(436),p=o(88),A=o(225),C=o(437);R.exports=function(N,P,L,z,H,re,ae){var ue=A(N,L),xe=A(P,L),ye=ae.get(xe);if(ye)f(N,L,ye);else{var Y=re?re(ue,xe,L+"",N,P,ae):void 0,Ce=Y===void 0;if(Ce){var ge=S(xe),he=!ge&&h(xe),Q=!ge&&!he&&p(xe);Y=xe,ge||he||Q?S(ue)?Y=ue:g(ue)?Y=_(ue):he?(Ce=!1,Y=c(xe,!0)):Q?(Ce=!1,Y=M(xe,!0)):Y=[]:m(xe)||O(xe)?(Y=ue,O(ue)?Y=C(ue):E(ue)&&!y(ue)||(Y=x(xe))):Ce=!1}Ce&&(ae.set(xe,Y),H(Y,xe,z,re,ae),ae.delete(xe)),f(N,L,Y)}}},function(R,b,o){var f=o(63),c=o(106),M=o(49),_=Function.prototype,x=Object.prototype,O=_.toString,S=x.hasOwnProperty,g=O.call(Object);R.exports=function(h){if(!M(h)||f(h)!="[object Object]")return!1;var y=c(h);if(y===null)return!0;var E=S.call(y,"constructor")&&y.constructor;return typeof E=="function"&&E instanceof E&&O.call(E)==g}},function(R,b,o){var f=o(85),c=o(64);R.exports=function(M){return f(M,c(M))}},function(R,b,o){var f=o(111),c=o(112);R.exports=function(M){return f(function(_,x){var O=-1,S=x.length,g=S>1?x[S-1]:void 0,h=S>2?x[2]:void 0;for(g=M.length>3&&typeof g=="function"?(S--,g):void 0,h&&c(x[0],x[1],h)&&(g=S<3?void 0:g,S=1),_=Object(_);++O1&&_(O,S[0],S[1])?S=[]:g>2&&_(S[0],S[1],S[2])&&(S=[S[0]]),c(O,f(S,1),[])});R.exports=x},function(R,b,o){var f=o(110),c=o(108),M=o(53),_=o(210),x=o(452),O=o(104),S=o(453),g=o(65),h=o(31);R.exports=function(y,E,m){E=E.length?f(E,function(C){return h(C)?function(N){return c(N,C.length===1?C[0]:C)}:C}):[g];var p=-1;E=f(E,O(M));var A=_(y,function(C,N,P){return{criteria:f(E,function(L){return L(C)}),index:++p,value:C}});return x(A,function(C,N){return S(C,N,m)})}},function(R,b){R.exports=function(o,f){var c=o.length;for(o.sort(f);c--;)o[c]=o[c].value;return o}},function(R,b,o){var f=o(454);R.exports=function(c,M,_){for(var x=-1,O=c.criteria,S=M.criteria,g=O.length,h=_.length;++x=h?y:y*(_[x]=="desc"?-1:1)}return c.index-M.index}},function(R,b,o){var f=o(74);R.exports=function(c,M){if(c!==M){var _=c!==void 0,x=c===null,O=c==c,S=f(c),g=M!==void 0,h=M===null,y=M==M,E=f(M);if(!h&&!E&&!S&&c>M||S&&g&&y&&!h&&!E||x&&g&&y||!_&&y||!O)return 1;if(!x&&!S&&!E&&c0;--L)if(A=m[L].dequeue()){C=C.concat(x(E,m,p,A,!0));break}}}return C}(h.graph,h.buckets,h.zeroIdx);return f.flatten(f.map(y,function(E){return S.outEdges(E.v,E.w)}),!0)};var _=f.constant(1);function x(S,g,h,y,E){var m=E?[]:void 0;return f.forEach(S.inEdges(y.v),function(p){var A=S.edge(p),C=S.node(p.v);E&&m.push({v:p.v,w:p.w}),C.out-=A,O(g,h,C)}),f.forEach(S.outEdges(y.v),function(p){var A=S.edge(p),C=p.w,N=S.node(C);N.in-=A,O(g,h,N)}),S.removeNode(y.v),m}function O(S,g,h){h.out?h.in?S[h.out-h.in+g].enqueue(h):S[S.length-1].enqueue(h):S[0].enqueue(h)}},function(R,b){function o(){var M={};M._next=M._prev=M,this._sentinel=M}function f(M){M._prev._next=M._next,M._next._prev=M._prev,delete M._next,delete M._prev}function c(M,_){if(M!=="_next"&&M!=="_prev")return _}R.exports=o,o.prototype.dequeue=function(){var M=this._sentinel,_=M._prev;if(_!==M)return f(_),_},o.prototype.enqueue=function(M){var _=this._sentinel;M._prev&&M._next&&f(M),M._next=_._next,_._next._prev=M,_._next=M,M._prev=_},o.prototype.toString=function(){for(var M=[],_=this._sentinel,x=_._prev;x!==_;)M.push(JSON.stringify(x,c)),x=x._prev;return"["+M.join(", ")+"]"}},function(R,b,o){"use strict";var f=o(28),c=o(36);R.exports={run:function(M){M.graph().dummyChains=[],f.forEach(M.edges(),function(_){(function(x,O){var S,g,h,y=O.v,E=x.node(y).rank,m=O.w,p=x.node(m).rank,A=O.name,C=x.edge(O),N=C.labelRank;if(p!==E+1){for(x.removeEdge(O),h=0,++E;Eue.lim&&(xe=ue,ye=!0);var Y=f.filter(L.edges(),function(Ce){return ye===N(P,P.node(Ce.v),xe)&&ye!==N(P,P.node(Ce.w),xe)});return f.minBy(Y,function(Ce){return M(L,Ce)})}function C(P,L,z,H){var re=z.v,ae=z.w;P.removeEdge(re,ae),P.setEdge(H.v,H.w,{}),E(P),h(P,L),function(ue,xe){var ye=f.find(ue.nodes(),function(Ce){return!xe.node(Ce).parent}),Y=x(ue,ye);Y=Y.slice(1),f.forEach(Y,function(Ce){var ge=ue.node(Ce).parent,he=xe.edge(Ce,ge),Q=!1;he||(he=xe.edge(ge,Ce),Q=!0),xe.node(Ce).rank=xe.node(ge).rank+(Q?he.minlen:-he.minlen)})}(P,L)}function N(P,L,z){return z.low<=L.lim&&L.lim<=z.lim}R.exports=g,g.initLowLimValues=E,g.initCutValues=h,g.calcCutValue=y,g.leaveEdge=p,g.enterEdge=A,g.exchangeEdges=C},function(R,b,o){var f=o(28);R.exports=function(c){var M=function(_){var x={},O=0;function S(g){var h=O;f.forEach(_.children(g),S),x[g]={low:h,lim:O++}}return f.forEach(_.children(),S),x}(c);f.forEach(c.graph().dummyChains,function(_){for(var x=c.node(_),O=x.edgeObj,S=function(p,A,C,N){var P,L,z=[],H=[],re=Math.min(A[C].low,A[N].low),ae=Math.max(A[C].lim,A[N].lim);P=C;do P=p.parent(P),z.push(P);while(P&&(A[P].low>re||ae>A[P].lim));for(L=P,P=N;(P=p.parent(P))!==L;)H.push(P);return{path:z.concat(H.reverse()),lca:L}}(c,M,O.v,O.w),g=S.path,h=S.lca,y=0,E=g[y],m=!0;_!==O.w;){if(x=c.node(_),m){for(;(E=g[y])!==h&&c.node(E).maxRank=2),N=g.buildLayerMatrix(m);var re=M(m,N);re0;)p%2&&(A+=y[p+1]),y[p=p-1>>1]+=m.weight;E+=m.weight*A})),E}R.exports=function(M,_){for(var x=0,O=1;O<_.length;++O)x+=c(M,_[O-1],_[O]);return x}},function(R,b,o){var f=o(28),c=o(472),M=o(473),_=o(474);R.exports=function x(O,S,g,h){var y=O.children(S),E=O.node(S),m=E?E.borderLeft:void 0,p=E?E.borderRight:void 0,A={};m&&(y=f.filter(y,function(H){return H!==m&&H!==p}));var C=c(O,y);f.forEach(C,function(H){if(O.children(H.v).length){var re=x(O,H.v,g,h);A[H.v]=re,f.has(re,"barycenter")&&(ae=H,ue=re,f.isUndefined(ae.barycenter)?(ae.barycenter=ue.barycenter,ae.weight=ue.weight):(ae.barycenter=(ae.barycenter*ae.weight+ue.barycenter*ue.weight)/(ae.weight+ue.weight),ae.weight+=ue.weight))}var ae,ue});var N=M(C,g);(function(H,re){f.forEach(H,function(ae){ae.vs=f.flatten(ae.vs.map(function(ue){return re[ue]?re[ue].vs:ue}),!0)})})(N,A);var P=_(N,h);if(m&&(P.vs=f.flatten([m,P.vs,p],!0),O.predecessors(m).length)){var L=O.node(O.predecessors(m)[0]),z=O.node(O.predecessors(p)[0]);f.has(P,"barycenter")||(P.barycenter=0,P.weight=0),P.barycenter=(P.barycenter*P.weight+L.order+z.order)/(P.weight+2),P.weight+=2}return P}},function(R,b,o){var f=o(28);R.exports=function(c,M){return f.map(M,function(_){var x=c.inEdges(_);if(x.length){var O=f.reduce(x,function(S,g){var h=c.edge(g),y=c.node(g.v);return{sum:S.sum+h.weight*y.order,weight:S.weight+h.weight}},{sum:0,weight:0});return{v:_,barycenter:O.sum/O.weight,weight:O.weight}}return{v:_}})}},function(R,b,o){"use strict";var f=o(28);R.exports=function(c,M){var _={};return f.forEach(c,function(x,O){var S=_[x.v]={indegree:0,in:[],out:[],vs:[x.v],i:O};f.isUndefined(x.barycenter)||(S.barycenter=x.barycenter,S.weight=x.weight)}),f.forEach(M.edges(),function(x){var O=_[x.v],S=_[x.w];f.isUndefined(O)||f.isUndefined(S)||(S.indegree++,O.out.push(_[x.w]))}),function(x){var O=[];function S(y){return function(E){E.merged||(f.isUndefined(E.barycenter)||f.isUndefined(y.barycenter)||E.barycenter>=y.barycenter)&&function(m,p){var A=0,C=0;m.weight&&(A+=m.barycenter*m.weight,C+=m.weight),p.weight&&(A+=p.barycenter*p.weight,C+=p.weight),m.vs=p.vs.concat(m.vs),m.barycenter=A/C,m.weight=C,m.i=Math.min(p.i,m.i),p.merged=!0}(y,E)}}function g(y){return function(E){E.in.push(y),--E.indegree==0&&x.push(E)}}for(;x.length;){var h=x.pop();O.push(h),f.forEach(h.in.reverse(),S(h)),f.forEach(h.out,g(h))}return f.map(f.filter(O,function(y){return!y.merged}),function(y){return f.pick(y,["vs","i","barycenter","weight"])})}(f.filter(_,function(x){return!x.indegree}))}},function(R,b,o){var f=o(28),c=o(36);function M(_,x,O){for(var S;x.length&&(S=f.last(x)).i<=O;)x.pop(),_.push(S.vs),O++;return O}R.exports=function(_,x){var O=c.partition(_,function(C){return f.has(C,"barycenter")}),S=O.lhs,g=f.sortBy(O.rhs,function(C){return-C.i}),h=[],y=0,E=0,m=0;S.sort((p=!!x,function(C,N){return C.barycenterN.barycenter?1:p?N.i-C.i:C.i-N.i})),m=M(h,g,m),f.forEach(S,function(C){m+=C.vs.length,h.push(C.vs),y+=C.barycenter*C.weight,E+=C.weight,m=M(h,g,m)});var p,A={vs:f.flatten(h,!0)};return E&&(A.barycenter=y/E,A.weight=E),A}},function(R,b,o){var f=o(28),c=o(46).Graph;R.exports=function(M,_,x){var O=function(g){for(var h;g.hasNode(h=f.uniqueId("_root")););return h}(M),S=new c({compound:!0}).setGraph({root:O}).setDefaultNodeLabel(function(g){return M.node(g)});return f.forEach(M.nodes(),function(g){var h=M.node(g),y=M.parent(g);(h.rank===_||h.minRank<=_&&_<=h.maxRank)&&(S.setNode(g),S.setParent(g,y||O),f.forEach(M[x](g),function(E){var m=E.v===g?E.w:E.v,p=S.edge(m,g),A=f.isUndefined(p)?0:p.weight;S.setEdge(m,g,{weight:M.edge(E).weight+A})}),f.has(h,"minRank")&&S.setNode(g,{borderLeft:h.borderLeft[_],borderRight:h.borderRight[_]}))}),S}},function(R,b,o){var f=o(28);R.exports=function(c,M,_){var x,O={};f.forEach(_,function(S){for(var g,h,y=c.parent(S);y;){if((g=c.parent(y))?(h=O[g],O[g]=y):(h=x,x=y),h&&h!==y)return void M.setEdge(h,y);y=g}})}},function(R,b,o){"use strict";var f=o(28),c=o(36),M=o(478).positionX;R.exports=function(_){(function(x){var O=c.buildLayerMatrix(x),S=x.graph().ranksep,g=0;f.forEach(O,function(h){var y=f.max(f.map(h,function(E){return x.node(E).height}));f.forEach(h,function(E){x.node(E).y=g+y/2}),g+=y+S})})(_=c.asNonCompoundGraph(_)),f.forEach(M(_),function(x,O){_.node(O).x=x})}},function(R,b,o){"use strict";var f=o(28),c=o(46).Graph,M=o(36);function _(p,A){var C={};return f.reduce(A,function(N,P){var L=0,z=0,H=N.length,re=f.last(P);return f.forEach(P,function(ae,ue){var xe=function(Y,Ce){if(Y.node(Ce).dummy)return f.find(Y.predecessors(Ce),function(ge){return Y.node(ge).dummy})}(p,ae),ye=xe?p.node(xe).order:H;(xe||ae===re)&&(f.forEach(P.slice(z,ue+1),function(Y){f.forEach(p.predecessors(Y),function(Ce){var ge=p.node(Ce),he=ge.order;!(here)&&O(C,xe,ae)})})}return f.reduce(A,function(P,L){var z,H=-1,re=0;return f.forEach(L,function(ae,ue){if(p.node(ae).dummy==="border"){var xe=p.predecessors(ae);xe.length&&(z=p.node(xe[0]).order,N(L,re,ue,H,z),re=ue,H=z)}N(L,re,L.length,z,P.length)}),L}),C}function O(p,A,C){if(A>C){var N=A;A=C,C=N}var P=p[A];P||(p[A]=P={}),P[C]=!0}function S(p,A,C){if(A>C){var N=A;A=C,C=N}return f.has(p[A],C)}function g(p,A,C,N){var P={},L={},z={};return f.forEach(A,function(H){f.forEach(H,function(re,ae){P[re]=re,L[re]=re,z[re]=ae})}),f.forEach(A,function(H){var re=-1;f.forEach(H,function(ae){var ue=N(ae);if(ue.length)for(var xe=((ue=f.sortBy(ue,function(ge){return z[ge]})).length-1)/2,ye=Math.floor(xe),Y=Math.ceil(xe);ye<=Y;++ye){var Ce=ue[ye];L[ae]===ae&&re=0;--Oe){var Te=this.tryEntries[Oe],se=Te.completion;if(Te.tryLoc==="root")return le("end");if(Te.tryLoc<=this.prev){var ee=O.call(Te,"catchLoc"),te=O.call(Te,"finallyLoc");if(ee&&te){if(this.prev=0;--le){var Oe=this.tryEntries[le];if(Oe.tryLoc<=this.prev&&O.call(Oe,"finallyLoc")&&this.prev=0;--W){var le=this.tryEntries[W];if(le.finallyLoc===Q)return this.complete(le.completion,le.afterLoc),Y(le),A}},catch:function(Q){for(var W=this.tryEntries.length-1;W>=0;--W){var le=this.tryEntries[W];if(le.tryLoc===Q){var Oe=le.completion;if(Oe.type==="throw"){var Te=Oe.arg;Y(le)}return Te}}throw new Error("illegal catch attempt")},delegateYield:function(Q,W,le){return this.delegate={iterator:ge(Q),resultName:W,nextLoc:le},this.method==="next"&&(this.arg=void 0),A}},_}(c(f)==="object"?f.exports:{});try{regeneratorRuntime=M}catch(_){(typeof globalThis=="undefined"?"undefined":c(globalThis))==="object"?globalThis.regeneratorRuntime=M:Function("r","regeneratorRuntime = r")(M)}}).call(this,o(87)(R))},function(R,b){R.exports=function(o){if(Array.isArray(o))return o},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){R.exports=function(o,f){var c=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(c!=null){var M,_,x=[],O=!0,S=!1;try{for(c=c.call(o);!(O=(M=c.next()).done)&&(x.push(M.value),!f||x.length!==f);O=!0);}catch(g){S=!0,_=g}finally{try{O||c.return==null||c.return()}finally{if(S)throw _}}return x}},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b){R.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},R.exports.default=R.exports,R.exports.__esModule=!0},function(R,b,o){"use strict";function f(L){return(f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z})(L)}var c=this&&this.__awaiter||function(L,z,H,re){return new(H||(H=Promise))(function(ae,ue){function xe(Ce){try{Y(re.next(Ce))}catch(ge){ue(ge)}}function ye(Ce){try{Y(re.throw(Ce))}catch(ge){ue(ge)}}function Y(Ce){var ge;Ce.done?ae(Ce.value):(ge=Ce.value,ge instanceof H?ge:new H(function(he){he(ge)})).then(xe,ye)}Y((re=re.apply(L,z||[])).next())})},M=this&&this.__generator||function(L,z){var H,re,ae,ue,xe={label:0,sent:function(){if(1&ae[0])throw ae[1];return ae[1]},trys:[],ops:[]};return ue={next:ye(0),throw:ye(1),return:ye(2)},typeof Symbol=="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function ye(Y){return function(Ce){return function(ge){if(H)throw new TypeError("Generator is already executing.");for(;xe;)try{if(H=1,re&&(ae=2&ge[0]?re.return:ge[0]?re.throw||((ae=re.return)&&ae.call(re),0):re.next)&&!(ae=ae.call(re,ge[1])).done)return ae;switch(re=0,ae&&(ge=[2&ge[0],ae.value]),ge[0]){case 0:case 1:ae=ge;break;case 4:return xe.label++,{value:ge[1],done:!1};case 5:xe.label++,re=ge[1],ge=[0];continue;case 7:ge=xe.ops.pop(),xe.trys.pop();continue;default:if(ae=xe.trys,!((ae=ae.length>0&&ae[ae.length-1])||ge[0]!==6&&ge[0]!==2)){xe=0;continue}if(ge[0]===3&&(!ae||ge[1]>ae[0]&&ge[1]0,re=z.length>p.length,ae=function(xe,ye,Y,Ce,ge){for(var he=[],Q=0;Q0?L:E(m,A)}return 0}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.QueryableString=void 0;var f=function(){function c(M){this.str=M}return c.prototype.startsWith=function(M){return this.str.indexOf(M)===0},c.prototype.endsWith=function(M){var _,x=M.split("").reverse().join("");return _=this.str.split("").reverse().join(""),this.startsWith.call({str:_},x)},c.prototype.contains=function(M){return this.str.indexOf(M)!==-1},c.prototype.equals=function(M){return this.str===M},c.prototype.value=function(){return this.str},c}();b.QueryableString=f},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Request=void 0;var f=o(66),c=function(){function M(_,x,O,S,g){this.id=f.id(),this.serviceIdentifier=_,this.parentContext=x,this.parentRequest=O,this.target=g,this.childRequests=[],this.bindings=Array.isArray(S)?S:[S],this.requestScope=O===null?new Map:null}return M.prototype.addChildRequest=function(_,x,O){var S=new M(_,this.parentContext,this,x,O);return this.childRequests.push(S),S},M}();b.Request=c},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.resolve=void 0;var f=o(40),c=o(54),M=o(232),_=o(90),x=o(495),O=function(S,g,h){try{return h()}catch(y){throw M.isStackOverflowExeption(y)?new Error(f.CIRCULAR_DEPENDENCY_IN_FACTORY(S,g.toString())):y}};b.resolve=function(S){return function g(h){return function(y){y.parentContext.setCurrentRequest(y);var E=y.bindings,m=y.childRequests,p=y.target&&y.target.isArray(),A=!(y.parentRequest&&y.parentRequest.target&&y.target&&y.parentRequest.target.matchesArray(y.target.serviceIdentifier));if(p&&A)return m.map(function(H){return g(h)(H)});var C=null;if(!y.target.isOptional()||E.length!==0){var N=E[0],P=N.scope===c.BindingScopeEnum.Singleton,L=N.scope===c.BindingScopeEnum.Request;if(P&&N.activated)return N.cache;if(L&&h!==null&&h.has(N.id))return h.get(N.id);if(N.type===c.BindingTypeEnum.ConstantValue)C=N.cache,N.activated=!0;else if(N.type===c.BindingTypeEnum.Function)C=N.cache,N.activated=!0;else if(N.type===c.BindingTypeEnum.Constructor)C=N.implementationType;else if(N.type===c.BindingTypeEnum.DynamicValue&&N.dynamicValue!==null)C=O("toDynamicValue",N.serviceIdentifier,function(){return N.dynamicValue(y.parentContext)});else if(N.type===c.BindingTypeEnum.Factory&&N.factory!==null)C=O("toFactory",N.serviceIdentifier,function(){return N.factory(y.parentContext)});else if(N.type===c.BindingTypeEnum.Provider&&N.provider!==null)C=O("toProvider",N.serviceIdentifier,function(){return N.provider(y.parentContext)});else{if(N.type!==c.BindingTypeEnum.Instance||N.implementationType===null){var z=_.getServiceIdentifierAsString(y.serviceIdentifier);throw new Error(f.INVALID_BINDING_TYPE+" "+z)}C=x.resolveInstance(N.implementationType,m,g(h))}return typeof N.onActivation=="function"&&(C=N.onActivation(y.parentContext,C)),P&&(N.cache=C,N.activated=!0),L&&h!==null&&!h.has(N.id)&&h.set(N.id,C),C}}}(S.plan.rootRequest.requestScope)(S.plan.rootRequest)}},function(R,b,o){"use strict";var f=this&&this.__spreadArray||function(x,O){for(var S=0,g=O.length,h=x.length;S0){var E=O.filter(function(m){return m.target!==null&&m.target.type===M.TargetTypeEnum.ConstructorArgument}).map(S);h=E,y=function(m,p,A){var C=p.filter(function(P){return P.target!==null&&P.target.type===M.TargetTypeEnum.ClassProperty}),N=C.map(A);return C.forEach(function(P,L){var z;z=P.target.name.value();var H=N[L];m[z]=H}),m}(y=new((g=x).bind.apply(g,f([void 0],h))),O,S)}else y=new x;return function(m,p){if(Reflect.hasMetadata(_.POST_CONSTRUCT,m)){var A=Reflect.getMetadata(_.POST_CONSTRUCT,m);try{p[A.value]()}catch(C){throw new Error(c.POST_CONSTRUCT_ERROR(m.name,C.message))}}}(x,y),y}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BindingToSyntax=void 0;var f=o(40),c=o(54),M=o(497),_=o(235),x=function(){function O(S){this._binding=S}return O.prototype.to=function(S){return this._binding.type=c.BindingTypeEnum.Instance,this._binding.implementationType=S,new M.BindingInWhenOnSyntax(this._binding)},O.prototype.toSelf=function(){if(typeof this._binding.serviceIdentifier!="function")throw new Error(""+f.INVALID_TO_SELF_VALUE);var S=this._binding.serviceIdentifier;return this.to(S)},O.prototype.toConstantValue=function(S){return this._binding.type=c.BindingTypeEnum.ConstantValue,this._binding.cache=S,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toDynamicValue=function(S){return this._binding.type=c.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=S,this._binding.implementationType=null,new M.BindingInWhenOnSyntax(this._binding)},O.prototype.toConstructor=function(S){return this._binding.type=c.BindingTypeEnum.Constructor,this._binding.implementationType=S,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toFactory=function(S){return this._binding.type=c.BindingTypeEnum.Factory,this._binding.factory=S,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toFunction=function(S){if(typeof S!="function")throw new Error(f.INVALID_FUNCTION_BINDING);var g=this.toConstantValue(S);return this._binding.type=c.BindingTypeEnum.Function,this._binding.scope=c.BindingScopeEnum.Singleton,g},O.prototype.toAutoFactory=function(S){return this._binding.type=c.BindingTypeEnum.Factory,this._binding.factory=function(g){return function(){return g.container.get(S)}},this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toProvider=function(S){return this._binding.type=c.BindingTypeEnum.Provider,this._binding.provider=S,this._binding.scope=c.BindingScopeEnum.Singleton,new _.BindingWhenOnSyntax(this._binding)},O.prototype.toService=function(S){this.toDynamicValue(function(g){return g.container.get(S)})},O}();b.BindingToSyntax=x},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BindingInWhenOnSyntax=void 0;var f=o(498),c=o(160),M=o(161),_=function(){function x(O){this._binding=O,this._bindingWhenSyntax=new M.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new c.BindingOnSyntax(this._binding),this._bindingInSyntax=new f.BindingInSyntax(O)}return x.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},x.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},x.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},x.prototype.when=function(O){return this._bindingWhenSyntax.when(O)},x.prototype.whenTargetNamed=function(O){return this._bindingWhenSyntax.whenTargetNamed(O)},x.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},x.prototype.whenTargetTagged=function(O,S){return this._bindingWhenSyntax.whenTargetTagged(O,S)},x.prototype.whenInjectedInto=function(O){return this._bindingWhenSyntax.whenInjectedInto(O)},x.prototype.whenParentNamed=function(O){return this._bindingWhenSyntax.whenParentNamed(O)},x.prototype.whenParentTagged=function(O,S){return this._bindingWhenSyntax.whenParentTagged(O,S)},x.prototype.whenAnyAncestorIs=function(O){return this._bindingWhenSyntax.whenAnyAncestorIs(O)},x.prototype.whenNoAncestorIs=function(O){return this._bindingWhenSyntax.whenNoAncestorIs(O)},x.prototype.whenAnyAncestorNamed=function(O){return this._bindingWhenSyntax.whenAnyAncestorNamed(O)},x.prototype.whenAnyAncestorTagged=function(O,S){return this._bindingWhenSyntax.whenAnyAncestorTagged(O,S)},x.prototype.whenNoAncestorNamed=function(O){return this._bindingWhenSyntax.whenNoAncestorNamed(O)},x.prototype.whenNoAncestorTagged=function(O,S){return this._bindingWhenSyntax.whenNoAncestorTagged(O,S)},x.prototype.whenAnyAncestorMatches=function(O){return this._bindingWhenSyntax.whenAnyAncestorMatches(O)},x.prototype.whenNoAncestorMatches=function(O){return this._bindingWhenSyntax.whenNoAncestorMatches(O)},x.prototype.onActivation=function(O){return this._bindingOnSyntax.onActivation(O)},x}();b.BindingInWhenOnSyntax=_},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.BindingInSyntax=void 0;var f=o(54),c=o(235),M=function(){function _(x){this._binding=x}return _.prototype.inRequestScope=function(){return this._binding.scope=f.BindingScopeEnum.Request,new c.BindingWhenOnSyntax(this._binding)},_.prototype.inSingletonScope=function(){return this._binding.scope=f.BindingScopeEnum.Singleton,new c.BindingWhenOnSyntax(this._binding)},_.prototype.inTransientScope=function(){return this._binding.scope=f.BindingScopeEnum.Transient,new c.BindingWhenOnSyntax(this._binding)},_}();b.BindingInSyntax=M},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ContainerSnapshot=void 0;var f=function(){function c(){}return c.of=function(M,_){var x=new c;return x.bindings=M,x.middleware=_,x},c}();b.ContainerSnapshot=f},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Lookup=void 0;var f=o(40),c=function(){function M(){this._map=new Map}return M.prototype.getMap=function(){return this._map},M.prototype.add=function(_,x){if(_==null)throw new Error(f.NULL_ARGUMENT);if(x==null)throw new Error(f.NULL_ARGUMENT);var O=this._map.get(_);O!==void 0?(O.push(x),this._map.set(_,O)):this._map.set(_,[x])},M.prototype.get=function(_){if(_==null)throw new Error(f.NULL_ARGUMENT);var x=this._map.get(_);if(x!==void 0)return x;throw new Error(f.KEY_NOT_FOUND)},M.prototype.remove=function(_){if(_==null)throw new Error(f.NULL_ARGUMENT);if(!this._map.delete(_))throw new Error(f.KEY_NOT_FOUND)},M.prototype.removeByCondition=function(_){var x=this;this._map.forEach(function(O,S){var g=O.filter(function(h){return!_(h)});g.length>0?x._map.set(S,g):x._map.delete(S)})},M.prototype.hasKey=function(_){if(_==null)throw new Error(f.NULL_ARGUMENT);return this._map.has(_)},M.prototype.clone=function(){var _=new M;return this._map.forEach(function(x,O){x.forEach(function(S){return _.add(O,S.clone())})}),_},M.prototype.traverse=function(_){this._map.forEach(function(x,O){_(O,x)})},M}();b.Lookup=c},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AsyncContainerModule=b.ContainerModule=void 0;var f=o(66),c=function(_){this.id=f.id(),this.registry=_};b.ContainerModule=c;var M=function(_){this.id=f.id(),this.registry=_};b.AsyncContainerModule=M},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.injectable=void 0;var f=o(40),c=o(32);b.injectable=function(){return function(M){if(Reflect.hasOwnMetadata(c.PARAM_TYPES,M))throw new Error(f.DUPLICATED_INJECTABLE_DECORATOR);var _=Reflect.getMetadata(c.DESIGN_PARAM_TYPES,M)||[];return Reflect.defineMetadata(c.PARAM_TYPES,_,M),M}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.tagged=void 0;var f=o(48),c=o(58);b.tagged=function(M,_){return function(x,O,S){var g=new f.Metadata(M,_);typeof S=="number"?c.tagParameter(x,O,S,g):c.tagProperty(x,O,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.named=void 0;var f=o(32),c=o(48),M=o(58);b.named=function(_){return function(x,O,S){var g=new c.Metadata(f.NAMED_TAG,_);typeof S=="number"?M.tagParameter(x,O,S,g):M.tagProperty(x,O,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.optional=void 0;var f=o(32),c=o(48),M=o(58);b.optional=function(){return function(_,x,O){var S=new c.Metadata(f.OPTIONAL_TAG,!0);typeof O=="number"?M.tagParameter(_,x,O,S):M.tagProperty(_,x,S)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.unmanaged=void 0;var f=o(32),c=o(48),M=o(58);b.unmanaged=function(){return function(_,x,O){var S=new c.Metadata(f.UNMANAGED_TAG,!0);M.tagParameter(_,x,O,S)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.multiInject=void 0;var f=o(32),c=o(48),M=o(58);b.multiInject=function(_){return function(x,O,S){var g=new c.Metadata(f.MULTI_INJECT_TAG,_);typeof S=="number"?M.tagParameter(x,O,S,g):M.tagProperty(x,O,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.targetName=void 0;var f=o(32),c=o(48),M=o(58);b.targetName=function(_){return function(x,O,S){var g=new c.Metadata(f.NAME_TAG,_);M.tagParameter(x,O,S,g)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.postConstruct=void 0;var f=o(40),c=o(32),M=o(48);b.postConstruct=function(){return function(_,x,O){var S=new M.Metadata(c.POST_CONSTRUCT,x);if(Reflect.hasOwnMetadata(c.POST_CONSTRUCT,_.constructor))throw new Error(f.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(c.POST_CONSTRUCT,S,_.constructor)}}},function(R,b,o){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.multiBindToService=void 0,b.multiBindToService=function(f){return function(c){return function(){for(var M=[],_=0;_c*c){var _=Math.sqrt(M);o[0]=f[0]/_*c,o[1]=f[1]/_*c}else o[0]=f[0],o[1]=f[1];return o}},function(R,b,o){"use strict";o.r(b),o.d(b,"G6GraphEvent",function(){return sr}),o.d(b,"G6Event",function(){return zt}),o.d(b,"Node",function(){return Gn}),o.d(b,"Edge",function(){return Ai}),o.d(b,"Combo",function(){return zi}),o.d(b,"Hull",function(){return Xe}),o.d(b,"registerNode",function(){return sn}),o.d(b,"registerCombo",function(){return Wi}),o.d(b,"AbstractGraph",function(){return tt}),o.d(b,"registerEdge",function(){return Ii}),o.d(b,"registerBehavior",function(){return fo}),o.d(b,"AbstractLayout",function(){return ur}),o.d(b,"AbstractEvent",function(){return an}),o.d(b,"BaseGlobal",function(){return or}),o.d(b,"Graph",function(){return Ju}),o.d(b,"TreeGraph",function(){return Pd}),o.d(b,"Util",function(){return No}),o.d(b,"Layout",function(){return Ws}),o.d(b,"TreeLayout",function(){return Md}),o.d(b,"registerLayout",function(){return kd}),o.d(b,"Global",function(){return Xo}),o.d(b,"Minimap",function(){return Ub}),o.d(b,"Grid",function(){return zb}),o.d(b,"Bundling",function(){return Vb}),o.d(b,"Menu",function(){return Wb}),o.d(b,"Fisheye",function(){return Fp}),o.d(b,"Algorithm",function(){return Gp}),o.d(b,"ToolBar",function(){return Xb}),o.d(b,"Tooltip",function(){return Yb}),o.d(b,"TimeBar",function(){return zp}),o.d(b,"ImageMinimap",function(){return Up}),o.d(b,"EdgeFilterLens",function(){return Vp}),o.d(b,"SnapLine",function(){return Wp}),o.d(b,"Legend",function(){return Hb}),o.d(b,"Arrow",function(){return Ut}),o.d(b,"Marker",function(){return Xt}),o.d(b,"Shape",function(){return fr}),o.d(b,"version",function(){return qb});var f={};o.r(f),o.d(f,"getAdjMatrix",function(){return z}),o.d(f,"breadthFirstSearch",function(){return Ce}),o.d(f,"connectedComponent",function(){return he}),o.d(f,"getDegree",function(){return W}),o.d(f,"getInDegree",function(){return le}),o.d(f,"getOutDegree",function(){return Oe}),o.d(f,"detectCycle",function(){return U}),o.d(f,"detectDirectedCycle",function(){return Gr}),o.d(f,"detectAllCycles",function(){return te}),o.d(f,"detectAllDirectedCycle",function(){return ee}),o.d(f,"detectAllUndirectedCycle",function(){return se}),o.d(f,"depthFirstSearch",function(){return Te}),o.d(f,"dijkstra",function(){return X}),o.d(f,"findAllPath",function(){return ne}),o.d(f,"findShortestPath",function(){return J}),o.d(f,"floydWarshall",function(){return ie}),o.d(f,"labelPropagation",function(){return Z}),o.d(f,"louvain",function(){return _e}),o.d(f,"minimumSpanningTree",function(){return Re}),o.d(f,"pageRank",function(){return Ke}),o.d(f,"getNeighbors",function(){return xe}),o.d(f,"Stack",function(){return dr}),o.d(f,"GADDI",function(){return xr}),o.d(f,"default",function(){return Lr});var c={};o.r(c),o.d(c,"compare",function(){return Ur}),o.d(c,"getLineIntersect",function(){return Dr}),o.d(c,"getRectIntersectByPoint",function(){return rn}),o.d(c,"getCircleIntersectByPoint",function(){return Ir}),o.d(c,"getEllipseIntersectByPoint",function(){return On}),o.d(c,"applyMatrix",function(){return In}),o.d(c,"invertMatrix",function(){return Dn}),o.d(c,"getCircleCenterByPoints",function(){return Rn}),o.d(c,"distance",function(){return gn}),o.d(c,"scaleMatrix",function(){return Er}),o.d(c,"floydWarshall",function(){return ln}),o.d(c,"getAdjMatrix",function(){return yn}),o.d(c,"translate",function(){return mn}),o.d(c,"move",function(){return Qn}),o.d(c,"scale",function(){return Un}),o.d(c,"rotate",function(){return ri}),o.d(c,"getDegree",function(){return Oi}),o.d(c,"isPointInPolygon",function(){return Bn}),o.d(c,"intersectBBox",function(){return wi}),o.d(c,"isPolygonsIntersect",function(){return Mi}),o.d(c,"Line",function(){return Wn}),o.d(c,"getBBoxBoundLine",function(){return ii}),o.d(c,"itemIntersectByLine",function(){return hi}),o.d(c,"fractionToLine",function(){return Vn}),o.d(c,"getPointsCenter",function(){return oi}),o.d(c,"squareDist",function(){return di}),o.d(c,"pointLineSquareDist",function(){return _i}),o.d(c,"isPointsOverlap",function(){return Xn}),o.d(c,"pointRectSquareDist",function(){return Yn}),o.d(c,"pointLineDistance",function(){return ki});var M={};o.r(M),o.d(M,"getBBox",function(){return vr}),o.d(M,"getLoopCfgs",function(){return Be}),o.d(M,"getLabelPosition",function(){return ut}),o.d(M,"traverseTree",function(){return Ft}),o.d(M,"traverseTreeUp",function(){return we}),o.d(M,"getLetterWidth",function(){return ze}),o.d(M,"getTextSize",function(){return Qe}),o.d(M,"plainCombosToTrees",function(){return lt}),o.d(M,"reconstructTree",function(){return vt}),o.d(M,"getComboBBox",function(){return wt}),o.d(M,"shouldRefreshEdge",function(){return Lt}),o.d(M,"cloneBesidesImg",function(){return Wt});var _={};o.r(_),o.d(_,"uniqueId",function(){return gr}),o.d(_,"formatPadding",function(){return Vr}),o.d(_,"cloneEvent",function(){return Fr}),o.d(_,"isViewportChanged",function(){return $r}),o.d(_,"isNaN",function(){return Kr}),o.d(_,"calculationItemsBBox",function(){return jn}),o.d(_,"processParallelEdges",function(){return Cn});var x={};o.r(x),o.d(x,"getSpline",function(){return so}),o.d(x,"getControlPoint",function(){return Vi}),o.d(x,"pointsToPolygon",function(){return Ti}),o.d(x,"pathToPoints",function(){return _t}),o.d(x,"getClosedSpline",function(){return $e}),o.d(x,"roundedHull",function(){return ce}),o.d(x,"paddedHull",function(){return K});var O={};o.r(O),o.d(O,"defaultSubjectColors",function(){return Or});var S={};o.r(S),o.d(S,"leftTranslate",function(){return uo}),o.d(S,"leftRotate",function(){return yo}),o.d(S,"leftScale",function(){return co}),o.d(S,"transform",function(){return Da}),o.d(S,"direction",function(){return Ra}),o.d(S,"angleTo",function(){return Hp}),o.d(S,"vertical",function(){return qp});var g={};o.r(g),o.d(g,"mixColor",function(){return gi}),o.d(g,"getColorsWithSubjectColor",function(){return fu}),o.d(g,"getColorSetsBySubjectColors",function(){return Qp});var h={};o.r(h),o.d(h,"proccessToFunc",function(){return vy}),o.d(h,"buildTextureData",function(){return yy}),o.d(h,"buildTextureDataWithOneEdgeAttr",function(){return my}),o.d(h,"buildTextureDataWithTwoEdgeAttr",function(){return by}),o.d(h,"attributesToTextureData",function(){return xy}),o.d(h,"arrayToTextureData",function(){return wy}),o.d(h,"radialLayout",function(){return _y});var y={};o.r(y),o.d(y,"gpuDetector",function(){return Od});var E={};o.r(E),o.d(E,"default",function(){return np}),o.d(E,"assign",function(){return Jo}),o.d(E,"format",function(){return tp}),o.d(E,"parse",function(){return rp}),o.d(E,"defaultI18n",function(){return rc}),o.d(E,"setGlobalDateI18n",function(){return Hd}),o.d(E,"setGlobalDateMasks",function(){return ep});var m=o(1),p=o(0),A={getDefaultCfg:function(){return{}},getEvents:function(){return{}},updateCfg:function(n){return Object.assign(this,n),!0},shouldBegin:function(){return!0},shouldUpdate:function(){return!0},shouldEnd:function(){return!0},bind:function(n){var t=this,e=this.events;this.graph=n,this.type!=="drag-canvas"&&this.type!=="brush-select"&&this.type!=="lasso-select"||n.get("canvas").set("draggable",!0),Object(p.each)(e,function(r,i){n.on(i,r)}),document.addEventListener("visibilitychange",function(){t.keydown=!1})},unbind:function(n){var t=this.events;this.type!=="drag-canvas"&&this.type!=="brush-select"&&this.type!=="lasso-select"||n.get("canvas").set("draggable",!1),Object(p.each)(t,function(e,r){n.off(r,e)})},get:function(n){return this[n]},set:function(n,t){return this[n]=t,this}},C=function(){function n(){}return n.registerBehavior=function(t,e){if(!e)throw new Error("please specify handler for this behavior: "+t);var r=Object(p.clone)(A);Object.assign(r,e);var i=function(a){var s=this;Object.assign(this,this.getDefaultCfg(),a);var u=this.getEvents();this.events=null;var l={};u&&(Object(p.each)(u,function(d,v){l[v]=Object(p.wrapBehavior)(s,d)}),this.events=l)};i.prototype=r,n.types[t]=i},n.hasBehavior=function(t){return!!n.types[t]},n.getBehavior=function(t){return n.types[t]},n.types={},n}(),N=C,P=o(135),L=o(17),z=function(n,t){var e=n.nodes,r=n.edges,i=[],a={};if(!e)throw new Error("invalid nodes data!");return e&&e.forEach(function(s,u){a[s.id]=u,i.push([])}),r&&r.forEach(function(s){var u=s.source,l=s.target,d=a[u],v=a[l];!d&&d!==0||!v&&v!==0||(i[d][v]=1,t||(i[v][d]=1))}),i},H=function(n,t){return n===t},re=function(){function n(t,e){e===void 0&&(e=null),this.value=t,this.next=e}return n.prototype.toString=function(t){return t?t(this.value):""+this.value},n}(),ae=function(){function n(t){t===void 0&&(t=H),this.head=null,this.tail=null,this.compare=t}return n.prototype.prepend=function(t){var e=new re(t,this.head);return this.head=e,this.tail||(this.tail=e),this},n.prototype.append=function(t){var e=new re(t);return this.head?(this.tail.next=e,this.tail=e,this):(this.head=e,this.tail=e,this)},n.prototype.delete=function(t){if(!this.head)return null;for(var e=null;this.head&&this.compare(this.head.value,t);)e=this.head,this.head=this.head.next;var r=this.head;if(r!==null)for(;r.next;)this.compare(r.next.value,t)?(e=r.next,r.next=r.next.next):r=r.next;return this.compare(this.tail.value,t)&&(this.tail=r),e},n.prototype.find=function(t){var e=t.value,r=e===void 0?void 0:e,i=t.callback,a=i===void 0?void 0:i;if(!this.head)return null;for(var s=this.head;s;){if(a&&a(s.value)||r!==void 0&&this.compare(s.value,r))return s;s=s.next}return null},n.prototype.deleteTail=function(){var t=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,t;for(var e=this.head;e.next;)e.next.next?e=e.next:e.next=null;return this.tail=e,t},n.prototype.deleteHead=function(){if(!this.head)return null;var t=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),t},n.prototype.fromArray=function(t){var e=this;return t.forEach(function(r){return e.append(r)}),this},n.prototype.toArray=function(){for(var t=[],e=this.head;e;)t.push(e),e=e.next;return t},n.prototype.reverse=function(){for(var t=this.head,e=null,r=null;t;)r=t.next,t.next=e,e=t,t=r;this.tail=this.head,this.head=e},n.prototype.toString=function(t){return t===void 0&&(t=void 0),this.toArray().map(function(e){return e.toString(t)}).toString()},n}(),ue=function(){function n(){this.linkedList=new ae}return n.prototype.isEmpty=function(){return!this.linkedList.head},n.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},n.prototype.enqueue=function(t){this.linkedList.append(t)},n.prototype.dequeue=function(){var t=this.linkedList.deleteHead();return t?t.value:null},n.prototype.toString=function(t){return this.linkedList.toString(t)},n}(),xe=function(n,t,e){t===void 0&&(t=[]);var r=t.filter(function(i){return i.source===n||i.target===n});return e==="target"?r.filter(function(i){return i.source===n}).map(function(i){return i.target}):e==="source"?r.filter(function(i){return i.target===n}).map(function(i){return i.source}):r.map(function(i){return i.source===n?i.target:i.source})},ye=function(n,t){return t.filter(function(e){return e.source===n||e.target===n})},Y=function(n){return n===void 0&&(n=0),n+"-"+(""+Math.random()).split(".")[1].substr(0,5)+(""+Math.random()).split(".")[1].substr(0,5)},Ce=function(n,t,e){var r=function(d){d===void 0&&(d={});var v,k=d,T=function(){},I=(v={},function(j){var F=j.next;return!v[F]&&(v[F]=!0,!0)});return k.allowTraversal=d.allowTraversal||I,k.enter=d.enter||T,k.leave=d.leave||T,k}(e),i=new ue,a=n.edges,s=a===void 0?[]:a;i.enqueue(t);for(var u="",l=function(){var d=i.dequeue();r.enter({current:d,previous:u}),xe(d,s,"target").forEach(function(v){r.allowTraversal({previous:u,current:d,next:v})&&i.enqueue(v)}),r.leave({current:d,previous:u}),u=d};!i.isEmpty();)l()},ge=function(n){for(var t=n.nodes,e=t===void 0?[]:t,r=n.edges,i=r===void 0?[]:r,a=[],s={},u={},l={},d=[],v=0,k=function F(G){u[G.id]=v,l[G.id]=v,v+=1,a.push(G),s[G.id]=!0;for(var V=xe(G.id,i,"target").filter(function(me){return e.map(function(Ie){return Ie.id}).indexOf(me)>-1}),q=function(me){var Ie=V[me];if(u[Ie]||u[Ie]===0)s[Ie]&&(l[G.id]=Math.min(l[G.id],u[Ie]));else{var Ee=e.filter(function(Pe){return Pe.id===Ie});Ee.length>0&&F(Ee[0]),l[G.id]=Math.min(l[G.id],l[Ie])}},$=0;$0;){var de=a.pop();if(s[de.id]=!1,ve.push(de),de===G)break}ve.length>0&&d.push(ve)}},T=0,I=e;T0&&j(de[0])}},q=0;q0;)I.push(d.pop());u.push(I)}}return u}(n)}var Q=function(n){var t={},e=n.nodes,r=e===void 0?[]:e,i=n.edges,a=i===void 0?[]:i;return r.forEach(function(s){t[s.id]={degree:0,inDegree:0,outDegree:0}}),a.forEach(function(s){t[s.source].degree++,t[s.source].outDegree++,t[s.target].degree++,t[s.target].inDegree++}),t},W=Q,le=function(n,t){return Q(n)[t]?Q(n)[t].inDegree:0},Oe=function(n,t){return Q(n)[t]?Q(n)[t].outDegree:0};function Te(n,t,e){(function r(i,a,s,u){u.enter({current:a,previous:s});var l=i.edges;xe(a,l===void 0?[]:l,"target").forEach(function(d){u.allowTraversal({previous:s,current:a,next:d})&&r(i,d,a,u)}),u.leave({current:a,previous:s})})(n,t,"",function(r){r===void 0&&(r={});var i,a=r,s=function(){},u=(i={},function(l){var d=l.next;return!i[d]&&(i[d]=!0,!0)});return a.allowTraversal=r.allowTraversal||u,a.enter=r.enter||s,a.leave=r.leave||s,a}(e))}var se=function(n,t,e){var r,i;e===void 0&&(e=!0);for(var a=[],s=0,u=he(n,!1);s0;)for(var j=k.pop(),F=j.id,G=xe(F,n.edges),V=function($){var ve,de=G[$],me=n.nodes.find(function(ct){return ct.id===de});if(de===F)a.push(((ve={})[de]=j,ve));else if(de in I){if(!I[F].has(me)){for(var Ie=!0,Ee=[me,j],Pe=T[F];I[de].size&&!I[de].has(Pe)&&(Ee.push(Pe),Pe!==T[Pe.id]);)Pe=T[Pe.id];if(Ee.push(Pe),t&&e?(Ie=!1,Ee.findIndex(function(ct){return t.indexOf(ct.id)>-1})>-1&&(Ie=!0)):t&&!e&&Ee.findIndex(function(ct){return t.indexOf(ct.id)>-1})>-1&&(Ie=!1),Ie){for(var Ze={},it=1;it-1)return st;r.push(Ze),i.add(Ze);for(var jt=ct[Ze.id],gt=0;gt0;){var Dt=Vt.pop();i.has(Dt)&&(i.delete(Dt),a[Dt.id].forEach(function(qt){Vt.push(qt)}),a[Dt.id].clear())}})(Ze);else for(gt=0;gt-1});Vt-1?Zt[Ct.id].push(l[qt]):s.push(((Ze={})[Ct.id]=Ct,Ze))}}return{component:Rt,adjList:Zt,minIdx:ct}},V=0;V=V}),$=ge({nodes:q,edges:n.edges}).filter(function(Pe){return Pe.length>1});if($.length===0)break;var ve=G($),de=ve.minIdx,me=ve.adjList,Ie=ve.component;if(!(Ie.length>1))break;Ie.forEach(function(Pe){a[Pe.id]=new Set});var Ee=u[de];if(t&&e&&t.indexOf(Ee.id)===-1)return s;d(Ee,Ee,me),V=de+1}return s},te=function(n,t,e,r){return r===void 0&&(r=!0),t?ee(n,e,r):se(n,e,r)},U=function(n){var t=null,e=n.nodes,r={},i={},a={},s={};(e===void 0?[]:e).forEach(function(l){i[l.id]=l});for(var u={enter:function(l){var d=l.current,v=l.previous;if(a[d]){t={};for(var k=d,T=v;T!==d;)t[k]=T,k=T,T=r[T];t[k]=T}else a[d]=d,delete i[d],r[d]=v},leave:function(l){var d=l.current;s[d]=d,delete a[d]},allowTraversal:function(l){var d=l.next;return!t&&!s[d]}};Object.keys(i).length;)Te(n,Object.keys(i)[0],u);return t},X=function(n,t,e,r){var i=n.nodes,a=i===void 0?[]:i,s=n.edges,u=s===void 0?[]:s,l=[],d={},v={},k={};a.forEach(function(q,$){var ve=q.id;l.push(ve),v[ve]=1/0,ve===t&&(v[ve]=0)});for(var T=a.length,I=function(q){var $=function(de,me,Ie){for(var Ee,Pe=1/0,Ze=0;Zev[$.id]+Pe?(v[Ee]=v[$.id]+Pe,k[Ee]=[$.id]):v[Ee]===v[$.id]+Pe&&k[Ee].push($.id)})},j=0;j0&&d.length>0;){var T=d[d.length-1];if(T.length){var I=T.shift();if(I&&(u.push(I),l[I]=!0,k=r?xe(I,s,"target"):xe(I,s),d.push(k.filter(function(G){return!l[G]}))),u[u.length-1]===e){var j=u.map(function(G){return G});v.push(j),F=u.pop(),l[F]=!1,d.pop()}}else{var F=u.pop();l[F]=!1,d.pop()}}return v},ie=function(n,t){for(var e=z(n,t),r=[],i=e.length,a=0;ar[a][u]+r[u][s]&&(r[a][s]=r[a][u]+r[u][s]);return r},Z=function(n,t,e,r){t===void 0&&(t=!1),e===void 0&&(e="weight"),r===void 0&&(r=1e3);var i=n.nodes,a=i===void 0?[]:i,s=n.edges,u=s===void 0?[]:s,l={},d={};a.forEach(function(q,$){var ve=Y();q.clusterId=ve,l[ve]={id:ve,nodes:[q]},d[q.id]={node:q,idx:$}});var v=z(n,t),k=[],T={};v.forEach(function(q,$){var ve=0,de=a[$].id;T[de]={},q.forEach(function(me,Ie){if(me){ve+=me;var Ee=a[Ie].id;T[de][Ee]=me}}),k.push(ve)});for(var I=0,j=function(){var q=!1;if(a.forEach(function($){var ve={};Object.keys(T[$.id]).forEach(function(ct){var st=T[$.id][ct],jt=d[ct].node.clusterId;ve[jt]||(ve[jt]=0),ve[jt]+=st});var de=-1/0,me=[];if(Object.keys(ve).forEach(function(ct){de=0&&me.splice(Ie,1),me&&me.length){q=!0;var Ee=l[$.clusterId],Pe=Ee.nodes.indexOf($);Ee.nodes.splice(Pe,1);var Ze=Math.floor(Math.random()*me.length),it=l[me[Ze]];it.nodes.push($),$.clusterId=it.id}}}),!q)return"break";I++};I100);)G=F,V++,Object.keys(d).forEach(function(Ie){var Ee=0;u.forEach(function(Pe){var Ze=Pe.source,it=Pe.target,ct=v[Ze].node.clusterId,st=v[it].node.clusterId;(ct===Ie&&st!==Ie||st===Ie&&ct!==Ie)&&(Ee+=Pe[e]||1)}),d[Ie].sumTot=Ee}),a.forEach(function(Ie,Ee){var Pe,Ze=d[Ie.clusterId],it=0,ct=T[Ee]/(2*j),st=0;Ze.nodes.forEach(function(Vt){var Dt=v[Vt.id].idx;st+=k[Ee][Dt]||0});var jt=st-Ze.sumTot*ct,gt=I[Ie.id];if(Object.keys(gt).forEach(function(Vt){var Dt=v[Vt].node.clusterId;if(Dt!==Ie.clusterId){var qt=d[Dt],$t=qt.nodes;if($t&&$t.length){var Gt=0;$t.forEach(function(Br){var wn=v[Br.id].idx;Gt+=k[Ee][wn]||0});var lr=Gt-qt.sumTot*ct-jt;lr>it&&(it=lr,Pe=qt)}}}),it>0){Pe.nodes.push(Ie);var Pt=Ie.clusterId;Ie.clusterId=Pe.id;var Rt=Ze.nodes.indexOf(Ie);Ze.nodes.splice(Rt,1);var Zt=0,Ct=0;u.forEach(function(Vt){var Dt=Vt.source,qt=Vt.target,$t=v[Dt].node.clusterId,Gt=v[qt].node.clusterId;($t===Pe.id&&Gt!==Pe.id||Gt===Pe.id&&$t!==Pe.id)&&(Zt+=Vt[e]||1),($t===Pt&&Gt!==Pt||Gt===Pt&&$t!==Pt)&&(Ct+=Vt[e]||1)}),Pe.sumTot=Zt,Ze.sumTot=Ct}});var q={},$=0;Object.keys(d).forEach(function(Ie){var Ee=d[Ie];if(Ee.nodes&&Ee.nodes.length){var Pe=String($+1);Pe!==Ie&&(Ee.id=Pe,Ee.nodes=Ee.nodes.map(function(Ze){return{id:Ze.id,clusterId:Pe}}),d[Pe]=Ee,q[Ie]=Pe,delete d[Ie],$++)}else delete d[Ie]}),a.forEach(function(Ie){Ie.clusterId&&q[Ie.clusterId]&&(Ie.clusterId=q[Ie.clusterId])});var ve=[],de={};u.forEach(function(Ie){var Ee=Ie.source,Pe=Ie.target,Ze=Ie[e]||1,it=v[Ee].node.clusterId,ct=v[Pe].node.clusterId,st=it+"---"+ct;if(de[st])de[st].weight+=Ze,de[st].count++;else{var jt={source:it,target:ct,weight:Ze,count:1};de[st]=jt,ve.push(jt)}});var me=[];return Object.keys(d).forEach(function(Ie){me.push(d[Ie])}),{clusters:me,clusterEdges:ve}},je=function(){function n(t){this.count=t.length,this.parent={};for(var e=0,r=t;e0&&(this.list[0]=e,this.moveDown(0)),t},n.prototype.insert=function(t){if(t!==null){this.list.push(t);var e=this.list.length-1;return this.moveUp(e),!0}return!1},n.prototype.moveUp=function(t){for(var e=this.getParent(t);t&&t>0&&this.compareFn(this.list[e],this.list[t])>0;){var r=this.list[e];this.list[e]=this.list[t],this.list[t]=r,t=e,e=this.getParent(t)}},n.prototype.moveDown=function(t){var e,r=t,i=this.getLeft(t),a=this.getRight(t),s=this.list.length;i!==null&&i0?r=i:a!==null&&a0&&(r=a),t!==r&&(e=[this.list[r],this.list[t]],this.list[t]=e[0],this.list[r]=e[1],this.moveDown(r))},n}(),Le=function(n,t){var e=[],r=n.nodes,i=r===void 0?[]:r,a=n.edges,s=a===void 0?[]:a;if(i.length===0)return e;var u=i[0],l=new Set;l.add(u);var d=new Ae(function(I,j){return t?I.weight-j.weight:0});for(ye(u.id,s).forEach(function(I){d.insert(I)});!d.isEmpty();){var v=d.delMin(),k=v.source,T=v.target;l.has(k)&&l.has(T)||(e.push(v),l.has(k)||(l.add(k),ye(k,s).forEach(function(I){d.insert(I)})),l.has(T)||(l.add(T),ye(T,s).forEach(function(I){d.insert(I)})))}return e},Se=function(n,t){var e=[],r=n.nodes,i=r===void 0?[]:r,a=n.edges,s=a===void 0?[]:a;if(i.length===0)return e;var u=s.map(function(T){return T});t&&u.sort(function(T,I){return T.weight-I.weight});for(var l=new je(i.map(function(T){return T.id}));u.length>0;){var d=u.shift(),v=d.source,k=d.target;l.connected(v,k)||(e.push(d),l.union(v,k))}return e},Re=function(n,t,e){return e?{prim:Le,kruskal:Se}[e](n,t):Se(n,t)},Ke=function(n,t,e){typeof t!="number"&&(t=1e-6),typeof e!="number"&&(e=.85);for(var r,i=1,a=0,s=1e3,u=n.nodes,l=u===void 0?[]:u,d=n.edges,v=d===void 0?[]:d,k=l.length,T={},I={},j=0;j0&&i>t;){for(a=0,j=0;j0&&(r+=I[$]/ve)}T[G]=e*r,a+=T[G]}}for(a=(1-a)/k,i=0,j=0;j=0;e--){var r=this.dfsEdgeList[e],i=r.fromNode,a=r.toNode;iT||i.hasNode(s[k.to])||(e.labelq&&$(ve)!=="break";ve--);if(G){var de=t.findMinLabel(F);s.dfsEdgeList.push(new kt(j,V,"-1",de.edgeLabel,"-1"));var me=s.dfsEdgeList.length-1;return t.dfsCode.dfsEdgeList[me]===s.dfsEdgeList[me]&&v(F[de.edgeLabel].projected)}var Ie={};G=!1;var Ee=0;k.forEach(function(st){var jt=new It(st),gt=t.findForwardPureEdges(i,jt.edges[T[0]],I,jt);gt.length>0&&(G=!0,Ee=j,gt.forEach(function(Pt){var Rt=Pt.label+"-"+a[Pt.to].label;Ie[Rt]||(Ie[Rt]={projected:[],edgeLabel:Pt.label,nodeLabel2:a[Pt.to].label}),Ie[Rt].projected.push({graphId:i.id,edge:Pt,preNode:st})}))});var Pe=T.length,Ze=function(st){if(G)return"break";var jt=T[st];k.forEach(function(gt){var Pt=new It(gt),Rt=t.findForwardRmpathEdges(i,Pt.edges[jt],I,Pt);Rt.length>0&&(G=!0,Ee=s.dfsEdgeList[jt].fromNode,Rt.forEach(function(Zt){var Ct=Zt.label+"-"+a[Zt.to].label;Ie[Ct]||(Ie[Ct]={projected:[],edgeLabel:Zt.label,nodeLabel2:a[Zt.to].label}),Ie[Ct].projected.push({graphId:i.id,edge:Zt,preNode:gt})}))})};for(ve=0;ve=0;I--){var j=e.findBackwardEdge(v,T.edges[i[I]],T.edges[i[0]],T);if(j){var F=e.dfsCode.dfsEdgeList[i[I]].fromNode+"-"+j.label;l[F]||(l[F]={projected:[],toNodeId:e.dfsCode.dfsEdgeList[i[I]].fromNode,edgeLabel:j.label}),l[F].projected.push({graphId:d.graphId,edge:j,preNode:d})}}if(!(r>=e.maxNodeNum)){e.findForwardPureEdges(v,T.edges[i[0]],s,T).forEach(function(V){var q=a+"-"+V.label+"-"+k[V.to].label;u[q]||(u[q]={projected:[],fromNodeId:a,edgeLabel:V.label,nodeLabel2:k[V.to].label}),u[q].projected.push({graphId:d.graphId,edge:V,preNode:d})});var G=function(V){e.findForwardRmpathEdges(v,T.edges[i[V]],s,T).forEach(function(q){var $=e.dfsCode.dfsEdgeList[i[V]].fromNode+"-"+q.label+"-"+k[q.to].label;u[$]||(u[$]={projected:[],fromNodeId:e.dfsCode.dfsEdgeList[i[V]].fromNode,edgeLabel:q.label,nodeLabel2:k[q.to].label}),u[$].projected.push({graphId:d.graphId,edge:q,preNode:d})})};for(I=0;I$){var ve=$;$=q,q=ve}var de=V.label,me=d+"-"+q+"-"+de+"-"+$,Ie=q+"-"+de+"-"+$;if(!s[Ie]){var Ee=s[Ie]||0;Ee++,s[Ie]=Ee}l[me]={graphId:d,nodeLabel1:q,edgeLabel:de,nodeLabel2:$}})})}),Object.keys(a).forEach(function(d){if(!(a[d]2*jr)););if(Wr<2*jr&&(en[Tr+"-"+cn]={start:Tr,end:cn,distance:hr[Tr][cn]},Zr++,++Yr>=_r))return en;if(++Tn>2*jr)break}ZrVt[Sr][cn]){bi=!0;break}if(bi)return gt.splice(Cr,1),"continue";var Wr={};Zr.neighbors.forEach(function(En){var Si=v[Tr.id+"-"+En.id];Wr[Tr.id+"-"+En.id]={start:I[Tr.id].idx,end:I[En.id].idx,distance:Si}}),me=ar(Wr,$,n,me);var An=[];Object.keys(Wr).forEach(function(En){if(ct[En])An.push(ct[En]);else{var Si=me[En];ct[En]=yr(Si,it,a,s),An.push(ct[En])}}),An=An.sort(function(En,Si){return Si-En});var Zn=!1;for(cn=0;cn=0;Yr--)en(Yr)});var Dt=[];gt.forEach(function(Sr){for(var jr=I[Sr.id].idx,_r=Mr(n.nodes,l[jr],jr,a,i).neighbors,un=_r.length,hr=!1,qr=function(Cr){if(_r.length+1Vt[Zr][Vt[Zr].length-1])return _r.splice(Cr,1),"continue";var bi=ct[Tn]?ct[Tn]:function(An,Zn,En,Si,Wo,wo,no,wr,vn,$n,_n){var Ni,go=Zn.id+"-"+En.id;if($n&&$n[go])return $n[go];var xi=_n?_n[go]:void 0;if(!xi){var _o=((Ni={})[go]={start:Si[Zn.id].idx,end:Si[En.id].idx,distance:Wo},Ni);xi=(_n=ar(_o,wo,An,_n))[go]}return yr(xi,no,wr,vn)}(n,Sr,Tr,I,tn,$,it,a,s,ct,me),cn=st.id+"-"+Zr;if(biZn&&(Wr=Zn)}),Pt[Zr]=Wr),I[Tr.id].degree=0;en--){var Yr=qr(en);if(tr(Yr)==="object")return Yr.value}hr||Dt.push({nodes:[Sr].concat(_r)})});var qt=X(t,st.id,!1).length,$t={};e?(Object.keys(qt).forEach(function(Sr){var jr=G[Sr].node[a];$t[jr]?$t[jr].push(qt[Sr]):$t[jr]=[qt[Sr]]}),Object.keys($t).forEach(function(Sr){$t[Sr].sort(function(jr,_r){return jr-_r})})):$t=Vt;for(var Gt=function(Sr){var jr=Dt[Sr],_r=jr.nodes[0],un={},hr={};jr.nodes.forEach(function(vn,$n){hr[vn.id]={idx:$n,node:vn,degree:0};var _n=vn[a];un[_n]?un[_n]++:un[_n]=1});var qr=[],en={};n.edges.forEach(function(vn){hr[vn.source]&&hr[vn.target]&&(qr.push(vn),en[vn[s]]?en[vn[s]]++:en[vn[s]]=1,hr[vn.source].degree++,hr[vn.target].degree++)});for(var Yr=Object.keys(q).length,Cr=!1,Tr=0;Tr=0&&bi(Tr)!=="break";Tr--);if(tn)return Dt.splice(Sr,1),"continue";jr.edges=qr;var cn=X(jr,jr.nodes[0].id,!1).length;if(Object.keys(cn).reverse().forEach(function(vn){if(vn!==jr.nodes[0].id&&!tn){if(cn[vn]===1/0){var $n=hr[vn].node[a];if(un[$n]--,un[$n]$t[Ni][$t[Ni].length-1]){if($n=hr[vn].node[a],un[$n]--,un[$n]=0;Zn--){var En=jr.nodes[Zn],Si=hr[En.id].degree,Wo=En[a];if(Si=0;wo--){var no=qr[wo];if(!hr[no.source]||!hr[no.target]){qr.splice(wo,1);var wr=no[s];if(en[wr]--,hr[no.source]&&hr[no.source].degree--,hr[no.target]&&hr[no.target].degree--,q[wr]&&en[wr]=0&&Gt(lr)!=="break";lr--);var Br=Dt.length,wn=function(Sr){var jr=Dt[Sr],_r={};jr.edges.forEach(function(qr){var en=qr.source+"-"+qr.target+"-"+qr.label;_r[en]?_r[en]++:_r[en]=1});for(var un=function(qr){var en=Dt[qr],Yr={};en.edges.forEach(function(Tr){var Zr=Tr.source+"-"+Tr.target+"-"+Tr.label;Yr[Zr]?Yr[Zr]++:Yr[Zr]=1});var Cr=!0;Object.keys(Yr).length!==Object.keys(_r).length?Cr=!1:Object.keys(_r).forEach(function(Tr){Yr[Tr]!==_r[Tr]&&(Cr=!1)}),Cr&&Dt.splice(qr,1)},hr=Br-1;hr>Sr;hr--)un(hr);Br=Dt.length};for(lr=0;lr<=Br-1;lr++)wn(lr);return Dt}}},dr=function(){function n(t){t===void 0&&(t=10),this.linkedList=new ae,this.maxStep=t}return Object.defineProperty(n.prototype,"length",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),n.prototype.isEmpty=function(){return!this.linkedList.head},n.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},n.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},n.prototype.push=function(t){this.linkedList.prepend(t),this.length>this.maxStep&&this.linkedList.deleteTail()},n.prototype.pop=function(){var t=this.linkedList.deleteHead();return t?t.value:null},n.prototype.toArray=function(){return this.linkedList.toArray().map(function(t){return t.value})},n.prototype.clear=function(){for(;!this.isEmpty();)this.pop()},n}(),Gr=U,Lr={getAdjMatrix:z,breadthFirstSearch:Ce,connectedComponent:he,getDegree:W,getInDegree:le,getOutDegree:Oe,detectCycle:U,detectDirectedCycle:Gr,detectAllCycles:te,detectAllDirectedCycle:ee,detectAllUndirectedCycle:se,depthFirstSearch:Te,dijkstra:X,findAllPath:ne,findShortestPath:J,floydWarshall:ie,labelPropagation:Z,louvain:_e,minimumSpanningTree:Re,pageRank:Ke,getNeighbors:xe,Stack:dr,GADDI:xr},pn=L.a.transform,Ur=function(n){return function(t,e){return t[n]-e[n]}},Nr=function(n,t,e){return n>=t&&n<=e},Dr=function(n,t,e,r){var i=e.x-n.x,a=e.y-n.y,s=t.x-n.x,u=t.y-n.y,l=r.x-e.x,d=r.y-e.y,v=s*d-u*l,k=1/v;if(v*v>1e-4*(s*s+u*u)*(l*l+d*d)){var T=(i*d-a*l)*k,I=(i*u-a*s)*k;return Nr(T,0,1)&&Nr(I,0,1)?{x:n.x+T*s,y:n.y+T*u}:null}return null},rn=function(n,t){var e=n.x,r=n.y,i=n.width,a=n.height,s=[],u={x:e+i/2,y:r+a/2};s.push({x:e,y:r}),s.push({x:e+i,y:r}),s.push({x:e+i,y:r+a}),s.push({x:e,y:r+a}),s.push({x:e,y:r});for(var l=null,d=1;dt[r][a]+t[a][i]&&(t[r][i]=t[r][a]+t[a][i]);return t},yn=function(n,t){var e=n.nodes,r=n.edges,i=[],a={};if(!e)throw new Error("invalid nodes data!");return e&&e.forEach(function(s,u){a[s.id]=u,i.push([])}),r&&r.forEach(function(s){var u=s.source,l=s.target,d=a[u],v=a[l];i[d][v]=1,t||(i[v][d]=1)}),i},mn=function(n,t){n.translate(t.x,t.y)},Qn=function(n,t,e,r){r===void 0&&(r={duration:500});var i=n.getMatrix();i||(i=[1,0,0,0,1,0,0,0,1]);var a=n.getCanvasBBox(),s=t.x-a.minX,u=t.y-a.minY;if(e){var l=s*i[0],d=u*i[4],v=0,k=0,T=0,I=0;n.animate(function(F){return i=pn(i,[["t",(T=l*F)-v,(I=d*F)-k]]),v=T,k=I,{matrix:i}},r)}else{var j=pn(i,[["t",s,u]]);n.setMatrix(j)}},Un=function(n,t){var e=n.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var r=t;Object(p.isArray)(t)||(r=[t,t]),Object(p.isArray)(t)&&t.length===1&&(r=[t[0],t[0]]),e=pn(e,[["s",r[0],r[1]]]),n.setMatrix(e)},ri=function(n,t){var e=n.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]),e=pn(e,[["r",t]]),n.setMatrix(e)},Oi=function(n,t,e){for(var r=[],i=0;i0!=a(l[1]-e)>0&&a(t-(e-u[1])*(u[0]-l[0])/(u[1]-l[1])-u[0])<0&&(r=!r)}return r},wi=function(n,t){return!(t.minX>n.maxX||t.maxXn.maxY||t.maxY1){var G=v[0],V=v[T-1];k.push({from:{x:V[0],y:V[1]},to:{x:G[0],y:G[1]}})}return k};if(n.length<2||t.length<2)return!1;var i=e(n),a=e(t);if(!wi(i,a))return!1;var s=!1;if(Object(p.each)(t,function(v){if(Bn(n,v[0],v[1]))return s=!0,!1}),s||(Object(p.each)(n,function(v){if(Bn(t,v[0],v[1]))return s=!0,!1}),s))return!0;var u=r(n),l=r(t),d=!1;return Object(p.each)(l,function(v){if(function(k,T){var I=!1;return Object(p.each)(k,function(j){if(Dr(j.from,j.to,T.from,T.to))return I=!0,!1}),I}(u,v))return d=!0,!1}),d},Wn=function(){function n(t,e,r,i){this.x1=t,this.y1=e,this.x2=r,this.y2=i}return n.prototype.getBBox=function(){var t=Math.min(this.x1,this.x2),e=Math.min(this.y1,this.y2),r=Math.max(this.x1,this.x2),i=Math.max(this.y1,this.y2);return{x:t,y:e,minX:t,minY:e,maxX:r,maxY:i,width:r-t,height:i-e}},n}(),ii=function(n,t){return{top:[n.minX,n.minY,n.maxX,n.minY],left:[n.minX,n.minY,n.minX,n.maxY],bottom:[n.minX,n.maxY,n.maxX,n.maxY],right:[n.maxX,n.minY,n.maxX,n.maxY]}[t]},Jn=function(n,t){var e=(t.x2-t.x1)*(n.y1-t.y1)-(t.y2-t.y1)*(n.x1-t.x1),r=(n.x2-n.x1)*(n.y1-t.y1)-(n.y2-n.y1)*(n.x1-t.x1),i=(t.y2-t.y1)*(n.x2-n.x1)-(t.x2-t.x1)*(n.y2-n.y1);if(i){var a=e/i,s=r/i;if(a>=0&&a<=1&&s>=0&&s<=1)return a}return Number.POSITIVE_INFINITY},hi=function(n,t){for(var e=["top","left","bottom","right"],r=n.getBBox(),i=0,a=[],s=0;s<4;s++){var u=ii(r,e[s]),l=u[0],d=u[1],v=u[2],k=u[3];a[s]=Dr({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},{x:l,y:d},{x:v,y:k}),a[s]&&(i+=1)}return[a,i]},Vn=function(n,t){for(var e=["top","left","bottom","right"],r=n.getBBox(),i=Number.POSITIVE_INFINITY,a=0,s=0;s<4;s++){var u=ii(r,e[s]),l=u[0],d=u[1],v=u[2],k=u[3],T=Jn(t,new Wn(l,d,v,k));(T=Math.abs(T-.5))>=0&&T<=1&&(a+=1,i=T0){for(var r=0,i=n;rt.x+t.width,i=n.y>t.y+t.height,a=n.y":.604998779296875,"/":.5,"?":.53699951171875},Ne=Math.PI,He=Math.sin,ft=Math.cos,Tt=He(Ne/8),Ht=ft(Ne/8),vr=function(n,t){var e=n.getBBox(),r={x:e.minX,y:e.minY},i={x:e.maxX,y:e.maxY};if(t){var a=t.getMatrix();a||(a=[1,0,0,0,1,0,0,0,1]),r=In(r,a),i=In(i,a)}var s=r.x,u=r.y,l=i.x,d=i.y;return{x:s,y:u,minX:s,minY:u,maxX:l,maxY:d,width:l-s,height:d-u}},Be=function(n){var t=n.sourceNode||n.targetNode,e=t.get("group").getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var r=t.getKeyShape().getBBox(),i=n.loopCfg||{},a=i.dist||2*Math.max(r.width,r.height),s=i.position||ir.defaultLoopPosition,u=[e[6],e[7]],l=[n.startPoint.x,n.startPoint.y],d=[n.endPoint.x,n.endPoint.y],v=r.height/2,k=r.height/2,T=v*Tt,I=v*Ht,j=k*Tt,F=k*Ht;if(l[0]===d[0]&&l[1]===d[1]){switch(s){case"top":l=[u[0]-T,u[1]-I],d=[u[0]+j,u[1]-F];break;case"top-right":v=r.height/2,k=r.width/2,l=[u[0]+(T=v*Tt),u[1]-(I=v*Ht)],d=[u[0]+(F=k*Ht),u[1]-(j=k*Tt)];break;case"right":v=r.width/2,k=r.width/2,l=[u[0]+(I=v*Ht),u[1]-(T=v*Tt)],d=[u[0]+(F=k*Ht),u[1]+(j=k*Tt)];break;case"bottom-right":v=r.width/2,k=r.height/2,l=[u[0]+(I=v*Ht),u[1]+(T=v*Tt)],d=[u[0]+(j=k*Tt),u[1]+(F=k*Ht)];break;case"bottom":v=r.height/2,k=r.height/2,l=[u[0]+(T=v*Tt),u[1]+(I=v*Ht)],d=[u[0]-(j=k*Tt),u[1]+(F=k*Ht)];break;case"bottom-left":v=r.height/2,k=r.width/2,l=[u[0]-(T=v*Tt),u[1]+(I=v*Ht)],d=[u[0]-(F=k*Ht),u[1]+(j=k*Tt)];break;case"left":v=r.width/2,k=r.width/2,l=[u[0]-(I=v*Ht),u[1]+(T=v*Tt)],d=[u[0]-(F=k*Ht),u[1]-(j=k*Tt)];break;case"top-left":v=r.width/2,k=r.height/2,l=[u[0]-(I=v*Ht),u[1]-(T=v*Tt)],d=[u[0]-(j=k*Tt),u[1]-(F=k*Ht)];break;default:v=r.width/2,k=r.width/2,l=[u[0]-(T=v*Tt),u[1]-(I=v*Ht)],d=[u[0]+(j=k*Tt),u[1]-(F=k*Ht)]}if(i.clockwise===!1){var G=[l[0],l[1]];l=[d[0],d[1]],d=[G[0],G[1]]}}var V=[l[0]-u[0],l[1]-u[1]],q=(v+a)/v,$=(k+a)/k;i.clockwise===!1&&(q=(k+a)/k,$=(v+a)/v);var ve=L.c.scale([0,0],V,q),de=[u[0]+ve[0],u[1]+ve[1]],me=[d[0]-u[0],d[1]-u[1]],Ie=L.c.scale([0,0],me,$),Ee=[u[0]+Ie[0],u[1]+Ie[1]];return n.startPoint={x:l[0],y:l[1]},n.endPoint={x:d[0],y:d[1]},n.controlPoints=[{x:de[0],y:de[1]},{x:Ee[0],y:Ee[1]}],n},ut=function(n,t,e,r,i){var a=[],s=n==null?void 0:n.getPoint(t);if(!s)return{x:0,y:0,angle:0};if(t<1e-4)a=n.getStartTangent().reverse();else if(t>.9999)a=n.getEndTangent();else{var u=n==null?void 0:n.getPoint(t+1e-4);a.push([s.x,s.y]),a.push([u.x,u.y])}var l=Math.atan2(a[1][1]-a[0][1],a[1][0]-a[0][0]);if(l<0&&(l+=2*Ne),e&&(s.x+=ft(l)*e,s.y+=He(l)*e),r){var d=l-Ne/2;l>.5*Ne&&l<1.5*Ne&&(d-=Ne),s.x+=ft(d)*r,s.y+=He(d)*r}var v={x:s.x,y:s.y,angle:l};return i?(l>.5*Ne&&l<1.5*Ne&&(l-=Ne),Object(m.__assign)({rotate:l},v)):v},bt=function n(t,e){if(e(t)===!1)return!1;if(t&&t.children){for(var r=t.children.length-1;r>=0;r--)if(!n(t.children[r],e))return!1}return!0},Ft=function(n,t){typeof t=="function"&&bt(n,t)},we=function(n,t){typeof t=="function"&&function e(r,i){if(r&&r.children){for(var a=r.children.length-1;a>=0;a--)if(!e(r.children[a],i))return}return i(r)!==!1}(n,t)},ze=function(n,t){return t*(We[n]||1)},Qe=function(n,t){var e=0,r=new RegExp("[\u4E00-\u9FA5]+");return n.split("").forEach(function(i){r.test(i)?e+=t:e+=ze(i,t)}),[e,t]},lt=function(n,t){var e=[],r={},i={};n.forEach(function(u){i[u.id]=u}),n.forEach(function(u,l){var d=Object(p.clone)(u);d.itemType="combo",d.children=void 0,d.parentId===d.id?(console.warn("The parentId for combo "+d.id+" can not be the same as the combo's id"),delete d.parentId):d.parentId&&!i[d.parentId]&&(console.warn("The parent combo for combo "+d.id+" does not exist!"),delete d.parentId);var v=r[d.id];if(v){if(d.children=v.children,r[d.id]=d,!(v=d).parentId)return void e.push(v);var k=r[v.parentId];if(k)k.children?k.children.push(d):k.children=[d];else{var T={id:v.parentId,children:[v]};r[v.parentId]=T,r[d.id]=d}}else if(Object(p.isString)(u.parentId)){var I=r[u.parentId];if(I)I.children?I.children.push(d):I.children=[d],r[d.id]=d;else{var j={id:u.parentId,children:[d]};r[j.id]=j,r[d.id]=d}}else e.push(d),r[d.id]=d});var a={};(t||[]).forEach(function(u){a[u.id]=u;var l=r[u.comboId];if(l){var d={id:u.id,comboId:u.comboId};l.children?l.children.push(d):l.children=[d],d.itemType="node",r[u.id]=d}});var s=0;return e.forEach(function(u){u.depth=s+10,bt(u,function(l){var d,v=r[l.id].itemType;d=v==="node"?r[l.comboId]:r[l.parentId],l.depth=d&&v==="node"?s+1:s+10,s-1&&i.splice(l,1),s||(r={id:t,itemType:"node",comboId:e},a[t]={children:void 0}),t){var d=!1;if(e){var v=0;(n||[]).forEach(function(T){d||Ft(T,function(I){return e!==I.id||(d=!0,I.children?I.children.push(r):I.children=[r],v=I.depth,r.itemType==="node"?r.depth=v+2:r.depth=v+1,!1)})})}else e&&d||r.itemType==="node"||n.push(r);var k=r.depth;Ft(r,function(T){return T.itemType==="node"?k+=2:k+=1,T.depth=k,!0})}return n},wt=function(n,t){var e={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0,x:void 0,y:void 0,width:void 0,height:void 0,centerX:void 0,centerY:void 0};return n&&n.length!==0&&(n.forEach(function(r){var i=t.findById(r.id);if(i&&i.isVisible()){i.set("bboxCanvasCache",void 0);var a=i.getCanvasBBox();a.x&&e.minX>a.minX&&(e.minX=a.minX),a.y&&e.minY>a.minY&&(e.minY=a.minY),a.x&&e.maxXe&&(e=d),v>i&&(i=v)}return{x:Math.floor(t),y:Math.floor(r),width:Math.ceil(e)-Math.floor(t),height:Math.ceil(i)-Math.floor(r),minX:t,minY:r,maxX:e,maxY:i}},Cn=function(n,t,e,r,i){t===void 0&&(t=15),e===void 0&&(e="quadratic"),r===void 0&&(r=void 0),i===void 0&&(i=void 0);for(var a=n.length,s=2*t,u=["top","top-right","right","bottom-right","bottom","bottom-left","left","top-left"],l={},d=[],v={},k=0;kk&&(T=k),t.zoom(T,u)}},n.prototype.getFormatPadding=function(){var t=this.graph.get("fitViewPadding");return Vr(t)},n.prototype.focusPoint=function(t,e,r){var i=this,a=this.getViewCenter(),s=this.getPointByCanvas(a.x,a.y),u=this.graph.get("group").getMatrix();if(u||(u=[1,0,0,0,1,0,0,0,1]),e){var l=(s.x-t.x)*u[0],d=(s.y-t.y)*u[4],v=0,k=0,T=0,I=0;this.graph.get("canvas").animate(function(j){T=l*j,I=d*j,i.graph.translate(T-v,I-k),v=T,k=I},Object(m.__assign)({},r))}else this.graph.translate((s.x-t.x)*u[0],(s.y-t.y)*u[4])},n.prototype.getPointByCanvas=function(t,e){var r=this.graph.get("group").getMatrix();return r||(r=[1,0,0,0,1,0,0,0,1]),Dn({x:t,y:e},r)},n.prototype.getPointByClient=function(t,e){var r=this.graph.get("canvas").getPointByClient(t,e);return this.getPointByCanvas(r.x,r.y)},n.prototype.getClientByPoint=function(t,e){var r=this.graph.get("canvas"),i=this.getCanvasByPoint(t,e),a=r.getClientByPoint(i.x,i.y);return{x:a.x,y:a.y}},n.prototype.getCanvasByPoint=function(t,e){var r=this.graph.get("group").getMatrix();return r||(r=[1,0,0,0,1,0,0,0,1]),In({x:t,y:e},r)},n.prototype.focus=function(t,e,r){if(Object(p.isString)(t)&&(t=this.graph.findById(t)),t){var i=0,a=0;if(t.getType&&t.getType()==="edge"){var s=t.getSource().get("group").getMatrix(),u=t.getTarget().get("group").getMatrix();s&&u?(i=(s[6]+u[6])/2,a=(s[7]+u[7])/2):(s||u)&&(i=s?s[6]:u[6],a=s?s[7]:u[7])}else{var l=t.get("group").getMatrix();l||(l=[1,0,0,0,1,0,0,0,1]),i=l[6],a=l[7]}this.focusPoint({x:i,y:a},e,r)}},n.prototype.changeSize=function(t,e){var r=this.graph;if(!Object(p.isNumber)(t)||!Object(p.isNumber)(e))throw Error("invalid canvas width & height, please make sure width & height type is number");r.set({width:t,height:e}),r.get("canvas").changeSize(t,e),r.get("plugins").forEach(function(i){i.get("gridContainer")&&i.positionInit()})},n.prototype.destroy=function(){this.graph=null,this.destroyed=!1},n}();function Qr(n){return(Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Mn(n){if(typeof n!="string")return n;var t=function(de){if(typeof de!="string")return de;try{return JSON.parse(de.trim())}catch(me){return de.trim()}},e=t(n);if(typeof e!="string")return e;for(var r=function(de){return de[de.length-1]},i=n.trim(),a=[],s=[],u=function(){for(var de=[],me=0;mer.width&&(r.width=v.width+v.x),v.height+v.y>r.height&&(r.height=v.height+v.y)}}}return n.bbox=function(k,T,I){var j,F,G=k.attrs,V=G===void 0?{}:G,q={x:T.x||0,y:T.y||0,width:I.width||0,height:I.height||0};switch(k.type){case"maker":case"circle":V.r&&(F=2*V.r,j=2*V.r);break;case"text":V.text&&(F=Qe(V.text,V.fontSize||12)[0],j=16,q.y+=j,q.height=j,q.width=F,k.attrs=Object(m.__assign)({fontSize:12,fill:"#000"},V));break;default:V.width&&(F=V.width),V.height&&(j=V.height)}return j>=0&&(q.height=j),F>=0&&(q.width=F),V.marginTop&&(q.y+=V.marginTop),V.marginLeft&&(q.x+=V.marginLeft),q}(n,t,r),n.attrs=Object(m.__assign)(Object(m.__assign)({},n.attrs),n.bbox),n}function Sn(n){var t={},e=function(r){var i=function(u){return function(l){for(var d=u.length,v=[],k=0,T="";k0||((F=I.children)===null||F===void 0?void 0:F.length)>0)for(var de=Math.max((G=T.children)===null||G===void 0?void 0:G.length,(V=I.children)===null||V===void 0?void 0:V.length),me=I.children||[],Ie=T.children||[],Ee=0;Ee-1)return;r.push(a)}else l>-1&&r.splice(l,1)}else if(Object(p.isString)(e)){var d=r.filter(function(k){return k.includes(s)});d.length>0&&this.clearStates(d),(u=u.filter(function(k){return!k.includes(s)})).push(a),this.set("states",u)}if(i){var v=this.get("model").type;i.setState(v,t,e,this)}},n.prototype.clearStates=function(t){var e=this,r=e.getStates(),i=e.get("shapeFactory"),a=e.get("model").type;t||(t=r),Object(p.isString)(t)&&(t=[t]);var s=r.filter(function(u){return t.indexOf(u)===-1});e.set("states",s),t.forEach(function(u){i.setState(a,u,!1,e)})},n.prototype.getContainer=function(){return this.get("group")},n.prototype.getKeyShape=function(){return this.get("keyShape")},n.prototype.getModel=function(){return this.get("model")},n.prototype.getType=function(){return this.get("type")},n.prototype.getID=function(){return this.get("id")},n.prototype.isItem=function(){return!0},n.prototype.getStates=function(){return this.get("states")},n.prototype.hasState=function(t){return this.getStates().indexOf(t)>=0},n.prototype.refresh=function(t){var e=this.get("model");this.updatePosition(e),this.updateShape(t),this.afterUpdate(),this.clearCache()},n.prototype.getUpdateType=function(t){},n.prototype.update=function(t,e){e===void 0&&(e=void 0);var r=this.get("model");if(e==="move")this.updatePosition(t);else{var i=r.visible,a=t.visible;i!==a&&a!==void 0&&this.changeVisibility(a);var s={x:r.x,y:r.y};t.x=isNaN(+t.x)?r.x:+t.x,t.y=isNaN(+t.y)?r.y:+t.y;var u=this.get("styles");if(t.stateStyles){var l=t.stateStyles;Object(p.mix)(u,l),delete t.stateStyles}Object.assign(r,t),s.x===t.x&&s.y===t.y||this.updatePosition(t),this.updateShape()}this.afterUpdate(),this.clearCache()},n.prototype.updateShape=function(t){var e=this.get("shapeFactory"),r=this.get("model"),i=r.type;if(e.shouldUpdate(i)&&i===this.get("currentShape")){var a=this.getShapeCfg(r,t);e.baseUpdate(i,a,this,t),t!=="move"&&this.setOriginStyle()}else this.draw();this.restoreStates(e,i)},n.prototype.updatePosition=function(t){var e=this.get("model"),r=Object(p.isNil)(+t.x)?+e.x:+t.x,i=Object(p.isNil)(+t.y)?+e.y:+t.y,a=this.get("group");if(Object(p.isNil)(r)||Object(p.isNil)(i))return!1;e.x=r,e.y=i;var s=a.getMatrix();return(!s||s[6]!==r||s[7]!==i)&&(a.resetMatrix(),mn(a,{x:r,y:i}),this.clearCache(),!0)},n.prototype.getBBox=function(){var t=this.get("bboxCache");return t||(t=this.calculateBBox(),this.set("bboxCache",t)),t},n.prototype.getCanvasBBox=function(){var t=this.get("bboxCanvasCache");return t||(t=this.calculateCanvasBBox(),this.set("bboxCanvasCache",t)),t},n.prototype.toFront=function(){this.get("group").toFront()},n.prototype.toBack=function(){this.get("group").toBack()},n.prototype.show=function(){this.changeVisibility(!0)},n.prototype.hide=function(){this.changeVisibility(!1)},n.prototype.changeVisibility=function(t){var e=this.get("group");t?e.show():e.hide(),this.set("visible",t)},n.prototype.isVisible=function(){return this.get("visible")},n.prototype.enableCapture=function(t){var e=this.get("group");e&&e.set("capture",t)},n.prototype.destroy=function(){if(!this.destroyed){var t=this.get("animate"),e=this.get("group");t&&e.stopAnimate(),this.clearCache(),e.remove(),this._cfg=null,this.destroyed=!0}},n}(),Ji={source:"start",target:"end"},Ai=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return Object(m.__extends)(t,n),t.prototype.getDefaultCfg=function(){return{type:"edge",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},t.prototype.setEnd=function(e,r){var i=Ji[e]+"Point",a=e+"Node",s=this.get(a);s&&!s.destroyed&&s.removeEdge(this),Object(p.isPlainObject)(r)?(this.set(i,r),this.set(a,null)):r&&(r.addEdge(this),this.set(a,r),this.set(i,null))},t.prototype.getLinkPoint=function(e,r,i){var a=Ji[e]+"Point",s=e+"Node",u=this.get(a);if(!u){var l=this.get(s),d=e+"Anchor",v=this.getPrePoint(e,i),k=r[d];Object(p.isNil)(k)||(u=l.getLinkPointByAnchor(k)),u=u||l.getLinkPoint(v),Object(p.isNil)(u.index)||this.set(e+"AnchorIndex",u.index)}return u},t.prototype.getPrePoint=function(e,r){if(r&&r.length)return r[e==="source"?0:r.length-1];var i=e==="source"?"target":"source";return this.getEndPoint(i)},t.prototype.getEndPoint=function(e){var r=e+"Node",i=Ji[e]+"Point",a=this.get(r);return a?a.get("model"):this.get(i)},t.prototype.getControlPointsByCenter=function(e){var r=this.getEndPoint("source"),i=this.getEndPoint("target"),a=this.get("shapeFactory"),s=e.type;return a.getControlPoints(s,{startPoint:r,endPoint:i})},t.prototype.getEndCenter=function(e){var r=e+"Node",i=Ji[e]+"Point",a=this.get(r);if(a){var s=a.getBBox();return{x:s.centerX,y:s.centerY}}return this.get(i)},t.prototype.init=function(){n.prototype.init.call(this),this.setSource(this.get("source")),this.setTarget(this.get("target"))},t.prototype.getShapeCfg=function(e,r){var i=this.get("linkCenter"),a=r==="move"?e:n.prototype.getShapeCfg.call(this,e);if(i)a.startPoint=this.getEndCenter("source"),a.endPoint=this.getEndCenter("target");else{var s=a.controlPoints||this.getControlPointsByCenter(a);a.startPoint=this.getLinkPoint("source",e,s),a.endPoint=this.getLinkPoint("target",e,s)}return a.sourceNode=this.get("sourceNode"),a.targetNode=this.get("targetNode"),a},t.prototype.getModel=function(){var e=this.get("model"),r=this.get("sourceNode"),i=this.get("targetNode");return r?delete e.sourceNode:e.source=this.get("startPoint"),i?delete e.targetNode:e.target=this.get("endPoint"),Object(p.isString)(e.source)||Object(p.isPlainObject)(e.source)||(e.source=e.source.getID()),Object(p.isString)(e.target)||Object(p.isPlainObject)(e.target)||(e.target=e.target.getID()),e},t.prototype.setSource=function(e){this.setEnd("source",e),this.set("source",e)},t.prototype.setTarget=function(e){this.setEnd("target",e),this.set("target",e)},t.prototype.getSource=function(){return this.get("source")},t.prototype.getTarget=function(){return this.get("target")},t.prototype.updatePosition=function(){return!1},t.prototype.update=function(e,r){r===void 0&&(r=void 0);var i=this.get("model"),a=i.visible,s=e.visible;a!==s&&s!==void 0&&this.changeVisibility(s);var u=this.get("styles");if(e.stateStyles){var l=e.stateStyles;Object(p.mix)(u,l),delete e.stateStyles}Object.assign(i,e),this.updateShape(r),this.afterUpdate(),this.clearCache()},t.prototype.destroy=function(){var e=this.get("sourceNode"),r=this.get("targetNode");e&&!e.destroyed&&e.removeEdge(this),r&&!r.destroyed&&r.removeEdge(this),n.prototype.destroy.call(this)},t}(pi),Gn=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return Object(m.__extends)(t,n),t.prototype.getNearestPoint=function(e,r){for(var i=0,a=e[0],s=gn(e[0],r),u=0;u-1&&r.splice(i,1)},t.prototype.clearCache=function(){this.set("bboxCache",null),this.set("anchorPointsCache",null)},t.prototype.getUpdateType=function(e){var r,i,a,s,u;if(e){var l=!Object(p.isNil)(e.x),d=!Object(p.isNil)(e.y),v=Object.keys(e);return v.length===1&&(l||d)||v.length===2&&l&&d?"move":Object(p.isNumber)(e.x)||Object(p.isNumber)(e.y)||e.type||e.anchorPoints||e.size||(e==null?void 0:e.style)&&(((r=e==null?void 0:e.style)===null||r===void 0?void 0:r.r)||((i=e==null?void 0:e.style)===null||i===void 0?void 0:i.width)||((a=e==null?void 0:e.style)===null||a===void 0?void 0:a.height)||((s=e==null?void 0:e.style)===null||s===void 0?void 0:s.rx)||((u=e==null?void 0:e.style)===null||u===void 0?void 0:u.ry))?"bbox":"style"}},t}(pi),zi=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return Object(m.__extends)(t,n),t.prototype.getDefaultCfg=function(){return{type:"combo",nodes:[],edges:[],combos:[]}},t.prototype.getShapeCfg=function(e){var r=this.get("styles"),i=this.get("bbox");if(r&&i){var a=e,s={r:Math.hypot(i.height,i.width)/2||ir.defaultCombo.size[0]/2,width:i.width||ir.defaultCombo.size[0],height:i.height||ir.defaultCombo.size[1]};a.style=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},r),e.style),s);var u=e.padding||ir.defaultCombo.padding;return Object(p.isNumber)(u)?(s.r+=u,s.width+=2*u,s.height+=2*u):(s.r+=u[0],s.width+=u[1]+u[3]||2*u[1],s.height+=u[0]+u[2]||2*u[0]),this.set("sizeCache",s),a}return e},t.prototype.calculateCanvasBBox=function(){if(!this.destroyed){var e=this.get("keyShape"),r=this.get("group"),i=vr(e,r);i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2;var a=this.get("sizeCache"),s=this.get("bboxCache")||{},u=s.x,l=s.x;return a?(a.width=Math.max(a.width,i.width),a.height=Math.max(a.height,i.height),e.get("type")==="circle"?(i.width=2*a.r,i.height=2*a.r):(i.width=a.width,i.height=a.height),i.minX=i.centerX-i.width/2,i.minY=i.centerY-i.height/2,i.maxX=i.centerX+i.width/2,i.maxY=i.centerY+i.height/2):(i.width=i.maxX-i.minX,i.height=i.maxY-i.minY,i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2),i.x=i.minX,i.y=i.minY,i.x===u&&i.y===l||this.set("anchorPointsCache",null),i}},t.prototype.getChildren=function(){return{nodes:this.getNodes(),combos:this.getCombos()}},t.prototype.getNodes=function(){return this.get("nodes")},t.prototype.getCombos=function(){return this.get("combos")},t.prototype.addChild=function(e){switch(e.getType()){case"node":this.addNode(e);break;case"combo":this.addCombo(e);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},t.prototype.addCombo=function(e){return this.get("combos").push(e),!0},t.prototype.addNode=function(e){return this.get("nodes").push(e),!0},t.prototype.removeChild=function(e){switch(e.getType()){case"node":this.removeNode(e);break;case"combo":this.removeCombo(e);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},t.prototype.removeCombo=function(e){if(e){var r=this.getCombos(),i=r.indexOf(e);return i>-1&&(r.splice(i,1),!0)}},t.prototype.removeNode=function(e){if(e){var r=this.getNodes(),i=r.indexOf(e);return i>-1&&(r.splice(i,1),!0)}},t.prototype.getUpdateType=function(e){},t.prototype.getBBox=function(){return this.set("bboxCanvasCache",null),this.calculateCanvasBBox()},t.prototype.clearCache=function(){this.set("bboxCache",null),this.set("bboxCanvasCache",null),this.set("anchorPointsCache",null)},t.prototype.destroy=function(){if(!this.destroyed){var e=this.get("animate"),r=this.get("group");e&&r.stopAnimate(),this.clearCache(),this.set("sizeCache",null),this.set("bbox",null),r.remove(),this._cfg=null,this.destroyed=!0}},t}(Gn),Di=function(){function n(t){var e=this;this.edgeToBeUpdateMap={},this.throttleRefresh=Object(p.throttle)(function(r){var i,a=e.graph;if(a&&!a.get("destroyed")){var s=e.edgeToBeUpdateMap;s&&((i=Object.keys(s))===null||i===void 0?void 0:i.length)&&(Object.keys(s).forEach(function(u){var l=s[u].edge;l&&!l.destroyed&&l.refresh(s[u].updateType)}),e.edgeToBeUpdateMap={})}},16,{trailing:!0,leading:!0}),this.graph=t,this.destroyed=!1}return n.prototype.addItem=function(t,e){var r=this.graph,i=t==="vedge"?"edge":t,a=r.get(i+"Group")||r.get("group"),s=Object(p.upperFirst)(i),u=null,l=r.get(i+Object(p.upperFirst)("stateStyles"))||{},d=r.get("default"+s);e.stateStyles&&(l=e.stateStyles),d&&Object(p.each)(d,function(q,$){Object(p.isObject)(q)&&!Object(p.isArray)(q)?e[$]=Object(p.deepMix)({},q,e[$]):Object(p.isArray)(q)?e[$]=e[$]||Object(p.clone)(d[$]):e[$]=e[$]||d[$]});var v=r.get(i+"Mapper");if(v){var k=v(e);k.stateStyles&&(l=k.stateStyles,delete k.stateStyles),Object(p.each)(k,function(q,$){Object(p.isObject)(q)&&!Object(p.isArray)(q)?e[$]=Object(p.deepMix)({},e[$],q):e[$]=k[$]||e[$]})}if(r.emit("beforeadditem",{type:t,model:e}),t==="edge"||t==="vedge"){var T=void 0,I=void 0;if(T=e.source,I=e.target,T&&Object(p.isString)(T)&&(T=r.findById(T)),I&&Object(p.isString)(I)&&(I=r.findById(I)),!T||!I)return void console.warn("The source or target node of edge "+e.id+" does not exist!");T.getType&&T.getType()==="combo"&&(e.isComboEdge=!0),I.getType&&I.getType()==="combo"&&(e.isComboEdge=!0),u=new Ai({model:e,source:T,target:I,styles:l,linkCenter:r.get("linkCenter"),group:a.addGroup()})}else if(t==="node")u=new Gn({model:e,styles:l,group:a.addGroup()});else if(t==="combo"){var j=e.children,F=wt(j,r);isNaN(F.x)?isNaN(e.x)&&(e.x=100*Math.random()):e.x=F.x,isNaN(F.y)?isNaN(e.y)&&(e.y=100*Math.random()):e.y=F.y;var G=a.addGroup();G.setZIndex(e.depth);var V=(u=new zi({model:e,styles:l,bbox:e.collapsed?wt([],r):F,group:G})).getModel();(j||[]).forEach(function(q){var $=r.findById(q.id);u.addChild($),q.depth=V.depth+2}),e.collapsed&&setTimeout(function(){r.collapseCombo(u)},0)}if(u)return r.get(t+"s").push(u),r.get("itemMap")[u.get("id")]=u,r.emit("afteradditem",{item:u,model:e}),u},n.prototype.updateItem=function(t,e){var r,i,a=this,s=this.graph;if(Object(p.isString)(t)&&(t=s.findById(t)),t&&!t.destroyed){var u="";t.getType&&(u=t.getType());var l=s.get(u+"Mapper"),d=t.getModel(),v=t.getUpdateType(e);if(l){var k=l(Object(p.deepMix)({},d,e)),T=Object(p.deepMix)({},d,k,e);k.stateStyles&&(t.set("styles",T.stateStyles),delete T.stateStyles),Object(p.each)(T,function($,ve){e[ve]=$})}else Object(p.each)(e,function($,ve){d[ve]&&Object(p.isObject)($)&&!Object(p.isArray)($)&&(e[ve]=Object(m.__assign)(Object(m.__assign)({},d[ve]),e[ve]))});if(s.emit("beforeupdateitem",{item:t,cfg:e}),u==="edge"){if(e.source){var I=e.source;Object(p.isString)(I)&&(I=s.findById(I)),t.setSource(I)}if(e.target){var j=e.target;Object(p.isString)(j)&&(j=s.findById(j)),t.setTarget(j)}t.update(e)}if(u==="node"||u==="combo"){t.update(e,v);var F=t.getEdges(),G=v==="bbox"||v==="move";if(u==="node")v==="move"?Object(p.each)(F,function($){a.edgeToBeUpdateMap[$.getID()]={edge:$,updateType:v},a.throttleRefresh()}):G&&Object(p.each)(F,function($){$.refresh()});else if(G&&u==="combo"){var V=t.get("shapeFactory"),q=d.type||"circle";(d.animate===void 0||e.animate===void 0?(i=(r=V[q])===null||r===void 0?void 0:r.options)===null||i===void 0?void 0:i.animate:d.animate||e.animate)?setTimeout(function(){if(t&&!t.destroyed){var $=t.getKeyShape();$&&!$.destroyed&&Object(p.each)(F,function(ve){ve&&!ve.destroyed&&ve.refresh()})}},201):Object(p.each)(F,function($){$.refresh()})}}s.emit("afterupdateitem",{item:t,cfg:e})}},n.prototype.updateCombo=function(t,e){var r,i,a=this,s=this.graph;if(Object(p.isString)(t)&&(t=s.findById(t)),t&&!t.destroyed){var u=t.getModel(),l=wt(u.collapsed?[]:e,s),d=u.collapsed?wt(e,s):l,v=d.x,k=d.y;t.set("bbox",l),t.update({x:v,y:k});var T=t.get("shapeFactory"),I=u.type||"circle";(u.animate===void 0?(i=(r=T[I])===null||r===void 0?void 0:r.options)===null||i===void 0?void 0:i.animate:u.animate)?setTimeout(function(){if(t&&!t.destroyed){var j=t.getKeyShape();j&&!j.destroyed&&(t.getShapeCfg(u),a.updateComboEdges(t))}},201):this.updateComboEdges(t)}},n.prototype.updateComboEdges=function(t){for(var e=t.getEdges()||[],r=0;r-1&&s.splice(u,1),a==="edge"){var l=r.get("v"+a+"s"),d=l.indexOf(t);d>-1&&l.splice(d,1)}var v=t.get("id");delete r.get("itemMap")[v];var k=r.get("comboTrees"),T=t.get("id");if(a==="node"){var I=t.getModel().comboId;if(k&&I){var j=k,F=!1;k.forEach(function(de){F||Ft(de,function(me){if(me.id===T&&j){var Ie=j.indexOf(me);return j.splice(Ie,1),F=!0,!1}return j=me.children,!0})})}for(var G=(ve=t.getEdges()).length-1;G>=0;G--)r.removeItem(ve[G],!1);I&&r.updateCombo(I)}else if(a==="combo"){var V,q=t.getModel().parentId,$=!1;(k||[]).forEach(function(de){$||Ft(de,function(me){return me.id!==T||(V=me,$=!0,!1)})}),V.removed=!0,V&&V.children&&V.children.forEach(function(de){e.removeItem(de.id)});var ve;for(G=(ve=t.getEdges()).length;G>=0;G--)r.removeItem(ve[G],!1);q&&r.updateCombo(q)}t.destroy(),r.emit("afterremoveitem",{item:i})}},n.prototype.setItemState=function(t,e,r){var i=this.graph,a=e;Object(p.isString)(r)&&(a=e+":"+r),t.hasState(a)===r&&r||Object(p.isString)(r)&&t.hasState(a)||(i.emit("beforeitemstatechange",{item:t,state:a,enabled:r}),t.setState(e,r),i.autoPaint(),i.emit("afteritemstatechange",{item:t,state:a,enabled:r}))},n.prototype.priorityState=function(t,e){var r=this.graph,i=t;Object(p.isString)(t)&&(i=r.findById(t)),this.setItemState(i,e,!1),this.setItemState(i,e,!0)},n.prototype.clearItemStates=function(t,e){var r=this.graph;Object(p.isString)(t)&&(t=r.findById(t)),r.emit("beforeitemstatesclear",{item:t,states:e}),t.clearStates(e),r.emit("afteritemstatesclear",{item:t,states:e})},n.prototype.refreshItem=function(t){var e=this.graph;Object(p.isString)(t)&&(t=e.findById(t)),e.emit("beforeitemrefresh",{item:t}),t.refresh(),e.emit("afteritemrefresh",{item:t})},n.prototype.addCombos=function(t,e){var r=this,i=this.graph;(t||[]).forEach(function(s){we(s,function(u){var l;return e.forEach(function(d){d.id===u.id&&(d.children=u.children,d.depth=u.depth,l=d)}),l&&r.addItem("combo",l),!0})});var a=i.get("comboGroup");a&&a.sort()},n.prototype.changeItemVisibility=function(t,e){var r=this,i=this.graph;if(Object(p.isString)(t)&&(t=i.findById(t)),t){if(i.emit("beforeitemvisibilitychange",{item:t,visible:e}),t.changeVisibility(e),t.getType&&t.getType()==="node"){var a=t.getEdges();Object(p.each)(a,function(v){(!e||v.get("source").isVisible()&&v.get("target").isVisible())&&r.changeItemVisibility(v,e)})}else if(t.getType&&t.getType()==="combo"){var s=i.get("comboTrees"),u=t.get("id"),l=[],d=!1;(s||[]).forEach(function(v){d||v.children&&v.children.length!==0&&Ft(v,function(k){return k.id!==u||(l=k.children,d=!0,!1)})}),l&&(!e||e&&!t.getModel().collapsed)&&l.forEach(function(v){var k=i.findById(v.id);r.changeItemVisibility(k,e)}),a=t.getEdges(),Object(p.each)(a,function(v){(!e||v.get("source").isVisible()&&v.get("target").isVisible())&&r.changeItemVisibility(v,e)})}return i.emit("afteritemvisibilitychange",{item:t,visible:e}),t}console.warn("The item to be shown or hidden does not exist!")},n.prototype.destroy=function(){this.graph=null,this.destroyed=!0},n}(),fi=null,Ui=function(){function n(t){this.graph=t,this.cachedStates={enabled:{},disabled:{}},this.destroyed=!1}return n.checkCache=function(t,e,r){if(r[e]){var i=r[e].indexOf(t);i>=0&&r[e].splice(i,1)}},n.cacheState=function(t,e,r){r[e]||(r[e]=[]),r[e].push(t)},n.prototype.updateState=function(t,e,r){var i=this,a=n.checkCache,s=n.cacheState;if(!t.destroyed){var u=this.cachedStates,l=u.enabled,d=u.disabled;r?(a(t,e,d),s(t,e,l)):(a(t,e,l),s(t,e,d)),fi&&clearTimeout(fi),fi=setTimeout(function(){fi=null,i.updateGraphStates()},16)}},n.prototype.updateStates=function(t,e,r){var i=this;Object(p.isString)(e)?this.updateState(t,e,r):e.forEach(function(a){i.updateState(t,a,r)})},n.prototype.updateGraphStates=function(){var t=this.graph.get("states"),e=this.cachedStates;Object(p.each)(e.disabled,function(r,i){t[i]&&(t[i]=t[i].filter(function(a){return r.indexOf(a)<0&&!r.destroyed}))}),Object(p.each)(e.enabled,function(r,i){if(t[i]){var a={};t[i].forEach(function(s){s.destroyed||(a[s.get("id")]=!0)}),r.forEach(function(s){if(!s.destroyed){var u=s.get("id");a[u]||(a[u]=!0,t[i].push(s))}})}else t[i]=r}),this.graph.emit("graphstatechange",{states:t}),this.cachedStates={enabled:{},disabled:{}}},n.prototype.destroy=function(){this.graph=null,this.cachedStates=null,fi&&clearTimeout(fi),fi=null,this.destroyed=!0},n}(),Ci=o(37),eo=function(n,t){return n&&t?n.replace(/\\?\{([^{}]+)\}/g,function(e,r){if(e.charAt(0)==="\\")return e.slice(1);var i=t[r];return i===0&&(i="0"),i||""}):n},so=function(n){var t=[];if(n.length<2)throw new Error("point length must largn than 2, now it's "+n.length);for(var e=0,r=n;e0?u-1:a-1,d=L.c.normalize([0,0],L.c.add([0,0],s[l].v,L.c.scale([0,0],s[u].v,-1)));s[u].p=L.c.add([0,0],s[u].p,L.c.scale([0,0],d,t))}return s.map(function(v){var k=v.p;return{x:k[0],y:k[1]}})}var oe=function(n,t,e){return(n.y-e.y)*(t.x-e.x)-(n.x-e.x)*(t.y-e.y)},pe=function(n){var t=n.map(function(a){return{x:a.getModel().x,y:a.getModel().y}});if(t.sort(function(a,s){return a.x===s.x?a.y-s.y:a.x-s.x}),t.length===1)return t;for(var e=[],r=0;r=2&&oe(e[e.length-2],e[e.length-1],t[r])<=0;)e.pop();e.push(t[r])}var i=[];for(r=t.length-1;r>=0;r--){for(;i.length>=2&&oe(i[i.length-2],i[i.length-1],t[r])<=0;)i.pop();i.push(t[r])}return i.pop(),e.pop(),e.concat(i)},be={maxRoutingIterations:100,maxMarchingIterations:100,pixelGroupSize:2,edgeR0:10,edgeR1:10,nodeR0:5,nodeR1:10,morphBuffer:5,threshold:.001,skip:16,nodeInfluenceFactor:1,edgeInfluenceFactor:1,negativeNodeInfluenceFactor:-.5};function De(n,t,e){var r=!1,i=function(u,l){return t.cells[u+l*t.width]},a=function(u,l){var d=0;return i(u-1,l-1)>=e&&(d+=1),i(u,l-1)>e&&(d+=2),i(u-1,l)>e&&(d+=4),i(u,l)>e&&(d+=8),d},s=function(u,l){for(var d,v,k=u,T=l,I=0;I-1){if(n[0].x===k&&n[0].y===T)return!0}else n.push({x:k,y:T});var j=a(k,T);switch(j){case-1:return console.warn("Marched out of bounds"),!0;case 0:case 3:case 2:case 7:k++;break;case 12:case 14:case 4:k--;break;case 6:d===0&&(v===-1?k-=1:k+=1);break;case 1:case 13:case 5:T--;break;case 9:d===1&&(v===0?T-=1:T+=1);break;case 10:case 8:case 11:T++;break;default:return console.warn("Marching squares invalid state: "+j),!0}}};this.march=function(){for(var u=0;ue&&a(u,l)!==15&&(r=s(u,l));return r}}var Ue=function(n,t){var e=Number.POSITIVE_INFINITY,r=null;return n.forEach(function(i){var a=Vn(i,t);a>=0&&a0?V+1:V},0);j*Math.pow(G+1,2)0;){var l=s.pop();if(s.length===0){u.push(l);break}var d=s.pop(),v=new Wn(l.x1,l.y1,d.x2,d.y2);Ue(t,v)?(u.push(l),s.push(d)):s.push(v)}return u}(function(s,u,l,d){var v=[],k=[];k.push(s);for(var T=!0,I=0,j=function(V,q){var $=!1;return q.forEach(function(ve){$||(Xn(V,{x:ve.x1,y:ve.y1})||Xn(V,{x:ve.x2,y:ve.y2}))&&($=!0)}),$},F=function(V,q){for(var $=0,ve=q;$=1;)Ee=Ge(q,Ie/=1.5,ve,me),Pe=j(Ee,k)||j(Ee,v),Ze=F(Ee,u);!Ee||Pe||me&&Ze||(k.push(new Wn(V.x1,V.y1,Ee.x,Ee.y)),k.push(new Wn(Ee.x,Ee.y,V.x2,V.y2)),T=!0)};de(!0),T||de(!1)}}T||v.push(V),I+=1};!T&&k.length;)G()}for(;k.length;)v.push(k.pop());return v}(new Wn(n.getModel().x,n.getModel().y,a.getModel().x,a.getModel().y),t,r,i))}var Fe=function(n,t,e){var r=Object.assign(be,e),i=oi(n.map(function(de){return{x:de.getModel().x,y:de.getModel().y}}));n=n.sort(function(de,me){return di({x:de.getModel().x,y:de.getModel().y},i)-di({x:me.getModel().x,y:me.getModel().y},i)});var a=[],s=[];n.forEach(function(de){ke(de,t,a,r.maxRoutingIterations,r.morphBuffer).forEach(function(me){s.push(me)}),a.push(de)});for(var u,l,d,v,k,T=function(de,me,Ie){var Ee={minX:Number.POSITIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY,width:0,height:0,x:0,y:0},Pe=[];de.forEach(function(st){Pe.push(st.getBBox())}),me.forEach(function(st){Pe.push(st.getBBox())});for(var Ze=0,it=Pe;ZeEe.maxX?ct.maxX:Ee.maxX)+Ie,Ee.maxY=(ct.maxY>Ee.maxY?ct.maxY:Ee.maxY)+Ie}return Ee.width=Ee.maxX-Ee.minX,Ee.height=Ee.maxY-Ee.minY,Ee.x=Ee.minX,Ee.y=Ee.minY,Ee}(n,s,r.nodeR0),I=(u=T.width,l=T.height,d=r.pixelGroupSize,v=Math.ceil(u/d),k=Math.ceil(l/d),{cells:new Float32Array(Math.max(0,v*k)).fill(0),width:v,height:k}),j=[],F=[],G=0;G1)for(q=Math.floor(V.length/r.skip);q<3&&r.skip>1;)r.skip-=1,q=Math.floor(V.length/r.skip);for(var $=0,ve=0;ve0))break;r.nonMemberInfluenceFactor*=.8}}return F};function Ye(n,t,e,r,i,a){function s(T,I){var j=Math.floor((T-I)/a.pixelGroupSize);return j<0?0:j}function u(T,I){return T*a.pixelGroupSize+I}var l=(a.nodeR0-a.nodeR1)*(a.nodeR0-a.nodeR1),d=(a.edgeR0-a.edgeR1)*(a.edgeR0-a.edgeR1),v=function(T,I){return[Math.min(s(T.minX,I+r.minX),i.width),Math.min(s(T.minY,I+r.minY),i.height),Math.min(s(T.maxX,-I+r.minX),i.width),Math.min(s(T.maxY,-I+r.minY),i.height)]},k=function(T,I){for(var j=T.getBBox(),F=v(j,a.nodeR1),G=F[0],V=F[1],q=F[2],$=F[3],ve=V;ve<$;ve+=1)for(var de=G;del.y?r?d.topLeft:d.bottomRight:r?d.topRight:d.bottomLeft:s.yu.x?r?d.topLeft:d.bottomRight:r?d.bottomLeft:d.topRight:a.x0?this.cfg.padding+t:10+t,this.cfg.bubbleCfg={nodeR0:this.padding-t,nodeR1:this.padding-t,morphBuffer:this.padding-t}},n.prototype.setType=function(){this.type=this.cfg.type,this.members.length<3&&(this.type="round-convex"),this.type!=="round-convex"&&this.type!=="smooth-convex"&&this.type!=="bubble"&&(console.warn("The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default."),this.type="round-convex")},n.prototype.calcPath=function(t,e){var r,i,a;switch(this.type){case"round-convex":a=ce((r=pe(t)).map(function(s){return[s.x,s.y]}),this.padding),i=Object(Ci.b)(a);break;case"smooth-convex":(r=pe(t)).length===2?(a=ce(r.map(function(s){return[s.x,s.y]}),this.padding),i=Object(Ci.b)(a)):r.length>2&&(a=K(r.map(function(s){return[s.x,s.y]}),this.padding),i=$e(a));break;case"bubble":i=(r=Fe(t,e,this.cfg.bubbleCfg)).length>=2&&$e(r)}return i},n.prototype.render=function(){this.group.addShape("path",{attrs:Object(m.__assign)({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id}),this.group.toBack()},n.prototype.addMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t)),this.members.push(t);var e=this.nonMembers.indexOf(t);return e>-1&&this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},n.prototype.addNonMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t)),this.nonMembers.push(t);var e=this.members.indexOf(t);return e>-1&&this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},n.prototype.removeMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t));var e=this.members.indexOf(t);return e>-1&&(this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},n.prototype.removeNonMember=function(t){if(t){Object(p.isString)(t)&&(t=this.graph.findById(t));var e=this.nonMembers.indexOf(t);return e>-1&&(this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},n.prototype.updateData=function(t,e){var r=this;this.group.findById(this.id).remove(),t&&(this.members=t.map(function(i){return Object(p.isString)(i)?r.graph.findById(i):i})),e&&(this.nonMembers=e.map(function(i){return Object(p.isString)(i)?r.graph.findById(i):i})),this.path=this.calcPath(this.members,this.nonMembers),this.render()},n.prototype.updateStyle=function(t){this.group.findById(this.id).attr(Object(m.__assign)({},t))},n.prototype.updateCfg=function(t){var e=this;this.cfg=Object(p.deepMix)(this.cfg,t),this.id=this.cfg.id,this.group=this.cfg.group,t.members&&(this.members=this.cfg.members.map(function(r){return Object(p.isString)(r)?e.graph.findById(r):r})),t.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map(function(r){return Object(p.isString)(r)?e.graph.findById(r):r})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},n.prototype.contain=function(t){var e,r,i=this,a=(e=Object(p.isString)(t)?this.graph.findById(t):t).getKeyShape();if(e.get("type")==="path")r=_t(a.attr("path"));else{var s=a.getCanvasBBox();r=[[s.minX,s.minY],[s.maxX,s.minY],[s.maxX,s.maxY],[s.minX,s.maxY]]}return r=r.map(function(u){var l=i.graph.getPointByCanvas(u[0],u[1]);return[l.x,l.y]}),Mi(r,_t(this.path))},n.prototype.destroy=function(){this.group.remove(),this.cfg=null},n}(),et=L.a.transform,tt=function(n){function t(e){var r=n.call(this)||this;return r.cfg=Object(p.deepMix)(r.getDefaultCfg(),e),r.init(),r.animating=!1,r.destroyed=!1,r.cfg.enabledStack&&(r.undoStack=new dr(r.cfg.maxStep),r.redoStack=new dr(r.cfg.maxStep)),r}return Object(m.__extends)(t,n),t.prototype.init=function(){this.initCanvas();var e=new qn(this),r=new rr(this),i=new Di(this),a=new Ui(this);this.set({viewController:e,modeController:r,itemController:i,stateController:a}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},t.prototype.initGroups=function(){var e=this.get("canvas"),r=this.get("canvas").get("el").id,i=e.addGroup({id:r+"-root",className:ir.rootContainerClassName});if(this.get("groupByTypes")){var a=i.addGroup({id:r+"-edge",className:ir.edgeContainerClassName}),s=i.addGroup({id:r+"-node",className:ir.nodeContainerClassName}),u=i.addGroup({id:r+"-combo",className:ir.comboContainerClassName});u.toBack(),this.set({nodeGroup:s,edgeGroup:a,comboGroup:u})}var l=i.addGroup({id:r+"-delegate",className:ir.delegateContainerClassName});this.set({delegateGroup:l}),this.set("group",i)},t.prototype.getDefaultCfg=function(){return{container:void 0,width:void 0,height:void 0,renderer:"canvas",modes:{},plugins:[],data:{},fitViewPadding:10,minZoom:.2,maxZoom:10,event:!0,groupByTypes:!0,directed:!1,autoPaint:!0,nodes:[],edges:[],combos:[],vedges:[],itemMap:{},linkCenter:!1,defaultNode:{},defaultEdge:{},nodeStateStyles:{},edgeStateStyles:{},states:{},animate:!1,animateCfg:{onFrame:void 0,duration:500,easing:"easeLinear"},callback:void 0,enabledStack:!1,maxStep:10,tooltips:[]}},t.prototype.set=function(e,r){return Object(p.isPlainObject)(e)?this.cfg=Object(m.__assign)(Object(m.__assign)({},this.cfg),e):this.cfg[e]=r,this},t.prototype.get=function(e){var r;return(r=this.cfg)===null||r===void 0?void 0:r[e]},t.prototype.getGroup=function(){return this.get("group")},t.prototype.getContainer=function(){return this.get("container")},t.prototype.getMinZoom=function(){return this.get("minZoom")},t.prototype.setMinZoom=function(e){return this.set("minZoom",e)},t.prototype.getMaxZoom=function(){return this.get("maxZoom")},t.prototype.setMaxZoom=function(e){return this.set("maxZoom",e)},t.prototype.getWidth=function(){return this.get("width")},t.prototype.getHeight=function(){return this.get("height")},t.prototype.clearItemStates=function(e,r){Object(p.isString)(e)&&(e=this.findById(e));var i=this.get("itemController");r||(r=e.get("states")),i.clearItemStates(e,r),this.get("stateController").updateStates(e,r,!1)},t.prototype.node=function(e){typeof e=="function"&&this.set("nodeMapper",e)},t.prototype.edge=function(e){typeof e=="function"&&this.set("edgeMapper",e)},t.prototype.combo=function(e){typeof e=="function"&&this.set("comboMapper",e)},t.prototype.findById=function(e){return this.get("itemMap")[e]},t.prototype.find=function(e,r){var i,a=this.get(e+"s");return Object(p.each)(a,function(s,u){if(r(s,u))return i=s}),i},t.prototype.findAll=function(e,r){var i=[];return Object(p.each)(this.get(e+"s"),function(a,s){r(a,s)&&i.push(a)}),i},t.prototype.findAllByState=function(e,r){return this.findAll(e,function(i){return i.hasState(r)})},t.prototype.translate=function(e,r){var i=this.get("group"),a=Object(p.clone)(i.getMatrix());a||(a=[1,0,0,0,1,0,0,0,1]),a=et(a,[["t",e,r]]),i.setMatrix(a),this.emit("viewportchange",{action:"translate",matrix:i.getMatrix()}),this.autoPaint()},t.prototype.moveTo=function(e,r,i,a){var s=this.get("group");Qn(s,{x:e,y:r},i,a||{duration:500,easing:"easeCubic"}),this.emit("viewportchange",{action:"move",matrix:s.getMatrix()})},t.prototype.fitView=function(e){e&&this.set("fitViewPadding",e),this.get("viewController").fitView(),this.autoPaint()},t.prototype.fitCenter=function(){this.get("viewController").fitCenter(),this.autoPaint()},t.prototype.addBehaviors=function(e,r){return this.get("modeController").manipulateBehaviors(e,r,!0),this},t.prototype.removeBehaviors=function(e,r){return this.get("modeController").manipulateBehaviors(e,r,!1),this},t.prototype.updateBehavior=function(e,r,i){return this.get("modeController").updateBehavior(e,r,i),this},t.prototype.zoom=function(e,r){var i=this.get("group"),a=Object(p.clone)(i.getMatrix()),s=this.get("minZoom"),u=this.get("maxZoom");a||(a=[1,0,0,0,1,0,0,0,1]),a=et(a,r?[["t",-r.x,-r.y],["s",e,e],["t",r.x,r.y]]:[["s",e,e]]),s&&a[0]u||(i.setMatrix(a),this.emit("viewportchange",{action:"zoom",matrix:a}),this.autoPaint())},t.prototype.zoomTo=function(e,r){var i=e/this.getZoom();this.zoom(i,r)},t.prototype.focusItem=function(e,r,i){var a=this.get("viewController"),s=!1;r?s=!0:r===void 0&&(s=this.get("animate"));var u={};i?u=i:i===void 0&&(u=this.get("animateCfg")),a.focus(e,s,u),this.autoPaint()},t.prototype.autoPaint=function(){this.get("autoPaint")&&this.paint()},t.prototype.paint=function(){this.emit("beforepaint"),this.get("canvas").draw(),this.emit("afterpaint")},t.prototype.getPointByClient=function(e,r){return this.get("viewController").getPointByClient(e,r)},t.prototype.getClientByPoint=function(e,r){return this.get("viewController").getClientByPoint(e,r)},t.prototype.getPointByCanvas=function(e,r){return this.get("viewController").getPointByCanvas(e,r)},t.prototype.getCanvasByPoint=function(e,r){return this.get("viewController").getCanvasByPoint(e,r)},t.prototype.getGraphCenterPoint=function(){var e=this.get("group").getCanvasBBox();return{x:(e.minX+e.maxX)/2,y:(e.minY+e.maxY)/2}},t.prototype.getViewPortCenterPoint=function(){return this.getPointByCanvas(this.get("width")/2,this.get("height")/2)},t.prototype.showItem=function(e,r){r===void 0&&(r=!0);var i=this.get("itemController").changeItemVisibility(e,!0);if(r&&this.get("enabledStack")){var a=i.getID(),s={},u={};switch(i.getType()){case"node":s.nodes=[{id:a,visible:!1}],u.nodes=[{id:a,visible:!0}];break;case"edge":s.nodes=[{id:a,visible:!1}],u.edges=[{id:a,visible:!0}];break;case"combo":s.nodes=[{id:a,visible:!1}],u.combos=[{id:a,visible:!0}]}this.pushStack("visible",{before:s,after:u})}},t.prototype.hideItem=function(e,r){r===void 0&&(r=!0);var i=this.get("itemController").changeItemVisibility(e,!1);if(r&&this.get("enabledStack")){var a=i.getID(),s={},u={};switch(i.getType()){case"node":s.nodes=[{id:a,visible:!0}],u.nodes=[{id:a,visible:!1}];break;case"edge":s.nodes=[{id:a,visible:!0}],u.edges=[{id:a,visible:!1}];break;case"combo":s.nodes=[{id:a,visible:!0}],u.combos=[{id:a,visible:!1}]}this.pushStack("visible",{before:s,after:u})}},t.prototype.refreshItem=function(e){this.get("itemController").refreshItem(e)},t.prototype.setAutoPaint=function(e){this.set("autoPaint",e),this.get("canvas").set("autoDraw",e)},t.prototype.remove=function(e,r){r===void 0&&(r=!0),this.removeItem(e,r)},t.prototype.removeItem=function(e,r){r===void 0&&(r=!0);var i=e;if(Object(p.isString)(e)&&(i=this.findById(e)),!i&&Object(p.isString)(e))console.warn("The item to be removed does not exist!");else if(i){var a="";if(i.getType&&(a=i.getType()),r&&this.get("enabledStack")){var s=Object(m.__assign)(Object(m.__assign)({},i.getModel()),{itemType:a}),u={};switch(a){case"node":u.nodes=[s],u.edges=[];for(var l=i.getEdges(),d=l.length-1;d>=0;d--)u.edges.push(Object(m.__assign)(Object(m.__assign)({},l[d].getModel()),{itemType:"edge"}));break;case"edge":u.edges=[s];break;case"combo":u.combos=[s]}this.pushStack("delete",{before:u,after:{}})}if(a==="node"&&i.getModel().comboId&&this.updateComboTree(i),this.get("itemController").removeItem(i),a==="combo"){var v=vt(this.get("comboTrees"));this.set("comboTrees",v)}}},t.prototype.addItem=function(e,r,i,a){i===void 0&&(i=!0),a===void 0&&(a=!0);var s=this.get("comboSorted");this.set("comboSorted",s&&!a);var u=this.get("itemController");if(!function(ve,de){if(ve==="node"||ve==="combo"){if(de.id&&!Object(p.isString)(de.id))return console.warn("G6 Warning Tips: missing 'id' property, or the 'id' %c"+de.id+"%c is not a string.","font-size: 20px; color: red;",""),!1}else if(!(ve!=="edge"||de.source&&de.target))return console.warn("G6 Warning Tips: missing 'source' or 'target' for the edge."),!1;return!0}(e,r))return!1;if(!r.id||!this.findById(r.id)){var l,d=this.get("comboTrees");if(d||(d=[]),e==="combo"){var v=this.get("itemMap"),k=!1;if(d.forEach(function(ve){k||we(ve,function(de){if(r.parentId===de.id){k=!0;var me=Object(m.__assign)({id:r.id,depth:de.depth+2},r);de.children?de.children.push(me):de.children=[me],r.depth=me.depth,l=u.addItem(e,r)}var Ie=v[de.id];return k&&Ie&&Ie.getType&&Ie.getType()==="combo"&&u.updateCombo(Ie,de.children),!0})}),!k){var T=Object(m.__assign)({id:r.id,depth:0},r);r.depth=T.depth,d.push(T),l=u.addItem(e,r)}this.set("comboTrees",d)}else if(e==="node"&&Object(p.isString)(r.comboId)&&d){var I;(I=this.findById(r.comboId))&&I.getType&&I.getType()!=="combo"&&console.warn("'"+r.comboId+"' is not a id of a combo in the graph, the node will be added without combo."),l=u.addItem(e,r);var j=this.get("itemMap"),F=!1,G=!1;(d||[]).forEach(function(ve){G||F||we(ve,function(de){if(de.id===r.id)return G=!0,!1;if(r.comboId===de.id&&!G){F=!0;var me=Object(p.clone)(r);me.itemType="node",de.children?de.children.push(me):de.children=[me],me.depth=de.depth+1}return F&&j[de.id].getType&&j[de.id].getType()==="combo"&&u.updateCombo(j[de.id],de.children),!0})})}else l=u.addItem(e,r);(e==="node"&&r.comboId||e==="combo"&&r.parentId)&&(I=this.findById(r.comboId||r.parentId))&&I.getType&&I.getType()==="combo"&&I.addChild(l);var V=this.get("combos");if(V&&V.length>0&&this.sortCombos(),this.autoPaint(),i&&this.get("enabledStack")){var q=Object(m.__assign)(Object(m.__assign)({},l.getModel()),{itemType:e}),$={};switch(e){case"node":$.nodes=[q];break;case"edge":$.edges=[q];break;case"combo":$.combos=[q]}this.pushStack("add",{before:{},after:$})}return l}console.warn("This item exists already. Be sure the id %c"+r.id+"%c is unique.","font-size: 20px; color: red;","")},t.prototype.add=function(e,r,i,a){return i===void 0&&(i=!0),a===void 0&&(a=!0),this.addItem(e,r,i,a)},t.prototype.updateItem=function(e,r,i){var a=this;i===void 0&&(i=!0);var s,u=this.get("itemController");s=Object(p.isString)(e)?this.findById(e):e;var l=Object(p.clone)(s.getModel()),d="";s.getType&&(d=s.getType());var v=Object(m.__spreadArray)([],s.getStates());if(d==="combo"&&Object(p.each)(v,function(j){return a.setItemState(s,j,!1)}),u.updateItem(s,r),d==="combo"&&Object(p.each)(v,function(j){return a.setItemState(s,j,!0)}),i&&this.get("enabledStack")){var k={nodes:[],edges:[],combos:[]},T={nodes:[],edges:[],combos:[]},I=Object(m.__assign)({id:l.id},r);switch(d){case"node":k.nodes.push(l),T.nodes.push(I);break;case"edge":k.edges.push(l),T.edges.push(I);break;case"combo":k.combos.push(l),T.combos.push(I)}d==="node"&&k.nodes.push(l),this.pushStack("update",{before:k,after:T})}},t.prototype.update=function(e,r,i){i===void 0&&(i=!0),this.updateItem(e,r,i)},t.prototype.setItemState=function(e,r,i){Object(p.isString)(e)&&(e=this.findById(e)),this.get("itemController").setItemState(e,r,i);var a=this.get("stateController");Object(p.isString)(i)?a.updateState(e,r+":"+i,!0):a.updateState(e,r,i)},t.prototype.priorityState=function(e,r){this.get("itemController").priorityState(e,r)},t.prototype.data=function(e){er(e),this.set("data",e)},t.prototype.render=function(){var e=this;this.set("comboSorted",!1);var r=this.get("data");if(this.get("enabledStack")&&this.clearStack(),!r)throw new Error("data must be defined first");var i=r.nodes,a=i===void 0?[]:i,s=r.edges,u=s===void 0?[]:s,l=r.combos,d=l===void 0?[]:l;if(this.clear(!0),this.emit("beforerender"),Object(p.each)(a,function(I){e.add("node",I,!1,!1)}),d&&d.length!==0){var v=lt(d,a);this.set("comboTrees",v),e.addCombos(d)}Object(p.each)(u,function(I){e.add("edge",I,!1,!1)});var k=e.get("animate");(e.get("fitView")||e.get("fitCenter"))&&e.set("animate",!1);var T=e.get("layoutController");if(T){if(T.layout(function(){e.get("fitView")?e.fitView():e.get("fitCenter")&&e.fitCenter(),e.autoPaint(),e.emit("afterrender"),(e.get("fitView")||e.get("fitCenter"))&&e.set("animate",k)}),this.destroyed)return}else e.get("fitView")&&e.fitView(),e.get("fitCenter")&&e.fitCenter(),e.emit("afterrender"),e.set("animate",k);this.get("groupByTypes")||(d&&d.length!==0?this.sortCombos():r.nodes&&r.edges&&r.nodes.length=0;T--)k[T].destroyed&&k.splice(T,1);d&&(i.addCombos(d),this.get("groupByTypes")||this.sortCombos()),this.diffItems("edge",l,e.edges),Object(p.each)(u,function(j,F){(!j.getType||j.getType()!=="node"&&j.getType()!=="combo")&&l.edges.indexOf(j)<0&&(delete u[F],i.remove(j,!1))}),this.set({nodes:l.nodes,edges:l.edges});var I=this.get("layoutController");return I&&(I.changeData(),i.get("animate")&&!I.getLayoutType()?i.positionsAnimate():i.autoPaint()),setTimeout(function(){a.set("localRefresh",s)},16),this},t.prototype.addCombos=function(e){var r=this.get("comboTrees");this.get("itemController").addCombos(r,e)},t.prototype.createCombo=function(e,r){var i=this;this.set("comboSorted",!1);var a,s="";if(e){if(Object(p.isString)(e))s=e,a={id:e};else{if(!(s=e.id))return void console.warn("Create combo failed. Please assign a unique string id for the adding combo.");a=e}var u=r.map(function(d){var v=i.findById(d),k=v.getModel(),T="";v.getType&&(T=v.getType());var I={id:v.getID(),itemType:T};return T==="combo"?(I.parentId=s,k.parentId=s):T==="node"&&(I.comboId=s,k.comboId=s),I});a.children=u,this.addItem("combo",a,!1),this.set("comboSorted",!1);var l=this.get("comboTrees");(l||[]).forEach(function(d){we(d,function(v){return v.id!==s||(v.itemType="combo",v.children=u,!1)})}),l&&this.sortCombos()}},t.prototype.uncombo=function(e){var r=this,i=e;if(Object(p.isString)(e)&&(i=this.findById(e)),!i||i.getType&&i.getType()!=="combo")console.warn("The item is not a combo!");else{var a=i.getModel().parentId,s=this.get("comboTrees");s||(s=[]);var u,l=this.get("itemMap"),d=i.get("id"),v=[],k=this.get("combos"),T=this.findById(a);if(s.forEach(function(j){u||we(j,function(F){if(F.id===d){u=F,i.getEdges().forEach(function(V){r.removeItem(V,!1)});var G=k.indexOf(i);k.splice(G,1),delete l[d],i.destroy()}return!a||!u||F.id!==a||(T.removeCombo(i),(G=(v=F.children).indexOf(u))!==-1&&v.splice(G,1),u.children.forEach(function(V){var q=r.findById(V.id),$=q.getModel();q.getType&&q.getType()==="combo"?(V.parentId=a,delete V.comboId,$.parentId=a,delete $.comboId):q.getType&&q.getType()==="node"&&(V.comboId=a,$.comboId=a),T.addChild(q),v.push(V)}),!1)})}),!a&&u){var I=s.indexOf(u);s.splice(I,1),u.children.forEach(function(j){j.parentId=void 0;var F=r.findById(j.id).getModel();delete F.parentId,delete F.comboId,j.itemType!=="node"&&s.push(j)})}}},t.prototype.updateCombos=function(){var e=this,r=this.get("comboTrees"),i=this.get("itemController"),a=this.get("itemMap");(r||[]).forEach(function(s){we(s,function(u){if(!u)return!0;var l=a[u.id];if(l&&l.getType&&l.getType()==="combo"){var d=Object(m.__spreadArray)([],l.getStates());Object(p.each)(d,function(v){return e.setItemState(l,v,!1)}),i.updateCombo(l,u.children),Object(p.each)(d,function(v){return e.setItemState(l,v,!0)})}return!0})}),this.sortCombos()},t.prototype.updateCombo=function(e){var r,i=this,a=e;if(Object(p.isString)(e)&&(a=this.findById(e)),!a||a.getType&&a.getType()!=="combo")console.warn("The item to be updated is not a combo!");else{r=a.get("id");var s=this.get("comboTrees"),u=this.get("itemController"),l=this.get("itemMap");(s||[]).forEach(function(d){we(d,function(v){if(!v)return!0;var k=l[v.id];if(r===v.id&&k&&k.getType&&k.getType()==="combo"){var T=Object(m.__spreadArray)([],k.getStates());Object(p.each)(T,function(I){k.getStateStyle(I)&&i.setItemState(k,I,!1)}),u.updateCombo(k,v.children),Object(p.each)(T,function(I){k.getStateStyle(I)&&i.setItemState(k,I,!0)}),r&&(r=v.parentId)}return!0})})}},t.prototype.updateComboTree=function(e,r,i){i===void 0&&(i=!0);var a;this.set("comboSorted",!1);var s,u=(a=Object(p.isString)(e)?this.findById(e):e).getModel(),l=u.comboId||u.parentId,d="";if(a.getType&&(d=a.getType()),r&&d==="combo"){var v,k=this.get("comboTrees"),T=!0;if((k||[]).forEach(function(V){v||Ft(V,function(q){if(!v)return q.id===a.getID()&&(v=q),!0})}),Ft(v,function(V){return V.id!==r||(T=!1,!1)}),!T)return void console.warn("Failed to update the combo tree! The parentId points to a descendant of the combo!")}if(i&&this.get("enabledStack")){var I={},j={};d==="combo"?(I.combos=[{id:u.id,parentId:u.parentId}],j.combos=[{id:u.id,parentId:r}]):d==="node"&&(I.nodes=[{id:u.id,parentId:u.comboId}],j.nodes=[{id:u.id,parentId:r}]),this.pushStack("updateComboTree",{before:I,after:j})}if(u.parentId||u.comboId){var F=this.findById(u.parentId||u.comboId);F&&F.removeChild(a)}d==="combo"?u.parentId=r:d==="node"&&(u.comboId=r),r&&(s=this.findById(r))&&s.addChild(a),l&&(s=this.findById(l))&&s.removeChild(a);var G=vt(this.get("comboTrees"),u.id,r);this.set("comboTrees",G),this.updateCombos()},t.prototype.save=function(){var e=[],r=[],i=[];return Object(p.each)(this.get("nodes"),function(a){e.push(a.getModel())}),Object(p.each)(this.get("edges"),function(a){r.push(a.getModel())}),Object(p.each)(this.get("combos"),function(a){i.push(a.getModel())}),{nodes:e,edges:r,combos:i}},t.prototype.changeSize=function(e,r){return this.get("viewController").changeSize(e,r),this},t.prototype.refresh=function(){if(this.emit("beforegraphrefresh"),this.get("animate"))this.positionsAnimate();else{var e=this.get("nodes"),r=this.get("edges"),i=this.get("edges");Object(p.each)(e,function(a){a.refresh()}),Object(p.each)(r,function(a){a.refresh()}),Object(p.each)(i,function(a){a.refresh()})}this.emit("aftergraphrefresh"),this.autoPaint()},t.prototype.getNodes=function(){return this.get("nodes")},t.prototype.getEdges=function(){return this.get("edges")},t.prototype.getCombos=function(){return this.get("combos")},t.prototype.getComboChildren=function(e){if(Object(p.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()==="combo"))return e.getChildren();console.warn("The combo does not exist!")},t.prototype.positionsAnimate=function(){var e=this;e.emit("beforeanimate");var r=e.get("animateCfg"),i=r.onFrame,a=e.getNodes(),s=a.map(function(u){var l=u.getModel();return{id:l.id,x:l.x,y:l.y}});e.isAnimating()&&e.stopAnimate(),e.get("canvas").animate(function(u){Object(p.each)(s,function(l){var d=e.findById(l.id);if(d&&!d.destroyed){var v=d.get("originAttrs"),k=d.get("model");if(!v){var T=d.getContainer().getMatrix();T||(T=[1,0,0,0,1,0,0,0,1]),v={x:T[6],y:T[7]},d.set("originAttrs",v)}if(i){var I=i(d,u,l,v);d.set("model",Object.assign(k,I))}else k.x=v.x+(l.x-v.x)*u,k.y=v.y+(l.y-v.y)*u}}),e.refreshPositions()},{duration:r.duration,easing:r.easing,callback:function(){Object(p.each)(a,function(u){u.set("originAttrs",null)}),r.callback&&r.callback(),e.emit("afteranimate"),e.animating=!1}})},t.prototype.refreshPositions=function(){this.emit("beforegraphrefreshposition");var e,r=this.get("nodes"),i=this.get("edges"),a=this.get("vedges"),s=this.get("combos"),u={};Object(p.each)(r,function(l){e=l.getModel();var d=l.get("originAttrs");if(!d||e.x!==d.x||e.y!==d.y){var v=l.updatePosition({x:e.x,y:e.y});u[e.id]=v,e.comboId&&(u[e.comboId]=u[e.comboId]||v)}}),s&&s.length!==0&&this.updateCombos(),Object(p.each)(i,function(l){var d=l.getSource().getModel(),v=l.getTarget();if(!Object(p.isPlainObject)(v)){var k=v.getModel();(u[d.id]||u[k.id]||l.getModel().isComboEdge)&&l.refresh()}}),Object(p.each)(a,function(l){l.refresh()}),this.emit("aftergraphrefreshposition"),this.autoPaint()},t.prototype.stopAnimate=function(){this.get("canvas").stopAnimate()},t.prototype.isAnimating=function(){return this.animating},t.prototype.getZoom=function(){var e=this.get("group").getMatrix();return e?e[0]:1},t.prototype.getCurrentMode=function(){return this.get("modeController").getMode()},t.prototype.setMode=function(e){return this.get("modeController").setMode(e),this},t.prototype.clear=function(e){var r;return e===void 0&&(e=!1),(r=this.get("canvas"))===null||r===void 0||r.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],groups:[],combos:[],comboTrees:[]}),e||this.emit("afterrender"),this},t.prototype.updateLayout=function(e,r,i){var a=this,s=this.get("layoutController");if(Object(p.isString)(e)&&(e={type:e}),r){var u=i;u||(u=r==="begin"?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),u=this.getPointByCanvas(u.x,u.y);var l=["force","gForce","fruchterman"];l.includes(e.type)||!e.type&&l.includes(s==null?void 0:s.layoutType)?e.center=[u.x,u.y]:this.once("afterlayout",function(k){var T=a.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];u.x=u.x*T[0]+T[6],u.y=u.y*T[0]+T[7];var I=a.getGroup().getCanvasBBox(),j=I.minX,F=I.maxX,G=I.minY,V={x:(j+F)/2,y:(G+I.maxY)/2};r==="begin"&&(V.x=j,V.y=G),a.translate(u.x-V.x,u.y-V.y)})}var d=this.get("layout"),v={};Object.assign(v,d,e),this.set("layout",v),s.isLayoutTypeSame(v)&&v.gpuEnabled===d.gpuEnabled?s.updateLayoutCfg(v):s.changeLayout(v)},t.prototype.destroyLayout=function(){this.get("layoutController").destroyLayout()},t.prototype.layout=function(){var e=this.get("layoutController"),r=this.get("layout");r&&e&&(r.workerEnabled?e.layout():e.layoutMethod?e.relayout(!0):e.layout())},t.prototype.collapseCombo=function(e){var r=this;if(Object(p.isString)(e)&&(e=this.findById(e)),e){this.emit("beforecollapseexpandcombo",{action:"expand",item:e});var i=e.getModel();this.get("itemController").collapseCombo(e),i.collapsed=!0;var a=this.getEdges().concat(this.get("vedges")),s=[],u=[],l=this.get("comboTrees"),d=!1;(l||[]).forEach(function(T){d||Ft(T,function(I){if(d&&I.depth<=i.depth)return!1;if(i.id===I.id&&(d=!0),d){var j=r.findById(I.id);j&&j.getType&&j.getType()==="combo"&&(s=s.concat(j.getNodes()),u=u.concat(j.getCombos()))}return!0})});var v={},k=[];a.forEach(function(T){if(!T.isVisible()||T.getModel().isVEdge){var I=T.getSource(),j=T.getTarget();if((s.includes(I)||u.includes(I))&&!s.includes(j)&&!u.includes(j)||I.getModel().id===i.id){if((q=T.getModel()).isVEdge)return void r.removeItem(T,!1);for(var F=j.getModel();!j.isVisible();){if(!(j=r.findById(F.parentId||F.comboId))||!F.parentId&&!F.comboId)return;F=j.getModel()}var G=F.id;if(v[i.id+"-"+G])return void(v[i.id+"-"+G]+=q.size||1);var V=r.addItem("vedge",{source:i.id,target:G,isVEdge:!0},!1);v[i.id+"-"+G]=q.size||1,k.push(V)}else if(!s.includes(I)&&!u.includes(I)&&(s.includes(j)||u.includes(j))||j.getModel().id===i.id){var q;if((q=T.getModel()).isVEdge)return void r.removeItem(T,!1);for(var $=I.getModel();!I.isVisible();){if(!(I=r.findById($.parentId||$.comboId))||!$.parentId&&!$.comboId)return;$=I.getModel()}var ve=$.id;if(v[ve+"-"+i.id])return void(v[ve+"-"+i.id]+=q.size||1);V=r.addItem("vedge",{target:i.id,source:ve,isVEdge:!0},!1),v[ve+"-"+i.id]=q.size||1,k.push(V)}}}),k.forEach(function(T){var I=T.getModel();r.updateItem(T,{size:v[I.source+"-"+I.target]},!1)}),this.emit("aftercollapseexpandcombo",{action:"collapse",item:e})}else console.warn("The combo to be collapsed does not exist!")},t.prototype.expandCombo=function(e){var r=this;if(Object(p.isString)(e)&&(e=this.findById(e)),!e||e.getType&&e.getType()!=="combo")console.warn("The combo to be collapsed does not exist!");else{this.emit("beforecollapseexpandcombo",{action:"expand",item:e});var i=e.getModel();this.get("itemController").expandCombo(e),i.collapsed=!1;var a=this.getEdges().concat(this.get("vedges")),s=[],u=[],l=this.get("comboTrees"),d=!1;(l||[]).forEach(function(T){d||Ft(T,function(I){if(d&&I.depth<=i.depth)return!1;if(i.id===I.id&&(d=!0),d){var j=r.findById(I.id);j&&j.getType&&j.getType()==="combo"&&(s=s.concat(j.getNodes()),u=u.concat(j.getCombos()))}return!0})});var v={},k={};a.forEach(function(T){if(!T.isVisible()||T.getModel().isVEdge){var I=T.getSource(),j=T.getTarget(),F=I.get("id"),G=j.get("id");if((s.includes(I)||u.includes(I))&&!s.includes(j)&&!u.includes(j)||F===i.id){if(T.getModel().isVEdge)return void r.removeItem(T,!1);for(var V=j.getModel();!j.isVisible();){if(!(j=r.findById(V.comboId||V.parentId))||!V.parentId&&!V.comboId)return;V=j.getModel()}G=V.id;for(var q=I.getModel();!I.isVisible();){if(!(I=r.findById(q.comboId||q.parentId))||!q.parentId&&!q.comboId)return;if(q.comboId===i.id||q.parentId===i.id)break;q=I.getModel()}if(F=q.id,G){if(v[ve=F+"-"+G])return v[ve]+=T.getModel().size||1,void r.updateItem(k[ve],{size:v[ve]},!1);var $=r.addItem("vedge",{source:F,target:G,isVEdge:!0},!1);v[ve]=T.getModel().size||1,k[ve]=$}}else if(!s.includes(I)&&!u.includes(I)&&(s.includes(j)||u.includes(j))||G===i.id){if(T.getModel().isVEdge)return void r.removeItem(T,!1);for(q=I.getModel();!I.isVisible();){if(!(I=r.findById(q.comboId||q.parentId))||!q.parentId&&!q.comboId)return;q=I.getModel()}for(F=q.id,V=j.getModel();!j.isVisible();){if(!(j=r.findById(V.comboId||V.parentId))||!V.parentId&&!V.comboId)return;if(V.comboId===i.id||V.parentId===i.id)break;V=j.getModel()}if(G=V.id,F){var ve;if(v[ve=F+"-"+G])return v[ve]+=T.getModel().size||1,void r.updateItem(k[ve],{size:v[ve]},!1);$=r.addItem("vedge",{target:G,source:F,isVEdge:!0},!1),v[ve]=T.getModel().size||1,k[ve]=$}}else(s.includes(I)||u.includes(I))&&(s.includes(j)||u.includes(j))&&I.isVisible()&&j.isVisible()&&T.show()}}),this.emit("aftercollapseexpandcombo",{action:"expand",item:e})}},t.prototype.collapseExpandCombo=function(e){if(Object(p.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()==="combo")){for(var r=e.getModel(),i=this.findById(r.parentId);i;){var a=i.getModel();if(a.collapsed)return console.warn("Fail to expand the combo since it's ancestor combo is collapsed."),void(i=void 0);i=this.findById(a.parentId)}r.collapsed?this.expandCombo(e):this.collapseCombo(e),this.updateCombo(e)}},t.prototype.sortCombos=function(){var e=this;if(!this.get("comboSorted")){this.set("comboSorted",!0);var r=[],i={};(this.get("comboTrees")||[]).forEach(function(a){Ft(a,function(s){return r[s.depth]?r[s.depth].push(s.id):r[s.depth]=[s.id],i[s.id]=s.depth,!0})}),(this.getEdges().concat(this.get("vedges"))||[]).forEach(function(a){var s=a.getModel(),u=i[s.source]||0,l=i[s.target]||0,d=Math.max(u,l);r[d]?r[d].push(s.id):r[d]=[s.id]}),r.forEach(function(a){if(a&&a.length)for(var s=a.length-1;s>=0;s--){var u=e.findById(a[s]);u&&u.toFront()}})}},t.prototype.getNeighbors=function(e,r){var i=e;return Object(p.isString)(e)&&(i=this.findById(e)),i.getNeighbors(r)},t.prototype.getNodeDegree=function(e,r,i){r===void 0&&(r=void 0),i===void 0&&(i=!1);var a=e;Object(p.isString)(e)&&(a=this.findById(e));var s=this.get("degrees");s&&!i||(s=W(this.save()),this.set("degrees",s));var u=s[a.getID()],l=0;if(!u)return 0;switch(r){case"in":l=u.inDegree;break;case"out":l=u.outDegree;break;case"all":l=u;break;default:l=u.degree}return l},t.prototype.getUndoStack=function(){return this.undoStack},t.prototype.getRedoStack=function(){return this.redoStack},t.prototype.getStackData=function(){return this.get("enabledStack")?{undoStack:this.undoStack.toArray(),redoStack:this.redoStack.toArray()}:null},t.prototype.clearStack=function(){this.get("enabledStack")&&(this.undoStack.clear(),this.redoStack.clear())},t.prototype.pushStack=function(e,r,i){if(e===void 0&&(e="update"),i===void 0&&(i="undo"),this.get("enabledStack")){var a=r?Object(p.clone)(r):{before:{},after:Object(p.clone)(this.save())};i==="redo"?this.redoStack.push({action:e,data:a}):this.undoStack.push({action:e,data:a}),this.emit("stackchange",{undoStack:this.undoStack,redoStack:this.redoStack})}else console.warn("\u8BF7\u5148\u542F\u7528 undo & redo \u529F\u80FD\uFF0C\u5728\u5B9E\u4F8B\u5316 Graph \u65F6\u5019\u914D\u7F6E enabledStack: true !")},t.prototype.getAdjMatrix=function(e,r){e===void 0&&(e=!0),r===void 0&&(r=this.get("directed"));var i=this.get("adjMatrix");return i&&e||(i=z(this.save(),r),this.set("adjMatrix",i)),i},t.prototype.getShortestPathMatrix=function(e,r){e===void 0&&(e=!0),r===void 0&&(r=this.get("directed"));var i=this.get("adjMatrix"),a=this.get("shortestPathMatrix");return i&&e||(i=z(this.save(),r),this.set("adjMatrix",i)),a&&e||(a=ie(this.save(),r),this.set("shortestPathMatrix",a)),a},t.prototype.on=function(e,r,i){return n.prototype.on.call(this,e,r,i)},t.prototype.destroy=function(){this.clear(),this.clearStack(),this.get("itemController").destroy(),this.get("modeController").destroy(),this.get("viewController").destroy(),this.get("stateController").destroy(),this.get("canvas").destroy(),this.cfg=null,this.destroyed=!0,this.redoStack=null,this.undoStack=null},t.prototype.createHull=function(e){if(e.members&&!(e.members.length<1)){var r=this.get("hullGroup"),i=this.get("hullMap");if(i||(i={},this.set("hullMap",i)),r&&!r.get("destroyed")||((r=this.get("group").addGroup({id:"hullGroup"})).toBack(),this.set("hullGroup",r)),i[e.id])return console.warn("Existed hull id."),i[e.id];var a=r.addGroup({id:e.id+"-container"}),s=new Xe(this,Object(m.__assign)(Object(m.__assign)({},e),{group:a}));return i[s.id]=s,s}console.warn("Create hull failed! The members is empty.")},t.prototype.getHulls=function(){return this.get("hullMap")},t.prototype.getHullById=function(e){return this.get("hullMap")[e]},t.prototype.removeHull=function(e){var r;r=Object(p.isString)(e)?this.getHullById(e):e,delete this.get("hullMap")[r.id],r.destroy()},t.prototype.removeHulls=function(){var e=this.getHulls();e&&Object.keys(e).length&&(Object.keys(e).forEach(function(r){e[r].destroy()}),this.set("hullMap",{}))},t}(P.a);function Ve(n){return(Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}var ot=L.a.transform,pt=["startArrow","endArrow"],Et={lineWidth:1,stroke:void 0,fill:void 0,lineAppendWidth:1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,x:0,y:0,r:10,width:20,height:20,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},mt={edge:{lineWidth:1,stroke:"#000",lineDash:void 0,startArrow:!1,endArrow:!1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},node:Et,combo:Et},xt={options:{},itemType:"",type:"",getCustomConfig:function(n){return{}},getOptions:function(n,t){return t==="move"||t==="bbox"?{}:Object(p.deepMix)({labelCfg:{style:{fontFamily:typeof window!="undefined"&&window.getComputedStyle&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif"}},descriptionCfg:{style:{fontFamily:typeof window!="undefined"&&window.getComputedStyle&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif"}}},this.options,this.getCustomConfig(n)||{},n)},draw:function(n,t){var e=this.drawShape(n,t);return e.set("className",this.itemType+"-shape"),n.label&&this.drawLabel(n,t).set("className",this.itemType+"-label"),e},afterDraw:function(n,t,e){},drawShape:function(n,t){return null},drawLabel:function(n,t){var e=this.getOptions(n).labelCfg||{},r=this.getLabelStyle(n,e,t),i=r.rotate;delete r.rotate;var a=t.addShape("text",{attrs:r,draggable:!0,className:"text-shape",name:"text-shape"});if(i){var s=a.getBBox(),u=a.getMatrix();if(u||(u=[1,0,0,0,1,0,0,0,1]),r.rotateCenter)switch(r.rotateCenter){case"center":u=ot(u,[["t",-s.width/2,-s.height/2],["r",i],["t",s.width/2,s.height/2]]);break;case"lefttop":u=ot(u,[["t",-r.x,-r.y],["r",i],["t",r.x,r.y]]);break;case"leftcenter":u=ot(u,[["t",-r.x,-r.y-s.height/2],["r",i],["t",r.x,r.y+s.height/2]]);break;default:u=ot(u,[["t",-s.width/2,-s.height/2],["r",i],["t",s.width/2,s.height/2]])}else u=ot(u,[["t",-r.x,-r.y-s.height/2],["r",i],["t",r.x,r.y+s.height/2]]);a.setMatrix(u)}if(r.background){var l=this.drawLabelBg(n,t,a),d=this.itemType+"-label-bg";l.set("classname",d),a.toFront()}return a},drawLabelBg:function(n,t,e){var r=this.options.labelCfg,i=Object(p.mix)({},r,n.labelCfg),a=this.getLabelBgStyleByPosition(e,n,i,t);return t.addShape("rect",{name:"text-bg-shape",attrs:a})},getLabelStyleByPosition:function(n,t,e){return{text:n.label}},getLabelBgStyleByPosition:function(n,t,e,r){return{}},getLabelStyle:function(n,t,e){var r=this.getLabelStyleByPosition(n,t,e),i=this.itemType+"Label",a=ir[i]?ir[i].style:null;return Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},a),r),t.style)},getShapeStyle:function(n){return n.style},update:function(n,t,e){this.updateShapeStyle(n,t,e),this.updateLabel(n,t,e)},updateShapeStyle:function(n,t,e){var r=t.getContainer(),i=t.getKeyShape(),a=Object(p.mix)({},i.attr(),n.style),s=function(l){var d,v=a[l];if(Object(p.isPlainObject)(v)){var k=r.find(function(T){return T.get("name")===l});k&&k.attr(v)}else i.attr(((d={})[l]=v,d))};for(var u in a)s(u)},updateLabel:function(n,t,e){var r=t.getContainer(),i=this.getOptions({},e).labelCfg,a=this.itemType+"-label",s=r.find(function(ve){return ve.get("className")===a}),u=this.itemType+"-label-bg",l=r.find(function(ve){return ve.get("classname")===u});if(n.label||n.label==="")if(s){var d={};t.getModel&&(d=t.getModel().labelCfg);var v=Object(p.deepMix)({},i,d,n.labelCfg),k=this.getLabelStyleByPosition(n,v,r),T=n.labelCfg?n.labelCfg.style:void 0,I=v.style&&v.style.background,j=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},s.attr()),k),T),F=j.rotate;if(delete j.rotate,F){var G=[1,0,0,0,1,0,0,0,1];G=ot(G,[["t",-j.x,-j.y],["r",F],["t",j.x,j.y]]),s.resetMatrix(),s.attr(Object(m.__assign)(Object(m.__assign)({},j),{matrix:G}))}else s.resetMatrix(),s.attr(j);if(l)if(j.background){var V=this.getLabelBgStyleByPosition(s,n,v,r),q=Object(m.__assign)(Object(m.__assign)({},V),I);if(l.resetMatrix(),F){var $=[1,0,0,0,1,0,0,0,1];$=ot($,[["t",-q.x,-q.y],["r",F],["t",q.x,q.y]]),q.matrix=$}l.attr(q)}else r.removeChild(l);else j.background&&((l=this.drawLabelBg(n,r,s)).set("classname",u),s.toFront())}else this.drawLabel(n,r).set("className",a)},afterUpdate:function(n,t){},setState:function(n,t,e){var r,i,a=e.get("keyShape");if(a&&!a.destroyed){var s=e.getType(),u=Object(p.isBoolean)(t)?n:n+":"+t,l=this.getStateStyle(u,e),d=e.getStateStyle(u);if(d||l){var v=Object(p.mix)({},d||l),k=e.getContainer(),T={x:1,y:1,cx:1,cy:1};if(s==="combo"&&(T.r=1,T.width=1,T.height=1),t){var I=function(st){var jt,gt=v[st];if(Object(p.isPlainObject)(gt)&&!pt.includes(st)){var Pt=k.find(function(Rt){return Rt.get("name")===st});Pt&&Pt.attr(gt)}else a.attr(((jt={})[st]=gt,jt))};for(var j in v)I(j)}else{var F=Wt(e.getCurrentStatesStyle()),G=e.getModel(),V=Object(p.mix)({},G.style,Wt(e.getOriginStyle())),q=a.get("name"),$=a.attr(),ve={};Object.keys($).forEach(function(st){if(st!=="img"){var jt=$[st];jt&&Ve(jt)==="object"?ve[st]=Object(p.clone)(jt):ve[st]=jt}});var de={},me=function(st){var jt=v[st];if(Object(p.isPlainObject)(jt)&&!pt.includes(st)){var gt=k.find(function(Zt){return Zt.get("name")===st});if(gt){var Pt=Wt(gt.attr());Object(p.each)(jt,function(Zt,Ct){if(st===q&&ve[Ct]&&!T[Ct]){delete ve[Ct];var Vt=V[st][Ct]||mt[s][Ct];a.attr(Ct,Vt)}else if(Pt[Ct]||Pt[Ct]===0){delete Pt[Ct];var Dt=V[st][Ct]||mt[s][Ct];gt.attr(Ct,Dt)}}),de[st]=Pt}}else if(ve[st]&&!T[st]){delete ve[st];var Rt=V[st]||(V[q]?V[q][st]:void 0)||mt[s][st];a.attr(st,Rt)}};for(var Ie in v)me(Ie);for(var j in q?de[q]=ve:Object(p.mix)(de,ve),F)if(!T[j]){var Ee=F[j];Object(p.isPlainObject)(Ee)&&!pt.includes(j)||(q?(Object(p.mix)(V[q],((i={})[j]=Ee,i)),delete V[j]):Object(p.mix)(V,((r={})[j]=Ee,r)),delete F[j])}var Pe={};Object(p.deepMix)(Pe,V,de,F);var Ze=!1,it=function(st){var jt,gt,Pt=Pe[st];if(Object(p.isPlainObject)(Pt)&&!pt.includes(st)){var Rt=k.find(function(Ct){return Ct.get("name")===st});Rt&&(Rt.get("type")==="text"&&(delete Pt.x,delete Pt.y,delete Pt.matrix),st===q&&(s==="combo"&&(delete Pt.r,delete Pt.width,delete Pt.height),Ze=!0),Rt.attr(Pt))}else if(!Ze){var Zt=Pt||mt[s][st];s==="combo"?q||a.attr(((jt={})[st]=Zt,jt)):a.attr(((gt={})[st]=Zt,gt))}};for(var ct in Pe)it(ct)}}}},getStateStyle:function(n,t){var e=t.getModel(),r=t.getType(),i=this.getOptions(e),a=i.stateStyles,s=i.style,u=s===void 0?{}:s,l=e.stateStyles?e.stateStyles[n]:a&&a[n];return r==="combo"?Object(p.clone)(l):Object(p.mix)({},u,l)},getControlPoints:function(n){return n.controlPoints},getAnchorPoints:function(n){var t,e;return(n==null?void 0:n.anchorPoints)||((t=this.getCustomConfig(n))===null||t===void 0?void 0:t.anchorPoints)||((e=this.options)===null||e===void 0?void 0:e.anchorPoints)}},Ot={itemType:"node",shapeType:"single-node",labelPosition:"center",offset:ir.nodeLabel.offset,getSize:function(n){var t=n.size||this.getOptions({}).size||ir.defaultNode.size;return Object(p.isArray)(t)&&t.length===1&&(t=[t[0],t[0]]),Object(p.isArray)(t)||(t=[t,t]),t},getLabelStyleByPosition:function(n,t){var e=t.position||this.labelPosition;if(e==="center")return{x:0,y:0,text:n.label};var r=t.offset;Object(p.isNil)(r)&&(r=this.offset);var i,a=this.getSize(n),s=a[0],u=a[1];switch(e){case"top":i={x:0,y:0-u/2-r,textBaseline:"bottom"};break;case"bottom":i={x:0,y:u/2+r,textBaseline:"top"};break;case"left":i={x:0-s/2-r,y:0,textAlign:"right"};break;default:i={x:s/2+r,y:0,textAlign:"left"}}return i.text=n.label,i},getLabelBgStyleByPosition:function(n,t,e,r){if(!n)return{};var i=n.getBBox(),a=e.style&&e.style.background;if(!a)return{};var s,u=Vr(a.padding),l=i.width+u[1]+u[3],d=i.height+u[0]+u[2],v=e.offset;return Object(p.isNil)(v)&&(v=this.offset),s={x:i.minX-u[3],y:i.minY-u[0]},s=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},s),a),{width:l,height:d})},drawShape:function(n,t){var e=this.shapeType,r=this.getShapeStyle(n);return t.addShape(e,{attrs:r,draggable:!0,name:"node-shape"})},updateLinkPoints:function(n,t){var e,r=this.getOptions(n).linkPoints,i=t.find(function(me){return me.get("className")==="link-point-left"}),a=t.find(function(me){return me.get("className")==="link-point-right"}),s=t.find(function(me){return me.get("className")==="link-point-top"}),u=t.find(function(me){return me.get("className")==="link-point-bottom"});i&&(e=i.attr()),a&&!e&&(e=a.attr()),s&&!e&&(e=s.attr()),u&&!e&&(e=u.attr()),e||(e=r);var l=Object(p.mix)({},e,n.linkPoints),d=l.fill,v=l.stroke,k=l.lineWidth,T=l.size/2;T||(T=l.r);var I=n.linkPoints?n.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},j=I.left,F=I.right,G=I.top,V=I.bottom,q=this.getSize(n),$=q[0],ve=q[1],de={r:T,fill:d,stroke:v,lineWidth:k};i?j||j===void 0?i.attr(Object(m.__assign)(Object(m.__assign)({},de),{x:-$/2,y:0})):i.remove():j&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},de),{x:-$/2,y:0}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),a?(F||F===void 0||a.remove(),a.attr(Object(m.__assign)(Object(m.__assign)({},de),{x:$/2,y:0}))):F&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},de),{x:$/2,y:0}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),s?(G||G===void 0||s.remove(),s.attr(Object(m.__assign)(Object(m.__assign)({},de),{x:0,y:-ve/2}))):G&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},de),{x:0,y:-ve/2}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u?V||V===void 0?u.attr(Object(m.__assign)(Object(m.__assign)({},de),{x:0,y:ve/2})):u.remove():V&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},de),{x:0,y:ve/2}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},updateShape:function(n,t,e,r){t.get("keyShape").attr(Object(m.__assign)({},e)),this.updateLabel(n,t),r&&this.updateIcon(n,t)},updateIcon:function(n,t){var e=this,r=t.getContainer(),i=this.getOptions(n).icon,a=(n.icon?n.icon:{show:void 0}).show,s=r.find(function(k){return k.get("className")===e.type+"-icon"});if(s)if(a||a===void 0){var u=Object(p.mix)({},s.attr(),i),l=u.width,d=u.height;s.attr(Object(m.__assign)(Object(m.__assign)({},u),{x:-l/2,y:-d/2}))}else s.remove();else if(a){l=i.width,d=i.height,r.addShape("image",{attrs:Object(m.__assign)(Object(m.__assign)({},i),{x:-l/2,y:-d/2}),className:this.type+"-icon",name:this.type+"-icon"});var v=r.find(function(k){return k.get("className")==="node-label"});v&&v.toFront()}}},yt=Object(m.__assign)(Object(m.__assign)({},xt),Ot);nn.registerNode("single-node",yt);var qe={itemType:"edge",labelPosition:"center",refX:0,refY:0,labelAutoRotate:!1,options:{size:ir.defaultEdge.size,style:{x:0,y:0,stroke:ir.defaultEdge.style.stroke,lineAppendWidth:ir.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:ir.edgeLabel.style.fill,fontSize:ir.edgeLabel.style.fontSize}},stateStyles:Object(m.__assign)({},ir.edgeStateStyles)},getPath:function(n){var t=[];return Object(p.each)(n,function(e,r){r===0?t.push(["M",e.x,e.y]):t.push(["L",e.x,e.y])}),t},getShapeStyle:function(n){var t=this.options.style,e={stroke:n.color},r=Object(p.mix)({},t,e,n.style),i=n.size||ir.defaultEdge.size,a=(n=this.getPathPoints(n)).startPoint,s=n.endPoint,u=this.getControlPoints(n),l=[a];u&&(l=l.concat(u)),l.push(s);var d=this.getPath(l);return Object(p.mix)({},ir.defaultEdge.style,{stroke:ir.defaultEdge.color,lineWidth:i,path:d},r)},updateShapeStyle:function(n,t,e){var r,i=t.getContainer(),a={stroke:n.color},s=((r=t.getKeyShape)===null||r===void 0?void 0:r.call(t))||i.find(function($){return $.get("className")==="edge-shape"}),u=n.size,l=(n=this.getPathPoints(n)).startPoint,d=n.endPoint,v=this.getControlPoints(n),k=[l];v&&(k=k.concat(v)),k.push(d);var T=s.attr(),I=Object(p.mix)({},a,T,n.style),j=n.sourceNode,F=n.targetNode,G={radius:I.radius};v||(G={source:j,target:F,offset:I.offset,radius:I.radius});var V=this.getPath(k,G),q={};e==="move"?q={path:V}:(T.endArrow&&I.endArrow===!1&&(n.style.endArrow={path:""}),T.startArrow&&I.startArrow===!1&&(n.style.startArrow={path:""}),q=Object(p.mix)(a,T,{lineWidth:u,path:V},n.style)),s&&s.attr(q)},getLabelStyleByPosition:function(n,t,e){var r,i=t.position||this.labelPosition,a={},s=e&&e.find(function(k){return k.get("className")==="edge-shape"});r=i==="start"?0:i==="end"?1:.5;var u,l=t.refX||this.refX,d=t.refY||this.refY;if(n.startPoint.x===n.endPoint.x&&n.startPoint.y===n.endPoint.y)return a.x=n.startPoint.x+l,a.y=n.startPoint.y+d,a.text=n.label,a;u=Object(p.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate;var v=ut(s,r,l,d,u);return a.x=v.x,a.y=v.y,a.rotate=v.rotate,a.textAlign=this._getTextAlign(i,v.angle),a.text=n.label,a},getLabelBgStyleByPosition:function(n,t,e,r){if(!n)return{};var i=n.getBBox(),a=e.style&&e.style.background;if(!a)return{};var s,u=a.padding,l=i.width+u[1]+u[3],d=i.height+u[0]+u[2],v=e.position||this.labelPosition,k=Object(m.__assign)(Object(m.__assign)({},a),{width:l,height:d,x:i.minX-u[2],y:i.minY-u[0],rotate:0});s=Object(p.isNil)(e.autoRotate)?this.labelAutoRotate:e.autoRotate;var T,I=r&&r.find(function(q){return q.get("className")==="edge-shape"});T=v==="start"?0:v==="end"?1:.5;var j=e.refX||this.refX,F=e.refY||this.refY;if(t.startPoint.x===t.endPoint.x&&t.startPoint.y===t.endPoint.y)return k.x=t.startPoint.x+j-l/2,k.y=t.startPoint.y+F-d/2,k;var G=ut(I,T,j-l/2,F+d/2,s),V=G.angle;return V>.5*Math.PI&&V<1.5*Math.PI&&(G=ut(I,T,j+l/2,F+d/2,s)),s&&(k.x=G.x,k.y=G.y),k.rotate=G.rotate,k},_getTextAlign:function(n,t){var e="center";return t?(t%=2*Math.PI,n!=="center"&&(e=t>=0&&t<=Math.PI/2||t>=1.5*Math.PI&&t<2*Math.PI?n:function(r){var i=r;return r==="start"?i="end":r==="end"&&(i="start"),i}(n)),e):n},getControlPoints:function(n){return n.controlPoints},getPathPoints:function(n){return n},drawShape:function(n,t){var e=this.getShapeStyle(n);return t.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:e})},drawLabel:function(n,t){var e,r=this.options.labelCfg;e=typeof window!="undefined"&&window.getComputedStyle!==void 0&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif";var i=Object(p.deepMix)({fontFamily:e},r,n.labelCfg),a=this.getLabelStyle(n,i,t),s=a.rotate;delete a.rotate;var u=t.addShape("text",{attrs:a,name:"text-shape"});if(s&&u.rotateAtStart(s),a.background){var l=this.drawLabelBg(n,t,u),d=this.itemType+"-label-bg";l.set("classname",d),u.toFront()}return u},drawLabelBg:function(n,t,e){var r=this.options.labelCfg,i=Object(p.deepMix)({},r,n.labelCfg),a=this.getLabelStyle(n,i,t).rotate,s=this.getLabelBgStyleByPosition(e,n,i,t);delete s.rotate;var u=t.addShape("rect",{name:"text-bg-shape",attrs:s});return a&&u.rotateAtStart(a),u}},at=Object(m.__assign)(Object(m.__assign)({},xt),qe);nn.registerEdge("single-edge",at),nn.registerEdge("line",{getControlPoints:function(){}},"single-edge"),nn.registerEdge("spline",{getPath:function(n){return so(n)}},"single-edge"),nn.registerEdge("arc",{curveOffset:20,clockwise:1,getControlPoints:function(n){var t,e,r=n.startPoint,i=n.endPoint,a=(r.x+i.x)/2,s=(r.y+i.y)/2;if(n.controlPoints!==void 0){if(e=n.controlPoints[0],t=Rn(r,e,i),r.x<=i.x&&r.y>i.y?this.clockwise=t.x>e.x?0:1:r.x<=i.x&&r.ye.x?1:0:r.x>i.x&&r.y<=i.y?this.clockwise=t.y=0;return e?i?2*Math.PI-r:r:i?r:2*Math.PI-r}function qp(n,t,e){return e?(n[0]=t[1],n[1]=-1*t[0]):(n[0]=-1*t[1],n[1]=t[0]),n}var Kp=o(83),La=o.n(Kp),Zp=o(93),ys=o.n(Zp),$p=[{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 yc(n,t,e){var r;return(r=Math.round(n.h)>=60&&Math.round(n.h)<=240?e?Math.round(n.h)-2*t:Math.round(n.h)+2*t:e?Math.round(n.h)+2*t:Math.round(n.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function mc(n,t,e){return n.h===0&&n.s===0?n.s:((r=e?n.s-.16*t:t===4?n.s+.16:n.s+.05*t)>1&&(r=1),e&&t===5&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function bc(n,t,e){var r;return(r=e?n.v+.05*t:n.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function ms(n){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],r=ys()(n),i=5;i>0;i-=1){var a=r.toHsv(),s=ys()({h:yc(a,i,!0),s:mc(a,i,!0),v:bc(a,i,!0)}).toHexString();e.push(s)}e.push(r.toHexString());for(var u=1;u<=4;u+=1){var l=r.toHsv(),d=ys()({h:yc(l,u),s:mc(l,u),v:bc(l,u)}).toHexString();e.push(d)}return t.theme==="dark"?$p.map(function(v){var k=v.index,T=v.opacity;return ys.a.mix(t.backgroundColor||"#141414",e[k],100*T).toHexString()}):e}var su={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"},Ri={},uu={};Object.keys(su).forEach(function(n){Ri[n]=ms(su[n]),Ri[n].primary=Ri[n][5],uu[n]=ms(su[n],{theme:"dark",backgroundColor:"#141414"}),uu[n].primary=uu[n][5]}),Ri.red,Ri.volcano,Ri.gold,Ri.orange,Ri.yellow,Ri.lime,Ri.green,Ri.cyan,Ri.blue,Ri.geekblue,Ri.purple,Ri.magenta,Ri.grey;var Ba,cu,xc,lu,gi=function(n,t,e){var r=La()(n),i=La()(t);return La()([(1-e)*r.red()+e*i.red(),(1-e)*r.green()+e*i.green(),(1-e)*r.blue()+e*i.blue()]).rgb()},fu=function(n,t,e,r){return t===void 0&&(t="#fff"),e===void 0&&(e="default"),r===void 0&&(r="rgb(150, 150, 150)"),e==="default"?function(i,a,s){a===void 0&&(a="#fff"),s===void 0&&(s="rgb(150, 150, 150)");var u=gi(a,i,.05).rgb().toString(),l=gi(a,i,.1).rgb().toString(),d=gi(a,i,.2).rgb().toString(),v=gi(a,i,.4).rgb().toString(),k=gi(a,s,.02).rgb().toString(),T=gi(a,s,.05).rgb().toString(),I=gi(a,s,.1).rgb().toString(),j=gi(a,s,.2).rgb().toString(),F=gi(a,s,.3).rgb().toString(),B=ms(i,{theme:"default",backgroundColor:a}),U=La()(i).hex().toLowerCase(),H=B.indexOf(U),Q=i;return H!==-1&&(Q=B[H+1]),{mainStroke:i,mainFill:l,activeStroke:i,activeFill:u,inactiveStroke:v,inactiveFill:u,selectedStroke:i,selectedFill:a,highlightStroke:Q,highlightFill:d,disableStroke:F,disableFill:T,edgeMainStroke:F,edgeActiveStroke:i,edgeInactiveStroke:j,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:I,comboMainStroke:F,comboMainFill:k,comboActiveStroke:i,comboActiveFill:u,comboInactiveStroke:F,comboInactiveFill:k,comboSelectedStroke:i,comboSelectedFill:k,comboHighlightStroke:Q,comboHighlightFill:k,comboDisableStroke:j,comboDisableFill:T}}(n,t,"rgb(150, 150, 150)"):function(i,a,s){a===void 0&&(a="#fff"),s===void 0&&(s="#777");var u=gi(a,i,.2).rgb().toString(),l=gi(a,i,.3).rgb().toString(),d=gi(a,i,.6).rgb().toString(),v=gi(a,i,.8).rgb().toString(),k=gi(a,s,.2).rgb().toString(),T=gi(a,s,.25).rgb().toString(),I=gi(a,s,.3).rgb().toString(),j=gi(a,s,.4).rgb().toString(),F=gi(a,s,.5).rgb().toString(),B=ms(i,{theme:"dark",backgroundColor:a}),U=La()(i).hex().toLowerCase(),H=B.indexOf(U),Q=i;return H!==-1&&(Q=B[H+1]),{mainStroke:v,mainFill:u,activeStroke:i,activeFill:l,inactiveStroke:v,inactiveFill:u,selectedStroke:i,selectedFill:u,highlightStroke:i,highlightFill:d,disableStroke:F,disableFill:T,edgeMainStroke:s,edgeActiveStroke:i,edgeInactiveStroke:s,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:I,comboMainStroke:j,comboMainFill:T,comboActiveStroke:i,comboActiveFill:k,comboInactiveStroke:j,comboInactiveFill:T,comboSelectedStroke:i,comboSelectedFill:k,comboHighlightStroke:Q,comboHighlightFill:T,comboDisableStroke:j,comboDisableFill:k}}(n,t,"#777")},Qp=function(n,t,e,r){t===void 0&&(t="#fff"),e===void 0&&(e="default"),r===void 0&&(r="rgb(150, 150, 150)");var i=[];return n.forEach(function(a){i.push(fu(a,t,e,r))}),i},on=fu("rgb(95, 149, 255)","rgb(255, 255, 255)"),Xo={version:"0.3.5",rootContainerClassName:"root-container",nodeContainerClassName:"node-container",edgeContainerClassName:"edge-container",comboContainerClassName:"combo-container",delegateContainerClassName:"delegate-container",defaultLoopPosition:"top",nodeLabel:{style:{fill:"#000",fontSize:12,textAlign:"center",textBaseline:"middle"},offset:4},defaultNode:{type:"circle",style:{lineWidth:1,stroke:on.mainStroke,fill:on.mainFill},size:20,color:on.mainStroke,linkPoints:{size:8,lineWidth:1,fill:on.activeFill,stroke:on.activeStroke}},nodeStateStyles:{active:{fill:on.activeFill,stroke:on.activeStroke,lineWidth:2,shadowColor:on.mainStroke,shadowBlur:10},selected:{fill:on.selectedFill,stroke:on.selectedStroke,lineWidth:4,shadowColor:on.selectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{fill:on.highlightFill,stroke:on.highlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{fill:on.inactiveFill,stroke:on.inactiveStroke,lineWidth:1},disable:{fill:on.disableFill,stroke:on.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:"rgb(0, 0, 0)",textAlign:"center",textBaseline:"middle",fontSize:12}},defaultEdge:{type:"line",size:1,style:{stroke:on.edgeMainStroke,lineAppendWidth:2},color:on.edgeMainStroke},edgeStateStyles:{active:{stroke:on.edgeActiveStroke,lineWidth:1},selected:{stroke:on.edgeSelectedStroke,lineWidth:2,shadowColor:on.edgeSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:on.edgeHighlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{stroke:on.edgeInactiveStroke,lineWidth:1},disable:{stroke:on.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:"rgb(0, 0, 0)",textBaseline:"middle",fontSize:12},refY:10,refX:10},defaultCombo:{type:"circle",style:{fill:on.comboMainFill,lineWidth:1,stroke:on.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:on.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:on.comboActiveStroke,lineWidth:1,fill:on.comboActiveFill},selected:{stroke:on.comboSelectedStroke,lineWidth:2,fill:on.comboSelectedFill,shadowColor:on.comboSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:on.comboHighlightStroke,lineWidth:2,fill:on.comboHighlightFill,"text-shape":{fontWeight:500}},inactive:{stroke:on.comboInactiveStroke,fill:on.comboInactiveFill,lineWidth:1},disable:{stroke:on.comboDisableStroke,fill:on.comboDisableFill,lineWidth:1}},delegateStyle:{fill:"#F3F9FF",fillOpacity:.5,stroke:"#1890FF",strokeOpacity:.9,lineDash:[5,5]},textWaterMarkerConfig:{width:150,height:100,compatible:!1,text:{x:0,y:60,lineHeight:20,rotate:20,fontSize:14,fontFamily:"Microsoft YaHei",fill:"rgba(0, 0, 0, 0.1)",baseline:"Middle"}},imageWaterMarkerConfig:{width:150,height:130,compatible:!1,image:{x:0,y:0,width:30,height:20,rotate:0}},waterMarkerImage:"https://gw.alipayobjects.com/os/s/prod/antv/assets/image/logo-with-text-73b8a.svg"};function Ga(n,t,e){if(n){if(typeof n.addEventListener=="function")return n.addEventListener(t,e,!1),{remove:function(){n.removeEventListener(t,e,!1)}};if(typeof n.attachEvent=="function")return n.attachEvent("on"+t,e),{remove:function(){n.detachEvent("on"+t,e)}}}}function ei(n){Ba||(Ba=document.createElement("table"),cu=document.createElement("tr"),xc=/^\s*<(\w+|!)[^>]*>/,lu={tr:document.createElement("tbody"),tbody:Ba,thead:Ba,tfoot:Ba,td:cu,th:cu,"*":document.createElement("div")});var t=xc.test(n)&&RegExp.$1;t&&t in lu||(t="*");var e=lu[t];n=n.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+n;var r=e.childNodes[0];return e.removeChild(r),r}function xn(n,t){if(n)for(var e in t)t.hasOwnProperty(e)&&(n.style[e]=t[e]);return n}var Jp=mr.cloneEvent,eg=mr.isViewportChanged,tg=function(n){function t(e){var r=n.call(this,e)||this;return r.extendEvents=[],r.dragging=!1,r.preItem=null,r.graph=e,r.destroyed=!1,r.initEvents(),r}return Object(m.__extends)(t,n),t.prototype.initEvents=function(){var e=this.graph,r=this.extendEvents,i=r===void 0?[]:r,a=e.get("canvas"),s=a.get("el"),u=Object(p.wrapBehavior)(this,"onCanvasEvents"),l=Object(p.wrapBehavior)(this,"onExtendEvents"),d=Object(p.wrapBehavior)(this,"onWheelEvent");a.off("*").on("*",u),this.canvasHandler=u,i.push(Ga(s,"DOMMouseScroll",d)),i.push(Ga(s,"mousewheel",d)),typeof window!="undefined"&&(i.push(Ga(window,"keydown",l)),i.push(Ga(window,"keyup",l)),i.push(Ga(window,"focus",l)))},t.getItemRoot=function(e){for(;e&&!e.get("item");)e=e.get("parent");return e},t.prototype.onCanvasEvents=function(e){var r=this.graph,i=r.get("canvas"),a=e.target,s=e.type;e.canvasX=e.x,e.canvasY=e.y;var u={x:e.canvasX,y:e.canvasY},l=r.get("group").getMatrix();if(l||(l=[1,0,0,0,1,0,0,0,1]),eg(l)&&(u=r.getPointByClient(e.clientX,e.clientY)),e.x=u.x,e.y=u.y,e.currentTarget=r,a===i)return s!=="mousemove"&&s!=="mouseleave"||this.handleMouseMove(e,"canvas"),e.target=i,e.item=null,r.emit(s,e),void r.emit("canvas:"+s,e);var d=t.getItemRoot(a);if(d){var v=d.get("item");if(!v.destroyed){var k=v.getType();if(e.target=a,e.item=v,e.canvasX===e.x&&e.canvasY===e.y){var T=r.getCanvasByPoint(e.x,e.y);e.canvasX=T.x,e.canvasY=T.y}r.emit(s,e),e.name&&!e.name.includes(":")?r.emit(k+":"+s,e):r.emit(e.name,e),s==="dragstart"&&(this.dragging=!0),s==="dragend"&&(this.dragging=!1),s==="mousemove"&&this.handleMouseMove(e,k)}}else r.emit(s,e)},t.prototype.onExtendEvents=function(e){this.graph.emit(e.type,e)},t.prototype.onWheelEvent=function(e){Object(p.isNil)(e.wheelDelta)&&(e.wheelDelta=-e.detail),this.graph.emit("wheel",e)},t.prototype.handleMouseMove=function(e,r){var i=this.graph,a=this.preItem,s=i.get("canvas"),u=e.target===s?null:e.item;e=Jp(e),a&&a!==u&&!a.destroyed&&(e.item=a,this.emitCustomEvent(a.getType(),"mouseleave",e),this.dragging&&this.emitCustomEvent(a.getType(),"dragleave",e)),u&&a!==u&&(e.item=u,this.emitCustomEvent(r,"mouseenter",e),this.dragging&&this.emitCustomEvent(r,"dragenter",e)),this.preItem=u},t.prototype.emitCustomEvent=function(e,r,i){i.type=r,this.graph.emit(e+":"+r,i)},t.prototype.destroy=function(){var e=this.graph,r=this.canvasHandler,i=this.extendEvents;e.get("canvas").off("*",r),Object(p.each)(i,function(a){a.remove()}),this.dragging=!1,this.preItem=null,this.extendEvents.length=0,this.canvasHandler=null,this.destroyed=!0},t}(an);function wc(n,t){for(var e=0;et[s][a]+t[a][u]&&(t[s][u]=t[s][a]+t[a][u]);return t},Sc=function(n,t){var e=n.nodes,r=n.edges,i=[],a={};if(!e)throw new Error("invalid nodes data!");return e&&e.forEach(function(s,u){a[s.id]=u,i.push([])}),r&&r.forEach(function(s){var u=fn(s,"source"),l=fn(s,"target"),d=a[u],v=a[l];i[d][v]=1,t||(i[v][d]=1)}),i},bs=function(n,t){typeof t=="function"&&function e(r,i){if(r&&r.children){for(var a=r.children.length-1;a>=0;a--)if(!e(r.children[a],i))return}return!!i(r)}(n,t)},Yo=function(n){return typeof n=="function"};function Ec(n){return(Ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Oc(n,t){return(Oc=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(n,t)}function ag(n){var t=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,r=pu(n);if(t){var i=pu(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return sg(this,e)}}function sg(n,t){return!t||Ec(t)!=="object"&&typeof t!="function"?Mc(n):t}function Mc(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function pu(n){return(pu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(n)}var Ua=new Map,Li=function(n,t){if(Ua.get(n)&&console.warn("The layout with the name ".concat(n," exists already, it will be overridden")),Co(t)){var e=function(r){(function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),u&&Oc(s,u)})(a,r);var i=ag(a);function a(s){var u;(function(k,T){if(!(k instanceof T))throw new TypeError("Cannot call a class as a function")})(this,a);var l=Mc(u=i.call(this)),d={},v=l.getDefaultCfg();return Object.assign(d,v,t,s),Object.keys(d).forEach(function(k){var T=d[k];l[k]=T}),u}return a}(Xi);Ua.set(n,e)}else Ua.set(n,t)},ug=function(n){return Ua.has(n)?Ua.get(n):null};function kc(n){return(kc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Ac(n,t){for(var e=0;es.cells){var B=s.small(),U=s.large();(B-1)*U>=s.cells?s.small(B-1):(U-1)*B>=s.cells&&s.large(U-1)}else for(;s.cols*s.rows=s.cells?s.large(Q+1):s.small(H+1)}s.cellWidth=s.width/s.cols,s.cellHeight=s.height/s.rows,s.condense&&(s.cellWidth=0,s.cellHeight=0),s.preventOverlap&&k.forEach(function(Ee){var je,Ze;Ee.x&&Ee.y||(Ee.x=0,Ee.y=0),ji(Ee.size)?(je=Ee.size[0],Ze=Ee.size[1]):ur(Ee.size)?(je=Ee.size,Ze=Ee.size):Co(Ee.size)&&(je=Ee.size.width,Ze=Ee.size.height),je!==void 0&&Ze!==void 0||(ji(s.nodeSize)?(je=s.nodeSize[0],Ze=s.nodeSize[1]):ur(s.nodeSize)?(je=s.nodeSize,Ze=s.nodeSize):(je=30,Ze=30));var nt=s.preventOverlapPadding,ct=je+nt,st=Ze+nt;s.cellWidth=Math.max(s.cellWidth,ct),s.cellHeight=Math.max(s.cellHeight,st)}),s.cellUsed={},s.row=0,s.col=0,s.id2manPos={};for(var ve=0;ve=s&&(this.col=0,this.row++)}},{key:"getPos",value:function(s){var u,l,d=this.begin,v=this.cellWidth,k=this.cellHeight,T=this.id2manPos[s.id];if(T)u=T.col*v+v/2+d[0],l=T.row*k+k/2+d[1];else{for(;this.used(this.row,this.col);)this.moveToNextCell();u=this.col*v+v/2+d[0],l=this.row*k+k/2+d[1],this.use(this.row,this.col),this.moveToNextCell()}s.x=u,s.y=l}},{key:"getType",value:function(){return"grid"}}])&&Ac(t.prototype,e),r&&Ac(t,r),a}(Xi);function Tc(n){return(Tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Ic(n,t){for(var e=0;eT[1]?T[0]:T[1])+I(B)}:function(B){return T+I(B)}:function(B){return B.size?ji(B.size)?(B.size[0]>B.size[1]?B.size[0]:B.size[1])+I(B):Co(B.size)?(B.size.width>B.size.height?B.size.width:B.size.height)+I(B):B.size+I(B):10+I(B)}}s.nodeSize=k;var F=s.edges;s.degrees=za(u.length,s.nodeIdxMap,F),s.getMass||(s.getMass=function(B){return s.degrees[s.nodeIdxMap[B.id]]||1}),s.run()}else s.onLayoutEnd&&s.onLayoutEnd()}},{key:"run",value:function(){var s=this,u=s.nodes,l=s.edges,d=s.maxIteration;if(typeof window!="undefined"){var v=0;this.timeInterval=window.setInterval(function(){var k=[],T=[];if(u){u.forEach(function(B,U){k[2*U]=0,k[2*U+1]=0,T[2*U]=0,T[2*U+1]=0}),s.calRepulsive(k,u),l&&s.calAttractive(k,l),s.calGravity(k,u);var I=Math.max(.02,s.interval-.002*v);s.updateVelocity(k,T,I,u);var j=[];u.forEach(function(B){j.push({x:B.x,y:B.y})}),s.updatePosition(T,I,u),s.tick&&s.tick();var F=0;u.forEach(function(B,U){var H=B.x-j[U].x,Q=B.y-j[U].y;F+=Math.sqrt(H*H+Q*Q)}),(F/=u.length)=d&&(s.onLayoutEnd&&s.onLayoutEnd(),window.clearInterval(s.timeInterval))}},0)}}},{key:"calRepulsive",value:function(s,u){var l=this.getMass,d=this.nodeStrength,v=this.factor,k=this.coulombDisScale,T=this.preventOverlap,I=this.nodeSize;u.forEach(function(j,F){var B=l?l(j):1;u.forEach(function(U,H){if(!(F>=H)){var Q=j.x-U.x,ve=j.y-U.y,pe=Math.sqrt(Q*Q+ve*ve)+.01,me=(pe+.1)*k,Te=Q/pe,Ee=ve/pe,je=(d(j)+d(U))/2*v/(me*me),Ze=l?l(U):1;if(s[2*F]+=Te*je,s[2*F+1]+=Ee*je,s[2*H]-=Te*je,s[2*H+1]-=Ee*je,T&&pe<(I(j)+I(U))/2){var nt=(d(j)+d(U))/2/(pe*pe);s[2*F]+=Te*nt/B,s[2*F+1]+=Ee*nt/B,s[2*H]-=Te*nt/Ze,s[2*H+1]-=Ee*nt/Ze}}})})}},{key:"calAttractive",value:function(s,u){var l=this.nodeMap,d=this.nodeIdxMap,v=this.linkDistance,k=this.edgeStrength,T=this.getMass;u.forEach(function(I,j){var F=fn(I,"source"),B=fn(I,"target"),U=l[F],H=l[B],Q=H.x-U.x,ve=H.y-U.y,pe=Math.sqrt(Q*Q+ve*ve)+.01,me=Q/pe,Te=ve/pe,Ee=((v(I)||1)-pe)*k(I),je=d[F],Ze=d[B],nt=T?T(U):1,ct=T?T(H):1;s[2*je]-=me*Ee/nt,s[2*je+1]-=Te*Ee/nt,s[2*Ze]+=me*Ee/ct,s[2*Ze+1]+=Te*Ee/ct})}},{key:"calGravity",value:function(s,u){for(var l=this.center,d=this.gravity,v=this.degrees,k=u.length,T=0;Tv.maxSpeed){var U=v.maxSpeed/B;j*=U,F*=U}u[2*I]=j,u[2*I+1]=F})}},{key:"updatePosition",value:function(s,u,l){l.forEach(function(d,v){if(ur(d.fx)&&ur(d.fy))return d.x=d.fx,void(d.y=d.fy);var k=s[2*v]*u,T=s[2*v+1]*u;d.x+=k,d.y+=T})}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0}},{key:"getType",value:function(){return"gForce"}}])&&Nc(t.prototype,e),r&&Nc(t,r),a}(Xi);function Rc(n,t,e,r){if(isNaN(t)||isNaN(e))return n;var i,a,s,u,l,d,v,k,T,I=n._root,j={data:r},F=n._x0,B=n._y0,U=n._x1,H=n._y1;if(!I)return n._root=j,n;for(;I.length;)if((d=t>=(a=(F+U)/2))?F=a:U=a,(v=e>=(s=(B+H)/2))?B=s:H=s,i=I,!(I=I[k=v<<1|d]))return i[k]=j,n;if(u=+n._x.call(null,I.data),l=+n._y.call(null,I.data),t===u&&e===l)return j.next=I,i?i[k]=j:n._root=j,n;do i=i?i[k]=new Array(4):n._root=new Array(4),(d=t>=(a=(F+U)/2))?F=a:U=a,(v=e>=(s=(B+H)/2))?B=s:H=s;while((k=v<<1|d)==(T=(l>=s)<<1|u>=a));return i[T]=I,i[k]=j,n}var Yi=function(n,t,e,r,i){this.node=n,this.x0=t,this.y0=e,this.x1=r,this.y1=i};function mg(n){return n[0]}function bg(n){return n[1]}function bu(n,t,e){var r=new xu(t==null?mg:t,e==null?bg:e,NaN,NaN,NaN,NaN);return n==null?r:r.addAll(n)}function xu(n,t,e,r,i,a){this._x=n,this._y=t,this._x0=e,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Lc(n){for(var t={data:n.data},e=t;n=n.next;)e=e.next={data:n.data};return t}var Hi=bu.prototype=xu.prototype;Hi.copy=function(){var n,t,e=new xu(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Lc(r),e;for(n=[{source:r,target:e._root=new Array(4)}];r=n.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?n.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=Lc(t));return e},Hi.add=function(n){var t=+this._x.call(null,n),e=+this._y.call(null,n);return Rc(this.cover(t,e),t,e,n)},Hi.addAll=function(n){var t,e,r,i,a=n.length,s=new Array(a),u=new Array(a),l=1/0,d=1/0,v=-1/0,k=-1/0;for(e=0;ev&&(v=r),ik&&(k=i));if(l>v||d>k)return this;for(this.cover(l,d).cover(v,k),e=0;en||n>=i||r>t||t>=a;)switch(u=(tT||(a=l.y0)>I||(s=l.x1)=U)<<1|n>=B)&&(l=j[j.length-1],j[j.length-1]=j[j.length-1-d],j[j.length-1-d]=l)}else{var H=n-+this._x.call(null,F.data),Q=t-+this._y.call(null,F.data),ve=H*H+Q*Q;if(ve=(u=(j+B)/2))?j=u:B=u,(v=s>=(l=(F+U)/2))?F=l:U=l,t=I,!(I=I[k=v<<1|d]))return this;if(!I.length)break;(t[k+1&3]||t[k+2&3]||t[k+3&3])&&(e=t,T=k)}for(;I.data!==n;)if(r=I,!(I=I.next))return this;return(i=I.next)&&delete I.next,r?(i?r.next=i:delete r.next,this):t?(i?t[k]=i:delete t[k],(I=t[0]||t[1]||t[2]||t[3])&&I===(t[3]||t[2]||t[1]||t[0])&&!I.length&&(e?e[T]=I:this._root=I),this):(this._root=i,this)},Hi.removeAll=function(n){for(var t=0,e=n.length;t=0&&(r=e.slice(i+1),e=e.slice(0,i)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:r}})}function _g(n,t){for(var e,r=0,i=n.length;r0)for(var e,r,i=new Array(e),a=0;a=0&&t._call.call(null,n),t=t._next;--va})()}finally{va=0,function(){for(var n,t,e=ws,r=1/0;e;)e._call?(r>e._time&&(r=e._time),n=e,e=e._next):(t=e._next,e._next=null,e=n?n._next=t:ws=t);Va=n,Su(r)}(),aa=0}}function Og(){var n=Ya.now(),t=n-_s;t>1e3&&(Ss-=t,_s=n)}function Su(n){va||(Wa&&(Wa=clearTimeout(Wa)),n-aa>24?(n<1/0&&(Wa=setTimeout(Vc,n-Ya.now()-Ss)),Xa&&(Xa=clearInterval(Xa))):(Xa||(_s=Ya.now(),Xa=setInterval(Og,1e3)),va=1,Fc(Vc)))}_u.prototype=Uc.prototype={constructor:_u,restart:function(n,t,e){if(typeof n!="function")throw new TypeError("callback is not a function");e=(e==null?zc():+e)+(t==null?0:+t),this._next||Va===this||(Va?Va._next=this:ws=this,Va=this),this._call=n,this._time=e,Su()},stop:function(){this._call&&(this._call=null,this._time=1/0,Su())}};function Mg(n){return n.x}function kg(n){return n.y}var Ag=Math.PI*(3-Math.sqrt(5)),Wc=function(n){var t,e,r=1,i=.001,a=1-Math.pow(i,1/300),s=0,u=.6,l=new Map,d=Uc(T),v=Sg("tick","end"),k=(e=1,function(){return(e=(1664525*e+1013904223)%4294967296)/4294967296});function T(){I(),v.call("tick",t),r1?(U==null?l.delete(B):l.set(B,F(U)),t):l.get(B)},find:function(B,U,H){var Q,ve,pe,me,Te,Ee=0,je=n.length;for(H==null?H=1/0:H*=H,Ee=0;Ee1?(v.on(B,U),t):v.on(B)}}},Xc=function(){var n,t,e,r,i,a=qi(-30),s=1,u=1/0,l=.81;function d(I){var j,F=n.length,B=bu(n,Mg,kg).visitAfter(k);for(r=I,j=0;j=u)){(I.data!==t||I.next)&&(U===0&&(ve+=(U=Ho(e))*U),H===0&&(ve+=(H=Ho(e))*H),veT+Ze||meI+Ze||Tek.index){var nt=T-Ee.x-Ee.vx,ct=I-Ee.y-Ee.vy,st=nt*nt+ct*ct;std.r&&(d.r=d[v].r)}function l(){if(t){var d,v,k=t.length;for(e=new Array(k),d=0;dn.length)&&(t=n.length);for(var e=0,r=new Array(t);e-1||(d[k]=l[k])}),d}),this.ticking=!1}},{key:"execute",value:function(s){var u=this,l=u.nodes,d=u.edges;if(!u.ticking){var v=u.forceSimulation,k=u.alphaMin,T=u.alphaDecay,I=u.alpha;if(v){if(s){if(u.clustering&&u.clusterForce&&(u.clusterForce.nodes(l),u.clusterForce.links(d)),v.nodes(l),d&&u.edgeForce)u.edgeForce.links(d);else if(d&&!u.edgeForce){var j=Ou().id(function(ve){return ve.id}).links(d);u.edgeStrength&&j.strength(u.edgeStrength),u.linkDistance&&j.distance(u.linkDistance),u.edgeForce=j,v.force("link",j)}}u.preventOverlap&&u.overlapProcess(v),v.alpha(I).restart(),this.ticking=!0}else try{var F=Xc();if(u.nodeStrength&&F.strength(u.nodeStrength),v=Wc().nodes(l),u.clustering){var B=Pg();B.centerX(u.center[0]).centerY(u.center[1]).template("force").strength(u.clusterFociStrength),d&&B.links(d),l&&B.nodes(l),B.forceLinkDistance(u.clusterEdgeDistance).forceLinkStrength(u.clusterEdgeStrength).forceCharge(u.clusterNodeStrength).forceNodeSize(u.clusterNodeSize),u.clusterForce=B,v.force("group",B)}if(v.force("center",function(ve,pe){var me,Te=1;function Ee(){var je,Ze,nt=me.length,ct=0,st=0;for(je=0;jed[1]?d[0]:d[1])/2;u=function(j){return T+l(j)}}else if(ur(d)){var I=d/2;u=function(j){return I+l(j)}}else u=function(){return 10};else u=function(j){return j.size?ji(j.size)?(j.size[0]>j.size[1]?j.size[0]:j.size[1])/2+l(j):Co(j.size)?(j.size.width>j.size.height?j.size.width:j.size.height)/2+l(j):j.size/2+l(j):10+l(j)};s.force("collisionForce",Hc(u).strength(k))}},{key:"updateCfg",value:function(s){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.forceSimulation=null,Object.assign(this,s)}},{key:"destroy",value:function(){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.nodes=null,this.edges=null,this.destroyed=!0}}])&&$c(t.prototype,e),r&&$c(t,r),a}(Xi);function Bg(){return typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope}function Jc(n){return(Jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function el(n,t){for(var e=0;er?1:0}var Wg=function(n){(function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),u&&tl(s,u)})(a,n);var t,e,r,i=Gg(a);function a(s){var u;return function(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}(this,a),(u=i.call(this)).radius=null,u.startRadius=null,u.endRadius=null,u.startAngle=0,u.endAngle=2*Math.PI,u.clockwise=!0,u.divisions=1,u.ordering=null,u.angleRatio=1,u.nodes=[],u.edges=[],u.nodeMap={},u.degrees=[],u.width=300,u.height=300,u.updateCfg(s),u}return t=a,(e=[{key:"getDefaultCfg",value:function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}}},{key:"execute",value:function(){var s=this.nodes,u=this.edges,l=s.length;if(l!==0){this.width||typeof window=="undefined"||(this.width=window.innerWidth),this.height||typeof window=="undefined"||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var d=this.center;if(l===1)return s[0].x=d[0],s[0].y=d[1],void(this.onLayoutEnd&&this.onLayoutEnd());var v=this.radius,k=this.startRadius,T=this.endRadius,I=this.divisions,j=this.startAngle,F=this.endAngle,B=(F-j)/l,U={};s.forEach(function(nt,ct){U[nt.id]=ct}),this.nodeMap=U;var H=za(s.length,U,u);this.degrees=H,v||k||T?!k&&T?k=T:k&&!T&&(T=k):v=this.height>this.width?this.width/2:this.height/2;var Q=B*this.angleRatio,ve=this.ordering,pe=[];pe=ve==="topology"?this.topologyOrdering():ve==="topology-directed"?this.topologyOrdering(!0):ve==="degree"?this.degreeOrdering():s;for(var me=this.clockwise,Te=Math.ceil(l/I),Ee=0;Ee0&&arguments[0]!==void 0&&arguments[0],u=this,l=u.degrees,d=u.edges,v=u.nodes,k=og(v),T=u.nodeMap,I=[k[0]],j=[v[0]],F=[],B=v.length;F[0]=!0,zg(k,d,T,s);var U=0;return k.forEach(function(H,Q){if(Q!==0)if(Q!==B-1&&l[Q]===l[Q+1]&&!Ug(I[U],H,d)||F[Q]){for(var ve=I[U].children,pe=!1,me=0;me1&&arguments[1]!==void 0?arguments[1]:{};if(!Os(n))throw new TypeError("input must be an array");if(n.length===0)throw new TypeError("input must not be empty");var e=t.fromIndex,r=e===void 0?0:e,i=t.toIndex,a=i===void 0?n.length:i;if(r<0||r>=n.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(a<=r||a>n.length||!Number.isInteger(a))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var s=n[r],u=r+1;us&&(s=n[u]);return s},$g=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Os(n))throw new TypeError("input must be an array");if(n.length===0)throw new TypeError("input must not be empty");var e=t.fromIndex,r=e===void 0?0:e,i=t.toIndex,a=i===void 0?n.length:i;if(r<0||r>=n.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(a<=r||a>n.length||!Number.isInteger(a))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var s=n[r],u=r+1;u1&&arguments[1]!==void 0?arguments[1]:{};if(!Os(n))throw new TypeError("input must be an array");if(n.length===0)throw new TypeError("input must not be empty");if(e.output!==void 0){if(!Os(e.output))throw new TypeError("output option must be an array if specified");t=e.output}else t=new Array(n.length);var r=$g(n),i=Zg(n);if(r===i)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var a=e.min,s=a===void 0?e.autoMinMax?r:0:a,u=e.max,l=u===void 0?e.autoMinMax?i:1:u;if(s>=l)throw new RangeError("min option must be smaller than max option");for(var d=(l-s)/(i-r),v=0;v1&&arguments[1]!==void 0?arguments[1]:{},e=t.maxRows,r=e===void 0?15:e,i=t.maxColumns,a=i===void 0?10:i,s=t.maxNumSize,u=s===void 0?8:s;return"".concat(n.constructor.name,` { + Z`}},Xt={collapse:function(n,t,e){return[["M",n-e,t],["a",e,e,0,1,0,2*e,0],["a",e,e,0,1,0,2*-e,0],["M",n-e+4,t],["L",n+e-4,t]]},expand:function(n,t,e){return[["M",n-e,t],["a",e,e,0,1,0,2*e,0],["a",e,e,0,1,0,2*-e,0],["M",n-e+4,t],["L",n-e+2*e-4,t],["M",n-e+e,t-e+4],["L",n,t+e-4]]},upTriangle:function(n,t,e){var r=e*Math.cos(Math.PI/6),i=e*Math.sin(Math.PI/6);return[["M",n-r,t+i],["L",n+r,t+i],["L",n,t-e],["Z"]]},downTriangle:function(n,t,e){var r=e*Math.cos(Math.PI/6),i=e*Math.sin(Math.PI/6);return[["M",n-r,t-i],["L",n+r,t-i],["L",n,t+e],["Z"]]}},fr=nn,Or=["#5F95FF","#61DDAA","#65789B","#F6BD16","#7262FD","#78D3F8","#9661BC","#F6903D","#008685","#F08BB4"],kr=L.a.transform,br=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)(Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},_),M),x),c),O),{transform:kr,mat3:L.b}),ur=function(){function n(t){this.graph=t,this.layoutCfg=t.get("layout")||{},this.layoutType=this.getLayoutType(),this.layoutMethods=[],this.initLayout()}return n.prototype.initLayout=function(){},n.prototype.getLayoutType=function(){return this.getLayoutCfgType(this.layoutCfg)},n.prototype.getLayoutCfgType=function(t){var e=t.type;if(e)return e;var r=t.pipes;return Array.isArray(r)?r.map(function(i){return(i==null?void 0:i.type)||""}):null},n.prototype.isLayoutTypeSame=function(t){var e=this.getLayoutCfgType(t);return Array.isArray(this.layoutType)?this.layoutType.every(function(r,i){return r===e[i]}):(t==null?void 0:t.type)===this.layoutType},n.prototype.refreshLayout=function(){var t=this.graph;t&&(t.get("animate")?t.positionsAnimate():t.refreshPositions())},n.prototype.changeLayout=function(t){this.layoutCfg=t,this.destoryLayoutMethods(),this.layout()},n.prototype.changeData=function(){this.destoryLayoutMethods(),this.layout()},n.prototype.destoryLayoutMethods=function(){var t=this.layoutMethods;t==null||t.forEach(function(e){e.destroy()}),this.layoutMethods=[]},n.prototype.destroyLayout=function(){var t=this.graph;this.destoryLayoutMethods(),t.set("layout",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0},n.prototype.setDataFromGraph=function(){for(var t=[],e=[],r=[],i=[],a=[],s=[],u=this.graph.getNodes(),l=this.graph.getEdges(),d=this.graph.getCombos(),v=u.length,k=0;k=0;return e?i?2*Math.PI-r:r:i?r:2*Math.PI-r}function qp(n,t,e){return e?(n[0]=t[1],n[1]=-1*t[0]):(n[0]=-1*t[1],n[1]=t[0]),n}var Kp=o(83),La=o.n(Kp),Zp=o(93),ys=o.n(Zp),$p=[{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 yc(n,t,e){var r;return(r=Math.round(n.h)>=60&&Math.round(n.h)<=240?e?Math.round(n.h)-2*t:Math.round(n.h)+2*t:e?Math.round(n.h)+2*t:Math.round(n.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function mc(n,t,e){return n.h===0&&n.s===0?n.s:((r=e?n.s-.16*t:t===4?n.s+.16:n.s+.05*t)>1&&(r=1),e&&t===5&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function bc(n,t,e){var r;return(r=e?n.v+.05*t:n.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function ms(n){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],r=ys()(n),i=5;i>0;i-=1){var a=r.toHsv(),s=ys()({h:yc(a,i,!0),s:mc(a,i,!0),v:bc(a,i,!0)}).toHexString();e.push(s)}e.push(r.toHexString());for(var u=1;u<=4;u+=1){var l=r.toHsv(),d=ys()({h:yc(l,u),s:mc(l,u),v:bc(l,u)}).toHexString();e.push(d)}return t.theme==="dark"?$p.map(function(v){var k=v.index,T=v.opacity;return ys.a.mix(t.backgroundColor||"#141414",e[k],100*T).toHexString()}):e}var su={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"},Ri={},uu={};Object.keys(su).forEach(function(n){Ri[n]=ms(su[n]),Ri[n].primary=Ri[n][5],uu[n]=ms(su[n],{theme:"dark",backgroundColor:"#141414"}),uu[n].primary=uu[n][5]}),Ri.red,Ri.volcano,Ri.gold,Ri.orange,Ri.yellow,Ri.lime,Ri.green,Ri.cyan,Ri.blue,Ri.geekblue,Ri.purple,Ri.magenta,Ri.grey;var Ba,cu,xc,lu,gi=function(n,t,e){var r=La()(n),i=La()(t);return La()([(1-e)*r.red()+e*i.red(),(1-e)*r.green()+e*i.green(),(1-e)*r.blue()+e*i.blue()]).rgb()},fu=function(n,t,e,r){return t===void 0&&(t="#fff"),e===void 0&&(e="default"),r===void 0&&(r="rgb(150, 150, 150)"),e==="default"?function(i,a,s){a===void 0&&(a="#fff"),s===void 0&&(s="rgb(150, 150, 150)");var u=gi(a,i,.05).rgb().toString(),l=gi(a,i,.1).rgb().toString(),d=gi(a,i,.2).rgb().toString(),v=gi(a,i,.4).rgb().toString(),k=gi(a,s,.02).rgb().toString(),T=gi(a,s,.05).rgb().toString(),I=gi(a,s,.1).rgb().toString(),j=gi(a,s,.2).rgb().toString(),F=gi(a,s,.3).rgb().toString(),G=ms(i,{theme:"default",backgroundColor:a}),V=La()(i).hex().toLowerCase(),q=G.indexOf(V),$=i;return q!==-1&&($=G[q+1]),{mainStroke:i,mainFill:l,activeStroke:i,activeFill:u,inactiveStroke:v,inactiveFill:u,selectedStroke:i,selectedFill:a,highlightStroke:$,highlightFill:d,disableStroke:F,disableFill:T,edgeMainStroke:F,edgeActiveStroke:i,edgeInactiveStroke:j,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:I,comboMainStroke:F,comboMainFill:k,comboActiveStroke:i,comboActiveFill:u,comboInactiveStroke:F,comboInactiveFill:k,comboSelectedStroke:i,comboSelectedFill:k,comboHighlightStroke:$,comboHighlightFill:k,comboDisableStroke:j,comboDisableFill:T}}(n,t,"rgb(150, 150, 150)"):function(i,a,s){a===void 0&&(a="#fff"),s===void 0&&(s="#777");var u=gi(a,i,.2).rgb().toString(),l=gi(a,i,.3).rgb().toString(),d=gi(a,i,.6).rgb().toString(),v=gi(a,i,.8).rgb().toString(),k=gi(a,s,.2).rgb().toString(),T=gi(a,s,.25).rgb().toString(),I=gi(a,s,.3).rgb().toString(),j=gi(a,s,.4).rgb().toString(),F=gi(a,s,.5).rgb().toString(),G=ms(i,{theme:"dark",backgroundColor:a}),V=La()(i).hex().toLowerCase(),q=G.indexOf(V),$=i;return q!==-1&&($=G[q+1]),{mainStroke:v,mainFill:u,activeStroke:i,activeFill:l,inactiveStroke:v,inactiveFill:u,selectedStroke:i,selectedFill:u,highlightStroke:i,highlightFill:d,disableStroke:F,disableFill:T,edgeMainStroke:s,edgeActiveStroke:i,edgeInactiveStroke:s,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:I,comboMainStroke:j,comboMainFill:T,comboActiveStroke:i,comboActiveFill:k,comboInactiveStroke:j,comboInactiveFill:T,comboSelectedStroke:i,comboSelectedFill:k,comboHighlightStroke:$,comboHighlightFill:T,comboDisableStroke:j,comboDisableFill:k}}(n,t,"#777")},Qp=function(n,t,e,r){t===void 0&&(t="#fff"),e===void 0&&(e="default"),r===void 0&&(r="rgb(150, 150, 150)");var i=[];return n.forEach(function(a){i.push(fu(a,t,e,r))}),i},on=fu("rgb(95, 149, 255)","rgb(255, 255, 255)"),Xo={version:"0.3.5",rootContainerClassName:"root-container",nodeContainerClassName:"node-container",edgeContainerClassName:"edge-container",comboContainerClassName:"combo-container",delegateContainerClassName:"delegate-container",defaultLoopPosition:"top",nodeLabel:{style:{fill:"#000",fontSize:12,textAlign:"center",textBaseline:"middle"},offset:4},defaultNode:{type:"circle",style:{lineWidth:1,stroke:on.mainStroke,fill:on.mainFill},size:20,color:on.mainStroke,linkPoints:{size:8,lineWidth:1,fill:on.activeFill,stroke:on.activeStroke}},nodeStateStyles:{active:{fill:on.activeFill,stroke:on.activeStroke,lineWidth:2,shadowColor:on.mainStroke,shadowBlur:10},selected:{fill:on.selectedFill,stroke:on.selectedStroke,lineWidth:4,shadowColor:on.selectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{fill:on.highlightFill,stroke:on.highlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{fill:on.inactiveFill,stroke:on.inactiveStroke,lineWidth:1},disable:{fill:on.disableFill,stroke:on.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:"rgb(0, 0, 0)",textAlign:"center",textBaseline:"middle",fontSize:12}},defaultEdge:{type:"line",size:1,style:{stroke:on.edgeMainStroke,lineAppendWidth:2},color:on.edgeMainStroke},edgeStateStyles:{active:{stroke:on.edgeActiveStroke,lineWidth:1},selected:{stroke:on.edgeSelectedStroke,lineWidth:2,shadowColor:on.edgeSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:on.edgeHighlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{stroke:on.edgeInactiveStroke,lineWidth:1},disable:{stroke:on.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:"rgb(0, 0, 0)",textBaseline:"middle",fontSize:12},refY:10,refX:10},defaultCombo:{type:"circle",style:{fill:on.comboMainFill,lineWidth:1,stroke:on.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:on.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:on.comboActiveStroke,lineWidth:1,fill:on.comboActiveFill},selected:{stroke:on.comboSelectedStroke,lineWidth:2,fill:on.comboSelectedFill,shadowColor:on.comboSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:on.comboHighlightStroke,lineWidth:2,fill:on.comboHighlightFill,"text-shape":{fontWeight:500}},inactive:{stroke:on.comboInactiveStroke,fill:on.comboInactiveFill,lineWidth:1},disable:{stroke:on.comboDisableStroke,fill:on.comboDisableFill,lineWidth:1}},delegateStyle:{fill:"#F3F9FF",fillOpacity:.5,stroke:"#1890FF",strokeOpacity:.9,lineDash:[5,5]},textWaterMarkerConfig:{width:150,height:100,compatible:!1,text:{x:0,y:60,lineHeight:20,rotate:20,fontSize:14,fontFamily:"Microsoft YaHei",fill:"rgba(0, 0, 0, 0.1)",baseline:"Middle"}},imageWaterMarkerConfig:{width:150,height:130,compatible:!1,image:{x:0,y:0,width:30,height:20,rotate:0}},waterMarkerImage:"https://gw.alipayobjects.com/os/s/prod/antv/assets/image/logo-with-text-73b8a.svg"};function Ga(n,t,e){if(n){if(typeof n.addEventListener=="function")return n.addEventListener(t,e,!1),{remove:function(){n.removeEventListener(t,e,!1)}};if(typeof n.attachEvent=="function")return n.attachEvent("on"+t,e),{remove:function(){n.detachEvent("on"+t,e)}}}}function ei(n){Ba||(Ba=document.createElement("table"),cu=document.createElement("tr"),xc=/^\s*<(\w+|!)[^>]*>/,lu={tr:document.createElement("tbody"),tbody:Ba,thead:Ba,tfoot:Ba,td:cu,th:cu,"*":document.createElement("div")});var t=xc.test(n)&&RegExp.$1;t&&t in lu||(t="*");var e=lu[t];n=n.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+n;var r=e.childNodes[0];return e.removeChild(r),r}function xn(n,t){if(n)for(var e in t)t.hasOwnProperty(e)&&(n.style[e]=t[e]);return n}var Jp=br.cloneEvent,eg=br.isViewportChanged,tg=function(n){function t(e){var r=n.call(this,e)||this;return r.extendEvents=[],r.dragging=!1,r.preItem=null,r.graph=e,r.destroyed=!1,r.initEvents(),r}return Object(m.__extends)(t,n),t.prototype.initEvents=function(){var e=this.graph,r=this.extendEvents,i=r===void 0?[]:r,a=e.get("canvas"),s=a.get("el"),u=Object(p.wrapBehavior)(this,"onCanvasEvents"),l=Object(p.wrapBehavior)(this,"onExtendEvents"),d=Object(p.wrapBehavior)(this,"onWheelEvent");a.off("*").on("*",u),this.canvasHandler=u,i.push(Ga(s,"DOMMouseScroll",d)),i.push(Ga(s,"mousewheel",d)),typeof window!="undefined"&&(i.push(Ga(window,"keydown",l)),i.push(Ga(window,"keyup",l)),i.push(Ga(window,"focus",l)))},t.getItemRoot=function(e){for(;e&&!e.get("item");)e=e.get("parent");return e},t.prototype.onCanvasEvents=function(e){var r=this.graph,i=r.get("canvas"),a=e.target,s=e.type;e.canvasX=e.x,e.canvasY=e.y;var u={x:e.canvasX,y:e.canvasY},l=r.get("group").getMatrix();if(l||(l=[1,0,0,0,1,0,0,0,1]),eg(l)&&(u=r.getPointByClient(e.clientX,e.clientY)),e.x=u.x,e.y=u.y,e.currentTarget=r,a===i)return s!=="mousemove"&&s!=="mouseleave"||this.handleMouseMove(e,"canvas"),e.target=i,e.item=null,r.emit(s,e),void r.emit("canvas:"+s,e);var d=t.getItemRoot(a);if(d){var v=d.get("item");if(!v.destroyed){var k=v.getType();if(e.target=a,e.item=v,e.canvasX===e.x&&e.canvasY===e.y){var T=r.getCanvasByPoint(e.x,e.y);e.canvasX=T.x,e.canvasY=T.y}r.emit(s,e),e.name&&!e.name.includes(":")?r.emit(k+":"+s,e):r.emit(e.name,e),s==="dragstart"&&(this.dragging=!0),s==="dragend"&&(this.dragging=!1),s==="mousemove"&&this.handleMouseMove(e,k)}}else r.emit(s,e)},t.prototype.onExtendEvents=function(e){this.graph.emit(e.type,e)},t.prototype.onWheelEvent=function(e){Object(p.isNil)(e.wheelDelta)&&(e.wheelDelta=-e.detail),this.graph.emit("wheel",e)},t.prototype.handleMouseMove=function(e,r){var i=this.graph,a=this.preItem,s=i.get("canvas"),u=e.target===s?null:e.item;e=Jp(e),a&&a!==u&&!a.destroyed&&(e.item=a,this.emitCustomEvent(a.getType(),"mouseleave",e),this.dragging&&this.emitCustomEvent(a.getType(),"dragleave",e)),u&&a!==u&&(e.item=u,this.emitCustomEvent(r,"mouseenter",e),this.dragging&&this.emitCustomEvent(r,"dragenter",e)),this.preItem=u},t.prototype.emitCustomEvent=function(e,r,i){i.type=r,this.graph.emit(e+":"+r,i)},t.prototype.destroy=function(){var e=this.graph,r=this.canvasHandler,i=this.extendEvents;e.get("canvas").off("*",r),Object(p.each)(i,function(a){a.remove()}),this.dragging=!1,this.preItem=null,this.extendEvents.length=0,this.canvasHandler=null,this.destroyed=!0},t}(an);function wc(n,t){for(var e=0;et[s][a]+t[a][u]&&(t[s][u]=t[s][a]+t[a][u]);return t},Sc=function(n,t){var e=n.nodes,r=n.edges,i=[],a={};if(!e)throw new Error("invalid nodes data!");return e&&e.forEach(function(s,u){a[s.id]=u,i.push([])}),r&&r.forEach(function(s){var u=fn(s,"source"),l=fn(s,"target"),d=a[u],v=a[l];i[d][v]=1,t||(i[v][d]=1)}),i},bs=function(n,t){typeof t=="function"&&function e(r,i){if(r&&r.children){for(var a=r.children.length-1;a>=0;a--)if(!e(r.children[a],i))return}return!!i(r)}(n,t)},Yo=function(n){return typeof n=="function"};function Ec(n){return(Ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Oc(n,t){return(Oc=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(n,t)}function ag(n){var t=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,r=pu(n);if(t){var i=pu(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return sg(this,e)}}function sg(n,t){return!t||Ec(t)!=="object"&&typeof t!="function"?Mc(n):t}function Mc(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function pu(n){return(pu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(n)}var Ua=new Map,Li=function(n,t){if(Ua.get(n)&&console.warn("The layout with the name ".concat(n," exists already, it will be overridden")),Co(t)){var e=function(r){(function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),u&&Oc(s,u)})(a,r);var i=ag(a);function a(s){var u;(function(k,T){if(!(k instanceof T))throw new TypeError("Cannot call a class as a function")})(this,a);var l=Mc(u=i.call(this)),d={},v=l.getDefaultCfg();return Object.assign(d,v,t,s),Object.keys(d).forEach(function(k){var T=d[k];l[k]=T}),u}return a}(Xi);Ua.set(n,e)}else Ua.set(n,t)},ug=function(n){return Ua.has(n)?Ua.get(n):null};function kc(n){return(kc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Ac(n,t){for(var e=0;es.cells){var G=s.small(),V=s.large();(G-1)*V>=s.cells?s.small(G-1):(V-1)*G>=s.cells&&s.large(V-1)}else for(;s.cols*s.rows=s.cells?s.large($+1):s.small(q+1)}s.cellWidth=s.width/s.cols,s.cellHeight=s.height/s.rows,s.condense&&(s.cellWidth=0,s.cellHeight=0),s.preventOverlap&&k.forEach(function(Ee){var Pe,Ze;Ee.x&&Ee.y||(Ee.x=0,Ee.y=0),ji(Ee.size)?(Pe=Ee.size[0],Ze=Ee.size[1]):cr(Ee.size)?(Pe=Ee.size,Ze=Ee.size):Co(Ee.size)&&(Pe=Ee.size.width,Ze=Ee.size.height),Pe!==void 0&&Ze!==void 0||(ji(s.nodeSize)?(Pe=s.nodeSize[0],Ze=s.nodeSize[1]):cr(s.nodeSize)?(Pe=s.nodeSize,Ze=s.nodeSize):(Pe=30,Ze=30));var it=s.preventOverlapPadding,ct=Pe+it,st=Ze+it;s.cellWidth=Math.max(s.cellWidth,ct),s.cellHeight=Math.max(s.cellHeight,st)}),s.cellUsed={},s.row=0,s.col=0,s.id2manPos={};for(var ve=0;ve=s&&(this.col=0,this.row++)}},{key:"getPos",value:function(s){var u,l,d=this.begin,v=this.cellWidth,k=this.cellHeight,T=this.id2manPos[s.id];if(T)u=T.col*v+v/2+d[0],l=T.row*k+k/2+d[1];else{for(;this.used(this.row,this.col);)this.moveToNextCell();u=this.col*v+v/2+d[0],l=this.row*k+k/2+d[1],this.use(this.row,this.col),this.moveToNextCell()}s.x=u,s.y=l}},{key:"getType",value:function(){return"grid"}}])&&Ac(t.prototype,e),r&&Ac(t,r),a}(Xi);function Tc(n){return(Tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Ic(n,t){for(var e=0;eT[1]?T[0]:T[1])+I(G)}:function(G){return T+I(G)}:function(G){return G.size?ji(G.size)?(G.size[0]>G.size[1]?G.size[0]:G.size[1])+I(G):Co(G.size)?(G.size.width>G.size.height?G.size.width:G.size.height)+I(G):G.size+I(G):10+I(G)}}s.nodeSize=k;var F=s.edges;s.degrees=za(u.length,s.nodeIdxMap,F),s.getMass||(s.getMass=function(G){return s.degrees[s.nodeIdxMap[G.id]]||1}),s.run()}else s.onLayoutEnd&&s.onLayoutEnd()}},{key:"run",value:function(){var s=this,u=s.nodes,l=s.edges,d=s.maxIteration;if(typeof window!="undefined"){var v=0;this.timeInterval=window.setInterval(function(){var k=[],T=[];if(u){u.forEach(function(G,V){k[2*V]=0,k[2*V+1]=0,T[2*V]=0,T[2*V+1]=0}),s.calRepulsive(k,u),l&&s.calAttractive(k,l),s.calGravity(k,u);var I=Math.max(.02,s.interval-.002*v);s.updateVelocity(k,T,I,u);var j=[];u.forEach(function(G){j.push({x:G.x,y:G.y})}),s.updatePosition(T,I,u),s.tick&&s.tick();var F=0;u.forEach(function(G,V){var q=G.x-j[V].x,$=G.y-j[V].y;F+=Math.sqrt(q*q+$*$)}),(F/=u.length)=d&&(s.onLayoutEnd&&s.onLayoutEnd(),window.clearInterval(s.timeInterval))}},0)}}},{key:"calRepulsive",value:function(s,u){var l=this.getMass,d=this.nodeStrength,v=this.factor,k=this.coulombDisScale,T=this.preventOverlap,I=this.nodeSize;u.forEach(function(j,F){var G=l?l(j):1;u.forEach(function(V,q){if(!(F>=q)){var $=j.x-V.x,ve=j.y-V.y,de=Math.sqrt($*$+ve*ve)+.01,me=(de+.1)*k,Ie=$/de,Ee=ve/de,Pe=(d(j)+d(V))/2*v/(me*me),Ze=l?l(V):1;if(s[2*F]+=Ie*Pe,s[2*F+1]+=Ee*Pe,s[2*q]-=Ie*Pe,s[2*q+1]-=Ee*Pe,T&&de<(I(j)+I(V))/2){var it=(d(j)+d(V))/2/(de*de);s[2*F]+=Ie*it/G,s[2*F+1]+=Ee*it/G,s[2*q]-=Ie*it/Ze,s[2*q+1]-=Ee*it/Ze}}})})}},{key:"calAttractive",value:function(s,u){var l=this.nodeMap,d=this.nodeIdxMap,v=this.linkDistance,k=this.edgeStrength,T=this.getMass;u.forEach(function(I,j){var F=fn(I,"source"),G=fn(I,"target"),V=l[F],q=l[G],$=q.x-V.x,ve=q.y-V.y,de=Math.sqrt($*$+ve*ve)+.01,me=$/de,Ie=ve/de,Ee=((v(I)||1)-de)*k(I),Pe=d[F],Ze=d[G],it=T?T(V):1,ct=T?T(q):1;s[2*Pe]-=me*Ee/it,s[2*Pe+1]-=Ie*Ee/it,s[2*Ze]+=me*Ee/ct,s[2*Ze+1]+=Ie*Ee/ct})}},{key:"calGravity",value:function(s,u){for(var l=this.center,d=this.gravity,v=this.degrees,k=u.length,T=0;Tv.maxSpeed){var V=v.maxSpeed/G;j*=V,F*=V}u[2*I]=j,u[2*I+1]=F})}},{key:"updatePosition",value:function(s,u,l){l.forEach(function(d,v){if(cr(d.fx)&&cr(d.fy))return d.x=d.fx,void(d.y=d.fy);var k=s[2*v]*u,T=s[2*v+1]*u;d.x+=k,d.y+=T})}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0}},{key:"getType",value:function(){return"gForce"}}])&&Nc(t.prototype,e),r&&Nc(t,r),a}(Xi);function Rc(n,t,e,r){if(isNaN(t)||isNaN(e))return n;var i,a,s,u,l,d,v,k,T,I=n._root,j={data:r},F=n._x0,G=n._y0,V=n._x1,q=n._y1;if(!I)return n._root=j,n;for(;I.length;)if((d=t>=(a=(F+V)/2))?F=a:V=a,(v=e>=(s=(G+q)/2))?G=s:q=s,i=I,!(I=I[k=v<<1|d]))return i[k]=j,n;if(u=+n._x.call(null,I.data),l=+n._y.call(null,I.data),t===u&&e===l)return j.next=I,i?i[k]=j:n._root=j,n;do i=i?i[k]=new Array(4):n._root=new Array(4),(d=t>=(a=(F+V)/2))?F=a:V=a,(v=e>=(s=(G+q)/2))?G=s:q=s;while((k=v<<1|d)==(T=(l>=s)<<1|u>=a));return i[T]=I,i[k]=j,n}var Yi=function(n,t,e,r,i){this.node=n,this.x0=t,this.y0=e,this.x1=r,this.y1=i};function mg(n){return n[0]}function bg(n){return n[1]}function bu(n,t,e){var r=new xu(t==null?mg:t,e==null?bg:e,NaN,NaN,NaN,NaN);return n==null?r:r.addAll(n)}function xu(n,t,e,r,i,a){this._x=n,this._y=t,this._x0=e,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Lc(n){for(var t={data:n.data},e=t;n=n.next;)e=e.next={data:n.data};return t}var Hi=bu.prototype=xu.prototype;Hi.copy=function(){var n,t,e=new xu(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Lc(r),e;for(n=[{source:r,target:e._root=new Array(4)}];r=n.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?n.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=Lc(t));return e},Hi.add=function(n){var t=+this._x.call(null,n),e=+this._y.call(null,n);return Rc(this.cover(t,e),t,e,n)},Hi.addAll=function(n){var t,e,r,i,a=n.length,s=new Array(a),u=new Array(a),l=1/0,d=1/0,v=-1/0,k=-1/0;for(e=0;ev&&(v=r),ik&&(k=i));if(l>v||d>k)return this;for(this.cover(l,d).cover(v,k),e=0;en||n>=i||r>t||t>=a;)switch(u=(tT||(a=l.y0)>I||(s=l.x1)=V)<<1|n>=G)&&(l=j[j.length-1],j[j.length-1]=j[j.length-1-d],j[j.length-1-d]=l)}else{var q=n-+this._x.call(null,F.data),$=t-+this._y.call(null,F.data),ve=q*q+$*$;if(ve=(u=(j+G)/2))?j=u:G=u,(v=s>=(l=(F+V)/2))?F=l:V=l,t=I,!(I=I[k=v<<1|d]))return this;if(!I.length)break;(t[k+1&3]||t[k+2&3]||t[k+3&3])&&(e=t,T=k)}for(;I.data!==n;)if(r=I,!(I=I.next))return this;return(i=I.next)&&delete I.next,r?(i?r.next=i:delete r.next,this):t?(i?t[k]=i:delete t[k],(I=t[0]||t[1]||t[2]||t[3])&&I===(t[3]||t[2]||t[1]||t[0])&&!I.length&&(e?e[T]=I:this._root=I),this):(this._root=i,this)},Hi.removeAll=function(n){for(var t=0,e=n.length;t=0&&(r=e.slice(i+1),e=e.slice(0,i)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:r}})}function _g(n,t){for(var e,r=0,i=n.length;r0)for(var e,r,i=new Array(e),a=0;a=0&&t._call.call(null,n),t=t._next;--va})()}finally{va=0,function(){for(var n,t,e=ws,r=1/0;e;)e._call?(r>e._time&&(r=e._time),n=e,e=e._next):(t=e._next,e._next=null,e=n?n._next=t:ws=t);Va=n,Su(r)}(),aa=0}}function Og(){var n=Ya.now(),t=n-_s;t>1e3&&(Ss-=t,_s=n)}function Su(n){va||(Wa&&(Wa=clearTimeout(Wa)),n-aa>24?(n<1/0&&(Wa=setTimeout(Vc,n-Ya.now()-Ss)),Xa&&(Xa=clearInterval(Xa))):(Xa||(_s=Ya.now(),Xa=setInterval(Og,1e3)),va=1,Fc(Vc)))}_u.prototype=Uc.prototype={constructor:_u,restart:function(n,t,e){if(typeof n!="function")throw new TypeError("callback is not a function");e=(e==null?zc():+e)+(t==null?0:+t),this._next||Va===this||(Va?Va._next=this:ws=this,Va=this),this._call=n,this._time=e,Su()},stop:function(){this._call&&(this._call=null,this._time=1/0,Su())}};function Mg(n){return n.x}function kg(n){return n.y}var Ag=Math.PI*(3-Math.sqrt(5)),Wc=function(n){var t,e,r=1,i=.001,a=1-Math.pow(i,1/300),s=0,u=.6,l=new Map,d=Uc(T),v=Sg("tick","end"),k=(e=1,function(){return(e=(1664525*e+1013904223)%4294967296)/4294967296});function T(){I(),v.call("tick",t),r1?(V==null?l.delete(G):l.set(G,F(V)),t):l.get(G)},find:function(G,V,q){var $,ve,de,me,Ie,Ee=0,Pe=n.length;for(q==null?q=1/0:q*=q,Ee=0;Ee1?(v.on(G,V),t):v.on(G)}}},Xc=function(){var n,t,e,r,i,a=qi(-30),s=1,u=1/0,l=.81;function d(I){var j,F=n.length,G=bu(n,Mg,kg).visitAfter(k);for(r=I,j=0;j=u)){(I.data!==t||I.next)&&(V===0&&(ve+=(V=Ho(e))*V),q===0&&(ve+=(q=Ho(e))*q),veT+Ze||meI+Ze||Iek.index){var it=T-Ee.x-Ee.vx,ct=I-Ee.y-Ee.vy,st=it*it+ct*ct;std.r&&(d.r=d[v].r)}function l(){if(t){var d,v,k=t.length;for(e=new Array(k),d=0;dn.length)&&(t=n.length);for(var e=0,r=new Array(t);e-1||(d[k]=l[k])}),d}),this.ticking=!1}},{key:"execute",value:function(s){var u=this,l=u.nodes,d=u.edges;if(!u.ticking){var v=u.forceSimulation,k=u.alphaMin,T=u.alphaDecay,I=u.alpha;if(v){if(s){if(u.clustering&&u.clusterForce&&(u.clusterForce.nodes(l),u.clusterForce.links(d)),v.nodes(l),d&&u.edgeForce)u.edgeForce.links(d);else if(d&&!u.edgeForce){var j=Ou().id(function(ve){return ve.id}).links(d);u.edgeStrength&&j.strength(u.edgeStrength),u.linkDistance&&j.distance(u.linkDistance),u.edgeForce=j,v.force("link",j)}}u.preventOverlap&&u.overlapProcess(v),v.alpha(I).restart(),this.ticking=!0}else try{var F=Xc();if(u.nodeStrength&&F.strength(u.nodeStrength),v=Wc().nodes(l),u.clustering){var G=Pg();G.centerX(u.center[0]).centerY(u.center[1]).template("force").strength(u.clusterFociStrength),d&&G.links(d),l&&G.nodes(l),G.forceLinkDistance(u.clusterEdgeDistance).forceLinkStrength(u.clusterEdgeStrength).forceCharge(u.clusterNodeStrength).forceNodeSize(u.clusterNodeSize),u.clusterForce=G,v.force("group",G)}if(v.force("center",function(ve,de){var me,Ie=1;function Ee(){var Pe,Ze,it=me.length,ct=0,st=0;for(Pe=0;Ped[1]?d[0]:d[1])/2;u=function(j){return T+l(j)}}else if(cr(d)){var I=d/2;u=function(j){return I+l(j)}}else u=function(){return 10};else u=function(j){return j.size?ji(j.size)?(j.size[0]>j.size[1]?j.size[0]:j.size[1])/2+l(j):Co(j.size)?(j.size.width>j.size.height?j.size.width:j.size.height)/2+l(j):j.size/2+l(j):10+l(j)};s.force("collisionForce",Hc(u).strength(k))}},{key:"updateCfg",value:function(s){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.forceSimulation=null,Object.assign(this,s)}},{key:"destroy",value:function(){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.nodes=null,this.edges=null,this.destroyed=!0}}])&&$c(t.prototype,e),r&&$c(t,r),a}(Xi);function Bg(){return typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope}function Jc(n){return(Jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function el(n,t){for(var e=0;er?1:0}var Wg=function(n){(function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),u&&tl(s,u)})(a,n);var t,e,r,i=Gg(a);function a(s){var u;return function(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}(this,a),(u=i.call(this)).radius=null,u.startRadius=null,u.endRadius=null,u.startAngle=0,u.endAngle=2*Math.PI,u.clockwise=!0,u.divisions=1,u.ordering=null,u.angleRatio=1,u.nodes=[],u.edges=[],u.nodeMap={},u.degrees=[],u.width=300,u.height=300,u.updateCfg(s),u}return t=a,(e=[{key:"getDefaultCfg",value:function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}}},{key:"execute",value:function(){var s=this.nodes,u=this.edges,l=s.length;if(l!==0){this.width||typeof window=="undefined"||(this.width=window.innerWidth),this.height||typeof window=="undefined"||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var d=this.center;if(l===1)return s[0].x=d[0],s[0].y=d[1],void(this.onLayoutEnd&&this.onLayoutEnd());var v=this.radius,k=this.startRadius,T=this.endRadius,I=this.divisions,j=this.startAngle,F=this.endAngle,G=(F-j)/l,V={};s.forEach(function(it,ct){V[it.id]=ct}),this.nodeMap=V;var q=za(s.length,V,u);this.degrees=q,v||k||T?!k&&T?k=T:k&&!T&&(T=k):v=this.height>this.width?this.width/2:this.height/2;var $=G*this.angleRatio,ve=this.ordering,de=[];de=ve==="topology"?this.topologyOrdering():ve==="topology-directed"?this.topologyOrdering(!0):ve==="degree"?this.degreeOrdering():s;for(var me=this.clockwise,Ie=Math.ceil(l/I),Ee=0;Ee0&&arguments[0]!==void 0&&arguments[0],u=this,l=u.degrees,d=u.edges,v=u.nodes,k=og(v),T=u.nodeMap,I=[k[0]],j=[v[0]],F=[],G=v.length;F[0]=!0,zg(k,d,T,s);var V=0;return k.forEach(function(q,$){if($!==0)if($!==G-1&&l[$]===l[$+1]&&!Ug(I[V],q,d)||F[$]){for(var ve=I[V].children,de=!1,me=0;me1&&arguments[1]!==void 0?arguments[1]:{};if(!Os(n))throw new TypeError("input must be an array");if(n.length===0)throw new TypeError("input must not be empty");var e=t.fromIndex,r=e===void 0?0:e,i=t.toIndex,a=i===void 0?n.length:i;if(r<0||r>=n.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(a<=r||a>n.length||!Number.isInteger(a))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var s=n[r],u=r+1;us&&(s=n[u]);return s},$g=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Os(n))throw new TypeError("input must be an array");if(n.length===0)throw new TypeError("input must not be empty");var e=t.fromIndex,r=e===void 0?0:e,i=t.toIndex,a=i===void 0?n.length:i;if(r<0||r>=n.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(a<=r||a>n.length||!Number.isInteger(a))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var s=n[r],u=r+1;u1&&arguments[1]!==void 0?arguments[1]:{};if(!Os(n))throw new TypeError("input must be an array");if(n.length===0)throw new TypeError("input must not be empty");if(e.output!==void 0){if(!Os(e.output))throw new TypeError("output option must be an array if specified");t=e.output}else t=new Array(n.length);var r=$g(n),i=Zg(n);if(r===i)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var a=e.min,s=a===void 0?e.autoMinMax?r:0:a,u=e.max,l=u===void 0?e.autoMinMax?i:1:u;if(s>=l)throw new RangeError("min option must be smaller than max option");for(var d=(l-s)/(i-r),v=0;v1&&arguments[1]!==void 0?arguments[1]:{},e=t.maxRows,r=e===void 0?15:e,i=t.maxColumns,a=i===void 0?10:i,s=t.maxNumSize,u=s===void 0?8:s;return"".concat(n.constructor.name,` { `).concat(Ms,`[ `).concat(sl).concat(Qg(n,r,a,u),` `).concat(Ms,`] `).concat(Ms,"rows: ").concat(n.rows,` `).concat(Ms,"columns: ").concat(n.columns,` }`)}function Qg(n,t,e,r){for(var i=n.rows,a=n.columns,s=Math.min(i,t),u=Math.min(a,e),l=[],d=0;dr)throw new RangeError("Row index out of range")}function bo(n,t,e){var r=e?n.columns:n.columns-1;if(t<0||t>r)throw new RangeError("Column index out of range")}function ya(n,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==n.columns)throw new RangeError("vector size must be the same as the number of columns");return t}function ma(n,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==n.rows)throw new RangeError("vector size must be the same as the number of rows");return t}function ev(n,t){if(Cu(t)!=="object")throw new TypeError("unexpected type for row indices");if(t.some(function(e){return e<0||e>=n.rows}))throw new RangeError("row indices are out of range");return Array.isArray(t)||(t=Array.from(t)),t}function tv(n,t){if(Cu(t)!=="object")throw new TypeError("unexpected type for column indices");if(t.some(function(e){return e<0||e>=n.columns}))throw new RangeError("column indices are out of range");return Array.isArray(t)||(t=Array.from(t)),t}function cl(n,t,e,r,i){if(arguments.length!==5)throw new RangeError("expected 4 arguments");if(As("startRow",t),As("endRow",e),As("startColumn",r),As("endColumn",i),t>e||r>i||t<0||t>=n.rows||e<0||e>=n.rows||r<0||r>=n.columns||i<0||i>=n.columns)throw new RangeError("Submatrix indices are out of range")}function ks(n){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=[],r=0;rr?(a=!0,r=e):(i=!1,a=!0);t++}return i}},{key:"isReducedEchelonForm",value:function(){for(var t=0,e=0,r=-1,i=!0,a=!1;tr?(a=!0,r=e):(i=!1,a=!0);for(var s=e+1;st.get(i,r)&&(i=a);if(t.get(i,r)===0)r++;else{t.swapRows(e,i);for(var s=t.get(e,r),u=r;u=0;)if(t.maxRow(i)===0)i--;else{for(var a=0,s=!1;a0&&arguments[0]!==void 0?arguments[0]:{};if(to(t)!=="object")throw new TypeError("options must be an object");var e=t.rows,r=e===void 0?1:e,i=t.columns,a=i===void 0?1:i;if(!Number.isInteger(r)||r<=0)throw new TypeError("rows must be a positive integer");if(!Number.isInteger(a)||a<=0)throw new TypeError("columns must be a positive integer");for(var s=new Fr(this.rows*r,this.columns*a),u=0;ut&&(t=this.get(e,r));return t}},{key:"maxIndex",value:function(){ba(this);for(var t=this.get(0,0),e=[0,0],r=0;rt&&(t=this.get(r,i),e[0]=r,e[1]=i);return e}},{key:"min",value:function(){if(this.isEmpty())return NaN;for(var t=this.get(0,0),e=0;ee&&(e=this.get(t,r));return e}},{key:"maxRowIndex",value:function(t){mo(this,t),ba(this);for(var e=this.get(t,0),r=[t,0],i=1;ie&&(e=this.get(t,i),r[1]=i);return r}},{key:"minRow",value:function(t){if(mo(this,t),this.isEmpty())return NaN;for(var e=this.get(t,0),r=1;re&&(e=this.get(r,t));return e}},{key:"maxColumnIndex",value:function(t){bo(this,t),ba(this);for(var e=this.get(0,t),r=[0,t],i=1;ie&&(e=this.get(i,t),r[0]=i);return r}},{key:"minColumn",value:function(t){if(bo(this,t),this.isEmpty())return NaN;for(var e=this.get(0,t),r=1;r0&&arguments[0]!==void 0?arguments[0]:"frobenius",e=0;if(t==="max")return this.max();if(t==="frobenius"){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:{};if(to(t)!=="object")throw new TypeError("options must be an object");var e=t.min,r=e===void 0?0:e,i=t.max,a=i===void 0?1:i;if(!Number.isFinite(r))throw new TypeError("min must be a number");if(!Number.isFinite(a))throw new TypeError("max must be a number");if(r>=a)throw new RangeError("min must be smaller than max");for(var s=new Fr(this.rows,this.columns),u=0;u0&&al(l,{min:r,max:a,output:l}),s.setRow(u,l)}return s}},{key:"scaleColumns",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(to(t)!=="object")throw new TypeError("options must be an object");var e=t.min,r=e===void 0?0:e,i=t.max,a=i===void 0?1:i;if(!Number.isFinite(r))throw new TypeError("min must be a number");if(!Number.isFinite(a))throw new TypeError("max must be a number");if(r>=a)throw new RangeError("min must be smaller than max");for(var s=new Fr(this.rows,this.columns),u=0;u0&&arguments[0]!==void 0?arguments[0]:gl,e=0;e0&&arguments[0]!==void 0?arguments[0]:gl,e=0;er||e<0||e>=this.columns||r<0||r>=this.columns)throw new RangeError("Argument out of range");for(var i=new Fr(t.length,r-e+1),a=0;a=this.rows)throw new RangeError("Row index out of range: ".concat(t[a]));i.set(a,s-e,this.get(t[a],s))}return i}},{key:"subMatrixColumn",value:function(t,e,r){if(e===void 0&&(e=0),r===void 0&&(r=this.rows-1),e>r||e<0||e>=this.rows||r<0||r>=this.rows)throw new RangeError("Argument out of range");for(var i=new Fr(r-e+1,t.length),a=0;a=this.columns)throw new RangeError("Column index out of range: ".concat(t[a]));i.set(s-e,a,this.get(s,t[a]))}return i}},{key:"setSubMatrix",value:function(t,e,r){if((t=Fr.checkMatrix(t)).isEmpty())return this;cl(this,e,e+t.rows-1,r,r+t.columns-1);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{};if(to(t)==="object"&&(e=t,t=void 0),to(e)!=="object")throw new TypeError("options must be an object");var r=e,i=r.unbiased,a=i===void 0||i,s=r.mean,u=s===void 0?this.mean(t):s;if(typeof a!="boolean")throw new TypeError("unbiased must be a boolean");switch(t){case"row":if(!Array.isArray(u))throw new TypeError("mean must be an array");return rv(this,a,u);case"column":if(!Array.isArray(u))throw new TypeError("mean must be an array");return nv(this,a,u);case void 0:if(typeof u!="number")throw new TypeError("mean must be a number");return iv(this,a,u);default:throw new Error("invalid option: ".concat(t))}}},{key:"standardDeviation",value:function(t,e){to(t)==="object"&&(e=t,t=void 0);var r=this.variance(t,e);if(t===void 0)return Math.sqrt(r);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{};if(to(t)==="object"&&(e=t,t=void 0),to(e)!=="object")throw new TypeError("options must be an object");var r=e,i=r.center,a=i===void 0?this.mean(t):i;switch(t){case"row":if(!Array.isArray(a))throw new TypeError("center must be an array");return ov(this,a),this;case"column":if(!Array.isArray(a))throw new TypeError("center must be an array");return av(this,a),this;case void 0:if(typeof a!="number")throw new TypeError("center must be a number");return sv(this,a),this;default:throw new Error("invalid option: ".concat(t))}}},{key:"scale",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(to(t)==="object"&&(e=t,t=void 0),to(e)!=="object")throw new TypeError("options must be an object");var r=e.scale;switch(t){case"row":if(r===void 0)r=uv(this);else if(!Array.isArray(r))throw new TypeError("scale must be an array");return cv(this,r),this;case"column":if(r===void 0)r=lv(this);else if(!Array.isArray(r))throw new TypeError("scale must be an array");return fv(this,r),this;case void 0:if(r===void 0)r=hv(this);else if(typeof r!="number")throw new TypeError("scale must be a number");return dv(this,r),this;default:throw new Error("invalid option: ".concat(t))}}},{key:"toString",value:function(t){return ul(this,t)}}],[{key:"from1DArray",value:function(t,e,r){if(t*e!==r.length)throw new RangeError("data length does not match given dimensions");for(var i=new Fr(t,e),a=0;a2&&arguments[2]!==void 0?arguments[2]:{};if(to(r)!=="object")throw new TypeError("options must be an object");for(var i=r.random,a=i===void 0?Math.random:i,s=new Fr(t,e),u=0;u2&&arguments[2]!==void 0?arguments[2]:{};if(to(r)!=="object")throw new TypeError("options must be an object");var i=r.min,a=i===void 0?0:i,s=r.max,u=s===void 0?1e3:s,l=r.random,d=l===void 0?Math.random:l;if(!Number.isInteger(a))throw new TypeError("min must be an integer");if(!Number.isInteger(u))throw new TypeError("max must be an integer");if(a>=u)throw new RangeError("min must be smaller than max");for(var v=u-a,k=new Fr(t,e),T=0;T=0){if(a.data=[],!(Number.isInteger(i)&&i>=0))throw new TypeError("nColumns must be a positive integer");for(var s=0;s>n);return this},Bt.prototype.signPropagatingRightShiftM=function(n){if(n=Pr.checkMatrix(n),this.rows!==n.rows||this.columns!==n.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t>n.get(t,e));return this},Bt.signPropagatingRightShift=function(n,t){return new Pr(n).signPropagatingRightShift(t)},Bt.prototype.rightShift=function(n){return typeof n=="number"?this.rightShiftS(n):this.rightShiftM(n)},Bt.prototype.rightShiftS=function(n){for(var t=0;t>>n);return this},Bt.prototype.rightShiftM=function(n){if(n=Pr.checkMatrix(n),this.rows!==n.rows||this.columns!==n.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t>>n.get(t,e));return this},Bt.rightShift=function(n,t){return new Pr(n).rightShift(t)},Bt.prototype.zeroFillRightShift=Bt.prototype.rightShift,Bt.prototype.zeroFillRightShiftS=Bt.prototype.rightShiftS,Bt.prototype.zeroFillRightShiftM=Bt.prototype.rightShiftM,Bt.zeroFillRightShift=Bt.rightShift,Bt.prototype.not=function(){for(var n=0;nMath.abs(t)?(e=t/n,Math.abs(n)*Math.sqrt(1+e*e)):t!==0?(e=n/t,Math.abs(t)*Math.sqrt(1+e*e)):0}function mv(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(n,t){for(var e=0;e1&&arguments[1]!==void 0?arguments[1]:{};if(mv(this,n),(i=yv.checkMatrix(i)).isEmpty())throw new Error("Matrix must be non-empty");var s,u=i.rows,l=i.columns,d=a.computeLeftSingularVectors,v=d===void 0||d,k=a.computeRightSingularVectors,T=k===void 0||k,I=a.autoTranspose,j=I!==void 0&&I,F=Boolean(v),B=Boolean(T),U=!1;if(u=0;Yr--)if(pe[Yr]!==0){for(var Cr=Yr+1;Cr=0;Vr--){if(Vr0;){var wr=void 0,vn=void 0;for(wr=hr-2;wr>=-1&&wr!==-1;wr--){var $n=Number.MIN_VALUE+no*Math.abs(pe[wr]+Math.abs(pe[wr+1]));if(Math.abs(Ee[wr])<=$n||Number.isNaN(Ee[wr])){Ee[wr]=0;break}}if(wr===hr-2)vn=4;else{var _n=void 0;for(_n=hr-1;_n>=wr&&_n!==wr;_n--){var Ni=(_n!==hr?Math.abs(Ee[_n]):0)+(_n!==wr+1?Math.abs(Ee[_n-1]):0);if(Math.abs(pe[_n])<=no*Ni){pe[_n]=0;break}}_n===wr?vn=3:_n===hr-1?vn=1:(vn=2,wr=_n)}switch(wr++,vn){case 1:var go=Ee[hr-2];Ee[hr-2]=0;for(var xi=hr-2;xi>=wr;xi--){var _o=xa(pe[xi],go),Ca=pe[xi]/_o,Ta=go/_o;if(pe[xi]=_o,xi!==wr&&(go=-Ta*Ee[xi-1],Ee[xi-1]=Ca*Ee[xi-1]),B)for(var So=0;So=pe[wr+1]);){var vs=pe[wr];if(pe[wr]=pe[wr+1],pe[wr+1]=vs,B&&wra&&l.set(d,v,i.get(d,v)/this.s[v]);for(var k=this.U,T=k.rows,I=k.columns,j=new Fr(s,T),F=0;Fi&&a++;return a}},{key:"diagonal",get:function(){return Array.from(this.s)}},{key:"threshold",get:function(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}},{key:"leftSingularVectors",get:function(){return this.U}},{key:"rightSingularVectors",get:function(){return this.V}},{key:"diagonalMatrix",get:function(){return Fr.diag(this.s)}}])&&bl(t.prototype,e),r&&bl(t,r),n}();function wl(n,t){for(var e=0;eI?1:-1;j=.01*U,F=.01*U}if(BMath.PI/2&&(Q-=Math.PI/2,B*=-1,U*=-1);var ve=Math.cos(Q)*H;k.x=B*ve,k.y=U*ve});var v=this.radii;i.forEach(function(k,T){if(T!==l){var I=Math.sqrt(a[T].x*a[T].x+a[T].y*a[T].y);if(I>0&&T!==l){var j=Math.min(d*(s/800),I);if(k[0]+=a[T].x/I*j,k[1]+=a[T].y/I*j,u){var F=k[0]-i[l][0],B=k[1]-i[l][1],U=Math.sqrt(F*F+B*B);F=F/U*v[T],B=B/U*v[T],k[0]=i[l][0]+F,k[1]=i[l][1]+B}}}})}}])&&_l(t.prototype,e),r&&_l(t,r),n}();function Sl(n){return(Sl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function wv(n){return function(t){if(Array.isArray(t))return ju(t)}(n)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(n)||function(t,e){if(!!t){if(typeof t=="string")return ju(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ju(t,e)}}(n)||function(){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 ju(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);ed[0]?d[0]:me-d[0],je=Te-d[1]>d[1]?d[1]:Te-d[1];Ee===0&&(Ee=me/2),je===0&&(je=Te/2);var Ze=je>Ee?Ee:je,nt=Math.max.apply(Math,wv(pe)),ct=[];pe.forEach(function(Gt,lr){s.unitRadius||(s.unitRadius=Ze/nt),ct[lr]=Gt*s.unitRadius}),s.radii=ct;var st=s.eIdealDisMatrix();s.eIdealDistances=st;var It=function(Gt){for(var lr=Gt.length,Lr=Gt[0].length,wn=[],Sr=0;SrZt[1]?Zt[0]:Zt[1])+Vt(Gt)}:function(Gt){return Zt+Vt(Gt)}:function(Gt){return Gt.size?ji(Gt.size)?(Gt.size[0]>Gt.size[1]?Gt.size[0]:Gt.size[1])+Vt(Gt):Co(Gt.size)?(Gt.size.width>Gt.size.height?Gt.size.width:Gt.size.height)+Vt(Gt):Gt.size+Vt(Gt):10+Vt(Gt)};var qt={nodes:u,nodeSizeFunc:Pt,adjMatrix:H,positions:gt,radii:ct,height:Te,width:me,strictRadial:kt,focusID:U,iterations:s.maxPreventOverlapIteration||200,k:gt.length/4.5},$t=new xv(qt);gt=$t.layout()}return gt.forEach(function(Gt,lr){u[lr].x=Gt[0]+d[0],u[lr].y=Gt[1]+d[1]}),s.onLayoutEnd&&s.onLayoutEnd(),{nodes:u,edges:l}}s.onLayoutEnd&&s.onLayoutEnd()}},{key:"run",value:function(){for(var s=this.maxIteration,u=this.positions||[],l=this.weights||[],d=this.eIdealDistances||[],v=this.radii||[],k=0;k<=s;k++){var T=k/s;this.oneIteration(T,u,v,d,l)}}},{key:"oneIteration",value:function(s,u,l,d,v){var k=1-s,T=this.focusIndex;u.forEach(function(I,j){var F=Ml(I,[0,0]),B=F===0?0:1/F;if(j!==T){var U=0,H=0,Q=0;u.forEach(function(pe,me){if(j!==me){var Te=Ml(I,pe),Ee=Te===0?0:1/Te,je=d[me][j];Q+=v[j][me],U+=v[j][me]*(pe[0]+je*(I[0]-pe[0])*Ee),H+=v[j][me]*(pe[1]+je*(I[1]-pe[1])*Ee)}});var ve=l[j]===0?0:1/l[j];Q*=k,Q+=s*ve*ve,U*=k,U+=s*ve*I[0]*B,I[0]=U/Q,H*=k,H+=s*ve*I[1]*B,I[1]=H/Q}})}},{key:"eIdealDisMatrix",value:function(){var s=this,u=s.nodes;if(!u)return[];var l=s.distances,d=s.linkDistance,v=s.radii||[],k=s.unitRadius||50,T=[];return l&&l.forEach(function(I,j){var F=[];I.forEach(function(B,U){if(j===U)F.push(0);else if(v[j]===v[U])if(s.sortBy==="data")F.push(B*(Math.abs(j-U)*s.sortStrength)/(v[j]/k));else if(s.sortBy){var H=u[j][s.sortBy]||0,Q=u[U][s.sortBy]||0;Fa(H)&&(H=H.charCodeAt(0)),Fa(Q)&&(Q=Q.charCodeAt(0)),F.push(B*(Math.abs(H-Q)*s.sortStrength)/(v[j]/k))}else F.push(B*d/(v[j]/k));else{var ve=(d+k)/2;F.push(B*ve)}}),T.push(F)}),T}},{key:"handleInfinity",value:function(s,u,l){for(var d=s.length,v=0;vl?s[u][d]:l);return l}},{key:"getType",value:function(){return"radial"}}])&&El(t.prototype,e),r&&El(t,r),a}(Xi);function kl(n){return(kl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Al(n,t){for(var e=0;e0){var nt=Math.abs(U[0][s.sortBy]-Ze[s.sortBy]);s.maxLevelDiff&&nt>=s.maxLevelDiff&&(U=[],B.push(U))}U.push(Ze)});var H=k+s.minNodeSpacing;if(!s.preventOverlap){var Q=B.length>0&&B[0].length>1,ve=(Math.min(s.width,s.height)/2-H)/(B.length+(Q?1:0));H=Math.min(H,ve)}var pe=0;if(B.forEach(function(Ze){var nt=s.sweep;nt===void 0&&(nt=2*Math.PI-2*Math.PI/Ze.length);var ct=Ze.dTheta=nt/Math.max(1,Ze.length-1);if(Ze.length>1&&s.preventOverlap){var st=Math.cos(ct)-Math.cos(0),It=Math.sin(ct)-Math.sin(0),gt=Math.sqrt(H*H/(st*st+It*It));pe=Math.max(gt,pe)}Ze.r=pe,pe+=H}),s.equidistant){for(var me=0,Te=0,Ee=0;Ee0){var ct=Math.min(T*(B/800),nt);je.x+=pe[Ze].x/nt*ct,je.y+=pe[Ze].y/nt*ct}}}),s.tick&&s.tick(),++ve>=d&&(s.onLayoutEnd&&s.onLayoutEnd(),window.clearInterval(s.timeInterval))}},0),{nodes:u,edges:l}}}}},{key:"applyCalculate",value:function(s,u,l,d,v){this.calRepulsive(s,l,v),u&&this.calAttractive(u,l,d)}},{key:"calRepulsive",value:function(s,u,l){s.forEach(function(d,v){u[v]={x:0,y:0},s.forEach(function(k,T){if(v!==T&&ur(d.x)&&ur(k.x)&&ur(d.y)&&ur(k.y)){var I=d.x-k.x,j=d.y-k.y,F=I*I+j*j;if(F===0){F=1;var B=v>T?1:-1;I=.01*B,j=.01*B}var U=l/F;u[v].x+=I*U,u[v].y+=j*U}})})}},{key:"calAttractive",value:function(s,u,l){var d=this;s.forEach(function(v){var k=fn(v,"source"),T=fn(v,"target");if(k&&T){var I=d.nodeIdxMap[k],j=d.nodeIdxMap[T];if(I!==j){var F=d.nodeMap[k],B=d.nodeMap[T];if(ur(B.x)&&ur(F.x)&&ur(B.y)&&ur(F.y)){var U=B.x-F.x,H=B.y-F.y,Q=Math.sqrt(U*U+H*H),ve=Q*Q/l;u[j].x-=U/Q*ve,u[j].y-=H/Q*ve,u[I].x+=U/Q*ve,u[I].y+=H/Q*ve}}}})}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0}},{key:"getType",value:function(){return"fruchterman"}}])&&Nl(t.prototype,e),r&&Nl(t,r),a}(Xi),Nv=o(10),Pn=o.n(Nv),Dv=o(6),hn=o.n(Dv),Rv=o(7),dn=o.n(Rv),Lv=o(11),Nn=o.n(Lv),rt=(o(29),o(3)),Ar=o(5);function Lu(n){return typeof n=="number"}function Bo(n){return n===void 0?0:n>360||n<-360?n%360:n}function sa(n,t,e){return Lu(n)?Nt.e.fromValues(n,t,e):n.length===3?Nt.e.clone(n):Nt.e.fromValues(n[0],n[1],n[2])}var Rl,Ll,Bl,Bu,Gl,Fl,zl,kn,Cs,ua,Ul=function(){function n(t,e){hn()(this,n),this.name=void 0,this.matrix=void 0,this.right=void 0,this.up=void 0,this.forward=void 0,this.position=void 0,this.focalPoint=void 0,this.distanceVector=void 0,this.distance=void 0,this.dollyingStep=void 0,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.name=t,this.matrix=Nt.b.clone(e.matrix),this.right=Nt.e.clone(e.right),this.up=Nt.e.clone(e.up),this.forward=Nt.e.clone(e.forward),this.position=Nt.e.clone(e.position),this.focalPoint=Nt.e.clone(e.focalPoint),this.distanceVector=Nt.e.clone(e.distanceVector),this.azimuth=e.azimuth,this.elevation=e.elevation,this.roll=e.roll,this.relAzimuth=e.relAzimuth,this.relElevation=e.relElevation,this.relRoll=e.relRoll,this.dollyingStep=e.dollyingStep,this.distance=e.distance}return dn()(n,[{key:"getPosition",value:function(){return this.position}},{key:"getFocalPoint",value:function(){return this.focalPoint}},{key:"getRoll",value:function(){return this.roll}},{key:"retrieve",value:function(t){t.matrix=Nt.b.copy(t.matrix,this.matrix),t.right=Nt.e.copy(t.right,this.right),t.up=Nt.e.copy(t.up,this.up),t.forward=Nt.e.copy(t.forward,this.forward),t.position=Nt.e.copy(t.position,this.position),t.focalPoint=Nt.e.copy(t.focalPoint,this.focalPoint),t.distanceVector=Nt.e.copy(t.distanceVector,this.distanceVector),t.azimuth=this.azimuth,t.elevation=this.elevation,t.roll=this.roll,t.relAzimuth=this.relAzimuth,t.relElevation=this.relElevation,t.relRoll=this.relRoll,t.dollyingStep=this.dollyingStep,t.distance=this.distance}}]),n}();(function(n){n.ORBITING="ORBITING",n.EXPLORING="EXPLORING",n.TRACKING="TRACKING"})(kn||(kn={})),function(n){n.DEFAULT="DEFAULT",n.ROTATIONAL="ROTATIONAL",n.TRANSLATIONAL="TRANSLATIONAL",n.CINEMATIC="CINEMATIC"}(Cs||(Cs={})),function(n){n.ORTHOGRAPHIC="ORTHOGRAPHIC",n.PERSPECTIVE="PERSPECTIVE"}(ua||(ua={}));var Vl,Wl,Xl,Gu,Yl,Ha,Hl,Go=Math.PI/180,wa=180/Math.PI,ql=(Rl=Object(Ar.injectable)(),Ll=Object(Ar.inject)(rt.IDENTIFIER.InteractorService),Rl((zl=Fl=function(){function n(){hn()(this,n),this.matrix=Nt.b.create(),this.right=Nt.e.fromValues(1,0,0),this.up=Nt.e.fromValues(0,1,0),this.forward=Nt.e.fromValues(0,0,1),this.position=Nt.e.fromValues(0,0,1),this.focalPoint=Nt.e.fromValues(0,0,0),this.distanceVector=Nt.e.fromValues(0,0,0),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.rotateWorld=!1,Pn()(this,"interactor",Gl,this),this.fov=30,this.near=.1,this.far=1e4,this.aspect=1,this.left=void 0,this.rright=void 0,this.top=void 0,this.bottom=void 0,this.zoom=1,this.perspective=Nt.b.create(),this.view=void 0,this.following=void 0,this.type=kn.EXPLORING,this.trackingMode=Cs.DEFAULT,this.projectionMode=ua.PERSPECTIVE,this.frustum=new rt.Frustum,this.landmarks=[],this.landmarkAnimationID=void 0}return dn()(n,[{key:"clone",value:function(){var t=new n;return t.setType(this.type,void 0),t.interactor=this.interactor,t}},{key:"getProjectionMode",value:function(){return this.projectionMode}},{key:"getPerspective",value:function(){return this.perspective}},{key:"getFrustum",value:function(){return this.frustum}},{key:"getPosition",value:function(){return this.position}},{key:"setType",value:function(t,e){return this.type=t,this.type===kn.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===kn.TRACKING&&e!==void 0&&this.setTrackingMode(e),this}},{key:"setProjectionMode",value:function(t){return this.projectionMode=t,this}},{key:"setTrackingMode",value:function(t){if(this.type!==kn.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this}},{key:"setWorldRotation",value:function(t){this.rotateWorld=t,this._getAngles()}},{key:"getViewTransform",value:function(){return Nt.b.invert(Nt.b.create(),this.matrix)}},{key:"getWorldTransform",value:function(){return this.matrix}},{key:"setMatrix",value:function(t){return this.matrix=t,this._update(),this}},{key:"setAspect",value:function(t){return this.setPerspective(this.near,this.far,this.fov,t),this}},{key:"setViewOffset",value:function(t,e,r,i,a,s){return this.aspect=t/e,this.view===void 0&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=r,this.view.offsetY=i,this.view.width=a,this.view.height=s,this.projectionMode===ua.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this}},{key:"clearViewOffset",value:function(){return this.view!==void 0&&(this.view.enabled=!1),this.projectionMode===ua.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this}},{key:"setPerspective",value:function(t,e,r,i){return this.projectionMode=ua.PERSPECTIVE,this.fov=r,this.near=t,this.far=e,this.aspect=i,Nt.b.perspective(this.perspective,this.fov*Go,this.aspect,this.near,this.far),this}},{key:"setOrthographic",value:function(t,e,r,i,a,s){this.projectionMode=ua.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=r,this.bottom=i,this.near=a,this.far=s;var u=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),d=(this.rright+this.left)/2,v=(this.top+this.bottom)/2,k=d-u,T=d+u,I=v+l,j=v-l;if(this.view!==void 0&&this.view.enabled){var F=(this.rright-this.left)/this.view.fullWidth/this.zoom,B=(this.top-this.bottom)/this.view.fullHeight/this.zoom;T=(k+=F*this.view.offsetX)+F*this.view.width,j=(I-=B*this.view.offsetY)-B*this.view.height}return Nt.b.ortho(this.perspective,k,T,I,j,a,s),this}},{key:"setPosition",value:function(t,e,r){return this._setPosition(t,e,r),this.setFocalPoint(this.focalPoint),this}},{key:"setFocalPoint",value:function(t,e,r){var i=Nt.e.fromValues(0,1,0);if(this.focalPoint=sa(t,e,r),this.trackingMode===Cs.CINEMATIC){var a=Nt.e.subtract(Nt.e.create(),this.focalPoint,this.position);t=a[0],e=a[1],r=a[2];var s=Nt.e.length(a),u=Math.asin(e/s)*wa,l=90+Math.atan2(r,t)*wa,d=Nt.b.create();Nt.b.rotateY(d,d,l*Go),Nt.b.rotateX(d,d,u*Go),i=Nt.e.transformMat4(Nt.e.create(),[0,1,0],d)}return Nt.b.invert(this.matrix,Nt.b.lookAt(Nt.b.create(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this}},{key:"setDistance",value:function(t){if(!(this.distance===t||t<0)){this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=Nt.e.create();t=this.distance;var r=this.forward,i=this.focalPoint;return e[0]=t*r[0]+i[0],e[1]=t*r[1]+i[1],e[2]=t*r[2]+i[2],this._setPosition(e),this}}},{key:"setMaxDistance",value:function(t){return this.maxDistance=t,this}},{key:"setMinDistance",value:function(t){return this.minDistance=t,this}},{key:"changeAzimuth",value:function(t){return this.setAzimuth(this.azimuth+t),this}},{key:"changeElevation",value:function(t){return this.setElevation(this.elevation+t),this}},{key:"changeRoll",value:function(t){return this.setRoll(this.roll+t),this}},{key:"setAzimuth",value:function(t){return this.azimuth=Bo(t),this.computeMatrix(),this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this}},{key:"getAzimuth",value:function(){return this.azimuth}},{key:"setElevation",value:function(t){return this.elevation=Bo(t),this.computeMatrix(),this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this}},{key:"setRoll",value:function(t){return this.roll=Bo(t),this.computeMatrix(),this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this}},{key:"rotate",value:function(t,e,r){if(this.type===kn.EXPLORING){t=Bo(t),e=Bo(e),r=Bo(r);var i=Nt.c.setAxisAngle(Nt.c.create(),[1,0,0],(this.rotateWorld?1:-1)*e*Go),a=Nt.c.setAxisAngle(Nt.c.create(),[0,1,0],(this.rotateWorld?1:-1)*t*Go),s=Nt.c.setAxisAngle(Nt.c.create(),[0,0,1],r*Go),u=Nt.c.multiply(Nt.c.create(),a,i);u=Nt.c.multiply(Nt.c.create(),u,s);var l=Nt.b.fromQuat(Nt.b.create(),u);Nt.b.translate(this.matrix,this.matrix,[0,0,-this.distance]),Nt.b.multiply(this.matrix,this.matrix,l),Nt.b.translate(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation+e)>90)return;this.relElevation=Bo(e),this.relAzimuth=Bo(t),this.relRoll=Bo(r),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.computeMatrix()}return this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(t,e){var r=sa(t,e,0),i=Nt.e.clone(this.position);return Nt.e.add(i,i,Nt.e.scale(Nt.e.create(),this.right,r[0])),Nt.e.add(i,i,Nt.e.scale(Nt.e.create(),this.up,r[1])),this._setPosition(i),this}},{key:"dolly",value:function(t){var e=this.forward,r=Nt.e.clone(this.position),i=this.dollyingStep,a=this.distance+t*this.dollyingStep;return i=Math.max(Math.min(a,this.maxDistance),this.minDistance)-this.distance,r[0]+=i*e[0],r[1]+=i*e[1],r[2]+=i*e[2],this._setPosition(r),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getDistance():this.type===kn.TRACKING&&Nt.e.add(this.focalPoint,r,this.distanceVector),this}},{key:"createLandmark",value:function(t,e){var r=this.clone();r.setPosition(e.position),r.setFocalPoint(e.focalPoint),e.roll!==void 0&&r.setRoll(e.roll);var i=new Ul(t,r);return this.landmarks.push(i),i}},{key:"setLandmark",value:function(t){var e=new Ul(t,this);return this.landmarks.push(e),this}},{key:"gotoLandmark",value:function(t){var e=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3,i=this.landmarks.find(function(v){return v.name===t});if(i){if(r===0)return void i.retrieve(this);this.landmarkAnimationID!==void 0&&window.cancelAnimationFrame(this.landmarkAnimationID),this.interactor.disconnect();var a,s=i.getPosition(),u=i.getFocalPoint(),l=i.getRoll(),d=function v(k){a===void 0&&(a=k);var T,I=k-a,j=(1-Math.cos(I/r*Math.PI))/2,F=Nt.e.create(),B=Nt.e.create();if(Nt.e.lerp(F,e.focalPoint,u,j),Nt.e.lerp(B,e.position,s,j),T=e.roll*(1-j)+l*j,e.setFocalPoint(F),e.setPosition(B),e.setRoll(T),e.computeMatrix(),!(Nt.e.dist(F,u)+Nt.e.dist(B,s)>.01))return e.setFocalPoint(F),e.setPosition(B),e.setRoll(T),e.computeMatrix(),void e.interactor.connect();I-1&&t%1==0&&t<=9007199254740991}(n.length)&&!!Fn[Wv.call(n)]};function nf(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function of(n){for(var t=1;t0&&l[0]!==void 0?l[0]:1,!this.dirty){d.next=6;break}return this.compiledBundle.context&&(a>1?this.compiledBundle.context.maxIteration=a:this.compiledBundle.context.maxIteration++),d.next=5,this.compile();case 5:this.dirty=!1;case 6:for(this.engine.beginFrame(),this.engine.clear({}),this.compiledBundle.context&&this.compiledBundle.context.uniforms.filter(function(v){return v.isReferer}).forEach(function(v){var k=v.data,T=v.name;u.model.confirmInput(k.model,T)}),s=0;s-1&&t%1==0&&t<=9007199254740991}(n.length)&&!!zn[n0.call(n)]};function Tf(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function If(n){for(var t=1;t16)throw new Error("invalid data type ".concat(T));a[k]=function(){return v.data}}});var s=this.getOuputDataTexture(),u=s.textureWidth,l=s.texelCount;a.u_OutputTextureSize=[u,u],a.u_OutputTexelCount=l,this.context.output.textureSize=[u,u];var d={attributes:{a_Position:[[-1,1,0],[-1,-1,0],[1,1,0],[1,-1,0]],a_TexCoord:[[0,1],[0,0],[1,1],[1,0]]},frag:`#ifdef GL_FRAGMENT_PRECISION_HIGH +`.concat(sl))}function Jg(n,t){var e=String(n);if(e.length<=t)return e.padEnd(t," ");var r=n.toPrecision(t-2);if(r.length<=t)return r;var i=n.toExponential(t-2),a=i.indexOf("e"),s=i.slice(a);return i.slice(0,t-s.length)+s}function Cu(n){return(Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function mo(n,t,e){var r=e?n.rows:n.rows-1;if(t<0||t>r)throw new RangeError("Row index out of range")}function bo(n,t,e){var r=e?n.columns:n.columns-1;if(t<0||t>r)throw new RangeError("Column index out of range")}function ya(n,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==n.columns)throw new RangeError("vector size must be the same as the number of columns");return t}function ma(n,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==n.rows)throw new RangeError("vector size must be the same as the number of rows");return t}function ev(n,t){if(Cu(t)!=="object")throw new TypeError("unexpected type for row indices");if(t.some(function(e){return e<0||e>=n.rows}))throw new RangeError("row indices are out of range");return Array.isArray(t)||(t=Array.from(t)),t}function tv(n,t){if(Cu(t)!=="object")throw new TypeError("unexpected type for column indices");if(t.some(function(e){return e<0||e>=n.columns}))throw new RangeError("column indices are out of range");return Array.isArray(t)||(t=Array.from(t)),t}function cl(n,t,e,r,i){if(arguments.length!==5)throw new RangeError("expected 4 arguments");if(As("startRow",t),As("endRow",e),As("startColumn",r),As("endColumn",i),t>e||r>i||t<0||t>=n.rows||e<0||e>=n.rows||r<0||r>=n.columns||i<0||i>=n.columns)throw new RangeError("Submatrix indices are out of range")}function ks(n){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=[],r=0;rr?(a=!0,r=e):(i=!1,a=!0);t++}return i}},{key:"isReducedEchelonForm",value:function(){for(var t=0,e=0,r=-1,i=!0,a=!1;tr?(a=!0,r=e):(i=!1,a=!0);for(var s=e+1;st.get(i,r)&&(i=a);if(t.get(i,r)===0)r++;else{t.swapRows(e,i);for(var s=t.get(e,r),u=r;u=0;)if(t.maxRow(i)===0)i--;else{for(var a=0,s=!1;a0&&arguments[0]!==void 0?arguments[0]:{};if(to(t)!=="object")throw new TypeError("options must be an object");var e=t.rows,r=e===void 0?1:e,i=t.columns,a=i===void 0?1:i;if(!Number.isInteger(r)||r<=0)throw new TypeError("rows must be a positive integer");if(!Number.isInteger(a)||a<=0)throw new TypeError("columns must be a positive integer");for(var s=new zr(this.rows*r,this.columns*a),u=0;ut&&(t=this.get(e,r));return t}},{key:"maxIndex",value:function(){ba(this);for(var t=this.get(0,0),e=[0,0],r=0;rt&&(t=this.get(r,i),e[0]=r,e[1]=i);return e}},{key:"min",value:function(){if(this.isEmpty())return NaN;for(var t=this.get(0,0),e=0;ee&&(e=this.get(t,r));return e}},{key:"maxRowIndex",value:function(t){mo(this,t),ba(this);for(var e=this.get(t,0),r=[t,0],i=1;ie&&(e=this.get(t,i),r[1]=i);return r}},{key:"minRow",value:function(t){if(mo(this,t),this.isEmpty())return NaN;for(var e=this.get(t,0),r=1;re&&(e=this.get(r,t));return e}},{key:"maxColumnIndex",value:function(t){bo(this,t),ba(this);for(var e=this.get(0,t),r=[0,t],i=1;ie&&(e=this.get(i,t),r[0]=i);return r}},{key:"minColumn",value:function(t){if(bo(this,t),this.isEmpty())return NaN;for(var e=this.get(0,t),r=1;r0&&arguments[0]!==void 0?arguments[0]:"frobenius",e=0;if(t==="max")return this.max();if(t==="frobenius"){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:{};if(to(t)!=="object")throw new TypeError("options must be an object");var e=t.min,r=e===void 0?0:e,i=t.max,a=i===void 0?1:i;if(!Number.isFinite(r))throw new TypeError("min must be a number");if(!Number.isFinite(a))throw new TypeError("max must be a number");if(r>=a)throw new RangeError("min must be smaller than max");for(var s=new zr(this.rows,this.columns),u=0;u0&&al(l,{min:r,max:a,output:l}),s.setRow(u,l)}return s}},{key:"scaleColumns",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(to(t)!=="object")throw new TypeError("options must be an object");var e=t.min,r=e===void 0?0:e,i=t.max,a=i===void 0?1:i;if(!Number.isFinite(r))throw new TypeError("min must be a number");if(!Number.isFinite(a))throw new TypeError("max must be a number");if(r>=a)throw new RangeError("min must be smaller than max");for(var s=new zr(this.rows,this.columns),u=0;u0&&arguments[0]!==void 0?arguments[0]:gl,e=0;e0&&arguments[0]!==void 0?arguments[0]:gl,e=0;er||e<0||e>=this.columns||r<0||r>=this.columns)throw new RangeError("Argument out of range");for(var i=new zr(t.length,r-e+1),a=0;a=this.rows)throw new RangeError("Row index out of range: ".concat(t[a]));i.set(a,s-e,this.get(t[a],s))}return i}},{key:"subMatrixColumn",value:function(t,e,r){if(e===void 0&&(e=0),r===void 0&&(r=this.rows-1),e>r||e<0||e>=this.rows||r<0||r>=this.rows)throw new RangeError("Argument out of range");for(var i=new zr(r-e+1,t.length),a=0;a=this.columns)throw new RangeError("Column index out of range: ".concat(t[a]));i.set(s-e,a,this.get(s,t[a]))}return i}},{key:"setSubMatrix",value:function(t,e,r){if((t=zr.checkMatrix(t)).isEmpty())return this;cl(this,e,e+t.rows-1,r,r+t.columns-1);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{};if(to(t)==="object"&&(e=t,t=void 0),to(e)!=="object")throw new TypeError("options must be an object");var r=e,i=r.unbiased,a=i===void 0||i,s=r.mean,u=s===void 0?this.mean(t):s;if(typeof a!="boolean")throw new TypeError("unbiased must be a boolean");switch(t){case"row":if(!Array.isArray(u))throw new TypeError("mean must be an array");return rv(this,a,u);case"column":if(!Array.isArray(u))throw new TypeError("mean must be an array");return nv(this,a,u);case void 0:if(typeof u!="number")throw new TypeError("mean must be a number");return iv(this,a,u);default:throw new Error("invalid option: ".concat(t))}}},{key:"standardDeviation",value:function(t,e){to(t)==="object"&&(e=t,t=void 0);var r=this.variance(t,e);if(t===void 0)return Math.sqrt(r);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{};if(to(t)==="object"&&(e=t,t=void 0),to(e)!=="object")throw new TypeError("options must be an object");var r=e,i=r.center,a=i===void 0?this.mean(t):i;switch(t){case"row":if(!Array.isArray(a))throw new TypeError("center must be an array");return ov(this,a),this;case"column":if(!Array.isArray(a))throw new TypeError("center must be an array");return av(this,a),this;case void 0:if(typeof a!="number")throw new TypeError("center must be a number");return sv(this,a),this;default:throw new Error("invalid option: ".concat(t))}}},{key:"scale",value:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(to(t)==="object"&&(e=t,t=void 0),to(e)!=="object")throw new TypeError("options must be an object");var r=e.scale;switch(t){case"row":if(r===void 0)r=uv(this);else if(!Array.isArray(r))throw new TypeError("scale must be an array");return cv(this,r),this;case"column":if(r===void 0)r=lv(this);else if(!Array.isArray(r))throw new TypeError("scale must be an array");return fv(this,r),this;case void 0:if(r===void 0)r=hv(this);else if(typeof r!="number")throw new TypeError("scale must be a number");return dv(this,r),this;default:throw new Error("invalid option: ".concat(t))}}},{key:"toString",value:function(t){return ul(this,t)}}],[{key:"from1DArray",value:function(t,e,r){if(t*e!==r.length)throw new RangeError("data length does not match given dimensions");for(var i=new zr(t,e),a=0;a2&&arguments[2]!==void 0?arguments[2]:{};if(to(r)!=="object")throw new TypeError("options must be an object");for(var i=r.random,a=i===void 0?Math.random:i,s=new zr(t,e),u=0;u2&&arguments[2]!==void 0?arguments[2]:{};if(to(r)!=="object")throw new TypeError("options must be an object");var i=r.min,a=i===void 0?0:i,s=r.max,u=s===void 0?1e3:s,l=r.random,d=l===void 0?Math.random:l;if(!Number.isInteger(a))throw new TypeError("min must be an integer");if(!Number.isInteger(u))throw new TypeError("max must be an integer");if(a>=u)throw new RangeError("min must be smaller than max");for(var v=u-a,k=new zr(t,e),T=0;T=0){if(a.data=[],!(Number.isInteger(i)&&i>=0))throw new TypeError("nColumns must be a positive integer");for(var s=0;s>n);return this},Bt.prototype.signPropagatingRightShiftM=function(n){if(n=Pr.checkMatrix(n),this.rows!==n.rows||this.columns!==n.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t>n.get(t,e));return this},Bt.signPropagatingRightShift=function(n,t){return new Pr(n).signPropagatingRightShift(t)},Bt.prototype.rightShift=function(n){return typeof n=="number"?this.rightShiftS(n):this.rightShiftM(n)},Bt.prototype.rightShiftS=function(n){for(var t=0;t>>n);return this},Bt.prototype.rightShiftM=function(n){if(n=Pr.checkMatrix(n),this.rows!==n.rows||this.columns!==n.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t>>n.get(t,e));return this},Bt.rightShift=function(n,t){return new Pr(n).rightShift(t)},Bt.prototype.zeroFillRightShift=Bt.prototype.rightShift,Bt.prototype.zeroFillRightShiftS=Bt.prototype.rightShiftS,Bt.prototype.zeroFillRightShiftM=Bt.prototype.rightShiftM,Bt.zeroFillRightShift=Bt.rightShift,Bt.prototype.not=function(){for(var n=0;nMath.abs(t)?(e=t/n,Math.abs(n)*Math.sqrt(1+e*e)):t!==0?(e=n/t,Math.abs(t)*Math.sqrt(1+e*e)):0}function mv(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(n,t){for(var e=0;e1&&arguments[1]!==void 0?arguments[1]:{};if(mv(this,n),(i=yv.checkMatrix(i)).isEmpty())throw new Error("Matrix must be non-empty");var s,u=i.rows,l=i.columns,d=a.computeLeftSingularVectors,v=d===void 0||d,k=a.computeRightSingularVectors,T=k===void 0||k,I=a.autoTranspose,j=I!==void 0&&I,F=Boolean(v),G=Boolean(T),V=!1;if(u=0;Yr--)if(de[Yr]!==0){for(var Cr=Yr+1;Cr<$;Cr++){for(var Tr=0,Zr=Yr;Zr=0;Wr--){if(Wr0;){var wr=void 0,vn=void 0;for(wr=hr-2;wr>=-1&&wr!==-1;wr--){var $n=Number.MIN_VALUE+no*Math.abs(de[wr]+Math.abs(de[wr+1]));if(Math.abs(Ee[wr])<=$n||Number.isNaN(Ee[wr])){Ee[wr]=0;break}}if(wr===hr-2)vn=4;else{var _n=void 0;for(_n=hr-1;_n>=wr&&_n!==wr;_n--){var Ni=(_n!==hr?Math.abs(Ee[_n]):0)+(_n!==wr+1?Math.abs(Ee[_n-1]):0);if(Math.abs(de[_n])<=no*Ni){de[_n]=0;break}}_n===wr?vn=3:_n===hr-1?vn=1:(vn=2,wr=_n)}switch(wr++,vn){case 1:var go=Ee[hr-2];Ee[hr-2]=0;for(var xi=hr-2;xi>=wr;xi--){var _o=xa(de[xi],go),Ca=de[xi]/_o,Ta=go/_o;if(de[xi]=_o,xi!==wr&&(go=-Ta*Ee[xi-1],Ee[xi-1]=Ca*Ee[xi-1]),G)for(var So=0;So=de[wr+1]);){var vs=de[wr];if(de[wr]=de[wr+1],de[wr+1]=vs,G&&wra&&l.set(d,v,i.get(d,v)/this.s[v]);for(var k=this.U,T=k.rows,I=k.columns,j=new zr(s,T),F=0;Fi&&a++;return a}},{key:"diagonal",get:function(){return Array.from(this.s)}},{key:"threshold",get:function(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}},{key:"leftSingularVectors",get:function(){return this.U}},{key:"rightSingularVectors",get:function(){return this.V}},{key:"diagonalMatrix",get:function(){return zr.diag(this.s)}}])&&bl(t.prototype,e),r&&bl(t,r),n}();function wl(n,t){for(var e=0;eI?1:-1;j=.01*V,F=.01*V}if(GMath.PI/2&&($-=Math.PI/2,G*=-1,V*=-1);var ve=Math.cos($)*q;k.x=G*ve,k.y=V*ve});var v=this.radii;i.forEach(function(k,T){if(T!==l){var I=Math.sqrt(a[T].x*a[T].x+a[T].y*a[T].y);if(I>0&&T!==l){var j=Math.min(d*(s/800),I);if(k[0]+=a[T].x/I*j,k[1]+=a[T].y/I*j,u){var F=k[0]-i[l][0],G=k[1]-i[l][1],V=Math.sqrt(F*F+G*G);F=F/V*v[T],G=G/V*v[T],k[0]=i[l][0]+F,k[1]=i[l][1]+G}}}})}}])&&_l(t.prototype,e),r&&_l(t,r),n}();function Sl(n){return(Sl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function wv(n){return function(t){if(Array.isArray(t))return ju(t)}(n)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(n)||function(t,e){if(!!t){if(typeof t=="string")return ju(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ju(t,e)}}(n)||function(){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 ju(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);ed[0]?d[0]:me-d[0],Pe=Ie-d[1]>d[1]?d[1]:Ie-d[1];Ee===0&&(Ee=me/2),Pe===0&&(Pe=Ie/2);var Ze=Pe>Ee?Ee:Pe,it=Math.max.apply(Math,wv(de)),ct=[];de.forEach(function(Gt,lr){s.unitRadius||(s.unitRadius=Ze/it),ct[lr]=Gt*s.unitRadius}),s.radii=ct;var st=s.eIdealDisMatrix();s.eIdealDistances=st;var jt=function(Gt){for(var lr=Gt.length,Br=Gt[0].length,wn=[],Sr=0;SrZt[1]?Zt[0]:Zt[1])+Vt(Gt)}:function(Gt){return Zt+Vt(Gt)}:function(Gt){return Gt.size?ji(Gt.size)?(Gt.size[0]>Gt.size[1]?Gt.size[0]:Gt.size[1])+Vt(Gt):Co(Gt.size)?(Gt.size.width>Gt.size.height?Gt.size.width:Gt.size.height)+Vt(Gt):Gt.size+Vt(Gt):10+Vt(Gt)};var qt={nodes:u,nodeSizeFunc:Pt,adjMatrix:q,positions:gt,radii:ct,height:Ie,width:me,strictRadial:Ct,focusID:V,iterations:s.maxPreventOverlapIteration||200,k:gt.length/4.5},$t=new xv(qt);gt=$t.layout()}return gt.forEach(function(Gt,lr){u[lr].x=Gt[0]+d[0],u[lr].y=Gt[1]+d[1]}),s.onLayoutEnd&&s.onLayoutEnd(),{nodes:u,edges:l}}s.onLayoutEnd&&s.onLayoutEnd()}},{key:"run",value:function(){for(var s=this.maxIteration,u=this.positions||[],l=this.weights||[],d=this.eIdealDistances||[],v=this.radii||[],k=0;k<=s;k++){var T=k/s;this.oneIteration(T,u,v,d,l)}}},{key:"oneIteration",value:function(s,u,l,d,v){var k=1-s,T=this.focusIndex;u.forEach(function(I,j){var F=Ml(I,[0,0]),G=F===0?0:1/F;if(j!==T){var V=0,q=0,$=0;u.forEach(function(de,me){if(j!==me){var Ie=Ml(I,de),Ee=Ie===0?0:1/Ie,Pe=d[me][j];$+=v[j][me],V+=v[j][me]*(de[0]+Pe*(I[0]-de[0])*Ee),q+=v[j][me]*(de[1]+Pe*(I[1]-de[1])*Ee)}});var ve=l[j]===0?0:1/l[j];$*=k,$+=s*ve*ve,V*=k,V+=s*ve*I[0]*G,I[0]=V/$,q*=k,q+=s*ve*I[1]*G,I[1]=q/$}})}},{key:"eIdealDisMatrix",value:function(){var s=this,u=s.nodes;if(!u)return[];var l=s.distances,d=s.linkDistance,v=s.radii||[],k=s.unitRadius||50,T=[];return l&&l.forEach(function(I,j){var F=[];I.forEach(function(G,V){if(j===V)F.push(0);else if(v[j]===v[V])if(s.sortBy==="data")F.push(G*(Math.abs(j-V)*s.sortStrength)/(v[j]/k));else if(s.sortBy){var q=u[j][s.sortBy]||0,$=u[V][s.sortBy]||0;Fa(q)&&(q=q.charCodeAt(0)),Fa($)&&($=$.charCodeAt(0)),F.push(G*(Math.abs(q-$)*s.sortStrength)/(v[j]/k))}else F.push(G*d/(v[j]/k));else{var ve=(d+k)/2;F.push(G*ve)}}),T.push(F)}),T}},{key:"handleInfinity",value:function(s,u,l){for(var d=s.length,v=0;vl?s[u][d]:l);return l}},{key:"getType",value:function(){return"radial"}}])&&El(t.prototype,e),r&&El(t,r),a}(Xi);function kl(n){return(kl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Al(n,t){for(var e=0;e0){var it=Math.abs(V[0][s.sortBy]-Ze[s.sortBy]);s.maxLevelDiff&&it>=s.maxLevelDiff&&(V=[],G.push(V))}V.push(Ze)});var q=k+s.minNodeSpacing;if(!s.preventOverlap){var $=G.length>0&&G[0].length>1,ve=(Math.min(s.width,s.height)/2-q)/(G.length+($?1:0));q=Math.min(q,ve)}var de=0;if(G.forEach(function(Ze){var it=s.sweep;it===void 0&&(it=2*Math.PI-2*Math.PI/Ze.length);var ct=Ze.dTheta=it/Math.max(1,Ze.length-1);if(Ze.length>1&&s.preventOverlap){var st=Math.cos(ct)-Math.cos(0),jt=Math.sin(ct)-Math.sin(0),gt=Math.sqrt(q*q/(st*st+jt*jt));de=Math.max(gt,de)}Ze.r=de,de+=q}),s.equidistant){for(var me=0,Ie=0,Ee=0;Ee0){var ct=Math.min(T*(G/800),it);Pe.x+=de[Ze].x/it*ct,Pe.y+=de[Ze].y/it*ct}}}),s.tick&&s.tick(),++ve>=d&&(s.onLayoutEnd&&s.onLayoutEnd(),window.clearInterval(s.timeInterval))}},0),{nodes:u,edges:l}}}}},{key:"applyCalculate",value:function(s,u,l,d,v){this.calRepulsive(s,l,v),u&&this.calAttractive(u,l,d)}},{key:"calRepulsive",value:function(s,u,l){s.forEach(function(d,v){u[v]={x:0,y:0},s.forEach(function(k,T){if(v!==T&&cr(d.x)&&cr(k.x)&&cr(d.y)&&cr(k.y)){var I=d.x-k.x,j=d.y-k.y,F=I*I+j*j;if(F===0){F=1;var G=v>T?1:-1;I=.01*G,j=.01*G}var V=l/F;u[v].x+=I*V,u[v].y+=j*V}})})}},{key:"calAttractive",value:function(s,u,l){var d=this;s.forEach(function(v){var k=fn(v,"source"),T=fn(v,"target");if(k&&T){var I=d.nodeIdxMap[k],j=d.nodeIdxMap[T];if(I!==j){var F=d.nodeMap[k],G=d.nodeMap[T];if(cr(G.x)&&cr(F.x)&&cr(G.y)&&cr(F.y)){var V=G.x-F.x,q=G.y-F.y,$=Math.sqrt(V*V+q*q),ve=$*$/l;u[j].x-=V/$*ve,u[j].y-=q/$*ve,u[I].x+=V/$*ve,u[I].y+=q/$*ve}}}})}},{key:"stop",value:function(){this.timeInterval&&typeof window!="undefined"&&window.clearInterval(this.timeInterval)}},{key:"destroy",value:function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0}},{key:"getType",value:function(){return"fruchterman"}}])&&Nl(t.prototype,e),r&&Nl(t,r),a}(Xi),Nv=o(10),Pn=o.n(Nv),Dv=o(6),hn=o.n(Dv),Rv=o(7),dn=o.n(Rv),Lv=o(11),Nn=o.n(Lv),rt=(o(29),o(3)),Ar=o(5);function Lu(n){return typeof n=="number"}function Bo(n){return n===void 0?0:n>360||n<-360?n%360:n}function sa(n,t,e){return Lu(n)?Nt.e.fromValues(n,t,e):n.length===3?Nt.e.clone(n):Nt.e.fromValues(n[0],n[1],n[2])}var Rl,Ll,Bl,Bu,Gl,Fl,zl,kn,Cs,ua,Ul=function(){function n(t,e){hn()(this,n),this.name=void 0,this.matrix=void 0,this.right=void 0,this.up=void 0,this.forward=void 0,this.position=void 0,this.focalPoint=void 0,this.distanceVector=void 0,this.distance=void 0,this.dollyingStep=void 0,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.name=t,this.matrix=Nt.b.clone(e.matrix),this.right=Nt.e.clone(e.right),this.up=Nt.e.clone(e.up),this.forward=Nt.e.clone(e.forward),this.position=Nt.e.clone(e.position),this.focalPoint=Nt.e.clone(e.focalPoint),this.distanceVector=Nt.e.clone(e.distanceVector),this.azimuth=e.azimuth,this.elevation=e.elevation,this.roll=e.roll,this.relAzimuth=e.relAzimuth,this.relElevation=e.relElevation,this.relRoll=e.relRoll,this.dollyingStep=e.dollyingStep,this.distance=e.distance}return dn()(n,[{key:"getPosition",value:function(){return this.position}},{key:"getFocalPoint",value:function(){return this.focalPoint}},{key:"getRoll",value:function(){return this.roll}},{key:"retrieve",value:function(t){t.matrix=Nt.b.copy(t.matrix,this.matrix),t.right=Nt.e.copy(t.right,this.right),t.up=Nt.e.copy(t.up,this.up),t.forward=Nt.e.copy(t.forward,this.forward),t.position=Nt.e.copy(t.position,this.position),t.focalPoint=Nt.e.copy(t.focalPoint,this.focalPoint),t.distanceVector=Nt.e.copy(t.distanceVector,this.distanceVector),t.azimuth=this.azimuth,t.elevation=this.elevation,t.roll=this.roll,t.relAzimuth=this.relAzimuth,t.relElevation=this.relElevation,t.relRoll=this.relRoll,t.dollyingStep=this.dollyingStep,t.distance=this.distance}}]),n}();(function(n){n.ORBITING="ORBITING",n.EXPLORING="EXPLORING",n.TRACKING="TRACKING"})(kn||(kn={})),function(n){n.DEFAULT="DEFAULT",n.ROTATIONAL="ROTATIONAL",n.TRANSLATIONAL="TRANSLATIONAL",n.CINEMATIC="CINEMATIC"}(Cs||(Cs={})),function(n){n.ORTHOGRAPHIC="ORTHOGRAPHIC",n.PERSPECTIVE="PERSPECTIVE"}(ua||(ua={}));var Vl,Wl,Xl,Gu,Yl,Ha,Hl,Go=Math.PI/180,wa=180/Math.PI,ql=(Rl=Object(Ar.injectable)(),Ll=Object(Ar.inject)(rt.IDENTIFIER.InteractorService),Rl((zl=Fl=function(){function n(){hn()(this,n),this.matrix=Nt.b.create(),this.right=Nt.e.fromValues(1,0,0),this.up=Nt.e.fromValues(0,1,0),this.forward=Nt.e.fromValues(0,0,1),this.position=Nt.e.fromValues(0,0,1),this.focalPoint=Nt.e.fromValues(0,0,0),this.distanceVector=Nt.e.fromValues(0,0,0),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.rotateWorld=!1,Pn()(this,"interactor",Gl,this),this.fov=30,this.near=.1,this.far=1e4,this.aspect=1,this.left=void 0,this.rright=void 0,this.top=void 0,this.bottom=void 0,this.zoom=1,this.perspective=Nt.b.create(),this.view=void 0,this.following=void 0,this.type=kn.EXPLORING,this.trackingMode=Cs.DEFAULT,this.projectionMode=ua.PERSPECTIVE,this.frustum=new rt.Frustum,this.landmarks=[],this.landmarkAnimationID=void 0}return dn()(n,[{key:"clone",value:function(){var t=new n;return t.setType(this.type,void 0),t.interactor=this.interactor,t}},{key:"getProjectionMode",value:function(){return this.projectionMode}},{key:"getPerspective",value:function(){return this.perspective}},{key:"getFrustum",value:function(){return this.frustum}},{key:"getPosition",value:function(){return this.position}},{key:"setType",value:function(t,e){return this.type=t,this.type===kn.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===kn.TRACKING&&e!==void 0&&this.setTrackingMode(e),this}},{key:"setProjectionMode",value:function(t){return this.projectionMode=t,this}},{key:"setTrackingMode",value:function(t){if(this.type!==kn.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this}},{key:"setWorldRotation",value:function(t){this.rotateWorld=t,this._getAngles()}},{key:"getViewTransform",value:function(){return Nt.b.invert(Nt.b.create(),this.matrix)}},{key:"getWorldTransform",value:function(){return this.matrix}},{key:"setMatrix",value:function(t){return this.matrix=t,this._update(),this}},{key:"setAspect",value:function(t){return this.setPerspective(this.near,this.far,this.fov,t),this}},{key:"setViewOffset",value:function(t,e,r,i,a,s){return this.aspect=t/e,this.view===void 0&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=r,this.view.offsetY=i,this.view.width=a,this.view.height=s,this.projectionMode===ua.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this}},{key:"clearViewOffset",value:function(){return this.view!==void 0&&(this.view.enabled=!1),this.projectionMode===ua.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this}},{key:"setPerspective",value:function(t,e,r,i){return this.projectionMode=ua.PERSPECTIVE,this.fov=r,this.near=t,this.far=e,this.aspect=i,Nt.b.perspective(this.perspective,this.fov*Go,this.aspect,this.near,this.far),this}},{key:"setOrthographic",value:function(t,e,r,i,a,s){this.projectionMode=ua.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=r,this.bottom=i,this.near=a,this.far=s;var u=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),d=(this.rright+this.left)/2,v=(this.top+this.bottom)/2,k=d-u,T=d+u,I=v+l,j=v-l;if(this.view!==void 0&&this.view.enabled){var F=(this.rright-this.left)/this.view.fullWidth/this.zoom,G=(this.top-this.bottom)/this.view.fullHeight/this.zoom;T=(k+=F*this.view.offsetX)+F*this.view.width,j=(I-=G*this.view.offsetY)-G*this.view.height}return Nt.b.ortho(this.perspective,k,T,I,j,a,s),this}},{key:"setPosition",value:function(t,e,r){return this._setPosition(t,e,r),this.setFocalPoint(this.focalPoint),this}},{key:"setFocalPoint",value:function(t,e,r){var i=Nt.e.fromValues(0,1,0);if(this.focalPoint=sa(t,e,r),this.trackingMode===Cs.CINEMATIC){var a=Nt.e.subtract(Nt.e.create(),this.focalPoint,this.position);t=a[0],e=a[1],r=a[2];var s=Nt.e.length(a),u=Math.asin(e/s)*wa,l=90+Math.atan2(r,t)*wa,d=Nt.b.create();Nt.b.rotateY(d,d,l*Go),Nt.b.rotateX(d,d,u*Go),i=Nt.e.transformMat4(Nt.e.create(),[0,1,0],d)}return Nt.b.invert(this.matrix,Nt.b.lookAt(Nt.b.create(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this}},{key:"setDistance",value:function(t){if(!(this.distance===t||t<0)){this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=Nt.e.create();t=this.distance;var r=this.forward,i=this.focalPoint;return e[0]=t*r[0]+i[0],e[1]=t*r[1]+i[1],e[2]=t*r[2]+i[2],this._setPosition(e),this}}},{key:"setMaxDistance",value:function(t){return this.maxDistance=t,this}},{key:"setMinDistance",value:function(t){return this.minDistance=t,this}},{key:"changeAzimuth",value:function(t){return this.setAzimuth(this.azimuth+t),this}},{key:"changeElevation",value:function(t){return this.setElevation(this.elevation+t),this}},{key:"changeRoll",value:function(t){return this.setRoll(this.roll+t),this}},{key:"setAzimuth",value:function(t){return this.azimuth=Bo(t),this.computeMatrix(),this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this}},{key:"getAzimuth",value:function(){return this.azimuth}},{key:"setElevation",value:function(t){return this.elevation=Bo(t),this.computeMatrix(),this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this}},{key:"setRoll",value:function(t){return this.roll=Bo(t),this.computeMatrix(),this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this}},{key:"rotate",value:function(t,e,r){if(this.type===kn.EXPLORING){t=Bo(t),e=Bo(e),r=Bo(r);var i=Nt.c.setAxisAngle(Nt.c.create(),[1,0,0],(this.rotateWorld?1:-1)*e*Go),a=Nt.c.setAxisAngle(Nt.c.create(),[0,1,0],(this.rotateWorld?1:-1)*t*Go),s=Nt.c.setAxisAngle(Nt.c.create(),[0,0,1],r*Go),u=Nt.c.multiply(Nt.c.create(),a,i);u=Nt.c.multiply(Nt.c.create(),u,s);var l=Nt.b.fromQuat(Nt.b.create(),u);Nt.b.translate(this.matrix,this.matrix,[0,0,-this.distance]),Nt.b.multiply(this.matrix,this.matrix,l),Nt.b.translate(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation+e)>90)return;this.relElevation=Bo(e),this.relAzimuth=Bo(t),this.relRoll=Bo(r),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.computeMatrix()}return this._getAxes(),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getPosition():this.type===kn.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(t,e){var r=sa(t,e,0),i=Nt.e.clone(this.position);return Nt.e.add(i,i,Nt.e.scale(Nt.e.create(),this.right,r[0])),Nt.e.add(i,i,Nt.e.scale(Nt.e.create(),this.up,r[1])),this._setPosition(i),this}},{key:"dolly",value:function(t){var e=this.forward,r=Nt.e.clone(this.position),i=this.dollyingStep,a=this.distance+t*this.dollyingStep;return i=Math.max(Math.min(a,this.maxDistance),this.minDistance)-this.distance,r[0]+=i*e[0],r[1]+=i*e[1],r[2]+=i*e[2],this._setPosition(r),this.type===kn.ORBITING||this.type===kn.EXPLORING?this._getDistance():this.type===kn.TRACKING&&Nt.e.add(this.focalPoint,r,this.distanceVector),this}},{key:"createLandmark",value:function(t,e){var r=this.clone();r.setPosition(e.position),r.setFocalPoint(e.focalPoint),e.roll!==void 0&&r.setRoll(e.roll);var i=new Ul(t,r);return this.landmarks.push(i),i}},{key:"setLandmark",value:function(t){var e=new Ul(t,this);return this.landmarks.push(e),this}},{key:"gotoLandmark",value:function(t){var e=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3,i=this.landmarks.find(function(v){return v.name===t});if(i){if(r===0)return void i.retrieve(this);this.landmarkAnimationID!==void 0&&window.cancelAnimationFrame(this.landmarkAnimationID),this.interactor.disconnect();var a,s=i.getPosition(),u=i.getFocalPoint(),l=i.getRoll(),d=function v(k){a===void 0&&(a=k);var T,I=k-a,j=(1-Math.cos(I/r*Math.PI))/2,F=Nt.e.create(),G=Nt.e.create();if(Nt.e.lerp(F,e.focalPoint,u,j),Nt.e.lerp(G,e.position,s,j),T=e.roll*(1-j)+l*j,e.setFocalPoint(F),e.setPosition(G),e.setRoll(T),e.computeMatrix(),!(Nt.e.dist(F,u)+Nt.e.dist(G,s)>.01))return e.setFocalPoint(F),e.setPosition(G),e.setRoll(T),e.computeMatrix(),void e.interactor.connect();I-1&&t%1==0&&t<=9007199254740991}(n.length)&&!!Fn[Wv.call(n)]};function nf(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function of(n){for(var t=1;t0&&l[0]!==void 0?l[0]:1,!this.dirty){d.next=6;break}return this.compiledBundle.context&&(a>1?this.compiledBundle.context.maxIteration=a:this.compiledBundle.context.maxIteration++),d.next=5,this.compile();case 5:this.dirty=!1;case 6:for(this.engine.beginFrame(),this.engine.clear({}),this.compiledBundle.context&&this.compiledBundle.context.uniforms.filter(function(v){return v.isReferer}).forEach(function(v){var k=v.data,T=v.name;u.model.confirmInput(k.model,T)}),s=0;s-1&&t%1==0&&t<=9007199254740991}(n.length)&&!!zn[n0.call(n)]};function Tf(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function If(n){for(var t=1;t16)throw new Error("invalid data type ".concat(T));a[k]=function(){return v.data}}});var s=this.getOuputDataTexture(),u=s.textureWidth,l=s.texelCount;a.u_OutputTextureSize=[u,u],a.u_OutputTexelCount=l,this.context.output.textureSize=[u,u];var d={attributes:{a_Position:[[-1,1,0],[-1,-1,0],[1,1,0],[1,-1,0]],a_TexCoord:[[0,1],[0,0],[1,1],[1,0]]},frag:`#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; #else precision mediump float; @@ -254,18 +254,18 @@ varying vec2 v_TexCoord; void main() { gl_Position = vec4(a_Position, 1.0); v_TexCoord = a_TexCoord; -}`,primitive:"triangle strip",count:4};this.computeCommand=this.reGl(d)}var t;return dn()(n,[{key:"run",value:function(){var e=this;this.context.maxIteration>1&&this.context.needPingpong&&(this.compiledPingpong=!0),(this.compiledPingpong||this.dynamicPingpong)&&this.swap(),this.texFBO=this.reGl.framebuffer({color:this.getOuputDataTexture().texture}),this.texFBO.use(function(){e.computeCommand()})}},{key:"readData",value:(t=ti()(Hr.a.mark(function e(){var r,i,a,s,u,l,d,v,k=this;return Hr.a.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){r=k.reGl.read()}),!r){T.next=6;break}if(i=this.getOuputDataTexture(),a=i.originalDataLength,s=i.elementsPerTexel,u=i.typedArrayConstructor,l=u===void 0?Float32Array:u,d=[],s!==4)for(v=0;v1&&this.context.needPingpong&&(this.compiledPingpong=!0),(this.compiledPingpong||this.dynamicPingpong)&&this.swap(),this.texFBO=this.reGl.framebuffer({color:this.getOuputDataTexture().texture}),this.texFBO.use(function(){e.computeCommand()})}},{key:"readData",value:(t=ti()(Hr.a.mark(function e(){var r,i,a,s,u,l,d,v,k=this;return Hr.a.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){r=k.reGl.read()}),!r){T.next=6;break}if(i=this.getOuputDataTexture(),a=i.originalDataLength,s=i.elementsPerTexel,u=i.typedArrayConstructor,l=u===void 0?Float32Array:u,d=[],s!==4)for(v=0;v0){var H=4-U;if(B>1&&B<=H)B===2&&(H===3&&(v+=4,k.push(0)),k.push.apply(k,ui()(j.data)),T.uniformGPUBufferLayout.push({name:j.name,offset:v}));else{for(var Q=0;Q2&&arguments[2]!==void 0?arguments[2]:0,u=this.vertexBuffers[i];u&&u.subData({data:a,offset:s})}},{key:"updateUniform",value:function(i,a){var s=this.uniformGPUBufferLayout.find(function(u){return u.name===i});s&&this.uniformBuffer.subData({data:Number.isFinite(a)?new Float32Array([a]):new Float32Array(a),offset:s.offset})}},{key:"confirmInput",value:function(i,a){var s=this.vertexBuffers[a],u=i.outputBuffer;if(s&&u&&s!==u){var l=this.engine.device.createCommandEncoder(),d=i.context.output,v=d.length*d.typedArrayConstructor.BYTES_PER_ELEMENT;l.copyBufferToBuffer(u.get(),0,s.get(),0,v),(rt.isSafari?this.engine.device.getQueue():this.engine.device.defaultQueue).submit([l.finish()])}}},{key:"compileShaderToSpirV",value:function(i,a,s){return this.compileRawShaderToSpirV(s+i,a)}},{key:"compileRawShaderToSpirV",value:function(i,a){return this.engine.glslang.compileGLSL(i,a)}},{key:"compileComputePipelineStageDescriptor",value:(t=ti()(Hr.a.mark(function i(a){var s;return Hr.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(s=a,this.engine.options.useWGSL){u.next=6;break}return u.next=5,this.compileShaderToSpirV(a,"compute",`#version 450 -`);case 5:s=u.sent;case 6:return u.abrupt("return",{computeStage:{module:this.engine.device.createShaderModule({code:s,isWHLSL:rt.isSafari}),entryPoint:"main"}});case 7:case"end":return u.stop()}},i,this)})),function(i){return t.apply(this,arguments)})}]),n}(),g0=function(){function n(t,e){hn()(this,n),this.engine=t,this.options=e,this.indexCount=void 0,this.buffer=void 0;var r=e,i=r.data,a=(r.usage,r.type,r.count);this.indexCount=a||0,this.buffer=new Oa(t,{data:i instanceof Array?new Uint16Array(i):i,usage:Jt.BufferUsage.Index|Jt.BufferUsage.CopyDst})}return dn()(n,[{key:"get",value:function(){return this.buffer}},{key:"subData",value:function(t){this.buffer.subData(t)}},{key:"destroy",value:function(){this.buffer.destroy()}}]),n}(),v0=function(){function n(t,e){hn()(this,n),this.engine=t,this.options=e,this.colorTexture=void 0,this.depthTexture=void 0,this.width=0,this.height=0;var r=e,i=(r.width,r.height,r.color),a=(r.colors,r.depth);r.stencil,i&&(this.colorTexture=i),a&&(this.depthTexture=a)}return dn()(n,[{key:"get",value:function(){var t,e;return{color:(t=this.colorTexture)===null||t===void 0?void 0:t.get(),depth:(e=this.depthTexture)===null||e===void 0?void 0:e.get()}}},{key:"destroy",value:function(){var t,e;(t=this.colorTexture)===null||t===void 0||t.destroy(),(e=this.depthTexture)===null||e===void 0||e.destroy()}},{key:"resize",value:function(t){var e,r,i=t.width,a=t.height;i===this.width&&a===this.height||((e=this.colorTexture)===null||e===void 0||e.resize({width:i,height:a}),(r=this.depthTexture)===null||r===void 0||r.resize({width:i,height:a})),this.width=i,this.height=a}}]),n}(),y0=(Uo={},Yt()(Uo,rt.gl.POINTS,Jt.PrimitiveTopology.PointList),Yt()(Uo,rt.gl.LINES,Jt.PrimitiveTopology.LineList),Yt()(Uo,rt.gl.LINE_LOOP,Jt.PrimitiveTopology.LineList),Yt()(Uo,rt.gl.LINE_STRIP,Jt.PrimitiveTopology.LineStrip),Yt()(Uo,rt.gl.TRIANGLES,Jt.PrimitiveTopology.TriangleList),Yt()(Uo,rt.gl.TRIANGLE_FAN,Jt.PrimitiveTopology.TriangleList),Yt()(Uo,rt.gl.TRIANGLE_STRIP,Jt.PrimitiveTopology.TriangleStrip),Uo),m0=(Po={},Yt()(Po,rt.gl.NEVER,Jt.CompareFunction.Never),Yt()(Po,rt.gl.ALWAYS,Jt.CompareFunction.Always),Yt()(Po,rt.gl.LESS,Jt.CompareFunction.Less),Yt()(Po,rt.gl.LEQUAL,Jt.CompareFunction.LessEqual),Yt()(Po,rt.gl.GREATER,Jt.CompareFunction.Greater),Yt()(Po,rt.gl.GEQUAL,Jt.CompareFunction.GreaterEqual),Yt()(Po,rt.gl.EQUAL,Jt.CompareFunction.Equal),Yt()(Po,rt.gl.NOTEQUAL,Jt.CompareFunction.NotEqual),Po),Rf=(la={},Yt()(la,rt.gl.FUNC_ADD,Jt.BlendOperation.Add),Yt()(la,rt.gl.MIN_EXT,Jt.BlendOperation.Min),Yt()(la,rt.gl.MAX_EXT,Jt.BlendOperation.Max),Yt()(la,rt.gl.FUNC_SUBTRACT,Jt.BlendOperation.Subtract),Yt()(la,rt.gl.FUNC_REVERSE_SUBTRACT,Jt.BlendOperation.ReverseSubtract),la),Ls=(Ki={},Yt()(Ki,rt.gl.ZERO,Jt.BlendFactor.Zero),Yt()(Ki,rt.gl.ONE,Jt.BlendFactor.One),Yt()(Ki,rt.gl.SRC_COLOR,Jt.BlendFactor.SrcColor),Yt()(Ki,rt.gl.ONE_MINUS_SRC_COLOR,Jt.BlendFactor.OneMinusSrcColor),Yt()(Ki,rt.gl.SRC_ALPHA,Jt.BlendFactor.SrcAlpha),Yt()(Ki,rt.gl.ONE_MINUS_SRC_ALPHA,Jt.BlendFactor.OneMinusSrcAlpha),Yt()(Ki,rt.gl.DST_COLOR,Jt.BlendFactor.DstColor),Yt()(Ki,rt.gl.ONE_MINUS_DST_COLOR,Jt.BlendFactor.OneMinusDstColor),Yt()(Ki,rt.gl.DST_ALPHA,Jt.BlendFactor.DstAlpha),Yt()(Ki,rt.gl.ONE_MINUS_DST_ALPHA,Jt.BlendFactor.OneMinusDstAlpha),Yt()(Ki,rt.gl.CONSTANT_COLOR,Jt.BlendFactor.BlendColor),Yt()(Ki,rt.gl.ONE_MINUS_CONSTANT_COLOR,Jt.BlendFactor.OneMinusBlendColor),Yt()(Ki,rt.gl.SRC_ALPHA_SATURATE,Jt.BlendFactor.SrcAlphaSaturated),Ki),b0=(Ma={},Yt()(Ma,rt.gl.ALPHA,"r8unorm"),Yt()(Ma,rt.gl.RGBA,"rgba8unorm"),Yt()(Ma,rt.gl.DEPTH_COMPONENT,"depth32float"),Yt()(Ma,rt.gl.DEPTH_STENCIL,"depth24plus-stencil8"),Ma),Lf=(Rs={},Yt()(Rs,rt.gl.NEAREST,"nearest"),Yt()(Rs,rt.gl.LINEAR,"linear"),Rs),Vu=(Ja={},Yt()(Ja,rt.gl.REPEAT,"repeat"),Yt()(Ja,rt.gl.CLAMP_TO_EDGE,"clamp-to-edge"),Yt()(Ja,rt.gl.MIRRORED_REPEAT,"mirror-repeat"),Ja);function x0(n){var t=n.cull;return t&&t.enable?t.face?t.face===rt.gl.FRONT?Jt.CullMode.Front:Jt.CullMode.Back:void 0:Jt.CullMode.None}function w0(n){var t=n.depth,e=(n.stencil,{compare:Jt.CompareFunction.Always,depthFailOp:Jt.StencilOperation.Keep,failOp:Jt.StencilOperation.Keep,passOp:Jt.StencilOperation.Keep});return{depthWriteEnabled:t&&t.enable,depthCompare:m0[(t==null?void 0:t.func)||rt.gl.ALWAYS],format:Jt.TextureFormat.Depth24PlusStencil8,stencilFront:e,stencilBack:e,stencilReadMask:4294967295,stencilWriteMask:4294967295}}function _0(n,t){var e=n.blend;return[{format:t,alphaBlend:{srcFactor:Ls[e&&e.func&&e.func.srcAlpha||rt.gl.ONE],dstFactor:Ls[e&&e.func&&e.func.dstAlpha||rt.gl.ZERO],operation:Rf[e&&e.equation&&e.equation.alpha||rt.gl.FUNC_ADD]},colorBlend:{srcFactor:Ls[e&&e.func&&e.func.srcRGB||rt.gl.ONE],dstFactor:Ls[e&&e.func&&e.func.dstRGB||rt.gl.ZERO],operation:Rf[e&&e.equation&&e.equation.rgb||rt.gl.FUNC_ADD]},writeMask:Jt.ColorWrite.All}]}function Bf(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function ka(n){for(var t=1;t1?e-1:0),i=1;i3&&arguments[3]!==void 0&&arguments[3],v=(s=r.get().color)===null||s===void 0?void 0:s.texture;v&&(l=v.createView(this.currentRenderTargetViewDescriptor));var k,T=(u=r.get().depth)===null||u===void 0?void 0:u.texture;T&&(k=T.createView());var I=this.renderTargetEncoder.beginRenderPass({colorAttachments:[{attachment:l,loadValue:i!==null?i:Jt.LoadOp.Load,storeOp:Jt.StoreOp.Store}],depthStencilAttachment:T&&k?{attachment:k,depthLoadValue:a?this.clearDepthValue:Jt.LoadOp.Load,depthStoreOp:Jt.StoreOp.Store,stencilLoadValue:d?this.clearStencilValue:Jt.LoadOp.Load,stencilStoreOp:Jt.StoreOp.Store}:void 0});this.currentRenderPass=I,this.cachedViewport&&this.viewport(this.cachedViewport)}},{key:"endMainRenderPass",value:function(){this.currentRenderPass===this.mainRenderPass&&this.currentRenderPass!==null&&(this.currentRenderPass.endPass(),this.resetCachedViewport(),this.currentRenderPass=null,this.mainRenderPass=null)}},{key:"endComputePass",value:function(){this.currentComputePass&&(this.currentComputePass.endPass(),this.currentComputePass=null)}},{key:"endRenderTargetRenderPass",value:function(){this.currentRenderPass&&(this.currentRenderPass.endPass(),this.resetCachedViewport())}},{key:"resetCachedViewport",value:function(){this.cachedViewport={x:0,y:0,width:0,height:0}}},{key:"unbindFramebuffer",value:function(r){this.currentRenderPass&&this.currentRenderPass!==this.mainRenderPass&&this.endRenderTargetRenderPass(),this.transientViewport.x=1/0,this.currentRenderTarget=null,this.currentRenderPass=this.mainRenderPass}}]),n}())||Gf,k0=o(59),A0=o.n(k0),C0=o(23),$o=o.n(C0),T0=o(24),Qo=o.n(T0),I0=o(18),Bi=o.n(I0);function j0(n){var t=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,r=Bi()(n);if(t){var i=Bi()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return Qo()(this,e)}}var zf,P0=Object(Ar.injectable)()(Ff=function(n){$o()(e,n);var t=j0(e);function e(){return hn()(this,e),t.apply(this,arguments)}return dn()(e,[{key:"onEntityCreated",value:function(){var r=this.config,i=r.widthSegments,a=i===void 0?1:i,s=r.heightSegments,u=s===void 0?1:s,l=r.depthSegments,d=l===void 0?1:l,v=r.halfExtents,k=v===void 0?Nt.e.fromValues(.5,.5,.5):v,T=a,I=u,j=d,F=A0()(k,3),B=F[0],U=F[1],H=F[2],Q=[Nt.e.fromValues(-B,-U,H),Nt.e.fromValues(B,-U,H),Nt.e.fromValues(B,U,H),Nt.e.fromValues(-B,U,H),Nt.e.fromValues(B,-U,-H),Nt.e.fromValues(-B,-U,-H),Nt.e.fromValues(-B,U,-H),Nt.e.fromValues(B,U,-H)],ve=[[0,1,3],[4,5,7],[3,2,6],[1,0,4],[1,4,2],[5,0,6]],pe=[[0,0,1],[0,0,-1],[0,1,0],[0,-1,0],[1,0,0],[-1,0,0]],me=1,Te=2,Ee=3,je=4,Ze=5,nt=[],ct=[],st=[],It=[],gt=[],Pt=0,Rt=function(Vt,Dt,qt){var $t,Gt,lr,Lr;for(lr=0;lr<=Dt;lr++)for(Lr=0;Lr<=qt;Lr++){var wn=Nt.e.create(),Sr=Nt.e.create(),jr=Nt.e.create(),_r=Nt.e.create();Nt.e.lerp(wn,Q[ve[Vt][0]],Q[ve[Vt][1]],lr/Dt),Nt.e.lerp(Sr,Q[ve[Vt][0]],Q[ve[Vt][2]],Lr/qt),Nt.e.sub(jr,Sr,Q[ve[Vt][0]]),Nt.e.add(_r,wn,jr),$t=lr/Dt,Gt=Lr/qt,nt.push(_r[0],_r[1],_r[2]),ct.push(pe[Vt][0],pe[Vt][1],pe[Vt][2]),st.push($t,Gt),$t=.875*($t/=3)+4/64,Gt=.875*(Gt/=3)+4/64,$t+=Vt%3/3,Gt+=Math.floor(Vt/3)/3,It.push($t,Gt),lr0){var q=4-V;if(G>1&&G<=q)G===2&&(q===3&&(v+=4,k.push(0)),k.push.apply(k,ui()(j.data)),T.uniformGPUBufferLayout.push({name:j.name,offset:v}));else{for(var $=0;$2&&arguments[2]!==void 0?arguments[2]:0,u=this.vertexBuffers[i];u&&u.subData({data:a,offset:s})}},{key:"updateUniform",value:function(i,a){var s=this.uniformGPUBufferLayout.find(function(u){return u.name===i});s&&this.uniformBuffer.subData({data:Number.isFinite(a)?new Float32Array([a]):new Float32Array(a),offset:s.offset})}},{key:"confirmInput",value:function(i,a){var s=this.vertexBuffers[a],u=i.outputBuffer;if(s&&u&&s!==u){var l=this.engine.device.createCommandEncoder(),d=i.context.output,v=d.length*d.typedArrayConstructor.BYTES_PER_ELEMENT;l.copyBufferToBuffer(u.get(),0,s.get(),0,v),(rt.isSafari?this.engine.device.getQueue():this.engine.device.defaultQueue).submit([l.finish()])}}},{key:"compileShaderToSpirV",value:function(i,a,s){return this.compileRawShaderToSpirV(s+i,a)}},{key:"compileRawShaderToSpirV",value:function(i,a){return this.engine.glslang.compileGLSL(i,a)}},{key:"compileComputePipelineStageDescriptor",value:(t=ti()(Hr.a.mark(function i(a){var s;return Hr.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(s=a,this.engine.options.useWGSL){u.next=6;break}return u.next=5,this.compileShaderToSpirV(a,"compute",`#version 450 +`);case 5:s=u.sent;case 6:return u.abrupt("return",{computeStage:{module:this.engine.device.createShaderModule({code:s,isWHLSL:rt.isSafari}),entryPoint:"main"}});case 7:case"end":return u.stop()}},i,this)})),function(i){return t.apply(this,arguments)})}]),n}(),g0=function(){function n(t,e){hn()(this,n),this.engine=t,this.options=e,this.indexCount=void 0,this.buffer=void 0;var r=e,i=r.data,a=(r.usage,r.type,r.count);this.indexCount=a||0,this.buffer=new Oa(t,{data:i instanceof Array?new Uint16Array(i):i,usage:Jt.BufferUsage.Index|Jt.BufferUsage.CopyDst})}return dn()(n,[{key:"get",value:function(){return this.buffer}},{key:"subData",value:function(t){this.buffer.subData(t)}},{key:"destroy",value:function(){this.buffer.destroy()}}]),n}(),v0=function(){function n(t,e){hn()(this,n),this.engine=t,this.options=e,this.colorTexture=void 0,this.depthTexture=void 0,this.width=0,this.height=0;var r=e,i=(r.width,r.height,r.color),a=(r.colors,r.depth);r.stencil,i&&(this.colorTexture=i),a&&(this.depthTexture=a)}return dn()(n,[{key:"get",value:function(){var t,e;return{color:(t=this.colorTexture)===null||t===void 0?void 0:t.get(),depth:(e=this.depthTexture)===null||e===void 0?void 0:e.get()}}},{key:"destroy",value:function(){var t,e;(t=this.colorTexture)===null||t===void 0||t.destroy(),(e=this.depthTexture)===null||e===void 0||e.destroy()}},{key:"resize",value:function(t){var e,r,i=t.width,a=t.height;i===this.width&&a===this.height||((e=this.colorTexture)===null||e===void 0||e.resize({width:i,height:a}),(r=this.depthTexture)===null||r===void 0||r.resize({width:i,height:a})),this.width=i,this.height=a}}]),n}(),y0=(Uo={},Yt()(Uo,rt.gl.POINTS,Jt.PrimitiveTopology.PointList),Yt()(Uo,rt.gl.LINES,Jt.PrimitiveTopology.LineList),Yt()(Uo,rt.gl.LINE_LOOP,Jt.PrimitiveTopology.LineList),Yt()(Uo,rt.gl.LINE_STRIP,Jt.PrimitiveTopology.LineStrip),Yt()(Uo,rt.gl.TRIANGLES,Jt.PrimitiveTopology.TriangleList),Yt()(Uo,rt.gl.TRIANGLE_FAN,Jt.PrimitiveTopology.TriangleList),Yt()(Uo,rt.gl.TRIANGLE_STRIP,Jt.PrimitiveTopology.TriangleStrip),Uo),m0=(Po={},Yt()(Po,rt.gl.NEVER,Jt.CompareFunction.Never),Yt()(Po,rt.gl.ALWAYS,Jt.CompareFunction.Always),Yt()(Po,rt.gl.LESS,Jt.CompareFunction.Less),Yt()(Po,rt.gl.LEQUAL,Jt.CompareFunction.LessEqual),Yt()(Po,rt.gl.GREATER,Jt.CompareFunction.Greater),Yt()(Po,rt.gl.GEQUAL,Jt.CompareFunction.GreaterEqual),Yt()(Po,rt.gl.EQUAL,Jt.CompareFunction.Equal),Yt()(Po,rt.gl.NOTEQUAL,Jt.CompareFunction.NotEqual),Po),Rf=(la={},Yt()(la,rt.gl.FUNC_ADD,Jt.BlendOperation.Add),Yt()(la,rt.gl.MIN_EXT,Jt.BlendOperation.Min),Yt()(la,rt.gl.MAX_EXT,Jt.BlendOperation.Max),Yt()(la,rt.gl.FUNC_SUBTRACT,Jt.BlendOperation.Subtract),Yt()(la,rt.gl.FUNC_REVERSE_SUBTRACT,Jt.BlendOperation.ReverseSubtract),la),Ls=(Ki={},Yt()(Ki,rt.gl.ZERO,Jt.BlendFactor.Zero),Yt()(Ki,rt.gl.ONE,Jt.BlendFactor.One),Yt()(Ki,rt.gl.SRC_COLOR,Jt.BlendFactor.SrcColor),Yt()(Ki,rt.gl.ONE_MINUS_SRC_COLOR,Jt.BlendFactor.OneMinusSrcColor),Yt()(Ki,rt.gl.SRC_ALPHA,Jt.BlendFactor.SrcAlpha),Yt()(Ki,rt.gl.ONE_MINUS_SRC_ALPHA,Jt.BlendFactor.OneMinusSrcAlpha),Yt()(Ki,rt.gl.DST_COLOR,Jt.BlendFactor.DstColor),Yt()(Ki,rt.gl.ONE_MINUS_DST_COLOR,Jt.BlendFactor.OneMinusDstColor),Yt()(Ki,rt.gl.DST_ALPHA,Jt.BlendFactor.DstAlpha),Yt()(Ki,rt.gl.ONE_MINUS_DST_ALPHA,Jt.BlendFactor.OneMinusDstAlpha),Yt()(Ki,rt.gl.CONSTANT_COLOR,Jt.BlendFactor.BlendColor),Yt()(Ki,rt.gl.ONE_MINUS_CONSTANT_COLOR,Jt.BlendFactor.OneMinusBlendColor),Yt()(Ki,rt.gl.SRC_ALPHA_SATURATE,Jt.BlendFactor.SrcAlphaSaturated),Ki),b0=(Ma={},Yt()(Ma,rt.gl.ALPHA,"r8unorm"),Yt()(Ma,rt.gl.RGBA,"rgba8unorm"),Yt()(Ma,rt.gl.DEPTH_COMPONENT,"depth32float"),Yt()(Ma,rt.gl.DEPTH_STENCIL,"depth24plus-stencil8"),Ma),Lf=(Rs={},Yt()(Rs,rt.gl.NEAREST,"nearest"),Yt()(Rs,rt.gl.LINEAR,"linear"),Rs),Vu=(Ja={},Yt()(Ja,rt.gl.REPEAT,"repeat"),Yt()(Ja,rt.gl.CLAMP_TO_EDGE,"clamp-to-edge"),Yt()(Ja,rt.gl.MIRRORED_REPEAT,"mirror-repeat"),Ja);function x0(n){var t=n.cull;return t&&t.enable?t.face?t.face===rt.gl.FRONT?Jt.CullMode.Front:Jt.CullMode.Back:void 0:Jt.CullMode.None}function w0(n){var t=n.depth,e=(n.stencil,{compare:Jt.CompareFunction.Always,depthFailOp:Jt.StencilOperation.Keep,failOp:Jt.StencilOperation.Keep,passOp:Jt.StencilOperation.Keep});return{depthWriteEnabled:t&&t.enable,depthCompare:m0[(t==null?void 0:t.func)||rt.gl.ALWAYS],format:Jt.TextureFormat.Depth24PlusStencil8,stencilFront:e,stencilBack:e,stencilReadMask:4294967295,stencilWriteMask:4294967295}}function _0(n,t){var e=n.blend;return[{format:t,alphaBlend:{srcFactor:Ls[e&&e.func&&e.func.srcAlpha||rt.gl.ONE],dstFactor:Ls[e&&e.func&&e.func.dstAlpha||rt.gl.ZERO],operation:Rf[e&&e.equation&&e.equation.alpha||rt.gl.FUNC_ADD]},colorBlend:{srcFactor:Ls[e&&e.func&&e.func.srcRGB||rt.gl.ONE],dstFactor:Ls[e&&e.func&&e.func.dstRGB||rt.gl.ZERO],operation:Rf[e&&e.equation&&e.equation.rgb||rt.gl.FUNC_ADD]},writeMask:Jt.ColorWrite.All}]}function Bf(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function ka(n){for(var t=1;t1?e-1:0),i=1;i3&&arguments[3]!==void 0&&arguments[3],v=(s=r.get().color)===null||s===void 0?void 0:s.texture;v&&(l=v.createView(this.currentRenderTargetViewDescriptor));var k,T=(u=r.get().depth)===null||u===void 0?void 0:u.texture;T&&(k=T.createView());var I=this.renderTargetEncoder.beginRenderPass({colorAttachments:[{attachment:l,loadValue:i!==null?i:Jt.LoadOp.Load,storeOp:Jt.StoreOp.Store}],depthStencilAttachment:T&&k?{attachment:k,depthLoadValue:a?this.clearDepthValue:Jt.LoadOp.Load,depthStoreOp:Jt.StoreOp.Store,stencilLoadValue:d?this.clearStencilValue:Jt.LoadOp.Load,stencilStoreOp:Jt.StoreOp.Store}:void 0});this.currentRenderPass=I,this.cachedViewport&&this.viewport(this.cachedViewport)}},{key:"endMainRenderPass",value:function(){this.currentRenderPass===this.mainRenderPass&&this.currentRenderPass!==null&&(this.currentRenderPass.endPass(),this.resetCachedViewport(),this.currentRenderPass=null,this.mainRenderPass=null)}},{key:"endComputePass",value:function(){this.currentComputePass&&(this.currentComputePass.endPass(),this.currentComputePass=null)}},{key:"endRenderTargetRenderPass",value:function(){this.currentRenderPass&&(this.currentRenderPass.endPass(),this.resetCachedViewport())}},{key:"resetCachedViewport",value:function(){this.cachedViewport={x:0,y:0,width:0,height:0}}},{key:"unbindFramebuffer",value:function(r){this.currentRenderPass&&this.currentRenderPass!==this.mainRenderPass&&this.endRenderTargetRenderPass(),this.transientViewport.x=1/0,this.currentRenderTarget=null,this.currentRenderPass=this.mainRenderPass}}]),n}())||Gf,k0=o(59),A0=o.n(k0),C0=o(23),$o=o.n(C0),T0=o(24),Qo=o.n(T0),I0=o(18),Bi=o.n(I0);function j0(n){var t=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,r=Bi()(n);if(t){var i=Bi()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return Qo()(this,e)}}var zf,P0=Object(Ar.injectable)()(Ff=function(n){$o()(e,n);var t=j0(e);function e(){return hn()(this,e),t.apply(this,arguments)}return dn()(e,[{key:"onEntityCreated",value:function(){var r=this.config,i=r.widthSegments,a=i===void 0?1:i,s=r.heightSegments,u=s===void 0?1:s,l=r.depthSegments,d=l===void 0?1:l,v=r.halfExtents,k=v===void 0?Nt.e.fromValues(.5,.5,.5):v,T=a,I=u,j=d,F=A0()(k,3),G=F[0],V=F[1],q=F[2],$=[Nt.e.fromValues(-G,-V,q),Nt.e.fromValues(G,-V,q),Nt.e.fromValues(G,V,q),Nt.e.fromValues(-G,V,q),Nt.e.fromValues(G,-V,-q),Nt.e.fromValues(-G,-V,-q),Nt.e.fromValues(-G,V,-q),Nt.e.fromValues(G,V,-q)],ve=[[0,1,3],[4,5,7],[3,2,6],[1,0,4],[1,4,2],[5,0,6]],de=[[0,0,1],[0,0,-1],[0,1,0],[0,-1,0],[1,0,0],[-1,0,0]],me=1,Ie=2,Ee=3,Pe=4,Ze=5,it=[],ct=[],st=[],jt=[],gt=[],Pt=0,Rt=function(Vt,Dt,qt){var $t,Gt,lr,Br;for(lr=0;lr<=Dt;lr++)for(Br=0;Br<=qt;Br++){var wn=Nt.e.create(),Sr=Nt.e.create(),jr=Nt.e.create(),_r=Nt.e.create();Nt.e.lerp(wn,$[ve[Vt][0]],$[ve[Vt][1]],lr/Dt),Nt.e.lerp(Sr,$[ve[Vt][0]],$[ve[Vt][2]],Br/qt),Nt.e.sub(jr,Sr,$[ve[Vt][0]]),Nt.e.add(_r,wn,jr),$t=lr/Dt,Gt=Br/qt,it.push(_r[0],_r[1],_r[2]),ct.push(de[Vt][0],de[Vt][1],de[Vt][2]),st.push($t,Gt),$t=.875*($t/=3)+4/64,Gt=.875*(Gt/=3)+4/64,$t+=Vt%3/3,Gt+=Math.floor(Vt/3)/3,jt.push($t,Gt),lr3;if(!isFinite(lr)){Object(fa.normal)(ct,me),Fs(Pt,gt,$t,ct,1),Rt.push(Ze===1?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),It+=2,Ze=Lr;continue}wn?(lr=3,Zt.push(Vt/kt),ts(gt,ct,-Lr),Pt.push($t),ts(gt,je,lr*Lr),Pt.push($t),Rt.push(Ze!==-Lr?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),Rt.push([Dt+2,Dt+3,Dt+4]),Object(fa.normal)(st,Te),Object(Gs.copy)(ct,st),ts(gt,ct,-Lr),Pt.push($t),It+=3):(Fs(Pt,gt,$t,je,lr),Rt.push(Ze===1?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),Lr=-1,Object(Gs.copy)(ct,je),It+=2),Ze=Lr}else Object(fa.normal)(ct,me),Fs(Pt,gt,$t,ct,1),Rt.push(Ze===1?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),It+=2}return{normals:gt,attrIndex:Rt,attrPos:Pt,attrCounters:Zt}}(this.config.points,!1),v=d.normals,k=d.attrIndex,T=d.attrPos,I=d.attrCounters,j=T.length;this.vertexCount=j;var F=this.geometrySystem.createBufferGeometry({vertexCount:j});this.setMaterial(l),this.setGeometry(F),l.setCull({enable:!1,face:rt.gl.BACK}).setUniform(u),this.setAttributes({dashArray:this.config.dashArray,dashOffset:this.config.dashOffset,dashRatio:this.config.dashRatio,thickness:this.config.thickness});var B=[],U=[];v.forEach(function(Q){var ve=Q[0],pe=Q[1];B.push([ve[0],ve[1]]),U.push(pe)}),F.setIndex(k.reduce(function(Q,ve){return[].concat(ui()(Q),ui()(ve))},[])),F.setAttribute("a_pos",Float32Array.from(T.reduce(function(Q,ve){return[].concat(ui()(Q),ui()(ve))},[])),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:0,offset:0,format:"float2"}]});var H=new Array(j).fill(void 0).map(function(){return ui()(r.config.color)}).reduce(function(Q,ve){return[].concat(ui()(Q),ui()(ve))},[]);F.setAttribute("a_color",Float32Array.from(H),{arrayStride:16,stepMode:"vertex",attributes:[{shaderLocation:1,offset:0,format:"float4"}]}),F.setAttribute("a_line_miter",Float32Array.from(U),{arrayStride:4,stepMode:"vertex",attributes:[{shaderLocation:2,offset:0,format:"float"}]}),F.setAttribute("a_line_normal",Float32Array.from(B.reduce(function(Q,ve){return[].concat(ui()(Q),ui()(ve))},[])),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:3,offset:0,format:"float2"}]}),F.setAttribute("a_counters",Float32Array.from(I),{arrayStride:4,stepMode:"vertex",attributes:[{shaderLocation:4,offset:0,format:"float"}]})}}]),e}(Zo),dh=Nn()(rs.prototype,"materialSystem",[sh,uh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ph=Nn()(rs.prototype,"geometrySystem",[ch,lh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),gh=Nn()(rs.prototype,"shaderModuleService",[fh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),hh=rs))||hh);function Mh(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function H0(n){var t=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,r=Bi()(n);if(t){var i=Bi()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return Qo()(this,e)}}var kh,Ah,Ch,Th,Ih,is,jh,Ph,Nh,q0=["circle","triangle","square","pentagon","hexagon","octogon","hexagram","rhombus","vesica"],K0=(vh=Object(Ar.injectable)(),yh=Object(Ar.inject)(rt.IDENTIFIER.Systems),mh=Object(Ar.named)(rt.IDENTIFIER.MaterialSystem),bh=Object(Ar.inject)(rt.IDENTIFIER.Systems),xh=Object(Ar.named)(rt.IDENTIFIER.GeometrySystem),wh=Object(Ar.inject)(rt.IDENTIFIER.ShaderModuleService),vh((ns=function(n){$o()(e,n);var t=H0(e);function e(){var r;hn()(this,e);for(var i=arguments.length,a=new Array(i),s=0;s3;if(!isFinite(lr)){Object(fa.normal)(ct,me),Fs(Pt,gt,$t,ct,1),Rt.push(Ze===1?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),jt+=2,Ze=Br;continue}wn?(lr=3,Zt.push(Vt/Ct),ts(gt,ct,-Br),Pt.push($t),ts(gt,Pe,lr*Br),Pt.push($t),Rt.push(Ze!==-Br?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),Rt.push([Dt+2,Dt+3,Dt+4]),Object(fa.normal)(st,Ie),Object(Gs.copy)(ct,st),ts(gt,ct,-Br),Pt.push($t),jt+=3):(Fs(Pt,gt,$t,Pe,lr),Rt.push(Ze===1?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),Br=-1,Object(Gs.copy)(ct,Pe),jt+=2),Ze=Br}else Object(fa.normal)(ct,me),Fs(Pt,gt,$t,ct,1),Rt.push(Ze===1?[Dt,Dt+2,Dt+3]:[Dt+2,Dt+1,Dt+3]),jt+=2}return{normals:gt,attrIndex:Rt,attrPos:Pt,attrCounters:Zt}}(this.config.points,!1),v=d.normals,k=d.attrIndex,T=d.attrPos,I=d.attrCounters,j=T.length;this.vertexCount=j;var F=this.geometrySystem.createBufferGeometry({vertexCount:j});this.setMaterial(l),this.setGeometry(F),l.setCull({enable:!1,face:rt.gl.BACK}).setUniform(u),this.setAttributes({dashArray:this.config.dashArray,dashOffset:this.config.dashOffset,dashRatio:this.config.dashRatio,thickness:this.config.thickness});var G=[],V=[];v.forEach(function($){var ve=$[0],de=$[1];G.push([ve[0],ve[1]]),V.push(de)}),F.setIndex(k.reduce(function($,ve){return[].concat(ui()($),ui()(ve))},[])),F.setAttribute("a_pos",Float32Array.from(T.reduce(function($,ve){return[].concat(ui()($),ui()(ve))},[])),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:0,offset:0,format:"float2"}]});var q=new Array(j).fill(void 0).map(function(){return ui()(r.config.color)}).reduce(function($,ve){return[].concat(ui()($),ui()(ve))},[]);F.setAttribute("a_color",Float32Array.from(q),{arrayStride:16,stepMode:"vertex",attributes:[{shaderLocation:1,offset:0,format:"float4"}]}),F.setAttribute("a_line_miter",Float32Array.from(V),{arrayStride:4,stepMode:"vertex",attributes:[{shaderLocation:2,offset:0,format:"float"}]}),F.setAttribute("a_line_normal",Float32Array.from(G.reduce(function($,ve){return[].concat(ui()($),ui()(ve))},[])),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:3,offset:0,format:"float2"}]}),F.setAttribute("a_counters",Float32Array.from(I),{arrayStride:4,stepMode:"vertex",attributes:[{shaderLocation:4,offset:0,format:"float"}]})}}]),e}(Zo),dh=Nn()(rs.prototype,"materialSystem",[sh,uh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ph=Nn()(rs.prototype,"geometrySystem",[ch,lh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),gh=Nn()(rs.prototype,"shaderModuleService",[fh],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),hh=rs))||hh);function Mh(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function H0(n){var t=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,r=Bi()(n);if(t){var i=Bi()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return Qo()(this,e)}}var kh,Ah,Ch,Th,Ih,is,jh,Ph,Nh,q0=["circle","triangle","square","pentagon","hexagon","octogon","hexagram","rhombus","vesica"],K0=(vh=Object(Ar.injectable)(),yh=Object(Ar.inject)(rt.IDENTIFIER.Systems),mh=Object(Ar.named)(rt.IDENTIFIER.MaterialSystem),bh=Object(Ar.inject)(rt.IDENTIFIER.Systems),xh=Object(Ar.named)(rt.IDENTIFIER.GeometrySystem),wh=Object(Ar.inject)(rt.IDENTIFIER.ShaderModuleService),vh((ns=function(n){$o()(e,n);var t=H0(e);function e(){var r;hn()(this,e);for(var i=arguments.length,a=new Array(i),s=0;s0&&arguments[0]!==void 0?arguments[0]:{},r=Object(rt.createWorldContainer)(),i=navigator.gpu?M0:c0;r.isBound(rt.IDENTIFIER.RenderEngine)||r.bind(rt.IDENTIFIER.RenderEngine).to(i).inSingletonScope(),r.bind(Xh).toSelf(),r.bind(Ef).toSelf(),r.bind(Zo).toSelf(),r.bind(ad).toSelf(),r.bind(ql).toSelf(),r.bind(Yh).toSelf(),r.bind(n).toSelf(),r.bind(Hh).toSelf(),r.bind(od).toSelf(),r.bind(rt.IDENTIFIER.Geometry).to(P0).whenTargetNamed(qo.BOX),r.bind(rt.IDENTIFIER.Geometry).to(G0).whenTargetNamed(qo.SPHERE),r.bind(rt.IDENTIFIER.Geometry).to(L0).whenTargetNamed(qo.PLANE),r.bind(rt.IDENTIFIER.Geometry).to(D0).whenTargetNamed(qo.MERGED),r.bind(rt.IDENTIFIER.Material).to(U0).whenTargetNamed(Of.BASIC),r.bind(rt.IDENTIFIER.Renderable).to(K0).whenTargetNamed(Zo.POINT),r.bind(rt.IDENTIFIER.Renderable).to(Y0).whenTargetNamed(Zo.LINE),r.bind(rt.IDENTIFIER.Renderable).to(W0).whenTargetNamed(Zo.GRID);var a=r.get(n);return a.setContainer(r),a.setConfig(e),a}}]),n}(),id=Nn()(Xu.prototype,"configService",[rd],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nd=Xu))||nd),Aa=function(n,t){return n?ur(n)?function(){return n}:n:function(){return t||1}},$0=function(n,t){var e=[],r=[],i={},a=0;for(a=0;a = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_K : f32;\\n [[offset 4]] u_K2 : f32;\\n [[offset 8]] u_Center : vec2;\\n [[offset 16]] u_Gravity : f32;\\n [[offset 20]] u_ClusterGravity : f32;\\n [[offset 24]] u_Speed : f32;\\n [[offset 28]] u_MaxDisplace : f32;\\n [[offset 32]] u_Clustering : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AttributeArray : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_ClusterCenters : [[stride 16]] array>;\\n};\\n[[binding 3, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn calcRepulsive(i : i32, currentNode : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {if (i != j) {var nextNode : vec4 = gWebGPUBuffer0.u_Data[j];\\nvar xDist : f32 = currentNode.x - nextNode.x;\\nvar yDist : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nvar param : f32 = gWebGPUUniformParams.u_K2 / dist;\\nif (dist > 0.0) {dx = dx + param * xDist;\\ndy = dy + param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {var sign : f32 = select(1.0, -1.0, i < j);\\ndx = dx + param * std::sign;\\ndy = dy + param * std::sign;}}}}\\nreturn vec2(dx, dy);}\\nfn calcGravity(currentNode : vec4, nodeAttributes : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nvar vx : f32 = currentNode.x - gWebGPUUniformParams.u_Center.x;\\nvar vy : f32 = currentNode.y - gWebGPUUniformParams.u_Center.y;\\nvar gf : f32 = (0.01 * gWebGPUUniformParams.u_K) * gWebGPUUniformParams.u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (gWebGPUUniformParams.u_Clustering == 1.0) {var clusterIdx : i32 = i32(nodeAttributes.x);\\nvar center : vec4 = gWebGPUBuffer2.u_ClusterCenters[clusterIdx];\\nvar cvx : f32 = currentNode.x - center.x;\\nvar cvy : f32 = currentNode.y - center.y;\\nvar dist : f32 = std::sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nvar parma : f32 = (gWebGPUUniformParams.u_K * gWebGPUUniformParams.u_ClusterGravity) / dist;\\ndx = dx + parma * cvx;\\ndy = dy + parma * cvy;}\\nreturn vec2(dx, dy);}\\nfn calcAttractive(i : i32, currentNode : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nvar arr_offset : i32 = i32(std::floor(currentNode.z + 0.5));\\nvar length : i32 = i32(std::floor(currentNode.w + 0.5));\\nvar node_buffer : vec4;\\nfor (var p : i32 = 0; p < __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX; p = p + 1) {if (p >= length) {break;}\\nvar arr_idx : i32 = arr_offset + i32(p);\\nvar buf_offset : i32 = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[i32(arr_idx / 4)];}\\nvar float_j : f32 = select(node_buffer.x, select(node_buffer.y, select(node_buffer.z, node_buffer.w, buf_offset == 2), buf_offset == 1), buf_offset == 0);\\nvar nextNode : vec4 = gWebGPUBuffer0.u_Data[i32(float_j)];\\nvar xDist : f32 = currentNode.x - nextNode.x;\\nvar yDist : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = std::sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nvar attractiveF : f32 = dist / gWebGPUUniformParams.u_K;\\nif (dist > 0.0) {dx = dx - xDist * attractiveF;\\ndy = dy - yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {var sign : f32 = select(1.0, -1.0, i < i32(float_j));\\ndx = dx - std::sign * attractiveF;\\ndy = dy - std::sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar currentNode : vec4 = gWebGPUBuffer0.u_Data[i];\\nvar dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nif (i >= __DefineValuePlaceholder__VERTEX_COUNT) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvar nodeAttributes : vec4 = gWebGPUBuffer1.u_AttributeArray[i];\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w);\\nreturn ;}\\nvar repulsive : vec2 = calcRepulsive(i, currentNode);\\ndx = dx + repulsive.x;\\ndy = dy + repulsive.y;\\nvar attractive : vec2 = calcAttractive(i, currentNode);\\ndx = dx + attractive.x;\\ndy = dy + attractive.y;\\nvar gravity : vec2 = calcGravity(currentNode, nodeAttributes);\\ndx = dx - gravity.x;\\ndy = dy - gravity.y;\\ndx = dx * gWebGPUUniformParams.u_Speed;\\ndy = dy * gWebGPUUniformParams.u_Speed;\\nvar distLength : f32 = std::sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {var limitedDist : f32 = std::min(gWebGPUUniformParams.u_MaxDisplace * gWebGPUUniformParams.u_Speed, distLength);\\ngWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w);}\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_K;\\n float u_K2;\\n vec2 u_Center;\\n float u_Gravity;\\n float u_ClusterGravity;\\n float u_Speed;\\n float u_MaxDisplace;\\n float u_Clustering;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer readonly GWebGPUBuffer1 {\\n vec4 u_AttributeArray[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 3) buffer readonly GWebGPUBuffer2 {\\n vec4 u_ClusterCenters[];\\n} gWebGPUBuffer2;\\n\\n\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nvec2 calcRepulsive(int i, vec4 currentNode) {float dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = gWebGPUBuffer0.u_Data[j];\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = gWebGPUUniformParams.u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {float dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - gWebGPUUniformParams.u_Center.x;\\nfloat vy = currentNode.y - gWebGPUUniformParams.u_Center.y;\\nfloat gf = (0.01 * gWebGPUUniformParams.u_K) * gWebGPUUniformParams.u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (gWebGPUUniformParams.u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = gWebGPUBuffer2.u_ClusterCenters[clusterIdx];\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (gWebGPUUniformParams.u_K * gWebGPUUniformParams.u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {float dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[int(arr_idx / 4)];}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = gWebGPUBuffer0.u_Data[int(float_j)];\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / gWebGPUUniformParams.u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {int i = globalInvocationID.x;\\nvec4 currentNode = gWebGPUBuffer0.u_Data[i];\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvec4 nodeAttributes = gWebGPUBuffer1.u_AttributeArray[i];\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w);\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= gWebGPUUniformParams.u_Speed;\\ndy *= gWebGPUUniformParams.u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(gWebGPUUniformParams.u_MaxDisplace * gWebGPUUniformParams.u_Speed, distLength);\\ngWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w);}}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_K;\\nuniform float u_K2;\\nuniform vec2 u_Center;\\nuniform float u_Gravity;\\nuniform float u_ClusterGravity;\\nuniform float u_Speed;\\nuniform float u_MaxDisplace;\\nuniform float u_Clustering;\\nuniform sampler2D u_AttributeArray;\\nuniform vec2 u_AttributeArraySize;\\nvec4 getDatau_AttributeArray(vec2 address2D) {\\n return vec4(texture2D(u_AttributeArray, address2D).rgba);\\n}\\nvec4 getDatau_AttributeArray(float address1D) {\\n return getDatau_AttributeArray(addrTranslation_1Dto2D(address1D, u_AttributeArraySize));\\n}\\nvec4 getDatau_AttributeArray(int address1D) {\\n return getDatau_AttributeArray(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - u_Center.x;\\nfloat vy = currentNode.y - u_Center.y;\\nfloat gf = (0.01 * u_K) * u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = getDatau_ClusterCenters(clusterIdx);\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (u_K * u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes = getDatau_AttributeArray(i);\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w));\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= u_Speed;\\ndy *= u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(u_MaxDisplace * u_Speed, distLength);\\ngl_FragColor = vec4(vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_K","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_K2","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Center","type":"vec2","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Gravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterGravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Speed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_MaxDisplace","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Clustering","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AttributeArray","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([Te,1,1]).setBinding({u_Data:Ze,u_K:U,u_K2:B,u_Gravity:d.gravity,u_ClusterGravity:d.clusterGravity||d.gravity||1,u_Speed:H,u_MaxDisplace:F,u_Clustering:Q?1:0,u_Center:I,u_AttributeArray:pe,u_ClusterCenters:It,MAX_EDGE_PER_VERTEX:je,VERTEX_COUNT:Te}),Q&&(Rt=ct.createKernel('{"shaders":{"WGSL":"import \\"GLSL.std.450\\" as std;\\n\\n\\n# var gWebGPUDebug : bool = false;\\n# var gWebGPUDebugOutput : vec4 = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\n\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 0, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_NodeAttributes : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_ClusterCenters : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar center : vec4 = gWebGPUBuffer2.u_ClusterCenters[i];\\nvar sumx : f32 = 0.0;\\nvar sumy : f32 = 0.0;\\nvar count : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {var attributes : vec4 = gWebGPUBuffer1.u_NodeAttributes[j];\\nvar clusterIdx : i32 = i32(attributes.x);\\nvar vertex : vec4 = gWebGPUBuffer0.u_Data[j];\\nif (clusterIdx == i) {sumx = sumx + vertex.x;\\nsumy = sumy + vertex.y;\\ncount = count + 1.0;}}\\ngWebGPUBuffer2.u_ClusterCenters[i] = vec4(sumx / count, sumy / count, count, i);\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\n\\nlayout(std430, set = 0, binding = 0) buffer readonly GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 1) buffer readonly GWebGPUBuffer1 {\\n vec4 u_NodeAttributes[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 2) buffer GWebGPUBuffer2 {\\n vec4 u_ClusterCenters[];\\n} gWebGPUBuffer2;\\n\\n\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\nvoid main() {int i = globalInvocationID.x;\\nvec4 center = gWebGPUBuffer2.u_ClusterCenters[i];\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = gWebGPUBuffer1.u_NodeAttributes[j];\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = gWebGPUBuffer0.u_Data[j];\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngWebGPUBuffer2.u_ClusterCenters[i] = vec4(sumx / count, sumy / count, count, i);}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributes;\\nuniform vec2 u_NodeAttributesSize;\\nvec4 getDatau_NodeAttributes(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributes, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributes(float address1D) {\\n return getDatau_NodeAttributes(addrTranslation_1Dto2D(address1D, u_NodeAttributesSize));\\n}\\nvec4 getDatau_NodeAttributes(int address1D) {\\n return getDatau_NodeAttributes(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 center = getDatau_ClusterCenters(i);\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = getDatau_NodeAttributes(j);\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = getDatau_Data(j);\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngl_FragColor = vec4(vec4(sumx / count, sumy / count, count, i));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"CLUSTER_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributes","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_ClusterCenters","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([me,1,1]).setBinding({u_Data:Ze,u_NodeAttributes:pe,u_ClusterCenters:It,VERTEX_COUNT:Te,CLUSTER_COUNT:me})),Zt=function(){return Vs(kt,void 0,void 0,regeneratorRuntime.mark(function Dt(){var qt,$t;return regeneratorRuntime.wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:qt=0;case 1:if(!(qt = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_damping : f32;\\n [[offset 4]] u_maxSpeed : f32;\\n [[offset 8]] u_minMovement : f32;\\n \\n [[offset 12]] u_coulombDisScale : f32;\\n [[offset 16]] u_factor : f32;\\n \\n \\n [[offset 20]] u_interval : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AveMovement : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_NodeAttributeArray1 : [[stride 16]] array>;\\n};\\n[[binding 3, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\ntype GWebGPUBuffer3 = [[block]] struct {\\n [[offset 0]] u_NodeAttributeArray2 : [[stride 16]] array>;\\n};\\n[[binding 4, set 0]] var gWebGPUBuffer3 : GWebGPUBuffer3;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn unpack_float(packedValue : f32) -> vec2 {var packedIntValue : i32 = i32(packedValue);\\nvar v0 : i32 = packedIntValue / 1048576;\\nreturn vec2(v0, packedIntValue - (v0 * 1048576));}\\nfn calcRepulsive(i : i32, currentNode : vec4) -> vec2 {var ax : f32 = 0.0;\\nvar ay : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {if (i != j) {var nextNode : vec4 = gWebGPUBuffer0.u_Data[j];\\nvar vx : f32 = currentNode.x - nextNode.x;\\nvar vy : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = std::sqrt((vx * vx) + (vy * vy)) + 0.01;\\nvar n_dist : f32 = (dist + 0.1) * gWebGPUUniformParams.u_coulombDisScale;\\nvar direx : f32 = vx / dist;\\nvar direy : f32 = vy / dist;\\nvar attributesi : vec4 = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvar attributesj : vec4 = gWebGPUBuffer2.u_NodeAttributeArray1[j];\\nvar massi : f32 = attributesi.x;\\nvar nodeStrengthi : f32 = attributesi.z;\\nvar nodeStrengthj : f32 = attributesj.z;\\nvar nodeStrength : f32 = (nodeStrengthi + nodeStrengthj) / 2.0;\\nvar param : f32 = (nodeStrength * gWebGPUUniformParams.u_factor) / (n_dist * n_dist);\\nax = ax + direx * param;\\nay = ay + direy * param;}}\\nreturn vec2(ax, ay);}\\nfn calcGravity(i : i32, currentNode : vec4, attributes2 : vec4) -> vec2 {var vx : f32 = currentNode.x - attributes2.x;\\nvar vy : f32 = currentNode.y - attributes2.y;\\nvar ax : f32 = vx * attributes2.z;\\nvar ay : f32 = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nfn calcAttractive(i : i32, currentNode : vec4, attributes1 : vec4) -> vec2 {var mass : f32 = attributes1.x;\\nvar ax : f32 = 0.0;\\nvar ay : f32 = 0.0;\\nvar compressed : vec2 = unpack_float(currentNode.z);\\nvar length : i32 = compressed.x;\\nvar arr_offset : i32 = compressed.y;\\nvar node_buffer : vec4;\\nfor (var p : i32 = 0; p < __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX; p = p + 1) {if (p >= length) {break;}\\nvar arr_idx : i32 = arr_offset + (4 * p);\\nvar buf_offset : i32 = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[i32(arr_idx / 4)];}\\nvar float_j : f32 = node_buffer.x;\\nvar nextNode : vec4 = gWebGPUBuffer0.u_Data[i32(float_j)];\\nvar vx : f32 = nextNode.x - currentNode.x;\\nvar vy : f32 = nextNode.y - currentNode.y;\\nvar dist : f32 = std::sqrt((vx * vx) + (vy * vy)) + 0.01;\\nvar direx : f32 = vx / dist;\\nvar direy : f32 = vy / dist;\\nvar edgeLength : f32 = node_buffer.y;\\nvar edgeStrength : f32 = node_buffer.z;\\nvar diff : f32 = edgeLength - dist;\\nvar param : f32 = (diff * edgeStrength) / mass;\\nax = ax - direx * param;\\nay = ay - direy * param;}\\nreturn vec2(ax, ay);}\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar currentNode : vec4 = gWebGPUBuffer0.u_Data[i];\\nvar movement : vec4 = gWebGPUBuffer1.u_AveMovement[0];\\nvar ax : f32 = 0.0;\\nvar ay : f32 = 0.0;\\nif ((i >= __DefineValuePlaceholder__VERTEX_COUNT) || (movement.x < gWebGPUUniformParams.u_minMovement)) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvar nodeAttributes1 : vec4 = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvar nodeAttributes2 : vec4 = gWebGPUBuffer3.u_NodeAttributeArray2[i];\\nvar repulsive : vec2 = calcRepulsive(i, currentNode);\\nax = ax + repulsive.x;\\nay = ay + repulsive.y;\\nvar attractive : vec2 = calcAttractive(i, currentNode, nodeAttributes1);\\nax = ax + attractive.x;\\nay = ay + attractive.y;\\nvar gravity : vec2 = calcGravity(i, currentNode, nodeAttributes2);\\nax = ax - gravity.x;\\nay = ay - gravity.y;\\nvar param : f32 = gWebGPUUniformParams.u_interval * gWebGPUUniformParams.u_damping;\\nvar vx : f32 = ax * param;\\nvar vy : f32 = ay * param;\\nvar vlength : f32 = std::sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > gWebGPUUniformParams.u_maxSpeed) {var param2 : f32 = gWebGPUUniformParams.u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nvar distx : f32 = vx * gWebGPUUniformParams.u_interval;\\nvar disty : f32 = vy * gWebGPUUniformParams.u_interval;\\nvar distLength : f32 = std::sqrt((distx * distx) + (disty * disty));\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0);}else {gWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength);}\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_damping;\\n float u_maxSpeed;\\n float u_minMovement;\\n \\n float u_coulombDisScale;\\n float u_factor;\\n \\n \\n float u_interval;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer readonly GWebGPUBuffer1 {\\n vec4 u_AveMovement[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 3) buffer readonly GWebGPUBuffer2 {\\n vec4 u_NodeAttributeArray1[];\\n} gWebGPUBuffer2;\\n\\nlayout(std430, set = 0, binding = 4) buffer readonly GWebGPUBuffer3 {\\n vec4 u_NodeAttributeArray2[];\\n} gWebGPUBuffer3;\\n\\n\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define SHIFT_20 1048576.0\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nivec2 unpack_float(float packedValue) {int packedIntValue = int(packedValue);\\nint v0 = packedIntValue / int(SHIFT_20);\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\nvec2 calcRepulsive(int i, vec4 currentNode) {float ax = 0.0;\\nfloat ay = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = gWebGPUBuffer0.u_Data[j];\\nfloat vx = currentNode.x - nextNode.x;\\nfloat vy = currentNode.y - nextNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat n_dist = (dist + 0.1) * gWebGPUUniformParams.u_coulombDisScale;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nvec4 attributesi = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvec4 attributesj = gWebGPUBuffer2.u_NodeAttributeArray1[j];\\nfloat massi = attributesi.x;\\nfloat nodeStrengthi = attributesi.z;\\nfloat nodeStrengthj = attributesj.z;\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\nfloat param = (nodeStrength * gWebGPUUniformParams.u_factor) / (n_dist * n_dist);\\nax += direx * param;\\nay += direy * param;}}\\nreturn vec2(ax, ay);}\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {float vx = currentNode.x - attributes2.x;\\nfloat vy = currentNode.y - attributes2.y;\\nfloat ax = vx * attributes2.z;\\nfloat ay = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {float mass = attributes1.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nivec2 compressed = unpack_float(currentNode.z);\\nint length = compressed.x;\\nint arr_offset = compressed.y;\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + (4 * p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[int(arr_idx / 4)];}\\nfloat float_j = node_buffer.x;\\nvec4 nextNode = gWebGPUBuffer0.u_Data[int(float_j)];\\nfloat vx = nextNode.x - currentNode.x;\\nfloat vy = nextNode.y - currentNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nfloat edgeLength = node_buffer.y;\\nfloat edgeStrength = node_buffer.z;\\nfloat diff = edgeLength - dist;\\nfloat param = (diff * edgeStrength) / mass;\\nax -= direx * param;\\nay -= direy * param;}\\nreturn vec2(ax, ay);}\\nvoid main() {int i = globalInvocationID.x;\\nvec4 currentNode = gWebGPUBuffer0.u_Data[i];\\nvec4 movement = gWebGPUBuffer1.u_AveMovement[0];\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nif ((i >= VERTEX_COUNT) || (movement.x < gWebGPUUniformParams.u_minMovement)) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvec4 nodeAttributes1 = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvec4 nodeAttributes2 = gWebGPUBuffer3.u_NodeAttributeArray2[i];\\nvec2 repulsive = calcRepulsive(i, currentNode);\\nax += repulsive.x;\\nay += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\nax += attractive.x;\\nay += attractive.y;\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\nax -= gravity.x;\\nay -= gravity.y;\\nfloat param = gWebGPUUniformParams.u_interval * gWebGPUUniformParams.u_damping;\\nfloat vx = ax * param;\\nfloat vy = ay * param;\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > gWebGPUUniformParams.u_maxSpeed) {float param2 = gWebGPUUniformParams.u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nfloat distx = vx * gWebGPUUniformParams.u_interval;\\nfloat disty = vy * gWebGPUUniformParams.u_interval;\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0);}else {gWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength);}}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define SHIFT_20 1048576.0\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_damping;\\nuniform float u_maxSpeed;\\nuniform float u_minMovement;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nuniform float u_coulombDisScale;\\nuniform float u_factor;\\nuniform sampler2D u_NodeAttributeArray1;\\nuniform vec2 u_NodeAttributeArray1Size;\\nvec4 getDatau_NodeAttributeArray1(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray1, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray1(float address1D) {\\n return getDatau_NodeAttributeArray1(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray1Size));\\n}\\nvec4 getDatau_NodeAttributeArray1(int address1D) {\\n return getDatau_NodeAttributeArray1(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributeArray2;\\nuniform vec2 u_NodeAttributeArray2Size;\\nvec4 getDatau_NodeAttributeArray2(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray2, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray2(float address1D) {\\n return getDatau_NodeAttributeArray2(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray2Size));\\n}\\nvec4 getDatau_NodeAttributeArray2(int address1D) {\\n return getDatau_NodeAttributeArray2(float(address1D));\\n}\\nuniform float u_interval;\\nivec2 unpack_float(float packedValue) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint packedIntValue = int(packedValue);\\nint v0 = packedIntValue / int(SHIFT_20);\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat vx = currentNode.x - nextNode.x;\\nfloat vy = currentNode.y - nextNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat n_dist = (dist + 0.1) * u_coulombDisScale;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nvec4 attributesi = getDatau_NodeAttributeArray1(i);\\nvec4 attributesj = getDatau_NodeAttributeArray1(j);\\nfloat massi = attributesi.x;\\nfloat nodeStrengthi = attributesi.z;\\nfloat nodeStrengthj = attributesj.z;\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\nfloat param = (nodeStrength * u_factor) / (n_dist * n_dist);\\nax += direx * param;\\nay += direy * param;}}\\nreturn vec2(ax, ay);}\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat vx = currentNode.x - attributes2.x;\\nfloat vy = currentNode.y - attributes2.y;\\nfloat ax = vx * attributes2.z;\\nfloat ay = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat mass = attributes1.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nivec2 compressed = unpack_float(currentNode.z);\\nint length = compressed.x;\\nint arr_offset = compressed.y;\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + (4 * p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = node_buffer.x;\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat vx = nextNode.x - currentNode.x;\\nfloat vy = nextNode.y - currentNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nfloat edgeLength = node_buffer.y;\\nfloat edgeStrength = node_buffer.z;\\nfloat diff = edgeLength - dist;\\nfloat param = (diff * edgeStrength) / mass;\\nax -= direx * param;\\nay -= direy * param;}\\nreturn vec2(ax, ay);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nvec4 movement = getDatau_AveMovement(0.0);\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nif ((i >= VERTEX_COUNT) || (movement.x < u_minMovement)) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes1 = getDatau_NodeAttributeArray1(i);\\nvec4 nodeAttributes2 = getDatau_NodeAttributeArray2(i);\\nvec2 repulsive = calcRepulsive(i, currentNode);\\nax += repulsive.x;\\nay += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\nax += attractive.x;\\nay += attractive.y;\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\nax -= gravity.x;\\nay -= gravity.y;\\nfloat param = u_interval * u_damping;\\nfloat vx = ax * param;\\nfloat vy = ay * param;\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > u_maxSpeed) {float param2 = u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nfloat distx = vx * u_interval;\\nfloat disty = vy * u_interval;\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0));}else {gl_FragColor = vec4(vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"SHIFT_20","type":"Float","value":1048576,"runtime":false}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_damping","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_maxSpeed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_minMovement","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_coulombDisScale","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_factor","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray1","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray2","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_interval","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([I,1,1]).setBinding({u_Data:B,u_damping:d.damping,u_maxSpeed:d.maxSpeed,u_minMovement:d.minMovement,u_coulombDisScale:d.coulombDisScale,u_factor:d.factor,u_NodeAttributeArray1:Ze,u_NodeAttributeArray2:nt,MAX_EDGE_PER_VERTEX:F,VERTEX_COUNT:I,u_AveMovement:gt,u_interval:d.interval}),Zt=st.createKernel('{"shaders":{"WGSL":"import \\"GLSL.std.450\\" as std;\\n\\n\\n# var gWebGPUDebug : bool = false;\\n# var gWebGPUDebugOutput : vec4 = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_iter : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AveMovement : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\n\\n\\n\\n\\n\\n\\n\\n\\nfn main() -> void {var movement : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {var vertex : vec4 = gWebGPUBuffer0.u_Data[j];\\nmovement = movement + vertex.w;}\\nmovement = movement / f32(__DefineValuePlaceholder__VERTEX_COUNT);\\ngWebGPUBuffer1.u_AveMovement[0] = vec4(movement, 0.0, 0.0, 0.0);\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_iter;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer readonly GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer GWebGPUBuffer1 {\\n vec4 u_AveMovement[];\\n} gWebGPUBuffer1;\\n\\n\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\nvoid main() {float movement = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = gWebGPUBuffer0.u_Data[j];\\nmovement += vertex.w;}\\nmovement = movement / float(VERTEX_COUNT);\\ngWebGPUBuffer1.u_AveMovement[0] = vec4(movement, 0.0, 0.0, 0.0);}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_iter;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat movement = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = getDatau_Data(j);\\nmovement += vertex.w;}\\nmovement = movement / float(VERTEX_COUNT);\\ngl_FragColor = vec4(vec4(movement, 0.0, 0.0, 0.0));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_iter","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_AveMovement","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([1,1,1]).setBinding({u_Data:B,VERTEX_COUNT:I,u_AveMovement:[0,0,0,0]}),kt=function(){return qu(Vt,void 0,void 0,regeneratorRuntime.mark(function qt(){var $t,Gt,lr;return regeneratorRuntime.wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:$t=0;case 1:if(!($tEe[1]?Ee[0]:Ee[1])/2;me=function(qt){return Ze}}else{var nt=Ee/2;me=function(qt){return nt}}else me=function(qt){return qt.size?ji(qt.size)?(qt.size[0]>qt.size[1]?qt.size[0]:qt.size[1])/2:Co(qt.size)?(qt.size.width>qt.size.height?qt.size.width:qt.size.height)/2:qt.size/2:10};this.nodeSize=me;var ct,st=this.comboSpacing;ct=ur(st)?function(){return st}:Yo(st)?st:function(){return 0},this.comboSpacing=ct;var It,gt=this.comboPadding;It=ur(gt)?function(){return gt}:ji(gt)?function(){return Math.max.apply(null,gt)}:Yo(gt)?gt:function(){return 0},this.comboPadding=It;var Pt,Rt=this.linkDistance;Rt||(Rt=10),Pt=ur(Rt)?function(qt){return Rt}:Rt,this.linkDistance=Pt;var Zt,kt=this.edgeStrength;kt||(kt=1),Zt=ur(kt)?function(qt){return kt}:kt,this.edgeStrength=Zt;var Vt,Dt=this.nodeStrength;Dt||(Dt=30),Vt=ur(Dt)?function(qt){return Dt}:Dt,this.nodeStrength=Vt}},{key:"initPos",value:function(s){this.nodes.forEach(function(u,l){var d=u.comboId,v=s[d];d&&v?(u.x=v.cx+100/(l+1),u.y=v.cy+100/(l+1)):(u.x=100/(l+1),u.y=100/(l+1))})}},{key:"getComboMap",value:function(){var s=this,u=s.nodeMap,l=s.indexMap,d=s.comboTrees,v=s.oriComboMap,k={};return(d||[]).forEach(function(T){var I=[];bs(T,function(j){if(j.itemType==="node"||!v[j.id])return!0;if(k[j.id]===void 0){var F={id:j.id,name:j.id,cx:0,cy:0,count:0,depth:s.oriComboMap[j.id].depth||0,children:[]};k[j.id]=F}var B=j.children;B&&B.forEach(function(me){if(!k[me.id]&&!u[me.id])return!0;I.push(me)});var U=k[j.id];if(U.cx=0,U.cy=0,I.length===0){U.empty=!0;var H=v[j.id],Q=Object.keys(u).length,ve="".concat(j.id,"-visual-child-").concat(Q),pe={id:ve,x:H.x,y:H.y,depth:U.depth+1,itemType:"node"};s.nodes.push(pe),u[ve]=pe,l[ve]=Q,U.cx=H.x,U.cy=H.y,I.push(pe)}return I.forEach(function(me){if(U.count++,me.itemType!=="node"){var Te=k[me.id];return ur(Te.cx)&&(U.cx+=Te.cx),void(ur(Te.cy)&&(U.cy+=Te.cy))}var Ee=u[me.id];Ee&&(ur(Ee.x)&&(U.cx+=Ee.x),ur(Ee.y)&&(U.cy+=Ee.y))}),U.cx/=U.count,U.cy/=U.count,U.children=I,!0})}),k}},{key:"applyComboCenterForce",value:function(s){var u=this.gravity,l=this.comboGravity||u,d=this.alpha,v=this.comboTrees,k=this.indexMap,T=this.nodeMap,I=this.comboMap;(v||[]).forEach(function(j){bs(j,function(F){if(F.itemType==="node"||!I[F.id])return!0;var B=I[F.id],U=(B.depth+1)/10*.5,H=B.cx,Q=B.cy;return B.cx=0,B.cy=0,B.children.forEach(function(ve){if(ve.itemType!=="node"){var pe=I[ve.id];return pe&&ur(pe.cx)&&(B.cx+=pe.cx),void(pe&&ur(pe.cy)&&(B.cy+=pe.cy))}var me=T[ve.id],Te=me.x-H||.005,Ee=me.y-Q||.005,je=Math.sqrt(Te*Te+Ee*Ee),Ze=k[me.id],nt=l*d/je*U;s[Ze].x-=Te*nt,s[Ze].y-=Ee*nt,ur(me.x)&&(B.cx+=me.x),ur(me.y)&&(B.cy+=me.y)}),B.cx/=B.count,B.cy/=B.count,!0})})}},{key:"applyCalculate",value:function(s){var u=this.comboMap,l=this.nodes,d={};l.forEach(function(v,k){l.forEach(function(T,I){if(!(kTe&&(B.minX=Te),B.minY>Ee&&(B.minY=Ee),B.maxX1&&I.forEach(function(j,F){if(j.itemType==="node")return!1;var B=u[j.id];B&&I.forEach(function(U,H){if(F<=H||U.itemType==="node")return!1;var Q=u[U.id];if(!Q)return!1;var ve=B.cx-Q.cx||.005,pe=B.cy-Q.cy||.005,me=ve*ve+pe*pe,Te=B.r||1,Ee=Q.r||1,je=Te+Ee,Ze=Ee*Ee,nt=Te*Te;if(mev)){var It=u["".concat(Q.id,"-").concat(je.id)],gt=It.vx,Pt=It.vy,Rt=Math.log(Math.abs(je.depth-Q.depth)/10)+1||1;Rt=Rt<1?1:Rt,je.comboId!==Q.comboId&&(Rt+=1);var Zt=Rt?Math.pow(U,Rt):1,kt=k(je)*T/ct*Zt;if(s[ve].x+=gt*kt,s[ve].y+=Pt*kt,ve=this.xmid-s&&a<=this.ymid+s&&a>=this.ymid-s}},{key:"NW",value:function(){var i=new n({xmid:this.xmid-this.length/4,ymid:this.ymid+this.length/4,length:this.length/2});return i}},{key:"NE",value:function(){var i=new n({xmid:this.xmid+this.length/4,ymid:this.ymid+this.length/4,length:this.length/2});return i}},{key:"SW",value:function(){var i=new n({xmid:this.xmid-this.length/4,ymid:this.ymid-this.length/4,length:this.length/2});return i}},{key:"SE",value:function(){var i=new n({xmid:this.xmid+this.length/4,ymid:this.ymid-this.length/4,length:this.length/2});return i}}])&&bd(t.prototype,e),r&&bd(t,r),n}();function xd(n,t){for(var e=0;e250&&(this.barnesHut=!0),this.prune===void 0&&k>100&&(this.prune=!0),this.maxIteration!==0||this.prune?this.maxIteration===0&&l&&(d=100,k<=200&&k>100?d=500:k>200&&(d=950),this.maxIteration=d):(d=250,k<=200&&k>100?d=1e3:k>200&&(d=1200),this.maxIteration=d),this.kr||(this.kr=50,k>100&&k<=500?this.kr=20:k>500&&(this.kr=1)),this.kg||(this.kg=20,k>100&&k<=500?this.kg=10:k>500&&(this.kg=1)),this.nodes=this.updateNodesByForces(v),u()}},{key:"updateNodesByForces",value:function(s){for(var u=this.edges,l=this.maxIteration,d=this.nodes,v=u.filter(function(ct){return fn(ct,"source")!==fn(ct,"target")}),k=d.length,T=v.length,I=[],j={},F={},B=[],U=0;U0;){for(var Ee=0;Ee50||!j)?this.getOptRepGraForces(Q,pe,v):this.getRepGraForces(H,50,Q,100,k,v);var je=this.updatePos(Q,ve,U,v);T=je.nodes,U=je.sg,H--,this.tick&&this.tick()}return T}},{key:"getAttrForces",value:function(s,u,l,d,v,k,T,I){for(var j=this.nodes,F=this.preventOverlap,B=this.dissuadeHubs,U=this.mode,H=this.prune,Q=0;Q0&&(Ze=je,nt=je),I[2*d[ve.id]]+=Ze*Ee[0],I[2*d[me.id]]-=nt*Ee[0],I[2*d[ve.id]+1]+=Ze*Ee[1],I[2*d[me.id]+1]-=nt*Ee[1]}}return I}},{key:"getRepGraForces",value:function(s,u,l,d,v,k){for(var T=this.nodes,I=this.preventOverlap,j=this.kr,F=this.kg,B=this.center,U=this.prune,H=T.length,Q=0;Q0&&(Te=j*(k[Q]+1)*(k[ve]+1)/me),l[2*Q]-=Te*pe[0],l[2*ve]+=Te*pe[0],l[2*Q+1]-=Te*pe[1],l[2*ve+1]+=Te*pe[1]}var Ee=[T[Q].x-B[0],T[Q].y-B[1]],je=Math.hypot(Ee[0],Ee[1]);Ee[0]=Ee[0]/je,Ee[1]=Ee[1]/je;var Ze=F*(k[Q]+1);l[2*Q]-=Ze*Ee[0],l[2*Q+1]-=Ze*Ee[1]}return l}},{key:"getOptRepGraForces",value:function(s,u,l){for(var d=this.nodes,v=this.kg,k=this.center,T=this.prune,I=d.length,j=9e10,F=-9e10,B=9e10,U=-9e10,H=0;H=F&&(F=d[H].x),d[H].x<=j&&(j=d[H].x),d[H].y>=U&&(U=d[H].y),d[H].y<=B&&(B=d[H].y));for(var Q=Math.max(F-j,U-B),ve=new ly({xmid:(F+j)/2,ymid:(U+B)/2,length:Q,massCenter:k,mass:I}),pe=new fy(ve),me=0;me1.5*je?1.5*je:l);for(var Ze=0;Zest?st:nt)*s[2*Ze],gt=nt*s[2*Ze+1];v[Ze].x+=It,v[Ze].y+=gt}return{nodes:v,sg:l}}}])&&_d(t.prototype,e),r&&_d(t,r),a}(Xi),Ws=new Proxy({},{get:function(n,t){return ug(t)},set:function(n,t,e){return Li(t,e),!0}}),gy=o(82),Xs=o.n(gy),Ed=mr.traverseTree,vy=function(n,t){return n?Object(p.isNumber)(n)?function(e){return n}:n:function(e){return t||1}},yy=function(n,t){var e=[],r=[],i={},a=0;for(a=0;a=0&&(a="x",i="y");var s=0;Ed(n,function(d){return s++,d.x>r.x&&(r.x=d.x),d.xr.y&&(r.y=d.y),d.yWebGL.
    ','Find out how to get it here.'].join(` +#endif`}),i=this.container.getAll(rt.IDENTIFIER.Systems),!(a=this.configService.get()).canvas){d.next=30;break}return d.next=11,this.engine.init({canvas:a.canvas,swapChainFormat:Jt.TextureFormat.BGRA8Unorm,antialiasing:!1});case 11:s=Dh(i),d.prev=12,s.s();case 14:if((u=s.n()).done){d.next=21;break}if(!(l=u.value).initialize){d.next=19;break}return d.next=19,l.initialize();case 19:d.next=14;break;case 21:d.next=26;break;case 23:d.prev=23,d.t0=d.catch(12),s.e(d.t0);case 26:return d.prev=26,s.f(),d.finish(26);case 29:this.inited=!0;case 30:case"end":return d.stop()}},r,this,[[12,23,26,29]])})),function(){return e.apply(this,arguments)})},{key:"render",value:(t=ti()(Hr.a.mark(function r(){var i,a,s,u,l,d,v,k=arguments;return Hr.a.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(this.inited&&!this.rendering){T.next=2;break}return T.abrupt("return");case 2:for(this.pendings.length&&this.pendings.forEach(function(I){I()}),this.rendering=!0,this.engine.beginFrame(),i=this.container.getAll(rt.IDENTIFIER.Systems),a=k.length,s=new Array(a),u=0;u0&&arguments[0]!==void 0?arguments[0]:{},r=Object(rt.createWorldContainer)(),i=navigator.gpu?M0:c0;r.isBound(rt.IDENTIFIER.RenderEngine)||r.bind(rt.IDENTIFIER.RenderEngine).to(i).inSingletonScope(),r.bind(Xh).toSelf(),r.bind(Ef).toSelf(),r.bind(Zo).toSelf(),r.bind(ad).toSelf(),r.bind(ql).toSelf(),r.bind(Yh).toSelf(),r.bind(n).toSelf(),r.bind(Hh).toSelf(),r.bind(od).toSelf(),r.bind(rt.IDENTIFIER.Geometry).to(P0).whenTargetNamed(qo.BOX),r.bind(rt.IDENTIFIER.Geometry).to(G0).whenTargetNamed(qo.SPHERE),r.bind(rt.IDENTIFIER.Geometry).to(L0).whenTargetNamed(qo.PLANE),r.bind(rt.IDENTIFIER.Geometry).to(D0).whenTargetNamed(qo.MERGED),r.bind(rt.IDENTIFIER.Material).to(U0).whenTargetNamed(Of.BASIC),r.bind(rt.IDENTIFIER.Renderable).to(K0).whenTargetNamed(Zo.POINT),r.bind(rt.IDENTIFIER.Renderable).to(Y0).whenTargetNamed(Zo.LINE),r.bind(rt.IDENTIFIER.Renderable).to(W0).whenTargetNamed(Zo.GRID);var a=r.get(n);return a.setContainer(r),a.setConfig(e),a}}]),n}(),id=Nn()(Xu.prototype,"configService",[rd],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nd=Xu))||nd),Aa=function(n,t){return n?cr(n)?function(){return n}:n:function(){return t||1}},$0=function(n,t){var e=[],r=[],i={},a=0;for(a=0;a = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_K : f32;\\n [[offset 4]] u_K2 : f32;\\n [[offset 8]] u_Center : vec2;\\n [[offset 16]] u_Gravity : f32;\\n [[offset 20]] u_ClusterGravity : f32;\\n [[offset 24]] u_Speed : f32;\\n [[offset 28]] u_MaxDisplace : f32;\\n [[offset 32]] u_Clustering : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AttributeArray : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_ClusterCenters : [[stride 16]] array>;\\n};\\n[[binding 3, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn calcRepulsive(i : i32, currentNode : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {if (i != j) {var nextNode : vec4 = gWebGPUBuffer0.u_Data[j];\\nvar xDist : f32 = currentNode.x - nextNode.x;\\nvar yDist : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nvar param : f32 = gWebGPUUniformParams.u_K2 / dist;\\nif (dist > 0.0) {dx = dx + param * xDist;\\ndy = dy + param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {var sign : f32 = select(1.0, -1.0, i < j);\\ndx = dx + param * std::sign;\\ndy = dy + param * std::sign;}}}}\\nreturn vec2(dx, dy);}\\nfn calcGravity(currentNode : vec4, nodeAttributes : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nvar vx : f32 = currentNode.x - gWebGPUUniformParams.u_Center.x;\\nvar vy : f32 = currentNode.y - gWebGPUUniformParams.u_Center.y;\\nvar gf : f32 = (0.01 * gWebGPUUniformParams.u_K) * gWebGPUUniformParams.u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (gWebGPUUniformParams.u_Clustering == 1.0) {var clusterIdx : i32 = i32(nodeAttributes.x);\\nvar center : vec4 = gWebGPUBuffer2.u_ClusterCenters[clusterIdx];\\nvar cvx : f32 = currentNode.x - center.x;\\nvar cvy : f32 = currentNode.y - center.y;\\nvar dist : f32 = std::sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nvar parma : f32 = (gWebGPUUniformParams.u_K * gWebGPUUniformParams.u_ClusterGravity) / dist;\\ndx = dx + parma * cvx;\\ndy = dy + parma * cvy;}\\nreturn vec2(dx, dy);}\\nfn calcAttractive(i : i32, currentNode : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nvar arr_offset : i32 = i32(std::floor(currentNode.z + 0.5));\\nvar length : i32 = i32(std::floor(currentNode.w + 0.5));\\nvar node_buffer : vec4;\\nfor (var p : i32 = 0; p < __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX; p = p + 1) {if (p >= length) {break;}\\nvar arr_idx : i32 = arr_offset + i32(p);\\nvar buf_offset : i32 = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[i32(arr_idx / 4)];}\\nvar float_j : f32 = select(node_buffer.x, select(node_buffer.y, select(node_buffer.z, node_buffer.w, buf_offset == 2), buf_offset == 1), buf_offset == 0);\\nvar nextNode : vec4 = gWebGPUBuffer0.u_Data[i32(float_j)];\\nvar xDist : f32 = currentNode.x - nextNode.x;\\nvar yDist : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = std::sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nvar attractiveF : f32 = dist / gWebGPUUniformParams.u_K;\\nif (dist > 0.0) {dx = dx - xDist * attractiveF;\\ndy = dy - yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {var sign : f32 = select(1.0, -1.0, i < i32(float_j));\\ndx = dx - std::sign * attractiveF;\\ndy = dy - std::sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar currentNode : vec4 = gWebGPUBuffer0.u_Data[i];\\nvar dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nif (i >= __DefineValuePlaceholder__VERTEX_COUNT) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvar nodeAttributes : vec4 = gWebGPUBuffer1.u_AttributeArray[i];\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w);\\nreturn ;}\\nvar repulsive : vec2 = calcRepulsive(i, currentNode);\\ndx = dx + repulsive.x;\\ndy = dy + repulsive.y;\\nvar attractive : vec2 = calcAttractive(i, currentNode);\\ndx = dx + attractive.x;\\ndy = dy + attractive.y;\\nvar gravity : vec2 = calcGravity(currentNode, nodeAttributes);\\ndx = dx - gravity.x;\\ndy = dy - gravity.y;\\ndx = dx * gWebGPUUniformParams.u_Speed;\\ndy = dy * gWebGPUUniformParams.u_Speed;\\nvar distLength : f32 = std::sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {var limitedDist : f32 = std::min(gWebGPUUniformParams.u_MaxDisplace * gWebGPUUniformParams.u_Speed, distLength);\\ngWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w);}\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_K;\\n float u_K2;\\n vec2 u_Center;\\n float u_Gravity;\\n float u_ClusterGravity;\\n float u_Speed;\\n float u_MaxDisplace;\\n float u_Clustering;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer readonly GWebGPUBuffer1 {\\n vec4 u_AttributeArray[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 3) buffer readonly GWebGPUBuffer2 {\\n vec4 u_ClusterCenters[];\\n} gWebGPUBuffer2;\\n\\n\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nvec2 calcRepulsive(int i, vec4 currentNode) {float dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = gWebGPUBuffer0.u_Data[j];\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = gWebGPUUniformParams.u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {float dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - gWebGPUUniformParams.u_Center.x;\\nfloat vy = currentNode.y - gWebGPUUniformParams.u_Center.y;\\nfloat gf = (0.01 * gWebGPUUniformParams.u_K) * gWebGPUUniformParams.u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (gWebGPUUniformParams.u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = gWebGPUBuffer2.u_ClusterCenters[clusterIdx];\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (gWebGPUUniformParams.u_K * gWebGPUUniformParams.u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {float dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[int(arr_idx / 4)];}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = gWebGPUBuffer0.u_Data[int(float_j)];\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / gWebGPUUniformParams.u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {int i = globalInvocationID.x;\\nvec4 currentNode = gWebGPUBuffer0.u_Data[i];\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvec4 nodeAttributes = gWebGPUBuffer1.u_AttributeArray[i];\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w);\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= gWebGPUUniformParams.u_Speed;\\ndy *= gWebGPUUniformParams.u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(gWebGPUUniformParams.u_MaxDisplace * gWebGPUUniformParams.u_Speed, distLength);\\ngWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w);}}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_K;\\nuniform float u_K2;\\nuniform vec2 u_Center;\\nuniform float u_Gravity;\\nuniform float u_ClusterGravity;\\nuniform float u_Speed;\\nuniform float u_MaxDisplace;\\nuniform float u_Clustering;\\nuniform sampler2D u_AttributeArray;\\nuniform vec2 u_AttributeArraySize;\\nvec4 getDatau_AttributeArray(vec2 address2D) {\\n return vec4(texture2D(u_AttributeArray, address2D).rgba);\\n}\\nvec4 getDatau_AttributeArray(float address1D) {\\n return getDatau_AttributeArray(addrTranslation_1Dto2D(address1D, u_AttributeArraySize));\\n}\\nvec4 getDatau_AttributeArray(int address1D) {\\n return getDatau_AttributeArray(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - u_Center.x;\\nfloat vy = currentNode.y - u_Center.y;\\nfloat gf = (0.01 * u_K) * u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = getDatau_ClusterCenters(clusterIdx);\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (u_K * u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes = getDatau_AttributeArray(i);\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w));\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= u_Speed;\\ndy *= u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(u_MaxDisplace * u_Speed, distLength);\\ngl_FragColor = vec4(vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_K","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_K2","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Center","type":"vec2","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Gravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterGravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Speed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_MaxDisplace","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Clustering","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AttributeArray","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([Ie,1,1]).setBinding({u_Data:Ze,u_K:V,u_K2:G,u_Gravity:d.gravity,u_ClusterGravity:d.clusterGravity||d.gravity||1,u_Speed:q,u_MaxDisplace:F,u_Clustering:$?1:0,u_Center:I,u_AttributeArray:de,u_ClusterCenters:jt,MAX_EDGE_PER_VERTEX:Pe,VERTEX_COUNT:Ie}),$&&(Rt=ct.createKernel('{"shaders":{"WGSL":"import \\"GLSL.std.450\\" as std;\\n\\n\\n# var gWebGPUDebug : bool = false;\\n# var gWebGPUDebugOutput : vec4 = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\n\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 0, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_NodeAttributes : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_ClusterCenters : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar center : vec4 = gWebGPUBuffer2.u_ClusterCenters[i];\\nvar sumx : f32 = 0.0;\\nvar sumy : f32 = 0.0;\\nvar count : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {var attributes : vec4 = gWebGPUBuffer1.u_NodeAttributes[j];\\nvar clusterIdx : i32 = i32(attributes.x);\\nvar vertex : vec4 = gWebGPUBuffer0.u_Data[j];\\nif (clusterIdx == i) {sumx = sumx + vertex.x;\\nsumy = sumy + vertex.y;\\ncount = count + 1.0;}}\\ngWebGPUBuffer2.u_ClusterCenters[i] = vec4(sumx / count, sumy / count, count, i);\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\n\\nlayout(std430, set = 0, binding = 0) buffer readonly GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 1) buffer readonly GWebGPUBuffer1 {\\n vec4 u_NodeAttributes[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 2) buffer GWebGPUBuffer2 {\\n vec4 u_ClusterCenters[];\\n} gWebGPUBuffer2;\\n\\n\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\nvoid main() {int i = globalInvocationID.x;\\nvec4 center = gWebGPUBuffer2.u_ClusterCenters[i];\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = gWebGPUBuffer1.u_NodeAttributes[j];\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = gWebGPUBuffer0.u_Data[j];\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngWebGPUBuffer2.u_ClusterCenters[i] = vec4(sumx / count, sumy / count, count, i);}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributes;\\nuniform vec2 u_NodeAttributesSize;\\nvec4 getDatau_NodeAttributes(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributes, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributes(float address1D) {\\n return getDatau_NodeAttributes(addrTranslation_1Dto2D(address1D, u_NodeAttributesSize));\\n}\\nvec4 getDatau_NodeAttributes(int address1D) {\\n return getDatau_NodeAttributes(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 center = getDatau_ClusterCenters(i);\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = getDatau_NodeAttributes(j);\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = getDatau_Data(j);\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngl_FragColor = vec4(vec4(sumx / count, sumy / count, count, i));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"CLUSTER_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributes","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_ClusterCenters","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([me,1,1]).setBinding({u_Data:Ze,u_NodeAttributes:de,u_ClusterCenters:jt,VERTEX_COUNT:Ie,CLUSTER_COUNT:me})),Zt=function(){return Vs(Ct,void 0,void 0,regeneratorRuntime.mark(function Dt(){var qt,$t;return regeneratorRuntime.wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:qt=0;case 1:if(!(qt = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_damping : f32;\\n [[offset 4]] u_maxSpeed : f32;\\n [[offset 8]] u_minMovement : f32;\\n \\n [[offset 12]] u_coulombDisScale : f32;\\n [[offset 16]] u_factor : f32;\\n \\n \\n [[offset 20]] u_interval : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AveMovement : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_NodeAttributeArray1 : [[stride 16]] array>;\\n};\\n[[binding 3, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\ntype GWebGPUBuffer3 = [[block]] struct {\\n [[offset 0]] u_NodeAttributeArray2 : [[stride 16]] array>;\\n};\\n[[binding 4, set 0]] var gWebGPUBuffer3 : GWebGPUBuffer3;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn unpack_float(packedValue : f32) -> vec2 {var packedIntValue : i32 = i32(packedValue);\\nvar v0 : i32 = packedIntValue / 1048576;\\nreturn vec2(v0, packedIntValue - (v0 * 1048576));}\\nfn calcRepulsive(i : i32, currentNode : vec4) -> vec2 {var ax : f32 = 0.0;\\nvar ay : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {if (i != j) {var nextNode : vec4 = gWebGPUBuffer0.u_Data[j];\\nvar vx : f32 = currentNode.x - nextNode.x;\\nvar vy : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = std::sqrt((vx * vx) + (vy * vy)) + 0.01;\\nvar n_dist : f32 = (dist + 0.1) * gWebGPUUniformParams.u_coulombDisScale;\\nvar direx : f32 = vx / dist;\\nvar direy : f32 = vy / dist;\\nvar attributesi : vec4 = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvar attributesj : vec4 = gWebGPUBuffer2.u_NodeAttributeArray1[j];\\nvar massi : f32 = attributesi.x;\\nvar nodeStrengthi : f32 = attributesi.z;\\nvar nodeStrengthj : f32 = attributesj.z;\\nvar nodeStrength : f32 = (nodeStrengthi + nodeStrengthj) / 2.0;\\nvar param : f32 = (nodeStrength * gWebGPUUniformParams.u_factor) / (n_dist * n_dist);\\nax = ax + direx * param;\\nay = ay + direy * param;}}\\nreturn vec2(ax, ay);}\\nfn calcGravity(i : i32, currentNode : vec4, attributes2 : vec4) -> vec2 {var vx : f32 = currentNode.x - attributes2.x;\\nvar vy : f32 = currentNode.y - attributes2.y;\\nvar ax : f32 = vx * attributes2.z;\\nvar ay : f32 = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nfn calcAttractive(i : i32, currentNode : vec4, attributes1 : vec4) -> vec2 {var mass : f32 = attributes1.x;\\nvar ax : f32 = 0.0;\\nvar ay : f32 = 0.0;\\nvar compressed : vec2 = unpack_float(currentNode.z);\\nvar length : i32 = compressed.x;\\nvar arr_offset : i32 = compressed.y;\\nvar node_buffer : vec4;\\nfor (var p : i32 = 0; p < __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX; p = p + 1) {if (p >= length) {break;}\\nvar arr_idx : i32 = arr_offset + (4 * p);\\nvar buf_offset : i32 = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[i32(arr_idx / 4)];}\\nvar float_j : f32 = node_buffer.x;\\nvar nextNode : vec4 = gWebGPUBuffer0.u_Data[i32(float_j)];\\nvar vx : f32 = nextNode.x - currentNode.x;\\nvar vy : f32 = nextNode.y - currentNode.y;\\nvar dist : f32 = std::sqrt((vx * vx) + (vy * vy)) + 0.01;\\nvar direx : f32 = vx / dist;\\nvar direy : f32 = vy / dist;\\nvar edgeLength : f32 = node_buffer.y;\\nvar edgeStrength : f32 = node_buffer.z;\\nvar diff : f32 = edgeLength - dist;\\nvar param : f32 = (diff * edgeStrength) / mass;\\nax = ax - direx * param;\\nay = ay - direy * param;}\\nreturn vec2(ax, ay);}\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar currentNode : vec4 = gWebGPUBuffer0.u_Data[i];\\nvar movement : vec4 = gWebGPUBuffer1.u_AveMovement[0];\\nvar ax : f32 = 0.0;\\nvar ay : f32 = 0.0;\\nif ((i >= __DefineValuePlaceholder__VERTEX_COUNT) || (movement.x < gWebGPUUniformParams.u_minMovement)) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvar nodeAttributes1 : vec4 = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvar nodeAttributes2 : vec4 = gWebGPUBuffer3.u_NodeAttributeArray2[i];\\nvar repulsive : vec2 = calcRepulsive(i, currentNode);\\nax = ax + repulsive.x;\\nay = ay + repulsive.y;\\nvar attractive : vec2 = calcAttractive(i, currentNode, nodeAttributes1);\\nax = ax + attractive.x;\\nay = ay + attractive.y;\\nvar gravity : vec2 = calcGravity(i, currentNode, nodeAttributes2);\\nax = ax - gravity.x;\\nay = ay - gravity.y;\\nvar param : f32 = gWebGPUUniformParams.u_interval * gWebGPUUniformParams.u_damping;\\nvar vx : f32 = ax * param;\\nvar vy : f32 = ay * param;\\nvar vlength : f32 = std::sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > gWebGPUUniformParams.u_maxSpeed) {var param2 : f32 = gWebGPUUniformParams.u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nvar distx : f32 = vx * gWebGPUUniformParams.u_interval;\\nvar disty : f32 = vy * gWebGPUUniformParams.u_interval;\\nvar distLength : f32 = std::sqrt((distx * distx) + (disty * disty));\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0);}else {gWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength);}\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_damping;\\n float u_maxSpeed;\\n float u_minMovement;\\n \\n float u_coulombDisScale;\\n float u_factor;\\n \\n \\n float u_interval;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer readonly GWebGPUBuffer1 {\\n vec4 u_AveMovement[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 3) buffer readonly GWebGPUBuffer2 {\\n vec4 u_NodeAttributeArray1[];\\n} gWebGPUBuffer2;\\n\\nlayout(std430, set = 0, binding = 4) buffer readonly GWebGPUBuffer3 {\\n vec4 u_NodeAttributeArray2[];\\n} gWebGPUBuffer3;\\n\\n\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define SHIFT_20 1048576.0\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nivec2 unpack_float(float packedValue) {int packedIntValue = int(packedValue);\\nint v0 = packedIntValue / int(SHIFT_20);\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\nvec2 calcRepulsive(int i, vec4 currentNode) {float ax = 0.0;\\nfloat ay = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = gWebGPUBuffer0.u_Data[j];\\nfloat vx = currentNode.x - nextNode.x;\\nfloat vy = currentNode.y - nextNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat n_dist = (dist + 0.1) * gWebGPUUniformParams.u_coulombDisScale;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nvec4 attributesi = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvec4 attributesj = gWebGPUBuffer2.u_NodeAttributeArray1[j];\\nfloat massi = attributesi.x;\\nfloat nodeStrengthi = attributesi.z;\\nfloat nodeStrengthj = attributesj.z;\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\nfloat param = (nodeStrength * gWebGPUUniformParams.u_factor) / (n_dist * n_dist);\\nax += direx * param;\\nay += direy * param;}}\\nreturn vec2(ax, ay);}\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {float vx = currentNode.x - attributes2.x;\\nfloat vy = currentNode.y - attributes2.y;\\nfloat ax = vx * attributes2.z;\\nfloat ay = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {float mass = attributes1.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nivec2 compressed = unpack_float(currentNode.z);\\nint length = compressed.x;\\nint arr_offset = compressed.y;\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + (4 * p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[int(arr_idx / 4)];}\\nfloat float_j = node_buffer.x;\\nvec4 nextNode = gWebGPUBuffer0.u_Data[int(float_j)];\\nfloat vx = nextNode.x - currentNode.x;\\nfloat vy = nextNode.y - currentNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nfloat edgeLength = node_buffer.y;\\nfloat edgeStrength = node_buffer.z;\\nfloat diff = edgeLength - dist;\\nfloat param = (diff * edgeStrength) / mass;\\nax -= direx * param;\\nay -= direy * param;}\\nreturn vec2(ax, ay);}\\nvoid main() {int i = globalInvocationID.x;\\nvec4 currentNode = gWebGPUBuffer0.u_Data[i];\\nvec4 movement = gWebGPUBuffer1.u_AveMovement[0];\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nif ((i >= VERTEX_COUNT) || (movement.x < gWebGPUUniformParams.u_minMovement)) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvec4 nodeAttributes1 = gWebGPUBuffer2.u_NodeAttributeArray1[i];\\nvec4 nodeAttributes2 = gWebGPUBuffer3.u_NodeAttributeArray2[i];\\nvec2 repulsive = calcRepulsive(i, currentNode);\\nax += repulsive.x;\\nay += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\nax += attractive.x;\\nay += attractive.y;\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\nax -= gravity.x;\\nay -= gravity.y;\\nfloat param = gWebGPUUniformParams.u_interval * gWebGPUUniformParams.u_damping;\\nfloat vx = ax * param;\\nfloat vy = ay * param;\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > gWebGPUUniformParams.u_maxSpeed) {float param2 = gWebGPUUniformParams.u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nfloat distx = vx * gWebGPUUniformParams.u_interval;\\nfloat disty = vy * gWebGPUUniformParams.u_interval;\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0);}else {gWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength);}}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define SHIFT_20 1048576.0\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_damping;\\nuniform float u_maxSpeed;\\nuniform float u_minMovement;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nuniform float u_coulombDisScale;\\nuniform float u_factor;\\nuniform sampler2D u_NodeAttributeArray1;\\nuniform vec2 u_NodeAttributeArray1Size;\\nvec4 getDatau_NodeAttributeArray1(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray1, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray1(float address1D) {\\n return getDatau_NodeAttributeArray1(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray1Size));\\n}\\nvec4 getDatau_NodeAttributeArray1(int address1D) {\\n return getDatau_NodeAttributeArray1(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributeArray2;\\nuniform vec2 u_NodeAttributeArray2Size;\\nvec4 getDatau_NodeAttributeArray2(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray2, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray2(float address1D) {\\n return getDatau_NodeAttributeArray2(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray2Size));\\n}\\nvec4 getDatau_NodeAttributeArray2(int address1D) {\\n return getDatau_NodeAttributeArray2(float(address1D));\\n}\\nuniform float u_interval;\\nivec2 unpack_float(float packedValue) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint packedIntValue = int(packedValue);\\nint v0 = packedIntValue / int(SHIFT_20);\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat vx = currentNode.x - nextNode.x;\\nfloat vy = currentNode.y - nextNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat n_dist = (dist + 0.1) * u_coulombDisScale;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nvec4 attributesi = getDatau_NodeAttributeArray1(i);\\nvec4 attributesj = getDatau_NodeAttributeArray1(j);\\nfloat massi = attributesi.x;\\nfloat nodeStrengthi = attributesi.z;\\nfloat nodeStrengthj = attributesj.z;\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\nfloat param = (nodeStrength * u_factor) / (n_dist * n_dist);\\nax += direx * param;\\nay += direy * param;}}\\nreturn vec2(ax, ay);}\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat vx = currentNode.x - attributes2.x;\\nfloat vy = currentNode.y - attributes2.y;\\nfloat ax = vx * attributes2.z;\\nfloat ay = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat mass = attributes1.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nivec2 compressed = unpack_float(currentNode.z);\\nint length = compressed.x;\\nint arr_offset = compressed.y;\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + (4 * p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = node_buffer.x;\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat vx = nextNode.x - currentNode.x;\\nfloat vy = nextNode.y - currentNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nfloat edgeLength = node_buffer.y;\\nfloat edgeStrength = node_buffer.z;\\nfloat diff = edgeLength - dist;\\nfloat param = (diff * edgeStrength) / mass;\\nax -= direx * param;\\nay -= direy * param;}\\nreturn vec2(ax, ay);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nvec4 movement = getDatau_AveMovement(0.0);\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nif ((i >= VERTEX_COUNT) || (movement.x < u_minMovement)) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes1 = getDatau_NodeAttributeArray1(i);\\nvec4 nodeAttributes2 = getDatau_NodeAttributeArray2(i);\\nvec2 repulsive = calcRepulsive(i, currentNode);\\nax += repulsive.x;\\nay += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\nax += attractive.x;\\nay += attractive.y;\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\nax -= gravity.x;\\nay -= gravity.y;\\nfloat param = u_interval * u_damping;\\nfloat vx = ax * param;\\nfloat vy = ay * param;\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > u_maxSpeed) {float param2 = u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nfloat distx = vx * u_interval;\\nfloat disty = vy * u_interval;\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0));}else {gl_FragColor = vec4(vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"SHIFT_20","type":"Float","value":1048576,"runtime":false}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_damping","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_maxSpeed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_minMovement","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_coulombDisScale","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_factor","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray1","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray2","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_interval","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([I,1,1]).setBinding({u_Data:G,u_damping:d.damping,u_maxSpeed:d.maxSpeed,u_minMovement:d.minMovement,u_coulombDisScale:d.coulombDisScale,u_factor:d.factor,u_NodeAttributeArray1:Ze,u_NodeAttributeArray2:it,MAX_EDGE_PER_VERTEX:F,VERTEX_COUNT:I,u_AveMovement:gt,u_interval:d.interval}),Zt=st.createKernel('{"shaders":{"WGSL":"import \\"GLSL.std.450\\" as std;\\n\\n\\n# var gWebGPUDebug : bool = false;\\n# var gWebGPUDebugOutput : vec4 = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_iter : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AveMovement : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\n\\n\\n\\n\\n\\n\\n\\n\\nfn main() -> void {var movement : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {var vertex : vec4 = gWebGPUBuffer0.u_Data[j];\\nmovement = movement + vertex.w;}\\nmovement = movement / f32(__DefineValuePlaceholder__VERTEX_COUNT);\\ngWebGPUBuffer1.u_AveMovement[0] = vec4(movement, 0.0, 0.0, 0.0);\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_iter;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer readonly GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer GWebGPUBuffer1 {\\n vec4 u_AveMovement[];\\n} gWebGPUBuffer1;\\n\\n\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\nvoid main() {float movement = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = gWebGPUBuffer0.u_Data[j];\\nmovement += vertex.w;}\\nmovement = movement / float(VERTEX_COUNT);\\ngWebGPUBuffer1.u_AveMovement[0] = vec4(movement, 0.0, 0.0, 0.0);}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_iter;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat movement = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = getDatau_Data(j);\\nmovement += vertex.w;}\\nmovement = movement / float(VERTEX_COUNT);\\ngl_FragColor = vec4(vec4(movement, 0.0, 0.0, 0.0));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_iter","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_AveMovement","size":[1,1],"length":1},"needPingpong":true}}').setDispatch([1,1,1]).setBinding({u_Data:G,VERTEX_COUNT:I,u_AveMovement:[0,0,0,0]}),Ct=function(){return qu(Vt,void 0,void 0,regeneratorRuntime.mark(function qt(){var $t,Gt,lr;return regeneratorRuntime.wrap(function(Br){for(;;)switch(Br.prev=Br.next){case 0:$t=0;case 1:if(!($tEe[1]?Ee[0]:Ee[1])/2;me=function(qt){return Ze}}else{var it=Ee/2;me=function(qt){return it}}else me=function(qt){return qt.size?ji(qt.size)?(qt.size[0]>qt.size[1]?qt.size[0]:qt.size[1])/2:Co(qt.size)?(qt.size.width>qt.size.height?qt.size.width:qt.size.height)/2:qt.size/2:10};this.nodeSize=me;var ct,st=this.comboSpacing;ct=cr(st)?function(){return st}:Yo(st)?st:function(){return 0},this.comboSpacing=ct;var jt,gt=this.comboPadding;jt=cr(gt)?function(){return gt}:ji(gt)?function(){return Math.max.apply(null,gt)}:Yo(gt)?gt:function(){return 0},this.comboPadding=jt;var Pt,Rt=this.linkDistance;Rt||(Rt=10),Pt=cr(Rt)?function(qt){return Rt}:Rt,this.linkDistance=Pt;var Zt,Ct=this.edgeStrength;Ct||(Ct=1),Zt=cr(Ct)?function(qt){return Ct}:Ct,this.edgeStrength=Zt;var Vt,Dt=this.nodeStrength;Dt||(Dt=30),Vt=cr(Dt)?function(qt){return Dt}:Dt,this.nodeStrength=Vt}},{key:"initPos",value:function(s){this.nodes.forEach(function(u,l){var d=u.comboId,v=s[d];d&&v?(u.x=v.cx+100/(l+1),u.y=v.cy+100/(l+1)):(u.x=100/(l+1),u.y=100/(l+1))})}},{key:"getComboMap",value:function(){var s=this,u=s.nodeMap,l=s.indexMap,d=s.comboTrees,v=s.oriComboMap,k={};return(d||[]).forEach(function(T){var I=[];bs(T,function(j){if(j.itemType==="node"||!v[j.id])return!0;if(k[j.id]===void 0){var F={id:j.id,name:j.id,cx:0,cy:0,count:0,depth:s.oriComboMap[j.id].depth||0,children:[]};k[j.id]=F}var G=j.children;G&&G.forEach(function(me){if(!k[me.id]&&!u[me.id])return!0;I.push(me)});var V=k[j.id];if(V.cx=0,V.cy=0,I.length===0){V.empty=!0;var q=v[j.id],$=Object.keys(u).length,ve="".concat(j.id,"-visual-child-").concat($),de={id:ve,x:q.x,y:q.y,depth:V.depth+1,itemType:"node"};s.nodes.push(de),u[ve]=de,l[ve]=$,V.cx=q.x,V.cy=q.y,I.push(de)}return I.forEach(function(me){if(V.count++,me.itemType!=="node"){var Ie=k[me.id];return cr(Ie.cx)&&(V.cx+=Ie.cx),void(cr(Ie.cy)&&(V.cy+=Ie.cy))}var Ee=u[me.id];Ee&&(cr(Ee.x)&&(V.cx+=Ee.x),cr(Ee.y)&&(V.cy+=Ee.y))}),V.cx/=V.count,V.cy/=V.count,V.children=I,!0})}),k}},{key:"applyComboCenterForce",value:function(s){var u=this.gravity,l=this.comboGravity||u,d=this.alpha,v=this.comboTrees,k=this.indexMap,T=this.nodeMap,I=this.comboMap;(v||[]).forEach(function(j){bs(j,function(F){if(F.itemType==="node"||!I[F.id])return!0;var G=I[F.id],V=(G.depth+1)/10*.5,q=G.cx,$=G.cy;return G.cx=0,G.cy=0,G.children.forEach(function(ve){if(ve.itemType!=="node"){var de=I[ve.id];return de&&cr(de.cx)&&(G.cx+=de.cx),void(de&&cr(de.cy)&&(G.cy+=de.cy))}var me=T[ve.id],Ie=me.x-q||.005,Ee=me.y-$||.005,Pe=Math.sqrt(Ie*Ie+Ee*Ee),Ze=k[me.id],it=l*d/Pe*V;s[Ze].x-=Ie*it,s[Ze].y-=Ee*it,cr(me.x)&&(G.cx+=me.x),cr(me.y)&&(G.cy+=me.y)}),G.cx/=G.count,G.cy/=G.count,!0})})}},{key:"applyCalculate",value:function(s){var u=this.comboMap,l=this.nodes,d={};l.forEach(function(v,k){l.forEach(function(T,I){if(!(kIe&&(G.minX=Ie),G.minY>Ee&&(G.minY=Ee),G.maxX1&&I.forEach(function(j,F){if(j.itemType==="node")return!1;var G=u[j.id];G&&I.forEach(function(V,q){if(F<=q||V.itemType==="node")return!1;var $=u[V.id];if(!$)return!1;var ve=G.cx-$.cx||.005,de=G.cy-$.cy||.005,me=ve*ve+de*de,Ie=G.r||1,Ee=$.r||1,Pe=Ie+Ee,Ze=Ee*Ee,it=Ie*Ie;if(mev)){var jt=u["".concat($.id,"-").concat(Pe.id)],gt=jt.vx,Pt=jt.vy,Rt=Math.log(Math.abs(Pe.depth-$.depth)/10)+1||1;Rt=Rt<1?1:Rt,Pe.comboId!==$.comboId&&(Rt+=1);var Zt=Rt?Math.pow(V,Rt):1,Ct=k(Pe)*T/ct*Zt;if(s[ve].x+=gt*Ct,s[ve].y+=Pt*Ct,ve=this.xmid-s&&a<=this.ymid+s&&a>=this.ymid-s}},{key:"NW",value:function(){var i=new n({xmid:this.xmid-this.length/4,ymid:this.ymid+this.length/4,length:this.length/2});return i}},{key:"NE",value:function(){var i=new n({xmid:this.xmid+this.length/4,ymid:this.ymid+this.length/4,length:this.length/2});return i}},{key:"SW",value:function(){var i=new n({xmid:this.xmid-this.length/4,ymid:this.ymid-this.length/4,length:this.length/2});return i}},{key:"SE",value:function(){var i=new n({xmid:this.xmid+this.length/4,ymid:this.ymid-this.length/4,length:this.length/2});return i}}])&&bd(t.prototype,e),r&&bd(t,r),n}();function xd(n,t){for(var e=0;e250&&(this.barnesHut=!0),this.prune===void 0&&k>100&&(this.prune=!0),this.maxIteration!==0||this.prune?this.maxIteration===0&&l&&(d=100,k<=200&&k>100?d=500:k>200&&(d=950),this.maxIteration=d):(d=250,k<=200&&k>100?d=1e3:k>200&&(d=1200),this.maxIteration=d),this.kr||(this.kr=50,k>100&&k<=500?this.kr=20:k>500&&(this.kr=1)),this.kg||(this.kg=20,k>100&&k<=500?this.kg=10:k>500&&(this.kg=1)),this.nodes=this.updateNodesByForces(v),u()}},{key:"updateNodesByForces",value:function(s){for(var u=this.edges,l=this.maxIteration,d=this.nodes,v=u.filter(function(ct){return fn(ct,"source")!==fn(ct,"target")}),k=d.length,T=v.length,I=[],j={},F={},G=[],V=0;V0;){for(var Ee=0;Ee50||!j)?this.getOptRepGraForces($,de,v):this.getRepGraForces(q,50,$,100,k,v);var Pe=this.updatePos($,ve,V,v);T=Pe.nodes,V=Pe.sg,q--,this.tick&&this.tick()}return T}},{key:"getAttrForces",value:function(s,u,l,d,v,k,T,I){for(var j=this.nodes,F=this.preventOverlap,G=this.dissuadeHubs,V=this.mode,q=this.prune,$=0;$0&&(Ze=Pe,it=Pe),I[2*d[ve.id]]+=Ze*Ee[0],I[2*d[me.id]]-=it*Ee[0],I[2*d[ve.id]+1]+=Ze*Ee[1],I[2*d[me.id]+1]-=it*Ee[1]}}return I}},{key:"getRepGraForces",value:function(s,u,l,d,v,k){for(var T=this.nodes,I=this.preventOverlap,j=this.kr,F=this.kg,G=this.center,V=this.prune,q=T.length,$=0;$0&&(Ie=j*(k[$]+1)*(k[ve]+1)/me),l[2*$]-=Ie*de[0],l[2*ve]+=Ie*de[0],l[2*$+1]-=Ie*de[1],l[2*ve+1]+=Ie*de[1]}var Ee=[T[$].x-G[0],T[$].y-G[1]],Pe=Math.hypot(Ee[0],Ee[1]);Ee[0]=Ee[0]/Pe,Ee[1]=Ee[1]/Pe;var Ze=F*(k[$]+1);l[2*$]-=Ze*Ee[0],l[2*$+1]-=Ze*Ee[1]}return l}},{key:"getOptRepGraForces",value:function(s,u,l){for(var d=this.nodes,v=this.kg,k=this.center,T=this.prune,I=d.length,j=9e10,F=-9e10,G=9e10,V=-9e10,q=0;q=F&&(F=d[q].x),d[q].x<=j&&(j=d[q].x),d[q].y>=V&&(V=d[q].y),d[q].y<=G&&(G=d[q].y));for(var $=Math.max(F-j,V-G),ve=new ly({xmid:(F+j)/2,ymid:(V+G)/2,length:$,massCenter:k,mass:I}),de=new fy(ve),me=0;me1.5*Pe?1.5*Pe:l);for(var Ze=0;Zest?st:it)*s[2*Ze],gt=it*s[2*Ze+1];v[Ze].x+=jt,v[Ze].y+=gt}return{nodes:v,sg:l}}}])&&_d(t.prototype,e),r&&_d(t,r),a}(Xi),Ws=new Proxy({},{get:function(n,t){return ug(t)},set:function(n,t,e){return Li(t,e),!0}}),gy=o(82),Xs=o.n(gy),Ed=br.traverseTree,vy=function(n,t){return n?Object(p.isNumber)(n)?function(e){return n}:n:function(e){return t||1}},yy=function(n,t){var e=[],r=[],i={},a=0;for(a=0;a=0&&(a="x",i="y");var s=0;Ed(n,function(d){return s++,d.x>r.x&&(r.x=d.x),d.xr.y&&(r.y=d.y),d.yWebGL.
    ','Find out how to get it here.'].join(` `):['Your browser does not seem to support WebGL.
    ','Find out how to get it here.'].join(` -`)),t},addGetWebGLMessage:function(t){var e=(t=t||{}).parent!==void 0?t.parent:document.body,r=t.id!==void 0?t.id:"oldie",i=n().getWebGLErrorMessage();i.id=r,e.appendChild(i)}}},No=Object(m.__assign)(Object(m.__assign)(Object(m.__assign)(Object(m.__assign)({},mr),g),h),y),Sy=No.radialLayout,Md=function(){function n(t){this.type=t.type,this.radial=t.radial,this.config=t}return n.prototype.init=function(t){var e=this;this.data=t,this.radial?this.layoutMethod=function(r){var i=Xs.a[e.type](r,e.config);return Sy(i),i}:this.layoutMethod=function(r){return Xs.a[e.type](r,e.config)}},n.prototype.execute=function(){return this.layoutMethod(this.data,this.config)},n.prototype.layout=function(t){return this.init(t),this.execute()},n}();Li("grid",fg),Li("random",pg),Li("force",Lg),Li("circular",Wg),Li("dagre",qg),Li("radial",Ev),Li("concentric",kv),Li("mds",Tv),Li("fruchterman",Pv),Li("fruchterman-gpu",ry),Li("gForce",yg),Li("gForce-gpu",oy),Li("comboForce",uy),Li("forceAtlas2",py);var kd=function(n,t){t.isCustomLayout=!0,Li(n,t)},Ey=function(n,t){var e=n.toString(),r=new Blob(["importScripts('"+t+"');("+e+")()"],{type:"text/javascript"});return new Worker(URL.createObjectURL(r))},Oy=function(n){return n===void 0&&(n="https://unpkg.com/@antv/layout@latest/dist/layout.min.js"),new Ey(function(){var t="LAYOUT_RUN",e="LAYOUT_END",r="LAYOUT_ERROR",i="GPU_LAYOUT_RUN";layout.registerLayout("grid",layout.GridLayout),layout.registerLayout("random",layout.RandomLayout),layout.registerLayout("force",layout.ForceLayout),layout.registerLayout("circular",layout.CircularLayout),layout.registerLayout("dagre",layout.DagreLayout),layout.registerLayout("radial",layout.RadialLayout),layout.registerLayout("concentric",layout.ConcentricLayout),layout.registerLayout("mds",layout.MDSLayout),layout.registerLayout("fruchterman",layout.FruchtermanLayout),layout.registerLayout("fruchterman-gpu",layout.FruchtermanGPULayout),layout.registerLayout("gForce",layout.GForceLayout),layout.registerLayout("gForce-gpu",layout.GForceGPULayout),layout.registerLayout("comboForce",layout.ComboForceLayout),layout.registerLayout("forceAtlas2",layout.ForceAtlas2Layout),onmessage=function(a){(function(s){var u=s.data.type;return u===t||u===i})(a)&&function(s){var u=this;switch(s.data.type){case t:var l,d=s.data,v=d.nodes,k=d.edges,T=d.layoutCfg,I=(H=T===void 0?{}:T).type;if(!(j=layout.getLayoutByName(I))){this.postMessage({type:r,message:"layout "+I+" not found"});break}H.onLayoutEnd=function(){u.postMessage({type:e,nodes:v}),l==null||l.destroy()},(l=new j(H)).init({nodes:v,edges:k}),l.execute();break;case i:var j,F=s.data,B=F.nodes,U=(k=F.edges,F.layoutCfg),H=U===void 0?{}:U,Q=F.canvas;if(I=H.type,!(j=layout.getLayoutByName(I))){this.postMessage({type:r,message:"layout "+I+" not found"});break}if(I.split("-")[1]!=="gpu"){this.postMessage({type:r,message:"layout "+I+" does not support GPU"});break}var ve=new j(H);ve.init({nodes:B,edges:k}),ve.executeWithWorker(Q,this)}}(a)}},n)},My="LAYOUT_RUN",ky="LAYOUT_END",Ay="LAYOUT_ERROR",Cy="LAYOUT_TICK",Ty="GPU_LAYOUT_RUN",Iy="GPU_LAYOUT_END";function Ad(n){return(Ad=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}var jy=function(n){return setTimeout(n,16)},Py=function(n){return clearTimeout(n)},Cd=function(n){return(typeof window!="undefined"&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame)||jy)(n)},Td=function(n){return(typeof window!="undefined"&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame)||Py)(n)},Id=["fruchterman","gForce"],Ny=["force","grid","circular"],Dy=function(n){function t(e){var r=n.call(this,e)||this;return r.graph=e,r.layoutCfg=e.get("layout")||{},r.layoutType=r.getLayoutType(),r.worker=null,r.workerData={},r.initLayout(),r}return Object(m.__extends)(t,n),t.prototype.initLayout=function(){},t.prototype.getWorker=function(){return this.worker||(typeof Worker=="undefined"?(console.warn("Web worker is not supported in current browser."),this.worker=null):this.worker=Oy(this.layoutCfg.workerScriptURL)),this.worker},t.prototype.stopWorker=function(){var e=this.workerData;this.worker&&(this.worker.terminate(),this.worker=null,e.requestId&&(Td(e.requestId),e.requestId=null),e.requestId2&&(Td(e.requestId2),e.requestId2=null))},t.prototype.execLayoutMethod=function(e,r){var i=this;return new Promise(function(a,s){return Object(m.__awaiter)(i,void 0,void 0,function(){var u,l,d,v,k,T,I;return Object(m.__generator)(this,function(j){switch(j.label){case 0:u=this.graph,l=e.type,e.onLayoutEnd=function(){u.emit("aftersublayout",{type:l}),a()},l&&this.isGPU&&(this.hasGPUVersion(l)?l+="-gpu":console.warn("The '"+l+"' layout does not support GPU calculation for now, it will run in CPU.")),l==="force"||l==="g6force"||l==="gForce"?(d=e.onTick,T=function(){d&&d(),u.refreshPositions()},e.tick=T):e.type==="comboForce"&&(e.comboTrees=u.get("comboTrees"));try{v=new Ws[l](e)}catch(F){console.warn("The layout method: '"+l+"' does not exist! Please specify it first."),s()}return v.enableTick&&(k=e.onTick,T=function(){k&&k(),u.refreshPositions()},v.tick=T),function(F,B){var U;!(!((U=F==null?void 0:F.nodes)===null||U===void 0)&&U.length)||F.nodes.forEach(function(H){H.layoutOrder=B})}(I=this.filterLayoutData(this.data,e),r),v.init(I),u.emit("beforesublayout",{type:l}),[4,v.execute()];case 1:return j.sent(),v.isCustomLayout&&e.onLayoutEnd&&e.onLayoutEnd(),this.layoutMethods[r]=v,[2]}})})})},t.prototype.updateLayoutMethod=function(e,r){var i=this;return new Promise(function(a,s){return Object(m.__awaiter)(i,void 0,void 0,function(){var u,l,d;return Object(m.__generator)(this,function(v){switch(v.label){case 0:return u=this.graph,l=r==null?void 0:r.type,r.onLayoutEnd=function(){u.emit("aftersublayout",{type:l}),a()},d=this.filterLayoutData(this.data,r),e.init(d),e.updateCfg(r),u.emit("beforesublayout",{type:l}),[4,e.execute()];case 1:return v.sent(),e.isCustomLayout&&r.onLayoutEnd&&r.onLayoutEnd(),[2]}})})})},t.prototype.layout=function(e){var r=this,i=this.graph;this.data=this.setDataFromGraph();var a=this.data,s=a.nodes,u=a.hiddenNodes;if(!s)return!1;var l=i.get("width"),d=i.get("height"),v={};Object.assign(v,{width:l,height:d,center:[l/2,d/2]},this.layoutCfg),this.layoutCfg=v,this.destoryLayoutMethods(),i.emit("beforelayout"),this.initPositions(v.center,s),this.initPositions(v.center,u);var k=v.type;k&&k.split("-")[1]==="gpu"&&(k=k.split("-")[0],v.gpuEnabled=!0);var T=!1;v.gpuEnabled&&(T=!0,Od().webgl||(console.warn("Your browser does not support webGL or GPGPU. The layout will run in CPU."),T=!1)),this.isGPU=T;var I=v.onLayoutEnd,j=v.layoutEndFormatted,F=v.adjust;if(j||(v.layoutEndFormatted=!0,v.onAllLayoutEnd=function(){return Object(m.__awaiter)(r,void 0,void 0,function(){return Object(m.__generator)(this,function(U){switch(U.label){case 0:return I&&I(),this.refreshLayout(),F&&v.pipes?[4,this.adjustPipesBox(this.data,F)]:[3,2];case 1:U.sent(),this.refreshLayout(),U.label=2;case 2:return i.emit("afterlayout"),[2]}})})}),this.stopWorker(),v.workerEnabled&&this.layoutWithWorker(this.data))return!0;var B=Promise.resolve();return v.type?B=B.then(function(){return Object(m.__awaiter)(r,void 0,void 0,function(){return Object(m.__generator)(this,function(U){switch(U.label){case 0:return[4,this.execLayoutMethod(v,0)];case 1:return[2,U.sent()]}})})}):v.pipes&&v.pipes.forEach(function(U,H){B=B.then(function(){return Object(m.__awaiter)(r,void 0,void 0,function(){return Object(m.__generator)(this,function(Q){switch(Q.label){case 0:return[4,this.execLayoutMethod(U,H)];case 1:return[2,Q.sent()]}})})})}),B.then(function(){v.onAllLayoutEnd&&v.onAllLayoutEnd(),e&&e()}).catch(function(U){console.warn("graph layout failed,",U)}),!1},t.prototype.layoutWithWorker=function(e){var r=this,i=this.layoutCfg,a=this.graph,s=this.getWorker(),u=this.workerData;if(!s)return!1;u.requestId=null,u.requestId2=null,u.currentTick=null,u.currentTickData=null,a.emit("beforelayout");var l=Promise.resolve();if(i.type)l=l.then(function(){return r.runWebworker(s,e,i)});else if(i.pipes)for(var d=function(T){l=l.then(function(){return r.runWebworker(s,e,T)})},v=0,k=i.pipes;v'),v=i?i.backgroundColor:void 0,k=i?i.padding:void 0;k?Object(p.isNumber)(k)&&(k=[k,k,k,k]):k=[0,0,0,0];var T=s+k[0]+k[2],I=u+k[1]+k[3],j={container:d,height:T,width:I,quickHit:!0},F=l==="svg"?new Ao.Canvas(j):new Wr.Canvas(j),B=this.get("group").clone(),U=Object(p.clone)(B.getMatrix());U||(U=[1,0,0,0,1,0,0,0,1]);var H=(a.maxX+a.minX)/2,Q=(a.maxY+a.minY)/2;U=jd(U,[["t",-H,-Q],["t",u/2+k[3],s/2+k[0]]]),B.resetMatrix(),B.setMatrix(U),F.add(B);var ve=F.get("el"),pe="";r||(r="image/png"),setTimeout(function(){if(l==="svg"){var me=ve.cloneNode(!0),Te=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),Ee=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",Te);Ee.replaceChild(me,Ee.documentElement);var je=new XMLSerializer().serializeToString(Ee);pe="data:image/svg+xml;charset=utf8,"+encodeURIComponent(je)}else{var Ze=void 0,nt=ve.getContext("2d"),ct=void 0;if(v){var st=typeof window!="undefined"?window.devicePixelRatio:1;Ze=nt.getImageData(0,0,I*st,T*st),ct=nt.globalCompositeOperation,nt.globalCompositeOperation="destination-over",nt.fillStyle=v,nt.fillRect(0,0,I,T)}pe=ve.toDataURL(r),v&&(nt.clearRect(0,0,I,T),nt.putImageData(Ze,0,0),nt.globalCompositeOperation=ct)}e&&e(pe)},16)},t.prototype.downloadFullImage=function(e,r,i){var a=this,s=this.get("group").getCanvasBBox(),u=s.height,l=s.width,d=this.get("renderer"),v=ei(''),k=document.querySelector(".g6-graph-watermarker"),T=i?i.backgroundColor:void 0,I=i?i.padding:void 0;I?Object(p.isNumber)(I)&&(I=[I,I,I,I]):I=[0,0,0,0];var j=u+I[0]+I[2],F=l+I[1]+I[3];if(k){var B=this.get("graphWaterMarker").cfg||{},U=B.width,H=B.height;j=Math.ceil(j/H)*H,F=Math.ceil(F/U)*U}var Q={container:v,height:j,width:F},ve=d==="svg"?new Ao.Canvas(Q):new Wr.Canvas(Q),pe=this.get("group").clone(),me=Object(p.clone)(pe.getMatrix());me||(me=[1,0,0,0,1,0,0,0,1]);var Te=(s.maxX+s.minX)/2,Ee=(s.maxY+s.minY)/2;me=jd(me,[["t",-Te,-Ee],["t",l/2+I[3],u/2+I[0]]]),pe.resetMatrix(),pe.setMatrix(me),ve.add(pe);var je=ve.get("el");r||(r="image/png"),this.asyncToDataUrl(r,T,function(Ze){var nt=document.createElement("a"),ct=(e||"graph")+(d==="svg"?".svg":"."+r.split("/")[1]);a.dataURLToImage(Ze,d,nt,ct);var st=document.createEvent("MouseEvents");st.initEvent("click",!1,!1),nt.dispatchEvent(st)},F,j,je)},t.prototype.downloadImage=function(e,r,i){var a=this;this.isAnimating()&&this.stopAnimate();var s=this.get("canvas").getRenderer();r||(r="image/png");var u=(e||"graph")+(s==="svg"?".svg":r.split("/")[1]),l=document.createElement("a");this.asyncToDataUrl(r,i,function(d){a.dataURLToImage(d,s,l,u);var v=document.createEvent("MouseEvents");v.initEvent("click",!1,!1),l.dispatchEvent(v)})},t.prototype.dataURLToImage=function(e,r,i,a){if(typeof window!="undefined")if(window.Blob&&window.URL&&r!=="svg"){var s=e.split(","),u="";if(s&&s.length>0){var l=s[0].match(/:(.*?);/);l&&l.length>=2&&(u=l[1])}for(var d=atob(s[1]),v=d.length,k=new Uint8Array(v);v--;)k[v]=d.charCodeAt(v);var T=new Blob([k],{type:u});window.navigator.msSaveBlob?window.navigator.msSaveBlob(T,a):i.addEventListener("click",function(){i.download=a,i.href=window.URL.createObjectURL(T)})}else i.addEventListener("click",function(){i.download=a,i.href=e})},t.prototype.addPlugin=function(e){e.destroyed||(this.get("plugins").push(e),e.initPlugin(this))},t.prototype.removePlugin=function(e){var r=this.get("plugins"),i=r.indexOf(e);i>=0&&(e.destroyPlugin(),r.splice(i,1))},t.prototype.setImageWaterMarker=function(e,r){e===void 0&&(e=Xo.waterMarkerImage);var i=this.get("container");Object(p.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position="relative");var a=this.get("graphWaterMarker"),s=Object(p.deepMix)({},Xo.imageWaterMarkerConfig,r),u=s.width,l=s.height,d=s.compatible,v=s.image;if(!a){var k={container:i,width:u,height:l,capture:!1},T=this.get("pixelRatio");T&&(k.pixelRatio=T),a=new Wr.Canvas(k),this.set("graphWaterMarker",a)}a.get("el").style.display="none";var I=a.get("context"),j=v.rotate,F=v.x,B=v.y;I.rotate(-j*Math.PI/180);var U=new Image;U.crossOrigin="anonymous",U.src=e,U.onload=function(){if(I.drawImage(U,F,B,v.width,v.height),I.rotate(j*Math.PI/180),d)i.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;";else{var H=document.querySelector(".g6-graph-watermarker");H||((H=document.createElement("div")).className="g6-graph-watermarker"),H.className="g6-graph-watermarker",a.destroyed||(H.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:-1;",i.appendChild(H))}}},t.prototype.setTextWaterMarker=function(e,r){var i=this.get("container");Object(p.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position="relative");var a=this.get("graphWaterMarker"),s=Object(p.deepMix)({},Xo.textWaterMarkerConfig,r),u=s.width,l=s.height,d=s.compatible,v=s.text;if(!a){var k={container:i,width:u,height:l,capture:!1},T=this.get("pixelRatio");T&&(k.pixelRatio=T),a=new Wr.Canvas(k),this.set("graphWaterMarker",a)}a.get("el").style.display="none";var I=a.get("context"),j=v.rotate,F=v.fill,B=v.fontFamily,U=v.fontSize,H=v.baseline,Q=v.x,ve=v.y,pe=v.lineHeight;I.rotate(-j*Math.PI/180),I.font=U+"px "+B,I.fillStyle=F,I.textBaseline=H;for(var me=e.length-1;me>=0;me--)I.fillText(e[me],Q,ve+me*pe);if(I.rotate(j*Math.PI/180),d)i.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;";else{var Te=document.querySelector(".g6-graph-watermarker");Te||((Te=document.createElement("div")).className="g6-graph-watermarker"),Te.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:99;",i.appendChild(Te)}},t.prototype.destroy=function(){var e,r,i,a;Object(p.each)(this.get("plugins"),function(v){v.destroyPlugin()});var s=this.get("tooltips");if(s)for(var u=0;u0)for(var v=d.length-1;v>=0;v--){var k=d[v].getModel();t.indexOfChild(e.children||[],k.id)===-1&&(a.innerRemoveChild(k.id,{x:e.x,y:e.y},i),d.splice(v,1))}s.get("originAttrs")&&(u=s.get("originAttrs").x,l=s.get("originAttrs").y);var T=s.getModel();i&&s.set("originAttrs",{x:T.x,y:T.y}),s.set("model",e.data),u===e.x&&l===e.y||s.updatePosition({x:e.x,y:e.y})}else a.innerAddChild(e,r,i)},t.prototype.innerRemoveChild=function(e,r,i){var a=this,s=a.findById(e);if(s)if(Object(p.each)(s.get("children"),function(l){a.innerRemoveChild(l.getModel().id,r,i)}),i){var u=s.getModel();s.set("to",r),s.set("originAttrs",{x:u.x,y:u.y}),a.get("removeList").push(s)}else a.removeItem(s,!1)},t.prototype.changeData=function(e){var r=this;this.getNodes().map(function(i){return r.clearItemStates(i)}),this.getEdges().map(function(i){return r.clearItemStates(i)}),e?(r.data(e),r.render()):r.layout(this.get("fitView"))},t.prototype.changeLayout=function(e){console.warn("Please call updateLayout instead of changeLayout. changeLayout will be discarded soon"),this.updateLayout(e)},t.prototype.updateLayout=function(e){e?(this.set("layout",e),this.set("layoutMethod",this.getLayout()),this.layout()):console.warn("layout cannot be null")},t.prototype.refreshLayout=function(e){console.warn("Please call layout instead of refreshLayout. refreshLayout will be discarded soon"),this.layout(e)},t.prototype.layout=function(e){var r=this.get("data"),i=this.get("layoutMethod"),a=i?i(r,this.get("layout")):r,s=this.get("animate");this.emit("beforerefreshlayout",{data:r,layoutData:a}),this.emit("beforelayout"),this.innerUpdateChild(a,void 0,s),e&&this.get("viewController").fitView(),s?this.layoutAnimate(a):(this.refresh(),this.paint()),this.emit("afterrefreshlayout",{data:r,layoutData:a}),this.emit("afterlayout")},t.prototype.addChild=function(e,r){this.emit("beforeaddchild",{model:e,parent:r}),Object(p.isString)(r)||(r=r.get("id"));var i=this.findDataById(r);i&&(i.children||(i.children=[]),i.children.push(e),this.changeData())},t.prototype.updateChildren=function(e,r){r&&this.findById(r)?(this.findDataById(r).children=e,this.changeData()):console.warn("Update children failed! There is no node with id '"+r+"'")},t.prototype.updateChild=function(e,r){if(r&&this.findById(r)){var i=this.findDataById(r),a=this.findById(e.id);if(i.children||(i.children=[]),a){var s=t.indexOfChild(i.children,e.id);i.children[s]=e}else i.children.push(e);this.changeData()}else this.changeData(e)},t.prototype.removeChild=function(e){var r=this.findById(e);if(r){var i=r.get("parent");if(i&&!i.destroyed){var a=this.findDataById(i.get("id")),s=a&&a.children||[],u=r.getModel(),l=t.indexOfChild(s,u.id);s.splice(l,1)}this.changeData()}},t.prototype.findDataById=function(e,r){var i=this;if(r||(r=i.get("data")),e===r.id)return r;var a=null;return Object(p.each)(r.children||[],function(s){return s.id===e?(a=s,!1):!(a=i.findDataById(e,s))&&void 0}),a},t.prototype.layoutAnimate=function(e,r){var i=this,a=this.get("animateCfg");i.emit("beforeanimate",{data:e}),i.getEdges().forEach(function(s){var u=s.get("model");u.sourceAnchor||(u.sourceAnchor=s.get("sourceAnchorIndex"))}),this.get("canvas").animate(function(s){Ly(e,function(u){var l=i.findById(u.id);if(l){var d=l.get("originAttrs"),v=l.get("model");if(d||(d={x:v.x,y:v.y},l.set("originAttrs",d)),r){var k=r(l,s,d,e);l.set("model",Object.assign(v,k))}else v.x=d.x+(u.x-d.x)*s,v.y=d.y+(u.y-d.y)*s}return!0}),Object(p.each)(i.get("removeList"),function(u){var l=u.getModel(),d=u.get("originAttrs"),v=u.get("to");l.x=d.x+(v.x-d.x)*s,l.y=d.y+(v.y-d.y)*s}),i.refreshPositions()},{duration:a.duration,easing:a.ease,callback:function(){Object(p.each)(i.getNodes(),function(s){s.set("originAttrs",null)}),Object(p.each)(i.get("removeList"),function(s){i.removeItem(s)}),i.set("removeList",[]),a.callback&&a.callback(),i.emit("afteranimate",{data:e})},delay:a.delay})},t.prototype.stopLayoutAnimate=function(){this.get("canvas").stopAnimate(),this.emit("layoutanimateend",{data:this.get("data")}),this.layoutAnimating=!1},t.prototype.isLayoutAnimating=function(){return this.layoutAnimating},t.prototype.render=function(){var e=this.get("data");if(!e||!Object(p.isObject)(e)||!Object.keys(e).length)throw new Error("data must be defined first");this.clear(),this.emit("beforerender"),this.layout(this.get("fitView")),this.emit("afterrender")},t.prototype.save=function(){return this.get("data")},t}(Ju),lo=function(){function n(t){this._cfgs=Object(p.deepMix)(this.getDefaultCfgs(),t),this._events={},this.destroyed=!1}return n.prototype.getDefaultCfgs=function(){return{}},n.prototype.initPlugin=function(t){var e=this;e.set("graph",t);var r=e.getEvents(),i={};Object(p.each)(r,function(a,s){var u=Object(p.wrapBehavior)(e,a);i[s]=u,t.on(s,u)}),this._events=i,this.init()},n.prototype.getEvents=function(){return{}},n.prototype.get=function(t){return this._cfgs[t]},n.prototype.set=function(t,e){this._cfgs[t]=e},n.prototype.destroy=function(){},n.prototype.destroyPlugin=function(){this.destroy();var t=this.get("graph"),e=this._events;Object(p.each)(e,function(r,i){t.off(i,r)}),this._events=null,this._cfgs=null,this.destroyed=!0},n}(),By=(Qu=function(n,t){return(Qu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])})(n,t)},function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}Qu(n,t),n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),Nd="url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)",Gy=function(n){function t(e){return n.call(this,e)||this}return By(t,n),t.prototype.getDefaultCfgs=function(){return{img:Nd,follow:!0}},t.prototype.init=function(){var e=this.get("graph"),r=e.get("container"),i=e.get("canvas").get("el"),a=this.get("img")||Nd,s=ei(`
    `),u=ei(`
    '),v=i?i.backgroundColor:void 0,k=i?i.padding:void 0;k?Object(p.isNumber)(k)&&(k=[k,k,k,k]):k=[0,0,0,0];var T=s+k[0]+k[2],I=u+k[1]+k[3],j={container:d,height:T,width:I,quickHit:!0},F=l==="svg"?new Ao.Canvas(j):new Xr.Canvas(j),G=this.get("group").clone(),V=Object(p.clone)(G.getMatrix());V||(V=[1,0,0,0,1,0,0,0,1]);var q=(a.maxX+a.minX)/2,$=(a.maxY+a.minY)/2;V=jd(V,[["t",-q,-$],["t",u/2+k[3],s/2+k[0]]]),G.resetMatrix(),G.setMatrix(V),F.add(G);var ve=F.get("el"),de="";r||(r="image/png"),setTimeout(function(){if(l==="svg"){var me=ve.cloneNode(!0),Ie=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),Ee=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",Ie);Ee.replaceChild(me,Ee.documentElement);var Pe=new XMLSerializer().serializeToString(Ee);de="data:image/svg+xml;charset=utf8,"+encodeURIComponent(Pe)}else{var Ze=void 0,it=ve.getContext("2d"),ct=void 0;if(v){var st=typeof window!="undefined"?window.devicePixelRatio:1;Ze=it.getImageData(0,0,I*st,T*st),ct=it.globalCompositeOperation,it.globalCompositeOperation="destination-over",it.fillStyle=v,it.fillRect(0,0,I,T)}de=ve.toDataURL(r),v&&(it.clearRect(0,0,I,T),it.putImageData(Ze,0,0),it.globalCompositeOperation=ct)}e&&e(de)},16)},t.prototype.downloadFullImage=function(e,r,i){var a=this,s=this.get("group").getCanvasBBox(),u=s.height,l=s.width,d=this.get("renderer"),v=ei(''),k=document.querySelector(".g6-graph-watermarker"),T=i?i.backgroundColor:void 0,I=i?i.padding:void 0;I?Object(p.isNumber)(I)&&(I=[I,I,I,I]):I=[0,0,0,0];var j=u+I[0]+I[2],F=l+I[1]+I[3];if(k){var G=this.get("graphWaterMarker").cfg||{},V=G.width,q=G.height;j=Math.ceil(j/q)*q,F=Math.ceil(F/V)*V}var $={container:v,height:j,width:F},ve=d==="svg"?new Ao.Canvas($):new Xr.Canvas($),de=this.get("group").clone(),me=Object(p.clone)(de.getMatrix());me||(me=[1,0,0,0,1,0,0,0,1]);var Ie=(s.maxX+s.minX)/2,Ee=(s.maxY+s.minY)/2;me=jd(me,[["t",-Ie,-Ee],["t",l/2+I[3],u/2+I[0]]]),de.resetMatrix(),de.setMatrix(me),ve.add(de);var Pe=ve.get("el");r||(r="image/png"),this.asyncToDataUrl(r,T,function(Ze){var it=document.createElement("a"),ct=(e||"graph")+(d==="svg"?".svg":"."+r.split("/")[1]);a.dataURLToImage(Ze,d,it,ct);var st=document.createEvent("MouseEvents");st.initEvent("click",!1,!1),it.dispatchEvent(st)},F,j,Pe)},t.prototype.downloadImage=function(e,r,i){var a=this;this.isAnimating()&&this.stopAnimate();var s=this.get("canvas").getRenderer();r||(r="image/png");var u=(e||"graph")+(s==="svg"?".svg":r.split("/")[1]),l=document.createElement("a");this.asyncToDataUrl(r,i,function(d){a.dataURLToImage(d,s,l,u);var v=document.createEvent("MouseEvents");v.initEvent("click",!1,!1),l.dispatchEvent(v)})},t.prototype.dataURLToImage=function(e,r,i,a){if(typeof window!="undefined")if(window.Blob&&window.URL&&r!=="svg"){var s=e.split(","),u="";if(s&&s.length>0){var l=s[0].match(/:(.*?);/);l&&l.length>=2&&(u=l[1])}for(var d=atob(s[1]),v=d.length,k=new Uint8Array(v);v--;)k[v]=d.charCodeAt(v);var T=new Blob([k],{type:u});window.navigator.msSaveBlob?window.navigator.msSaveBlob(T,a):i.addEventListener("click",function(){i.download=a,i.href=window.URL.createObjectURL(T)})}else i.addEventListener("click",function(){i.download=a,i.href=e})},t.prototype.addPlugin=function(e){e.destroyed||(this.get("plugins").push(e),e.initPlugin(this))},t.prototype.removePlugin=function(e){var r=this.get("plugins"),i=r.indexOf(e);i>=0&&(e.destroyPlugin(),r.splice(i,1))},t.prototype.setImageWaterMarker=function(e,r){e===void 0&&(e=Xo.waterMarkerImage);var i=this.get("container");Object(p.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position="relative");var a=this.get("graphWaterMarker"),s=Object(p.deepMix)({},Xo.imageWaterMarkerConfig,r),u=s.width,l=s.height,d=s.compatible,v=s.image;if(!a){var k={container:i,width:u,height:l,capture:!1},T=this.get("pixelRatio");T&&(k.pixelRatio=T),a=new Xr.Canvas(k),this.set("graphWaterMarker",a)}a.get("el").style.display="none";var I=a.get("context"),j=v.rotate,F=v.x,G=v.y;I.rotate(-j*Math.PI/180);var V=new Image;V.crossOrigin="anonymous",V.src=e,V.onload=function(){if(I.drawImage(V,F,G,v.width,v.height),I.rotate(j*Math.PI/180),d)i.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;";else{var q=document.querySelector(".g6-graph-watermarker");q||((q=document.createElement("div")).className="g6-graph-watermarker"),q.className="g6-graph-watermarker",a.destroyed||(q.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:-1;",i.appendChild(q))}}},t.prototype.setTextWaterMarker=function(e,r){var i=this.get("container");Object(p.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position="relative");var a=this.get("graphWaterMarker"),s=Object(p.deepMix)({},Xo.textWaterMarkerConfig,r),u=s.width,l=s.height,d=s.compatible,v=s.text;if(!a){var k={container:i,width:u,height:l,capture:!1},T=this.get("pixelRatio");T&&(k.pixelRatio=T),a=new Xr.Canvas(k),this.set("graphWaterMarker",a)}a.get("el").style.display="none";var I=a.get("context"),j=v.rotate,F=v.fill,G=v.fontFamily,V=v.fontSize,q=v.baseline,$=v.x,ve=v.y,de=v.lineHeight;I.rotate(-j*Math.PI/180),I.font=V+"px "+G,I.fillStyle=F,I.textBaseline=q;for(var me=e.length-1;me>=0;me--)I.fillText(e[me],$,ve+me*de);if(I.rotate(j*Math.PI/180),d)i.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;";else{var Ie=document.querySelector(".g6-graph-watermarker");Ie||((Ie=document.createElement("div")).className="g6-graph-watermarker"),Ie.style.cssText="background-image: url("+a.get("el").toDataURL("image/png")+");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:99;",i.appendChild(Ie)}},t.prototype.destroy=function(){var e,r,i,a;Object(p.each)(this.get("plugins"),function(v){v.destroyPlugin()});var s=this.get("tooltips");if(s)for(var u=0;u0)for(var v=d.length-1;v>=0;v--){var k=d[v].getModel();t.indexOfChild(e.children||[],k.id)===-1&&(a.innerRemoveChild(k.id,{x:e.x,y:e.y},i),d.splice(v,1))}s.get("originAttrs")&&(u=s.get("originAttrs").x,l=s.get("originAttrs").y);var T=s.getModel();i&&s.set("originAttrs",{x:T.x,y:T.y}),s.set("model",e.data),u===e.x&&l===e.y||s.updatePosition({x:e.x,y:e.y})}else a.innerAddChild(e,r,i)},t.prototype.innerRemoveChild=function(e,r,i){var a=this,s=a.findById(e);if(s)if(Object(p.each)(s.get("children"),function(l){a.innerRemoveChild(l.getModel().id,r,i)}),i){var u=s.getModel();s.set("to",r),s.set("originAttrs",{x:u.x,y:u.y}),a.get("removeList").push(s)}else a.removeItem(s,!1)},t.prototype.changeData=function(e){var r=this;this.getNodes().map(function(i){return r.clearItemStates(i)}),this.getEdges().map(function(i){return r.clearItemStates(i)}),e?(r.data(e),r.render()):r.layout(this.get("fitView"))},t.prototype.changeLayout=function(e){console.warn("Please call updateLayout instead of changeLayout. changeLayout will be discarded soon"),this.updateLayout(e)},t.prototype.updateLayout=function(e){e?(this.set("layout",e),this.set("layoutMethod",this.getLayout()),this.layout()):console.warn("layout cannot be null")},t.prototype.refreshLayout=function(e){console.warn("Please call layout instead of refreshLayout. refreshLayout will be discarded soon"),this.layout(e)},t.prototype.layout=function(e){var r=this.get("data"),i=this.get("layoutMethod"),a=i?i(r,this.get("layout")):r,s=this.get("animate");this.emit("beforerefreshlayout",{data:r,layoutData:a}),this.emit("beforelayout"),this.innerUpdateChild(a,void 0,s),e&&this.get("viewController").fitView(),s?this.layoutAnimate(a):(this.refresh(),this.paint()),this.emit("afterrefreshlayout",{data:r,layoutData:a}),this.emit("afterlayout")},t.prototype.addChild=function(e,r){this.emit("beforeaddchild",{model:e,parent:r}),Object(p.isString)(r)||(r=r.get("id"));var i=this.findDataById(r);i&&(i.children||(i.children=[]),i.children.push(e),this.changeData())},t.prototype.updateChildren=function(e,r){r&&this.findById(r)?(this.findDataById(r).children=e,this.changeData()):console.warn("Update children failed! There is no node with id '"+r+"'")},t.prototype.updateChild=function(e,r){if(r&&this.findById(r)){var i=this.findDataById(r),a=this.findById(e.id);if(i.children||(i.children=[]),a){var s=t.indexOfChild(i.children,e.id);i.children[s]=e}else i.children.push(e);this.changeData()}else this.changeData(e)},t.prototype.removeChild=function(e){var r=this.findById(e);if(r){var i=r.get("parent");if(i&&!i.destroyed){var a=this.findDataById(i.get("id")),s=a&&a.children||[],u=r.getModel(),l=t.indexOfChild(s,u.id);s.splice(l,1)}this.changeData()}},t.prototype.findDataById=function(e,r){var i=this;if(r||(r=i.get("data")),e===r.id)return r;var a=null;return Object(p.each)(r.children||[],function(s){return s.id===e?(a=s,!1):!(a=i.findDataById(e,s))&&void 0}),a},t.prototype.layoutAnimate=function(e,r){var i=this,a=this.get("animateCfg");i.emit("beforeanimate",{data:e}),i.getEdges().forEach(function(s){var u=s.get("model");u.sourceAnchor||(u.sourceAnchor=s.get("sourceAnchorIndex"))}),this.get("canvas").animate(function(s){Ly(e,function(u){var l=i.findById(u.id);if(l){var d=l.get("originAttrs"),v=l.get("model");if(d||(d={x:v.x,y:v.y},l.set("originAttrs",d)),r){var k=r(l,s,d,e);l.set("model",Object.assign(v,k))}else v.x=d.x+(u.x-d.x)*s,v.y=d.y+(u.y-d.y)*s}return!0}),Object(p.each)(i.get("removeList"),function(u){var l=u.getModel(),d=u.get("originAttrs"),v=u.get("to");l.x=d.x+(v.x-d.x)*s,l.y=d.y+(v.y-d.y)*s}),i.refreshPositions()},{duration:a.duration,easing:a.ease,callback:function(){Object(p.each)(i.getNodes(),function(s){s.set("originAttrs",null)}),Object(p.each)(i.get("removeList"),function(s){i.removeItem(s)}),i.set("removeList",[]),a.callback&&a.callback(),i.emit("afteranimate",{data:e})},delay:a.delay})},t.prototype.stopLayoutAnimate=function(){this.get("canvas").stopAnimate(),this.emit("layoutanimateend",{data:this.get("data")}),this.layoutAnimating=!1},t.prototype.isLayoutAnimating=function(){return this.layoutAnimating},t.prototype.render=function(){var e=this.get("data");if(!e||!Object(p.isObject)(e)||!Object.keys(e).length)throw new Error("data must be defined first");this.clear(),this.emit("beforerender"),this.layout(this.get("fitView")),this.emit("afterrender")},t.prototype.save=function(){return this.get("data")},t}(Ju),lo=function(){function n(t){this._cfgs=Object(p.deepMix)(this.getDefaultCfgs(),t),this._events={},this.destroyed=!1}return n.prototype.getDefaultCfgs=function(){return{}},n.prototype.initPlugin=function(t){var e=this;e.set("graph",t);var r=e.getEvents(),i={};Object(p.each)(r,function(a,s){var u=Object(p.wrapBehavior)(e,a);i[s]=u,t.on(s,u)}),this._events=i,this.init()},n.prototype.getEvents=function(){return{}},n.prototype.get=function(t){return this._cfgs[t]},n.prototype.set=function(t,e){this._cfgs[t]=e},n.prototype.destroy=function(){},n.prototype.destroyPlugin=function(){this.destroy();var t=this.get("graph"),e=this._events;Object(p.each)(e,function(r,i){t.off(i,r)}),this._events=null,this._cfgs=null,this.destroyed=!0},n}(),By=(Qu=function(n,t){return(Qu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])})(n,t)},function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}Qu(n,t),n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),Nd="url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)",Gy=function(n){function t(e){return n.call(this,e)||this}return By(t,n),t.prototype.getDefaultCfgs=function(){return{img:Nd,follow:!0}},t.prototype.init=function(){var e=this.get("graph"),r=e.get("container"),i=e.get("canvas").get("el"),a=this.get("img")||Nd,s=ei(`
    `),u=ei(`
    -
    `),l=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,d=0,v=0,k=!1,T=0,I=0,j=0,F=0,B=0,U=0;u.addEventListener("dragstart",function(H){var Q,ve;if(H.dataTransfer){var pe=new Image;pe.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E",(ve=(Q=H.dataTransfer).setDragImage)===null||ve===void 0||ve.call(Q,pe,0,0);try{H.dataTransfer.setData("text/html","view-port-minimap")}catch(Te){H.dataTransfer.setData("text","view-port-minimap")}}if(r.refresh=!1,H.target===u){var me=u.style;T=parseInt(me.left,10),I=parseInt(me.top,10),j=parseInt(me.width,10),F=parseInt(me.height,10),j>i[0]||F>i[1]||(U=a.getZoom(),B=e.get("ratio"),k=!0,d=H.clientX,v=H.clientY)}},!1),u.addEventListener(l?"dragover":"drag",function(H){if(k&&!Object(p.isNil)(H.clientX)&&!Object(p.isNil)(H.clientY)){var Q=d-H.clientX,ve=v-H.clientY;(T-Q<0||T-Q+j>=i[0])&&(Q=0),(I-ve<0||I-ve+F>=i[1])&&(ve=0),xn(u,{left:(T-=Q)+"px",top:(I-=ve)+"px"}),a.translate(Q*U/B,ve*U/B),d=H.clientX,v=H.clientY}},!1),u.addEventListener("dragend",function(){k=!1,r.refresh=!0},!1),this.set("viewport",u),s.appendChild(u)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get("ratio"),r=(this.get("dx"),this.get("dy"),this.get("totaldx")),i=this.get("totaldy"),a=this.get("graph"),s=this.get("size"),u=a.get("width"),l=a.get("height"),d=a.getPointByCanvas(0,0),v=a.getPointByCanvas(u,l),k=this.get("viewport");k||this.initViewport();var T=(v.x-d.x)*e,I=(v.y-d.y)*e,j=d.x*e+r,F=d.y*e+i,B=j+T,U=F+I;j<0&&(T+=j,j=0),B>s[0]&&(T-=B-s[0]),F<0&&(I+=F,F=0),U>s[1]&&(I-=U-s[1]),this.set("ratio",e),xn(k,{left:j+"px",top:F+"px",width:T+"px",height:I+"px"})}},t.prototype.updateGraphShapes=function(){var e=this._cfgs.graph,r=this.get("canvas"),i=e.get("group");if(!i.destroyed){var a=i.clone();a.resetMatrix(),r.clear(),r.add(a),e.get("renderer")==="svg"&&this.updateVisible(a)}},t.prototype.updateVisible=function(e){var r=this;if(e.isGroup()||e.get("visible")){var i=e.get("children");if(!i||!i.length)return;i.forEach(function(a){a.get("visible")||a.hide(),r.updateVisible(a)})}else e.hide()},t.prototype.updateKeyShapes=function(){var e=this,r=this._cfgs.graph,i=this.get("canvas"),a=i.get("children")[0]||i.addGroup();Object(p.each)(r.getEdges(),function(l){e.updateOneEdgeKeyShape(l,a)}),Object(p.each)(r.getNodes(),function(l){e.updateOneNodeKeyShape(l,a)});var s=r.getCombos();if(s&&s.length){var u=a.find(function(l){return l.get("name")==="comboGroup"})||a.addGroup({name:"comboGroup"});setTimeout(function(){Object(p.each)(s,function(l){e.updateOneComboKeyShape(l,u)}),u.sort(),u.toBack(),e.updateCanvas()},250)}this.clearDestroyedShapes()},t.prototype.updateOneComboKeyShape=function(e,r){var i=this.get("itemMap")||{},a=i[e.get("id")],s=e.getBBox(),u=e.get("keyShape").clone(),l=u.attr(),d={x:s.centerX,y:s.centerY};a?d=Object.assign(l,d):(a=u,r.add(a));var v=a.get("type");v!=="rect"&&v!=="image"||(d.x=s.minX,d.y=s.minY),a.attr(d),e.isVisible()?a.show():a.hide(),a.exist=!0;var k=e.getModel().depth;isNaN(k)||a.set("zIndex",k),i[e.get("id")]=a,this.set("itemMap",i)},t.prototype.updateOneNodeKeyShape=function(e,r){var i=this.get("itemMap")||{},a=i[e.get("id")],s=e.getBBox(),u=e.get("keyShape").clone(),l=u.attr(),d={x:s.centerX,y:s.centerY};a?d=Object.assign(l,d):(a=u,r.add(a));var v=a.get("type");v!=="rect"&&v!=="image"||(d.x=s.minX,d.y=s.minY),a.attr(d),e.isVisible()?a.show():a.hide(),a.exist=!0;var k=e.getModel().depth;isNaN(k)||a.set("zIndex",k),i[e.get("id")]=a,this.set("itemMap",i)},t.prototype.updateDelegateShapes=function(){var e=this,r=this._cfgs.graph,i=this.get("canvas"),a=i.get("children")[0]||i.addGroup();Object(p.each)(r.getEdges(),function(l){e.updateOneEdgeKeyShape(l,a)}),Object(p.each)(r.getNodes(),function(l){e.updateOneNodeDelegateShape(l,a)});var s=r.getCombos();if(s&&s.length){var u=a.find(function(l){return l.get("name")==="comboGroup"})||a.addGroup({name:"comboGroup"});setTimeout(function(){Object(p.each)(s,function(l){e.updateOneComboKeyShape(l,u)}),u.sort(),u.toBack(),e.updateCanvas()},250)}this.clearDestroyedShapes()},t.prototype.clearDestroyedShapes=function(){var e=this.get("itemMap")||{},r=Object.keys(e);if(r&&r.length!==0)for(var i=r.length-1;i>=0;i--){var a=e[r[i]],s=a.exist;a.exist=!1,s||(a.remove(),delete e[r[i]])}},t.prototype.updateOneEdgeKeyShape=function(e,r){var i=this.get("itemMap")||{},a=i[e.get("id")];if(a){var s=e.get("keyShape").attr("path");a.attr("path",s)}else a=e.get("keyShape").clone(),r.add(a);e.isVisible()?a.show():a.hide(),a.exist=!0,i[e.get("id")]=a,this.set("itemMap",i)},t.prototype.updateOneNodeDelegateShape=function(e,r){var i=this.get("delegateStyle"),a=this.get("itemMap")||{},s=a[e.get("id")],u=e.getBBox();if(s){var l={x:u.minX,y:u.minY,width:u.width,height:u.height};s.attr(l)}else s=r.addShape("rect",{attrs:Dd({x:u.minX,y:u.minY,width:u.width,height:u.height},i),name:"minimap-node-shape"});e.isVisible()?s.show():s.hide(),s.exist=!0,a[e.get("id")]=s,this.set("itemMap",a)},t.prototype.init=function(){this.initContainer(),this.get("graph").on("afterupdateitem",this.handleUpdateCanvas),this.get("graph").on("afteritemstatechange",this.handleUpdateCanvas),this.get("graph").on("afteradditem",this.handleUpdateCanvas),this.get("graph").on("afterremoveitem",this.handleUpdateCanvas),this.get("graph").on("afterrender",this.handleUpdateCanvas),this.get("graph").on("afterlayout",this.handleUpdateCanvas)},t.prototype.initContainer=function(){var e=this.get("graph"),r=this.get("size"),i=this.get("className"),a=this.get("container"),s=ei("
    ");Object(p.isString)(a)&&(a=document.getElementById(a)),a?a.appendChild(s):e.get("container").appendChild(s),this.set("container",s);var u,l=ei('
    ');s.appendChild(l),l.addEventListener("dragenter",function(d){d.preventDefault()}),l.addEventListener("dragover",function(d){d.preventDefault()}),u=e.get("renderer")==="svg"?new Ao.Canvas({container:l,width:r[0],height:r[1]}):new Wr.Canvas({container:l,width:r[0],height:r[1]}),this.set("canvas",u),this.updateCanvas()},t.prototype.updateCanvas=function(){if(this.get("refresh")){var e=this.get("graph");if(!e.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var r=this.get("size"),i=this.get("canvas"),a=this.get("type"),s=this.get("padding");if(!i.destroyed){switch(a){case"default":this.updateGraphShapes();break;case"keyShape":this.updateKeyShapes();break;case"delegate":this.updateDelegateShapes()}var u=i.get("children")[0];if(u){u.resetMatrix();var l=u.getCanvasBBox(),d=e.get("canvas").getCanvasBBox(),v=e.getZoom()||1,k=d.width/v,T=d.height/v;Number.isFinite(l.width)&&(k=Rd(l.width,k),T=Rd(l.height,T)),k+=2*s,T+=2*s;var I=Math.min(r[0]/k,r[1]/T),j=[1,0,0,0,1,0,0,0,1],F=0,B=0;Number.isFinite(l.minX)&&(F=-l.minX),Number.isFinite(l.minY)&&(B=-l.minY);var U=(r[0]-(k-2*s)*I)/2,H=(r[1]-(T-2*s)*I)/2;j=Wy(j,[["t",F,B],["s",I,I],["t",U,H]]),u.setMatrix(j),this.set("ratio",I),this.set("totaldx",U+F*I),this.set("totaldy",H+B*I),this.set("dx",U),this.set("dy",H),this.updateViewport()}}}}},t.prototype.getCanvas=function(){return this.get("canvas")},t.prototype.getViewport=function(){return this.get("viewport")},t.prototype.getContainer=function(){return this.get("container")},t.prototype.destroy=function(){this.get("canvas").destroy();var e=this.get("container");e.parentNode.removeChild(e)},t}(lo),Yy=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();function Do(n,t,e){var r=n.x-t.x,i=n.y-t.y;return!e||Math.abs(r)>e||Math.abs(i)>e?Math.sqrt(r*r+i*i):e}function Ld(n,t){var e=(t.source.y-t.target.y)/(t.source.x-t.target.x),r=(e*e*t.source.x+e*(n.y-t.source.y)+n.x)/(e*e+1);return{x:r,y:e*(r-t.source.x)+t.source.y}}var Hy=function(n){function t(e){return n.call(this,e)||this}return Yy(t,n),t.prototype.getDefaultCfgs=function(){return{edgeBundles:[],edgePoints:[],K:.1,lambda:.1,divisions:1,divRate:2,cycles:6,iterations:90,iterRate:.6666667,bundleThreshold:.6,eps:1e-6,onLayoutEnd:function(){},onTick:function(){}}},t.prototype.init=function(){var e=this.get("graph"),r=this.get("onTick");this.set("tick",function(){r&&r(),e.refreshPositions()})},t.prototype.bundling=function(e){var r=this;if(r.set("data",e),!r.isTicking()){var i=e.edges||[],a=e.nodes||[],s={},u=!1;if(a.forEach(function(Q){Q.x!==null&&!Q.y!==null&&Q.x!==void 0&&!Q.y!==void 0||(u=!0),s[Q.id]=Q}),u)throw new Error("please layout the graph or assign x and y for nodes first");r.set("nodeIdMap",s);var l=r.get("divisions"),d=r.get("divRate"),v=r.divideEdges(l);r.set("edgePoints",v);var k=r.getEdgeBundles();r.set("edgeBundles",k);for(var T=r.get("cycles"),I=r.get("iterations"),j=r.get("iterRate"),F=r.get("lambda"),B=0;BT;){var U=T/B,H={x:s[l][F-1].x,y:s[l][F-1].y};H.x+=U*(j.x-s[l][F-1].x),H.y+=U*(j.y-s[l][F-1].y),I.push(H),B-=T,T=k}T-=B}}),I.push({x:v.x,y:v.y}),s[l]=I}}),s},t.prototype.getEdgeLength=function(e){var r=0;return e.forEach(function(i,a){a!==0&&(r+=Do(i,e[a-1]))}),r},t.prototype.getEdgeBundles=function(){var e=this,r=e.get("data").edges||[],i=e.get("bundleThreshold"),a=e.get("nodeIdMap"),s=e.get("edgeBundles");return s||(s=[]),r.forEach(function(u,l){s[l]&&s[l]!==void 0||(s[l]=[])}),r.forEach(function(u,l){var d=a[u.source],v=a[u.target];r.forEach(function(k,T){if(!(T<=l)){var I=a[k.source],j=a[k.target];e.getBundleScore({source:d,target:v},{source:I,target:j})>=i&&(s[l].push(T),s[T].push(l))}})}),s},t.prototype.getBundleScore=function(e,r){return e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,r.vx=r.target.x-r.source.x,r.vy=r.target.y-r.source.y,e.length=Do({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),r.length=Do({x:r.source.x,y:r.source.y},{x:r.target.x,y:r.target.y}),this.getAngleScore(e,r)*this.getScaleScore(e,r)*this.getPositionScore(e,r)*this.getVisibilityScore(e,r)},t.prototype.getAngleScore=function(e,r){return function(i,a){return i.x*a.x+i.y*a.y}({x:e.vx,y:e.vy},{x:r.vx,y:r.vy})/(e.length*r.length)},t.prototype.getScaleScore=function(e,r){var i=(e.length+r.length)/2;return 2/(i/Math.min(e.length,r.length)+Math.max(e.length,r.length)/i)},t.prototype.getPositionScore=function(e,r){var i=(e.length+r.length)/2;return i/(i+Do({x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2},{x:(r.source.x+r.target.x)/2,y:(r.source.y+r.target.y)/2}))},t.prototype.getVisibilityScore=function(e,r){var i=this.getEdgeVisibility(e,r),a=this.getEdgeVisibility(r,e);return ii||Math.abs(v.y)>i){var k=1/Do(s[d][e],s[r][e]);l.x+=v.x*k,l.y+=v.y*k}}),l},t.prototype.isTicking=function(){return this.get("ticking")},t.prototype.getSimulation=function(){return this.get("forceSimulation")},t.prototype.destroy=function(){this.get("ticking")&&this.getSimulation().stop(),n.prototype.destroy.call(this)},t}(lo),qy=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Bd=function(){return(Bd=Object.assign||function(n){for(var t,e=1,r=arguments.length;e(u||i.get("height"))&&r>1||d<(l||.05*i.get("height"))&&r<1)&&(r=1),d*=r,this.set("r",d),this.set("r2",d*d);var v=this.get("d");this.set("molecularParam",(v+1)*d),this.set("delegateCenterDiff",void 0),this.magnify(e,s)}},t.prototype.scaleRByDrag=function(e){if(e){var r,i=this.get("dragPrePos"),a=this.get("graph"),s=a.getPointByClient(e.clientX,e.clientY);r=e.x-i.x<0?.95:1/.95;var u=this.get("maxR"),l=this.get("minR"),d=this.get("r");(d>(u||a.get("height"))&&r>1||d<(l||.05*a.get("height"))&&r<1)&&(r=1),d*=r,this.set("r",d),this.set("r2",d*d);var v=this.get("d");this.set("molecularParam",(v+1)*d),this.magnify(e,s),this.set("dragPrePos",{x:e.x,y:e.y})}},t.prototype.scaleDByWheel=function(e){if(e||e.originalEvent){e.preventDefault&&e.preventDefault();var r=0;r=e.originalEvent.wheelDelta<0?-.1:.1;var i=this.get("d")+r,a=this.get("maxD"),s=this.get("minD");if(is){this.set("d",i);var u=this.get("r");this.set("molecularParam",(i+1)*u);var l=this.get("delegate"),d=l?{x:l.attr("x"),y:l.attr("y")}:void 0;this.set("delegateCenterDiff",void 0),this.magnify(e,d)}}},t.prototype.scaleDByDrag=function(e){var r=this.get("dragPrePos"),i=e.x-r.x>0?.1:-.1,a=this.get("d")+i,s=this.get("maxD"),u=this.get("minD");if(au){this.set("d",a);var l=this.get("r");this.set("molecularParam",(a+1)*l),this.magnify(e)}this.set("dragPrePos",{x:e.x,y:e.y})},t.prototype.magnify=function(e,r){this.restoreCache();var i=this.get("graph"),a=this.get("cachedMagnifiedModels"),s=this.get("cachedOriginPositions"),u=this.get("showLabel"),l=this.get("r"),d=this.get("r2"),v=this.get("d"),k=this.get("molecularParam"),T=i.getNodes(),I=T.length,j=r?{x:r.x,y:r.y}:{x:e.x,y:e.y};!this.get("dragging")||this.get("trigger")!=="mousemove"&&this.get("trigger")!=="click"||(j=this.get("cacheCenter"));var F=this.get("delegateCenterDiff");F&&(j.x+=F.x,j.y+=F.y),this.updateDelegate(j,l);for(var B=0;B`),l=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,d=0,v=0,k=!1,T=0,I=0,j=0,F=0,G=0,V=0;u.addEventListener("dragstart",function(q){var $,ve;if(q.dataTransfer){var de=new Image;de.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E",(ve=($=q.dataTransfer).setDragImage)===null||ve===void 0||ve.call($,de,0,0);try{q.dataTransfer.setData("text/html","view-port-minimap")}catch(Ie){q.dataTransfer.setData("text","view-port-minimap")}}if(r.refresh=!1,q.target===u){var me=u.style;T=parseInt(me.left,10),I=parseInt(me.top,10),j=parseInt(me.width,10),F=parseInt(me.height,10),j>i[0]||F>i[1]||(V=a.getZoom(),G=e.get("ratio"),k=!0,d=q.clientX,v=q.clientY)}},!1),u.addEventListener(l?"dragover":"drag",function(q){if(k&&!Object(p.isNil)(q.clientX)&&!Object(p.isNil)(q.clientY)){var $=d-q.clientX,ve=v-q.clientY;(T-$<0||T-$+j>=i[0])&&($=0),(I-ve<0||I-ve+F>=i[1])&&(ve=0),xn(u,{left:(T-=$)+"px",top:(I-=ve)+"px"}),a.translate($*V/G,ve*V/G),d=q.clientX,v=q.clientY}},!1),u.addEventListener("dragend",function(){k=!1,r.refresh=!0},!1),this.set("viewport",u),s.appendChild(u)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get("ratio"),r=(this.get("dx"),this.get("dy"),this.get("totaldx")),i=this.get("totaldy"),a=this.get("graph"),s=this.get("size"),u=a.get("width"),l=a.get("height"),d=a.getPointByCanvas(0,0),v=a.getPointByCanvas(u,l),k=this.get("viewport");k||this.initViewport();var T=(v.x-d.x)*e,I=(v.y-d.y)*e,j=d.x*e+r,F=d.y*e+i,G=j+T,V=F+I;j<0&&(T+=j,j=0),G>s[0]&&(T-=G-s[0]),F<0&&(I+=F,F=0),V>s[1]&&(I-=V-s[1]),this.set("ratio",e),xn(k,{left:j+"px",top:F+"px",width:T+"px",height:I+"px"})}},t.prototype.updateGraphShapes=function(){var e=this._cfgs.graph,r=this.get("canvas"),i=e.get("group");if(!i.destroyed){var a=i.clone();a.resetMatrix(),r.clear(),r.add(a),e.get("renderer")==="svg"&&this.updateVisible(a)}},t.prototype.updateVisible=function(e){var r=this;if(e.isGroup()||e.get("visible")){var i=e.get("children");if(!i||!i.length)return;i.forEach(function(a){a.get("visible")||a.hide(),r.updateVisible(a)})}else e.hide()},t.prototype.updateKeyShapes=function(){var e=this,r=this._cfgs.graph,i=this.get("canvas"),a=i.get("children")[0]||i.addGroup();Object(p.each)(r.getEdges(),function(l){e.updateOneEdgeKeyShape(l,a)}),Object(p.each)(r.getNodes(),function(l){e.updateOneNodeKeyShape(l,a)});var s=r.getCombos();if(s&&s.length){var u=a.find(function(l){return l.get("name")==="comboGroup"})||a.addGroup({name:"comboGroup"});setTimeout(function(){Object(p.each)(s,function(l){e.updateOneComboKeyShape(l,u)}),u.sort(),u.toBack(),e.updateCanvas()},250)}this.clearDestroyedShapes()},t.prototype.updateOneComboKeyShape=function(e,r){var i=this.get("itemMap")||{},a=i[e.get("id")],s=e.getBBox(),u=e.get("keyShape").clone(),l=u.attr(),d={x:s.centerX,y:s.centerY};a?d=Object.assign(l,d):(a=u,r.add(a));var v=a.get("type");v!=="rect"&&v!=="image"||(d.x=s.minX,d.y=s.minY),a.attr(d),e.isVisible()?a.show():a.hide(),a.exist=!0;var k=e.getModel().depth;isNaN(k)||a.set("zIndex",k),i[e.get("id")]=a,this.set("itemMap",i)},t.prototype.updateOneNodeKeyShape=function(e,r){var i=this.get("itemMap")||{},a=i[e.get("id")],s=e.getBBox(),u=e.get("keyShape").clone(),l=u.attr(),d={x:s.centerX,y:s.centerY};a?d=Object.assign(l,d):(a=u,r.add(a));var v=a.get("type");v!=="rect"&&v!=="image"||(d.x=s.minX,d.y=s.minY),a.attr(d),e.isVisible()?a.show():a.hide(),a.exist=!0;var k=e.getModel().depth;isNaN(k)||a.set("zIndex",k),i[e.get("id")]=a,this.set("itemMap",i)},t.prototype.updateDelegateShapes=function(){var e=this,r=this._cfgs.graph,i=this.get("canvas"),a=i.get("children")[0]||i.addGroup();Object(p.each)(r.getEdges(),function(l){e.updateOneEdgeKeyShape(l,a)}),Object(p.each)(r.getNodes(),function(l){e.updateOneNodeDelegateShape(l,a)});var s=r.getCombos();if(s&&s.length){var u=a.find(function(l){return l.get("name")==="comboGroup"})||a.addGroup({name:"comboGroup"});setTimeout(function(){Object(p.each)(s,function(l){e.updateOneComboKeyShape(l,u)}),u.sort(),u.toBack(),e.updateCanvas()},250)}this.clearDestroyedShapes()},t.prototype.clearDestroyedShapes=function(){var e=this.get("itemMap")||{},r=Object.keys(e);if(r&&r.length!==0)for(var i=r.length-1;i>=0;i--){var a=e[r[i]],s=a.exist;a.exist=!1,s||(a.remove(),delete e[r[i]])}},t.prototype.updateOneEdgeKeyShape=function(e,r){var i=this.get("itemMap")||{},a=i[e.get("id")];if(a){var s=e.get("keyShape").attr("path");a.attr("path",s)}else a=e.get("keyShape").clone(),r.add(a);e.isVisible()?a.show():a.hide(),a.exist=!0,i[e.get("id")]=a,this.set("itemMap",i)},t.prototype.updateOneNodeDelegateShape=function(e,r){var i=this.get("delegateStyle"),a=this.get("itemMap")||{},s=a[e.get("id")],u=e.getBBox();if(s){var l={x:u.minX,y:u.minY,width:u.width,height:u.height};s.attr(l)}else s=r.addShape("rect",{attrs:Dd({x:u.minX,y:u.minY,width:u.width,height:u.height},i),name:"minimap-node-shape"});e.isVisible()?s.show():s.hide(),s.exist=!0,a[e.get("id")]=s,this.set("itemMap",a)},t.prototype.init=function(){this.initContainer(),this.get("graph").on("afterupdateitem",this.handleUpdateCanvas),this.get("graph").on("afteritemstatechange",this.handleUpdateCanvas),this.get("graph").on("afteradditem",this.handleUpdateCanvas),this.get("graph").on("afterremoveitem",this.handleUpdateCanvas),this.get("graph").on("afterrender",this.handleUpdateCanvas),this.get("graph").on("afterlayout",this.handleUpdateCanvas)},t.prototype.initContainer=function(){var e=this.get("graph"),r=this.get("size"),i=this.get("className"),a=this.get("container"),s=ei("
    ");Object(p.isString)(a)&&(a=document.getElementById(a)),a?a.appendChild(s):e.get("container").appendChild(s),this.set("container",s);var u,l=ei('
    ');s.appendChild(l),l.addEventListener("dragenter",function(d){d.preventDefault()}),l.addEventListener("dragover",function(d){d.preventDefault()}),u=e.get("renderer")==="svg"?new Ao.Canvas({container:l,width:r[0],height:r[1]}):new Xr.Canvas({container:l,width:r[0],height:r[1]}),this.set("canvas",u),this.updateCanvas()},t.prototype.updateCanvas=function(){if(this.get("refresh")){var e=this.get("graph");if(!e.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var r=this.get("size"),i=this.get("canvas"),a=this.get("type"),s=this.get("padding");if(!i.destroyed){switch(a){case"default":this.updateGraphShapes();break;case"keyShape":this.updateKeyShapes();break;case"delegate":this.updateDelegateShapes()}var u=i.get("children")[0];if(u){u.resetMatrix();var l=u.getCanvasBBox(),d=e.get("canvas").getCanvasBBox(),v=e.getZoom()||1,k=d.width/v,T=d.height/v;Number.isFinite(l.width)&&(k=Rd(l.width,k),T=Rd(l.height,T)),k+=2*s,T+=2*s;var I=Math.min(r[0]/k,r[1]/T),j=[1,0,0,0,1,0,0,0,1],F=0,G=0;Number.isFinite(l.minX)&&(F=-l.minX),Number.isFinite(l.minY)&&(G=-l.minY);var V=(r[0]-(k-2*s)*I)/2,q=(r[1]-(T-2*s)*I)/2;j=Wy(j,[["t",F,G],["s",I,I],["t",V,q]]),u.setMatrix(j),this.set("ratio",I),this.set("totaldx",V+F*I),this.set("totaldy",q+G*I),this.set("dx",V),this.set("dy",q),this.updateViewport()}}}}},t.prototype.getCanvas=function(){return this.get("canvas")},t.prototype.getViewport=function(){return this.get("viewport")},t.prototype.getContainer=function(){return this.get("container")},t.prototype.destroy=function(){this.get("canvas").destroy();var e=this.get("container");e.parentNode.removeChild(e)},t}(lo),Yy=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();function Do(n,t,e){var r=n.x-t.x,i=n.y-t.y;return!e||Math.abs(r)>e||Math.abs(i)>e?Math.sqrt(r*r+i*i):e}function Ld(n,t){var e=(t.source.y-t.target.y)/(t.source.x-t.target.x),r=(e*e*t.source.x+e*(n.y-t.source.y)+n.x)/(e*e+1);return{x:r,y:e*(r-t.source.x)+t.source.y}}var Hy=function(n){function t(e){return n.call(this,e)||this}return Yy(t,n),t.prototype.getDefaultCfgs=function(){return{edgeBundles:[],edgePoints:[],K:.1,lambda:.1,divisions:1,divRate:2,cycles:6,iterations:90,iterRate:.6666667,bundleThreshold:.6,eps:1e-6,onLayoutEnd:function(){},onTick:function(){}}},t.prototype.init=function(){var e=this.get("graph"),r=this.get("onTick");this.set("tick",function(){r&&r(),e.refreshPositions()})},t.prototype.bundling=function(e){var r=this;if(r.set("data",e),!r.isTicking()){var i=e.edges||[],a=e.nodes||[],s={},u=!1;if(a.forEach(function($){$.x!==null&&!$.y!==null&&$.x!==void 0&&!$.y!==void 0||(u=!0),s[$.id]=$}),u)throw new Error("please layout the graph or assign x and y for nodes first");r.set("nodeIdMap",s);var l=r.get("divisions"),d=r.get("divRate"),v=r.divideEdges(l);r.set("edgePoints",v);var k=r.getEdgeBundles();r.set("edgeBundles",k);for(var T=r.get("cycles"),I=r.get("iterations"),j=r.get("iterRate"),F=r.get("lambda"),G=0;GT;){var V=T/G,q={x:s[l][F-1].x,y:s[l][F-1].y};q.x+=V*(j.x-s[l][F-1].x),q.y+=V*(j.y-s[l][F-1].y),I.push(q),G-=T,T=k}T-=G}}),I.push({x:v.x,y:v.y}),s[l]=I}}),s},t.prototype.getEdgeLength=function(e){var r=0;return e.forEach(function(i,a){a!==0&&(r+=Do(i,e[a-1]))}),r},t.prototype.getEdgeBundles=function(){var e=this,r=e.get("data").edges||[],i=e.get("bundleThreshold"),a=e.get("nodeIdMap"),s=e.get("edgeBundles");return s||(s=[]),r.forEach(function(u,l){s[l]&&s[l]!==void 0||(s[l]=[])}),r.forEach(function(u,l){var d=a[u.source],v=a[u.target];r.forEach(function(k,T){if(!(T<=l)){var I=a[k.source],j=a[k.target];e.getBundleScore({source:d,target:v},{source:I,target:j})>=i&&(s[l].push(T),s[T].push(l))}})}),s},t.prototype.getBundleScore=function(e,r){return e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,r.vx=r.target.x-r.source.x,r.vy=r.target.y-r.source.y,e.length=Do({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),r.length=Do({x:r.source.x,y:r.source.y},{x:r.target.x,y:r.target.y}),this.getAngleScore(e,r)*this.getScaleScore(e,r)*this.getPositionScore(e,r)*this.getVisibilityScore(e,r)},t.prototype.getAngleScore=function(e,r){return function(i,a){return i.x*a.x+i.y*a.y}({x:e.vx,y:e.vy},{x:r.vx,y:r.vy})/(e.length*r.length)},t.prototype.getScaleScore=function(e,r){var i=(e.length+r.length)/2;return 2/(i/Math.min(e.length,r.length)+Math.max(e.length,r.length)/i)},t.prototype.getPositionScore=function(e,r){var i=(e.length+r.length)/2;return i/(i+Do({x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2},{x:(r.source.x+r.target.x)/2,y:(r.source.y+r.target.y)/2}))},t.prototype.getVisibilityScore=function(e,r){var i=this.getEdgeVisibility(e,r),a=this.getEdgeVisibility(r,e);return ii||Math.abs(v.y)>i){var k=1/Do(s[d][e],s[r][e]);l.x+=v.x*k,l.y+=v.y*k}}),l},t.prototype.isTicking=function(){return this.get("ticking")},t.prototype.getSimulation=function(){return this.get("forceSimulation")},t.prototype.destroy=function(){this.get("ticking")&&this.getSimulation().stop(),n.prototype.destroy.call(this)},t}(lo),qy=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Bd=function(){return(Bd=Object.assign||function(n){for(var t,e=1,r=arguments.length;e(u||i.get("height"))&&r>1||d<(l||.05*i.get("height"))&&r<1)&&(r=1),d*=r,this.set("r",d),this.set("r2",d*d);var v=this.get("d");this.set("molecularParam",(v+1)*d),this.set("delegateCenterDiff",void 0),this.magnify(e,s)}},t.prototype.scaleRByDrag=function(e){if(e){var r,i=this.get("dragPrePos"),a=this.get("graph"),s=a.getPointByClient(e.clientX,e.clientY);r=e.x-i.x<0?.95:1/.95;var u=this.get("maxR"),l=this.get("minR"),d=this.get("r");(d>(u||a.get("height"))&&r>1||d<(l||.05*a.get("height"))&&r<1)&&(r=1),d*=r,this.set("r",d),this.set("r2",d*d);var v=this.get("d");this.set("molecularParam",(v+1)*d),this.magnify(e,s),this.set("dragPrePos",{x:e.x,y:e.y})}},t.prototype.scaleDByWheel=function(e){if(e||e.originalEvent){e.preventDefault&&e.preventDefault();var r=0;r=e.originalEvent.wheelDelta<0?-.1:.1;var i=this.get("d")+r,a=this.get("maxD"),s=this.get("minD");if(is){this.set("d",i);var u=this.get("r");this.set("molecularParam",(i+1)*u);var l=this.get("delegate"),d=l?{x:l.attr("x"),y:l.attr("y")}:void 0;this.set("delegateCenterDiff",void 0),this.magnify(e,d)}}},t.prototype.scaleDByDrag=function(e){var r=this.get("dragPrePos"),i=e.x-r.x>0?.1:-.1,a=this.get("d")+i,s=this.get("maxD"),u=this.get("minD");if(au){this.set("d",a);var l=this.get("r");this.set("molecularParam",(a+1)*l),this.magnify(e)}this.set("dragPrePos",{x:e.x,y:e.y})},t.prototype.magnify=function(e,r){this.restoreCache();var i=this.get("graph"),a=this.get("cachedMagnifiedModels"),s=this.get("cachedOriginPositions"),u=this.get("showLabel"),l=this.get("r"),d=this.get("r2"),v=this.get("d"),k=this.get("molecularParam"),T=i.getNodes(),I=T.length,j=r?{x:r.x,y:r.y}:{x:e.x,y:e.y};!this.get("dragging")||this.get("trigger")!=="mousemove"&&this.get("trigger")!=="click"||(j=this.get("cacheCenter"));var F=this.get("delegateCenterDiff");F&&(j.x+=F.x,j.y+=F.y),this.updateDelegate(j,l);for(var G=0;G\u7C7B\u578B\uFF1A`+e.item.getType()+` ID\uFF1A`+e.item.getID()+` - `},shouldBegin:function(e){return!0},itemTypes:["node","edge","combo"],trigger:"mouseenter",fixToNode:void 0}},t.prototype.getEvents=function(){return this.get("trigger")==="click"?{"node:click":"onClick","edge:click":"onClick","combo:click":"onClick","canvas:click":"onMouseLeave",afterremoveitem:"onMouseLeave",contextmenu:"onMouseLeave",drag:"onMouseLeave"}:{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove","edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove","combo:mouseenter":"onMouseEnter","combo:mouseleave":"onMouseLeave","combo:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave",contextmenu:"onMouseLeave","node:drag":"onMouseLeave"}},t.prototype.init=function(){var e=this,r=ei("
    "),i=e.get("container");i||(i=e.get("graph").get("container")),Object(p.isString)(i)&&(i=document.getElementById(i)),xn(r,{position:"absolute",visibility:"hidden",display:"none"}),i.appendChild(r),e.get("trigger")!=="click"&&(r.addEventListener("mouseenter",function(a){xn(r,{visibility:"visible",display:"unset"})}),r.addEventListener("mouseleave",function(a){e.hideTooltip()})),e.set("tooltip",r)},t.prototype.onClick=function(e){var r=this.get("itemTypes");if(!e.item||!e.item.getType||r.indexOf(e.item.getType())!==-1){var i=e.item,a=this.get("graph");this.currentTarget===i?(this.currentTarget=null,this.hideTooltip(),a.emit("tooltipchange",{item:e.item,action:"hide"})):(this.currentTarget=i,this.showTooltip(e),a.emit("tooltipchange",{item:e.item,action:"show"}))}},t.prototype.onMouseEnter=function(e){var r=this.get("itemTypes");if(!e.item||!e.item.getType||r.indexOf(e.item.getType())!==-1){var i=e.item,a=this.get("graph");this.currentTarget=i,this.showTooltip(e),a.emit("tooltipchange",{item:e.item,action:"show"})}},t.prototype.onMouseMove=function(e){var r=this.get("itemTypes");e.item&&e.item.getType&&r.indexOf(e.item.getType())===-1||this.currentTarget&&e.item===this.currentTarget&&this.showTooltip(e)},t.prototype.onMouseLeave=function(){this.hideTooltip(),this.get("graph").emit("tooltipchange",{item:this.currentTarget,action:"hide"}),this.currentTarget=null},t.prototype.showTooltip=function(e){if(e.item){var r=this.get("itemTypes");if(!e.item.getType||r.indexOf(e.item.getType())!==-1){var i=this.get("tooltip"),a=this.get("getContent")(e);Object(p.isString)(a)?i.innerHTML=a:i.innerHTML=a.outerHTML,this.updatePosition(e)}}},t.prototype.hideTooltip=function(){var e=this.get("tooltip");e&&xn(e,{visibility:"hidden",display:"none"})},t.prototype.updatePosition=function(e){var r=this.get("shouldBegin"),i=this.get("tooltip");if(r(e)){var a=this.get("graph"),s=a.get("width"),u=a.get("height"),l=this.get("offsetX")||0,d=this.get("offsetY")||0,v=a.getPointByClient(e.clientX,e.clientY),k=this.get("fixToNode"),T=e.item;if(T.getType&&T.getType()==="node"&&k&&Object(p.isArray)(k)&&k.length>=2){var I=T.getBBox();v={x:I.minX+I.width*k[0],y:I.minY+I.height*k[1]}}var j=a.getCanvasByPoint(v.x,v.y),F=j.x,B=j.y,U=a.getContainer(),H={x:F+U.offsetLeft+l,y:B+U.offsetTop+d};xn(i,{visibility:"visible",display:"unset"});var Q=i.getBoundingClientRect();F+Q.width+l>s&&(H.x-=Q.width+l),B+Q.height+d>u&&(H.y-=Q.height+d),xn(i,{left:H.x+"px",top:H.y+"px"})}else xn(i,{visibility:"hidden",display:"none"})},t.prototype.hide=function(){this.onMouseLeave()},t.prototype.destroy=function(){var e=this.get("tooltip");if(e){var r=this.get("container");r||(r=this.get("graph").get("container")),Object(p.isString)(r)&&(r=document.getElementById(r)),r.removeChild(e)}},t}(lo),Fd={};function Ro(n,t){Fd[n]=t}var tc=function(){function n(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return n.prototype.translate=function(t){return t},n.prototype.change=function(t){Object(p.assign)(this.__cfg__,t),this.init()},n.prototype.clone=function(){return this.constructor(this.__cfg__)},n.prototype.getTicks=function(){var t=this;return Object(p.map)(this.ticks,function(e,r){return Object(p.isObject)(e)?e:{text:t.getText(e,r),tickValue:e,value:t.scale(e)}})},n.prototype.getText=function(t,e){var r=this.formatter,i=r?r(t,e):t;return Object(p.isNil)(i)||!Object(p.isFunction)(i.toString)?"":i.toString()},n.prototype.getConfig=function(t){return this.__cfg__[t]},n.prototype.init=function(){Object(p.assign)(this,this.__cfg__),this.setDomain(),Object(p.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},n.prototype.initCfg=function(){},n.prototype.setDomain=function(){},n.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(p.isString)(t)){var r=Fd[t];if(!r)throw new Error("There is no method to to calculate ticks!");e=r(this)}else Object(p.isFunction)(t)&&(e=t(this));return e},n.prototype.rangeMin=function(){return this.range[0]},n.prototype.rangeMax=function(){return this.range[1]},n.prototype.calcPercent=function(t,e,r){return Object(p.isNumber)(t)?(t-e)/(r-e):NaN},n.prototype.calcValue=function(t,e,r){return e+t*(r-e)},n}(),os=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return Object(m.__extends)(t,n),t.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var e=0;ethis.max?NaN:this.values[a]},t.prototype.getText=function(e){for(var r=[],i=1;i1?e-1:e}this.translateIndexMap&&(this.translateIndexMap=void 0)},t}(tc),zd=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,as="[^\\s]+",Ud=/\[([^]*?)\]/gm;function Vd(n,t){for(var e=[],r=0,i=n.length;r-1?r:null}};function Jo(n){for(var t=[],e=1;e3?0:(n-n%10!=10?1:0)*n%10]}},Ys=Jo({},rc),Hd=function(n){return Ys=Jo(Ys,n)},qd=function(n){return n.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},ro=function(n,t){for(t===void 0&&(t=2),n=String(n);n.length0?"-":"+")+ro(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(n){var t=n.getTimezoneOffset();return(t>0?"-":"+")+ro(Math.floor(Math.abs(t)/60),2)+":"+ro(Math.abs(t)%60,2)}},Kd=function(n){return+n-1},Zd=[null,"[1-9]\\d?"],$d=[null,as],Qd=["isPm",as,function(n,t){var e=n.toLowerCase();return e===t.amPm[0]?0:e===t.amPm[1]?1:null}],Jd=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(n){var t=(n+"").match(/([+-]|\d\d)/gi);if(t){var e=60*+t[1]+parseInt(t[2],10);return t[0]==="+"?e:-e}return 0}],rm={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+as,function(n){return parseInt(n,10)}],M:["month","[1-9]\\d?",Kd],MM:["month","\\d\\d",Kd],YY:["year","\\d\\d",function(n){var t=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+n>68?t-1:t)+n)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(n){return 100*+n}],SS:["millisecond","\\d\\d",function(n){return 10*+n}],SSS:["millisecond","\\d{3}"],d:Zd,dd:Zd,ddd:$d,dddd:$d,MMM:["month",as,Wd("monthNamesShort")],MMMM:["month",as,Wd("monthNames")],a:Qd,A:Qd,ZZ:Jd,Z:Jd},Hs={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},ep=function(n){return Jo(Hs,n)},tp=function(n,t,e){if(t===void 0&&(t=Hs.default),e===void 0&&(e={}),typeof n=="number"&&(n=new Date(n)),Object.prototype.toString.call(n)!=="[object Date]"||isNaN(n.getTime()))throw new Error("Invalid Date pass to format");var r=[];t=(t=Hs[t]||t).replace(Ud,function(a,s){return r.push(s),"@@@"});var i=Jo(Jo({},Ys),e);return(t=t.replace(zd,function(a){return tm[a](n,i)})).replace(/@@@/g,function(){return r.shift()})};function rp(n,t,e){if(e===void 0&&(e={}),typeof t!="string")throw new Error("Invalid format in fecha parse");if(t=Hs[t]||t,n.length>1e3)return null;var r={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],a=[],s=t.replace(Ud,function(Q,ve){return a.push(qd(ve)),"@@@"}),u={},l={};s=qd(s).replace(zd,function(Q){var ve=rm[Q],pe=ve[0],me=ve[1],Te=ve[3];if(u[pe])throw new Error("Invalid format. "+pe+" specified twice in format");return u[pe]=!0,Te&&(l[Te]=!0),i.push(ve),"("+me+")"}),Object.keys(l).forEach(function(Q){if(!u[Q])throw new Error("Invalid format. "+Q+" is required in specified format")}),s=s.replace(/@@@/g,function(){return a.shift()});var d=n.match(new RegExp(s,"i"));if(!d)return null;for(var v=Jo(Jo({},Ys),e),k=1;k0?new Date(n).getTime():new Date(n.replace(/-/gi,"/")).getTime()),Object(p.isDate)(n)&&(n=n.getTime()),n}var ha=36e5,ea=24*ha,ss=31*ea,us=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",ha],["HH",6*ha],["HH",12*ha],["YYYY-MM-DD",ea],["YYYY-MM-DD",4*ea],["YYYY-WW",7*ea],["YYYY-MM",ss],["YYYY-MM",4*ss],["YYYY-MM",6*ss],["YYYY",380*ea]];function nm(n,t,e){var r,i=(r=function(s){return s[1]},function(s,u,l,d){for(var v=Object(p.isNil)(l)?0:l,k=Object(p.isNil)(d)?s.length:d;v>>1;r(s[T])>u?k=T:v=T+1}return v})(us,(t-n)/e)-1,a=us[i];return i<0?a=us[0]:i>=us.length&&(a=Object(p.last)(us)),a}var im=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="timeCat",e}return Object(m.__extends)(t,n),t.prototype.translate=function(e){e=qs(e);var r=this.values.indexOf(e);return r===-1&&(r=Object(p.isNumber)(e)&&e-1){var a=this.values[i],s=this.formatter;return a=s?s(a,r):ip(a,this.mask)}return e},t.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},t.prototype.setDomain=function(){var e=this.values;Object(p.each)(e,function(r,i){e[i]=qs(r)}),e.sort(function(r,i){return r-i}),n.prototype.setDomain.call(this)},t}(os),Ks=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(m.__extends)(t,n),t.prototype.scale=function(e){if(Object(p.isNil)(e))return NaN;var r=this.rangeMin(),i=this.rangeMax();return this.max===this.min?r:r+this.getScalePercent(e)*(i-r)},t.prototype.init=function(){n.prototype.init.call(this);var e=this.ticks,r=Object(p.head)(e),i=Object(p.last)(e);rthis.max&&(this.max=i),Object(p.isNil)(this.minLimit)||(this.min=r),Object(p.isNil)(this.maxLimit)||(this.max=i)},t.prototype.setDomain=function(){var e=Object(p.getRange)(this.values),r=e.min,i=e.max;Object(p.isNil)(this.min)&&(this.min=r),Object(p.isNil)(this.max)&&(this.max=i),this.min>this.max&&(this.min=r,this.max=i)},t.prototype.calculateTicks=function(){var e=this,r=n.prototype.calculateTicks.call(this);return this.nice||(r=Object(p.filter)(r,function(i){return i>=e.min&&i<=e.max})),r},t.prototype.getScalePercent=function(e){var r=this.max,i=this.min;return(e-i)/(r-i)},t.prototype.getInvertPercent=function(e){return(e-this.rangeMin())/(this.rangeMax()-this.rangeMin())},t}(tc),cs=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return Object(m.__extends)(t,n),t.prototype.invert=function(e){var r=this.getInvertPercent(e);return this.min+r*(this.max-this.min)},t.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},t}(Ks);function ta(n,t){var e=Math.E;return t>=0?Math.pow(e,Math.log(t)/n):-1*Math.pow(e,Math.log(-t)/n)}function po(n,t){return n===1?1:Math.log(t)/Math.log(n)}function op(n,t,e){Object(p.isNil)(e)&&(e=Math.max.apply(null,n));var r=e;return Object(p.each)(n,function(i){i>0&&i1&&(r=1),r}var om=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="log",e}return Object(m.__extends)(t,n),t.prototype.invert=function(e){var r,i=this.base,a=po(i,this.max),s=this.rangeMin(),u=this.rangeMax()-s,l=this.positiveMin;if(l){if(e===0)return 0;var d=1/(a-(r=po(i,l/i)))*u;if(e=0?1:-1;return Math.pow(u,i)*l},t.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},t.prototype.getScalePercent=function(e){var r=this.max,i=this.min;if(r===i)return 0;var a=this.exponent;return(ta(a,e)-ta(a,i))/(ta(a,r)-ta(a,i))},t}(Ks),sm=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="time",e}return Object(m.__extends)(t,n),t.prototype.getText=function(e,r){var i=this.translate(e),a=this.formatter;return a?a(i,r):ip(i,this.mask)},t.prototype.scale=function(e){var r=e;return(Object(p.isString)(r)||Object(p.isDate)(r))&&(r=this.translate(r)),n.prototype.scale.call(this,r)},t.prototype.translate=function(e){return qs(e)},t.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},t.prototype.setDomain=function(){var e=this.values,r=this.getConfig("min"),i=this.getConfig("max");if(Object(p.isNil)(r)&&Object(p.isNumber)(r)||(this.min=this.translate(this.min)),Object(p.isNil)(i)&&Object(p.isNumber)(i)||(this.max=this.translate(this.max)),e&&e.length){var a=[],s=1/0,u=s,l=0;Object(p.each)(e,function(d){var v=qs(d);if(isNaN(v))throw new TypeError("Invalid Time: "+d+" in time scale!");s>v?(u=s,s=v):u>v&&(u=v),l1&&(this.minTickInterval=u-s),Object(p.isNil)(r)&&(this.min=s),Object(p.isNil)(i)&&(this.max=l)}},t}(cs),ap=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="quantize",e}return Object(m.__extends)(t,n),t.prototype.invert=function(e){var r=this.ticks,i=r.length,a=this.getInvertPercent(e),s=Math.floor(a*(i-1));if(s>=i-1)return Object(p.last)(r);if(s<0)return Object(p.head)(r);var u=r[s],l=s/(i-1);return u+(a-l)/((s+1)/(i-1)-l)*(r[s+1]-u)},t.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},t.prototype.calculateTicks=function(){var e=n.prototype.calculateTicks.call(this);return this.nice||(Object(p.last)(e)!==this.max&&e.push(this.max),Object(p.head)(e)!==this.min&&e.unshift(this.min)),e},t.prototype.getScalePercent=function(e){var r=this.ticks;if(eObject(p.last)(r))return 1;var i=0;return Object(p.each)(r,function(a,s){if(!(e>=a))return!1;i=s}),i/(r.length-1)},t}(Ks),um=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="quantile",e}return Object(m.__extends)(t,n),t.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},t}(ap),sp={};function Lo(n,t){if(function(e){return sp[e]}(n))throw new Error("type '"+n+"' existed.");sp[n]=t}var cm=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return Object(m.__extends)(t,n),t.prototype.calculateTicks=function(){return this.values},t.prototype.scale=function(e){return this.values[0]!==e&&Object(p.isNumber)(e)?e:this.range[0]},t.prototype.invert=function(e){var r=this.range;return er[1]?NaN:this.values[0]},t}(tc),lm=[1,5,2,2.5,4,3],up=100*Number.EPSILON;function fm(n,t,e,r,i,a){var s=Object(p.size)(t),u=Object(p.indexOf)(t,n),l=0,d=function(v,k){return(v%k+k)%k}(r,a);return(d=0&&(l=1),1-u/(s-1)-e+l}function hm(n,t,e){var r=Object(p.size)(t);return 1-Object(p.indexOf)(t,n)/(r-1)-e+1}function dm(n,t,e,r,i,a){var s=(n-1)/(a-i),u=(t-1)/(Math.max(a,r)-Math.min(e,i));return 2-Math.max(s/u,u/s)}function pm(n,t){return n>=t?2-(n-1)/(t-1):1}function gm(n,t,e,r){var i=t-n;return 1-.5*(Math.pow(t-r,2)+Math.pow(n-e,2))/Math.pow(.1*i,2)}function vm(n,t,e){var r=t-n;if(e>r){var i=(e-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function cp(n,t,e,r,i,a){if(e===void 0&&(e=5),r===void 0&&(r=!0),i===void 0&&(i=lm),a===void 0&&(a=[.25,.2,.5,.05]),Number.isNaN(n)||Number.isNaN(t)||typeof n!="number"||typeof t!="number"||!e)return{min:0,max:0,ticks:[]};if(t-n<1e-15||e===1)return{min:n,max:t,ticks:[n]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},u=1;u<1/0;){for(var l=0;ls.score&&(!r||pe<=n&&me>=t)&&(s.lmin=pe,s.lmax=me,s.lstep=Te,s.score=nt)}j+=1}k+=1}}u+=1}var ct,st=s.lmax,It=s.lmin,gt=s.lstep,Pt=Math.floor((st-It)/gt)+1,Rt=new Array(Pt);for(l=0;l=a&&l<=s}).map(function(l){return t[l]})}return t.slice(a,s+1)}var fp=Math.sqrt(50),hp=Math.sqrt(10),dp=Math.sqrt(2),ym=function(){function n(){this._domain=[0,1]}return n.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},n.prototype.nice=function(t){var e,r;t===void 0&&(t=5);var i,a=this._domain.slice(),s=0,u=this._domain.length-1,l=this._domain[s],d=this._domain[u];return d0?i=Zs(l=Math.floor(l/i)*i,d=Math.ceil(d/i)*i,t):i<0&&(i=Zs(l=Math.ceil(l*i)/i,d=Math.floor(d*i)/i,t)),i>0?(a[s]=Math.floor(l/i)*i,a[u]=Math.ceil(d/i)*i,this.domain(a)):i<0&&(a[s]=Math.ceil(l*i)/i,a[u]=Math.floor(d*i)/i,this.domain(a)),this},n.prototype.ticks=function(t){return t===void 0&&(t=5),function(e,r,i){var a,s,u,l,d=-1;if(i=+i,(e=+e)==(r=+r)&&i>0)return[e];if((a=r0)for(e=Math.ceil(e/l),r=Math.floor(r/l),u=new Array(s=Math.ceil(r-e+1));++d=0?(a>=fp?10:a>=hp?5:a>=dp?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=fp?10:a>=hp?5:a>=dp?2:1)}function pp(n,t,e){return(e==="ceil"?Math.ceil(n/t):e==="floor"?Math.floor(n/t):Math.round(n/t))*t}function nc(n,t,e){var r=pp(n,e,"floor"),i=pp(t,e,"ceil");r=Object(p.fixedBase)(r,e),i=Object(p.fixedBase)(i,e);for(var a=[],s=r;s<=i;s+=e){var u=Object(p.fixedBase)(s,e);a.push(u)}return{min:r,max:i,ticks:a}}function ic(n,t,e){var r,i=n.minLimit,a=n.maxLimit,s=n.min,u=n.max,l=n.tickCount,d=l===void 0?5:l,v=Object(p.isNil)(i)?Object(p.isNil)(t)?s:t:i,k=Object(p.isNil)(a)?Object(p.isNil)(e)?u:e:a;if(v>k&&(k=(r=[v,k])[0],v=r[1]),d<=2)return[v,k];for(var T=(k-v)/(d-1),I=[],j=0;j1&&(i*=Math.ceil(s)),r&&i31536e6)for(var l=$s(e),d=Math.ceil(a/31536e6),v=u;v<=l+d;v+=d)s.push(xm(v));else if(a>ss){var k=Math.ceil(a/ss),T=oc(t),I=function(st,It){var gt=$s(st),Pt=$s(It),Rt=oc(st);return 12*(Pt-gt)+(oc(It)-Rt)%12}(t,e);for(v=0;v<=I+k;v+=k)s.push(wm(u,v+T))}else if(a>ea){var j=(Q=new Date(t)).getFullYear(),F=Q.getMonth(),B=Q.getDate(),U=Math.ceil(a/ea),H=function(st,It){return Math.ceil((It-st)/ea)}(t,e);for(v=0;vha){j=(Q=new Date(t)).getFullYear(),F=Q.getMonth(),U=Q.getDate();var Q,ve=Q.getHours(),pe=Math.ceil(a/ha),me=function(st,It){return Math.ceil((It-st)/ha)}(t,e);for(v=0;v<=me+pe;v+=pe)s.push(new Date(j,F,U,ve+v).getTime())}else if(a>6e4){var Te=function(st,It){return Math.ceil((It-st)/6e4)}(t,e),Ee=Math.ceil(a/6e4);for(v=0;v<=Te+Ee;v+=Ee)s.push(t+6e4*v)}else{var je=a;je<1e3&&(je=1e3);var Ze=1e3*Math.floor(t/1e3),nt=Math.ceil((e-t)/1e3),ct=Math.ceil(je/1e3);for(v=0;v=512&&console.warn("Notice: current ticks length("+s.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),s}),Ro("log",function(n){var t,e=n.base,r=n.tickCount,i=n.min,a=n.max,s=n.values,u=po(e,a);if(i>0)t=Math.floor(po(e,i));else{var l=op(s,e,a);t=Math.floor(po(e,l))}for(var d=u-t,v=Math.ceil(d/r),k=[],T=t;T=0?1:-1;return Math.pow(i,t)*a})}),Ro("quantile",function(n){var t=n.tickCount,e=n.values;if(!e||!e.length)return[];for(var r=e.slice().sort(function(u,l){return u-l}),i=[],a=0;av&&(s=v,a=d)})}a=e.originalEvent.deltaY>0?Math.max(0,a-1):Math.min(t.speedAxisY.length-1,a+1);var u=t.speedAxisY[a]-i;r=fs(r,[["t",0,u]]),t.speedPoint.setMatrix(r),t.currentSpeed=t.speedAxisY.length-a,t.speedText.attr("text",t.currentSpeed+".0X"),t.group.emit("timebarConfigChanged",{speed:t.currentSpeed,type:t.currentType})}),this.toggleGroup&&this.toggleGroup.on("toggle-model:click",function(e){var r,i,a=e.target.get("isChecked");a?(t.checkedIcon.hide(),t.checkedText.attr("text",((i=t.controllerCfg)===null||i===void 0?void 0:i.timePointControllerText)||"\u5355\u4E00\u65F6\u95F4"),t.currentType="range"):(t.checkedIcon.show(),t.checkedText.attr("text",((r=t.controllerCfg)===null||r===void 0?void 0:r.timeRangeControllerText)||"\u65F6\u95F4\u8303\u56F4"),t.currentType="single"),e.target.set("isChecked",!a),t.group.emit("timebarConfigChanged",{type:t.currentType,speed:t.currentSpeed})})},n.prototype.destroy=function(){this.speedGroup.off("speed-rect:click"),this.toggleGroup&&(this.toggleGroup.off("toggle-model:click"),this.toggleGroup.destroy()),this.speedGroup.destroy()},n}(),Ln=function(){return(Ln=Object.assign||function(n){for(var t,e=1,r=arguments.length;ej?(H.show(),Q.show(),j=ve.minX+ve.width+10):(H.hide(),Q.hide()),H}),this.controllerBtnGroup=new wp(Ln({group:this.group,x:this.x,y:this.y+r+25,width:e,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),s.move(this.x,this.y),this.bindEvents()},n.prototype.bindEvents=function(){var t=this,e=this.group.find(function(i){return i.get("name")==="minHandlerShape"});e&&(e.on("minHandlerShape-handler:mousedown",this.onMouseDown(this.minHandlerShape)),e.on("minHandlerShape-handler:touchstart",this.onMouseDown(this.minHandlerShape)));var r=this.group.find(function(i){return i.get("name")==="maxHandlerShape"});r&&(r.on("maxHandlerShape-handler:mousedown",this.onMouseDown(this.maxHandlerShape)),r.on("maxHandlerShape-handler:touchstart",this.onMouseDown(this.maxHandlerShape))),this.foregroundShape.on("mousedown",this.onMouseDown(this.foregroundShape)),this.foregroundShape.on("touchstart",this.onMouseDown(this.foregroundShape)),this.group.on("playPauseBtn:click",function(){t.isPlay=!t.isPlay,t.currentHandler=t.maxHandlerShape,t.changePlayStatus()}),this.group.on("nextStepBtn:click",function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(.01),t.updateUI()}),this.group.on("preStepBtn:click",function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(-.01),t.updateUI()}),this.group.on("timebarConfigChanged",function(i){var a=i.type,s=i.speed;t.currentSpeed=s,t.currentMode=a,a==="single"?(t.minHandlerShape.hide(),t.foregroundShape.hide(),t.minTextShape.hide()):a==="range"&&(t.minHandlerShape.show(),t.foregroundShape.show(),t.minTextShape.show())})},n.prototype.adjustTickIndex=function(t){for(var e=0;e1&&(this.end=1);var e=this.x+this.start*this.width,r=this.x+this.end*this.width;this.foregroundShape.attr("x",e),this.foregroundShape.attr("width",r-e);var i=Object(p.get)(this.handlerStyle,"width",2);this.setText(this.minText,this.maxText);var a=this.dodgeText([e,r]),s=a[0],u=a[1];this.minHandlerShape.setX(e-i/2),Object(p.each)(s,function(l,d){return t.minTextShape.attr(d,l)}),this.maxHandlerShape.setX(r-i/2),Object(p.each)(u,function(l,d){return t.maxTextShape.attr(d,l)}),this.currentMode==="range"?this.graph.emit("valuechange",{value:[this.start,this.end].sort()}):this.currentMode==="single"&&this.graph.emit("valuechange",{value:[this.end,this.end]})},n.prototype.dodgeText=function(t){var e,r,i=Object(p.get)(this.handlerStyle,"width",2),a=this.minTextShape,s=this.maxTextShape,u=t[0],l=t[1],d=!1;u>l&&(u=(e=[l,u])[0],l=e[1],a=(r=[s,a])[0],s=r[1],d=!0);var v=a.getBBox(),k=s.getBBox(),T=null,I=null;return this.timeBarType==="trend"?(T=u-v.widththis.x+this.width?{x:l-i/2-2,textAlign:"right"}:{x:l+i/2+2,textAlign:"left"}):this.timeBarType==="simple"&&(T=v.width>u-2?{x:u+i/2+2,textAlign:"center"}:{x:u-i/2-2,textAlign:"center"},I=k.width>this.width-l-2?{x:l-i/2-2,textAlign:"center"}:{x:l+i/2+2,textAlign:"center"}),d?[I,T]:[T,I]},n.prototype.startPlay=function(){var t=this;return typeof window!="undefined"?window.requestAnimationFrame(function(){var e=t,r=e.ticks,i=e.width,a=t.currentSpeed,s=i/r.length/(1e3*(10-a)/60),u=t.adjustOffsetRange(s/t.width);t.updateStartEnd(u),t.updateUI(),t.isPlay&&(t.playHandler=t.startPlay())}):void 0},n.prototype.changePlayStatus=function(t){t===void 0&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit("timebarstartplay",null)):this.playHandler&&(typeof window!="undefined"&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit("timebarendplay",null))},n.prototype.destory=function(){this.graph.off("valuechange");var t=this.group,e=t.find(function(i){return i.get("name")==="minHandlerShape"});e&&(e.off("minHandlerShape-handler:mousedown"),e.off("minHandlerShape-handler:touchstart"),e.destroy());var r=t.find(function(i){return i.get("name")==="maxHandlerShape"});r&&(r.off("maxHandlerShape-handler:mousedown"),r.off("maxHandlerShape-handler:touchstart"),r.destroy()),this.foregroundShape.off("mousedown"),this.foregroundShape.off("touchstart"),this.foregroundShape.destroy(),t.off("playPauseBtn:click"),t.off("nextStepBtn:click"),t.off("preStepBtn:click"),t.off("timebarConfigChanged"),t.destroy(),this.trendComponent&&this.trendComponent.destory()},n}(),Xm=function(){function n(t){var e=t.x,r=e===void 0?0:e,i=t.y,a=i===void 0?0:i,s=t.container,u=t.text,l=t.padding,d=l===void 0?[4,4,4,4]:l,v=t.className,k=v===void 0?"g6-component-timebar-tooltip":v,T=t.backgroundColor,I=T===void 0?"#000":T,j=t.textColor,F=j===void 0?"#fff":j,B=t.opacity,U=B===void 0?.8:B,H=t.fontSize,Q=H===void 0?12:H;this.container=s,this.className=k,this.backgroundColor=I,this.textColor=F,this.x=r,this.y=a,this.text=u,this.padding=d,this.opacity=U,this.fontSize=Q,this.render()}return n.prototype.render=function(){var t=this.className,e=(this.x,this.y,this.backgroundColor),r=this.textColor,i=this.text,a=this.padding,s=this.opacity,u=this.fontSize,l=this.container,d=ei("
    ');Object(p.isString)(l)&&(l=document.getElementById(l)),l.appendChild(d),this.parentHeight=l.offsetHeight,this.parentWidth=l.offsetWidth,xn(d,{visibility:"hidden",top:0,left:0});var v=ei(` -
    ");v.innerHTML=i,d.appendChild(v),this.backgroundDOM=v;var k=ei("
    ");d.appendChild(k),this.arrowDOM=k,this.container=d},n.prototype.show=function(t){var e=t.text,r=t.x;t.y,t.clientX,t.clientY,this.backgroundDOM.innerHTML=e;var i=this.backgroundDOM.offsetWidth,a=this.backgroundDOM.offsetHeight,s=this.arrowDOM.offsetWidth,u=this.arrowDOM.offsetHeight;xn(this.container,{top:-a-u+"px",left:r+"px",visibility:"visible"}),xn(this.backgroundDOM,{marginLeft:-i/2+"px"}),xn(this.arrowDOM,{marginLeft:-s/2+"px",top:a+"px"});var l=r-i/2,d=r+i/2;l<0?xn(this.backgroundDOM,{marginLeft:-i/2-l+"px"}):d>this.parentWidth&&xn(this.backgroundDOM,{marginLeft:-i/2-d+this.parentWidth+12+"px"})},n.prototype.hide=function(){xn(this.container,{top:0,left:0,visibility:"hidden"})},n}(),_p=function(){return(_p=Object.assign||function(n){for(var t,e=1,r=arguments.length;e=Q&&Te<=ve?v:k,je=B.addShape("rect",{attrs:_p({x:a+Te*(F+2),y:a,width:F,height:I},Ee),draggable:!0,name:"tick-rect-"+Te}),Ze=B.addShape("rect",{attrs:{x:a+Te*F+2*(2*Te-1)/2,y:a,width:Te===0||Te===j-1?F+1:F+2,height:I,fill:"#fff",opacity:0},draggable:!0,name:"pick-rect-"+Te});Ze.toFront();var nt,ct=je.getBBox(),st=(ct.minX+ct.maxX)/2;if(U.push({rect:je,pickRect:Ze,value:me.date,x:st,y:ct.minY}),d?(nt=d(me),!Object(p.isString)(nt)&&nt&&(nt=me.date)):Te%Math.round(j/10)==0&&(nt=me.date),nt){H.push(nt);var It=ct.maxY+2*a;B.addShape("line",{attrs:{stroke:"#BFBFBF",x1:st,y1:It,x2:st,y2:It+4}});var gt=It+4+a,Pt=B.addShape("text",{attrs:{fill:"#8c8c8c",stroke:"#fff",lineWidth:1,x:st,y:gt,textAlign:"center",text:nt,textBaseline:"top",fontSize:10,fontFamily:t.fontFamily||"Arial, sans-serif"},capture:!1}),Rt=Pt.getBBox();Rt.maxX>r?Pt.attr("textAlign","right"):Rt.minX<0&&Pt.attr("textAlign","left")}}),this.tickRects=U;var pe=this.group;this.currentSpeed=1,this.controllerBtnGroup=new wp({group:pe,x:this.x,y:this.y+i+5,width:r,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||"Arial, sans-serif"})},n.prototype.initEvent=function(){var t=this,e=this.sliceGroup;e.on("click",function(d){var v=d.target;if(v.get("type")==="rect"&&v.get("name")){var k=parseInt(v.get("name").split("-")[2],10);if(!isNaN(k)){var T=t.tickRects,I=t.unselectedTickStyle;T.forEach(function(B){B.rect.attr(I)});var j=t.selectedTickStyle;T[k].rect.attr(j),t.startTickRectId=k,t.endTickRectId=k;var F=k/T.length;t.graph.emit("valuechange",{value:[F,F]})}}}),e.on("dragstart",function(d){var v=t.tickRects,k=t.unselectedTickStyle;v.forEach(function(B){B.rect.attr(k)});var T=d.target,I=parseInt(T.get("name").split("-")[2],10),j=t.selectedTickStyle;v[I].rect.attr(j),t.startTickRectId=I;var F=I/v.length;t.graph.emit("valuechange",{value:[F,F]}),t.dragging=!0}),e.on("dragover",function(d){if(t.dragging&&d.target.get("type")==="rect"){for(var v=parseInt(d.target.get("name").split("-")[2],10),k=t.startTickRectId,T=t.tickRects,I=t.selectedTickStyle,j=t.unselectedTickStyle,F=0;F=k&&F<=v?I:j;T[F].rect.attr(B)}var U=T.length;t.endTickRectId=v;var H=k/U,Q=v/U;t.graph.emit("valuechange",{value:[H,Q]})}}),e.on("drop",function(d){if(t.dragging&&(t.dragging=!1,d.target.get("type")==="rect")){var v=t.startTickRectId,k=parseInt(d.target.get("name").split("-")[2],10);if(!(k0?this.endTickRectId++:(e[this.endTickRectId].rect.attr(i),this.endTickRectId--),s!==this.startTickRectId)this.endTickRectId"),{position:"relative"}),v.appendChild(e),this.set("timeBarContainer",e),r=i.get("renderer")==="SVG"?new Ao.Canvas({container:e,width:s,height:u}):new Wr.Canvas({container:e,width:s,height:u}),this.set("canvas",r)},t.prototype.init=function(){this.initContainer();var e=this.get("canvas").addGroup({name:"timebar-group"});this.set("timeBarGroup",e),this.renderTrend(),this.initEvent();var r=typeof window!="undefined"&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif";this.set("fontFamily",r)},t.prototype.renderTrend=function(){var e=this._cfgs,r=e.width,i=e.x,a=e.y,s=e.padding,u=e.type,l=e.trend,d=e.slider,v=e.controllerCfg,k=e.textStyle,T=e.tick,I=e.backgroundStyle,j=e.foregroundStyle,F=l.data,B=Zm(l,["data"]),U=r-2*s,H=u==="trend"?26:4,Q=this.get("graph"),ve=this.get("timeBarGroup"),pe=this.get("canvas"),me=null;u==="trend"||u==="simple"?me=new Wm(ra(ra({graph:Q,canvas:pe,group:ve,type:u,x:i+s,y:u==="trend"?a+s:a+s+15,width:U,height:H,padding:s,backgroundStyle:I,foregroundStyle:j,trendCfg:ra(ra({},B),{data:F.map(function(Te){return Te.value})})},d),{tick:{ticks:F,tickLabelFormatter:T.tickLabelFormatter,tickLabelStyle:T.tickLabelStyle,tickLineStyle:T.tickLineStyle},handlerStyle:ra(ra({},d.handlerStyle),{height:d.height||H}),controllerCfg:v,textStyle:k})):u==="tick"&&(me=new qm(ra({graph:Q,canvas:pe,group:ve,x:i+s,y:a+s},T))),this.set("timebar",me)},t.prototype.filterData=function(e){var r,i=e.value,a=null,s=this._cfgs.type;if(s==="trend"||s==="simple"?a=this._cfgs.trend.data:s==="tick"&&(a=this._cfgs.tick.data),a&&a.length!==0){var u=this.get("rangeChange"),l=this.get("graph"),d=Math.round(a.length*i[0]),v=Math.round(a.length*i[1]);v=v>=a.length?a.length-1:v,d=d>=a.length?a.length-1:d;var k=(r=this._cfgs.tick)===null||r===void 0?void 0:r.tickLabelFormatter,T=k?k(a[d]):a[d].date,I=k?k(a[v]):a[v].date;if(s!=="tick"&&this.get("timebar").setText(T,I),u)u(l,T,I);else{(!this.cacheGraphData||this.cacheGraphData.nodes&&this.cacheGraphData.nodes.length===0)&&(this.cacheGraphData=l.get("data"));var j=this.cacheGraphData.nodes.filter(function(U){return U.date>=a[d].date&&U.date<=a[v].date}),F=j.map(function(U){return U.id}),B=[];this.cacheGraphData.edges&&(B=this.cacheGraphData.edges.filter(function(U){return F.includes(U.source)&&F.includes(U.target)}),this.get("filterEdge")&&(B=B.filter(function(U){return U.date>=a[d].date&&U.date<=a[v].date}))),l.changeData({nodes:j,edges:B})}}else console.warn("\u8BF7\u914D\u7F6E TimeBar \u7EC4\u4EF6\u7684\u6570\u636E")},t.prototype.initEvent=function(){var e=this,r=0,i=0,a=this._cfgs.type;a&&a!=="trend"&&a!=="simple"?a==="tick"&&(r=this._cfgs.tick.start,i=this._cfgs.tick.end):(r=this._cfgs.slider.start,i=this._cfgs.slider.end);var s=this.get("graph");s.on("afterrender",function(u){e.filterData({value:[r,i]})}),s.on("valuechange",Object(p.throttle)(function(u){e.filterData(u)},200,{trailing:!0,leading:!0}))},t.prototype.destroy=function(){var e=this.get("timebar");e&&e.destory&&e.destory(),n.prototype.destroy.call(this);var r=this.get("timeBarContainer");if(r){var i=this.get("container");i||(i=this.get("graph").get("container")),Object(p.isString)(i)&&(i=document.getElementById(i)),i.removeChild(r)}},t}(lo),Qm=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Jm=mr.applyMatrix,eb=function(n){function t(e){return n.call(this,e)||this}return Qm(t,n),t.prototype.getDefaultCfgs=function(){return{container:null,className:"g6-minimap",viewportClassName:"g6-minimap-viewport",width:200,delegateStyle:{fill:"#40a9ff",stroke:"#096dd9"},refresh:!0}},t.prototype.getEvents=function(){return{beforepaint:"updateViewport",beforeanimate:"disableRefresh",afteranimate:"enableRefresh",viewportchange:"disableOneRefresh"}},t.prototype.disableRefresh=function(){this.set("refresh",!1)},t.prototype.enableRefresh=function(){this.set("refresh",!0),this.updateCanvas()},t.prototype.disableOneRefresh=function(){this.set("viewportChange",!0)},t.prototype.initViewport=function(){var e=this,r=this._cfgs,i=r.graph;if(!this.destroyed){var a=this.get("container");Object(p.isString)(a)&&(a=document.getElementById(a));var s=ei("
    "),i=e.get("container");i||(i=e.get("graph").get("container")),Object(p.isString)(i)&&(i=document.getElementById(i)),xn(r,{position:"absolute",visibility:"hidden",display:"none"}),i.appendChild(r),e.get("trigger")!=="click"&&(r.addEventListener("mouseenter",function(a){xn(r,{visibility:"visible",display:"unset"})}),r.addEventListener("mouseleave",function(a){e.hideTooltip()})),e.set("tooltip",r)},t.prototype.onClick=function(e){var r=this.get("itemTypes");if(!e.item||!e.item.getType||r.indexOf(e.item.getType())!==-1){var i=e.item,a=this.get("graph");this.currentTarget===i?(this.currentTarget=null,this.hideTooltip(),a.emit("tooltipchange",{item:e.item,action:"hide"})):(this.currentTarget=i,this.showTooltip(e),a.emit("tooltipchange",{item:e.item,action:"show"}))}},t.prototype.onMouseEnter=function(e){var r=this.get("itemTypes");if(!e.item||!e.item.getType||r.indexOf(e.item.getType())!==-1){var i=e.item,a=this.get("graph");this.currentTarget=i,this.showTooltip(e),a.emit("tooltipchange",{item:e.item,action:"show"})}},t.prototype.onMouseMove=function(e){var r=this.get("itemTypes");e.item&&e.item.getType&&r.indexOf(e.item.getType())===-1||this.currentTarget&&e.item===this.currentTarget&&this.showTooltip(e)},t.prototype.onMouseLeave=function(){this.hideTooltip(),this.get("graph").emit("tooltipchange",{item:this.currentTarget,action:"hide"}),this.currentTarget=null},t.prototype.showTooltip=function(e){if(e.item){var r=this.get("itemTypes");if(!e.item.getType||r.indexOf(e.item.getType())!==-1){var i=this.get("tooltip"),a=this.get("getContent")(e);Object(p.isString)(a)?i.innerHTML=a:i.innerHTML=a.outerHTML,this.updatePosition(e)}}},t.prototype.hideTooltip=function(){var e=this.get("tooltip");e&&xn(e,{visibility:"hidden",display:"none"})},t.prototype.updatePosition=function(e){var r=this.get("shouldBegin"),i=this.get("tooltip");if(r(e)){var a=this.get("graph"),s=a.get("width"),u=a.get("height"),l=this.get("offsetX")||0,d=this.get("offsetY")||0,v=a.getPointByClient(e.clientX,e.clientY),k=this.get("fixToNode"),T=e.item;if(T.getType&&T.getType()==="node"&&k&&Object(p.isArray)(k)&&k.length>=2){var I=T.getBBox();v={x:I.minX+I.width*k[0],y:I.minY+I.height*k[1]}}var j=a.getCanvasByPoint(v.x,v.y),F=j.x,G=j.y,V=a.getContainer(),q={x:F+V.offsetLeft+l,y:G+V.offsetTop+d};xn(i,{visibility:"visible",display:"unset"});var $=i.getBoundingClientRect();F+$.width+l>s&&(q.x-=$.width+l),G+$.height+d>u&&(q.y-=$.height+d),xn(i,{left:q.x+"px",top:q.y+"px"})}else xn(i,{visibility:"hidden",display:"none"})},t.prototype.hide=function(){this.onMouseLeave()},t.prototype.destroy=function(){var e=this.get("tooltip");if(e){var r=this.get("container");r||(r=this.get("graph").get("container")),Object(p.isString)(r)&&(r=document.getElementById(r)),r.removeChild(e)}},t}(lo),Fd={};function Ro(n,t){Fd[n]=t}var tc=function(){function n(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return n.prototype.translate=function(t){return t},n.prototype.change=function(t){Object(p.assign)(this.__cfg__,t),this.init()},n.prototype.clone=function(){return this.constructor(this.__cfg__)},n.prototype.getTicks=function(){var t=this;return Object(p.map)(this.ticks,function(e,r){return Object(p.isObject)(e)?e:{text:t.getText(e,r),tickValue:e,value:t.scale(e)}})},n.prototype.getText=function(t,e){var r=this.formatter,i=r?r(t,e):t;return Object(p.isNil)(i)||!Object(p.isFunction)(i.toString)?"":i.toString()},n.prototype.getConfig=function(t){return this.__cfg__[t]},n.prototype.init=function(){Object(p.assign)(this,this.__cfg__),this.setDomain(),Object(p.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},n.prototype.initCfg=function(){},n.prototype.setDomain=function(){},n.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(p.isString)(t)){var r=Fd[t];if(!r)throw new Error("There is no method to to calculate ticks!");e=r(this)}else Object(p.isFunction)(t)&&(e=t(this));return e},n.prototype.rangeMin=function(){return this.range[0]},n.prototype.rangeMax=function(){return this.range[1]},n.prototype.calcPercent=function(t,e,r){return Object(p.isNumber)(t)?(t-e)/(r-e):NaN},n.prototype.calcValue=function(t,e,r){return e+t*(r-e)},n}(),os=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return Object(m.__extends)(t,n),t.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var e=0;ethis.max?NaN:this.values[a]},t.prototype.getText=function(e){for(var r=[],i=1;i1?e-1:e}this.translateIndexMap&&(this.translateIndexMap=void 0)},t}(tc),zd=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,as="[^\\s]+",Ud=/\[([^]*?)\]/gm;function Vd(n,t){for(var e=[],r=0,i=n.length;r-1?r:null}};function Jo(n){for(var t=[],e=1;e3?0:(n-n%10!=10?1:0)*n%10]}},Ys=Jo({},rc),Hd=function(n){return Ys=Jo(Ys,n)},qd=function(n){return n.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},ro=function(n,t){for(t===void 0&&(t=2),n=String(n);n.length0?"-":"+")+ro(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(n){var t=n.getTimezoneOffset();return(t>0?"-":"+")+ro(Math.floor(Math.abs(t)/60),2)+":"+ro(Math.abs(t)%60,2)}},Kd=function(n){return+n-1},Zd=[null,"[1-9]\\d?"],$d=[null,as],Qd=["isPm",as,function(n,t){var e=n.toLowerCase();return e===t.amPm[0]?0:e===t.amPm[1]?1:null}],Jd=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(n){var t=(n+"").match(/([+-]|\d\d)/gi);if(t){var e=60*+t[1]+parseInt(t[2],10);return t[0]==="+"?e:-e}return 0}],rm={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+as,function(n){return parseInt(n,10)}],M:["month","[1-9]\\d?",Kd],MM:["month","\\d\\d",Kd],YY:["year","\\d\\d",function(n){var t=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+n>68?t-1:t)+n)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(n){return 100*+n}],SS:["millisecond","\\d\\d",function(n){return 10*+n}],SSS:["millisecond","\\d{3}"],d:Zd,dd:Zd,ddd:$d,dddd:$d,MMM:["month",as,Wd("monthNamesShort")],MMMM:["month",as,Wd("monthNames")],a:Qd,A:Qd,ZZ:Jd,Z:Jd},Hs={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},ep=function(n){return Jo(Hs,n)},tp=function(n,t,e){if(t===void 0&&(t=Hs.default),e===void 0&&(e={}),typeof n=="number"&&(n=new Date(n)),Object.prototype.toString.call(n)!=="[object Date]"||isNaN(n.getTime()))throw new Error("Invalid Date pass to format");var r=[];t=(t=Hs[t]||t).replace(Ud,function(a,s){return r.push(s),"@@@"});var i=Jo(Jo({},Ys),e);return(t=t.replace(zd,function(a){return tm[a](n,i)})).replace(/@@@/g,function(){return r.shift()})};function rp(n,t,e){if(e===void 0&&(e={}),typeof t!="string")throw new Error("Invalid format in fecha parse");if(t=Hs[t]||t,n.length>1e3)return null;var r={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],a=[],s=t.replace(Ud,function($,ve){return a.push(qd(ve)),"@@@"}),u={},l={};s=qd(s).replace(zd,function($){var ve=rm[$],de=ve[0],me=ve[1],Ie=ve[3];if(u[de])throw new Error("Invalid format. "+de+" specified twice in format");return u[de]=!0,Ie&&(l[Ie]=!0),i.push(ve),"("+me+")"}),Object.keys(l).forEach(function($){if(!u[$])throw new Error("Invalid format. "+$+" is required in specified format")}),s=s.replace(/@@@/g,function(){return a.shift()});var d=n.match(new RegExp(s,"i"));if(!d)return null;for(var v=Jo(Jo({},Ys),e),k=1;k0?new Date(n).getTime():new Date(n.replace(/-/gi,"/")).getTime()),Object(p.isDate)(n)&&(n=n.getTime()),n}var ha=36e5,ea=24*ha,ss=31*ea,us=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",ha],["HH",6*ha],["HH",12*ha],["YYYY-MM-DD",ea],["YYYY-MM-DD",4*ea],["YYYY-WW",7*ea],["YYYY-MM",ss],["YYYY-MM",4*ss],["YYYY-MM",6*ss],["YYYY",380*ea]];function nm(n,t,e){var r,i=(r=function(s){return s[1]},function(s,u,l,d){for(var v=Object(p.isNil)(l)?0:l,k=Object(p.isNil)(d)?s.length:d;v>>1;r(s[T])>u?k=T:v=T+1}return v})(us,(t-n)/e)-1,a=us[i];return i<0?a=us[0]:i>=us.length&&(a=Object(p.last)(us)),a}var im=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="timeCat",e}return Object(m.__extends)(t,n),t.prototype.translate=function(e){e=qs(e);var r=this.values.indexOf(e);return r===-1&&(r=Object(p.isNumber)(e)&&e-1){var a=this.values[i],s=this.formatter;return a=s?s(a,r):ip(a,this.mask)}return e},t.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},t.prototype.setDomain=function(){var e=this.values;Object(p.each)(e,function(r,i){e[i]=qs(r)}),e.sort(function(r,i){return r-i}),n.prototype.setDomain.call(this)},t}(os),Ks=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(m.__extends)(t,n),t.prototype.scale=function(e){if(Object(p.isNil)(e))return NaN;var r=this.rangeMin(),i=this.rangeMax();return this.max===this.min?r:r+this.getScalePercent(e)*(i-r)},t.prototype.init=function(){n.prototype.init.call(this);var e=this.ticks,r=Object(p.head)(e),i=Object(p.last)(e);rthis.max&&(this.max=i),Object(p.isNil)(this.minLimit)||(this.min=r),Object(p.isNil)(this.maxLimit)||(this.max=i)},t.prototype.setDomain=function(){var e=Object(p.getRange)(this.values),r=e.min,i=e.max;Object(p.isNil)(this.min)&&(this.min=r),Object(p.isNil)(this.max)&&(this.max=i),this.min>this.max&&(this.min=r,this.max=i)},t.prototype.calculateTicks=function(){var e=this,r=n.prototype.calculateTicks.call(this);return this.nice||(r=Object(p.filter)(r,function(i){return i>=e.min&&i<=e.max})),r},t.prototype.getScalePercent=function(e){var r=this.max,i=this.min;return(e-i)/(r-i)},t.prototype.getInvertPercent=function(e){return(e-this.rangeMin())/(this.rangeMax()-this.rangeMin())},t}(tc),cs=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return Object(m.__extends)(t,n),t.prototype.invert=function(e){var r=this.getInvertPercent(e);return this.min+r*(this.max-this.min)},t.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},t}(Ks);function ta(n,t){var e=Math.E;return t>=0?Math.pow(e,Math.log(t)/n):-1*Math.pow(e,Math.log(-t)/n)}function po(n,t){return n===1?1:Math.log(t)/Math.log(n)}function op(n,t,e){Object(p.isNil)(e)&&(e=Math.max.apply(null,n));var r=e;return Object(p.each)(n,function(i){i>0&&i1&&(r=1),r}var om=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="log",e}return Object(m.__extends)(t,n),t.prototype.invert=function(e){var r,i=this.base,a=po(i,this.max),s=this.rangeMin(),u=this.rangeMax()-s,l=this.positiveMin;if(l){if(e===0)return 0;var d=1/(a-(r=po(i,l/i)))*u;if(e=0?1:-1;return Math.pow(u,i)*l},t.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},t.prototype.getScalePercent=function(e){var r=this.max,i=this.min;if(r===i)return 0;var a=this.exponent;return(ta(a,e)-ta(a,i))/(ta(a,r)-ta(a,i))},t}(Ks),sm=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="time",e}return Object(m.__extends)(t,n),t.prototype.getText=function(e,r){var i=this.translate(e),a=this.formatter;return a?a(i,r):ip(i,this.mask)},t.prototype.scale=function(e){var r=e;return(Object(p.isString)(r)||Object(p.isDate)(r))&&(r=this.translate(r)),n.prototype.scale.call(this,r)},t.prototype.translate=function(e){return qs(e)},t.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},t.prototype.setDomain=function(){var e=this.values,r=this.getConfig("min"),i=this.getConfig("max");if(Object(p.isNil)(r)&&Object(p.isNumber)(r)||(this.min=this.translate(this.min)),Object(p.isNil)(i)&&Object(p.isNumber)(i)||(this.max=this.translate(this.max)),e&&e.length){var a=[],s=1/0,u=s,l=0;Object(p.each)(e,function(d){var v=qs(d);if(isNaN(v))throw new TypeError("Invalid Time: "+d+" in time scale!");s>v?(u=s,s=v):u>v&&(u=v),l1&&(this.minTickInterval=u-s),Object(p.isNil)(r)&&(this.min=s),Object(p.isNil)(i)&&(this.max=l)}},t}(cs),ap=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="quantize",e}return Object(m.__extends)(t,n),t.prototype.invert=function(e){var r=this.ticks,i=r.length,a=this.getInvertPercent(e),s=Math.floor(a*(i-1));if(s>=i-1)return Object(p.last)(r);if(s<0)return Object(p.head)(r);var u=r[s],l=s/(i-1);return u+(a-l)/((s+1)/(i-1)-l)*(r[s+1]-u)},t.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},t.prototype.calculateTicks=function(){var e=n.prototype.calculateTicks.call(this);return this.nice||(Object(p.last)(e)!==this.max&&e.push(this.max),Object(p.head)(e)!==this.min&&e.unshift(this.min)),e},t.prototype.getScalePercent=function(e){var r=this.ticks;if(eObject(p.last)(r))return 1;var i=0;return Object(p.each)(r,function(a,s){if(!(e>=a))return!1;i=s}),i/(r.length-1)},t}(Ks),um=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="quantile",e}return Object(m.__extends)(t,n),t.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},t}(ap),sp={};function Lo(n,t){if(function(e){return sp[e]}(n))throw new Error("type '"+n+"' existed.");sp[n]=t}var cm=function(n){function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return Object(m.__extends)(t,n),t.prototype.calculateTicks=function(){return this.values},t.prototype.scale=function(e){return this.values[0]!==e&&Object(p.isNumber)(e)?e:this.range[0]},t.prototype.invert=function(e){var r=this.range;return er[1]?NaN:this.values[0]},t}(tc),lm=[1,5,2,2.5,4,3],up=100*Number.EPSILON;function fm(n,t,e,r,i,a){var s=Object(p.size)(t),u=Object(p.indexOf)(t,n),l=0,d=function(v,k){return(v%k+k)%k}(r,a);return(d=0&&(l=1),1-u/(s-1)-e+l}function hm(n,t,e){var r=Object(p.size)(t);return 1-Object(p.indexOf)(t,n)/(r-1)-e+1}function dm(n,t,e,r,i,a){var s=(n-1)/(a-i),u=(t-1)/(Math.max(a,r)-Math.min(e,i));return 2-Math.max(s/u,u/s)}function pm(n,t){return n>=t?2-(n-1)/(t-1):1}function gm(n,t,e,r){var i=t-n;return 1-.5*(Math.pow(t-r,2)+Math.pow(n-e,2))/Math.pow(.1*i,2)}function vm(n,t,e){var r=t-n;if(e>r){var i=(e-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function cp(n,t,e,r,i,a){if(e===void 0&&(e=5),r===void 0&&(r=!0),i===void 0&&(i=lm),a===void 0&&(a=[.25,.2,.5,.05]),Number.isNaN(n)||Number.isNaN(t)||typeof n!="number"||typeof t!="number"||!e)return{min:0,max:0,ticks:[]};if(t-n<1e-15||e===1)return{min:n,max:t,ticks:[n]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},u=1;u<1/0;){for(var l=0;ls.score&&(!r||de<=n&&me>=t)&&(s.lmin=de,s.lmax=me,s.lstep=Ie,s.score=it)}j+=1}k+=1}}u+=1}var ct,st=s.lmax,jt=s.lmin,gt=s.lstep,Pt=Math.floor((st-jt)/gt)+1,Rt=new Array(Pt);for(l=0;l=a&&l<=s}).map(function(l){return t[l]})}return t.slice(a,s+1)}var fp=Math.sqrt(50),hp=Math.sqrt(10),dp=Math.sqrt(2),ym=function(){function n(){this._domain=[0,1]}return n.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},n.prototype.nice=function(t){var e,r;t===void 0&&(t=5);var i,a=this._domain.slice(),s=0,u=this._domain.length-1,l=this._domain[s],d=this._domain[u];return d0?i=Zs(l=Math.floor(l/i)*i,d=Math.ceil(d/i)*i,t):i<0&&(i=Zs(l=Math.ceil(l*i)/i,d=Math.floor(d*i)/i,t)),i>0?(a[s]=Math.floor(l/i)*i,a[u]=Math.ceil(d/i)*i,this.domain(a)):i<0&&(a[s]=Math.ceil(l*i)/i,a[u]=Math.floor(d*i)/i,this.domain(a)),this},n.prototype.ticks=function(t){return t===void 0&&(t=5),function(e,r,i){var a,s,u,l,d=-1;if(i=+i,(e=+e)==(r=+r)&&i>0)return[e];if((a=r0)for(e=Math.ceil(e/l),r=Math.floor(r/l),u=new Array(s=Math.ceil(r-e+1));++d=0?(a>=fp?10:a>=hp?5:a>=dp?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=fp?10:a>=hp?5:a>=dp?2:1)}function pp(n,t,e){return(e==="ceil"?Math.ceil(n/t):e==="floor"?Math.floor(n/t):Math.round(n/t))*t}function nc(n,t,e){var r=pp(n,e,"floor"),i=pp(t,e,"ceil");r=Object(p.fixedBase)(r,e),i=Object(p.fixedBase)(i,e);for(var a=[],s=r;s<=i;s+=e){var u=Object(p.fixedBase)(s,e);a.push(u)}return{min:r,max:i,ticks:a}}function ic(n,t,e){var r,i=n.minLimit,a=n.maxLimit,s=n.min,u=n.max,l=n.tickCount,d=l===void 0?5:l,v=Object(p.isNil)(i)?Object(p.isNil)(t)?s:t:i,k=Object(p.isNil)(a)?Object(p.isNil)(e)?u:e:a;if(v>k&&(k=(r=[v,k])[0],v=r[1]),d<=2)return[v,k];for(var T=(k-v)/(d-1),I=[],j=0;j1&&(i*=Math.ceil(s)),r&&i31536e6)for(var l=$s(e),d=Math.ceil(a/31536e6),v=u;v<=l+d;v+=d)s.push(xm(v));else if(a>ss){var k=Math.ceil(a/ss),T=oc(t),I=function(st,jt){var gt=$s(st),Pt=$s(jt),Rt=oc(st);return 12*(Pt-gt)+(oc(jt)-Rt)%12}(t,e);for(v=0;v<=I+k;v+=k)s.push(wm(u,v+T))}else if(a>ea){var j=($=new Date(t)).getFullYear(),F=$.getMonth(),G=$.getDate(),V=Math.ceil(a/ea),q=function(st,jt){return Math.ceil((jt-st)/ea)}(t,e);for(v=0;vha){j=($=new Date(t)).getFullYear(),F=$.getMonth(),V=$.getDate();var $,ve=$.getHours(),de=Math.ceil(a/ha),me=function(st,jt){return Math.ceil((jt-st)/ha)}(t,e);for(v=0;v<=me+de;v+=de)s.push(new Date(j,F,V,ve+v).getTime())}else if(a>6e4){var Ie=function(st,jt){return Math.ceil((jt-st)/6e4)}(t,e),Ee=Math.ceil(a/6e4);for(v=0;v<=Ie+Ee;v+=Ee)s.push(t+6e4*v)}else{var Pe=a;Pe<1e3&&(Pe=1e3);var Ze=1e3*Math.floor(t/1e3),it=Math.ceil((e-t)/1e3),ct=Math.ceil(Pe/1e3);for(v=0;v=512&&console.warn("Notice: current ticks length("+s.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),s}),Ro("log",function(n){var t,e=n.base,r=n.tickCount,i=n.min,a=n.max,s=n.values,u=po(e,a);if(i>0)t=Math.floor(po(e,i));else{var l=op(s,e,a);t=Math.floor(po(e,l))}for(var d=u-t,v=Math.ceil(d/r),k=[],T=t;T=0?1:-1;return Math.pow(i,t)*a})}),Ro("quantile",function(n){var t=n.tickCount,e=n.values;if(!e||!e.length)return[];for(var r=e.slice().sort(function(u,l){return u-l}),i=[],a=0;av&&(s=v,a=d)})}a=e.originalEvent.deltaY>0?Math.max(0,a-1):Math.min(t.speedAxisY.length-1,a+1);var u=t.speedAxisY[a]-i;r=fs(r,[["t",0,u]]),t.speedPoint.setMatrix(r),t.currentSpeed=t.speedAxisY.length-a,t.speedText.attr("text",t.currentSpeed+".0X"),t.group.emit("timebarConfigChanged",{speed:t.currentSpeed,type:t.currentType})}),this.toggleGroup&&this.toggleGroup.on("toggle-model:click",function(e){var r,i,a=e.target.get("isChecked");a?(t.checkedIcon.hide(),t.checkedText.attr("text",((i=t.controllerCfg)===null||i===void 0?void 0:i.timePointControllerText)||"\u5355\u4E00\u65F6\u95F4"),t.currentType="range"):(t.checkedIcon.show(),t.checkedText.attr("text",((r=t.controllerCfg)===null||r===void 0?void 0:r.timeRangeControllerText)||"\u65F6\u95F4\u8303\u56F4"),t.currentType="single"),e.target.set("isChecked",!a),t.group.emit("timebarConfigChanged",{type:t.currentType,speed:t.currentSpeed})})},n.prototype.destroy=function(){this.speedGroup.off("speed-rect:click"),this.toggleGroup&&(this.toggleGroup.off("toggle-model:click"),this.toggleGroup.destroy()),this.speedGroup.destroy()},n}(),Ln=function(){return(Ln=Object.assign||function(n){for(var t,e=1,r=arguments.length;ej?(q.show(),$.show(),j=ve.minX+ve.width+10):(q.hide(),$.hide()),q}),this.controllerBtnGroup=new wp(Ln({group:this.group,x:this.x,y:this.y+r+25,width:e,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),s.move(this.x,this.y),this.bindEvents()},n.prototype.bindEvents=function(){var t=this,e=this.group.find(function(i){return i.get("name")==="minHandlerShape"});e&&(e.on("minHandlerShape-handler:mousedown",this.onMouseDown(this.minHandlerShape)),e.on("minHandlerShape-handler:touchstart",this.onMouseDown(this.minHandlerShape)));var r=this.group.find(function(i){return i.get("name")==="maxHandlerShape"});r&&(r.on("maxHandlerShape-handler:mousedown",this.onMouseDown(this.maxHandlerShape)),r.on("maxHandlerShape-handler:touchstart",this.onMouseDown(this.maxHandlerShape))),this.foregroundShape.on("mousedown",this.onMouseDown(this.foregroundShape)),this.foregroundShape.on("touchstart",this.onMouseDown(this.foregroundShape)),this.group.on("playPauseBtn:click",function(){t.isPlay=!t.isPlay,t.currentHandler=t.maxHandlerShape,t.changePlayStatus()}),this.group.on("nextStepBtn:click",function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(.01),t.updateUI()}),this.group.on("preStepBtn:click",function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(-.01),t.updateUI()}),this.group.on("timebarConfigChanged",function(i){var a=i.type,s=i.speed;t.currentSpeed=s,t.currentMode=a,a==="single"?(t.minHandlerShape.hide(),t.foregroundShape.hide(),t.minTextShape.hide()):a==="range"&&(t.minHandlerShape.show(),t.foregroundShape.show(),t.minTextShape.show())})},n.prototype.adjustTickIndex=function(t){for(var e=0;e1&&(this.end=1);var e=this.x+this.start*this.width,r=this.x+this.end*this.width;this.foregroundShape.attr("x",e),this.foregroundShape.attr("width",r-e);var i=Object(p.get)(this.handlerStyle,"width",2);this.setText(this.minText,this.maxText);var a=this.dodgeText([e,r]),s=a[0],u=a[1];this.minHandlerShape.setX(e-i/2),Object(p.each)(s,function(l,d){return t.minTextShape.attr(d,l)}),this.maxHandlerShape.setX(r-i/2),Object(p.each)(u,function(l,d){return t.maxTextShape.attr(d,l)}),this.currentMode==="range"?this.graph.emit("valuechange",{value:[this.start,this.end].sort()}):this.currentMode==="single"&&this.graph.emit("valuechange",{value:[this.end,this.end]})},n.prototype.dodgeText=function(t){var e,r,i=Object(p.get)(this.handlerStyle,"width",2),a=this.minTextShape,s=this.maxTextShape,u=t[0],l=t[1],d=!1;u>l&&(u=(e=[l,u])[0],l=e[1],a=(r=[s,a])[0],s=r[1],d=!0);var v=a.getBBox(),k=s.getBBox(),T=null,I=null;return this.timeBarType==="trend"?(T=u-v.widththis.x+this.width?{x:l-i/2-2,textAlign:"right"}:{x:l+i/2+2,textAlign:"left"}):this.timeBarType==="simple"&&(T=v.width>u-2?{x:u+i/2+2,textAlign:"center"}:{x:u-i/2-2,textAlign:"center"},I=k.width>this.width-l-2?{x:l-i/2-2,textAlign:"center"}:{x:l+i/2+2,textAlign:"center"}),d?[I,T]:[T,I]},n.prototype.startPlay=function(){var t=this;return typeof window!="undefined"?window.requestAnimationFrame(function(){var e=t,r=e.ticks,i=e.width,a=t.currentSpeed,s=i/r.length/(1e3*(10-a)/60),u=t.adjustOffsetRange(s/t.width);t.updateStartEnd(u),t.updateUI(),t.isPlay&&(t.playHandler=t.startPlay())}):void 0},n.prototype.changePlayStatus=function(t){t===void 0&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit("timebarstartplay",null)):this.playHandler&&(typeof window!="undefined"&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit("timebarendplay",null))},n.prototype.destory=function(){this.graph.off("valuechange");var t=this.group,e=t.find(function(i){return i.get("name")==="minHandlerShape"});e&&(e.off("minHandlerShape-handler:mousedown"),e.off("minHandlerShape-handler:touchstart"),e.destroy());var r=t.find(function(i){return i.get("name")==="maxHandlerShape"});r&&(r.off("maxHandlerShape-handler:mousedown"),r.off("maxHandlerShape-handler:touchstart"),r.destroy()),this.foregroundShape.off("mousedown"),this.foregroundShape.off("touchstart"),this.foregroundShape.destroy(),t.off("playPauseBtn:click"),t.off("nextStepBtn:click"),t.off("preStepBtn:click"),t.off("timebarConfigChanged"),t.destroy(),this.trendComponent&&this.trendComponent.destory()},n}(),Xm=function(){function n(t){var e=t.x,r=e===void 0?0:e,i=t.y,a=i===void 0?0:i,s=t.container,u=t.text,l=t.padding,d=l===void 0?[4,4,4,4]:l,v=t.className,k=v===void 0?"g6-component-timebar-tooltip":v,T=t.backgroundColor,I=T===void 0?"#000":T,j=t.textColor,F=j===void 0?"#fff":j,G=t.opacity,V=G===void 0?.8:G,q=t.fontSize,$=q===void 0?12:q;this.container=s,this.className=k,this.backgroundColor=I,this.textColor=F,this.x=r,this.y=a,this.text=u,this.padding=d,this.opacity=V,this.fontSize=$,this.render()}return n.prototype.render=function(){var t=this.className,e=(this.x,this.y,this.backgroundColor),r=this.textColor,i=this.text,a=this.padding,s=this.opacity,u=this.fontSize,l=this.container,d=ei("
    ');Object(p.isString)(l)&&(l=document.getElementById(l)),l.appendChild(d),this.parentHeight=l.offsetHeight,this.parentWidth=l.offsetWidth,xn(d,{visibility:"hidden",top:0,left:0});var v=ei(` +
    ");v.innerHTML=i,d.appendChild(v),this.backgroundDOM=v;var k=ei("
    ");d.appendChild(k),this.arrowDOM=k,this.container=d},n.prototype.show=function(t){var e=t.text,r=t.x;t.y,t.clientX,t.clientY,this.backgroundDOM.innerHTML=e;var i=this.backgroundDOM.offsetWidth,a=this.backgroundDOM.offsetHeight,s=this.arrowDOM.offsetWidth,u=this.arrowDOM.offsetHeight;xn(this.container,{top:-a-u+"px",left:r+"px",visibility:"visible"}),xn(this.backgroundDOM,{marginLeft:-i/2+"px"}),xn(this.arrowDOM,{marginLeft:-s/2+"px",top:a+"px"});var l=r-i/2,d=r+i/2;l<0?xn(this.backgroundDOM,{marginLeft:-i/2-l+"px"}):d>this.parentWidth&&xn(this.backgroundDOM,{marginLeft:-i/2-d+this.parentWidth+12+"px"})},n.prototype.hide=function(){xn(this.container,{top:0,left:0,visibility:"hidden"})},n}(),_p=function(){return(_p=Object.assign||function(n){for(var t,e=1,r=arguments.length;e=$&&Ie<=ve?v:k,Pe=G.addShape("rect",{attrs:_p({x:a+Ie*(F+2),y:a,width:F,height:I},Ee),draggable:!0,name:"tick-rect-"+Ie}),Ze=G.addShape("rect",{attrs:{x:a+Ie*F+2*(2*Ie-1)/2,y:a,width:Ie===0||Ie===j-1?F+1:F+2,height:I,fill:"#fff",opacity:0},draggable:!0,name:"pick-rect-"+Ie});Ze.toFront();var it,ct=Pe.getBBox(),st=(ct.minX+ct.maxX)/2;if(V.push({rect:Pe,pickRect:Ze,value:me.date,x:st,y:ct.minY}),d?(it=d(me),!Object(p.isString)(it)&&it&&(it=me.date)):Ie%Math.round(j/10)==0&&(it=me.date),it){q.push(it);var jt=ct.maxY+2*a;G.addShape("line",{attrs:{stroke:"#BFBFBF",x1:st,y1:jt,x2:st,y2:jt+4}});var gt=jt+4+a,Pt=G.addShape("text",{attrs:{fill:"#8c8c8c",stroke:"#fff",lineWidth:1,x:st,y:gt,textAlign:"center",text:it,textBaseline:"top",fontSize:10,fontFamily:t.fontFamily||"Arial, sans-serif"},capture:!1}),Rt=Pt.getBBox();Rt.maxX>r?Pt.attr("textAlign","right"):Rt.minX<0&&Pt.attr("textAlign","left")}}),this.tickRects=V;var de=this.group;this.currentSpeed=1,this.controllerBtnGroup=new wp({group:de,x:this.x,y:this.y+i+5,width:r,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||"Arial, sans-serif"})},n.prototype.initEvent=function(){var t=this,e=this.sliceGroup;e.on("click",function(d){var v=d.target;if(v.get("type")==="rect"&&v.get("name")){var k=parseInt(v.get("name").split("-")[2],10);if(!isNaN(k)){var T=t.tickRects,I=t.unselectedTickStyle;T.forEach(function(G){G.rect.attr(I)});var j=t.selectedTickStyle;T[k].rect.attr(j),t.startTickRectId=k,t.endTickRectId=k;var F=k/T.length;t.graph.emit("valuechange",{value:[F,F]})}}}),e.on("dragstart",function(d){var v=t.tickRects,k=t.unselectedTickStyle;v.forEach(function(G){G.rect.attr(k)});var T=d.target,I=parseInt(T.get("name").split("-")[2],10),j=t.selectedTickStyle;v[I].rect.attr(j),t.startTickRectId=I;var F=I/v.length;t.graph.emit("valuechange",{value:[F,F]}),t.dragging=!0}),e.on("dragover",function(d){if(t.dragging&&d.target.get("type")==="rect"){for(var v=parseInt(d.target.get("name").split("-")[2],10),k=t.startTickRectId,T=t.tickRects,I=t.selectedTickStyle,j=t.unselectedTickStyle,F=0;F=k&&F<=v?I:j;T[F].rect.attr(G)}var V=T.length;t.endTickRectId=v;var q=k/V,$=v/V;t.graph.emit("valuechange",{value:[q,$]})}}),e.on("drop",function(d){if(t.dragging&&(t.dragging=!1,d.target.get("type")==="rect")){var v=t.startTickRectId,k=parseInt(d.target.get("name").split("-")[2],10);if(!(k0?this.endTickRectId++:(e[this.endTickRectId].rect.attr(i),this.endTickRectId--),s!==this.startTickRectId)this.endTickRectId"),{position:"relative"}),v.appendChild(e),this.set("timeBarContainer",e),r=i.get("renderer")==="SVG"?new Ao.Canvas({container:e,width:s,height:u}):new Xr.Canvas({container:e,width:s,height:u}),this.set("canvas",r)},t.prototype.init=function(){this.initContainer();var e=this.get("canvas").addGroup({name:"timebar-group"});this.set("timeBarGroup",e),this.renderTrend(),this.initEvent();var r=typeof window!="undefined"&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif";this.set("fontFamily",r)},t.prototype.renderTrend=function(){var e=this._cfgs,r=e.width,i=e.x,a=e.y,s=e.padding,u=e.type,l=e.trend,d=e.slider,v=e.controllerCfg,k=e.textStyle,T=e.tick,I=e.backgroundStyle,j=e.foregroundStyle,F=l.data,G=Zm(l,["data"]),V=r-2*s,q=u==="trend"?26:4,$=this.get("graph"),ve=this.get("timeBarGroup"),de=this.get("canvas"),me=null;u==="trend"||u==="simple"?me=new Wm(ra(ra({graph:$,canvas:de,group:ve,type:u,x:i+s,y:u==="trend"?a+s:a+s+15,width:V,height:q,padding:s,backgroundStyle:I,foregroundStyle:j,trendCfg:ra(ra({},G),{data:F.map(function(Ie){return Ie.value})})},d),{tick:{ticks:F,tickLabelFormatter:T.tickLabelFormatter,tickLabelStyle:T.tickLabelStyle,tickLineStyle:T.tickLineStyle},handlerStyle:ra(ra({},d.handlerStyle),{height:d.height||q}),controllerCfg:v,textStyle:k})):u==="tick"&&(me=new qm(ra({graph:$,canvas:de,group:ve,x:i+s,y:a+s},T))),this.set("timebar",me)},t.prototype.filterData=function(e){var r,i=e.value,a=null,s=this._cfgs.type;if(s==="trend"||s==="simple"?a=this._cfgs.trend.data:s==="tick"&&(a=this._cfgs.tick.data),a&&a.length!==0){var u=this.get("rangeChange"),l=this.get("graph"),d=Math.round(a.length*i[0]),v=Math.round(a.length*i[1]);v=v>=a.length?a.length-1:v,d=d>=a.length?a.length-1:d;var k=(r=this._cfgs.tick)===null||r===void 0?void 0:r.tickLabelFormatter,T=k?k(a[d]):a[d].date,I=k?k(a[v]):a[v].date;if(s!=="tick"&&this.get("timebar").setText(T,I),u)u(l,T,I);else{(!this.cacheGraphData||this.cacheGraphData.nodes&&this.cacheGraphData.nodes.length===0)&&(this.cacheGraphData=l.get("data"));var j=this.cacheGraphData.nodes.filter(function(V){return V.date>=a[d].date&&V.date<=a[v].date}),F=j.map(function(V){return V.id}),G=[];this.cacheGraphData.edges&&(G=this.cacheGraphData.edges.filter(function(V){return F.includes(V.source)&&F.includes(V.target)}),this.get("filterEdge")&&(G=G.filter(function(V){return V.date>=a[d].date&&V.date<=a[v].date}))),l.changeData({nodes:j,edges:G})}}else console.warn("\u8BF7\u914D\u7F6E TimeBar \u7EC4\u4EF6\u7684\u6570\u636E")},t.prototype.initEvent=function(){var e=this,r=0,i=0,a=this._cfgs.type;a&&a!=="trend"&&a!=="simple"?a==="tick"&&(r=this._cfgs.tick.start,i=this._cfgs.tick.end):(r=this._cfgs.slider.start,i=this._cfgs.slider.end);var s=this.get("graph");s.on("afterrender",function(u){e.filterData({value:[r,i]})}),s.on("valuechange",Object(p.throttle)(function(u){e.filterData(u)},200,{trailing:!0,leading:!0}))},t.prototype.destroy=function(){var e=this.get("timebar");e&&e.destory&&e.destory(),n.prototype.destroy.call(this);var r=this.get("timeBarContainer");if(r){var i=this.get("container");i||(i=this.get("graph").get("container")),Object(p.isString)(i)&&(i=document.getElementById(i)),i.removeChild(r)}},t}(lo),Qm=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Jm=br.applyMatrix,eb=function(n){function t(e){return n.call(this,e)||this}return Qm(t,n),t.prototype.getDefaultCfgs=function(){return{container:null,className:"g6-minimap",viewportClassName:"g6-minimap-viewport",width:200,delegateStyle:{fill:"#40a9ff",stroke:"#096dd9"},refresh:!0}},t.prototype.getEvents=function(){return{beforepaint:"updateViewport",beforeanimate:"disableRefresh",afteranimate:"enableRefresh",viewportchange:"disableOneRefresh"}},t.prototype.disableRefresh=function(){this.set("refresh",!1)},t.prototype.enableRefresh=function(){this.set("refresh",!0),this.updateCanvas()},t.prototype.disableOneRefresh=function(){this.set("viewportChange",!0)},t.prototype.initViewport=function(){var e=this,r=this._cfgs,i=r.graph;if(!this.destroyed){var a=this.get("container");Object(p.isString)(a)&&(a=document.getElementById(a));var s=ei("
    H||I>Q||(F=i.getZoom(),j=e.get("ratio"),d=!0,u=B.clientX,l=B.clientY)}},!1),a.addEventListener("mousemove",function(B){if(d&&!Object(p.isNil)(B.clientX)&&!Object(p.isNil)(B.clientY)){var U=e.get("width"),H=e.get("height"),Q=s.style;v=parseInt(Q.left,10),k=parseInt(Q.top,10),T=parseInt(Q.width,10),I=parseInt(Q.height,10);var ve=u-B.clientX,pe=l-B.clientY;v-ve<0?ve=v:v-ve+T>=U&&(ve=0),k-pe<0?pe=k:k-pe+I>=H&&(pe=0),xn(s,{left:(v-=ve)+"px",top:(k-=pe)+"px"}),i.translate(ve*F/j,pe*F/j),u=B.clientX,l=B.clientY}},!1),a.addEventListener("mouseleave",function(){d=!1,r.refresh=!0},!1),a.addEventListener("mouseup",function(){d=!1,r.refresh=!0},!1),this.set("viewport",s),a.appendChild(s)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get("ratio"),r=this.get("width"),i=this.get("height"),a=this.get("graph"),s=a.get("width"),u=s/a.get("height"),l=a.getGroup(),d=l.getCanvasBBox(),v=[(d.minX+d.maxX)/2,(d.minY+d.maxY)/2],k=[d.maxX-d.minX,d.maxY-d.minY],T={centerX:v[0],centerY:v[1],width:0,height:0,minX:0,minY:0};d[0]/d[1]>u?(T.width=k[0],T.height=T.width/u):(T.height=k[1],T.width=T.height*u),T.minX=v[0]-T.width/2,T.minY=v[1]-T.height/2;var I=l.getMatrix();I||(I=[1,0,0,0,1,0,0,0,1]);var j=Nt.a.invert([1,0,0,0,1,0,0,0,1],I),F=Jm({x:T.minX,y:T.minY},j),B=a.getCanvasByPoint(F.x,F.y),U=this.get("viewport");U||this.initViewport();var H=s/T.width,Q=H*r,ve=H*i,pe=r*-B.x/T.width,me=i*-B.y/T.height,Te=pe+Q,Ee=me+ve;pe<0&&(Q+=pe,pe=0),Te>r&&(Q-=Te-r),me<0&&(ve+=me,me=0),Ee>i&&(ve-=Ee-i),this.set("ratio",e),xn(U,{left:pe+"px",top:me+"px",width:Q+"px",height:ve+"px"})}},t.prototype.init=function(){this.initContainer()},t.prototype.initContainer=function(){var e=this.get("graph"),r=e.get("width"),i=e.get("height")/r,a=this.get("className"),s=this.get("container"),u=this.get("width"),l=this.get("height");u||l||(u=200),u?(l=i*u,this.set("height",l)):(u=1/i*l,this.set("width",u));var d=ei("
    ");Object(p.isString)(s)&&(s=document.getElementById(s)),s?s.appendChild(d):e.get("container").appendChild(d),this.set("container",d);var v=ei('
    ');d.appendChild(v);var k=ei('');v.appendChild(k),this.set("containerDOM",v),this.set("containerSpan",k);var T=ei('');this.set("imgDOM",T),this.updateImgSize(),k.appendChild(T),this.updateCanvas()},t.prototype.updateImgSize=function(){var e=this.get("imgDOM"),r=this.get("width"),i=this.get("height");e.onload=function(){var a=function(s,u){var l,d;if(s.naturalWidth)l=s.naturalWidth,d=s.naturalHeight;else{var v=new Image;v.src=s.src,v.onload=function(){u&&u(v.width,v.height)}}return[l,d]}(e);a[0]>a[1]?e.width=r:e.height=i}},t.prototype.updateCanvas=function(){if(this.get("refresh")){var e=this.get("graph");if(!e.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var r=this.get("width")/e.get("canvas").getCanvasBBox().width;this.set("ratio",r),this.updateViewport()}}},t.prototype.getViewport=function(){return this.get("viewport")},t.prototype.getContainer=function(){return this.get("container")},t.prototype.updateGraphImg=function(e){this.get("imgDOM").remove(),this.set("graphImg",e);var r=ei('');this.set("imgDOM",r),r.src=e,this.updateImgSize(),this.get("containerSpan").appendChild(r),this.updateCanvas()},t.prototype.destroy=function(){var e=this.get("container");e.parentNode.removeChild(e)},t}(lo),tb=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Sp=function(){return(Sp=Object.assign||function(n){for(var t,e=1,r=arguments.length;e(s||i.get("height"))&&r>1||l<(u||.05*i.get("height"))&&r<1)&&(r=1),l*=r,this.set("r",l),this.filter(e)}},t.prototype.filter=function(e){var r=this.get("graph"),i=r.getNodes(),a={},s=this.get("r"),u=this.get("type"),l={x:e.x,y:e.y};this.updateDelegate(l,s);var d=this.get("shouldShow"),v=this.get("vShapes");v&&v.forEach(function(B){B.remove(),B.destroy()}),v=[],i.forEach(function(B){var U=B.getModel(),H=U.x,Q=U.y;rb({x:H,y:Q},l)
    `);a.appendChild(s),this.set("container",s);var u=this.render();xn(s,this.getContainerPos(u)),this.bindEvents()},t.prototype.getContainerPos=function(e){e===void 0&&(e=[0,0]);var r=this.get("graph"),i=this.get("offsetX"),a=this.get("offsetY"),s=this.get("margin"),u=this.get("position").split("-"),l={top:0,right:1,bottom:2,left:3},d={left:(r.getWidth()-e[0])/2+0,top:(r.getHeight()-e[1])/2+0};return u.forEach(function(v){var k=s[l[v]],T=v;switch(v){case"top":case"left":k+=0;break;case"bottom":k=r.getHeight()-e[1]-k+0,T="top";break;default:k=r.getWidth()-e[0]-k+0,T="left"}d[T]=k}),d.top+=a+r.getContainer().offsetTop,d.left+=i+r.getContainer().offsetLeft,Object.keys(d).forEach(function(v){d[v]=d[v]+"px"}),d},t.prototype.bindEvents=function(){var e=this,r=e.get("filter");if(r&&r.enable){var i=r.trigger||"click";cb.includes(i)||(console.warn("Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default."),i="click");var a=e.get("legendCanvas");i==="mouseenter"?(a.on("node-container:mouseenter",function(s){return e.filterData(s)}),a.on("node-container:mouseleave",function(s){e.clearFilter(),e.clearActiveLegend()})):(a.on("node-container:click",function(s){return e.filterData(s)}),a.on("click",function(s){s.target&&s.target.isCanvas&&s.target.isCanvas()&&(e.clearFilter(),e.clearActiveLegend())}))}},t.prototype.changeData=function(e){this.set("data",e);var r=this.render();xn(this.get("container"),this.getContainerPos(r))},t.prototype.activateLegend=function(e){var r=this.get("filter");r!=null&&r.multiple||this.clearActiveLegend();var i=e.get("parent");i.get("active")?(i.set("active",!1),this.findLegendItemsByState("active").length&&i.set("inactive",!0)):(i.set("inactive",!1),i.set("active",!0)),this.findLegendItemsByState("active").length?this.findLegendItemsByState("active","all",!1).forEach(function(v){v.set("inactive",!0)}):this.clearActiveLegend();var a=(r==null?void 0:r.lengedStateStyles)||{},s=(a==null?void 0:a.inactive)||{opacity:.5,"text-shape":{opacity:.5}},u=s["text-shape"]||{};this.findLegendItemsByState("inactive").forEach(function(v){var k=v.get("children"),T=k[0],I=k[1];T.attr(Kn(Kn({},T.get("oriAttrs")),s)),I.attr(Kn(Kn({},I.get("oriAttrs")),u))});var l=(a==null?void 0:a.active)||{stroke:"#000",lineWidth:2,"text-shape":{fontWeight:"bold"}},d=l["text-shape"]||{};this.findLegendItemsByState("active").forEach(function(v){var k=v.get("children"),T=k[0],I=k[1];T.attr(Kn(Kn({},T.get("oriAttrs")),l)),I.attr(Kn(Kn({},I.get("oriAttrs")),d))})},t.prototype.findLegendItemsByState=function(e,r,i){r===void 0&&(r="all"),i===void 0&&(i=!0);var a=this.get("legendCanvas").find(function(l){return l.get("name")==="root"}),s=a.find(function(l){return l.get("name")==="node-group"}),u=a.find(function(l){return l.get("name")==="edge-group"});return r==="node"?s.get("children").filter(function(l){return!!l.get(e)===i}):r==="edge"?u.get("children").filter(function(l){return!!l.get(e)===i}):s.get("children").filter(function(l){return!!l.get(e)===i}).concat(u.get("children").filter(function(l){return!!l.get(e)===i}))},t.prototype.clearActiveLegend=function(){var e=this.get("legendCanvas").find(function(r){return r.get("name")==="root"});[e.find(function(r){return r.get("name")==="node-group"}),e.find(function(r){return r.get("name")==="edge-group"})].forEach(function(r){r.get("children").forEach(function(i){i.set("active",!1),i.set("inactive",!1);var a=i.get("children"),s=a[0],u=a[1];s.attr(s.get("oriAttrs")),u.attr(u.get("oriAttrs"))})})},t.prototype.filterData=function(e){var r=this.get("filter"),i=r==null?void 0:r.filterFunctions;if(r&&i){var a=this.get("legendCanvas"),s=this.get("graph"),u=r.graphActiveState||"active",l=r.graphInactiveState||"inactive",d=r.multiple;this.clearFilter(),d||this.clearActiveLegend(),this.activateLegend(e.target);var v=a.find(function(U){return U.get("name")==="root"}),k=v.find(function(U){return U.get("name")==="node-group"}),T=v.find(function(U){return U.get("name")==="edge-group"}),I=k.get("children").filter(function(U){return U.get("active")}),j=T.get("children").filter(function(U){return U.get("active")}),F=0,B=["getNodes","getEdges"];B.forEach(function(U){s[U]().forEach(function(H){var Q=!1;(U==="getNodes"?I:j).forEach(function(ve){var pe=i[ve.get("id")];Q=Q||pe(H.getModel())}),Q?(s.setItemState(H,l,!1),s.setItemState(H,u,!0),F++):(s.setItemState(H,u,!1),s.setItemState(H,l,!0))})}),F||B.forEach(function(U){s[U]().forEach(function(H){s.clearItemStates(H,[l])})})}},t.prototype.clearFilter=function(){var e=this.get("graph"),r=this.get("filter");if(r){var i=r.graphActiveState||"active",a=r.graphInactiveState||"inactive";e.getNodes().forEach(function(s){e.clearItemStates(s,[i,a])}),e.getEdges().forEach(function(s){e.clearItemStates(s,[i,a])})}},t.prototype.render=function(){var e=this;this.processData();var r=this.get("legendCanvas");if(!r){var i=(r=new Wr.Canvas({container:this.get("container"),width:200,height:200})).addGroup({name:"root"});i.addGroup({name:"node-group"}),i.addGroup({name:"edge-group"}),this.set("legendCanvas",r)}var a=r.find(function(gt){return gt.get("name")==="root"}),s=a.find(function(gt){return gt.get("name")==="node-group"}),u=a.find(function(gt){return gt.get("name")==="edge-group"}),l=this.get("itemsData"),d=[s,u];["nodes","edges"].forEach(function(gt,Pt){l[gt].forEach(function(Rt){var Zt,kt,Vt=d[Pt].addGroup({id:Rt.id,name:"node-container"}),Dt=Rt.type,qt=e.getShapeSize(Rt),$t=qt.width,Gt=qt.height,lr=qt.r,Lr=e.getStyle(gt.substr(0,4),Rt);switch(Rt.type){case"circle":kt={r:lr,x:0,y:0};break;case"rect":kt={width:$t,height:Gt,x:-$t/2,y:-Gt/2};break;case"ellipse":kt={r1:$t,r2:Gt,x:0,y:0};break;case"line":kt={x1:-$t/2,y1:0,x2:$t/2,y2:0},Dt="line";break;case"quadratic":kt={path:[["M",-$t/2,0],["Q",0,$t/2,$t/2,0]]},Dt="path";break;case"cubic":kt={path:[["M",-$t/2,0],["C",-$t/6,$t/2,$t/6,-$t/2,$t/2,0]]},Dt="path";break;default:kt={r:lr,x:0,y:0}}var wn=Vt.addShape(Dt,{attrs:Kn(Kn({},kt),Lr),name:Rt.type+"-node-keyShape",oriAttrs:Kn({opacity:1},Lr)});if(Rt.label){var Sr=wn.getBBox(),jr=((Zt=Rt.labelCfg)===null||Zt===void 0?void 0:Zt.style)||{},_r=Kn({textAlign:"begin",fontSize:12,textBaseline:"middle",fill:"#000",opacity:1,fontWeight:"normal"},jr);Vt.addShape("text",{attrs:Kn({x:Sr.maxX+4,y:0,text:Rt.label},_r),className:"legend-label",name:Rt.type+"-node-text",oriAttrs:_r})}})});var v,k=this.get("padding"),T=a.find(function(gt){return gt.get("name")==="title-container"}),I={height:0,maxY:0,width:0};if(this.get("title")){T||(T=a.addGroup({name:"title-container"}));var j={fontSize:20,fontFamily:"Arial",fontWeight:300,textBaseline:"top",textAlign:"center",fill:"#000",x:0,y:k[0]},F=this.get("titleConfig")||{},B=Object.assign(j,F.style||{});v=T.addShape("text",{attrs:Kn({text:this.get("title")},B)}),I=T.getCanvasBBox(),T.setMatrix([1,0,0,0,1,0,F.offsetX,F.offsetY,1])}this.layoutItems();var U=a.getCanvasBBox(),H=s.getCanvasBBox(),Q=H.minX<0?Math.abs(H.minX)+k[3]:k[3],ve=I.maxYk.max&&(k.max=u[0]),Ze>T&&(T=Ze),Q.setMatrix([1,0,0,0,1,0,nt,ct,1])});var I=k.max-k.min,j={min:0,max:-1/0},F=d.getCanvasBBox();u[0]=0,u[1]=a==="vertical"?F.maxX+r:F.maxY+i,v.get("children").forEach(function(Q,ve){ve===0&&(j.min=u[0]);var pe=Q.get("children")[0],me=Q.getCanvasBBox(),Te=pe.getBBox(),Ee=Te.width,je=Te.height,Ze=0,nt=0;a==="vertical"?(Ze=u[1],nt=u[0],u[0]=nt+me.height+i,Q.setMatrix([1,0,0,0,1,0,0,nt+je/2,1])):(Ze=u[0],nt=u[1],u[0]=Ze+me.width+r,Q.setMatrix([1,0,0,0,1,0,Ze+Ee/2,0,1])),u[0]>j.max&&(j.max=u[0])});var B=j.max-j.min;if(s&&s!==""&&s!=="left"){var U=I-B,H=s==="center"?Math.abs(U)/2:Math.abs(U);(U<0?d:v).get("children").forEach(function(Q){var ve=Q.getMatrix()||[1,0,0,0,1,0,0,0,1];a==="vertical"?ve[7]+=H:ve[6]+=H,Q.setMatrix(ve)})}},t.prototype.processData=function(){var e=this.get("data"),r={nodes:[],edges:[]};e.nodes&&(e.nodes.sort(function(i,a){return i.order-a.order}),e.nodes.forEach(function(i){var a,s,u,l,d,v=i.size||[((a=i.style)===null||a===void 0?void 0:a.width)||((s=i.style)===null||s===void 0?void 0:s.r)||8,((u=i.style)===null||u===void 0?void 0:u.height)||((l=i.style)===null||l===void 0?void 0:l.r)||8],k=((d=i.labelCfg)===null||d===void 0?void 0:d.style)||{};r.nodes.push({id:i.id||Object(p.uniqueId)(),type:i.type||"circle",style:Kn({},i.style),order:i.order,label:i.label,itemType:"node",size:v,labelCfg:{position:"right",style:Kn({fontFamily:"Arial"},k)}})})),e.edges&&(e.edges.sort(function(i,a){return i.order-a.order}),e.edges.forEach(function(i){var a,s,u=i.type||"line";i.type==="cubic-horizontal"&&(u="cubic");var l=((a=i.labelCfg)===null||a===void 0?void 0:a.style)||{},d=i.size||[((s=i.style)===null||s===void 0?void 0:s.width)||8,1];r.edges.push({id:i.id||Object(p.uniqueId)(),type:u,size:d,style:Kn({lineWidth:Object(p.isArray)(d)?d[1]:1},i.style),order:i.order,label:i.label,itemType:"edge",labelCfg:{position:"right",style:Kn({fontFamily:"Arial"},l)}})})),this.set("itemsData",r)},t.prototype.getContainer=function(){return this.get("container")},t.prototype.formatArray=function(e){var r=this.get(e);if(Object(p.isNumber)(r))this.set(e,[r,r,r,r]);else if(Object(p.isArray)(r))switch(r.length){case 0:this.set(e,[0,0,0,0]);break;case 1:this.set(e,[r[0],r[0],r[0],r[0]]);break;case 2:this.set(e,[r[0],r[1],r[0],r[1]]);break;case 3:this.set(e,[r[0],r[1],r[2],r[1]])}return this.get(e)},t.prototype.getShapeSize=function(e){var r,i,a;return e.size&&(Object(p.isArray)(e.size)?(r=e.size[0],i=e.size[1]||e.size[0],a=e.size[0]/2):Object(p.isNumber)(e.size)&&(r=e.size,i=e.size,a=e.size/2)),e.style&&(e.style.width&&(r=e.style.width),e.style.height&&(i=e.style.height),e.style.r&&(a=e.style.r)),a||(a=5),r||(r=a),i||(i=a),{width:r,height:i,r:a}},t.prototype.getStyle=function(e,r){return Kn(Kn({},e==="node"?{fill:"#ccc",lineWidth:0}:{stroke:"#000",lineWidth:1}),r.style||{})},t.prototype.destroy=function(){var e=this.get("graph").get("container"),r=this.get("container");e.removeChild(r)},t}(lo)};sn("circle",{options:{size:ir.defaultNode.size,style:{x:0,y:0,stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=Object(p.deepMix)({},r,n.icon),s=t.addShape("circle",{attrs:i,className:this.type+"-keyShape",draggable:!0}),u=a.width,l=a.height,d=a.show,v=a.text;return d&&(v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-u/2,y:-l/2},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),s},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n)[0]/2;a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-k,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:k,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-k,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:k,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.deepMix)({},t,e),i=this.getSize(n)[0]/2;return Object(m.__assign)({x:0,y:0,r:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getSize(n),i={stroke:n.color,r:r[0]/2},a=t.get("keyShape"),s=Object(p.deepMix)({},a.attr(),i,n.style);this.updateShape(n,t,s,!0),this.updateLinkPoints(n,e)}},"single-node"),sn("rect",{options:{size:[100,30],style:{radius:0,stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"rect",labelPosition:"center",drawShape:function(n,t){var e=this.getShapeStyle(n),r=t.addShape("rect",{attrs:e,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0});return this.drawLinkPoints(n,t),r},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0],I=k[1];a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T/2,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T/2,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I/2,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I/2,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getSize(n),a=r.width||i[0],s=r.height||i[1];return Object(m.__assign)({x:-a/2,y:-s/2,width:a,height:s},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getSize(n),a=t.get("keyShape");n.size||(i[0]=a.attr("width")||r.width,i[1]=a.attr("height")||r.height);var s={stroke:n.color,x:-i[0]/2,y:-i[1]/2,width:i[0],height:i[1]},u=Object(p.mix)({},r,a.attr(),s);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!1),this.updateLinkPoints(n,e)}},"single-node"),sn("ellipse",{options:{size:[80,40],style:{x:0,y:0,stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"ellipse",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=t.addShape("ellipse",{attrs:i,className:"ellipse-keyShape",name:"ellipse-keyShape",draggable:!0}),s=r.width,u=r.height,l=r.show,d=r.text;return l&&(d?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-s/2,y:-u/2},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),a},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0]/2,I=k[1]/2;a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getSize(n),a=i[0]/2,s=i[1]/2;return Object(m.__assign)({x:0,y:0,rx:a,ry:s},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getSize(n),a={stroke:n.color,rx:i[0]/2,ry:i[1]/2},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)}},"single-node"),sn("diamond",{options:{size:[80,80],style:{stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"diamond",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=t.addShape("path",{attrs:i,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),s=r.width,u=r.height,l=r.show,d=r.text;return l&&(d?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-s/2,y:-u/2},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),a},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0],I=k[1];a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T/2,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T/2,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I/2,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I/2,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getPath:function(n){var t=this.getSize(n),e=t[0],r=t[1];return[["M",0,-r/2],["L",e/2,0],["L",0,r/2],["L",-e/2,0],["Z"]]},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getPath(n);return Object(m.__assign)({path:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getPath(n),a={stroke:n.color,path:i},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)}},"single-node"),sn("triangle",{options:{size:40,direction:"up",style:{stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20,offset:6},stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"triangle",labelPosition:"bottom",drawShape:function(n,t){var e=this.getOptions(n),r=e.icon,i=r===void 0?{}:r,a=e.direction,s=this.getShapeStyle(n),u=n.direction||a,l=t.addShape("path",{attrs:s,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),d=i.width,v=i.height,k=i.show,T=i.offset,I=i.text;if(k)if(I)t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},i),className:this.type+"-icon",name:this.type+"-icon",draggable:!0});else{var j=-d/2,F=-v/2;u!=="up"&&u!=="down"||(F+=T),u!=="left"&&u!=="right"||(j+=T),t.addShape("image",{attrs:Object(m.__assign)({x:j,y:F},i),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})}return this.drawLinkPoints(n,t),l},drawLinkPoints:function(n,t){var e=this.getOptions(n),r=e.linkPoints,i=r===void 0?{}:r,a=e.direction,s=n.direction||a,u=i.top,l=i.left,d=i.right,v=i.bottom,k=i.size,T=i.r,I=Object(m.__rest)(i,["top","left","right","bottom","size","r"]),j=this.getSize(n)[0];if(l){var F=null,B=j*Math.sin(1/3*Math.PI),U=j*Math.sin(1/3*Math.PI);s==="up"?F=[-U,B]:s==="down"?F=[-U,-B]:s==="left"&&(F=[-U,U-B]),F&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:F[0],y:F[1],r:k/2||T||5}),className:"link-point-left",name:"link-point-left"})}if(d){var H=null;B=j*Math.sin(1/3*Math.PI),U=j*Math.sin(1/3*Math.PI),s==="up"?H=[U,B]:s==="down"?H=[U,-B]:s==="right"&&(H=[U,U-B]),H&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:H[0],y:H[1],r:k/2||T||5}),className:"link-point-right",name:"link-point-right"})}if(u){var Q=null;B=j*Math.sin(1/3*Math.PI),U=j*Math.sin(1/3*Math.PI),s==="up"?Q=[U-B,-B]:s==="left"?Q=[U,-B]:s==="right"&&(Q=[-U,-B]),Q&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:Q[0],y:Q[1],r:k/2||T||5}),className:"link-point-top",name:"link-point-top"})}if(v){var ve=null;B=j*Math.sin(1/3*Math.PI),U=j*Math.sin(1/3*Math.PI),s==="down"?ve=[-U+B,B]:s==="left"?ve=[U,B]:s==="right"&&(ve=[-U,B]),ve&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:ve[0],y:ve[1],r:k/2||T||5}),className:"link-point-bottom",name:"link-point-bottom"})}},getPath:function(n){var t=this.getOptions(n).direction,e=n.direction||t,r=this.getSize(n)[0],i=r*Math.sin(1/3*Math.PI),a=r*Math.sin(1/3*Math.PI),s=[["M",-a,i],["L",0,-i],["L",a,i],["Z"]];return e==="down"?s=[["M",-a,-i],["L",a,-i],["L",0,i],["Z"]]:e==="left"?s=[["M",-a,a-i],["L",a,-a],["L",a,a],["Z"]]:e==="right"&&(s=[["M",a,a-i],["L",-a,a],["L",-a,-a],["Z"]]),s},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getPath(n);return Object(m.__assign)({path:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getPath(n),a={stroke:n.color,path:i},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)},updateLinkPoints:function(n,t){var e=this.getOptions({}),r=e.linkPoints,i=e.direction,a=n.direction||i,s=t.find(function(It){return It.get("className")==="link-point-left"}),u=t.find(function(It){return It.get("className")==="link-point-right"}),l=t.find(function(It){return It.get("className")==="link-point-top"}),d=t.find(function(It){return It.get("className")==="link-point-bottom"}),v=r,k=s||u||l||d;k&&(v=k.attr());var T=Object(p.mix)({},v,n.linkPoints),I=T.fill,j=T.stroke,F=T.lineWidth,B=T.size/2;B||(B=T.r);var U=n.linkPoints?n.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},H=U.left,Q=U.right,ve=U.top,pe=U.bottom,me=this.getSize(n)[0],Te={r:B,fill:I,stroke:j,lineWidth:F},Ee=null,je=me*Math.sin(1/3*Math.PI),Ze=me*Math.sin(1/3*Math.PI);a==="up"?Ee=[-Ze,je]:a==="down"?Ee=[-Ze,-je]:a==="left"&&(Ee=[-Ze,Ze-je]),Ee&&(s?H||H===void 0?s.attr(Object(m.__assign)(Object(m.__assign)({},Te),{x:Ee[0],y:Ee[1]})):s.remove():H&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Te),{x:Ee[0],y:Ee[1]}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}));var nt=null;a==="up"?nt=[Ze,je]:a==="down"?nt=[Ze,-je]:a==="right"&&(nt=[Ze,Ze-je]),nt&&(u?Q||Q===void 0?u.attr(Object(m.__assign)(Object(m.__assign)({},Te),{x:nt[0],y:nt[1]})):u.remove():Q&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Te),{x:nt[0],y:nt[1]}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}));var ct=null;a==="up"?ct=[Ze-je,-je]:a==="left"?ct=[Ze,-je]:a==="right"&&(ct=[-Ze,-je]),ct&&(l?ve||ve===void 0?l.attr(Object(m.__assign)(Object(m.__assign)({},Te),{x:ct[0],y:ct[1]})):l.remove():ve&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Te),{x:ct[0],y:ct[1]}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}));var st=null;a==="down"?st=[-Ze+je,je]:a==="left"?st=[Ze,je]:a==="right"&&(st=[-Ze,je]),st&&(d?pe||pe===void 0?d.attr(Object(m.__assign)(Object(m.__assign)({},Te),{x:st[0],y:st[1]})):d.remove():pe&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Te),{x:st[0],y:st[1]}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))}},"single-node"),sn("modelRect",{options:{size:[185,70],style:{radius:5,stroke:"#69c0ff",fill:"#ffffff",lineWidth:ir.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:"#595959",fontSize:14},offset:30},descriptionCfg:{style:{fontSize:12,fill:"#bfbfbf"},paddingTop:0},preRect:{show:!0,width:4,fill:"#40a9ff",radius:2},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:10,lineWidth:1,fill:"#72CC4A",stroke:"#72CC4A"},logoIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/4f81893c-1806-4de4-aff3-9a6b266bc8a2.svg",width:16,height:16,offset:0},stateIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/300a2523-67e0-4cbf-9d4a-67c077b40395.svg",width:16,height:16,offset:-5},anchorPoints:[[0,.5],[1,.5]]},shapeType:"modelRect",drawShape:function(n,t){var e=this.getOptions(n).preRect,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=this.getSize(n),s=a[0],u=a[1],l=t.addShape("rect",{attrs:i,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),d=r.show,v=Object(m.__rest)(r,["show"]);return d&&t.addShape("rect",{attrs:Object(m.__assign)({x:-s/2,y:-u/2,height:u},v),className:"pre-rect",name:"pre-rect",draggable:!0}),this.drawLogoIcon(n,t),this.drawStateIcon(n,t),this.drawLinkPoints(n,t),l},drawLogoIcon:function(n,t){var e=this.getOptions(n).logoIcon,r=e===void 0?{}:e,i=this.getSize(n)[0];if(r.show){var a=r.width,s=r.height,u=r.x,l=r.y,d=r.offset,v=r.text,k=Object(m.__rest)(r,["width","height","x","y","offset","text"]);v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},k),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:u||-i/2+a+d,y:l||-s/2,width:a,height:s}),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0})}},drawStateIcon:function(n,t){var e=this.getOptions(n).stateIcon,r=e===void 0?{}:e,i=this.getSize(n)[0];if(r.show){var a=r.width,s=r.height,u=r.x,l=r.y,d=r.offset,v=r.text,k=Object(m.__rest)(r,["width","height","x","y","offset","text"]);v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},k),className:"rect-state-icon",name:"rect-state-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:u||i/2-a+d,y:l||-s/2,width:a,height:s}),className:"rect-state-icon",name:"rect-state-icon",draggable:!0})}},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0],I=k[1];a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T/2,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T/2,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I/2,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I/2,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},drawLabel:function(n,t){var e=this.getOptions(n),r=e.labelCfg,i=r===void 0?{}:r,a=e.logoIcon,s=a===void 0?{}:a,u=e.descriptionCfg,l=u===void 0?{}:u,d=this.getSize(n)[0],v=null,k=s.show,T=s.width,I=-d/2+i.offset;k&&(I=-d/2+T+i.offset);var j=i.style,F=l.style,B=l.paddingTop;return Object(p.isString)(n.description)?(v=t.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},j),{x:I,y:-5,text:n.label}),className:"text-shape",name:"text-shape",draggable:!0}),t.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},F),{x:I,y:17+(B||0),text:n.description}),className:"rect-description",name:"rect-description",draggable:!0})):v=t.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},j),{x:I,y:7,text:n.label}),className:"text-shape",name:"text-shape",draggable:!0}),v},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getSize(n),a=r.width||i[0],s=r.height||i[1];return Object(m.__assign)({x:-a/2,y:-s/2,width:a,height:s},r)},update:function(n,t){var e=this.getOptions(n),r=e.style,i=r===void 0?{}:r,a=e.labelCfg,s=a===void 0?{}:a,u=e.descriptionCfg,l=u===void 0?{}:u,d=this.getSize(n),v=d[0],k=d[1];t.get("keyShape").attr(Object(m.__assign)(Object(m.__assign)({},i),{x:-v/2,y:-k/2,width:v,height:k}));var T=t.getContainer(),I=T.find(function(Gt){return Gt.get("className")==="rect-logo-icon"}),j=I?I.attr():{},F=Object(p.mix)({},j,n.logoIcon),B=F.width;B===void 0&&(B=this.options.logoIcon.width);var U=n.logoIcon?n.logoIcon.show:void 0,H=s.offset,Q=-v/2+B+H;U||U===void 0||(Q=-v/2+H);var ve=T.find(function(Gt){return Gt.get("className")==="node-label"}),pe=T.find(function(Gt){return Gt.get("className")==="rect-description"});if(n.label)if(ve){var me=n.labelCfg?n.labelCfg.style:{},Te=Object(p.mix)({},ve.attr(),me);n.label&&(Te.text=n.label),Te.x=Q,Object(p.isString)(n.description)&&(Te.y=-5),pe&&(pe.resetMatrix(),pe.attr({x:Q})),ve.resetMatrix(),ve.attr(Te)}else T.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},s.style),{x:Q,y:n.description?-5:7,text:n.label}),className:"node-label",name:"node-label",draggable:!0});if(Object(p.isString)(n.description)){var Ee=l.paddingTop;if(pe){me=n.descriptionCfg?n.descriptionCfg.style:{};var je=Object(p.mix)({},pe.attr(),me);Object(p.isString)(n.description)&&(je.text=n.description),je.x=Q,pe.resetMatrix(),pe.attr(Object(m.__assign)(Object(m.__assign)({},je),{y:17+(Ee||0)}))}else T.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},l.style),{x:Q,y:17+(Ee||0),text:n.description}),className:"rect-description",name:"rect-description",draggable:!0})}var Ze=T.find(function(Gt){return Gt.get("className")==="pre-rect"});if(Ze){var nt=Object(p.mix)({},Ze.attr(),n.preRect);Ze.attr(Object(m.__assign)(Object(m.__assign)({},nt),{x:-v/2,y:-k/2,height:k}))}if(I)if(U||U===void 0){var ct=F.width,st=F.height,It=F.x,gt=F.y,Pt=F.offset,Rt=Object(m.__rest)(F,["width","height","x","y","offset"]);I.attr(Object(m.__assign)(Object(m.__assign)({},Rt),{x:It||-v/2+ct+Pt,y:gt||-st/2,width:ct,height:st}))}else I.remove();else U&&this.drawLogoIcon(n,T);var Zt=T.find(function(Gt){return Gt.get("className")==="rect-state-icon"}),kt=Zt?Zt.attr():{},Vt=Object(p.mix)({},kt,n.stateIcon);if(Zt){Vt.show||Vt.show===void 0||Zt.remove();var Dt=Vt.width,qt=(st=Vt.height,It=Vt.x,gt=Vt.y,Vt.offset),$t=Object(m.__rest)(Vt,["width","height","x","y","offset"]);Zt.attr(Object(m.__assign)(Object(m.__assign)({},$t),{x:It||v/2-Dt+qt,y:gt||-st/2,width:Dt,height:st}))}else Vt.show&&this.drawStateIcon(n,T);this.updateLinkPoints(n,T)}},"single-node"),sn("star",{options:{size:60,style:{stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"star",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=t.addShape("path",{attrs:i,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),s=r.width,u=r.height,l=r.show,d=r.text;return l&&(d?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-s/2,y:-u/2},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),a},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.leftBottom,l=r.rightBottom,d=r.size,v=r.r,k=Object(m.__rest)(r,["top","left","right","leftBottom","rightBottom","size","r"]),T=this.getSize(n)[0];if(s){var I=Math.cos(.1*Math.PI)*T,j=Math.sin(.1*Math.PI)*T;t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-right",name:"link-point-right"})}i&&(I=Math.cos(.5*Math.PI)*T,j=Math.sin(.5*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-top",name:"link-point-top"})),a&&(I=Math.cos(.9*Math.PI)*T,j=Math.sin(.9*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-left",name:"link-point-left"})),u&&(I=Math.cos(1.3*Math.PI)*T,j=Math.sin(1.3*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-left-bottom",name:"link-point-left-bottom"})),l&&(I=Math.cos(1.7*Math.PI)*T,j=Math.sin(1.7*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-right-bottom",name:"link-point-right-bottom"}))},getPath:function(n){for(var t=this.getSize(n)[0],e=3*t/8,r=n.innerR||e,i=[],a=0;a<5;a++){var s=Math.cos((18+72*a)/180*Math.PI)*t,u=Math.sin((18+72*a)/180*Math.PI)*t,l=Math.cos((54+72*a)/180*Math.PI)*r,d=Math.sin((54+72*a)/180*Math.PI)*r;a===0?i.push(["M",s,-u]):i.push(["L",s,-u]),i.push(["L",l,-d])}return i.push(["Z"]),i},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getPath(n);return Object(m.__assign)({path:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getPath(n),a={stroke:n.color,path:i},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)},updateLinkPoints:function(n,t){var e=this.getOptions({}).linkPoints,r=t.find(function(je){return je.get("className")==="link-point-left"}),i=t.find(function(je){return je.get("className")==="link-point-right"}),a=t.find(function(je){return je.get("className")==="link-point-top"}),s=t.find(function(je){return je.get("className")==="link-point-left-bottom"}),u=t.find(function(je){return je.get("className")==="link-point-right-bottom"}),l=e,d=r||i||a||s||u;d&&(l=d.attr());var v=Object(p.mix)({},l,n.linkPoints),k=v.fill,T=v.stroke,I=v.lineWidth,j=v.size/2;j||(j=v.r);var F=n.linkPoints?n.linkPoints:{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},B=F.left,U=F.right,H=F.top,Q=F.leftBottom,ve=F.rightBottom,pe=this.getSize(n)[0],me={r:j,fill:k,stroke:T,lineWidth:I},Te=Math.cos(.1*Math.PI)*pe,Ee=Math.sin(.1*Math.PI)*pe;i?U||U===void 0?i.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee})):i.remove():U&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),Te=Math.cos(.5*Math.PI)*pe,Ee=Math.sin(.5*Math.PI)*pe,a?H||H===void 0?a.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee})):a.remove():H&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),Te=Math.cos(.9*Math.PI)*pe,Ee=Math.sin(.9*Math.PI)*pe,r?B||B===void 0?r.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee})):r.remove():B&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),Te=Math.cos(1.3*Math.PI)*pe,Ee=Math.sin(1.3*Math.PI)*pe,s?Q||Q===void 0?s.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee})):s.remove():Q&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee}),className:"link-point-left-bottom",name:"link-point-left-bottom",isAnchorPoint:!0}),Te=Math.cos(1.7*Math.PI)*pe,Ee=Math.sin(1.7*Math.PI)*pe,u?ve||ve===void 0?u.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee})):s.remove():ve&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Te,y:-Ee}),className:"link-point-right-bottom",name:"link-point-right-bottom",isAnchorPoint:!0})}},"single-node");var hs=mr.defaultSubjectColors;sn("donut",{options:{size:ir.defaultNode.size,style:{x:0,y:0,stroke:ir.defaultNode.style.stroke,fill:ir.defaultNode.style.fill,lineWidth:ir.defaultNode.style.lineWidth},labelCfg:{style:{fill:ir.nodeLabel.style.fill,fontSize:ir.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:ir.defaultNode.linkPoints.size,lineWidth:ir.defaultNode.linkPoints.lineWidth,fill:ir.defaultNode.linkPoints.fill,stroke:ir.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},ir.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=Object(p.deepMix)({},r,n.icon),s=t.addShape("circle",{attrs:i,className:this.type+"-keyShape",draggable:!0,name:this.type+"-keyShape"}),u=a.width,l=a.height,d=a.show,v=a.text;d&&(v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-u/2,y:-l/2},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}));var k=s.attr("r"),T=.6*k,I=(k+T)/2,j=n,F=j.donutAttrs,B=F===void 0?{}:F,U=j.donutColorMap,H=U===void 0?{}:U,Q=Object.keys(B).length;if(B&&Q>1){var ve=[],pe=0;if(Object.keys(B).forEach(function(je){var Ze=B[je]||0;Object(p.isNumber)(Ze)&&(ve.push({key:je,value:Ze,color:H[je]}),pe+=Ze)}),pe){var me=k-T;if(Q===1)return void t.addShape("circle",{attrs:{r:I,x:0,y:0,stroke:ve[0].color||hs[0],lineWidth:me},name:"fan-shape-0"});var Te=[I,0],Ee=0;ve.forEach(function(je,Ze){var nt=je.value/pe;if(!(nt<.001))if(nt>.999&&(nt=1),nt!==1){je.percent=nt,je.angle=nt*Math.PI*2,je.beginAgnle=Ee,Ee+=je.angle,je.endAngle=Ee,je.arcBegin=Te,je.arcEnd=[I*Math.cos(je.endAngle),-I*Math.sin(je.endAngle)];var ct=je.angle>Math.PI?1:0,st=[["M",je.arcBegin[0],je.arcBegin[1]],["A",I,I,0,ct,0,je.arcEnd[0],je.arcEnd[1]],["L",je.arcEnd[0],je.arcEnd[1]]];t.addShape("path",{attrs:{path:st,lineWidth:me,stroke:je.color||hs[Ze%hs.length]},name:"fan-shape-"+Ze}),Te=je.arcEnd}else t.addShape("circle",{attrs:{r:I,x:0,y:0,stroke:je.color||hs[Ze%hs.length],lineWidth:me},name:"fan-shape-"+Ze})})}}return this.drawLinkPoints(n,t),s},update:void 0},"circle");var Js=function(n){var t=n.x,e=n.y;return{x:t,y:e,centerX:t,centerY:e,minX:t,minY:e,maxX:t,maxY:e,height:0,width:0}},ac=function(n){for(var t=[],e={},r=n.length-1;r>=0;r--){var i=n[r];i.id=i.x+"|||"+i.y,e[i.id]=i,t.push(i)}return t},Op=function(n){return ac(n)},eu=function(n,t){return n.width||n.height?{centerX:n.centerX,centerY:n.centerY,minX:n.minX-t,minY:n.minY-t,maxX:n.maxX+t,maxY:n.maxY+t,height:n.height+2*t,width:n.width+2*t}:n},sc=function(n,t,e){var r=function(s,u){var l=Math.abs(s.x-u.centerX),d=Math.abs(s.y-u.centerY);return l===0&&d===0?0:l/u.width>d/u.height}(t,n);if(r===0){var i=n.centerX,a=n.centerY;return e.yt.x?i=n.maxX:e.xn.centerX?n.maxX:n.minX,y:t.y}:{x:t.x,y:t.y>n.centerY?n.maxY:n.minY}},Mp=function(n,t){var e=Math.min(n.minX,t.minX),r=Math.min(n.minY,t.minY),i=Math.max(n.maxX,t.maxX),a=Math.max(n.maxY,t.maxY);return{centerX:(e+i)/2,centerY:(r+a)/2,minX:e,minY:r,maxX:i,maxY:a,height:a-r,width:i-e}},uc=function(n){return[{x:n.minX,y:n.minY},{x:n.maxX,y:n.minY},{x:n.maxX,y:n.maxY},{x:n.minX,y:n.maxY}]},tu=function(n,t){var e=n.x,r=n.y;return et.maxX||rt.maxY},ds=function(n,t){return Math.abs(n.x-t.x)+Math.abs(n.y-t.y)},kp=function(n,t,e,r,i){return ds(n,t)+ds(n,e)+function(a,s){var u=0;return s.forEach(function(l){l&&(a.x===l.x&&(u+=-2),a.y===l.y&&(u+=-2))}),u}(n,[t,e,r,i])},lb=function n(t,e,r,i,a){a===void 0&&(a=0),t.unshift(e[i]),r[i]&&r[i]!==i&&a<=100&&n(t,e,r,r[i],a+1)},ru=function(n,t,e,r){var i=e.x-n.x,a=e.y-n.y,s=r.x-n.x,u=r.y-n.y,l=e.x-t.x,d=e.y-t.y,v=r.x-t.x,k=r.y-t.y;return(i*u-a*s)*(l*k-d*v)<=0&&(i*d-a*l)*(s*k-u*v)<=0},cc=function(n,t,e){if(e.width||e.height){var r=uc(e),i=r[0],a=r[1],s=r[2],u=r[3];return ru(n,t,i,a)||ru(n,t,i,u)||ru(n,t,a,s)||ru(n,t,s,u)}return!1},fb=function(n,t,e,r){var i=[];return n.forEach(function(a){if(a!==t&&(a.x===t.x||a.y===t.y)){if(cc(a,t,e)||cc(a,t,r))return;i.push(a)}}),ac(i)},Ap=function(n,t){var e=[],r=n[0];return e.push("M"+r.x+" "+r.y),n.forEach(function(i,a){var s=n[a+1],u=n[a+2];if(s&&u)if(function(k,T,I){return!(k.x===T.x&&T.x===I.x||k.y===T.y&&T.y===I.y)}(i,s,u)){var l=function(k,T,I,j){var F=ds(k,T),B=ds(I,T);return FEe.maxX?[]:[{x:je,y:Ee.minY},{x:je,y:Ee.maxY}]}(me,Te.x).concat(function(Ee,je){return jeEe.maxY?[]:[{x:Ee.minX,y:je},{x:Ee.maxX,y:je}]}(me,Te.y))}(pe,Q).filter(function(me){return tu(me,k)&&tu(me,T)}))}),[{x:I.x,y:j.y},{x:j.x,y:I.y}].forEach(function(pe){tu(pe,k)&&tu(pe,T)&&H.push(pe)}),H.unshift(I),H.push(j);var ve=function(pe,me,Te,Ee,je,Ze,nt){var ct=[],st=[me],It={},gt={},Pt={};gt[me.id]=0,Pt[me.id]=kp(me,Te,me);var Rt,Zt,kt,Vt,Dt,qt={};for(pe.forEach(function(Gt){qt[Gt.id]=Gt});st.length;){if(Rt=void 0,Zt=1/0,st.forEach(function(Gt){Pt[Gt.id]<=Zt&&(Zt=Pt[Gt.id],Rt=Gt)}),Rt===Te){var $t=[];return lb($t,qt,It,Te.id),$t}Vt=Rt,Dt=void 0,(Dt=(kt=st).indexOf(Vt))>-1&&kt.splice(Dt,1),ct.push(Rt),fb(pe,Rt,Ee,je).forEach(function(Gt){if(ct.indexOf(Gt)===-1){st.indexOf(Gt)===-1&&st.push(Gt);var lr=Pt[Rt.id]+ds(Rt,Gt);gt[Gt.id]&&lr>=gt[Gt.id]||(It[Gt.id]=Rt.id,gt[Gt.id]=lr,Pt[Gt.id]=gt[Gt.id]+kp(Gt,Te,me,Ze,nt))}})}return[me,Te]}(H=ac(H),I,j,a,s,n,t);return ve.unshift(n),ve.push(t),Op(ve)},hb={offset:20,maxAllowedDirectionChange:Math.PI/2,maximumLoops:2e3,gridSize:10,directions:[{stepX:1,stepY:0},{stepX:-1,stepY:0},{stepX:0,stepY:1},{stepX:0,stepY:-1}],get penalties(){return{0:0,45:this.gridSize/2,90:this.gridSize/2}},distFunc:function(n,t){return Math.abs(n.x-t.x)+Math.abs(n.y-t.y)},fallbackRoute:function(n,t,e,r,i){return Op(Cp(n,t,e,r,i.offset))}},Vo=function(n,t){var e=Math.round(Math.abs(n/t));return e<0?0:(n<0?-1:1)*e},lc=function(n,t){var e=t.x-n.x,r=t.y-n.y;return e||r?Math.atan2(r,e):0},Tp=function(n,t){var e=Math.abs(n-t);return e>Math.PI?2*Math.PI-e:e},Ip=function(n,t,e){for(var r=1/0,i=0,a=t.length;il.minX&&t.xl.minY&&t.y0&&Ze>0&&(Q=void 0,ve=1/0,Object.keys(T).forEach(function(ct){var st=T[ct].id;B[st]<=ve&&(ve=B[st],Q=T[st])}),Q);){if(k.findIndex(function(ct){return ct.x===Q.x&&ct.y===Q.y})>-1)return db(Q,j,l,t,n,d,s);for(delete T[Q.id],I[Q.id]=!0,U=0;Ua.maxAllowedDirectionChange||u[me.id]||(T[me.id]||(T[me.id]=me),Te=a.distFunc(Q,me)+(isNaN(nt[je])?s:nt[je]),Ee=F[Q.id]+Te,F[me.id]&&Ee>=F[me.id]||(j[me.id]=Q,F[me.id]=Ee,B[me.id]=Ee+Ip(me,k,a.distFunc)));Ze-=1}return a.fallbackRoute(n,t,e,r,a)};Ii("polyline",{options:{color:ir.defaultEdge.color,size:ir.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:ir.defaultEdge.style.stroke,lineAppendWidth:ir.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:ir.edgeLabel.style.fill,fontSize:ir.edgeLabel.style.fontSize}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:Object(m.__assign)({},ir.edgeStateStyles)},shapeType:"polyline",labelPosition:"center",drawShape:function(n,t){var e=this.getShapeStyle(n);return e.radius===0&&delete e.radius,t.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:e})},getShapeStyle:function(n){var t=this.options.style,e={stroke:n.color},r=Object(p.mix)({},t,e,n.style);n=this.getPathPoints(n),this.radius=r.radius,this.offset=r.offset;var i=n.startPoint,a=n.endPoint,s=this.getControlPoints(n),u=[i];s&&(u=u.concat(s)),u.push(a);var l=n.sourceNode,d=n.targetNode,v=r.radius,k=this.options.routeCfg,T=Object(p.mix)({},k,n.routeCfg);T.offset=r.offset;var I=this.getPath(u,l,d,v,T);return(Object(p.isArray)(I)&&I.length<=1||Object(p.isString)(I)&&I.indexOf("L")===-1)&&(I="M0 0, L0 0"),(isNaN(i.x)||isNaN(i.y)||isNaN(a.x)||isNaN(a.y))&&(I="M0 0, L0 0"),Object(p.mix)({},ir.defaultEdge.style,r,{lineWidth:n.size,path:I})},updateShapeStyle:function(n,t){var e=t.getContainer();if(t.isVisible()){var r={stroke:n.color},i=e.find(function(Q){return Q.get("className")==="edge-shape"})||t.getKeyShape(),a=n.size,s=(n=this.getPathPoints(n)).startPoint,u=n.endPoint,l=this.getControlPoints(n),d=[s];l&&(d=d.concat(l)),d.push(u);var v=i.attr(),k=Object(p.mix)({},r,v,n.style),T=n.sourceNode,I=n.targetNode,j=k.radius,F=this.options.routeCfg,B=Object(p.mix)({},F,n.routeCfg);B.offset=k.offset;var U=this.getPath(d,T,I,j,B);(Object(p.isArray)(U)&&U.length<=1||Object(p.isString)(U)&&U.indexOf("L")===-1)&&(U="M0 0, L0 0"),(isNaN(s.x)||isNaN(s.y)||isNaN(u.x)||isNaN(u.y))&&(U="M0 0, L0 0"),v.endArrow&&k.endArrow===!1&&(n.style.endArrow={path:""}),v.startArrow&&k.startArrow===!1&&(n.style.startArrow={path:""});var H=Object(p.mix)(r,i.attr(),{lineWidth:a,path:U},n.style);i&&i.attr(H)}},getPath:function(n,t,e,r,i){var a=i.offset,s=i.simple;if(!a||n.length>2){if(r)return Ap(n,r);var u=[];return Object(p.each)(n,function(d,v){v===0?u.push(["M",d.x,d.y]):u.push(["L",d.x,d.y])}),u}var l=s?Cp(n[n.length-1],n[0],e,t,a):pb(n[0],n[n.length-1],t,e,i);return l&&l.length?r?Ap(l,r):mr.pointsToPolygon(l):"M0 0, L0 0"}},"single-edge");var Pp=No.cloneEvent,Np=No.isNaN,Dp=Math.abs,gb=["shift","ctrl","alt","control"],vb={getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,scalableRange:0,allowDragOnItem:!1}},getEvents:function(){return{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"onMouseUp",keyup:"onKeyUp",focus:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onMouseUp"}},updateViewport:function(n){var t=this.origin,e=+n.clientX,r=+n.clientY;if(!Np(e)&&!Np(r)){var i=e-t.x,a=r-t.y;this.get("direction")==="x"?a=0:this.get("direction")==="y"&&(i=0),this.origin={x:e,y:r};var s=this.graph.get("width"),u=this.graph.get("height"),l=this.graph.get("canvas").getCanvasBBox(),d=this.scalableRange,v=this.scalableRange;d<1&&d>-1&&(d*=s,v*=u),(l.minX<=s+d&&l.minX+i>s+d||l.maxX+d>=0&&l.maxX+d+i<0)&&(i=0),(l.minY<=u+v&&l.minY+a>u+v||l.maxY+v>=0&&l.maxY+v+a<0)&&(a=0),this.graph.translate(i,a)}},onTouchStart:function(n){var t=n.originalEvent.touches,e=t[0],r=t[1];e&&r||(n.preventDefault(),this.onMouseDown(n))},onMouseDown:function(n){var t=n.originalEvent;if((!t||n.name===zt.TOUCHSTART||t.button===0)&&(n.name===zt.TOUCHSTART||typeof window=="undefined"||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin.call(this,n)&&!this.keydown){var e=n.target,r=e&&e.isCanvas&&e.isCanvas();if((this.allowDragOnItem||r)&&(this.origin={x:n.clientX,y:n.clientY},this.dragging=!1,this.enableOptimize)){for(var i=this.graph,a=i.getEdges(),s=0,u=a.length;su)for(var T=r.getNodes(),I=0,j=T.length;I-1?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1}},yb={getDefaultCfg:function(){return{updateEdge:!0,delegateStyle:{},enableDelegate:!1,onlyChangeComboSize:!1,comboActiveState:"",selectedState:"selected",enableOptimize:!1,enableDebounce:!1}},getEvents:function(){return{"node:dragstart":"onDragStart","node:drag":"onDrag","node:dragend":"onDragEnd","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave","combo:drop":"onDropCombo","node:drop":"onDropNode","canvas:drop":"onDropCanvas","node:touchstart":"onTouchStart","node:touchmove":"onTouchMove","node:touchend":"onDragEnd"}},validationCombo:function(n){return!(!this.origin||!n||n.destroyed)&&n.getType()==="combo"},onTouchStart:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return;n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.onDragStart(n)},onTouchMove:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return void this.onDragEnd(n);n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.onDrag(n)},onDragStart:function(n){var t=this;if(this.shouldBegin.call(this,n)){var e=n.item;if(e&&!e.destroyed&&!e.hasLocked()){e.getContainer().set("capture",!1);var r=n.target;if(r&&r.get("isAnchorPoint"))return;var i=this.graph;this.targets=[],this.targetCombo=null;var a=i.findAllByState("node",this.selectedState),s=e.get("id");a.filter(function(l){var d=l.get("id");return s===d}).length===0?this.targets.push(e):a.length>1?a.forEach(function(l){l.hasLocked()||t.targets.push(l)}):this.targets.push(e);var u=[];this.targets.forEach(function(l){u.push(Object(p.clone)(l.getModel()))}),this.set("beforeDragNodes",u),this.hidenEdge={},this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(l){l.getEdges().forEach(function(d){d.isVisible()&&(t.hidenEdge[d.getID()]=!0,d.hide())})}),this.origin={x:n.x,y:n.y},this.point={},this.originPoint={}}}},onDrag:function(n){var t=this;this.origin&&this.shouldUpdate(this,n)&&(this.get("enableDelegate")?this.updateDelegate(n):this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:n,updateEdge:this.get("updateEdge")}):this.targets.map(function(e){t.update(e,n)}))},onDragEnd:function(n){var t=this;if(this.origin&&this.shouldEnd.call(this,n)){var e=n.item;e&&e.getContainer().set("capture",!0),this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.updatePositions(n),this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(a){a.getEdges().forEach(function(s){t.hidenEdge[s.getID()]&&s.show(),s.refresh()})}),this.hidenEdge={};var r=this.graph;if(r.get("enabledStack")){var i={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}};this.get("beforeDragNodes").forEach(function(a){i.before.nodes.push({id:a.id,x:a.x,y:a.y})}),this.targets.forEach(function(a){var s=a.getModel();i.after.nodes.push({id:s.id,x:s.x,y:s.y})}),r.pushStack("update",Object(p.clone)(i))}r.emit("dragnodeend",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null}},onDropCombo:function(n){var t=n.item;if(this.validationCombo(t)){this.updatePositions(n);var e=this.graph;if(this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1),this.targetCombo=t,this.onlyChangeComboSize)e.updateCombos();else{var r=t.getModel();this.targets.map(function(i){i.getModel().comboId!==r.id&&e.updateComboTree(i,r.id)}),e.updateCombo(t)}e.emit("dragnodeend",{items:this.targets,targetItem:this.targetCombo})}},onDropCanvas:function(n){var t=this.graph;this.targets&&this.targets.length!==0&&(this.updatePositions(n),this.onlyChangeComboSize?t.updateCombos():this.targets.map(function(e){e.getModel().comboId&&t.updateComboTree(e)}))},onDropNode:function(n){if(this.targets&&this.targets.length!==0){var t=n.item;this.updatePositions(n);var e=this.graph,r=t.getModel().comboId;if(this.onlyChangeComboSize)e.updateCombos();else if(r){var i=e.findById(r);this.comboActiveState&&e.setItemState(i,this.comboActiveState,!1),this.targets.map(function(a){var s=a.getModel();r!==s.comboId&&e.updateComboTree(a,r)}),e.updateCombo(i)}else this.targets.map(function(a){a.getModel().comboId&&e.updateComboTree(a)});e.emit("dragnodeend",{items:this.targets,targetItem:t})}},onDragEnter:function(n){var t=n.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!0)}},onDragLeave:function(n){var t=n.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1)}},updatePositions:function(n){var t=this;this.targets&&this.targets.length!==0&&this.get("enableDelegate")&&(this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:n,updateEdge:this.get("updateEdge"),updateFunc:this.update}):this.targets.map(function(e){return t.update(e,n)}))},update:function(n,t){var e=this.origin,r=n.get("model"),i=n.get("id");this.point[i]||(this.point[i]={x:r.x||0,y:r.y||0});var a={x:t.x-e.x+this.point[i].x,y:t.y-e.y+this.point[i].y};this.get("updateEdge")?this.graph.updateItem(n,a,!1):n.updatePosition(a)},debounceUpdate:Object(p.debounce)(function(n){var t=n.targets,e=n.graph,r=n.point,i=n.origin,a=n.evt,s=n.updateEdge;n.updateFunc,t.map(function(u){var l=u.get("model"),d=u.get("id");r[d]||(r[d]={x:l.x||0,y:l.y||0});var v={x:a.x-i.x+r[d].x,y:a.y-i.y+r[d].y};s?e.updateItem(u,v,!1):u.updatePosition(v)})},50,!0),updateDelegate:function(n){var t=this.graph;if(this.delegateRect){var e=n.x-this.origin.x+this.originPoint.minX,r=n.y-this.origin.y+this.originPoint.minY;this.delegateRect.attr({x:e,y:r})}else{var i=t.get("group"),a=Object(p.deepMix)({},Xo.delegateStyle,this.delegateStyle),s=this.calculationGroupPosition(n),u=s.x,l=s.y,d=s.width,v=s.height,k=s.minX,T=s.minY;this.originPoint={x:u,y:l,width:d,height:v,minX:k,minY:T},this.delegateRect=i.addShape("rect",{attrs:Object(m.__assign)({width:d,height:v,x:u,y:l},a),name:"rect-delegate-shape"}),this.delegate=this.delegateRect,this.delegateRect.set("capture",!1)}},calculationGroupPosition:function(n){var t=this.targets;t.length===0&&t.push(n.item);for(var e=1/0,r=-1/0,i=1/0,a=-1/0,s=0;sr&&(r=v),k>a&&(a=k)}return{x:Math.floor(e),y:Math.floor(i),width:Math.ceil(r)-Math.floor(e),height:Math.ceil(a)-Math.floor(i),minX:e,minY:i}}},mb={getDefaultCfg:function(){return{trigger:"mouseenter",activeState:"active",inactiveState:"inactive",resetSelected:!1,shouldUpdate:function(){return!0}}},getEvents:function(){return this.get("trigger")==="mouseenter"?{"node:mouseenter":"setAllItemStates","combo:mouseenter":"setAllItemStates","node:mouseleave":"clearActiveState","combo:mouseleave":"clearActiveState"}:{"node:click":"setAllItemStates","combo:click":"setAllItemStates","canvas:click":"clearActiveState","node:touchstart":"setOnTouchStart","combo:touchstart":"setOnTouchStart","canvas:touchstart":"clearOnTouchStart"}},setOnTouchStart:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return;n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.setAllItemStates(n)},clearOnTouchStart:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return;n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.clearActiveState(n)},setAllItemStates:function(n){var t=n.item,e=this.graph;if(this.item=t,this.shouldUpdate(n.item,{event:n,action:"activate"})){for(var r=this.activeState,i=this.inactiveState,a=e.getNodes(),s=e.getCombos(),u=e.getEdges(),l=e.get("vedges"),d=a.length,v=s.length,k=u.length,T=l.length,I=0;I-1||(this.trigger="shift",console.warn("Behavior brush-select \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.trigger==="drag"?{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates"}:{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates",keyup:"onKeyUp",keydown:"onKeyDown"}},onMouseDown:function(n){var t=n.item,e=this.brush;t||(this.trigger==="drag"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(),e||(e=this.createBrush()),this.originPoint={x:n.canvasX,y:n.canvasY},e.attr({width:0,height:0}),e.show(),this.dragging=!0)},onMouseMove:function(n){this.dragging&&(this.trigger==="drag"||this.keydown)&&this.updateBrush(n)},onMouseUp:function(n){this.graph,(this.brush||this.dragging)&&(this.trigger==="drag"||this.keydown)&&(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(n),this.dragging=!1)},clearStates:function(){var n=this.graph,t=this.selectedState,e=n.findAllByState("node",t),r=n.findAllByState("edge",t);e.forEach(function(i){return n.setItemState(i,t,!1)}),r.forEach(function(i){return n.setItemState(i,t,!1)}),this.selectedNodes=[],this.selectedEdges=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),n.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedNodes:function(n){var t=this,e=this.graph,r=this.originPoint,i=this.shouldUpdate,a=this.selectedState,s={x:n.x,y:n.y},u=e.getPointByCanvas(r.x,r.y),l=nu(s.x,u.x),d=Rp(s.x,u.x),v=nu(s.y,u.y),k=Rp(s.y,u.y),T=[],I=[];e.getNodes().forEach(function(F){if(F.isVisible()){var B=F.getBBox();if(B.centerX>=l&&B.centerX<=d&&B.centerY>=v&&B.centerY<=k&&i(F,"select")){T.push(F);var U=F.getModel();I.push(U.id),e.setItemState(F,a,!0)}}});var j=[];this.includeEdges&&T.forEach(function(F){F.getOutEdges().forEach(function(B){if(B.isVisible()){var U=B.getModel(),H=U.source,Q=U.target;I.includes(H)&&I.includes(Q)&&i(B,"select")&&(j.push(B),e.setItemState(B,t.selectedState,!0))}})}),this.selectedEdges=j,this.selectedNodes=T,this.onSelect&&this.onSelect(T,j),e.emit("nodeselectchange",{selectedItems:{nodes:T,edges:j},select:!0})},createBrush:function(){var n=this.graph.get("canvas").addShape("rect",{attrs:this.brushStyle,capture:!1,name:"brush-shape"});return this.brush=n,this.delegate=n,n},updateBrush:function(n){var t=this.originPoint;this.brush.attr({width:Lp(n.canvasX-t.x),height:Lp(n.canvasY-t.y),x:nu(n.canvasX,t.x),y:nu(n.canvasY,t.y)})},onKeyDown:function(n){var t=n.key;if(t){var e=this.trigger.toLowerCase(),r=t.toLowerCase();this.keydown=r===e||r==="control"&&e==="ctrl"||r==="ctrl"&&e==="control"}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.keydown=!1}},wb=["shift","ctrl","alt","control"],_b={getDefaultCfg:function(){return{multiple:!0,trigger:"shift",selectedState:"selected"}},getEvents:function(){return wb.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="shift",console.warn("Behavior brush-select \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.multiple?{"node:click":"onClick","combo:click":"onClick","canvas:click":"onCanvasClick",keyup:"onKeyUp",keydown:"onKeyDown"}:{"node:click":"onClick","combo:click":"onClick","canvas:click":"onCanvasClick"}},onClick:function(n){var t=this,e=n.item;if(e&&!e.destroyed){e.getType();var r=t.graph,i=t.keydown,a=t.multiple,s=t.shouldUpdate;if(t.shouldBegin.call(t,n)){if(!i||!a){var u=r.findAllByState("node",t.selectedState).concat(r.findAllByState("combo",t.selectedState));Object(p.each)(u,function(v){v!==e&&r.setItemState(v,t.selectedState,!1)})}if(e.hasState(t.selectedState)){s.call(t,n)&&r.setItemState(e,t.selectedState,!1);var l=r.findAllByState("node",t.selectedState),d=r.findAllByState("combo",t.selectedState);r.emit("nodeselectchange",{target:e,selectedItems:{nodes:l,combos:d},select:!1})}else s.call(t,n)&&r.setItemState(e,t.selectedState,!0),l=r.findAllByState("node",t.selectedState),d=r.findAllByState("combo",t.selectedState),r.emit("nodeselectchange",{target:e,selectedItems:{nodes:l,combos:d},select:!0})}}},onCanvasClick:function(){var n=this,t=this.graph,e=t.findAllByState("node",this.selectedState);Object(p.each)(e,function(i){t.setItemState(i,n.selectedState,!1)});var r=t.findAllByState("combo",this.selectedState);Object(p.each)(r,function(i){t.setItemState(i,n.selectedState,!1)}),t.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})},onKeyDown:function(n){var t=n.key;t&&(t.toLowerCase()===this.trigger.toLowerCase()||t.toLowerCase()==="control"?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1}},Sb=S.transform,Eb={getDefaultCfg:function(){return{sensitivity:2,minZoom:void 0,maxZoom:void 0,enableOptimize:!1,optimizeZoom:.1,fixSelectedItems:{fixAll:!1,fixLineWidth:!1,fixLabel:!1,fixState:"selected"}}},getEvents:function(){var n=this.fixSelectedItems;return n.fixState||(n.fixState="selected"),n.fixAll&&(n.fixLineWidth=!0,n.fixLabel=!0),{wheel:"onWheel",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd"}},onTouchStart:function(n){var t=n.originalEvent.touches,e=t[0],r=t[1];n.preventDefault(),r&&(this.shouldBegin&&!this.shouldBegin.call(this,n)||(this.startPoint={pageX:e.pageX,pageY:e.pageY},this.moveable=!0,r&&(this.endPoint={pageX:r.pageX,pageY:r.pageY}),this.originScale=this.graph.getZoom()||this.currentScale||1))},onTouchMove:function(n){if(this.moveable){n.preventDefault();var t=n.originalEvent.touches,e=t[0],r=t[1];if(r){this.endPoint||(this.endPoint={pageX:r.pageX,pageY:r.pageY});var i=function(d,v){return Math.hypot(v.x-d.x,v.y-d.y)},a=i({x:e.pageX,y:e.pageY},{x:r.pageX,y:r.pageY})/i({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),s=this.originScale*a;this.currentScale=s;var u=this.get("minZoom")||this.graph.get("minZoom");if(!(s>(this.get("maxZoom")||this.graph.get("maxZoom"))||s(this.get("maxZoom")||e.get("maxZoom"))||ie/2?l-=v.width:l+=this.offset,d>r/2?d-=v.height:d+=this.offset;var k=l+"px",T=d+"px";xn(this.container,{left:k,top:T,visibility:"visible"})}else xn(i,{visibility:"hidden"})},createTooltip:function(n){var t=n.get("el");t.style.position="relative";var e=ei('
    ');return t.parentNode.appendChild(e),xn(e,{position:"absolute",visibility:"visible"}),this.width=n.get("width"),this.height=n.get("height"),this.container=e,this.graph.get("tooltips").push(e),e}},Ob=Object(m.__assign)({getDefaultCfg:function(){return{item:"node",offset:12,formatText:function(n){return n.label}}},getEvents:function(){return{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},Bp),Mb=Object(m.__assign)({getDefaultCfg:function(){return{item:"edge",offset:12,formatText:function(n){return"source: "+n.source+" target: "+n.target}}},getEvents:function(){return{"edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},Bp),kb=["click","dblclick"],Ab={getDefaultCfg:function(){return{trigger:"click",onChange:function(){}}},getEvents:function(){var n,t;return kb.includes(this.trigger)?t=this.trigger:(t="click",console.warn("Behavior collapse-expand \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'click' \u6216 'dblclick'")),(n={})["node:"+t]="onNodeClick",n.touchstart="onNodeClick",n},onNodeClick:function(n){var t=n.item;if(t){var e=this.graph.findDataById(t.get("id"));if(e){var r=e.children;if(r&&r.length!==0){var i=!e.collapsed;this.shouldBegin(n,i)&&(e.collapsed=i,t.getModel().collapsed=i,this.graph.emit("itemcollapsed",{item:n.item,collapsed:i}),this.shouldUpdate(n,i)&&(this.onChange(t,i),this.graph.layout()))}}}}},Cb=No.calculationItemsBBox,Tb={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:"",selectedState:"selected"}},getEvents:function(){return{"combo:dragstart":"onDragStart","combo:drag":"onDrag","combo:dragend":"onDragEnd","combo:drop":"onDrop","node:drop":"onNodeDrop","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave"}},validationCombo:function(n){var t=n.item;return!(!t||t.destroyed)&&!!this.shouldUpdate(this,n)&&t.getType()==="combo"},onDragStart:function(n){var t=this,e=this.graph,r=n.item;if(this.validationCombo(n)){this.targets=[];var i=e.findAllByState("combo",this.selectedState),a=r.get("id");i.filter(function(s){var u=s.get("id");return a===u}).length===0?this.targets.push(r):this.targets=i,this.activeState&&this.targets.map(function(s){var u=s.getModel();if(u.parentId){var l=e.findById(u.parentId);l&&e.setItemState(l,t.activeState,!0)}}),this.point={},this.originPoint={},this.origin={x:n.x,y:n.y},this.currentItemChildCombos=[],function s(u,l){if(l(u)!==!1&&u){var d=u.get("combos");if(d.length===0)return!1;Object(p.each)(d,function(v){s(v,l)})}}(r,function(s){if(s.destroyed)return!1;var u=s.getModel();return t.currentItemChildCombos.push(u.id),!0})}},onDrag:function(n){var t=this;if(this.origin&&this.validationCombo(n))if(this.enableDelegate)this.updateDelegate(n);else{if(this.activeState){var e=this.graph,r=n.item,i=r.getModel(),a=e.getCombos(),s=r.getBBox(),u=s.centerX,l=s.centerY,d=s.width;a.filter(function(v){var k=v.getModel();return i.parentId,k.id!==i.id&&!t.currentItemChildCombos.includes(k.id)}).map(function(v){var k=v.getBBox(),T=k.centerX,I=k.centerY,j=k.width,F=u-T,B=l-I,U=2*Math.sqrt(F*F+B*B);d+j-U>.8*d?e.setItemState(v,t.activeState,!0):e.setItemState(v,t.activeState,!1)})}Object(p.each)(this.targets,function(v){t.updateCombo(v,n)})}},updatePositions:function(n){var t=this;this.enableDelegate&&Object(p.each)(this.targets,function(e){t.updateCombo(e,n)})},onDrop:function(n){var t=this,e=n.item;if(e&&this.targets&&!e.destroyed){this.updatePositions(n);var r=this.graph,i=e.getModel();this.targets.map(function(a){a.getModel().parentId!==i.id?(t.activeState&&r.setItemState(e,t.activeState,!1),t.onlyChangeComboSize?r.updateCombo(a):r.updateComboTree(a,i.id)):r.updateCombo(e)}),this.end(e,n),this.endComparison=!0}},onNodeDrop:function(n){var t=this;if(this.targets&&this.targets.length!==0){this.updatePositions(n);var e,r=this.graph,i=n.item.getModel().comboId;if(i){if(this.activeState){var a=r.findById(i);r.setItemState(a,this.activeState,!1)}this.targets.map(function(s){t.onlyChangeComboSize?r.updateCombo(s):i!==s.getID()&&(e=r.findById(i),i!==s.getModel().parentId&&r.updateComboTree(s,i))})}else this.targets.map(function(s){t.onlyChangeComboSize?r.updateCombo(s):s.getModel().comboId&&r.updateComboTree(s)});this.endComparison=!0,this.end(e,n)}},onDragEnter:function(n){if(this.origin&&this.validationCombo(n)){var t=n.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!0)}},onDragLeave:function(n){if(this.origin&&this.validationCombo(n)){var t=n.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!1)}},onDragEnd:function(n){if(this.targets&&this.targets.length!==0){var t=n.item;this.updatePositions(n);var e=this.getParentCombo(t.getModel().parentId),r=this.graph;e&&this.activeState&&r.setItemState(e,this.activeState,!1),this.end(void 0,n)}},end:function(n,t){var e=this;if(this.origin){var r=this.graph;this.delegateShape&&(r.get("delegateGroup").clear(),this.delegateShape=null),n&&this.activeState&&r.setItemState(n,this.activeState,!1),n||this.targets.map(function(i){e.onlyChangeComboSize?r.updateCombo(i):r.updateComboTree(i)}),this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0}},traverse:function(n,t){var e=this;if(t(n)!==!1&&n){var r=n.get("combos");Object(p.each)(r,function(a){e.traverse(a,t)});var i=n.get("nodes");Object(p.each)(i,function(a){e.traverse(a,t)})}},updateCombo:function(n,t){var e=this;this.traverse(n,function(r){return!r.destroyed&&(e.updateSignleItem(r,t),!0)})},updateSignleItem:function(n,t){var e=this.origin,r=this.graph,i=n.getModel(),a=n.get("id");this.point[a]||(this.point[a]={x:i.x,y:i.y});var s=t.x-e.x+this.point[a].x,u=t.y-e.y+this.point[a].y;r.updateItem(n,{x:s,y:u})},getParentCombo:function(n){var t=this.graph;if(n){var e=t.findById(n);if(e)return e}},updateDelegate:function(n){var t=this.graph;if(this.delegateShape){var e=n.x-this.origin.x+this.originPoint.minX,r=n.y-this.origin.y+this.originPoint.minY;this.delegateShape.attr({x:e,y:r})}else{var i=t.get("delegateGroup"),a=null,s=(a=this.targets.length>1?Cb(this.targets):this.targets[0].getBBox()).x,u=a.y,l=a.width,d=a.height,v=a.minX,k=a.minY;this.originPoint={x:s,y:u,width:l,height:d,minX:v,minY:k};var T=Object(m.__assign)(Object(m.__assign)({},Xo.delegateStyle),this.delegateStyle);this.delegateShape=i.addShape("rect",{attrs:Object(m.__assign)({width:a.width,height:a.height,x:a.x,y:a.y},T),name:"combo-delegate-shape"}),this.delegate=this.delegateShape}}},Ib=["click","dblclick"],jb={getDefaultCfg:function(){return{trigger:"dblclick",relayout:!0}},getEvents:function(){var n,t;return Ib.includes(this.trigger)?t=this.trigger:(t="dblclick",console.warn("Behavior collapse-expand-group \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'click' \u6216 'dblclick'")),(n={})["combo:"+t]="onComboClick",n},onComboClick:function(n){var t=n.item,e=this.graph,r=this.relayout;if(t&&!t.destroyed&&t.getType()==="combo"){var i=t.getModel().id;i&&(e.collapseExpandCombo(i),r&&e.get("layout")?e.layout():e.refreshPositions())}}},Pb=No.isPolygonsIntersect,Nb=No.pathToPoints,Db=["drag","shift","ctrl","alt","control"],Rb=["click","drag"],Lb=["shift","ctrl","control","alt","meta",void 0],Bb=["shift","ctrl","alt","control"],Gb=["shift","ctrl","alt","control"],Fb={"drag-canvas":vb,"zoom-canvas":Eb,"drag-node":yb,"activate-relations":mb,"brush-select":xb,"click-select":_b,"lasso-select":{getDefaultCfg:function(){return{delegateStyle:{fill:"#EEF6FF",fillOpacity:.4,stroke:"#DDEEFE",lineWidth:1},onSelect:function(){},onDeselect:function(){},selectedState:"selected",trigger:"shift",includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return Db.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="shift",console.warn("Behavior lasso-select \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.trigger==="drag"?{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd","canvas:click":"clearStates"}:{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd",keyup:"onKeyUp",keydown:"onKeyDown","canvas:click":"clearStates"}},onDragStart:function(n){var t=this.lasso;n.item||(this.trigger==="drag"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(),t||(t=this.createLasso()),this.dragging=!0,this.originPoint={x:n.x,y:n.y},this.points.push(this.originPoint),t.show())},onDragMove:function(n){this.dragging&&(this.trigger==="drag"||this.keydown)&&(this.points.push({x:n.x,y:n.y}),this.updateLasso(n))},onDragEnd:function(n){(this.lasso||this.dragging)&&(this.trigger==="drag"||this.keydown)&&(this.points.push(this.originPoint),this.getSelectedItems(),this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1)},getLassoPath:function(){var n=this.points,t=[];return n.length&&(n.forEach(function(e,r){r===0?t.push(["M",e.x,e.y]):t.push(["L",e.x,e.y])}),t.push(["L",n[0].x,n[0].y])),t},clearStates:function(){var n=this.graph,t=this.selectedState,e=n.findAllByState("node",t),r=n.findAllByState("edge",t);e.forEach(function(i){return n.setItemState(i,t,!1)}),r.forEach(function(i){return n.setItemState(i,t,!1)}),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],n.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var n=this,t=this.graph,e=this.shouldUpdate,r=this.points.map(function(l){return[t.getCanvasByPoint(l.x,l.y).x,t.getCanvasByPoint(l.x,l.y).y]}),i=this.selectedState,a=[],s=[];t.getNodes().forEach(function(l){if(l.isVisible()&&function(v,k){var T,I=v.getKeyShape();if(v.get("type")==="path")T=Nb(I.attr("path"));else{var j=I.getCanvasBBox();T=[[j.minX,j.minY],[j.maxX,j.minY],[j.maxX,j.maxY],[j.minX,j.maxY]]}return Pb(k,T)}(l,r)&&e(l,"select")){a.push(l);var d=l.getModel();s.push(d.id),t.setItemState(l,i,!0)}});var u=[];this.includeEdges&&a.forEach(function(l){l.getOutEdges().forEach(function(d){if(d.isVisible()){var v=d.getModel(),k=v.source,T=v.target;s.includes(k)&&s.includes(T)&&e(d,"select")&&(u.push(d),t.setItemState(d,n.selectedState,!0))}})}),this.selectedEdges=u,this.selectedNodes=a,this.onSelect&&this.onSelect(a,u),t.emit("nodeselectchange",{selectedItems:{nodes:a,edges:u},select:!0})},createLasso:function(){var n=this.graph.get("delegateGroup").addShape("path",{attrs:Object(m.__assign)({path:[]},this.delegateStyle),capture:!1,name:"lasso-shape"});return this.lasso=n,this.delegate=n,this.points=[],n},updateLasso:function(n){this.lasso.attr({path:this.getLassoPath()})},onKeyDown:function(n){var t=n.key;t&&(t.toLowerCase()===this.trigger.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.lasso&&(this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1),this.keydown=!1}},tooltip:Ob,"edge-tooltip":Mb,"collapse-expand":Ab,"drag-combo":Tb,"collapse-expand-combo":jb,"create-edge":{getDefaultCfg:function(){return{trigger:"click",key:void 0,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var n;return Rb.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="click",console.warn("Behavior create-edge \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'click'\uFF0C'drag'")),this.key&&Lb.indexOf(this.key.toLowerCase())===-1&&(this.trigger=void 0,console.warn("Behavior create-edge \u7684 key \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'shift'\uFF0C'ctrl'\uFF0C'alt'\uFF0C'control'\uFF0C\u6216 undefined")),this.trigger==="drag"?n={"node:dragstart":"onClick","combo:dragstart":"onClick",drag:"updateEndPoint","node:drop":"onClick","combo:drop":"onClick",dragend:"onDragEnd"}:this.trigger==="click"&&(n={"node:click":"onClick",mousemove:"updateEndPoint","edge:click":"cancelCreating","canvas:click":"cancelCreating","combo:click":"onClick"}),this.key&&(n.keydown="onKeyDown",n.keyup="onKeyUp"),n},onDragEnd:function(n){if(!this.key||this.keydown){var t=n.item;t&&t.getID()!==this.source&&t.getType()==="node"||this.cancelCreating({item:this.edge,x:n.x,y:n.y})}},onClick:function(n){if(!this.key||this.keydown){var t=n.item,e=this.graph,r=t.getModel(),i=this.getEdgeConfig;if(this.addingEdge&&this.edge){if(!this.shouldEnd.call(this,n))return;var a=void 0;a=i&&Object(p.isFunction)(i)?i({source:this.source,target:r.id}):this.edgeConfig;var s=Object(m.__assign)({target:r.id},a);if(this.source===r.id&&(s.type="loop"),e.emit("beforecreateedge",{}),e.updateItem(this.edge,s,!1),e.get("enabledStack")){var u=Object(m.__assign)(Object(m.__assign)({},this.edge.getModel()),{itemType:"edge"}),l={};l.edges=[u],e.pushStack("add",{before:{},after:l})}e.emit("aftercreateedge",{edge:this.edge}),this.edge.getKeyShape().set("capture",!0),this.edge=null,this.addingEdge=!1}else{if(!this.shouldBegin.call(this,n))return;a=void 0,a=i&&Object(p.isFunction)(i)?i({source:r.id,target:r.id}):this.edgeConfig,this.edge=e.addItem("edge",Object(m.__assign)({source:r.id,target:r.id},a),!1),this.source=r.id,this.addingEdge=!0,this.edge.getKeyShape().set("capture",!1)}}},updateEndPoint:function(n){if(!this.key||this.keydown){var t={x:n.x,y:n.y};this.graph.findById(this.source)?this.addingEdge&&this.edge&&this.graph.updateItem(this.edge,{target:t},!1):this.addingEdge=!1}},cancelCreating:function(n){if(!this.key||this.keydown){var t=this.graph,e=n.item;if(this.addingEdge&&n.target&&n.target.isCanvas&&n.target.isCanvas())return t.removeItem(this.edge,!1),this.edge=null,void(this.addingEdge=!1);this.addingEdge&&this.edge===e&&(t.removeItem(this.edge,!1),this.edge=null,this.addingEdge=!1)}},onKeyDown:function(n){var t=n.key;t&&(t.toLowerCase()===this.key.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.addingEdge&&this.edge&&(this.graph.removeItem(this.edge,!1),this.addingEdge=!1,this.edge=null),this.keydown=!1}},"shortcuts-call":{getDefaultCfg:function(){return{trigger:"ctrl",combinedKey:"1",functionName:"fitView",functionParams:[]}},getEvents:function(){return Bb.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="ctrl",console.warn("Behavior shortcuts-fit-view \u7684 trigger \u53C2\u6570 '"+this.trigger+"' \u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.combinedKey===this.trigger&&(this.combinedKey=void 0),{keyup:"onKeyUp",keydown:"onKeyDown"}},onKeyDown:function(n){var t=n.key;if(t){var e=this.trigger.toLowerCase(),r=t.toLowerCase();this.triggerKeydown||(this.triggerKeydown=r===e||r==="control"&&e==="ctrl"||r==="ctrl"&&e==="control");var i=this.graph;if(!i[this.functionName])return console.warn("Behavior shortcuts-fit-view \u7684 functionName \u53C2\u6570 '"+this.functionName+"' \u4E0D\u5408\u6CD5\uFF0C\u5B83\u4E0D\u662F Graph \u7684\u4E00\u4E2A\u51FD\u6570\u540D"),{};if(!this.triggerKeydown||this.combinedKey){var a=this.combinedKey.toLowerCase();this.triggerKeydown&&(r===a||r==="control"&&a==="ctrl"||r==="ctrl"&&a==="control")&&(this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]())}else this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]()}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}},"scroll-canvas":{getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,zoomKey:"ctrl",scalableRange:0}},getEvents:function(){return this.zoomKey&&Gb.indexOf(this.zoomKey)!==-1||(this.zoomKey="ctrl"),{wheel:"onWheel"}},onWheel:function(n){var t=this,e=this.graph,r=n[this.zoomKey+"Key"];if(this.zoomKey==="control"&&(r=n.ctrlKey),r){var i=e.get("canvas").getPointByClient(n.clientX,n.clientY),a=e.getZoom();n.wheelDelta>0?a+=.05*a:a-=.05*a,e.zoomTo(a,{x:i.x,y:i.y})}else{var s=n.deltaX||n.movementX,u=n.deltaY||n.movementY;!u&&navigator.userAgent.indexOf("Firefox")>-1&&(u=125*-n.wheelDelta/3);var l=this.graph.get("width"),d=this.graph.get("height"),v=this.graph.get("canvas").getCanvasBBox(),k=this.scalableRange,T=this.scalableRange;k<1&&k>-1&&(k*=l,T*=d);var I=v.minX,j=v.maxX,F=v.minY,B=v.maxY;s>0?j<-k?s=0:j-s<-k&&(s=j+k):s<0&&(I>l+k?s=0:I-s>l+k&&(s=I-(l+k))),u>0?B<-T?u=0:B-u<-T&&(u=B+T):u<0&&(F>d+T?u=0:F-u>d+T&&(u=F-(d+T))),this.get("direction")==="x"?u=0:this.get("direction")==="y"&&(s=0),e.translate(-s,-u)}if(n.preventDefault(),this.get("enableOptimize")){var U=this.get("optimizeZoom"),H=this.get("optimized"),Q=e.getNodes(),ve=e.getEdges(),pe=Q.length,me=ve.length;if(!H){for(var Te=0;Te][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(O,S,g,h){h=h.replace(/ #.*/,"");var y=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(h)[0].replace(/\S\s*$/,"").length,E=parseInt(/\d+[\s+-]*$/.exec(h));return E?(y+=E-1,this.next="mlString"):this.next="mlStringPre",g.length?(g[0]=this.next,g[1]=y):(g.push(this.next),g.push(y)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(O,S,g){var h=g[1];return h>=O.length?(this.next="start",g.shift(),g.shift()):(g[1]=O.length-1,this.next=g[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(O,S,g){var h=g[1];return h>=O.length?(this.next="start",g.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};M.inherits(x,_),f.YamlHighlightRules=x}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(o,f,c){"use strict";var M=o("../range").Range,_=function(){};(function(){this.checkOutdent=function(x,O){return/^\s+$/.test(x)?/^\s*\}/.test(O):!1},this.autoOutdent=function(x,O){var S=x.getLine(O),g=S.match(/^(\s*\})/);if(!g)return 0;var h=g[1].length,y=x.findMatchingBracket({row:O,column:h});if(!y||y.row==O)return 0;var E=this.$getIndent(x.getLine(y.row));x.replace(new M(O,0,O,h-1),E)},this.$getIndent=function(x){return x.match(/^\s*/)[0]}}).call(_.prototype),f.MatchingBraceOutdent=_}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(o,f,c){"use strict";var M=o("../../lib/oop"),_=o("./fold_mode").FoldMode,x=o("../../range").Range,O=f.FoldMode=function(){};M.inherits(O,_),function(){this.getFoldWidgetRange=function(S,g,h){var y=this.indentationBlock(S,h);if(y)return y;var E=/\S/,m=S.getLine(h),p=m.search(E);if(!(p==-1||m[p]!="#")){for(var A=m.length,C=S.getLength(),N=h,P=h;++hN){var z=S.getLine(P).length;return new x(N,A,P,z)}}},this.getFoldWidget=function(S,g,h){var y=S.getLine(h),E=y.search(/\S/),m=S.getLine(h+1),p=S.getLine(h-1),A=p.search(/\S/),C=m.search(/\S/);if(E==-1)return S.foldWidgets[h-1]=A!=-1&&A{let{children:ne}=ie;return ne};function h(ie){return ie!=null}var E=ie=>{let{itemPrefixCls:ne,component:Z,span:V,className:ae,style:we,labelStyle:Ae,contentStyle:se,bordered:ee,label:J,content:Y,colon:q}=ie;const G=Z;return ee?M.createElement(G,{className:f()({[`${ne}-item-label`]:h(J),[`${ne}-item-content`]:h(Y)},ae),style:we,colSpan:V},h(J)&&M.createElement("span",{style:Ae},J),h(Y)&&M.createElement("span",{style:se},Y)):M.createElement(G,{className:f()(`${ne}-item`,ae),style:we,colSpan:V},M.createElement("div",{className:`${ne}-item-container`},(J||J===0)&&M.createElement("span",{className:f()(`${ne}-item-label`,{[`${ne}-item-no-colon`]:!q}),style:Ae},J),(Y||Y===0)&&M.createElement("span",{className:f()(`${ne}-item-content`),style:se},Y)))};function m(ie,ne,Z){let{colon:V,prefixCls:ae,bordered:we}=ne,{component:Ae,type:se,showLabel:ee,showContent:J,labelStyle:Y,contentStyle:q}=Z;return ie.map((G,re)=>{let{props:{label:fe,children:ce,prefixCls:$=ae,className:de,style:Se,labelStyle:Pe,contentStyle:ke,span:Ce=1},key:Re}=G;return typeof Ae=="string"?M.createElement(E,{key:`${se}-${Re||re}`,className:de,style:Se,labelStyle:Object.assign(Object.assign({},Y),Pe),contentStyle:Object.assign(Object.assign({},q),ke),span:Ce,colon:V,component:Ae,itemPrefixCls:$,bordered:we,label:ee?fe:null,content:J?ce:null}):[M.createElement(E,{key:`label-${Re||re}`,className:de,style:Object.assign(Object.assign(Object.assign({},Y),Se),Pe),span:1,colon:V,component:Ae[0],itemPrefixCls:$,bordered:we,label:fe}),M.createElement(E,{key:`content-${Re||re}`,className:de,style:Object.assign(Object.assign(Object.assign({},q),Se),ke),span:Ce*2-1,component:Ae[1],itemPrefixCls:$,bordered:we,content:ce})]})}var A=ie=>{const ne=M.useContext(te),{prefixCls:Z,vertical:V,row:ae,index:we,bordered:Ae}=ie;return V?M.createElement(M.Fragment,null,M.createElement("tr",{key:`label-${we}`,className:`${Z}-row`},m(ae,ie,Object.assign({component:"th",type:"label",showLabel:!0},ne))),M.createElement("tr",{key:`content-${we}`,className:`${Z}-row`},m(ae,ie,Object.assign({component:"td",type:"content",showContent:!0},ne)))):M.createElement("tr",{key:we,className:`${Z}-row`},m(ae,ie,Object.assign({component:Ae?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},ne)))},C=b(67968),N=b(45503),P=b(14747);const L=ie=>{const{componentCls:ne,descriptionsSmallPadding:Z,descriptionsDefaultPadding:V,descriptionsMiddlePadding:ae,descriptionsBg:we}=ie;return{[`&${ne}-bordered`]:{[`${ne}-view`]:{border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${ne}-item-label, ${ne}-item-content`]:{padding:V,borderInlineEnd:`${ie.lineWidth}px ${ie.lineType} ${ie.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${ne}-item-label`]:{backgroundColor:we,"&::after":{display:"none"}},[`${ne}-row`]:{borderBottom:`${ie.lineWidth}px ${ie.lineType} ${ie.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${ne}-middle`]:{[`${ne}-item-label, ${ne}-item-content`]:{padding:ae}},[`&${ne}-small`]:{[`${ne}-item-label, ${ne}-item-content`]:{padding:Z}}}}},z=ie=>{const{componentCls:ne,descriptionsExtraColor:Z,descriptionItemPaddingBottom:V,descriptionsItemLabelColonMarginRight:ae,descriptionsItemLabelColonMarginLeft:we,descriptionsTitleMarginBottom:Ae}=ie;return{[ne]:Object.assign(Object.assign(Object.assign({},(0,P.Wf)(ie)),L(ie)),{["&-rtl"]:{direction:"rtl"},[`${ne}-header`]:{display:"flex",alignItems:"center",marginBottom:Ae},[`${ne}-title`]:Object.assign(Object.assign({},P.vS),{flex:"auto",color:ie.colorText,fontWeight:ie.fontWeightStrong,fontSize:ie.fontSizeLG,lineHeight:ie.lineHeightLG}),[`${ne}-extra`]:{marginInlineStart:"auto",color:Z,fontSize:ie.fontSize},[`${ne}-view`]:{width:"100%",borderRadius:ie.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${ne}-row`]:{"> th, > td":{paddingBottom:V},"&:last-child":{borderBottom:"none"}},[`${ne}-item-label`]:{color:ie.colorText,fontWeight:"normal",fontSize:ie.fontSize,lineHeight:ie.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${we}px ${ae}px`},[`&${ne}-item-no-colon::after`]:{content:'""'}},[`${ne}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${ne}-item-content`]:{display:"table-cell",flex:1,color:ie.colorText,fontSize:ie.fontSize,lineHeight:ie.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${ne}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${ne}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${ne}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${ne}-row`]:{"> th, > td":{paddingBottom:ie.paddingSM}}},"&-small":{[`${ne}-row`]:{"> th, > td":{paddingBottom:ie.paddingXS}}}})}};var X=(0,C.Z)("Descriptions",ie=>{const ne=ie.colorFillAlter,Z=ie.fontSizeSM*ie.lineHeightSM,V=ie.colorText,ae=`${ie.paddingXS}px ${ie.padding}px`,we=`${ie.padding}px ${ie.paddingLG}px`,Ae=`${ie.paddingSM}px ${ie.paddingLG}px`,se=ie.padding,ee=ie.marginXS,J=ie.marginXXS/2,Y=(0,N.TS)(ie,{descriptionsBg:ne,descriptionsTitleMarginBottom:Z,descriptionsExtraColor:V,descriptionItemPaddingBottom:se,descriptionsSmallPadding:ae,descriptionsDefaultPadding:we,descriptionsMiddlePadding:Ae,descriptionsItemLabelColonMarginRight:ee,descriptionsItemLabelColonMarginLeft:J});return[z(Y)]});const te=M.createContext({}),ue={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function le(ie,ne){if(typeof ie=="number")return ie;if(typeof ie=="object")for(let Z=0;Zne)&&(V=(0,x.Tm)(ie,{span:ne})),V}function ye(ie,ne){const Z=(0,c.Z)(ie).filter(Ae=>Ae),V=[];let ae=[],we=ne;return Z.forEach((Ae,se)=>{var ee;const J=(ee=Ae.props)===null||ee===void 0?void 0:ee.span,Y=J||1;if(se===Z.length-1){ae.push(xe(Ae,we,J)),V.push(ae);return}Y{const Ke=Re.subscribe(et=>{typeof ae=="object"&&Se(et)});return()=>{Re.unsubscribe(Ke)}},[]);const Oe=ye(ee,Pe),Le=M.useMemo(()=>({labelStyle:G,contentStyle:re}),[G,re]);return ke(M.createElement(te.Provider,{value:Le},M.createElement("div",{className:f()($,{[`${$}-${q}`]:q&&q!=="default",[`${$}-bordered`]:!!Ae,[`${$}-rtl`]:ce==="rtl"},J,Ce),style:Y},(Z||V)&&M.createElement("div",{className:`${$}-header`},Z&&M.createElement("div",{className:`${$}-title`},Z),V&&M.createElement("div",{className:`${$}-extra`},V)),M.createElement("div",{className:`${$}-view`},M.createElement("table",null,M.createElement("tbody",null,Oe.map((Ke,et)=>M.createElement(A,{key:et,index:et,colon:we,prefixCls:$,vertical:se==="vertical",bordered:Ae,row:Ke}))))))))}W.Item=g;var Ie=W}}]); + `),u=0,l=0,d=!1,v=0,k=0,T=0,I=0,j=0,F=0;a.addEventListener("mousedown",function(G){if(r.refresh=!1,G.target===s){var V=s.style;T=parseInt(V.width,10),I=parseInt(V.height,10);var q=e.get("width"),$=e.get("height");T>q||I>$||(F=i.getZoom(),j=e.get("ratio"),d=!0,u=G.clientX,l=G.clientY)}},!1),a.addEventListener("mousemove",function(G){if(d&&!Object(p.isNil)(G.clientX)&&!Object(p.isNil)(G.clientY)){var V=e.get("width"),q=e.get("height"),$=s.style;v=parseInt($.left,10),k=parseInt($.top,10),T=parseInt($.width,10),I=parseInt($.height,10);var ve=u-G.clientX,de=l-G.clientY;v-ve<0?ve=v:v-ve+T>=V&&(ve=0),k-de<0?de=k:k-de+I>=q&&(de=0),xn(s,{left:(v-=ve)+"px",top:(k-=de)+"px"}),i.translate(ve*F/j,de*F/j),u=G.clientX,l=G.clientY}},!1),a.addEventListener("mouseleave",function(){d=!1,r.refresh=!0},!1),a.addEventListener("mouseup",function(){d=!1,r.refresh=!0},!1),this.set("viewport",s),a.appendChild(s)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get("ratio"),r=this.get("width"),i=this.get("height"),a=this.get("graph"),s=a.get("width"),u=s/a.get("height"),l=a.getGroup(),d=l.getCanvasBBox(),v=[(d.minX+d.maxX)/2,(d.minY+d.maxY)/2],k=[d.maxX-d.minX,d.maxY-d.minY],T={centerX:v[0],centerY:v[1],width:0,height:0,minX:0,minY:0};d[0]/d[1]>u?(T.width=k[0],T.height=T.width/u):(T.height=k[1],T.width=T.height*u),T.minX=v[0]-T.width/2,T.minY=v[1]-T.height/2;var I=l.getMatrix();I||(I=[1,0,0,0,1,0,0,0,1]);var j=Nt.a.invert([1,0,0,0,1,0,0,0,1],I),F=Jm({x:T.minX,y:T.minY},j),G=a.getCanvasByPoint(F.x,F.y),V=this.get("viewport");V||this.initViewport();var q=s/T.width,$=q*r,ve=q*i,de=r*-G.x/T.width,me=i*-G.y/T.height,Ie=de+$,Ee=me+ve;de<0&&($+=de,de=0),Ie>r&&($-=Ie-r),me<0&&(ve+=me,me=0),Ee>i&&(ve-=Ee-i),this.set("ratio",e),xn(V,{left:de+"px",top:me+"px",width:$+"px",height:ve+"px"})}},t.prototype.init=function(){this.initContainer()},t.prototype.initContainer=function(){var e=this.get("graph"),r=e.get("width"),i=e.get("height")/r,a=this.get("className"),s=this.get("container"),u=this.get("width"),l=this.get("height");u||l||(u=200),u?(l=i*u,this.set("height",l)):(u=1/i*l,this.set("width",u));var d=ei("
    ");Object(p.isString)(s)&&(s=document.getElementById(s)),s?s.appendChild(d):e.get("container").appendChild(d),this.set("container",d);var v=ei('
    ');d.appendChild(v);var k=ei('');v.appendChild(k),this.set("containerDOM",v),this.set("containerSpan",k);var T=ei('');this.set("imgDOM",T),this.updateImgSize(),k.appendChild(T),this.updateCanvas()},t.prototype.updateImgSize=function(){var e=this.get("imgDOM"),r=this.get("width"),i=this.get("height");e.onload=function(){var a=function(s,u){var l,d;if(s.naturalWidth)l=s.naturalWidth,d=s.naturalHeight;else{var v=new Image;v.src=s.src,v.onload=function(){u&&u(v.width,v.height)}}return[l,d]}(e);a[0]>a[1]?e.width=r:e.height=i}},t.prototype.updateCanvas=function(){if(this.get("refresh")){var e=this.get("graph");if(!e.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var r=this.get("width")/e.get("canvas").getCanvasBBox().width;this.set("ratio",r),this.updateViewport()}}},t.prototype.getViewport=function(){return this.get("viewport")},t.prototype.getContainer=function(){return this.get("container")},t.prototype.updateGraphImg=function(e){this.get("imgDOM").remove(),this.set("graphImg",e);var r=ei('');this.set("imgDOM",r),r.src=e,this.updateImgSize(),this.get("containerSpan").appendChild(r),this.updateCanvas()},t.prototype.destroy=function(){var e=this.get("container");e.parentNode.removeChild(e)},t}(lo),tb=function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])})(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Sp=function(){return(Sp=Object.assign||function(n){for(var t,e=1,r=arguments.length;e(s||i.get("height"))&&r>1||l<(u||.05*i.get("height"))&&r<1)&&(r=1),l*=r,this.set("r",l),this.filter(e)}},t.prototype.filter=function(e){var r=this.get("graph"),i=r.getNodes(),a={},s=this.get("r"),u=this.get("type"),l={x:e.x,y:e.y};this.updateDelegate(l,s);var d=this.get("shouldShow"),v=this.get("vShapes");v&&v.forEach(function(G){G.remove(),G.destroy()}),v=[],i.forEach(function(G){var V=G.getModel(),q=V.x,$=V.y;rb({x:q,y:$},l)`);a.appendChild(s),this.set("container",s);var u=this.render();xn(s,this.getContainerPos(u)),this.bindEvents()},t.prototype.getContainerPos=function(e){e===void 0&&(e=[0,0]);var r=this.get("graph"),i=this.get("offsetX"),a=this.get("offsetY"),s=this.get("margin"),u=this.get("position").split("-"),l={top:0,right:1,bottom:2,left:3},d={left:(r.getWidth()-e[0])/2+0,top:(r.getHeight()-e[1])/2+0};return u.forEach(function(v){var k=s[l[v]],T=v;switch(v){case"top":case"left":k+=0;break;case"bottom":k=r.getHeight()-e[1]-k+0,T="top";break;default:k=r.getWidth()-e[0]-k+0,T="left"}d[T]=k}),d.top+=a+r.getContainer().offsetTop,d.left+=i+r.getContainer().offsetLeft,Object.keys(d).forEach(function(v){d[v]=d[v]+"px"}),d},t.prototype.bindEvents=function(){var e=this,r=e.get("filter");if(r&&r.enable){var i=r.trigger||"click";cb.includes(i)||(console.warn("Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default."),i="click");var a=e.get("legendCanvas");i==="mouseenter"?(a.on("node-container:mouseenter",function(s){return e.filterData(s)}),a.on("node-container:mouseleave",function(s){e.clearFilter(),e.clearActiveLegend()})):(a.on("node-container:click",function(s){return e.filterData(s)}),a.on("click",function(s){s.target&&s.target.isCanvas&&s.target.isCanvas()&&(e.clearFilter(),e.clearActiveLegend())}))}},t.prototype.changeData=function(e){this.set("data",e);var r=this.render();xn(this.get("container"),this.getContainerPos(r))},t.prototype.activateLegend=function(e){var r=this.get("filter");r!=null&&r.multiple||this.clearActiveLegend();var i=e.get("parent");i.get("active")?(i.set("active",!1),this.findLegendItemsByState("active").length&&i.set("inactive",!0)):(i.set("inactive",!1),i.set("active",!0)),this.findLegendItemsByState("active").length?this.findLegendItemsByState("active","all",!1).forEach(function(v){v.set("inactive",!0)}):this.clearActiveLegend();var a=(r==null?void 0:r.lengedStateStyles)||{},s=(a==null?void 0:a.inactive)||{opacity:.5,"text-shape":{opacity:.5}},u=s["text-shape"]||{};this.findLegendItemsByState("inactive").forEach(function(v){var k=v.get("children"),T=k[0],I=k[1];T.attr(Kn(Kn({},T.get("oriAttrs")),s)),I.attr(Kn(Kn({},I.get("oriAttrs")),u))});var l=(a==null?void 0:a.active)||{stroke:"#000",lineWidth:2,"text-shape":{fontWeight:"bold"}},d=l["text-shape"]||{};this.findLegendItemsByState("active").forEach(function(v){var k=v.get("children"),T=k[0],I=k[1];T.attr(Kn(Kn({},T.get("oriAttrs")),l)),I.attr(Kn(Kn({},I.get("oriAttrs")),d))})},t.prototype.findLegendItemsByState=function(e,r,i){r===void 0&&(r="all"),i===void 0&&(i=!0);var a=this.get("legendCanvas").find(function(l){return l.get("name")==="root"}),s=a.find(function(l){return l.get("name")==="node-group"}),u=a.find(function(l){return l.get("name")==="edge-group"});return r==="node"?s.get("children").filter(function(l){return!!l.get(e)===i}):r==="edge"?u.get("children").filter(function(l){return!!l.get(e)===i}):s.get("children").filter(function(l){return!!l.get(e)===i}).concat(u.get("children").filter(function(l){return!!l.get(e)===i}))},t.prototype.clearActiveLegend=function(){var e=this.get("legendCanvas").find(function(r){return r.get("name")==="root"});[e.find(function(r){return r.get("name")==="node-group"}),e.find(function(r){return r.get("name")==="edge-group"})].forEach(function(r){r.get("children").forEach(function(i){i.set("active",!1),i.set("inactive",!1);var a=i.get("children"),s=a[0],u=a[1];s.attr(s.get("oriAttrs")),u.attr(u.get("oriAttrs"))})})},t.prototype.filterData=function(e){var r=this.get("filter"),i=r==null?void 0:r.filterFunctions;if(r&&i){var a=this.get("legendCanvas"),s=this.get("graph"),u=r.graphActiveState||"active",l=r.graphInactiveState||"inactive",d=r.multiple;this.clearFilter(),d||this.clearActiveLegend(),this.activateLegend(e.target);var v=a.find(function(V){return V.get("name")==="root"}),k=v.find(function(V){return V.get("name")==="node-group"}),T=v.find(function(V){return V.get("name")==="edge-group"}),I=k.get("children").filter(function(V){return V.get("active")}),j=T.get("children").filter(function(V){return V.get("active")}),F=0,G=["getNodes","getEdges"];G.forEach(function(V){s[V]().forEach(function(q){var $=!1;(V==="getNodes"?I:j).forEach(function(ve){var de=i[ve.get("id")];$=$||de(q.getModel())}),$?(s.setItemState(q,l,!1),s.setItemState(q,u,!0),F++):(s.setItemState(q,u,!1),s.setItemState(q,l,!0))})}),F||G.forEach(function(V){s[V]().forEach(function(q){s.clearItemStates(q,[l])})})}},t.prototype.clearFilter=function(){var e=this.get("graph"),r=this.get("filter");if(r){var i=r.graphActiveState||"active",a=r.graphInactiveState||"inactive";e.getNodes().forEach(function(s){e.clearItemStates(s,[i,a])}),e.getEdges().forEach(function(s){e.clearItemStates(s,[i,a])})}},t.prototype.render=function(){var e=this;this.processData();var r=this.get("legendCanvas");if(!r){var i=(r=new Xr.Canvas({container:this.get("container"),width:200,height:200})).addGroup({name:"root"});i.addGroup({name:"node-group"}),i.addGroup({name:"edge-group"}),this.set("legendCanvas",r)}var a=r.find(function(gt){return gt.get("name")==="root"}),s=a.find(function(gt){return gt.get("name")==="node-group"}),u=a.find(function(gt){return gt.get("name")==="edge-group"}),l=this.get("itemsData"),d=[s,u];["nodes","edges"].forEach(function(gt,Pt){l[gt].forEach(function(Rt){var Zt,Ct,Vt=d[Pt].addGroup({id:Rt.id,name:"node-container"}),Dt=Rt.type,qt=e.getShapeSize(Rt),$t=qt.width,Gt=qt.height,lr=qt.r,Br=e.getStyle(gt.substr(0,4),Rt);switch(Rt.type){case"circle":Ct={r:lr,x:0,y:0};break;case"rect":Ct={width:$t,height:Gt,x:-$t/2,y:-Gt/2};break;case"ellipse":Ct={r1:$t,r2:Gt,x:0,y:0};break;case"line":Ct={x1:-$t/2,y1:0,x2:$t/2,y2:0},Dt="line";break;case"quadratic":Ct={path:[["M",-$t/2,0],["Q",0,$t/2,$t/2,0]]},Dt="path";break;case"cubic":Ct={path:[["M",-$t/2,0],["C",-$t/6,$t/2,$t/6,-$t/2,$t/2,0]]},Dt="path";break;default:Ct={r:lr,x:0,y:0}}var wn=Vt.addShape(Dt,{attrs:Kn(Kn({},Ct),Br),name:Rt.type+"-node-keyShape",oriAttrs:Kn({opacity:1},Br)});if(Rt.label){var Sr=wn.getBBox(),jr=((Zt=Rt.labelCfg)===null||Zt===void 0?void 0:Zt.style)||{},_r=Kn({textAlign:"begin",fontSize:12,textBaseline:"middle",fill:"#000",opacity:1,fontWeight:"normal"},jr);Vt.addShape("text",{attrs:Kn({x:Sr.maxX+4,y:0,text:Rt.label},_r),className:"legend-label",name:Rt.type+"-node-text",oriAttrs:_r})}})});var v,k=this.get("padding"),T=a.find(function(gt){return gt.get("name")==="title-container"}),I={height:0,maxY:0,width:0};if(this.get("title")){T||(T=a.addGroup({name:"title-container"}));var j={fontSize:20,fontFamily:"Arial",fontWeight:300,textBaseline:"top",textAlign:"center",fill:"#000",x:0,y:k[0]},F=this.get("titleConfig")||{},G=Object.assign(j,F.style||{});v=T.addShape("text",{attrs:Kn({text:this.get("title")},G)}),I=T.getCanvasBBox(),T.setMatrix([1,0,0,0,1,0,F.offsetX,F.offsetY,1])}this.layoutItems();var V=a.getCanvasBBox(),q=s.getCanvasBBox(),$=q.minX<0?Math.abs(q.minX)+k[3]:k[3],ve=I.maxYk.max&&(k.max=u[0]),Ze>T&&(T=Ze),$.setMatrix([1,0,0,0,1,0,it,ct,1])});var I=k.max-k.min,j={min:0,max:-1/0},F=d.getCanvasBBox();u[0]=0,u[1]=a==="vertical"?F.maxX+r:F.maxY+i,v.get("children").forEach(function($,ve){ve===0&&(j.min=u[0]);var de=$.get("children")[0],me=$.getCanvasBBox(),Ie=de.getBBox(),Ee=Ie.width,Pe=Ie.height,Ze=0,it=0;a==="vertical"?(Ze=u[1],it=u[0],u[0]=it+me.height+i,$.setMatrix([1,0,0,0,1,0,0,it+Pe/2,1])):(Ze=u[0],it=u[1],u[0]=Ze+me.width+r,$.setMatrix([1,0,0,0,1,0,Ze+Ee/2,0,1])),u[0]>j.max&&(j.max=u[0])});var G=j.max-j.min;if(s&&s!==""&&s!=="left"){var V=I-G,q=s==="center"?Math.abs(V)/2:Math.abs(V);(V<0?d:v).get("children").forEach(function($){var ve=$.getMatrix()||[1,0,0,0,1,0,0,0,1];a==="vertical"?ve[7]+=q:ve[6]+=q,$.setMatrix(ve)})}},t.prototype.processData=function(){var e=this.get("data"),r={nodes:[],edges:[]};e.nodes&&(e.nodes.sort(function(i,a){return i.order-a.order}),e.nodes.forEach(function(i){var a,s,u,l,d,v=i.size||[((a=i.style)===null||a===void 0?void 0:a.width)||((s=i.style)===null||s===void 0?void 0:s.r)||8,((u=i.style)===null||u===void 0?void 0:u.height)||((l=i.style)===null||l===void 0?void 0:l.r)||8],k=((d=i.labelCfg)===null||d===void 0?void 0:d.style)||{};r.nodes.push({id:i.id||Object(p.uniqueId)(),type:i.type||"circle",style:Kn({},i.style),order:i.order,label:i.label,itemType:"node",size:v,labelCfg:{position:"right",style:Kn({fontFamily:"Arial"},k)}})})),e.edges&&(e.edges.sort(function(i,a){return i.order-a.order}),e.edges.forEach(function(i){var a,s,u=i.type||"line";i.type==="cubic-horizontal"&&(u="cubic");var l=((a=i.labelCfg)===null||a===void 0?void 0:a.style)||{},d=i.size||[((s=i.style)===null||s===void 0?void 0:s.width)||8,1];r.edges.push({id:i.id||Object(p.uniqueId)(),type:u,size:d,style:Kn({lineWidth:Object(p.isArray)(d)?d[1]:1},i.style),order:i.order,label:i.label,itemType:"edge",labelCfg:{position:"right",style:Kn({fontFamily:"Arial"},l)}})})),this.set("itemsData",r)},t.prototype.getContainer=function(){return this.get("container")},t.prototype.formatArray=function(e){var r=this.get(e);if(Object(p.isNumber)(r))this.set(e,[r,r,r,r]);else if(Object(p.isArray)(r))switch(r.length){case 0:this.set(e,[0,0,0,0]);break;case 1:this.set(e,[r[0],r[0],r[0],r[0]]);break;case 2:this.set(e,[r[0],r[1],r[0],r[1]]);break;case 3:this.set(e,[r[0],r[1],r[2],r[1]])}return this.get(e)},t.prototype.getShapeSize=function(e){var r,i,a;return e.size&&(Object(p.isArray)(e.size)?(r=e.size[0],i=e.size[1]||e.size[0],a=e.size[0]/2):Object(p.isNumber)(e.size)&&(r=e.size,i=e.size,a=e.size/2)),e.style&&(e.style.width&&(r=e.style.width),e.style.height&&(i=e.style.height),e.style.r&&(a=e.style.r)),a||(a=5),r||(r=a),i||(i=a),{width:r,height:i,r:a}},t.prototype.getStyle=function(e,r){return Kn(Kn({},e==="node"?{fill:"#ccc",lineWidth:0}:{stroke:"#000",lineWidth:1}),r.style||{})},t.prototype.destroy=function(){var e=this.get("graph").get("container"),r=this.get("container");e.removeChild(r)},t}(lo)};sn("circle",{options:{size:or.defaultNode.size,style:{x:0,y:0,stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=Object(p.deepMix)({},r,n.icon),s=t.addShape("circle",{attrs:i,className:this.type+"-keyShape",draggable:!0}),u=a.width,l=a.height,d=a.show,v=a.text;return d&&(v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-u/2,y:-l/2},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),s},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n)[0]/2;a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-k,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:k,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-k,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:k,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.deepMix)({},t,e),i=this.getSize(n)[0]/2;return Object(m.__assign)({x:0,y:0,r:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getSize(n),i={stroke:n.color,r:r[0]/2},a=t.get("keyShape"),s=Object(p.deepMix)({},a.attr(),i,n.style);this.updateShape(n,t,s,!0),this.updateLinkPoints(n,e)}},"single-node"),sn("rect",{options:{size:[100,30],style:{radius:0,stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"rect",labelPosition:"center",drawShape:function(n,t){var e=this.getShapeStyle(n),r=t.addShape("rect",{attrs:e,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0});return this.drawLinkPoints(n,t),r},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0],I=k[1];a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T/2,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T/2,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I/2,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I/2,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getSize(n),a=r.width||i[0],s=r.height||i[1];return Object(m.__assign)({x:-a/2,y:-s/2,width:a,height:s},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getSize(n),a=t.get("keyShape");n.size||(i[0]=a.attr("width")||r.width,i[1]=a.attr("height")||r.height);var s={stroke:n.color,x:-i[0]/2,y:-i[1]/2,width:i[0],height:i[1]},u=Object(p.mix)({},r,a.attr(),s);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!1),this.updateLinkPoints(n,e)}},"single-node"),sn("ellipse",{options:{size:[80,40],style:{x:0,y:0,stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"ellipse",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=t.addShape("ellipse",{attrs:i,className:"ellipse-keyShape",name:"ellipse-keyShape",draggable:!0}),s=r.width,u=r.height,l=r.show,d=r.text;return l&&(d?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-s/2,y:-u/2},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),a},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0]/2,I=k[1]/2;a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getSize(n),a=i[0]/2,s=i[1]/2;return Object(m.__assign)({x:0,y:0,rx:a,ry:s},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getSize(n),a={stroke:n.color,rx:i[0]/2,ry:i[1]/2},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)}},"single-node"),sn("diamond",{options:{size:[80,80],style:{stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"diamond",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=t.addShape("path",{attrs:i,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),s=r.width,u=r.height,l=r.show,d=r.text;return l&&(d?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-s/2,y:-u/2},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),a},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0],I=k[1];a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T/2,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T/2,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I/2,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I/2,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},getPath:function(n){var t=this.getSize(n),e=t[0],r=t[1];return[["M",0,-r/2],["L",e/2,0],["L",0,r/2],["L",-e/2,0],["Z"]]},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getPath(n);return Object(m.__assign)({path:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getPath(n),a={stroke:n.color,path:i},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)}},"single-node"),sn("triangle",{options:{size:40,direction:"up",style:{stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20,offset:6},stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"triangle",labelPosition:"bottom",drawShape:function(n,t){var e=this.getOptions(n),r=e.icon,i=r===void 0?{}:r,a=e.direction,s=this.getShapeStyle(n),u=n.direction||a,l=t.addShape("path",{attrs:s,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),d=i.width,v=i.height,k=i.show,T=i.offset,I=i.text;if(k)if(I)t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},i),className:this.type+"-icon",name:this.type+"-icon",draggable:!0});else{var j=-d/2,F=-v/2;u!=="up"&&u!=="down"||(F+=T),u!=="left"&&u!=="right"||(j+=T),t.addShape("image",{attrs:Object(m.__assign)({x:j,y:F},i),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})}return this.drawLinkPoints(n,t),l},drawLinkPoints:function(n,t){var e=this.getOptions(n),r=e.linkPoints,i=r===void 0?{}:r,a=e.direction,s=n.direction||a,u=i.top,l=i.left,d=i.right,v=i.bottom,k=i.size,T=i.r,I=Object(m.__rest)(i,["top","left","right","bottom","size","r"]),j=this.getSize(n)[0];if(l){var F=null,G=j*Math.sin(1/3*Math.PI),V=j*Math.sin(1/3*Math.PI);s==="up"?F=[-V,G]:s==="down"?F=[-V,-G]:s==="left"&&(F=[-V,V-G]),F&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:F[0],y:F[1],r:k/2||T||5}),className:"link-point-left",name:"link-point-left"})}if(d){var q=null;G=j*Math.sin(1/3*Math.PI),V=j*Math.sin(1/3*Math.PI),s==="up"?q=[V,G]:s==="down"?q=[V,-G]:s==="right"&&(q=[V,V-G]),q&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:q[0],y:q[1],r:k/2||T||5}),className:"link-point-right",name:"link-point-right"})}if(u){var $=null;G=j*Math.sin(1/3*Math.PI),V=j*Math.sin(1/3*Math.PI),s==="up"?$=[V-G,-G]:s==="left"?$=[V,-G]:s==="right"&&($=[-V,-G]),$&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:$[0],y:$[1],r:k/2||T||5}),className:"link-point-top",name:"link-point-top"})}if(v){var ve=null;G=j*Math.sin(1/3*Math.PI),V=j*Math.sin(1/3*Math.PI),s==="down"?ve=[-V+G,G]:s==="left"?ve=[V,G]:s==="right"&&(ve=[-V,G]),ve&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},I),{x:ve[0],y:ve[1],r:k/2||T||5}),className:"link-point-bottom",name:"link-point-bottom"})}},getPath:function(n){var t=this.getOptions(n).direction,e=n.direction||t,r=this.getSize(n)[0],i=r*Math.sin(1/3*Math.PI),a=r*Math.sin(1/3*Math.PI),s=[["M",-a,i],["L",0,-i],["L",a,i],["Z"]];return e==="down"?s=[["M",-a,-i],["L",a,-i],["L",0,i],["Z"]]:e==="left"?s=[["M",-a,a-i],["L",a,-a],["L",a,a],["Z"]]:e==="right"&&(s=[["M",a,a-i],["L",-a,a],["L",-a,-a],["Z"]]),s},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getPath(n);return Object(m.__assign)({path:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getPath(n),a={stroke:n.color,path:i},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)},updateLinkPoints:function(n,t){var e=this.getOptions({}),r=e.linkPoints,i=e.direction,a=n.direction||i,s=t.find(function(jt){return jt.get("className")==="link-point-left"}),u=t.find(function(jt){return jt.get("className")==="link-point-right"}),l=t.find(function(jt){return jt.get("className")==="link-point-top"}),d=t.find(function(jt){return jt.get("className")==="link-point-bottom"}),v=r,k=s||u||l||d;k&&(v=k.attr());var T=Object(p.mix)({},v,n.linkPoints),I=T.fill,j=T.stroke,F=T.lineWidth,G=T.size/2;G||(G=T.r);var V=n.linkPoints?n.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},q=V.left,$=V.right,ve=V.top,de=V.bottom,me=this.getSize(n)[0],Ie={r:G,fill:I,stroke:j,lineWidth:F},Ee=null,Pe=me*Math.sin(1/3*Math.PI),Ze=me*Math.sin(1/3*Math.PI);a==="up"?Ee=[-Ze,Pe]:a==="down"?Ee=[-Ze,-Pe]:a==="left"&&(Ee=[-Ze,Ze-Pe]),Ee&&(s?q||q===void 0?s.attr(Object(m.__assign)(Object(m.__assign)({},Ie),{x:Ee[0],y:Ee[1]})):s.remove():q&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Ie),{x:Ee[0],y:Ee[1]}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}));var it=null;a==="up"?it=[Ze,Pe]:a==="down"?it=[Ze,-Pe]:a==="right"&&(it=[Ze,Ze-Pe]),it&&(u?$||$===void 0?u.attr(Object(m.__assign)(Object(m.__assign)({},Ie),{x:it[0],y:it[1]})):u.remove():$&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Ie),{x:it[0],y:it[1]}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}));var ct=null;a==="up"?ct=[Ze-Pe,-Pe]:a==="left"?ct=[Ze,-Pe]:a==="right"&&(ct=[-Ze,-Pe]),ct&&(l?ve||ve===void 0?l.attr(Object(m.__assign)(Object(m.__assign)({},Ie),{x:ct[0],y:ct[1]})):l.remove():ve&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Ie),{x:ct[0],y:ct[1]}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}));var st=null;a==="down"?st=[-Ze+Pe,Pe]:a==="left"?st=[Ze,Pe]:a==="right"&&(st=[-Ze,Pe]),st&&(d?de||de===void 0?d.attr(Object(m.__assign)(Object(m.__assign)({},Ie),{x:st[0],y:st[1]})):d.remove():de&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},Ie),{x:st[0],y:st[1]}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))}},"single-node"),sn("modelRect",{options:{size:[185,70],style:{radius:5,stroke:"#69c0ff",fill:"#ffffff",lineWidth:or.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:"#595959",fontSize:14},offset:30},descriptionCfg:{style:{fontSize:12,fill:"#bfbfbf"},paddingTop:0},preRect:{show:!0,width:4,fill:"#40a9ff",radius:2},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:10,lineWidth:1,fill:"#72CC4A",stroke:"#72CC4A"},logoIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/4f81893c-1806-4de4-aff3-9a6b266bc8a2.svg",width:16,height:16,offset:0},stateIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/300a2523-67e0-4cbf-9d4a-67c077b40395.svg",width:16,height:16,offset:-5},anchorPoints:[[0,.5],[1,.5]]},shapeType:"modelRect",drawShape:function(n,t){var e=this.getOptions(n).preRect,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=this.getSize(n),s=a[0],u=a[1],l=t.addShape("rect",{attrs:i,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),d=r.show,v=Object(m.__rest)(r,["show"]);return d&&t.addShape("rect",{attrs:Object(m.__assign)({x:-s/2,y:-u/2,height:u},v),className:"pre-rect",name:"pre-rect",draggable:!0}),this.drawLogoIcon(n,t),this.drawStateIcon(n,t),this.drawLinkPoints(n,t),l},drawLogoIcon:function(n,t){var e=this.getOptions(n).logoIcon,r=e===void 0?{}:e,i=this.getSize(n)[0];if(r.show){var a=r.width,s=r.height,u=r.x,l=r.y,d=r.offset,v=r.text,k=Object(m.__rest)(r,["width","height","x","y","offset","text"]);v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},k),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:u||-i/2+a+d,y:l||-s/2,width:a,height:s}),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0})}},drawStateIcon:function(n,t){var e=this.getOptions(n).stateIcon,r=e===void 0?{}:e,i=this.getSize(n)[0];if(r.show){var a=r.width,s=r.height,u=r.x,l=r.y,d=r.offset,v=r.text,k=Object(m.__rest)(r,["width","height","x","y","offset","text"]);v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},k),className:"rect-state-icon",name:"rect-state-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:u||i/2-a+d,y:l||-s/2,width:a,height:s}),className:"rect-state-icon",name:"rect-state-icon",draggable:!0})}},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.bottom,l=r.size,d=r.r,v=Object(m.__rest)(r,["top","left","right","bottom","size","r"]),k=this.getSize(n),T=k[0],I=k[1];a&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:-T/2,y:0,r:l/2||d||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),s&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:T/2,y:0,r:l/2||d||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),i&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:-I/2,r:l/2||d||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),u&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},v),{x:0,y:I/2,r:l/2||d||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})},drawLabel:function(n,t){var e=this.getOptions(n),r=e.labelCfg,i=r===void 0?{}:r,a=e.logoIcon,s=a===void 0?{}:a,u=e.descriptionCfg,l=u===void 0?{}:u,d=this.getSize(n)[0],v=null,k=s.show,T=s.width,I=-d/2+i.offset;k&&(I=-d/2+T+i.offset);var j=i.style,F=l.style,G=l.paddingTop;return Object(p.isString)(n.description)?(v=t.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},j),{x:I,y:-5,text:n.label}),className:"text-shape",name:"text-shape",draggable:!0}),t.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},F),{x:I,y:17+(G||0),text:n.description}),className:"rect-description",name:"rect-description",draggable:!0})):v=t.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},j),{x:I,y:7,text:n.label}),className:"text-shape",name:"text-shape",draggable:!0}),v},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getSize(n),a=r.width||i[0],s=r.height||i[1];return Object(m.__assign)({x:-a/2,y:-s/2,width:a,height:s},r)},update:function(n,t){var e=this.getOptions(n),r=e.style,i=r===void 0?{}:r,a=e.labelCfg,s=a===void 0?{}:a,u=e.descriptionCfg,l=u===void 0?{}:u,d=this.getSize(n),v=d[0],k=d[1];t.get("keyShape").attr(Object(m.__assign)(Object(m.__assign)({},i),{x:-v/2,y:-k/2,width:v,height:k}));var T=t.getContainer(),I=T.find(function(Gt){return Gt.get("className")==="rect-logo-icon"}),j=I?I.attr():{},F=Object(p.mix)({},j,n.logoIcon),G=F.width;G===void 0&&(G=this.options.logoIcon.width);var V=n.logoIcon?n.logoIcon.show:void 0,q=s.offset,$=-v/2+G+q;V||V===void 0||($=-v/2+q);var ve=T.find(function(Gt){return Gt.get("className")==="node-label"}),de=T.find(function(Gt){return Gt.get("className")==="rect-description"});if(n.label)if(ve){var me=n.labelCfg?n.labelCfg.style:{},Ie=Object(p.mix)({},ve.attr(),me);n.label&&(Ie.text=n.label),Ie.x=$,Object(p.isString)(n.description)&&(Ie.y=-5),de&&(de.resetMatrix(),de.attr({x:$})),ve.resetMatrix(),ve.attr(Ie)}else T.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},s.style),{x:$,y:n.description?-5:7,text:n.label}),className:"node-label",name:"node-label",draggable:!0});if(Object(p.isString)(n.description)){var Ee=l.paddingTop;if(de){me=n.descriptionCfg?n.descriptionCfg.style:{};var Pe=Object(p.mix)({},de.attr(),me);Object(p.isString)(n.description)&&(Pe.text=n.description),Pe.x=$,de.resetMatrix(),de.attr(Object(m.__assign)(Object(m.__assign)({},Pe),{y:17+(Ee||0)}))}else T.addShape("text",{attrs:Object(m.__assign)(Object(m.__assign)({},l.style),{x:$,y:17+(Ee||0),text:n.description}),className:"rect-description",name:"rect-description",draggable:!0})}var Ze=T.find(function(Gt){return Gt.get("className")==="pre-rect"});if(Ze){var it=Object(p.mix)({},Ze.attr(),n.preRect);Ze.attr(Object(m.__assign)(Object(m.__assign)({},it),{x:-v/2,y:-k/2,height:k}))}if(I)if(V||V===void 0){var ct=F.width,st=F.height,jt=F.x,gt=F.y,Pt=F.offset,Rt=Object(m.__rest)(F,["width","height","x","y","offset"]);I.attr(Object(m.__assign)(Object(m.__assign)({},Rt),{x:jt||-v/2+ct+Pt,y:gt||-st/2,width:ct,height:st}))}else I.remove();else V&&this.drawLogoIcon(n,T);var Zt=T.find(function(Gt){return Gt.get("className")==="rect-state-icon"}),Ct=Zt?Zt.attr():{},Vt=Object(p.mix)({},Ct,n.stateIcon);if(Zt){Vt.show||Vt.show===void 0||Zt.remove();var Dt=Vt.width,qt=(st=Vt.height,jt=Vt.x,gt=Vt.y,Vt.offset),$t=Object(m.__rest)(Vt,["width","height","x","y","offset"]);Zt.attr(Object(m.__assign)(Object(m.__assign)({},$t),{x:jt||v/2-Dt+qt,y:gt||-st/2,width:Dt,height:st}))}else Vt.show&&this.drawStateIcon(n,T);this.updateLinkPoints(n,T)}},"single-node"),sn("star",{options:{size:60,style:{stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"star",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=t.addShape("path",{attrs:i,className:this.type+"-keyShape",name:this.type+"-keyShape",draggable:!0}),s=r.width,u=r.height,l=r.show,d=r.text;return l&&(d?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-s/2,y:-u/2},r),className:this.type+"-icon",name:this.type+"-icon",draggable:!0})),this.drawLinkPoints(n,t),a},drawLinkPoints:function(n,t){var e=this.getOptions(n).linkPoints,r=e===void 0?{}:e,i=r.top,a=r.left,s=r.right,u=r.leftBottom,l=r.rightBottom,d=r.size,v=r.r,k=Object(m.__rest)(r,["top","left","right","leftBottom","rightBottom","size","r"]),T=this.getSize(n)[0];if(s){var I=Math.cos(.1*Math.PI)*T,j=Math.sin(.1*Math.PI)*T;t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-right",name:"link-point-right"})}i&&(I=Math.cos(.5*Math.PI)*T,j=Math.sin(.5*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-top",name:"link-point-top"})),a&&(I=Math.cos(.9*Math.PI)*T,j=Math.sin(.9*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-left",name:"link-point-left"})),u&&(I=Math.cos(1.3*Math.PI)*T,j=Math.sin(1.3*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-left-bottom",name:"link-point-left-bottom"})),l&&(I=Math.cos(1.7*Math.PI)*T,j=Math.sin(1.7*Math.PI)*T,t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},k),{x:I,y:-j,r:d/2||v||5}),className:"link-point-right-bottom",name:"link-point-right-bottom"}))},getPath:function(n){for(var t=this.getSize(n)[0],e=3*t/8,r=n.innerR||e,i=[],a=0;a<5;a++){var s=Math.cos((18+72*a)/180*Math.PI)*t,u=Math.sin((18+72*a)/180*Math.PI)*t,l=Math.cos((54+72*a)/180*Math.PI)*r,d=Math.sin((54+72*a)/180*Math.PI)*r;a===0?i.push(["M",s,-u]):i.push(["L",s,-u]),i.push(["L",l,-d])}return i.push(["Z"]),i},getShapeStyle:function(n){var t=this.getOptions(n).style,e={stroke:n.color},r=Object(p.mix)({},t,e),i=this.getPath(n);return Object(m.__assign)({path:i},r)},update:function(n,t){var e=t.getContainer(),r=this.getOptions({}).style,i=this.getPath(n),a={stroke:n.color,path:i},s=t.get("keyShape"),u=Object(p.mix)({},r,s.attr(),a);u=Object(p.mix)(u,n.style),this.updateShape(n,t,u,!0),this.updateLinkPoints(n,e)},updateLinkPoints:function(n,t){var e=this.getOptions({}).linkPoints,r=t.find(function(Pe){return Pe.get("className")==="link-point-left"}),i=t.find(function(Pe){return Pe.get("className")==="link-point-right"}),a=t.find(function(Pe){return Pe.get("className")==="link-point-top"}),s=t.find(function(Pe){return Pe.get("className")==="link-point-left-bottom"}),u=t.find(function(Pe){return Pe.get("className")==="link-point-right-bottom"}),l=e,d=r||i||a||s||u;d&&(l=d.attr());var v=Object(p.mix)({},l,n.linkPoints),k=v.fill,T=v.stroke,I=v.lineWidth,j=v.size/2;j||(j=v.r);var F=n.linkPoints?n.linkPoints:{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},G=F.left,V=F.right,q=F.top,$=F.leftBottom,ve=F.rightBottom,de=this.getSize(n)[0],me={r:j,fill:k,stroke:T,lineWidth:I},Ie=Math.cos(.1*Math.PI)*de,Ee=Math.sin(.1*Math.PI)*de;i?V||V===void 0?i.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee})):i.remove():V&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}),Ie=Math.cos(.5*Math.PI)*de,Ee=Math.sin(.5*Math.PI)*de,a?q||q===void 0?a.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee})):a.remove():q&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}),Ie=Math.cos(.9*Math.PI)*de,Ee=Math.sin(.9*Math.PI)*de,r?G||G===void 0?r.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee})):r.remove():G&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}),Ie=Math.cos(1.3*Math.PI)*de,Ee=Math.sin(1.3*Math.PI)*de,s?$||$===void 0?s.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee})):s.remove():$&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee}),className:"link-point-left-bottom",name:"link-point-left-bottom",isAnchorPoint:!0}),Ie=Math.cos(1.7*Math.PI)*de,Ee=Math.sin(1.7*Math.PI)*de,u?ve||ve===void 0?u.attr(Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee})):s.remove():ve&&t.addShape("circle",{attrs:Object(m.__assign)(Object(m.__assign)({},me),{x:Ie,y:-Ee}),className:"link-point-right-bottom",name:"link-point-right-bottom",isAnchorPoint:!0})}},"single-node");var hs=br.defaultSubjectColors;sn("donut",{options:{size:or.defaultNode.size,style:{x:0,y:0,stroke:or.defaultNode.style.stroke,fill:or.defaultNode.style.fill,lineWidth:or.defaultNode.style.lineWidth},labelCfg:{style:{fill:or.nodeLabel.style.fill,fontSize:or.nodeLabel.style.fontSize}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:or.defaultNode.linkPoints.size,lineWidth:or.defaultNode.linkPoints.lineWidth,fill:or.defaultNode.linkPoints.fill,stroke:or.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(m.__assign)({},or.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(n,t){var e=this.getOptions(n).icon,r=e===void 0?{}:e,i=this.getShapeStyle(n),a=Object(p.deepMix)({},r,n.icon),s=t.addShape("circle",{attrs:i,className:this.type+"-keyShape",draggable:!0,name:this.type+"-keyShape"}),u=a.width,l=a.height,d=a.show,v=a.text;d&&(v?t.addShape("text",{attrs:Object(m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}):t.addShape("image",{attrs:Object(m.__assign)({x:-u/2,y:-l/2},a),className:this.type+"-icon",name:this.type+"-icon",draggable:!0}));var k=s.attr("r"),T=.6*k,I=(k+T)/2,j=n,F=j.donutAttrs,G=F===void 0?{}:F,V=j.donutColorMap,q=V===void 0?{}:V,$=Object.keys(G).length;if(G&&$>1){var ve=[],de=0;if(Object.keys(G).forEach(function(Pe){var Ze=G[Pe]||0;Object(p.isNumber)(Ze)&&(ve.push({key:Pe,value:Ze,color:q[Pe]}),de+=Ze)}),de){var me=k-T;if($===1)return void t.addShape("circle",{attrs:{r:I,x:0,y:0,stroke:ve[0].color||hs[0],lineWidth:me},name:"fan-shape-0"});var Ie=[I,0],Ee=0;ve.forEach(function(Pe,Ze){var it=Pe.value/de;if(!(it<.001))if(it>.999&&(it=1),it!==1){Pe.percent=it,Pe.angle=it*Math.PI*2,Pe.beginAgnle=Ee,Ee+=Pe.angle,Pe.endAngle=Ee,Pe.arcBegin=Ie,Pe.arcEnd=[I*Math.cos(Pe.endAngle),-I*Math.sin(Pe.endAngle)];var ct=Pe.angle>Math.PI?1:0,st=[["M",Pe.arcBegin[0],Pe.arcBegin[1]],["A",I,I,0,ct,0,Pe.arcEnd[0],Pe.arcEnd[1]],["L",Pe.arcEnd[0],Pe.arcEnd[1]]];t.addShape("path",{attrs:{path:st,lineWidth:me,stroke:Pe.color||hs[Ze%hs.length]},name:"fan-shape-"+Ze}),Ie=Pe.arcEnd}else t.addShape("circle",{attrs:{r:I,x:0,y:0,stroke:Pe.color||hs[Ze%hs.length],lineWidth:me},name:"fan-shape-"+Ze})})}}return this.drawLinkPoints(n,t),s},update:void 0},"circle");var Js=function(n){var t=n.x,e=n.y;return{x:t,y:e,centerX:t,centerY:e,minX:t,minY:e,maxX:t,maxY:e,height:0,width:0}},ac=function(n){for(var t=[],e={},r=n.length-1;r>=0;r--){var i=n[r];i.id=i.x+"|||"+i.y,e[i.id]=i,t.push(i)}return t},Op=function(n){return ac(n)},eu=function(n,t){return n.width||n.height?{centerX:n.centerX,centerY:n.centerY,minX:n.minX-t,minY:n.minY-t,maxX:n.maxX+t,maxY:n.maxY+t,height:n.height+2*t,width:n.width+2*t}:n},sc=function(n,t,e){var r=function(s,u){var l=Math.abs(s.x-u.centerX),d=Math.abs(s.y-u.centerY);return l===0&&d===0?0:l/u.width>d/u.height}(t,n);if(r===0){var i=n.centerX,a=n.centerY;return e.yt.x?i=n.maxX:e.xn.centerX?n.maxX:n.minX,y:t.y}:{x:t.x,y:t.y>n.centerY?n.maxY:n.minY}},Mp=function(n,t){var e=Math.min(n.minX,t.minX),r=Math.min(n.minY,t.minY),i=Math.max(n.maxX,t.maxX),a=Math.max(n.maxY,t.maxY);return{centerX:(e+i)/2,centerY:(r+a)/2,minX:e,minY:r,maxX:i,maxY:a,height:a-r,width:i-e}},uc=function(n){return[{x:n.minX,y:n.minY},{x:n.maxX,y:n.minY},{x:n.maxX,y:n.maxY},{x:n.minX,y:n.maxY}]},tu=function(n,t){var e=n.x,r=n.y;return et.maxX||rt.maxY},ds=function(n,t){return Math.abs(n.x-t.x)+Math.abs(n.y-t.y)},kp=function(n,t,e,r,i){return ds(n,t)+ds(n,e)+function(a,s){var u=0;return s.forEach(function(l){l&&(a.x===l.x&&(u+=-2),a.y===l.y&&(u+=-2))}),u}(n,[t,e,r,i])},lb=function n(t,e,r,i,a){a===void 0&&(a=0),t.unshift(e[i]),r[i]&&r[i]!==i&&a<=100&&n(t,e,r,r[i],a+1)},ru=function(n,t,e,r){var i=e.x-n.x,a=e.y-n.y,s=r.x-n.x,u=r.y-n.y,l=e.x-t.x,d=e.y-t.y,v=r.x-t.x,k=r.y-t.y;return(i*u-a*s)*(l*k-d*v)<=0&&(i*d-a*l)*(s*k-u*v)<=0},cc=function(n,t,e){if(e.width||e.height){var r=uc(e),i=r[0],a=r[1],s=r[2],u=r[3];return ru(n,t,i,a)||ru(n,t,i,u)||ru(n,t,a,s)||ru(n,t,s,u)}return!1},fb=function(n,t,e,r){var i=[];return n.forEach(function(a){if(a!==t&&(a.x===t.x||a.y===t.y)){if(cc(a,t,e)||cc(a,t,r))return;i.push(a)}}),ac(i)},Ap=function(n,t){var e=[],r=n[0];return e.push("M"+r.x+" "+r.y),n.forEach(function(i,a){var s=n[a+1],u=n[a+2];if(s&&u)if(function(k,T,I){return!(k.x===T.x&&T.x===I.x||k.y===T.y&&T.y===I.y)}(i,s,u)){var l=function(k,T,I,j){var F=ds(k,T),G=ds(I,T);return FEe.maxX?[]:[{x:Pe,y:Ee.minY},{x:Pe,y:Ee.maxY}]}(me,Ie.x).concat(function(Ee,Pe){return PeEe.maxY?[]:[{x:Ee.minX,y:Pe},{x:Ee.maxX,y:Pe}]}(me,Ie.y))}(de,$).filter(function(me){return tu(me,k)&&tu(me,T)}))}),[{x:I.x,y:j.y},{x:j.x,y:I.y}].forEach(function(de){tu(de,k)&&tu(de,T)&&q.push(de)}),q.unshift(I),q.push(j);var ve=function(de,me,Ie,Ee,Pe,Ze,it){var ct=[],st=[me],jt={},gt={},Pt={};gt[me.id]=0,Pt[me.id]=kp(me,Ie,me);var Rt,Zt,Ct,Vt,Dt,qt={};for(de.forEach(function(Gt){qt[Gt.id]=Gt});st.length;){if(Rt=void 0,Zt=1/0,st.forEach(function(Gt){Pt[Gt.id]<=Zt&&(Zt=Pt[Gt.id],Rt=Gt)}),Rt===Ie){var $t=[];return lb($t,qt,jt,Ie.id),$t}Vt=Rt,Dt=void 0,(Dt=(Ct=st).indexOf(Vt))>-1&&Ct.splice(Dt,1),ct.push(Rt),fb(de,Rt,Ee,Pe).forEach(function(Gt){if(ct.indexOf(Gt)===-1){st.indexOf(Gt)===-1&&st.push(Gt);var lr=Pt[Rt.id]+ds(Rt,Gt);gt[Gt.id]&&lr>=gt[Gt.id]||(jt[Gt.id]=Rt.id,gt[Gt.id]=lr,Pt[Gt.id]=gt[Gt.id]+kp(Gt,Ie,me,Ze,it))}})}return[me,Ie]}(q=ac(q),I,j,a,s,n,t);return ve.unshift(n),ve.push(t),Op(ve)},hb={offset:20,maxAllowedDirectionChange:Math.PI/2,maximumLoops:2e3,gridSize:10,directions:[{stepX:1,stepY:0},{stepX:-1,stepY:0},{stepX:0,stepY:1},{stepX:0,stepY:-1}],get penalties(){return{0:0,45:this.gridSize/2,90:this.gridSize/2}},distFunc:function(n,t){return Math.abs(n.x-t.x)+Math.abs(n.y-t.y)},fallbackRoute:function(n,t,e,r,i){return Op(Cp(n,t,e,r,i.offset))}},Vo=function(n,t){var e=Math.round(Math.abs(n/t));return e<0?0:(n<0?-1:1)*e},lc=function(n,t){var e=t.x-n.x,r=t.y-n.y;return e||r?Math.atan2(r,e):0},Tp=function(n,t){var e=Math.abs(n-t);return e>Math.PI?2*Math.PI-e:e},Ip=function(n,t,e){for(var r=1/0,i=0,a=t.length;il.minX&&t.xl.minY&&t.y0&&Ze>0&&($=void 0,ve=1/0,Object.keys(T).forEach(function(ct){var st=T[ct].id;G[st]<=ve&&(ve=G[st],$=T[st])}),$);){if(k.findIndex(function(ct){return ct.x===$.x&&ct.y===$.y})>-1)return db($,j,l,t,n,d,s);for(delete T[$.id],I[$.id]=!0,V=0;Va.maxAllowedDirectionChange||u[me.id]||(T[me.id]||(T[me.id]=me),Ie=a.distFunc($,me)+(isNaN(it[Pe])?s:it[Pe]),Ee=F[$.id]+Ie,F[me.id]&&Ee>=F[me.id]||(j[me.id]=$,F[me.id]=Ee,G[me.id]=Ee+Ip(me,k,a.distFunc)));Ze-=1}return a.fallbackRoute(n,t,e,r,a)};Ii("polyline",{options:{color:or.defaultEdge.color,size:or.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:or.defaultEdge.style.stroke,lineAppendWidth:or.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:or.edgeLabel.style.fill,fontSize:or.edgeLabel.style.fontSize}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:Object(m.__assign)({},or.edgeStateStyles)},shapeType:"polyline",labelPosition:"center",drawShape:function(n,t){var e=this.getShapeStyle(n);return e.radius===0&&delete e.radius,t.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:e})},getShapeStyle:function(n){var t=this.options.style,e={stroke:n.color},r=Object(p.mix)({},t,e,n.style);n=this.getPathPoints(n),this.radius=r.radius,this.offset=r.offset;var i=n.startPoint,a=n.endPoint,s=this.getControlPoints(n),u=[i];s&&(u=u.concat(s)),u.push(a);var l=n.sourceNode,d=n.targetNode,v=r.radius,k=this.options.routeCfg,T=Object(p.mix)({},k,n.routeCfg);T.offset=r.offset;var I=this.getPath(u,l,d,v,T);return(Object(p.isArray)(I)&&I.length<=1||Object(p.isString)(I)&&I.indexOf("L")===-1)&&(I="M0 0, L0 0"),(isNaN(i.x)||isNaN(i.y)||isNaN(a.x)||isNaN(a.y))&&(I="M0 0, L0 0"),Object(p.mix)({},or.defaultEdge.style,r,{lineWidth:n.size,path:I})},updateShapeStyle:function(n,t){var e=t.getContainer();if(t.isVisible()){var r={stroke:n.color},i=e.find(function($){return $.get("className")==="edge-shape"})||t.getKeyShape(),a=n.size,s=(n=this.getPathPoints(n)).startPoint,u=n.endPoint,l=this.getControlPoints(n),d=[s];l&&(d=d.concat(l)),d.push(u);var v=i.attr(),k=Object(p.mix)({},r,v,n.style),T=n.sourceNode,I=n.targetNode,j=k.radius,F=this.options.routeCfg,G=Object(p.mix)({},F,n.routeCfg);G.offset=k.offset;var V=this.getPath(d,T,I,j,G);(Object(p.isArray)(V)&&V.length<=1||Object(p.isString)(V)&&V.indexOf("L")===-1)&&(V="M0 0, L0 0"),(isNaN(s.x)||isNaN(s.y)||isNaN(u.x)||isNaN(u.y))&&(V="M0 0, L0 0"),v.endArrow&&k.endArrow===!1&&(n.style.endArrow={path:""}),v.startArrow&&k.startArrow===!1&&(n.style.startArrow={path:""});var q=Object(p.mix)(r,i.attr(),{lineWidth:a,path:V},n.style);i&&i.attr(q)}},getPath:function(n,t,e,r,i){var a=i.offset,s=i.simple;if(!a||n.length>2){if(r)return Ap(n,r);var u=[];return Object(p.each)(n,function(d,v){v===0?u.push(["M",d.x,d.y]):u.push(["L",d.x,d.y])}),u}var l=s?Cp(n[n.length-1],n[0],e,t,a):pb(n[0],n[n.length-1],t,e,i);return l&&l.length?r?Ap(l,r):br.pointsToPolygon(l):"M0 0, L0 0"}},"single-edge");var Pp=No.cloneEvent,Np=No.isNaN,Dp=Math.abs,gb=["shift","ctrl","alt","control"],vb={getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,scalableRange:0,allowDragOnItem:!1}},getEvents:function(){return{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"onMouseUp",keyup:"onKeyUp",focus:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onMouseUp"}},updateViewport:function(n){var t=this.origin,e=+n.clientX,r=+n.clientY;if(!Np(e)&&!Np(r)){var i=e-t.x,a=r-t.y;this.get("direction")==="x"?a=0:this.get("direction")==="y"&&(i=0),this.origin={x:e,y:r};var s=this.graph.get("width"),u=this.graph.get("height"),l=this.graph.get("canvas").getCanvasBBox(),d=this.scalableRange,v=this.scalableRange;d<1&&d>-1&&(d*=s,v*=u),(l.minX<=s+d&&l.minX+i>s+d||l.maxX+d>=0&&l.maxX+d+i<0)&&(i=0),(l.minY<=u+v&&l.minY+a>u+v||l.maxY+v>=0&&l.maxY+v+a<0)&&(a=0),this.graph.translate(i,a)}},onTouchStart:function(n){var t=n.originalEvent.touches,e=t[0],r=t[1];e&&r||(n.preventDefault(),this.onMouseDown(n))},onMouseDown:function(n){var t=n.originalEvent;if((!t||n.name===zt.TOUCHSTART||t.button===0)&&(n.name===zt.TOUCHSTART||typeof window=="undefined"||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin.call(this,n)&&!this.keydown){var e=n.target,r=e&&e.isCanvas&&e.isCanvas();if((this.allowDragOnItem||r)&&(this.origin={x:n.clientX,y:n.clientY},this.dragging=!1,this.enableOptimize)){for(var i=this.graph,a=i.getEdges(),s=0,u=a.length;su)for(var T=r.getNodes(),I=0,j=T.length;I-1?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1}},yb={getDefaultCfg:function(){return{updateEdge:!0,delegateStyle:{},enableDelegate:!1,onlyChangeComboSize:!1,comboActiveState:"",selectedState:"selected",enableOptimize:!1,enableDebounce:!1}},getEvents:function(){return{"node:dragstart":"onDragStart","node:drag":"onDrag","node:dragend":"onDragEnd","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave","combo:drop":"onDropCombo","node:drop":"onDropNode","canvas:drop":"onDropCanvas","node:touchstart":"onTouchStart","node:touchmove":"onTouchMove","node:touchend":"onDragEnd"}},validationCombo:function(n){return!(!this.origin||!n||n.destroyed)&&n.getType()==="combo"},onTouchStart:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return;n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.onDragStart(n)},onTouchMove:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return void this.onDragEnd(n);n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.onDrag(n)},onDragStart:function(n){var t=this;if(this.shouldBegin.call(this,n)){var e=n.item;if(e&&!e.destroyed&&!e.hasLocked()){e.getContainer().set("capture",!1);var r=n.target;if(r&&r.get("isAnchorPoint"))return;var i=this.graph;this.targets=[],this.targetCombo=null;var a=i.findAllByState("node",this.selectedState),s=e.get("id");a.filter(function(l){var d=l.get("id");return s===d}).length===0?this.targets.push(e):a.length>1?a.forEach(function(l){l.hasLocked()||t.targets.push(l)}):this.targets.push(e);var u=[];this.targets.forEach(function(l){u.push(Object(p.clone)(l.getModel()))}),this.set("beforeDragNodes",u),this.hidenEdge={},this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(l){l.getEdges().forEach(function(d){d.isVisible()&&(t.hidenEdge[d.getID()]=!0,d.hide())})}),this.origin={x:n.x,y:n.y},this.point={},this.originPoint={}}}},onDrag:function(n){var t=this;this.origin&&this.shouldUpdate(this,n)&&(this.get("enableDelegate")?this.updateDelegate(n):this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:n,updateEdge:this.get("updateEdge")}):this.targets.map(function(e){t.update(e,n)}))},onDragEnd:function(n){var t=this;if(this.origin&&this.shouldEnd.call(this,n)){var e=n.item;e&&e.getContainer().set("capture",!0),this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.updatePositions(n),this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(a){a.getEdges().forEach(function(s){t.hidenEdge[s.getID()]&&s.show(),s.refresh()})}),this.hidenEdge={};var r=this.graph;if(r.get("enabledStack")){var i={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}};this.get("beforeDragNodes").forEach(function(a){i.before.nodes.push({id:a.id,x:a.x,y:a.y})}),this.targets.forEach(function(a){var s=a.getModel();i.after.nodes.push({id:s.id,x:s.x,y:s.y})}),r.pushStack("update",Object(p.clone)(i))}r.emit("dragnodeend",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null}},onDropCombo:function(n){var t=n.item;if(this.validationCombo(t)){this.updatePositions(n);var e=this.graph;if(this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1),this.targetCombo=t,this.onlyChangeComboSize)e.updateCombos();else{var r=t.getModel();this.targets.map(function(i){i.getModel().comboId!==r.id&&e.updateComboTree(i,r.id)}),e.updateCombo(t)}e.emit("dragnodeend",{items:this.targets,targetItem:this.targetCombo})}},onDropCanvas:function(n){var t=this.graph;this.targets&&this.targets.length!==0&&(this.updatePositions(n),this.onlyChangeComboSize?t.updateCombos():this.targets.map(function(e){e.getModel().comboId&&t.updateComboTree(e)}))},onDropNode:function(n){if(this.targets&&this.targets.length!==0){var t=n.item;this.updatePositions(n);var e=this.graph,r=t.getModel().comboId;if(this.onlyChangeComboSize)e.updateCombos();else if(r){var i=e.findById(r);this.comboActiveState&&e.setItemState(i,this.comboActiveState,!1),this.targets.map(function(a){var s=a.getModel();r!==s.comboId&&e.updateComboTree(a,r)}),e.updateCombo(i)}else this.targets.map(function(a){a.getModel().comboId&&e.updateComboTree(a)});e.emit("dragnodeend",{items:this.targets,targetItem:t})}},onDragEnter:function(n){var t=n.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!0)}},onDragLeave:function(n){var t=n.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1)}},updatePositions:function(n){var t=this;this.targets&&this.targets.length!==0&&this.get("enableDelegate")&&(this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:n,updateEdge:this.get("updateEdge"),updateFunc:this.update}):this.targets.map(function(e){return t.update(e,n)}))},update:function(n,t){var e=this.origin,r=n.get("model"),i=n.get("id");this.point[i]||(this.point[i]={x:r.x||0,y:r.y||0});var a={x:t.x-e.x+this.point[i].x,y:t.y-e.y+this.point[i].y};this.get("updateEdge")?this.graph.updateItem(n,a,!1):n.updatePosition(a)},debounceUpdate:Object(p.debounce)(function(n){var t=n.targets,e=n.graph,r=n.point,i=n.origin,a=n.evt,s=n.updateEdge;n.updateFunc,t.map(function(u){var l=u.get("model"),d=u.get("id");r[d]||(r[d]={x:l.x||0,y:l.y||0});var v={x:a.x-i.x+r[d].x,y:a.y-i.y+r[d].y};s?e.updateItem(u,v,!1):u.updatePosition(v)})},50,!0),updateDelegate:function(n){var t=this.graph;if(this.delegateRect){var e=n.x-this.origin.x+this.originPoint.minX,r=n.y-this.origin.y+this.originPoint.minY;this.delegateRect.attr({x:e,y:r})}else{var i=t.get("group"),a=Object(p.deepMix)({},Xo.delegateStyle,this.delegateStyle),s=this.calculationGroupPosition(n),u=s.x,l=s.y,d=s.width,v=s.height,k=s.minX,T=s.minY;this.originPoint={x:u,y:l,width:d,height:v,minX:k,minY:T},this.delegateRect=i.addShape("rect",{attrs:Object(m.__assign)({width:d,height:v,x:u,y:l},a),name:"rect-delegate-shape"}),this.delegate=this.delegateRect,this.delegateRect.set("capture",!1)}},calculationGroupPosition:function(n){var t=this.targets;t.length===0&&t.push(n.item);for(var e=1/0,r=-1/0,i=1/0,a=-1/0,s=0;sr&&(r=v),k>a&&(a=k)}return{x:Math.floor(e),y:Math.floor(i),width:Math.ceil(r)-Math.floor(e),height:Math.ceil(a)-Math.floor(i),minX:e,minY:i}}},mb={getDefaultCfg:function(){return{trigger:"mouseenter",activeState:"active",inactiveState:"inactive",resetSelected:!1,shouldUpdate:function(){return!0}}},getEvents:function(){return this.get("trigger")==="mouseenter"?{"node:mouseenter":"setAllItemStates","combo:mouseenter":"setAllItemStates","node:mouseleave":"clearActiveState","combo:mouseleave":"clearActiveState"}:{"node:click":"setAllItemStates","combo:click":"setAllItemStates","canvas:click":"clearActiveState","node:touchstart":"setOnTouchStart","combo:touchstart":"setOnTouchStart","canvas:touchstart":"clearOnTouchStart"}},setOnTouchStart:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return;n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.setAllItemStates(n)},clearOnTouchStart:function(n){try{var t=n.originalEvent.touches,e=t[0],r=t[1];if(e&&r)return;n.preventDefault()}catch(i){console.warn("Touch original event not exist!")}this.clearActiveState(n)},setAllItemStates:function(n){var t=n.item,e=this.graph;if(this.item=t,this.shouldUpdate(n.item,{event:n,action:"activate"})){for(var r=this.activeState,i=this.inactiveState,a=e.getNodes(),s=e.getCombos(),u=e.getEdges(),l=e.get("vedges"),d=a.length,v=s.length,k=u.length,T=l.length,I=0;I-1||(this.trigger="shift",console.warn("Behavior brush-select \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.trigger==="drag"?{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates"}:{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates",keyup:"onKeyUp",keydown:"onKeyDown"}},onMouseDown:function(n){var t=n.item,e=this.brush;t||(this.trigger==="drag"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(),e||(e=this.createBrush()),this.originPoint={x:n.canvasX,y:n.canvasY},e.attr({width:0,height:0}),e.show(),this.dragging=!0)},onMouseMove:function(n){this.dragging&&(this.trigger==="drag"||this.keydown)&&this.updateBrush(n)},onMouseUp:function(n){this.graph,(this.brush||this.dragging)&&(this.trigger==="drag"||this.keydown)&&(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(n),this.dragging=!1)},clearStates:function(){var n=this.graph,t=this.selectedState,e=n.findAllByState("node",t),r=n.findAllByState("edge",t);e.forEach(function(i){return n.setItemState(i,t,!1)}),r.forEach(function(i){return n.setItemState(i,t,!1)}),this.selectedNodes=[],this.selectedEdges=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),n.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedNodes:function(n){var t=this,e=this.graph,r=this.originPoint,i=this.shouldUpdate,a=this.selectedState,s={x:n.x,y:n.y},u=e.getPointByCanvas(r.x,r.y),l=nu(s.x,u.x),d=Rp(s.x,u.x),v=nu(s.y,u.y),k=Rp(s.y,u.y),T=[],I=[];e.getNodes().forEach(function(F){if(F.isVisible()){var G=F.getBBox();if(G.centerX>=l&&G.centerX<=d&&G.centerY>=v&&G.centerY<=k&&i(F,"select")){T.push(F);var V=F.getModel();I.push(V.id),e.setItemState(F,a,!0)}}});var j=[];this.includeEdges&&T.forEach(function(F){F.getOutEdges().forEach(function(G){if(G.isVisible()){var V=G.getModel(),q=V.source,$=V.target;I.includes(q)&&I.includes($)&&i(G,"select")&&(j.push(G),e.setItemState(G,t.selectedState,!0))}})}),this.selectedEdges=j,this.selectedNodes=T,this.onSelect&&this.onSelect(T,j),e.emit("nodeselectchange",{selectedItems:{nodes:T,edges:j},select:!0})},createBrush:function(){var n=this.graph.get("canvas").addShape("rect",{attrs:this.brushStyle,capture:!1,name:"brush-shape"});return this.brush=n,this.delegate=n,n},updateBrush:function(n){var t=this.originPoint;this.brush.attr({width:Lp(n.canvasX-t.x),height:Lp(n.canvasY-t.y),x:nu(n.canvasX,t.x),y:nu(n.canvasY,t.y)})},onKeyDown:function(n){var t=n.key;if(t){var e=this.trigger.toLowerCase(),r=t.toLowerCase();this.keydown=r===e||r==="control"&&e==="ctrl"||r==="ctrl"&&e==="control"}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.keydown=!1}},wb=["shift","ctrl","alt","control"],_b={getDefaultCfg:function(){return{multiple:!0,trigger:"shift",selectedState:"selected"}},getEvents:function(){return wb.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="shift",console.warn("Behavior brush-select \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.multiple?{"node:click":"onClick","combo:click":"onClick","canvas:click":"onCanvasClick",keyup:"onKeyUp",keydown:"onKeyDown"}:{"node:click":"onClick","combo:click":"onClick","canvas:click":"onCanvasClick"}},onClick:function(n){var t=this,e=n.item;if(e&&!e.destroyed){e.getType();var r=t.graph,i=t.keydown,a=t.multiple,s=t.shouldUpdate;if(t.shouldBegin.call(t,n)){if(!i||!a){var u=r.findAllByState("node",t.selectedState).concat(r.findAllByState("combo",t.selectedState));Object(p.each)(u,function(v){v!==e&&r.setItemState(v,t.selectedState,!1)})}if(e.hasState(t.selectedState)){s.call(t,n)&&r.setItemState(e,t.selectedState,!1);var l=r.findAllByState("node",t.selectedState),d=r.findAllByState("combo",t.selectedState);r.emit("nodeselectchange",{target:e,selectedItems:{nodes:l,combos:d},select:!1})}else s.call(t,n)&&r.setItemState(e,t.selectedState,!0),l=r.findAllByState("node",t.selectedState),d=r.findAllByState("combo",t.selectedState),r.emit("nodeselectchange",{target:e,selectedItems:{nodes:l,combos:d},select:!0})}}},onCanvasClick:function(){var n=this,t=this.graph,e=t.findAllByState("node",this.selectedState);Object(p.each)(e,function(i){t.setItemState(i,n.selectedState,!1)});var r=t.findAllByState("combo",this.selectedState);Object(p.each)(r,function(i){t.setItemState(i,n.selectedState,!1)}),t.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})},onKeyDown:function(n){var t=n.key;t&&(t.toLowerCase()===this.trigger.toLowerCase()||t.toLowerCase()==="control"?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1}},Sb=S.transform,Eb={getDefaultCfg:function(){return{sensitivity:2,minZoom:void 0,maxZoom:void 0,enableOptimize:!1,optimizeZoom:.1,fixSelectedItems:{fixAll:!1,fixLineWidth:!1,fixLabel:!1,fixState:"selected"}}},getEvents:function(){var n=this.fixSelectedItems;return n.fixState||(n.fixState="selected"),n.fixAll&&(n.fixLineWidth=!0,n.fixLabel=!0),{wheel:"onWheel",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd"}},onTouchStart:function(n){var t=n.originalEvent.touches,e=t[0],r=t[1];n.preventDefault(),r&&(this.shouldBegin&&!this.shouldBegin.call(this,n)||(this.startPoint={pageX:e.pageX,pageY:e.pageY},this.moveable=!0,r&&(this.endPoint={pageX:r.pageX,pageY:r.pageY}),this.originScale=this.graph.getZoom()||this.currentScale||1))},onTouchMove:function(n){if(this.moveable){n.preventDefault();var t=n.originalEvent.touches,e=t[0],r=t[1];if(r){this.endPoint||(this.endPoint={pageX:r.pageX,pageY:r.pageY});var i=function(d,v){return Math.hypot(v.x-d.x,v.y-d.y)},a=i({x:e.pageX,y:e.pageY},{x:r.pageX,y:r.pageY})/i({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),s=this.originScale*a;this.currentScale=s;var u=this.get("minZoom")||this.graph.get("minZoom");if(!(s>(this.get("maxZoom")||this.graph.get("maxZoom"))||s(this.get("maxZoom")||e.get("maxZoom"))||ie/2?l-=v.width:l+=this.offset,d>r/2?d-=v.height:d+=this.offset;var k=l+"px",T=d+"px";xn(this.container,{left:k,top:T,visibility:"visible"})}else xn(i,{visibility:"hidden"})},createTooltip:function(n){var t=n.get("el");t.style.position="relative";var e=ei('
    ');return t.parentNode.appendChild(e),xn(e,{position:"absolute",visibility:"visible"}),this.width=n.get("width"),this.height=n.get("height"),this.container=e,this.graph.get("tooltips").push(e),e}},Ob=Object(m.__assign)({getDefaultCfg:function(){return{item:"node",offset:12,formatText:function(n){return n.label}}},getEvents:function(){return{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},Bp),Mb=Object(m.__assign)({getDefaultCfg:function(){return{item:"edge",offset:12,formatText:function(n){return"source: "+n.source+" target: "+n.target}}},getEvents:function(){return{"edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},Bp),kb=["click","dblclick"],Ab={getDefaultCfg:function(){return{trigger:"click",onChange:function(){}}},getEvents:function(){var n,t;return kb.includes(this.trigger)?t=this.trigger:(t="click",console.warn("Behavior collapse-expand \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'click' \u6216 'dblclick'")),(n={})["node:"+t]="onNodeClick",n.touchstart="onNodeClick",n},onNodeClick:function(n){var t=n.item;if(t){var e=this.graph.findDataById(t.get("id"));if(e){var r=e.children;if(r&&r.length!==0){var i=!e.collapsed;this.shouldBegin(n,i)&&(e.collapsed=i,t.getModel().collapsed=i,this.graph.emit("itemcollapsed",{item:n.item,collapsed:i}),this.shouldUpdate(n,i)&&(this.onChange(t,i),this.graph.layout()))}}}}},Cb=No.calculationItemsBBox,Tb={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:"",selectedState:"selected"}},getEvents:function(){return{"combo:dragstart":"onDragStart","combo:drag":"onDrag","combo:dragend":"onDragEnd","combo:drop":"onDrop","node:drop":"onNodeDrop","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave"}},validationCombo:function(n){var t=n.item;return!(!t||t.destroyed)&&!!this.shouldUpdate(this,n)&&t.getType()==="combo"},onDragStart:function(n){var t=this,e=this.graph,r=n.item;if(this.validationCombo(n)){this.targets=[];var i=e.findAllByState("combo",this.selectedState),a=r.get("id");i.filter(function(s){var u=s.get("id");return a===u}).length===0?this.targets.push(r):this.targets=i,this.activeState&&this.targets.map(function(s){var u=s.getModel();if(u.parentId){var l=e.findById(u.parentId);l&&e.setItemState(l,t.activeState,!0)}}),this.point={},this.originPoint={},this.origin={x:n.x,y:n.y},this.currentItemChildCombos=[],function s(u,l){if(l(u)!==!1&&u){var d=u.get("combos");if(d.length===0)return!1;Object(p.each)(d,function(v){s(v,l)})}}(r,function(s){if(s.destroyed)return!1;var u=s.getModel();return t.currentItemChildCombos.push(u.id),!0})}},onDrag:function(n){var t=this;if(this.origin&&this.validationCombo(n))if(this.enableDelegate)this.updateDelegate(n);else{if(this.activeState){var e=this.graph,r=n.item,i=r.getModel(),a=e.getCombos(),s=r.getBBox(),u=s.centerX,l=s.centerY,d=s.width;a.filter(function(v){var k=v.getModel();return i.parentId,k.id!==i.id&&!t.currentItemChildCombos.includes(k.id)}).map(function(v){var k=v.getBBox(),T=k.centerX,I=k.centerY,j=k.width,F=u-T,G=l-I,V=2*Math.sqrt(F*F+G*G);d+j-V>.8*d?e.setItemState(v,t.activeState,!0):e.setItemState(v,t.activeState,!1)})}Object(p.each)(this.targets,function(v){t.updateCombo(v,n)})}},updatePositions:function(n){var t=this;this.enableDelegate&&Object(p.each)(this.targets,function(e){t.updateCombo(e,n)})},onDrop:function(n){var t=this,e=n.item;if(e&&this.targets&&!e.destroyed){this.updatePositions(n);var r=this.graph,i=e.getModel();this.targets.map(function(a){a.getModel().parentId!==i.id?(t.activeState&&r.setItemState(e,t.activeState,!1),t.onlyChangeComboSize?r.updateCombo(a):r.updateComboTree(a,i.id)):r.updateCombo(e)}),this.end(e,n),this.endComparison=!0}},onNodeDrop:function(n){var t=this;if(this.targets&&this.targets.length!==0){this.updatePositions(n);var e,r=this.graph,i=n.item.getModel().comboId;if(i){if(this.activeState){var a=r.findById(i);r.setItemState(a,this.activeState,!1)}this.targets.map(function(s){t.onlyChangeComboSize?r.updateCombo(s):i!==s.getID()&&(e=r.findById(i),i!==s.getModel().parentId&&r.updateComboTree(s,i))})}else this.targets.map(function(s){t.onlyChangeComboSize?r.updateCombo(s):s.getModel().comboId&&r.updateComboTree(s)});this.endComparison=!0,this.end(e,n)}},onDragEnter:function(n){if(this.origin&&this.validationCombo(n)){var t=n.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!0)}},onDragLeave:function(n){if(this.origin&&this.validationCombo(n)){var t=n.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!1)}},onDragEnd:function(n){if(this.targets&&this.targets.length!==0){var t=n.item;this.updatePositions(n);var e=this.getParentCombo(t.getModel().parentId),r=this.graph;e&&this.activeState&&r.setItemState(e,this.activeState,!1),this.end(void 0,n)}},end:function(n,t){var e=this;if(this.origin){var r=this.graph;this.delegateShape&&(r.get("delegateGroup").clear(),this.delegateShape=null),n&&this.activeState&&r.setItemState(n,this.activeState,!1),n||this.targets.map(function(i){e.onlyChangeComboSize?r.updateCombo(i):r.updateComboTree(i)}),this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0}},traverse:function(n,t){var e=this;if(t(n)!==!1&&n){var r=n.get("combos");Object(p.each)(r,function(a){e.traverse(a,t)});var i=n.get("nodes");Object(p.each)(i,function(a){e.traverse(a,t)})}},updateCombo:function(n,t){var e=this;this.traverse(n,function(r){return!r.destroyed&&(e.updateSignleItem(r,t),!0)})},updateSignleItem:function(n,t){var e=this.origin,r=this.graph,i=n.getModel(),a=n.get("id");this.point[a]||(this.point[a]={x:i.x,y:i.y});var s=t.x-e.x+this.point[a].x,u=t.y-e.y+this.point[a].y;r.updateItem(n,{x:s,y:u})},getParentCombo:function(n){var t=this.graph;if(n){var e=t.findById(n);if(e)return e}},updateDelegate:function(n){var t=this.graph;if(this.delegateShape){var e=n.x-this.origin.x+this.originPoint.minX,r=n.y-this.origin.y+this.originPoint.minY;this.delegateShape.attr({x:e,y:r})}else{var i=t.get("delegateGroup"),a=null,s=(a=this.targets.length>1?Cb(this.targets):this.targets[0].getBBox()).x,u=a.y,l=a.width,d=a.height,v=a.minX,k=a.minY;this.originPoint={x:s,y:u,width:l,height:d,minX:v,minY:k};var T=Object(m.__assign)(Object(m.__assign)({},Xo.delegateStyle),this.delegateStyle);this.delegateShape=i.addShape("rect",{attrs:Object(m.__assign)({width:a.width,height:a.height,x:a.x,y:a.y},T),name:"combo-delegate-shape"}),this.delegate=this.delegateShape}}},Ib=["click","dblclick"],jb={getDefaultCfg:function(){return{trigger:"dblclick",relayout:!0}},getEvents:function(){var n,t;return Ib.includes(this.trigger)?t=this.trigger:(t="dblclick",console.warn("Behavior collapse-expand-group \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'click' \u6216 'dblclick'")),(n={})["combo:"+t]="onComboClick",n},onComboClick:function(n){var t=n.item,e=this.graph,r=this.relayout;if(t&&!t.destroyed&&t.getType()==="combo"){var i=t.getModel().id;i&&(e.collapseExpandCombo(i),r&&e.get("layout")?e.layout():e.refreshPositions())}}},Pb=No.isPolygonsIntersect,Nb=No.pathToPoints,Db=["drag","shift","ctrl","alt","control"],Rb=["click","drag"],Lb=["shift","ctrl","control","alt","meta",void 0],Bb=["shift","ctrl","alt","control"],Gb=["shift","ctrl","alt","control"],Fb={"drag-canvas":vb,"zoom-canvas":Eb,"drag-node":yb,"activate-relations":mb,"brush-select":xb,"click-select":_b,"lasso-select":{getDefaultCfg:function(){return{delegateStyle:{fill:"#EEF6FF",fillOpacity:.4,stroke:"#DDEEFE",lineWidth:1},onSelect:function(){},onDeselect:function(){},selectedState:"selected",trigger:"shift",includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return Db.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="shift",console.warn("Behavior lasso-select \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.trigger==="drag"?{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd","canvas:click":"clearStates"}:{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd",keyup:"onKeyUp",keydown:"onKeyDown","canvas:click":"clearStates"}},onDragStart:function(n){var t=this.lasso;n.item||(this.trigger==="drag"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(),t||(t=this.createLasso()),this.dragging=!0,this.originPoint={x:n.x,y:n.y},this.points.push(this.originPoint),t.show())},onDragMove:function(n){this.dragging&&(this.trigger==="drag"||this.keydown)&&(this.points.push({x:n.x,y:n.y}),this.updateLasso(n))},onDragEnd:function(n){(this.lasso||this.dragging)&&(this.trigger==="drag"||this.keydown)&&(this.points.push(this.originPoint),this.getSelectedItems(),this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1)},getLassoPath:function(){var n=this.points,t=[];return n.length&&(n.forEach(function(e,r){r===0?t.push(["M",e.x,e.y]):t.push(["L",e.x,e.y])}),t.push(["L",n[0].x,n[0].y])),t},clearStates:function(){var n=this.graph,t=this.selectedState,e=n.findAllByState("node",t),r=n.findAllByState("edge",t);e.forEach(function(i){return n.setItemState(i,t,!1)}),r.forEach(function(i){return n.setItemState(i,t,!1)}),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],n.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var n=this,t=this.graph,e=this.shouldUpdate,r=this.points.map(function(l){return[t.getCanvasByPoint(l.x,l.y).x,t.getCanvasByPoint(l.x,l.y).y]}),i=this.selectedState,a=[],s=[];t.getNodes().forEach(function(l){if(l.isVisible()&&function(v,k){var T,I=v.getKeyShape();if(v.get("type")==="path")T=Nb(I.attr("path"));else{var j=I.getCanvasBBox();T=[[j.minX,j.minY],[j.maxX,j.minY],[j.maxX,j.maxY],[j.minX,j.maxY]]}return Pb(k,T)}(l,r)&&e(l,"select")){a.push(l);var d=l.getModel();s.push(d.id),t.setItemState(l,i,!0)}});var u=[];this.includeEdges&&a.forEach(function(l){l.getOutEdges().forEach(function(d){if(d.isVisible()){var v=d.getModel(),k=v.source,T=v.target;s.includes(k)&&s.includes(T)&&e(d,"select")&&(u.push(d),t.setItemState(d,n.selectedState,!0))}})}),this.selectedEdges=u,this.selectedNodes=a,this.onSelect&&this.onSelect(a,u),t.emit("nodeselectchange",{selectedItems:{nodes:a,edges:u},select:!0})},createLasso:function(){var n=this.graph.get("delegateGroup").addShape("path",{attrs:Object(m.__assign)({path:[]},this.delegateStyle),capture:!1,name:"lasso-shape"});return this.lasso=n,this.delegate=n,this.points=[],n},updateLasso:function(n){this.lasso.attr({path:this.getLassoPath()})},onKeyDown:function(n){var t=n.key;t&&(t.toLowerCase()===this.trigger.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.lasso&&(this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1),this.keydown=!1}},tooltip:Ob,"edge-tooltip":Mb,"collapse-expand":Ab,"drag-combo":Tb,"collapse-expand-combo":jb,"create-edge":{getDefaultCfg:function(){return{trigger:"click",key:void 0,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var n;return Rb.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="click",console.warn("Behavior create-edge \u7684 trigger \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'click'\uFF0C'drag'")),this.key&&Lb.indexOf(this.key.toLowerCase())===-1&&(this.trigger=void 0,console.warn("Behavior create-edge \u7684 key \u53C2\u6570\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'shift'\uFF0C'ctrl'\uFF0C'alt'\uFF0C'control'\uFF0C\u6216 undefined")),this.trigger==="drag"?n={"node:dragstart":"onClick","combo:dragstart":"onClick",drag:"updateEndPoint","node:drop":"onClick","combo:drop":"onClick",dragend:"onDragEnd"}:this.trigger==="click"&&(n={"node:click":"onClick",mousemove:"updateEndPoint","edge:click":"cancelCreating","canvas:click":"cancelCreating","combo:click":"onClick"}),this.key&&(n.keydown="onKeyDown",n.keyup="onKeyUp"),n},onDragEnd:function(n){if(!this.key||this.keydown){var t=n.item;t&&t.getID()!==this.source&&t.getType()==="node"||this.cancelCreating({item:this.edge,x:n.x,y:n.y})}},onClick:function(n){if(!this.key||this.keydown){var t=n.item,e=this.graph,r=t.getModel(),i=this.getEdgeConfig;if(this.addingEdge&&this.edge){if(!this.shouldEnd.call(this,n))return;var a=void 0;a=i&&Object(p.isFunction)(i)?i({source:this.source,target:r.id}):this.edgeConfig;var s=Object(m.__assign)({target:r.id},a);if(this.source===r.id&&(s.type="loop"),e.emit("beforecreateedge",{}),e.updateItem(this.edge,s,!1),e.get("enabledStack")){var u=Object(m.__assign)(Object(m.__assign)({},this.edge.getModel()),{itemType:"edge"}),l={};l.edges=[u],e.pushStack("add",{before:{},after:l})}e.emit("aftercreateedge",{edge:this.edge}),this.edge.getKeyShape().set("capture",!0),this.edge=null,this.addingEdge=!1}else{if(!this.shouldBegin.call(this,n))return;a=void 0,a=i&&Object(p.isFunction)(i)?i({source:r.id,target:r.id}):this.edgeConfig,this.edge=e.addItem("edge",Object(m.__assign)({source:r.id,target:r.id},a),!1),this.source=r.id,this.addingEdge=!0,this.edge.getKeyShape().set("capture",!1)}}},updateEndPoint:function(n){if(!this.key||this.keydown){var t={x:n.x,y:n.y};this.graph.findById(this.source)?this.addingEdge&&this.edge&&this.graph.updateItem(this.edge,{target:t},!1):this.addingEdge=!1}},cancelCreating:function(n){if(!this.key||this.keydown){var t=this.graph,e=n.item;if(this.addingEdge&&n.target&&n.target.isCanvas&&n.target.isCanvas())return t.removeItem(this.edge,!1),this.edge=null,void(this.addingEdge=!1);this.addingEdge&&this.edge===e&&(t.removeItem(this.edge,!1),this.edge=null,this.addingEdge=!1)}},onKeyDown:function(n){var t=n.key;t&&(t.toLowerCase()===this.key.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.addingEdge&&this.edge&&(this.graph.removeItem(this.edge,!1),this.addingEdge=!1,this.edge=null),this.keydown=!1}},"shortcuts-call":{getDefaultCfg:function(){return{trigger:"ctrl",combinedKey:"1",functionName:"fitView",functionParams:[]}},getEvents:function(){return Bb.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="ctrl",console.warn("Behavior shortcuts-fit-view \u7684 trigger \u53C2\u6570 '"+this.trigger+"' \u4E0D\u5408\u6CD5\uFF0C\u8BF7\u8F93\u5165 'drag'\u3001'shift'\u3001'ctrl' \u6216 'alt'")),this.combinedKey===this.trigger&&(this.combinedKey=void 0),{keyup:"onKeyUp",keydown:"onKeyDown"}},onKeyDown:function(n){var t=n.key;if(t){var e=this.trigger.toLowerCase(),r=t.toLowerCase();this.triggerKeydown||(this.triggerKeydown=r===e||r==="control"&&e==="ctrl"||r==="ctrl"&&e==="control");var i=this.graph;if(!i[this.functionName])return console.warn("Behavior shortcuts-fit-view \u7684 functionName \u53C2\u6570 '"+this.functionName+"' \u4E0D\u5408\u6CD5\uFF0C\u5B83\u4E0D\u662F Graph \u7684\u4E00\u4E2A\u51FD\u6570\u540D"),{};if(!this.triggerKeydown||this.combinedKey){var a=this.combinedKey.toLowerCase();this.triggerKeydown&&(r===a||r==="control"&&a==="ctrl"||r==="ctrl"&&a==="control")&&(this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]())}else this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]()}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}},"scroll-canvas":{getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,zoomKey:"ctrl",scalableRange:0}},getEvents:function(){return this.zoomKey&&Gb.indexOf(this.zoomKey)!==-1||(this.zoomKey="ctrl"),{wheel:"onWheel"}},onWheel:function(n){var t=this,e=this.graph,r=n[this.zoomKey+"Key"];if(this.zoomKey==="control"&&(r=n.ctrlKey),r){var i=e.get("canvas").getPointByClient(n.clientX,n.clientY),a=e.getZoom();n.wheelDelta>0?a+=.05*a:a-=.05*a,e.zoomTo(a,{x:i.x,y:i.y})}else{var s=n.deltaX||n.movementX,u=n.deltaY||n.movementY;!u&&navigator.userAgent.indexOf("Firefox")>-1&&(u=125*-n.wheelDelta/3);var l=this.graph.get("width"),d=this.graph.get("height"),v=this.graph.get("canvas").getCanvasBBox(),k=this.scalableRange,T=this.scalableRange;k<1&&k>-1&&(k*=l,T*=d);var I=v.minX,j=v.maxX,F=v.minY,G=v.maxY;s>0?j<-k?s=0:j-s<-k&&(s=j+k):s<0&&(I>l+k?s=0:I-s>l+k&&(s=I-(l+k))),u>0?G<-T?u=0:G-u<-T&&(u=G+T):u<0&&(F>d+T?u=0:F-u>d+T&&(u=F-(d+T))),this.get("direction")==="x"?u=0:this.get("direction")==="y"&&(s=0),e.translate(-s,-u)}if(n.preventDefault(),this.get("enableOptimize")){var V=this.get("optimizeZoom"),q=this.get("optimized"),$=e.getNodes(),ve=e.getEdges(),de=$.length,me=ve.length;if(!q){for(var Ie=0;Ie][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(O,S,g,h){h=h.replace(/ #.*/,"");var y=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(h)[0].replace(/\S\s*$/,"").length,E=parseInt(/\d+[\s+-]*$/.exec(h));return E?(y+=E-1,this.next="mlString"):this.next="mlStringPre",g.length?(g[0]=this.next,g[1]=y):(g.push(this.next),g.push(y)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)$/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(O,S,g){var h=g[1];return h>=O.length?(this.next="start",g.shift(),g.shift()):(g[1]=O.length-1,this.next=g[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(O,S,g){var h=g[1];return h>=O.length?(this.next="start",g.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};M.inherits(x,_),f.YamlHighlightRules=x}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(o,f,c){"use strict";var M=o("../range").Range,_=function(){};(function(){this.checkOutdent=function(x,O){return/^\s+$/.test(x)?/^\s*\}/.test(O):!1},this.autoOutdent=function(x,O){var S=x.getLine(O),g=S.match(/^(\s*\})/);if(!g)return 0;var h=g[1].length,y=x.findMatchingBracket({row:O,column:h});if(!y||y.row==O)return 0;var E=this.$getIndent(x.getLine(y.row));x.replace(new M(O,0,O,h-1),E)},this.$getIndent=function(x){return x.match(/^\s*/)[0]}}).call(_.prototype),f.MatchingBraceOutdent=_}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(o,f,c){"use strict";var M=o("../../lib/oop"),_=o("./fold_mode").FoldMode,x=o("../../range").Range,O=f.FoldMode=function(){};M.inherits(O,_),function(){this.commentBlock=function(S,g){var h=/\S/,y=S.getLine(g),E=y.search(h);if(!(E==-1||y[E]!="#")){for(var m=y.length,p=S.getLength(),A=g,C=g;++gA){var P=S.getLine(C).length;return new x(A,m,C,P)}}},this.getFoldWidgetRange=function(S,g,h){var y=this.indentationBlock(S,h);if(y||(y=this.commentBlock(S,h),y))return y},this.getFoldWidget=function(S,g,h){var y=S.getLine(h),E=y.search(/\S/),m=S.getLine(h+1),p=S.getLine(h-1),A=p.search(/\S/),C=m.search(/\S/);if(E==-1)return S.foldWidgets[h-1]=A!=-1&&AP){var ae=S.getLine(L).length;return new x(P,C,L,ae)}}},this.getFoldWidget=function(S,g,h){var y=S.getLine(h),E=y.search(/\S/),m=S.getLine(h+1),p=S.getLine(h-1),A=p.search(/\S/),C=m.search(/\S/),N=y[E]==="-";if(E==-1)return S.foldWidgets[h-1]=A!=-1&&A(0,E.Z)(U).map(X=>Object.assign(Object.assign({},X==null?void 0:X.props),{key:X.key}));function A(U,X,B){const J=o.useMemo(()=>X||p(B),[X,B]);return o.useMemo(()=>J.map(ie=>{var{span:Z}=ie,fe=m(ie,["span"]);return Object.assign(Object.assign({},fe),{span:typeof Z=="number"?Z:(0,M.m9)(U,Z)})}),[J,U])}function C(U,X,B){let J=U,ne=!1;return(B===void 0||B>X)&&(J=Object.assign(Object.assign({},U),{span:X}),ne=B!==void 0),[J,ne]}function N(U,X){const B=[];let J=[],ne=X,ie=!1;return U.filter(Z=>Z).forEach((Z,fe)=>{const _e=Z==null?void 0:Z.span,je=_e||1;if(fe===U.length-1){const[Me,Ae]=C(Z,ne,_e);ie=ie||Ae,J.push(Me),B.push(J);return}if(je{const[B,J]=(0,o.useMemo)(()=>N(X,U),[X,U]);return B},H=U=>{let{children:X}=U;return X};function re(U){return U!=null}var ue=U=>{const{itemPrefixCls:X,component:B,span:J,className:ne,style:ie,labelStyle:Z,contentStyle:fe,bordered:_e,label:je,content:Me,colon:Ae,type:Le}=U,Se=B;return _e?o.createElement(Se,{className:c()({[`${X}-item-label`]:Le==="label",[`${X}-item-content`]:Le==="content"},ne),style:ie,colSpan:J},re(je)&&o.createElement("span",{style:Z},je),re(Me)&&o.createElement("span",{style:fe},Me)):o.createElement(Se,{className:c()(`${X}-item`,ne),style:ie,colSpan:J},o.createElement("div",{className:`${X}-item-container`},(je||je===0)&&o.createElement("span",{className:c()(`${X}-item-label`,{[`${X}-item-no-colon`]:!Ae}),style:Z},je),(Me||Me===0)&&o.createElement("span",{className:c()(`${X}-item-content`),style:fe},Me)))};function xe(U,X,B){let{colon:J,prefixCls:ne,bordered:ie}=X,{component:Z,type:fe,showLabel:_e,showContent:je,labelStyle:Me,contentStyle:Ae}=B;return U.map((Le,Se)=>{let{label:Re,children:Ke,prefixCls:Je=ne,className:nt,style:dt,labelStyle:kt,contentStyle:At,span:It=1,key:Kt}=Le;return typeof Z=="string"?o.createElement(ue,{key:`${fe}-${Kt||Se}`,className:nt,style:dt,labelStyle:Object.assign(Object.assign({},Me),kt),contentStyle:Object.assign(Object.assign({},Ae),At),span:It,colon:J,component:Z,itemPrefixCls:Je,bordered:ie,label:_e?Re:null,content:je?Ke:null,type:fe}):[o.createElement(ue,{key:`label-${Kt||Se}`,className:nt,style:Object.assign(Object.assign(Object.assign({},Me),dt),kt),span:1,colon:J,component:Z[0],itemPrefixCls:Je,bordered:ie,label:Re,type:"label"}),o.createElement(ue,{key:`content-${Kt||Se}`,className:nt,style:Object.assign(Object.assign(Object.assign({},Ae),dt),At),span:It*2-1,component:Z[1],itemPrefixCls:Je,bordered:ie,content:Ke,type:"content"})]})}var Y=U=>{const X=o.useContext(y),{prefixCls:B,vertical:J,row:ne,index:ie,bordered:Z}=U;return J?o.createElement(o.Fragment,null,o.createElement("tr",{key:`label-${ie}`,className:`${B}-row`},xe(ne,U,Object.assign({component:"th",type:"label",showLabel:!0},X))),o.createElement("tr",{key:`content-${ie}`,className:`${B}-row`},xe(ne,U,Object.assign({component:"td",type:"content",showContent:!0},X)))):o.createElement("tr",{key:ie,className:`${B}-row`},xe(ne,U,Object.assign({component:Z?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},X)))},Ce=b(54548),ge=b(14747),he=b(91945),Q=b(45503);const W=U=>{const{componentCls:X,labelBg:B}=U;return{[`&${X}-bordered`]:{[`> ${X}-view`]:{border:`${(0,Ce.bf)(U.lineWidth)} ${U.lineType} ${U.colorSplit}`,"> table":{tableLayout:"auto"},[`${X}-row`]:{borderBottom:`${(0,Ce.bf)(U.lineWidth)} ${U.lineType} ${U.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${X}-item-label, > ${X}-item-content`]:{padding:`${(0,Ce.bf)(U.padding)} ${(0,Ce.bf)(U.paddingLG)}`,borderInlineEnd:`${(0,Ce.bf)(U.lineWidth)} ${U.lineType} ${U.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${X}-item-label`]:{color:U.colorTextSecondary,backgroundColor:B,"&::after":{display:"none"}}}},[`&${X}-middle`]:{[`${X}-row`]:{[`> ${X}-item-label, > ${X}-item-content`]:{padding:`${(0,Ce.bf)(U.paddingSM)} ${(0,Ce.bf)(U.paddingLG)}`}}},[`&${X}-small`]:{[`${X}-row`]:{[`> ${X}-item-label, > ${X}-item-content`]:{padding:`${(0,Ce.bf)(U.paddingXS)} ${(0,Ce.bf)(U.padding)}`}}}}}},le=U=>{const{componentCls:X,extraColor:B,itemPaddingBottom:J,colonMarginRight:ne,colonMarginLeft:ie,titleMarginBottom:Z}=U;return{[X]:Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(U)),W(U)),{["&-rtl"]:{direction:"rtl"},[`${X}-header`]:{display:"flex",alignItems:"center",marginBottom:Z},[`${X}-title`]:Object.assign(Object.assign({},ge.vS),{flex:"auto",color:U.titleColor,fontWeight:U.fontWeightStrong,fontSize:U.fontSizeLG,lineHeight:U.lineHeightLG}),[`${X}-extra`]:{marginInlineStart:"auto",color:B,fontSize:U.fontSize},[`${X}-view`]:{width:"100%",borderRadius:U.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${X}-row`]:{"> th, > td":{paddingBottom:J},"&:last-child":{borderBottom:"none"}},[`${X}-item-label`]:{color:U.colorTextTertiary,fontWeight:"normal",fontSize:U.fontSize,lineHeight:U.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,Ce.bf)(ie)} ${(0,Ce.bf)(ne)}`},[`&${X}-item-no-colon::after`]:{content:'""'}},[`${X}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${X}-item-content`]:{display:"table-cell",flex:1,color:U.contentColor,fontSize:U.fontSize,lineHeight:U.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${X}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${X}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${X}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${X}-row`]:{"> th, > td":{paddingBottom:U.paddingSM}}},"&-small":{[`${X}-row`]:{"> th, > td":{paddingBottom:U.paddingXS}}}})}},Oe=U=>({labelBg:U.colorFillAlter,titleColor:U.colorText,titleMarginBottom:U.fontSizeSM*U.lineHeightSM,itemPaddingBottom:U.padding,colonMarginRight:U.marginXS,colonMarginLeft:U.marginXXS/2,contentColor:U.colorText,extraColor:U.colorText});var Te=(0,he.I$)("Descriptions",U=>{const X=(0,Q.TS)(U,{});return le(X)},Oe),se=function(U,X){var B={};for(var J in U)Object.prototype.hasOwnProperty.call(U,J)&&X.indexOf(J)<0&&(B[J]=U[J]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,J=Object.getOwnPropertySymbols(U);ne{const{prefixCls:X,title:B,extra:J,column:ne,colon:ie=!0,bordered:Z,layout:fe,children:_e,className:je,rootClassName:Me,style:Ae,size:Le,labelStyle:Se,contentStyle:Re,items:Ke}=U,Je=se(U,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:nt,direction:dt,descriptions:kt}=o.useContext(_.E_),At=nt("descriptions",X),It=(0,O.Z)(),Kt=o.useMemo(()=>{var Rr;return typeof ne=="number"?ne:(Rr=(0,M.m9)(It,Object.assign(Object.assign({},g),ne)))!==null&&Rr!==void 0?Rr:3},[It,ne]),Qt=A(It,Ke,_e),tr=(0,x.Z)(Le),nr=L(Kt,Qt),[Mr,ar,yr]=Te(At),mr=o.useMemo(()=>({labelStyle:Se,contentStyle:Re}),[Se,Re]);return Mr(o.createElement(y.Provider,{value:mr},o.createElement("div",Object.assign({className:c()(At,kt==null?void 0:kt.className,{[`${At}-${tr}`]:tr&&tr!=="default",[`${At}-bordered`]:!!Z,[`${At}-rtl`]:dt==="rtl"},je,Me,ar,yr),style:Object.assign(Object.assign({},kt==null?void 0:kt.style),Ae)},Je),(B||J)&&o.createElement("div",{className:`${At}-header`},B&&o.createElement("div",{className:`${At}-title`},B),J&&o.createElement("div",{className:`${At}-extra`},J)),o.createElement("div",{className:`${At}-view`},o.createElement("table",null,o.createElement("tbody",null,nr.map((Rr,pr)=>o.createElement(Y,{key:pr,index:pr,colon:ie,prefixCls:At,vertical:fe==="vertical",bordered:Z,row:Rr}))))))))};ee.Item=H;var te=ee}}]); diff --git a/statics/8703.ea20ddd5.async.js b/statics/8703.ea20ddd5.async.js new file mode 100644 index 00000000..654d5cba --- /dev/null +++ b/statics/8703.ea20ddd5.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8703],{38703:function(at,pe,C){C.d(pe,{Z:function(){return ot}});var s=C(67294),ve=C(76278),me=C(64894),he=C(17012),Ce=C(62208),ye=C(93967),T=C.n(ye),Se=C(98423),be=C(53124),te=C(87462),X=C(1413),re=C(45987),oe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var t=(0,s.useRef)([]),r=(0,s.useRef)(null);return(0,s.useEffect)(function(){var o=Date.now(),n=!1;t.current.forEach(function(c){if(!!c){n=!0;var i=c.style;i.transitionDuration=".3s, .3s, .3s, .06s",r.current&&o-r.current<100&&(i.transitionDuration="0s, 0s")}}),n&&(r.current=Date.now())}),t.current},ke=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],$e=function(t){var r=(0,X.Z)((0,X.Z)({},oe),t),o=r.className,n=r.percent,c=r.prefixCls,i=r.strokeColor,a=r.strokeLinecap,l=r.strokeWidth,u=r.style,d=r.trailColor,v=r.trailWidth,m=r.transition,k=(0,re.Z)(r,ke);delete k.gapPosition;var h=Array.isArray(n)?n:[n],p=Array.isArray(i)?i:[i],g=ne(),$=l/2,y=100-l/2,S="M ".concat(a==="round"?$:0,",").concat($,` + L `).concat(a==="round"?y:100,",").concat($),f="0 0 100 ".concat(l),x=0;return s.createElement("svg",(0,te.Z)({className:T()("".concat(c,"-line"),o),viewBox:f,preserveAspectRatio:"none",style:u},k),s.createElement("path",{className:"".concat(c,"-line-trail"),d:S,strokeLinecap:a,stroke:d,strokeWidth:v||l,fillOpacity:"0"}),h.map(function(O,E){var b=1;switch(a){case"round":b=1-l/100;break;case"square":b=1-l/2/100;break;default:b=1;break}var D={strokeDasharray:"".concat(O*b,"px, 100px"),strokeDashoffset:"-".concat(x,"px"),transition:m||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},I=p[E]||p[p.length-1];return x+=O,s.createElement("path",{key:E,className:"".concat(c,"-line-path"),d:S,strokeLinecap:a,stroke:I,strokeWidth:l,fillOpacity:"0",ref:function(A){g[E]=A},style:D})}))},xe=$e,R=C(71002),Pe=C(97685),Ee=C(98924),se=0,Oe=(0,Ee.Z)();function Le(){var e;return Oe?(e=se,se+=1):e="TEST_OR_SSR",e}var Ie=function(e){var t=s.useState(),r=(0,Pe.Z)(t,2),o=r[0],n=r[1];return s.useEffect(function(){n("rc_progress_".concat(Le()))},[]),e||o},ie=function(t){var r=t.bg,o=t.children;return s.createElement("div",{style:{width:"100%",height:"100%",background:r}},o)};function ae(e,t){return Object.keys(e).map(function(r){var o=parseFloat(r),n="".concat(Math.floor(o*t),"%");return"".concat(e[r]," ").concat(n)})}var We=s.forwardRef(function(e,t){var r=e.prefixCls,o=e.color,n=e.gradientId,c=e.radius,i=e.style,a=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,v=e.gapDegree,m=o&&(0,R.Z)(o)==="object",k=m?"#FFF":void 0,h=d/2,p=s.createElement("circle",{className:"".concat(r,"-circle-path"),r:c,cx:h,cy:h,stroke:k,strokeLinecap:l,strokeWidth:u,opacity:a===0?0:1,style:i,ref:t});if(!m)return p;var g="".concat(n,"-conic"),$=v?"".concat(180+v/2,"deg"):"0deg",y=ae(o,(360-v)/360),S=ae(o,1),f="conic-gradient(from ".concat($,", ").concat(y.join(", "),")"),x="linear-gradient(to ".concat(v?"bottom":"top",", ").concat(S.join(", "),")");return s.createElement(s.Fragment,null,s.createElement("mask",{id:g},p),s.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(g,")")},s.createElement(ie,{bg:x},s.createElement(ie,{bg:f}))))}),je=We,M=100,Q=function(t,r,o,n,c,i,a,l,u,d){var v=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,m=o/100*360*((360-i)/360),k=i===0?0:{bottom:0,top:180,left:90,right:-90}[a],h=(100-n)/100*r;u==="round"&&n!==100&&(h+=d/2,h>=r&&(h=r-.01));var p=M/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(r,"px ").concat(t),strokeDashoffset:h+v,transform:"rotate(".concat(c+m+k,"deg)"),transformOrigin:"".concat(p,"px ").concat(p,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},De=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ce(e){var t=e!=null?e:[];return Array.isArray(t)?t:[t]}var Ne=function(t){var r=(0,X.Z)((0,X.Z)({},oe),t),o=r.id,n=r.prefixCls,c=r.steps,i=r.strokeWidth,a=r.trailWidth,l=r.gapDegree,u=l===void 0?0:l,d=r.gapPosition,v=r.trailColor,m=r.strokeLinecap,k=r.style,h=r.className,p=r.strokeColor,g=r.percent,$=(0,re.Z)(r,De),y=M/2,S=Ie(o),f="".concat(S,"-gradient"),x=y-i/2,O=Math.PI*2*x,E=u>0?90+u/2:-90,b=O*((360-u)/360),D=(0,R.Z)(c)==="object"?c:{count:c,gap:2},I=D.count,N=D.gap,A=ce(g),L=ce(p),P=L.find(function(V){return V&&(0,R.Z)(V)==="object"}),j=P&&(0,R.Z)(P)==="object",w=j?"butt":m,q=Q(O,b,0,100,E,u,d,v,w,i),fe=ne(),nt=function(){var K=0;return A.map(function(F,Z){var _=L[Z]||L[L.length-1],B=Q(O,b,K,F,E,u,d,_,w,i);return K+=F,s.createElement(je,{key:Z,color:_,ptg:F,radius:x,prefixCls:n,gradientId:f,style:B,strokeLinecap:w,strokeWidth:i,gapDegree:u,ref:function(ee){fe[Z]=ee},size:M})}).reverse()},st=function(){var K=Math.round(I*(A[0]/100)),F=100/I,Z=0;return new Array(I).fill(null).map(function(_,B){var U=B<=K-1?L[0]:v,ee=U&&(0,R.Z)(U)==="object"?"url(#".concat(f,")"):void 0,ge=Q(O,b,Z,F,E,u,d,U,"butt",i,N);return Z+=(b-ge.strokeDashoffset+N)*100/b,s.createElement("circle",{key:B,className:"".concat(n,"-circle-path"),r:x,cx:y,cy:y,stroke:ee,strokeWidth:i,opacity:1,style:ge,ref:function(it){fe[B]=it}})})};return s.createElement("svg",(0,te.Z)({className:T()("".concat(n,"-circle"),h),viewBox:"0 0 ".concat(M," ").concat(M),style:k,id:o,role:"presentation"},$),!I&&s.createElement("circle",{className:"".concat(n,"-circle-trail"),r:x,cx:y,cy:y,stroke:v,strokeLinecap:w,strokeWidth:a||i,style:q}),I?st():nt())},le=Ne,ct={Line:xe,Circle:le},we=C(83062),Y=C(78589);function W(e){return!e||e<0?0:e>100?100:e}function z(e){let{success:t,successPercent:r}=e,o=r;return t&&"progress"in t&&(o=t.progress),t&&"percent"in t&&(o=t.percent),o}const Ae=e=>{let{percent:t,success:r,successPercent:o}=e;const n=W(z({success:r,successPercent:o}));return[n,W(W(t)-n)]},Ze=e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:o}=t;return[o||Y.ez.green,r||null]},G=(e,t,r)=>{var o,n,c,i;let a=-1,l=-1;if(t==="step"){const u=r.steps,d=r.strokeWidth;typeof e=="string"||typeof e=="undefined"?(a=e==="small"?2:14,l=d!=null?d:8):typeof e=="number"?[a,l]=[e,e]:[a=14,l=8]=e,a*=u}else if(t==="line"){const u=r==null?void 0:r.strokeWidth;typeof e=="string"||typeof e=="undefined"?l=u||(e==="small"?6:8):typeof e=="number"?[a,l]=[e,e]:[a=-1,l=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e=="undefined"?[a,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[a,l]=[e,e]:(a=(n=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&n!==void 0?n:120,l=(i=(c=e[0])!==null&&c!==void 0?c:e[1])!==null&&i!==void 0?i:120));return[a,l]},Te=3,Re=e=>Te/e*100;var Me=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:o="round",gapPosition:n,gapDegree:c,width:i=120,type:a,children:l,success:u,size:d=i,steps:v}=e,[m,k]=G(d,"circle");let{strokeWidth:h}=e;h===void 0&&(h=Math.max(Re(m),6));const p={width:m,height:k,fontSize:m*.15+6},g=s.useMemo(()=>{if(c||c===0)return c;if(a==="dashboard")return 75},[c,a]),$=Ae(e),y=n||a==="dashboard"&&"bottom"||void 0,S=Object.prototype.toString.call(e.strokeColor)==="[object Object]",f=Ze({success:u,strokeColor:e.strokeColor}),x=T()(`${t}-inner`,{[`${t}-circle-gradient`]:S}),O=s.createElement(le,{steps:v,percent:v?$[1]:$,strokeWidth:h,trailWidth:h,strokeColor:v?f[1]:f,strokeLinecap:o,trailColor:r,prefixCls:t,gapDegree:g,gapPosition:y}),E=m<=20,b=s.createElement("div",{className:x,style:p},O,!E&&l);return E?s.createElement(we.Z,{title:l},b):b},J=C(54548),Fe=C(14747),Be=C(91945),Xe=C(45503);const H="--progress-line-stroke-color",de="--progress-percent",ue=e=>{const t=e?"100%":"-100%";return new J.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ze=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,Fe.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${(0,J.bf)(e.marginXS)})`,paddingInlineEnd:`calc(2em + ${(0,J.bf)(e.paddingXS)})`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${H})`]},height:"100%",width:`calc(1 / var(${de}) * 100%)`,display:"block"}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:ue(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:ue(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Ge=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},He=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},Ve=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}},Ke=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`});var Ue=(0,Be.I$)("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),r=(0,Xe.TS)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[ze(r),Ge(r),He(r),Ve(r)]},Ke),Qe=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n{let t=[];return Object.keys(e).forEach(r=>{const o=parseFloat(r.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[r]})}),t=t.sort((r,o)=>r.key-o.key),t.map(r=>{let{key:o,value:n}=r;return`${n} ${o}%`}).join(", ")},Je=(e,t)=>{const{from:r=Y.ez.blue,to:o=Y.ez.blue,direction:n=t==="rtl"?"to left":"to right"}=e,c=Qe(e,["from","to","direction"]);if(Object.keys(c).length!==0){const a=Ye(c),l=`linear-gradient(${n}, ${a})`;return{background:l,[H]:l}}const i=`linear-gradient(${n}, ${r}, ${o})`;return{background:i,[H]:i}};var qe=e=>{const{prefixCls:t,direction:r,percent:o,size:n,strokeWidth:c,strokeColor:i,strokeLinecap:a="round",children:l,trailColor:u=null,success:d}=e,v=i&&typeof i!="string"?Je(i,r):{[H]:i,background:i},m=a==="square"||a==="butt"?0:void 0,k=n!=null?n:[-1,c||(n==="small"?6:8)],[h,p]=G(k,"line",{strokeWidth:c}),g={backgroundColor:u||void 0,borderRadius:m},$=Object.assign(Object.assign({width:`${W(o)}%`,height:p,borderRadius:m},v),{[de]:W(o)/100}),y=z(e),S={width:`${W(y)}%`,height:p,borderRadius:m,backgroundColor:d==null?void 0:d.strokeColor},f={width:h<0?"100%":h,height:p};return s.createElement(s.Fragment,null,s.createElement("div",{className:`${t}-outer`,style:f},s.createElement("div",{className:`${t}-inner`,style:g},s.createElement("div",{className:`${t}-bg`,style:$}),y!==void 0?s.createElement("div",{className:`${t}-success-bg`,style:S}):null)),l)},_e=e=>{const{size:t,steps:r,percent:o=0,strokeWidth:n=8,strokeColor:c,trailColor:i=null,prefixCls:a,children:l}=e,u=Math.round(r*(o/100)),d=t==="small"?2:14,v=t!=null?t:[d,n],[m,k]=G(v,"step",{steps:r,strokeWidth:n}),h=m/r,p=new Array(r);for(let g=0;g{const{prefixCls:r,className:o,rootClassName:n,steps:c,strokeColor:i,percent:a=0,size:l="default",showInfo:u=!0,type:d="line",status:v,format:m,style:k}=e,h=et(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),p=s.useMemo(()=>{var L,P;const j=z(e);return parseInt(j!==void 0?(L=j!=null?j:0)===null||L===void 0?void 0:L.toString():(P=a!=null?a:0)===null||P===void 0?void 0:P.toString(),10)},[a,e.success,e.successPercent]),g=s.useMemo(()=>!tt.includes(v)&&p>=100?"success":v||"normal",[v,p]),{getPrefixCls:$,direction:y,progress:S}=s.useContext(be.E_),f=$("progress",r),[x,O,E]=Ue(f),b=s.useMemo(()=>{if(!u)return null;const L=z(e);let P;const j=m||(q=>`${q}%`),w=d==="line";return m||g!=="exception"&&g!=="success"?P=j(W(a),W(L)):g==="exception"?P=w?s.createElement(he.Z,null):s.createElement(Ce.Z,null):g==="success"&&(P=w?s.createElement(ve.Z,null):s.createElement(me.Z,null)),s.createElement("span",{className:`${f}-text`,title:typeof P=="string"?P:void 0},P)},[u,a,p,g,d,f,m]),D=Array.isArray(i)?i[0]:i,I=typeof i=="string"||Array.isArray(i)?i:void 0;let N;d==="line"?N=c?s.createElement(_e,Object.assign({},e,{strokeColor:I,prefixCls:f,steps:typeof c=="object"?c.count:c}),b):s.createElement(qe,Object.assign({},e,{strokeColor:D,prefixCls:f,direction:y}),b):(d==="circle"||d==="dashboard")&&(N=s.createElement(Me,Object.assign({},e,{strokeColor:D,prefixCls:f,progressStatus:g}),b));const A=T()(f,`${f}-status-${g}`,{[`${f}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${f}-inline-circle`]:d==="circle"&&G(l,"circle")[0]<=20,[`${f}-line`]:!c&&d==="line",[`${f}-steps`]:c,[`${f}-show-info`]:u,[`${f}-${l}`]:typeof l=="string",[`${f}-rtl`]:y==="rtl"},S==null?void 0:S.className,o,n,O,E);return x(s.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},S==null?void 0:S.style),k),className:A,role:"progressbar","aria-valuenow":p},(0,Se.Z)(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),N))}),ot=rt}}]); diff --git a/statics/8744.b81f30b0.async.js b/statics/8744.b81f30b0.async.js deleted file mode 100644 index 75e5dea1..00000000 --- a/statics/8744.b81f30b0.async.js +++ /dev/null @@ -1,68 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8744],{24770:function(ke,re,Q){"use strict";var yt=Q(67294),wt=function(){var Ot=function(Pt,gt){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(pt,xt){pt.__proto__=xt}||function(pt,xt){for(var Rt in xt)Object.prototype.hasOwnProperty.call(xt,Rt)&&(pt[Rt]=xt[Rt])},Ot(Pt,gt)};return function(Pt,gt){if(typeof gt!="function"&>!==null)throw new TypeError("Class extends value "+String(gt)+" is not a constructor or null");Ot(Pt,gt);function pt(){this.constructor=Pt}Pt.prototype=gt===null?Object.create(gt):(pt.prototype=gt.prototype,new pt)}}(),te=function(Ot){wt(Pt,Ot);function Pt(){var gt=Ot!==null&&Ot.apply(this,arguments)||this;return gt.state={hasError:!1},gt.renderError=function(pt){var xt=gt.props.errorTemplate;switch(pt){default:return typeof xt=="function"?xt(pt):xt||yt.createElement("h5",null,"\u7EC4\u4EF6\u51FA\u9519\u4E86\uFF0C\u8BF7\u6838\u67E5\u540E\u91CD\u8BD5\uFF1A ",pt.message)}},gt}return Pt.getDerivedStateFromError=function(gt){return{hasError:!0,error:gt}},Pt.getDerivedStateFromProps=function(gt,pt){return pt.children!==gt.children?{children:gt.children,hasError:!1,error:void 0}:null},Pt.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):yt.createElement(yt.Fragment,null,this.props.children)},Pt}(yt.Component);re.Z=te},11924:function(ke,re,Q){"use strict";Q.d(re,{Z:function(){return nt}});var yt=Q(67294),wt=Q(45098),te=Q(73935),Ot=Q.t(te,2),Pt=function(){return Pt=Object.assign||function(H){for(var rt,b=1,B=arguments.length;b0&&k[k.length-1])&&(A[0]===6||A[0]===2)){b=0;continue}if(A[0]===3&&(!k||A[1]>k[0]&&A[1]=18&&(Wt=xt.createRoot)}catch(H){}function p(H){var rt=xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;rt&&typeof rt=="object"&&(rt.usingClientEntryPoint=H)}var c="__rc_react_root__";function j(H,rt){p(!0);var b=rt[c]||Wt(rt);p(!1),b.render(H),rt[c]=b}function q(H,rt){Qt(H,rt)}function bt(H,rt){}function At(H,rt){if(Wt){j(H,rt);return}q(H,rt)}function U(H){return gt(this,void 0,void 0,function(){return pt(this,function(rt){return[2,Promise.resolve().then(function(){var b;(b=H[c])===null||b===void 0||b.unmount(),delete H[c]})]})})}function X(H){Ht(H)}function ct(H){}function mt(H){return gt(this,void 0,void 0,function(){return pt(this,function(rt){return Wt!==void 0?[2,U(H)]:(X(H),[2])})})}var Et=new Map,Bt=function(H,rt,b){var B=document.createElement("div");return rt==="tooltip"&&(B.setAttribute("data-uuid",b),Et.has(b)?B=Et.get(b):Et.set(b,B),B.className="g2-tooltip"),At(H,B),B},jt=Bt,et=function(H,rt){var b={}.toString;return b.call(H)==="[object ".concat(rt,"]")},dt=function(H){if(!H)return H;var rt={};for(var b in H)rt[b]=H[b];return rt},Nt=function(H){return Object.prototype.toString.call(H).slice(8,-1)},Ct=function(H){if(!H||typeof H!="object")return H;var rt;return Array.isArray(H)?rt=H.map(function(b){return Ct(b)}):(rt={},Object.keys(H).forEach(function(b){return rt[b]=Ct(H[b])})),rt},lt=function(H,rt){for(var b=H,B=0;B=0&&D._call.call(null,P),D=D._next;--pt}function mt(){p=(Ft=j.now())+c,pt=xt=0;try{ct()}finally{pt=0,Bt(),p=0}}function Et(){var D=j.now(),P=D-Ft;P>Qt&&(c-=P,Ft=D)}function Bt(){for(var D,P=Ht,V,J=1/0;P;)P._call?(J>P._time&&(J=P._time),D=P,P=P._next):(V=P._next,P._next=null,P=D?D._next=V:Ht=V);Wt=D,jt(J)}function jt(D){if(!pt){xt&&(xt=clearTimeout(xt));var P=D-p;P>24?(D<1/0&&(xt=setTimeout(mt,D-j.now()-c)),Rt&&(Rt=clearInterval(Rt))):(Rt||(Ft=j.now(),Rt=setInterval(Et,Qt)),pt=1,q(mt))}}function et(D){return+D}function dt(D){return D*D}function Nt(D){return D*(2-D)}function Ct(D){return((D*=2)<=1?D*D:--D*(2-D)+1)/2}function lt(D){return D*D*D}function z(D){return--D*D*D+1}function w(D){return((D*=2)<=1?D*D*D:(D-=2)*D*D+2)/2}var C=3,Y=function D(P){P=+P;function V(J){return Math.pow(J,P)}return V.exponent=D,V}(C),nt=function D(P){P=+P;function V(J){return 1-Math.pow(1-J,P)}return V.exponent=D,V}(C),H=function D(P){P=+P;function V(J){return((J*=2)<=1?Math.pow(J,P):2-Math.pow(2-J,P))/2}return V.exponent=D,V}(C),rt=Math.PI,b=rt/2;function B(D){return+D==1?1:1-Math.cos(D*b)}function O(D){return Math.sin(D*b)}function k(D){return(1-Math.cos(rt*D))/2}function $(D){return(Math.pow(2,-10*D)-.0009765625)*1.0009775171065494}function it(D){return $(1-+D)}function ht(D){return 1-$(D)}function A(D){return((D*=2)<=1?$(1-D):2-$(D-1))/2}function S(D){return 1-Math.sqrt(1-D*D)}function T(D){return Math.sqrt(1- --D*D)}function L(D){return((D*=2)<=1?1-Math.sqrt(1-D*D):Math.sqrt(1-(D-=2)*D)+1)/2}var _=4/11,W=6/11,at=8/11,ot=3/4,Mt=9/11,$t=10/11,ae=15/16,ne=21/22,Yt=63/64,Gt=1/_/_;function R(D){return 1-G(1-D)}function G(D){return(D=+D)<_?Gt*D*D:D>8&15|P>>4&240,P>>4&15|P&240,(P&15)<<4|P&15,1):V===8?wr(P>>24&255,P>>16&255,P>>8&255,(P&255)/255):V===4?wr(P>>12&15|P>>8&240,P>>8&15|P>>4&240,P>>4&15|P&240,((P&15)<<4|P&15)/255):null):(P=Re.exec(D))?new vr(P[1],P[2],P[3],1):(P=Ne.exec(D))?new vr(P[1]*255/100,P[2]*255/100,P[3]*255/100,1):(P=or.exec(D))?wr(P[1],P[2],P[3],P[4]):(P=Ir.exec(D))?wr(P[1]*255/100,P[2]*255/100,P[3]*255/100,P[4]):(P=gr.exec(D))?Ba(P[1],P[2]/100,P[3]/100,1):(P=zr.exec(D))?Ba(P[1],P[2]/100,P[3]/100,P[4]):ln.hasOwnProperty(D)?cn(ln[D]):D==="transparent"?new vr(NaN,NaN,NaN,0):null}function cn(D){return new vr(D>>16&255,D>>8&255,D&255,1)}function wr(D,P,V,J){return J<=0&&(D=P=V=NaN),new vr(D,P,V,J)}function yn(D){return D instanceof pe||(D=xr(D)),D?(D=D.rgb(),new vr(D.r,D.g,D.b,D.opacity)):new vr}function Fr(D,P,V,J){return arguments.length===1?yn(D):new vr(D,P,V,J==null?1:J)}function vr(D,P,V,J){this.r=+D,this.g=+P,this.b=+V,this.opacity=+J}ie(vr,Fr,de(pe,{brighter:function(D){return D=D==null?ue:Math.pow(ue,D),new vr(this.r*D,this.g*D,this.b*D,this.opacity)},darker:function(D){return D=D==null?ge:Math.pow(ge,D),new vr(this.r*D,this.g*D,this.b*D,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:di,formatHex:di,formatRgb:_a,toString:_a}));function di(){return"#"+Zi(this.r)+Zi(this.g)+Zi(this.b)}function _a(){var D=this.opacity;return D=isNaN(D)?1:Math.max(0,Math.min(1,D)),(D===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(D===1?")":", "+D+")")}function Zi(D){return D=Math.max(0,Math.min(255,Math.round(D)||0)),(D<16?"0":"")+D.toString(16)}function Ba(D,P,V,J){return J<=0?D=P=V=NaN:V<=0||V>=1?D=P=NaN:P<=0&&(D=NaN),new $r(D,P,V,J)}function Ra(D){if(D instanceof $r)return new $r(D.h,D.s,D.l,D.opacity);if(D instanceof pe||(D=xr(D)),!D)return new $r;if(D instanceof $r)return D;D=D.rgb();var P=D.r/255,V=D.g/255,J=D.b/255,Lt=Math.min(P,V,J),Jt=Math.max(P,V,J),le=NaN,oe=Jt-Lt,De=(Jt+Lt)/2;return oe?(P===Jt?le=(V-J)/oe+(V0&&De<1?0:le,new $r(le,oe,De,D.opacity)}function Ol(D,P,V,J){return arguments.length===1?Ra(D):new $r(D,P,V,J==null?1:J)}function $r(D,P,V,J){this.h=+D,this.s=+P,this.l=+V,this.opacity=+J}ie($r,Ol,de(pe,{brighter:function(D){return D=D==null?ue:Math.pow(ue,D),new $r(this.h,this.s,this.l*D,this.opacity)},darker:function(D){return D=D==null?ge:Math.pow(ge,D),new $r(this.h,this.s,this.l*D,this.opacity)},rgb:function(){var D=this.h%360+(this.h<0)*360,P=isNaN(D)||isNaN(this.s)?0:this.s,V=this.l,J=V+(V<.5?V:1-V)*P,Lt=2*V-J;return new vr(Na(D>=240?D-240:D+120,Lt,J),Na(D,Lt,J),Na(D<120?D+240:D-120,Lt,J),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var D=this.opacity;return D=isNaN(D)?1:Math.max(0,Math.min(1,D)),(D===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(D===1?")":", "+D+")")}}));function Na(D,P,V){return(D<60?P+(V-P)*D/60:D<180?V:D<240?P+(V-P)*(240-D)/60:P)*255}function gi(D,P,V,J,Lt){var Jt=D*D,le=Jt*D;return((1-3*D+3*Jt-le)*P+(4-6*Jt+3*le)*V+(1+3*D+3*Jt-3*le)*J+le*Lt)/6}function za(D){var P=D.length-1;return function(V){var J=V<=0?V=0:V>=1?(V=1,P-1):Math.floor(V*P),Lt=D[J],Jt=D[J+1],le=J>0?D[J-1]:2*Lt-Jt,oe=J180||V<-180?V-360*Math.round(V/360):V):constant(isNaN(D)?P:D)}function Ua(D){return(D=+D)==1?$o:function(P,V){return V-P?jo(P,V,D):ji(isNaN(P)?V:P)}}function $o(D,P){var V=P-D;return V?Ln(D,V):ji(isNaN(D)?P:D)}var qn=function D(P){var V=Ua(P);function J(Lt,Jt){var le=V((Lt=Fr(Lt)).r,(Jt=Fr(Jt)).r),oe=V(Lt.g,Jt.g),De=V(Lt.b,Jt.b),er=$o(Lt.opacity,Jt.opacity);return function(fr){return Lt.r=le(fr),Lt.g=oe(fr),Lt.b=De(fr),Lt.opacity=er(fr),Lt+""}}return J.gamma=D,J}(1);function Va(D){return function(P){var V=P.length,J=new Array(V),Lt=new Array(V),Jt=new Array(V),le,oe;for(le=0;leV&&(Jt=P.slice(V,Jt),oe[le]?oe[le]+=Jt:oe[++le]=Jt),(J=J[0])===(Lt=Lt[0])?oe[le]?oe[le]+=Lt:oe[++le]=Lt:(oe[++le]=null,De.push({i:le,x:yi(J,Lt)})),V=Jn.lastIndex;return Ver.length?(De=mn.parsePathString(Jt[oe]),er=mn.parsePathString(Lt[oe]),er=mn.fillPathByDiff(er,De),er=mn.formatPath(er,De),P.fromAttrs.path=er,P.toAttrs.path=De):P.pathFormatted||(De=mn.parsePathString(Jt[oe]),er=mn.parsePathString(Lt[oe]),er=mn.formatPath(er,De),P.fromAttrs.path=er,P.toAttrs.path=De,P.pathFormatted=!0),J[oe]=[];for(var fr=0;fr0){for(var oe=P.animators.length-1;oe>=0;oe--){if(J=P.animators[oe],J.destroyed){P.removeAnimator(oe);continue}if(!J.isAnimatePaused()){Lt=J.get("animations");for(var De=Lt.length-1;De>=0;De--)Jt=Lt[De],V=Wa(J,Jt,le),V&&(Lt.splice(De,1),V=!1,Jt.callback&&Jt.callback())}Lt.length===0&&P.removeAnimator(oe)}var er=P.canvas.get("autoDraw");er||P.canvas.draw()}})},D.prototype.addAnimator=function(P){this.animators.push(P)},D.prototype.removeAnimator=function(P){this.animators.splice(P,1)},D.prototype.isAnimating=function(){return!!this.animators.length},D.prototype.stop=function(){this.timer&&this.timer.stop()},D.prototype.stopAllAnimations=function(P){P===void 0&&(P=!0),this.animators.forEach(function(V){V.stopAnimate(P)}),this.animators=[],this.canvas.draw()},D.prototype.getTime=function(){return this.current},D}(),Jo=Za,Ko=Q(89473),ja=40,ta=0,$a=":",ea=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function qa(D,P){for(var V in D)if(D.hasOwnProperty(V)&&V.indexOf($a+P)>=0)return!0;return!1}function ra(D,P,V){V.name=P,V.target=D,V.currentTarget=D,V.delegateTarget=D,D.emit(P,V)}function Ur(D,P,V){if(V.bubbles){var J=void 0,Lt=!1;if(P==="mouseenter"?(J=V.fromShape,Lt=!0):P==="mouseleave"&&(Lt=!0,J=V.toShape),D.isCanvas()&&Lt)return;if(J&&(0,Pt.UY)(D,J)){V.bubbles=!1;return}V.name=P,V.currentTarget=D,V.delegateTarget=D,D.emit(P,V)}}var Qo=function(){function D(P){var V=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(J){var Lt=J.type;V._triggerEvent(Lt,J)},this._onDocumentMove=function(J){var Lt=V.canvas,Jt=Lt.get("el");if(Jt!==J.target&&(V.dragging||V.currentShape)){var le=V._getPointInfo(J);V.dragging&&V._emitEvent("drag",J,le,V.draggingShape)}},this._onDocumentMouseUp=function(J){var Lt=V.canvas,Jt=Lt.get("el");if(Jt!==J.target&&V.dragging){var le=V._getPointInfo(J);V.draggingShape&&V._emitEvent("drop",J,le,null),V._emitEvent("dragend",J,le,V.draggingShape),V._afterDrag(V.draggingShape,le,J)}},this.canvas=P.canvas}return D.prototype.init=function(){this._bindEvents()},D.prototype._bindEvents=function(){var P=this,V=this.canvas.get("el");(0,Pt.S6)(ea,function(J){V.addEventListener(J,P._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},D.prototype._clearEvents=function(){var P=this,V=this.canvas.get("el");(0,Pt.S6)(ea,function(J){V.removeEventListener(J,P._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},D.prototype._getEventObj=function(P,V,J,Lt,Jt,le){var oe=new Ko.Z(P,V);return oe.fromShape=Jt,oe.toShape=le,oe.x=J.x,oe.y=J.y,oe.clientX=J.clientX,oe.clientY=J.clientY,oe.propagationPath.push(Lt),oe},D.prototype._getShape=function(P,V){return this.canvas.getShape(P.x,P.y,V)},D.prototype._getPointInfo=function(P){var V=this.canvas,J=V.getClientByEvent(P),Lt=V.getPointByEvent(P);return{x:Lt.x,y:Lt.y,clientX:J.x,clientY:J.y}},D.prototype._triggerEvent=function(P,V){var J=this._getPointInfo(V),Lt=this._getShape(J,V),Jt=this["_on"+P],le=!1;if(Jt)Jt.call(this,J,Lt,V);else{var oe=this.currentShape;P==="mouseenter"||P==="dragenter"||P==="mouseover"?(this._emitEvent(P,V,J,null,null,Lt),Lt&&this._emitEvent(P,V,J,Lt,null,Lt),P==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",V,J,null)):P==="mouseleave"||P==="dragleave"||P==="mouseout"?(le=!0,oe&&this._emitEvent(P,V,J,oe,oe,null),this._emitEvent(P,V,J,null,oe,null),P==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",V,J,null)):this._emitEvent(P,V,J,Lt,null,null)}if(le||(this.currentShape=Lt),Lt&&!Lt.get("destroyed")){var De=this.canvas,er=De.get("el");er.style.cursor=Lt.attr("cursor")||De.get("cursor")}},D.prototype._onmousedown=function(P,V,J){J.button===ta&&(this.mousedownShape=V,this.mousedownPoint=P,this.mousedownTimeStamp=J.timeStamp),this._emitEvent("mousedown",J,P,V,null,null)},D.prototype._emitMouseoverEvents=function(P,V,J,Lt){var Jt=this.canvas.get("el");J!==Lt&&(J&&(this._emitEvent("mouseout",P,V,J,J,Lt),this._emitEvent("mouseleave",P,V,J,J,Lt),(!Lt||Lt.get("destroyed"))&&(Jt.style.cursor=this.canvas.get("cursor"))),Lt&&(this._emitEvent("mouseover",P,V,Lt,J,Lt),this._emitEvent("mouseenter",P,V,Lt,J,Lt)))},D.prototype._emitDragoverEvents=function(P,V,J,Lt,Jt){Lt?(Lt!==J&&(J&&this._emitEvent("dragleave",P,V,J,J,Lt),this._emitEvent("dragenter",P,V,Lt,J,Lt)),Jt||this._emitEvent("dragover",P,V,Lt)):J&&this._emitEvent("dragleave",P,V,J,J,Lt),Jt&&this._emitEvent("dragover",P,V,Lt)},D.prototype._afterDrag=function(P,V,J){P&&(P.set("capture",!0),this.draggingShape=null),this.dragging=!1;var Lt=this._getShape(V,J);Lt!==P&&this._emitMouseoverEvents(J,V,P,Lt),this.currentShape=Lt},D.prototype._onmouseup=function(P,V,J){if(J.button===ta){var Lt=this.draggingShape;this.dragging?(Lt&&this._emitEvent("drop",J,P,V),this._emitEvent("dragend",J,P,Lt),this._afterDrag(Lt,P,J)):(this._emitEvent("mouseup",J,P,V),V===this.mousedownShape&&this._emitEvent("click",J,P,V),this.mousedownShape=null,this.mousedownPoint=null)}},D.prototype._ondragover=function(P,V,J){J.preventDefault();var Lt=this.currentShape;this._emitDragoverEvents(J,P,Lt,V,!0)},D.prototype._onmousemove=function(P,V,J){var Lt=this.canvas,Jt=this.currentShape,le=this.draggingShape;if(this.dragging)le&&this._emitDragoverEvents(J,P,Jt,V,!1),this._emitEvent("drag",J,P,le);else{var oe=this.mousedownPoint;if(oe){var De=this.mousedownShape,er=J.timeStamp,fr=er-this.mousedownTimeStamp,Cr=oe.clientX-P.clientX,Kr=oe.clientY-P.clientY,xn=Cr*Cr+Kr*Kr;fr>120||xn>ja?De&&De.get("draggable")?(le=this.mousedownShape,le.set("capture",!1),this.draggingShape=le,this.dragging=!0,this._emitEvent("dragstart",J,P,le),this.mousedownShape=null,this.mousedownPoint=null):!De&&Lt.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",J,P,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(J,P,Jt,V),this._emitEvent("mousemove",J,P,V)):(this._emitMouseoverEvents(J,P,Jt,V),this._emitEvent("mousemove",J,P,V))}else this._emitMouseoverEvents(J,P,Jt,V),this._emitEvent("mousemove",J,P,V)}},D.prototype._emitEvent=function(P,V,J,Lt,Jt,le){var oe=this._getEventObj(P,V,J,Lt,Jt,le);if(Lt){oe.shape=Lt,ra(Lt,P,oe);for(var De=Lt.getParent();De;)De.emitDelegation(P,oe),oe.propagationStopped||Ur(De,P,oe),oe.propagationPath.push(De),De=De.getParent()}else{var er=this.canvas;ra(er,P,oe)}},D.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},D}(),Pn=Qo,na="px",Dn=(0,te.qY)(),ia=Dn&&Dn.name==="firefox",Vr=function(D){(0,wt.ZT)(P,D);function P(V){var J=D.call(this,V)||this;return J.initContainer(),J.initDom(),J.initEvents(),J.initTimeline(),J}return P.prototype.getDefaultCfg=function(){var V=D.prototype.getDefaultCfg.call(this);return V.cursor="default",V.supportCSSTransform=!1,V},P.prototype.initContainer=function(){var V=this.get("container");(0,Pt.HD)(V)&&(V=document.getElementById(V),this.set("container",V))},P.prototype.initDom=function(){var V=this.createDom();this.set("el",V);var J=this.get("container");J.appendChild(V),this.setDOMSize(this.get("width"),this.get("height"))},P.prototype.initEvents=function(){var V=new Pn({canvas:this});V.init(),this.set("eventController",V)},P.prototype.initTimeline=function(){var V=new Jo(this);this.set("timeline",V)},P.prototype.setDOMSize=function(V,J){var Lt=this.get("el");Pt.jU&&(Lt.style.width=V+na,Lt.style.height=J+na)},P.prototype.changeSize=function(V,J){this.setDOMSize(V,J),this.set("width",V),this.set("height",J),this.onCanvasChange("changeSize")},P.prototype.getRenderer=function(){return this.get("renderer")},P.prototype.getCursor=function(){return this.get("cursor")},P.prototype.setCursor=function(V){this.set("cursor",V);var J=this.get("el");Pt.jU&&J&&(J.style.cursor=V)},P.prototype.getPointByEvent=function(V){var J=this.get("supportCSSTransform");if(J){if(ia&&!(0,Pt.kK)(V.layerX)&&V.layerX!==V.offsetX)return{x:V.layerX,y:V.layerY};if(!(0,Pt.kK)(V.offsetX))return{x:V.offsetX,y:V.offsetY}}var Lt=this.getClientByEvent(V),Jt=Lt.x,le=Lt.y;return this.getPointByClient(Jt,le)},P.prototype.getClientByEvent=function(V){var J=V;return V.touches&&(V.type==="touchend"?J=V.changedTouches[0]:J=V.touches[0]),{x:J.clientX,y:J.clientY}},P.prototype.getPointByClient=function(V,J){var Lt=this.get("el"),Jt=Lt.getBoundingClientRect();return{x:V-Jt.left,y:J-Jt.top}},P.prototype.getClientByPoint=function(V,J){var Lt=this.get("el"),Jt=Lt.getBoundingClientRect();return{x:V+Jt.left,y:J+Jt.top}},P.prototype.draw=function(){},P.prototype.removeDom=function(){var V=this.get("el");V.parentNode.removeChild(V)},P.prototype.clearEvents=function(){var V=this.get("eventController");V.destroy()},P.prototype.isCanvas=function(){return!0},P.prototype.getParent=function(){return null},P.prototype.destroy=function(){var V=this.get("timeline");this.get("destroyed")||(this.clear(),V&&V.stop(),this.clearEvents(),this.removeDom(),D.prototype.destroy.call(this))},P}(Ot.Z),Jr=Vr},37153:function(ke,re,Q){"use strict";var yt=Q(70655),wt=Q(45098),te=Q(29881),Ot=Q(77341),Pt={},gt="_INDEX";function pt(Ft,p){if(Ft.set("canvas",p),Ft.isGroup()){var c=Ft.get("children");c.length&&c.forEach(function(j){pt(j,p)})}}function xt(Ft,p){if(Ft.set("timeline",p),Ft.isGroup()){var c=Ft.get("children");c.length&&c.forEach(function(j){xt(j,p)})}}function Rt(Ft,p){var c=Ft.getChildren();return c.indexOf(p)>=0}function Qt(Ft,p,c){c===void 0&&(c=!0),c?p.destroy():(p.set("parent",null),p.set("canvas",null)),(0,Ot.As)(Ft.getChildren(),p)}function Ht(Ft){return function(p,c){var j=Ft(p,c);return j===0?p[gt]-c[gt]:j}}var Wt=function(Ft){(0,yt.ZT)(p,Ft);function p(){return Ft!==null&&Ft.apply(this,arguments)||this}return p.prototype.isCanvas=function(){return!1},p.prototype.getBBox=function(){var c=1/0,j=-1/0,q=1/0,bt=-1/0,At=[],U=[],X=this.getChildren().filter(function(mt){return mt.get("visible")&&(!mt.isGroup()||mt.isGroup()&&mt.getChildren().length>0)});X.length>0?((0,Ot.S6)(X,function(mt){var Et=mt.getBBox();At.push(Et.minX,Et.maxX),U.push(Et.minY,Et.maxY)}),c=(0,wt.VV)(At),j=(0,wt.Fp)(At),q=(0,wt.VV)(U),bt=(0,wt.Fp)(U)):(c=0,j=0,q=0,bt=0);var ct={x:c,y:q,minX:c,minY:q,maxX:j,maxY:bt,width:j-c,height:bt-q};return ct},p.prototype.getCanvasBBox=function(){var c=1/0,j=-1/0,q=1/0,bt=-1/0,At=[],U=[],X=this.getChildren().filter(function(mt){return mt.get("visible")&&(!mt.isGroup()||mt.isGroup()&&mt.getChildren().length>0)});X.length>0?((0,Ot.S6)(X,function(mt){var Et=mt.getCanvasBBox();At.push(Et.minX,Et.maxX),U.push(Et.minY,Et.maxY)}),c=(0,wt.VV)(At),j=(0,wt.Fp)(At),q=(0,wt.VV)(U),bt=(0,wt.Fp)(U)):(c=0,j=0,q=0,bt=0);var ct={x:c,y:q,minX:c,minY:q,maxX:j,maxY:bt,width:j-c,height:bt-q};return ct},p.prototype.getDefaultCfg=function(){var c=Ft.prototype.getDefaultCfg.call(this);return c.children=[],c},p.prototype.onAttrChange=function(c,j,q){if(Ft.prototype.onAttrChange.call(this,c,j,q),c==="matrix"){var bt=this.getTotalMatrix();this._applyChildrenMarix(bt)}},p.prototype.applyMatrix=function(c){var j=this.getTotalMatrix();Ft.prototype.applyMatrix.call(this,c);var q=this.getTotalMatrix();q!==j&&this._applyChildrenMarix(q)},p.prototype._applyChildrenMarix=function(c){var j=this.getChildren();(0,Ot.S6)(j,function(q){q.applyMatrix(c)})},p.prototype.addShape=function(){for(var c=[],j=0;j=0;U--){var X=c[U];if((0,Ot.pP)(X)&&(X.isGroup()?At=X.getShape(j,q,bt):X.isHit(j,q)&&(At=X)),At)break}return At},p.prototype.add=function(c){var j=this.getCanvas(),q=this.getChildren(),bt=this.get("timeline"),At=c.getParent();At&&Qt(At,c,!1),c.set("parent",this),j&&pt(c,j),bt&&xt(c,bt),q.push(c),c.onCanvasChange("add"),this._applyElementMatrix(c)},p.prototype._applyElementMatrix=function(c){var j=this.getTotalMatrix();j&&c.applyMatrix(j)},p.prototype.getChildren=function(){return this.get("children")},p.prototype.sort=function(){var c=this.getChildren();(0,Ot.S6)(c,function(j,q){return j[gt]=q,j}),c.sort(Ht(function(j,q){return j.get("zIndex")-q.get("zIndex")})),this.onCanvasChange("sort")},p.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var c=this.getChildren(),j=c.length-1;j>=0;j--)c[j].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},p.prototype.destroy=function(){this.get("destroyed")||(this.clear(),Ft.prototype.destroy.call(this))},p.prototype.getFirst=function(){return this.getChildByIndex(0)},p.prototype.getLast=function(){var c=this.getChildren();return this.getChildByIndex(c.length-1)},p.prototype.getChildByIndex=function(c){var j=this.getChildren();return j[c]},p.prototype.getCount=function(){var c=this.getChildren();return c.length},p.prototype.contain=function(c){var j=this.getChildren();return j.indexOf(c)>-1},p.prototype.removeChild=function(c,j){j===void 0&&(j=!0),this.contain(c)&&c.remove(j)},p.prototype.findAll=function(c){var j=[],q=this.getChildren();return(0,Ot.S6)(q,function(bt){c(bt)&&j.push(bt),bt.isGroup()&&(j=j.concat(bt.findAll(c)))}),j},p.prototype.find=function(c){var j=null,q=this.getChildren();return(0,Ot.S6)(q,function(bt){if(c(bt)?j=bt:bt.isGroup()&&(j=bt.find(c)),j)return!1}),j},p.prototype.findById=function(c){return this.find(function(j){return j.get("id")===c})},p.prototype.findByClassName=function(c){return this.find(function(j){return j.get("className")===c})},p.prototype.findAllByName=function(c){return this.findAll(function(j){return j.get("name")===c})},p}(te.Z);re.Z=Wt},29881:function(ke,re,Q){"use strict";var yt=Q(70655),wt=Q(45098),te=Q(31506),Ot=Q(77341),Pt=Q(41482),gt=Q(2667),pt=te.vs,xt="matrix",Rt=["zIndex","capture","visible","type"],Qt=["repeat"],Ht=":",Wt="*";function Ft(bt){for(var At=[],U=0;UEt.delay&&(0,wt.S6)(At.toAttrs,function(Bt,jt){mt.call(Et.toAttrs,jt)&&(delete Et.toAttrs[jt],delete Et.fromAttrs[jt])})}),bt}var q=function(bt){(0,yt.ZT)(At,bt);function At(U){var X=bt.call(this,U)||this;X.attrs={};var ct=X.getDefaultAttrs();return(0,wt.CD)(ct,U.attrs),X.attrs=ct,X.initAttrs(ct),X.initAnimate(),X}return At.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},At.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},At.prototype.onCanvasChange=function(U){},At.prototype.initAttrs=function(U){},At.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},At.prototype.isGroup=function(){return!1},At.prototype.getParent=function(){return this.get("parent")},At.prototype.getCanvas=function(){return this.get("canvas")},At.prototype.attr=function(){for(var U,X=[],ct=0;ct0?mt=j(mt,rt):ct.addAnimator(this),mt.push(rt),this.set("animations",mt),this.set("_pause",{isPaused:!1})}},At.prototype.stopAnimate=function(U){var X=this;U===void 0&&(U=!0);var ct=this.get("animations");(0,wt.S6)(ct,function(mt){U&&(mt.onFrame?X.attr(mt.onFrame(1)):X.attr(mt.toAttrs)),mt.callback&&mt.callback()}),this.set("animating",!1),this.set("animations",[])},At.prototype.pauseAnimate=function(){var U=this.get("timeline"),X=this.get("animations"),ct=U.getTime();return(0,wt.S6)(X,function(mt){mt._paused=!0,mt._pauseTime=ct,mt.pauseCallback&&mt.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:ct}),this},At.prototype.resumeAnimate=function(){var U=this.get("timeline"),X=U.getTime(),ct=this.get("animations"),mt=this.get("_pause").pauseTime;return(0,wt.S6)(ct,function(Et){Et.startTime=Et.startTime+(X-mt),Et._paused=!1,Et._pauseTime=null,Et.resumeCallback&&Et.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",ct),this},At.prototype.emitDelegation=function(U,X){var ct=this,mt=X.propagationPath,Et=this.getEvents(),Bt;U==="mouseenter"?Bt=X.fromShape:U==="mouseleave"&&(Bt=X.toShape);for(var jt=function(Ct){var lt=mt[Ct],z=lt.get("name");if(z){if((lt.isGroup()||lt.isCanvas&<.isCanvas())&&Bt&&(0,Ot.UY)(lt,Bt))return"break";(0,wt.kJ)(z)?(0,wt.S6)(z,function(w){ct.emitDelegateEvent(lt,w,X)}):et.emitDelegateEvent(lt,z,X)}},et=this,dt=0;dt=pt&&Rt.minY<=xt&&Rt.maxY>=xt},gt.prototype.afterAttrsChange=function(pt){Pt.prototype.afterAttrsChange.call(this,pt),this.clearCacheBBox()},gt.prototype.getBBox=function(){var pt=this.cfg.bbox;return pt||(pt=this.calculateBBox(),this.set("bbox",pt)),pt},gt.prototype.getCanvasBBox=function(){var pt=this.cfg.canvasBBox;return pt||(pt=this.calculateCanvasBBox(),this.set("canvasBBox",pt)),pt},gt.prototype.applyMatrix=function(pt){Pt.prototype.applyMatrix.call(this,pt),this.set("canvasBBox",null)},gt.prototype.calculateCanvasBBox=function(){var pt=this.getBBox(),xt=this.getTotalMatrix(),Rt=pt.minX,Qt=pt.minY,Ht=pt.maxX,Wt=pt.maxY;if(xt){var Ft=(0,te.rG)(xt,[pt.minX,pt.minY]),p=(0,te.rG)(xt,[pt.maxX,pt.minY]),c=(0,te.rG)(xt,[pt.minX,pt.maxY]),j=(0,te.rG)(xt,[pt.maxX,pt.maxY]);Rt=Math.min(Ft[0],p[0],c[0],j[0]),Ht=Math.max(Ft[0],p[0],c[0],j[0]),Qt=Math.min(Ft[1],p[1],c[1],j[1]),Wt=Math.max(Ft[1],p[1],c[1],j[1])}var q=this.attrs;if(q.shadowColor){var bt=q.shadowBlur,At=bt===void 0?0:bt,U=q.shadowOffsetX,X=U===void 0?0:U,ct=q.shadowOffsetY,mt=ct===void 0?0:ct,Et=Rt-At+X,Bt=Ht+At+X,jt=Qt-At+mt,et=Wt+At+mt;Rt=Math.min(Rt,Et),Ht=Math.max(Ht,Bt),Qt=Math.min(Qt,jt),Wt=Math.max(Wt,et)}return{x:Rt,y:Qt,minX:Rt,minY:Qt,maxX:Ht,maxY:Wt,width:Ht-Rt,height:Wt-Qt}},gt.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},gt.prototype.isClipShape=function(){return this.get("isClipShape")},gt.prototype.isInShape=function(pt,xt){return!1},gt.prototype.isOnlyHitBox=function(){return!1},gt.prototype.isHit=function(pt,xt){var Rt=this.get("startArrowShape"),Qt=this.get("endArrowShape"),Ht=[pt,xt,1];Ht=this.invertFromMatrix(Ht);var Wt=Ht[0],Ft=Ht[1],p=this._isInBBox(Wt,Ft);return this.isOnlyHitBox()?p:!!(p&&!this.isClipped(Wt,Ft)&&(this.isInShape(Wt,Ft)||Rt&&Rt.isHit(Wt,Ft)||Qt&&Qt.isHit(Wt,Ft)))},gt}(wt.Z);re.Z=Ot},46556:function(ke,re,Q){"use strict";Q.d(re,{b:function(){return te},W:function(){return wt}});var yt=new Map;function wt(U,X){yt.set(U,X)}function te(U){return yt.get(U)}function Ot(U){var X=U.attr(),ct=X.x,mt=X.y,Et=X.width,Bt=X.height;return{x:ct,y:mt,width:Et,height:Bt}}function Pt(U){var X=U.attr(),ct=X.x,mt=X.y,Et=X.r;return{x:ct-Et,y:mt-Et,width:Et*2,height:Et*2}}var gt=Q(32793);function pt(U,X){return!U||!X?U||X:{minX:Math.min(U.minX,X.minX),minY:Math.min(U.minY,X.minY),maxX:Math.max(U.maxX,X.maxX),maxY:Math.max(U.maxY,X.maxY)}}function xt(U,X){var ct=U.get("startArrowShape"),mt=U.get("endArrowShape"),Et=null,Bt=null;return ct&&(Et=ct.getCanvasBBox(),X=pt(X,Et)),mt&&(Bt=mt.getCanvasBBox(),X=pt(X,Bt)),X}function Rt(U){for(var X=U.attr(),ct=X.points,mt=[],Et=[],Bt=0;BtMath.PI/2?Math.PI-Nt:Nt,Ct=Ct>Math.PI/2?Math.PI-Ct:Ct;var lt={xExtra:Math.cos(dt/2-Nt)*(X/2*(1/Math.sin(dt/2)))-X/2||0,yExtra:Math.cos(Ct-dt/2)*(X/2*(1/Math.sin(dt/2)))-X/2||0};return lt}function q(U){var X=U.attr(),ct=X.path,mt=X.stroke,Et=mt?X.lineWidth:0,Bt=U.get("segments")||(0,Ft.zx)(ct),jt=c(Bt,Et),et=jt.x,dt=jt.y,Nt=jt.width,Ct=jt.height,lt={minX:et,minY:dt,maxX:et+Nt,maxY:dt+Ct};return lt=xt(U,lt),{x:lt.minX,y:lt.minY,width:lt.maxX-lt.minX,height:lt.maxY-lt.minY}}function bt(U){var X=U.attr(),ct=X.x1,mt=X.y1,Et=X.x2,Bt=X.y2,jt=Math.min(ct,Et),et=Math.max(ct,Et),dt=Math.min(mt,Bt),Nt=Math.max(mt,Bt),Ct={minX:jt,maxX:et,minY:dt,maxY:Nt};return Ct=xt(U,Ct),{x:Ct.minX,y:Ct.minY,width:Ct.maxX-Ct.minX,height:Ct.maxY-Ct.minY}}function At(U){var X=U.attr(),ct=X.x,mt=X.y,Et=X.rx,Bt=X.ry;return{x:ct-Et,y:mt-Bt,width:Et*2,height:Bt*2}}wt("rect",Ot),wt("image",Ot),wt("circle",Pt),wt("marker",Pt),wt("polyline",Rt),wt("polygon",Qt),wt("text",Wt),wt("path",q),wt("line",bt),wt("ellipse",At)},89473:function(ke,re){"use strict";var Q=function(){function yt(wt,te){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=wt,this.name=wt,this.originalEvent=te,this.timeStamp=te.timeStamp}return yt.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},yt.prototype.stopPropagation=function(){this.propagationStopped=!0},yt.prototype.toString=function(){var wt=this.type;return"[Event (type="+wt+")]"},yt.prototype.save=function(){},yt.prototype.restore=function(){},yt}();re.Z=Q},98190:function(ke,re,Q){"use strict";Q.r(re),Q.d(re,{AbstractCanvas:function(){return Qt.Z},AbstractGroup:function(){return Ht.Z},AbstractShape:function(){return Wt.Z},Base:function(){return Rt.Z},Event:function(){return xt.Z},PathUtil:function(){return yt},assembleFont:function(){return p.$O},getBBoxMethod:function(){return Ft.b},getOffScreenContext:function(){return q.L},getTextHeight:function(){return p.FE},invert:function(){return j.U_},isAllowCapture:function(){return c.pP},multiplyVec2:function(){return j.rG},registerBBox:function(){return Ft.W},version:function(){return bt}});var yt=Q(47575),wt=Q(52),te=Q.n(wt),pt={};for(var Ot in wt)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","version"].indexOf(Ot)<0&&(pt[Ot]=function(At){return wt[At]}.bind(0,Ot));Q.d(re,pt);var Pt=Q(19641),gt=Q.n(Pt),pt={};for(var Ot in Pt)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","version"].indexOf(Ot)<0&&(pt[Ot]=function(U){return Pt[U]}.bind(0,Ot));Q.d(re,pt);var xt=Q(89473),Rt=Q(2667),Qt=Q(71862),Ht=Q(31841),Wt=Q(15032),Ft=Q(46556),p=Q(8723),c=Q(77341),j=Q(41482),q=Q(67052),bt="0.5.9"},19641:function(){},52:function(){},41482:function(ke,re,Q){"use strict";Q.d(re,{U_:function(){return te},rG:function(){return wt},xq:function(){return yt}});function yt(Ot,Pt){var gt=[],pt=Ot[0],xt=Ot[1],Rt=Ot[2],Qt=Ot[3],Ht=Ot[4],Wt=Ot[5],Ft=Ot[6],p=Ot[7],c=Ot[8],j=Pt[0],q=Pt[1],bt=Pt[2],At=Pt[3],U=Pt[4],X=Pt[5],ct=Pt[6],mt=Pt[7],Et=Pt[8];return gt[0]=j*pt+q*Qt+bt*Ft,gt[1]=j*xt+q*Ht+bt*p,gt[2]=j*Rt+q*Wt+bt*c,gt[3]=At*pt+U*Qt+X*Ft,gt[4]=At*xt+U*Ht+X*p,gt[5]=At*Rt+U*Wt+X*c,gt[6]=ct*pt+mt*Qt+Et*Ft,gt[7]=ct*xt+mt*Ht+Et*p,gt[8]=ct*Rt+mt*Wt+Et*c,gt}function wt(Ot,Pt){var gt=[],pt=Pt[0],xt=Pt[1];return gt[0]=Ot[0]*pt+Ot[3]*xt+Ot[6],gt[1]=Ot[1]*pt+Ot[4]*xt+Ot[7],gt}function te(Ot){var Pt=[],gt=Ot[0],pt=Ot[1],xt=Ot[2],Rt=Ot[3],Qt=Ot[4],Ht=Ot[5],Wt=Ot[6],Ft=Ot[7],p=Ot[8],c=p*Qt-Ht*Ft,j=-p*Rt+Ht*Wt,q=Ft*Rt-Qt*Wt,bt=gt*c+pt*j+xt*q;return bt?(bt=1/bt,Pt[0]=c*bt,Pt[1]=(-p*pt+xt*Ft)*bt,Pt[2]=(Ht*pt-xt*Qt)*bt,Pt[3]=j*bt,Pt[4]=(p*gt-xt*Wt)*bt,Pt[5]=(-Ht*gt+xt*Rt)*bt,Pt[6]=q*bt,Pt[7]=(-Ft*gt+pt*Wt)*bt,Pt[8]=(Qt*gt-pt*Rt)*bt,Pt):null}},67052:function(ke,re,Q){"use strict";Q.d(re,{L:function(){return wt}});var yt=null;function wt(){if(!yt){var te=document.createElement("canvas");te.width=1,te.height=1,yt=te.getContext("2d")}return yt}},47575:function(ke,re,Q){"use strict";Q.r(re),Q.d(re,{catmullRomToBezier:function(){return gt},fillPath:function(){return lt},fillPathByDiff:function(){return Y},formatPath:function(){return rt},intersection:function(){return et},parsePathArray:function(){return p},parsePathString:function(){return Pt},pathToAbsolute:function(){return xt},pathToCurve:function(){return Wt},rectPath:function(){return U}});var yt=Q(45098),wt=` -\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,te=new RegExp("([a-z])["+wt+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+wt+"]*,?["+wt+"]*)+)","ig"),Ot=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+wt+"]*,?["+wt+"]*","ig"),Pt=function(b){if(!b)return null;if((0,yt.kJ)(b))return b;var B={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},O=[];return String(b).replace(te,function(k,$,it){var ht=[],A=$.toLowerCase();if(it.replace(Ot,function(S,T){T&&ht.push(+T)}),A==="m"&&ht.length>2&&(O.push([$].concat(ht.splice(0,2))),A="l",$=$==="m"?"l":"L"),A==="o"&&ht.length===1&&O.push([$,ht[0]]),A==="r")O.push([$].concat(ht));else for(;ht.length>=B[A]&&(O.push([$].concat(ht.splice(0,B[A]))),!!B[A]););return b}),O},gt=function(b,B){for(var O=[],k=0,$=b.length;$-2*!B>k;k+=2){var it=[{x:+b[k-2],y:+b[k-1]},{x:+b[k],y:+b[k+1]},{x:+b[k+2],y:+b[k+3]},{x:+b[k+4],y:+b[k+5]}];B?k?$-4===k?it[3]={x:+b[0],y:+b[1]}:$-2===k&&(it[2]={x:+b[0],y:+b[1]},it[3]={x:+b[2],y:+b[3]}):it[0]={x:+b[$-2],y:+b[$-1]}:$-4===k?it[3]=it[2]:k||(it[0]={x:+b[k],y:+b[k+1]}),O.push(["C",(-it[0].x+6*it[1].x+it[2].x)/6,(-it[0].y+6*it[1].y+it[2].y)/6,(it[1].x+6*it[2].x-it[3].x)/6,(it[1].y+6*it[2].y-it[3].y)/6,it[2].x,it[2].y])}return O},pt=function(b,B,O,k,$){var it=[];if($===null&&k===null&&(k=O),b=+b,B=+B,O=+O,k=+k,$!==null){var ht=Math.PI/180,A=b+O*Math.cos(-k*ht),S=b+O*Math.cos(-$*ht),T=B+O*Math.sin(-k*ht),L=B+O*Math.sin(-$*ht);it=[["M",A,T],["A",O,O,0,+($-k>180),0,S,L]]}else it=[["M",b,B],["m",0,-k],["a",O,k,0,1,1,0,2*k],["a",O,k,0,1,1,0,-2*k],["z"]];return it},xt=function(b){if(b=Pt(b),!b||!b.length)return[["M",0,0]];var B=[],O=0,k=0,$=0,it=0,ht=0,A,S;b[0][0]==="M"&&(O=+b[0][1],k=+b[0][2],$=O,it=k,ht++,B[0]=["M",O,k]);for(var T=b.length===3&&b[0][0]==="M"&&b[1][0].toUpperCase()==="R"&&b[2][0].toUpperCase()==="Z",L=void 0,_=void 0,W=ht,at=b.length;W1&&(R=Math.sqrt(R),O=R*O,k=R*k);var G=O*O,K=k*k,ft=(it===ht?-1:1)*Math.sqrt(Math.abs((G*K-G*Gt*Gt-K*Yt*Yt)/(G*Gt*Gt+K*Yt*Yt)));$t=ft*O*Gt/k+(b+A)/2,ae=ft*-k*Yt/O+(B+S)/2,ot=Math.asin(((B-ae)/k).toFixed(9)),Mt=Math.asin(((S-ae)/k).toFixed(9)),ot=b<$t?Math.PI-ot:ot,Mt=A<$t?Math.PI-Mt:Mt,ot<0&&(ot=Math.PI*2+ot),Mt<0&&(Mt=Math.PI*2+Mt),ht&&ot>Mt&&(ot=ot-Math.PI*2),!ht&&Mt>ot&&(Mt=Mt-Math.PI*2)}var _t=Mt-ot;if(Math.abs(_t)>L){var Vt=Mt,zt=A,Ut=S;Mt=ot+L*(ht&&Mt>ot?1:-1),A=$t+O*Math.cos(Mt),S=ae+k*Math.sin(Mt),W=Ht(A,S,O,k,$,0,ht,zt,Ut,[Mt,Vt,$t,ae])}_t=Mt-ot;var kt=Math.cos(ot),ee=Math.sin(ot),qt=Math.cos(Mt),ve=Math.sin(Mt),ye=Math.tan(_t/4),ie=4/3*O*ye,de=4/3*k*ye,pe=[b,B],ge=[b+ie*ee,B-de*kt],ue=[A+ie*ve,S-de*qt],Se=[A,S];if(ge[0]=2*pe[0]-ge[0],ge[1]=2*pe[1]-ge[1],T)return[ge,ue,Se].concat(W);W=[ge,ue,Se].concat(W).join().split(",");for(var Ee=[],we=0,Le=W.length;we7){Yt[Gt].shift();for(var R=Yt[Gt];R.length;)ht[Gt]="A",k&&(A[Gt]="A"),Yt.splice(Gt++,0,["C"].concat(R.splice(0,6)));Yt.splice(Gt,1),L=Math.max(O.length,k&&k.length||0)}},at=function(Yt,Gt,R,G,K){Yt&&Gt&&Yt[K][0]==="M"&&Gt[K][0]!=="M"&&(Gt.splice(K,0,["M",G.x,G.y]),R.bx=0,R.by=0,R.x=Yt[K][1],R.y=Yt[K][2],L=Math.max(O.length,k&&k.length||0))};L=Math.max(O.length,k&&k.length||0);for(var ot=0;ot1?1:S<0?0:S;for(var T=S/2,L=12,_=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],W=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],at=0,ot=0;ot0&&at<1&&S.push(at);continue}var Mt=_*_-4*W*L,$t=Math.sqrt(Mt);if(!(Mt<0)){var ae=(-_+$t)/(2*L);ae>0&&ae<1&&S.push(ae);var ne=(-_-$t)/(2*L);ne>0&&ne<1&&S.push(ne)}}for(var Yt=S.length,Gt=Yt,R;Yt--;)at=S[Yt],R=1-at,T[0][Yt]=R*R*R*b+3*R*R*at*O+3*R*at*at*$+at*at*at*ht,T[1][Yt]=R*R*R*B+3*R*R*at*k+3*R*at*at*it+at*at*at*A;return T[0][Gt]=b,T[1][Gt]=B,T[0][Gt+1]=ht,T[1][Gt+1]=A,T[0].length=T[1].length=Gt+2,{min:{x:Math.min.apply(0,T[0]),y:Math.min.apply(0,T[1])},max:{x:Math.max.apply(0,T[0]),y:Math.max.apply(0,T[1])}}},bt=function(b,B,O,k,$,it,ht,A){if(!(Math.max(b,O)Math.max($,ht)||Math.max(B,k)Math.max(it,A))){var S=(b*k-B*O)*($-ht)-(b-O)*($*A-it*ht),T=(b*k-B*O)*(it-A)-(B-k)*($*A-it*ht),L=(b-O)*(it-A)-(B-k)*($-ht);if(!!L){var _=S/L,W=T/L,at=+_.toFixed(2),ot=+W.toFixed(2);if(!(at<+Math.min(b,O).toFixed(2)||at>+Math.max(b,O).toFixed(2)||at<+Math.min($,ht).toFixed(2)||at>+Math.max($,ht).toFixed(2)||ot<+Math.min(B,k).toFixed(2)||ot>+Math.max(B,k).toFixed(2)||ot<+Math.min(it,A).toFixed(2)||ot>+Math.max(it,A).toFixed(2)))return{x:_,y:W}}}},At=function(b,B,O){return B>=b.x&&B<=b.x+b.width&&O>=b.y&&O<=b.y+b.height},U=function(b,B,O,k,$){if($)return[["M",+b+ +$,B],["l",O-$*2,0],["a",$,$,0,0,1,$,$],["l",0,k-$*2],["a",$,$,0,0,1,-$,$],["l",$*2-O,0],["a",$,$,0,0,1,-$,-$],["l",0,$*2-k],["a",$,$,0,0,1,$,-$],["z"]];var it=[["M",b,B],["l",O,0],["l",0,k],["l",-O,0],["z"]];return it.parsePathArray=p,it},X=function(b,B,O,k){return b===null&&(b=B=O=k=0),B===null&&(B=b.y,O=b.width,k=b.height,b=b.x),{x:b,y:B,width:O,w:O,height:k,h:k,x2:b+O,y2:B+k,cx:b+O/2,cy:B+k/2,r1:Math.min(O,k)/2,r2:Math.max(O,k)/2,r0:Math.sqrt(O*O+k*k)/2,path:U(b,B,O,k),vb:[b,B,O,k].join(" ")}},ct=function(b,B){return b=X(b),B=X(B),At(B,b.x,b.y)||At(B,b.x2,b.y)||At(B,b.x,b.y2)||At(B,b.x2,b.y2)||At(b,B.x,B.y)||At(b,B.x2,B.y)||At(b,B.x,B.y2)||At(b,B.x2,B.y2)||(b.xB.x||B.xb.x)&&(b.yB.y||B.yb.y)},mt=function(b,B,O,k,$,it,ht,A){(0,yt.kJ)(b)||(b=[b,B,O,k,$,it,ht,A]);var S=q.apply(null,b);return X(S.min.x,S.min.y,S.max.x-S.min.x,S.max.y-S.min.y)},Et=function(b,B,O,k,$,it,ht,A,S){var T=1-S,L=Math.pow(T,3),_=Math.pow(T,2),W=S*S,at=W*S,ot=L*b+_*3*S*O+T*3*S*S*$+at*ht,Mt=L*B+_*3*S*k+T*3*S*S*it+at*A,$t=b+2*S*(O-b)+W*($-2*O+b),ae=B+2*S*(k-B)+W*(it-2*k+B),ne=O+2*S*($-O)+W*(ht-2*$+O),Yt=k+2*S*(it-k)+W*(A-2*it+k),Gt=T*b+S*O,R=T*B+S*k,G=T*$+S*ht,K=T*it+S*A,ft=90-Math.atan2($t-ne,ae-Yt)*180/Math.PI;return{x:ot,y:Mt,m:{x:$t,y:ae},n:{x:ne,y:Yt},start:{x:Gt,y:R},end:{x:G,y:K},alpha:ft}},Bt=function(b,B,O){var k=mt(b),$=mt(B);if(!ct(k,$))return O?0:[];for(var it=j.apply(0,b),ht=j.apply(0,B),A=~~(it/8),S=~~(ht/8),T=[],L=[],_={},W=O?0:[],at=0;at=0&&K<=1&&ft>=0&&ft<=1&&(O?W+=1:W.push({x:G.x,y:G.y,t1:K,t2:ft}))}}return W},jt=function(b,B,O){b=Wt(b),B=Wt(B);for(var k,$,it,ht,A,S,T,L,_,W,at=O?0:[],ot=0,Mt=b.length;ot=3&&(_.length===3&&W.push("Q"),W=W.concat(_[1])),_.length===2&&W.push("L"),W=W.concat(_[_.length-1]),W});return L}var Ct=function(b,B,O){if(O===1)return[[].concat(b)];var k=[];if(B[0]==="L"||B[0]==="C"||B[0]==="Q")k=k.concat(Nt(b,B,O));else{var $=[].concat(b);$[0]==="M"&&($[0]="L");for(var it=0;it<=O-1;it++)k.push($)}return k},lt=function(b,B){if(b.length===1)return b;var O=b.length-1,k=B.length-1,$=O/k,it=[];if(b.length===1&&b[0][0]==="M"){for(var ht=0;ht=0;S--)ht=it[S].index,it[S].type==="add"?b.splice(ht,0,[].concat(b[ht])):b.splice(ht,1)}k=b.length;var _=$-k;if(k<$)for(var S=0;S<_;S++)b[k-1][0]==="z"||b[k-1][0]==="Z"?b.splice(k-2,0,b[k-2]):b.push(b[k-1]),k+=1;return b};function nt(b,B,O){for(var k=[].concat(b),$,it=1/(O+1),ht=H(B)[0],A=1;A<=O;A++)it*=A,$=Math.floor(b.length*it),$===0?k.unshift([ht[0]*it+b[$][0]*(1-it),ht[1]*it+b[$][1]*(1-it)]):k.splice($,0,[ht[0]*it+b[$][0]*(1-it),ht[1]*it+b[$][1]*(1-it)]);return k}function H(b){var B=[];switch(b[0]){case"M":B.push([b[1],b[2]]);break;case"L":B.push([b[1],b[2]]);break;case"A":B.push([b[6],b[7]]);break;case"Q":B.push([b[3],b[4]]),B.push([b[1],b[2]]);break;case"T":B.push([b[1],b[2]]);break;case"C":B.push([b[5],b[6]]),B.push([b[1],b[2]]),B.push([b[3],b[4]]);break;case"S":B.push([b[3],b[4]]),B.push([b[1],b[2]]);break;case"H":B.push([b[1],b[1]]);break;case"V":B.push([b[1],b[1]]);break;default:}return B}var rt=function(b,B){if(b.length<=1)return b;for(var O,k=0;k0)O=nt(O,b[k-1],1);else{b[k]=B[k];break}b[k]=["Q"].concat(O.reduce(function($,it){return $.concat(it)},[]));break;case"T":b[k]=["T"].concat(O[0]);break;case"C":if(O.length<3)if(k>0)O=nt(O,b[k-1],2);else{b[k]=B[k];break}b[k]=["C"].concat(O.reduce(function($,it){return $.concat(it)},[]));break;case"S":if(O.length<2)if(k>0)O=nt(O,b[k-1],1);else{b[k]=B[k];break}b[k]=["S"].concat(O.reduce(function($,it){return $.concat(it)},[]));break;default:b[k]=B[k]}return b}},8723:function(ke,re,Q){"use strict";Q.d(re,{$O:function(){return gt},FE:function(){return te},mY:function(){return Pt}});var yt=Q(77341),wt=Q(67052);function te(pt,xt,Rt){var Qt=1;if((0,yt.HD)(pt)&&(Qt=pt.split(` -`).length),Qt>1){var Ht=Ot(xt,Rt);return xt*Qt+Ht*(Qt-1)}return xt}function Ot(pt,xt){return xt?xt-pt:pt*.14}function Pt(pt,xt){var Rt=(0,wt.L)(),Qt=0;if((0,yt.kK)(pt)||pt==="")return Qt;if(Rt.save(),Rt.font=xt,(0,yt.HD)(pt)&&pt.includes(` -`)){var Ht=pt.split(` -`);(0,yt.S6)(Ht,function(Wt){var Ft=Rt.measureText(Wt).width;Qtot?Ot(T,L,_,W):this.pointToLine(A,S,T,L,_,W)},pointToLine:function(A,S,T,L,_,W){var at=[T-A,L-S];if(Rt.I6(at,[0,0]))return Math.sqrt((_-A)*(_-A)+(W-S)*(W-S));var ot=[-at[1],at[0]];Rt.Fv(ot,ot);var Mt=[_-A,W-S];return Math.abs(Rt.AK(Mt,ot))},tangentAngle:function(A,S,T,L){return Math.atan2(L-S,T-A)}},Ht=1e-4;function Wt(A,S,T,L,_,W){var at,ot=1/0,Mt=[T,L],$t=20;W&&W>200&&($t=W/10);for(var ae=1/$t,ne=ae/10,Yt=0;Yt<=$t;Yt++){var Gt=Yt*ae,R=[_.apply(null,A.concat([Gt])),_.apply(null,S.concat([Gt]))],G=Ot(Mt[0],Mt[1],R[0],R[1]);G=0&&G=0?[_]:[]}function j(A,S,T,L){return 2*(1-L)*(S-A)+2*L*(T-S)}function q(A,S,T,L,_,W,at){var ot=p(A,T,_,at),Mt=p(S,L,W,at),$t=Qt.pointAt(A,S,T,L,at),ae=Qt.pointAt(T,L,_,W,at);return[[A,S,$t.x,$t.y,ot,Mt],[ot,Mt,ae.x,ae.y,_,W]]}function bt(A,S,T,L,_,W,at){if(at===0)return(Ot(A,S,T,L)+Ot(T,L,_,W)+Ot(A,S,_,W))/2;var ot=q(A,S,T,L,_,W,.5),Mt=ot[0],$t=ot[1];return Mt.push(at-1),$t.push(at-1),bt.apply(null,Mt)+bt.apply(null,$t)}var At={box:function(A,S,T,L,_,W){var at=c(A,T,_)[0],ot=c(S,L,W)[0],Mt=[A,_],$t=[S,W];return at!==void 0&&Mt.push(p(A,T,_,at)),ot!==void 0&&$t.push(p(S,L,W,ot)),gt(Mt,$t)},length:function(A,S,T,L,_,W){return bt(A,S,T,L,_,W,3)},nearestPoint:function(A,S,T,L,_,W,at,ot){return Wt([A,T,_],[S,L,W],at,ot,p)},pointDistance:function(A,S,T,L,_,W,at,ot){var Mt=this.nearestPoint(A,S,T,L,_,W,at,ot);return Ot(Mt.x,Mt.y,at,ot)},interpolationAt:p,pointAt:function(A,S,T,L,_,W,at){return{x:p(A,T,_,at),y:p(S,L,W,at)}},divide:function(A,S,T,L,_,W,at){return q(A,S,T,L,_,W,at)},tangentAngle:function(A,S,T,L,_,W,at){var ot=j(A,T,_,at),Mt=j(S,L,W,at),$t=Math.atan2(Mt,ot);return xt($t)}};function U(A,S,T,L,_){var W=1-_;return W*W*W*A+3*S*_*W*W+3*T*_*_*W+L*_*_*_}function X(A,S,T,L,_){var W=1-_;return 3*(W*W*(S-A)+2*W*_*(T-S)+_*_*(L-T))}function ct(A,S,T,L){var _=-3*A+9*S-9*T+3*L,W=6*A-12*S+6*T,at=3*S-3*A,ot=[],Mt,$t,ae;if(Pt(_,0))Pt(W,0)||(Mt=-at/W,Mt>=0&&Mt<=1&&ot.push(Mt));else{var ne=W*W-4*_*at;Pt(ne,0)?ot.push(-W/(2*_)):ne>0&&(ae=Math.sqrt(ne),Mt=(-W+ae)/(2*_),$t=(-W-ae)/(2*_),Mt>=0&&Mt<=1&&ot.push(Mt),$t>=0&&$t<=1&&ot.push($t))}return ot}function mt(A,S,T,L,_,W,at,ot,Mt){var $t=U(A,T,_,at,Mt),ae=U(S,L,W,ot,Mt),ne=Qt.pointAt(A,S,T,L,Mt),Yt=Qt.pointAt(T,L,_,W,Mt),Gt=Qt.pointAt(_,W,at,ot,Mt),R=Qt.pointAt(ne.x,ne.y,Yt.x,Yt.y,Mt),G=Qt.pointAt(Yt.x,Yt.y,Gt.x,Gt.y,Mt);return[[A,S,ne.x,ne.y,R.x,R.y,$t,ae],[$t,ae,G.x,G.y,Gt.x,Gt.y,at,ot]]}function Et(A,S,T,L,_,W,at,ot,Mt){if(Mt===0)return Ft([A,T,_,at],[S,L,W,ot]);var $t=mt(A,S,T,L,_,W,at,ot,.5),ae=$t[0],ne=$t[1];return ae.push(Mt-1),ne.push(Mt-1),Et.apply(null,ae)+Et.apply(null,ne)}var Bt={extrema:ct,box:function(A,S,T,L,_,W,at,ot){for(var Mt=[A,at],$t=[S,ot],ae=ct(A,T,_,at),ne=ct(S,L,W,ot),Yt=0;Yt0?T:T*-1}var et={box:function(A,S,T,L){return{x:A-T,y:S-L,width:T*2,height:L*2}},length:function(A,S,T,L){return Math.PI*(3*(T+L)-Math.sqrt((3*T+L)*(T+3*L)))},nearestPoint:function(A,S,T,L,_,W){var at=T,ot=L;if(at===0||ot===0)return{x:A,y:S};for(var Mt=_-A,$t=W-S,ae=Math.abs(Mt),ne=Math.abs($t),Yt=at*at,Gt=ot*ot,R=Math.PI/4,G,K,ft=0;ft<4;ft++){G=at*Math.cos(R),K=ot*Math.sin(R);var _t=(Yt-Gt)*Math.pow(Math.cos(R),3)/at,Vt=(Gt-Yt)*Math.pow(Math.sin(R),3)/ot,zt=G-_t,Ut=K-Vt,kt=ae-_t,ee=ne-Vt,qt=Math.hypot(Ut,zt),ve=Math.hypot(ee,kt),ye=qt*Math.asin((zt*ee-Ut*kt)/(qt*ve)),ie=ye/Math.sqrt(Yt+Gt-G*G-K*K);R+=ie,R=Math.min(Math.PI/2,Math.max(0,R))}return{x:A+jt(G,Mt),y:S+jt(K,$t)}},pointDistance:function(A,S,T,L,_,W){var at=this.nearestPoint(A,S,T,L,_,W);return Ot(at.x,at.y,_,W)},pointAt:function(A,S,T,L,_){var W=2*Math.PI*_;return{x:A+T*Math.cos(W),y:S+L*Math.sin(W)}},tangentAngle:function(A,S,T,L,_){var W=2*Math.PI*_,at=Math.atan2(L*Math.cos(W),-T*Math.sin(W));return xt(at)}};function dt(A,S,T,L,_,W,at,ot){return-1*T*Math.cos(_)*Math.sin(ot)-L*Math.sin(_)*Math.cos(ot)}function Nt(A,S,T,L,_,W,at,ot){return-1*T*Math.sin(_)*Math.sin(ot)+L*Math.cos(_)*Math.cos(ot)}function Ct(A,S,T){return Math.atan(-S/A*Math.tan(T))}function lt(A,S,T){return Math.atan(S/(A*Math.tan(T)))}function z(A,S,T,L,_,W){return T*Math.cos(_)*Math.cos(W)-L*Math.sin(_)*Math.sin(W)+A}function w(A,S,T,L,_,W){return T*Math.sin(_)*Math.cos(W)+L*Math.cos(_)*Math.sin(W)+S}function C(A,S,T,L){var _=Math.atan2(L*A,T*S);return(_+Math.PI*2)%(Math.PI*2)}function Y(A,S,T){return{x:A*Math.cos(T),y:S*Math.sin(T)}}function nt(A,S,T){var L=Math.cos(T),_=Math.sin(T);return[A*L-S*_,A*_+S*L]}var H={box:function(A,S,T,L,_,W,at){for(var ot=Ct(T,L,_),Mt=1/0,$t=-1/0,ae=[W,at],ne=-Math.PI*2;ne<=Math.PI*2;ne+=Math.PI){var Yt=ot+ne;W$t&&($t=Gt)}for(var R=lt(T,L,_),G=1/0,K=-1/0,ft=[W,at],ne=-Math.PI*2;ne<=Math.PI*2;ne+=Math.PI){var _t=R+ne;WK&&(K=Vt)}return{x:Mt,y:G,width:$t-Mt,height:K-G}},length:function(A,S,T,L,_,W,at){},nearestPoint:function(A,S,T,L,_,W,at,ot,Mt){var $t=nt(ot-A,Mt-S,-_),ae=$t[0],ne=$t[1],Yt=et.nearestPoint(0,0,T,L,ae,ne),Gt=C(T,L,Yt.x,Yt.y);Gtat&&(Yt=Y(T,L,at));var R=nt(Yt.x,Yt.y,_);return{x:R[0]+A,y:R[1]+S}},pointDistance:function(A,S,T,L,_,W,at,ot,Mt){var $t=this.nearestPoint(A,S,T,L,ot,Mt);return Ot($t.x,$t.y,ot,Mt)},pointAt:function(A,S,T,L,_,W,at,ot){var Mt=(at-W)*ot+W;return{x:z(A,S,T,L,_,Mt),y:w(A,S,T,L,_,Mt)}},tangentAngle:function(A,S,T,L,_,W,at,ot){var Mt=(at-W)*ot+W,$t=dt(A,S,T,L,_,W,at,Mt),ae=Nt(A,S,T,L,_,W,at,Mt);return xt(Math.atan2(ae,$t))}};function rt(A){for(var S=0,T=[],L=0;L1||S<0||A.length<2)return null;var T=rt(A),L=T.segments,_=T.totalLength;if(_===0)return{x:A[0][0],y:A[0][1]};for(var W=0,at=null,ot=0;ot=W&&S<=W+ne){var Yt=(S-W)/ne;at=Qt.pointAt($t[0],$t[1],ae[0],ae[1],Yt);break}W+=ne}return at}function O(A,S){if(S>1||S<0||A.length<2)return 0;for(var T=rt(A),L=T.segments,_=T.totalLength,W=0,at=0,ot=0;ot=W&&S<=W+ne){at=Math.atan2(ae[1]-$t[1],ae[0]-$t[0]);break}W+=ne}return at}function k(A,S,T){for(var L=1/0,_=0;_]*>/,Y={tr:document.createElement("tbody"),tbody:z,thead:z,tfoot:z,td:w,th:w,"*":document.createElement("div")}}function H(r){z||nt();var e=C.test(r)&&RegExp.$1;(!e||!(e in Y))&&(e="*");var t=Y[e];r=typeof r=="string"?r.replace(/(^\s*)|(\s*$)/g,""):r,t.innerHTML=""+r;var n=t.childNodes[0];return n&&t.contains(n)&&t.removeChild(n),n}function rt(r,e){if(r)for(var t in e)e.hasOwnProperty(t)&&(r.style[t]=e[t]);return r}function b(r){var e=getComputedStyle(r);return{width:(r.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(r.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function B(r){return typeof r=="number"&&!isNaN(r)}function O(r,e,t,n){var i=t,a=n;if(e){var o=b(r);i=o.width?o.width:i,a=o.height?o.height:a}return{width:Math.max(B(i)?i:jt,jt),height:Math.max(B(a)?a:et,et)}}function k(r){var e=r.parentNode;e&&e.removeChild(r)}var $=Q(90494),it=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this)||this;n.destroyed=!1;var i=t.visible,a=i===void 0?!0:i;return n.visible=a,n}return e.prototype.show=function(){var t=this.visible;t||this.changeVisible(!0)},e.prototype.hide=function(){var t=this.visible;t&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}($.Z),ht=it,A=Q(98190),S=0,T=1/2,L=1/2,_=.05,W=function(){function r(e){var t=e.xField,n=e.yField,i=e.adjustNames,a=i===void 0?["x","y"]:i,o=e.dimValuesMap;this.adjustNames=a,this.xField=t,this.yField=n,this.dimValuesMap=o}return r.prototype.isAdjust=function(e){return this.adjustNames.indexOf(e)>=0},r.prototype.getAdjustRange=function(e,t,n){var i=this.yField,a=n.indexOf(t),o=n.length,s,l;return!i&&this.isAdjust("y")?(s=0,l=1):o>1?(s=n[a===0?0:a-1],l=n[a===o-1?o-1:a+1],a!==0?s+=(t-s)/2:s-=(l-t)/2,a!==o-1?l-=(l-t)/2:l+=(t-n[o-2])/2):(s=t===0?0:t-.5,l=t===0?1:t+.5),{pre:s,next:l}},r.prototype.adjustData=function(e,t){var n=this,i=this.getDimValues(t);c.S6(e,function(a,o){c.S6(i,function(s,l){n.adjustDim(l,s,a,o)})})},r.prototype.groupData=function(e,t){return c.S6(e,function(n){n[t]===void 0&&(n[t]=S)}),c.vM(e,t)},r.prototype.adjustDim=function(e,t,n,i){},r.prototype.getDimValues=function(e){var t=this,n=t.xField,i=t.yField,a=c.f0({},this.dimValuesMap),o=[];if(n&&this.isAdjust("x")&&o.push(n),i&&this.isAdjust("y")&&o.push(i),o.forEach(function(l){a&&a[l]||(a[l]=c.I(e,l).sort(function(u,f){return u-f}))}),!i&&this.isAdjust("y")){var s="y";a[s]=[S,1]}return a},r}(),at=W,ot={},Mt=function(r){return ot[r.toLowerCase()]},$t=function(r,e){if(Mt(r))throw new Error("Adjust type '"+r+"' existed.");ot[r.toLowerCase()]=e},ae=Q(52677),ne=Q.n(ae);var Yt=function(e,t){return Yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},Yt(e,t)};function Gt(r,e){Yt(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var R=function(){return R=Object.assign||function(t){for(var n,i=1,a=arguments.length;i=0;s--)(o=r[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}function ft(r,e){return function(t,n){e(t,n,r)}}function _t(r,e){if((typeof Reflect=="undefined"?"undefined":_typeof(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function Vt(r,e,t,n){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(f){try{u(n.next(f))}catch(h){o(h)}}function l(f){try{u(n.throw(f))}catch(h){o(h)}}function u(f){f.done?a(f.value):i(f.value).then(s,l)}u((n=n.apply(r,e||[])).next())})}function zt(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,i=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function qt(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),i,a=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return a}function ve(){for(var r=[],e=0;e1||s(v,d)})})}function s(v,d){try{l(n[v](d))}catch(g){h(a[0][3],g)}}function l(v){v.value instanceof ie?Promise.resolve(v.value.v).then(u,f):h(a[0][2],v)}function u(v){s("next",v)}function f(v){s("throw",v)}function h(v,d){v(d),a.shift(),a.length&&s(a[0][0],a[0][1])}}function pe(r){var e,t;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,a){e[i]=r[i]?function(o){return(t=!t)?{value:ie(r[i](o)),done:i==="return"}:a?a(o):o}:a}}function ge(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof ee=="function"?ee(r):r[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(a){t[a]=r[a]&&function(o){return new Promise(function(s,l){o=r[a](o),i(s,l,o.done,o.value)})}}function i(a,o,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},o)}}function ue(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}function Se(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)Object.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}function Ee(r){return r&&r.__esModule?r:{default:r}}function we(r,e){if(!e.has(r))throw new TypeError("attempted to get private field on non-instance");return e.get(r)}function Le(r,e,t){if(!e.has(r))throw new TypeError("attempted to set private field on non-instance");return e.set(r,t),t}var Re=function(r){Gt(e,r);function e(t){var n=r.call(this,t)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var i=t.marginRatio,a=i===void 0?T:i,o=t.dodgeRatio,s=o===void 0?L:o,l=t.dodgeBy,u=t.intervalPadding,f=t.dodgePadding,h=t.xDimensionLength,v=t.groupNum,d=t.defaultSize,g=t.maxColumnWidth,y=t.minColumnWidth,m=t.columnWidthRatio,x=t.customOffset;return n.marginRatio=a,n.dodgeRatio=s,n.dodgeBy=l,n.intervalPadding=u,n.dodgePadding=f,n.xDimensionLegenth=h,n.groupNum=v,n.defaultSize=d,n.maxColumnWidth=g,n.minColumnWidth=y,n.columnWidthRatio=m,n.customOffset=x,n}return e.prototype.process=function(t){var n=c.d9(t),i=c.xH(n),a=this.dodgeBy,o=a?c.ru(i,a):n;return this.cacheMap={},this.adjustDataArray=o,this.mergeData=i,this.adjustData(o,i),this.adjustDataArray=[],this.mergeData=[],n},e.prototype.adjustDim=function(t,n,i,a){var o=this,s=this.customOffset,l=this.getDistribution(t),u=this.groupData(i,t);return c.S6(u,function(f,h){var v;n.length===1?v={pre:n[0]-1,next:n[0]+1}:v=o.getAdjustRange(t,parseFloat(h),n),c.S6(f,function(d){var g=d[t],y=l[g],m=y.indexOf(a);if(c.UM(s))d[t]=o.getDodgeOffset(v,m,y.length);else{var x=v.pre,M=v.next;d[t]=c.mf(s)?s(d,v):(x+M)/2+s}})}),[]},e.prototype.getDodgeOffset=function(t,n,i){var a=this,o=a.dodgeRatio,s=a.marginRatio,l=a.intervalPadding,u=a.dodgePadding,f=t.pre,h=t.next,v=h-f,d;if(!c.UM(l)&&c.UM(u)&&l>=0){var g=this.getIntervalOnlyOffset(i,n);d=f+g}else if(!c.UM(u)&&c.UM(l)&&u>=0){var g=this.getDodgeOnlyOffset(i,n);d=f+g}else if(!c.UM(l)&&!c.UM(u)&&l>=0&&u>=0){var g=this.getIntervalAndDodgeOffset(i,n);d=f+g}else{var y=v*o/i,m=s*y,g=1/2*(v-i*y-(i-1)*m)+((n+1)*y+n*m)-1/2*y-1/2*v;d=(f+h)/2+g}return d},e.prototype.getIntervalOnlyOffset=function(t,n){var i=this,a=i.defaultSize,o=i.intervalPadding,s=i.xDimensionLegenth,l=i.groupNum,u=i.dodgeRatio,f=i.maxColumnWidth,h=i.minColumnWidth,v=i.columnWidthRatio,d=o/s,g=(1-(l-1)*d)/l*u/(t-1),y=((1-d*(l-1))/l-g*(t-1))/t;if(y=c.UM(v)?y:1/l/t*v,!c.UM(f)){var m=f/s;y=Math.min(y,m)}if(!c.UM(h)){var x=h/s;y=Math.max(y,x)}y=a?a/s:y,g=((1-(l-1)*d)/l-t*y)/(t-1);var M=((1/2+n)*y+n*g+1/2*d)*l-d/2;return M},e.prototype.getDodgeOnlyOffset=function(t,n){var i=this,a=i.defaultSize,o=i.dodgePadding,s=i.xDimensionLegenth,l=i.groupNum,u=i.marginRatio,f=i.maxColumnWidth,h=i.minColumnWidth,v=i.columnWidthRatio,d=o/s,g=1*u/(l-1),y=((1-g*(l-1))/l-d*(t-1))/t;if(y=v?1/l/t*v:y,!c.UM(f)){var m=f/s;y=Math.min(y,m)}if(!c.UM(h)){var x=h/s;y=Math.max(y,x)}y=a?a/s:y,g=(1-(y*t+d*(t-1))*l)/(l-1);var M=((1/2+n)*y+n*d+1/2*g)*l-g/2;return M},e.prototype.getIntervalAndDodgeOffset=function(t,n){var i=this,a=i.intervalPadding,o=i.dodgePadding,s=i.xDimensionLegenth,l=i.groupNum,u=a/s,f=o/s,h=((1-u*(l-1))/l-f*(t-1))/t,v=((1/2+n)*h+n*f+1/2*u)*l-u/2;return v},e.prototype.getDistribution=function(t){var n=this.adjustDataArray,i=this.cacheMap,a=i[t];return a||(a={},c.S6(n,function(o,s){var l=c.I(o,t);l.length||l.push(0),c.S6(l,function(u){a[u]||(a[u]=[]),a[u].push(s)})}),i[t]=a),a},e}(at),Ne=Re;function or(r,e){return(e-r)*Math.random()+r}var Ir=function(r){Gt(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var n=c.d9(t),i=c.xH(n);return this.adjustData(n,i),n},e.prototype.adjustDim=function(t,n,i){var a=this,o=this.groupData(i,t);return c.S6(o,function(s,l){return a.adjustGroup(s,t,parseFloat(l),n)})},e.prototype.getAdjustOffset=function(t){var n=t.pre,i=t.next,a=(i-n)*_;return or(n+a,i-a)},e.prototype.adjustGroup=function(t,n,i,a){var o=this,s=this.getAdjustRange(n,i,a);return c.S6(t,function(l){l[n]=o.getAdjustOffset(s)}),t},e}(at),gr=Ir,zr=c.Ct,ln=function(r){Gt(e,r);function e(t){var n=r.call(this,t)||this,i=t.adjustNames,a=i===void 0?["y"]:i,o=t.height,s=o===void 0?NaN:o,l=t.size,u=l===void 0?10:l,f=t.reverseOrder,h=f===void 0?!1:f;return n.adjustNames=a,n.height=s,n.size=u,n.reverseOrder=h,n}return e.prototype.process=function(t){var n=this,i=n.yField,a=n.reverseOrder,o=i?this.processStack(t):this.processOneDimStack(t);return a?this.reverse(o):o},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var n=this,i=n.xField,a=n.yField,o=n.reverseOrder,s=o?this.reverse(t):t,l=new zr,u=new zr;return s.map(function(f){return f.map(function(h){var v,d=c.U2(h,i,0),g=c.U2(h,[a]),y=d.toString();if(g=c.kJ(g)?g[1]:g,!c.UM(g)){var m=g>=0?l:u;m.has(y)||m.set(y,0);var x=m.get(y),M=g+x;return m.set(y,M),R(R({},h),(v={},v[a]=[x,M],v))}return h})})},e.prototype.processOneDimStack=function(t){var n=this,i=this,a=i.xField,o=i.height,s=i.reverseOrder,l="y",u=s?this.reverse(t):t,f=new zr;return u.map(function(h){return h.map(function(v){var d,g=n.size,y=v[a],m=g*2/o;f.has(y)||f.set(y,m/2);var x=f.get(y);return f.set(y,x+m),R(R({},v),(d={},d[l]=x,d))})})},e}(at),gn=ln,$n=function(r){Gt(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var n=c.xH(t),i=this,a=i.xField,o=i.yField,s=this.getXValuesMaxMap(n),l=Math.max.apply(Math,Object.keys(s).map(function(u){return s[u]}));return c.UI(t,function(u){return c.UI(u,function(f){var h,v,d=f[o],g=f[a];if(c.kJ(d)){var y=(l-s[g])/2;return R(R({},f),(h={},h[o]=c.UI(d,function(x){return y+x}),h))}var m=(l-d)/2;return R(R({},f),(v={},v[o]=[m,d+m],v))})})},e.prototype.getXValuesMaxMap=function(t){var n=this,i=this,a=i.xField,o=i.yField,s=c.vM(t,function(l){return l[a]});return c.Q8(s,function(l){return n.getDimMaxValue(l,o)})},e.prototype.getDimMaxValue=function(t,n){var i=c.UI(t,function(o){return c.U2(o,n,[])}),a=c.xH(i);return Math.max.apply(Math,a)},e}(at),un=$n;$t("Dodge",Ne),$t("Jitter",gr),$t("Stack",gn),$t("Symmetric",un);var xr=function(r,e){return(0,c.HD)(e)?e:r.invert(r.scale(e))},cn=function(){function r(e){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(e)}return r.prototype.mapping=function(){for(var e=this,t=[],n=0;n=0;s--)(o=r[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}function Zi(r,e){return function(t,n){e(t,n,r)}}function Ba(r,e){if((typeof Reflect=="undefined"?"undefined":_typeof(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function Ra(r,e,t,n){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(f){try{u(n.next(f))}catch(h){o(h)}}function l(f){try{u(n.throw(f))}catch(h){o(h)}}function u(f){f.done?a(f.value):i(f.value).then(s,l)}u((n=n.apply(r,e||[])).next())})}function Ol(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,i=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function za(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),i,a=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return a}function Zo(){for(var r=[],e=0;e1||s(v,d)})})}function s(v,d){try{l(n[v](d))}catch(g){h(a[0][3],g)}}function l(v){v.value instanceof Ln?Promise.resolve(v.value.v).then(u,f):h(a[0][2],v)}function u(v){s("next",v)}function f(v){s("throw",v)}function h(v,d){v(d),a.shift(),a.length&&s(a[0][0],a[0][1])}}function _l(r){var e,t;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,a){e[i]=r[i]?function(o){return(t=!t)?{value:Ln(r[i](o)),done:i==="return"}:a?a(o):o}:a}}function Ua(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof gi=="function"?gi(r):r[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(a){t[a]=r[a]&&function(o){return new Promise(function(s,l){o=r[a](o),i(s,l,o.done,o.value)})}}function i(a,o,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},o)}}function $o(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}function qn(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)Object.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}function Va(r){return r&&r.__esModule?r:{default:r}}function Bl(r,e){if(!e.has(r))throw new TypeError("attempted to get private field on non-instance");return e.get(r)}function Rl(r,e,t){if(!e.has(r))throw new TypeError("attempted to set private field on non-instance");return e.set(r,t),t}var $i=/rgba?\(([\s.,0-9]+)\)/,qi=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,Ga=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,Ji=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,Ha=function(r){return/^[r,R,L,l]{1}[\s]*\(/.test(r)},yi=function(){var r=document.createElement("i");return r.title="Web Colour Picker",r.style.display="none",document.body.appendChild(r),r},Ki=function(r,e,t,n){return r[n]+(e[n]-r[n])*t};function mi(r){return"#"+xi(r[0])+xi(r[1])+xi(r[2])}var Jn=function(r){return[parseInt(r.substr(1,2),16),parseInt(r.substr(3,2),16),parseInt(r.substr(5,2),16)]},xi=function(r){var e=Math.round(r).toString(16);return e.length===1?"0"+e:e},Ya=function(r,e){var t=isNaN(Number(e))||e<0?0:e>1?1:Number(e),n=r.length-1,i=Math.floor(n*t),a=n*t-i,o=r[i],s=i===n?o:r[i+1];return mi([Ki(o,s,a,0),Ki(o,s,a,1),Ki(o,s,a,2)])},Kn,Qn=function(r){if(r[0]==="#"&&r.length===7)return r;Kn||(Kn=yi()),Kn.style.color=r;var e=document.defaultView.getComputedStyle(Kn,"").getPropertyValue("color"),t=$i.exec(e),n=t[1].split(/\s*,\s*/).map(function(i){return Number(i)});return e=mi(n),e},mn=function(r){var e=(0,c.HD)(r)?r.split("-"):r,t=(0,c.UI)(e,function(n){return Jn(n.indexOf("#")===-1?Qn(n):n)});return function(n){return Ya(t,n)}},qo=function(r){if(Ha(r)){var e,t=void 0;if(r[0]==="l"){var n=qi.exec(r),i=+n[1]+90;t=n[2],e="linear-gradient("+i+"deg, "}else if(r[0]==="r"){e="radial-gradient(";var n=Ga.exec(r);t=n[4]}var a=t.match(Ji);return(0,c.S6)(a,function(o,s){var l=o.split(":");e+=l[1]+" "+l[0]*100+"%",s!==a.length-1&&(e+=", ")}),e+=")",e}return r},qr={rgb2arr:Jn,gradient:mn,toRGB:(0,c.HP)(Qn),toCSSGradient:qo},Qi=function(r){Fr(e,r);function e(t){var n=r.call(this,t)||this;return n.type="color",n.names=["color"],(0,c.HD)(n.values)&&(n.linear=!0),n.gradient=qr.gradient(n.values),n}return e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(wr),Xa=Qi,Wa=function(r){Fr(e,r);function e(t){var n=r.call(this,t)||this;return n.type="opacity",n.names=["opacity"],n}return e}(wr),Za=Wa,Jo=function(r){Fr(e,r);function e(t){var n=r.call(this,t)||this;return n.names=["x","y"],n.type="position",n}return e.prototype.mapping=function(t,n){var i=this.scales,a=i[0],o=i[1];return(0,c.UM)(t)||(0,c.UM)(n)?[]:[(0,c.kJ)(t)?t.map(function(s){return a.scale(s)}):a.scale(t),(0,c.kJ)(n)?n.map(function(s){return o.scale(s)}):o.scale(n)]},e}(wr),Ko=Jo,ja=function(r){Fr(e,r);function e(t){var n=r.call(this,t)||this;return n.type="shape",n.names=["shape"],n}return e.prototype.getLinearValue=function(t){var n=Math.round((this.values.length-1)*t);return this.values[n]},e}(wr),ta=ja,$a=function(r){Fr(e,r);function e(t){var n=r.call(this,t)||this;return n.type="size",n.names=["size"],n}return e}(wr),ea=$a,qa={};function ra(r){return qa[r]}function Ur(r,e){qa[r]=e}var Qo=function(){function r(e){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=e,this.initCfg(),this.init()}return r.prototype.translate=function(e){return e},r.prototype.change=function(e){(0,c.f0)(this.__cfg__,e),this.init()},r.prototype.clone=function(){return this.constructor(this.__cfg__)},r.prototype.getTicks=function(){var e=this;return(0,c.UI)(this.ticks,function(t,n){return(0,c.Kn)(t)?t:{text:e.getText(t,n),tickValue:t,value:e.scale(t)}})},r.prototype.getText=function(e,t){var n=this.formatter,i=n?n(e,t):e;return(0,c.UM)(i)||!(0,c.mf)(i.toString)?"":i.toString()},r.prototype.getConfig=function(e){return this.__cfg__[e]},r.prototype.init=function(){(0,c.f0)(this,this.__cfg__),this.setDomain(),(0,c.xb)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},r.prototype.initCfg=function(){},r.prototype.setDomain=function(){},r.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if((0,c.HD)(e)){var n=ra(e);if(!n)throw new Error("There is no method to to calculate ticks!");t=n(this)}else(0,c.mf)(e)&&(t=e(this));return t},r.prototype.rangeMin=function(){return this.range[0]},r.prototype.rangeMax=function(){return this.range[1]},r.prototype.calcPercent=function(e,t,n){return(0,c.hj)(e)?(e-t)/(n-t):NaN},r.prototype.calcValue=function(e,t,n){return t+e*(n-t)},r}(),Pn=Qo,na=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cat",t.isCategory=!0,t}return e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[a]},e.prototype.getText=function(t){for(var n=[],i=1;i1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(Pn),Dn=na,ia=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Vr="[1-9]\\d?",Jr="\\d\\d",D="\\d{3}",P="\\d{4}",V="[^\\s]+",J=/\[([^]*?)\]/gm;function Lt(r,e){for(var t=[],n=0,i=r.length;n-1?i:null}};function le(r){for(var e=[],t=1;t3?0:(r-r%10!==10?1:0)*r%10]}},Kr=le({},Cr),xn=function(r){return Kr=le(Kr,r)},Qr=function(r){return r.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},yr=function(r,e){for(e===void 0&&(e=2),r=String(r);r.length0?"-":"+")+yr(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(r){var e=r.getTimezoneOffset();return(e>0?"-":"+")+yr(Math.floor(Math.abs(e)/60),2)+":"+yr(Math.abs(e)%60,2)}},aa=function(r){return+r-1},Ka=[null,Vr],ts=[null,V],es=["isPm",V,function(r,e){var t=r.toLowerCase();return t===e.amPm[0]?0:t===e.amPm[1]?1:null}],rs=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(r){var e=(r+"").match(/([+-]|\d\d)/gi);if(e){var t=+e[1]*60+parseInt(e[2],10);return e[0]==="+"?t:-t}return 0}],Nl={D:["day",Vr],DD:["day",Jr],Do:["day",Vr+V,function(r){return parseInt(r,10)}],M:["month",Vr,aa],MM:["month",Jr,aa],YY:["year",Jr,function(r){var e=new Date,t=+(""+e.getFullYear()).substr(0,2);return+(""+(+r>68?t-1:t)+r)}],h:["hour",Vr,void 0,"isPm"],hh:["hour",Jr,void 0,"isPm"],H:["hour",Vr],HH:["hour",Jr],m:["minute",Vr],mm:["minute",Jr],s:["second",Vr],ss:["second",Jr],YYYY:["year",P],S:["millisecond","\\d",function(r){return+r*100}],SS:["millisecond",Jr,function(r){return+r*10}],SSS:["millisecond",D],d:Ka,dd:Ka,ddd:ts,dddd:ts,MMM:["month",V,Jt("monthNamesShort")],MMMM:["month",V,Jt("monthNames")],a:es,A:es,ZZ:rs,Z:rs},oa={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},ns=function(r){return le(oa,r)},is=function(r,e,t){if(e===void 0&&(e=oa.default),t===void 0&&(t={}),typeof r=="number"&&(r=new Date(r)),Object.prototype.toString.call(r)!=="[object Date]"||isNaN(r.getTime()))throw new Error("Invalid Date pass to format");e=oa[e]||e;var n=[];e=e.replace(J,function(a,o){return n.push(o),"@@@"});var i=le(le({},Kr),t);return e=e.replace(ia,function(a){return Ja[a](r,i)}),e.replace(/@@@/g,function(){return n.shift()})};function wi(r,e,t){if(t===void 0&&(t={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=oa[e]||e,r.length>1e3)return null;var n=new Date,i={year:n.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],o=[],s=e.replace(J,function(F,N){return o.push(Qr(N)),"@@@"}),l={},u={};s=Qr(s).replace(ia,function(F){var N=Nl[F],tt=N[0],st=N[1],vt=N[3];if(l[tt])throw new Error("Invalid format. "+tt+" specified twice in format");return l[tt]=!0,vt&&(u[vt]=!0),a.push(N),"("+st+")"}),Object.keys(u).forEach(function(F){if(!l[F])throw new Error("Invalid format. "+F+" is required in specified format")}),s=s.replace(/@@@/g,function(){return o.shift()});var f=r.match(new RegExp(s,"i"));if(!f)return null;for(var h=le(le({},Kr),t),v=1;v>>1;r(e[s])>t?o=s:a=s+1}return a}}var os="format";function Si(r,e){var t=yt[os]||as[os];return t(r,e)}function On(r){return(0,c.HD)(r)&&(r.indexOf("T")>0?r=new Date(r).getTime():r=new Date(r.replace(/-/gi,"/")).getTime()),(0,c.J_)(r)&&(r=r.getTime()),r}var Gr=1e3,_n=60*Gr,Bn=60*_n,I=24*Bn,Z=I*31,ut=I*365,St=[["HH:mm:ss",Gr],["HH:mm:ss",Gr*10],["HH:mm:ss",Gr*30],["HH:mm",_n],["HH:mm",_n*10],["HH:mm",_n*30],["HH",Bn],["HH",Bn*6],["HH",Bn*12],["YYYY-MM-DD",I],["YYYY-MM-DD",I*4],["YYYY-WW",I*7],["YYYY-MM",Z],["YYYY-MM",Z*4],["YYYY-MM",Z*6],["YYYY",I*380]];function Zt(r,e,t){var n=(e-r)/t,i=Ul(function(o){return o[1]})(St,n)-1,a=St[i];return i<0?a=St[0]:i>=St.length&&(a=(0,c.Z$)(St)),a}var ce=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="timeCat",t}return e.prototype.translate=function(t){t=On(t);var n=this.values.indexOf(t);return n===-1&&((0,c.hj)(t)&&t-1){var a=this.values[i],o=this.formatter;return a=o?o(a,n):Si(a,this.mask),a}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var t=this.values;(0,c.S6)(t,function(n,i){t[i]=On(n)}),t.sort(function(n,i){return n-i}),r.prototype.setDomain.call(this)},e}(Dn),Ae=ce,Ze=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.isContinuous=!0,t}return e.prototype.scale=function(t){if((0,c.UM)(t))return NaN;var n=this.rangeMin(),i=this.rangeMax(),a=this.max,o=this.min;if(a===o)return n;var s=this.getScalePercent(t);return n+s*(i-n)},e.prototype.init=function(){r.prototype.init.call(this);var t=this.ticks,n=(0,c.YM)(t),i=(0,c.Z$)(t);nthis.max&&(this.max=i),(0,c.UM)(this.minLimit)||(this.min=n),(0,c.UM)(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=(0,c.rx)(this.values),n=t.min,i=t.max;(0,c.UM)(this.min)&&(this.min=n),(0,c.UM)(this.max)&&(this.max=i),this.min>this.max&&(this.min=n,this.max=i)},e.prototype.calculateTicks=function(){var t=this,n=r.prototype.calculateTicks.call(this);return this.nice||(n=(0,c.hX)(n,function(i){return i>=t.min&&i<=t.max})),n},e.prototype.getScalePercent=function(t){var n=this.max,i=this.min;return(t-i)/(n-i)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(Pn),pr=Ze,kr=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="linear",t.isLinear=!0,t}return e.prototype.invert=function(t){var n=this.getInvertPercent(t);return this.min+n*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(pr),Ar=kr;function tn(r,e){var t=Math.E,n;return e>=0?n=Math.pow(t,Math.log(e)/r):n=Math.pow(t,Math.log(-e)/r)*-1,n}function en(r,e){return r===1?1:Math.log(e)/Math.log(r)}function pf(r,e,t){(0,c.UM)(t)&&(t=Math.max.apply(null,r));var n=t;return(0,c.S6)(r,function(i){i>0&&i1&&(n=1),n}function df(r){var e=r.toString().split(/[eE]/),t=(e[0].split(".")[1]||"").length-+(e[1]||0);return t>0?t:0}function QO(r,e){var t=df(r),n=df(e),i=Math.pow(10,Math.max(t,n));return(r*i+e*i)/i}var V0=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="log",t}return e.prototype.invert=function(t){var n=this.base,i=en(n,this.max),a=this.rangeMin(),o=this.rangeMax()-a,s,l=this.positiveMin;if(l){if(t===0)return 0;s=en(n,l/n);var u=1/(i-s)*o;if(t=0?1:-1;return Math.pow(s,i)*l},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var n=this.max,i=this.min;if(n===i)return 0;var a=this.exponent,o=(tn(a,t)-tn(a,i))/(tn(a,n)-tn(a,i));return o},e}(pr),Y0=H0,X0=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="time",t}return e.prototype.getText=function(t,n){var i=this.translate(t),a=this.formatter;return a?a(i,n):Si(i,this.mask)},e.prototype.scale=function(t){var n=t;return((0,c.HD)(n)||(0,c.J_)(n))&&(n=this.translate(n)),r.prototype.scale.call(this,n)},e.prototype.translate=function(t){return On(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,n=this.getConfig("min"),i=this.getConfig("max");if((!(0,c.UM)(n)||!(0,c.hj)(n))&&(this.min=this.translate(this.min)),(!(0,c.UM)(i)||!(0,c.hj)(i))&&(this.max=this.translate(this.max)),t&&t.length){var a=[],o=1/0,s=o,l=0;(0,c.S6)(t,function(u){var f=On(u);if(isNaN(f))throw new TypeError("Invalid Time: "+u+" in time scale!");o>f?(s=o,o=f):s>f&&(s=f),l1&&(this.minTickInterval=s-o),(0,c.UM)(n)&&(this.min=o),(0,c.UM)(i)&&(this.max=l)}},e}(Ar),W0=X0,Z0=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantize",t}return e.prototype.invert=function(t){var n=this.ticks,i=n.length,a=this.getInvertPercent(t),o=Math.floor(a*(i-1));if(o>=i-1)return(0,c.Z$)(n);if(o<0)return(0,c.YM)(n);var s=n[o],l=n[o+1],u=o/(i-1),f=(o+1)/(i-1);return s+(a-u)/(f-u)*(l-s)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var t=r.prototype.calculateTicks.call(this);return this.nice||((0,c.Z$)(t)!==this.max&&t.push(this.max),(0,c.YM)(t)!==this.min&&t.unshift(this.min)),t},e.prototype.getScalePercent=function(t){var n=this.ticks;if(t<(0,c.YM)(n))return 0;if(t>(0,c.Z$)(n))return 1;var i=0;return(0,c.S6)(n,function(a,o){if(t>=a)i=o;else return!1}),i/(n.length-1)},e}(pr),gf=Z0,j0=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantile",t}return e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(gf),$0=j0,yf={};function Vl(r){return yf[r]}function wn(r,e){if(Vl(r))throw new Error("type '"+r+"' existed.");yf[r]=e}var q0=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="identity",t.isIdentity=!0,t}return e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&(0,c.hj)(t)?t:this.range[0]},e.prototype.invert=function(t){var n=this.range;return tn[1]?NaN:this.values[0]},e}(Pn),J0=q0;function sa(r){return Math.abs(r)<1e-15?r:parseFloat(r.toFixed(15))}var K0=[1,5,2,2.5,4,3],t_=null,mf=Number.EPSILON*100;function Q0(r,e){return(r%e+e)%e}function ty(r){return Math.round(r*1e12)/1e12}function ey(r,e,t,n,i,a){var o=(0,c.dp)(e),s=(0,c.cq)(e,r),l=0,u=Q0(n,a);return(u=0&&(l=1),1-s/(o-1)-t+l}function ry(r,e,t){var n=(0,c.dp)(e),i=(0,c.cq)(e,r),a=1;return 1-i/(n-1)-t+a}function ny(r,e,t,n,i,a){var o=(r-1)/(a-i),s=(e-1)/(Math.max(a,n)-Math.min(t,i));return 2-Math.max(o/s,s/o)}function iy(r,e){return r>=e?2-(r-1)/(e-1):1}function ay(r,e,t,n){var i=e-r;return 1-.5*(Math.pow(e-n,2)+Math.pow(r-t,2))/Math.pow(.1*i,2)}function oy(r,e,t){var n=e-r;if(t>n){var i=(t-n)/2;return 1-Math.pow(i,2)/Math.pow(.1*n,2)}return 1}function sy(){return 1}function xf(r,e,t,n,i,a){t===void 0&&(t=5),n===void 0&&(n=!0),i===void 0&&(i=K0),a===void 0&&(a=[.25,.2,.5,.05]);var o=t<0?0:Math.round(t);if(Number.isNaN(r)||Number.isNaN(e)||typeof r!="number"||typeof e!="number"||!o)return{min:0,max:0,ticks:[]};if(e-r<1e-15||o===1)return{min:r,max:e,ticks:[r]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},l=1;l<1/0;){for(var u=0;us.score&&(!n||st<=r&&vt>=e)&&(s.lmin=st,s.lmax=vt,s.lstep=Dt,s.score=Ce)}y+=1}v+=1}}l+=1}var Ue=sa(s.lmax),Kt=sa(s.lmin),fe=sa(s.lstep),me=Math.floor(ty((Ue-Kt)/fe))+1,he=new Array(me);he[0]=sa(Kt);for(var u=1;u=a&&u<=o});return l.map(function(u){return e[u]})}return e.slice(a,o+1)}function ly(r){var e=r.min,t=r.max,n=r.nice,i=r.tickCount,a=new uy;return a.domain([e,t]),n&&a.nice(i),a.ticks(i)}var Gl=5,Sf=Math.sqrt(50),Mf=Math.sqrt(10),bf=Math.sqrt(2),uy=function(){function r(){this._domain=[0,1]}return r.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},r.prototype.nice=function(e){var t,n;e===void 0&&(e=Gl);var i=this._domain.slice(),a=0,o=this._domain.length-1,s=this._domain[a],l=this._domain[o],u;return l0?(s=Math.floor(s/u)*u,l=Math.ceil(l/u)*u,u=ss(s,l,e)):u<0&&(s=Math.ceil(s*u)/u,l=Math.floor(l*u)/u,u=ss(s,l,e)),u>0?(i[a]=Math.floor(s/u)*u,i[o]=Math.ceil(l/u)*u,this.domain(i)):u<0&&(i[a]=Math.ceil(s*u)/u,i[o]=Math.floor(l*u)/u,this.domain(i)),this},r.prototype.ticks=function(e){return e===void 0&&(e=Gl),cy(this._domain[0],this._domain[this._domain.length-1],e||Gl)},r}();function cy(r,e,t){var n,i=-1,a,o,s;if(e=+e,r=+r,t=+t,r===e&&t>0)return[r];if((n=e0)for(r=Math.ceil(r/s),e=Math.floor(e/s),o=new Array(a=Math.ceil(e-r+1));++i=0?(a>=Sf?10:a>=Mf?5:a>=bf?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=Sf?10:a>=Mf?5:a>=bf?2:1)}function Cf(r,e,t){var n;return t==="ceil"?n=Math.ceil(r/e):t==="floor"?n=Math.floor(r/e):n=Math.round(r/e),n*e}function Hl(r,e,t){var n=Cf(r,t,"floor"),i=Cf(e,t,"ceil");n=(0,c.ri)(n,t),i=(0,c.ri)(i,t);for(var a=[],o=n;o<=i;o=o+t){var s=(0,c.ri)(o,t);a.push(s)}return{min:n,max:i,ticks:a}}function Yl(r,e,t){var n,i=r.minLimit,a=r.maxLimit,o=r.min,s=r.max,l=r.tickCount,u=l===void 0?5:l,f=(0,c.UM)(i)?(0,c.UM)(e)?o:e:i,h=(0,c.UM)(a)?(0,c.UM)(t)?s:t:a;if(f>h&&(n=[f,h],h=n[0],f=n[1]),u<=2)return[f,h];for(var v=(h-f)/(u-1),d=[],g=0;g0)o=Math.floor(en(e,n));else{var l=pf(a,e,i);o=Math.floor(en(e,l))}for(var u=s-o,f=Math.ceil(u/t),h=[],v=o;v=0?1:-1;return Math.pow(o,e)*s})}function dy(r,e){var t=r.length*e;return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function gy(r){var e=r.tickCount,t=r.values;if(!t||!t.length)return[];for(var n=t.slice().sort(function(s,l){return s-l}),i=[],a=0;a1&&(i=i*Math.ceil(s)),n&&iut)for(var l=ls(t),u=Math.ceil(a/ut),f=s;f<=l+u;f=f+u)o.push(wy(f));else if(a>Z)for(var h=Math.ceil(a/Z),v=Xl(e),d=Sy(e,t),f=0;f<=d+h;f=f+h)o.push(My(s,f+v));else if(a>I)for(var g=new Date(e),y=g.getFullYear(),m=g.getMonth(),x=g.getDate(),M=Math.ceil(a/I),E=by(e,t),f=0;fBn)for(var g=new Date(e),y=g.getFullYear(),m=g.getMonth(),M=g.getDate(),F=g.getHours(),N=Math.ceil(a/Bn),tt=Cy(e,t),f=0;f<=tt+N;f=f+N)o.push(new Date(y,m,M,F+f).getTime());else if(a>_n)for(var st=Ay(e,t),vt=Math.ceil(a/_n),f=0;f<=st+vt;f=f+vt)o.push(e+f*_n);else{var Dt=a;Dt=512&&console.warn("Notice: current ticks length("+o.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),o}Ur("cat",wf),Ur("time-cat",xy),Ur("wilkinson-extended",hy),Ur("r-pretty",yy),Ur("time",my),Ur("time-pretty",Ty),Ur("log",vy),Ur("pow",py),Ur("quantile",gy),Ur("d3-linear",fy),wn("cat",Dn),wn("category",Dn),wn("identity",J0),wn("linear",Ar),wn("log",G0),wn("pow",Y0),wn("time",W0),wn("timeCat",Ae),wn("quantize",gf),wn("quantile",$0);var Tf={},Ef=function(r){return Tf[r.toLowerCase()]},Qa=function(r,e){if(Ef(r))throw new Error("Attribute type '"+r+"' existed.");Tf[r.toLowerCase()]=e};Qa("Color",Xa),Qa("Opacity",Za),Qa("Position",Ko),Qa("Shape",ta),Qa("Size",ea);var Ff=Q(49685);function Ey(){var r=new Ff.WT(3);return Ff.WT!=Float32Array&&(r[0]=0,r[1]=0,r[2]=0),r}function e_(r){var e=new glMatrix.ARRAY_TYPE(3);return e[0]=r[0],e[1]=r[1],e[2]=r[2],e}function r_(r){var e=r[0],t=r[1],n=r[2];return Math.hypot(e,t,n)}function n_(r,e,t){var n=new glMatrix.ARRAY_TYPE(3);return n[0]=r,n[1]=e,n[2]=t,n}function i_(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r}function a_(r,e,t,n){return r[0]=e,r[1]=t,r[2]=n,r}function o_(r,e,t){return r[0]=e[0]+t[0],r[1]=e[1]+t[1],r[2]=e[2]+t[2],r}function s_(r,e,t){return r[0]=e[0]-t[0],r[1]=e[1]-t[1],r[2]=e[2]-t[2],r}function l_(r,e,t){return r[0]=e[0]*t[0],r[1]=e[1]*t[1],r[2]=e[2]*t[2],r}function u_(r,e,t){return r[0]=e[0]/t[0],r[1]=e[1]/t[1],r[2]=e[2]/t[2],r}function c_(r,e){return r[0]=Math.ceil(e[0]),r[1]=Math.ceil(e[1]),r[2]=Math.ceil(e[2]),r}function f_(r,e){return r[0]=Math.floor(e[0]),r[1]=Math.floor(e[1]),r[2]=Math.floor(e[2]),r}function h_(r,e,t){return r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r[2]=Math.min(e[2],t[2]),r}function v_(r,e,t){return r[0]=Math.max(e[0],t[0]),r[1]=Math.max(e[1],t[1]),r[2]=Math.max(e[2],t[2]),r}function p_(r,e){return r[0]=Math.round(e[0]),r[1]=Math.round(e[1]),r[2]=Math.round(e[2]),r}function d_(r,e,t){return r[0]=e[0]*t,r[1]=e[1]*t,r[2]=e[2]*t,r}function g_(r,e,t,n){return r[0]=e[0]+t[0]*n,r[1]=e[1]+t[1]*n,r[2]=e[2]+t[2]*n,r}function y_(r,e){var t=e[0]-r[0],n=e[1]-r[1],i=e[2]-r[2];return Math.hypot(t,n,i)}function m_(r,e){var t=e[0]-r[0],n=e[1]-r[1],i=e[2]-r[2];return t*t+n*n+i*i}function x_(r){var e=r[0],t=r[1],n=r[2];return e*e+t*t+n*n}function w_(r,e){return r[0]=-e[0],r[1]=-e[1],r[2]=-e[2],r}function S_(r,e){return r[0]=1/e[0],r[1]=1/e[1],r[2]=1/e[2],r}function M_(r,e){var t=e[0],n=e[1],i=e[2],a=t*t+n*n+i*i;return a>0&&(a=1/Math.sqrt(a)),r[0]=e[0]*a,r[1]=e[1]*a,r[2]=e[2]*a,r}function Fy(r,e){return r[0]*e[0]+r[1]*e[1]+r[2]*e[2]}function b_(r,e,t){var n=e[0],i=e[1],a=e[2],o=t[0],s=t[1],l=t[2];return r[0]=i*l-a*s,r[1]=a*o-n*l,r[2]=n*s-i*o,r}function C_(r,e,t,n){var i=e[0],a=e[1],o=e[2];return r[0]=i+n*(t[0]-i),r[1]=a+n*(t[1]-a),r[2]=o+n*(t[2]-o),r}function A_(r,e,t,n,i,a){var o=a*a,s=o*(2*a-3)+1,l=o*(a-2)+a,u=o*(a-1),f=o*(3-2*a);return r[0]=e[0]*s+t[0]*l+n[0]*u+i[0]*f,r[1]=e[1]*s+t[1]*l+n[1]*u+i[1]*f,r[2]=e[2]*s+t[2]*l+n[2]*u+i[2]*f,r}function T_(r,e,t,n,i,a){var o=1-a,s=o*o,l=a*a,u=s*o,f=3*a*s,h=3*l*o,v=l*a;return r[0]=e[0]*u+t[0]*f+n[0]*h+i[0]*v,r[1]=e[1]*u+t[1]*f+n[1]*h+i[1]*v,r[2]=e[2]*u+t[2]*f+n[2]*h+i[2]*v,r}function E_(r,e){e=e||1;var t=glMatrix.RANDOM()*2*Math.PI,n=glMatrix.RANDOM()*2-1,i=Math.sqrt(1-n*n)*e;return r[0]=Math.cos(t)*i,r[1]=Math.sin(t)*i,r[2]=n*e,r}function F_(r,e,t){var n=e[0],i=e[1],a=e[2],o=t[3]*n+t[7]*i+t[11]*a+t[15];return o=o||1,r[0]=(t[0]*n+t[4]*i+t[8]*a+t[12])/o,r[1]=(t[1]*n+t[5]*i+t[9]*a+t[13])/o,r[2]=(t[2]*n+t[6]*i+t[10]*a+t[14])/o,r}function to(r,e,t){var n=e[0],i=e[1],a=e[2];return r[0]=n*t[0]+i*t[3]+a*t[6],r[1]=n*t[1]+i*t[4]+a*t[7],r[2]=n*t[2]+i*t[5]+a*t[8],r}function I_(r,e,t){var n=t[0],i=t[1],a=t[2],o=t[3],s=e[0],l=e[1],u=e[2],f=i*u-a*l,h=a*s-n*u,v=n*l-i*s,d=i*v-a*h,g=a*f-n*v,y=n*h-i*f,m=o*2;return f*=m,h*=m,v*=m,d*=2,g*=2,y*=2,r[0]=s+f+d,r[1]=l+h+g,r[2]=u+v+y,r}function k_(r,e,t,n){var i=[],a=[];return i[0]=e[0]-t[0],i[1]=e[1]-t[1],i[2]=e[2]-t[2],a[0]=i[0],a[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),a[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),r[0]=a[0]+t[0],r[1]=a[1]+t[1],r[2]=a[2]+t[2],r}function L_(r,e,t,n){var i=[],a=[];return i[0]=e[0]-t[0],i[1]=e[1]-t[1],i[2]=e[2]-t[2],a[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),a[1]=i[1],a[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),r[0]=a[0]+t[0],r[1]=a[1]+t[1],r[2]=a[2]+t[2],r}function P_(r,e,t,n){var i=[],a=[];return i[0]=e[0]-t[0],i[1]=e[1]-t[1],i[2]=e[2]-t[2],a[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),a[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),a[2]=i[2],r[0]=a[0]+t[0],r[1]=a[1]+t[1],r[2]=a[2]+t[2],r}function D_(r,e){var t=r[0],n=r[1],i=r[2],a=e[0],o=e[1],s=e[2],l=Math.sqrt(t*t+n*n+i*i),u=Math.sqrt(a*a+o*o+s*s),f=l*u,h=f&&Fy(r,e)/f;return Math.acos(Math.min(Math.max(h,-1),1))}function O_(r){return r[0]=0,r[1]=0,r[2]=0,r}function __(r){return"vec3("+r[0]+", "+r[1]+", "+r[2]+")"}function B_(r,e){return r[0]===e[0]&&r[1]===e[1]&&r[2]===e[2]}function R_(r,e){var t=r[0],n=r[1],i=r[2],a=e[0],o=e[1],s=e[2];return Math.abs(t-a)<=glMatrix.EPSILON*Math.max(1,Math.abs(t),Math.abs(a))&&Math.abs(n-o)<=glMatrix.EPSILON*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-s)<=glMatrix.EPSILON*Math.max(1,Math.abs(i),Math.abs(s))}var N_=null,z_=null,U_=null,V_=null,G_=null,H_=null,Y_=null,X_=function(){var r=Ey();return function(e,t,n,i,a,o){var s,l;for(t||(t=3),n||(n=0),i?l=Math.min(i*t+n,e.length):l=e.length,s=n;s=0&&this.radius<=1&&(n=n*this.radius),this.d=Math.floor(n*(1-this.innerRadius)/t),this.a=this.d/(Math.PI*2),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+this.d*.99}},e.prototype.convertPoint=function(t){var n,i=t.x,a=t.y;this.isTransposed&&(n=[a,i],i=n[0],a=n[1]);var o=this.convertDim(i,"x"),s=this.a*o,l=this.convertDim(a,"y");return{x:this.center.x+Math.cos(o)*(s+l),y:this.center.y+Math.sin(o)*(s+l)}},e.prototype.invertPoint=function(t){var n,i=this.d+this.y.start,a=Ie.$X([0,0],[t.x,t.y],[this.center.x,this.center.y]),o=Qe.Dg(a,[1,0],!0),s=o*this.a;Ie.kE(a)this.width/n?(s=this.width/n,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*s*i}):(s=this.height/i,this.circleCenter={x:this.center.x-(.5-a)*s*n,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=s*this.radius:(this.radius<=0||this.radius>s)&&(this.polarRadius=s):this.polarRadius=s,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var n,i=this.getCenter(),a=t.x,o=t.y;return this.isTransposed&&(n=[o,a],a=n[0],o=n[1]),a=this.convertDim(a,"x"),o=this.convertDim(o,"y"),{x:i.x+Math.cos(a)*o,y:i.y+Math.sin(a)*o}},e.prototype.invertPoint=function(t){var n,i=this.getCenter(),a=[t.x-i.x,t.y-i.y],o=this,s=o.startAngle,l=o.endAngle;this.isReflect("x")&&(n=[l,s],s=n[0],l=n[1]);var u=[1,0,0,0,1,0,0,0,1];Qe.zu(u,u,s);var f=[1,0,0];to(f,f,u);var h=[f[0],f[1]],v=Qe.Dg(h,a,l0?g:-g;var y=this.invertDim(d,"y"),m={x:0,y:0};return m.x=this.isTransposed?y:g,m.y=this.isTransposed?g:y,m},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,n=this.endAngle;if(Math.abs(n-t)>=Math.PI*2)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var i=[0,Math.cos(t),Math.cos(n)],a=[0,Math.sin(t),Math.sin(n)],o=Math.min(t,n);o=0;n--)r.removeChild(e[n])}function zy(r,e){return!!r.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function ro(r){var e=r.start,t=r.end,n=Math.min(e.x,t.x),i=Math.min(e.y,t.y),a=Math.max(e.x,t.x),o=Math.max(e.y,t.y);return{x:n,y:i,minX:n,minY:i,maxX:a,maxY:o,width:a-n,height:o-i}}function Uy(r){var e=r.map(function(s){return s.x}),t=r.map(function(s){return s.y}),n=Math.min.apply(Math,e),i=Math.min.apply(Math,t),a=Math.max.apply(Math,e),o=Math.max.apply(Math,t);return{x:n,y:i,minX:n,minY:i,maxX:a,maxY:o,width:a-n,height:o-i}}function no(r,e,t,n){var i=r+t,a=e+n;return{x:r,y:e,width:t,height:n,minX:r,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(a)?0:a}}function bi(r,e,t){return(1-t)*r+e*t}function la(r,e,t){return{x:r.x+Math.cos(t)*e,y:r.y+Math.sin(t)*e}}function Vy(r,e){var t=e.x-r.x,n=e.y-r.y;return Math.sqrt(t*t+n*n)}var W_=function(r){return new Promise(function(e){setTimeout(e,r)})},hs=function(r,e,t){return t===void 0&&(t=Math.pow(Number.EPSILON,.5)),[r,e].includes(1/0)?Math.abs(r)===Math.abs(e):Math.abs(r-e)0?(0,c.S6)(l,function(u){if(u.get("visible")){if(u.isGroup()&&u.get("children").length===0)return!0;var f=Of(u),h=u.applyToMatrix([f.minX,f.minY,1]),v=u.applyToMatrix([f.minX,f.maxY,1]),d=u.applyToMatrix([f.maxX,f.minY,1]),g=u.applyToMatrix([f.maxX,f.maxY,1]),y=Math.min(h[0],v[0],d[0],g[0]),m=Math.max(h[0],v[0],d[0],g[0]),x=Math.min(h[1],v[1],d[1],g[1]),M=Math.max(h[1],v[1],d[1],g[1]);ya&&(a=m),xs&&(s=M)}}):(i=0,a=0,o=0,s=0),n=no(i,o,a-i,s-o)}return t?Gy(n,t):n}function Hy(r,e){if(!(!r.getClip()&&!e.getClip())){var t=e.getClip();if(!t){r.setClip(null);return}var n={type:t.get("type"),attrs:t.attr()};r.setClip(n)}}function Lr(r){return r+"px"}function _f(r,e,t,n){var i=Vy(r,e),a=n/i,o=0;return t==="start"?o=0-a:t==="end"&&(o=1+a),{x:bi(r.x,e.x,o),y:bi(r.y,e.y,o)}}var Yy={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},Xy=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.initCfg(),n}return e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var n=this,i=this.get("defaultCfg")||{};(0,c.S6)(t,function(a,o){var s=n.get(o),l=a;s!==a&&((0,c.Kn)(a)&&i[o]&&(l=(0,c.b$)({},i[o],a)),n.set(o,l))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){(0,c.wH)(t,"visible")&&(t.visible?this.show():this.hide()),(0,c.wH)(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,n){this.update({offsetX:t,offsetY:n})},e.prototype.setLocation=function(t){var n=(0,p.pi)({},t);this.update(n)},e.prototype.getLocation=function(){var t=this,n={},i=this.get("locationType"),a=Yy[i];return(0,c.S6)(a,function(o){n[o]=t.get(o)}),n},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,n=this.get("defaultCfg");(0,c.S6)(n,function(i,a){var o=t.get(a);if((0,c.Kn)(o)){var s=(0,c.b$)({},i,o);t.set(a,s)}})},e}(A.Base),Bf=Xy,Ci="update_status",Wy=["visible","tip","delegateObject"],Zy=["container","group","shapesMap","isRegister","isUpdating","destroyed"],jy=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var n=this.getElementById(t),i=n&&n.get("component");return i},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var n=this.getElementId(t);return this.getElementById(n)},e.prototype.getElementsByName=function(t){var n=[];return(0,c.S6)(this.get("shapesMap"),function(i){i.get("name")===t&&n.push(i)}),n},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var n=this.get("group");this.updateElements(t,n),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var n=this.get("group");n.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),r.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),n=this.getInnerLayoutBBox(),i=t.getTotalMatrix();return i&&(n=Ny(i,n)),n},e.prototype.on=function(t,n,i){var a=this.get("group");return a.on(t,n,i),this},e.prototype.off=function(t,n){var i=this.get("group");return i&&i.off(t,n),this},e.prototype.emit=function(t,n){var i=this.get("group");i.emit(t,n)},e.prototype.init=function(){r.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,n){var i=this.get("group");n.target=i,i.emit(t,n),Lf(i,t,n)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),n=t.getGroupBase(),i=new n({delegateObject:this.getDelegateObject()});return i},e.prototype.applyOffset=function(){var t=this.get("offsetX"),n=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:n})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",Of(t)),t},e.prototype.addGroup=function(t,n){this.appendDelegateObject(t,n);var i=t.addGroup(n);return this.get("isRegister")&&this.registerElement(i),i},e.prototype.addShape=function(t,n){this.appendDelegateObject(t,n);var i=t.addShape(n);return this.get("isRegister")&&this.registerElement(i),i},e.prototype.addComponent=function(t,n){var i=n.id,a=n.component,o=(0,p._T)(n,["id","component"]),s=new a((0,p.pi)((0,p.pi)({},o),{id:i,container:t,updateAutoRender:this.get("updateAutoRender")}));return s.init(),s.render(),this.get("isRegister")&&this.registerElement(s.get("group")),s},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var n=this.get("id"),i=this.get("name");return n+"-"+i+"-"+t},e.prototype.registerElement=function(t){var n=t.get("id");this.get("shapesMap")[n]=t},e.prototype.unregisterElement=function(t){var n=t.get("id");delete this.get("shapesMap")[n]},e.prototype.moveElementTo=function(t,n){var i=Zl(n);t.attr("matrix",i)},e.prototype.addAnimation=function(t,n,i){var a=n.attr("opacity");(0,c.UM)(a)&&(a=1),n.attr("opacity",0),n.animate({opacity:a},i)},e.prototype.removeAnimation=function(t,n,i){n.animate({opacity:0},i)},e.prototype.updateAnimation=function(t,n,i,a){n.animate(i,a)},e.prototype.updateElements=function(t,n){var i=this,a=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0),l;(0,c.S6)(s,function(u){var f=u.get("id"),h=i.getElementById(f),v=u.get("name");if(h)if(u.get("isComponent")){var d=u.get("component"),g=h.get("component"),y=(0,c.ei)(d.cfg,(0,c.e5)((0,c.XP)(d.cfg),Zy));g.update(y),h.set(Ci,"update")}else{var m=i.getReplaceAttrs(h,u);a&&o.update?i.updateAnimation(v,h,m,o.update):h.attr(m),u.isGroup()&&i.updateElements(u,h),(0,c.S6)(Wy,function(F){h.set(F,u.get(F))}),Hy(h,u),l=h,h.set(Ci,"update")}else{n.add(u);var x=n.getChildren();if(x.splice(x.length-1,1),l){var M=x.indexOf(l);x.splice(M+1,0,u)}else x.unshift(u);if(i.registerElement(u),u.set(Ci,"add"),u.get("isComponent")){var d=u.get("component");d.set("container",n)}else u.isGroup()&&i.registerNewGroup(u);if(l=u,a){var E=i.get("isInit")?o.appear:o.enter;E&&i.addAnimation(v,u,E)}}})},e.prototype.clearUpdateStatus=function(t){var n=t.getChildren();(0,c.S6)(n,function(i){i.set(Ci,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,n=this.get("name"),i=(t={},t[n]=this,t.component=this,t);return i},e.prototype.appendDelegateObject=function(t,n){var i=t.get("delegateObject");n.delegateObject||(n.delegateObject={}),(0,c.CD)(n.delegateObject,i)},e.prototype.getReplaceAttrs=function(t,n){var i=t.attr(),a=n.attr();return(0,c.S6)(i,function(o,s){a[s]===void 0&&(a[s]=void 0)}),a},e.prototype.registerNewGroup=function(t){var n=this,i=t.getChildren();(0,c.S6)(i,function(a){n.registerElement(a),a.set(Ci,"add"),a.isGroup()&&n.registerNewGroup(a)})},e.prototype.deleteElements=function(){var t=this,n=this.get("shapesMap"),i=[];(0,c.S6)(n,function(s,l){!s.get(Ci)||s.destroyed?i.push([l,s]):s.set(Ci,null)});var a=this.get("animate"),o=this.get("animateOption");(0,c.S6)(i,function(s){var l=s[0],u=s[1];if(!u.destroyed){var f=u.get("name");if(a&&o.leave){var h=(0,c.CD)({callback:function(){t.removeElement(u)}},o.leave);t.removeAnimation(f,u,h)}else t.removeElement(u)}delete n[l]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var n=t.get("component");n&&n.destroy()}t.remove()},e}(Bf),Sr=jy,$l="\u2026";function $y(r){for(var e=0,t=0;t0&&r.charCodeAt(e)<128?1:2}function qy(r,e,t){t===void 0&&(t="tail");var n=r.length,i="";if(t==="tail"){for(var a=0,o=0;a=19968&&s<=40869?a+=2:a+=1}a>t&&(t=a,n=i)}return r[n].getBBox().width}function ql(r){if(r.length>Qy)return tm(r);var e=0;return(0,c.S6)(r,function(t){var n=t.getBBox(),i=n.width;e=0?v=qy(a,h,n):v=Jy,v&&(e.attr("text",v),f=!0)}return f?e.set("tip",a):e.set("tip",null),f}function vs(r,e){var t=e.x,n=e.y,i=e.content,a=e.style,o=e.id,s=e.name,l=e.rotate,u=e.maxLength,f=e.autoEllipsis,h=e.isVertical,v=e.ellipsisPosition,d=e.background,g=r.addGroup({id:o+"-group",name:s+"-group",attrs:{x:t,y:n}}),y=g.addShape({type:"text",id:o,name:s,attrs:(0,p.pi)({x:0,y:0,text:i},a)}),m=fs((0,c.U2)(d,"padding",0));if(u&&f){var x=u-(m[1]+m[3]);io(!h,y,x,v)}if(d){var M=(0,c.U2)(d,"style",{}),E=y.getCanvasBBox(),F=E.minX,N=E.minY,tt=E.width,st=E.height,vt=g.addShape("rect",{id:o+"-bg",name:o+"-bg",attrs:(0,p.pi)({x:F-m[3],y:N-m[0],width:tt+m[1]+m[3],height:st+m[0]+m[2]},M)});vt.toBack()}eo(g,t,n),Df(g,l,t,n)}var ze={fontFamily:` - BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", - Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", - SimSun, "sans-serif"`,textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4,descriptionIconStroke:"#fff",descriptionIconFill:"rgba(58, 73, 101, .25)"},rm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:ze.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:ze.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:ze.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var n=this.get("start"),i=this.get("end"),a=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:(0,p.pi)({x1:n.x,y1:n.y,x2:i.x,y2:i.y},a)})},e.prototype.getLabelPoint=function(t,n,i){var a;return i==="start"?a=0:i==="center"?a=.5:(0,c.HD)(i)&&i.indexOf("%")!==-1?a=parseInt(i,10)/100:(0,c.hj)(i)?a=i:a=1,(a>1||a<0)&&(a=1),{x:bi(t.x,n.x,a),y:bi(t.y,n.y,a)}},e.prototype.renderLabel=function(t){var n=this.get("text"),i=this.get("start"),a=this.get("end"),o=n.position,s=n.content,l=n.style,u=n.offsetX,f=n.offsetY,h=n.autoRotate,v=n.maxLength,d=n.autoEllipsis,g=n.ellipsisPosition,y=n.background,m=n.isVertical,x=m===void 0?!1:m,M=this.getLabelPoint(i,a,o),E=M.x+u,F=M.y+f,N={id:this.getElementId("line-text"),name:"annotation-line-text",x:E,y:F,content:s,style:l,maxLength:v,autoEllipsis:d,ellipsisPosition:g,background:y,isVertical:x};if(h){var tt=[a.x-i.x,a.y-i.y];N.rotate=Math.atan2(tt[1],tt[0])}vs(t,N)},e}(Sr),nm=rm,im=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:ze.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:ze.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var n=this.getLocation(),i=n.x,a=n.y,o=this.get("content"),s=this.get("style"),l=this.getElementId("text"),u=this.get("name")+"-text",f=this.get("maxLength"),h=this.get("autoEllipsis"),v=this.get("isVertical"),d=this.get("ellipsisPosition"),g=this.get("background"),y=this.get("rotate"),m={id:l,name:u,x:i,y:a,content:o,style:s,maxLength:f,autoEllipsis:h,isVertical:v,ellipsisPosition:d,background:g,rotate:y};vs(t,m)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var n=this.getLocation(),i=n.x,a=n.y,o=this.get("rotate");eo(t,i,a),Df(t,o,i,a)}},e}(Sr),am=im,om=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),n=t.center,i=t.radius,a=t.startAngle,o=t.endAngle,s=la(n,i,a),l=la(n,i,o),u=o-a>Math.PI?1:0,f=[["M",s.x,s.y]];if(o-a===Math.PI*2){var h=la(n,i,a+Math.PI);f.push(["A",i,i,0,u,1,h.x,h.y]),f.push(["A",i,i,0,u,1,l.x,l.y])}else f.push(["A",i,i,0,u,1,l.x,l.y]);return f},e.prototype.renderArc=function(t){var n=this.getArcPath(),i=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:(0,p.pi)({path:n},i)})},e}(Sr),sm=om,lm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:ze.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var n=this.get("start"),i=this.get("end"),a=this.get("style"),o=ro({start:n,end:i});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:(0,p.pi)({x:o.x,y:o.y,width:o.width,height:o.height},a)})},e}(Sr),um=lm,cm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),n=this.get("end"),i=this.get("style"),a=ro({start:t,end:n}),o=this.get("src");return(0,p.pi)({x:a.x,y:a.y,img:o,width:a.width,height:a.height},i)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(Sr),fm=cm,hm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:ze.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:ze.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:ze.fontFamily}}}})},e.prototype.renderInner=function(t){(0,c.U2)(this.get("line"),"display")&&this.renderLine(t),(0,c.U2)(this.get("text"),"display")&&this.renderText(t),(0,c.U2)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var n=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:n})},e.prototype.renderLine=function(t){var n=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:n})},e.prototype.renderText=function(t){var n=this.getShapeAttrs().text,i=n.x,a=n.y,o=n.text,s=(0,p._T)(n,["x","y","text"]),l=this.get("text"),u=l.background,f=l.maxLength,h=l.autoEllipsis,v=l.isVertival,d=l.ellipsisPosition,g={x:i,y:a,id:this.getElementId("text"),name:"annotation-text",content:o,style:s,background:u,maxLength:f,autoEllipsis:h,isVertival:v,ellipsisPosition:d};vs(t,g)},e.prototype.autoAdjust=function(t){var n=this.get("direction"),i=this.get("x"),a=this.get("y"),o=(0,c.U2)(this.get("line"),"length",0),s=this.get("coordinateBBox"),l=t.getBBox(),u=l.minX,f=l.maxX,h=l.minY,v=l.maxY,d=t.findById(this.getElementId("text-group")),g=t.findById(this.getElementId("text")),y=t.findById(this.getElementId("line"));if(!!s){if(d){if(i+u<=s.minX){var m=s.minX-(i+u);eo(d,d.attr("x")+m,d.attr("y"))}if(i+f>=s.maxX){var m=i+f-s.maxX;eo(d,d.attr("x")-m,d.attr("y"))}}if(n==="upward"&&a+h<=s.minY||n!=="upward"&&a+v>=s.maxY){var x=void 0,M=void 0;n==="upward"&&a+h<=s.minY?(x="top",M=1):(x="bottom",M=-1),g.attr("textBaseline",x),y&&y.attr("path",[["M",0,0],["L",0,o*M]]),eo(d,d.attr("x"),(o+2)*M)}}},e.prototype.getShapeAttrs=function(){var t=(0,c.U2)(this.get("line"),"display"),n=(0,c.U2)(this.get("point"),"style",{}),i=(0,c.U2)(this.get("line"),"style",{}),a=(0,c.U2)(this.get("text"),"style",{}),o=this.get("direction"),s=t?(0,c.U2)(this.get("line"),"length",0):0,l=o==="upward"?-1:1;return{point:(0,p.pi)({x:0,y:0},n),line:(0,p.pi)({path:[["M",0,0],["L",0,s*l]]},i),text:(0,p.pi)({x:0,y:(s+2)*l,text:(0,c.U2)(this.get("text"),"content",""),textBaseline:o==="upward"?"bottom":"top"},a)}},e}(Sr),vm=hm,pm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:ze.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:ze.textColor,fontFamily:ze.fontFamily}}}})},e.prototype.renderInner=function(t){var n=(0,c.U2)(this.get("region"),"style",{}),i=(0,c.U2)(this.get("text"),"style",{}),a=this.get("lineLength")||0,o=this.get("points");if(!!o.length){var s=Uy(o),l=[];l.push(["M",o[0].x,s.minY-a]),o.forEach(function(f){l.push(["L",f.x,f.y])}),l.push(["L",o[o.length-1].x,o[o.length-1].y-a]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:(0,p.pi)({path:l},n)});var u=(0,p.pi)({id:this.getElementId("text"),name:"annotation-text",x:(s.minX+s.maxX)/2,y:s.minY-a},this.get("text"));vs(t,u)}},e}(Sr),dm=pm,gm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var n=this,i=this.get("start"),a=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});(0,c.S6)(this.get("shapes"),function(l,u){var f=l.get("type"),h=(0,c.d9)(l.attr());n.adjustShapeAttrs(h),n.addShape(o,{id:n.getElementId("shape-"+f+"-"+u),capture:!1,type:f,attrs:h})});var s=ro({start:i,end:a});o.setClip({type:"rect",attrs:{x:s.minX,y:s.minY,width:s.width,height:s.height}})},e.prototype.adjustShapeAttrs=function(t){var n=this.get("color");t.fill&&(t.fill=t.fillStyle=n),t.stroke=t.strokeStyle=n},e}(Sr),ym=gm,mm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"shape",draw:c.ZT})},e.prototype.renderInner=function(t){var n=this.get("render");(0,c.mf)(n)&&n(t)},e}(Sr),xm=mm;function Pr(r,e,t){var n;try{n=window.getComputedStyle?window.getComputedStyle(r,null)[e]:r.style[e]}catch(i){}finally{n=n===void 0?t:n}return n}function wm(r,e){var t=Pr(r,"width",e);return t==="auto"&&(t=r.offsetWidth),parseFloat(t)}function Sm(r,e){var t=wm(r,e),n=parseFloat(Pr(r,"borderLeftWidth"))||0,i=parseFloat(Pr(r,"paddingLeft"))||0,a=parseFloat(Pr(r,"paddingRight"))||0,o=parseFloat(Pr(r,"borderRightWidth"))||0,s=parseFloat(Pr(r,"marginRight"))||0,l=parseFloat(Pr(r,"marginLeft"))||0;return t+n+o+i+a+l+s}function Mm(r,e){var t=Pr(r,"height",e);return t==="auto"&&(t=r.offsetHeight),parseFloat(t)}function bm(r,e){var t=Mm(r,e),n=parseFloat(Pr(r,"borderTopWidth"))||0,i=parseFloat(Pr(r,"paddingTop"))||0,a=parseFloat(Pr(r,"paddingBottom"))||0,o=parseFloat(Pr(r,"borderBottomWidth"))||0,s=parseFloat(Pr(r,"marginTop"))||0,l=parseFloat(Pr(r,"marginBottom"))||0;return t+n+o+i+a+s+l}var Cm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{container:null,containerTpl:"
    ",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var n=this.getContainer(),i=t?"auto":"none";n.style.pointerEvents=i,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),n=parseFloat(t.style.left)||0,i=parseFloat(t.style.top)||0;return no(n,i,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");jl(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),r.prototype.destroy.call(this)},e.prototype.init=function(){r.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if((0,c.UM)(t)){t=this.createDom();var n=this.get("parent");(0,c.HD)(n)&&(n=document.getElementById(n),this.set("parent",n)),n.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else(0,c.HD)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),n=this.get("defaultStyles");t?t=(0,c.b$)({},n,t):t=n,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(!!t){var n=this.getContainer();this.applyChildrenStyles(n,t);var i=this.get("containerClassName");if(i&&zy(n,i)){var a=t[i];rt(n,a)}}},e.prototype.applyChildrenStyles=function(t,n){(0,c.S6)(n,function(i,a){var o=t.getElementsByClassName(a);(0,c.S6)(o,function(s){rt(s,i)})})},e.prototype.applyStyle=function(t,n){var i=this.get("domStyles");rt(n,i[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return H(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){(0,c.wH)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(Bf),Jl=Cm,Am=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
    ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),n=this.get("html");jl(t);var i=(0,c.mf)(n)?n(t):n;if((0,c.kK)(i))t.appendChild(i);else if((0,c.HD)(i)||(0,c.hj)(i)){var a=H(""+i);a&&t.appendChild(a)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),n=this.getLocation(),i=n.x,a=n.y,o=this.get("alignX"),s=this.get("alignY"),l=this.get("offsetX"),u=this.get("offsetY"),f=Sm(t),h=bm(t),v={x:i,y:a};o==="middle"?v.x-=Math.round(f/2):o==="right"&&(v.x-=Math.round(f)),s==="middle"?v.y-=Math.round(h/2):s==="bottom"&&(v.y-=Math.round(h)),l&&(v.x+=l),u&&(v.y+=u),rt(t,{position:"absolute",left:v.x+"px",top:v.y+"px",zIndex:this.get("zIndex")})},e}(Jl),Tm=Am;function ao(r,e,t){var n=e+"Style",i=null;return(0,c.S6)(t,function(a,o){r[o]&&a[n]&&(i||(i={}),(0,c.CD)(i,a[n]))}),i}var Em=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:ze.lineColor}},tickLine:{style:{lineWidth:1,stroke:ze.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:ze.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:ze.textColor,fontFamily:ze.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:ze.textColor,textBaseline:"middle",fontFamily:ze.fontFamily,textAlign:"center"},iconStyle:{fill:ze.descriptionIconFill,stroke:ze.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:ze.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,n){(0,c.CD)(t,n),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,n,i){t[n]=i,this.updateTickStates(t)},e.prototype.hasState=function(t,n){return!!t[n]},e.prototype.getItemStates=function(t){var n=this.get("tickStates"),i=[];return(0,c.S6)(n,function(a,o){t[o]&&i.push(o)}),i},e.prototype.clearItemsState=function(t){var n=this,i=this.getItemsByState(t);(0,c.S6)(i,function(a){n.setItemState(a,t,!1)})},e.prototype.getItemsByState=function(t){var n=this,i=this.getItems();return(0,c.hX)(i,function(a){return n.hasState(a,t)})},e.prototype.getSidePoint=function(t,n){var i=this,a=i.getSideVector(n,t);return{x:t.x+a[0],y:t.y+a[1]}},e.prototype.getTextAnchor=function(t){var n;return(0,c.vQ)(t[0],0)?n="center":t[0]>0?n="start":t[0]<0&&(n="end"),n},e.prototype.getTextBaseline=function(t){var n;return(0,c.vQ)(t[1],0)?n="middle":t[1]>0?n="top":t[1]<0&&(n="bottom"),n},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var n=this.getLinePath(),i=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:(0,c.CD)({path:n},i.style)})},e.prototype.getTickLineItems=function(t){var n=this,i=[],a=this.get("tickLine"),o=a.alignTick,s=a.length,l=1,u=t.length;return u>=2&&(l=t[1].value-t[0].value),(0,c.S6)(t,function(f){var h=f.point;o||(h=n.getTickPoint(f.value-l/2));var v=n.getSidePoint(h,s);i.push({startPoint:h,tickValue:f.value,endPoint:v,tickId:f.id,id:"tickline-"+f.id})}),i},e.prototype.getSubTickLineItems=function(t){var n=[],i=this.get("subTickLine"),a=i.count,o=t.length;if(o>=2)for(var s=0;s0){var i=(0,c.dp)(n);if(i>t.threshold){var a=Math.ceil(i/t.threshold),o=n.filter(function(s,l){return l%a===0});this.set("ticks",o),this.set("originalTicks",n)}}},e.prototype.getLabelAttrs=function(t,n,i){var a=this.get("label"),o=a.offset,s=a.offsetX,l=a.offsetY,u=a.rotate,f=a.formatter,h=this.getSidePoint(t.point,o),v=this.getSideVector(o,h),d=f?f(t.name,t,n):t.name,g=a.style;g=(0,c.mf)(g)?(0,c.U2)(this.get("theme"),["label","style"],{}):g;var y=(0,c.CD)({x:h.x+s,y:h.y+l,text:d,textAlign:this.getTextAnchor(v),textBaseline:this.getTextBaseline(v)},g);return u&&(y.matrix=Mi(h,u)),y},e.prototype.drawLabels=function(t){var n=this,i=this.get("ticks"),a=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});(0,c.S6)(i,function(v,d){n.addShape(a,{type:"text",name:"axis-label",id:n.getElementId("label-"+v.id),attrs:n.getLabelAttrs(v,d,i),delegateObject:{tick:v,item:v,index:d}})}),this.processOverlap(a);var o=a.getChildren(),s=(0,c.U2)(this.get("theme"),["label","style"],{}),l=this.get("label"),u=l.style,f=l.formatter;if((0,c.mf)(u)){var h=o.map(function(v){return(0,c.U2)(v.get("delegateObject"),"tick")});(0,c.S6)(o,function(v,d){var g=v.get("delegateObject").tick,y=f?f(g.name,g,d):g.name,m=(0,c.CD)({},s,u(y,d,h));v.attr(m)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),n=t.style,i=t.position,a=t.offset,o=t.spacing,s=o===void 0?0:o,l=t.autoRotate,u=n.fontSize,f=.5;i==="start"?f=0:i==="end"&&(f=1);var h=this.getTickPoint(f),v=this.getSidePoint(h,a||s+u/2),d=(0,c.CD)({x:v.x,y:v.y,text:t.text},n),g=t.rotate,y=g;if((0,c.UM)(g)&&l){var m=this.getAxisVector(h),x=[1,0];y=Qe.Dg(m,x,!0)}if(y){var M=Mi(v,y);d.matrix=M}return d},e.prototype.drawTitle=function(t){var n,i=this.getTitleAttrs(),a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:i});!((n=this.get("title"))===null||n===void 0)&&n.description&&this.drawDescriptionIcon(t,a,i.matrix)},e.prototype.drawDescriptionIcon=function(t,n,i){var a=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),o=n.getBBox(),s=o.maxX,l=o.maxY,u=o.height,f=this.get("title").iconStyle,h=4,v=u/2,d=v/6,g=s+h,y=l-u/2,m=[g+v,y-v],x=m[0],M=m[1],E=[x+v,M+v],F=E[0],N=E[1],tt=[x,N+v],st=tt[0],vt=tt[1],Dt=[g,M+v],Tt=Dt[0],Xt=Dt[1],se=[g+v,y-u/4],be=se[0],Ce=se[1],Ue=[be,Ce+d],Kt=Ue[0],fe=Ue[1],me=[Kt,fe+d],he=me[0],xe=me[1],Te=[he,xe+v*3/4],Ve=Te[0],Ge=Te[1];this.addShape(a,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:(0,p.pi)({path:[["M",x,M],["A",v,v,0,0,1,F,N],["A",v,v,0,0,1,st,vt],["A",v,v,0,0,1,Tt,Xt],["A",v,v,0,0,1,x,M],["M",be,Ce],["L",Kt,fe],["M",he,xe],["L",Ve,Ge]],lineWidth:d,matrix:i},f)}),this.addShape(a,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:g,y:y-u/2,width:u,height:u,stroke:"#000",fill:"#000",opacity:0,matrix:i,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,n){var i=this.getItemStates(t);if(i.length){var a=this.get("tickStates"),o=this.getElementId("label-"+t.id),s=n.findById(o);if(s){var l=ao(t,"label",a);l&&s.attr(l)}var u=this.getElementId("tickline-"+t.id),f=n.findById(u);if(f){var h=ao(t,"tickLine",a);h&&f.attr(h)}}},e.prototype.updateTickStates=function(t){var n=this.getItemStates(t),i=this.get("tickStates"),a=this.get("label"),o=this.getElementByLocalId("label-"+t.id),s=this.get("tickLine"),l=this.getElementByLocalId("tickline-"+t.id);if(n.length){if(o){var u=ao(t,"label",i);u&&o.attr(u)}if(l){var f=ao(t,"tickLine",i);f&&l.attr(f)}}else o&&o.attr(a.style),l&&l.attr(s.style)},e}(Sr),Rf=Em;function Kl(r,e,t,n){var i=e.getChildren(),a=!1;return(0,c.S6)(i,function(o){var s=io(r,o,t,n);a=a||s}),a}function Fm(){return Nf}function Im(r,e,t){return Kl(r,e,t,"head")}function Nf(r,e,t){return Kl(r,e,t,"tail")}function km(r,e,t){return Kl(r,e,t,"middle")}function Lm(r){var e=r.attr("matrix");return e&&e[0]!==1}function zf(r){var e=Lm(r)?Ry(r.attr("matrix")):0;return e%360}function Ql(r,e,t,n){var i=!1,a=zf(e),o=Math.abs(r?t.attr("y")-e.attr("y"):t.attr("x")-e.attr("x")),s=(r?t.attr("y")>e.attr("y"):t.attr("x")>e.attr("x"))?e.getBBox():t.getBBox();if(r){var l=Math.abs(Math.cos(a));hs(l,0,Math.PI/180)?i=s.width+n>o:i=s.height/l+n>o}else{var l=Math.abs(Math.sin(a));hs(l,0,Math.PI/180)?i=s.width+n>o:i=s.height/l+n>o}return i}function oo(r,e,t,n){var i=(n==null?void 0:n.minGap)||0,a=e.getChildren().slice().filter(function(g){return g.get("visible")});if(!a.length)return!1;var o=!1;t&&a.reverse();for(var s=a.length,l=a[0],u=l,f=1;f1){v=Math.ceil(v);for(var y=0;y2){var o=i[0],s=i[i.length-1];o.get("visible")||(o.show(),oo(r,e,!1,n)&&(a=!0)),s.get("visible")||(s.show(),oo(r,e,!0,n)&&(a=!0))}return a}function Rm(r,e){(0,c.S6)(r,function(t){var n=t.attr("x"),i=t.attr("y"),a=Mi({x:n,y:i},e);t.attr("matrix",a)})}function Gf(r,e,t,n){var i=e.getChildren();if(!i.length||!r&&i.length<2)return!1;var a=ql(i),o=!1;if(r)o=!!t&&a>t;else{var s=Math.abs(i[1].attr("x")-i[0].attr("x"));o=a>s}if(o){var l=n(t,a);Rm(i,l)}return o}function Nm(){return Hf}function Hf(r,e,t,n){return Gf(r,e,t,function(){return(0,c.hj)(n)?n:r?ze.verticalAxisRotate:ze.horizontalAxisRotate})}function zm(r,e,t){return Gf(r,e,t,function(n,i){if(!n)return r?ze.verticalAxisRotate:ze.horizontalAxisRotate;if(r)return-Math.acos(n/i);var a=0;return n>i?a=Math.PI/4:(a=Math.asin(n/i),a>Math.PI/4&&(a=Math.PI/4)),a})}var Um=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),n=this.get("end"),i=[];return i.push(["M",t.x,t.y]),i.push(["L",n.x,n.y]),i},e.prototype.getInnerLayoutBBox=function(){var t=this.get("start"),n=this.get("end"),i=r.prototype.getInnerLayoutBBox.call(this),a=Math.min(t.x,n.x,i.x),o=Math.min(t.y,n.y,i.y),s=Math.max(t.x,n.x,i.maxX),l=Math.max(t.y,n.y,i.maxY);return{x:a,y:o,minX:a,minY:o,maxX:s,maxY:l,width:s-a,height:l-o}},e.prototype.isVertical=function(){var t=this.get("start"),n=this.get("end");return(0,c.vQ)(t.x,n.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),n=this.get("end");return(0,c.vQ)(t.y,n.y)},e.prototype.getTickPoint=function(t){var n=this,i=n.get("start"),a=n.get("end"),o=a.x-i.x,s=a.y-i.y;return{x:i.x+o*t,y:i.y+s*t}},e.prototype.getSideVector=function(t){var n=this.getAxisVector(),i=Ie.Fv([0,0],n),a=this.get("verticalFactor"),o=[i[1],i[0]*-1];return Ie.bA([0,0],o,t*a)},e.prototype.getAxisVector=function(){var t=this.get("start"),n=this.get("end");return[n.x-t.x,n.y-t.y]},e.prototype.processOverlap=function(t){var n=this,i=this.isVertical(),a=this.isHorizontal();if(!(!i&&!a)){var o=this.get("label"),s=this.get("title"),l=this.get("verticalLimitLength"),u=o.offset,f=l,h=0,v=0;s&&(h=s.style.fontSize,v=s.spacing),f&&(f=f-u-v-h);var d=this.get("overlapOrder");if((0,c.S6)(d,function(m){o[m]&&n.canProcessOverlap(m)&&n.autoProcessOverlap(m,o[m],t,f)}),s&&(0,c.UM)(s.offset)){var g=t.getCanvasBBox(),y=i?g.width:g.height;s.offset=u+y+v+h/2}}},e.prototype.canProcessOverlap=function(t){var n=this.get("label");return t==="autoRotate"?(0,c.UM)(n.rotate):!0},e.prototype.autoProcessOverlap=function(t,n,i,a){var o=this,s=this.isVertical(),l=!1,u=gt[t];if(n===!0){var f=this.get("label");l=u.getDefault()(s,i,a)}else if((0,c.mf)(n))l=n(s,i,a);else if((0,c.Kn)(n)){var h=n;u[h.type]&&(l=u[h.type](s,i,a,h.cfg))}else u[n]&&(l=u[n](s,i,a));if(t==="autoRotate"){if(l){var v=i.getChildren(),d=this.get("verticalFactor");(0,c.S6)(v,function(y){var m=y.attr("textAlign");if(m==="center"){var x=d>0?"end":"start";y.attr("textAlign",x)}})}}else if(t==="autoHide"){var g=i.getChildren().slice(0);(0,c.S6)(g,function(y){y.get("visible")||(o.get("isRegister")&&o.unregisterElement(y),y.remove())})}},e}(Rf),Vm=Um,Gm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getLinePath=function(){var t=this.get("center"),n=t.x,i=t.y,a=this.get("radius"),o=a,s=this.get("startAngle"),l=this.get("endAngle"),u=[];if(Math.abs(l-s)===Math.PI*2)u=[["M",n,i-o],["A",a,o,0,1,1,n,i+o],["A",a,o,0,1,1,n,i-o],["Z"]];else{var f=this.getCirclePoint(s),h=this.getCirclePoint(l),v=Math.abs(l-s)>Math.PI?1:0,d=s>l?0:1;u=[["M",n,i],["L",f.x,f.y],["A",a,o,0,v,d,h.x,h.y],["L",n,i]]}return u},e.prototype.getTickPoint=function(t){var n=this.get("startAngle"),i=this.get("endAngle"),a=n+(i-n)*t;return this.getCirclePoint(a)},e.prototype.getSideVector=function(t,n){var i=this.get("center"),a=[n.x-i.x,n.y-i.y],o=this.get("verticalFactor"),s=Ie.kE(a);return Ie.bA(a,a,o*t/s),a},e.prototype.getAxisVector=function(t){var n=this.get("center"),i=[t.x-n.x,t.y-n.y];return[i[1],-1*i[0]]},e.prototype.getCirclePoint=function(t,n){var i=this.get("center");return n=n||this.get("radius"),{x:i.x+Math.cos(t)*n,y:i.y+Math.sin(t)*n}},e.prototype.canProcessOverlap=function(t){var n=this.get("label");return t==="autoRotate"?(0,c.UM)(n.rotate):!0},e.prototype.processOverlap=function(t){var n=this,i=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),s=i.offset,l=o,u=0,f=0;a&&(u=a.style.fontSize,f=a.spacing),l&&(l=l-s-f-u);var h=this.get("overlapOrder");if((0,c.S6)(h,function(d){i[d]&&n.canProcessOverlap(d)&&n.autoProcessOverlap(d,i[d],t,l)}),a&&(0,c.UM)(a.offset)){var v=t.getCanvasBBox().height;a.offset=s+v+f+u/2}},e.prototype.autoProcessOverlap=function(t,n,i,a){var o=this,s=!1,l=gt[t];if(a>0)if(n===!0)s=l.getDefault()(!1,i,a);else if((0,c.mf)(n))s=n(!1,i,a);else if((0,c.Kn)(n)){var u=n;l[u.type]&&(s=l[u.type](!1,i,a,u.cfg))}else l[n]&&(s=l[n](!1,i,a));if(t==="autoRotate"){if(s){var f=i.getChildren(),h=this.get("verticalFactor");(0,c.S6)(f,function(d){var g=d.attr("textAlign");if(g==="center"){var y=h>0?"end":"start";d.attr("textAlign",y)}})}}else if(t==="autoHide"){var v=i.getChildren().slice(0);(0,c.S6)(v,function(d){d.get("visible")||(o.get("isRegister")&&o.unregisterElement(d),d.remove())})}},e}(Rf),Hm=Gm,Ym=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:ze.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:ze.textColor,textAlign:"center",textBaseline:"middle",fontFamily:ze.fontFamily}},textBackground:{padding:5,style:{stroke:ze.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var n=this.get("text"),i=n.style,a=n.autoRotate,o=n.content;if(!(0,c.UM)(o)){var s=this.getTextPoint(),l=null;if(a){var u=this.getRotateAngle();l=Mi(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:(0,p.pi)((0,p.pi)((0,p.pi)({},s),{text:o,matrix:l}),i)})}},e.prototype.renderLine=function(t){var n=this.getLinePath(),i=this.get("line"),a=i.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:(0,p.pi)({path:n},a)})},e.prototype.renderBackground=function(t){var n=this.getElementId("text"),i=t.findById(n),a=this.get("textBackground");if(a&&i){var o=i.getBBox(),s=fs(a.padding),l=a.style,u=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:(0,p.pi)({x:o.x-s[3],y:o.y-s[0],width:o.width+s[1]+s[3],height:o.height+s[0]+s[2],matrix:i.attr("matrix")},l)});u.toBack()}},e}(Sr),tu=Ym,Xm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),n=t.start,i=t.end,a=this.get("text").position,o=Math.atan2(i.y-n.y,i.x-n.x),s=a==="start"?o-Math.PI/2:o+Math.PI/2;return s},e.prototype.getTextPoint=function(){var t=this.getLocation(),n=t.start,i=t.end,a=this.get("text"),o=a.position,s=a.offset;return _f(n,i,o,s)},e.prototype.getLinePath=function(){var t=this.getLocation(),n=t.start,i=t.end;return[["M",n.x,n.y],["L",i.x,i.y]]},e}(tu),Yf=Xm,Wm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),n=t.startAngle,i=t.endAngle,a=this.get("text").position,o=a==="start"?n+Math.PI/2:i-Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.get("text"),n=t.position,i=t.offset,a=this.getLocation(),o=a.center,s=a.radius,l=a.startAngle,u=a.endAngle,f=n==="start"?l:u,h=this.getRotateAngle()-Math.PI,v=la(o,s,f),d=Math.cos(h)*i,g=Math.sin(h)*i;return{x:v.x+d,y:v.y+g}},e.prototype.getLinePath=function(){var t=this.getLocation(),n=t.center,i=t.radius,a=t.startAngle,o=t.endAngle,s=null;if(o-a===Math.PI*2){var l=n.x,u=n.y;s=[["M",l,u-i],["A",i,i,0,1,1,l,u+i],["A",i,i,0,1,1,l,u-i],["Z"]]}else{var f=la(n,i,a),h=la(n,i,o),v=Math.abs(o-a)>Math.PI?1:0,d=a>o?0:1;s=[["M",f.x,f.y],["A",i,i,0,v,d,h.x,h.y]]}return s},e}(tu),Zm=Wm,so="g2-crosshair",eu=so+"-line",ru=so+"-text",lo,jm=(lo={},lo[""+so]={position:"relative"},lo[""+eu]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},lo[""+ru]={position:"absolute",color:ze.textColor,fontFamily:ze.fontFamily},lo),$m=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
    ',crosshairTpl:'
    ',textTpl:'{content}',domStyles:null,containerClassName:so,defaultStyles:jm,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),n=this.get("crosshairTpl"),i=H(n);t.appendChild(i),this.applyStyle(eu,i),this.set("crosshairEl",i)},e.prototype.getTextPoint=function(){var t=this.getLocation(),n=t.start,i=t.end,a=this.get("text"),o=a.position,s=a.offset;return _f(n,i,o,s)},e.prototype.resetText=function(){var t=this.get("text"),n=this.get("textEl");if(t){var i=t.content;if(!n){var a=this.getContainer(),o=(0,c.ng)(this.get("textTpl"),t);n=H(o),a.appendChild(n),this.applyStyle(ru,n),this.set("textEl",n)}n.innerHTML=i}else n&&n.remove()},e.prototype.isVertical=function(t,n){return t.x===n.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var n=this.get("start"),i=this.get("end"),a=Math.min(n.x,i.x),o=Math.min(n.y,i.y);this.isVertical(n,i)?rt(t,{width:"1px",height:Lr(Math.abs(i.y-n.y))}):rt(t,{height:"1px",width:Lr(Math.abs(i.x-n.x))}),rt(t,{top:Lr(o),left:Lr(a)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var n=this.get("text").align,i=t.clientWidth,a=this.getTextPoint();switch(n){case"center":a.x=a.x-i/2;break;case"right":a.x=a.x-i;case"left":break}rt(t,{top:Lr(a.y),left:Lr(a.x)})}},e.prototype.updateInner=function(t){(0,c.wH)(t,"text")&&this.resetText(),r.prototype.updateInner.call(this,t)},e}(Jl),qm=$m,Jm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:ze.lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,n){var i=this.getGridPath(t),a=n.slice(0).reverse(),o=this.getGridPath(a,!0),s=this.get("closed");return s?i=i.concat(o):(o[0][0]="L",i=i.concat(o),i.push(["Z"])),i},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var n=this,i=this.get("line"),a=this.get("items"),o=this.get("alternateColor"),s=null;(0,c.S6)(a,function(l,u){var f=l.id||u;if(i){var h=n.getPathStyle();h=(0,c.mf)(h)?h(l,u,a):h;var v=n.getElementId("line-"+f),d=n.getGridPath(l.points);n.addShape(t,{type:"path",name:"grid-line",id:v,attrs:(0,c.CD)({path:d},h)})}if(o&&u>0){var g=n.getElementId("region-"+f),y=u%2===0;if((0,c.HD)(o))y&&n.drawAlternateRegion(g,t,s.points,l.points,o);else{var m=y?o[1]:o[0];n.drawAlternateRegion(g,t,s.points,l.points,m)}}s=l})},e.prototype.drawAlternateRegion=function(t,n,i,a,o){var s=this.getAlternatePath(i,a);this.addShape(n,{type:"path",id:t,name:"grid-region",attrs:{path:s,fill:o}})},e}(Sr),Xf=Jm;function Km(r,e,t,n){var i=t-r,a=n-e;return Math.sqrt(i*i+a*a)}var Qm=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,n){var i=this.getLineType(),a=this.get("closed"),o=[];if(t.length)if(i==="circle"){var s=this.get("center"),l=t[0],u=Km(s.x,s.y,l.x,l.y),f=n?0:1;a?(o.push(["M",s.x,s.y-u]),o.push(["A",u,u,0,0,f,s.x,s.y+u]),o.push(["A",u,u,0,0,f,s.x,s.y-u]),o.push(["Z"])):(0,c.S6)(t,function(h,v){v===0?o.push(["M",h.x,h.y]):o.push(["A",u,u,0,0,f,h.x,h.y])})}else(0,c.S6)(t,function(h,v){v===0?o.push(["M",h.x,h.y]):o.push(["L",h.x,h.y])}),a&&o.push(["Z"]);return o},e}(Xf),tx=Qm,ex=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"line"})},e.prototype.getGridPath=function(t){var n=[];return(0,c.S6)(t,function(i,a){a===0?n.push(["M",i.x,i.y]):n.push(["L",i.x,i.y])}),n},e}(Xf),rx=ex,nx=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var t=r.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),i=this.get("maxHeight"),a=t.width,o=t.height;return n&&(a=Math.min(a,n)),i&&(o=Math.min(o,i)),no(t.minX,t.minY,a,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),n=this.get("y"),i=this.get("offsetX"),a=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+i,y:n+a})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var n=this.get("background"),i=t.getBBox(),a=fs(n.padding),o=(0,p.pi)({x:0,y:0,width:i.width+a[1]+a[3],height:i.height+a[0]+a[2]},n.style),s=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});s.toBack()},e.prototype.drawTitle=function(t){var n=this.get("currentPoint"),i=this.get("title"),a=i.spacing,o=i.style,s=i.text,l=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:(0,p.pi)({text:s,x:n.x,y:n.y},o)}),u=l.getBBox();this.set("currentPoint",{x:n.x,y:u.maxY+a})},e.prototype.resetDraw=function(){var t=this.get("background"),n={x:0,y:0};if(t){var i=fs(t.padding);n.x=i[3],n.y=i[0]}this.set("currentPoint",n)},e}(Sr),Wf=nx,nu={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},ps={fill:ze.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:ze.fontFamily,fontWeight:"normal",lineHeight:12},iu="navigation-arrow-right",au="navigation-arrow-left",Zf={right:90*Math.PI/180,left:(360-90)*Math.PI/180,up:0,down:180*Math.PI/180},ix=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.currentPageIndex=1,t.totalPagesCnt=1,t.pageWidth=0,t.pageHeight=0,t.startX=0,t.startY=0,t.onNavigationBack=function(){var n=t.getElementByLocalId("item-group");if(t.currentPageIndex>1){t.currentPageIndex-=1,t.updateNavigation();var i=t.getCurrentNavigationMatrix();t.get("animate")?n.animate({matrix:i},100):n.attr({matrix:i})}},t.onNavigationAfter=function(){var n=t.getElementByLocalId("item-group");if(t.currentPageIndexm&&(m=st),d==="horizontal"?(x&&xF&&(F=Xt.width)}),N=F,F+=v,u&&(F=Math.min(u,F),N=Math.min(u,N)),this.pageWidth=F,this.pageHeight=f-Math.max(m.height,d+tt);var Dt=Math.floor(this.pageHeight/(d+tt));(0,c.S6)(l,function(Tt,Xt){Xt!==0&&Xt%Dt===0&&(M+=1,x.x+=F,x.y=o),i.moveElementTo(Tt,x),Tt.getParent().setClip({type:"rect",attrs:{x:x.x,y:x.y,width:F,height:d}}),x.y+=d+tt}),this.totalPagesCnt=M,this.moveElementTo(y,{x:a+N/2-m.width/2-m.minX,y:f-m.height-m.minY})}this.pageHeight&&this.pageWidth&&n.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),s==="horizontal"&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(M/this.get("maxRow")):this.totalPagesCnt=M,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(y),n.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,n,i,a){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=(0,c.U2)(a.marker,"style",{}),u=l.size,f=u===void 0?12:u,h=(0,p._T)(l,["size"]),v=this.drawArrow(s,o,au,n==="horizontal"?"up":"left",f,h);v.on("click",this.onNavigationBack);var d=v.getBBox();o.x+=d.width+2;var g=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:(0,p.pi)({x:o.x,y:o.y+f/2,text:i,textBaseline:"middle"},(0,c.U2)(a.text,"style"))}),y=g.getBBox();o.x+=y.width+2;var m=this.drawArrow(s,o,iu,n==="horizontal"?"down":"right",f,h);return m.on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var n=(0,c.b$)({},nu,this.get("pageNavigator")),i=n.marker.style,a=i.fill,o=i.opacity,s=i.inactiveFill,l=i.inactiveOpacity,u=this.currentPageIndex+"/"+this.totalPagesCnt,f=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),h=t?t.findById(this.getElementId(au)):this.getElementByLocalId(au),v=t?t.findById(this.getElementId(iu)):this.getElementByLocalId(iu);f.attr("text",u),h.attr("opacity",this.currentPageIndex===1?l:o),h.attr("fill",this.currentPageIndex===1?s:a),h.attr("cursor",this.currentPageIndex===1?"not-allowed":"pointer"),v.attr("opacity",this.currentPageIndex===this.totalPagesCnt?l:o),v.attr("fill",this.currentPageIndex===this.totalPagesCnt?s:a),v.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var d=h.getBBox().maxX+2;f.attr("x",d),d+=f.getBBox().width+2,this.updateArrowPath(v,{x:d,y:0})},e.prototype.drawArrow=function(t,n,i,a,o,s){var l=n.x,u=n.y,f=this.addShape(t,{type:"path",id:this.getElementId(i),name:i,attrs:(0,p.pi)({size:o,direction:a,path:[["M",l+o/2,u],["L",l,u+o],["L",l+o,u+o],["Z"]],cursor:"pointer"},s)});return f.attr("matrix",Mi({x:l+o/2,y:u+o/2},Zf[a])),f},e.prototype.updateArrowPath=function(t,n){var i=n.x,a=n.y,o=t.attr(),s=o.size,l=o.direction,u=Mi({x:i+s/2,y:a+s/2},Zf[l]);t.attr("path",[["M",i+s/2,a],["L",i,a+s],["L",i+s,a+s],["Z"]]),t.attr("matrix",u)},e.prototype.getCurrentNavigationMatrix=function(){var t=this,n=t.currentPageIndex,i=t.pageWidth,a=t.pageHeight,o=this.get("layout"),s=o==="horizontal"?{x:0,y:a*(1-n)}:{x:i*(1-n),y:0};return Zl(s)},e.prototype.applyItemStates=function(t,n){var i=this.getItemStates(t),a=i.length>0;if(a){var o=n.getChildren(),s=this.get("itemStates");(0,c.S6)(o,function(l){var u=l.get("name"),f=u.split("-")[2],h=ao(t,f,s);h&&(l.attr(h),f==="marker"&&!(l.get("isStroke")&&l.get("isFill"))&&(l.get("isStroke")&&l.attr("fill",null),l.get("isFill")&&l.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),n=this.get("maxItemWidth");return n?t&&(n=t<=n?t:n):t&&(n=t),n},e}(Wf),ax=ix,ox=1.4,jf=.4,sx=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:ze.textColor,textBaseline:"middle",fontFamily:ze.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:ze.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,n){this.update({min:t,max:n})},e.prototype.setValue=function(t){var n=this.getValue();this.set("value",t);var i=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(i),this.delegateEmit("valuechanged",{originValue:n,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var n=this;t.on("legend-handler-min:drag",function(i){var a=n.getValueByCanvasPoint(i.x,i.y),o=n.getCurrentValue(),s=o[1];sa&&(s=a),n.setValue([s,a])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var n=this,i=null;t.on("legend-track:dragstart",function(a){i={x:a.x,y:a.y}}),t.on("legend-track:drag",function(a){if(!!i){var o=n.getValueByCanvasPoint(i.x,i.y),s=n.getValueByCanvasPoint(a.x,a.y),l=n.getCurrentValue(),u=l[1]-l[0],f=n.getRange(),h=s-o;h<0?l[0]+h>f.min?n.setValue([l[0]+h,l[1]+h]):n.setValue([f.min,f.min+u]):h>0&&(h>0&&l[1]+ho&&(h=o),h0&&this.changeRailLength(a,s,i[s]-d)}},e.prototype.changeRailLength=function(t,n,i){var a=t.getBBox(),o;n==="height"?o=this.getRailPath(a.x,a.y,a.width,i):o=this.getRailPath(a.x,a.y,i,a.height),t.attr("path",o)},e.prototype.changeRailPosition=function(t,n,i){var a=t.getBBox(),o=this.getRailPath(n,i,a.width,a.height);t.attr("path",o)},e.prototype.fixedHorizontal=function(t,n,i,a){var o=this.get("label"),s=o.align,l=o.spacing,u=i.getBBox(),f=t.getBBox(),h=n.getBBox(),v=u.height;this.fitRailLength(f,h,u,i),u=i.getBBox(),s==="rail"?(t.attr({x:a.x,y:a.y+v/2}),this.changeRailPosition(i,a.x+f.width+l,a.y),n.attr({x:a.x+f.width+u.width+l*2,y:a.y+v/2})):s==="top"?(t.attr({x:a.x,y:a.y}),n.attr({x:a.x+u.width,y:a.y}),this.changeRailPosition(i,a.x,a.y+f.height+l)):(this.changeRailPosition(i,a.x,a.y),t.attr({x:a.x,y:a.y+u.height+l}),n.attr({x:a.x+u.width,y:a.y+u.height+l}))},e.prototype.fixedVertail=function(t,n,i,a){var o=this.get("label"),s=o.align,l=o.spacing,u=i.getBBox(),f=t.getBBox(),h=n.getBBox();if(this.fitRailLength(f,h,u,i),u=i.getBBox(),s==="rail")t.attr({x:a.x,y:a.y}),this.changeRailPosition(i,a.x,a.y+f.height+l),n.attr({x:a.x,y:a.y+f.height+u.height+l*2});else if(s==="right")t.attr({x:a.x+u.width+l,y:a.y}),this.changeRailPosition(i,a.x,a.y),n.attr({x:a.x+u.width+l,y:a.y+u.height});else{var v=Math.max(f.width,h.width);t.attr({x:a.x,y:a.y}),this.changeRailPosition(i,a.x+v+l,a.y),n.attr({x:a.x,y:a.y+u.height})}},e}(Wf),lx=sx,Rn="g2-tooltip",Nn="g2-tooltip-title",uo="g2-tooltip-list",ds="g2-tooltip-list-item",gs="g2-tooltip-marker",ys="g2-tooltip-value",$f="g2-tooltip-name",ou="g2-tooltip-crosshair-x",su="g2-tooltip-crosshair-y",Sn,ux=(Sn={},Sn[""+Rn]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:ze.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},Sn[""+Nn]={marginBottom:"4px"},Sn[""+uo]={margin:"0px",listStyleType:"none",padding:"0px"},Sn[""+ds]={listStyleType:"none",marginBottom:"4px"},Sn[""+gs]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},Sn[""+ys]={display:"inline-block",float:"right",marginLeft:"30px"},Sn[""+ou]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},Sn[""+su]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},Sn);function cx(r,e,t,n,i){var a={left:ri.x+i.width,top:ei.y+i.height};return a}function fx(r,e,t,n,i,a){var o=r,s=e;switch(a){case"left":o=r-n-t,s=e-i/2;break;case"right":o=r+t,s=e-i/2;break;case"top":o=r-n/2,s=e-i-t;break;case"bottom":o=r-n/2,s=e+t;break;default:o=r+t,s=e-i-t;break}return{x:o,y:s}}function hx(r,e,t,n,i,a,o){var s=fx(r,e,t,n,i,a);if(o){var l=cx(s.x,s.y,n,i,o);a==="auto"?(l.right&&(s.x=Math.max(0,r-n-t)),l.top&&(s.y=Math.max(0,e-i-t))):a==="top"||a==="bottom"?(l.left&&(s.x=o.x),l.right&&(s.x=o.x+o.width-n),a==="top"&&l.top&&(s.y=e+t),a==="bottom"&&l.bottom&&(s.y=e-i-t)):(l.top&&(s.y=o.y),l.bottom&&(s.y=o.y+o.height-i),a==="left"&&l.left&&(s.x=r+t),a==="right"&&l.right&&(s.x=r-n-t))}return s}function vx(r,e){var t=!1;return(0,c.S6)(e,function(n){if((0,c.wH)(r,n))return t=!0,!1}),t}var px=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
      ',itemTpl:'
    • - - {name}: - {value} -
    • `,xCrosshairTpl:'
      ',yCrosshairTpl:'
      ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:Rn,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:ux})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!0),rt(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!1),rt(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var n=t?"":"none",i=this.get("xCrosshairDom"),a=this.get("yCrosshairDom");i&&rt(i,{display:n}),a&&rt(a,{display:n})},e.prototype.initContainer=function(){if(r.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var t=this.getHtmlContentNode();this.get("parent").appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(t){this.get("customContent")?this.renderCustomContent():(vx(t,["title","showTitle"])&&this.resetTitle(),(0,c.wH)(t,"items")&&this.renderItems()),r.prototype.updateInner.call(this,t)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){r.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t=this.get("x"),n=this.get("y"),i=this.get("offset"),a=this.getOffset(),o=a.offsetX,s=a.offsetY,l=this.get("position"),u=this.get("region"),f=this.getContainer(),h=this.getBBox(),v=h.width,d=h.height,g;u&&(g=ro(u));var y=hx(t,n,i,v,d,l,g);rt(f,{left:Lr(y.x+o),top:Lr(y.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),n=this.get("parent"),i=this.get("container");i&&i.parentNode===n?n.replaceChild(t,i):n.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,n=this.get("customContent");if(n){var i=n(this.get("title"),this.get("items"));(0,c.kK)(i)?t=i:t=H(i)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),n=t.getElementsByClassName(Nn)[0],i=t.getElementsByClassName(uo)[0];this.set("titleDom",n),this.set("listDom",i)},e.prototype.resetTitle=function(){var t=this.get("title"),n=this.get("showTitle");n&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var n=this.get("titleDom");n&&(n.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),n=this.get("crosshairs");if(!t||!n)this.clearCrosshairs();else{var i=ro(t),a=this.get("xCrosshairDom"),o=this.get("yCrosshairDom");n==="x"?(this.resetCrosshair("x",i),o&&(o.remove(),this.set("yCrosshairDom",null))):n==="y"?(this.resetCrosshair("y",i),a&&(a.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",i),this.resetCrosshair("y",i)),this.setCrossHairsVisible(this.get("visible"))}},e.prototype.resetCrosshair=function(t,n){var i=this.checkCrosshair(t),a=this.get(t);t==="x"?rt(i,{left:Lr(a),top:Lr(n.y),height:Lr(n.height)}):rt(i,{top:Lr(a),left:Lr(n.x),width:Lr(n.width)})},e.prototype.checkCrosshair=function(t){var n=t+"CrosshairDom",i=t+"CrosshairTpl",a="CROSSHAIR_"+t.toUpperCase(),o=xt[a],s=this.get(n),l=this.get("parent");return s||(s=H(this.get(i)),this.applyStyle(o,s),l.appendChild(s),this.set(n,s)),s},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),n=this.get("itemTpl"),i=this.get("listDom");i&&((0,c.S6)(t,function(a){var o=qr.toCSSGradient(a.color),s=(0,p.pi)((0,p.pi)({},a),{color:o}),l=(0,c.ng)(n,s),u=H(l);i.appendChild(u)}),this.applyChildrenStyles(i,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&jl(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),n=this.get("yCrosshairDom");t&&t.remove(),n&&n.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(Jl),dx=px,gx={opacity:0},yx={stroke:"#C5C5C5",strokeOpacity:.85},mx={fill:"#CACED4",opacity:.85},Ti=Q(39499);function xx(r){return(0,c.UI)(r,function(e,t){var n=t===0?"M":"L",i=e[0],a=e[1];return[n,i,a]})}function qf(r){return xx(r)}function wx(r){if(r.length<=2)return qf(r);var e=[];(0,c.S6)(r,function(o){(0,c.Xy)(o,e.slice(e.length-2))||e.push(o[0],o[1])});var t=(0,Ti.e9)(e,!1),n=(0,c.YM)(r),i=n[0],a=n[1];return t.unshift(["M",i,a]),t}function Sx(r,e,t,n){n===void 0&&(n=!0);var i=new Ar({values:r}),a=new Dn({values:(0,c.UI)(r,function(s,l){return l})}),o=(0,c.UI)(r,function(s,l){return[a.scale(l)*e,t-i.scale(s)*t]});return n?wx(o):qf(o)}function Mx(r,e){var t=new Ar({values:r}),n=t.max<0?t.max:Math.max(0,t.min);return e-t.scale(n)*e}function bx(r,e,t,n){var i=(0,p.pr)(r),a=Mx(n,t);return i.push(["L",e,a]),i.push(["L",0,a]),i.push(["Z"]),i}var Cx=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:gx,lineStyle:yx,areaStyle:mx})},e.prototype.renderInner=function(t){var n=this.cfg,i=n.width,a=n.height,o=n.data,s=n.smooth,l=n.isArea,u=n.backgroundStyle,f=n.lineStyle,h=n.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,p.pi)({x:0,y:0,width:i,height:a},u)});var v=Sx(o,i,a,s);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:(0,p.pi)({path:v},f)}),l){var d=bx(v,i,a,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:(0,p.pi)({path:d},h)})}},e.prototype.applyOffset=function(){var t=this.cfg,n=t.x,i=t.y;this.moveElementTo(this.get("group"),{x:n,y:i})},e}(Sr),$_=null,Jf={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},Kf=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"handler",x:0,y:0,width:10,height:24,style:Jf})},e.prototype.renderInner=function(t){var n=this.cfg,i=n.width,a=n.height,o=n.style,s=o.fill,l=o.stroke,u=o.radius,f=o.opacity,h=o.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:i,height:a,fill:s,stroke:l,radius:u,opacity:f,cursor:h}});var v=1/3*i,d=2/3*i,g=1/4*a,y=3/4*a;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:v,y1:g,x2:v,y2:y,stroke:l,cursor:h}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:d,y1:g,x2:d,y2:y,stroke:l,cursor:h}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var n=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",n),t.draw()}),this.get("group").on("mouseleave",function(){var n=t.get("style").fill;t.getElementByLocalId("background").attr("fill",n),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(Sr),q_=null,Ax={fill:"#416180",opacity:.05},Tx={fill:"#5B8FF9",opacity:.15,cursor:"move"},ms=10,Ex={width:ms,height:24},Fx={textBaseline:"middle",fill:"#000",opacity:.45},Ix="sliderchange",kx=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.onMouseDown=function(n){return function(i){t.currentTarget=n;var a=i.originalEvent;a.stopPropagation(),a.preventDefault(),t.prevX=(0,c.U2)(a,"touches.0.pageX",a.pageX),t.prevY=(0,c.U2)(a,"touches.0.pageY",a.pageY);var o=t.getContainerDOM();o.addEventListener("mousemove",t.onMouseMove),o.addEventListener("mouseup",t.onMouseUp),o.addEventListener("mouseleave",t.onMouseUp),o.addEventListener("touchmove",t.onMouseMove),o.addEventListener("touchend",t.onMouseUp),o.addEventListener("touchcancel",t.onMouseUp)}},t.onMouseMove=function(n){var i=t.cfg.width,a=[t.get("start"),t.get("end")];n.stopPropagation(),n.preventDefault();var o=(0,c.U2)(n,"touches.0.pageX",n.pageX),s=(0,c.U2)(n,"touches.0.pageY",n.pageY),l=o-t.prevX,u=t.adjustOffsetRange(l/i);t.updateStartEnd(u),t.updateUI(t.getElementByLocalId("foreground"),t.getElementByLocalId("minText"),t.getElementByLocalId("maxText")),t.prevX=o,t.prevY=s,t.draw(),t.emit(Ix,[t.get("start"),t.get("end")].sort()),t.delegateEmit("valuechanged",{originValue:a,value:[t.get("start"),t.get("end")]})},t.onMouseUp=function(){t.currentTarget&&(t.currentTarget=void 0);var n=t.getContainerDOM();n&&(n.removeEventListener("mousemove",t.onMouseMove),n.removeEventListener("mouseup",t.onMouseUp),n.removeEventListener("mouseleave",t.onMouseUp),n.removeEventListener("touchmove",t.onMouseMove),n.removeEventListener("touchend",t.onMouseUp),n.removeEventListener("touchcancel",t.onMouseUp))},t}return e.prototype.setRange=function(t,n){this.set("minLimit",t),this.set("maxLimit",n);var i=this.get("start"),a=this.get("end"),o=(0,c.uZ)(i,t,n),s=(0,c.uZ)(a,t,n);!this.get("isInit")&&(i!==o||a!==s)&&this.setValue([o,s])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var n=this.getRange();if((0,c.kJ)(t)&&t.length===2){var i=[this.get("start"),this.get("end")];this.update({start:(0,c.uZ)(t[0],n.min,n.max),end:(0,c.uZ)(t[1],n.min,n.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:i,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:Ax,foregroundStyle:Tx,handlerStyle:Ex,textStyle:Fx}})},e.prototype.update=function(t){var n=t.start,i=t.end,a=(0,p.pi)({},t);(0,c.UM)(n)||(a.start=(0,c.uZ)(n,0,1)),(0,c.UM)(i)||(a.end=(0,c.uZ)(i,0,1)),r.prototype.update.call(this,a),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",(0,c.uZ)(this.get("start"),0,1)),this.set("end",(0,c.uZ)(this.get("end"),0,1)),r.prototype.init.call(this)},e.prototype.render=function(){r.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var n=this.cfg,i=n.start,a=n.end,o=n.width,s=n.height,l=n.trendCfg,u=l===void 0?{}:l,f=n.minText,h=n.maxText,v=n.backgroundStyle,d=v===void 0?{}:v,g=n.foregroundStyle,y=g===void 0?{}:g,m=n.textStyle,x=m===void 0?{}:m,M=(0,c.b$)({},Jf,this.cfg.handlerStyle),E=i*o,F=a*o;(0,c.dp)((0,c.U2)(u,"data"))&&(this.trend=this.addComponent(t,(0,p.pi)({component:Cx,id:this.getElementId("trend"),x:0,y:0,width:o,height:s},u))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,p.pi)({x:0,y:0,width:o,height:s},d)});var N=this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:(0,p.pi)({y:s/2,textAlign:"right",text:f,silent:!1},x)}),tt=this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:(0,p.pi)({y:s/2,textAlign:"left",text:h,silent:!1},x)}),st=this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:(0,p.pi)({y:0,height:s},y)}),vt=(0,c.U2)(M,"width",ms),Dt=(0,c.U2)(M,"height",24);this.minHandler=this.addComponent(t,{component:Kf,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(s-Dt)/2,width:vt,height:Dt,cursor:"ew-resize",style:M}),this.maxHandler=this.addComponent(t,{component:Kf,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(s-Dt)/2,width:vt,height:Dt,cursor:"ew-resize",style:M})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,n,i){var a=this.cfg,o=a.start,s=a.end,l=a.width,u=a.minText,f=a.maxText,h=a.handlerStyle,v=a.height,d=o*l,g=s*l;this.trend&&(this.trend.update({width:l,height:v}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",d),t.attr("width",g-d);var y=(0,c.U2)(h,"width",ms);n.attr("text",u),i.attr("text",f);var m=this._dodgeText([d,g],n,i),x=m[0],M=m[1];this.minHandler&&(this.minHandler.update({x:d-y/2}),this.get("updateAutoRender")||this.minHandler.render()),(0,c.S6)(x,function(E,F){return n.attr(F,E)}),this.maxHandler&&(this.maxHandler.update({x:g-y/2}),this.get("updateAutoRender")||this.maxHandler.render()),(0,c.S6)(M,function(E,F){return i.attr(F,E)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var n=t.findById(this.getElementId("foreground"));n.on("mousedown",this.onMouseDown("foreground")),n.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var n=this.cfg,i=n.start,a=n.end;switch(this.currentTarget){case"minHandler":{var o=0-i,s=1-i;return Math.min(s,Math.max(o,t))}case"maxHandler":{var o=0-a,s=1-a;return Math.min(s,Math.max(o,t))}case"foreground":{var o=0-i,s=1-a;return Math.min(s,Math.max(o,t))}}},e.prototype.updateStartEnd=function(t){var n=this.cfg,i=n.start,a=n.end;switch(this.currentTarget){case"minHandler":i+=t;break;case"maxHandler":a+=t;break;case"foreground":i+=t,a+=t;break}this.set("start",i),this.set("end",a)},e.prototype._dodgeText=function(t,n,i){var a,o,s=this.cfg,l=s.handlerStyle,u=s.width,f=2,h=(0,c.U2)(l,"width",ms),v=t[0],d=t[1],g=!1;v>d&&(a=[d,v],v=a[0],d=a[1],o=[i,n],n=o[0],i=o[1],g=!0);var y=n.getBBox(),m=i.getBBox(),x=y.width>v-f?{x:v+h/2+f,textAlign:"left"}:{x:v-h/2-f,textAlign:"right"},M=m.width>u-d-f?{x:d-h/2-f,textAlign:"right"}:{x:d+h/2+f,textAlign:"left"};return g?[M,x]:[x,M]},e.prototype.draw=function(){var t=this.get("container"),n=t&&t.get("canvas");n&&n.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),n=t&&t.get("canvas");return n&&n.get("container")},e}(Sr),J_=null;function ua(r,e,t){if(r){if(typeof r.addEventListener=="function")return r.addEventListener(e,t,!1),{remove:function(){r.removeEventListener(e,t,!1)}};if(typeof r.attachEvent=="function")return r.attachEvent("on"+e,t),{remove:function(){r.detachEvent("on"+e,t)}}}}var Lx={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},lu={default:Lx,hover:{thumbColor:"rgba(0,0,0,0.2)"}},Px=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.clearEvents=c.ZT,t.onStartEvent=function(n){return function(i){t.isMobile=n,i.originalEvent.preventDefault();var a=n?(0,c.U2)(i.originalEvent,"touches.0.clientX"):i.clientX,o=n?(0,c.U2)(i.originalEvent,"touches.0.clientY"):i.clientY;t.startPos=t.cfg.isHorizontal?a:o,t.bindLaterEvent()}},t.bindLaterEvent=function(){var n=t.getContainerDOM(),i=[];t.isMobile?i=[ua(n,"touchmove",t.onMouseMove),ua(n,"touchend",t.onMouseUp),ua(n,"touchcancel",t.onMouseUp)]:i=[ua(n,"mousemove",t.onMouseMove),ua(n,"mouseup",t.onMouseUp),ua(n,"mouseleave",t.onMouseUp)],t.clearEvents=function(){i.forEach(function(a){a.remove()})}},t.onMouseMove=function(n){var i=t.cfg,a=i.isHorizontal,o=i.thumbOffset;n.preventDefault();var s=t.isMobile?(0,c.U2)(n,"touches.0.clientX"):n.clientX,l=t.isMobile?(0,c.U2)(n,"touches.0.clientY"):n.clientY,u=a?s:l,f=u-t.startPos;t.startPos=u,t.updateThumbOffset(o+f)},t.onMouseUp=function(n){n.preventDefault(),t.clearEvents()},t.onTrackClick=function(n){var i=t.cfg,a=i.isHorizontal,o=i.x,s=i.y,l=i.thumbLen,u=t.getContainerDOM(),f=u.getBoundingClientRect(),h=n.clientX,v=n.clientY,d=a?h-f.left-o-l/2:v-f.top-s-l/2,g=t.validateRange(d);t.updateThumbOffset(g)},t.onThumbMouseOver=function(){var n=t.cfg.theme.hover.thumbColor;t.getElementByLocalId("thumb").attr("stroke",n),t.draw()},t.onThumbMouseOut=function(){var n=t.cfg.theme.default.thumbColor;t.getElementByLocalId("thumb").attr("stroke",n),t.draw()},t}return e.prototype.setRange=function(t,n){this.set("minLimit",t),this.set("maxLimit",n);var i=this.getValue(),a=(0,c.uZ)(i,t,n);i!==a&&!this.get("isInit")&&this.setValue(a)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,n=this.get("maxLimit")||1;return{min:t,max:n}},e.prototype.setValue=function(t){var n=this.getRange(),i=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*(0,c.uZ)(t,n.min,n.max)}),this.delegateEmit("valuechange",{originalValue:i,value:this.getValue()})},e.prototype.getValue=function(){return(0,c.uZ)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return(0,p.pi)((0,p.pi)({},t),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:lu})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var n=this.cfg,i=n.trackLen,a=n.theme,o=a===void 0?{default:{}}:a,s=(0,c.b$)({},lu,o).default,l=s.lineCap,u=s.trackColor,f=s.size,h=(0,c.U2)(this.cfg,"size",f),v=this.get("isHorizontal")?{x1:0+h/2,y1:h/2,x2:i-h/2,y2:h/2,lineWidth:h,stroke:u,lineCap:l}:{x1:h/2,y1:0+h/2,x2:h/2,y2:i-h/2,lineWidth:h,stroke:u,lineCap:l};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:v})},e.prototype.renderThumbShape=function(t){var n=this.cfg,i=n.thumbOffset,a=n.thumbLen,o=n.theme,s=(0,c.b$)({},lu,o).default,l=s.size,u=s.lineCap,f=s.thumbColor,h=(0,c.U2)(this.cfg,"size",l),v=this.get("isHorizontal")?{x1:i+h/2,y1:h/2,x2:i+a-h/2,y2:h/2,lineWidth:h,stroke:f,lineCap:u,cursor:"default"}:{x1:h/2,y1:i+h/2,x2:h/2,y2:i+a-h/2,lineWidth:h,stroke:f,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:v})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var n=t.findById(this.getElementId("track"));n.on("click",this.onTrackClick);var i=t.findById(this.getElementId("thumb"));i.on("mouseover",this.onThumbMouseOver),i.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),n=t&&t.get("canvas");return n&&n.get("container")},e.prototype.validateRange=function(t){var n=this.cfg,i=n.thumbLen,a=n.trackLen,o=t;return t+i>a?o=a-i:t+ia.x?a.x:e,t=ta.y?a.y:n,i=i=n&&r<=i}function Ux(r,e,t){if((0,c.HD)(r))return r.padEnd(e,t);if((0,c.kJ)(r)){var n=r.length;if(n=this.minX&&e.maxX<=this.maxX&&e.minY>=this.minY&&e.maxY<=this.maxY},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.add=function(){for(var e=[],t=0;te.minX&&this.minYe.minY},r.prototype.size=function(){return this.width*this.height},r.prototype.isPointIn=function(e){return e.x>=this.minX&&e.x<=this.maxX&&e.y>=this.minY&&e.y<=this.maxY},r}(),K_=function(r,e){var t=e.start,n=e.end;return new Tr(r.x+r.width*t.x,r.y+r.height*t.y,r.width*Math.abs(n.x-t.x),r.height*Math.abs(n.y-t.y))};function Vx(r){return[[r.minX,r.minY],[r.maxX,r.minY],[r.maxX,r.maxY],[r.minX,r.maxY]]}function fo(r){if(r.isPolar&&!r.isTransposed)return(r.endAngle-r.startAngle)*r.getRadius();var e=r.convert({x:0,y:0}),t=r.convert({x:1,y:0});return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Gx(r){if(r.isPolar){var e=r.startAngle,t=r.endAngle;return t-e===Math.PI*2}return!1}function ws(r,e){var t=r.getCenter();return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Hx(r,e){var t=!1;if(r)if(r.type==="theta"){var n=r.start,i=r.end;t=ca(e.x,n.x,i.x)&&ca(e.y,n.y,i.y)}else{var a=r.invert(e);t=ca(a.x,0,1)&&ca(a.y,0,1)}return t}function fa(r,e){var t=r.getCenter();return Math.atan2(e.y-t.y,e.x-t.x)}function uu(r,e){e===void 0&&(e=0);var t=r.start,n=r.end,i=r.getWidth(),a=r.getHeight();if(r.isPolar){var o=r.startAngle,s=r.endAngle,l=r.getCenter(),u=r.getRadius();return{type:"path",startState:{path:ti(l.x,l.y,u+e,o,o)},endState:function(h){var v=(s-o)*h+o,d=ti(l.x,l.y,u+e,o,v);return{path:d}},attrs:{path:ti(l.x,l.y,u+e,o,s)}}}var f;return r.isTransposed?f={height:a+e*2}:f={width:i+e*2},{type:"rect",startState:{x:t.x-e,y:n.y-e,width:r.isTransposed?i+e*2:0,height:r.isTransposed?0:a+e*2},endState:f,attrs:{x:t.x-e,y:n.y-e,width:i+e*2,height:a+e*2}}}function Yx(r,e){e===void 0&&(e=0);var t=r.start,n=r.end,i=r.getWidth(),a=r.getHeight(),o=Math.min(t.x,n.x),s=Math.min(t.y,n.y);return Tr.fromRange(o-e,s-e,o+i+e,s+a+e)}var Xx=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function Wx(r){var e="linear";return Xx.test(r)?e="timeCat":(0,c.HD)(r)&&(e="cat"),e}function ih(r,e,t,n){return e===void 0&&(e={}),e.type?e.type:r.type!=="identity"&&Et.includes(t)&&["interval"].includes(n)||r.isCategory?"cat":r.type}function Zx(r,e,t){var n=e||[];if((0,c.hj)(r)||(0,c.UM)((0,c.Wx)(n,r))&&(0,c.xb)(t)){var i=Vl("identity");return new i({field:r.toString(),values:[r]})}var a=(0,c.I)(n,r),o=(0,c.U2)(t,"type",Wx(a[0])),s=Vl(o);return new s((0,p.pi)({field:r,values:a},t))}function jx(r,e){if(r.type!=="identity"&&e.type!=="identity"){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);r.change(t)}}function ho(r){return r.alias||r.field}function ah(r,e,t){var n=r.values,i=n.length,a;if(i===1)a=[.5,1];else{var o=1,s=0;Gx(e)?e.isTransposed?(o=(0,c.U2)(t,"widthRatio.multiplePie",1/1.3),s=1/i*o,a=[s/2,1-s/2]):a=[0,1-1/i]:(s=1/i/2,a=[s,1-s])}return a}function $x(r){var e=r.values.filter(function(t){return!(0,c.UM)(t)&&!isNaN(t)});return Math.max.apply(Math,(0,p.ev)((0,p.ev)([],(0,p.CR)(e),!1),[(0,c.UM)(r.max)?-1/0:r.max],!1))}function qx(r){var e,t;switch(r){case q.TOP:e={x:0,y:1},t={x:1,y:1};break;case q.RIGHT:e={x:1,y:0},t={x:1,y:1};break;case q.BOTTOM:e={x:0,y:0},t={x:1,y:0};break;case q.LEFT:e={x:0,y:0},t={x:0,y:1};break;default:e=t={x:0,y:0}}return{start:e,end:t}}function Jx(r){var e,t;return r.isTransposed?(e={x:0,y:0},t={x:1,y:0}):(e={x:0,y:0},t={x:0,y:1}),{start:e,end:t}}function Ss(r,e){var t={start:{x:0,y:0},end:{x:0,y:0}};r.isRect?t=qx(e):r.isPolar&&(t=Jx(r));var n=t.start,i=t.end;return{start:r.convert(n),end:r.convert(i)}}function Q_(r,e){if(r.isRect)return r.isTransposed?[DIRECTION.RIGHT,DIRECTION.BOTTOM].includes(e)?1:-1:[DIRECTION.BOTTOM,DIRECTION.RIGHT].includes(e)?-1:1;if(r.isPolar){var t=r.x.start;return t<0?-1:1}return 1}function oh(r){var e=r.start,t=r.end;return e.x===t.x}function sh(r,e){var t=r.start,n=r.end,i=oh(r);return i?(t.y-n.y)*(e.x-t.x)>0?1:-1:(n.x-t.x)*(t.y-e.y)>0?-1:1}function Ms(r,e){var t=(0,c.U2)(r,["components","axis"],{});return(0,c.b$)({},(0,c.U2)(t,["common"],{}),(0,c.b$)({},(0,c.U2)(t,[e],{})))}function lh(r,e,t){var n=(0,c.U2)(r,["components","axis"],{});return(0,c.b$)({},(0,c.U2)(n,["common","title"],{}),(0,c.b$)({},(0,c.U2)(n,[e,"title"],{})),t)}function cu(r){var e=r.x,t=r.y,n=r.circleCenter,i=t.start>t.end,a=r.isTransposed?r.convert({x:i?0:1,y:0}):r.convert({x:0,y:i?0:1}),o=[a.x-n.x,a.y-n.y],s=[1,0],l=a.y>n.y?Ie.EU(o,s):Ie.EU(o,s)*-1,u=l+(e.end-e.start),f=Math.sqrt(Math.pow(a.x-n.x,2)+Math.pow(a.y-n.y,2));return{center:n,radius:f,startAngle:l,endAngle:u}}function bs(r,e){return(0,c.jn)(r)?r===!1?!1:{}:(0,c.U2)(r,[e])}function uh(r,e){return(0,c.U2)(r,"position",e)}function ch(r,e){return(0,c.U2)(e,["title","text"],ho(r))}var ha=function(){function r(e,t){this.destroyed=!1,this.facets=[],this.view=e,this.cfg=(0,c.b$)({},this.getDefaultCfg(),t)}return r.prototype.init=function(){this.container||(this.container=this.createContainer());var e=this.view.getData();this.facets=this.generateFacets(e)},r.prototype.render=function(){this.renderViews()},r.prototype.update=function(){},r.prototype.clear=function(){this.clearFacetViews()},r.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},r.prototype.facetToView=function(e){var t=e.region,n=e.data,i=e.padding,a=i===void 0?this.cfg.padding:i,o=this.view.createView({region:t,padding:a});o.data(n||[]),e.view=o,this.beforeEachView(o,e);var s=this.cfg.eachView;return s&&s(o,e),this.afterEachView(o,e),o},r.prototype.createContainer=function(){var e=this.view.getLayer(j.FORE);return e.addGroup()},r.prototype.renderViews=function(){this.createFacetViews()},r.prototype.createFacetViews=function(){var e=this;return this.facets.map(function(t){return e.facetToView(t)})},r.prototype.clearFacetViews=function(){var e=this;(0,c.S6)(this.facets,function(t){t.view&&(e.view.removeView(t.view),t.view=void 0)})},r.prototype.parseSpacing=function(){var e=this.view.viewBBox,t=e.width,n=e.height,i=this.cfg.spacing;return i.map(function(a,o){return(0,c.hj)(a)?a/(o===0?t:n):parseFloat(a)/100})},r.prototype.getFieldValues=function(e,t){var n=[],i={};return(0,c.S6)(e,function(a){var o=a[t];!(0,c.UM)(o)&&!i[o]&&(n.push(o),i[o]=!0)}),n},r.prototype.getRegion=function(e,t,n,i){var a=(0,p.CR)(this.parseSpacing(),2),o=a[0],s=a[1],l=(1+o)/(t===0?1:t)-o,u=(1+s)/(e===0?1:e)-s,f={x:(l+o)*n,y:(u+s)*i},h={x:f.x+l,y:f.y+u};return{start:f,end:h}},r.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,0],padding:10,fields:[]}},r.prototype.getDefaultTitleCfg=function(){var e=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:e}}},r.prototype.processAxis=function(e,t){var n=e.getOptions(),i=n.coordinate,a=e.geometries,o=(0,c.U2)(i,"type","rect");if(o==="rect"&&a.length){(0,c.UM)(n.axes)&&(n.axes={});var s=n.axes,l=(0,p.CR)(a[0].getXYFields(),2),u=l[0],f=l[1],h=bs(s,u),v=bs(s,f);h!==!1&&(n.axes[u]=this.getXAxisOption(u,s,h,t)),v!==!1&&(n.axes[f]=this.getYAxisOption(f,s,v,t))}},r.prototype.getFacetDataFilter=function(e){return function(t){return(0,c.yW)(e,function(n){var i=n.field,a=n.value;return!(0,c.UM)(a)&&i?t[i]===a:!0})}},r}(),fh={},Kx=function(r){return fh[(0,c.vl)(r)]},va=function(r,e){fh[(0,c.vl)(r)]=e},Qx=function(){function r(e,t){this.context=e,this.cfg=t,e.addAction(this)}return r.prototype.applyCfg=function(e){(0,c.f0)(this,e)},r.prototype.init=function(){this.applyCfg(this.cfg)},r.prototype.destroy=function(){this.context.removeAction(this),this.context=null},r}(),tr=Qx,t1=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.callback=null},e}(tr),e1=t1,Cs={};function r1(r,e){var t=Cs[r],n=null;if(t){var i=t.ActionClass,a=t.cfg;n=new i(e,a),n.name=r,n.init()}return n}function As(r){var e=Cs[r];return(0,c.U2)(e,"ActionClass")}function Me(r,e,t){Cs[r]={ActionClass:e,cfg:t}}function tB(r){delete Cs[r]}function n1(r,e){var t=new e1(e);return t.callback=r,t.name="callback",t}function i1(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var n=1,i=r.length;n=o[u]?1:0,v=f>Math.PI?1:0,d=t.convert(s),g=ws(t,d);if(g>=.5)if(f===Math.PI*2){var y={x:(s.x+o.x)/2,y:(s.y+o.y)/2},m=t.convert(y);l.push(["A",g,g,0,v,h,m.x,m.y]),l.push(["A",g,g,0,v,h,d.x,d.y])}else l.push(["A",g,g,0,v,h,d.x,d.y]);return l}function o1(r){(0,c.S6)(r,function(e,t){var n=e;if(n[0].toLowerCase()==="a"){var i=r[t-1],a=r[t+1];a&&a[0].toLowerCase()==="a"?i&&i[0].toLowerCase()==="l"&&(i[0]="M"):i&&i[0].toLowerCase()==="a"&&a&&a[0].toLowerCase()==="l"&&(a[0]="M")}})}var s1=function(r,e,t,n){var i,a=[],o=!!n,s,l,u,f,h,v,d;if(o){i=(0,p.CR)(n,2),u=i[0],f=i[1];for(var g=0,y=r.length;g0&&i>0&&(n>=e||i>=e)}function gh(r,e){var t=r.getCanvasBBox();return dh(r,e)?t:null}function yh(r,e){var t=r.event.maskShapes;return t.map(function(n){return gh(n,e)}).filter(function(n){return!!n})}function c1(r,e){var t=r.event,n=t.target;return mh(n,e)}function mh(r,e){return dh(r,e)?r.attr("path"):null}function f1(r,e){var t=r.event.maskShapes;return t.map(function(n){return mh(n,e)})}function ri(r){var e=r.event,t,n=e.target;return n&&(t=n.get("element")),t}function Ei(r){var e=r.event,t=e.target,n;return t&&(n=t.get("delegateObject")),n}function xh(r){var e=r.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function po(r){return r&&r.component&&r.component.isList()}function wh(r){return r&&r.component&&r.component.isSlider()}function go(r){var e=r.event,t=e.target;return t&&(t==null?void 0:t.get("name"))==="mask"||Es(r)}function Es(r){var e;return((e=r.event.target)===null||e===void 0?void 0:e.get("name"))==="multi-mask"}function hu(r,e){var t=r.event.target;if(Es(r))return h1(r,e);if(t.get("type")==="path"){var n=c1(r,e);return n?Ah(r.view,n):void 0}var i=ph(r,e);return i?Fs(r.view,i):null}function h1(r,e){var t=r.event.target;if(t.get("type")==="path"){var n=f1(r,e);return n.length>0?n.flatMap(function(a){return Ah(r.view,a)}):null}var i=yh(r,e);return i.length>0?i.flatMap(function(a){return Fs(r.view,a)}):null}function Sh(r,e,t){if(Es(r))return v1(r,e,t);var n=ph(r,t);return n?Mh(n,r,e):null}function Mh(r,e,t){var n=e.view,i=pu(n,t,{x:r.x,y:r.y}),a=pu(n,t,{x:r.maxX,y:r.maxY}),o={minX:i.x,minY:i.y,maxX:a.x,maxY:a.y};return Fs(t,o)}function v1(r,e,t){var n=yh(r,t);return n.length>0?n.flatMap(function(i){return Mh(i,r,e)}):null}function mr(r){var e=r.geometries,t=[];return(0,c.S6)(e,function(n){var i=n.elements;t=t.concat(i)}),r.views&&r.views.length&&(0,c.S6)(r.views,function(n){t=t.concat(mr(n))}),t}function p1(r,e,t){var n=mr(r);return n.filter(function(i){return fn(i,e)===t})}function bh(r,e){var t=r.geometries,n=[];return(0,c.S6)(t,function(i){var a=i.getElementsBy(function(o){return o.hasState(e)});n=n.concat(a)}),n}function fn(r,e){var t=r.getModel(),n=t.data,i;return(0,c.kJ)(n)?i=n[0][e]:i=n[e],i}function d1(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=e.x&&r.y<=e.y&&r.maxY>e.y}function Mn(r){var e=r.parent,t=null;return e&&(t=e.views.filter(function(n){return n!==r})),t}function y1(r,e){var t=r.getCoordinate();return t.invert(e)}function pu(r,e,t){var n=y1(r,t);return e.getCoordinate().convert(n)}function Fh(r,e,t,n){var i=!1;return(0,c.S6)(r,function(a){if(a[t]===e[t]&&a[n]===e[n])return i=!0,!1}),i}function pa(r,e){var t=r.getScaleByField(e);return!t&&r.views&&(0,c.S6)(r.views,function(n){if(t=pa(n,e),t)return!1}),t}var m1=function(){function r(e){this.actions=[],this.event=null,this.cacheMap={},this.view=e}return r.prototype.cache=function(){for(var e=[],t=0;t=0&&t.splice(n,1)},r.prototype.getCurrentPoint=function(){var e=this.event;if(e)if(e.target instanceof HTMLElement){var t=this.view.getCanvas(),n=t.getPointByClient(e.clientX,e.clientY);return n}else return{x:e.x,y:e.y};return null},r.prototype.getCurrentShape=function(){return(0,c.U2)(this.event,["gEvent","shape"])},r.prototype.isInPlot=function(){var e=this.getCurrentPoint();return e?this.view.isPointInPlot(e):!1},r.prototype.isInShape=function(e){var t=this.getCurrentShape();return t?t.get("name")===e:!1},r.prototype.isInComponent=function(e){var t=Th(this.view),n=this.getCurrentPoint();return n?!!t.find(function(i){var a=i.getBBox();return e?i.get("name")===e&&Eh(a,n):Eh(a,n)}):!1},r.prototype.destroy=function(){(0,c.S6)(this.actions.slice(),function(e){e.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},r}(),x1=m1,w1=function(){function r(e,t){this.view=e,this.cfg=t}return r.prototype.init=function(){this.initEvents()},r.prototype.initEvents=function(){},r.prototype.clearEvents=function(){},r.prototype.destroy=function(){this.clearEvents()},r}(),S1=w1;function Ih(r,e,t){var n=r.split(":"),i=n[0],a=e.getAction(i)||r1(i,e);if(!a)throw new Error("There is no action named ".concat(i));var o=n[1];return{action:a,methodName:o,arg:t}}function kh(r){var e=r.action,t=r.methodName,n=r.arg;if(e[t])e[t](n);else throw new Error("Action(".concat(e.name,") doesn't have a method called ").concat(t))}var Hr={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},M1=function(r){(0,p.ZT)(e,r);function e(t,n){var i=r.call(this,t,n)||this;return i.callbackCaches={},i.emitCaches={},i.steps=n,i}return e.prototype.init=function(){this.initContext(),r.prototype.init.call(this)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;(0,c.S6)(this.steps,function(n,i){(0,c.S6)(n,function(a){var o=t.getActionCallback(i,a);o&&t.bindEvent(a.trigger,o)})})},e.prototype.clearEvents=function(){var t=this;(0,c.S6)(this.steps,function(n,i){(0,c.S6)(n,function(a){var o=t.getActionCallback(i,a);o&&t.offEvent(a.trigger,o)})})},e.prototype.initContext=function(){var t=this.view,n=new x1(t);this.context=n;var i=this.steps;(0,c.S6)(i,function(a){(0,c.S6)(a,function(o){if((0,c.mf)(o.action))o.actionObject={action:n1(o.action,n),methodName:"execute"};else if((0,c.HD)(o.action))o.actionObject=Ih(o.action,n,o.arg);else if((0,c.kJ)(o.action)){var s=o.action,l=(0,c.kJ)(o.arg)?o.arg:[o.arg];o.actionObject=[],(0,c.S6)(s,function(u,f){o.actionObject.push(Ih(u,n,l[f]))})}})})},e.prototype.isAllowStep=function(t){var n=this.currentStepName,i=this.steps;if(n===t||t===Hr.SHOW_ENABLE)return!0;if(t===Hr.PROCESSING)return n===Hr.START;if(t===Hr.START)return n!==Hr.PROCESSING;if(t===Hr.END)return n===Hr.PROCESSING||n===Hr.START;if(t===Hr.ROLLBACK){if(i[Hr.END])return n===Hr.END;if(n===Hr.START)return!0}return!1},e.prototype.isAllowExecute=function(t,n){if(this.isAllowStep(t)){var i=this.getKey(t,n);return n.once&&this.emitCaches[i]?!1:n.isEnable?n.isEnable(this.context):!0}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,n){t!==Hr.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var i=this.getKey(t,n);this.emitCaches[i]=!0},e.prototype.getKey=function(t,n){return t+n.trigger+n.action},e.prototype.getActionCallback=function(t,n){var i=this,a=this.context,o=this.callbackCaches,s=n.actionObject;if(n.action&&s){var l=this.getKey(t,n);if(!o[l]){var u=function(f){a.event=f,i.isAllowExecute(t,n)?((0,c.kJ)(s)?(0,c.S6)(s,function(h){a.event=f,kh(h)}):(a.event=f,kh(s)),i.afterExecute(t,n),n.callback&&(a.event=f,n.callback(a))):a.event=null};n.debounce?o[l]=(0,c.Ds)(u,n.debounce.wait,n.debounce.immediate):n.throttle?o[l]=(0,c.P2)(u,n.throttle.wait,{leading:n.throttle.leading,trailing:n.throttle.trailing}):o[l]=u}return o[l]}return null},e.prototype.bindEvent=function(t,n){var i=t.split(":");i[0]==="window"?window.addEventListener(i[1],n):i[0]==="document"?document.addEventListener(i[1],n):this.view.on(t,n)},e.prototype.offEvent=function(t,n){var i=t.split(":");i[0]==="window"?window.removeEventListener(i[1],n):i[0]==="document"?document.removeEventListener(i[1],n):this.view.off(t,n)},e}(S1),b1=M1,Lh={};function C1(r){return Lh[(0,c.vl)(r)]}function Pe(r,e){Lh[(0,c.vl)(r)]=e}function A1(r,e,t){var n=C1(r);if(!n)return null;if((0,c.PO)(n)){var i=(0,c.CD)((0,c.d9)(n),t);return new b1(e,i)}else{var a=n;return new a(e,t)}}function T1(r){return{title:{autoRotate:!0,position:"center",spacing:r.axisTitleSpacing,style:{fill:r.axisTitleTextFillColor,fontSize:r.axisTitleTextFontSize,lineHeight:r.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily},iconStyle:{fill:r.axisDescriptionIconFillColor}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:r.axisLabelOffset,style:{fill:r.axisLabelFillColor,fontSize:r.axisLabelFontSize,lineHeight:r.axisLabelLineHeight,fontFamily:r.fontFamily}},line:{style:{lineWidth:r.axisLineBorder,stroke:r.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:r.axisGridBorderColor,lineWidth:r.axisGridBorder,lineDash:r.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:r.axisTickLineBorder,stroke:r.axisTickLineBorderColor},alignTick:!0,length:r.axisTickLineLength},subTickLine:null,animate:!0}}function E1(r){return{title:null,marker:{symbol:"circle",spacing:r.legendMarkerSpacing,style:{r:r.legendCircleMarkerSize,fill:r.legendMarkerColor}},itemName:{spacing:5,style:{fill:r.legendItemNameFillColor,fontFamily:r.fontFamily,fontSize:r.legendItemNameFontSize,lineHeight:r.legendItemNameLineHeight,fontWeight:r.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:"#D8D8D8"},markerStyle:{fill:"#D8D8D8",stroke:"#D8D8D8"}},inactive:{nameStyle:{fill:"#D8D8D8"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:r.legendPageNavigatorMarkerSize,inactiveFill:r.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:r.legendPageNavigatorMarkerInactiveFillOpacity,fill:r.legendPageNavigatorMarkerFillColor,opacity:r.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:r.legendPageNavigatorTextFillColor,fontSize:r.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:r.legendItemSpacing,itemMarginBottom:r.legendItemMarginBottom,padding:r.legendPadding}}function Ph(r){var e,t={point:{default:{fill:r.pointFillColor,r:r.pointSize,stroke:r.pointBorderColor,lineWidth:r.pointBorder,fillOpacity:r.pointFillOpacity},active:{stroke:r.pointActiveBorderColor,lineWidth:r.pointActiveBorder},selected:{stroke:r.pointSelectedBorderColor,lineWidth:r.pointSelectedBorder},inactive:{fillOpacity:r.pointInactiveFillOpacity,strokeOpacity:r.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:r.hollowPointFillColor,lineWidth:r.hollowPointBorder,stroke:r.hollowPointBorderColor,strokeOpacity:r.hollowPointBorderOpacity,r:r.hollowPointSize},active:{stroke:r.hollowPointActiveBorderColor,strokeOpacity:r.hollowPointActiveBorderOpacity},selected:{lineWidth:r.hollowPointSelectedBorder,stroke:r.hollowPointSelectedBorderColor,strokeOpacity:r.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:r.hollowPointInactiveBorderOpacity}},area:{default:{fill:r.areaFillColor,fillOpacity:r.areaFillOpacity,stroke:null},active:{fillOpacity:r.areaActiveFillOpacity},selected:{fillOpacity:r.areaSelectedFillOpacity},inactive:{fillOpacity:r.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:r.hollowAreaBorderColor,lineWidth:r.hollowAreaBorder,strokeOpacity:r.hollowAreaBorderOpacity},active:{fill:null,lineWidth:r.hollowAreaActiveBorder},selected:{fill:null,lineWidth:r.hollowAreaSelectedBorder},inactive:{strokeOpacity:r.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:r.intervalFillColor,fillOpacity:r.intervalFillOpacity},active:{stroke:r.intervalActiveBorderColor,lineWidth:r.intervalActiveBorder},selected:{stroke:r.intervalSelectedBorderColor,lineWidth:r.intervalSelectedBorder},inactive:{fillOpacity:r.intervalInactiveFillOpacity,strokeOpacity:r.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:r.hollowIntervalFillColor,stroke:r.hollowIntervalBorderColor,lineWidth:r.hollowIntervalBorder,strokeOpacity:r.hollowIntervalBorderOpacity},active:{stroke:r.hollowIntervalActiveBorderColor,lineWidth:r.hollowIntervalActiveBorder,strokeOpacity:r.hollowIntervalActiveBorderOpacity},selected:{stroke:r.hollowIntervalSelectedBorderColor,lineWidth:r.hollowIntervalSelectedBorder,strokeOpacity:r.hollowIntervalSelectedBorderOpacity},inactive:{stroke:r.hollowIntervalInactiveBorderColor,lineWidth:r.hollowIntervalInactiveBorder,strokeOpacity:r.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:r.lineBorderColor,lineWidth:r.lineBorder,strokeOpacity:r.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:r.lineActiveBorder},selected:{lineWidth:r.lineSelectedBorder},inactive:{strokeOpacity:r.lineInactiveBorderOpacity}}},n=T1(r),i=E1(r);return{background:r.backgroundColor,defaultColor:r.brandColor,subColor:r.subColor,semanticRed:r.paletteSemanticRed,semanticGreen:r.paletteSemanticGreen,padding:"auto",fontFamily:r.fontFamily,columnWidthRatio:1/2,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:r.paletteQualitative10,colors20:r.paletteQualitative20,sequenceColors:r.paletteSequence,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:function(a){var o=a.geometry.coordinate;if(o.isPolar&&o.isTransposed){var s=co(a.getModel(),o),l=s.startAngle,u=s.endAngle,f=(l+u)/2,h=7.5,v=h*Math.cos(f),d=h*Math.sin(f);return{matrix:Qe.vs(null,[["t",v,d]])}}return t.interval.selected}}},"hollow-rect":{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},line:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},tick:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},funnel:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}},pyramid:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},line:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},dot:{default:{style:(0,p.pi)((0,p.pi)({},t.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:(0,p.pi)((0,p.pi)({},t.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:(0,p.pi)((0,p.pi)({},t.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:(0,p.pi)((0,p.pi)({},t.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:(0,p.pi)((0,p.pi)({},t.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:(0,p.pi)((0,p.pi)({},t.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:(0,p.pi)((0,p.pi)({},t.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:(0,p.pi)((0,p.pi)({},t.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hvh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},polygon:{polygon:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},point:{circle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},square:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},bowtie:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},diamond:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},hexagon:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},triangle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"triangle-down":{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"hollow-circle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-square":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-bowtie":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-diamond":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-hexagon":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle-down":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},cross:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},tick:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},plus:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},hyphen:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},line:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}}},area:{area:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},smooth:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},line:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"smooth-line":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}},schema:{candle:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},box:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}}},edge:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},arc:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},violin:{violin:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hollow:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"hollow-smooth":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}}},components:{axis:{common:n,top:{position:"top",grid:null,title:null,verticalLimitLength:1/2},bottom:{position:"bottom",grid:null,title:null,verticalLimitLength:1/2},left:{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:(0,c.b$)({},n.grid,{line:{type:"line"}})},radius:{title:null,grid:(0,c.b$)({},n.grid,{line:{type:"circle"}})}},legend:{common:i,right:{layout:"vertical",padding:r.legendVerticalPadding},left:{layout:"vertical",padding:r.legendVerticalPadding},top:{layout:"horizontal",padding:r.legendHorizontalPadding},bottom:{layout:"horizontal",padding:r.legendHorizontalPadding},continuous:{title:null,background:null,track:{},rail:{type:"color",size:r.sliderRailHeight,defaultLength:r.sliderRailWidth,style:{fill:r.sliderRailFillColor,stroke:r.sliderRailBorderColor,lineWidth:r.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:r.sliderLabelTextFillColor,fontSize:r.sliderLabelTextFontSize,lineHeight:r.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily}},handler:{size:r.sliderHandlerWidth,style:{fill:r.sliderHandlerFillColor,stroke:r.sliderHandlerBorderColor}},slidable:!0,padding:i.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:r.tooltipCrosshairsBorderColor,lineWidth:r.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e["".concat(Rn)]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:r.tooltipContainerFillColor,opacity:r.tooltipContainerFillOpacity,boxShadow:r.tooltipContainerShadow,borderRadius:"".concat(r.tooltipContainerBorderRadius,"px"),color:r.tooltipTextFillColor,fontSize:"".concat(r.tooltipTextFontSize,"px"),fontFamily:r.fontFamily,lineHeight:"".concat(r.tooltipTextLineHeight,"px"),padding:"0 12px 0 12px"},e["".concat(Nn)]={marginBottom:"12px",marginTop:"12px"},e["".concat(uo)]={margin:0,listStyleType:"none",padding:0},e["".concat(ds)]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e["".concat(gs)]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e["".concat(ys)]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:r.annotationArcBorderColor,lineWidth:r.annotationArcBorder},animate:!0},line:{style:{stroke:r.annotationLineBorderColor,lineDash:r.annotationLineDash,lineWidth:r.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textAlign:"start",fontFamily:r.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:r.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:r.annotationRegionBorder,stroke:r.annotationRegionBorderColor,fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:r.brandColor,lineWidth:2}},line:{style:{stroke:r.annotationLineBorderColor,lineWidth:r.annotationLineBorder},length:r.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8],backgroundStyle:{fill:r.cSliderBackgroundFillColor,opacity:r.cSliderBackgroundFillOpacity},foregroundStyle:{fill:r.cSliderForegroundFillColor,opacity:r.cSliderForegroundFillOpacity},handlerStyle:{width:r.cSliderHandlerWidth,height:r.cSliderHandlerHeight,fill:r.cSliderHandlerFillColor,opacity:r.cSliderHandlerFillOpacity,stroke:r.cSliderHandlerBorderColor,lineWidth:r.cSliderHandlerBorder,radius:r.cSliderHandlerBorderRadius,highLightFill:r.cSliderHandlerHighlightFillColor},textStyle:{fill:r.cSliderTextFillColor,opacity:r.cSliderTextFillOpacity,fontSize:r.cSliderTextFontSize,lineHeight:r.cSliderTextLineHeight,fontWeight:r.cSliderTextFontWeight,stroke:r.cSliderTextBorderColor,lineWidth:r.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:r.scrollbarTrackFillColor,thumbColor:r.scrollbarThumbFillColor}},hover:{style:{thumbColor:r.scrollbarThumbHighlightFillColor}}}},labels:{offset:12,style:{fill:r.labelFillColor,fontSize:r.labelFontSize,fontFamily:r.fontFamily,stroke:r.labelBorderColor,lineWidth:r.labelBorder},fillColorDark:r.labelFillColorDark,fillColorLight:r.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:r.innerLabelFillColor,fontSize:r.innerLabelFontSize,fontFamily:r.fontFamily,stroke:r.innerLabelBorderColor,lineWidth:r.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:r.overflowLabelFillColor,fontSize:r.overflowLabelFontSize,fontFamily:r.fontFamily,stroke:r.overflowLabelBorderColor,lineWidth:r.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:r.labelLineBorder}},autoRotate:!0}}}var je={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},da={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},F1=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],I1=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],k1=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],Dh=function(r){r===void 0&&(r={});var e=r.paletteQualitative10,t=e===void 0?F1:e,n=r.paletteQualitative20,i=n===void 0?I1:n,a=r.brandColor,o=a===void 0?t[0]:a,s={backgroundColor:"transparent",brandColor:o,subColor:"rgba(0,0,0,0.05)",paletteQualitative10:t,paletteQualitative20:i,paletteSemanticRed:"#F4664A",paletteSemanticGreen:"#30BF78",paletteSemanticYellow:"#FAAD14",paletteSequence:k1,fontFamily:`"Segoe UI", Roboto, "Helvetica Neue", Arial, - "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", - "Noto Color Emoji"`,axisLineBorderColor:je[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:je[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisDescriptionIconFillColor:da[85],axisTickLineBorderColor:je[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:je[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:je[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:je[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:je[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:o,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:je[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:je[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:je[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:je[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:je[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:je[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:je[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:je[25],annotationArcBorderColor:je[15],annotationArcBorder:1,annotationLineBorderColor:je[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:je[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:je[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:je[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:je[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:je[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:da[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:je[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:da[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:je[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#000",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(0,0,0,0)",scrollbarThumbFillColor:"rgba(0,0,0,0.15)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.2)",pointFillColor:o,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:da[100],pointBorderOpacity:1,pointActiveBorderColor:je[100],pointSelectedBorder:2,pointSelectedBorderColor:je[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:o,hollowPointBorderOpacity:.95,hollowPointFillColor:da[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:je[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:je[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:o,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:o,areaFillOpacity:.25,areaActiveFillColor:o,areaActiveFillOpacity:.5,areaSelectedFillColor:o,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:o,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:je[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:je[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:o,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:je[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:je[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:o,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:da[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:je[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:je[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return(0,p.pi)((0,p.pi)({},s),r)},eB=Dh();function Is(r){var e=r.styleSheet,t=e===void 0?{}:e,n=(0,p._T)(r,["styleSheet"]),i=Dh(t);return(0,c.b$)({},Ph(i),n)}var L1=Is({}),du={default:L1};function yo(r){return(0,c.U2)(du,(0,c.vl)(r),du.default)}function P1(r,e){du[(0,c.vl)(r)]=Is(e)}function Oh(r,e,t){var n=t.translate(r),i=t.translate(e);return(0,c.vQ)(n,i)}function D1(r,e){var t=e.coordinate,n=e.getXScale(),i=n.range,a=i[i.length-1],o=i[0],s=t.invert(r),l=s.x;return t.isPolar&&l>(1+a)/2&&(l=o),n.translate(n.invert(l))}function _h(r,e,t){var n=t.coordinate,i=t.getYScale(),a=i.field,o=n.invert(e),s=i.invert(o.y),l=(0,c.sE)(r,function(u){var f=u[Bt];return f[a][0]<=s&&f[a][1]>=s});return l||r[r.length-1]}var O1=(0,c.HP)(function(r){if(r.isCategory)return 1;for(var e=r.values,t=e.length,n=r.translate(e[0]),i=n,a=0;ai&&(i=s)}return(i-n)/(t-1)});function _1(r,e,t){var n=e.getAttribute("position"),i=n.getFields(),a=e.scales,o=(0,c.mf)(t)||!t?i[0]:t,s=a[o],l=s?s.getText(r[o]):r[o]||o;return(0,c.mf)(t)?t(l,r):l}function B1(r){var e=(0,c.VO)(r.attributes);return(0,c.hX)(e,function(t){return(0,c.FX)(Et,t.type)})}function Bh(r){var e,t,n=B1(r),i;try{for(var a=(0,p.XA)(n),o=a.next();!o.done;o=a.next()){var s=o.value,l=s.getScale(s.type);if(l&&l.isLinear){var u=(0,c.U2)(r.scaleDefs,l.field),f=ih(l,u,s.type,r.type);if(f!=="cat"){i=l;break}}}}catch(d){e={error:d}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var h=r.getXScale(),v=r.getYScale();return i||v||h}function R1(r,e){var t=e.field,n=r[t];if((0,c.kJ)(n)){var i=n.map(function(a){return e.getText(a)});return i.join("-")}return e.getText(n)}function N1(r,e){var t,n=e.getGroupScales();if(n.length&&(t=n[0]),t){var i=t.field;return t.getText(r[i])}var a=Bh(e);return ho(a)}function Rh(r,e,t){if(e.length===0)return null;var n=t.type,i=t.getXScale(),a=t.getYScale(),o=i.field,s=a.field,l=null;if(n==="heatmap"||n==="point"){for(var u=t.coordinate,f=u.invert(r),h=i.invert(f.x),v=a.invert(f.y),d=1/0,g=0;g=F)if(vt)(0,c.kJ)(l)||(l=[]),l.push(Dt);else{l=Dt;break}}(0,c.kJ)(l)&&(l=_h(l,r,t))}else{var Tt=void 0;if(!i.isLinear&&i.type!=="timeCat"){for(var g=0;gi.translate(st)||Fi.max||FMath.abs(i.translate(Tt[Bt][o])-F)&&(E=Tt)}var Ue=O1(t.getXScale());return!l&&Math.abs(i.translate(E[Bt][o])-F)<=Ue/2&&(l=E),l}function gu(r,e,t,n){var i,a;t===void 0&&(t=""),n===void 0&&(n=!1);var o=r[Bt],s=_1(o,e,t),l=e.tooltipOption,u=e.theme.defaultColor,f=[],h,v;function d(Dt,Tt){if(n||!(0,c.UM)(Tt)&&Tt!==""){var Xt={title:s,data:o,mappingData:r,name:Dt,value:Tt,color:r.color||u,marker:!0};f.push(Xt)}}if((0,c.Kn)(l)){var g=l.fields,y=l.callback;if(y){var m=g.map(function(Dt){return r[Bt][Dt]}),x=y.apply(void 0,(0,p.ev)([],(0,p.CR)(m),!1)),M=(0,p.pi)({data:r[Bt],mappingData:r,title:s,color:r.color||u,marker:!0},x);f.push(M)}else{var E=e.scales;try{for(var F=(0,p.XA)(g),N=F.next();!N.done;N=F.next()){var tt=N.value;if(!(0,c.UM)(o[tt])){var st=E[tt];h=ho(st),v=st.getText(o[tt]),d(h,v)}}}catch(Dt){i={error:Dt}}finally{try{N&&!N.done&&(a=F.return)&&a.call(F)}finally{if(i)throw i.error}}}}else{var vt=Bh(e);v=R1(o,vt),h=N1(o,e),d(h,v)}return f}function Nh(r,e,t,n){var i,a,o=n.showNil,s=[],l=r.dataArray;if(!(0,c.xb)(l)){r.sort(l);try{for(var u=(0,p.XA)(l),f=u.next();!f.done;f=u.next()){var h=f.value,v=Rh(e,h,r);if(v){var d=r.getElementId(v),g=r.elementsMap[d];if(r.type==="heatmap"||g.visible){var y=gu(v,r,t,o);y.length&&s.push(y)}}}}catch(m){i={error:m}}finally{try{f&&!f.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}return s}function zh(r,e,t,n){var i=n.showNil,a=[],o=r.container,s=o.getShape(e.x,e.y);if(s&&s.get("visible")&&s.get("origin")){var l=s.get("origin").mappingData,u=gu(l,r,t,i);u.length&&a.push(u)}return a}function yu(r,e,t){var n,i,a=[],o=r.geometries,s=t.shared,l=t.title,u=t.reversed;try{for(var f=(0,p.XA)(o),h=f.next();!h.done;h=f.next()){var v=h.value;if(v.visible&&v.tooltipOption!==!1){var d=v.type,g=void 0;["point","edge","polygon"].includes(d)?g=zh(v,e,l,t):["area","line","path","heatmap"].includes(d)||s!==!1?g=Nh(v,e,l,t):g=zh(v,e,l,t),g.length&&(u&&g.reverse(),a.push(g))}}}catch(y){n={error:y}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}return a}function z1(r,e,t){var n,i,a=yu(r,e,t);try{for(var o=(0,p.XA)(r.views),s=o.next();!s.done;s=o.next()){var l=s.value;a=a.concat(yu(l,e,t))}}catch(u){n={error:u}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return a}function U1(r){return!(0,c.hj)(r)&&!(0,c.kJ)(r)}function mu(r){r===void 0&&(r=0);var e=(0,c.kJ)(r)?r:[r];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=(0,p.ev)((0,p.ev)([],(0,p.CR)(e),!1),(0,p.CR)(e),!1);break;case 3:e=(0,p.ev)((0,p.ev)([],(0,p.CR)(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var ks={};function Fi(r,e){ks[r]=e}function rB(r){delete ks[r]}function V1(){return Object.keys(ks)}function G1(r){return ks[r]}var H1=function(){function r(e){this.option=this.wrapperOption(e)}return r.prototype.update=function(e){return this.option=this.wrapperOption(e),this},r.prototype.hasAction=function(e){var t=this.option.actions;return(0,c.G)(t,function(n){return n[0]===e})},r.prototype.create=function(e,t){var n=this.option,i=n.type,a=n.cfg,o=i==="theta",s=(0,p.pi)({start:e,end:t},a),l=By(o?"polar":i);return this.coordinate=new l(s),this.coordinate.type=i,o&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},r.prototype.adjust=function(e,t){return this.coordinate.update({start:e,end:t}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},r.prototype.rotate=function(e){return this.option.actions.push(["rotate",e]),this},r.prototype.reflect=function(e){return this.option.actions.push(["reflect",e]),this},r.prototype.scale=function(e,t){return this.option.actions.push(["scale",e,t]),this},r.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},r.prototype.getOption=function(){return this.option},r.prototype.getCoordinate=function(){return this.coordinate},r.prototype.wrapperOption=function(e){return(0,p.pi)({type:"rect",actions:[],cfg:{}},e)},r.prototype.execActions=function(e){var t=this,n=this.option.actions;(0,c.S6)(n,function(i){var a,o=(0,p.CR)(i),s=o[0],l=o.slice(1),u=(0,c.UM)(e)?!0:e.includes(s);u&&(a=t.coordinate)[s].apply(a,(0,p.ev)([],(0,p.CR)(l),!1))})},r}(),Y1=H1,X1=function(){function r(e,t,n){this.view=e,this.gEvent=t,this.data=n,this.type=t.type}return r.fromData=function(e,t,n){return new r(e,new A.Event(t,{}),n)},Object.defineProperty(r.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return"[Event (type=".concat(this.type,")]")},r.prototype.clone=function(){return new r(this.view,this.gEvent,this.data)},r}(),ir=X1;function W1(r){var e=r.getController("axis"),t=r.getController("legend"),n=r.getController("annotation"),i=r.getController("slider"),a=r.getController("scrollbar");[e,i,a,t,n].forEach(function(o){o&&o.layout()})}var Z1=function(){function r(){this.scales=new Map,this.syncScales=new Map}return r.prototype.createScale=function(e,t,n,i){var a=n,o=this.getScaleMeta(i);if(t.length===0&&o){var s=o.scale,l={type:s.type};s.isCategory&&(l.values=s.values),a=(0,c.b$)(l,o.scaleDef,n)}var u=Zx(e,t,a);return this.cacheScale(u,n,i),u},r.prototype.sync=function(e,t){var n=this;this.syncScales.forEach(function(i,a){var o=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,l=[];(0,c.S6)(i,function(u){var f=n.getScale(u);s=(0,c.hj)(f.max)?Math.max(s,f.max):s,o=(0,c.hj)(f.min)?Math.min(o,f.min):o,(0,c.S6)(f.values,function(h){l.includes(h)||l.push(h)})}),(0,c.S6)(i,function(u){var f=n.getScale(u);if(f.isContinuous)f.change({min:o,max:s,values:l});else if(f.isCategory){var h=f.range,v=n.getScaleMeta(u);l&&!(0,c.U2)(v,["scaleDef","range"])&&(h=ah((0,c.b$)({},f,{values:l}),e,t)),f.change({values:l,range:h})}})})},r.prototype.cacheScale=function(e,t,n){var i=this.getScaleMeta(n);i&&i.scale.type===e.type?(jx(i.scale,e),i.scaleDef=t):(i={key:n,scale:e,scaleDef:t},this.scales.set(n,i));var a=this.getSyncKey(i);if(i.syncKey=a,this.removeFromSyncScales(n),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(n)}},r.prototype.getScale=function(e){var t=this.getScaleMeta(e);if(!t){var n=(0,c.Z$)(e.split("-")),i=this.syncScales.get(n);i&&i.length&&(t=this.getScaleMeta(i[0]))}return t&&t.scale},r.prototype.deleteScale=function(e){var t=this.getScaleMeta(e);if(t){var n=t.syncKey,i=this.syncScales.get(n);if(i&&i.length){var a=i.indexOf(e);a!==-1&&i.splice(a,1)}}this.scales.delete(e)},r.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},r.prototype.removeFromSyncScales=function(e){var t=this;this.syncScales.forEach(function(n,i){var a=n.indexOf(e);if(a!==-1)return n.splice(a,1),n.length===0&&t.syncScales.delete(i),!1})},r.prototype.getSyncKey=function(e){var t=e.scale,n=e.scaleDef,i=t.field,a=(0,c.U2)(n,["sync"]);return a===!0?i:a===!1?void 0:a},r.prototype.getScaleMeta=function(e){return this.scales.get(e)},r}(),Ls=function(){function r(e,t,n,i){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0),this.top=e,this.right=t,this.bottom=n,this.left=i}return r.instance=function(e,t,n,i){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0),i===void 0&&(i=0),new r(e,t,n,i)},r.prototype.max=function(e){var t=(0,p.CR)(e,4),n=t[0],i=t[1],a=t[2],o=t[3];return this.top=Math.max(this.top,n),this.right=Math.max(this.right,i),this.bottom=Math.max(this.bottom,a),this.left=Math.max(this.left,o),this},r.prototype.shrink=function(e){var t=(0,p.CR)(e,4),n=t[0],i=t[1],a=t[2],o=t[3];return this.top+=n,this.right+=i,this.bottom+=a,this.left+=o,this},r.prototype.inc=function(e,t){var n=e.width,i=e.height;switch(t){case q.TOP:case q.TOP_LEFT:case q.TOP_RIGHT:this.top+=i;break;case q.RIGHT:case q.RIGHT_TOP:case q.RIGHT_BOTTOM:this.right+=n;break;case q.BOTTOM:case q.BOTTOM_LEFT:case q.BOTTOM_RIGHT:this.bottom+=i;break;case q.LEFT:case q.LEFT_TOP:case q.LEFT_BOTTOM:this.left+=n;break;default:break}return this},r.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},r.prototype.clone=function(){return new(r.bind.apply(r,(0,p.ev)([void 0],(0,p.CR)(this.getPadding()),!1)))},r}();function j1(r){var e=r.padding;if(!U1(e))return new(Ls.bind.apply(Ls,(0,p.ev)([void 0],(0,p.CR)(mu(e)),!1)));var t=r.viewBBox,n=new Ls,i=[],a=[],o=[];return(0,c.S6)(r.getComponents(),function(s){var l=s.type;l===bt.AXIS?i.push(s):[bt.LEGEND,bt.SLIDER,bt.SCROLLBAR].includes(l)?a.push(s):l!==bt.GRID&&l!==bt.TOOLTIP&&o.push(s)}),(0,c.S6)(i,function(s){var l=s.component,u=l.getLayoutBBox(),f=new Tr(u.x,u.y,u.width,u.height),h=f.exceed(t);n.max(h)}),(0,c.S6)(a,function(s){var l=s.component,u=s.direction,f=l.getLayoutBBox(),h=l.get("padding"),v=new Tr(f.x,f.y,f.width,f.height).expand(h);n.inc(v,u)}),(0,c.S6)(o,function(s){var l=s.component,u=s.direction,f=l.getLayoutBBox(),h=new Tr(f.x,f.y,f.width,f.height);n.inc(h,u)}),n}function $1(r,e,t){var n=t.instance();e.forEach(function(i){i.autoPadding=n.max(i.autoPadding.getPadding())})}var Uh=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,{visible:t.visible})||this;n.views=[],n.geometries=[],n.controllers=[],n.interactions={},n.limitInPlot=!1,n.options={data:[],animate:!0},n.usedControllers=V1(),n.scalePool=new Z1,n.layoutFunc=W1,n.isPreMouseInPlot=!1,n.isDataChanged=!1,n.isCoordinateChanged=!1,n.createdScaleKeys=new Map,n.onCanvasEvent=function(E){var F=E.name;if(!F.includes(":")){var N=n.createViewEvent(E);n.doPlotEvent(N),n.emit(F,N)}},n.onDelegateEvents=function(E){var F=E.name;if(!!F.includes(":")){var N=n.createViewEvent(E);n.emit(F,N)}};var i=t.id,a=i===void 0?(0,c.EL)("view"):i,o=t.parent,s=t.canvas,l=t.backgroundGroup,u=t.middleGroup,f=t.foregroundGroup,h=t.region,v=h===void 0?{start:{x:0,y:0},end:{x:1,y:1}}:h,d=t.padding,g=t.appendPadding,y=t.theme,m=t.options,x=t.limitInPlot,M=t.syncViewPadding;return n.parent=o,n.canvas=s,n.backgroundGroup=l,n.middleGroup=u,n.foregroundGroup=f,n.region=v,n.padding=d,n.appendPadding=g,n.options=(0,p.pi)((0,p.pi)({},n.options),m),n.limitInPlot=x,n.id=a,n.syncViewPadding=M,n.themeObject=(0,c.Kn)(y)?(0,c.b$)({},yo("default"),Is(y)):yo(y),n.init(),n}return e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t,n){t===void 0&&(t=!1),this.emit(U.BEFORE_RENDER,ir.fromData(this,U.BEFORE_RENDER,n)),this.paint(t),this.emit(U.AFTER_RENDER,ir.fromData(this,U.AFTER_RENDER,n)),this.visible===!1&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(U.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var n=this.geometries,i=0;i');Tt.appendChild(Xt);var se=O(Tt,l,a,o),be=Ct(v),Ce=new be.Canvas((0,p.pi)({container:Xt,pixelRatio:d,localRefresh:y,supportCSSTransform:E},se));return n=r.call(this,{parent:null,canvas:Ce,backgroundGroup:Ce.addGroup({zIndex:At.BG}),middleGroup:Ce.addGroup({zIndex:At.MID}),foregroundGroup:Ce.addGroup({zIndex:At.FORE}),padding:u,appendPadding:f,visible:x,options:tt,limitInPlot:st,theme:vt,syncViewPadding:Dt})||this,n.onResize=(0,c.Ds)(function(){n.forceFit()},300),n.ele=Tt,n.canvas=Ce,n.width=se.width,n.height=se.height,n.autoFit=l,n.localRefresh=y,n.renderer=v,n.wrapperElement=Xt,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(N),n}return e.prototype.initDefaultInteractions=function(t){var n=this;(0,c.S6)(t,function(i){n.interaction(i)})},e.prototype.aria=function(t){var n="aria-label";t===!1?this.ele.removeAttribute(n):this.ele.setAttribute(n,t.label)},e.prototype.changeSize=function(t,n){return this.width===t&&this.height===n?this:(this.emit(U.BEFORE_CHANGE_SIZE),this.width=t,this.height=n,this.canvas.changeSize(t,n),this.render(!0),this.emit(U.AFTER_CHANGE_SIZE),this)},e.prototype.clear=function(){r.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),k(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(t){return r.prototype.changeVisible.call(this,t),this.wrapperElement.style.display=t?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=O(this.ele,!0,this.width,this.height),n=t.width,i=t.height;this.changeSize(n,i)}},e.prototype.updateCanvasStyle=function(){rt(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(q1),K1=J1,ga=function(){function r(e){this.visible=!0,this.components=[],this.view=e}return r.prototype.clear=function(e){(0,c.S6)(this.components,function(t){t.component.destroy()}),this.components=[]},r.prototype.destroy=function(){this.clear()},r.prototype.getComponents=function(){return this.components},r.prototype.changeVisible=function(e){this.visible!==e&&(this.components.forEach(function(t){e?t.component.show():t.component.hide()}),this.visible=e)},r}();function Q1(r){for(var e=[],t=function(i){var a=r[i],o=(0,c.sE)(e,function(s){return s.color===a.color&&s.name===a.name&&s.value===a.value&&s.title===a.title});o||e.push(a)},n=0;n1){var F=u[0],N=Math.abs(t.y-F[0].y);try{for(var tt=(0,p.XA)(u),st=tt.next();!st.done;st=tt.next()){var vt=st.value,Dt=Math.abs(t.y-vt[0].y);Dt<=N&&(F=vt,N=Dt)}}catch(Tt){s={error:Tt}}finally{try{st&&!st.done&&(l=tt.return)&&l.call(tt)}finally{if(s)throw s.error}}u=[F]}return Q1((0,c.xH)(u))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var n=this.tooltip.getContainer(),i=this.tooltip.get("capture");if(n&&i){var a=n.getBoundingClientRect(),o=a.x,s=a.y,l=a.width,u=a.height;return new Tr(o,s,l,u).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,n=t.getOptions().tooltip,i=this.processCustomContent(n),a=t.getTheme(),o=(0,c.U2)(a,["components","tooltip"],{}),s=(0,c.U2)(i,"enterable",o.enterable);return(0,c.b$)({},o,i,{capture:!!(s||this.isLocked)})},e.prototype.processCustomContent=function(t){if((0,c.jn)(t)||!(0,c.U2)(t,"customContent"))return t;var n=t.customContent,i=function(a,o){var s=n(a,o)||"";return(0,c.HD)(s)?'
      '+s+"
      ":s};return(0,p.pi)((0,p.pi)({},t),{customContent:i})},e.prototype.getTitle=function(t){var n=t[0].title||t[0].name;return this.title=n,n},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),n={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},i=this.getTooltipCfg(),a=new xs((0,p.pi)((0,p.pi)({parent:t.get("el").parentNode,region:n},i),{visible:!1,crosshairs:null}));a.init(),this.tooltip=a},e.prototype.renderTooltipMarkers=function(t,n){var i,a,o=this.getTooltipMarkersGroup(),s=this.view.getRootView(),l=s.limitInPlot;try{for(var u=(0,p.XA)(t),f=u.next();!f.done;f=u.next()){var h=f.value,v=h.x,d=h.y;if(l||(o==null?void 0:o.getClip())){var g=uu(s.getCoordinate()),y=g.type,m=g.attrs;o==null||o.setClip({type:y,attrs:m})}else o==null||o.setClip(void 0);var x=this.view.getTheme(),M=(0,c.U2)(x,["components","tooltip","marker"],{}),E=(0,p.pi)((0,p.pi)({fill:h.color,symbol:"circle",shadowColor:h.color},(0,c.mf)(n)?(0,p.pi)((0,p.pi)({},M),n(h)):n),{x:v,y:d});o.addShape("marker",{attrs:E})}}catch(F){i={error:F}}finally{try{f&&!f.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},e.prototype.renderCrosshairs=function(t,n){var i=(0,c.U2)(n,["crosshairs","type"],"x");i==="x"?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,n)):i==="y"?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,n)):i==="xy"&&(this.renderXCrosshairs(t,n),this.renderYCrosshairs(t,n))},e.prototype.renderXCrosshairs=function(t,n){var i=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(i.isRect)i.isTransposed?(a={x:i.start.x,y:t.y},o={x:i.end.x,y:t.y}):(a={x:t.x,y:i.end.y},o={x:t.x,y:i.start.y});else{var s=fa(i,t),l=i.getCenter(),u=i.getRadius();o=lr(l.x,l.y,u,s),a=l}var f=(0,c.b$)({start:a,end:o,container:this.getTooltipCrosshairsGroup()},(0,c.U2)(n,"crosshairs",{}),this.getCrosshairsText("x",t,n));delete f.type;var h=this.xCrosshair;h?h.update(f):(h=new Yf(f),h.init()),h.render(),h.show(),this.xCrosshair=h},e.prototype.renderYCrosshairs=function(t,n){var i=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(i.isRect){var s=void 0,l=void 0;i.isTransposed?(s={x:t.x,y:i.end.y},l={x:t.x,y:i.start.y}):(s={x:i.start.x,y:t.y},l={x:i.end.x,y:t.y}),a={start:s,end:l},o="Line"}else a={center:i.getCenter(),radius:ws(i,t),startAngle:i.startAngle,endAngle:i.endAngle},o="Circle";a=(0,c.b$)({container:this.getTooltipCrosshairsGroup()},a,(0,c.U2)(n,"crosshairs",{}),this.getCrosshairsText("y",t,n)),delete a.type;var u=this.yCrosshair;u?i.isRect&&u.get("type")==="circle"||!i.isRect&&u.get("type")==="line"?(u=new pt[o](a),u.init()):u.update(a):(u=new pt[o](a),u.init()),u.render(),u.show(),this.yCrosshair=u},e.prototype.getCrosshairsText=function(t,n,i){var a=(0,c.U2)(i,["crosshairs","text"]),o=(0,c.U2)(i,["crosshairs","follow"]),s=this.items;if(a){var l=this.getViewWithGeometry(this.view),u=s[0],f=l.getXScale(),h=l.getYScales()[0],v=void 0,d=void 0;if(o){var g=this.view.getCoordinate().invert(n);v=f.invert(g.x),d=h.invert(g.y)}else v=u.data[f.field],d=u.data[h.field];var y=t==="x"?v:d;return(0,c.mf)(a)?a=a(t,y,s,n):a.content=y,{text:a}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.findItemsFromView=function(t,n){var i,a;if(t.getOptions().tooltip===!1)return[];var o=this.getTooltipCfg(),s=yu(t,n,o);try{for(var l=(0,p.XA)(t.views),u=l.next();!u.done;u=l.next()){var f=u.value;s=s.concat(this.findItemsFromView(f,n))}}catch(h){i={error:h}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}return s},e.prototype.getViewWithGeometry=function(t){var n=this;return t.geometries.length?t:(0,c.sE)(t.views,function(i){return n.getViewWithGeometry(i)})},e.prototype.getItemsAfterProcess=function(t){var n=this.getTooltipCfg().customItems,i=n||function(a){return a};return i(t)},e}(ga),Vh=tw,Gh={};function Hh(r){return Gh[r.toLowerCase()]}function Yr(r,e){Gh[r.toLowerCase()]=e}var ya={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},ew={interval:function(r){return{enter:{animation:r.isRect?r.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:r.isPolar&&r.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},Yh={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",r.isPolar&&r.isTransposed&&(e="wave-in")),{animation:e}},schema:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":e="grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function rw(r,e){return{delay:(0,c.mf)(r.delay)?r.delay(e):r.delay,easing:(0,c.mf)(r.easing)?r.easing(e):r.easing,duration:(0,c.mf)(r.duration)?r.duration(e):r.duration,callback:r.callback,repeat:r.repeat}}function Xh(r,e,t){var n=ew[r];return n&&((0,c.mf)(n)&&(n=n(e)),n=(0,c.b$)({},ya,n),t)?n[t]:n}function ma(r,e,t){var n=(0,c.U2)(r.get("origin"),"data",Bt),i=e.animation,a=rw(e,n);if(i){var o=Hh(i);o&&o(r,a,t)}else r.animate(t.toAttrs,a)}function nw(r,e,t,n,i){if(Yh[t]){var a=Yh[t](n),o=Hh((0,c.U2)(a,"animation",""));if(o){var s=(0,p.pi)((0,p.pi)((0,p.pi)({},ya.appear),a),e);r.stopAnimate(),o(r,s,{coordinate:n,minYPoint:i,toAttrs:null})}}}var xu="element-background",iw=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;n.labelShape=[],n.states=[];var i=t.shapeFactory,a=t.container,o=t.offscreenGroup,s=t.elementIndex,l=t.visible,u=l===void 0?!0:l;return n.shapeFactory=i,n.container=a,n.offscreenGroup=o,n.visible=u,n.elementIndex=s,n}return e.prototype.draw=function(t,n){n===void 0&&(n=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,n),this.visible===!1&&this.changeVisible(!1)},e.prototype.update=function(t){var n=this,i=n.shapeFactory,a=n.shape;if(!!a){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(a,t);var o=this.getOffscreenGroup(),s=i.drawShape(this.shapeType,t,o);s.cfg.data=this.data,s.cfg.origin=t,s.cfg.element=this,this.syncShapeStyle(a,s,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var t=this,n=t.shapeFactory,i=t.shape;if(i){var a=this.getAnimateCfg("leave");a?ma(i,a,{coordinate:n.coordinate,toAttrs:(0,p.pi)({},i.attr())}):i.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=[],this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,r.prototype.destroy.call(this)},e.prototype.changeVisible=function(t){r.prototype.changeVisible.call(this,t),t?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(n){n.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(n){n.hide()}))},e.prototype.setState=function(t,n){var i=this,a=i.states,o=i.shapeFactory,s=i.model,l=i.shape,u=i.shapeType,f=a.indexOf(t);if(n){if(f>-1)return;a.push(t),(t==="active"||t==="selected")&&(l==null||l.toFront())}else{if(f===-1)return;if(a.splice(f,1),t==="active"||t==="selected"){var h=this.geometry,v=h.sortZIndex,d=h.zIndexReversed,g=d?this.geometry.elements.length-this.elementIndex:this.elementIndex;v?l.setZIndex(g):l.set("zIndex",g)}}var y=o.drawShape(u,s,this.getOffscreenGroup());a.length?this.syncShapeStyle(l,y,a,null):this.syncShapeStyle(l,y,["reset"],null),y.remove(!0);var m={state:t,stateStatus:n,element:this,target:this.container};this.container.emit("statechange",m),Lf(this.shape,"statechange",m)},e.prototype.clearStates=function(){var t=this,n=this.states;(0,c.S6)(n,function(i){t.setState(i,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,n=t.shape,i=t.labelShape,a={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return n&&(a=n.getCanvasBBox()),i&&i.forEach(function(o){var s=o.getCanvasBBox();a.x=Math.min(s.x,a.x),a.y=Math.min(s.y,a.y),a.minX=Math.min(s.minX,a.minX),a.minY=Math.min(s.minY,a.minY),a.maxX=Math.max(s.maxX,a.maxX),a.maxY=Math.max(s.maxY,a.maxY)}),a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,n=t.shapeType,i=t.geometry,a=t.shapeFactory,o=i.stateOption,s=a.defaultShapeType,l=a.theme[n]||a.theme[s];this.statesStyle=(0,c.b$)({},l,o)}return this.statesStyle},e.prototype.getStateStyle=function(t,n){var i=this.getStatesStyle(),a=(0,c.U2)(i,[t,"style"],{}),o=a[n]||a;return(0,c.mf)(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var n=this,i=this.animate;if(i){var a=i[t];return a&&(0,p.pi)((0,p.pi)({},a),{callback:function(){var o;(0,c.mf)(a.callback)&&a.callback(),(o=n.geometry)===null||o===void 0||o.emit(X.AFTER_DRAW_ANIMATE)}})}return null},e.prototype.drawShape=function(t,n){var i;n===void 0&&(n=!1);var a=this,o=a.shapeFactory,s=a.container,l=a.shapeType;if(this.shape=o.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?(0,c.HD)(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var f=n?"enter":"appear",h=this.getAnimateCfg(f);h&&((i=this.geometry)===null||i===void 0||i.emit(X.BEFORE_DRAW_ANIMATE),ma(this.shape,h,{coordinate:o.coordinate,toAttrs:(0,p.pi)({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,n){var i=this;if(t.cfg.origin=n,t.cfg.element=this,t.isGroup()){var a=t.get("children");a.forEach(function(o){i.setShapeInfo(o,n)})}},e.prototype.syncShapeStyle=function(t,n,i,a,o){var s=this,l;if(i===void 0&&(i=[]),o===void 0&&(o=0),!(!t||!n)){var u=t.get("clipShape"),f=n.get("clipShape");if(this.syncShapeStyle(u,f,i,a),t.isGroup())for(var h=t.get("children"),v=n.get("children"),d=0;d=0?a=n:i<=0?a=i:a=0,a},e.prototype.createAttrOption=function(t,n,i){if((0,c.UM)(n)||(0,c.Kn)(n))(0,c.Kn)(n)&&(0,c.Xy)(Object.keys(n),["values"])?(0,c.t8)(this.attributeOption,t,{fields:n.values}):(0,c.t8)(this.attributeOption,t,n);else{var a={};(0,c.hj)(n)?a.values=[n]:a.fields=xo(n),i&&((0,c.mf)(i)?a.callback=i:a.values=i),(0,c.t8)(this.attributeOption,t,a)}},e.prototype.initAttributes=function(){var t=this,n=this,i=n.attributes,a=n.attributeOption,o=n.theme,s=n.shapeType;this.groupScales=[];var l={},u=function(v){if(a.hasOwnProperty(v)){var d=a[v];if(!d)return{value:void 0};var g=(0,p.pi)({},d),y=g.callback,m=g.values,x=g.fields,M=x===void 0?[]:x,E=M.map(function(N){var tt=t.scales[N];if(!l[N]&&Et.includes(v)){var st=ih(tt,(0,c.U2)(t.scaleDefs,N),v,t.type);st==="cat"&&(t.groupScales.push(tt),l[N]=!0)}return tt});g.scales=E,v!=="position"&&E.length===1&&E[0].type==="identity"?g.values=E[0].values:!y&&!m&&(v==="size"?g.values=o.sizes:v==="shape"?g.values=o.shapes[s]||[]:v==="color"&&(E.length?g.values=E[0].values.length<=10?o.colors10:o.colors20:g.values=o.colors10));var F=Ef(v);i[v]=new F(g)}};for(var f in a){var h=u(f);if(typeof h=="object")return h.value}},e.prototype.processData=function(t){var n,i;this.hasSorted=!1;for(var a=this.getAttribute("position").scales,o=a.filter(function(st){return st.isCategory}),s=this.groupData(t),l=[],u=0,f=s.length;us&&(s=h)}var v=this.scaleDefs,d={};ot.max&&!(0,c.U2)(v,[a,"max"])&&(d.max=s),t.change(d)},e.prototype.beforeMapping=function(t){var n=t;if(this.sortable&&this.sort(n),this.generatePoints)for(var i=0,a=n.length;i1)for(var v=0;v0})}function Qh(r,e,t){var n=t.data,i=t.origin,a=t.animateCfg,o=t.coordinate,s=(0,c.U2)(a,"update");r.set("data",n),r.set("origin",i),r.set("animateCfg",a),r.set("coordinate",o),r.set("visible",e.get("visible")),(r.getChildren()||[]).forEach(function(l,u){var f=e.getChildByIndex(u);if(!f)r.removeChild(l),l.remove(!0);else{l.set("data",n),l.set("origin",i),l.set("animateCfg",a),l.set("coordinate",o);var h=nh(l,f);s?ma(l,s,{toAttrs:h,coordinate:o}):l.attr(h),f.isGroup()&&Qh(l,f,t)}}),(0,c.S6)(e.getChildren(),function(l,u){u>=r.getCount()&&(l.destroyed||r.add(l))})}var dw=function(){function r(e){this.shapesMap={};var t=e.layout,n=e.container;this.layout=t,this.container=n}return r.prototype.render=function(e,t,n){return n===void 0&&(n=!1),(0,p.mG)(this,void 0,void 0,function(){var i,a,o,s,l,u,f,h,v=this;return(0,p.Jh)(this,function(d){switch(d.label){case 0:if(i={},a=this.createOffscreenGroup(),!e.length)return[3,2];try{for(o=(0,p.XA)(e),s=o.next();!s.done;s=o.next())l=s.value,l&&(i[l.id]=this.renderLabel(l,a))}catch(g){f={error:g}}finally{try{s&&!s.done&&(h=o.return)&&h.call(o)}finally{if(f)throw f.error}}return[4,this.doLayout(e,t,i)];case 1:d.sent(),this.renderLabelLine(e,i),this.renderLabelBackground(e,i),this.adjustLabel(e,i),d.label=2;case 2:return u=this.shapesMap,(0,c.S6)(i,function(g,y){if(g.destroyed)delete i[y];else{if(u[y]){var m=g.get("data"),x=g.get("origin"),M=g.get("coordinate"),E=g.get("animateCfg"),F=u[y];Qh(F,i[y],{data:m,origin:x,animateCfg:E,coordinate:M}),i[y]=F}else{if(v.container.destroyed)return;v.container.add(g);var N=(0,c.U2)(g.get("animateCfg"),n?"enter":"appear");N&&ma(g,N,{toAttrs:(0,p.pi)({},g.attr()),coordinate:g.get("coordinate")})}delete u[y]}}),(0,c.S6)(u,function(g){var y=(0,c.U2)(g.get("animateCfg"),"leave");y?ma(g,y,{toAttrs:null,coordinate:g.get("coordinate")}):g.remove(!0)}),this.shapesMap=i,a.destroy(),[2]}})})},r.prototype.clear=function(){this.container.clear(),this.shapesMap={}},r.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null},r.prototype.renderLabel=function(e,t){var n=e.id,i=e.elementId,a=e.data,o=e.mappingData,s=e.coordinate,l=e.animate,u=e.content,f=e.capture,h={id:n,elementId:i,capture:f,data:a,origin:(0,p.pi)((0,p.pi)({},o),{data:o[Bt]}),coordinate:s},v=t.addGroup((0,p.pi)({name:"label",animateCfg:this.animate===!1||l===null||l===!1?!1:(0,c.b$)({},this.animate,l)},h)),d;if(u.isGroup&&u.isGroup()||u.isShape&&u.isShape()){var g=u.getCanvasBBox(),y=g.width,m=g.height,x=(0,c.U2)(e,"textAlign","left"),M=e.x,E=e.y-m/2;x==="center"?M=M-y/2:(x==="right"||x==="end")&&(M=M-y),wo(u,M,E),d=u,v.add(u)}else{var F=(0,c.U2)(e,["style","fill"]);d=v.addShape("text",(0,p.pi)({attrs:(0,p.pi)((0,p.pi)({x:e.x,y:e.y,textAlign:e.textAlign,textBaseline:(0,c.U2)(e,"textBaseline","middle"),text:e.content},e.style),{fill:(0,c.Ft)(F)?e.color:F})},h))}return e.rotate&&Su(d,e.rotate),v},r.prototype.doLayout=function(e,t,n){return(0,p.mG)(this,void 0,void 0,function(){var i,a=this;return(0,p.Jh)(this,function(o){switch(o.label){case 0:return this.layout?(i=(0,c.kJ)(this.layout)?this.layout:[this.layout],[4,Promise.all(i.map(function(s){var l=ow((0,c.U2)(s,"type",""));if(!!l){var u=[],f=[];return(0,c.S6)(n,function(h,v){u.push(h),f.push(t[h.get("elementId")])}),l(e,u,f,a.region,s.cfg)}}))]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},r.prototype.renderLabelLine=function(e,t){(0,c.S6)(e,function(n){var i=(0,c.U2)(n,"coordinate");if(!(!n||!i)){var a=i.getCenter(),o=i.getRadius();if(!!n.labelLine){var s=(0,c.U2)(n,"labelLine",{}),l=n.id,u=s.path;if(!u){var f=lr(a.x,a.y,o,n.angle);u=[["M",f.x,f.y],["L",n.x,n.y]]}var h=t[l];h.destroyed||h.addShape("path",{capture:!1,attrs:(0,p.pi)({path:u,stroke:n.color?n.color:(0,c.U2)(n,["style","fill"],"#000"),fill:null},s.style),id:l,origin:n.mappingData,data:n.data,coordinate:n.coordinate})}}})},r.prototype.renderLabelBackground=function(e,t){(0,c.S6)(e,function(n){var i=(0,c.U2)(n,"coordinate"),a=(0,c.U2)(n,"background");if(!(!a||!i)){var o=n.id,s=t[o];if(!s.destroyed){var l=s.getChildren()[0];if(l){var u=Kh(s,n,a.padding),f=u.rotation,h=(0,p._T)(u,["rotation"]),v=s.addShape("rect",{attrs:(0,p.pi)((0,p.pi)({},h),a.style||{}),id:o,origin:n.mappingData,data:n.data,coordinate:n.coordinate});if(v.setZIndex(-1),f){var d=l.getMatrix();v.setMatrix(d)}}}}})},r.prototype.createOffscreenGroup=function(){var e=this.container,t=e.getGroupBase(),n=new t({});return n},r.prototype.adjustLabel=function(e,t){(0,c.S6)(e,function(n){if(n){var i=n.id,a=t[i];if(!a.destroyed){var o=a.findAll(function(s){return s.get("type")!=="path"});(0,c.S6)(o,function(s){s&&(n.offsetX&&s.attr("x",s.attr("x")+n.offsetX),n.offsetY&&s.attr("y",s.attr("y")+n.offsetY))})}}})},r}(),gw=dw;function tv(r){var e=0;return(0,c.S6)(r,function(t){e+=t}),e/r.length}var yw=function(){function r(e){this.geometry=e}return r.prototype.getLabelItems=function(e){var t=this,n=[],i=this.getLabelCfgs(e);return(0,c.S6)(e,function(a,o){var s=i[o];if(!s||(0,c.UM)(a.x)||(0,c.UM)(a.y)){n.push(null);return}var l=(0,c.kJ)(s.content)?s.content:[s.content];s.content=l;var u=l.length;(0,c.S6)(l,function(f,h){if((0,c.UM)(f)||f===""){n.push(null);return}var v=(0,p.pi)((0,p.pi)({},s),t.getLabelPoint(s,a,h));v.textAlign||(v.textAlign=t.getLabelAlign(v,h,u)),v.offset<=0&&(v.labelLine=null),n.push(v)})}),n},r.prototype.render=function(e,t){return t===void 0&&(t=!1),(0,p.mG)(this,void 0,void 0,function(){var n,i,a;return(0,p.Jh)(this,function(o){switch(o.label){case 0:return n=this.getLabelItems(e),i=this.getLabelsRenderer(),a=this.getGeometryShapes(),[4,i.render(n,a,t)];case 1:return o.sent(),[2]}})})},r.prototype.clear=function(){var e=this.labelsRenderer;e&&e.clear()},r.prototype.destroy=function(){var e=this.labelsRenderer;e&&e.destroy(),this.labelsRenderer=null},r.prototype.getCoordinate=function(){return this.geometry.coordinate},r.prototype.getDefaultLabelCfg=function(e,t){var n=this.geometry,i=n.type,a=n.theme;return i==="polygon"||i==="interval"&&t==="middle"||e<0&&!["line","point","path"].includes(i)?(0,c.U2)(a,"innerLabels",{}):(0,c.U2)(a,"labels",{})},r.prototype.getThemedLabelCfg=function(e){var t=this.geometry,n=this.getDefaultLabelCfg(),i=t.type,a=t.theme,o;return i==="polygon"||e.offset<0&&!["line","point","path"].includes(i)?o=(0,c.b$)({},n,a.innerLabels,e):o=(0,c.b$)({},n,a.labels,e),o},r.prototype.setLabelPosition=function(e,t,n,i){},r.prototype.getLabelOffset=function(e){var t=this.getCoordinate(),n=this.getOffsetVector(e);return t.isTransposed?n[0]:n[1]},r.prototype.getLabelOffsetPoint=function(e,t,n){var i=e.offset,a=this.getCoordinate(),o=a.isTransposed,s=o?"x":"y",l=o?1:-1,u={x:0,y:0};return t>0||n===1?u[s]=i*l:u[s]=i*l*-1,u},r.prototype.getLabelPoint=function(e,t,n){var i=this.getCoordinate(),a=e.content.length;function o(m,x,M){M===void 0&&(M=!1);var E=m;return(0,c.kJ)(E)&&(e.content.length===1?M?E=tv(E):E.length<=2?E=E[m.length-1]:E=tv(E):E=E[x]),E}var s={content:e.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},l=(0,c.kJ)(t.shape)?t.shape[0]:t.shape,u=l==="funnel"||l==="pyramid";if(this.geometry.type==="polygon"){var f=zx(t.x,t.y);s.x=f[0],s.y=f[1]}else this.geometry.type==="interval"&&!u?(s.x=o(t.x,n,!0),s.y=o(t.y,n)):(s.x=o(t.x,n),s.y=o(t.y,n));if(u){var h=(0,c.U2)(t,"nextPoints"),v=(0,c.U2)(t,"points");if(h){var d=i.convert(v[1]),g=i.convert(h[1]);s.x=(d.x+g.x)/2,s.y=(d.y+g.y)/2}else if(l==="pyramid"){var d=i.convert(v[1]),g=i.convert(v[2]);s.x=(d.x+g.x)/2,s.y=(d.y+g.y)/2}}e.position&&this.setLabelPosition(s,t,n,e.position);var y=this.getLabelOffsetPoint(e,n,a);return s.start={x:s.x,y:s.y},s.x+=y.x,s.y+=y.y,s.color=t.color,s},r.prototype.getLabelAlign=function(e,t,n){var i="center",a=this.getCoordinate();if(a.isTransposed){var o=e.offset;o<0?i="right":o===0?i="center":i="left",n>1&&t===0&&(i==="right"?i="left":i==="left"&&(i="right"))}return i},r.prototype.getLabelId=function(e){var t=this.geometry,n=t.type,i=t.getXScale(),a=t.getYScale(),o=e[Bt],s=t.getElementId(e);return n==="line"||n==="area"?s+=" ".concat(o[i.field]):n==="path"&&(s+=" ".concat(o[i.field],"-").concat(o[a.field])),s},r.prototype.getLabelsRenderer=function(){var e=this.geometry,t=e.labelsContainer,n=e.labelOption,i=e.canvasRegion,a=e.animateOption,o=this.geometry.coordinate,s=this.labelsRenderer;return s||(s=new gw({container:t,layout:(0,c.U2)(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=s),s.region=i,s.animate=a?Xh("label",o):!1,s},r.prototype.getLabelCfgs=function(e){var t=this,n=this.geometry,i=n.labelOption,a=n.scales,o=n.coordinate,s=i,l=s.fields,u=s.callback,f=s.cfg,h=l.map(function(d){return a[d]}),v=[];return(0,c.S6)(e,function(d,g){var y=d[Bt],m=t.getLabelText(y,h),x;if(u){var M=l.map(function(st){return y[st]});if(x=u.apply(void 0,(0,p.ev)([],(0,p.CR)(M),!1)),(0,c.UM)(x)){v.push(null);return}}var E=(0,p.pi)((0,p.pi)({id:t.getLabelId(d),elementId:t.geometry.getElementId(d),data:y,mappingData:d,coordinate:o},f),x);(0,c.mf)(E.position)&&(E.position=E.position(y,d,g));var F=t.getLabelOffset(E.offset||0),N=t.getDefaultLabelCfg(F,E.position);E=(0,c.b$)({},N,E),E.offset=t.getLabelOffset(E.offset||0);var tt=E.content;(0,c.mf)(tt)?E.content=tt(y,d,g):(0,c.o8)(tt)&&(E.content=m[0]),v.push(E)}),v},r.prototype.getLabelText=function(e,t){var n=[];return(0,c.S6)(t,function(i){var a=e[i.field];(0,c.kJ)(a)?a=a.map(function(o){return i.getText(o)}):a=i.getText(a),(0,c.UM)(a)||a===""?n.push(null):n.push(a)}),n},r.prototype.getOffsetVector=function(e){e===void 0&&(e=0);var t=this.getCoordinate(),n=0;return(0,c.hj)(e)&&(n=e),t.isTransposed?t.applyMatrix(n,0):t.applyMatrix(0,n)},r.prototype.getGeometryShapes=function(){var e=this.geometry,t={};return(0,c.S6)(e.elementsMap,function(n,i){t[i]=n.shape}),(0,c.S6)(e.getOffscreenGroup().getChildren(),function(n){var i=e.getElementId(n.get("origin").mappingData);t[i]=n}),t},r}(),Ds=yw;function Mu(r,e,t){if(!r)return t;var n;if(r.callback&&r.callback.length>1){var i=Array(r.callback.length-1).fill("");n=r.mapping.apply(r,(0,p.ev)([e],(0,p.CR)(i),!1)).join("")}else n=r.mapping(e).join("");return n||t}var Ii={hexagon:function(r,e,t){var n=t/2*Math.sqrt(3);return[["M",r,e-t],["L",r+n,e-t/2],["L",r+n,e+t/2],["L",r,e+t],["L",r-n,e+t/2],["L",r-n,e-t/2],["Z"]]},bowtie:function(r,e,t){var n=t-1.5;return[["M",r-t,e-n],["L",r+t,e+n],["L",r+t,e-n],["L",r-t,e+n],["Z"]]},cross:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e+t],["M",r+t,e-t],["L",r-t,e+t]]},tick:function(r,e,t){return[["M",r-t/2,e-t],["L",r+t/2,e-t],["M",r,e-t],["L",r,e+t],["M",r-t/2,e+t],["L",r+t/2,e+t]]},plus:function(r,e,t){return[["M",r-t,e],["L",r+t,e],["M",r,e-t],["L",r,e+t]]},hyphen:function(r,e,t){return[["M",r-t,e],["L",r+t,e]]},line:function(r,e,t){return[["M",r,e-t],["L",r,e+t]]}},mw=["line","cross","tick","plus","hyphen"];function xw(r,e){return(0,c.mf)(e)?e(r):(0,c.b$)({},r,e)}function ww(r,e){var t=r.symbol;if((0,c.HD)(t)&&mw.indexOf(t)!==-1){var n=(0,c.U2)(r,"style",{}),i=(0,c.U2)(n,"lineWidth",1),a=n.stroke||n.fill||e;r.style=(0,c.b$)({},r.style,{lineWidth:i,stroke:a,fill:null})}}function ev(r){var e=r.symbol;(0,c.HD)(e)&&Ii[e]&&(r.symbol=Ii[e])}function bu(r){return r.startsWith(q.LEFT)||r.startsWith(q.RIGHT)?"vertical":"horizontal"}function rv(r,e,t,n,i){var a=t.getScale(t.type);if(a.isCategory){var o=a.field,s=e.getAttribute("color"),l=e.getAttribute("shape"),u=r.getTheme().defaultColor,f=e.coordinate.isPolar;return a.getTicks().map(function(h,v){var d,g=h.text,y=h.value,m=g,x=a.invert(y),M=r.filterFieldData(o,[(d={},d[o]=x,d)]).length===0;(0,c.S6)(r.views,function(st){var vt;st.filterFieldData(o,[(vt={},vt[o]=x,vt)]).length||(M=!0)});var E=Mu(s,x,u),F=Mu(l,x,"point"),N=e.getShapeMarker(F,{color:E,isInPolar:f}),tt=i;return(0,c.mf)(tt)&&(tt=tt(m,v,(0,p.pi)({name:m,value:x},(0,c.b$)({},n,N)))),N=(0,c.b$)({},n,N,Dr((0,p.pi)({},tt),["style"])),ww(N,E),tt&&tt.style&&(N.style=xw(N.style,tt.style)),ev(N),{id:x,name:m,value:x,marker:N,unchecked:M}})}return[]}function Sw(r,e,t){return t.map(function(n,i){var a=e;(0,c.mf)(a)&&(a=a(n.name,i,(0,c.b$)({},r,n)));var o=(0,c.mf)(n.marker)?n.marker(n.name,i,(0,c.b$)({},r,n)):n.marker,s=(0,c.b$)({},r,a,o);return ev(s),n.marker=s,n})}function nv(r,e){var t=(0,c.U2)(r,["components","legend"],{});return(0,c.b$)({},(0,c.U2)(t,["common"],{}),(0,c.b$)({},(0,c.U2)(t,[e],{})))}function Cu(r){return r?!1:r==null||isNaN(r)}function iv(r){if((0,c.kJ)(r))return Cu(r[1].y);var e=r.y;return(0,c.kJ)(e)?Cu(e[0]):Cu(e)}function Os(r,e,t){if(e===void 0&&(e=!1),t===void 0&&(t=!0),!r.length||r.length===1&&!t)return[];if(e){for(var n=[],i=0,a=r.length;i=r&&i<=r+t&&a>=e&&a<=e+n}function So(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=0&&i<1/2*Math.PI?(s={x:o.minX,y:o.minY},l={x:o.maxX,y:o.maxY}):1/2*Math.PI<=i&&i1&&(t*=Math.sqrt(d),n*=Math.sqrt(d));var g=t*t*(v*v)+n*n*(h*h),y=g?Math.sqrt((t*t*(n*n)-g)/g):1;a===o&&(y*=-1),isNaN(y)&&(y=0);var m=n?y*t*v/n:0,x=t?y*-n*h/t:0,M=(s+u)/2+Math.cos(i)*m-Math.sin(i)*x,E=(l+f)/2+Math.sin(i)*m+Math.cos(i)*x,F=[(h-m)/t,(v-x)/n],N=[(-1*h-m)/t,(-1*v-x)/n],tt=pv([1,0],F),st=pv(F,N);return Eu(F,N)<=-1&&(st=Math.PI),Eu(F,N)>=1&&(st=0),o===0&&st>0&&(st=st-2*Math.PI),o===1&&st<0&&(st=st+2*Math.PI),{cx:M,cy:E,rx:fv(r,[u,f])?0:t,ry:fv(r,[u,f])?0:n,startAngle:tt,endAngle:tt+st,xRotation:i,arcFlag:a,sweepFlag:o}}var Rs=Math.sin,Ns=Math.cos,Fu=Math.atan2,zs=Math.PI;function dv(r,e,t,n,i,a,o){var s=e.stroke,l=e.lineWidth,u=t-i,f=n-a,h=Fu(f,u),v=new Bu({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Ns(zs/6)+","+10*Rs(zs/6)+" L0,0 L"+10*Ns(zs/6)+",-"+10*Rs(zs/6),stroke:s,lineWidth:l}});v.translate(i,a),v.rotateAtPoint(i,a,h),r.set(o?"startArrowShape":"endArrowShape",v)}function gv(r,e,t,n,i,a,o){var s=e.startArrow,l=e.endArrow,u=e.stroke,f=e.lineWidth,h=o?s:l,v=h.d,d=h.fill,g=h.stroke,y=h.lineWidth,m=(0,p._T)(h,["d","fill","stroke","lineWidth"]),x=t-i,M=n-a,E=Fu(M,x);v&&(i=i-Ns(E)*v,a=a-Rs(E)*v);var F=new Bu({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:(0,p.pi)((0,p.pi)({},m),{stroke:g||u,lineWidth:y||f,fill:d})});F.translate(i,a),F.rotateAtPoint(i,a,E),r.set(o?"startArrowShape":"endArrowShape",F)}function Li(r,e,t,n,i){var a=Fu(n-e,t-r);return{dx:Ns(a)*i,dy:Rs(a)*i}}function Iu(r,e,t,n,i,a){typeof e.startArrow=="object"?gv(r,e,t,n,i,a,!0):e.startArrow?dv(r,e,t,n,i,a,!0):r.set("startArrowShape",null)}function ku(r,e,t,n,i,a){typeof e.endArrow=="object"?gv(r,e,t,n,i,a,!1):e.endArrow?dv(r,e,t,n,i,a,!1):r.set("startArrowShape",null)}var yv={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function xa(r,e){var t=e.attr();for(var n in t){var i=t[n],a=yv[n]?yv[n]:n;a==="matrix"&&i?r.transform(i[0],i[1],i[3],i[4],i[6],i[7]):a==="lineDash"&&r.setLineDash?(0,c.kJ)(i)&&r.setLineDash(i):(a==="strokeStyle"||a==="fillStyle"?i=Rw(r,e,i):a==="globalAlpha"&&(i=i*r.globalAlpha),r[a]=i)}}function Lu(r,e,t){for(var n=0;nN?F:N,Xt=F>N?1:F/N,se=F>N?N/F:1;e.translate(M,E),e.rotate(vt),e.scale(Xt,se),e.arc(0,0,Tt,tt,st,1-Dt),e.scale(1/Xt,1/se),e.rotate(-vt),e.translate(-M,-E)}break}case"Z":e.closePath();break;default:break}if(v==="Z")s=l;else{var be=h.length;s=[h[be-2],h[be-1]]}}}}function wv(r,e){var t=r.get("canvas");t&&(e==="remove"&&(r._cacheCanvasBBox=r.get("cacheCanvasBBox")),r.get("hasChanged")||(r.set("hasChanged",!0),r.cfg.parent&&r.cfg.parent.get("hasChanged")||(t.refreshElement(r,e,t),t.get("autoDraw")&&t.draw())))}function Vw(r){var e;if(r.destroyed)e=r._cacheCanvasBBox;else{var t=r.get("cacheCanvasBBox"),n=t&&!!(t.width&&t.height),i=r.getCanvasBBox(),a=i&&!!(i.width&&i.height);n&&a?e=kw(t,i):n?e=t:a&&(e=i)}return e}function Gw(r){if(!r.length)return null;var e=[],t=[],n=[],i=[];return(0,c.S6)(r,function(a){var o=Vw(a);o&&(e.push(o.minX),t.push(o.minY),n.push(o.maxX),i.push(o.maxY))}),{minX:(0,c.VV)(e),minY:(0,c.VV)(t),maxX:(0,c.Fp)(n),maxY:(0,c.Fp)(i)}}function Hw(r,e){return!r||!e||!So(r,e)?null:{minX:Math.max(r.minX,e.minX),minY:Math.max(r.minY,e.minY),maxX:Math.min(r.maxX,e.maxX),maxY:Math.min(r.maxY,e.maxY)}}var Yw=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onCanvasChange=function(t){wv(this,t)},e.prototype.getShapeBase=function(){return Rt},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,n){n&&(t.save(),xa(t,n),n.createPath(t),t.restore(),t.clip(),n._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,n=[],i=[];(0,c.S6)(t,function(v){var d=v.cfg.cacheCanvasBBox;d&&v.cfg.isInView&&(n.push(d.minX,d.maxX),i.push(d.minY,d.maxY))});var a=null;if(n.length){var o=(0,c.VV)(n),s=(0,c.Fp)(n),l=(0,c.VV)(i),u=(0,c.Fp)(i);a={minX:o,minY:l,x:o,y:l,maxX:s,maxY:u,width:s-o,height:u-l};var f=this.cfg.canvas;if(f){var h=f.getViewRange();this.set("isInView",So(a,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",a)},e.prototype.draw=function(t,n){var i=this.cfg.children,a=n?this.cfg.refresh:!0;i.length&&a&&(t.save(),xa(t,this),this._applyClip(t,this.getClip()),Lu(t,i,n),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(A.AbstractGroup),Ou=Yw,Xw=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return Rt},e.prototype.getGroupBase=function(){return Ou},e.prototype.onCanvasChange=function(t){wv(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),n=this.getHitLineWidth(),i=(0,A.getBBoxMethod)(t),a=i(this),o=n/2,s=a.x-o,l=a.y-o,u=a.x+a.width+o,f=a.y+a.height+o;return{x:s,minX:s,y:l,minY:l,width:a.width+n,height:a.height+n,maxX:u,maxY:f}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,n){n&&(t.save(),xa(t,n),n.createPath(t),t.restore(),t.clip(),n._afterDraw())},e.prototype.draw=function(t,n){var i=this.cfg.clipShape;if(n){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var a=this.getCanvasBBox();if(!So(n,a)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),xa(t,this),this._applyClip(t,i),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var n=this.getCanvasBBox(),i=So(n,t);this.set("isInView",i),i?this.set("cacheCanvasBBox",n):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var n=this.attrs,i=n.lineWidth,a=n.opacity,o=n.strokeOpacity,s=n.fillOpacity;this.isFill()&&(!(0,c.UM)(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.isStroke()&&i>0&&(!(0,c.UM)(o)&&o!==1&&(t.globalAlpha=o),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,n){var i=this.isStroke(),a=this.isFill(),o=this.getHitLineWidth();return this.isInStrokeOrPath(t,n,i,a,o)},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(A.AbstractShape),vn=Xw,Ww=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){var s=this.attr(),l=s.x,u=s.y,f=s.r,h=o/2,v=cv(l,u,t,n);return a&&i?v<=f+h:a?v<=f:i?v>=f-h&&v<=f+h:!1},e.prototype.createPath=function(t){var n=this.attr(),i=n.x,a=n.y,o=n.r;t.beginPath(),t.arc(i,a,o,0,Math.PI*2,!1),t.closePath()},e}(vn),Zw=Ww;function Us(r,e,t,n){return r/(t*t)+e/(n*n)}var jw=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){var s=this.attr(),l=o/2,u=s.x,f=s.y,h=s.rx,v=s.ry,d=(t-u)*(t-u),g=(n-f)*(n-f);return a&&i?Us(d,g,h+l,v+l)<=1:a?Us(d,g,h,v)<=1:i?Us(d,g,h-l,v-l)>=1&&Us(d,g,h+l,v+l)<=1:!1},e.prototype.createPath=function(t){var n=this.attr(),i=n.x,a=n.y,o=n.rx,s=n.ry;if(t.beginPath(),t.ellipse)t.ellipse(i,a,o,s,0,0,Math.PI*2,!1);else{var l=o>s?o:s,u=o>s?1:o/s,f=o>s?s/o:1;t.save(),t.translate(i,a),t.scale(u,f),t.arc(0,0,l,0,Math.PI*2),t.restore(),t.closePath()}},e}(vn),$w=jw;function Sv(r){return r instanceof HTMLElement&&(0,c.HD)(r.nodeName)&&r.nodeName.toUpperCase()==="CANVAS"}var qw=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var n=this,i=this.attrs;if((0,c.HD)(t)){var a=new Image;a.onload=function(){if(n.destroyed)return!1;n.attr("img",a),n.set("loading",!1),n._afterLoading();var o=n.get("callback");o&&o.call(n)},a.crossOrigin="Anonymous",a.src=t,this.set("loading",!0)}else t instanceof Image?(i.width||(i.width=t.width),i.height||(i.height=t.height)):Sv(t)&&(i.width||(i.width=Number(t.getAttribute("width"))),i.height||(i.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),t==="img"&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var n=this.attr(),i=n.x,a=n.y,o=n.width,s=n.height,l=n.sx,u=n.sy,f=n.swidth,h=n.sheight,v=n.img;(v instanceof Image||Sv(v))&&(!(0,c.UM)(l)&&!(0,c.UM)(u)&&!(0,c.UM)(f)&&!(0,c.UM)(h)?t.drawImage(v,l,u,f,h,i,a,o,s):t.drawImage(v,i,a,o,s))},e}(vn),Jw=qw,Er=Q(32793);function si(r,e,t,n,i,a,o){var s=Math.min(r,t),l=Math.max(r,t),u=Math.min(e,n),f=Math.max(e,n),h=i/2;return a>=s-h&&a<=l+h&&o>=u-h&&o<=f+h?Er.x1.pointToLine(r,e,t,n,a,o)<=i/2:!1}var Kw=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),n=t.x1,i=t.y1,a=t.x2,o=t.y2,s=t.startArrow,l=t.endArrow;s&&Iu(this,t,a,o,n,i),l&&ku(this,t,n,i,a,o)},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){if(!i||!o)return!1;var s=this.attr(),l=s.x1,u=s.y1,f=s.x2,h=s.y2;return si(l,u,f,h,o,t,n)},e.prototype.createPath=function(t){var n=this.attr(),i=n.x1,a=n.y1,o=n.x2,s=n.y2,l=n.startArrow,u=n.endArrow,f={dx:0,dy:0},h={dx:0,dy:0};l&&l.d&&(f=Li(i,a,o,s,n.startArrow.d)),u&&u.d&&(h=Li(i,a,o,s,n.endArrow.d)),t.beginPath(),t.moveTo(i+f.dx,a+f.dy),t.lineTo(o-h.dx,s-h.dy)},e.prototype.afterDrawPath=function(t){var n=this.get("startArrowShape"),i=this.get("endArrowShape");n&&n.draw(t),i&&i.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),n=t.x1,i=t.y1,a=t.x2,o=t.y2;return Er.x1.length(n,i,a,o)},e.prototype.getPoint=function(t){var n=this.attr(),i=n.x1,a=n.y1,o=n.x2,s=n.y2;return Er.x1.pointAt(i,a,o,s,t)},e}(vn),Qw=Kw,tS={circle:function(r,e,t){return[["M",r-t,e],["A",t,t,0,1,0,r+t,e],["A",t,t,0,1,0,r-t,e]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var n=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+n],["L",r,e-n],["L",r+t,e+n],["Z"]]},"triangle-down":function(r,e,t){var n=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-n],["L",r+t,e-n],["L",r,e+n],["Z"]]}},eS=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),["symbol","x","y","r","radius"].indexOf(t)!==-1&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return(0,c.UM)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t=this.attr(),n=t.x,i=t.y,a=t.symbol||"circle",o=this._getR(t),s,l;if((0,c.mf)(a))s=a,l=s(n,i,o),l=(0,Ti.wb)(l);else{if(s=e.Symbols[a],!s)return console.warn(a+" marker is not supported."),null;l=s(n,i,o)}return l},e.prototype.createPath=function(t){var n=this._getPath(),i=this.get("paramsCache");xv(this,t,{path:n},i)},e.Symbols=tS,e}(vn),rS=eS;function Mv(r,e,t){var n=(0,A.getOffScreenContext)();return r.createPath(n),n.isPointInPath(e,t)}var nS=1e-6;function _u(r){return Math.abs(r)0!=_u(s[1]-t)>0&&_u(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(n=!n)}return n}function Mo(r,e,t,n,i,a,o,s){var l=(Math.atan2(s-e,o-r)+Math.PI*2)%(Math.PI*2);if(li)return!1;var u={x:r+t*Math.cos(l),y:e+t*Math.sin(l)};return cv(u.x,u.y,o,s)<=a/2}var aS=Qe.vs;function oS(r){for(var e=!1,t=r.length,n=0;nE?M:E,Dt=M>E?1:M/E,Tt=M>E?E/M:1,Xt=aS(null,[["t",-m,-x],["r",-tt],["s",1/Dt,1/Tt]]);to(st,st,Xt),a=Mo(0,0,vt,F,N,e,st[0],st[1]);break;default:break}if(a)break}}return a}function lS(r){for(var e=r.length,t=[],n=[],i=[],a=0;a0&&n.push(i),{polygons:t,polylines:n}}var Vs=(0,p.pi)({hasArc:oS,extractPolygons:lS,isPointInStroke:sS},A.PathUtil);function Cv(r,e,t){for(var n=!1,i=0;i=f[0]&&t<=f[1]&&(i=(t-f[0])/(f[1]-f[0]),a=h)});var s=o[a];if((0,c.UM)(s)||(0,c.UM)(a))return null;var l=s.length,u=o[a+1];return Er.Ll.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],i)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",Vs.pathToCurve(t))},e.prototype._setTcache=function(){var t=0,n=0,i=[],a,o,s,l,u=this.get("curve");if(!!u){if((0,c.S6)(u,function(f,h){s=u[h+1],l=f.length,s&&(t+=Er.Ll.length(f[l-2],f[l-1],s[1],s[2],s[3],s[4],s[5],s[6])||0)}),this.set("totalLength",t),t===0){this.set("tCache",[]);return}(0,c.S6)(u,function(f,h){s=u[h+1],l=f.length,s&&(a=[],a[0]=n/t,o=Er.Ll.length(f[l-2],f[l-1],s[1],s[2],s[3],s[4],s[5],s[6]),n+=o||0,a[1]=n/t,i.push(a))}),this.set("tCache",i)}},e.prototype.getStartTangent=function(){var t=this.getSegments(),n;if(t.length>1){var i=t[0].currentPoint,a=t[1].currentPoint,o=t[1].startTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([a[0],a[1]]),n.push([i[0],i[1]]))}return n},e.prototype.getEndTangent=function(){var t=this.getSegments(),n=t.length,i;if(n>1){var a=t[n-2].currentPoint,o=t[n-1].currentPoint,s=t[n-1].endTangent;i=[],s?(i.push([o[0]-s[0],o[1]-s[1]]),i.push([o[0],o[1]])):(i.push([a[0],a[1]]),i.push([o[0],o[1]]))}return i},e}(vn),Bu=uS;function Av(r,e,t,n,i){var a=r.length;if(a<2)return!1;for(var o=0;o=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),Er.x1.pointAt(n[o][0],n[o][1],n[o+1][0],n[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var n=this.getTotalLength();if(!(n<=0)){var i=0,a=[],o,s;(0,c.S6)(t,function(l,u){t[u+1]&&(o=[],o[0]=i/n,s=Er.x1.length(l[0],l[1],t[u+1][0],t[u+1][1]),i+=s,o[1]=i/n,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,n=[];return n.push([t[1][0],t[1][1]]),n.push([t[0][0],t[0][1]]),n},e.prototype.getEndTangent=function(){var t=this.attr().points,n=t.length-1,i=[];return i.push([t[n-1][0],t[n-1][1]]),i.push([t[n][0],t[n][1]]),i},e}(vn),vS=hS;function pS(r,e,t,n,i,a,o){var s=i/2;return ki(r-s,e-s,t,i,a,o)||ki(r+t-s,e-s,i,n,a,o)||ki(r+s,e+n-s,t,i,a,o)||ki(r-s,e+s,i,n,a,o)}function dS(r,e,t,n,i,a,o,s){var l=a/2;return si(r+i,e,r+t-i,e,a,o,s)||si(r+t,e+i,r+t,e+n-i,a,o,s)||si(r+t-i,e+n,r+i,e+n,a,o,s)||si(r,e+n-i,r,e+i,a,o,s)||Mo(r+t-i,e+i,i,1.5*Math.PI,2*Math.PI,a,o,s)||Mo(r+t-i,e+n-i,i,0,.5*Math.PI,a,o,s)||Mo(r+i,e+n-i,i,.5*Math.PI,Math.PI,a,o,s)||Mo(r+i,e+i,i,Math.PI,1.5*Math.PI,a,o,s)}var gS=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,n,i,a,o){var s=this.attr(),l=s.x,u=s.y,f=s.width,h=s.height,v=s.radius;if(v){var g=!1;return i&&(g=dS(l,u,f,h,v,o,t,n)),!g&&a&&(g=Mv(this,t,n)),g}else{var d=o/2;if(a&&i)return ki(l-d,u-d,f+d,h+d,t,n);if(a)return ki(l,u,f,h,t,n);if(i)return pS(l,u,f,h,o,t,n)}},e.prototype.createPath=function(t){var n=this.attr(),i=n.x,a=n.y,o=n.width,s=n.height,l=n.radius;if(t.beginPath(),l===0)t.rect(i,a,o,s);else{var u=Nw(l),f=u[0],h=u[1],v=u[2],d=u[3];t.moveTo(i+f,a),t.lineTo(i+o-h,a),h!==0&&t.arc(i+o-h,a+h,h,-Math.PI/2,0),t.lineTo(i+o,a+s-v),v!==0&&t.arc(i+o-v,a+s-v,v,0,Math.PI/2),t.lineTo(i+d,a+s),d!==0&&t.arc(i+d,a+s-d,d,Math.PI/2,Math.PI),t.lineTo(i,a+f),f!==0&&t.arc(i+f,a+f,f,Math.PI,Math.PI*1.5),t.closePath()}},e}(vn),yS=gS,mS=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=(0,A.assembleFont)(t)},e.prototype._setText=function(t){var n=null;(0,c.HD)(t)&&t.indexOf(` -`)!==-1&&(n=t.split(` -`)),this.set("textArr",n)},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),t.startsWith("font")&&this._assembleFont(),t==="text"&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,n=t.lineHeight,i=t.fontSize*1;return n?n-i:i*.14},e.prototype._drawTextArr=function(t,n,i){var a=this.attrs,o=a.textBaseline,s=a.x,l=a.y,u=a.fontSize*1,f=this._getSpaceingY(),h=(0,A.getTextHeight)(a.text,a.fontSize,a.lineHeight),v;(0,c.S6)(n,function(d,g){v=l+g*(f+u)-h+u,o==="middle"&&(v+=h-u-(h-u)/2),o==="top"&&(v+=h-u),(0,c.UM)(d)||(i?t.fillText(d,s,v):t.strokeText(d,s,v))})},e.prototype._drawText=function(t,n){var i=this.attr(),a=i.x,o=i.y,s=this.get("textArr");if(s)this._drawTextArr(t,s,n);else{var l=i.text;(0,c.UM)(l)||(n?t.fillText(l,a,o):t.strokeText(l,a,o))}},e.prototype.strokeAndFill=function(t){var n=this.attrs,i=n.lineWidth,a=n.opacity,o=n.strokeOpacity,s=n.fillOpacity;this.isStroke()&&i>0&&(!(0,c.UM)(o)&&o!==1&&(t.globalAlpha=a),this.stroke(t)),this.isFill()&&(!(0,c.UM)(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(vn),xS=mS;function wS(r,e){if(e){var t=(0,A.invert)(e);return(0,A.multiplyVec2)(t,r)}return r}function Tv(r,e,t){var n=r.getTotalMatrix();if(n){var i=wS([e,t,1],n),a=i[0],o=i[1];return[a,o]}return[e,t]}function Ev(r,e,t){if(r.isCanvas&&r.isCanvas())return!0;if(!(0,A.isAllowCapture)(r)||r.cfg.isInView===!1)return!1;if(r.cfg.clipShape){var n=Tv(r,e,t),i=n[0],a=n[1];if(r.isClipped(i,a))return!1}var o=r.cfg.cacheCanvasBBox||r.getCanvasBBox();return e>=o.minX&&e<=o.maxX&&t>=o.minY&&t<=o.maxY}function Fv(r,e,t){if(!Ev(r,e,t))return null;for(var n=null,i=r.getChildren(),a=i.length,o=a-1;o>=0;o--){var s=i[o];if(s.isGroup())n=Fv(s,e,t);else if(Ev(s,e,t)){var l=s,u=Tv(s,e,t),f=u[0],h=u[1];l.isInShape(f,h)&&(n=s)}if(n)break}return n}var SS=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},e.prototype.onCanvasChange=function(t){(t==="attr"||t==="sort"||t==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return Rt},e.prototype.getGroupBase=function(){return Ou},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||Iw();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),n=t.getContext("2d");return this.set("context",n),t},e.prototype.setDOMSize=function(t,n){r.prototype.setDOMSize.call(this,t,n);var i=this.get("context"),a=this.get("el"),o=this.getPixelRatio();a.width=o*t,a.height=o*n,o>1&&i.scale(o,o)},e.prototype.clear=function(){r.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),n=this.get("el");t.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(t,n){var i;return this.get("quickHit")?i=Fv(this,t,n):i=r.prototype.getShape.call(this,t,n,null),i},e.prototype._getRefreshRegion=function(){var t=this.get("refreshElements"),n=this.getViewRange(),i;if(t.length&&t[0]===this)i=n;else if(i=Gw(t),i){i.minX=Math.floor(i.minX),i.minY=Math.floor(i.minY),i.maxX=Math.ceil(i.maxX),i.maxY=Math.ceil(i.maxY),i.maxY+=1;var a=this.get("clipView");a&&(i=Hw(i,n))}return i},e.prototype.refreshElement=function(t){var n=this.get("refreshElements");n.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&((0,c.VS)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),n=this.get("el"),i=this.getChildren();t.clearRect(0,0,n.width,n.height),xa(t,this),Lu(t,i),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),n=this.get("refreshElements"),i=this.getChildren(),a=this._getRefreshRegion();a?(t.clearRect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.save(),t.beginPath(),t.rect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.clip(),xa(t,this),zw(this,i,a),Lu(t,i,a),t.restore()):n.length&&mv(n),(0,c.S6)(n,function(o){o.get("hasChanged")&&o.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,n=this.get("drawFrame");n||(n=(0,c.U7)(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",n))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(A.AbstractCanvas),MS=SS,bS="0.5.12",Ru={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},Xe={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},sB=null;function rn(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function Iv(r){var e=Ru[r.type],t=r.getParent();if(!e)throw new Error("the type "+r.type+" is not supported by svg");var n=rn(e);if(r.get("id")&&(n.id=r.get("id")),r.set("el",n),r.set("attrs",{}),t){var i=t.get("el");i||(i=t.createDom(),t.set("el",i)),i.appendChild(n)}return n}function kv(r,e){var t=r.get("el"),n=(0,c.qo)(t.children).sort(e),i=document.createDocumentFragment();n.forEach(function(a){i.appendChild(a)}),t.appendChild(i)}function CS(r,e){var t=r.parentNode,n=Array.from(t.childNodes).filter(function(s){return s.nodeType===1&&s.nodeName.toLowerCase()!=="defs"}),i=n[e],a=n.indexOf(r);if(i){if(a>e)t.insertBefore(r,i);else if(a0&&(n?"stroke"in i?this._setColor(t,"stroke",s):"strokeStyle"in i&&this._setColor(t,"stroke",l):this._setColor(t,"stroke",s||l),f&&v.setAttribute(Xe.strokeOpacity,f),h&&v.setAttribute(Xe.lineWidth,h))},e.prototype._setColor=function(t,n,i){var a=this.get("el");if(!i){a.setAttribute(Xe[n],"none");return}if(i=i.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(i)){var o=t.find("gradient",i);o||(o=t.addGradient(i)),a.setAttribute(Xe[n],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(i)){var o=t.find("pattern",i);o||(o=t.addPattern(i)),a.setAttribute(Xe[n],"url(#"+o+")")}else a.setAttribute(Xe[n],i)},e.prototype.shadow=function(t,n){var i=this.attr(),a=n||i,o=a.shadowOffsetX,s=a.shadowOffsetY,l=a.shadowBlur,u=a.shadowColor;(o||s||l||u)&&AS(this,t)},e.prototype.transform=function(t){var n=this.attr(),i=(t||n).matrix;i&&bo(this)},e.prototype.isInShape=function(t,n){return this.isPointInPath(t,n)},e.prototype.isPointInPath=function(t,n){var i=this.get("el"),a=this.get("canvas"),o=a.get("el").getBoundingClientRect(),s=t+o.left,l=n+o.top,u=document.elementFromPoint(s,l);return!!(u&&u.isEqualNode(i))},e.prototype.getHitLineWidth=function(){var t=this.attrs,n=t.lineWidth,i=t.lineAppendWidth;return this.isStroke()?n+i:0},e}(A.AbstractShape),nn=ES,FS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="circle",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,r:0})},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,c.S6)(n||i,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):Xe[s]&&a.setAttribute(Xe[s],o)})},e}(nn),IS=FS,kS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dom",t.canFill=!1,t.canStroke=!1,t}return e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");if((0,c.S6)(n||i,function(u,f){Xe[f]&&a.setAttribute(Xe[f],u)}),typeof i.html=="function"){var o=i.html.call(this,i);if(o instanceof Element||o instanceof HTMLDocument){for(var s=a.childNodes,l=s.length-1;l>=0;l--)a.removeChild(s[l]);a.appendChild(o)}else a.innerHTML=o}else a.innerHTML=i.html},e}(nn),LS=kS,PS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ellipse",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,c.S6)(n||i,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):Xe[s]&&a.setAttribute(Xe[s],o)})},e}(nn),DS=PS,OS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="image",t.canFill=!1,t.canStroke=!1,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el");(0,c.S6)(n||a,function(s,l){l==="img"?i._setImage(a.img):Xe[l]&&o.setAttribute(Xe[l],s)})},e.prototype.setAttr=function(t,n){this.attrs[t]=n,t==="img"&&this._setImage(n)},e.prototype._setImage=function(t){var n=this.attr(),i=this.get("el");if((0,c.HD)(t))i.setAttribute("href",t);else if(t instanceof window.Image)n.width||(i.setAttribute("width",t.width),this.attr("width",t.width)),n.height||(i.setAttribute("height",t.height),this.attr("height",t.height)),i.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,c.HD)(t.nodeName)&&t.nodeName.toUpperCase()==="CANVAS")i.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var a=document.createElement("canvas");a.setAttribute("width",""+t.width),a.setAttribute("height",""+t.height),a.getContext("2d").putImageData(t,0,0),n.width||(i.setAttribute("width",""+t.width),this.attr("width",t.width)),n.height||(i.setAttribute("height",""+t.height),this.attr("height",t.height)),i.setAttribute("href",a.toDataURL())}},e}(nn),_S=OS,BS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t.canFill=!1,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,c.S6)(n||i,function(o,s){if(s==="startArrow"||s==="endArrow")if(o){var l=(0,c.Kn)(o)?t.addArrow(i,Xe[s]):t.getDefaultArrow(i,Xe[s]);a.setAttribute(Xe[s],"url(#"+l+")")}else a.removeAttribute(Xe[s]);else Xe[s]&&a.setAttribute(Xe[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr(),n=t.x1,i=t.y1,a=t.x2,o=t.y2;return Er.x1.length(n,i,a,o)},e.prototype.getPoint=function(t){var n=this.attr(),i=n.x1,a=n.y1,o=n.x2,s=n.y2;return Er.x1.pointAt(i,a,o,s,t)},e}(nn),RS=BS,Gs={circle:function(r,e,t){return[["M",r,e],["m",-t,0],["a",t,t,0,1,0,t*2,0],["a",t,t,0,1,0,-t*2,0]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var n=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+n],["L",r,e-n],["L",r+t,e+n],["z"]]},triangleDown:function(r,e,t){var n=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-n],["L",r+t,e-n],["L",r,e+n],["Z"]]}},Dv={get:function(r){return Gs[r]},register:function(r,e){Gs[r]=e},remove:function(r){delete Gs[r]},getAll:function(){return Gs}},NS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="marker",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t){var n=this.get("el");n.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return(0,c.kJ)(t)?t.map(function(n){return n.join(" ")}).join(""):t},e.prototype._getPath=function(){var t=this.attr(),n=t.x,i=t.y,a=t.r||t.radius,o=t.symbol||"circle",s;return(0,c.mf)(o)?s=o:s=Dv.get(o),s?s(n,i,a):(console.warn(s+" symbol is not exist."),null)},e.symbolsFactory=Dv,e}(nn),zS=NS,US=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="path",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el");(0,c.S6)(n||a,function(s,l){if(l==="path"&&(0,c.kJ)(s))o.setAttribute("d",i._formatPath(s));else if(l==="startArrow"||l==="endArrow")if(s){var u=(0,c.Kn)(s)?t.addArrow(a,Xe[l]):t.getDefaultArrow(a,Xe[l]);o.setAttribute(Xe[l],"url(#"+u+")")}else o.removeAttribute(Xe[l]);else Xe[l]&&o.setAttribute(Xe[l],s)})},e.prototype._formatPath=function(t){var n=t.map(function(i){return i.join(" ")}).join("");return~n.indexOf("NaN")?"":n},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var n=this.get("el"),i=this.getTotalLength();if(i===0)return null;var a=n?n.getPointAtLength(t*i):null;return a?{x:a.x,y:a.y}:null},e}(nn),VS=US,GS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polygon",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,c.S6)(n||i,function(o,s){s==="points"&&(0,c.kJ)(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):Xe[s]&&a.setAttribute(Xe[s],o)})},e}(nn),HS=GS,YS=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polyline",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(t,n,i){r.prototype.onAttrChange.call(this,t,n,i),["points"].indexOf(t)!==-1&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,n){var i=this.attr(),a=this.get("el");(0,c.S6)(n||i,function(o,s){s==="points"&&(0,c.kJ)(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):Xe[s]&&a.setAttribute(Xe[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr().points,n=this.get("totalLength");return(0,c.UM)(n)?(this.set("totalLength",Er.aH.length(t)),this.get("totalLength")):n},e.prototype.getPoint=function(t){var n=this.attr().points,i=this.get("tCache");i||(this._setTcache(),i=this.get("tCache"));var a,o;return(0,c.S6)(i,function(s,l){t>=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),Er.x1.pointAt(n[o][0],n[o][1],n[o+1][0],n[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var n=this.getTotalLength();if(!(n<=0)){var i=0,a=[],o,s;(0,c.S6)(t,function(l,u){t[u+1]&&(o=[],o[0]=i/n,s=Er.x1.length(l[0],l[1],t[u+1][0],t[u+1][1]),i+=s,o[1]=i/n,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,n=[];return n.push([t[1][0],t[1][1]]),n.push([t[0][0],t[0][1]]),n},e.prototype.getEndTangent=function(){var t=this.attr().points,n=t.length-1,i=[];return i.push([t[n-1][0],t[n-1][1]]),i.push([t[n][0],t[n][1]]),i},e}(nn),XS=YS,WS=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,ZS=/[^\s,]+/gi;function jS(r){var e=0,t=0,n=0,i=0;return(0,c.kJ)(r)?r.length===1?e=t=n=i=r[0]:r.length===2?(e=n=r[0],t=i=r[1]):r.length===3?(e=r[0],t=i=r[1],n=r[2]):(e=r[0],t=r[1],n=r[2],i=r[3]):e=t=n=i=r,{r1:e,r2:t,r3:n,r4:i}}function lB(r){if(r=r||[],isArray(r))return r;if(isString(r))return r=r.match(WS),each(r,function(e,t){if(e=e.match(ZS),e[0].length>1){var n=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=n}each(e,function(i,a){isNaN(i)||(e[a]=+i)}),r[t]=e}),r}var $S=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rect",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el"),s=!1,l=["x","y","width","height","radius"];(0,c.S6)(n||a,function(u,f){l.indexOf(f)!==-1&&!s?(o.setAttribute("d",i._assembleRect(a)),s=!0):l.indexOf(f)===-1&&Xe[f]&&o.setAttribute(Xe[f],u)})},e.prototype._assembleRect=function(t){var n=t.x,i=t.y,a=t.width,o=t.height,s=t.radius;if(!s)return"M "+n+","+i+" l "+a+",0 l 0,"+o+" l"+-a+" 0 z";var l=jS(s);(0,c.kJ)(s)?s.length===1?l.r1=l.r2=l.r3=l.r4=s[0]:s.length===2?(l.r1=l.r3=s[0],l.r2=l.r4=s[1]):s.length===3?(l.r1=s[0],l.r2=l.r4=s[1],l.r3=s[2]):(l.r1=s[0],l.r2=s[1],l.r3=s[2],l.r4=s[3]):l.r1=l.r2=l.r3=l.r4=s;var u=[["M "+(n+l.r1)+","+i],["l "+(a-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(o-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-a)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-o)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]];return u.join(" ")},e}(nn),qS=$S,JS=Q(43631),Ov=.3,KS={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},QS={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},tM={left:"left",start:"left",center:"middle",right:"end",end:"end"},eM=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="text",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return(0,p.pi)((0,p.pi)({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,n){var i=this,a=this.attr(),o=this.get("el");this._setFont(),(0,c.S6)(n||a,function(s,l){l==="text"?i._setText(""+s):l==="matrix"&&s?bo(i):Xe[l]&&o.setAttribute(Xe[l],s)}),o.setAttribute("paint-order","stroke"),o.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),n=this.attr(),i=n.textBaseline,a=n.textAlign,o=(0,JS.qY)();o&&o.name==="firefox"?t.setAttribute("dominant-baseline",QS[i]||"alphabetic"):t.setAttribute("alignment-baseline",KS[i]||"baseline"),t.setAttribute("text-anchor",tM[a]||"left")},e.prototype._setText=function(t){var n=this.get("el"),i=this.attr(),a=i.x,o=i.textBaseline,s=o===void 0?"bottom":o;if(!t)n.innerHTML="";else if(~t.indexOf(` -`)){var l=t.split(` -`),u=l.length-1,f="";(0,c.S6)(l,function(h,v){v===0?s==="alphabetic"?f+=''+h+"":s==="top"?f+=''+h+"":s==="middle"?f+=''+h+"":s==="bottom"?f+=''+h+"":s==="hanging"&&(f+=''+h+""):f+=''+h+""}),n.innerHTML=f}else n.innerHTML=t},e}(nn),rM=eM,nM=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,iM=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,aM=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function _v(r){var e=r.match(aM);if(!e)return"";var t="";return e.sort(function(n,i){return n=n.split(":"),i=i.split(":"),Number(n[0])-Number(i[0])}),(0,c.S6)(e,function(n){n=n.split(":"),t+=''}),t}function oM(r,e){var t=nM.exec(r),n=(0,c.wQ)((0,c.c$)(parseFloat(t[1])),Math.PI*2),i=t[2],a,o;n>=0&&n<.5*Math.PI?(a={x:0,y:0},o={x:1,y:1}):.5*Math.PI<=n&&n`;t.innerHTML=n},r}(),vM=hM,pM=function(){function r(e,t){this.cfg={};var n=rn("marker"),i=(0,c.EL)("marker_");n.setAttribute("id",i);var a=rn("path");a.setAttribute("stroke",e.stroke||"none"),a.setAttribute("fill",e.fill||"none"),n.appendChild(a),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=a,this.id=i;var o=e[t==="marker-start"?"startArrow":"endArrow"];return this.stroke=e.stroke||"#000",o===!0?this._setDefaultPath(t,a):(this.cfg=o,this._setMarker(e.lineWidth,a)),this}return r.prototype.match=function(){return!1},r.prototype._setDefaultPath=function(e,t){var n=this.el;t.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY",""+5)},r.prototype._setMarker=function(e,t){var n=this.el,i=this.cfg.path,a=this.cfg.d;(0,c.kJ)(i)&&(i=i.map(function(o){return o.join(" ")}).join("")),t.setAttribute("d",i),n.appendChild(t),a&&n.setAttribute("refX",""+a/e)},r.prototype.update=function(e){var t=this.child;t.attr?t.attr("fill",e):t.setAttribute("fill",e)},r}(),Bv=pM,dM=function(){function r(e){this.type="clip",this.cfg={};var t=rn("clipPath");this.el=t,this.id=(0,c.EL)("clip_"),t.id=this.id;var n=e.cfg.el;return t.appendChild(n),this.cfg=e,this}return r.prototype.match=function(){return!1},r.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},r}(),gM=dM,yM=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,mM=function(){function r(e){this.cfg={};var t=rn("pattern");t.setAttribute("patternUnits","userSpaceOnUse");var n=rn("image");t.appendChild(n);var i=(0,c.EL)("pattern_");t.id=i,this.el=t,this.id=i,this.cfg=e;var a=yM.exec(e),o=a[2];n.setAttribute("href",o);var s=new Image;o.match(/^data:/i)||(s.crossOrigin="Anonymous"),s.src=o;function l(){t.setAttribute("width",""+s.width),t.setAttribute("height",""+s.height)}return s.complete?l():(s.onload=l,s.src=s.src),this}return r.prototype.match=function(e,t){return this.cfg===t},r}(),xM=mM,wM=function(){function r(e){var t=rn("defs"),n=(0,c.EL)("defs_");t.id=n,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}return r.prototype.find=function(e,t){for(var n=this.children,i=null,a=0;a0&&(d[0][0]="L")),a=a.concat(d)}),a.push(["Z"])}return a}function Hs(r,e,t,n,i){for(var a=sr(r,e,!e,"lineWidth"),o=r.connectNulls,s=r.isInCircle,l=r.points,u=r.showSinglePoint,f=Os(l,o,u),h=[],v=0,d=f.length;vo&&(o=l),l=n[0]}));var m=this.scales[g];try{for(var x=(0,p.XA)(t),M=x.next();!M.done;M=x.next()){var E=M.value,F=this.getDrawCfg(E),N=F.x,tt=F.y,st=m.scale(E[Bt][g]);this.drawGrayScaleBlurredCircle(N-u.x,tt-f.y,i+a,st,y)}}catch(Tt){o={error:Tt}}finally{try{M&&!M.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}var vt=y.getImageData(0,0,h,v);this.clearShadowCanvasCtx(),this.colorize(vt),y.putImageData(vt,0,0);var Dt=this.getImageShape();Dt.attr("x",u.x),Dt.attr("y",f.y),Dt.attr("width",h),Dt.attr("height",v),Dt.attr("img",y.canvas),Dt.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),n=this.coordinate;return Math.min(n.getWidth()/(t.scales[0].ticks.length*4),n.getHeight()/(t.scales[1].ticks.length*4))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,n,i,a,o){var s=this.getGrayScaleBlurredCanvas();o.globalAlpha=a,o.drawImage(s,t-i,n-i)},e.prototype.colorize=function(t){for(var n=this.getAttribute("color"),i=t.data,a=this.paletteCache,o=3;oe&&(t=t?e/(1+n/t):0,n=e-t),i+a>e&&(i=i?e/(1+a/i):0,a=e-i),[t||0,n||0,i||0,a||0]}function zv(r,e,t){var n=[];if(t.isRect){var i=t.isTransposed?{x:t.start.x,y:e[0].y}:{x:e[0].x,y:t.start.y},a=t.isTransposed?{x:t.end.x,y:e[2].y}:{x:e[3].x,y:t.end.y},o=(0,c.U2)(r,["background","style","radius"]);if(o){var s=t.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=t.isTransposed?t.getWidth():t.getHeight(),u=(0,p.CR)(Nv(o,Math.min(s,l)),4),f=u[0],h=u[1],v=u[2],d=u[3],g=t.isTransposed&&t.isReflect("y"),y=g?0:1,m=function(tt){return g?-tt:tt};n.push(["M",i.x,a.y+m(f)]),f!==0&&n.push(["A",f,f,0,0,y,i.x+f,a.y]),n.push(["L",a.x-h,a.y]),h!==0&&n.push(["A",h,h,0,0,y,a.x,a.y+m(h)]),n.push(["L",a.x,i.y-m(v)]),v!==0&&n.push(["A",v,v,0,0,y,a.x-v,i.y]),n.push(["L",i.x+d,i.y]),d!==0&&n.push(["A",d,d,0,0,y,i.x,i.y-m(d)])}else n.push(["M",i.x,i.y]),n.push(["L",a.x,i.y]),n.push(["L",a.x,a.y]),n.push(["L",i.x,a.y]),n.push(["L",i.x,i.y]);n.push(["z"])}if(t.isPolar){var x=t.getCenter(),M=co(r,t),E=M.startAngle,F=M.endAngle;if(t.type!=="theta"&&!t.isTransposed)n=ti(x.x,x.y,t.getRadius(),E,F);else{var N=function(vt){return Math.pow(vt,2)},f=Math.sqrt(N(x.x-e[0].x)+N(x.y-e[0].y)),h=Math.sqrt(N(x.x-e[2].x)+N(x.y-e[2].y));n=ti(x.x,x.y,f,t.startAngle,t.endAngle,h)}}return n}function DM(r,e,t){var n=t.getWidth(),i=t.getHeight(),a=t.type==="rect",o=[],s=(r[2].x-r[1].x)/2,l=t.isTransposed?s*i/n:s*n/i;return e==="round"?(a?(o.push(["M",r[0].x,r[0].y+l]),o.push(["L",r[1].x,r[1].y-l]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y-l]),o.push(["L",r[3].x,r[3].y+l]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y+l])):(o.push(["M",r[0].x,r[0].y]),o.push(["L",r[1].x,r[1].y]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y]),o.push(["L",r[3].x,r[3].y]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y])),o.push(["z"])):o=Vu(r),o}function Uv(r,e,t){var n=[];return(0,c.UM)(e)?t?n.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",(r[2].x+r[3].x)/2,(r[2].y+r[3].y)/2],["Z"]):n.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",r[2].x,r[2].y],["L",r[3].x,r[3].y],["Z"]):n.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),n}function Ao(r,e){return[e,r]}function OM(r,e,t){var n,i,a,o,s,l,u,f=(0,p.CR)((0,p.ev)([],(0,p.CR)(r),!1),4),h=f[0],v=f[1],d=f[2],g=f[3],y=(0,p.CR)(typeof t=="number"?Array(4).fill(t):t,4),m=y[0],x=y[1],M=y[2],E=y[3];e.isTransposed&&(n=(0,p.CR)(Ao(v,g),2),v=n[0],g=n[1]),e.isReflect("y")&&(i=(0,p.CR)(Ao(h,v),2),h=i[0],v=i[1],a=(0,p.CR)(Ao(d,g),2),d=a[0],g=a[1]),e.isReflect("x")&&(o=(0,p.CR)(Ao(h,g),2),h=o[0],g=o[1],s=(0,p.CR)(Ao(v,d),2),v=s[0],d=s[1]);var F=[],N=function(tt){return Math.abs(tt)};return l=(0,p.CR)(Nv([m,x,M,E],Math.min(N(g.x-h.x),N(v.y-h.y))).map(function(tt){return N(tt)}),4),m=l[0],x=l[1],M=l[2],E=l[3],e.isTransposed&&(u=(0,p.CR)([E,m,x,M],4),m=u[0],x=u[1],M=u[2],E=u[3]),h.yo&&(i=o)}return i}function BM(r,e){if(e){var t=(0,c.xH)(r),n=(0,c.I)(t,e);return n.length}return r.length}function Gu(r){var e=r.theme,t=r.coordinate,n=r.getXScale(),i=n.values,a=r.beforeMappingData,o=i.length,s=fo(r.coordinate),l=r.intervalPadding,u=r.dodgePadding,f=r.maxColumnWidth||e.maxColumnWidth,h=r.minColumnWidth||e.minColumnWidth,v=r.columnWidthRatio||e.columnWidthRatio,d=r.multiplePieWidthRatio||e.multiplePieWidthRatio,g=r.roseWidthRatio||e.roseWidthRatio;if(n.isLinear&&i.length>1){i.sort();var y=_M(i,n);o=(n.max-n.min)/y,i.length>o&&(o=i.length)}var m=n.range,x=1/o,M=1;if(t.isPolar?t.isTransposed&&o>1?M=d:M=g:(n.isLinear&&(x*=m[1]-m[0]),M=v),!(0,c.UM)(l)&&l>=0){var E=l/s;x=(1-(o-1)*E)/o}else x*=M;if(r.getAdjust("dodge")){var F=r.getAdjust("dodge"),N=F.dodgeBy,tt=BM(a,N);if(!(0,c.UM)(u)&&u>=0){var st=u/s;x=(x-st*(tt-1))/tt}else!(0,c.UM)(l)&&l>=0&&(x*=M),x=x/tt;x=x>=0?x:0}if(!(0,c.UM)(f)&&f>=0){var vt=f/s;x>vt&&(x=vt)}if(!(0,c.UM)(h)&&h>=0){var Dt=h/s;x0&&!(0,c.U2)(n,[i,"min"])&&t.change({min:0}),o<=0&&!(0,c.U2)(n,[i,"max"])&&t.change({max:0}))}},e.prototype.getDrawCfg=function(t){var n=r.prototype.getDrawCfg.call(this,t);return n.background=this.background,n},e}(ii),NM=RM,zM=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;n.type="line";var i=t.sortable,a=i===void 0?!1:i;return n.sortable=a,n}return e}(zu),UM=zM,Vv=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],VM=["cross","tick","plus","hyphen","line"];function Hu(r,e,t,n,i){var a,o,s=sr(e,i,!i,"r"),l=r.parsePoints(e.points),u=l[0];if(e.isStack)u=l[1];else if(l.length>1){var f=t.addGroup();try{for(var h=(0,p.XA)(l),v=h.next();!v.done;v=h.next()){var d=v.value;f.addShape({type:"marker",attrs:(0,p.pi)((0,p.pi)((0,p.pi)({},s),{symbol:Ii[n]||n}),d)})}}catch(g){a={error:g}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(a)throw a.error}}return f}return t.addShape({type:"marker",attrs:(0,p.pi)((0,p.pi)((0,p.pi)({},s),{symbol:Ii[n]||n}),u)})}var dB=ni("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(r){return Au(r)}});(0,c.S6)(Vv,function(r){We("point","hollow-".concat(r),{draw:function(e,t){return Hu(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ii[r]||r,style:{r:4.5,stroke:t,fill:null}}}})});var gB=null,GM=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="point",t.shapeType="point",t.generatePoints=!0,t}return e.prototype.getDrawCfg=function(t){var n=r.prototype.getDrawCfg.call(this,t);return(0,p.pi)((0,p.pi)({},n),{isStack:!!this.getAdjust("stack")})},e}(ii),HM=GM;function YM(r){for(var e=r[0],t=1,n=[["M",e.x,e.y]];t2?"weight":"normal",a;if(r.isInCircle){var o={x:0,y:1};return i==="normal"?a=KM(n[0],n[1],o):(t.fill=t.stroke,a=QM(n,o)),a=this.parsePath(a),e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:a})})}else{if(i==="normal")return n=this.parsePoints(n),a=rh((n[1].x+n[0].x)/2,n[0].y,Math.abs(n[1].x-n[0].x)/2,Math.PI,Math.PI*2),e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:a})});var s=Yu(n[1],n[3]),l=Yu(n[2],n[0]);return a=[["M",n[0].x,n[0].y],["L",n[1].x,n[1].y],s,["L",n[3].x,n[3].y],["L",n[2].x,n[2].y],l,["Z"]],a=this.parsePath(a),t.fill=t.stroke,e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:a})})}},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});function tb(r,e){var t=Yu(r,e),n=[["M",r.x,r.y]];return n.push(t),n}We("edge","smooth",{draw:function(r,e){var t=sr(r,!0,!1,"lineWidth"),n=r.points,i=this.parsePath(tb(n[0],n[1]));return e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:i})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});var Ys=1/3;function eb(r,e){var t=[];t.push({x:r.x,y:r.y*(1-Ys)+e.y*Ys}),t.push({x:e.x,y:r.y*(1-Ys)+e.y*Ys}),t.push(e);var n=[["M",r.x,r.y]];return(0,c.S6)(t,function(i){n.push(["L",i.x,i.y])}),n}We("edge","vhv",{draw:function(r,e){var t=sr(r,!0,!1,"lineWidth"),n=r.points,i=this.parsePath(eb(n[0],n[1]));return e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:i})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}}),We("interval","funnel",{getPoints:function(r){return r.size=r.size*2,Uu(r)},draw:function(r,e){var t=sr(r,!1,!0),n=this.parsePath(Uv(r.points,r.nextPoints,!1)),i=e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n}),name:"interval"});return i},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}}),We("interval","hollow-rect",{draw:function(r,e){var t=sr(r,!0,!1),n=e,i=r==null?void 0:r.background;if(i){n=e.addGroup();var a=sv(r),o=zv(r,this.parsePoints(r.points),this.coordinate);n.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},a),{path:o}),zIndex:-1,name:xu})}var s=this.parsePath(Vu(r.points)),l=n.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:s}),name:"interval"});return i?n:l},getMarker:function(r){var e=r.color,t=r.isInPolar;return t?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}});function rb(r){var e=r.x,t=r.y,n=r.y0;return(0,c.kJ)(t)?t.map(function(i,a){return{x:(0,c.kJ)(e)?e[a]:e,y:i}}):[{x:e,y:n},{x:e,y:t}]}We("interval","line",{getPoints:function(r){return rb(r)},draw:function(r,e){var t=sr(r,!0,!1,"lineWidth"),n=Dr((0,p.pi)({},t),["fill"]),i=this.parsePath(Vu(r.points,!1)),a=e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},n),{path:i}),name:"interval"});return a},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){return[["M",t,n-i],["L",t,n+i]]},style:{r:5,stroke:e}}}}),We("interval","pyramid",{getPoints:function(r){return r.size=r.size*2,Uu(r)},draw:function(r,e){var t=sr(r,!1,!0),n=this.parsePath(Uv(r.points,r.nextPoints,!0)),i=e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n}),name:"interval"});return i},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});function nb(r){var e,t=r.x,n=r.y,i=r.y0,a=r.size,o,s;(0,c.kJ)(n)?(e=(0,p.CR)(n,2),o=e[0],s=e[1]):(o=i,s=n);var l=t+a/2,u=t-a/2;return[{x:t,y:o},{x:t,y:s},{x:u,y:o},{x:l,y:o},{x:u,y:s},{x:l,y:s}]}function ib(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y]]}We("interval","tick",{getPoints:function(r){return nb(r)},draw:function(r,e){var t=sr(r,!0,!1),n=this.parsePath(ib(r.points)),i=e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n}),name:"interval"});return i},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){return[["M",t-i/2,n-i],["L",t+i/2,n-i],["M",t,n-i],["L",t,n+i],["M",t-i/2,n+i],["L",t+i/2,n+i]]},style:{r:5,stroke:e}}}});var ab=function(r,e,t){var n=r.x,i=r.y,a=e.x,o=e.y,s;switch(t){case"hv":s=[{x:a,y:i}];break;case"vh":s=[{x:n,y:o}];break;case"hvh":var l=(a+n)/2;s=[{x:l,y:i},{x:l,y:o}];break;case"vhv":var u=(i+o)/2;s=[{x:n,y:u},{x:a,y:u}];break;default:break}return s};function ob(r,e){var t=[];return(0,c.S6)(r,function(n,i){var a=r[i+1];if(t.push(n),a){var o=ab(n,a,e);t=t.concat(o)}}),t}function sb(r){return r.map(function(e,t){return t===0?["M",e.x,e.y]:["L",e.x,e.y]})}function lb(r,e){var t=Os(r.points,r.connectNulls,r.showSinglePoint),n=[];return(0,c.S6)(t,function(i){var a=ob(i,e);n=n.concat(sb(a))}),(0,p.pi)((0,p.pi)({},sr(r,!0,!1,"lineWidth")),{path:n})}(0,c.S6)(["hv","vh","hvh","vhv"],function(r){We("line",r,{draw:function(e,t){var n=lb(e,r),i=t.addShape({type:"path",attrs:n,name:"line"});return i},getMarker:function(e){return lv(e,r)}})}),(0,c.S6)(VM,function(r){We("point",r,{draw:function(e,t){return Hu(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ii[r],style:{r:4.5,stroke:t,fill:null}}}})}),We("point","image",{draw:function(r,e){var t,n,i=sr(r,!1,!1,"r").r,a=this.parsePoints(r.points),o=a[0];if(r.isStack)o=a[1];else if(a.length>1){var s=e.addGroup();try{for(var l=(0,p.XA)(a),u=l.next();!u.done;u=l.next()){var f=u.value;s.addShape("image",{attrs:{x:f.x-i/2,y:f.y-i,width:i,height:i,img:r.shape[1]}})}}catch(h){t={error:h}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return s}return e.addShape("image",{attrs:{x:o.x-i/2,y:o.y-i,width:i,height:i,img:r.shape[1]}})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4.5,fill:e}}}}),(0,c.S6)(Vv,function(r){We("point",r,{draw:function(e,t){return Hu(this,e,t,r,!1)},getMarker:function(e){var t=e.color;return{symbol:Ii[r]||r,style:{r:4.5,fill:t}}}})});function Gv(r){var e=(0,c.kJ)(r)?r:[r],t=e[0],n=e[e.length-1],i=e.length>1?e[1]:t,a=e.length>3?e[3]:n,o=e.length>2?e[2]:i;return{min:t,max:n,min1:i,max1:a,median:o}}function Hv(r,e,t){var n=t/2,i;if((0,c.kJ)(e)){var a=Gv(e),o=a.min,s=a.max,l=a.median,u=a.min1,f=a.max1,h=r-n,v=r+n;i=[[h,s],[v,s],[r,s],[r,f],[h,u],[h,f],[v,f],[v,u],[r,u],[r,o],[h,o],[v,o],[h,l],[v,l]]}else{e=(0,c.UM)(e)?.5:e;var d=Gv(r),o=d.min,s=d.max,l=d.median,u=d.min1,f=d.max1,g=e-n,y=e+n;i=[[o,g],[o,y],[o,e],[u,e],[u,g],[u,y],[f,y],[f,g],[f,e],[s,e],[s,g],[s,y],[l,g],[l,y]]}return i.map(function(m){return{x:m[0],y:m[1]}})}function ub(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x,r[10].y],["L",r[11].x,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]}We("schema","box",{getPoints:function(r){var e=r.x,t=r.y,n=r.size;return Hv(e,t,n)},draw:function(r,e){var t=sr(r,!0,!1),n=this.parsePath(ub(r.points)),i=e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n,name:"schema"})});return i},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){var a=[n-6,n-3,n,n+3,n+6],o=Hv(t,a,i);return[["M",o[0].x+1,o[0].y],["L",o[1].x-1,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["M",o[4].x,o[4].y],["L",o[5].x,o[5].y],["L",o[6].x,o[6].y],["L",o[7].x,o[7].y],["L",o[4].x,o[4].y],["Z"],["M",o[8].x,o[8].y],["L",o[9].x,o[9].y],["M",o[10].x+1,o[10].y],["L",o[11].x-1,o[11].y],["M",o[12].x,o[12].y],["L",o[13].x,o[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}});function cb(r){var e=(0,c.kJ)(r)?r:[r],t=e.sort(function(n,i){return i-n});return Ux(t,4,t[t.length-1])}function Yv(r,e,t){var n=cb(e);return[{x:r,y:n[0]},{x:r,y:n[1]},{x:r-t/2,y:n[2]},{x:r-t/2,y:n[1]},{x:r+t/2,y:n[1]},{x:r+t/2,y:n[2]},{x:r,y:n[2]},{x:r,y:n[3]}]}function fb(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]}We("schema","candle",{getPoints:function(r){var e=r.x,t=r.y,n=r.size;return Yv(e,t,n)},draw:function(r,e){var t=sr(r,!0,!0),n=this.parsePath(fb(r.points)),i=e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n,name:"schema"})});return i},getMarker:function(r){var e=r.color;return{symbol:function(t,n,i){var a=[n+7.5,n+3,n-3,n-7.5],o=Yv(t,a,i);return[["M",o[0].x,o[0].y],["L",o[1].x,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["L",o[4].x,o[4].y],["L",o[5].x,o[5].y],["Z"],["M",o[6].x,o[6].y],["L",o[7].x,o[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}});function hb(r,e){var t=Math.abs(r[0].x-r[2].x),n=Math.abs(r[0].y-r[2].y),i=Math.min(t,n);e&&(i=(0,c.uZ)(e,0,Math.min(t,n))),i=i/2;var a=(r[0].x+r[2].x)/2,o=(r[0].y+r[2].y)/2;return{x:a-i,y:o-i,width:i*2,height:i*2}}We("polygon","square",{draw:function(r,e){if(!(0,c.xb)(r.points)){var t=sr(r,!0,!0),n=this.parsePoints(r.points);return e.addShape("rect",{attrs:(0,p.pi)((0,p.pi)({},t),hb(n,r.size)),name:"polygon"})}},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}}),We("violin","smooth",{draw:function(r,e){var t=sr(r,!0,!0),n=this.parsePath(ov(r.points));return e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{stroke:null,r:4,fill:e}}}}),We("violin","hollow",{draw:function(r,e){var t=sr(r,!0,!1),n=this.parsePath(av(r.points));return e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}}),We("violin","hollow-smooth",{draw:function(r,e){var t=sr(r,!0,!1),n=this.parsePath(ov(r.points));return e.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},t),{path:n})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});var vb=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelValueDir=function(t){var n="y",i=t.points;return i[0][n]<=i[2][n]?1:-1},e.prototype.getLabelOffsetPoint=function(t,n,i,a){var o,s=r.prototype.getLabelOffsetPoint.call(this,t,n,i),l=this.getCoordinate(),u=l.isTransposed,f=u?"x":"y",h=this.getLabelValueDir(t.mappingData);return s=(0,p.pi)((0,p.pi)({},s),(o={},o[f]=s[f]*h,o)),l.isReflect("x")&&(s=(0,p.pi)((0,p.pi)({},s),{x:s.x*-1})),l.isReflect("y")&&(s=(0,p.pi)((0,p.pi)({},s),{y:s.y*-1})),s},e.prototype.getThemedLabelCfg=function(t){var n=this.geometry,i=this.getDefaultLabelCfg(),a=n.theme;return(0,c.b$)({},i,a.labels,t.position==="middle"?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,n,i,a){var o=this.getCoordinate(),s=o.isTransposed,l=n.points,u=o.convert(l[0]),f=o.convert(l[2]),h=this.getLabelValueDir(n),v,d,g,y,m=(0,c.kJ)(n.shape)?n.shape[0]:n.shape;if(m==="funnel"||m==="pyramid"){var x=(0,c.U2)(n,"nextPoints"),M=(0,c.U2)(n,"points");if(x){var E=o.convert(M[0]),F=o.convert(M[1]),N=o.convert(x[0]),tt=o.convert(x[1]);s?(v=Math.min(N.y,E.y),g=Math.max(N.y,E.y),d=(F.x+tt.x)/2,y=(E.x+N.x)/2):(v=Math.min((F.y+tt.y)/2,(E.y+N.y)/2),g=Math.max((F.y+tt.y)/2,(E.y+N.y)/2),d=tt.x,y=E.x)}else v=Math.min(f.y,u.y),g=Math.max(f.y,u.y),d=f.x,y=u.x}else v=Math.min(f.y,u.y),g=Math.max(f.y,u.y),d=f.x,y=u.x;switch(a){case"right":t.x=d,t.y=(v+g)/2,t.textAlign=(0,c.U2)(t,"textAlign",h>0?"left":"right");break;case"left":t.x=y,t.y=(v+g)/2,t.textAlign=(0,c.U2)(t,"textAlign",h>0?"left":"right");break;case"bottom":s&&(t.x=(d+y)/2),t.y=g,t.textAlign=(0,c.U2)(t,"textAlign","center"),t.textBaseline=(0,c.U2)(t,"textBaseline",h>0?"bottom":"top");break;case"middle":s&&(t.x=(d+y)/2),t.y=(v+g)/2,t.textAlign=(0,c.U2)(t,"textAlign","center"),t.textBaseline=(0,c.U2)(t,"textBaseline","middle");break;case"top":s&&(t.x=(d+y)/2),t.y=v,t.textAlign=(0,c.U2)(t,"textAlign","center"),t.textBaseline=(0,c.U2)(t,"textBaseline",h>0?"bottom":"top");break;default:break}},e}(Ds),pb=vb,Xs=Math.PI/2,db=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelOffset=function(t){var n=this.getCoordinate(),i=0;if((0,c.hj)(t))i=t;else if((0,c.HD)(t)&&t.indexOf("%")!==-1){var a=n.getRadius();n.innerRadius>0&&(a=a*(1-n.innerRadius)),i=parseFloat(t)*.01*a}return i},e.prototype.getLabelItems=function(t){var n=r.prototype.getLabelItems.call(this,t),i=this.geometry.getYScale();return(0,c.UI)(n,function(a){if(a&&i){var o=i.scale((0,c.U2)(a.data,i.field));return(0,p.pi)((0,p.pi)({},a),{percent:o})}return a})},e.prototype.getLabelAlign=function(t){var n=this.getCoordinate(),i;if(t.labelEmit)i=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(!n.isTransposed)i="center";else{var a=n.getCenter(),o=t.offset;Math.abs(t.x-a.x)<1?i="center":t.angle>Math.PI||t.angle<=0?i=o>0?"left":"right":i=o>0?"right":"left"}return i},e.prototype.getLabelPoint=function(t,n,i){var a=1,o,s=t.content[i];this.isToMiddle(n)?o=this.getMiddlePoint(n.points):(t.content.length===1&&i===0?i=1:i===0&&(a=-1),o=this.getArcPoint(n,i));var l=t.offset*a,u=this.getPointAngle(o),f=t.labelEmit,h=this.getCirclePoint(u,l,o,f);return h.r===0?h.content="":(h.content=s,h.angle=u,h.color=n.color),h.rotate=t.autoRotate?this.getLabelRotate(u,l,f):t.rotate,h.start={x:o.x,y:o.y},h},e.prototype.getArcPoint=function(t,n){return n===void 0&&(n=0),!(0,c.kJ)(t.x)&&!(0,c.kJ)(t.y)?{x:t.x,y:t.y}:{x:(0,c.kJ)(t.x)?t.x[n]:t.x,y:(0,c.kJ)(t.y)?t.y[n]:t.y}},e.prototype.getPointAngle=function(t){return fa(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,n,i,a){var o=this.getCoordinate(),s=o.getCenter(),l=ws(o,i);if(l===0)return(0,p.pi)((0,p.pi)({},s),{r:l});var u=t;if(o.isTransposed&&l>n&&!a){var f=Math.asin(n/(2*l));u=t+f*2}else l=l+n;return{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,n,i){var a=t+Xs;return i&&(a-=Xs),a&&(a>Xs?a=a-Math.PI:a<-Xs&&(a=a+Math.PI)),a},e.prototype.getMiddlePoint=function(t){var n=this.getCoordinate(),i=t.length,a={x:0,y:0};return(0,c.S6)(t,function(o){a.x+=o.x,a.y+=o.y}),a.x/=i,a.y/=i,a=n.convert(a),a},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(Ds),Xv=db,gb=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.defaultLayout="distribute",t}return e.prototype.getDefaultLabelCfg=function(t,n){var i=r.prototype.getDefaultLabelCfg.call(this,t,n);return(0,c.b$)({},i,(0,c.U2)(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(t){return r.prototype.getLabelOffset.call(this,t)||0},e.prototype.getLabelRotate=function(t,n,i){var a;return n<0&&(a=t,a>Math.PI/2&&(a=a-Math.PI),a<-Math.PI/2&&(a=a+Math.PI)),a},e.prototype.getLabelAlign=function(t){var n=this.getCoordinate(),i=n.getCenter(),a;return t.angle<=Math.PI/2&&t.x>=i.x?a="left":a="right",t.offset<=0&&(a==="right"?a="left":a="right"),a},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var n=this.getCoordinate(),i={x:(0,c.kJ)(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:(0,c.kJ)(t.x)?t.x[1]:t.x,y:t.y[1]},o,s=fa(n,i);if(t.points&&t.points[0].y===t.points[1].y)o=s;else{var l=fa(n,a);s>=l&&(l=l+Math.PI*2),o=s+(l-s)/2}return o},e.prototype.getCirclePoint=function(t,n){var i=this.getCoordinate(),a=i.getCenter(),o=i.getRadius()+n;return(0,p.pi)((0,p.pi)({},lr(a.x,a.y,o,t)),{angle:t,r:o})},e}(Xv),yb=gb,Wv=4;function mb(r,e,t,n,i,a){var o,s,l=!0,u=n.start,f=n.end,h=Math.min(u.y,f.y),v=Math.abs(u.y-f.y),d,g=0,y=Number.MIN_VALUE,m=e.map(function(st){return st.y>g&&(g=st.y),st.yv&&(v=g-h);l;)for(m.forEach(function(st){var vt=(Math.min.apply(y,st.targets)+Math.max.apply(y,st.targets))/2;st.pos=Math.min(Math.max(y,vt-st.size/2),v-st.size)}),l=!1,d=m.length;d--;)if(d>0){var x=m[d-1],M=m[d];x.pos+x.size>M.pos&&(x.size+=M.size,x.targets=x.targets.concat(M.targets),x.pos+x.size>v&&(x.pos=v-x.size),m.splice(d,1),l=!0)}d=0,m.forEach(function(st){var vt=h+t/2;st.targets.forEach(function(){e[d].y=st.pos+vt,vt+=t,d++})});var E={};try{for(var F=(0,p.XA)(r),N=F.next();!N.done;N=F.next()){var tt=N.value;E[tt.get("id")]=tt}}catch(st){o={error:st}}finally{try{N&&!N.done&&(s=F.return)&&s.call(F)}finally{if(o)throw o.error}}e.forEach(function(st){var vt=st.r*st.r,Dt=Math.pow(Math.abs(st.y-i.y),2);if(vt0){var l=14,u=o+i,f=u*2+l*2,h={start:a.start,end:a.end},v=[[],[]];r.forEach(function(d){!d||(d.textAlign==="right"?v[0].push(d):v[1].push(d))}),v.forEach(function(d,g){var y=f/l;d.length>y&&(d.sort(function(m,x){return x["..percent"]-m["..percent"]}),d.splice(y,d.length-y)),d.sort(function(m,x){return m.y-x.y}),mb(e,d,l,h,s,g)})}(0,c.S6)(r,function(d){if(d&&d.labelLine){var g=d.offset,y=d.angle,m=lr(s.x,s.y,o,y),x=lr(s.x,s.y,o+g/2,y),M=d.x+(0,c.U2)(d,"offsetX",0),E=d.y+(0,c.U2)(d,"offsetY",0),F={x:M-Math.cos(y)*Wv,y:E-Math.sin(y)*Wv};(0,c.Kn)(d.labelLine)||(d.labelLine={}),d.labelLine.path=["M ".concat(m.x),"".concat(m.y," Q").concat(x.x),"".concat(x.y," ").concat(F.x),F.y].join(",")}})}}function Zv(r,e,t){var n=r.filter(function(g){return!g.invisible});n.sort(function(g,y){return g.y-y.y});var i=!0,a=t.minY,o=t.maxY,s=Math.abs(a-o),l,u=0,f=Number.MIN_VALUE,h=n.map(function(g){return g.y>u&&(u=g.y),g.ys&&(s=u-a);i;)for(h.forEach(function(g){var y=(Math.min.apply(f,g.targets)+Math.max.apply(f,g.targets))/2;g.pos=Math.min(Math.max(f,y-g.size/2),s-g.size),g.pos=Math.max(0,g.pos)}),i=!1,l=h.length;l--;)if(l>0){var v=h[l-1],d=h[l];v.pos+v.size>d.pos&&(v.size+=d.size,v.targets=v.targets.concat(d.targets),v.pos+v.size>s&&(v.pos=s-v.size),h.splice(l,1),i=!0)}l=0,h.forEach(function(g){var y=a+e/2;g.targets.forEach(function(){n[l].y=g.pos+y,y+=e,l++})})}var jv=4;function wb(r,e){var t=e.getCenter(),n=e.getRadius();if(r&&r.labelLine){var i=r.angle,a=r.offset,o=lr(t.x,t.y,n,i),s=r.x+(0,c.U2)(r,"offsetX",0)*(Math.cos(i)>0?1:-1),l=r.y+(0,c.U2)(r,"offsetY",0)*(Math.sin(i)>0?1:-1),u={x:s-Math.cos(i)*jv,y:l-Math.sin(i)*jv},f=r.labelLine.smooth,h=[],v=u.x-t.x,d=u.y-t.y,g=Math.atan(d/v);if(v<0&&(g+=Math.PI),f===!1){(0,c.Kn)(r.labelLine)||(r.labelLine={});var y=0;(i<0&&i>-Math.PI/2||i>Math.PI*1.5)&&u.y>o.y&&(y=1),i>=0&&io.y&&(y=1),i>=Math.PI/2&&iu.y&&(y=1),(i<-Math.PI/2||i>=Math.PI&&iu.y&&(y=1);var m=a/2>4?4:Math.max(a/2-1,0),x=lr(t.x,t.y,n+m,i),M=lr(t.x,t.y,n+a/2,g),E=0;h.push("M ".concat(o.x," ").concat(o.y)),h.push("L ".concat(x.x," ").concat(x.y)),h.push("A ".concat(t.x," ").concat(t.y," 0 ").concat(E," ").concat(y," ").concat(M.x," ").concat(M.y)),h.push("L ".concat(u.x," ").concat(u.y))}else{var x=lr(t.x,t.y,n+(a/2>4?4:Math.max(a/2-1,0)),i),F=o.xMath.pow(Math.E,-16)&&h.push.apply(h,["C",u.x+F*4,u.y,2*x.x-o.x,2*x.y-o.y,o.x,o.y]),h.push("L ".concat(o.x," ").concat(o.y))}r.labelLine.path=h.join(" ")}}function Sb(r,e,t,n){var i,a,o=(0,c.hX)(r,function(vt){return!(0,c.UM)(vt)}),s=e[0]&&e[0].get("coordinate");if(!!s){var l=s.getCenter(),u=s.getRadius(),f={};try{for(var h=(0,p.XA)(e),v=h.next();!v.done;v=h.next()){var d=v.value;f[d.get("id")]=d}}catch(vt){i={error:vt}}finally{try{v&&!v.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}var g=(0,c.U2)(o[0],"labelHeight",14),y=(0,c.U2)(o[0],"offset",0);if(!(y<=0)){var m="left",x="right",M=(0,c.vM)(o,function(vt){return vt.xTt&&(vt.sort(function(Xt,se){return se.percent-Xt.percent}),(0,c.S6)(vt,function(Xt,se){se+1>Tt&&(f[Xt.id].set("visible",!1),Xt.invisible=!0)})),Zv(vt,g,st)}),(0,c.S6)(M,function(vt,Dt){(0,c.S6)(vt,function(Tt){var Xt=Dt===x,se=f[Tt.id],be=se.getChildByIndex(0);if(be){var Ce=u+y,Ue=Tt.y-l.y,Kt=Math.pow(Ce,2),fe=Math.pow(Ue,2),me=Kt-fe>0?Kt-fe:0,he=Math.sqrt(me),xe=Math.abs(Math.cos(Tt.angle)*Ce);Xt?Tt.x=l.x+Math.max(he,xe):Tt.x=l.x-Math.max(he,xe)}be&&(be.attr("y",Tt.y),be.attr("x",Tt.x)),wb(Tt,s)})})}}}var Wu=4,Mb=4,$v=4;function bb(r,e,t){var n=e.getCenter(),i=e.getRadius(),a={x:r.x-(t?$v:-$v),y:r.y},o=lr(n.x,n.y,i+Wu,r.angle),s={x:a.x,y:a.y},l={x:o.x,y:o.y},u=lr(n.x,n.y,i,r.angle),f="";if(a.y!==o.y){var h=t?4:-4;s.y=a.y,r.angle<0&&r.angle>=-Math.PI/2&&(s.x=Math.max(o.x,a.x-h),a.y0&&r.angleo.y?l.y=s.y:(l.y=o.y,l.x=Math.max(l.x,s.x-h))),r.angle>Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.y>o.y?l.y=s.y:(l.y=o.y,l.x=Math.min(l.x,s.x-h))),r.angle<-Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.ys.x||vt.x===s.x&&vt.y>s.y,Xt=(0,c.UM)(vt.offsetX)?Mb:vt.offsetX,se=lr(s.x,s.y,l+Wu,vt.angle),be=g+Xt;vt.x=s.x+(Tt?1:-1)*(l+be),vt.y=se.y}}});var y=o.start,m=o.end,x="left",M="right",E=(0,c.vM)(r,function(vt){return vt.xF&&(F=Math.min(Dt,Math.abs(y.y-m.y)))});var N={minX:y.x,maxX:m.x,minY:s.y-F/2,maxY:s.y+F/2};(0,c.S6)(E,function(vt,Dt){var Tt=F/d;vt.length>Tt&&(vt.sort(function(Xt,se){return se.percent-Xt.percent}),(0,c.S6)(vt,function(Xt,se){se>Tt&&(u[Xt.id].set("visible",!1),Xt.invisible=!0)})),Zv(vt,d,N)});var tt=N.minY,st=N.maxY;(0,c.S6)(E,function(vt,Dt){var Tt=Dt===M;(0,c.S6)(vt,function(Xt){var se=(0,c.U2)(u,Xt&&[Xt.id]);if(!!se){if(Xt.yst){se.set("visible",!1);return}var be=se.getChildByIndex(0),Ce=be.getCanvasBBox(),Ue={x:Tt?Ce.x:Ce.maxX,y:Ce.y+Ce.height/2};wo(be,Xt.x-Ue.x,Xt.y-Ue.y),Xt.labelLine&&bb(Xt,o,Tt)}})})}}function Ab(r,e,t,n){(0,c.S6)(e,function(i){var a=n.minX,o=n.minY,s=n.maxX,l=n.maxY,u=i.getCanvasBBox(),f=u.minX,h=u.minY,v=u.maxX,d=u.maxY,g=u.x,y=u.y,m=u.width,x=u.height,M=g,E=y;(fs?M=s-m:v>s&&(M=M-(v-s)),h>l?E=l-x:d>l&&(E=E-(d-l)),(M!==g||E!==y)&&wo(i,M-g,E-y)})}function Tb(r,e,t,n){(0,c.S6)(e,function(i,a){var o=i.getCanvasBBox(),s=t[a].getBBox();(o.minXs.maxX||o.maxY>s.maxY)&&i.remove(!0)})}var Eb=100,qv=function(){function r(e){e===void 0&&(e={}),this.bitmap={};var t=e.xGap,n=t===void 0?1:t,i=e.yGap,a=i===void 0?8:i;this.xGap=n,this.yGap=a}return r.prototype.hasGap=function(e){for(var t=!0,n=this.bitmap,i=Math.round(e.minX),a=Math.round(e.maxX),o=Math.round(e.minY),s=Math.round(e.maxY),l=i;l<=a;l+=1){if(!n[l]){n[l]={};continue}if(l===i||l===a){for(var u=o;u<=s;u++)if(n[l][u]){t=!1;break}}else if(n[l][o]||n[l][s]){t=!1;break}}return t},r.prototype.fillGap=function(e){for(var t=this.bitmap,n=Math.round(e.minX),i=Math.round(e.maxX),a=Math.round(e.minY),o=Math.round(e.maxY),s=n;s<=i;s+=1)t[s]||(t[s]={});for(var s=n;s<=i;s+=this.xGap){for(var l=a;l<=o;l+=this.yGap)t[s][l]=!0;t[s][o]=!0}if(this.yGap!==1)for(var s=a;s<=o;s+=1)t[n][s]=!0,t[i][s]=!0;if(this.xGap!==1)for(var s=n;s<=i;s+=1)t[s][a]=!0,t[s][o]=!0},r.prototype.destroy=function(){this.bitmap={}},r}();function Fb(r,e,t){t===void 0&&(t=Eb);var n=-1,i=r.attr(),a=i.x,o=i.y,s=r.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u,f=-n,h=0,v=0,d=function(x){var M=x*.1;return[M*Math.cos(M),M*Math.sin(M)]};if(e.hasGap(s))return e.fillGap(s),!0;for(var g=!1,y=0,m={};Math.min(Math.abs(h),Math.abs(v))4)return[];var e=function(i,a){return[a.x-i.x,a.y-i.y]},t=e(r[0],r[1]),n=e(r[1],r[2]);return[t,n]}function Ws(r,e,t){e===void 0&&(e=0),t===void 0&&(t={x:0,y:0});var n=r.x,i=r.y;return{x:(n-t.x)*Math.cos(-e)+(i-t.y)*Math.sin(-e)+t.x,y:(t.x-n)*Math.sin(-e)+(i-t.y)*Math.cos(-e)+t.y}}function Kv(r){var e=[{x:r.x,y:r.y},{x:r.x+r.width,y:r.y},{x:r.x+r.width,y:r.y+r.height},{x:r.x,y:r.y+r.height}],t=r.rotation;return t?[Ws(e[0],t,e[0]),Ws(e[1],t,e[0]),Ws(e[2],t,e[0]),Ws(e[3],t,e[0])]:e}function Qv(r,e){if(r.length>4)return{min:0,max:0};var t=[];return r.forEach(function(n){t.push(Pb([n.x,n.y],e))}),{min:Math.min.apply(Math,(0,p.ev)([],(0,p.CR)(t),!1)),max:Math.max.apply(Math,(0,p.ev)([],(0,p.CR)(t),!1))}}function Db(r,e){return r.max>e.min&&r.minr.x+r.width+t||e.x+e.widthr.y+r.height+t||e.y+e.height4)return[];var F=function(st,vt){return[vt.x-st.x,vt.y-st.y]},N=F(E[0],E[1]),tt=F(E[1],E[2]);return[N,tt]}function h(E,F,N){F===void 0&&(F=0),N===void 0&&(N={x:0,y:0});var tt=E.x,st=E.y;return{x:(tt-N.x)*Math.cos(-F)+(st-N.y)*Math.sin(-F)+N.x,y:(N.x-tt)*Math.sin(-F)+(st-N.y)*Math.cos(-F)+N.y}}function v(E){var F=[{x:E.x,y:E.y},{x:E.x+E.width,y:E.y},{x:E.x+E.width,y:E.y+E.height},{x:E.x,y:E.y+E.height}],N=E.rotation;return N?[h(F[0],N,F[0]),h(F[1],N,F[0]),h(F[2],N,F[0]),h(F[3],N,F[0])]:F}function d(E,F){if(E.length>4)return{min:0,max:0};var N=[];return E.forEach(function(tt){N.push(u([tt.x,tt.y],F))}),{min:Math.min.apply(null,N),max:Math.max.apply(null,N)}}function g(E,F){return E.max>F.min&&E.minE.x+E.width+N||F.x+F.widthE.y+E.height+N||F.y+F.height=a.height:o.width>=a.width}function Xb(r,e,t){var n=!!r.getAdjust("stack");return n||e.every(function(i,a){var o=t[a];return Yb(r,i,o)})}function Wb(r,e,t){var n=r.coordinate,i=Tr.fromObject(t.getBBox()),a=ai(e);n.isTransposed?a.attr({x:i.minX+i.width/2,textAlign:"center"}):a.attr({y:i.minY+i.height/2,textBaseline:"middle"})}function Zb(r,e,t){var n;if(t.length!==0){var i=(n=t[0])===null||n===void 0?void 0:n.get("element"),a=i==null?void 0:i.geometry;if(!(!a||a.type!=="interval")){var o=Xb(a,e,t);o&&t.forEach(function(s,l){var u=e[l];Wb(a,u,s)})}}}function jb(r){var e=500,t=[],n=Math.max(Math.floor(r.length/e),1);return(0,c.S6)(r,function(i,a){a%n===0?t.push(i):i.set("visible",!1)}),t}function $b(r,e,t){var n;if(t.length!==0){var i=(n=t[0])===null||n===void 0?void 0:n.get("element"),a=i==null?void 0:i.geometry;if(!(!a||a.type!=="interval")){var o=jb(e),s=(0,p.CR)(a.getXYFields(),1),l=s[0],u=[],f=[],h=(0,c.vM)(o,function(m){return m.get("data")[l]}),v=(0,c.jj)((0,c.UI)(o,function(m){return m.get("data")[l]})),d;o.forEach(function(m){m.set("visible",!0)});var g=function(m){m&&(m.length&&f.push(m.pop()),f.push.apply(f,(0,p.ev)([],(0,p.CR)(m),!1)))};for((0,c.dp)(v)>0&&(d=v.shift(),g(h[d])),(0,c.dp)(v)>0&&(d=v.pop(),g(h[d])),(0,c.S6)(v.reverse(),function(m){g(h[m])});f.length>0;){var y=f.shift();y.get("visible")&&(pw(y,u)?y.set("visible",!1):u.push(y))}}}}function qb(r,e){var t=r.getXYFields()[1],n=[],i=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return i.length>0&&n.push(i.shift()),i.length>0&&n.push(i.pop()),n.push.apply(n,(0,p.ev)([],(0,p.CR)(i),!1)),n}function np(r,e,t){return r.some(function(n){return t(n,e)})}function Jb(r,e,t){t===void 0&&(t=0);var n=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),i=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return n*i}function ip(r,e){return np(r,e,function(t,n){var i=ai(t),a=ai(n);return Jb(i.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function Kb(r,e,t,n,i){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||l.type!=="point")){var u=(0,p.CR)(l.getXYFields(),2),f=u[0],h=u[1],v=(0,c.vM)(e,function(y){return y.get("data")[f]}),d=[],g=i&&i.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;(0,c.UI)((0,c.XP)(v).reverse(),function(y){for(var m=qb(l,v[y]);m.length;){var x=m.shift(),M=ai(x);if(np(d,x,function(N,tt){return N.get("data")[f]===tt.get("data")[f]&&N.get("data")[h]===tt.get("data")[h]})){M.set("visible",!1);continue}var E=ip(d,x),F=!1;if(E&&(M.attr("y",M.attr("y")+2*g),F=ip(d,x)),F){M.set("visible",!1);continue}d.push(x)}})}}}function Qb(r,e){var t=r.getXYFields()[1],n=[],i=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return i.length>0&&n.push(i.shift()),i.length>0&&n.push(i.pop()),n.push.apply(n,(0,p.ev)([],(0,p.CR)(i),!1)),n}function ap(r,e,t){return r.some(function(n){return t(n,e)})}function tC(r,e,t){t===void 0&&(t=0);var n=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),i=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return n*i}function op(r,e){return ap(r,e,function(t,n){var i=ai(t),a=ai(n);return tC(i.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function eC(r,e,t,n,i){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||["path","line","area"].indexOf(l.type)<0)){var u=(0,p.CR)(l.getXYFields(),2),f=u[0],h=u[1],v=(0,c.vM)(e,function(y){return y.get("data")[f]}),d=[],g=i&&i.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;(0,c.UI)((0,c.XP)(v).reverse(),function(y){for(var m=Qb(l,v[y]);m.length;){var x=m.shift(),M=ai(x);if(ap(d,x,function(N,tt){return N.get("data")[f]===tt.get("data")[f]&&N.get("data")[h]===tt.get("data")[h]})){M.set("visible",!1);continue}var E=op(d,x),F=!1;if(E&&(M.attr("y",M.attr("y")+2*g),F=op(d,x)),F){M.set("visible",!1);continue}d.push(x)}})}}}var $u;function rC(){return $u||($u=document.createElement("canvas").getContext("2d")),$u}var Zs=(0,c.HP)(function(r,e){e===void 0&&(e={});var t=e.fontSize,n=e.fontFamily,i=e.fontWeight,a=e.fontStyle,o=e.fontVariant,s=rC();return s.font=[a,o,i,"".concat(t,"px"),n].join(" "),s.measureText((0,c.HD)(r)?r:"").width},function(r,e){return e===void 0&&(e={}),(0,p.ev)([r],(0,p.CR)((0,c.VO)(e)),!1).join("")}),nC=function(r,e,t){var n=16,i=Zs("...",t),a;(0,c.HD)(r)?a=r:a=(0,c.BB)(r);var o=e,s=[],l,u;if(Zs(r,t)<=e)return r;for(;l=a.substr(0,n),u=Zs(l,t),!(u+i>o&&u>o);)if(s.push(l),o-=u,a=a.substr(n),!a)return s.join("");for(;l=a.substr(0,1),u=Zs(l,t),!(u+i>o);)if(s.push(l),o-=u,a=a.substr(1),!a)return s.join("");return"".concat(s.join(""),"...")};function iC(r,e,t,n,i){if(!(e.length<=0)){var a=(i==null?void 0:i.direction)||["top","right","bottom","left"],o=(i==null?void 0:i.action)||"translate",s=(i==null?void 0:i.margin)||0,l=e[0].get("coordinate");if(!!l){var u=Yx(l,s),f=u.minX,h=u.minY,v=u.maxX,d=u.maxY;(0,c.S6)(e,function(g){var y=g.getCanvasBBox(),m=y.minX,x=y.minY,M=y.maxX,E=y.maxY,F=y.x,N=y.y,tt=y.width,st=y.height,vt=F,Dt=N;if(a.indexOf("left")>=0&&(m=0&&(x=0&&(m>v?vt=v-tt:M>v&&(vt=vt-(M-v))),a.indexOf("bottom")>=0&&(x>d?Dt=d-st:E>d&&(Dt=Dt-(E-d))),vt!==F||Dt!==N){var Tt=vt-F;if(o==="translate")wo(g,Tt,Dt-N);else if(o==="ellipsis"){var Xt=g.findAll(function(se){return se.get("type")==="text"});Xt.forEach(function(se){var be=(0,c.ei)(se.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),Ce=se.getCanvasBBox(),Ue=nC(se.attr("text"),Ce.width-Math.abs(Tt),be);se.attr("text",Ue)})}else g.hide()}})}}}function aC(r,e,t){var n={fillOpacity:(0,c.UM)(r.attr("fillOpacity"))?1:r.attr("fillOpacity"),strokeOpacity:(0,c.UM)(r.attr("strokeOpacity"))?1:r.attr("strokeOpacity"),opacity:(0,c.UM)(r.attr("opacity"))?1:r.attr("opacity")};r.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),r.animate(n,e)}function oC(r,e,t){var n={fillOpacity:0,strokeOpacity:0,opacity:0},i=e.easing,a=e.duration,o=e.delay;r.animate(n,a,i,function(){r.remove(!0)},o)}function sC(r,e,t){var n,i=(0,p.CR)(e,2),a=i[0],o=i[1];return r.applyToMatrix([a,o,1]),t==="x"?(r.setMatrix(Qe.vs(r.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),n=Qe.vs(r.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):t==="y"?(r.setMatrix(Qe.vs(r.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),n=Qe.vs(r.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):t==="xy"&&(r.setMatrix(Qe.vs(r.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),n=Qe.vs(r.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),n}function qu(r,e,t,n,i){var a=t.start,o=t.end,s=t.getWidth(),l=t.getHeight(),u,f;i==="y"?(u=a.x+s/2,f=n.ya.x?n.x:a.x,f=a.y+l/2):i==="xy"&&(t.isPolar?(u=t.getCenter().x,f=t.getCenter().y):(u=(a.x+o.x)/2,f=(a.y+o.y)/2));var h=sC(r,[u,f],i);r.animate({matrix:h},e)}function lC(r,e,t){var n=t.coordinate,i=t.minYPoint;qu(r,e,n,i,"x")}function uC(r,e,t){var n=t.coordinate,i=t.minYPoint;qu(r,e,n,i,"y")}function cC(r,e,t){var n=t.coordinate,i=t.minYPoint;qu(r,e,n,i,"xy")}function fC(r,e,t){var n=r.getTotalLength();r.attr("lineDash",[n]),r.animate(function(i){return{lineDashOffset:(1-i)*n}},e)}function hC(r,e,t){var n=t.toAttrs,i=n.x,a=n.y;delete n.x,delete n.y,r.attr(n),r.animate({x:i,y:a},e)}function vC(r,e,t){var n=r.getBBox(),i=r.get("origin").mappingData,a=i.points,o=a[0].y-a[1].y>0?n.maxX:n.minX,s=(n.minY+n.maxY)/2;r.applyToMatrix([o,s,1]);var l=Qe.vs(r.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);r.setMatrix(l),r.animate({matrix:Qe.vs(r.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)}function pC(r,e,t){var n=r.getBBox(),i=r.get("origin").mappingData,a=(n.minX+n.maxX)/2,o=i.points,s=o[0].y-o[1].y<=0?n.maxY:n.minY;r.applyToMatrix([a,s,1]);var l=Qe.vs(r.getMatrix(),[["t",-a,-s],["s",1,.01],["t",a,s]]);r.setMatrix(l),r.animate({matrix:Qe.vs(r.getMatrix(),[["t",-a,-s],["s",1,100],["t",a,s]])},e)}function sp(r,e){var t,n=Bs(r,e),i=n.startAngle,a=n.endAngle;return!(0,c.vQ)(i,-Math.PI*.5)&&i<-Math.PI*.5&&(i+=Math.PI*2),!(0,c.vQ)(a,-Math.PI*.5)&&a<-Math.PI*.5&&(a+=Math.PI*2),e[5]===0&&(t=(0,p.CR)([a,i],2),i=t[0],a=t[1]),(0,c.vQ)(i,Math.PI*1.5)&&(i=Math.PI*-.5),(0,c.vQ)(a,Math.PI*-.5)&&!(0,c.vQ)(i,a)&&(a=Math.PI*1.5),{startAngle:i,endAngle:a}}function lp(r){var e;return r[0]==="M"||r[0]==="L"?e=[r[1],r[2]]:(r[0]==="a"||r[0]==="A"||r[0]==="C")&&(e=[r[r.length-2],r[r.length-1]]),e}function up(r){var e,t,n,i=r.filter(function(E){return E[0]==="A"||E[0]==="a"});if(i.length===0)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var a=i[0],o=i.length>1?i[1]:i[0],s=r.indexOf(a),l=r.indexOf(o),u=lp(r[s-1]),f=lp(r[l-1]),h=sp(u,a),v=h.startAngle,d=h.endAngle,g=sp(f,o),y=g.startAngle,m=g.endAngle;(0,c.vQ)(v,y)&&(0,c.vQ)(d,m)?(t=v,n=d):(t=Math.min(v,y),n=Math.max(d,m));var x=a[1],M=i[i.length-1][1];return x=0;u--){var f=this.getFacetsByLevel(t,u);try{for(var h=(n=void 0,(0,p.XA)(f)),v=h.next();!v.done;v=h.next()){var d=v.value;this.isLeaf(d)||(d.originColIndex=d.columnIndex,d.columnIndex=this.getRegionIndex(d.children),d.columnValuesLength=o.length)}}catch(g){n={error:g}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}},e.prototype.getFacetsByLevel=function(t,n){var i=[];return t.forEach(function(a){a.rowIndex===n&&i.push(a)}),i},e.prototype.getRegionIndex=function(t){var n=t[0],i=t[t.length-1];return(i.columnIndex-n.columnIndex)/2+n.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,n,i){var a=this,o=this.cfg.fields,s=o.length;if(!(s=d){var m=i.parsePosition([g[l],g[s.field]]);m&&v.push(m)}if(g[l]===h)return!1}),v},e.prototype.parsePercentPosition=function(t){var n=parseFloat(t[0])/100,i=parseFloat(t[1])/100,a=this.view.getCoordinate(),o=a.start,s=a.end,l={x:Math.min(o.x,s.x),y:Math.min(o.y,s.y)},u=a.getWidth()*n+l.x,f=a.getHeight()*i+l.y;return{x:u,y:f}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),n=t.start,i=t.end,a=t.getWidth(),o=t.getHeight(),s={x:Math.min(n.x,i.x),y:Math.min(n.y,i.y)};return{x:s.x,y:s.y,minX:s.x,minY:s.y,maxX:s.x+a,maxY:s.y+o,width:a,height:o}},e.prototype.getAnnotationCfg=function(t,n,i){var a=this,o=this.view.getCoordinate(),s=this.view.getCanvas(),l={};if((0,c.UM)(n))return null;var u=n.start,f=n.end,h=n.position,v=this.parsePosition(u),d=this.parsePosition(f),g=this.parsePosition(h);if(["arc","image","line","region","regionFilter"].includes(t)&&(!v||!d))return null;if(["text","dataMarker","html"].includes(t)&&!g)return null;if(t==="arc"){var y=n,m=y.start,x=y.end,M=(0,p._T)(y,["start","end"]),E=fa(o,v),F=fa(o,d);E>F&&(F=Math.PI*2+F),l=(0,p.pi)((0,p.pi)({},M),{center:o.getCenter(),radius:ws(o,v),startAngle:E,endAngle:F})}else if(t==="image"){var N=n,tt=N.start,st=N.end,M=(0,p._T)(N,["start","end"]);l=(0,p.pi)((0,p.pi)({},M),{start:v,end:d,src:n.src})}else if(t==="line"){var vt=n,Dt=vt.start,Tt=vt.end,M=(0,p._T)(vt,["start","end"]);l=(0,p.pi)((0,p.pi)({},M),{start:v,end:d,text:(0,c.U2)(n,"text",null)})}else if(t==="region"){var Xt=n,se=Xt.start,be=Xt.end,M=(0,p._T)(Xt,["start","end"]);l=(0,p.pi)((0,p.pi)({},M),{start:v,end:d})}else if(t==="text"){var Ce=this.view.getData(),Ue=n,Kt=Ue.position,fe=Ue.content,M=(0,p._T)(Ue,["position","content"]),me=fe;(0,c.mf)(fe)&&(me=fe(Ce)),l=(0,p.pi)((0,p.pi)((0,p.pi)({},g),M),{content:me})}else if(t==="dataMarker"){var he=n,xe=he.position,Te=he.point,Ve=he.line,Ge=he.text,_e=he.autoAdjust,He=he.direction,M=(0,p._T)(he,["position","point","line","text","autoAdjust","direction"]);l=(0,p.pi)((0,p.pi)((0,p.pi)({},M),g),{coordinateBBox:this.getCoordinateBBox(),point:Te,line:Ve,text:Ge,autoAdjust:_e,direction:He})}else if(t==="dataRegion"){var Je=n,ur=Je.start,cr=Je.end,In=Je.region,Ge=Je.text,Wi=Je.lineLength,M=(0,p._T)(Je,["start","end","region","text","lineLength"]);l=(0,p.pi)((0,p.pi)({},M),{points:this.getRegionPoints(ur,cr),region:In,text:Ge,lineLength:Wi})}else if(t==="regionFilter"){var jn=n,Da=jn.start,Oa=jn.end,N0=jn.apply,ZO=jn.color,M=(0,p._T)(jn,["start","end","apply","color"]),jO=this.view.geometries,z0=[],cf=function(kn){!kn||(kn.isGroup()?kn.getChildren().forEach(function(Wo){return cf(Wo)}):z0.push(kn))};(0,c.S6)(jO,function(kn){N0?(0,c.FX)(N0,kn.type)&&(0,c.S6)(kn.elements,function(Wo){cf(Wo.shape)}):(0,c.S6)(kn.elements,function(Wo){cf(Wo.shape)})}),l=(0,p.pi)((0,p.pi)({},M),{color:ZO,shapes:z0,start:v,end:d})}else if(t==="shape"){var U0=n,$O=U0.render,ff=(0,p._T)(U0,["render"]),qO=function(KO){if((0,c.mf)(n.render))return $O(KO,a.view,{parsePosition:a.parsePosition.bind(a)})};l=(0,p.pi)((0,p.pi)({},ff),{render:qO})}else if(t==="html"){var hf=n,vf=hf.html,KB=hf.position,ff=(0,p._T)(hf,["html","position"]),JO=function(kn){return(0,c.mf)(vf)?vf(kn,a.view):vf};l=(0,p.pi)((0,p.pi)((0,p.pi)({},ff),g),{parent:s.get("el").parentNode,html:JO})}var pi=(0,c.b$)({},i,(0,p.pi)((0,p.pi)({},l),{top:n.top,style:n.style,offsetX:n.offsetX,offsetY:n.offsetY}));return t!=="html"&&(pi.container=this.getComponentContainer(pi)),pi.animate=this.view.getOptions().animate&&pi.animate&&(0,c.U2)(n,"animate",pi.animate),pi.animateOption=(0,c.b$)({},ya,pi.animateOption,n.animateOption),pi},e.prototype.isTop=function(t){return(0,c.U2)(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return(0,c.U2)(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var n=this.cache.get(this.getCacheKey(t));if(n){var i=t.type,a=this.getAnnotationTheme(i),o=this.getAnnotationCfg(i,t,a);o&&Dr(o,["container"]),n.component.update((0,p.pi)((0,p.pi)({},o||{}),{visible:!!o})),(0,c.q9)($s,t.type)&&n.component.render()}else n=this.createAnnotation(t),n&&(n.component.init(),(0,c.q9)($s,t.type)&&n.component.render());return n},e.prototype.syncCache=function(t){var n=this,i=new Map(this.cache);return t.forEach(function(a,o){i.set(o,a)}),i.forEach(function(a,o){(0,c.sE)(n.option,function(s){return o===n.getCacheKey(s)})||(a.component.destroy(),i.delete(o))}),i},e.prototype.getCacheKey=function(t){return t},e}(ga),DC=PC;function fp(r,e){var t=(0,c.b$)({},(0,c.U2)(r,["components","axis","common"]),(0,c.U2)(r,["components","axis",e]));return(0,c.U2)(t,["grid"],{})}function qs(r,e,t,n){var i=[],a=e.getTicks();return r.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(o,s,l){var u=s.value;if(n)i.push({points:[r.convert(t==="y"?{x:0,y:u}:{x:u,y:0}),r.convert(t==="y"?{x:1,y:u}:{x:u,y:1})]});else if(l){var f=o.value,h=(f+u)/2;i.push({points:[r.convert(t==="y"?{x:0,y:h}:{x:h,y:0}),r.convert(t==="y"?{x:1,y:h}:{x:h,y:1})]})}return s},a[0]),i}function Qu(r,e,t,n,i){var a=e.values.length,o=[],s=t.getTicks();return s.reduce(function(l,u){var f=l?l.value:u.value,h=u.value,v=(f+h)/2;return i==="x"?o.push({points:[r.convert({x:n?h:v,y:0}),r.convert({x:n?h:v,y:1})]}):o.push({points:(0,c.UI)(Array(a+1),function(d,g){return r.convert({x:g/a,y:n?h:v})})}),u},s[0]),o}function hp(r,e){var t=(0,c.U2)(e,"grid");if(t===null)return!1;var n=(0,c.U2)(r,"grid");return!(t===void 0&&n===null)}var li=["container"],vp=(0,p.pi)((0,p.pi)({},ya),{appear:null}),OC=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(j.BG).addGroup(),n.gridForeContainer=n.view.getLayer(j.FORE).addGroup(),n.axisContainer=n.view.getLayer(j.BG).addGroup(),n.axisForeContainer=n.view.getLayer(j.FORE).addGroup(),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,n=this.view.getCoordinate();(0,c.S6)(this.getComponents(),function(i){var a=i.component,o=i.direction,s=i.type,l=i.extra,u=l.dim,f=l.scale,h=l.alignTick,v;if(s===bt.AXIS)n.isPolar?u==="x"?v=n.isTransposed?Ss(n,o):cu(n):u==="y"&&(v=n.isTransposed?cu(n):Ss(n,o)):v=Ss(n,o);else if(s===bt.GRID)if(n.isPolar){var d=void 0;n.isTransposed?d=u==="x"?Qu(n,t.view.getYScales()[0],f,h,u):qs(n,f,u,h):d=u==="x"?qs(n,f,u,h):Qu(n,t.view.getXScale(),f,h,u),v={items:d,center:t.view.getCoordinate().getCenter()}}else v={items:qs(n,f,u,h)};a.update(v)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var n=new Map;this.cache.forEach(function(i,a){t.has(a)?n.set(a,i):i.component.destroy()}),this.cache=n},e.prototype.clear=function(){r.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(n){t.push(n)}),t},e.prototype.updateXAxes=function(t){var n=this.view.getXScale();if(!(!n||n.isIdentity)){var i=bs(this.option,n.field);if(i!==!1){var a=uh(i,q.BOTTOM),o=j.BG,s="x",l=this.view.getCoordinate(),u=this.getId("axis",n.field),f=this.getId("grid",n.field);if(l.isRect){var h=this.cache.get(u);if(h){var v=this.getLineAxisCfg(n,i,a);Dr(v,li),h.component.update(v),t.set(u,h)}else h=this.createLineAxis(n,i,o,a,s),this.cache.set(u,h),t.set(u,h);var d=this.cache.get(f);if(d){var v=this.getLineGridCfg(n,i,a,s);Dr(v,li),d.component.update(v),t.set(f,d)}else d=this.createLineGrid(n,i,o,a,s),d&&(this.cache.set(f,d),t.set(f,d))}else if(l.isPolar){var h=this.cache.get(u);if(h){var v=l.isTransposed?this.getLineAxisCfg(n,i,q.RADIUS):this.getCircleAxisCfg(n,i,a);Dr(v,li),h.component.update(v),t.set(u,h)}else{if(l.isTransposed){if((0,c.o8)(i))return;h=this.createLineAxis(n,i,o,q.RADIUS,s)}else h=this.createCircleAxis(n,i,o,a,s);this.cache.set(u,h),t.set(u,h)}var d=this.cache.get(f);if(d){var v=l.isTransposed?this.getCircleGridCfg(n,i,q.RADIUS,s):this.getLineGridCfg(n,i,q.CIRCLE,s);Dr(v,li),d.component.update(v),t.set(f,d)}else{if(l.isTransposed){if((0,c.o8)(i))return;d=this.createCircleGrid(n,i,o,q.RADIUS,s)}else d=this.createLineGrid(n,i,o,q.CIRCLE,s);d&&(this.cache.set(f,d),t.set(f,d))}}}}},e.prototype.updateYAxes=function(t){var n=this,i=this.view.getYScales();(0,c.S6)(i,function(a,o){if(!(!a||a.isIdentity)){var s=a.field,l=bs(n.option,s);if(l!==!1){var u=j.BG,f="y",h=n.getId("axis",s),v=n.getId("grid",s),d=n.view.getCoordinate();if(d.isRect){var g=uh(l,o===0?q.LEFT:q.RIGHT),y=n.cache.get(h);if(y){var m=n.getLineAxisCfg(a,l,g);Dr(m,li),y.component.update(m),t.set(h,y)}else y=n.createLineAxis(a,l,u,g,f),n.cache.set(h,y),t.set(h,y);var x=n.cache.get(v);if(x){var m=n.getLineGridCfg(a,l,g,f);Dr(m,li),x.component.update(m),t.set(v,x)}else x=n.createLineGrid(a,l,u,g,f),x&&(n.cache.set(v,x),t.set(v,x))}else if(d.isPolar){var y=n.cache.get(h);if(y){var m=d.isTransposed?n.getCircleAxisCfg(a,l,q.CIRCLE):n.getLineAxisCfg(a,l,q.RADIUS);Dr(m,li),y.component.update(m),t.set(h,y)}else{if(d.isTransposed){if((0,c.o8)(l))return;y=n.createCircleAxis(a,l,u,q.CIRCLE,f)}else y=n.createLineAxis(a,l,u,q.RADIUS,f);n.cache.set(h,y),t.set(h,y)}var x=n.cache.get(v);if(x){var m=d.isTransposed?n.getLineGridCfg(a,l,q.CIRCLE,f):n.getCircleGridCfg(a,l,q.RADIUS,f);Dr(m,li),x.component.update(m),t.set(v,x)}else{if(d.isTransposed){if((0,c.o8)(l))return;x=n.createLineGrid(a,l,u,q.CIRCLE,f)}else x=n.createCircleGrid(a,l,u,q.RADIUS,f);x&&(n.cache.set(v,x),t.set(v,x))}}}}})},e.prototype.createLineAxis=function(t,n,i,a,o){var s={component:new Dx(this.getLineAxisCfg(t,n,a)),layer:i,direction:a===q.RADIUS?q.NONE:a,type:bt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,n,i,a,o){var s=this.getLineGridCfg(t,n,a,o);if(s){var l={component:new _x(s),layer:i,direction:q.NONE,type:bt.GRID,extra:{dim:o,scale:t,alignTick:(0,c.U2)(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,n,i,a,o){var s={component:new Ox(this.getCircleAxisCfg(t,n,a)),layer:i,direction:a,type:bt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createCircleGrid=function(t,n,i,a,o){var s=this.getCircleGridCfg(t,n,a,o);if(s){var l={component:new Bx(s),layer:i,direction:q.NONE,type:bt.GRID,extra:{dim:o,scale:t,alignTick:(0,c.U2)(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,n,i){var a=(0,c.U2)(n,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=Ss(o,i),l=ch(t,n),u=Ms(this.view.getTheme(),i),f=(0,c.U2)(n,["title"])?(0,c.b$)({title:{style:{text:l}}},{title:lh(this.view.getTheme(),i,n.title)},n):n,h=(0,c.b$)((0,p.pi)((0,p.pi)({container:a},s),{ticks:t.getTicks().map(function(E){return{id:"".concat(E.tickValue),name:E.text,value:E.value}}),verticalFactor:o.isPolar?sh(s,o.getCenter())*-1:sh(s,o.getCenter()),theme:u}),u,f),v=this.getAnimateCfg(h),d=v.animate,g=v.animateOption;h.animateOption=g,h.animate=d;var y=oh(s),m=(0,c.U2)(h,"verticalLimitLength",y?1/3:1/2);if(m<=1){var x=this.view.getCanvas().get("width"),M=this.view.getCanvas().get("height");h.verticalLimitLength=m*(y?x:M)}return h},e.prototype.getLineGridCfg=function(t,n,i,a){if(!!hp(Ms(this.view.getTheme(),i),n)){var o=fp(this.view.getTheme(),i),s=(0,c.b$)({container:(0,c.U2)(n,["top"])?this.gridForeContainer:this.gridContainer},o,(0,c.U2)(n,"grid"),this.getAnimateCfg(n));return s.items=qs(this.view.getCoordinate(),t,a,(0,c.U2)(s,"alignTick",!0)),s}},e.prototype.getCircleAxisCfg=function(t,n,i){var a=(0,c.U2)(n,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=t.getTicks().map(function(y){return{id:"".concat(y.tickValue),name:y.text,value:y.value}});!t.isCategory&&Math.abs(o.endAngle-o.startAngle)===Math.PI*2&&s.length&&(s[s.length-1].name="");var l=ch(t,n),u=Ms(this.view.getTheme(),q.CIRCLE),f=(0,c.U2)(n,["title"])?(0,c.b$)({title:{style:{text:l}}},{title:lh(this.view.getTheme(),i,n.title)},n):n,h=(0,c.b$)((0,p.pi)((0,p.pi)({container:a},cu(this.view.getCoordinate())),{ticks:s,verticalFactor:1,theme:u}),u,f),v=this.getAnimateCfg(h),d=v.animate,g=v.animateOption;return h.animate=d,h.animateOption=g,h},e.prototype.getCircleGridCfg=function(t,n,i,a){if(!!hp(Ms(this.view.getTheme(),i),n)){var o=fp(this.view.getTheme(),q.RADIUS),s=(0,c.b$)({container:(0,c.U2)(n,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,(0,c.U2)(n,"grid"),this.getAnimateCfg(n)),l=(0,c.U2)(s,"alignTick",!0),u=a==="x"?this.view.getYScales()[0]:this.view.getXScale();return s.items=Qu(this.view.getCoordinate(),u,t,l,a),s}},e.prototype.getId=function(t,n){var i=this.view.getCoordinate();return"".concat(t,"-").concat(n,"-").concat(i.type)},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&(0,c.U2)(t,"animate"),animateOption:t&&t.animateOption?(0,c.b$)({},vp,t.animateOption):vp}},e}(ga),_C=OC;function ui(r,e,t){return t===q.TOP?[r.minX+r.width/2-e.width/2,r.minY]:t===q.BOTTOM?[r.minX+r.width/2-e.width/2,r.maxY-e.height]:t===q.LEFT?[r.minX,r.minY+r.height/2-e.height/2]:t===q.RIGHT?[r.maxX-e.width,r.minY+r.height/2-e.height/2]:t===q.TOP_LEFT||t===q.LEFT_TOP?[r.tl.x,r.tl.y]:t===q.TOP_RIGHT||t===q.RIGHT_TOP?[r.tr.x-e.width,r.tr.y]:t===q.BOTTOM_LEFT||t===q.LEFT_BOTTOM?[r.bl.x,r.bl.y-e.height]:t===q.BOTTOM_RIGHT||t===q.RIGHT_BOTTOM?[r.br.x-e.width,r.br.y-e.height]:[0,0]}function BC(r,e){if(e.isTransposed)switch(r){case DIRECTION.BOTTOM:return DIRECTION.LEFT;case DIRECTION.LEFT:return DIRECTION.BOTTOM;case DIRECTION.RIGHT:return DIRECTION.TOP;case DIRECTION.TOP:return DIRECTION.RIGHT}return r}function pp(r){return r===DIRECTION.LEFT?DIRECTION.RIGHT:r===DIRECTION.RIGHT?DIRECTION.LEFT:r}function dp(r){return r===DIRECTION.TOP?DIRECTION.BOTTOM:r===DIRECTION.BOTTOM?DIRECTION.TOP:r}function RC(r,e){var t=e.matrix[0],n=e.matrix[4],i=r;return t<0&&(i=pp(i)),n<0&&(i=dp(i)),i}function NC(r,e){var t=r;return e.isReflect("x")&&(t=pp(t)),e.isReflect("y")&&(t=dp(t)),t}function bB(r,e){var t=r;return t=BC(t,e),t=RC(t,e),t=NC(t,e),t}function gp(r,e){return(0,c.jn)(r)?r===!1?!1:{}:(0,c.U2)(r,[e],r)}function Js(r){return(0,c.U2)(r,"position",q.BOTTOM)}var zC=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.container=n.view.getLayer(j.FORE).addGroup(),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,(0,c.S6)(this.components,function(n){var i=n.component,a=n.direction,o=bu(a),s=i.get("maxWidthRatio"),l=i.get("maxHeightRatio"),u=t.getCategoryLegendSizeCfg(o,s,l),f=i.get("maxWidth"),h=i.get("maxHeight");i.update({maxWidth:Math.min(u.maxWidth,f||0),maxHeight:Math.min(u.maxHeight,h||0)});var v=i.get("padding"),d=i.getLayoutBBox(),g=new Tr(d.x,d.y,d.width,d.height).expand(v),y=(0,p.CR)(ui(t.view.viewBBox,g,a),2),m=y[0],x=y[1],M=(0,p.CR)(ui(t.layoutBBox,g,a),2),E=M[0],F=M[1],N=0,tt=0;a.startsWith("top")||a.startsWith("bottom")?(N=m,tt=F):(N=E,tt=x),i.setLocation({x:N+v[3],y:tt+v[0]}),t.layoutBBox=t.layoutBBox.cut(g,a)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var n={},i=function(v,d,g){var y=t.getId(g.field),m=t.getComponentById(y);if(m){var x=void 0,M=gp(t.option,g.field);M!==!1&&((0,c.U2)(M,"custom")?x=t.getCategoryCfg(v,d,g,M,!0):g.isLinear?x=t.getContinuousCfg(v,d,g,M):g.isCategory&&(x=t.getCategoryCfg(v,d,g,M))),x&&(Dr(x,["container"]),m.direction=Js(M),m.component.update(x),n[y]=!0)}else{var E=t.createFieldLegend(v,d,g);E&&(E.component.init(),t.components.push(E),n[y]=!0)}};if((0,c.U2)(this.option,"custom")){var a="global-custom",o=this.getComponentById(a);if(o){var s=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);Dr(s,["container"]),o.component.update(s),n[a]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=j.FORE,f=Js(this.option);this.components.push({id:a,component:l,layer:u,direction:f,type:bt.LEGEND,extra:void 0}),n[a]=!0}}}else this.loopLegends(i);var h=[];(0,c.S6)(this.getComponents(),function(v){n[v.id]?h.push(v):v.component.destroy()}),this.components=h},e.prototype.clear=function(){r.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var n=this,i=t.geometries;return(0,c.S6)(t.views,function(a){i=i.concat(n.getGeometries(a))}),i},e.prototype.loopLegends=function(t){var n=this.view.getRootView()===this.view;if(!!n){var i=this.getGeometries(this.view),a={};(0,c.S6)(i,function(o){var s=o.getGroupAttributes();(0,c.S6)(s,function(l){var u=l.getScale(l.type);!u||u.type==="identity"||a[u.field]||(t(o,l,u),a[u.field]=!0)})})}},e.prototype.createFieldLegend=function(t,n,i){var a,o=gp(this.option,i.field),s=j.FORE,l=Js(o);if(o!==!1&&((0,c.U2)(o,"custom")?a=this.createCustomLegend(t,n,i,o):i.isLinear?a=this.createContinuousLegend(t,n,i,o):i.isCategory&&(a=this.createCategoryLegend(t,n,i,o))),a)return a.set("field",i.field),{id:this.getId(i.field),component:a,layer:s,direction:l,type:bt.LEGEND,extra:{scale:i}}},e.prototype.createCustomLegend=function(t,n,i,a){var o=this.getCategoryCfg(t,n,i,a,!0);return new Qf(o)},e.prototype.createContinuousLegend=function(t,n,i,a){var o=this.getContinuousCfg(t,n,i,Dr(a,["value"]));return new Rx(o)},e.prototype.createCategoryLegend=function(t,n,i,a){var o=this.getCategoryCfg(t,n,i,a);return new Qf(o)},e.prototype.getContinuousCfg=function(t,n,i,a){var o=i.getTicks(),s=(0,c.sE)(o,function(y){return y.value===0}),l=(0,c.sE)(o,function(y){return y.value===1}),u=o.map(function(y){var m=y.value,x=y.tickValue,M=n.mapping(i.invert(m)).join("");return{value:x,attrValue:M,color:M,scaleValue:m}});s||u.push({value:i.min,attrValue:n.mapping(i.invert(0)).join(""),color:n.mapping(i.invert(0)).join(""),scaleValue:0}),l||u.push({value:i.max,attrValue:n.mapping(i.invert(1)).join(""),color:n.mapping(i.invert(1)).join(""),scaleValue:1}),u.sort(function(y,m){return y.value-m.value});var f={min:(0,c.YM)(u).value,max:(0,c.Z$)(u).value,colors:[],rail:{type:n.type},track:{}};n.type==="size"&&(f.track={style:{fill:n.type==="size"?this.view.getTheme().defaultColor:void 0}}),n.type==="color"&&(f.colors=u.map(function(y){return y.attrValue}));var h=this.container,v=Js(a),d=bu(v),g=(0,c.U2)(a,"title");return g&&(g=(0,c.b$)({text:ho(i)},g)),f.container=h,f.layout=d,f.title=g,f.animateOption=ya,this.mergeLegendCfg(f,a,"continuous")},e.prototype.getCategoryCfg=function(t,n,i,a,o){var s=this.container,l=(0,c.U2)(a,"position",q.BOTTOM),u=nv(this.view.getTheme(),l),f=(0,c.U2)(u,["marker"]),h=(0,c.U2)(a,"marker"),v=bu(l),d=(0,c.U2)(u,["pageNavigator"]),g=(0,c.U2)(a,"pageNavigator"),y=o?Sw(f,h,a.items):rv(this.view,t,n,f,h),m=(0,c.U2)(a,"title");m&&(m=(0,c.b$)({text:i?ho(i):""},m));var x=(0,c.U2)(a,"maxWidthRatio"),M=(0,c.U2)(a,"maxHeightRatio"),E=this.getCategoryLegendSizeCfg(v,x,M);E.container=s,E.layout=v,E.items=y,E.title=m,E.animateOption=ya,E.pageNavigator=(0,c.b$)({},d,g);var F=this.mergeLegendCfg(E,a,l);F.reversed&&F.items.reverse();var N=(0,c.U2)(F,"maxItemWidth");return N&&N<=1&&(F.maxItemWidth=this.view.viewBBox.width*N),F},e.prototype.mergeLegendCfg=function(t,n,i){var a=i.split("-")[0],o=nv(this.view.getTheme(),a);return(0,c.b$)({},o,t,n)},e.prototype.getId=function(t){return"".concat(this.name,"-").concat(t)},e.prototype.getComponentById=function(t){return(0,c.sE)(this.components,function(n){return n.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,n,i){n===void 0&&(n=dt),i===void 0&&(i=dt);var a=this.view.viewBBox,o=a.width,s=a.height;return t==="vertical"?{maxWidth:o*n,maxHeight:s}:{maxWidth:o,maxHeight:s*i}},e}(ga),UC=zC,VC=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.onChangeFn=c.ZT,n.resetMeasure=function(){n.clear()},n.onValueChange=function(i){var a=(0,p.CR)(i,2),o=a[0],s=a[1];n.start=o,n.end=s,n.changeViewData(o,s)},n.container=n.view.getLayer(j.FORE).addGroup(),n.onChangeFn=(0,c.P2)(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(U.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(U.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(U.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(U.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),n=t.start,i=t.end;(0,c.UM)(this.start)&&(this.start=n,this.end=i);var a=this.view.getOptions().data;this.option&&!(0,c.xb)(a)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var n=this.view.coordinateBBox.width,i=this.slider.component.get("padding"),a=(0,p.CR)(i,4),o=a[0],s=a[1],l=a[2],u=a[3],f=this.slider.component.getLayoutBBox(),h=new Tr(f.x,f.y,Math.min(f.width,n),f.height).expand(i),v=this.getMinMaxText(this.start,this.end),d=v.minText,g=v.maxText,y=(0,p.CR)(ui(this.view.viewBBox,h,q.BOTTOM),2),m=y[0],x=y[1],M=(0,p.CR)(ui(this.view.coordinateBBox,h,q.BOTTOM),2),E=M[0],F=M[1];this.slider.component.update((0,p.pi)((0,p.pi)({},this.getSliderCfg()),{x:E+u,y:x+o,width:this.width,start:this.start,end:this.end,minText:d,maxText:g})),this.view.viewBBox=this.view.viewBBox.cut(h,q.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),n=new kx((0,p.pi)({container:this.container},t));return n.init(),{component:n,layer:j.FORE,direction:q.BOTTOM,type:bt.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var n=this.getMinMaxText(this.start,this.end),i=n.minText,a=n.maxText;t=(0,p.pi)((0,p.pi)({},t),{width:this.width,start:this.start,end:this.end,minText:i,maxText:a})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if((0,c.Kn)(this.option)){var n=(0,p.pi)({data:this.getData()},(0,c.U2)(this.option,"trendCfg",{}));t=(0,c.b$)({},t,this.getThemeOptions(),this.option),t=(0,p.pi)((0,p.pi)({},t),{trendCfg:n})}return t.start=(0,c.uZ)(Math.min((0,c.UM)(t.start)?0:t.start,(0,c.UM)(t.end)?1:t.end),0,1),t.end=(0,c.uZ)(Math.max((0,c.UM)(t.start)?0:t.start,(0,c.UM)(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,n=(0,p.CR)(this.view.getYScales(),1),i=n[0],a=this.view.getGroupScales();if(a.length){var o=a[0],s=o.field,l=o.ticks;return t.reduce(function(u,f){return f[s]===l[0]&&u.push(f[i.field]),u},[])}return t.map(function(u){return u[i.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,c.U2)(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,n){var i=this.view.getOptions().data,a=this.view.getXScale(),o=!0,s=(0,c.I)(i,a.field);a.isLinear&&(s=s.sort());var l=o?s:s.reverse(),u=(0,c.dp)(i);if(!a||!u)return{};var f=(0,c.dp)(l),h=Math.round(t*(f-1)),v=Math.round(n*(f-1)),d=(0,c.U2)(l,[h]),g=(0,c.U2)(l,[v]),y=this.getSliderCfg().formatter;return y&&(d=y(d,i[h],h),g=y(g,i[v],v)),{minText:d,maxText:g}},e.prototype.changeViewData=function(t,n){var i=this.view.getOptions().data,a=this.view.getXScale(),o=(0,c.dp)(i);if(!(!a||!o)){var s=!0,l=(0,c.I)(i,a.field),u=this.view.getXScale().isLinear?l.sort(function(g,y){return Number(g)-Number(y)}):l,f=s?u:u.reverse(),h=(0,c.dp)(f),v=Math.round(t*(h-1)),d=Math.round(n*(h-1));this.view.filter(a.field,function(g,y){var m=f.indexOf(g);return m>-1?ca(m,v,d):!0}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(ga),GC=VC,Ks=0,yp=8,HC=32,YC=20,XC=function(r){(0,p.ZT)(e,r);function e(t){var n=r.call(this,t)||this;return n.onChangeFn=c.ZT,n.resetMeasure=function(){n.clear()},n.onValueChange=function(i){var a=i.ratio,o=n.getValidScrollbarCfg().animate;n.ratio=(0,c.uZ)(a,0,1);var s=n.view.getOptions().animate;o||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(s)},n.container=n.view.getLayer(j.FORE).addGroup(),n.onChangeFn=(0,c.P2)(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(U.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(U.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(U.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(U.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var n=this.view.coordinateBBox.width,i=this.scrollbar.component.get("padding"),a=this.scrollbar.component.getLayoutBBox(),o=new Tr(a.x,a.y,Math.min(a.width,n),a.height).expand(i),s=this.getScrollbarComponentCfg(),l=void 0,u=void 0;if(s.isHorizontal){var f=(0,p.CR)(ui(this.view.viewBBox,o,q.BOTTOM),2),h=f[0],v=f[1],d=(0,p.CR)(ui(this.view.coordinateBBox,o,q.BOTTOM),2),g=d[0],y=d[1];l=g,u=v}else{var m=(0,p.CR)(ui(this.view.viewBBox,o,q.RIGHT),2),h=m[0],v=m[1],x=(0,p.CR)(ui(this.view.viewBBox,o,q.RIGHT),2),g=x[0],y=x[1];l=g,u=v}l+=i[3],u+=i[0],this.trackLen?this.scrollbar.component.update((0,p.pi)((0,p.pi)({},s),{x:l,y:u,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update((0,p.pi)((0,p.pi)({},s),{x:l,y:u})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?q.BOTTOM:q.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,c.U2)(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var n=(0,c.U2)(this.view.getTheme(),["components","scrollbar"]),i=t||{},a=i.thumbHighlightColor,o=(0,p._T)(i,["thumbHighlightColor"]);return{default:(0,c.b$)({},(0,c.U2)(n,["default","style"],{}),o),hover:(0,c.b$)({},(0,c.U2)(n,["hover","style"],{}),{thumbColor:a})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),n=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var i=this.getScrollbarComponentCfg(),a=i.trackLen,o=i.thumbLen;this.trackLen=a,this.thumbLen=o,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=n},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*(0,c.uZ)(this.ratio,0,1)),n=Math.min(t+this.step-1,this.cnt-1);return[t,n]},e.prototype.changeViewData=function(t,n){var i=this,a=(0,p.CR)(t,2),o=a[0],s=a[1],l=this.getValidScrollbarCfg().type,u=l!=="vertical",f=(0,c.I)(this.data,this.xScaleCfg.field),h=this.view.getXScale().isLinear?f.sort(function(d,g){return Number(d)-Number(g)}):f,v=u?h:h.reverse();this.yScalesCfg.forEach(function(d){i.view.scale(d.field,{formatter:d.formatter,type:d.type,min:d.min,max:d.max,tickMethod:d.tickMethod})}),this.view.filter(this.xScaleCfg.field,function(d){var g=v.indexOf(d);return g>-1?ca(g,o,s):!0}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,n=t!=="vertical",i=new Px((0,p.pi)((0,p.pi)({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return i.init(),{component:i,layer:j.FORE,direction:n?q.BOTTOM:q.RIGHT,type:bt.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),n=this.trackLen?(0,p.pi)((0,p.pi)({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):(0,p.pi)({},t);return this.scrollbar.component.update(n),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,n=this.getValidScrollbarCfg(),i=n.type,a=n.categorySize,o=i!=="vertical";return Math.floor((o?t.width:t.height)/a)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),n=this.getScrollbarData(),i=(0,c.I)(n,t.field);return(0,c.dp)(i)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,n=t.coordinateBBox,i=t.viewBBox,a=this.getValidScrollbarCfg(),o=a.type,s=a.padding,l=a.width,u=a.height,f=a.style,h=o!=="vertical",v=(0,p.CR)(s,4),d=v[0],g=v[1],y=v[2],m=v[3],x=h?{x:n.minX+m,y:i.maxY-u-y}:{x:i.maxX-l-g,y:n.minY+d},M=this.getStep(),E=this.getCnt(),F=h?n.width-m-g:n.height-d-y,N=Math.max(F*(0,c.uZ)(M/E,0,1),YC);return(0,p.pi)((0,p.pi)({},this.getThemeOptions()),{x:x.x,y:x.y,size:h?u:l,isHorizontal:h,trackLen:F,thumbLen:N,thumbOffset:0,theme:this.getScrollbarTheme(f)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:HC,width:yp,height:yp,padding:[0,0,0,0],animate:!0,style:{}};return(0,c.Kn)(this.option)&&(t=(0,p.pi)((0,p.pi)({},t),this.option)),(!(0,c.Kn)(this.option)||!this.option.padding)&&(t.padding=t.type==="horizontal"?[Ks,0,Ks,0]:[0,Ks,0,Ks]),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),n=this.getValidScrollbarCfg(),i=this.view.getOptions().data||[];return t.isReflect("y")&&n.type==="vertical"&&(i=(0,p.ev)([],(0,p.CR)(i),!1).reverse()),i},e}(ga),WC=XC,ZC={fill:"#CCD6EC",opacity:.3};function jC(r,e,t){var n,i,a,o,s,l,u=z1(r,e,t);if(u.length){u=(0,c.xH)(u);try{for(var f=(0,p.XA)(u),h=f.next();!h.done;h=f.next()){var v=h.value;try{for(var d=(a=void 0,(0,p.XA)(v)),g=d.next();!g.done;g=d.next()){var y=g.value,m=y.mappingData,x=m.x,M=m.y;y.x=(0,c.kJ)(x)?x[x.length-1]:x,y.y=(0,c.kJ)(M)?M[M.length-1]:M}}catch(Tt){a={error:Tt}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}}}catch(Tt){n={error:Tt}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}var E=t.shared;if(E===!1&&u.length>1){var F=u[0],N=Math.abs(e.y-F[0].y);try{for(var tt=(0,p.XA)(u),st=tt.next();!st.done;st=tt.next()){var vt=st.value,Dt=Math.abs(e.y-vt[0].y);Dt<=N&&(F=vt,N=Dt)}}catch(Tt){s={error:Tt}}finally{try{st&&!st.done&&(l=tt.return)&&l.call(tt)}finally{if(s)throw s.error}}u=[F]}return(0,c.jj)((0,c.xH)(u))}return[]}var $C=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(t){var n=this.context.view,i=this.context.event,a=n.getController("tooltip").getTooltipCfg(),o=jC(n,{x:i.x,y:i.y},a);if(!(0,c.Xy)(o,this.items)&&(this.items=o,o.length)){var s=n.getXScale().field,l=o[0].data[s],u=[],f=n.geometries;if((0,c.S6)(f,function(me){if(me.type==="interval"||me.type==="schema"){var he=me.getElementsBy(function(xe){var Te=xe.getData();return Te[s]===l});u=u.concat(he)}}),u.length){var h=n.getCoordinate(),v=u[0].shape.getCanvasBBox(),d=u[0].shape.getCanvasBBox(),g=v;(0,c.S6)(u,function(me){var he=me.shape.getCanvasBBox();h.isTransposed?(he.minYd.maxY&&(d=he)):(he.minXd.maxX&&(d=he)),g.x=Math.min(he.minX,g.minX),g.y=Math.min(he.minY,g.minY),g.width=Math.max(he.maxX,g.maxX)-g.x,g.height=Math.max(he.maxY,g.maxY)-g.y});var y=n.backgroundGroup,m=n.coordinateBBox,x=void 0;if(h.isRect){var M=n.getXScale(),E=t||{},F=E.appendRatio,N=E.appendWidth;(0,c.UM)(N)&&(F=(0,c.UM)(F)?M.isLinear?0:.25:F,N=h.isTransposed?F*d.height:F*v.width);var tt=void 0,st=void 0,vt=void 0,Dt=void 0;h.isTransposed?(tt=m.minX,st=Math.min(d.minY,v.minY)-N,vt=m.width,Dt=g.height+N*2):(tt=Math.min(v.minX,d.minX)-N,st=m.minY,vt=g.width+N*2,Dt=m.height),x=[["M",tt,st],["L",tt+vt,st],["L",tt+vt,st+Dt],["L",tt,st+Dt],["Z"]]}else{var Tt=(0,c.YM)(u),Xt=(0,c.Z$)(u),se=co(Tt.getModel(),h).startAngle,be=co(Xt.getModel(),h).endAngle,Ce=h.getCenter(),Ue=h.getRadius(),Kt=h.innerRadius*Ue;x=ti(Ce.x,Ce.y,Ue,se,be,Kt)}if(this.regionPath)this.regionPath.attr("path",x),this.regionPath.show();else{var fe=(0,c.U2)(t,"style",ZC);this.regionPath=y.addShape({type:"path",name:"active-region",capture:!1,attrs:(0,p.pi)((0,p.pi)({},fe),{path:x})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),r.prototype.destroy.call(this)},e}(tr),qC=$C,JC=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.context,n=t.event,i=t.view,a=i.isTooltipLocked();if(!a){var o=this.timeStamp,s=+new Date,l=(0,c.U2)(t.view.getOptions(),"tooltip.showDelay",16);if(s-o>l){var u=this.location,f={x:n.x,y:n.y};(!u||!(0,c.Xy)(u,f))&&this.showTooltip(i,f),this.timeStamp=s,this.location=f}}},e.prototype.hide=function(){var t=this.context.view,n=t.getController("tooltip"),i=this.context.event,a=i.clientX,o=i.clientY;n.isCursorEntered({x:a,y:o})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,n){t.showTooltip(n)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(tr),mp=JC,KC=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.showTooltip=function(t,n){var i=Mn(t);(0,c.S6)(i,function(a){var o=pu(t,a,n);a.showTooltip(o)})},e.prototype.hideTooltip=function(t){var n=Mn(t);(0,c.S6)(n,function(i){i.hideTooltip()})},e}(mp),QC=KC,tA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,n=t.event,i=this.timeStamp,a=+new Date;if(a-i>16){var o=this.location,s={x:n.x,y:n.y};(!o||!(0,c.Xy)(o,s))&&this.showTooltip(s),this.timeStamp=a,this.location=s}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var n=this.context,i=n.event,a=i.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=a.get("tip");this.tooltip.update((0,p.pi)({title:o},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,n=this.context.view,i=n.canvas,a={start:{x:0,y:0},end:{x:i.get("width"),y:i.get("height")}},o=n.getTheme(),s=(0,c.U2)(o,["components","tooltip","domStyles"],{}),l=new xs({parent:i.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:(0,p.pi)({},(0,c.b$)({},s,(t={},t[Rn]={"max-width":"50%"},t[Nn]={"word-break":"break-all"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(tr),eA=tA,rA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t}return e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,n){t.setState(this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var n=this,i=bh(t,this.stateName);(0,c.S6)(i,function(a){n.setElementState(a,!1)})},e}(tr),tc=rA;function xp(r){return(0,c.U2)(r.get("delegateObject"),"item")}var nA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.ignoreListItemStates=["unchecked"],t}return e.prototype.isItemIgnore=function(t,n){var i=this.ignoreListItemStates,a=i.filter(function(o){return n.hasState(t,o)});return!!a.length},e.prototype.setStateByComponent=function(t,n,i){var a=this.context.view,o=t.get("field"),s=mr(a);this.setElementsStateByItem(s,o,n,i)},e.prototype.setStateByElement=function(t,n){this.setElementState(t,n)},e.prototype.isMathItem=function(t,n,i){var a=this.context.view,o=pa(a,n),s=fn(t,n);return!(0,c.UM)(s)&&i.name===o.getText(s)},e.prototype.setElementsStateByItem=function(t,n,i,a){var o=this;(0,c.S6)(t,function(s){o.isMathItem(s,n,i)&&s.setState(o.stateName,a)})},e.prototype.setStateEnable=function(t){var n=ri(this.context);if(n)xh(this.context)&&this.setStateByElement(n,t);else{var i=Ei(this.context);if(po(i)){var a=i.item,o=i.component;if(a&&o&&!this.isItemIgnore(a,o)){var s=this.context.event.gEvent;if(s&&s.fromShape&&s.toShape&&xp(s.fromShape)===xp(s.toShape))return;this.setStateByComponent(o,a,t)}}}},e.prototype.toggle=function(){var t=ri(this.context);if(t){var n=t.hasState(this.stateName);this.setElementState(t,!n)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(tc),ec=nA,iA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(ec),aA=iA,oA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.cache={},t}return e.prototype.getColorScale=function(t,n){var i=n.geometry.getAttribute("color");if(!i)return null;var a=t.getScaleByField(i.getFields()[0]);return a},e.prototype.getLinkPath=function(t,n){var i=this.context.view,a=i.getCoordinate().isTransposed,o=t.shape.getCanvasBBox(),s=n.shape.getCanvasBBox(),l=a?[["M",o.minX,o.minY],["L",s.minX,s.maxY],["L",s.maxX,s.maxY],["L",o.maxX,o.minY],["Z"]]:[["M",o.maxX,o.minY],["L",s.minX,s.minY],["L",s.minX,s.maxY],["L",o.maxX,o.maxY],["Z"]];return l},e.prototype.addLinkShape=function(t,n,i,a){var o={opacity:.4,fill:n.shape.attr("fill")};t.addShape({type:"path",attrs:(0,p.pi)((0,p.pi)({},(0,c.b$)({},o,(0,c.mf)(a)?a(o,n):a)),{path:this.getLinkPath(n,i)})})},e.prototype.linkByElement=function(t,n){var i=this,a=this.context.view,o=this.getColorScale(a,t);if(!!o){var s=fn(t,o.field);if(!this.cache[s]){var l=p1(a,o.field,s),u=this.linkGroup,f=u.addGroup();this.cache[s]=f;var h=l.length;(0,c.S6)(l,function(v,d){if(d=0},n)},e}(rc),Sp=xA,wA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,n){var i=this.context.view,a=mr(i);wp(a,function(o){return t===o},n)},e.prototype.clear=function(){var t=this.context.view;ic(t)},e}(nc),SA=wA,MA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(rc),bA=MA,CA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(ec),AA=CA,TA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(nc),EA=TA,FA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t.ignoreItemStates=[],t}return e.prototype.getTriggerListInfo=function(){var t=Ei(this.context),n=null;return po(t)&&(n={item:t.item,list:t.component}),n},e.prototype.getAllowComponents=function(){var t=this,n=this.context.view,i=Th(n),a=[];return(0,c.S6)(i,function(o){o.isList()&&t.allowSetStateByElement(o)&&a.push(o)}),a},e.prototype.hasState=function(t,n){return t.hasState(n,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,n=this.getAllowComponents();(0,c.S6)(n,function(i){i.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var n=t.get("field");if(!n)return!1;if(this.cfg&&this.cfg.componentNames){var i=t.get("name");if(this.cfg.componentNames.indexOf(i)===-1)return!1}var a=this.context.view,o=pa(a,n);return o&&o.isCategory},e.prototype.allowSetStateByItem=function(t,n){var i=this.ignoreItemStates;if(i.length){var a=i.filter(function(o){return n.hasState(t,o)});return a.length===0}return!0},e.prototype.setStateByElement=function(t,n,i){var a=t.get("field"),o=this.context.view,s=pa(o,a),l=fn(n,a),u=s.getText(l);this.setItemsState(t,u,i)},e.prototype.setStateEnable=function(t){var n=this,i=ri(this.context);if(i){var a=this.getAllowComponents();(0,c.S6)(a,function(u){n.setStateByElement(u,i,t)})}else{var o=Ei(this.context);if(po(o)){var s=o.item,l=o.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(s,l)&&this.setItemState(l,s,t)}}},e.prototype.setItemsState=function(t,n,i){var a=this,o=t.getItems();(0,c.S6)(o,function(s){s.name===n&&a.setItemState(t,s,i)})},e.prototype.setItemState=function(t,n,i){t.setItemState(n,this.stateName,i)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var n=t.list,i=t.item,a=this.hasState(n,i);this.setItemState(n,i,!a)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(tr),Di=FA,IA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(Di),kA=IA,Mp="inactive",bp="active";function LA(r){var e=r.getItems();(0,c.S6)(e,function(t){r.hasState(t,bp)&&r.setItemState(t,bp,!1),r.hasState(t,Mp)&&r.setItemState(t,Mp,!1)})}var Fo="inactive",Oi="active",PA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Oi,t.ignoreItemStates=["unchecked"],t}return e.prototype.setItemsState=function(t,n,i){this.setHighlightBy(t,function(a){return a.name===n},i)},e.prototype.setItemState=function(t,n,i){var a=t.getItems();this.setHighlightBy(t,function(o){return o===n},i)},e.prototype.setHighlightBy=function(t,n,i){var a=t.getItems();if(i)(0,c.S6)(a,function(l){n(l)?(t.hasState(l,Fo)&&t.setItemState(l,Fo,!1),t.setItemState(l,Oi,!0)):t.hasState(l,Oi)||t.setItemState(l,Fo,!0)});else{var o=t.getItemsByState(Oi),s=!0;(0,c.S6)(o,function(l){if(!n(l))return s=!1,!1}),s?this.clear():(0,c.S6)(a,function(l){n(l)&&(t.hasState(l,Oi)&&t.setItemState(l,Oi,!1),t.setItemState(l,Fo,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)LA(t.list);else{var n=this.getAllowComponents();(0,c.S6)(n,function(i){i.clearItemsState(Oi),i.clearItemsState(Fo)})}},e}(Di),oc=PA,DA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(Di),OA=DA,_A=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="unchecked",t}return e.prototype.unchecked=function(){this.setState()},e}(Di),BA=_A,wa="unchecked",Qs="checked",RA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Qs,t}return e.prototype.setItemState=function(t,n,i){this.setCheckedBy(t,function(a){return a===n},i)},e.prototype.setCheckedBy=function(t,n,i){var a=t.getItems();i&&(0,c.S6)(a,function(o){n(o)?(t.hasState(o,wa)&&t.setItemState(o,wa,!1),t.setItemState(o,Qs,!0)):t.hasState(o,Qs)||t.setItemState(o,wa,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var n=t.list,i=t.item,a=!(0,c.G)(n.getItems(),function(o){return n.hasState(o,wa)});a||n.hasState(i,wa)?this.setItemState(n,i,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();(0,c.S6)(t,function(n){n.clearItemsState(Qs),n.clearItemsState(wa)})},e}(Di),NA=RA,Sa="unchecked",zA=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.toggle=function(){var t,n,i,a,o,s,l,u,f=this.getTriggerListInfo();if(f!=null&&f.item){var h=f.list,v=f.item,d=h.getItems(),g=d.filter(function(Tt){return!h.hasState(Tt,Sa)}),y=d.filter(function(Tt){return h.hasState(Tt,Sa)}),m=g[0];if(d.length===g.length)try{for(var x=(0,p.XA)(d),M=x.next();!M.done;M=x.next()){var E=M.value;h.setItemState(E,Sa,E.id!==v.id)}}catch(Tt){t={error:Tt}}finally{try{M&&!M.done&&(n=x.return)&&n.call(x)}finally{if(t)throw t.error}}else if(d.length-y.length===1)if(m.id===v.id)try{for(var F=(0,p.XA)(d),N=F.next();!N.done;N=F.next()){var E=N.value;h.setItemState(E,Sa,!1)}}catch(Tt){i={error:Tt}}finally{try{N&&!N.done&&(a=F.return)&&a.call(F)}finally{if(i)throw i.error}}else try{for(var tt=(0,p.XA)(d),st=tt.next();!st.done;st=tt.next()){var E=st.value;h.setItemState(E,Sa,E.id!==v.id)}}catch(Tt){o={error:Tt}}finally{try{st&&!st.done&&(s=tt.return)&&s.call(tt)}finally{if(o)throw o.error}}else try{for(var vt=(0,p.XA)(d),Dt=vt.next();!Dt.done;Dt=vt.next()){var E=Dt.value;h.setItemState(E,Sa,E.id!==v.id)}}catch(Tt){l={error:Tt}}finally{try{Dt&&!Dt.done&&(u=vt.return)&&u.call(vt)}finally{if(l)throw l.error}}}},e}(Di),UA=zA,Cp="showRadio",sc="legend-radio-tip",VA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var n=t.list,i=t.item;n.setItemState(i,Cp,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var n=t.list,i=t.item;n.setItemState(i,Cp,!1)}},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.showTip=function(){var t=this.context,n=t.event,i=this.timeStamp,a=+new Date,o=this.context.event.target;if(a-i>16&&o.get("name")==="legend-item-radio"){var s=this.location,l={x:n.x,y:n.y};this.timeStamp=a,this.location=l,(!s||!(0,c.Xy)(s,l))&&this.showTooltip(l)}},e.prototype.hideTip=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var n=this.context,i=n.event,a=i.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=n.view.getCanvas().get("el").getBoundingClientRect(),s=o.x,l=o.y;this.tooltip.update((0,p.pi)((0,p.pi)({title:a.get("tip")},t),{x:t.x+s,y:t.y+l})),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,n=(t={},t[Rn]={padding:"6px 8px",transform:"translate(-50%, -80%)",background:"rgba(0,0,0,0.75)",color:"#fff","border-radius":"2px","z-index":100},t[Nn]={"font-size":"12px","line-height":"14px","margin-bottom":0,"word-break":"break-all"},t);document.getElementById(sc)&&document.body.removeChild(document.getElementById(sc));var i=new xs({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:n,containerId:sc});i.init(),i.setCapture(!1),this.tooltip=i},e}(Di),GA=VA,HA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShape=null,t.points=[],t.starting=!1,t.moving=!1,t.preMovePoint=null,t.shapeType="path",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var n="mask:".concat(t),i=this.context.view,a=this.context.event;i.emit(n,{target:this.maskShape,shape:this.maskShape,points:this.points,x:a.x,y:a.y})},e.prototype.createMask=function(){var t=this.context.view,n=this.getMaskAttrs(),i=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:(0,p.pi)({fill:"#C5D4EB",opacity:.3},n)});return i},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(!(!this.moving||!this.maskShape)){var t=this.getCurrentPoint(),n=this.preMovePoint,i=t.x-n.x,a=t.y-n.y,o=this.points;(0,c.S6)(o,function(s){s.x+=i,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var n=(0,c.b$)({},this.getMaskAttrs(),t);this.maskShape.attr(n)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,r.prototype.destroy.call(this)},e}(tr),lc=HA;function Ap(r){var e=(0,c.Z$)(r),t=0,n=0,i=0;if(r.length){var a=r[0];t=vu(a,e)/2,n=(e.x+a.x)/2,i=(e.y+a.y)/2}return{x:n,y:i,r:t}}var YA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t}return e.prototype.getMaskAttrs=function(){return Ap(this.points)},e}(lc),XA=YA;function Tp(r){return{start:(0,c.YM)(r),end:(0,c.Z$)(r)}}function Ep(r,e){var t=Math.min(r.x,e.x),n=Math.min(r.y,e.y),i=Math.abs(e.x-r.x),a=Math.abs(e.y-r.y);return{x:t,y:n,width:i,height:a}}var WA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(){return Tp(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),n=t.start,i=t.end;return Ep(n,i)},e}(lc),Fp=WA;function Ip(r){r.x=(0,c.uZ)(r.x,0,1),r.y=(0,c.uZ)(r.y,0,1)}function kp(r,e,t,n){var i=null,a=null,o=n.invert((0,c.YM)(r)),s=n.invert((0,c.Z$)(r));return t&&(Ip(o),Ip(s)),e==="x"?(i=n.convert({x:o.x,y:0}),a=n.convert({x:s.x,y:1})):(i=n.convert({x:0,y:o.y}),a=n.convert({x:1,y:s.y})),{start:i,end:a}}var ZA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(){var t=this.context.view.getCoordinate();return kp(this.points,this.dim,this.inPlot,t)},e}(Fp),Lp=ZA;function uc(r){var e=[];return r.length&&((0,c.S6)(r,function(t,n){n===0?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",r[0].x,r[0].y])),e}function Pp(r){return{path:uc(r)}}var jA=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return uc(this.points)},e.prototype.getMaskAttrs=function(){return Pp(this.points)},e.prototype.addPoint=function(){this.resize()},e}(lc),Dp=jA;function cc(r){return g1(r,!0)}function Op(r){return{path:cc(r)}}var $A=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return cc(this.points)},e.prototype.getMaskAttrs=function(){return Op(this.points)},e}(Dp),qA=$A,JA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShapes=[],t.starting=!1,t.moving=!1,t.recordPoints=null,t.preMovePoint=null,t.shapeType="path",t.maskType="multi-mask",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var n="".concat(this.maskType,":").concat(t),i=this.context.view,a=this.context.event,o={type:this.shapeType,name:this.maskType,get:function(s){return o.hasOwnProperty(s)?o[s]:void 0}};i.emit(n,{target:o,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:a.x,y:a.y})},e.prototype.createMask=function(t){var n=this.context.view,i=this.recordPoints[t],a=this.getMaskAttrs(i),o=n.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:(0,p.pi)({fill:"#C5D4EB",opacity:.3},a)});this.maskShapes.push(o)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.show()}),this.emitEvent("show"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var n=this.recordPoints.length-1;this.createMask(n),this.updateShapesCapture(!1),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(!(!this.moving||this.maskShapes.length===0)){var t=this.getCurrentPoint(),n=this.preMovePoint,i=t.x-n.x,a=t.y-n.y,o=this.getCurMaskShapeIndex();o>-1&&(this.recordPoints[o].forEach(function(s){s.x+=i,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var n=this;this.recordPoints.forEach(function(i,a){var o=(0,c.b$)({},n.getMaskAttrs(i),t);n.maskShapes[a].attr(o)})},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent("change"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.hide()}),this.emitEvent("hide"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent("change"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach(function(t){return t.remove()}),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();t===-1?(this.recordPointClear(),this.maskShapes.forEach(function(n){return n.remove()}),this.maskShapes=[],this.emitEvent("clearAll")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent("clearSingle")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),r.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return(0,p.ev)([],(0,p.CR)((t=this.recordPoints)!==null&&t!==void 0?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),n=this.getCurrentPoint();this.recordPoints=(0,p.ev)((0,p.ev)([],(0,p.CR)(t),!1),[[n]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),n=this.getCurrentPoint(),i=t.splice(-1,1)[0]||[];i.push(n),this.recordPoints=(0,p.ev)((0,p.ev)([],(0,p.CR)(t),!1),[i],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach(function(n){return n.set("capture",t)})},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex(function(n){var i=n.attrs,a=i.width,o=i.height,s=i.r,l=a===0||o===0||s===0;return!l&&n.isHit(t.x,t.y)})},e}(tr),fc=JA,KA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(t){return Tp(t)},e.prototype.getMaskAttrs=function(t){var n=this.getRegion(t),i=n.start,a=n.end;return Ep(i,a)},e}(fc),_p=KA,QA=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(t){var n=this.context.view.getCoordinate();return kp(t,this.dim,this.inPlot,n)},e}(_p),Bp=QA,t2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t.getMaskAttrs=Ap,t}return e}(fc),e2=t2,r2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=uc,t.getMaskAttrs=Pp,t}return e.prototype.addPoint=function(){this.resize()},e}(fc),Rp=r2,n2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=cc,t.getMaskAttrs=Op,t}return e}(Rp),i2=n2,a2=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.setCursor=function(t){var n=this.context.view;n.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e.prototype.zoomIn=function(){this.setCursor("zoom-in")},e.prototype.zoomOut=function(){this.setCursor("zoom-out")},e}(tr),o2=a2,s2=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,n,i){var a=this;t.getScaleByField(n)&&t.filter(n,i),t.views&&t.views.length&&(0,c.S6)(t.views,function(o){a.filterView(o,n,i)})},e.prototype.filter=function(){var t=Ei(this.context);if(t){var n=this.context.view,i=t.component,a=i.get("field");if(po(t)){if(a){var o=i.getItemsByState("unchecked"),s=pa(n,a),l=o.map(function(d){return d.name});l.length?this.filterView(n,a,function(d){var g=s.getText(d);return!l.includes(g)}):this.filterView(n,a,null),n.render(!0)}}else if(wh(t)){var u=i.getValue(),f=(0,p.CR)(u,2),h=f[0],v=f[1];this.filterView(n,a,function(d){return d>=h&&d<=v}),n.render(!0)}}},e}(tr),l2=s2;function Np(r,e,t,n){var i=Math.min(t[e],n[e]),a=Math.max(t[e],n[e]),o=(0,p.CR)(r.range,2),s=o[0],l=o[1];if(il&&(a=l),i===l&&a===l)return null;var u=r.invert(i),f=r.invert(a);if(r.isCategory){var h=r.values.indexOf(u),v=r.values.indexOf(f),d=r.values.slice(h,v+1);return function(g){return d.includes(g)}}else return function(g){return g>=u&&g<=f}}var Br;(function(r){r.FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset"})(Br||(Br={}));var u2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=["x","y"],t.startPoint=null,t.isStarted=!1,t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,n;if(go(this.context)){var i=this.context.event.target,a=i.getCanvasBBox();t={x:a.x,y:a.y},n={x:a.maxX,y:a.maxY}}else{if(!this.isStarted)return;t=this.startPoint,n=this.context.getCurrentPoint()}if(!(Math.abs(t.x-n.x)<5||Math.abs(t.x-n.y)<5)){var o=this.context,s=o.view,l=o.event,u={view:s,event:l,dims:this.dims};s.emit(Br.BEFORE_FILTER,ir.fromData(s,Br.BEFORE_FILTER,u));var f=s.getCoordinate(),h=f.invert(n),v=f.invert(t);if(this.hasDim("x")){var d=s.getXScale(),g=Np(d,"x",h,v);this.filterView(s,d.field,g)}if(this.hasDim("y")){var y=s.getYScales()[0],g=Np(y,"y",h,v);this.filterView(s,y.field,g)}this.reRender(s,{source:Br.FILTER}),s.emit(Br.AFTER_FILTER,ir.fromData(s,Br.AFTER_FILTER,u))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(Br.BEFORE_RESET,ir.fromData(t,Br.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var n=t.getXScale();this.filterView(t,n.field,null)}if(this.hasDim("y")){var i=t.getYScales()[0];this.filterView(t,i.field,null)}this.reRender(t,{source:Br.RESET}),t.emit(Br.AFTER_RESET,ir.fromData(t,Br.AFTER_RESET,{}))},e.prototype.filterView=function(t,n,i){t.filter(n,i)},e.prototype.reRender=function(t,n){t.render(!0,n)},e}(tr),tl=u2,c2=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,n,i){var a=Mn(t);(0,c.S6)(a,function(o){o.filter(n,i)})},e.prototype.reRender=function(t){var n=Mn(t);(0,c.S6)(n,function(i){i.render(!0)})},e}(tl),hc=c2,f2=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filter=function(){var t=Ei(this.context),n=this.context.view,i=mr(n);if(go(this.context)){var a=hu(this.context,10);a&&(0,c.S6)(i,function(y){a.includes(y)?y.show():y.hide()})}else if(t){var o=t.component,s=o.get("field");if(po(t)){if(s){var l=o.getItemsByState("unchecked"),u=pa(n,s),f=l.map(function(y){return y.name});(0,c.S6)(i,function(y){var m=fn(y,s),x=u.getText(m);f.indexOf(x)>=0?y.hide():y.show()})}}else if(wh(t)){var h=o.getValue(),v=(0,p.CR)(h,2),d=v[0],g=v[1];(0,c.S6)(i,function(y){var m=fn(y,s);m>=d&&m<=g?y.show():y.hide()})}}},e.prototype.clear=function(){var t=mr(this.context.view);(0,c.S6)(t,function(n){n.show()})},e.prototype.reset=function(){this.clear()},e}(tr),h2=f2,v2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.byRecord=!1,t}return e.prototype.filter=function(){go(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,n=hu(this.context,10);if(!!n){var i=t.getXScale().field,a=t.getYScales()[0].field,o=n.map(function(l){return l.getModel().data}),s=Mn(t);(0,c.S6)(s,function(l){var u=mr(l);(0,c.S6)(u,function(f){var h=f.getModel().data;Fh(o,h,i,a)?f.show():f.hide()})})}},e.prototype.filterByBBox=function(){var t=this,n=this.context.view,i=Mn(n);(0,c.S6)(i,function(a){var o=Sh(t.context,a,10),s=mr(a);o&&(0,c.S6)(s,function(l){o.includes(l)?l.show():l.hide()})})},e.prototype.reset=function(){var t=Mn(this.context.view);(0,c.S6)(t,function(n){var i=mr(n);(0,c.S6)(i,function(a){a.show()})})},e}(tr),zp=v2,p2=10,d2=5,g2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.buttonGroup=null,t.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},t}return e.prototype.getButtonCfg=function(){return(0,c.b$)(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),n=this.context.view.foregroundGroup.addGroup({name:t.name}),i=n.addShape({type:"text",name:"button-text",attrs:(0,p.pi)({text:t.text},t.textStyle)}),a=i.getBBox(),o=mu(t.padding),s=n.addShape({type:"rect",name:"button-rect",attrs:(0,p.pi)({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2]},t.style)});s.toBack(),n.on("mouseenter",function(){s.attr(t.activeStyle)}),n.on("mouseleave",function(){s.attr(t.style)}),this.buttonGroup=n},e.prototype.resetPosition=function(){var t=this.context.view,n=t.getCoordinate(),i=n.convert({x:1,y:1}),a=this.buttonGroup,o=a.getBBox(),s=Qe.vs(null,[["t",i.x-o.width-p2,i.y+o.height+d2]]);a.setMatrix(s)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var t=this.buttonGroup;t&&t.remove(),r.prototype.destroy.call(this)},e}(tr),y2=g2,m2=4,x2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.dragStart=!1,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(!!this.startPoint){var t=this.context.getCurrentPoint(),n=this.context.view,i=this.context.event;this.dragStart?n.emit("drag",{target:i.target,x:i.x,y:i.y}):vu(t,this.startPoint)>m2&&(n.emit("dragstart",{target:i.target,x:i.x,y:i.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,n=this.context.event;t.emit("dragend",{target:n.target,x:n.x,y:n.y})}this.starting=!1,this.dragStart=!1},e}(tr),w2=x2,S2=5,M2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.isMoving=!1,t.startPoint=null,t.startMatrix=null,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(!!this.starting){var t=this.startPoint,n=this.context.getCurrentPoint(),i=vu(t,n);if(i>S2&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var a=this.context.view,o=Qe.vs(this.startMatrix,[["t",n.x-t.x,n.y-t.y]]);a.backgroundGroup.setMatrix(o),a.foregroundGroup.setMatrix(o),a.middleGroup.setMatrix(o)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(tr),b2=M2,Up="x",Vp="y",C2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=[Up,Vp],t.cfgFields=["dims"],t.cacheScaleDefs={},t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var n=this.context.view;return t==="x"?n.getXScale():n.getYScales()[0]},e.prototype.resetDim=function(t){var n=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var i=this.getScale(t);n.scale(i.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(Up),this.resetDim(Vp);var t=this.context.view;t.render(!0)},e}(tr),Gp=C2,A2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.startPoint=null,t.starting=!1,t.startCache={},t}return e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var n=this.dims;(0,c.S6)(n,function(i){var a=t.getScale(i),o=a.min,s=a.max,l=a.values;t.startCache[i]={min:o,max:s,values:l}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(!!this.starting){var n=this.startPoint,i=this.context.view.getCoordinate(),a=this.context.getCurrentPoint(),o=i.invert(n),s=i.invert(a),l=s.x-o.x,u=s.y-o.y,f=this.context.view,h=this.dims;(0,c.S6)(h,function(v){t.translateDim(v,{x:l*-1,y:u*-1})}),f.render(!0)}},e.prototype.translateDim=function(t,n){if(this.hasDim(t)){var i=this.getScale(t);i.isLinear&&this.translateLinear(t,i,n)}},e.prototype.translateLinear=function(t,n,i){var a=this.context.view,o=this.startCache[t],s=o.min,l=o.max,u=l-s,f=i[t]*u;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:n.nice,min:s,max:l}),a.scale(n.field,{nice:!1,min:s+f,max:l+f})},e.prototype.reset=function(){r.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(Gp),T2=A2,E2=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.zoomRatio=.05,t}return e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var n=this,i=this.dims;(0,c.S6)(i,function(a){n.zoomDim(a,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,n){if(this.hasDim(t)){var i=this.getScale(t);i.isLinear&&this.zoomLinear(t,i,n)}},e.prototype.zoomLinear=function(t,n,i){var a=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:n.nice,min:n.min,max:n.max});var o=this.cacheScaleDefs[t],s=o.max-o.min,l=n.min,u=n.max,f=i*s,h=l-f,v=u+f,d=v-h,g=d/s;v>h&&g<100&&g>.01&&a.scale(n.field,{nice:!1,min:l-f,max:u+f})},e}(Gp),F2=E2;function I2(r){var e=r.gEvent.originalEvent;return e.deltaY>0}var k2=1,L2=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.scroll=function(t){var n=this.context,i=n.view,a=n.event;if(!!i.getOptions().scrollbar){var o=(t==null?void 0:t.wheelDelta)||k2,s=i.getController("scrollbar"),l=i.getXScale(),u=i.getOptions().data,f=(0,c.dp)((0,c.I)(u,l.field)),h=(0,c.dp)(l.values),v=s.getValue(),d=Math.floor((f-h)*v),g=d+(I2(a)?o:-o),y=o/(f-h)/1e4,m=(0,c.uZ)(g/(f-h)+y,0,1);s.setValue(m)}},e}(tr),P2=L2,D2="aixs-description-tooltip",O2=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(){var t=this.context,n=Ei(t).axis,i=n.cfg.title,a=i.description,o=i.text,s=i.descriptionTooltipStyle,l=t.event,u=l.x,f=l.y;this.tooltip||this.renderTooltip(),this.tooltip.update({title:o||"",customContent:function(){return` -
      -
      - \u5B57\u6BB5\u8BF4\u660E\uFF1A`).concat(a,` -
      -
      - `)},x:u,y:f}),this.tooltip.show()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.hide=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,n=this.context.view,i=n.canvas,a={start:{x:0,y:0},end:{x:i.get("width"),y:i.get("height")}},o=new xs({parent:i.get("el").parentNode,region:a,visible:!1,containerId:D2,domStyles:(0,p.pi)({},(0,c.b$)({},(t={},t[Rn]={"max-width":"50%",padding:"10px","line-height":"15px","font-size":"12px",color:"rgba(0, 0, 0, .65)"},t[Nn]={"word-break":"break-all","margin-bottom":"3px"},t)))});o.init(),o.setCapture(!1),this.tooltip=o},e}(tr),_2=O2;P1("dark",Ph(Fw)),lt("canvas",Qt),lt("svg",Wt),bn("Polygon",WM),bn("Interval",NM),bn("Schema",jM),bn("Path",zu),bn("Point",HM),bn("Line",UM),bn("Area",FM),bn("Edge",kM),bn("Heatmap",PM),bn("Violin",JM),mo("base",Ds),mo("interval",pb),mo("pie",yb),mo("polar",Xv),Or("overlap",Lb),Or("distribute",xb),Or("fixed-overlap",kb),Or("hide-overlap",Vb),Or("limit-in-shape",Tb),Or("limit-in-canvas",Ab),Or("limit-in-plot",iC),Or("pie-outer",Sb),Or("adjust-color",Hb),Or("interval-adjust-position",Zb),Or("interval-hide-overlap",$b),Or("point-adjust-position",Kb),Or("pie-spider",Cb),Or("path-adjust-position",eC),Yr("fade-in",aC),Yr("fade-out",oC),Yr("grow-in-x",lC),Yr("grow-in-xy",cC),Yr("grow-in-y",uC),Yr("scale-in-x",vC),Yr("scale-in-y",pC),Yr("wave-in",gC),Yr("zoom-in",yC),Yr("zoom-out",mC),Yr("position-update",hC),Yr("sector-path-update",dC),Yr("path-in",fC),va("rect",FC),va("mirror",TC),va("list",MC),va("matrix",CC),va("circle",wC),va("tree",kC),Fi("axis",_C),Fi("legend",UC),Fi("tooltip",Vh),Fi("annotation",DC),Fi("slider",GC),Fi("scrollbar",WC),Me("tooltip",mp),Me("sibling-tooltip",QC),Me("ellipsis-text",eA),Me("element-active",aA),Me("element-single-active",vA),Me("element-range-active",cA),Me("element-highlight",ac),Me("element-highlight-by-x",mA),Me("element-highlight-by-color",gA),Me("element-single-highlight",SA),Me("element-range-highlight",Sp),Me("element-sibling-highlight",Sp,{effectSiblings:!0,effectByRecord:!0}),Me("element-selected",AA),Me("element-single-selected",EA),Me("element-range-selected",bA),Me("element-link-by-color",sA),Me("active-region",qC),Me("list-active",kA),Me("list-selected",OA),Me("list-highlight",oc),Me("list-unchecked",BA),Me("list-checked",NA),Me("list-focus",UA),Me("list-radio",GA),Me("legend-item-highlight",oc,{componentNames:["legend"]}),Me("axis-label-highlight",oc,{componentNames:["axis"]}),Me("axis-description",_2),Me("rect-mask",Fp),Me("x-rect-mask",Lp,{dim:"x"}),Me("y-rect-mask",Lp,{dim:"y"}),Me("circle-mask",XA),Me("path-mask",Dp),Me("smooth-path-mask",qA),Me("rect-multi-mask",_p),Me("x-rect-multi-mask",Bp,{dim:"x"}),Me("y-rect-multi-mask",Bp,{dim:"y"}),Me("circle-multi-mask",e2),Me("path-multi-mask",Rp),Me("smooth-path-multi-mask",i2),Me("cursor",o2),Me("data-filter",l2),Me("brush",tl),Me("brush-x",tl,{dims:["x"]}),Me("brush-y",tl,{dims:["y"]}),Me("sibling-filter",hc),Me("sibling-x-filter",hc),Me("sibling-y-filter",hc),Me("element-filter",h2),Me("element-sibling-filter",zp),Me("element-sibling-filter-record",zp,{byRecord:!0}),Me("view-drag",w2),Me("view-move",b2),Me("scale-translate",T2),Me("scale-zoom",F2),Me("reset-button",y2,{name:"reset-button",text:"reset"}),Me("mousewheel-scroll",P2);function Vn(r){return r.isInPlot()}Pe("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Pe("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseout",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Pe("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Pe("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Pe("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Pe("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Pe("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),Pe("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Pe("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Pe("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),Pe("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),Pe("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(r){return!r.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(r){return!r.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),Pe("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Vn,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:Vn,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:Vn,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),Pe("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),Pe("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Vn,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:Vn,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:Vn,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),Pe("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Vn,action:"path-mask:start"},{trigger:"mousedown",isEnable:Vn,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),Pe("brush-x-multi",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"mousedown",isEnable:Vn,action:["x-rect-multi-mask:start","x-rect-multi-mask:show"]},{trigger:"mask:dragstart",action:["x-rect-multi-mask:moveStart"]}],processing:[{trigger:"mousemove",isEnable:function(r){return!Es(r)},action:["x-rect-multi-mask:resize"]},{trigger:"multi-mask:change",action:"element-range-highlight:highlight"},{trigger:"mask:drag",action:["x-rect-multi-mask:move"]}],end:[{trigger:"mouseup",action:["x-rect-multi-mask:end"]},{trigger:"mask:dragend",action:["x-rect-multi-mask:moveEnd"]}],rollback:[{trigger:"dblclick",action:["x-rect-multi-mask:clear","cursor:crosshair"]},{trigger:"multi-mask:clearAll",action:["element-range-highlight:clear"]},{trigger:"multi-mask:clearSingle",action:["element-range-highlight:highlight"]}]}),Pe("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),Pe("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:["cursor:pointer","list-radio:show"]},{trigger:"legend-item:mouseleave",action:["cursor:default","list-radio:hide"]}],start:[{trigger:"legend-item:click",isEnable:function(r){return!r.isInShape("legend-item-radio")},action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","data-filter:filter","list-radio:show"]},{trigger:"legend-item-radio:mouseenter",action:["list-radio:showTip"]},{trigger:"legend-item-radio:mouseleave",action:["list-radio:hideTip"]},{trigger:"legend-item-radio:click",action:["list-focus:toggle","data-filter:filter","list-radio:show"]}]}),Pe("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),Pe("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),Pe("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","element-filter:filter"]}]}),Pe("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),Pe("axis-description",{start:[{trigger:"axis-description:mousemove",action:"axis-description:show"}],end:[{trigger:"axis-description:mouseleave",action:"axis-description:hide"}]});function Hp(r){return r.gEvent.preventDefault(),r.gEvent.originalEvent.deltaY>0}Pe("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(r){return Hp(r.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(r){return!Hp(r.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),Pe("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),Pe("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var Rr=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],pn;(function(r){r.ERROR="error",r.WARN="warn",r.INFO="log"})(pn||(pn={}));var Yp="AntV/G2Plot";function Xp(r){for(var e=[],t=1;t=0}),i=t.every(function(a){return(0,c.U2)(a,[e])<=0});return n?{min:0}:i?{max:0}:{}}function Wp(r,e,t,n,i){if(i===void 0&&(i=[]),!Array.isArray(r))return{nodes:[],links:[]};var a=[],o={},s=-1;return r.forEach(function(l){var u=l[e],f=l[t],h=l[n],v=$e(l,i);o[u]||(o[u]=(0,p.pi)({id:++s,name:u},v)),o[f]||(o[f]=(0,p.pi)({id:++s,name:f},v)),a.push((0,p.pi)({source:o[u].id,target:o[f].id,value:h},v))}),{nodes:Object.values(o).sort(function(l,u){return l.id-u.id}),links:a}}function Ma(r,e){var t=(0,c.hX)(r,function(n){var i=n[e];return i===null||typeof i=="number"&&!isNaN(i)});return Gn(pn.WARN,t.length===r.length,"illegal data existed in chart data."),t}var B2=5,R2={}.toString,Zp=function(r,e){return R2.call(r)==="[object "+e+"]"},N2=function(r){return Zp(r,"Array")},z2=function(r){return typeof r=="object"&&r!==null},jp=function(r){if(!z2(r)||!Zp(r,"Object"))return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e},$p=function(r,e,t,n){t=t||0,n=n||B2;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=e[i];a?jp(a)?(jp(r[i])||(r[i]={}),t=n&&r<=i}function ci(r){if((0,c.hj)(r))return[r,r,r,r];if((0,c.kJ)(r)){var e=r.length;if(e===1)return[r[0],r[0],r[0],r[0]];if(e===2)return[r[0],r[1],r[0],r[1]];if(e===3)return[r[0],r[1],r[2],r[1]];if(e===4)return r}return[0,0,0,0]}function rl(r,e,t){e===void 0&&(e="bottom"),t===void 0&&(t=25);var n=ci(r),i=[e.startsWith("top")?t:0,e.startsWith("right")?t:0,e.startsWith("bottom")?t:0,e.startsWith("left")?t:0];return[n[0]+i[0],n[1]+i[1],n[2]+i[2],n[3]+i[3]]}function gc(r){var e=r.map(function(n){return ci(n)}),t=[0,0,0,0];return e.length>0&&(t=t.map(function(n,i){return e.forEach(function(a,o){n+=e[o][i]}),n})),t}function H2(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var n=1,i=r.length;n"},key:(l===0?"top":"bottom")+"-statistic"},$e(s,["offsetX","offsetY","rotate","style","formatter"])))}})},Z2=function(r,e,t){var n=e.statistic,i=n.title,a=n.content;[i,a].forEach(function(o){if(!!o){var s=(0,c.mf)(o.style)?o.style(t):o.style;r.annotation().html((0,p.pi)({position:["50%","100%"],html:function(l,u){var f=u.getCoordinate(),h=u.views[0].getCoordinate(),v=h.getCenter(),d=h.getRadius(),g=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*d,y=v.y+g-f.y.start-parseFloat((0,c.U2)(s,"fontSize",0)),m=f.getRadius()*f.innerRadius*2;Kp(l,(0,p.pi)({width:m+"px",transform:"translate(-50%, "+y+"px)"},Jp(s)));var x=u.getData();if(o.customHtml)return o.customHtml(l,u,t,x);var M=o.content;return o.formatter&&(M=o.formatter(t,x)),M?(0,c.HD)(M)?M:""+M:"
      "}},$e(o,["offsetX","offsetY","rotate","style","formatter"])))}})};function Qp(r,e){return e?(0,c.u4)(e,function(t,n,i){return t.replace(new RegExp("{\\s*"+i+"\\s*}","g"),n)},r):r}function Be(r,e){return r.views.find(function(t){return t.id===e})}function ko(r){var e=r.parent;return e?e.views:[]}function td(r){return ko(r).filter(function(e){return e!==r})}function Lo(r,e,t){t===void 0&&(t=r.geometries),typeof e=="boolean"?r.animate(e):r.animate(!0),(0,c.S6)(t,function(n){var i;(0,c.mf)(e)?i=e(n.type||n.shapeType,n)||!0:i=e,n.animate(i)})}function il(){return typeof window=="object"?window==null?void 0:window.devicePixelRatio:2}function yc(r,e){e===void 0&&(e=r);var t=document.createElement("canvas"),n=il();t.width=r*n,t.height=e*n,t.style.width=r+"px",t.style.height=e+"px";var i=t.getContext("2d");return i.scale(n,n),t}function mc(r,e,t,n){n===void 0&&(n=t);var i=e.backgroundColor,a=e.opacity;r.globalAlpha=a,r.fillStyle=i,r.beginPath(),r.fillRect(0,0,t,n),r.closePath()}function ed(r,e,t){var n=r+e;return t?n*2:n}function rd(r,e){var t=e?[[r*.25,r*.25],[r*.75,r*.75]]:[[r*.5,r*.5]];return t}function xc(r,e){var t=e*Math.PI/180,n={a:Math.cos(t)*(1/r),b:Math.sin(t)*(1/r),c:-Math.sin(t)*(1/r),d:Math.cos(t)*(1/r),e:0,f:0};return n}var j2={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0};function $2(r,e,t,n){var i=e.size,a=e.fill,o=e.lineWidth,s=e.stroke,l=e.fillOpacity;r.beginPath(),r.globalAlpha=l,r.fillStyle=a,r.strokeStyle=s,r.lineWidth=o,r.arc(t,n,i/2,0,2*Math.PI,!1),r.fill(),o&&r.stroke(),r.closePath()}function q2(r){var e=It({},j2,r),t=e.size,n=e.padding,i=e.isStagger,a=e.rotation,o=ed(t,n,i),s=rd(o,i),l=yc(o,o),u=l.getContext("2d");mc(u,e,o);for(var f=0,h=s;fE){var N=F/y.length,tt=Math.max(1,Math.ceil(E/N)-1),st=y.slice(0,tt)+"...";M.attr("text",st)}}}}function TT(r,e,t){CT(r,e,t),AT(r,e,t)}function ET(r,e,t){return e===void 0&&(e=!0),t===void 0&&(t=!1),function(n){var i=n.options,a=n.chart,o=i.conversionTag,s=i.theme;return o&&!t&&(a.theme(It({},(0,c.Kn)(s)?s:yo(s),{columnWidthRatio:1/3})),a.annotation().shape({render:function(l,u){var f=l.addGroup({id:a.id+"-conversion-tag-group",name:"conversion-tag-group"}),h=(0,c.sE)(a.geometries,function(g){return g.type==="interval"}),v={view:u,geometry:h,group:f,field:r,horizontal:e,options:bT(o,e)},d=h.elements;(0,c.S6)(d,function(g,y){y>0&&TT(v,d[y-1],g)})}})),n}}function FT(r){var e=r.options,t=e.legend,n=e.seriesField,i=e.isStack;return n?t!==!1&&(t=(0,p.pi)({position:i?"right-top":"top-left"},t)):t=!1,r.options.legend=t,r}function IT(r){var e=r.chart,t=r.options,n=t.data,i=t.columnStyle,a=t.color,o=t.columnWidthRatio,s=t.isPercent,l=t.isGroup,u=t.isStack,f=t.xField,h=t.yField,v=t.seriesField,d=t.groupField,g=t.tooltip,y=t.shape,m=s&&l&&u?uT(n,h,[f,d],h):Do(n,h,f,h,s),x=[];u&&v&&!l?m.forEach(function(F){var N=x.find(function(tt){return tt[f]===F[f]&&tt[v]===F[v]});N?N[h]+=F[h]||0:x.push((0,p.pi)({},F))}):x=m,e.data(x);var M=s?(0,p.pi)({formatter:function(F){return{name:l&&u?F[v]+" - "+F[d]:F[v]||F[f],value:(Number(F[h])*100).toFixed(2)+"%"}}},g):g,E=It({},r,{options:{data:x,widthRatio:o,tooltip:M,interval:{shape:y,style:i,color:a}}});return br(E),E}function bc(r){var e,t,n=r.options,i=n.xAxis,a=n.yAxis,o=n.xField,s=n.yField,l=n.data,u=n.isPercent,f=u?{max:1,min:0,minLimit:0,maxLimit:1}:{};return Fe(ar((e={},e[o]=i,e[s]=a,e),(t={},t[o]={type:"cat"},t[s]=(0,p.pi)((0,p.pi)({},vc(l,s)),f),t)))(r)}function kT(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n===!1?e.axis(a,!1):e.axis(a,n),i===!1?e.axis(o,!1):e.axis(o,i),r}function LT(r){var e=r.chart,t=r.options,n=t.legend,i=t.seriesField;return n&&i?e.legend(i,n):n===!1&&e.legend(!1),r}function PT(r){var e=r.chart,t=r.options,n=t.label,i=t.yField,a=t.isRange,o=Mr(e,"interval");if(!n)o.label(!1);else{var s=n.callback,l=(0,p._T)(n,["callback"]);o.label({fields:[i],callback:s,cfg:(0,p.pi)({layout:l!=null&&l.position?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},dr(a?(0,p.pi)({content:function(u){var f;return(f=u[i])===null||f===void 0?void 0:f.join("-")}},l):l))})}return r}function DT(r){var e=r.chart,t=r.options,n=t.tooltip,i=t.isGroup,a=t.isStack,o=t.groupField,s=t.data,l=t.xField,u=t.yField,f=t.seriesField;if(n===!1)e.tooltip(!1);else{var h=n;if(i&&a){var v=h.customItems,d=(h==null?void 0:h.formatter)||function(g){return{name:g[f]+" - "+g[o],value:g[u]}};h=(0,p.pi)((0,p.pi)({},h),{customItems:function(g){var y=[];return(0,c.S6)(g,function(m){var x=(0,c.hX)(s,function(M){return(0,c.BD)(M,$e(m.data,[l,f]))});x.forEach(function(M){y.push((0,p.pi)((0,p.pi)((0,p.pi)({},m),{value:M[u],data:M,mappingData:{_origin:M}}),d(M)))})}),v?v(y):y}})}e.tooltip(h)}return r}function hl(r,e){e===void 0&&(e=!1);var t=r.options,n=t.seriesField;return Fe(FT,Ye,Xr("columnStyle"),fi,nd("rect"),IT,bc,kT,LT,DT,Po,wc,PT,gd,rr,qe,nr(),ET(t.yField,!e,!!n),MT(!t.isStack),Ri)(r)}function OT(r){var e=r.options,t=e.xField,n=e.yField,i=e.xAxis,a=e.yAxis,o={left:"bottom",right:"top",top:"left",bottom:"right"},s=a!==!1?(0,p.pi)({position:o[(a==null?void 0:a.position)||"left"]},a):!1,l=i!==!1?(0,p.pi)({position:o[(i==null?void 0:i.position)||"bottom"]},i):!1;return(0,p.pi)((0,p.pi)({},r),{options:(0,p.pi)((0,p.pi)({},e),{xField:n,yField:t,xAxis:s,yAxis:l})})}function _T(r){var e=r.options,t=e.label;return t&&!t.position&&(t.position="left",t.layout||(t.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}])),It({},r,{options:{label:t}})}function BT(r){var e=r.options,t=e.seriesField,n=e.isStack,i=e.legend;return t?i!==!1&&(i=(0,p.pi)({position:n?"top-left":"right-top"},i||{})):i=!1,It({},r,{options:{legend:i}})}function RT(r){var e=r.options,t=[{type:"transpose"},{type:"reflectY"}].concat(e.coordinate||[]);return It({},r,{options:{coordinate:t}})}function NT(r){var e=r.chart,t=r.options,n=t.barStyle,i=t.barWidthRatio,a=t.minBarWidth,o=t.maxBarWidth,s=t.barBackground;return hl({chart:e,options:(0,p.pi)((0,p.pi)({},t),{columnStyle:n,columnWidthRatio:i,minColumnWidth:a,maxColumnWidth:o,columnBackground:s})},!0)}function md(r){return Fe(OT,_T,BT,hr,RT,NT)(r)}var zT=It({},Oe.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),UT=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bar",t}return e.getDefaultOptions=function(){return zT},e.prototype.changeData=function(t){var n,i;this.updateOption({data:t});var a=this,o=a.chart,s=a.options,l=s.isPercent,u=s.xField,f=s.yField,h=s.xAxis,v=s.yAxis;n=[f,u],u=n[0],f=n[1],i=[v,h],h=i[0],v=i[1];var d=(0,p.pi)((0,p.pi)({},s),{xField:u,yField:f,yAxis:v,xAxis:h});bc({chart:o,options:d}),o.changeData(Do(t,u,f,u,l))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return md},e}(Oe),VT=It({},Oe.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),GT=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="column",t}return e.getDefaultOptions=function(){return VT},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this.options,i=n.yField,a=n.xField,o=n.isPercent,s=this,l=s.chart,u=s.options;bc({chart:l,options:u}),this.chart.changeData(Do(t,i,a,i,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return hl},e}(Oe),Cc,hi="$$percentage$$",vi="$$mappingValue$$",Yn="$$conversion$$",Ac="$$totalPercentage$$",Oo="$$x$$",_o="$$y$$",HT={appendPadding:[0,80],minSize:0,maxSize:1,meta:(Cc={},Cc[vi]={min:0,max:1,nice:!1},Cc),label:{style:{fill:"#fff",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:"rgba(0,0,0,0.45)"}}},xd="CONVERSION_TAG_NAME";function Tc(r,e,t){var n=[],i=t.yField,a=t.maxSize,o=t.minSize,s=(0,c.U2)((0,c.UT)(e,i),[i]),l=(0,c.hj)(a)?a:1,u=(0,c.hj)(o)?o:0;return n=(0,c.UI)(r,function(f,h){var v=(f[i]||0)/s;return f[hi]=v,f[vi]=(l-u)*v+u,f[Yn]=[(0,c.U2)(r,[h-1,i]),f[i]],f}),n}function Ec(r){return function(e){var t=e.chart,n=e.options,i=n.conversionTag,a=n.filteredData,o=a||t.getOptions().data;if(i){var s=i.formatter;o.forEach(function(l,u){if(!(u<=0||Number.isNaN(l[vi]))){var f=r(l,u,o,{top:!0,name:xd,text:{content:(0,c.mf)(s)?s(l,o):s,offsetX:i.offsetX,offsetY:i.offsetY,position:"end",autoRotate:!1,style:(0,p.pi)({textAlign:"start",textBaseline:"middle"},i.style)}});t.annotation().line(f)}})}return e}}function YT(r){var e=r.chart,t=r.options,n=t.data,i=n===void 0?[]:n,a=t.yField,o=t.maxSize,s=t.minSize,l=Tc(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),r}function XT(r){var e=r.chart,t=r.options,n=t.xField,i=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.shape,u=l===void 0?"funnel":l,f=t.funnelStyle,h=t.state,v=an(o,[n,i]),d=v.fields,g=v.formatter;Nr({chart:e,options:{type:"interval",xField:n,yField:vi,colorField:n,tooltipFields:(0,c.kJ)(d)&&d.concat([hi,Yn]),mapping:{shape:u,tooltip:g,color:a,style:f},label:s,state:h}});var y=Mr(r.chart,"interval");return y.adjust("symmetric"),r}function WT(r){var e=r.chart,t=r.options,n=t.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),r}function wd(r){var e=r.options,t=r.chart,n=e.maxSize,i=(0,c.U2)(t,["geometries","0","dataArray"],[]),a=(0,c.U2)(t,["options","data","length"]),o=(0,c.UI)(i,function(l){return(0,c.U2)(l,["0","nextPoints","0","x"])*a-.5}),s=function(l,u,f,h){var v=n-(n-l[vi])/2;return(0,p.pi)((0,p.pi)({},h),{start:[o[u-1]||u-.5,v],end:[o[u-1]||u-.5,v+.05]})};return Ec(s)(r),r}function Sd(r){return Fe(YT,XT,WT,wd)(r)}function ZT(r){var e,t=r.chart,n=r.options,i=n.data,a=i===void 0?[]:i,o=n.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function jT(r){var e=r.chart,t=r.options,n=t.data,i=t.xField,a=t.yField,o=t.color,s=t.compareField,l=t.isTransposed,u=t.tooltip,f=t.maxSize,h=t.minSize,v=t.label,d=t.funnelStyle,g=t.state,y=t.showFacetTitle;return e.facet("mirror",{fields:[s],transpose:!l,padding:l?0:[32,0,0,0],showTitle:y,eachView:function(m,x){var M=l?x.rowIndex:x.columnIndex;l||m.coordinate({type:"rect",actions:[["transpose"],["scale",M===0?-1:1,-1]]});var E=Tc(x.data,n,{yField:a,maxSize:f,minSize:h});m.data(E);var F=an(u,[i,a,s]),N=F.fields,tt=F.formatter,st=l?{offset:M===0?10:-23,position:M===0?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:M===0?"end":"start"}};Nr({chart:m,options:{type:"interval",xField:i,yField:vi,colorField:i,tooltipFields:(0,c.kJ)(N)&&N.concat([hi,Yn]),mapping:{shape:"funnel",tooltip:tt,color:o,style:d},label:v===!1?!1:It({},st,v),state:g}})}}),r}function Md(r){var e=r.chart,t=r.index,n=r.options,i=n.conversionTag,a=n.isTransposed;((0,c.hj)(t)?[e]:e.views).forEach(function(o,s){var l=(0,c.U2)(o,["geometries","0","dataArray"],[]),u=(0,c.U2)(o,["options","data","length"]),f=(0,c.UI)(l,function(v){return(0,c.U2)(v,["0","nextPoints","0","x"])*u-.5}),h=function(v,d,g,y){var m=(t||s)===0?-1:1;return It({},y,{start:[f[d-1]||d-.5,v[vi]],end:[f[d-1]||d-.5,v[vi]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:i!==!1?m*i.offsetX:0,style:{textAlign:(t||s)===0?"end":"start"}}})};Ec(h)(It({},{chart:o,options:n}))})}function $T(r){var e=r.chart;return e.once("beforepaint",function(){return Md(r)}),r}function qT(r){return Fe(ZT,jT,$T)(r)}function JT(r){var e=r.chart,t=r.options,n=t.data,i=n===void 0?[]:n,a=t.yField,o=(0,c.u4)(i,function(u,f){return u+(f[a]||0)},0),s=(0,c.UT)(i,a)[a],l=(0,c.UI)(i,function(u,f){var h=[],v=[];if(u[Ac]=(u[a]||0)/o,f){var d=i[f-1][Oo],g=i[f-1][_o];h[0]=d[3],v[0]=g[3],h[1]=d[2],v[1]=g[2]}else h[0]=-.5,v[0]=1,h[1]=.5,v[1]=1;return v[2]=v[1]-u[Ac],h[2]=(v[2]+1)/4,v[3]=v[2],h[3]=-h[2],u[Oo]=h,u[_o]=v,u[hi]=(u[a]||0)/s,u[Yn]=[(0,c.U2)(i,[f-1,a]),u[a]],u});return e.data(l),r}function KT(r){var e=r.chart,t=r.options,n=t.xField,i=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.funnelStyle,u=t.state,f=an(o,[n,i]),h=f.fields,v=f.formatter;return Nr({chart:e,options:{type:"polygon",xField:Oo,yField:_o,colorField:n,tooltipFields:(0,c.kJ)(h)&&h.concat([hi,Yn]),label:s,state:u,mapping:{tooltip:v,color:a,style:l}}}),r}function QT(r){var e=r.chart,t=r.options,n=t.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),r}function tE(r){var e=function(t,n,i,a){return(0,p.pi)((0,p.pi)({},a),{start:[t[Oo][1],t[_o][1]],end:[t[Oo][1]+.05,t[_o][1]]})};return Ec(e)(r),r}function eE(r){return Fe(JT,KT,QT,tE)(r)}function rE(r){var e,t=r.chart,n=r.options,i=n.data,a=i===void 0?[]:i,o=n.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function nE(r){var e=r.chart,t=r.options,n=t.seriesField,i=t.isTransposed,a=t.showFacetTitle;return e.facet("rect",{fields:[n],padding:[i?0:32,10,0,10],showTitle:a,eachView:function(o,s){Sd(It({},r,{chart:o,options:{data:s.data}}))}}),r}function iE(r){return Fe(rE,nE)(r)}var aE=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.rendering=!1,t}return e.prototype.change=function(t){var n=this;if(!this.rendering){var i=t.seriesField,a=t.compareField,o=a?Md:wd,s=this.context.view,l=i||a?s.views:[s];(0,c.UI)(l,function(u,f){var h=u.getController("annotation"),v=(0,c.hX)((0,c.U2)(h,["option"],[]),function(g){var y=g.name;return y!==xd});h.clear(!0),(0,c.S6)(v,function(g){typeof g=="object"&&u.annotation()[g.type](g)});var d=(0,c.U2)(u,["filteredData"],u.getOptions().data);o({chart:u,index:f,options:(0,p.pi)((0,p.pi)({},t),{filteredData:Tc(d,d,t)})}),u.filterData(d),n.rendering=!0,u.render(!0)})}this.rendering=!1},e}(tr),bd="funnel-conversion-tag",Fc="funnel-afterrender",Cd={trigger:"afterrender",action:bd+":change"};Me(bd,aE),Pe(Fc,{start:[Cd]});function oE(r){var e=r.options,t=e.compareField,n=e.xField,i=e.yField,a=e.locale,o=e.funnelStyle,s=e.data,l=ol(a),u={label:t?{fields:[n,i,t,hi,Yn],formatter:function(h){return""+h[i]}}:{fields:[n,i,hi,Yn],offset:0,position:"middle",formatter:function(h){return h[n]+" "+h[i]}},tooltip:{title:n,formatter:function(h){return{name:h[n],value:h[i]}}},conversionTag:{formatter:function(h){return l.get(["conversionTag","label"])+": "+yd.apply(void 0,h[Yn])}}},f;return(t||o)&&(f=function(h){return It({},t&&{lineWidth:1,stroke:"#fff"},(0,c.mf)(o)?o(h):o)}),It({options:u},r,{options:{funnelStyle:f,data:(0,c.d9)(s)}})}function sE(r){var e=r.options,t=e.compareField,n=e.dynamicHeight,i=e.seriesField;return i?iE(r):t?qT(r):n?eE(r):Sd(r)}function lE(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return Fe(ar((e={},e[a]=n,e[o]=i,e)))(r)}function uE(r){var e=r.chart;return e.axis(!1),r}function cE(r){var e=r.chart,t=r.options,n=t.legend;return n===!1?e.legend(!1):e.legend(n),r}function fE(r){var e=r.chart,t=r.options,n=t.interactions,i=t.dynamicHeight;return(0,c.S6)(n,function(a){a.enable===!1?e.removeInteraction(a.type):e.interaction(a.type,a.cfg||{})}),i?e.removeInteraction(Fc):e.interaction(Fc,{start:[(0,p.pi)((0,p.pi)({},Cd),{arg:t})]}),r}function Ad(r){return Fe(oE,sE,lE,uE,hr,fE,cE,qe,Ye,nr())(r)}var hE=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="funnel",t}return e.getDefaultOptions=function(){return HT},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Ad},e.prototype.setState=function(t,n,i){i===void 0&&(i=!0);var a=Io(this.chart);(0,c.S6)(a,function(o){n(o.getData())&&o.setState(t,i)})},e.prototype.getStates=function(){var t=Io(this.chart),n=[];return(0,c.S6)(t,function(i){var a=i.getData(),o=i.getStates();(0,c.S6)(o,function(s){n.push({data:a,state:s,geometry:i.geometry,element:i})})}),n},e.CONVERSATION_FIELD=Yn,e.PERCENT_FIELD=hi,e.TOTAL_PERCENT_FIELD=Ac,e}(Oe),vl,Ic="range",Td="type",Xn="percent",vE="#f0f0f0",Ed="indicator-view",Fd="range-view",pE={percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(vl={},vl[Ic]={sync:"v"},vl[Xn]={sync:"v",tickCount:5,tickInterval:.2},vl),animation:!1};function dE(r,e){return r.map(function(t,n){var i;return i={},i[Ic]=t-(r[n-1]||0),i[Td]=""+n,i[Xn]=e,i})}function Id(r){var e;return[(e={},e[Xn]=(0,c.uZ)(r,0,1),e)]}function kd(r,e){var t=(0,c.U2)(e,["ticks"],[]),n=(0,c.dp)(t)?(0,c.jj)(t):[0,(0,c.uZ)(r,0,1),1];return n[0]||n.shift(),dE(n,r)}function gE(r){var e=r.chart,t=r.options,n=t.percent,i=t.range,a=t.radius,o=t.innerRadius,s=t.startAngle,l=t.endAngle,u=t.axis,f=t.indicator,h=t.gaugeStyle,v=t.type,d=t.meter,g=i.color,y=i.width;if(f){var m=Id(n),x=e.createView({id:Ed});x.data(m),x.point().position(Xn+"*1").shape(f.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:f}),x.coordinate("polar",{startAngle:s,endAngle:l,radius:o*a}),x.axis(Xn,u),x.scale(Xn,$e(u,Rr))}var M=kd(n,t.range),E=e.createView({id:Fd});E.data(M);var F=(0,c.HD)(g)?[g,vE]:g,N=br({chart:E,options:{xField:"1",yField:Ic,seriesField:Td,rawFields:[Xn],isStack:!0,interval:{color:F,style:h,shape:v==="meter"?"meter-gauge":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:y,maxColumnWidth:y}}).ext,tt=N.geometry;return tt.customInfo({meter:d}),E.coordinate("polar",{innerRadius:o,radius:a,startAngle:s,endAngle:l}).transpose(),r}function yE(r){var e;return Fe(ar((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[Xn]={},e)))(r)}function Ld(r,e){var t=r.chart,n=r.options,i=n.statistic,a=n.percent;if(t.getController("annotation").clear(!0),i){var o=i.content,s=void 0;o&&(s=It({},{content:(a*100).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},o)),Z2(t,{statistic:(0,p.pi)((0,p.pi)({},i),{content:s})},{percent:a})}return e&&t.render(!0),r}function mE(r){var e=r.chart,t=r.options,n=t.tooltip;return n?e.tooltip(It({showTitle:!1,showMarkers:!1,containerTpl:'
      ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(i,a){var o=(0,c.U2)(a,[0,"data",Xn],0);return(o*100).toFixed(2)+"%"}},n)):e.tooltip(!1),r}function xE(r){var e=r.chart;return e.legend(!1),r}function Pd(r){return Fe(Ye,qe,gE,yE,mE,Ld,rr,nr(),xE)(r)}We("point","gauge-indicator",{draw:function(r,e){var t=r.customInfo,n=t.indicator,i=t.defaultColor,a=n,o=a.pointer,s=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:(0,p.pi)({x1:u.x,y1:u.y,x2:r.x,y2:r.y,stroke:i},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:(0,p.pi)({x:u.x,y:u.y,stroke:i},s.style)}),l}}),We("interval","meter-gauge",{draw:function(r,e){var t=r.customInfo.meter,n=t===void 0?{}:t,i=n.steps,a=i===void 0?50:i,o=n.stepRatio,s=o===void 0?.5:o;a=a<1?1:a,s=(0,c.uZ)(s,0,1);var l=this.coordinate,u=l.startAngle,f=l.endAngle,h=0;if(s>0&&s<1){var v=f-u;h=v/a/(s/(1-s)+1-1/a)}for(var d=h/(1-s)*s,g=e.addGroup(),y=this.coordinate.getCenter(),m=this.coordinate.getRadius(),x=_r.getAngle(r,this.coordinate),M=x.startAngle,E=x.endAngle,F=M;F1?l/(n-1):s.max),!t&&!n){var f=SE(o);u=l/f}var h={},v=(0,c.vM)(a,i);(0,c.xb)(v)?(0,c.S6)(a,function(g){var y=g[e],m=Dd(y,u,n),x=m[0]+"-"+m[1];(0,c.wH)(h,x)||(h[x]={range:m,count:0}),h[x].count+=1}):Object.keys(v).forEach(function(g){(0,c.S6)(v[g],function(y){var m=y[e],x=Dd(m,u,n),M=x[0]+"-"+x[1],E=M+"-"+g;(0,c.wH)(h,E)||(h[E]={range:x,count:0},h[E][i]=g),h[E].count+=1})});var d=[];return(0,c.S6)(h,function(g){d.push(g)}),d}var pl="range",Bo="count",ME=It({},Oe.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function bE(r){var e=r.chart,t=r.options,n=t.data,i=t.binField,a=t.binNumber,o=t.binWidth,s=t.color,l=t.stackField,u=t.legend,f=t.columnStyle,h=Od(n,i,o,a,l);e.data(h);var v=It({},r,{options:{xField:pl,yField:Bo,seriesField:l,isStack:!0,interval:{color:s,style:f}}});return br(v),u&&l?e.legend(l,u):e.legend(!1),r}function CE(r){var e,t=r.options,n=t.xAxis,i=t.yAxis;return Fe(ar((e={},e[pl]=n,e[Bo]=i,e)))(r)}function AE(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis;return n===!1?e.axis(pl,!1):e.axis(pl,n),i===!1?e.axis(Bo,!1):e.axis(Bo,i),r}function TE(r){var e=r.chart,t=r.options,n=t.label,i=Mr(e,"interval");if(!n)i.label(!1);else{var a=n.callback,o=(0,p._T)(n,["callback"]);i.label({fields:[Bo],callback:a,cfg:dr(o)})}return r}function _d(r){return Fe(Ye,Xr("columnStyle"),bE,CE,AE,fi,TE,hr,rr,qe)(r)}var EE=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="histogram",t}return e.getDefaultOptions=function(){return ME},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this.options,i=n.binField,a=n.binNumber,o=n.binWidth,s=n.stackField;this.chart.changeData(Od(t,i,o,a,s))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return _d},e}(Oe),FE=It({},Oe.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1}),IE=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.active=function(){var t=this.getView(),n=this.context.event;if(n.data){var i=n.data.items,a=t.geometries.filter(function(o){return o.type==="point"});(0,c.S6)(a,function(o){(0,c.S6)(o.elements,function(s){var l=(0,c.cx)(i,function(u){return u.data===s.data})!==-1;s.setState("active",l)})})}},e.prototype.reset=function(){var t=this.getView(),n=t.geometries.filter(function(i){return i.type==="point"});(0,c.S6)(n,function(i){(0,c.S6)(i.elements,function(a){a.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(tr);Me("marker-active",IE),Pe("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var kE=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t}return e.getDefaultOptions=function(){return FE},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;cl({chart:i,options:a}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return hd},e}(Oe),Bd=It({},Oe.getDefaultOptions(),{legend:{position:"right",radio:{}},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}}),LE=[1,0,0,0,1,0,0,0,1];function kc(r,e){var t=e?(0,p.pr)(e):(0,p.pr)(LE);return _r.transform(t,r)}var PE=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getActiveElements=function(){var t=_r.getDelegationObject(this.context);if(t){var n=this.context.view,i=t.component,a=t.item,o=i.get("field");if(o){var s=n.geometries[0].elements;return s.filter(function(l){return l.getModel().data[o]===a.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,n=this.getActiveElements(),i=t.geometries[0].labelsContainer.getChildren();return i.filter(function(a){return n.find(function(o){return(0,c.Xy)(o.getData(),a.get("data"))})})},e.prototype.transfrom=function(t){t===void 0&&(t=7.5);var n=this.getActiveElements(),i=this.getActiveElementLabels();n.forEach(function(a,o){var s=i[o],l=a.geometry.coordinate;if(l.isPolar&&l.isTransposed){var u=_r.getAngle(a.getModel(),l),f=u.startAngle,h=u.endAngle,v=(f+h)/2,d=t,g=d*Math.cos(v),y=d*Math.sin(v);a.shape.setMatrix(kc([["t",g,y]])),s.setMatrix(kc([["t",g,y]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(tr);function DE(r){var e=r.event,t,n=e.target;return n&&(t=n.get("element")),t}var OE=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAnnotations=function(t){var n=t||this.context.view;return n.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,n=this.context.view;n.removeInteraction("tooltip"),n.on("afterchangesize",function(){var i=t.getAnnotations(n);t.initialAnnotation=i})},e.prototype.change=function(t){var n=this.context,i=n.view,a=n.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var o=(0,c.U2)(a,["data","data"]);if(a.type.match("legend-item")){var s=_r.getDelegationObject(this.context),l=i.getGroupedFields()[0];if(s&&l){var u=s.item;o=i.getData().find(function(d){return d[l]===u.value})}}if(o){var f=(0,c.U2)(t,"annotations",[]),h=(0,c.U2)(t,"statistic",{});i.getController("annotation").clear(!0),(0,c.S6)(f,function(d){typeof d=="object"&&i.annotation()[d.type](d)}),nl(i,{statistic:h,plotType:"pie"},o),i.render(!0)}var v=DE(this.context);v&&v.shape.toFront()},e.prototype.reset=function(){var t=this.context.view,n=t.getController("annotation");n.clear(!0);var i=this.getInitialAnnotation();(0,c.S6)(i,function(a){t.annotation()[a.type](a)}),t.render(!0)},e}(tr),Rd="pie-statistic";Me(Rd,OE),Pe("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Me("pie-legend",PE),Pe("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});function _E(r,e){var t=null;return(0,c.S6)(r,function(n){typeof n[e]=="number"&&(t+=n[e])}),t}function BE(r,e){var t;switch(r){case"inner":return t="-30%",(0,c.HD)(e)&&e.endsWith("%")?parseFloat(e)*.01>0?t:e:e<0?e:t;case"outer":return t=12,(0,c.HD)(e)&&e.endsWith("%")?parseFloat(e)*.01<0?t:e:e>0?e:t;default:return e}}function dl(r,e){return(0,c.yW)(Ma(r,e),function(t){return t[e]===0})}function RE(r){var e=r.chart,t=r.options,n=t.data,i=t.angleField,a=t.colorField,o=t.color,s=t.pieStyle,l=t.shape,u=Ma(n,i);if(dl(u,i)){var f="$$percentage$$";u=u.map(function(v){var d;return(0,p.pi)((0,p.pi)({},v),(d={},d[f]=1/u.length,d))}),e.data(u);var h=It({},r,{options:{xField:"1",yField:f,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});br(h)}else{e.data(u);var h=It({},r,{options:{xField:"1",yField:i,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});br(h)}return r}function NE(r){var e,t=r.chart,n=r.options,i=n.meta,a=n.colorField,o=It({},i);return t.scale(o,(e={},e[a]={type:"cat"},e)),r}function zE(r){var e=r.chart,t=r.options,n=t.radius,i=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"theta",cfg:{radius:n,innerRadius:i,startAngle:a,endAngle:o}}),r}function UE(r){var e=r.chart,t=r.options,n=t.label,i=t.colorField,a=t.angleField,o=e.geometries[0];if(!n)o.label(!1);else{var s=n.callback,l=(0,p._T)(n,["callback"]),u=dr(l);if(u.content){var f=u.content;u.content=function(g,y,m){var x=g[i],M=g[a],E=e.getScaleByField(a),F=E==null?void 0:E.scale(M);return(0,c.mf)(f)?f((0,p.pi)((0,p.pi)({},g),{percent:F}),y,m):(0,c.HD)(f)?Qp(f,{value:M,name:x,percentage:(0,c.hj)(F)&&!(0,c.UM)(M)?(F*100).toFixed(2)+"%":null}):f}}var h={inner:"",outer:"pie-outer",spider:"pie-spider"},v=u.type?h[u.type]:"pie-outer",d=u.layout?(0,c.kJ)(u.layout)?u.layout:[u.layout]:[];u.layout=(v?[{type:v}]:[]).concat(d),o.label({fields:i?[a,i]:[a],callback:s,cfg:(0,p.pi)((0,p.pi)({},u),{offset:BE(u.type,u.offset),type:"pie"})})}return r}function Nd(r){var e=r.innerRadius,t=r.statistic,n=r.angleField,i=r.colorField,a=r.meta,o=r.locale,s=ol(o);if(e&&t){var l=It({},Bd.statistic,t),u=l.title,f=l.content;return u!==!1&&(u=It({},{formatter:function(h){var v=h?h[i]:(0,c.UM)(u.content)?s.get(["statistic","total"]):u.content,d=(0,c.U2)(a,[i,"formatter"])||function(g){return g};return d(v)}},u)),f!==!1&&(f=It({},{formatter:function(h,v){var d=h?h[n]:_E(v,n),g=(0,c.U2)(a,[n,"formatter"])||function(y){return y};return h||(0,c.UM)(f.content)?g(d):f.content}},f)),It({},{statistic:{title:u,content:f}},r)}return r}function zd(r){var e=r.chart,t=r.options,n=Nd(t),i=n.innerRadius,a=n.statistic;return e.getController("annotation").clear(!0),Fe(nr())(r),i&&a&&nl(e,{statistic:a,plotType:"pie"}),r}function VE(r){var e=r.chart,t=r.options,n=t.tooltip,i=t.colorField,a=t.angleField,o=t.data;if(n===!1)e.tooltip(n);else if(e.tooltip(It({},n,{shared:!1})),dl(o,a)){var s=(0,c.U2)(n,"fields"),l=(0,c.U2)(n,"formatter");(0,c.xb)((0,c.U2)(n,"fields"))&&(s=[i,a],l=l||function(u){return{name:u[i],value:(0,c.BB)(u[a])}}),e.geometries[0].tooltip(s.join("*"),ba(s,l))}return r}function GE(r){var e=r.chart,t=r.options,n=Nd(t),i=n.interactions,a=n.statistic,o=n.annotations;return(0,c.S6)(i,function(s){var l,u;if(s.enable===!1)e.removeInteraction(s.type);else if(s.type==="pie-statistic-active"){var f=[];!((l=s.cfg)===null||l===void 0)&&l.start||(f=[{trigger:"element:mouseenter",action:Rd+":change",arg:{statistic:a,annotations:o}}]),(0,c.S6)((u=s.cfg)===null||u===void 0?void 0:u.start,function(h){f.push((0,p.pi)((0,p.pi)({},h),{arg:{statistic:a,annotations:o}}))}),e.interaction(s.type,It({},s.cfg,{start:f}))}else e.interaction(s.type,s.cfg||{})}),r}function Ud(r){return Fe(Xr("pieStyle"),RE,NE,Ye,zE,Bi,VE,UE,fi,zd,GE,qe)(r)}var Vd=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="pie",t}return e.getDefaultOptions=function(){return Bd},e.prototype.changeData=function(t){this.chart.emit(U.BEFORE_CHANGE_DATA,ir.fromData(this.chart,U.BEFORE_CHANGE_DATA,null));var n=this.options,i=this.options.angleField,a=Ma(n.data,i),o=Ma(t,i);dl(a,i)||dl(o,i)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),zd({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(U.AFTER_CHANGE_DATA,ir.fromData(this.chart,U.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Ud},e}(Oe),Gd=["#FAAD14","#E8EDF3"],HE={percent:.2,color:Gd,animation:{}};function Lc(r){var e=(0,c.uZ)(_i(r)?r:0,0,1);return[{current:""+e,type:"current",percent:e},{current:""+e,type:"target",percent:1}]}function Hd(r){var e=r.chart,t=r.options,n=t.percent,i=t.progressStyle,a=t.color,o=t.barWidthRatio;e.data(Lc(n));var s=It({},r,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:o,interval:{style:i,color:(0,c.HD)(a)?[a,Gd[1]]:a},args:{zIndexReversed:!0,sortZIndex:!0}}});return br(s),e.tooltip(!1),e.axis(!1),e.legend(!1),r}function YE(r){var e=r.chart;return e.coordinate("rect").transpose(),r}function Yd(r){return Fe(Hd,ar({}),YE,qe,Ye,nr())(r)}var XE=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="process",t}return e.getDefaultOptions=function(){return HE},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Lc(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Yd},e}(Oe);function WE(r){var e=r.chart,t=r.options,n=t.innerRadius,i=t.radius;return e.coordinate("theta",{innerRadius:n,radius:i}),r}function Xd(r,e){var t=r.chart,n=r.options,i=n.innerRadius,a=n.statistic,o=n.percent,s=n.meta;if(t.getController("annotation").clear(!0),i&&a){var l=(0,c.U2)(s,["percent","formatter"])||function(f){return(f*100).toFixed(2)+"%"},u=a.content;u&&(u=It({},u,{content:(0,c.UM)(u.content)?l(o):u.content})),nl(t,{statistic:(0,p.pi)((0,p.pi)({},a),{content:u}),plotType:"ring-progress"},{percent:o})}return e&&t.render(!0),r}function Wd(r){return Fe(Hd,ar({}),WE,Xd,qe,Ye,nr())(r)}var ZE={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}},Zd=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ring-process",t}return e.getDefaultOptions=function(){return ZE},e.prototype.changeData=function(t){this.chart.emit(U.BEFORE_CHANGE_DATA,ir.fromData(this.chart,U.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Lc(t)),Xd({chart:this.chart,options:this.options},!0),this.chart.emit(U.AFTER_CHANGE_DATA,ir.fromData(this.chart,U.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Wd},e}(Oe),Ui=Q(56645),jE={exp:Ui.regressionExp,linear:Ui.regressionLinear,loess:Ui.regressionLoess,log:Ui.regressionLog,poly:Ui.regressionPoly,pow:Ui.regressionPow,quad:Ui.regressionQuad};function $E(r,e){var t=10,n={regionStyle:[{position:{start:[r,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[r,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[r,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[r,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-t,offsetY:-t,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:-t,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:t,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-t,offsetY:t,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return n}var qE=function(r,e){var t=e.view,n=e.options,i=n.xField,a=n.yField,o=t.getScaleByField(i),s=t.getScaleByField(a),l=r.map(function(u){return t.getCoordinate().convert({x:o.scale(u[0]),y:s.scale(u[1])})});return W2(l,!1)},JE=function(r){var e=r.options,t=e.xField,n=e.yField,i=e.data,a=e.regressionLine,o=a.type,s=o===void 0?"linear":o,l=a.algorithm,u;if(l)u=(0,c.kJ)(l)?l:l(i);else{var f=jE[s]().x(function(h){return h[t]}).y(function(h){return h[n]});u=f(i)}return qE(u,r)},KE=function(r){var e,t=r.meta,n=t===void 0?{}:t,i=r.xField,a=r.yField,o=r.data,s=o[0][i],l=o[0][a],u=s>0,f=l>0;function h(v,d){var g=(0,c.U2)(n,[v]);function y(x){return(0,c.U2)(g,x)}var m={};return d==="x"?((0,c.hj)(s)&&((0,c.hj)(y("min"))||(m.min=u?0:s*2),(0,c.hj)(y("max"))||(m.max=u?s*2:0)),m):((0,c.hj)(l)&&((0,c.hj)(y("min"))||(m.min=f?0:l*2),(0,c.hj)(y("max"))||(m.max=f?l*2:0)),m)}return(0,p.pi)((0,p.pi)({},n),(e={},e[i]=(0,p.pi)((0,p.pi)({},n[i]),h(i,"x")),e[a]=(0,p.pi)((0,p.pi)({},n[a]),h(a,"y")),e))};function jd(r){var e=r.data,t=e===void 0?[]:e,n=r.xField,i=r.yField;if(t.length){for(var a=!0,o=!0,s=t[0],l=void 0,u=1;u
      ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},gF={appendPadding:2,tooltip:(0,p.pi)({},tg),animation:{}};function yF(r){var e=r.chart,t=r.options,n=t.data,i=t.color,a=t.areaStyle,o=t.point,s=t.line,l=o==null?void 0:o.state,u=Vi(n);e.data(u);var f=It({},r,{options:{xField:No,yField:Aa,area:{color:i,style:a},line:s,point:o}}),h=It({},f,{options:{tooltip:!1}}),v=It({},f,{options:{tooltip:!1,state:l}});return ll(f),Ca(h),Wr(v),e.axis(!1),e.legend(!1),r}function Ta(r){var e,t,n=r.options,i=n.xAxis,a=n.yAxis,o=n.data,s=Vi(o);return Fe(ar((e={},e[No]=i,e[Aa]=a,e),(t={},t[No]={type:"cat"},t[Aa]=vc(s,Aa),t)))(r)}function eg(r){return Fe(Xr("areaStyle"),yF,Ta,hr,Ye,qe,nr())(r)}var mF={appendPadding:2,tooltip:(0,p.pi)({},tg),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},rg=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-area",t}return e.getDefaultOptions=function(){return mF},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;Ta({chart:i,options:a}),i.changeData(Vi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return eg},e}(Oe);function xF(r){var e=r.chart,t=r.options,n=t.data,i=t.color,a=t.columnStyle,o=t.columnWidthRatio,s=Vi(n);e.data(s);var l=It({},r,{options:{xField:No,yField:Aa,widthRatio:o,interval:{style:a,color:i}}});return br(l),e.axis(!1),e.legend(!1),e.interaction("element-active"),r}function ng(r){return Fe(Ye,Xr("columnStyle"),xF,Ta,hr,qe,nr())(r)}var wF={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(r,e){return""+(0,c.U2)(e,[0,"data","y"],0)},containerTpl:'
      ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},SF={appendPadding:2,tooltip:(0,p.pi)({},wF),animation:{}},MF=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-column",t}return e.getDefaultOptions=function(){return SF},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;Ta({chart:i,options:a}),i.changeData(Vi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ng},e}(Oe);function bF(r){var e=r.chart,t=r.options,n=t.data,i=t.color,a=t.lineStyle,o=t.point,s=o==null?void 0:o.state,l=Vi(n);e.data(l);var u=It({},r,{options:{xField:No,yField:Aa,line:{color:i,style:a},point:o}}),f=It({},u,{options:{tooltip:!1,state:s}});return Ca(u),Wr(f),e.axis(!1),e.legend(!1),r}function ig(r){return Fe(bF,Ta,Ye,hr,qe,nr())(r)}var CF=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-line",t}return e.getDefaultOptions=function(){return gF},e.prototype.changeData=function(t){this.updateOption({data:t});var n=this,i=n.chart,a=n.options;Ta({chart:i,options:a}),i.changeData(Vi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ig},e}(Oe),AF={line:hd,pie:Ud,column:hl,bar:md,area:vd,gauge:Pd,"tiny-line":ig,"tiny-column":ng,"tiny-area":eg,"ring-progress":Wd,progress:Yd,scatter:$d,histogram:_d,funnel:Ad,stock:Qd},TF={line:kE,pie:Vd,column:GT,bar:UT,area:pd,gauge:wE,"tiny-line":CF,"tiny-column":MF,"tiny-area":rg,"ring-progress":Zd,progress:XE,scatter:sF,histogram:EE,funnel:hE,stock:dF},EF={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function Pc(r,e,t){var n=TF[r];if(!n){console.error("could not find "+r+" plot");return}var i=AF[r];i({chart:e,options:It({},n.getDefaultOptions(),(0,c.U2)(EF,r,{}),t)})}function FF(r){var e=r.chart,t=r.options,n=t.views,i=t.legend;return(0,c.S6)(n,function(a){var o=a.region,s=a.data,l=a.meta,u=a.axes,f=a.coordinate,h=a.interactions,v=a.annotations,d=a.tooltip,g=a.geometries,y=e.createView({region:o});y.data(s);var m={};u&&(0,c.S6)(u,function(x,M){m[M]=$e(x,Rr)}),m=It({},l,m),y.scale(m),u?(0,c.S6)(u,function(x,M){y.axis(M,x)}):y.axis(!1),y.coordinate(f),(0,c.S6)(g,function(x){var M=Nr({chart:y,options:x}).ext,E=x.adjust;E&&M.geometry.adjust(E)}),(0,c.S6)(h,function(x){x.enable===!1?y.removeInteraction(x.type):y.interaction(x.type,x.cfg)}),(0,c.S6)(v,function(x){y.annotation()[x.type]((0,p.pi)({},x))}),typeof a.animation=="boolean"?y.animate(!1):(y.animate(!0),(0,c.S6)(y.geometries,function(x){x.animate(a.animation)})),d&&(y.interaction("tooltip"),y.tooltip(d))}),i?(0,c.S6)(i,function(a,o){e.legend(o,a)}):e.legend(!1),e.tooltip(t.tooltip),r}function IF(r){var e=r.chart,t=r.options,n=t.plots,i=t.data,a=i===void 0?[]:i;return(0,c.S6)(n,function(o){var s=o.type,l=o.region,u=o.options,f=u===void 0?{}:u,h=o.top,v=f.tooltip;if(h){Pc(s,e,(0,p.pi)((0,p.pi)({},f),{data:a}));return}var d=e.createView((0,p.pi)({region:l},$e(f,ld)));v&&d.interaction("tooltip"),Pc(s,d,(0,p.pi)({data:a},f))}),r}function kF(r){var e=r.chart,t=r.options;return e.option("slider",t.slider),r}function LF(r){return Fe(qe,FF,IF,rr,qe,Ye,hr,kF,nr())(r)}function PF(r,e){var t=r.getModel(),n=t.data,i;return(0,c.kJ)(n)?i=n[0][e]:i=n[e],i}function DF(r){var e=el(r);(0,c.S6)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})}var OF=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAssociationItems=function(t,n){var i,a=this.context.event,o=n||{},s=o.linkField,l=o.dim,u=[];if(!((i=a.data)===null||i===void 0)&&i.data){var f=a.data.data;(0,c.S6)(t,function(h){var v,d,g=s;if(l==="x"?g=h.getXScale().field:l==="y"?g=(v=h.getYScales().find(function(m){return m.field===g}))===null||v===void 0?void 0:v.field:g||(g=(d=h.getGroupScales()[0])===null||d===void 0?void 0:d.field),!!g){var y=(0,c.UI)(el(h),function(m){var x=!1,M=!1,E=(0,c.kJ)(f)?(0,c.U2)(f[0],g):(0,c.U2)(f,g);return PF(m,g)===E?x=!0:M=!0,{element:m,view:h,active:x,inactive:M}});u.push.apply(u,y)}})}return u},e.prototype.showTooltip=function(t){var n=td(this.context.view),i=this.getAssociationItems(n,t);(0,c.S6)(i,function(a){if(a.active){var o=a.element.shape.getCanvasBBox();a.view.showTooltip({x:o.minX+o.width/2,y:o.minY+o.height/2})}})},e.prototype.hideTooltip=function(){var t=td(this.context.view);(0,c.S6)(t,function(n){n.hideTooltip()})},e.prototype.active=function(t){var n=ko(this.context.view),i=this.getAssociationItems(n,t);(0,c.S6)(i,function(a){var o=a.active,s=a.element;o&&s.setState("active",!0)})},e.prototype.selected=function(t){var n=ko(this.context.view),i=this.getAssociationItems(n,t);(0,c.S6)(i,function(a){var o=a.active,s=a.element;o&&s.setState("selected",!0)})},e.prototype.highlight=function(t){var n=ko(this.context.view),i=this.getAssociationItems(n,t);(0,c.S6)(i,function(a){var o=a.inactive,s=a.element;o&&s.setState("inactive",!0)})},e.prototype.reset=function(){var t=ko(this.context.view);(0,c.S6)(t,function(n){DF(n)})},e}(tr);Me("association",OF),Pe("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Pe("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Pe("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),Pe("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});var _F=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="mix",t}return e.prototype.getSchemaAdaptor=function(){return LF},e}(Oe),Ea;(function(r){r.DEV="DEV",r.BETA="BETA",r.STABLE="STABLE"})(Ea||(Ea={}));function BF(r,e){console.warn(r===Ea.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":r===Ea.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":r===Ea.STABLE?"Plot '"+e+`' is in STABLE stage, import it by "import { `+e+` } from '@antv/g2plot'".`:"invalid Stage type.")}var EB=function(){function r(){}return Object.defineProperty(r,"MultiView",{get:function(){return BF(Ea.STABLE,"MultiView"),_F},enumerable:!1,configurable:!0}),r}(),An="first-axes-view",Tn="second-axes-view",Gi="series-field-key";function ag(r,e,t,n,i){var a=[];e.forEach(function(h){n.forEach(function(v){var d,g=(d={},d[r]=v[r],d[t]=h,d[h]=v[h],d);a.push(g)})});var o=Object.values((0,c.vM)(a,t)),s=o[0],l=s===void 0?[]:s,u=o[1],f=u===void 0?[]:u;return i?[l.reverse(),f.reverse()]:[l,f]}function Wn(r){return r!=="vertical"}function RF(r,e,t){var n=e[0],i=e[1],a=n.autoPadding,o=i.autoPadding,s=r.__axisPosition,l=s.layout,u=s.position;if(Wn(l)&&u==="top"&&(n.autoPadding=t.instance(a.top,0,a.bottom,a.left),i.autoPadding=t.instance(o.top,a.left,o.bottom,0)),Wn(l)&&u==="bottom"&&(n.autoPadding=t.instance(a.top,a.right/2+5,a.bottom,a.left),i.autoPadding=t.instance(o.top,o.right,o.bottom,a.right/2+5)),!Wn(l)&&u==="bottom"){var f=a.left>=o.left?a.left:o.left;n.autoPadding=t.instance(a.top,a.right,a.bottom/2+5,f),i.autoPadding=t.instance(a.bottom/2+5,o.right,o.bottom,f)}if(!Wn(l)&&u==="top"){var f=a.left>=o.left?a.left:o.left;n.autoPadding=t.instance(a.top,a.right,0,f),i.autoPadding=t.instance(0,o.right,a.top,f)}}function NF(r){var e=r.chart,t=r.options,n=t.data,i=t.xField,a=t.yField,o=t.color,s=t.barStyle,l=t.widthRatio,u=t.legend,f=t.layout,h=ag(i,a,Gi,n,Wn(f));u?e.legend(Gi,u):u===!1&&e.legend(!1);var v,d,g=h[0],y=h[1];Wn(f)?(v=e.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:An}),v.coordinate().transpose().reflect("x"),d=e.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:Tn}),d.coordinate().transpose(),v.data(g),d.data(y)):(v=e.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:An}),d=e.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:Tn}),d.coordinate().reflect("y"),v.data(g),d.data(y));var m=It({},r,{chart:v,options:{widthRatio:l,xField:i,yField:a[0],seriesField:Gi,interval:{color:o,style:s}}});br(m);var x=It({},r,{chart:d,options:{xField:i,yField:a[1],seriesField:Gi,widthRatio:l,interval:{color:o,style:s}}});return br(x),r}function zF(r){var e,t,n,i=r.options,a=r.chart,o=i.xAxis,s=i.yAxis,l=i.xField,u=i.yField,f=Be(a,An),h=Be(a,Tn),v={};return(0,c.XP)((i==null?void 0:i.meta)||{}).map(function(d){(0,c.U2)(i==null?void 0:i.meta,[d,"alias"])&&(v[d]=i.meta[d].alias)}),a.scale((e={},e[Gi]={sync:!0,formatter:function(d){return(0,c.U2)(v,d,d)}},e)),ar((t={},t[l]=o,t[u[0]]=s[u[0]],t))(It({},r,{chart:f})),ar((n={},n[l]=o,n[u[1]]=s[u[1]],n))(It({},r,{chart:h})),r}function UF(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField,s=t.layout,l=Be(e,An),u=Be(e,Tn);return(n==null?void 0:n.position)==="bottom"?u.axis(a,(0,p.pi)((0,p.pi)({},n),{label:{formatter:function(){return""}}})):u.axis(a,!1),n===!1?l.axis(a,!1):l.axis(a,(0,p.pi)({position:Wn(s)?"top":"bottom"},n)),i===!1?(l.axis(o[0],!1),u.axis(o[1],!1)):(l.axis(o[0],i[o[0]]),u.axis(o[1],i[o[1]])),e.__axisPosition={position:l.getOptions().axes[a].position,layout:s},r}function VF(r){var e=r.chart;return rr(It({},r,{chart:Be(e,An)})),rr(It({},r,{chart:Be(e,Tn)})),r}function GF(r){var e=r.chart,t=r.options,n=t.yField,i=t.yAxis;return Ri(It({},r,{chart:Be(e,An),options:{yAxis:i[n[0]]}})),Ri(It({},r,{chart:Be(e,Tn),options:{yAxis:i[n[1]]}})),r}function HF(r){var e=r.chart;return Ye(It({},r,{chart:Be(e,An)})),Ye(It({},r,{chart:Be(e,Tn)})),Ye(r),r}function YF(r){var e=r.chart;return qe(It({},r,{chart:Be(e,An)})),qe(It({},r,{chart:Be(e,Tn)})),r}function XF(r){var e=this,t,n,i=r.chart,a=r.options,o=a.label,s=a.yField,l=a.layout,u=Be(i,An),f=Be(i,Tn),h=Mr(u,"interval"),v=Mr(f,"interval");if(!o)h.label(!1),v.label(!1);else{var d=o.callback,g=(0,p._T)(o,["callback"]);g.position||(g.position="middle"),g.offset===void 0&&(g.offset=2);var y=(0,p.pi)({},g);if(Wn(l)){var m=((t=y.style)===null||t===void 0?void 0:t.textAlign)||(g.position==="middle"?"center":"left");g.style=It({},g.style,{textAlign:m});var x={left:"right",right:"left",center:"center"};y.style=It({},y.style,{textAlign:x[m]})}else{var M={top:"bottom",bottom:"top",middle:"middle"};typeof g.position=="string"?g.position=M[g.position]:typeof g.position=="function"&&(g.position=function(){for(var N=[],tt=0;tt1?e+"_"+t:""+e}function ug(r){var e=r.data,t=r.xField,n=r.measureField,i=r.rangeField,a=r.targetField,o=r.layout,s=[],l=[];e.forEach(function(h,v){var d=[h[i]].flat();d.sort(function(m,x){return m-x}),d.forEach(function(m,x){var M,E=x===0?m:d[x]-d[x-1];s.push((M={rKey:i+"_"+x},M[t]=t?h[t]:String(v),M[i]=E,M))});var g=[h[n]].flat();g.forEach(function(m,x){var M;s.push((M={mKey:lg(g,n,x)},M[t]=t?h[t]:String(v),M[n]=m,M))});var y=[h[a]].flat();y.forEach(function(m,x){var M;s.push((M={tKey:lg(y,a,x)},M[t]=t?h[t]:String(v),M[a]=m,M))}),l.push(h[i],h[n],h[a])});var u=Math.min.apply(Math,l.flat(1/0)),f=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,o==="vertical"&&s.reverse(),{min:u,max:f,ds:s}}function rI(r){var e=r.chart,t=r.options,n=t.bulletStyle,i=t.targetField,a=t.rangeField,o=t.measureField,s=t.xField,l=t.color,u=t.layout,f=t.size,h=t.label,v=ug(t),d=v.min,g=v.max,y=v.ds;e.data(y);var m=It({},r,{options:{xField:s,yField:a,seriesField:"rKey",isStack:!0,label:(0,c.U2)(h,"range"),interval:{color:(0,c.U2)(l,"range"),style:(0,c.U2)(n,"range"),size:(0,c.U2)(f,"range")}}});br(m),e.geometries[0].tooltip(!1);var x=It({},r,{options:{xField:s,yField:o,seriesField:"mKey",isStack:!0,label:(0,c.U2)(h,"measure"),interval:{color:(0,c.U2)(l,"measure"),style:(0,c.U2)(n,"measure"),size:(0,c.U2)(f,"measure")}}});br(x);var M=It({},r,{options:{xField:s,yField:i,seriesField:"tKey",label:(0,c.U2)(h,"target"),point:{color:(0,c.U2)(l,"target"),style:(0,c.U2)(n,"target"),size:(0,c.mf)((0,c.U2)(f,"target"))?function(E){return(0,c.U2)(f,"target")(E)/2}:(0,c.U2)(f,"target")/2,shape:u==="horizontal"?"line":"hyphen"}}});return Wr(M),u==="horizontal"&&e.coordinate().transpose(),(0,p.pi)((0,p.pi)({},r),{ext:{data:{min:d,max:g}}})}function cg(r){var e,t,n=r.options,i=r.ext,a=n.xAxis,o=n.yAxis,s=n.targetField,l=n.rangeField,u=n.measureField,f=n.xField,h=i.data;return Fe(ar((e={},e[f]=a,e[u]=o,e),(t={},t[u]={min:h==null?void 0:h.min,max:h==null?void 0:h.max,sync:!0},t[s]={sync:""+u},t[l]={sync:""+u},t)))(r)}function nI(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.measureField,s=t.rangeField,l=t.targetField;return e.axis(""+s,!1),e.axis(""+l,!1),n===!1?e.axis(""+a,!1):e.axis(""+a,n),i===!1?e.axis(""+o,!1):e.axis(""+o,i),r}function iI(r){var e=r.chart,t=r.options,n=t.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),r}function aI(r){var e=r.chart,t=r.options,n=t.label,i=t.measureField,a=t.targetField,o=t.rangeField,s=e.geometries,l=s[0],u=s[1],f=s[2];return(0,c.U2)(n,"range")?l.label(""+o,(0,p.pi)({layout:[{type:"limit-in-plot"}]},dr(n.range))):l.label(!1),(0,c.U2)(n,"measure")?u.label(""+i,(0,p.pi)({layout:[{type:"limit-in-plot"}]},dr(n.measure))):u.label(!1),(0,c.U2)(n,"target")?f.label(""+a,(0,p.pi)({layout:[{type:"limit-in-plot"}]},dr(n.target))):f.label(!1),r}function oI(r){Fe(rI,cg,nI,iI,Ye,aI,hr,rr,qe)(r)}var sI=It({},Oe.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}}),kB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bullet",t}return e.getDefaultOptions=function(){return sI},e.prototype.changeData=function(t){this.updateOption({data:t});var n=ug(this.options),i=n.min,a=n.max,o=n.ds;cg({options:this.options,ext:{data:{min:i,max:a}},chart:this.chart}),this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return oI},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),lI={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(r){return r.id},source:function(r){return r.source},target:function(r){return r.target},sourceWeight:function(r){return r.value||1},targetWeight:function(r){return r.value||1},sortBy:null};function uI(r,e,t){(0,c.U5)(r,function(n,i){n.inEdges=e.filter(function(a){return""+t.target(a)==""+i}),n.outEdges=e.filter(function(a){return""+t.source(a)==""+i}),n.edges=n.outEdges.concat(n.inEdges),n.frequency=n.edges.length,n.value=0,n.inEdges.forEach(function(a){n.value+=t.targetWeight(a)}),n.outEdges.forEach(function(a){n.value+=t.sourceWeight(a)})})}function cI(r,e){var t={weight:function(i,a){return a.value-i.value},frequency:function(i,a){return a.frequency-i.frequency},id:function(i,a){return(""+e.id(i)).localeCompare(""+e.id(a))}},n=t[e.sortBy];!n&&(0,c.mf)(e.sortBy)&&(n=e.sortBy),n&&r.sort(n)}function fI(r,e){var t=r.length;if(!t)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var n=e.nodePaddingRatio;if(n<0||n>=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=n/(2*t),a=e.nodeWidthRatio;if(a<=0||a>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;r.forEach(function(l){o+=l.value}),r.forEach(function(l){l.weight=l.value/o,l.width=l.weight*(1-n),l.height=a}),r.forEach(function(l,u){for(var f=0,h=u-1;h>=0;h--)f+=r[h].width+2*i;var v=l.minX=i+f,d=l.maxX=l.minX+l.width,g=l.minY=e.y-a/2,y=l.maxY=g+a;l.x=[v,d,d,v],l.y=[g,g,y,y]})}else{var s=1/t;r.forEach(function(l,u){l.x=(u+.5)*s,l.y=e.y})}return r}function hI(r,e,t){if(t.weight){var n={};(0,c.U5)(r,function(i,a){n[a]=i.value}),e.forEach(function(i){var a=t.source(i),o=t.target(i),s=r[a],l=r[o];if(s&&l){var u=n[a],f=t.sourceWeight(i),h=s.minX+(s.value-u)/s.value*s.width,v=h+f/s.value*s.width;n[a]-=f;var d=n[o],g=t.targetWeight(i),y=l.minX+(l.value-d)/l.value*l.width,m=y+g/l.value*l.width;n[o]-=g;var x=t.y;i.x=[h,v,y,m],i.y=[x,x,x,x],i.source=s,i.target=l}})}else e.forEach(function(i){var a=r[t.source(i)],o=r[t.target(i)];a&&o&&(i.x=[a.x,o.x],i.y=[a.y,o.y],i.source=a,i.target=o)});return e}function vI(r){return(0,c.f0)({},lI,r)}function pI(r,e){var t=vI(r),n={},i=e.nodes,a=e.links;i.forEach(function(l){var u=t.id(l);n[u]=l}),uI(n,a,t),cI(i,t);var o=fI(i,t),s=hI(n,a,t);return{nodes:o,links:s}}var fg="x",hg="y",vg="name",pg="source",dI={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(r,e){var t=(r[0]+r[1])/2,n=t>.5?-4:4;return{offsetX:n,content:e}},labelEmit:!0,style:{fill:"#8c8c8c"}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(r){return!(0,c.U2)(r,[0,"data","isNode"])},formatter:function(r){var e=r.source,t=r.target,n=r.value;return{name:e+" -> "+t,value:n}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function gI(r){var e=r.options,t=e.data,n=e.sourceField,i=e.targetField,a=e.weightField,o=e.nodePaddingRatio,s=e.nodeWidthRatio,l=e.rawFields,u=l===void 0?[]:l,f=Wp(t,n,i,a),h=pI({weight:!0,nodePaddingRatio:o,nodeWidthRatio:s},f),v=h.nodes,d=h.links,g=v.map(function(m){return(0,p.pi)((0,p.pi)({},$e(m,(0,p.pr)(["id","x","y","name"],u))),{isNode:!0})}),y=d.map(function(m){return(0,p.pi)((0,p.pi)({source:m.source.name,target:m.target.name,name:m.source.name||m.target.name},$e(m,(0,p.pr)(["x","y","value"],u))),{isNode:!1})});return(0,p.pi)((0,p.pi)({},r),{ext:(0,p.pi)((0,p.pi)({},r.ext),{chordData:{nodesData:g,edgesData:y}})})}function yI(r){var e,t=r.chart;return t.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[vg]={sync:"color"},e[pg]={sync:"color"},e)),r}function mI(r){var e=r.chart;return e.axis(!1),r}function xI(r){var e=r.chart;return e.legend(!1),r}function wI(r){var e=r.chart,t=r.options,n=t.tooltip;return e.tooltip(n),r}function SI(r){var e=r.chart;return e.coordinate("polar").reflect("y"),r}function MI(r){var e=r.chart,t=r.options,n=r.ext.chordData.nodesData,i=t.nodeStyle,a=t.label,o=t.tooltip,s=e.createView();return s.data(n),ul({chart:s,options:{xField:fg,yField:hg,seriesField:vg,polygon:{style:i},label:a,tooltip:o}}),r}function bI(r){var e=r.chart,t=r.options,n=r.ext.chordData.edgesData,i=t.edgeStyle,a=t.tooltip,o=e.createView();o.data(n);var s={xField:fg,yField:hg,seriesField:pg,edge:{style:i,shape:"arc"},tooltip:a};return od({chart:o,options:s}),r}function CI(r){var e=r.chart,t=r.options,n=t.animation;return Lo(e,n,U2(e)),r}function AI(r){return Fe(Ye,gI,SI,yI,mI,xI,wI,bI,MI,rr,fi,CI)(r)}var LB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="chord",t}return e.getDefaultOptions=function(){return dI},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return AI},e}(Oe),TI=["x","y","r","name","value","path","depth"],EI={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},dg=4,FI=0,gg=5,yg="drilldown-bread-crumb",II={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},zo="hierarchy-data-transform-params",kI=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.name="drill-down",t.historyCache=[],t.breadCrumbGroup=null,t.breadCrumbCfg=II,t}return e.prototype.click=function(){var t=(0,c.U2)(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(!!this.breadCrumbGroup){var t=this.context.view.getCoordinate(),n=this.breadCrumbGroup,i=n.getBBox(),a=this.getButtonCfg().position,o={x:t.start.x,y:t.end.y-(i.height+gg*2)};t.isPolar&&(o={x:0,y:0}),a==="bottom-left"&&(o={x:t.start.x,y:t.start.y});var s=_r.transform(null,[["t",o.x+FI,o.y+i.height+gg]]);n.setMatrix(s)}},e.prototype.back=function(){(0,c.dp)(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var n=this.context.view,i=(0,c.U2)(n,["interactions","drill-down","cfg","transformData"],function(u){return u}),a=i((0,p.pi)({data:t.data},t[zo]));n.changeData(a);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:l.name+"_"+s.height+"_"+s.depth,name:l.name,children:i((0,p.pi)({data:l},t[zo]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(!(!t||t.length<=0)){var n=this.context.view,i=(0,c.Z$)(t).children;n.changeData(i),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,n=(0,c.U2)(t,["interactions","drill-down","cfg","drillDownConfig"]);return It(this.breadCrumbCfg,n==null?void 0:n.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,n=this.getButtonCfg(),i=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:yg});var a=0;i.forEach(function(o,s){var l=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:yg+"_"+o.name+"_text",attrs:(0,p.pi)((0,p.pi)({text:s===0&&!(0,c.UM)(n.rootText)?n.rootText:o.name},n.textStyle),{x:a,y:0})}),u=l.getBBox();if(a+=u.width+dg,l.on("click",function(v){var d,g=v.target.get("id");if(g!==((d=(0,c.Z$)(i))===null||d===void 0?void 0:d.id)){var y=i.slice(0,i.findIndex(function(m){return m.id===g})+1);t.backTo(y)}}),l.on("mouseenter",function(v){var d,g=v.target.get("id");g!==((d=(0,c.Z$)(i))===null||d===void 0?void 0:d.id)?l.attr(n.activeTextStyle):l.attr({cursor:"default"})}),l.on("mouseleave",function(){l.attr(n.textStyle)}),s0&&t*t>n*n+i*i}function Oc(r,e){for(var t=0;tl?(i=(u+l-a)/(2*u),s=Math.sqrt(Math.max(0,l/u-i*i)),t.x=r.x-i*n-s*o,t.y=r.y-i*o+s*n):(i=(u+a-l)/(2*u),s=Math.sqrt(Math.max(0,a/u-i*i)),t.x=e.x+i*n-s*o,t.y=e.y+i*o+s*n)):(t.x=e.x+t.r,t.y=e.y)}function Mg(r,e){var t=r.r+e.r-1e-6,n=e.x-r.x,i=e.y-r.y;return t>0&&t*t>n*n+i*i}function bg(r){var e=r._,t=r.next._,n=e.r+t.r,i=(e.x*t.r+t.x*e.r)/n,a=(e.y*t.r+t.y*e.r)/n;return i*i+a*a}function xl(r){this._=r,this.next=null,this.previous=null}function Cg(r){if(!(i=(r=LI(r)).length))return 0;var e,t,n,i,a,o,s,l,u,f,h;if(e=r[0],e.x=0,e.y=0,!(i>1))return e.r;if(t=r[1],e.x=-t.r,t.x=e.r,t.y=0,!(i>2))return e.r+t.r;Sg(t,e,n=r[2]),e=new xl(e),t=new xl(t),n=new xl(n),e.next=n.previous=t,t.next=e.previous=n,n.next=t.previous=e;t:for(s=3;s=0;)e+=t[n].value;r.value=e}function GI(){return this.eachAfter(VI)}var HI=Q(64599),Fg=Q.n(HI);function YI(r,e){var t=-1,n=Fg()(this),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;r.call(e,a,++t,this)}}catch(o){n.e(o)}finally{n.f()}return this}function XI(r,e){for(var t=this,n=[t],i,a,o=-1;t=n.pop();)if(r.call(e,t,++o,this),i=t.children)for(a=i.length-1;a>=0;--a)n.push(i[a]);return this}function WI(r,e){for(var t=this,n=[t],i=[],a,o,s,l=-1;t=n.pop();)if(i.push(t),a=t.children)for(o=0,s=a.length;o=0;)t+=n[i].value;e.value=t})}function $I(r){return this.eachBefore(function(e){e.children&&e.children.sort(r)})}function qI(r){for(var e=this,t=JI(e,r),n=[e];e!==t;)e=e.parent,n.push(e);for(var i=n.length;r!==t;)n.splice(i,0,r),r=r.parent;return n}function JI(r,e){if(r===e)return r;var t=r.ancestors(),n=e.ancestors(),i=null;for(r=t.pop(),e=n.pop();r===e;)i=r,r=t.pop(),e=n.pop();return i}function KI(){for(var r=this,e=[r];r=r.parent;)e.push(r);return e}function QI(){return Array.from(this)}function tk(){var r=[];return this.eachBefore(function(e){e.children||r.push(e)}),r}function ek(){var r=this,e=[];return r.each(function(t){t!==r&&e.push({source:t.parent,target:t})}),e}var rk=Q(15009),Ig=Q.n(rk),nk=Ig()().mark(kg);function kg(){var r,e,t,n,i,a;return Ig()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:r=this,t=[r];case 1:e=t.reverse(),t=[];case 2:if(!(r=e.pop())){s.next=8;break}return s.next=5,r;case 5:if(n=r.children)for(i=0,a=n.length;i=0;--s)i.push(a=o[s]=new La(o[s])),a.parent=n,a.depth=n.depth+1;return t.eachBefore(Lg)}function ik(){return ka(this).eachBefore(sk)}function ak(r){return r.children}function ok(r){return Array.isArray(r)?r[1]:null}function sk(r){r.data.value!==void 0&&(r.value=r.data.value),r.data=r.data.data}function Lg(r){var e=0;do r.height=e;while((r=r.parent)&&r.height<++e)}function La(r){this.data=r,this.depth=this.height=0,this.parent=null}La.prototype=ka.prototype=UI()({constructor:La,count:GI,each:YI,eachAfter:WI,eachBefore:XI,find:ZI,sum:jI,sort:$I,path:qI,ancestors:KI,descendants:QI,leaves:tk,links:ek,copy:ik},Symbol.iterator,kg);var Pg="nodeIndex",Dg="childNodeCount",Bc="nodeAncestor",Rc="Invalid field: it must be a string!";function Nc(r,e){var t=r.field,n=r.fields;if((0,c.HD)(t))return t;if((0,c.kJ)(t))return console.warn(Rc),t[0];if(console.warn(Rc+" will try to get fields instead."),(0,c.HD)(n))return n;if((0,c.kJ)(n)&&n.length)return n[0];if(e)return e;throw new TypeError(Rc)}function zc(r){var e=[];if(r&&r.each){var t,n;r.each(function(i){var a,o;i.parent!==t?(t=i.parent,n=0):n+=1;var s=(0,c.hX)((((a=i.ancestors)===null||a===void 0?void 0:a.call(i))||[]).map(function(l){return e.find(function(u){return u.name===l.name})||l}),function(l){var u=l.depth;return u>0&&u1;)f=((u=h.parent.data)===null||u===void 0?void 0:u.name)+" / "+f,h=h.parent;if(a&&l.depth>2)return null;var v=It({},l.data,(0,p.pi)((0,p.pi)((0,p.pi)({},$e(l.data,i)),{path:f}),l));v.ext=t,v[zo]={hierarchyConfig:t,rawFields:i,enableDrillDown:a},s.push(v)}),s}function _g(r,e,t){var n=gc([r,e]),i=n[0],a=n[1],o=n[2],s=n[3],l=t.width,u=t.height,f=l-(s+a),h=u-(i+o),v=Math.min(f,h),d=(f-v)/2,g=(h-v)/2,y=i+g,m=a+d,x=o+g,M=s+d,E=[y,m,x,M],F=v<0?0:v;return{finalPadding:E,finalSize:F}}function ck(r){var e=r.chart,t=Math.min(e.viewBBox.width,e.viewBBox.height);return It({options:{size:function(n){var i=n.r;return i*t}}},r)}function fk(r){var e=r.options,t=r.chart,n=t.viewBBox,i=e.padding,a=e.appendPadding,o=e.drilldown,s=a;if(o!=null&&o.enabled){var l=rl(t.appendPadding,(0,c.U2)(o,["breadCrumb","position"]));s=gc([l,a])}var u=_g(i,s,n).finalPadding;return t.padding=u,t.appendPadding=0,r}function hk(r){var e=r.chart,t=r.options,n=e.padding,i=e.appendPadding,a=t.color,o=t.colorField,s=t.pointStyle,l=t.hierarchyConfig,u=t.sizeField,f=t.rawFields,h=f===void 0?[]:f,v=t.drilldown,d=Og({data:t.data,hierarchyConfig:l,enableDrillDown:v==null?void 0:v.enabled,rawFields:h});e.data(d);var g=e.viewBBox,y=_g(n,i,g).finalSize,m=function(x){var M=x.r;return M*y};return u&&(m=function(x){return x[u]*y}),Wr(It({},r,{options:{xField:"x",yField:"y",seriesField:o,sizeField:u,rawFields:(0,p.pr)(TI,h),point:{color:a,style:s,shape:"circle",size:m}}})),r}function vk(r){return Fe(ar({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(r)}function pk(r){var e=r.chart,t=r.options,n=t.tooltip;if(n===!1)e.tooltip(!1);else{var i=n;(0,c.U2)(n,"fields")||(i=It({},{customItems:function(a){return a.map(function(o){var s=(0,c.U2)(e.getOptions(),"scales"),l=(0,c.U2)(s,["name","formatter"],function(f){return f}),u=(0,c.U2)(s,["value","formatter"],function(f){return f});return(0,p.pi)((0,p.pi)({},o),{name:l(o.data.name),value:u(o.data.value)})})}},i)),e.tooltip(i)}return r}function dk(r){var e=r.chart;return e.axis(!1),r}function gk(r){var e=r.drilldown,t=r.interactions,n=t===void 0?[]:t;return e!=null&&e.enabled?It({},r,{interactions:(0,p.pr)(n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Og,enableDrillDown:!0}}])}):r}function yk(r){var e=r.chart,t=r.options;return rr({chart:e,options:gk(t)}),r}function mk(r){return Fe(Xr("pointStyle"),ck,fk,Ye,vk,hk,dk,Bi,pk,yk,qe,nr())(r)}function Bg(r){var e=(0,c.U2)(r,["event","data","data"],{});return(0,c.kJ)(e.children)&&e.children.length>0}function Rg(r){var e=r.view.getCoordinate(),t=e.innerRadius;if(t){var n=r.event,i=n.x,a=n.y,o=e.center,s=o.x,l=o.y,u=e.getRadius()*t,f=Math.sqrt(Math.pow(s-i,2)+Math.pow(l-a,2));return f-1?G2(g,h,v):!0}),r.getRootView().render(!0)}};function Mk(r){var e,t=r.options,n=t.geometryOptions,i=n===void 0?[]:n,a=t.xField,o=t.yField,s=(0,c.yW)(i,function(l){var u=l.geometry;return u===Yi.Line||u===void 0});return It({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:s?[0,1]:void 0},e),tooltip:{showMarkers:s,showCrosshairs:s,shared:!0,crosshairs:{type:"x"}},interactions:s?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},r,{options:{yAxis:Ug(o,t.yAxis),geometryOptions:[zg(a,o[0],i[0]),zg(a,o[1],i[1])],annotations:Ug(o,t.annotations)}})}function bk(r){var e,t,n=r.chart,i=r.options,a=i.geometryOptions,o={line:0,column:1},s=[{type:(e=a[0])===null||e===void 0?void 0:e.geometry,id:Zr},{type:(t=a[1])===null||t===void 0?void 0:t.geometry,id:jr}];return s.sort(function(l,u){return-o[l.type]+o[u.type]}).forEach(function(l){return n.createView({id:l.id})}),r}function Ck(r){var e=r.chart,t=r.options,n=t.xField,i=t.yField,a=t.geometryOptions,o=t.data,s=t.tooltip,l=[(0,p.pi)((0,p.pi)({},a[0]),{id:Zr,data:o[0],yField:i[0]}),(0,p.pi)((0,p.pi)({},a[1]),{id:jr,data:o[1],yField:i[1]})];return l.forEach(function(u){var f=u.id,h=u.data,v=u.yField,d=Vc(u)&&u.isPercent,g=d?ud(h,v,n,v):h,y=Be(e,f).data(g),m=d?(0,p.pi)({formatter:function(x){return{name:x[u.seriesField]||v,value:(Number(x[v])*100).toFixed(2)+"%"}}},s):s;Sk({chart:y,options:{xField:n,yField:v,tooltip:m,geometryOption:u}})}),r}function Ak(r){var e,t=r.chart,n=r.options,i=n.geometryOptions,a=((e=t.getTheme())===null||e===void 0?void 0:e.colors10)||[],o=0;return t.once("beforepaint",function(){(0,c.S6)(i,function(s,l){var u=Be(t,l===0?Zr:jr);if(!s.color){var f=u.getGroupScales(),h=(0,c.U2)(f,[0,"values","length"],1),v=a.slice(o,o+h).concat(l===0?[]:a);u.geometries.forEach(function(d){s.seriesField?d.color(s.seriesField,v):d.color(v[0])}),o+=h}}),t.render(!0)}),r}function Tk(r){var e,t,n=r.chart,i=r.options,a=i.xAxis,o=i.yAxis,s=i.xField,l=i.yField;return ar((e={},e[s]=a,e[l[0]]=o[0],e))(It({},r,{chart:Be(n,Zr)})),ar((t={},t[s]=a,t[l[1]]=o[1],t))(It({},r,{chart:Be(n,jr)})),r}function Ek(r){var e=r.chart,t=r.options,n=Be(e,Zr),i=Be(e,jr),a=t.xField,o=t.yField,s=t.xAxis,l=t.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),n.axis(a,s),n.axis(o[0],Vg(l[0],Pa.Left)),i.axis(a,!1),i.axis(o[1],Vg(l[1],Pa.Right)),r}function Fk(r){var e=r.chart,t=r.options,n=t.tooltip,i=Be(e,Zr),a=Be(e,jr);return e.tooltip(n),i.tooltip({shared:!0}),a.tooltip({shared:!0}),r}function Ik(r){var e=r.chart;return rr(It({},r,{chart:Be(e,Zr)})),rr(It({},r,{chart:Be(e,jr)})),r}function kk(r){var e=r.chart,t=r.options,n=t.annotations,i=(0,c.U2)(n,[0]),a=(0,c.U2)(n,[1]);return nr(i)(It({},r,{chart:Be(e,Zr),options:{annotations:i}})),nr(a)(It({},r,{chart:Be(e,jr),options:{annotations:a}})),r}function Lk(r){var e=r.chart;return Ye(It({},r,{chart:Be(e,Zr)})),Ye(It({},r,{chart:Be(e,jr)})),Ye(r),r}function Pk(r){var e=r.chart;return qe(It({},r,{chart:Be(e,Zr)})),qe(It({},r,{chart:Be(e,jr)})),r}function Dk(r){var e=r.chart,t=r.options,n=t.yAxis;return Ri(It({},r,{chart:Be(e,Zr),options:{yAxis:n[0]}})),Ri(It({},r,{chart:Be(e,jr),options:{yAxis:n[1]}})),r}function Ok(r){var e=r.chart,t=r.options,n=t.legend,i=t.geometryOptions,a=t.yField,o=t.data,s=Be(e,Zr),l=Be(e,jr);if(n===!1)e.legend(!1);else if((0,c.Kn)(n)&&n.custom===!0)e.legend(n);else{var u=(0,c.U2)(i,[0,"legend"],n),f=(0,c.U2)(i,[1,"legend"],n);e.once("beforepaint",function(){var h=o[0].length?Gg({view:s,geometryOption:i[0],yField:a[0],legend:u}):[],v=o[1].length?Gg({view:l,geometryOption:i[1],yField:a[1],legend:f}):[];e.legend(It({},n,{custom:!0,items:h.concat(v)}))}),i[0].seriesField&&s.legend(i[0].seriesField,u),i[1].seriesField&&l.legend(i[1].seriesField,f),e.on("legend-item:click",function(h){var v=(0,c.U2)(h,"gEvent.delegateObject",{});if(v&&v.item){var d=v.item,g=d.value,y=d.isGeometry,m=d.viewId;if(y){var x=(0,c.cx)(a,function(F){return F===g});if(x>-1){var M=(0,c.U2)(Be(e,m),"geometries");(0,c.S6)(M,function(F){F.changeVisible(!v.item.unchecked)})}}else{var E=(0,c.U2)(e.getController("legend"),"option.items",[]);(0,c.S6)(e.views,function(F){var N=F.getGroupScales();(0,c.S6)(N,function(tt){tt.values&&tt.values.indexOf(g)>-1&&F.filter(tt.field,function(st){var vt=(0,c.sE)(E,function(Dt){return Dt.value===st});return!vt.unchecked})}),e.render(!0)})}}})}return r}function _k(r){var e=r.chart,t=r.options,n=t.slider,i=Be(e,Zr),a=Be(e,jr);return n&&(i.option("slider",n),i.on("slider:valuechanged",function(o){var s=o.event,l=s.value,u=s.originValue;(0,c.Xy)(l,u)||Hg(a,l)}),e.once("afterpaint",function(){if(!(0,c.jn)(n)){var o=n.start,s=n.end;(o||s)&&Hg(a,[o,s])}})),r}function Bk(r){return Fe(Mk,bk,Lk,Ck,Tk,Ek,Dk,Fk,Ik,kk,Pk,Ak,Ok,_k)(r)}var DB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dual-axes",t}return e.prototype.getDefaultOptions=function(){return It({},r.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return Bk},e}(Oe);function Rk(r,e){var t=e.data,n=e.coordinate,i=e.interactions,a=e.annotations,o=e.animation,s=e.tooltip,l=e.axes,u=e.meta,f=e.geometries;t&&r.data(t);var h={};l&&(0,c.S6)(l,function(v,d){h[d]=$e(v,Rr)}),h=It({},u,h),r.scale(h),n&&r.coordinate(n),l===!1?r.axis(!1):(0,c.S6)(l,function(v,d){r.axis(d,v)}),(0,c.S6)(f,function(v){var d=Nr({chart:r,options:v}).ext,g=v.adjust;g&&d.geometry.adjust(g)}),(0,c.S6)(i,function(v){v.enable===!1?r.removeInteraction(v.type):r.interaction(v.type,v.cfg)}),(0,c.S6)(a,function(v){r.annotation()[v.type]((0,p.pi)({},v))}),Lo(r,o),s?(r.interaction("tooltip"),r.tooltip(s)):s===!1&&r.removeInteraction("tooltip")}function Nk(r){var e=r.chart,t=r.options,n=t.type,i=t.data,a=t.fields,o=t.eachView,s=(0,c.CE)(t,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(i),e.facet(n,(0,p.pi)((0,p.pi)({},s),{fields:a,eachView:function(l,u){var f=o(l,u);if(f.geometries)Rk(l,f);else{var h=f,v=h.options;v.tooltip&&l.interaction("tooltip"),Pc(h.type,l,v)}}})),r}function zk(r){var e=r.chart,t=r.options,n=t.axes,i=t.meta,a=t.tooltip,o=t.coordinate,s=t.theme,l=t.legend,u=t.interactions,f=t.annotations,h={};return n&&(0,c.S6)(n,function(v,d){h[d]=$e(v,Rr)}),h=It({},i,h),e.scale(h),e.coordinate(o),n?(0,c.S6)(n,function(v,d){e.axis(d,v)}):e.axis(!1),a?(e.interaction("tooltip"),e.tooltip(a)):a===!1&&e.removeInteraction("tooltip"),e.legend(l),s&&e.theme(s),(0,c.S6)(u,function(v){v.enable===!1?e.removeInteraction(v.type):e.interaction(v.type,v.cfg)}),(0,c.S6)(f,function(v){e.annotation()[v.type]((0,p.pi)({},v))}),r}function Uk(r){return Fe(Ye,Nk,zk)(r)}var Vk={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}},OB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="area",t}return e.getDefaultOptions=function(){return Vk},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Uk},e}(Oe);function Gk(r){var e=r.chart,t=r.options,n=t.data,i=t.type,a=t.xField,o=t.yField,s=t.colorField,l=t.sizeField,u=t.sizeRatio,f=t.shape,h=t.color,v=t.tooltip,d=t.heatmapStyle,g=t.meta;e.data(n);var y="polygon";i==="density"&&(y="heatmap");var m=an(v,[a,o,s]),x=m.fields,M=m.formatter,E=1;return(u||u===0)&&(!f&&!l?console.warn("sizeRatio is not in effect: Must define shape or sizeField first"):u<0||u>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):E=u),Nr(It({},r,{options:{type:y,colorField:s,tooltipFields:x,shapeField:l||"",label:void 0,mapping:{tooltip:M,shape:f&&(l?function(F){var N=n.map(function(Dt){return Dt[l]}),tt=(g==null?void 0:g[l])||{},st=tt.min,vt=tt.max;return st=(0,c.hj)(st)?st:Math.min.apply(Math,N),vt=(0,c.hj)(vt)?vt:Math.max.apply(Math,N),[f,((0,c.U2)(F,l)-st)/(vt-st),E]}:function(){return[f,1,E]}),color:h||s&&e.getTheme().sequenceColors.join("-"),style:d}}})),r}function Hk(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return Fe(ar((e={},e[a]=n,e[o]=i,e)))(r)}function Yk(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n===!1?e.axis(a,!1):e.axis(a,n),i===!1?e.axis(o,!1):e.axis(o,i),r}function Xk(r){var e=r.chart,t=r.options,n=t.legend,i=t.colorField,a=t.sizeField,o=t.sizeLegend,s=n!==!1;return i&&e.legend(i,s?n:!1),a&&e.legend(a,o===void 0?n:o),!s&&!o&&e.legend(!1),r}function Wk(r){var e=r.chart,t=r.options,n=t.label,i=t.colorField,a=t.type,o=Mr(e,a==="density"?"heatmap":"polygon");if(!n)o.label(!1);else if(i){var s=n.callback,l=(0,p._T)(n,["callback"]);o.label({fields:[i],callback:s,cfg:dr(l)})}return r}function Zk(r){var e,t,n=r.chart,i=r.options,a=i.coordinate,o=i.reflect,s=It({actions:[]},a!=null?a:{type:"rect"});return o&&((t=(e=s.actions)===null||e===void 0?void 0:e.push)===null||t===void 0||t.call(e,["reflect",o])),n.coordinate(s),r}function jk(r){return Fe(Ye,Xr("heatmapStyle"),Hk,Zk,Gk,Yk,Xk,hr,Wk,nr(),rr,qe,fi)(r)}var $k=It({},Oe.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});We("polygon","circle",{draw:function(r,e){var t,n,i=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l)/2,f=Number(r.shape[1]),h=Number(r.shape[2]),v=Math.sqrt(h),d=u*v*Math.sqrt(f),g=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((n=r.defaultStyle)===null||n===void 0?void 0:n.fill),y=e.addShape("circle",{attrs:(0,p.pi)((0,p.pi)((0,p.pi)({x:i,y:a,r:d},r.defaultStyle),r.style),{fill:g})});return y}}),We("polygon","square",{draw:function(r,e){var t,n,i=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l),f=Number(r.shape[1]),h=Number(r.shape[2]),v=Math.sqrt(h),d=u*v*Math.sqrt(f),g=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((n=r.defaultStyle)===null||n===void 0?void 0:n.fill),y=e.addShape("rect",{attrs:(0,p.pi)((0,p.pi)((0,p.pi)({x:i-d/2,y:a-d/2,width:d,height:d},r.defaultStyle),r.style),{fill:g})});return y}});var _B=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="heatmap",t}return e.getDefaultOptions=function(){return $k},e.prototype.getSchemaAdaptor=function(){return jk},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),qk="liquid";function Yg(r){return[{percent:r,type:qk}]}function Jk(r){var e=r.chart,t=r.options,n=t.percent,i=t.liquidStyle,a=t.radius,o=t.outline,s=t.wave,l=t.shape,u=t.shapeStyle,f=t.animation;e.scale({percent:{min:0,max:1}}),e.data(Yg(n));var h=t.color||e.getTheme().defaultColor,v=It({},r,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:h,style:i,shape:"liquid-fill-gauge"}}}),d=br(v).ext,g=d.geometry,y=e.getTheme().background,m={radius:a,outline:o,wave:s,shape:l,shapeStyle:u,background:y,animation:f};return g.customInfo(m),e.legend(!1),e.axis(!1),e.tooltip(!1),r}function Xg(r,e){var t=r.chart,n=r.options,i=n.statistic,a=n.percent,o=n.meta;t.getController("annotation").clear(!0);var s=(0,c.U2)(o,["percent","formatter"])||function(u){return(u*100).toFixed(2)+"%"},l=i.content;return l&&(l=It({},l,{content:(0,c.UM)(l.content)?s(a):l.content})),nl(t,{statistic:(0,p.pi)((0,p.pi)({},i),{content:l}),plotType:"liquid"},{percent:a}),e&&t.render(!0),r}function Kk(r){return Fe(Ye,Xr("liquidStyle"),Jk,Xg,ar({}),qe,rr)(r)}var Qk={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"},Wg=5e3;function Zg(r,e,t){return r+(e-r)*t}function tL(r){var e=(0,p.pi)({opacity:1},r.style);return r.color&&!e.fill&&(e.fill=r.color),e}function eL(r){var e={fill:"#fff",fillOpacity:0,lineWidth:4},t=(0,c.CD)({},e,r.style);return r.color&&!t.stroke&&(t.stroke=r.color),(0,c.hj)(r.opacity)&&(t.opacity=t.strokeOpacity=r.opacity),t}function rL(r,e,t,n){return e===0?[[r+1/2*t/Math.PI/2,n/2],[r+1/2*t/Math.PI,n],[r+t/4,n]]:e===1?[[r+1/2*t/Math.PI/2*(Math.PI-2),n],[r+1/2*t/Math.PI/2*(Math.PI-1),n/2],[r+t/4,0]]:e===2?[[r+1/2*t/Math.PI/2,-n/2],[r+1/2*t/Math.PI,-n],[r+t/4,-n]]:[[r+1/2*t/Math.PI/2*(Math.PI-2),-n],[r+1/2*t/Math.PI/2*(Math.PI-1),-n/2],[r+t/4,0]]}function nL(r,e,t,n,i,a,o){for(var s=Math.ceil(2*r/t*4)*4,l=[],u=n;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*t;var f=a-r+u-r*2;l.push(["M",f,e]);for(var h=0,v=0;v0){var s=this.view.geometries[0],l=s.dataArray,u=o[0].name,f=[];return l.forEach(function(h){h.forEach(function(v){var d=_r.getTooltipItems(v,s),g=d[0];if(!i&&g&&g.name===u){var y=(0,c.UM)(a)?u:a;f.push((0,p.pi)((0,p.pi)({},g),{name:g.title,title:y}))}else if(i&&g){var y=(0,c.UM)(a)?g.name||u:a;f.push((0,p.pi)((0,p.pi)({},g),{name:g.title,title:y}))}})}),f}return[]},e}(Vh);Fi("radar-tooltip",gL);var yL=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,n=this.getTooltipController();n.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(tr);Me("radar-tooltip",yL),Pe("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});var RB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radar",t}return e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return It({},r.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return dL},e}(Oe);function mL(r,e,t){var n=t.map(function(o){return o[e]}).filter(function(o){return o!==void 0}),i=n.length>0?Math.max.apply(Math,n):0,a=Math.abs(r)%360;return a?i*360/a:i}function xL(r,e,t){var n=[];return r.forEach(function(i){var a=n.find(function(o){return o[e]===i[e]});a?a[t]+=i[t]||null:n.push((0,p.pi)({},i))}),n}function wL(r){var e=r.chart,t=r.options,n=t.barStyle,i=t.color,a=t.tooltip,o=t.colorField,s=t.type,l=t.xField,u=t.yField,f=t.data,h=Ma(f,u);e.data(h);var v=It({},r,{options:{tooltip:a,seriesField:o,interval:{style:n,color:i,shape:s==="line"?"line":"intervel"},minColumnWidth:t.minBarWidth,maxColumnWidth:t.maxBarWidth,columnBackground:t.barBackground}});return br(v),s==="line"&&Wr({chart:e,options:{xField:l,yField:u,seriesField:o,point:{shape:"circle",color:i}}}),r}function $g(r){var e,t=r.options,n=t.yField,i=t.xField,a=t.data,o=t.isStack,s=t.isGroup,l=t.colorField,u=t.maxAngle,f=o&&!s&&l?xL(a,i,n):a,h=Ma(f,n);return Fe(ar((e={},e[n]={min:0,max:mL(u,n,h)},e)))(r)}function SL(r){var e=r.chart,t=r.options,n=t.radius,i=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:n,innerRadius:i,startAngle:a,endAngle:o}}).transpose(),r}function ML(r){var e=r.chart,t=r.options,n=t.xField,i=t.xAxis;return e.axis(n,i),r}function bL(r){var e=r.chart,t=r.options,n=t.label,i=t.yField,a=Mr(e,"interval");if(!n)a.label(!1);else{var o=n.callback,s=(0,p._T)(n,["callback"]);a.label({fields:[i],callback:o,cfg:(0,p.pi)((0,p.pi)({},dr(s)),{type:"polar"})})}return r}function CL(r){return Fe(Xr("barStyle"),wL,$g,ML,SL,rr,qe,Ye,hr,Bi,nr(),bL)(r)}var AL=It({},Oe.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240}),NB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radial-bar",t}return e.getDefaultOptions=function(){return AL},e.prototype.changeData=function(t){this.updateOption({data:t}),$g({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return CL},e}(Oe);function TL(r){var e=r.chart,t=r.options,n=t.data,i=t.sectorStyle,a=t.color;return e.data(n),Fe(br)(It({},r,{options:{marginRatio:1,interval:{style:i,color:a}}})),r}function EL(r){var e=r.chart,t=r.options,n=t.label,i=t.xField,a=Mr(e,"interval");if(n===!1)a.label(!1);else if((0,c.Kn)(n)){var o=n.callback,s=n.fields,l=(0,p._T)(n,["callback","fields"]),u=l.offset,f=l.layout;(u===void 0||u>=0)&&(f=f?(0,c.kJ)(f)?f:[f]:[],l.layout=(0,c.hX)(f,function(h){return h.type!=="limit-in-shape"}),l.layout.length||delete l.layout),a.label({fields:s||[i],callback:o,cfg:dr(l)})}else Gn(pn.WARN,n===null,"the label option must be an Object."),a.label({fields:[i]});return r}function FL(r){var e=r.chart,t=r.options,n=t.legend,i=t.seriesField;return n===!1?e.legend(!1):i&&e.legend(i,n),r}function IL(r){var e=r.chart,t=r.options,n=t.radius,i=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:n,innerRadius:i,startAngle:a,endAngle:o}}),r}function kL(r){var e,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return Fe(ar((e={},e[a]=n,e[o]=i,e)))(r)}function LL(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n?e.axis(a,n):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),r}function PL(r){Fe(Xr("sectorStyle"),TL,kL,EL,IL,LL,FL,hr,rr,qe,Ye,nr(),fi)(r)}var DL=It({},Oe.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right",radio:{}},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]}),zB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rose",t}return e.getDefaultOptions=function(){return DL},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return PL},e}(Oe),qg="x",Jg="y",Kg="name",Sl="nodes",Ml="edges";function OL(r,e,t){var n=[];return r.forEach(function(i){var a=i[e],o=i[t];n.includes(a)||n.push(a),n.includes(o)||n.push(o)}),n}function _L(r,e,t,n){var i={};return e.forEach(function(a){i[a]={},e.forEach(function(o){i[a][o]=0})}),r.forEach(function(a){i[a[t]][a[n]]=1}),i}function BL(r,e,t){if(!(0,c.kJ)(r))return[];var n=[],i=OL(r,e,t),a=_L(r,i,e,t),o={};i.forEach(function(l){o[l]=0});function s(l){o[l]=1,i.forEach(function(u){if(a[l][u]!=0)if(o[u]==1)n.push(l+"_"+u);else{if(o[u]==-1)return;s(u)}}),o[l]=-1}return i.forEach(function(l){o[l]!=-1&&s(l)}),n.length!==0&&console.warn("sankey data contains circle, "+n.length+" records removed.",n),r.filter(function(l){return n.findIndex(function(u){return u===l[e]+"_"+l[t]})<0})}function RL(r){return r.target.depth}function NL(r){return r.depth}function zL(r,e){return e-1-r.height}function Gc(r,e){return r.sourceLinks.length?r.depth:e-1}function UL(r){return r.targetLinks.length?r.depth:r.sourceLinks.length?(0,c.F)(r.sourceLinks,RL)-1:0}function bl(r){return function(){return r}}function Hc(r,e){for(var t=0,n=0;nme)throw new Error("circular link");he=xe,xe=new Set}if(u)for(var Ve=Math.max(Yc(fe,function(He){return He.depth})+1,0),Ge=void 0,_e=0;_eme)throw new Error("circular link");he=xe,xe=new Set}}function F(Kt){for(var fe=Kt.nodes,me=Math.max(Yc(fe,function(cr){return cr.depth})+1,0),he=(t-r-i)/(me-1),xe=new Array(me).fill(0).map(function(){return[]}),Te=0,Ve=fe;Te0){var Oa=(He/Je-_e.y0)*fe;_e.y0+=Oa,_e.y1+=Oa,se(_e)}}f===void 0&&Te.sort(Cl),Te.length&&Dt(Te,me)}}function vt(Kt,fe,me){for(var he=Kt.length,xe=he-2;xe>=0;--xe){for(var Te=Kt[xe],Ve=0,Ge=Te;Ve0){var Oa=(He/Je-_e.y0)*fe;_e.y0+=Oa,_e.y1+=Oa,se(_e)}}f===void 0&&Te.sort(Cl),Te.length&&Dt(Te,me)}}function Dt(Kt,fe){var me=Kt.length>>1,he=Kt[me];Xt(Kt,he.y0-o,me-1,fe),Tt(Kt,he.y1+o,me+1,fe),Xt(Kt,n,Kt.length-1,fe),Tt(Kt,e,0,fe)}function Tt(Kt,fe,me,he){for(;me1e-6&&(xe.y0+=Te,xe.y1+=Te),fe=xe.y1+o}}function Xt(Kt,fe,me,he){for(;me>=0;--me){var xe=Kt[me],Te=(xe.y1-fe)*he;Te>1e-6&&(xe.y0-=Te,xe.y1-=Te),fe=xe.y0-o}}function se(Kt){var fe=Kt.sourceLinks,me=Kt.targetLinks;if(h===void 0){for(var he=0,xe=me;he "+i,value:a}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var n=n0(this.options,this.chart.width,this.chart.height),i=n.nodes,a=n.edges,o=Be(this.chart,Sl),s=Be(this.chart,Ml);o.changeData(i),s.changeData(a)},e.prototype.getSchemaAdaptor=function(){return aP},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),Wc="ancestor-node",i0="value",Vo="path",sP=[Vo,Pg,Bc,Dg,"name","depth","height"],lP=It({},Oe.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},legend:!1,sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}});function a0(r){r.x0=Math.round(r.x0),r.y0=Math.round(r.y0),r.x1=Math.round(r.x1),r.y1=Math.round(r.y1)}function Go(r,e,t,n,i){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(n-e)/r.value;++s0)throw new Error("cycle");return l}return t.id=function(n){return arguments.length?(r=wl(n),t):r},t.parentId=function(n){return arguments.length?(e=wl(n),t):e},t}function bP(r,e){return r.parent===e.parent?1:2}function Zc(r){var e=r.children;return e?e[0]:r.t}function jc(r){var e=r.children;return e?e[e.length-1]:r.t}function CP(r,e,t){var n=t/(e.i-r.i);e.c-=n,e.s+=t,r.c+=n,e.z+=t,e.m+=t}function AP(r){for(var e=0,t=0,n=r.children,i=n.length,a;--i>=0;)a=n[i],a.z+=e,a.m+=e,e+=a.s+(t+=a.c)}function TP(r,e,t){return r.a.parent===e.parent?r.a:t}function Al(r,e){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Al.prototype=Object.create(La.prototype);function EP(r){for(var e=new Al(r,0),t,n=[e],i,a,o,s;t=n.pop();)if(a=t._.children)for(t.children=new Array(s=a.length),o=s-1;o>=0;--o)n.push(i=t.children[o]=new Al(a[o],o)),i.parent=t;return(e.parent=new Al(null,0)).children=[e],e}function FP(){var r=bP,e=1,t=1,n=null;function i(u){var f=EP(u);if(f.eachAfter(a),f.parent.m=-f.z,f.eachBefore(o),n)u.eachBefore(l);else{var h=u,v=u,d=u;u.eachBefore(function(M){M.xv.x&&(v=M),M.depth>d.depth&&(d=M)});var g=h===v?1:r(h,v)/2,y=g-h.x,m=e/(v.x+g+y),x=t/(d.depth||1);u.eachBefore(function(M){M.x=(M.x+y)*m,M.y=M.depth*x})}return u}function a(u){var f=u.children,h=u.parent.children,v=u.i?h[u.i-1]:null;if(f){AP(u);var d=(f[0].z+f[f.length-1].z)/2;v?(u.z=v.z+r(u._,v._),u.m=u.z-d):u.z=d}else v&&(u.z=v.z+r(u._,v._));u.parent.A=s(u,v,u.parent.A||h[0])}function o(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function s(u,f,h){if(f){for(var v=u,d=u,g=f,y=v.parent.children[0],m=v.m,x=d.m,M=g.m,E=y.m,F;g=jc(g),v=Zc(v),g&&v;)y=Zc(y),d=jc(d),d.a=u,F=g.z+M-v.z-m+r(g._,v._),F>0&&(CP(TP(g,u,h),u,F),m+=F,x+=F),M+=g.m,m+=v.m,E+=y.m,x+=d.m;g&&!jc(d)&&(d.t=g,d.m+=M-x),v&&!Zc(y)&&(y.t=v,y.m+=m-E,h=u)}return h}function l(u){u.x*=e,u.y=u.depth*t}return i.separation=function(u){return arguments.length?(r=u,i):r},i.size=function(u){return arguments.length?(n=!1,e=+u[0],t=+u[1],i):n?null:[e,t]},i.nodeSize=function(u){return arguments.length?(n=!0,e=+u[0],t=+u[1],i):n?[e,t]:null},i}function Tl(r,e,t,n,i){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(i-t)/r.value;++sM&&(M=u),tt=m*m*N,E=Math.max(M/tt,tt/x),E>F){m-=u;break}F=E}o.push(l={value:m,dice:d1?n:1)},t}(l0);function f0(){var r=c0,e=!1,t=1,n=1,i=[0],a=Hi,o=Hi,s=Hi,l=Hi,u=Hi;function f(v){return v.x0=v.y0=0,v.x1=t,v.y1=n,v.eachBefore(h),i=[0],e&&v.eachBefore(a0),v}function h(v){var d=i[v.depth],g=v.x0+d,y=v.y0+d,m=v.x1-d,x=v.y1-d;m=v-1){var M=a[h];M.x0=g,M.y0=y,M.x1=m,M.y1=x;return}for(var E=u[h],F=d/2+E,N=h+1,tt=v-1;N>>1;u[st]x-y){var Tt=d?(g*Dt+m*vt)/d:m;f(h,N,vt,g,y,Tt,x),f(N,v,Dt,Tt,y,m,x)}else{var Xt=d?(y*Dt+x*vt)/d:x;f(h,N,vt,g,y,m,Xt),f(N,v,Dt,g,Xt,m,x)}}}function kP(r,e,t,n,i){(r.depth&1?Tl:Go)(r,e,t,n,i)}var LP=function r(e){function t(n,i,a,o,s){if((l=n._squarify)&&l.ratio===e)for(var l,u,f,h,v=-1,d,g=l.length,y=n.value;++v1?n:1)},t}(l0),PP={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(r,e){return e.value-r.value},ratio:.5*(1+Math.sqrt(5))};function DP(r,e){return r==="treemapSquarify"?Ft[r].ratio(e):Ft[r]}function h0(r,e){e=(0,c.f0)({},PP,e);var t=e.as;if(!(0,c.kJ)(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var n;try{n=Nc(e)}catch(u){console.warn(u)}var i=DP(e.tile,e.ratio),a=function(u){return f0().tile(i).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(ka(u).sum(function(f){return e.ignoreParentValue&&f.children?0:f[n]}).sort(e.sort))},o=a(r),s=t[0],l=t[1];return o.each(function(u){u[s]=[u.x0,u.x1,u.x1,u.x0],u[l]=[u.y1,u.y1,u.y0,u.y0],["x0","x1","y0","y1"].forEach(function(f){t.indexOf(f)===-1&&delete u[f]})}),zc(o)}function v0(r){var e=r.data,t=r.colorField,n=r.rawFields,i=r.hierarchyConfig,a=i===void 0?{}:i,o=a.activeDepth,s={partition:cP,treemap:h0},l=r.seriesField,u=r.type||"partition",f=s[u](e,(0,p.pi)((0,p.pi)({field:l||"value"},(0,c.CE)(a,["activeDepth"])),{type:"hierarchy."+u,as:["x","y"]})),h=[];return f.forEach(function(v){var d,g,y,m,x,M;if(v.depth===0||o>0&&v.depth>o)return null;for(var E=v.data.name,F=(0,p.pi)({},v);F.depth>1;)E=((g=F.parent.data)===null||g===void 0?void 0:g.name)+" / "+E,F=F.parent;var N=(0,p.pi)((0,p.pi)((0,p.pi)({},$e(v.data,(0,p.pr)(n||[],[a.field]))),(d={},d[Vo]=E,d[Wc]=F.data.name,d)),v);l&&(N[l]=v.data[l]||((m=(y=v.parent)===null||y===void 0?void 0:y.data)===null||m===void 0?void 0:m[l])),t&&(N[t]=v.data[t]||((M=(x=v.parent)===null||x===void 0?void 0:x.data)===null||M===void 0?void 0:M[t])),N.ext=a,N[zo]={hierarchyConfig:a,colorField:t,rawFields:n},h.push(N)}),h}function OP(r){var e=r.chart,t=r.options,n=t.color,i=t.colorField,a=i===void 0?Wc:i,o=t.sunburstStyle,s=t.rawFields,l=s===void 0?[]:s,u=v0(t);e.data(u);var f;return o&&(f=function(h){return It({},{fillOpacity:Math.pow(.85,h.depth)},(0,c.mf)(o)?o(h):o)}),ul(It({},r,{options:{xField:"x",yField:"y",seriesField:a,rawFields:(0,c.jj)((0,p.pr)(sP,l)),polygon:{color:n,style:f}}})),r}function _P(r){var e=r.chart;return e.axis(!1),r}function BP(r){var e=r.chart,t=r.options,n=t.label,i=Mr(e,"polygon");if(!n)i.label(!1);else{var a=n.fields,o=a===void 0?["name"]:a,s=n.callback,l=(0,p._T)(n,["fields","callback"]);i.label({fields:o,callback:s,cfg:dr(l)})}return r}function RP(r){var e=r.chart,t=r.options,n=t.innerRadius,i=t.radius,a=t.reflect,o=e.coordinate({type:"polar",cfg:{innerRadius:n,radius:i}});return a&&o.reflect(a),r}function NP(r){var e,t=r.options,n=t.hierarchyConfig,i=t.meta;return Fe(ar({},(e={},e[i0]=(0,c.U2)(i,(0,c.U2)(n,["field"],"value")),e)))(r)}function zP(r){var e=r.chart,t=r.options,n=t.tooltip;if(n===!1)e.tooltip(!1);else{var i=n;(0,c.U2)(n,"fields")||(i=It({},{customItems:function(a){return a.map(function(o){var s=(0,c.U2)(e.getOptions(),"scales"),l=(0,c.U2)(s,[Vo,"formatter"],function(f){return f}),u=(0,c.U2)(s,[i0,"formatter"],function(f){return f});return(0,p.pi)((0,p.pi)({},o),{name:l(o.data[Vo]),value:u(o.data.value)})})}},i)),e.tooltip(i)}return r}function UP(r){var e=r.drilldown,t=r.interactions,n=t===void 0?[]:t;return e!=null&&e.enabled?It({},r,{interactions:(0,p.pr)(n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:v0}}])}):r}function VP(r){var e=r.chart,t=r.options,n=t.drilldown;return rr({chart:e,options:UP(t)}),n!=null&&n.enabled&&(e.appendPadding=rl(e.appendPadding,(0,c.U2)(n,["breadCrumb","position"]))),r}function GP(r){return Fe(Ye,Xr("sunburstStyle"),OP,_P,NP,Bi,RP,zP,BP,VP,qe,nr())(r)}var VB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="sunburst",t}return e.getDefaultOptions=function(){return lP},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return GP},e.SUNBURST_ANCESTOR_FIELD=Wc,e.SUNBURST_PATH_FIELD=Vo,e.NODE_ANCESTORS_FIELD=Bc,e}(Oe);function p0(r,e){if(!!(0,c.kJ)(r))return r.find(function(t){return t.type===e})}function d0(r,e){var t=p0(r,e);return t&&t.enable!==!1}function $c(r){var e=r.interactions,t=r.drilldown;return(0,c.U2)(t,"enabled")||d0(e,"treemap-drill-down")}function HP(r){var e=r.interactions["drill-down"];if(!!e){var t=e.context.actions.find(function(n){return n.name==="drill-down-action"});t.reset()}}function qc(r){var e=r.data,t=r.colorField,n=r.enableDrillDown,i=r.hierarchyConfig,a=h0(e,(0,p.pi)((0,p.pi)({},i),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),o=[];return a.forEach(function(s){if(s.depth===0||n&&s.depth!==1||!n&&s.children)return null;var l=s.ancestors().map(function(v){return{data:v.data,height:v.height,value:v.value}}),u=n&&(0,c.kJ)(e.path)?l.concat(e.path.slice(1)):l,f=Object.assign({},s.data,(0,p.pi)({x:s.x,y:s.y,depth:s.depth,value:s.value,path:u},s));if(!s.data[t]&&s.parent){var h=s.ancestors().find(function(v){return v.data[t]});f[t]=h==null?void 0:h.data[t]}else f[t]=s.data[t];f[zo]={hierarchyConfig:i,colorField:t,enableDrillDown:n},o.push(f)}),o}function YP(r){var e=r.options,t=e.colorField;return It({options:{rawFields:["value"],tooltip:{fields:["name","value",t,"path"],formatter:function(n){return{name:n.name,value:n.value}}}}},r)}function XP(r){var e=r.chart,t=r.options,n=t.color,i=t.colorField,a=t.rectStyle,o=t.hierarchyConfig,s=t.rawFields,l=qc({data:t.data,colorField:t.colorField,enableDrillDown:$c(t),hierarchyConfig:o});return e.data(l),ul(It({},r,{options:{xField:"x",yField:"y",seriesField:i,rawFields:s,polygon:{color:n,style:a}}})),e.coordinate().reflect("y"),r}function WP(r){var e=r.chart;return e.axis(!1),r}function ZP(r){var e=r.drilldown,t=r.interactions,n=t===void 0?[]:t,i=$c(r);return i?It({},r,{interactions:(0,p.pr)(n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:qc}}])}):r}function jP(r){var e=r.chart,t=r.options,n=t.interactions,i=t.drilldown;rr({chart:e,options:ZP(t)});var a=p0(n,"view-zoom");a&&(a.enable!==!1?e.getCanvas().on("mousewheel",function(s){s.preventDefault()}):e.getCanvas().off("mousewheel"));var o=$c(t);return o&&(e.appendPadding=rl(e.appendPadding,(0,c.U2)(i,["breadCrumb","position"]))),r}function $P(r){return Fe(YP,Ye,Xr("rectStyle"),XP,WP,Bi,hr,jP,qe,nr())(r)}var qP={colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:"bottom-left",rootText:"\u521D\u59CB",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}}}},GB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="treemap",t}return e.getDefaultOptions=function(){return qP},e.prototype.changeData=function(t){var n=this.options,i=n.colorField,a=n.interactions,o=n.hierarchyConfig;this.updateOption({data:t});var s=qc({data:t,colorField:i,enableDrillDown:d0(a,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(s),HP(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return $P},e}(Oe),Zn="id",Jc="path",JP={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(r){return{name:r.id,value:r.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]};function El(r){if(!!r){var e=r.geometries[0].elements;e.forEach(function(t){t.shape.toFront()})}}var KP=As("element-active"),QP=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){El(this.context.view)},e.prototype.active=function(){r.prototype.active.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(KP),tD=As("element-highlight"),eD=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){El(this.context.view)},e.prototype.highlight=function(){r.prototype.highlight.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.clear=function(){r.prototype.clear.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(tD),rD=As("element-selected"),nD=As("element-single-selected"),iD=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){El(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(rD),aD=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){El(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(nD);Me("venn-element-active",QP),Me("venn-element-highlight",eD),Me("venn-element-selected",iD),Me("venn-element-single-selected",aD),Pe("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]}),Pe("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]}),Pe("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]}),Pe("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]}),Pe("venn-legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","venn-element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","venn-element-active:reset"]}]}),Pe("venn-legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","venn-element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","venn-element-highlight:reset"]}]});var oD=function(r){(0,p.ZT)(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelPoint=function(t,n,i){var a=t.data,o=a.x,s=a.y,l=t.customLabelInfo,u=l.offsetX,f=l.offsetY;return{content:t.content[i],x:o+u,y:s+f}},e}(Ds);mo("venn",oD);function sD(r){return It({},r.defaultStyle,{fill:r.color},r.style)}We("schema","venn",{draw:function(r,e){var t=r.data,n=(0,Ti.tr)(t[Jc]),i=sD(r),a=e.addGroup({name:"venn-shape"});a.addShape("path",{attrs:(0,p.pi)((0,p.pi)({},i),{path:n}),name:"venn-path"});var o=r.customInfo,s=o.offsetX,l=o.offsetY,u=_r.transform(null,[["t",s,l]]);return a.setMatrix(u),a},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{lineWidth:0,stroke:e,fill:e,r:4}}}});var lD=function(r){return function(e,t){var n=[];return n[0]=r(e[0],t[0]),n[1]=r(e[1],t[1]),n[2]=r(e[2],t[2]),n}},g0={normal:function(r){return r},multiply:function(r,e){return r*e/255},screen:function(r,e){return 255*(1-(1-r/255)*(1-e/255))},overlay:function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))},darken:function(r,e){return r>e?e:r},lighten:function(r,e){return r>e?r:e},dodge:function(r,e){return r===255?255:(r=255*(e/255)/(1-r/255),r>255?255:r)},burn:function(r,e){return e===255?255:r===0?0:255*(1-Math.min(1,(1-e/255)/(r/255)))}},uD=function(r){if(!g0[r])throw new Error("unknown blend mode "+r);return g0[r]};function cD(r,e,t){t===void 0&&(t="normal");var n=lD(uD(t))(Fl(r),Fl(e)),i=Fl(r),a=i[0],o=i[1],s=i[2],l=i[3],u=Fl(e),f=u[0],h=u[1],v=u[2],d=u[3],g=Number((l+d*(1-l)).toFixed(2)),y=Math.round((l*(1-d)*(a/255)+l*d*(n[0]/255)+(1-l)*d*(f/255))/g*255),m=Math.round((l*(1-d)*(o/255)+l*d*(n[1]/255)+(1-l)*d*(h/255))/g*255),x=Math.round((l*(1-d)*(s/255)+l*d*(n[2]/255)+(1-l)*d*(v/255))/g*255);return"rgba("+y+", "+m+", "+x+", "+g+")"}function Fl(r){var e=r.replace("/s+/g",""),t;return typeof e=="string"&&!e.startsWith("rgba")&&!e.startsWith("#")?t=qr.rgb2arr(qr.toRGB(e)).concat([1]):(e.startsWith("rgba")&&(t=e.replace("rgba(","").replace(")","").split(",")),e.startsWith("#")&&(t=qr.rgb2arr(e).concat([1])),t.map(function(n,i){return i===3?Number(n):n|0}))}var En=Q(87026),y0=1e-10;function Kc(r,e){var t=hD(r),n=t.filter(function(st){return fD(st,r)}),i=0,a=0,o,s=[];if(n.length>1){var l=w0(n);for(o=0;o-1){var y=r[h.parentIndex[g]],m=Math.atan2(h.x-y.x,h.y-y.y),x=Math.atan2(f.x-y.x,f.y-y.y),M=x-m;M<0&&(M+=2*Math.PI);var E=x-M/2,F=dn(v,{x:y.x+y.radius*Math.sin(E),y:y.y+y.radius*Math.cos(E)});F>y.radius*2&&(F=y.radius*2),(d===null||d.width>F)&&(d={circle:y,width:F,p1:h,p2:f})}d!==null&&(s.push(d),i+=Qc(d.circle.radius,d.width),f=h)}}else{var N=r[0];for(o=1;oMath.abs(N.radius-r[o].radius)){tt=!0;break}tt?i=a=0:(i=N.radius*N.radius*Math.PI,s.push({circle:N,p1:{x:N.x,y:N.y+N.radius},p2:{x:N.x-y0,y:N.y+N.radius},width:N.radius*2}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=s,e.innerPoints=n,e.intersectionPoints=t),i+a}function fD(r,e){for(var t=0;te[t].radius+y0)return!1;return!0}function hD(r){for(var e=[],t=0;t=r+e)return 0;if(t<=Math.abs(r-e))return Math.PI*Math.min(r,e)*Math.min(r,e);var n=r-(t*t-e*e+r*r)/(2*t),i=e-(t*t-r*r+e*e)/(2*t);return Qc(r,n)+Qc(e,i)}function x0(r,e){var t=dn(r,e),n=r.radius,i=e.radius;if(t>=n+i||t<=Math.abs(n-i))return[];var a=(n*n-i*i+t*t)/(2*t),o=Math.sqrt(n*n-a*a),s=r.x+a*(e.x-r.x)/t,l=r.y+a*(e.y-r.y)/t,u=-(e.y-r.y)*(o/t),f=-(e.x-r.x)*(o/t);return[{x:s+u,y:l-f},{x:s-u,y:l+f}]}function w0(r){for(var e={x:0,y:0},t=0;t=o&&(a=t[n],o=s)}var l=(0,En.nelderMead)(function(v){return-1*tf({x:v[0],y:v[1]},r,e)},[a.x,a.y],{maxIterations:500,minErrorDelta:1e-10}).x,u={x:l[0],y:l[1]},f=!0;for(n=0;nr[n].radius){f=!1;break}for(n=0;n0&&console.log("WARNING: area "+a+" not represented on screen")}return t}function dD(r,e,t){var n=[],i=r-t,a=e;return n.push("M",i,a),n.push("A",t,t,0,1,0,i+2*t,a),n.push("A",t,t,0,1,0,i,a),n.join(" ")}function HB(r){var e=r.split(" ");return{x:parseFloat(e[1]),y:parseFloat(e[2]),radius:-parseFloat(e[4])}}function gD(r){var e={};Kc(r,e);var t=e.arcs;if(t.length===0)return"M 0 0";if(t.length==1){var n=t[0].circle;return dD(n.x,n.y,n.radius)}else{for(var i=[` -M`,t[0].p2.x,t[0].p2.y],a=0;as;i.push(` -A`,s,s,0,l?1:0,1,o.p1.x,o.p1.y)}return i.join(" ")}}function yD(r,e){e=e||{},e.maxIterations=e.maxIterations||500;var t=e.initialLayout||SD,n=e.lossFunction||rf;r=mD(r);var i=t(r,e),a=[],o=[],s;for(s in i)i.hasOwnProperty(s)&&(a.push(i[s].x),a.push(i[s].y),o.push(s));for(var l=(0,En.nelderMead)(function(h){for(var v={},d=0;du?1:-1}),n=0;n=Math.min(e[o].size,e[s].size)?h=1:a.size<=1e-10&&(h=-1),i[o][s]=i[s][o]=h}),{distances:n,constraints:i}}function wD(r,e,t,n){var i=0,a;for(a=0;a0&&g<=h||v<0&&g>=h||(i+=2*y*y,e[2*a]+=4*y*(o-u),e[2*a+1]+=4*y*(s-f),e[2*l]+=4*y*(u-o),e[2*l+1]+=4*y*(f-s))}return i}function SD(r,e){var t=bD(r,e),n=e.lossFunction||rf;if(r.length>=8){var i=MD(r,e),a=n(i,r),o=n(t,r);a+1e-8=Math.min(n[f].size,n[h].size)&&(u=0),i[f].push({set:h,size:l.size,weight:u}),i[h].push({set:f,size:l.size,weight:u})}var v=[];for(a in i)if(i.hasOwnProperty(a)){for(var d=0,o=0;o0){var i=r[0].x,a=r[0].y;for(n=0;n1){var s=Math.atan2(r[1].x,r[1].y)-e,l=void 0,u=void 0,f=Math.cos(s),h=Math.sin(s);for(n=0;n2){for(var v=Math.atan2(r[2].x,r[2].y)-e;v<0;)v+=2*Math.PI;for(;v>2*Math.PI;)v-=2*Math.PI;if(v>Math.PI){var d=r[1].y/(1e-10+r[1].x);for(n=0;n1)throw new Error("quantiles must be between 0 and 1");return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function Ho(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}function Il(r,e,t,n){for(t=t||0,n=n||r.length-1;n>t;){if(n-t>600){var i=n-t+1,a=e-t+1,o=Math.log(i),s=.5*Math.exp(2*o/3),l=.5*Math.sqrt(o*s*(i-s)/i);a-i/2<0&&(l*=-1);var u=Math.max(t,Math.floor(e-a*s/i+l)),f=Math.min(n,Math.floor(e+(i-a)*s/i+l));Il(r,e,u,f)}var h=r[e],v=t,d=n;for(Ho(r,t,e),r[n]>h&&Ho(r,t,n);vh;)d--}r[t]===h?Ho(r,t,d):(d++,Ho(r,d,n)),d<=e&&(t=d+1),e<=d&&(n=d-1)}}function Yo(r,e){var t=r.slice();if(Array.isArray(e)){ZD(t,e);for(var n=[],i=0;i0?f:h},g=It({},r,{options:{xField:i,yField:sn,seriesField:i,rawFields:[a,Pl,sf,sn],widthRatio:l,interval:{style:u,shape:"waterfall",color:d}}}),y=br(g).ext,m=y.geometry;return m.customInfo({leaderLine:s}),r}function cO(r){var e,t,n=r.options,i=n.xAxis,a=n.yAxis,o=n.xField,s=n.yField,l=n.meta,u=It({},{alias:s},(0,c.U2)(l,s));return Fe(ar((e={},e[o]=i,e[s]=a,e[sn]=a,e),It({},l,(t={},t[sn]=u,t[Pl]=u,t[of]=u,t))))(r)}function fO(r){var e=r.chart,t=r.options,n=t.xAxis,i=t.yAxis,a=t.xField,o=t.yField;return n===!1?e.axis(a,!1):e.axis(a,n),i===!1?(e.axis(o,!1),e.axis(sn,!1)):(e.axis(o,i),e.axis(sn,i)),r}function hO(r){var e=r.chart,t=r.options,n=t.legend,i=t.total,a=t.risingFill,o=t.fallingFill,s=t.locale,l=ol(s);if(n===!1)e.legend(!1);else{var u=[{name:l.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:l.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:o}}}];i&&u.push({name:i.label||"",value:"total",marker:{symbol:"square",style:It({},{r:5},(0,c.U2)(i,"style"))}}),e.legend(It({},{custom:!0,position:"top",items:u},n)),e.removeInteraction("legend-filter")}return r}function vO(r){var e=r.chart,t=r.options,n=t.label,i=t.labelMode,a=t.xField,o=Mr(e,"interval");if(!n)o.label(!1);else{var s=n.callback,l=(0,p._T)(n,["callback"]);o.label({fields:i==="absolute"?[of,a]:[Pl,a],callback:s,cfg:dr(l)})}return r}function pO(r){var e=r.chart,t=r.options,n=t.tooltip,i=t.xField,a=t.yField;if(n!==!1){e.tooltip((0,p.pi)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},n));var o=e.geometries[0];n!=null&&n.formatter?o.tooltip(i+"*"+a,n.formatter):o.tooltip(a)}else e.tooltip(!1);return r}function dO(r){return Fe(lO,Ye,uO,cO,fO,hO,pO,vO,fi,rr,qe,nr())(r)}var ZB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="waterfall",t}return e.getDefaultOptions=function(){return iO},e.prototype.changeData=function(t){var n=this.options,i=n.xField,a=n.yField,o=n.total;this.updateOption({data:t}),this.chart.changeData(D0(t,i,a,o))},e.prototype.getSchemaAdaptor=function(){return dO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(Oe),lf="color",gO=It({},Oe.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",lf],formatter:function(r){return{name:r.text,value:r.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}}),yO={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function mO(r,e){return e=(0,c.f0)({},yO,e),xO(r,e)}function xO(r,e){var t=PO();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(l){(0,c.UM)(e[l])||t[l](e[l])}),t.words(r),e.imageMask&&t.createMask(e.imageMask);var n=t.start(),i=n._tags;i.forEach(function(l){l.x+=e.size[0]/2,l.y+=e.size[1]/2});var a=e.size,o=a[0],s=a[1];return i.push({text:"",value:0,x:0,y:0,opacity:0}),i.push({text:"",value:0,x:o,y:s,opacity:0}),i}var uf=Math.PI/180,Xo=1<<11>>5,Dl=1<<11;function wO(r){return r.text}function SO(){return"serif"}function O0(){return"normal"}function MO(r){return r.value}function bO(){return~~(Math.random()*2)*90}function CO(){return 1}function AO(r,e,t,n){if(!e.sprite){var i=r.context,a=r.ratio;i.clearRect(0,0,(Xo<<5)/a,Dl/a);var o=0,s=0,l=0,u=t.length;for(--n;++n>5<<5,h=~~Math.max(Math.abs(y+m),Math.abs(y-m))}else f=f+31>>5<<5;if(h>l&&(l=h),o+f>=Xo<<5&&(o=0,s+=l,l=0),s+h>=Dl)break;i.translate((o+(f>>1))/a,(s+(h>>1))/a),e.rotate&&i.rotate(e.rotate*uf),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=h,e.xoff=o,e.yoff=s,e.x1=f>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=f}for(var M=i.getImageData(0,0,(Xo<<5)/a,Dl/a).data,E=[];--n>=0;)if(e=t[n],!!e.hasText){for(var f=e.width,F=f>>5,h=e.y1-e.y0,N=0;N>5),Tt=M[(s+vt)*(Xo<<5)+(o+N)<<2]?1<<31-N%32:0;E[Dt]|=Tt,tt|=Tt}tt?st=vt:(e.y0++,h--,vt--,s++)}e.y1=e.y0+st,e.sprite=E.slice(0,(e.y1-e.y0)*F)}}}function TO(r,e,t){t>>=5;for(var n=r.sprite,i=r.width>>5,a=r.x-(i<<4),o=a&127,s=32-o,l=r.y1-r.y0,u=(r.y+r.y0)*t+(a>>5),f,h=0;h>>o:0))&e[u+v])return!0;u+=t}return!1}function EO(r,e){var t=r[0],n=r[1];e.x+e.x0n.x&&(n.x=e.x+e.x1),e.y+e.y1>n.y&&(n.y=e.y+e.y1)}function FO(r,e){return r.x+r.x1>e[0].x&&r.x+r.x0e[0].y&&r.y+r.y0>5)*r[1]),F=l.length,N=[],tt=l.map(function(Tt,Xt,se){return Tt.text=f.call(this,Tt,Xt,se),Tt.font=e.call(this,Tt,Xt,se),Tt.style=h.call(this,Tt,Xt,se),Tt.weight=n.call(this,Tt,Xt,se),Tt.rotate=i.call(this,Tt,Xt,se),Tt.size=~~t.call(this,Tt,Xt,se),Tt.padding=a.call(this,Tt,Xt,se),Tt}).sort(function(Tt,Xt){return Xt.size-Tt.size}),st=-1,vt=d.board?[{x:0,y:0},{x:m,y:x}]:null;Dt();function Dt(){for(var Tt=Date.now();Date.now()-Tt>1,Xt.y=x*(s()+.5)>>1,AO(M,Xt,tt,st),Xt.hasText&&y(E,Xt,vt)&&(N.push(Xt),vt?d.hasImage||EO(vt,Xt):vt=[{x:Xt.x+Xt.x0,y:Xt.y+Xt.y0},{x:Xt.x+Xt.x1,y:Xt.y+Xt.y1}],Xt.x-=r[0]>>1,Xt.y-=r[1]>>1)}d._tags=N,d._bounds=vt}return d};function g(m){m.width=m.height=1;var x=Math.sqrt(m.getContext("2d").getImageData(0,0,1,1).data.length>>2);m.width=(Xo<<5)/x,m.height=Dl/x;var M=m.getContext("2d");return M.fillStyle=M.strokeStyle="red",M.textAlign="center",{context:M,ratio:x}}function y(m,x,M){for(var E=x.x,F=x.y,N=Math.sqrt(r[0]*r[0]+r[1]*r[1]),tt=o(r),st=s()<.5?1:-1,vt,Dt=-st,Tt,Xt;(vt=tt(Dt+=st))&&(Tt=~~vt[0],Xt=~~vt[1],!(Math.min(Math.abs(Tt),Math.abs(Xt))>=N));)if(x.x=E+Tt,x.y=F+Xt,!(x.x+x.x0<0||x.y+x.y0<0||x.x+x.x1>r[0]||x.y+x.y1>r[1])&&(!M||!TO(x,m,r[0]))&&(!M||FO(x,M))){for(var se=x.sprite,be=x.width>>5,Ce=r[0]>>5,Ue=x.x-(be<<4),Kt=Ue&127,fe=32-Kt,me=x.y1-x.y0,he=void 0,xe=(x.y+x.y0)*Ce+(Ue>>5),Te=0;Te>>Kt:0);xe+=Ce}return delete x.sprite,!0}return!1}return d.createMask=function(m){var x=document.createElement("canvas"),M=r[0],E=r[1];if(!(!M||!E)){var F=M>>5,N=B0((M>>5)*E);x.width=M,x.height=E;var tt=x.getContext("2d");tt.drawImage(m,0,0,m.width,m.height,0,0,M,E);for(var st=tt.getImageData(0,0,M,E).data,vt=0;vt>5),Xt=vt*M+Dt<<2,se=st[Xt]>=250&&st[Xt+1]>=250&&st[Xt+2]>=250,be=se?1<<31-Dt%32:0;N[Tt]|=be}d.board=N,d.hasImage=!0}},d.timeInterval=function(m){u=m==null?1/0:m},d.words=function(m){l=m},d.size=function(m){r=[+m[0],+m[1]]},d.font=function(m){e=Fn(m)},d.fontWeight=function(m){n=Fn(m)},d.rotate=function(m){i=Fn(m)},d.spiral=function(m){o=LO[m]||m},d.fontSize=function(m){t=Fn(m)},d.padding=function(m){a=Fn(m)},d.random=function(m){s=Fn(m)},d}function R0(r){var e=r.options,t=r.chart,n=t,i=n.width,a=n.height,o=n.padding,s=n.appendPadding,l=n.ele,u=e.data,f=e.imageMask,h=e.wordField,v=e.weightField,d=e.colorField,g=e.wordStyle,y=e.timeInterval,m=e.random,x=e.spiral,M=e.autoFit,E=M===void 0?!0:M,F=e.placementStrategy;if(!u||!u.length)return[];var N=g.fontFamily,tt=g.fontWeight,st=g.padding,vt=g.fontSize,Dt=RO(u,v),Tt=[UO(Dt),VO(Dt)],Xt=u.map(function(Ce){return{text:Ce[h],value:Ce[v],color:Ce[d],datum:Ce}}),se={imageMask:f,font:N,fontSize:BO(vt,Tt),fontWeight:tt,size:DO({width:i,height:a,padding:o,appendPadding:s,autoFit:E,container:l}),padding:st,timeInterval:y,random:m,spiral:x,rotate:NO(e)};if((0,c.mf)(F)){var be=Xt.map(function(Ce,Ue,Kt){return(0,p.pi)((0,p.pi)((0,p.pi)({},Ce),{hasText:!!Ce.text,font:Fn(se.font)(Ce,Ue,Kt),weight:Fn(se.fontWeight)(Ce,Ue,Kt),rotate:Fn(se.rotate)(Ce,Ue,Kt),size:Fn(se.fontSize)(Ce,Ue,Kt),style:"normal"}),F.call(t,Ce,Ue,Kt))});return be.push({text:"",value:0,x:0,y:0,opacity:0}),be.push({text:"",value:0,x:se.size[0],y:se.size[1],opacity:0}),be}return mO(Xt,se)}function DO(r){var e=r.width,t=r.height,n=r.container,i=r.autoFit,a=r.padding,o=r.appendPadding;if(i){var s=pc(n);e=s.width,t=s.height}e=e||400,t=t||400;var l=OO({padding:a,appendPadding:o}),u=l[0],f=l[1],h=l[2],v=l[3],d=[e-(v+f),t-(u+h)];return d}function OO(r){var e=ci(r.padding),t=ci(r.appendPadding),n=e[0]+t[0],i=e[1]+t[1],a=e[2]+t[2],o=e[3]+t[3];return[n,i,a,o]}function _O(r){return new Promise(function(e,t){if(r instanceof HTMLImageElement){e(r);return}if((0,c.HD)(r)){var n=new Image;n.crossOrigin="anonymous",n.src=r,n.onload=function(){e(n)},n.onerror=function(){Gn(pn.ERROR,!1,"image %s load failed !!!",r),t()};return}Gn(pn.WARN,r===void 0,"The type of imageMask option must be String or HTMLImageElement."),t()})}function BO(r,e){if((0,c.mf)(r))return r;if((0,c.kJ)(r)){var t=r[0],n=r[1];if(!e)return function(){return(n+t)/2};var i=e[0],a=e[1];return a===i?function(){return(n+t)/2}:function(s){var l=s.value;return(n-t)/(a-i)*(l-i)+t}}return function(){return r}}function RO(r,e){return r.map(function(t){return t[e]}).filter(function(t){return typeof t=="number"&&!isNaN(t)})}function NO(r){var e=zO(r),t=e.rotation,n=e.rotationSteps;if(!(0,c.kJ)(t))return t;var i=t[0],a=t[1],o=n===1?0:(a-i)/(n-1);return function(){return a===i?a:Math.floor(Math.random()*n)*o}}function zO(r){var e=r.wordStyle.rotationSteps;return e<1&&(Gn(pn.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:r.wordStyle.rotation,rotationSteps:e}}function UO(r){return Math.min.apply(Math,r)}function VO(r){return Math.max.apply(Math,r)}function GO(r){var e=r.chart,t=r.options,n=t.colorField,i=t.color,a=R0(r);e.data(a);var o=It({},r,{options:{xField:"x",yField:"y",seriesField:n&&lf,rawFields:(0,c.mf)(i)&&(0,p.pr)((0,c.U2)(t,"rawFields",[]),["datum"]),point:{color:i,shape:"word-cloud"}}}),s=Wr(o).ext;return s.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),r}function HO(r){return Fe(ar({x:{nice:!1},y:{nice:!1}}))(r)}function YO(r){var e=r.chart,t=r.options,n=t.legend,i=t.colorField;return n===!1?e.legend(!1):i&&e.legend(lf,n),r}function XO(r){Fe(GO,HO,hr,YO,rr,qe,Ye,fi)(r)}We("point","word-cloud",{draw:function(r,e){var t=r.x,n=r.y,i=e.addShape("text",{attrs:(0,p.pi)((0,p.pi)({},WO(r)),{x:t,y:n})}),a=r.data.rotate;return typeof a=="number"&&_r.rotate(i,a*Math.PI/180),i}});function WO(r){return{fontSize:r.data.size,text:r.data.text,textAlign:"center",fontFamily:r.data.font,fontWeight:r.data.weight,fill:r.color||r.defaultStyle.stroke,textBaseline:"alphabetic"}}var jB=function(r){(0,p.ZT)(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="word-cloud",t}return e.getDefaultOptions=function(){return gO},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(R0({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var t=this;return new Promise(function(n){var i=t.options.imageMask;if(!i){r.prototype.render.call(t),n();return}var a=function(o){t.options=(0,p.pi)((0,p.pi)({},t.options),{imageMask:o||null}),r.prototype.render.call(t),n()};_O(i).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return XO},e.prototype.triggerResize=function(){var t=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){r.prototype.triggerResize.call(t)}))},e}(Oe),$B=function(r){(0,p.ZT)(e,r);function e(t,n,i,a){var o=r.call(this,t,It({},a,n))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=i,o}return e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e}(Oe),qB="2.4.23";ad("en-US",iT),ad("zh-CN",aT);var JB={scale:ar,legend:Bi,tooltip:hr,annotation:nr,interaction:rr,theme:Ye,animation:qe}},31506:function(ke,re,Q){"use strict";Q.d(re,{Dg:function(){return Rt},lh:function(){return Pt},m$:function(){return te},vs:function(){return pt},zu:function(){return Ot}});var yt=Q(35600),wt=Q(31437);function te(Ht,Wt,Ft){var p=[0,0,0,0,0,0,0,0,0];return yt.vc(p,Ft),yt.Jp(Ht,p,Wt)}function Ot(Ht,Wt,Ft){var p=[0,0,0,0,0,0,0,0,0];return yt.Us(p,Ft),yt.Jp(Ht,p,Wt)}function Pt(Ht,Wt,Ft){var p=[0,0,0,0,0,0,0,0,0];return yt.xJ(p,Ft),yt.Jp(Ht,p,Wt)}function gt(Ht,Wt,Ft){return yt.Jp(Ht,Ft,Wt)}function pt(Ht,Wt){for(var Ft=Ht?[].concat(Ht):[1,0,0,0,1,0,0,0,1],p=0,c=Wt.length;p=0;return Ft?c?Math.PI*2-p:p:c?p:Math.PI*2-p}function Qt(Ht,Wt,Ft){return Ft?(Ht[0]=Wt[1],Ht[1]=-1*Wt[0]):(Ht[0]=-1*Wt[1],Ht[1]=Wt[0]),Ht}},39499:function(ke,re,Q){"use strict";Q.d(re,{e9:function(){return Rt},Wq:function(){return Gt},tr:function(){return j},wb:function(){return At},zx:function(){return T}});var yt=Q(45098),wt=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig,te=/[^\s\,]+/ig;function Ot(R){var G=R||[];if((0,yt.kJ)(G))return G;if((0,yt.HD)(G))return G=G.match(wt),(0,yt.S6)(G,function(K,ft){if(K=K.match(te),K[0].length>1){var _t=K[0].charAt(0);K.splice(1,0,K[0].substr(1)),K[0]=_t}(0,yt.S6)(K,function(Vt,zt){isNaN(Vt)||(K[zt]=+Vt)}),G[ft]=K}),G}var Pt=Ot,gt=Q(31437);function pt(R,G,K,ft){var _t=[],Vt=!!ft,zt,Ut,kt,ee,qt,ve,ye;if(Vt){kt=ft[0],ee=ft[1];for(var ie=0,de=R.length;ie=0;kt--)zt=Vt[kt].index,Vt[kt].type==="add"?R.splice(zt,0,[].concat(R[zt])):R.splice(zt,1)}if(ft=R.length,ft<_t)for(var kt=0;kt<_t-ft;kt++)R[ft-1][0]==="z"||R[ft-1][0]==="Z"?R.splice(ft-2,0,R[ft-2]):R.push(R[ft-1]);return R}var Ft=` -\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,p=new RegExp("([a-z])["+Ft+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Ft+"]*,?["+Ft+"]*)+)","ig"),c=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Ft+"]*,?["+Ft+"]*","ig");function j(R){if(!R)return null;if((0,yt.kJ)(R))return R;var G={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},K=[];return String(R).replace(p,function(ft,_t,Vt){var zt=[],Ut=_t.toLowerCase();if(Vt.replace(c,function(kt,ee){ee&&zt.push(+ee)}),Ut==="m"&&zt.length>2&&(K.push([_t].concat(zt.splice(0,2))),Ut="l",_t=_t==="m"?"l":"L"),Ut==="o"&&zt.length===1&&K.push([_t,zt[0]]),Ut==="r")K.push([_t].concat(zt));else for(;zt.length>=G[Ut]&&(K.push([_t].concat(zt.splice(0,G[Ut]))),!!G[Ut]););return""}),K}var q=/[a-z]/;function bt(R,G){return[G[0]+(G[0]-R[0]),G[1]+(G[1]-R[1])]}function At(R){var G=j(R);if(!G||!G.length)return[["M",0,0]];for(var K=!1,ft=0;ft=0){K=!0;break}}if(!K)return G;var Vt=[],zt=0,Ut=0,kt=0,ee=0,qt=0,ve,ye,ie=G[0];(ie[0]==="M"||ie[0]==="m")&&(zt=+ie[1],Ut=+ie[2],kt=zt,ee=Ut,qt++,Vt[0]=["M",zt,Ut]);for(var ft=qt,de=G.length;ft1&&(Vt=1),Vt<-1&&(Vt=-1),_t*Math.acos(Vt)},Et=function(R,G,K,ft,_t,Vt,zt,Ut,kt,ee,qt,ve){var ye=Math.pow(_t,2),ie=Math.pow(Vt,2),de=Math.pow(qt,2),pe=Math.pow(ve,2),ge=ye*ie-ye*pe-ie*de;ge<0&&(ge=0),ge/=ye*pe+ie*de,ge=Math.sqrt(ge)*(zt===Ut?-1:1);var ue=ge*_t/Vt*ve,Se=ge*-Vt/_t*qt,Ee=ee*ue-kt*Se+(R+K)/2,we=kt*ue+ee*Se+(G+ft)/2,Le=(qt-ue)/_t,Re=(ve-Se)/Vt,Ne=(-qt-ue)/_t,or=(-ve-Se)/Vt,Ir=mt(1,0,Le,Re),gr=mt(Le,Re,Ne,or);return Ut===0&&gr>0&&(gr-=U),Ut===1&&gr<0&&(gr+=U),[Ee,we,Ir,gr]},Bt=function(R){var G=R.px,K=R.py,ft=R.cx,_t=R.cy,Vt=R.rx,zt=R.ry,Ut=R.xAxisRotation,kt=Ut===void 0?0:Ut,ee=R.largeArcFlag,qt=ee===void 0?0:ee,ve=R.sweepFlag,ye=ve===void 0?0:ve,ie=[];if(Vt===0||zt===0)return[{x1:0,y1:0,x2:0,y2:0,x:ft,y:_t}];var de=Math.sin(kt*U/360),pe=Math.cos(kt*U/360),ge=pe*(G-ft)/2+de*(K-_t)/2,ue=-de*(G-ft)/2+pe*(K-_t)/2;if(ge===0&&ue===0)return[{x1:0,y1:0,x2:0,y2:0,x:ft,y:_t}];Vt=Math.abs(Vt),zt=Math.abs(zt);var Se=Math.pow(ge,2)/Math.pow(Vt,2)+Math.pow(ue,2)/Math.pow(zt,2);Se>1&&(Vt*=Math.sqrt(Se),zt*=Math.sqrt(Se));var Ee=Et(G,K,ft,_t,Vt,zt,qt,ye,de,pe,ge,ue),we=Ee[0],Le=Ee[1],Re=Ee[2],Ne=Ee[3],or=Math.abs(Ne)/(U/4);Math.abs(1-or)<1e-7&&(or=1);var Ir=Math.max(Math.ceil(or),1);Ne/=Ir;for(var gr=0;gr7){R[K].shift();for(var ft=R[K],_t=K;ft.length;)G[K]="A",R.splice(_t+=1,0,["C"].concat(ft.splice(0,6)));R.splice(K,1)}}var Ct=function(R,G,K,ft,_t){var Vt=-3*G+9*K-9*ft+3*_t,zt=R*Vt+6*G-12*K+6*ft;return R*zt-3*G+3*K},lt=function(R,G,K,ft,_t,Vt,zt,Ut,kt){kt===null&&(kt=1),kt=kt>1?1:kt<0?0:kt;for(var ee=kt/2,qt=12,ve=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],ye=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],ie=0,de=0;de0&&ie<1&&kt.push(ie);continue}var pe=ve*ve-4*ye*qt,ge=Math.sqrt(pe);if(!(pe<0)){var ue=(-ve+ge)/(2*qt);ue>0&&ue<1&&kt.push(ue);var Se=(-ve-ge)/(2*qt);Se>0&&Se<1&&kt.push(Se)}}for(var Ee=kt.length,we=Ee,Le;Ee--;)ie=kt[Ee],Le=1-ie,ee[0][Ee]=Le*Le*Le*R+3*Le*Le*ie*K+3*Le*ie*ie*_t+ie*ie*ie*zt,ee[1][Ee]=Le*Le*Le*G+3*Le*Le*ie*ft+3*Le*ie*ie*Vt+ie*ie*ie*Ut;return ee[0][we]=R,ee[1][we]=G,ee[0][we+1]=zt,ee[1][we+1]=Ut,ee[0].length=ee[1].length=we+2,{min:{x:Math.min.apply(0,ee[0]),y:Math.min.apply(0,ee[1])},max:{x:Math.max.apply(0,ee[0]),y:Math.max.apply(0,ee[1])}}},w=function(R,G,K,ft,_t,Vt,zt,Ut){if(!(Math.max(R,K)Math.max(_t,zt)||Math.max(G,ft)Math.max(Vt,Ut))){var kt=(R*ft-G*K)*(_t-zt)-(R-K)*(_t*Ut-Vt*zt),ee=(R*ft-G*K)*(Vt-Ut)-(G-ft)*(_t*Ut-Vt*zt),qt=(R-K)*(Vt-Ut)-(G-ft)*(_t-zt);if(!!qt){var ve=kt/qt,ye=ee/qt,ie=+ve.toFixed(2),de=+ye.toFixed(2);if(!(ie<+Math.min(R,K).toFixed(2)||ie>+Math.max(R,K).toFixed(2)||ie<+Math.min(_t,zt).toFixed(2)||ie>+Math.max(_t,zt).toFixed(2)||de<+Math.min(G,ft).toFixed(2)||de>+Math.max(G,ft).toFixed(2)||de<+Math.min(Vt,Ut).toFixed(2)||de>+Math.max(Vt,Ut).toFixed(2)))return{x:ve,y:ye}}}},C=function(R,G,K){return G>=R.x&&G<=R.x+R.width&&K>=R.y&&K<=R.y+R.height},Y=function(R,G,K,ft){return R===null&&(R=G=K=ft=0),G===null&&(G=R.y,K=R.width,ft=R.height,R=R.x),{x:R,y:G,width:K,w:K,height:ft,h:ft,x2:R+K,y2:G+ft,cx:R+K/2,cy:G+ft/2,r1:Math.min(K,ft)/2,r2:Math.max(K,ft)/2,r0:Math.sqrt(K*K+ft*ft)/2,path:rectPath(R,G,K,ft),vb:[R,G,K,ft].join(" ")}},nt=function(R,G){return R=Y(R),G=Y(G),C(G,R.x,R.y)||C(G,R.x2,R.y)||C(G,R.x,R.y2)||C(G,R.x2,R.y2)||C(R,G.x,G.y)||C(R,G.x2,G.y)||C(R,G.x,G.y2)||C(R,G.x2,G.y2)||(R.xG.x||G.xR.x)&&(R.yG.y||G.yR.y)},H=function(R,G,K,ft,_t,Vt,zt,Ut){isArray(R)||(R=[R,G,K,ft,_t,Vt,zt,Ut]);var kt=z.apply(null,R);return Y(kt.min.x,kt.min.y,kt.max.x-kt.min.x,kt.max.y-kt.min.y)},rt=function(R,G,K,ft,_t,Vt,zt,Ut,kt){var ee=1-kt,qt=Math.pow(ee,3),ve=Math.pow(ee,2),ye=kt*kt,ie=ye*kt,de=qt*R+ve*3*kt*K+ee*3*kt*kt*_t+ie*zt,pe=qt*G+ve*3*kt*ft+ee*3*kt*kt*Vt+ie*Ut,ge=R+2*kt*(K-R)+ye*(_t-2*K+R),ue=G+2*kt*(ft-G)+ye*(Vt-2*ft+G),Se=K+2*kt*(_t-K)+ye*(zt-2*_t+K),Ee=ft+2*kt*(Vt-ft)+ye*(Ut-2*Vt+ft),we=ee*R+kt*K,Le=ee*G+kt*ft,Re=ee*_t+kt*zt,Ne=ee*Vt+kt*Ut,or=90-Math.atan2(ge-Se,ue-Ee)*180/Math.PI;return{x:de,y:pe,m:{x:ge,y:ue},n:{x:Se,y:Ee},start:{x:we,y:Le},end:{x:Re,y:Ne},alpha:or}},b=function(R,G,K){var ft=H(R),_t=H(G);if(!nt(ft,_t))return K?0:[];for(var Vt=lt.apply(0,R),zt=lt.apply(0,G),Ut=~~(Vt/8),kt=~~(zt/8),ee=[],qt=[],ve={},ye=K?0:[],ie=0;ie=0&&Ne<=1&&or>=0&&or<=1&&(K?ye++:ye.push({x:Re.x,y:Re.y,t1:Ne,t2:or}))}}return ye},B=function(R,G,K){R=path2Curve(R),G=path2Curve(G);for(var ft,_t,Vt,zt,Ut,kt,ee,qt,ve,ye,ie=K?0:[],de=0,pe=R.length;de1&&(K*=Math.sqrt(ie),ft*=Math.sqrt(ie));var de=K*K*(ye*ye)+ft*ft*(ve*ve),pe=de?Math.sqrt((K*K*(ft*ft)-de)/de):1;Vt===zt&&(pe*=-1),isNaN(pe)&&(pe=0);var ge=ft?pe*K*ye/ft:0,ue=K?pe*-ft*ve/K:0,Se=(Ut+ee)/2+Math.cos(_t)*ge-Math.sin(_t)*ue,Ee=(kt+qt)/2+Math.sin(_t)*ge+Math.cos(_t)*ue,we=[(ve-ge)/K,(ye-ue)/ft],Le=[(-1*ve-ge)/K,(-1*ye-ue)/ft],Re=it([1,0],we),Ne=it(we,Le);return $(we,Le)<=-1&&(Ne=Math.PI),$(we,Le)>=1&&(Ne=0),zt===0&&Ne>0&&(Ne=Ne-2*Math.PI),zt===1&&Ne<0&&(Ne=Ne+2*Math.PI),{cx:Se,cy:Ee,rx:ht(R,[ee,qt])?0:K,ry:ht(R,[ee,qt])?0:ft,startAngle:Re,endAngle:Re+Ne,xRotation:_t,arcFlag:Vt,sweepFlag:zt}}function S(R,G){return[G[0]+(G[0]-R[0]),G[1]+(G[1]-R[1])]}function T(R){R=Pt(R);for(var G=[],K=null,ft=null,_t=null,Vt=0,zt=R.length,Ut=0;Ut0!=_(Ut[1]-K)>0&&_(G-(K-zt[1])*(zt[0]-Ut[0])/(zt[1]-Ut[1])-zt[0])<0&&(ft=!ft)}return ft}var ot=function(R,G,K){return R>=G&&R<=K};function Mt(R,G,K,ft){var _t=.001,Vt={x:K.x-R.x,y:K.y-R.y},zt={x:G.x-R.x,y:G.y-R.y},Ut={x:ft.x-K.x,y:ft.y-K.y},kt=zt.x*Ut.y-zt.y*Ut.x,ee=kt*kt,qt=zt.x*zt.x+zt.y*zt.y,ve=Ut.x*Ut.x+Ut.y*Ut.y,ye=null;if(ee>_t*qt*ve){var ie=(Vt.x*Ut.y-Vt.y*Ut.x)/kt,de=(Vt.x*zt.y-Vt.y*zt.x)/kt;ot(ie,0,1)&&ot(de,0,1)&&(ye={x:R.x+ie*zt.x,y:R.y+ie*zt.y})}return ye}function $t(R){for(var G=[],K=R.length,ft=0;ft1){var zt=R[0],Ut=R[K-1];G.push({from:{x:Ut[0],y:Ut[1]},to:{x:zt[0],y:zt[1]}})}return G}function ae(R,G){var K=!1;return(0,yt.S6)(R,function(ft){if(Mt(ft.from,ft.to,G.from,G.to))return K=!0,!1}),K}function ne(R){var G=R.map(function(ft){return ft[0]}),K=R.map(function(ft){return ft[1]});return{minX:Math.min.apply(null,G),maxX:Math.max.apply(null,G),minY:Math.min.apply(null,K),maxY:Math.max.apply(null,K)}}function Yt(R,G){return!(G.minX>R.maxX||G.maxXR.maxY||G.maxY-1:!1},Ot=te,Pt=function(I,Z){if(!wt(I))return I;for(var ut=[],St=0;St-1;)k.call(I,ce,1);return I},ht=null,A=Array.prototype.splice,S=function(Z,ut){if(!wt(Z))return[];for(var St=Z?ut.length:0,Zt=St-1;St--;){var ce=void 0,Ae=ut[St];(St===Zt||Ae!==ce)&&(ce=Ae,A.call(Z,Ae,1))}return Z},T=S,L=function(I,Z,ut){if(!c(I)&&!jt(I))return I;var St=ut;return bt(I,function(Zt,ce){St=Z(St,Zt,ce)}),St},_=L,W=function(I,Z){var ut=[];if(!wt(I))return ut;for(var St=-1,Zt=[],ce=I.length;++Stce[Ze])return 1;if(Zt[Ze]ut?ut:I},Ee=Se,we=function(I,Z){var ut=Z.toString(),St=ut.indexOf(".");if(St===-1)return Math.round(I);var Zt=ut.substr(St+1).length;return Zt>20&&(Zt=20),parseFloat(I.toFixed(Zt))},Le=we,Re=function(I){return Ht(I,"Number")},Ne=Re,or=function(I){return isNumber(I)&&I%1!==0},Ir=null,gr=function(I){return isNumber(I)&&I%2===0},zr=null,ln=Number.isInteger?Number.isInteger:function(I){return Ne(I)&&I%1===0},gn=null,$n=function(I){return isNumber(I)&&I<0},un=null,xr=1e-5;function cn(I,Z,ut){return ut===void 0&&(ut=xr),Math.abs(I-Z)0},vr=null,di=function(I,Z){if(!!c(I)){for(var ut,St=-1/0,Zt=0;ZtSt&&(ut=ce,St=Ae)}return ut}},_a=function(I,Z){if(!!c(I)){for(var ut,St=1/0,Zt=0;ZtZ?(St&&(clearTimeout(St),St=null),Ze=Ar,Ae=I.apply(Zt,ce),St||(Zt=ce=null)):!St&&ut.trailing!==!1&&(St=setTimeout(pr,tn)),Ae};return kr.cancel=function(){clearTimeout(St),Ze=0,St=Zt=ce=null},kr},is=function(I){return wt(I)?Array.prototype.slice.call(I):[]},wi={},zl=function(I){return I=I||"g",wi[I]?wi[I]+=1:wi[I]=1,I+wi[I]},as=function(){};function Ul(I){return p(I)?0:wt(I)?I.length:Object.keys(I).length}var os=Q(70655),Si,On=Vr(function(I,Z){Z===void 0&&(Z={});var ut=Z.fontSize,St=Z.fontFamily,Zt=Z.fontWeight,ce=Z.fontStyle,Ae=Z.fontVariant;return Si||(Si=document.createElement("canvas").getContext("2d")),Si.font=[ce,Ae,Zt,ut+"px",St].join(" "),Si.measureText(ot(I)?I:"").width},function(I,Z){return Z===void 0&&(Z={}),(0,os.pr)([I],Ua(Z)).join("")}),Gr=function(I,Z,ut,St){St===void 0&&(St="...");var Zt=16,ce=On(St,ut),Ae=ot(I)?I:qn(I),Ze=Z,pr=[],kr,Ar;if(On(I,ut)<=Z)return I;for(;kr=Ae.substr(0,Zt),Ar=On(kr,ut),!(Ar+ce>Ze&&Ar>Ze);)if(pr.push(kr),Ze-=Ar,Ae=Ae.substr(Zt),!Ae)return pr.join("");for(;kr=Ae.substr(0,1),Ar=On(kr,ut),!(Ar+ce>Ze);)if(pr.push(kr),Ze-=Ar,Ae=Ae.substr(1),!Ae)return pr.join("");return""+pr.join("")+St},_n=function(){function I(){this.map={}}return I.prototype.has=function(Z){return this.map[Z]!==void 0},I.prototype.get=function(Z,ut){var St=this.map[Z];return St===void 0?ut:St},I.prototype.set=function(Z,ut){this.map[Z]=ut},I.prototype.clear=function(){this.map={}},I.prototype.delete=function(Z){delete this.map[Z]},I.prototype.size=function(){return Object.keys(this.map).length},I}(),Bn=_n},55054:function(ke,re,Q){"use strict";Q.d(re,{Z:function(){return Et}});var yt=Q(94184),wt=Q.n(yt),te=Q(67294),Ot=Q(53124),Pt=Q(99559),pt=Bt=>{const{value:jt,formatter:et,precision:dt,decimalSeparator:Nt,groupSeparator:Ct="",prefixCls:lt}=Bt;let z;if(typeof et=="function")z=et(jt);else{const w=String(jt),C=w.match(/^(-?)(\d*)(\.(\d+))?$/);if(!C||w==="-")z=w;else{const Y=C[1];let nt=C[2]||"0",H=C[4]||"";nt=nt.replace(/\B(?=(\d{3})+(?!\d))/g,Ct),typeof dt=="number"&&(H=H.padEnd(dt,"0").slice(0,dt>0?dt:0)),H&&(H=`${Nt}${H}`),z=[te.createElement("span",{key:"int",className:`${lt}-content-value-int`},Y,nt),H&&te.createElement("span",{key:"decimal",className:`${lt}-content-value-decimal`},H)]}}return te.createElement("span",{className:`${lt}-content-value`},z)},xt=Q(67968),Rt=Q(45503),Qt=Q(14747);const Ht=Bt=>{const{componentCls:jt,marginXXS:et,padding:dt,colorTextDescription:Nt,statisticTitleFontSize:Ct,colorTextHeading:lt,statisticContentFontSize:z,statisticFontFamily:w}=Bt;return{[`${jt}`]:Object.assign(Object.assign({},(0,Qt.Wf)(Bt)),{[`${jt}-title`]:{marginBottom:et,color:Nt,fontSize:Ct},[`${jt}-skeleton`]:{paddingTop:dt},[`${jt}-content`]:{color:lt,fontSize:z,fontFamily:w,[`${jt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${jt}-content-prefix, ${jt}-content-suffix`]:{display:"inline-block"},[`${jt}-content-prefix`]:{marginInlineEnd:et},[`${jt}-content-suffix`]:{marginInlineStart:et}}})}};var Wt=(0,xt.Z)("Statistic",Bt=>{const{fontSizeHeading3:jt,fontSize:et,fontFamily:dt}=Bt,Nt=(0,Rt.TS)(Bt,{statisticTitleFontSize:et,statisticContentFontSize:jt,statisticFontFamily:dt});return[Ht(Nt)]}),Ft=Q(57838),p=Q(96159);const c=[["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 j(Bt,jt){let et=Bt;const dt=/\[[^\]]*]/g,Nt=(jt.match(dt)||[]).map(w=>w.slice(1,-1)),Ct=jt.replace(dt,"[]"),lt=c.reduce((w,C)=>{let[Y,nt]=C;if(w.includes(Y)){const H=Math.floor(et/nt);return et-=H*nt,w.replace(new RegExp(`${Y}+`,"g"),rt=>{const b=rt.length;return H.toString().padStart(b,"0")})}return w},Ct);let z=0;return lt.replace(dt,()=>{const w=Nt[z];return z+=1,w})}function q(Bt,jt){const{format:et=""}=jt,dt=new Date(Bt).getTime(),Nt=Date.now(),Ct=Math.max(dt-Nt,0);return j(Ct,et)}const bt=1e3/30;function At(Bt){return new Date(Bt).getTime()}const U=Bt=>{const{value:jt,format:et="HH:mm:ss",onChange:dt,onFinish:Nt}=Bt,Ct=(0,Ft.Z)(),lt=te.useRef(null),z=()=>{Nt==null||Nt(),lt.current&&(clearInterval(lt.current),lt.current=null)},w=()=>{const nt=At(jt);nt>=Date.now()&&(lt.current=setInterval(()=>{Ct(),dt==null||dt(nt-Date.now()),nt(w(),()=>{lt.current&&(clearInterval(lt.current),lt.current=null)}),[jt]);const C=(nt,H)=>q(nt,Object.assign(Object.assign({},H),{format:et})),Y=nt=>(0,p.Tm)(nt,{title:void 0});return te.createElement(mt,Object.assign({},Bt,{valueRender:Y,formatter:C}))};var X=te.memo(U);const ct=Bt=>{const{prefixCls:jt,className:et,style:dt,valueStyle:Nt,value:Ct=0,title:lt,valueRender:z,prefix:w,suffix:C,loading:Y=!1,onMouseEnter:nt,onMouseLeave:H,decimalSeparator:rt=".",groupSeparator:b=","}=Bt,{getPrefixCls:B,direction:O}=te.useContext(Ot.E_),k=B("statistic",jt),[$,it]=Wt(k),ht=te.createElement(pt,Object.assign({decimalSeparator:rt,groupSeparator:b,prefixCls:k},Bt,{value:Ct})),A=wt()(k,{[`${k}-rtl`]:O==="rtl"},et,it);return $(te.createElement("div",{className:A,style:dt,onMouseEnter:nt,onMouseLeave:H},lt&&te.createElement("div",{className:`${k}-title`},lt),te.createElement(Pt.Z,{paragraph:!1,loading:Y,className:`${k}-skeleton`},te.createElement("div",{style:Nt,className:`${k}-content`},w&&te.createElement("span",{className:`${k}-content-prefix`},w),z?z(ht):ht,C&&te.createElement("span",{className:`${k}-content-suffix`},C)))))};ct.Countdown=X;var mt=ct,Et=mt},56645:function(ke,re){(function(Q,yt){yt(re)})(this,function(Q){"use strict";function yt(et,dt){return wt(et)||te(et,dt)||Ot()}function wt(et){if(Array.isArray(et))return et}function te(et,dt){var Nt=[],Ct=!0,lt=!1,z=void 0;try{for(var w=et[Symbol.iterator](),C;!(Ct=(C=w.next()).done)&&(Nt.push(C.value),!(dt&&Nt.length===dt));Ct=!0);}catch(Y){lt=!0,z=Y}finally{try{!Ct&&w.return!=null&&w.return()}finally{if(lt)throw z}}return Nt}function Ot(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Pt(et,dt,Nt,Ct){et=et.filter(function(O,k){var $=dt(O,k),it=Nt(O,k);return $!=null&&isFinite($)&&it!=null&&isFinite(it)}),Ct&&et.sort(function(O,k){return dt(O)-dt(k)});for(var lt=et.length,z=new Float64Array(lt),w=new Float64Array(lt),C=0,Y=0,nt,H,rt,b=0;blt&&(H.splice(B+1,0,it),b=!0)}return b}}function Ht(et,dt,Nt,Ct){var lt=Ct-et*et,z=Math.abs(lt)<1e-24?0:(Nt-et*dt)/lt,w=dt-z*et;return[w,z]}function Wt(){var et=function(z){return z[0]},dt=function(z){return z[1]},Nt;function Ct(lt){var z=0,w=0,C=0,Y=0,nt=0,H=0,rt=Nt?+Nt[0]:1/0,b=Nt?+Nt[1]:-1/0;gt(lt,et,dt,function(A,S){var T=Math.log(S),L=A*S;++z,w+=(S-w)/z,Y+=(L-Y)/z,H+=(A*L-H)/z,C+=(S*T-C)/z,nt+=(L*T-nt)/z,Nt||(Ab&&(b=A))});var B=Ht(Y/w,C/w,nt/w,H/w),O=yt(B,2),k=O[0],$=O[1];k=Math.exp(k);var it=function(S){return k*Math.exp($*S)},ht=Qt(rt,b,it);return ht.a=k,ht.b=$,ht.predict=it,ht.rSquared=pt(lt,et,dt,w,it),ht}return Ct.domain=function(lt){return arguments.length?(Nt=lt,Ct):Nt},Ct.x=function(lt){return arguments.length?(et=lt,Ct):et},Ct.y=function(lt){return arguments.length?(dt=lt,Ct):dt},Ct}function Ft(){var et=function(z){return z[0]},dt=function(z){return z[1]},Nt;function Ct(lt){var z=0,w=0,C=0,Y=0,nt=0,H=Nt?+Nt[0]:1/0,rt=Nt?+Nt[1]:-1/0;gt(lt,et,dt,function(ht,A){++z,w+=(ht-w)/z,C+=(A-C)/z,Y+=(ht*A-Y)/z,nt+=(ht*ht-nt)/z,Nt||(htrt&&(rt=ht))});var b=Ht(w,C,Y,nt),B=yt(b,2),O=B[0],k=B[1],$=function(A){return k*A+O},it=[[H,$(H)],[rt,$(rt)]];return it.a=k,it.b=O,it.predict=$,it.rSquared=pt(lt,et,dt,C,$),it}return Ct.domain=function(lt){return arguments.length?(Nt=lt,Ct):Nt},Ct.x=function(lt){return arguments.length?(et=lt,Ct):et},Ct.y=function(lt){return arguments.length?(dt=lt,Ct):dt},Ct}function p(et){et.sort(function(Nt,Ct){return Nt-Ct});var dt=et.length/2;return dt%1===0?(et[dt-1]+et[dt])/2:et[Math.floor(dt)]}var c=2,j=1e-12;function q(){var et=function(z){return z[0]},dt=function(z){return z[1]},Nt=.3;function Ct(lt){for(var z=Pt(lt,et,dt,!0),w=yt(z,4),C=w[0],Y=w[1],nt=w[2],H=w[3],rt=C.length,b=Math.max(2,~~(Nt*rt)),B=new Float64Array(rt),O=new Float64Array(rt),k=new Float64Array(rt).fill(1),$=-1;++$<=c;){for(var it=[0,b-1],ht=0;htC[T]-A?S:T,_=0,W=0,at=0,ot=0,Mt=0,$t=1/Math.abs(C[L]-A||1),ae=S;ae<=T;++ae){var ne=C[ae],Yt=Y[ae],Gt=bt(Math.abs(A-ne)*$t)*k[ae],R=ne*Gt;_+=Gt,W+=R,at+=Yt*Gt,ot+=Yt*R,Mt+=ne*R}var G=Ht(W/_,at/_,ot/_,Mt/_),K=yt(G,2),ft=K[0],_t=K[1];B[ht]=ft+_t*A,O[ht]=Math.abs(Y[ht]-B[ht]),At(C,ht+1,it)}if($===c)break;var Vt=p(O);if(Math.abs(Vt)=1?j:(kt=1-Ut*Ut)*kt}return U(C,B,nt,H)}return Ct.bandwidth=function(lt){return arguments.length?(Nt=lt,Ct):Nt},Ct.x=function(lt){return arguments.length?(et=lt,Ct):et},Ct.y=function(lt){return arguments.length?(dt=lt,Ct):dt},Ct}function bt(et){return(et=1-et*et*et)*et*et}function At(et,dt,Nt){var Ct=et[dt],lt=Nt[0],z=Nt[1]+1;if(!(z>=et.length))for(;dt>lt&&et[z]-Ct<=Ct-et[lt];)Nt[0]=++lt,Nt[1]=z,++z}function U(et,dt,Nt,Ct){for(var lt=et.length,z=[],w=0,C=0,Y=[],nt;wb&&(b=S))});var O=Ht(C,Y,nt,H),k=yt(O,2),$=k[0],it=k[1],ht=function(T){return it*Math.log(T)/B+$},A=Qt(rt,b,ht);return A.a=it,A.b=$,A.predict=ht,A.rSquared=pt(z,et,dt,Y,ht),A}return lt.domain=function(z){return arguments.length?(Ct=z,lt):Ct},lt.x=function(z){return arguments.length?(et=z,lt):et},lt.y=function(z){return arguments.length?(dt=z,lt):dt},lt.base=function(z){return arguments.length?(Nt=z,lt):Nt},lt}function ct(){var et=function(z){return z[0]},dt=function(z){return z[1]},Nt;function Ct(lt){var z=Pt(lt,et,dt),w=yt(z,4),C=w[0],Y=w[1],nt=w[2],H=w[3],rt=C.length,b=0,B=0,O=0,k=0,$=0,it,ht,A,S;for(it=0;itW&&(W=Gt))});var at=O-b*b,ot=b*at-B*B,Mt=($*b-k*B)/ot,$t=(k*at-$*B)/ot,ae=-Mt*b,ne=function(R){return R=R-nt,Mt*R*R+$t*R+ae+H},Yt=Qt(_,W,ne);return Yt.a=Mt,Yt.b=$t-2*Mt*nt,Yt.c=ae-$t*nt+Mt*nt*nt+H,Yt.predict=ne,Yt.rSquared=pt(lt,et,dt,T,ne),Yt}return Ct.domain=function(lt){return arguments.length?(Nt=lt,Ct):Nt},Ct.x=function(lt){return arguments.length?(et=lt,Ct):et},Ct.y=function(lt){return arguments.length?(dt=lt,Ct):dt},Ct}function mt(){var et=function(w){return w[0]},dt=function(w){return w[1]},Nt=3,Ct;function lt(z){if(Nt===1){var w=Ft().x(et).y(dt).domain(Ct)(z);return w.coefficients=[w.b,w.a],delete w.a,delete w.b,w}if(Nt===2){var C=ct().x(et).y(dt).domain(Ct)(z);return C.coefficients=[C.c,C.b,C.a],delete C.a,delete C.b,delete C.c,C}var Y=Pt(z,et,dt),nt=yt(Y,4),H=nt[0],rt=nt[1],b=nt[2],B=nt[3],O=H.length,k=[],$=[],it=Nt+1,ht=0,A=0,S=Ct?+Ct[0]:1/0,T=Ct?+Ct[1]:-1/0;gt(z,et,dt,function(ne,Yt){++A,ht+=(Yt-ht)/A,Ct||(neT&&(T=ne))});var L,_,W,at,ot;for(L=0;L=0;--z)for(C=dt[z],Y=1,lt[z]+=C,w=1;w<=z;++w)Y*=(z+1-w)/w,lt[z-w]+=C*Math.pow(Nt,w)*Y;return lt[0]+=Ct,lt}function Bt(et){var dt=et.length-1,Nt=[],Ct,lt,z,w,C;for(Ct=0;CtMath.abs(et[Ct][w])&&(w=lt);for(z=Ct;z=Ct;z--)et[z][lt]-=et[z][Ct]*et[Ct][lt]/et[Ct][Ct]}for(lt=dt-1;lt>=0;--lt){for(C=0,z=lt+1;zb&&(b=A))});var B=Ht(w,C,Y,nt),O=yt(B,2),k=O[0],$=O[1];k=Math.exp(k);var it=function(S){return k*Math.pow(S,$)},ht=Qt(rt,b,it);return ht.a=k,ht.b=$,ht.predict=it,ht.rSquared=pt(lt,et,dt,H,it),ht}return Ct.domain=function(lt){return arguments.length?(Nt=lt,Ct):Nt},Ct.x=function(lt){return arguments.length?(et=lt,Ct):et},Ct.y=function(lt){return arguments.length?(dt=lt,Ct):dt},Ct}Q.regressionExp=Wt,Q.regressionLinear=Ft,Q.regressionLoess=q,Q.regressionLog=X,Q.regressionPoly=mt,Q.regressionPow=jt,Q.regressionQuad=ct,Object.defineProperty(Q,"__esModule",{value:!0})})},43631:function(ke,re,Q){"use strict";Q.d(re,{qY:function(){return Ft}});var yt=Q(34155),wt=function(U,X,ct){if(ct||arguments.length===2)for(var mt=0,Et=X.length,Bt;mt0)throw"Initial bisect points must have opposite signs";if(At===0)return p;if(U===0)return c;for(var ct=0;ct=0&&(p=mt),Math.abs(X)=et[jt-1].fx){var B=!1;if(w.fx>b.fx?(pt(C,1+mt,z,-mt,b),C.fx=Ft(C),C.fx=1)break;for(dt=1;dtU+bt*q*X||ct>=Ct)Nt=q;else{if(Math.abs(Et)<=-At*X)return q;Et*(Nt-dt)>=0&&(Nt=dt),dt=q,Ct=ct}return 0}for(var et=0;et<10;++et){if(pt(j.x,1,c.x,q,p),ct=j.fx=Ft(j.x,j.fxprime),Et=Ot(j.fxprime,p),ct>U+bt*q*X||et&&ct>=mt)return jt(Bt,q,mt);if(Math.abs(Et)<=-At*X)return q;if(Et>=0)return jt(q,Bt,ct);mt=ct,Bt=q,q*=2}return q}function Qt(Ft,p,c){var j={x:p.slice(),fx:0,fxprime:p.slice()},q={x:p.slice(),fx:0,fxprime:p.slice()},bt=p.slice(),At,U,X=1,ct;c=c||{},ct=c.maxIterations||p.length*20,j.fx=Ft(j.x,j.fxprime),At=j.fxprime.slice(),gt(At,j.fxprime,-1);for(var mt=0;mt0&&(W=1/Math.sqrt(W)),S[0]=T[0]*W,S[1]=T[1]*W,S}function Bt(S,T){return S[0]*T[0]+S[1]*T[1]}function jt(S,T,L){var _=T[0]*L[1]-T[1]*L[0];return S[0]=S[1]=0,S[2]=_,S}function et(S,T,L,_){var W=T[0],at=T[1];return S[0]=W+_*(L[0]-W),S[1]=at+_*(L[1]-at),S}function dt(S,T){T=T||1;var L=glMatrix.RANDOM()*2*Math.PI;return S[0]=Math.cos(L)*T,S[1]=Math.sin(L)*T,S}function Nt(S,T,L){var _=T[0],W=T[1];return S[0]=L[0]*_+L[2]*W,S[1]=L[1]*_+L[3]*W,S}function Ct(S,T,L){var _=T[0],W=T[1];return S[0]=L[0]*_+L[2]*W+L[4],S[1]=L[1]*_+L[3]*W+L[5],S}function lt(S,T,L){var _=T[0],W=T[1];return S[0]=L[0]*_+L[3]*W+L[6],S[1]=L[1]*_+L[4]*W+L[7],S}function z(S,T,L){var _=T[0],W=T[1];return S[0]=L[0]*_+L[4]*W+L[12],S[1]=L[1]*_+L[5]*W+L[13],S}function w(S,T,L,_){var W=T[0]-L[0],at=T[1]-L[1],ot=Math.sin(_),Mt=Math.cos(_);return S[0]=W*Mt-at*ot+L[0],S[1]=W*ot+at*Mt+L[1],S}function C(S,T){var L=S[0],_=S[1],W=T[0],at=T[1],ot=Math.sqrt(L*L+_*_)*Math.sqrt(W*W+at*at),Mt=ot&&(L*W+_*at)/ot;return Math.acos(Math.min(Math.max(Mt,-1),1))}function Y(S){return S[0]=0,S[1]=0,S}function nt(S){return"vec2("+S[0]+", "+S[1]+")"}function H(S,T){return S[0]===T[0]&&S[1]===T[1]}function rt(S,T){var L=S[0],_=S[1],W=T[0],at=T[1];return Math.abs(L-W)<=glMatrix.EPSILON*Math.max(1,Math.abs(L),Math.abs(W))&&Math.abs(_-at)<=glMatrix.EPSILON*Math.max(1,Math.abs(_),Math.abs(at))}var b=null,B=xt,O=null,k=null,$=null,it=null,ht=null,A=function(){var S=wt();return function(T,L,_,W,at,ot){var Mt,$t;for(L||(L=2),_||(_=0),W?$t=Math.min(W*L+_,T.length):$t=T.length,Mt=_;Mt<$t;Mt+=L)S[0]=T[Mt],S[1]=T[Mt+1],at(S,S,ot),T[Mt]=S[0],T[Mt+1]=S[1];return T}}()},73807:function(ke){"use strict";var re=ke.exports;ke.exports.isNumber=function(Q){return typeof Q=="number"},ke.exports.findMin=function(Q){if(Q.length===0)return 1/0;for(var yt=Q[0],wt=1;wt=q.length)){var Nt=Math.max(dt-Ht,0),Ct=dt,lt=Math.min(dt+Ht,q.length-1),z=Nt-(dt-Ht),w=dt+Ht-lt,C=U[-Ht-1+z]||0,Y=U[-Ht-1+w]||0,nt=X/(X-C-Y);z>0&&(mt+=nt*(z-1)*ct);var H=Math.max(0,dt-Ht+1);Pt.inside(0,q.length-1,H)&&(q[H].y+=nt*1*ct),Pt.inside(0,q.length-1,Ct+1)&&(q[Ct+1].y-=nt*2*ct),Pt.inside(0,q.length-1,lt+1)&&(q[lt+1].y+=nt*1*ct)}});var Et=mt,Bt=0,jt=0;return q.forEach(function(et){Bt+=et.y,Et+=Bt,et.y=Et,jt+=Et}),jt>0&&q.forEach(function(et){et.y/=jt}),q};function pt(xt,Rt){for(var Qt={},Ht=0,Wt=-Rt;Wt<=Rt;Wt++)Ht+=xt(Wt/Rt),Qt[Wt]=Ht;return Qt}ke.exports.getExpectedValueFromPdf=function(xt){if(!(!xt||xt.length===0)){var Rt=0;return xt.forEach(function(Qt){Rt+=Qt.x*Qt.y}),Rt}},ke.exports.getXWithLeftTailArea=function(xt,Rt){if(!(!xt||xt.length===0)){for(var Qt=0,Ht=0,Wt=0;Wt=Rt));Wt++);return xt[Ht].x}},ke.exports.getPerplexity=function(xt){if(!(!xt||xt.length===0)){var Rt=0;return xt.forEach(function(Qt){var Ht=Math.log(Qt.y);isFinite(Ht)&&(Rt+=Qt.y*Ht)}),Rt=-Rt/te,Math.pow(2,Rt)}}},55168:function(ke,re){"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.SensorTabIndex=re.SensorClassName=re.SizeSensorId=void 0;var Q="size-sensor-id";re.SizeSensorId=Q;var yt="size-sensor-object";re.SensorClassName=yt;var wt="-1";re.SensorTabIndex=wt},12177:function(ke,re){"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var Q=function(wt){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,Ot=null;return function(){for(var Pt=this,gt=arguments.length,pt=new Array(gt),xt=0;xt=0;b--)(rt=z[b])&&(H=(nt<3?rt(H):nt>3?rt(w,C,H):rt(w,C))||H);return nt>3&&H&&Object.defineProperty(w,C,H),H}function gt(z,w){return function(C,Y){w(C,Y,z)}}function pt(z,w,C,Y,nt,H){function rt(L){if(L!==void 0&&typeof L!="function")throw new TypeError("Function expected");return L}for(var b=Y.kind,B=b==="getter"?"get":b==="setter"?"set":"value",O=!w&&z?Y.static?z:z.prototype:null,k=w||(O?Object.getOwnPropertyDescriptor(O,Y.name):{}),$,it=!1,ht=C.length-1;ht>=0;ht--){var A={};for(var S in Y)A[S]=S==="access"?{}:Y[S];for(var S in Y.access)A.access[S]=Y.access[S];A.addInitializer=function(L){if(it)throw new TypeError("Cannot add initializers after decoration has completed");H.push(rt(L||null))};var T=(0,C[ht])(b==="accessor"?{get:k.get,set:k.set}:k[B],A);if(b==="accessor"){if(T===void 0)continue;if(T===null||typeof T!="object")throw new TypeError("Object expected");($=rt(T.get))&&(k.get=$),($=rt(T.set))&&(k.set=$),($=rt(T.init))&&nt.push($)}else($=rt(T))&&(b==="field"?nt.push($):k[B]=$)}O&&Object.defineProperty(O,Y.name,k),it=!0}function xt(z,w,C){for(var Y=arguments.length>2,nt=0;nt0&&H[H.length-1])&&(O[0]===6||O[0]===2)){C=0;continue}if(O[0]===3&&(!H||O[1]>H[0]&&O[1]=z.length&&(z=void 0),{value:z&&z[Y++],done:!z}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}function q(z,w){var C=typeof Symbol=="function"&&z[Symbol.iterator];if(!C)return z;var Y=C.call(z),nt,H=[],rt;try{for(;(w===void 0||w-- >0)&&!(nt=Y.next()).done;)H.push(nt.value)}catch(b){rt={error:b}}finally{try{nt&&!nt.done&&(C=Y.return)&&C.call(Y)}finally{if(rt)throw rt.error}}return H}function bt(){for(var z=[],w=0;w1||b(it,ht)})})}function b(it,ht){try{B(Y[it](ht))}catch(A){$(H[0][3],A)}}function B(it){it.value instanceof X?Promise.resolve(it.value.v).then(O,k):$(H[0][2],it)}function O(it){b("next",it)}function k(it){b("throw",it)}function $(it,ht){it(ht),H.shift(),H.length&&b(H[0][0],H[0][1])}}function mt(z){var w,C;return w={},Y("next"),Y("throw",function(nt){throw nt}),Y("return"),w[Symbol.iterator]=function(){return this},w;function Y(nt,H){w[nt]=z[nt]?function(rt){return(C=!C)?{value:X(z[nt](rt)),done:!1}:H?H(rt):rt}:H}}function Et(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var w=z[Symbol.asyncIterator],C;return w?w.call(z):(z=typeof j=="function"?j(z):z[Symbol.iterator](),C={},Y("next"),Y("throw"),Y("return"),C[Symbol.asyncIterator]=function(){return this},C);function Y(H){C[H]=z[H]&&function(rt){return new Promise(function(b,B){rt=z[H](rt),nt(b,B,rt.done,rt.value)})}}function nt(H,rt,b,B){Promise.resolve(B).then(function(O){H({value:O,done:b})},rt)}}function Bt(z,w){return Object.defineProperty?Object.defineProperty(z,"raw",{value:w}):z.raw=w,z}var jt=Object.create?function(z,w){Object.defineProperty(z,"default",{enumerable:!0,value:w})}:function(z,w){z.default=w};function et(z){if(z&&z.__esModule)return z;var w={};if(z!=null)for(var C in z)C!=="default"&&Object.prototype.hasOwnProperty.call(z,C)&&p(w,z,C);return jt(w,z),w}function dt(z){return z&&z.__esModule?z:{default:z}}function Nt(z,w,C,Y){if(C==="a"&&!Y)throw new TypeError("Private accessor was defined without a getter");if(typeof w=="function"?z!==w||!Y:!w.has(z))throw new TypeError("Cannot read private member from an object whose class did not declare it");return C==="m"?Y:C==="a"?Y.call(z):Y?Y.value:w.get(z)}function Ct(z,w,C,Y,nt){if(Y==="m")throw new TypeError("Private method is not writable");if(Y==="a"&&!nt)throw new TypeError("Private accessor was defined without a setter");if(typeof w=="function"?z!==w||!nt:!w.has(z))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?nt.call(z,C):nt?nt.value=C:w.set(z,C),C}function lt(z,w){if(w===null||typeof w!="object"&&typeof w!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof z=="function"?w===z:z.has(w)}}}]); diff --git a/statics/8928.859b0f01.async.js b/statics/8928.859b0f01.async.js deleted file mode 100644 index c1a19d0c..00000000 --- a/statics/8928.859b0f01.async.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8928],{20659:function(Zt,Fe,e){var xe=e(97857),u=e.n(xe),se=e(19478),g=e(34041),P=e(96365),V=e(49288),je=e(53575),s=e(99612),W=e(85893),v=g.Z.Option,L=P.Z.TextArea,C=[{label:"${response}",value:"${response}"},{label:"${status_code}",value:"${status_code}"}];Fe.Z={CaseAsserts:[{name:"name",label:"\u9A8C\u8BC1\u70B9",required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",component:null,span:24},{name:"assert_type",label:"\u6821\u9A8C\u65B9\u5F0F",required:!0,component:(0,W.jsx)(g.Z,{placeholder:"\u9009\u62E9\u6821\u9A8C\u65B9\u5F0F\uFF0C\u652F\u6301JSON\u6DF1\u5C42\u6B21\u5224\u65AD",children:Object.keys(se.Z.ASSERT_TYPE).map(function(A){return(0,W.jsx)(v,{value:A,children:se.Z.ASSERT_TYPE[A]},A)})}),type:"select",span:24},{name:"expected",label:"\u9884\u671F\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C",component:(0,W.jsx)(V.Z,{options:[],children:(0,W.jsx)(L,{placeholder:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24},{name:"actually",label:"\u5B9E\u9645\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C",component:(0,W.jsx)(V.Z,{options:C,children:(0,W.jsx)(L,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24}],CaseDetail:[{name:"name",label:"\u573A\u666F\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",component:null,span:8},{name:"priority",label:"\u4F18\u5148\u7EA7",required:!0,component:(0,W.jsx)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u4F18\u5148\u7EA7",children:se.Z.PRIORITY.map(function(A){return(0,W.jsx)(v,{value:A,children:A},A)})}),type:"select",span:8},{name:"status",label:"\u72B6\u6001",required:!0,component:(0,W.jsx)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u5F53\u524D\u573A\u666F\u72B6\u6001",children:Object.keys(se.Z.CASE_STATUS).map(function(A){return(0,W.jsx)(v,{value:A,children:(0,W.jsx)(je.Z,u()({},se.Z.CASE_BADGE[A]))},A)})}),type:"select",span:8},{name:"request_type",label:"\u8BF7\u6C42\u7C7B\u578B",required:!0,component:(0,W.jsx)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u8BF7\u6C42\u534F\u8BAE",children:Object.keys(s.XN).map(function(A){return(0,W.jsx)(v,{value:A,disabled:A!=="1",children:s.XN[A]},A)})}),type:"select",span:8},{name:"tag",label:"\u573A\u666F\u6807\u7B7E",required:!1,component:(0,W.jsx)(g.Z,{mode:"tags",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u6807\u7B7E"}),type:"select",span:8},{name:"case_type",label:"\u573A\u666F\u7C7B\u578B",required:!0,component:(0,W.jsxs)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F\u7C7B\u578B",children:[(0,W.jsx)(v,{value:0,children:"\u666E\u901A\u573A\u666F"}),(0,W.jsx)(v,{value:1,children:"\u524D\u7F6E\u573A\u666F"}),(0,W.jsx)(v,{value:2,children:"\u6570\u636E\u5DE5\u5382"})]}),type:"select",span:8}],Environment:[{name:"name",label:"\u73AF\u5883\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",component:null,span:24},{name:"remarks",label:"\u5907\u6CE8",required:!1,message:"\u8BF7\u8F93\u5165\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",component:(0,W.jsx)(P.Z.TextArea,{maxLength:200}),span:24}]}},26194:function(Zt,Fe,e){e.d(Fe,{Z:function(){return $}});var xe=e(12444),u=e.n(xe),se=e(72004),g=e.n(se),P=e(31996),V=e.n(P),je=e(26037),s=e.n(je),W=e(67294),v=e(53239),L=e.n(v),C=e(74981),A=e(82679),x=e.n(A),l=e(5619),Re=e.n(l),I=e(41612),H=e.n(I),te=e(90252),a=e.n(te),n=e(85893),$=function(M){V()(F,M);var ut=s()(F);function F(){return u()(this,F),ut.apply(this,arguments)}return g()(F,[{key:"componentDidMount",value:function(){var t=this;this.props.setEditor(this.refs),(0,A.addCompleter)({getCompletions:function(be,B,Ze,ce,Le){Le(null,(t.props.tables||[]).map(function(ge){return{name:ge,value:ge}}))}})}},{key:"render",value:function(){var t=this.props,ye=t.value,be=t.onChange,B=t.height,Ze=t.readOnly,ce=t.theme;return(0,n.jsx)(C.ZP,{ref:"aceEditor",mode:"json",theme:ce||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:be,value:ye,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:B||300},setOptions:{readOnly:Ze||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!0}})}}]),F}(W.Component)},99612:function(Zt,Fe,e){e.d(Fe,{e5:function(){return A},mi:function(){return C},dh:function(){return L},XN:function(){return W}});var xe=e(63100),u=e(97857),se=e.n(u),g=e(37594),P=e(85893),V=function(x){var l=x.icon,Re=x.text,I=x.font,H=I===void 0?13:I,te=x.style,a=x.onClick,n=x.back,$=n===void 0?!0:n;return $?(0,P.jsxs)("span",{onClick:a,style:se()({},te),children:[(0,P.jsx)(g.B,{type:l,style:{fontSize:H}})," ",Re]}):(0,P.jsxs)("span",{onClick:a,style:se()({},te),children:[Re," ",(0,P.jsx)(g.B,{style:{fontSize:H},type:l})]})},je=e(67294),s=e(51904),W={1:(0,P.jsxs)("span",{children:[(0,P.jsx)(xe.Z,{theme:"outline",size:"14",fill:"#7ed321"})," HTTP"]}),2:(0,P.jsx)(V,{font:14,icon:"icon-GRPC",text:"GRPC"}),3:(0,P.jsx)(V,{font:14,icon:"icon-a-dubbo1",text:"Dubbo"})},v={1:(0,P.jsx)(s.Z,{color:"success",children:"HTTP"}),2:(0,P.jsx)(s.Z,{color:"orange",children:"GRPC"}),3:(0,P.jsx)(s.Z,{color:"blue",children:"DUBBO"})},L={GET:(0,P.jsx)(s.Z,{color:"success",children:"GET"}),POST:(0,P.jsx)(s.Z,{color:"blue",children:"POST"}),PUT:(0,P.jsx)(s.Z,{color:"cyan",children:"PUT"}),DELETE:(0,P.jsx)(s.Z,{color:"error",children:"DELETE"})},C={0:(0,P.jsx)(s.Z,{children:"\u666E\u901A"}),1:(0,P.jsx)(s.Z,{color:"blue",children:"\u6D4B\u8BD5\u8BA1\u5212"}),2:(0,P.jsx)(s.Z,{color:"success",children:"CI"}),3:(0,P.jsx)(s.Z,{children:"\u5176\u4ED6"})},A={0:(0,P.jsx)(s.Z,{color:"success",style:{marginLeft:8},children:"\u666E\u901A"}),1:(0,P.jsx)(s.Z,{color:"blue",style:{marginLeft:8},children:"\u524D\u7F6E"}),2:(0,P.jsx)(s.Z,{color:"warning",style:{marginLeft:8},children:"\u6570\u636E\u5DE5\u5382"})}},22763:function(Zt,Fe,e){var xe=e(32983),u=e(82759),se=e(85893);Fe.Z=function(g){var P=g.desc,V=g.height,je=V===void 0?180:V,s=g.image,W=s===void 0?u.Z:s;return(0,se.jsx)(xe.Z,{image:W,imageStyle:{height:je},description:P||"\u6682\u65E0\u6570\u636E"})}},7624:function(Zt,Fe,e){var xe=e(20873),u=e(32983),se=e(85893);Fe.Z=function(g){var P=g.desc,V=g.height,je=V===void 0?180:V;return(0,se.jsx)(u.Z,{image:xe.Z,imageStyle:{height:je},description:P||"\u6682\u65E0\u6570\u636E"})}},84298:function(Zt,Fe,e){var xe=e(97857),u=e.n(xe),se=e(5574),g=e.n(se),P=e(67294),V=e(58131),je=e(69400),s=e(15746),W=e(76081),v=e(85893),L=V.Z.Item,C=function(x){var l=x.title,Re=x.width,I=x.left,H=x.right,te=x.formName,a=x.record,n=x.onFinish,$=x.loading,M=x.fields,ut=x.open,F=x.onCancel,Ne=x.offset,t=Ne===void 0?0:Ne,ye=x.children,be=x.Footer,B=x.onTest,Ze=V.Z.useForm(),ce=g()(Ze,1),Le=ce[0],ge=function(){Le.validateFields().then(function(ne){n(ne)})};(0,P.useEffect)(function(){Le.resetFields(),Le.setFieldsValue(a)},[a]);var p={labelCol:{span:I},wrapperCol:{span:H}};return(0,v.jsxs)(je.Z,{style:{marginTop:t},confirmLoading:$,footer:be!==void 0?(0,v.jsx)(be,{onOk:ge,onCancel:F,onTest:function(){Le.validateFields().then(function(ne){B(ne)})}}):void 0,title:l,width:Re,open:ut,onOk:ge,onCancel:F,children:[ye||null,(0,v.jsx)(V.Z,u()(u()({form:Le},p),{},{name:te,initialValues:a,onFinish:n,children:M.map(function(E,ne){return(0,v.jsx)(s.Z,{span:E.span||24,children:(0,v.jsx)(L,{label:E.label,colon:E.colon||!0,initialValue:E.initialValue,rules:[{required:E.required,message:E.message}],name:E.name,valuePropName:E.valuePropName||"value",children:(0,W.Z)(E.type,E.placeholder,E.component)})},ne)})}))]})};Fe.Z=C},76081:function(Zt,Fe,e){var xe=e(96365),u=e(72269),se=e(67294),g=e(85893),P=xe.Z.TextArea,V=function(s,W){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return v||(s==="input"?(0,g.jsx)(xe.Z,{placeholder:W}):s==="textarea"?(0,g.jsx)(P,{placeholder:W}):s==="switch"?(0,g.jsx)(u.Z,{}):null)};Fe.Z=V},56262:function(Zt,Fe,e){e.d(Fe,{Z:function(){return ge}});var xe=e(67294),u=e(34041),se=e(96365),g=e(71230),P=e(15746),V=e(15009),je=e.n(V),s=e(19632),W=e.n(s),v=e(99289),L=e.n(v),C=e(5574),A=e.n(C),x=e(97857),l=e.n(x),Re=e(13769),I=e.n(Re),H=e(58131),te=e(2453),a=e(86738),n=e(25514),$=e(96074),M=e(71577),ut=e(64240),F=e(51042),Ne=e(19478),t=e(85893),ye=["editing","dataIndex","title","type","setType","record","index","key","children"],be=u.Z.Option,B=function(E){var ne=E.editing,r=E.dataIndex,q=E.title,he=E.type,ae=E.setType,Ve=E.record,Qe=E.index,Xe=E.key,T=E.children,Y=I()(E,ye);return(0,t.jsx)("td",l()(l()({},Y),{},{children:ne?(0,t.jsx)(H.Z.Item,{name:r,style:{margin:0},initialValue:Ve.dataIndex,rules:[{required:!0,message:"Please Input ".concat(q,"!")}],children:(0,t.jsx)(se.Z,{placeholder:"please input ".concat(q)})}):T}))},Ze=function(E){var ne=E.data,r=E.setData,q=E.ossFileList,he=H.Z.useForm(),ae=A()(he,1),Ve=ae[0],Qe=(0,xe.useState)(""),Xe=A()(Qe,2),T=Xe[0],Y=Xe[1],He=(0,xe.useState)("FILE"),Je=A()(He,2),Ae=Je[0],_e=Je[1],qe=(0,xe.useState)(null),Ye=A()(qe,2),$e=Ye[0],yt=Ye[1],ot=function(K){return K.key===T},mt=function(K){Ve.setFieldsValue(l()({},K)),Y(K.key)},Et=function(){Y("")},bt=function(){var S=L()(je()().mark(function K(b){var Q,z,pt,le,Bt;return je()().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return Ee.prev=0,Ee.next=3,Ve.validateFields();case 3:if(Q=Ee.sent,!(Ae==="FILE"&&!$e)){Ee.next=7;break}return te.ZP.info("\u8BF7\u9009\u62E9\u6587\u4EF6"),Ee.abrupt("return");case 7:if(z=W()(ne),pt=z.findIndex(function(Z){return b===Z.key}),!(pt>-1)){Ee.next=20;break}if(le=z[pt],Bt=z.findIndex(function(Z){return Q.key===Z.key}),!(Bt>-1)){Ee.next=15;break}return te.ZP.info("\u8BE5key\u5DF2\u5B58\u5728"),Ee.abrupt("return");case 15:z.splice(pt,1,l()(l()(l()({},le),Q),{},{type:Ae,value:$e})),r(z),Y(""),Ee.next=23;break;case 20:z.push(l()(l()({},Q),{},{type:Ae,value:$e})),r(z),Y("");case 23:Ee.next=28;break;case 25:Ee.prev=25,Ee.t0=Ee.catch(0),console.log("Validate Failed:",Ee.t0);case 28:case"end":return Ee.stop()}},K,null,[[0,25]])}));return function(b){return S.apply(this,arguments)}}(),At=function(K){var b=W()(ne);b.splice(b.findIndex(function(Q){return K===Q.key}),1),r(b)},it=[{title:"KEY",dataIndex:"key",width:"30%",editable:!0},{title:"TYPE",dataIndex:"type",type:"select",width:"10%",render:function(K,b){return b.key===T?(0,t.jsxs)(u.Z,{style:{width:"100%"},value:Ae,onChange:function(z){_e(z)},children:[(0,t.jsx)(be,{value:"FILE",children:"FILE"}),(0,t.jsx)(be,{value:"TEXT",children:"TEXT"})]}):b.type}},{title:"VALUE",dataIndex:"value",width:"40%",render:function(K,b){return b.key===T?Ae==="FILE"?(0,t.jsx)(u.Z,{style:{width:"100%"},placeholder:"please select oss file",showSearch:!0,value:$e,onChange:function(z){return yt(z)},children:q.map(function(Q){return(0,t.jsx)(be,{value:Q.file_path,children:Q.file_path},Q.file_path)})}):(0,t.jsx)(se.Z,{placeholder:"please input VALUE",value:$e,onChange:function(z){yt(z.target.value)}}):Ae==="FILE"?(0,t.jsx)("a",{href:"".concat(Ne.Z.URL,"/oss/download?filepath=").concat(b.value),children:b.value}):b.value}},{title:"OPERATION",dataIndex:"operation",render:function(K,b){var Q=ot(b);return Q?(0,t.jsxs)("span",{children:[(0,t.jsx)("a",{onClick:function(){return bt(b.key)},style:{marginRight:8},children:"Save"}),(0,t.jsx)(a.Z,{title:"Sure to cancel?",onConfirm:Et,children:(0,t.jsx)("a",{children:"Cancel"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Z.Link,{disabled:T!=="",onClick:function(){return mt(b)},children:"Edit"}),(0,t.jsx)($.Z,{type:"vertical"}),(0,t.jsx)(n.Z.Link,{disabled:T!=="",onClick:function(){return At(b.key)},children:"Remove"})]})}}],et=function(){var K=[].concat(W()(ne),[{key:"",type:"TEXT",value:null}]);r(K),_e("FILE")},xt=it.map(function(S){return S.editable?l()(l()({},S),{},{onCell:function(b,Q){return{record:b,index:Q,type:Ae,setType:_e,dataIndex:S.dataIndex,title:S.title,editing:ot(b)}}}):S});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Z,{style:{marginBottom:12},children:(0,t.jsx)(P.Z,{span:6,children:(0,t.jsx)(M.ZP,{type:"primary",onClick:et,icon:(0,t.jsx)(F.Z,{}),children:"Add"})})}),(0,t.jsx)(H.Z,{form:Ve,component:!1,children:(0,t.jsx)(ut.Z,{components:{body:{cell:B}},dataSource:ne,columns:xt,rowClassName:"editable-row",pagination:{onChange:Et}})})]})},ce=Ze,Le=u.Z.Option,ge=function(p){var E=p.ossFileList,ne=p.dataSource,r=p.setDataSource,q=[{title:"KEY",dataIndex:"key",render:function(){return(0,t.jsx)(se.Z,{})}},{title:"VALUE",dataIndex:"value",render:function(){return(0,t.jsx)(u.Z,{children:E.map(function(ae){return(0,t.jsx)(Le,{value:ae.key,children:ae.key},ae.key)})})}}];return(0,t.jsx)(g.Z,{gutter:8,style:{marginTop:16},children:(0,t.jsx)(P.Z,{span:24,children:(0,t.jsx)(ce,{bordered:!0,columns:q,data:ne,setData:r,ossFileList:E})})})}},15106:function(Zt,Fe,e){var xe=e(9783),u=e.n(xe),se=e(15009),g=e.n(se),P=e(99289),V=e.n(P),je=e(52677),s=e.n(je),W=e(5574),v=e.n(W),L=e(67294),C=e(34041),A=e(93980),x=e(54689),l=e(68508),Re=e(71230),I=e(15746),H=e(4393),te=e(58131),a=e(83062),n=e(96365),$=e(71577),M=e(78045),ut=e(13013),F=e(64240),Ne=e(65987),t=e(31484),ye=e(63783),be=e(34804),B=e(53677),Ze=e(12414),ce=e(10981),Le=e(89609),ge=e(56262),p=e(94171),E=e(26194),ne=e(37594),r=e(85893),q=C.Z.Option,he=A.Z.TabPane,ae={200:{color:"#67C23A",text:"OK"},401:{color:"#F56C6C",text:"unauthorized"},400:{color:"#F56C6C",text:"Bad Request"}},Ve=function(T){return T&&T.response?(0,r.jsx)("div",{style:{marginRight:16},children:(0,r.jsxs)("span",{children:["Status:",(0,r.jsxs)("span",{style:{color:ae[T.status_code]?ae[T.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[T.status_code," ",ae[T.status_code]?ae[T.status_code].text:""]}),(0,r.jsxs)("span",{style:{marginLeft:8,marginRight:8},children:["Time: ",(0,r.jsx)("span",{style:{color:"#67C23A"},children:T.cost})]})]})}):null},Qe=function(T){var Y=T.form,He=T.gconfig,Je=T.dispatch,Ae=T.body,_e=T.setBody,qe=T.headers,Ye=T.setHeaders,$e=T.formData,yt=T.setFormData,ot=T.caseInfo,mt=T.bodyType,Et=T.setBodyType,bt=T.save,At=bt===void 0?null:bt,it=(0,L.useState)("JSON"),et=v()(it,2),xt=et[0],S=et[1],K=(0,L.useState)("GET"),b=v()(K,2),Q=b[0],z=b[1],pt=(0,L.useState)([]),le=v()(pt,2),Bt=le[0],dt=le[1],Ee=(0,L.useState)(function(){return Bt.map(function(f){return f.id})}),Z=v()(Ee,2),h=Z[0],R=Z[1],ee=(0,L.useState)(function(){return qe.map(function(f){return f.id})}),Te=v()(ee,2),Ue=Te[0],We=Te[1],ie=(0,L.useState)(!1),Be=v()(ie,2),tt=Be[0],O=Be[1],c=(0,L.useState)({}),i=v()(c,2),j=i[0],re=i[1],J=(0,L.useState)(""),k=v()(J,2),we=k[0],ue=k[1],X=(0,L.useState)(null),de=v()(X,2),ze=de[0],pe=de[1],De=(0,L.useState)(!1),G=v()(De,2),fe=G[0],nt=G[1],lt=He.ossFileList,gt=He.envMap,Ke=He.addressList,w=function(){if(Ae){var d=JSON.parse(Ae);s()(d)==="object"&&d[0]!==void 0&&yt(d)}};(0,L.useEffect)(function(){ot&&z(ot.request_method)},[ot.request_method]),(0,L.useEffect)(function(){if(mt===2){Je({type:"gconfig/listOssFile"});try{w()}catch(f){}}},[mt]),(0,L.useEffect)(function(){Je({type:"gconfig/fetchAddress"})},[]);var ve=function(){var f=V()(g()().mark(function d(){return g()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:ue(Y.getFieldValue("url")),Ie(Y.getFieldValue("url"));case 2:case"end":return D.stop()}},d)}));return function(){return f.apply(this,arguments)}}();(0,L.useEffect)(function(){ve()},[Ae]);var Oe=[{title:"KEY",dataIndex:"key",key:"key"},{title:"VALUE",dataIndex:"value",key:"value"}],at=function(d){if(!j[d])return[];var o=JSON.parse(j[d]);return Object.keys(o).map(function(D){return{key:D,value:o[D]}})},Se=function(d){var o=Y.getFieldValue("url"),D;o===void 0?D="":D=o.split("?")[0],d.forEach(function(_,oe){_.key&&(oe===0?D="".concat(D,"?").concat(_.key,"=").concat(_.value||""):D="".concat(D,"&").concat(_.key,"=").concat(_.value||""))}),Y.setFieldsValue({url:D})},Ie=function(d){if(!!d){var o=d.split("?");if(o.length<2)dt([]);else{var D=o[1].split("&"),_=[],oe=[];D.forEach(function(Ge,jt){var Ot=Ge.split("="),St=v()(Ot,2),Lt=St[0],Ut=St[1],It=Date.now();oe.push(It+jt+10),_.push({key:Lt,value:Ut,id:It+jt+10,description:""})}),dt(_),R(oe)}}},ct=function(d){S(d)},ke=function(){var d={};return qe.forEach(function(o){o.key!==""&&(d[o.key]=o.value)}),d},Ct=function(){var f=V()(g()().mark(function d(){var o,D,_;return g()().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(o=Y.getFieldValue("url"),o!==""){Ge.next=4;break}return x.Z.error({message:"\u8BF7\u6C42Url\u4E0D\u80FD\u4E3A\u7A7A"}),Ge.abrupt("return");case 4:return O(!0),D={method:Q||"GET",url:o,body:Ae,body_type:mt,headers:ke()},mt===0&&(D.body=null),Ge.next=9,(0,Ze.c3)(D);case 9:_=Ge.sent,O(!1),ce.Z.response(_,!0)&&re(_.data);case 12:case"end":return Ge.stop()}},d)}));return function(){return f.apply(this,arguments)}}(),Pe=function(d,o){if(d==="params"){var D=Bt.filter(function(oe){return oe.id!==o});dt(D),Se(D)}else{var _=qe.filter(function(oe){return oe.id!==o});Ye(_)}},ft=(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(l.Z.Item,{children:(0,r.jsx)("a",{onClick:function(){ct("Text")},children:"Text"})},"Text"),(0,r.jsx)(l.Z.Item,{children:(0,r.jsx)("a",{onClick:function(){ct("JavaScript")},children:"JavaScript"})},"JavaScript"),(0,r.jsx)(l.Z.Item,{children:(0,r.jsx)("a",{onClick:function(){ct("JSON")},children:"JSON"})},"JSON"),(0,r.jsx)(l.Z.Item,{children:(0,r.jsx)("a",{onClick:function(){ct("HTML")},children:"HTML"})},"HTML"),(0,r.jsx)(l.Z.Item,{children:(0,r.jsx)("a",{onClick:function(){ct("XML")},children:"XML"})},"XML")]}),me=function(d){return[{title:"KEY",key:"key",dataIndex:"key"},{title:"VALUE",key:"value",dataIndex:"value"},{title:"DESCRIPTION",key:"description",dataIndex:"description"},{title:"\u64CD\u4F5C",valueType:"option",render:function(D,_){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Ne.Z,{style:{cursor:"pointer"},onClick:function(){R([_.id])}}),(0,r.jsx)(t.Z,{style:{cursor:"pointer",marginLeft:8},onClick:function(){Pe(d,_.id)},twoToneColor:"#eb2f96"})]})}}]},Tt=function(d){return d===0?(0,r.jsx)("div",{style:{height:"20vh",lineHeight:"20vh",textAlign:"center"},children:"This request does not have a body"}):d===2?(0,r.jsx)(ge.Z,{ossFileList:lt,dataSource:$e,setDataSource:yt}):(0,r.jsx)(Re.Z,{style:{marginTop:12},children:(0,r.jsx)(I.Z,{span:24,children:(0,r.jsx)(H.Z,{bodyStyle:{padding:0},children:(0,r.jsx)(E.Z,{value:Ae,onChange:function(D){return _e(D)},height:"20vh",setEditor:pe})})})})},Dt=function(){var d={};return Ke.forEach(function(o){d[o.name]===void 0?d[o.name]=u()({},o.env,o.gateway):d[o.name][o.env]=o.gateway}),d},Ft=Dt(),st=(0,r.jsx)(te.Z.Item,{name:"base_path",noStyle:!0,children:(0,r.jsxs)(C.Z,{style:{width:130},placeholder:"\u9009\u62E9BasePath",showSearch:!0,allowClear:!0,optionLabelProp:"label",filterOption:function(d,o){return o.children.length>1?!1:o.children.props.children.indexOf(d.toLowerCase())>=0},children:[(0,r.jsxs)(q,{value:null,label:"\u65E0",children:["\u65E0",(0,r.jsx)("a",{style:{float:"right",fontSize:12},href:"/#/config/address",children:"\u53BB\u914D\u7F6E"})]}),Object.keys(Ft).map(function(f){return(0,r.jsx)(q,{value:f,label:f,children:(0,r.jsx)(a.Z,{title:(0,r.jsx)("div",{children:Object.keys(Ft[f]).map(function(d){return(0,r.jsxs)("p",{children:[gt[d],": ",Ft[f][d]]})})}),children:f})},f)})]})});return(0,r.jsxs)(te.Z,{form:Y,children:[(0,r.jsxs)(Re.Z,{gutter:[8,8],children:[(0,r.jsx)(I.Z,{span:20,children:(0,r.jsxs)(te.Z,{layout:"inline",form:Y,children:[(0,r.jsx)(I.Z,{span:8,children:(0,r.jsx)(te.Z.Item,{colon:!1,name:"request_method",label:"\u8BF7\u6C42\u65B9\u5F0F",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BF7\u6C42\u65B9\u6CD5"}],initialValue:Q,children:(0,r.jsxs)(C.Z,{placeholder:"\u9009\u62E9\u8BF7\u6C42\u65B9\u5F0F",onChange:function(d){return z(d)},style:{width:120,textAlign:"left"},children:[(0,r.jsx)(q,{value:"GET",children:"GET"},"GET"),(0,r.jsx)(q,{value:"POST",children:"POST"},"POST"),(0,r.jsx)(q,{value:"PUT",children:"PUT"},"PUT"),(0,r.jsx)(q,{value:"DELETE",children:"DELETE"},"DELETE")]})})}),(0,r.jsx)(I.Z,{span:16,children:(0,r.jsx)(te.Z.Item,{name:"url",colon:!1,label:(0,r.jsxs)(a.Z,{title:"\u70B9\u51FB\u53EF\u5C55\u5F00\u5168\u5C40\u53D8\u91CF\u63D0\u793A",children:["\u8BF7\u6C42\u5730\u5740",(0,r.jsx)(ye.Z,{style:{marginLeft:4},onClick:function(){return nt(!0)}})]}),rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BF7\u6C42url"}],children:(0,r.jsx)(n.Z,{addonBefore:st,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u8981\u8BF7\u6C42\u7684url",onChange:function(d){Ie(d.target.value),Y.setFieldsValue({url:d.target.value}),ue(d.target.value)}})})})]})}),(0,r.jsx)(I.Z,{span:4,children:(0,r.jsx)("div",{style:{float:"right"},children:At?null:(0,r.jsxs)($.ZP,{onClick:Ct,loading:tt,type:"primary",children:[(0,r.jsx)(ne.B,{type:"icon-fasong1"}),"Send"," "]})})})]}),(0,r.jsx)(Re.Z,{style:{marginTop:8},children:(0,r.jsxs)(A.Z,{defaultActiveKey:"1",style:{width:"100%"},children:[(0,r.jsx)(he,{tab:"Params",children:(0,r.jsx)(B.Z,{columns:me("params"),title:"Query Params",dataSource:Bt,setDataSource:dt,extra:Se,editableKeys:h,setEditableRowKeys:R})},"1"),(0,r.jsx)(he,{tab:"Headers",children:(0,r.jsx)(B.Z,{columns:me("headers"),title:"Headers",dataSource:qe,setDataSource:Ye,editableKeys:Ue,setEditableRowKeys:We})},"2"),(0,r.jsxs)(he,{tab:"Body",children:[(0,r.jsxs)(Re.Z,{children:[(0,r.jsxs)(M.ZP.Group,{defaultValue:0,value:mt,onChange:function(d){Et(d.target.value),d.target.value==="form-data"&&Je({type:"gconfig/listOssFile"})},children:[(0,r.jsx)(M.ZP,{value:0,children:"none"}),(0,r.jsx)(M.ZP,{value:2,children:"form-data"}),(0,r.jsx)(M.ZP,{value:3,children:"x-www-form-urlencoded"}),(0,r.jsx)(M.ZP,{value:1,children:"raw"}),(0,r.jsx)(M.ZP,{value:4,children:"binary"}),(0,r.jsx)(M.ZP,{value:5,children:"GraphQL"})]}),mt===1?(0,r.jsx)(ut.Z,{style:{marginLeft:8},overlay:ft,trigger:["click"],children:(0,r.jsxs)("a",{onClick:function(d){return d.preventDefault()},children:[xt," ",(0,r.jsx)(be.Z,{})]})}):null]}),Tt(mt)]},"3")]})}),(0,r.jsx)(Re.Z,{gutter:[8,8],children:Object.keys(j).length===0?null:(0,r.jsxs)(A.Z,{style:{width:"100%"},tabBarExtraContent:Ve(j),children:[(0,r.jsx)(he,{tab:"Body",children:(0,r.jsx)(E.Z,{value:j.response,readOnly:!0,height:"30vh",setEditor:pe})},"1"),(0,r.jsx)(he,{tab:"Cookie",children:(0,r.jsx)(F.Z,{columns:Oe,dataSource:at("cookies"),size:"small",pagination:!1})},"2"),(0,r.jsx)(he,{tab:"Headers",children:(0,r.jsx)(F.Z,{columns:Oe,dataSource:at("response_headers"),size:"small",pagination:!1})},"3")]})})]})};Fe.Z=(0,p.connect)(function(Xe){var T=Xe.gconfig;return{gconfig:T}})(Qe)},53677:function(Zt,Fe,e){var xe=e(67294),u=e(23879),se=e(85893);Fe.Z=function(g){var P=g.columns,V=g.dataSource,je=g.title,s=g.setDataSource,W=g.editableKeys,v=g.setEditableRowKeys,L=g.extra;return(0,xe.useEffect)(function(){v(V.map(function(C){return C.id}))},[V]),(0,se.jsx)(u.Z,{headerTitle:je,columns:P,rowKey:"id",value:V,onChange:s,recordCreatorProps:{newRecordType:"dataSource",record:function(){return{id:Date.now()}}},editable:{type:"multiple",editableKeys:W,actionRender:function(A,x,l){return[l.delete]},onValuesChange:function(A,x){L&&L(x),s(x)},onChange:v}})}},65245:function(Zt,Fe,e){e.d(Fe,{Z:function(){return n}});var xe=e(19632),u=e.n(xe),se=e(13769),g=e.n(se),P=e(15009),V=e.n(P),je=e(99289),s=e.n(je),W=e(97857),v=e.n(W),L=e(64240),C=e(95742),A=e(60532),x=e(62748),l=e(85893),Re=["className","style"],I=(0,C.JV)(function(){return(0,l.jsx)(A.Z,{style:{cursor:"grab",color:"#999"}})}),H=[{title:"\u6392\u5E8F",dataIndex:"sort",width:65,className:"drag-visible",render:function(){return(0,l.jsx)(I,{})}}],te=(0,C.gU)(function($){return(0,l.jsx)("tr",v()({},$))}),a=(0,C.hv)(function($){return(0,l.jsx)("tbody",v()({},$))}),n=function($){var M=$.dataSource,ut=$.columns,F=$.setDataSource,Ne=$.dragCallback,t=$.loading,ye=function(){var Ze=s()(V()().mark(function ce(Le){var ge,p,E,ne;return V()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(ge=Le.oldIndex,p=Le.newIndex,ge===p){q.next=11;break}if(E=(0,x.q)([].concat(M),ge,p).filter(function(he){return!!he}),!Ne){q.next=10;break}return q.next=6,Ne(E);case 6:ne=q.sent,(ne||ne===void 0)&&F(E),q.next=11;break;case 10:F(E);case 11:case"end":return q.stop()}},ce)}));return function(Le){return Ze.apply(this,arguments)}}(),be=function(ce){return(0,l.jsx)(a,v()({useDragHandle:!0,disableAutoscroll:!0,helperClass:"row-dragging",onSortEnd:ye},ce))},B=function(ce){var Le=ce.className,ge=ce.style,p=g()(ce,Re),E=M.findIndex(function(ne){return ne.index===p["data-row-key"]});return(0,l.jsx)(te,v()({index:E},p))};return(0,l.jsx)(L.Z,{pagination:!1,dataSource:M,loading:t,columns:[].concat(H,u()(ut)),rowKey:"index",components:{body:{wrapper:be,row:B}}})}},80242:function(Zt,Fe,e){e.d(Fe,{Z:function(){return Ee}});var xe=e(15009),u=e.n(xe),se=e(9783),g=e.n(se),P=e(19632),V=e.n(P),je=e(97857),s=e.n(je),W=e(99289),v=e.n(W),L=e(5574),C=e.n(L),A=e(3363),x=e(71230),l=e(15746),Re=e(85265),I=e(71577),H=e(94171),te=e(37594),a=e(67294),n=e(34041),$=e(83062),M=e(72269),ut=e(16165),F=e(58131),Ne=e(76081),t=e(85893),ye=F.Z.Item,be=function(Z){var h=Z.left,R=Z.right,ee=Z.formName,Te=Z.record,Ue=Z.onFinish,We=Z.fields,ie=Z.pForm,Be=ie;if(ie===void 0){var tt=F.Z.useForm(),O=C()(tt,1),c=O[0];Be=c}var i={labelCol:{span:h},wrapperCol:{span:R}};return(0,a.useEffect)(function(){Be.setFieldsValue(Te)},[Te]),(0,t.jsx)(F.Z,s()(s()({form:Be},i),{},{name:ee,initialValues:Te,onFinish:Ue,children:(0,t.jsx)(x.Z,{gutter:8,children:We.map(function(j){return(0,t.jsx)(l.Z,{span:j.span||24,children:(0,t.jsx)(ye,s()(s()({label:j.label,colon:j.colon||!0,rules:[{required:j.required,message:j.message}],name:j.name,valuePropName:j.valuePropName||"value"},j.layout||i),{},{children:(0,Ne.Z)(j.type,j.placeholder,j.component)}))})})})}))},B=e(19478),Ze=e(26194),ce=n.Z.Option,Le=function(Z){var h=Z.data,R=Z.form,ee=Z.dispatch,Te=Z.testcaseData,Ue=Z.constructorType,We=(0,a.useState)(null),ie=C()(We,2),Be=ie[0],tt=ie[1];(0,a.useEffect)(function(){ee({type:"construct/getTestCaseListTree"})},[]);var O=[{name:"name",label:"\u540D\u79F0",required:!0,type:"input",placeholder:"\u8BF7\u8F93\u5165\u6B65\u9AA4\u540D\u79F0",initialValue:h.name,span:12,layout:{labelCol:{span:8},wrapperCol:{span:16}}},{name:"constructor_case_id",label:"\u6D4B\u8BD5\u573A\u666F",required:!0,initialValue:h.constructor_case_id,placeholder:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u573A\u666F",component:(0,t.jsx)(n.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F",children:Te.map(function(c){return(0,t.jsx)(ce,{value:c.id,children:c.name},c.id)})}),span:12,layout:{labelCol:{span:8},wrapperCol:{span:16}}},{name:"value",label:"\u8FD4\u56DE\u503C",placeholder:"\u8BF7\u586B\u5199\u8FD4\u56DE\u53D8\u91CF\u540D\u79F0\uFF0C\u4E0D\u9700\u8981\u53EF\u4E0D\u586B",required:!1,type:"input",initialValue:h.value,span:12,layout:{labelCol:{span:8},wrapperCol:{span:16}}},{name:"public",label:(0,t.jsx)($.Z,{title:"\u5F00\u542F\u5171\u4EAB\u540E, \u5176\u4ED6\u4EBA\u53EF\u4F7F\u7528\u4F60\u7684\u6570\u636E\u6784\u9020\u5668",children:(0,t.jsxs)("span",{children:["\u5171\u4EAB",(0,t.jsx)(ut.Z,{})]})}),required:!0,component:(0,t.jsx)(M.Z,{}),valuePropName:"checked",initialValue:h.public,span:6,layout:{labelCol:{span:16},wrapperCol:{span:8}}},{name:"enable",label:"\u542F\u7528",required:!0,component:(0,t.jsx)(M.Z,{}),valuePropName:"checked",initialValue:h.enable,span:6,layout:{labelCol:{span:16},wrapperCol:{span:8}}},{name:"params",label:"\u52A8\u6001\u53C2\u6570",required:!1,component:(0,t.jsx)(Ze.Z,{height:150,setEditor:tt})}];return(0,t.jsx)(be,{fields:O,left:4,right:20,record:h,pForm:R})},ge=e(59847),p=n.Z.Option,E=function(h){var R=h.construct,ee=h.dispatch,Te=h.suffix,Ue=Te===void 0?!0:Te,We=R.constructorData,ie=R.searchConstructor,Be=R.constructorType,tt=function(i){ee({type:"construct/save",payload:i})},O=function(){ee({type:"construct/getConstructorTree",payload:{constructor_type:Be,suffix:Ue}})};return(0,a.useEffect)(function(){O()},[Be]),(0,t.jsx)(x.Z,{style:{marginTop:24},children:(0,t.jsx)(l.Z,{span:24,children:(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,s()(s()({label:"\u6570\u636E\u7C7B\u578B",name:"type"},B.Z.SUB_LAYOUT),{},{children:(0,t.jsx)(n.Z,{disabled:!0,defaultValue:Be,children:Object.keys(B.Z.CONSTRUCTOR_TYPE).map(function(c){return(0,t.jsx)(p,{value:parseInt(c,10),children:B.Z.CONSTRUCTOR_TYPE[c]},c)})})}))}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,s()(s()({label:"\u590D\u5236\u6784\u9020\u6761\u4EF6"},B.Z.SUB_LAYOUT),{},{children:(0,t.jsx)(ge.Z,{allowClear:!0,showSearch:!0,style:{width:"100%"},value:ie,filterTreeNode:function(i,j){return j.title.toLowerCase().indexOf(i.toLowerCase())>-1},dropdownStyle:{maxHeight:600,overflow:"auto"},treeData:We,placeholder:"\u901A\u8FC7\u641C\u7D22\u6784\u9020\u6761\u4EF6\uFF0C\u53EF\u4EE5\u5FEB\u901F\u590D\u5236\u53C2\u6570\u54E6\uFF01",treeDefaultExpandAll:!0,onChange:function(i){tt({searchConstructor:i}),ee(i!==void 0?{type:"construct/getConstructorData",payload:{id:i.split("_")[1]}}:{type:"construct/save",payload:{testCaseConstructorData:{type:Be,public:!0,enable:!0}}})}})}))})]})})})},ne=(0,H.connect)(function(Z){var h=Z.loading,R=Z.construct;return{loading:h,construct:R}})(E),r=function(h){var R=h.caseId,ee=h.construct,Te=h.dispatch,Ue=h.form,We=h.onFinish,ie=h.suffix,Be=ee.testcaseData,tt=ee.testCaseConstructorData,O=ee.constructorType;return(0,t.jsx)(x.Z,{style:{marginTop:24},gutter:[8,8],children:(0,t.jsxs)(l.Z,{span:24,children:[(0,t.jsx)(ne,{suffix:ie}),(0,t.jsx)(x.Z,{gutter:8,children:(0,t.jsx)(l.Z,{span:24,children:(0,t.jsx)(Le,{data:tt,dispatch:Te,testcaseData:Be,constructorType:O,form:Ue})})})]})})},q=(0,H.connect)(function(Z){var h=Z.construct,R=Z.loading;return{construct:h,loading:R}})(r),he=e(60219),ae=e(68508),Ve=e(96365),Qe=e(26838),Xe=e(1633),T=e(63783),Y=function(){return(0,t.jsx)($.Z,{title:"\u5F00\u542F\u5171\u4EAB\u540E, \u5176\u4ED6\u4EBA\u53EF\u4F7F\u7528\u4F60\u7684\u6570\u636E\u6784\u9020\u5668",children:(0,t.jsxs)("span",{children:["\u5171\u4EAB ",(0,t.jsx)(T.Z,{})]})})},He=n.Z.Option,Je=function(h){var R=h.form,ee=h.dispatch,Te=h.construct,Ue=h.gconfig,We=h.suffix,ie=(0,a.useState)("1"),Be=C()(ie,2),tt=Be[0],O=Be[1],c=(0,a.useState)(null),i=C()(c,2),j=i[0],re=i[1],J=Te.testCaseConstructorData,k=Te.constructorType,we=Ue.dbConfigData,ue=function(){var ze=we.map(function(pe){return pe.name});return Array.from(new Set(ze))},X=function(ze){O(ze.key)};return(0,a.useEffect)(function(){ee({type:"gconfig/fetchDbConfig"})},[]),(0,a.useEffect)(function(){R.resetFields(),R.setFieldsValue(J)},[J]),(0,t.jsx)(x.Z,{gutter:8,style:{marginTop:24},children:(0,t.jsx)(l.Z,{span:24,children:(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:3,children:(0,t.jsxs)(ae.Z,{onClick:X,style:{width:128},defaultSelectedKeys:["1"],defaultOpenKeys:["1"],mode:"inline",children:[(0,t.jsx)(ae.Z.Item,{children:"\u7F16\u8F91SQL"},"1"),(0,t.jsx)(ae.Z.Item,{children:"\u8C03\u8BD5SQL"},"2")]})}),tt!=="1"?(0,t.jsx)(l.Z,{span:21,children:(0,t.jsx)(Qe.Z,{leftHeight:420,cardHeight:130,tableHeight:272,editorHeight:130,imageHeight:60})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(l.Z,{span:21,children:[(0,t.jsx)(ne,{suffix:We}),(0,t.jsxs)(F.Z,s()(s()({},B.Z.SUB_LAYOUT),{},{form:R,children:[(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165SQL\u8BED\u53E5\u540D\u79F0"}],initialValue:J.name,children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u8F93\u5165SQL\u8BED\u53E5\u540D\u79F0"})})}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u6570\u636E\u5E93",name:"database",initialValue:J.database,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93\u8FDE\u63A5\u540D\u79F0, \u5982\u679C\u6CA1\u6709\u8BF7\u53BB\u3010\u6570\u636E\u5E93\u914D\u7F6E\u3011\u9875\u9762\u6DFB\u52A0"}],children:(0,t.jsx)(n.Z,{showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93\u8FDE\u63A5\u540D\u79F0, \u4F1A\u6839\u636E\u73AF\u5883\u81EA\u52A8\u5BFB\u627E\u5BF9\u5E94\u7684\u6570\u636E\u5E93",children:ue().map(function(de){return(0,t.jsx)(He,{value:de,children:de},de)})})})})]}),(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})}),(0,t.jsx)(l.Z,{span:6,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SWITCH_LAYOUT),{},{label:(0,t.jsx)(Y,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:J.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(M.Z,{})}))}),(0,t.jsx)(l.Z,{span:6,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SWITCH_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:J.enable||!0,valuePropName:"checked",children:(0,t.jsx)(M.Z,{})}))})]}),(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SQL_LAYOUT),{},{label:(0,t.jsxs)($.Z,{title:"\u5207\u6362\u5DE6\u4FA7\u83DC\u5355\u53EF\u8FDB\u5165SQL\u7F16\u8F91\u5668",children:["SQL\u8BED\u53E5 ",(0,t.jsx)(T.Z,{})]}),name:"sql",rules:[{required:!0,message:"\u8BF7\u586B\u5199SQL\u8BED\u53E5"}],initialValue:J.sql,children:(0,t.jsx)(Xe.Z,{language:"mysql",height:150,setEditor:re})}))]}))]})})]})})})},Ae=(0,H.connect)(function(Z){var h=Z.construct,R=Z.gconfig,ee=Z.loading;return{construct:h,gconfig:R,loading:ee}})(Je),_e=e(97321),qe=e(93980),Ye=e(2453),$e=e(54689),yt=e(24315),ot=e(73505),mt=qe.Z.TabPane,Et=n.Z.Option,bt=function(h){var R=h.form,ee=h.dispatch,Te=h.construct,Ue=h.gconfig,We=h.suffix,ie=(0,a.useState)(null),Be=C()(ie,2),tt=Be[0],O=Be[1],c=(0,a.useState)(null),i=C()(c,2),j=i[0],re=i[1],J=Te.testCaseConstructorData,k=Te.constructorType,we=Ue.redisConfig,ue=Ue.envMap;(0,a.useEffect)(function(){ee({type:"gconfig/fetchRedisConfig"})},[]),(0,a.useEffect)(function(){R.resetFields(),R.setFieldsValue(J)},[J]);var X=function(){var de=v()(u()().mark(function ze(pe){var De;return u()().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(!(!j||!pe)){fe.next=3;break}return Ye.ZP.info("\u8BF7\u9009\u62E9redis\u6216\u5B8C\u5584Redis\u547D\u4EE4"),fe.abrupt("return");case 3:return fe.next=5,ee({type:"gconfig/onlineRedisCommand",payload:{id:j,command:pe}});case 5:De=fe.sent,$e.Z.success({message:"\u6267\u884C\u5B8C\u6210",description:De});case 7:case"end":return fe.stop()}},ze)}));return function(pe){return de.apply(this,arguments)}}();return(0,t.jsx)(x.Z,{gutter:8,children:(0,t.jsxs)(l.Z,{span:24,children:[(0,t.jsx)(ne,{suffix:We}),(0,t.jsx)(x.Z,{gutter:8,children:(0,t.jsx)(l.Z,{span:24,children:(0,t.jsxs)(F.Z,s()(s()({},B.Z.SUB_LAYOUT),{},{form:R,children:[(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165Redis\u8BED\u53E5\u540D\u79F0"}],initialValue:J.name,children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u8F93\u5165Redis\u8BED\u53E5\u540D\u79F0"})})}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:(0,t.jsxs)($.Z,{title:"\u6D4B\u8BD5\u7684\u65F6\u5019\u53EF\u4EE5\u9009\u4E2D\u5BF9\u5E94\u73AF\u5883\u7684redis\uFF0C\u5426\u5219\u53EF\u4EE5\u968F\u4FBF\u9009\u4E00\u4E2A\u540D\u79F0\u7B26\u5408\u7684redis",children:["Redis ",(0,t.jsx)(T.Z,{})]}),name:"redis",initialValue:J.redis,rules:[{required:!0,message:"\u8BF7\u9009\u62E9Redis\u8FDE\u63A5\u540D\u79F0, \u5982\u679C\u6CA1\u6709\u8BF7\u53BB\u3010Redis\u914D\u7F6E\u3011\u9875\u9762\u6DFB\u52A0"}],children:(0,t.jsx)(n.Z,{showSearch:!0,placeholder:"\u8BF7\u9009\u62E9Redis\u8FDE\u63A5\u540D\u79F0",onSelect:function(ze,pe){re(pe.key)},children:we.map(function(de){return(0,t.jsxs)(Et,{value:de.name,children:[de.name,"(",ue[de.env],")"]},de.id)})})})})]}),(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})}),(0,t.jsx)(l.Z,{span:6,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SWITCH_LAYOUT),{},{label:(0,t.jsx)(Y,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:J.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(M.Z,{})}))}),(0,t.jsx)(l.Z,{span:6,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SWITCH_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:J.enable||!0,valuePropName:"checked",children:(0,t.jsx)(M.Z,{})}))})]}),(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SQL_LAYOUT),{},{label:(0,t.jsxs)($.Z,{title:"\u70B9\u51FB\u53EF\u6267\u884CRedis\u547D\u4EE4",children:["Redis\u547D\u4EE4",(0,t.jsx)(ot.Z,{twoToneColor:"#67C23A",onClick:v()(u()().mark(function de(){return u()().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return pe.next=2,X(R.getFieldValue("command"));case 2:case"end":return pe.stop()}},de)})),style:{margin:"0 4px",fontSize:16,cursor:"pointer"}})]}),name:"command",colon:!1,rules:[{required:!0,message:"\u8BF7\u586B\u5199redis\u6267\u884C\u8BED\u53E5"}],initialValue:J.command,children:(0,t.jsx)(yt.Z,{language:"text",height:150,setEditor:O})}))]}))})})]})})},At=(0,H.connect)(function(Z){var h=Z.construct,R=Z.gconfig,ee=Z.loading;return{construct:h,gconfig:R,loading:ee}})(bt),it=e(53239),et=e(4007);function xt(Z){return(0,t.jsx)(yt.Z,s()(s()({},Z),{},{langugae:"python"}))}var S=function(h){var R=h.form,ee=h.dispatch,Te=h.construct,Ue=h.suffix,We=(0,a.useState)(null),ie=C()(We,2),Be=ie[0],tt=ie[1],O=Te.testCaseConstructorData;(0,a.useEffect)(function(){R.resetFields(),R.setFieldsValue(O)},[O]);var c=function(){var i=v()(u()().mark(function j(){var re,J,k;return u()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(re=R.getFieldValue("command"),J=R.getFieldValue("value"),re){ue.next=5;break}return Ye.ZP.info("\u811A\u672C\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),ue.abrupt("return");case 5:return ue.next=7,ee({type:"testcase/onlinePyScript",payload:{value:J,command:re}});case 7:k=ue.sent,$e.Z.success({message:"\u6267\u884C\u5B8C\u6210",description:k});case 9:case"end":return ue.stop()}},j)}));return function(){return i.apply(this,arguments)}}();return(0,t.jsx)(x.Z,{gutter:8,children:(0,t.jsxs)(l.Z,{span:24,children:[(0,t.jsx)(ne,{suffix:Ue}),(0,t.jsxs)(F.Z,s()(s()({},B.Z.SUB_LAYOUT),{},{form:R,children:[(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165Python\u811A\u672C\u540D\u79F0"}],initialValue:O.name,children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u8F93\u5165Python\u811A\u672C\u540D\u79F0"})})}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})})]}),(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SUB_LAYOUT),{},{label:(0,t.jsx)(Y,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:O.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(M.Z,{})}))}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SUB_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:O.enable||!0,valuePropName:"checked",children:(0,t.jsx)(M.Z,{})}))})]}),(0,t.jsx)(F.Z.Item,s()(s()({label:(0,t.jsxs)($.Z,{title:"\u70B9\u51FB\u53EF\u6D4B\u8BD5Python\u811A\u672C",children:["Python\u811A\u672C",(0,t.jsx)(ot.Z,{twoToneColor:"#67C23A",onClick:v()(u()().mark(function i(){return u()().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,c(R.getFieldValue("command"));case 2:case"end":return re.stop()}},i)})),style:{margin:"0 4px",fontSize:16,cursor:"pointer"}})]}),name:"command",colon:!1},B.Z.SQL_LAYOUT),{},{initialValue:O.command,rules:[{required:!0,message:"\u8BF7\u8F93\u5165python\u4EE3\u7801"}],children:(0,t.jsx)(xt,{language:"python",height:180,setEditor:tt})}))]}))]})})},K=(0,H.connect)(function(Z){var h=Z.construct,R=Z.loading;return{construct:h,loading:R}})(S),b=e(4393),Q=e(15106),z=function(h){var R=h.form,ee=h.dispatch,Te=h.construct,Ue=h.suffix,We=h.headers,ie=h.setHeaders,Be=h.body,tt=h.setBody,O=h.bodyType,c=h.setBodyType,i=Te.testCaseConstructorData;return(0,a.useEffect)(function(){R.resetFields(),R.setFieldsValue(i),i.body_type&&c(i.body_type),i.headers&&ie(i.headers||[]),tt(i.body)},[i]),(0,t.jsx)(x.Z,{gutter:8,children:(0,t.jsxs)(l.Z,{span:24,children:[(0,t.jsx)(ne,{suffix:Ue}),(0,t.jsxs)(F.Z,s()(s()({},B.Z.SUB_LAYOUT),{},{form:R,children:[(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165http\u8BF7\u6C42\u540D\u79F0"}],initialValue:i.name,children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u8F93\u5165http\u8BF7\u6C42\u540D\u79F0"})})}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ve.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})})]}),(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SUB_LAYOUT),{},{label:(0,t.jsx)(Y,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:i.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(M.Z,{})}))}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsx)(F.Z.Item,s()(s()({},B.Z.SUB_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:i.enable||!0,valuePropName:"checked",children:(0,t.jsx)(M.Z,{})}))})]}),(0,t.jsx)(x.Z,{gutter:8,children:(0,t.jsx)(l.Z,{span:24,children:(0,t.jsx)(b.Z,{bordered:!0,children:(0,t.jsx)(Q.Z,{bodyType:O,setBodyType:c,form:R,caseInfo:{},body:Be,setBody:tt,headers:We,setHeaders:ie,save:!1})})})})]}))]})})},pt=(0,H.connect)(function(Z){var h=Z.construct,R=Z.loading;return{construct:h,loading:R}})(z),le=e(59697),Bt=A.Z.Step,dt=function(h){var R=h.modal,ee=h.form,Te=h.setModal,Ue=h.caseId,We=h.dispatch,ie=h.construct,Be=h.testcase,tt=h.width,O=h.fetchData,c=h.record,i=h.suffix,j=i===void 0?!1:i,re=h.createMode,J=re===void 0?!1:re,k=ie.currentStep,we=ie.totalStep,ue=ie.constructorType,X=ie.testCaseConstructorData,de=Be.preConstructor,ze=Be.postConstructor,pe=(0,a.useState)([]),De=C()(pe,2),G=De[0],fe=De[1],nt=(0,a.useState)(""),lt=C()(nt,2),gt=lt[0],Ke=lt[1],w=(0,a.useState)(0),ve=C()(w,2),Oe=ve[0],at=ve[1],Se=function(me){We({type:"construct/save",payload:me})},Ie=function(me){switch(X.type){case 0:return JSON.stringify({constructor_case_id:me.constructor_case_id,params:me.params});case 1:return JSON.stringify({database:me.database,sql:me.sql});case 2:return JSON.stringify({redis:me.redis,command:me.command});case 3:return JSON.stringify({command:me.command});case 4:return JSON.stringify({body:gt,headers:le.Z.translateHeaders(G),base_path:me.base_path,url:me.url,request_method:me.request_method,body_type:Oe})}},ct=function(){var ft=v()(u()().mark(function me(){var Tt,Dt,Ft,st,f;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,ee.validateFields();case 2:if(Tt=o.sent,Dt={value:Tt.value,type:X.type,name:Tt.name,constructor_json:Ie(Tt),enable:Tt.enable,case_id:Ue,public:Tt.public},J){o.next=17;break}if(!c.id){o.next=11;break}return o.next=8,We({type:"construct/update",payload:s()(s()({},Dt),{},{id:c.id,suffix:j})});case 8:Ft=o.sent,o.next=14;break;case 11:return o.next=13,We({type:"construct/insert",payload:s()(s()({},Dt),{},{suffix:j})});case 13:Ft=o.sent;case 14:Ft&&O(),o.next=20;break;case 17:f=V()(j?ze:de),c.tempIndex===void 0?f.push(s()(s()({},Dt),{},{suffix:j,index:f.length})):f.splice(c.tempIndex,1,s()(s()({},Dt),{},{suffix:j})),We({type:"testcase/save",payload:(st={},g()(st,j?"postConstructor":"preConstructor",f),g()(st,"constructorModal",!1),st)});case 20:case"end":return o.stop()}},me)}));return function(){return ft.apply(this,arguments)}}(),ke=function(me){Se({constructorType:me,testCaseConstructorData:{type:me,public:!0,enable:!0},currentStep:k+1})},Ct=function(){if(k===0)return(0,t.jsxs)(x.Z,{gutter:[12,12],style:{marginTop:36},children:[(0,t.jsx)(l.Z,{span:8,children:(0,t.jsx)(_e.Z,{avatar:(0,t.jsx)(te.B,{type:"icon-yongliliebiao",style:{fontSize:32}}),title:"\u6D4B\u8BD5\u573A\u666F",description:"\u6D4B\u8BD5\u573A\u666F\u53EF\u4EE5\u590D\u7528, \u5E76\u4F20\u9012\u7528\u4F8B\u7684\u6570\u636E\u7ED9\u4E0B\u4E00\u4E2A\u573A\u666F",onClick:function(){return ke(0)}})}),(0,t.jsx)(l.Z,{span:8,children:(0,t.jsx)(_e.Z,{avatar:(0,t.jsx)(te.B,{type:"icon-mysql11",style:{fontSize:32}}),title:"SQL\u8BED\u53E5",description:"\u901A\u8FC7\u6267\u884CSQL\u8BED\u53E5\uFF0C\u53EF\u4EE5\u9020\u51FA/\u6062\u590D\u7528\u4F8B\u573A\u666F\u9700\u8981\u7684\u6570\u636E",onClick:function(){return ke(1)}})}),(0,t.jsx)(l.Z,{span:8,children:(0,t.jsx)(_e.Z,{avatar:(0,t.jsx)(te.B,{type:"icon-redis2",style:{fontSize:32}}),title:"Redis\u64CD\u4F5C",description:"\u901A\u8FC7\u64CD\u4F5CRedis\uFF0C\u53EF\u4EE5\u83B7\u53D6\u6216\u8005\u6821\u9A8C\u7F13\u5B58\u4E2D\u7684\u6570\u636E",onClick:function(){return ke(2)}})}),(0,t.jsx)(l.Z,{span:8,children:(0,t.jsx)(_e.Z,{avatar:(0,t.jsx)(te.B,{type:"icon-python",style:{fontSize:32}}),title:"Python\u65B9\u6CD5",description:"\u9700\u8981\u81EA\u5B9A\u4E49\u9020\u6570\u65B9\u6CD5\u7684\uFF0C\u53EF\u4EE5\u4F7F\u7528Python\u7F16\u5199\u5BF9\u5E94\u7684\u6838\u5FC3\u65B9\u6CD5",onClick:function(){return ke(3)}})}),(0,t.jsx)(l.Z,{span:8,children:(0,t.jsx)(_e.Z,{avatar:(0,t.jsx)(te.B,{type:"icon-qingqiu",style:{fontSize:32}}),title:"HTTP\u8BF7\u6C42",description:"\u4F9D\u8D56\u4E8E\u7B2C\u4E09\u65B9\u7684\u63A5\u53E3\uFF0C\u63A8\u8350\u4F7F\u7528HTTP\u8BF7\u6C42\uFF0C\u5982\u901A\u8FC7\u767E\u5EA6api\u8BC6\u522B\u5BF9\u5E94\u56FE\u7247\u9A8C\u8BC1\u7801",onClick:function(){return ke(4)}})})]});if(k===1){if(ue===0)return(0,t.jsx)(q,{form:ee,suffix:j});if(ue===1)return(0,t.jsx)(Ae,{form:ee,suffix:j});if(ue===2)return(0,t.jsx)(At,{form:ee,suffix:j});if(ue===3)return(0,t.jsx)(K,{form:ee,suffix:j});if(ue===4)return(0,t.jsx)(pt,{suffix:j,form:ee,headers:G,bodyType:Oe,setBodyType:at,setHeaders:fe,body:gt,setBody:Ke})}},Pe=function(){Se({currentStep:k-1})};return(0,t.jsx)(Re.Z,{title:j?"\u540E\u7F6E\u6B65\u9AA4":"\u524D\u7F6E\u6B65\u9AA4",width:tt||800,open:R,onClose:function(){return Te(!1)},footer:null,children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(x.Z,{children:[(0,t.jsx)(l.Z,{span:6}),(0,t.jsx)(l.Z,{span:12,children:(0,t.jsxs)(A.Z,{current:k,size:"small",children:[(0,t.jsx)(Bt,{title:"\u9009\u62E9\u7C7B\u578B"},"type"),(0,t.jsx)(Bt,{title:"\u6784\u9020\u6570\u636E"},"type")]})}),(0,t.jsx)(l.Z,{span:6})]}),Ct(),(0,t.jsxs)("div",{style:{marginTop:24,textAlign:"center"},children:[k===we&&(0,t.jsxs)(I.ZP,{type:"primary",onClick:ct,children:[(0,t.jsx)(he.Z,{})," \u5B8C\u6210"]}),k>0&&(0,t.jsxs)(I.ZP,{style:{margin:"0 8px"},onClick:function(){return Pe()},children:[(0,t.jsx)(te.B,{type:"icon-shangyibu1"})," \u4E0A\u4E00\u6B65"]})]})]})})},Ee=(0,H.connect)(function(Z){var h=Z.construct,R=Z.testcase,ee=Z.loading;return{construct:h,loading:ee,testcase:R}})(dt)},44046:function(Zt,Fe,e){e.d(Fe,{Z:function(){return tt}});var xe=e(97857),u=e.n(xe),se=e(19632),g=e.n(se),P=e(9783),V=e.n(P),je=e(15009),s=e.n(je),W=e(99289),v=e.n(W),L=e(5574),C=e.n(L),A=e(37594),x=e(44413),l=e(22763),Re=e(7624),I=e(67294),H=e(4393),te=e(94171),a=e(15106),n=e(85893),$=function(c){return(0,n.jsx)(H.Z,{bordered:c.bordered,children:(0,n.jsx)(a.Z,u()({},c))})},M=(0,te.connect)(function(O){var c=O.gconfig;return{gconfig:c}})($),ut=e(65245),F=e(96074),Ne=e(69400),t=e(71230),ye=e(15746),be=e(71577),B=e(64240),Ze=e(11475),ce=e(51042),Le=e(84298),ge=e(20659),p=e(10981),E=e(19478),ne=function(c){var i=c.dispatch,j=c.testcase,re=c.caseId,J=c.createMode,k=(0,I.useState)(!1),we=C()(k,2),ue=we[0],X=we[1],de=(0,I.useState)({}),ze=C()(de,2),pe=ze[0],De=ze[1],G=j.asserts,fe=function(){var Ke=v()(s()().mark(function w(ve){var Oe;return s()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,i({type:"testcase/deleteTestCaseAsserts",payload:{id:ve.id}});case 2:Oe=Se.sent,Oe&&i({type:"testcase/save",payload:{asserts:G.filter(function(Ie){return Ie.id!==ve.id})}});case 4:case"end":return Se.stop()}},w)}));return function(ve){return Ke.apply(this,arguments)}}(),nt=function(w){var ve=g()(G);ve.splice(w.index,1),i({type:"testcase/save",payload:{asserts:ve}})},lt=[{title:"#",key:"index",render:function(w,ve,Oe){return Oe+1}},{title:"\u6821\u9A8C\u5185\u5BB9",key:"name",dataIndex:"name"},{title:"\u7C7B\u578B",key:"assert_type",dataIndex:"assert_type",render:function(w){return E.Z.ASSERT_TYPE[w]}},{title:"\u9884\u671F\u7ED3\u679C",key:"expected",dataIndex:"expected",ellipse:!0},{title:"\u5B9E\u9645\u7ED3\u679C",key:"actually",dataIndex:"actually",ellipse:!0},{title:"\u64CD\u4F5C",key:"ops",render:function(w,ve,Oe){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){X(!0),De(u()(u()({},ve),{},{index:Oe}))},children:"\u7F16\u8F91"}),(0,n.jsx)(F.Z,{type:"vertical"}),(0,n.jsx)("a",{onClick:function(){Ne.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u6761\u65AD\u8A00\u6570\u636E\u5417?",icon:(0,n.jsx)(Ze.Z,{}),content:"\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var Se=v()(s()().mark(function ct(){return s()().wrap(function(Ct){for(;;)switch(Ct.prev=Ct.next){case 0:if(!J){Ct.next=4;break}nt(u()(u()({},ve),{},{index:Oe})),Ct.next=6;break;case 4:return Ct.next=6,fe(ve);case 6:case"end":return Ct.stop()}},ct)}));function Ie(){return Se.apply(this,arguments)}return Ie}()})},children:"\u5220\u9664"})]})}}],gt=function(){var Ke=v()(s()().mark(function w(ve){var Oe,at,Se,Ie,ct,ke;return s()().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(Oe=u()({case_id:re},ve),!J){Pe.next=8;break}return pe.index!==void 0?(Se=g()(G),Se.splice(pe.index,1,u()({},Oe))):Se=[].concat(g()(G),[u()({},Oe)]),Pe.next=5,i({type:"testcase/save",payload:{asserts:Se}});case 5:X(!1),Pe.next=29;break;case 8:if(!pe.id){Pe.next=22;break}return Pe.next=11,i({type:"testcase/updateTestCaseAsserts",payload:u()(u()({},Oe),{},{id:pe.id})});case 11:if(at=Pe.sent,!p.Z.response(at,!0)){Pe.next=20;break}return X(!1),Ie=g()(G),ct=Ie.findIndex(function(ft){return pe.id===ft.id}),ke=Ie[ct],Ie.splice(ct,1,u()(u()({},ke),at.data)),Pe.next=20,i({type:"testcase/save",payload:{asserts:Ie}});case 20:Pe.next=29;break;case 22:return Pe.next=24,i({type:"testcase/insertTestCaseAsserts",payload:Oe});case 24:if(at=Pe.sent,!p.Z.response(at,!0)){Pe.next=29;break}return X(!1),Pe.next=29,i({type:"testcase/save",payload:{asserts:[].concat(g()(G),[at.data])}});case 29:case"end":return Pe.stop()}},w)}));return function(ve){return Ke.apply(this,arguments)}}();return(0,n.jsx)(t.Z,{gutter:8,children:(0,n.jsxs)(ye.Z,{span:24,children:[(0,n.jsx)(Le.Z,{open:ue,fields:ge.Z.CaseAsserts,title:"\u7528\u4F8B\u65AD\u8A00",left:6,right:18,onFinish:gt,onCancel:function(){return X(!1)},record:pe}),(0,n.jsx)(t.Z,{style:{marginBottom:16},children:(0,n.jsx)(ye.Z,{span:8,children:(0,n.jsxs)(be.ZP,{type:"primary",onClick:function(){X(!0),De({})},children:[(0,n.jsx)(ce.Z,{}),"\u6DFB\u52A0\u65AD\u8A00"]})})}),(0,n.jsx)(B.Z,{columns:lt,dataSource:G,rowKey:function(w){return w.id},locale:{emptyText:(0,n.jsx)(l.Z,{height:150})}})]})})},r=(0,te.connect)(function(O){var c=O.testcase,i=O.loading;return{testcase:c,loading:i}})(ne),q=e(99138),he=e(26194),ae=function(c){var i=c.caseId,j=c.testcase,re=c.loading,J=c.dispatch,k=c.currentEnv,we=c.createMode,ue=we===void 0?!1:we,X=j.testData,de=(0,I.useState)({current:1,total:0,pageSize:5}),ze=C()(de,2),pe=ze[0],De=ze[1],G=(0,I.useState)([]),fe=C()(G,2),nt=fe[0],lt=fe[1],gt=(0,I.useState)({}),Ke=C()(gt,2),w=Ke[0],ve=Ke[1],Oe=(0,I.useState)(!1),at=C()(Oe,2),Se=at[0],Ie=at[1],ct=(0,I.useState)(null),ke=C()(ct,2),Ct=ke[0],Pe=ke[1];(0,I.useEffect)(function(){var f=parseInt(k,10),d=X[f];d?(lt(g()(d)),De(u()(u()({},pe),{},{current:1,total:d.length}))):(lt([]),De(u()(u()({},pe),{},{current:1,total:0})))},[k,X]);var ft=function(){var f=v()(s()().mark(function d(o){var D,_;return s()().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:return D=u()({},X),_=D[parseInt(k,10)],D[parseInt(k,10)]=_.filter(function(jt){return o.name!==jt.name}),Ge.next=5,J({type:"testcase/save",payload:{testData:D}});case 5:case"end":return Ge.stop()}},d)}));return function(o){return f.apply(this,arguments)}}(),me=function(){var f=v()(s()().mark(function d(o){var D,_,oe;return s()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,J({type:"testcase/deleteTestcaseData",payload:{id:o}});case 2:if(D=jt.sent,!D){jt.next=9;break}return _=u()({},X),oe=_[parseInt(k,10)],_[parseInt(k,10)]=oe.filter(function(Ot){return Ot.id!==o}),jt.next=9,J({type:"testcase/save",payload:{testData:_}});case 9:case"end":return jt.stop()}},d)}));return function(o){return f.apply(this,arguments)}}(),Tt=[{title:"#",dataIndex:"id",key:"id"},{title:"\u573A\u666F\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u6D4B\u8BD5\u6570\u636E",dataIndex:"json_data",key:"json_data",ellipse:!0},{title:"\u64CD\u4F5C",key:"ops",render:function(d,o,D){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){ve(u()(u()({},o),{},{index:D})),Ie(!0)},children:"\u7F16\u8F91"}),(0,n.jsx)(F.Z,{type:"vertical"}),(0,n.jsx)("a",{onClick:function(){Ne.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u6761\u6D4B\u8BD5\u6570\u636E\u5417?",icon:(0,n.jsx)(Ze.Z,{}),content:"\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var oe=v()(s()().mark(function jt(){return s()().wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(!ue){St.next=5;break}return St.next=3,ft(o);case 3:St.next=7;break;case 5:return St.next=7,me(o.id);case 7:case"end":return St.stop()}},jt)}));function Ge(){return oe.apply(this,arguments)}return Ge}()})},children:"\u5220\u9664"})]})}}],Dt=function(){var f=v()(s()().mark(function d(o){var D,_;return s()().wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:D=u()({},X),_=u()({env:k},o),w.index!==void 0?D[parseInt(k,10)].splice(w.index,1,_):D[parseInt(k,10)]===void 0?D[parseInt(k,10)]=[_]:D[parseInt(k,10)].push(_),J({type:"testcase/save",payload:{testData:D}}),Ie(!1);case 5:case"end":return Ge.stop()}},d)}));return function(o){return f.apply(this,arguments)}}(),Ft=function(){var f=v()(s()().mark(function d(o){var D;return s()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(w.id){oe.next=6;break}return oe.next=3,J({type:"testcase/insertTestcaseData",payload:u()({case_id:i,env:k},o)});case 3:D=oe.sent,oe.next=9;break;case 6:return oe.next=8,J({type:"testcase/updateTestcaseData",payload:u()({id:w.id,case_id:i,env:k},o)});case 8:D=oe.sent;case 9:D&&Ie(!1);case 10:case"end":return oe.stop()}},d)}));return function(o){return f.apply(this,arguments)}}(),st=[{name:"name",label:"\u6D4B\u8BD5\u573A\u666F",required:!0,type:"input",placeholder:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u573A\u666F",initialValue:w.name},{name:"json_data",label:"JSON\u6570\u636E",required:!0,placeholder:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u573A\u666F",initialValue:w.name,component:(0,n.jsx)(he.Z,{height:200,setEditor:Pe,theme:"material-one-dark"})}];return(0,n.jsxs)(t.Z,{gutter:8,children:[(0,n.jsx)(Le.Z,{title:"\u6D4B\u8BD5\u6570\u636E",record:w,onCancel:function(){Ie(!1)},left:4,right:20,width:650,open:Se,onFinish:ue?Dt:Ft,fields:st,children:(0,n.jsx)(q.Z,{closable:!0,type:"info",style:{marginBottom:12},message:"\u6570\u636E\u7BA1\u7406\u63A5\u53D7\u4E00\u4E32key-value\u7684\u6570\u636E\uFF0C\u4F9B\u5927\u5BB6\u5728case\u91CC\u9762\u4F7F\u7528\u8FD9\u4E9B\u53D8\u91CF\uFF0C\u7528${\u53D8\u91CF}\u7684\u65B9\u5F0F\u3002",showIcon:!0})}),(0,n.jsx)(ye.Z,{span:24,children:(0,n.jsxs)(H.Z,{bordered:!1,children:[(0,n.jsx)(t.Z,{gutter:8,children:(0,n.jsx)(ye.Z,{span:6,children:(0,n.jsxs)(be.ZP,{type:"primary",onClick:function(){Ie(!0),ve({})},children:[(0,n.jsx)(ce.Z,{})," \u6DFB\u52A0\u6570\u636E"]})})}),(0,n.jsx)(t.Z,{gutter:8,style:{marginTop:12},children:(0,n.jsx)(ye.Z,{span:24,children:(0,n.jsx)(B.Z,{columns:Tt,pagination:pe,rowKey:function(d){return d.id},loading:re.effects["testcase/insertTestcaseData"]||re.effects["testcase/updateTestcaseData"]||re.effects["testcase/deleteTestcaseData"],dataSource:nt,locale:{emptyText:(0,n.jsx)(l.Z,{height:"150"})},onChange:function(d){return De(u()(u()({},pe),{},{current:d.current}))}})})})]})})]})},Ve=(0,te.connect)(function(O){var c=O.testcase,i=O.loading;return{testcase:c,loading:i}})(ae),Qe=e(13769),Xe=e.n(Qe),T=e(34041),Y=e(58131),He=e(96365),Je=e(86738),Ae=e(31484),_e=["index"],qe=["title","editable","children","dataIndex","name","record","handleSave","toggleEdit"],Ye=T.Z.Option,$e=I.createContext(null),yt=function(c){var i=c.index,j=Xe()(c,_e),re=Y.Z.useForm(),J=C()(re,1),k=J[0];return(0,n.jsx)(Y.Z,{form:k,component:!1,children:(0,n.jsx)($e.Provider,{value:k,children:(0,n.jsx)("tr",u()({},j))})})},ot=function(O){var c=O.columns,i=O.dataSource,j=O.setDataSource,re=(0,I.useState)(null),J=C()(re,2),k=J[0],we=J[1],ue=function(G){var fe=G.title,nt=G.editable,lt=G.children,gt=G.dataIndex,Ke=G.name,w=G.record,ve=G.handleSave,Oe=G.toggleEdit,at=Xe()(G,qe),Se=(0,I.useContext)($e),Ie=(0,I.useRef)(null),ct=(0,I.useState)({}),ke=C()(ct,2),Ct=ke[0],Pe=ke[1];(0,I.useEffect)(function(){k!=null&&Se.setFieldsValue(i[k])},[k]);var ft=function(st,f,d){var o=g()(i),D=o.findIndex(function(oe){return st.key===oe.key}),_=o[D];o[D]=u()(u()({},_),{},V()({},f,d)),j(o)},me=function(st,f,d,o,D){return f==="source"?(0,n.jsx)(Y.Z.Item,{style:{margin:0},name:f,rules:[{required:!0,message:"".concat(st," is required.")}],children:(0,n.jsxs)(T.Z,{placeholder:"\u9009\u62E9\u6570\u636E\u6765\u6E90",style:{width:"90%"},ref:o,onSelect:function(oe){ft(d,f,oe)},onBlur:D,children:[(0,n.jsx)(Ye,{value:0,children:"Response: \u6B63\u5219"}),(0,n.jsx)(Ye,{value:1,children:"Response: JSONPath"}),(0,n.jsx)(Ye,{value:2,children:"Header: K/V"}),(0,n.jsx)(Ye,{value:3,children:"Cookie: K/V"}),(0,n.jsx)(Ye,{value:4,children:"\u54CD\u5E94\u72B6\u6001\u7801"}),(0,n.jsx)(Ye,{value:5,children:"Body: \u6B63\u5219"}),(0,n.jsx)(Ye,{value:6,children:"Body: JSONPath"}),(0,n.jsx)(Ye,{value:7,children:"Request Header: K/V"})]})}):f==="expression"?(0,n.jsx)(Y.Z.Item,{style:{margin:0},name:f,rules:[{required:d.source!==4,message:"".concat(st," is required.")}],children:(0,n.jsx)(He.Z,{ref:o,onPressEnter:D,disabled:d.source===4,onBlur:D,placeholder:d.source===4?"\u65E0\u9700\u586B\u5199":"\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F"})}):f==="match_index"?(0,n.jsx)(Y.Z.Item,{style:{margin:0},name:f,rules:[{required:[4,1,6,2,3,7].indexOf(d.source)===-1,message:"".concat(st," is required.")}],children:(0,n.jsx)(He.Z,{ref:o,onPressEnter:D,disabled:[4,1,6,2,3,7].indexOf(d.source)>-1,onBlur:D,placeholder:d.source===4?"\u65E0\u9700\u586B\u5199":"\u8BF7\u8F93\u5165\u5339\u914D\u9879"})}):(0,n.jsx)(Y.Z.Item,{style:{margin:0},name:f,rules:[{required:d.source!==4,message:"".concat(st," is required.")}],children:(0,n.jsx)(He.Z,{ref:o,onPressEnter:D,onBlur:D,placeholder:"\u8BF7\u8F93\u5165".concat(st)})})},Tt=function(){var Ft=v()(s()().mark(function st(){var f;return s()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,Se.validateFields();case 3:f=o.sent,we(null),Se.setFieldsValue(w),ve(u()(u()({},w),f)),o.next=12;break;case 9:o.prev=9,o.t0=o.catch(0),console.log("Save failed:",o.t0);case 12:case"end":return o.stop()}},st,null,[[0,9]])}));return function(){return Ft.apply(this,arguments)}}(),Dt=lt;return nt&&(Dt=k===w.key?me(Ke,gt,w,Ie,Tt):(0,n.jsx)("div",{className:"editable-cell-value-wrap",style:{paddingRight:24},children:lt})),(0,n.jsx)("td",u()(u()({},at),{},{children:Dt}))},X=function(G){var fe=g()(i),nt=fe.findIndex(function(gt){return G.key===gt.key}),lt=fe[nt];fe.splice(nt,1,u()(u()({},lt),G)),fe.filter(function(gt){return gt.name}).length===fe.length&&fe.push({key:i.length===0?0:i[i.length-1].key+1,source:1}),j(fe)},de=function(G){var fe=g()(i);j(fe.filter(function(nt){return nt.key!==G}).map(function(nt,lt){return u()(u()({},nt),{},{key:lt})}))},ze=c.map(function(De){return De.editable?u()(u()({},De),{},{onCell:function(fe){return{record:fe,editable:De.editable,dataIndex:De.dataIndex,title:De.title,name:De.name,handleSave:X}}}):De});ze=[].concat(g()(ze),[{title:"\u64CD\u4F5C",render:function(G,fe){return i.length>1?(0,n.jsx)(Je.Z,{title:"\u786E\u5B9A\u5220\u9664\u5417?",onConfirm:function(){de(fe.key)},children:(0,n.jsx)(Ae.Z,{twoToneColor:"red",onClick:function(lt){lt.stopPropagation()}})}):null}}]);var pe={body:{row:yt,cell:ue}};return(0,n.jsx)(B.Z,{onRow:function(G){return{onClick:function(nt){we(G.key)}}},components:pe,rowClassName:"editable-row",dataSource:i,columns:ze,pagination:!1})},mt=e(63783),Et={JSONPATH_TITLE:`JSON\u683C\u5F0F\u7684\u89E3\u6790\u540C\u6837\u652F\u6301\u6570\u7EC4\u4E2D\u6307\u5B9A\u5BF9\u8C61\uFF0C\u5982data.itemlist[0]\uFF1B\u652F\u6301\u63D0\u53D6\u6570\u636E\u4E2D\u968F\u673A\u503Cdata.itemlist[random]\uFF1B\u540C\u65F6\u652F\u6301\u63D0\u53D6\u90E8\u5206\u503C\u7EC4\u5408\u4E3A\u65B0\u6570\u7EC4\uFF0Cdata.itemlist[0-99].id\u5BFC\u51FA\u524D100\u4E2Aid\uFF0Cdata.itemlist[all].id\u5373\u5BFC\u51FA\u5168\u90E8id\u3002\u82E5\u60F3\u5C06\u6570\u7EC4\u5185\u7684\u503C\u8FDB\u884C\u904D\u5386\u4F7F\u7528\uFF0C\u8BF7\u7ED3\u5408\u6570\u636E\u5BFC\u51FA\u8282\u70B9\u914D\u5408\u4F7F\u7528\u3002\u6B63\u5219\u8868\u8FBE\u5F0F\u53EF\u6307\u5B9A\u5339\u914D\u9879. - \u5E38\u89C1\u6B63\u5219\u8868\u8FBE\u5F0F\u4E2D\u4F7F\u7528\u5230\u7684\u5B57\u7B26\u8303\u56F4\u793A\u4F8B\u5982\u4E0B: - \u82F1\u6587\u5B57\u6BCD:[a-zA-Z] - \u6570\u5B57:[0-9] - \u4E2D\u6587\u5B57\u7B26\u8303\u56F4:[\u4E00-\u9FA5] - \u4E2D\u6587\u3001\u82F1\u6587\u3001\u6570\u5B57\uFF1A[\u4E00-\u9FA5a-zA-Z0-9] - \u6307\u5B9A\u7B26\u5408\u6761\u4EF6\u7684\u5B57\u7B26\u4E2A\u6570\uFF1A[a-zA-Z]{2,4} \u8868\u793A2-4\u4E2A\u5B57\u7B26\uFF1B{2}\u8868\u793A\u5B57\u7B26\u4E2A\u6570\u4E3A2\u4E2A\u3002 - \u6CE8\u610F\uFF1A\u5C3D\u91CF\u4E0D\u8981\u4F7F\u7528*,\u5426\u52190\u4E2A\u4E5F\u4F1A\u5339\u914D\u5230`},bt={0:"Response: \u6B63\u5219",1:"Response: JSONPath",2:"Header: K/V",3:"Cookie: K/V",4:"\u54CD\u5E94\u72B6\u6001\u7801",5:"Body: \u6B63\u5219",6:"Body: JSONPath",7:"Request Header: K/V"},At=function(O){var c=O.dispatch,i=O.testcase,j=O.caseId,re=O.createMode,J=i.outParameters,k=function(X){c({type:"testcase/save",payload:{outParameters:X}})},we=[{title:"\u51FA\u53C2\u540D",dataIndex:"name",key:"name",name:"\u51FA\u53C2\u540D",width:"20%",editable:!0,render:function(X){return X||"\u8BF7\u8F93\u5165\u51FA\u53C2\u540D"}},{title:"\u6765\u6E90",name:"\u6765\u6E90",dataIndex:"source",key:"source",width:"25%",editable:!0,render:function(X){return X!==void 0?bt[X]:"\u8BF7\u9009\u62E9\u6765\u6E90"}},{name:"\u89E3\u6790\u8868\u8FBE\u5F0F",title:(0,n.jsxs)("span",{children:["\u89E3\u6790\u8868\u8FBE\u5F0F ",(0,n.jsx)(x.Z,{icon:(0,n.jsx)(mt.Z,{}),title:Et.JSONPATH_TITLE})]}),dataIndex:"expression",key:"expression",editable:!0,render:function(X,de){return de.source!==4?X||"\u8BF7\u8F93\u5165\u89E3\u6790\u8868\u8FBE\u5F0F":"\u65E0\u9700\u586B\u5199"}},{title:"\u7B2C\u51E0\u4E2A\u5339\u914D\u9879",name:"\u7B2C\u51E0\u4E2A\u5339\u914D\u9879",dataIndex:"match_index",editable:!0,render:function(X,de){return de.source!==4&&de.source!==1&&de.source!==6?X||"\u8BF7\u8F93\u5165\u5339\u914D\u9879":"\u65E0\u9700\u586B\u5199"}}];return(0,n.jsx)(ot,{columns:we,dataSource:J,setDataSource:k})},it=e(93980),et=e(25514),xt=it.Z.TabPane,S=function(c){var i=c.open,j=c.gconfig,re=c.variables,J=c.onCancel,k=[{title:"\u53D8\u91CF\u540D",dataIndex:"name",key:"name",render:function(X){return(0,n.jsx)(et.Z.Text,{copyable:!0,children:X})}}],we=[].concat(k,[{title:"\u6765\u6E90",dataIndex:"stepName",key:"stepName"}]);return(0,n.jsx)(Ne.Z,{title:"\u53D8\u91CF\u5217\u8868",open:i,width:500,footer:null,onCancel:J,children:(0,n.jsxs)(it.Z,{children:[(0,n.jsx)(xt,{tab:"\u5168\u5C40\u53D8\u91CF",children:(0,n.jsx)(B.Z,{columns:k,dataSource:j,size:"small"})},"global"),(0,n.jsx)(xt,{tab:"\u7528\u4F8B\u53D8\u91CF",children:(0,n.jsx)(B.Z,{columns:we,dataSource:re,size:"small"})},"case")]})})},K=S,b=e(89609),Q=e(4713),z=e(59697),pt=e(65987),le=e(34804),Bt=e(84552),dt=e(2453),Ee=e(12350),Z=e(51904),h=e(72269),R=e(93531),ee=e(13013),Te=e(26713),Ue=e(33100),We=e(53575),ie=it.Z.TabPane,Be=function(c){var i=c.dispatch,j=c.testcase,re=c.case_id,J=c.setSuffix,k=c.body,we=c.setBody,ue=c.formData,X=c.setFormData,de=c.gconfig,ze=c.onSubmit,pe=c.form,De=c.createMode,G=De===void 0?!1:De,fe=c.headers,nt=c.setHeaders,lt=c.bodyType,gt=c.setBodyType,Ke=c.loading,w=j.preConstructor,ve=j.postConstructor,Oe=j.activeKey,at=j.constructors_case,Se=j.envActiveKey,Ie=j.asserts,ct=j.caseInfo,ke=de.envList,Ct=(0,I.useState)(!1),Pe=C()(Ct,2),ft=Pe[0],me=Pe[1],Tt=(0,I.useState)([]),Dt=C()(Tt,2),Ft=Dt[0],st=Dt[1],f=(0,I.useState)([]),d=C()(f,2),o=d[0],D=d[1],_=(0,I.useState)(localStorage.getItem("case_study")===null),oe=C()(_,2),Ge=oe[0],jt=oe[1],Ot=(0,I.useState)(null),St=C()(Ot,2),Lt=St[0],Ut=St[1],It=(0,I.useRef)(null),Kt=(0,I.useRef)(null),Nt=(0,I.useRef)(null),Vt=(0,I.useRef)(null),Ht=(0,I.useRef)(null),$t=(0,I.useRef)(null),Jt=ke.map(function(y){return{key:y.id,label:(0,n.jsx)("a",{onClick:function(){Ut(y.name),dt.ZP.success("\u6D4B\u8BD5\u73AF\u5883\u5DF2\u5207\u6362\u81F3"+y.name)},children:y.name})}}),Yt=function(){var y=v()(s()().mark(function m(U){var Ce,N;return s()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Ce=U.map(function(vt){return{case_id:vt.case_id,step_name:vt.name}}),Me.next=3,(0,Q.Sb)(Ce);case 3:N=Me.sent,p.Z.response(N)&&D(Object.keys(N.data).map(function(vt){return N.data[vt]}));case 5:case"end":return Me.stop()}},m)}));return function(U){return y.apply(this,arguments)}}(),wt=[{title:"\u6570\u636E\u7BA1\u7406",placement:"right",description:"\u6570\u636E\u7BA1\u7406\u6A21\u5757\uFF0C\u4EE5\u6570\u636E\u9A71\u52A8\u7684\u65B9\u5F0F\u6279\u91CF\u8BF7\u6C42\u63A5\u53E3\uFF0C\u89E3\u51B3\u91CD\u590D\u7F16\u5199\u573A\u666F\u7684\u70E6\u607C~\u{1F47B}",cover:(0,n.jsx)(Ee.Z,{width:"100%",style:{height:200},src:"/data_driven.jpeg"}),target:function(){return It.current}},{title:"\u524D\u7F6E\u6B65\u9AA4",placement:"right",description:"\u5728\u524D\u7F6E\u6B65\u9AA4\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u6784\u9020\u4E00\u5207\u4F60\u9700\u8981\u7684\u6570\u636E\uFF0C\u5305\u62EC\u4F46\u4E0D\u9650\u4E8EDB/Redis\u7B49\uFF0C\u5E76\u80FD\u5C06\u6570\u636E\u4F20\u9012\u4E0B\u53BB\u{1F440}",cover:(0,n.jsx)(Ee.Z,{width:"100%",style:{height:200},src:"/pre.svg"}),target:function(){return Kt.current}},{title:"\u63A5\u53E3\u8BF7\u6C42",placement:"right",description:"\u5728\u63A5\u53E3\u8BF7\u6C42\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u6784\u5EFAHTTP/DUBBO/GRPC\u8FD93\u7C7B\u8BF7\u6C42\uFF0C\u5982\u679C\u9047\u5230\u6709\u53D8\u91CF\u9700\u8981\u586B\u5199\uFF0C\u53EF\u4EE5\u6309\u4E0B\u5FEB\u6377\u952E\u300E$\u300F\u5F39\u51FA\u53D8\u91CF\u83DC\u5355\u54E6~\u{1F42C}",cover:(0,n.jsx)(Ee.Z,{width:"100%",style:{height:200},src:"/api.svg"}),target:function(){return Vt.current}},{title:"\u51FA\u53C2\u63D0\u53D6",placement:"left",description:"\u5728\u51FA\u53C2\u63D0\u53D6\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u63D0\u53D6\u4F60\u5728\u4E0B\u4E00\u4E2A\u6B65\u9AA4\u4E2D\u9700\u8981\u7684\u6570\u636E, \u6BD4\u5982\u4F60\u53EF\u4EE5\u63D0\u53D6\u767B\u5F55\u540E\u7684token\uFF0C\u7528\u4E8E\u63A5\u4E0B\u6765\u7684\u64CD\u4F5C\uFF01\u51FA\u53C2\u63D0\u53D6\u4E3B\u8981\u652F\u6301\u6B63\u5219\u548CJSONPath2\u79CD\u65B9\u5F0F\uFF0C\u5982\u679C\u8FD8\u4E0D\u719F\u6089\u7684\u8BDD\uFF0C\u5EFA\u8BAE\u53BB\u641C\u7D22\u5B66\u4E60\u4E00\u4E0B\u54E6~\u{1F47D}",cover:(0,n.jsx)(Ee.Z,{width:"100%",style:{height:200},src:"/out.svg"}),target:function(){return $t.current}},{title:"\u65AD\u8A00",placement:"left",description:"\u5728\u65AD\u8A00\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u5BF9\u4F60\u672C\u6B21\u6D4B\u8BD5\u7684\u6570\u636E\u8FDB\u884C\u6821\u9A8C\uFF0C\u4EE5\u4FBF\u4E8E\u540E\u7EED\u573A\u666F\u81EA\u52A8\u6267\u884C\u65F6\u80FD\u68C0\u6D4B\u51FA\u5F02\u5E38\uFF0C\u65AD\u8A00\u5F88\u91CD\u8981\uFF0C\u8BB0\u5F97\u8981\u586B\u54E6\uFF01\u{1F383}",cover:(0,n.jsx)(Ee.Z,{width:"100%",style:{height:200},src:"/assert.svg"}),target:function(){return Ht.current}},{title:"\u540E\u7F6E\u6B65\u9AA4",placement:"left",description:"\u5728\u540E\u7F6E\u6B65\u9AA4\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u505A\u4E00\u4E9B\u6E05\u7406\u5DE5\u4F5C\uFF0C\u6BD4\u5982\u5220\u9664\u4F60\u521B\u5EFA\u7684\u6570\u636E\u7B49\uFF0C\u7528\u6CD5\u4E0E\u524D\u7F6E\u6B65\u9AA4\u7C7B\u4F3C~\u{1F680}",cover:(0,n.jsx)(Ee.Z,{width:"100%",style:{height:200},src:"/clean.svg"}),target:function(){return Nt.current}}];(0,Bt.Z)(["shift.4"],function(){Oe!=="4"&&window.location.href.indexOf("/apiTest/testcase/")>-1&&window.location.href.endsWith("/".concat(re))&&me(!0)},{exactMatch:!0,useCapture:!0});var Qt=function(){var y=v()(s()().mark(function m(){var U;return s()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,(0,b.Z7)({page:1,size:500});case 2:U=N.sent,p.Z.response(U)&&st(U.data.map(function(rt){return{name:"${"+rt.key+"}"}}));case 4:case"end":return N.stop()}},m)}));return function(){return y.apply(this,arguments)}}();(0,I.useEffect)(function(){Qt()},[]),(0,I.useEffect)(function(){Yt(w)},[w]);var Mt=function(){i({type:"testcase/save",payload:{constructorModal:!0,testCaseConstructorData:{public:!0,enable:!0},currentStep:0,constructRecord:{}}}),i({type:"construct/save",payload:{currentStep:0}})},Xt=function(){var y=v()(s()().mark(function m(U){var Ce,N,rt,Me=arguments;return s()().wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Ce=Me.length>1&&Me[1]!==void 0?Me[1]:!1,Pt.next=3,i({type:"construct/delete",payload:{id:U.id}});case 3:N=Pt.sent,N&&(Ce?rt=ve.filter(function(ht){return ht.id!==U.id}):rt=w.filter(function(ht){return ht.id!==U.id}),i({type:"testcase/save",payload:V()({},Ce?"postConstructor":"preConstructor",rt)}));case 5:case"end":return Pt.stop()}},m)}));return function(U){return y.apply(this,arguments)}}(),_t=function(){var y=v()(s()().mark(function m(U,Ce){var N;return s()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:N=g()(Ce?ve:w),N.splice(U.index,1),i({type:"testcase/save",payload:V()({},Ce?"postConstructor":"preConstructor",N.map(function(vt,Pt){return u()(u()({},vt),{},{index:Pt})}))});case 3:case"end":return Me.stop()}},m)}));return function(U,Ce){return y.apply(this,arguments)}}(),qt=function(m,U){return m.type===4?{body:U.body,headers:z.Z.parseHeaders(U.headers),base_path:U.base_path,url:U.url,request_method:U.request_method,body_type:U.body_type}:U},zt=function(m){var U=JSON.parse(m.constructor_json);i({type:"construct/save",payload:{currentStep:1,testCaseConstructorData:u()(u()({},m),qt(m,U)),constructorType:m.type}}),i({type:"testcase/save",payload:{constructorModal:!0,constructRecord:m}})},en=function(){var y=v()(s()().mark(function m(U,Ce){var N,rt,Me,vt=arguments;return s()().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:if(N=vt.length>2&&vt[2]!==void 0?vt[2]:!1,Me=g()(N?ve:w),!G){ht.next=6;break}rt=!0,ht.next=9;break;case 6:return ht.next=8,i({type:"construct/update",payload:u()(u()({},U),{},{enable:Ce})});case 8:rt=ht.sent;case 9:rt&&(G?Me.forEach(function(Rt,tn){tn===U.index&&(Rt.enable=Ce)}):Me.forEach(function(Rt){Rt.id===U.id&&(Rt.enable=Ce)}),i({type:"testcase/save",payload:V()({},N?"postConstructor":"preConstructor",Me)}));case 10:case"end":return ht.stop()}},m)}));return function(U,Ce){return y.apply(this,arguments)}}(),kt=function(m){var U=JSON.parse(m.constructor_json);if(m.type===0){var Ce=at[U.case_id];return Ce?(0,n.jsxs)("div",{children:["\u7528\u4F8B:"," ",(0,n.jsx)("a",{href:"/#/apiTest/testcase/".concat(Ce.directory_id,"/").concat(Ce.id),rel:"noreferrer",children:Ce.name})]}):null}if(m.type===1)return(0,n.jsx)("code",{children:U.sql});if(m.type===2)return(0,n.jsx)("code",{children:(0,n.jsx)("pre",{children:U.command})});if(m.type===3)return(0,n.jsx)("code",{children:(0,n.jsx)("pre",{children:U.command})})},Wt=function(m){var U=m.number,Ce=m.bgColor,N=m.color,rt=m.style;return U===0?null:(0,n.jsx)("div",{style:u()({display:"inline-block",marginLeft:2,textAlign:"center",width:24,borderRadius:10,background:Ce,color:N},rt),children:U})},Gt=[{title:"\u540D\u79F0",key:"name",dataIndex:"name",render:function(m,U,Ce){return(0,n.jsx)("a",{onClick:function(){zt(u()(u()({},U),{},{tempIndex:Ce}))},children:m})},className:"drag-visible"},{title:"\u7C7B\u578B",key:"type",dataIndex:"type",render:function(m){return(0,n.jsx)(Z.Z,{color:E.Z.CASE_CONSTRUCTOR_COLOR[m],children:E.Z.CASE_CONSTRUCTOR[m]})},className:"drag-visible"},{title:"\u72B6\u6001",key:"enable",dataIndex:"enable",className:"drag-visible",render:function(m,U){return(0,n.jsx)(h.Z,{defaultChecked:U.enable,onChange:function(){var Ce=v()(s()().mark(function N(rt){return s()().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:return vt.next=2,en(U,rt);case 2:case"end":return vt.stop()}},N)}));return function(N){return Ce.apply(this,arguments)}}()})}},{title:"\u8FD4\u56DE\u503C",key:"value",dataIndex:"value",className:"drag-visible"},{title:"\u64CD\u4F5C",key:"ops",className:"drag-visible",render:function(m,U,Ce){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){zt(u()(u()({},U),{},{tempIndex:Ce}))},children:(0,n.jsx)(pt.Z,{})}),(0,n.jsx)("a",{style:{marginLeft:8},onClick:function(){Ne.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6570\u636E\u6784\u9020\u5668\u5417?",icon:(0,n.jsx)(Ze.Z,{}),content:"\u5982\u679C\u53EA\u662F\u6682\u65F6\u4E0D\u5F00\u542F\uFF0C\u53EF\u4EE5\u5148\u6682\u505C\u5B83~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var rt=v()(s()().mark(function vt(){return s()().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:if(!G){ht.next=5;break}return ht.next=3,_t(U);case 3:ht.next=7;break;case 5:return ht.next=7,Xt(U);case 7:case"end":return ht.stop()}},vt)}));function Me(){return rt.apply(this,arguments)}return Me}()})},children:(0,n.jsx)(Ae.Z,{twoToneColor:"red"})})]})}}];return(0,n.jsxs)(t.Z,{gutter:8,style:{marginTop:36,minHeight:500},children:[(0,n.jsx)(K,{open:ft,gconfig:Ft,variables:o,onCancel:function(){return me(!1)}}),(0,n.jsx)(R.Z,{open:Ge,onClose:function(){localStorage.setItem("case_study","done"),jt(!1)},steps:wt}),(0,n.jsx)(ye.Z,{span:24,children:(0,n.jsxs)(it.Z,{activeKey:Oe,onChange:function(m){i({type:"testcase/save",payload:{activeKey:m}}),J(m==="6"),m==="1"&&ke.length>0&&i({type:"testcase/save",payload:{envActiveKey:ke[0].id.toString()}})},tabBarExtraContent:(0,n.jsx)(ee.Z,{menu:{items:Jt},children:(0,n.jsx)("a",{onClick:function(m){m.preventDefault()},children:(0,n.jsxs)(Te.Z,{children:[Lt||"\u9009\u62E9\u5F53\u524D\u6267\u884C\u73AF\u5883",(0,n.jsx)(le.Z,{})]})})}),children:[(0,n.jsx)(ie,{tab:(0,n.jsxs)("span",{ref:It,children:[(0,n.jsx)(A.B,{type:"icon-shujuqudong1"}),"\u6570\u636E\u7BA1\u7406"," ",(0,n.jsx)(x.Z,{onClick:function(){window.open("".concat(E.Z.DOCUMENT_URL,"/%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3/%E6%A6%82%E5%BF%B5/%E6%95%B0%E6%8D%AE%E7%AE%A1%E7%90%86"))},icon:(0,n.jsx)(mt.Z,{}),title:"\u5728\u8FD9\u91CC\u4F60\u53EF\u4EE5\u5BF9\u591A\u5957\u73AF\u5883\u7684\u6D4B\u8BD5\u6570\u636E\u8FDB\u884C\u7BA1\u7406\uFF0C\u4ECE\u800C\u8FBE\u5230\u6570\u636E\u9A71\u52A8\u7684\u76EE\u7684~\u70B9\u51FB\u6B64\u6309\u94AE\u67E5\u770B\u8BE6\u7EC6\u6587\u6863\u3002"})]}),children:ke.length>0?(0,n.jsx)(it.Z,{tabPosition:"left",activeKey:Se,onChange:function(m){i({type:"testcase/save",payload:{envActiveKey:m}})},children:ke.map(function(y){return(0,n.jsx)(ie,{tab:y.name,children:(0,n.jsx)(Ve,{caseId:re,currentEnv:Se,createMode:G})},y.id)})}):(0,n.jsx)(Re.Z,{height:280,desc:(0,n.jsxs)("span",{children:["\u6CA1\u6709\u4EFB\u4F55\u73AF\u5883\u4FE1\u606F, ",(0,n.jsx)("a",{href:"/#/config/environment",children:"\u53BB\u6DFB\u52A0"})]})})},"1"),(0,n.jsx)(ie,{tab:(0,n.jsxs)("div",{ref:Kt,children:[(0,n.jsx)(A.B,{type:"icon-DependencyGraph_16x"}),"\u524D\u7F6E\u6B65\u9AA4",(0,n.jsx)(Wt,{number:w.length,bgColor:"rgb(237, 242, 251)",color:"rgb(29, 98, 203)"})]}),children:w.length===0?(0,n.jsx)(l.Z,{height:180,desc:(0,n.jsxs)("div",{children:["\u8FD8\u6CA1\u6709\u524D\u7F6E\u6B65\u9AA4, \u8FD8\u4E0D\u8D76\u5FEB ",(0,n.jsx)("a",{onClick:Mt,children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})}):(0,n.jsxs)(t.Z,{gutter:12,children:[(0,n.jsxs)(ye.Z,{span:16,children:[(0,n.jsx)(t.Z,{children:(0,n.jsx)(ye.Z,{span:24,children:(0,n.jsxs)(be.ZP,{type:"dashed",block:!0,style:{marginBottom:16},onClick:Mt,children:[(0,n.jsx)(ce.Z,{}),"\u6DFB\u52A0"]})})}),(0,n.jsx)(ut.Z,{columns:Gt,dataSource:w,setDataSource:function(m){i({type:"testcase/save",payload:{preConstructor:m}})},loading:Ke.effects["construct/delete"]||Ke.effects["construct/update"],dragCallback:function(){var y=v()(s()().mark(function m(U){return s()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!G){N.next=2;break}return N.abrupt("return",!0);case 2:return N.next=4,i({type:"construct/orderConstructor",payload:U.map(function(rt,Me){return{id:rt.id,index:Me}})});case 4:return N.abrupt("return",N.sent);case 5:case"end":return N.stop()}},m)}));return function(m){return y.apply(this,arguments)}}()})]}),(0,n.jsx)(ye.Z,{span:8,children:(0,n.jsx)(H.Z,{style:{height:400,overflow:"auto"},hoverable:!0,bordered:!1,children:w.filter(function(y){return y.enable}).length===0?(0,n.jsx)(Re.Z,{desc:"\u6682\u65E0\u5F00\u542F\u7684\u524D\u7F6E\u6B65\u9AA4"}):(0,n.jsx)(Ue.Z,{children:w.map(function(y,m){return y.enable?(0,n.jsxs)(Ue.Z.Item,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(We.Z,{count:m+1,style:{backgroundColor:"#a6d3ff"}},m)," ","\u540D\u79F0:"," ",y.type===0?(0,n.jsx)("a",{children:y.name},y.name):y.name]},m),kt(y)]},m):null})})})})]})},"2"),(0,n.jsx)(ie,{tab:(0,n.jsxs)("span",{ref:Vt,children:[(0,n.jsx)(A.B,{type:"icon-qingqiu"}),"\u63A5\u53E3\u8BF7\u6C42"]}),children:(0,n.jsx)(t.Z,{gutter:[8,8],children:(0,n.jsx)(ye.Z,{span:24,children:(0,n.jsx)(M,{form:pe,body:k,setBody:we,headers:fe,formData:ue,setFormData:X,caseInfo:ct,setHeaders:nt,bodyType:lt,setBodyType:gt,bordered:!1,save:ze})})})},"3"),(0,n.jsx)(ie,{tab:(0,n.jsxs)("span",{ref:$t,children:[(0,n.jsx)(A.B,{type:"icon-canshu2"}),"\u51FA\u53C2\u63D0\u53D6"," ",(0,n.jsx)(x.Z,{icon:(0,n.jsx)(mt.Z,{}),title:"\u901A\u8FC7\u7BA1\u7406\u8BF7\u6C42\u4EA7\u751F\u7684\u53C2\u6570\uFF0C\u5E2E\u52A9\u6211\u4EEC\u66F4\u597D\u5730\u6539\u5584\u3010\u65AD\u8A00\u3011"})]}),children:(0,n.jsx)(At,{caseId:re,createMode:G,dispatch:i,testcase:j})},"4"),(0,n.jsx)(ie,{tab:(0,n.jsxs)("div",{ref:Ht,children:[(0,n.jsx)(A.B,{type:"icon-duanyan"}),"\u65AD\u8A00"," ",(0,n.jsx)(Wt,{number:Ie.length,bgColor:"rgb(233, 249, 245)",color:"rgb(40, 195, 151)"})]}),children:(0,n.jsx)(r,{asserts:Ie,caseId:re,createMode:G})},"5"),(0,n.jsx)(ie,{tab:(0,n.jsxs)("div",{ref:Nt,children:[(0,n.jsx)(A.B,{type:"icon-qingliwuliuliang"}),"\u540E\u7F6E\u6B65\u9AA4",(0,n.jsx)(Wt,{number:ve.length,bgColor:"rgb(255, 238, 239)",color:"rgb(255, 87, 95)"})]}),children:ve.length===0?(0,n.jsx)(l.Z,{height:180,desc:(0,n.jsxs)("div",{children:["\u8FD8\u6CA1\u6709\u540E\u7F6E\u6B65\u9AA4, \u8FD8\u4E0D\u8D76\u7D27 ",(0,n.jsx)("a",{onClick:Mt,children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})}):(0,n.jsxs)(t.Z,{gutter:12,children:[(0,n.jsxs)(ye.Z,{span:16,children:[(0,n.jsx)(t.Z,{children:(0,n.jsx)(ye.Z,{span:24,children:(0,n.jsxs)(be.ZP,{type:"dashed",block:!0,style:{marginBottom:16},onClick:Mt,children:[(0,n.jsx)(ce.Z,{}),"\u6DFB\u52A0"]})})}),(0,n.jsx)(ut.Z,{columns:Gt,dataSource:ve,setDataSource:function(m){i({type:"testcase/save",payload:{postConstructor:m}})},loading:Ke.effects["construct/delete"]||Ke.effects["construct/update"],dragCallback:function(){var y=v()(s()().mark(function m(U){return s()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!G){N.next=2;break}return N.abrupt("return",!0);case 2:return N.next=4,i({type:"construct/orderConstructor",payload:U.map(function(rt,Me){return{id:rt.id,index:Me}})});case 4:return N.abrupt("return",N.sent);case 5:case"end":return N.stop()}},m)}));return function(m){return y.apply(this,arguments)}}()})]}),(0,n.jsx)(ye.Z,{span:8,children:(0,n.jsx)(H.Z,{style:{height:400,overflow:"auto"},hoverable:!0,bordered:!1,children:ve.filter(function(y){return y.enable}).length===0?(0,n.jsx)(l.Z,{desc:"\u6682\u65E0\u5F00\u542F\u7684\u540E\u7F6E\u6B65\u9AA4"}):(0,n.jsx)(Ue.Z,{children:ve.map(function(y,m){return y.enable?(0,n.jsxs)(Ue.Z.Item,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(We.Z,{count:m+1,style:{backgroundColor:"#a6d3ff"}},m)," ","\u540D\u79F0:"," ",y.type===0?(0,n.jsx)("a",{children:y.name},y.name):y.name]},m),kt(y)]},m):null})})})})]})},"6")]})})]})},tt=(0,te.connect)(function(O){var c=O.testcase,i=O.gconfig,j=O.loading;return{testcase:c,gconfig:i,loading:j}})(Be)},88496:function(Zt,Fe,e){e.d(Fe,{Z:function(){return n}});var xe=e(15009),u=e.n(xe),se=e(99289),g=e.n(se),P=e(94171),V=e(58131),je=e(4393),s=e(71577),W=e(71230),v=e(15746),L={caseTitle:"caseTitle___B4Pl6"},C=e(76081),A=e(20659),x=e(67294),l=e(60219),Re=e(74842),I=e(44046),H=e(85893),te=V.Z.Item,a=function(M){var ut=M.dispatch,F=M.form,Ne=M.testcase,t=M.caseId,ye=M.body,be=M.setBody,B=M.headers,Ze=M.setHeaders,ce=M.formData,Le=M.setFormData,ge=M.bodyType,p=M.setBodyType,E=M.setSuffix,ne=M.onSubmit,r=M.create,q=r===void 0?!1:r,he=Ne.caseInfo;return(0,x.useEffect)(function(){F.resetFields(),F.setFieldsValue(he),be(he.body)},[he]),(0,H.jsx)(V.Z,{form:F,name:"addCase",initialValues:he,children:(0,H.jsxs)(je.Z,{title:(0,H.jsx)("span",{className:L.caseTitle,children:"\u573A\u666F\u4FE1\u606F"}),extra:q?null:(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(s.ZP,{type:"primary",onClick:g()(u()().mark(function ae(){return u()().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:return Qe.next=2,ne(q);case 2:case"end":return Qe.stop()}},ae)})),children:[(0,H.jsx)(l.Z,{})," \u63D0\u4EA4"]}),q?(0,H.jsxs)(s.ZP,{style:{marginLeft:8},children:[(0,H.jsx)(Re.Z,{})," \u6D4B\u8BD5"]}):(0,H.jsxs)(s.ZP,{style:{marginLeft:8},onClick:function(){ut({type:"testcase/save",payload:{editing:!1}})},children:[(0,H.jsx)(l.Z,{})," \u53D6\u6D88"]})]}),children:[(0,H.jsx)(W.Z,{gutter:[8,8],children:A.Z.CaseDetail.map(function(ae){return(0,H.jsx)(v.Z,{span:ae.span||24,children:(0,H.jsx)(te,{label:ae.label,colon:ae.colon||!0,labelCol:{span:8},wrapperCol:{span:16},rules:[{required:ae.required,message:ae.message}],name:ae.name,valuePropName:ae.valuePropName||"value",children:(0,C.Z)(ae.type,ae.placeholder,ae.component)})})})}),(0,H.jsx)(W.Z,{style:{marginTop:8},children:(0,H.jsx)(v.Z,{span:24,children:(0,H.jsx)(I.Z,{case_id:t,body:ye,bodyType:ge,setBody:be,headers:B,setHeaders:Ze,form:F,createMode:q,formData:ce,setFormData:Le,setSuffix:E,setBodyType:p})})})]})})},n=(0,P.connect)(function($){var M=$.user,ut=$.testcase,F=$.loading;return{testcase:ut,user:M,loading:F}})(a)},87023:function(Zt,Fe,e){e.d(Fe,{Z:function(){return Le}});var xe=e(15009),u=e.n(xe),se=e(99289),g=e.n(se),P=e(5574),V=e.n(P),je=e(93980),s=e(53575),W=e(85265),v=e(71230),L=e(27511),C=e(64240),A=e(67294),x=e(42481),l=e(26671),Re=e(9783),I=e.n(Re),H=e(70366),te=e.n(H),a=e(85893),n=60,$={nameFontSize:12,childCountWidth:22,countMarginLeft:0,itemPadding:16,nameMarginLeft:4,rootPadding:18},M=function(ge){var p=ge.data,E=ge.graph,ne=ge.setGraph,r=ge.container_id,q=r===void 0?"container":r;return(0,A.useEffect)(function(){if(p!==null){te().registerNode("treeNode",{draw:function(T,Y){var He=T.id,Je=T.label,Ae=T.collapsed,_e=T.selected,qe=T.children,Ye=T.depth,$e=Ye===0,yt=qe&&qe.length!==0,ot=$.childCountWidth,mt=$.countMarginLeft,Et=$.itemPadding,bt=$.selectedIconWidth,At=$.nameMarginLeft,it=$.rootPadding,et=0,xt=28,S=0,K=-xt/2,b=Y.addShape("text",{attrs:{text:Je,x:S*2,y:K,textAlign:"left",textBaseline:"top",fontFamily:"PingFangSC-Regular"},cursor:"pointer",name:"name-text-shape"}),Q=b.getBBox().width;et=Q+Et+At,et=et0&&le[0]!==void 0?le[0]:p.case_id,Q=le.length>1&&le[1]!==void 0?le[1]:!0,dt.next=4,(0,ut.T4)({case_id:b});case 4:z=dt.sent,F.Z.response(z)&&(Q?T(z.data):(pt=Object.keys(p).map(function(Ee){return z.data}),Ae(pt)));case 6:case"end":return dt.stop()}},K)}));return function(){return S.apply(this,arguments)}}(),At=function(){var S=g()(u()().mark(function K(){var b,Q,z;return u()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(!ae){le.next=6;break}if(p.case_id===void 0){le.next=4;break}return le.next=4,bt();case 4:le.next=16;break;case 6:b=0,Q=Object.keys(p);case 7:if(!(b1&&arguments[1]!==void 0?arguments[1]:p;if(b[K]===null||b[K]===void 0||b[K]==="{}")return[];var Q=JSON.parse(b[K]);return Object.keys(Q).map(function(z){return{key:z,value:Q[z]}})},et=[{title:"\u65AD\u8A00\u4FE1\u606F",key:"msg",dataIndex:"msg"},{title:"\u72B6\u6001",key:"status",dataIndex:"status",render:function(K){return(0,a.jsx)(s.Z,{status:K?"success":"error",text:K?"\u901A\u8FC7":"\u672A\u901A\u8FC7"})}}],xt=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;if(K.asserts===void 0||!K.asserts)return[];var b=JSON.parse(K.asserts),Q=[];return Object.keys(b).forEach(function(z){typeof b[z].msg=="string"?Q.push({status:b[z].status,msg:b[z].msg}):b[z].msg.forEach(function(pt){Q.push({status:b[z].status,msg:pt})})}),Q};return(0,a.jsx)(W.Z,{title:(0,a.jsxs)("span",{children:["[",(0,a.jsx)("strong",{children:E}),"] \u6267\u884C\u8BE6\u60C5"]}),width:ne||1e3,open:r,placement:"right",onClose:function(){return q(!1)},children:(0,a.jsx)(v.Z,{gutter:[8,8],children:ae?(0,a.jsxs)(je.Z,{style:{width:"100%",minHeight:460},tabPosition:"left",children:[(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,a.jsxs)(L.Z,{column:2,bordered:!0,size:"middle",children:[(0,a.jsx)(L.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,a.jsx)(s.Z,{status:p.status?"success":"error",text:p.status?"\u6210\u529F":"\u5931\u8D25"})}),(0,a.jsx)(L.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:p.request_method}),(0,a.jsx)(L.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,a.jsxs)("span",{style:{color:Ze[p.status_code]?Ze[p.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[p.status_code," ",Ze[p.status_code]?Ze[p.status_code].text:""]})}),(0,a.jsx)(L.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,a.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,a.jsx)("span",{style:{color:"#67C23A"},children:p.cost})})}),(0,a.jsx)(L.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:p.url}),(0,a.jsx)(L.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:p.request_data?(0,a.jsx)(x.Z,{language:"json",style:l.BV,children:p.request_data}):(0,a.jsx)(Ne.Z,{height:120})})]})},"1"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,a.jsx)(C.Z,{columns:et,dataSource:xt(),size:"small",pagination:!1})},"3"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,a.jsx)(be.Z,{language:"html",setEditor:Et,readOnly:!0,value:p.logs,height:"80vh"})},"2"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Request Headers"]}),children:(0,a.jsx)(C.Z,{columns:ce,dataSource:it("request_headers"),size:"small",pagination:!1})},"5"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,a.jsx)(C.Z,{columns:ce,dataSource:it("cookies"),size:"small",pagination:!1})},"6"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Response Headers"]}),children:(0,a.jsx)(C.Z,{columns:ce,dataSource:it("response_headers"),size:"small",pagination:!1})},"7"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-xiangying"}),"Response"]}),children:(0,a.jsx)(ye.Z,{readOnly:!0,setEditor:Et,value:p.response?p.response:"",height:"80vh"})},"4"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,a.jsx)("div",{id:"container",children:(0,a.jsx)(M,{data:Xe,graph:Ye.container,setGraph:$e})})},"8")]}):(0,a.jsx)(je.Z,{style:{width:"100%",minHeight:460},children:Object.keys(p).map(function(S,K){var b;return(0,a.jsx)(B,{tab:S,children:(0,a.jsxs)(je.Z,{style:{width:"100%"},tabPosition:"left",children:[(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,a.jsxs)(L.Z,{column:2,bordered:!0,size:"middle",children:[(0,a.jsx)(L.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,a.jsx)(s.Z,{status:p[S].status?"success":"error",text:p[S].status?"\u6210\u529F":"\u5931\u8D25"})}),(0,a.jsx)(L.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:p[S].request_method}),(0,a.jsx)(L.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,a.jsxs)("span",{style:{color:Ze[p[S].status_code]?Ze[p[S].status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[p[S].status_code," ",Ze[p[S].status_code]?Ze[p[S].status_code].text:""]})}),(0,a.jsx)(L.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,a.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,a.jsx)("span",{style:{color:"#67C23A"},children:p[S].cost})})}),(0,a.jsx)(L.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:p[S].url}),(0,a.jsx)(L.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:p[S].request_data?(0,a.jsx)(x.Z,{language:"json",style:l.BV,children:p[S].request_data}):(0,a.jsx)(Ne.Z,{height:120})})]})},"1"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,a.jsx)(C.Z,{columns:et,dataSource:xt(p[S]),size:"small",pagination:!1})},"3"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,a.jsx)(be.Z,{language:"html",setEditor:Et,readOnly:!0,value:(b=p[S])===null||b===void 0?void 0:b.logs,height:"80vh"})},"2"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Request Headers"]}),children:(0,a.jsx)(C.Z,{columns:ce,dataSource:it("request_headers",p[S]),size:"small",pagination:!1})},"5"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,a.jsx)(C.Z,{columns:ce,dataSource:it("cookies",p[S]),size:"small",pagination:!1})},"6"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Response Headers"]}),children:(0,a.jsx)(C.Z,{columns:ce,dataSource:it("response_headers",p[S]),size:"small",pagination:!1})},"7"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-xiangying"}),"Response"]}),children:(0,a.jsx)(ye.Z,{setEditor:Et,readOnly:!0,value:p[S].response?p[S].response:"",height:"80vh"})},"4"),(0,a.jsx)(B,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,a.jsx)("div",{id:"container_".concat(K),children:(0,a.jsx)(M,{data:Je[K],graph:Ye["container_".concat(K)],setGraph:$e,container_id:"container_".concat(K)})})},"8")]})},K.toString())})})})})}},72729:function(){}}]); diff --git a/statics/8928.f0e5ff99.async.js b/statics/8928.f0e5ff99.async.js new file mode 100644 index 00000000..4f7b53cd --- /dev/null +++ b/statics/8928.f0e5ff99.async.js @@ -0,0 +1,8 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8928],{20659:function(Dt,Fe,e){var me=e(97857),o=e.n(me),ae=e(19478),y=e(34041),A=e(55102),N=e(49288),ye=e(40411),s=e(99612),W=e(85893),v=y.Z.Option,R=A.Z.TextArea,E=[{label:"${response}",value:"${response}"},{label:"${status_code}",value:"${status_code}"}];Fe.Z={CaseAsserts:[{name:"name",label:"\u9A8C\u8BC1\u70B9",required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",component:null,span:24},{name:"assert_type",label:"\u6821\u9A8C\u65B9\u5F0F",required:!0,component:(0,W.jsx)(y.Z,{placeholder:"\u9009\u62E9\u6821\u9A8C\u65B9\u5F0F\uFF0C\u652F\u6301JSON\u6DF1\u5C42\u6B21\u5224\u65AD",children:Object.keys(ae.Z.ASSERT_TYPE).map(function(S){return(0,W.jsx)(v,{value:S,children:ae.Z.ASSERT_TYPE[S]},S)})}),type:"select",span:24},{name:"expected",label:"\u9884\u671F\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C",component:(0,W.jsx)(N.Z,{options:[],children:(0,W.jsx)(R,{placeholder:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24},{name:"actually",label:"\u5B9E\u9645\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C",component:(0,W.jsx)(N.Z,{options:E,children:(0,W.jsx)(R,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24}],CaseDetail:[{name:"name",label:"\u573A\u666F\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",component:null,span:8},{name:"priority",label:"\u4F18\u5148\u7EA7",required:!0,component:(0,W.jsx)(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u4F18\u5148\u7EA7",children:ae.Z.PRIORITY.map(function(S){return(0,W.jsx)(v,{value:S,children:S},S)})}),type:"select",span:8},{name:"status",label:"\u72B6\u6001",required:!0,component:(0,W.jsx)(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u5F53\u524D\u573A\u666F\u72B6\u6001",children:Object.keys(ae.Z.CASE_STATUS).map(function(S){return(0,W.jsx)(v,{value:S,children:(0,W.jsx)(ye.Z,o()({},ae.Z.CASE_BADGE[S]))},S)})}),type:"select",span:8},{name:"request_type",label:"\u8BF7\u6C42\u7C7B\u578B",required:!0,component:(0,W.jsx)(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u8BF7\u6C42\u534F\u8BAE",children:Object.keys(s.XN).map(function(S){return(0,W.jsx)(v,{value:S,disabled:S!=="1",children:s.XN[S]},S)})}),type:"select",span:8},{name:"tag",label:"\u573A\u666F\u6807\u7B7E",required:!1,component:(0,W.jsx)(y.Z,{mode:"tags",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u6807\u7B7E"}),type:"select",span:8},{name:"case_type",label:"\u573A\u666F\u7C7B\u578B",required:!0,component:(0,W.jsxs)(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F\u7C7B\u578B",children:[(0,W.jsx)(v,{value:0,children:"\u666E\u901A\u573A\u666F"}),(0,W.jsx)(v,{value:1,children:"\u524D\u7F6E\u573A\u666F"}),(0,W.jsx)(v,{value:2,children:"\u6570\u636E\u5DE5\u5382"})]}),type:"select",span:8}],Environment:[{name:"name",label:"\u73AF\u5883\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",component:null,span:24},{name:"remarks",label:"\u5907\u6CE8",required:!1,message:"\u8BF7\u8F93\u5165\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",component:(0,W.jsx)(A.Z.TextArea,{maxLength:200}),span:24}]}},26194:function(Dt,Fe,e){e.d(Fe,{Z:function(){return H}});var me=e(12444),o=e.n(me),ae=e(72004),y=e.n(ae),A=e(31996),N=e.n(A),ye=e(26037),s=e.n(ye),W=e(67294),v=e(53239),R=e.n(v),E=e(74981),S=e(82679),g=e.n(S),i=e(5619),Ue=e.n(i),O=e(41612),V=e.n(O),q=e(90252),a=e.n(q),n=e(85893),H=function(I){N()(D,I);var rt=s()(D);function D(){return o()(this,D),rt.apply(this,arguments)}return y()(D,[{key:"componentDidMount",value:function(){var t=this;this.props.setEditor(this.refs),(0,S.addCompleter)({getCompletions:function(Ae,Z,Ze,de,We){We(null,(t.props.tables||[]).map(function(xe){return{name:xe,value:xe}}))}})}},{key:"render",value:function(){var t=this.props,je=t.value,Ae=t.onChange,Z=t.height,Ze=t.readOnly,de=t.theme;return(0,n.jsx)(E.ZP,{ref:"aceEditor",mode:"json",theme:de||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:Ae,value:je,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:Z||300},setOptions:{readOnly:Ze||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!0}})}}]),D}(W.Component)},99612:function(Dt,Fe,e){e.d(Fe,{e5:function(){return S},mi:function(){return E},dh:function(){return R},XN:function(){return W}});var me=e(63100),o=e(97857),ae=e.n(o),y=e(37594),A=e(85893),N=function(g){var i=g.icon,Ue=g.text,O=g.font,V=O===void 0?13:O,q=g.style,a=g.onClick,n=g.back,H=n===void 0?!0:n;return H?(0,A.jsxs)("span",{onClick:a,style:ae()({},q),children:[(0,A.jsx)(y.B,{type:i,style:{fontSize:V}})," ",Ue]}):(0,A.jsxs)("span",{onClick:a,style:ae()({},q),children:[Ue," ",(0,A.jsx)(y.B,{style:{fontSize:V},type:i})]})},ye=e(67294),s=e(66309),W={1:(0,A.jsxs)("span",{children:[(0,A.jsx)(me.Z,{theme:"outline",size:"14",fill:"#7ed321"})," HTTP"]}),2:(0,A.jsx)(N,{font:14,icon:"icon-GRPC",text:"GRPC"}),3:(0,A.jsx)(N,{font:14,icon:"icon-a-dubbo1",text:"Dubbo"})},v={1:(0,A.jsx)(s.Z,{color:"success",children:"HTTP"}),2:(0,A.jsx)(s.Z,{color:"orange",children:"GRPC"}),3:(0,A.jsx)(s.Z,{color:"blue",children:"DUBBO"})},R={GET:(0,A.jsx)(s.Z,{color:"success",children:"GET"}),POST:(0,A.jsx)(s.Z,{color:"blue",children:"POST"}),PUT:(0,A.jsx)(s.Z,{color:"cyan",children:"PUT"}),DELETE:(0,A.jsx)(s.Z,{color:"error",children:"DELETE"})},E={0:(0,A.jsx)(s.Z,{children:"\u666E\u901A"}),1:(0,A.jsx)(s.Z,{color:"blue",children:"\u6D4B\u8BD5\u8BA1\u5212"}),2:(0,A.jsx)(s.Z,{color:"success",children:"CI"}),3:(0,A.jsx)(s.Z,{children:"\u5176\u4ED6"})},S={0:(0,A.jsx)(s.Z,{color:"success",style:{marginLeft:8},children:"\u666E\u901A"}),1:(0,A.jsx)(s.Z,{color:"blue",style:{marginLeft:8},children:"\u524D\u7F6E"}),2:(0,A.jsx)(s.Z,{color:"warning",style:{marginLeft:8},children:"\u6570\u636E\u5DE5\u5382"})}},22763:function(Dt,Fe,e){var me=e(32983),o=e(82759),ae=e(85893);Fe.Z=function(y){var A=y.desc,N=y.height,ye=N===void 0?180:N,s=y.image,W=s===void 0?o.Z:s;return(0,ae.jsx)(me.Z,{image:W,imageStyle:{height:ye},description:A||"\u6682\u65E0\u6570\u636E"})}},7624:function(Dt,Fe,e){var me=e(20873),o=e(32983),ae=e(85893);Fe.Z=function(y){var A=y.desc,N=y.height,ye=N===void 0?180:N;return(0,ae.jsx)(o.Z,{image:me.Z,imageStyle:{height:ye},description:A||"\u6682\u65E0\u6570\u636E"})}},84298:function(Dt,Fe,e){var me=e(97857),o=e.n(me),ae=e(5574),y=e.n(ae),A=e(67294),N=e(8232),ye=e(17788),s=e(15746),W=e(76081),v=e(85893),R=N.Z.Item,E=function(g){var i=g.title,Ue=g.width,O=g.left,V=g.right,q=g.formName,a=g.record,n=g.onFinish,H=g.loading,I=g.fields,rt=g.open,D=g.onCancel,$e=g.offset,t=$e===void 0?0:$e,je=g.children,Ae=g.Footer,Z=g.onTest,Ze=N.Z.useForm(),de=y()(Ze,1),We=de[0],xe=function(){We.validateFields().then(function(ee){n(ee)})};(0,A.useEffect)(function(){We.resetFields(),We.setFieldsValue(a)},[a]);var oe={labelCol:{span:O},wrapperCol:{span:V}};return(0,v.jsxs)(ye.Z,{style:{marginTop:t},confirmLoading:H,footer:Ae!==void 0?(0,v.jsx)(Ae,{onOk:xe,onCancel:D,onTest:function(){We.validateFields().then(function(ee){Z(ee)})}}):void 0,title:i,width:Ue,open:rt,onOk:xe,onCancel:D,children:[je||null,(0,v.jsx)(N.Z,o()(o()({form:We},oe),{},{name:q,initialValues:a,onFinish:n,children:I.map(function(r,ee){return(0,v.jsx)(s.Z,{span:r.span||24,children:(0,v.jsx)(R,{label:r.label,colon:r.colon||!0,initialValue:r.initialValue,rules:[{required:r.required,message:r.message}],name:r.name,valuePropName:r.valuePropName||"value",children:(0,W.Z)(r.type,r.placeholder,r.component)})},ee)})}))]})};Fe.Z=E},76081:function(Dt,Fe,e){var me=e(55102),o=e(72269),ae=e(67294),y=e(85893),A=me.Z.TextArea,N=function(s,W){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return v||(s==="input"?(0,y.jsx)(me.Z,{placeholder:W}):s==="textarea"?(0,y.jsx)(A,{placeholder:W}):s==="switch"?(0,y.jsx)(o.Z,{}):null)};Fe.Z=N},56262:function(Dt,Fe,e){e.d(Fe,{Z:function(){return xe}});var me=e(67294),o=e(34041),ae=e(55102),y=e(71230),A=e(15746),N=e(15009),ye=e.n(N),s=e(19632),W=e.n(s),v=e(99289),R=e.n(v),E=e(5574),S=e.n(E),g=e(97857),i=e.n(g),Ue=e(13769),O=e.n(Ue),V=e(8232),q=e(2453),a=e(86738),n=e(96746),H=e(96074),I=e(14726),rt=e(72051),D=e(51042),$e=e(19478),t=e(85893),je=["editing","dataIndex","title","type","setType","record","index","key","children"],Ae=o.Z.Option,Z=function(r){var ee=r.editing,u=r.dataIndex,X=r.title,ge=r.type,te=r.setType,Ke=r.record,ut=r.index,we=r.key,B=r.children,J=O()(r,je);return(0,t.jsx)("td",i()(i()({},J),{},{children:ee?(0,t.jsx)(V.Z.Item,{name:u,style:{margin:0},initialValue:Ke.dataIndex,rules:[{required:!0,message:"Please Input ".concat(X,"!")}],children:(0,t.jsx)(ae.Z,{placeholder:"please input ".concat(X)})}):B}))},Ze=function(r){var ee=r.data,u=r.setData,X=r.ossFileList,ge=V.Z.useForm(),te=S()(ge,1),Ke=te[0],ut=(0,me.useState)(""),we=S()(ut,2),B=we[0],J=we[1],Qe=(0,me.useState)("FILE"),ze=S()(Qe,2),Pe=ze[0],qe=ze[1],ot=(0,me.useState)(null),Xe=S()(ot,2),ke=Xe[0],mt=Xe[1],dt=function(b){return b.key===B},ct=function(b){Ke.setFieldsValue(i()({},b)),J(b.key)},At=function(){J("")},Ft=function(){var Be=R()(ye()().mark(function b(T){var L,$,Ce,lt,ce;return ye()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.prev=0,ne.next=3,Ke.validateFields();case 3:if(L=ne.sent,!(Pe==="FILE"&&!ke)){ne.next=7;break}return q.ZP.info("\u8BF7\u9009\u62E9\u6587\u4EF6"),ne.abrupt("return");case 7:if($=W()(ee),Ce=$.findIndex(function(F){return T===F.key}),!(Ce>-1)){ne.next=20;break}if(lt=$[Ce],ce=$.findIndex(function(F){return L.key===F.key}),!(ce>-1)){ne.next=15;break}return q.ZP.info("\u8BE5key\u5DF2\u5B58\u5728"),ne.abrupt("return");case 15:$.splice(Ce,1,i()(i()(i()({},lt),L),{},{type:Pe,value:ke})),u($),J(""),ne.next=23;break;case 20:$.push(i()(i()({},L),{},{type:Pe,value:ke})),u($),J("");case 23:ne.next=28;break;case 25:ne.prev=25,ne.t0=ne.catch(0),console.log("Validate Failed:",ne.t0);case 28:case"end":return ne.stop()}},b,null,[[0,25]])}));return function(T){return Be.apply(this,arguments)}}(),St=function(b){var T=W()(ee);T.splice(T.findIndex(function(L){return b===L.key}),1),u(T)},Zt=[{title:"KEY",dataIndex:"key",width:"30%",editable:!0},{title:"TYPE",dataIndex:"type",type:"select",width:"10%",render:function(b,T){return T.key===B?(0,t.jsxs)(o.Z,{style:{width:"100%"},value:Pe,onChange:function($){qe($)},children:[(0,t.jsx)(Ae,{value:"FILE",children:"FILE"}),(0,t.jsx)(Ae,{value:"TEXT",children:"TEXT"})]}):T.type}},{title:"VALUE",dataIndex:"value",width:"40%",render:function(b,T){return T.key===B?Pe==="FILE"?(0,t.jsx)(o.Z,{style:{width:"100%"},placeholder:"please select oss file",showSearch:!0,value:ke,onChange:function($){return mt($)},children:X.map(function(L){return(0,t.jsx)(Ae,{value:L.file_path,children:L.file_path},L.file_path)})}):(0,t.jsx)(ae.Z,{placeholder:"please input VALUE",value:ke,onChange:function($){mt($.target.value)}}):Pe==="FILE"?(0,t.jsx)("a",{href:"".concat($e.Z.URL,"/oss/download?filepath=").concat(T.value),children:T.value}):T.value}},{title:"OPERATION",dataIndex:"operation",render:function(b,T){var L=dt(T);return L?(0,t.jsxs)("span",{children:[(0,t.jsx)("a",{onClick:function(){return Ft(T.key)},style:{marginRight:8},children:"Save"}),(0,t.jsx)(a.Z,{title:"Sure to cancel?",onConfirm:At,children:(0,t.jsx)("a",{children:"Cancel"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Z.Link,{disabled:B!=="",onClick:function(){return ct(T)},children:"Edit"}),(0,t.jsx)(H.Z,{type:"vertical"}),(0,t.jsx)(n.Z.Link,{disabled:B!=="",onClick:function(){return St(T.key)},children:"Remove"})]})}}],Ie=function(){var b=[].concat(W()(ee),[{key:"",type:"TEXT",value:null}]);u(b),qe("FILE")},xt=Zt.map(function(Be){return Be.editable?i()(i()({},Be),{},{onCell:function(T,L){return{record:T,index:L,type:Pe,setType:qe,dataIndex:Be.dataIndex,title:Be.title,editing:dt(T)}}}):Be});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Z,{style:{marginBottom:12},children:(0,t.jsx)(A.Z,{span:6,children:(0,t.jsx)(I.ZP,{type:"primary",onClick:Ie,icon:(0,t.jsx)(D.Z,{}),children:"Add"})})}),(0,t.jsx)(V.Z,{form:Ke,component:!1,children:(0,t.jsx)(rt.Z,{components:{body:{cell:Z}},dataSource:ee,columns:xt,rowClassName:"editable-row",pagination:{onChange:At}})})]})},de=Ze,We=o.Z.Option,xe=function(oe){var r=oe.ossFileList,ee=oe.dataSource,u=oe.setDataSource,X=[{title:"KEY",dataIndex:"key",render:function(){return(0,t.jsx)(ae.Z,{})}},{title:"VALUE",dataIndex:"value",render:function(){return(0,t.jsx)(o.Z,{children:r.map(function(te){return(0,t.jsx)(We,{value:te.key,children:te.key},te.key)})})}}];return(0,t.jsx)(y.Z,{gutter:8,style:{marginTop:16},children:(0,t.jsx)(A.Z,{span:24,children:(0,t.jsx)(de,{bordered:!0,columns:X,data:ee,setData:u,ossFileList:r})})})}},15106:function(Dt,Fe,e){var me=e(9783),o=e.n(me),ae=e(15009),y=e.n(ae),A=e(99289),N=e.n(A),ye=e(52677),s=e.n(ye),W=e(5574),v=e.n(W),R=e(67294),E=e(34041),S=e(11941),g=e(16568),i=e(50136),Ue=e(71230),O=e(15746),V=e(4393),q=e(8232),a=e(83062),n=e(55102),H=e(14726),I=e(78045),rt=e(85418),D=e(72051),$e=e(65987),t=e(31484),je=e(63783),Ae=e(34804),Z=e(53677),Ze=e(12414),de=e(10981),We=e(89609),xe=e(56262),oe=e(90596),r=e(26194),ee=e(37594),u=e(85893),X=E.Z.Option,ge=S.Z.TabPane,te={200:{color:"#67C23A",text:"OK"},401:{color:"#F56C6C",text:"unauthorized"},400:{color:"#F56C6C",text:"Bad Request"}},Ke=function(B){return B&&B.response?(0,u.jsx)("div",{style:{marginRight:16},children:(0,u.jsxs)("span",{children:["Status:",(0,u.jsxs)("span",{style:{color:te[B.status_code]?te[B.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[B.status_code," ",te[B.status_code]?te[B.status_code].text:""]}),(0,u.jsxs)("span",{style:{marginLeft:8,marginRight:8},children:["Time: ",(0,u.jsx)("span",{style:{color:"#67C23A"},children:B.cost})]})]})}):null},ut=function(B){var J=B.form,Qe=B.gconfig,ze=B.dispatch,Pe=B.body,qe=B.setBody,ot=B.headers,Xe=B.setHeaders,ke=B.formData,mt=B.setFormData,dt=B.caseInfo,ct=B.bodyType,At=B.setBodyType,Ft=B.save,St=Ft===void 0?null:Ft,Zt=(0,R.useState)("JSON"),Ie=v()(Zt,2),xt=Ie[0],Be=Ie[1],b=(0,R.useState)("GET"),T=v()(b,2),L=T[0],$=T[1],Ce=(0,R.useState)([]),lt=v()(Ce,2),ce=lt[0],Bt=lt[1],ne=(0,R.useState)(function(){return ce.map(function(f){return f.id})}),F=v()(ne,2),p=F[0],M=F[1],_=(0,R.useState)(function(){return ot.map(function(f){return f.id})}),Se=v()(_,2),Ne=Se[0],Ve=Se[1],le=(0,R.useState)(!1),Te=v()(le,2),et=Te[0],P=Te[1],h=(0,R.useState)({}),d=v()(h,2),x=d[0],se=d[1],G=(0,R.useState)(""),z=v()(G,2),_e=z[0],re=z[1],w=(0,R.useState)(null),ie=v()(w,2),Ge=ie[0],he=ie[1],De=(0,R.useState)(!1),k=v()(De,2),pe=k[0],tt=k[1],it=Qe.ossFileList,gt=Qe.envMap,He=Qe.addressList,Y=function(){if(Pe){var c=JSON.parse(Pe);s()(c)==="object"&&c[0]!==void 0&&mt(c)}};(0,R.useEffect)(function(){dt&&$(dt.request_method)},[dt.request_method]),(0,R.useEffect)(function(){if(ct===2){ze({type:"gconfig/listOssFile"});try{Y()}catch(f){}}},[ct]),(0,R.useEffect)(function(){ze({type:"gconfig/fetchAddress"})},[]);var fe=function(){var f=N()(y()().mark(function c(){return y()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:re(J.getFieldValue("url")),Re(J.getFieldValue("url"));case 2:case"end":return C.stop()}},c)}));return function(){return f.apply(this,arguments)}}();(0,R.useEffect)(function(){fe()},[Pe]);var Me=[{title:"KEY",dataIndex:"key",key:"key"},{title:"VALUE",dataIndex:"value",key:"value"}],nt=function(c){if(!x[c])return[];var l=JSON.parse(x[c]);return Object.keys(l).map(function(C){return{key:C,value:l[C]}})},be=function(c){var l=J.getFieldValue("url"),C;l===void 0?C="":C=l.split("?")[0],c.forEach(function(Q,ue){Q.key&&(ue===0?C="".concat(C,"?").concat(Q.key,"=").concat(Q.value||""):C="".concat(C,"&").concat(Q.key,"=").concat(Q.value||""))}),J.setFieldsValue({url:C})},Re=function(c){if(!!c){var l=c.split("?");if(l.length<2)Bt([]);else{var C=l[1].split("&"),Q=[],ue=[];C.forEach(function(Ye,yt){var Ot=Ye.split("="),bt=v()(Ot,2),Lt=bt[0],Ut=bt[1],It=Date.now();ue.push(It+yt+10),Q.push({key:Lt,value:Ut,id:It+yt+10,description:""})}),Bt(Q),M(ue)}}},ht=function(c){Be(c)},Je=function(){var c={};return ot.forEach(function(l){l.key!==""&&(c[l.key]=l.value)}),c},jt=function(){var f=N()(y()().mark(function c(){var l,C,Q;return y()().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(l=J.getFieldValue("url"),l!==""){Ye.next=4;break}return g.ZP.error({message:"\u8BF7\u6C42Url\u4E0D\u80FD\u4E3A\u7A7A"}),Ye.abrupt("return");case 4:return P(!0),C={method:L||"GET",url:l,body:Pe,body_type:ct,headers:Je()},ct===0&&(C.body=null),Ye.next=9,(0,Ze.c3)(C);case 9:Q=Ye.sent,P(!1),de.Z.response(Q,!0)&&se(Q.data);case 12:case"end":return Ye.stop()}},c)}));return function(){return f.apply(this,arguments)}}(),Oe=function(c,l){if(c==="params"){var C=ce.filter(function(ue){return ue.id!==l});Bt(C),be(C)}else{var Q=ot.filter(function(ue){return ue.id!==l});Xe(Q)}},ft=(0,u.jsxs)(i.Z,{children:[(0,u.jsx)(i.Z.Item,{children:(0,u.jsx)("a",{onClick:function(){ht("Text")},children:"Text"})},"Text"),(0,u.jsx)(i.Z.Item,{children:(0,u.jsx)("a",{onClick:function(){ht("JavaScript")},children:"JavaScript"})},"JavaScript"),(0,u.jsx)(i.Z.Item,{children:(0,u.jsx)("a",{onClick:function(){ht("JSON")},children:"JSON"})},"JSON"),(0,u.jsx)(i.Z.Item,{children:(0,u.jsx)("a",{onClick:function(){ht("HTML")},children:"HTML"})},"HTML"),(0,u.jsx)(i.Z.Item,{children:(0,u.jsx)("a",{onClick:function(){ht("XML")},children:"XML"})},"XML")]}),ve=function(c){return[{title:"KEY",key:"key",dataIndex:"key"},{title:"VALUE",key:"value",dataIndex:"value"},{title:"DESCRIPTION",key:"description",dataIndex:"description"},{title:"\u64CD\u4F5C",valueType:"option",render:function(C,Q){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)($e.Z,{style:{cursor:"pointer"},onClick:function(){M([Q.id])}}),(0,u.jsx)(t.Z,{style:{cursor:"pointer",marginLeft:8},onClick:function(){Oe(c,Q.id)},twoToneColor:"#eb2f96"})]})}}]},Tt=function(c){return c===0?(0,u.jsx)("div",{style:{height:"20vh",lineHeight:"20vh",textAlign:"center"},children:"This request does not have a body"}):c===2?(0,u.jsx)(xe.Z,{ossFileList:it,dataSource:ke,setDataSource:mt}):(0,u.jsx)(Ue.Z,{style:{marginTop:12},children:(0,u.jsx)(O.Z,{span:24,children:(0,u.jsx)(V.Z,{bodyStyle:{padding:0},children:(0,u.jsx)(r.Z,{value:Pe,onChange:function(C){return qe(C)},height:"20vh",setEditor:he})})})})},Et=function(){var c={};return He.forEach(function(l){c[l.name]===void 0?c[l.name]=o()({},l.env,l.gateway):c[l.name][l.env]=l.gateway}),c},Ct=Et(),at=(0,u.jsx)(q.Z.Item,{name:"base_path",noStyle:!0,children:(0,u.jsxs)(E.Z,{style:{width:130},placeholder:"\u9009\u62E9BasePath",showSearch:!0,allowClear:!0,optionLabelProp:"label",filterOption:function(c,l){return l.children.length>1?!1:l.children.props.children.indexOf(c.toLowerCase())>=0},children:[(0,u.jsxs)(X,{value:null,label:"\u65E0",children:["\u65E0",(0,u.jsx)("a",{style:{float:"right",fontSize:12},href:"/#/config/address",children:"\u53BB\u914D\u7F6E"})]}),Object.keys(Ct).map(function(f){return(0,u.jsx)(X,{value:f,label:f,children:(0,u.jsx)(a.Z,{title:(0,u.jsx)("div",{children:Object.keys(Ct[f]).map(function(c){return(0,u.jsxs)("p",{children:[gt[c],": ",Ct[f][c]]})})}),children:f})},f)})]})});return(0,u.jsxs)(q.Z,{form:J,children:[(0,u.jsxs)(Ue.Z,{gutter:[8,8],children:[(0,u.jsx)(O.Z,{span:20,children:(0,u.jsxs)(q.Z,{layout:"inline",form:J,children:[(0,u.jsx)(O.Z,{span:8,children:(0,u.jsx)(q.Z.Item,{colon:!1,name:"request_method",label:"\u8BF7\u6C42\u65B9\u5F0F",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BF7\u6C42\u65B9\u6CD5"}],initialValue:L,children:(0,u.jsxs)(E.Z,{placeholder:"\u9009\u62E9\u8BF7\u6C42\u65B9\u5F0F",onChange:function(c){return $(c)},style:{width:120,textAlign:"left"},children:[(0,u.jsx)(X,{value:"GET",children:"GET"},"GET"),(0,u.jsx)(X,{value:"POST",children:"POST"},"POST"),(0,u.jsx)(X,{value:"PUT",children:"PUT"},"PUT"),(0,u.jsx)(X,{value:"DELETE",children:"DELETE"},"DELETE")]})})}),(0,u.jsx)(O.Z,{span:16,children:(0,u.jsx)(q.Z.Item,{name:"url",colon:!1,label:(0,u.jsxs)(a.Z,{title:"\u70B9\u51FB\u53EF\u5C55\u5F00\u5168\u5C40\u53D8\u91CF\u63D0\u793A",children:["\u8BF7\u6C42\u5730\u5740",(0,u.jsx)(je.Z,{style:{marginLeft:4},onClick:function(){return tt(!0)}})]}),rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BF7\u6C42url"}],children:(0,u.jsx)(n.Z,{addonBefore:at,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u8981\u8BF7\u6C42\u7684url",onChange:function(c){Re(c.target.value),J.setFieldsValue({url:c.target.value}),re(c.target.value)}})})})]})}),(0,u.jsx)(O.Z,{span:4,children:(0,u.jsx)("div",{style:{float:"right"},children:St?null:(0,u.jsxs)(H.ZP,{onClick:jt,loading:et,type:"primary",children:[(0,u.jsx)(ee.B,{type:"icon-fasong1"}),"Send"," "]})})})]}),(0,u.jsx)(Ue.Z,{style:{marginTop:8},children:(0,u.jsxs)(S.Z,{defaultActiveKey:"1",style:{width:"100%"},children:[(0,u.jsx)(ge,{tab:"Params",children:(0,u.jsx)(Z.Z,{columns:ve("params"),title:"Query Params",dataSource:ce,setDataSource:Bt,extra:be,editableKeys:p,setEditableRowKeys:M})},"1"),(0,u.jsx)(ge,{tab:"Headers",children:(0,u.jsx)(Z.Z,{columns:ve("headers"),title:"Headers",dataSource:ot,setDataSource:Xe,editableKeys:Ne,setEditableRowKeys:Ve})},"2"),(0,u.jsxs)(ge,{tab:"Body",children:[(0,u.jsxs)(Ue.Z,{children:[(0,u.jsxs)(I.ZP.Group,{defaultValue:0,value:ct,onChange:function(c){At(c.target.value),c.target.value==="form-data"&&ze({type:"gconfig/listOssFile"})},children:[(0,u.jsx)(I.ZP,{value:0,children:"none"}),(0,u.jsx)(I.ZP,{value:2,children:"form-data"}),(0,u.jsx)(I.ZP,{value:3,children:"x-www-form-urlencoded"}),(0,u.jsx)(I.ZP,{value:1,children:"raw"}),(0,u.jsx)(I.ZP,{value:4,children:"binary"}),(0,u.jsx)(I.ZP,{value:5,children:"GraphQL"})]}),ct===1?(0,u.jsx)(rt.Z,{style:{marginLeft:8},overlay:ft,trigger:["click"],children:(0,u.jsxs)("a",{onClick:function(c){return c.preventDefault()},children:[xt," ",(0,u.jsx)(Ae.Z,{})]})}):null]}),Tt(ct)]},"3")]})}),(0,u.jsx)(Ue.Z,{gutter:[8,8],children:Object.keys(x).length===0?null:(0,u.jsxs)(S.Z,{style:{width:"100%"},tabBarExtraContent:Ke(x),children:[(0,u.jsx)(ge,{tab:"Body",children:(0,u.jsx)(r.Z,{value:s()(x==null?void 0:x.response)==="object"?JSON.stringify(x.response,null,2):x.response,readOnly:!0,height:"30vh",setEditor:he})},"1"),(0,u.jsx)(ge,{tab:"Cookie",children:(0,u.jsx)(D.Z,{columns:Me,dataSource:nt("cookies"),size:"small",pagination:!1})},"2"),(0,u.jsx)(ge,{tab:"Headers",children:(0,u.jsx)(D.Z,{columns:Me,dataSource:nt("response_headers"),size:"small",pagination:!1})},"3")]})})]})};Fe.Z=(0,oe.connect)(function(we){var B=we.gconfig;return{gconfig:B}})(ut)},53677:function(Dt,Fe,e){var me=e(67294),o=e(69935),ae=e(85893);Fe.Z=function(y){var A=y.columns,N=y.dataSource,ye=y.title,s=y.setDataSource,W=y.editableKeys,v=y.setEditableRowKeys,R=y.extra;return(0,me.useEffect)(function(){v(N.map(function(E){return E.id}))},[N]),(0,ae.jsx)(o.Z,{headerTitle:ye,columns:A,rowKey:"id",value:N,onChange:s,recordCreatorProps:{newRecordType:"dataSource",record:function(){return{id:Date.now()}}},editable:{type:"multiple",editableKeys:W,actionRender:function(S,g,i){return[i.delete]},onValuesChange:function(S,g){R&&R(g),s(g)},onChange:v}})}},65245:function(Dt,Fe,e){e.d(Fe,{Z:function(){return n}});var me=e(19632),o=e.n(me),ae=e(13769),y=e.n(ae),A=e(15009),N=e.n(A),ye=e(99289),s=e.n(ye),W=e(97857),v=e.n(W),R=e(72051),E=e(95742),S=e(53682),g=e(62748),i=e(85893),Ue=["className","style"],O=(0,E.JV)(function(){return(0,i.jsx)(S.Z,{style:{cursor:"grab",color:"#999"}})}),V=[{title:"\u6392\u5E8F",dataIndex:"sort",width:65,className:"drag-visible",render:function(){return(0,i.jsx)(O,{})}}],q=(0,E.gU)(function(H){return(0,i.jsx)("tr",v()({},H))}),a=(0,E.hv)(function(H){return(0,i.jsx)("tbody",v()({},H))}),n=function(H){var I=H.dataSource,rt=H.columns,D=H.setDataSource,$e=H.dragCallback,t=H.loading,je=function(){var Ze=s()(N()().mark(function de(We){var xe,oe,r,ee;return N()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(xe=We.oldIndex,oe=We.newIndex,xe===oe){X.next=11;break}if(r=(0,g.q)([].concat(I),xe,oe).filter(function(ge){return!!ge}),!$e){X.next=10;break}return X.next=6,$e(r);case 6:ee=X.sent,(ee||ee===void 0)&&D(r),X.next=11;break;case 10:D(r);case 11:case"end":return X.stop()}},de)}));return function(We){return Ze.apply(this,arguments)}}(),Ae=function(de){return(0,i.jsx)(a,v()({useDragHandle:!0,disableAutoscroll:!0,helperClass:"row-dragging",onSortEnd:je},de))},Z=function(de){var We=de.className,xe=de.style,oe=y()(de,Ue),r=I.findIndex(function(ee){return ee.index===oe["data-row-key"]});return(0,i.jsx)(q,v()({index:r},oe))};return(0,i.jsx)(R.Z,{pagination:!1,dataSource:I,loading:t,columns:[].concat(V,o()(rt)),rowKey:"index",components:{body:{wrapper:Ae,row:Z}}})}},80242:function(Dt,Fe,e){e.d(Fe,{Z:function(){return ne}});var me=e(15009),o=e.n(me),ae=e(9783),y=e.n(ae),A=e(19632),N=e.n(A),ye=e(97857),s=e.n(ye),W=e(99289),v=e.n(W),R=e(5574),E=e.n(R),S=e(42119),g=e(71230),i=e(15746),Ue=e(85265),O=e(14726),V=e(90596),q=e(37594),a=e(67294),n=e(34041),H=e(83062),I=e(72269),rt=e(16165),D=e(8232),$e=e(76081),t=e(85893),je=D.Z.Item,Ae=function(F){var p=F.left,M=F.right,_=F.formName,Se=F.record,Ne=F.onFinish,Ve=F.fields,le=F.pForm,Te=le;if(le===void 0){var et=D.Z.useForm(),P=E()(et,1),h=P[0];Te=h}var d={labelCol:{span:p},wrapperCol:{span:M}};return(0,a.useEffect)(function(){Te.setFieldsValue(Se)},[Se]),(0,t.jsx)(D.Z,s()(s()({form:Te},d),{},{name:_,initialValues:Se,onFinish:Ne,children:(0,t.jsx)(g.Z,{gutter:8,children:Ve.map(function(x){return(0,t.jsx)(i.Z,{span:x.span||24,children:(0,t.jsx)(je,s()(s()({label:x.label,colon:x.colon||!0,rules:[{required:x.required,message:x.message}],name:x.name,valuePropName:x.valuePropName||"value"},x.layout||d),{},{children:(0,$e.Z)(x.type,x.placeholder,x.component)}))})})})}))},Z=e(19478),Ze=e(26194),de=n.Z.Option,We=function(F){var p=F.data,M=F.form,_=F.dispatch,Se=F.testcaseData,Ne=F.constructorType,Ve=(0,a.useState)(null),le=E()(Ve,2),Te=le[0],et=le[1];(0,a.useEffect)(function(){_({type:"construct/getTestCaseListTree"})},[]);var P=[{name:"name",label:"\u540D\u79F0",required:!0,type:"input",placeholder:"\u8BF7\u8F93\u5165\u6B65\u9AA4\u540D\u79F0",initialValue:p.name,span:12,layout:{labelCol:{span:8},wrapperCol:{span:16}}},{name:"constructor_case_id",label:"\u6D4B\u8BD5\u573A\u666F",required:!0,initialValue:p.constructor_case_id,placeholder:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u573A\u666F",component:(0,t.jsx)(n.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F",children:Se.map(function(h){return(0,t.jsx)(de,{value:h.id,children:h.name},h.id)})}),span:12,layout:{labelCol:{span:8},wrapperCol:{span:16}}},{name:"value",label:"\u8FD4\u56DE\u503C",placeholder:"\u8BF7\u586B\u5199\u8FD4\u56DE\u53D8\u91CF\u540D\u79F0\uFF0C\u4E0D\u9700\u8981\u53EF\u4E0D\u586B",required:!1,type:"input",initialValue:p.value,span:12,layout:{labelCol:{span:8},wrapperCol:{span:16}}},{name:"public",label:(0,t.jsx)(H.Z,{title:"\u5F00\u542F\u5171\u4EAB\u540E, \u5176\u4ED6\u4EBA\u53EF\u4F7F\u7528\u4F60\u7684\u6570\u636E\u6784\u9020\u5668",children:(0,t.jsxs)("span",{children:["\u5171\u4EAB",(0,t.jsx)(rt.Z,{})]})}),required:!0,component:(0,t.jsx)(I.Z,{}),valuePropName:"checked",initialValue:p.public,span:6,layout:{labelCol:{span:16},wrapperCol:{span:8}}},{name:"enable",label:"\u542F\u7528",required:!0,component:(0,t.jsx)(I.Z,{}),valuePropName:"checked",initialValue:p.enable,span:6,layout:{labelCol:{span:16},wrapperCol:{span:8}}},{name:"params",label:"\u52A8\u6001\u53C2\u6570",required:!1,component:(0,t.jsx)(Ze.Z,{height:150,setEditor:et})}];return(0,t.jsx)(Ae,{fields:P,left:4,right:20,record:p,pForm:M})},xe=e(59847),oe=n.Z.Option,r=function(p){var M=p.construct,_=p.dispatch,Se=p.suffix,Ne=Se===void 0?!0:Se,Ve=M.constructorData,le=M.searchConstructor,Te=M.constructorType,et=function(d){_({type:"construct/save",payload:d})},P=function(){_({type:"construct/getConstructorTree",payload:{constructor_type:Te,suffix:Ne}})};return(0,a.useEffect)(function(){P()},[Te]),(0,t.jsx)(g.Z,{style:{marginTop:24},children:(0,t.jsx)(i.Z,{span:24,children:(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,s()(s()({label:"\u6570\u636E\u7C7B\u578B",name:"type"},Z.Z.SUB_LAYOUT),{},{children:(0,t.jsx)(n.Z,{disabled:!0,defaultValue:Te,children:Object.keys(Z.Z.CONSTRUCTOR_TYPE).map(function(h){return(0,t.jsx)(oe,{value:parseInt(h,10),children:Z.Z.CONSTRUCTOR_TYPE[h]},h)})})}))}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,s()(s()({label:"\u590D\u5236\u6784\u9020\u6761\u4EF6"},Z.Z.SUB_LAYOUT),{},{children:(0,t.jsx)(xe.Z,{allowClear:!0,showSearch:!0,style:{width:"100%"},value:le,filterTreeNode:function(d,x){return x.title.toLowerCase().indexOf(d.toLowerCase())>-1},dropdownStyle:{maxHeight:600,overflow:"auto"},treeData:Ve,placeholder:"\u901A\u8FC7\u641C\u7D22\u6784\u9020\u6761\u4EF6\uFF0C\u53EF\u4EE5\u5FEB\u901F\u590D\u5236\u53C2\u6570\u54E6\uFF01",treeDefaultExpandAll:!0,onChange:function(d){et({searchConstructor:d}),_(d!==void 0?{type:"construct/getConstructorData",payload:{id:d.split("_")[1]}}:{type:"construct/save",payload:{testCaseConstructorData:{type:Te,public:!0,enable:!0}}})}})}))})]})})})},ee=(0,V.connect)(function(F){var p=F.loading,M=F.construct;return{loading:p,construct:M}})(r),u=function(p){var M=p.caseId,_=p.construct,Se=p.dispatch,Ne=p.form,Ve=p.onFinish,le=p.suffix,Te=_.testcaseData,et=_.testCaseConstructorData,P=_.constructorType;return(0,t.jsx)(g.Z,{style:{marginTop:24},gutter:[8,8],children:(0,t.jsxs)(i.Z,{span:24,children:[(0,t.jsx)(ee,{suffix:le}),(0,t.jsx)(g.Z,{gutter:8,children:(0,t.jsx)(i.Z,{span:24,children:(0,t.jsx)(We,{data:et,dispatch:Se,testcaseData:Te,constructorType:P,form:Ne})})})]})})},X=(0,V.connect)(function(F){var p=F.construct,M=F.loading;return{construct:p,loading:M}})(u),ge=e(60219),te=e(50136),Ke=e(55102),ut=e(26838),we=e(1633),B=e(63783),J=function(){return(0,t.jsx)(H.Z,{title:"\u5F00\u542F\u5171\u4EAB\u540E, \u5176\u4ED6\u4EBA\u53EF\u4F7F\u7528\u4F60\u7684\u6570\u636E\u6784\u9020\u5668",children:(0,t.jsxs)("span",{children:["\u5171\u4EAB ",(0,t.jsx)(B.Z,{})]})})},Qe=n.Z.Option,ze=function(p){var M=p.form,_=p.dispatch,Se=p.construct,Ne=p.gconfig,Ve=p.suffix,le=(0,a.useState)("1"),Te=E()(le,2),et=Te[0],P=Te[1],h=(0,a.useState)(null),d=E()(h,2),x=d[0],se=d[1],G=Se.testCaseConstructorData,z=Se.constructorType,_e=Ne.dbConfigData,re=function(){var Ge=_e.map(function(he){return he.name});return Array.from(new Set(Ge))},w=function(Ge){P(Ge.key)};return(0,a.useEffect)(function(){_({type:"gconfig/fetchDbConfig"})},[]),(0,a.useEffect)(function(){M.resetFields(),M.setFieldsValue(G)},[G]),(0,t.jsx)(g.Z,{gutter:8,style:{marginTop:24},children:(0,t.jsx)(i.Z,{span:24,children:(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:3,children:(0,t.jsxs)(te.Z,{onClick:w,style:{width:128},defaultSelectedKeys:["1"],defaultOpenKeys:["1"],mode:"inline",children:[(0,t.jsx)(te.Z.Item,{children:"\u7F16\u8F91SQL"},"1"),(0,t.jsx)(te.Z.Item,{children:"\u8C03\u8BD5SQL"},"2")]})}),et!=="1"?(0,t.jsx)(i.Z,{span:21,children:(0,t.jsx)(ut.Z,{leftHeight:420,cardHeight:130,tableHeight:272,editorHeight:130,imageHeight:60})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.Z,{span:21,children:[(0,t.jsx)(ee,{suffix:Ve}),(0,t.jsxs)(D.Z,s()(s()({},Z.Z.SUB_LAYOUT),{},{form:M,children:[(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165SQL\u8BED\u53E5\u540D\u79F0"}],initialValue:G.name,children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u8F93\u5165SQL\u8BED\u53E5\u540D\u79F0"})})}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u6570\u636E\u5E93",name:"database",initialValue:G.database,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93\u8FDE\u63A5\u540D\u79F0, \u5982\u679C\u6CA1\u6709\u8BF7\u53BB\u3010\u6570\u636E\u5E93\u914D\u7F6E\u3011\u9875\u9762\u6DFB\u52A0"}],children:(0,t.jsx)(n.Z,{showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u5E93\u8FDE\u63A5\u540D\u79F0, \u4F1A\u6839\u636E\u73AF\u5883\u81EA\u52A8\u5BFB\u627E\u5BF9\u5E94\u7684\u6570\u636E\u5E93",children:re().map(function(ie){return(0,t.jsx)(Qe,{value:ie,children:ie},ie)})})})})]}),(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})}),(0,t.jsx)(i.Z,{span:6,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SWITCH_LAYOUT),{},{label:(0,t.jsx)(J,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:G.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(I.Z,{})}))}),(0,t.jsx)(i.Z,{span:6,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SWITCH_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:G.enable||!0,valuePropName:"checked",children:(0,t.jsx)(I.Z,{})}))})]}),(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SQL_LAYOUT),{},{label:(0,t.jsxs)(H.Z,{title:"\u5207\u6362\u5DE6\u4FA7\u83DC\u5355\u53EF\u8FDB\u5165SQL\u7F16\u8F91\u5668",children:["SQL\u8BED\u53E5 ",(0,t.jsx)(B.Z,{})]}),name:"sql",rules:[{required:!0,message:"\u8BF7\u586B\u5199SQL\u8BED\u53E5"}],initialValue:G.sql,children:(0,t.jsx)(we.Z,{language:"mysql",height:150,setEditor:se})}))]}))]})})]})})})},Pe=(0,V.connect)(function(F){var p=F.construct,M=F.gconfig,_=F.loading;return{construct:p,gconfig:M,loading:_}})(ze),qe=e(97321),ot=e(11941),Xe=e(2453),ke=e(16568),mt=e(24315),dt=e(73505),ct=ot.Z.TabPane,At=n.Z.Option,Ft=function(p){var M=p.form,_=p.dispatch,Se=p.construct,Ne=p.gconfig,Ve=p.suffix,le=(0,a.useState)(null),Te=E()(le,2),et=Te[0],P=Te[1],h=(0,a.useState)(null),d=E()(h,2),x=d[0],se=d[1],G=Se.testCaseConstructorData,z=Se.constructorType,_e=Ne.redisConfig,re=Ne.envMap;(0,a.useEffect)(function(){_({type:"gconfig/fetchRedisConfig"})},[]),(0,a.useEffect)(function(){M.resetFields(),M.setFieldsValue(G)},[G]);var w=function(){var ie=v()(o()().mark(function Ge(he){var De;return o()().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(!(!x||!he)){pe.next=3;break}return Xe.ZP.info("\u8BF7\u9009\u62E9redis\u6216\u5B8C\u5584Redis\u547D\u4EE4"),pe.abrupt("return");case 3:return pe.next=5,_({type:"gconfig/onlineRedisCommand",payload:{id:x,command:he}});case 5:De=pe.sent,ke.ZP.success({message:"\u6267\u884C\u5B8C\u6210",description:De});case 7:case"end":return pe.stop()}},Ge)}));return function(he){return ie.apply(this,arguments)}}();return(0,t.jsx)(g.Z,{gutter:8,children:(0,t.jsxs)(i.Z,{span:24,children:[(0,t.jsx)(ee,{suffix:Ve}),(0,t.jsx)(g.Z,{gutter:8,children:(0,t.jsx)(i.Z,{span:24,children:(0,t.jsxs)(D.Z,s()(s()({},Z.Z.SUB_LAYOUT),{},{form:M,children:[(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165Redis\u8BED\u53E5\u540D\u79F0"}],initialValue:G.name,children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u8F93\u5165Redis\u8BED\u53E5\u540D\u79F0"})})}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:(0,t.jsxs)(H.Z,{title:"\u6D4B\u8BD5\u7684\u65F6\u5019\u53EF\u4EE5\u9009\u4E2D\u5BF9\u5E94\u73AF\u5883\u7684redis\uFF0C\u5426\u5219\u53EF\u4EE5\u968F\u4FBF\u9009\u4E00\u4E2A\u540D\u79F0\u7B26\u5408\u7684redis",children:["Redis ",(0,t.jsx)(B.Z,{})]}),name:"redis",initialValue:G.redis,rules:[{required:!0,message:"\u8BF7\u9009\u62E9Redis\u8FDE\u63A5\u540D\u79F0, \u5982\u679C\u6CA1\u6709\u8BF7\u53BB\u3010Redis\u914D\u7F6E\u3011\u9875\u9762\u6DFB\u52A0"}],children:(0,t.jsx)(n.Z,{showSearch:!0,placeholder:"\u8BF7\u9009\u62E9Redis\u8FDE\u63A5\u540D\u79F0",onSelect:function(Ge,he){se(he.key)},children:_e.map(function(ie){return(0,t.jsxs)(At,{value:ie.name,children:[ie.name,"(",re[ie.env],")"]},ie.id)})})})})]}),(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})}),(0,t.jsx)(i.Z,{span:6,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SWITCH_LAYOUT),{},{label:(0,t.jsx)(J,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:G.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(I.Z,{})}))}),(0,t.jsx)(i.Z,{span:6,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SWITCH_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:G.enable||!0,valuePropName:"checked",children:(0,t.jsx)(I.Z,{})}))})]}),(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SQL_LAYOUT),{},{label:(0,t.jsxs)(H.Z,{title:"\u70B9\u51FB\u53EF\u6267\u884CRedis\u547D\u4EE4",children:["Redis\u547D\u4EE4",(0,t.jsx)(dt.Z,{twoToneColor:"#67C23A",onClick:v()(o()().mark(function ie(){return o()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,w(M.getFieldValue("command"));case 2:case"end":return he.stop()}},ie)})),style:{margin:"0 4px",fontSize:16,cursor:"pointer"}})]}),name:"command",colon:!1,rules:[{required:!0,message:"\u8BF7\u586B\u5199redis\u6267\u884C\u8BED\u53E5"}],initialValue:G.command,children:(0,t.jsx)(mt.Z,{language:"text",height:150,setEditor:P})}))]}))})})]})})},St=(0,V.connect)(function(F){var p=F.construct,M=F.gconfig,_=F.loading;return{construct:p,gconfig:M,loading:_}})(Ft),Zt=e(53239),Ie=e(4007);function xt(F){return(0,t.jsx)(mt.Z,s()(s()({},F),{},{langugae:"python"}))}var Be=function(p){var M=p.form,_=p.dispatch,Se=p.construct,Ne=p.suffix,Ve=(0,a.useState)(null),le=E()(Ve,2),Te=le[0],et=le[1],P=Se.testCaseConstructorData;(0,a.useEffect)(function(){M.resetFields(),M.setFieldsValue(P)},[P]);var h=function(){var d=v()(o()().mark(function x(){var se,G,z;return o()().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:if(se=M.getFieldValue("command"),G=M.getFieldValue("value"),se){re.next=5;break}return Xe.ZP.info("\u811A\u672C\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),re.abrupt("return");case 5:return re.next=7,_({type:"testcase/onlinePyScript",payload:{value:G,command:se}});case 7:z=re.sent,ke.ZP.success({message:"\u6267\u884C\u5B8C\u6210",description:z});case 9:case"end":return re.stop()}},x)}));return function(){return d.apply(this,arguments)}}();return(0,t.jsx)(g.Z,{gutter:8,children:(0,t.jsxs)(i.Z,{span:24,children:[(0,t.jsx)(ee,{suffix:Ne}),(0,t.jsxs)(D.Z,s()(s()({},Z.Z.SUB_LAYOUT),{},{form:M,children:[(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165Python\u811A\u672C\u540D\u79F0"}],initialValue:P.name,children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u8F93\u5165Python\u811A\u672C\u540D\u79F0"})})}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})})]}),(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SUB_LAYOUT),{},{label:(0,t.jsx)(J,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:P.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(I.Z,{})}))}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SUB_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:P.enable||!0,valuePropName:"checked",children:(0,t.jsx)(I.Z,{})}))})]}),(0,t.jsx)(D.Z.Item,s()(s()({label:(0,t.jsxs)(H.Z,{title:"\u70B9\u51FB\u53EF\u6D4B\u8BD5Python\u811A\u672C",children:["Python\u811A\u672C",(0,t.jsx)(dt.Z,{twoToneColor:"#67C23A",onClick:v()(o()().mark(function d(){return o()().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.next=2,h(M.getFieldValue("command"));case 2:case"end":return se.stop()}},d)})),style:{margin:"0 4px",fontSize:16,cursor:"pointer"}})]}),name:"command",colon:!1},Z.Z.SQL_LAYOUT),{},{initialValue:P.command,rules:[{required:!0,message:"\u8BF7\u8F93\u5165python\u4EE3\u7801"}],children:(0,t.jsx)(xt,{language:"python",height:180,setEditor:et})}))]}))]})})},b=(0,V.connect)(function(F){var p=F.construct,M=F.loading;return{construct:p,loading:M}})(Be),T=e(4393),L=e(15106),$=function(p){var M=p.form,_=p.dispatch,Se=p.construct,Ne=p.suffix,Ve=p.headers,le=p.setHeaders,Te=p.body,et=p.setBody,P=p.bodyType,h=p.setBodyType,d=Se.testCaseConstructorData;return(0,a.useEffect)(function(){M.resetFields(),M.setFieldsValue(d),d.body_type&&h(d.body_type),d.headers&&le(d.headers||[]),et(d.body)},[d]),(0,t.jsx)(g.Z,{gutter:8,children:(0,t.jsxs)(i.Z,{span:24,children:[(0,t.jsx)(ee,{suffix:Ne}),(0,t.jsxs)(D.Z,s()(s()({},Z.Z.SUB_LAYOUT),{},{form:M,children:[(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165http\u8BF7\u6C42\u540D\u79F0"}],initialValue:d.name,children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u8F93\u5165http\u8BF7\u6C42\u540D\u79F0"})})}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,{label:"\u8FD4\u56DE\u503C",name:"value",children:(0,t.jsx)(Ke.Z,{placeholder:"\u8BF7\u586B\u5199\u9020\u6570\u540E\u7684\u8FD4\u56DE\u503C\uFF0C\u53EF\u4E0D\u586B"})})})]}),(0,t.jsxs)(g.Z,{gutter:8,children:[(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SUB_LAYOUT),{},{label:(0,t.jsx)(J,{}),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5171\u4EAB"}],initialValue:d.public||!0,valuePropName:"checked",name:"public",children:(0,t.jsx)(I.Z,{})}))}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsx)(D.Z.Item,s()(s()({},Z.Z.SUB_LAYOUT),{},{label:"\u542F\u7528",name:"enable",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528"}],initialValue:d.enable||!0,valuePropName:"checked",children:(0,t.jsx)(I.Z,{})}))})]}),(0,t.jsx)(g.Z,{gutter:8,children:(0,t.jsx)(i.Z,{span:24,children:(0,t.jsx)(T.Z,{bordered:!0,children:(0,t.jsx)(L.Z,{bodyType:P,setBodyType:h,form:M,caseInfo:{},body:Te,setBody:et,headers:Ve,setHeaders:le,save:!1})})})})]}))]})})},Ce=(0,V.connect)(function(F){var p=F.construct,M=F.loading;return{construct:p,loading:M}})($),lt=e(59697),ce=S.Z.Step,Bt=function(p){var M=p.modal,_=p.form,Se=p.setModal,Ne=p.caseId,Ve=p.dispatch,le=p.construct,Te=p.testcase,et=p.width,P=p.fetchData,h=p.record,d=p.suffix,x=d===void 0?!1:d,se=p.createMode,G=se===void 0?!1:se,z=le.currentStep,_e=le.totalStep,re=le.constructorType,w=le.testCaseConstructorData,ie=Te.preConstructor,Ge=Te.postConstructor,he=(0,a.useState)([]),De=E()(he,2),k=De[0],pe=De[1],tt=(0,a.useState)(""),it=E()(tt,2),gt=it[0],He=it[1],Y=(0,a.useState)(0),fe=E()(Y,2),Me=fe[0],nt=fe[1],be=function(ve){Ve({type:"construct/save",payload:ve})},Re=function(ve){switch(w.type){case 0:return JSON.stringify({constructor_case_id:ve.constructor_case_id,params:ve.params});case 1:return JSON.stringify({database:ve.database,sql:ve.sql});case 2:return JSON.stringify({redis:ve.redis,command:ve.command});case 3:return JSON.stringify({command:ve.command});case 4:return JSON.stringify({body:gt,headers:lt.Z.translateHeaders(k),base_path:ve.base_path,url:ve.url,request_method:ve.request_method,body_type:Me})}},ht=function(){var ft=v()(o()().mark(function ve(){var Tt,Et,Ct,at,f;return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,_.validateFields();case 2:if(Tt=l.sent,Et={value:Tt.value,type:w.type,name:Tt.name,constructor_json:Re(Tt),enable:Tt.enable,case_id:Ne,public:Tt.public},G){l.next=17;break}if(!h.id){l.next=11;break}return l.next=8,Ve({type:"construct/update",payload:s()(s()({},Et),{},{id:h.id,suffix:x})});case 8:Ct=l.sent,l.next=14;break;case 11:return l.next=13,Ve({type:"construct/insert",payload:s()(s()({},Et),{},{suffix:x})});case 13:Ct=l.sent;case 14:Ct&&P(),l.next=20;break;case 17:f=N()(x?Ge:ie),h.tempIndex===void 0?f.push(s()(s()({},Et),{},{suffix:x,index:f.length})):f.splice(h.tempIndex,1,s()(s()({},Et),{},{suffix:x})),Ve({type:"testcase/save",payload:(at={},y()(at,x?"postConstructor":"preConstructor",f),y()(at,"constructorModal",!1),at)});case 20:case"end":return l.stop()}},ve)}));return function(){return ft.apply(this,arguments)}}(),Je=function(ve){be({constructorType:ve,testCaseConstructorData:{type:ve,public:!0,enable:!0},currentStep:z+1})},jt=function(){if(z===0)return(0,t.jsxs)(g.Z,{gutter:[12,12],style:{marginTop:36},children:[(0,t.jsx)(i.Z,{span:8,children:(0,t.jsx)(qe.Z,{avatar:(0,t.jsx)(q.B,{type:"icon-yongliliebiao",style:{fontSize:32}}),title:"\u6D4B\u8BD5\u573A\u666F",description:"\u6D4B\u8BD5\u573A\u666F\u53EF\u4EE5\u590D\u7528, \u5E76\u4F20\u9012\u7528\u4F8B\u7684\u6570\u636E\u7ED9\u4E0B\u4E00\u4E2A\u573A\u666F",onClick:function(){return Je(0)}})}),(0,t.jsx)(i.Z,{span:8,children:(0,t.jsx)(qe.Z,{avatar:(0,t.jsx)(q.B,{type:"icon-mysql11",style:{fontSize:32}}),title:"SQL\u8BED\u53E5",description:"\u901A\u8FC7\u6267\u884CSQL\u8BED\u53E5\uFF0C\u53EF\u4EE5\u9020\u51FA/\u6062\u590D\u7528\u4F8B\u573A\u666F\u9700\u8981\u7684\u6570\u636E",onClick:function(){return Je(1)}})}),(0,t.jsx)(i.Z,{span:8,children:(0,t.jsx)(qe.Z,{avatar:(0,t.jsx)(q.B,{type:"icon-redis2",style:{fontSize:32}}),title:"Redis\u64CD\u4F5C",description:"\u901A\u8FC7\u64CD\u4F5CRedis\uFF0C\u53EF\u4EE5\u83B7\u53D6\u6216\u8005\u6821\u9A8C\u7F13\u5B58\u4E2D\u7684\u6570\u636E",onClick:function(){return Je(2)}})}),(0,t.jsx)(i.Z,{span:8,children:(0,t.jsx)(qe.Z,{avatar:(0,t.jsx)(q.B,{type:"icon-python",style:{fontSize:32}}),title:"Python\u65B9\u6CD5",description:"\u9700\u8981\u81EA\u5B9A\u4E49\u9020\u6570\u65B9\u6CD5\u7684\uFF0C\u53EF\u4EE5\u4F7F\u7528Python\u7F16\u5199\u5BF9\u5E94\u7684\u6838\u5FC3\u65B9\u6CD5",onClick:function(){return Je(3)}})}),(0,t.jsx)(i.Z,{span:8,children:(0,t.jsx)(qe.Z,{avatar:(0,t.jsx)(q.B,{type:"icon-qingqiu",style:{fontSize:32}}),title:"HTTP\u8BF7\u6C42",description:"\u4F9D\u8D56\u4E8E\u7B2C\u4E09\u65B9\u7684\u63A5\u53E3\uFF0C\u63A8\u8350\u4F7F\u7528HTTP\u8BF7\u6C42\uFF0C\u5982\u901A\u8FC7\u767E\u5EA6api\u8BC6\u522B\u5BF9\u5E94\u56FE\u7247\u9A8C\u8BC1\u7801",onClick:function(){return Je(4)}})})]});if(z===1){if(re===0)return(0,t.jsx)(X,{form:_,suffix:x});if(re===1)return(0,t.jsx)(Pe,{form:_,suffix:x});if(re===2)return(0,t.jsx)(St,{form:_,suffix:x});if(re===3)return(0,t.jsx)(b,{form:_,suffix:x});if(re===4)return(0,t.jsx)(Ce,{suffix:x,form:_,headers:k,bodyType:Me,setBodyType:nt,setHeaders:pe,body:gt,setBody:He})}},Oe=function(){be({currentStep:z-1})};return(0,t.jsx)(Ue.Z,{title:x?"\u540E\u7F6E\u6B65\u9AA4":"\u524D\u7F6E\u6B65\u9AA4",width:et||800,open:M,onClose:function(){return Se(!1)},footer:null,children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(g.Z,{children:[(0,t.jsx)(i.Z,{span:6}),(0,t.jsx)(i.Z,{span:12,children:(0,t.jsxs)(S.Z,{current:z,size:"small",children:[(0,t.jsx)(ce,{title:"\u9009\u62E9\u7C7B\u578B"},"type"),(0,t.jsx)(ce,{title:"\u6784\u9020\u6570\u636E"},"type")]})}),(0,t.jsx)(i.Z,{span:6})]}),jt(),(0,t.jsxs)("div",{style:{marginTop:24,textAlign:"center"},children:[z===_e&&(0,t.jsxs)(O.ZP,{type:"primary",onClick:ht,children:[(0,t.jsx)(ge.Z,{})," \u5B8C\u6210"]}),z>0&&(0,t.jsxs)(O.ZP,{style:{margin:"0 8px"},onClick:function(){return Oe()},children:[(0,t.jsx)(q.B,{type:"icon-shangyibu1"})," \u4E0A\u4E00\u6B65"]})]})]})})},ne=(0,V.connect)(function(F){var p=F.construct,M=F.testcase,_=F.loading;return{construct:p,loading:_,testcase:M}})(Bt)},44046:function(Dt,Fe,e){e.d(Fe,{Z:function(){return et}});var me=e(97857),o=e.n(me),ae=e(19632),y=e.n(ae),A=e(9783),N=e.n(A),ye=e(15009),s=e.n(ye),W=e(99289),v=e.n(W),R=e(5574),E=e.n(R),S=e(37594),g=e(44413),i=e(22763),Ue=e(7624),O=e(67294),V=e(4393),q=e(90596),a=e(15106),n=e(85893),H=function(h){return(0,n.jsx)(V.Z,{bordered:h.bordered,children:(0,n.jsx)(a.Z,o()({},h))})},I=(0,q.connect)(function(P){var h=P.gconfig;return{gconfig:h}})(H),rt=e(65245),D=e(96074),$e=e(17788),t=e(71230),je=e(15746),Ae=e(14726),Z=e(72051),Ze=e(11475),de=e(51042),We=e(84298),xe=e(20659),oe=e(10981),r=e(19478),ee=function(h){var d=h.dispatch,x=h.testcase,se=h.caseId,G=h.createMode,z=(0,O.useState)(!1),_e=E()(z,2),re=_e[0],w=_e[1],ie=(0,O.useState)({}),Ge=E()(ie,2),he=Ge[0],De=Ge[1],k=x.asserts,pe=function(){var He=v()(s()().mark(function Y(fe){var Me;return s()().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return be.next=2,d({type:"testcase/deleteTestCaseAsserts",payload:{id:fe.id}});case 2:Me=be.sent,Me&&d({type:"testcase/save",payload:{asserts:k.filter(function(Re){return Re.id!==fe.id})}});case 4:case"end":return be.stop()}},Y)}));return function(fe){return He.apply(this,arguments)}}(),tt=function(Y){var fe=y()(k);fe.splice(Y.index,1),d({type:"testcase/save",payload:{asserts:fe}})},it=[{title:"#",key:"index",render:function(Y,fe,Me){return Me+1}},{title:"\u6821\u9A8C\u5185\u5BB9",key:"name",dataIndex:"name"},{title:"\u7C7B\u578B",key:"assert_type",dataIndex:"assert_type",render:function(Y){return r.Z.ASSERT_TYPE[Y]}},{title:"\u9884\u671F\u7ED3\u679C",key:"expected",dataIndex:"expected",ellipse:!0},{title:"\u5B9E\u9645\u7ED3\u679C",key:"actually",dataIndex:"actually",ellipse:!0},{title:"\u64CD\u4F5C",key:"ops",render:function(Y,fe,Me){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){w(!0),De(o()(o()({},fe),{},{index:Me}))},children:"\u7F16\u8F91"}),(0,n.jsx)(D.Z,{type:"vertical"}),(0,n.jsx)("a",{onClick:function(){$e.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u6761\u65AD\u8A00\u6570\u636E\u5417?",icon:(0,n.jsx)(Ze.Z,{}),content:"\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var be=v()(s()().mark(function ht(){return s()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:if(!G){jt.next=4;break}tt(o()(o()({},fe),{},{index:Me})),jt.next=6;break;case 4:return jt.next=6,pe(fe);case 6:case"end":return jt.stop()}},ht)}));function Re(){return be.apply(this,arguments)}return Re}()})},children:"\u5220\u9664"})]})}}],gt=function(){var He=v()(s()().mark(function Y(fe){var Me,nt,be,Re,ht,Je;return s()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(Me=o()({case_id:se},fe),!G){Oe.next=8;break}return he.index!==void 0?(be=y()(k),be.splice(he.index,1,o()({},Me))):be=[].concat(y()(k),[o()({},Me)]),Oe.next=5,d({type:"testcase/save",payload:{asserts:be}});case 5:w(!1),Oe.next=29;break;case 8:if(!he.id){Oe.next=22;break}return Oe.next=11,d({type:"testcase/updateTestCaseAsserts",payload:o()(o()({},Me),{},{id:he.id})});case 11:if(nt=Oe.sent,!oe.Z.response(nt,!0)){Oe.next=20;break}return w(!1),Re=y()(k),ht=Re.findIndex(function(ft){return he.id===ft.id}),Je=Re[ht],Re.splice(ht,1,o()(o()({},Je),nt.data)),Oe.next=20,d({type:"testcase/save",payload:{asserts:Re}});case 20:Oe.next=29;break;case 22:return Oe.next=24,d({type:"testcase/insertTestCaseAsserts",payload:Me});case 24:if(nt=Oe.sent,!oe.Z.response(nt,!0)){Oe.next=29;break}return w(!1),Oe.next=29,d({type:"testcase/save",payload:{asserts:[].concat(y()(k),[nt.data])}});case 29:case"end":return Oe.stop()}},Y)}));return function(fe){return He.apply(this,arguments)}}();return(0,n.jsx)(t.Z,{gutter:8,children:(0,n.jsxs)(je.Z,{span:24,children:[(0,n.jsx)(We.Z,{open:re,fields:xe.Z.CaseAsserts,title:"\u7528\u4F8B\u65AD\u8A00",left:6,right:18,onFinish:gt,onCancel:function(){return w(!1)},record:he}),(0,n.jsx)(t.Z,{style:{marginBottom:16},children:(0,n.jsx)(je.Z,{span:8,children:(0,n.jsxs)(Ae.ZP,{type:"primary",onClick:function(){w(!0),De({})},children:[(0,n.jsx)(de.Z,{}),"\u6DFB\u52A0\u65AD\u8A00"]})})}),(0,n.jsx)(Z.Z,{columns:it,dataSource:k,rowKey:function(Y){return Y.id},locale:{emptyText:(0,n.jsx)(i.Z,{height:150})}})]})})},u=(0,q.connect)(function(P){var h=P.testcase,d=P.loading;return{testcase:h,loading:d}})(ee),X=e(38925),ge=e(26194),te=function(h){var d=h.caseId,x=h.testcase,se=h.loading,G=h.dispatch,z=h.currentEnv,_e=h.createMode,re=_e===void 0?!1:_e,w=x.testData,ie=(0,O.useState)({current:1,total:0,pageSize:5}),Ge=E()(ie,2),he=Ge[0],De=Ge[1],k=(0,O.useState)([]),pe=E()(k,2),tt=pe[0],it=pe[1],gt=(0,O.useState)({}),He=E()(gt,2),Y=He[0],fe=He[1],Me=(0,O.useState)(!1),nt=E()(Me,2),be=nt[0],Re=nt[1],ht=(0,O.useState)(null),Je=E()(ht,2),jt=Je[0],Oe=Je[1];(0,O.useEffect)(function(){var f=parseInt(z,10),c=w[f];c?(it(y()(c)),De(o()(o()({},he),{},{current:1,total:c.length}))):(it([]),De(o()(o()({},he),{},{current:1,total:0})))},[z,w]);var ft=function(){var f=v()(s()().mark(function c(l){var C,Q;return s()().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return C=o()({},w),Q=C[parseInt(z,10)],C[parseInt(z,10)]=Q.filter(function(yt){return l.name!==yt.name}),Ye.next=5,G({type:"testcase/save",payload:{testData:C}});case 5:case"end":return Ye.stop()}},c)}));return function(l){return f.apply(this,arguments)}}(),ve=function(){var f=v()(s()().mark(function c(l){var C,Q,ue;return s()().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,G({type:"testcase/deleteTestcaseData",payload:{id:l}});case 2:if(C=yt.sent,!C){yt.next=9;break}return Q=o()({},w),ue=Q[parseInt(z,10)],Q[parseInt(z,10)]=ue.filter(function(Ot){return Ot.id!==l}),yt.next=9,G({type:"testcase/save",payload:{testData:Q}});case 9:case"end":return yt.stop()}},c)}));return function(l){return f.apply(this,arguments)}}(),Tt=[{title:"#",dataIndex:"id",key:"id"},{title:"\u573A\u666F\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u6D4B\u8BD5\u6570\u636E",dataIndex:"json_data",key:"json_data",ellipse:!0},{title:"\u64CD\u4F5C",key:"ops",render:function(c,l,C){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){fe(o()(o()({},l),{},{index:C})),Re(!0)},children:"\u7F16\u8F91"}),(0,n.jsx)(D.Z,{type:"vertical"}),(0,n.jsx)("a",{onClick:function(){$e.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u6761\u6D4B\u8BD5\u6570\u636E\u5417?",icon:(0,n.jsx)(Ze.Z,{}),content:"\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var ue=v()(s()().mark(function yt(){return s()().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:if(!re){bt.next=5;break}return bt.next=3,ft(l);case 3:bt.next=7;break;case 5:return bt.next=7,ve(l.id);case 7:case"end":return bt.stop()}},yt)}));function Ye(){return ue.apply(this,arguments)}return Ye}()})},children:"\u5220\u9664"})]})}}],Et=function(){var f=v()(s()().mark(function c(l){var C,Q;return s()().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:C=o()({},w),Q=o()({env:z},l),Y.index!==void 0?C[parseInt(z,10)].splice(Y.index,1,Q):C[parseInt(z,10)]===void 0?C[parseInt(z,10)]=[Q]:C[parseInt(z,10)].push(Q),G({type:"testcase/save",payload:{testData:C}}),Re(!1);case 5:case"end":return Ye.stop()}},c)}));return function(l){return f.apply(this,arguments)}}(),Ct=function(){var f=v()(s()().mark(function c(l){var C;return s()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(Y.id){ue.next=6;break}return ue.next=3,G({type:"testcase/insertTestcaseData",payload:o()({case_id:d,env:z},l)});case 3:C=ue.sent,ue.next=9;break;case 6:return ue.next=8,G({type:"testcase/updateTestcaseData",payload:o()({id:Y.id,case_id:d,env:z},l)});case 8:C=ue.sent;case 9:C&&Re(!1);case 10:case"end":return ue.stop()}},c)}));return function(l){return f.apply(this,arguments)}}(),at=[{name:"name",label:"\u6D4B\u8BD5\u573A\u666F",required:!0,type:"input",placeholder:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u573A\u666F",initialValue:Y.name},{name:"json_data",label:"JSON\u6570\u636E",required:!0,placeholder:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u573A\u666F",initialValue:Y.name,component:(0,n.jsx)(ge.Z,{height:200,setEditor:Oe,theme:"material-one-dark"})}];return(0,n.jsxs)(t.Z,{gutter:8,children:[(0,n.jsx)(We.Z,{title:"\u6D4B\u8BD5\u6570\u636E",record:Y,onCancel:function(){Re(!1)},left:4,right:20,width:650,open:be,onFinish:re?Et:Ct,fields:at,children:(0,n.jsx)(X.Z,{closable:!0,type:"info",style:{marginBottom:12},message:"\u6570\u636E\u7BA1\u7406\u63A5\u53D7\u4E00\u4E32key-value\u7684\u6570\u636E\uFF0C\u4F9B\u5927\u5BB6\u5728case\u91CC\u9762\u4F7F\u7528\u8FD9\u4E9B\u53D8\u91CF\uFF0C\u7528${\u53D8\u91CF}\u7684\u65B9\u5F0F\u3002",showIcon:!0})}),(0,n.jsx)(je.Z,{span:24,children:(0,n.jsxs)(V.Z,{bordered:!1,children:[(0,n.jsx)(t.Z,{gutter:8,children:(0,n.jsx)(je.Z,{span:6,children:(0,n.jsxs)(Ae.ZP,{type:"primary",onClick:function(){Re(!0),fe({})},children:[(0,n.jsx)(de.Z,{})," \u6DFB\u52A0\u6570\u636E"]})})}),(0,n.jsx)(t.Z,{gutter:8,style:{marginTop:12},children:(0,n.jsx)(je.Z,{span:24,children:(0,n.jsx)(Z.Z,{columns:Tt,pagination:he,rowKey:function(c){return c.id},loading:se.effects["testcase/insertTestcaseData"]||se.effects["testcase/updateTestcaseData"]||se.effects["testcase/deleteTestcaseData"],dataSource:tt,locale:{emptyText:(0,n.jsx)(i.Z,{height:"150"})},onChange:function(c){return De(o()(o()({},he),{},{current:c.current}))}})})})]})})]})},Ke=(0,q.connect)(function(P){var h=P.testcase,d=P.loading;return{testcase:h,loading:d}})(te),ut=e(13769),we=e.n(ut),B=e(34041),J=e(8232),Qe=e(55102),ze=e(86738),Pe=e(31484),qe=["index"],ot=["title","editable","children","dataIndex","name","record","handleSave","toggleEdit"],Xe=B.Z.Option,ke=O.createContext(null),mt=function(h){var d=h.index,x=we()(h,qe),se=J.Z.useForm(),G=E()(se,1),z=G[0];return(0,n.jsx)(J.Z,{form:z,component:!1,children:(0,n.jsx)(ke.Provider,{value:z,children:(0,n.jsx)("tr",o()({},x))})})},dt=function(P){var h=P.columns,d=P.dataSource,x=P.setDataSource,se=(0,O.useState)(null),G=E()(se,2),z=G[0],_e=G[1],re=function(k){var pe=k.title,tt=k.editable,it=k.children,gt=k.dataIndex,He=k.name,Y=k.record,fe=k.handleSave,Me=k.toggleEdit,nt=we()(k,ot),be=(0,O.useContext)(ke),Re=(0,O.useRef)(null),ht=(0,O.useState)({}),Je=E()(ht,2),jt=Je[0],Oe=Je[1];(0,O.useEffect)(function(){z!=null&&be.setFieldsValue(d[z])},[z]);var ft=function(at,f,c){var l=y()(d),C=l.findIndex(function(ue){return at.key===ue.key}),Q=l[C];l[C]=o()(o()({},Q),{},N()({},f,c)),x(l)},ve=function(at,f,c,l,C){return f==="source"?(0,n.jsx)(J.Z.Item,{style:{margin:0},name:f,rules:[{required:!0,message:"".concat(at," is required.")}],children:(0,n.jsxs)(B.Z,{placeholder:"\u9009\u62E9\u6570\u636E\u6765\u6E90",style:{width:"90%"},ref:l,onSelect:function(ue){ft(c,f,ue)},onBlur:C,children:[(0,n.jsx)(Xe,{value:0,children:"Response: \u6B63\u5219"}),(0,n.jsx)(Xe,{value:1,children:"Response: JSONPath"}),(0,n.jsx)(Xe,{value:2,children:"Header: K/V"}),(0,n.jsx)(Xe,{value:3,children:"Cookie: K/V"}),(0,n.jsx)(Xe,{value:4,children:"\u54CD\u5E94\u72B6\u6001\u7801"}),(0,n.jsx)(Xe,{value:5,children:"Body: \u6B63\u5219"}),(0,n.jsx)(Xe,{value:6,children:"Body: JSONPath"}),(0,n.jsx)(Xe,{value:7,children:"Request Header: K/V"})]})}):f==="expression"?(0,n.jsx)(J.Z.Item,{style:{margin:0},name:f,rules:[{required:c.source!==4,message:"".concat(at," is required.")}],children:(0,n.jsx)(Qe.Z,{ref:l,onPressEnter:C,disabled:c.source===4,onBlur:C,placeholder:c.source===4?"\u65E0\u9700\u586B\u5199":"\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F"})}):f==="match_index"?(0,n.jsx)(J.Z.Item,{style:{margin:0},name:f,rules:[{required:[4,1,6,2,3,7].indexOf(c.source)===-1,message:"".concat(at," is required.")}],children:(0,n.jsx)(Qe.Z,{ref:l,onPressEnter:C,disabled:[4,1,6,2,3,7].indexOf(c.source)>-1,onBlur:C,placeholder:c.source===4?"\u65E0\u9700\u586B\u5199":"\u8BF7\u8F93\u5165\u5339\u914D\u9879"})}):(0,n.jsx)(J.Z.Item,{style:{margin:0},name:f,rules:[{required:c.source!==4,message:"".concat(at," is required.")}],children:(0,n.jsx)(Qe.Z,{ref:l,onPressEnter:C,onBlur:C,placeholder:"\u8BF7\u8F93\u5165".concat(at)})})},Tt=function(){var Ct=v()(s()().mark(function at(){var f;return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,be.validateFields();case 3:f=l.sent,_e(null),be.setFieldsValue(Y),fe(o()(o()({},Y),f)),l.next=12;break;case 9:l.prev=9,l.t0=l.catch(0),console.log("Save failed:",l.t0);case 12:case"end":return l.stop()}},at,null,[[0,9]])}));return function(){return Ct.apply(this,arguments)}}(),Et=it;return tt&&(Et=z===Y.key?ve(He,gt,Y,Re,Tt):(0,n.jsx)("div",{className:"editable-cell-value-wrap",style:{paddingRight:24},children:it})),(0,n.jsx)("td",o()(o()({},nt),{},{children:Et}))},w=function(k){var pe=y()(d),tt=pe.findIndex(function(gt){return k.key===gt.key}),it=pe[tt];pe.splice(tt,1,o()(o()({},it),k)),pe.filter(function(gt){return gt.name}).length===pe.length&&pe.push({key:d.length===0?0:d[d.length-1].key+1,source:1}),x(pe)},ie=function(k){var pe=y()(d);x(pe.filter(function(tt){return tt.key!==k}).map(function(tt,it){return o()(o()({},tt),{},{key:it})}))},Ge=h.map(function(De){return De.editable?o()(o()({},De),{},{onCell:function(pe){return{record:pe,editable:De.editable,dataIndex:De.dataIndex,title:De.title,name:De.name,handleSave:w}}}):De});Ge=[].concat(y()(Ge),[{title:"\u64CD\u4F5C",render:function(k,pe){return d.length>1?(0,n.jsx)(ze.Z,{title:"\u786E\u5B9A\u5220\u9664\u5417?",onConfirm:function(){ie(pe.key)},children:(0,n.jsx)(Pe.Z,{twoToneColor:"red",onClick:function(it){it.stopPropagation()}})}):null}}]);var he={body:{row:mt,cell:re}};return(0,n.jsx)(Z.Z,{onRow:function(k){return{onClick:function(tt){_e(k.key)}}},components:he,rowClassName:"editable-row",dataSource:d,columns:Ge,pagination:!1})},ct=e(63783),At={JSONPATH_TITLE:`JSON\u683C\u5F0F\u7684\u89E3\u6790\u540C\u6837\u652F\u6301\u6570\u7EC4\u4E2D\u6307\u5B9A\u5BF9\u8C61\uFF0C\u5982data.itemlist[0]\uFF1B\u652F\u6301\u63D0\u53D6\u6570\u636E\u4E2D\u968F\u673A\u503Cdata.itemlist[random]\uFF1B\u540C\u65F6\u652F\u6301\u63D0\u53D6\u90E8\u5206\u503C\u7EC4\u5408\u4E3A\u65B0\u6570\u7EC4\uFF0Cdata.itemlist[0-99].id\u5BFC\u51FA\u524D100\u4E2Aid\uFF0Cdata.itemlist[all].id\u5373\u5BFC\u51FA\u5168\u90E8id\u3002\u82E5\u60F3\u5C06\u6570\u7EC4\u5185\u7684\u503C\u8FDB\u884C\u904D\u5386\u4F7F\u7528\uFF0C\u8BF7\u7ED3\u5408\u6570\u636E\u5BFC\u51FA\u8282\u70B9\u914D\u5408\u4F7F\u7528\u3002\u6B63\u5219\u8868\u8FBE\u5F0F\u53EF\u6307\u5B9A\u5339\u914D\u9879. + \u5E38\u89C1\u6B63\u5219\u8868\u8FBE\u5F0F\u4E2D\u4F7F\u7528\u5230\u7684\u5B57\u7B26\u8303\u56F4\u793A\u4F8B\u5982\u4E0B: + \u82F1\u6587\u5B57\u6BCD:[a-zA-Z] + \u6570\u5B57:[0-9] + \u4E2D\u6587\u5B57\u7B26\u8303\u56F4:[\u4E00-\u9FA5] + \u4E2D\u6587\u3001\u82F1\u6587\u3001\u6570\u5B57\uFF1A[\u4E00-\u9FA5a-zA-Z0-9] + \u6307\u5B9A\u7B26\u5408\u6761\u4EF6\u7684\u5B57\u7B26\u4E2A\u6570\uFF1A[a-zA-Z]{2,4} \u8868\u793A2-4\u4E2A\u5B57\u7B26\uFF1B{2}\u8868\u793A\u5B57\u7B26\u4E2A\u6570\u4E3A2\u4E2A\u3002 + \u6CE8\u610F\uFF1A\u5C3D\u91CF\u4E0D\u8981\u4F7F\u7528*,\u5426\u52190\u4E2A\u4E5F\u4F1A\u5339\u914D\u5230`},Ft={0:"Response: \u6B63\u5219",1:"Response: JSONPath",2:"Header: K/V",3:"Cookie: K/V",4:"\u54CD\u5E94\u72B6\u6001\u7801",5:"Body: \u6B63\u5219",6:"Body: JSONPath",7:"Request Header: K/V"},St=function(P){var h=P.dispatch,d=P.testcase,x=P.caseId,se=P.createMode,G=d.outParameters,z=function(w){h({type:"testcase/save",payload:{outParameters:w}})},_e=[{title:"\u51FA\u53C2\u540D",dataIndex:"name",key:"name",name:"\u51FA\u53C2\u540D",width:"20%",editable:!0,render:function(w){return w||"\u8BF7\u8F93\u5165\u51FA\u53C2\u540D"}},{title:"\u6765\u6E90",name:"\u6765\u6E90",dataIndex:"source",key:"source",width:"25%",editable:!0,render:function(w){return w!==void 0?Ft[w]:"\u8BF7\u9009\u62E9\u6765\u6E90"}},{name:"\u89E3\u6790\u8868\u8FBE\u5F0F",title:(0,n.jsxs)("span",{children:["\u89E3\u6790\u8868\u8FBE\u5F0F ",(0,n.jsx)(g.Z,{icon:(0,n.jsx)(ct.Z,{}),title:At.JSONPATH_TITLE})]}),dataIndex:"expression",key:"expression",editable:!0,render:function(w,ie){return ie.source!==4?w||"\u8BF7\u8F93\u5165\u89E3\u6790\u8868\u8FBE\u5F0F":"\u65E0\u9700\u586B\u5199"}},{title:"\u7B2C\u51E0\u4E2A\u5339\u914D\u9879",name:"\u7B2C\u51E0\u4E2A\u5339\u914D\u9879",dataIndex:"match_index",editable:!0,render:function(w,ie){return ie.source!==4&&ie.source!==1&&ie.source!==6?w||"\u8BF7\u8F93\u5165\u5339\u914D\u9879":"\u65E0\u9700\u586B\u5199"}}];return(0,n.jsx)(dt,{columns:_e,dataSource:G,setDataSource:z})},Zt=e(11941),Ie=e(96746),xt=Zt.Z.TabPane,Be=function(h){var d=h.open,x=h.gconfig,se=h.variables,G=h.onCancel,z=[{title:"\u53D8\u91CF\u540D",dataIndex:"name",key:"name",render:function(w){return(0,n.jsx)(Ie.Z.Text,{copyable:!0,children:w})}}],_e=[].concat(z,[{title:"\u6765\u6E90",dataIndex:"stepName",key:"stepName"}]);return(0,n.jsx)($e.Z,{title:"\u53D8\u91CF\u5217\u8868",open:d,width:500,footer:null,onCancel:G,children:(0,n.jsxs)(Zt.Z,{children:[(0,n.jsx)(xt,{tab:"\u5168\u5C40\u53D8\u91CF",children:(0,n.jsx)(Z.Z,{columns:z,dataSource:x,size:"small"})},"global"),(0,n.jsx)(xt,{tab:"\u7528\u4F8B\u53D8\u91CF",children:(0,n.jsx)(Z.Z,{columns:_e,dataSource:se,size:"small"})},"case")]})})},b=Be,T=e(89609),L=e(4713),$=e(59697),Ce=e(65987),lt=e(34804),ce=e(17811),Bt=e(2453),ne=e(55060),F=e(66309),p=e(72269),M=e(42180),_=e(85418),Se=e(78957),Ne=e(12845),Ve=e(40411),le=Zt.Z.TabPane,Te=function(h){var d=h.dispatch,x=h.testcase,se=h.case_id,G=h.setSuffix,z=h.body,_e=h.setBody,re=h.formData,w=h.setFormData,ie=h.gconfig,Ge=h.onSubmit,he=h.form,De=h.createMode,k=De===void 0?!1:De,pe=h.headers,tt=h.setHeaders,it=h.bodyType,gt=h.setBodyType,He=h.loading,Y=x.preConstructor,fe=x.postConstructor,Me=x.activeKey,nt=x.constructors_case,be=x.envActiveKey,Re=x.asserts,ht=x.caseInfo,Je=ie.envList,jt=(0,O.useState)(!1),Oe=E()(jt,2),ft=Oe[0],ve=Oe[1],Tt=(0,O.useState)([]),Et=E()(Tt,2),Ct=Et[0],at=Et[1],f=(0,O.useState)([]),c=E()(f,2),l=c[0],C=c[1],Q=(0,O.useState)(localStorage.getItem("case_study")===null),ue=E()(Q,2),Ye=ue[0],yt=ue[1],Ot=(0,O.useState)(null),bt=E()(Ot,2),Lt=bt[0],Ut=bt[1],It=(0,O.useRef)(null),Kt=(0,O.useRef)(null),Nt=(0,O.useRef)(null),Vt=(0,O.useRef)(null),Ht=(0,O.useRef)(null),$t=(0,O.useRef)(null),Jt=Je.map(function(j){return{key:j.id,label:(0,n.jsx)("a",{onClick:function(){Ut(j.name),Bt.ZP.success("\u6D4B\u8BD5\u73AF\u5883\u5DF2\u5207\u6362\u81F3"+j.name)},children:j.name})}}),Yt=function(){var j=v()(s()().mark(function m(U){var Ee,K;return s()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Ee=U.map(function(vt){return{case_id:vt.case_id,step_name:vt.name}}),Le.next=3,(0,L.Sb)(Ee);case 3:K=Le.sent,oe.Z.response(K)&&C(Object.keys(K.data).map(function(vt){return K.data[vt]}));case 5:case"end":return Le.stop()}},m)}));return function(U){return j.apply(this,arguments)}}(),wt=[{title:"\u6570\u636E\u7BA1\u7406",placement:"right",description:"\u6570\u636E\u7BA1\u7406\u6A21\u5757\uFF0C\u4EE5\u6570\u636E\u9A71\u52A8\u7684\u65B9\u5F0F\u6279\u91CF\u8BF7\u6C42\u63A5\u53E3\uFF0C\u89E3\u51B3\u91CD\u590D\u7F16\u5199\u573A\u666F\u7684\u70E6\u607C~\u{1F47B}",cover:(0,n.jsx)(ne.Z,{width:"100%",style:{height:200},src:"/data_driven.jpeg"}),target:function(){return It.current}},{title:"\u524D\u7F6E\u6B65\u9AA4",placement:"right",description:"\u5728\u524D\u7F6E\u6B65\u9AA4\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u6784\u9020\u4E00\u5207\u4F60\u9700\u8981\u7684\u6570\u636E\uFF0C\u5305\u62EC\u4F46\u4E0D\u9650\u4E8EDB/Redis\u7B49\uFF0C\u5E76\u80FD\u5C06\u6570\u636E\u4F20\u9012\u4E0B\u53BB\u{1F440}",cover:(0,n.jsx)(ne.Z,{width:"100%",style:{height:200},src:"/pre.svg"}),target:function(){return Kt.current}},{title:"\u63A5\u53E3\u8BF7\u6C42",placement:"right",description:"\u5728\u63A5\u53E3\u8BF7\u6C42\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u6784\u5EFAHTTP/DUBBO/GRPC\u8FD93\u7C7B\u8BF7\u6C42\uFF0C\u5982\u679C\u9047\u5230\u6709\u53D8\u91CF\u9700\u8981\u586B\u5199\uFF0C\u53EF\u4EE5\u6309\u4E0B\u5FEB\u6377\u952E\u300E$\u300F\u5F39\u51FA\u53D8\u91CF\u83DC\u5355\u54E6~\u{1F42C}",cover:(0,n.jsx)(ne.Z,{width:"100%",style:{height:200},src:"/api.svg"}),target:function(){return Vt.current}},{title:"\u51FA\u53C2\u63D0\u53D6",placement:"left",description:"\u5728\u51FA\u53C2\u63D0\u53D6\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u63D0\u53D6\u4F60\u5728\u4E0B\u4E00\u4E2A\u6B65\u9AA4\u4E2D\u9700\u8981\u7684\u6570\u636E, \u6BD4\u5982\u4F60\u53EF\u4EE5\u63D0\u53D6\u767B\u5F55\u540E\u7684token\uFF0C\u7528\u4E8E\u63A5\u4E0B\u6765\u7684\u64CD\u4F5C\uFF01\u51FA\u53C2\u63D0\u53D6\u4E3B\u8981\u652F\u6301\u6B63\u5219\u548CJSONPath2\u79CD\u65B9\u5F0F\uFF0C\u5982\u679C\u8FD8\u4E0D\u719F\u6089\u7684\u8BDD\uFF0C\u5EFA\u8BAE\u53BB\u641C\u7D22\u5B66\u4E60\u4E00\u4E0B\u54E6~\u{1F47D}",cover:(0,n.jsx)(ne.Z,{width:"100%",style:{height:200},src:"/out.svg"}),target:function(){return $t.current}},{title:"\u65AD\u8A00",placement:"left",description:"\u5728\u65AD\u8A00\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u5BF9\u4F60\u672C\u6B21\u6D4B\u8BD5\u7684\u6570\u636E\u8FDB\u884C\u6821\u9A8C\uFF0C\u4EE5\u4FBF\u4E8E\u540E\u7EED\u573A\u666F\u81EA\u52A8\u6267\u884C\u65F6\u80FD\u68C0\u6D4B\u51FA\u5F02\u5E38\uFF0C\u65AD\u8A00\u5F88\u91CD\u8981\uFF0C\u8BB0\u5F97\u8981\u586B\u54E6\uFF01\u{1F383}",cover:(0,n.jsx)(ne.Z,{width:"100%",style:{height:200},src:"/assert.svg"}),target:function(){return Ht.current}},{title:"\u540E\u7F6E\u6B65\u9AA4",placement:"left",description:"\u5728\u540E\u7F6E\u6B65\u9AA4\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u505A\u4E00\u4E9B\u6E05\u7406\u5DE5\u4F5C\uFF0C\u6BD4\u5982\u5220\u9664\u4F60\u521B\u5EFA\u7684\u6570\u636E\u7B49\uFF0C\u7528\u6CD5\u4E0E\u524D\u7F6E\u6B65\u9AA4\u7C7B\u4F3C~\u{1F680}",cover:(0,n.jsx)(ne.Z,{width:"100%",style:{height:200},src:"/clean.svg"}),target:function(){return Nt.current}}];(0,ce.Z)(["shift.4"],function(){Me!=="4"&&window.location.href.indexOf("/apiTest/testcase/")>-1&&window.location.href.endsWith("/".concat(se))&&ve(!0)},{exactMatch:!0,useCapture:!0});var Qt=function(){var j=v()(s()().mark(function m(){var U;return s()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,(0,T.Z7)({page:1,size:500});case 2:U=K.sent,oe.Z.response(U)&&at(U.data.map(function(st){return{name:"${"+st.key+"}"}}));case 4:case"end":return K.stop()}},m)}));return function(){return j.apply(this,arguments)}}();(0,O.useEffect)(function(){Qt()},[]),(0,O.useEffect)(function(){Yt(Y)},[Y]);var Mt=function(){d({type:"testcase/save",payload:{constructorModal:!0,testCaseConstructorData:{public:!0,enable:!0},currentStep:0,constructRecord:{}}}),d({type:"construct/save",payload:{currentStep:0}})},Xt=function(){var j=v()(s()().mark(function m(U){var Ee,K,st,Le=arguments;return s()().wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Ee=Le.length>1&&Le[1]!==void 0?Le[1]:!1,Pt.next=3,d({type:"construct/delete",payload:{id:U.id}});case 3:K=Pt.sent,K&&(Ee?st=fe.filter(function(pt){return pt.id!==U.id}):st=Y.filter(function(pt){return pt.id!==U.id}),d({type:"testcase/save",payload:N()({},Ee?"postConstructor":"preConstructor",st)}));case 5:case"end":return Pt.stop()}},m)}));return function(U){return j.apply(this,arguments)}}(),_t=function(){var j=v()(s()().mark(function m(U,Ee){var K;return s()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:K=y()(Ee?fe:Y),K.splice(U.index,1),d({type:"testcase/save",payload:N()({},Ee?"postConstructor":"preConstructor",K.map(function(vt,Pt){return o()(o()({},vt),{},{index:Pt})}))});case 3:case"end":return Le.stop()}},m)}));return function(U,Ee){return j.apply(this,arguments)}}(),qt=function(m,U){return m.type===4?{body:U.body,headers:$.Z.parseHeaders(U.headers),base_path:U.base_path,url:U.url,request_method:U.request_method,body_type:U.body_type}:U},zt=function(m){var U=JSON.parse(m.constructor_json);d({type:"construct/save",payload:{currentStep:1,testCaseConstructorData:o()(o()({},m),qt(m,U)),constructorType:m.type}}),d({type:"testcase/save",payload:{constructorModal:!0,constructRecord:m}})},en=function(){var j=v()(s()().mark(function m(U,Ee){var K,st,Le,vt=arguments;return s()().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(K=vt.length>2&&vt[2]!==void 0?vt[2]:!1,Le=y()(K?fe:Y),!k){pt.next=6;break}st=!0,pt.next=9;break;case 6:return pt.next=8,d({type:"construct/update",payload:o()(o()({},U),{},{enable:Ee})});case 8:st=pt.sent;case 9:st&&(k?Le.forEach(function(Rt,tn){tn===U.index&&(Rt.enable=Ee)}):Le.forEach(function(Rt){Rt.id===U.id&&(Rt.enable=Ee)}),d({type:"testcase/save",payload:N()({},K?"postConstructor":"preConstructor",Le)}));case 10:case"end":return pt.stop()}},m)}));return function(U,Ee){return j.apply(this,arguments)}}(),kt=function(m){var U=JSON.parse(m.constructor_json);if(m.type===0){var Ee=nt[U.case_id];return Ee?(0,n.jsxs)("div",{children:["\u7528\u4F8B:"," ",(0,n.jsx)("a",{href:"/#/apiTest/testcase/".concat(Ee.directory_id,"/").concat(Ee.id),rel:"noreferrer",children:Ee.name})]}):null}if(m.type===1)return(0,n.jsx)("code",{children:U.sql});if(m.type===2)return(0,n.jsx)("code",{children:(0,n.jsx)("pre",{children:U.command})});if(m.type===3)return(0,n.jsx)("code",{children:(0,n.jsx)("pre",{children:U.command})})},Wt=function(m){var U=m.number,Ee=m.bgColor,K=m.color,st=m.style;return U===0?null:(0,n.jsx)("div",{style:o()({display:"inline-block",marginLeft:2,textAlign:"center",width:24,borderRadius:10,background:Ee,color:K},st),children:U})},Gt=[{title:"\u540D\u79F0",key:"name",dataIndex:"name",render:function(m,U,Ee){return(0,n.jsx)("a",{onClick:function(){zt(o()(o()({},U),{},{tempIndex:Ee}))},children:m})},className:"drag-visible"},{title:"\u7C7B\u578B",key:"type",dataIndex:"type",render:function(m){return(0,n.jsx)(F.Z,{color:r.Z.CASE_CONSTRUCTOR_COLOR[m],children:r.Z.CASE_CONSTRUCTOR[m]})},className:"drag-visible"},{title:"\u72B6\u6001",key:"enable",dataIndex:"enable",className:"drag-visible",render:function(m,U){return(0,n.jsx)(p.Z,{defaultChecked:U.enable,onChange:function(){var Ee=v()(s()().mark(function K(st){return s()().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:return vt.next=2,en(U,st);case 2:case"end":return vt.stop()}},K)}));return function(K){return Ee.apply(this,arguments)}}()})}},{title:"\u8FD4\u56DE\u503C",key:"value",dataIndex:"value",className:"drag-visible"},{title:"\u64CD\u4F5C",key:"ops",className:"drag-visible",render:function(m,U,Ee){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){zt(o()(o()({},U),{},{tempIndex:Ee}))},children:(0,n.jsx)(Ce.Z,{})}),(0,n.jsx)("a",{style:{marginLeft:8},onClick:function(){$e.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6570\u636E\u6784\u9020\u5668\u5417?",icon:(0,n.jsx)(Ze.Z,{}),content:"\u5982\u679C\u53EA\u662F\u6682\u65F6\u4E0D\u5F00\u542F\uFF0C\u53EF\u4EE5\u5148\u6682\u505C\u5B83~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var st=v()(s()().mark(function vt(){return s()().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(!k){pt.next=5;break}return pt.next=3,_t(U);case 3:pt.next=7;break;case 5:return pt.next=7,Xt(U);case 7:case"end":return pt.stop()}},vt)}));function Le(){return st.apply(this,arguments)}return Le}()})},children:(0,n.jsx)(Pe.Z,{twoToneColor:"red"})})]})}}];return(0,n.jsxs)(t.Z,{gutter:8,style:{marginTop:36,minHeight:500},children:[(0,n.jsx)(b,{open:ft,gconfig:Ct,variables:l,onCancel:function(){return ve(!1)}}),(0,n.jsx)(M.Z,{open:Ye,onClose:function(){localStorage.setItem("case_study","done"),yt(!1)},steps:wt}),(0,n.jsx)(je.Z,{span:24,children:(0,n.jsxs)(Zt.Z,{activeKey:Me,onChange:function(m){d({type:"testcase/save",payload:{activeKey:m}}),G(m==="6"),m==="1"&&Je.length>0&&d({type:"testcase/save",payload:{envActiveKey:Je[0].id.toString()}})},tabBarExtraContent:(0,n.jsx)(_.Z,{menu:{items:Jt},children:(0,n.jsx)("a",{onClick:function(m){m.preventDefault()},children:(0,n.jsxs)(Se.Z,{children:[Lt||"\u9009\u62E9\u5F53\u524D\u6267\u884C\u73AF\u5883",(0,n.jsx)(lt.Z,{})]})})}),children:[(0,n.jsx)(le,{tab:(0,n.jsxs)("span",{ref:It,children:[(0,n.jsx)(S.B,{type:"icon-shujuqudong1"}),"\u6570\u636E\u7BA1\u7406"," ",(0,n.jsx)(g.Z,{onClick:function(){window.open("".concat(r.Z.DOCUMENT_URL,"/%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3/%E6%A6%82%E5%BF%B5/%E6%95%B0%E6%8D%AE%E7%AE%A1%E7%90%86"))},icon:(0,n.jsx)(ct.Z,{}),title:"\u5728\u8FD9\u91CC\u4F60\u53EF\u4EE5\u5BF9\u591A\u5957\u73AF\u5883\u7684\u6D4B\u8BD5\u6570\u636E\u8FDB\u884C\u7BA1\u7406\uFF0C\u4ECE\u800C\u8FBE\u5230\u6570\u636E\u9A71\u52A8\u7684\u76EE\u7684~\u70B9\u51FB\u6B64\u6309\u94AE\u67E5\u770B\u8BE6\u7EC6\u6587\u6863\u3002"})]}),children:Je.length>0?(0,n.jsx)(Zt.Z,{tabPosition:"left",activeKey:be,onChange:function(m){d({type:"testcase/save",payload:{envActiveKey:m}})},children:Je.map(function(j){return(0,n.jsx)(le,{tab:j.name,children:(0,n.jsx)(Ke,{caseId:se,currentEnv:be,createMode:k})},j.id)})}):(0,n.jsx)(Ue.Z,{height:280,desc:(0,n.jsxs)("span",{children:["\u6CA1\u6709\u4EFB\u4F55\u73AF\u5883\u4FE1\u606F, ",(0,n.jsx)("a",{href:"/#/config/environment",children:"\u53BB\u6DFB\u52A0"})]})})},"1"),(0,n.jsx)(le,{tab:(0,n.jsxs)("div",{ref:Kt,children:[(0,n.jsx)(S.B,{type:"icon-DependencyGraph_16x"}),"\u524D\u7F6E\u6B65\u9AA4",(0,n.jsx)(Wt,{number:Y.length,bgColor:"rgb(237, 242, 251)",color:"rgb(29, 98, 203)"})]}),children:Y.length===0?(0,n.jsx)(i.Z,{height:180,desc:(0,n.jsxs)("div",{children:["\u8FD8\u6CA1\u6709\u524D\u7F6E\u6B65\u9AA4, \u8FD8\u4E0D\u8D76\u5FEB ",(0,n.jsx)("a",{onClick:Mt,children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})}):(0,n.jsxs)(t.Z,{gutter:12,children:[(0,n.jsxs)(je.Z,{span:16,children:[(0,n.jsx)(t.Z,{children:(0,n.jsx)(je.Z,{span:24,children:(0,n.jsxs)(Ae.ZP,{type:"dashed",block:!0,style:{marginBottom:16},onClick:Mt,children:[(0,n.jsx)(de.Z,{}),"\u6DFB\u52A0"]})})}),(0,n.jsx)(rt.Z,{columns:Gt,dataSource:Y,setDataSource:function(m){d({type:"testcase/save",payload:{preConstructor:m}})},loading:He.effects["construct/delete"]||He.effects["construct/update"],dragCallback:function(){var j=v()(s()().mark(function m(U){return s()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!k){K.next=2;break}return K.abrupt("return",!0);case 2:return K.next=4,d({type:"construct/orderConstructor",payload:U.map(function(st,Le){return{id:st.id,index:Le}})});case 4:return K.abrupt("return",K.sent);case 5:case"end":return K.stop()}},m)}));return function(m){return j.apply(this,arguments)}}()})]}),(0,n.jsx)(je.Z,{span:8,children:(0,n.jsx)(V.Z,{style:{height:400,overflow:"auto"},hoverable:!0,bordered:!1,children:Y.filter(function(j){return j.enable}).length===0?(0,n.jsx)(Ue.Z,{desc:"\u6682\u65E0\u5F00\u542F\u7684\u524D\u7F6E\u6B65\u9AA4"}):(0,n.jsx)(Ne.Z,{children:Y.map(function(j,m){return j.enable?(0,n.jsxs)(Ne.Z.Item,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(Ve.Z,{count:m+1,style:{backgroundColor:"#a6d3ff"}},m)," ","\u540D\u79F0:"," ",j.type===0?(0,n.jsx)("a",{children:j.name},j.name):j.name]},m),kt(j)]},m):null})})})})]})},"2"),(0,n.jsx)(le,{tab:(0,n.jsxs)("span",{ref:Vt,children:[(0,n.jsx)(S.B,{type:"icon-qingqiu"}),"\u63A5\u53E3\u8BF7\u6C42"]}),children:(0,n.jsx)(t.Z,{gutter:[8,8],children:(0,n.jsx)(je.Z,{span:24,children:(0,n.jsx)(I,{form:he,body:z,setBody:_e,headers:pe,formData:re,setFormData:w,caseInfo:ht,setHeaders:tt,bodyType:it,setBodyType:gt,bordered:!1,save:Ge})})})},"3"),(0,n.jsx)(le,{tab:(0,n.jsxs)("span",{ref:$t,children:[(0,n.jsx)(S.B,{type:"icon-canshu2"}),"\u51FA\u53C2\u63D0\u53D6"," ",(0,n.jsx)(g.Z,{icon:(0,n.jsx)(ct.Z,{}),title:"\u901A\u8FC7\u7BA1\u7406\u8BF7\u6C42\u4EA7\u751F\u7684\u53C2\u6570\uFF0C\u5E2E\u52A9\u6211\u4EEC\u66F4\u597D\u5730\u6539\u5584\u3010\u65AD\u8A00\u3011"})]}),children:(0,n.jsx)(St,{caseId:se,createMode:k,dispatch:d,testcase:x})},"4"),(0,n.jsx)(le,{tab:(0,n.jsxs)("div",{ref:Ht,children:[(0,n.jsx)(S.B,{type:"icon-duanyan"}),"\u65AD\u8A00"," ",(0,n.jsx)(Wt,{number:Re.length,bgColor:"rgb(233, 249, 245)",color:"rgb(40, 195, 151)"})]}),children:(0,n.jsx)(u,{asserts:Re,caseId:se,createMode:k})},"5"),(0,n.jsx)(le,{tab:(0,n.jsxs)("div",{ref:Nt,children:[(0,n.jsx)(S.B,{type:"icon-qingliwuliuliang"}),"\u540E\u7F6E\u6B65\u9AA4",(0,n.jsx)(Wt,{number:fe.length,bgColor:"rgb(255, 238, 239)",color:"rgb(255, 87, 95)"})]}),children:fe.length===0?(0,n.jsx)(i.Z,{height:180,desc:(0,n.jsxs)("div",{children:["\u8FD8\u6CA1\u6709\u540E\u7F6E\u6B65\u9AA4, \u8FD8\u4E0D\u8D76\u7D27 ",(0,n.jsx)("a",{onClick:Mt,children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})}):(0,n.jsxs)(t.Z,{gutter:12,children:[(0,n.jsxs)(je.Z,{span:16,children:[(0,n.jsx)(t.Z,{children:(0,n.jsx)(je.Z,{span:24,children:(0,n.jsxs)(Ae.ZP,{type:"dashed",block:!0,style:{marginBottom:16},onClick:Mt,children:[(0,n.jsx)(de.Z,{}),"\u6DFB\u52A0"]})})}),(0,n.jsx)(rt.Z,{columns:Gt,dataSource:fe,setDataSource:function(m){d({type:"testcase/save",payload:{postConstructor:m}})},loading:He.effects["construct/delete"]||He.effects["construct/update"],dragCallback:function(){var j=v()(s()().mark(function m(U){return s()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!k){K.next=2;break}return K.abrupt("return",!0);case 2:return K.next=4,d({type:"construct/orderConstructor",payload:U.map(function(st,Le){return{id:st.id,index:Le}})});case 4:return K.abrupt("return",K.sent);case 5:case"end":return K.stop()}},m)}));return function(m){return j.apply(this,arguments)}}()})]}),(0,n.jsx)(je.Z,{span:8,children:(0,n.jsx)(V.Z,{style:{height:400,overflow:"auto"},hoverable:!0,bordered:!1,children:fe.filter(function(j){return j.enable}).length===0?(0,n.jsx)(i.Z,{desc:"\u6682\u65E0\u5F00\u542F\u7684\u540E\u7F6E\u6B65\u9AA4"}):(0,n.jsx)(Ne.Z,{children:fe.map(function(j,m){return j.enable?(0,n.jsxs)(Ne.Z.Item,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(Ve.Z,{count:m+1,style:{backgroundColor:"#a6d3ff"}},m)," ","\u540D\u79F0:"," ",j.type===0?(0,n.jsx)("a",{children:j.name},j.name):j.name]},m),kt(j)]},m):null})})})})]})},"6")]})})]})},et=(0,q.connect)(function(P){var h=P.testcase,d=P.gconfig,x=P.loading;return{testcase:h,gconfig:d,loading:x}})(Te)},88496:function(Dt,Fe,e){e.d(Fe,{Z:function(){return n}});var me=e(15009),o=e.n(me),ae=e(99289),y=e.n(ae),A=e(90596),N=e(8232),ye=e(4393),s=e(14726),W=e(71230),v=e(15746),R={caseTitle:"caseTitle___B4Pl6"},E=e(76081),S=e(20659),g=e(67294),i=e(60219),Ue=e(74842),O=e(44046),V=e(85893),q=N.Z.Item,a=function(I){var rt=I.dispatch,D=I.form,$e=I.testcase,t=I.caseId,je=I.body,Ae=I.setBody,Z=I.headers,Ze=I.setHeaders,de=I.formData,We=I.setFormData,xe=I.bodyType,oe=I.setBodyType,r=I.setSuffix,ee=I.onSubmit,u=I.create,X=u===void 0?!1:u,ge=$e.caseInfo;return(0,g.useEffect)(function(){D.resetFields(),D.setFieldsValue(ge),Ae(ge.body)},[ge]),(0,V.jsx)(N.Z,{form:D,name:"addCase",initialValues:ge,children:(0,V.jsxs)(ye.Z,{title:(0,V.jsx)("span",{className:R.caseTitle,children:"\u573A\u666F\u4FE1\u606F"}),extra:X?null:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(s.ZP,{type:"primary",onClick:y()(o()().mark(function te(){return o()().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.next=2,ee(X);case 2:case"end":return ut.stop()}},te)})),children:[(0,V.jsx)(i.Z,{})," \u63D0\u4EA4"]}),X?(0,V.jsxs)(s.ZP,{style:{marginLeft:8},children:[(0,V.jsx)(Ue.Z,{})," \u6D4B\u8BD5"]}):(0,V.jsxs)(s.ZP,{style:{marginLeft:8},onClick:function(){rt({type:"testcase/save",payload:{editing:!1}})},children:[(0,V.jsx)(i.Z,{})," \u53D6\u6D88"]})]}),children:[(0,V.jsx)(W.Z,{gutter:[8,8],children:S.Z.CaseDetail.map(function(te){return(0,V.jsx)(v.Z,{span:te.span||24,children:(0,V.jsx)(q,{label:te.label,colon:te.colon||!0,labelCol:{span:8},wrapperCol:{span:16},rules:[{required:te.required,message:te.message}],name:te.name,valuePropName:te.valuePropName||"value",children:(0,E.Z)(te.type,te.placeholder,te.component)})})})}),(0,V.jsx)(W.Z,{style:{marginTop:8},children:(0,V.jsx)(v.Z,{span:24,children:(0,V.jsx)(O.Z,{case_id:t,body:je,bodyType:xe,setBody:Ae,headers:Z,setHeaders:Ze,form:D,createMode:X,formData:de,setFormData:We,setSuffix:r,setBodyType:oe})})})]})})},n=(0,A.connect)(function(H){var I=H.user,rt=H.testcase,D=H.loading;return{testcase:rt,user:I,loading:D}})(a)},87023:function(Dt,Fe,e){e.d(Fe,{Z:function(){return We}});var me=e(15009),o=e.n(me),ae=e(99289),y=e.n(ae),A=e(5574),N=e.n(A),ye=e(11941),s=e(40411),W=e(85265),v=e(71230),R=e(26412),E=e(72051),S=e(67294),g=e(42481),i=e(26671),Ue=e(9783),O=e.n(Ue),V=e(70366),q=e.n(V),a=e(85893),n=60,H={nameFontSize:12,childCountWidth:22,countMarginLeft:0,itemPadding:16,nameMarginLeft:4,rootPadding:18},I=function(xe){var oe=xe.data,r=xe.graph,ee=xe.setGraph,u=xe.container_id,X=u===void 0?"container":u;return(0,S.useEffect)(function(){if(oe!==null){q().registerNode("treeNode",{draw:function(B,J){var Qe=B.id,ze=B.label,Pe=B.collapsed,qe=B.selected,ot=B.children,Xe=B.depth,ke=Xe===0,mt=ot&&ot.length!==0,dt=H.childCountWidth,ct=H.countMarginLeft,At=H.itemPadding,Ft=H.selectedIconWidth,St=H.nameMarginLeft,Zt=H.rootPadding,Ie=0,xt=28,Be=0,b=-xt/2,T=J.addShape("text",{attrs:{text:ze,x:Be*2,y:b,textAlign:"left",textBaseline:"top",fontFamily:"PingFangSC-Regular"},cursor:"pointer",name:"name-text-shape"}),L=T.getBBox().width;Ie=L+At+St,Ie=Ie0&&ce[0]!==void 0?ce[0]:r.case_id,$=ce.length>1&&ce[1]!==void 0?ce[1]:!0,ne.next=4,(0,rt.T4)({case_id:L});case 4:Ce=ne.sent,D.Z.response(Ce)&&($?J(Ce.data):(lt=Object.keys(r).map(function(F){return Ce.data}),qe(lt)));case 6:case"end":return ne.stop()}},T)}));return function(){return b.apply(this,arguments)}}(),Zt=function(){var b=y()(o()().mark(function T(){var L,$,Ce;return o()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(!Ke){ce.next=6;break}if(r.case_id===void 0){ce.next=4;break}return ce.next=4,St();case 4:ce.next=16;break;case 6:L=0,$=Object.keys(r);case 7:if(!(L<$.length)){ce.next=16;break}if(Ce=$[L],r[Ce].case_id===void 0){ce.next=12;break}return ce.next=12,St(r[Ce].case_id,!1);case 12:return ce.abrupt("return");case 13:L++,ce.next=7;break;case 16:case"end":return ce.stop()}},T)}));return function(){return b.apply(this,arguments)}}();(0,S.useEffect)(function(){Zt()},[r]);var Ie=function(T){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r;if(L[T]===null||L[T]===void 0||L[T]==="{}")return[];var $=JSON.parse(L[T]);return Object.keys($).map(function(Ce){return{key:Ce,value:$[Ce]}})},xt=[{title:"\u65AD\u8A00\u4FE1\u606F",key:"msg",dataIndex:"msg"},{title:"\u72B6\u6001",key:"status",dataIndex:"status",render:function(T){return(0,a.jsx)(s.Z,{status:T?"success":"error",text:T?"\u901A\u8FC7":"\u672A\u901A\u8FC7"})}}],Be=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r;if(T.asserts===void 0||!T.asserts)return[];var L=JSON.parse(T.asserts),$=[];return Object.keys(L).forEach(function(Ce){typeof L[Ce].msg=="string"?$.push({status:L[Ce].status,msg:L[Ce].msg}):L[Ce].msg.forEach(function(lt){$.push({status:L[Ce].status,msg:lt})})}),$};return(0,a.jsx)(W.Z,{title:(0,a.jsxs)("span",{children:["[",(0,a.jsx)("strong",{children:ee}),"] \u6267\u884C\u8BE6\u60C5"]}),width:u||1e3,open:X,placement:"right",onClose:function(){return ge(!1)},children:(0,a.jsx)(v.Z,{gutter:[8,8],children:Ke?(0,a.jsxs)(ye.Z,{style:{width:"100%",minHeight:460},tabPosition:"left",children:[(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,a.jsxs)(R.Z,{column:2,bordered:!0,size:"middle",children:[(0,a.jsx)(R.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,a.jsx)(s.Z,{status:r.status?"success":"error",text:r.status?"\u6210\u529F":"\u5931\u8D25"})}),(0,a.jsx)(R.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:r.request_method}),(0,a.jsx)(R.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,a.jsxs)("span",{style:{color:Ze[r.status_code]?Ze[r.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[r.status_code," ",Ze[r.status_code]?Ze[r.status_code].text:""]})}),(0,a.jsx)(R.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,a.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,a.jsx)("span",{style:{color:"#67C23A"},children:r.cost})})}),(0,a.jsx)(R.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:r.url}),(0,a.jsx)(R.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:r.request_data?(0,a.jsx)(g.Z,{language:"json",style:i.BV,children:r.request_data}):(0,a.jsx)($e.Z,{height:120})})]})},"1"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,a.jsx)(E.Z,{columns:xt,dataSource:Be(),size:"small",pagination:!1})},"3"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,a.jsx)(Ae.Z,{language:"html",setEditor:Ft,readOnly:!0,value:r.logs,height:"80vh"})},"2"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Request Headers"]}),children:(0,a.jsx)(E.Z,{columns:de,dataSource:Ie("request_headers"),size:"small",pagination:!1})},"5"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,a.jsx)(E.Z,{columns:de,dataSource:Ie("cookies"),size:"small",pagination:!1})},"6"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Response Headers"]}),children:(0,a.jsx)(E.Z,{columns:de,dataSource:Ie("response_headers"),size:"small",pagination:!1})},"7"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-xiangying"}),"Response"]}),children:(0,a.jsx)(je.Z,{readOnly:!0,setEditor:Ft,value:JSON.stringify(((oe=r[name])===null||oe===void 0?void 0:oe.response)||null,null,2),height:"80vh"})},"4"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,a.jsx)("div",{id:"container",children:(0,a.jsx)(I,{data:B,graph:ke.container,setGraph:mt})})},"8")]}):(0,a.jsx)(ye.Z,{style:{width:"100%",minHeight:460},children:Object.keys(r).map(function(b,T){var L,$;return(0,a.jsx)(Z,{tab:b,children:(0,a.jsxs)(ye.Z,{style:{width:"100%"},tabPosition:"left",children:[(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,a.jsxs)(R.Z,{column:2,bordered:!0,size:"middle",children:[(0,a.jsx)(R.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,a.jsx)(s.Z,{status:r[b].status?"success":"error",text:r[b].status?"\u6210\u529F":"\u5931\u8D25"})}),(0,a.jsx)(R.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:r[b].request_method}),(0,a.jsx)(R.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,a.jsxs)("span",{style:{color:Ze[r[b].status_code]?Ze[r[b].status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[r[b].status_code," ",Ze[r[b].status_code]?Ze[r[b].status_code].text:""]})}),(0,a.jsx)(R.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,a.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,a.jsx)("span",{style:{color:"#67C23A"},children:r[b].cost})})}),(0,a.jsx)(R.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:r[b].url}),(0,a.jsx)(R.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:r[b].request_data?(0,a.jsx)(g.Z,{language:"json",style:i.BV,children:r[b].request_data}):(0,a.jsx)($e.Z,{height:120})})]})},"1"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,a.jsx)(E.Z,{columns:xt,dataSource:Be(r[b]),size:"small",pagination:!1})},"3"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,a.jsx)(Ae.Z,{language:"html",setEditor:Ft,readOnly:!0,value:(L=r[b])===null||L===void 0?void 0:L.logs,height:"80vh"})},"2"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Request Headers"]}),children:(0,a.jsx)(E.Z,{columns:de,dataSource:Ie("request_headers",r[b]),size:"small",pagination:!1})},"5"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,a.jsx)(E.Z,{columns:de,dataSource:Ie("cookies",r[b]),size:"small",pagination:!1})},"6"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-header"}),"Response Headers"]}),children:(0,a.jsx)(E.Z,{columns:de,dataSource:Ie("response_headers",r[b]),size:"small",pagination:!1})},"7"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-xiangying"}),"Response"]}),children:(0,a.jsx)(je.Z,{setEditor:Ft,readOnly:!0,value:JSON.stringify((($=r[b])===null||$===void 0?void 0:$.response)||null,null,2),height:"80vh"})},"4"),(0,a.jsx)(Z,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(t.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,a.jsx)("div",{id:"container_".concat(T),children:(0,a.jsx)(I,{data:Pe[T],graph:ke["container_".concat(T)],setGraph:mt,container_id:"container_".concat(T)})})},"8")]})},T.toString())})})})})}},72729:function(){}}]); diff --git a/statics/9072.e824df32.async.js b/statics/9072.e824df32.async.js deleted file mode 100644 index 1e35ded3..00000000 --- a/statics/9072.e824df32.async.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9072],{71194:function(q,P,r){r.d(P,{Q:function(){return $}});var u=r(16932),R=r(50438),t=r(67968),M=r(45503),s=r(14747);function b(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const $=e=>{const{componentCls:o}=e;return[{[`${o}-root`]:{[`${o}${e.antCls}-zoom-enter, ${o}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${o}-mask`]:Object.assign(Object.assign({},b("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${o}-hidden`]:{display:"none"}}),[`${o}-wrap`]:Object.assign(Object.assign({},b("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${o}-root`]:(0,u.J$)(e)}]},D=e=>{const{componentCls:o}=e;return[{[`${o}-root`]:{[`${o}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${o}-wrap-rtl`]:{direction:"rtl"},[`${o}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[o]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[o]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${o}-centered`]:{[o]:{flex:1}}}}},{[o]:Object.assign(Object.assign({},(0,s.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${o}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${o}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${o}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},(0,s.Qy)(e)),[`${o}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${o}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${o}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${o}-open`]:{overflow:"hidden"}})},{[`${o}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${o}-content, - ${o}-body, - ${o}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${o}-confirm-body`]:{marginBottom:"auto"}}}]},g=e=>{const{componentCls:o}=e,i=`${o}-confirm`;return{[i]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${i}-body-wrapper`]:Object.assign({},(0,s.dF)()),[`${i}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${i}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${i}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${i}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${i}-title`]:{flex:1},[`+ ${i}-title + ${i}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${i}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${i}-error ${i}-body > ${e.iconCls}`]:{color:e.colorError},[`${i}-warning ${i}-body > ${e.iconCls}, - ${i}-confirm ${i}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${i}-info ${i}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${i}-success ${i}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${o}-zoom-leave ${o}-btns`]:{pointerEvents:"none"}}},h=e=>{const{componentCls:o}=e;return{[`${o}-root`]:{[`${o}-wrap-rtl`]:{direction:"rtl",[`${o}-confirm-body`]:{direction:"rtl"}}}}},A=e=>{const{componentCls:o,antCls:i}=e,v=`${o}-confirm`;return{[o]:{[`${o}-content`]:{padding:0},[`${o}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${o}-body`]:{padding:e.modalBodyPadding},[`${o}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[v]:{[`${i}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${v}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${v}-title + ${v}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${v}-btns`]:{marginTop:e.marginLG}}}};P.Z=(0,t.Z)("Modal",e=>{const o=e.padding,i=e.fontSizeHeading5,v=e.lineHeightHeading5,x=(0,M.TS)(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${o}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:v,modalHeaderTitleFontSize:i,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:v*i+o*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[D(x),g(x),h(x),$(x),e.wireframe&&A(x),(0,R._y)(x,"zoom")]})},16932:function(q,P,r){r.d(P,{J$:function(){return s}});var u=r(78635),R=r(93590);const t=new u.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),M=new u.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(b){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:D}=b,g=`${D}-fade`,h=$?"&":"";return[(0,R.R)(g,t,M,b.motionDurationMid,$),{[` - ${h}${g}-enter, - ${h}${g}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${h}${g}-leave`]:{animationTimingFunction:"linear"}}]}},13328:function(q,P,r){r.d(P,{s:function(){return ie},Z:function(){return ve}});var u=r(87462),R=r(97685),t=r(67294),M=r(2788),s=r(1413),b=r(94184),$=r.n(b),D=r(15105),g=r(7028),h=r(94999),A=r(64217),e=r(62874);function o(n){var l=n.prefixCls,a=n.style,d=n.visible,c=n.maskProps,m=n.motionName;return t.createElement(e.Z,{key:"mask",visible:d,motionName:m,leavedClassName:"".concat(l,"-mask-hidden")},function(C,y){var p=C.className,E=C.style;return t.createElement("div",(0,u.Z)({ref:y,style:(0,s.Z)((0,s.Z)({},E),a),className:$()("".concat(l,"-mask"),p)},c))})}function i(n,l,a){var d=l;return!d&&a&&(d="".concat(n,"-").concat(a)),d}function v(n,l){var a=n["page".concat(l?"Y":"X","Offset")],d="scroll".concat(l?"Top":"Left");if(typeof a!="number"){var c=n.document;a=c.documentElement[d],typeof a!="number"&&(a=c.body[d])}return a}function x(n){var l=n.getBoundingClientRect(),a={left:l.left,top:l.top},d=n.ownerDocument,c=d.defaultView||d.parentWindow;return a.left+=v(c),a.top+=v(c,!0),a}var ce=t.memo(function(n){var l=n.children;return l},function(n,l){var a=l.shouldUpdate;return!a}),ae={width:0,height:0,overflow:"hidden",outline:"none"},me=t.forwardRef(function(n,l){var a=n.prefixCls,d=n.className,c=n.style,m=n.title,C=n.ariaId,y=n.footer,p=n.closable,E=n.closeIcon,B=n.onClose,T=n.children,O=n.bodyStyle,z=n.bodyProps,H=n.modalRender,Z=n.onMouseDown,_=n.onMouseUp,F=n.holderRef,U=n.visible,W=n.forceRender,S=n.width,K=n.height,N=(0,t.useRef)(),w=(0,t.useRef)();t.useImperativeHandle(l,function(){return{focus:function(){var I;(I=N.current)===null||I===void 0||I.focus()},changeActive:function(I){var k=document,j=k.activeElement;I&&j===w.current?N.current.focus():!I&&j===N.current&&w.current.focus()}}});var V={};S!==void 0&&(V.width=S),K!==void 0&&(V.height=K);var X;y&&(X=t.createElement("div",{className:"".concat(a,"-footer")},y));var J;m&&(J=t.createElement("div",{className:"".concat(a,"-header")},t.createElement("div",{className:"".concat(a,"-title"),id:C},m)));var Q;p&&(Q=t.createElement("button",{type:"button",onClick:B,"aria-label":"Close",className:"".concat(a,"-close")},E||t.createElement("span",{className:"".concat(a,"-close-x")})));var L=t.createElement("div",{className:"".concat(a,"-content")},Q,J,t.createElement("div",(0,u.Z)({className:"".concat(a,"-body"),style:O},z),T),X);return t.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":m?C:null,"aria-modal":"true",ref:F,style:(0,s.Z)((0,s.Z)({},c),V),className:$()(a,d),onMouseDown:Z,onMouseUp:_},t.createElement("div",{tabIndex:0,ref:N,style:ae,"aria-hidden":"true"}),t.createElement(ce,{shouldUpdate:U||W},H?H(L):L),t.createElement("div",{tabIndex:0,ref:w,style:ae,"aria-hidden":"true"}))}),ie=me,re=t.forwardRef(function(n,l){var a=n.prefixCls,d=n.title,c=n.style,m=n.className,C=n.visible,y=n.forceRender,p=n.destroyOnClose,E=n.motionName,B=n.ariaId,T=n.onVisibleChanged,O=n.mousePosition,z=(0,t.useRef)(),H=t.useState(),Z=(0,R.Z)(H,2),_=Z[0],F=Z[1],U={};_&&(U.transformOrigin=_);function W(){var S=x(z.current);F(O?"".concat(O.x-S.left,"px ").concat(O.y-S.top,"px"):"")}return t.createElement(e.Z,{visible:C,onVisibleChanged:T,onAppearPrepare:W,onEnterPrepare:W,forceRender:y,motionName:E,removeOnLeave:p,ref:z},function(S,K){var N=S.className,w=S.style;return t.createElement(ie,(0,u.Z)({},n,{ref:l,title:d,ariaId:B,prefixCls:a,holderRef:K,style:(0,s.Z)((0,s.Z)((0,s.Z)({},w),c),U),className:$()(m,N)}))})});re.displayName="Content";var fe=re;function ue(n){var l=n.prefixCls,a=l===void 0?"rc-dialog":l,d=n.zIndex,c=n.visible,m=c===void 0?!1:c,C=n.keyboard,y=C===void 0?!0:C,p=n.focusTriggerAfterClose,E=p===void 0?!0:p,B=n.wrapStyle,T=n.wrapClassName,O=n.wrapProps,z=n.onClose,H=n.afterClose,Z=n.transitionName,_=n.animation,F=n.closable,U=F===void 0?!0:F,W=n.mask,S=W===void 0?!0:W,K=n.maskTransitionName,N=n.maskAnimation,w=n.maskClosable,V=w===void 0?!0:w,X=n.maskStyle,J=n.maskProps,Q=n.rootClassName,L=(0,t.useRef)(),G=(0,t.useRef)(),I=(0,t.useRef)(),k=t.useState(m),j=(0,R.Z)(k,2),ee=j[0],de=j[1],Ce=(0,g.Z)();function $e(){(0,h.Z)(G.current,document.activeElement)||(L.current=document.activeElement)}function ye(){if(!(0,h.Z)(G.current,document.activeElement)){var f;(f=I.current)===null||f===void 0||f.focus()}}function Se(f){if(f)ye();else{if(de(!1),S&&L.current&&E){try{L.current.focus({preventScroll:!0})}catch(te){}L.current=null}ee&&(H==null||H())}}function ne(f){z==null||z(f)}var Y=(0,t.useRef)(!1),oe=(0,t.useRef)(),be=function(){clearTimeout(oe.current),Y.current=!0},he=function(){oe.current=setTimeout(function(){Y.current=!1})},se=null;V&&(se=function(te){Y.current?Y.current=!1:G.current===te.target&&ne(te)});function xe(f){if(y&&f.keyCode===D.Z.ESC){f.stopPropagation(),ne(f);return}m&&f.keyCode===D.Z.TAB&&I.current.changeActive(!f.shiftKey)}return(0,t.useEffect)(function(){m&&(de(!0),$e())},[m]),(0,t.useEffect)(function(){return function(){clearTimeout(oe.current)}},[]),t.createElement("div",(0,u.Z)({className:$()("".concat(a,"-root"),Q)},(0,A.Z)(n,{data:!0})),t.createElement(o,{prefixCls:a,visible:S&&m,motionName:i(a,K,N),style:(0,s.Z)({zIndex:d},X),maskProps:J}),t.createElement("div",(0,u.Z)({tabIndex:-1,onKeyDown:xe,className:$()("".concat(a,"-wrap"),T),ref:G,onClick:se,style:(0,s.Z)((0,s.Z)({zIndex:d},B),{},{display:ee?null:"none"})},O),t.createElement(fe,(0,u.Z)({},n,{onMouseDown:be,onMouseUp:he,ref:I,closable:U,ariaId:Ce,prefixCls:a,visible:m&&ee,onClose:ne,onVisibleChanged:Se,motionName:i(a,Z,_)}))))}var le=function(l){var a=l.visible,d=l.getContainer,c=l.forceRender,m=l.destroyOnClose,C=m===void 0?!1:m,y=l.afterClose,p=t.useState(a),E=(0,R.Z)(p,2),B=E[0],T=E[1];return t.useEffect(function(){a&&T(!0)},[a]),!c&&C&&!B?null:t.createElement(M.Z,{open:a||c||B,autoDestroy:!1,getContainer:d,autoLock:a||B},t.createElement(ue,(0,u.Z)({},l,{destroyOnClose:C,afterClose:function(){y==null||y(),T(!1)}})))};le.displayName="Dialog";var ge=le,ve=ge},7028:function(q,P,r){var u;r.d(P,{Z:function(){return D}});var R=r(97685),t=r(1413),M=r(67294);function s(){var g=(0,t.Z)({},u||(u=r.t(M,2)));return g.useId}var b=0;function $(){}function D(g){var h=M.useState("ssr-id"),A=(0,R.Z)(h,2),e=A[0],o=A[1],i=s(),v=i==null?void 0:i();return M.useEffect(function(){if(!i){var x=b;b+=1,o("rc_unique_".concat(x))}},[]),g||v||e}}}]); diff --git a/statics/9275.2b623775.async.js b/statics/9275.2b623775.async.js new file mode 100644 index 00000000..6fd10979 --- /dev/null +++ b/statics/9275.2b623775.async.js @@ -0,0 +1,10 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9275],{84567:function(ke,fe,a){a.d(fe,{Z:function(){return $}});var y=a(67294),oe=a(93967),A=a.n(oe),ge=a(50132),ye=a(45353),D=a(17415),s=a(53124),k=a(98866),f=a(35792),x=a(65223),te=y.createContext(null),I=a(63185),w=function(h,T){var c={};for(var E in h)Object.prototype.hasOwnProperty.call(h,E)&&T.indexOf(E)<0&&(c[E]=h[E]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,E=Object.getOwnPropertySymbols(h);t{var c;const{prefixCls:E,className:t,rootClassName:j,children:M,indeterminate:_=!1,style:d,onMouseEnter:l,onMouseLeave:C,skipGroup:S=!1,disabled:L}=h,z=w(h,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ue,direction:Y,checkbox:de}=y.useContext(s.E_),B=y.useContext(te),{isFormItemInput:Se}=y.useContext(x.aM),Oe=y.useContext(k.Z),De=(c=(B==null?void 0:B.disabled)||L)!==null&&c!==void 0?c:Oe,V=y.useRef(z.value);y.useEffect(()=>{B==null||B.registerValue(z.value)},[]),y.useEffect(()=>{if(!S)return z.value!==V.current&&(B==null||B.cancelValue(V.current),B==null||B.registerValue(z.value),V.current=z.value),()=>B==null?void 0:B.cancelValue(z.value)},[z.value]);const se=ue("checkbox",E),xe=(0,f.Z)(se),[Pe,Ee,Ce]=(0,I.ZP)(se,xe),me=Object.assign({},z);B&&!S&&(me.onChange=function(){z.onChange&&z.onChange.apply(z,arguments),B.toggleOption&&B.toggleOption({label:M,value:z.value})},me.name=B.name,me.checked=B.value.includes(z.value));const g=A()(`${se}-wrapper`,{[`${se}-rtl`]:Y==="rtl",[`${se}-wrapper-checked`]:me.checked,[`${se}-wrapper-disabled`]:De,[`${se}-wrapper-in-form-item`]:Se},de==null?void 0:de.className,t,j,Ce,xe,Ee),W=A()({[`${se}-indeterminate`]:_},D.A,Ee),ee=_?"mixed":void 0;return Pe(y.createElement(ye.Z,{component:"Checkbox",disabled:De},y.createElement("label",{className:g,style:Object.assign(Object.assign({},de==null?void 0:de.style),d),onMouseEnter:l,onMouseLeave:C},y.createElement(ge.Z,Object.assign({"aria-checked":ee},me,{prefixCls:se,className:W,disabled:De,ref:T})),M!==void 0&&y.createElement("span",null,M))))};var K=y.forwardRef(p),F=a(74902),ne=a(98423),O=function(h,T){var c={};for(var E in h)Object.prototype.hasOwnProperty.call(h,E)&&T.indexOf(E)<0&&(c[E]=h[E]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,E=Object.getOwnPropertySymbols(h);t{const{defaultValue:c,children:E,options:t=[],prefixCls:j,className:M,rootClassName:_,style:d,onChange:l}=h,C=O(h,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:S,direction:L}=y.useContext(s.E_),[z,ue]=y.useState(C.value||c||[]),[Y,de]=y.useState([]);y.useEffect(()=>{"value"in C&&ue(C.value||[])},[C.value]);const B=y.useMemo(()=>t.map(e=>typeof e=="string"||typeof e=="number"?{label:e,value:e}:e),[t]),Se=e=>{de(b=>b.filter(re=>re!==e))},Oe=e=>{de(b=>[].concat((0,F.Z)(b),[e]))},De=e=>{const b=z.indexOf(e.value),re=(0,F.Z)(z);b===-1?re.push(e.value):re.splice(b,1),"value"in C||ue(re),l==null||l(re.filter(G=>Y.includes(G)).sort((G,n)=>{const u=B.findIndex(m=>m.value===G),o=B.findIndex(m=>m.value===n);return u-o}))},V=S("checkbox",j),se=`${V}-group`,xe=(0,f.Z)(V),[Pe,Ee,Ce]=(0,I.ZP)(V,xe),me=(0,ne.Z)(C,["value","disabled"]),g=t.length?B.map(e=>y.createElement(K,{prefixCls:V,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:z.includes(e.value),onChange:e.onChange,className:`${se}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):E,W={toggleOption:De,value:z,disabled:C.disabled,name:C.name,registerValue:Oe,cancelValue:Se},ee=A()(se,{[`${se}-rtl`]:L==="rtl"},M,_,Ce,xe,Ee);return Pe(y.createElement("div",Object.assign({className:ee,style:d},me,{ref:T}),y.createElement(te.Provider,{value:W},g)))});const N=K;N.Group=v,N.__ANT_CHECKBOX=!0;var $=N},63185:function(ke,fe,a){a.d(fe,{C2:function(){return D}});var y=a(54548),oe=a(14747),A=a(45503),ge=a(91945);const ye=s=>{const{checkboxCls:k}=s,f=`${k}-wrapper`;return[{[`${k}-group`]:Object.assign(Object.assign({},(0,oe.Wf)(s)),{display:"inline-flex",flexWrap:"wrap",columnGap:s.marginXS,[`> ${s.antCls}-row`]:{flex:1}}),[f]:Object.assign(Object.assign({},(0,oe.Wf)(s)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${f}`]:{marginInlineStart:0},[`&${f}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[k]:Object.assign(Object.assign({},(0,oe.Wf)(s)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:s.borderRadiusSM,alignSelf:"center",[`${k}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${k}-inner`]:Object.assign({},(0,oe.oN)(s))},[`${k}-inner`]:{boxSizing:"border-box",display:"block",width:s.checkboxSize,height:s.checkboxSize,direction:"ltr",backgroundColor:s.colorBgContainer,border:`${(0,y.bf)(s.lineWidth)} ${s.lineType} ${s.colorBorder}`,borderRadius:s.borderRadiusSM,borderCollapse:"separate",transition:`all ${s.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:s.calc(s.checkboxSize).div(14).mul(5).equal(),height:s.calc(s.checkboxSize).div(14).mul(8).equal(),border:`${(0,y.bf)(s.lineWidthBold)} solid ${s.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${s.motionDurationFast} ${s.motionEaseInBack}, opacity ${s.motionDurationFast}`}},"& + span":{paddingInlineStart:s.paddingXS,paddingInlineEnd:s.paddingXS}})},{[` + ${f}:not(${f}-disabled), + ${k}:not(${k}-disabled) + `]:{[`&:hover ${k}-inner`]:{borderColor:s.colorPrimary}},[`${f}:not(${f}-disabled)`]:{[`&:hover ${k}-checked:not(${k}-disabled) ${k}-inner`]:{backgroundColor:s.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${k}-checked:not(${k}-disabled):after`]:{borderColor:s.colorPrimaryHover}}},{[`${k}-checked`]:{[`${k}-inner`]:{backgroundColor:s.colorPrimary,borderColor:s.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${s.motionDurationMid} ${s.motionEaseOutBack} ${s.motionDurationFast}`}}},[` + ${f}-checked:not(${f}-disabled), + ${k}-checked:not(${k}-disabled) + `]:{[`&:hover ${k}-inner`]:{backgroundColor:s.colorPrimaryHover,borderColor:"transparent"}}},{[k]:{"&-indeterminate":{[`${k}-inner`]:{backgroundColor:s.colorBgContainer,borderColor:s.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:s.calc(s.fontSizeLG).div(2).equal(),height:s.calc(s.fontSizeLG).div(2).equal(),backgroundColor:s.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${f}-disabled`]:{cursor:"not-allowed"},[`${k}-disabled`]:{[`&, ${k}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${k}-inner`]:{background:s.colorBgContainerDisabled,borderColor:s.colorBorder,"&:after":{borderColor:s.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:s.colorTextDisabled},[`&${k}-indeterminate ${k}-inner::after`]:{background:s.colorTextDisabled}}}]};function D(s,k){const f=(0,A.TS)(k,{checkboxCls:`.${s}`,checkboxSize:k.controlInteractiveSize});return[ye(f)]}fe.ZP=(0,ge.I$)("Checkbox",(s,k)=>{let{prefixCls:f}=k;return[D(f,s)]})},32157:function(ke,fe,a){a.d(fe,{TM:function(){return I},Yk:function(){return te}});var y=a(54548),oe=a(63185),A=a(14747),ge=a(33507),ye=a(45503),D=a(91945);const s=new y.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),k=(p,r)=>({[`.${p}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${r.motionDurationSlow}`}}}),f=(p,r)=>({[`.${p}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:r.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,y.bf)(r.lineWidthBold)} solid ${r.colorPrimary}`,borderRadius:"50%",content:'""'}}}),x=(p,r)=>{const{treeCls:K,treeNodeCls:F,treeNodePadding:ne,titleHeight:O,nodeSelectedBg:i,nodeHoverBg:v}=r,N=r.paddingXS;return{[K]:Object.assign(Object.assign({},(0,A.Wf)(r)),{background:r.colorBgContainer,borderRadius:r.borderRadius,transition:`background-color ${r.motionDurationSlow}`,[`&${K}-rtl`]:{[`${K}-switcher`]:{"&_close":{[`${K}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${K}-active-focused)`]:Object.assign({},(0,A.oN)(r)),[`${K}-list-holder-inner`]:{alignItems:"flex-start"},[`&${K}-block-node`]:{[`${K}-list-holder-inner`]:{alignItems:"stretch",[`${K}-node-content-wrapper`]:{flex:"auto"},[`${F}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:ne,insetInlineStart:0,border:`1px solid ${r.colorPrimary}`,opacity:0,animationName:s,animationDuration:r.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${F}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,y.bf)(ne)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${K}-node-content-wrapper`]:{color:r.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${K}-node-content-wrapper`]:{background:r.controlItemBgHover},[`&:not(${F}-disabled).filter-node ${K}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",[`${K}-draggable-icon`]:{flexShrink:0,width:O,lineHeight:`${(0,y.bf)(O)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${r.motionDurationSlow}`,[`${F}:hover &`]:{opacity:.45}},[`&${F}-disabled`]:{[`${K}-draggable-icon`]:{visibility:"hidden"}}}},[`${K}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:O}},[`${K}-draggable-icon`]:{visibility:"hidden"},[`${K}-switcher`]:Object.assign(Object.assign({},k(p,r)),{position:"relative",flex:"none",alignSelf:"stretch",width:O,margin:0,lineHeight:`${(0,y.bf)(O)}`,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${r.motionDurationSlow}`,borderRadius:r.borderRadius,"&-noop":{cursor:"unset"},[`&:not(${K}-switcher-noop):hover`]:{backgroundColor:r.colorBgTextHover},"&_close":{[`${K}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:r.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:r.calc(O).div(2).equal(),bottom:r.calc(ne).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${r.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:r.calc(r.calc(O).div(2).equal()).mul(.8).equal(),height:r.calc(O).div(2).equal(),borderBottom:`1px solid ${r.colorBorder}`,content:'""'}}}),[`${K}-checkbox`]:{top:"initial",marginInlineEnd:N,alignSelf:"flex-start",marginTop:r.marginXXS},[`${K}-node-content-wrapper, ${K}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:O,margin:0,padding:`0 ${(0,y.bf)(r.calc(r.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${(0,y.bf)(O)}`,background:"transparent",borderRadius:r.borderRadius,cursor:"pointer",transition:`all ${r.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:v},[`&${K}-node-selected`]:{backgroundColor:i},[`${K}-iconEle`]:{display:"inline-block",width:O,height:O,lineHeight:`${(0,y.bf)(O)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${K}-unselectable ${K}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${K}-node-content-wrapper`]:Object.assign({lineHeight:`${(0,y.bf)(O)}`,userSelect:"none"},f(p,r)),[`${F}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${r.colorPrimary}`}},"&-show-line":{[`${K}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:r.calc(O).div(2).equal(),bottom:r.calc(ne).mul(-1).equal(),borderInlineEnd:`1px solid ${r.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${K}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${F}-leaf-last`]:{[`${K}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,y.bf)(r.calc(O).div(2).equal())} !important`}}}}})}},Q=p=>{const{treeCls:r,treeNodeCls:K,treeNodePadding:F,directoryNodeSelectedBg:ne,directoryNodeSelectedColor:O}=p;return{[`${r}${r}-directory`]:{[K]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:F,insetInlineStart:0,transition:`background-color ${p.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:p.controlItemBgHover}},"> *":{zIndex:1},[`${r}-switcher`]:{transition:`color ${p.motionDurationMid}`},[`${r}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${r}-node-selected`]:{color:O,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:ne},[`${r}-switcher`]:{color:O},[`${r}-node-content-wrapper`]:{color:O,background:"transparent"}}}}}},te=(p,r)=>{const K=`.${p}`,F=`${K}-treenode`,ne=r.calc(r.paddingXS).div(2).equal(),O=(0,ye.TS)(r,{treeCls:K,treeNodeCls:F,treeNodePadding:ne});return[x(p,O),Q(O)]},I=p=>{const{controlHeightSM:r}=p;return{titleHeight:r,nodeHoverBg:p.controlItemBgHover,nodeSelectedBg:p.controlItemBgActive}},w=p=>{const{colorTextLightSolid:r,colorPrimary:K}=p;return Object.assign(Object.assign({},I(p)),{directoryNodeSelectedColor:r,directoryNodeSelectedBg:K})};fe.ZP=(0,D.I$)("Tree",(p,r)=>{let{prefixCls:K}=r;return[{[p.componentCls]:(0,oe.C2)(`${K}-checkbox`,p)},te(K,p),(0,ge.Z)(p)]},w)},77632:function(ke,fe,a){a.d(fe,{Z:function(){return h}});var y=a(67294),oe=a(87462),A={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"},ge=A,ye=a(93771),D=function(c,E){return y.createElement(ye.Z,(0,oe.Z)({},c,{ref:E,icon:ge}))},s=y.forwardRef(D),k=s,f=a(5309),x=a(19267),Q={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"},te=Q,I=function(c,E){return y.createElement(ye.Z,(0,oe.Z)({},c,{ref:E,icon:te}))},w=y.forwardRef(I),p=w,r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},K=r,F=function(c,E){return y.createElement(ye.Z,(0,oe.Z)({},c,{ref:E,icon:K}))},ne=y.forwardRef(F),O=ne,i=a(93967),v=a.n(i),N=a(96159),h=T=>{const{prefixCls:c,switcherIcon:E,treeNodeProps:t,showLine:j}=T,{isLeaf:M,expanded:_,loading:d}=t;if(d)return y.createElement(x.Z,{className:`${c}-switcher-loading-icon`});let l;if(j&&typeof j=="object"&&(l=j.showLeafIcon),M){if(!j)return null;if(typeof l!="boolean"&&!!l){const L=typeof l=="function"?l(t):l,z=`${c}-switcher-line-custom-icon`;return y.isValidElement(L)?(0,N.Tm)(L,{className:v()(L.props.className||"",z)}):L}return l?y.createElement(f.Z,{className:`${c}-switcher-line-icon`}):y.createElement("span",{className:`${c}-switcher-leaf-line`})}const C=`${c}-switcher-icon`,S=typeof E=="function"?E(t):E;return y.isValidElement(S)?(0,N.Tm)(S,{className:v()(S.props.className||"",C)}):S!==void 0?S:j?_?y.createElement(p,{className:`${c}-switcher-line-icon`}):y.createElement(O,{className:`${c}-switcher-line-icon`}):y.createElement(k,{className:C})}},5309:function(ke,fe,a){a.d(fe,{Z:function(){return k}});var y=a(87462),oe=a(67294),A={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"},ge=A,ye=a(93771),D=function(x,Q){return oe.createElement(ye.Z,(0,y.Z)({},x,{ref:Q,icon:ge}))},s=oe.forwardRef(D),k=s},86128:function(ke,fe,a){a.d(fe,{Z:function(){return h}});var y=a(87462),oe=a(45987),A=a(1413),ge=a(15671),ye=a(43144),D=a(97326),s=a(60136),k=a(29388),f=a(4942),x=a(93967),Q=a.n(x),te=a(64217),I=a(67294),w=a(27822),p=function(c){for(var E=c.prefixCls,t=c.level,j=c.isStart,M=c.isEnd,_="".concat(E,"-indent-unit"),d=[],l=0;l0&&arguments[0]!==void 0?arguments[0]:[],W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ee=g.length,e=W.length;if(Math.abs(ee-e)!==1)return{add:!1,key:null};function b(re,G){var n=new Map;re.forEach(function(o){n.set(o,!0)});var u=G.filter(function(o){return!n.has(o)});return u.length===1?u[0]:null}return ee ").concat(W);return W}var Oe=r.forwardRef(function(g,W){var ee=g.prefixCls,e=g.data,b=g.selectable,re=g.checkable,G=g.expandedKeys,n=g.selectedKeys,u=g.checkedKeys,o=g.loadedKeys,m=g.loadingKeys,Z=g.halfCheckedKeys,U=g.keyEntities,H=g.disabled,X=g.dragging,q=g.dragOverNodeKey,P=g.dropPosition,R=g.motion,le=g.height,ae=g.itemHeight,J=g.virtual,ie=g.focusable,ce=g.activeItem,Ke=g.focused,ve=g.tabIndex,pe=g.onKeyDown,Ze=g.onFocus,Ne=g.onBlur,he=g.onActiveChange,$e=g.onListChangeStart,Le=g.onListChangeEnd,Me=(0,i.Z)(g,l),Ie=r.useRef(null),Te=r.useRef(null);r.useImperativeHandle(W,function(){return{scrollTo:function(Re){Ie.current.scrollTo(Re)},getIndentWidth:function(){return Te.current.offsetWidth}}});var we=r.useState(G),Ge=(0,O.Z)(we,2),_e=Ge[0],qe=Ge[1],et=r.useState(e),Xe=(0,O.Z)(et,2),Ae=Xe[0],Ye=Xe[1],tt=r.useState(e),Je=(0,O.Z)(tt,2),nt=Je[0],We=Je[1],Ue=r.useState([]),it=(0,O.Z)(Ue,2),ct=it[0],rt=it[1],ut=r.useState(null),dt=(0,O.Z)(ut,2),ft=dt[0],ot=dt[1],st=r.useRef(e);st.current=e;function at(){var be=st.current;Ye(be),We(be),rt([]),ot(null),Le()}(0,v.Z)(function(){qe(G);var be=_(_e,G);if(be.key!==null)if(be.add){var Re=Ae.findIndex(function(ze){var Ve=ze.key;return Ve===be.key}),Be=de(d(Ae,e,be.key),J,le,ae),je=Ae.slice();je.splice(Re+1,0,Y),We(je),rt(Be),ot("show")}else{var He=e.findIndex(function(ze){var Ve=ze.key;return Ve===be.key}),Fe=de(d(e,Ae,be.key),J,le,ae),Qe=e.slice();Qe.splice(He+1,0,Y),We(Qe),rt(Fe),ot("hide")}else Ae!==e&&(Ye(e),We(e))},[G,e]),r.useEffect(function(){X||at()},[X]);var vt=R?nt:e,lt={expandedKeys:G,selectedKeys:n,loadedKeys:o,loadingKeys:m,checkedKeys:u,halfCheckedKeys:Z,dragOverNodeKey:q,dropPosition:P,keyEntities:U};return r.createElement(r.Fragment,null,Ke&&ce&&r.createElement("span",{style:C,"aria-live":"assertive"},Se(ce)),r.createElement("div",null,r.createElement("input",{style:C,disabled:ie===!1||H,tabIndex:ie!==!1?ve:null,onKeyDown:pe,onFocus:Ze,onBlur:Ne,value:"",onChange:S,"aria-label":"for screen reader"})),r.createElement("div",{className:"".concat(ee,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},r.createElement("div",{className:"".concat(ee,"-indent")},r.createElement("div",{ref:Te,className:"".concat(ee,"-indent-unit")}))),r.createElement(N.Z,(0,y.Z)({},Me,{data:vt,itemKey:B,height:le,fullHeight:!1,virtual:J,itemHeight:ae,prefixCls:"".concat(ee,"-list"),ref:Ie,onVisibleChange:function(Re,Be){var je=new Set(Re),He=Be.filter(function(Fe){return!je.has(Fe)});He.some(function(Fe){return B(Fe)===L})&&at()}}),function(be){var Re=be.pos,Be=Object.assign({},(ne(be.data),be.data)),je=be.title,He=be.key,Fe=be.isStart,Qe=be.isEnd,ze=(0,c.km)(He,Re);delete Be.key,delete Be.children;var Ve=(0,c.H8)(ze,lt);return r.createElement(M,(0,y.Z)({},Be,Ve,{title:je,active:!!ce&&He===ce.key,pos:Re,data:be.data,isStart:Fe,isEnd:Qe,motion:R,motionNodes:He===L?ct:null,motionType:ft,onMotionStart:$e,onMotionEnd:at,treeNodeRequiredProps:lt,onMouseMove:function(){he(null)}}))}))});Oe.displayName="NodeList";var De=Oe,V=a(10225),se=a(17341),xe=a(35381),Pe=10,Ee=function(g){(0,k.Z)(ee,g);var W=(0,f.Z)(ee);function ee(){var e;(0,ye.Z)(this,ee);for(var b=arguments.length,re=new Array(b),G=0;G2&&arguments[2]!==void 0?arguments[2]:!1,Z=e.state,U=Z.dragChildrenKeys,H=Z.dropPosition,X=Z.dropTargetKey,q=Z.dropTargetPos,P=Z.dropAllowed;if(!!P){var R=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),X!==null){var le=(0,A.Z)((0,A.Z)({},(0,c.H8)(X,e.getTreeNodeRequiredProps())),{},{active:((o=e.getActiveItem())===null||o===void 0?void 0:o.key)===X,data:(0,xe.Z)(e.state.keyEntities,X).node}),ae=U.indexOf(X)!==-1;(0,p.ZP)(!ae,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var J=(0,V.yx)(q),ie={event:n,node:(0,c.F)(le),dragNode:e.dragNode?(0,c.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(U),dropToGap:H!==0,dropPosition:H+Number(J[J.length-1])};m||R==null||R(ie),e.dragNode=null}}}),(0,x.Z)((0,s.Z)(e),"cleanDragState",function(){var n=e.state.draggingNodeKey;n!==null&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null}),(0,x.Z)((0,s.Z)(e),"triggerExpandActionExpand",function(n,u){var o=e.state,m=o.expandedKeys,Z=o.flattenNodes,U=u.expanded,H=u.key,X=u.isLeaf;if(!(X||n.shiftKey||n.metaKey||n.ctrlKey)){var q=Z.filter(function(R){return R.key===H})[0],P=(0,c.F)((0,A.Z)((0,A.Z)({},(0,c.H8)(H,e.getTreeNodeRequiredProps())),{},{data:q.data}));e.setExpandedKeys(U?(0,V._5)(m,H):(0,V.L0)(m,H)),e.onNodeExpand(n,P)}}),(0,x.Z)((0,s.Z)(e),"onNodeClick",function(n,u){var o=e.props,m=o.onClick,Z=o.expandAction;Z==="click"&&e.triggerExpandActionExpand(n,u),m==null||m(n,u)}),(0,x.Z)((0,s.Z)(e),"onNodeDoubleClick",function(n,u){var o=e.props,m=o.onDoubleClick,Z=o.expandAction;Z==="doubleClick"&&e.triggerExpandActionExpand(n,u),m==null||m(n,u)}),(0,x.Z)((0,s.Z)(e),"onNodeSelect",function(n,u){var o=e.state.selectedKeys,m=e.state,Z=m.keyEntities,U=m.fieldNames,H=e.props,X=H.onSelect,q=H.multiple,P=u.selected,R=u[U.key],le=!P;le?q?o=(0,V.L0)(o,R):o=[R]:o=(0,V._5)(o,R);var ae=o.map(function(J){var ie=(0,xe.Z)(Z,J);return ie?ie.node:null}).filter(function(J){return J});e.setUncontrolledState({selectedKeys:o}),X==null||X(o,{event:"select",selected:le,node:u,selectedNodes:ae,nativeEvent:n.nativeEvent})}),(0,x.Z)((0,s.Z)(e),"onNodeCheck",function(n,u,o){var m=e.state,Z=m.keyEntities,U=m.checkedKeys,H=m.halfCheckedKeys,X=e.props,q=X.checkStrictly,P=X.onCheck,R=u.key,le,ae={event:"check",node:u,checked:o,nativeEvent:n.nativeEvent};if(q){var J=o?(0,V.L0)(U,R):(0,V._5)(U,R),ie=(0,V._5)(H,R);le={checked:J,halfChecked:ie},ae.checkedNodes=J.map(function(Ne){return(0,xe.Z)(Z,Ne)}).filter(function(Ne){return Ne}).map(function(Ne){return Ne.node}),e.setUncontrolledState({checkedKeys:J})}else{var ce=(0,se.S)([].concat((0,ge.Z)(U),[R]),!0,Z),Ke=ce.checkedKeys,ve=ce.halfCheckedKeys;if(!o){var pe=new Set(Ke);pe.delete(R);var Ze=(0,se.S)(Array.from(pe),{checked:!1,halfCheckedKeys:ve},Z);Ke=Ze.checkedKeys,ve=Ze.halfCheckedKeys}le=Ke,ae.checkedNodes=[],ae.checkedNodesPositions=[],ae.halfCheckedKeys=ve,Ke.forEach(function(Ne){var he=(0,xe.Z)(Z,Ne);if(!!he){var $e=he.node,Le=he.pos;ae.checkedNodes.push($e),ae.checkedNodesPositions.push({node:$e,pos:Le})}}),e.setUncontrolledState({checkedKeys:Ke},!1,{halfCheckedKeys:ve})}P==null||P(le,ae)}),(0,x.Z)((0,s.Z)(e),"onNodeLoad",function(n){var u,o=n.key,m=e.state.keyEntities,Z=(0,xe.Z)(m,o);if(!(Z!=null&&(u=Z.children)!==null&&u!==void 0&&u.length)){var U=new Promise(function(H,X){e.setState(function(q){var P=q.loadedKeys,R=P===void 0?[]:P,le=q.loadingKeys,ae=le===void 0?[]:le,J=e.props,ie=J.loadData,ce=J.onLoad;if(!ie||R.indexOf(o)!==-1||ae.indexOf(o)!==-1)return null;var Ke=ie(n);return Ke.then(function(){var ve=e.state.loadedKeys,pe=(0,V.L0)(ve,o);ce==null||ce(pe,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:pe}),e.setState(function(Ze){return{loadingKeys:(0,V._5)(Ze.loadingKeys,o)}}),H()}).catch(function(ve){if(e.setState(function(Ze){return{loadingKeys:(0,V._5)(Ze.loadingKeys,o)}}),e.loadingRetryTimes[o]=(e.loadingRetryTimes[o]||0)+1,e.loadingRetryTimes[o]>=Pe){var pe=e.state.loadedKeys;(0,p.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,V.L0)(pe,o)}),H()}X(ve)}),{loadingKeys:(0,V.L0)(ae,o)}})});return U.catch(function(){}),U}}),(0,x.Z)((0,s.Z)(e),"onNodeMouseEnter",function(n,u){var o=e.props.onMouseEnter;o==null||o({event:n,node:u})}),(0,x.Z)((0,s.Z)(e),"onNodeMouseLeave",function(n,u){var o=e.props.onMouseLeave;o==null||o({event:n,node:u})}),(0,x.Z)((0,s.Z)(e),"onNodeContextMenu",function(n,u){var o=e.props.onRightClick;o&&(n.preventDefault(),o({event:n,node:u}))}),(0,x.Z)((0,s.Z)(e),"onFocus",function(){var n=e.props.onFocus;e.setState({focused:!0});for(var u=arguments.length,o=new Array(u),m=0;m1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!e.destroyed){var m=!1,Z=!0,U={};Object.keys(n).forEach(function(H){if(H in e.props){Z=!1;return}m=!0,U[H]=n[H]}),m&&(!u||Z)&&e.setState((0,A.Z)((0,A.Z)({},U),o))}}),(0,x.Z)((0,s.Z)(e),"scrollTo",function(n){e.listRef.current.scrollTo(n)}),e}return(0,D.Z)(ee,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var b=this.props,re=b.activeKey,G=b.itemScrollOffset,n=G===void 0?0:G;re!==void 0&&re!==this.state.activeKey&&(this.setState({activeKey:re}),re!==null&&this.scrollTo({key:re,offset:n}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var b=this.state,re=b.focused,G=b.flattenNodes,n=b.keyEntities,u=b.draggingNodeKey,o=b.activeKey,m=b.dropLevelOffset,Z=b.dropContainerKey,U=b.dropTargetKey,H=b.dropPosition,X=b.dragOverNodeKey,q=b.indent,P=this.props,R=P.prefixCls,le=P.className,ae=P.style,J=P.showLine,ie=P.focusable,ce=P.tabIndex,Ke=ce===void 0?0:ce,ve=P.selectable,pe=P.showIcon,Ze=P.icon,Ne=P.switcherIcon,he=P.draggable,$e=P.checkable,Le=P.checkStrictly,Me=P.disabled,Ie=P.motion,Te=P.loadData,we=P.filterTreeNode,Ge=P.height,_e=P.itemHeight,qe=P.virtual,et=P.titleRender,Xe=P.dropIndicatorRender,Ae=P.onContextMenu,Ye=P.onScroll,tt=P.direction,Je=P.rootClassName,nt=P.rootStyle,We=(0,w.Z)(this.props,{aria:!0,data:!0}),Ue;return he&&((0,oe.Z)(he)==="object"?Ue=he:typeof he=="function"?Ue={nodeDraggable:he}:Ue={}),r.createElement(K.k.Provider,{value:{prefixCls:R,selectable:ve,showIcon:pe,icon:Ze,switcherIcon:Ne,draggable:Ue,draggingNodeKey:u,checkable:$e,checkStrictly:Le,disabled:Me,keyEntities:n,dropLevelOffset:m,dropContainerKey:Z,dropTargetKey:U,dropPosition:H,dragOverNodeKey:X,indent:q,direction:tt,dropIndicatorRender:Xe,loadData:Te,filterTreeNode:we,titleRender:et,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},r.createElement("div",{role:"tree",className:te()(R,le,Je,(0,x.Z)((0,x.Z)((0,x.Z)({},"".concat(R,"-show-line"),J),"".concat(R,"-focused"),re),"".concat(R,"-active-focused"),o!==null)),style:nt},r.createElement(De,(0,y.Z)({ref:this.listRef,prefixCls:R,style:ae,data:G,disabled:Me,selectable:ve,checkable:!!$e,motion:Ie,dragging:u!==null,height:Ge,itemHeight:_e,virtual:qe,focusable:ie,focused:re,tabIndex:Ke,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ae,onScroll:Ye},this.getTreeNodeRequiredProps(),We))))}}],[{key:"getDerivedStateFromProps",value:function(b,re){var G=re.prevProps,n={prevProps:b};function u(ce){return!G&&ce in b||G&&G[ce]!==b[ce]}var o,m=re.fieldNames;if(u("fieldNames")&&(m=(0,c.w$)(b.fieldNames),n.fieldNames=m),u("treeData")?o=b.treeData:u("children")&&((0,p.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),o=(0,c.zn)(b.children)),o){n.treeData=o;var Z=(0,c.I8)(o,{fieldNames:m});n.keyEntities=(0,A.Z)((0,x.Z)({},L,ue),Z.keyEntities)}var U=n.keyEntities||re.keyEntities;if(u("expandedKeys")||G&&u("autoExpandParent"))n.expandedKeys=b.autoExpandParent||!G&&b.defaultExpandParent?(0,V.r7)(b.expandedKeys,U):b.expandedKeys;else if(!G&&b.defaultExpandAll){var H=(0,A.Z)({},U);delete H[L],n.expandedKeys=Object.keys(H).map(function(ce){return H[ce].key})}else!G&&b.defaultExpandedKeys&&(n.expandedKeys=b.autoExpandParent||b.defaultExpandParent?(0,V.r7)(b.defaultExpandedKeys,U):b.defaultExpandedKeys);if(n.expandedKeys||delete n.expandedKeys,o||n.expandedKeys){var X=(0,c.oH)(o||re.treeData,n.expandedKeys||re.expandedKeys,m);n.flattenNodes=X}if(b.selectable&&(u("selectedKeys")?n.selectedKeys=(0,V.BT)(b.selectedKeys,b):!G&&b.defaultSelectedKeys&&(n.selectedKeys=(0,V.BT)(b.defaultSelectedKeys,b))),b.checkable){var q;if(u("checkedKeys")?q=(0,V.E6)(b.checkedKeys)||{}:!G&&b.defaultCheckedKeys?q=(0,V.E6)(b.defaultCheckedKeys)||{}:o&&(q=(0,V.E6)(b.checkedKeys)||{checkedKeys:re.checkedKeys,halfCheckedKeys:re.halfCheckedKeys}),q){var P=q,R=P.checkedKeys,le=R===void 0?[]:R,ae=P.halfCheckedKeys,J=ae===void 0?[]:ae;if(!b.checkStrictly){var ie=(0,se.S)(le,!0,U);le=ie.checkedKeys,J=ie.halfCheckedKeys}n.checkedKeys=le,n.halfCheckedKeys=J}}return u("loadedKeys")&&(n.loadedKeys=b.loadedKeys),n}}]),ee}(r.Component);(0,x.Z)(Ee,"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:[],dropIndicatorRender:F,allowDrop:function(){return!0},expandAction:!1}),(0,x.Z)(Ee,"TreeNode",h.Z);var Ce=Ee,me=Ce},10225:function(ke,fe,a){a.d(fe,{BT:function(){return r},E6:function(){return ne},L0:function(){return x},OM:function(){return p},_5:function(){return f},r7:function(){return O},wA:function(){return te},yx:function(){return Q}});var y=a(74902),oe=a(71002),A=a(80334),ge=a(67294),ye=a(86128),D=a(35381),s=a(1089),k=null;function f(i,v){if(!i)return[];var N=i.slice(),$=N.indexOf(v);return $>=0&&N.splice($,1),N}function x(i,v){var N=(i||[]).slice();return N.indexOf(v)===-1&&N.push(v),N}function Q(i){return i.split("-")}function te(i,v){var N=[],$=(0,D.Z)(v,i);function h(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];T.forEach(function(c){var E=c.key,t=c.children;N.push(E),h(t)})}return h($.children),N}function I(i){if(i.parent){var v=Q(i.pos);return Number(v[v.length-1])===i.parent.children.length-1}return!1}function w(i){var v=Q(i.pos);return Number(v[v.length-1])===0}function p(i,v,N,$,h,T,c,E,t,j){var M,_=i.clientX,d=i.clientY,l=i.target.getBoundingClientRect(),C=l.top,S=l.height,L=(j==="rtl"?-1:1)*(((h==null?void 0:h.x)||0)-_),z=(L-12)/$,ue=t.filter(function(g){var W;return(W=E[g])===null||W===void 0||(W=W.children)===null||W===void 0?void 0:W.length}),Y=(0,D.Z)(E,N.props.eventKey);if(d-1.5?T({dragNode:Ee,dropNode:Ce,dropPosition:1})?se=1:me=!1:T({dragNode:Ee,dropNode:Ce,dropPosition:0})?se=0:T({dragNode:Ee,dropNode:Ce,dropPosition:1})?se=1:me=!1:T({dragNode:Ee,dropNode:Ce,dropPosition:1})?se=1:me=!1,{dropPosition:se,dropLevelOffset:xe,dropTargetKey:Y.key,dropTargetPos:Y.pos,dragOverNodeKey:V,dropContainerKey:se===0?null:((M=Y.parent)===null||M===void 0?void 0:M.key)||null,dropAllowed:me}}function r(i,v){if(!!i){var N=v.multiple;return N?i.slice():i.length?[i[0]]:i}}var K=function(v){return v};function F(i,v){if(!i)return[];var N=v||{},$=N.processProps,h=$===void 0?K:$,T=Array.isArray(i)?i:[i];return T.map(function(c){var E=c.children,t=_objectWithoutProperties(c,k),j=F(E,v);return React.createElement(TreeNode,_extends({key:t.key},h(t)),j)})}function ne(i){if(!i)return null;var v;if(Array.isArray(i))v={checkedKeys:i,halfCheckedKeys:void 0};else if((0,oe.Z)(i)==="object")v={checkedKeys:i.checked||void 0,halfCheckedKeys:i.halfChecked||void 0};else return(0,A.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return v}function O(i,v){var N=new Set;function $(h){if(!N.has(h)){var T=(0,D.Z)(v,h);if(!!T){N.add(h);var c=T.parent,E=T.node;E.disabled||c&&$(c.key)}}}return(i||[]).forEach(function(h){$(h)}),(0,y.Z)(N)}},17341:function(ke,fe,a){a.d(fe,{S:function(){return s}});var y=a(80334),oe=a(35381);function A(k,f){var x=new Set;return k.forEach(function(Q){f.has(Q)||x.add(Q)}),x}function ge(k){var f=k||{},x=f.disabled,Q=f.disableCheckbox,te=f.checkable;return!!(x||Q)||te===!1}function ye(k,f,x,Q){for(var te=new Set(k),I=new Set,w=0;w<=x;w+=1){var p=f.get(w)||new Set;p.forEach(function(ne){var O=ne.key,i=ne.node,v=ne.children,N=v===void 0?[]:v;te.has(O)&&!Q(i)&&N.filter(function($){return!Q($.node)}).forEach(function($){te.add($.key)})})}for(var r=new Set,K=x;K>=0;K-=1){var F=f.get(K)||new Set;F.forEach(function(ne){var O=ne.parent,i=ne.node;if(!(Q(i)||!ne.parent||r.has(ne.parent.key))){if(Q(ne.parent.node)){r.add(O.key);return}var v=!0,N=!1;(O.children||[]).filter(function($){return!Q($.node)}).forEach(function($){var h=$.key,T=te.has(h);v&&!T&&(v=!1),!N&&(T||I.has(h))&&(N=!0)}),v&&te.add(O.key),N&&I.add(O.key),r.add(O.key)}})}return{checkedKeys:Array.from(te),halfCheckedKeys:Array.from(A(I,te))}}function D(k,f,x,Q,te){for(var I=new Set(k),w=new Set(f),p=0;p<=Q;p+=1){var r=x.get(p)||new Set;r.forEach(function(O){var i=O.key,v=O.node,N=O.children,$=N===void 0?[]:N;!I.has(i)&&!w.has(i)&&!te(v)&&$.filter(function(h){return!te(h.node)}).forEach(function(h){I.delete(h.key)})})}w=new Set;for(var K=new Set,F=Q;F>=0;F-=1){var ne=x.get(F)||new Set;ne.forEach(function(O){var i=O.parent,v=O.node;if(!(te(v)||!O.parent||K.has(O.parent.key))){if(te(O.parent.node)){K.add(i.key);return}var N=!0,$=!1;(i.children||[]).filter(function(h){return!te(h.node)}).forEach(function(h){var T=h.key,c=I.has(T);N&&!c&&(N=!1),!$&&(c||w.has(T))&&($=!0)}),N||I.delete(i.key),$&&w.add(i.key),K.add(i.key)}})}return{checkedKeys:Array.from(I),halfCheckedKeys:Array.from(A(w,I))}}function s(k,f,x,Q){var te=[],I;Q?I=Q:I=ge;var w=new Set(k.filter(function(F){var ne=!!(0,oe.Z)(x,F);return ne||te.push(F),ne})),p=new Map,r=0;Object.keys(x).forEach(function(F){var ne=x[F],O=ne.level,i=p.get(O);i||(i=new Set,p.set(O,i)),i.add(ne),r=Math.max(r,O)}),(0,y.ZP)(!te.length,"Tree missing follow keys: ".concat(te.slice(0,100).map(function(F){return"'".concat(F,"'")}).join(", ")));var K;return f===!0?K=ye(w,p,r,I):K=D(w,f.halfCheckedKeys,p,r,I),K}},35381:function(ke,fe,a){a.d(fe,{Z:function(){return y}});function y(oe,A){return oe[A]}},1089:function(ke,fe,a){a.d(fe,{F:function(){return O},H8:function(){return ne},I8:function(){return F},km:function(){return te},oH:function(){return r},w$:function(){return I},zn:function(){return p}});var y=a(71002),oe=a(74902),A=a(1413),ge=a(45987),ye=a(50344),D=a(98423),s=a(80334),k=a(35381),f=["children"];function x(i,v){return"".concat(i,"-").concat(v)}function Q(i){return i&&i.type&&i.type.isTreeNode}function te(i,v){return i!=null?i:v}function I(i){var v=i||{},N=v.title,$=v._title,h=v.key,T=v.children,c=N||"title";return{title:c,_title:$||[c],key:h||"key",children:T||"children"}}function w(i,v){var N=new Map;function $(h){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(c){var E=c[v.key],t=c[v.children];warning(E!=null,"Tree node must have a certain key: [".concat(T).concat(E,"]"));var j=String(E);warning(!N.has(j)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(j)),N.set(j,!0),$(t,"".concat(T).concat(j," > "))})}$(i)}function p(i){function v(N){var $=(0,ye.Z)(N);return $.map(function(h){if(!Q(h))return(0,s.ZP)(!h,"Tree/TreeNode can only accept TreeNode as children."),null;var T=h.key,c=h.props,E=c.children,t=(0,ge.Z)(c,f),j=(0,A.Z)({key:T},t),M=v(E);return M.length&&(j.children=M),j}).filter(function(h){return h})}return v(i)}function r(i,v,N){var $=I(N),h=$._title,T=$.key,c=$.children,E=new Set(v===!0?[]:v),t=[];function j(M){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return M.map(function(d,l){for(var C=x(_?_.pos:"0",l),S=te(d[T],C),L,z=0;z1&&arguments[1]!==void 0?arguments[1]:{},N=v.initWrapper,$=v.processEntity,h=v.onProcessFinished,T=v.externalGetKey,c=v.childrenPropName,E=v.fieldNames,t=arguments.length>2?arguments[2]:void 0,j=T||t,M={},_={},d={posEntities:M,keyEntities:_};return N&&(d=N(d)||d),K(i,function(l){var C=l.node,S=l.index,L=l.pos,z=l.key,ue=l.parentPos,Y=l.level,de=l.nodes,B={node:C,nodes:de,index:S,key:z,pos:L,level:Y},Se=te(z,L);M[L]=B,_[Se]=B,B.parent=M[ue],B.parent&&(B.parent.children=B.parent.children||[],B.parent.children.push(B)),$&&$(B,d)},{externalGetKey:j,childrenPropName:c,fieldNames:E}),h&&h(d),d}function ne(i,v){var N=v.expandedKeys,$=v.selectedKeys,h=v.loadedKeys,T=v.loadingKeys,c=v.checkedKeys,E=v.halfCheckedKeys,t=v.dragOverNodeKey,j=v.dropPosition,M=v.keyEntities,_=(0,k.Z)(M,i),d={eventKey:i,expanded:N.indexOf(i)!==-1,selected:$.indexOf(i)!==-1,loaded:h.indexOf(i)!==-1,loading:T.indexOf(i)!==-1,checked:c.indexOf(i)!==-1,halfChecked:E.indexOf(i)!==-1,pos:String(_?_.pos:""),dragOver:t===i&&j===0,dragOverGapTop:t===i&&j===-1,dragOverGapBottom:t===i&&j===1};return d}function O(i){var v=i.data,N=i.expanded,$=i.selected,h=i.checked,T=i.loaded,c=i.loading,E=i.halfChecked,t=i.dragOver,j=i.dragOverGapTop,M=i.dragOverGapBottom,_=i.pos,d=i.active,l=i.eventKey,C=(0,A.Z)((0,A.Z)({},v),{},{expanded:N,selected:$,checked:h,loaded:T,loading:c,halfChecked:E,dragOver:t,dragOverGapTop:j,dragOverGapBottom:M,pos:_,active:d,key:l});return"props"in C||Object.defineProperty(C,"props",{get:function(){return(0,s.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),i}}),C}},64019:function(ke,fe,a){a.d(fe,{Z:function(){return oe}});var y=a(73935);function oe(A,ge,ye,D){var s=y.unstable_batchedUpdates?function(f){y.unstable_batchedUpdates(ye,f)}:ye;return A!=null&&A.addEventListener&&A.addEventListener(ge,s,D),{remove:function(){A!=null&&A.removeEventListener&&A.removeEventListener(ge,s,D)}}}},27678:function(ke,fe,a){a.d(fe,{g1:function(){return Q},os:function(){return I}});var y=/margin|padding|width|height|max|min|offset/,oe={left:!0,top:!0},A={cssFloat:1,styleFloat:1,float:1};function ge(w){return w.nodeType===1?w.ownerDocument.defaultView.getComputedStyle(w,null):{}}function ye(w,p,r){if(p=p.toLowerCase(),r==="auto"){if(p==="height")return w.offsetHeight;if(p==="width")return w.offsetWidth}return p in oe||(oe[p]=y.test(p)),oe[p]?parseFloat(r)||0:r}function D(w,p){var r=arguments.length,K=ge(w);return p=A[p]?"cssFloat"in w.style?"cssFloat":"styleFloat":p,r===1?K:ye(w,p,K[p]||w.style[p])}function s(w,p,r){var K=arguments.length;if(p=A[p]?"cssFloat"in w.style?"cssFloat":"styleFloat":p,K===3)return typeof r=="number"&&y.test(p)&&(r="".concat(r,"px")),w.style[p]=r,r;for(var F in p)p.hasOwnProperty(F)&&s(w,F,p[F]);return ge(w)}function k(w){return w===document.body?document.documentElement.clientWidth:w.offsetWidth}function f(w){return w===document.body?window.innerHeight||document.documentElement.clientHeight:w.offsetHeight}function x(){var w=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),p=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:w,height:p}}function Q(){var w=document.documentElement.clientWidth,p=window.innerHeight||document.documentElement.clientHeight;return{width:w,height:p}}function te(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function I(w){var p=w.getBoundingClientRect(),r=document.documentElement;return{left:p.left+(window.pageXOffset||r.scrollLeft)-(r.clientLeft||document.body.clientLeft||0),top:p.top+(window.pageYOffset||r.scrollTop)-(r.clientTop||document.body.clientTop||0)}}}}]); diff --git a/statics/9400.559cafa0.async.js b/statics/9400.559cafa0.async.js deleted file mode 100644 index b30f4ae9..00000000 --- a/statics/9400.559cafa0.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9400],{86743:function(Ce,V,c){var k=c(30470),I=c(67294),n=c(71577),H=c(87149);function U(A){return!!(A&&A.then)}const X=A=>{const{type:J,children:q,prefixCls:F,buttonProps:L,close:Z,autoFocus:$,emitEvent:K,quitOnNullishReturnValue:D,actionFn:M}=A,N=I.useRef(!1),Q=I.useRef(null),[_,S]=(0,k.Z)(!1),w=function(){Z==null||Z.apply(void 0,arguments)};I.useEffect(()=>{let p=null;return $&&(p=setTimeout(()=>{var y;(y=Q.current)===null||y===void 0||y.focus()})),()=>{p&&clearTimeout(p)}},[]);const Y=p=>{!U(p)||(S(!0),p.then(function(){S(!1,!0),w.apply(void 0,arguments),N.current=!1},y=>(S(!1,!0),N.current=!1,Promise.reject(y))))},G=p=>{if(N.current)return;if(N.current=!0,!M){w();return}let y;if(K){if(y=M(p),D&&!U(y)){N.current=!1,w(p);return}}else if(M.length)y=M(Z),N.current=!1;else if(y=M(),!y){w();return}Y(y)};return I.createElement(n.ZP,Object.assign({},(0,H.n)(J),{onClick:G,loading:_,prefixCls:F},L,{ref:Q}),q)};V.Z=X},69400:function(Ce,V,c){c.d(V,{Z:function(){return Ne}});var k=c(74902),I=c(38135),n=c(67294),H=c(58720),U=c(76278),X=c(41322),A=c(26702),J=c(1558),q=c(94184),F=c.n(q),L=c(74342),Z=c(86743),$=c(33603),K=c(13328),D=c(53124),M=c(65223),N=c(4173),Q=c(31808),_=c(62208),S=c(71577),w=c(87149),Y=c(83008),G=c(71194),p=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);ln.createElement(n.Fragment,null,n.createElement(S.ZP,Object.assign({onClick:g},i),t||a.cancelText),n.createElement(S.ZP,Object.assign({},(0,w.n)(r),{loading:l,onClick:d},m),o||a.okText))):s}function ve(e){const{prefixCls:o,className:r,closeIcon:t,closable:l,type:d,title:g,children:m}=e,i=p(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:s}=n.useContext(D.E_),a=s(),C=o||s("modal"),[,u]=(0,G.Z)(C),f=`${C}-confirm`;let x={};return d?x={closable:l!=null?l:!1,title:"",footer:"",children:n.createElement(le,Object.assign({},e,{confirmPrefixCls:f,rootPrefixCls:a,content:m}))}:x={closable:l!=null?l:!0,title:g,footer:ne(e),children:m},n.createElement(K.s,Object.assign({prefixCls:C,className:F()(u,`${C}-pure-panel`,d&&f,d&&`${f}-${d}`,r)},i,{closeIcon:y(C,t),closable:l},x))}var ge=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);l{ee={x:e.pageX,y:e.pageY},setTimeout(()=>{ee=null},100)};(0,Q.jD)()&&document.documentElement.addEventListener("click",xe,!0);var oe=e=>{var o;const{getPopupContainer:r,getPrefixCls:t,direction:l}=n.useContext(D.E_),d=W=>{const{onCancel:T}=e;T==null||T(W)},g=W=>{const{onOk:T}=e;T==null||T(W)},{prefixCls:m,className:i,open:s,wrapClassName:a,centered:C,getContainer:u,closeIcon:f,focusTriggerAfterClose:x=!0,visible:v,width:b=520}=e,P=ge(e,["prefixCls","className","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","visible","width"]),E=t("modal",m),j=t(),[O,B]=(0,G.Z)(E),te=F()(a,{[`${E}-centered`]:!!C,[`${E}-wrap-rtl`]:l==="rtl"});return O(n.createElement(N.BR,null,n.createElement(M.Ux,{status:!0,override:!0},n.createElement(K.Z,Object.assign({width:b},P,{getContainer:u===void 0?r:u,prefixCls:E,rootClassName:B,wrapClassName:te,footer:ne(Object.assign(Object.assign({},e),{onOk:g,onCancel:d})),visible:s!=null?s:v,mousePosition:(o=P.mousePosition)!==null&&o!==void 0?o:ee,onClose:d,closeIcon:y(E,f),focusTriggerAfterClose:x,transitionName:(0,$.mL)(j,"zoom",e.transitionName),maskTransitionName:(0,$.mL)(j,"fade",e.maskTransitionName),className:F()(B,i)})))))};function le(e){const{icon:o,onCancel:r,onOk:t,close:l,okText:d,okButtonProps:g,cancelText:m,cancelButtonProps:i,confirmPrefixCls:s,rootPrefixCls:a,type:C,okCancel:u,footer:f,locale:x}=e;let v=o;if(!o&&o!==null)switch(C){case"info":v=n.createElement(J.Z,null);break;case"success":v=n.createElement(U.Z,null);break;case"error":v=n.createElement(X.Z,null);break;default:v=n.createElement(A.Z,null)}const b=e.okType||"primary",P=u!=null?u:C==="confirm",E=e.autoFocusButton===null?!1:e.autoFocusButton||"ok";return n.createElement(L.Z,{componentName:"Modal"},j=>{const O=x||j,B=P&&n.createElement(Z.Z,{actionFn:r,close:l,autoFocus:E==="cancel",buttonProps:i,prefixCls:`${a}-btn`},m||(O==null?void 0:O.cancelText));return n.createElement("div",{className:`${s}-body-wrapper`},n.createElement("div",{className:`${s}-body`},v,e.title===void 0?null:n.createElement("span",{className:`${s}-title`},e.title),n.createElement("div",{className:`${s}-content`},e.content)),f!==void 0?f:n.createElement("div",{className:`${s}-btns`},B,n.createElement(Z.Z,{type:b,actionFn:t,close:l,autoFocus:E==="ok",buttonProps:g,prefixCls:`${a}-btn`},d||(P?O==null?void 0:O.okText:O==null?void 0:O.justOkText))))})}var re=e=>{const{close:o,zIndex:r,afterClose:t,visible:l,open:d,keyboard:g,centered:m,getContainer:i,maskStyle:s,direction:a,prefixCls:C,wrapClassName:u,rootPrefixCls:f,iconPrefixCls:x,bodyStyle:v,closable:b=!1,closeIcon:P,modalRender:E,focusTriggerAfterClose:j}=e,O=`${C}-confirm`,B=e.width||416,te=e.style||{},W=e.mask===void 0?!0:e.mask,T=e.maskClosable===void 0?!1:e.maskClosable,Ie=F()(O,`${O}-${e.type}`,{[`${O}-rtl`]:a==="rtl"},e.className);return n.createElement(H.ZP,{prefixCls:f,iconPrefixCls:x,direction:a},n.createElement(oe,{prefixCls:C,className:Ie,wrapClassName:F()({[`${O}-centered`]:!!e.centered},u),onCancel:()=>o==null?void 0:o({triggerCancel:!0}),open:d,title:"",footer:"",transitionName:(0,$.mL)(f,"zoom",e.transitionName),maskTransitionName:(0,$.mL)(f,"fade",e.maskTransitionName),mask:W,maskClosable:T,maskStyle:s,style:te,bodyStyle:v,width:B,zIndex:r,afterClose:t,keyboard:g,centered:m,getContainer:i,closable:b,closeIcon:P,modalRender:E,focusTriggerAfterClose:j},n.createElement(le,Object.assign({},e,{confirmPrefixCls:O}))))},R=[],Oe=function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(e);lu&&u.triggerCancel);e.onCancel&&C&&e.onCancel.apply(e,[()=>{}].concat((0,k.Z)(s.slice(1))));for(let u=0;u{const f=(0,Y.A)(),{getPrefixCls:x,getIconPrefixCls:v}=(0,H.w6)(),b=x(void 0,ye()),P=C||`${b}-modal`,E=v();(0,I.s)(n.createElement(re,Object.assign({},u,{prefixCls:P,rootPrefixCls:b,iconPrefixCls:E,okText:s,locale:f,cancelText:a||f.cancelText})),o)})}function g(){for(var i=arguments.length,s=new Array(i),a=0;a{typeof e.afterClose=="function"&&e.afterClose(),l.apply(this,s)}}),r.visible&&delete r.visible,d(r)}function m(i){typeof i=="function"?r=i(r):r=Object.assign(Object.assign({},r),i),d(r)}return d(r),R.push(g),{destroy:g,update:m}}function ae(e){return Object.assign(Object.assign({},e),{type:"warning"})}function ce(e){return Object.assign(Object.assign({},e),{type:"info"})}function ie(e){return Object.assign(Object.assign({},e),{type:"success"})}function fe(e){return Object.assign(Object.assign({},e),{type:"error"})}function ue(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function be(e){let{rootPrefixCls:o}=e;se=o}function Pe(){const[e,o]=n.useState([]),r=n.useCallback(t=>(o(l=>[].concat((0,k.Z)(l),[t])),()=>{o(l=>l.filter(d=>d!==t))}),[]);return[e,r]}var Ee=c(24457);const pe=(e,o)=>{let{afterClose:r,config:t}=e;var l;const[d,g]=n.useState(!0),[m,i]=n.useState(t),{direction:s,getPrefixCls:a}=n.useContext(D.E_),C=a("modal"),u=a(),f=function(){g(!1);for(var v=arguments.length,b=new Array(v),P=0;Pj&&j.triggerCancel);m.onCancel&&E&&m.onCancel.apply(m,[()=>{}].concat((0,k.Z)(b.slice(1))))};n.useImperativeHandle(o,()=>({destroy:f,update:v=>{i(b=>Object.assign(Object.assign({},b),v))}}));const x=(l=m.okCancel)!==null&&l!==void 0?l:m.type==="confirm";return n.createElement(L.Z,{componentName:"Modal",defaultLocale:Ee.Z.Modal},v=>n.createElement(re,Object.assign({prefixCls:C,rootPrefixCls:u},m,{close:f,open:d,afterClose:r,okText:m.okText||(x?v.okText:v.justOkText),direction:s,cancelText:m.cancelText||v.cancelText})))};var he=n.forwardRef(pe);let de=0;const je=n.memo(n.forwardRef((e,o)=>{const[r,t]=Pe();return n.useImperativeHandle(o,()=>({patchElement:t}),[]),n.createElement(n.Fragment,null,r)}));function Te(){const e=n.useRef(null),[o,r]=n.useState([]);n.useEffect(()=>{o.length&&((0,k.Z)(o).forEach(g=>{g()}),r([]))},[o]);const t=n.useCallback(d=>function(m){var i;de+=1;const s=n.createRef();let a;const C=n.createElement(he,{key:`modal-${de}`,config:d(m),ref:s,afterClose:()=>{a==null||a()}});return a=(i=e.current)===null||i===void 0?void 0:i.patchElement(C),a&&R.push(a),{destroy:()=>{function u(){var f;(f=s.current)===null||f===void 0||f.destroy()}s.current?u():r(f=>[].concat((0,k.Z)(f),[u]))},update:u=>{function f(){var x;(x=s.current)===null||x===void 0||x.update(u)}s.current?f():r(x=>[].concat((0,k.Z)(x),[f]))}}},[]);return[n.useMemo(()=>({info:t(ce),success:t(ie),error:t(fe),warning:t(ae),confirm:t(ue)}),[]),n.createElement(je,{key:"modal-holder",ref:e})]}var ke=Te;function me(e){return z(ae(e))}const h=oe;h.useModal=ke,h.info=function(o){return z(ce(o))},h.success=function(o){return z(ie(o))},h.error=function(o){return z(fe(o))},h.warning=me,h.warn=me,h.confirm=function(o){return z(ue(o))},h.destroyAll=function(){for(;R.length;){const o=R.pop();o&&o()}},h.config=be,h._InternalPanelDoNotUseOrYouWillBeFired=ve;var Ne=h}}]); diff --git a/statics/9683.26bdfd1e.async.js b/statics/9683.26bdfd1e.async.js deleted file mode 100644 index a6ead7bd..00000000 --- a/statics/9683.26bdfd1e.async.js +++ /dev/null @@ -1,9 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9683],{88916:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="CameraOutlined";var m=c.forwardRef(f)},38958:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:function(h,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:p}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:h}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:h}}]}},name:"camera",theme:"twotone"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="CameraTwoTone";var m=c.forwardRef(f)},58638:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zm18.6-251.7L765 393.7c-5.3-4.2-13-.4-13 6.3v76H438c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"export",theme:"outlined"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="ExportOutlined";var m=c.forwardRef(f)},1832:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="FireOutlined";var m=c.forwardRef(f)},57546:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"import",theme:"outlined"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="ImportOutlined";var m=c.forwardRef(f)},37446:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="MoreOutlined";var m=c.forwardRef(f)},67841:function(g,d,r){"use strict";r.d(d,{Z:function(){return m}});var a=r(1413),c=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},M=o,u=r(84089),f=function(h,p){return c.createElement(u.Z,(0,a.Z)((0,a.Z)({},h),{},{ref:p,icon:M}))};f.displayName="RocketOutlined";var m=c.forwardRef(f)},60696:function(g,d,r){"use strict";var a=r(67294),c=r(61607);d.Z=(0,c.a1)("folder-code",!0,function(o){return a.createElement("svg",{width:o.size,height:o.size,viewBox:"0 0 48 48",fill:"none"},a.createElement("path",{d:"M5 8C5 6.89543 5.89543 6 7 6H19L24 12H41C42.1046 12 43 12.8954 43 14V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V8Z",fill:o.colors[1],stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M28 22L33 27L28 32",stroke:o.colors[2],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M20 22L15 27L20 32",stroke:o.colors[2],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}))})},94877:function(g,d,r){"use strict";var a=r(67294),c=r(61607);d.Z=(0,c.a1)("switch",!0,function(o){return a.createElement("svg",{width:o.size,height:o.size,viewBox:"0 0 48 48",fill:"none"},a.createElement("path",{d:"M42 19H5.99998",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M30 7L42 19",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M6.79897 29H42.799",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}),a.createElement("path",{d:"M6.79895 29L18.799 41",stroke:o.colors[0],strokeWidth:o.strokeWidth,strokeLinecap:o.strokeLinecap,strokeLinejoin:o.strokeLinejoin}))})},290:function(){"use strict"},93379:function(g){var d={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};g.exports=function(r,a){return typeof a=="number"&&!d[r]?a+"px":a}},53879:function(g,d,r){var a=r(87236),c=r(6189),o={float:"cssFloat"},M=r(93379);function u(h,p,k){var O=o[p];if(typeof O=="undefined"&&(O=m(p)),O){if(k===void 0)return h.style[O];h.style[O]=M(O,k)}}function f(h,p){for(var k in p)p.hasOwnProperty(k)&&u(h,k,p[k])}function m(h){var p=c(h),k=a(p);return o[p]=o[h]=o[k]=k,k}function y(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:f(arguments[0],arguments[1]):u(arguments[0],arguments[1],arguments[2])}g.exports=y,g.exports.set=y,g.exports.get=function(h,p){return Array.isArray(p)?p.reduce(function(k,O){return k[O]=u(h,O||""),k},{}):u(h,p||"")}},75:function(g,d,r){var a=r(34155);(function(){var c,o,M,u,f,m;typeof performance!="undefined"&&performance!==null&&performance.now?g.exports=function(){return performance.now()}:typeof a!="undefined"&&a!==null&&a.hrtime?(g.exports=function(){return(c()-f)/1e6},o=a.hrtime,c=function(){var y;return y=o(),y[0]*1e9+y[1]},u=c(),m=a.uptime()*1e9,f=u-m):Date.now?(g.exports=function(){return Date.now()-M},M=Date.now()):(g.exports=function(){return new Date().getTime()-M},M=new Date().getTime())}).call(this)},87236:function(g){var d=null,r=["Webkit","Moz","O","ms"];g.exports=function(c){d||(d=document.createElement("div"));var o=d.style;if(c in o)return c;for(var M=c.charAt(0).toUpperCase()+c.slice(1),u=r.length;u>=0;u--){var f=r[u]+M;if(f in o)return f}return!1}},54087:function(g,d,r){for(var a=r(75),c=typeof window=="undefined"?r.g:window,o=["moz","webkit"],M="AnimationFrame",u=c["request"+M],f=c["cancel"+M]||c["cancelRequest"+M],m=0;!u&&m=0||!Object.prototype.hasOwnProperty.call(k,R)||(B[R]=k[R]);return B}function f(k){return o.default.createElement("div",k)}function m(k){var O=k.style,B=u(k,["style"]),R=a({},O,{right:2,bottom:2,left:2,borderRadius:3});return o.default.createElement("div",a({style:R},B))}function y(k){var O=k.style,B=u(k,["style"]),R=a({},O,{right:2,bottom:2,top:2,borderRadius:3});return o.default.createElement("div",a({style:R},B))}function h(k){var O=k.style,B=u(k,["style"]),R=a({},O,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return o.default.createElement("div",a({style:R},B))}function p(k){var O=k.style,B=u(k,["style"]),R=a({},O,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return o.default.createElement("div",a({style:R},B))}},14608:function(g,d,r){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var a=Object.assign||function(T){for(var z=1;z=0||!Object.prototype.hasOwnProperty.call(T,t)||(S[t]=T[t]);return S}function ce(T,z){if(!(T instanceof z))throw new TypeError("Cannot call a class as a function")}function de(T,z){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:T}function he(T,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);T.prototype=Object.create(z&&z.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(T,z):T.__proto__=z)}var ne=function(T){he(z,T);function z(S){var t;ce(this,z);for(var i=arguments.length,n=Array(i>1?i-1:0),l=1;l0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollLeft=t)}},{key:"scrollTop",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollTop=t)}},{key:"scrollToLeft",value:function(){!this.view||(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){!this.view||(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){!this.view||(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){!this.view||(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var t=this.view,i=this.trackHorizontal,n=this.trackVertical,l=this.thumbHorizontal,e=this.thumbVertical;t.addEventListener("scroll",this.handleScroll),(0,B.default)()&&(i.addEventListener("mouseenter",this.handleTrackMouseEnter),i.addEventListener("mouseleave",this.handleTrackMouseLeave),i.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),l.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),e.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document=="undefined"||!this.view)){var t=this.view,i=this.trackHorizontal,n=this.trackVertical,l=this.thumbHorizontal,e=this.thumbVertical;t.removeEventListener("scroll",this.handleScroll),(0,B.default)()&&(i.removeEventListener("mouseenter",this.handleTrackMouseEnter),i.removeEventListener("mouseleave",this.handleTrackMouseLeave),i.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),l.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),e.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(t){var i=this,n=this.props,l=n.onScroll,e=n.onScrollFrame;l&&l(t),this.update(function(s){var v=s.scrollLeft,b=s.scrollTop;i.viewScrollLeft=v,i.viewScrollTop=b,e&&e(s)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var t=this.props.onScrollStart;t&&t(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var t=this.props.autoHide;!t||this.showTracks()}},{key:"handleScrollStop",value:function(){var t=this.props.onScrollStop;t&&t(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var t=this.props.autoHide;!t||this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(t){t.preventDefault();var i=t.target,n=t.clientX,l=i.getBoundingClientRect(),e=l.left,s=this.getThumbHorizontalWidth(),v=Math.abs(e-n)-s/2;this.view.scrollLeft=this.getScrollLeftForOffset(v)}},{key:"handleVerticalTrackMouseDown",value:function(t){t.preventDefault();var i=t.target,n=t.clientY,l=i.getBoundingClientRect(),e=l.top,s=this.getThumbVerticalHeight(),v=Math.abs(e-n)-s/2;this.view.scrollTop=this.getScrollTopForOffset(v)}},{key:"handleHorizontalThumbMouseDown",value:function(t){t.preventDefault(),this.handleDragStart(t);var i=t.target,n=t.clientX,l=i.offsetWidth,e=i.getBoundingClientRect(),s=e.left;this.prevPageX=l-(n-s)}},{key:"handleVerticalThumbMouseDown",value:function(t){t.preventDefault(),this.handleDragStart(t);var i=t.target,n=t.clientY,l=i.offsetHeight,e=i.getBoundingClientRect(),s=e.top;this.prevPageY=l-(n-s)}},{key:"setupDragging",value:function(){(0,f.default)(document.body,I.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=$.default}},{key:"teardownDragging",value:function(){(0,f.default)(document.body,I.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(t){this.dragging=!0,t.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(t){if(this.prevPageX){var i=t.clientX,n=this.trackHorizontal.getBoundingClientRect(),l=n.left,e=this.getThumbHorizontalWidth(),s=e-this.prevPageX,v=-l+i-s;this.view.scrollLeft=this.getScrollLeftForOffset(v)}if(this.prevPageY){var b=t.clientY,C=this.trackVertical.getBoundingClientRect(),W=C.top,x=this.getThumbVerticalHeight(),E=x-this.prevPageY,w=-W+b-E;this.view.scrollTop=this.getScrollTopForOffset(w)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var t=this.props.autoHide;!t||this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var t=this.props.autoHide;!t||this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var t=this.props.autoHide;!t||this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,f.default)(this.trackHorizontal,{opacity:1}),(0,f.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var t=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var i=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,f.default)(t.trackHorizontal,{opacity:0}),(0,f.default)(t.trackVertical,{opacity:0})},i)}}},{key:"detectScrolling",value:function(){var t=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){t.lastViewScrollLeft===t.viewScrollLeft&&t.lastViewScrollTop===t.viewScrollTop&&(clearInterval(t.detectScrollingInterval),t.scrolling=!1,t.handleScrollStop()),t.lastViewScrollLeft=t.viewScrollLeft,t.lastViewScrollTop=t.viewScrollTop},100))}},{key:"raf",value:function(t){var i=this;this.requestFrame&&M.default.cancel(this.requestFrame),this.requestFrame=(0,M.default)(function(){i.requestFrame=void 0,t()})}},{key:"update",value:function(t){var i=this;this.raf(function(){return i._update(t)})}},{key:"_update",value:function(t){var i=this.props,n=i.onUpdate,l=i.hideTracksWhenNotNeeded,e=this.getValues();if((0,B.default)()){var s=e.scrollLeft,v=e.clientWidth,b=e.scrollWidth,C=(0,G.default)(this.trackHorizontal),W=this.getThumbHorizontalWidth(),x=s/(b-v)*(C-W),E={width:W,transform:"translateX("+x+"px)"},w=e.scrollTop,U=e.clientHeight,A=e.scrollHeight,H=(0,se.default)(this.trackVertical),D=this.getThumbVerticalHeight(),X=w/(A-U)*(H-D),Y={height:D,transform:"translateY("+X+"px)"};if(l){var N={visibility:b>v?"visible":"hidden"},j={visibility:A>U?"visible":"hidden"};(0,f.default)(this.trackHorizontal,N),(0,f.default)(this.trackVertical,j)}(0,f.default)(this.thumbHorizontal,E),(0,f.default)(this.thumbVertical,Y)}n&&n(e),typeof t=="function"&&t(e)}},{key:"render",value:function(){var t=this,i=(0,B.default)(),n=this.props,l=n.onScroll,e=n.onScrollFrame,s=n.onScrollStart,v=n.onScrollStop,b=n.onUpdate,C=n.renderView,W=n.renderTrackHorizontal,x=n.renderTrackVertical,E=n.renderThumbHorizontal,w=n.renderThumbVertical,U=n.tagName,A=n.hideTracksWhenNotNeeded,H=n.autoHide,D=n.autoHideTimeout,X=n.autoHideDuration,Y=n.thumbSize,N=n.thumbMinSize,j=n.universal,J=n.autoHeight,K=n.autoHeightMin,Q=n.autoHeightMax,V=n.style,ie=n.children,re=oe(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),Z=this.state.didMountUniversal,q=a({},I.containerStyleDefault,J&&a({},I.containerStyleAutoHeight,{minHeight:K,maxHeight:Q}),V),ae=a({},I.viewStyleDefault,{marginRight:i?-i:0,marginBottom:i?-i:0},J&&a({},I.viewStyleAutoHeight,{minHeight:(0,k.default)(K)?"calc("+K+" + "+i+"px)":K+i,maxHeight:(0,k.default)(Q)?"calc("+Q+" + "+i+"px)":Q+i}),J&&j&&!Z&&{minHeight:K,maxHeight:Q},j&&!Z&&I.viewStyleUniversalInitial),P={transition:"opacity "+X+"ms",opacity:0},ue=a({},I.trackHorizontalStyleDefault,H&&P,(!i||j&&!Z)&&{display:"none"}),fe=a({},I.trackVerticalStyleDefault,H&&P,(!i||j&&!Z)&&{display:"none"});return(0,m.createElement)(U,a({},re,{style:q,ref:function(L){t.container=L}}),[(0,m.cloneElement)(C({style:ae}),{key:"view",ref:function(L){t.view=L}},ie),(0,m.cloneElement)(W({style:ue}),{key:"trackHorizontal",ref:function(L){t.trackHorizontal=L}},(0,m.cloneElement)(E({style:I.thumbHorizontalStyleDefault}),{ref:function(L){t.thumbHorizontal=L}})),(0,m.cloneElement)(x({style:fe}),{key:"trackVertical",ref:function(L){t.trackVertical=L}},(0,m.cloneElement)(w({style:I.thumbVerticalStyleDefault}),{ref:function(L){t.thumbVertical=L}}))])}}]),z}(m.Component);d.default=ne,ne.propTypes={onScroll:h.default.func,onScrollFrame:h.default.func,onScrollStart:h.default.func,onScrollStop:h.default.func,onUpdate:h.default.func,renderView:h.default.func,renderTrackHorizontal:h.default.func,renderTrackVertical:h.default.func,renderThumbHorizontal:h.default.func,renderThumbVertical:h.default.func,tagName:h.default.string,thumbSize:h.default.number,thumbMinSize:h.default.number,hideTracksWhenNotNeeded:h.default.bool,autoHide:h.default.bool,autoHideTimeout:h.default.number,autoHideDuration:h.default.number,autoHeight:h.default.bool,autoHeightMin:h.default.oneOfType([h.default.number,h.default.string]),autoHeightMax:h.default.oneOfType([h.default.number,h.default.string]),universal:h.default.bool,style:h.default.object,children:h.default.node},ne.defaultProps={renderView:te.renderViewDefault,renderTrackHorizontal:te.renderTrackHorizontalDefault,renderTrackVertical:te.renderTrackVerticalDefault,renderThumbHorizontal:te.renderThumbHorizontalDefault,renderThumbVertical:te.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},7679:function(g,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var r=d.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},a=d.containerStyleAutoHeight={height:"auto"},c=d.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},o=d.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},M=d.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},u=d.trackHorizontalStyleDefault={position:"absolute",height:6},f=d.trackVerticalStyleDefault={position:"absolute",width:6},m=d.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},y=d.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},h=d.disableSelectStyle={userSelect:"none"},p=d.disableSelectStyleReset={userSelect:""}},31298:function(g,d,r){"use strict";var a;a={value:!0},d.$B=void 0;var c=r(14608),o=M(c);function M(u){return u&&u.__esModule?u:{default:u}}a=o.default,d.$B=o.default},56839:function(g,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(a){var c=a.clientHeight,o=getComputedStyle(a),M=o.paddingTop,u=o.paddingBottom;return c-parseFloat(M)-parseFloat(u)}},4749:function(g,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(a){var c=a.clientWidth,o=getComputedStyle(a),M=o.paddingLeft,u=o.paddingRight;return c-parseFloat(M)-parseFloat(u)}},13305:function(g,d,r){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=u;var a=r(53879),c=o(a);function o(f){return f&&f.__esModule?f:{default:f}}var M=!1;function u(){if(M!==!1)return M;if(typeof document!="undefined"){var f=document.createElement("div");(0,c.default)(f,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(f),M=f.offsetWidth-f.clientWidth,document.body.removeChild(f)}else M=0;return M||0}},95205:function(g,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(a){return typeof a=="string"}},78669:function(g,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default=r;function r(){return!1}},85884:function(g,d,r){"use strict";r.d(d,{Z:function(){return S}});var a=r(67294),c=r(45697),o=r.n(c),M=r(97262),u=r.n(M);function f(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);t!=null&&this.setState(t)}function m(t){function i(n){var l=this.constructor.getDerivedStateFromProps(t,n);return l!=null?l:null}this.setState(i.bind(this))}function y(t,i){try{var n=this.props,l=this.state;this.props=t,this.state=i,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,l)}finally{this.props=n,this.state=l}}f.__suppressDeprecationWarning=!0,m.__suppressDeprecationWarning=!0,y.__suppressDeprecationWarning=!0;function h(t){var i=t.prototype;if(!i||!i.isReactComponent)throw new Error("Can only polyfill class components");if(typeof t.getDerivedStateFromProps!="function"&&typeof i.getSnapshotBeforeUpdate!="function")return t;var n=null,l=null,e=null;if(typeof i.componentWillMount=="function"?n="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"?l="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"?e="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(e="UNSAFE_componentWillUpdate"),n!==null||l!==null||e!==null){var s=t.displayName||t.name,v=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. - -`+s+" uses "+v+" but also contains the following legacy lifecycles:"+(n!==null?` - `+n:"")+(l!==null?` - `+l:"")+(e!==null?` - `+e:"")+` - -The above lifecycles should be removed. Learn more about this warning here: -https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof t.getDerivedStateFromProps=="function"&&(i.componentWillMount=f,i.componentWillReceiveProps=m),typeof i.getSnapshotBeforeUpdate=="function"){if(typeof i.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");i.componentWillUpdate=y;var b=i.componentDidUpdate;i.componentDidUpdate=function(W,x,E){var w=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:E;b.call(this,W,x,w)}}return t}function p(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function k(t,i){for(var n=0;n=0?n:1/0;return Math.max(e,Math.min(s,l))}return t!==void 0?t:i}function T(t){return a.Children.toArray(t).filter(function(i){return i})}var z=function(t){_(n,t);var i=F(n);function n(l){var e;p(this,n),e=i.call(this,l),e.onMouseDown=e.onMouseDown.bind(I(e)),e.onTouchStart=e.onTouchStart.bind(I(e)),e.onMouseMove=e.onMouseMove.bind(I(e)),e.onTouchMove=e.onTouchMove.bind(I(e)),e.onMouseUp=e.onMouseUp.bind(I(e));var s=l.size,v=l.defaultSize,b=l.minSize,C=l.maxSize,W=l.primary,x=s!==void 0?s:ne(v,b,C,null);return e.state={active:!1,resized:!1,pane1Size:W==="first"?x:void 0,pane2Size:W==="second"?x:void 0,instanceProps:{size:s}},e}return O(n,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(n.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var s=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(s)}},{key:"onTouchStart",value:function(e){var s=this.props,v=s.allowResize,b=s.onDragStarted,C=s.split;if(v){he(document,window);var W=C==="vertical"?e.touches[0].clientX:e.touches[0].clientY;typeof b=="function"&&b(),this.setState({active:!0,position:W})}}},{key:"onMouseMove",value:function(e){var s=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(s)}},{key:"onTouchMove",value:function(e){var s=this.props,v=s.allowResize,b=s.maxSize,C=s.minSize,W=s.onChange,x=s.split,E=s.step,w=this.state,U=w.active,A=w.position;if(v&&U){he(document,window);var H=this.props.primary==="first",D=H?this.pane1:this.pane2,X=H?this.pane2:this.pane1;if(D){var Y=D,N=X;if(Y.getBoundingClientRect){var j=Y.getBoundingClientRect().width,J=Y.getBoundingClientRect().height,K=x==="vertical"?e.touches[0].clientX:e.touches[0].clientY,Q=x==="vertical"?j:J,V=A-K;if(E){if(Math.abs(V)Z&&(ie=-ie);var q=b;if(b!==void 0&&b<=0){var ae=this.splitPane;x==="vertical"?q=ae.getBoundingClientRect().width+b:q=ae.getBoundingClientRect().height+b}var P=Q-ie,ue=A-V;Pq?P=q:this.setState({position:ue,resized:!0}),W&&W(P),this.setState(B({draggedSize:P},H?"pane1Size":"pane2Size",P))}}}}},{key:"onMouseUp",value:function(){var e=this.props,s=e.allowResize,v=e.onDragFinished,b=this.state,C=b.active,W=b.draggedSize;s&&C&&(typeof v=="function"&&v(W),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,s=this.props,v=s.allowResize,b=s.children,C=s.className,W=s.onResizerClick,x=s.onResizerDoubleClick,E=s.paneClassName,w=s.pane1ClassName,U=s.pane2ClassName,A=s.paneStyle,H=s.pane1Style,D=s.pane2Style,X=s.resizerClassName,Y=s.resizerStyle,N=s.split,j=s.style,J=this.state,K=J.pane1Size,Q=J.pane2Size,V=v?"":"disabled",ie=X&&"".concat(X," ").concat(ce),re=T(b),Z=$({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},j);N==="vertical"?Object.assign(Z,{flexDirection:"row",left:0,right:0}):Object.assign(Z,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var q=["SplitPane",C,N,V],ae=$({},A,{},H),P=$({},A,{},D),ue=["Pane1",E,w].join(" "),fe=["Pane2",E,U].join(" ");return a.createElement("div",{className:q.join(" "),ref:function(L){e.splitPane=L},style:Z},a.createElement(oe,{className:ue,key:"pane1",eleRef:function(L){e.pane1=L},size:K,split:N,style:ae},re[0]),a.createElement(de,{className:V,onClick:W,onDoubleClick:x,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:ie,split:N,style:Y||{}}),a.createElement(oe,{className:fe,key:"pane2",eleRef:function(L){e.pane2=L},size:Q,split:N,style:P},re[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,s){return n.getSizeUpdate(e,s)}},{key:"getSizeUpdate",value:function(e,s){var v={},b=s.instanceProps;if(b.size===e.size&&e.size!==void 0)return{};var C=e.size!==void 0?e.size:ne(e.defaultSize,e.minSize,e.maxSize,s.draggedSize);e.size!==void 0&&(v.draggedSize=C);var W=e.primary==="first";return v[W?"pane1Size":"pane2Size"]=C,v[W?"pane2Size":"pane1Size"]=void 0,v.instanceProps={size:e.size},v}}]),n}(a.Component);z.propTypes={allowResize:o().bool,children:o().arrayOf(o().node).isRequired,className:o().string,primary:o().oneOf(["first","second"]),minSize:o().oneOfType([o().string,o().number]),maxSize:o().oneOfType([o().string,o().number]),defaultSize:o().oneOfType([o().string,o().number]),size:o().oneOfType([o().string,o().number]),split:o().oneOf(["vertical","horizontal"]),onDragStarted:o().func,onDragFinished:o().func,onChange:o().func,onResizerClick:o().func,onResizerDoubleClick:o().func,style:u(),resizerStyle:u(),paneClassName:o().string,pane1ClassName:o().string,pane2ClassName:o().string,paneStyle:u(),pane1Style:u(),pane2Style:u(),resizerClassName:o().string,step:o().number},z.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},h(z);var S=z},5962:function(g){g.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackground","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGrid","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskClip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},97262:function(g,d,r){var a=r(5962),c=r(45697);g.exports=function(o,M,u){var f=o[M];if(!!f){var m=[];if(Object.keys(f).forEach(function(y){a.indexOf(y)===-1&&m.push(y)}),m.length)throw new Error("Prop "+M+" passed to "+u+". Has invalid keys "+m.join(", "))}},g.exports.isRequired=function(o,M,u){if(!o[M])throw new Error("Prop "+M+" passed to "+u+" is required");return g.exports(o,M,u)},g.exports.supportingArrays=c.oneOfType([c.arrayOf(g.exports),g.exports])},6189:function(g,d,r){var a=r(7966);g.exports=c;function c(o){return a(o).replace(/\s(\w)/g,function(M,u){return u.toUpperCase()})}},71788:function(g){g.exports=c;var d=/\s/,r=/(_|-|\.|:)/,a=/([a-z][A-Z]|[A-Z][a-z])/;function c(m){return d.test(m)?m.toLowerCase():r.test(m)?(M(m)||m).toLowerCase():a.test(m)?f(m).toLowerCase():m.toLowerCase()}var o=/[\W_]+(.|$)/g;function M(m){return m.replace(o,function(y,h){return h?" "+h:""})}var u=/(.)([A-Z]+)/g;function f(m){return m.replace(u,function(y,h,p){return h+" "+p.toLowerCase().split("").join(" ")})}},7966:function(g,d,r){var a=r(71788);g.exports=c;function c(o){return a(o).replace(/[\W_]+(.|$)/g,function(M,u){return u?" "+u:""}).trim()}}}]); diff --git a/statics/9811.e949f960.async.js b/statics/9811.e949f960.async.js new file mode 100644 index 00000000..33597c14 --- /dev/null +++ b/statics/9811.e949f960.async.js @@ -0,0 +1,182 @@ +var Iv=Object.defineProperty;var Zl=Object.getOwnPropertySymbols;var Mv=Object.prototype.hasOwnProperty,Tv=Object.prototype.propertyIsEnumerable;var wl=(b,w,n)=>w in b?Iv(b,w,{enumerable:!0,configurable:!0,writable:!0,value:n}):b[w]=n,Ol=(b,w)=>{for(var n in w||(w={}))Mv.call(w,n)&&wl(b,n,w[n]);if(Zl)for(var n of Zl(w))Tv.call(w,n)&&wl(b,n,w[n]);return b};(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9811],{47046:function(b,w){"use strict";var n={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"};w.Z=n},53439:function(b,w,n){"use strict";n.d(w,{ZP:function(){return ln},NA:function(){return nn},aK:function(){return Bt}});var o=n(1413),u=n(45987),c=n(97685),h=n(71002),f=n(74902),x=n(4942),O=n(10915),E=n(98082),T=n(10989),D=n(75661),Y=n(48171),l=n(74138),j=n(21770),oe=n(27068),M=n(67294),G=n(51280);function ne(gt){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,ae=arguments.length>2?arguments[2]:void 0,J=(0,M.useState)(gt),Pe=(0,c.Z)(J,2),Ke=Pe[0],Ue=Pe[1],Ae=(0,G.d)(gt);return(0,M.useEffect)(function(){var Ye=setTimeout(function(){Ue(Ae.current)},H);return function(){return clearTimeout(Ye)}},ae?[H].concat((0,f.Z)(ae)):void 0),Ke}var xe=n(31413),Ce=n(28459),ie=n(75081),ce=n(81758),rt=n(87462),Qe=n(509),ye=n(92593),re=function(H,ae){return M.createElement(ye.Z,(0,rt.Z)({},H,{ref:ae,icon:Qe.Z}))},le=M.forwardRef(re),pe=le,te=n(98912),Ee=n(34041),Fe=n(55102),qe=n(93967),it=n.n(qe),fe=n(50344),nt=n(85893),Gt=["label","prefixCls","onChange","value","mode","children","defaultValue","size","showSearch","disabled","style","className","bordered","options","onSearch","allowClear","labelInValue","fieldNames","lightLabel","labelTrigger","optionFilterProp","optionLabelProp","valueMaxLength","fetchDataOnSearch","fetchData"],gn=function(H,ae){return(0,h.Z)(ae)!=="object"?H[ae]||ae:H[ae==null?void 0:ae.value]||ae.label},Cn=function(H,ae){var J=H.label,Pe=H.prefixCls,Ke=H.onChange,Ue=H.value,Ae=H.mode,Ye=H.children,Le=H.defaultValue,Ne=H.size,Re=H.showSearch,We=H.disabled,mt=H.style,ut=H.className,Tt=H.bordered,Ft=H.options,At=H.onSearch,Ie=H.allowClear,N=H.labelInValue,_=H.fieldNames,ve=H.lightLabel,ue=H.labelTrigger,ge=H.optionFilterProp,ft=H.optionLabelProp,ot=ft===void 0?"":ft,ke=H.valueMaxLength,Ut=ke===void 0?41:ke,bt=H.fetchDataOnSearch,St=bt===void 0?!1:bt,Pt=H.fetchData,lt=(0,u.Z)(H,Gt),fn=H.placeholder,mn=fn===void 0?J:fn,It=_||{},Lt=It.label,qt=Lt===void 0?"label":Lt,rn=It.value,sn=rn===void 0?"value":rn,Mt=(0,M.useContext)(Ce.ZP.ConfigContext),Kt=Mt.getPrefixCls,Wt=Kt("pro-field-select-light-select"),lr=(0,M.useState)(!1),sr=(0,c.Z)(lr,2),pn=sr[0],Mn=sr[1],xn=(0,M.useState)(""),zn=(0,c.Z)(xn,2),Sn=zn[0],Un=zn[1],Dn=(0,E.Xj)("LightSelect",function(Ct){return(0,x.Z)({},".".concat(Wt),(0,x.Z)((0,x.Z)({},"".concat(Ct.antCls,"-select"),{position:"absolute",width:"153px",height:"28px",visibility:"hidden","&-selector":{height:28}}),"&.".concat(Wt,"-searchable"),(0,x.Z)({},"".concat(Ct.antCls,"-select"),{width:"200px","&-selector":{height:28}})))}),Pn=Dn.wrapSSR,Nt=Dn.hashId,$t=(0,M.useMemo)(function(){var Ct={};return Ft==null||Ft.forEach(function(Rn){var an=Rn[ot]||Rn[qt],xt=Rn[sn];Ct[xt]=an||xt}),Ct},[qt,Ft,sn,ot]),Xt=(0,M.useMemo)(function(){return Reflect.has(lt,"open")?lt==null?void 0:lt.open:pn},[pn,lt]),Zt=Array.isArray(Ue)?Ue.map(function(Ct){return gn($t,Ct)}):gn($t,Ue);return Pn((0,nt.jsxs)("div",{className:it()(Wt,Nt,(0,x.Z)({},"".concat(Wt,"-searchable"),Re),"".concat(Wt,"-container-").concat(lt.placement||"bottomLeft"),ut),style:mt,onClick:function(Rn){var an;if(!We){var xt=ve==null||(an=ve.current)===null||an===void 0||(an=an.labelRef)===null||an===void 0||(an=an.current)===null||an===void 0?void 0:an.contains(Rn.target);xt&&Mn(!pn)}},children:[(0,nt.jsx)(Ee.Z,(0,o.Z)((0,o.Z)((0,o.Z)({},lt),{},{allowClear:Ie,value:Ue,mode:Ae,labelInValue:N,size:Ne,disabled:We,onChange:function(Rn,an){Ke==null||Ke(Rn,an),Ae!=="multiple"&&Mn(!1)}},(0,xe.J)(Tt)),{},{showSearch:Re,onSearch:Re?function(Ct){St&&Pt&&Pt(Ct),At==null||At(Ct)}:void 0,style:mt,dropdownRender:function(Rn){return(0,nt.jsxs)("div",{ref:ae,children:[Re&&(0,nt.jsx)("div",{style:{margin:"4px 8px"},children:(0,nt.jsx)(Fe.Z,{value:Sn,allowClear:!!Ie,onChange:function(xt){Un(xt.target.value),St&&Pt&&Pt(xt.target.value),At==null||At(xt.target.value)},onKeyDown:function(xt){xt.stopPropagation()},style:{width:"100%"},prefix:(0,nt.jsx)(pe,{})})}),Rn]})},open:Xt,onDropdownVisibleChange:function(Rn){var an;Rn||Un(""),ue||Mn(Rn),lt==null||(an=lt.onDropdownVisibleChange)===null||an===void 0||an.call(lt,Rn)},prefixCls:Pe,options:At||!Sn?Ft:Ft==null?void 0:Ft.filter(function(Ct){var Rn,an;return ge?(0,fe.Z)(Ct[ge]).join("").toLowerCase().includes(Sn):((Rn=String(Ct[qt]))===null||Rn===void 0||(Rn=Rn.toLowerCase())===null||Rn===void 0?void 0:Rn.includes(Sn==null?void 0:Sn.toLowerCase()))||((an=Ct[sn])===null||an===void 0||(an=an.toString())===null||an===void 0||(an=an.toLowerCase())===null||an===void 0?void 0:an.includes(Sn==null?void 0:Sn.toLowerCase()))})})),(0,nt.jsx)(te.Q,{ellipsis:!0,label:J,placeholder:mn,disabled:We,bordered:Tt,allowClear:!!Ie,value:Zt||(Ue==null?void 0:Ue.label)||Ue,onClear:function(){Ke==null||Ke(void 0,void 0)},ref:ve,valueMaxLength:Ut})]}))},Rt=M.forwardRef(Cn),Zn=["optionItemRender","mode","onSearch","onFocus","onChange","autoClearSearchValue","searchOnFocus","resetAfterSelect","fetchDataOnSearch","optionFilterProp","optionLabelProp","className","disabled","options","fetchData","resetData","prefixCls","onClear","searchValue","showSearch","fieldNames","defaultSearchValue"],jt=["className","optionType"],K=function(H,ae){var J=H.optionItemRender,Pe=H.mode,Ke=H.onSearch,Ue=H.onFocus,Ae=H.onChange,Ye=H.autoClearSearchValue,Le=Ye===void 0?!0:Ye,Ne=H.searchOnFocus,Re=Ne===void 0?!1:Ne,We=H.resetAfterSelect,mt=We===void 0?!1:We,ut=H.fetchDataOnSearch,Tt=ut===void 0?!0:ut,Ft=H.optionFilterProp,At=Ft===void 0?"label":Ft,Ie=H.optionLabelProp,N=Ie===void 0?"label":Ie,_=H.className,ve=H.disabled,ue=H.options,ge=H.fetchData,ft=H.resetData,ot=H.prefixCls,ke=H.onClear,Ut=H.searchValue,bt=H.showSearch,St=H.fieldNames,Pt=H.defaultSearchValue,lt=(0,u.Z)(H,Zn),fn=St||{},mn=fn.label,It=mn===void 0?"label":mn,Lt=fn.value,qt=Lt===void 0?"value":Lt,rn=fn.options,sn=rn===void 0?"options":rn,Mt=(0,M.useState)(Ut!=null?Ut:Pt),Kt=(0,c.Z)(Mt,2),Wt=Kt[0],lr=Kt[1],sr=(0,M.useRef)();(0,M.useImperativeHandle)(ae,function(){return sr.current}),(0,M.useEffect)(function(){if(lt.autoFocus){var Dn;sr==null||(Dn=sr.current)===null||Dn===void 0||Dn.focus()}},[lt.autoFocus]),(0,M.useEffect)(function(){lr(Ut)},[Ut]);var pn=(0,M.useContext)(Ce.ZP.ConfigContext),Mn=pn.getPrefixCls,xn=Mn("pro-filed-search-select",ot),zn=it()(xn,_,(0,x.Z)({},"".concat(xn,"-disabled"),ve)),Sn=function(Pn,Nt){return Array.isArray(Pn)&&Array.isArray(Nt)&&Pn.length>0?Pn.map(function($t,Xt){var Zt=Nt==null?void 0:Nt[Xt],Ct=(Zt==null?void 0:Zt["data-item"])||{};return(0,o.Z)((0,o.Z)({},Ct),$t)}):[]},Un=function Dn(Pn){return Pn.map(function(Nt,$t){var Xt,Zt=Nt,Ct=Zt.className,Rn=Zt.optionType,an=(0,u.Z)(Zt,jt),xt=Nt[It],hr=Nt[qt],Mr=(Xt=Nt[sn])!==null&&Xt!==void 0?Xt:[];return Rn==="optGroup"||Nt.options?(0,o.Z)((0,o.Z)({label:xt},an),{},{data_title:xt,title:xt,key:hr!=null?hr:"".concat(xt==null?void 0:xt.toString(),"-").concat($t,"-").concat((0,D.x)()),children:Dn(Mr)}):(0,o.Z)((0,o.Z)({title:xt},an),{},{data_title:xt,value:hr!=null?hr:$t,key:hr!=null?hr:"".concat(xt==null?void 0:xt.toString(),"-").concat($t,"-").concat((0,D.x)()),"data-item":Nt,className:"".concat(xn,"-option ").concat(Ct||"").trim(),label:(J==null?void 0:J(Nt))||xt})})};return(0,nt.jsx)(Ee.Z,(0,o.Z)((0,o.Z)({ref:sr,className:zn,allowClear:!0,autoClearSearchValue:Le,disabled:ve,mode:Pe,showSearch:bt,searchValue:Wt,optionFilterProp:At,optionLabelProp:N,onClear:function(){ke==null||ke(),ge(void 0),bt&&lr(void 0)}},lt),{},{filterOption:lt.filterOption==!1?!1:function(Dn,Pn){var Nt,$t,Xt;return lt.filterOption&&typeof lt.filterOption=="function"?lt.filterOption(Dn,(0,o.Z)((0,o.Z)({},Pn),{},{label:Pn==null?void 0:Pn.data_title})):!!(Pn!=null&&(Nt=Pn.data_title)!==null&&Nt!==void 0&&Nt.toString().toLowerCase().includes(Dn.toLowerCase())||Pn!=null&&($t=Pn.label)!==null&&$t!==void 0&&$t.toString().toLowerCase().includes(Dn.toLowerCase())||Pn!=null&&(Xt=Pn.value)!==null&&Xt!==void 0&&Xt.toString().toLowerCase().includes(Dn.toLowerCase()))},onSearch:bt?function(Dn){Tt&&ge(Dn),Ke==null||Ke(Dn),lr(Dn)}:void 0,onChange:function(Pn,Nt){bt&&Le&&(ge(void 0),Ke==null||Ke(""),lr(void 0));for(var $t=arguments.length,Xt=new Array($t>2?$t-2:0),Zt=2;Zt<$t;Zt++)Xt[Zt-2]=arguments[Zt];if(!H.labelInValue){Ae==null||Ae.apply(void 0,[Pn,Nt].concat(Xt));return}if(Pe!=="multiple"&&!Array.isArray(Nt)){var Ct=Nt&&Nt["data-item"];!Pn||!Ct?Ae==null||Ae.apply(void 0,[Pn,Nt].concat(Xt)):Ae==null||Ae.apply(void 0,[(0,o.Z)((0,o.Z)({},Pn),Ct),Nt].concat(Xt));return}var Rn=Sn(Pn,Nt);Ae==null||Ae.apply(void 0,[Rn,Nt].concat(Xt)),mt&&ft()},onFocus:function(Pn){Re&&ge(Wt),Ue==null||Ue(Pn)},options:Un(ue||[])}))},De=M.forwardRef(K),ht=["value","text"],Ze=["mode","valueEnum","render","renderFormItem","request","fieldProps","plain","children","light","proFieldKey","params","label","bordered","id","lightLabel","labelTrigger"],at=function(H){for(var ae=H.label,J=H.words,Pe=(0,M.useContext)(Ce.ZP.ConfigContext),Ke=Pe.getPrefixCls,Ue=Ke("pro-select-item-option-content-light"),Ae=Ke("pro-select-item-option-content"),Ye=(0,E.Xj)("Highlight",function(Ft){return(0,x.Z)((0,x.Z)({},".".concat(Ue),{color:Ft.colorPrimary}),".".concat(Ae),{flex:"auto",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"})}),Le=Ye.wrapSSR,Ne=new RegExp(J.map(function(Ft){return Ft.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}).join("|"),"gi"),Re=ae,We=[];Re.length;){var mt=Ne.exec(Re);if(!mt){We.push(Re);break}var ut=mt.index,Tt=mt[0].length+ut;We.push(Re.slice(0,ut),M.createElement("span",{className:Ue},Re.slice(ut,Tt))),Re=Re.slice(Tt)}return Le(M.createElement.apply(M,["div",{title:ae,className:Ae}].concat(We)))};function _t(gt,H){var ae,J;if(!H||gt!=null&&(ae=gt.label)!==null&&ae!==void 0&&ae.toString().toLowerCase().includes(H.toLowerCase())||gt!=null&&(J=gt.value)!==null&&J!==void 0&&J.toString().toLowerCase().includes(H.toLowerCase()))return!0;if(gt.children||gt.options){var Pe=[].concat((0,f.Z)(gt.children||[]),[gt.options||[]]).find(function(Ke){return _t(Ke,H)});if(Pe)return!0}return!1}var nn=function(H){var ae=[],J=(0,T.R6)(H);return J.forEach(function(Pe,Ke){var Ue=J.get(Ke)||J.get("".concat(Ke));if(!!Ue){if((0,h.Z)(Ue)==="object"&&Ue!==null&&Ue!==void 0&&Ue.text){ae.push({text:Ue==null?void 0:Ue.text,value:Ke,label:Ue==null?void 0:Ue.text,disabled:Ue.disabled});return}ae.push({text:Ue,value:Ke})}}),ae},Bt=function(H){var ae,J,Pe,Ke,Ue=H.cacheForSwr,Ae=H.fieldProps,Ye=(0,M.useState)(H.defaultKeyWords),Le=(0,c.Z)(Ye,2),Ne=Le[0],Re=Le[1],We=(0,M.useState)(function(){return H.proFieldKey?H.proFieldKey.toString():H.request?(0,D.x)():"no-fetch"}),mt=(0,c.Z)(We,1),ut=mt[0],Tt=(0,M.useRef)(ut),Ft=(0,Y.J)(function(bt){return nn((0,T.R6)(bt)).map(function(St){var Pt=St.value,lt=St.text,fn=(0,u.Z)(St,ht);return(0,o.Z)({label:lt,value:Pt,key:Pt},fn)})}),At=(0,l.Z)(function(){if(!!Ae){var bt=(Ae==null?void 0:Ae.options)||(Ae==null?void 0:Ae.treeData);if(!!bt){var St=Ae.fieldNames||{},Pt=St.children,lt=St.label,fn=St.value,mn=function It(Lt,qt){if(!!(Lt!=null&&Lt.length))for(var rn=Lt.length,sn=0;sn=60&&Math.round(N.h)<=240?ue=ve?Math.round(N.h)-D*_:Math.round(N.h)+D*_:ue=ve?Math.round(N.h)+D*_:Math.round(N.h)-D*_,ue<0?ue+=360:ue>=360&&(ue-=360),ue}function rt(N,_,ve){if(N.h===0&&N.s===0)return N.s;var ue;return ve?ue=N.s-Y*_:_===G?ue=N.s+Y:ue=N.s+l*_,ue>1&&(ue=1),ve&&_===M&&ue>.1&&(ue=.1),ue<.06&&(ue=.06),Number(ue.toFixed(2))}function Qe(N,_,ve){var ue;return ve?ue=N.v+j*_:ue=N.v-oe*_,ue>1&&(ue=1),Number(ue.toFixed(2))}function ye(N){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=[],ue=(0,T.uA)(N),ge=M;ge>0;ge-=1){var ft=xe(ue),ot=Ce((0,T.uA)({h:ce(ft,ge,!0),s:rt(ft,ge,!0),v:Qe(ft,ge,!0)}));ve.push(ot)}ve.push(Ce(ue));for(var ke=1;ke<=G;ke+=1){var Ut=xe(ue),bt=Ce((0,T.uA)({h:ce(Ut,ke),s:rt(Ut,ke),v:Qe(Ut,ke)}));ve.push(bt)}return _.theme==="dark"?ne.map(function(St){var Pt=St.index,lt=St.opacity,fn=Ce(ie((0,T.uA)(_.backgroundColor||"#141414"),(0,T.uA)(ve[Pt]),lt*100));return fn}):ve}var re={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},le={},pe={};Object.keys(re).forEach(function(N){le[N]=ye(re[N]),le[N].primary=le[N][5],pe[N]=ye(re[N],{theme:"dark",backgroundColor:"#141414"}),pe[N].primary=pe[N][5]});var te=le.red,Ee=le.volcano,Fe=le.gold,qe=le.orange,it=le.yellow,fe=le.lime,nt=le.green,Gt=le.cyan,gn=le.blue,Cn=le.geekblue,Rt=le.purple,Zn=le.magenta,jt=le.grey,K=le.grey,De=(0,f.createContext)({}),ht=De,Ze=n(1413),at=n(71002),_t=n(44958),nn=n(27571),Bt=n(80334);function on(N){return N.replace(/-(.)/g,function(_,ve){return ve.toUpperCase()})}function ln(N,_){(0,Bt.ZP)(N,"[@ant-design/icons] ".concat(_))}function gt(N){return(0,at.Z)(N)==="object"&&typeof N.name=="string"&&typeof N.theme=="string"&&((0,at.Z)(N.icon)==="object"||typeof N.icon=="function")}function H(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(N).reduce(function(_,ve){var ue=N[ve];switch(ve){case"class":_.className=ue,delete _.class;break;default:delete _[ve],_[on(ve)]=ue}return _},{})}function ae(N,_,ve){return ve?f.createElement(N.tag,(0,Ze.Z)((0,Ze.Z)({key:_},H(N.attrs)),ve),(N.children||[]).map(function(ue,ge){return ae(ue,"".concat(_,"-").concat(N.tag,"-").concat(ge))})):f.createElement(N.tag,(0,Ze.Z)({key:_},H(N.attrs)),(N.children||[]).map(function(ue,ge){return ae(ue,"".concat(_,"-").concat(N.tag,"-").concat(ge))}))}function J(N){return ye(N)[0]}function Pe(N){return N?Array.isArray(N)?N:[N]:[]}var Ke={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Ue=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,Ae=function(_){var ve=(0,f.useContext)(ht),ue=ve.csp,ge=ve.prefixCls,ft=Ue;ge&&(ft=ft.replace(/anticon/g,ge)),(0,f.useEffect)(function(){var ot=_.current,ke=(0,nn.A)(ot);(0,_t.hq)(ft,"@ant-design-icons",{prepend:!0,csp:ue,attachTo:ke})},[])},Ye=["icon","className","onClick","style","primaryColor","secondaryColor"],Le={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ne(N){var _=N.primaryColor,ve=N.secondaryColor;Le.primaryColor=_,Le.secondaryColor=ve||J(_),Le.calculated=!!ve}function Re(){return(0,Ze.Z)({},Le)}var We=function(_){var ve=_.icon,ue=_.className,ge=_.onClick,ft=_.style,ot=_.primaryColor,ke=_.secondaryColor,Ut=(0,h.Z)(_,Ye),bt=f.useRef(),St=Le;if(ot&&(St={primaryColor:ot,secondaryColor:ke||J(ot)}),Ae(bt),ln(gt(ve),"icon should be icon definiton, but got ".concat(ve)),!gt(ve))return null;var Pt=ve;return Pt&&typeof Pt.icon=="function"&&(Pt=(0,Ze.Z)((0,Ze.Z)({},Pt),{},{icon:Pt.icon(St.primaryColor,St.secondaryColor)})),ae(Pt.icon,"svg-".concat(Pt.name),(0,Ze.Z)((0,Ze.Z)({className:ue,onClick:ge,style:ft,"data-icon":Pt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ut),{},{ref:bt}))};We.displayName="IconReact",We.getTwoToneColors=Re,We.setTwoToneColors=Ne;var mt=We;function ut(N){var _=Pe(N),ve=(0,u.Z)(_,2),ue=ve[0],ge=ve[1];return mt.setTwoToneColors({primaryColor:ue,secondaryColor:ge})}function Tt(){var N=mt.getTwoToneColors();return N.calculated?[N.primaryColor,N.secondaryColor]:N.primaryColor}var Ft=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ut(gn.primary);var At=f.forwardRef(function(N,_){var ve=N.className,ue=N.icon,ge=N.spin,ft=N.rotate,ot=N.tabIndex,ke=N.onClick,Ut=N.twoToneColor,bt=(0,h.Z)(N,Ft),St=f.useContext(ht),Pt=St.prefixCls,lt=Pt===void 0?"anticon":Pt,fn=St.rootClassName,mn=O()(fn,lt,(0,c.Z)((0,c.Z)({},"".concat(lt,"-").concat(ue.name),!!ue.name),"".concat(lt,"-spin"),!!ge||ue.name==="loading"),ve),It=ot;It===void 0&&ke&&(It=-1);var Lt=ft?{msTransform:"rotate(".concat(ft,"deg)"),transform:"rotate(".concat(ft,"deg)")}:void 0,qt=Pe(Ut),rn=(0,u.Z)(qt,2),sn=rn[0],Mt=rn[1];return f.createElement("span",(0,o.Z)({role:"img","aria-label":ue.name},bt,{ref:_,tabIndex:It,onClick:ke,className:mn}),f.createElement(mt,{icon:ue,primaryColor:sn,secondaryColor:Mt,style:Lt}))});At.displayName="AntdIcon",At.getTwoToneColor=Tt,At.setTwoToneColor=ut;var Ie=At},78733:function(b,w,n){"use strict";n.d(w,{I:function(){return ae}});var o=n(97685),u=n(4942),c=n(1413),h=n(74165),f=n(15861),x=n(45987),O=n(10915),E=n(22270),T=n(48171),D=n(26369),Y=n(60249),l=n(41036),j=n(21770),oe=n(75661),M=n(67294),G=n(81758),ne=0;function xe(J){var Pe=(0,M.useRef)(null),Ke=(0,M.useState)(function(){return J.proFieldKey?J.proFieldKey.toString():(ne+=1,ne.toString())}),Ue=(0,o.Z)(Ke,1),Ae=Ue[0],Ye=(0,M.useRef)(Ae),Le=function(){var mt=(0,f.Z)((0,h.Z)().mark(function ut(){var Tt,Ft,At,Ie;return(0,h.Z)().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return(Tt=Pe.current)===null||Tt===void 0||Tt.abort(),At=new AbortController,Pe.current=At,_.next=5,Promise.race([(Ft=J.request)===null||Ft===void 0?void 0:Ft.call(J,J.params,J),new Promise(function(ve,ue){var ge;(ge=Pe.current)===null||ge===void 0||(ge=ge.signal)===null||ge===void 0||ge.addEventListener("abort",function(){ue(new Error("aborted"))})})]);case 5:return Ie=_.sent,_.abrupt("return",Ie);case 7:case"end":return _.stop()}},ut)}));return function(){return mt.apply(this,arguments)}}();(0,M.useEffect)(function(){return function(){ne+=1}},[]);var Ne=(0,G.ZP)([Ye.current,J.params],Le,{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Re=Ne.data,We=Ne.error;return[Re||We]}var Ce=n(98082),ie=n(74902),ce=n(71002),rt=n(72378),Qe=n.n(rt),ye=n(88306),re=n(8880),le=n(74763),pe=n(92210);function te(J){return(0,ce.Z)(J)!=="object"?!1:J===null?!0:!(M.isValidElement(J)||J.constructor===RegExp||J instanceof Map||J instanceof Set||J instanceof HTMLElement||J instanceof Blob||J instanceof File||Array.isArray(J))}var Ee=function(Pe,Ke){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Ae=Object.keys(Ke).reduce(function(Ne,Re){var We=Ke[Re];return(0,le.k)(We)||(Ne[Re]=We),Ne},{});if(Object.keys(Ae).length<1||typeof window=="undefined"||(0,ce.Z)(Pe)!=="object"||(0,le.k)(Pe)||Pe instanceof Blob)return Pe;var Ye=Array.isArray(Pe)?[]:{},Le=function Ne(Re,We){var mt=Array.isArray(Re),ut=mt?[]:{};return Re==null||Re===void 0?ut:(Object.keys(Re).forEach(function(Tt){var Ft=function ue(ge,ft){return Array.isArray(ge)&&ge.forEach(function(ot,ke){if(!!ot){var Ut=ft==null?void 0:ft[ke];typeof ot=="function"&&(ft[ke]=ot(ft,Tt,Re)),(0,ce.Z)(ot)==="object"&&!Array.isArray(ot)&&Object.keys(ot).forEach(function(bt){var St=Ut==null?void 0:Ut[bt];if(typeof ot[bt]=="function"&&St){var Pt=ot[bt](Ut[bt],Tt,Re);Ut[bt]=(0,ce.Z)(Pt)==="object"?Pt[bt]:Pt}else(0,ce.Z)(ot[bt])==="object"&&Array.isArray(ot[bt])&&St&&ue(ot[bt],St)}),(0,ce.Z)(ot)==="object"&&Array.isArray(ot)&&Ut&&ue(ot,Ut)}}),Tt},At=We?[We,Tt].flat(1):[Tt].flat(1),Ie=Re[Tt],N=(0,ye.Z)(Ae,At),_=function(){var ge,ft,ot=!1;if(typeof N=="function"){ft=N==null?void 0:N(Ie,Tt,Re);var ke=(0,ce.Z)(ft);ke!=="object"&&ke!=="undefined"?(ge=Tt,ot=!0):ge=ft}else ge=Ft(N,Ie);if(Array.isArray(ge)){ut=(0,re.Z)(ut,ge,Ie);return}(0,ce.Z)(ge)==="object"&&!Array.isArray(Ye)?Ye=Qe()(Ye,ge):(0,ce.Z)(ge)==="object"&&Array.isArray(Ye)?ut=(0,c.Z)((0,c.Z)({},ut),ge):(ge!==null||ge!==void 0)&&(ut=(0,re.Z)(ut,[ge],ot?ft:Ie))};if(N&&typeof N=="function"&&_(),typeof window!="undefined"){if(te(Ie)){var ve=Ne(Ie,At);if(Object.keys(ve).length<1)return;ut=(0,re.Z)(ut,[Tt],ve);return}_()}}),Ue?ut:Re)};return Ye=Array.isArray(Pe)&&Array.isArray(Ye)?(0,ie.Z)(Le(Pe)):(0,pe.T)({},Le(Pe),Ye),Ye},Fe=n(23312),qe=n(45095),it=n(8232),fe=n(28459),nt=n(75081),Gt=n(93967),gn=n.n(Gt),Cn=n(97435),Rt=n(80334),Zn=n(66758),jt=n(14726),K=n(85893),De=function(Pe){var Ke=(0,O.YB)(),Ue=it.Z.useFormInstance();if(Pe.render===!1)return null;var Ae=Pe.onSubmit,Ye=Pe.render,Le=Pe.onReset,Ne=Pe.searchConfig,Re=Ne===void 0?{}:Ne,We=Pe.submitButtonProps,mt=Pe.resetButtonProps,ut=Ce.Ow.useToken(),Tt=ut.token,Ft=function(){Ue.submit(),Ae==null||Ae()},At=function(){Ue.resetFields(),Le==null||Le()},Ie=Re.submitText,N=Ie===void 0?Ke.getMessage("tableForm.submit","\u63D0\u4EA4"):Ie,_=Re.resetText,ve=_===void 0?Ke.getMessage("tableForm.reset","\u91CD\u7F6E"):_,ue=[];mt!==!1&&ue.push((0,M.createElement)(jt.ZP,(0,c.Z)((0,c.Z)({},(0,Cn.Z)(mt,["preventDefault"])),{},{key:"rest",onClick:function(ot){var ke;mt!=null&&mt.preventDefault||At(),mt==null||(ke=mt.onClick)===null||ke===void 0||ke.call(mt,ot)}}),ve)),We!==!1&&ue.push((0,M.createElement)(jt.ZP,(0,c.Z)((0,c.Z)({type:"primary"},(0,Cn.Z)(We||{},["preventDefault"])),{},{key:"submit",onClick:function(ot){var ke;We!=null&&We.preventDefault||Ft(),We==null||(ke=We.onClick)===null||ke===void 0||ke.call(We,ot)}}),N));var ge=Ye?Ye((0,c.Z)((0,c.Z)({},Pe),{},{form:Ue,submit:Ft,reset:At}),ue):ue;return ge?Array.isArray(ge)?(ge==null?void 0:ge.length)<1?null:(ge==null?void 0:ge.length)===1?ge[0]:(0,K.jsx)("div",{style:{display:"flex",gap:Tt.marginXS,alignItems:"center"},children:ge}):ge:null},ht=De,Ze=n(55895),at=n(2514),_t=n(9105),nn=["children","contentRender","submitter","fieldProps","formItemProps","groupProps","transformKey","formRef","onInit","form","loading","formComponentType","extraUrlParams","syncToUrl","onUrlSearchChange","onReset","omitNil","isKeyPressSubmit","autoFocusFirstInput","grid","rowProps","colProps"],Bt=["extraUrlParams","syncToUrl","isKeyPressSubmit","syncToUrlAsImportant","syncToInitialValues","children","contentRender","submitter","fieldProps","proFieldProps","formItemProps","groupProps","dateFormatter","formRef","onInit","form","formComponentType","onReset","grid","rowProps","colProps","omitNil","request","params","initialValues","formKey","readonly","onLoadingChange","loading"],on=function(Pe,Ke,Ue){return Pe===!0?Ke:(0,E.h)(Pe,Ke,Ue)},ln=function(Pe){return!Pe||Array.isArray(Pe)?Pe:[Pe]};function gt(J){var Pe,Ke=J.children,Ue=J.contentRender,Ae=J.submitter,Ye=J.fieldProps,Le=J.formItemProps,Ne=J.groupProps,Re=J.transformKey,We=J.formRef,mt=J.onInit,ut=J.form,Tt=J.loading,Ft=J.formComponentType,At=J.extraUrlParams,Ie=At===void 0?{}:At,N=J.syncToUrl,_=J.onUrlSearchChange,ve=J.onReset,ue=J.omitNil,ge=ue===void 0?!0:ue,ft=J.isKeyPressSubmit,ot=J.autoFocusFirstInput,ke=ot===void 0?!0:ot,Ut=J.grid,bt=J.rowProps,St=J.colProps,Pt=(0,x.Z)(J,nn),lt=it.Z.useFormInstance(),fn=(fe.ZP===null||fe.ZP===void 0||(Pe=fe.ZP.useConfig)===null||Pe===void 0?void 0:Pe.call(fe.ZP))||{componentSize:"middle"},mn=fn.componentSize,It=(0,M.useRef)(ut||lt),Lt=(0,at.zx)({grid:Ut,rowProps:bt}),qt=Lt.RowWrapper,rn=(0,T.J)(function(){return lt}),sn=(0,M.useMemo)(function(){return{getFieldsFormatValue:function(Mn){var xn;return Re((xn=rn())===null||xn===void 0?void 0:xn.getFieldsValue(Mn),ge)},getFieldFormatValue:function(){var Mn,xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],zn=ln(xn);if(!zn)throw new Error("nameList is require");var Sn=(Mn=rn())===null||Mn===void 0?void 0:Mn.getFieldValue(zn),Un=zn?(0,re.Z)({},zn,Sn):Sn;return(0,ye.Z)(Re(Un,ge,zn),zn)},getFieldFormatValueObject:function(Mn){var xn,zn=ln(Mn),Sn=(xn=rn())===null||xn===void 0?void 0:xn.getFieldValue(zn),Un=zn?(0,re.Z)({},zn,Sn):Sn;return Re(Un,ge,zn)},validateFieldsReturnFormatValue:function(){var pn=(0,f.Z)((0,h.Z)().mark(function xn(zn){var Sn,Un,Dn;return(0,h.Z)().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:if(!(!Array.isArray(zn)&&zn)){Nt.next=2;break}throw new Error("nameList must be array");case 2:return Nt.next=4,(Sn=rn())===null||Sn===void 0?void 0:Sn.validateFields(zn);case 4:return Un=Nt.sent,Dn=Re(Un,ge),Nt.abrupt("return",Dn||{});case 7:case"end":return Nt.stop()}},xn)}));function Mn(xn){return pn.apply(this,arguments)}return Mn}()}},[ge,Re]),Mt=(0,M.useMemo)(function(){return M.Children.toArray(Ke).map(function(pn,Mn){return Mn===0&&M.isValidElement(pn)&&ke?M.cloneElement(pn,(0,c.Z)((0,c.Z)({},pn.props),{},{autoFocus:ke})):pn})},[ke,Ke]),Kt=(0,M.useMemo)(function(){return typeof Ae=="boolean"||!Ae?{}:Ae},[Ae]),Wt=(0,M.useMemo)(function(){if(Ae!==!1)return(0,K.jsx)(ht,(0,c.Z)((0,c.Z)({},Kt),{},{onReset:function(){var Mn,xn,zn=Re((Mn=It.current)===null||Mn===void 0?void 0:Mn.getFieldsValue(),ge);if(Kt==null||(xn=Kt.onReset)===null||xn===void 0||xn.call(Kt,zn),ve==null||ve(zn),N){var Sn,Un=Object.keys(Re((Sn=It.current)===null||Sn===void 0?void 0:Sn.getFieldsValue(),!1)).reduce(function(Dn,Pn){return(0,c.Z)((0,c.Z)({},Dn),{},(0,u.Z)({},Pn,zn[Pn]||void 0))},Ie);_(on(N,Un||{},"set"))}},submitButtonProps:(0,c.Z)({loading:Tt},Kt.submitButtonProps)}),"submitter")},[Ae,Kt,Tt,Re,ge,ve,N,Ie,_]),lr=(0,M.useMemo)(function(){var pn=Ut?(0,K.jsx)(qt,{children:Mt}):Mt;return Ue?Ue(pn,Wt,It.current):pn},[Ut,qt,Mt,Ue,Wt]),sr=(0,D.D)(J.initialValues);return(0,M.useEffect)(function(){if(!(N||!J.initialValues||!sr||Pt.request)){var pn=(0,Y.A)(J.initialValues,sr);(0,Rt.ET)(pn,"initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ? : null "),(0,Rt.ET)(pn,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null ")}},[J.initialValues]),(0,M.useImperativeHandle)(We,function(){return(0,c.Z)((0,c.Z)({},It.current),sn)},[sn,It.current]),(0,M.useEffect)(function(){var pn,Mn,xn=Re((pn=It.current)===null||pn===void 0||(Mn=pn.getFieldsValue)===null||Mn===void 0?void 0:Mn.call(pn,!0),ge);mt==null||mt(xn,(0,c.Z)((0,c.Z)({},It.current),sn))},[]),(0,K.jsx)(l.J.Provider,{value:(0,c.Z)((0,c.Z)({},sn),{},{formRef:It}),children:(0,K.jsx)(fe.ZP,{componentSize:Pt.size||mn,children:(0,K.jsxs)(at._p.Provider,{value:{grid:Ut,colProps:St},children:[Pt.component!==!1&&(0,K.jsx)("input",{type:"text",style:{display:"none"}}),lr]})})})}var H=0;function ae(J){var Pe=J.extraUrlParams,Ke=Pe===void 0?{}:Pe,Ue=J.syncToUrl,Ae=J.isKeyPressSubmit,Ye=J.syncToUrlAsImportant,Le=Ye===void 0?!1:Ye,Ne=J.syncToInitialValues,Re=Ne===void 0?!0:Ne,We=J.children,mt=J.contentRender,ut=J.submitter,Tt=J.fieldProps,Ft=J.proFieldProps,At=J.formItemProps,Ie=J.groupProps,N=J.dateFormatter,_=N===void 0?"string":N,ve=J.formRef,ue=J.onInit,ge=J.form,ft=J.formComponentType,ot=J.onReset,ke=J.grid,Ut=J.rowProps,bt=J.colProps,St=J.omitNil,Pt=St===void 0?!0:St,lt=J.request,fn=J.params,mn=J.initialValues,It=J.formKey,Lt=It===void 0?H:It,qt=J.readonly,rn=J.onLoadingChange,sn=J.loading,Mt=(0,x.Z)(J,Bt),Kt=(0,M.useRef)({}),Wt=(0,j.Z)(!1,{onChange:rn,value:sn}),lr=(0,o.Z)(Wt,2),sr=lr[0],pn=lr[1],Mn=(0,qe.l)({},{disabled:!Ue}),xn=(0,o.Z)(Mn,2),zn=xn[0],Sn=xn[1],Un=(0,M.useRef)((0,oe.x)());(0,M.useEffect)(function(){H+=0},[]);var Dn=xe({request:lt,params:fn,proFieldKey:Lt}),Pn=(0,o.Z)(Dn,1),Nt=Pn[0],$t=(0,M.useContext)(fe.ZP.ConfigContext),Xt=$t.getPrefixCls,Zt=Xt("pro-form"),Ct=(0,Ce.Xj)("ProForm",function(Qt){return(0,u.Z)({},".".concat(Zt),(0,u.Z)({},"> div:not(".concat(Qt.proComponentsCls,"-form-light-filter)"),{".pro-field":{maxWidth:"100%","@media screen and (max-width: 575px)":{maxWidth:"calc(93vw - 48px)"},"&-xs":{width:104},"&-s":{width:216},"&-sm":{width:216},"&-m":{width:328},"&-md":{width:328},"&-l":{width:440},"&-lg":{width:440},"&-xl":{width:552}}}))}),Rn=Ct.wrapSSR,an=Ct.hashId,xt=(0,M.useState)(function(){return Ue?on(Ue,zn,"get"):{}}),hr=(0,o.Z)(xt,2),Mr=hr[0],Se=hr[1],ee=(0,M.useRef)({}),Ge=(0,M.useRef)({}),st=(0,T.J)(function(Qt,Et,Dt){return Ee((0,Fe.lp)(Qt,_,Ge.current,Et,Dt),ee.current,Et)});(0,M.useEffect)(function(){Re||Se({})},[Re]),(0,M.useEffect)(function(){!Ue||Sn(on(Ue,(0,c.Z)((0,c.Z)({},zn),Ke),"set"))},[Ke,Ue]);var pt=(0,M.useMemo)(function(){if(typeof window!="undefined"&&ft&&["DrawerForm"].includes(ft))return function(Qt){return Qt.parentNode||document.body}},[ft]),Vt=(0,T.J)((0,f.Z)((0,h.Z)().mark(function Qt(){var Et,Dt,Yt,Nn,Ht,Ln,On;return(0,h.Z)().wrap(function(Fn){for(;;)switch(Fn.prev=Fn.next){case 0:if(Mt.onFinish){Fn.next=2;break}return Fn.abrupt("return");case 2:if(!sr){Fn.next=4;break}return Fn.abrupt("return");case 4:return Fn.prev=4,Yt=Kt==null||(Et=Kt.current)===null||Et===void 0||(Dt=Et.getFieldsFormatValue)===null||Dt===void 0?void 0:Dt.call(Et),Nn=Mt.onFinish(Yt),Nn instanceof Promise&&pn(!0),Fn.next=10,Nn;case 10:Ue&&(On=Object.keys(Kt==null||(Ht=Kt.current)===null||Ht===void 0||(Ln=Ht.getFieldsFormatValue)===null||Ln===void 0?void 0:Ln.call(Ht,void 0,!1)).reduce(function(Tn,Yn){var z;return(0,c.Z)((0,c.Z)({},Tn),{},(0,u.Z)({},Yn,(z=Yt[Yn])!==null&&z!==void 0?z:void 0))},Ke),Object.keys(zn).forEach(function(Tn){On[Tn]!==!1&&On[Tn]!==0&&!On[Tn]&&(On[Tn]=void 0)}),Sn(on(Ue,On,"set"))),pn(!1),Fn.next=18;break;case 14:Fn.prev=14,Fn.t0=Fn.catch(4),console.log(Fn.t0),pn(!1);case 18:case"end":return Fn.stop()}},Qt,null,[[4,14]])})));return(0,M.useImperativeHandle)(ve,function(){return Kt.current},[!Nt]),!Nt&&J.request?(0,K.jsx)("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:(0,K.jsx)(nt.Z,{})}):Rn((0,K.jsx)(_t.A.Provider,{value:{mode:J.readonly?"read":"edit"},children:(0,K.jsx)(O._Y,{needDeps:!0,children:(0,K.jsx)(Zn.Z.Provider,{value:{formRef:Kt,fieldProps:Tt,proFieldProps:Ft,formItemProps:At,groupProps:Ie,formComponentType:ft,getPopupContainer:pt,formKey:Un.current,setFieldValueType:function(Et,Dt){var Yt=Dt.valueType,Nn=Yt===void 0?"text":Yt,Ht=Dt.dateFormat,Ln=Dt.transform;!Array.isArray(Et)||(ee.current=(0,re.Z)(ee.current,Et,Ln),Ge.current=(0,re.Z)(Ge.current,Et,{valueType:Nn,dateFormat:Ht}))}},children:(0,K.jsx)(Ze.J.Provider,{value:{},children:(0,K.jsx)(it.Z,(0,c.Z)((0,c.Z)({onKeyPress:function(Et){if(!!Ae&&Et.key==="Enter"){var Dt;(Dt=Kt.current)===null||Dt===void 0||Dt.submit()}},autoComplete:"off",form:ge},(0,Cn.Z)(Mt,["labelWidth","autoFocusFirstInput"])),{},{initialValues:Le?(0,c.Z)((0,c.Z)((0,c.Z)({},mn),Nt),Mr):(0,c.Z)((0,c.Z)((0,c.Z)({},Mr),mn),Nt),onValuesChange:function(Et,Dt){var Yt;Mt==null||(Yt=Mt.onValuesChange)===null||Yt===void 0||Yt.call(Mt,st(Et,!!Pt),st(Dt,!!Pt))},className:gn()(J.className,Zt,an),onFinish:Vt,children:(0,K.jsx)(gt,(0,c.Z)((0,c.Z)({transformKey:st,autoComplete:"off",loading:sr,onUrlSearchChange:Sn},J),{},{formRef:Kt,initialValues:(0,c.Z)((0,c.Z)({},mn),Nt)}))}))})})})}))}},9105:function(b,w,n){"use strict";n.d(w,{A:function(){return u}});var o=n(67294),u=o.createContext({mode:"edit"})},28614:function(b,w,n){"use strict";n.d(w,{G:function(){return Xr}});var o=n(4942),u=n(97685),c=n(1413),h=n(45987),f=n(74138),x=n(51812),O=["colon","dependencies","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","initialValue","noStyle","label","labelAlign","labelCol","name","preserve","normalize","required","rules","shouldUpdate","trigger","validateFirst","validateStatus","validateTrigger","valuePropName","wrapperCol","hidden","addonBefore","addonAfter","addonWarpStyle"];function E(W){var S={};return O.forEach(function(g){W[g]!==void 0&&(S[g]=W[g])}),S}var T=n(53914),D=n(48171),Y=n(93967),l=n.n(Y),j=n(67294),oe=n(87462),M=n(74165),G=n(15861),ne=n(74902),xe=n(15671),Ce=n(43144),ie=n(97326),ce=n(60136),rt=n(29388),Qe=n(50344),ye=n(91881),re=n(80334),le="RC_FORM_INTERNAL_HOOKS",pe=function(){(0,re.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},te=j.createContext({getFieldValue:pe,getFieldsValue:pe,getFieldError:pe,getFieldWarning:pe,getFieldsError:pe,isFieldsTouched:pe,isFieldTouched:pe,isFieldValidating:pe,isFieldsValidating:pe,resetFields:pe,setFields:pe,setFieldValue:pe,setFieldsValue:pe,validateFields:pe,submit:pe,getInternalHooks:function(){return pe(),{dispatch:pe,initEntityValue:pe,registerField:pe,useSubscribe:pe,setInitialValues:pe,destroyForm:pe,setCallbacks:pe,registerWatch:pe,getFields:pe,setValidateMessages:pe,setPreserve:pe,getInitialValue:pe}}}),Ee=te,Fe=j.createContext(null),qe=Fe;function it(W){return W==null?[]:Array.isArray(W)?W:[W]}function fe(W){return W&&!!W._init}var nt=n(34155);function Gt(){return Gt=Object.assign?Object.assign.bind():function(W){for(var S=1;S1?S-1:0),P=1;P=$)return Z;switch(Z){case"%s":return String(g[y++]);case"%d":return Number(g[y++]);case"%j":try{return JSON.stringify(g[y++])}catch(F){return"[Circular]"}break;default:return Z}});return d}return W}function nn(W){return W==="string"||W==="url"||W==="hex"||W==="email"||W==="date"||W==="pattern"}function Bt(W,S){return!!(W==null||S==="array"&&Array.isArray(W)&&!W.length||nn(S)&&typeof W=="string"&&!W)}function on(W,S,g){var P=[],y=0,$=W.length;function d(Z){P.push.apply(P,Z||[]),y++,y===$&&g(P)}W.forEach(function(Z){S(Z,d)})}function ln(W,S,g){var P=0,y=W.length;function $(d){if(d&&d.length){g(d);return}var Z=P;P=P+1,Z()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},We={integer:function(S){return We.number(S)&&parseInt(S,10)===S},float:function(S){return We.number(S)&&!We.integer(S)},array:function(S){return Array.isArray(S)},regexp:function(S){if(S instanceof RegExp)return!0;try{return!!new RegExp(S)}catch(g){return!1}},date:function(S){return typeof S.getTime=="function"&&typeof S.getMonth=="function"&&typeof S.getYear=="function"&&!isNaN(S.getTime())},number:function(S){return isNaN(S)?!1:typeof S=="number"},object:function(S){return typeof S=="object"&&!We.array(S)},method:function(S){return typeof S=="function"},email:function(S){return typeof S=="string"&&S.length<=320&&!!S.match(Re.email)},url:function(S){return typeof S=="string"&&S.length<=2048&&!!S.match(Ne())},hex:function(S){return typeof S=="string"&&!!S.match(Re.hex)}},mt=function(S,g,P,y,$){if(S.required&&g===void 0){Ae(S,g,P,y,$);return}var d=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Z=S.type;d.indexOf(Z)>-1?We[Z](g)||y.push(_t($.messages.types[Z],S.fullField,S.type)):Z&&typeof g!==S.type&&y.push(_t($.messages.types[Z],S.fullField,S.type))},ut=function(S,g,P,y,$){var d=typeof S.len=="number",Z=typeof S.min=="number",F=typeof S.max=="number",k=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,q=g,Oe=null,$e=typeof g=="number",tt=typeof g=="string",ct=Array.isArray(g);if($e?Oe="number":tt?Oe="string":ct&&(Oe="array"),!Oe)return!1;ct&&(q=g.length),tt&&(q=g.replace(k,"_").length),d?q!==S.len&&y.push(_t($.messages[Oe].len,S.fullField,S.len)):Z&&!F&&qS.max?y.push(_t($.messages[Oe].max,S.fullField,S.max)):Z&&F&&(qS.max)&&y.push(_t($.messages[Oe].range,S.fullField,S.min,S.max))},Tt="enum",Ft=function(S,g,P,y,$){S[Tt]=Array.isArray(S[Tt])?S[Tt]:[],S[Tt].indexOf(g)===-1&&y.push(_t($.messages[Tt],S.fullField,S[Tt].join(", ")))},At=function(S,g,P,y,$){if(S.pattern){if(S.pattern instanceof RegExp)S.pattern.lastIndex=0,S.pattern.test(g)||y.push(_t($.messages.pattern.mismatch,S.fullField,g,S.pattern));else if(typeof S.pattern=="string"){var d=new RegExp(S.pattern);d.test(g)||y.push(_t($.messages.pattern.mismatch,S.fullField,g,S.pattern))}}},Ie={required:Ae,whitespace:Ye,type:mt,range:ut,enum:Ft,pattern:At},N=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g,"string")&&!S.required)return P();Ie.required(S,g,y,d,$,"string"),Bt(g,"string")||(Ie.type(S,g,y,d,$),Ie.range(S,g,y,d,$),Ie.pattern(S,g,y,d,$),S.whitespace===!0&&Ie.whitespace(S,g,y,d,$))}P(d)},_=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&Ie.type(S,g,y,d,$)}P(d)},ve=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(g===""&&(g=void 0),Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&(Ie.type(S,g,y,d,$),Ie.range(S,g,y,d,$))}P(d)},ue=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&Ie.type(S,g,y,d,$)}P(d)},ge=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),Bt(g)||Ie.type(S,g,y,d,$)}P(d)},ft=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&(Ie.type(S,g,y,d,$),Ie.range(S,g,y,d,$))}P(d)},ot=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&(Ie.type(S,g,y,d,$),Ie.range(S,g,y,d,$))}P(d)},ke=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(g==null&&!S.required)return P();Ie.required(S,g,y,d,$,"array"),g!=null&&(Ie.type(S,g,y,d,$),Ie.range(S,g,y,d,$))}P(d)},Ut=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&Ie.type(S,g,y,d,$)}P(d)},bt="enum",St=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$),g!==void 0&&Ie[bt](S,g,y,d,$)}P(d)},Pt=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g,"string")&&!S.required)return P();Ie.required(S,g,y,d,$),Bt(g,"string")||Ie.pattern(S,g,y,d,$)}P(d)},lt=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g,"date")&&!S.required)return P();if(Ie.required(S,g,y,d,$),!Bt(g,"date")){var F;g instanceof Date?F=g:F=new Date(g),Ie.type(S,F,y,d,$),F&&Ie.range(S,F.getTime(),y,d,$)}}P(d)},fn=function(S,g,P,y,$){var d=[],Z=Array.isArray(g)?"array":typeof g;Ie.required(S,g,y,d,$,Z),P(d)},mn=function(S,g,P,y,$){var d=S.type,Z=[],F=S.required||!S.required&&y.hasOwnProperty(S.field);if(F){if(Bt(g,d)&&!S.required)return P();Ie.required(S,g,y,Z,$,d),Bt(g,d)||Ie.type(S,g,y,Z,$)}P(Z)},It=function(S,g,P,y,$){var d=[],Z=S.required||!S.required&&y.hasOwnProperty(S.field);if(Z){if(Bt(g)&&!S.required)return P();Ie.required(S,g,y,d,$)}P(d)},Lt={string:N,method:_,number:ve,boolean:ue,regexp:ge,integer:ft,float:ot,array:ke,object:Ut,enum:St,pattern:Pt,date:lt,url:mn,hex:mn,email:mn,required:fn,any:It};function qt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var S=JSON.parse(JSON.stringify(this));return S.clone=this.clone,S}}}var rn=qt(),sn=function(){function W(g){this.rules=null,this._messages=rn,this.define(g)}var S=W.prototype;return S.define=function(P){var y=this;if(!P)throw new Error("Cannot configure a schema with no rules");if(typeof P!="object"||Array.isArray(P))throw new Error("Rules must be an object");this.rules={},Object.keys(P).forEach(function($){var d=P[$];y.rules[$]=Array.isArray(d)?d:[d]})},S.messages=function(P){return P&&(this._messages=Ue(qt(),P)),this._messages},S.validate=function(P,y,$){var d=this;y===void 0&&(y={}),$===void 0&&($=function(){});var Z=P,F=y,k=$;if(typeof F=="function"&&(k=F,F={}),!this.rules||Object.keys(this.rules).length===0)return k&&k(null,Z),Promise.resolve(Z);function q(be){var ze=[],je={};function yt(kt){if(Array.isArray(kt)){var bn;ze=(bn=ze).concat.apply(bn,kt)}else ze.push(kt)}for(var _e=0;_e2&&arguments[2]!==void 0?arguments[2]:!1;return W&&W.some(function(P){return Rn(S,P,g)})}function Rn(W,S){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!W||!S||!g&&W.length!==S.length?!1:S.every(function(P,y){return W[y]===P})}function an(W,S){if(W===S)return!0;if(!W&&S||W&&!S||!W||!S||(0,Nt.Z)(W)!=="object"||(0,Nt.Z)(S)!=="object")return!1;var g=Object.keys(W),P=Object.keys(S),y=new Set([].concat(g,P));return(0,ne.Z)(y).every(function($){var d=W[$],Z=S[$];return typeof d=="function"&&typeof Z=="function"?!0:d===Z})}function xt(W){var S=arguments.length<=1?void 0:arguments[1];return S&&S.target&&(0,Nt.Z)(S.target)==="object"&&W in S.target?S.target[W]:S}function hr(W,S,g){var P=W.length;if(S<0||S>=P||g<0||g>=P)return W;var y=W[S],$=S-g;return $>0?[].concat((0,ne.Z)(W.slice(0,g)),[y],(0,ne.Z)(W.slice(g,S)),(0,ne.Z)(W.slice(S+1,P))):$<0?[].concat((0,ne.Z)(W.slice(0,S)),(0,ne.Z)(W.slice(S+1,g+1)),[y],(0,ne.Z)(W.slice(g+1,P))):W}var Mr=["name"],Se=[];function ee(W,S,g,P,y,$){return typeof W=="function"?W(S,g,"source"in $?{source:$.source}:{}):P!==y}var Ge=function(W){(0,ce.Z)(g,W);var S=(0,rt.Z)(g);function g(P){var y;if((0,xe.Z)(this,g),y=S.call(this,P),(0,o.Z)((0,ie.Z)(y),"state",{resetCount:0}),(0,o.Z)((0,ie.Z)(y),"cancelRegisterFunc",null),(0,o.Z)((0,ie.Z)(y),"mounted",!1),(0,o.Z)((0,ie.Z)(y),"touched",!1),(0,o.Z)((0,ie.Z)(y),"dirty",!1),(0,o.Z)((0,ie.Z)(y),"validatePromise",void 0),(0,o.Z)((0,ie.Z)(y),"prevValidating",void 0),(0,o.Z)((0,ie.Z)(y),"errors",Se),(0,o.Z)((0,ie.Z)(y),"warnings",Se),(0,o.Z)((0,ie.Z)(y),"cancelRegister",function(){var F=y.props,k=F.preserve,q=F.isListField,Oe=F.name;y.cancelRegisterFunc&&y.cancelRegisterFunc(q,k,Xt(Oe)),y.cancelRegisterFunc=null}),(0,o.Z)((0,ie.Z)(y),"getNamePath",function(){var F=y.props,k=F.name,q=F.fieldContext,Oe=q.prefixName,$e=Oe===void 0?[]:Oe;return k!==void 0?[].concat((0,ne.Z)($e),(0,ne.Z)(k)):[]}),(0,o.Z)((0,ie.Z)(y),"getRules",function(){var F=y.props,k=F.rules,q=k===void 0?[]:k,Oe=F.fieldContext;return q.map(function($e){return typeof $e=="function"?$e(Oe):$e})}),(0,o.Z)((0,ie.Z)(y),"refresh",function(){!y.mounted||y.setState(function(F){var k=F.resetCount;return{resetCount:k+1}})}),(0,o.Z)((0,ie.Z)(y),"metaCache",null),(0,o.Z)((0,ie.Z)(y),"triggerMetaEvent",function(F){var k=y.props.onMetaChange;if(k){var q=(0,c.Z)((0,c.Z)({},y.getMeta()),{},{destroy:F});(0,ye.Z)(y.metaCache,q)||k(q),y.metaCache=q}else y.metaCache=null}),(0,o.Z)((0,ie.Z)(y),"onStoreChange",function(F,k,q){var Oe=y.props,$e=Oe.shouldUpdate,tt=Oe.dependencies,ct=tt===void 0?[]:tt,be=Oe.onReset,ze=q.store,je=y.getNamePath(),yt=y.getValue(F),_e=y.getValue(ze),kt=k&&Ct(k,je);switch(q.type==="valueUpdate"&&q.source==="external"&&!(0,ye.Z)(yt,_e)&&(y.touched=!0,y.dirty=!0,y.validatePromise=null,y.errors=Se,y.warnings=Se,y.triggerMetaEvent()),q.type){case"reset":if(!k||kt){y.touched=!1,y.dirty=!1,y.validatePromise=void 0,y.errors=Se,y.warnings=Se,y.triggerMetaEvent(),be==null||be(),y.refresh();return}break;case"remove":{if($e){y.reRender();return}break}case"setField":{var bn=q.data;if(kt){"touched"in bn&&(y.touched=bn.touched),"validating"in bn&&!("originRCField"in bn)&&(y.validatePromise=bn.validating?Promise.resolve([]):null),"errors"in bn&&(y.errors=bn.errors||Se),"warnings"in bn&&(y.warnings=bn.warnings||Se),y.dirty=!0,y.triggerMetaEvent(),y.reRender();return}else if("value"in bn&&Ct(k,je,!0)){y.reRender();return}if($e&&!je.length&&ee($e,F,ze,yt,_e,q)){y.reRender();return}break}case"dependenciesUpdate":{var cn=ct.map(Xt);if(cn.some(function(In){return Ct(q.relatedFields,In)})){y.reRender();return}break}default:if(kt||(!ct.length||je.length||$e)&&ee($e,F,ze,yt,_e,q)){y.reRender();return}break}$e===!0&&y.reRender()}),(0,o.Z)((0,ie.Z)(y),"validateRules",function(F){var k=y.getNamePath(),q=y.getValue(),Oe=F||{},$e=Oe.triggerName,tt=Oe.validateOnly,ct=tt===void 0?!1:tt,be=Promise.resolve().then((0,G.Z)((0,M.Z)().mark(function ze(){var je,yt,_e,kt,bn,cn,In;return(0,M.Z)().wrap(function(dn){for(;;)switch(dn.prev=dn.next){case 0:if(y.mounted){dn.next=2;break}return dn.abrupt("return",[]);case 2:if(je=y.props,yt=je.validateFirst,_e=yt===void 0?!1:yt,kt=je.messageVariables,bn=je.validateDebounce,cn=y.getRules(),$e&&(cn=cn.filter(function(wn){return wn}).filter(function(wn){var Qn=wn.validateTrigger;if(!Qn)return!0;var Gn=it(Qn);return Gn.includes($e)})),!(bn&&$e)){dn.next=10;break}return dn.next=8,new Promise(function(wn){setTimeout(wn,bn)});case 8:if(y.validatePromise===be){dn.next=10;break}return dn.abrupt("return",[]);case 10:return In=zn(k,q,cn,F,_e,kt),In.catch(function(wn){return wn}).then(function(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Se;if(y.validatePromise===be){var Qn;y.validatePromise=null;var Gn=[],qn=[];(Qn=wn.forEach)===null||Qn===void 0||Qn.call(wn,function(Or){var Yr=Or.rule.warningOnly,cr=Or.errors,jn=cr===void 0?Se:cr;Yr?qn.push.apply(qn,(0,ne.Z)(jn)):Gn.push.apply(Gn,(0,ne.Z)(jn))}),y.errors=Gn,y.warnings=qn,y.triggerMetaEvent(),y.reRender()}}),dn.abrupt("return",In);case 13:case"end":return dn.stop()}},ze)})));return ct||(y.validatePromise=be,y.dirty=!0,y.errors=Se,y.warnings=Se,y.triggerMetaEvent(),y.reRender()),be}),(0,o.Z)((0,ie.Z)(y),"isFieldValidating",function(){return!!y.validatePromise}),(0,o.Z)((0,ie.Z)(y),"isFieldTouched",function(){return y.touched}),(0,o.Z)((0,ie.Z)(y),"isFieldDirty",function(){if(y.dirty||y.props.initialValue!==void 0)return!0;var F=y.props.fieldContext,k=F.getInternalHooks(le),q=k.getInitialValue;return q(y.getNamePath())!==void 0}),(0,o.Z)((0,ie.Z)(y),"getErrors",function(){return y.errors}),(0,o.Z)((0,ie.Z)(y),"getWarnings",function(){return y.warnings}),(0,o.Z)((0,ie.Z)(y),"isListField",function(){return y.props.isListField}),(0,o.Z)((0,ie.Z)(y),"isList",function(){return y.props.isList}),(0,o.Z)((0,ie.Z)(y),"isPreserve",function(){return y.props.preserve}),(0,o.Z)((0,ie.Z)(y),"getMeta",function(){y.prevValidating=y.isFieldValidating();var F={touched:y.isFieldTouched(),validating:y.prevValidating,errors:y.errors,warnings:y.warnings,name:y.getNamePath(),validated:y.validatePromise===null};return F}),(0,o.Z)((0,ie.Z)(y),"getOnlyChild",function(F){if(typeof F=="function"){var k=y.getMeta();return(0,c.Z)((0,c.Z)({},y.getOnlyChild(F(y.getControlled(),k,y.props.fieldContext))),{},{isFunction:!0})}var q=(0,Qe.Z)(F);return q.length!==1||!j.isValidElement(q[0])?{child:q,isFunction:!1}:{child:q[0],isFunction:!1}}),(0,o.Z)((0,ie.Z)(y),"getValue",function(F){var k=y.props.fieldContext.getFieldsValue,q=y.getNamePath();return(0,$t.Z)(F||k(!0),q)}),(0,o.Z)((0,ie.Z)(y),"getControlled",function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=y.props,q=k.name,Oe=k.trigger,$e=k.validateTrigger,tt=k.getValueFromEvent,ct=k.normalize,be=k.valuePropName,ze=k.getValueProps,je=k.fieldContext,yt=$e!==void 0?$e:je.validateTrigger,_e=y.getNamePath(),kt=je.getInternalHooks,bn=je.getFieldsValue,cn=kt(le),In=cn.dispatch,Jn=y.getValue(),dn=ze||function(Or){return(0,o.Z)({},be,Or)},wn=F[Oe],Qn=q!==void 0?dn(Jn):{},Gn=(0,c.Z)((0,c.Z)({},F),Qn);Gn[Oe]=function(){y.touched=!0,y.dirty=!0,y.triggerMetaEvent();for(var Or,Yr=arguments.length,cr=new Array(Yr),jn=0;jn=0&&wn<=Qn.length?(q.keys=[].concat((0,ne.Z)(q.keys.slice(0,wn)),[q.id],(0,ne.Z)(q.keys.slice(wn))),_e([].concat((0,ne.Z)(Qn.slice(0,wn)),[dn],(0,ne.Z)(Qn.slice(wn))))):(q.keys=[].concat((0,ne.Z)(q.keys),[q.id]),_e([].concat((0,ne.Z)(Qn),[dn]))),q.id+=1},remove:function(dn){var wn=bn(),Qn=new Set(Array.isArray(dn)?dn:[dn]);Qn.size<=0||(q.keys=q.keys.filter(function(Gn,qn){return!Qn.has(qn)}),_e(wn.filter(function(Gn,qn){return!Qn.has(qn)})))},move:function(dn,wn){if(dn!==wn){var Qn=bn();dn<0||dn>=Qn.length||wn<0||wn>=Qn.length||(q.keys=hr(q.keys,dn,wn),_e(hr(Qn,dn,wn)))}}},In=yt||[];return Array.isArray(In)||(In=[]),P(In.map(function(Jn,dn){var wn=q.keys[dn];return wn===void 0&&(q.keys[dn]=q.id,wn=q.keys[dn],q.id+=1),{name:dn,key:wn,isListField:!0}}),cn,ze)})))}var Qt=Vt;function Et(W){var S=!1,g=W.length,P=[];return W.length?new Promise(function(y,$){W.forEach(function(d,Z){d.catch(function(F){return S=!0,F}).then(function(F){g-=1,P[Z]=F,!(g>0)&&(S&&$(P),y(P))})})}):Promise.resolve([])}var Dt="__@field_split__";function Yt(W){return W.map(function(S){return"".concat((0,Nt.Z)(S),":").concat(S)}).join(Dt)}var Nn=function(){function W(){(0,xe.Z)(this,W),(0,o.Z)(this,"kvs",new Map)}return(0,Ce.Z)(W,[{key:"set",value:function(g,P){this.kvs.set(Yt(g),P)}},{key:"get",value:function(g){return this.kvs.get(Yt(g))}},{key:"update",value:function(g,P){var y=this.get(g),$=P(y);$?this.set(g,$):this.delete(g)}},{key:"delete",value:function(g){this.kvs.delete(Yt(g))}},{key:"map",value:function(g){return(0,ne.Z)(this.kvs.entries()).map(function(P){var y=(0,u.Z)(P,2),$=y[0],d=y[1],Z=$.split(Dt);return g({key:Z.map(function(F){var k=F.match(/^([^:]*):(.*)$/),q=(0,u.Z)(k,3),Oe=q[1],$e=q[2];return Oe==="number"?Number($e):$e}),value:d})})}},{key:"toJSON",value:function(){var g={};return this.map(function(P){var y=P.key,$=P.value;return g[y.join(".")]=$,null}),g}}]),W}(),Ht=Nn,Ln=["name"],On=(0,Ce.Z)(function W(S){var g=this;(0,xe.Z)(this,W),(0,o.Z)(this,"formHooked",!1),(0,o.Z)(this,"forceRootUpdate",void 0),(0,o.Z)(this,"subscribable",!0),(0,o.Z)(this,"store",{}),(0,o.Z)(this,"fieldEntities",[]),(0,o.Z)(this,"initialValues",{}),(0,o.Z)(this,"callbacks",{}),(0,o.Z)(this,"validateMessages",null),(0,o.Z)(this,"preserve",null),(0,o.Z)(this,"lastValidatePromise",null),(0,o.Z)(this,"getForm",function(){return{getFieldValue:g.getFieldValue,getFieldsValue:g.getFieldsValue,getFieldError:g.getFieldError,getFieldWarning:g.getFieldWarning,getFieldsError:g.getFieldsError,isFieldsTouched:g.isFieldsTouched,isFieldTouched:g.isFieldTouched,isFieldValidating:g.isFieldValidating,isFieldsValidating:g.isFieldsValidating,resetFields:g.resetFields,setFields:g.setFields,setFieldValue:g.setFieldValue,setFieldsValue:g.setFieldsValue,validateFields:g.validateFields,submit:g.submit,_init:!0,getInternalHooks:g.getInternalHooks}}),(0,o.Z)(this,"getInternalHooks",function(P){return P===le?(g.formHooked=!0,{dispatch:g.dispatch,initEntityValue:g.initEntityValue,registerField:g.registerField,useSubscribe:g.useSubscribe,setInitialValues:g.setInitialValues,destroyForm:g.destroyForm,setCallbacks:g.setCallbacks,setValidateMessages:g.setValidateMessages,getFields:g.getFields,setPreserve:g.setPreserve,getInitialValue:g.getInitialValue,registerWatch:g.registerWatch}):((0,re.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,o.Z)(this,"useSubscribe",function(P){g.subscribable=P}),(0,o.Z)(this,"prevWithoutPreserves",null),(0,o.Z)(this,"setInitialValues",function(P,y){if(g.initialValues=P||{},y){var $,d=(0,Wt.T)(P,g.store);($=g.prevWithoutPreserves)===null||$===void 0||$.map(function(Z){var F=Z.key;d=(0,Wt.Z)(d,F,(0,$t.Z)(P,F))}),g.prevWithoutPreserves=null,g.updateStore(d)}}),(0,o.Z)(this,"destroyForm",function(){var P=new Ht;g.getFieldEntities(!0).forEach(function(y){g.isMergedPreserve(y.isPreserve())||P.set(y.getNamePath(),!0)}),g.prevWithoutPreserves=P}),(0,o.Z)(this,"getInitialValue",function(P){var y=(0,$t.Z)(g.initialValues,P);return P.length?(0,Wt.T)(y):y}),(0,o.Z)(this,"setCallbacks",function(P){g.callbacks=P}),(0,o.Z)(this,"setValidateMessages",function(P){g.validateMessages=P}),(0,o.Z)(this,"setPreserve",function(P){g.preserve=P}),(0,o.Z)(this,"watchList",[]),(0,o.Z)(this,"registerWatch",function(P){return g.watchList.push(P),function(){g.watchList=g.watchList.filter(function(y){return y!==P})}}),(0,o.Z)(this,"notifyWatch",function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(g.watchList.length){var y=g.getFieldsValue(),$=g.getFieldsValue(!0);g.watchList.forEach(function(d){d(y,$,P)})}}),(0,o.Z)(this,"timeoutId",null),(0,o.Z)(this,"warningUnhooked",function(){}),(0,o.Z)(this,"updateStore",function(P){g.store=P}),(0,o.Z)(this,"getFieldEntities",function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return P?g.fieldEntities.filter(function(y){return y.getNamePath().length}):g.fieldEntities}),(0,o.Z)(this,"getFieldsMap",function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,y=new Ht;return g.getFieldEntities(P).forEach(function($){var d=$.getNamePath();y.set(d,$)}),y}),(0,o.Z)(this,"getFieldEntitiesForNamePathList",function(P){if(!P)return g.getFieldEntities(!0);var y=g.getFieldsMap(!0);return P.map(function($){var d=Xt($);return y.get(d)||{INVALIDATE_NAME_PATH:Xt($)}})}),(0,o.Z)(this,"getFieldsValue",function(P,y){g.warningUnhooked();var $,d,Z;if(P===!0||Array.isArray(P)?($=P,d=y):P&&(0,Nt.Z)(P)==="object"&&(Z=P.strict,d=P.filter),$===!0&&!d)return g.store;var F=g.getFieldEntitiesForNamePathList(Array.isArray($)?$:null),k=[];return F.forEach(function(q){var Oe,$e,tt="INVALIDATE_NAME_PATH"in q?q.INVALIDATE_NAME_PATH:q.getNamePath();if(Z){var ct,be;if((ct=(be=q).isList)!==null&&ct!==void 0&&ct.call(be))return}else if(!$&&(Oe=($e=q).isListField)!==null&&Oe!==void 0&&Oe.call($e))return;if(!d)k.push(tt);else{var ze="getMeta"in q?q.getMeta():null;d(ze)&&k.push(tt)}}),Zt(g.store,k.map(Xt))}),(0,o.Z)(this,"getFieldValue",function(P){g.warningUnhooked();var y=Xt(P);return(0,$t.Z)(g.store,y)}),(0,o.Z)(this,"getFieldsError",function(P){g.warningUnhooked();var y=g.getFieldEntitiesForNamePathList(P);return y.map(function($,d){return $&&!("INVALIDATE_NAME_PATH"in $)?{name:$.getNamePath(),errors:$.getErrors(),warnings:$.getWarnings()}:{name:Xt(P[d]),errors:[],warnings:[]}})}),(0,o.Z)(this,"getFieldError",function(P){g.warningUnhooked();var y=Xt(P),$=g.getFieldsError([y])[0];return $.errors}),(0,o.Z)(this,"getFieldWarning",function(P){g.warningUnhooked();var y=Xt(P),$=g.getFieldsError([y])[0];return $.warnings}),(0,o.Z)(this,"isFieldsTouched",function(){g.warningUnhooked();for(var P=arguments.length,y=new Array(P),$=0;$0&&arguments[0]!==void 0?arguments[0]:{},y=new Ht,$=g.getFieldEntities(!0);$.forEach(function(F){var k=F.props.initialValue,q=F.getNamePath();if(k!==void 0){var Oe=y.get(q)||new Set;Oe.add({entity:F,value:k}),y.set(q,Oe)}});var d=function(k){k.forEach(function(q){var Oe=q.props.initialValue;if(Oe!==void 0){var $e=q.getNamePath(),tt=g.getInitialValue($e);if(tt!==void 0)(0,re.ZP)(!1,"Form already set 'initialValues' with path '".concat($e.join("."),"'. Field can not overwrite it."));else{var ct=y.get($e);if(ct&&ct.size>1)(0,re.ZP)(!1,"Multiple Field with path '".concat($e.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(ct){var be=g.getFieldValue($e),ze=q.isListField();!ze&&(!P.skipExist||be===void 0)&&g.updateStore((0,Wt.Z)(g.store,$e,(0,ne.Z)(ct)[0].value))}}}})},Z;P.entities?Z=P.entities:P.namePathList?(Z=[],P.namePathList.forEach(function(F){var k=y.get(F);if(k){var q;(q=Z).push.apply(q,(0,ne.Z)((0,ne.Z)(k).map(function(Oe){return Oe.entity})))}})):Z=$,d(Z)}),(0,o.Z)(this,"resetFields",function(P){g.warningUnhooked();var y=g.store;if(!P){g.updateStore((0,Wt.T)(g.initialValues)),g.resetWithFieldInitialValue(),g.notifyObservers(y,null,{type:"reset"}),g.notifyWatch();return}var $=P.map(Xt);$.forEach(function(d){var Z=g.getInitialValue(d);g.updateStore((0,Wt.Z)(g.store,d,Z))}),g.resetWithFieldInitialValue({namePathList:$}),g.notifyObservers(y,$,{type:"reset"}),g.notifyWatch($)}),(0,o.Z)(this,"setFields",function(P){g.warningUnhooked();var y=g.store,$=[];P.forEach(function(d){var Z=d.name,F=(0,h.Z)(d,Ln),k=Xt(Z);$.push(k),"value"in F&&g.updateStore((0,Wt.Z)(g.store,k,F.value)),g.notifyObservers(y,[k],{type:"setField",data:d})}),g.notifyWatch($)}),(0,o.Z)(this,"getFields",function(){var P=g.getFieldEntities(!0),y=P.map(function($){var d=$.getNamePath(),Z=$.getMeta(),F=(0,c.Z)((0,c.Z)({},Z),{},{name:d,value:g.getFieldValue(d)});return Object.defineProperty(F,"originRCField",{value:!0}),F});return y}),(0,o.Z)(this,"initEntityValue",function(P){var y=P.props.initialValue;if(y!==void 0){var $=P.getNamePath(),d=(0,$t.Z)(g.store,$);d===void 0&&g.updateStore((0,Wt.Z)(g.store,$,y))}}),(0,o.Z)(this,"isMergedPreserve",function(P){var y=P!==void 0?P:g.preserve;return y!=null?y:!0}),(0,o.Z)(this,"registerField",function(P){g.fieldEntities.push(P);var y=P.getNamePath();if(g.notifyWatch([y]),P.props.initialValue!==void 0){var $=g.store;g.resetWithFieldInitialValue({entities:[P],skipExist:!0}),g.notifyObservers($,[P.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(d,Z){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(g.fieldEntities=g.fieldEntities.filter(function(Oe){return Oe!==P}),!g.isMergedPreserve(Z)&&(!d||F.length>1)){var k=d?void 0:g.getInitialValue(y);if(y.length&&g.getFieldValue(y)!==k&&g.fieldEntities.every(function(Oe){return!Rn(Oe.getNamePath(),y)})){var q=g.store;g.updateStore((0,Wt.Z)(q,y,k,!0)),g.notifyObservers(q,[y],{type:"remove"}),g.triggerDependenciesUpdate(q,y)}}g.notifyWatch([y])}}),(0,o.Z)(this,"dispatch",function(P){switch(P.type){case"updateValue":{var y=P.namePath,$=P.value;g.updateValue(y,$);break}case"validateField":{var d=P.namePath,Z=P.triggerName;g.validateFields([d],{triggerName:Z});break}default:}}),(0,o.Z)(this,"notifyObservers",function(P,y,$){if(g.subscribable){var d=(0,c.Z)((0,c.Z)({},$),{},{store:g.getFieldsValue(!0)});g.getFieldEntities().forEach(function(Z){var F=Z.onStoreChange;F(P,y,d)})}else g.forceRootUpdate()}),(0,o.Z)(this,"triggerDependenciesUpdate",function(P,y){var $=g.getDependencyChildrenFields(y);return $.length&&g.validateFields($),g.notifyObservers(P,$,{type:"dependenciesUpdate",relatedFields:[y].concat((0,ne.Z)($))}),$}),(0,o.Z)(this,"updateValue",function(P,y){var $=Xt(P),d=g.store;g.updateStore((0,Wt.Z)(g.store,$,y)),g.notifyObservers(d,[$],{type:"valueUpdate",source:"internal"}),g.notifyWatch([$]);var Z=g.triggerDependenciesUpdate(d,$),F=g.callbacks.onValuesChange;if(F){var k=Zt(g.store,[$]);F(k,g.getFieldsValue())}g.triggerOnFieldsChange([$].concat((0,ne.Z)(Z)))}),(0,o.Z)(this,"setFieldsValue",function(P){g.warningUnhooked();var y=g.store;if(P){var $=(0,Wt.T)(g.store,P);g.updateStore($)}g.notifyObservers(y,null,{type:"valueUpdate",source:"external"}),g.notifyWatch()}),(0,o.Z)(this,"setFieldValue",function(P,y){g.setFields([{name:P,value:y}])}),(0,o.Z)(this,"getDependencyChildrenFields",function(P){var y=new Set,$=[],d=new Ht;g.getFieldEntities().forEach(function(F){var k=F.props.dependencies;(k||[]).forEach(function(q){var Oe=Xt(q);d.update(Oe,function(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return $e.add(F),$e})})});var Z=function F(k){var q=d.get(k)||new Set;q.forEach(function(Oe){if(!y.has(Oe)){y.add(Oe);var $e=Oe.getNamePath();Oe.isFieldDirty()&&$e.length&&($.push($e),F($e))}})};return Z(P),$}),(0,o.Z)(this,"triggerOnFieldsChange",function(P,y){var $=g.callbacks.onFieldsChange;if($){var d=g.getFields();if(y){var Z=new Ht;y.forEach(function(k){var q=k.name,Oe=k.errors;Z.set(q,Oe)}),d.forEach(function(k){k.errors=Z.get(k.name)||k.errors})}var F=d.filter(function(k){var q=k.name;return Ct(P,q)});F.length&&$(F,d)}}),(0,o.Z)(this,"validateFields",function(P,y){g.warningUnhooked();var $,d;Array.isArray(P)||typeof P=="string"||typeof y=="string"?($=P,d=y):d=P;var Z=!!$,F=Z?$.map(Xt):[],k=[],q=String(Date.now()),Oe=new Set,$e=d||{},tt=$e.recursive,ct=$e.dirty;g.getFieldEntities(!0).forEach(function(yt){if(Z||F.push(yt.getNamePath()),!(!yt.props.rules||!yt.props.rules.length)&&!(ct&&!yt.isFieldDirty())){var _e=yt.getNamePath();if(Oe.add(_e.join(q)),!Z||Ct(F,_e,tt)){var kt=yt.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},Kt),g.validateMessages)},d));k.push(kt.then(function(){return{name:_e,errors:[],warnings:[]}}).catch(function(bn){var cn,In=[],Jn=[];return(cn=bn.forEach)===null||cn===void 0||cn.call(bn,function(dn){var wn=dn.rule.warningOnly,Qn=dn.errors;wn?Jn.push.apply(Jn,(0,ne.Z)(Qn)):In.push.apply(In,(0,ne.Z)(Qn))}),In.length?Promise.reject({name:_e,errors:In,warnings:Jn}):{name:_e,errors:In,warnings:Jn}}))}}});var be=Et(k);g.lastValidatePromise=be,be.catch(function(yt){return yt}).then(function(yt){var _e=yt.map(function(kt){var bn=kt.name;return bn});g.notifyObservers(g.store,_e,{type:"validateFinish"}),g.triggerOnFieldsChange(_e,yt)});var ze=be.then(function(){return g.lastValidatePromise===be?Promise.resolve(g.getFieldsValue(F)):Promise.reject([])}).catch(function(yt){var _e=yt.filter(function(kt){return kt&&kt.errors.length});return Promise.reject({values:g.getFieldsValue(F),errorFields:_e,outOfDate:g.lastValidatePromise!==be})});ze.catch(function(yt){return yt});var je=F.filter(function(yt){return Oe.has(yt.join(q))});return g.triggerOnFieldsChange(je),ze}),(0,o.Z)(this,"submit",function(){g.warningUnhooked(),g.validateFields().then(function(P){var y=g.callbacks.onFinish;if(y)try{y(P)}catch($){console.error($)}}).catch(function(P){var y=g.callbacks.onFinishFailed;y&&y(P)})}),this.forceRootUpdate=S});function En(W){var S=j.useRef(),g=j.useState({}),P=(0,u.Z)(g,2),y=P[1];if(!S.current)if(W)S.current=W;else{var $=function(){y({})},d=new On($);S.current=d.getForm()}return[S.current]}var Fn=En,Tn=j.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Yn=function(S){var g=S.validateMessages,P=S.onFormChange,y=S.onFormFinish,$=S.children,d=j.useContext(Tn),Z=j.useRef({});return j.createElement(Tn.Provider,{value:(0,c.Z)((0,c.Z)({},d),{},{validateMessages:(0,c.Z)((0,c.Z)({},d.validateMessages),g),triggerFormChange:function(k,q){P&&P(k,{changedFields:q,forms:Z.current}),d.triggerFormChange(k,q)},triggerFormFinish:function(k,q){y&&y(k,{values:q,forms:Z.current}),d.triggerFormFinish(k,q)},registerForm:function(k,q){k&&(Z.current=(0,c.Z)((0,c.Z)({},Z.current),{},(0,o.Z)({},k,q))),d.registerForm(k,q)},unregisterForm:function(k){var q=(0,c.Z)({},Z.current);delete q[k],Z.current=q,d.unregisterForm(k)}})},$)},z=Tn,Sr=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],or=function(S,g){var P=S.name,y=S.initialValues,$=S.fields,d=S.form,Z=S.preserve,F=S.children,k=S.component,q=k===void 0?"form":k,Oe=S.validateMessages,$e=S.validateTrigger,tt=$e===void 0?"onChange":$e,ct=S.onValuesChange,be=S.onFieldsChange,ze=S.onFinish,je=S.onFinishFailed,yt=(0,h.Z)(S,Sr),_e=j.useContext(z),kt=Fn(d),bn=(0,u.Z)(kt,1),cn=bn[0],In=cn.getInternalHooks(le),Jn=In.useSubscribe,dn=In.setInitialValues,wn=In.setCallbacks,Qn=In.setValidateMessages,Gn=In.setPreserve,qn=In.destroyForm;j.useImperativeHandle(g,function(){return cn}),j.useEffect(function(){return _e.registerForm(P,cn),function(){_e.unregisterForm(P)}},[_e,cn,P]),Qn((0,c.Z)((0,c.Z)({},_e.validateMessages),Oe)),wn({onValuesChange:ct,onFieldsChange:function(_r){if(_e.triggerFormChange(P,_r),be){for(var na=arguments.length,Ma=new Array(na>1?na-1:0),Sa=1;Sa2&&arguments[2]!==void 0?arguments[2]:!1;L.forEach(function(B){if(!(!A&&I!==!1&&I>0&&U.length>=I)){var de=[].concat((0,ye.Z)(X),[B]),we=B[r.children],se=Q||B.disabled;if((!we||we.length===0||s)&&m(t,de,{label:r.label})){var he;U.push((0,o.Z)((0,o.Z)({},B),{},(he={disabled:se},(0,fe.Z)(he,r.label,C(t,de,a,r)),(0,fe.Z)(he,nt,de),(0,fe.Z)(he,r.children,void 0),he)))}we&&V(B[r.children],de,se)}})}return V(e,[]),A&&U.sort(function(L,X){return A(L[nt],X[nt],t,r)}),I!==!1&&I>0?U.slice(0,I):U},[t,e,r,a,C,s,m,A,I])},Rt="__RC_CASCADER_SPLIT__",Zn="SHOW_PARENT",jt="SHOW_CHILD";function K(t){return t.join(Rt)}function De(t){return t.map(K)}function ht(t){return t.split(Rt)}function Ze(t){var e=t||{},r=e.label,a=e.value,i=e.children,s=a||"value";return{label:r||"label",value:s,key:s,children:i||"children"}}function at(t,e){var r,a;return(r=t.isLeaf)!==null&&r!==void 0?r:!((a=t[e.children])!==null&&a!==void 0&&a.length)}function _t(t){var e=t.parentElement;if(!!e){var r=t.offsetTop-e.offsetTop;r-e.scrollTop<0?e.scrollTo({top:r}):r+t.offsetHeight-e.scrollTop>e.offsetHeight&&e.scrollTo({top:r+t.offsetHeight-e.offsetHeight})}}function nn(t,e){return t.map(function(r){var a;return(a=r[nt])===null||a===void 0?void 0:a.map(function(i){return i[e.value]})})}function Bt(t){return Array.isArray(t)&&Array.isArray(t[0])}function on(t){return t?Bt(t)?t:(t.length===0?[]:[t]).map(function(e){return Array.isArray(e)?e:[e]}):[]}function ln(t,e,r){var a=new Set(t),i=e();return t.filter(function(s){var v=i[s],m=v?v.parent:null,p=v?v.children:null;return v&&v.node.disabled?!0:r===jt?!(p&&p.some(function(C){return C.key&&a.has(C.key)})):!(m&&!m.node.disabled&&a.has(m.key))})}function gt(t,e,r){for(var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=e,s=[],v=function(){var C,R,I,A=t[m],U=(C=i)===null||C===void 0?void 0:C.findIndex(function(L){var X=L[r.value];return a?String(X)===String(A):X===A}),V=U!==-1?(R=i)===null||R===void 0?void 0:R[U]:null;s.push({value:(I=V==null?void 0:V[r.value])!==null&&I!==void 0?I:A,index:U,option:V}),i=V==null?void 0:V[r.children]},m=0;m1){var Te=V.slice(0,-1);B(Te)}else C(!1)},se=function(){var Te,Ve=((Te=X[L])===null||Te===void 0?void 0:Te[r.children])||[],Xe=Ve.find(function(Je){return!Je.disabled});if(Xe){var Me=[].concat((0,ye.Z)(V),[Xe[r.value]]);B(Me)}};l.useImperativeHandle(t,function(){return{onKeyDown:function(Te){var Ve=Te.which;switch(Ve){case Ie.Z.UP:case Ie.Z.DOWN:{var Xe=0;Ve===Ie.Z.UP?Xe=-1:Ve===Ie.Z.DOWN&&(Xe=1),Xe!==0&&de(Xe);break}case Ie.Z.LEFT:{if(p)break;I?se():we();break}case Ie.Z.RIGHT:{if(p)break;I?we():se();break}case Ie.Z.BACKSPACE:{p||we();break}case Ie.Z.ENTER:{if(V.length){var Me=X[L],Je=(Me==null?void 0:Me[nt])||[];Je.length?s(Je.map(function(me){return me[r.value]}),Je[Je.length-1]):s(V,X[L])}break}case Ie.Z.ESC:C(!1),R&&Te.stopPropagation()}},onKeyUp:function(){}}})},_=l.forwardRef(function(t,e){var r,a,i,s=t.prefixCls,v=t.multiple,m=t.searchValue,p=t.toggleOpen,C=t.notFoundContent,R=t.direction,I=t.open,A=l.useRef(null),U=R==="rtl",V=l.useContext(it),L=V.options,X=V.values,Q=V.halfValues,B=V.fieldNames,de=V.changeOnSelect,we=V.onSelect,se=V.searchOptions,he=V.dropdownPrefixCls,Te=V.loadData,Ve=V.expandTrigger,Xe=he||s,Me=l.useState([]),Je=(0,j.Z)(Me,2),me=Je[0],Be=Je[1],vt=function(An){if(!(!Te||m)){var Wn=gt(An,L,B),en=Wn.map(function(ar){var Rr=ar.option;return Rr}),tn=en[en.length-1];if(tn&&!at(tn,B)){var dr=K(An);Be(function(ar){return[].concat((0,ye.Z)(ar),[dr])}),Te(en)}}};l.useEffect(function(){me.length&&me.forEach(function(rr){var An=ht(rr),Wn=gt(An,L,B,!0).map(function(tn){var dr=tn.option;return dr}),en=Wn[Wn.length-1];(!en||en[B.children]||at(en,B))&&Be(function(tn){return tn.filter(function(dr){return dr!==rr})})})},[L,me,B]);var He=l.useMemo(function(){return new Set(De(X))},[X]),dt=l.useMemo(function(){return new Set(De(Q))},[Q]),et=At(v,I),wt=(0,j.Z)(et,2),Ot=wt[0],hn=wt[1],zt=function(An){hn(An),vt(An)},Jt=function(An){var Wn=An.disabled,en=at(An,B);return!Wn&&(en||de||v)},Bn=function(An,Wn){var en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;we(An),!v&&(Wn||de&&(Ve==="hover"||en))&&p(!1)},_n=l.useMemo(function(){return m?se:L},[m,se,L]),ir=l.useMemo(function(){for(var rr=[{options:_n}],An=_n,Wn=nn(An,B),en=function(){var ar=Ot[tn],Rr=An.find(function(Gr,fr){return(Wn[fr]?K(Wn[fr]):Gr[B.value])===ar}),vr=Rr==null?void 0:Rr[B.children];if(!(vr!=null&&vr.length))return 1;An=vr,rr.push({options:vr})},tn=0;tn":Q,de=r.loadingIcon,we=r.direction,se=r.notFoundContent,he=se===void 0?"Not Found":se,Te=!!p,Ve=(0,ft.C8)(C,{value:R,postState:on}),Xe=(0,j.Z)(Ve,2),Me=Xe[0],Je=Xe[1],me=l.useMemo(function(){return Ze(I)},[JSON.stringify(I)]),Be=Ke(me,m),vt=(0,j.Z)(Be,3),He=vt[0],dt=vt[1],et=vt[2],wt=ae(He,me),Ot=Ne(Te,Me,dt,et,wt),hn=(0,j.Z)(Ot,3),zt=hn[0],Jt=hn[1],Bn=hn[2],_n=(0,ft.zX)(function(Zr){if(Je(Zr),U){var tr=on(Zr),rr=tr.map(function(en){return gt(en,He,me).map(function(tn){return tn.option})}),An=Te?tr:tr[0],Wn=Te?rr:rr[0];U(An,Wn)}}),ir=Le(Te,_n,zt,Jt,Bn,dt,et,V),Xn=(0,ft.zX)(function(Zr){ir(Zr)}),Kn=l.useMemo(function(){return{options:He,fieldNames:me,values:zt,halfValues:Jt,changeOnSelect:A,onSelect:Xn,checkable:p,searchOptions:[],dropdownPrefixCls:void 0,loadData:L,expandTrigger:X,expandIcon:B,loadingIcon:de,dropdownMenuColumnStyle:void 0}},[He,me,zt,Jt,A,Xn,p,L,X,B,de]),yr="".concat(i,"-panel"),Fr=!He.length;return l.createElement(it.Provider,{value:Kn},l.createElement("div",{className:le()(yr,(e={},(0,fe.Z)(e,"".concat(yr,"-rtl"),we==="rtl"),(0,fe.Z)(e,"".concat(yr,"-empty"),Fr),e),v),style:s},Fr?he:l.createElement(ve,{prefixCls:i,searchValue:"",multiple:Te,toggleOpen:ot,open:!0,direction:we})))}function Ut(t){var e=t.onPopupVisibleChange,r=t.popupVisible,a=t.popupClassName,i=t.popupPlacement;warning(!e,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(r===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(a===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(i===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function bt(t,e){if(t){var r=function a(i){for(var s=0;s":He,et=t.loadingIcon,wt=t.children,Ot=t.dropdownMatchSelectWidth,hn=Ot===void 0?!1:Ot,zt=t.showCheckedStrategy,Jt=zt===void 0?Zn:zt,Bn=t.optionRender,_n=(0,u.Z)(t,Pt),ir=(0,te.ZP)(r),Xn=!!I,Kn=(0,Fe.Z)(v,{value:m,postState:on}),yr=(0,j.Z)(Kn,2),Fr=yr[0],Zr=yr[1],tr=l.useMemo(function(){return Ze(s)},[JSON.stringify(s)]),rr=Ke(tr,B),An=(0,j.Z)(rr,3),Wn=An[0],en=An[1],tn=An[2],dr=(0,Fe.Z)("",{value:V,postState:function(Jr){return Jr||""}}),ar=(0,j.Z)(dr,2),Rr=ar[0],vr=ar[1],Gr=function(Jr,ma){vr(Jr),ma.source!=="blur"&&L&&L(Jr)},fr=Ae(X),pr=(0,j.Z)(fr,2),Hr=pr[0],aa=pr[1],Wr=Cn(Rr,Wn,tr,de||i,aa,p),Qr=ae(Wn,tr),ua=Ne(Xn,Fr,en,tn,Qr),ga=(0,j.Z)(ua,3),zr=ga[0],qr=ga[1],Aa=ga[2],oa=l.useMemo(function(){var la=De(zr),Jr=ln(la,en,Jt);return[].concat((0,ye.Z)(Aa),(0,ye.Z)(tn(Jr)))},[zr,en,tn,Aa,Jt]),ca=H(oa,Wn,tr,Xn,R),da=(0,Ee.Z)(function(la){if(Zr(la),C){var Jr=on(la),ma=Jr.map(function(fi){return gt(fi,Wn,tr).map(function(Mo){return Mo.option})}),Xa=Xn?Jr:Jr[0],vo=Xn?ma:ma[0];C(Xa,vo)}}),uo=Le(Xn,da,zr,qr,Aa,en,tn,Jt),Ya=(0,Ee.Z)(function(la){(!Xn||U)&&vr(""),uo(la)}),ui=function(Jr,ma){if(ma.type==="clear"){da([]);return}var Xa=ma.values[0],vo=Xa.valueCells;Ya(vo)},Ga=he!==void 0?he:se,Ro=Ve||Te,ci=me||Je,co=function(Jr){Be==null||Be(Jr),vt==null||vt(Jr)},Io=l.useMemo(function(){return{options:Wn,fieldNames:tr,values:zr,halfValues:qr,changeOnSelect:p,onSelect:Ya,checkable:I,searchOptions:Wr,dropdownPrefixCls:de,loadData:we,expandTrigger:Q,expandIcon:dt,loadingIcon:et,dropdownMenuColumnStyle:Xe,optionRender:Bn}},[Wn,tr,zr,qr,p,Ya,I,Wr,de,we,Q,dt,et,Xe,Bn]),fo=!(Rr?Wr:Wn).length,di=Rr&&aa.matchInputWidth||fo?{}:{minWidth:"auto"};return l.createElement(it.Provider,{value:Io},l.createElement(pe.Ac,(0,oe.Z)({},_n,{ref:e,id:ir,prefixCls:i,autoClearSearchValue:U,dropdownMatchSelectWidth:hn,dropdownStyle:(0,o.Z)((0,o.Z)({},di),Me),displayValues:ca,onDisplayValuesChange:ui,mode:Xn?"multiple":void 0,searchValue:Rr,onSearch:Gr,showSearch:Hr,OptionList:ge,emptyOptions:fo,open:Ga,dropdownClassName:Ro,placement:ci,onDropdownVisibleChange:co,getRawInputElement:function(){return wt}})))});lt.SHOW_PARENT=Zn,lt.SHOW_CHILD=jt,lt.Panel=ke;var fn=lt,mn=fn,It=n(98423),Lt=n(87263),qt=n(33603),rn=n(8745),sn=n(9708),Mt=n(53124),Kt=n(88258),Wt=n(98866),lr=n(35792),sr=n(98675),pn=n(65223),Mn=n(27833),xn=n(30307),zn=n(15030),Sn=n(43277),Un=n(78642),Dn=n(4173);function Pn(t,e){const{getPrefixCls:r,direction:a,renderEmpty:i}=l.useContext(Mt.E_),s=e||a,v=r("select",t),m=r("cascader",t);return[v,m,s,i]}function Nt(t,e){return l.useMemo(()=>e?l.createElement("span",{className:`${t}-checkbox-inner`}):!1,[e])}var $t=n(62946),Xt=n(19267),Zt=n(62994);function Ct(t,e,r){let a=r;r||(a=e?l.createElement($t.Z,null):l.createElement(Zt.Z,null));const i=l.createElement("span",{className:`${t}-menu-item-loading-icon`},l.createElement(Xt.Z,{spin:!0}));return[a,i]}var Rn=n(80110),an=n(91945),xt=n(54548),hr=n(63185),Mr=n(14747),ee=t=>{const{prefixCls:e,componentCls:r}=t,a=`${r}-menu-item`,i=` + &${a}-expand ${a}-expand-icon, + ${a}-loading-icon +`;return[(0,hr.C2)(`${e}-checkbox`,t),{[r]:{"&-checkbox":{top:0,marginInlineEnd:t.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${r}-menu-empty`]:{[`${r}-menu`]:{width:"100%",height:"auto",[a]:{color:t.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:t.controlItemWidth,height:t.dropdownHeight,margin:0,padding:t.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,xt.bf)(t.lineWidth)} ${t.lineType} ${t.colorSplit}`},"&-item":Object.assign(Object.assign({},Mr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:t.optionPadding,lineHeight:t.lineHeight,cursor:"pointer",transition:`all ${t.motionDurationMid}`,borderRadius:t.borderRadiusSM,"&:hover":{background:t.controlItemBgHover},"&-disabled":{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[i]:{color:t.colorTextDisabled}},[`&-active:not(${a}-disabled)`]:{["&, &:hover"]:{fontWeight:t.optionSelectedFontWeight,backgroundColor:t.optionSelectedBg}},"&-content":{flex:"auto"},[i]:{marginInlineStart:t.paddingXXS,color:t.colorTextDescription,fontSize:t.fontSizeIcon},"&-keyword":{color:t.colorHighlight}})}}}]};const Ge=t=>{const{componentCls:e,antCls:r}=t;return[{[e]:{width:t.controlWidth}},{[`${e}-dropdown`]:[{[`&${r}-select-dropdown`]:{padding:0}},ee(t)]},{[`${e}-dropdown-rtl`]:{direction:"rtl"}},(0,Rn.c)(t)]},st=t=>{const e=Math.round((t.controlHeight-t.fontSize*t.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:t.controlItemBgActive,optionSelectedFontWeight:t.fontWeightStrong,optionPadding:`${e}px ${t.paddingSM}px`,menuPadding:t.paddingXXS}};var pt=(0,an.I$)("Cascader",t=>[Ge(t)],st);const Vt=t=>{const{componentCls:e}=t;return{[`${e}-panel`]:[ee(t),{display:"inline-flex",border:`${(0,xt.bf)(t.lineWidth)} ${t.lineType} ${t.colorSplit}`,borderRadius:t.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${e}-menus`]:{alignItems:"stretch"},[`${e}-menu`]:{height:"auto"},"&-empty":{padding:t.paddingXXS}}]}};var Qt=(0,an.ZP)(["Cascader","Panel"],t=>Vt(t),st);function Et(t){const{prefixCls:e,className:r,multiple:a,rootClassName:i,notFoundContent:s,direction:v,expandIcon:m}=t,[p,C,R,I]=Pn(e,v),A=(0,lr.Z)(C),[U,V,L]=pt(C,A);Qt(C);const X=R==="rtl",[Q,B]=Ct(p,X,m),de=s||(I==null?void 0:I("Cascader"))||l.createElement(Kt.Z,{componentName:"Cascader"}),we=Nt(C,a);return U(l.createElement(ke,Object.assign({},t,{checkable:we,prefixCls:C,className:le()(r,V,i,L,A),notFoundContent:de,direction:R,expandIcon:Q,loadingIcon:B})))}var Dt=Et,Yt=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);ip===0?[m]:[].concat((0,ye.Z)(v),[e,m]),[]),i=[];let s=0;return a.forEach((v,m)=>{const p=s+v.length;let C=t.slice(s,p);s=p,m%2===1&&(C=l.createElement("span",{className:`${r}-menu-item-keyword`,key:`separator-${m}`},C)),i.push(C)}),i}const On=(t,e,r,a)=>{const i=[],s=t.toLowerCase();return e.forEach((v,m)=>{m!==0&&i.push(" / ");let p=v[a.label];const C=typeof p;(C==="string"||C==="number")&&(p=Ln(String(p),s,r)),i.push(p)}),i},En=l.forwardRef((t,e)=>{var r;const{prefixCls:a,size:i,disabled:s,className:v,rootClassName:m,multiple:p,bordered:C=!0,transitionName:R,choiceTransitionName:I="",popupClassName:A,dropdownClassName:U,expandIcon:V,placement:L,showSearch:X,allowClear:Q=!0,notFoundContent:B,direction:de,getPopupContainer:we,status:se,showArrow:he,builtinPlacements:Te,style:Ve,variant:Xe}=t,Me=Yt(t,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Je=(0,It.Z)(Me,["suffixIcon"]),{getPopupContainer:me,getPrefixCls:Be,popupOverflow:vt,cascader:He}=l.useContext(Mt.E_),{status:dt,hasFeedback:et,isFormItemInput:wt,feedbackIcon:Ot}=l.useContext(pn.aM),hn=(0,sn.F)(dt,se),[zt,Jt,Bn,_n]=Pn(a,de),ir=Bn==="rtl",Xn=Be(),Kn=(0,lr.Z)(zt),[yr,Fr,Zr]=(0,zn.Z)(zt,Kn),tr=(0,lr.Z)(Jt),[rr]=pt(Jt,tr),{compactSize:An,compactItemClassnames:Wn}=(0,Dn.ri)(zt,de),[en,tn]=(0,Mn.Z)(Xe,C),dr=B||(_n==null?void 0:_n("Cascader"))||l.createElement(Kt.Z,{componentName:"Cascader"}),ar=le()(A||U,`${Jt}-dropdown`,{[`${Jt}-dropdown-rtl`]:Bn==="rtl"},m,Kn,tr,Fr,Zr),Rr=l.useMemo(()=>{if(!X)return X;let ca={render:On};return typeof X=="object"&&(ca=Object.assign(Object.assign({},ca),X)),ca},[X]),vr=(0,sr.Z)(ca=>{var da;return(da=i!=null?i:An)!==null&&da!==void 0?da:ca}),Gr=l.useContext(Wt.Z),fr=s!=null?s:Gr,[pr,Hr]=Ct(zt,ir,V),aa=Nt(Jt,p),Wr=(0,Un.Z)(t.suffixIcon,he),{suffixIcon:Qr,removeIcon:ua,clearIcon:ga}=(0,Sn.Z)(Object.assign(Object.assign({},t),{hasFeedback:et,feedbackIcon:Ot,showSuffixIcon:Wr,multiple:p,prefixCls:zt,componentName:"Cascader"})),zr=l.useMemo(()=>L!==void 0?L:ir?"bottomRight":"bottomLeft",[L,ir]),qr=Q===!0?{clearIcon:ga}:Q,[Aa]=(0,Lt.Cn)("SelectLike",(r=Je.dropdownStyle)===null||r===void 0?void 0:r.zIndex),oa=l.createElement(mn,Object.assign({prefixCls:zt,className:le()(!a&&Jt,{[`${zt}-lg`]:vr==="large",[`${zt}-sm`]:vr==="small",[`${zt}-rtl`]:ir,[`${zt}-${en}`]:tn,[`${zt}-in-form-item`]:wt},(0,sn.Z)(zt,hn,et),Wn,He==null?void 0:He.className,v,m,Kn,tr,Fr,Zr),disabled:fr,style:Object.assign(Object.assign({},He==null?void 0:He.style),Ve)},Je,{builtinPlacements:(0,xn.Z)(Te,vt),direction:Bn,placement:zr,notFoundContent:dr,allowClear:qr,showSearch:Rr,expandIcon:pr,suffixIcon:Qr,removeIcon:ua,loadingIcon:Hr,checkable:aa,dropdownClassName:ar,dropdownPrefixCls:a||Jt,dropdownStyle:Object.assign(Object.assign({},Je.dropdownStyle),{zIndex:Aa}),choiceTransitionName:(0,qt.m)(Xn,"",I),transitionName:(0,qt.m)(Xn,"slide-up",R),getPopupContainer:we||me,ref:e}));return rr(yr(oa))}),Fn=(0,rn.Z)(En);En.SHOW_PARENT=Ht,En.SHOW_CHILD=Nn,En.Panel=Dt,En._InternalPanelDoNotUseOrYouWillBeFired=Fn;var Tn=En,Yn=n(53439),z=n(85893),Sr=["radioType","renderFormItem","mode","render","label","light"],or=function(e,r){var a,i=e.radioType,s=e.renderFormItem,v=e.mode,m=e.render,p=e.label,C=e.light,R=(0,u.Z)(e,Sr),I=(0,l.useContext)(Qe.ZP.ConfigContext),A=I.getPrefixCls,U=A("pro-field-cascader"),V=(0,Yn.aK)(R),L=(0,j.Z)(V,3),X=L[0],Q=L[1],B=L[2],de=(0,h.YB)(),we=(0,l.useRef)(),se=(0,l.useState)(!1),he=(0,j.Z)(se,2),Te=he[0],Ve=he[1];(0,l.useImperativeHandle)(r,function(){return(0,o.Z)((0,o.Z)({},we.current||{}),{},{fetchData:function(zt){return B(zt)}})},[B]);var Xe=(0,l.useMemo)(function(){var hn;if(v==="read"){var zt=((hn=R.fieldProps)===null||hn===void 0?void 0:hn.fieldNames)||{},Jt=zt.value,Bn=Jt===void 0?"value":Jt,_n=zt.label,ir=_n===void 0?"label":_n,Xn=zt.children,Kn=Xn===void 0?"children":Xn,yr=new Map,Fr=function Zr(tr){if(!(tr!=null&&tr.length))return yr;for(var rr=tr.length,An=0;An=1?1:X,a:Q.a})},Oe=function(e,r,a,i){var s=e.current.getBoundingClientRect(),v=s.width,m=s.height,p=r.current.getBoundingClientRect(),C=p.width,R=p.height,I=C/2,A=R/2,U=a.toHsb();if(!(C===0&&R===0||C!==R)){if(i)switch(i){case"hue":return{x:U.h/360*v-I,y:-A/3};case"alpha":return{x:U.a/1*v-I,y:-A/3}}return{x:U.s*v-I,y:(1-U.b)*m-A}}},$e=function(e){var r=e.color,a=e.prefixCls,i=e.className,s=e.style,v=e.onClick,m="".concat(a,"-color-block");return l.createElement("div",{className:le()(m,i),style:s,onClick:v},l.createElement("div",{className:"".concat(m,"-inner"),style:{background:r}}))},tt=$e;function ct(t){var e="touches"in t?t.touches[0]:t,r=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,a=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:e.pageX-r,pageY:e.pageY-a}}function be(t){var e=t.offset,r=t.targetRef,a=t.containerRef,i=t.direction,s=t.onDragChange,v=t.onDragChangeComplete,m=t.calculate,p=t.color,C=t.disabledDrag,R=(0,l.useState)(e||{x:0,y:0}),I=(0,j.Z)(R,2),A=I[0],U=I[1],V=(0,l.useRef)(null),L=(0,l.useRef)(null),X=(0,l.useRef)({flag:!1});(0,l.useEffect)(function(){if(X.current.flag===!1){var se=m==null?void 0:m(a);se&&U(se)}},[p,a]),(0,l.useEffect)(function(){return function(){document.removeEventListener("mousemove",V.current),document.removeEventListener("mouseup",L.current),document.removeEventListener("touchmove",V.current),document.removeEventListener("touchend",L.current),V.current=null,L.current=null}},[]);var Q=function(he){var Te=ct(he),Ve=Te.pageX,Xe=Te.pageY,Me=a.current.getBoundingClientRect(),Je=Me.x,me=Me.y,Be=Me.width,vt=Me.height,He=r.current.getBoundingClientRect(),dt=He.width,et=He.height,wt=dt/2,Ot=et/2,hn=Math.max(0,Math.min(Ve-Je,Be))-wt,zt=Math.max(0,Math.min(Xe-me,vt))-Ot,Jt={x:hn,y:i==="x"?A.y:zt};if(dt===0&&et===0||dt!==et)return!1;U(Jt),s==null||s(Jt)},B=function(he){he.preventDefault(),Q(he)},de=function(he){he.preventDefault(),X.current.flag=!1,document.removeEventListener("mousemove",V.current),document.removeEventListener("mouseup",L.current),document.removeEventListener("touchmove",V.current),document.removeEventListener("touchend",L.current),V.current=null,L.current=null,v==null||v()},we=function(he){document.removeEventListener("mousemove",V.current),document.removeEventListener("mouseup",L.current),!C&&(Q(he),X.current.flag=!0,document.addEventListener("mousemove",B),document.addEventListener("mouseup",de),document.addEventListener("touchmove",B),document.addEventListener("touchend",de),V.current=B,L.current=de)};return[A,we]}var ze=be,je=function(e){var r=e.size,a=r===void 0?"default":r,i=e.color,s=e.prefixCls;return l.createElement("div",{className:le()("".concat(s,"-handler"),(0,fe.Z)({},"".concat(s,"-handler-sm"),a==="small")),style:{backgroundColor:i}})},yt=je,_e=function(e){var r=e.children,a=e.style,i=e.prefixCls;return l.createElement("div",{className:"".concat(i,"-palette"),style:(0,o.Z)({position:"relative"},a)},r)},kt=_e,bn=(0,l.forwardRef)(function(t,e){var r=t.children,a=t.offset;return l.createElement("div",{ref:e,style:{position:"absolute",left:a.x,top:a.y,zIndex:1}},r)}),cn=bn,In=function(e){var r=e.color,a=e.onChange,i=e.prefixCls,s=e.onChangeComplete,v=e.disabled,m=(0,l.useRef)(),p=(0,l.useRef)(),C=(0,l.useRef)(r),R=(0,ft.zX)(function(L){var X=q({offset:L,targetRef:p,containerRef:m,color:r});C.current=X,a(X)}),I=ze({color:r,containerRef:m,targetRef:p,calculate:function(X){return Oe(X,p,r)},onDragChange:R,onDragChangeComplete:function(){return s==null?void 0:s(C.current)},disabledDrag:v}),A=(0,j.Z)(I,2),U=A[0],V=A[1];return l.createElement("div",{ref:m,className:"".concat(i,"-select"),onMouseDown:V,onTouchStart:V},l.createElement(kt,{prefixCls:i},l.createElement(cn,{offset:U,ref:p},l.createElement(yt,{color:r.toRgbString(),prefixCls:i})),l.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(r.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},Jn=In,dn=function(e){var r=e.colors,a=e.children,i=e.direction,s=i===void 0?"to right":i,v=e.type,m=e.prefixCls,p=(0,l.useMemo)(function(){return r.map(function(C,R){var I=F(C);return v==="alpha"&&R===r.length-1&&I.setAlpha(1),I.toRgbString()}).join(",")},[r,v]);return l.createElement("div",{className:"".concat(m,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(s,", ").concat(p,")")}},a)},wn=dn,Qn=function(e){var r=e.gradientColors,a=e.direction,i=e.type,s=i===void 0?"hue":i,v=e.color,m=e.value,p=e.onChange,C=e.onChangeComplete,R=e.disabled,I=e.prefixCls,A=(0,l.useRef)(),U=(0,l.useRef)(),V=(0,l.useRef)(v),L=(0,ft.zX)(function(we){var se=q({offset:we,targetRef:U,containerRef:A,color:v,type:s});V.current=se,p(se)}),X=ze({color:v,targetRef:U,containerRef:A,calculate:function(se){return Oe(se,U,v,s)},onDragChange:L,onDragChangeComplete:function(){C==null||C(V.current,s)},direction:"x",disabledDrag:R}),Q=(0,j.Z)(X,2),B=Q[0],de=Q[1];return l.createElement("div",{ref:A,className:le()("".concat(I,"-slider"),"".concat(I,"-slider-").concat(s)),onMouseDown:de,onTouchStart:de},l.createElement(kt,{prefixCls:I},l.createElement(cn,{offset:B,ref:U},l.createElement(yt,{size:"small",color:m,prefixCls:I})),l.createElement(wn,{colors:r,direction:a,type:s,prefixCls:I})))},Gn=Qn;function qn(t){return t!==void 0}var Or=function(e,r){var a=r.defaultValue,i=r.value,s=(0,l.useState)(function(){var C;return qn(i)?C=i:qn(a)?C=a:C=e,F(C)}),v=(0,j.Z)(s,2),m=v[0],p=v[1];return(0,l.useEffect)(function(){i&&p(F(i))},[i]),[m,p]},Yr=Or,cr=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"],jn=(0,l.forwardRef)(function(t,e){var r=t.value,a=t.defaultValue,i=t.prefixCls,s=i===void 0?Z:i,v=t.onChange,m=t.onChangeComplete,p=t.className,C=t.style,R=t.panelRender,I=t.disabledAlpha,A=I===void 0?!1:I,U=t.disabled,V=U===void 0?!1:U,L=Yr(k,{value:r,defaultValue:a}),X=(0,j.Z)(L,2),Q=X[0],B=X[1],de=(0,l.useMemo)(function(){var Ve=F(Q.toRgbString());return Ve.setAlpha(1),Ve.toRgbString()},[Q]),we=le()("".concat(s,"-panel"),p,(0,fe.Z)({},"".concat(s,"-panel-disabled"),V)),se={prefixCls:s,onChangeComplete:m,disabled:V},he=function(Xe,Me){r||B(Xe),v==null||v(Xe,Me)},Te=l.createElement(l.Fragment,null,l.createElement(Jn,(0,oe.Z)({color:Q,onChange:he},se)),l.createElement("div",{className:"".concat(s,"-slider-container")},l.createElement("div",{className:le()("".concat(s,"-slider-group"),(0,fe.Z)({},"".concat(s,"-slider-group-disabled-alpha"),A))},l.createElement(Gn,(0,oe.Z)({gradientColors:cr,color:Q,value:"hsl(".concat(Q.toHsb().h,",100%, 50%)"),onChange:function(Xe){return he(Xe,"hue")}},se)),!A&&l.createElement(Gn,(0,oe.Z)({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",de],color:Q,value:Q.toRgbString(),onChange:function(Xe){return he(Xe,"alpha")}},se))),l.createElement(tt,{color:Q.toRgbString(),prefixCls:s})));return l.createElement("div",{className:we,style:C,ref:e},typeof R=="function"?R(Te):Te)}),mr=jn;const xa=l.createContext({}),Ra=l.createContext({}),{Provider:Ia}=xa,{Provider:_r}=Ra,na=(t,e)=>(t==null?void 0:t.replace(/[^\w/]/gi,"").slice(0,e?8:6))||"",Ma=(t,e)=>t?na(t,e):"";let Sa=function(){function t(e){(0,$r.Z)(this,t),this.cleared=!1,this.metaColor=new d(e),e||(this.metaColor.setAlpha(0),this.cleared=!0)}return(0,Br.Z)(t,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return Ma(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}])}();const Vr=t=>t instanceof Sa?t:new Sa(t),ea=t=>Math.round(Number(t||0)),Pa=t=>ea(t.toHsb().a*100),Cr=(t,e)=>{const r=t.toHsb();return r.a=e||1,Vr(r)};var Ja=t=>{let{prefixCls:e,value:r,onChange:a}=t;const i=()=>{if(r&&!r.cleared){const s=r.toHsb();s.a=0;const v=Vr(s);v.cleared=!0,a==null||a(v)}};return l.createElement("div",{className:`${e}-clear`,onClick:i})},ta=n(34041),fa;(function(t){t.hex="hex",t.rgb="rgb",t.hsb="hsb"})(fa||(fa={}));var sa=n(37804),pa=t=>{let{prefixCls:e,min:r=0,max:a=100,value:i,onChange:s,className:v,formatter:m}=t;const p=`${e}-steppers`,[C,R]=(0,l.useState)(i);return(0,l.useEffect)(()=>{Number.isNaN(i)||R(i)},[i]),l.createElement(sa.Z,{className:le()(p,v),min:r,max:a,value:C,formatter:m,size:"small",onChange:I=>{i||R(I||0),s==null||s(I)}})},mo=t=>{let{prefixCls:e,value:r,onChange:a}=t;const i=`${e}-alpha-input`,[s,v]=(0,l.useState)(Vr(r||"#000"));(0,l.useEffect)(()=>{r&&v(r)},[r]);const m=p=>{const C=s.toHsb();C.a=(p||0)/100;const R=Vr(C);r||v(R),a==null||a(R)};return l.createElement(pa,{value:Pa(s),prefixCls:e,formatter:p=>`${p}%`,className:i,onChange:m})};const po=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,Qa=t=>po.test(`#${t}`);var Do=t=>{let{prefixCls:e,value:r,onChange:a}=t;const i=`${e}-hex-input`,[s,v]=(0,l.useState)(r==null?void 0:r.toHex());(0,l.useEffect)(()=>{const p=r==null?void 0:r.toHex();Qa(p)&&r&&v(na(p))},[r]);const m=p=>{const C=p.target.value;v(na(C)),Qa(na(C,!0))&&(a==null||a(Vr(C)))};return l.createElement(ur.Z,{className:i,value:s,prefix:"#",onChange:m,size:"small"})},No=t=>{let{prefixCls:e,value:r,onChange:a}=t;const i=`${e}-hsb-input`,[s,v]=(0,l.useState)(Vr(r||"#000"));(0,l.useEffect)(()=>{r&&v(r)},[r]);const m=(p,C)=>{const R=s.toHsb();R[C]=C==="h"?p:(p||0)/100;const I=Vr(R);r||v(I),a==null||a(I)};return l.createElement("div",{className:i},l.createElement(pa,{max:360,min:0,value:Number(s.toHsb().h),prefixCls:e,className:i,formatter:p=>ea(p||0).toString(),onChange:p=>m(Number(p),"h")}),l.createElement(pa,{max:100,min:0,value:Number(s.toHsb().s)*100,prefixCls:e,className:i,formatter:p=>`${ea(p||0)}%`,onChange:p=>m(Number(p),"s")}),l.createElement(pa,{max:100,min:0,value:Number(s.toHsb().b)*100,prefixCls:e,className:i,formatter:p=>`${ea(p||0)}%`,onChange:p=>m(Number(p),"b")}))},kr=t=>{let{prefixCls:e,value:r,onChange:a}=t;const i=`${e}-rgb-input`,[s,v]=(0,l.useState)(Vr(r||"#000"));(0,l.useEffect)(()=>{r&&v(r)},[r]);const m=(p,C)=>{const R=s.toRgb();R[C]=p||0;const I=Vr(R);r||v(I),a==null||a(I)};return l.createElement("div",{className:i},l.createElement(pa,{max:255,min:0,value:Number(s.toRgb().r),prefixCls:e,className:i,onChange:p=>m(Number(p),"r")}),l.createElement(pa,{max:255,min:0,value:Number(s.toRgb().g),prefixCls:e,className:i,onChange:p=>m(Number(p),"g")}),l.createElement(pa,{max:255,min:0,value:Number(s.toRgb().b),prefixCls:e,className:i,onChange:p=>m(Number(p),"b")}))};const ya=[fa.hex,fa.hsb,fa.rgb].map(t=>({value:t,label:t.toLocaleUpperCase()}));var El=t=>{const{prefixCls:e,format:r,value:a,disabledAlpha:i,onFormatChange:s,onChange:v}=t,[m,p]=(0,Fe.Z)(fa.hex,{value:r,onChange:s}),C=`${e}-input`,R=A=>{p(A)},I=(0,l.useMemo)(()=>{const A={value:a,prefixCls:e,onChange:v};switch(m){case fa.hsb:return l.createElement(No,Object.assign({},A));case fa.rgb:return l.createElement(kr,Object.assign({},A));case fa.hex:default:return l.createElement(Do,Object.assign({},A))}},[m,e,a,v]);return l.createElement("div",{className:`${C}-container`},l.createElement(ta.Z,{value:m,variant:"borderless",getPopupContainer:A=>A,popupMatchSelectWidth:68,placement:"bottomRight",onChange:R,className:`${e}-format-select`,size:"small",options:ya}),l.createElement("div",{className:C},I),!i&&l.createElement(mo,{prefixCls:e,value:a,onChange:v}))},Fl=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);i{const t=(0,l.useContext)(xa),{prefixCls:e,allowClear:r,value:a,disabledAlpha:i,onChange:s,onClear:v,onChangeComplete:m}=t,p=Fl(t,["prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return l.createElement(l.Fragment,null,r&&l.createElement(Ja,Object.assign({prefixCls:e,value:a,onChange:C=>{s==null||s(C),v==null||v()}},p)),l.createElement(mr,{prefixCls:e,value:a==null?void 0:a.toHsb(),disabledAlpha:i,onChange:(C,R)=>{s==null||s(Vr(C),R,!0)},onChangeComplete:C=>{m==null||m(Vr(C))}}),l.createElement(El,Object.assign({value:a,onChange:s,prefixCls:e,disabledAlpha:i},p)))},Rl=n(47221),Il=n(10110),Ml=n(29691);const Lo=t=>t.map(e=>(e.colors=e.colors.map(Vr),e)),Tl=(t,e)=>{const{r,g:a,b:i,a:s}=t.toRgb(),v=new d(t.toRgbString()).onBackground(e).toHsv();return s<=.5?v.v>.5:r*.299+a*.587+i*.114>192},gi=t=>{let{label:e}=t;return`panel-${e}`};var jl=t=>{let{prefixCls:e,presets:r,value:a,onChange:i}=t;const[s]=(0,Il.Z)("ColorPicker"),[,v]=(0,Ml.ZP)(),[m]=(0,Fe.Z)(Lo(r),{value:Lo(r),postState:Lo}),p=`${e}-presets`,C=(0,l.useMemo)(()=>m.reduce((A,U)=>{const{defaultOpen:V=!0}=U;return V&&A.push(gi(U)),A},[]),[m]),R=A=>{i==null||i(A)},I=m.map(A=>{var U;return{key:gi(A),label:l.createElement("div",{className:`${p}-label`},A==null?void 0:A.label),children:l.createElement("div",{className:`${p}-items`},Array.isArray(A==null?void 0:A.colors)&&((U=A.colors)===null||U===void 0?void 0:U.length)>0?A.colors.map((V,L)=>l.createElement(tt,{key:`preset-${L}-${V.toHexString()}`,color:Vr(V).toRgbString(),prefixCls:e,className:le()(`${p}-color`,{[`${p}-color-checked`]:V.toHexString()===(a==null?void 0:a.toHexString()),[`${p}-color-bright`]:Tl(V,v.colorBgElevated)}),onClick:()=>R(V)})):l.createElement("span",{className:`${p}-empty`},s.presetEmpty))}});return l.createElement("div",{className:p},l.createElement(Rl.Z,{defaultActiveKey:C,ghost:!0,items:I}))},mi=()=>{const{prefixCls:t,value:e,presets:r,onChange:a}=(0,l.useContext)(Ra);return Array.isArray(r)?l.createElement(jl,{value:e,presets:r,prefixCls:t,onChange:a}):null},Al=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);i{const{prefixCls:e,presets:r,panelRender:a,color:i,onChange:s,onClear:v}=t,m=Al(t,["prefixCls","presets","panelRender","color","onChange","onClear"]),p=`${e}-inner`,C=Object.assign({prefixCls:e,value:i,onChange:s,onClear:v},m),R=l.useMemo(()=>({prefixCls:e,value:i,presets:r,onChange:s}),[e,i,r,s]),I=l.createElement("div",{className:`${p}-content`},l.createElement(hi,null),Array.isArray(r)&&l.createElement(Ar.Z,null),l.createElement(mi,null));return l.createElement(Ia,{value:C},l.createElement(_r,{value:R},l.createElement("div",{className:p},typeof a=="function"?a(I,{components:{Picker:hi,Presets:mi}}):I)))},Dl=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);i{const{color:r,prefixCls:a,open:i,disabled:s,format:v,className:m,showText:p}=t,C=Dl(t,["color","prefixCls","open","disabled","format","className","showText"]),R=`${a}-trigger`,I=(0,l.useMemo)(()=>r.cleared?l.createElement(Ja,{prefixCls:a}):l.createElement(tt,{prefixCls:a,color:r.toRgbString()}),[r,a]),A=()=>{const V=r.toHexString().toUpperCase(),L=Pa(r);switch(v){case"rgb":return r.toRgbString();case"hsb":return r.toHsbString();case"hex":default:return L<100?`${V.slice(0,7)},${L}%`:V}},U=()=>{if(typeof p=="function")return p(r);if(p)return A()};return l.createElement("div",Object.assign({ref:e,className:le()(R,m,{[`${R}-active`]:i,[`${R}-disabled`]:s})},C),I,p&&l.createElement("div",{className:`${R}-text`},U()))});const Ll={};function Vo(t){return t!==void 0}var Vl=(t,e)=>{const{defaultValue:r,value:a}=e,i=(0,l.useRef)(Vr("")),[s,v]=(0,l.useState)(()=>{let C;Vo(a)?C=a:Vo(r)?C=r:C=t;const R=Vr(C||"");return i.current=R,R}),m=C=>{v(C),i.current=C},p=(0,l.useRef)(Ll);return(0,l.useEffect)(()=>{if(p.current===a)return;p.current=a;const C=Vr(Vo(a)?a||"":i.current);i.current.cleared===!0&&(C.cleared="controlled"),m(C)},[a]),[s,m,i]},Ho=n(45503);const pi=(t,e)=>({backgroundImage:`conic-gradient(${e} 0 25%, transparent 0 50%, ${e} 0 75%, transparent 0)`,backgroundSize:`${t} ${t}`});var yi=(t,e)=>{const{componentCls:r,borderRadiusSM:a,colorPickerInsetShadow:i,lineWidth:s,colorFillSecondary:v}=t;return{[`${r}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:a,width:e,height:e,boxShadow:i},pi("50%",t.colorFillSecondary)),{[`${r}-color-block-inner`]:{width:"100%",height:"100%",border:`${(0,xt.bf)(s)} solid ${v}`,borderRadius:"inherit"}})}},Hl=t=>{const{componentCls:e,antCls:r,fontSizeSM:a,lineHeightSM:i,colorPickerAlphaInputWidth:s,marginXXS:v,paddingXXS:m,controlHeightSM:p,marginXS:C,fontSizeIcon:R,paddingXS:I,colorTextPlaceholder:A,colorPickerInputNumberHandleWidth:U,lineWidth:V}=t;return{[`${e}-input-container`]:{display:"flex",[`${e}-steppers${r}-input-number`]:{fontSize:a,lineHeight:i,[`${r}-input-number-input`]:{paddingInlineStart:m,paddingInlineEnd:0},[`${r}-input-number-handler-wrap`]:{width:U}},[`${e}-steppers${e}-alpha-input`]:{flex:`0 0 ${(0,xt.bf)(s)}`,marginInlineStart:v},[`${e}-format-select${r}-select`]:{marginInlineEnd:C,width:"auto","&-single":{[`${r}-select-selector`]:{padding:0,border:0},[`${r}-select-arrow`]:{insetInlineEnd:0},[`${r}-select-selection-item`]:{paddingInlineEnd:t.calc(R).add(v).equal(),fontSize:a,lineHeight:`${(0,xt.bf)(p)}`},[`${r}-select-item-option-content`]:{fontSize:a,lineHeight:i},[`${r}-select-dropdown`]:{[`${r}-select-item`]:{minHeight:"auto"}}}},[`${e}-input`]:{gap:v,alignItems:"center",flex:1,width:0,[`${e}-hsb-input,${e}-rgb-input`]:{display:"flex",gap:v,alignItems:"center"},[`${e}-steppers`]:{flex:1},[`${e}-hex-input${r}-input-affix-wrapper`]:{flex:1,padding:`0 ${(0,xt.bf)(I)}`,[`${r}-input`]:{fontSize:a,textTransform:"uppercase",lineHeight:(0,xt.bf)(t.calc(p).sub(t.calc(V).mul(2)).equal())},[`${r}-input-prefix`]:{color:A}}}}}},Bl=t=>{const{componentCls:e,controlHeightLG:r,borderRadiusSM:a,colorPickerInsetShadow:i,marginSM:s,colorBgElevated:v,colorFillSecondary:m,lineWidthBold:p,colorPickerHandlerSize:C,colorPickerHandlerSizeSM:R,colorPickerSliderHeight:I}=t;return{[`${e}-select`]:{[`${e}-palette`]:{minHeight:t.calc(r).mul(4).equal(),overflow:"hidden",borderRadius:a},[`${e}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:i,inset:0},marginBottom:s},[`${e}-handler`]:{width:C,height:C,border:`${(0,xt.bf)(p)} solid ${v}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${i}, 0 0 0 1px ${m}`,"&-sm":{width:R,height:R}},[`${e}-slider`]:{borderRadius:t.calc(I).div(2).equal(),[`${e}-palette`]:{height:I},[`${e}-gradient`]:{borderRadius:t.calc(I).div(2).equal(),boxShadow:i},"&-alpha":pi(`${(0,xt.bf)(I)}`,t.colorFillSecondary),"&-hue":{marginBottom:s}},[`${e}-slider-container`]:{display:"flex",gap:s,marginBottom:s,[`${e}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${e}-slider`]:{flex:1,marginBottom:0}}}}}},Wl=t=>{const{componentCls:e,antCls:r,colorTextQuaternary:a,paddingXXS:i,colorPickerPresetColorSize:s,fontSizeSM:v,colorText:m,lineHeightSM:p,lineWidth:C,borderRadius:R,colorFill:I,colorWhite:A,marginXXS:U,paddingXS:V,fontHeightSM:L}=t;return{[`${e}-presets`]:{[`${r}-collapse-item > ${r}-collapse-header`]:{padding:0,[`${r}-collapse-expand-icon`]:{height:L,color:a,paddingInlineEnd:i}},[`${r}-collapse`]:{display:"flex",flexDirection:"column",gap:U},[`${r}-collapse-item > ${r}-collapse-content > ${r}-collapse-content-box`]:{padding:`${(0,xt.bf)(V)} 0`},"&-label":{fontSize:v,color:m,lineHeight:p},"&-items":{display:"flex",flexWrap:"wrap",gap:t.calc(U).mul(1.5).equal(),[`${e}-presets-color`]:{position:"relative",cursor:"pointer",width:s,height:s,"&::before":{content:'""',pointerEvents:"none",width:t.calc(s).add(t.calc(C).mul(4)).equal(),height:t.calc(s).add(t.calc(C).mul(4)).equal(),position:"absolute",top:t.calc(C).mul(-2).equal(),insetInlineStart:t.calc(C).mul(-2).equal(),borderRadius:R,border:`${(0,xt.bf)(C)} solid transparent`,transition:`border-color ${t.motionDurationMid} ${t.motionEaseInBack}`},"&:hover::before":{borderColor:I},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:t.calc(s).div(13).mul(5).equal(),height:t.calc(s).div(13).mul(8).equal(),border:`${(0,xt.bf)(t.lineWidthBold)} solid ${t.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${t.motionDurationFast} ${t.motionEaseInBack}, opacity ${t.motionDurationFast}`},[`&${e}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:A,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${t.motionDurationMid} ${t.motionEaseOutBack} ${t.motionDurationFast}`},[`&${e}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:v,color:a}}}};const Bo=(t,e,r)=>({borderInlineEndWidth:t.lineWidth,borderColor:e,boxShadow:`0 0 0 ${(0,xt.bf)(t.controlOutlineWidth)} ${r}`,outline:0}),zl=t=>{const{componentCls:e}=t;return{"&-rtl":{[`${e}-presets-color`]:{"&::after":{direction:"ltr"}},[`${e}-clear`]:{"&::after":{direction:"ltr"}}}}},bi=(t,e,r)=>{const{componentCls:a,borderRadiusSM:i,lineWidth:s,colorSplit:v,colorBorder:m,red6:p}=t;return{[`${a}-clear`]:Object.assign(Object.assign({width:e,height:e,borderRadius:i,border:`${(0,xt.bf)(s)} solid ${v}`,position:"relative",overflow:"hidden",cursor:"pointer",transition:`all ${t.motionDurationFast}`},r),{"&::after":{content:'""',position:"absolute",insetInlineEnd:s,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:p},"&:hover":{borderColor:m}})}},Ul=t=>{const{componentCls:e,colorError:r,colorWarning:a,colorErrorHover:i,colorWarningHover:s,colorErrorOutline:v,colorWarningOutline:m}=t;return{[`&${e}-status-error`]:{borderColor:r,"&:hover":{borderColor:i},[`&${e}-trigger-active`]:Object.assign({},Bo(t,r,v))},[`&${e}-status-warning`]:{borderColor:a,"&:hover":{borderColor:s},[`&${e}-trigger-active`]:Object.assign({},Bo(t,a,m))}}},Kl=t=>{const{componentCls:e,controlHeightLG:r,controlHeightSM:a,controlHeight:i,controlHeightXS:s,borderRadius:v,borderRadiusSM:m,borderRadiusXS:p,borderRadiusLG:C,fontSizeLG:R}=t;return{[`&${e}-lg`]:{minWidth:r,height:r,borderRadius:C,[`${e}-color-block, ${e}-clear`]:{width:i,height:i,borderRadius:v},[`${e}-trigger-text`]:{fontSize:R}},[`&${e}-sm`]:{minWidth:a,height:a,borderRadius:m,[`${e}-color-block, ${e}-clear`]:{width:s,height:s,borderRadius:p}}}},Yl=t=>{const{antCls:e,componentCls:r,colorPickerWidth:a,colorPrimary:i,motionDurationMid:s,colorBgElevated:v,colorTextDisabled:m,colorText:p,colorBgContainerDisabled:C,borderRadius:R,marginXS:I,marginSM:A,controlHeight:U,controlHeightSM:V,colorBgTextActive:L,colorPickerPresetColorSize:X,colorPickerPreviewSize:Q,lineWidth:B,colorBorder:de,paddingXXS:we,fontSize:se,colorPrimaryHover:he,controlOutline:Te}=t;return[{[r]:Object.assign({[`${r}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:a,[`& > ${e}-divider`]:{margin:`${(0,xt.bf)(A)} 0 ${(0,xt.bf)(I)}`}},[`${r}-panel`]:Object.assign({},Bl(t))},yi(t,Q)),Hl(t)),Wl(t)),bi(t,X,{marginInlineStart:"auto",marginBottom:I})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:U,height:U,borderRadius:R,border:`${(0,xt.bf)(B)} solid ${de}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${s}`,background:v,padding:t.calc(we).sub(B).equal(),[`${r}-trigger-text`]:{marginInlineStart:I,marginInlineEnd:t.calc(I).sub(t.calc(we).sub(B)).equal(),fontSize:se,color:p},"&:hover":{borderColor:he},[`&${r}-trigger-active`]:Object.assign({},Bo(t,i,Te)),"&-disabled":{color:m,background:C,cursor:"not-allowed","&:hover":{borderColor:L},[`${r}-trigger-text`]:{color:m}}},bi(t,V)),yi(t,V)),Ul(t)),Kl(t))},zl(t))}]};var Gl=(0,an.I$)("ColorPicker",t=>{const{colorTextQuaternary:e,marginSM:r}=t,a=8,i=(0,Ho.TS)(t,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${e}`,colorPickerSliderHeight:a,colorPickerPreviewSize:t.calc(a).mul(2).add(r).equal()});return[Yl(i)]}),Xl=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);i{const{value:e,defaultValue:r,format:a,defaultFormat:i,allowClear:s=!1,presets:v,children:m,trigger:p="click",open:C,disabled:R,placement:I="bottomLeft",arrow:A=!0,panelRender:U,showText:V,style:L,className:X,size:Q,rootClassName:B,prefixCls:de,styles:we,disabledAlpha:se=!1,onFormatChange:he,onChange:Te,onClear:Ve,onOpenChange:Xe,onChangeComplete:Me,getPopupContainer:Je,autoAdjustOverflow:me=!0,destroyTooltipOnHide:Be}=t,vt=Xl(t,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:He,direction:dt,colorPicker:et}=(0,l.useContext)(Mt.E_),wt=(0,l.useContext)(Wt.Z),Ot=R!=null?R:wt,[hn,zt,Jt]=Vl("",{value:e,defaultValue:r}),[Bn,_n]=(0,Fe.Z)(!1,{value:C,postState:Wr=>!Ot&&Wr,onChange:Xe}),[ir,Xn]=(0,Fe.Z)(a,{value:a,defaultValue:i,onChange:he}),Kn=He("color-picker",de),yr=(0,l.useMemo)(()=>Pa(hn)<100,[hn]),{status:Fr}=l.useContext(pn.aM),Zr=(0,sr.Z)(Q),tr=(0,lr.Z)(Kn),[rr,An,Wn]=Gl(Kn,tr),en={[`${Kn}-rtl`]:dt},tn=le()(B,Wn,tr,en),dr=le()((0,sn.Z)(Kn,Fr),{[`${Kn}-sm`]:Zr==="small",[`${Kn}-lg`]:Zr==="large"},et==null?void 0:et.className,tn,X,An),ar=le()(Kn,tn),Rr=(0,l.useRef)(!0),vr=(Wr,Qr,ua)=>{var ga;let zr=Vr(Wr);const qr=e===null||!e&&r===null;(((ga=Jt.current)===null||ga===void 0?void 0:ga.cleared)||qr)&&Pa(hn)===0&&Qr!=="alpha"&&(zr=Cr(zr)),se&&yr&&(zr=Cr(zr)),ua?Rr.current=!1:Me==null||Me(zr),zt(zr),Te==null||Te(zr,zr.toHexString())},Gr=()=>{Ve==null||Ve()},fr=Wr=>{Rr.current=!0;let Qr=Vr(Wr);se&&yr&&(Qr=Cr(Wr)),Me==null||Me(Qr)},pr={open:Bn,trigger:p,placement:I,arrow:A,rootClassName:B,getPopupContainer:Je,autoAdjustOverflow:me,destroyTooltipOnHide:Be},Hr={prefixCls:Kn,color:hn,allowClear:s,disabled:Ot,disabledAlpha:se,presets:v,panelRender:U,format:ir,onFormatChange:Xn,onChangeComplete:fr},aa=Object.assign(Object.assign({},et==null?void 0:et.style),L);return rr(l.createElement(Nr.Z,Object.assign({style:we==null?void 0:we.popup,overlayInnerStyle:we==null?void 0:we.popupOverlayInner,onOpenChange:Wr=>{Rr.current&&!Ot&&_n(Wr)},content:l.createElement(pn.Ux,{override:!0,status:!0},l.createElement($l,Object.assign({},Hr,{onChange:vr,onChangeComplete:fr,onClear:Gr}))),overlayClassName:ar},pr),m||l.createElement(Nl,Object.assign({open:Bn,className:dr,style:aa,prefixCls:Kn,disabled:Ot,showText:V,format:ir},vt,{color:hn}))))},kl=(0,rn.Z)(Wo,"color-picker",t=>t,t=>Object.assign(Object.assign({},t),{placement:"bottom",autoAdjustOverflow:!1}));Wo._InternalPanelDoNotUseOrYouWillBeFired=kl;var Jl=Wo,Ql=Jl,Fa=n(79941),ql=n(82492),_l=n.n(ql),es=function(e,r,a,i,s){var v=s.clientWidth,m=s.clientHeight,p=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,C=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,R=p-(s.getBoundingClientRect().left+window.pageXOffset),I=C-(s.getBoundingClientRect().top+window.pageYOffset);if(a==="vertical"){var A;if(I<0?A=0:I>m?A=1:A=Math.round(I*100/m)/100,r.a!==A)return{h:r.h,s:r.s,l:r.l,a:A,source:"rgb"}}else{var U;if(R<0?U=0:R>v?U=1:U=Math.round(R*100/v)/100,i!==U)return{h:r.h,s:r.s,l:r.l,a:U,source:"rgb"}}return null},zo={},ts=function(e,r,a,i){if(typeof document=="undefined"&&!i)return null;var s=i?new i:document.createElement("canvas");s.width=a*2,s.height=a*2;var v=s.getContext("2d");return v?(v.fillStyle=e,v.fillRect(0,0,s.width,s.height),v.fillStyle=r,v.fillRect(0,0,a,a),v.translate(a,a),v.fillRect(0,0,a,a),s.toDataURL()):null},ns=function(e,r,a,i){var s="".concat(e,"-").concat(r,"-").concat(a).concat(i?"-server":"");if(zo[s])return zo[s];var v=ts(e,r,a,i);return zo[s]=v,v};function qa(t){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qa(t)}function Ci(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,a)}return r}function yo(t){for(var e=1;ev)I=0;else{var A=-(R*100/v)+100;I=360*A/100}if(a.h!==I)return{h:I,s:a.s,l:a.l,a:a.a,source:"hsl"}}else{var U;if(C<0)U=0;else if(C>s)U=359;else{var V=C*100/s;U=360*V/100}if(a.h!==U)return{h:U,s:a.s,l:a.l,a:a.a,source:"hsl"}}return null};function Na(t){return Na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Na(t)}function bs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wi(t,e){for(var r=0;rs&&(C=s),R<0?R=0:R>v&&(R=v);var I=C/s,A=1-R/v;return{h:r.h,s:I,v:A,a:r.a,source:"hsv"}};function La(t){return La=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},La(t)}function js(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oi(t,e){for(var r=0;r=0,s=!r&&i&&(e==="hex"||e==="hex6"||e==="hex3"||e==="hex4"||e==="hex8"||e==="name");return s?e==="name"&&this._a===0?this.toName():this.toRgbString():(e==="rgb"&&(a=this.toRgbString()),e==="prgb"&&(a=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(a=this.toHexString()),e==="hex3"&&(a=this.toHexString(!0)),e==="hex4"&&(a=this.toHex8String(!0)),e==="hex8"&&(a=this.toHex8String()),e==="name"&&(a=this.toName()),e==="hsl"&&(a=this.toHslString()),e==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},clone:function(){return vn(this.toString())},_applyModification:function(e,r){var a=e.apply(null,[this].concat([].slice.call(r)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(au,arguments)},brighten:function(){return this._applyModification(ou,arguments)},darken:function(){return this._applyModification(iu,arguments)},desaturate:function(){return this._applyModification(tu,arguments)},saturate:function(){return this._applyModification(nu,arguments)},greyscale:function(){return this._applyModification(ru,arguments)},spin:function(){return this._applyModification(lu,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(cu,arguments)},complement:function(){return this._applyCombination(su,arguments)},monochromatic:function(){return this._applyCombination(du,arguments)},splitcomplement:function(){return this._applyCombination(uu,arguments)},triad:function(){return this._applyCombination(Mi,[3])},tetrad:function(){return this._applyCombination(Mi,[4])}},vn.fromRatio=function(t,e){if(So(t)=="object"){var r={};for(var a in t)t.hasOwnProperty(a)&&(a==="a"?r[a]=t[a]:r[a]=_a(t[a]));t=r}return vn(t,e)};function Js(t){var e={r:0,g:0,b:0},r=1,a=null,i=null,s=null,v=!1,m=!1;return typeof t=="string"&&(t=mu(t)),So(t)=="object"&&(Oa(t.r)&&Oa(t.g)&&Oa(t.b)?(e=Qs(t.r,t.g,t.b),v=!0,m=String(t.r).substr(-1)==="%"?"prgb":"rgb"):Oa(t.h)&&Oa(t.s)&&Oa(t.v)?(a=_a(t.s),i=_a(t.v),e=_s(t.h,a,i),v=!0,m="hsv"):Oa(t.h)&&Oa(t.s)&&Oa(t.l)&&(a=_a(t.s),s=_a(t.l),e=qs(t.h,a,s),v=!0,m="hsl"),t.hasOwnProperty("a")&&(r=t.a)),r=Ti(r),{ok:v,format:t.format||m,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}function Qs(t,e,r){return{r:Dr(t,255)*255,g:Dr(e,255)*255,b:Dr(r,255)*255}}function Ei(t,e,r){t=Dr(t,255),e=Dr(e,255),r=Dr(r,255);var a=Math.max(t,e,r),i=Math.min(t,e,r),s,v,m=(a+i)/2;if(a==i)s=v=0;else{var p=a-i;switch(v=m>.5?p/(2-a-i):p/(a+i),a){case t:s=(e-r)/p+(e1&&(I-=1),I<1/6?C+(R-C)*6*I:I<1/2?R:I<2/3?C+(R-C)*(2/3-I)*6:C}if(e===0)a=i=s=r;else{var m=r<.5?r*(1+e):r+e-r*e,p=2*r-m;a=v(p,m,t+1/3),i=v(p,m,t),s=v(p,m,t-1/3)}return{r:a*255,g:i*255,b:s*255}}function Fi(t,e,r){t=Dr(t,255),e=Dr(e,255),r=Dr(r,255);var a=Math.max(t,e,r),i=Math.min(t,e,r),s,v,m=a,p=a-i;if(v=a===0?0:p/a,a==i)s=0;else{switch(a){case t:s=(e-r)/p+(e>1)+720)%360;--e;)a.h=(a.h+i)%360,s.push(vn(a));return s}function du(t,e){e=e||6;for(var r=vn(t).toHsv(),a=r.h,i=r.s,s=r.v,v=[],m=1/e;e--;)v.push(vn({h:a,s:i,v:s})),s=(s+m)%1;return v}vn.mix=function(t,e,r){r=r===0?0:r||50;var a=vn(t).toRgb(),i=vn(e).toRgb(),s=r/100,v={r:(i.r-a.r)*s+a.r,g:(i.g-a.g)*s+a.g,b:(i.b-a.b)*s+a.b,a:(i.a-a.a)*s+a.a};return vn(v)},vn.readability=function(t,e){var r=vn(t),a=vn(e);return(Math.max(r.getLuminance(),a.getLuminance())+.05)/(Math.min(r.getLuminance(),a.getLuminance())+.05)},vn.isReadable=function(t,e,r){var a=vn.readability(t,e),i,s;switch(s=!1,i=pu(r),i.level+i.size){case"AAsmall":case"AAAlarge":s=a>=4.5;break;case"AAlarge":s=a>=3;break;case"AAAsmall":s=a>=7;break}return s},vn.mostReadable=function(t,e,r){var a=null,i=0,s,v,m,p;r=r||{},v=r.includeFallbackColors,m=r.level,p=r.size;for(var C=0;Ci&&(i=s,a=vn(e[C]));return vn.isReadable(t,a,{level:m,size:p})||!v?a:(r.includeFallbackColors=!1,vn.mostReadable(t,["#fff","#000"],r))};var Xo=vn.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"},fu=vn.hexNames=vu(Xo);function vu(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}function Ti(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Dr(t,e){hu(t)&&(t="100%");var r=gu(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function Po(t){return Math.min(1,Math.max(0,t))}function ia(t){return parseInt(t,16)}function hu(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function gu(t){return typeof t=="string"&&t.indexOf("%")!=-1}function va(t){return t.length==1?"0"+t:""+t}function _a(t){return t<=1&&(t=t*100+"%"),t}function ji(t){return Math.round(parseFloat(t)*255).toString(16)}function Ai(t){return ia(t)/255}var ha=function(){var t="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",r="(?:"+e+")|(?:"+t+")",a="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",i="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+i),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 Oa(t){return!!ha.CSS_UNIT.exec(t)}function mu(t){t=t.replace(Xs,"").replace(ks,"").toLowerCase();var e=!1;if(Xo[t])t=Xo[t],e=!0;else if(t=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=ha.rgb.exec(t))?{r:r[1],g:r[2],b:r[3]}:(r=ha.rgba.exec(t))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ha.hsl.exec(t))?{h:r[1],s:r[2],l:r[3]}:(r=ha.hsla.exec(t))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ha.hsv.exec(t))?{h:r[1],s:r[2],v:r[3]}:(r=ha.hsva.exec(t))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ha.hex8.exec(t))?{r:ia(r[1]),g:ia(r[2]),b:ia(r[3]),a:Ai(r[4]),format:e?"name":"hex8"}:(r=ha.hex6.exec(t))?{r:ia(r[1]),g:ia(r[2]),b:ia(r[3]),format:e?"name":"hex"}:(r=ha.hex4.exec(t))?{r:ia(r[1]+""+r[1]),g:ia(r[2]+""+r[2]),b:ia(r[3]+""+r[3]),a:Ai(r[4]+""+r[4]),format:e?"name":"hex8"}:(r=ha.hex3.exec(t))?{r:ia(r[1]+""+r[1]),g:ia(r[2]+""+r[2]),b:ia(r[3]+""+r[3]),format:e?"name":"hex"}:!1}function pu(t){var e,r;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),e!=="AA"&&e!=="AAA"&&(e="AA"),r!=="small"&&r!=="large"&&(r="small"),{level:e,size:r}}var $i=function(e){var r=["r","g","b","a","h","s","l","v"],a=0,i=0;return Gs()(r,function(s){if(e[s]&&(a+=1,isNaN(e[s])||(i+=1),s==="s"||s==="l")){var v=/^\d+%$/;v.test(e[s])&&(i+=1)}}),a===i?e:!1},eo=function(e,r){var a=e.hex?vn(e.hex):vn(e),i=a.toHsl(),s=a.toHsv(),v=a.toRgb(),m=a.toHex();i.s===0&&(i.h=r||0,s.h=r||0);var p=m==="000000"&&v.a===0;return{hsl:i,hex:p?"transparent":"#".concat(m),rgb:v,hsv:s,oldHue:e.h||r||i.h,source:e.source}},yu=function(e){if(e==="transparent")return!0;var r=String(e).charAt(0)==="#"?1:0;return e.length!==4+r&&e.length<7+r&&vn(e).isValid()},zv=function(e){if(!e)return"#fff";var r=eo(e);if(r.hex==="transparent")return"rgba(0,0,0,0.4)";var a=(r.rgb.r*299+r.rgb.g*587+r.rgb.b*114)/1e3;return a>=128?"#000":"#fff"},Uv={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},Kv=function(e,r){var a=e.replace("\xB0","");return tinycolor("".concat(r," (").concat(a,")"))._ok};function Va(t){return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Va(t)}function ko(){return ko=Object.assign?Object.assign.bind():function(t){for(var e=1;e-1},zu=function(e){return Number(String(e).replace(/%/g,""))},Uu=1,Ku=function(t){Au(r,t);var e=$u(r);function r(a){var i;return Mu(this,r),i=e.call(this),i.handleBlur=function(){i.state.blurValue&&i.setState({value:i.state.blurValue,blurValue:null})},i.handleChange=function(s){i.setUpdatedValue(s.target.value,s)},i.handleKeyDown=function(s){var v=zu(s.target.value);if(!isNaN(v)&&Wu(s.keyCode)){var m=i.getArrowOffset(),p=s.keyCode===Bi?v+m:v-m;i.setUpdatedValue(p,s)}},i.handleDrag=function(s){if(i.props.dragLabel){var v=Math.round(i.props.value+s.movementX);v>=0&&v<=i.props.dragMax&&i.props.onChange&&i.props.onChange(i.getValueObjectWithLabel(v),s)}},i.handleMouseDown=function(s){i.props.dragLabel&&(s.preventDefault(),i.handleDrag(s),window.addEventListener("mousemove",i.handleDrag),window.addEventListener("mouseup",i.handleMouseUp))},i.handleMouseUp=function(){i.unbindEventListeners()},i.unbindEventListeners=function(){window.removeEventListener("mousemove",i.handleDrag),window.removeEventListener("mouseup",i.handleMouseUp)},i.state={value:String(a.value).toUpperCase(),blurValue:String(a.value).toUpperCase()},i.inputId="rc-editable-input-".concat(Uu++),i}return Tu(r,[{key:"componentDidUpdate",value:function(i,s){this.props.value!==this.state.value&&(i.value!==this.props.value||s.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(i){return Iu({},this.props.label,i)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||Vu}},{key:"setUpdatedValue",value:function(i,s){var v=this.props.label?this.getValueObjectWithLabel(i):i;this.props.onChange&&this.props.onChange(v,s),this.setState({value:i})}},{key:"render",value:function(){var i=this,s=(0,Fa.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return l.createElement("div",{style:s.wrap},l.createElement("input",{id:this.inputId,style:s.input,ref:function(m){return i.input=m},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?l.createElement("label",{htmlFor:this.inputId,style:s.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),r}(l.PureComponent||l.Component),no=Ku;function Ba(t){return Ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ba(t)}function qo(){return qo=Object.assign?Object.assign.bind():function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"span";return function(a){Ju(s,a);var i=Qu(s);function s(){var v;Yu(this,s);for(var m=arguments.length,p=new Array(m),C=0;C100&&(R.a=100),R.a/=100,r==null||r({h:i==null?void 0:i.h,s:i==null?void 0:i.s,l:i==null?void 0:i.l,a:R.a,source:"rgb"},I))};return l.createElement("div",{style:m.fields,className:"flexbox-fix"},l.createElement("div",{style:m.double},l.createElement(no,{style:{input:m.input,label:m.label},label:"hex",value:s==null?void 0:s.replace("#",""),onChange:p})),l.createElement("div",{style:m.single},l.createElement(no,{style:{input:m.input,label:m.label},label:"r",value:a==null?void 0:a.r,onChange:p,dragLabel:"true",dragMax:"255"})),l.createElement("div",{style:m.single},l.createElement(no,{style:{input:m.input,label:m.label},label:"g",value:a==null?void 0:a.g,onChange:p,dragLabel:"true",dragMax:"255"})),l.createElement("div",{style:m.single},l.createElement(no,{style:{input:m.input,label:m.label},label:"b",value:a==null?void 0:a.b,onChange:p,dragLabel:"true",dragMax:"255"})),l.createElement("div",{style:m.alpha},l.createElement(no,{style:{input:m.input,label:m.label},label:"a",value:Math.round(((a==null?void 0:a.a)||0)*100),onChange:p,dragLabel:"true",dragMax:"100"})))},uc=sc;function ao(t){return ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ao(t)}function Ki(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,a)}return r}function Yi(t){for(var e=1;e-1}function Zc(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return(typeof t=="undefined"||t===!1)&&ki()?Ql:Sc}var wc=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps,p=e.old,C=(0,l.useContext)(Qe.ZP.ConfigContext),R=C.getPrefixCls,I=l.useMemo(function(){return Zc(p)},[p]),A=R("pro-field-color-picker"),U=(0,l.useMemo)(function(){return p?"":le()((0,fe.Z)({},A,ki()))},[A,p]);if(i==="read"){var V=(0,z.jsx)(I,{value:a,mode:"read",ref:r,className:U,open:!1});return s?s(a,(0,o.Z)({mode:i},m),V):V}if(i==="edit"||i==="update"){var L=(0,o.Z)({display:"table-cell"},m.style),X=(0,z.jsx)(I,(0,o.Z)((0,o.Z)({ref:r,presets:[Pc]},m),{},{style:L,className:U}));return v?v(a,(0,o.Z)((0,o.Z)({mode:i},m),{},{style:L}),X):X}return null},Oc=l.forwardRef(wc),Ec=n(27484),Pr=n.n(Ec),Fc=n(10285),Rc=n.n(Fc),ti=n(74763);Pr().extend(Rc());var Ji=function(e){return!!(e!=null&&e._isAMomentObject)},io=function t(e,r){return(0,ti.k)(e)||Pr().isDayjs(e)||Ji(e)?Ji(e)?Pr()(e):e:Array.isArray(e)?e.map(function(a){return t(a,r)}):typeof e=="number"?Pr()(e):Pr()(e,r)},Ta=n(47676),Ic=n(55183),Qi=n.n(Ic);Pr().extend(Qi());var Mc=function(e,r){return e?typeof r=="function"?r(Pr()(e)):Pr()(e).format((Array.isArray(r)?r[0]:r)||"YYYY-MM-DD"):"-"},Tc=function(e,r){var a=e.text,i=e.mode,s=e.format,v=e.label,m=e.light,p=e.render,C=e.renderFormItem,R=e.plain,I=e.showTime,A=e.fieldProps,U=e.picker,V=e.bordered,L=e.lightLabel,X=(0,h.YB)(),Q=(0,l.useState)(!1),B=(0,j.Z)(Q,2),de=B[0],we=B[1];if(i==="read"){var se=Mc(a,A.format||s);return p?p(a,(0,o.Z)({mode:i},A),(0,z.jsx)(z.Fragment,{children:se})):(0,z.jsx)(z.Fragment,{children:se})}if(i==="edit"||i==="update"){var he,Te=A.disabled,Ve=A.value,Xe=A.placeholder,Me=Xe===void 0?X.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"):Xe,Je=io(Ve);return m?he=(0,z.jsx)(rt.Q,{label:v,onClick:function(){var Be;A==null||(Be=A.onOpenChange)===null||Be===void 0||Be.call(A,!0),we(!0)},style:Je?{paddingInlineEnd:0}:void 0,disabled:Te,value:Je||de?(0,z.jsx)(Ta.Z,(0,o.Z)((0,o.Z)((0,o.Z)({picker:U,showTime:I,format:s,ref:r},A),{},{value:Je,onOpenChange:function(Be){var vt;we(Be),A==null||(vt=A.onOpenChange)===null||vt===void 0||vt.call(A,Be)}},(0,ce.J)(!1)),{},{open:de})):void 0,allowClear:!1,downIcon:Je||de?!1:void 0,bordered:V,ref:L}):he=(0,z.jsx)(Ta.Z,(0,o.Z)((0,o.Z)((0,o.Z)({picker:U,showTime:I,format:s,placeholder:Me},(0,ce.J)(R===void 0?!0:!R)),{},{ref:r},A),{},{value:Je})),C?C(a,(0,o.Z)({mode:i},A),he):he}return null},Wa=l.forwardRef(Tc),Eo=n(97435),jc=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.placeholder,m=e.renderFormItem,p=e.fieldProps,C=(0,h.YB)(),R=v||C.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),I=(0,l.useCallback)(function(Q){var B=Q!=null?Q:void 0;return!p.stringMode&&typeof B=="string"&&(B=Number(B)),typeof B=="number"&&!(0,ti.k)(B)&&!(0,ti.k)(p.precision)&&(B=Number(B.toFixed(p.precision))),B},[p]);if(i==="read"){var A,U={};p!=null&&p.precision&&(U={minimumFractionDigits:Number(p.precision),maximumFractionDigits:Number(p.precision)});var V=new Intl.NumberFormat(void 0,(0,o.Z)((0,o.Z)({},U),(p==null?void 0:p.intlProps)||{})).format(Number(a)),L=(0,z.jsx)("span",{ref:r,children:(p==null||(A=p.formatter)===null||A===void 0?void 0:A.call(p,V))||V});return s?s(a,(0,o.Z)({mode:i},p),L):L}if(i==="edit"||i==="update"){var X=(0,z.jsx)(sa.Z,(0,o.Z)((0,o.Z)({ref:r,min:0,placeholder:R},(0,Eo.Z)(p,["onChange","onBlur"])),{},{onChange:function(B){var de;return p==null||(de=p.onChange)===null||de===void 0?void 0:de.call(p,I(B))},onBlur:function(B){var de;return p==null||(de=p.onBlur)===null||de===void 0?void 0:de.call(p,I(B.target.value))}}));return m?m(a,(0,o.Z)({mode:i},p),X):X}return null},Ac=l.forwardRef(jc),ni=n(78957),$c=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.placeholder,m=e.renderFormItem,p=e.fieldProps,C=e.separator,R=C===void 0?"~":C,I=e.separatorWidth,A=I===void 0?30:I,U=p.value,V=p.defaultValue,L=p.onChange,X=p.id,Q=(0,h.YB)(),B=Vn.Ow.useToken(),de=B.token,we=(0,Fe.Z)(function(){return V},{value:U,onChange:L}),se=(0,j.Z)(we,2),he=se[0],Te=se[1];if(i==="read"){var Ve=function(wt){var Ot,hn=new Intl.NumberFormat(void 0,(0,o.Z)({minimumSignificantDigits:2},(p==null?void 0:p.intlProps)||{})).format(Number(wt));return(p==null||(Ot=p.formatter)===null||Ot===void 0?void 0:Ot.call(p,hn))||hn},Xe=(0,z.jsxs)("span",{ref:r,children:[Ve(a[0])," ",R," ",Ve(a[1])]});return s?s(a,(0,o.Z)({mode:i},p),Xe):Xe}if(i==="edit"||i==="update"){var Me=function(){if(Array.isArray(he)){var wt=(0,j.Z)(he,2),Ot=wt[0],hn=wt[1];typeof Ot=="number"&&typeof hn=="number"&&Ot>hn?Te([hn,Ot]):Ot===void 0&&hn===void 0&&Te(void 0)}},Je=function(wt,Ot){var hn=(0,ye.Z)(he||[]);hn[wt]=Ot===null?void 0:Ot,Te(hn)},me=(p==null?void 0:p.placeholder)||v||[Q.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),Q.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")],Be=function(wt){return Array.isArray(me)?me[wt]:me},vt=ni.Z.Compact||ur.Z.Group,He=ni.Z.Compact?{}:{compact:!0},dt=(0,z.jsxs)(vt,(0,o.Z)((0,o.Z)({},He),{},{onBlur:Me,children:[(0,z.jsx)(sa.Z,(0,o.Z)((0,o.Z)({},p),{},{placeholder:Be(0),id:X!=null?X:"".concat(X,"-0"),style:{width:"calc((100% - ".concat(A,"px) / 2)")},value:he==null?void 0:he[0],defaultValue:V==null?void 0:V[0],onChange:function(wt){return Je(0,wt)}})),(0,z.jsx)(ur.Z,{style:{width:A,textAlign:"center",borderInlineStart:0,borderInlineEnd:0,pointerEvents:"none",backgroundColor:de==null?void 0:de.colorBgContainer},placeholder:R,disabled:!0}),(0,z.jsx)(sa.Z,(0,o.Z)((0,o.Z)({},p),{},{placeholder:Be(1),id:X!=null?X:"".concat(X,"-1"),style:{width:"calc((100% - ".concat(A,"px) / 2)"),borderInlineStart:0},value:he==null?void 0:he[1],defaultValue:V==null?void 0:V[1],onChange:function(wt){return Je(1,wt)}}))]}));return m?m(a,(0,o.Z)({mode:i},p),dt):dt}return null},Dc=l.forwardRef($c),qi=n(83062),Nc=n(84110),Lc=n.n(Nc);Pr().extend(Lc());var Vc=function(e,r){var a=e.text,i=e.mode,s=e.plain,v=e.render,m=e.renderFormItem,p=e.format,C=e.fieldProps,R=(0,h.YB)();if(i==="read"){var I=(0,z.jsx)(qi.Z,{title:Pr()(a).format((C==null?void 0:C.format)||p||"YYYY-MM-DD HH:mm:ss"),children:Pr()(a).fromNow()});return v?v(a,(0,o.Z)({mode:i},C),(0,z.jsx)(z.Fragment,{children:I})):(0,z.jsx)(z.Fragment,{children:I})}if(i==="edit"||i==="update"){var A=R.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),U=io(C.value),V=(0,z.jsx)(Ta.Z,(0,o.Z)((0,o.Z)((0,o.Z)({ref:r,placeholder:A,showTime:!0},(0,ce.J)(s===void 0?!0:!s)),C),{},{value:U}));return m?m(a,(0,o.Z)({mode:i},C),V):V}return null},Hc=l.forwardRef(Vc),Bc=n(55060),Wc=l.forwardRef(function(t,e){var r=t.text,a=t.mode,i=t.render,s=t.renderFormItem,v=t.fieldProps,m=t.placeholder,p=t.width,C=(0,h.YB)(),R=m||C.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165");if(a==="read"){var I=(0,z.jsx)(Bc.Z,(0,o.Z)({ref:e,width:p||32,src:r},v));return i?i(r,(0,o.Z)({mode:a},v),I):I}if(a==="edit"||a==="update"){var A=(0,z.jsx)(ur.Z,(0,o.Z)({ref:e,placeholder:R},v));return s?s(r,(0,o.Z)({mode:a},v),A):A}return null}),_i=Wc,zc=function(e,r){var a=e.border,i=a===void 0?!1:a,s=e.children,v=(0,l.useContext)(Qe.ZP.ConfigContext),m=v.getPrefixCls,p=m("pro-field-index-column"),C=(0,Vn.Xj)("IndexColumn",function(){return(0,fe.Z)({},".".concat(p),{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px","&-border":{color:"#fff",fontSize:"12px",lineHeight:"12px",backgroundColor:"#314659",borderRadius:"9px","&.top-three":{backgroundColor:"#979797"}}})}),R=C.wrapSSR,I=C.hashId;return R((0,z.jsx)("div",{ref:r,className:le()(p,I,(0,fe.Z)((0,fe.Z)({},"".concat(p,"-border"),i),"top-three",s>3)),children:s}))},el=l.forwardRef(zc),tl=n(32818),Uc=n(73177),Kc=["contentRender","numberFormatOptions","numberPopoverRender","open"],Yc=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],nl=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),Gc={style:"currency",currency:"USD"},Xc={style:"currency",currency:"RUB"},kc={style:"currency",currency:"RSD"},Jc={style:"currency",currency:"MYR"},Qc={style:"currency",currency:"BRL"},qc={default:nl,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":Gc,"ru-RU":Xc,"ms-MY":Jc,"sr-RS":kc,"pt-BR":Qc},rl=function(e,r,a,i){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"",v=r==null?void 0:r.toString().replaceAll(",","");if(typeof v=="string"){var m=Number(v);if(Number.isNaN(m))return v;v=m}if(!v&&v!==0)return"";var p=!1;try{p=e!==!1&&Intl.NumberFormat.supportedLocalesOf([e.replace("_","-")],{localeMatcher:"lookup"}).length>0}catch(X){}try{var C=new Intl.NumberFormat(p&&e!==!1&&(e==null?void 0:e.replace("_","-"))||"zh-Hans-CN",(0,o.Z)((0,o.Z)({},qc[e||"zh-Hans-CN"]||nl),{},{maximumFractionDigits:a},i)),R=C.format(v),I=function(Q){var B=Q.match(/\d+/);if(B){var de=B[0];return Q.slice(Q.indexOf(de))}else return Q},A=I(R),U=R||"",V=(0,j.Z)(U,1),L=V[0];return["+","-"].includes(L)?"".concat(s||"").concat(L).concat(A):"".concat(s||"").concat(A)}catch(X){return v}},ri=2,_c=l.forwardRef(function(t,e){var r=t.contentRender,a=t.numberFormatOptions,i=t.numberPopoverRender,s=t.open,v=(0,u.Z)(t,Kc),m=(0,Fe.Z)(function(){return v.defaultValue},{value:v.value,onChange:v.onChange}),p=(0,j.Z)(m,2),C=p[0],R=p[1],I=r==null?void 0:r((0,o.Z)((0,o.Z)({},v),{},{value:C})),A=(0,Uc.X)(I?s:!1);return(0,z.jsx)(Nr.Z,(0,o.Z)((0,o.Z)({placement:"topLeft"},A),{},{trigger:["focus","click"],content:I,getPopupContainer:function(V){return(V==null?void 0:V.parentElement)||document.body},children:(0,z.jsx)(sa.Z,(0,o.Z)((0,o.Z)({ref:e},v),{},{value:C,onChange:R}))}))}),ed=function(e,r){var a,i=e.text,s=e.mode,v=e.render,m=e.renderFormItem,p=e.fieldProps,C=e.proFieldKey,R=e.plain,I=e.valueEnum,A=e.placeholder,U=e.locale,V=e.customSymbol,L=V===void 0?p.customSymbol:V,X=e.numberFormatOptions,Q=X===void 0?p==null?void 0:p.numberFormatOptions:X,B=e.numberPopoverRender,de=B===void 0?(p==null?void 0:p.numberPopoverRender)||!1:B,we=(0,u.Z)(e,Yc),se=(a=p==null?void 0:p.precision)!==null&&a!==void 0?a:ri,he=(0,h.YB)();U&&tl.Go[U]&&(he=tl.Go[U]);var Te=A||he.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),Ve=(0,l.useMemo)(function(){if(L)return L;if(!(we.moneySymbol===!1||p.moneySymbol===!1))return he.getMessage("moneySymbol","\xA5")},[L,p.moneySymbol,he,we.moneySymbol]),Xe=(0,l.useCallback)(function(me){var Be=new RegExp("\\B(?=(\\d{".concat(3+Math.max(se-ri,0),"})+(?!\\d))"),"g"),vt=String(me).split("."),He=(0,j.Z)(vt,2),dt=He[0],et=He[1],wt=dt.replace(Be,","),Ot="";return et&&se>0&&(Ot=".".concat(et.slice(0,se===void 0?ri:se))),"".concat(wt).concat(Ot)},[se]);if(s==="read"){var Me=(0,z.jsx)("span",{ref:r,children:rl(U||!1,i,se,Q!=null?Q:p.numberFormatOptions,Ve)});return v?v(i,(0,o.Z)({mode:s},p),Me):Me}if(s==="edit"||s==="update"){var Je=(0,z.jsx)(_c,(0,o.Z)((0,o.Z)({contentRender:function(Be){if(de===!1||!Be.value)return null;var vt=rl(Ve||U||!1,"".concat(Xe(Be.value)),se,(0,o.Z)((0,o.Z)({},Q),{},{notation:"compact"}),Ve);return typeof de=="function"?de==null?void 0:de(Be,vt):vt},ref:r,precision:se,formatter:function(Be){return Be&&Ve?"".concat(Ve," ").concat(Xe(Be)):Be==null?void 0:Be.toString()},parser:function(Be){return Ve&&Be?Be.replace(new RegExp("\\".concat(Ve,"\\s?|(,*)"),"g"),""):Be},placeholder:Te},(0,Eo.Z)(p,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible","open"])),{},{onBlur:p.onBlur?function(me){var Be,vt=me.target.value;Ve&&vt&&(vt=vt.replace(new RegExp("\\".concat(Ve,"\\s?|(,*)"),"g"),"")),(Be=p.onBlur)===null||Be===void 0||Be.call(p,vt)}:void 0}));return m?m(i,(0,o.Z)({mode:s},p),Je):Je}return null},al=l.forwardRef(ed),ol=function(e){return e.map(function(r,a){var i;return l.isValidElement(r)?l.cloneElement(r,(0,o.Z)((0,o.Z)({key:a},r==null?void 0:r.props),{},{style:(0,o.Z)({},r==null||(i=r.props)===null||i===void 0?void 0:i.style)})):(0,z.jsx)(l.Fragment,{children:r},a)})},td=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.fieldProps,m=(0,l.useContext)(Qe.ZP.ConfigContext),p=m.getPrefixCls,C=p("pro-field-option"),R=Vn.Ow.useToken(),I=R.token;if((0,l.useImperativeHandle)(r,function(){return{}}),s){var A=s(a,(0,o.Z)({mode:i},v),(0,z.jsx)(z.Fragment,{}));return!A||(A==null?void 0:A.length)<1||!Array.isArray(A)?null:(0,z.jsx)("div",{style:{display:"flex",gap:I.margin,alignItems:"center"},className:C,children:ol(A)})}return!a||!Array.isArray(a)?l.isValidElement(a)?a:null:(0,z.jsx)("div",{style:{display:"flex",gap:I.margin,alignItems:"center"},className:C,children:ol(a)})},nd=l.forwardRef(td),rd=n(5717),ad=function(e,r){return l.createElement(G.Z,(0,oe.Z)({},e,{ref:r,icon:rd.Z}))},od=l.forwardRef(ad),id=od,ld=n(42003),sd=function(e,r){return l.createElement(G.Z,(0,oe.Z)({},e,{ref:r,icon:ld.Z}))},ud=l.forwardRef(sd),cd=ud,dd=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],fd=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps,p=e.proFieldKey,C=(0,u.Z)(e,dd),R=(0,h.YB)(),I=(0,Fe.Z)(function(){return C.open||C.visible||!1},{value:C.open||C.visible,onChange:C.onOpenChange||C.onVisible}),A=(0,j.Z)(I,2),U=A[0],V=A[1];if(i==="read"){var L=(0,z.jsx)(z.Fragment,{children:"-"});return a&&(L=(0,z.jsxs)(ni.Z,{children:[(0,z.jsx)("span",{ref:r,children:U?a:"********"}),(0,z.jsx)("a",{onClick:function(){return V(!U)},children:U?(0,z.jsx)(id,{}):(0,z.jsx)(cd,{})})]})),s?s(a,(0,o.Z)({mode:i},m),L):L}if(i==="edit"||i==="update"){var X=(0,z.jsx)(ur.Z.Password,(0,o.Z)({placeholder:R.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ref:r},m));return v?v(a,(0,o.Z)({mode:i},m),X):X}return null},vd=l.forwardRef(fd),hd=n(49323),Fo=n.n(hd);function gd(t){return t===0?null:t>0?"+":"-"}function md(t){return t===0?"#595959":t>0?"#ff4d4f":"#52c41a"}function pd(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return e>=0?t==null?void 0:t.toFixed(e):t}var yd=function(e,r){var a=e.text,i=e.prefix,s=e.precision,v=e.suffix,m=v===void 0?"%":v,p=e.mode,C=e.showColor,R=C===void 0?!1:C,I=e.render,A=e.renderFormItem,U=e.fieldProps,V=e.placeholder,L=e.showSymbol,X=(0,h.YB)(),Q=V||X.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),B=(0,l.useMemo)(function(){return typeof a=="string"&&a.includes("%")?Fo()(a.replace("%","")):Fo()(a)},[a]),de=(0,l.useMemo)(function(){return typeof L=="function"?L==null?void 0:L(a):L},[L,a]);if(p==="read"){var we=R?{color:md(B)}:{},se=(0,z.jsxs)("span",{style:we,ref:r,children:[i&&(0,z.jsx)("span",{children:i}),de&&(0,z.jsxs)(l.Fragment,{children:[gd(B)," "]}),pd(Math.abs(B),s),m&&m]});return I?I(a,(0,o.Z)((0,o.Z)({mode:p},U),{},{prefix:i,precision:s,showSymbol:de,suffix:m}),se):se}if(p==="edit"||p==="update"){var he=(0,z.jsx)(sa.Z,(0,o.Z)({ref:r,formatter:function(Ve){return Ve&&i?"".concat(i," ").concat(Ve).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):Ve},parser:function(Ve){return Ve?Ve.replace(/.*\s|,/g,""):""},placeholder:Q},U));return A?A(a,(0,o.Z)({mode:p},U),he):he}return null},il=l.forwardRef(yd),bd=n(38703);function Cd(t){return t===100?"success":t<0?"exception":t<100?"active":"normal"}var xd=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.plain,m=e.renderFormItem,p=e.fieldProps,C=e.placeholder,R=(0,h.YB)(),I=C||R.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),A=(0,l.useMemo)(function(){return typeof a=="string"&&a.includes("%")?Fo()(a.replace("%","")):Fo()(a)},[a]);if(i==="read"){var U=(0,z.jsx)(bd.Z,(0,o.Z)({ref:r,size:"small",style:{minWidth:100,maxWidth:320},percent:A,steps:v?10:void 0,status:Cd(A)},p));return s?s(A,(0,o.Z)({mode:i},p),U):U}if(i==="edit"||i==="update"){var V=(0,z.jsx)(sa.Z,(0,o.Z)({ref:r,placeholder:I},p));return m?m(a,(0,o.Z)({mode:i},p),V):V}return null},ll=l.forwardRef(xd),Sd=n(78045),Pd=["radioType","renderFormItem","mode","render"],Zd=function(e,r){var a,i,s=e.radioType,v=e.renderFormItem,m=e.mode,p=e.render,C=(0,u.Z)(e,Pd),R=(0,l.useContext)(Qe.ZP.ConfigContext),I=R.getPrefixCls,A=I("pro-field-radio"),U=(0,Yn.aK)(C),V=(0,j.Z)(U,3),L=V[0],X=V[1],Q=V[2],B=(0,l.useRef)(),de=(a=Hn.Z.Item)===null||a===void 0||(i=a.useStatus)===null||i===void 0?void 0:i.call(a);(0,l.useImperativeHandle)(r,function(){return(0,o.Z)((0,o.Z)({},B.current||{}),{},{fetchData:function(vt){return Q(vt)}})},[Q]);var we=(0,Vn.Xj)("FieldRadioRadio",function(Be){return(0,fe.Z)((0,fe.Z)((0,fe.Z)({},".".concat(A,"-error"),{span:{color:Be.colorError}}),".".concat(A,"-warning"),{span:{color:Be.colorWarning}}),".".concat(A,"-vertical"),(0,fe.Z)({},"".concat(Be.antCls,"-radio-wrapper"),{display:"flex",marginInlineEnd:0}))}),se=we.wrapSSR,he=we.hashId;if(L)return(0,z.jsx)(yn.Z,{size:"small"});if(m==="read"){var Te=X!=null&&X.length?X==null?void 0:X.reduce(function(Be,vt){var He;return(0,o.Z)((0,o.Z)({},Be),{},(0,fe.Z)({},(He=vt.value)!==null&&He!==void 0?He:"",vt.label))},{}):void 0,Ve=(0,z.jsx)(z.Fragment,{children:(0,ie.MP)(C.text,(0,ie.R6)(C.valueEnum||Te))});if(p){var Xe;return(Xe=p(C.text,(0,o.Z)({mode:m},C.fieldProps),Ve))!==null&&Xe!==void 0?Xe:null}return Ve}if(m==="edit"){var Me,Je=se((0,z.jsx)(Sd.ZP.Group,(0,o.Z)((0,o.Z)({ref:B,optionType:s},C.fieldProps),{},{className:le()((Me=C.fieldProps)===null||Me===void 0?void 0:Me.className,(0,fe.Z)((0,fe.Z)({},"".concat(A,"-error"),(de==null?void 0:de.status)==="error"),"".concat(A,"-warning"),(de==null?void 0:de.status)==="warning"),he,"".concat(A,"-").concat(C.fieldProps.layout||"horizontal")),options:X})));if(v){var me;return(me=v(C.text,(0,o.Z)((0,o.Z)({mode:m},C.fieldProps),{},{options:X,loading:L}),Je))!==null&&me!==void 0?me:null}return Je}return null},sl=l.forwardRef(Zd),wd=function(e,r){var a=e.text,i=e.mode,s=e.light,v=e.label,m=e.format,p=e.render,C=e.picker,R=e.renderFormItem,I=e.plain,A=e.showTime,U=e.lightLabel,V=e.bordered,L=e.fieldProps,X=(0,h.YB)(),Q=Array.isArray(a)?a:[],B=(0,j.Z)(Q,2),de=B[0],we=B[1],se=l.useState(!1),he=(0,j.Z)(se,2),Te=he[0],Ve=he[1],Xe=(0,l.useCallback)(function(dt){if(typeof(L==null?void 0:L.format)=="function"){var et;return L==null||(et=L.format)===null||et===void 0?void 0:et.call(L,dt)}return(L==null?void 0:L.format)||m||"YYYY-MM-DD"},[L,m]),Me=de?Pr()(de).format(Xe(Pr()(de))):"",Je=we?Pr()(we).format(Xe(Pr()(we))):"";if(i==="read"){var me=(0,z.jsxs)("div",{ref:r,style:{display:"flex",flexWrap:"wrap",gap:8,alignItems:"center"},children:[(0,z.jsx)("div",{children:Me||"-"}),(0,z.jsx)("div",{children:Je||"-"})]});return p?p(a,(0,o.Z)({mode:i},L),(0,z.jsx)("span",{children:me})):me}if(i==="edit"||i==="update"){var Be=io(L.value),vt;if(s){var He;vt=(0,z.jsx)(rt.Q,{label:v,onClick:function(){var et;L==null||(et=L.onOpenChange)===null||et===void 0||et.call(L,!0),Ve(!0)},style:Be?{paddingInlineEnd:0}:void 0,disabled:L.disabled,value:Be||Te?(0,z.jsx)(Ta.Z.RangePicker,(0,o.Z)((0,o.Z)((0,o.Z)({picker:C,showTime:A,format:m},(0,ce.J)(!1)),L),{},{placeholder:(He=L.placeholder)!==null&&He!==void 0?He:[X.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),X.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")],onClear:function(){var et;Ve(!1),L==null||(et=L.onClear)===null||et===void 0||et.call(L)},value:Be,onOpenChange:function(et){var wt;Be&&Ve(et),L==null||(wt=L.onOpenChange)===null||wt===void 0||wt.call(L,et)}})):null,allowClear:!1,bordered:V,ref:U,downIcon:Be||Te?!1:void 0})}else vt=(0,z.jsx)(Ta.Z.RangePicker,(0,o.Z)((0,o.Z)((0,o.Z)({ref:r,format:m,showTime:A,placeholder:[X.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),X.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")]},(0,ce.J)(I===void 0?!0:!I)),L),{},{value:Be}));return R?R(a,(0,o.Z)({mode:i},L),vt):vt}return null},za=l.forwardRef(wd),ul=n(19207),Od=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps;if(i==="read"){var p=(0,z.jsx)(ul.Z,(0,o.Z)((0,o.Z)({allowHalf:!0,disabled:!0,ref:r},m),{},{value:a}));return s?s(a,(0,o.Z)({mode:i},m),(0,z.jsx)(z.Fragment,{children:p})):p}if(i==="edit"||i==="update"){var C=(0,z.jsx)(ul.Z,(0,o.Z)({allowHalf:!0,ref:r},m));return v?v(a,(0,o.Z)({mode:i},m),C):C}return null},Ed=l.forwardRef(Od);function Fd(t){var e="",r=Math.floor(t/86400),a=Math.floor(t/3600%24),i=Math.floor(t/60%60),s=Math.floor(t%60);return e="".concat(s,"\u79D2"),i>0&&(e="".concat(i,"\u5206\u949F").concat(e)),a>0&&(e="".concat(a,"\u5C0F\u65F6").concat(e)),r>0&&(e="".concat(r,"\u5929").concat(e)),e}var Rd=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps,p=e.placeholder,C=(0,h.YB)(),R=p||C.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165");if(i==="read"){var I=Fd(Number(a)),A=(0,z.jsx)("span",{ref:r,children:I});return s?s(a,(0,o.Z)({mode:i},m),A):A}if(i==="edit"||i==="update"){var U=(0,z.jsx)(sa.Z,(0,o.Z)({ref:r,min:0,style:{width:"100%"},placeholder:R},m));return v?v(a,(0,o.Z)({mode:i},m),U):U}return null},Id=l.forwardRef(Rd),ai=n(42550),Md=n(82225),Td=n(8410),cl=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},Ua=function(e){return e!==void 0?"".concat(e,"px"):void 0};function jd(t){var e=t.prefixCls,r=t.containerRef,a=t.value,i=t.getValueIndex,s=t.motionName,v=t.onMotionStart,m=t.onMotionEnd,p=t.direction,C=l.useRef(null),R=l.useState(a),I=(0,j.Z)(R,2),A=I[0],U=I[1],V=function(Be){var vt,He=i(Be),dt=(vt=r.current)===null||vt===void 0?void 0:vt.querySelectorAll(".".concat(e,"-item"))[He];return(dt==null?void 0:dt.offsetParent)&&dt},L=l.useState(null),X=(0,j.Z)(L,2),Q=X[0],B=X[1],de=l.useState(null),we=(0,j.Z)(de,2),se=we[0],he=we[1];(0,Td.Z)(function(){if(A!==a){var me=V(A),Be=V(a),vt=cl(me),He=cl(Be);U(a),B(vt),he(He),me&&Be?v():m()}},[a]);var Te=l.useMemo(function(){return Ua(p==="rtl"?-(Q==null?void 0:Q.right):Q==null?void 0:Q.left)},[p,Q]),Ve=l.useMemo(function(){return Ua(p==="rtl"?-(se==null?void 0:se.right):se==null?void 0:se.left)},[p,se]),Xe=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},Me=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},Je=function(){B(null),he(null),m()};return!Q||!se?null:l.createElement(Md.ZP,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:Xe,onAppearActive:Me,onVisibleChanged:Je},function(me,Be){var vt=me.className,He=me.style,dt=(0,o.Z)((0,o.Z)({},He),{},{"--thumb-start-left":Te,"--thumb-start-width":Ua(Q==null?void 0:Q.width),"--thumb-active-left":Ve,"--thumb-active-width":Ua(se==null?void 0:se.width)}),et={ref:(0,ai.sQ)(C,Be),style:dt,className:le()("".concat(e,"-thumb"),vt)};return l.createElement("div",et)})}var Ad=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function $d(t){if(typeof t.title!="undefined")return t.title;if((0,c.Z)(t.label)!=="object"){var e;return(e=t.label)===null||e===void 0?void 0:e.toString()}}function Dd(t){return t.map(function(e){if((0,c.Z)(e)==="object"&&e!==null){var r=$d(e);return(0,o.Z)((0,o.Z)({},e),{},{title:r})}return{label:e==null?void 0:e.toString(),title:e==null?void 0:e.toString(),value:e}})}var Nd=function(e){var r=e.prefixCls,a=e.className,i=e.disabled,s=e.checked,v=e.label,m=e.title,p=e.value,C=e.onChange,R=function(A){i||C(A,p)};return l.createElement("label",{className:le()(a,(0,fe.Z)({},"".concat(r,"-item-disabled"),i))},l.createElement("input",{className:"".concat(r,"-item-input"),type:"radio",disabled:i,checked:s,onChange:R}),l.createElement("div",{className:"".concat(r,"-item-label"),title:m},v))},Ld=l.forwardRef(function(t,e){var r,a,i=t.prefixCls,s=i===void 0?"rc-segmented":i,v=t.direction,m=t.options,p=m===void 0?[]:m,C=t.disabled,R=t.defaultValue,I=t.value,A=t.onChange,U=t.className,V=U===void 0?"":U,L=t.motionName,X=L===void 0?"thumb-motion":L,Q=(0,u.Z)(t,Ad),B=l.useRef(null),de=l.useMemo(function(){return(0,ai.sQ)(B,e)},[B,e]),we=l.useMemo(function(){return Dd(p)},[p]),se=(0,Fe.Z)((r=we[0])===null||r===void 0?void 0:r.value,{value:I,defaultValue:R}),he=(0,j.Z)(se,2),Te=he[0],Ve=he[1],Xe=l.useState(!1),Me=(0,j.Z)(Xe,2),Je=Me[0],me=Me[1],Be=function(dt,et){C||(Ve(et),A==null||A(et))},vt=(0,It.Z)(Q,["children"]);return l.createElement("div",(0,oe.Z)({},vt,{className:le()(s,(a={},(0,fe.Z)(a,"".concat(s,"-rtl"),v==="rtl"),(0,fe.Z)(a,"".concat(s,"-disabled"),C),a),V),ref:de}),l.createElement("div",{className:"".concat(s,"-group")},l.createElement(jd,{prefixCls:s,value:Te,containerRef:B,motionName:"".concat(s,"-").concat(X),direction:v,getValueIndex:function(dt){return we.findIndex(function(et){return et.value===dt})},onMotionStart:function(){me(!0)},onMotionEnd:function(){me(!1)}}),we.map(function(He){return l.createElement(Nd,(0,oe.Z)({},He,{key:He.value,prefixCls:s,className:le()(He.className,"".concat(s,"-item"),(0,fe.Z)({},"".concat(s,"-item-selected"),He.value===Te&&!Je)),checked:He.value===Te,onChange:Be,disabled:!!C||!!He.disabled}))})))}),Vd=Ld,Hd=Vd;function dl(t,e){return{[`${t}, ${t}:hover, ${t}:focus`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}}function fl(t){return{backgroundColor:t.itemSelectedBg,boxShadow:t.boxShadowTertiary}}const Bd=Object.assign({overflow:"hidden"},Mr.vS),Wd=t=>{const{componentCls:e}=t,r=t.calc(t.controlHeight).sub(t.calc(t.trackPadding).mul(2)).equal(),a=t.calc(t.controlHeightLG).sub(t.calc(t.trackPadding).mul(2)).equal(),i=t.calc(t.controlHeightSM).sub(t.calc(t.trackPadding).mul(2)).equal();return{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Mr.Wf)(t)),{display:"inline-block",padding:t.trackPadding,color:t.itemColor,background:t.trackBg,borderRadius:t.borderRadius,transition:`all ${t.motionDurationMid} ${t.motionEaseInOut}`,[`${e}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${e}-rtl`]:{direction:"rtl"},[`&${e}-block`]:{display:"flex"},[`&${e}-block ${e}-item`]:{flex:1,minWidth:0},[`${e}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${t.motionDurationMid} ${t.motionEaseInOut}`,borderRadius:t.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},fl(t)),{color:t.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${t.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${e}-item-selected):not(${e}-item-disabled)`]:{color:t.itemHoverColor,"&::after":{backgroundColor:t.itemHoverBg}},[`&:active:not(${e}-item-selected):not(${e}-item-disabled)`]:{color:t.itemHoverColor,"&::after":{backgroundColor:t.itemActiveBg}},"&-label":Object.assign({minHeight:r,lineHeight:(0,xt.bf)(r),padding:`0 ${(0,xt.bf)(t.segmentedPaddingHorizontal)}`},Bd),"&-icon + *":{marginInlineStart:t.calc(t.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${e}-thumb`]:Object.assign(Object.assign({},fl(t)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,xt.bf)(t.paddingXXS)} 0`,borderRadius:t.borderRadiusSM,[`& ~ ${e}-item:not(${e}-item-selected):not(${e}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${e}-lg`]:{borderRadius:t.borderRadiusLG,[`${e}-item-label`]:{minHeight:a,lineHeight:(0,xt.bf)(a),padding:`0 ${(0,xt.bf)(t.segmentedPaddingHorizontal)}`,fontSize:t.fontSizeLG},[`${e}-item, ${e}-thumb`]:{borderRadius:t.borderRadius}},[`&${e}-sm`]:{borderRadius:t.borderRadiusSM,[`${e}-item-label`]:{minHeight:i,lineHeight:(0,xt.bf)(i),padding:`0 ${(0,xt.bf)(t.segmentedPaddingHorizontalSM)}`},[`${e}-item, ${e}-thumb`]:{borderRadius:t.borderRadiusXS}}}),dl(`&-disabled ${e}-item`,t)),dl(`${e}-item-disabled`,t)),{[`${e}-thumb-motion-appear-active`]:{transition:`transform ${t.motionDurationSlow} ${t.motionEaseInOut}, width ${t.motionDurationSlow} ${t.motionEaseInOut}`,willChange:"transform, width"}})}},zd=t=>{const{colorTextLabel:e,colorText:r,colorFillSecondary:a,colorBgElevated:i,colorFill:s,lineWidthBold:v,colorBgLayout:m}=t;return{trackPadding:v,trackBg:m,itemColor:e,itemHoverColor:r,itemHoverBg:a,itemSelectedBg:i,itemActiveBg:s,itemSelectedColor:r}};var Ud=(0,an.I$)("Segmented",t=>{const{lineWidth:e,calc:r}=t,a=(0,Ho.TS)(t,{segmentedPaddingHorizontal:r(t.controlPaddingHorizontal).sub(e).equal(),segmentedPaddingHorizontalSM:r(t.controlPaddingHorizontalSM).sub(e).equal()});return[Wd(a)]},zd),vl=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);i{const{prefixCls:r,className:a,rootClassName:i,block:s,options:v=[],size:m="middle",style:p}=t,C=vl(t,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:R,direction:I,segmented:A}=l.useContext(Mt.E_),U=R("segmented",r),[V,L,X]=Ud(U),Q=(0,sr.Z)(m),B=l.useMemo(()=>v.map(se=>{if(Kd(se)){const{icon:he,label:Te}=se,Ve=vl(se,["icon","label"]);return Object.assign(Object.assign({},Ve),{label:l.createElement(l.Fragment,null,l.createElement("span",{className:`${U}-item-icon`},he),Te&&l.createElement("span",null,Te))})}return se}),[v,U]),de=le()(a,i,A==null?void 0:A.className,{[`${U}-block`]:s,[`${U}-sm`]:Q==="small",[`${U}-lg`]:Q==="large"},L,X),we=Object.assign(Object.assign({},A==null?void 0:A.style),p);return V(l.createElement(Hd,Object.assign({},C,{className:de,style:we,options:B,ref:e,prefixCls:U,direction:I})))}),Gd=["mode","render","renderFormItem","fieldProps","emptyText"],Xd=function(e,r){var a=e.mode,i=e.render,s=e.renderFormItem,v=e.fieldProps,m=e.emptyText,p=m===void 0?"-":m,C=(0,u.Z)(e,Gd),R=(0,l.useRef)(),I=(0,Yn.aK)(e),A=(0,j.Z)(I,3),U=A[0],V=A[1],L=A[2];if((0,l.useImperativeHandle)(r,function(){return(0,o.Z)((0,o.Z)({},R.current||{}),{},{fetchData:function(se){return L(se)}})},[L]),U)return(0,z.jsx)(yn.Z,{size:"small"});if(a==="read"){var X=V!=null&&V.length?V==null?void 0:V.reduce(function(we,se){var he;return(0,o.Z)((0,o.Z)({},we),{},(0,fe.Z)({},(he=se.value)!==null&&he!==void 0?he:"",se.label))},{}):void 0,Q=(0,z.jsx)(z.Fragment,{children:(0,ie.MP)(C.text,(0,ie.R6)(C.valueEnum||X))});if(i){var B;return(B=i(C.text,(0,o.Z)({mode:a},v),(0,z.jsx)(z.Fragment,{children:Q})))!==null&&B!==void 0?B:p}return Q}if(a==="edit"||a==="update"){var de=(0,z.jsx)(Yd,(0,o.Z)((0,o.Z)({ref:R},(0,Eo.Z)(v||{},["allowClear"])),{},{options:V}));return s?s(C.text,(0,o.Z)((0,o.Z)({mode:a},v),{},{options:V,loading:U}),de):de}return null},kd=l.forwardRef(Xd),Jd=n(91881);function oi(t,e,r){return(t-e)/(r-e)}function ii(t,e,r,a){var i=oi(e,r,a),s={};switch(t){case"rtl":s.right="".concat(i*100,"%"),s.transform="translateX(50%)";break;case"btt":s.bottom="".concat(i*100,"%"),s.transform="translateY(50%)";break;case"ttb":s.top="".concat(i*100,"%"),s.transform="translateY(-50%)";break;default:s.left="".concat(i*100,"%"),s.transform="translateX(-50%)";break}return s}function Ka(t,e){return Array.isArray(t)?t[e]:t}var Qd=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),ja=Qd,qd=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],_d=l.forwardRef(function(t,e){var r=t.prefixCls,a=t.value,i=t.valueIndex,s=t.onStartMove,v=t.style,m=t.render,p=t.dragging,C=t.onOffsetChange,R=t.onChangeComplete,I=t.onFocus,A=t.onMouseEnter,U=(0,u.Z)(t,qd),V=l.useContext(ja),L=V.min,X=V.max,Q=V.direction,B=V.disabled,de=V.keyboard,we=V.range,se=V.tabIndex,he=V.ariaLabelForHandle,Te=V.ariaLabelledByForHandle,Ve=V.ariaValueTextFormatterForHandle,Xe=V.styles,Me=V.classNames,Je="".concat(r,"-handle"),me=function(Jt){B||s(Jt,i)},Be=function(Jt){I==null||I(Jt,i)},vt=function(Jt){A(Jt,i)},He=function(Jt){if(!B&&de){var Bn=null;switch(Jt.which||Jt.keyCode){case Ie.Z.LEFT:Bn=Q==="ltr"||Q==="btt"?-1:1;break;case Ie.Z.RIGHT:Bn=Q==="ltr"||Q==="btt"?1:-1;break;case Ie.Z.UP:Bn=Q!=="ttb"?1:-1;break;case Ie.Z.DOWN:Bn=Q!=="ttb"?-1:1;break;case Ie.Z.HOME:Bn="min";break;case Ie.Z.END:Bn="max";break;case Ie.Z.PAGE_UP:Bn=2;break;case Ie.Z.PAGE_DOWN:Bn=-2;break}Bn!==null&&(Jt.preventDefault(),C(Bn,i))}},dt=function(Jt){switch(Jt.which||Jt.keyCode){case Ie.Z.LEFT:case Ie.Z.RIGHT:case Ie.Z.UP:case Ie.Z.DOWN:case Ie.Z.HOME:case Ie.Z.END:case Ie.Z.PAGE_UP:case Ie.Z.PAGE_DOWN:R==null||R();break}},et=ii(Q,a,L,X),wt={};if(i!==null){var Ot;wt={tabIndex:B?null:Ka(se,i),role:"slider","aria-valuemin":L,"aria-valuemax":X,"aria-valuenow":a,"aria-disabled":B,"aria-label":Ka(he,i),"aria-labelledby":Ka(Te,i),"aria-valuetext":(Ot=Ka(Ve,i))===null||Ot===void 0?void 0:Ot(a),"aria-orientation":Q==="ltr"||Q==="rtl"?"horizontal":"vertical",onMouseDown:me,onTouchStart:me,onFocus:Be,onMouseEnter:vt,onKeyDown:He,onKeyUp:dt}}var hn=l.createElement("div",(0,oe.Z)({ref:e,className:le()(Je,(0,fe.Z)((0,fe.Z)({},"".concat(Je,"-").concat(i+1),i!==null&&we),"".concat(Je,"-dragging"),p),Me.handle),style:(0,o.Z)((0,o.Z)((0,o.Z)({},et),v),Xe.handle)},wt,U));return m&&(hn=m(hn,{index:i,prefixCls:r,value:a,dragging:p})),hn}),hl=_d,ef=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","onFocus"],tf=l.forwardRef(function(t,e){var r=t.prefixCls,a=t.style,i=t.onStartMove,s=t.onOffsetChange,v=t.values,m=t.handleRender,p=t.activeHandleRender,C=t.draggingIndex,R=t.onFocus,I=(0,u.Z)(t,ef),A=l.useRef({});l.useImperativeHandle(e,function(){return{focus:function(se){var he;(he=A.current[se])===null||he===void 0||he.focus()}}});var U=l.useState(-1),V=(0,j.Z)(U,2),L=V[0],X=V[1],Q=function(se,he){X(he),R==null||R(se)},B=function(se,he){X(he)},de=(0,o.Z)({prefixCls:r,onStartMove:i,onOffsetChange:s,render:m,onFocus:Q,onMouseEnter:B},I);return l.createElement(l.Fragment,null,v.map(function(we,se){return l.createElement(hl,(0,oe.Z)({ref:function(Te){Te?A.current[se]=Te:delete A.current[se]},dragging:C===se,style:Ka(a,se),key:se,value:we,valueIndex:se},de))}),p&&l.createElement(hl,(0,oe.Z)({key:"a11y"},de,{value:v[L],valueIndex:null,dragging:C!==-1,render:p,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),nf=tf,rf=function(e){var r=e.prefixCls,a=e.style,i=e.children,s=e.value,v=e.onClick,m=l.useContext(ja),p=m.min,C=m.max,R=m.direction,I=m.includedStart,A=m.includedEnd,U=m.included,V="".concat(r,"-text"),L=ii(R,s,p,C);return l.createElement("span",{className:le()(V,(0,fe.Z)({},"".concat(V,"-active"),U&&I<=s&&s<=A)),style:(0,o.Z)((0,o.Z)({},L),a),onMouseDown:function(Q){Q.stopPropagation()},onClick:function(){v(s)}},i)},af=rf,of=function(e){var r=e.prefixCls,a=e.marks,i=e.onClick,s="".concat(r,"-mark");return a.length?l.createElement("div",{className:s},a.map(function(v){var m=v.value,p=v.style,C=v.label;return l.createElement(af,{key:m,prefixCls:s,style:p,value:m,onClick:i},C)})):null},lf=of,sf=function(e){var r=e.prefixCls,a=e.value,i=e.style,s=e.activeStyle,v=l.useContext(ja),m=v.min,p=v.max,C=v.direction,R=v.included,I=v.includedStart,A=v.includedEnd,U="".concat(r,"-dot"),V=R&&I<=a&&a<=A,L=(0,o.Z)((0,o.Z)({},ii(C,a,m,p)),typeof i=="function"?i(a):i);return V&&(L=(0,o.Z)((0,o.Z)({},L),typeof s=="function"?s(a):s)),l.createElement("span",{className:le()(U,(0,fe.Z)({},"".concat(U,"-active"),V)),style:L})},uf=sf,cf=function(e){var r=e.prefixCls,a=e.marks,i=e.dots,s=e.style,v=e.activeStyle,m=l.useContext(ja),p=m.min,C=m.max,R=m.step,I=l.useMemo(function(){var A=new Set;if(a.forEach(function(V){A.add(V.value)}),i&&R!==null)for(var U=p;U<=C;)A.add(U),U+=R;return Array.from(A)},[p,C,R,i,a]);return l.createElement("div",{className:"".concat(r,"-step")},I.map(function(A){return l.createElement(uf,{prefixCls:r,key:A,value:A,style:s,activeStyle:v})}))},df=cf,ff=function(e){var r=e.prefixCls,a=e.style,i=e.start,s=e.end,v=e.index,m=e.onStartMove,p=e.replaceCls,C=l.useContext(ja),R=C.direction,I=C.min,A=C.max,U=C.disabled,V=C.range,L=C.classNames,X="".concat(r,"-track"),Q=oi(i,I,A),B=oi(s,I,A),de=function(Te){!U&&m&&m(Te,-1)},we={};switch(R){case"rtl":we.right="".concat(Q*100,"%"),we.width="".concat(B*100-Q*100,"%");break;case"btt":we.bottom="".concat(Q*100,"%"),we.height="".concat(B*100-Q*100,"%");break;case"ttb":we.top="".concat(Q*100,"%"),we.height="".concat(B*100-Q*100,"%");break;default:we.left="".concat(Q*100,"%"),we.width="".concat(B*100-Q*100,"%")}var se=p||le()(X,(0,fe.Z)((0,fe.Z)({},"".concat(X,"-").concat(v+1),v!==null&&V),"".concat(r,"-track-draggable"),m),L.track);return l.createElement("div",{className:se,style:(0,o.Z)((0,o.Z)({},we),a),onMouseDown:de,onTouchStart:de})},gl=ff,vf=function(e){var r=e.prefixCls,a=e.style,i=e.values,s=e.startPoint,v=e.onStartMove,m=l.useContext(ja),p=m.included,C=m.range,R=m.min,I=m.styles,A=m.classNames,U=l.useMemo(function(){if(!C){if(i.length===0)return[];var L=s!=null?s:R,X=i[0];return[{start:Math.min(L,X),end:Math.max(L,X)}]}for(var Q=[],B=0;B3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof L=="number"){var B,de=V[X],we=de+L,se=[];a.forEach(function(Me){se.push(Me.value)}),se.push(t,e),se.push(m(de));var he=L>0?1:-1;Q==="unit"?se.push(m(de+he*r)):se.push(m(we)),se=se.filter(function(Me){return Me!==null}).filter(function(Me){return L<0?Me<=de:Me>=de}),Q==="unit"&&(se=se.filter(function(Me){return Me!==de}));var Te=Q==="unit"?de:we;B=se[0];var Ve=Math.abs(B-Te);if(se.forEach(function(Me){var Je=Math.abs(Me-Te);Je1){var Xe=(0,ye.Z)(V);return Xe[X]=B,U(Xe,L-he,X,Q)}return B}else{if(L==="min")return t;if(L==="max")return e}},R=function(V,L,X){var Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",B=V[X],de=C(V,L,X,Q);return{value:de,changed:de!==B}},I=function(V){return s===null&&V===0||typeof s=="number"&&V3&&arguments[3]!==void 0?arguments[3]:"unit",B=V.map(p),de=B[X],we=C(B,L,X,Q);if(B[X]=we,i===!1){var se=s||0;X>0&&B[X-1]!==de&&(B[X]=Math.max(B[X],B[X-1]+se)),X0;Xe-=1)for(var Me=!0;I(B[Xe]-B[Xe-1])&&Me;){var Je=R(B,-1,Xe-1);B[Xe-1]=Je.value,Me=Je.changed}for(var me=B.length-1;me>0;me-=1)for(var Be=!0;I(B[me]-B[me-1])&&Be;){var vt=R(B,-1,me-1);B[me-1]=vt.value,Be=vt.changed}for(var He=0;He=0?dt:!1},[dt,fr]),Hr=l.useMemo(function(){return Object.keys(yr||{}).map(function(Ir){var kn=yr[Ir],xr={value:Number(Ir)};return kn&&(0,c.Z)(kn)==="object"&&!l.isValidElement(kn)&&("label"in kn||"style"in kn)?(xr.style=kn.style,xr.label=kn.label):xr.label=kn,xr}).filter(function(Ir){var kn=Ir.label;return kn||typeof kn=="number"}).sort(function(Ir,kn){return Ir.value-kn.value})},[yr]),aa=pf(vr,Gr,fr,Hr,vt,pr),Wr=(0,j.Z)(aa,2),Qr=Wr[0],ua=Wr[1],ga=(0,Fe.Z)(he,{value:se}),zr=(0,j.Z)(ga,2),qr=zr[0],Aa=zr[1],oa=l.useMemo(function(){var Ir=qr==null?[]:Array.isArray(qr)?qr:[qr],kn=(0,j.Z)(Ir,1),xr=kn[0],Ur=xr===void 0?vr:xr,Kr=qr===null?[]:[Ur];if(Te){if(Kr=(0,ye.Z)(Ir),Ve||qr===void 0){var ba=Ve>=0?Ve+1:2;for(Kr=Kr.slice(0,ba);Kr.length=0&&dr.current.focus(Ir)}Xa(null)},[ma]);var fi=l.useMemo(function(){return et&&fr===null?!1:et},[et,fr]),Mo=function(kn,xr){Io(kn,xr),Me==null||Me(da(ca.current))},Cl=Ro!==-1;l.useEffect(function(){if(!Cl){var Ir=oa.lastIndexOf(ci);dr.current.focus(Ir)}},[Cl]);var ka=l.useMemo(function(){return(0,ye.Z)(co).sort(function(Ir,kn){return Ir-kn})},[co]),Ev=l.useMemo(function(){return Te?[ka[0],ka[ka.length-1]]:[vr,ka[0]]},[ka,Te,vr]),xl=(0,j.Z)(Ev,2),Sl=xl[0],Pl=xl[1];l.useImperativeHandle(e,function(){return{focus:function(){dr.current.focus(0)},blur:function(){var kn,xr=document,Ur=xr.activeElement;(kn=ar.current)!==null&&kn!==void 0&&kn.contains(Ur)&&(Ur==null||Ur.blur())}}}),l.useEffect(function(){A&&dr.current.focus(0)},[]);var Fv=l.useMemo(function(){return{min:vr,max:Gr,direction:Rr,disabled:C,keyboard:I,step:fr,included:zt,includedStart:Sl,includedEnd:Pl,range:Te,tabIndex:An,ariaLabelForHandle:Wn,ariaLabelledByForHandle:en,ariaValueTextFormatterForHandle:tn,styles:m||{},classNames:v||{}}},[vr,Gr,Rr,C,I,fr,zt,Sl,Pl,Te,An,Wn,en,tn,m,v]);return l.createElement(ja.Provider,{value:Fv},l.createElement("div",{ref:ar,className:le()(a,i,(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},"".concat(a,"-disabled"),C),"".concat(a,"-vertical"),Ot),"".concat(a,"-horizontal"),!Ot),"".concat(a,"-with-marks"),Hr.length)),style:s,onMouseDown:di},l.createElement("div",{className:le()("".concat(a,"-rail"),v==null?void 0:v.rail),style:(0,o.Z)((0,o.Z)({},ir),m==null?void 0:m.rail)}),l.createElement(hf,{prefixCls:a,style:Bn,values:ka,startPoint:Jt,onStartMove:fi?Mo:void 0}),l.createElement(df,{prefixCls:a,marks:Hr,dots:Fr,style:Xn,activeStyle:Kn}),l.createElement(nf,{ref:dr,prefixCls:a,style:_n,values:co,draggingIndex:Ro,onStartMove:Mo,onOffsetChange:vo,onFocus:U,onBlur:V,handleRender:Zr,activeHandleRender:tr,onChangeComplete:Ya}),l.createElement(lf,{prefixCls:a,marks:Hr,onClick:fo})))}),bf=yf,Cf=bf,lo=n(75164),pl=l.forwardRef((t,e)=>{const{open:r}=t,a=(0,l.useRef)(null),i=(0,l.useRef)(null);function s(){lo.Z.cancel(i.current),i.current=null}function v(){i.current=(0,lo.Z)(()=>{var m;(m=a.current)===null||m===void 0||m.forceAlign(),i.current=null})}return l.useEffect(()=>(r?v():s(),s),[r,t.title]),l.createElement(qi.Z,Object.assign({ref:(0,ai.sQ)(a,e)},t))});const xf=t=>{const{componentCls:e,antCls:r,controlSize:a,dotSize:i,marginFull:s,marginPart:v,colorFillContentHover:m,handleColorDisabled:p,calc:C}=t;return{[e]:Object.assign(Object.assign({},(0,Mr.Wf)(t)),{position:"relative",height:a,margin:`${(0,xt.bf)(v)} ${(0,xt.bf)(s)}`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${(0,xt.bf)(s)} ${(0,xt.bf)(v)}`},[`${e}-rail`]:{position:"absolute",backgroundColor:t.railBg,borderRadius:t.borderRadiusXS,transition:`background-color ${t.motionDurationMid}`},[`${e}-track,${e}-tracks`]:{position:"absolute",transition:`background-color ${t.motionDurationMid}`},[`${e}-track`]:{backgroundColor:t.trackBg,borderRadius:t.borderRadiusXS},[`${e}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${e}-rail`]:{backgroundColor:t.railHoverBg},[`${e}-track`]:{backgroundColor:t.trackHoverBg},[`${e}-dot`]:{borderColor:m},[`${e}-handle::after`]:{boxShadow:`0 0 0 ${(0,xt.bf)(t.handleLineWidth)} ${t.colorPrimaryBorderHover}`},[`${e}-dot-active`]:{borderColor:t.dotActiveBorderColor}},[`${e}-handle`]:{position:"absolute",width:t.handleSize,height:t.handleSize,outline:"none","&::before":{content:'""',position:"absolute",insetInlineStart:C(t.handleLineWidth).mul(-1).equal(),insetBlockStart:C(t.handleLineWidth).mul(-1).equal(),width:C(t.handleSize).add(C(t.handleLineWidth).mul(2)).equal(),height:C(t.handleSize).add(C(t.handleLineWidth).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:t.handleSize,height:t.handleSize,backgroundColor:t.colorBgElevated,boxShadow:`0 0 0 ${(0,xt.bf)(t.handleLineWidth)} ${t.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${t.motionDurationMid}, + inset-block-start ${t.motionDurationMid}, + width ${t.motionDurationMid}, + height ${t.motionDurationMid}, + box-shadow ${t.motionDurationMid} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:C(t.handleSizeHover).sub(t.handleSize).div(2).add(t.handleLineWidthHover).mul(-1).equal(),insetBlockStart:C(t.handleSizeHover).sub(t.handleSize).div(2).add(t.handleLineWidthHover).mul(-1).equal(),width:C(t.handleSizeHover).add(C(t.handleLineWidthHover).mul(2)).equal(),height:C(t.handleSizeHover).add(C(t.handleLineWidthHover).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,xt.bf)(t.handleLineWidthHover)} ${t.handleActiveColor}`,width:t.handleSizeHover,height:t.handleSizeHover,insetInlineStart:t.calc(t.handleSize).sub(t.handleSizeHover).div(2).equal(),insetBlockStart:t.calc(t.handleSize).sub(t.handleSizeHover).div(2).equal()}}},[`&-lock ${e}-handle`]:{["&::before, &::after"]:{transition:"none"}},[`${e}-mark`]:{position:"absolute",fontSize:t.fontSize},[`${e}-mark-text`]:{position:"absolute",display:"inline-block",color:t.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:t.colorText}},[`${e}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${e}-dot`]:{position:"absolute",width:i,height:i,backgroundColor:t.colorBgElevated,border:`${(0,xt.bf)(t.handleLineWidth)} solid ${t.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${t.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:t.dotActiveBorderColor}},[`&${e}-disabled`]:{cursor:"not-allowed",[`${e}-rail`]:{backgroundColor:`${t.railBg} !important`},[`${e}-track`]:{backgroundColor:`${t.trackBgDisabled} !important`},[` + ${e}-dot + `]:{backgroundColor:t.colorBgElevated,borderColor:t.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${e}-handle::after`]:{backgroundColor:t.colorBgElevated,cursor:"not-allowed",width:t.handleSize,height:t.handleSize,boxShadow:`0 0 0 ${(0,xt.bf)(t.handleLineWidth)} ${p}`,insetInlineStart:0,insetBlockStart:0},[` + ${e}-mark-text, + ${e}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${r}-tooltip-inner`]:{minWidth:"unset"}})}},yl=(t,e)=>{const{componentCls:r,railSize:a,handleSize:i,dotSize:s,marginFull:v,calc:m}=t,p=e?"paddingBlock":"paddingInline",C=e?"width":"height",R=e?"height":"width",I=e?"insetBlockStart":"insetInlineStart",A=e?"top":"insetInlineStart",U=m(a).mul(3).sub(i).div(2).equal(),V=m(i).sub(a).div(2).equal(),L=e?{borderWidth:`${(0,xt.bf)(V)} 0`,transform:`translateY(${(0,xt.bf)(m(V).mul(-1).equal())})`}:{borderWidth:`0 ${(0,xt.bf)(V)}`,transform:`translateX(${(0,xt.bf)(t.calc(V).mul(-1).equal())})`};return{[p]:a,[R]:m(a).mul(3).equal(),[`${r}-rail`]:{[C]:"100%",[R]:a},[`${r}-track,${r}-tracks`]:{[R]:a},[`${r}-track-draggable`]:Object.assign({},L),[`${r}-handle`]:{[I]:U},[`${r}-mark`]:{insetInlineStart:0,top:0,[A]:m(a).mul(3).add(e?0:v).equal(),[C]:"100%"},[`${r}-step`]:{insetInlineStart:0,top:0,[A]:a,[C]:"100%",[R]:a},[`${r}-dot`]:{position:"absolute",[I]:m(a).sub(s).div(2).equal()}}},Sf=t=>{const{componentCls:e,marginPartWithMark:r}=t;return{[`${e}-horizontal`]:Object.assign(Object.assign({},yl(t,!0)),{[`&${e}-with-marks`]:{marginBottom:r}})}},Pf=t=>{const{componentCls:e}=t;return{[`${e}-vertical`]:Object.assign(Object.assign({},yl(t,!1)),{height:"100%"})}},Zf=t=>{const r=t.controlHeightLG/4,a=t.controlHeightSM/2,i=t.lineWidth+1,s=t.lineWidth+1*3;return{controlSize:r,railSize:4,handleSize:r,handleSizeHover:a,dotSize:8,handleLineWidth:i,handleLineWidthHover:s,railBg:t.colorFillTertiary,railHoverBg:t.colorFillSecondary,trackBg:t.colorPrimaryBorder,trackHoverBg:t.colorPrimaryBorderHover,handleColor:t.colorPrimaryBorder,handleActiveColor:t.colorPrimary,handleColorDisabled:new S.C(t.colorTextDisabled).onBackground(t.colorBgContainer).toHexShortString(),dotBorderColor:t.colorBorderSecondary,dotActiveBorderColor:t.colorPrimaryBorder,trackBgDisabled:t.colorBgContainerDisabled}};var wf=(0,an.I$)("Slider",t=>{const e=(0,Ho.TS)(t,{marginPart:t.calc(t.controlHeight).sub(t.controlSize).div(2).equal(),marginFull:t.calc(t.controlSize).div(2).equal(),marginPartWithMark:t.calc(t.controlHeightLG).sub(t.controlSize).equal()});return[xf(e),Sf(e),Pf(e)]},Zf);function li(){const[t,e]=l.useState(!1),r=l.useRef(),a=()=>{lo.Z.cancel(r.current)},i=s=>{a(),s?e(s):r.current=(0,lo.Z)(()=>{e(s)})};return l.useEffect(()=>a,[]),[t,i]}var Of=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);itypeof r=="number"?r.toString():""}var Ff=l.forwardRef((t,e)=>{const{prefixCls:r,range:a,className:i,rootClassName:s,style:v,disabled:m,tooltipPrefixCls:p,tipFormatter:C,tooltipVisible:R,getTooltipPopupContainer:I,tooltipPlacement:A,tooltip:U={},onChangeComplete:V}=t,L=Of(t,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:X}=t,{direction:Q,slider:B,getPrefixCls:de,getPopupContainer:we}=l.useContext(Mt.E_),se=l.useContext(Wt.Z),he=m!=null?m:se,[Te,Ve]=li(),[Xe,Me]=li(),Je=Object.assign({},U),{open:me,placement:Be,getPopupContainer:vt,prefixCls:He,formatter:dt}=Je,et=me!=null?me:R,wt=(Te||Xe)&&et!==!1,Ot=Ef(dt,C),[hn,zt]=li(),Jt=en=>{V==null||V(en),zt(!1)},Bn=(en,tn)=>en||(tn?Q==="rtl"?"left":"right":"top"),_n=de("slider",r),[ir,Xn,Kn]=wf(_n),yr=le()(i,B==null?void 0:B.className,s,{[`${_n}-rtl`]:Q==="rtl",[`${_n}-lock`]:hn},Xn,Kn);Q==="rtl"&&!L.vertical&&(L.reverse=!L.reverse);const[Fr,Zr]=l.useMemo(()=>a?typeof a=="object"?[!0,a.draggableTrack]:[!0,!1]:[!1],[a]);l.useEffect(()=>{const en=()=>{(0,lo.Z)(()=>{Me(!1)},1)};return document.addEventListener("mouseup",en),()=>{document.removeEventListener("mouseup",en)}},[]);const tr=Fr&&!et,rr=(en,tn)=>{const{index:dr}=tn,ar=en.props,Rr=Object.assign(Object.assign({},ar),{onMouseEnter:fr=>{var pr;Ve(!0),(pr=ar.onMouseEnter)===null||pr===void 0||pr.call(ar,fr)},onMouseLeave:fr=>{var pr;Ve(!1),(pr=ar.onMouseLeave)===null||pr===void 0||pr.call(ar,fr)},onMouseDown:fr=>{var pr;Me(!0),zt(!0),(pr=ar.onMouseDown)===null||pr===void 0||pr.call(ar,fr)},onFocus:fr=>{var pr,Hr;Me(!0),(pr=L.onFocus)===null||pr===void 0||pr.call(L,fr),(Hr=ar.onFocus)===null||Hr===void 0||Hr.call(ar,fr)},onBlur:fr=>{var pr,Hr;Me(!1),(pr=L.onBlur)===null||pr===void 0||pr.call(L,fr),(Hr=ar.onBlur)===null||Hr===void 0||Hr.call(ar,fr)}}),vr=l.cloneElement(en,Rr),Gr=(!!et||wt)&&Ot!==null;return tr?vr:l.createElement(pl,Object.assign({},Je,{prefixCls:de("tooltip",He!=null?He:p),title:Ot?Ot(tn.value):"",open:Gr,placement:Bn(Be!=null?Be:A,X),key:dr,overlayClassName:`${_n}-tooltip`,getPopupContainer:vt||I||we}),vr)},An=tr?(en,tn)=>{const dr=l.cloneElement(en,{style:Object.assign(Object.assign({},en.props.style),{visibility:"hidden"})});return l.createElement(pl,Object.assign({},Je,{prefixCls:de("tooltip",He!=null?He:p),title:Ot?Ot(tn.value):"",open:Ot!==null&&wt,placement:Bn(Be!=null?Be:A,X),key:"tooltip",overlayClassName:`${_n}-tooltip`,getPopupContainer:vt||I||we}),dr)}:void 0,Wn=Object.assign(Object.assign({},B==null?void 0:B.style),v);return ir(l.createElement(Cf,Object.assign({},L,{step:L.step,range:Fr,draggableTrack:Zr,className:yr,style:Wn,disabled:he,ref:e,prefixCls:_n,handleRender:rr,activeHandleRender:An,onChangeComplete:Jt})))}),Rf=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps;if(i==="read"){var p=a;return s?s(a,(0,o.Z)({mode:i},m),(0,z.jsx)(z.Fragment,{children:p})):(0,z.jsx)(z.Fragment,{children:p})}if(i==="edit"||i==="update"){var C=(0,z.jsx)(Ff,(0,o.Z)((0,o.Z)({ref:r},m),{},{style:(0,o.Z)({minWidth:120},m==null?void 0:m.style)}));return v?v(a,(0,o.Z)({mode:i},m),C):C}return null},If=l.forwardRef(Rf),Mf=n(72269),Tf=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.light,m=e.label,p=e.renderFormItem,C=e.fieldProps,R=(0,h.YB)(),I=(0,l.useMemo)(function(){var X,Q;return a==null||"".concat(a).length<1?"-":a?(X=C==null?void 0:C.checkedChildren)!==null&&X!==void 0?X:R.getMessage("switch.open","\u6253\u5F00"):(Q=C==null?void 0:C.unCheckedChildren)!==null&&Q!==void 0?Q:R.getMessage("switch.close","\u5173\u95ED")},[C==null?void 0:C.checkedChildren,C==null?void 0:C.unCheckedChildren,a]);if(i==="read")return s?s(a,(0,o.Z)({mode:i},C),(0,z.jsx)(z.Fragment,{children:I})):I!=null?I:"-";if(i==="edit"||i==="update"){var A,U=(0,z.jsx)(Mf.Z,(0,o.Z)((0,o.Z)({ref:r,size:v?"small":void 0},(0,Eo.Z)(C,["value"])),{},{checked:(A=C==null?void 0:C.checked)!==null&&A!==void 0?A:C==null?void 0:C.value}));if(v){var V=C.disabled,L=C.bordered;return(0,z.jsx)(rt.Q,{label:m,disabled:V,bordered:L,downIcon:!1,value:(0,z.jsx)("div",{style:{paddingLeft:8},children:U}),allowClear:!1})}return p?p(a,(0,o.Z)({mode:i},C),U):U}return null},jf=l.forwardRef(Tf),Af=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps,p=e.emptyText,C=p===void 0?"-":p,R=m||{},I=R.autoFocus,A=R.prefix,U=A===void 0?"":A,V=R.suffix,L=V===void 0?"":V,X=(0,h.YB)(),Q=(0,l.useRef)();if((0,l.useImperativeHandle)(r,function(){return Q.current},[]),(0,l.useEffect)(function(){if(I){var he;(he=Q.current)===null||he===void 0||he.focus()}},[I]),i==="read"){var B=(0,z.jsxs)(z.Fragment,{children:[U,a!=null?a:C,L]});if(s){var de;return(de=s(a,(0,o.Z)({mode:i},m),B))!==null&&de!==void 0?de:C}return B}if(i==="edit"||i==="update"){var we=X.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),se=(0,z.jsx)(ur.Z,(0,o.Z)({ref:Q,placeholder:we,allowClear:!0},m));return v?v(a,(0,o.Z)({mode:i},m),se):se}return null},$f=l.forwardRef(Af),Df=function(e,r){var a=e.text,i=e.fieldProps,s=(0,l.useContext)(Qe.ZP.ConfigContext),v=s.getPrefixCls,m=v("pro-field-readonly"),p="".concat(m,"-textarea"),C=(0,Vn.Xj)("TextArea",function(){return(0,fe.Z)({},".".concat(p),{display:"inline-block",lineHeight:"1.5715",maxWidth:"100%",whiteSpace:"pre-wrap"})}),R=C.wrapSSR,I=C.hashId;return R((0,z.jsx)("span",(0,o.Z)((0,o.Z)({ref:r,className:le()(I,m,p)},i),{},{children:a!=null?a:"-"})))},Nf=l.forwardRef(Df),Lf=function(e,r){var a=e.text,i=e.mode,s=e.render,v=e.renderFormItem,m=e.fieldProps,p=(0,h.YB)();if(i==="read"){var C=(0,z.jsx)(Nf,(0,o.Z)((0,o.Z)({},e),{},{ref:r}));return s?s(a,(0,o.Z)({mode:i},m),C):C}if(i==="edit"||i==="update"){var R=(0,z.jsx)(ur.Z.TextArea,(0,o.Z)({ref:r,rows:3,onKeyPress:function(A){A.key==="Enter"&&A.stopPropagation()},placeholder:p.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},m));return v?v(a,(0,o.Z)({mode:i},m),R):R}return null},Vf=l.forwardRef(Lf),Hf=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(t);il.createElement(Wf,Object.assign({},t,{picker:"time",mode:void 0,ref:e}))),so=l.forwardRef((t,e)=>{var{addon:r,renderExtraFooter:a}=t,i=Hf(t,["addon","renderExtraFooter"]);const s=l.useMemo(()=>{if(a)return a;if(r)return r},[r,a]);return l.createElement(Bf,Object.assign({},i,{mode:void 0,ref:e,renderExtraFooter:s}))}),bl=(0,rn.Z)(so,"picker");so._InternalPanelDoNotUseOrYouWillBeFired=bl,so.RangePicker=zf,so._InternalPanelDoNotUseOrYouWillBeFired=bl;var si=so,Uf=function(e,r){var a=e.text,i=e.mode,s=e.light,v=e.label,m=e.format,p=e.render,C=e.renderFormItem,R=e.plain,I=e.fieldProps,A=e.lightLabel,U=(0,l.useState)(!1),V=(0,j.Z)(U,2),L=V[0],X=V[1],Q=(0,h.YB)(),B=(I==null?void 0:I.format)||m||"HH:mm:ss",de=Pr().isDayjs(a)||typeof a=="number";if(i==="read"){var we=(0,z.jsx)("span",{ref:r,children:a?Pr()(a,de?void 0:B).format(B):"-"});return p?p(a,(0,o.Z)({mode:i},I),(0,z.jsx)("span",{children:we})):we}if(i==="edit"||i==="update"){var se,he=I.disabled,Te=I.value,Ve=io(Te,B);if(s){var Xe;se=(0,z.jsx)(rt.Q,{onClick:function(){var Je;I==null||(Je=I.onOpenChange)===null||Je===void 0||Je.call(I,!0),X(!0)},style:Ve?{paddingInlineEnd:0}:void 0,label:v,disabled:he,value:Ve||L?(0,z.jsx)(si,(0,o.Z)((0,o.Z)((0,o.Z)({},(0,ce.J)(!1)),{},{format:m,ref:r},I),{},{placeholder:(Xe=I.placeholder)!==null&&Xe!==void 0?Xe:Q.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),value:Ve,onOpenChange:function(Je){var me;X(Je),I==null||(me=I.onOpenChange)===null||me===void 0||me.call(I,Je)},open:L})):null,downIcon:Ve||L?!1:void 0,allowClear:!1,ref:A})}else se=(0,z.jsx)(Ta.Z.TimePicker,(0,o.Z)((0,o.Z)((0,o.Z)({ref:r,format:m},(0,ce.J)(R===void 0?!0:!R)),I),{},{value:Ve}));return C?C(a,(0,o.Z)({mode:i},I),se):se}return null},Kf=function(e,r){var a=e.text,i=e.light,s=e.label,v=e.mode,m=e.lightLabel,p=e.format,C=e.render,R=e.renderFormItem,I=e.plain,A=e.fieldProps,U=(0,h.YB)(),V=(0,l.useState)(!1),L=(0,j.Z)(V,2),X=L[0],Q=L[1],B=(A==null?void 0:A.format)||p||"HH:mm:ss",de=Array.isArray(a)?a:[],we=(0,j.Z)(de,2),se=we[0],he=we[1],Te=Pr().isDayjs(se)||typeof se=="number",Ve=Pr().isDayjs(he)||typeof he=="number",Xe=se?Pr()(se,Te?void 0:B).format(B):"",Me=he?Pr()(he,Ve?void 0:B).format(B):"";if(v==="read"){var Je=(0,z.jsxs)("div",{ref:r,children:[(0,z.jsx)("div",{children:Xe||"-"}),(0,z.jsx)("div",{children:Me||"-"})]});return C?C(a,(0,o.Z)({mode:v},A),(0,z.jsx)("span",{children:Je})):Je}if(v==="edit"||v==="update"){var me=io(A.value,B),Be;if(i){var vt=A.disabled,He=A.placeholder,dt=He===void 0?[U.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),U.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")]:He;Be=(0,z.jsx)(rt.Q,{onClick:function(){var wt;A==null||(wt=A.onOpenChange)===null||wt===void 0||wt.call(A,!0),Q(!0)},style:me?{paddingInlineEnd:0}:void 0,label:s,disabled:vt,placeholder:dt,value:me||X?(0,z.jsx)(si.RangePicker,(0,o.Z)((0,o.Z)((0,o.Z)({},(0,ce.J)(!1)),{},{format:p,ref:r},A),{},{placeholder:dt,value:me,onOpenChange:function(wt){var Ot;Q(wt),A==null||(Ot=A.onOpenChange)===null||Ot===void 0||Ot.call(A,wt)},open:X})):null,downIcon:me||X?!1:void 0,allowClear:!1,ref:m})}else Be=(0,z.jsx)(si.RangePicker,(0,o.Z)((0,o.Z)((0,o.Z)({ref:r,format:p},(0,ce.J)(I===void 0?!0:!I)),A),{},{value:me}));return R?R(a,(0,o.Z)({mode:v},A),Be):Be}return null},Yf=l.forwardRef(Kf),Gf=l.forwardRef(Uf),Xf=n(59847),kf=["radioType","renderFormItem","mode","light","label","render"],Jf=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","fetchDataOnSearch","searchValue"],Qf=function(e,r){var a=e.radioType,i=e.renderFormItem,s=e.mode,v=e.light,m=e.label,p=e.render,C=(0,u.Z)(e,kf),R=(0,l.useContext)(Qe.ZP.ConfigContext),I=R.getPrefixCls,A=I("pro-field-tree-select"),U=(0,l.useRef)(null),V=(0,l.useState)(!1),L=(0,j.Z)(V,2),X=L[0],Q=L[1],B=C.fieldProps,de=B.onSearch,we=B.onClear,se=B.onChange,he=B.onBlur,Te=B.showSearch,Ve=B.autoClearSearchValue,Xe=B.treeData,Me=B.fetchDataOnSearch,Je=B.searchValue,me=(0,u.Z)(B,Jf),Be=(0,h.YB)(),vt=(0,Yn.aK)((0,o.Z)((0,o.Z)({},C),{},{defaultKeyWords:Je})),He=(0,j.Z)(vt,3),dt=He[0],et=He[1],wt=He[2],Ot=(0,Fe.Z)(void 0,{onChange:de,value:Je}),hn=(0,j.Z)(Ot,2),zt=hn[0],Jt=hn[1];(0,l.useImperativeHandle)(r,function(){return(0,o.Z)((0,o.Z)({},U.current||{}),{},{fetchData:function(tn){return wt(tn)}})});var Bn=(0,l.useMemo)(function(){if(s==="read"){var en=(me==null?void 0:me.fieldNames)||{},tn=en.value,dr=tn===void 0?"value":tn,ar=en.label,Rr=ar===void 0?"label":ar,vr=en.children,Gr=vr===void 0?"children":vr,fr=new Map,pr=function Hr(aa){if(!(aa!=null&&aa.length))return fr;for(var Wr=aa.length,Qr=0;Qr0&&mn!=="read"?(0,jt.jsx)("div",{className:"".concat(Ne,"-action ").concat(St).trim(),children:Sn}):null,Dn={name:Ut.name,field:Ie,index:N,record:_==null||(J=_.getFieldValue)===null||J===void 0?void 0:J.call(_,[Pt.listName,ve,Ie.name].filter(function(Zt){return Zt!==void 0}).flat(1)),fields:Ft,operation:We,meta:At},Pn=(0,Qe.zx)(),Nt=Pn.grid,$t=(Ae==null?void 0:Ae(pn,Dn))||pn,Xt=(Ye==null?void 0:Ye({listDom:(0,jt.jsx)("div",{className:"".concat(Ne,"-container ").concat(ue||""," ").concat(St||"").trim(),style:(0,u.Z)({width:Nt?"100%":void 0},ge),children:$t}),action:Un},Dn))||(0,jt.jsxs)("div",{className:"".concat(Ne,"-item ").concat(St,` + `).concat(Le===void 0&&"".concat(Ne,"-item-default"),` + `).concat(Le?"".concat(Ne,"-item-show-label"):""),style:{display:"flex",alignItems:"flex-end"},children:[(0,jt.jsx)("div",{className:"".concat(Ne,"-container ").concat(ue||""," ").concat(St).trim(),style:(0,u.Z)({width:Nt?"100%":void 0},ge),children:$t}),Un]});return(0,jt.jsx)(ln.Provider,{value:(0,u.Z)((0,u.Z)({},Ie),{},{listName:[Pt.listName,ve,Ie.name].filter(function(Zt){return Zt!==void 0}).flat(1)}),children:Xt})},Ze=function(ae){var J=(0,M.YB)(),Pe=ae.creatorButtonProps,Ke=ae.prefixCls,Ue=ae.children,Ae=ae.creatorRecord,Ye=ae.action,Le=ae.fields,Ne=ae.actionGuard,Re=ae.max,We=ae.fieldExtraRender,mt=ae.meta,ut=ae.containerClassName,Tt=ae.containerStyle,Ft=ae.onAfterAdd,At=ae.onAfterRemove,Ie=(0,f.useContext)(M.L_),N=Ie.hashId,_=(0,f.useRef)(new Map),ve=(0,f.useState)(!1),ue=(0,le.Z)(ve,2),ge=ue[0],ft=ue[1],ot=(0,f.useMemo)(function(){return Le.map(function(lt){var fn,mn;if(!((fn=_.current)!==null&&fn!==void 0&&fn.has(lt.key.toString()))){var It;(It=_.current)===null||It===void 0||It.set(lt.key.toString(),(0,qe.x)())}var Lt=(mn=_.current)===null||mn===void 0?void 0:mn.get(lt.key.toString());return(0,u.Z)((0,u.Z)({},lt),{},{uuid:Lt})})},[Le]),ke=(0,f.useMemo)(function(){var lt=(0,u.Z)({},Ye),fn=ot.length;return Ne!=null&&Ne.beforeAddRow?lt.add=(0,re.Z)((0,ye.Z)().mark(function mn(){var It,Lt,qt,rn,sn,Mt=arguments;return(0,ye.Z)().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:for(It=Mt.length,Lt=new Array(It),qt=0;qt0&&arguments[0]!==void 0?arguments[0]:{},ie=Ce.children,ce=Ce.Wrapper,rt=(0,c.Z)(Ce,E);return M?(0,O.jsx)(h.Z,(0,u.Z)((0,u.Z)((0,u.Z)({gutter:8},G),rt),{},{children:ie})):ce?(0,O.jsx)(ce,{children:ie}):ie},ColWrapper:function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=Ce.children,ce=Ce.Wrapper,rt=(0,c.Z)(Ce,T),Qe=(0,x.useMemo)(function(){var ye=(0,u.Z)((0,u.Z)({},ne),rt);return typeof ye.span=="undefined"&&typeof ye.xs=="undefined"&&(ye.xs=24),ye},[rt]);return M?(0,O.jsx)(f.Z,(0,u.Z)((0,u.Z)({},Qe),{},{children:ie})):ce?(0,O.jsx)(ce,{children:ie}):ie}}},l=function(oe){var M=(0,x.useMemo)(function(){return(0,o.Z)(oe)==="object"?oe:{grid:oe}},[oe]),G=(0,x.useContext)(D),ne=G.grid,xe=G.colProps;return(0,x.useMemo)(function(){return Y({grid:!!(ne||M.grid),rowProps:M==null?void 0:M.rowProps,colProps:(M==null?void 0:M.colProps)||xe,Wrapper:M==null?void 0:M.Wrapper})},[M==null?void 0:M.Wrapper,M.grid,ne,JSON.stringify([xe,M==null?void 0:M.colProps,M==null?void 0:M.rowProps])])}},34994:function(b,w,n){"use strict";n.d(w,{A:function(){return Ee}});var o=n(1413),u=n(8232),c=n(67294),h=n(78733),f=n(9105),x=n(4942),O=n(97685),E=n(87462),T=n(50756),D=n(46976),Y=function(qe,it){return c.createElement(D.Z,(0,E.Z)({},qe,{ref:it,icon:T.Z}))},l=c.forwardRef(Y),j=l,oe=n(21770),M=n(86333),G=n(28459),ne=n(78957),xe=n(93967),Ce=n.n(xe),ie=n(66758),ce=n(2514),rt=n(98082),Qe=function(qe){return(0,x.Z)({},qe.componentCls,{"&-title":{marginBlockEnd:qe.marginXL,fontWeight:"bold"},"&-container":(0,x.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(qe.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({display:"block",width:"100%"},"".concat(qe.componentCls,"-title"),{width:"100%",margin:"8px 0"}),"".concat(qe.componentCls,"-container"),{paddingInlineStart:16}),"".concat(qe.antCls,"-space-item,").concat(qe.antCls,"-form-item"),{width:"100%"}),"".concat(qe.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}})})};function ye(Fe){return(0,rt.Xj)("ProFormGroup",function(qe){var it=(0,o.Z)((0,o.Z)({},qe),{},{componentCls:".".concat(Fe)});return[Qe(it)]})}var re=n(85893),le=c.forwardRef(function(Fe,qe){var it=c.useContext(ie.Z),fe=it.groupProps,nt=(0,o.Z)((0,o.Z)({},fe),Fe),Gt=nt.children,gn=nt.collapsible,Cn=nt.defaultCollapsed,Rt=nt.style,Zn=nt.labelLayout,jt=nt.title,K=jt===void 0?Fe.label:jt,De=nt.tooltip,ht=nt.align,Ze=ht===void 0?"start":ht,at=nt.direction,_t=nt.size,nn=_t===void 0?32:_t,Bt=nt.titleStyle,on=nt.titleRender,ln=nt.spaceProps,gt=nt.extra,H=nt.autoFocus,ae=(0,oe.Z)(function(){return Cn||!1},{value:Fe.collapsed,onChange:Fe.onCollapse}),J=(0,O.Z)(ae,2),Pe=J[0],Ke=J[1],Ue=(0,c.useContext)(G.ZP.ConfigContext),Ae=Ue.getPrefixCls,Ye=(0,ce.zx)(Fe),Le=Ye.ColWrapper,Ne=Ye.RowWrapper,Re=Ae("pro-form-group"),We=ye(Re),mt=We.wrapSSR,ut=We.hashId,Tt=gn&&(0,re.jsx)(j,{style:{marginInlineEnd:8},rotate:Pe?void 0:90}),Ft=(0,re.jsx)(M.G,{label:Tt?(0,re.jsxs)("div",{children:[Tt,K]}):K,tooltip:De}),At=(0,c.useCallback)(function(ge){var ft=ge.children;return(0,re.jsx)(ne.Z,(0,o.Z)((0,o.Z)({},ln),{},{className:Ce()("".concat(Re,"-container ").concat(ut),ln==null?void 0:ln.className),size:nn,align:Ze,direction:at,style:(0,o.Z)({rowGap:0},ln==null?void 0:ln.style),children:ft}))},[Ze,Re,at,ut,nn,ln]),Ie=on?on(Ft,Fe):Ft,N=(0,c.useMemo)(function(){var ge=[],ft=c.Children.toArray(Gt).map(function(ot,ke){var Ut;return c.isValidElement(ot)&&ot!==null&&ot!==void 0&&(Ut=ot.props)!==null&&Ut!==void 0&&Ut.hidden?(ge.push(ot),null):ke===0&&c.isValidElement(ot)&&H?c.cloneElement(ot,(0,o.Z)((0,o.Z)({},ot.props),{},{autoFocus:H})):ot});return[(0,re.jsx)(Ne,{Wrapper:At,children:ft},"children"),ge.length>0?(0,re.jsx)("div",{style:{display:"none"},children:ge}):null]},[Gt,Ne,At,H]),_=(0,O.Z)(N,2),ve=_[0],ue=_[1];return mt((0,re.jsx)(Le,{children:(0,re.jsxs)("div",{className:Ce()(Re,ut,(0,x.Z)({},"".concat(Re,"-twoLine"),Zn==="twoLine")),style:Rt,ref:qe,children:[ue,(K||De||gt)&&(0,re.jsx)("div",{className:"".concat(Re,"-title ").concat(ut).trim(),style:Bt,onClick:function(){Ke(!Pe)},children:gt?(0,re.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[Ie,(0,re.jsx)("span",{onClick:function(ft){return ft.stopPropagation()},children:gt})]}):Ie}),(0,re.jsx)("div",{style:{display:gn&&Pe?"none":void 0},children:ve})]})}))});le.displayName="ProForm-Group";var pe=le,te=n(62370);function Ee(Fe){return(0,re.jsx)(h.I,(0,o.Z)({layout:"vertical",contentRender:function(it,fe){return(0,re.jsxs)(re.Fragment,{children:[it,fe]})}},Fe))}Ee.Group=pe,Ee.useForm=u.Z.useForm,Ee.Item=te.Z,Ee.useWatch=u.Z.useWatch,Ee.ErrorList=u.Z.ErrorList,Ee.Provider=u.Z.Provider,Ee.useFormInstance=u.Z.useFormInstance,Ee.EditOrReadOnlyContext=f.A},46976:function(b,w,n){"use strict";n.d(w,{Z:function(){return Ie}});var o=n(87462),u=n(97685),c=n(4942),h=n(45987),f=n(67294),x=n(93967),O=n.n(x),E=n(86500),T=n(1350),D=2,Y=.16,l=.05,j=.05,oe=.15,M=5,G=4,ne=[{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 xe(N){var _=N.r,ve=N.g,ue=N.b,ge=(0,E.py)(_,ve,ue);return{h:ge.h*360,s:ge.s,v:ge.v}}function Ce(N){var _=N.r,ve=N.g,ue=N.b;return"#".concat((0,E.vq)(_,ve,ue,!1))}function ie(N,_,ve){var ue=ve/100,ge={r:(_.r-N.r)*ue+N.r,g:(_.g-N.g)*ue+N.g,b:(_.b-N.b)*ue+N.b};return ge}function ce(N,_,ve){var ue;return Math.round(N.h)>=60&&Math.round(N.h)<=240?ue=ve?Math.round(N.h)-D*_:Math.round(N.h)+D*_:ue=ve?Math.round(N.h)+D*_:Math.round(N.h)-D*_,ue<0?ue+=360:ue>=360&&(ue-=360),ue}function rt(N,_,ve){if(N.h===0&&N.s===0)return N.s;var ue;return ve?ue=N.s-Y*_:_===G?ue=N.s+Y:ue=N.s+l*_,ue>1&&(ue=1),ve&&_===M&&ue>.1&&(ue=.1),ue<.06&&(ue=.06),Number(ue.toFixed(2))}function Qe(N,_,ve){var ue;return ve?ue=N.v+j*_:ue=N.v-oe*_,ue>1&&(ue=1),Number(ue.toFixed(2))}function ye(N){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=[],ue=(0,T.uA)(N),ge=M;ge>0;ge-=1){var ft=xe(ue),ot=Ce((0,T.uA)({h:ce(ft,ge,!0),s:rt(ft,ge,!0),v:Qe(ft,ge,!0)}));ve.push(ot)}ve.push(Ce(ue));for(var ke=1;ke<=G;ke+=1){var Ut=xe(ue),bt=Ce((0,T.uA)({h:ce(Ut,ke),s:rt(Ut,ke),v:Qe(Ut,ke)}));ve.push(bt)}return _.theme==="dark"?ne.map(function(St){var Pt=St.index,lt=St.opacity,fn=Ce(ie((0,T.uA)(_.backgroundColor||"#141414"),(0,T.uA)(ve[Pt]),lt*100));return fn}):ve}var re={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},le={},pe={};Object.keys(re).forEach(function(N){le[N]=ye(re[N]),le[N].primary=le[N][5],pe[N]=ye(re[N],{theme:"dark",backgroundColor:"#141414"}),pe[N].primary=pe[N][5]});var te=le.red,Ee=le.volcano,Fe=le.gold,qe=le.orange,it=le.yellow,fe=le.lime,nt=le.green,Gt=le.cyan,gn=le.blue,Cn=le.geekblue,Rt=le.purple,Zn=le.magenta,jt=le.grey,K=le.grey,De=(0,f.createContext)({}),ht=De,Ze=n(1413),at=n(71002),_t=n(44958),nn=n(27571),Bt=n(80334);function on(N){return N.replace(/-(.)/g,function(_,ve){return ve.toUpperCase()})}function ln(N,_){(0,Bt.ZP)(N,"[@ant-design/icons] ".concat(_))}function gt(N){return(0,at.Z)(N)==="object"&&typeof N.name=="string"&&typeof N.theme=="string"&&((0,at.Z)(N.icon)==="object"||typeof N.icon=="function")}function H(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(N).reduce(function(_,ve){var ue=N[ve];switch(ve){case"class":_.className=ue,delete _.class;break;default:delete _[ve],_[on(ve)]=ue}return _},{})}function ae(N,_,ve){return ve?f.createElement(N.tag,(0,Ze.Z)((0,Ze.Z)({key:_},H(N.attrs)),ve),(N.children||[]).map(function(ue,ge){return ae(ue,"".concat(_,"-").concat(N.tag,"-").concat(ge))})):f.createElement(N.tag,(0,Ze.Z)({key:_},H(N.attrs)),(N.children||[]).map(function(ue,ge){return ae(ue,"".concat(_,"-").concat(N.tag,"-").concat(ge))}))}function J(N){return ye(N)[0]}function Pe(N){return N?Array.isArray(N)?N:[N]:[]}var Ke={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Ue=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,Ae=function(_){var ve=(0,f.useContext)(ht),ue=ve.csp,ge=ve.prefixCls,ft=Ue;ge&&(ft=ft.replace(/anticon/g,ge)),(0,f.useEffect)(function(){var ot=_.current,ke=(0,nn.A)(ot);(0,_t.hq)(ft,"@ant-design-icons",{prepend:!0,csp:ue,attachTo:ke})},[])},Ye=["icon","className","onClick","style","primaryColor","secondaryColor"],Le={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ne(N){var _=N.primaryColor,ve=N.secondaryColor;Le.primaryColor=_,Le.secondaryColor=ve||J(_),Le.calculated=!!ve}function Re(){return(0,Ze.Z)({},Le)}var We=function(_){var ve=_.icon,ue=_.className,ge=_.onClick,ft=_.style,ot=_.primaryColor,ke=_.secondaryColor,Ut=(0,h.Z)(_,Ye),bt=f.useRef(),St=Le;if(ot&&(St={primaryColor:ot,secondaryColor:ke||J(ot)}),Ae(bt),ln(gt(ve),"icon should be icon definiton, but got ".concat(ve)),!gt(ve))return null;var Pt=ve;return Pt&&typeof Pt.icon=="function"&&(Pt=(0,Ze.Z)((0,Ze.Z)({},Pt),{},{icon:Pt.icon(St.primaryColor,St.secondaryColor)})),ae(Pt.icon,"svg-".concat(Pt.name),(0,Ze.Z)((0,Ze.Z)({className:ue,onClick:ge,style:ft,"data-icon":Pt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ut),{},{ref:bt}))};We.displayName="IconReact",We.getTwoToneColors=Re,We.setTwoToneColors=Ne;var mt=We;function ut(N){var _=Pe(N),ve=(0,u.Z)(_,2),ue=ve[0],ge=ve[1];return mt.setTwoToneColors({primaryColor:ue,secondaryColor:ge})}function Tt(){var N=mt.getTwoToneColors();return N.calculated?[N.primaryColor,N.secondaryColor]:N.primaryColor}var Ft=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ut(gn.primary);var At=f.forwardRef(function(N,_){var ve=N.className,ue=N.icon,ge=N.spin,ft=N.rotate,ot=N.tabIndex,ke=N.onClick,Ut=N.twoToneColor,bt=(0,h.Z)(N,Ft),St=f.useContext(ht),Pt=St.prefixCls,lt=Pt===void 0?"anticon":Pt,fn=St.rootClassName,mn=O()(fn,lt,(0,c.Z)((0,c.Z)({},"".concat(lt,"-").concat(ue.name),!!ue.name),"".concat(lt,"-spin"),!!ge||ue.name==="loading"),ve),It=ot;It===void 0&&ke&&(It=-1);var Lt=ft?{msTransform:"rotate(".concat(ft,"deg)"),transform:"rotate(".concat(ft,"deg)")}:void 0,qt=Pe(Ut),rn=(0,u.Z)(qt,2),sn=rn[0],Mt=rn[1];return f.createElement("span",(0,o.Z)({role:"img","aria-label":ue.name},bt,{ref:_,tabIndex:It,onClick:ke,className:mn}),f.createElement(mt,{icon:ue,primaryColor:sn,secondaryColor:Mt,style:Lt}))});At.displayName="AntdIcon",At.getTwoToneColor=Tt,At.setTwoToneColor=ut;var Ie=At},31413:function(b,w,n){"use strict";n.d(w,{J:function(){return c}});var o=n(67159),u=n(1977),c=function(f){return f===void 0?{}:(0,u.n)(o.Z,"5.13.0")<=0?{bordered:f}:{variant:f?void 0:"borderless"}}},98912:function(b,w,n){"use strict";n.d(w,{Q:function(){return Qe}});var o=n(4942),u=n(87462),c=n(67294),h=n(1085),f=n(62914),x=function(re,le){return c.createElement(f.Z,(0,u.Z)({},re,{ref:le,icon:h.Z}))},O=c.forwardRef(x),E=O,T=n(66023),D=function(re,le){return c.createElement(f.Z,(0,u.Z)({},re,{ref:le,icon:T.Z}))},Y=c.forwardRef(D),l=Y,j=n(10915),oe=n(28459),M=n(93967),G=n.n(M),ne=n(1413),xe=n(98082),Ce=function(re){return(0,o.Z)({},re.componentCls,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({display:"inline-flex",gap:re.marginXXS,alignItems:"center",height:"30px",paddingBlock:0,paddingInline:8,fontSize:re.fontSize,lineHeight:"30px",borderRadius:"2px",cursor:"pointer","&:hover":{backgroundColor:re.colorBgTextHover},"&-active":(0,o.Z)({paddingBlock:0,paddingInline:8,backgroundColor:re.colorBgTextHover},"&".concat(re.componentCls,"-allow-clear:hover:not(").concat(re.componentCls,"-disabled)"),(0,o.Z)((0,o.Z)({},"".concat(re.componentCls,"-arrow"),{display:"none"}),"".concat(re.componentCls,"-close"),{display:"inline-flex"}))},"".concat(re.antCls,"-select"),(0,o.Z)({},"".concat(re.antCls,"-select-clear"),{borderRadius:"50%"})),"".concat(re.antCls,"-picker"),(0,o.Z)({},"".concat(re.antCls,"-picker-clear"),{borderRadius:"50%"})),"&-icon",(0,o.Z)((0,o.Z)({color:re.colorIcon,transition:"color 0.3s",fontSize:12,verticalAlign:"middle"},"&".concat(re.componentCls,"-close"),{display:"none",fontSize:12,alignItems:"center",justifyContent:"center",color:re.colorTextPlaceholder,borderRadius:"50%"}),"&:hover",{color:re.colorIconHover})),"&-disabled",(0,o.Z)({color:re.colorTextPlaceholder,cursor:"not-allowed"},"".concat(re.componentCls,"-icon"),{color:re.colorTextPlaceholder})),"&-small",(0,o.Z)((0,o.Z)((0,o.Z)({height:"24px",paddingBlock:0,paddingInline:4,fontSize:re.fontSizeSM,lineHeight:"24px"},"&".concat(re.componentCls,"-active"),{paddingBlock:0,paddingInline:8}),"".concat(re.componentCls,"-icon"),{paddingBlock:0,paddingInline:0}),"".concat(re.componentCls,"-close"),{marginBlockStart:"-2px",paddingBlock:4,paddingInline:4,fontSize:"6px"})),"&-bordered",{height:"32px",paddingBlock:0,paddingInline:8,border:"".concat(re.lineWidth,"px solid ").concat(re.colorBorder),borderRadius:"@border-radius-base"}),"&-bordered&-small",{height:"24px",paddingBlock:0,paddingInline:8}),"&-bordered&-active",{backgroundColor:re.colorBgContainer}))};function ie(ye){return(0,xe.Xj)("FieldLabel",function(re){var le=(0,ne.Z)((0,ne.Z)({},re),{},{componentCls:".".concat(ye)});return[Ce(le)]})}var ce=n(85893),rt=function(re,le){var pe,te,Ee,Fe=re.label,qe=re.onClear,it=re.value,fe=re.disabled,nt=re.onLabelClick,Gt=re.ellipsis,gn=re.placeholder,Cn=re.className,Rt=re.formatter,Zn=re.bordered,jt=re.style,K=re.downIcon,De=re.allowClear,ht=De===void 0?!0:De,Ze=re.valueMaxLength,at=Ze===void 0?41:Ze,_t=(oe.ZP===null||oe.ZP===void 0||(pe=oe.ZP.useConfig)===null||pe===void 0?void 0:pe.call(oe.ZP))||{componentSize:"middle"},nn=_t.componentSize,Bt=nn,on=(0,c.useContext)(oe.ZP.ConfigContext),ln=on.getPrefixCls,gt=ln("pro-core-field-label"),H=ie(gt),ae=H.wrapSSR,J=H.hashId,Pe=(0,j.YB)(),Ke=(0,c.useRef)(null),Ue=(0,c.useRef)(null);(0,c.useImperativeHandle)(le,function(){return{labelRef:Ue,clearRef:Ke}});var Ae=function(Re){return Re.every(function(We){return typeof We=="string"})?Re.join(","):Re.map(function(We,mt){var ut=mt===Re.length-1?"":",";return typeof We=="string"?(0,ce.jsxs)("span",{children:[We,ut]},mt):(0,ce.jsxs)("span",{style:{display:"flex"},children:[We,ut]},mt)})},Ye=function(Re){return Rt?Rt(Re):Array.isArray(Re)?Ae(Re):Re},Le=function(Re,We){if(We!=null&&We!==""&&(!Array.isArray(We)||We.length)){var mt,ut,Tt=Re?(0,ce.jsxs)("span",{onClick:function(){nt==null||nt()},className:"".concat(gt,"-text"),children:[Re,": "]}):"",Ft=Ye(We);if(!Gt)return(0,ce.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[Tt,Ye(We)]});var At=function(){var _=Array.isArray(We)&&We.length>1,ve=Pe.getMessage("form.lightFilter.itemUnit","\u9879");return typeof Ft=="string"&&Ft.length>at&&_?"...".concat(We.length).concat(ve):""},Ie=At();return(0,ce.jsxs)("span",{title:typeof Ft=="string"?Ft:void 0,style:{display:"inline-flex",alignItems:"center"},children:[Tt,(0,ce.jsx)("span",{style:{paddingInlineStart:4,display:"flex"},children:typeof Ft=="string"?Ft==null||(mt=Ft.toString())===null||mt===void 0||(ut=mt.substr)===null||ut===void 0?void 0:ut.call(mt,0,at):Ft}),Ie]})}return Re||gn};return ae((0,ce.jsxs)("span",{className:G()(gt,J,"".concat(gt,"-").concat((te=(Ee=re.size)!==null&&Ee!==void 0?Ee:Bt)!==null&&te!==void 0?te:"middle"),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(gt,"-active"),(Array.isArray(it)?it.length>0:!!it)||it===0),"".concat(gt,"-disabled"),fe),"".concat(gt,"-bordered"),Zn),"".concat(gt,"-allow-clear"),ht),Cn),style:jt,ref:Ue,onClick:function(){var Re;re==null||(Re=re.onClick)===null||Re===void 0||Re.call(re)},children:[Le(Fe,it),(it||it===0)&&ht&&(0,ce.jsx)(E,{role:"button",title:Pe.getMessage("form.lightFilter.clear","\u6E05\u9664"),className:G()("".concat(gt,"-icon"),J,"".concat(gt,"-close")),onClick:function(Re){fe||qe==null||qe(),Re.stopPropagation()},ref:Ke}),K!==!1?K!=null?K:(0,ce.jsx)(l,{className:G()("".concat(gt,"-icon"),J,"".concat(gt,"-arrow"))}):null]}))},Qe=c.forwardRef(rt)},1336:function(b,w,n){"use strict";n.d(w,{M:function(){return xe}});var o=n(1413),u=n(4942),c=n(28459),h=n(55241),f=n(67294),x=n(10915),O=n(14726),E=n(93967),T=n.n(E),D=n(98082),Y=function(ie){return(0,u.Z)({},ie.componentCls,{display:"flex",justifyContent:"space-between",paddingBlock:8,paddingInlineStart:8,paddingInlineEnd:8,borderBlockStart:"1px solid ".concat(ie.colorSplit)})};function l(Ce){return(0,D.Xj)("DropdownFooter",function(ie){var ce=(0,o.Z)((0,o.Z)({},ie),{},{componentCls:".".concat(Ce)});return[Y(ce)]})}var j=n(85893),oe=function(ie){var ce=(0,x.YB)(),rt=ie.onClear,Qe=ie.onConfirm,ye=ie.disabled,re=ie.footerRender,le=(0,f.useContext)(c.ZP.ConfigContext),pe=le.getPrefixCls,te=pe("pro-core-dropdown-footer"),Ee=l(te),Fe=Ee.wrapSSR,qe=Ee.hashId,it=[(0,j.jsx)(O.ZP,{style:{visibility:rt?"visible":"hidden"},type:"link",size:"small",disabled:ye,onClick:function(Gt){rt&&rt(Gt),Gt.stopPropagation()},children:ce.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),(0,j.jsx)(O.ZP,{"data-type":"confirm",type:"primary",size:"small",onClick:Qe,disabled:ye,children:ce.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(re===!1||(re==null?void 0:re(Qe,rt))===!1)return null;var fe=(re==null?void 0:re(Qe,rt))||it;return Fe((0,j.jsx)("div",{className:T()(te,qe),onClick:function(Gt){return Gt.target.getAttribute("data-type")!=="confirm"&&Gt.stopPropagation()},children:fe}))},M=n(73177),G=function(ie){return(0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(ie.componentCls,"-label"),{cursor:"pointer"}),"".concat(ie.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px"}),"".concat(ie.componentCls,"-content"),{paddingBlock:16,paddingInline:16})};function ne(Ce){return(0,D.Xj)("FilterDropdown",function(ie){var ce=(0,o.Z)((0,o.Z)({},ie),{},{componentCls:".".concat(Ce)});return[G(ce)]})}var xe=function(ie){var ce=ie.children,rt=ie.label,Qe=ie.footer,ye=ie.open,re=ie.onOpenChange,le=ie.disabled,pe=ie.onVisibleChange,te=ie.visible,Ee=ie.footerRender,Fe=ie.placement,qe=(0,f.useContext)(c.ZP.ConfigContext),it=qe.getPrefixCls,fe=it("pro-core-field-dropdown"),nt=ne(fe),Gt=nt.wrapSSR,gn=nt.hashId,Cn=(0,M.X)(ye||te||!1,re||pe),Rt=(0,f.useRef)(null);return Gt((0,j.jsx)(h.Z,(0,o.Z)((0,o.Z)({placement:Fe,trigger:["click"]},Cn),{},{overlayInnerStyle:{padding:0},content:(0,j.jsxs)("div",{ref:Rt,className:T()("".concat(fe,"-overlay"),(0,u.Z)((0,u.Z)({},"".concat(fe,"-overlay-").concat(Fe),Fe),"hashId",gn)),children:[(0,j.jsx)(c.ZP,{getPopupContainer:function(){return Rt.current||document.body},children:(0,j.jsx)("div",{className:"".concat(fe,"-content ").concat(gn).trim(),children:ce})}),Qe&&(0,j.jsx)(oe,(0,o.Z)({disabled:le,footerRender:Ee},Qe))]}),children:(0,j.jsx)("span",{className:"".concat(fe,"-label ").concat(gn).trim(),children:rt})})))}},41036:function(b,w,n){"use strict";n.d(w,{J:function(){return u}});var o=n(67294),u=o.createContext({})},23312:function(b,w,n){"use strict";n.d(w,{Cl:function(){return E},lp:function(){return j}});var o=n(71002),u=n(27484),c=n.n(u),h=n(96671),f=n.n(h),x=n(88306),O=n(74763);c().extend(f());var E={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function T(oe){return Object.prototype.toString.call(oe)==="[object Object]"}function D(oe){if(T(oe)===!1)return!1;var M=oe.constructor;if(M===void 0)return!0;var G=M.prototype;return!(T(G)===!1||G.hasOwnProperty("isPrototypeOf")===!1)}var Y=function(M){return!!(M!=null&&M._isAMomentObject)},l=function(M,G,ne){if(!G)return M;if(c().isDayjs(M)||Y(M)){if(G==="number")return M.valueOf();if(G==="string")return M.format(E[ne]||"YYYY-MM-DD HH:mm:ss");if(typeof G=="string"&&G!=="string")return M.format(G);if(typeof G=="function")return G(M,ne)}return M},j=function oe(M,G,ne,xe,Ce){var ie={};return typeof window=="undefined"||(0,o.Z)(M)!=="object"||(0,O.k)(M)||M instanceof Blob||Array.isArray(M)?M:(Object.keys(M).forEach(function(ce){var rt=Ce?[Ce,ce].flat(1):[ce],Qe=(0,x.Z)(ne,rt)||"text",ye="text",re;typeof Qe=="string"?ye=Qe:Qe&&(ye=Qe.valueType,re=Qe.dateFormat);var le=M[ce];if(!((0,O.k)(le)&&xe)){if(D(le)&&!Array.isArray(le)&&!c().isDayjs(le)&&!Y(le)){ie[ce]=oe(le,G,ne,xe,[ce]);return}if(Array.isArray(le)){ie[ce]=le.map(function(pe,te){return c().isDayjs(pe)||Y(pe)?l(pe,re||G,ye):oe(pe,G,ne,xe,[ce,"".concat(te)].flat(1))});return}ie[ce]=l(le,re||G,ye)}}),ie)}},10178:function(b,w,n){"use strict";n.d(w,{D:function(){return f}});var o=n(74165),u=n(15861),c=n(67294),h=n(48171);function f(x,O){var E=(0,h.J)(x),T=(0,c.useRef)(),D=(0,c.useCallback)(function(){T.current&&(clearTimeout(T.current),T.current=null)},[]),Y=(0,c.useCallback)((0,u.Z)((0,o.Z)().mark(function l(){var j,oe,M,G=arguments;return(0,o.Z)().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:for(j=G.length,oe=new Array(j),M=0;M0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(o+=1).toFixed(0);for(var x="",O=crypto.getRandomValues(new Uint8Array(f));f--;){var E=63&O[f];x+=E<36?E.toString(36):E<62?(E-26).toString(36).toUpperCase():E<63?"_":"-"}return x},c=function(){return typeof window=="undefined"?u():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():u()}},10989:function(b,w,n){"use strict";n.d(w,{MP:function(){return D},R6:function(){return E}});var o=n(71002),u=n(40411),c=n(78957),h=n(67294),f=n(85893);function x(Y){var l=Object.prototype.toString.call(Y).match(/^\[object (.*)\]$/)[1].toLowerCase();return l==="string"&&(0,o.Z)(Y)==="object"?"object":Y===null?"null":Y===void 0?"undefined":l}var O=function(l){var j=l.color,oe=l.children;return(0,f.jsx)(u.Z,{color:j,text:oe})},E=function(l){return x(l)==="map"?l:new Map(Object.entries(l||{}))},T={Success:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"success",text:j})},Error:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"error",text:j})},Default:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"default",text:j})},Processing:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"processing",text:j})},Warning:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"warning",text:j})},success:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"success",text:j})},error:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"error",text:j})},default:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"default",text:j})},processing:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"processing",text:j})},warning:function(l){var j=l.children;return(0,f.jsx)(u.Z,{status:"warning",text:j})}},D=function Y(l,j,oe){if(Array.isArray(l))return(0,f.jsx)(c.Z,{split:",",size:2,wrap:!0,children:l.map(function(ie,ce){return Y(ie,j,ce)})},oe);var M=E(j);if(!M.has(l)&&!M.has("".concat(l)))return(l==null?void 0:l.label)||l;var G=M.get(l)||M.get("".concat(l));if(!G)return(0,f.jsx)(h.Fragment,{children:(l==null?void 0:l.label)||l},oe);var ne=G.status,xe=G.color,Ce=T[ne||"Init"];return Ce?(0,f.jsx)(Ce,{children:G.text},oe):xe?(0,f.jsx)(O,{color:xe,children:G.text},oe):(0,f.jsx)(h.Fragment,{children:G.text||G},oe)}},22270:function(b,w,n){"use strict";n.d(w,{h:function(){return o}});function o(u){if(typeof u=="function"){for(var c=arguments.length,h=new Array(c>1?c-1:0),f=1;fGe?($n=Ge,nr=Ge/Dt.scale):$nst){if(ee>0)return(0,O.Z)({},Se,Vt);if(ee<0&&ptst)return(0,O.Z)({},Se,ee<0?Vt:-Vt);return{}}function te(Se,ee,Ge,st){var pt=(0,Y.g1)(),Vt=pt.width,Qt=pt.height,Et=null;return Se<=Vt&&ee<=Qt?Et={x:0,y:0}:(Se>Vt||ee>Qt)&&(Et=(0,x.Z)((0,x.Z)({},pe("x",Ge,Se,Vt)),pe("y",st,ee,Qt))),Et}var Ee=1,Fe=1;function qe(Se,ee,Ge,st,pt,Vt,Qt){var Et=pt.rotate,Dt=pt.scale,Yt=pt.x,Nn=pt.y,Ht=(0,o.useState)(!1),Ln=(0,E.Z)(Ht,2),On=Ln[0],En=Ln[1],Fn=(0,o.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Tn=function(un){!ee||un.button!==0||(un.preventDefault(),un.stopPropagation(),Fn.current={diffX:un.pageX-Yt,diffY:un.pageY-Nn,transformX:Yt,transformY:Nn},En(!0))},Yn=function(un){Ge&&On&&Vt({x:un.pageX-Fn.current.diffX,y:un.pageY-Fn.current.diffY},"move")},z=function(){if(Ge&&On){En(!1);var un=Fn.current,Vn=un.transformX,Hn=un.transformY,yn=Yt!==Vn&&Nn!==Hn;if(!yn)return;var er=Se.current.offsetWidth*Dt,nr=Se.current.offsetHeight*Dt,$n=Se.current.getBoundingClientRect(),gr=$n.left,ur=$n.top,br=Et%180!==0,Tr=te(br?nr:er,br?er:nr,gr,ur);Tr&&Vt((0,x.Z)({},Tr),"dragRebound")}},Sr=function(un){if(!(!Ge||un.deltaY==0)){var Vn=Math.abs(un.deltaY/100),Hn=Math.min(Vn,Fe),yn=Ee+Hn*st;un.deltaY>0&&(yn=Ee/yn),Qt(yn,"wheel",un.clientX,un.clientY)}};return(0,o.useEffect)(function(){var or,un,Vn,Hn;if(ee){Vn=(0,ie.Z)(window,"mouseup",z,!1),Hn=(0,ie.Z)(window,"mousemove",Yn,!1);try{window.top!==window.self&&(or=(0,ie.Z)(window.top,"mouseup",z,!1),un=(0,ie.Z)(window.top,"mousemove",Yn,!1))}catch(yn){(0,le.Kp)(!1,"[rc-image] ".concat(yn))}}return function(){var yn,er,nr,$n;(yn=Vn)===null||yn===void 0||yn.remove(),(er=Hn)===null||er===void 0||er.remove(),(nr=or)===null||nr===void 0||nr.remove(),($n=un)===null||$n===void 0||$n.remove()}},[Ge,On,Yt,Nn,Et,ee]),{isMoving:On,onMouseDown:Tn,onMouseMove:Yn,onMouseUp:z,onWheel:Sr}}function it(Se,ee){var Ge=Se.x-ee.x,st=Se.y-ee.y;return Math.hypot(Ge,st)}function fe(Se,ee,Ge,st){var pt=it(Se,Ge),Vt=it(ee,st);if(pt===0&&Vt===0)return[Se.x,Se.y];var Qt=pt/(pt+Vt),Et=Se.x+Qt*(ee.x-Se.x),Dt=Se.y+Qt*(ee.y-Se.y);return[Et,Dt]}function nt(Se,ee,Ge,st,pt,Vt,Qt){var Et=pt.rotate,Dt=pt.scale,Yt=pt.x,Nn=pt.y,Ht=(0,o.useState)(!1),Ln=(0,E.Z)(Ht,2),On=Ln[0],En=Ln[1],Fn=(0,o.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Tn=function(un){Fn.current=(0,x.Z)((0,x.Z)({},Fn.current),un)},Yn=function(un){if(!!ee){un.stopPropagation(),En(!0);var Vn=un.touches,Hn=Vn===void 0?[]:Vn;Hn.length>1?Tn({point1:{x:Hn[0].clientX,y:Hn[0].clientY},point2:{x:Hn[1].clientX,y:Hn[1].clientY},eventType:"touchZoom"}):Tn({point1:{x:Hn[0].clientX-Yt,y:Hn[0].clientY-Nn},eventType:"move"})}},z=function(un){var Vn=un.touches,Hn=Vn===void 0?[]:Vn,yn=Fn.current,er=yn.point1,nr=yn.point2,$n=yn.eventType;if(Hn.length>1&&$n==="touchZoom"){var gr={x:Hn[0].clientX,y:Hn[0].clientY},ur={x:Hn[1].clientX,y:Hn[1].clientY},br=fe(er,nr,gr,ur),Tr=(0,E.Z)(br,2),Lr=Tr[0],wr=Tr[1],jr=it(gr,ur)/it(er,nr);Qt(jr,"touchZoom",Lr,wr,!0),Tn({point1:gr,point2:ur,eventType:"touchZoom"})}else $n==="move"&&(Vt({x:Hn[0].clientX-er.x,y:Hn[0].clientY-er.y},"move"),Tn({eventType:"move"}))},Sr=function(){if(!!Ge){if(On&&En(!1),Tn({eventType:"none"}),st>Dt)return Vt({x:0,y:0,scale:st},"touchZoom");var un=Se.current.offsetWidth*Dt,Vn=Se.current.offsetHeight*Dt,Hn=Se.current.getBoundingClientRect(),yn=Hn.left,er=Hn.top,nr=Et%180!==0,$n=te(nr?Vn:un,nr?un:Vn,yn,er);$n&&Vt((0,x.Z)({},$n),"dragRebound")}};return(0,o.useEffect)(function(){var or;return Ge&&ee&&(or=(0,ie.Z)(window,"touchmove",function(un){return un.preventDefault()},{passive:!1})),function(){var un;(un=or)===null||un===void 0||un.remove()}},[Ge,ee]),{isTouching:On,onTouchStart:Yn,onTouchMove:z,onTouchEnd:Sr}}var Gt=n(2788),gn=n(82225),Cn=function(ee){var Ge=ee.visible,st=ee.maskTransitionName,pt=ee.getContainer,Vt=ee.prefixCls,Qt=ee.rootClassName,Et=ee.icons,Dt=ee.countRender,Yt=ee.showSwitch,Nn=ee.showProgress,Ht=ee.current,Ln=ee.transform,On=ee.count,En=ee.scale,Fn=ee.minScale,Tn=ee.maxScale,Yn=ee.closeIcon,z=ee.onSwitchLeft,Sr=ee.onSwitchRight,or=ee.onClose,un=ee.onZoomIn,Vn=ee.onZoomOut,Hn=ee.onRotateRight,yn=ee.onRotateLeft,er=ee.onFlipX,nr=ee.onFlipY,$n=ee.toolbarRender,gr=ee.zIndex,ur=(0,o.useContext)(oe),br=Et.rotateLeft,Tr=Et.rotateRight,Lr=Et.zoomIn,wr=Et.zoomOut,jr=Et.close,Nr=Et.left,Ar=Et.right,$r=Et.flipX,Br=Et.flipY,Xr="".concat(Vt,"-operations-operation");o.useEffect(function(){var P=function($){$.keyCode===ce.Z.ESC&&or()};return Ge&&window.addEventListener("keydown",P),function(){window.removeEventListener("keydown",P)}},[Ge]);var W=[{icon:Br,onClick:nr,type:"flipY"},{icon:$r,onClick:er,type:"flipX"},{icon:br,onClick:yn,type:"rotateLeft"},{icon:Tr,onClick:Hn,type:"rotateRight"},{icon:wr,onClick:Vn,type:"zoomOut",disabled:En<=Fn},{icon:Lr,onClick:un,type:"zoomIn",disabled:En===Tn}],S=W.map(function(P){var y,$=P.icon,d=P.onClick,Z=P.type,F=P.disabled;return o.createElement("div",{className:h()(Xr,(y={},(0,O.Z)(y,"".concat(Vt,"-operations-operation-").concat(Z),!0),(0,O.Z)(y,"".concat(Vt,"-operations-operation-disabled"),!!F),y)),onClick:d,key:Z},$)}),g=o.createElement("div",{className:"".concat(Vt,"-operations")},S);return o.createElement(gn.ZP,{visible:Ge,motionName:st},function(P){var y=P.className,$=P.style;return o.createElement(Gt.Z,{open:!0,getContainer:pt!=null?pt:document.body},o.createElement("div",{className:h()("".concat(Vt,"-operations-wrapper"),y,Qt),style:(0,x.Z)((0,x.Z)({},$),{},{zIndex:gr})},Yn===null?null:o.createElement("button",{className:"".concat(Vt,"-close"),onClick:or},Yn||jr),Yt&&o.createElement(o.Fragment,null,o.createElement("div",{className:h()("".concat(Vt,"-switch-left"),(0,O.Z)({},"".concat(Vt,"-switch-left-disabled"),Ht===0)),onClick:z},Nr),o.createElement("div",{className:h()("".concat(Vt,"-switch-right"),(0,O.Z)({},"".concat(Vt,"-switch-right-disabled"),Ht===On-1)),onClick:Sr},Ar)),o.createElement("div",{className:"".concat(Vt,"-footer")},Nn&&o.createElement("div",{className:"".concat(Vt,"-progress")},Dt?Dt(Ht+1,On):"".concat(Ht+1," / ").concat(On)),$n?$n(g,(0,x.Z)({icons:{flipYIcon:S[0],flipXIcon:S[1],rotateLeftIcon:S[2],rotateRightIcon:S[3],zoomOutIcon:S[4],zoomInIcon:S[5]},actions:{onFlipY:nr,onFlipX:er,onRotateLeft:yn,onRotateRight:Hn,onZoomOut:Vn,onZoomIn:un},transform:Ln},ur?{current:Ht,total:On}:{})):g)))})},Rt=Cn,Zn=["fallback","src","imgRef"],jt=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],K=function(ee){var Ge=ee.fallback,st=ee.src,pt=ee.imgRef,Vt=(0,D.Z)(ee,Zn),Qt=xe({src:st,fallback:Ge}),Et=(0,E.Z)(Qt,2),Dt=Et[0],Yt=Et[1];return o.createElement("img",(0,f.Z)({ref:function(Ht){pt.current=Ht,Dt(Ht)}},Vt,Yt))},De=function(ee){var Ge=ee.prefixCls,st=ee.src,pt=ee.alt,Vt=ee.fallback,Qt=ee.movable,Et=Qt===void 0?!0:Qt,Dt=ee.onClose,Yt=ee.visible,Nn=ee.icons,Ht=Nn===void 0?{}:Nn,Ln=ee.rootClassName,On=ee.closeIcon,En=ee.getContainer,Fn=ee.current,Tn=Fn===void 0?0:Fn,Yn=ee.count,z=Yn===void 0?1:Yn,Sr=ee.countRender,or=ee.scaleStep,un=or===void 0?.5:or,Vn=ee.minScale,Hn=Vn===void 0?1:Vn,yn=ee.maxScale,er=yn===void 0?50:yn,nr=ee.transitionName,$n=nr===void 0?"zoom":nr,gr=ee.maskTransitionName,ur=gr===void 0?"fade":gr,br=ee.imageRender,Tr=ee.imgCommonProps,Lr=ee.toolbarRender,wr=ee.onTransform,jr=ee.onChange,Nr=(0,D.Z)(ee,jt),Ar=(0,o.useRef)(),$r=(0,o.useContext)(oe),Br=$r&&z>1,Xr=$r&&z>=1,W=(0,o.useState)(!0),S=(0,E.Z)(W,2),g=S[0],P=S[1],y=re(Ar,Hn,er,wr),$=y.transform,d=y.resetTransform,Z=y.updateTransform,F=y.dispatchZoomChange,k=qe(Ar,Et,Yt,un,$,Z,F),q=k.isMoving,Oe=k.onMouseDown,$e=k.onWheel,tt=nt(Ar,Et,Yt,Hn,$,Z,F),ct=tt.isTouching,be=tt.onTouchStart,ze=tt.onTouchMove,je=tt.onTouchEnd,yt=$.rotate,_e=$.scale,kt=h()((0,O.Z)({},"".concat(Ge,"-moving"),q));(0,o.useEffect)(function(){g||P(!0)},[g]);var bn=function(){d("close")},cn=function(){F(Ee+un,"zoomIn")},In=function(){F(Ee/(Ee+un),"zoomOut")},Jn=function(){Z({rotate:yt+90},"rotateRight")},dn=function(){Z({rotate:yt-90},"rotateLeft")},wn=function(){Z({flipX:!$.flipX},"flipX")},Qn=function(){Z({flipY:!$.flipY},"flipY")},Gn=function(mr){mr==null||mr.preventDefault(),mr==null||mr.stopPropagation(),Tn>0&&(P(!1),d("prev"),jr==null||jr(Tn-1,Tn))},qn=function(mr){mr==null||mr.preventDefault(),mr==null||mr.stopPropagation(),Tn({position:Se||"absolute",inset:0}),zn=Se=>{const{iconCls:ee,motionDurationSlow:Ge,paddingXXS:st,marginXXS:pt,prefixCls:Vt,colorTextLightSolid:Qt}=Se;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Qt,background:new Mt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ge}`,[`.${Vt}-mask-info`]:Object.assign(Object.assign({},Wt.vS),{padding:`0 ${(0,sn.bf)(st)}`,[ee]:{marginInlineEnd:pt,svg:{verticalAlign:"baseline"}}})}},Sn=Se=>{const{previewCls:ee,modalMaskBg:Ge,paddingSM:st,marginXL:pt,margin:Vt,paddingLG:Qt,previewOperationColorDisabled:Et,previewOperationHoverColor:Dt,motionDurationSlow:Yt,iconCls:Nn,colorTextLightSolid:Ht}=Se,Ln=new Mt.C(Ge).setAlpha(.1),On=Ln.clone().setAlpha(.2);return{[`${ee}-footer`]:{position:"fixed",bottom:pt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Se.previewOperationColor},[`${ee}-progress`]:{marginBottom:Vt},[`${ee}-close`]:{position:"fixed",top:pt,right:{_skip_check_:!0,value:pt},display:"flex",color:Ht,backgroundColor:Ln.toRgbString(),borderRadius:"50%",padding:st,outline:0,border:0,cursor:"pointer",transition:`all ${Yt}`,"&:hover":{backgroundColor:On.toRgbString()},[`& > ${Nn}`]:{fontSize:Se.previewOperationSize}},[`${ee}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,sn.bf)(Qt)}`,backgroundColor:Ln.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:st,padding:st,cursor:"pointer",transition:`all ${Yt}`,userSelect:"none",[`&:not(${ee}-operations-operation-disabled):hover > ${Nn}`]:{color:Dt},"&-disabled":{color:Et,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Nn}`]:{fontSize:Se.previewOperationSize}}}}},Un=Se=>{const{modalMaskBg:ee,iconCls:Ge,previewOperationColorDisabled:st,previewCls:pt,zIndexPopup:Vt,motionDurationSlow:Qt}=Se,Et=new Mt.C(ee).setAlpha(.1),Dt=Et.clone().setAlpha(.2);return{[`${pt}-switch-left, ${pt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Se.calc(Vt).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:Se.imagePreviewSwitchSize,height:Se.imagePreviewSwitchSize,marginTop:Se.calc(Se.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Se.previewOperationColor,background:Et.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Qt}`,userSelect:"none","&:hover":{background:Dt.toRgbString()},["&-disabled"]:{"&, &:hover":{color:st,background:"transparent",cursor:"not-allowed",[`> ${Ge}`]:{cursor:"not-allowed"}}},[`> ${Ge}`]:{fontSize:Se.previewOperationSize}},[`${pt}-switch-left`]:{insetInlineStart:Se.marginSM},[`${pt}-switch-right`]:{insetInlineEnd:Se.marginSM}}},Dn=Se=>{const{motionEaseOut:ee,previewCls:Ge,motionDurationSlow:st,componentCls:pt}=Se;return[{[`${pt}-preview-root`]:{[Ge]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ge}-body`]:Object.assign(Object.assign({},xn()),{overflow:"hidden"}),[`${Ge}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${st} ${ee} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},xn()),{transition:`transform ${st} ${ee} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ge}-moving`]:{[`${Ge}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${pt}-preview-root`]:{[`${Ge}-wrap`]:{zIndex:Se.zIndexPopup}}},{[`${pt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Se.calc(Se.zIndexPopup).add(1).equal({unit:!1})},"&":[Sn(Se),Un(Se)]}]},Pn=Se=>{const{componentCls:ee}=Se;return{[ee]:{position:"relative",display:"inline-block",[`${ee}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ee}-img-placeholder`]:{backgroundColor:Se.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ee}-mask`]:Object.assign({},zn(Se)),[`${ee}-mask:hover`]:{opacity:1},[`${ee}-placeholder`]:Object.assign({},xn())}}},Nt=Se=>{const{previewCls:ee}=Se;return{[`${ee}-root`]:(0,lr._y)(Se,"zoom"),["&"]:(0,sr.J$)(Se,!0)}},$t=Se=>({zIndexPopup:Se.zIndexPopupBase+80,previewOperationColor:new Mt.C(Se.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Mt.C(Se.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Mt.C(Se.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Se.fontSizeIcon*1.5});var Xt=(0,pn.I$)("Image",Se=>{const ee=`${Se.componentCls}-preview`,Ge=(0,Mn.TS)(Se,{previewCls:ee,modalMaskBg:new Mt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Se.controlHeightLG});return[Pn(Ge),Dn(Ge),(0,Kt.QA)((0,Mn.TS)(Ge,{componentCls:ee})),Nt(Ge)]},$t),Zt=function(Se,ee){var Ge={};for(var st in Se)Object.prototype.hasOwnProperty.call(Se,st)&&ee.indexOf(st)<0&&(Ge[st]=Se[st]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,st=Object.getOwnPropertySymbols(Se);pt{var{previewPrefixCls:ee,preview:Ge}=Se,st=Zt(Se,["previewPrefixCls","preview"]);const{getPrefixCls:pt}=o.useContext(Ue.E_),Vt=pt("image",ee),Qt=`${Vt}-preview`,Et=pt(),Dt=(0,Ae.Z)(Vt),[Yt,Nn,Ht]=Xt(Vt,Dt),[Ln]=(0,Pe.Cn)("ImagePreview",typeof Ge=="object"?Ge.zIndex:void 0),On=o.useMemo(()=>{var En;if(Ge===!1)return Ge;const Fn=typeof Ge=="object"?Ge:{},Tn=h()(Nn,Ht,Dt,(En=Fn.rootClassName)!==null&&En!==void 0?En:"");return Object.assign(Object.assign({},Fn),{transitionName:(0,Ke.m)(Et,"zoom",Fn.transitionName),maskTransitionName:(0,Ke.m)(Et,"fade",Fn.maskTransitionName),rootClassName:Tn,zIndex:Ln})},[Ge]);return Yt(o.createElement(J.PreviewGroup,Object.assign({preview:On,previewPrefixCls:Qt,icons:Ct},st)))},xt=function(Se,ee){var Ge={};for(var st in Se)Object.prototype.hasOwnProperty.call(Se,st)&&ee.indexOf(st)<0&&(Ge[st]=Se[st]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,st=Object.getOwnPropertySymbols(Se);pt{var ee;const{prefixCls:Ge,preview:st,className:pt,rootClassName:Vt,style:Qt}=Se,Et=xt(Se,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Dt,locale:Yt=Ye.Z,getPopupContainer:Nn,image:Ht}=o.useContext(Ue.E_),Ln=Dt("image",Ge),On=Dt(),En=Yt.Image||Ye.Z.Image,Fn=(0,Ae.Z)(Ln),[Tn,Yn,z]=Xt(Ln,Fn),Sr=h()(Vt,Yn,z,Fn),or=h()(pt,Yn,Ht==null?void 0:Ht.className),[un]=(0,Pe.Cn)("ImagePreview",typeof st=="object"?st.zIndex:void 0),Vn=o.useMemo(()=>{var yn;if(st===!1)return st;const er=typeof st=="object"?st:{},{getContainer:nr,closeIcon:$n}=er,gr=xt(er,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${Ln}-mask-info`},o.createElement(u.Z,null),En==null?void 0:En.preview),icons:Ct},gr),{getContainer:nr!=null?nr:Nn,transitionName:(0,Ke.m)(On,"zoom",er.transitionName),maskTransitionName:(0,Ke.m)(On,"fade",er.maskTransitionName),zIndex:un,closeIcon:$n!=null?$n:(yn=Ht==null?void 0:Ht.preview)===null||yn===void 0?void 0:yn.closeIcon})},[st,En,(ee=Ht==null?void 0:Ht.preview)===null||ee===void 0?void 0:ee.closeIcon]),Hn=Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Qt);return Tn(o.createElement(J,Object.assign({prefixCls:Ln,preview:Vn,rootClassName:Sr,className:or,style:Hn},Et)))};hr.PreviewGroup=an;var Mr=hr},19207:function(b,w,n){"use strict";n.d(w,{Z:function(){return jt}});var o=n(67294),u=n(87462),c={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"},h=c,f=n(93771),x=function(De,ht){return o.createElement(f.Z,(0,u.Z)({},De,{ref:ht,icon:h}))},O=o.forwardRef(x),E=O,T=n(93967),D=n.n(T),Y=n(4942),l=n(97685),j=n(45987),oe=n(21770),M=n(15105),G=n(64217);function ne(K,De){var ht=K.disabled,Ze=K.prefixCls,at=K.character,_t=K.characterRender,nn=K.index,Bt=K.count,on=K.value,ln=K.allowHalf,gt=K.focused,H=K.onHover,ae=K.onClick,J=function(Re){H(Re,nn)},Pe=function(Re){ae(Re,nn)},Ke=function(Re){Re.keyCode===M.Z.ENTER&&ae(Re,nn)},Ue=nn+1,Ae=new Set([Ze]);on===0&&nn===0&>?Ae.add("".concat(Ze,"-focused")):ln&&on+.5>=Ue&&onnn?"true":"false","aria-posinset":nn+1,"aria-setsize":Bt,tabIndex:ht?-1:0},o.createElement("div",{className:"".concat(Ze,"-first")},Ye),o.createElement("div",{className:"".concat(Ze,"-second")},Ye)));return _t&&(Le=_t(Le,K)),Le}var xe=o.forwardRef(ne);function Ce(){var K=o.useRef({});function De(Ze){return K.current[Ze]}function ht(Ze){return function(at){K.current[Ze]=at}}return[De,ht]}function ie(K){var De=K.pageXOffset,ht="scrollLeft";if(typeof De!="number"){var Ze=K.document;De=Ze.documentElement[ht],typeof De!="number"&&(De=Ze.body[ht])}return De}function ce(K){var De,ht,Ze=K.ownerDocument,at=Ze.body,_t=Ze&&Ze.documentElement,nn=K.getBoundingClientRect();return De=nn.left,ht=nn.top,De-=_t.clientLeft||at.clientLeft||0,ht-=_t.clientTop||at.clientTop||0,{left:De,top:ht}}function rt(K){var De=ce(K),ht=K.ownerDocument,Ze=ht.defaultView||ht.parentWindow;return De.left+=ie(Ze),De.left}var Qe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ye(K,De){var ht,Ze=K.prefixCls,at=Ze===void 0?"rc-rate":Ze,_t=K.className,nn=K.defaultValue,Bt=K.value,on=K.count,ln=on===void 0?5:on,gt=K.allowHalf,H=gt===void 0?!1:gt,ae=K.allowClear,J=ae===void 0?!0:ae,Pe=K.character,Ke=Pe===void 0?"\u2605":Pe,Ue=K.characterRender,Ae=K.disabled,Ye=K.direction,Le=Ye===void 0?"ltr":Ye,Ne=K.tabIndex,Re=Ne===void 0?0:Ne,We=K.autoFocus,mt=K.onHoverChange,ut=K.onChange,Tt=K.onFocus,Ft=K.onBlur,At=K.onKeyDown,Ie=K.onMouseLeave,N=(0,j.Z)(K,Qe),_=Ce(),ve=(0,l.Z)(_,2),ue=ve[0],ge=ve[1],ft=o.useRef(null),ot=function(){if(!Ae){var $t;($t=ft.current)===null||$t===void 0||$t.focus()}};o.useImperativeHandle(De,function(){return{focus:ot,blur:function(){if(!Ae){var $t;($t=ft.current)===null||$t===void 0||$t.blur()}}}});var ke=(0,oe.Z)(nn||0,{value:Bt}),Ut=(0,l.Z)(ke,2),bt=Ut[0],St=Ut[1],Pt=(0,oe.Z)(null),lt=(0,l.Z)(Pt,2),fn=lt[0],mn=lt[1],It=function($t,Xt){var Zt=Le==="rtl",Ct=$t+1;if(H){var Rn=ue($t),an=rt(Rn),xt=Rn.clientWidth;(Zt&&Xt-an>xt/2||!Zt&&Xt-an0&&!Zt||Xt===M.Z.RIGHT&&Ct>0&&Zt?(H?Ct-=.5:Ct-=1,Lt(Ct),$t.preventDefault()):Xt===M.Z.LEFT&&Ct{const{componentCls:De}=K;return{[`${De}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:K.marginXS},"> div":{transition:`all ${K.motionDurationMid}, outline 0s`,"&:hover":{transform:K.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Ee.bf)(K.lineWidth)} dashed ${K.starColor}`,transform:K.starHoverScale}},"&-first, &-second":{color:K.starBg,transition:`all ${K.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${De}-star-first, &-half ${De}-star-second`]:{opacity:1},[`&-half ${De}-star-first, &-full ${De}-star-second`]:{color:"inherit"}}}},nt=K=>({[`&-rtl${K.componentCls}`]:{direction:"rtl"}}),Gt=K=>{const{componentCls:De}=K;return{[De]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(K)),{display:"inline-block",margin:0,padding:0,color:K.starColor,fontSize:K.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${De} ${De}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),fe(K)),nt(K))}},gn=K=>({starColor:K.yellow6,starSize:K.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:K.colorFillContent});var Cn=(0,qe.I$)("Rate",K=>{const De=(0,it.TS)(K,{});return[Gt(De)]},gn),Rt=function(K,De){var ht={};for(var Ze in K)Object.prototype.hasOwnProperty.call(K,Ze)&&De.indexOf(Ze)<0&&(ht[Ze]=K[Ze]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Ze=Object.getOwnPropertySymbols(K);at{const{prefixCls:ht,className:Ze,rootClassName:at,style:_t,tooltips:nn,character:Bt=o.createElement(E,null)}=K,on=Rt(K,["prefixCls","className","rootClassName","style","tooltips","character"]),ln=(Ye,Le)=>{let{index:Ne}=Le;return nn?o.createElement(te.Z,{title:nn[Ne]},Ye):Ye},{getPrefixCls:gt,direction:H,rate:ae}=o.useContext(pe.E_),J=gt("rate",ht),[Pe,Ke,Ue]=Cn(J),Ae=Object.assign(Object.assign({},ae==null?void 0:ae.style),_t);return Pe(o.createElement(le,Object.assign({ref:De,character:Bt,characterRender:ln},on,{className:D()(Ze,at,Ke,Ue,ae==null?void 0:ae.className),style:Ae,prefixCls:J,direction:H})))})},59542:function(b){(function(w,n){b.exports=n()})(this,function(){"use strict";var w="day";return function(n,o,u){var c=function(x){return x.add(4-x.isoWeekday(),w)},h=o.prototype;h.isoWeekYear=function(){return c(this).year()},h.isoWeek=function(x){if(!this.$utils().u(x))return this.add(7*(x-this.isoWeek()),w);var O,E,T,D,Y=c(this),l=(O=this.isoWeekYear(),E=this.$u,T=(E?u.utc:u)().year(O).startOf("year"),D=4-T.isoWeekday(),T.isoWeekday()>4&&(D+=7),T.add(D,w));return Y.diff(l,"week")+1},h.isoWeekday=function(x){return this.$utils().u(x)?this.day()||7:this.day(this.day()%7?x:x-7)};var f=h.startOf;h.startOf=function(x,O){var E=this.$utils(),T=!!E.u(O)||O;return E.p(x)==="isoweek"?T?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):f.bind(this)(x,O)}}})},96671:function(b){(function(w,n){b.exports=n()})(this,function(){"use strict";var w="month",n="quarter";return function(o,u){var c=u.prototype;c.quarter=function(x){return this.$utils().u(x)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(x-1))};var h=c.add;c.add=function(x,O){return x=Number(x),this.$utils().p(O)===n?this.add(3*x,w):h.bind(this)(x,O)};var f=c.startOf;c.startOf=function(x,O){var E=this.$utils(),T=!!E.u(O)||O;if(E.p(x)===n){var D=this.quarter()-1;return T?this.month(3*D).startOf(w).startOf("day"):this.month(3*D+2).endOf(w).endOf("day")}return f.bind(this)(x,O)}}})},84110:function(b){(function(w,n){b.exports=n()})(this,function(){"use strict";return function(w,n,o){w=w||{};var u=n.prototype,c={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function h(x,O,E,T){return u.fromToBase(x,O,E,T)}o.en.relativeTime=c,u.fromToBase=function(x,O,E,T,D){for(var Y,l,j,oe=E.$locale().relativeTime||c,M=w.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],G=M.length,ne=0;ne0,Ce<=xe.r||!xe.r){Ce<=1&&ne>0&&(xe=M[ne-1]);var ie=oe[xe.l];D&&(Ce=D(""+Ce)),l=typeof ie=="string"?ie.replace("%d",Ce):ie(Ce,O,xe.l,j);break}}if(O)return l;var ce=j?oe.future:oe.past;return typeof ce=="function"?ce(l):ce.replace("%s",l)},u.to=function(x,O){return h(x,O,this,!0)},u.from=function(x,O){return h(x,O,this)};var f=function(x){return x.$u?o.utc():o()};u.toNow=function(x){return this.to(f(this),x)},u.fromNow=function(x){return this.from(f(this),x)}}})},72378:function(b,w,n){b=n.nmd(b);var o=200,u="__lodash_hash_undefined__",c=800,h=16,f=9007199254740991,x="[object Arguments]",O="[object Array]",E="[object AsyncFunction]",T="[object Boolean]",D="[object Date]",Y="[object Error]",l="[object Function]",j="[object GeneratorFunction]",oe="[object Map]",M="[object Number]",G="[object Null]",ne="[object Object]",xe="[object Proxy]",Ce="[object RegExp]",ie="[object Set]",ce="[object String]",rt="[object Undefined]",Qe="[object WeakMap]",ye="[object ArrayBuffer]",re="[object DataView]",le="[object Float32Array]",pe="[object Float64Array]",te="[object Int8Array]",Ee="[object Int16Array]",Fe="[object Int32Array]",qe="[object Uint8Array]",it="[object Uint8ClampedArray]",fe="[object Uint16Array]",nt="[object Uint32Array]",Gt=/[\\^$.*+?()[\]{}|]/g,gn=/^\[object .+?Constructor\]$/,Cn=/^(?:0|[1-9]\d*)$/,Rt={};Rt[le]=Rt[pe]=Rt[te]=Rt[Ee]=Rt[Fe]=Rt[qe]=Rt[it]=Rt[fe]=Rt[nt]=!0,Rt[x]=Rt[O]=Rt[ye]=Rt[T]=Rt[re]=Rt[D]=Rt[Y]=Rt[l]=Rt[oe]=Rt[M]=Rt[ne]=Rt[Ce]=Rt[ie]=Rt[ce]=Rt[Qe]=!1;var Zn=typeof n.g=="object"&&n.g&&n.g.Object===Object&&n.g,jt=typeof self=="object"&&self&&self.Object===Object&&self,K=Zn||jt||Function("return this")(),De=w&&!w.nodeType&&w,ht=De&&!0&&b&&!b.nodeType&&b,Ze=ht&&ht.exports===De,at=Ze&&Zn.process,_t=function(){try{var d=ht&&ht.require&&ht.require("util").types;return d||at&&at.binding&&at.binding("util")}catch(Z){}}(),nn=_t&&_t.isTypedArray;function Bt(d,Z,F){switch(F.length){case 0:return d.call(Z);case 1:return d.call(Z,F[0]);case 2:return d.call(Z,F[0],F[1]);case 3:return d.call(Z,F[0],F[1],F[2])}return d.apply(Z,F)}function on(d,Z){for(var F=-1,k=Array(d);++F-1}function Mt(d,Z){var F=this.__data__,k=Zt(F,d);return k<0?(++this.size,F.push([d,Z])):F[k][1]=Z,this}It.prototype.clear=Lt,It.prototype.delete=qt,It.prototype.get=rn,It.prototype.has=sn,It.prototype.set=Mt;function Kt(d){var Z=-1,F=d==null?0:d.length;for(this.clear();++Z1?F[q-1]:void 0,$e=q>2?F[2]:void 0;for(Oe=d.length>3&&typeof Oe=="function"?(q--,Oe):void 0,$e&&Yn(F[0],F[1],$e)&&(Oe=q<3?void 0:Oe,q=1),Z=Object(Z);++k-1&&d%1==0&&d0){if(++Z>=c)return arguments[0]}else Z=0;return d.apply(void 0,arguments)}}function $n(d){if(d!=null){try{return Ue.call(d)}catch(Z){}try{return d+""}catch(Z){}}return""}function gr(d,Z){return d===Z||d!==d&&Z!==Z}var ur=xt(function(){return arguments}())?xt:function(d){return $r(d)&&Ae.call(d,"callee")&&!Ie.call(d,"callee")},br=Array.isArray;function Tr(d){return d!=null&&Nr(d.length)&&!jr(d)}function Lr(d){return $r(d)&&Tr(d)}var wr=ue||$;function jr(d){if(!Ar(d))return!1;var Z=an(d);return Z==l||Z==j||Z==E||Z==xe}function Nr(d){return typeof d=="number"&&d>-1&&d%1==0&&d<=f}function Ar(d){var Z=typeof d;return d!=null&&(Z=="object"||Z=="function")}function $r(d){return d!=null&&typeof d=="object"}function Br(d){if(!$r(d)||an(d)!=ne)return!1;var Z=Ft(d);if(Z===null)return!0;var F=Ae.call(Z,"constructor")&&Z.constructor;return typeof F=="function"&&F instanceof F&&Ue.call(F)==Ne}var Xr=nn?ln(nn):Mr;function W(d){return Yt(d,S(d))}function S(d){return Tr(d)?Nt(d,!0):Se(d)}var g=Nn(function(d,Z,F){ee(d,Z,F)});function P(d){return function(){return d}}function y(d){return d}function $(){return!1}b.exports=g},49323:function(b){var w=NaN,n="[object Symbol]",o=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt,x=Object.prototype,O=x.toString;function E(l){var j=typeof l;return!!l&&(j=="object"||j=="function")}function T(l){return!!l&&typeof l=="object"}function D(l){return typeof l=="symbol"||T(l)&&O.call(l)==n}function Y(l){if(typeof l=="number")return l;if(D(l))return w;if(E(l)){var j=typeof l.valueOf=="function"?l.valueOf():l;l=E(j)?j+"":j}if(typeof l!="string")return l===0?l:+l;l=l.replace(o,"");var oe=c.test(l);return oe||h.test(l)?f(l.slice(2),oe?2:8):u.test(l)?w:+l}b.exports=Y},18552:function(b,w,n){var o=n(10852),u=n(55639),c=o(u,"DataView");b.exports=c},1989:function(b,w,n){var o=n(51789),u=n(80401),c=n(57667),h=n(21327),f=n(81866);function x(O){var E=-1,T=O==null?0:O.length;for(this.clear();++E1?x[E-1]:void 0,D=E>2?x[2]:void 0;for(T=h.length>3&&typeof T=="function"?(E--,T):void 0,D&&u(x[0],x[1],D)&&(T=E<3?void 0:T,E=1),f=Object(f);++Ooe))return!1;var G=l.get(O),ne=l.get(E);if(G&&ne)return G==E&&ne==O;var xe=-1,Ce=!0,ie=T&f?new o:void 0;for(l.set(O,E),l.set(E,O);++xe-1&&u%1==0&&u-1}b.exports=u},44264:function(b,w,n){var o=n(18470);function u(c,h){var f=this.__data__,x=o(f,c);return x<0?(++this.size,f.push([c,h])):f[x][1]=h,this}b.exports=u},24785:function(b,w,n){var o=n(1989),u=n(38407),c=n(57071);function h(){this.size=0,this.__data__={hash:new o,map:new(c||u),string:new o}}b.exports=h},11285:function(b,w,n){var o=n(45050);function u(c){var h=o(this,c).delete(c);return this.size-=h?1:0,h}b.exports=u},96e3:function(b,w,n){var o=n(45050);function u(c){return o(this,c).get(c)}b.exports=u},49916:function(b,w,n){var o=n(45050);function u(c){return o(this,c).has(c)}b.exports=u},95265:function(b,w,n){var o=n(45050);function u(c,h){var f=o(this,c),x=f.size;return f.set(c,h),this.size+=f.size==x?0:1,this}b.exports=u},68776:function(b){function w(n){var o=-1,u=Array(n.size);return n.forEach(function(c,h){u[++o]=[h,c]}),u}b.exports=w},42634:function(b){function w(n,o){return function(u){return u==null?!1:u[n]===o&&(o!==void 0||n in Object(u))}}b.exports=w},24523:function(b,w,n){var o=n(15644),u=500;function c(h){var f=o(h,function(O){return x.size===u&&x.clear(),O}),x=f.cache;return f}b.exports=c},94536:function(b,w,n){var o=n(10852),u=o(Object,"create");b.exports=u},86916:function(b,w,n){var o=n(5569),u=o(Object.keys,Object);b.exports=u},33498:function(b){function w(n){var o=[];if(n!=null)for(var u in Object(n))o.push(u);return o}b.exports=w},31167:function(b,w,n){b=n.nmd(b);var o=n(31957),u=w&&!w.nodeType&&w,c=u&&!0&&b&&!b.nodeType&&b,h=c&&c.exports===u,f=h&&o.process,x=function(){try{var O=c&&c.require&&c.require("util").types;return O||f&&f.binding&&f.binding("util")}catch(E){}}();b.exports=x},5569:function(b){function w(n,o){return function(u){return n(o(u))}}b.exports=w},45357:function(b,w,n){var o=n(96874),u=Math.max;function c(h,f,x){return f=u(f===void 0?h.length-1:f,0),function(){for(var O=arguments,E=-1,T=u(O.length-f,0),D=Array(T);++E0){if(++h>=w)return arguments[0]}else h=0;return c.apply(void 0,arguments)}}b.exports=u},37465:function(b,w,n){var o=n(38407);function u(){this.__data__=new o,this.size=0}b.exports=u},63779:function(b){function w(n){var o=this.__data__,u=o.delete(n);return this.size=o.size,u}b.exports=w},67599:function(b){function w(n){return this.__data__.get(n)}b.exports=w},44758:function(b){function w(n){return this.__data__.has(n)}b.exports=w},34309:function(b,w,n){var o=n(38407),u=n(57071),c=n(83369),h=200;function f(x,O){var E=this.__data__;if(E instanceof o){var T=E.__data__;if(!u||T.length=T||qe<0||Ce&&it>=j}function re(){var Fe=u();if(ye(Fe))return le(Fe);M=setTimeout(re,Qe(Fe))}function le(Fe){return M=void 0,ie&&Y?ce(Fe):(Y=l=void 0,oe)}function pe(){M!==void 0&&clearTimeout(M),ne=0,Y=G=l=M=void 0}function te(){return M===void 0?oe:le(u())}function Ee(){var Fe=u(),qe=ye(Fe);if(Y=arguments,l=this,G=Fe,qe){if(M===void 0)return rt(G);if(Ce)return clearTimeout(M),M=setTimeout(re,T),ce(G)}return M===void 0&&(M=setTimeout(re,T)),oe}return Ee.cancel=pe,Ee.flush=te,Ee}b.exports=O},66073:function(b,w,n){b.exports=n(84486)},77813:function(b){function w(n,o){return n===o||n!==n&&o!==o}b.exports=w},84486:function(b,w,n){var o=n(77412),u=n(89881),c=n(54290),h=n(1469);function f(x,O){var E=h(x)?o:u;return E(x,c(O))}b.exports=f},2525:function(b,w,n){var o=n(47816),u=n(54290);function c(h,f){return h&&o(h,u(f))}b.exports=c},27361:function(b,w,n){var o=n(97786);function u(c,h,f){var x=c==null?void 0:o(c,h);return x===void 0?f:x}b.exports=u},79095:function(b,w,n){var o=n(13),u=n(222);function c(h,f){return h!=null&&u(h,f,o)}b.exports=c},6557:function(b){function w(n){return n}b.exports=w},35694:function(b,w,n){var o=n(9454),u=n(37005),c=Object.prototype,h=c.hasOwnProperty,f=c.propertyIsEnumerable,x=o(function(){return arguments}())?o:function(O){return u(O)&&h.call(O,"callee")&&!f.call(O,"callee")};b.exports=x},98612:function(b,w,n){var o=n(23560),u=n(41780);function c(h){return h!=null&&u(h.length)&&!o(h)}b.exports=c},29246:function(b,w,n){var o=n(98612),u=n(37005);function c(h){return u(h)&&o(h)}b.exports=c},44144:function(b,w,n){b=n.nmd(b);var o=n(55639),u=n(95062),c=w&&!w.nodeType&&w,h=c&&!0&&b&&!b.nodeType&&b,f=h&&h.exports===c,x=f?o.Buffer:void 0,O=x?x.isBuffer:void 0,E=O||u;b.exports=E},23560:function(b,w,n){var o=n(44239),u=n(13218),c="[object AsyncFunction]",h="[object Function]",f="[object GeneratorFunction]",x="[object Proxy]";function O(E){if(!u(E))return!1;var T=o(E);return T==h||T==f||T==c||T==x}b.exports=O},41780:function(b){var w=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=w}b.exports=n},56688:function(b,w,n){var o=n(25588),u=n(7518),c=n(31167),h=c&&c.isMap,f=h?u(h):o;b.exports=f},13218:function(b){function w(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}b.exports=w},68630:function(b,w,n){var o=n(44239),u=n(85924),c=n(37005),h="[object Object]",f=Function.prototype,x=Object.prototype,O=f.toString,E=x.hasOwnProperty,T=O.call(Object);function D(Y){if(!c(Y)||o(Y)!=h)return!1;var l=u(Y);if(l===null)return!0;var j=E.call(l,"constructor")&&l.constructor;return typeof j=="function"&&j instanceof j&&O.call(j)==T}b.exports=D},72928:function(b,w,n){var o=n(29221),u=n(7518),c=n(31167),h=c&&c.isSet,f=h?u(h):o;b.exports=f},47037:function(b,w,n){var o=n(44239),u=n(1469),c=n(37005),h="[object String]";function f(x){return typeof x=="string"||!u(x)&&c(x)&&o(x)==h}b.exports=f},36719:function(b,w,n){var o=n(38749),u=n(7518),c=n(31167),h=c&&c.isTypedArray,f=h?u(h):o;b.exports=f},3674:function(b,w,n){var o=n(14636),u=n(280),c=n(98612);function h(f){return c(f)?o(f):u(f)}b.exports=h},81704:function(b,w,n){var o=n(14636),u=n(35014),c=n(98612);function h(f){return c(f)?o(f,!0):u(f)}b.exports=h},35161:function(b,w,n){var o=n(29932),u=n(67206),c=n(69199),h=n(1469);function f(x,O){var E=h(x)?o:c;return E(x,u(O,3))}b.exports=f},15644:function(b,w,n){var o=n(83369),u="Expected a function";function c(h,f){if(typeof h!="function"||f!=null&&typeof f!="function")throw new TypeError(u);var x=function(){var O=arguments,E=f?f.apply(this,O):O[0],T=x.cache;if(T.has(E))return T.get(E);var D=h.apply(this,O);return x.cache=T.set(E,D)||T,D};return x.cache=new(c.Cache||o),x}c.Cache=o,b.exports=c},82492:function(b,w,n){var o=n(42980),u=n(21463),c=u(function(h,f,x){o(h,f,x)});b.exports=c},7771:function(b,w,n){var o=n(55639),u=function(){return o.Date.now()};b.exports=u},39601:function(b,w,n){var o=n(40371),u=n(79152),c=n(15403),h=n(40327);function f(x){return c(x)?o(h(x)):u(x)}b.exports=f},70479:function(b){function w(){return[]}b.exports=w},95062:function(b){function w(){return!1}b.exports=w},23493:function(b,w,n){var o=n(23279),u=n(13218),c="Expected a function";function h(f,x,O){var E=!0,T=!0;if(typeof f!="function")throw new TypeError(c);return u(O)&&(E="leading"in O?!!O.leading:E,T="trailing"in O?!!O.trailing:T),o(f,x,{leading:E,maxWait:x,trailing:T})}b.exports=h},14841:function(b,w,n){var o=n(27561),u=n(13218),c=n(33448),h=0/0,f=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,O=/^0o[0-7]+$/i,E=parseInt;function T(D){if(typeof D=="number")return D;if(c(D))return h;if(u(D)){var Y=typeof D.valueOf=="function"?D.valueOf():D;D=u(Y)?Y+"":Y}if(typeof D!="string")return D===0?D:+D;D=o(D);var l=x.test(D);return l||O.test(D)?E(D.slice(2),l?2:8):f.test(D)?h:+D}b.exports=T},59881:function(b,w,n){var o=n(98363),u=n(81704);function c(h){return o(h,u(h))}b.exports=c},24754:function(b,w,n){"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.autoprefix=void 0;var o=n(2525),u=h(o),c=Object.assign||function(O){for(var E=1;E1&&arguments[1]!==void 0?arguments[1]:"span";return function(l){O(j,l);function j(){var oe,M,G,ne;f(this,j);for(var xe=arguments.length,Ce=Array(xe),ie=0;ie1&&arguments[1]!==void 0?arguments[1]:"span";return function(l){O(j,l);function j(){var oe,M,G,ne;f(this,j);for(var xe=arguments.length,Ce=Array(xe),ie=0;ie0&&arguments[0]!==void 0?arguments[0]:[],j=[];return(0,E.default)(l,function(oe){Array.isArray(oe)?Y(oe).map(function(M){return j.push(M)}):(0,x.default)(oe)?(0,h.default)(oe,function(M,G){M===!0&&j.push(G),j.push(G+"-"+M)}):(0,u.default)(oe)&&j.push(oe)}),j};w.default=D},79941:function(b,w,n){"use strict";var o;o={value:!0},o=o=o=o=o=void 0;var u=n(14147),c=oe(u),h=n(18556),f=oe(h),x=n(24754),O=oe(x),E=n(91765),T=oe(E),D=n(36002),Y=oe(D),l=n(57742),j=oe(l);function oe(G){return G&&G.__esModule?G:{default:G}}o=T.default,o=T.default,o=Y.default,o=j.default;var M=o=function(ne){for(var xe=arguments.length,Ce=Array(xe>1?xe-1:0),ie=1;ie1&&arguments[1]!==void 0?arguments[1]:!0;h[O]=E};return u===0&&f("first-child"),u===c-1&&f("last-child"),(u===0||u%2===0)&&f("even"),Math.abs(u%2)===1&&f("odd"),f("nth-child",u),h};w.default=n},18556:function(b,w,n){"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.mergeClasses=void 0;var o=n(2525),u=x(o),c=n(50361),h=x(c),f=Object.assign||function(E){for(var T=1;T1&&arguments[1]!==void 0?arguments[1]:[],Y=T.default&&(0,h.default)(T.default)||{};return D.map(function(l){var j=T[l];return j&&(0,u.default)(j,function(oe,M){Y[M]||(Y[M]={}),Y[M]=f({},Y[M],j[M])}),l}),Y};w.default=O},87668:function(b,w){"use strict";const{hasOwnProperty:n}=Object.prototype,o=oe();o.configure=oe,o.stringify=o,o.default=o,w.stringify=o,w.configure=oe,b.exports=o;const u=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/;function c(M){return M.length<5e3&&!u.test(M)?`"${M}"`:JSON.stringify(M)}function h(M){if(M.length>200)return M.sort();for(let G=1;Gne;)M[xe]=M[xe-1],xe--;M[xe]=ne}return M}const f=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function x(M){return f.call(M)!==void 0&&M.length!==0}function O(M,G,ne){M.length= 1`)}return ne===void 0?1/0:ne}function Y(M){return M===1?"1 item":`${M} items`}function l(M){const G=new Set;for(const ne of M)(typeof ne=="string"||typeof ne=="number")&&G.add(String(ne));return G}function j(M){if(n.call(M,"strict")){const G=M.strict;if(typeof G!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(G)return ne=>{let xe=`Object can not safely be stringified. Received type ${typeof ne}`;throw typeof ne!="function"&&(xe+=` (${ne.toString()})`),new Error(xe)}}}function oe(M){M=Ol({},M);const G=j(M);G&&(M.bigint===void 0&&(M.bigint=!1),"circularValue"in M||(M.circularValue=Error));const ne=E(M),xe=T(M,"bigint"),Ce=T(M,"deterministic"),ie=D(M,"maximumDepth"),ce=D(M,"maximumBreadth");function rt(pe,te,Ee,Fe,qe,it){let fe=te[pe];switch(typeof fe=="object"&&fe!==null&&typeof fe.toJSON=="function"&&(fe=fe.toJSON(pe)),fe=Fe.call(te,pe,fe),typeof fe){case"string":return c(fe);case"object":{if(fe===null)return"null";if(Ee.indexOf(fe)!==-1)return ne;let nt="",Gt=",";const gn=it;if(Array.isArray(fe)){if(fe.length===0)return"[]";if(iece){const at=fe.length-ce-1;nt+=`${Gt}"... ${Y(at)} not stringified"`}return qe!==""&&(nt+=` +${gn}`),Ee.pop(),`[${nt}]`}let Cn=Object.keys(fe);const Rt=Cn.length;if(Rt===0)return"{}";if(iece){const De=Rt-ce;nt+=`${jt}"...":${Zn}"${Y(De)} not stringified"`,jt=Gt}return qe!==""&&jt.length>1&&(nt=` +${it}${nt} +${gn}`),Ee.pop(),`{${nt}}`}case"number":return isFinite(fe)?String(fe):G?G(fe):"null";case"boolean":return fe===!0?"true":"false";case"undefined":return;case"bigint":if(xe)return String(fe);default:return G?G(fe):void 0}}function Qe(pe,te,Ee,Fe,qe,it){switch(typeof te=="object"&&te!==null&&typeof te.toJSON=="function"&&(te=te.toJSON(pe)),typeof te){case"string":return c(te);case"object":{if(te===null)return"null";if(Ee.indexOf(te)!==-1)return ne;const fe=it;let nt="",Gt=",";if(Array.isArray(te)){if(te.length===0)return"[]";if(iece){const K=te.length-ce-1;nt+=`${Gt}"... ${Y(K)} not stringified"`}return qe!==""&&(nt+=` +${fe}`),Ee.pop(),`[${nt}]`}Ee.push(te);let gn="";qe!==""&&(it+=qe,Gt=`, +${it}`,gn=" ");let Cn="";for(const Rt of Fe){const Zn=Qe(Rt,te[Rt],Ee,Fe,qe,it);Zn!==void 0&&(nt+=`${Cn}${c(Rt)}:${gn}${Zn}`,Cn=Gt)}return qe!==""&&Cn.length>1&&(nt=` +${it}${nt} +${fe}`),Ee.pop(),`{${nt}}`}case"number":return isFinite(te)?String(te):G?G(te):"null";case"boolean":return te===!0?"true":"false";case"undefined":return;case"bigint":if(xe)return String(te);default:return G?G(te):void 0}}function ye(pe,te,Ee,Fe,qe){switch(typeof te){case"string":return c(te);case"object":{if(te===null)return"null";if(typeof te.toJSON=="function"){if(te=te.toJSON(pe),typeof te!="object")return ye(pe,te,Ee,Fe,qe);if(te===null)return"null"}if(Ee.indexOf(te)!==-1)return ne;const it=qe;if(Array.isArray(te)){if(te.length===0)return"[]";if(iece){const Ze=te.length-ce-1;Zn+=`${jt}"... ${Y(Ze)} not stringified"`}return Zn+=` +${it}`,Ee.pop(),`[${Zn}]`}let fe=Object.keys(te);const nt=fe.length;if(nt===0)return"{}";if(iece){const Zn=nt-ce;gn+=`${Cn}"...": "${Y(Zn)} not stringified"`,Cn=Gt}return Cn!==""&&(gn=` +${qe}${gn} +${it}`),Ee.pop(),`{${gn}}`}case"number":return isFinite(te)?String(te):G?G(te):"null";case"boolean":return te===!0?"true":"false";case"undefined":return;case"bigint":if(xe)return String(te);default:return G?G(te):void 0}}function re(pe,te,Ee){switch(typeof te){case"string":return c(te);case"object":{if(te===null)return"null";if(typeof te.toJSON=="function"){if(te=te.toJSON(pe),typeof te!="object")return re(pe,te,Ee);if(te===null)return"null"}if(Ee.indexOf(te)!==-1)return ne;let Fe="";if(Array.isArray(te)){if(te.length===0)return"[]";if(iece){const Rt=te.length-ce-1;Fe+=`,"... ${Y(Rt)} not stringified"`}return Ee.pop(),`[${Fe}]`}let qe=Object.keys(te);const it=qe.length;if(it===0)return"{}";if(iece){const Gt=it-ce;Fe+=`${fe}"...":"${Y(Gt)} not stringified"`}return Ee.pop(),`{${Fe}}`}case"number":return isFinite(te)?String(te):G?G(te):"null";case"boolean":return te===!0?"true":"false";case"undefined":return;case"bigint":if(xe)return String(te);default:return G?G(te):void 0}}function le(pe,te,Ee){if(arguments.length>1){let Fe="";if(typeof Ee=="number"?Fe=" ".repeat(Math.min(Ee,10)):typeof Ee=="string"&&(Fe=Ee.slice(0,10)),te!=null){if(typeof te=="function")return rt("",{"":pe},[],te,Fe,"");if(Array.isArray(te))return Qe("",pe,[],l(te),Fe,"")}if(Fe.length!==0)return ye("",pe,[],Fe,"")}return re("",pe,[])}return le}}}]); diff --git a/statics/9814.f7d9cca6.async.js b/statics/9814.f7d9cca6.async.js deleted file mode 100644 index b583d94b..00000000 --- a/statics/9814.f7d9cca6.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9814],{69814:function(Qe,ne,p){p.d(ne,{Z:function(){return Ge}});var ie=p(76278),ae=p(64894),ce=p(41322),le=p(62208),ue=p(94184),w=p.n(ue),de=p(98423),n=p(67294),pe=p(53124),Q=p(87462),Y=p(45987),J={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},q=function(){var e=(0,n.useRef)([]),r=(0,n.useRef)(null);return(0,n.useEffect)(function(){var s=Date.now(),o=!1;e.current.forEach(function(i){if(!!i){o=!0;var l=i.style;l.transitionDuration=".3s, .3s, .3s, .06s",r.current&&s-r.current<100&&(l.transitionDuration="0s, 0s")}}),o&&(r.current=Date.now())}),e.current},ge=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],H=function(e){var r=e.className,s=e.percent,o=e.prefixCls,i=e.strokeColor,l=e.strokeLinecap,a=e.strokeWidth,c=e.style,g=e.trailColor,f=e.trailWidth,v=e.transition,u=(0,Y.Z)(e,ge);delete u.gapPosition;var m=Array.isArray(s)?s:[s],C=Array.isArray(i)?i:[i],$=q(),d=a/2,I=100-a/2,L="M ".concat(l==="round"?d:0,",").concat(d,` - L `).concat(l==="round"?I:100,",").concat(d),k="0 0 100 ".concat(a),b=0;return n.createElement("svg",(0,Q.Z)({className:w()("".concat(o,"-line"),r),viewBox:k,preserveAspectRatio:"none",style:c},u),n.createElement("path",{className:"".concat(o,"-line-trail"),d:L,strokeLinecap:l,stroke:g,strokeWidth:f||a,fillOpacity:"0"}),m.map(function(O,h){var x=1;switch(l){case"round":x=1-a/100;break;case"square":x=1-a/2/100;break;default:x=1;break}var S={strokeDasharray:"".concat(O*x,"px, 100px"),strokeDashoffset:"-".concat(b,"px"),transition:v||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},y=C[h]||C[C.length-1];return b+=O,n.createElement("path",{key:h,className:"".concat(o,"-line-path"),d:L,strokeLinecap:l,stroke:y,strokeWidth:a,fillOpacity:"0",ref:function(W){$[h]=W},style:S})}))};H.defaultProps=J,H.displayName="Line";var fe=H,T=p(71002),me=p(97685),ve=p(98924),_=0,Ce=(0,ve.Z)();function ye(){var t;return Ce?(t=_,_+=1):t="TEST_OR_SSR",t}var he=function(t){var e=n.useState(),r=(0,me.Z)(e,2),s=r[0],o=r[1];return n.useEffect(function(){o("rc_progress_".concat(ye()))},[]),t||s},Se=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ee(t){return+t.replace("%","")}function te(t){var e=t!=null?t:[];return Array.isArray(e)?e:[e]}var R=100,G=function(e,r,s,o,i,l,a,c,g,f){var v=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,u=s/100*360*((360-l)/360),m=l===0?0:{bottom:0,top:180,left:90,right:-90}[a],C=(100-o)/100*r;return g==="round"&&o!==100&&(C+=f/2,C>=r&&(C=r-.01)),{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(r,"px ").concat(e),strokeDashoffset:C+v,transform:"rotate(".concat(i+u+m,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},U=function(e){var r=e.id,s=e.prefixCls,o=e.steps,i=e.strokeWidth,l=e.trailWidth,a=e.gapDegree,c=a===void 0?0:a,g=e.gapPosition,f=e.trailColor,v=e.strokeLinecap,u=e.style,m=e.className,C=e.strokeColor,$=e.percent,d=(0,Y.Z)(e,Se),I=he(r),L="".concat(I,"-gradient"),k=R/2-i/2,b=Math.PI*2*k,O=c>0?90+c/2:-90,h=b*((360-c)/360),x=(0,T.Z)(o)==="object"?o:{count:o,space:2},S=x.count,y=x.space,E=G(b,h,0,100,O,c,g,f,v,i),W=te($),j=te(C),V=j.find(function(P){return P&&(0,T.Z)(P)==="object"}),se=q(),Ue=function(){var N=0;return W.map(function(M,A){var B=j[A]||j[j.length-1],Z=B&&(0,T.Z)(B)==="object"?"url(#".concat(L,")"):void 0,z=G(b,h,N,M,O,c,g,B,v,i);return N+=M,n.createElement("circle",{key:A,className:"".concat(s,"-circle-path"),r:k,cx:0,cy:0,stroke:Z,strokeLinecap:v,strokeWidth:i,opacity:M===0?0:1,style:z,ref:function(F){se[A]=F}})}).reverse()},Ke=function(){var N=Math.round(S*(W[0]/100)),M=100/S,A=0;return new Array(S).fill(null).map(function(B,Z){var z=Z<=N-1?j[0]:f,oe=z&&(0,T.Z)(z)==="object"?"url(#".concat(L,")"):void 0,F=G(b,h,A,M,O,c,g,z,"butt",i,y);return A+=(h-F.strokeDashoffset+y)*100/h,n.createElement("circle",{key:Z,className:"".concat(s,"-circle-path"),r:k,cx:0,cy:0,stroke:oe,strokeWidth:i,opacity:1,style:F,ref:function(Ve){se[Z]=Ve}})})};return n.createElement("svg",(0,Q.Z)({className:w()("".concat(s,"-circle"),m),viewBox:"".concat(-R/2," ").concat(-R/2," ").concat(R," ").concat(R),style:u,id:r,role:"presentation"},d),V&&n.createElement("defs",null,n.createElement("linearGradient",{id:L,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(V).sort(function(P,N){return ee(P)-ee(N)}).map(function(P,N){return n.createElement("stop",{key:N,offset:P,stopColor:V[P]})}))),!S&&n.createElement("circle",{className:"".concat(s,"-circle-trail"),r:k,cx:0,cy:0,stroke:f,strokeLinecap:v,strokeWidth:l||i,style:E}),S?Ke():Ue())};U.defaultProps=J,U.displayName="Circle";var re=U,Ye={Line:fe,Circle:re},$e=p(83062),K=p(78589);function D(t){return!t||t<0?0:t>100?100:t}function X(t){let{success:e,successPercent:r}=t,s=r;return e&&"progress"in e&&(s=e.progress),e&&"percent"in e&&(s=e.percent),s}const ke=t=>{let{percent:e,success:r,successPercent:s}=t;const o=D(X({success:r,successPercent:s}));return[o,D(D(e)-o)]},be=t=>{let{success:e={},strokeColor:r}=t;const{strokeColor:s}=e;return[s||K.ez.green,r||null]},xe=3,Ee=t=>xe/t*100;var Pe=t=>{const{prefixCls:e,width:r=120,strokeWidth:s=Math.max(Ee(r),6),trailColor:o=null,strokeLinecap:i="round",gapPosition:l,gapDegree:a,type:c,children:g,success:f}=t,v={width:r,height:r,fontSize:r*.15+6},u=n.useMemo(()=>{if(a||a===0)return a;if(c==="dashboard")return 75},[a,c]),m=l||c==="dashboard"&&"bottom"||void 0,C=Object.prototype.toString.call(t.strokeColor)==="[object Object]",$=be({success:f,strokeColor:t.strokeColor}),d=w()(`${e}-inner`,{[`${e}-circle-gradient`]:C}),I=n.createElement(re,{percent:ke(t),strokeWidth:s,trailWidth:s,strokeColor:$,strokeLinecap:i,trailColor:o,prefixCls:e,gapDegree:u,gapPosition:m});return n.createElement("div",{className:d,style:v},r<=20?n.createElement($e.Z,{title:g},I):n.createElement(n.Fragment,null,I,g))},Ie=function(t,e){var r={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(r[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,s=Object.getOwnPropertySymbols(t);o{let e=[];return Object.keys(t).forEach(r=>{const s=parseFloat(r.replace(/%/g,""));isNaN(s)||e.push({key:s,value:t[r]})}),e=e.sort((r,s)=>r.key-s.key),e.map(r=>{let{key:s,value:o}=r;return`${o} ${s}%`}).join(", ")},Oe=(t,e)=>{const{from:r=K.ez.blue,to:s=K.ez.blue,direction:o=e==="rtl"?"to left":"to right"}=t,i=Ie(t,["from","to","direction"]);if(Object.keys(i).length!==0){const l=Le(i);return{backgroundImage:`linear-gradient(${o}, ${l})`}}return{backgroundImage:`linear-gradient(${o}, ${r}, ${s})`}};var Ne=t=>{const{prefixCls:e,direction:r,percent:s,strokeWidth:o,size:i,strokeColor:l,strokeLinecap:a="round",children:c,trailColor:g=null,success:f}=t,v=l&&typeof l!="string"?Oe(l,r):{backgroundColor:l},u=a==="square"||a==="butt"?0:void 0,m={backgroundColor:g||void 0,borderRadius:u},C=Object.assign({width:`${D(s)}%`,height:o||(i==="small"?6:8),borderRadius:u},v),$=X(t),d={width:`${D($)}%`,height:o||(i==="small"?6:8),borderRadius:u,backgroundColor:f==null?void 0:f.strokeColor};return n.createElement(n.Fragment,null,n.createElement("div",{className:`${e}-outer`},n.createElement("div",{className:`${e}-inner`,style:m},n.createElement("div",{className:`${e}-bg`,style:C}),$!==void 0?n.createElement("div",{className:`${e}-success-bg`,style:d}):null)),c)},De=t=>{const{size:e,steps:r,percent:s=0,strokeWidth:o=8,strokeColor:i,trailColor:l=null,prefixCls:a,children:c}=t,g=Math.round(r*(s/100)),f=e==="small"?2:14,v=new Array(r);for(let u=0;u{const{componentCls:e,iconCls:r}=t;return{[e]:Object.assign(Object.assign({},(0,we.Wf)(t)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:t.fontSize,marginInlineEnd:t.marginXS,marginBottom:t.marginXS},[`${e}-outer`]:{display:"inline-block",width:"100%"},[`&${e}-show-info`]:{[`${e}-outer`]:{marginInlineEnd:`calc(-2em - ${t.marginXS}px)`,paddingInlineEnd:`calc(2em + ${t.paddingXS}px)`}},[`${e}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:t.progressRemainingColor,borderRadius:t.progressLineRadius},[`${e}-inner:not(${e}-circle-gradient)`]:{[`${e}-circle-path`]:{stroke:t.colorInfo}},[`&${e}-success-bg, ${e}-bg`]:{position:"relative",backgroundColor:t.colorInfo,borderRadius:t.progressLineRadius,transition:`all ${t.motionDurationSlow} ${t.motionEaseInOutCirc}`},[`${e}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:t.colorSuccess},[`${e}-text`]:{display:"inline-block",width:"2em",marginInlineStart:t.marginXS,color:t.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:t.fontSize}},[`&${e}-status-active`]:{[`${e}-bg::before`]:{position:"absolute",inset:0,backgroundColor:t.colorBgContainer,borderRadius:t.progressLineRadius,opacity:0,animationName:Re,animationDuration:t.progressActiveMotionDuration,animationTimingFunction:t.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${e}-status-exception`]:{[`${e}-bg`]:{backgroundColor:t.colorError},[`${e}-text`]:{color:t.colorError}},[`&${e}-status-exception ${e}-inner:not(${e}-circle-gradient)`]:{[`${e}-circle-path`]:{stroke:t.colorError}},[`&${e}-status-success`]:{[`${e}-bg`]:{backgroundColor:t.colorSuccess},[`${e}-text`]:{color:t.colorSuccess}},[`&${e}-status-success ${e}-inner:not(${e}-circle-gradient)`]:{[`${e}-circle-path`]:{stroke:t.colorSuccess}}})}},Ze=t=>{const{componentCls:e,iconCls:r}=t;return{[e]:{[`${e}-circle-trail`]:{stroke:t.progressRemainingColor},[`&${e}-circle ${e}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${e}-circle ${e}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:t.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${t.fontSize/t.fontSizeSM}em`}},[`${e}-circle&-status-exception`]:{[`${e}-text`]:{color:t.colorError}},[`${e}-circle&-status-success`]:{[`${e}-text`]:{color:t.colorSuccess}}},[`${e}-inline-circle`]:{lineHeight:1,[`${e}-inner`]:{verticalAlign:"bottom"}}}},ze=t=>{const{componentCls:e}=t;return{[e]:{[`${e}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:t.progressStepMinWidth,marginInlineEnd:t.progressStepMarginInlineEnd,backgroundColor:t.progressRemainingColor,transition:`all ${t.motionDurationSlow}`,"&-active":{backgroundColor:t.colorInfo}}}}}},Te=t=>{const{componentCls:e,iconCls:r}=t;return{[e]:{[`${e}-small&-line, ${e}-small&-line ${e}-text ${r}`]:{fontSize:t.fontSizeSM}}}};var Xe=(0,je.Z)("Progress",t=>{const e=t.marginXXS/2,r=(0,Ae.TS)(t,{progressLineRadius:100,progressInfoTextColor:t.colorText,progressDefaultColor:t.colorInfo,progressRemainingColor:t.colorFillSecondary,progressStepMarginInlineEnd:e,progressStepMinWidth:e,progressActiveMotionDuration:"2.4s"});return[Me(r),Ze(r),ze(r),Te(r)]}),Be=function(t,e){var r={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(r[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,s=Object.getOwnPropertySymbols(t);o{const{prefixCls:e,className:r,steps:s,strokeColor:o,percent:i=0,size:l="default",showInfo:a=!0,type:c="line",status:g,format:f}=t,v=Be(t,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type","status","format"]),u=n.useMemo(()=>{var S,y;const E=X(t);return parseInt(E!==void 0?(S=E!=null?E:0)===null||S===void 0?void 0:S.toString():(y=i!=null?i:0)===null||y===void 0?void 0:y.toString(),10)},[i,t.success,t.successPercent]),m=n.useMemo(()=>!Fe.includes(g)&&u>=100?"success":g||"normal",[g,u]),{getPrefixCls:C,direction:$}=n.useContext(pe.E_),d=C("progress",e),[I,L]=Xe(d),k=n.useMemo(()=>{if(!a)return null;const S=X(t);let y;const E=f||(j=>`${j}%`),W=c==="line";return f||m!=="exception"&&m!=="success"?y=E(D(i),D(S)):m==="exception"?y=W?n.createElement(ce.Z,null):n.createElement(le.Z,null):m==="success"&&(y=W?n.createElement(ie.Z,null):n.createElement(ae.Z,null)),n.createElement("span",{className:`${d}-text`,title:typeof y=="string"?y:void 0},y)},[a,u,m,c,d,f]),b=Array.isArray(o)?o[0]:o,O=typeof o=="string"||Array.isArray(o)?o:void 0;let h;c==="line"?h=s?n.createElement(De,Object.assign({},t,{strokeColor:O,prefixCls:d,steps:s}),k):n.createElement(Ne,Object.assign({},t,{strokeColor:b,prefixCls:d,direction:$}),k):(c==="circle"||c==="dashboard")&&(h=n.createElement(Pe,Object.assign({},t,{strokeColor:b,prefixCls:d,progressStatus:m}),k));const x=w()(d,{[`${d}-inline-circle`]:c==="circle"&&t.width<=20,[`${d}-${c==="dashboard"&&"circle"||s&&"steps"||c}`]:!0,[`${d}-status-${m}`]:!0,[`${d}-show-info`]:a,[`${d}-${l}`]:l,[`${d}-rtl`]:$==="rtl"},r,L);return I(n.createElement("div",Object.assign({className:x,role:"progressbar"},(0,de.Z)(v,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),h))},Ge=He}}]); diff --git a/statics/9847.82999777.async.js b/statics/9847.82999777.async.js new file mode 100644 index 00000000..35254646 --- /dev/null +++ b/statics/9847.82999777.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9847],{59847:function(jn,Zt,o){o.d(Zt,{Z:function(){return Mn}});var l=o(67294),Mt=o(93967),st=o.n(Mt),ut=o(87462),re=o(74902),O=o(1413),ae=o(97685),dt=o(45987),Vt=o(71002),ft=o(82275),Ot=o(88708),nt=o(17341),vt=o(21770),Ye=o(80334),Kt=function(e){var t=l.useRef({valueLabels:new Map});return l.useMemo(function(){var r=t.current.valueLabels,a=new Map,n=e.map(function(i){var c,s=i.value,u=(c=i.label)!==null&&c!==void 0?c:r.get(s);return a.set(s,u),(0,O.Z)((0,O.Z)({},i),{},{label:u})});return t.current.valueLabels=a,[n]},[e])},kt=function(e,t,r,a){return l.useMemo(function(){var n=e.map(function(u){var d=u.value;return d}),i=t.map(function(u){var d=u.value;return d}),c=n.filter(function(u){return!a[u]});if(r){var s=(0,nt.S)(n,!0,a);n=s.checkedKeys,i=s.halfCheckedKeys}return[Array.from(new Set([].concat((0,re.Z)(c),(0,re.Z)(n)))),i]},[e,t,r,a])},At=o(1089),$t=function(e,t){return l.useMemo(function(){var r=(0,At.I8)(e,{fieldNames:t,initWrapper:function(n){return(0,O.Z)((0,O.Z)({},n),{},{valueEntities:new Map})},processEntity:function(n,i){var c=n.node[t.value];if(!1)var s;i.valueEntities.set(c,n)}});return r},[e,t])},Rt=o(4942),Ht=o(50344),Wt=function(){return null},rt=Wt,Ft=["children","value"];function ht(e){return(0,Ht.Z)(e).map(function(t){if(!l.isValidElement(t)||!t.type)return null;var r=t,a=r.key,n=r.props,i=n.children,c=n.value,s=(0,dt.Z)(n,Ft),u=(0,O.Z)({key:a,value:c},s),d=ht(i);return d.length&&(u.children=d),u}).filter(function(t){return t})}function at(e){if(!e)return e;var t=(0,O.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,Ye.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function jt(e,t,r,a,n,i){var c=null,s=null;function u(){function d(f){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return f.map(function(x,K){var P="".concat(N,"-").concat(K),w=x[i.value],F=r.includes(w),G=d(x[i.children]||[],P,F),j=l.createElement(rt,x,G.map(function(U){return U.node}));if(t===w&&(c=j),F){var le={pos:P,node:j,children:G};return T||s.push(le),le}return null}).filter(function(x){return x})}s||(s=[],d(a),s.sort(function(f,N){var T=f.node.props.value,x=N.node.props.value,K=r.indexOf(T),P=r.indexOf(x);return K-P}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),u(),c}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),u(),n?s:s.map(function(f){var N=f.node;return N})}})}var Ut=function(e,t,r){var a=r.treeNodeFilterProp,n=r.filterTreeNode,i=r.fieldNames,c=i.children;return l.useMemo(function(){if(!t||n===!1)return e;var s;if(typeof n=="function")s=n;else{var u=t.toUpperCase();s=function(N,T){var x=T[a];return String(x).toUpperCase().includes(u)}}function d(f){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return f.reduce(function(T,x){var K=x[c],P=N||s(t,at(x)),w=d(K||[],P);return(P||w.length)&&T.push((0,O.Z)((0,O.Z)({},x),{},(0,Rt.Z)({isLeaf:void 0},c,w))),T},[])}return d(e)},[e,t,c,a,n])};function mt(e){var t=l.useRef();t.current=e;var r=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return r}function zt(e,t){var r=t.id,a=t.pId,n=t.rootPId,i={},c=[],s=e.map(function(u){var d=(0,O.Z)({},u),f=d[r];return i[f]=d,d.key=d.key||f,d});return s.forEach(function(u){var d=u[a],f=i[d];f&&(f.children=f.children||[],f.children.push(u)),(d===n||!f&&n===null)&&c.push(u)}),c}function Bt(e,t,r){return l.useMemo(function(){return e?r?zt(e,(0,O.Z)({id:"id",pId:"pId",rootPId:null},r!==!0?r:{})):e:ht(t)},[t,r,e])}var Yt=l.createContext(null),pt=Yt,Gt=o(70593),Le=o(15105),Xt=o(56982),Jt=l.createContext(null),gt=Jt;function Qt(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function qt(e){var t=e||{},r=t.label,a=t.value,n=t.children,i=a||"value";return{_title:r?[r]:["title","label"],value:i,key:i,children:n||"children"}}function lt(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function _t(e,t){var r=[];function a(n){n.forEach(function(i){var c=i[t.children];c&&(r.push(i[t.value]),a(c))})}return a(e),r}function St(e){return e==null}var en={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},tn=function(t,r){var a=(0,ft.lk)(),n=a.prefixCls,i=a.multiple,c=a.searchValue,s=a.toggleOpen,u=a.open,d=a.notFoundContent,f=l.useContext(gt),N=f.virtual,T=f.listHeight,x=f.listItemHeight,K=f.listItemScrollOffset,P=f.treeData,w=f.fieldNames,F=f.onSelect,G=f.dropdownMatchSelectWidth,j=f.treeExpandAction,le=f.treeTitleRender,U=f.onPopupScroll,g=l.useContext(pt),R=g.checkable,L=g.checkedKeys,Ze=g.halfCheckedKeys,pe=g.treeExpandedKeys,ge=g.treeDefaultExpandAll,Se=g.treeDefaultExpandedKeys,Ce=g.onTreeExpand,X=g.treeIcon,Me=g.showTreeIcon,J=g.switcherIcon,Ve=g.treeLine,Q=g.treeNodeFilterProp,oe=g.loadData,H=g.treeLoadedKeys,Oe=g.treeMotion,Ke=g.onTreeLoad,ke=g.keyEntities,z=l.useRef(),b=(0,Xt.Z)(function(){return P},[u,P],function(I,v){return v[0]&&I[1]!==v[1]}),ye=l.useState(null),k=(0,ae.Z)(ye,2),ie=k[0],ce=k[1],Z=ke[ie],se=l.useMemo(function(){return R?{checked:L,halfChecked:Ze}:null},[R,L,Ze]);l.useEffect(function(){if(u&&!i&&L.length){var I;(I=z.current)===null||I===void 0||I.scrollTo({key:L[0]}),ce(L[0])}},[u]);var xe=String(c).toLowerCase(),Ie=function(v){return xe?String(v[Q]).toLowerCase().includes(xe):!1},be=l.useState(Se),q=(0,ae.Z)(be,2),Ee=q[0],Fe=q[1],je=l.useState(null),W=(0,ae.Z)(je,2),_=W[0],Te=W[1],A=l.useMemo(function(){return pe?(0,re.Z)(pe):c?_:Ee},[Ee,_,pe,c]);l.useEffect(function(){c&&Te(_t(P,w))},[c]);var Ae=function(v){Fe(v),Te(v),Ce&&Ce(v)},Pe=function(v){v.preventDefault()},B=function(v,ue){var $=ue.node;R&<($)||(F($.key,{selected:!L.includes($.key)}),i||s(!1))};if(l.useImperativeHandle(r,function(){var I;return{scrollTo:(I=z.current)===null||I===void 0?void 0:I.scrollTo,onKeyDown:function(ue){var $,de=ue.which;switch(de){case Le.Z.UP:case Le.Z.DOWN:case Le.Z.LEFT:case Le.Z.RIGHT:($=z.current)===null||$===void 0||$.onKeyDown(ue);break;case Le.Z.ENTER:{if(Z){var we=(Z==null?void 0:Z.node)||{},Ue=we.selectable,ee=we.value;Ue!==!1&&B(null,{node:{key:ie},selected:!L.includes(ee)})}break}case Le.Z.ESC:s(!1)}},onKeyUp:function(){}}}),b.length===0)return l.createElement("div",{role:"listbox",className:"".concat(n,"-empty"),onMouseDown:Pe},d);var Ne={fieldNames:w};return H&&(Ne.loadedKeys=H),A&&(Ne.expandedKeys=A),l.createElement("div",{onMouseDown:Pe},Z&&u&&l.createElement("span",{style:en,"aria-live":"assertive"},Z.node.value),l.createElement(Gt.Z,(0,ut.Z)({ref:z,focusable:!1,prefixCls:"".concat(n,"-tree"),treeData:b,height:T,itemHeight:x,itemScrollOffset:K,virtual:N!==!1&&G!==!1,multiple:i,icon:X,showIcon:Me,switcherIcon:J,showLine:Ve,loadData:c?null:oe,motion:Oe,activeKey:ie,checkable:R,checkStrictly:!0,checkedKeys:se,selectedKeys:R?[]:L,defaultExpandAll:ge,titleRender:le},Ne,{onActiveChange:ce,onSelect:B,onCheck:B,onExpand:Ae,onLoad:Ke,filterTreeNode:Ie,expandAction:j,onScroll:U})))},nn=l.forwardRef(tn),rn=nn,ot="SHOW_ALL",it="SHOW_PARENT",Ge="SHOW_CHILD";function Ct(e,t,r,a){var n=new Set(e);return t===Ge?e.filter(function(i){var c=r[i];return!(c&&c.children&&c.children.some(function(s){var u=s.node;return n.has(u[a.value])})&&c.children.every(function(s){var u=s.node;return lt(u)||n.has(u[a.value])}))}):t===it?e.filter(function(i){var c=r[i],s=c?c.parent:null;return!(s&&!lt(s.node)&&n.has(s.key))}):e}function Un(e){var t=e.searchPlaceholder,r=e.treeCheckStrictly,a=e.treeCheckable,n=e.labelInValue,i=e.value,c=e.multiple;warning(!t,"`searchPlaceholder` has been removed."),r&&n===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(n||r)&&warning(toArray(i).every(function(s){return s&&_typeof(s)==="object"&&"value"in s}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),r||c||a?warning(!i||Array.isArray(i),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(i),"`value` should not be array when `TreeSelect` is single mode.")}var zn=null,an=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function ln(e){return!e||(0,Vt.Z)(e)!=="object"}var on=l.forwardRef(function(e,t){var r=e.id,a=e.prefixCls,n=a===void 0?"rc-tree-select":a,i=e.value,c=e.defaultValue,s=e.onChange,u=e.onSelect,d=e.onDeselect,f=e.searchValue,N=e.inputValue,T=e.onSearch,x=e.autoClearSearchValue,K=x===void 0?!0:x,P=e.filterTreeNode,w=e.treeNodeFilterProp,F=w===void 0?"value":w,G=e.showCheckedStrategy,j=e.treeNodeLabelProp,le=e.multiple,U=e.treeCheckable,g=e.treeCheckStrictly,R=e.labelInValue,L=e.fieldNames,Ze=e.treeDataSimpleMode,pe=e.treeData,ge=e.children,Se=e.loadData,Ce=e.treeLoadedKeys,X=e.onTreeLoad,Me=e.treeDefaultExpandAll,J=e.treeExpandedKeys,Ve=e.treeDefaultExpandedKeys,Q=e.onTreeExpand,oe=e.treeExpandAction,H=e.virtual,Oe=e.listHeight,Ke=Oe===void 0?200:Oe,ke=e.listItemHeight,z=ke===void 0?20:ke,b=e.listItemScrollOffset,ye=b===void 0?0:b,k=e.onDropdownVisibleChange,ie=e.dropdownMatchSelectWidth,ce=ie===void 0?!0:ie,Z=e.treeLine,se=e.treeIcon,xe=e.showTreeIcon,Ie=e.switcherIcon,be=e.treeMotion,q=e.treeTitleRender,Ee=e.onPopupScroll,Fe=(0,dt.Z)(e,an),je=(0,Ot.ZP)(r),W=U&&!g,_=U||g,Te=g||R,A=_||le,Ae=(0,vt.Z)(c,{value:i}),Pe=(0,ae.Z)(Ae,2),B=Pe[0],Ne=Pe[1],I=l.useMemo(function(){return U?G||Ge:ot},[G,U]),v=l.useMemo(function(){return qt(L)},[JSON.stringify(L)]),ue=(0,vt.Z)("",{value:f!==void 0?f:N,postState:function(h){return h||""}}),$=(0,ae.Z)(ue,2),de=$[0],we=$[1],Ue=function(h){we(h),T==null||T(h)},ee=Bt(pe,ge,Ze),Xe=$t(ee,v),D=Xe.keyEntities,te=Xe.valueEntities,Je=l.useCallback(function(m){var h=[],p=[];return m.forEach(function(C){te.has(C)?p.push(C):h.push(C)}),{missingRawValues:h,existRawValues:p}},[te]),Qe=Ut(ee,de,{fieldNames:v,treeNodeFilterProp:F,filterTreeNode:P}),qe=l.useCallback(function(m){if(m){if(j)return m[j];for(var h=v._title,p=0;p{const{componentCls:t,treePrefixCls:r,colorBgElevated:a}=e,n=`.${r}`;return[{[`${t}-dropdown`]:[{padding:`${(0,bt.bf)(e.paddingXS)} ${(0,bt.bf)(e.calc(e.paddingXS).div(2).equal())}`},(0,Tt.Yk)(r,(0,Et.TS)(e,{colorBgContainer:a})),{[n]:{borderRadius:0,[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-treenode`]:{[`${n}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Tn.C2)(`${r}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${n}-switcher${n}-switcher_close`]:{[`${n}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Bn=null;function wn(e,t,r){return(0,Pn.I$)("TreeSelect",a=>{const n=(0,Et.TS)(a,{treePrefixCls:t});return[Nn(n)]},Tt.TM)(e,r)}var Dn=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n{var r,{prefixCls:a,size:n,disabled:i,bordered:c=!0,className:s,rootClassName:u,treeCheckable:d,multiple:f,listHeight:N=256,listItemHeight:T=26,placement:x,notFoundContent:K,switcherIcon:P,treeLine:w,getPopupContainer:F,popupClassName:G,dropdownClassName:j,treeIcon:le=!1,transitionName:U,choiceTransitionName:g="",status:R,treeExpandAction:L,builtinPlacements:Ze,dropdownMatchSelectWidth:pe,popupMatchSelectWidth:ge,allowClear:Se,variant:Ce,dropdownStyle:X,tagRender:Me}=e,J=Dn(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:Ve,getPrefixCls:Q,renderEmpty:oe,direction:H,virtual:Oe,popupMatchSelectWidth:Ke,popupOverflow:ke}=l.useContext(vn.E_),z=Q(),b=Q("select",a),ye=Q("select-tree",a),k=Q("tree-select",a),{compactSize:ie,compactItemClassnames:ce}=(0,bn.ri)(b,H),Z=(0,It.Z)(b),se=(0,It.Z)(k),[xe,Ie,be]=(0,yn.Z)(b,Z),[q]=wn(k,ye,se),[Ee,Fe]=(0,Sn.Z)(Ce,c),je=st()(G||j,`${k}-dropdown`,{[`${k}-dropdown-rtl`]:H==="rtl"},u,be,Z,se,Ie),W=!!(d||f),_=(0,In.Z)(J.suffixIcon,J.showArrow),Te=(r=ge!=null?ge:pe)!==null&&r!==void 0?r:Ke,{status:A,hasFeedback:Ae,isFormItemInput:Pe,feedbackIcon:B}=l.useContext(gn.aM),Ne=(0,xt.F)(A,R),{suffixIcon:I,removeIcon:v,clearIcon:ue}=(0,xn.Z)(Object.assign(Object.assign({},J),{multiple:W,showSuffixIcon:_,hasFeedback:Ae,feedbackIcon:B,prefixCls:b,componentName:"TreeSelect"})),$=Se===!0?{clearIcon:ue}:Se;let de;K!==void 0?de=K:de=(oe==null?void 0:oe("Select"))||l.createElement(hn.Z,{componentName:"Select"});const we=(0,un.Z)(J,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Ue=l.useMemo(()=>x!==void 0?x:H==="rtl"?"bottomRight":"bottomLeft",[x,H]),ee=(0,pn.Z)(ne=>{var fe;return(fe=n!=null?n:ie)!==null&&fe!==void 0?fe:ne}),Xe=l.useContext(mn.Z),D=i!=null?i:Xe,te=st()(!a&&k,{[`${b}-lg`]:ee==="large",[`${b}-sm`]:ee==="small",[`${b}-rtl`]:H==="rtl",[`${b}-${Ee}`]:Fe,[`${b}-in-form-item`]:Pe},(0,xt.Z)(b,Ne,Ae),ce,s,u,be,Z,se,Ie),Je=ne=>l.createElement(En.Z,{prefixCls:ye,switcherIcon:P,treeNodeProps:ne,showLine:w}),[Qe]=(0,dn.Cn)("SelectLike",X==null?void 0:X.zIndex),qe=l.createElement(sn,Object.assign({virtual:Oe,disabled:D},we,{dropdownMatchSelectWidth:Te,builtinPlacements:(0,Cn.Z)(Ze,ke),ref:t,prefixCls:b,className:te,listHeight:N,listItemHeight:T,treeCheckable:d&&l.createElement("span",{className:`${b}-tree-checkbox-inner`}),treeLine:!!w,suffixIcon:I,multiple:W,placement:Ue,removeIcon:v,allowClear:$,switcherIcon:Je,showTreeIcon:le,notFoundContent:de,getPopupContainer:F||Ve,treeMotion:null,dropdownClassName:je,dropdownStyle:Object.assign(Object.assign({},X),{zIndex:Qe}),choiceTransitionName:(0,yt.m)(z,"",g),transitionName:(0,yt.m)(z,"slide-up",U),treeExpandAction:L,tagRender:W?Me:void 0}));return xe(q(qe))},me=l.forwardRef(Ln),Zn=(0,fn.Z)(me);me.TreeNode=rt,me.SHOW_ALL=ot,me.SHOW_PARENT=it,me.SHOW_CHILD=Ge,me._InternalPanelDoNotUseOrYouWillBeFired=Zn;var Mn=me}}]); diff --git a/statics/9847.b08d50f5.async.js b/statics/9847.b08d50f5.async.js deleted file mode 100644 index 0eedbd88..00000000 --- a/statics/9847.b08d50f5.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9847],{59847:function(kr,wt,s){s.d(wt,{Z:function(){return xr}});var Tt=s(94184),rt=s.n(Tt),nt=s(87462),X=s(74902),M=s(1413),J=s(97685),at=s(45987),Nt=s(71002),l=s(67294),lt=s(7752),Xe=s(17341),Dt=s(88708),ot=s(21770),Se=s(15105),Lt=s(56982),Pt=s(31343),Zt=l.createContext(null),it=Zt,kt=l.createContext(null),ut=kt;function Kt(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function Vt(e){var t=e||{},r=t.label,a=t.value,n=t.children,u=a||"value";return{_title:r?[r]:["title","label"],value:u,key:u,children:n||"children"}}function Je(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function Mt(e,t){var r=[];function a(n){n.forEach(function(u){var o=u[t.children];o&&(r.push(u[t.value]),a(o))})}return a(e),r}function ct(e){return e==null}var At={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ot=function(t,r){var a=(0,lt.lk)(),n=a.prefixCls,u=a.multiple,o=a.searchValue,i=a.toggleOpen,c=a.open,d=a.notFoundContent,f=l.useContext(ut),w=f.virtual,S=f.listHeight,I=f.listItemHeight,T=f.treeData,L=f.fieldNames,j=f.onSelect,H=f.dropdownMatchSelectWidth,U=f.treeExpandAction,g=l.useContext(it),P=g.checkable,Z=g.checkedKeys,z=g.halfCheckedKeys,O=g.treeExpandedKeys,ae=g.treeDefaultExpandAll,xe=g.treeDefaultExpandedKeys,B=g.onTreeExpand,le=g.treeIcon,Q=g.showTreeIcon,Ie=g.switcherIcon,be=g.treeLine,Ee=g.treeNodeFilterProp,oe=g.loadData,b=g.treeLoadedKeys,ie=g.treeMotion,Y=g.onTreeLoad,we=g.keyEntities,G=l.useRef(),ue=(0,Lt.Z)(function(){return T},[c,T],function(v,N){return N[0]&&v[1]!==N[1]}),ce=l.useMemo(function(){return P?{checked:Z,halfChecked:z}:null},[P,Z,z]);l.useEffect(function(){if(c&&!u&&Z.length){var v;(v=G.current)===null||v===void 0||v.scrollTo({key:Z[0]})}},[c]);var se=String(o).toLowerCase(),Te=function(N){return se?String(N[Ee]).toLowerCase().includes(se):!1},q=l.useState(xe),de=(0,J.Z)(q,2),_=de[0],ee=de[1],Ne=l.useState(null),fe=(0,J.Z)(Ne,2),ve=fe[0],he=fe[1],De=l.useMemo(function(){return O?(0,X.Z)(O):o?ve:_},[_,ve,O,o]);l.useEffect(function(){o&&he(Mt(T,L))},[o]);var Ae=function(N){ee(N),he(N),B&&B(N)},$=function(N){N.preventDefault()},R=function(N,ge){var F=ge.node;P&&Je(F)||(j(F.key,{selected:!Z.includes(F.key)}),u||i(!1))},Le=l.useState(null),k=(0,J.Z)(Le,2),me=k[0],Pe=k[1],K=we[me];if(l.useImperativeHandle(r,function(){var v;return{scrollTo:(v=G.current)===null||v===void 0?void 0:v.scrollTo,onKeyDown:function(ge){var F,We=ge.which;switch(We){case Se.Z.UP:case Se.Z.DOWN:case Se.Z.LEFT:case Se.Z.RIGHT:(F=G.current)===null||F===void 0||F.onKeyDown(ge);break;case Se.Z.ENTER:{if(K){var je=(K==null?void 0:K.node)||{},Ze=je.selectable,Ue=je.value;Ze!==!1&&R(null,{node:{key:me},selected:!Z.includes(Ue)})}break}case Se.Z.ESC:i(!1)}},onKeyUp:function(){}}}),ue.length===0)return l.createElement("div",{role:"listbox",className:"".concat(n,"-empty"),onMouseDown:$},d);var pe={fieldNames:L};return b&&(pe.loadedKeys=b),De&&(pe.expandedKeys=De),l.createElement("div",{onMouseDown:$},K&&c&&l.createElement("span",{style:At,"aria-live":"assertive"},K.node.value),l.createElement(Pt.Z,(0,nt.Z)({ref:G,focusable:!1,prefixCls:"".concat(n,"-tree"),treeData:ue,height:S,itemHeight:I,virtual:w!==!1&&H!==!1,multiple:u,icon:le,showIcon:Q,switcherIcon:Ie,showLine:be,loadData:o?null:oe,motion:ie,activeKey:me,checkable:P,checkStrictly:!0,checkedKeys:ce,selectedKeys:P?[]:Z,defaultExpandAll:ae},pe,{onActiveChange:Pe,onSelect:R,onCheck:R,onExpand:Ae,onLoad:Y,filterTreeNode:Te,expandAction:U})))},st=l.forwardRef(Ot);st.displayName="OptionList";var $t=st,Ht=function(){return null},Qe=Ht,dt="SHOW_ALL",qe="SHOW_PARENT",Re="SHOW_CHILD";function ft(e,t,r,a){var n=new Set(e);return t===Re?e.filter(function(u){var o=r[u];return!(o&&o.children&&o.children.some(function(i){var c=i.node;return n.has(c[a.value])})&&o.children.every(function(i){var c=i.node;return Je(c)||n.has(c[a.value])}))}):t===qe?e.filter(function(u){var o=r[u],i=o?o.parent:null;return!(i&&!Je(i.node)&&n.has(i.key))}):e}var Rt=s(50344),Fe=s(80334),Ft=["children","value"];function vt(e){return(0,Rt.Z)(e).map(function(t){if(!l.isValidElement(t)||!t.type)return null;var r=t,a=r.key,n=r.props,u=n.children,o=n.value,i=(0,at.Z)(n,Ft),c=(0,M.Z)({key:a,value:o},i),d=vt(u);return d.length&&(c.children=d),c}).filter(function(t){return t})}function _e(e){if(!e)return e;var t=(0,M.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,Fe.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function Wt(e,t,r,a,n,u){var o=null,i=null;function c(){function d(f){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return f.map(function(I,T){var L="".concat(w,"-").concat(T),j=I[u.value],H=r.includes(j),U=d(I[u.children]||[],L,H),g=l.createElement(Qe,I,U.map(function(Z){return Z.node}));if(t===j&&(o=g),H){var P={pos:L,node:g,children:U};return S||i.push(P),P}return null}).filter(function(I){return I})}i||(i=[],d(a),i.sort(function(f,w){var S=f.node.props.value,I=w.node.props.value,T=r.indexOf(S),L=r.indexOf(I);return T-L}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,Fe.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return(0,Fe.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),n?i:i.map(function(f){var w=f.node;return w})}})}function jt(e,t){var r=t.id,a=t.pId,n=t.rootPId,u={},o=[],i=e.map(function(c){var d=(0,M.Z)({},c),f=d[r];return u[f]=d,d.key=d.key||f,d});return i.forEach(function(c){var d=c[a],f=u[d];f&&(f.children=f.children||[],f.children.push(c)),(d===n||!f&&n===null)&&o.push(c)}),o}function Ut(e,t,r){return l.useMemo(function(){return e?r?jt(e,(0,M.Z)({id:"id",pId:"pId",rootPId:null},r!==!0?r:{})):e:vt(t)},[t,r,e])}var zt=function(e){var t=l.useRef({valueLabels:new Map});return l.useMemo(function(){var r=t.current.valueLabels,a=new Map,n=e.map(function(u){var o,i=u.value,c=(o=u.label)!==null&&o!==void 0?o:r.get(i);return a.set(i,c),(0,M.Z)((0,M.Z)({},u),{},{label:c})});return t.current.valueLabels=a,[n]},[e])};function ht(e){var t=l.useRef();t.current=e;var r=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return r}var Bt=s(1089),Yt=function(e,t){return l.useMemo(function(){var r=(0,Bt.I8)(e,{fieldNames:t,initWrapper:function(n){return(0,M.Z)((0,M.Z)({},n),{},{valueEntities:new Map})},processEntity:function(n,u){var o=n.node[t.value];if(!1)var i;u.valueEntities.set(o,n)}});return r},[e,t])},Gt=function(e,t,r,a){return l.useMemo(function(){var n=e.map(function(c){var d=c.value;return d}),u=t.map(function(c){var d=c.value;return d}),o=n.filter(function(c){return!a[c]});if(r){var i=(0,Xe.S)(n,!0,a);n=i.checkedKeys,u=i.halfCheckedKeys}return[Array.from(new Set([].concat((0,X.Z)(o),(0,X.Z)(n)))),u]},[e,t,r,a])},Xt=s(4942),Jt=function(e,t,r){var a=r.treeNodeFilterProp,n=r.filterTreeNode,u=r.fieldNames,o=u.children;return l.useMemo(function(){if(!t||n===!1)return e;var i;if(typeof n=="function")i=n;else{var c=t.toUpperCase();i=function(w,S){var I=S[a];return String(I).toUpperCase().includes(c)}}function d(f){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return f.map(function(S){var I=S[o],T=w||i(t,_e(S)),L=d(I||[],T);return T||L.length?(0,M.Z)((0,M.Z)({},S),{},(0,Xt.Z)({isLeaf:void 0},o,L)):null}).filter(function(S){return S})}return d(e)},[e,t,o,a,n])};function Kr(e){var t=e.searchPlaceholder,r=e.treeCheckStrictly,a=e.treeCheckable,n=e.labelInValue,u=e.value,o=e.multiple;warning(!t,"`searchPlaceholder` has been removed."),r&&n===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(n||r)&&warning(toArray(u).every(function(i){return i&&_typeof(i)==="object"&&"value"in i}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),r||o||a?warning(!u||Array.isArray(u),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(u),"`value` should not be array when `TreeSelect` is single mode.")}var Vr=null,Qt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function qt(e){return!e||(0,Nt.Z)(e)!=="object"}var _t=l.forwardRef(function(e,t){var r=e.id,a=e.prefixCls,n=a===void 0?"rc-tree-select":a,u=e.value,o=e.defaultValue,i=e.onChange,c=e.onSelect,d=e.onDeselect,f=e.searchValue,w=e.inputValue,S=e.onSearch,I=e.autoClearSearchValue,T=I===void 0?!0:I,L=e.filterTreeNode,j=e.treeNodeFilterProp,H=j===void 0?"value":j,U=e.showCheckedStrategy,g=U===void 0?Re:U,P=e.treeNodeLabelProp,Z=e.multiple,z=e.treeCheckable,O=e.treeCheckStrictly,ae=e.labelInValue,xe=e.fieldNames,B=e.treeDataSimpleMode,le=e.treeData,Q=e.children,Ie=e.loadData,be=e.treeLoadedKeys,Ee=e.onTreeLoad,oe=e.treeDefaultExpandAll,b=e.treeExpandedKeys,ie=e.treeDefaultExpandedKeys,Y=e.onTreeExpand,we=e.treeExpandAction,G=e.virtual,ue=e.listHeight,ce=ue===void 0?200:ue,se=e.listItemHeight,Te=se===void 0?20:se,q=e.onDropdownVisibleChange,de=e.dropdownMatchSelectWidth,_=de===void 0?!0:de,ee=e.treeLine,Ne=e.treeIcon,fe=e.showTreeIcon,ve=e.switcherIcon,he=e.treeMotion,De=(0,at.Z)(e,Qt),Ae=(0,Dt.ZP)(r),$=z&&!O,R=z||O,Le=O||ae,k=R||Z,me=(0,ot.Z)(o,{value:u}),Pe=(0,J.Z)(me,2),K=Pe[0],pe=Pe[1],v=l.useMemo(function(){return Vt(xe)},[JSON.stringify(xe)]),N=(0,ot.Z)("",{value:f!==void 0?f:w,postState:function(h){return h||""}}),ge=(0,J.Z)(N,2),F=ge[0],We=ge[1],je=function(h){We(h),S==null||S(h)},Ze=Ut(le,Q,B),Ue=Yt(Ze,v),A=Ue.keyEntities,ye=Ue.valueEntities,gt=l.useCallback(function(m){var h=[],p=[];return m.forEach(function(y){ye.has(y)?p.push(y):h.push(y)}),{missingRawValues:h,existRawValues:p}},[ye]),yt=Jt(Ze,F,{fieldNames:v,treeNodeFilterProp:H,filterTreeNode:L}),Ct=l.useCallback(function(m){if(m){if(P)return m[P];for(var h=v._title,p=0;p{const{componentCls:t,treePrefixCls:r,colorBgElevated:a}=e,n=`.${r}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},(0,mr.Yk)(r,(0,pt.TS)(e,{colorBgContainer:a})),{[n]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${n}-treenode`]:{[`${n}-node-content-wrapper`]:{flex:"auto"}}}}},(0,vr.C2)(`${r}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${n}-switcher${n}-switcher_close`]:{[`${n}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function gr(e,t){return(0,hr.Z)("TreeSelect",r=>{const a=(0,pt.TS)(r,{treePrefixCls:t});return[pr(a)]})(e)}var yr=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n{var{prefixCls:r,size:a,disabled:n,bordered:u=!0,className:o,treeCheckable:i,multiple:c,listHeight:d=256,listItemHeight:f=26,placement:w,notFoundContent:S,switcherIcon:I,treeLine:T,getPopupContainer:L,popupClassName:j,dropdownClassName:H,treeIcon:U=!1,transitionName:g,choiceTransitionName:P="",status:Z,showArrow:z,treeExpandAction:O}=e,ae=yr(e,["prefixCls","size","disabled","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction"]);const{getPopupContainer:xe,getPrefixCls:B,renderEmpty:le,direction:Q,virtual:Ie,dropdownMatchSelectWidth:be}=l.useContext(nr.E_),Ee=l.useContext(or.Z),oe=B(),b=B("select",r),ie=B("select-tree",r),Y=B("tree-select",r),{compactSize:we,compactItemClassnames:G}=(0,fr.ri)(b,Q),[ue,ce]=(0,cr.Z)(b),[se]=gr(Y,ie),Te=rt()(j||H,`${Y}-dropdown`,{[`${Y}-dropdown-rtl`]:Q==="rtl"},ce),q=!!(i||c),de=z!==void 0?z:ae.loading||!q,{status:_,hasFeedback:ee,isFormItemInput:Ne,feedbackIcon:fe}=l.useContext(ir.aM),ve=(0,mt.F)(_,Z),{suffixIcon:he,removeIcon:De,clearIcon:Ae}=(0,sr.Z)(Object.assign(Object.assign({},ae),{multiple:q,showArrow:de,hasFeedback:ee,feedbackIcon:fe,prefixCls:b}));let $;S!==void 0?$=S:$=(le==null?void 0:le("Select"))||l.createElement(ar.Z,{componentName:"Select"});const R=(0,rr.Z)(ae,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Le=()=>w!==void 0?w:Q==="rtl"?"bottomRight":"bottomLeft",k=we||a||Ee,me=l.useContext(lr.Z),Pe=n!=null?n:me,K=rt()(!r&&Y,{[`${b}-lg`]:k==="large",[`${b}-sm`]:k==="small",[`${b}-rtl`]:Q==="rtl",[`${b}-borderless`]:!u,[`${b}-in-form-item`]:Ne},(0,mt.Z)(b,ve,ee),G,o,ce),pe=l.createElement(tr,Object.assign({virtual:Ie,dropdownMatchSelectWidth:be,disabled:Pe},R,{ref:t,prefixCls:b,className:K,listHeight:d,listItemHeight:f,treeCheckable:i&&l.createElement("span",{className:`${b}-tree-checkbox-inner`}),treeLine:!!T,inputIcon:he,multiple:c,placement:Le(),removeIcon:De,clearIcon:Ae,switcherIcon:v=>(0,dr.Z)(ie,I,v,T),showTreeIcon:U,notFoundContent:$,getPopupContainer:L||xe,treeMotion:null,dropdownClassName:Te,choiceTransitionName:(0,et.mL)(oe,"",P),transitionName:(0,et.mL)(oe,(0,et.q0)(w),g),showArrow:ee||z,treeExpandAction:O}));return ue(se(pe))},ne=l.forwardRef(Cr),Sr=(0,ur.Z)(ne);ne.TreeNode=Qe,ne.SHOW_ALL=dt,ne.SHOW_PARENT=qe,ne.SHOW_CHILD=Re,ne._InternalPanelDoNotUseOrYouWillBeFired=Sr;var xr=ne}}]); diff --git a/statics/9893.548cba52.async.js b/statics/9893.548cba52.async.js new file mode 100644 index 00000000..3db55848 --- /dev/null +++ b/statics/9893.548cba52.async.js @@ -0,0 +1,68 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9893],{47356:function(G,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0});var t={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"};h.default=t},44149:function(G,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0});var t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};h.default=t},88372:function(G,h,t){"use strict";t.d(h,{f:function(){return Z}});var o=t(4942),D=t(28459),a=t(93967),T=t.n(a),_=t(67294),F=t(76509),ee=t(1413),H=t(98082),I=function(i){return(0,o.Z)({},i.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function Y(w){return(0,H.Xj)("ProLayoutGridContent",function(i){var d=(0,ee.Z)((0,ee.Z)({},i),{},{componentCls:".".concat(w)});return[I(d)]})}var X=t(85893),Z=function(i){var d=(0,_.useContext)(F.X),l=i.children,g=i.contentWidth,x=i.className,b=i.style,C=(0,_.useContext)(D.ZP.ConfigContext),A=C.getPrefixCls,ie=i.prefixCls||A("pro"),f=g||d.contentWidth,$="".concat(ie,"-grid-content"),r=Y($),u=r.wrapSSR,v=r.hashId,j=f==="Fixed"&&d.layout==="top";return u((0,X.jsx)("div",{className:T()($,v,x,(0,o.Z)({},"".concat($,"-wide"),j)),style:b,children:(0,X.jsx)("div",{className:"".concat(ie,"-grid-content-children ").concat(v).trim(),children:l})}))}},58841:function(G,h,t){"use strict";t.d(h,{_z:function(){return Ne}});var o=t(4942),D=t(45987),a=t(1413),T=t(71002),_=t(10915),F=t(11941),ee=t(67159),H=t(28459),I=t(67294),Y=t(93967),X=t.n(Y),Z=t(9220),w=t(98423),i=t(74902),d=t(75164);function l(R){let e;const m=S=>()=>{e=null,R.apply(void 0,(0,i.Z)(S))},N=function(){if(e==null){for(var S=arguments.length,V=new Array(S),Q=0;Q{d.Z.cancel(e),e=null},N}var g=l,x=t(53124),b=t(91945);const C=R=>{const{componentCls:e}=R;return{[e]:{position:"fixed",zIndex:R.zIndexPopup}}},A=R=>({zIndexPopup:R.zIndexBase+10});var ie=(0,b.I$)("Affix",C,A);function f(R){return R!==window?R.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function $(R,e,m){if(m!==void 0&&Math.round(e.top)>Math.round(R.top)-m)return m+e.top}function r(R,e,m){if(m!==void 0&&Math.round(e.bottom){var m;const{style:N,offsetTop:S,offsetBottom:V,prefixCls:Q,className:le,rootClassName:pe,children:z,target:ne,onChange:re}=R,{getPrefixCls:se,getTargetContainer:ae}=I.useContext(x.E_),J=se("affix",Q),[ce,oe]=I.useState(!1),[L,U]=I.useState(),[he,q]=I.useState(),k=I.useRef(j),Ce=I.useRef(null),de=I.useRef(),$e=I.useRef(null),Re=I.useRef(null),Pe=I.useRef(null),Oe=(m=ne!=null?ne:ae)!==null&&m!==void 0?m:v,We=V===void 0&&S===void 0?0:S,He=()=>{if(k.current!==K||!Re.current||!$e.current||!Oe)return;const we=Oe();if(we){const be={status:j},ve=f($e.current);if(ve.top===0&&ve.left===0&&ve.width===0&&ve.height===0)return;const Fe=f(we),Ee=$(ve,Fe,We),Ue=r(ve,Fe,V);Ee!==void 0?(be.affixStyle={position:"fixed",top:Ee,width:ve.width,height:ve.height},be.placeholderStyle={width:ve.width,height:ve.height}):Ue!==void 0&&(be.affixStyle={position:"fixed",bottom:Ue,width:ve.width,height:ve.height},be.placeholderStyle={width:ve.width,height:ve.height}),be.lastAffix=!!be.affixStyle,ce!==be.lastAffix&&(re==null||re(be.lastAffix)),k.current=be.status,U(be.affixStyle),q(be.placeholderStyle),oe(be.lastAffix)}},De=()=>{var we;k.current=K,He()},Le=g(()=>{De()}),Xe=g(()=>{if(Oe&&L){const we=Oe();if(we&&$e.current){const be=f(we),ve=f($e.current),Fe=$(ve,be,We),Ee=r(ve,be,V);if(Fe!==void 0&&L.top===Fe||Ee!==void 0&&L.bottom===Ee)return}}De()}),qe=()=>{const we=Oe==null?void 0:Oe();!we||(u.forEach(be=>{var ve;de.current&&((ve=Ce.current)===null||ve===void 0||ve.removeEventListener(be,de.current)),we==null||we.addEventListener(be,Xe)}),Ce.current=we,de.current=Xe)},Te=()=>{Pe.current&&(clearTimeout(Pe.current),Pe.current=null);const we=Oe==null?void 0:Oe();u.forEach(be=>{var ve;we==null||we.removeEventListener(be,Xe),de.current&&((ve=Ce.current)===null||ve===void 0||ve.removeEventListener(be,de.current))}),Le.cancel(),Xe.cancel()};I.useImperativeHandle(e,()=>({updatePosition:Le})),I.useEffect(()=>(Pe.current=setTimeout(qe),()=>Te()),[]),I.useEffect(()=>{qe()},[ne,L]),I.useEffect(()=>{Le()},[ne,S,V]);const[_e,it,ct]=ie(J),st=X()(pe,it,J,ct),dt=X()({[st]:L});let ut=(0,w.Z)(R,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return _e(I.createElement(Z.Z,{onResize:Le},I.createElement("div",Object.assign({style:N,className:le,ref:$e},ut),L&&I.createElement("div",{style:he,"aria-hidden":"true"}),I.createElement("div",{className:dt,ref:Re,style:L},I.createElement(Z.Z,{onResize:Le},z)))))}),Be=t(76509),ze=t(12044),Qe=t(97435),n=t(73935),M=t(98082),O=function(e){return(0,o.Z)({},e.componentCls,{position:"fixed",insetInlineEnd:0,bottom:0,zIndex:99,display:"flex",alignItems:"center",width:"100%",paddingInline:24,paddingBlock:0,boxSizing:"border-box",lineHeight:"64px",backgroundColor:(0,M.uK)(e.colorBgElevated,.6),borderBlockStart:"1px solid ".concat(e.colorSplit),"-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)",color:e.colorText,transition:"all 0.2s ease 0s","&-left":{flex:1,color:e.colorText},"&-right":{color:e.colorText,"> *":{marginInlineEnd:8,"&:last-child":{marginBlock:0,marginInline:0}}}})};function E(R){return(0,M.Xj)("ProLayoutFooterToolbar",function(e){var m=(0,a.Z)((0,a.Z)({},e),{},{componentCls:".".concat(R)});return[O(m)]})}function B(R,e){var m=e.stylish;return(0,M.Xj)("ProLayoutFooterToolbarStylish",function(N){var S=(0,a.Z)((0,a.Z)({},N),{},{componentCls:".".concat(R)});return m?[(0,o.Z)({},"".concat(S.componentCls),m==null?void 0:m(S))]:[]})}var W=t(85893),Se=["children","className","extra","portalDom","style","renderContent"],Me=function(e){var m=e.children,N=e.className,S=e.extra,V=e.portalDom,Q=V===void 0?!0:V,le=e.style,pe=e.renderContent,z=(0,D.Z)(e,Se),ne=(0,I.useContext)(H.ZP.ConfigContext),re=ne.getPrefixCls,se=ne.getTargetContainer,ae=e.prefixCls||re("pro"),J="".concat(ae,"-footer-bar"),ce=E(J),oe=ce.wrapSSR,L=ce.hashId,U=(0,I.useContext)(Be.X),he=(0,I.useMemo)(function(){var Re=U.hasSiderMenu,Pe=U.isMobile,Oe=U.siderWidth;if(!!Re)return Oe?Pe?"100%":"calc(100% - ".concat(Oe,"px)"):"100%"},[U.collapsed,U.hasSiderMenu,U.isMobile,U.siderWidth]),q=(0,I.useMemo)(function(){return(typeof window=="undefined"?"undefined":(0,T.Z)(window))===void 0||(typeof document=="undefined"?"undefined":(0,T.Z)(document))===void 0?null:(se==null?void 0:se())||document.body},[]),k=B("".concat(J,".").concat(J,"-stylish"),{stylish:e.stylish}),Ce=(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:"".concat(J,"-left ").concat(L).trim(),children:S}),(0,W.jsx)("div",{className:"".concat(J,"-right ").concat(L).trim(),children:m})]});(0,I.useEffect)(function(){return!U||!(U!=null&&U.setHasFooterToolbar)?function(){}:(U==null||U.setHasFooterToolbar(!0),function(){var Re;U==null||(Re=U.setHasFooterToolbar)===null||Re===void 0||Re.call(U,!1)})},[]);var de=(0,W.jsx)("div",(0,a.Z)((0,a.Z)({className:X()(N,L,J,(0,o.Z)({},"".concat(J,"-stylish"),!!e.stylish)),style:(0,a.Z)({width:he},le)},(0,Qe.Z)(z,["prefixCls"])),{},{children:pe?pe((0,a.Z)((0,a.Z)((0,a.Z)({},e),U),{},{leftWidth:he}),Ce):Ce})),$e=!(0,ze.j)()||!Q||!q?de:(0,n.createPortal)(de,q,J);return k.wrapSSR(oe((0,W.jsx)(I.Fragment,{children:$e},J)))},Ie=t(88372),Ae=t(29476),Ge=t(83832),Ze=t(97685),Ke=function(e){if(!e)return 1;var m=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1;return(window.devicePixelRatio||1)/m},Je=function(e){var m=(0,M.dQ)(),N=m.token,S=e.children,V=e.style,Q=e.className,le=e.markStyle,pe=e.markClassName,z=e.zIndex,ne=z===void 0?9:z,re=e.gapX,se=re===void 0?212:re,ae=e.gapY,J=ae===void 0?222:ae,ce=e.width,oe=ce===void 0?120:ce,L=e.height,U=L===void 0?64:L,he=e.rotate,q=he===void 0?-22:he,k=e.image,Ce=e.offsetLeft,de=e.offsetTop,$e=e.fontStyle,Re=$e===void 0?"normal":$e,Pe=e.fontWeight,Oe=Pe===void 0?"normal":Pe,We=e.fontColor,He=We===void 0?N.colorFill:We,De=e.fontSize,Le=De===void 0?16:De,Xe=e.fontFamily,qe=Xe===void 0?"sans-serif":Xe,Te=e.prefixCls,_e=(0,I.useContext)(H.ZP.ConfigContext),it=_e.getPrefixCls,ct=it("pro-layout-watermark",Te),st=X()("".concat(ct,"-wrapper"),Q),dt=X()(ct,pe),ut=(0,I.useState)(""),we=(0,Ze.Z)(ut,2),be=we[0],ve=we[1];return(0,I.useEffect)(function(){var Fe=document.createElement("canvas"),Ee=Fe.getContext("2d"),Ue=Ke(Ee),pt="".concat((se+oe)*Ue,"px"),yt="".concat((J+U)*Ue,"px"),ht=Ce||se/2,bt=de||J/2;if(Fe.setAttribute("width",pt),Fe.setAttribute("height",yt),!Ee){console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");return}Ee.translate(ht*Ue,bt*Ue),Ee.rotate(Math.PI/180*Number(q));var Ct=oe*Ue,vt=U*Ue,mt=function(lt){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,gt=Number(Le)*Ue;Ee.font="".concat(Re," normal ").concat(Oe," ").concat(gt,"px/").concat(vt,"px ").concat(qe),Ee.fillStyle=He,Array.isArray(lt)?lt==null||lt.forEach(function(St,xt){return Ee.fillText(St,0,xt*gt+ft)}):Ee.fillText(lt,0,ft?ft+gt:0),ve(Fe.toDataURL())};if(k){var tt=new Image;tt.crossOrigin="anonymous",tt.referrerPolicy="no-referrer",tt.src=k,tt.onload=function(){if(Ee.drawImage(tt,0,0,Ct,vt),ve(Fe.toDataURL()),e.content){mt(e.content,tt.height+8);return}};return}if(e.content){mt(e.content);return}},[se,J,Ce,de,q,Re,Oe,oe,U,qe,He,k,e.content,Le]),(0,W.jsxs)("div",{style:(0,a.Z)({position:"relative"},V),className:st,children:[S,(0,W.jsx)("div",{className:dt,style:(0,a.Z)((0,a.Z)({zIndex:ne,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(se+oe,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},be?{backgroundImage:"url('".concat(be,"')")}:{}),le)})]})},ke=[576,768,992,1200].map(function(R){return"@media (max-width: ".concat(R,"px)")}),me=(0,Ze.Z)(ke,4),Ve=me[0],Ye=me[1],et=me[2],nt=me[3],rt=function(e){var m,N,S,V,Q,le,pe,z,ne,re,se,ae,J,ce,oe,L,U,he;return(0,o.Z)({},e.componentCls,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({position:"relative","&-children-container":{paddingBlockStart:0,paddingBlockEnd:(m=e.layout)===null||m===void 0||(m=m.pageContainer)===null||m===void 0?void 0:m.paddingBlockPageContainerContent,paddingInline:(N=e.layout)===null||N===void 0||(N=N.pageContainer)===null||N===void 0?void 0:N.paddingInlinePageContainerContent},"&-children-container-no-header":{paddingBlockStart:(S=e.layout)===null||S===void 0||(S=S.pageContainer)===null||S===void 0?void 0:S.paddingBlockPageContainerContent},"&-affix":(0,o.Z)({},"".concat(e.antCls,"-affix"),(0,o.Z)({},"".concat(e.componentCls,"-warp"),{backgroundColor:(V=e.layout)===null||V===void 0||(V=V.pageContainer)===null||V===void 0?void 0:V.colorBgPageContainerFixed,transition:"background-color 0.3s",boxShadow:"0 2px 8px #f0f1f2"}))},"& &-warp-page-header",(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({paddingBlockStart:((Q=(le=e.layout)===null||le===void 0||(le=le.pageContainer)===null||le===void 0?void 0:le.paddingBlockPageContainerContent)!==null&&Q!==void 0?Q:40)/4,paddingBlockEnd:((pe=(z=e.layout)===null||z===void 0||(z=z.pageContainer)===null||z===void 0?void 0:z.paddingBlockPageContainerContent)!==null&&pe!==void 0?pe:40)/2,paddingInlineStart:(ne=e.layout)===null||ne===void 0||(ne=ne.pageContainer)===null||ne===void 0?void 0:ne.paddingInlinePageContainerContent,paddingInlineEnd:(re=e.layout)===null||re===void 0||(re=re.pageContainer)===null||re===void 0?void 0:re.paddingInlinePageContainerContent},"& ~ ".concat(e.proComponentsCls,"-grid-content"),(0,o.Z)({},"".concat(e.proComponentsCls,"-page-container-children-content"),{paddingBlock:((se=(ae=e.layout)===null||ae===void 0||(ae=ae.pageContainer)===null||ae===void 0?void 0:ae.paddingBlockPageContainerContent)!==null&&se!==void 0?se:24)/3})),"".concat(e.antCls,"-page-header-breadcrumb"),{paddingBlockStart:((J=(ce=e.layout)===null||ce===void 0||(ce=ce.pageContainer)===null||ce===void 0?void 0:ce.paddingBlockPageContainerContent)!==null&&J!==void 0?J:40)/4+10}),"".concat(e.antCls,"-page-header-heading"),{paddingBlockStart:((oe=(L=e.layout)===null||L===void 0||(L=L.pageContainer)===null||L===void 0?void 0:L.paddingBlockPageContainerContent)!==null&&oe!==void 0?oe:40)/4}),"".concat(e.antCls,"-page-header-footer"),{marginBlockStart:((U=(he=e.layout)===null||he===void 0||(he=he.pageContainer)===null||he===void 0?void 0:he.paddingBlockPageContainerContent)!==null&&U!==void 0?U:40)/4})),"&-detail",(0,o.Z)({display:"flex"},Ve,{display:"block"})),"&-main",{width:"100%"}),"&-row",(0,o.Z)({display:"flex",width:"100%"},Ye,{display:"block"})),"&-content",{flex:"auto",width:"100%"}),"&-extraContent",(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({flex:"0 1 auto",minWidth:"242px",marginInlineStart:88,textAlign:"end"},nt,{marginInlineStart:44}),et,{marginInlineStart:20}),Ye,{marginInlineStart:0,textAlign:"start"}),Ve,{marginInlineStart:0})))};function at(R,e){return(0,M.Xj)("ProLayoutPageContainer",function(m){var N,S=(0,a.Z)((0,a.Z)({},m),{},{componentCls:".".concat(R),layout:(0,a.Z)((0,a.Z)({},m==null?void 0:m.layout),{},{pageContainer:(0,a.Z)((0,a.Z)({},m==null||(N=m.layout)===null||N===void 0?void 0:N.pageContainer),e)})});return[rt(S)]})}function ot(R,e){var m=e.stylish;return(0,M.Xj)("ProLayoutPageContainerStylish",function(N){var S=(0,a.Z)((0,a.Z)({},N),{},{componentCls:".".concat(R)});return m?[(0,o.Z)({},"div".concat(S.componentCls),m==null?void 0:m(S))]:[]})}var s=t(1977),c=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","childrenContentStyle","style","prefixCls","hashId","value","breadcrumbRender"],y=["children","loading","className","style","footer","affixProps","token","fixedHeader","breadcrumbRender","footerToolBarProps","childrenContentStyle"];function p(R){return(0,T.Z)(R)==="object"?R:{spinning:R}}var P=function(e){var m=e.tabList,N=e.tabActiveKey,S=e.onTabChange,V=e.hashId,Q=e.tabBarExtraContent,le=e.tabProps,pe=e.prefixedClassName;return Array.isArray(m)||Q?(0,W.jsx)(F.Z,(0,a.Z)((0,a.Z)({className:"".concat(pe,"-tabs ").concat(V).trim(),activeKey:N,onChange:function(ne){S&&S(ne)},tabBarExtraContent:Q,items:m==null?void 0:m.map(function(z,ne){var re;return(0,a.Z)((0,a.Z)({label:z.tab},z),{},{key:((re=z.key)===null||re===void 0?void 0:re.toString())||(ne==null?void 0:ne.toString())})})},le),{},{children:(0,s.n)(ee.Z,"4.23.0")<0?m==null?void 0:m.map(function(z,ne){return(0,W.jsx)(F.Z.TabPane,(0,a.Z)({tab:z.tab},z),z.key||ne)}):null})):null},te=function(e,m,N,S){return!e&&!m?null:(0,W.jsx)("div",{className:"".concat(N,"-detail ").concat(S).trim(),children:(0,W.jsx)("div",{className:"".concat(N,"-main ").concat(S).trim(),children:(0,W.jsxs)("div",{className:"".concat(N,"-row ").concat(S).trim(),children:[e&&(0,W.jsx)("div",{className:"".concat(N,"-content ").concat(S).trim(),children:e}),m&&(0,W.jsx)("div",{className:"".concat(N,"-extraContent ").concat(S).trim(),children:m})]})})})},ye=function(e){var m=useContext(RouteContext);return _jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:_jsx(Breadcrumb,_objectSpread(_objectSpread(_objectSpread({},m==null?void 0:m.breadcrumb),m==null?void 0:m.breadcrumbProps),e))})},ge=function(e){var m,N=e.title,S=e.content,V=e.pageHeaderRender,Q=e.header,le=e.prefixedClassName,pe=e.extraContent,z=e.childrenContentStyle,ne=e.style,re=e.prefixCls,se=e.hashId,ae=e.value,J=e.breadcrumbRender,ce=(0,D.Z)(e,c),oe=function(){if(!!J)return J};if(V===!1)return null;if(V)return(0,W.jsxs)(W.Fragment,{children:[" ",V((0,a.Z)((0,a.Z)({},e),ae))]});var L=N;!N&&N!==!1&&(L=ae.title);var U=(0,a.Z)((0,a.Z)((0,a.Z)({},ae),{},{title:L},ce),{},{footer:P((0,a.Z)((0,a.Z)({},ce),{},{hashId:se,breadcrumbRender:J,prefixedClassName:le}))},Q),he=U,q=he.breadcrumb,k=(!q||!(q!=null&&q.itemRender)&&!(q!=null&&(m=q.items)!==null&&m!==void 0&&m.length))&&!J;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(Ce){return!U[Ce]})&&k&&!S&&!pe?null:(0,W.jsx)(Ae.m,(0,a.Z)((0,a.Z)({},U),{},{className:"".concat(le,"-warp-page-header ").concat(se).trim(),breadcrumb:J===!1?void 0:(0,a.Z)((0,a.Z)({},U.breadcrumb),ae.breadcrumbProps),breadcrumbRender:oe(),prefixCls:re,children:(Q==null?void 0:Q.children)||te(S,pe,le,se)}))},xe=function(e){var m,N,S=e.children,V=e.loading,Q=V===void 0?!1:V,le=e.className,pe=e.style,z=e.footer,ne=e.affixProps,re=e.token,se=e.fixedHeader,ae=e.breadcrumbRender,J=e.footerToolBarProps,ce=e.childrenContentStyle,oe=(0,D.Z)(e,y),L=(0,I.useContext)(Be.X);(0,I.useEffect)(function(){var Te;return!L||!(L!=null&&L.setHasPageContainer)?function(){}:(L==null||(Te=L.setHasPageContainer)===null||Te===void 0||Te.call(L,function(_e){return _e+1}),function(){var _e;L==null||(_e=L.setHasPageContainer)===null||_e===void 0||_e.call(L,function(it){return it-1})})},[]);var U=(0,I.useContext)(_.L_),he=U.token,q=(0,I.useContext)(H.ZP.ConfigContext),k=q.getPrefixCls,Ce=e.prefixCls||k("pro"),de="".concat(Ce,"-page-container"),$e=at(de,re),Re=$e.wrapSSR,Pe=$e.hashId,Oe=ot("".concat(de,".").concat(de,"-stylish"),{stylish:e.stylish}),We=(0,I.useMemo)(function(){var Te;return ae==!1?!1:ae||(oe==null||(Te=oe.header)===null||Te===void 0?void 0:Te.breadcrumbRender)},[ae,oe==null||(m=oe.header)===null||m===void 0?void 0:m.breadcrumbRender]),He=ge((0,a.Z)((0,a.Z)({},oe),{},{breadcrumbRender:We,ghost:!0,hashId:Pe,prefixCls:void 0,prefixedClassName:de,value:L})),De=(0,I.useMemo)(function(){if(I.isValidElement(Q))return Q;if(typeof Q=="boolean"&&!Q)return null;var Te=p(Q);return Te.spinning?(0,W.jsx)(Ge.S,(0,a.Z)({},Te)):null},[Q]),Le=(0,I.useMemo)(function(){return S?(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("div",{className:X()(Pe,"".concat(de,"-children-container"),(0,o.Z)({},"".concat(de,"-children-container-no-header"),!He)),style:ce,children:S})}):null},[S,de,ce,Pe]),Xe=(0,I.useMemo)(function(){var Te=De||Le;if(e.waterMarkProps||L.waterMarkProps){var _e=(0,a.Z)((0,a.Z)({},L.waterMarkProps),e.waterMarkProps);return(0,W.jsx)(Je,(0,a.Z)((0,a.Z)({},_e),{},{children:Te}))}return Te},[e.waterMarkProps,L.waterMarkProps,De,Le]),qe=X()(de,Pe,le,(0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(de,"-with-footer"),z),"".concat(de,"-with-affix"),se&&He),"".concat(de,"-stylish"),!!oe.stylish));return Re(Oe.wrapSSR((0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{style:pe,className:qe,children:[se&&He?(0,W.jsx)(je,(0,a.Z)((0,a.Z)({offsetTop:L.hasHeader&&L.fixedHeader?(N=he.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.heightLayoutHeader:1},ne),{},{className:"".concat(de,"-affix ").concat(Pe).trim(),children:(0,W.jsx)("div",{className:"".concat(de,"-warp ").concat(Pe).trim(),children:He})})):He,Xe&&(0,W.jsx)(Ie.f,{children:Xe})]}),z&&(0,W.jsx)(Me,(0,a.Z)((0,a.Z)({stylish:oe.footerStylish,prefixCls:Ce},J),{},{children:z}))]})))},Ne=function(e){return(0,W.jsx)(_._Y,{needDeps:!0,children:(0,W.jsx)(xe,(0,a.Z)({},e))})},fe=function(e){var m=useContext(RouteContext);return ge(_objectSpread(_objectSpread({},e),{},{hashId:"",value:m}))}},29476:function(G,h,t){"use strict";t.d(h,{m:function(){return ot}});var o=t(4942),D=t(97685),a=t(1413),T=t(3770),_=t.n(T),F=t(77059),ee=t.n(F),H=t(67294),I=t(93967),Y=t.n(I),X=t(50344),Z=t(64217),w=t(96159),i=t(53124),d=t(13622),l=t(1203);const g=s=>{let{children:c}=s;const{getPrefixCls:y}=H.useContext(i.E_),p=y("breadcrumb");return H.createElement("li",{className:`${p}-separator`,"aria-hidden":"true"},c===""?c:c||"/")};g.__ANT_BREADCRUMB_SEPARATOR=!0;var x=g,b=function(s,c){var y={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&c.indexOf(p)<0&&(y[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,p=Object.getOwnPropertySymbols(s);Pc[P]||p)}function A(s,c,y,p){if(y==null)return null;const{className:P,onClick:te}=c,ye=b(c,["className","onClick"]),ge=Object.assign(Object.assign({},(0,Z.Z)(ye,{data:!0,aria:!0})),{onClick:te});return p!==void 0?H.createElement("a",Object.assign({},ge,{className:Y()(`${s}-link`,P),href:p}),y):H.createElement("span",Object.assign({},ge,{className:Y()(`${s}-link`,P)}),y)}function ie(s,c){return(p,P,te,ye,ge)=>{if(c)return c(p,P,te,ye);const xe=C(p,P);return A(s,p,xe,ge)}}var f=function(s,c){var y={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&c.indexOf(p)<0&&(y[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,p=Object.getOwnPropertySymbols(s);P{const{prefixCls:c,separator:y="/",children:p,menu:P,overlay:te,dropdownProps:ye,href:ge}=s,Ne=(fe=>{if(P||te){const R=Object.assign({},ye);if(P){const e=P||{},{items:m}=e,N=f(e,["items"]);R.menu=Object.assign(Object.assign({},N),{items:m==null?void 0:m.map((S,V)=>{var{key:Q,title:le,label:pe,path:z}=S,ne=f(S,["key","title","label","path"]);let re=pe!=null?pe:le;return z&&(re=H.createElement("a",{href:`${ge}${z}`},re)),Object.assign(Object.assign({},ne),{key:Q!=null?Q:V,label:re})})})}else te&&(R.overlay=te);return H.createElement(l.Z,Object.assign({placement:"bottom"},R),H.createElement("span",{className:`${c}-overlay-link`},fe,H.createElement(d.Z,null)))}return fe})(p);return Ne!=null?H.createElement(H.Fragment,null,H.createElement("li",null,Ne),y&&H.createElement(x,null,y)):null},r=s=>{const{prefixCls:c,children:y,href:p}=s,P=f(s,["prefixCls","children","href"]),{getPrefixCls:te}=H.useContext(i.E_),ye=te("breadcrumb",c);return H.createElement($,Object.assign({},P,{prefixCls:ye}),A(ye,P,y,p))};r.__ANT_BREADCRUMB_ITEM=!0;var u=r,v=t(54548),j=t(14747),K=t(91945),ue=t(45503);const je=s=>{const{componentCls:c,iconCls:y,calc:p}=s;return{[c]:Object.assign(Object.assign({},(0,j.Wf)(s)),{color:s.itemColor,fontSize:s.fontSize,[y]:{fontSize:s.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:s.linkColor,transition:`color ${s.motionDurationMid}`,padding:`0 ${(0,v.bf)(s.paddingXXS)}`,borderRadius:s.borderRadiusSM,height:s.fontHeight,display:"inline-block",marginInline:p(s.marginXXS).mul(-1).equal(),"&:hover":{color:s.linkHoverColor,backgroundColor:s.colorBgTextHover}},(0,j.Qy)(s)),["li:last-child"]:{color:s.lastItemColor},[`${c}-separator`]:{marginInline:s.separatorMargin,color:s.separatorColor},[`${c}-link`]:{[` + > ${y} + span, + > ${y} + a + `]:{marginInlineStart:s.marginXXS}},[`${c}-overlay-link`]:{borderRadius:s.borderRadiusSM,height:s.fontHeight,display:"inline-block",padding:`0 ${(0,v.bf)(s.paddingXXS)}`,marginInline:p(s.marginXXS).mul(-1).equal(),[`> ${y}`]:{marginInlineStart:s.marginXXS,fontSize:s.fontSizeIcon},"&:hover":{color:s.linkHoverColor,backgroundColor:s.colorBgTextHover,a:{color:s.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${s.componentCls}-rtl`]:{direction:"rtl"}})}},Be=s=>({itemColor:s.colorTextDescription,lastItemColor:s.colorText,iconFontSize:s.fontSize,linkColor:s.colorTextDescription,linkHoverColor:s.colorText,separatorColor:s.colorTextDescription,separatorMargin:s.marginXS});var ze=(0,K.I$)("Breadcrumb",s=>{const c=(0,ue.TS)(s,{});return je(c)},Be),Qe=function(s,c){var y={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&c.indexOf(p)<0&&(y[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,p=Object.getOwnPropertySymbols(s);P{var{breadcrumbName:ye}=te,ge=Qe(te,["breadcrumbName"]);return Object.assign(Object.assign({},ge),{title:ye})})}),P}function M(s,c){return(0,H.useMemo)(()=>s||(c?c.map(n):null),[s,c])}var O=function(s,c){var y={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&c.indexOf(p)<0&&(y[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,p=Object.getOwnPropertySymbols(s);P{if(c===void 0)return c;let y=(c||"").replace(/^\//,"");return Object.keys(s).forEach(p=>{y=y.replace(`:${p}`,s[p])}),y},B=s=>{const{prefixCls:c,separator:y="/",style:p,className:P,rootClassName:te,routes:ye,items:ge,children:xe,itemRender:Ne,params:fe={}}=s,R=O(s,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:e,direction:m,breadcrumb:N}=H.useContext(i.E_);let S;const V=e("breadcrumb",c),[Q,le,pe]=ze(V),z=M(ge,ye),ne=ie(V,Ne);if(z&&z.length>0){const ae=[],J=ge||ye;S=z.map((ce,oe)=>{const{path:L,key:U,type:he,menu:q,overlay:k,onClick:Ce,className:de,separator:$e,dropdownProps:Re}=ce,Pe=E(fe,L);Pe!==void 0&&ae.push(Pe);const Oe=U!=null?U:oe;if(he==="separator")return H.createElement(x,{key:Oe},$e);const We={},He=oe===z.length-1;q?We.menu=q:k&&(We.overlay=k);let{href:De}=ce;return ae.length&&Pe!==void 0&&(De=`#/${ae.join("/")}`),H.createElement($,Object.assign({key:Oe},We,(0,Z.Z)(ce,{data:!0,aria:!0}),{className:de,dropdownProps:Re,href:De,separator:He?"":y,onClick:Ce,prefixCls:V}),ne(ce,fe,J,ae,De))})}else if(xe){const ae=(0,X.Z)(xe).length;S=(0,X.Z)(xe).map((J,ce)=>{if(!J)return J;const oe=ce===ae-1;return(0,w.Tm)(J,{separator:oe?"":y,key:ce})})}const re=Y()(V,N==null?void 0:N.className,{[`${V}-rtl`]:m==="rtl"},P,te,le,pe),se=Object.assign(Object.assign({},N==null?void 0:N.style),p);return Q(H.createElement("nav",Object.assign({className:re,style:se},R),H.createElement("ol",null,S)))};B.Item=u,B.Separator=x;var W=B,Se=W,Me=t(7134),Ie=t(78957),Ae=t(28459),Ge=t(9220),Ze=t(98082),Ke=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Je=function(c){var y;return(0,o.Z)({},c.componentCls,(0,a.Z)((0,a.Z)({},Ze.Wf===null||Ze.Wf===void 0?void 0:(0,Ze.Wf)(c)),{},(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({position:"relative",backgroundColor:c.pageHeaderBgGhost,paddingBlock:c.pageHeaderPaddingVertical+2,paddingInline:c.pageHeaderPadding,"&-no-children":{height:(y=c.layout)===null||y===void 0||(y=y.pageContainer)===null||y===void 0?void 0:y.paddingBlockPageContainerContent},"& &-has-breadcrumb":{paddingBlockStart:c.pageHeaderPaddingBreadCrumb},"& &-has-footer":{paddingBlockEnd:0},"& &-back":(0,o.Z)({marginInlineEnd:c.margin,fontSize:16,lineHeight:1,"&-button":(0,a.Z)((0,a.Z)({fontSize:16},Ze.Nd===null||Ze.Nd===void 0?void 0:(0,Ze.Nd)(c)),{},{color:c.pageHeaderColorBack,cursor:"pointer"})},"".concat(c.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:0})},"& ".concat("ant","-divider-vertical"),{height:14,marginBlock:0,marginInline:c.marginSM,verticalAlign:"middle"}),"& &-breadcrumb + &-heading",{marginBlockStart:c.marginXS}),"& &-heading",{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",marginBlock:c.marginXS/2,marginInlineEnd:0,marginInlineStart:0,overflow:"hidden"},"&-title":(0,a.Z)((0,a.Z)({marginInlineEnd:c.marginSM,marginBlockEnd:0,color:c.colorTextHeading,fontWeight:600,fontSize:c.pageHeaderFontSizeHeaderTitle,lineHeight:c.controlHeight+"px"},Ke()),{},(0,o.Z)({},"".concat(c.componentCls,"-rlt &"),{marginInlineEnd:0,marginInlineStart:c.marginSM})),"&-avatar":(0,o.Z)({marginInlineEnd:c.marginSM},"".concat(c.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:c.marginSM}),"&-tags":(0,o.Z)({},"".concat(c.componentCls,"-rlt &"),{float:"right"}),"&-sub-title":(0,a.Z)((0,a.Z)({marginInlineEnd:c.marginSM,color:c.colorTextSecondary,fontSize:c.pageHeaderFontSizeHeaderSubTitle,lineHeight:c.lineHeight},Ke()),{},(0,o.Z)({},"".concat(c.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:12})),"&-extra":(0,o.Z)((0,o.Z)({marginBlock:c.marginXS/2,marginInlineEnd:0,marginInlineStart:0,whiteSpace:"nowrap","> *":(0,o.Z)({"white-space":"unset"},"".concat(c.componentCls,"-rlt &"),{marginInlineEnd:c.marginSM,marginInlineStart:0})},"".concat(c.componentCls,"-rlt &"),{float:"left"}),"*:first-child",(0,o.Z)({},"".concat(c.componentCls,"-rlt &"),{marginInlineEnd:0}))}),"&-content",{paddingBlockStart:c.pageHeaderPaddingContentPadding}),"&-footer",{marginBlockStart:c.margin}),"&-compact &-heading",{flexWrap:"wrap"}),"&-wide",{maxWidth:1152,margin:"0 auto"}),"&-rtl",{direction:"rtl"})))};function ke(s){return(0,Ze.Xj)("ProLayoutPageHeader",function(c){var y=(0,a.Z)((0,a.Z)({},c),{},{componentCls:".".concat(s),pageHeaderBgGhost:"transparent",pageHeaderPadding:16,pageHeaderPaddingVertical:4,pageHeaderPaddingBreadCrumb:c.paddingSM,pageHeaderColorBack:c.colorTextHeading,pageHeaderFontSizeHeaderTitle:c.fontSizeHeading4,pageHeaderFontSizeHeaderSubTitle:14,pageHeaderPaddingContentPadding:c.paddingSM});return[Je(y)]})}var me=t(85893),Ve=function(c,y,p,P){return!p||!P?null:(0,me.jsx)("div",{className:"".concat(c,"-back ").concat(y).trim(),children:(0,me.jsx)("div",{role:"button",onClick:function(ye){P==null||P(ye)},className:"".concat(c,"-back-button ").concat(y).trim(),"aria-label":"back",children:p})})},Ye=function(c,y){var p;return(p=c.items)!==null&&p!==void 0&&p.length?(0,me.jsx)(Se,(0,a.Z)((0,a.Z)({},c),{},{className:Y()("".concat(y,"-breadcrumb"),c.className)})):null},et=function(c){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return c.backIcon!==void 0?c.backIcon:y==="rtl"?(0,me.jsx)(ee(),{}):(0,me.jsx)(_(),{})},nt=function(c,y){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",P=arguments.length>3?arguments[3]:void 0,te=y.title,ye=y.avatar,ge=y.subTitle,xe=y.tags,Ne=y.extra,fe=y.onBack,R="".concat(c,"-heading"),e=te||ge||xe||Ne;if(!e)return null;var m=et(y,p),N=Ve(c,P,m,fe),S=N||ye||e;return(0,me.jsxs)("div",{className:R+" "+P,children:[S&&(0,me.jsxs)("div",{className:"".concat(R,"-left ").concat(P).trim(),children:[N,ye&&(0,me.jsx)(Me.C,(0,a.Z)({className:Y()("".concat(R,"-avatar"),P,ye.className)},ye)),te&&(0,me.jsx)("span",{className:"".concat(R,"-title ").concat(P).trim(),title:typeof te=="string"?te:void 0,children:te}),ge&&(0,me.jsx)("span",{className:"".concat(R,"-sub-title ").concat(P).trim(),title:typeof ge=="string"?ge:void 0,children:ge}),xe&&(0,me.jsx)("span",{className:"".concat(R,"-tags ").concat(P).trim(),children:xe})]}),Ne&&(0,me.jsx)("span",{className:"".concat(R,"-extra ").concat(P).trim(),children:(0,me.jsx)(Ie.Z,{children:Ne})})]})},rt=function(c,y,p){return y?(0,me.jsx)("div",{className:"".concat(c,"-footer ").concat(p).trim(),children:y}):null},at=function(c,y,p){return(0,me.jsx)("div",{className:"".concat(c,"-content ").concat(p).trim(),children:y})},ot=function(c){var y,p=H.useState(!1),P=(0,D.Z)(p,2),te=P[0],ye=P[1],ge=function(de){var $e=de.width;return ye($e<768)},xe=H.useContext(Ae.ZP.ConfigContext),Ne=xe.getPrefixCls,fe=xe.direction,R=c.prefixCls,e=c.style,m=c.footer,N=c.children,S=c.breadcrumb,V=c.breadcrumbRender,Q=c.className,le=c.contentWidth,pe=c.layout,z=Ne("page-header",R),ne=ke(z),re=ne.wrapSSR,se=ne.hashId,ae=function(){return S&&!(S!=null&&S.items)&&S!==null&&S!==void 0&&S.routes&&(S.items=S.routes),S!=null&&S.items?Ye(S,z):null},J=ae(),ce=S&&"props"in S,oe=(y=V==null?void 0:V((0,a.Z)((0,a.Z)({},c),{},{prefixCls:z}),J))!==null&&y!==void 0?y:J,L=ce?S:oe,U=Y()(z,se,Q,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(z,"-has-breadcrumb"),!!L),"".concat(z,"-has-footer"),!!m),"".concat(z,"-rtl"),fe==="rtl"),"".concat(z,"-compact"),te),"".concat(z,"-wide"),le==="Fixed"&&pe=="top"),"".concat(z,"-ghost"),!0)),he=nt(z,c,fe,se),q=N&&at(z,N,se),k=rt(z,m,se);return!L&&!he&&!k&&!q?(0,me.jsx)("div",{className:Y()(se,["".concat(z,"-no-children")])}):re((0,me.jsx)(Ge.Z,{onResize:ge,children:(0,me.jsxs)("div",{className:U,style:e,children:[L,he,q,k]})}))}},3770:function(G,h,t){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;const o=D(t(27863));function D(T){return T&&T.__esModule?T:{default:T}}const a=o;h.default=a,G.exports=a},77059:function(G,h,t){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;const o=D(t(21379));function D(T){return T&&T.__esModule?T:{default:T}}const a=o;h.default=a,G.exports=a},33046:function(G,h,t){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"default",{enumerable:!0,get:function(){return $}});var o=w(t(67294)),D=X(t(93967)),a=t(34853),T=X(t(61711)),_=X(t(27727)),F=t(26814),ee=t(72014);function H(r,u){(u==null||u>r.length)&&(u=r.length);for(var v=0,j=new Array(u);v=0)&&(!Object.prototype.propertyIsEnumerable.call(r,j)||(v[j]=r[j]))}return v}function C(r,u){if(r==null)return{};var v={},j=Object.keys(r),K,ue;for(ue=0;ue=0)&&(v[K]=r[K]);return v}function A(r,u){return I(r)||i(r,u)||ie(r,u)||d()}function ie(r,u){if(!!r){if(typeof r=="string")return H(r,u);var v=Object.prototype.toString.call(r).slice(8,-1);if(v==="Object"&&r.constructor&&(v=r.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return H(r,u)}}(0,F.setTwoToneColor)(a.blue.primary);var f=o.forwardRef(function(r,u){var v=r.className,j=r.icon,K=r.spin,ue=r.rotate,je=r.tabIndex,Be=r.onClick,ze=r.twoToneColor,Qe=b(r,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),n=o.useContext(T.default),M=n.prefixCls,O=M===void 0?"anticon":M,E=n.rootClassName,B,W=(0,D.default)(E,O,(B={},Y(B,"".concat(O,"-").concat(j.name),!!j.name),Y(B,"".concat(O,"-spin"),!!K||j.name==="loading"),B),v),Se=je;Se===void 0&&Be&&(Se=-1);var Me=ue?{msTransform:"rotate(".concat(ue,"deg)"),transform:"rotate(".concat(ue,"deg)")}:void 0,Ie=A((0,ee.normalizeTwoToneColors)(ze),2),Ae=Ie[0],Ge=Ie[1];return o.createElement("span",x(l({role:"img","aria-label":j.name},Qe),{ref:u,tabIndex:Se,onClick:Be,className:W}),o.createElement(_.default,{icon:j,primaryColor:Ae,secondaryColor:Ge,style:Me}))});f.displayName="AntdIcon",f.getTwoToneColor=F.getTwoToneColor,f.setTwoToneColor=F.setTwoToneColor;var $=f},61711:function(G,h,t){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"default",{enumerable:!0,get:function(){return a}});var o=t(67294),D=(0,o.createContext)({}),a=D},27727:function(G,h,t){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"default",{enumerable:!0,get:function(){return d}});var o=_(t(67294)),D=t(72014);function a(l,g,x){return g in l?Object.defineProperty(l,g,{value:x,enumerable:!0,configurable:!0,writable:!0}):l[g]=x,l}function T(l){if(typeof WeakMap!="function")return null;var g=new WeakMap,x=new WeakMap;return(T=function(b){return b?x:g})(l)}function _(l,g){if(!g&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var x=T(g);if(x&&x.has(l))return x.get(l);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in l)if(A!=="default"&&Object.prototype.hasOwnProperty.call(l,A)){var ie=C?Object.getOwnPropertyDescriptor(l,A):null;ie&&(ie.get||ie.set)?Object.defineProperty(b,A,ie):b[A]=l[A]}return b.default=l,x&&x.set(l,b),b}function F(l){for(var g=1;g=0)&&(!Object.prototype.propertyIsEnumerable.call(l,b)||(x[b]=l[b]))}return x}function Y(l,g){if(l==null)return{};var x={},b=Object.keys(l),C,A;for(A=0;A=0)&&(x[C]=l[C]);return x}var X={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Z(l){var g=l.primaryColor,x=l.secondaryColor;X.primaryColor=g,X.secondaryColor=x||(0,D.getSecondaryColor)(g),X.calculated=!!x}function w(){return F({},X)}var i=function(l){var g=l.icon,x=l.className,b=l.onClick,C=l.style,A=l.primaryColor,ie=l.secondaryColor,f=I(l,["icon","className","onClick","style","primaryColor","secondaryColor"]),$=o.useRef(),r=X;if(A&&(r={primaryColor:A,secondaryColor:ie||(0,D.getSecondaryColor)(A)}),(0,D.useInsertStyles)($),(0,D.warning)((0,D.isIconDefinition)(g),"icon should be icon definiton, but got ".concat(g)),!(0,D.isIconDefinition)(g))return null;var u=g;return u&&typeof u.icon=="function"&&(u=H(F({},u),{icon:u.icon(r.primaryColor,r.secondaryColor)})),(0,D.generate)(u.icon,"svg-".concat(u.name),H(F({className:x,onClick:b,style:C,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{ref:$}))};i.displayName="IconReact",i.getTwoToneColors=w,i.setTwoToneColors=Z;var d=i},26814:function(G,h,t){"use strict";Object.defineProperty(h,"__esModule",{value:!0});function o(w,i){for(var d in i)Object.defineProperty(w,d,{enumerable:!0,get:i[d]})}o(h,{getTwoToneColor:function(){return Z},setTwoToneColor:function(){return X}});var D=F(t(27727)),a=t(72014);function T(w,i){(i==null||i>w.length)&&(i=w.length);for(var d=0,l=new Array(i);d0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(f).reduce(function($,r){var u=f[r];switch(r){case"class":$.className=u,delete $.class;break;default:delete $[r],$[w(r)]=u}return $},{})}function g(f,$,r){return r?F.default.createElement(f.tag,Z({key:$},l(f.attrs),r),(f.children||[]).map(function(u,v){return g(u,"".concat($,"-").concat(f.tag,"-").concat(v))})):F.default.createElement(f.tag,Z({key:$},l(f.attrs)),(f.children||[]).map(function(u,v){return g(u,"".concat($,"-").concat(f.tag,"-").concat(v))}))}function x(f){return(0,D.generate)(f)[0]}function b(f){return f?Array.isArray(f)?f:[f]:[]}var C={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},A=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,ie=function(f){var $=(0,F.useContext)(ee.default),r=$.csp,u=$.prefixCls,v=A;u&&(v=v.replace(/anticon/g,u)),(0,F.useEffect)(function(){var j=f.current,K=(0,T.getShadowRoot)(j);(0,a.updateCSS)(v,"@ant-design-icons",{prepend:!0,csp:r,attachTo:K})},[])}},4393:function(G,h,t){"use strict";t.d(h,{Z:function(){return Qe}});var o=t(67294),D=t(93967),a=t.n(D),T=t(98423),_=t(53124),F=t(98675),ee=t(99559),H=t(11941),I=function(n,M){var O={};for(var E in n)Object.prototype.hasOwnProperty.call(n,E)&&M.indexOf(E)<0&&(O[E]=n[E]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,E=Object.getOwnPropertySymbols(n);B{var{prefixCls:M,className:O,hoverable:E=!0}=n,B=I(n,["prefixCls","className","hoverable"]);const{getPrefixCls:W}=o.useContext(_.E_),Se=W("card",M),Me=a()(`${Se}-grid`,O,{[`${Se}-grid-hoverable`]:E});return o.createElement("div",Object.assign({},B,{className:Me}))},Z=t(54548),w=t(14747),i=t(91945),d=t(45503);const l=n=>{const{antCls:M,componentCls:O,headerHeight:E,cardPaddingBase:B,tabsMarginBottom:W}=n;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:E,marginBottom:-1,padding:`0 ${(0,Z.bf)(B)}`,color:n.colorTextHeading,fontWeight:n.fontWeightStrong,fontSize:n.headerFontSize,background:n.headerBg,borderBottom:`${(0,Z.bf)(n.lineWidth)} ${n.lineType} ${n.colorBorderSecondary}`,borderRadius:`${(0,Z.bf)(n.borderRadiusLG)} ${(0,Z.bf)(n.borderRadiusLG)} 0 0`},(0,w.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},w.vS),{[` + > ${O}-typography, + > ${O}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${M}-tabs-top`]:{clear:"both",marginBottom:W,color:n.colorText,fontWeight:"normal",fontSize:n.fontSize,"&-bar":{borderBottom:`${(0,Z.bf)(n.lineWidth)} ${n.lineType} ${n.colorBorderSecondary}`}}})},g=n=>{const{cardPaddingBase:M,colorBorderSecondary:O,cardShadow:E,lineWidth:B}=n;return{width:"33.33%",padding:M,border:0,borderRadius:0,boxShadow:` + ${(0,Z.bf)(B)} 0 0 0 ${O}, + 0 ${(0,Z.bf)(B)} 0 0 ${O}, + ${(0,Z.bf)(B)} ${(0,Z.bf)(B)} 0 0 ${O}, + ${(0,Z.bf)(B)} 0 0 0 ${O} inset, + 0 ${(0,Z.bf)(B)} 0 0 ${O} inset; + `,transition:`all ${n.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:E}}},x=n=>{const{componentCls:M,iconCls:O,actionsLiMargin:E,cardActionsIconSize:B,colorBorderSecondary:W,actionsBg:Se}=n;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:Se,borderTop:`${(0,Z.bf)(n.lineWidth)} ${n.lineType} ${W}`,display:"flex",borderRadius:`0 0 ${(0,Z.bf)(n.borderRadiusLG)} ${(0,Z.bf)(n.borderRadiusLG)}`},(0,w.dF)()),{"& > li":{margin:E,color:n.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:n.calc(n.cardActionsIconSize).mul(2).equal(),fontSize:n.fontSize,lineHeight:n.lineHeight,cursor:"pointer","&:hover":{color:n.colorPrimary,transition:`color ${n.motionDurationMid}`},[`a:not(${M}-btn), > ${O}`]:{display:"inline-block",width:"100%",color:n.colorTextDescription,lineHeight:(0,Z.bf)(n.fontHeight),transition:`color ${n.motionDurationMid}`,"&:hover":{color:n.colorPrimary}},[`> ${O}`]:{fontSize:B,lineHeight:(0,Z.bf)(n.calc(B).mul(n.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,Z.bf)(n.lineWidth)} ${n.lineType} ${W}`}}})},b=n=>Object.assign(Object.assign({margin:`${(0,Z.bf)(n.calc(n.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,w.dF)()),{"&-avatar":{paddingInlineEnd:n.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:n.marginXS}},"&-title":Object.assign({color:n.colorTextHeading,fontWeight:n.fontWeightStrong,fontSize:n.fontSizeLG},w.vS),"&-description":{color:n.colorTextDescription}}),C=n=>{const{componentCls:M,cardPaddingBase:O,colorFillAlter:E}=n;return{[`${M}-head`]:{padding:`0 ${(0,Z.bf)(O)}`,background:E,"&-title":{fontSize:n.fontSize}},[`${M}-body`]:{padding:`${(0,Z.bf)(n.padding)} ${(0,Z.bf)(O)}`}}},A=n=>{const{componentCls:M}=n;return{overflow:"hidden",[`${M}-body`]:{userSelect:"none"}}},ie=n=>{const{antCls:M,componentCls:O,cardShadow:E,cardHeadPadding:B,colorBorderSecondary:W,boxShadowTertiary:Se,cardPaddingBase:Me,extraColor:Ie}=n;return{[O]:Object.assign(Object.assign({},(0,w.Wf)(n)),{position:"relative",background:n.colorBgContainer,borderRadius:n.borderRadiusLG,[`&:not(${O}-bordered)`]:{boxShadow:Se},[`${O}-head`]:l(n),[`${O}-extra`]:{marginInlineStart:"auto",color:Ie,fontWeight:"normal",fontSize:n.fontSize},[`${O}-body`]:Object.assign({padding:Me,borderRadius:`0 0 ${(0,Z.bf)(n.borderRadiusLG)} ${(0,Z.bf)(n.borderRadiusLG)}`},(0,w.dF)()),[`${O}-grid`]:g(n),[`${O}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${M}-image-mask`]:{borderRadius:`${(0,Z.bf)(n.borderRadiusLG)} ${(0,Z.bf)(n.borderRadiusLG)} 0 0`}},[`${O}-actions`]:x(n),[`${O}-meta`]:b(n)}),[`${O}-bordered`]:{border:`${(0,Z.bf)(n.lineWidth)} ${n.lineType} ${W}`,[`${O}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${O}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${n.motionDurationMid}, border-color ${n.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:E}},[`${O}-contain-grid`]:{borderRadius:`${(0,Z.bf)(n.borderRadiusLG)} ${(0,Z.bf)(n.borderRadiusLG)} 0 0 `,[`${O}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${O}-loading) ${O}-body`]:{marginBlockStart:n.calc(n.lineWidth).mul(-1).equal(),marginInlineStart:n.calc(n.lineWidth).mul(-1).equal(),padding:0}},[`${O}-contain-tabs`]:{[`> div${O}-head`]:{minHeight:0,[`${O}-head-title, ${O}-extra`]:{paddingTop:B}}},[`${O}-type-inner`]:C(n),[`${O}-loading`]:A(n),[`${O}-rtl`]:{direction:"rtl"}}},f=n=>{const{componentCls:M,cardPaddingSM:O,headerHeightSM:E,headerFontSizeSM:B}=n;return{[`${M}-small`]:{[`> ${M}-head`]:{minHeight:E,padding:`0 ${(0,Z.bf)(O)}`,fontSize:B,[`> ${M}-head-wrapper`]:{[`> ${M}-extra`]:{fontSize:n.fontSize}}},[`> ${M}-body`]:{padding:O}},[`${M}-small${M}-contain-tabs`]:{[`> ${M}-head`]:{[`${M}-head-title, ${M}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},$=n=>({headerBg:"transparent",headerFontSize:n.fontSizeLG,headerFontSizeSM:n.fontSize,headerHeight:n.fontSizeLG*n.lineHeightLG+n.padding*2,headerHeightSM:n.fontSize*n.lineHeight+n.paddingXS*2,actionsBg:n.colorBgContainer,actionsLiMargin:`${n.paddingSM}px 0`,tabsMarginBottom:-n.padding-n.lineWidth,extraColor:n.colorText});var r=(0,i.I$)("Card",n=>{const M=(0,d.TS)(n,{cardShadow:n.boxShadowCard,cardHeadPadding:n.padding,cardPaddingBase:n.paddingLG,cardActionsIconSize:n.fontSize,cardPaddingSM:12});return[ie(M),f(M)]},$),u=function(n,M){var O={};for(var E in n)Object.prototype.hasOwnProperty.call(n,E)&&M.indexOf(E)<0&&(O[E]=n[E]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,E=Object.getOwnPropertySymbols(n);B{const{actionClasses:M,actions:O=[],actionStyle:E}=n;return o.createElement("ul",{className:M,style:E},O.map((B,W)=>{const Se=`action-${W}`;return o.createElement("li",{style:{width:`${100/O.length}%`},key:Se},o.createElement("span",null,B))}))};var K=o.forwardRef((n,M)=>{const{prefixCls:O,className:E,rootClassName:B,style:W,extra:Se,headStyle:Me={},bodyStyle:Ie={},title:Ae,loading:Ge,bordered:Ze=!0,size:Ke,type:Je,cover:ke,actions:me,tabList:Ve,children:Ye,activeTabKey:et,defaultActiveTabKey:nt,tabBarExtraContent:rt,hoverable:at,tabProps:ot={},classNames:s,styles:c}=n,y=u(n,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:p,direction:P,card:te}=o.useContext(_.E_),ye=q=>{var k;(k=n.onTabChange)===null||k===void 0||k.call(n,q)},ge=q=>{var k;return a()((k=te==null?void 0:te.classNames)===null||k===void 0?void 0:k[q],s==null?void 0:s[q])},xe=q=>{var k;return Object.assign(Object.assign({},(k=te==null?void 0:te.styles)===null||k===void 0?void 0:k[q]),c==null?void 0:c[q])},Ne=o.useMemo(()=>{let q=!1;return o.Children.forEach(Ye,k=>{k&&k.type&&k.type===X&&(q=!0)}),q},[Ye]),fe=p("card",O),[R,e,m]=r(fe),N=o.createElement(ee.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},Ye),S=et!==void 0,V=Object.assign(Object.assign({},ot),{[S?"activeKey":"defaultActiveKey"]:S?et:nt,tabBarExtraContent:rt});let Q;const le=(0,F.Z)(Ke),pe=!le||le==="default"?"large":le,z=Ve?o.createElement(H.Z,Object.assign({size:pe},V,{className:`${fe}-head-tabs`,onChange:ye,items:Ve.map(q=>{var{tab:k}=q,Ce=u(q,["tab"]);return Object.assign({label:k},Ce)})})):null;if(Ae||Se||z){const q=a()(`${fe}-head`,ge("header")),k=a()(`${fe}-head-title`,ge("title")),Ce=a()(`${fe}-extra`,ge("extra")),de=Object.assign(Object.assign({},Me),xe("header"));Q=o.createElement("div",{className:q,style:de},o.createElement("div",{className:`${fe}-head-wrapper`},Ae&&o.createElement("div",{className:k,style:xe("title")},Ae),Se&&o.createElement("div",{className:Ce,style:xe("extra")},Se)),z)}const ne=a()(`${fe}-cover`,ge("cover")),re=ke?o.createElement("div",{className:ne,style:xe("cover")},ke):null,se=a()(`${fe}-body`,ge("body")),ae=Object.assign(Object.assign({},Ie),xe("body")),J=o.createElement("div",{className:se,style:ae},Ge?N:Ye),ce=a()(`${fe}-actions`,ge("actions")),oe=me&&me.length?o.createElement(v,{actionClasses:ce,actionStyle:xe("actions"),actions:me}):null,L=(0,T.Z)(y,["onTabChange"]),U=a()(fe,te==null?void 0:te.className,{[`${fe}-loading`]:Ge,[`${fe}-bordered`]:Ze,[`${fe}-hoverable`]:at,[`${fe}-contain-grid`]:Ne,[`${fe}-contain-tabs`]:Ve&&Ve.length,[`${fe}-${le}`]:le,[`${fe}-type-${Je}`]:!!Je,[`${fe}-rtl`]:P==="rtl"},E,B,e,m),he=Object.assign(Object.assign({},te==null?void 0:te.style),W);return R(o.createElement("div",Object.assign({ref:M},L,{className:U,style:he}),Q,re,J,oe))}),ue=function(n,M){var O={};for(var E in n)Object.prototype.hasOwnProperty.call(n,E)&&M.indexOf(E)<0&&(O[E]=n[E]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,E=Object.getOwnPropertySymbols(n);B{const{prefixCls:M,className:O,avatar:E,title:B,description:W}=n,Se=ue(n,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Me}=o.useContext(_.E_),Ie=Me("card",M),Ae=a()(`${Ie}-meta`,O),Ge=E?o.createElement("div",{className:`${Ie}-meta-avatar`},E):null,Ze=B?o.createElement("div",{className:`${Ie}-meta-title`},B):null,Ke=W?o.createElement("div",{className:`${Ie}-meta-description`},W):null,Je=Ze||Ke?o.createElement("div",{className:`${Ie}-meta-detail`},Ze,Ke):null;return o.createElement("div",Object.assign({},Se,{className:Ae}),Ge,Je)};const ze=K;ze.Grid=X,ze.Meta=Be;var Qe=ze},15746:function(G,h,t){"use strict";var o=t(21584);h.Z=o.Z},71230:function(G,h,t){"use strict";var o=t(92820);h.Z=o.Z},19158:function(G,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=t;function t(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},32191:function(G,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=t;function t(o,D){if(!o)return!1;if(o.contains)return o.contains(D);for(var a=D;a;){if(a===o)return!0;a=a.parentNode}return!1}},93399:function(G,h,t){"use strict";var o=t(64836).default;Object.defineProperty(h,"__esModule",{value:!0}),h.clearContainerCache=g,h.injectCSS=w,h.removeCSS=d,h.updateCSS=x;var D=o(t(42122)),a=o(t(19158)),T=o(t(32191)),_="data-rc-order",F="data-rc-priority",ee="rc-util-key",H=new Map;function I(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=b.mark;return C?C.startsWith("data-")?C:"data-".concat(C):ee}function Y(b){if(b.attachTo)return b.attachTo;var C=document.querySelector("head");return C||document.body}function X(b){return b==="queue"?"prependQueue":b?"prepend":"append"}function Z(b){return Array.from((H.get(b)||b).children).filter(function(C){return C.tagName==="STYLE"})}function w(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,a.default)())return null;var A=C.csp,ie=C.prepend,f=C.priority,$=f===void 0?0:f,r=X(ie),u=r==="prependQueue",v=document.createElement("style");v.setAttribute(_,r),u&&$&&v.setAttribute(F,"".concat($)),A!=null&&A.nonce&&(v.nonce=A==null?void 0:A.nonce),v.innerHTML=b;var j=Y(C),K=j.firstChild;if(ie){if(u){var ue=(C.styles||Z(j)).filter(function(je){if(!["prepend","prependQueue"].includes(je.getAttribute(_)))return!1;var Be=Number(je.getAttribute(F)||0);return $>=Be});if(ue.length)return j.insertBefore(v,ue[ue.length-1].nextSibling),v}j.insertBefore(v,K)}else j.appendChild(v);return v}function i(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=Y(C);return(C.styles||Z(A)).find(function(ie){return ie.getAttribute(I(C))===b})}function d(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=i(b,C);if(A){var ie=Y(C);ie.removeChild(A)}}function l(b,C){var A=H.get(b);if(!A||!(0,T.default)(document,A)){var ie=w("",C),f=ie.parentNode;H.set(b,f),b.removeChild(ie)}}function g(){H.clear()}function x(b,C){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ie=Y(A),f=Z(ie),$=(0,D.default)((0,D.default)({},A),{},{styles:f});l(ie,$);var r=i(C,$);if(r){var u,v;if((u=$.csp)!==null&&u!==void 0&&u.nonce&&r.nonce!==((v=$.csp)===null||v===void 0?void 0:v.nonce)){var j;r.nonce=(j=$.csp)===null||j===void 0?void 0:j.nonce}return r.innerHTML!==b&&(r.innerHTML=b),r}var K=w(b,$);return K.setAttribute(I($),C),K}},63298:function(G,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.getShadowRoot=D,h.inShadow=o;function t(a){var T;return a==null||(T=a.getRootNode)===null||T===void 0?void 0:T.call(a)}function o(a){return t(a)instanceof ShadowRoot}function D(a){return o(a)?t(a):null}},45520:function(G,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.call=F,h.default=void 0,h.note=T,h.noteOnce=H,h.preMessage=void 0,h.resetWarned=_,h.warning=a,h.warningOnce=ee;var t={},o=[],D=h.preMessage=function(X){o.push(X)};function a(Y,X){if(!1)var Z}function T(Y,X){if(!1)var Z}function _(){t={}}function F(Y,X,Z){!X&&!t[Z]&&(Y(!1,Z),t[Z]=!0)}function ee(Y,X){F(a,Y,X)}function H(Y,X){F(T,Y,X)}ee.preMessage=D,ee.resetWarned=_,ee.noteOnce=H;var I=h.default=ee},38416:function(G,h,t){var o=t(64062);function D(a,T,_){return(T=o(T))in a?Object.defineProperty(a,T,{value:_,enumerable:!0,configurable:!0,writable:!0}):a[T]=_,a}G.exports=D,G.exports.__esModule=!0,G.exports.default=G.exports},64836:function(G){function h(t){return t&&t.__esModule?t:{default:t}}G.exports=h,G.exports.__esModule=!0,G.exports.default=G.exports},42122:function(G,h,t){var o=t(38416);function D(T,_){var F=Object.keys(T);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(T);_&&(ee=ee.filter(function(H){return Object.getOwnPropertyDescriptor(T,H).enumerable})),F.push.apply(F,ee)}return F}function a(T){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(c).reduce(function(N,D){var j=c[D];switch(D){case"class":N.className=j,delete N.class;break;default:N[D]=j}return N},{})}function J(c,N,D){return D?P.default.createElement(c.tag,(0,r.default)((0,r.default)({key:N},O(c.attrs)),D),(c.children||[]).map(function(j,ee){return J(j,"".concat(N,"-").concat(c.tag,"-").concat(ee))})):P.default.createElement(c.tag,(0,r.default)({key:N},O(c.attrs)),(c.children||[]).map(function(j,ee){return J(j,"".concat(N,"-").concat(c.tag,"-").concat(ee))}))}function K(c){return(0,u.generate)(c)[0]}function v(c){return c?Array.isArray(c)?c:[c]:[]}var C={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};f.svgBaseProps=C;var B=` -.anticon { - display: inline-block; - color: inherit; - font-style: normal; - line-height: 0; - text-align: center; - text-transform: none; - vertical-align: -0.125em; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.anticon > * { - line-height: 1; -} - -.anticon svg { - display: inline-block; -} - -.anticon::before { - display: none; -} - -.anticon .anticon-icon { - display: block; -} - -.anticon[tabindex] { - cursor: pointer; -} - -.anticon-spin::before, -.anticon-spin { - display: inline-block; - -webkit-animation: loadingCircle 1s infinite linear; - animation: loadingCircle 1s infinite linear; -} - -@-webkit-keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -`;f.iconStyles=B;var E=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:B,D=(0,P.useContext)(q.default),j=D.csp;(0,P.useEffect)(function(){(0,X.updateCSS)(N,"@ant-design-icons",{prepend:!0,csp:j})},[])};f.useInsertStyles=E},88372:function(T,f,e){"use strict";e.d(f,{f:function(){return z}});var a=e(4942),Z=e(85893),r=e(58720),o=e(94184),u=e.n(o),P=e(67294),w=e(76509),X=e(1413),q=e(98082),ae=function(O){return(0,a.Z)({},O.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function y(x){return(0,q.Xj)("ProLayoutGridContent",function(O){var J=(0,X.Z)((0,X.Z)({},O),{},{componentCls:".".concat(x)});return[ae(J)]})}var z=function(O){var J=(0,P.useContext)(w.X),K=O.children,v=O.contentWidth,C=O.className,B=O.style,E=(0,P.useContext)(r.ZP.ConfigContext),c=E.getPrefixCls,N=O.prefixCls||c("pro"),D=v||J.contentWidth,j="".concat(N,"-grid-content"),ee=y(j),ge=ee.wrapSSR,xe=ee.hashId,Re=D==="Fixed";return ge((0,Z.jsx)("div",{className:u()(j,xe,C,(0,a.Z)({},"".concat(j,"-wide"),Re)),style:B,children:(0,Z.jsx)("div",{className:"".concat(N,"-grid-content-children ").concat(xe),children:K})}))}},58841:function(T,f,e){"use strict";e.d(f,{_z:function(){return he}});var a=e(4942),Z=e(45987),r=e(1413),o=e(71002),u=e(85893),P=e(46803),w=e(93980),X=e(58720),q=e(15671),ae=e(43144),y=e(32531),z=e(51630),x=e(94184),O=e.n(x),J=e(48555),K=e(98423),v=e(67294),C=e(53124),B=e(74902),E=e(75164);function c(S){let t;const s=h=>()=>{t=null,S.apply(void 0,(0,B.Z)(h))},d=function(){if(t==null){for(var h=arguments.length,M=new Array(h),H=0;H{E.Z.cancel(t),t=null},d}var N=c,D=e(67968),j=e(45503);const ee=S=>{const{componentCls:t}=S;return{[t]:{position:"fixed",zIndex:S.zIndexPopup}}};var ge=(0,D.Z)("Affix",S=>{const t=(0,j.TS)(S,{zIndexPopup:S.zIndexBase+10});return[ee(t)]}),xe=e(64019);function Re(S){return S!==window?S.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Ge(S,t,s){if(s!==void 0&&t.top>S.top-s)return s+t.top}function De(S,t,s){if(s!==void 0&&t.bottomd.target===S);s?s.affixList.push(t):(s={target:S,affixList:[t],eventHandlers:{}},Ze.push(s),Ie.forEach(d=>{s.eventHandlers[d]=(0,xe.Z)(S,d,()=>{s.affixList.forEach(h=>{h.lazyUpdatePosition()})})}))}function R(S){const t=Ze.find(s=>{const d=s.affixList.some(h=>h===S);return d&&(s.affixList=s.affixList.filter(h=>h!==S)),d});t&&t.affixList.length===0&&(Ze=Ze.filter(s=>s!==t),Ie.forEach(s=>{const d=t.eventHandlers[s];d&&d.remove&&d.remove()}))}function b(){return typeof window!="undefined"?window:null}var $;(function(S){S[S.None=0]="None",S[S.Prepare=1]="Prepare"})($||($={}));let le=function(S){(0,y.Z)(s,S);var t=(0,z.Z)(s);function s(){var d;return(0,q.Z)(this,s),d=t.apply(this,arguments),d.state={status:$.None,lastAffix:!1,prevTarget:null},d.getOffsetTop=()=>{const{offsetBottom:h,offsetTop:M}=d.props;return h===void 0&&M===void 0?0:M},d.getOffsetBottom=()=>d.props.offsetBottom,d.savePlaceholderNode=h=>{d.placeholderNode=h},d.saveFixedNode=h=>{d.fixedNode=h},d.measure=()=>{const{status:h,lastAffix:M}=d.state,{onChange:H}=d.props,F=d.getTargetFunc();if(h!==$.Prepare||!d.fixedNode||!d.placeholderNode||!F)return;const Y=d.getOffsetTop(),Q=d.getOffsetBottom(),U=F();if(!U)return;const G={status:$.None},ne=Re(U),V=Re(d.placeholderNode),_=Ge(V,ne,Y),fe=De(V,ne,Q);V.top===0&&V.left===0&&V.width===0&&V.height===0||(_!==void 0?(G.affixStyle={position:"fixed",top:_,width:V.width,height:V.height},G.placeholderStyle={width:V.width,height:V.height}):fe!==void 0&&(G.affixStyle={position:"fixed",bottom:fe,width:V.width,height:V.height},G.placeholderStyle={width:V.width,height:V.height}),G.lastAffix=!!G.affixStyle,H&&M!==G.lastAffix&&H(G.lastAffix),d.setState(G))},d.prepareMeasure=()=>{d.setState({status:$.Prepare,affixStyle:void 0,placeholderStyle:void 0})},d.updatePosition=N(()=>{d.prepareMeasure()}),d.lazyUpdatePosition=N(()=>{const h=d.getTargetFunc(),{affixStyle:M}=d.state;if(h&&M){const H=d.getOffsetTop(),F=d.getOffsetBottom(),Y=h();if(Y&&d.placeholderNode){const Q=Re(Y),U=Re(d.placeholderNode),G=Ge(U,Q,H),ne=De(U,Q,F);if(G!==void 0&&M.top===G||ne!==void 0&&M.bottom===ne)return}}d.prepareMeasure()}),d}return(0,ae.Z)(s,[{key:"getTargetFunc",value:function(){const{getTargetContainer:h}=this.context,{target:M}=this.props;return M!==void 0?M:h!=null?h:b}},{key:"componentDidMount",value:function(){const h=this.getTargetFunc();h&&(this.timeout=setTimeout(()=>{g(h(),this),this.updatePosition()}))}},{key:"componentDidUpdate",value:function(h){const{prevTarget:M}=this.state,H=this.getTargetFunc(),F=(H==null?void 0:H())||null;M!==F&&(R(this),F&&(g(F,this),this.updatePosition()),this.setState({prevTarget:F})),(h.offsetTop!==this.props.offsetTop||h.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),R(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"render",value:function(){const{affixStyle:h,placeholderStyle:M}=this.state,{affixPrefixCls:H,rootClassName:F,children:Y}=this.props,Q=O()({[F]:!!h,[H]:!!h});let U=(0,K.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return v.createElement(J.Z,{onResize:this.updatePosition},v.createElement("div",Object.assign({},U,{ref:this.savePlaceholderNode}),h&&v.createElement("div",{style:M,"aria-hidden":"true"}),v.createElement("div",{className:Q,ref:this.saveFixedNode,style:h},v.createElement(J.Z,{onResize:this.updatePosition},Y))))}}]),s}(v.Component);le.contextType=C.E_;var Ae=v.forwardRef((S,t)=>{const{prefixCls:s}=S,{getPrefixCls:d}=v.useContext(C.E_),h=d("affix",s),[M,H]=ge(h),F=Object.assign(Object.assign({},S),{affixPrefixCls:h,rootClassName:H});return M(v.createElement(le,Object.assign({},F,{ref:t})))}),ue=e(76509),He=e(12044),Ve=e(97435),Xe=e(73935),Oe=e(98082),Ke=function(t){return(0,a.Z)({},t.componentCls,{position:"fixed",insetInlineEnd:0,bottom:0,zIndex:99,display:"flex",alignItems:"center",width:"100%",paddingInline:24,paddingBlock:0,boxSizing:"border-box",lineHeight:"64px",backgroundColor:(0,Oe.uK)(t.colorBgElevated,.6),borderBlockStart:"1px solid ".concat(t.colorSplit),"-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)",color:t.colorText,transition:"all 0.2s ease 0s","&-left":{flex:1,color:t.colorText},"&-right":{color:t.colorText,"> *":{marginInlineEnd:8,"&:last-child":{marginBlock:0,marginInline:0}}}})};function rt(S){return(0,Oe.Xj)("ProLayoutFooterToolbar",function(t){var s=(0,r.Z)((0,r.Z)({},t),{},{componentCls:".".concat(S)});return[Ke(s)]})}function at(S,t){var s=t.stylish;return(0,Oe.Xj)("ProLayoutFooterToolbarStylish",function(d){var h=(0,r.Z)((0,r.Z)({},d),{},{componentCls:".".concat(S)});return s?[(0,a.Z)({},"".concat(h.componentCls),s==null?void 0:s(h))]:[]})}var et=["children","className","extra","portalDom","style","renderContent"],tt=function(t){var s=t.children,d=t.className,h=t.extra,M=t.portalDom,H=M===void 0?!0:M,F=t.style,Y=t.renderContent,Q=(0,Z.Z)(t,et),U=(0,v.useContext)(X.ZP.ConfigContext),G=U.getPrefixCls,ne=U.getTargetContainer,V=(0,v.useContext)(P.L_),_=V.containerDomRef,fe=t.prefixCls||G("pro"),ie="".concat(fe,"-footer-bar"),Se=rt(ie),re=Se.wrapSSR,A=Se.hashId,W=(0,v.useContext)(ue.X),se=(0,v.useMemo)(function(){var ze=W.hasSiderMenu,Me=W.isMobile,qe=W.siderWidth;if(!!ze)return qe?Me?"100%":"calc(100% - ".concat(qe,"px)"):"100%"},[W.collapsed,W.hasSiderMenu,W.isMobile,W.siderWidth]),Pe=(0,v.useMemo)(function(){return(ne==null?void 0:ne())||(_==null?void 0:_.current)||document.body},[]),nt=at("".concat(ie,".").concat(ie,"-stylish"),{stylish:t.stylish}),Ye=(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"".concat(ie,"-left ").concat(A),children:h}),(0,u.jsx)("div",{className:"".concat(ie,"-right ").concat(A),children:s})]});(0,v.useEffect)(function(){return!W||!(W!=null&&W.setHasFooterToolbar)?function(){}:(W==null||W.setHasFooterToolbar(!0),function(){var ze;W==null||(ze=W.setHasFooterToolbar)===null||ze===void 0||ze.call(W,!1)})},[]);var ve=(0,u.jsx)("div",(0,r.Z)((0,r.Z)({className:O()(d,A,ie,(0,a.Z)({},"".concat(ie,"-stylish"),!!t.stylish)),style:(0,r.Z)({width:se},F)},(0,Ve.Z)(Q,["prefixCls"])),{},{children:Y?Y((0,r.Z)((0,r.Z)((0,r.Z)({},t),W),{},{leftWidth:se}),Ye):Ye})),Je=!(0,He.j)()||!H?ve:(0,Xe.createPortal)(ve,Pe,ie);return nt.wrapSSR(re((0,u.jsx)(v.Fragment,{children:Je},ie)))},Qe=e(88372),l=e(71563),i=e(83832),p=e(97685),m=function(t){if(!t)return 1;var s=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||1;return(window.devicePixelRatio||1)/s},I=function(t){var s=t.children,d=t.style,h=t.className,M=t.markStyle,H=t.markClassName,F=t.zIndex,Y=F===void 0?9:F,Q=t.gapX,U=Q===void 0?212:Q,G=t.gapY,ne=G===void 0?222:G,V=t.width,_=V===void 0?120:V,fe=t.height,ie=fe===void 0?64:fe,Se=t.rotate,re=Se===void 0?-22:Se,A=t.image,W=t.content,se=t.offsetLeft,Pe=t.offsetTop,nt=t.fontStyle,Ye=nt===void 0?"normal":nt,ve=t.fontWeight,Je=ve===void 0?"normal":ve,ze=t.fontColor,Me=ze===void 0?"rgba(0,0,0,.15)":ze,qe=t.fontSize,dt=qe===void 0?16:qe,ke=t.fontFamily,ot=ke===void 0?"sans-serif":ke,ct=t.prefixCls,st=(0,v.useContext)(X.ZP.ConfigContext),ut=st.getPrefixCls,Ce=ut("pro-layout-watermark",ct),Le=O()("".concat(Ce,"-wrapper"),h),ft=O()(Ce,H),yt=(0,v.useState)(""),vt=(0,p.Z)(yt,2),gt=vt[0],mt=vt[1];return(0,v.useEffect)(function(){var it=document.createElement("canvas"),Fe=it.getContext("2d"),_e=m(Fe),Ct="".concat((U+_)*_e,"px"),xt="".concat((ne+ie)*_e,"px"),bt=se||U/2,St=Pe||ne/2;if(it.setAttribute("width",Ct),it.setAttribute("height",xt),Fe){Fe.translate(bt*_e,St*_e),Fe.rotate(Math.PI/180*Number(re));var Pt=_*_e,ht=ie*_e;if(A){var lt=new Image;lt.crossOrigin="anonymous",lt.referrerPolicy="no-referrer",lt.src=A,lt.onload=function(){Fe.drawImage(lt,0,0,Pt,ht),mt(it.toDataURL())}}else if(W){var pt=Number(dt)*_e;Fe.font="".concat(Ye," normal ").concat(Je," ").concat(pt,"px/").concat(ht,"px ").concat(ot),Fe.fillStyle=Me,Array.isArray(W)?W==null||W.forEach(function(Ot,$t){return Fe.fillText(Ot,0,$t*pt)}):Fe.fillText(W,0,0),mt(it.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[U,ne,se,Pe,re,Ye,Je,_,ie,ot,Me,A,W,dt]),(0,u.jsxs)("div",{style:(0,r.Z)({position:"relative"},d),className:Le,children:[s,(0,u.jsx)("div",{className:ft,style:(0,r.Z)((0,r.Z)({zIndex:Y,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(U+_,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},gt?{backgroundImage:"url('".concat(gt,"')")}:{}),M)})]})},k=[576,768,992,1200].map(function(S){return"@media (max-width: ".concat(S,"px)")}),de=(0,p.Z)(k,4),ce=de[0],L=de[1],me=de[2],je=de[3],oe=function(t){var s,d,h,M,H,F,Y,Q,U,G,ne,V,_,fe,ie,Se,re,A,W,se,Pe;return(0,a.Z)({},t.componentCls,(Pe={position:"relative","&-children-content":{paddingBlock:(s=t.layout)===null||s===void 0||(d=s.pageContainer)===null||d===void 0?void 0:d.paddingBlockPageContainerContent,paddingInline:(h=t.layout)===null||h===void 0||(M=h.pageContainer)===null||M===void 0?void 0:M.paddingInlinePageContainerContent},"&-affix":(0,a.Z)({},"".concat(t.antCls,"-affix"),(0,a.Z)({},"".concat(t.componentCls,"-warp"),{backgroundColor:(H=t.layout)===null||H===void 0||(F=H.pageContainer)===null||F===void 0?void 0:F.colorBgPageContainerFixed,transition:"background-color 0.3s",boxShadow:"0 2px 8px #f0f1f2"}))},(0,a.Z)(Pe,"& &-warp-page-header",(0,a.Z)({paddingBlockStart:((Y=(Q=t.layout)===null||Q===void 0||(U=Q.pageContainer)===null||U===void 0?void 0:U.paddingBlockPageContainerContent)!==null&&Y!==void 0?Y:40)/2,paddingBlockEnd:((G=(ne=t.layout)===null||ne===void 0||(V=ne.pageContainer)===null||V===void 0?void 0:V.paddingBlockPageContainerContent)!==null&&G!==void 0?G:40)/2,paddingInlineStart:(_=t.layout)===null||_===void 0||(fe=_.pageContainer)===null||fe===void 0?void 0:fe.paddingInlinePageContainerContent,paddingInlineEnd:(ie=t.layout)===null||ie===void 0||(Se=ie.pageContainer)===null||Se===void 0?void 0:Se.paddingInlinePageContainerContent},"& ~ ".concat(t.proComponentsCls,"-grid-content"),(0,a.Z)({},"".concat(t.proComponentsCls,"-page-container-children-content"),{paddingBlock:((re=(A=t.layout)===null||A===void 0||(W=A.pageContainer)===null||W===void 0?void 0:W.paddingBlockPageContainerContent)!==null&&re!==void 0?re:24)/3}))),(0,a.Z)(Pe,"&-detail",(0,a.Z)({display:"flex"},ce,{display:"block"})),(0,a.Z)(Pe,"&-main",{width:"100%"}),(0,a.Z)(Pe,"&-row",(0,a.Z)({display:"flex",width:"100%"},L,{display:"block"})),(0,a.Z)(Pe,"&-content",{flex:"auto",width:"100%"}),(0,a.Z)(Pe,"&-extraContent",(se={flex:"0 1 auto",minWidth:"242px",marginInlineStart:88,textAlign:"end"},(0,a.Z)(se,je,{marginInlineStart:44}),(0,a.Z)(se,me,{marginInlineStart:20}),(0,a.Z)(se,L,{marginInlineStart:0,textAlign:"start"}),(0,a.Z)(se,ce,{marginInlineStart:0}),se)),Pe))};function ye(S,t){return(0,Oe.Xj)("ProLayoutPageContainer",function(s){var d=(0,r.Z)((0,r.Z)({},s),{},{componentCls:".".concat(S)},t);return[oe(d)]})}function $e(S,t){var s=t.stylish;return(0,Oe.Xj)("ProLayoutPageContainerStylish",function(d){var h=(0,r.Z)((0,r.Z)({},d),{},{componentCls:".".concat(S)});return s?[(0,a.Z)({},d.proComponentsCls,(0,a.Z)({},"".concat(h.componentCls),s==null?void 0:s(h)))]:[]})}var Be=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","childrenContentStyle","style","prefixCls","hashId","value","breadcrumbRender"],Ee=["children","loading","className","style","footer","affixProps","token","fixedHeader","breadcrumbRender","footerToolBarProps","childrenContentStyle"];function we(S){return(0,o.Z)(S)==="object"?S:{spinning:S}}var be=function(t){var s=t.tabList,d=t.tabActiveKey,h=t.onTabChange,M=t.hashId,H=t.tabBarExtraContent,F=t.tabProps,Y=t.prefixedClassName;return Array.isArray(s)||H?(0,u.jsx)(w.Z,(0,r.Z)((0,r.Z)({className:"".concat(Y,"-tabs ").concat(M),activeKey:d,onChange:function(U){h&&h(U)},tabBarExtraContent:H,items:s==null?void 0:s.map(function(Q,U){var G;return(0,r.Z)((0,r.Z)({label:Q.tab},Q),{},{key:((G=Q.key)===null||G===void 0?void 0:G.toString())||(U==null?void 0:U.toString())})})},F),{},{children:s==null?void 0:s.map(function(Q,U){return(0,u.jsx)(w.Z.TabPane,(0,r.Z)({tab:Q.tab},Q),Q.key||U)})})):null},Te=function(t,s,d,h){return!t&&!s?null:(0,u.jsx)("div",{className:"".concat(d,"-detail ").concat(h),children:(0,u.jsx)("div",{className:"".concat(d,"-main ").concat(h),children:(0,u.jsxs)("div",{className:"".concat(d,"-row ").concat(h),children:[t&&(0,u.jsx)("div",{className:"".concat(d,"-content ").concat(h),children:t}),s&&(0,u.jsx)("div",{className:"".concat(d,"-extraContent ").concat(h),children:s})]})})})},Ue=function(t){var s=useContext(RouteContext);return _jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:_jsx(Breadcrumb,_objectSpread(_objectSpread(_objectSpread({},s==null?void 0:s.breadcrumb),s==null?void 0:s.breadcrumbProps),t))})},te=function(t){var s,d=t.title,h=t.content,M=t.pageHeaderRender,H=t.header,F=t.prefixedClassName,Y=t.extraContent,Q=t.childrenContentStyle,U=t.style,G=t.prefixCls,ne=t.hashId,V=t.value,_=t.breadcrumbRender,fe=(0,Z.Z)(t,Be),ie=function(){if(!!_)return _};if(M===!1)return null;if(M)return(0,u.jsxs)(u.Fragment,{children:[" ",M((0,r.Z)((0,r.Z)({},t),V))]});var Se=d;!d&&d!==!1&&(Se=V.title);var re=(0,r.Z)((0,r.Z)((0,r.Z)({},V),{},{title:Se},fe),{},{footer:be((0,r.Z)((0,r.Z)({},fe),{},{hashId:ne,breadcrumbRender:_,prefixedClassName:F}))},H),A=re.breadcrumb,W=(!A||!(A!=null&&A.itemRender)&&!(!(A==null||(s=A.routes)===null||s===void 0)&&s.length))&&!_;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(se){return!re[se]})&&W&&!h&&!Y?null:(0,u.jsx)(l.m,(0,r.Z)((0,r.Z)({},re),{},{className:"".concat(F,"-warp-page-header ").concat(ne),breadcrumb:_===!1?void 0:(0,r.Z)((0,r.Z)({},re.breadcrumb),V.breadcrumbProps),breadcrumbRender:ie(),prefixCls:G,children:(H==null?void 0:H.children)||Te(h,Y,F,ne)}))},We=function(t){var s,d,h,M,H=t.children,F=t.loading,Y=F===void 0?!1:F,Q=t.className,U=t.style,G=t.footer,ne=t.affixProps,V=t.token,_=t.fixedHeader,fe=t.breadcrumbRender,ie=t.footerToolBarProps,Se=t.childrenContentStyle,re=(0,Z.Z)(t,Ee),A=(0,v.useContext)(ue.X);(0,v.useEffect)(function(){var Ce;return!A||!(A!=null&&A.setHasPageContainer)?function(){}:(A==null||(Ce=A.setHasPageContainer)===null||Ce===void 0||Ce.call(A,function(Le){return Le+1}),function(){var Le;A==null||(Le=A.setHasPageContainer)===null||Le===void 0||Le.call(A,function(ft){return ft-1})})},[]);var W=(0,v.useContext)(P.L_),se=W.token,Pe=(0,v.useContext)(X.ZP.ConfigContext),nt=Pe.getPrefixCls,Ye=t.prefixCls||nt("pro"),ve="".concat(Ye,"-page-container"),Je=ye(ve,V),ze=Je.wrapSSR,Me=Je.hashId,qe=$e("".concat(ve,".").concat(ve,"-stylish"),{stylish:t.stylish}),dt=(0,v.useMemo)(function(){var Ce;return fe==!1?!1:fe||(re==null||(Ce=re.header)===null||Ce===void 0?void 0:Ce.breadcrumbRender)},[fe,re==null||(s=re.header)===null||s===void 0?void 0:s.breadcrumbRender]),ke=te((0,r.Z)((0,r.Z)({},re),{},{breadcrumbRender:dt,ghost:!0,hashId:Me,prefixCls:void 0,prefixedClassName:ve,value:A})),ot=(0,v.useMemo)(function(){if(v.isValidElement(Y))return Y;if(typeof Y=="boolean"&&!Y)return null;var Ce=we(Y);return Ce.spinning?(0,u.jsx)(i.S,(0,r.Z)({},Ce)):null},[Y]),ct=(0,v.useMemo)(function(){return H?(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("div",{className:O()("".concat(ve,"-children-content ").concat(Me)),style:Se,children:H})}):null},[H,ve,Se,Me]),st=(0,v.useMemo)(function(){var Ce=ot||ct;if(t.waterMarkProps||A.waterMarkProps){var Le=(0,r.Z)((0,r.Z)({},A.waterMarkProps),t.waterMarkProps);return(0,u.jsx)(I,(0,r.Z)((0,r.Z)({},Le),{},{children:Ce}))}return Ce},[t.waterMarkProps,A.waterMarkProps,ot,ct]),ut=O()(ve,Me,Q,(d={},(0,a.Z)(d,"".concat(ve,"-with-footer"),G),(0,a.Z)(d,"".concat(ve,"-with-affix"),_&&ke),(0,a.Z)(d,"".concat(ve,"-stylish"),!!re.stylish),d));return qe.wrapSSR(ze((0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{style:U,className:ut,children:[_&&ke?(0,u.jsx)(Ae,(0,r.Z)((0,r.Z)({offsetTop:A.hasHeader&&A.fixedHeader?se==null||(h=se.layout)===null||h===void 0||(M=h.header)===null||M===void 0?void 0:M.heightLayoutHeader:1},ne),{},{className:"".concat(ve,"-affix ").concat(Me),children:(0,u.jsx)("div",{className:"".concat(ve,"-warp ").concat(Me),children:ke})})):ke,st&&(0,u.jsx)(Qe.f,{children:st})]}),G&&(0,u.jsx)(tt,(0,r.Z)((0,r.Z)({stylish:re.footerStylish,prefixCls:Ye},ie),{},{children:G}))]})))},he=function(t){return(0,u.jsx)(P._Y,{needDeps:!0,children:(0,u.jsx)(We,(0,r.Z)({},t))})},pe=function(t){var s=useContext(RouteContext);return te(_objectSpread(_objectSpread({},t),{},{hashId:"",value:s}))}},71563:function(T,f,e){"use strict";e.d(f,{m:function(){return Qe}});var a=e(4942),Z=e(97685),r=e(1413),o=e(85893),u=e(77404),P=e.n(u),w=e(86056),X=e.n(w),q=e(74902),ae=e(94184),y=e.n(ae),z=e(50344),x=e(67294),O=e(53124),J=e(68508),K=e(96159),v=e(13622),C=e(42409),B=function(l,i){var p={};for(var m in l)Object.prototype.hasOwnProperty.call(l,m)&&i.indexOf(m)<0&&(p[m]=l[m]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,m=Object.getOwnPropertySymbols(l);I{const{prefixCls:i,separator:p="/",children:m,menu:I,overlay:k,dropdownProps:de}=l,ce=B(l,["prefixCls","separator","children","menu","overlay","dropdownProps"]),{getPrefixCls:L}=x.useContext(O.E_),me=L("breadcrumb",i),je=ye=>{if(I||k){const $e=Object.assign({},de);return"overlay"in l&&($e.overlay=k),x.createElement(C.Z,Object.assign({menu:I,placement:"bottom"},$e),x.createElement("span",{className:`${me}-overlay-link`},ye,x.createElement(v.Z,null)))}return ye};let oe;return"href"in ce?oe=x.createElement("a",Object.assign({className:`${me}-link`},ce),m):oe=x.createElement("span",Object.assign({className:`${me}-link`},ce),m),oe=je(oe),m!=null?x.createElement("li",null,oe,p&&x.createElement("span",{className:`${me}-separator`},p)):null};E.__ANT_BREADCRUMB_ITEM=!0;var c=E;const N=l=>{let{children:i}=l;const{getPrefixCls:p}=x.useContext(O.E_),m=p("breadcrumb");return x.createElement("span",{className:`${m}-separator`},i||"/")};N.__ANT_BREADCRUMB_SEPARATOR=!0;var D=N,j=e(67968),ee=e(45503),ge=e(14747);const xe=l=>{const{componentCls:i,iconCls:p}=l;return{[i]:Object.assign(Object.assign({},(0,ge.Wf)(l)),{color:l.breadcrumbBaseColor,fontSize:l.breadcrumbFontSize,[p]:{fontSize:l.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:l.breadcrumbLinkColor,transition:`color ${l.motionDurationMid}`,padding:`0 ${l.paddingXXS}px`,borderRadius:l.borderRadiusSM,height:l.lineHeight*l.fontSize,display:"inline-block",marginInline:-l.marginXXS,"&:hover":{color:l.breadcrumbLinkColorHover,backgroundColor:l.colorBgTextHover}},(0,ge.Qy)(l)),["li:last-child"]:{color:l.breadcrumbLastItemColor,[`& > ${i}-separator`]:{display:"none"}},[`${i}-separator`]:{marginInline:l.breadcrumbSeparatorMargin,color:l.breadcrumbSeparatorColor},[`${i}-link`]:{[` - > ${p} + span, - > ${p} + a - `]:{marginInlineStart:l.marginXXS}},[`${i}-overlay-link`]:{borderRadius:l.borderRadiusSM,height:l.lineHeight*l.fontSize,display:"inline-block",padding:`0 ${l.paddingXXS}px`,marginInline:-l.marginXXS,[`> ${p}`]:{marginInlineStart:l.marginXXS,fontSize:l.fontSizeIcon},"&:hover":{color:l.breadcrumbLinkColorHover,backgroundColor:l.colorBgTextHover,a:{color:l.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${l.componentCls}-rtl`]:{direction:"rtl"}})}};var Re=(0,j.Z)("Breadcrumb",l=>{const i=(0,ee.TS)(l,{breadcrumbBaseColor:l.colorTextDescription,breadcrumbFontSize:l.fontSize,breadcrumbIconFontSize:l.fontSize,breadcrumbLinkColor:l.colorTextDescription,breadcrumbLinkColorHover:l.colorText,breadcrumbLastItemColor:l.colorText,breadcrumbSeparatorMargin:l.marginXS,breadcrumbSeparatorColor:l.colorTextDescription});return[xe(i)]}),Ge=function(l,i){var p={};for(var m in l)Object.prototype.hasOwnProperty.call(l,m)&&i.indexOf(m)<0&&(p[m]=l[m]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,m=Object.getOwnPropertySymbols(l);Ii[k]||I)}function Ie(l,i,p,m){const I=p.indexOf(l)===p.length-1,k=De(l,i);return I?x.createElement("span",null,k):x.createElement("a",{href:`#/${m.join("/")}`},k)}const Ze=(l,i)=>(l=(l||"").replace(/^\//,""),Object.keys(i).forEach(p=>{l=l.replace(`:${p}`,i[p])}),l),n=(l,i,p)=>{const m=(0,q.Z)(l),I=Ze(i||"",p);return I&&m.push(I),m},g=l=>{var{prefixCls:i,separator:p="/",style:m,className:I,routes:k,children:de,itemRender:ce=Ie,params:L={}}=l,me=Ge(l,["prefixCls","separator","style","className","routes","children","itemRender","params"]);const{getPrefixCls:je,direction:oe}=x.useContext(O.E_);let ye;const $e=je("breadcrumb",i),[Be,Ee]=Re($e);if(k&&k.length>0){const be=[];ye=k.map(Te=>{const Ue=Ze(Te.path,L);Ue&&be.push(Ue);let te;Te.children&&Te.children.length&&(te=x.createElement(J.Z,{items:Te.children.map(he=>({key:he.path||he.breadcrumbName,label:ce(he,L,k,n(be,he.path,L))}))}));const We={separator:p};return te&&(We.overlay=te),x.createElement(c,Object.assign({},We,{key:Ue||Te.breadcrumbName}),ce(Te,L,k,be))})}else de&&(ye=(0,z.Z)(de).map((be,Te)=>be&&(0,K.Tm)(be,{separator:p,key:Te})));const we=y()($e,{[`${$e}-rtl`]:oe==="rtl"},I,Ee);return Be(x.createElement("nav",Object.assign({className:we,style:m},me),x.createElement("ol",null,ye)))};g.Item=c,g.Separator=D;var R=g,b=R,$=e(98293),le=e(26713),Ne=e(58720),Ae=e(48555),ue=e(98082),He=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Ve=function(i){var p,m;return(0,a.Z)({},i.componentCls,(0,r.Z)((0,r.Z)({},ue.Wf===null||ue.Wf===void 0?void 0:(0,ue.Wf)(i)),{},(m={position:"relative",backgroundColor:i.pageHeaderBgGhost,paddingBlock:i.pageHeaderPaddingVertical+2,paddingInline:i.pageHeaderPadding,"& &-has-breadcrumb":{paddingBlockStart:i.pageHeaderPaddingBreadCrumb},"& &-has-footer":{paddingBlockEnd:0},"& &-back":(0,a.Z)({marginInlineEnd:i.margin,fontSize:16,lineHeight:1,"&-button":(0,r.Z)((0,r.Z)({fontSize:16},ue.Nd===null||ue.Nd===void 0?void 0:(0,ue.Nd)(i)),{},{color:i.pageHeaderColorBack,cursor:"pointer"})},"".concat(i.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:0})},(0,a.Z)(m,"& ".concat("ant","-divider-vertical"),{height:14,marginBlock:0,marginInline:i.marginSM,verticalAlign:"middle"}),(0,a.Z)(m,"& &-breadcrumb + &-heading",{marginBlockStart:i.marginXS}),(0,a.Z)(m,"& &-heading",{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",marginBlock:i.marginXS/2,marginInlineEnd:0,marginInlineStart:0,overflow:"hidden"},"&-title":(0,r.Z)((0,r.Z)({marginInlineEnd:i.marginSM,marginBlockEnd:0,color:i.colorTextHeading,fontWeight:600,fontSize:i.pageHeaderFontSizeHeaderTitle,lineHeight:i.controlHeight+"px"},He()),{},(0,a.Z)({},"".concat(i.componentCls,"-rlt &"),{marginInlineEnd:0,marginInlineStart:i.marginSM})),"&-avatar":(0,a.Z)({marginInlineEnd:i.marginSM},"".concat(i.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:i.marginSM}),"&-tags":(0,a.Z)({},"".concat(i.componentCls,"-rlt &"),{float:"right"}),"&-sub-title":(0,r.Z)((0,r.Z)({marginInlineEnd:i.marginSM,color:i.colorTextSecondary,fontSize:i.pageHeaderFontSizeHeaderSubTitle,lineHeight:i.lineHeight},He()),{},(0,a.Z)({},"".concat(i.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:12})),"&-extra":(p={marginBlock:i.marginXS/2,marginInlineEnd:0,marginInlineStart:0,whiteSpace:"nowrap","> *":(0,a.Z)({"white-space":"unset"},"".concat(i.componentCls,"-rlt &"),{marginInlineEnd:i.marginSM,marginInlineStart:0})},(0,a.Z)(p,"".concat(i.componentCls,"-rlt &"),{float:"left"}),(0,a.Z)(p,"*:first-child",(0,a.Z)({},"".concat(i.componentCls,"-rlt &"),{marginInlineEnd:0})),p)}),(0,a.Z)(m,"&-content",{paddingBlockStart:i.pageHeaderPaddingContentPadding}),(0,a.Z)(m,"&-footer",{marginBlockStart:i.margin}),(0,a.Z)(m,"&-compact &-heading",{flexWrap:"wrap"}),(0,a.Z)(m,"&-wide",{maxWidth:1152,margin:"0 auto"}),(0,a.Z)(m,"&-rtl",{direction:"rtl"}),m)))};function Xe(l){return(0,ue.Xj)("ProLayoutPageHeader",function(i){var p=(0,r.Z)((0,r.Z)({},i),{},{componentCls:".".concat(l),pageHeaderBgGhost:"transparent",pageHeaderPadding:16,pageHeaderPaddingVertical:4,pageHeaderPaddingBreadCrumb:i.paddingSM,pageHeaderColorBack:i.colorTextHeading,pageHeaderFontSizeHeaderTitle:i.fontSizeHeading4,pageHeaderFontSizeHeaderSubTitle:14,pageHeaderPaddingContentPadding:i.paddingSM});return[Ve(p)]})}var Oe=function(i,p,m,I){return!m||!I?null:(0,o.jsx)("div",{className:"".concat(i,"-back ").concat(p),children:(0,o.jsx)("div",{role:"button",onClick:function(de){I==null||I(de)},className:"".concat(i,"-back-button ").concat(p),"aria-label":"back",children:m})})},Ke=function(i,p){var m;return!((m=i.routes)===null||m===void 0)&&m.length?(0,o.jsx)(b,(0,r.Z)((0,r.Z)({},i),{},{className:y()("".concat(p,"-breadcrumb"),i.className)})):null},rt=function(i){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return i.backIcon!==void 0?i.backIcon:p==="rtl"?(0,o.jsx)(X(),{}):(0,o.jsx)(P(),{})},at=function(i,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",I=arguments.length>3?arguments[3]:void 0,k=p.title,de=p.avatar,ce=p.subTitle,L=p.tags,me=p.extra,je=p.onBack,oe="".concat(i,"-heading"),ye=k||ce||L||me;if(!ye)return null;var $e=rt(p,m),Be=Oe(i,I,$e,je),Ee=Be||de||ye;return(0,o.jsxs)("div",{className:oe+" "+I,children:[Ee&&(0,o.jsxs)("div",{className:"".concat(oe,"-left ").concat(I),children:[Be,de&&(0,o.jsx)($.C,(0,r.Z)({className:y()("".concat(oe,"-avatar"),I,de.className)},de)),k&&(0,o.jsx)("span",{className:"".concat(oe,"-title ").concat(I),title:typeof k=="string"?k:void 0,children:k}),ce&&(0,o.jsx)("span",{className:"".concat(oe,"-sub-title ").concat(I),title:typeof ce=="string"?ce:void 0,children:ce}),L&&(0,o.jsx)("span",{className:"".concat(oe,"-tags ").concat(I),children:L})]}),me&&(0,o.jsx)("span",{className:"".concat(oe,"-extra ").concat(I),children:(0,o.jsx)(le.Z,{children:me})})]})},et=function(i,p,m){return p?(0,o.jsx)("div",{className:"".concat(i,"-footer ").concat(m),children:p}):null},tt=function(i,p,m){return(0,o.jsx)("div",{className:"".concat(i,"-content ").concat(m),children:p})},Qe=function(i){var p,m,I=x.useState(!1),k=(0,Z.Z)(I,2),de=k[0],ce=k[1],L=function(U){var G=U.width;ce(G<768)},me=x.useContext(Ne.ZP.ConfigContext),je=me.getPrefixCls,oe=me.direction,ye=i.prefixCls,$e=i.style,Be=i.footer,Ee=i.children,we=i.breadcrumb,be=i.breadcrumbRender,Te=i.className,Ue=i.contentWidth,te=je("page-header",ye),We=Xe(te),he=We.wrapSSR,pe=We.hashId,S=function(){return we!=null&&we.routes?Ke(we,te):null},t=S(),s=we&&"props"in we,d=(p=be==null?void 0:be((0,r.Z)((0,r.Z)({},i),{},{prefixCls:te}),t))!==null&&p!==void 0?p:t,h=s?we:d,M=y()(te,pe,Te,(m={},(0,a.Z)(m,"".concat(te,"-has-breadcrumb"),!!h),(0,a.Z)(m,"".concat(te,"-has-footer"),!!Be),(0,a.Z)(m,"".concat(te,"-rtl"),oe==="rtl"),(0,a.Z)(m,"".concat(te,"-compact"),de),(0,a.Z)(m,"".concat(te,"-wide"),Ue==="Fixed"),(0,a.Z)(m,"".concat(te,"-ghost"),!0),m)),H=at(te,i,oe,pe),F=Ee&&tt(te,Ee,pe),Y=et(te,Be,pe);return!h&&!H&&!Y&&!F?null:he((0,o.jsx)(Ae.Z,{onResize:L,children:(0,o.jsxs)("div",{className:M,style:$e,children:[h,H,F,Y]})}))}},4393:function(T,f,e){"use strict";e.d(f,{Z:function(){return Ze}});var a=e(94184),Z=e.n(a),r=e(98423),o=e(67294),u=e(53124),P=e(97647),w=e(99559),X=e(93980),q=function(n,g){var R={};for(var b in n)Object.prototype.hasOwnProperty.call(n,b)&&g.indexOf(b)<0&&(R[b]=n[b]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,b=Object.getOwnPropertySymbols(n);${var{prefixCls:g,className:R,hoverable:b=!0}=n,$=q(n,["prefixCls","className","hoverable"]);const{getPrefixCls:le}=o.useContext(u.E_),Ne=le("card",g),Ae=Z()(`${Ne}-grid`,R,{[`${Ne}-grid-hoverable`]:b});return o.createElement("div",Object.assign({},$,{className:Ae}))},z=e(67968),x=e(45503),O=e(14747);const J=n=>{const{antCls:g,componentCls:R,cardHeadHeight:b,cardPaddingBase:$,cardHeadTabsMarginBottom:le}=n;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:b,marginBottom:-1,padding:`0 ${$}px`,color:n.colorTextHeading,fontWeight:n.fontWeightStrong,fontSize:n.fontSizeLG,background:"transparent",borderBottom:`${n.lineWidth}px ${n.lineType} ${n.colorBorderSecondary}`,borderRadius:`${n.borderRadiusLG}px ${n.borderRadiusLG}px 0 0`},(0,O.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},O.vS),{[` - > ${R}-typography, - > ${R}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${g}-tabs-top`]:{clear:"both",marginBottom:le,color:n.colorText,fontWeight:"normal",fontSize:n.fontSize,"&-bar":{borderBottom:`${n.lineWidth}px ${n.lineType} ${n.colorBorderSecondary}`}}})},K=n=>{const{cardPaddingBase:g,colorBorderSecondary:R,cardShadow:b,lineWidth:$}=n;return{width:"33.33%",padding:g,border:0,borderRadius:0,boxShadow:` - ${$}px 0 0 0 ${R}, - 0 ${$}px 0 0 ${R}, - ${$}px ${$}px 0 0 ${R}, - ${$}px 0 0 0 ${R} inset, - 0 ${$}px 0 0 ${R} inset; - `,transition:`all ${n.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:b}}},v=n=>{const{componentCls:g,iconCls:R,cardActionsLiMargin:b,cardActionsIconSize:$,colorBorderSecondary:le}=n;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:n.colorBgContainer,borderTop:`${n.lineWidth}px ${n.lineType} ${le}`,display:"flex",borderRadius:`0 0 ${n.borderRadiusLG}px ${n.borderRadiusLG}px `},(0,O.dF)()),{"& > li":{margin:b,color:n.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:n.cardActionsIconSize*2,fontSize:n.fontSize,lineHeight:n.lineHeight,cursor:"pointer","&:hover":{color:n.colorPrimary,transition:`color ${n.motionDurationMid}`},[`a:not(${g}-btn), > ${R}`]:{display:"inline-block",width:"100%",color:n.colorTextDescription,lineHeight:`${n.fontSize*n.lineHeight}px`,transition:`color ${n.motionDurationMid}`,"&:hover":{color:n.colorPrimary}},[`> ${R}`]:{fontSize:$,lineHeight:`${$*n.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${n.lineWidth}px ${n.lineType} ${le}`}}})},C=n=>Object.assign(Object.assign({margin:`-${n.marginXXS}px 0`,display:"flex"},(0,O.dF)()),{"&-avatar":{paddingInlineEnd:n.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:n.marginXS}},"&-title":Object.assign({color:n.colorTextHeading,fontWeight:n.fontWeightStrong,fontSize:n.fontSizeLG},O.vS),"&-description":{color:n.colorTextDescription}}),B=n=>{const{componentCls:g,cardPaddingBase:R,colorFillAlter:b}=n;return{[`${g}-head`]:{padding:`0 ${R}px`,background:b,"&-title":{fontSize:n.fontSize}},[`${g}-body`]:{padding:`${n.padding}px ${R}px`}}},E=n=>{const{componentCls:g}=n;return{overflow:"hidden",[`${g}-body`]:{userSelect:"none"}}},c=n=>{const{componentCls:g,cardShadow:R,cardHeadPadding:b,colorBorderSecondary:$,boxShadow:le,cardPaddingBase:Ne}=n;return{[g]:Object.assign(Object.assign({},(0,O.Wf)(n)),{position:"relative",background:n.colorBgContainer,borderRadius:n.borderRadiusLG,[`&:not(${g}-bordered)`]:{boxShadow:le},[`${g}-head`]:J(n),[`${g}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:n.fontSize},[`${g}-body`]:Object.assign({padding:Ne,borderRadius:` 0 0 ${n.borderRadiusLG}px ${n.borderRadiusLG}px`},(0,O.dF)()),[`${g}-grid`]:K(n),[`${g}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${n.borderRadiusLG}px ${n.borderRadiusLG}px 0 0`}},[`${g}-actions`]:v(n),[`${g}-meta`]:C(n)}),[`${g}-bordered`]:{border:`${n.lineWidth}px ${n.lineType} ${$}`,[`${g}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${g}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${n.motionDurationMid}, border-color ${n.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:R}},[`${g}-contain-grid`]:{[`${g}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${g}-loading) ${g}-body`]:{marginBlockStart:-n.lineWidth,marginInlineStart:-n.lineWidth,padding:0}},[`${g}-contain-tabs`]:{[`> ${g}-head`]:{[`${g}-head-title, ${g}-extra`]:{paddingTop:b}}},[`${g}-type-inner`]:B(n),[`${g}-loading`]:E(n),[`${g}-rtl`]:{direction:"rtl"}}},N=n=>{const{componentCls:g,cardPaddingSM:R,cardHeadHeightSM:b}=n;return{[`${g}-small`]:{[`> ${g}-head`]:{minHeight:b,padding:`0 ${R}px`,fontSize:n.fontSize,[`> ${g}-head-wrapper`]:{[`> ${g}-extra`]:{fontSize:n.fontSize}}},[`> ${g}-body`]:{padding:R}},[`${g}-small${g}-contain-tabs`]:{[`> ${g}-head`]:{[`${g}-head-title, ${g}-extra`]:{minHeight:b,paddingTop:0,display:"flex",alignItems:"center"}}}}};var D=(0,z.Z)("Card",n=>{const g=(0,x.TS)(n,{cardShadow:n.boxShadowCard,cardHeadHeight:n.fontSizeLG*n.lineHeightLG+n.padding*2,cardHeadHeightSM:n.fontSize*n.lineHeight+n.paddingXS*2,cardHeadPadding:n.padding,cardPaddingBase:n.paddingLG,cardHeadTabsMarginBottom:-n.padding-n.lineWidth,cardActionsLiMargin:`${n.paddingSM}px 0`,cardActionsIconSize:n.fontSize,cardPaddingSM:12});return[c(g),N(g)]}),j=function(n,g){var R={};for(var b in n)Object.prototype.hasOwnProperty.call(n,b)&&g.indexOf(b)<0&&(R[b]=n[b]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,b=Object.getOwnPropertySymbols(n);$o.createElement("li",{style:{width:`${100/n.length}%`},key:`action-${b}`},o.createElement("span",null,R)))}var xe=o.forwardRef((n,g)=>{const{getPrefixCls:R,direction:b}=o.useContext(u.E_),$=o.useContext(P.Z),le=he=>{var pe;(pe=n.onTabChange)===null||pe===void 0||pe.call(n,he)},Ne=()=>{let he;return o.Children.forEach(n.children,pe=>{pe&&pe.type&&pe.type===y&&(he=!0)}),he},{prefixCls:Ae,className:ue,extra:He,headStyle:Ve={},bodyStyle:Xe={},title:Oe,loading:Ke,bordered:rt=!0,size:at,type:et,cover:tt,actions:Qe,tabList:l,children:i,activeTabKey:p,defaultActiveTabKey:m,tabBarExtraContent:I,hoverable:k,tabProps:de={}}=n,ce=j(n,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),L=R("card",Ae),[me,je]=D(L),oe=o.createElement(w.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},i),ye=p!==void 0,$e=Object.assign(Object.assign({},de),{[ye?"activeKey":"defaultActiveKey"]:ye?p:m,tabBarExtraContent:I});let Be;const Ee=l&&l.length?o.createElement(X.Z,Object.assign({size:"large"},$e,{className:`${L}-head-tabs`,onChange:le,items:l.map(he=>{var pe;return{label:he.tab,key:he.key,disabled:(pe=he.disabled)!==null&&pe!==void 0?pe:!1}})})):null;(Oe||He||Ee)&&(Be=o.createElement("div",{className:`${L}-head`,style:Ve},o.createElement("div",{className:`${L}-head-wrapper`},Oe&&o.createElement("div",{className:`${L}-head-title`},Oe),He&&o.createElement("div",{className:`${L}-extra`},He)),Ee));const we=tt?o.createElement("div",{className:`${L}-cover`},tt):null,be=o.createElement("div",{className:`${L}-body`,style:Xe},Ke?oe:i),Te=Qe&&Qe.length?o.createElement("ul",{className:`${L}-actions`},ee(Qe)):null,Ue=(0,r.Z)(ce,["onTabChange"]),te=at||$,We=Z()(L,{[`${L}-loading`]:Ke,[`${L}-bordered`]:rt,[`${L}-hoverable`]:k,[`${L}-contain-grid`]:Ne(),[`${L}-contain-tabs`]:l&&l.length,[`${L}-${te}`]:te,[`${L}-type-${et}`]:!!et,[`${L}-rtl`]:b==="rtl"},ue,je);return me(o.createElement("div",Object.assign({ref:g},Ue,{className:We}),Be,we,be,Te))}),Re=function(n,g){var R={};for(var b in n)Object.prototype.hasOwnProperty.call(n,b)&&g.indexOf(b)<0&&(R[b]=n[b]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,b=Object.getOwnPropertySymbols(n);${const{prefixCls:g,className:R,avatar:b,title:$,description:le}=n,Ne=Re(n,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Ae}=o.useContext(u.E_),ue=Ae("card",g),He=Z()(`${ue}-meta`,R),Ve=b?o.createElement("div",{className:`${ue}-meta-avatar`},b):null,Xe=$?o.createElement("div",{className:`${ue}-meta-title`},$):null,Oe=le?o.createElement("div",{className:`${ue}-meta-description`},le):null,Ke=Xe||Oe?o.createElement("div",{className:`${ue}-meta-detail`},Xe,Oe):null;return o.createElement("div",Object.assign({},Ne,{className:He}),Ve,Ke)};const Ie=xe;Ie.Grid=y,Ie.Meta=De;var Ze=Ie},15746:function(T,f,e){"use strict";var a=e(21584);f.Z=a.Z},71230:function(T,f,e){"use strict";var a=e(92820);f.Z=a.Z},32191:function(T,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=e;function e(a,Z){if(!a)return!1;if(a.contains)return a.contains(Z);for(var r=Z;r;){if(r===a)return!0;r=r.parentNode}return!1}},93399:function(T,f,e){"use strict";var a=e(64836).default;Object.defineProperty(f,"__esModule",{value:!0}),f.clearContainerCache=J,f.injectCSS=y,f.removeCSS=x,f.updateCSS=K;var Z=a(e(19158)),r=a(e(32191)),o="data-rc-order",u="rc-util-key",P=new Map;function w(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=v.mark;return C?C.startsWith("data-")?C:"data-".concat(C):u}function X(v){if(v.attachTo)return v.attachTo;var C=document.querySelector("head");return C||document.body}function q(v){return v==="queue"?"prependQueue":v?"prepend":"append"}function ae(v){return Array.from((P.get(v)||v).children).filter(function(C){return C.tagName==="STYLE"})}function y(v){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,Z.default)())return null;var B=C.csp,E=C.prepend,c=document.createElement("style");c.setAttribute(o,q(E)),B!=null&&B.nonce&&(c.nonce=B==null?void 0:B.nonce),c.innerHTML=v;var N=X(C),D=N.firstChild;if(E){if(E==="queue"){var j=ae(N).filter(function(ee){return["prepend","prependQueue"].includes(ee.getAttribute(o))});if(j.length)return N.insertBefore(c,j[j.length-1].nextSibling),c}N.insertBefore(c,D)}else N.appendChild(c);return c}function z(v){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=X(C);return ae(B).find(function(E){return E.getAttribute(w(C))===v})}function x(v){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=z(v,C);if(B){var E=X(C);E.removeChild(B)}}function O(v,C){var B=P.get(v);if(!B||!(0,r.default)(document,B)){var E=y("",C),c=E.parentNode;P.set(v,c),v.removeChild(E)}}function J(){P.clear()}function K(v,C){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},E=X(B);O(E,B);var c=z(C,B);if(c){var N,D;if((N=B.csp)!==null&&N!==void 0&&N.nonce&&c.nonce!==((D=B.csp)===null||D===void 0?void 0:D.nonce)){var j;c.nonce=(j=B.csp)===null||j===void 0?void 0:j.nonce}return c.innerHTML!==v&&(c.innerHTML=v),c}var ee=y(v,B);return ee.setAttribute(w(B),C),ee}},38416:function(T,f,e){var a=e(64062);function Z(r,o,u){return o=a(o),o in r?Object.defineProperty(r,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[o]=u,r}T.exports=Z,T.exports.__esModule=!0,T.exports.default=T.exports},42122:function(T,f,e){var a=e(38416);function Z(o,u){var P=Object.keys(o);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(o);u&&(w=w.filter(function(X){return Object.getOwnPropertyDescriptor(o,X).enumerable})),P.push.apply(P,w)}return P}function r(o){for(var u=1;u=0)&&(!Object.prototype.propertyIsEnumerable.call(r,P)||(u[P]=r[P]))}return u}T.exports=Z,T.exports.__esModule=!0,T.exports.default=T.exports},7071:function(T){function f(e,a){if(e==null)return{};var Z={},r=Object.keys(e),o,u;for(u=0;u=0)&&(Z[o]=e[o]);return Z}T.exports=f,T.exports.__esModule=!0,T.exports.default=T.exports},95036:function(T,f,e){var a=e(18698).default;function Z(r,o){if(a(r)!=="object"||r===null)return r;var u=r[Symbol.toPrimitive];if(u!==void 0){var P=u.call(r,o||"default");if(a(P)!=="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}T.exports=Z,T.exports.__esModule=!0,T.exports.default=T.exports},64062:function(T,f,e){var a=e(18698).default,Z=e(95036);function r(o){var u=Z(o,"string");return a(u)==="symbol"?u:String(u)}T.exports=r,T.exports.__esModule=!0,T.exports.default=T.exports}}]); diff --git a/statics/9902.e7fd0a0e.async.js b/statics/9902.e7fd0a0e.async.js new file mode 100644 index 00000000..0cff9157 --- /dev/null +++ b/statics/9902.e7fd0a0e.async.js @@ -0,0 +1,49 @@ +var Jc=Object.defineProperty,$c=Object.defineProperties;var e0=Object.getOwnPropertyDescriptors;var Zr=Object.getOwnPropertySymbols;var mo=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable;var Jr=Math.pow,fo=(ie,G,I)=>G in ie?Jc(ie,G,{enumerable:!0,configurable:!0,writable:!0,value:I}):ie[G]=I,ut=(ie,G)=>{for(var I in G||(G={}))mo.call(G,I)&&fo(ie,I,G[I]);if(Zr)for(var I of Zr(G))po.call(G,I)&&fo(ie,I,G[I]);return ie},l1=(ie,G)=>$c(ie,e0(G));var $r=(ie,G)=>{var I={};for(var d in ie)mo.call(ie,d)&&G.indexOf(d)<0&&(I[d]=ie[d]);if(ie!=null&&Zr)for(var d of Zr(ie))G.indexOf(d)<0&&po.call(ie,d)&&(I[d]=ie[d]);return I};var R1=(ie,G,I)=>new Promise((d,A)=>{var b=w=>{try{m(I.next(w))}catch(F){A(F)}},E=w=>{try{m(I.throw(w))}catch(F){A(F)}},m=w=>w.done?d(w.value):Promise.resolve(w.value).then(b,E);m((I=I.apply(ie,G)).next())});(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9902],{51444:function(ie,G,I){"use strict";I.d(G,{Z:function(){return k}});var d=I(1413),A=I(67294),b={icon:function(R,U){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 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 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:U}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:U}},{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 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:R}},{tag:"path",attrs:{d:"M508 336c-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",fill:R}}]}},name:"eye",theme:"twotone"},E=b,m=I(84089),w=function(R,U){return A.createElement(m.Z,(0,d.Z)((0,d.Z)({},R),{},{ref:U,icon:E}))},F=A.forwardRef(w),k=F},63790:function(ie,G,I){"use strict";I.d(G,{Z:function(){return b}});var d=I(20392),A=I.n(d);function b(F={}){var k=F,{subset:E=!1,ignoreMissing:m=!0}=k,w=$r(k,["subset","ignoreMissing"]);return{rehype:S=>S.use(A(),ut({subset:E,ignoreMissing:m},w))}}},32758:function(){"use strict"},55026:function(){"use strict"},94470:function(ie){"use strict";var G=Object.prototype.hasOwnProperty,I=Object.prototype.toString,d=Object.defineProperty,A=Object.getOwnPropertyDescriptor,b=function(k){return typeof Array.isArray=="function"?Array.isArray(k):I.call(k)==="[object Array]"},E=function(k){if(!k||I.call(k)!=="[object Object]")return!1;var S=G.call(k,"constructor"),R=k.constructor&&k.constructor.prototype&&G.call(k.constructor.prototype,"isPrototypeOf");if(k.constructor&&!S&&!R)return!1;var U;for(U in k);return typeof U=="undefined"||G.call(k,U)},m=function(k,S){d&&S.name==="__proto__"?d(k,S.name,{enumerable:!0,configurable:!0,value:S.newValue,writable:!0}):k[S.name]=S.newValue},w=function(k,S){if(S==="__proto__")if(G.call(k,S)){if(A)return A(k,S).value}else return;return k[S]};ie.exports=function F(){var k,S,R,U,W,ce,a=arguments[0],H=1,ge=arguments.length,Ce=!1;for(typeof a=="boolean"&&(Ce=a,a=arguments[1]||{},H=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});H-1)return d.QUIRKS;let H=ce===null?w:m;if(U(a,H))return d.QUIRKS;if(H=ce===null?k:S,U(a,H))return d.LIMITED_QUIRKS}return d.NO_QUIRKS},G.serializeContent=function(W,ce,a){let H="!DOCTYPE ";return W&&(H+=W),ce?H+=" PUBLIC "+R(ce):a&&(H+=" SYSTEM"),a!==null&&(H+=" "+R(a)),H}},93107:function(ie){"use strict";ie.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},16510:function(ie,G,I){"use strict";const d=I(34752),A=I(27447),b=A.TAG_NAMES,E=A.NAMESPACES,m=A.ATTRS,w={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},F="definitionurl",k="definitionURL",S={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},R={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:E.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:E.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:E.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:E.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:E.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:E.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:E.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:E.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:E.XML},"xml:space":{prefix:"xml",name:"space",namespace:E.XML},xmlns:{prefix:"",name:"xmlns",namespace:E.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:E.XMLNS}},U=G.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},W={[b.B]:!0,[b.BIG]:!0,[b.BLOCKQUOTE]:!0,[b.BODY]:!0,[b.BR]:!0,[b.CENTER]:!0,[b.CODE]:!0,[b.DD]:!0,[b.DIV]:!0,[b.DL]:!0,[b.DT]:!0,[b.EM]:!0,[b.EMBED]:!0,[b.H1]:!0,[b.H2]:!0,[b.H3]:!0,[b.H4]:!0,[b.H5]:!0,[b.H6]:!0,[b.HEAD]:!0,[b.HR]:!0,[b.I]:!0,[b.IMG]:!0,[b.LI]:!0,[b.LISTING]:!0,[b.MENU]:!0,[b.META]:!0,[b.NOBR]:!0,[b.OL]:!0,[b.P]:!0,[b.PRE]:!0,[b.RUBY]:!0,[b.S]:!0,[b.SMALL]:!0,[b.SPAN]:!0,[b.STRONG]:!0,[b.STRIKE]:!0,[b.SUB]:!0,[b.SUP]:!0,[b.TABLE]:!0,[b.TT]:!0,[b.U]:!0,[b.UL]:!0,[b.VAR]:!0};G.causesExit=function(H){const ge=H.tagName;return ge===b.FONT&&(d.getTokenAttr(H,m.COLOR)!==null||d.getTokenAttr(H,m.SIZE)!==null||d.getTokenAttr(H,m.FACE)!==null)?!0:W[ge]},G.adjustTokenMathMLAttrs=function(H){for(let ge=0;ge=55296&&d<=57343},G.isSurrogatePair=function(d){return d>=56320&&d<=57343},G.getSurrogatePairCodePoint=function(d,A){return(d-55296)*1024+9216+A},G.isControlCodePoint=function(d){return d!==32&&d!==10&&d!==13&&d!==9&&d!==12&&d>=1&&d<=31||d>=127&&d<=159},G.isUndefinedCodePoint=function(d){return d>=64976&&d<=65007||I.indexOf(d)>-1}},63860:function(ie,G,I){"use strict";const d=I(24748);class A extends d{constructor(E,m){super(E),this.posTracker=null,this.onParseError=m.onParseError}_setErrorLocation(E){E.startLine=E.endLine=this.posTracker.line,E.startCol=E.endCol=this.posTracker.col,E.startOffset=E.endOffset=this.posTracker.offset}_reportError(E){const m={code:E,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(m),this.onParseError(m)}_getOverriddenMethods(E){return{_err(m){E._reportError(m)}}}}ie.exports=A},66385:function(ie,G,I){"use strict";const d=I(63860),A=I(87834),b=I(98997),E=I(24748);class m extends d{constructor(F,k){super(F,k),this.opts=k,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(F){this.ctLoc&&(F.startLine=this.ctLoc.startLine,F.startCol=this.ctLoc.startCol,F.startOffset=this.ctLoc.startOffset,F.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,F.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,F.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(F,k){return{_bootstrap(S,R){k._bootstrap.call(this,S,R),E.install(this.tokenizer,A,F.opts),E.install(this.tokenizer,b)},_processInputToken(S){F.ctLoc=S.location,k._processInputToken.call(this,S)},_err(S,R){F.locBeforeToken=R&&R.beforeToken,F._reportError(S)}}}}ie.exports=m},86302:function(ie,G,I){"use strict";const d=I(63860),A=I(66733),b=I(24748);class E extends d{constructor(w,F){super(w,F),this.posTracker=b.install(w,A),this.lastErrOffset=-1}_reportError(w){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(w))}}ie.exports=E},87834:function(ie,G,I){"use strict";const d=I(63860),A=I(86302),b=I(24748);class E extends d{constructor(w,F){super(w,F);const k=b.install(w.preprocessor,A,F);this.posTracker=k.posTracker}}ie.exports=E},14372:function(ie,G,I){"use strict";const d=I(24748);class A extends d{constructor(E,m){super(E),this.onItemPop=m.onItemPop}_getOverriddenMethods(E,m){return{pop(){E.onItemPop(this.current),m.pop.call(this)},popAllUpToHtmlElement(){for(let w=this.stackTop;w>0;w--)E.onItemPop(this.items[w]);m.popAllUpToHtmlElement.call(this)},remove(w){E.onItemPop(this.current),m.remove.call(this,w)}}}}ie.exports=A},90562:function(ie,G,I){"use strict";const d=I(24748),A=I(34752),b=I(98997),E=I(14372),w=I(27447).TAG_NAMES;class F extends d{constructor(S){super(S),this.parser=S,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(S){let R=null;this.lastStartTagToken&&(R=Object.assign({},this.lastStartTagToken.location),R.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(S,R)}_setEndLocation(S,R){if(this.treeAdapter.getNodeSourceCodeLocation(S)&&R.location){const W=R.location,ce=this.treeAdapter.getTagName(S),a=R.type===A.END_TAG_TOKEN&&ce===R.tagName,H={};a?(H.endTag=Object.assign({},W),H.endLine=W.endLine,H.endCol=W.endCol,H.endOffset=W.endOffset):(H.endLine=W.startLine,H.endCol=W.startCol,H.endOffset=W.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(S,H)}}_getOverriddenMethods(S,R){return{_bootstrap(U,W){R._bootstrap.call(this,U,W),S.lastStartTagToken=null,S.lastFosterParentingLocation=null,S.currentToken=null;const ce=d.install(this.tokenizer,b);S.posTracker=ce.posTracker,d.install(this.openElements,E,{onItemPop:function(a){S._setEndLocation(a,S.currentToken)}})},_runParsingLoop(U){R._runParsingLoop.call(this,U);for(let W=this.openElements.stackTop;W>=0;W--)S._setEndLocation(this.openElements.items[W],S.currentToken)},_processTokenInForeignContent(U){S.currentToken=U,R._processTokenInForeignContent.call(this,U)},_processToken(U){if(S.currentToken=U,R._processToken.call(this,U),U.type===A.END_TAG_TOKEN&&(U.tagName===w.HTML||U.tagName===w.BODY&&this.openElements.hasInScope(w.BODY)))for(let ce=this.openElements.stackTop;ce>=0;ce--){const a=this.openElements.items[ce];if(this.treeAdapter.getTagName(a)===U.tagName){S._setEndLocation(a,U);break}}},_setDocumentType(U){R._setDocumentType.call(this,U);const W=this.treeAdapter.getChildNodes(this.document),ce=W.length;for(let a=0;a{const R=A.MODE[S];k[R]=function(U){w.ctLoc=w._getCurrentLocation(),F[R].call(this,U)}}),k}}ie.exports=E},66733:function(ie,G,I){"use strict";const d=I(24748);class A extends d{constructor(E){super(E),this.preprocessor=E,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(E,m){return{advance(){const w=this.pos+1,F=this.html[w];return E.isEol&&(E.isEol=!1,E.line++,E.lineStartPos=w),(F===` +`||F==="\r"&&this.html[w+1]!==` +`)&&(E.isEol=!0),E.col=w-E.lineStartPos+1,E.offset=E.droppedBufferSize+w,m.advance.call(this)},retreat(){m.retreat.call(this),E.isEol=!1,E.col=this.pos-E.lineStartPos+1},dropParsedChunk(){const w=this.pos;m.dropParsedChunk.call(this);const F=w-this.pos;E.lineStartPos-=F,E.droppedBufferSize+=F,E.offset=E.droppedBufferSize+this.pos}}}}ie.exports=A},4465:function(ie){"use strict";class I{constructor(A){this.length=0,this.entries=[],this.treeAdapter=A,this.bookmark=null}_getNoahArkConditionCandidates(A){const b=[];if(this.length>=3){const E=this.treeAdapter.getAttrList(A).length,m=this.treeAdapter.getTagName(A),w=this.treeAdapter.getNamespaceURI(A);for(let F=this.length-1;F>=0;F--){const k=this.entries[F];if(k.type===I.MARKER_ENTRY)break;const S=k.element,R=this.treeAdapter.getAttrList(S);this.treeAdapter.getTagName(S)===m&&this.treeAdapter.getNamespaceURI(S)===w&&R.length===E&&b.push({idx:F,attrs:R})}}return b.length<3?[]:b}_ensureNoahArkCondition(A){const b=this._getNoahArkConditionCandidates(A);let E=b.length;if(E){const m=this.treeAdapter.getAttrList(A),w=m.length,F=Object.create(null);for(let k=0;k=3-1;k--)this.entries.splice(b[k].idx,1),this.length--}}insertMarker(){this.entries.push({type:I.MARKER_ENTRY}),this.length++}pushElement(A,b){this._ensureNoahArkCondition(A),this.entries.push({type:I.ELEMENT_ENTRY,element:A,token:b}),this.length++}insertElementAfterBookmark(A,b){let E=this.length-1;for(;E>=0&&this.entries[E]!==this.bookmark;E--);this.entries.splice(E+1,0,{type:I.ELEMENT_ENTRY,element:A,token:b}),this.length++}removeEntry(A){for(let b=this.length-1;b>=0;b--)if(this.entries[b]===A){this.entries.splice(b,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const A=this.entries.pop();if(this.length--,A.type===I.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(A){for(let b=this.length-1;b>=0;b--){const E=this.entries[b];if(E.type===I.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(E.element)===A)return E}return null}getElementEntry(A){for(let b=this.length-1;b>=0;b--){const E=this.entries[b];if(E.type===I.ELEMENT_ENTRY&&E.element===A)return E}return null}}I.MARKER_ENTRY="MARKER_ENTRY",I.ELEMENT_ENTRY="ELEMENT_ENTRY",ie.exports=I},82803:function(ie,G,I){"use strict";const d=I(34752),A=I(84889),b=I(4465),E=I(90562),m=I(66385),w=I(24748),F=I(47971),k=I(30311),S=I(18652),R=I(16510),U=I(93107),W=I(2657),ce=I(27447),a=ce.TAG_NAMES,H=ce.NAMESPACES,ge=ce.ATTRS,Ce={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:F},Ve="hidden",Ee=8,Ke=3,Se="INITIAL_MODE",J="BEFORE_HTML_MODE",_e="BEFORE_HEAD_MODE",Ie="IN_HEAD_MODE",ve="IN_HEAD_NO_SCRIPT_MODE",We="AFTER_HEAD_MODE",He="IN_BODY_MODE",Xe="TEXT_MODE",Ue="IN_TABLE_MODE",Ot="IN_TABLE_TEXT_MODE",ft="IN_CAPTION_MODE",En="IN_COLUMN_GROUP_MODE",It="IN_TABLE_BODY_MODE",zt="IN_ROW_MODE",xn="IN_CELL_MODE",Hn="IN_SELECT_MODE",Fn="IN_SELECT_IN_TABLE_MODE",Yt="IN_TEMPLATE_MODE",Rn="AFTER_BODY_MODE",hn="IN_FRAMESET_MODE",_n="AFTER_FRAMESET_MODE",o1="AFTER_AFTER_BODY_MODE",Wt="AFTER_AFTER_FRAMESET_MODE",Xn={[a.TR]:zt,[a.TBODY]:It,[a.THEAD]:It,[a.TFOOT]:It,[a.CAPTION]:ft,[a.COLGROUP]:En,[a.TABLE]:Ue,[a.BODY]:He,[a.FRAMESET]:hn},qn={[a.CAPTION]:Ue,[a.COLGROUP]:Ue,[a.TBODY]:Ue,[a.TFOOT]:Ue,[a.THEAD]:Ue,[a.COL]:En,[a.TR]:It,[a.TD]:zt,[a.TH]:zt},Zn={[Se]:{[d.CHARACTER_TOKEN]:Gn,[d.NULL_CHARACTER_TOKEN]:Gn,[d.WHITESPACE_CHARACTER_TOKEN]:ze,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:$n,[d.START_TAG_TOKEN]:Gn,[d.END_TAG_TOKEN]:Gn,[d.EOF_TOKEN]:Gn},[J]:{[d.CHARACTER_TOKEN]:sn,[d.NULL_CHARACTER_TOKEN]:sn,[d.WHITESPACE_CHARACTER_TOKEN]:ze,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:E1,[d.END_TAG_TOKEN]:Kn,[d.EOF_TOKEN]:sn},[_e]:{[d.CHARACTER_TOKEN]:wn,[d.NULL_CHARACTER_TOKEN]:wn,[d.WHITESPACE_CHARACTER_TOKEN]:ze,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:Qt,[d.START_TAG_TOKEN]:dn,[d.END_TAG_TOKEN]:jn,[d.EOF_TOKEN]:wn},[Ie]:{[d.CHARACTER_TOKEN]:nn,[d.NULL_CHARACTER_TOKEN]:nn,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:Qt,[d.START_TAG_TOKEN]:ht,[d.END_TAG_TOKEN]:qt,[d.EOF_TOKEN]:nn},[ve]:{[d.CHARACTER_TOKEN]:Mn,[d.NULL_CHARACTER_TOKEN]:Mn,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:Qt,[d.START_TAG_TOKEN]:_1,[d.END_TAG_TOKEN]:Yn,[d.EOF_TOKEN]:Mn},[We]:{[d.CHARACTER_TOKEN]:Cn,[d.NULL_CHARACTER_TOKEN]:Cn,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:Qt,[d.START_TAG_TOKEN]:rn,[d.END_TAG_TOKEN]:Pn,[d.EOF_TOKEN]:Cn},[He]:{[d.CHARACTER_TOKEN]:Sn,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:Ct,[d.END_TAG_TOKEN]:w1,[d.EOF_TOKEN]:kn},[Xe]:{[d.CHARACTER_TOKEN]:bt,[d.NULL_CHARACTER_TOKEN]:bt,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:ze,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:ze,[d.END_TAG_TOKEN]:ar,[d.EOF_TOKEN]:M1},[Ue]:{[d.CHARACTER_TOKEN]:ln,[d.NULL_CHARACTER_TOKEN]:ln,[d.WHITESPACE_CHARACTER_TOKEN]:ln,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:k1,[d.END_TAG_TOKEN]:P1,[d.EOF_TOKEN]:kn},[Ot]:{[d.CHARACTER_TOKEN]:gr,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:pr,[d.COMMENT_TOKEN]:h1,[d.DOCTYPE_TOKEN]:h1,[d.START_TAG_TOKEN]:h1,[d.END_TAG_TOKEN]:h1,[d.EOF_TOKEN]:h1},[ft]:{[d.CHARACTER_TOKEN]:Sn,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:D1,[d.END_TAG_TOKEN]:Lr,[d.EOF_TOKEN]:kn},[En]:{[d.CHARACTER_TOKEN]:v1,[d.NULL_CHARACTER_TOKEN]:v1,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:f1,[d.END_TAG_TOKEN]:wr,[d.EOF_TOKEN]:kn},[It]:{[d.CHARACTER_TOKEN]:ln,[d.NULL_CHARACTER_TOKEN]:ln,[d.WHITESPACE_CHARACTER_TOKEN]:ln,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:Nn,[d.END_TAG_TOKEN]:Q1,[d.EOF_TOKEN]:kn},[zt]:{[d.CHARACTER_TOKEN]:ln,[d.NULL_CHARACTER_TOKEN]:ln,[d.WHITESPACE_CHARACTER_TOKEN]:ln,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:Tr,[d.END_TAG_TOKEN]:X1,[d.EOF_TOKEN]:kn},[xn]:{[d.CHARACTER_TOKEN]:Sn,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:p,[d.END_TAG_TOKEN]:y,[d.EOF_TOKEN]:kn},[Hn]:{[d.CHARACTER_TOKEN]:bt,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:N,[d.END_TAG_TOKEN]:D,[d.EOF_TOKEN]:kn},[Fn]:{[d.CHARACTER_TOKEN]:bt,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:z,[d.END_TAG_TOKEN]:B,[d.EOF_TOKEN]:kn},[Yt]:{[d.CHARACTER_TOKEN]:Sn,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:x,[d.END_TAG_TOKEN]:Y,[d.EOF_TOKEN]:V},[Rn]:{[d.CHARACTER_TOKEN]:Q,[d.NULL_CHARACTER_TOKEN]:Q,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:s1,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:se,[d.END_TAG_TOKEN]:ae,[d.EOF_TOKEN]:fn},[hn]:{[d.CHARACTER_TOKEN]:ze,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:ye,[d.END_TAG_TOKEN]:Re,[d.EOF_TOKEN]:fn},[_n]:{[d.CHARACTER_TOKEN]:ze,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:bt,[d.COMMENT_TOKEN]:dt,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:le,[d.END_TAG_TOKEN]:Ne,[d.EOF_TOKEN]:fn},[o1]:{[d.CHARACTER_TOKEN]:je,[d.NULL_CHARACTER_TOKEN]:je,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:zn,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:be,[d.END_TAG_TOKEN]:je,[d.EOF_TOKEN]:fn},[Wt]:{[d.CHARACTER_TOKEN]:ze,[d.NULL_CHARACTER_TOKEN]:ze,[d.WHITESPACE_CHARACTER_TOKEN]:Pt,[d.COMMENT_TOKEN]:zn,[d.DOCTYPE_TOKEN]:ze,[d.START_TAG_TOKEN]:Ye,[d.END_TAG_TOKEN]:ze,[d.EOF_TOKEN]:fn}};class Jn{constructor(o){this.options=k(Ce,o),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&w.install(this,E),this.options.onParseError&&w.install(this,m,{onParseError:this.options.onParseError})}parse(o){const u=this.treeAdapter.createDocument();return this._bootstrap(u,null),this.tokenizer.write(o,!0),this._runParsingLoop(null),u}parseFragment(o,u){u||(u=this.treeAdapter.createElement(a.TEMPLATE,H.HTML,[]));const v=this.treeAdapter.createElement("documentmock",H.HTML,[]);this._bootstrap(v,u),this.treeAdapter.getTagName(u)===a.TEMPLATE&&this._pushTmplInsertionMode(Yt),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(o,!0),this._runParsingLoop(null);const pe=this.treeAdapter.getFirstChild(v),Ze=this.treeAdapter.createDocumentFragment();return this._adoptNodes(pe,Ze),Ze}_bootstrap(o,u){this.tokenizer=new d(this.options),this.stopped=!1,this.insertionMode=Se,this.originalInsertionMode="",this.document=o,this.fragmentContext=u,this.headElement=null,this.formElement=null,this.openElements=new A(this.document,this.treeAdapter),this.activeFormattingElements=new b(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(o){for(;!this.stopped;){this._setupTokenizerCDATAMode();const u=this.tokenizer.getNextToken();if(u.type===d.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,u.type===d.WHITESPACE_CHARACTER_TOKEN&&u.chars[0]===` +`)){if(u.chars.length===1)continue;u.chars=u.chars.substr(1)}if(this._processInputToken(u),o&&this.pendingScript)break}}runParsingLoopForCurrentChunk(o,u){if(this._runParsingLoop(u),u&&this.pendingScript){const v=this.pendingScript;this.pendingScript=null,u(v);return}o&&o()}_setupTokenizerCDATAMode(){const o=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=o&&o!==this.document&&this.treeAdapter.getNamespaceURI(o)!==H.HTML&&!this._isIntegrationPoint(o)}_switchToTextParsing(o,u){this._insertElement(o,H.HTML),this.tokenizer.state=u,this.originalInsertionMode=this.insertionMode,this.insertionMode=Xe}switchToPlaintextParsing(){this.insertionMode=Xe,this.originalInsertionMode=He,this.tokenizer.state=d.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let o=this.fragmentContext;do{if(this.treeAdapter.getTagName(o)===a.FORM){this.formElement=o;break}o=this.treeAdapter.getParentNode(o)}while(o)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===H.HTML){const o=this.treeAdapter.getTagName(this.fragmentContext);o===a.TITLE||o===a.TEXTAREA?this.tokenizer.state=d.MODE.RCDATA:o===a.STYLE||o===a.XMP||o===a.IFRAME||o===a.NOEMBED||o===a.NOFRAMES||o===a.NOSCRIPT?this.tokenizer.state=d.MODE.RAWTEXT:o===a.SCRIPT?this.tokenizer.state=d.MODE.SCRIPT_DATA:o===a.PLAINTEXT&&(this.tokenizer.state=d.MODE.PLAINTEXT)}}_setDocumentType(o){const u=o.name||"",v=o.publicId||"",pe=o.systemId||"";this.treeAdapter.setDocumentType(this.document,u,v,pe)}_attachElementToTree(o){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(o);else{const u=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(u,o)}}_appendElement(o,u){const v=this.treeAdapter.createElement(o.tagName,u,o.attrs);this._attachElementToTree(v)}_insertElement(o,u){const v=this.treeAdapter.createElement(o.tagName,u,o.attrs);this._attachElementToTree(v),this.openElements.push(v)}_insertFakeElement(o){const u=this.treeAdapter.createElement(o,H.HTML,[]);this._attachElementToTree(u),this.openElements.push(u)}_insertTemplate(o){const u=this.treeAdapter.createElement(o.tagName,H.HTML,o.attrs),v=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(u,v),this._attachElementToTree(u),this.openElements.push(u)}_insertFakeRootElement(){const o=this.treeAdapter.createElement(a.HTML,H.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,o),this.openElements.push(o)}_appendCommentNode(o,u){const v=this.treeAdapter.createCommentNode(o.data);this.treeAdapter.appendChild(u,v)}_insertCharacters(o){if(this._shouldFosterParentOnInsertion())this._fosterParentText(o.chars);else{const u=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(u,o.chars)}}_adoptNodes(o,u){for(let v=this.treeAdapter.getFirstChild(o);v;v=this.treeAdapter.getFirstChild(o))this.treeAdapter.detachNode(v),this.treeAdapter.appendChild(u,v)}_shouldProcessTokenInForeignContent(o){const u=this._getAdjustedCurrentElement();if(!u||u===this.document)return!1;const v=this.treeAdapter.getNamespaceURI(u);if(v===H.HTML||this.treeAdapter.getTagName(u)===a.ANNOTATION_XML&&v===H.MATHML&&o.type===d.START_TAG_TOKEN&&o.tagName===a.SVG)return!1;const pe=o.type===d.CHARACTER_TOKEN||o.type===d.NULL_CHARACTER_TOKEN||o.type===d.WHITESPACE_CHARACTER_TOKEN;return(o.type===d.START_TAG_TOKEN&&o.tagName!==a.MGLYPH&&o.tagName!==a.MALIGNMARK||pe)&&this._isIntegrationPoint(u,H.MATHML)||(o.type===d.START_TAG_TOKEN||pe)&&this._isIntegrationPoint(u,H.HTML)?!1:o.type!==d.EOF_TOKEN}_processToken(o){Zn[this.insertionMode][o.type](this,o)}_processTokenInBodyMode(o){Zn[He][o.type](this,o)}_processTokenInForeignContent(o){o.type===d.CHARACTER_TOKEN?Ae(this,o):o.type===d.NULL_CHARACTER_TOKEN?mt(this,o):o.type===d.WHITESPACE_CHARACTER_TOKEN?bt(this,o):o.type===d.COMMENT_TOKEN?dt(this,o):o.type===d.START_TAG_TOKEN?Je(this,o):o.type===d.END_TAG_TOKEN&&d1(this,o)}_processInputToken(o){this._shouldProcessTokenInForeignContent(o)?this._processTokenInForeignContent(o):this._processToken(o),o.type===d.START_TAG_TOKEN&&o.selfClosing&&!o.ackSelfClosing&&this._err(U.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(o,u){const v=this.treeAdapter.getTagName(o),pe=this.treeAdapter.getNamespaceURI(o),Ze=this.treeAdapter.getAttrList(o);return R.isIntegrationPoint(v,pe,Ze,u)}_reconstructActiveFormattingElements(){const o=this.activeFormattingElements.length;if(o){let u=o,v=null;do if(u--,v=this.activeFormattingElements.entries[u],v.type===b.MARKER_ENTRY||this.openElements.contains(v.element)){u++;break}while(u>0);for(let pe=u;pe=0;o--){let v=this.openElements.items[o];o===0&&(u=!0,this.fragmentContext&&(v=this.fragmentContext));const pe=this.treeAdapter.getTagName(v),Ze=Xn[pe];if(Ze){this.insertionMode=Ze;break}else if(!u&&(pe===a.TD||pe===a.TH)){this.insertionMode=xn;break}else if(!u&&pe===a.HEAD){this.insertionMode=Ie;break}else if(pe===a.SELECT){this._resetInsertionModeForSelect(o);break}else if(pe===a.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(pe===a.HTML){this.insertionMode=this.headElement?We:_e;break}else if(u){this.insertionMode=He;break}}}_resetInsertionModeForSelect(o){if(o>0)for(let u=o-1;u>0;u--){const v=this.openElements.items[u],pe=this.treeAdapter.getTagName(v);if(pe===a.TEMPLATE)break;if(pe===a.TABLE){this.insertionMode=Fn;return}}this.insertionMode=Hn}_pushTmplInsertionMode(o){this.tmplInsertionModeStack.push(o),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=o}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(o){const u=this.treeAdapter.getTagName(o);return u===a.TABLE||u===a.TBODY||u===a.TFOOT||u===a.THEAD||u===a.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const o={parent:null,beforeElement:null};for(let u=this.openElements.stackTop;u>=0;u--){const v=this.openElements.items[u],pe=this.treeAdapter.getTagName(v),Ze=this.treeAdapter.getNamespaceURI(v);if(pe===a.TEMPLATE&&Ze===H.HTML){o.parent=this.treeAdapter.getTemplateContent(v);break}else if(pe===a.TABLE){o.parent=this.treeAdapter.getParentNode(v),o.parent?o.beforeElement=v:o.parent=this.openElements.items[u-1];break}}return o.parent||(o.parent=this.openElements.items[0]),o}_fosterParentElement(o){const u=this._findFosterParentingLocation();u.beforeElement?this.treeAdapter.insertBefore(u.parent,o,u.beforeElement):this.treeAdapter.appendChild(u.parent,o)}_fosterParentText(o){const u=this._findFosterParentingLocation();u.beforeElement?this.treeAdapter.insertTextBefore(u.parent,o,u.beforeElement):this.treeAdapter.insertText(u.parent,o)}_isSpecialElement(o){const u=this.treeAdapter.getTagName(o),v=this.treeAdapter.getNamespaceURI(o);return ce.SPECIAL_ELEMENTS[v][u]}}ie.exports=Jn;function Bn(i,o){let u=i.activeFormattingElements.getElementEntryInScopeWithTagName(o.tagName);return u?i.openElements.contains(u.element)?i.openElements.hasInScope(o.tagName)||(u=null):(i.activeFormattingElements.removeEntry(u),u=null):cn(i,o),u}function An(i,o){let u=null;for(let v=i.openElements.stackTop;v>=0;v--){const pe=i.openElements.items[v];if(pe===o.element)break;i._isSpecialElement(pe)&&(u=pe)}return u||(i.openElements.popUntilElementPopped(o.element),i.activeFormattingElements.removeEntry(o)),u}function Un(i,o,u){let v=o,pe=i.openElements.getCommonAncestor(o);for(let Ze=0,yt=pe;yt!==u;Ze++,yt=pe){pe=i.openElements.getCommonAncestor(yt);const Vn=i.activeFormattingElements.getElementEntry(yt),Mr=Vn&&Ze>=Ke;!Vn||Mr?(Mr&&i.activeFormattingElements.removeEntry(Vn),i.openElements.remove(yt)):(yt=Vt(i,Vn),v===o&&(i.activeFormattingElements.bookmark=Vn),i.treeAdapter.detachNode(v),i.treeAdapter.appendChild(yt,v),v=yt)}return v}function Vt(i,o){const u=i.treeAdapter.getNamespaceURI(o.element),v=i.treeAdapter.createElement(o.token.tagName,u,o.token.attrs);return i.openElements.replace(o.element,v),o.element=v,v}function Ln(i,o,u){if(i._isElementCausesFosterParenting(o))i._fosterParentElement(u);else{const v=i.treeAdapter.getTagName(o),pe=i.treeAdapter.getNamespaceURI(o);v===a.TEMPLATE&&pe===H.HTML&&(o=i.treeAdapter.getTemplateContent(o)),i.treeAdapter.appendChild(o,u)}}function L1(i,o,u){const v=i.treeAdapter.getNamespaceURI(u.element),pe=u.token,Ze=i.treeAdapter.createElement(pe.tagName,v,pe.attrs);i._adoptNodes(o,Ze),i.treeAdapter.appendChild(o,Ze),i.activeFormattingElements.insertElementAfterBookmark(Ze,u.token),i.activeFormattingElements.removeEntry(u),i.openElements.remove(u.element),i.openElements.insertAfter(o,Ze)}function on(i,o){let u;for(let v=0;v0?(i.openElements.generateImpliedEndTagsThoroughly(),i.openElements.currentTagName!==a.TEMPLATE&&i._err(U.closingOfElementWithOpenChildElements),i.openElements.popUntilTagNamePopped(a.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i._popTmplInsertionMode(),i._resetInsertionMode()):i._err(U.endTagWithoutMatchingOpenElement)}function nn(i,o){i.openElements.pop(),i.insertionMode=We,i._processToken(o)}function _1(i,o){const u=o.tagName;u===a.HTML?Ct(i,o):u===a.BASEFONT||u===a.BGSOUND||u===a.HEAD||u===a.LINK||u===a.META||u===a.NOFRAMES||u===a.STYLE?ht(i,o):u===a.NOSCRIPT?i._err(U.nestedNoscriptInHead):Mn(i,o)}function Yn(i,o){const u=o.tagName;u===a.NOSCRIPT?(i.openElements.pop(),i.insertionMode=Ie):u===a.BR?Mn(i,o):i._err(U.endTagWithoutMatchingOpenElement)}function Mn(i,o){const u=o.type===d.EOF_TOKEN?U.openElementsLeftAfterEof:U.disallowedContentInNoscriptInHead;i._err(u),i.openElements.pop(),i.insertionMode=Ie,i._processToken(o)}function rn(i,o){const u=o.tagName;u===a.HTML?Ct(i,o):u===a.BODY?(i._insertElement(o,H.HTML),i.framesetOk=!1,i.insertionMode=He):u===a.FRAMESET?(i._insertElement(o,H.HTML),i.insertionMode=hn):u===a.BASE||u===a.BASEFONT||u===a.BGSOUND||u===a.LINK||u===a.META||u===a.NOFRAMES||u===a.SCRIPT||u===a.STYLE||u===a.TEMPLATE||u===a.TITLE?(i._err(U.abandonedHeadElementChild),i.openElements.push(i.headElement),ht(i,o),i.openElements.remove(i.headElement)):u===a.HEAD?i._err(U.misplacedStartTagForHeadElement):Cn(i,o)}function Pn(i,o){const u=o.tagName;u===a.BODY||u===a.HTML||u===a.BR?Cn(i,o):u===a.TEMPLATE?qt(i,o):i._err(U.endTagWithoutMatchingOpenElement)}function Cn(i,o){i._insertFakeElement(a.BODY),i.insertionMode=He,i._processToken(o)}function Pt(i,o){i._reconstructActiveFormattingElements(),i._insertCharacters(o)}function Sn(i,o){i._reconstructActiveFormattingElements(),i._insertCharacters(o),i.framesetOk=!1}function Dn(i,o){i.openElements.tmplCount===0&&i.treeAdapter.adoptAttributes(i.openElements.items[0],o.attrs)}function e1(i,o){const u=i.openElements.tryPeekProperlyNestedBodyElement();u&&i.openElements.tmplCount===0&&(i.framesetOk=!1,i.treeAdapter.adoptAttributes(u,o.attrs))}function mn(i,o){const u=i.openElements.tryPeekProperlyNestedBodyElement();i.framesetOk&&u&&(i.treeAdapter.detachNode(u),i.openElements.popAllUpToHtmlElement(),i._insertElement(o,H.HTML),i.insertionMode=hn)}function st(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML)}function A1(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement();const u=i.openElements.currentTagName;(u===a.H1||u===a.H2||u===a.H3||u===a.H4||u===a.H5||u===a.H6)&&i.openElements.pop(),i._insertElement(o,H.HTML)}function we(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML),i.skipNextNewLine=!0,i.framesetOk=!1}function ct(i,o){const u=i.openElements.tmplCount>0;(!i.formElement||u)&&(i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML),u||(i.formElement=i.openElements.current))}function a1(i,o){i.framesetOk=!1;const u=o.tagName;for(let v=i.openElements.stackTop;v>=0;v--){const pe=i.openElements.items[v],Ze=i.treeAdapter.getTagName(pe);let yt=null;if(u===a.LI&&Ze===a.LI?yt=a.LI:(u===a.DD||u===a.DT)&&(Ze===a.DD||Ze===a.DT)&&(yt=Ze),yt){i.openElements.generateImpliedEndTagsWithExclusion(yt),i.openElements.popUntilTagNamePopped(yt);break}if(Ze!==a.ADDRESS&&Ze!==a.DIV&&Ze!==a.P&&i._isSpecialElement(pe))break}i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML)}function oe(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML),i.tokenizer.state=d.MODE.PLAINTEXT}function tt(i,o){i.openElements.hasInScope(a.BUTTON)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(a.BUTTON)),i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML),i.framesetOk=!1}function Zt(i,o){const u=i.activeFormattingElements.getElementEntryInScopeWithTagName(a.A);u&&(on(i,o),i.openElements.remove(u.element),i.activeFormattingElements.removeEntry(u)),i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML),i.activeFormattingElements.pushElement(i.openElements.current,o)}function De(i,o){i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML),i.activeFormattingElements.pushElement(i.openElements.current,o)}function Jt(i,o){i._reconstructActiveFormattingElements(),i.openElements.hasInScope(a.NOBR)&&(on(i,o),i._reconstructActiveFormattingElements()),i._insertElement(o,H.HTML),i.activeFormattingElements.pushElement(i.openElements.current,o)}function xt(i,o){i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML),i.activeFormattingElements.insertMarker(),i.framesetOk=!1}function Xt(i,o){i.treeAdapter.getDocumentMode(i.document)!==ce.DOCUMENT_MODE.QUIRKS&&i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML),i.framesetOk=!1,i.insertionMode=Ue}function Dt(i,o){i._reconstructActiveFormattingElements(),i._appendElement(o,H.HTML),i.framesetOk=!1,o.ackSelfClosing=!0}function u1(i,o){i._reconstructActiveFormattingElements(),i._appendElement(o,H.HTML);const u=d.getTokenAttr(o,ge.TYPE);(!u||u.toLowerCase()!==Ve)&&(i.framesetOk=!1),o.ackSelfClosing=!0}function pn(i,o){i._appendElement(o,H.HTML),o.ackSelfClosing=!0}function c1(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._appendElement(o,H.HTML),i.framesetOk=!1,o.ackSelfClosing=!0}function C1(i,o){o.tagName=a.IMG,Dt(i,o)}function Wn(i,o){i._insertElement(o,H.HTML),i.skipNextNewLine=!0,i.tokenizer.state=d.MODE.RCDATA,i.originalInsertionMode=i.insertionMode,i.framesetOk=!1,i.insertionMode=Xe}function ot(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._reconstructActiveFormattingElements(),i.framesetOk=!1,i._switchToTextParsing(o,d.MODE.RAWTEXT)}function an(i,o){i.framesetOk=!1,i._switchToTextParsing(o,d.MODE.RAWTEXT)}function t1(i,o){i._switchToTextParsing(o,d.MODE.RAWTEXT)}function nt(i,o){i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML),i.framesetOk=!1,i.insertionMode===Ue||i.insertionMode===ft||i.insertionMode===It||i.insertionMode===zt||i.insertionMode===xn?i.insertionMode=Fn:i.insertionMode=Hn}function xe(i,o){i.openElements.currentTagName===a.OPTION&&i.openElements.pop(),i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML)}function f(i,o){i.openElements.hasInScope(a.RUBY)&&i.openElements.generateImpliedEndTags(),i._insertElement(o,H.HTML)}function Qe(i,o){i.openElements.hasInScope(a.RUBY)&&i.openElements.generateImpliedEndTagsWithExclusion(a.RTC),i._insertElement(o,H.HTML)}function Gt(i,o){i.openElements.hasInButtonScope(a.P)&&i._closePElement(),i._insertElement(o,H.HTML)}function _t(i,o){i._reconstructActiveFormattingElements(),R.adjustTokenMathMLAttrs(o),R.adjustTokenXMLAttrs(o),o.selfClosing?i._appendElement(o,H.MATHML):i._insertElement(o,H.MATHML),o.ackSelfClosing=!0}function Rt(i,o){i._reconstructActiveFormattingElements(),R.adjustTokenSVGAttrs(o),R.adjustTokenXMLAttrs(o),o.selfClosing?i._appendElement(o,H.SVG):i._insertElement(o,H.SVG),o.ackSelfClosing=!0}function At(i,o){i._reconstructActiveFormattingElements(),i._insertElement(o,H.HTML)}function Ct(i,o){const u=o.tagName;switch(u.length){case 1:u===a.I||u===a.S||u===a.B||u===a.U?De(i,o):u===a.P?st(i,o):u===a.A?Zt(i,o):At(i,o);break;case 2:u===a.DL||u===a.OL||u===a.UL?st(i,o):u===a.H1||u===a.H2||u===a.H3||u===a.H4||u===a.H5||u===a.H6?A1(i,o):u===a.LI||u===a.DD||u===a.DT?a1(i,o):u===a.EM||u===a.TT?De(i,o):u===a.BR?Dt(i,o):u===a.HR?c1(i,o):u===a.RB?f(i,o):u===a.RT||u===a.RP?Qe(i,o):u!==a.TH&&u!==a.TD&&u!==a.TR&&At(i,o);break;case 3:u===a.DIV||u===a.DIR||u===a.NAV?st(i,o):u===a.PRE?we(i,o):u===a.BIG?De(i,o):u===a.IMG||u===a.WBR?Dt(i,o):u===a.XMP?ot(i,o):u===a.SVG?Rt(i,o):u===a.RTC?f(i,o):u!==a.COL&&At(i,o);break;case 4:u===a.HTML?Dn(i,o):u===a.BASE||u===a.LINK||u===a.META?ht(i,o):u===a.BODY?e1(i,o):u===a.MAIN||u===a.MENU?st(i,o):u===a.FORM?ct(i,o):u===a.CODE||u===a.FONT?De(i,o):u===a.NOBR?Jt(i,o):u===a.AREA?Dt(i,o):u===a.MATH?_t(i,o):u===a.MENU?Gt(i,o):u!==a.HEAD&&At(i,o);break;case 5:u===a.STYLE||u===a.TITLE?ht(i,o):u===a.ASIDE?st(i,o):u===a.SMALL?De(i,o):u===a.TABLE?Xt(i,o):u===a.EMBED?Dt(i,o):u===a.INPUT?u1(i,o):u===a.PARAM||u===a.TRACK?pn(i,o):u===a.IMAGE?C1(i,o):u!==a.FRAME&&u!==a.TBODY&&u!==a.TFOOT&&u!==a.THEAD&&At(i,o);break;case 6:u===a.SCRIPT?ht(i,o):u===a.CENTER||u===a.FIGURE||u===a.FOOTER||u===a.HEADER||u===a.HGROUP||u===a.DIALOG?st(i,o):u===a.BUTTON?tt(i,o):u===a.STRIKE||u===a.STRONG?De(i,o):u===a.APPLET||u===a.OBJECT?xt(i,o):u===a.KEYGEN?Dt(i,o):u===a.SOURCE?pn(i,o):u===a.IFRAME?an(i,o):u===a.SELECT?nt(i,o):u===a.OPTION?xe(i,o):At(i,o);break;case 7:u===a.BGSOUND?ht(i,o):u===a.DETAILS||u===a.ADDRESS||u===a.ARTICLE||u===a.SECTION||u===a.SUMMARY?st(i,o):u===a.LISTING?we(i,o):u===a.MARQUEE?xt(i,o):u===a.NOEMBED?t1(i,o):u!==a.CAPTION&&At(i,o);break;case 8:u===a.BASEFONT?ht(i,o):u===a.FRAMESET?mn(i,o):u===a.FIELDSET?st(i,o):u===a.TEXTAREA?Wn(i,o):u===a.TEMPLATE?ht(i,o):u===a.NOSCRIPT?i.options.scriptingEnabled?t1(i,o):At(i,o):u===a.OPTGROUP?xe(i,o):u!==a.COLGROUP&&At(i,o);break;case 9:u===a.PLAINTEXT?oe(i,o):At(i,o);break;case 10:u===a.BLOCKQUOTE||u===a.FIGCAPTION?st(i,o):At(i,o);break;default:At(i,o)}}function un(i){i.openElements.hasInScope(a.BODY)&&(i.insertionMode=Rn)}function S1(i,o){i.openElements.hasInScope(a.BODY)&&(i.insertionMode=Rn,i._processToken(o))}function yn(i,o){const u=o.tagName;i.openElements.hasInScope(u)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(u))}function K1(i){const o=i.openElements.tmplCount>0,u=i.formElement;o||(i.formElement=null),(u||o)&&i.openElements.hasInScope(a.FORM)&&(i.openElements.generateImpliedEndTags(),o?i.openElements.popUntilTagNamePopped(a.FORM):i.openElements.remove(u))}function y1(i){i.openElements.hasInButtonScope(a.P)||i._insertFakeElement(a.P),i._closePElement()}function or(i){i.openElements.hasInListItemScope(a.LI)&&(i.openElements.generateImpliedEndTagsWithExclusion(a.LI),i.openElements.popUntilTagNamePopped(a.LI))}function j1(i,o){const u=o.tagName;i.openElements.hasInScope(u)&&(i.openElements.generateImpliedEndTagsWithExclusion(u),i.openElements.popUntilTagNamePopped(u))}function sr(i){i.openElements.hasNumberedHeaderInScope()&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilNumberedHeaderPopped())}function Y1(i,o){const u=o.tagName;i.openElements.hasInScope(u)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(u),i.activeFormattingElements.clearToLastMarker())}function W1(i){i._reconstructActiveFormattingElements(),i._insertFakeElement(a.BR),i.openElements.pop(),i.framesetOk=!1}function cn(i,o){const u=o.tagName;for(let v=i.openElements.stackTop;v>0;v--){const pe=i.openElements.items[v];if(i.treeAdapter.getTagName(pe)===u){i.openElements.generateImpliedEndTagsWithExclusion(u),i.openElements.popUntilElementPopped(pe);break}if(i._isSpecialElement(pe))break}}function w1(i,o){const u=o.tagName;switch(u.length){case 1:u===a.A||u===a.B||u===a.I||u===a.S||u===a.U?on(i,o):u===a.P?y1(i,o):cn(i,o);break;case 2:u===a.DL||u===a.UL||u===a.OL?yn(i,o):u===a.LI?or(i,o):u===a.DD||u===a.DT?j1(i,o):u===a.H1||u===a.H2||u===a.H3||u===a.H4||u===a.H5||u===a.H6?sr(i,o):u===a.BR?W1(i,o):u===a.EM||u===a.TT?on(i,o):cn(i,o);break;case 3:u===a.BIG?on(i,o):u===a.DIR||u===a.DIV||u===a.NAV||u===a.PRE?yn(i,o):cn(i,o);break;case 4:u===a.BODY?un(i,o):u===a.HTML?S1(i,o):u===a.FORM?K1(i,o):u===a.CODE||u===a.FONT||u===a.NOBR?on(i,o):u===a.MAIN||u===a.MENU?yn(i,o):cn(i,o);break;case 5:u===a.ASIDE?yn(i,o):u===a.SMALL?on(i,o):cn(i,o);break;case 6:u===a.CENTER||u===a.FIGURE||u===a.FOOTER||u===a.HEADER||u===a.HGROUP||u===a.DIALOG?yn(i,o):u===a.APPLET||u===a.OBJECT?Y1(i,o):u===a.STRIKE||u===a.STRONG?on(i,o):cn(i,o);break;case 7:u===a.ADDRESS||u===a.ARTICLE||u===a.DETAILS||u===a.SECTION||u===a.SUMMARY||u===a.LISTING?yn(i,o):u===a.MARQUEE?Y1(i,o):cn(i,o);break;case 8:u===a.FIELDSET?yn(i,o):u===a.TEMPLATE?qt(i,o):cn(i,o);break;case 10:u===a.BLOCKQUOTE||u===a.FIGCAPTION?yn(i,o):cn(i,o);break;default:cn(i,o)}}function kn(i,o){i.tmplInsertionModeStackTop>-1?V(i,o):i.stopped=!0}function ar(i,o){o.tagName===a.SCRIPT&&(i.pendingScript=i.openElements.current),i.openElements.pop(),i.insertionMode=i.originalInsertionMode}function M1(i,o){i._err(U.eofInElementThatCanContainOnlyText),i.openElements.pop(),i.insertionMode=i.originalInsertionMode,i._processToken(o)}function ln(i,o){const u=i.openElements.currentTagName;u===a.TABLE||u===a.TBODY||u===a.TFOOT||u===a.THEAD||u===a.TR?(i.pendingCharacterTokens=[],i.hasNonWhitespacePendingCharacterToken=!1,i.originalInsertionMode=i.insertionMode,i.insertionMode=Ot,i._processToken(o)):$t(i,o)}function n1(i,o){i.openElements.clearBackToTableContext(),i.activeFormattingElements.insertMarker(),i._insertElement(o,H.HTML),i.insertionMode=ft}function V1(i,o){i.openElements.clearBackToTableContext(),i._insertElement(o,H.HTML),i.insertionMode=En}function ur(i,o){i.openElements.clearBackToTableContext(),i._insertFakeElement(a.COLGROUP),i.insertionMode=En,i._processToken(o)}function cr(i,o){i.openElements.clearBackToTableContext(),i._insertElement(o,H.HTML),i.insertionMode=It}function hr(i,o){i.openElements.clearBackToTableContext(),i._insertFakeElement(a.TBODY),i.insertionMode=It,i._processToken(o)}function fr(i,o){i.openElements.hasInTableScope(a.TABLE)&&(i.openElements.popUntilTagNamePopped(a.TABLE),i._resetInsertionMode(),i._processToken(o))}function dr(i,o){const u=d.getTokenAttr(o,ge.TYPE);u&&u.toLowerCase()===Ve?i._appendElement(o,H.HTML):$t(i,o),o.ackSelfClosing=!0}function mr(i,o){!i.formElement&&i.openElements.tmplCount===0&&(i._insertElement(o,H.HTML),i.formElement=i.openElements.current,i.openElements.pop())}function k1(i,o){const u=o.tagName;switch(u.length){case 2:u===a.TD||u===a.TH||u===a.TR?hr(i,o):$t(i,o);break;case 3:u===a.COL?ur(i,o):$t(i,o);break;case 4:u===a.FORM?mr(i,o):$t(i,o);break;case 5:u===a.TABLE?fr(i,o):u===a.STYLE?ht(i,o):u===a.TBODY||u===a.TFOOT||u===a.THEAD?cr(i,o):u===a.INPUT?dr(i,o):$t(i,o);break;case 6:u===a.SCRIPT?ht(i,o):$t(i,o);break;case 7:u===a.CAPTION?n1(i,o):$t(i,o);break;case 8:u===a.COLGROUP?V1(i,o):u===a.TEMPLATE?ht(i,o):$t(i,o);break;default:$t(i,o)}}function P1(i,o){const u=o.tagName;u===a.TABLE?i.openElements.hasInTableScope(a.TABLE)&&(i.openElements.popUntilTagNamePopped(a.TABLE),i._resetInsertionMode()):u===a.TEMPLATE?qt(i,o):u!==a.BODY&&u!==a.CAPTION&&u!==a.COL&&u!==a.COLGROUP&&u!==a.HTML&&u!==a.TBODY&&u!==a.TD&&u!==a.TFOOT&&u!==a.TH&&u!==a.THEAD&&u!==a.TR&&$t(i,o)}function $t(i,o){const u=i.fosterParentingEnabled;i.fosterParentingEnabled=!0,i._processTokenInBodyMode(o),i.fosterParentingEnabled=u}function pr(i,o){i.pendingCharacterTokens.push(o)}function gr(i,o){i.pendingCharacterTokens.push(o),i.hasNonWhitespacePendingCharacterToken=!0}function h1(i,o){let u=0;if(i.hasNonWhitespacePendingCharacterToken)for(;u0?(i.openElements.popUntilTagNamePopped(a.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i._popTmplInsertionMode(),i._resetInsertionMode(),i._processToken(o)):i.stopped=!0}function se(i,o){o.tagName===a.HTML?Ct(i,o):Q(i,o)}function ae(i,o){o.tagName===a.HTML?i.fragmentContext||(i.insertionMode=o1):Q(i,o)}function Q(i,o){i.insertionMode=He,i._processToken(o)}function ye(i,o){const u=o.tagName;u===a.HTML?Ct(i,o):u===a.FRAMESET?i._insertElement(o,H.HTML):u===a.FRAME?(i._appendElement(o,H.HTML),o.ackSelfClosing=!0):u===a.NOFRAMES&&ht(i,o)}function Re(i,o){o.tagName===a.FRAMESET&&!i.openElements.isRootHtmlElementCurrent()&&(i.openElements.pop(),!i.fragmentContext&&i.openElements.currentTagName!==a.FRAMESET&&(i.insertionMode=_n))}function le(i,o){const u=o.tagName;u===a.HTML?Ct(i,o):u===a.NOFRAMES&&ht(i,o)}function Ne(i,o){o.tagName===a.HTML&&(i.insertionMode=Wt)}function be(i,o){o.tagName===a.HTML?Ct(i,o):je(i,o)}function je(i,o){i.insertionMode=He,i._processToken(o)}function Ye(i,o){const u=o.tagName;u===a.HTML?Ct(i,o):u===a.NOFRAMES&&ht(i,o)}function mt(i,o){o.chars=W.REPLACEMENT_CHARACTER,i._insertCharacters(o)}function Ae(i,o){i._insertCharacters(o),i.framesetOk=!1}function Je(i,o){if(R.causesExit(o)&&!i.fragmentContext){for(;i.treeAdapter.getNamespaceURI(i.openElements.current)!==H.HTML&&!i._isIntegrationPoint(i.openElements.current);)i.openElements.pop();i._processToken(o)}else{const u=i._getAdjustedCurrentElement(),v=i.treeAdapter.getNamespaceURI(u);v===H.MATHML?R.adjustTokenMathMLAttrs(o):v===H.SVG&&(R.adjustTokenSVGTagName(o),R.adjustTokenSVGAttrs(o)),R.adjustTokenXMLAttrs(o),o.selfClosing?i._appendElement(o,v):i._insertElement(o,v),o.ackSelfClosing=!0}}function d1(i,o){for(let u=i.openElements.stackTop;u>0;u--){const v=i.openElements.items[u];if(i.treeAdapter.getNamespaceURI(v)===H.HTML){i._processToken(o);break}if(i.treeAdapter.getTagName(v).toLowerCase()===o.tagName){i.openElements.popUntilElementPopped(v);break}}}},84889:function(ie,G,I){"use strict";const d=I(27447),A=d.TAG_NAMES,b=d.NAMESPACES;function E(k){switch(k.length){case 1:return k===A.P;case 2:return k===A.RB||k===A.RP||k===A.RT||k===A.DD||k===A.DT||k===A.LI;case 3:return k===A.RTC;case 6:return k===A.OPTION;case 8:return k===A.OPTGROUP}return!1}function m(k){switch(k.length){case 1:return k===A.P;case 2:return k===A.RB||k===A.RP||k===A.RT||k===A.DD||k===A.DT||k===A.LI||k===A.TD||k===A.TH||k===A.TR;case 3:return k===A.RTC;case 5:return k===A.TBODY||k===A.TFOOT||k===A.THEAD;case 6:return k===A.OPTION;case 7:return k===A.CAPTION;case 8:return k===A.OPTGROUP||k===A.COLGROUP}return!1}function w(k,S){switch(k.length){case 2:if(k===A.TD||k===A.TH)return S===b.HTML;if(k===A.MI||k===A.MO||k===A.MN||k===A.MS)return S===b.MATHML;break;case 4:if(k===A.HTML)return S===b.HTML;if(k===A.DESC)return S===b.SVG;break;case 5:if(k===A.TABLE)return S===b.HTML;if(k===A.MTEXT)return S===b.MATHML;if(k===A.TITLE)return S===b.SVG;break;case 6:return(k===A.APPLET||k===A.OBJECT)&&S===b.HTML;case 7:return(k===A.CAPTION||k===A.MARQUEE)&&S===b.HTML;case 8:return k===A.TEMPLATE&&S===b.HTML;case 13:return k===A.FOREIGN_OBJECT&&S===b.SVG;case 14:return k===A.ANNOTATION_XML&&S===b.MATHML}return!1}class F{constructor(S,R){this.stackTop=-1,this.items=[],this.current=S,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=R}_indexOf(S){let R=-1;for(let U=this.stackTop;U>=0;U--)if(this.items[U]===S){R=U;break}return R}_isInTemplate(){return this.currentTagName===A.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(S){this.items[++this.stackTop]=S,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(S,R){const U=this._indexOf(S);this.items[U]=R,U===this.stackTop&&this._updateCurrentElement()}insertAfter(S,R){const U=this._indexOf(S)+1;this.items.splice(U,0,R),U===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(S){for(;this.stackTop>-1;){const R=this.currentTagName,U=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),R===S&&U===b.HTML)break}}popUntilElementPopped(S){for(;this.stackTop>-1;){const R=this.current;if(this.pop(),R===S)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const S=this.currentTagName,R=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),S===A.H1||S===A.H2||S===A.H3||S===A.H4||S===A.H5||S===A.H6&&R===b.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const S=this.currentTagName,R=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),S===A.TD||S===A.TH&&R===b.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==A.TABLE&&this.currentTagName!==A.TEMPLATE&&this.currentTagName!==A.HTML||this.treeAdapter.getNamespaceURI(this.current)!==b.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==A.TBODY&&this.currentTagName!==A.TFOOT&&this.currentTagName!==A.THEAD&&this.currentTagName!==A.TEMPLATE&&this.currentTagName!==A.HTML||this.treeAdapter.getNamespaceURI(this.current)!==b.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==A.TR&&this.currentTagName!==A.TEMPLATE&&this.currentTagName!==A.HTML||this.treeAdapter.getNamespaceURI(this.current)!==b.HTML;)this.pop()}remove(S){for(let R=this.stackTop;R>=0;R--)if(this.items[R]===S){this.items.splice(R,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const S=this.items[1];return S&&this.treeAdapter.getTagName(S)===A.BODY?S:null}contains(S){return this._indexOf(S)>-1}getCommonAncestor(S){let R=this._indexOf(S);return--R>=0?this.items[R]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===A.HTML}hasInScope(S){for(let R=this.stackTop;R>=0;R--){const U=this.treeAdapter.getTagName(this.items[R]),W=this.treeAdapter.getNamespaceURI(this.items[R]);if(U===S&&W===b.HTML)return!0;if(w(U,W))return!1}return!0}hasNumberedHeaderInScope(){for(let S=this.stackTop;S>=0;S--){const R=this.treeAdapter.getTagName(this.items[S]),U=this.treeAdapter.getNamespaceURI(this.items[S]);if((R===A.H1||R===A.H2||R===A.H3||R===A.H4||R===A.H5||R===A.H6)&&U===b.HTML)return!0;if(w(R,U))return!1}return!0}hasInListItemScope(S){for(let R=this.stackTop;R>=0;R--){const U=this.treeAdapter.getTagName(this.items[R]),W=this.treeAdapter.getNamespaceURI(this.items[R]);if(U===S&&W===b.HTML)return!0;if((U===A.UL||U===A.OL)&&W===b.HTML||w(U,W))return!1}return!0}hasInButtonScope(S){for(let R=this.stackTop;R>=0;R--){const U=this.treeAdapter.getTagName(this.items[R]),W=this.treeAdapter.getNamespaceURI(this.items[R]);if(U===S&&W===b.HTML)return!0;if(U===A.BUTTON&&W===b.HTML||w(U,W))return!1}return!0}hasInTableScope(S){for(let R=this.stackTop;R>=0;R--){const U=this.treeAdapter.getTagName(this.items[R]);if(this.treeAdapter.getNamespaceURI(this.items[R])===b.HTML){if(U===S)return!0;if(U===A.TABLE||U===A.TEMPLATE||U===A.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let S=this.stackTop;S>=0;S--){const R=this.treeAdapter.getTagName(this.items[S]);if(this.treeAdapter.getNamespaceURI(this.items[S])===b.HTML){if(R===A.TBODY||R===A.THEAD||R===A.TFOOT)return!0;if(R===A.TABLE||R===A.HTML)return!1}}return!0}hasInSelectScope(S){for(let R=this.stackTop;R>=0;R--){const U=this.treeAdapter.getTagName(this.items[R]);if(this.treeAdapter.getNamespaceURI(this.items[R])===b.HTML){if(U===S)return!0;if(U!==A.OPTION&&U!==A.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;E(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;m(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(S){for(;E(this.currentTagName)&&this.currentTagName!==S;)this.pop()}}ie.exports=F},34752:function(ie,G,I){"use strict";const d=I(49310),A=I(2657),b=I(78862),E=I(93107),m=A.CODE_POINTS,w=A.CODE_POINT_SEQUENCES,F={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},k=1<<0,S=1<<1,R=1<<2,U=k|S|R,W="DATA_STATE",ce="RCDATA_STATE",a="RAWTEXT_STATE",H="SCRIPT_DATA_STATE",ge="PLAINTEXT_STATE",Ce="TAG_OPEN_STATE",Ve="END_TAG_OPEN_STATE",Ee="TAG_NAME_STATE",Ke="RCDATA_LESS_THAN_SIGN_STATE",Se="RCDATA_END_TAG_OPEN_STATE",J="RCDATA_END_TAG_NAME_STATE",_e="RAWTEXT_LESS_THAN_SIGN_STATE",Ie="RAWTEXT_END_TAG_OPEN_STATE",ve="RAWTEXT_END_TAG_NAME_STATE",We="SCRIPT_DATA_LESS_THAN_SIGN_STATE",He="SCRIPT_DATA_END_TAG_OPEN_STATE",Xe="SCRIPT_DATA_END_TAG_NAME_STATE",Ue="SCRIPT_DATA_ESCAPE_START_STATE",Ot="SCRIPT_DATA_ESCAPE_START_DASH_STATE",ft="SCRIPT_DATA_ESCAPED_STATE",En="SCRIPT_DATA_ESCAPED_DASH_STATE",It="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",zt="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",xn="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",Hn="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",Fn="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",Yt="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",Rn="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",hn="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",_n="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",o1="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",Wt="BEFORE_ATTRIBUTE_NAME_STATE",Xn="ATTRIBUTE_NAME_STATE",qn="AFTER_ATTRIBUTE_NAME_STATE",Zn="BEFORE_ATTRIBUTE_VALUE_STATE",Jn="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",Bn="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",An="ATTRIBUTE_VALUE_UNQUOTED_STATE",Un="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",Vt="SELF_CLOSING_START_TAG_STATE",Ln="BOGUS_COMMENT_STATE",L1="MARKUP_DECLARATION_OPEN_STATE",on="COMMENT_START_STATE",ze="COMMENT_START_DASH_STATE",Qt="COMMENT_STATE",dt="COMMENT_LESS_THAN_SIGN_STATE",s1="COMMENT_LESS_THAN_SIGN_BANG_STATE",zn="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",bt="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",fn="COMMENT_END_DASH_STATE",$n="COMMENT_END_STATE",Gn="COMMENT_END_BANG_STATE",E1="DOCTYPE_STATE",Kn="BEFORE_DOCTYPE_NAME_STATE",sn="DOCTYPE_NAME_STATE",dn="AFTER_DOCTYPE_NAME_STATE",jn="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",wn="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ht="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",qt="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",nn="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",_1="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",Yn="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Mn="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",rn="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Pn="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Cn="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Pt="BOGUS_DOCTYPE_STATE",Sn="CDATA_SECTION_STATE",Dn="CDATA_SECTION_BRACKET_STATE",e1="CDATA_SECTION_END_STATE",mn="CHARACTER_REFERENCE_STATE",st="NAMED_CHARACTER_REFERENCE_STATE",A1="AMBIGUOS_AMPERSAND_STATE",we="NUMERIC_CHARACTER_REFERENCE_STATE",ct="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",a1="DECIMAL_CHARACTER_REFERENCE_START_STATE",oe="HEXADEMICAL_CHARACTER_REFERENCE_STATE",tt="DECIMAL_CHARACTER_REFERENCE_STATE",Zt="NUMERIC_CHARACTER_REFERENCE_END_STATE";function De(xe){return xe===m.SPACE||xe===m.LINE_FEED||xe===m.TABULATION||xe===m.FORM_FEED}function Jt(xe){return xe>=m.DIGIT_0&&xe<=m.DIGIT_9}function xt(xe){return xe>=m.LATIN_CAPITAL_A&&xe<=m.LATIN_CAPITAL_Z}function Xt(xe){return xe>=m.LATIN_SMALL_A&&xe<=m.LATIN_SMALL_Z}function Dt(xe){return Xt(xe)||xt(xe)}function u1(xe){return Dt(xe)||Jt(xe)}function pn(xe){return xe>=m.LATIN_CAPITAL_A&&xe<=m.LATIN_CAPITAL_F}function c1(xe){return xe>=m.LATIN_SMALL_A&&xe<=m.LATIN_SMALL_F}function C1(xe){return Jt(xe)||pn(xe)||c1(xe)}function Wn(xe){return xe+32}function ot(xe){return xe<=65535?String.fromCharCode(xe):(xe-=65536,String.fromCharCode(xe>>>10&1023|55296)+String.fromCharCode(56320|xe&1023))}function an(xe){return String.fromCharCode(Wn(xe))}function t1(xe,f){const Qe=b[++xe];let Gt=++xe,_t=Gt+Qe-1;for(;Gt<=_t;){const Rt=Gt+_t>>>1,At=b[Rt];if(Atf)_t=Rt-1;else return b[Rt+Qe]}return-1}class nt{constructor(){this.preprocessor=new d,this.tokenQueue=[],this.allowCDATA=!1,this.state=W,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(f){this._consume(),this._err(f),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const f=this._consume();this._ensureHibernation()||this[this.state](f)}return this.tokenQueue.shift()}write(f,Qe){this.active=!0,this.preprocessor.write(f,Qe)}insertHtmlAtCurrentPos(f){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(f)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:nt.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(f){this.state=f,this._unconsume()}_consumeSequenceIfMatch(f,Qe,Gt){let _t=0,Rt=!0;const At=f.length;let Ct=0,un=Qe,S1;for(;Ct0&&(un=this._consume(),_t++),un===m.EOF){Rt=!1;break}if(S1=f[Ct],un!==S1&&(Gt||un!==Wn(S1))){Rt=!1;break}}if(!Rt)for(;_t--;)this._unconsume();return Rt}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==w.SCRIPT_STRING.length)return!1;for(let f=0;f0&&this._err(E.endTagWithAttributes),f.selfClosing&&this._err(E.endTagWithTrailingSolidus)),this.tokenQueue.push(f)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(f,Qe){this.currentCharacterToken&&this.currentCharacterToken.type!==f&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=Qe:this._createCharacterToken(f,Qe)}_emitCodePoint(f){let Qe=nt.CHARACTER_TOKEN;De(f)?Qe=nt.WHITESPACE_CHARACTER_TOKEN:f===m.NULL&&(Qe=nt.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(Qe,ot(f))}_emitSeveralCodePoints(f){for(let Qe=0;Qe-1;){const Rt=b[_t],At=Rt")):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.state=ft,this._emitChars(A.REPLACEMENT_CHARACTER)):f===m.EOF?(this._err(E.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=ft,this._emitCodePoint(f))}[zt](f){f===m.SOLIDUS?(this.tempBuff=[],this.state=xn):Dt(f)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(Fn)):(this._emitChars("<"),this._reconsumeInState(ft))}[xn](f){Dt(f)?(this._createEndTagToken(),this._reconsumeInState(Hn)):(this._emitChars("")):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.state=Yt,this._emitChars(A.REPLACEMENT_CHARACTER)):f===m.EOF?(this._err(E.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Yt,this._emitCodePoint(f))}[_n](f){f===m.SOLIDUS?(this.tempBuff=[],this.state=o1,this._emitChars("/")):this._reconsumeInState(Yt)}[o1](f){De(f)||f===m.SOLIDUS||f===m.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?ft:Yt,this._emitCodePoint(f)):xt(f)?(this.tempBuff.push(Wn(f)),this._emitCodePoint(f)):Xt(f)?(this.tempBuff.push(f),this._emitCodePoint(f)):this._reconsumeInState(Yt)}[Wt](f){De(f)||(f===m.SOLIDUS||f===m.GREATER_THAN_SIGN||f===m.EOF?this._reconsumeInState(qn):f===m.EQUALS_SIGN?(this._err(E.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Xn):(this._createAttr(""),this._reconsumeInState(Xn)))}[Xn](f){De(f)||f===m.SOLIDUS||f===m.GREATER_THAN_SIGN||f===m.EOF?(this._leaveAttrName(qn),this._unconsume()):f===m.EQUALS_SIGN?this._leaveAttrName(Zn):xt(f)?this.currentAttr.name+=an(f):f===m.QUOTATION_MARK||f===m.APOSTROPHE||f===m.LESS_THAN_SIGN?(this._err(E.unexpectedCharacterInAttributeName),this.currentAttr.name+=ot(f)):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentAttr.name+=A.REPLACEMENT_CHARACTER):this.currentAttr.name+=ot(f)}[qn](f){De(f)||(f===m.SOLIDUS?this.state=Vt:f===m.EQUALS_SIGN?this.state=Zn:f===m.GREATER_THAN_SIGN?(this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(Xn)))}[Zn](f){De(f)||(f===m.QUOTATION_MARK?this.state=Jn:f===m.APOSTROPHE?this.state=Bn:f===m.GREATER_THAN_SIGN?(this._err(E.missingAttributeValue),this.state=W,this._emitCurrentToken()):this._reconsumeInState(An))}[Jn](f){f===m.QUOTATION_MARK?this.state=Un:f===m.AMPERSAND?(this.returnState=Jn,this.state=mn):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentAttr.value+=A.REPLACEMENT_CHARACTER):f===m.EOF?(this._err(E.eofInTag),this._emitEOFToken()):this.currentAttr.value+=ot(f)}[Bn](f){f===m.APOSTROPHE?this.state=Un:f===m.AMPERSAND?(this.returnState=Bn,this.state=mn):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentAttr.value+=A.REPLACEMENT_CHARACTER):f===m.EOF?(this._err(E.eofInTag),this._emitEOFToken()):this.currentAttr.value+=ot(f)}[An](f){De(f)?this._leaveAttrValue(Wt):f===m.AMPERSAND?(this.returnState=An,this.state=mn):f===m.GREATER_THAN_SIGN?(this._leaveAttrValue(W),this._emitCurrentToken()):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentAttr.value+=A.REPLACEMENT_CHARACTER):f===m.QUOTATION_MARK||f===m.APOSTROPHE||f===m.LESS_THAN_SIGN||f===m.EQUALS_SIGN||f===m.GRAVE_ACCENT?(this._err(E.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=ot(f)):f===m.EOF?(this._err(E.eofInTag),this._emitEOFToken()):this.currentAttr.value+=ot(f)}[Un](f){De(f)?this._leaveAttrValue(Wt):f===m.SOLIDUS?this._leaveAttrValue(Vt):f===m.GREATER_THAN_SIGN?(this._leaveAttrValue(W),this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInTag),this._emitEOFToken()):(this._err(E.missingWhitespaceBetweenAttributes),this._reconsumeInState(Wt))}[Vt](f){f===m.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInTag),this._emitEOFToken()):(this._err(E.unexpectedSolidusInTag),this._reconsumeInState(Wt))}[Ln](f){f===m.GREATER_THAN_SIGN?(this.state=W,this._emitCurrentToken()):f===m.EOF?(this._emitCurrentToken(),this._emitEOFToken()):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.data+=A.REPLACEMENT_CHARACTER):this.currentToken.data+=ot(f)}[L1](f){this._consumeSequenceIfMatch(w.DASH_DASH_STRING,f,!0)?(this._createCommentToken(),this.state=on):this._consumeSequenceIfMatch(w.DOCTYPE_STRING,f,!1)?this.state=E1:this._consumeSequenceIfMatch(w.CDATA_START_STRING,f,!0)?this.allowCDATA?this.state=Sn:(this._err(E.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=Ln):this._ensureHibernation()||(this._err(E.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(Ln))}[on](f){f===m.HYPHEN_MINUS?this.state=ze:f===m.GREATER_THAN_SIGN?(this._err(E.abruptClosingOfEmptyComment),this.state=W,this._emitCurrentToken()):this._reconsumeInState(Qt)}[ze](f){f===m.HYPHEN_MINUS?this.state=$n:f===m.GREATER_THAN_SIGN?(this._err(E.abruptClosingOfEmptyComment),this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Qt))}[Qt](f){f===m.HYPHEN_MINUS?this.state=fn:f===m.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=dt):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.data+=A.REPLACEMENT_CHARACTER):f===m.EOF?(this._err(E.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=ot(f)}[dt](f){f===m.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=s1):f===m.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(Qt)}[s1](f){f===m.HYPHEN_MINUS?this.state=zn:this._reconsumeInState(Qt)}[zn](f){f===m.HYPHEN_MINUS?this.state=bt:this._reconsumeInState(fn)}[bt](f){f!==m.GREATER_THAN_SIGN&&f!==m.EOF&&this._err(E.nestedComment),this._reconsumeInState($n)}[fn](f){f===m.HYPHEN_MINUS?this.state=$n:f===m.EOF?(this._err(E.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Qt))}[$n](f){f===m.GREATER_THAN_SIGN?(this.state=W,this._emitCurrentToken()):f===m.EXCLAMATION_MARK?this.state=Gn:f===m.HYPHEN_MINUS?this.currentToken.data+="-":f===m.EOF?(this._err(E.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(Qt))}[Gn](f){f===m.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=fn):f===m.GREATER_THAN_SIGN?(this._err(E.incorrectlyClosedComment),this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(Qt))}[E1](f){De(f)?this.state=Kn:f===m.GREATER_THAN_SIGN?this._reconsumeInState(Kn):f===m.EOF?(this._err(E.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(Kn))}[Kn](f){De(f)||(xt(f)?(this._createDoctypeToken(an(f)),this.state=sn):f===m.NULL?(this._err(E.unexpectedNullCharacter),this._createDoctypeToken(A.REPLACEMENT_CHARACTER),this.state=sn):f===m.GREATER_THAN_SIGN?(this._err(E.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=W):f===m.EOF?(this._err(E.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(ot(f)),this.state=sn))}[sn](f){De(f)?this.state=dn:f===m.GREATER_THAN_SIGN?(this.state=W,this._emitCurrentToken()):xt(f)?this.currentToken.name+=an(f):f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.name+=A.REPLACEMENT_CHARACTER):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=ot(f)}[dn](f){De(f)||(f===m.GREATER_THAN_SIGN?(this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(w.PUBLIC_STRING,f,!1)?this.state=jn:this._consumeSequenceIfMatch(w.SYSTEM_STRING,f,!1)?this.state=Yn:this._ensureHibernation()||(this._err(E.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt)))}[jn](f){De(f)?this.state=wn:f===m.QUOTATION_MARK?(this._err(E.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ht):f===m.APOSTROPHE?(this._err(E.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=qt):f===m.GREATER_THAN_SIGN?(this._err(E.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt))}[wn](f){De(f)||(f===m.QUOTATION_MARK?(this.currentToken.publicId="",this.state=ht):f===m.APOSTROPHE?(this.currentToken.publicId="",this.state=qt):f===m.GREATER_THAN_SIGN?(this._err(E.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt)))}[ht](f){f===m.QUOTATION_MARK?this.state=nn:f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.publicId+=A.REPLACEMENT_CHARACTER):f===m.GREATER_THAN_SIGN?(this._err(E.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=W):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=ot(f)}[qt](f){f===m.APOSTROPHE?this.state=nn:f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.publicId+=A.REPLACEMENT_CHARACTER):f===m.GREATER_THAN_SIGN?(this._err(E.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=W):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=ot(f)}[nn](f){De(f)?this.state=_1:f===m.GREATER_THAN_SIGN?(this.state=W,this._emitCurrentToken()):f===m.QUOTATION_MARK?(this._err(E.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=rn):f===m.APOSTROPHE?(this._err(E.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Pn):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt))}[_1](f){De(f)||(f===m.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=W):f===m.QUOTATION_MARK?(this.currentToken.systemId="",this.state=rn):f===m.APOSTROPHE?(this.currentToken.systemId="",this.state=Pn):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt)))}[Yn](f){De(f)?this.state=Mn:f===m.QUOTATION_MARK?(this._err(E.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=rn):f===m.APOSTROPHE?(this._err(E.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Pn):f===m.GREATER_THAN_SIGN?(this._err(E.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt))}[Mn](f){De(f)||(f===m.QUOTATION_MARK?(this.currentToken.systemId="",this.state=rn):f===m.APOSTROPHE?(this.currentToken.systemId="",this.state=Pn):f===m.GREATER_THAN_SIGN?(this._err(E.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=W,this._emitCurrentToken()):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Pt)))}[rn](f){f===m.QUOTATION_MARK?this.state=Cn:f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.systemId+=A.REPLACEMENT_CHARACTER):f===m.GREATER_THAN_SIGN?(this._err(E.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=W):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=ot(f)}[Pn](f){f===m.APOSTROPHE?this.state=Cn:f===m.NULL?(this._err(E.unexpectedNullCharacter),this.currentToken.systemId+=A.REPLACEMENT_CHARACTER):f===m.GREATER_THAN_SIGN?(this._err(E.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=W):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=ot(f)}[Cn](f){De(f)||(f===m.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=W):f===m.EOF?(this._err(E.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(E.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Pt)))}[Pt](f){f===m.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=W):f===m.NULL?this._err(E.unexpectedNullCharacter):f===m.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Sn](f){f===m.RIGHT_SQUARE_BRACKET?this.state=Dn:f===m.EOF?(this._err(E.eofInCdata),this._emitEOFToken()):this._emitCodePoint(f)}[Dn](f){f===m.RIGHT_SQUARE_BRACKET?this.state=e1:(this._emitChars("]"),this._reconsumeInState(Sn))}[e1](f){f===m.GREATER_THAN_SIGN?this.state=W:f===m.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Sn))}[mn](f){this.tempBuff=[m.AMPERSAND],f===m.NUMBER_SIGN?(this.tempBuff.push(f),this.state=we):u1(f)?this._reconsumeInState(st):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[st](f){const Qe=this._matchNamedCharacterReference(f);if(this._ensureHibernation())this.tempBuff=[m.AMPERSAND];else if(Qe){const Gt=this.tempBuff[this.tempBuff.length-1]===m.SEMICOLON;this._isCharacterReferenceAttributeQuirk(Gt)||(Gt||this._errOnNextCodePoint(E.missingSemicolonAfterCharacterReference),this.tempBuff=Qe),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=A1}[A1](f){u1(f)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=ot(f):this._emitCodePoint(f):(f===m.SEMICOLON&&this._err(E.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[we](f){this.charRefCode=0,f===m.LATIN_SMALL_X||f===m.LATIN_CAPITAL_X?(this.tempBuff.push(f),this.state=ct):this._reconsumeInState(a1)}[ct](f){C1(f)?this._reconsumeInState(oe):(this._err(E.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[a1](f){Jt(f)?this._reconsumeInState(tt):(this._err(E.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[oe](f){pn(f)?this.charRefCode=this.charRefCode*16+f-55:c1(f)?this.charRefCode=this.charRefCode*16+f-87:Jt(f)?this.charRefCode=this.charRefCode*16+f-48:f===m.SEMICOLON?this.state=Zt:(this._err(E.missingSemicolonAfterCharacterReference),this._reconsumeInState(Zt))}[tt](f){Jt(f)?this.charRefCode=this.charRefCode*10+f-48:f===m.SEMICOLON?this.state=Zt:(this._err(E.missingSemicolonAfterCharacterReference),this._reconsumeInState(Zt))}[Zt](){if(this.charRefCode===m.NULL)this._err(E.nullCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(E.characterReferenceOutsideUnicodeRange),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(A.isSurrogate(this.charRefCode))this._err(E.surrogateCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(A.isUndefinedCodePoint(this.charRefCode))this._err(E.noncharacterCharacterReference);else if(A.isControlCodePoint(this.charRefCode)||this.charRefCode===m.CARRIAGE_RETURN){this._err(E.controlCharacterReference);const f=F[this.charRefCode];f&&(this.charRefCode=f)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}nt.CHARACTER_TOKEN="CHARACTER_TOKEN",nt.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",nt.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",nt.START_TAG_TOKEN="START_TAG_TOKEN",nt.END_TAG_TOKEN="END_TAG_TOKEN",nt.COMMENT_TOKEN="COMMENT_TOKEN",nt.DOCTYPE_TOKEN="DOCTYPE_TOKEN",nt.EOF_TOKEN="EOF_TOKEN",nt.HIBERNATION_TOKEN="HIBERNATION_TOKEN",nt.MODE={DATA:W,RCDATA:ce,RAWTEXT:a,SCRIPT_DATA:H,PLAINTEXT:ge},nt.getTokenAttr=function(xe,f){for(let Qe=xe.attrs.length-1;Qe>=0;Qe--)if(xe.attrs[Qe].name===f)return xe.attrs[Qe].value;return null},ie.exports=nt},78862:function(ie){"use strict";ie.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},49310:function(ie,G,I){"use strict";const d=I(2657),A=I(93107),b=d.CODE_POINTS,E=1<<16;class m{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=E}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(F){if(this.pos!==this.lastCharPos){const k=this.html.charCodeAt(this.pos+1);if(d.isSurrogatePair(k))return this.pos++,this._addGap(),d.getSurrogatePairCodePoint(F,k)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,b.EOF;return this._err(A.surrogateInInputStream),F}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(F,k){this.html?this.html+=F:this.html=F,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=k}insertHtmlAtCurrentPos(F){this.html=this.html.substring(0,this.pos+1)+F+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,b.EOF;let F=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&F===b.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):F===b.CARRIAGE_RETURN?(this.skipNextNewLine=!0,b.LINE_FEED):(this.skipNextNewLine=!1,d.isSurrogate(F)&&(F=this._processSurrogate(F)),F>31&&F<127||F===b.LINE_FEED||F===b.CARRIAGE_RETURN||F>159&&F<64976||this._checkForProblematicCharacters(F),F)}_checkForProblematicCharacters(F){d.isControlCodePoint(F)?this._err(A.controlCharacterInInputStream):d.isUndefinedCodePoint(F)&&this._err(A.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}ie.exports=m},47971:function(ie,G,I){"use strict";const{DOCUMENT_MODE:d}=I(27447);G.createDocument=function(){return{nodeName:"#document",mode:d.NO_QUIRKS,childNodes:[]}},G.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},G.createElement=function(m,w,F){return{nodeName:m,tagName:m,attrs:F,namespaceURI:w,childNodes:[],parentNode:null}},G.createCommentNode=function(m){return{nodeName:"#comment",data:m,parentNode:null}};const A=function(m){return{nodeName:"#text",value:m,parentNode:null}},b=G.appendChild=function(m,w){m.childNodes.push(w),w.parentNode=m},E=G.insertBefore=function(m,w,F){const k=m.childNodes.indexOf(F);m.childNodes.splice(k,0,w),w.parentNode=m};G.setTemplateContent=function(m,w){m.content=w},G.getTemplateContent=function(m){return m.content},G.setDocumentType=function(m,w,F,k){let S=null;for(let R=0;R(Object.keys(b).forEach(E=>{A[E]=b[E]}),A),Object.create(null))}},24748:function(ie){"use strict";class G{constructor(d){const A={},b=this._getOverriddenMethods(this,A);for(const E of Object.keys(b))typeof b[E]=="function"&&(A[E]=d[E],d[E]=b[E])}_getOverriddenMethods(){throw new Error("Not implemented")}}G.install=function(I,d,A){I.__mixins||(I.__mixins=[]);for(let E=0;EUe&&(Ue=Xe):Xe&&(Ue&&He.push(d(` +`,Ue)),Ue=0,He.push(Xe));return He.join("")}function ce(Se,J,_e,Ie){return Se.type==="element"?a(Se,J,_e,Ie):Se.type==="text"?[Ie.whiteSpace==="normal"?H(Se,Ie):ge(Se,Ie)]:[]}function a(Se,J,_e,Ie){var ve=Ve(Se,Ie),We=Se.children||[],He=-1,Xe=[],Ue,Ot;if(R(Se))return Xe;for(w(Se)||S(Se)&&b(_e,Se,S)?Ot=` +`:F(Se)?(Ue=2,Ot=2):U(Se)&&(Ue=1,Ot=1);++He-1?F.prefix.slice(0,S):F.prefix),R;function R(W){A(W,"element",U)}function U(W,ce,a){var H,ge,Ce;if(!(!a||a.tagName!=="pre"||W.tagName!=="code")&&(Ce=E(W),!(Ce===!1||!Ce&&F.subset===!1||F.plainText&&F.plainText.indexOf(Ce)>-1))){H=W.properties,H.className||(H.className=[]),H.className.indexOf(k)<0&&H.className.unshift(k);try{ge=Ce?m.highlight(Ce,d(a),w):m.highlightAuto(d(a),w)}catch(Ve){if(!F.ignoreMissing||!/Unknown language/.test(Ve.message))throw Ve;ge={}}!Ce&&ge.language&&H.className.push("language-"+ge.language),ge.value&&(W.children=ge.value)}}}}function E(m){for(var w=m.properties.className||[],F=-1,k;++F":""))+")"),Ke;function Ke(){var Se=Ce.concat(H),J=[],_e,Ie;if((!S||ce(H,ge,Ce[Ce.length-1]||null))&&(J=F(R(H,Ce)),J[0]===m))return J;if(H.children&&J[0]!==E)for(Ie=(U?H.children.length:-1)+W;Ie>-1&&Ie=E)return G.substr(0,E);for(;E>G.length&&b>1;)b&1&&(G+=A),b>>=1,A+=A;return G+=A,G=G.substr(0,E),G}},33262:function(ie,G,I){"use strict";var d=I(81390);ie.exports=A;function A(b,E,m){var w=d(m),F,k,S;if(!b||!b.type||!b.children)throw new Error("Expected parent node");if(F=b.children,S=F.length,E&&E.type&&(E=F.indexOf(E)),isNaN(E)||E<0||E===1/0)throw new Error("Expected positive finite index or child node");for(;++E=19968?A+=d[b].length:A+=1;return A}},13912:function(ie,G,I){"use strict";I.d(G,{Z:function(){return X1}});var d=I(4663),A=I(75364);const b={tokenize:Ce,partial:!0},E={tokenize:Ve,partial:!0},m={tokenize:Ee,partial:!0},w={tokenize:Ke,partial:!0},F={tokenize:Se,partial:!0},k={tokenize:H,previous:J},S={tokenize:ge,previous:_e},R={tokenize:a,previous:Ie},U={},W={text:U};let ce=48;for(;ce<123;)U[ce]=R,ce++,ce===58?ce=65:ce===91&&(ce=97);U[43]=R,U[45]=R,U[46]=R,U[95]=R,U[72]=[R,S],U[104]=[R,S],U[87]=[R,k],U[119]=[R,k];function a(p,y,N){const D=this;let z,B;return x;function x(Q){return!ve(Q)||!Ie.call(D,D.previous)||We(D.events)?N(Q):(p.enter("literalAutolink"),p.enter("literalAutolinkEmail"),Y(Q))}function Y(Q){return ve(Q)?(p.consume(Q),Y):Q===64?(p.consume(Q),V):N(Q)}function V(Q){return Q===46?p.check(F,ae,se)(Q):Q===45||Q===95||(0,A.H$)(Q)?(B=!0,p.consume(Q),V):ae(Q)}function se(Q){return p.consume(Q),z=!0,V}function ae(Q){return B&&z&&(0,A.jv)(D.previous)?(p.exit("literalAutolinkEmail"),p.exit("literalAutolink"),y(Q)):N(Q)}}function H(p,y,N){const D=this;return z;function z(x){return x!==87&&x!==119||!J.call(D,D.previous)||We(D.events)?N(x):(p.enter("literalAutolink"),p.enter("literalAutolinkWww"),p.check(b,p.attempt(E,p.attempt(m,B),N),N)(x))}function B(x){return p.exit("literalAutolinkWww"),p.exit("literalAutolink"),y(x)}}function ge(p,y,N){const D=this;let z="",B=!1;return x;function x(Q){return(Q===72||Q===104)&&_e.call(D,D.previous)&&!We(D.events)?(p.enter("literalAutolink"),p.enter("literalAutolinkHttp"),z+=String.fromCodePoint(Q),p.consume(Q),Y):N(Q)}function Y(Q){if((0,A.jv)(Q)&&z.length<5)return z+=String.fromCodePoint(Q),p.consume(Q),Y;if(Q===58){const ye=z.toLowerCase();if(ye==="http"||ye==="https")return p.consume(Q),V}return N(Q)}function V(Q){return Q===47?(p.consume(Q),B?se:(B=!0,V)):N(Q)}function se(Q){return Q===null||(0,A.Av)(Q)||(0,A.z3)(Q)||(0,A.B8)(Q)||(0,A.Xh)(Q)?N(Q):p.attempt(E,p.attempt(m,ae),N)(Q)}function ae(Q){return p.exit("literalAutolinkHttp"),p.exit("literalAutolink"),y(Q)}}function Ce(p,y,N){let D=0;return z;function z(x){return(x===87||x===119)&&D<3?(D++,p.consume(x),z):x===46&&D===3?(p.consume(x),B):N(x)}function B(x){return x===null?N(x):y(x)}}function Ve(p,y,N){let D,z,B;return x;function x(se){return se===46||se===95?p.check(w,V,Y)(se):se===null||(0,A.z3)(se)||(0,A.B8)(se)||se!==45&&(0,A.Xh)(se)?V(se):(B=!0,p.consume(se),x)}function Y(se){return se===95?D=!0:(z=D,D=void 0),p.consume(se),x}function V(se){return z||D||!B?N(se):y(se)}}function Ee(p,y){let N=0,D=0;return z;function z(x){return x===40?(N++,p.consume(x),z):x===41&&D0&&!N&&(p[p.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),N}var He=I(23402),Xe=I(42761),Ue=I(11098);const Ot={tokenize:Yt,partial:!0};function ft(){return{document:{[91]:{tokenize:xn,continuation:{tokenize:Hn},exit:Fn}},text:{[91]:{tokenize:zt},[93]:{add:"after",tokenize:En,resolveTo:It}}}}function En(p,y,N){const D=this;let z=D.events.length;const B=D.parser.gfmFootnotes||(D.parser.gfmFootnotes=[]);let x;for(;z--;){const V=D.events[z][1];if(V.type==="labelImage"){x=V;break}if(V.type==="gfmFootnoteCall"||V.type==="labelLink"||V.type==="label"||V.type==="image"||V.type==="link")break}return Y;function Y(V){if(!x||!x._balanced)return N(V);const se=(0,Ue.d)(D.sliceSerialize({start:x.end,end:D.now()}));return se.codePointAt(0)!==94||!B.includes(se.slice(1))?N(V):(p.enter("gfmFootnoteCallLabelMarker"),p.consume(V),p.exit("gfmFootnoteCallLabelMarker"),y(V))}}function It(p,y){let N=p.length,D;for(;N--;)if(p[N][1].type==="labelImage"&&p[N][0]==="enter"){D=p[N][1];break}p[N+1][1].type="data",p[N+3][1].type="gfmFootnoteCallLabelMarker";const z={type:"gfmFootnoteCall",start:Object.assign({},p[N+3][1].start),end:Object.assign({},p[p.length-1][1].end)},B={type:"gfmFootnoteCallMarker",start:Object.assign({},p[N+3][1].end),end:Object.assign({},p[N+3][1].end)};B.end.column++,B.end.offset++,B.end._bufferIndex++;const x={type:"gfmFootnoteCallString",start:Object.assign({},B.end),end:Object.assign({},p[p.length-1][1].start)},Y={type:"chunkString",contentType:"string",start:Object.assign({},x.start),end:Object.assign({},x.end)},V=[p[N+1],p[N+2],["enter",z,y],p[N+3],p[N+4],["enter",B,y],["exit",B,y],["enter",x,y],["enter",Y,y],["exit",Y,y],["exit",x,y],p[p.length-2],p[p.length-1],["exit",z,y]];return p.splice(N,p.length-N+1,...V),p}function zt(p,y,N){const D=this,z=D.parser.gfmFootnotes||(D.parser.gfmFootnotes=[]);let B=0,x;return Y;function Y(Q){return p.enter("gfmFootnoteCall"),p.enter("gfmFootnoteCallLabelMarker"),p.consume(Q),p.exit("gfmFootnoteCallLabelMarker"),V}function V(Q){return Q!==94?N(Q):(p.enter("gfmFootnoteCallMarker"),p.consume(Q),p.exit("gfmFootnoteCallMarker"),p.enter("gfmFootnoteCallString"),p.enter("chunkString").contentType="string",se)}function se(Q){if(B>999||Q===93&&!x||Q===null||Q===91||(0,A.z3)(Q))return N(Q);if(Q===93){p.exit("chunkString");const ye=p.exit("gfmFootnoteCallString");return z.includes((0,Ue.d)(D.sliceSerialize(ye)))?(p.enter("gfmFootnoteCallLabelMarker"),p.consume(Q),p.exit("gfmFootnoteCallLabelMarker"),p.exit("gfmFootnoteCall"),y):N(Q)}return(0,A.z3)(Q)||(x=!0),B++,p.consume(Q),Q===92?ae:se}function ae(Q){return Q===91||Q===92||Q===93?(p.consume(Q),B++,se):se(Q)}}function xn(p,y,N){const D=this,z=D.parser.gfmFootnotes||(D.parser.gfmFootnotes=[]);let B,x=0,Y;return V;function V(le){return p.enter("gfmFootnoteDefinition")._container=!0,p.enter("gfmFootnoteDefinitionLabel"),p.enter("gfmFootnoteDefinitionLabelMarker"),p.consume(le),p.exit("gfmFootnoteDefinitionLabelMarker"),se}function se(le){return le===94?(p.enter("gfmFootnoteDefinitionMarker"),p.consume(le),p.exit("gfmFootnoteDefinitionMarker"),p.enter("gfmFootnoteDefinitionLabelString"),p.enter("chunkString").contentType="string",ae):N(le)}function ae(le){if(x>999||le===93&&!Y||le===null||le===91||(0,A.z3)(le))return N(le);if(le===93){p.exit("chunkString");const Ne=p.exit("gfmFootnoteDefinitionLabelString");return B=(0,Ue.d)(D.sliceSerialize(Ne)),p.enter("gfmFootnoteDefinitionLabelMarker"),p.consume(le),p.exit("gfmFootnoteDefinitionLabelMarker"),p.exit("gfmFootnoteDefinitionLabel"),ye}return(0,A.z3)(le)||(Y=!0),x++,p.consume(le),le===92?Q:ae}function Q(le){return le===91||le===92||le===93?(p.consume(le),x++,ae):ae(le)}function ye(le){return le===58?(p.enter("definitionMarker"),p.consume(le),p.exit("definitionMarker"),z.includes(B)||z.push(B),(0,Xe.f)(p,Re,"gfmFootnoteDefinitionWhitespace")):N(le)}function Re(le){return y(le)}}function Hn(p,y,N){return p.check(He.w,y,p.attempt(Ot,y,N))}function Fn(p){p.exit("gfmFootnoteDefinition")}function Yt(p,y,N){const D=this;return(0,Xe.f)(p,z,"gfmFootnoteDefinitionIndent",4+1);function z(B){const x=D.events[D.events.length-1];return x&&x[1].type==="gfmFootnoteDefinitionIndent"&&x[2].sliceSerialize(x[1],!0).length===4?y(B):N(B)}}var Rn=I(21905),hn=I(62987),_n=I(63233);function o1(p){let N=(p||{}).singleTilde;const D={tokenize:B,resolveAll:z};return N==null&&(N=!0),{text:{[126]:D},insideSpan:{null:[D]},attentionMarkers:{null:[126]}};function z(x,Y){let V=-1;for(;++V1?V(le):(x.consume(le),Q++,Re);if(Q<2&&!N)return V(le);const be=x.exit("strikethroughSequenceTemporary"),je=(0,hn.r)(le);return be._open=!je||je===2&&Boolean(Ne),be._close=!Ne||Ne===2&&Boolean(je),Y(le)}}}class Wt{constructor(){this.map=[]}add(y,N,D){Xn(this,y,N,D)}consume(y){if(this.map.sort((B,x)=>B[0]-x[0]),this.map.length===0)return;let N=this.map.length;const D=[];for(;N>0;)N-=1,D.push(y.slice(this.map[N][0]+this.map[N][1])),D.push(this.map[N][2]),y.length=this.map[N][0];D.push([...y]),y.length=0;let z=D.pop();for(;z;)y.push(...z),z=D.pop();this.map.length=0}}function Xn(p,y,N,D){let z=0;if(!(N===0&&D.length===0)){for(;z-1;){const Vn=D.events[pe][1].type;if(Vn==="lineEnding"||Vn==="linePrefix")pe--;else break}const Ze=pe>-1?D.events[pe][1].type:null,yt=Ze==="tableHead"||Ze==="tableRow"?d1:V;return yt===d1&&D.parser.lazy[D.now().line]?N(v):yt(v)}function V(v){return p.enter("tableHead"),p.enter("tableRow"),se(v)}function se(v){return v===124||(x=!0,B+=1),ae(v)}function ae(v){return v===null?N(v):(0,A.Ch)(v)?B>1?(B=0,D.interrupt=!0,p.exit("tableRow"),p.enter("lineEnding"),p.consume(v),p.exit("lineEnding"),Re):N(v):(0,A.xz)(v)?(0,Xe.f)(p,ae,"whitespace")(v):(B+=1,x&&(x=!1,z+=1),v===124?(p.enter("tableCellDivider"),p.consume(v),p.exit("tableCellDivider"),x=!0,ae):(p.enter("data"),Q(v)))}function Q(v){return v===null||v===124||(0,A.z3)(v)?(p.exit("data"),ae(v)):(p.consume(v),v===92?ye:Q)}function ye(v){return v===92||v===124?(p.consume(v),Q):Q(v)}function Re(v){return D.interrupt=!1,D.parser.lazy[D.now().line]?N(v):(p.enter("tableDelimiterRow"),x=!1,(0,A.xz)(v)?(0,Xe.f)(p,le,"linePrefix",D.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):le(v))}function le(v){return v===45||v===58?be(v):v===124?(x=!0,p.enter("tableCellDivider"),p.consume(v),p.exit("tableCellDivider"),Ne):Je(v)}function Ne(v){return(0,A.xz)(v)?(0,Xe.f)(p,be,"whitespace")(v):be(v)}function be(v){return v===58?(B+=1,x=!0,p.enter("tableDelimiterMarker"),p.consume(v),p.exit("tableDelimiterMarker"),je):v===45?(B+=1,je(v)):v===null||(0,A.Ch)(v)?Ae(v):Je(v)}function je(v){return v===45?(p.enter("tableDelimiterFiller"),Ye(v)):Je(v)}function Ye(v){return v===45?(p.consume(v),Ye):v===58?(x=!0,p.exit("tableDelimiterFiller"),p.enter("tableDelimiterMarker"),p.consume(v),p.exit("tableDelimiterMarker"),mt):(p.exit("tableDelimiterFiller"),mt(v))}function mt(v){return(0,A.xz)(v)?(0,Xe.f)(p,Ae,"whitespace")(v):Ae(v)}function Ae(v){return v===124?le(v):v===null||(0,A.Ch)(v)?!x||z!==B?Je(v):(p.exit("tableDelimiterRow"),p.exit("tableHead"),y(v)):Je(v)}function Je(v){return N(v)}function d1(v){return p.enter("tableRow"),i(v)}function i(v){return v===124?(p.enter("tableCellDivider"),p.consume(v),p.exit("tableCellDivider"),i):v===null||(0,A.Ch)(v)?(p.exit("tableRow"),y(v)):(0,A.xz)(v)?(0,Xe.f)(p,i,"whitespace")(v):(p.enter("data"),o(v))}function o(v){return v===null||v===124||(0,A.z3)(v)?(p.exit("data"),i(v)):(p.consume(v),v===92?u:o)}function u(v){return v===92||v===124?(p.consume(v),o):o(v)}}function Bn(p,y){let N=-1,D=!0,z=0,B=[0,0,0,0],x=[0,0,0,0],Y=!1,V=0,se,ae,Q;const ye=new Wt;for(;++NN[2]+1){const le=N[2]+1,Ne=N[3]-N[2]-1;p.add(le,Ne,[])}}p.add(N[3]+1,0,[["exit",Q,y]])}return z!==void 0&&(B.end=Object.assign({},Vt(y.events,z)),p.add(z,0,[["exit",B,y]]),B=void 0),B}function Un(p,y,N,D,z){const B=[],x=Vt(y.events,N);z&&(z.end=Object.assign({},x),B.push(["exit",z,y])),D.end=Object.assign({},x),B.push(["exit",D,y]),p.add(N+1,0,B)}function Vt(p,y){const N=p[y],D=N[0]==="enter"?"start":"end";return N[1][D]}const Ln={tokenize:on},L1={text:{[91]:Ln}};function on(p,y,N){const D=this;return z;function z(V){return D.previous!==null||!D._gfmTasklistFirstContentOfListItem?N(V):(p.enter("taskListCheck"),p.enter("taskListCheckMarker"),p.consume(V),p.exit("taskListCheckMarker"),B)}function B(V){return(0,A.z3)(V)?(p.enter("taskListCheckValueUnchecked"),p.consume(V),p.exit("taskListCheckValueUnchecked"),x):V===88||V===120?(p.enter("taskListCheckValueChecked"),p.consume(V),p.exit("taskListCheckValueChecked"),x):N(V)}function x(V){return V===93?(p.enter("taskListCheckMarker"),p.consume(V),p.exit("taskListCheckMarker"),p.exit("taskListCheck"),Y):N(V)}function Y(V){return(0,A.Ch)(V)?y(V):(0,A.xz)(V)?p.check({tokenize:ze},y,N)(V):N(V)}}function ze(p,y,N){return(0,Xe.f)(p,D,"whitespace");function D(z){return z===null?N(z):y(z)}}function Qt(p){return(0,d.W)([W,ft(),o1(p),Zn,L1])}function dt(p){return combineHtmlExtensions([gfmAutolinkLiteralHtml,gfmFootnoteHtml(p),gfmStrikethroughHtml,gfmTableHtml,gfmTagfilterHtml,gfmTaskListItemHtml])}var s1=I(64777);function zn(p){if(typeof p!="string")throw new TypeError("Expected a string");return p.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var bt=I(20557),fn=I(96093);const $n={}.hasOwnProperty,Gn=function(p,y,N,D){let z,B;typeof y=="string"||y instanceof RegExp?(B=[[y,N]],z=D):(B=y,z=N),z||(z={});const x=(0,fn.O)(z.ignore||[]),Y=E1(B);let V=-1;for(;++V0?{type:"text",value:i}:void 0),i!==!1&&(be!==Je&&mt.push({type:"text",value:Q.value.slice(be,Je)}),Array.isArray(i)?mt.push(...i):i&&mt.push(i),be=Je+Ae[0].length,Ye=!0),!le.global)break;Ae=le.exec(Q.value)}return Ye?(bep}const dn="phrasing",jn=["autolink","link","image","label"],wn={transforms:[Pn],enter:{literalAutolink:qt,literalAutolinkEmail:nn,literalAutolinkHttp:nn,literalAutolinkWww:nn},exit:{literalAutolink:rn,literalAutolinkEmail:Mn,literalAutolinkHttp:_1,literalAutolinkWww:Yn}},ht={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:dn,notInConstruct:jn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:dn,notInConstruct:jn},{character:":",before:"[ps]",after:"\\/",inConstruct:dn,notInConstruct:jn}]};function qt(p){this.enter({type:"link",title:null,url:"",children:[]},p)}function nn(p){this.config.enter.autolinkProtocol.call(this,p)}function _1(p){this.config.exit.autolinkProtocol.call(this,p)}function Yn(p){this.config.exit.data.call(this,p);const y=this.stack[this.stack.length-1];y.url="http://"+this.sliceSerialize(p)}function Mn(p){this.config.exit.autolinkEmail.call(this,p)}function rn(p){this.exit(p)}function Pn(p){Gn(p,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Cn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Pt]],{ignore:["link","linkReference"]})}function Cn(p,y,N,D,z){let B="";if(!e1(z)||(/^w/i.test(y)&&(N=y+N,y="",B="http://"),!Sn(N)))return!1;const x=Dn(N+D);if(!x[0])return!1;const Y={type:"link",title:null,url:B+y+x[0],children:[{type:"text",value:y+x[0]}]};return x[1]?[Y,{type:"text",value:x[1]}]:Y}function Pt(p,y,N,D){return!e1(D,!0)||/[-\d_]$/.test(N)?!1:{type:"link",title:null,url:"mailto:"+y+"@"+N,children:[{type:"text",value:y+"@"+N}]}}function Sn(p){const y=p.split(".");return!(y.length<2||y[y.length-1]&&(/_/.test(y[y.length-1])||!/[a-zA-Z\d]/.test(y[y.length-1]))||y[y.length-2]&&(/_/.test(y[y.length-2])||!/[a-zA-Z\d]/.test(y[y.length-2])))}function Dn(p){const y=/[!"&'),.:;<>?\]}]+$/.exec(p);if(!y)return[p,void 0];p=p.slice(0,y.index);let N=y[0],D=N.indexOf(")");const z=(0,s1.w)(p,"(");let B=(0,s1.w)(p,")");for(;D!==-1&&z>B;)p+=N.slice(0,D+1),N=N.slice(D+1),D=N.indexOf(")"),B++;return[p,N]}function e1(p,y){const N=p.input.charCodeAt(p.index-1);return(p.index===0||(0,A.B8)(N)||(0,A.Xh)(N))&&(!y||N!==47)}var mn=I(47881);function st(p){return p.label||!p.identifier?p.label||"":(0,mn.v)(p.identifier)}function A1(p,y,N){const D=y.indexStack,z=p.children||[],B=y.createTracker(N),x=[];let Y=-1;for(D.push(-1);++Y + +`}return` + +`}const ct=/\r?\n|\r/g;function a1(p,y){const N=[];let D=0,z=0,B;for(;B=ct.exec(p);)x(p.slice(D,B.index)),N.push(B[0]),D=B.index+B[0].length,z++;return x(p.slice(D)),N.join("");function x(Y){N.push(y(Y,z,!Y))}}function oe(p){if(!p._compiled){const y=(p.atBreak?"[\\r\\n][\\t ]*":"")+(p.before?"(?:"+p.before+")":"");p._compiled=new RegExp((y?"("+y+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(p.character)?"\\":"")+p.character+(p.after?"(?:"+p.after+")":""),"g")}return p._compiled}function tt(p,y){return Zt(p,y.inConstruct,!0)&&!Zt(p,y.notInConstruct,!1)}function Zt(p,y,N){if(typeof y=="string"&&(y=[y]),!y||y.length===0)return N;let D=-1;for(;++D=se||ae+10?" ":"")),z.shift(4),B+=z.move(a1(A1(p,N,z.current()),Gt)),x(),B}function Gt(p,y,N){return y===0?p:(N?"":" ")+p}function _t(p,y,N){const D=y.indexStack,z=p.children||[],B=[];let x=-1,Y=N.before;D.push(-1);let V=y.createTracker(N);for(;++x0&&(Y==="\r"||Y===` +`)&&se.type==="html"&&(B[B.length-1]=B[B.length-1].replace(/(\r?\n|\r)$/," "),Y=" ",V=y.createTracker(N),V.move(B.join(""))),B.push(V.move(y.handle(se,p,y,l1(ut({},V.current()),{before:Y,after:ae})))),Y=B[B.length-1].slice(-1)}return D.pop(),B.join("")}const Rt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];yn.peek=K1;const At={canContainEols:["delete"],enter:{strikethrough:un},exit:{strikethrough:S1}},Ct={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Rt}],handlers:{delete:yn}};function un(p){this.enter({type:"delete",children:[]},p)}function S1(p){this.exit(p)}function yn(p,y,N,D){const z=Xt(D),B=N.enter("strikethrough");let x=z.move("~~");return x+=_t(p,N,l1(ut({},z.current()),{before:x,after:"~"})),x+=z.move("~~"),B(),x}function K1(){return"~"}y1.peek=or;function y1(p,y,N){let D=p.value||"",z="`",B=-1;for(;new RegExp("(^|[^`])"+z+"([^`]|$)").test(D);)z+="`";for(/[^ \r\n]/.test(D)&&(/^[ \r\n]/.test(D)&&/[ \r\n]$/.test(D)||/^`|`$/.test(D))&&(D=" "+D+" ");++BV&&(V=p[se].length);++beY[be])&&(Y[be]=Ye)}le.push(je)}B[se]=le,x[se]=Ne}let ae=-1;if(typeof N=="object"&&"length"in N)for(;++aeY[ae]&&(Y[ae]=je),ye[ae]=je),Q[ae]=Ye}B.splice(1,0,Q),x.splice(1,0,ye),se=-1;const Re=[];for(;++seN==="none"?null:N),children:[]},p),this.setData("inTable",!0)}function kn(p){this.exit(p),this.setData("inTable")}function ar(p){this.enter({type:"tableRow",children:[]},p)}function M1(p){this.exit(p)}function ln(p){this.enter({type:"tableCell",children:[]},p)}function n1(p){let y=this.resume();this.getData("inTable")&&(y=y.replace(/\\([\\|])/g,V1));const N=this.stack[this.stack.length-1];N.value=y,this.exit(p)}function V1(p,y){return y==="|"?y:p}function ur(p){const y=p||{},N=y.tableCellPadding,D=y.tablePipeAlign,z=y.stringLength,B=N?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:x,tableRow:Y,tableCell:V,inlineCode:ye}};function x(Re,le,Ne,be){return se(ae(Re,Ne,be),Re.align)}function Y(Re,le,Ne,be){const je=Q(Re,Ne,be),Ye=se([je]);return Ye.slice(0,Ye.indexOf(` +`))}function V(Re,le,Ne,be){const je=Ne.enter("tableCell"),Ye=Ne.enter("phrasing"),mt=_t(Re,Ne,l1(ut({},be),{before:B,after:B}));return Ye(),je(),mt}function se(Re,le){return j1(Re,{align:le,alignDelimiters:D,padding:N,stringLength:z})}function ae(Re,le,Ne){const be=Re.children;let je=-1;const Ye=[],mt=le.enter("table");for(;++je-1?y.start:1)+(N.options.incrementListMarker===!1?0:y.children.indexOf(p))+B);let x=B.length+1;(z==="tab"||z==="mixed"&&(y&&y.type==="list"&&y.spread||p.spread))&&(x=Math.ceil(x/4)*4);const Y=N.createTracker(D);Y.move(B+" ".repeat(x-B.length)),Y.shift(x);const V=N.enter("listItem"),se=N.indentLines(N.containerFlow(p,Y.current()),ae);return V(),se;function ae(Q,ye,Re){return ye?(Re?"":" ".repeat(x))+Q:(Re?B:B+" ".repeat(x-B.length))+Q}}const dr={exit:{taskListCheckValueChecked:k1,taskListCheckValueUnchecked:k1,paragraph:P1}},mr={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:$t}};function k1(p){const y=this.stack[this.stack.length-2];y.checked=p.type==="taskListCheckValueChecked"}function P1(p){const y=this.stack[this.stack.length-2];if(y&&y.type==="listItem"&&typeof y.checked=="boolean"){const N=this.stack[this.stack.length-1],D=N.children[0];if(D&&D.type==="text"){const z=y.children;let B=-1,x;for(;++B',CheckCorrect:'',InsertTable:''},Tr={strike:"Strikethrough",strikeText:"text",table:"Table",tableHeading:"Heading",task:"Task list",taskText:"todo"};function X1(N={}){var D=N,{locale:p}=D,y=$r(D,["locale"]);const z=ut(ut({},Tr),p);return{remark:B=>B.use(h1,y),actions:[{title:z.strike,icon:D1.Strikethrough,cheatsheet:`~~${z.strikeText}~~`,handler:{type:"action",click({wrapText:B,editor:x}){B("~~"),x.focus()}}},{title:z.task,icon:D1.CheckCorrect,cheatsheet:`- [ ] ${z.taskText}`,handler:{type:"action",click({replaceLines:B,editor:x}){B(Y=>"- [ ] "+Y),x.focus()}}},{title:z.table,icon:D1.InsertTable,handler:{type:"action",click({editor:B,appendBlock:x,codemirror:Y}){const{line:V}=x(`| ${z.tableHeading} | | +| --- | --- | +| | | +`);B.setSelection(Y.Pos(V,2),Y.Pos(V,2+z.tableHeading.length)),B.focus()}}}]}}},81484:function(ie,G,I){"use strict";I.d(G,{Z:function(){return d}});function d(A){let b;return{viewerEffect({markdownBody:E}){const m=[...E.querySelectorAll("img")].filter(w=>{var F,k;return((k=(F=A==null?void 0:A.filter)==null?void 0:F.call(A,w))!=null?k:!0)&&!w.closest("a")});m.length!==0&&R1(this,null,function*(){b||(b=yield I.e(2557).then(I.bind(I,62557))),b.default(m,A)})}}}},51364:function(ie,G,I){"use strict";I.d(G,{A:function(){return Zc}});var d={};I.r(d),I.d(d,{boolean:function(){return Ee},booleanish:function(){return Ke},commaOrSpaceSeparated:function(){return ve},commaSeparated:function(){return Ie},number:function(){return J},overloadedBoolean:function(){return Se},spaceSeparated:function(){return _e}});var A={};I.r(A),I.d(A,{boolean:function(){return we},booleanish:function(){return ct},commaOrSpaceSeparated:function(){return De},commaSeparated:function(){return Zt},number:function(){return oe},overloadedBoolean:function(){return a1},spaceSeparated:function(){return tt}});var b={};I.r(b),I.d(b,{boolean:function(){return Ae},booleanish:function(){return Je},commaOrSpaceSeparated:function(){return v},commaSeparated:function(){return u},number:function(){return i},overloadedBoolean:function(){return d1},spaceSeparated:function(){return o}});var E={};I.r(E),I.d(E,{attentionMarkers:function(){return ou},contentInitial:function(){return eu},disable:function(){return su},document:function(){return $a},flow:function(){return nu},flowInitial:function(){return tu},insideSpan:function(){return lu},string:function(){return ru},text:function(){return iu}});var m=I(939);const w={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto","xmpp","irc","ircs"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],attributes:{a:["href"],img:["src","longDesc"],input:[["type","checkbox"],["disabled",!0]],li:[["className","task-list-item"]],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},required:{input:{type:"checkbox",disabled:!0}}};var F=I(82803);const k=U("start"),S=U("end");function R(e){return{start:k(e),end:S(e)}}function U(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}var W=I(20557);const ce=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),(0,W.S4)(e,t,l,r);function l(s,c){const h=c[c.length-1];return n(s,h?h.children.indexOf(s):null,h)}};class a{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}a.prototype.property={},a.prototype.normal={},a.prototype.space=null;function H(e,t){const n={},r={};let l=-1;for(;++l4&&n.slice(0,4)==="data"&&o1.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Wt,Jn);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Wt.test(s)){let c=s.replace(Xn,Zn);c.charAt(0)!=="-"&&(c="-"+c),t="data"+c}}l=Xe}return new l(r,t)}function Zn(e){return"-"+e.toLowerCase()}function Jn(e){return e.charAt(1).toUpperCase()}const Bn=/[#.]/g;function An(e,t){const n=e||"",r={};let l=0,s,c;for(;l-1&&cc)return{line:h+1,column:c-(h>0?n[h-1]:0)+1,offset:c}}return{line:void 0,column:void 0,offset:void 0}}function s(c){const h=c&&c.line,T=c&&c.column;if(typeof h=="number"&&typeof T=="number"&&!Number.isNaN(h)&&!Number.isNaN(T)&&h-1 in n){const g=(n[h-2]||0)+T-1||0;if(g>-1&&g4&&n.slice(0,4)==="data"&&Gt.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(_t,un);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!_t.test(s)){let c=s.replace(Rt,Ct);c.charAt(0)!=="-"&&(c="-"+c),t="data"+c}}l=Xt}return new l(r,t)}function Ct(e){return"-"+e.toLowerCase()}function un(e){return e.charAt(1).toUpperCase()}function S1(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function yn(e){return e.join(" ").trim()}const K1={}.hasOwnProperty;function y1(e,t){const n=t||{};function r(l,...s){let c=r.invalid;const h=r.handlers;if(l&&K1.call(l,e)){const T=String(l[e]);c=K1.call(h,T)?h[T]:r.unknown}if(c)return c.call(this,l,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const or={}.hasOwnProperty,j1=y1("type",{handlers:{root:Y1,element:ar,text:w1,comment:kn,doctype:cn}});function sr(e,t){const n=t&&typeof t=="object"?t.space:t;return j1(e,n==="svg"?Qe:f)}function Y1(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=ln(e.children,n,t),n1(e,n),n}function W1(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=ln(e.children,n,t),n1(e,n),n}function cn(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return n1(e,t),t}function w1(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return n1(e,t),t}function kn(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return n1(e,t),t}function ar(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Qe);const l=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&or.call(e.properties,s)){const h=M1(r,s,e.properties[s]);h&&l.push(h)}}const c={nodeName:e.tagName,tagName:e.tagName,attrs:l,namespaceURI:dn[r.space],childNodes:[],parentNode:void 0};return c.childNodes=ln(e.children,c,r),n1(e,c),e.tagName==="template"&&e.content&&(c.content=W1(e.content,r)),c}function M1(e,t,n){const r=At(e,t);if(n==null||n===!1||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Sn(n):yn(n));const l={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=l.name.indexOf(":");s<0?l.prefix="":(l.name=l.name.slice(s+1),l.prefix=r.attribute.slice(0,s)),l.namespace=dn[r.space]}return l}function ln(e,t,n){let r=-1;const l=[];if(e)for(;++r{const Le=q;if(Le.value.stitch&&Be!==null&&me!==null)return Be.children[me]=Le.value.stitch,me}),e.type!=="root"&&C.type==="root"&&C.children.length===1)return C.children[0];return C;function L(){const q={nodeName:"template",tagName:"template",attrs:[],namespaceURI:dn.html,childNodes:[]},me={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:dn.html,childNodes:[]},Be={nodeName:"#document-fragment",childNodes:[]};if(l._bootstrap(me,q),l._pushTmplInsertionMode(ur),l._initTokenizerForFragmentParsing(),l._insertFakeRootElement(),l._resetInsertionMode(),l._findFormInFragmentContext(),h=l.tokenizer,!h)throw new Error("Expected `tokenizer`");return T=h.preprocessor,_=h.__mixins[0],g=_.posTracker,s(e),j(),l._adoptNodes(me.childNodes[0],Be),Be}function O(){const q=l.treeAdapter.createDocument();if(l._bootstrap(q,void 0),h=l.tokenizer,!h)throw new Error("Expected `tokenizer`");return T=h.preprocessor,_=h.__mixins[0],g=_.posTracker,s(e),j(),q}function X(q){let me=-1;if(q)for(;++me$t(t,n,e)}const Nn={}.hasOwnProperty,Q1={root:{children:p},doctype:y,comment:N,element:{tagName:B,properties:D,children:p},text:{value:Y},"*":{data:V,position:V}};function Tr(e,t){let n={type:"root",children:[]};if(e&&typeof e=="object"&&e.type){const r=X1(Object.assign({},w,t||{}),e,[]);r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r)}return n}function X1(e,t,n){const r=t&&t.type,l={type:t.type};let s;if(Nn.call(Q1,r)){let c=Q1[r];if(typeof c=="function"&&(c=c(e,t)),c){const h=Object.assign({},c,Q1["*"]);let T;s=!0;for(T in h)if(Nn.call(h,T)){const g=h[T](e,t[T],t,n);g===!1?(s=void 0,l[T]=t[T]):g!=null&&(l[T]=g)}}}return s?l:l.type==="element"&&e.strip&&!e.strip.includes(l.tagName)?l.children:void 0}function p(e,t,n,r){const l=[];if(Array.isArray(t)){let s=-1;for(n.type==="element"&&r.push(n.tagName);++s");return r<0?n:n.slice(0,r)}function Y(e,t){return typeof t=="string"?t:""}function V(e,t){return t}function se(e,t,n,r){let l=-1;const s=[];for(;++ll&&typeof l=="object"&&"flags"in l?l.test(String(t)):l===t)))return e.clobberPrefix&&e.clobber&&e.clobber.includes(n)?e.clobberPrefix+t:t}function Q(e,t,n){const r=String(t),l=r.indexOf(":"),s=r.indexOf("?"),c=r.indexOf("#"),h=r.indexOf("/"),T=e.protocols&&Nn.call(e.protocols,n)?e.protocols[n].concat():[];let g=-1;if(T.length===0||l<0||h>-1&&l>h||s>-1&&l>s||c>-1&&l>c)return!0;for(;++g4&&e.slice(0,4).toLowerCase()==="data"}function le(e=w){return t=>Tr(t,e)}class Ne{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Ne.prototype.property={},Ne.prototype.normal={},Ne.prototype.space=null;function be(e,t){const n={},r={};let l=-1;for(;++l`]/g,Ao=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Co=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,So=/[|\\{}()[\]^$+*?.]/g,Fi=new WeakMap;function yo(e,t){if(e=e.replace(t.subset?ko(t.subset):_o,r),t.subset||t.escapeOnly)return e;return e.replace(Ao,n).replace(Co,r);function n(l,s,c){return t.format((l.charCodeAt(0)-55296)*1024+l.charCodeAt(1)-56320+65536,c.charCodeAt(s+2),t)}function r(l,s,c){return t.format(l.charCodeAt(0),c.charCodeAt(s+1),t)}}function ko(e){let t=Fi.get(e);return t||(t=No(e),Fi.set(e,t)),t}function No(e){const t=[];let n=-1;for(;++n",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},Lo=["cent","copy","divide","gt","lt","not","para","times"],Bi={}.hasOwnProperty,ti={};let Pr;for(Pr in ei)Bi.call(ei,Pr)&&(ti[ei[Pr]]=Pr);const wo=/[^\dA-Za-z]/;function Mo(e,t,n,r){const l=String.fromCharCode(e);if(Bi.call(ti,l)){const s=ti[l],c="&"+s;return n&&Ro.includes(s)&&!Lo.includes(s)&&(!r||t&&t!==61&&wo.test(String.fromCharCode(t)))?c:c+";"}return""}function Po(e,t,n){let r=bo(e,t,n.omitOptionalSemicolons),l;if((n.useNamedReferences||n.useShortestReferences)&&(l=Mo(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!l)&&n.useShortestReferences){const s=xo(e,t,n.omitOptionalSemicolons);s.length"]}))+">":"|--!>|";function l(s){return q1(s,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function vo(e,t,n,r){return""}var Ui=I(64777);function n0(e){const t=[],n=String(e||"");let r=n.indexOf(","),l=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const c=n.slice(l,r).trim();(c||!s)&&t.push(c),l=r+1,r=n.indexOf(",",l)}return t}function Ho(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Fo=/^data[-\w.:]+$/i,zi=/-[a-z]/g,Bo=/[A-Z]/g;function Uo(e,t){const n=je(t);let r=t,l=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Fo.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(zi,Go);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!zi.test(s)){let c=s.replace(Bo,zo);c.charAt(0)!=="-"&&(c="-"+c),t="data"+c}}l=yt}return new l(r,t)}function zo(e){return"-"+e.toLowerCase()}function Go(e){return e.charAt(1).toUpperCase()}function r0(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ko(e){return e.join(" ").trim()}function ni(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}const vt=Ki(1),Gi=Ki(-1);function Ki(e){return t;function t(n,r,l){const s=n?n.children:[];let c=(r||0)+e,h=s&&s[c];if(!l)for(;h&&ni(h);)c+=e,h=s[c];return h}}const jo={}.hasOwnProperty;function ji(e){return t;function t(n,r,l){return jo.call(e,n.tagName)&&e[n.tagName](n,r,l)}}const ri=ji({html:Yo,head:ii,body:Wo,p:Vo,li:Qo,dt:Xo,dd:qo,rt:Yi,rp:Yi,optgroup:Zo,option:Jo,menuitem:$o,colgroup:ii,caption:ii,thead:es,tbody:ts,tfoot:ns,tr:rs,td:Wi,th:Wi});function ii(e,t,n){const r=vt(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ni(r.value.charAt(0)))}function Yo(e,t,n){const r=vt(n,t);return!r||r.type!=="comment"}function Wo(e,t,n){const r=vt(n,t);return!r||r.type!=="comment"}function Vo(e,t,n){const r=vt(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Qo(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Xo(e,t,n){const r=vt(n,t);return r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function qo(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Yi(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Zo(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Jo(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function $o(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="menuitem"||r.tagName==="hr"||r.tagName==="menu")}function es(e,t,n){const r=vt(n,t);return r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function ts(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function ns(e,t,n){return!vt(n,t)}function rs(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Wi(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const is=ji({html:ls,head:os,body:ss,colgroup:as,tbody:us});function ls(e){const t=vt(e,-1);return!t||t.type!=="comment"}function os(e){const t=e.children,n=[];let r=-1;for(;++r0}function ss(e){const t=vt(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ni(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function as(e,t,n){const r=Gi(n,t),l=vt(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ri(r,n.children.indexOf(r),n)?!1:l&&l.type==="element"&&l.tagName==="col"}function us(e,t,n){const r=Gi(n,t),l=vt(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ri(r,n.children.indexOf(r),n)?!1:l&&l.type==="element"&&l.tagName==="tr"}const Dr={name:[[` +\f\r &/=>`.split(""),` +\f\r "&'/=>\``.split("")],[`\0 +\f\r "&'/<=>`.split(""),`\0 +\f\r "&'/<=>\``.split("")]],unquoted:[[` +\f\r &>`.split(""),`\0 +\f\r "&'<=>\``.split("")],[`\0 +\f\r "&'<=>\``.split(""),`\0 +\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function cs(e,t,n,r){const l=r.schema,s=l.space==="svg"?!1:r.settings.omitOptionalTags;let c=l.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const h=[];let T;l.space==="html"&&e.tagName==="svg"&&(r.schema=Hi);const g=hs(r,e.properties),_=r.all(l.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=l,_&&(c=!1),(g||!s||!is(e,t,n))&&(h.push("<",e.tagName,g?" "+g:""),c&&(l.space==="svg"||r.settings.closeSelfClosing)&&(T=g.charAt(g.length-1),(!r.settings.tightSelfClosing||T==="/"||T&&T!=='"'&&T!=="'")&&h.push(" "),h.push("/")),h.push(">")),h.push(_),!c&&(!s||!ri(e,t,n))&&h.push(""),h.join("")}function hs(e,t){const n=[];let r=-1,l;if(t){for(l in t)if(t[l]!==void 0&&t[l]!==null){const s=fs(e,l,t[l]);s&&n.push(s)}}for(;++r(0,Ui.w)(n,e.alternative)&&(c=e.alternative),h=c+q1(n,Object.assign({},e.settings.characterReferences,{subset:(c==="'"?Dr.single:Dr.double)[l][s],attribute:!0}))+c),T+(h&&"="+h))}function Vi(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:q1(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function ds(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Vi(e,t,n,r)}function ms(e,t,n,r){return r.all(e)}const ps=y1("type",{invalid:gs,unknown:Ts,handlers:{comment:Do,doctype:vo,element:cs,raw:ds,root:ms,text:Vi}});function gs(e){throw new Error("Expected node, not `"+e+"`")}function Ts(e){throw new Error("Cannot compile unknown node `"+e.type+"`")}function Es(e,t){const n=t||{},r=n.quote||'"',l=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:_s,all:As,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||V1,characterReferences:n.characterReferences||n.entities||{},closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Hi:Eo,quote:r,alternative:l}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function _s(e,t,n){return ps(e,t,n,this)}function As(e){const t=[],n=e&&e.children||[];let r=-1;for(;++rc))return;const q=t.events.length;let me=q,Be,Le;for(;me--;)if(t.events[me][0]==="exit"&&t.events[me][1].type==="chunkFlow"){if(Be){Le=t.events[me][1].end;break}Be=!0}for(K(r),j=q;jne;){const Te=n[ke];t.containerState=Te[1],Te[0].exit.call(t,e)}n.length=ne}function re(){l.write([null]),s=void 0,l=void 0,t.containerState._closeFlow=void 0}}function Rs(e,t,n){return(0,pt.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var vr=I(23402);function Zi(e){const t={};let n=-1,r,l,s,c,h,T,g;for(;++n=4?t(c):e.interrupt(r.parser.constructs.flow,n,t)(c)}}const Hs={tokenize:Fs};function Fs(e){const t=this,n=e.attempt(vr.w,r,e.attempt(this.parser.constructs.flowInitial,l,(0,pt.f)(e,e.attempt(this.parser.constructs.flow,l,e.attempt(ws,l)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function l(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Bs={resolveAll:$i()},Us=Ji("string"),zs=Ji("text");function Ji(e){return{tokenize:t,resolveAll:$i(e==="text"?Gs:void 0)};function t(n){const r=this,l=this.parser.constructs[e],s=n.attempt(l,c,h);return c;function c(_){return g(_)?s(_):h(_)}function h(_){if(_===null){n.consume(_);return}return n.enter("data"),n.consume(_),T}function T(_){return g(_)?(n.exit("data"),s(_)):(n.consume(_),T)}function g(_){if(_===null)return!0;const C=l[_];let L=-1;if(C)for(;++L-1){const h=c[0];typeof h=="string"?c[0]=h.slice(r):c.shift()}s>0&&c.push(e[l].slice(0,s))}return c}function Ys(e,t){let n=-1;const r=[];let l;for(;++n=3&&(g===null||(0,ee.Ch)(g))?(e.exit("thematicBreak"),t(g)):n(g)}function T(g){return g===l?(e.consume(g),r++,T):(e.exit("thematicBreakSequence"),(0,ee.xz)(g)?(0,pt.f)(e,h,"whitespace")(g):h(g))}}const gn={name:"list",tokenize:Xs,continuation:{tokenize:qs},exit:Js},Vs={tokenize:$s,partial:!0},Qs={tokenize:Zs,partial:!0};function Xs(e,t,n){const r=this,l=r.events[r.events.length-1];let s=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0;return h;function h(O){const X=r.containerState.type||(O===42||O===43||O===45?"listUnordered":"listOrdered");if(X==="listUnordered"?!r.containerState.marker||O===r.containerState.marker:(0,ee.pY)(O)){if(r.containerState.type||(r.containerState.type=X,e.enter(X,{_container:!0})),X==="listUnordered")return e.enter("listItemPrefix"),O===42||O===45?e.check(Hr,n,g)(O):g(O);if(!r.interrupt||O===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),T(O)}return n(O)}function T(O){return(0,ee.pY)(O)&&++c<10?(e.consume(O),T):(!r.interrupt||c<2)&&(r.containerState.marker?O===r.containerState.marker:O===41||O===46)?(e.exit("listItemValue"),g(O)):n(O)}function g(O){return e.enter("listItemMarker"),e.consume(O),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||O,e.check(vr.w,r.interrupt?n:_,e.attempt(Vs,L,C))}function _(O){return r.containerState.initialBlankLine=!0,s++,L(O)}function C(O){return(0,ee.xz)(O)?(e.enter("listItemPrefixWhitespace"),e.consume(O),e.exit("listItemPrefixWhitespace"),L):n(O)}function L(O){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(O)}}function qs(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vr.w,l,s);function l(h){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,pt.f)(e,t,"listItemIndent",r.containerState.size+1)(h)}function s(h){return r.containerState.furtherBlankLines||!(0,ee.xz)(h)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,c(h)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Qs,t,c)(h))}function c(h){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,pt.f)(e,e.attempt(gn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function Zs(e,t,n){const r=this;return(0,pt.f)(e,l,"listItemIndent",r.containerState.size+1);function l(s){const c=r.events[r.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===r.containerState.size?t(s):n(s)}}function Js(e){e.exit(this.containerState.type)}function $s(e,t,n){const r=this;return(0,pt.f)(e,l,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function l(s){const c=r.events[r.events.length-1];return!(0,ee.xz)(s)&&c&&c[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const el={name:"blockQuote",tokenize:ea,continuation:{tokenize:ta},exit:na};function ea(e,t,n){const r=this;return l;function l(c){if(c===62){const h=r.containerState;return h.open||(e.enter("blockQuote",{_container:!0}),h.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),s}return n(c)}function s(c){return(0,ee.xz)(c)?(e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(c))}}function ta(e,t,n){const r=this;return l;function l(c){return(0,ee.xz)(c)?(0,pt.f)(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):s(c)}function s(c){return e.attempt(el,t,n)(c)}}function na(e){e.exit("blockQuote")}function tl(e,t,n,r,l,s,c,h,T){const g=T||Number.POSITIVE_INFINITY;let _=0;return C;function C(K){return K===60?(e.enter(r),e.enter(l),e.enter(s),e.consume(K),e.exit(s),L):K===null||K===32||K===41||(0,ee.Av)(K)?n(K):(e.enter(r),e.enter(c),e.enter(h),e.enter("chunkString",{contentType:"string"}),te(K))}function L(K){return K===62?(e.enter(s),e.consume(K),e.exit(s),e.exit(l),e.exit(r),t):(e.enter(h),e.enter("chunkString",{contentType:"string"}),O(K))}function O(K){return K===62?(e.exit("chunkString"),e.exit(h),L(K)):K===null||K===60||(0,ee.Ch)(K)?n(K):(e.consume(K),K===92?X:O)}function X(K){return K===60||K===62||K===92?(e.consume(K),O):O(K)}function te(K){return!_&&(K===null||K===41||(0,ee.z3)(K))?(e.exit("chunkString"),e.exit(h),e.exit(c),e.exit(r),t(K)):_999||O===null||O===91||O===93&&!T||O===94&&!h&&"_hiddenFootnoteSupport"in c.parser.constructs?n(O):O===93?(e.exit(s),e.enter(l),e.consume(O),e.exit(l),e.exit(r),t):(0,ee.Ch)(O)?(e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),_):(e.enter("chunkString",{contentType:"string"}),C(O))}function C(O){return O===null||O===91||O===93||(0,ee.Ch)(O)||h++>999?(e.exit("chunkString"),_(O)):(e.consume(O),T||(T=!(0,ee.xz)(O)),O===92?L:C)}function L(O){return O===91||O===92||O===93?(e.consume(O),h++,C):C(O)}}function rl(e,t,n,r,l,s){let c;return h;function h(L){return L===34||L===39||L===40?(e.enter(r),e.enter(l),e.consume(L),e.exit(l),c=L===40?41:L,T):n(L)}function T(L){return L===c?(e.enter(l),e.consume(L),e.exit(l),e.exit(r),t):(e.enter(s),g(L))}function g(L){return L===c?(e.exit(s),T(c)):L===null?n(L):(0,ee.Ch)(L)?(e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),(0,pt.f)(e,g,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),_(L))}function _(L){return L===c||L===null||(0,ee.Ch)(L)?(e.exit("chunkString"),g(L)):(e.consume(L),L===92?C:_)}function C(L){return L===c||L===92?(e.consume(L),_):_(L)}}function Er(e,t){let n;return r;function r(l){return(0,ee.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r):(0,ee.xz)(l)?(0,pt.f)(e,r,n?"linePrefix":"lineSuffix")(l):t(l)}}var Z1=I(11098);const ra={name:"definition",tokenize:la},ia={tokenize:oa,partial:!0};function la(e,t,n){const r=this;let l;return s;function s(O){return e.enter("definition"),c(O)}function c(O){return nl.call(r,e,h,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(O)}function h(O){return l=(0,Z1.d)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),O===58?(e.enter("definitionMarker"),e.consume(O),e.exit("definitionMarker"),T):n(O)}function T(O){return(0,ee.z3)(O)?Er(e,g)(O):g(O)}function g(O){return tl(e,_,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(O)}function _(O){return e.attempt(ia,C,C)(O)}function C(O){return(0,ee.xz)(O)?(0,pt.f)(e,L,"whitespace")(O):L(O)}function L(O){return O===null||(0,ee.Ch)(O)?(e.exit("definition"),r.parser.defined.push(l),t(O)):n(O)}}function oa(e,t,n){return r;function r(h){return(0,ee.z3)(h)?Er(e,l)(h):n(h)}function l(h){return rl(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function s(h){return(0,ee.xz)(h)?(0,pt.f)(e,c,"whitespace")(h):c(h)}function c(h){return h===null||(0,ee.Ch)(h)?t(h):n(h)}}const oi={name:"codeIndented",tokenize:aa},sa={tokenize:ua,partial:!0};function aa(e,t,n){const r=this;return l;function l(g){return e.enter("codeIndented"),(0,pt.f)(e,s,"linePrefix",4+1)(g)}function s(g){const _=r.events[r.events.length-1];return _&&_[1].type==="linePrefix"&&_[2].sliceSerialize(_[1],!0).length>=4?c(g):n(g)}function c(g){return g===null?T(g):(0,ee.Ch)(g)?e.attempt(sa,c,T)(g):(e.enter("codeFlowValue"),h(g))}function h(g){return g===null||(0,ee.Ch)(g)?(e.exit("codeFlowValue"),c(g)):(e.consume(g),h)}function T(g){return e.exit("codeIndented"),t(g)}}function ua(e,t,n){const r=this;return l;function l(c){return r.parser.lazy[r.now().line]?n(c):(0,ee.Ch)(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l):(0,pt.f)(e,s,"linePrefix",4+1)(c)}function s(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?t(c):(0,ee.Ch)(c)?l(c):n(c)}}const ca={name:"headingAtx",tokenize:fa,resolve:ha};function ha(e,t){let n=e.length-2,r=3,l,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(l={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},(0,Ht.d)(e,r,n-r+1,[["enter",l,t],["enter",s,t],["exit",s,t],["exit",l,t]])),e}function fa(e,t,n){let r=0;return l;function l(_){return e.enter("atxHeading"),s(_)}function s(_){return e.enter("atxHeadingSequence"),c(_)}function c(_){return _===35&&r++<6?(e.consume(_),c):_===null||(0,ee.z3)(_)?(e.exit("atxHeadingSequence"),h(_)):n(_)}function h(_){return _===35?(e.enter("atxHeadingSequence"),T(_)):_===null||(0,ee.Ch)(_)?(e.exit("atxHeading"),t(_)):(0,ee.xz)(_)?(0,pt.f)(e,h,"whitespace")(_):(e.enter("atxHeadingText"),g(_))}function T(_){return _===35?(e.consume(_),T):(e.exit("atxHeadingSequence"),h(_))}function g(_){return _===null||_===35||(0,ee.z3)(_)?(e.exit("atxHeadingText"),h(_)):(e.consume(_),g)}}const il={name:"setextUnderline",tokenize:ma,resolveTo:da};function da(e,t){let n=e.length,r,l,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(l=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const c={type:"setextHeading",start:Object.assign({},e[l][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[l][1].type="setextHeadingText",s?(e.splice(l,0,["enter",c,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=c,e.push(["exit",c,t]),e}function ma(e,t,n){const r=this;let l;return s;function s(g){let _=r.events.length,C;for(;_--;)if(r.events[_][1].type!=="lineEnding"&&r.events[_][1].type!=="linePrefix"&&r.events[_][1].type!=="content"){C=r.events[_][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||C)?(e.enter("setextHeadingLine"),l=g,c(g)):n(g)}function c(g){return e.enter("setextHeadingLineSequence"),h(g)}function h(g){return g===l?(e.consume(g),h):(e.exit("setextHeadingLineSequence"),(0,ee.xz)(g)?(0,pt.f)(e,T,"lineSuffix")(g):T(g))}function T(g){return g===null||(0,ee.Ch)(g)?(e.exit("setextHeadingLine"),t(g)):n(g)}}const pa=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ll=["pre","script","style","textarea"],ga={name:"htmlFlow",tokenize:Aa,resolveTo:_a,concrete:!0},Ta={tokenize:Sa,partial:!0},Ea={tokenize:Ca,partial:!0};function _a(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Aa(e,t,n){const r=this;let l,s,c,h,T;return g;function g(P){return _(P)}function _(P){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(P),C}function C(P){return P===33?(e.consume(P),L):P===47?(e.consume(P),s=!0,te):P===63?(e.consume(P),l=3,r.interrupt?t:M):(0,ee.jv)(P)?(e.consume(P),c=String.fromCharCode(P),$):n(P)}function L(P){return P===45?(e.consume(P),l=2,O):P===91?(e.consume(P),l=5,h=0,X):(0,ee.jv)(P)?(e.consume(P),l=4,r.interrupt?t:M):n(P)}function O(P){return P===45?(e.consume(P),r.interrupt?t:M):n(P)}function X(P){const at="CDATA[";return P===at.charCodeAt(h++)?(e.consume(P),h===at.length?r.interrupt?t:de:X):n(P)}function te(P){return(0,ee.jv)(P)?(e.consume(P),c=String.fromCharCode(P),$):n(P)}function $(P){if(P===null||P===47||P===62||(0,ee.z3)(P)){const at=P===47,In=c.toLowerCase();return!at&&!s&&ll.includes(In)?(l=1,r.interrupt?t(P):de(P)):pa.includes(c.toLowerCase())?(l=6,at?(e.consume(P),K):r.interrupt?t(P):de(P)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(P):s?re(P):ne(P))}return P===45||(0,ee.H$)(P)?(e.consume(P),c+=String.fromCharCode(P),$):n(P)}function K(P){return P===62?(e.consume(P),r.interrupt?t:de):n(P)}function re(P){return(0,ee.xz)(P)?(e.consume(P),re):Le(P)}function ne(P){return P===47?(e.consume(P),Le):P===58||P===95||(0,ee.jv)(P)?(e.consume(P),ke):(0,ee.xz)(P)?(e.consume(P),ne):Le(P)}function ke(P){return P===45||P===46||P===58||P===95||(0,ee.H$)(P)?(e.consume(P),ke):Te(P)}function Te(P){return P===61?(e.consume(P),j):(0,ee.xz)(P)?(e.consume(P),Te):ne(P)}function j(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),T=P,q):(0,ee.xz)(P)?(e.consume(P),j):me(P)}function q(P){return P===T?(e.consume(P),T=null,Be):P===null||(0,ee.Ch)(P)?n(P):(e.consume(P),q)}function me(P){return P===null||P===34||P===39||P===47||P===60||P===61||P===62||P===96||(0,ee.z3)(P)?Te(P):(e.consume(P),me)}function Be(P){return P===47||P===62||(0,ee.xz)(P)?ne(P):n(P)}function Le(P){return P===62?(e.consume(P),et):n(P)}function et(P){return P===null||(0,ee.Ch)(P)?de(P):(0,ee.xz)(P)?(e.consume(P),et):n(P)}function de(P){return P===45&&l===2?(e.consume(P),$e):P===60&&l===1?(e.consume(P),rt):P===62&&l===4?(e.consume(P),wt):P===63&&l===3?(e.consume(P),M):P===93&&l===5?(e.consume(P),Et):(0,ee.Ch)(P)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(Ta,kt,fe)(P)):P===null||(0,ee.Ch)(P)?(e.exit("htmlFlowData"),fe(P)):(e.consume(P),de)}function fe(P){return e.check(Ea,Me,kt)(P)}function Me(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),Oe}function Oe(P){return P===null||(0,ee.Ch)(P)?fe(P):(e.enter("htmlFlowData"),de(P))}function $e(P){return P===45?(e.consume(P),M):de(P)}function rt(P){return P===47?(e.consume(P),c="",Tt):de(P)}function Tt(P){if(P===62){const at=c.toLowerCase();return ll.includes(at)?(e.consume(P),wt):de(P)}return(0,ee.jv)(P)&&c.length<8?(e.consume(P),c+=String.fromCharCode(P),Tt):de(P)}function Et(P){return P===93?(e.consume(P),M):de(P)}function M(P){return P===62?(e.consume(P),wt):P===45&&l===2?(e.consume(P),M):de(P)}function wt(P){return P===null||(0,ee.Ch)(P)?(e.exit("htmlFlowData"),kt(P)):(e.consume(P),wt)}function kt(P){return e.exit("htmlFlow"),t(P)}}function Ca(e,t,n){const r=this;return l;function l(c){return(0,ee.Ch)(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):n(c)}function s(c){return r.parser.lazy[r.now().line]?n(c):t(c)}}function Sa(e,t,n){return r;function r(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(vr.w,t,n)}}const ol={tokenize:ka,partial:!0},sl={name:"codeFenced",tokenize:ya,concrete:!0};function ya(e,t,n){const r=this,l={tokenize:Te,partial:!0};let s=0,c=0,h;return T;function T(j){return g(j)}function g(j){const q=r.events[r.events.length-1];return s=q&&q[1].type==="linePrefix"?q[2].sliceSerialize(q[1],!0).length:0,h=j,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),_(j)}function _(j){return j===h?(c++,e.consume(j),_):c<3?n(j):(e.exit("codeFencedFenceSequence"),(0,ee.xz)(j)?(0,pt.f)(e,C,"whitespace")(j):C(j))}function C(j){return j===null||(0,ee.Ch)(j)?(e.exit("codeFencedFence"),r.interrupt?t(j):e.check(ol,te,ke)(j)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),L(j))}function L(j){return j===null||(0,ee.Ch)(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),C(j)):(0,ee.xz)(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,pt.f)(e,O,"whitespace")(j)):j===96&&j===h?n(j):(e.consume(j),L)}function O(j){return j===null||(0,ee.Ch)(j)?C(j):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),X(j))}function X(j){return j===null||(0,ee.Ch)(j)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),C(j)):j===96&&j===h?n(j):(e.consume(j),X)}function te(j){return e.attempt(l,ke,$)(j)}function $(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),K}function K(j){return s>0&&(0,ee.xz)(j)?(0,pt.f)(e,re,"linePrefix",s+1)(j):re(j)}function re(j){return j===null||(0,ee.Ch)(j)?e.check(ol,te,ke)(j):(e.enter("codeFlowValue"),ne(j))}function ne(j){return j===null||(0,ee.Ch)(j)?(e.exit("codeFlowValue"),re(j)):(e.consume(j),ne)}function ke(j){return e.exit("codeFenced"),t(j)}function Te(j,q,me){let Be=0;return Le;function Le(Oe){return j.enter("lineEnding"),j.consume(Oe),j.exit("lineEnding"),et}function et(Oe){return j.enter("codeFencedFence"),(0,ee.xz)(Oe)?(0,pt.f)(j,de,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Oe):de(Oe)}function de(Oe){return Oe===h?(j.enter("codeFencedFenceSequence"),fe(Oe)):me(Oe)}function fe(Oe){return Oe===h?(Be++,j.consume(Oe),fe):Be>=c?(j.exit("codeFencedFenceSequence"),(0,ee.xz)(Oe)?(0,pt.f)(j,Me,"whitespace")(Oe):Me(Oe)):me(Oe)}function Me(Oe){return Oe===null||(0,ee.Ch)(Oe)?(j.exit("codeFencedFence"),q(Oe)):me(Oe)}}}function ka(e,t,n){const r=this;return l;function l(c){return c===null?n(c):(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s)}function s(c){return r.parser.lazy[r.now().line]?n(c):t(c)}}var al=I(44301);const ul={name:"characterReference",tokenize:Na};function Na(e,t,n){const r=this;let l=0,s,c;return h;function h(C){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(C),e.exit("characterReferenceMarker"),T}function T(C){return C===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(C),e.exit("characterReferenceMarkerNumeric"),g):(e.enter("characterReferenceValue"),s=31,c=ee.H$,_(C))}function g(C){return C===88||C===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(C),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,c=ee.AF,_):(e.enter("characterReferenceValue"),s=7,c=ee.pY,_(C))}function _(C){if(C===59&&l){const L=e.exit("characterReferenceValue");return c===ee.H$&&!(0,al.T)(r.sliceSerialize(L))?n(C):(e.enter("characterReferenceMarker"),e.consume(C),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return c(C)&&l++1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const C=Object.assign({},e[r][1].end),L=Object.assign({},e[n][1].start);fl(C,-T),fl(L,T),c={type:T>1?"strongSequence":"emphasisSequence",start:C,end:Object.assign({},e[r][1].end)},h={type:T>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:L},s={type:T>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},l={type:T>1?"strong":"emphasis",start:Object.assign({},c.start),end:Object.assign({},h.end)},e[r][1].end=Object.assign({},c.start),e[n][1].start=Object.assign({},h.end),g=[],e[r][1].end.offset-e[r][1].start.offset&&(g=(0,Ht.V)(g,[["enter",e[r][1],t],["exit",e[r][1],t]])),g=(0,Ht.V)(g,[["enter",l,t],["enter",c,t],["exit",c,t],["enter",s,t]]),g=(0,Ht.V)(g,(0,li.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),g=(0,Ht.V)(g,[["exit",s,t],["enter",h,t],["exit",h,t],["exit",l,t]]),e[n][1].end.offset-e[n][1].start.offset?(_=2,g=(0,Ht.V)(g,[["enter",e[n][1],t],["exit",e[n][1],t]])):_=0,(0,Ht.d)(e,r-1,n-r+3,g),n=r+g.length-_-2;break}}for(n=-1;++n0){const Tn=Pe.tokenStack[Pe.tokenStack.length-1];(Tn[1]||El).call(Pe,void 0,Tn[0])}for(ue.position={start:N1(Z.length>0?Z[0][1].start:{line:1,column:1,offset:0}),end:N1(Z.length>0?Z[Z.length-2][1].end:{line:1,column:1,offset:0})},lt=-1;++lt{const r=this.data("settings");return du(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function i0(e,t){const n=encode(F1(e||""));if(!t)return n;const r=n.indexOf(":"),l=n.indexOf("?"),s=n.indexOf("#"),c=n.indexOf("/");return r<0||c>-1&&r>c||l>-1&&r>l||s>-1&&r>s||t.test(n.slice(0,r))?n:""}function F1(e){const t=[];let n=-1,r=0,l=0;for(;++n55295&&s<57344){const h=e.charCodeAt(n+1);s<56320&&h>56319&&h<57344?(c=String.fromCharCode(s,h),l=1):c="\uFFFD"}else c=String.fromCharCode(s);c&&(t.push(e.slice(r,n),encodeURIComponent(c)),r=n+l+1,c=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function Tu(e){const t=[];let n=-1;for(;++n1?"-"+h:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};h>1&&C.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(h)}]}),T.length>0&&T.push({type:"text",value:" "}),T.push(C)}const g=l[l.length-1];if(g&&g.type==="element"&&g.tagName==="p"){const C=g.children[g.children.length-1];C&&C.type==="text"?C.value+=" ":g.children.push({type:"text",value:" "}),g.children.push(...T)}else l.push(...T);const _={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+c},children:e.wrap(l,!0)};e.patch(r,_),t.push(_)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:l1(ut({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` +`}]}}function Eu(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const _l={}.hasOwnProperty;function _u(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return ce(e,"definition",r=>{const l=Al(r.identifier);l&&!_l.call(t,l)&&(t[l]=r)}),n;function n(r){const l=Al(r);return l&&_l.call(t,l)?t[l]:null}}function Al(e){return String(e||"").toUpperCase()}function Au(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Cu(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`}]}function Su(e,t){const n=t.value?t.value+` +`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,l={};r&&(l.className=["language-"+r]);let s={type:"element",tagName:"code",properties:l,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function yu(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ku(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Cl(e,t){const n=String(t.identifier).toUpperCase(),r=F1(n.toLowerCase()),l=e.footnoteOrder.indexOf(n);let s;l===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,s=e.footnoteOrder.length):(e.footnoteCounts[n]++,s=l+1);const c=e.footnoteCounts[n],h={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,h);const T={type:"element",tagName:"sup",properties:{},children:[h]};return e.patch(t,T),e.applyData(t,T)}function Nu(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const l=String(r);return n[l]={type:"footnoteDefinition",identifier:l,children:[{type:"paragraph",children:t.children}],position:t.position},Cl(e,{type:"footnoteReference",identifier:l,position:t.position})}function Ou(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function bu(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Sl(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const l=e.all(t),s=l[0];s&&s.type==="text"?s.value="["+s.value:l.unshift({type:"text",value:"["});const c=l[l.length-1];return c&&c.type==="text"?c.value+=r:l.push({type:"text",value:r}),l}function Iu(e,t){const n=e.definition(t.identifier);if(!n)return Sl(e,t);const r={src:F1(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const l={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,l),e.applyData(t,l)}function xu(e,t){const n={src:F1(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Ru(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Lu(e,t){const n=e.definition(t.identifier);if(!n)return Sl(e,t);const r={href:F1(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const l={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function wu(e,t){const n={href:F1(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Mu(e,t,n){const r=e.all(t),l=n?Pu(n):yl(t),s={},c=[];if(typeof t.checked=="boolean"){const _=r[0];let C;_&&_.type==="element"&&_.tagName==="p"?C=_:(C={type:"element",tagName:"p",properties:{},children:[]},r.unshift(C)),C.children.length>0&&C.children.unshift({type:"text",value:" "}),C.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let h=-1;for(;++h1:t}function Du(e,t){const n={},r=e.all(t);let l=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++l0){const c={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},h=k(t.children[1]),T=S(t.children[t.children.length-1]);h.line&&T.line&&(c.position={start:h,end:T}),l.push(c)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,s),e.applyData(t,s)}function Uu(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",c=n&&n.type==="table"?n.align:void 0,h=c?c.length:t.children.length;let T=-1;const g=[];for(;++T0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return s.push(Ol(t.slice(l),l>0,!1)),s.join("")}function Ol(e,t,n){let r=0,l=e.length;if(t){let s=e.codePointAt(r);for(;s===kl||s===Nl;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(l-1);for(;s===kl||s===Nl;)l--,s=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}function Ku(e,t){const n={type:"text",value:Gu(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ju(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Yu={blockquote:Au,break:Cu,code:Su,delete:yu,emphasis:ku,footnoteReference:Cl,footnote:Nu,heading:Ou,html:bu,imageReference:Iu,image:xu,inlineCode:Ru,linkReference:Lu,link:wu,listItem:Mu,list:Du,paragraph:vu,root:Hu,strong:Fu,table:Bu,tableCell:zu,tableRow:Uu,text:Ku,thematicBreak:ju,toml:Fr,yaml:Fr,definition:Fr,footnoteDefinition:Fr};function Fr(){return null}const Br={}.hasOwnProperty;function Wu(e,t){const n=t||{},r=n.allowDangerousHtml||!1,l={};return c.dangerous=r,c.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,c.footnoteLabel=n.footnoteLabel||"Footnotes",c.footnoteLabelTagName=n.footnoteLabelTagName||"h2",c.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},c.footnoteBackLabel=n.footnoteBackLabel||"Back to content",c.unknownHandler=n.unknownHandler,c.passThrough=n.passThrough,c.handlers=ut(ut({},Yu),n.handlers),c.definition=_u(e),c.footnoteById=l,c.footnoteOrder=[],c.footnoteCounts={},c.patch=Vu,c.applyData=Qu,c.one=h,c.all=T,c.wrap=qu,c.augment=s,ce(e,"footnoteDefinition",g=>{const _=String(g.identifier).toUpperCase();Br.call(l,_)||(l[_]=g)}),c;function s(g,_){if(g&&"data"in g&&g.data){const C=g.data;C.hName&&(_.type!=="element"&&(_={type:"element",tagName:"",properties:{},children:[]}),_.tagName=C.hName),_.type==="element"&&C.hProperties&&(_.properties=ut(ut({},_.properties),C.hProperties)),"children"in _&&_.children&&C.hChildren&&(_.children=C.hChildren)}if(g){const C="type"in g?g:{position:g};Eu(C)||(_.position={start:k(C),end:S(C)})}return _}function c(g,_,C,L){return Array.isArray(C)&&(L=C,C={}),s(g,{type:"element",tagName:_,properties:C||{},children:L||[]})}function h(g,_){return bl(c,g,_)}function T(g){return hi(c,g)}}function Vu(e,t){e.position&&(t.position=R(e))}function Qu(e,t){let n=t;if(e&&e.data){const r=e.data.hName,l=e.data.hChildren,s=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&s&&(n.properties=ut(ut({},n.properties),s)),"children"in n&&n.children&&l!==null&&l!==void 0&&(n.children=l)}return n}function bl(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Br.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?l1(ut({},t),{children:hi(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):Xu(e,t)}function hi(e,t){const n=[];if("children"in t){const r=t.children;let l=-1;for(;++l0&&n.push({type:"text",value:` +`}),n}function Il(e,t){const n=Wu(e,t),r=n.one(e,null),l=Tu(n);return l&&r.children.push({type:"text",value:` +`},l),Array.isArray(r)?{type:"root",children:r}:r}var Zu=function(e,t){return e&&"run"in e?Ju(e,t):$u(e||t)};function Ju(e,t){return(n,r,l)=>{e.run(Il(n,t),r,s=>{l(s)})}}function $u(e){return t=>Il(t,e)}function xl(e){if(e)throw e}var Rl=I(48738),Ll=I(94470);function fi(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ec(){const e=[],t={run:n,use:r};return t;function n(...l){let s=-1;const c=l.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);h(null,...l);function h(T,...g){const _=e[++s];let C=-1;if(T){c(T);return}for(;++Cc.length;let T;h&&c.push(l);try{T=e.apply(this,c)}catch(g){const _=g;if(h&&n)throw _;return l(_)}h||(T&&T.then&&typeof T.then=="function"?T.then(s,l):T instanceof Error?l(T):s(T))}function l(c,...h){n||(n=!0,t(c,...h))}function s(c){l(null,c)}}class vn extends Error{constructor(t,n,r){const l=[null,null];let s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const c=r.indexOf(":");c===-1?l[1]=r:(l[0]=r.slice(0,c),l[1]=r.slice(c+1))}n&&("type"in n||"position"in n?n.position&&(s=n.position):"start"in n||"end"in n?s=n:("line"in n||"column"in n)&&(s.start=n)),this.name=_r(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.position=s,this.source=l[0],this.ruleId=l[1],this.file,this.actual,this.expected,this.url,this.note}}vn.prototype.file="",vn.prototype.name="",vn.prototype.reason="",vn.prototype.message="",vn.prototype.stack="",vn.prototype.fatal=null,vn.prototype.column=null,vn.prototype.line=null,vn.prototype.source=null,vn.prototype.ruleId=null,vn.prototype.position=null;const r1={basename:nc,dirname:rc,extname:ic,join:lc,sep:"/"};function nc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ar(e);let n=0,r=-1,l=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;l--;)if(e.charCodeAt(l)===47){if(s){n=l+1;break}}else r<0&&(s=!0,r=l+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let c=-1,h=t.length-1;for(;l--;)if(e.charCodeAt(l)===47){if(s){n=l+1;break}}else c<0&&(s=!0,c=l+1),h>-1&&(e.charCodeAt(l)===t.charCodeAt(h--)?h<0&&(r=l):(h=-1,r=c));return n===r?r=c:r<0&&(r=e.length),e.slice(n,r)}function rc(e){if(Ar(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function ic(e){Ar(e);let t=e.length,n=-1,r=0,l=-1,s=0,c;for(;t--;){const h=e.charCodeAt(t);if(h===47){if(c){r=t+1;break}continue}n<0&&(c=!0,n=t+1),h===46?l<0?l=t:s!==1&&(s=1):l>-1&&(s=-1)}return l<0||n<0||s===0||s===1&&l===n-1&&l===r+1?"":e.slice(l,n)}function lc(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function sc(e,t){let n="",r=0,l=-1,s=0,c=-1,h,T;for(;++c<=e.length;){if(c2){if(T=n.lastIndexOf("/"),T!==n.length-1){T<0?(n="",r=0):(n=n.slice(0,T),r=n.length-1-n.lastIndexOf("/")),l=c,s=0;continue}}else if(n.length>0){n="",r=0,l=c,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(l+1,c):n=e.slice(l+1,c),r=c-l-1;l=c,s=0}else h===46&&s>-1?s++:s=-1}return n}function Ar(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const ac={cwd:uc};function uc(){return"/"}function di(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function cc(e){if(typeof e=="string")e=new URL(e);else if(!di(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return hc(e)}function hc(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n{if(j||!q||!me)Te(j);else{const Be=s.stringify(q,me);Be==null||(Tc(Be)?me.value=Be:me.result=Be),Te(j,me)}});function Te(j,q){j||!q?ne(j):re?re(q):$(null,q)}}}function X(te){let $;s.freeze(),Ti("processSync",s.Parser),Ei("processSync",s.Compiler);const K=Cr(te);return s.process(K,re),Hl("processSync","process",$),K;function re(ne){$=!0,xl(ne)}}}function Dl(e,t){return typeof e=="function"&&e.prototype&&(pc(e.prototype)||t in e.prototype)}function pc(e){let t;for(t in e)if(Ml.call(e,t))return!0;return!1}function Ti(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Ei(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function _i(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function vl(e){if(!fi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Hl(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Cr(e){return gc(e)?e:new fc(e)}function gc(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Tc(e){return typeof e=="string"||Rl(e)}const o0="";function On(){}function Fl(e){return e()}function Bl(){return Object.create(null)}function i1(e){e.forEach(Fl)}function Ul(e){return typeof e=="function"}function zl(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Ur(e,t){return e!=e?t==t:e!==t}function Ec(e){return Object.keys(e).length===0}function Fe(e,t){e.appendChild(t)}function Ft(e,t,n){e.insertBefore(t,n||null)}function Lt(e){e.parentNode&&e.parentNode.removeChild(e)}function Sr(e,t){for(let n=0;ne.removeEventListener(t,n,r)}function J1(e){return function(t){t.target===this&&e.call(this,t)}}function qe(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _c(e){return Array.from(e.childNodes)}function en(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function Ut(e,t,n){e.classList[n?"add":"remove"](t)}function Ac(e,t,{bubbles:n=!1,cancelable:r=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(e,n,r,t),l}let kr;function Nr(e){kr=e}function zr(){if(!kr)throw new Error("Function called outside component initialization");return kr}function Ai(e){zr().$$.on_mount.push(e)}function Cc(e){zr().$$.after_update.push(e)}function Gl(e){zr().$$.on_destroy.push(e)}function Or(){const e=zr();return(t,n,{cancelable:r=!1}={})=>{const l=e.$$.callbacks[t];if(l){const s=Ac(t,n,{cancelable:r});return l.slice().forEach(c=>{c.call(e,s)}),!s.defaultPrevented}return!0}}const $1=null,B1=null;let er=null;const Kl=null,jl=null;let Ci=!1;function Yl(){Ci||(Ci=!0,jl.then(Wl))}function Gr(){return Yl(),jl}function Si(e){er.push(e)}const yi=new Set;let tr=0;function Wl(){if(tr!==0)return;const e=kr;do{try{for(;tr<$1.length;){const t=$1[tr];tr++,Nr(t),Sc(t.$$)}}catch(t){throw $1.length=0,tr=0,t}for(Nr(null),$1.length=0,tr=0;B1.length;)B1.pop()();for(let t=0;te.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),er=t}const Kr=new Set;let U1;function kc(){U1={r:0,c:[],p:U1}}function Nc(){U1.r||i1(U1.c),U1=U1.p}function m1(e,t){e&&e.i&&(Kr.delete(e),e.i(t))}function z1(e,t,n,r){if(e&&e.o){if(Kr.has(e))return;Kr.add(e),U1.c.push(()=>{Kr.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function br(e){e&&e.c()}function nr(e,t,n,r){const{fragment:l,after_update:s}=e.$$;l&&l.m(t,n),r||Si(()=>{const c=e.$$.on_mount.map(Fl).filter(Ul);e.$$.on_destroy?e.$$.on_destroy.push(...c):i1(c),e.$$.on_mount=[]}),s.forEach(Si)}function rr(e,t){const n=e.$$;n.fragment!==null&&(yc(n.after_update),i1(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Oc(e,t){e.$$.dirty[0]===-1&&($1.push(e),Yl(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const X=O.length?O[0]:L;return g.ctx&&l(g.ctx[C],g.ctx[C]=X)&&(!g.skip_bound&&g.bound[C]&&g.bound[C](X),_&&Oc(e,C)),L}):[],g.update(),_=!0,i1(g.before_update),g.fragment=r?r(g.ctx):!1,t.target){if(t.hydrate){const C=_c(t.target);g.fragment&&g.fragment.l(C),C.forEach(Lt)}else g.fragment&&g.fragment.c();t.intro&&m1(e.$$.fragment),nr(e,t.target,t.anchor,t.customElement),Wl()}Nr(T)}class s0{$destroy(){rr(this,1),this.$destroy=On}$on(t,n){if(!Ul(n))return On;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const l=r.indexOf(n);l!==-1&&r.splice(l,1)}}$set(t){this.$$set&&!Ec(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const bc={bold:"Bold",boldText:"bold text",cheatsheet:"Markdown Cheatsheet",closeHelp:"Close help",closeToc:"Close table of contents",code:"Code",codeBlock:"Code block",codeLang:"lang",codeText:"code",exitFullscreen:"Exit fullscreen",exitPreviewOnly:"Exit preview only",exitWriteOnly:"Exit write only",fullscreen:"Fullscreen",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",headingText:"heading",help:"Help",hr:"Horizontal rule",image:"Image",imageAlt:"alt",imageTitle:"title",italic:"Italic",italicText:"italic text",limited:"The maximum character limit has been reached",lines:"Lines",link:"Link",linkText:"link text",ol:"Ordered list",olItem:"item",preview:"Preview",previewOnly:"Preview only",quote:"Quote",quotedText:"quoted text",shortcuts:"Shortcuts",source:"Source code",sync:"Scroll sync",toc:"Table of contents",top:"Scroll to top",ul:"Unordered list",ulItem:"item",words:"Words",write:"Write",writeOnly:"Write only"},gt={Close:'',H:'',H1:'',H2:'',H3:'',LevelFourTitle:'',LevelFiveTitle:'',LevelSixTitle:'',TextBold:'',TextItalic:'',Quote:'',LinkOne:'',Pic:'',Code:'',CodeBrackets:'',ListTwo:'',OrderedList:'',DividingLine:'',AlignTextLeftOne:'',Helpcenter:'',LeftExpand:'',RightExpand:'',OffScreen:'',FullScreen:'',GithubOne:''};function Ic(){const e=factory();return usePlaceholder(e),useOverlay(e),useXml(e),useMarkdown(e),useGfm(e),useYaml(e),useYamlFrontmatter(e),useContinuelist(e),e}function xc(e,t){return{wrapText(n,r=n){const l=t.somethingSelected()?t.listSelections()[0]:t.findWordAt(t.getCursor()),s=l.from(),c=l.to(),h=t.getRange(s,c),T=e.Pos(s.line,s.ch-n.length),g=e.Pos(c.line,c.ch+r.length);if(t.getRange(T,s)===n&&t.getRange(c,g)===r)t.replaceRange(h,T,g),t.setSelection(T,e.Pos(T.line,T.ch+h.length));else{t.replaceRange(n+h+r,s,c);const _=t.getCursor();t.setSelection(e.Pos(_.line,_.ch-r.length-h.length),e.Pos(_.line,_.ch-r.length))}},replaceLines(n){const[r]=t.listSelections(),l=[e.Pos(r.from().line,0),e.Pos(r.to().line)],s=t.getRange(...l).split(` +`);t.replaceRange(s.map(n).join(` +`),...l),t.setSelection(...l)},appendBlock(n){const r=t.getCursor();let l=-1;for(let s=r.line;s{const n=t?"Shift-":"",r=typeof navigator!="undefined"&&/Mac/.test(navigator.platform)?"Cmd-":"Ctrl-";return n+r+e};function Vl(s,c,h){return R1(this,arguments,function*({editor:e,appendBlock:t,codemirror:n},r,l){const T=yield r(l),g=t(T.map(({url:_,alt:C,title:L},O)=>(C=C!=null?C:l[O].name,`![${C}](${_}${L?` "${L}"`:""})`)).join(` + +`));e.setSelection(g,n.Pos(g.line+T.length*2-2)),e.focus()})}function Rc(e,t,n){const r=[{icon:gt.H,handler:{type:"dropdown",actions:[1,2,3,4,5,6].map(c=>({title:e[`h${c}`],icon:[gt.H1,gt.H2,gt.H3,gt.LevelFourTitle,gt.LevelFiveTitle,gt.LevelSixTitle][c-1],cheatsheet:c<=3?`${"#".repeat(c)} ${e.headingText}`:void 0,handler:{type:"action",click({replaceLines:h,editor:T}){h(g=>(g=g.trim().replace(/^#*/,"").trim(),g="#".repeat(c)+" "+g,g)),T.focus()}}}))}},{title:e.bold,icon:gt.TextBold,cheatsheet:`**${e.boldText}**`,handler:{type:"action",shortcut:O1("B"),click({wrapText:c,editor:h}){c("**"),h.focus()}}},{title:e.italic,icon:gt.TextItalic,cheatsheet:`*${e.italicText}*`,handler:{type:"action",shortcut:O1("I"),click({wrapText:c,editor:h}){c("*"),h.focus()}}},{title:e.quote,icon:gt.Quote,cheatsheet:`> ${e.quotedText}`,handler:{type:"action",click({replaceLines:c,editor:h}){c(T=>"> "+T),h.focus()}}},{title:e.link,icon:gt.LinkOne,cheatsheet:`[${e.linkText}](url)`,handler:{type:"action",shortcut:O1("K"),click({editor:c,wrapText:h,codemirror:T}){h("[","](url)");const g=c.getCursor();c.setSelection(T.Pos(g.line,g.ch+2),T.Pos(g.line,g.ch+5)),c.focus()}}},{title:e.image,icon:gt.Pic,cheatsheet:`![${e.imageAlt}](url "${e.imageTitle}")`,handler:n?{type:"action",shortcut:O1("I",!0),click(c){return R1(this,null,function*(){const h=yield selectFiles({accept:"image/*",multiple:!0});h!=null&&h.length&&(yield Vl(c,n,Array.from(h)))})}}:void 0},{title:e.code,icon:gt.Code,cheatsheet:"`"+e.codeText+"`",handler:{type:"action",shortcut:O1("K",!0),click({wrapText:c,editor:h}){c("`"),h.focus()}}},{title:e.codeBlock,icon:gt.CodeBrackets,cheatsheet:"```"+e.codeLang+"\u21B5",handler:{type:"action",shortcut:O1("C",!0),click({editor:c,appendBlock:h,codemirror:T}){const g=h("```js\n```");c.setSelection(T.Pos(g.line,3),T.Pos(g.line,5)),c.focus()}}},{title:e.ul,icon:gt.ListTwo,cheatsheet:`- ${e.ulItem}`,handler:{type:"action",shortcut:O1("U",!0),click({replaceLines:c,editor:h}){c(T=>"- "+T),h.focus()}}},{title:e.ol,icon:gt.OrderedList,cheatsheet:`1. ${e.olItem}`,handler:{type:"action",shortcut:O1("O",!0),click({replaceLines:c,editor:h}){c((T,g)=>`${g+1}. ${T}`),h.focus()}}},{title:e.hr,icon:gt.DividingLine,cheatsheet:"---"}],l=[];return t.forEach(({actions:c})=>{c&&c.forEach(h=>{!h.position||h.position!=="right"?r.push(h):l.unshift(h)})}),{leftActions:r,rightActions:l}}function Ql(e,t,n){const r=e.slice();return r[5]=t[n],r}function Xl(e,t,n){const r=e.slice();return r[5]=t[n],r}function ql(e){let t,n,r=e[5].icon+"",l,s=e[5].title+"",c,h,T,g=e[5].cheatsheet+"",_;return{c(){t=Ge("li"),n=Ge("div"),l=Ge("div"),c=Bt(s),h=Ge("div"),T=Ge("code"),_=Bt(g),qe(n,"class","bytemd-help-icon"),qe(l,"class","bytemd-help-title"),qe(h,"class","bytemd-help-content")},m(C,L){Ft(C,t,L),Fe(t,n),n.innerHTML=r,Fe(t,l),Fe(l,c),Fe(t,h),Fe(h,T),Fe(T,_)},p(C,L){L&4&&r!==(r=C[5].icon+"")&&(n.innerHTML=r),L&4&&s!==(s=C[5].title+"")&&en(c,s),L&4&&g!==(g=C[5].cheatsheet+"")&&en(_,g)},d(C){C&&Lt(t)}}}function Zl(e){let t,n=e[5].cheatsheet&&ql(e);return{c(){n&&n.c(),t=yr()},m(r,l){n&&n.m(r,l),Ft(r,t,l)},p(r,l){r[5].cheatsheet?n?n.p(r,l):(n=ql(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){n&&n.d(r),r&&Lt(t)}}}function Jl(e){let t,n,r=e[5].icon+"",l,s=e[5].title+"",c,h,T,g=e[5].handler.shortcut+"",_;return{c(){t=Ge("li"),n=Ge("div"),l=Ge("div"),c=Bt(s),h=Ge("div"),T=Ge("kbd"),_=Bt(g),qe(n,"class","bytemd-help-icon"),qe(l,"class","bytemd-help-title"),qe(h,"class","bytemd-help-content")},m(C,L){Ft(C,t,L),Fe(t,n),n.innerHTML=r,Fe(t,l),Fe(l,c),Fe(t,h),Fe(h,T),Fe(T,_)},p(C,L){L&4&&r!==(r=C[5].icon+"")&&(n.innerHTML=r),L&4&&s!==(s=C[5].title+"")&&en(c,s),L&4&&g!==(g=C[5].handler.shortcut+"")&&en(_,g)},d(C){C&&Lt(t)}}}function $l(e){let t,n=e[5].handler&&e[5].handler.type==="action"&&e[5].handler.shortcut&&Jl(e);return{c(){n&&n.c(),t=yr()},m(r,l){n&&n.m(r,l),Ft(r,t,l)},p(r,l){r[5].handler&&r[5].handler.type==="action"&&r[5].handler.shortcut?n?n.p(r,l):(n=Jl(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){n&&n.d(r),r&&Lt(t)}}}function Lc(e){let t,n,r=e[0].cheatsheet+"",l,s,c,h=e[0].shortcuts+"",T,g,_=e[2],C=[];for(let X=0;X<_.length;X+=1)C[X]=Zl(Xl(e,_,X));let L=e[2],O=[];for(let X=0;X{const{handler:C,cheatsheet:L}=_;(C==null?void 0:C.type)==="dropdown"&&g.push(...h(C.actions)),L&&g.push(_)}),g}return e.$$set=T=>{"actions"in T&&n(3,l=T.actions),"locale"in T&&n(0,s=T.locale),"visible"in T&&n(1,c=T.visible)},e.$$.update=()=>{e.$$.dirty&8&&n(2,r=h(l))},[s,c,r,l]}class Mc extends null{constructor(t){super(),ir(this,t,wc,Lc,zl,{actions:3,locale:0,visible:1})}}function eo(e){let t,n=e[2].limited+"",r;return{c(){t=Ge("span"),r=Bt(n),qe(t,"class","bytemd-status-error")},m(l,s){Ft(l,t,s),Fe(t,r)},p(l,s){s&4&&n!==(n=l[2].limited+"")&&en(r,n)},d(l){l&&Lt(t)}}}function to(e){let t,n,r=e[2].sync+"",l,s,c;return{c(){t=Ge("label"),n=Ge("input"),l=Bt(r),qe(n,"type","checkbox"),n.checked=e[1]},m(h,T){Ft(h,t,T),Fe(t,n),Fe(t,l),s||(c=bn(n,"change",e[8]),s=!0)},p(h,T){T&2&&(n.checked=h[1]),T&4&&r!==(r=h[2].sync+"")&&en(l,r)},d(h){h&&Lt(t),s=!1,c()}}}function Pc(e){let t,n,r,l=e[2].words+"",s,c,h,T,g,_=e[2].lines+"",C,L,O,X,te,$,K=e[2].top+"",re,ne,ke,Te=e[3]&&eo(e),j=e[0]&&to(e);return{c(){t=Ge("div"),n=Ge("div"),r=Ge("span"),s=Bt(l),c=Bt(": "),h=Ge("strong"),T=Bt(e[5]),g=Ge("span"),C=Bt(_),L=Bt(": "),O=Ge("strong"),X=Bt(e[4]),Te&&Te.c(),te=Ge("div"),j&&j.c(),$=Ge("span"),re=Bt(K),qe(n,"class","bytemd-status-left"),qe(te,"class","bytemd-status-right"),qe(t,"class","bytemd-status")},m(q,me){Ft(q,t,me),Fe(t,n),Fe(n,r),Fe(r,s),Fe(r,c),Fe(r,h),Fe(h,T),Fe(n,g),Fe(g,C),Fe(g,L),Fe(g,O),Fe(O,X),Te&&Te.m(n,null),Fe(t,te),j&&j.m(te,null),Fe(te,$),Fe($,re),ne||(ke=[bn($,"click",e[9]),bn($,"keydown",J1(e[10]))],ne=!0)},p(q,[me]){me&4&&l!==(l=q[2].words+"")&&en(s,l),me&32&&en(T,q[5]),me&4&&_!==(_=q[2].lines+"")&&en(C,_),me&16&&en(X,q[4]),q[3]?Te?Te.p(q,me):(Te=eo(q),Te.c(),Te.m(n,null)):Te&&(Te.d(1),Te=null),q[0]?j?j.p(q,me):(j=to(q),j.c(),j.m(te,$)):j&&(j.d(1),j=null),me&4&&K!==(K=q[2].top+"")&&en(re,K)},i:On,o:On,d(q){q&&Lt(t),Te&&Te.d(),j&&j.d(),ne=!1,i1(ke)}}}function Dc(e,t,n){let r,l,{showSync:s}=t,{value:c}=t,{syncEnabled:h}=t,{locale:T}=t,{islimited:g}=t;const _=Or(),C=()=>_("sync",!h),L=()=>_("top"),O=X=>["Enter","Space"].includes(X.code)&&_("top");return e.$$set=X=>{"showSync"in X&&n(0,s=X.showSync),"value"in X&&n(7,c=X.value),"syncEnabled"in X&&n(1,h=X.syncEnabled),"locale"in X&&n(2,T=X.locale),"islimited"in X&&n(3,g=X.islimited)},e.$$.update=()=>{e.$$.dirty&128&&n(5,r=wordCount(c)),e.$$.dirty&128&&n(4,l=c.split(` +`).length)},[s,h,T,g,l,r,_,c,C,L,O]}class vc extends null{constructor(t){super(),ir(this,t,Dc,Pc,zl,{showSync:0,value:7,syncEnabled:1,locale:2,islimited:3})}}function no(e,t,n){const r=e.slice();return r[11]=t[n],r[13]=n,r}function ro(e){let t,n=e[11].text+"",r,l,s,c,h;function T(){return e[8](e[13])}function g(..._){return e[9](e[13],..._)}return{c(){t=Ge("li"),r=Bt(n),qe(t,"class",l=`bytemd-toc-${e[11].level}`),qe(t,"style",s=`padding-left:${(e[11].level-e[3])*16+8}px`),Ut(t,"bytemd-toc-active",e[4]===e[13]),Ut(t,"bytemd-toc-first",e[11].level===e[3])},m(_,C){Ft(_,t,C),Fe(t,r),c||(h=[bn(t,"click",T),bn(t,"keydown",J1(g))],c=!0)},p(_,C){e=_,C&4&&n!==(n=e[11].text+"")&&en(r,n),C&4&&l!==(l=`bytemd-toc-${e[11].level}`)&&qe(t,"class",l),C&12&&s!==(s=`padding-left:${(e[11].level-e[3])*16+8}px`)&&qe(t,"style",s),C&20&&Ut(t,"bytemd-toc-active",e[4]===e[13]),C&12&&Ut(t,"bytemd-toc-first",e[11].level===e[3])},d(_){_&&Lt(t),c=!1,i1(h)}}}function Hc(e){let t,n,r=e[0].toc+"",l,s,c=e[2],h=[];for(let T=0;T{$.type==="text"&&(te+=$.value)}),te}const L=X=>{h("click",X)},O=(X,te)=>{["Enter","Space"].includes(te.code)&&h("click",X)};return e.$$set=X=>{"hast"in X&&n(6,r=X.hast),"currentBlockIndex"in X&&n(7,l=X.currentBlockIndex),"locale"in X&&n(0,s=X.locale),"visible"in X&&n(1,c=X.visible)},e.$$.update=()=>{e.$$.dirty&204&&(n(2,T=[]),n(4,_=0),r.children.filter(X=>X.type==="element").forEach((X,te)=>{if(X.tagName[0]==="h"&&!!X.children.length){const $=Number(X.tagName[1]);n(3,g=Math.min(g,$)),T.push({level:$,text:C(X)})}l>=te&&n(4,_=T.length-1)}))},[s,c,T,g,_,h,r,l,L,O]}class Bc extends null{constructor(t){super(),ir(this,t,Fc,Hc,Ur,{hast:6,currentBlockIndex:7,locale:0,visible:1})}}function io(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function lo(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function Uc(e){let t,n=e[2].write+"",r,l,s=e[2].preview+"",c,h,T;return{c(){t=Ge("div"),r=Bt(n),l=Ge("div"),c=Bt(s),qe(t,"class","bytemd-toolbar-tab"),Ut(t,"bytemd-toolbar-tab-active",e[1]!=="preview"),qe(l,"class","bytemd-toolbar-tab"),Ut(l,"bytemd-toolbar-tab-active",e[1]==="preview")},m(g,_){Ft(g,t,_),Fe(t,r),Ft(g,l,_),Fe(l,c),h||(T=[bn(t,"click",e[16]),bn(t,"keydown",J1(e[17])),bn(l,"click",e[18]),bn(l,"keydown",J1(e[19]))],h=!0)},p(g,_){_&4&&n!==(n=g[2].write+"")&&en(r,n),_&2&&Ut(t,"bytemd-toolbar-tab-active",g[1]!=="preview"),_&4&&s!==(s=g[2].preview+"")&&en(c,s),_&2&&Ut(l,"bytemd-toolbar-tab-active",g[1]==="preview")},d(g){g&&Lt(t),g&&Lt(l),h=!1,i1(T)}}}function zc(e){let t,n=e[3],r=[];for(let l=0;lparseInt(rt,10));if(!Oe)return;let $e={title:"",handler:{type:"dropdown",actions:de.classList.contains(Yr)?h:$}};return Oe==null||Oe.forEach(rt=>{var Tt;((Tt=$e.handler)==null?void 0:Tt.type)==="dropdown"&&($e=$e.handler.actions[rt])}),{paths:Oe,item:$e}}let ne;function ke(){ne=delegate(g,{target:`.${jr}`,onCreate({setProps:de,reference:fe}){const Me=re(fe);if(!Me)return;const{item:Oe,paths:$e}=Me,{handler:rt}=Oe;if(!!rt){if(rt.type==="action")de({content:Oe.title,onHidden(Tt){Tt.destroy()}});else if(rt.type==="dropdown"){const Tt=document.createElement("div");if(Tt.classList.add("bytemd-dropdown"),Oe.title){const Et=document.createElement("div");Et.classList.add("bytemd-dropdown-title"),Et.appendChild(document.createTextNode(Oe.title)),Tt.appendChild(Et)}rt.actions.forEach((Et,M)=>{var wt;const kt=document.createElement("div");kt.classList.add("bytemd-dropdown-item"),kt.setAttribute(Ni,[...$e,M].join("-")),((wt=Et.handler)==null?void 0:wt.type)==="dropdown"&&kt.classList.add(jr),fe.classList.contains(Yr)&&kt.classList.add(Yr),kt.innerHTML=`${Et.icon?`
      ${Et.icon}
      `:""}
      ${Et.title}
      `,Tt.appendChild(kt)}),de({allowHTML:!0,showOnCreate:!0,theme:"light-border",placement:"bottom-start",interactive:!0,interactiveDebounce:50,arrow:!1,offset:[0,4],content:Tt.outerHTML,onHidden(Et){Et.destroy()},onCreate(Et){[...Et.popper.querySelectorAll(".bytemd-dropdown-item")].forEach((M,wt)=>{var kt;const P=(kt=rt.actions[wt])==null?void 0:kt.handler;if((P==null?void 0:P.type)==="action"){const{mouseenter:at,mouseleave:In}=P;at&&M.addEventListener("mouseenter",()=>{at(_)}),In&&M.addEventListener("mouseleave",()=>{In(_)})}})}})}}}})}Ai(()=>{ke()});function Te(de){var fe,Me;const Oe=de.target.closest(`[${Ni}]`);if(!Oe)return;const $e=(Me=(fe=re(Oe))==null?void 0:fe.item)==null?void 0:Me.handler;($e==null?void 0:$e.type)==="action"&&$e.click(_),ne==null||ne.destroy(),ke()}const j=()=>T("tab","write"),q=de=>["Enter","Space"].includes(de.code)&&T("tab","write"),me=()=>T("tab","preview"),Be=de=>["Enter","Space"].includes(de.code)&&T("tab","preview");function Le(de){B1[de?"unshift":"push"](()=>{g=de,n(4,g)})}const et=de=>["Enter","Space"].includes(de.code)&&Te(de);return e.$$set=de=>{"context"in de&&n(8,_=de.context),"split"in de&&n(0,C=de.split),"activeTab"in de&&n(1,L=de.activeTab),"fullscreen"in de&&n(9,O=de.fullscreen),"sidebar"in de&&n(10,X=de.sidebar),"locale"in de&&n(2,te=de.locale),"actions"in de&&n(3,$=de.actions),"rightAfferentActions"in de&&n(11,K=de.rightAfferentActions)},e.$$.update=()=>{e.$$.dirty&1024&&n(15,r=X==="toc"),e.$$.dirty&1024&&n(14,l=X==="help"),e.$$.dirty&2&&n(13,s=L==="write"),e.$$.dirty&2&&n(12,c=L==="preview"),e.$$.dirty&64005&&n(5,h=[{title:r?te.closeToc:te.toc,icon:gt.AlignTextLeftOne,handler:{type:"action",click(){T("click","toc")}},active:r},{title:l?te.closeHelp:te.help,icon:gt.Helpcenter,handler:{type:"action",click(){T("click","help")}},active:l},{title:s?te.exitWriteOnly:te.writeOnly,icon:gt.LeftExpand,handler:{type:"action",click(){T("tab","write")}},active:s,hidden:!C},{title:c?te.exitPreviewOnly:te.previewOnly,icon:gt.RightExpand,handler:{type:"action",click(){T("tab","preview")}},active:c,hidden:!C},{title:O?te.exitFullscreen:te.fullscreen,icon:O?gt.OffScreen:gt.FullScreen,handler:{type:"action",click(){T("click","fullscreen")}}},{title:te.source,icon:gt.GithubOne,handler:{type:"action",click(){window.open("https://github.com/bytedance/bytemd")}}},...K])},[C,L,te,$,g,h,T,Te,_,O,X,K,c,s,l,r,j,q,me,Be,Le,et]}class jc extends null{constructor(t){super(),ir(this,t,Kc,Gc,Ur,{context:8,split:0,activeTab:1,fullscreen:9,sidebar:10,locale:2,actions:3,rightAfferentActions:11})}}const Yc=JSON.stringify(w);function co({sanitize:e,plugins:t,remarkRehype:n={}}){let r=mc().use(gu);t==null||t.forEach(({remark:s})=>{s&&(r=s(r))}),r=r.use(Zu,ut({allowDangerousHtml:!0},n)).use(v1);let l=JSON.parse(Yc);return l.attributes["*"].push("className"),typeof e=="function"&&(l=e(l)),r=r.use(le,l),t==null||t.forEach(({rehype:s})=>{s&&(r=s(r))}),r.use(Cs)}function Wc(e){let t;return{c(){t=Ge("div"),qe(t,"class","markdown-body")},m(n,r){Ft(n,t,r),t.innerHTML=e[1],e[8](t)},p(n,[r]){r&2&&(t.innerHTML=n[1])},i:On,o:On,d(n){n&&Lt(t),e[8](null)}}}function Vc(e,t,n){let r;const l=Or();let{value:s=""}=t,{plugins:c=[]}=t,{sanitize:h=void 0}=t,{remarkRehype:T=void 0}=t,g,_=[];function C(){_=c.map(K=>{var re;return(re=K.viewerEffect)==null?void 0:re.call(K,{markdownBody:g,file:O})})}function L(){_.forEach(K=>K==null?void 0:K())}Ai(()=>{g.addEventListener("click",K=>{var re;const ne=K.target;if(ne.tagName!=="A")return;const ke=ne.getAttribute("href");!(ke!=null&&ke.startsWith("#"))||(re=g.querySelector("#user-content-"+ke.slice(1)))==null||re.scrollIntoView()})}),Gl(L);let O,X=0;const te=()=>(K,re)=>{Gr().then(()=>{l("hast",{hast:K,file:re})})};Cc(()=>{L(),C()});function $(K){B1[K?"unshift":"push"](()=>{g=K,n(0,g)})}return e.$$set=K=>{"value"in K&&n(2,s=K.value),"plugins"in K&&n(3,c=K.plugins),"sanitize"in K&&n(4,h=K.sanitize),"remarkRehype"in K&&n(5,T=K.remarkRehype)},e.$$.update=()=>{if(e.$$.dirty&188)try{n(6,O=co({sanitize:h,plugins:[...c,{rehype:K=>K.use(te)}],remarkRehype:T}).processSync(s)),n(7,X++,X)}catch(K){console.error(K)}e.$$.dirty&192&&n(1,r=`${O}`)},[g,r,s,c,h,T,O,X,$]}class Qc extends null{constructor(t){super(),ir(this,t,Vc,Wc,Ur,{value:2,plugins:3,sanitize:4,remarkRehype:5})}}function ho(e){let t,n;return t=new Qc({props:{value:e[16],plugins:e[1],sanitize:e[2],remarkRehype:e[3]}}),t.$on("hast",e[35]),{c(){br(t.$$.fragment)},m(r,l){nr(t,r,l),n=!0},p(r,l){const s={};l[0]&65536&&(s.value=r[16]),l[0]&2&&(s.plugins=r[1]),l[0]&4&&(s.sanitize=r[2]),l[0]&8&&(s.remarkRehype=r[3]),t.$set(s)},i(r){n||(m1(t.$$.fragment,r),n=!0)},o(r){z1(t.$$.fragment,r),n=!1},d(r){rr(t,r)}}}function Xc(e){let t,n,r,l,s,c,h,T,g,_=gt.Close+"",C,L,O,X,te,$;n=new jc({props:{context:e[10],split:e[11],activeTab:e[8],sidebar:e[9],fullscreen:e[15],rightAfferentActions:e[21].rightActions,locale:e[12],actions:e[21].leftActions}}),n.$on("key",e[31]),n.$on("tab",e[32]),n.$on("click",e[33]);let K=!e[4]&&(e[11]||e[8]==="preview")&&ho(e);return C=new Mc({props:{locale:e[12],actions:e[21].leftActions,visible:e[9]==="help"}}),L=new Bc({props:{hast:e[18],locale:e[12],currentBlockIndex:e[20],visible:e[9]==="toc"}}),L.$on("click",e[39]),O=new vc({props:{locale:e[12],showSync:!e[4]&&e[11],value:e[16],syncEnabled:e[17],islimited:e[0].length>e[5]}}),O.$on("sync",e[40]),O.$on("top",e[41]),{c(){t=Ge("div"),br(n.$$.fragment),r=Ge("div"),l=Ge("div"),c=Ge("div"),K&&K.c(),T=Ge("div"),g=Ge("div"),br(C.$$.fragment),br(L.$$.fragment),br(O.$$.fragment),qe(l,"class","bytemd-editor"),qe(l,"style",s=e[22].edit),qe(c,"class","bytemd-preview"),qe(c,"style",h=e[22].preview),qe(g,"class","bytemd-sidebar-close"),qe(T,"class","bytemd-sidebar"),Ut(T,"bytemd-hidden",e[9]===!1),qe(r,"class","bytemd-body"),qe(t,"class","bytemd"),Ut(t,"bytemd-split",e[11]&&e[8]===!1),Ut(t,"bytemd-fullscreen",e[15])},m(re,ne){Ft(re,t,ne),nr(n,t,null),Fe(t,r),Fe(r,l),e[34](l),Fe(r,c),K&&K.m(c,null),e[36](c),Fe(r,T),Fe(T,g),g.innerHTML=_,nr(C,T,null),nr(L,T,null),nr(O,t,null),e[42](t),X=!0,te||($=[bn(g,"click",e[37]),bn(g,"keydown",J1(e[38]))],te=!0)},p(re,ne){const ke={};ne[0]&1024&&(ke.context=re[10]),ne[0]&2048&&(ke.split=re[11]),ne[0]&256&&(ke.activeTab=re[8]),ne[0]&512&&(ke.sidebar=re[9]),ne[0]&32768&&(ke.fullscreen=re[15]),ne[0]&2097152&&(ke.rightAfferentActions=re[21].rightActions),ne[0]&4096&&(ke.locale=re[12]),ne[0]&2097152&&(ke.actions=re[21].leftActions),n.$set(ke),(!X||ne[0]&4194304&&s!==(s=re[22].edit))&&qe(l,"style",s),!re[4]&&(re[11]||re[8]==="preview")?K?(K.p(re,ne),ne[0]&2320&&m1(K,1)):(K=ho(re),K.c(),m1(K,1),K.m(c,null)):K&&(kc(),z1(K,1,1,()=>{K=null}),Nc()),(!X||ne[0]&4194304&&h!==(h=re[22].preview))&&qe(c,"style",h);const Te={};ne[0]&4096&&(Te.locale=re[12]),ne[0]&2097152&&(Te.actions=re[21].leftActions),ne[0]&512&&(Te.visible=re[9]==="help"),C.$set(Te);const j={};ne[0]&262144&&(j.hast=re[18]),ne[0]&4096&&(j.locale=re[12]),ne[0]&1048576&&(j.currentBlockIndex=re[20]),ne[0]&512&&(j.visible=re[9]==="toc"),L.$set(j),(!X||ne[0]&512)&&Ut(T,"bytemd-hidden",re[9]===!1);const q={};ne[0]&4096&&(q.locale=re[12]),ne[0]&2064&&(q.showSync=!re[4]&&re[11]),ne[0]&65536&&(q.value=re[16]),ne[0]&131072&&(q.syncEnabled=re[17]),ne[0]&33&&(q.islimited=re[0].length>re[5]),O.$set(q),(!X||ne[0]&2304)&&Ut(t,"bytemd-split",re[11]&&re[8]===!1),(!X||ne[0]&32768)&&Ut(t,"bytemd-fullscreen",re[15])},i(re){X||(m1(n.$$.fragment,re),m1(K),m1(C.$$.fragment,re),m1(L.$$.fragment,re),m1(O.$$.fragment,re),X=!0)},o(re){z1(n.$$.fragment,re),z1(K),z1(C.$$.fragment,re),z1(L.$$.fragment,re),z1(O.$$.fragment,re),X=!1},d(re){re&&Lt(t),rr(n),e[34](null),K&&K.d(),e[36](null),rr(C),rr(L),rr(O),e[42](null),te=!1,i1($)}}}function qc(e,t,n){let r,l,s,c,h,{value:T=""}=t,{plugins:g=[]}=t,{sanitize:_=void 0}=t,{remarkRehype:C=void 0}=t,{mode:L="auto"}=t,{previewDebounce:O=300}=t,{placeholder:X=void 0}=t,{editorConfig:te=void 0}=t,{locale:$=void 0}=t,{uploadImages:K=void 0}=t,{overridePreview:re=void 0}=t,{maxLength:ne=1/0}=t;const ke=Or();let Te,j,q,me=1/0,Be,Le,et,de=!1,fe=!1,Me=[],Oe={};function $e(){Me=g.map(he=>{var jt;return(jt=he.editorEffect)==null?void 0:jt.call(he,h)}),Oe={},l.leftActions.forEach(({handler:he})=>{(he==null?void 0:he.type)==="action"&&he.shortcut&&(Oe[he.shortcut]=()=>{he.click(h)})}),Le.addKeyMap(Oe)}function rt(){Me.forEach(he=>he&&he()),Le==null||Le.removeKeyMap(Oe)}let Tt=T;const Et=debounce(he=>{n(16,Tt=he),re==null||re(q,{value:Tt,plugins:g,sanitize:_,remarkRehype:C})},O);let M=!0,wt=!1,kt=!1,P,at,In={type:"root",children:[]},lr,b1=0;Ai(()=>R1(this,null,function*(){n(30,Be=Ic()),n(7,Le=Be(j,l1(ut({value:T,mode:"yaml-frontmatter",lineWrapping:!0,tabSize:8,indentUnit:4,extraKeys:{Enter:"newlineAndIndentContinueMarkdownList"}},te),{placeholder:X}))),Le.addKeyMap({Tab:"indentMore","Shift-Tab":"indentLess"}),Le.on("change",()=>{ke("change",{value:Le.getValue()})});const he=throttle(()=>{P=[],at=[];const tn=Le.getScrollInfo(),St=q.childNodes[0];if(!(St instanceof HTMLElement))return;const Nt=In.children.filter(ue=>ue.type==="element"),Z=[...St.childNodes].filter(ue=>ue instanceof HTMLElement);for(let ue=0;ue=1||Tn>=1)break;P.push(lt),at.push(Tn)}P.push(1),at.push(1)},1e3),jt=()=>{if(re||!M)return;if(kt){kt=!1;return}he();const tn=Le.getScrollInfo(),St=tn.top/(tn.height-tn.clientHeight),Nt=ki(St,P),Z=(St-P[Nt])*(at[Nt+1]-at[Nt])/(P[Nt+1]-P[Nt])+at[Nt];q.scrollTo(0,Z*(q.scrollHeight-q.clientHeight)),wt=!0},xi=()=>{if(re||(he(),n(20,b1=ki(q.scrollTop/(q.scrollHeight-q.offsetHeight),at)),!M))return;if(wt){wt=!1;return}const tn=q.scrollTop/(q.scrollHeight-q.clientHeight),St=ki(tn,at),Nt=(tn-at[St])*(P[St+1]-P[St])/(at[St+1]-at[St])+P[St];if(isNaN(Nt))return;const Z=Le.getScrollInfo();Le.scrollTo(0,Nt*(Z.height-Z.clientHeight)),kt=!0};Le.on("scroll",jt),q.addEventListener("scroll",xi,{passive:!0});const qr=(tn,St)=>R1(this,null,function*(){if(!K)return;const Nt=Array.from(St!=null?St:[]).map(Z=>{if(Z.type.startsWith("image/"))return Z.getAsFile()}).filter(Z=>Z!=null);Nt.length&&(tn.preventDefault(),yield Vl(h,K,Nt))});Le.on("drop",(tn,St)=>R1(this,null,function*(){var Nt;qr(St,(Nt=St.dataTransfer)==null?void 0:Nt.items)})),Le.on("paste",(tn,St)=>R1(this,null,function*(){var Nt;qr(St,(Nt=St.clipboardData)==null?void 0:Nt.items)})),new ResizeObserver(tn=>{n(29,me=tn[0].contentRect.width)}).observe(Te,{box:"border-box"})})),Gl(rt);const Kt=he=>{Le.setOption("keyMap",he.detail),Le.focus()},G1=he=>{const jt=he.detail;s?n(8,et=et===jt?!1:jt):n(8,et=jt),et==="write"&&Gr().then(()=>{Le&&Le.focus()}),jt==="write"&&Gr().then(()=>{Le&&Le.setSize(null,null)})},Qn=he=>{switch(he.detail){case"fullscreen":n(15,de=!de);break;case"help":n(9,fe=fe==="help"?!1:"help");break;case"toc":n(9,fe=fe==="toc"?!1:"toc");break}};function I1(he){B1[he?"unshift":"push"](()=>{j=he,n(13,j)})}const p1=he=>{n(18,In=he.detail.hast),n(19,lr=he.detail.file)};function Ir(he){B1[he?"unshift":"push"](()=>{q=he,n(14,q)})}const Oi=()=>{n(9,fe=!1)},bi=he=>{["Enter","Space"].includes(he.code)&&n(9,fe=!1)},Vr=he=>{q.querySelectorAll("h1,h2,h3,h4,h5,h6")[he.detail].scrollIntoView()},Qr=he=>{n(17,M=he.detail)},Xr=()=>{Le.scrollTo(null,0),q.scrollTo({top:0})};function Ii(he){B1[he?"unshift":"push"](()=>{Te=he,n(6,Te)})}return e.$$set=he=>{"value"in he&&n(0,T=he.value),"plugins"in he&&n(1,g=he.plugins),"sanitize"in he&&n(2,_=he.sanitize),"remarkRehype"in he&&n(3,C=he.remarkRehype),"mode"in he&&n(23,L=he.mode),"previewDebounce"in he&&n(24,O=he.previewDebounce),"placeholder"in he&&n(25,X=he.placeholder),"editorConfig"in he&&n(26,te=he.editorConfig),"locale"in he&&n(27,$=he.locale),"uploadImages"in he&&n(28,K=he.uploadImages),"overridePreview"in he&&n(4,re=he.overridePreview),"maxLength"in he&&n(5,ne=he.maxLength)},e.$$.update=()=>{e.$$.dirty[0]&134217728&&n(12,r=ut(ut({},bc),$)),e.$$.dirty[0]&268439554&&n(21,l=Rc(r,g,K)),e.$$.dirty[0]&545259520&&n(11,s=L==="split"||L==="auto"&&me>=800),e.$$.dirty[0]&2048&&(he=>{s&&n(8,et=!1)})(),e.$$.dirty[0]&2816&&n(22,c=(()=>{let he,jt;return s&&et===!1?fe?(he=`width:calc(50% - ${fe?140:0}px)`,jt=`width:calc(50% - ${fe?140:0}px)`):(he="width:50%",jt="width:50%"):et==="preview"?(he="display:none",jt=`width:calc(100% - ${fe?280:0}px)`):(he=`width:calc(100% - ${fe?280:0}px)`,jt="display:none"),{edit:he,preview:jt}})()),e.$$.dirty[0]&1073742016&&n(10,h=(()=>ut({codemirror:Be,editor:Le,root:Te},xc(Be,Le)))()),e.$$.dirty[0]&1&&Et(T),e.$$.dirty[0]&129&&Le&&T!==Le.getValue()&&Le.setValue(T),e.$$.dirty[0]&130&&Le&&g&&(rt(),Gr().then(()=>{$e()}))},[T,g,_,C,re,ne,Te,Le,et,fe,h,s,r,j,q,de,Tt,M,In,lr,b1,l,c,L,O,X,te,$,K,me,Be,Kt,G1,Qn,I1,p1,Ir,Oi,bi,Vr,Qr,Xr,Ii]}class t9 extends null{constructor(t){super(),ir(this,t,qc,Xc,Ur,{value:0,plugins:1,sanitize:2,remarkRehype:3,mode:23,previewDebounce:24,placeholder:25,editorConfig:26,locale:27,uploadImages:28,overridePreview:4,maxLength:5},null,[-1,-1])}}var Wr=I(67294);const n9=n=>{var r=n,{onChange:e}=r,t=$r(r,["onChange"]);const l=useRef(),s=useRef(null),c=useRef();return useEffect(()=>{if(!s.current)return;const h=new bytemd.Editor({target:s.current,props:t});return h.$on("change",T=>{var g;(g=c.current)==null||g.call(c,T.detail.value)}),l.current=h,()=>{h.$destroy()}},[]),useEffect(()=>{c.current=e},[e]),useEffect(()=>{var h;(h=l.current)==null||h.$set(t)},[t]),React.createElement("div",{ref:s})},Zc=({value:e,sanitize:t,plugins:n,remarkRehype:r})=>{var l;const s=(0,Wr.useRef)(null),c=(0,Wr.useMemo)(()=>{try{return co({sanitize:t,plugins:n,remarkRehype:r}).processSync(e)}catch(h){console.error(h)}},[e,t,n,r]);return(0,Wr.useEffect)(()=>{const h=s.current;if(!h||!c)return;const T=n==null?void 0:n.map(({viewerEffect:g})=>g==null?void 0:g({markdownBody:h,file:c}));return()=>{T==null||T.forEach(g=>g&&g())}},[c,n]),Wr.createElement("div",{onClick:h=>{var T,g;const _=h.target;if(_.tagName!=="A")return;const C=_.getAttribute("href");!(C!=null&&C.startsWith("#"))||(g=(T=s.current)==null?void 0:T.querySelector("#user-content-"+C.slice(1)))==null||g.scrollIntoView()},ref:s,className:"markdown-body",dangerouslySetInnerHTML:{__html:(l=c==null?void 0:c.toString())!=null?l:""}})}},64777:function(ie,G,I){"use strict";I.d(G,{w:function(){return d}});function d(A,b){const E=String(A);if(typeof b!="string")throw new TypeError("Expected character");let m=0,w=E.indexOf(b);for(;w!==-1;)m++,w=E.indexOf(b,w+b.length);return m}},44301:function(ie,G,I){"use strict";I.d(G,{T:function(){return A}});const d=document.createElement("i");function A(b){const E="&"+b+";";d.innerHTML=E;const m=d.textContent;return m.charCodeAt(m.length-1)===59&&b!=="semi"||m===E?!1:m}},23402:function(ie,G,I){"use strict";I.d(G,{w:function(){return b}});var d=I(42761),A=I(75364);const b={tokenize:E,partial:!0};function E(m,w,F){return k;function k(R){return(0,A.xz)(R)?(0,d.f)(m,S,"linePrefix")(R):S(R)}function S(R){return R===null||(0,A.Ch)(R)?w(R):F(R)}}},42761:function(ie,G,I){"use strict";I.d(G,{f:function(){return A}});var d=I(75364);function A(b,E,m,w){const F=w?w-1:Number.POSITIVE_INFINITY;let k=0;return S;function S(U){return(0,d.xz)(U)?(b.enter(m),R(U)):E(U)}function R(U){return(0,d.xz)(U)&&k++F?0:F+E:E=E>F?F:E,m=m>0?m:0,w.length<1e4)S=Array.from(w),S.unshift(E,m),b.splice(...S);else for(m&&b.splice(E,m);k0?(d(b,b.length,0,E),b):E}},62987:function(ie,G,I){"use strict";I.d(G,{r:function(){return A}});var d=I(75364);function A(b){if(b===null||(0,d.z3)(b)||(0,d.B8)(b))return 1;if((0,d.Xh)(b))return 2}},4663:function(ie,G,I){"use strict";I.d(G,{W:function(){return b}});var d=I(21905);const A={}.hasOwnProperty;function b(k){const S={};let R=-1;for(;++R13&&E<32||E>126&&E<160||E>55295&&E<57344||E>64975&&E<65008||(E&65535)===65535||(E&65535)===65534||E>1114111?"\uFFFD":String.fromCharCode(E)}},47881:function(ie,G,I){"use strict";I.d(G,{v:function(){return E}});var d=I(44301),A=I(80889);const b=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function E(w){return w.replace(b,m)}function m(w,F,k){if(F)return F;if(k.charCodeAt(0)===35){const R=k.charCodeAt(1),U=R===120||R===88;return(0,A.o)(k.slice(U?2:1),U?16:10)}return(0,d.T)(k)||w}},11098:function(ie,G,I){"use strict";I.d(G,{d:function(){return d}});function d(A){return A.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},63233:function(ie,G,I){"use strict";I.d(G,{C:function(){return d}});function d(A,b,E){const m=[];let w=-1;for(;++w":""))+")"})}return Ee;function Ee(){let Ke=[],Se,J,_e;if((!S||W(H,ge,Ce[Ce.length-1]||null))&&(Ke=F(R(H,Ce)),Ke[0]===E))return Ke;if(H.children&&Ke[0]!==m)for(J=(U?H.children.length:-1)+ce,_e=Ce.concat(H);J>-1&&Je.createElement("svg",{width:"252",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .012)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),e.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),e.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),e.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),e.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),e.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),e.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),e.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),e.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),e.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),e.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),e.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),e.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),e.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),e.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),e.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),e.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),e.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),e.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),e.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),e.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),e.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),e.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),e.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),e.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),e.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),e.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),e.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),e.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),e.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),e.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),e.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),e.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),e.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),e.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),x=()=>e.createElement("svg",{width:"254",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),e.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .067)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),e.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),e.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),e.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),e.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),e.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),e.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),e.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),e.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),e.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),e.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),e.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),e.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),e.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),e.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),e.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),e.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),e.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),e.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),e.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),e.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),e.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),e.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),e.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),e.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),e.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),e.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),e.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),e.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),e.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),e.createElement("mask",{fill:"#fff"}),e.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),e.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),e.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),e.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),E=r(54548),H=r(91945),I=r(45503);const N=t=>{const{componentCls:l,lineHeightHeading3:a,iconCls:n,padding:s,paddingXL:o,paddingXS:M,paddingLG:i,marginXS:p,lineHeight:k}=t;return{[l]:{padding:`${(0,E.bf)(t.calc(i).mul(2).equal())} ${(0,E.bf)(o)}`,"&-rtl":{direction:"rtl"}},[`${l} ${l}-image`]:{width:t.imageWidth,height:t.imageHeight,margin:"auto"},[`${l} ${l}-icon`]:{marginBottom:i,textAlign:"center",[`& > ${n}`]:{fontSize:t.iconFontSize}},[`${l} ${l}-title`]:{color:t.colorTextHeading,fontSize:t.titleFontSize,lineHeight:a,marginBlock:p,textAlign:"center"},[`${l} ${l}-subtitle`]:{color:t.colorTextDescription,fontSize:t.subtitleFontSize,lineHeight:k,textAlign:"center"},[`${l} ${l}-content`]:{marginTop:i,padding:`${(0,E.bf)(i)} ${(0,E.bf)(t.calc(s).mul(2.5).equal())}`,backgroundColor:t.colorFillAlter},[`${l} ${l}-extra`]:{margin:t.extraMargin,textAlign:"center","& > *":{marginInlineEnd:M,"&:last-child":{marginInlineEnd:0}}}}},y=t=>{const{componentCls:l,iconCls:a}=t;return{[`${l}-success ${l}-icon > ${a}`]:{color:t.resultSuccessIconColor},[`${l}-error ${l}-icon > ${a}`]:{color:t.resultErrorIconColor},[`${l}-info ${l}-icon > ${a}`]:{color:t.resultInfoIconColor},[`${l}-warning ${l}-icon > ${a}`]:{color:t.resultWarningIconColor}}},V=t=>[N(t),y(t)],R=t=>V(t),T=t=>({titleFontSize:t.fontSizeHeading3,subtitleFontSize:t.fontSize,iconFontSize:t.fontSizeHeading3*3,extraMargin:`${t.paddingLG}px 0 0 0`});var b=(0,H.I$)("Result",t=>{const l=t.colorInfo,a=t.colorError,n=t.colorSuccess,s=t.colorWarning,o=(0,I.TS)(t,{resultInfoIconColor:l,resultErrorIconColor:a,resultSuccessIconColor:n,resultWarningIconColor:s,imageWidth:250,imageHeight:295});return[R(o)]},T),G=()=>e.createElement("svg",{width:"251",height:"294"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),e.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),e.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),e.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),e.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),e.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),e.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),e.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),e.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),e.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),e.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),e.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),e.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),e.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),e.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),e.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),e.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),e.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),e.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),e.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),e.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),e.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),e.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),e.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),e.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),e.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),e.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),e.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),e.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),e.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),e.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),e.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),e.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})));const P={success:f.Z,error:L.Z,info:v.Z,warning:j},h={404:S,500:x,403:G},Z=Object.keys(h),O=t=>{let{prefixCls:l,icon:a,status:n}=t;const s=F()(`${l}-icon`);if(Z.includes(`${n}`)){const M=h[n];return e.createElement("div",{className:`${s} ${l}-image`},e.createElement(M,null))}const o=e.createElement(P[n]);return a===null||a===!1?null:e.createElement("div",{className:s},a||o)},X=t=>{let{prefixCls:l,extra:a}=t;return a?e.createElement("div",{className:`${l}-extra`},a):null},m=t=>{let{prefixCls:l,className:a,rootClassName:n,subTitle:s,title:o,style:M,children:i,status:p="info",icon:k,extra:w}=t;const{getPrefixCls:J,direction:K,result:d}=e.useContext($.E_),c=J("result",l),[Q,Y,q]=b(c),_=F()(c,`${c}-${p}`,a,d==null?void 0:d.className,n,{[`${c}-rtl`]:K==="rtl"},Y,q),e1=Object.assign(Object.assign({},d==null?void 0:d.style),M);return Q(e.createElement("div",{className:_,style:e1},e.createElement(O,{prefixCls:c,status:p,icon:k}),e.createElement("div",{className:`${c}-title`},o),s&&e.createElement("div",{className:`${c}-subtitle`},s),e.createElement(X,{prefixCls:c,extra:w}),i&&e.createElement("div",{className:`${c}-content`},i)))};m.PRESENTED_IMAGE_403=h[403],m.PRESENTED_IMAGE_404=h[404],m.PRESENTED_IMAGE_500=h[500];var U=m}}]); diff --git a/statics/9905.d7b40d8f.async.js b/statics/9905.d7b40d8f.async.js deleted file mode 100644 index a0f1ea0b..00000000 --- a/statics/9905.d7b40d8f.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9905],{29905:function(J,u,r){r.d(u,{ZP:function(){return P}});var f=r(76278),L=r(41322),v=r(26702),p=r(1413),e=r(67294),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},C=B,W=r(93771),k=function(l,a){return e.createElement(W.Z,(0,p.Z)((0,p.Z)({},l),{},{ref:a,icon:C}))};k.displayName="WarningFilled";var D=e.forwardRef(k),g=r(94184),F=r.n(g),A=r(53124),j=()=>e.createElement("svg",{width:"252",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .012)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),e.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),e.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),e.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),e.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),e.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),e.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),e.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),e.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),e.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),e.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),e.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),e.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),e.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),e.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),e.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),e.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),e.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),e.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),e.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),e.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),e.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),e.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),e.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),e.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),e.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),e.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),e.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),e.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),e.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),e.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),e.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),e.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),e.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),e.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),z=()=>e.createElement("svg",{width:"254",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),e.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .067)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),e.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),e.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),e.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),e.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),e.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),e.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),e.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),e.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),e.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),e.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),e.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),e.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),e.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),e.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),e.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),e.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),e.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),e.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),e.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),e.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),e.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),e.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),e.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),e.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),e.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),e.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),e.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),e.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),e.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),e.createElement("mask",{fill:"#fff"}),e.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),e.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),e.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),e.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),$=()=>e.createElement("svg",{width:"251",height:"294"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),e.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),e.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),e.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),e.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),e.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),e.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),e.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),e.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),e.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),e.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),e.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),e.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),e.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),e.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),e.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),e.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),e.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),e.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),e.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),e.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),e.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),e.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),e.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),e.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),e.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),e.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),e.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),e.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),e.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),e.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),e.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),e.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),S=r(67968),x=r(45503);const I=t=>{const{componentCls:l,lineHeightHeading3:a,iconCls:n,padding:o,paddingXL:d,paddingXS:i,paddingLG:c,marginXS:M,lineHeight:E}=t;return{[l]:{padding:`${c*2}px ${d}px`,"&-rtl":{direction:"rtl"}},[`${l} ${l}-image`]:{width:t.imageWidth,height:t.imageHeight,margin:"auto"},[`${l} ${l}-icon`]:{marginBottom:c,textAlign:"center",[`& > ${n}`]:{fontSize:t.resultIconFontSize}},[`${l} ${l}-title`]:{color:t.colorTextHeading,fontSize:t.resultTitleFontSize,lineHeight:a,marginBlock:M,textAlign:"center"},[`${l} ${l}-subtitle`]:{color:t.colorTextDescription,fontSize:t.resultSubtitleFontSize,lineHeight:E,textAlign:"center"},[`${l} ${l}-content`]:{marginTop:c,padding:`${c}px ${o*2.5}px`,backgroundColor:t.colorFillAlter},[`${l} ${l}-extra`]:{margin:t.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:i,"&:last-child":{marginInlineEnd:0}}}}},H=t=>{const{componentCls:l,iconCls:a}=t;return{[`${l}-success ${l}-icon > ${a}`]:{color:t.resultSuccessIconColor},[`${l}-error ${l}-icon > ${a}`]:{color:t.resultErrorIconColor},[`${l}-info ${l}-icon > ${a}`]:{color:t.resultInfoIconColor},[`${l}-warning ${l}-icon > ${a}`]:{color:t.resultWarningIconColor}}},N=t=>[I(t),H(t)],y=t=>N(t);var R=(0,S.Z)("Result",t=>{const{paddingLG:l,fontSizeHeading3:a}=t,n=t.fontSize,o=`${l}px 0 0 0`,d=t.colorInfo,i=t.colorError,c=t.colorSuccess,M=t.colorWarning,E=(0,x.TS)(t,{resultTitleFontSize:a,resultSubtitleFontSize:n,resultIconFontSize:a*3,resultExtraMargin:o,resultInfoIconColor:d,resultErrorIconColor:i,resultSuccessIconColor:c,resultWarningIconColor:M});return[y(E)]},{imageWidth:250,imageHeight:295});const T={success:f.Z,error:L.Z,info:v.Z,warning:D},h={404:j,500:z,403:$},V=Object.keys(h),Z=t=>{let{prefixCls:l,icon:a,status:n}=t;const o=F()(`${l}-icon`);if(V.includes(`${n}`)){const i=h[n];return e.createElement("div",{className:`${o} ${l}-image`},e.createElement(i,null))}const d=e.createElement(T[n]);return a===null||a===!1?null:e.createElement("div",{className:o},a||d)},G=t=>{let{prefixCls:l,extra:a}=t;return a?e.createElement("div",{className:`${l}-extra`},a):null},m=t=>{let{prefixCls:l,className:a,subTitle:n,title:o,style:d,children:i,status:c="info",icon:M,extra:E}=t;const{getPrefixCls:b,direction:X}=e.useContext(A.E_),s=b("result",l),[w,U]=R(s),O=F()(s,`${s}-${c}`,a,{[`${s}-rtl`]:X==="rtl"},U);return w(e.createElement("div",{className:O,style:d},e.createElement(Z,{prefixCls:s,status:c,icon:M}),e.createElement("div",{className:`${s}-title`},o),n&&e.createElement("div",{className:`${s}-subtitle`},n),e.createElement(G,{prefixCls:s,extra:E}),i&&e.createElement("div",{className:`${s}-content`},i)))};m.PRESENTED_IMAGE_403=h[403],m.PRESENTED_IMAGE_404=h[404],m.PRESENTED_IMAGE_500=h[500];var P=m}}]); diff --git a/statics/index.html b/statics/index.html index 829da075..9e9daf45 100644 --- a/statics/index.html +++ b/statics/index.html @@ -7,6 +7,6 @@
      - + \ No newline at end of file diff --git a/statics/p__404.7bf2dcbd.async.js b/statics/p__404.f9598794.async.js similarity index 68% rename from statics/p__404.7bf2dcbd.async.js rename to statics/p__404.f9598794.async.js index dc153fd3..5d58f6ca 100644 --- a/statics/p__404.7bf2dcbd.async.js +++ b/statics/p__404.f9598794.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2571],{9826:function(P,n,t){t.r(n);var a=t(94171),u=t(29905),o=t(71577),i=t(67294),s=t(85893),E=function(){return(0,s.jsx)(u.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,s.jsx)(o.ZP,{type:"primary",onClick:function(){return a.history.push("/")},children:"Back Home"})})};n.default=E}}]); +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2571],{9826:function(P,n,t){t.r(n);var a=t(90596),u=t(29905),o=t(14726),i=t(67294),s=t(85893),E=function(){return(0,s.jsx)(u.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,s.jsx)(o.ZP,{type:"primary",onClick:function(){return a.history.push("/")},children:"Back Home"})})};n.default=E}}]); diff --git a/statics/p__ApiTest__Project.02024128.async.js b/statics/p__ApiTest__Project.02024128.async.js new file mode 100644 index 00000000..d34f1189 --- /dev/null +++ b/statics/p__ApiTest__Project.02024128.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4459],{16165:function(N,m,e){var s=e(1413),n=e(4942),f=e(45987),l=e(67294),I=e(93967),M=e.n(I),L=e(63017),u=e(56736),c=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],a=l.forwardRef(function(o,S){var D=o.className,i=o.component,j=o.viewBox,v=o.spin,r=o.rotate,h=o.tabIndex,T=o.onClick,x=o.children,P=(0,f.Z)(o,c);(0,u.Kp)(Boolean(i||x),"Should have `component` prop or `children`."),(0,u.C3)();var U=l.useContext(L.Z),z=U.prefixCls,B=z===void 0?"anticon":z,w=U.rootClassName,b=M()(w,B,D),Y=M()((0,n.Z)({},"".concat(B,"-spin"),!!v)),Q=r?{msTransform:"rotate(".concat(r,"deg)"),transform:"rotate(".concat(r,"deg)")}:void 0,_=(0,s.Z)((0,s.Z)({},u.vD),{},{className:Y,style:Q,viewBox:j});j||delete _.viewBox;var V=function(){return i?l.createElement(i,(0,s.Z)({},_),x):x?((0,u.Kp)(Boolean(j)||l.Children.count(x)===1&&l.isValidElement(x)&&l.Children.only(x).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),l.createElement("svg",(0,s.Z)((0,s.Z)({},_),{},{viewBox:j}),x)):null},R=h;return R===void 0&&T&&(R=-1),l.createElement("span",(0,s.Z)((0,s.Z)({role:"img"},P),{},{ref:S,tabIndex:R,onClick:T,className:b}),V())});a.displayName="AntdIcon",m.Z=a},91321:function(N,m,e){e.d(m,{Z:function(){return c}});var s=e(1413),n=e(45987),f=e(67294),l=e(16165),I=["type","children"],M=new Set;function L(a){return Boolean(typeof a=="string"&&a.length&&!M.has(a))}function u(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=a[o];if(L(S)){var D=document.createElement("script");D.setAttribute("src",S),D.setAttribute("data-namespace",S),a.length>o+1&&(D.onload=function(){u(a,o+1)},D.onerror=function(){u(a,o+1)}),M.add(S),document.body.appendChild(D)}}function c(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.scriptUrl,S=a.extraCommonProps,D=S===void 0?{}:S;o&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(o)?u(o.reverse()):u([o]));var i=f.forwardRef(function(j,v){var r=j.type,h=j.children,T=(0,n.Z)(j,I),x=null;return j.type&&(x=f.createElement("use",{xlinkHref:"#".concat(r)})),h&&(x=h),f.createElement(l.Z,(0,s.Z)((0,s.Z)((0,s.Z)({},D),T),{},{ref:v}),x)});return i.displayName="Iconfont",i}},31484:function(N,m,e){e.d(m,{Z:function(){return u}});var s=e(1413),n=e(67294),f={icon:function(a,o){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:o}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:a}}]}},name:"delete",theme:"twotone"},l=f,I=e(84089),M=function(a,o){return n.createElement(I.Z,(0,s.Z)((0,s.Z)({},a),{},{ref:o,icon:l}))},L=n.forwardRef(M),u=L},11475:function(N,m,e){e.d(m,{Z:function(){return u}});var s=e(1413),n=e(67294),f={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"},l=f,I=e(84089),M=function(a,o){return n.createElement(I.Z,(0,s.Z)((0,s.Z)({},a),{},{ref:o,icon:l}))},L=n.forwardRef(M),u=L},40110:function(N,m,e){var s=e(1413),n=e(67294),f=e(509),l=e(84089),I=function(u,c){return n.createElement(l.Z,(0,s.Z)((0,s.Z)({},u),{},{ref:c,icon:f.Z}))},M=n.forwardRef(I);m.Z=M},12554:function(N,m,e){e.d(m,{Z:function(){return j}});var s=e(67294),n=e(7134),f=e(83062),l={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},I=e(19478),M=Object.defineProperty,L=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,a=(v,r,h)=>r in v?M(v,r,{enumerable:!0,configurable:!0,writable:!0,value:h}):v[r]=h,o=(v,r)=>{for(var h in r||(r={}))u.call(r,h)&&a(v,h,r[h]);if(L)for(var h of L(r))c.call(r,h)&&a(v,h,r[h]);return v};const S=v=>React.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},v),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var D="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",i=e(85893),j=function(v){var r=v.user,h=v.size,T=h===void 0?24:h,x=v.marginLeft,P=x===void 0?6:x;return r===void 0?(0,i.jsx)(n.C,{size:T,src:D,alt:"avatar"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.C,{size:T,className:l.avatar,src:r.avatar||I.Z.AVATAR_URL,alt:"avatar"}),(0,i.jsx)(f.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:r.deleted_at?(0,i.jsx)("del",{children:(0,i.jsx)("a",{style:{marginLeft:P,fontSize:13,color:"#ccc"},href:"/#/member/".concat(r.id),rel:"noreferrer",children:r.name})}):(0,i.jsx)("a",{onClick:function(z){z.stopPropagation()},style:{marginLeft:P,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(r.id),rel:"noreferrer",children:r.name})})]})}},37594:function(N,m,e){e.d(m,{B:function(){return f}});var s=e(91321),n="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",f=(0,s.Z)({scriptUrl:n})},84298:function(N,m,e){var s=e(97857),n=e.n(s),f=e(5574),l=e.n(f),I=e(67294),M=e(8232),L=e(17788),u=e(15746),c=e(76081),a=e(85893),o=M.Z.Item,S=function(i){var j=i.title,v=i.width,r=i.left,h=i.right,T=i.formName,x=i.record,P=i.onFinish,U=i.loading,z=i.fields,B=i.open,w=i.onCancel,b=i.offset,Y=b===void 0?0:b,Q=i.children,_=i.Footer,V=i.onTest,R=M.Z.useForm(),$=l()(R,1),W=$[0],X=function(){W.validateFields().then(function(Z){P(Z)})};(0,I.useEffect)(function(){W.resetFields(),W.setFieldsValue(x)},[x]);var ee={labelCol:{span:r},wrapperCol:{span:h}};return(0,a.jsxs)(L.Z,{style:{marginTop:Y},confirmLoading:U,footer:_!==void 0?(0,a.jsx)(_,{onOk:X,onCancel:w,onTest:function(){W.validateFields().then(function(Z){V(Z)})}}):void 0,title:j,width:v,open:B,onOk:X,onCancel:w,children:[Q||null,(0,a.jsx)(M.Z,n()(n()({form:W},ee),{},{name:T,initialValues:x,onFinish:P,children:z.map(function(y,Z){return(0,a.jsx)(u.Z,{span:y.span||24,children:(0,a.jsx)(o,{label:y.label,colon:y.colon||!0,initialValue:y.initialValue,rules:[{required:y.required,message:y.message}],name:y.name,valuePropName:y.valuePropName||"value",children:(0,c.Z)(y.type,y.placeholder,y.component)})},Z)})}))]})};m.Z=S},76081:function(N,m,e){var s=e(55102),n=e(72269),f=e(67294),l=e(85893),I=s.Z.TextArea,M=function(u,c){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return a||(u==="input"?(0,l.jsx)(s.Z,{placeholder:c}):u==="textarea"?(0,l.jsx)(I,{placeholder:c}):u==="switch"?(0,l.jsx)(n.Z,{}):null)};m.Z=M},90861:function(N,m,e){var s=e(34041),n=e(7134),f=e(19478),l=e(67294),I=e(85893),M=s.Z.Option;m.Z=function(L){var u=L.users,c=L.placeholder,a=c===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":c,o=L.onChange,S=L.value,D=L.mode,i=D===void 0?null:D;return(0,I.jsx)(s.Z,{allowClear:!0,onChange:o,value:S,showSearch:!0,placeholder:a,mode:i,filterOption:function(v,r){return r.props.children[2].toLowerCase().indexOf(v.toLowerCase())>-1||r.props.children[4].toLowerCase().indexOf(v.toLowerCase())>-1},children:u.map(function(j){return(0,I.jsxs)(M,{value:j.id,children:[(0,I.jsx)(n.C,{size:14,src:j.avatar||f.Z.AVATAR_URL})," ",j.name,"(",j.email,")"]},j.id)})})}},4724:function(N,m,e){e.r(m),e.d(m,{default:function(){return Ie}});var s=e(15009),n=e.n(s),f=e(97857),l=e.n(f),I=e(99289),M=e.n(I),L=e(5574),u=e.n(L),c=e(67294),a=e(58841),o=e(50136),S=e(17788),D=e(85418),i=e(75081),j=e(4393),v=e(71230),r=e(15746),h=e(14726),T=e(83062),x=e(55102),P=e(32983),U=e(7134),z=e(72252),B=e(1413),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z"}}]},name:"aliwangwang",theme:"outlined"},b=w,Y=e(84089),Q=function(F,G){return c.createElement(Y.Z,(0,B.Z)((0,B.Z)({},F),{},{ref:G,icon:b}))},_=c.forwardRef(Q),V=_,R=e(31484),$=e(11475),W=e(63783),X=e(40110),ee=e(84298),y=e(90596),Z=e(35123),te=e(10981),je=e(36981),me=e(82759),ge=e(12554),Ee=e(19478),ae=e(90535),fe=e(90861),Le=e(37594),t=e(85893),he=function(F){var G=F.dispatch,we=F.project,be=F.loading,xe=(0,c.useState)([]),re=u()(xe,2),oe=re[0],ie=re[1],pe=(0,c.useState)({current:1,pageSize:8,total:0,showTotal:function(E){return"\u5171".concat(E,"\u4E2A\u9879\u76EE")}}),se=u()(pe,2),K=se[0],le=se[1],Ce=(0,c.useState)(!1),ue=u()(Ce,2),De=ue[0],ne=ue[1],Se=(0,c.useState)([]),ce=u()(Se,2),ye=ce[0],Ae=ce[1],Ne=(0,c.useState)({}),de=u()(Ne,2),Te=de[0],Oe=de[1],Pe=(0,c.useState)(!1),Me=u()(Pe,2),Ze=Me[0],ve=Me[1],k=function(){var g=M()(n()().mark(function E(){var p,C,A,d=arguments;return n()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return p=d.length>0&&d[0]!==void 0?d[0]:K.current,C=d.length>1&&d[1]!==void 0?d[1]:K.pageSize,ve(!0),H.next=5,(0,Z.g2)({page:p,size:C});case 5:A=H.sent,ve(!1),te.Z.response(A)&&(ie(A.data),le(l()(l()({},K),{},{current:p,total:A.total})));case 8:case"end":return H.stop()}},E)}));return function(){return g.apply(this,arguments)}}(),ze=function(){var g=M()(n()().mark(function E(){var p,C;return n()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,je.yw)();case 2:p=d.sent,C={},p.forEach(function(O){C[O.id]=O}),Ae(p),Oe(C);case 7:case"end":return d.stop()}},E)}));return function(){return g.apply(this,arguments)}}(),_e=function(){var g=M()(n()().mark(function E(p){var C;return n()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,G({type:"project/deleteProject",payload:{projectId:p}});case 2:C=d.sent,C&&k();case 4:case"end":return d.stop()}},E)}));return function(p){return g.apply(this,arguments)}}();(0,c.useEffect)(function(){ze(),k()},[]);var Ue=function(){var g=M()(n()().mark(function E(p){var C,A;return n()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return C=p.target.value,O.next=3,(0,Z.g2)({page:1,size:K.pageSize,name:C});case 3:A=O.sent,te.Z.response(A)&&(ie(A.data),le(l()(l()({},K),{},{current:1,total:A.total})));case 5:case"end":return O.stop()}},E)}));return function(p){return g.apply(this,arguments)}}(),Be=function(){var g=M()(n()().mark(function E(p){var C;return n()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,Z.q2)(p);case 2:if(C=d.sent,!te.Z.response(C,!0)){d.next=7;break}return ne(!1),d.next=7,k(1);case 7:case"end":return d.stop()}},E)}));return function(p){return g.apply(this,arguments)}}(),Re=[{name:"name",label:"\u9879\u76EE\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},{name:"app",label:"\u670D\u52A1\u540D",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",component:null},{name:"owner",label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",required:!0,component:(0,t.jsx)(fe.Z,{users:ye,placeholder:"\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}),type:"select"},{name:"description",label:"\u9879\u76EE\u63CF\u8FF0",required:!1,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0",type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0"},{name:"private",label:"\u662F\u5426\u79C1\u6709",required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u662F\u5426\u79C1\u6709",type:"switch",valuePropName:"checked"}],We=function(E){return(0,t.jsxs)(o.Z,{children:[(0,t.jsx)(o.Z.Item,{icon:(0,t.jsx)(V,{}),children:(0,t.jsx)("a",{children:"\u7533\u8BF7\u6743\u9650"})}),(0,t.jsx)(o.Z.Item,{icon:(0,t.jsx)(R.Z,{twoToneColor:"red"}),children:(0,t.jsx)("a",{onClick:function(C){C.stopPropagation(),S.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u6B64\u9879\u76EE\u5417?",icon:(0,t.jsx)($.Z,{}),content:"\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var A=M()(n()().mark(function O(){return n()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,_e(E.id);case 2:case"end":return q.stop()}},O)}));function d(){return A.apply(this,arguments)}return d}()})},children:"\u5220\u9664\u9879\u76EE"})})]})},Fe=function(E){var p=E.item;return(0,t.jsxs)("div",{style:{fontSize:16,fontWeight:"bold",color:"rgb(65, 74, 105)"},children:[p.name,(0,t.jsx)("span",{style:{float:"right",lineHeight:"24px",fontSize:24,marginRight:4},children:(0,t.jsx)(D.Z,{overlay:We(p),onClick:function(A){A.stopPropagation()},children:(0,t.jsx)(Le.B,{type:"icon-more1",style:{cursor:"pointer"}})})})]})};return(0,t.jsxs)(a._z,{title:!1,breadcrumb:null,children:[(0,t.jsx)(ee.Z,{width:600,title:"\u6DFB\u52A0\u9879\u76EE",left:6,right:18,record:{private:!1},open:De,onCancel:function(){return ne(!1)},fields:Re,onFinish:Be}),(0,t.jsxs)(i.Z,{spinning:Ze,children:[(0,t.jsx)(j.Z,{style:{marginBottom:12},children:(0,t.jsxs)(v.Z,{gutter:8,children:[(0,t.jsx)(r.Z,{span:18,children:(0,t.jsxs)(h.ZP,{type:"primary",onClick:function(){return ne(!0)},children:["\u521B\u5EFA\u9879\u76EE",(0,t.jsx)(T.Z,{title:"\u53EA\u6709\u8D85\u7EA7\u7BA1\u7406\u5458\u53EF\u4EE5\u521B\u5EFA\u9879\u76EE",children:(0,t.jsx)(W.Z,{})})]})}),(0,t.jsx)(r.Z,{span:6,children:(0,t.jsx)(x.Z,{className:"borderSearch",prefix:(0,t.jsx)(X.Z,{}),onPressEnter:Ue,style:{float:"right"},placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"})})]})}),(0,t.jsx)(v.Z,{gutter:24,children:oe.length===0?(0,t.jsx)(r.Z,{span:24,style:{textAlign:"center",marginBottom:12},children:(0,t.jsx)(j.Z,{children:(0,t.jsx)(P.Z,{description:"\u6682\u65E0\u9879\u76EE, \u5FEB\u70B9\u51FB\u300E\u521B\u5EFA\u9879\u76EE\u300F\u521B\u5EFA\u4E00\u4E2A\u5427!",image:me.Z,imageStyle:{height:220}})})}):oe.map(function(g){return(0,t.jsx)(r.Z,{span:6,style:{marginBottom:24},children:(0,t.jsx)(j.Z,{hoverable:!0,className:ae.Z.card,children:(0,t.jsx)(j.Z.Meta,{avatar:(0,t.jsx)(U.C,{src:g.avatar||Ee.Z.PROJECT_AVATAR_URL,size:48}),title:(0,t.jsx)(Fe,{item:g}),description:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:ae.Z.description,children:g.description||"\u65E0"}),(0,t.jsxs)("p",{children:["\u8D1F\u8D23\u4EBA ",(0,t.jsx)(ge.Z,{user:Te[g.owner]})]}),(0,t.jsxs)("p",{children:["\u66F4\u65B0\u65F6\u95F4 ",g.updated_at]})]}),onClick:function(){y.history.push("/project/".concat(g.id))}})})},g.id)})}),(0,t.jsx)(v.Z,{gutter:8,children:(0,t.jsx)(r.Z,{span:24,children:(0,t.jsx)(z.Z,l()(l()({},K),{},{style:{float:"right"},position:"bottomRight",onChange:function(E){k(E)}}))})})]})]})},Ie=(0,y.connect)(function(J){var F=J.loading,G=J.project;return{loading:F,project:G}})((0,c.memo)(he))},90535:function(N,m){m.Z={card:"card___u2BoP",sitePageHeader:"sitePageHeader___sc1aN",description:"description___PxgaZ"}}}]); diff --git a/statics/p__ApiTest__Project.a60876a0.async.js b/statics/p__ApiTest__Project.a60876a0.async.js deleted file mode 100644 index 0c939ca8..00000000 --- a/statics/p__ApiTest__Project.a60876a0.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4459],{16165:function(N,v,e){var i=e(1413),n=e(4942),f=e(45987),l=e(67294),h=e(94184),c=e.n(h),g=e(63017),u=e(41755),s=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],a=l.forwardRef(function(d,y){var C=d.className,o=d.component,m=d.viewBox,j=d.spin,r=d.rotate,I=d.tabIndex,T=d.onClick,x=d.children,P=(0,f.Z)(d,s);(0,u.Kp)(Boolean(o||x),"Should have `component` prop or `children`."),(0,u.C3)();var B=l.useContext(g.Z),z=B.prefixCls,U=z===void 0?"anticon":z,F=B.rootClassName,b=c()(F,U,C),Q=c()((0,n.Z)({},"".concat(U,"-spin"),!!j)),K=r?{msTransform:"rotate(".concat(r,"deg)"),transform:"rotate(".concat(r,"deg)")}:void 0,_=(0,i.Z)((0,i.Z)({},u.vD),{},{className:Q,style:K,viewBox:m});m||delete _.viewBox;var V=function(){return o?l.createElement(o,(0,i.Z)({},_),x):x?((0,u.Kp)(Boolean(m)||l.Children.count(x)===1&&l.isValidElement(x)&&l.Children.only(x).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),l.createElement("svg",(0,i.Z)((0,i.Z)({},_),{},{viewBox:m}),x)):null},R=I;return R===void 0&&T&&(R=-1),l.createElement("span",(0,i.Z)((0,i.Z)({role:"img"},P),{},{ref:y,tabIndex:R,onClick:T,className:b}),V())});a.displayName="AntdIcon",v.Z=a},91321:function(N,v,e){e.d(v,{Z:function(){return s}});var i=e(1413),n=e(45987),f=e(67294),l=e(16165),h=["type","children"],c=new Set;function g(a){return Boolean(typeof a=="string"&&a.length&&!c.has(a))}function u(a){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,y=a[d];if(g(y)){var C=document.createElement("script");C.setAttribute("src",y),C.setAttribute("data-namespace",y),a.length>d+1&&(C.onload=function(){u(a,d+1)},C.onerror=function(){u(a,d+1)}),c.add(y),document.body.appendChild(C)}}function s(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=a.scriptUrl,y=a.extraCommonProps,C=y===void 0?{}:y;d&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(d)?u(d.reverse()):u([d]));var o=f.forwardRef(function(m,j){var r=m.type,I=m.children,T=(0,n.Z)(m,h),x=null;return m.type&&(x=f.createElement("use",{xlinkHref:"#".concat(r)})),I&&(x=I),f.createElement(l.Z,(0,i.Z)((0,i.Z)((0,i.Z)({},C),T),{},{ref:j}),x)});return o.displayName="Iconfont",o}},31484:function(N,v,e){e.d(v,{Z:function(){return g}});var i=e(1413),n=e(67294),f={icon:function(s,a){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:a}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:s}}]}},name:"delete",theme:"twotone"},l=f,h=e(84089),c=function(s,a){return n.createElement(h.Z,(0,i.Z)((0,i.Z)({},s),{},{ref:a,icon:l}))};c.displayName="DeleteTwoTone";var g=n.forwardRef(c)},11475:function(N,v,e){e.d(v,{Z:function(){return g}});var i=e(1413),n=e(67294),f={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"},l=f,h=e(84089),c=function(s,a){return n.createElement(h.Z,(0,i.Z)((0,i.Z)({},s),{},{ref:a,icon:l}))};c.displayName="ExclamationCircleOutlined";var g=n.forwardRef(c)},40110:function(N,v,e){var i=e(1413),n=e(67294),f=e(509),l=e(84089),h=function(g,u){return n.createElement(l.Z,(0,i.Z)((0,i.Z)({},g),{},{ref:u,icon:f.Z}))};h.displayName="SearchOutlined",v.Z=n.forwardRef(h)},12554:function(N,v,e){e.d(v,{Z:function(){return m}});var i=e(67294),n=e(98293),f=e(83062),l={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},h=e(19478),c=Object.defineProperty,g=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(j,r,I)=>r in j?c(j,r,{enumerable:!0,configurable:!0,writable:!0,value:I}):j[r]=I,d=(j,r)=>{for(var I in r||(r={}))u.call(r,I)&&a(j,I,r[I]);if(g)for(var I of g(r))s.call(r,I)&&a(j,I,r[I]);return j};const y=j=>React.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},j),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var C="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",o=e(85893),m=function(j){var r=j.user,I=j.size,T=I===void 0?24:I,x=j.marginLeft,P=x===void 0?6:x;return r===void 0?(0,o.jsx)(n.C,{size:T,src:C,alt:"avatar"}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.C,{size:T,className:l.avatar,src:r.avatar||h.Z.AVATAR_URL,alt:"avatar"}),(0,o.jsx)(f.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:r.deleted_at?(0,o.jsx)("del",{children:(0,o.jsx)("a",{style:{marginLeft:P,fontSize:13,color:"#ccc"},href:"/#/member/".concat(r.id),rel:"noreferrer",children:r.name})}):(0,o.jsx)("a",{onClick:function(z){z.stopPropagation()},style:{marginLeft:P,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(r.id),rel:"noreferrer",children:r.name})})]})}},37594:function(N,v,e){e.d(v,{B:function(){return f}});var i=e(91321),n="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",f=(0,i.Z)({scriptUrl:n})},84298:function(N,v,e){var i=e(97857),n=e.n(i),f=e(5574),l=e.n(f),h=e(67294),c=e(58131),g=e(69400),u=e(15746),s=e(76081),a=e(85893),d=c.Z.Item,y=function(o){var m=o.title,j=o.width,r=o.left,I=o.right,T=o.formName,x=o.record,P=o.onFinish,B=o.loading,z=o.fields,U=o.open,F=o.onCancel,b=o.offset,Q=b===void 0?0:b,K=o.children,_=o.Footer,V=o.onTest,R=c.Z.useForm(),$=l()(R,1),W=$[0],X=function(){W.validateFields().then(function(Z){P(Z)})};(0,h.useEffect)(function(){W.resetFields(),W.setFieldsValue(x)},[x]);var J={labelCol:{span:r},wrapperCol:{span:I}};return(0,a.jsxs)(g.Z,{style:{marginTop:Q},confirmLoading:B,footer:_!==void 0?(0,a.jsx)(_,{onOk:X,onCancel:F,onTest:function(){W.validateFields().then(function(Z){V(Z)})}}):void 0,title:m,width:j,open:U,onOk:X,onCancel:F,children:[K||null,(0,a.jsx)(c.Z,n()(n()({form:W},J),{},{name:T,initialValues:x,onFinish:P,children:z.map(function(S,Z){return(0,a.jsx)(u.Z,{span:S.span||24,children:(0,a.jsx)(d,{label:S.label,colon:S.colon||!0,initialValue:S.initialValue,rules:[{required:S.required,message:S.message}],name:S.name,valuePropName:S.valuePropName||"value",children:(0,s.Z)(S.type,S.placeholder,S.component)})},Z)})}))]})};v.Z=y},76081:function(N,v,e){var i=e(96365),n=e(72269),f=e(67294),l=e(85893),h=i.Z.TextArea,c=function(u,s){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return a||(u==="input"?(0,l.jsx)(i.Z,{placeholder:s}):u==="textarea"?(0,l.jsx)(h,{placeholder:s}):u==="switch"?(0,l.jsx)(n.Z,{}):null)};v.Z=c},90861:function(N,v,e){var i=e(34041),n=e(98293),f=e(19478),l=e(67294),h=e(85893),c=i.Z.Option;v.Z=function(g){var u=g.users,s=g.placeholder,a=s===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":s,d=g.onChange,y=g.value,C=g.mode,o=C===void 0?null:C;return(0,h.jsx)(i.Z,{allowClear:!0,onChange:d,value:y,showSearch:!0,placeholder:a,mode:o,filterOption:function(j,r){return r.props.children[2].toLowerCase().indexOf(j.toLowerCase())>-1||r.props.children[4].toLowerCase().indexOf(j.toLowerCase())>-1},children:u.map(function(m){return(0,h.jsxs)(c,{value:m.id,children:[(0,h.jsx)(n.C,{size:14,src:m.avatar||f.Z.AVATAR_URL})," ",m.name,"(",m.email,")"]},m.id)})})}},4724:function(N,v,e){e.r(v),e.d(v,{default:function(){return he}});var i=e(15009),n=e.n(i),f=e(97857),l=e.n(f),h=e(99289),c=e.n(h),g=e(5574),u=e.n(g),s=e(67294),a=e(58841),d=e(68508),y=e(69400),C=e(13013),o=e(75081),m=e(4393),j=e(71230),r=e(15746),I=e(71577),T=e(83062),x=e(96365),P=e(32983),B=e(98293),z=e(11651),U=e(1413),F={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z"}}]},name:"aliwangwang",theme:"outlined"},b=F,Q=e(84089),K=function(w,G){return s.createElement(Q.Z,(0,U.Z)((0,U.Z)({},w),{},{ref:G,icon:b}))};K.displayName="AliwangwangOutlined";var _=s.forwardRef(K),V=e(31484),R=e(11475),$=e(63783),W=e(40110),X=e(84298),J=e(94171),S=e(35123),Z=e(10981),je=e(36981),me=e(82759),ve=e(12554),ge=e(19478),ne=e(90535),Ee=e(90861),Le=e(37594),t=e(85893),fe=function(w){var G=w.dispatch,we=w.project,Fe=w.loading,Ie=(0,s.useState)([]),ae=u()(Ie,2),re=ae[0],oe=ae[1],xe=(0,s.useState)({current:1,pageSize:8,total:0,showTotal:function(L){return"\u5171".concat(L,"\u4E2A\u9879\u76EE")}}),ie=u()(xe,2),H=ie[0],le=ie[1],pe=(0,s.useState)(!1),ue=u()(pe,2),De=ue[0],te=ue[1],Ce=(0,s.useState)([]),se=u()(Ce,2),Se=se[0],ye=se[1],Ae=(0,s.useState)({}),ce=u()(Ae,2),Ne=ce[0],Te=ce[1],Oe=(0,s.useState)(!1),de=u()(Oe,2),Pe=de[0],Me=de[1],q=function(){var E=c()(n()().mark(function L(){var p,D,A,M=arguments;return n()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return p=M.length>0&&M[0]!==void 0?M[0]:H.current,D=M.length>1&&M[1]!==void 0?M[1]:H.pageSize,Me(!0),Y.next=5,(0,S.g2)({page:p,size:D});case 5:A=Y.sent,Me(!1),Z.Z.response(A)&&(oe(A.data),le(l()(l()({},H),{},{current:p,total:A.total})));case 8:case"end":return Y.stop()}},L)}));return function(){return E.apply(this,arguments)}}(),Ze=function(){var E=c()(n()().mark(function L(){var p,D;return n()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,(0,je.yw)();case 2:p=M.sent,D={},p.forEach(function(O){D[O.id]=O}),ye(p),Te(D);case 7:case"end":return M.stop()}},L)}));return function(){return E.apply(this,arguments)}}(),ze=function(){var E=c()(n()().mark(function L(p){var D;return n()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,G({type:"project/deleteProject",payload:{projectId:p}});case 2:D=M.sent,D&&q();case 4:case"end":return M.stop()}},L)}));return function(p){return E.apply(this,arguments)}}();(0,s.useEffect)(function(){Ze(),q()},[]);var _e=function(){var E=c()(n()().mark(function L(p){var D,A;return n()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return D=p.target.value,O.next=3,(0,S.g2)({page:1,size:H.pageSize,name:D});case 3:A=O.sent,Z.Z.response(A)&&(oe(A.data),le(l()(l()({},H),{},{current:1,total:A.total})));case 5:case"end":return O.stop()}},L)}));return function(p){return E.apply(this,arguments)}}(),Be=function(){var E=c()(n()().mark(function L(p){var D;return n()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,(0,S.q2)(p);case 2:if(D=M.sent,!Z.Z.response(D,!0)){M.next=7;break}return te(!1),M.next=7,q(1);case 7:case"end":return M.stop()}},L)}));return function(p){return E.apply(this,arguments)}}(),Ue=[{name:"name",label:"\u9879\u76EE\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},{name:"app",label:"\u670D\u52A1\u540D",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",component:null},{name:"owner",label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",required:!0,component:(0,t.jsx)(Ee.Z,{users:Se,placeholder:"\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}),type:"select"},{name:"description",label:"\u9879\u76EE\u63CF\u8FF0",required:!1,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0",type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0"},{name:"private",label:"\u662F\u5426\u79C1\u6709",required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u662F\u5426\u79C1\u6709",type:"switch",valuePropName:"checked"}],Re=function(L){return(0,t.jsxs)(d.Z,{children:[(0,t.jsx)(d.Z.Item,{icon:(0,t.jsx)(_,{}),children:(0,t.jsx)("a",{children:"\u7533\u8BF7\u6743\u9650"})}),(0,t.jsx)(d.Z.Item,{icon:(0,t.jsx)(V.Z,{twoToneColor:"red"}),children:(0,t.jsx)("a",{onClick:function(D){D.stopPropagation(),y.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u6B64\u9879\u76EE\u5417?",icon:(0,t.jsx)(R.Z,{}),content:"\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u8C28\u614E~",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){var A=c()(n()().mark(function O(){return n()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,ze(L.id);case 2:case"end":return ee.stop()}},O)}));function M(){return A.apply(this,arguments)}return M}()})},children:"\u5220\u9664\u9879\u76EE"})})]})},We=function(L){var p=L.item;return(0,t.jsxs)("div",{style:{fontSize:16,fontWeight:"bold",color:"rgb(65, 74, 105)"},children:[p.name,(0,t.jsx)("span",{style:{float:"right",lineHeight:"24px",fontSize:24,marginRight:4},children:(0,t.jsx)(C.Z,{overlay:Re(p),onClick:function(A){A.stopPropagation()},children:(0,t.jsx)(Le.B,{type:"icon-more1",style:{cursor:"pointer"}})})})]})};return(0,t.jsxs)(a._z,{title:!1,breadcrumb:null,children:[(0,t.jsx)(X.Z,{width:600,title:"\u6DFB\u52A0\u9879\u76EE",left:6,right:18,record:{private:!1},open:De,onCancel:function(){return te(!1)},fields:Ue,onFinish:Be}),(0,t.jsxs)(o.Z,{spinning:Pe,children:[(0,t.jsx)(m.Z,{style:{marginBottom:12},children:(0,t.jsxs)(j.Z,{gutter:8,children:[(0,t.jsx)(r.Z,{span:18,children:(0,t.jsxs)(I.ZP,{type:"primary",onClick:function(){return te(!0)},children:["\u521B\u5EFA\u9879\u76EE",(0,t.jsx)(T.Z,{title:"\u53EA\u6709\u8D85\u7EA7\u7BA1\u7406\u5458\u53EF\u4EE5\u521B\u5EFA\u9879\u76EE",children:(0,t.jsx)($.Z,{})})]})}),(0,t.jsx)(r.Z,{span:6,children:(0,t.jsx)(x.Z,{className:"borderSearch",prefix:(0,t.jsx)(W.Z,{}),onPressEnter:_e,style:{float:"right"},placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"})})]})}),(0,t.jsx)(j.Z,{gutter:24,children:re.length===0?(0,t.jsx)(r.Z,{span:24,style:{textAlign:"center",marginBottom:12},children:(0,t.jsx)(m.Z,{children:(0,t.jsx)(P.Z,{description:"\u6682\u65E0\u9879\u76EE, \u5FEB\u70B9\u51FB\u300E\u521B\u5EFA\u9879\u76EE\u300F\u521B\u5EFA\u4E00\u4E2A\u5427!",image:me.Z,imageStyle:{height:220}})})}):re.map(function(E){return(0,t.jsx)(r.Z,{span:6,style:{marginBottom:24},children:(0,t.jsx)(m.Z,{hoverable:!0,className:ne.Z.card,children:(0,t.jsx)(m.Z.Meta,{avatar:(0,t.jsx)(B.C,{src:E.avatar||ge.Z.PROJECT_AVATAR_URL,size:48}),title:(0,t.jsx)(We,{item:E}),description:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:ne.Z.description,children:E.description||"\u65E0"}),(0,t.jsxs)("p",{children:["\u8D1F\u8D23\u4EBA ",(0,t.jsx)(ve.Z,{user:Ne[E.owner]})]}),(0,t.jsxs)("p",{children:["\u66F4\u65B0\u65F6\u95F4 ",E.updated_at]})]}),onClick:function(){J.history.push("/project/".concat(E.id))}})})},E.id)})}),(0,t.jsx)(j.Z,{gutter:8,children:(0,t.jsx)(r.Z,{span:24,children:(0,t.jsx)(z.Z,l()(l()({},H),{},{style:{float:"right"},position:"bottomRight",onChange:function(L){q(L)}}))})})]})]})},he=(0,J.connect)(function(k){var w=k.loading,G=k.project;return{loading:w,project:G}})((0,s.memo)(fe))},90535:function(N,v){v.Z={card:"card___u2BoP",sitePageHeader:"sitePageHeader___sc1aN",description:"description___PxgaZ"}}}]); diff --git a/statics/p__ApiTest__ProjectDetail.0b7e78c9.async.js b/statics/p__ApiTest__ProjectDetail.0b7e78c9.async.js deleted file mode 100644 index 20b6ba1c..00000000 --- a/statics/p__ApiTest__ProjectDetail.0b7e78c9.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9575],{47046:function(H,x){var t={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"};x.Z=t},31484:function(H,x,t){t.d(x,{Z:function(){return M}});var p=t(1413),i=t(67294),C={icon:function(L,s){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:s}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:L}}]}},name:"delete",theme:"twotone"},o=C,D=t(84089),r=function(L,s){return i.createElement(D.Z,(0,p.Z)((0,p.Z)({},L),{},{ref:s,icon:o}))};r.displayName="DeleteTwoTone";var M=i.forwardRef(r)},51042:function(H,x,t){var p=t(1413),i=t(67294),C=t(42110),o=t(84089),D=function(M,f){return i.createElement(o.Z,(0,p.Z)((0,p.Z)({},M),{},{ref:f,icon:C.Z}))};D.displayName="PlusOutlined",x.Z=i.forwardRef(D)},60219:function(H,x,t){t.d(x,{Z:function(){return M}});var p=t(1413),i=t(67294),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},o=C,D=t(84089),r=function(L,s){return i.createElement(D.Z,(0,p.Z)((0,p.Z)({},L),{},{ref:s,icon:o}))};r.displayName="SaveOutlined";var M=i.forwardRef(r)},12554:function(H,x,t){t.d(x,{Z:function(){return Y}});var p=t(67294),i=t(98293),C=t(83062),o={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},D=t(19478),r=Object.defineProperty,M=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,s=(N,g,R)=>g in N?r(N,g,{enumerable:!0,configurable:!0,writable:!0,value:R}):N[g]=R,O=(N,g)=>{for(var R in g||(g={}))f.call(g,R)&&s(N,R,g[R]);if(M)for(var R of M(g))L.call(g,R)&&s(N,R,g[R]);return N};const le=N=>React.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},N),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var w="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",d=t(85893),Y=function(N){var g=N.user,R=N.size,V=R===void 0?24:R,Z=N.marginLeft,W=Z===void 0?6:Z;return g===void 0?(0,d.jsx)(i.C,{size:V,src:w,alt:"avatar"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.C,{size:V,className:o.avatar,src:g.avatar||D.Z.AVATAR_URL,alt:"avatar"}),(0,d.jsx)(C.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:g.deleted_at?(0,d.jsx)("del",{children:(0,d.jsx)("a",{style:{marginLeft:W,fontSize:13,color:"#ccc"},href:"/#/member/".concat(g.id),rel:"noreferrer",children:g.name})}):(0,d.jsx)("a",{onClick:function(ne){ne.stopPropagation()},style:{marginLeft:W,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(g.id),rel:"noreferrer",children:g.name})})]})}},22763:function(H,x,t){var p=t(32983),i=t(82759),C=t(85893);x.Z=function(o){var D=o.desc,r=o.height,M=r===void 0?180:r,f=o.image,L=f===void 0?i.Z:f;return(0,C.jsx)(p.Z,{image:L,imageStyle:{height:M},description:D||"\u6682\u65E0\u6570\u636E"})}},84298:function(H,x,t){var p=t(97857),i=t.n(p),C=t(5574),o=t.n(C),D=t(67294),r=t(58131),M=t(69400),f=t(15746),L=t(76081),s=t(85893),O=r.Z.Item,le=function(d){var Y=d.title,N=d.width,g=d.left,R=d.right,V=d.formName,Z=d.record,W=d.onFinish,te=d.loading,ne=d.fields,n=d.open,S=d.onCancel,I=d.offset,e=I===void 0?0:I,a=d.children,j=d.Footer,l=d.onTest,c=r.Z.useForm(),z=o()(c,1),v=z[0],m=function(){v.validateFields().then(function(Q){W(Q)})};(0,D.useEffect)(function(){v.resetFields(),v.setFieldsValue(Z)},[Z]);var b={labelCol:{span:g},wrapperCol:{span:R}};return(0,s.jsxs)(M.Z,{style:{marginTop:e},confirmLoading:te,footer:j!==void 0?(0,s.jsx)(j,{onOk:m,onCancel:S,onTest:function(){v.validateFields().then(function(Q){l(Q)})}}):void 0,title:Y,width:N,open:n,onOk:m,onCancel:S,children:[a||null,(0,s.jsx)(r.Z,i()(i()({form:v},b),{},{name:V,initialValues:Z,onFinish:W,children:ne.map(function(T,Q){return(0,s.jsx)(f.Z,{span:T.span||24,children:(0,s.jsx)(O,{label:T.label,colon:T.colon||!0,initialValue:T.initialValue,rules:[{required:T.required,message:T.message}],name:T.name,valuePropName:T.valuePropName||"value",children:(0,L.Z)(T.type,T.placeholder,T.component)})},Q)})}))]})};x.Z=le},76081:function(H,x,t){var p=t(96365),i=t(72269),C=t(67294),o=t(85893),D=p.Z.TextArea,r=function(f,L){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return s||(f==="input"?(0,o.jsx)(p.Z,{placeholder:L}):f==="textarea"?(0,o.jsx)(D,{placeholder:L}):f==="switch"?(0,o.jsx)(i.Z,{}):null)};x.Z=r},90861:function(H,x,t){var p=t(34041),i=t(98293),C=t(19478),o=t(67294),D=t(85893),r=p.Z.Option;x.Z=function(M){var f=M.users,L=M.placeholder,s=L===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":L,O=M.onChange,le=M.value,w=M.mode,d=w===void 0?null:w;return(0,D.jsx)(p.Z,{allowClear:!0,onChange:O,value:le,showSearch:!0,placeholder:s,mode:d,filterOption:function(N,g){return g.props.children[2].toLowerCase().indexOf(N.toLowerCase())>-1||g.props.children[4].toLowerCase().indexOf(N.toLowerCase())>-1},children:f.map(function(Y){return(0,D.jsxs)(r,{value:Y.id,children:[(0,D.jsx)(i.C,{size:14,src:Y.avatar||C.Z.AVATAR_URL})," ",Y.name,"(",Y.email,")"]},Y.id)})})}},52099:function(H,x,t){t.r(x),t.d(x,{default:function(){return Fe}});var p=t(15009),i=t.n(p),C=t(99289),o=t.n(C),D=t(5574),r=t.n(D),M=t(67294),f=t(58841),L=t(71563),s=t(93980),O=t(98293),le=t(4393),w=t(94171),d=t(35123),Y=t(97857),N=t.n(Y),g=t(34041),R=t(83062),V=t(71230),Z=t(15746),W=t(10981),te=t(12554),ne=t(58131),n=t(66476),S=t(71577),I=t(19478),e=t(85893),a=function(q){var h=q.data;return h===null?null:(0,e.jsx)(O.C,{size:96,src:h.avatar||I.Z.PROJECT_AVATAR_URL})},j=t(60219),l=t(76081),c=ne.Z.Item,z=function(h){var J=h.left,X=h.right,$=h.formName,ee=h.record,me=h.reloadData,k=h.onFinish,K=h.fields,ie=h.project,ce=h.dispatch,Me=ne.Z.useForm(),xe=r()(Me,1),U=xe[0],Oe={labelCol:{span:J},wrapperCol:{span:X}};return(0,M.useEffect)(function(){U.setFieldsValue(ee)},[ee]),(0,e.jsxs)(ne.Z,N()(N()({form:U},Oe),{},{name:$,initialValues:ee,onFinish:k,children:[(0,e.jsxs)(V.Z,{children:[(0,e.jsx)(Z.Z,{span:6}),(0,e.jsx)(Z.Z,{span:12,style:{textAlign:"center"},children:(0,e.jsx)(R.Z,{title:"\u70B9\u51FB\u53EF\u4FEE\u6539\u5934\u50CF",placement:"rightTop",children:(0,e.jsx)(n.Z,{customRequest:function(){var B=o()(i()().mark(function ye(ze){return i()().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.next=2,ce({type:"project/uploadFile",payload:{file:ze.file,project_id:ee.id}});case 2:return se.next=4,me();case 4:case"end":return se.stop()}},ye)}));return function(ye){return B.apply(this,arguments)}}(),fileList:[],children:(0,e.jsx)(V.Z,{style:{textAlign:"center",marginBottom:24},children:(0,e.jsx)(a,{data:ee})})})})}),(0,e.jsx)(Z.Z,{span:6})]}),K.map(function(B){return(0,e.jsxs)(V.Z,{children:[(0,e.jsx)(Z.Z,{span:6}),(0,e.jsx)(Z.Z,{span:12,children:(0,e.jsx)(c,{label:B.label,colon:B.colon||!0,rules:[{required:B.required,message:B.message}],name:B.name,valuePropName:B.valuePropName||"value",children:(0,l.Z)(B.type,B.placeholder,B.component)})}),(0,e.jsx)(Z.Z,{span:6})]})}),(0,e.jsxs)(V.Z,{children:[(0,e.jsx)(Z.Z,{span:6}),(0,e.jsx)(Z.Z,{span:12,style:{textAlign:"center"},children:(0,e.jsx)(c,{labelCol:{span:0},wrapperCol:{span:24},children:(0,e.jsxs)(S.ZP,{htmlType:"submit",type:"primary",children:[(0,e.jsx)(j.Z,{}),"\u4FDD\u5B58"]})})}),(0,e.jsx)(Z.Z,{span:6})]})]}))},v=(0,w.connect)(function(q){var h=q.project,J=q.loading;return{project:h,loading:J}})(z),m=t(90861),b=g.Z.Option,T=function(q){var h=q.data,J=q.users,X=q.reloadData,$=function(){var k=o()(i()().mark(function K(ie){var ce,Me;return i()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return ce=N()(N()({},h),ie),U.next=3,(0,d.ty)(ce);case 3:return Me=U.sent,W.Z.response(Me,!0),U.next=7,X();case 7:case"end":return U.stop()}},K)}));return function(ie){return k.apply(this,arguments)}}(),ee=(0,e.jsx)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE\u7EC4\u957F",showSearch:!0,filterOption:function(K,ie){return ie.children.props.user.name.toLowerCase().indexOf(K.toLowerCase())>=0||ie.children.props.user.email.toLowerCase().indexOf(K.toLowerCase())>=0},allowClear:!0,children:J.map(function(k){return(0,e.jsx)(b,{value:k.id,children:(0,e.jsx)(R.Z,{title:k.email,children:(0,e.jsx)(te.Z,{user:k})})},k.value)})}),me=[{name:"name",label:"\u9879\u76EE\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",component:null},{name:"app",label:"\u670D\u52A1\u540D",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",component:null},{name:"owner",label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",required:!0,component:(0,e.jsx)(m.Z,{users:J,placeholder:"\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}),type:"select"},{name:"description",label:"\u9879\u76EE\u63CF\u8FF0",required:!1,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0",type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0"},{name:"dingtalk_url",label:"\u9489\u9489\u901A\u77E5openapi",required:!1,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u9489\u9489\u7FA4\u673A\u5668\u4EBAapi",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u9489\u9489\u7FA4\u673A\u5668\u4EBAapi"},{name:"private",label:"\u662F\u5426\u79C1\u6709",required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u662F\u5426\u79C1\u6709",type:"switch",valuePropName:"checked"}];return(0,e.jsx)(V.Z,{gutter:8,children:(0,e.jsx)(Z.Z,{span:24,children:(0,e.jsx)(v,{left:6,right:18,record:h,onFinish:$,fields:me,reloadData:X})})})},Q=t(36981),Ie=t(19632),oe=t.n(Ie),ue=t(51904),Le=t(86738),G=t(96365),ae=t(51158),Se=t(99559),Ce=t(31484),de=t(51042),fe=t(84298),Ne=g.Z.Option,P=function(h){var J=h.project,X=h.roles,$=h.users,ee=h.fetchData,me=(0,w.useParams)(),k=(0,M.useState)(!1),K=r()(k,2),ie=K[0],ce=K[1],Me=(0,M.useState)({}),xe=r()(Me,2),U=xe[0],Oe=xe[1],B=(0,M.useState)(X),ye=r()(B,2),ze=ye[0],pe=ye[1];(0,M.useEffect)(function(){var y={};$.forEach(function(u){y[u.id]=u}),Oe(y),pe([{user_id:J.owner,project_role:"OWNER"}].concat(oe()(X)))},[X,$]);var se=function(){var y=o()(i()().mark(function u(E,A){var De,re;return i()().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return De=N()(N()({},E),{},{project_role:A}),Ee.next=3,(0,d.yO)(De);case 3:if(re=Ee.sent,!W.Z.response(re,!0)){Ee.next=7;break}return Ee.next=7,ee();case 7:case"end":return Ee.stop()}},u)}));return function(E,A){return y.apply(this,arguments)}}(),Ze=function(){var y=o()(i()().mark(function u(E){var A,De;return i()().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return A=N()(N()({},E),{},{project_id:me.id}),ge.next=3,(0,d.m7)(A);case 3:if(De=ge.sent,!W.Z.response(De,!0)){ge.next=8;break}return ce(!1),ge.next=8,ee();case 8:case"end":return ge.stop()}},u)}));return function(E){return y.apply(this,arguments)}}(),Pe=function(){var y=o()(i()().mark(function u(E){var A;return i()().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,(0,d.Ng)({id:E.id});case 2:if(A=re.sent,!W.Z.response(A,!0)){re.next=6;break}return re.next=6,ee();case 6:case"end":return re.stop()}},u)}));return function(E){return y.apply(this,arguments)}}(),Re=function(u){if(u===""){pe([{user_id:J.owner,project_role:"OWNER"}].concat(oe()(X)));return}var E=X.filter(function(A){return U[A.user_id].email.toLowerCase().indexOf(u.toLowerCase())>-1||U[A.user_id].name.toLowerCase().indexOf(u.toLowerCase())>-1});pe([{user_id:J.owner,project_role:"OWNER"}].concat(oe()(E)))},he=function(u){return u.project_role==="OWNER"?[(0,e.jsx)(ue.Z,{color:"blue",size:"large",children:"\u8D1F\u8D23\u4EBA"})]:[(0,e.jsx)(g.Z,{style:{width:80},value:I.Z.PROJECT_ROLE_MAP[u.project_role],onChange:function(A){se(u,A)},children:Object.keys(I.Z.PROJECT_ROLE_MAP).map(function(E,A){return(0,e.jsx)(Ne,{value:E,children:I.Z.PROJECT_ROLE_MAP[E]},A)})}),(0,e.jsx)(Le.Z,{title:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u89D2\u8272\u5417?",onConfirm:function(){Pe(u)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,e.jsx)(Ce.Z,{twoToneColor:"red",style:{cursor:"pointer"}})})]},Ae=(0,e.jsx)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u7528\u6237",showSearch:!0,allowClear:!0,filterOption:function(u,E){return E.children.props.user.name.toLowerCase().indexOf(u.toLowerCase())>=0||E.children.props.user.email.toLowerCase().indexOf(u.toLowerCase())>=0},children:$.map(function(y){return(0,e.jsx)(Ne,{value:y.id,disabled:y.id===J.owner,children:(0,e.jsx)(te.Z,{user:y})},y.id)})}),ve=(0,e.jsx)(g.Z,{placeholder:"\u8BF7\u9009\u62E9\u89D2\u8272",children:Object.keys(I.Z.PROJECT_ROLE_MAP).map(function(y,u){return(0,e.jsx)(Ne,{value:y,children:I.Z.PROJECT_ROLE_MAP[y]},u)})}),je=[{name:"user_id",label:"\u7528\u6237",required:!0,component:(0,e.jsx)(m.Z,{users:$}),type:"select"},{name:"project_role",label:"\u89D2\u8272",required:!0,component:ve,type:"select"}];return(0,e.jsxs)("div",{children:[(0,e.jsx)(fe.Z,{title:"\u6DFB\u52A0\u6210\u5458",left:6,right:18,width:500,record:{},onFinish:Ze,fields:je,onCancel:function(){return ce(!1)},open:ie}),(0,e.jsxs)("div",{style:{marginBottom:16},children:[(0,e.jsxs)(S.ZP,{size:"small",type:"primary",onClick:function(){return ce(!0)},children:[(0,e.jsx)(de.Z,{}),"\u6DFB\u52A0\u6210\u5458"]}),(0,e.jsx)(G.Z.Search,{onSearch:Re,size:"small",style:{float:"right",marginRight:8,width:280},placeholder:"\u641C\u7D22\u7528\u6237\u90AE\u7BB1/\u59D3\u540D"})]}),(0,e.jsx)("div",{children:(0,e.jsx)(ae.ZP,{itemLayout:"horizontal",size:"small",dataSource:ze,renderItem:function(u){var E;return(0,e.jsx)(ae.ZP.Item,{actions:he(u),children:(0,e.jsx)(Se.Z,{avatar:!0,title:!1,loading:u.loading,active:!0,children:(0,e.jsx)(ae.ZP.Item.Meta,{avatar:(0,e.jsx)(O.C,{src:((E=U[u.user_id])===null||E===void 0?void 0:E.avatar)||I.Z.AVATAR_URL}),title:U[u.user_id]?U[u.user_id].name:"loading",description:U[u.user_id]?U[u.user_id].email:"loading"})})})}})})]})},F=P,_=t(90535),Te=t(22763),Ue=t(48226),be=s.Z.TabPane,Fe=function(){var q=(0,w.useParams)(),h=q.id,J=(0,M.useState)({}),X=r()(J,2),$=X[0],ee=X[1],me=(0,M.useState)([]),k=r()(me,2),K=k[0],ie=k[1],ce=(0,M.useState)({}),Me=r()(ce,2),xe=Me[0],U=Me[1],Oe=(0,M.useState)([]),B=r()(Oe,2),ye=B[0],ze=B[1],pe=(0,M.useState)(!1),se=r()(pe,2),Ze=se[0],Pe=se[1],Re=function(){var Ae=o()(i()().mark(function ve(){var je,y;return i()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,(0,Q.yw)();case 2:je=E.sent,ie(je),y={},je.forEach(function(A){y[A.id]=A}),U(y);case 7:case"end":return E.stop()}},ve)}));return function(){return Ae.apply(this,arguments)}}(),he=function(){var Ae=o()(i()().mark(function ve(){var je,y,u=arguments;return i()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return je=u.length>0&&u[0]!==void 0?u[0]:h,A.next=3,(0,d.wJ)({projectId:je});case 3:y=A.sent,Pe(y.code!==403),W.Z.response(y)&&(ee(y.data.project),ze(y.data.roles));case 6:case"end":return A.stop()}},ve)}));return function(){return Ae.apply(this,arguments)}}();return(0,M.useEffect)(function(){he(),Re()},[]),Ze?(0,e.jsx)(f._z,{breadcrumb:null,title:(0,e.jsx)(L.m,{className:_.Z.sitePageHeader,onBack:function(){window.history.back()},title:(0,e.jsxs)("span",{children:[(0,e.jsx)(O.C,{src:$.avatar||I.Z.PROJECT_AVATAR_URL})," ",$.name]})}),children:(0,e.jsx)(le.Z,{bodyStyle:{padding:"8px 18px"},children:(0,e.jsxs)(s.Z,{defaultActiveKey:"1",children:[(0,e.jsx)(be,{tab:"\u6210\u5458\u5217\u8868",children:(0,e.jsx)(F,{users:K,project:$,roles:ye,fetchData:he})},"1"),(0,e.jsx)(be,{tab:"\u9879\u76EE\u8BBE\u7F6E",children:(0,e.jsx)(T,{data:$,users:K,reloadData:he})},"2")]})})}):(0,e.jsx)(Te.Z,{height:400,desc:"\u5BF9\u4E0D\u8D77, \u4F60\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u8BE5\u9879\u76EE",image:Ue.Z})}},90535:function(H,x){x.Z={card:"card___u2BoP",sitePageHeader:"sitePageHeader___sc1aN",description:"description___PxgaZ"}},48226:function(H,x,t){var p=t(67294),i=Object.defineProperty,C=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,r=(L,s,O)=>s in L?i(L,s,{enumerable:!0,configurable:!0,writable:!0,value:O}):L[s]=O,M=(L,s)=>{for(var O in s||(s={}))o.call(s,O)&&r(L,O,s[O]);if(C)for(var O of C(s))D.call(s,O)&&r(L,O,s[O]);return L};const f=L=>React.createElement("svg",M({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L),React.createElement("path",{d:"M193.392 229.952c48.903 0 88.546-8.679 88.546-19.384s-39.643-19.383-88.546-19.383c-48.903 0-88.546 8.678-88.546 19.383 0 10.705 39.643 19.384 88.546 19.384Z",fill:"url(#LoadingFailed_svg__a)"}),React.createElement("path",{opacity:.302,d:"M219.968 172.123c9.45-1.518 13.275-2.66 22.501-11.528 9.227-8.868 18.582 4.07 32.458-1.124 13.875-5.195 15.143-11.484 36.366 7.781 9.783 8.188 17.564 4.946 22.359 8.188 3.196 2.161 6.278 7.487 9.244 15.98H219.968c-9.788-3.397-14.682-6.219-14.682-8.464 0-3.369 5.232-9.316 14.682-10.833Z",fill:"url(#LoadingFailed_svg__b)"}),React.createElement("path",{opacity:.302,d:"M288.024 78.5c7.753 0 14.399 4.065 17.198 9.845h1.438c7.608 0 13.776 6.168 13.776 13.777v1.368c0 7.609-6.168 13.777-13.776 13.777h-35.884c-7.608 0-13.776-6.168-13.776-13.777v-1.368c0-7.609 6.168-13.776 13.776-13.776h.05c2.799-5.781 9.445-9.846 17.198-9.846Z",fill:"url(#LoadingFailed_svg__c)"}),React.createElement("path",{opacity:.302,d:"M82.523 135.118c9.45-1.517 13.275-2.659 22.501-11.527 9.227-8.868 18.582 4.07 32.458-1.125 13.875-5.194 15.143-11.483 36.366 7.782 9.783 8.187 17.564 4.946 22.359 8.187 3.196 2.161 6.278 7.488 9.244 15.981H82.523c-9.788-3.398-14.682-6.219-14.682-8.465 0-3.368 5.232-9.315 14.682-10.833Z",fill:"url(#LoadingFailed_svg__d)"}),React.createElement("path",{d:"M118.062 85.458V203.52h69.065l15.516-33.056-18.904-44.411 18.904-40.595h-84.581Z",fill:"url(#LoadingFailed_svg__e)"}),React.createElement("path",{d:"m241.507 89.724-29.141 40.005 11.582 41.36-18.69 25.182 53.494 9.578 22.977-106.326-40.222-9.8Z",fill:"url(#LoadingFailed_svg__f)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M203.918 124.067c-.772 3.815-.409 6.058 1.089 6.73 1.96.808.068 2.695-.329 2.9-.264.137-.03.528.702 1.173 1.24.649 2.151.907 2.733.775.583-.132 1.293-.781 2.131-1.948-1.561-1.111-2.105-2.002-1.63-2.674.474-.671 1.195-1.372 2.162-2.101.939-.711.902-1.253-.109-1.624.245-.673.335-1.441.272-2.303l-3.291-.928-3.35-.723-.38.723Z",fill:"url(#LoadingFailed_svg__g)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M206.463 124.704c3.313-.912 4.193.489 4.193 1.081 0 .395-.104 1.049-.313 1.964a11.4 11.4 0 0 0 .86-.399c1.016-.555 1.689-1.54 1.928-2.307.448-1.433-.868-4.473-4.279-4.019-1.19-.218-1.378-1.91-3.445-.869s-2.764.241-2.764 1.308c0 1.067.086 4.356 3.82 3.241Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.569 199.533c-1.793 1.098-3.045 1.646-3.757 1.646-1.068 0-1.645.947-.652 1.458s4.174-.226 4.989-.226c.815 0 2.912.292 2.109-2.021-.536-1.542-1.028-2.198-1.477-1.968l-1.212.325v.786Zm12.306-.109c-1.239 1.703-2.182 2.658-2.828 2.867-.968.312-1.159 1.497-.078 1.756 1.08.258 3.705-1.464 4.444-1.702.739-.238 2.743-.538 1.201-2.787-1.028-1.5-1.705-2.061-2.03-1.683l-.985.704.276.845Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M210.187 159.026c-1.167 7.695-2.812 13.709-4.937 18.043-1.161 5.398-1.904 21.738-3.447 22.357-1.544.618-2.643.248-2.587-.543.056-.791-2.055-22.696-1.815-26.102.16-2.271.183-6.776.07-13.516l12.716-.239Z",fill:"url(#LoadingFailed_svg__h)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M215.612 158.149c.166 7.388-.262 15.319-1.283 23.793-.955 10.562 1.105 16.412-.35 17.213-1.456.801-2.592.566-2.634-.226-.042-.792-4.476-22.171-4.656-25.581-.12-2.273-.651-6.748-1.591-13.424l10.514-1.775Z",fill:"url(#LoadingFailed_svg__i)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M198.258 138.609c-2.036 4.435-3.278 7.237-3.727 8.404-.209.485-2.902 1.691-8.078 3.618-1.736.148-2.728.65-2.977 1.505-.141.549-.078 1.49.805 1.568.589.052 1.429-.38 2.519-1.295 5.782.202 9.222-.736 10.317-2.814 1.096-2.079 2.765-5.295 5.007-9.651l-3.597-1.708-.269.373Z",fill:"url(#LoadingFailed_svg__j)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M204.667 133.012c1.739 1.868 3.337 1.868 4.795 0 .253-.169 5.606-.433 9.4 5.671.039.231-1.026 1.49-3.193 3.775h-.663c1.473 7.509 1.694 13.492.663 17.947-.135.463-6.219.724-18.253.781-.031-10.047.641-15.987 2.015-17.821-.168-.338-1.416-1.44-3.744-3.308.733-1.562 1.836-3.063 3.308-4.504 1.471-1.441 3.362-2.288 5.672-2.541Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M214.2 141.754c.106.851 3.424 3.757 4.658 4.799.307.014-6.299 5.13-6.811 5.726-1.399 1.624-.912 3.386.616 3.386 1.527 0 1.049-2.685 1.304-2.825 4.44-2.439 4.891-2.439 7.829-4.095 2.557-1.358-.862-5.467-4.158-9.998-3.296-4.532-3.543 2.156-3.438 3.007Z",fill:"url(#LoadingFailed_svg__k)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M212.965 133.533c.906.429 1.537.749 1.893.961.929.553 1.565 1.098 1.974 1.426 1.27 1.017 1.91 2.061 2.277 2.843.307.542-2.952 5.446-6.144 4.89-.436-.017-1.13-1.029-2.083-3.036l2.083-7.084Z",fill:"#5B5BEA"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"LoadingFailed_svg__a",x1:145.165,y1:210.048,x2:254.934,y2:220.811,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F8F8FB"}),React.createElement("stop",{offset:1,stopColor:"#F1F1F5"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__b",x1:274.091,y1:154.181,x2:274.091,y2:191.42,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__c",x1:288.718,y1:78.5,x2:288.718,y2:117.267,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__d",x1:136.646,y1:117.176,x2:136.646,y2:154.416,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__e",x1:168.174,y1:103.668,x2:138.112,y2:203.034,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__f",x1:235.365,y1:114.665,x2:239.547,y2:209.425,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__g",x1:205.089,y1:125.334,x2:211.253,y2:132.128,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__h",x1:201.445,y1:197.841,x2:200.676,y2:160.243,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__i",x1:212.568,y1:197.671,x2:207.769,y2:160.362,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__j",x1:192.771,y1:141.611,x2:195.457,y2:149.08,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__k",x1:216.954,y1:138.813,x2:219.194,y2:150.945,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"}))));x.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTkzLjM5MiAyMjkuOTUyYzQ4LjkwMyAwIDg4LjU0Ni04LjY3OSA4OC41NDYtMTkuMzg0cy0zOS42NDMtMTkuMzgzLTg4LjU0Ni0xOS4zODNjLTQ4LjkwMyAwLTg4LjU0NiA4LjY3OC04OC41NDYgMTkuMzgzIDAgMTAuNzA1IDM5LjY0MyAxOS4zODQgODguNTQ2IDE5LjM4NFoiIGZpbGw9InVybCgjYSkiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNMjE5Ljk2OCAxNzIuMTIzYzkuNDUtMS41MTggMTMuMjc1LTIuNjYgMjIuNTAxLTExLjUyOCA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjQgMTMuODc1LTUuMTk1IDE1LjE0My0xMS40ODQgMzYuMzY2IDcuNzgxIDkuNzgzIDguMTg4IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODggMy4xOTYgMi4xNjEgNi4yNzggNy40ODcgOS4yNDQgMTUuOThIMjE5Ljk2OGMtOS43ODgtMy4zOTctMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NCAwLTMuMzY5IDUuMjMyLTkuMzE2IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggb3BhY2l0eT0iLjMwMiIgZD0iTTI4OC4wMjQgNzguNWM3Ljc1MyAwIDE0LjM5OSA0LjA2NSAxNy4xOTggOS44NDVoMS40MzhjNy42MDggMCAxMy43NzYgNi4xNjggMTMuNzc2IDEzLjc3N3YxLjM2OGMwIDcuNjA5LTYuMTY4IDEzLjc3Ny0xMy43NzYgMTMuNzc3aC0zNS44ODRjLTcuNjA4IDAtMTMuNzc2LTYuMTY4LTEzLjc3Ni0xMy43Nzd2LTEuMzY4YzAtNy42MDkgNi4xNjgtMTMuNzc2IDEzLjc3Ni0xMy43NzZoLjA1YzIuNzk5LTUuNzgxIDkuNDQ1LTkuODQ2IDE3LjE5OC05Ljg0NloiIGZpbGw9InVybCgjYykiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNODIuNTIzIDEzNS4xMThjOS40NS0xLjUxNyAxMy4yNzUtMi42NTkgMjIuNTAxLTExLjUyNyA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjUgMTMuODc1LTUuMTk0IDE1LjE0My0xMS40ODMgMzYuMzY2IDcuNzgyIDkuNzgzIDguMTg3IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODcgMy4xOTYgMi4xNjEgNi4yNzggNy40ODggOS4yNDQgMTUuOTgxSDgyLjUyM2MtOS43ODgtMy4zOTgtMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NSAwLTMuMzY4IDUuMjMyLTkuMzE1IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2QpIi8+PHBhdGggZD0iTTExOC4wNjIgODUuNDU4VjIwMy41Mmg2OS4wNjVsMTUuNTE2LTMzLjA1Ni0xOC45MDQtNDQuNDExIDE4LjkwNC00MC41OTVoLTg0LjU4MVoiIGZpbGw9InVybCgjZSkiLz48cGF0aCBkPSJtMjQxLjUwNyA4OS43MjQtMjkuMTQxIDQwLjAwNSAxMS41ODIgNDEuMzYtMTguNjkgMjUuMTgyIDUzLjQ5NCA5LjU3OCAyMi45NzctMTA2LjMyNi00MC4yMjItOS44WiIgZmlsbD0idXJsKCNmKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjAzLjkxOCAxMjQuMDY3Yy0uNzcyIDMuODE1LS40MDkgNi4wNTggMS4wODkgNi43MyAxLjk2LjgwOC4wNjggMi42OTUtLjMyOSAyLjktLjI2NC4xMzctLjAzLjUyOC43MDIgMS4xNzMgMS4yNC42NDkgMi4xNTEuOTA3IDIuNzMzLjc3NS41ODMtLjEzMiAxLjI5My0uNzgxIDIuMTMxLTEuOTQ4LTEuNTYxLTEuMTExLTIuMTA1LTIuMDAyLTEuNjMtMi42NzQuNDc0LS42NzEgMS4xOTUtMS4zNzIgMi4xNjItMi4xMDEuOTM5LS43MTEuOTAyLTEuMjUzLS4xMDktMS42MjQuMjQ1LS42NzMuMzM1LTEuNDQxLjI3Mi0yLjMwM2wtMy4yOTEtLjkyOC0zLjM1LS43MjMtLjM4LjcyM1oiIGZpbGw9InVybCgjZykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIwNi40NjMgMTI0LjcwNGMzLjMxMy0uOTEyIDQuMTkzLjQ4OSA0LjE5MyAxLjA4MSAwIC4zOTUtLjEwNCAxLjA0OS0uMzEzIDEuOTY0YTExLjQgMTEuNCAwIDAgMCAuODYtLjM5OWMxLjAxNi0uNTU1IDEuNjg5LTEuNTQgMS45MjgtMi4zMDcuNDQ4LTEuNDMzLS44NjgtNC40NzMtNC4yNzktNC4wMTktMS4xOS0uMjE4LTEuMzc4LTEuOTEtMy40NDUtLjg2OXMtMi43NjQuMjQxLTIuNzY0IDEuMzA4YzAgMS4wNjcuMDg2IDQuMzU2IDMuODIgMy4yNDFaIiBmaWxsPSIjMzUzNTY0Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xOTkuNTY5IDE5OS41MzNjLTEuNzkzIDEuMDk4LTMuMDQ1IDEuNjQ2LTMuNzU3IDEuNjQ2LTEuMDY4IDAtMS42NDUuOTQ3LS42NTIgMS40NThzNC4xNzQtLjIyNiA0Ljk4OS0uMjI2Yy44MTUgMCAyLjkxMi4yOTIgMi4xMDktMi4wMjEtLjUzNi0xLjU0Mi0xLjAyOC0yLjE5OC0xLjQ3Ny0xLjk2OGwtMS4yMTIuMzI1di43ODZabTEyLjMwNi0uMTA5Yy0xLjIzOSAxLjcwMy0yLjE4MiAyLjY1OC0yLjgyOCAyLjg2Ny0uOTY4LjMxMi0xLjE1OSAxLjQ5Ny0uMDc4IDEuNzU2IDEuMDguMjU4IDMuNzA1LTEuNDY0IDQuNDQ0LTEuNzAyLjczOS0uMjM4IDIuNzQzLS41MzggMS4yMDEtMi43ODctMS4wMjgtMS41LTEuNzA1LTIuMDYxLTIuMDMtMS42ODNsLS45ODUuNzA0LjI3Ni44NDVaIiBmaWxsPSIjM0UzRTZFIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTAuMTg3IDE1OS4wMjZjLTEuMTY3IDcuNjk1LTIuODEyIDEzLjcwOS00LjkzNyAxOC4wNDMtMS4xNjEgNS4zOTgtMS45MDQgMjEuNzM4LTMuNDQ3IDIyLjM1Ny0xLjU0NC42MTgtMi42NDMuMjQ4LTIuNTg3LS41NDMuMDU2LS43OTEtMi4wNTUtMjIuNjk2LTEuODE1LTI2LjEwMi4xNi0yLjI3MS4xODMtNi43NzYuMDctMTMuNTE2bDEyLjcxNi0uMjM5WiIgZmlsbD0idXJsKCNoKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjE1LjYxMiAxNTguMTQ5Yy4xNjYgNy4zODgtLjI2MiAxNS4zMTktMS4yODMgMjMuNzkzLS45NTUgMTAuNTYyIDEuMTA1IDE2LjQxMi0uMzUgMTcuMjEzLTEuNDU2LjgwMS0yLjU5Mi41NjYtMi42MzQtLjIyNi0uMDQyLS43OTItNC40NzYtMjIuMTcxLTQuNjU2LTI1LjU4MS0uMTItMi4yNzMtLjY1MS02Ljc0OC0xLjU5MS0xMy40MjRsMTAuNTE0LTEuNzc1WiIgZmlsbD0idXJsKCNpKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTk4LjI1OCAxMzguNjA5Yy0yLjAzNiA0LjQzNS0zLjI3OCA3LjIzNy0zLjcyNyA4LjQwNC0uMjA5LjQ4NS0yLjkwMiAxLjY5MS04LjA3OCAzLjYxOC0xLjczNi4xNDgtMi43MjguNjUtMi45NzcgMS41MDUtLjE0MS41NDktLjA3OCAxLjQ5LjgwNSAxLjU2OC41ODkuMDUyIDEuNDI5LS4zOCAyLjUxOS0xLjI5NSA1Ljc4Mi4yMDIgOS4yMjItLjczNiAxMC4zMTctMi44MTQgMS4wOTYtMi4wNzkgMi43NjUtNS4yOTUgNS4wMDctOS42NTFsLTMuNTk3LTEuNzA4LS4yNjkuMzczWiIgZmlsbD0idXJsKCNqKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjA0LjY2NyAxMzMuMDEyYzEuNzM5IDEuODY4IDMuMzM3IDEuODY4IDQuNzk1IDAgLjI1My0uMTY5IDUuNjA2LS40MzMgOS40IDUuNjcxLjAzOS4yMzEtMS4wMjYgMS40OS0zLjE5MyAzLjc3NWgtLjY2M2MxLjQ3MyA3LjUwOSAxLjY5NCAxMy40OTIuNjYzIDE3Ljk0Ny0uMTM1LjQ2My02LjIxOS43MjQtMTguMjUzLjc4MS0uMDMxLTEwLjA0Ny42NDEtMTUuOTg3IDIuMDE1LTE3LjgyMS0uMTY4LS4zMzgtMS40MTYtMS40NC0zLjc0NC0zLjMwOC43MzMtMS41NjIgMS44MzYtMy4wNjMgMy4zMDgtNC41MDQgMS40NzEtMS40NDEgMy4zNjItMi4yODggNS42NzItMi41NDFaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTQuMiAxNDEuNzU0Yy4xMDYuODUxIDMuNDI0IDMuNzU3IDQuNjU4IDQuNzk5LjMwNy4wMTQtNi4yOTkgNS4xMy02LjgxMSA1LjcyNi0xLjM5OSAxLjYyNC0uOTEyIDMuMzg2LjYxNiAzLjM4NiAxLjUyNyAwIDEuMDQ5LTIuNjg1IDEuMzA0LTIuODI1IDQuNDQtMi40MzkgNC44OTEtMi40MzkgNy44MjktNC4wOTUgMi41NTctMS4zNTgtLjg2Mi01LjQ2Ny00LjE1OC05Ljk5OC0zLjI5Ni00LjUzMi0zLjU0MyAyLjE1Ni0zLjQzOCAzLjAwN1oiIGZpbGw9InVybCgjaykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIxMi45NjUgMTMzLjUzM2MuOTA2LjQyOSAxLjUzNy43NDkgMS44OTMuOTYxLjkyOS41NTMgMS41NjUgMS4wOTggMS45NzQgMS40MjYgMS4yNyAxLjAxNyAxLjkxIDIuMDYxIDIuMjc3IDIuODQzLjMwNy41NDItMi45NTIgNS40NDYtNi4xNDQgNC44OS0uNDM2LS4wMTctMS4xMy0xLjAyOS0yLjA4My0zLjAzNmwyLjA4My03LjA4NFoiIGZpbGw9IiM1QjVCRUEiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxNDUuMTY1IiB5MT0iMjEwLjA0OCIgeDI9IjI1NC45MzQiIHkyPSIyMjAuODExIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y4RjhGQiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0YxRjFGNSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMjc0LjA5MSIgeTE9IjE1NC4xODEiIHgyPSIyNzQuMDkxIiB5Mj0iMTkxLjQyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIyODguNzE4IiB5MT0iNzguNSIgeDI9IjI4OC43MTgiIHkyPSIxMTcuMjY3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSIxMzYuNjQ2IiB5MT0iMTE3LjE3NiIgeDI9IjEzNi42NDYiIHkyPSIxNTQuNDE2IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImUiIHgxPSIxNjguMTc0IiB5MT0iMTAzLjY2OCIgeDI9IjEzOC4xMTIiIHkyPSIyMDMuMDM0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UzRTNFQSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJmIiB4MT0iMjM1LjM2NSIgeTE9IjExNC42NjUiIHgyPSIyMzkuNTQ3IiB5Mj0iMjA5LjQyNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFM0UzRUEiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjIwNS4wODkiIHkxPSIxMjUuMzM0IiB4Mj0iMjExLjI1MyIgeTI9IjEzMi4xMjgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImgiIHgxPSIyMDEuNDQ1IiB5MT0iMTk3Ljg0MSIgeDI9IjIwMC42NzYiIHkyPSIxNjAuMjQzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzc4NzhDMyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzVDNUNCQiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJpIiB4MT0iMjEyLjU2OCIgeTE9IjE5Ny42NzEiIHgyPSIyMDcuNzY5IiB5Mj0iMTYwLjM2MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODc4QzMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1QzVDQkIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjE5Mi43NzEiIHkxPSIxNDEuNjExIiB4Mj0iMTk1LjQ1NyIgeTI9IjE0OS4wOCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjIxNi45NTQiIHkxPSIxMzguODEzIiB4Mj0iMjE5LjE5NCIgeTI9IjE1MC45NDUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PC9zdmc+"},86738:function(H,x,t){t.d(x,{Z:function(){return I}});var p=t(26702),i=t(94184),C=t.n(i),o=t(21770),D=t(15105),r=t(67294),M=t(98423),f=t(53124),L=t(55241),s=t(96159),O=t(71577),le=t(87149),w=t(86743),d=t(74342),Y=t(24457),N=t(81643),g=t(60590),R=t(67968);const V=e=>{const{componentCls:a,iconCls:j,zIndexPopup:l,colorText:c,colorWarning:z,marginXS:v,fontSize:m,fontWeightStrong:b,lineHeight:T}=e;return{[a]:{zIndex:l,[`${a}-inner-content`]:{color:c},[`${a}-message`]:{position:"relative",marginBottom:v,color:c,fontSize:m,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${a}-message-icon ${j}`]:{color:z,fontSize:m,flex:"none",lineHeight:1,paddingTop:(Math.round(m*T)-m)/2},"&-title":{flex:"auto",marginInlineStart:v},"&-title-only":{fontWeight:b}},[`${a}-description`]:{position:"relative",marginInlineStart:m+v,marginBottom:v,color:c,fontSize:m},[`${a}-buttons`]:{textAlign:"end",button:{marginInlineStart:v}}}}};var Z=(0,R.Z)("Popconfirm",e=>V(e),e=>{const{zIndexPopupBase:a}=e;return{zIndexPopup:a+60}}),W=function(e,a){var j={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&a.indexOf(l)<0&&(j[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(e);c{const{prefixCls:a,okButtonProps:j,cancelButtonProps:l,title:c,description:z,cancelText:v,okText:m,okType:b="primary",icon:T=r.createElement(p.Z,null),showCancel:Q=!0,close:Ie,onConfirm:oe,onCancel:ue}=e,{getPrefixCls:Le}=r.useContext(f.E_);return r.createElement(d.Z,{componentName:"Popconfirm",defaultLocale:Y.Z.Popconfirm},G=>r.createElement("div",{className:`${a}-inner-content`},r.createElement("div",{className:`${a}-message`},T&&r.createElement("span",{className:`${a}-message-icon`},T),r.createElement("div",{className:C()(`${a}-message-title`,{[`${a}-message-title-only`]:!!z})},(0,N.Z)(c))),z&&r.createElement("div",{className:`${a}-description`},(0,N.Z)(z)),r.createElement("div",{className:`${a}-buttons`},Q&&r.createElement(O.ZP,Object.assign({onClick:ue,size:"small"},l),v!=null?v:G.cancelText),r.createElement(w.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,le.n)(b)),j),actionFn:oe,close:Ie,prefixCls:Le("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},m!=null?m:G.okText))))};function ne(e){const{prefixCls:a,placement:j,className:l,style:c}=e,z=W(e,["prefixCls","placement","className","style"]),{getPrefixCls:v}=r.useContext(f.E_),m=v("popconfirm",a),[b]=Z(m);return b(r.createElement(g.ZP,{placement:j,className:C()(m,l),style:c,content:r.createElement(te,Object.assign({prefixCls:m},z))}))}var n=function(e,a){var j={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&a.indexOf(l)<0&&(j[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(e);c{const{getPrefixCls:j}=r.useContext(f.E_),[l,c]=(0,o.Z)(!1,{value:e.open,defaultValue:e.defaultOpen}),z=(P,F)=>{var _;c(P,!0),(_=e.onOpenChange)===null||_===void 0||_.call(e,P,F)},v=P=>{z(!1,P)},m=P=>{var F;return(F=e.onConfirm)===null||F===void 0?void 0:F.call(void 0,P)},b=P=>{var F;z(!1,P),(F=e.onCancel)===null||F===void 0||F.call(void 0,P)},T=P=>{P.keyCode===D.Z.ESC&&l&&z(!1,P)},Q=P=>{const{disabled:F=!1}=e;F||z(P)},{prefixCls:Ie,placement:oe="top",trigger:ue="click",okType:Le="primary",icon:G=r.createElement(p.Z,null),children:ae,overlayClassName:Se}=e,Ce=n(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),de=j("popconfirm",Ie),fe=C()(de,Se),[Ne]=Z(de);return Ne(r.createElement(L.Z,Object.assign({},(0,M.Z)(Ce,["title"]),{trigger:ue,placement:oe,onOpenChange:Q,open:l,ref:a,overlayClassName:fe,content:r.createElement(te,Object.assign({okType:Le,icon:G},e,{prefixCls:de,close:v,onConfirm:m,onCancel:b})),"data-popover-inject":!0}),(0,s.Tm)(ae,{onKeyDown:P=>{var F,_;r.isValidElement(ae)&&((_=ae==null?void 0:(F=ae.props).onKeyDown)===null||_===void 0||_.call(F,P)),T(P)}})))});S._InternalPanelDoNotUseOrYouWillBeFired=ne;var I=S},51904:function(H,x,t){t.d(x,{Z:function(){return ne}});var p=t(62208),i=t(94184),C=t.n(i),o=t(67294),D=t(53124),r=t(98787),M=t(45353),f=t(67968),L=t(45503);function s(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}var O=t(63443),le=t(14747);const w=(n,S,I)=>{const e=s(I);return{[`${n.componentCls}-${S}`]:{color:n[`color${I}`],background:n[`color${e}Bg`],borderColor:n[`color${e}Border`]}}},d=n=>(0,O.j)(n,(S,I)=>{let{textColor:e,lightBorderColor:a,lightColor:j,darkColor:l}=I;return{[`${n.componentCls}-${S}`]:{color:e,background:j,borderColor:a,"&-inverse":{color:n.colorTextLightSolid,background:l,borderColor:l}}}}),Y=n=>{const{paddingXXS:S,lineWidth:I,tagPaddingHorizontal:e,componentCls:a}=n,j=e-I,l=S-I;return{[a]:Object.assign(Object.assign({},(0,le.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:j,fontSize:n.tagFontSize,lineHeight:`${n.tagLineHeight}px`,whiteSpace:"nowrap",background:n.tagDefaultBg,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.tagDefaultColor},[`${a}-close-icon`]:{marginInlineStart:l,color:n.colorTextDescription,fontSize:n.tagIconSize,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:j}})}};var N=(0,f.Z)("Tag",n=>{const{fontSize:S,lineHeight:I,lineWidth:e,fontSizeIcon:a}=n,j=Math.round(S*I),l=n.fontSizeSM,c=j-e*2,z=n.colorFillAlter,v=n.colorText,m=(0,L.TS)(n,{tagFontSize:l,tagLineHeight:c,tagDefaultBg:z,tagDefaultColor:v,tagIconSize:a-2*e,tagPaddingHorizontal:8});return[Y(m),d(m),w(m,"success","Success"),w(m,"processing","Info"),w(m,"error","Error"),w(m,"warning","Warning")]}),g=function(n,S){var I={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&S.indexOf(e)<0&&(I[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,e=Object.getOwnPropertySymbols(n);a{var{prefixCls:S,className:I,checked:e,onChange:a,onClick:j}=n,l=g(n,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:c}=o.useContext(D.E_),z=Q=>{a==null||a(!e),j==null||j(Q)},v=c("tag",S),[m,b]=N(v),T=C()(v,{[`${v}-checkable`]:!0,[`${v}-checkable-checked`]:e},I,b);return m(o.createElement("span",Object.assign({},l,{className:T,onClick:z})))},Z=function(n,S){var I={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&S.indexOf(e)<0&&(I[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,e=Object.getOwnPropertySymbols(n);a{var{prefixCls:I,className:e,style:a,children:j,icon:l,color:c,onClose:z,closeIcon:v,closable:m=!1}=n,b=Z(n,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:T,direction:Q}=o.useContext(D.E_),[Ie,oe]=o.useState(!0);o.useEffect(()=>{"visible"in b&&oe(b.visible)},[b.visible]);const ue=(0,r.o2)(c)||(0,r.yT)(c),Le=Object.assign({backgroundColor:c&&!ue?c:void 0},a),G=T("tag",I),[ae,Se]=N(G),Ce=C()(G,{[`${G}-${c}`]:ue,[`${G}-has-color`]:c&&!ue,[`${G}-hidden`]:!Ie,[`${G}-rtl`]:Q==="rtl"},e,Se),de=Te=>{Te.stopPropagation(),z==null||z(Te),!Te.defaultPrevented&&oe(!1)},fe=()=>m?v?o.createElement("span",{className:`${G}-close-icon`,onClick:de},v):o.createElement(p.Z,{className:`${G}-close-icon`,onClick:de}):null,Ne=typeof b.onClick=="function"||j&&j.type==="a",P=l||null,F=P?o.createElement(o.Fragment,null,P,o.createElement("span",null,j)):j,_=o.createElement("span",Object.assign({},b,{ref:S,className:Ce,style:Le}),F,fe());return ae(Ne?o.createElement(M.Z,null,_):_)},te=o.forwardRef(W);te.CheckableTag=V;var ne=te}}]); diff --git a/statics/p__ApiTest__ProjectDetail.4de5e520.async.js b/statics/p__ApiTest__ProjectDetail.4de5e520.async.js new file mode 100644 index 00000000..6935e23c --- /dev/null +++ b/statics/p__ApiTest__ProjectDetail.4de5e520.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9575,3650],{47046:function(ae,C){var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};C.Z=e},31484:function(ae,C,e){e.d(C,{Z:function(){return O}});var a=e(1413),s=e(67294),T={icon:function(c,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:p}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:c}}]}},name:"delete",theme:"twotone"},N=T,f=e(84089),g=function(c,p){return s.createElement(f.Z,(0,a.Z)((0,a.Z)({},c),{},{ref:p,icon:N}))},u=s.forwardRef(g),O=u},51042:function(ae,C,e){var a=e(1413),s=e(67294),T=e(42110),N=e(84089),f=function(O,m){return s.createElement(N.Z,(0,a.Z)((0,a.Z)({},O),{},{ref:m,icon:T.Z}))},g=s.forwardRef(f);C.Z=g},60219:function(ae,C,e){e.d(C,{Z:function(){return O}});var a=e(1413),s=e(67294),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},N=T,f=e(84089),g=function(c,p){return s.createElement(f.Z,(0,a.Z)((0,a.Z)({},c),{},{ref:p,icon:N}))},u=s.forwardRef(g),O=u},12554:function(ae,C,e){e.d(C,{Z:function(){return W}});var a=e(67294),s=e(7134),T=e(83062),N={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},f=e(19478),g=Object.defineProperty,u=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,c=(v,I,A)=>I in v?g(v,I,{enumerable:!0,configurable:!0,writable:!0,value:A}):v[I]=A,p=(v,I)=>{for(var A in I||(I={}))O.call(I,A)&&c(v,A,I[A]);if(u)for(var A of u(I))m.call(I,A)&&c(v,A,I[A]);return v};const je=v=>React.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},v),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var re="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",M=e(85893),W=function(v){var I=v.user,A=v.size,J=A===void 0?24:A,R=v.marginLeft,Q=R===void 0?6:R;return I===void 0?(0,M.jsx)(s.C,{size:J,src:re,alt:"avatar"}):(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(s.C,{size:J,className:N.avatar,src:I.avatar||f.Z.AVATAR_URL,alt:"avatar"}),(0,M.jsx)(T.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:I.deleted_at?(0,M.jsx)("del",{children:(0,M.jsx)("a",{style:{marginLeft:Q,fontSize:13,color:"#ccc"},href:"/#/member/".concat(I.id),rel:"noreferrer",children:I.name})}):(0,M.jsx)("a",{onClick:function(ce){ce.stopPropagation()},style:{marginLeft:Q,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(I.id),rel:"noreferrer",children:I.name})})]})}},22763:function(ae,C,e){var a=e(32983),s=e(82759),T=e(85893);C.Z=function(N){var f=N.desc,g=N.height,u=g===void 0?180:g,O=N.image,m=O===void 0?s.Z:O;return(0,T.jsx)(a.Z,{image:m,imageStyle:{height:u},description:f||"\u6682\u65E0\u6570\u636E"})}},84298:function(ae,C,e){var a=e(97857),s=e.n(a),T=e(5574),N=e.n(T),f=e(67294),g=e(8232),u=e(17788),O=e(15746),m=e(76081),c=e(85893),p=g.Z.Item,je=function(M){var W=M.title,v=M.width,I=M.left,A=M.right,J=M.formName,R=M.record,Q=M.onFinish,ve=M.loading,ce=M.fields,Ce=M.open,ye=M.onCancel,b=M.offset,n=b===void 0?0:b,o=M.children,y=M.Footer,z=M.onTest,d=g.Z.useForm(),t=N()(d,1),i=t[0],L=function(){i.validateFields().then(function(S){Q(S)})};(0,f.useEffect)(function(){i.resetFields(),i.setFieldsValue(R)},[R]);var l={labelCol:{span:I},wrapperCol:{span:A}};return(0,c.jsxs)(u.Z,{style:{marginTop:n},confirmLoading:ve,footer:y!==void 0?(0,c.jsx)(y,{onOk:L,onCancel:ye,onTest:function(){i.validateFields().then(function(S){z(S)})}}):void 0,title:W,width:v,open:Ce,onOk:L,onCancel:ye,children:[o||null,(0,c.jsx)(g.Z,s()(s()({form:i},l),{},{name:J,initialValues:R,onFinish:Q,children:ce.map(function(r,S){return(0,c.jsx)(O.Z,{span:r.span||24,children:(0,c.jsx)(p,{label:r.label,colon:r.colon||!0,initialValue:r.initialValue,rules:[{required:r.required,message:r.message}],name:r.name,valuePropName:r.valuePropName||"value",children:(0,m.Z)(r.type,r.placeholder,r.component)})},S)})}))]})};C.Z=je},76081:function(ae,C,e){var a=e(55102),s=e(72269),T=e(67294),N=e(85893),f=a.Z.TextArea,g=function(O,m){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return c||(O==="input"?(0,N.jsx)(a.Z,{placeholder:m}):O==="textarea"?(0,N.jsx)(f,{placeholder:m}):O==="switch"?(0,N.jsx)(s.Z,{}):null)};C.Z=g},90861:function(ae,C,e){var a=e(34041),s=e(7134),T=e(19478),N=e(67294),f=e(85893),g=a.Z.Option;C.Z=function(u){var O=u.users,m=u.placeholder,c=m===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":m,p=u.onChange,je=u.value,re=u.mode,M=re===void 0?null:re;return(0,f.jsx)(a.Z,{allowClear:!0,onChange:p,value:je,showSearch:!0,placeholder:c,mode:M,filterOption:function(v,I){return I.props.children[2].toLowerCase().indexOf(v.toLowerCase())>-1||I.props.children[4].toLowerCase().indexOf(v.toLowerCase())>-1},children:O.map(function(W){return(0,f.jsxs)(g,{value:W.id,children:[(0,f.jsx)(s.C,{size:14,src:W.avatar||T.Z.AVATAR_URL})," ",W.name,"(",W.email,")"]},W.id)})})}},52099:function(ae,C,e){e.r(C),e.d(C,{default:function(){return $}});var a=e(15009),s=e.n(a),T=e(99289),N=e.n(T),f=e(5574),g=e.n(f),u=e(67294),O=e(58841),m=e(29476),c=e(11941),p=e(7134),je=e(4393),re=e(90596),M=e(35123),W=e(97857),v=e.n(W),I=e(34041),A=e(83062),J=e(71230),R=e(15746),Q=e(10981),ve=e(12554),ce=e(8232),Ce=e(66476),ye=e(14726),b=e(19478),n=e(85893),o=function(ee){var D=ee.data;return D===null?null:(0,n.jsx)(p.C,{size:96,src:D.avatar||b.Z.PROJECT_AVATAR_URL})},y=e(60219),z=e(76081),d=ce.Z.Item,t=function(D){var X=D.left,K=D.right,k=D.formName,te=D.record,Ne=D.reloadData,B=D.onFinish,_=D.fields,ie=D.project,Y=D.dispatch,Me=ce.Z.useForm(),ne=g()(Me,1),Z=ne[0],me={labelCol:{span:X},wrapperCol:{span:K}};return(0,u.useEffect)(function(){Z.setFieldsValue(te)},[te]),(0,n.jsxs)(ce.Z,v()(v()({form:Z},me),{},{name:k,initialValues:te,onFinish:B,children:[(0,n.jsxs)(J.Z,{children:[(0,n.jsx)(R.Z,{span:6}),(0,n.jsx)(R.Z,{span:12,style:{textAlign:"center"},children:(0,n.jsx)(A.Z,{title:"\u70B9\u51FB\u53EF\u4FEE\u6539\u5934\u50CF",placement:"rightTop",children:(0,n.jsx)(Ce.Z,{customRequest:function(){var H=N()(s()().mark(function Se(Pe){return s()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,Y({type:"project/uploadFile",payload:{file:Pe.file,project_id:te.id}});case 2:return Ie.next=4,Ne();case 4:case"end":return Ie.stop()}},Se)}));return function(Se){return H.apply(this,arguments)}}(),fileList:[],children:(0,n.jsx)(J.Z,{style:{textAlign:"center",marginBottom:24},children:(0,n.jsx)(o,{data:te})})})})}),(0,n.jsx)(R.Z,{span:6})]}),_.map(function(H){return(0,n.jsxs)(J.Z,{children:[(0,n.jsx)(R.Z,{span:6}),(0,n.jsx)(R.Z,{span:12,children:(0,n.jsx)(d,{label:H.label,colon:H.colon||!0,rules:[{required:H.required,message:H.message}],name:H.name,valuePropName:H.valuePropName||"value",children:(0,z.Z)(H.type,H.placeholder,H.component)})}),(0,n.jsx)(R.Z,{span:6})]})}),(0,n.jsxs)(J.Z,{children:[(0,n.jsx)(R.Z,{span:6}),(0,n.jsx)(R.Z,{span:12,style:{textAlign:"center"},children:(0,n.jsx)(d,{labelCol:{span:0},wrapperCol:{span:24},children:(0,n.jsxs)(ye.ZP,{htmlType:"submit",type:"primary",children:[(0,n.jsx)(y.Z,{}),"\u4FDD\u5B58"]})})}),(0,n.jsx)(R.Z,{span:6})]})]}))},i=(0,re.connect)(function(ee){var D=ee.project,X=ee.loading;return{project:D,loading:X}})(t),L=e(90861),l=I.Z.Option,r=function(ee){var D=ee.data,X=ee.users,K=ee.reloadData,k=function(){var B=N()(s()().mark(function _(ie){var Y,Me;return s()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Y=v()(v()({},D),ie),Z.next=3,(0,M.ty)(Y);case 3:return Me=Z.sent,Q.Z.response(Me,!0),Z.next=7,K();case 7:case"end":return Z.stop()}},_)}));return function(ie){return B.apply(this,arguments)}}(),te=(0,n.jsx)(I.Z,{placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE\u7EC4\u957F",showSearch:!0,filterOption:function(_,ie){return ie.children.props.user.name.toLowerCase().indexOf(_.toLowerCase())>=0||ie.children.props.user.email.toLowerCase().indexOf(_.toLowerCase())>=0},allowClear:!0,children:X.map(function(B){return(0,n.jsx)(l,{value:B.id,children:(0,n.jsx)(A.Z,{title:B.email,children:(0,n.jsx)(ve.Z,{user:B})})},B.value)})}),Ne=[{name:"name",label:"\u9879\u76EE\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",component:null},{name:"app",label:"\u670D\u52A1\u540D",required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u670D\u52A1\u540D\u79F0",component:null},{name:"owner",label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",required:!0,component:(0,n.jsx)(L.Z,{users:X,placeholder:"\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}),type:"select"},{name:"description",label:"\u9879\u76EE\u63CF\u8FF0",required:!1,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0",type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u63CF\u8FF0"},{name:"dingtalk_url",label:"\u9489\u9489\u901A\u77E5openapi",required:!1,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u9489\u9489\u7FA4\u673A\u5668\u4EBAapi",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u5BF9\u5E94\u9489\u9489\u7FA4\u673A\u5668\u4EBAapi"},{name:"private",label:"\u662F\u5426\u79C1\u6709",required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u662F\u5426\u79C1\u6709",type:"switch",valuePropName:"checked"}];return(0,n.jsx)(J.Z,{gutter:8,children:(0,n.jsx)(R.Z,{span:24,children:(0,n.jsx)(i,{left:6,right:18,record:D,onFinish:k,fields:Ne,reloadData:K})})})},S=e(36981),P=e(19632),U=e.n(P),G=e(66309),ue=e(86738),q=e(55102),le=e(2487),F=e(99559),se=e(31484),ge=e(51042),oe=e(84298),Le=I.Z.Option,Ee=function(D){var X=D.project,K=D.roles,k=D.users,te=D.fetchData,Ne=(0,re.useParams)(),B=(0,u.useState)(!1),_=g()(B,2),ie=_[0],Y=_[1],Me=(0,u.useState)({}),ne=g()(Me,2),Z=ne[0],me=ne[1],H=(0,u.useState)(K),Se=g()(H,2),Pe=Se[0],he=Se[1];(0,u.useEffect)(function(){var E={};k.forEach(function(j){E[j.id]=j}),me(E),he([{user_id:X.owner,project_role:"OWNER"}].concat(U()(K)))},[K,k]);var Ie=function(){var E=N()(s()().mark(function j(x,h){var Ae,de;return s()().wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Ae=v()(v()({},x),{},{project_role:h}),Te.next=3,(0,M.yO)(Ae);case 3:if(de=Te.sent,!Q.Z.response(de,!0)){Te.next=7;break}return Te.next=7,te();case 7:case"end":return Te.stop()}},j)}));return function(x,h){return E.apply(this,arguments)}}(),be=function(){var E=N()(s()().mark(function j(x){var h,Ae;return s()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return h=v()(v()({},x),{},{project_id:Ne.id}),xe.next=3,(0,M.m7)(h);case 3:if(Ae=xe.sent,!Q.Z.response(Ae,!0)){xe.next=8;break}return Y(!1),xe.next=8,te();case 8:case"end":return xe.stop()}},j)}));return function(x){return E.apply(this,arguments)}}(),Ue=function(){var E=N()(s()().mark(function j(x){var h;return s()().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return de.next=2,(0,M.Ng)({id:x.id});case 2:if(h=de.sent,!Q.Z.response(h,!0)){de.next=6;break}return de.next=6,te();case 6:case"end":return de.stop()}},j)}));return function(x){return E.apply(this,arguments)}}(),Fe=function(j){if(j===""){he([{user_id:X.owner,project_role:"OWNER"}].concat(U()(K)));return}var x=K.filter(function(h){return Z[h.user_id].email.toLowerCase().indexOf(j.toLowerCase())>-1||Z[h.user_id].name.toLowerCase().indexOf(j.toLowerCase())>-1});he([{user_id:X.owner,project_role:"OWNER"}].concat(U()(x)))},Ze=function(j){return j.project_role==="OWNER"?[(0,n.jsx)(G.Z,{color:"blue",size:"large",children:"\u8D1F\u8D23\u4EBA"})]:[(0,n.jsx)(I.Z,{style:{width:80},value:b.Z.PROJECT_ROLE_MAP[j.project_role],onChange:function(h){Ie(j,h)},children:Object.keys(b.Z.PROJECT_ROLE_MAP).map(function(x,h){return(0,n.jsx)(Le,{value:x,children:b.Z.PROJECT_ROLE_MAP[x]},h)})}),(0,n.jsx)(ue.Z,{title:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u89D2\u8272\u5417?",onConfirm:function(){Ue(j)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,n.jsx)(se.Z,{twoToneColor:"red",style:{cursor:"pointer"}})})]},Re=(0,n.jsx)(I.Z,{placeholder:"\u8BF7\u9009\u62E9\u7528\u6237",showSearch:!0,allowClear:!0,filterOption:function(j,x){return x.children.props.user.name.toLowerCase().indexOf(j.toLowerCase())>=0||x.children.props.user.email.toLowerCase().indexOf(j.toLowerCase())>=0},children:k.map(function(E){return(0,n.jsx)(Le,{value:E.id,disabled:E.id===X.owner,children:(0,n.jsx)(ve.Z,{user:E})},E.id)})}),De=(0,n.jsx)(I.Z,{placeholder:"\u8BF7\u9009\u62E9\u89D2\u8272",children:Object.keys(b.Z.PROJECT_ROLE_MAP).map(function(E,j){return(0,n.jsx)(Le,{value:E,children:b.Z.PROJECT_ROLE_MAP[E]},j)})}),pe=[{name:"user_id",label:"\u7528\u6237",required:!0,component:(0,n.jsx)(L.Z,{users:k}),type:"select"},{name:"project_role",label:"\u89D2\u8272",required:!0,component:De,type:"select"}];return(0,n.jsxs)("div",{children:[(0,n.jsx)(oe.Z,{title:"\u6DFB\u52A0\u6210\u5458",left:6,right:18,width:500,record:{},onFinish:be,fields:pe,onCancel:function(){return Y(!1)},open:ie}),(0,n.jsxs)("div",{style:{marginBottom:16},children:[(0,n.jsxs)(ye.ZP,{size:"small",type:"primary",onClick:function(){return Y(!0)},children:[(0,n.jsx)(ge.Z,{}),"\u6DFB\u52A0\u6210\u5458"]}),(0,n.jsx)(q.Z.Search,{onSearch:Fe,size:"small",style:{float:"right",marginRight:8,width:280},placeholder:"\u641C\u7D22\u7528\u6237\u90AE\u7BB1/\u59D3\u540D"})]}),(0,n.jsx)("div",{children:(0,n.jsx)(le.Z,{itemLayout:"horizontal",size:"small",dataSource:Pe,renderItem:function(j){var x;return(0,n.jsx)(le.Z.Item,{actions:Ze(j),children:(0,n.jsx)(F.Z,{avatar:!0,title:!1,loading:j.loading,active:!0,children:(0,n.jsx)(le.Z.Item.Meta,{avatar:(0,n.jsx)(p.C,{src:((x=Z[j.user_id])===null||x===void 0?void 0:x.avatar)||b.Z.AVATAR_URL}),title:Z[j.user_id]?Z[j.user_id].name:"loading",description:Z[j.user_id]?Z[j.user_id].email:"loading"})})})}})})]})},fe=Ee,Oe=e(90535),ze=e(22763),w=e(48226),V=c.Z.TabPane,$=function(){var ee=(0,re.useParams)(),D=ee.id,X=(0,u.useState)({}),K=g()(X,2),k=K[0],te=K[1],Ne=(0,u.useState)([]),B=g()(Ne,2),_=B[0],ie=B[1],Y=(0,u.useState)({}),Me=g()(Y,2),ne=Me[0],Z=Me[1],me=(0,u.useState)([]),H=g()(me,2),Se=H[0],Pe=H[1],he=(0,u.useState)(!1),Ie=g()(he,2),be=Ie[0],Ue=Ie[1],Fe=function(){var Re=N()(s()().mark(function De(){var pe,E;return s()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,(0,S.yw)();case 2:pe=x.sent,ie(pe),E={},pe.forEach(function(h){E[h.id]=h}),Z(E);case 7:case"end":return x.stop()}},De)}));return function(){return Re.apply(this,arguments)}}(),Ze=function(){var Re=N()(s()().mark(function De(){var pe,E,j=arguments;return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return pe=j.length>0&&j[0]!==void 0?j[0]:D,h.next=3,(0,M.wJ)({projectId:pe});case 3:E=h.sent,Ue(E.code!==403),Q.Z.response(E)&&(te(E.data.project),Pe(E.data.roles));case 6:case"end":return h.stop()}},De)}));return function(){return Re.apply(this,arguments)}}();return(0,u.useEffect)(function(){Ze(),Fe()},[]),be?(0,n.jsx)(O._z,{breadcrumb:null,title:(0,n.jsx)(m.m,{className:Oe.Z.sitePageHeader,onBack:function(){window.history.back()},title:(0,n.jsxs)("span",{children:[(0,n.jsx)(p.C,{src:k.avatar||b.Z.PROJECT_AVATAR_URL})," ",k.name]})}),children:(0,n.jsx)(je.Z,{bodyStyle:{padding:"8px 18px"},children:(0,n.jsxs)(c.Z,{defaultActiveKey:"1",children:[(0,n.jsx)(V,{tab:"\u6210\u5458\u5217\u8868",children:(0,n.jsx)(fe,{users:_,project:k,roles:Se,fetchData:Ze})},"1"),(0,n.jsx)(V,{tab:"\u9879\u76EE\u8BBE\u7F6E",children:(0,n.jsx)(r,{data:k,users:_,reloadData:Ze})},"2")]})})}):(0,n.jsx)(ze.Z,{height:400,desc:"\u5BF9\u4E0D\u8D77, \u4F60\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u8BE5\u9879\u76EE",image:w.Z})}},90535:function(ae,C){C.Z={card:"card___u2BoP",sitePageHeader:"sitePageHeader___sc1aN",description:"description___PxgaZ"}},48226:function(ae,C,e){var a=e(67294),s=Object.defineProperty,T=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(m,c,p)=>c in m?s(m,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):m[c]=p,u=(m,c)=>{for(var p in c||(c={}))N.call(c,p)&&g(m,p,c[p]);if(T)for(var p of T(c))f.call(c,p)&&g(m,p,c[p]);return m};const O=m=>React.createElement("svg",u({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),React.createElement("path",{d:"M193.392 229.952c48.903 0 88.546-8.679 88.546-19.384s-39.643-19.383-88.546-19.383c-48.903 0-88.546 8.678-88.546 19.383 0 10.705 39.643 19.384 88.546 19.384Z",fill:"url(#LoadingFailed_svg__a)"}),React.createElement("path",{opacity:.302,d:"M219.968 172.123c9.45-1.518 13.275-2.66 22.501-11.528 9.227-8.868 18.582 4.07 32.458-1.124 13.875-5.195 15.143-11.484 36.366 7.781 9.783 8.188 17.564 4.946 22.359 8.188 3.196 2.161 6.278 7.487 9.244 15.98H219.968c-9.788-3.397-14.682-6.219-14.682-8.464 0-3.369 5.232-9.316 14.682-10.833Z",fill:"url(#LoadingFailed_svg__b)"}),React.createElement("path",{opacity:.302,d:"M288.024 78.5c7.753 0 14.399 4.065 17.198 9.845h1.438c7.608 0 13.776 6.168 13.776 13.777v1.368c0 7.609-6.168 13.777-13.776 13.777h-35.884c-7.608 0-13.776-6.168-13.776-13.777v-1.368c0-7.609 6.168-13.776 13.776-13.776h.05c2.799-5.781 9.445-9.846 17.198-9.846Z",fill:"url(#LoadingFailed_svg__c)"}),React.createElement("path",{opacity:.302,d:"M82.523 135.118c9.45-1.517 13.275-2.659 22.501-11.527 9.227-8.868 18.582 4.07 32.458-1.125 13.875-5.194 15.143-11.483 36.366 7.782 9.783 8.187 17.564 4.946 22.359 8.187 3.196 2.161 6.278 7.488 9.244 15.981H82.523c-9.788-3.398-14.682-6.219-14.682-8.465 0-3.368 5.232-9.315 14.682-10.833Z",fill:"url(#LoadingFailed_svg__d)"}),React.createElement("path",{d:"M118.062 85.458V203.52h69.065l15.516-33.056-18.904-44.411 18.904-40.595h-84.581Z",fill:"url(#LoadingFailed_svg__e)"}),React.createElement("path",{d:"m241.507 89.724-29.141 40.005 11.582 41.36-18.69 25.182 53.494 9.578 22.977-106.326-40.222-9.8Z",fill:"url(#LoadingFailed_svg__f)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M203.918 124.067c-.772 3.815-.409 6.058 1.089 6.73 1.96.808.068 2.695-.329 2.9-.264.137-.03.528.702 1.173 1.24.649 2.151.907 2.733.775.583-.132 1.293-.781 2.131-1.948-1.561-1.111-2.105-2.002-1.63-2.674.474-.671 1.195-1.372 2.162-2.101.939-.711.902-1.253-.109-1.624.245-.673.335-1.441.272-2.303l-3.291-.928-3.35-.723-.38.723Z",fill:"url(#LoadingFailed_svg__g)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M206.463 124.704c3.313-.912 4.193.489 4.193 1.081 0 .395-.104 1.049-.313 1.964a11.4 11.4 0 0 0 .86-.399c1.016-.555 1.689-1.54 1.928-2.307.448-1.433-.868-4.473-4.279-4.019-1.19-.218-1.378-1.91-3.445-.869s-2.764.241-2.764 1.308c0 1.067.086 4.356 3.82 3.241Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.569 199.533c-1.793 1.098-3.045 1.646-3.757 1.646-1.068 0-1.645.947-.652 1.458s4.174-.226 4.989-.226c.815 0 2.912.292 2.109-2.021-.536-1.542-1.028-2.198-1.477-1.968l-1.212.325v.786Zm12.306-.109c-1.239 1.703-2.182 2.658-2.828 2.867-.968.312-1.159 1.497-.078 1.756 1.08.258 3.705-1.464 4.444-1.702.739-.238 2.743-.538 1.201-2.787-1.028-1.5-1.705-2.061-2.03-1.683l-.985.704.276.845Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M210.187 159.026c-1.167 7.695-2.812 13.709-4.937 18.043-1.161 5.398-1.904 21.738-3.447 22.357-1.544.618-2.643.248-2.587-.543.056-.791-2.055-22.696-1.815-26.102.16-2.271.183-6.776.07-13.516l12.716-.239Z",fill:"url(#LoadingFailed_svg__h)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M215.612 158.149c.166 7.388-.262 15.319-1.283 23.793-.955 10.562 1.105 16.412-.35 17.213-1.456.801-2.592.566-2.634-.226-.042-.792-4.476-22.171-4.656-25.581-.12-2.273-.651-6.748-1.591-13.424l10.514-1.775Z",fill:"url(#LoadingFailed_svg__i)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M198.258 138.609c-2.036 4.435-3.278 7.237-3.727 8.404-.209.485-2.902 1.691-8.078 3.618-1.736.148-2.728.65-2.977 1.505-.141.549-.078 1.49.805 1.568.589.052 1.429-.38 2.519-1.295 5.782.202 9.222-.736 10.317-2.814 1.096-2.079 2.765-5.295 5.007-9.651l-3.597-1.708-.269.373Z",fill:"url(#LoadingFailed_svg__j)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M204.667 133.012c1.739 1.868 3.337 1.868 4.795 0 .253-.169 5.606-.433 9.4 5.671.039.231-1.026 1.49-3.193 3.775h-.663c1.473 7.509 1.694 13.492.663 17.947-.135.463-6.219.724-18.253.781-.031-10.047.641-15.987 2.015-17.821-.168-.338-1.416-1.44-3.744-3.308.733-1.562 1.836-3.063 3.308-4.504 1.471-1.441 3.362-2.288 5.672-2.541Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M214.2 141.754c.106.851 3.424 3.757 4.658 4.799.307.014-6.299 5.13-6.811 5.726-1.399 1.624-.912 3.386.616 3.386 1.527 0 1.049-2.685 1.304-2.825 4.44-2.439 4.891-2.439 7.829-4.095 2.557-1.358-.862-5.467-4.158-9.998-3.296-4.532-3.543 2.156-3.438 3.007Z",fill:"url(#LoadingFailed_svg__k)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M212.965 133.533c.906.429 1.537.749 1.893.961.929.553 1.565 1.098 1.974 1.426 1.27 1.017 1.91 2.061 2.277 2.843.307.542-2.952 5.446-6.144 4.89-.436-.017-1.13-1.029-2.083-3.036l2.083-7.084Z",fill:"#5B5BEA"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"LoadingFailed_svg__a",x1:145.165,y1:210.048,x2:254.934,y2:220.811,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F8F8FB"}),React.createElement("stop",{offset:1,stopColor:"#F1F1F5"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__b",x1:274.091,y1:154.181,x2:274.091,y2:191.42,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__c",x1:288.718,y1:78.5,x2:288.718,y2:117.267,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__d",x1:136.646,y1:117.176,x2:136.646,y2:154.416,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__e",x1:168.174,y1:103.668,x2:138.112,y2:203.034,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__f",x1:235.365,y1:114.665,x2:239.547,y2:209.425,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__g",x1:205.089,y1:125.334,x2:211.253,y2:132.128,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__h",x1:201.445,y1:197.841,x2:200.676,y2:160.243,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__i",x1:212.568,y1:197.671,x2:207.769,y2:160.362,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__j",x1:192.771,y1:141.611,x2:195.457,y2:149.08,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__k",x1:216.954,y1:138.813,x2:219.194,y2:150.945,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"}))));C.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTkzLjM5MiAyMjkuOTUyYzQ4LjkwMyAwIDg4LjU0Ni04LjY3OSA4OC41NDYtMTkuMzg0cy0zOS42NDMtMTkuMzgzLTg4LjU0Ni0xOS4zODNjLTQ4LjkwMyAwLTg4LjU0NiA4LjY3OC04OC41NDYgMTkuMzgzIDAgMTAuNzA1IDM5LjY0MyAxOS4zODQgODguNTQ2IDE5LjM4NFoiIGZpbGw9InVybCgjYSkiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNMjE5Ljk2OCAxNzIuMTIzYzkuNDUtMS41MTggMTMuMjc1LTIuNjYgMjIuNTAxLTExLjUyOCA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjQgMTMuODc1LTUuMTk1IDE1LjE0My0xMS40ODQgMzYuMzY2IDcuNzgxIDkuNzgzIDguMTg4IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODggMy4xOTYgMi4xNjEgNi4yNzggNy40ODcgOS4yNDQgMTUuOThIMjE5Ljk2OGMtOS43ODgtMy4zOTctMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NCAwLTMuMzY5IDUuMjMyLTkuMzE2IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggb3BhY2l0eT0iLjMwMiIgZD0iTTI4OC4wMjQgNzguNWM3Ljc1MyAwIDE0LjM5OSA0LjA2NSAxNy4xOTggOS44NDVoMS40MzhjNy42MDggMCAxMy43NzYgNi4xNjggMTMuNzc2IDEzLjc3N3YxLjM2OGMwIDcuNjA5LTYuMTY4IDEzLjc3Ny0xMy43NzYgMTMuNzc3aC0zNS44ODRjLTcuNjA4IDAtMTMuNzc2LTYuMTY4LTEzLjc3Ni0xMy43Nzd2LTEuMzY4YzAtNy42MDkgNi4xNjgtMTMuNzc2IDEzLjc3Ni0xMy43NzZoLjA1YzIuNzk5LTUuNzgxIDkuNDQ1LTkuODQ2IDE3LjE5OC05Ljg0NloiIGZpbGw9InVybCgjYykiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNODIuNTIzIDEzNS4xMThjOS40NS0xLjUxNyAxMy4yNzUtMi42NTkgMjIuNTAxLTExLjUyNyA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjUgMTMuODc1LTUuMTk0IDE1LjE0My0xMS40ODMgMzYuMzY2IDcuNzgyIDkuNzgzIDguMTg3IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODcgMy4xOTYgMi4xNjEgNi4yNzggNy40ODggOS4yNDQgMTUuOTgxSDgyLjUyM2MtOS43ODgtMy4zOTgtMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NSAwLTMuMzY4IDUuMjMyLTkuMzE1IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2QpIi8+PHBhdGggZD0iTTExOC4wNjIgODUuNDU4VjIwMy41Mmg2OS4wNjVsMTUuNTE2LTMzLjA1Ni0xOC45MDQtNDQuNDExIDE4LjkwNC00MC41OTVoLTg0LjU4MVoiIGZpbGw9InVybCgjZSkiLz48cGF0aCBkPSJtMjQxLjUwNyA4OS43MjQtMjkuMTQxIDQwLjAwNSAxMS41ODIgNDEuMzYtMTguNjkgMjUuMTgyIDUzLjQ5NCA5LjU3OCAyMi45NzctMTA2LjMyNi00MC4yMjItOS44WiIgZmlsbD0idXJsKCNmKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjAzLjkxOCAxMjQuMDY3Yy0uNzcyIDMuODE1LS40MDkgNi4wNTggMS4wODkgNi43MyAxLjk2LjgwOC4wNjggMi42OTUtLjMyOSAyLjktLjI2NC4xMzctLjAzLjUyOC43MDIgMS4xNzMgMS4yNC42NDkgMi4xNTEuOTA3IDIuNzMzLjc3NS41ODMtLjEzMiAxLjI5My0uNzgxIDIuMTMxLTEuOTQ4LTEuNTYxLTEuMTExLTIuMTA1LTIuMDAyLTEuNjMtMi42NzQuNDc0LS42NzEgMS4xOTUtMS4zNzIgMi4xNjItMi4xMDEuOTM5LS43MTEuOTAyLTEuMjUzLS4xMDktMS42MjQuMjQ1LS42NzMuMzM1LTEuNDQxLjI3Mi0yLjMwM2wtMy4yOTEtLjkyOC0zLjM1LS43MjMtLjM4LjcyM1oiIGZpbGw9InVybCgjZykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIwNi40NjMgMTI0LjcwNGMzLjMxMy0uOTEyIDQuMTkzLjQ4OSA0LjE5MyAxLjA4MSAwIC4zOTUtLjEwNCAxLjA0OS0uMzEzIDEuOTY0YTExLjQgMTEuNCAwIDAgMCAuODYtLjM5OWMxLjAxNi0uNTU1IDEuNjg5LTEuNTQgMS45MjgtMi4zMDcuNDQ4LTEuNDMzLS44NjgtNC40NzMtNC4yNzktNC4wMTktMS4xOS0uMjE4LTEuMzc4LTEuOTEtMy40NDUtLjg2OXMtMi43NjQuMjQxLTIuNzY0IDEuMzA4YzAgMS4wNjcuMDg2IDQuMzU2IDMuODIgMy4yNDFaIiBmaWxsPSIjMzUzNTY0Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xOTkuNTY5IDE5OS41MzNjLTEuNzkzIDEuMDk4LTMuMDQ1IDEuNjQ2LTMuNzU3IDEuNjQ2LTEuMDY4IDAtMS42NDUuOTQ3LS42NTIgMS40NThzNC4xNzQtLjIyNiA0Ljk4OS0uMjI2Yy44MTUgMCAyLjkxMi4yOTIgMi4xMDktMi4wMjEtLjUzNi0xLjU0Mi0xLjAyOC0yLjE5OC0xLjQ3Ny0xLjk2OGwtMS4yMTIuMzI1di43ODZabTEyLjMwNi0uMTA5Yy0xLjIzOSAxLjcwMy0yLjE4MiAyLjY1OC0yLjgyOCAyLjg2Ny0uOTY4LjMxMi0xLjE1OSAxLjQ5Ny0uMDc4IDEuNzU2IDEuMDguMjU4IDMuNzA1LTEuNDY0IDQuNDQ0LTEuNzAyLjczOS0uMjM4IDIuNzQzLS41MzggMS4yMDEtMi43ODctMS4wMjgtMS41LTEuNzA1LTIuMDYxLTIuMDMtMS42ODNsLS45ODUuNzA0LjI3Ni44NDVaIiBmaWxsPSIjM0UzRTZFIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTAuMTg3IDE1OS4wMjZjLTEuMTY3IDcuNjk1LTIuODEyIDEzLjcwOS00LjkzNyAxOC4wNDMtMS4xNjEgNS4zOTgtMS45MDQgMjEuNzM4LTMuNDQ3IDIyLjM1Ny0xLjU0NC42MTgtMi42NDMuMjQ4LTIuNTg3LS41NDMuMDU2LS43OTEtMi4wNTUtMjIuNjk2LTEuODE1LTI2LjEwMi4xNi0yLjI3MS4xODMtNi43NzYuMDctMTMuNTE2bDEyLjcxNi0uMjM5WiIgZmlsbD0idXJsKCNoKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjE1LjYxMiAxNTguMTQ5Yy4xNjYgNy4zODgtLjI2MiAxNS4zMTktMS4yODMgMjMuNzkzLS45NTUgMTAuNTYyIDEuMTA1IDE2LjQxMi0uMzUgMTcuMjEzLTEuNDU2LjgwMS0yLjU5Mi41NjYtMi42MzQtLjIyNi0uMDQyLS43OTItNC40NzYtMjIuMTcxLTQuNjU2LTI1LjU4MS0uMTItMi4yNzMtLjY1MS02Ljc0OC0xLjU5MS0xMy40MjRsMTAuNTE0LTEuNzc1WiIgZmlsbD0idXJsKCNpKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTk4LjI1OCAxMzguNjA5Yy0yLjAzNiA0LjQzNS0zLjI3OCA3LjIzNy0zLjcyNyA4LjQwNC0uMjA5LjQ4NS0yLjkwMiAxLjY5MS04LjA3OCAzLjYxOC0xLjczNi4xNDgtMi43MjguNjUtMi45NzcgMS41MDUtLjE0MS41NDktLjA3OCAxLjQ5LjgwNSAxLjU2OC41ODkuMDUyIDEuNDI5LS4zOCAyLjUxOS0xLjI5NSA1Ljc4Mi4yMDIgOS4yMjItLjczNiAxMC4zMTctMi44MTQgMS4wOTYtMi4wNzkgMi43NjUtNS4yOTUgNS4wMDctOS42NTFsLTMuNTk3LTEuNzA4LS4yNjkuMzczWiIgZmlsbD0idXJsKCNqKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjA0LjY2NyAxMzMuMDEyYzEuNzM5IDEuODY4IDMuMzM3IDEuODY4IDQuNzk1IDAgLjI1My0uMTY5IDUuNjA2LS40MzMgOS40IDUuNjcxLjAzOS4yMzEtMS4wMjYgMS40OS0zLjE5MyAzLjc3NWgtLjY2M2MxLjQ3MyA3LjUwOSAxLjY5NCAxMy40OTIuNjYzIDE3Ljk0Ny0uMTM1LjQ2My02LjIxOS43MjQtMTguMjUzLjc4MS0uMDMxLTEwLjA0Ny42NDEtMTUuOTg3IDIuMDE1LTE3LjgyMS0uMTY4LS4zMzgtMS40MTYtMS40NC0zLjc0NC0zLjMwOC43MzMtMS41NjIgMS44MzYtMy4wNjMgMy4zMDgtNC41MDQgMS40NzEtMS40NDEgMy4zNjItMi4yODggNS42NzItMi41NDFaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTQuMiAxNDEuNzU0Yy4xMDYuODUxIDMuNDI0IDMuNzU3IDQuNjU4IDQuNzk5LjMwNy4wMTQtNi4yOTkgNS4xMy02LjgxMSA1LjcyNi0xLjM5OSAxLjYyNC0uOTEyIDMuMzg2LjYxNiAzLjM4NiAxLjUyNyAwIDEuMDQ5LTIuNjg1IDEuMzA0LTIuODI1IDQuNDQtMi40MzkgNC44OTEtMi40MzkgNy44MjktNC4wOTUgMi41NTctMS4zNTgtLjg2Mi01LjQ2Ny00LjE1OC05Ljk5OC0zLjI5Ni00LjUzMi0zLjU0MyAyLjE1Ni0zLjQzOCAzLjAwN1oiIGZpbGw9InVybCgjaykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIxMi45NjUgMTMzLjUzM2MuOTA2LjQyOSAxLjUzNy43NDkgMS44OTMuOTYxLjkyOS41NTMgMS41NjUgMS4wOTggMS45NzQgMS40MjYgMS4yNyAxLjAxNyAxLjkxIDIuMDYxIDIuMjc3IDIuODQzLjMwNy41NDItMi45NTIgNS40NDYtNi4xNDQgNC44OS0uNDM2LS4wMTctMS4xMy0xLjAyOS0yLjA4My0zLjAzNmwyLjA4My03LjA4NFoiIGZpbGw9IiM1QjVCRUEiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxNDUuMTY1IiB5MT0iMjEwLjA0OCIgeDI9IjI1NC45MzQiIHkyPSIyMjAuODExIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y4RjhGQiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0YxRjFGNSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMjc0LjA5MSIgeTE9IjE1NC4xODEiIHgyPSIyNzQuMDkxIiB5Mj0iMTkxLjQyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIyODguNzE4IiB5MT0iNzguNSIgeDI9IjI4OC43MTgiIHkyPSIxMTcuMjY3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSIxMzYuNjQ2IiB5MT0iMTE3LjE3NiIgeDI9IjEzNi42NDYiIHkyPSIxNTQuNDE2IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImUiIHgxPSIxNjguMTc0IiB5MT0iMTAzLjY2OCIgeDI9IjEzOC4xMTIiIHkyPSIyMDMuMDM0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UzRTNFQSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJmIiB4MT0iMjM1LjM2NSIgeTE9IjExNC42NjUiIHgyPSIyMzkuNTQ3IiB5Mj0iMjA5LjQyNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFM0UzRUEiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjIwNS4wODkiIHkxPSIxMjUuMzM0IiB4Mj0iMjExLjI1MyIgeTI9IjEzMi4xMjgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImgiIHgxPSIyMDEuNDQ1IiB5MT0iMTk3Ljg0MSIgeDI9IjIwMC42NzYiIHkyPSIxNjAuMjQzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzc4NzhDMyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzVDNUNCQiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJpIiB4MT0iMjEyLjU2OCIgeTE9IjE5Ny42NzEiIHgyPSIyMDcuNzY5IiB5Mj0iMTYwLjM2MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODc4QzMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1QzVDQkIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjE5Mi43NzEiIHkxPSIxNDEuNjExIiB4Mj0iMTk1LjQ1NyIgeTI9IjE0OS4wOCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjIxNi45NTQiIHkxPSIxMzguODEzIiB4Mj0iMjE5LjE5NCIgeTI9IjE1MC45NDUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PC9zdmc+"},86738:function(ae,C,e){e.d(C,{Z:function(){return n}});var a=e(67294),s=e(26702),T=e(93967),N=e.n(T),f=e(21770),g=e(98423),u=e(53124),O=e(55241),m=e(86743),c=e(81643),p=e(14726),je=e(33671),re=e(10110),M=e(24457),W=e(60590),v=e(91945);const I=o=>{const{componentCls:y,iconCls:z,antCls:d,zIndexPopup:t,colorText:i,colorWarning:L,marginXXS:l,marginXS:r,fontSize:S,fontWeightStrong:P,colorTextHeading:U}=o;return{[y]:{zIndex:t,[`&${d}-popover`]:{fontSize:S},[`${y}-message`]:{marginBottom:r,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${y}-message-icon ${z}`]:{color:L,fontSize:S,lineHeight:1,marginInlineEnd:r},[`${y}-title`]:{fontWeight:P,color:U,"&:only-child":{fontWeight:"normal"}},[`${y}-description`]:{marginTop:l,color:i}},[`${y}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:r}}}}},A=o=>{const{zIndexPopupBase:y}=o;return{zIndexPopup:y+60}};var J=(0,v.I$)("Popconfirm",o=>I(o),A,{resetStyle:!1}),R=function(o,y){var z={};for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&y.indexOf(d)<0&&(z[d]=o[d]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,d=Object.getOwnPropertySymbols(o);t{const{prefixCls:y,okButtonProps:z,cancelButtonProps:d,title:t,description:i,cancelText:L,okText:l,okType:r="primary",icon:S=a.createElement(s.Z,null),showCancel:P=!0,close:U,onConfirm:G,onCancel:ue,onPopupClick:q}=o,{getPrefixCls:le}=a.useContext(u.E_),[F]=(0,re.Z)("Popconfirm",M.Z.Popconfirm),se=(0,c.Z)(t),ge=(0,c.Z)(i);return a.createElement("div",{className:`${y}-inner-content`,onClick:q},a.createElement("div",{className:`${y}-message`},S&&a.createElement("span",{className:`${y}-message-icon`},S),a.createElement("div",{className:`${y}-message-text`},se&&a.createElement("div",{className:N()(`${y}-title`)},se),ge&&a.createElement("div",{className:`${y}-description`},ge))),a.createElement("div",{className:`${y}-buttons`},P&&a.createElement(p.ZP,Object.assign({onClick:ue,size:"small"},d),L||(F==null?void 0:F.cancelText)),a.createElement(m.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,je.nx)(r)),z),actionFn:G,close:U,prefixCls:le("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},l||(F==null?void 0:F.okText))))};var ce=o=>{const{prefixCls:y,placement:z,className:d,style:t}=o,i=R(o,["prefixCls","placement","className","style"]),{getPrefixCls:L}=a.useContext(u.E_),l=L("popconfirm",y),[r]=J(l);return r(a.createElement(W.ZP,{placement:z,className:N()(l,d),style:t,content:a.createElement(Q,Object.assign({prefixCls:l},i))}))},Ce=function(o,y){var z={};for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&y.indexOf(d)<0&&(z[d]=o[d]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,d=Object.getOwnPropertySymbols(o);t{var z,d;const{prefixCls:t,placement:i="top",trigger:L="click",okType:l="primary",icon:r=a.createElement(s.Z,null),children:S,overlayClassName:P,onOpenChange:U,onVisibleChange:G}=o,ue=Ce(o,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:q}=a.useContext(u.E_),[le,F]=(0,f.Z)(!1,{value:(z=o.open)!==null&&z!==void 0?z:o.visible,defaultValue:(d=o.defaultOpen)!==null&&d!==void 0?d:o.defaultVisible}),se=(w,V)=>{F(w,!0),G==null||G(w),U==null||U(w,V)},ge=w=>{se(!1,w)},oe=w=>{var V;return(V=o.onConfirm)===null||V===void 0?void 0:V.call(void 0,w)},Le=w=>{var V;se(!1,w),(V=o.onCancel)===null||V===void 0||V.call(void 0,w)},Ee=(w,V)=>{const{disabled:$=!1}=o;$||se(w,V)},fe=q("popconfirm",t),Oe=N()(fe,P),[ze]=J(fe);return ze(a.createElement(O.Z,Object.assign({},(0,g.Z)(ue,["title"]),{trigger:L,placement:i,onOpenChange:Ee,open:le,ref:y,overlayClassName:Oe,content:a.createElement(Q,Object.assign({okType:l,icon:r},o,{prefixCls:fe,close:ge,onConfirm:oe,onCancel:Le})),"data-popover-inject":!0}),S))});b._InternalPanelDoNotUseOrYouWillBeFired=ce;var n=b},66309:function(ae,C,e){e.d(C,{Z:function(){return d}});var a=e(67294),s=e(93967),T=e.n(s),N=e(98423),f=e(98787),g=e(69760),u=e(96159),O=e(45353),m=e(53124),c=e(54548),p=e(10274),je=e(14747),re=e(45503),M=e(91945);const W=t=>{const{paddingXXS:i,lineWidth:L,tagPaddingHorizontal:l,componentCls:r,calc:S}=t,P=S(l).sub(L).equal(),U=S(i).sub(L).equal();return{[r]:Object.assign(Object.assign({},(0,je.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:P,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",background:t.defaultBg,border:`${(0,c.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${r}-close-icon`]:{marginInlineStart:U,fontSize:t.tagIconSize,color:t.colorTextDescription,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:P}}),[`${r}-borderless`]:{borderColor:"transparent",background:t.tagBorderlessBg}}},v=t=>{const{lineWidth:i,fontSizeIcon:L,calc:l}=t,r=t.fontSizeSM;return(0,re.TS)(t,{tagFontSize:r,tagLineHeight:(0,c.bf)(l(t.lineHeightSM).mul(r).equal()),tagIconSize:l(L).sub(l(i).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},I=t=>({defaultBg:new p.C(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText});var A=(0,M.I$)("Tag",t=>{const i=v(t);return W(i)},I),J=function(t,i){var L={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&i.indexOf(l)<0&&(L[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,l=Object.getOwnPropertySymbols(t);r{const{prefixCls:L,style:l,className:r,checked:S,onChange:P,onClick:U}=t,G=J(t,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ue,tag:q}=a.useContext(m.E_),le=Ee=>{P==null||P(!S),U==null||U(Ee)},F=ue("tag",L),[se,ge,oe]=A(F),Le=T()(F,`${F}-checkable`,{[`${F}-checkable-checked`]:S},q==null?void 0:q.className,r,ge,oe);return se(a.createElement("span",Object.assign({},G,{ref:i,style:Object.assign(Object.assign({},l),q==null?void 0:q.style),className:Le,onClick:le})))}),ve=e(98719);const ce=t=>(0,ve.Z)(t,(i,L)=>{let{textColor:l,lightBorderColor:r,lightColor:S,darkColor:P}=L;return{[`${t.componentCls}${t.componentCls}-${i}`]:{color:l,background:S,borderColor:r,"&-inverse":{color:t.colorTextLightSolid,background:P,borderColor:P},[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ce=(0,M.bk)(["Tag","preset"],t=>{const i=v(t);return ce(i)},I);function ye(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const b=(t,i,L)=>{const l=ye(L);return{[`${t.componentCls}${t.componentCls}-${i}`]:{color:t[`color${L}`],background:t[`color${l}Bg`],borderColor:t[`color${l}Border`],[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}};var n=(0,M.bk)(["Tag","status"],t=>{const i=v(t);return[b(i,"success","Success"),b(i,"processing","Info"),b(i,"error","Error"),b(i,"warning","Warning")]},I),o=function(t,i){var L={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&i.indexOf(l)<0&&(L[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,l=Object.getOwnPropertySymbols(t);r{const{prefixCls:L,className:l,rootClassName:r,style:S,children:P,icon:U,color:G,onClose:ue,bordered:q=!0,visible:le}=t,F=o(t,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:se,direction:ge,tag:oe}=a.useContext(m.E_),[Le,Ee]=a.useState(!0),fe=(0,N.Z)(F,["closeIcon","closable"]);a.useEffect(()=>{le!==void 0&&Ee(le)},[le]);const Oe=(0,f.o2)(G),ze=(0,f.yT)(G),w=Oe||ze,V=Object.assign(Object.assign({backgroundColor:G&&!w?G:void 0},oe==null?void 0:oe.style),S),$=se("tag",L),[ee,D,X]=A($),K=T()($,oe==null?void 0:oe.className,{[`${$}-${G}`]:w,[`${$}-has-color`]:G&&!w,[`${$}-hidden`]:!Le,[`${$}-rtl`]:ge==="rtl",[`${$}-borderless`]:!q},l,r,D,X),k=Y=>{Y.stopPropagation(),ue==null||ue(Y),!Y.defaultPrevented&&Ee(!1)},[,te]=(0,g.Z)((0,g.w)(t),(0,g.w)(oe),{closable:!1,closeIconRender:Y=>{const Me=a.createElement("span",{className:`${$}-close-icon`,onClick:k},Y);return(0,u.wm)(Y,Me,ne=>({onClick:Z=>{var me;(me=ne==null?void 0:ne.onClick)===null||me===void 0||me.call(ne,Z),k(Z)},className:T()(ne==null?void 0:ne.className,`${$}-close-icon`)}))}}),Ne=typeof F.onClick=="function"||P&&P.type==="a",B=U||null,_=B?a.createElement(a.Fragment,null,B,P&&a.createElement("span",null,P)):P,ie=a.createElement("span",Object.assign({},fe,{ref:i,className:K,style:V}),_,te,Oe&&a.createElement(Ce,{key:"preset",prefixCls:$}),ze&&a.createElement(n,{key:"status",prefixCls:$}));return ee(Ne?a.createElement(O.Z,{component:"Tag"},ie):ie)});z.CheckableTag=Q;var d=z}}]); diff --git a/statics/p__ApiTest__TestCaseComponent.d0d1300f.async.js b/statics/p__ApiTest__TestCaseComponent.d0d1300f.async.js new file mode 100644 index 00000000..5a871c8d --- /dev/null +++ b/statics/p__ApiTest__TestCaseComponent.d0d1300f.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1244],{69957:function(jt,f,i){i.r(f),i.d(f,{default:function(){return he}});var Ne=i(15009),d=i.n(Ne),ce=i(97857),x=i.n(ce),re=i(99289),Z=i.n(re),ne=i(52677),v=i.n(ne),oe=i(5574),n=i.n(oe),ye=i(58841),w=i(90596),o=i(67294),G=i(8232),O=i(66309),P=i(4393),F=i(32983),Q=i(50136),ge=i(75081),Le=i(71230),de=i(15746),k=i(14726),l=i(26412),Te=i(83062),xe=i(40411),B=i(88496),De=i(87023),W=i(19478),Ae=i(80242),lt=i(72729),Ee=i(47389),Se=i(74842),V=i(59697),me=i(10981),J=i(12554),ze=i(44046),Ce=i(86452),pe=Object.defineProperty,H=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,X=(I,a,s)=>a in I?pe(I,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):I[a]=s,Oe=(I,a)=>{for(var s in a||(a={}))Ze.call(a,s)&&X(I,s,a[s]);if(H)for(var s of H(a))ve.call(a,s)&&X(I,s,a[s]);return I};const Nt=I=>React.createElement("svg",Oe({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I),React.createElement("path",{opacity:.302,d:"M81.642 112.211c9.45-1.518 13.275-2.66 22.501-11.528 9.227-8.868 18.582 4.07 32.458-1.124 13.875-5.194 15.143-11.484 36.366 7.781 9.783 8.188 17.564 4.946 22.359 8.188 3.196 2.161 6.278 7.487 9.244 15.98H81.642c-9.788-3.397-14.682-6.219-14.682-8.464 0-3.369 5.232-9.316 14.682-10.833Z",fill:"url(#NoPermission_svg__a)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.416 199.459c0 5.402-33.055 4.079-42.538 5.417-15.905 2.244 18.356 12.366-39.395 13.498-48.309.946-100.331-3.471-99.018-14.867 1.313-11.397 39.736-17.608 88.395-17.608 48.66 0 92.556 2.213 92.556 13.56Z",fill:"url(#NoPermission_svg__b)"}),React.createElement("path",{opacity:.302,d:"M67.105 157.749v63.12l22.798 8.379v-65.521l-22.798-5.978Z",fill:"url(#NoPermission_svg__c)"}),React.createElement("path",{opacity:.302,d:"m89.868 163.635 21.141-7.769v65.297l-21.141 7.99v-65.518Z",fill:"url(#NoPermission_svg__d)"}),React.createElement("path",{opacity:.302,d:"m66.96 157.686 21.534-7.911 22.51 6.14-21.148 7.773-22.896-6.002Z",fill:"url(#NoPermission_svg__e)"}),React.createElement("path",{d:"M259.312 84.644H123.638a2.018 2.018 0 0 0-2.018 2.019v101.165c0 1.114.903 2.018 2.018 2.018h135.674a2.019 2.019 0 0 0 2.019-2.018V86.663a2.019 2.019 0 0 0-2.019-2.019Z",fill:"url(#NoPermission_svg__f)"}),React.createElement("path",{d:"M169.196 155.326h-29.11a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h29.11a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm-15.555 9.148h-13.555a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h13.555a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm36.943-9.148h-14.527a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h14.527a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm50.555 0h-45.638a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h45.638a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm-7.582 9.148h-57.5a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h57.5a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Z",fill:"#EBEBF2"}),React.createElement("path",{d:"M193.833 144.489c9.731 0 17.621-7.889 17.621-17.621s-7.89-17.621-17.621-17.621c-9.732 0-17.622 7.889-17.622 17.621s7.89 17.621 17.622 17.621Z",fill:"url(#NoPermission_svg__g)"}),React.createElement("path",{d:"M285.972 90.769h-49.11a.726.726 0 0 0-.726.726v36.718c0 .401.325.727.726.727h49.11a.727.727 0 0 0 .726-.727V91.495a.726.726 0 0 0-.726-.726Z",fill:"url(#NoPermission_svg__h)"}),React.createElement("path",{d:"M253.216 115.007h-10.259a.5.5 0 0 0-.5.5v.865a.5.5 0 0 0 .5.5h10.259a.5.5 0 0 0 .5-.5v-.865a.5.5 0 0 0-.5-.5Zm-5.629 3.32h-4.63a.5.5 0 0 0-.5.5v.864a.5.5 0 0 0 .5.5h4.63a.5.5 0 0 0 .5-.5v-.864a.5.5 0 0 0-.5-.5Zm13.37-3.32h-4.981a.5.5 0 0 0-.5.5v.865a.5.5 0 0 0 .5.5h4.981a.5.5 0 0 0 .5-.5v-.865a.5.5 0 0 0-.5-.5Zm18.297 0h-16.241a.5.5 0 0 0-.5.5v.865a.5.5 0 0 0 .5.5h16.241a.5.5 0 0 0 .5-.5v-.865a.5.5 0 0 0-.5-.5Zm0 3.32h-23.278a.5.5 0 0 0-.5.5v.864a.5.5 0 0 0 .5.5h23.278a.5.5 0 0 0 .5-.5v-.864a.5.5 0 0 0-.5-.5Z",fill:"#EBEBF2"}),React.createElement("path",{d:"M268.444 159.805a7.21 7.21 0 0 0-7.21-7.21 7.21 7.21 0 0 0-7.211 7.21v11.592a7.211 7.211 0 0 0 14.421 0v-11.592Z",stroke:"#E2E2EA",strokeWidth:3.877}),React.createElement("path",{d:"M280.969 164.155h-39.471a.97.97 0 0 0-.969.969v35.665a.97.97 0 0 0 .969.969h39.471a.97.97 0 0 0 .969-.969v-35.665a.97.97 0 0 0-.969-.969Z",fill:"url(#NoPermission_svg__i)"}),React.createElement("path",{d:"M261.234 174.761a5.3 5.3 0 0 1 5.296 5.303 5.302 5.302 0 0 1-2.889 4.724v5.395a.97.97 0 0 1-.969.969h-2.877a.97.97 0 0 1-.969-.969v-5.394a5.304 5.304 0 0 1-2.889-4.725 5.3 5.3 0 0 1 5.297-5.303Z",fill:"url(#NoPermission_svg__j)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.371 196.657c-.217 2.107-.149 3.463.204 4.069.529.909-.137 1.902-1.144 1.328-1.006-.575-1.84-3.671-2.243-4.365-.404-.693-1.736-2.322.989-2.865 1.817-.361 2.721-.291 2.712.212l.274 1.204-.792.417Zm45.158 2.114c2.091.604 3.499.818 4.224.639 1.087-.268 1.905.496 1.017 1.237-.887.74-4.304.83-5.134 1.035-.83.204-2.894 1.011-2.637-1.413.172-1.616.514-2.37 1.026-2.262l1.313.008.191.756Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.06 123.912c1.205 1.751.998 5.92-.238 6.671-.526.32-1.64.603-2.706.374.106.553.205 1.026.297 1.417.274 1.164.74 1.953 1.399 2.366l-6.709-.356c1.061-.674 1.738-1.445 2.03-2.312.189-.559.324-1.475.405-2.746-1.088-1.163-1.828-2.732-1.758-4.182.172-3.559 6.074-2.984 7.28-1.232Z",fill:"url(#NoPermission_svg__k)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M131.602 130.487c-.793-2.361-2.955-5.146-2.784-6.215.115-.713.54-1.165 1.275-1.357.271-1.414 1.472-2.043 3.603-1.888.474.034 1.157.475 1.636.432.857-.076 1.135-.156 1.727-.119.779.05 1.252.368 1.555.905.372.66.056 1.618-.833 2.256-.8.574-1.676.295-2.266.512-.396.146-.957 1.007-1.685 2.585l-.152-.483c-.376-.96-.828-1.323-1.356-1.088-.529.236-.631.658-.308 1.267.372 1.182.537 1.945.495 2.289-.042.344-.344.645-.907.904Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M127.898 140.919c-5.34 3.568-8.578 8.357-9.716 14.367-.022 1.443 1.963 3.02.298 3.606-1.665.585-1.998-.998-2.037-3.007-.04-2.009-1.005-8.594 1.179-11.908 1.455-2.209 3.835-4.66 7.138-7.352l3.138 4.294Z",fill:"url(#NoPermission_svg__l)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M136.694 140.679c.77 1.996 2.617 4.371 5.544 7.126 2.732 1.719 6.429.031 12.503-.827 3.637.08 5.076-2.327 4.019-2.908-1.058-.58-3.258.067-3.745.964-.324.598-3.852.238-10.582-1.08l-2.641-4.584-5.098 1.309Z",fill:"url(#NoPermission_svg__m)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.282 146.689c4.148-2.607 6.149-4.131 6.003-4.573-.219-.663-2.662-4.498-4.013-5.648-1.35-1.15-3.955-3.753-4.926 0-.647 2.501.331 5.909 2.936 10.221Zm-18.241-6.987c3.05 2.426 4.753 3.51 5.11 3.252.535-.387 6.683-3.634 7.331-5.164.647-1.531.647-4.695-2.023-5.128-1.78-.289-5.252 2.057-10.418 7.04Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m148.8 198.472 3.013-.347c-.644-5.08-2.057-11.14-4.239-18.181-2.181-7.042-4.799-13.394-7.853-19.058h-14.832c3.151 4.903 5.775 8.707 7.872 11.413 2.892 3.733 6.443 8.574 8.455 11.948 4.2 7.044 6.728 11.786 7.584 14.225Z",fill:"url(#NoPermission_svg__n)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m105.635 194.146.995 2.763c11.544-1.152 18.095-7.932 20.616-10.347 2.52-2.416 4.542-10.937 7.767-26.578l-12.384-1.356c-2.043 12.808-1.579 23.673-1.821 24.21-.241.538-6.241 8.082-15.173 11.308Z",fill:"url(#NoPermission_svg__o)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M139.982 137.862c.293-1.125.329 2.51.106 10.906-.102 3.828 2.234 11.106-.019 12.742-3.077 2.235-19.276 2.074-19.276.617 0-4.956 1.395-12.424 4.096-18.65 2.163-4.984 1.982-10.046 5.332-10.791.834-.185 1.817.747 3.19 1.024 1.155.233 1.842-.294 2.712 0 2.139.722 3.426 2.106 3.859 4.152Z",fill:"#5B5BEA"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"NoPermission_svg__a",x1:135.765,y1:94.269,x2:135.765,y2:130.982,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__b",x1:132.035,y1:202.073,x2:255.199,y2:214.332,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EDEDF2"}),React.createElement("stop",{offset:1,stopColor:"#F9F9FC",stopOpacity:.88})),React.createElement("linearGradient",{id:"NoPermission_svg__c",x1:71.357,y1:165.662,x2:71.357,y2:227.242,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EEE"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__d",x1:100.438,y1:155.866,x2:100.438,y2:229.153,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__e",x1:88.982,y1:149.775,x2:88.982,y2:163.688,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__f",x1:191.475,y1:84.644,x2:191.475,y2:189.846,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoPermission_svg__g",x1:193.833,y1:110.161,x2:193.833,y2:143.607,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBF2"}),React.createElement("stop",{offset:1,stopColor:"#F8F8FA"})),React.createElement("linearGradient",{id:"NoPermission_svg__h",x1:261.269,y1:99.206,x2:252.623,y2:122.673,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#F3F3F7"})),React.createElement("linearGradient",{id:"NoPermission_svg__i",x1:268.695,y1:169.955,x2:268.695,y2:201.758,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E2E2E9"})),React.createElement("linearGradient",{id:"NoPermission_svg__j",x1:261.234,y1:188.318,x2:258.066,y2:178.303,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F5B942"}),React.createElement("stop",{offset:1,stopColor:"#FFD278"})),React.createElement("linearGradient",{id:"NoPermission_svg__k",x1:135.191,y1:126.103,x2:132.315,y2:131.336,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoPermission_svg__l",x1:111.612,y1:160.965,x2:119.407,y2:139.589,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoPermission_svg__m",x1:131.187,y1:141.433,x2:152.496,y2:151.339,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoPermission_svg__n",x1:134.627,y1:196.679,x2:141.734,y2:163.057,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"NoPermission_svg__o",x1:115.66,y1:195.084,x2:123.42,y2:160.812,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"}))));var Ye="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNODEuNjQyIDExMi4yMTFjOS40NS0xLjUxOCAxMy4yNzUtMi42NiAyMi41MDEtMTEuNTI4IDkuMjI3LTguODY4IDE4LjU4MiA0LjA3IDMyLjQ1OC0xLjEyNCAxMy44NzUtNS4xOTQgMTUuMTQzLTExLjQ4NCAzNi4zNjYgNy43ODEgOS43ODMgOC4xODggMTcuNTY0IDQuOTQ2IDIyLjM1OSA4LjE4OCAzLjE5NiAyLjE2MSA2LjI3OCA3LjQ4NyA5LjI0NCAxNS45OEg4MS42NDJjLTkuNzg4LTMuMzk3LTE0LjY4Mi02LjIxOS0xNC42ODItOC40NjQgMC0zLjM2OSA1LjIzMi05LjMxNiAxNC42ODItMTAuODMzWiIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjgxLjQxNiAxOTkuNDU5YzAgNS40MDItMzMuMDU1IDQuMDc5LTQyLjUzOCA1LjQxNy0xNS45MDUgMi4yNDQgMTguMzU2IDEyLjM2Ni0zOS4zOTUgMTMuNDk4LTQ4LjMwOS45NDYtMTAwLjMzMS0zLjQ3MS05OS4wMTgtMTQuODY3IDEuMzEzLTExLjM5NyAzOS43MzYtMTcuNjA4IDg4LjM5NS0xNy42MDggNDguNjYgMCA5Mi41NTYgMi4yMTMgOTIuNTU2IDEzLjU2WiIgZmlsbD0idXJsKCNiKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Ik02Ny4xMDUgMTU3Ljc0OXY2My4xMmwyMi43OTggOC4zNzl2LTY1LjUyMWwtMjIuNzk4LTUuOTc4WiIgZmlsbD0idXJsKCNjKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Im04OS44NjggMTYzLjYzNSAyMS4xNDEtNy43Njl2NjUuMjk3bC0yMS4xNDEgNy45OXYtNjUuNTE4WiIgZmlsbD0idXJsKCNkKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Im02Ni45NiAxNTcuNjg2IDIxLjUzNC03LjkxMSAyMi41MSA2LjE0LTIxLjE0OCA3Ljc3My0yMi44OTYtNi4wMDJaIiBmaWxsPSJ1cmwoI2UpIi8+PHBhdGggZD0iTTI1OS4zMTIgODQuNjQ0SDEyMy42MzhhMi4wMTggMi4wMTggMCAwIDAtMi4wMTggMi4wMTl2MTAxLjE2NWMwIDEuMTE0LjkwMyAyLjAxOCAyLjAxOCAyLjAxOGgxMzUuNjc0YTIuMDE5IDIuMDE5IDAgMCAwIDIuMDE5LTIuMDE4Vjg2LjY2M2EyLjAxOSAyLjAxOSAwIDAgMC0yLjAxOS0yLjAxOVoiIGZpbGw9InVybCgjZikiLz48cGF0aCBkPSJNMTY5LjE5NiAxNTUuMzI2aC0yOS4xMWExIDEgMCAwIDAtMSAxdjMuMTM4YTEgMSAwIDAgMCAxIDFoMjkuMTFhMSAxIDAgMCAwIDEtMXYtMy4xMzhhMSAxIDAgMCAwLTEtMVptLTE1LjU1NSA5LjE0OGgtMTMuNTU1YTEgMSAwIDAgMC0xIDF2My4xMzhhMSAxIDAgMCAwIDEgMWgxMy41NTVhMSAxIDAgMCAwIDEtMXYtMy4xMzhhMSAxIDAgMCAwLTEtMVptMzYuOTQzLTkuMTQ4aC0xNC41MjdhMSAxIDAgMCAwLTEgMXYzLjEzOGExIDEgMCAwIDAgMSAxaDE0LjUyN2ExIDEgMCAwIDAgMS0xdi0zLjEzOGExIDEgMCAwIDAtMS0xWm01MC41NTUgMGgtNDUuNjM4YTEgMSAwIDAgMC0xIDF2My4xMzhhMSAxIDAgMCAwIDEgMWg0NS42MzhhMSAxIDAgMCAwIDEtMXYtMy4xMzhhMSAxIDAgMCAwLTEtMVptLTcuNTgyIDkuMTQ4aC01Ny41YTEgMSAwIDAgMC0xIDF2My4xMzhhMSAxIDAgMCAwIDEgMWg1Ny41YTEgMSAwIDAgMCAxLTF2LTMuMTM4YTEgMSAwIDAgMC0xLTFaIiBmaWxsPSIjRUJFQkYyIi8+PHBhdGggZD0iTTE5My44MzMgMTQ0LjQ4OWM5LjczMSAwIDE3LjYyMS03Ljg4OSAxNy42MjEtMTcuNjIxcy03Ljg5LTE3LjYyMS0xNy42MjEtMTcuNjIxYy05LjczMiAwLTE3LjYyMiA3Ljg4OS0xNy42MjIgMTcuNjIxczcuODkgMTcuNjIxIDE3LjYyMiAxNy42MjFaIiBmaWxsPSJ1cmwoI2cpIi8+PHBhdGggZD0iTTI4NS45NzIgOTAuNzY5aC00OS4xMWEuNzI2LjcyNiAwIDAgMC0uNzI2LjcyNnYzNi43MThjMCAuNDAxLjMyNS43MjcuNzI2LjcyN2g0OS4xMWEuNzI3LjcyNyAwIDAgMCAuNzI2LS43MjdWOTEuNDk1YS43MjYuNzI2IDAgMCAwLS43MjYtLjcyNloiIGZpbGw9InVybCgjaCkiLz48cGF0aCBkPSJNMjUzLjIxNiAxMTUuMDA3aC0xMC4yNTlhLjUuNSAwIDAgMC0uNS41di44NjVhLjUuNSAwIDAgMCAuNS41aDEwLjI1OWEuNS41IDAgMCAwIC41LS41di0uODY1YS41LjUgMCAwIDAtLjUtLjVabS01LjYyOSAzLjMyaC00LjYzYS41LjUgMCAwIDAtLjUuNXYuODY0YS41LjUgMCAwIDAgLjUuNWg0LjYzYS41LjUgMCAwIDAgLjUtLjV2LS44NjRhLjUuNSAwIDAgMC0uNS0uNVptMTMuMzctMy4zMmgtNC45ODFhLjUuNSAwIDAgMC0uNS41di44NjVhLjUuNSAwIDAgMCAuNS41aDQuOTgxYS41LjUgMCAwIDAgLjUtLjV2LS44NjVhLjUuNSAwIDAgMC0uNS0uNVptMTguMjk3IDBoLTE2LjI0MWEuNS41IDAgMCAwLS41LjV2Ljg2NWEuNS41IDAgMCAwIC41LjVoMTYuMjQxYS41LjUgMCAwIDAgLjUtLjV2LS44NjVhLjUuNSAwIDAgMC0uNS0uNVptMCAzLjMyaC0yMy4yNzhhLjUuNSAwIDAgMC0uNS41di44NjRhLjUuNSAwIDAgMCAuNS41aDIzLjI3OGEuNS41IDAgMCAwIC41LS41di0uODY0YS41LjUgMCAwIDAtLjUtLjVaIiBmaWxsPSIjRUJFQkYyIi8+PHBhdGggZD0iTTI2OC40NDQgMTU5LjgwNWE3LjIxIDcuMjEgMCAwIDAtNy4yMS03LjIxIDcuMjEgNy4yMSAwIDAgMC03LjIxMSA3LjIxdjExLjU5MmE3LjIxMSA3LjIxMSAwIDAgMCAxNC40MjEgMHYtMTEuNTkyWiIgc3Ryb2tlPSIjRTJFMkVBIiBzdHJva2Utd2lkdGg9IjMuODc3Ii8+PHBhdGggZD0iTTI4MC45NjkgMTY0LjE1NWgtMzkuNDcxYS45Ny45NyAwIDAgMC0uOTY5Ljk2OXYzNS42NjVhLjk3Ljk3IDAgMCAwIC45NjkuOTY5aDM5LjQ3MWEuOTcuOTcgMCAwIDAgLjk2OS0uOTY5di0zNS42NjVhLjk3Ljk3IDAgMCAwLS45NjktLjk2OVoiIGZpbGw9InVybCgjaSkiLz48cGF0aCBkPSJNMjYxLjIzNCAxNzQuNzYxYTUuMyA1LjMgMCAwIDEgNS4yOTYgNS4zMDMgNS4zMDIgNS4zMDIgMCAwIDEtMi44ODkgNC43MjR2NS4zOTVhLjk3Ljk3IDAgMCAxLS45NjkuOTY5aC0yLjg3N2EuOTcuOTcgMCAwIDEtLjk2OS0uOTY5di01LjM5NGE1LjMwNCA1LjMwNCAwIDAgMS0yLjg4OS00LjcyNSA1LjMgNS4zIDAgMCAxIDUuMjk3LTUuMzAzWiIgZmlsbD0idXJsKCNqKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTA2LjM3MSAxOTYuNjU3Yy0uMjE3IDIuMTA3LS4xNDkgMy40NjMuMjA0IDQuMDY5LjUyOS45MDktLjEzNyAxLjkwMi0xLjE0NCAxLjMyOC0xLjAwNi0uNTc1LTEuODQtMy42NzEtMi4yNDMtNC4zNjUtLjQwNC0uNjkzLTEuNzM2LTIuMzIyLjk4OS0yLjg2NSAxLjgxNy0uMzYxIDIuNzIxLS4yOTEgMi43MTIuMjEybC4yNzQgMS4yMDQtLjc5Mi40MTdabTQ1LjE1OCAyLjExNGMyLjA5MS42MDQgMy40OTkuODE4IDQuMjI0LjYzOSAxLjA4Ny0uMjY4IDEuOTA1LjQ5NiAxLjAxNyAxLjIzNy0uODg3Ljc0LTQuMzA0LjgzLTUuMTM0IDEuMDM1LS44My4yMDQtMi44OTQgMS4wMTEtMi42MzctMS40MTMuMTcyLTEuNjE2LjUxNC0yLjM3IDEuMDI2LTIuMjYybDEuMzEzLjAwOC4xOTEuNzU2WiIgZmlsbD0iIzNFM0U2RSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM3LjA2IDEyMy45MTJjMS4yMDUgMS43NTEuOTk4IDUuOTItLjIzOCA2LjY3MS0uNTI2LjMyLTEuNjQuNjAzLTIuNzA2LjM3NC4xMDYuNTUzLjIwNSAxLjAyNi4yOTcgMS40MTcuMjc0IDEuMTY0Ljc0IDEuOTUzIDEuMzk5IDIuMzY2bC02LjcwOS0uMzU2YzEuMDYxLS42NzQgMS43MzgtMS40NDUgMi4wMy0yLjMxMi4xODktLjU1OS4zMjQtMS40NzUuNDA1LTIuNzQ2LTEuMDg4LTEuMTYzLTEuODI4LTIuNzMyLTEuNzU4LTQuMTgyLjE3Mi0zLjU1OSA2LjA3NC0yLjk4NCA3LjI4LTEuMjMyWiIgZmlsbD0idXJsKCNrKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTMxLjYwMiAxMzAuNDg3Yy0uNzkzLTIuMzYxLTIuOTU1LTUuMTQ2LTIuNzg0LTYuMjE1LjExNS0uNzEzLjU0LTEuMTY1IDEuMjc1LTEuMzU3LjI3MS0xLjQxNCAxLjQ3Mi0yLjA0MyAzLjYwMy0xLjg4OC40NzQuMDM0IDEuMTU3LjQ3NSAxLjYzNi40MzIuODU3LS4wNzYgMS4xMzUtLjE1NiAxLjcyNy0uMTE5Ljc3OS4wNSAxLjI1Mi4zNjggMS41NTUuOTA1LjM3Mi42Ni4wNTYgMS42MTgtLjgzMyAyLjI1Ni0uOC41NzQtMS42NzYuMjk1LTIuMjY2LjUxMi0uMzk2LjE0Ni0uOTU3IDEuMDA3LTEuNjg1IDIuNTg1bC0uMTUyLS40ODNjLS4zNzYtLjk2LS44MjgtMS4zMjMtMS4zNTYtMS4wODgtLjUyOS4yMzYtLjYzMS42NTgtLjMwOCAxLjI2Ny4zNzIgMS4xODIuNTM3IDEuOTQ1LjQ5NSAyLjI4OS0uMDQyLjM0NC0uMzQ0LjY0NS0uOTA3LjkwNFoiIGZpbGw9IiMzNTM1NjQiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyNy44OTggMTQwLjkxOWMtNS4zNCAzLjU2OC04LjU3OCA4LjM1Ny05LjcxNiAxNC4zNjctLjAyMiAxLjQ0MyAxLjk2MyAzLjAyLjI5OCAzLjYwNi0xLjY2NS41ODUtMS45OTgtLjk5OC0yLjAzNy0zLjAwNy0uMDQtMi4wMDktMS4wMDUtOC41OTQgMS4xNzktMTEuOTA4IDEuNDU1LTIuMjA5IDMuODM1LTQuNjYgNy4xMzgtNy4zNTJsMy4xMzggNC4yOTRaIiBmaWxsPSJ1cmwoI2wpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMzYuNjk0IDE0MC42NzljLjc3IDEuOTk2IDIuNjE3IDQuMzcxIDUuNTQ0IDcuMTI2IDIuNzMyIDEuNzE5IDYuNDI5LjAzMSAxMi41MDMtLjgyNyAzLjYzNy4wOCA1LjA3Ni0yLjMyNyA0LjAxOS0yLjkwOC0xLjA1OC0uNTgtMy4yNTguMDY3LTMuNzQ1Ljk2NC0uMzI0LjU5OC0zLjg1Mi4yMzgtMTAuNTgyLTEuMDhsLTIuNjQxLTQuNTg0LTUuMDk4IDEuMzA5WiIgZmlsbD0idXJsKCNtKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM4LjI4MiAxNDYuNjg5YzQuMTQ4LTIuNjA3IDYuMTQ5LTQuMTMxIDYuMDAzLTQuNTczLS4yMTktLjY2My0yLjY2Mi00LjQ5OC00LjAxMy01LjY0OC0xLjM1LTEuMTUtMy45NTUtMy43NTMtNC45MjYgMC0uNjQ3IDIuNTAxLjMzMSA1LjkwOSAyLjkzNiAxMC4yMjFabS0xOC4yNDEtNi45ODdjMy4wNSAyLjQyNiA0Ljc1MyAzLjUxIDUuMTEgMy4yNTIuNTM1LS4zODcgNi42ODMtMy42MzQgNy4zMzEtNS4xNjQuNjQ3LTEuNTMxLjY0Ny00LjY5NS0yLjAyMy01LjEyOC0xLjc4LS4yODktNS4yNTIgMi4wNTctMTAuNDE4IDcuMDRaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Im0xNDguOCAxOTguNDcyIDMuMDEzLS4zNDdjLS42NDQtNS4wOC0yLjA1Ny0xMS4xNC00LjIzOS0xOC4xODEtMi4xODEtNy4wNDItNC43OTktMTMuMzk0LTcuODUzLTE5LjA1OGgtMTQuODMyYzMuMTUxIDQuOTAzIDUuNzc1IDguNzA3IDcuODcyIDExLjQxMyAyLjg5MiAzLjczMyA2LjQ0MyA4LjU3NCA4LjQ1NSAxMS45NDggNC4yIDcuMDQ0IDYuNzI4IDExLjc4NiA3LjU4NCAxNC4yMjVaIiBmaWxsPSJ1cmwoI24pIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Im0xMDUuNjM1IDE5NC4xNDYuOTk1IDIuNzYzYzExLjU0NC0xLjE1MiAxOC4wOTUtNy45MzIgMjAuNjE2LTEwLjM0NyAyLjUyLTIuNDE2IDQuNTQyLTEwLjkzNyA3Ljc2Ny0yNi41NzhsLTEyLjM4NC0xLjM1NmMtMi4wNDMgMTIuODA4LTEuNTc5IDIzLjY3My0xLjgyMSAyNC4yMS0uMjQxLjUzOC02LjI0MSA4LjA4Mi0xNS4xNzMgMTEuMzA4WiIgZmlsbD0idXJsKCNvKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM5Ljk4MiAxMzcuODYyYy4yOTMtMS4xMjUuMzI5IDIuNTEuMTA2IDEwLjkwNi0uMTAyIDMuODI4IDIuMjM0IDExLjEwNi0uMDE5IDEyLjc0Mi0zLjA3NyAyLjIzNS0xOS4yNzYgMi4wNzQtMTkuMjc2LjYxNyAwLTQuOTU2IDEuMzk1LTEyLjQyNCA0LjA5Ni0xOC42NSAyLjE2My00Ljk4NCAxLjk4Mi0xMC4wNDYgNS4zMzItMTAuNzkxLjgzNC0uMTg1IDEuODE3Ljc0NyAzLjE5IDEuMDI0IDEuMTU1LjIzMyAxLjg0Mi0uMjk0IDIuNzEyIDAgMi4xMzkuNzIyIDMuNDI2IDIuMTA2IDMuODU5IDQuMTUyWiIgZmlsbD0iIzVCNUJFQSIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjEzNS43NjUiIHkxPSI5NC4yNjkiIHgyPSIxMzUuNzY1IiB5Mj0iMTMwLjk4MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNEQ0RDRTQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNERURFRTYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMTMyLjAzNSIgeTE9IjIwMi4wNzMiIHgyPSIyNTUuMTk5IiB5Mj0iMjE0LjMzMiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFREVERjIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGOUY5RkMiIHN0b3Atb3BhY2l0eT0iLjg4Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSI3MS4zNTciIHkxPSIxNjUuNjYyIiB4Mj0iNzEuMzU3IiB5Mj0iMjI3LjI0MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNERURFRTYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJkIiB4MT0iMTAwLjQzOCIgeTE9IjE1NS44NjYiIHgyPSIxMDAuNDM4IiB5Mj0iMjI5LjE1MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNEQ0RDRTQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNERURFRTYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJlIiB4MT0iODguOTgyIiB5MT0iMTQ5Ljc3NSIgeDI9Ijg4Ljk4MiIgeTI9IjE2My42ODgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRENEQ0U0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREVERUU2IiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZiIgeDE9IjE5MS40NzUiIHkxPSI4NC42NDQiIHgyPSIxOTEuNDc1IiB5Mj0iMTg5Ljg0NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQUZBRkMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjE5My44MzMiIHkxPSIxMTAuMTYxIiB4Mj0iMTkzLjgzMyIgeTI9IjE0My42MDciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUJFQkYyIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRjhGOEZBIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImgiIHgxPSIyNjEuMjY5IiB5MT0iOTkuMjA2IiB4Mj0iMjUyLjYyMyIgeTI9IjEyMi42NzMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkNGQ0ZGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRjNGM0Y3Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImkiIHgxPSIyNjguNjk1IiB5MT0iMTY5Ljk1NSIgeDI9IjI2OC42OTUiIHkyPSIyMDEuNzU4IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UyRTJFOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJqIiB4MT0iMjYxLjIzNCIgeTE9IjE4OC4zMTgiIHgyPSIyNTguMDY2IiB5Mj0iMTc4LjMwMyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNUI5NDIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkQyNzgiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjEzNS4xOTEiIHkxPSIxMjYuMTAzIiB4Mj0iMTMyLjMxNSIgeTI9IjEzMS4zMzYiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIxMTEuNjEyIiB5MT0iMTYwLjk2NSIgeDI9IjExOS40MDciIHkyPSIxMzkuNTg5IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRDJDNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGQjhBMyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJtIiB4MT0iMTMxLjE4NyIgeTE9IjE0MS40MzMiIHgyPSIxNTIuNDk2IiB5Mj0iMTUxLjMzOSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibiIgeDE9IjEzNC42MjciIHkxPSIxOTYuNjc5IiB4Mj0iMTQxLjczNCIgeTI9IjE2My4wNTciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjNzg3OEMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNUM1Q0JCIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im8iIHgxPSIxMTUuNjYiIHkxPSIxOTUuMDg0IiB4Mj0iMTIzLjQyIiB5Mj0iMTYwLjgxMiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODc4QzMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1QzVDQkIiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=",Y=i(99612),e=i(85893),Re=function(a){var s=a.loading,c=a.dispatch,R=a.user,g=a.testcase,Ue=a.gconfig,K=(0,w.useParams)(),E=K.directory,L=K.case_id,be=g.directoryName,t=g.caseInfo,fe=g.outParameters,h=g.editing,we=g.casePermission,Ge=g.constructRecord,Pe=g.constructorModal,$=Ue.envList,q=R.userMap,Fe=(0,o.useState)(!1),_=n()(Fe,2),Qe=_[0],ee=_[1],ke=(0,o.useState)({}),te=n()(ke,2),Be=te[0],We=te[1],Ve=G.Z.useForm(),Je=n()(Ve,1),T=Je[0],He=G.Z.useForm(),Xe=n()(He,1),Ke=Xe[0],$e=(0,o.useState)(""),ie=n()($e,2),S=ie[0],m=ie[1],qe=(0,o.useState)(0),Me=n()(qe,2),D=Me[0],z=Me[1],_e=(0,o.useState)([]),ae=n()(_e,2),C=ae[0],p=ae[1],et=(0,o.useState)([]),se=n()(et,2),U=se[0],Ie=se[1],tt=(0,o.useState)(!1),ue=n()(tt,2),it=ue[0],je=ue[1],le=function(){L&&c({type:"testcase/queryTestcase",payload:{caseId:L}})};(0,o.useEffect)(function(){c({type:"testcase/queryTestcaseDirectory",payload:{directory_id:E}}),c({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}}),c({type:"user/fetchUserList"}),le()},[]),(0,o.useEffect)(function(){T.resetFields(),T.setFieldsValue(t),p(V.Z.parseHeaders(t.request_headers)),m(t.body),z(t.body_type)},[t,h]);var Mt=!!(s.effects["testcase/queryTestcaseDirectory"]||s.effects["testcase/queryTestcase"]||s.effects["testcase/fetchUserList"]),at=function(M){return M===null?"\u65E0":v()(M)==="object"?M.length>0?M.map(function(N){return(0,e.jsx)(O.Z,{style:{marginRight:8},color:"blue",children:N},N)}):"\u65E0":M?M.split(",").map(function(N){return(0,e.jsx)(O.Z,{style:{marginRight:8},color:"blue",children:N},N)}):"\u65E0"},st=function(){return fe.filter(function(M){return M.id?!0:M.source===4?M.name:M.source===1||M.source===6?M.name&&M.expression:M.match_index&&M.name&&M.expression})},b=function(){var j=Z()(d()().mark(function M(){var N,u,r,y=arguments;return d()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return N=y.length>0&&y[0]!==void 0?y[0]:!1,A.next=3,T.validateFields();case 3:u=A.sent,r=x()(x()({},u),{},{request_type:parseInt(u.request_type,10),status:parseInt(u.status,10),tag:u.tag?u.tag.join(","):null,directory_id:E,body_type:D,request_headers:V.Z.translateHeaders(C),body:D===2?JSON.stringify(U):S,out_parameters:st()}),!h&&!N&&(r.priority=t.priority,r.name=t.name,r.status=t.status,r.tag=t.tag!==null?v()(t.tag)==="object"?t.tag.join(","):t.tag?t.tag:null:null,r.request_type=t.request_type),t.id?(r.id=t.id,c({type:"testcase/updateTestcase",payload:r})):c({type:"testcase/insertTestcase",payload:r});case 7:case"end":return A.stop()}},M)}));return function(){return j.apply(this,arguments)}}(),It=function(){var j=Z()(d()().mark(function M(N){var u;return d()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,c({type:"testcase/onExecuteTestCase",payload:{case_id:L,env:N}});case 2:u=y.sent,me.Z.notificationResponse(u,!0)&&(ee(!0),We(u.data));case 4:case"end":return y.stop()}},M)}));return function(N){return j.apply(this,arguments)}}(),ct=$.length===0?(0,e.jsx)(P.Z,{children:(0,e.jsx)("div",{children:(0,e.jsx)(F.Z,{image:Ce.Z,imageStyle:{height:90,width:90,margin:"0 auto"},description:(0,e.jsxs)("p",{children:["\u8FD8\u6CA1\u6709\u4EFB\u4F55\u73AF\u5883, \u53BB",(0,e.jsx)("a",{href:"/#/config/environment",children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})})})}):(0,e.jsx)(Q.Z,{children:$.map(function(j){return(0,e.jsx)(Q.Z.Item,{onClick:Z()(d()().mark(function M(){return d()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,It(j.id);case 2:case"end":return u.stop()}},M)})),children:(0,e.jsx)("a",{children:j.name})},j.id)})}),ut=function(){return t.tag===null||t.tag===""?[]:v()(t.tag)==="object"?t.tag:t.tag.split(",")};return(0,e.jsxs)(ye._z,{title:!1,breadcrumb:null,children:[(0,e.jsx)(De.Z,{width:1e3,modal:Qe,setModal:ee,response:Be,caseName:t.name,single:!1}),(0,e.jsx)(ge.Z,{spinning:Mt,tip:"\u66B4\u529B\u52A0\u8F7D\u4E2D...",size:"large",children:L?we?(0,e.jsx)(Le.Z,{children:(0,e.jsxs)(de.Z,{span:24,children:[(0,e.jsx)(Ae.Z,{width:1050,modal:Pe,setModal:function(M){c({type:"testcase/save",payload:{constructorModal:M}})},caseId:L,form:Ke,record:Ge,fetchData:le,suffix:it}),h?(0,e.jsx)(B.Z,{directoryId:E,form:T,body:S,setBody:m,caseId:L,formData:U,setFormData:Ie,bodyType:D,setBodyType:z,setSuffix:je,headers:C,setHeaders:p,onSubmit:b}):(0,e.jsxs)(P.Z,{style:{margin:-8},bodyStyle:{padding:24},title:(0,e.jsxs)("span",{children:[be," ",t.name?" > ".concat(t.name):""," ",Y.e5[t.case_type]]}),extra:(0,e.jsxs)("div",{children:[(0,e.jsxs)(k.ZP,{onClick:function(){c({type:"testcase/save",payload:{editing:!0,caseInfo:x()(x()({},t),{},{status:t.status.toString(),request_type:t.request_type.toString(),tag:ut()}),activeKey:"3"}})},style:{borderRadius:16},children:[(0,e.jsx)(Ee.Z,{})," \u7F16\u8F91"]}),(0,e.jsxs)(k.ZP,{type:"primary",style:{marginLeft:8,borderRadius:16},loading:s.effects["testcase/onExecuteTestCase"],onClick:function(M){M.stopPropagation()},children:[(0,e.jsx)(Se.Z,{})," \u8FD0\u884C"]})]}),children:[(0,e.jsxs)(l.Z,{column:4,children:[(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u540D\u79F0",children:(0,e.jsx)("a",{children:t.name})}),(0,e.jsx)(l.Z.Item,{label:"\u8BF7\u6C42\u7C7B\u578B",children:Y.XN[t.request_type]}),(0,e.jsx)(l.Z.Item,{label:"\u8BF7\u6C42url",span:2,style:{fontSize:14,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(0,e.jsx)(Te.Z,{title:t.url,children:(0,e.jsx)("a",{href:t.url,children:t.url})})}),(0,e.jsx)(l.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:Y.dh[t.request_method]}),(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u7B49\u7EA7",children:(0,e.jsx)(O.Z,{color:W.Z.CASE_TAG[t.priority],children:t.priority})}),(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u72B6\u6001",children:(0,e.jsx)(xe.Z,x()({},W.Z.CASE_BADGE[t.status]))}),(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u6807\u7B7E",children:(0,e.jsx)("div",{style:{textAlign:"center"},children:at(t.tag)})}),(0,e.jsx)(l.Z.Item,{label:"\u521B\u5EFA\u4EBA",children:(0,e.jsx)(J.Z,{size:16,user:q[t.create_user]})}),(0,e.jsx)(l.Z.Item,{label:"\u66F4\u65B0\u4EBA",children:(0,e.jsx)(J.Z,{size:16,user:q[t.update_user]})}),(0,e.jsx)(l.Z.Item,{label:"\u521B\u5EFA\u65F6\u95F4",children:t.created_at}),(0,e.jsx)(l.Z.Item,{label:"\u66F4\u65B0\u65F6\u95F4",children:t.updated_at})]}),(0,e.jsx)(ze.Z,{setSuffix:je,headers:C,setHeaders:p,body:S,setBody:m,case_id:L,formData:U,setFormData:Ie,bodyType:D,form:T,setBodyType:z,onSubmit:b})]})]})}):(0,e.jsx)(F.Z,{description:"\u4F60\u65E0\u6CD5\u67E5\u770B\u6B64\u7528\u4F8B\uFF0C\u8BF7\u8054\u7CFB\u5BF9\u5E94\u9879\u76EE\u7EC4\u957F\u5F00\u901A\u6743\u9650\u3002",image:Ye,imageStyle:{height:400}}):(0,e.jsx)(B.Z,{directoryId:E,create:!0,form:T,body:S,setBody:m,headers:C,setHeaders:p,onSubmit:b,setBodyType:z,bodyType:D})})]})},he=(0,w.connect)(function(I){var a=I.user,s=I.testcase,c=I.loading,R=I.gconfig;return{testcase:s,user:a,loading:c,gconfig:R}})(Re)}}]); diff --git a/statics/p__ApiTest__TestCaseComponent.f8f684c3.async.js b/statics/p__ApiTest__TestCaseComponent.f8f684c3.async.js deleted file mode 100644 index c78f1594..00000000 --- a/statics/p__ApiTest__TestCaseComponent.f8f684c3.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1244],{69957:function(jt,f,i){i.r(f),i.d(f,{default:function(){return he}});var Ne=i(15009),d=i.n(Ne),ce=i(97857),x=i.n(ce),re=i(99289),Z=i.n(re),ne=i(52677),v=i.n(ne),oe=i(5574),n=i.n(oe),ye=i(58841),w=i(94171),o=i(67294),G=i(58131),O=i(51904),P=i(4393),F=i(32983),Q=i(68508),ge=i(75081),Le=i(71230),de=i(15746),k=i(71577),l=i(27511),Te=i(83062),xe=i(53575),B=i(88496),De=i(87023),W=i(19478),Ae=i(80242),lt=i(72729),Ee=i(47389),Se=i(74842),V=i(59697),me=i(10981),J=i(12554),ze=i(44046),Ce=i(86452),pe=Object.defineProperty,H=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,X=(I,a,s)=>a in I?pe(I,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):I[a]=s,Oe=(I,a)=>{for(var s in a||(a={}))Ze.call(a,s)&&X(I,s,a[s]);if(H)for(var s of H(a))ve.call(a,s)&&X(I,s,a[s]);return I};const Nt=I=>React.createElement("svg",Oe({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I),React.createElement("path",{opacity:.302,d:"M81.642 112.211c9.45-1.518 13.275-2.66 22.501-11.528 9.227-8.868 18.582 4.07 32.458-1.124 13.875-5.194 15.143-11.484 36.366 7.781 9.783 8.188 17.564 4.946 22.359 8.188 3.196 2.161 6.278 7.487 9.244 15.98H81.642c-9.788-3.397-14.682-6.219-14.682-8.464 0-3.369 5.232-9.316 14.682-10.833Z",fill:"url(#NoPermission_svg__a)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.416 199.459c0 5.402-33.055 4.079-42.538 5.417-15.905 2.244 18.356 12.366-39.395 13.498-48.309.946-100.331-3.471-99.018-14.867 1.313-11.397 39.736-17.608 88.395-17.608 48.66 0 92.556 2.213 92.556 13.56Z",fill:"url(#NoPermission_svg__b)"}),React.createElement("path",{opacity:.302,d:"M67.105 157.749v63.12l22.798 8.379v-65.521l-22.798-5.978Z",fill:"url(#NoPermission_svg__c)"}),React.createElement("path",{opacity:.302,d:"m89.868 163.635 21.141-7.769v65.297l-21.141 7.99v-65.518Z",fill:"url(#NoPermission_svg__d)"}),React.createElement("path",{opacity:.302,d:"m66.96 157.686 21.534-7.911 22.51 6.14-21.148 7.773-22.896-6.002Z",fill:"url(#NoPermission_svg__e)"}),React.createElement("path",{d:"M259.312 84.644H123.638a2.018 2.018 0 0 0-2.018 2.019v101.165c0 1.114.903 2.018 2.018 2.018h135.674a2.019 2.019 0 0 0 2.019-2.018V86.663a2.019 2.019 0 0 0-2.019-2.019Z",fill:"url(#NoPermission_svg__f)"}),React.createElement("path",{d:"M169.196 155.326h-29.11a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h29.11a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm-15.555 9.148h-13.555a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h13.555a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm36.943-9.148h-14.527a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h14.527a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm50.555 0h-45.638a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h45.638a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Zm-7.582 9.148h-57.5a1 1 0 0 0-1 1v3.138a1 1 0 0 0 1 1h57.5a1 1 0 0 0 1-1v-3.138a1 1 0 0 0-1-1Z",fill:"#EBEBF2"}),React.createElement("path",{d:"M193.833 144.489c9.731 0 17.621-7.889 17.621-17.621s-7.89-17.621-17.621-17.621c-9.732 0-17.622 7.889-17.622 17.621s7.89 17.621 17.622 17.621Z",fill:"url(#NoPermission_svg__g)"}),React.createElement("path",{d:"M285.972 90.769h-49.11a.726.726 0 0 0-.726.726v36.718c0 .401.325.727.726.727h49.11a.727.727 0 0 0 .726-.727V91.495a.726.726 0 0 0-.726-.726Z",fill:"url(#NoPermission_svg__h)"}),React.createElement("path",{d:"M253.216 115.007h-10.259a.5.5 0 0 0-.5.5v.865a.5.5 0 0 0 .5.5h10.259a.5.5 0 0 0 .5-.5v-.865a.5.5 0 0 0-.5-.5Zm-5.629 3.32h-4.63a.5.5 0 0 0-.5.5v.864a.5.5 0 0 0 .5.5h4.63a.5.5 0 0 0 .5-.5v-.864a.5.5 0 0 0-.5-.5Zm13.37-3.32h-4.981a.5.5 0 0 0-.5.5v.865a.5.5 0 0 0 .5.5h4.981a.5.5 0 0 0 .5-.5v-.865a.5.5 0 0 0-.5-.5Zm18.297 0h-16.241a.5.5 0 0 0-.5.5v.865a.5.5 0 0 0 .5.5h16.241a.5.5 0 0 0 .5-.5v-.865a.5.5 0 0 0-.5-.5Zm0 3.32h-23.278a.5.5 0 0 0-.5.5v.864a.5.5 0 0 0 .5.5h23.278a.5.5 0 0 0 .5-.5v-.864a.5.5 0 0 0-.5-.5Z",fill:"#EBEBF2"}),React.createElement("path",{d:"M268.444 159.805a7.21 7.21 0 0 0-7.21-7.21 7.21 7.21 0 0 0-7.211 7.21v11.592a7.211 7.211 0 0 0 14.421 0v-11.592Z",stroke:"#E2E2EA",strokeWidth:3.877}),React.createElement("path",{d:"M280.969 164.155h-39.471a.97.97 0 0 0-.969.969v35.665a.97.97 0 0 0 .969.969h39.471a.97.97 0 0 0 .969-.969v-35.665a.97.97 0 0 0-.969-.969Z",fill:"url(#NoPermission_svg__i)"}),React.createElement("path",{d:"M261.234 174.761a5.3 5.3 0 0 1 5.296 5.303 5.302 5.302 0 0 1-2.889 4.724v5.395a.97.97 0 0 1-.969.969h-2.877a.97.97 0 0 1-.969-.969v-5.394a5.304 5.304 0 0 1-2.889-4.725 5.3 5.3 0 0 1 5.297-5.303Z",fill:"url(#NoPermission_svg__j)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.371 196.657c-.217 2.107-.149 3.463.204 4.069.529.909-.137 1.902-1.144 1.328-1.006-.575-1.84-3.671-2.243-4.365-.404-.693-1.736-2.322.989-2.865 1.817-.361 2.721-.291 2.712.212l.274 1.204-.792.417Zm45.158 2.114c2.091.604 3.499.818 4.224.639 1.087-.268 1.905.496 1.017 1.237-.887.74-4.304.83-5.134 1.035-.83.204-2.894 1.011-2.637-1.413.172-1.616.514-2.37 1.026-2.262l1.313.008.191.756Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M137.06 123.912c1.205 1.751.998 5.92-.238 6.671-.526.32-1.64.603-2.706.374.106.553.205 1.026.297 1.417.274 1.164.74 1.953 1.399 2.366l-6.709-.356c1.061-.674 1.738-1.445 2.03-2.312.189-.559.324-1.475.405-2.746-1.088-1.163-1.828-2.732-1.758-4.182.172-3.559 6.074-2.984 7.28-1.232Z",fill:"url(#NoPermission_svg__k)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M131.602 130.487c-.793-2.361-2.955-5.146-2.784-6.215.115-.713.54-1.165 1.275-1.357.271-1.414 1.472-2.043 3.603-1.888.474.034 1.157.475 1.636.432.857-.076 1.135-.156 1.727-.119.779.05 1.252.368 1.555.905.372.66.056 1.618-.833 2.256-.8.574-1.676.295-2.266.512-.396.146-.957 1.007-1.685 2.585l-.152-.483c-.376-.96-.828-1.323-1.356-1.088-.529.236-.631.658-.308 1.267.372 1.182.537 1.945.495 2.289-.042.344-.344.645-.907.904Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M127.898 140.919c-5.34 3.568-8.578 8.357-9.716 14.367-.022 1.443 1.963 3.02.298 3.606-1.665.585-1.998-.998-2.037-3.007-.04-2.009-1.005-8.594 1.179-11.908 1.455-2.209 3.835-4.66 7.138-7.352l3.138 4.294Z",fill:"url(#NoPermission_svg__l)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M136.694 140.679c.77 1.996 2.617 4.371 5.544 7.126 2.732 1.719 6.429.031 12.503-.827 3.637.08 5.076-2.327 4.019-2.908-1.058-.58-3.258.067-3.745.964-.324.598-3.852.238-10.582-1.08l-2.641-4.584-5.098 1.309Z",fill:"url(#NoPermission_svg__m)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M138.282 146.689c4.148-2.607 6.149-4.131 6.003-4.573-.219-.663-2.662-4.498-4.013-5.648-1.35-1.15-3.955-3.753-4.926 0-.647 2.501.331 5.909 2.936 10.221Zm-18.241-6.987c3.05 2.426 4.753 3.51 5.11 3.252.535-.387 6.683-3.634 7.331-5.164.647-1.531.647-4.695-2.023-5.128-1.78-.289-5.252 2.057-10.418 7.04Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m148.8 198.472 3.013-.347c-.644-5.08-2.057-11.14-4.239-18.181-2.181-7.042-4.799-13.394-7.853-19.058h-14.832c3.151 4.903 5.775 8.707 7.872 11.413 2.892 3.733 6.443 8.574 8.455 11.948 4.2 7.044 6.728 11.786 7.584 14.225Z",fill:"url(#NoPermission_svg__n)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m105.635 194.146.995 2.763c11.544-1.152 18.095-7.932 20.616-10.347 2.52-2.416 4.542-10.937 7.767-26.578l-12.384-1.356c-2.043 12.808-1.579 23.673-1.821 24.21-.241.538-6.241 8.082-15.173 11.308Z",fill:"url(#NoPermission_svg__o)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M139.982 137.862c.293-1.125.329 2.51.106 10.906-.102 3.828 2.234 11.106-.019 12.742-3.077 2.235-19.276 2.074-19.276.617 0-4.956 1.395-12.424 4.096-18.65 2.163-4.984 1.982-10.046 5.332-10.791.834-.185 1.817.747 3.19 1.024 1.155.233 1.842-.294 2.712 0 2.139.722 3.426 2.106 3.859 4.152Z",fill:"#5B5BEA"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"NoPermission_svg__a",x1:135.765,y1:94.269,x2:135.765,y2:130.982,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__b",x1:132.035,y1:202.073,x2:255.199,y2:214.332,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EDEDF2"}),React.createElement("stop",{offset:1,stopColor:"#F9F9FC",stopOpacity:.88})),React.createElement("linearGradient",{id:"NoPermission_svg__c",x1:71.357,y1:165.662,x2:71.357,y2:227.242,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EEE"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__d",x1:100.438,y1:155.866,x2:100.438,y2:229.153,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__e",x1:88.982,y1:149.775,x2:88.982,y2:163.688,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"NoPermission_svg__f",x1:191.475,y1:84.644,x2:191.475,y2:189.846,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFC"})),React.createElement("linearGradient",{id:"NoPermission_svg__g",x1:193.833,y1:110.161,x2:193.833,y2:143.607,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBF2"}),React.createElement("stop",{offset:1,stopColor:"#F8F8FA"})),React.createElement("linearGradient",{id:"NoPermission_svg__h",x1:261.269,y1:99.206,x2:252.623,y2:122.673,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FCFCFF"}),React.createElement("stop",{offset:1,stopColor:"#F3F3F7"})),React.createElement("linearGradient",{id:"NoPermission_svg__i",x1:268.695,y1:169.955,x2:268.695,y2:201.758,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E2E2E9"})),React.createElement("linearGradient",{id:"NoPermission_svg__j",x1:261.234,y1:188.318,x2:258.066,y2:178.303,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F5B942"}),React.createElement("stop",{offset:1,stopColor:"#FFD278"})),React.createElement("linearGradient",{id:"NoPermission_svg__k",x1:135.191,y1:126.103,x2:132.315,y2:131.336,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoPermission_svg__l",x1:111.612,y1:160.965,x2:119.407,y2:139.589,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoPermission_svg__m",x1:131.187,y1:141.433,x2:152.496,y2:151.339,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"NoPermission_svg__n",x1:134.627,y1:196.679,x2:141.734,y2:163.057,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"NoPermission_svg__o",x1:115.66,y1:195.084,x2:123.42,y2:160.812,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"}))));var Ye="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNODEuNjQyIDExMi4yMTFjOS40NS0xLjUxOCAxMy4yNzUtMi42NiAyMi41MDEtMTEuNTI4IDkuMjI3LTguODY4IDE4LjU4MiA0LjA3IDMyLjQ1OC0xLjEyNCAxMy44NzUtNS4xOTQgMTUuMTQzLTExLjQ4NCAzNi4zNjYgNy43ODEgOS43ODMgOC4xODggMTcuNTY0IDQuOTQ2IDIyLjM1OSA4LjE4OCAzLjE5NiAyLjE2MSA2LjI3OCA3LjQ4NyA5LjI0NCAxNS45OEg4MS42NDJjLTkuNzg4LTMuMzk3LTE0LjY4Mi02LjIxOS0xNC42ODItOC40NjQgMC0zLjM2OSA1LjIzMi05LjMxNiAxNC42ODItMTAuODMzWiIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjgxLjQxNiAxOTkuNDU5YzAgNS40MDItMzMuMDU1IDQuMDc5LTQyLjUzOCA1LjQxNy0xNS45MDUgMi4yNDQgMTguMzU2IDEyLjM2Ni0zOS4zOTUgMTMuNDk4LTQ4LjMwOS45NDYtMTAwLjMzMS0zLjQ3MS05OS4wMTgtMTQuODY3IDEuMzEzLTExLjM5NyAzOS43MzYtMTcuNjA4IDg4LjM5NS0xNy42MDggNDguNjYgMCA5Mi41NTYgMi4yMTMgOTIuNTU2IDEzLjU2WiIgZmlsbD0idXJsKCNiKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Ik02Ny4xMDUgMTU3Ljc0OXY2My4xMmwyMi43OTggOC4zNzl2LTY1LjUyMWwtMjIuNzk4LTUuOTc4WiIgZmlsbD0idXJsKCNjKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Im04OS44NjggMTYzLjYzNSAyMS4xNDEtNy43Njl2NjUuMjk3bC0yMS4xNDEgNy45OXYtNjUuNTE4WiIgZmlsbD0idXJsKCNkKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Im02Ni45NiAxNTcuNjg2IDIxLjUzNC03LjkxMSAyMi41MSA2LjE0LTIxLjE0OCA3Ljc3My0yMi44OTYtNi4wMDJaIiBmaWxsPSJ1cmwoI2UpIi8+PHBhdGggZD0iTTI1OS4zMTIgODQuNjQ0SDEyMy42MzhhMi4wMTggMi4wMTggMCAwIDAtMi4wMTggMi4wMTl2MTAxLjE2NWMwIDEuMTE0LjkwMyAyLjAxOCAyLjAxOCAyLjAxOGgxMzUuNjc0YTIuMDE5IDIuMDE5IDAgMCAwIDIuMDE5LTIuMDE4Vjg2LjY2M2EyLjAxOSAyLjAxOSAwIDAgMC0yLjAxOS0yLjAxOVoiIGZpbGw9InVybCgjZikiLz48cGF0aCBkPSJNMTY5LjE5NiAxNTUuMzI2aC0yOS4xMWExIDEgMCAwIDAtMSAxdjMuMTM4YTEgMSAwIDAgMCAxIDFoMjkuMTFhMSAxIDAgMCAwIDEtMXYtMy4xMzhhMSAxIDAgMCAwLTEtMVptLTE1LjU1NSA5LjE0OGgtMTMuNTU1YTEgMSAwIDAgMC0xIDF2My4xMzhhMSAxIDAgMCAwIDEgMWgxMy41NTVhMSAxIDAgMCAwIDEtMXYtMy4xMzhhMSAxIDAgMCAwLTEtMVptMzYuOTQzLTkuMTQ4aC0xNC41MjdhMSAxIDAgMCAwLTEgMXYzLjEzOGExIDEgMCAwIDAgMSAxaDE0LjUyN2ExIDEgMCAwIDAgMS0xdi0zLjEzOGExIDEgMCAwIDAtMS0xWm01MC41NTUgMGgtNDUuNjM4YTEgMSAwIDAgMC0xIDF2My4xMzhhMSAxIDAgMCAwIDEgMWg0NS42MzhhMSAxIDAgMCAwIDEtMXYtMy4xMzhhMSAxIDAgMCAwLTEtMVptLTcuNTgyIDkuMTQ4aC01Ny41YTEgMSAwIDAgMC0xIDF2My4xMzhhMSAxIDAgMCAwIDEgMWg1Ny41YTEgMSAwIDAgMCAxLTF2LTMuMTM4YTEgMSAwIDAgMC0xLTFaIiBmaWxsPSIjRUJFQkYyIi8+PHBhdGggZD0iTTE5My44MzMgMTQ0LjQ4OWM5LjczMSAwIDE3LjYyMS03Ljg4OSAxNy42MjEtMTcuNjIxcy03Ljg5LTE3LjYyMS0xNy42MjEtMTcuNjIxYy05LjczMiAwLTE3LjYyMiA3Ljg4OS0xNy42MjIgMTcuNjIxczcuODkgMTcuNjIxIDE3LjYyMiAxNy42MjFaIiBmaWxsPSJ1cmwoI2cpIi8+PHBhdGggZD0iTTI4NS45NzIgOTAuNzY5aC00OS4xMWEuNzI2LjcyNiAwIDAgMC0uNzI2LjcyNnYzNi43MThjMCAuNDAxLjMyNS43MjcuNzI2LjcyN2g0OS4xMWEuNzI3LjcyNyAwIDAgMCAuNzI2LS43MjdWOTEuNDk1YS43MjYuNzI2IDAgMCAwLS43MjYtLjcyNloiIGZpbGw9InVybCgjaCkiLz48cGF0aCBkPSJNMjUzLjIxNiAxMTUuMDA3aC0xMC4yNTlhLjUuNSAwIDAgMC0uNS41di44NjVhLjUuNSAwIDAgMCAuNS41aDEwLjI1OWEuNS41IDAgMCAwIC41LS41di0uODY1YS41LjUgMCAwIDAtLjUtLjVabS01LjYyOSAzLjMyaC00LjYzYS41LjUgMCAwIDAtLjUuNXYuODY0YS41LjUgMCAwIDAgLjUuNWg0LjYzYS41LjUgMCAwIDAgLjUtLjV2LS44NjRhLjUuNSAwIDAgMC0uNS0uNVptMTMuMzctMy4zMmgtNC45ODFhLjUuNSAwIDAgMC0uNS41di44NjVhLjUuNSAwIDAgMCAuNS41aDQuOTgxYS41LjUgMCAwIDAgLjUtLjV2LS44NjVhLjUuNSAwIDAgMC0uNS0uNVptMTguMjk3IDBoLTE2LjI0MWEuNS41IDAgMCAwLS41LjV2Ljg2NWEuNS41IDAgMCAwIC41LjVoMTYuMjQxYS41LjUgMCAwIDAgLjUtLjV2LS44NjVhLjUuNSAwIDAgMC0uNS0uNVptMCAzLjMyaC0yMy4yNzhhLjUuNSAwIDAgMC0uNS41di44NjRhLjUuNSAwIDAgMCAuNS41aDIzLjI3OGEuNS41IDAgMCAwIC41LS41di0uODY0YS41LjUgMCAwIDAtLjUtLjVaIiBmaWxsPSIjRUJFQkYyIi8+PHBhdGggZD0iTTI2OC40NDQgMTU5LjgwNWE3LjIxIDcuMjEgMCAwIDAtNy4yMS03LjIxIDcuMjEgNy4yMSAwIDAgMC03LjIxMSA3LjIxdjExLjU5MmE3LjIxMSA3LjIxMSAwIDAgMCAxNC40MjEgMHYtMTEuNTkyWiIgc3Ryb2tlPSIjRTJFMkVBIiBzdHJva2Utd2lkdGg9IjMuODc3Ii8+PHBhdGggZD0iTTI4MC45NjkgMTY0LjE1NWgtMzkuNDcxYS45Ny45NyAwIDAgMC0uOTY5Ljk2OXYzNS42NjVhLjk3Ljk3IDAgMCAwIC45NjkuOTY5aDM5LjQ3MWEuOTcuOTcgMCAwIDAgLjk2OS0uOTY5di0zNS42NjVhLjk3Ljk3IDAgMCAwLS45NjktLjk2OVoiIGZpbGw9InVybCgjaSkiLz48cGF0aCBkPSJNMjYxLjIzNCAxNzQuNzYxYTUuMyA1LjMgMCAwIDEgNS4yOTYgNS4zMDMgNS4zMDIgNS4zMDIgMCAwIDEtMi44ODkgNC43MjR2NS4zOTVhLjk3Ljk3IDAgMCAxLS45NjkuOTY5aC0yLjg3N2EuOTcuOTcgMCAwIDEtLjk2OS0uOTY5di01LjM5NGE1LjMwNCA1LjMwNCAwIDAgMS0yLjg4OS00LjcyNSA1LjMgNS4zIDAgMCAxIDUuMjk3LTUuMzAzWiIgZmlsbD0idXJsKCNqKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTA2LjM3MSAxOTYuNjU3Yy0uMjE3IDIuMTA3LS4xNDkgMy40NjMuMjA0IDQuMDY5LjUyOS45MDktLjEzNyAxLjkwMi0xLjE0NCAxLjMyOC0xLjAwNi0uNTc1LTEuODQtMy42NzEtMi4yNDMtNC4zNjUtLjQwNC0uNjkzLTEuNzM2LTIuMzIyLjk4OS0yLjg2NSAxLjgxNy0uMzYxIDIuNzIxLS4yOTEgMi43MTIuMjEybC4yNzQgMS4yMDQtLjc5Mi40MTdabTQ1LjE1OCAyLjExNGMyLjA5MS42MDQgMy40OTkuODE4IDQuMjI0LjYzOSAxLjA4Ny0uMjY4IDEuOTA1LjQ5NiAxLjAxNyAxLjIzNy0uODg3Ljc0LTQuMzA0LjgzLTUuMTM0IDEuMDM1LS44My4yMDQtMi44OTQgMS4wMTEtMi42MzctMS40MTMuMTcyLTEuNjE2LjUxNC0yLjM3IDEuMDI2LTIuMjYybDEuMzEzLjAwOC4xOTEuNzU2WiIgZmlsbD0iIzNFM0U2RSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM3LjA2IDEyMy45MTJjMS4yMDUgMS43NTEuOTk4IDUuOTItLjIzOCA2LjY3MS0uNTI2LjMyLTEuNjQuNjAzLTIuNzA2LjM3NC4xMDYuNTUzLjIwNSAxLjAyNi4yOTcgMS40MTcuMjc0IDEuMTY0Ljc0IDEuOTUzIDEuMzk5IDIuMzY2bC02LjcwOS0uMzU2YzEuMDYxLS42NzQgMS43MzgtMS40NDUgMi4wMy0yLjMxMi4xODktLjU1OS4zMjQtMS40NzUuNDA1LTIuNzQ2LTEuMDg4LTEuMTYzLTEuODI4LTIuNzMyLTEuNzU4LTQuMTgyLjE3Mi0zLjU1OSA2LjA3NC0yLjk4NCA3LjI4LTEuMjMyWiIgZmlsbD0idXJsKCNrKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTMxLjYwMiAxMzAuNDg3Yy0uNzkzLTIuMzYxLTIuOTU1LTUuMTQ2LTIuNzg0LTYuMjE1LjExNS0uNzEzLjU0LTEuMTY1IDEuMjc1LTEuMzU3LjI3MS0xLjQxNCAxLjQ3Mi0yLjA0MyAzLjYwMy0xLjg4OC40NzQuMDM0IDEuMTU3LjQ3NSAxLjYzNi40MzIuODU3LS4wNzYgMS4xMzUtLjE1NiAxLjcyNy0uMTE5Ljc3OS4wNSAxLjI1Mi4zNjggMS41NTUuOTA1LjM3Mi42Ni4wNTYgMS42MTgtLjgzMyAyLjI1Ni0uOC41NzQtMS42NzYuMjk1LTIuMjY2LjUxMi0uMzk2LjE0Ni0uOTU3IDEuMDA3LTEuNjg1IDIuNTg1bC0uMTUyLS40ODNjLS4zNzYtLjk2LS44MjgtMS4zMjMtMS4zNTYtMS4wODgtLjUyOS4yMzYtLjYzMS42NTgtLjMwOCAxLjI2Ny4zNzIgMS4xODIuNTM3IDEuOTQ1LjQ5NSAyLjI4OS0uMDQyLjM0NC0uMzQ0LjY0NS0uOTA3LjkwNFoiIGZpbGw9IiMzNTM1NjQiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyNy44OTggMTQwLjkxOWMtNS4zNCAzLjU2OC04LjU3OCA4LjM1Ny05LjcxNiAxNC4zNjctLjAyMiAxLjQ0MyAxLjk2MyAzLjAyLjI5OCAzLjYwNi0xLjY2NS41ODUtMS45OTgtLjk5OC0yLjAzNy0zLjAwNy0uMDQtMi4wMDktMS4wMDUtOC41OTQgMS4xNzktMTEuOTA4IDEuNDU1LTIuMjA5IDMuODM1LTQuNjYgNy4xMzgtNy4zNTJsMy4xMzggNC4yOTRaIiBmaWxsPSJ1cmwoI2wpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMzYuNjk0IDE0MC42NzljLjc3IDEuOTk2IDIuNjE3IDQuMzcxIDUuNTQ0IDcuMTI2IDIuNzMyIDEuNzE5IDYuNDI5LjAzMSAxMi41MDMtLjgyNyAzLjYzNy4wOCA1LjA3Ni0yLjMyNyA0LjAxOS0yLjkwOC0xLjA1OC0uNTgtMy4yNTguMDY3LTMuNzQ1Ljk2NC0uMzI0LjU5OC0zLjg1Mi4yMzgtMTAuNTgyLTEuMDhsLTIuNjQxLTQuNTg0LTUuMDk4IDEuMzA5WiIgZmlsbD0idXJsKCNtKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM4LjI4MiAxNDYuNjg5YzQuMTQ4LTIuNjA3IDYuMTQ5LTQuMTMxIDYuMDAzLTQuNTczLS4yMTktLjY2My0yLjY2Mi00LjQ5OC00LjAxMy01LjY0OC0xLjM1LTEuMTUtMy45NTUtMy43NTMtNC45MjYgMC0uNjQ3IDIuNTAxLjMzMSA1LjkwOSAyLjkzNiAxMC4yMjFabS0xOC4yNDEtNi45ODdjMy4wNSAyLjQyNiA0Ljc1MyAzLjUxIDUuMTEgMy4yNTIuNTM1LS4zODcgNi42ODMtMy42MzQgNy4zMzEtNS4xNjQuNjQ3LTEuNTMxLjY0Ny00LjY5NS0yLjAyMy01LjEyOC0xLjc4LS4yODktNS4yNTIgMi4wNTctMTAuNDE4IDcuMDRaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Im0xNDguOCAxOTguNDcyIDMuMDEzLS4zNDdjLS42NDQtNS4wOC0yLjA1Ny0xMS4xNC00LjIzOS0xOC4xODEtMi4xODEtNy4wNDItNC43OTktMTMuMzk0LTcuODUzLTE5LjA1OGgtMTQuODMyYzMuMTUxIDQuOTAzIDUuNzc1IDguNzA3IDcuODcyIDExLjQxMyAyLjg5MiAzLjczMyA2LjQ0MyA4LjU3NCA4LjQ1NSAxMS45NDggNC4yIDcuMDQ0IDYuNzI4IDExLjc4NiA3LjU4NCAxNC4yMjVaIiBmaWxsPSJ1cmwoI24pIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Im0xMDUuNjM1IDE5NC4xNDYuOTk1IDIuNzYzYzExLjU0NC0xLjE1MiAxOC4wOTUtNy45MzIgMjAuNjE2LTEwLjM0NyAyLjUyLTIuNDE2IDQuNTQyLTEwLjkzNyA3Ljc2Ny0yNi41NzhsLTEyLjM4NC0xLjM1NmMtMi4wNDMgMTIuODA4LTEuNTc5IDIzLjY3My0xLjgyMSAyNC4yMS0uMjQxLjUzOC02LjI0MSA4LjA4Mi0xNS4xNzMgMTEuMzA4WiIgZmlsbD0idXJsKCNvKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM5Ljk4MiAxMzcuODYyYy4yOTMtMS4xMjUuMzI5IDIuNTEuMTA2IDEwLjkwNi0uMTAyIDMuODI4IDIuMjM0IDExLjEwNi0uMDE5IDEyLjc0Mi0zLjA3NyAyLjIzNS0xOS4yNzYgMi4wNzQtMTkuMjc2LjYxNyAwLTQuOTU2IDEuMzk1LTEyLjQyNCA0LjA5Ni0xOC42NSAyLjE2My00Ljk4NCAxLjk4Mi0xMC4wNDYgNS4zMzItMTAuNzkxLjgzNC0uMTg1IDEuODE3Ljc0NyAzLjE5IDEuMDI0IDEuMTU1LjIzMyAxLjg0Mi0uMjk0IDIuNzEyIDAgMi4xMzkuNzIyIDMuNDI2IDIuMTA2IDMuODU5IDQuMTUyWiIgZmlsbD0iIzVCNUJFQSIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjEzNS43NjUiIHkxPSI5NC4yNjkiIHgyPSIxMzUuNzY1IiB5Mj0iMTMwLjk4MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNEQ0RDRTQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNERURFRTYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMTMyLjAzNSIgeTE9IjIwMi4wNzMiIHgyPSIyNTUuMTk5IiB5Mj0iMjE0LjMzMiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFREVERjIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGOUY5RkMiIHN0b3Atb3BhY2l0eT0iLjg4Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSI3MS4zNTciIHkxPSIxNjUuNjYyIiB4Mj0iNzEuMzU3IiB5Mj0iMjI3LjI0MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNERURFRTYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJkIiB4MT0iMTAwLjQzOCIgeTE9IjE1NS44NjYiIHgyPSIxMDAuNDM4IiB5Mj0iMjI5LjE1MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNEQ0RDRTQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNERURFRTYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJlIiB4MT0iODguOTgyIiB5MT0iMTQ5Ljc3NSIgeDI9Ijg4Ljk4MiIgeTI9IjE2My42ODgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRENEQ0U0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREVERUU2IiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZiIgeDE9IjE5MS40NzUiIHkxPSI4NC42NDQiIHgyPSIxOTEuNDc1IiB5Mj0iMTg5Ljg0NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQUZBRkMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjE5My44MzMiIHkxPSIxMTAuMTYxIiB4Mj0iMTkzLjgzMyIgeTI9IjE0My42MDciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUJFQkYyIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRjhGOEZBIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImgiIHgxPSIyNjEuMjY5IiB5MT0iOTkuMjA2IiB4Mj0iMjUyLjYyMyIgeTI9IjEyMi42NzMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkNGQ0ZGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRjNGM0Y3Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImkiIHgxPSIyNjguNjk1IiB5MT0iMTY5Ljk1NSIgeDI9IjI2OC42OTUiIHkyPSIyMDEuNzU4IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UyRTJFOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJqIiB4MT0iMjYxLjIzNCIgeTE9IjE4OC4zMTgiIHgyPSIyNTguMDY2IiB5Mj0iMTc4LjMwMyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNUI5NDIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkQyNzgiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjEzNS4xOTEiIHkxPSIxMjYuMTAzIiB4Mj0iMTMyLjMxNSIgeTI9IjEzMS4zMzYiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIxMTEuNjEyIiB5MT0iMTYwLjk2NSIgeDI9IjExOS40MDciIHkyPSIxMzkuNTg5IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRDJDNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGQjhBMyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJtIiB4MT0iMTMxLjE4NyIgeTE9IjE0MS40MzMiIHgyPSIxNTIuNDk2IiB5Mj0iMTUxLjMzOSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibiIgeDE9IjEzNC42MjciIHkxPSIxOTYuNjc5IiB4Mj0iMTQxLjczNCIgeTI9IjE2My4wNTciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjNzg3OEMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNUM1Q0JCIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im8iIHgxPSIxMTUuNjYiIHkxPSIxOTUuMDg0IiB4Mj0iMTIzLjQyIiB5Mj0iMTYwLjgxMiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODc4QzMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1QzVDQkIiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=",Y=i(99612),e=i(85893),Re=function(a){var s=a.loading,c=a.dispatch,R=a.user,g=a.testcase,Ue=a.gconfig,K=(0,w.useParams)(),E=K.directory,L=K.case_id,be=g.directoryName,t=g.caseInfo,fe=g.outParameters,h=g.editing,we=g.casePermission,Ge=g.constructRecord,Pe=g.constructorModal,$=Ue.envList,q=R.userMap,Fe=(0,o.useState)(!1),_=n()(Fe,2),Qe=_[0],ee=_[1],ke=(0,o.useState)({}),te=n()(ke,2),Be=te[0],We=te[1],Ve=G.Z.useForm(),Je=n()(Ve,1),T=Je[0],He=G.Z.useForm(),Xe=n()(He,1),Ke=Xe[0],$e=(0,o.useState)(""),ie=n()($e,2),S=ie[0],m=ie[1],qe=(0,o.useState)(0),Me=n()(qe,2),D=Me[0],z=Me[1],_e=(0,o.useState)([]),ae=n()(_e,2),C=ae[0],p=ae[1],et=(0,o.useState)([]),se=n()(et,2),U=se[0],Ie=se[1],tt=(0,o.useState)(!1),ue=n()(tt,2),it=ue[0],je=ue[1],le=function(){L&&c({type:"testcase/queryTestcase",payload:{caseId:L}})};(0,o.useEffect)(function(){c({type:"testcase/queryTestcaseDirectory",payload:{directory_id:E}}),c({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}}),c({type:"user/fetchUserList"}),le()},[]),(0,o.useEffect)(function(){T.resetFields(),T.setFieldsValue(t),p(V.Z.parseHeaders(t.request_headers)),m(t.body),z(t.body_type)},[t,h]);var Mt=!!(s.effects["testcase/queryTestcaseDirectory"]||s.effects["testcase/queryTestcase"]||s.effects["testcase/fetchUserList"]),at=function(M){return M===null?"\u65E0":v()(M)==="object"?M.length>0?M.map(function(N){return(0,e.jsx)(O.Z,{style:{marginRight:8},color:"blue",children:N},N)}):"\u65E0":M?M.split(",").map(function(N){return(0,e.jsx)(O.Z,{style:{marginRight:8},color:"blue",children:N},N)}):"\u65E0"},st=function(){return fe.filter(function(M){return M.id?!0:M.source===4?M.name:M.source===1||M.source===6?M.name&&M.expression:M.match_index&&M.name&&M.expression})},b=function(){var j=Z()(d()().mark(function M(){var N,u,r,y=arguments;return d()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return N=y.length>0&&y[0]!==void 0?y[0]:!1,A.next=3,T.validateFields();case 3:u=A.sent,r=x()(x()({},u),{},{request_type:parseInt(u.request_type,10),status:parseInt(u.status,10),tag:u.tag?u.tag.join(","):null,directory_id:E,body_type:D,request_headers:V.Z.translateHeaders(C),body:D===2?JSON.stringify(U):S,out_parameters:st()}),!h&&!N&&(r.priority=t.priority,r.name=t.name,r.status=t.status,r.tag=t.tag!==null?v()(t.tag)==="object"?t.tag.join(","):t.tag?t.tag:null:null,r.request_type=t.request_type),t.id?(r.id=t.id,c({type:"testcase/updateTestcase",payload:r})):c({type:"testcase/insertTestcase",payload:r});case 7:case"end":return A.stop()}},M)}));return function(){return j.apply(this,arguments)}}(),It=function(){var j=Z()(d()().mark(function M(N){var u;return d()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,c({type:"testcase/onExecuteTestCase",payload:{case_id:L,env:N}});case 2:u=y.sent,me.Z.notificationResponse(u,!0)&&(ee(!0),We(u.data));case 4:case"end":return y.stop()}},M)}));return function(N){return j.apply(this,arguments)}}(),ct=$.length===0?(0,e.jsx)(P.Z,{children:(0,e.jsx)("div",{children:(0,e.jsx)(F.Z,{image:Ce.Z,imageStyle:{height:90,width:90,margin:"0 auto"},description:(0,e.jsxs)("p",{children:["\u8FD8\u6CA1\u6709\u4EFB\u4F55\u73AF\u5883, \u53BB",(0,e.jsx)("a",{href:"/#/config/environment",children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})})})}):(0,e.jsx)(Q.Z,{children:$.map(function(j){return(0,e.jsx)(Q.Z.Item,{onClick:Z()(d()().mark(function M(){return d()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,It(j.id);case 2:case"end":return u.stop()}},M)})),children:(0,e.jsx)("a",{children:j.name})},j.id)})}),ut=function(){return t.tag===null||t.tag===""?[]:v()(t.tag)==="object"?t.tag:t.tag.split(",")};return(0,e.jsxs)(ye._z,{title:!1,breadcrumb:null,children:[(0,e.jsx)(De.Z,{width:1e3,modal:Qe,setModal:ee,response:Be,caseName:t.name,single:!1}),(0,e.jsx)(ge.Z,{spinning:Mt,tip:"\u66B4\u529B\u52A0\u8F7D\u4E2D...",size:"large",children:L?we?(0,e.jsx)(Le.Z,{children:(0,e.jsxs)(de.Z,{span:24,children:[(0,e.jsx)(Ae.Z,{width:1050,modal:Pe,setModal:function(M){c({type:"testcase/save",payload:{constructorModal:M}})},caseId:L,form:Ke,record:Ge,fetchData:le,suffix:it}),h?(0,e.jsx)(B.Z,{directoryId:E,form:T,body:S,setBody:m,caseId:L,formData:U,setFormData:Ie,bodyType:D,setBodyType:z,setSuffix:je,headers:C,setHeaders:p,onSubmit:b}):(0,e.jsxs)(P.Z,{style:{margin:-8},bodyStyle:{padding:24},title:(0,e.jsxs)("span",{children:[be," ",t.name?" > ".concat(t.name):""," ",Y.e5[t.case_type]]}),extra:(0,e.jsxs)("div",{children:[(0,e.jsxs)(k.ZP,{onClick:function(){c({type:"testcase/save",payload:{editing:!0,caseInfo:x()(x()({},t),{},{status:t.status.toString(),request_type:t.request_type.toString(),tag:ut()}),activeKey:"3"}})},style:{borderRadius:16},children:[(0,e.jsx)(Ee.Z,{})," \u7F16\u8F91"]}),(0,e.jsxs)(k.ZP,{type:"primary",style:{marginLeft:8,borderRadius:16},loading:s.effects["testcase/onExecuteTestCase"],onClick:function(M){M.stopPropagation()},children:[(0,e.jsx)(Se.Z,{})," \u8FD0\u884C"]})]}),children:[(0,e.jsxs)(l.Z,{column:4,children:[(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u540D\u79F0",children:(0,e.jsx)("a",{children:t.name})}),(0,e.jsx)(l.Z.Item,{label:"\u8BF7\u6C42\u7C7B\u578B",children:Y.XN[t.request_type]}),(0,e.jsx)(l.Z.Item,{label:"\u8BF7\u6C42url",span:2,style:{fontSize:14,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(0,e.jsx)(Te.Z,{title:t.url,children:(0,e.jsx)("a",{href:t.url,children:t.url})})}),(0,e.jsx)(l.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:Y.dh[t.request_method]}),(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u7B49\u7EA7",children:(0,e.jsx)(O.Z,{color:W.Z.CASE_TAG[t.priority],children:t.priority})}),(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u72B6\u6001",children:(0,e.jsx)(xe.Z,x()({},W.Z.CASE_BADGE[t.status]))}),(0,e.jsx)(l.Z.Item,{label:"\u7528\u4F8B\u6807\u7B7E",children:(0,e.jsx)("div",{style:{textAlign:"center"},children:at(t.tag)})}),(0,e.jsx)(l.Z.Item,{label:"\u521B\u5EFA\u4EBA",children:(0,e.jsx)(J.Z,{size:16,user:q[t.create_user]})}),(0,e.jsx)(l.Z.Item,{label:"\u66F4\u65B0\u4EBA",children:(0,e.jsx)(J.Z,{size:16,user:q[t.update_user]})}),(0,e.jsx)(l.Z.Item,{label:"\u521B\u5EFA\u65F6\u95F4",children:t.created_at}),(0,e.jsx)(l.Z.Item,{label:"\u66F4\u65B0\u65F6\u95F4",children:t.updated_at})]}),(0,e.jsx)(ze.Z,{setSuffix:je,headers:C,setHeaders:p,body:S,setBody:m,case_id:L,formData:U,setFormData:Ie,bodyType:D,form:T,setBodyType:z,onSubmit:b})]})]})}):(0,e.jsx)(F.Z,{description:"\u4F60\u65E0\u6CD5\u67E5\u770B\u6B64\u7528\u4F8B\uFF0C\u8BF7\u8054\u7CFB\u5BF9\u5E94\u9879\u76EE\u7EC4\u957F\u5F00\u901A\u6743\u9650\u3002",image:Ye,imageStyle:{height:400}}):(0,e.jsx)(B.Z,{directoryId:E,create:!0,form:T,body:S,setBody:m,headers:C,setHeaders:p,onSubmit:b,setBodyType:z,bodyType:D})})]})},he=(0,w.connect)(function(I){var a=I.user,s=I.testcase,c=I.loading,R=I.gconfig;return{testcase:s,user:a,loading:c,gconfig:R}})(Re)}}]); diff --git a/statics/p__ApiTest__TestCaseDirectory.e3920b19.async.js b/statics/p__ApiTest__TestCaseDirectory.7b8421f0.async.js similarity index 78% rename from statics/p__ApiTest__TestCaseDirectory.e3920b19.async.js rename to statics/p__ApiTest__TestCaseDirectory.7b8421f0.async.js index 47bc4c23..38f4f477 100644 --- a/statics/p__ApiTest__TestCaseDirectory.e3920b19.async.js +++ b/statics/p__ApiTest__TestCaseDirectory.7b8421f0.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5570,2759],{86607:function(He,ce,t){var De=t(97857),oe=t.n(De),le=t(5574),x=t.n(le),te=t(13769),u=t.n(te),k=t(67294),S=t(51904),A=t(69400),s=t(96365),z=t(26713),Le=t(71577),re=t(83062),P=t(64240),H=t(42481),de=t(26671),Me=t(22763),J=t(40110),we=t(31484),Je=t(37763),Xe=t.n(Je),l=t(85893),Be=["dataSource","dispatch","loading"],be=function(L){switch(L.toUpperCase()){case"GET":return{color:"rgb(235, 249, 244)",fontColor:"rgb(47, 177, 130)"};case"POST":return{color:"rgb(242, 244, 248)",fontColor:"rgb(5, 112, 175)"};case"PUT":return{color:"rgb(255, 247, 230)",fontColor:"rgb(255, 174, 0)"};case"DELETE":return{color:"rgb(253, 244, 246)",fontColor:"rgb(222, 72, 108)"};default:return{color:"rgb(243, 251, 254)",fontColor:"rgb(166, 187, 210)"}}},Ke=function(L){var f=L.color,xe=L.text,Ze=L.fontColor;return(0,l.jsx)(S.Z,{style:{color:Ze,borderRadius:12,padding:"0 12px"},color:f,children:xe})},Se=function(L){var f=L.name,xe=L.record;return(0,l.jsx)("a",{onClick:function(){A.Z.info({title:f,width:700,bodyStyle:{padding:-12},content:(0,l.jsx)(H.Z,{language:"json",style:de.BV,children:xe[f]})})},children:"\u8BE6\u7EC6"})},_=function(L){var f=L.dataSource,xe=L.dispatch,Ze=L.loading,pe=u()(L,Be),_e=(0,k.useState)(""),me=x()(_e,2),c=me[0],Oe=me[1],$e=(0,k.useState)(""),Re=x()($e,2),qe=Re[0],Ue=Re[1],Fe=(0,k.useRef)(null),Ae=function(d,C,T){C(),Oe(d[0]),Ue(T)},et=function(d){d(),Oe("")},tt=function(d){return{filterDropdown:function(T){var ae=T.setSelectedKeys,Te=T.selectedKeys,je=T.confirm,Ge=T.clearFilters;return(0,l.jsxs)("div",{style:{padding:8},children:[(0,l.jsx)(s.Z,{ref:Fe,placeholder:"\u641C\u7D22 ".concat(d),value:Te[0],onChange:function(Ye){return ae(Ye.target.value?[Ye.target.value]:[])},onPressEnter:function(){return Ae(Te,je,d)},style:{marginBottom:8,display:"block"}}),(0,l.jsxs)(z.Z,{children:[(0,l.jsx)(Le.ZP,{type:"primary",onClick:function(){return Ae(Te,je,d)},icon:(0,l.jsx)(J.Z,{}),size:"small",style:{width:90},children:"\u67E5\u627E"}),(0,l.jsx)(Le.ZP,{onClick:function(){return Ge&&et(Ge)},size:"small",style:{width:90},children:"\u91CD\u7F6E"}),(0,l.jsx)(Le.ZP,{type:"link",size:"small",onClick:function(){je({closeDropdown:!1}),Oe(Te[0]),Ue(d)},children:"\u8FC7\u6EE4"})]})]})},filterIcon:function(T){return(0,l.jsx)(J.Z,{style:{color:T?"#1890ff":void 0}})},onFilter:function(T,ae){return ae[d].toString().toLowerCase().includes(T.toLowerCase())},onFilterDropdownVisibleChange:function(T){T&&setTimeout(function(){var ae;return(ae=Fe.current)===null||ae===void 0?void 0:ae.select()},100)},ellipsis:!0,render:function(T){return qe===d?(0,l.jsx)(re.Z,{title:T,children:(0,l.jsx)(Xe(),{highlightStyle:{backgroundColor:"#ffc069",padding:0},searchWords:[c],autoEscape:!0,textToHighlight:T?T.toString():""})}):(0,l.jsx)(re.Z,{title:T,children:(0,l.jsx)("a",{href:T,children:T.slice(0,48)})})}}},rt=function(d){xe({type:"recorder/remove",payload:d})},ke=[{title:"\u7F16\u53F7",key:"index",render:function(d,C){return"".concat(C.index+1)}},oe()({title:"\u8BF7\u6C42\u5730\u5740",key:"url",dataIndex:"url",width:"20%"},tt("url")),{title:"\u8BF7\u6C42\u65B9\u5F0F",key:"request_method",dataIndex:"request_method",render:function(d){return(0,l.jsx)(Ke,{fontColor:be(d).fontColor,color:be(d).color,text:d})}},{title:"\u8BF7\u6C42headers",key:"request_headers",dataIndex:"request_headers",render:function(d,C){return(0,l.jsx)(Se,{name:"request_headers",record:C})}},{title:"\u8BF7\u6C42\u53C2\u6570",key:"body",dataIndex:"body",render:function(d,C){return d?(0,l.jsx)(Se,{name:"body",record:C}):"-"}},{title:"\u8FD4\u56DEheaders",key:"response_headers",dataIndex:"response_headers",render:function(d,C){return d?(0,l.jsx)(Se,{name:"response_headers",record:C}):"-"}},{title:"response",key:"response_content",dataIndex:"response_content",render:function(d,C){return d?(0,l.jsx)(Se,{name:"response_content",record:C}):"-"}},{key:"ops",title:"\u64CD\u4F5C",render:function(d,C){return(0,l.jsx)(re.Z,{title:"\u70B9\u51FB\u53EF\u5220\u9664\u5F55\u5236\u6570\u636E(\u4E0D\u63A8\u8350)",children:(0,l.jsx)(we.Z,{twoToneColor:"#F56C6C",onClick:function(){rt(C.index)}})})}}];return(0,l.jsx)(P.Z,{columns:ke,dataSource:f,rowSelection:pe.rowSelection,rowKey:function(d){return d[pe.rowKey]},loading:Ze,locale:{emptyText:(0,l.jsx)(Me.Z,{desc:pe.emptyText,height:150})}})};ce.Z=_},90861:function(He,ce,t){var De=t(34041),oe=t(98293),le=t(19478),x=t(67294),te=t(85893),u=De.Z.Option;ce.Z=function(k){var S=k.users,A=k.placeholder,s=A===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":A,z=k.onChange,Le=k.value,re=k.mode,P=re===void 0?null:re;return(0,te.jsx)(De.Z,{allowClear:!0,onChange:z,value:Le,showSearch:!0,placeholder:s,mode:P,filterOption:function(de,Me){return Me.props.children[2].toLowerCase().indexOf(de.toLowerCase())>-1||Me.props.children[4].toLowerCase().indexOf(de.toLowerCase())>-1},children:S.map(function(H){return(0,te.jsxs)(u,{value:H.id,children:[(0,te.jsx)(oe.C,{size:14,src:H.avatar||le.Z.AVATAR_URL})," ",H.name,"(",H.email,")"]},H.id)})})}},94156:function(He,ce,t){t.r(ce),t.d(ce,{default:function(){return ur}});var De=t(19632),oe=t.n(De),le=t(97857),x=t.n(le),te=t(15009),u=t.n(te),k=t(99289),S=t.n(k),A=t(5574),s=t.n(A),z=t(58841),Le=t(99612),re=t(34041),P=t(58131),H=t(69400),de=t(4393),Me=t(32983),J=t(68508),we=t(51904),Je=t(53575),Xe=t(96074),l=t(13013),Be=t(59847),be=t(83062),Ke=t(2453),Se=t(29905),_=t(71230),fe=t(85265),L=t(71577),f=t(15746),xe=t(98293),Ze=t(75081),pe=t(96365),_e=t(64240),me=t(94171),c=t(67294),Oe=t(85884),$e=t(63783),Re=t(34804),qe=t(11475),Ue=t(47389),Fe=t(82061),Ae=t(51042),et=t(67841),tt=t(38958),rt=t(60219),ke=t(74842),w=t(40110),d=t(33160),C=t(58638),T=t(290),ae=t(22763),Te=t(84298),je=t(19478),Ge=t(10981),Ce=t(87023),Ye=t(12554),wt=t(86452),Bt=t(90861),bt=t(14e3),Ut=t(37446),kt=t(60696),e=t(85893),dt=[],Gt=function(I){var i=I.treeData,M=I.blockNode,Z=M===void 0?!0:M,G=I.onAddNode,$=I.menu,q=I.selectedKeys,N=I.onSelect,V=I.addDirectory,Y=function p(y){for(var D=0;D-1?X(R.key,i):null}).filter(function(R,F,Ee){return R&&Ee.indexOf(R)===F});E(m),se(D),B(!0)},v=function p(y){return y.map(function(D){var m=D.title.indexOf(ee),R=D.title.substr(0,m),F=D.title.substr(m+ee.length),Ee=m>-1?(0,e.jsxs)("span",{children:[R,(0,e.jsx)("span",{className:"site-tree-search-value",children:ee}),F]}):(0,e.jsx)("span",{children:D.title});return D.children?{title:Ee,key:D.key,children:p(D.children)}:{title:Ee,key:D.key}})};return(0,e.jsxs)("div",{children:[(0,e.jsxs)(_.Z,{gutter:8,children:[(0,e.jsx)(f.Z,{span:18,children:(0,e.jsx)(pe.Z,{size:"small",className:"treeSearch",placeholder:"\u8F93\u5165\u8981\u67E5\u627E\u7684\u76EE\u5F55",onChange:he,prefix:(0,e.jsx)(w.Z,{})})}),(0,e.jsx)(f.Z,{span:6,children:V})]}),(0,e.jsx)(bt.Z,{onExpand:O,defaultExpandAll:!0,blockNode:Z,selectedKeys:q,onSelect:N,expandedKeys:K,autoExpandParent:ve,treeData:v(i),titleRender:function(y){return(0,e.jsxs)("div",{onMouseOver:function(){return Q(y.key)},onMouseLeave:function(){return Q(null)},children:[(0,e.jsx)(kt.Z,{theme:"outline",size:"15",className:"folder"}),y.title,U===y.key?(0,e.jsxs)("span",{className:"suffixButton",children:[(0,e.jsx)(Ae.Z,{onClick:function(m){m.stopPropagation(),G(y)},className:"icon-left"}),(0,e.jsx)(l.Z,{overlay:$(y),trigger:"click",children:(0,e.jsx)(Ut.Z,{className:"icon-right",onClick:function(m){m.stopPropagation()}})})]}):null]})}})]})},Mt=t(31298),Yt=function(i){return(0,e.jsx)(de.Z,x()(x()({},i),{},{bodyStyle:{height:"100%",overflowX:"hidden"},children:i.hideOverflowX?(0,e.jsx)(Mt.$B,{autoHide:!0,autoHideTimeout:1e3,renderTrackHorizontal:function(Z){return(0,e.jsx)("div",x()(x()({},Z),{},{style:{display:Z.hideOverflowX?"hidden":"block"},className:"track-horizontal"}))},autoHideDuration:200,style:{width:"100%",height:"inherit"},children:i.children}):(0,e.jsx)(Mt.$B,{autoHide:!0,autoHideTimeout:1e3,autoHideDuration:200,style:{width:"100%",height:"inherit"},children:i.children})}))},jt=(0,c.memo)(Yt),Wt=t(21237),Qt=t(88496),Vt=t(80242),qr=t(72729),It=t(59697),Ht=function(i){var M=i.dispatch,Z=i.testcase,G=i.directory_id,$=i.bodyType,q=i.setBodyType,N=i.formData,V=i.setFormData,Y=i.body,X=i.setBody,Ie=i.headers,ne=i.setHeaders,K=i.onSubmit,E=i.form,W=Z.caseInfo,ye=Z.editing,ee=Z.constructRecord,se=Z.constructorModal,ge=(0,c.useState)(!1),ie=s()(ge,2),ve=ie[0],B=ie[1],Ne=(0,c.useState)({}),b=s()(Ne,2),U=b[0],Q=b[1],O=P.Z.useForm(),he=s()(O,1),v=he[0],p=(0,c.useState)(!1),y=s()(p,2),D=y[0],m=y[1];return(0,c.useEffect)(function(){M({type:"testcase/queryTestcaseDirectory",payload:{directory_id:G}}),M({type:"gconfig/fetchEnvList",payload:{page:1,exactly:!0}}),M({type:"user/fetchUserList"})},[]),(0,c.useEffect)(function(){ne(It.Z.parseHeaders(W.request_headers)),X(W.body),q(W.body_type)},[W,ye]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Ce.Z,{width:1e3,modal:ve,setModal:B,response:U,caseName:W.name,single:!1}),(0,e.jsx)(_.Z,{children:(0,e.jsxs)(f.Z,{span:24,children:[(0,e.jsx)(Vt.Z,{width:1050,modal:se,setModal:function(F){M({type:"testcase/save",payload:{constructorModal:F}})},form:v,record:ee,createMode:!0,suffix:D}),(0,e.jsx)(Qt.Z,{directoryId:G,form:E,body:Y,setBody:X,create:!0,formData:N,setFormData:V,bodyType:$,setBodyType:q,setSuffix:m,headers:Ie,setHeaders:ne,onSubmit:K})]})})]})},Jt=(0,me.connect)(function(I){var i=I.user,M=I.testcase,Z=I.loading,G=I.gconfig;return{testcase:M,user:i,loading:Z,gconfig:G}})(Ht),at=t(54689),Xt=t(26713),Kt=t(66476),_t=t(82759),$t=t(86607),qt=t(1832),er=t(88916),tr=t(57546),nt;(function(I){I[I.har=1]="har"})(nt||(nt={}));var rr=function(i){var M=i.visible,Z=i.setVisible,G=i.directory,$=i.loading,q=i.recorder,N=i.dispatch,V=P.Z.useForm(),Y=s()(V,1),X=Y[0],Ie=q.recordLists,ne=(0,c.useState)([]),K=s()(ne,2),E=K[0],W=K[1],ye=(0,c.useState)([]),ee=s()(ye,2),se=ee[0],ge=ee[1],ie={selectedRowKeys:se,onChange:function(U){ge(U)}};(0,c.useEffect)(function(){N({type:"recorder/queryRecordStatus"}),W([]),X.resetFields()},[M]);var ve=function(){if(Ie.length===0){at.Z.info({message:"\u{1F914}\u672A\u80FD\u83B7\u53D6\u5230\u5F55\u5236\u4FE1\u606F",description:(0,e.jsxs)("span",{children:["\u4F60\u53EF\u4EE5\u53BB",(0,e.jsx)("a",{href:"/#/apiTest/record",children:"\u5F55\u5236\u9875\u9762"})," \u76F4\u63A5\u751F\u6210\u7528\u4F8B\u54E6\u{1F389}~"]})});return}W(Ie)},B=function(){var b=S()(u()().mark(function U(){var Q,O;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,X.validateFields();case 2:return Q=v.sent,v.next=5,N({type:"recorder/generateCase",payload:{directory_id:Q.directory_id,name:Q.name,requests:se.map(function(p){return{request_headers:JSON.parse(E[p].request_headers),response_headers:JSON.parse(E[p].response_headers),cookies:JSON.parse(E[p].cookies),request_cookies:JSON.parse(E[p].request_cookies),response_content:E[p].response_content,request_method:E[p].request_method,url:E[p].url,body:E[p].body,status_code:E[p].status_code}})}});case 5:O=v.sent,O&&(at.Z.success({message:"\u{1F389} \u7528\u4F8B\u751F\u6210\u6210\u529F\uFF0C\u53EF\u4EE5\u53BB\u5BF9\u5E94\u76EE\u5F55\u67E5\u770B\u54E6~",placement:"topLeft"}),N({type:"testcase/save",payload:{currentDirectory:[Q.directory_id]}}),Z(!1));case 7:case"end":return v.stop()}},U)}));return function(){return b.apply(this,arguments)}}(),Ne=function(){var b=S()(u()().mark(function U(Q){var O;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return ge([]),v.next=3,N({type:"recorder/import",payload:{file:Q.file,import_type:nt.har}});case 3:O=v.sent,O.length>0&&(at.Z.success({message:"\u{1F389} \u6210\u529F\u5BFC\u5165".concat(O.length,"\u6761\u6570\u636E\uFF0C\u5FEB\u53BB\u6311\u9009\u8BF7\u6C42\u751F\u6210\u7528\u4F8B\u5427~"),placement:"topLeft"}),W(O));case 5:case"end":return v.stop()}},U)}));return function(Q){return b.apply(this,arguments)}}();return(0,e.jsxs)(fe.Z,{title:"\u751F\u6210\u7528\u4F8B",onClose:function(){return Z()},open:M,width:960,extra:(0,e.jsxs)(L.ZP,{disabled:se.length===0,onClick:B,type:"primary",children:[(0,e.jsx)(qt.Z,{})," \u751F\u6210\u7528\u4F8B"]}),children:[(0,e.jsx)(P.Z,x()(x()({form:X},je.Z.SUB_LAYOUT),{},{children:(0,e.jsxs)(_.Z,{gutter:8,children:[(0,e.jsx)(f.Z,{span:12,children:(0,e.jsx)(P.Z.Item,{label:"\u573A\u666F\u76EE\u5F55",name:"directory_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u573A\u666F\u76EE\u5F55"}],children:(0,e.jsx)(Be.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F\u76EE\u5F55",treeLine:!0,treeData:G})})}),(0,e.jsx)(f.Z,{span:12,children:(0,e.jsx)(P.Z.Item,{label:"\u573A\u666F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0"}],children:(0,e.jsx)(pe.Z,{placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0"})})})]})})),E.length===0?(0,e.jsx)(Me.Z,{image:_t.Z,imageStyle:{height:220},description:"\u5F53\u524D\u6CA1\u6709\u4EFB\u4F55\u8BF7\u6C42\u6570\u636E\uFF0C\u4F60\u53EF\u4EE5\u9009\u62E9\u3010\u5F55\u5236\u3011\u540E\u7684\u6570\u636E\uFF0C\u4E5F\u53EF\u4EE5\u5BFC\u5165har\u6587\u4EF6\u63D0\u53D6\u63A5\u53E3\u{1F44F}",children:(0,e.jsxs)(Xt.Z,{children:[(0,e.jsxs)(L.ZP,{onClick:ve,children:[(0,e.jsx)(er.Z,{})," \u5F55\u5236\u8BF7\u6C42"]}),(0,e.jsx)(Kt.Z,{showUploadList:!1,customRequest:Ne,fileList:[],children:(0,e.jsxs)(L.ZP,{type:"primary",children:[(0,e.jsx)(tr.Z,{}),"\u5BFC\u5165Har"]})})]})}):(0,e.jsx)($t.Z,{dataSource:E,rowSelection:ie,rowKey:"index",dispatch:N,loading:$.effects["recorder/generateCase"]})]})},ar=(0,me.connect)(function(I){var i=I.recorder,M=I.loading;return{recorder:i,loading:M}})(rr),nr=t(94877),sr=re.Z.Option,ir=function(i){var M=i.testcase,Z=i.gconfig,G=i.project,$=i.user,q=i.loading,N=i.dispatch,V=G.projects,Y=G.project_id,X=Z.envList,Ie=$.userList,ne=$.userMap,K=M.directory,E=M.currentDirectory,W=M.testcases,ye=M.asserts,ee=M.testData,se=M.preConstructor,ge=M.outParameters,ie=M.postConstructor,ve=M.testResult,B=M.selectedRowKeys,Ne=M.pagination,b=(0,c.useState)(null),U=s()(b,2),Q=U[0],O=U[1],he=(0,c.useState)(!1),v=s()(he,2),p=v[0],y=v[1],D=(0,c.useState)(!1),m=s()(D,2),R=m[0],F=m[1],Ee=(0,c.useState)({}),yt=s()(Ee,2),st=yt[0],We=yt[1],cr=(0,c.useState)("\u65B0\u5EFA\u76EE\u5F55"),gt=s()(cr,2),or=gt[0],Qe=gt[1],lr=(0,c.useState)(!1),Nt=s()(lr,2),dr=Nt[0],Ve=Nt[1],Mr=P.Z.useForm(),jr=s()(Mr,1),it=jr[0],Ir=P.Z.useForm(),yr=s()(Ir,1),Et=yr[0],gr=(0,c.useState)(!1),Dt=s()(gr,2),Nr=Dt[0],Lt=Dt[1],Er=(0,c.useState)(""),xt=s()(Er,2),Dr=xt[0],Lr=xt[1],xr=(0,c.useState)(!1),pt=s()(xr,2),pr=pt[0],ut=pt[1],mr=(0,c.useState)(!1),mt=s()(mr,2),Tr=mt[0],Tt=mt[1],Cr=(0,c.useState)(0),Ct=s()(Cr,2),ct=Ct[0],vr=Ct[1],hr=(0,c.useState)([]),vt=s()(hr,2),ht=vt[0],Sr=vt[1],fr=(0,c.useState)([]),St=s()(fr,2),ft=St[0],Zr=St[1],Ar=(0,c.useState)(""),Zt=s()(Ar,2),At=Zt[0],zr=Zt[1],Or={selectedRowKeys:B,onChange:function(r){Pe({selectedRowKeys:r})}},Rr=function(){var n=S()(u()().mark(function r(a,g){var j;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,N({type:"testcase/executeTestcase",payload:{case_id:a.id,env:g}});case 2:j=h.sent,j&&(Lt(!0),Lr(a.name));case 4:case"end":return h.stop()}},r)}));return function(a,g){return n.apply(this,arguments)}}(),Fr=function(){var n=S()(u()().mark(function r(a){var g;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,N({type:"testcase/executeSelectedCase",payload:{case_list:B,env:a}});case 2:g=o.sent,Ge.Z.response(g)&&H.Z.confirm({title:"\u7528\u4F8B\u6B63\u5728\u540E\u53F0\u6267\u884C, \u53BB\u62A5\u544A\u9875\u9762\u67E5\u770B\u4EFB\u52A1\u72B6\u6001\u{1F514}",icon:(0,e.jsx)($e.Z,{}),onOk:function(){me.history.push("/#/record/list")},onCancel:function(){}});case 4:case"end":return o.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),zt=function(r){return X.length===0?(0,e.jsx)(de.Z,{children:(0,e.jsx)("div",{children:(0,e.jsx)(Me.Z,{image:wt.Z,imageStyle:{height:90,width:90,margin:"0 auto"},description:(0,e.jsxs)("p",{children:["\u8FD8\u6CA1\u6709\u4EFB\u4F55\u73AF\u5883, \u53BB",(0,e.jsx)("a",{href:"/#/config/environment",children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})})})}):(0,e.jsx)(J.Z,{children:X.map(function(a){return(0,e.jsx)(J.Z.Item,{children:(0,e.jsx)("a",{onClick:S()(u()().mark(function g(){return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(!r){o.next=5;break}return o.next=3,Rr(r,a.id);case 3:o.next=7;break;case 5:return o.next=7,Fr(a.id);case 7:case"end":return o.stop()}},g)})),children:a.name})},a.id)})})},Pr=[{title:"\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:"20%"},{title:"\u8BF7\u6C42\u534F\u8BAE",dataIndex:"request_type",key:"request_type",width:110,render:function(r){return Le.XN[r]}},{title:"\u4F18\u5148\u7EA7",dataIndex:"priority",key:"priority",width:90,render:function(r){return(0,e.jsx)(we.Z,{color:je.Z.CASE_TAG[r],children:r})}},{title:"\u72B6\u6001",dataIndex:"status",key:"status",width:110,render:function(r){return(0,e.jsx)(Je.Z,x()({},je.Z.CASE_BADGE[r]))}},{title:"\u521B\u5EFA\u4EBA",dataIndex:"create_user",key:"create_user",width:160,ellipsis:!0,render:function(r){return(0,e.jsx)(Ye.Z,{user:ne[r]})}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",key:"updated_at",width:160},{title:"\u64CD\u4F5C",dataIndex:"ops",width:130,key:"ops",fixed:"right",render:function(r,a){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{href:"/#/apiTest/testcase/".concat(E[0],"/").concat(a.id),children:"\u8BE6\u60C5"}),(0,e.jsx)(Xe.Z,{type:"vertical"}),(0,e.jsx)(l.Z,{overlay:zt(a),children:(0,e.jsxs)("a",{onClick:function(j){j.stopPropagation()},children:["\u6267\u884C ",(0,e.jsx)(Re.Z,{})]})})]})}}],wr=function(){N({type:"project/listProject"})},ot=function(){Y&&N({type:"testcase/listTestcaseDirectory",payload:{project_id:Y,move:!0}})},Br=function(){N({type:"user/fetchUserList"})},br=function(){N({type:"gconfig/fetchEnvList"})},ze=function(){var n=S()(u()().mark(function r(){var a;return u()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,it.getFieldsValue();case 2:a=j.sent,E.length>0&&N({type:"testcase/listTestcase",payload:{directory_id:E[0],name:a.name||"",create_user:a.create_user!==null&&a.create_user!==void 0?a.create_user:""}});case 4:case"end":return j.stop()}},r)}));return function(){return n.apply(this,arguments)}}();(0,c.useEffect)(function(){wr(),Br(),br()},[]),(0,c.useEffect)(function(){ot()},[Y]),(0,c.useEffect)(function(){ze()},[E]);var Ot=function(r){N({type:"project/save",payload:r}),N({type:"testcase/save",payload:{currentDirectory:[]}}),localStorage.setItem("project_id",r.project_id)},Pe=function(r){N({type:"testcase/save",payload:r})},Ur=function(){var n=S()(u()().mark(function r(a){var g,j;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(g={name:a.name,project_id:Y,parent:Q},!st.id){h.next=7;break}return h.next=4,N({type:"testcase/updateTestcaseDirectory",payload:x()(x()({},g),{},{id:st.id})});case 4:j=h.sent,h.next=10;break;case 7:return h.next=9,N({type:"testcase/insertTestcaseDirectory",payload:g});case 9:j=h.sent;case 10:j&&(y(!1),Pe({selectedRowKeys:[]}),ot());case 11:case"end":return h.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),kr=function(){var n=S()(u()().mark(function r(a){var g;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,N({type:"testcase/moveTestCaseToDirectory",payload:{id_list:B,directory_id:a.directory_id,project_id:Y}});case 2:g=o.sent,g&&(ut(!1),Pe({selectedRowKeys:[]}),ze());case 4:case"end":return o.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),Gr=function(){var n=S()(u()().mark(function r(a){var g;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,N({type:"testcase/deleteTestcaseDirectory",payload:{id:a}});case 2:g=o.sent,g&&ot();case 4:case"end":return o.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),Yr=function(){var n=S()(u()().mark(function r(){var a;return u()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,N({type:"testcase/deleteTestcase",payload:B});case 2:a=j.sent,a&&ze();case 4:case"end":return j.stop()}},r)}));return function(){return n.apply(this,arguments)}}(),Wr=function(){ut(!0)},lt=function(r,a){r===1?(O(a.key),Qe("\u65B0\u589E\u76EE\u5F55"),We({name:""}),y(!0)):r===2?(We({name:a.title.props.children[2],id:a.key}),Qe("\u7F16\u8F91\u76EE\u5F55"),y(!0)):r===3&&H.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u76EE\u5F55\u5417?",icon:(0,e.jsx)(qe.Z,{}),content:"\u5220\u9664\u540E\uFF0C\u76EE\u5F55\u4E0B\u7684case\u4E5F\u5C06\u4E0D\u518D\u53EF\u89C1\uFF01\uFF01\uFF01",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){Gr(a.key)}})},Qr=[{name:"name",label:"\u76EE\u5F55\u540D\u79F0",required:!0,placeholder:"\u8BF7\u8F93\u5165\u76EE\u5F55\u540D\u79F0, \u4E0D\u8D85\u8FC718\u4E2A\u5B57\u7B26",type:"input"}],Vr=[{name:"directory_id",label:"\u76EE\u6807\u76EE\u5F55",required:!0,placeholder:"\u8BF7\u9009\u62E9\u8981\u79FB\u52A8\u5230\u7684\u76EE\u5F55",type:"select",component:(0,e.jsx)(Be.Z,{treeData:K,showSearch:!0,treeDefaultExpandAll:!0})}],Rt=function(){if(V.length===0)return"loading...";var r=V.filter(function(a){return a.id===Y});return r.length===0?(Ot({project_id:V[0].id}),V[0]):r[0]},Ft={labelCol:{span:8},wrapperCol:{span:16}},Hr=function(r){return(0,e.jsxs)(J.Z,{children:[(0,e.jsx)(J.Z.Item,{children:(0,e.jsxs)("a",{onClick:function(g){g.stopPropagation(),lt(2,r)},children:[(0,e.jsx)(Ue.Z,{})," \u7F16\u8F91\u76EE\u5F55"]})},"1"),(0,e.jsx)(J.Z.Item,{danger:!0,children:(0,e.jsxs)("a",{onClick:function(g){g.stopPropagation(),lt(3,r)},children:[(0,e.jsx)(Fe.Z,{})," \u5220\u9664\u76EE\u5F55"]})},"2")]})},Jr=(0,e.jsx)(be.Z,{title:"\u70B9\u51FB\u53EF\u65B0\u5EFA\u6839\u76EE\u5F55, \u5B50\u76EE\u5F55\u9700\u8981\u5728\u6811\u4E0A\u65B0\u5EFA",children:(0,e.jsx)("a",{className:"directoryButton",onClick:function(){y(!0),We({name:""}),Qe("\u65B0\u5EFA\u6839\u76EE\u5F55"),O(null)},children:(0,e.jsx)(Ae.Z,{})})}),Xr=function(){if(!E[0]){Ke.ZP.info("\u8BF7\u5148\u521B\u5EFA\u6216\u9009\u62E9\u7528\u4F8B\u76EE\u5F55~");return}Ve(!0),N({type:"testcase/save",payload:{asserts:[],postConstructor:[],preConstructor:[],outParameters:[{key:0,source:1}],caseInfo:{},testData:{}}})},Kr=(0,e.jsxs)(J.Z,{children:[(0,e.jsx)(J.Z.Item,{children:(0,e.jsxs)("a",{onClick:function(){Xr()},children:[(0,e.jsx)(et.Z,{})," \u666E\u901A\u573A\u666F"]})},"1"),(0,e.jsx)(J.Z.Item,{children:(0,e.jsxs)("a",{onClick:function(){return Tt(!0)},children:[(0,e.jsx)(tt.Z,{})," \u5F55\u5236\u573A\u666F",(0,e.jsx)(we.Z,{color:"red",style:{fontSize:12,margin:"0 4px",lineHeight:"12px",padding:2},children:"\u65B0"})]})},"2")]}),_r=function(){return ge.filter(function(r){switch(r.source){case 0:case 5:return r.name&&r.expression&&r.match_index;case 1:case 2:case 3:case 6:case 7:return r.name&&r.expression;case 4:return r.name;default:return!1}})},Pt=function(){var n=S()(u()().mark(function r(){var a,g,j,o,h;return u()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,Et.validateFields();case 2:return a=ue.sent,g=x()(x()({},a),{},{request_type:parseInt(a.request_type,10),status:parseInt(a.status,10),tag:a.tag?a.tag.join(","):null,directory_id:E[0],body_type:ct,request_headers:It.Z.translateHeaders(ft),body:ct===2?JSON.stringify(ht):At}),j=[],Object.values(ee).forEach(function($r){j=j.concat($r)}),o={case:g,asserts:ye,data:j,constructor:[].concat(oe()(se),oe()(ie)),out_parameters:_r()},ue.next=9,N({type:"testcase/createTestCase",payload:o});case 9:if(h=ue.sent,!h){ue.next=14;break}return Ve(!1),ue.next=14,ze();case 14:case"end":return ue.stop()}},r)}));return function(){return n.apply(this,arguments)}}();return(0,e.jsxs)(z._z,{title:!1,breadcrumb:null,children:[(0,e.jsx)(Ce.Z,{width:1e3,modal:Nr,setModal:Lt,response:ve,caseName:Dr,single:!1}),(0,e.jsx)(Te.Z,{title:"\u79FB\u52A8\u7528\u4F8B",onCancel:function(){return ut(!1)},fields:Vr,onFinish:kr,open:pr,left:6,right:18,width:500,formName:"move"}),V.length===0?(0,e.jsx)(Se.ZP,{status:"404",subTitle:(0,e.jsxs)("span",{children:["\u4F60\u8FD8\u6CA1\u6709\u6DFB\u52A0\u4EFB\u4F55\u9879\u76EE, ",(0,e.jsx)("a",{href:"/#/project",children:"\u6DFB\u52A0\u9879\u76EE"}),"\u540E\u624D\u80FD\u7F16\u5199Case"]})}):(0,e.jsx)(de.Z,{style:{height:"100%",minHeight:600},bodyStyle:{padding:0},bordered:!1,children:(0,e.jsxs)(_.Z,{children:[(0,e.jsx)(Te.Z,{title:or,onCancel:function(){return y(!1)},fields:Qr,onFinish:Ur,record:st,open:p,left:6,right:18,width:400,formName:"root"}),(0,e.jsx)(fe.Z,{bodyStyle:{padding:0},open:dr,width:1300,title:"\u6DFB\u52A0\u573A\u666F\u7528\u4F8B",onClose:function(){return Ve(!1)},maskClosable:!1,footer:(0,e.jsxs)("div",{style:{float:"right"},children:[(0,e.jsxs)(L.ZP,{type:"primary",onClick:S()(u()().mark(function n(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Pt();case 2:case"end":return a.stop()}},n)})),children:[(0,e.jsx)(rt.Z,{})," \u63D0\u4EA4"]}),(0,e.jsxs)(L.ZP,{style:{marginLeft:8},children:[(0,e.jsx)(ke.Z,{})," \u6D4B\u8BD5"]})]}),children:(0,e.jsx)(Jt,{directory_id:E[0],onSubmit:Pt,bodyType:ct,setBodyType:vr,formData:ht,setFormData:Sr,setAddCaseVisible:Ve,headers:ft,setHeaders:Zr,body:At,form:Et,setBody:zr})}),(0,e.jsx)(ar,{directory:K,visible:Tr,setVisible:Tt}),(0,e.jsxs)(Oe.Z,{className:"pitySplit",split:"vertical",minSize:260,defaultSize:300,maxSize:800,children:[(0,e.jsxs)(jt,{className:"card",hideOverflowX:!0,children:[(0,e.jsx)(_.Z,{gutter:8,children:(0,e.jsx)(f.Z,{span:24,children:(0,e.jsx)("div",{style:{height:40,lineHeight:"40px"},children:R?(0,e.jsx)(re.Z,{style:{marginLeft:32,width:150},showSearch:!0,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE",value:Y,autoFocus:!0,onChange:function(r){r!==void 0&&Ot({project_id:r}),F(!1)},filterOption:function(r,a){return a.children.toLowerCase().indexOf(r.toLowerCase())>=0},children:V.map(function(n){return(0,e.jsx)(sr,{value:n.id,children:n.name},n.id)})}):(0,e.jsxs)("div",{onClick:function(){return F(!0)},children:[(0,e.jsx)(xe.C,{style:{marginLeft:8,marginRight:6},size:"large",src:Rt().avatar||je.Z.PROJECT_AVATAR_URL}),(0,e.jsx)("span",{style:{display:"inline-block",marginLeft:12,fontWeight:400,fontSize:14},children:Rt().name}),(0,e.jsx)(nr.Z,{style:{marginLeft:12,cursor:"pointer",lineHeight:"40px"},theme:"outline",size:"16",fill:"#7ed321"})]})})})}),(0,e.jsx)("div",{style:{marginTop:24},children:(0,e.jsx)(Ze.Z,{spinning:q.effects["testcase/listTestcaseDirectory"],children:K.length>0?(0,e.jsx)(Gt,{treeData:K,menu:Hr,addDirectory:Jr,onSelect:function(r){Pe({currentDirectory:r[0]===E[0]?[]:r,selectedRowKeys:[]})},onAddNode:function(r){O(r.key),lt(1,r)},selectedKeys:E}):(0,e.jsx)(ae.Z,{height:180,desc:(0,e.jsxs)("span",{children:["\u8FD8\u6CA1\u6709\u76EE\u5F55\uFF0C",(0,e.jsx)("a",{onClick:function(){y(!0),We({name:""}),Qe("\u65B0\u5EFA\u6839\u76EE\u5F55"),O(null)},children:"\u6DFB\u52A0"}),"\u4E00\u4E2A\u5427~"]})})})})]}),(0,e.jsx)(jt,{className:"card",hideOverflowX:!0,children:E.length>0?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(P.Z,{form:it,children:(0,e.jsxs)(_.Z,{gutter:6,children:[(0,e.jsx)(f.Z,{span:8,children:(0,e.jsx)(P.Z.Item,x()(x()({label:"\u7528\u4F8B\u540D\u79F0"},Ft),{},{name:"name",children:(0,e.jsx)(pe.Z,{placeholder:"\u8F93\u5165\u7528\u4F8B\u540D\u79F0"})}))}),(0,e.jsx)(f.Z,{span:8,children:(0,e.jsx)(P.Z.Item,x()(x()({label:"\u521B\u5EFA\u4EBA"},Ft),{},{name:"create_user",children:(0,e.jsx)(Bt.Z,{users:Ie,placeholder:"\u8BF7\u9009\u62E9\u521B\u5EFA\u7528\u6237"})}))}),(0,e.jsx)(f.Z,{span:8,children:(0,e.jsxs)("div",{style:{float:"right"},children:[(0,e.jsxs)(L.ZP,{type:"primary",onClick:S()(u()().mark(function n(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,ze();case 2:case"end":return a.stop()}},n)})),children:[(0,e.jsx)(w.Z,{})," \u67E5\u8BE2"]}),(0,e.jsxs)(L.ZP,{style:{marginLeft:8},onClick:S()(u()().mark(function n(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return it.resetFields(),a.next=3,ze();case 3:case"end":return a.stop()}},n)})),children:[(0,e.jsx)(d.Z,{})," \u91CD\u7F6E"]})]})})]})}),(0,e.jsx)(_.Z,{gutter:8,style:{marginTop:4},children:(0,e.jsxs)(f.Z,{span:24,children:[(0,e.jsx)(l.Z,{overlay:Kr,trigger:"click",children:(0,e.jsxs)(L.ZP,{type:"primary",children:[(0,e.jsx)(Ae.Z,{})," \u65B0\u5EFA\u573A\u666F"]})}),B.length>0?(0,e.jsx)(l.Z,{overlay:zt(),trigger:["hover"],children:(0,e.jsxs)(L.ZP,{style:{marginLeft:8},icon:(0,e.jsx)(ke.Z,{}),onClick:function(r){r.stopPropagation()},children:["\u6267\u884C\u7528\u4F8B ",(0,e.jsx)(Re.Z,{})]})}):null,B.length>0?(0,e.jsx)(L.ZP,{type:"dashed",style:{marginLeft:8},icon:(0,e.jsx)(C.Z,{}),onClick:function(r){r.stopPropagation(),Wr()},children:"\u79FB\u52A8\u7528\u4F8B"}):null,B.length>0?(0,e.jsx)(L.ZP,{danger:!0,style:{marginLeft:8},icon:(0,e.jsx)(Fe.Z,{}),onClick:function(r){r.stopPropagation(),Yr()},children:"\u5220\u9664\u7528\u4F8B"}):null]})}),(0,e.jsx)(_.Z,{style:{marginTop:16},children:(0,e.jsx)(f.Z,{span:24,children:(0,e.jsx)(_e.Z,{columns:Pr,rowKey:function(r){return r.id},rowSelection:Or,pagination:Ne,bordered:!0,onChange:function(r){Pe({pagination:x()(x()({},Ne),{},{current:r.current})})},dataSource:W,scroll:{x:1100},loading:q.effects["testcase/listTestcase"]||q.effects["testcase/executeTestcase"]})})})]}):(0,e.jsx)(Me.Z,{image:Wt.Z,imageStyle:{height:230},description:"\u5FEB\u9009\u4E2D\u5DE6\u4FA7\u7684\u76EE\u5F55\u7545\u4EAB\u7528\u4F8B\u4E4B\u65C5\u5427~"})})]})]})})]})},ur=(0,me.connect)(function(I){var i=I.testcase,M=I.gconfig,Z=I.project,G=I.user,$=I.loading;return{loading:$,gconfig:M,user:G,project:Z,testcase:i}})((0,c.memo)(ir))},82759:function(He,ce,t){var De=t(67294),oe=Object.defineProperty,le=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,u=(A,s,z)=>s in A?oe(A,s,{enumerable:!0,configurable:!0,writable:!0,value:z}):A[s]=z,k=(A,s)=>{for(var z in s||(s={}))x.call(s,z)&&u(A,z,s[z]);if(le)for(var z of le(s))te.call(s,z)&&u(A,z,s[z]);return A};const S=A=>React.createElement("svg",k({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A),React.createElement("path",{opacity:.302,d:"M188.106 236.119c55.715 0 100.881-14.792 100.881-33.04 0-18.247-45.166-33.039-100.881-33.039S87.225 184.832 87.225 203.079c0 18.248 45.166 33.04 100.881 33.04Z",fill:"url(#no_record_svg__a)"}),React.createElement("path",{opacity:.302,d:"M79.228 115.558c10.165-1.652 14.279-2.894 24.203-12.546 9.925-9.651 19.988 4.43 34.913-1.224 14.924-5.653 16.289-12.498 39.117 8.469 10.522 8.911 18.892 5.383 24.05 8.911 3.438 2.351 6.752 8.149 9.943 17.392H79.228c-10.528-3.698-15.792-6.768-15.792-9.213 0-3.666 5.627-10.138 15.792-11.789Z",fill:"url(#no_record_svg__b)"}),React.createElement("path",{opacity:.302,d:"M222.793 141.301c7.865-1.221 11.049-2.14 18.728-9.273 7.68-7.134 15.467 3.274 27.016-.905 11.549-4.178 12.604-9.237 30.269 6.26 8.143 6.586 14.619 3.978 18.61 6.586 2.661 1.738 5.225 6.023 7.694 12.855H222.793c-8.147-2.733-12.22-5.003-12.22-6.809 0-2.71 4.354-7.494 12.22-8.714Z",fill:"url(#no_record_svg__c)"}),React.createElement("path",{d:"M247.542 82.815c6.832 0 12.37 5.538 12.37 12.37v1.218h-21.953v93.866c0 6.831-5.538 12.37-12.37 12.37h-79.287a.928.928 0 0 1-.927-.928v-109c0-5.465 4.43-9.896 9.896-9.896h92.271Z",fill:"url(#no_record_svg__d)"}),React.createElement("path",{opacity:.712,d:"M225.269 88.982h-69.921a3.806 3.806 0 0 0-3.806 3.807v99.876a3.806 3.806 0 0 0 3.806 3.806h69.921a3.806 3.806 0 0 0 3.806-3.806V92.789a3.806 3.806 0 0 0-3.806-3.807Z",fill:"url(#no_record_svg__e)"}),React.createElement("path",{d:"M215.19 180.612v10.894c0 6.148 4.984 11.133 11.133 11.133h-86.2c-6.831 0-12.37-5.539-12.37-12.37v-9.657h87.437Zm22.484 11.014c0 6.082-4.931 11.013-11.014 11.013h-.119c6.148 0 11.133-4.985 11.133-11.133l-.001.06.001.06Z",fill:"url(#no_record_svg__f)"}),React.createElement("path",{d:"M248.899 82.815c6.082 0 11.013 4.93 11.013 11.013l-.001 9.251h-22.026v-9.25c0-6.083 4.931-11.014 11.014-11.014Z",fill:"url(#no_record_svg__g)"}),React.createElement("path",{opacity:.398,d:"M254.626 104.841c-1.192 14.417-7.484 21.228-13.774 25.032-10.012 6.055-21.589 3.041-24.453 0-4.662-4.951 4.013-12.49 12.608-6.863 8.594 5.627-15.105 25.458-39.857 21.946-16.502-2.341-31.387-6.71-44.657-13.107",stroke:"url(#no_record_svg__h)",strokeWidth:.881,strokeLinecap:"round",strokeDasharray:"2.64 2.64"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M96.696 175.596h1.734c.473 0 .856.384.856.857v16.073a.857.857 0 0 1-.856.857h-1.734a.857.857 0 0 1-.856-.857v-16.073c0-.473.383-.857.856-.857Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M94.03 154.375c-3.201 6.645-14.221 27.027 1.22 29.309 15.442 2.282 14.753-11.284 12.044-16.139-2.708-4.855-5.765-7.573-5.765-13.17 0-5.597-4.299-6.646-7.5 0Z",fill:"url(#no_record_svg__i)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M292.839 194.552h.167c.472 0 .856.383.856.856v9.017a.857.857 0 0 1-.856.857h-.167a.857.857 0 0 1-.857-.857v-9.017c0-.473.384-.856.857-.856Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M290.787 180.858c-2.09 4.174-9.286 16.976.797 18.41 10.084 1.433 9.634-7.088 7.866-10.137-1.769-3.05-3.765-4.757-3.765-8.273s-2.808-4.174-4.898 0Z",fill:"url(#no_record_svg__j)"}),React.createElement("path",{d:"M244.934 171.802h35.242c.973 0 1.762.789 1.762 1.762v22.907c0 .974-.789 1.762-1.762 1.762h-35.242a1.762 1.762 0 0 1-1.762-1.762v-22.907c0-.973.789-1.762 1.762-1.762Z",fill:"url(#no_record_svg__k)"}),React.createElement("path",{d:"m244.94 195.944-2.493 1.308-5.936-8.44 3.378-1.151 5.051 8.283Z",fill:"#FFBCA8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M242.174 196.576a.263.263 0 0 0-.148.056c-.669.616-1.158 1.265-1.525 1.59-.603.536-1.124 1.077-1.516 1.391-.393.314-1.144.771-1.449 1.175a1.077 1.077 0 0 0-.188.997c.039.137.043.395.197.711.059.121.165.234.271.204 1.935-.544 3.841-1.496 4.907-2.031 1.054-.529 2.657-1.291 4.046-1.977.143-.07.179-.277.102-.441-.452-.955-.701-1.464-.963-1.809-.25-.33-.495-.752-.962-1.104-.078-.059-.186-.117-.244-.04l-.478.635c-.289.383-.891.562-1.151.622-.174.041-.473.048-.899.021Z",fill:"#3E3E6E"}),React.createElement("path",{d:"m235.986 198.478-2.999-.375 3.964-6.803 3.965 1.322-4.93 5.856Z",fill:"#FFBCA8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m249.482 162.991-.409 1.575-2.781.166-3.192.9s-8.895 2.962-14.07 7c-2.706 2.111-2.484 4.211-1.657 5.735l-.017.009s5.374 8.709 8.542 13.057c-.932 1.828-1.584 3.164-1.564 3.295.069.447 3.343 1.591 4.936 1.576 1.594-.015 6.463-9.658 8.47-11.286 2.007-1.629 13.277-6.321 14.816-13.079 1.026-4.505 1.155-6.386.387-5.642l-6.874-2.925-6.587-.381Zm-6.904 13.28-.579 3.38c-.018.104-1.072 2.117-2.393 4.641a146.422 146.422 0 0 0-3.52-5.5l-.009-.014-.805-1.215c.066-.029.118-.049.154-.06.61-.184 7.152-1.232 7.152-1.232Z",fill:"url(#no_record_svg__l)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.72 128.472c-.686 3.815-.364 6.059.968 6.73 1.742.809.06 2.695-.292 2.901-.235.136-.027.527.623 1.173 1.103.648 1.912.906 2.43.774.518-.132 1.149-.781 1.894-1.947-1.388-1.111-1.871-2.003-1.449-2.674.422-.672 1.062-1.372 1.922-2.101.834-.712.802-1.254-.097-1.624.218-.673.298-1.441.242-2.304l-2.926-.928-2.977-.723-.338.723Z",fill:"url(#no_record_svg__m)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M254.428 129.447c3.313-.81 4.193.435 4.193.961 0 .351-.105.933-.314 1.746.408-.156.694-.274.861-.355 1.016-.493 1.688-1.368 1.928-2.05.448-1.274-.868-3.976-4.28-3.573-1.189-.193-1.378-1.697-3.444-.772-2.067.925-2.764.214-2.764 1.163 0 .948.085 3.871 3.82 2.88Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M246.239 144.033c-2.302 5.051-3.706 8.242-4.214 9.572-.236.551-3.28 1.925-9.132 4.12-1.962.169-3.083.74-3.365 1.714-.16.625-.088 1.696.91 1.785.666.06 1.615-.432 2.847-1.474 6.537.23 10.425-.839 11.664-3.205 1.238-2.367 3.125-6.031 5.659-10.991l-4.066-1.946-.303.425Z",fill:"url(#no_record_svg__n)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.919 137.511c1.984 2.099 3.806 2.099 5.469 0 .289-.19 6.394-.486 10.721 6.37.043.26-1.171 1.674-3.642 4.24h-.756c-.004 9.89-.593 17.337-1.768 22.341-.154.521-6.224-1.08-18.209-4.803.667-8.484 1.405-13.99 2.215-16.519-.192-.379-1.616-1.617-4.271-3.716.837-1.754 2.094-3.44 3.773-5.058 1.678-1.619 3.834-2.57 6.468-2.855Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M264.387 147.074c.113.974 3.681 4.298 5.008 5.491.331.016-6.773 5.87-7.324 6.552-1.505 1.858-.981 3.874.662 3.874s1.129-3.072 1.402-3.232c4.776-2.791 5.26-2.791 8.42-4.686 2.75-1.554-.927-6.255-4.472-11.44-3.544-5.186-3.809 2.467-3.696 3.441Z",fill:"url(#no_record_svg__o)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M264.708 140.084c.769.366 1.304.639 1.606.82.787.473 1.326.938 1.673 1.218 1.077.869 1.619 1.761 1.931 2.429.26.463-2.504 4.652-5.21 4.177-.369-.015-.958-.88-1.765-2.594l1.765-6.05Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M233.552 197.407a.252.252 0 0 0-.15-.047c-.907.073-1.692.284-2.181.314-.805.051-1.548.157-2.051.162-.503.006-1.376-.096-1.865.035a1.075 1.075 0 0 0-.762.669c-.054.132-.209.338-.283.682-.028.132-.014.286.088.327 1.86.763 3.948 1.187 5.118 1.421 1.156.232 2.888.618 4.404.933.156.033.313-.108.353-.285.231-1.03.349-1.585.355-2.018.006-.414.072-.898-.079-1.462-.025-.095-.075-.207-.167-.182l-.768.206c-.463.124-1.048-.106-1.29-.218-.162-.075-.402-.254-.722-.537Z",fill:"#3E3E6E"}),React.createElement("path",{d:"m119 117 27.885 13.961-5.655 7.638L119 117Z",fill:"#DB9710"}),React.createElement("path",{d:"m119 117 22.227 21.598 1.751-8.949L119 117Z",fill:"url(#no_record_svg__p)"}),React.createElement("path",{d:"m119 117 13.669 10.645 10.305 2.001L119 117Z",fill:"url(#no_record_svg__q)"}),React.createElement("path",{d:"m122.804 118.901 32.347 12.262-8.262-.202-24.085-12.06Z",fill:"#FFD580"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"no_record_svg__a",x1:188.106,y1:170.04,x2:188.106,y2:236.119,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"no_record_svg__b",x1:137.445,y1:96.031,x2:137.445,y2:136.56,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"no_record_svg__c",x1:267.841,y1:126.868,x2:267.841,y2:156.824,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"no_record_svg__d",x1:206.105,y1:202.639,x2:205.64,y2:82.815,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#D8D8E4"}),React.createElement("stop",{offset:.232,stopColor:"#E2E2EA"}),React.createElement("stop",{offset:.925,stopColor:"#F2F2F9"}),React.createElement("stop",{offset:1,stopColor:"#E6E6EB"})),React.createElement("linearGradient",{id:"no_record_svg__e",x1:190.308,y1:88.982,x2:190.308,y2:187.823,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F8F8FB"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFE"})),React.createElement("linearGradient",{id:"no_record_svg__f",x1:182.713,y1:180.612,x2:182.713,y2:202.639,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAFAFF"}),React.createElement("stop",{offset:1,stopColor:"#DADADE"})),React.createElement("linearGradient",{id:"no_record_svg__g",x1:248.899,y1:101.848,x2:248.899,y2:85.26,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EEEEF8"}),React.createElement("stop",{offset:1,stopColor:"#BDBDC8"})),React.createElement("linearGradient",{id:"no_record_svg__h",x1:254.626,y1:124.067,x2:174.647,y2:146.954,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD685",stopOpacity:.252}),React.createElement("stop",{offset:1,stopColor:"#FFB829"})),React.createElement("linearGradient",{id:"no_record_svg__i",x1:98.018,y1:149.775,x2:98.018,y2:183.941,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"})),React.createElement("linearGradient",{id:"no_record_svg__j",x1:293.392,y1:177.969,x2:293.392,y2:199.429,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"})),React.createElement("linearGradient",{id:"no_record_svg__k",x1:262.555,y1:171.802,x2:262.555,y2:198.233,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EEEEF8"}),React.createElement("stop",{offset:1,stopColor:"#D6D6DC"})),React.createElement("linearGradient",{id:"no_record_svg__l",x1:254.998,y1:192.119,x2:246.667,y2:166.43,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"no_record_svg__m",x1:254.208,y1:129.739,x2:259.684,y2:136.529,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"no_record_svg__n",x1:240.035,y1:147.378,x2:243.109,y2:155.986,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"no_record_svg__o",x1:267.348,y1:143.709,x2:269.76,y2:157.604,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"no_record_svg__p",x1:120.011,y1:119.508,x2:139.733,y2:137.392,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFC552"}),React.createElement("stop",{offset:1,stopColor:"#F5B32F"})),React.createElement("linearGradient",{id:"no_record_svg__q",x1:122.062,y1:122.034,x2:134.748,y2:129.842,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FED686"}),React.createElement("stop",{offset:1,stopColor:"#FFD786"}))));ce.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNMTg4LjEwNiAyMzYuMTE5YzU1LjcxNSAwIDEwMC44ODEtMTQuNzkyIDEwMC44ODEtMzMuMDQgMC0xOC4yNDctNDUuMTY2LTMzLjAzOS0xMDAuODgxLTMzLjAzOVM4Ny4yMjUgMTg0LjgzMiA4Ny4yMjUgMjAzLjA3OWMwIDE4LjI0OCA0NS4xNjYgMzMuMDQgMTAwLjg4MSAzMy4wNFoiIGZpbGw9InVybCgjYSkiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNNzkuMjI4IDExNS41NThjMTAuMTY1LTEuNjUyIDE0LjI3OS0yLjg5NCAyNC4yMDMtMTIuNTQ2IDkuOTI1LTkuNjUxIDE5Ljk4OCA0LjQzIDM0LjkxMy0xLjIyNCAxNC45MjQtNS42NTMgMTYuMjg5LTEyLjQ5OCAzOS4xMTcgOC40NjkgMTAuNTIyIDguOTExIDE4Ljg5MiA1LjM4MyAyNC4wNSA4LjkxMSAzLjQzOCAyLjM1MSA2Ljc1MiA4LjE0OSA5Ljk0MyAxNy4zOTJINzkuMjI4Yy0xMC41MjgtMy42OTgtMTUuNzkyLTYuNzY4LTE1Ljc5Mi05LjIxMyAwLTMuNjY2IDUuNjI3LTEwLjEzOCAxNS43OTItMTEuNzg5WiIgZmlsbD0idXJsKCNiKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Ik0yMjIuNzkzIDE0MS4zMDFjNy44NjUtMS4yMjEgMTEuMDQ5LTIuMTQgMTguNzI4LTkuMjczIDcuNjgtNy4xMzQgMTUuNDY3IDMuMjc0IDI3LjAxNi0uOTA1IDExLjU0OS00LjE3OCAxMi42MDQtOS4yMzcgMzAuMjY5IDYuMjYgOC4xNDMgNi41ODYgMTQuNjE5IDMuOTc4IDE4LjYxIDYuNTg2IDIuNjYxIDEuNzM4IDUuMjI1IDYuMDIzIDcuNjk0IDEyLjg1NUgyMjIuNzkzYy04LjE0Ny0yLjczMy0xMi4yMi01LjAwMy0xMi4yMi02LjgwOSAwLTIuNzEgNC4zNTQtNy40OTQgMTIuMjItOC43MTRaIiBmaWxsPSJ1cmwoI2MpIi8+PHBhdGggZD0iTTI0Ny41NDIgODIuODE1YzYuODMyIDAgMTIuMzcgNS41MzggMTIuMzcgMTIuMzd2MS4yMThoLTIxLjk1M3Y5My44NjZjMCA2LjgzMS01LjUzOCAxMi4zNy0xMi4zNyAxMi4zN2gtNzkuMjg3YS45MjguOTI4IDAgMCAxLS45MjctLjkyOHYtMTA5YzAtNS40NjUgNC40My05Ljg5NiA5Ljg5Ni05Ljg5Nmg5Mi4yNzFaIiBmaWxsPSJ1cmwoI2QpIi8+PHBhdGggb3BhY2l0eT0iLjcxMiIgZD0iTTIyNS4yNjkgODguOTgyaC02OS45MjFhMy44MDYgMy44MDYgMCAwIDAtMy44MDYgMy44MDd2OTkuODc2YTMuODA2IDMuODA2IDAgMCAwIDMuODA2IDMuODA2aDY5LjkyMWEzLjgwNiAzLjgwNiAwIDAgMCAzLjgwNi0zLjgwNlY5Mi43ODlhMy44MDYgMy44MDYgMCAwIDAtMy44MDYtMy44MDdaIiBmaWxsPSJ1cmwoI2UpIi8+PHBhdGggZD0iTTIxNS4xOSAxODAuNjEydjEwLjg5NGMwIDYuMTQ4IDQuOTg0IDExLjEzMyAxMS4xMzMgMTEuMTMzaC04Ni4yYy02LjgzMSAwLTEyLjM3LTUuNTM5LTEyLjM3LTEyLjM3di05LjY1N2g4Ny40MzdabTIyLjQ4NCAxMS4wMTRjMCA2LjA4Mi00LjkzMSAxMS4wMTMtMTEuMDE0IDExLjAxM2gtLjExOWM2LjE0OCAwIDExLjEzMy00Ljk4NSAxMS4xMzMtMTEuMTMzbC0uMDAxLjA2LjAwMS4wNloiIGZpbGw9InVybCgjZikiLz48cGF0aCBkPSJNMjQ4Ljg5OSA4Mi44MTVjNi4wODIgMCAxMS4wMTMgNC45MyAxMS4wMTMgMTEuMDEzbC0uMDAxIDkuMjUxaC0yMi4wMjZ2LTkuMjVjMC02LjA4MyA0LjkzMS0xMS4wMTQgMTEuMDE0LTExLjAxNFoiIGZpbGw9InVybCgjZykiLz48cGF0aCBvcGFjaXR5PSIuMzk4IiBkPSJNMjU0LjYyNiAxMDQuODQxYy0xLjE5MiAxNC40MTctNy40ODQgMjEuMjI4LTEzLjc3NCAyNS4wMzItMTAuMDEyIDYuMDU1LTIxLjU4OSAzLjA0MS0yNC40NTMgMC00LjY2Mi00Ljk1MSA0LjAxMy0xMi40OSAxMi42MDgtNi44NjMgOC41OTQgNS42MjctMTUuMTA1IDI1LjQ1OC0zOS44NTcgMjEuOTQ2LTE2LjUwMi0yLjM0MS0zMS4zODctNi43MS00NC42NTctMTMuMTA3IiBzdHJva2U9InVybCgjaCkiIHN0cm9rZS13aWR0aD0iLjg4MSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtZGFzaGFycmF5PSIyLjY0IDIuNjQiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTk2LjY5NiAxNzUuNTk2aDEuNzM0Yy40NzMgMCAuODU2LjM4NC44NTYuODU3djE2LjA3M2EuODU3Ljg1NyAwIDAgMS0uODU2Ljg1N2gtMS43MzRhLjg1Ny44NTcgMCAwIDEtLjg1Ni0uODU3di0xNi4wNzNjMC0uNDczLjM4My0uODU3Ljg1Ni0uODU3WiIgZmlsbD0iI0YwRjBGMyIgZmlsbC1vcGFjaXR5PSIuOSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOTQuMDMgMTU0LjM3NWMtMy4yMDEgNi42NDUtMTQuMjIxIDI3LjAyNyAxLjIyIDI5LjMwOSAxNS40NDIgMi4yODIgMTQuNzUzLTExLjI4NCAxMi4wNDQtMTYuMTM5LTIuNzA4LTQuODU1LTUuNzY1LTcuNTczLTUuNzY1LTEzLjE3IDAtNS41OTctNC4yOTktNi42NDYtNy41IDBaIiBmaWxsPSJ1cmwoI2kpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yOTIuODM5IDE5NC41NTJoLjE2N2MuNDcyIDAgLjg1Ni4zODMuODU2Ljg1NnY5LjAxN2EuODU3Ljg1NyAwIDAgMS0uODU2Ljg1N2gtLjE2N2EuODU3Ljg1NyAwIDAgMS0uODU3LS44NTd2LTkuMDE3YzAtLjQ3My4zODQtLjg1Ni44NTctLjg1NloiIGZpbGw9IiNGMEYwRjMiIGZpbGwtb3BhY2l0eT0iLjkiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI5MC43ODcgMTgwLjg1OGMtMi4wOSA0LjE3NC05LjI4NiAxNi45NzYuNzk3IDE4LjQxIDEwLjA4NCAxLjQzMyA5LjYzNC03LjA4OCA3Ljg2Ni0xMC4xMzctMS43NjktMy4wNS0zLjc2NS00Ljc1Ny0zLjc2NS04LjI3M3MtMi44MDgtNC4xNzQtNC44OTggMFoiIGZpbGw9InVybCgjaikiLz48cGF0aCBkPSJNMjQ0LjkzNCAxNzEuODAyaDM1LjI0MmMuOTczIDAgMS43NjIuNzg5IDEuNzYyIDEuNzYydjIyLjkwN2MwIC45NzQtLjc4OSAxLjc2Mi0xLjc2MiAxLjc2MmgtMzUuMjQyYTEuNzYyIDEuNzYyIDAgMCAxLTEuNzYyLTEuNzYydi0yMi45MDdjMC0uOTczLjc4OS0xLjc2MiAxLjc2Mi0xLjc2MloiIGZpbGw9InVybCgjaykiLz48cGF0aCBkPSJtMjQ0Ljk0IDE5NS45NDQtMi40OTMgMS4zMDgtNS45MzYtOC40NCAzLjM3OC0xLjE1MSA1LjA1MSA4LjI4M1oiIGZpbGw9IiNGRkJDQTgiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0Mi4xNzQgMTk2LjU3NmEuMjYzLjI2MyAwIDAgMC0uMTQ4LjA1NmMtLjY2OS42MTYtMS4xNTggMS4yNjUtMS41MjUgMS41OS0uNjAzLjUzNi0xLjEyNCAxLjA3Ny0xLjUxNiAxLjM5MS0uMzkzLjMxNC0xLjE0NC43NzEtMS40NDkgMS4xNzVhMS4wNzcgMS4wNzcgMCAwIDAtLjE4OC45OTdjLjAzOS4xMzcuMDQzLjM5NS4xOTcuNzExLjA1OS4xMjEuMTY1LjIzNC4yNzEuMjA0IDEuOTM1LS41NDQgMy44NDEtMS40OTYgNC45MDctMi4wMzEgMS4wNTQtLjUyOSAyLjY1Ny0xLjI5MSA0LjA0Ni0xLjk3Ny4xNDMtLjA3LjE3OS0uMjc3LjEwMi0uNDQxLS40NTItLjk1NS0uNzAxLTEuNDY0LS45NjMtMS44MDktLjI1LS4zMy0uNDk1LS43NTItLjk2Mi0xLjEwNC0uMDc4LS4wNTktLjE4Ni0uMTE3LS4yNDQtLjA0bC0uNDc4LjYzNWMtLjI4OS4zODMtLjg5MS41NjItMS4xNTEuNjIyLS4xNzQuMDQxLS40NzMuMDQ4LS44OTkuMDIxWiIgZmlsbD0iIzNFM0U2RSIvPjxwYXRoIGQ9Im0yMzUuOTg2IDE5OC40NzgtMi45OTktLjM3NSAzLjk2NC02LjgwMyAzLjk2NSAxLjMyMi00LjkzIDUuODU2WiIgZmlsbD0iI0ZGQkNBOCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMjQ5LjQ4MiAxNjIuOTkxLS40MDkgMS41NzUtMi43ODEuMTY2LTMuMTkyLjlzLTguODk1IDIuOTYyLTE0LjA3IDdjLTIuNzA2IDIuMTExLTIuNDg0IDQuMjExLTEuNjU3IDUuNzM1bC0uMDE3LjAwOXM1LjM3NCA4LjcwOSA4LjU0MiAxMy4wNTdjLS45MzIgMS44MjgtMS41ODQgMy4xNjQtMS41NjQgMy4yOTUuMDY5LjQ0NyAzLjM0MyAxLjU5MSA0LjkzNiAxLjU3NiAxLjU5NC0uMDE1IDYuNDYzLTkuNjU4IDguNDctMTEuMjg2IDIuMDA3LTEuNjI5IDEzLjI3Ny02LjMyMSAxNC44MTYtMTMuMDc5IDEuMDI2LTQuNTA1IDEuMTU1LTYuMzg2LjM4Ny01LjY0MmwtNi44NzQtMi45MjUtNi41ODctLjM4MVptLTYuOTA0IDEzLjI4LS41NzkgMy4zOGMtLjAxOC4xMDQtMS4wNzIgMi4xMTctMi4zOTMgNC42NDFhMTQ2LjQyMiAxNDYuNDIyIDAgMCAwLTMuNTItNS41bC0uMDA5LS4wMTQtLjgwNS0xLjIxNWMuMDY2LS4wMjkuMTE4LS4wNDkuMTU0LS4wNi42MS0uMTg0IDcuMTUyLTEuMjMyIDcuMTUyLTEuMjMyWiIgZmlsbD0idXJsKCNsKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjUyLjcyIDEyOC40NzJjLS42ODYgMy44MTUtLjM2NCA2LjA1OS45NjggNi43MyAxLjc0Mi44MDkuMDYgMi42OTUtLjI5MiAyLjkwMS0uMjM1LjEzNi0uMDI3LjUyNy42MjMgMS4xNzMgMS4xMDMuNjQ4IDEuOTEyLjkwNiAyLjQzLjc3NC41MTgtLjEzMiAxLjE0OS0uNzgxIDEuODk0LTEuOTQ3LTEuMzg4LTEuMTExLTEuODcxLTIuMDAzLTEuNDQ5LTIuNjc0LjQyMi0uNjcyIDEuMDYyLTEuMzcyIDEuOTIyLTIuMTAxLjgzNC0uNzEyLjgwMi0xLjI1NC0uMDk3LTEuNjI0LjIxOC0uNjczLjI5OC0xLjQ0MS4yNDItMi4zMDRsLTIuOTI2LS45MjgtMi45NzctLjcyMy0uMzM4LjcyM1oiIGZpbGw9InVybCgjbSkiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1NC40MjggMTI5LjQ0N2MzLjMxMy0uODEgNC4xOTMuNDM1IDQuMTkzLjk2MSAwIC4zNTEtLjEwNS45MzMtLjMxNCAxLjc0Ni40MDgtLjE1Ni42OTQtLjI3NC44NjEtLjM1NSAxLjAxNi0uNDkzIDEuNjg4LTEuMzY4IDEuOTI4LTIuMDUuNDQ4LTEuMjc0LS44NjgtMy45NzYtNC4yOC0zLjU3My0xLjE4OS0uMTkzLTEuMzc4LTEuNjk3LTMuNDQ0LS43NzItMi4wNjcuOTI1LTIuNzY0LjIxNC0yLjc2NCAxLjE2MyAwIC45NDguMDg1IDMuODcxIDMuODIgMi44OFoiIGZpbGw9IiMzNTM1NjQiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0Ni4yMzkgMTQ0LjAzM2MtMi4zMDIgNS4wNTEtMy43MDYgOC4yNDItNC4yMTQgOS41NzItLjIzNi41NTEtMy4yOCAxLjkyNS05LjEzMiA0LjEyLTEuOTYyLjE2OS0zLjA4My43NC0zLjM2NSAxLjcxNC0uMTYuNjI1LS4wODggMS42OTYuOTEgMS43ODUuNjY2LjA2IDEuNjE1LS40MzIgMi44NDctMS40NzQgNi41MzcuMjMgMTAuNDI1LS44MzkgMTEuNjY0LTMuMjA1IDEuMjM4LTIuMzY3IDMuMTI1LTYuMDMxIDUuNjU5LTEwLjk5MWwtNC4wNjYtMS45NDYtLjMwMy40MjVaIiBmaWxsPSJ1cmwoI24pIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNTIuOTE5IDEzNy41MTFjMS45ODQgMi4wOTkgMy44MDYgMi4wOTkgNS40NjkgMCAuMjg5LS4xOSA2LjM5NC0uNDg2IDEwLjcyMSA2LjM3LjA0My4yNi0xLjE3MSAxLjY3NC0zLjY0MiA0LjI0aC0uNzU2Yy0uMDA0IDkuODktLjU5MyAxNy4zMzctMS43NjggMjIuMzQxLS4xNTQuNTIxLTYuMjI0LTEuMDgtMTguMjA5LTQuODAzLjY2Ny04LjQ4NCAxLjQwNS0xMy45OSAyLjIxNS0xNi41MTktLjE5Mi0uMzc5LTEuNjE2LTEuNjE3LTQuMjcxLTMuNzE2LjgzNy0xLjc1NCAyLjA5NC0zLjQ0IDMuNzczLTUuMDU4IDEuNjc4LTEuNjE5IDMuODM0LTIuNTcgNi40NjgtMi44NTVaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNjQuMzg3IDE0Ny4wNzRjLjExMy45NzQgMy42ODEgNC4yOTggNS4wMDggNS40OTEuMzMxLjAxNi02Ljc3MyA1Ljg3LTcuMzI0IDYuNTUyLTEuNTA1IDEuODU4LS45ODEgMy44NzQuNjYyIDMuODc0czEuMTI5LTMuMDcyIDEuNDAyLTMuMjMyYzQuNzc2LTIuNzkxIDUuMjYtMi43OTEgOC40Mi00LjY4NiAyLjc1LTEuNTU0LS45MjctNi4yNTUtNC40NzItMTEuNDQtMy41NDQtNS4xODYtMy44MDkgMi40NjctMy42OTYgMy40NDFaIiBmaWxsPSJ1cmwoI28pIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNjQuNzA4IDE0MC4wODRjLjc2OS4zNjYgMS4zMDQuNjM5IDEuNjA2LjgyLjc4Ny40NzMgMS4zMjYuOTM4IDEuNjczIDEuMjE4IDEuMDc3Ljg2OSAxLjYxOSAxLjc2MSAxLjkzMSAyLjQyOS4yNi40NjMtMi41MDQgNC42NTItNS4yMSA0LjE3Ny0uMzY5LS4wMTUtLjk1OC0uODgtMS43NjUtMi41OTRsMS43NjUtNi4wNVoiIGZpbGw9IiM1QjVCRUEiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIzMy41NTIgMTk3LjQwN2EuMjUyLjI1MiAwIDAgMC0uMTUtLjA0N2MtLjkwNy4wNzMtMS42OTIuMjg0LTIuMTgxLjMxNC0uODA1LjA1MS0xLjU0OC4xNTctMi4wNTEuMTYyLS41MDMuMDA2LTEuMzc2LS4wOTYtMS44NjUuMDM1YTEuMDc1IDEuMDc1IDAgMCAwLS43NjIuNjY5Yy0uMDU0LjEzMi0uMjA5LjMzOC0uMjgzLjY4Mi0uMDI4LjEzMi0uMDE0LjI4Ni4wODguMzI3IDEuODYuNzYzIDMuOTQ4IDEuMTg3IDUuMTE4IDEuNDIxIDEuMTU2LjIzMiAyLjg4OC42MTggNC40MDQuOTMzLjE1Ni4wMzMuMzEzLS4xMDguMzUzLS4yODUuMjMxLTEuMDMuMzQ5LTEuNTg1LjM1NS0yLjAxOC4wMDYtLjQxNC4wNzItLjg5OC0uMDc5LTEuNDYyLS4wMjUtLjA5NS0uMDc1LS4yMDctLjE2Ny0uMTgybC0uNzY4LjIwNmMtLjQ2My4xMjQtMS4wNDgtLjEwNi0xLjI5LS4yMTgtLjE2Mi0uMDc1LS40MDItLjI1NC0uNzIyLS41MzdaIiBmaWxsPSIjM0UzRTZFIi8+PHBhdGggZD0ibTExOSAxMTcgMjcuODg1IDEzLjk2MS01LjY1NSA3LjYzOEwxMTkgMTE3WiIgZmlsbD0iI0RCOTcxMCIvPjxwYXRoIGQ9Im0xMTkgMTE3IDIyLjIyNyAyMS41OTggMS43NTEtOC45NDlMMTE5IDExN1oiIGZpbGw9InVybCgjcCkiLz48cGF0aCBkPSJtMTE5IDExNyAxMy42NjkgMTAuNjQ1IDEwLjMwNSAyLjAwMUwxMTkgMTE3WiIgZmlsbD0idXJsKCNxKSIvPjxwYXRoIGQ9Im0xMjIuODA0IDExOC45MDEgMzIuMzQ3IDEyLjI2Mi04LjI2Mi0uMjAyLTI0LjA4NS0xMi4wNloiIGZpbGw9IiNGRkQ1ODAiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxODguMTA2IiB5MT0iMTcwLjA0IiB4Mj0iMTg4LjEwNiIgeTI9IjIzNi4xMTkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRENEQ0U0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREVERUU2IiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9IjEzNy40NDUiIHkxPSI5Ni4wMzEiIHgyPSIxMzcuNDQ1IiB5Mj0iMTM2LjU2IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIyNjcuODQxIiB5MT0iMTI2Ljg2OCIgeDI9IjI2Ny44NDEiIHkyPSIxNTYuODI0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSIyMDYuMTA1IiB5MT0iMjAyLjYzOSIgeDI9IjIwNS42NCIgeTI9IjgyLjgxNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNEOEQ4RTQiLz48c3RvcCBvZmZzZXQ9Ii4yMzIiIHN0b3AtY29sb3I9IiNFMkUyRUEiLz48c3RvcCBvZmZzZXQ9Ii45MjUiIHN0b3AtY29sb3I9IiNGMkYyRjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFNkU2RUIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDE9IjE5MC4zMDgiIHkxPSI4OC45ODIiIHgyPSIxOTAuMzA4IiB5Mj0iMTg3LjgyMyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGOEY4RkIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQUZBRkUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZiIgeDE9IjE4Mi43MTMiIHkxPSIxODAuNjEyIiB4Mj0iMTgyLjcxMyIgeTI9IjIwMi42MzkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFGQUZGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREFEQURFIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIyNDguODk5IiB5MT0iMTAxLjg0OCIgeDI9IjI0OC44OTkiIHkyPSI4NS4yNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFRUVFRjgiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNCREJEQzgiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjI1NC42MjYiIHkxPSIxMjQuMDY3IiB4Mj0iMTc0LjY0NyIgeTI9IjE0Ni45NTQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZENjg1IiBzdG9wLW9wYWNpdHk9Ii4yNTIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4MjkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaSIgeDE9Ijk4LjAxOCIgeTE9IjE0OS43NzUiIHgyPSI5OC4wMTgiIHkyPSIxODMuOTQxIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0VCRUJFRSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZDRkNGRCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJqIiB4MT0iMjkzLjM5MiIgeTE9IjE3Ny45NjkiIHgyPSIyOTMuMzkyIiB5Mj0iMTk5LjQyOSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFQkVCRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQ0ZDRkQiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjI2Mi41NTUiIHkxPSIxNzEuODAyIiB4Mj0iMjYyLjU1NSIgeTI9IjE5OC4yMzMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUVFRUY4Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRDZENkRDIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIyNTQuOTk4IiB5MT0iMTkyLjExOSIgeDI9IjI0Ni42NjciIHkyPSIxNjYuNDMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjNzg3OEMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNUM1Q0JCIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im0iIHgxPSIyNTQuMjA4IiB5MT0iMTI5LjczOSIgeDI9IjI1OS42ODQiIHkyPSIxMzYuNTI5IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRDJDNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGQjhBMyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJuIiB4MT0iMjQwLjAzNSIgeTE9IjE0Ny4zNzgiIHgyPSIyNDMuMTA5IiB5Mj0iMTU1Ljk4NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibyIgeDE9IjI2Ny4zNDgiIHkxPSIxNDMuNzA5IiB4Mj0iMjY5Ljc2IiB5Mj0iMTU3LjYwNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0icCIgeDE9IjEyMC4wMTEiIHkxPSIxMTkuNTA4IiB4Mj0iMTM5LjczMyIgeTI9IjEzNy4zOTIiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZDNTUyIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRjVCMzJGIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InEiIHgxPSIxMjIuMDYyIiB5MT0iMTIyLjAzNCIgeDI9IjEzNC43NDgiIHkyPSIxMjkuODQyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZFRDY4NiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGRDc4NiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg=="}}]); +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[5570,2759],{86607:function(He,oe,t){var De=t(97857),ce=t.n(De),le=t(5574),x=t.n(le),te=t(13769),u=t.n(te),k=t(67294),S=t(66309),A=t(17788),s=t(55102),z=t(78957),Le=t(14726),re=t(83062),P=t(72051),H=t(42481),de=t(26671),Me=t(22763),J=t(40110),we=t(31484),Je=t(37763),Xe=t.n(Je),l=t(85893),Ue=["dataSource","dispatch","loading"],Be=function(L){switch(L.toUpperCase()){case"GET":return{color:"rgb(235, 249, 244)",fontColor:"rgb(47, 177, 130)"};case"POST":return{color:"rgb(242, 244, 248)",fontColor:"rgb(5, 112, 175)"};case"PUT":return{color:"rgb(255, 247, 230)",fontColor:"rgb(255, 174, 0)"};case"DELETE":return{color:"rgb(253, 244, 246)",fontColor:"rgb(222, 72, 108)"};default:return{color:"rgb(243, 251, 254)",fontColor:"rgb(166, 187, 210)"}}},Ke=function(L){var f=L.color,xe=L.text,Ze=L.fontColor;return(0,l.jsx)(S.Z,{style:{color:Ze,borderRadius:12,padding:"0 12px"},color:f,children:xe})},Se=function(L){var f=L.name,xe=L.record;return(0,l.jsx)("a",{onClick:function(){A.Z.info({title:f,width:700,bodyStyle:{padding:-12},content:(0,l.jsx)(H.Z,{language:"json",style:de.BV,children:xe[f]})})},children:"\u8BE6\u7EC6"})},_=function(L){var f=L.dataSource,xe=L.dispatch,Ze=L.loading,pe=u()(L,Ue),_e=(0,k.useState)(""),me=x()(_e,2),o=me[0],Oe=me[1],$e=(0,k.useState)(""),Re=x()($e,2),qe=Re[0],be=Re[1],Fe=(0,k.useRef)(null),Ae=function(d,C,T){C(),Oe(d[0]),be(T)},et=function(d){d(),Oe("")},tt=function(d){return{filterDropdown:function(T){var ae=T.setSelectedKeys,Te=T.selectedKeys,je=T.confirm,Ge=T.clearFilters;return(0,l.jsxs)("div",{style:{padding:8},children:[(0,l.jsx)(s.Z,{ref:Fe,placeholder:"\u641C\u7D22 ".concat(d),value:Te[0],onChange:function(Ye){return ae(Ye.target.value?[Ye.target.value]:[])},onPressEnter:function(){return Ae(Te,je,d)},style:{marginBottom:8,display:"block"}}),(0,l.jsxs)(z.Z,{children:[(0,l.jsx)(Le.ZP,{type:"primary",onClick:function(){return Ae(Te,je,d)},icon:(0,l.jsx)(J.Z,{}),size:"small",style:{width:90},children:"\u67E5\u627E"}),(0,l.jsx)(Le.ZP,{onClick:function(){return Ge&&et(Ge)},size:"small",style:{width:90},children:"\u91CD\u7F6E"}),(0,l.jsx)(Le.ZP,{type:"link",size:"small",onClick:function(){je({closeDropdown:!1}),Oe(Te[0]),be(d)},children:"\u8FC7\u6EE4"})]})]})},filterIcon:function(T){return(0,l.jsx)(J.Z,{style:{color:T?"#1890ff":void 0}})},onFilter:function(T,ae){return ae[d].toString().toLowerCase().includes(T.toLowerCase())},onFilterDropdownVisibleChange:function(T){T&&setTimeout(function(){var ae;return(ae=Fe.current)===null||ae===void 0?void 0:ae.select()},100)},ellipsis:!0,render:function(T){return qe===d?(0,l.jsx)(re.Z,{title:T,children:(0,l.jsx)(Xe(),{highlightStyle:{backgroundColor:"#ffc069",padding:0},searchWords:[o],autoEscape:!0,textToHighlight:T?T.toString():""})}):(0,l.jsx)(re.Z,{title:T,children:(0,l.jsx)("a",{href:T,children:T.slice(0,48)})})}}},rt=function(d){xe({type:"recorder/remove",payload:d})},ke=[{title:"\u7F16\u53F7",key:"index",render:function(d,C){return"".concat(C.index+1)}},ce()({title:"\u8BF7\u6C42\u5730\u5740",key:"url",dataIndex:"url",width:"20%"},tt("url")),{title:"\u8BF7\u6C42\u65B9\u5F0F",key:"request_method",dataIndex:"request_method",render:function(d){return(0,l.jsx)(Ke,{fontColor:Be(d).fontColor,color:Be(d).color,text:d})}},{title:"\u8BF7\u6C42headers",key:"request_headers",dataIndex:"request_headers",render:function(d,C){return(0,l.jsx)(Se,{name:"request_headers",record:C})}},{title:"\u8BF7\u6C42\u53C2\u6570",key:"body",dataIndex:"body",render:function(d,C){return d?(0,l.jsx)(Se,{name:"body",record:C}):"-"}},{title:"\u8FD4\u56DEheaders",key:"response_headers",dataIndex:"response_headers",render:function(d,C){return d?(0,l.jsx)(Se,{name:"response_headers",record:C}):"-"}},{title:"response",key:"response_content",dataIndex:"response_content",render:function(d,C){return d?(0,l.jsx)(Se,{name:"response_content",record:C}):"-"}},{key:"ops",title:"\u64CD\u4F5C",render:function(d,C){return(0,l.jsx)(re.Z,{title:"\u70B9\u51FB\u53EF\u5220\u9664\u5F55\u5236\u6570\u636E(\u4E0D\u63A8\u8350)",children:(0,l.jsx)(we.Z,{twoToneColor:"#F56C6C",onClick:function(){rt(C.index)}})})}}];return(0,l.jsx)(P.Z,{columns:ke,dataSource:f,rowSelection:pe.rowSelection,rowKey:function(d){return d[pe.rowKey]},loading:Ze,locale:{emptyText:(0,l.jsx)(Me.Z,{desc:pe.emptyText,height:150})}})};oe.Z=_},90861:function(He,oe,t){var De=t(34041),ce=t(7134),le=t(19478),x=t(67294),te=t(85893),u=De.Z.Option;oe.Z=function(k){var S=k.users,A=k.placeholder,s=A===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":A,z=k.onChange,Le=k.value,re=k.mode,P=re===void 0?null:re;return(0,te.jsx)(De.Z,{allowClear:!0,onChange:z,value:Le,showSearch:!0,placeholder:s,mode:P,filterOption:function(de,Me){return Me.props.children[2].toLowerCase().indexOf(de.toLowerCase())>-1||Me.props.children[4].toLowerCase().indexOf(de.toLowerCase())>-1},children:S.map(function(H){return(0,te.jsxs)(u,{value:H.id,children:[(0,te.jsx)(ce.C,{size:14,src:H.avatar||le.Z.AVATAR_URL})," ",H.name,"(",H.email,")"]},H.id)})})}},94156:function(He,oe,t){t.r(oe),t.d(oe,{default:function(){return ur}});var De=t(19632),ce=t.n(De),le=t(97857),x=t.n(le),te=t(15009),u=t.n(te),k=t(99289),S=t.n(k),A=t(5574),s=t.n(A),z=t(58841),Le=t(99612),re=t(34041),P=t(8232),H=t(17788),de=t(4393),Me=t(32983),J=t(50136),we=t(66309),Je=t(40411),Xe=t(96074),l=t(85418),Ue=t(59847),Be=t(83062),Ke=t(2453),Se=t(29905),_=t(71230),fe=t(85265),L=t(14726),f=t(15746),xe=t(7134),Ze=t(75081),pe=t(55102),_e=t(72051),me=t(90596),o=t(67294),Oe=t(85884),$e=t(63783),Re=t(34804),qe=t(11475),be=t(47389),Fe=t(82061),Ae=t(51042),et=t(67841),tt=t(38958),rt=t(60219),ke=t(74842),w=t(40110),d=t(43471),C=t(58638),T=t(290),ae=t(22763),Te=t(84298),je=t(19478),Ge=t(10981),Ce=t(87023),Ye=t(12554),wt=t(86452),Ut=t(90861),Bt=t(14e3),bt=t(37446),kt=t(60696),e=t(85893),dt=[],Gt=function(I){var i=I.treeData,M=I.blockNode,Z=M===void 0?!0:M,G=I.onAddNode,$=I.menu,q=I.selectedKeys,N=I.onSelect,V=I.addDirectory,Y=function p(y){for(var D=0;D-1?X(R.key,i):null}).filter(function(R,F,Ee){return R&&Ee.indexOf(R)===F});E(m),se(D),U(!0)},v=function p(y){return y.map(function(D){var m=D.title.indexOf(ee),R=D.title.substr(0,m),F=D.title.substr(m+ee.length),Ee=m>-1?(0,e.jsxs)("span",{children:[R,(0,e.jsx)("span",{className:"site-tree-search-value",children:ee}),F]}):(0,e.jsx)("span",{children:D.title});return D.children?{title:Ee,key:D.key,children:p(D.children)}:{title:Ee,key:D.key}})};return(0,e.jsxs)("div",{children:[(0,e.jsxs)(_.Z,{gutter:8,children:[(0,e.jsx)(f.Z,{span:18,children:(0,e.jsx)(pe.Z,{size:"small",className:"treeSearch",placeholder:"\u8F93\u5165\u8981\u67E5\u627E\u7684\u76EE\u5F55",onChange:he,prefix:(0,e.jsx)(w.Z,{})})}),(0,e.jsx)(f.Z,{span:6,children:V})]}),(0,e.jsx)(Bt.Z,{onExpand:O,defaultExpandAll:!0,blockNode:Z,selectedKeys:q,onSelect:N,expandedKeys:K,autoExpandParent:ve,treeData:v(i),titleRender:function(y){return(0,e.jsxs)("div",{onMouseOver:function(){return Q(y.key)},onMouseLeave:function(){return Q(null)},children:[(0,e.jsx)(kt.Z,{theme:"outline",size:"15",className:"folder"}),y.title,b===y.key?(0,e.jsxs)("span",{className:"suffixButton",children:[(0,e.jsx)(Ae.Z,{onClick:function(m){m.stopPropagation(),G(y)},className:"icon-left"}),(0,e.jsx)(l.Z,{overlay:$(y),trigger:"click",children:(0,e.jsx)(bt.Z,{className:"icon-right",onClick:function(m){m.stopPropagation()}})})]}):null]})}})]})},Mt=t(31298),Yt=function(i){return(0,e.jsx)(de.Z,x()(x()({},i),{},{bodyStyle:{height:"100%",overflowX:"hidden"},children:i.hideOverflowX?(0,e.jsx)(Mt.$B,{autoHide:!0,autoHideTimeout:1e3,renderTrackHorizontal:function(Z){return(0,e.jsx)("div",x()(x()({},Z),{},{style:{display:Z.hideOverflowX?"hidden":"block"},className:"track-horizontal"}))},autoHideDuration:200,style:{width:"100%",height:"inherit"},children:i.children}):(0,e.jsx)(Mt.$B,{autoHide:!0,autoHideTimeout:1e3,autoHideDuration:200,style:{width:"100%",height:"inherit"},children:i.children})}))},jt=(0,o.memo)(Yt),Wt=t(21237),Qt=t(88496),Vt=t(80242),qr=t(72729),It=t(59697),Ht=function(i){var M=i.dispatch,Z=i.testcase,G=i.directory_id,$=i.bodyType,q=i.setBodyType,N=i.formData,V=i.setFormData,Y=i.body,X=i.setBody,Ie=i.headers,ne=i.setHeaders,K=i.onSubmit,E=i.form,W=Z.caseInfo,ye=Z.editing,ee=Z.constructRecord,se=Z.constructorModal,ge=(0,o.useState)(!1),ie=s()(ge,2),ve=ie[0],U=ie[1],Ne=(0,o.useState)({}),B=s()(Ne,2),b=B[0],Q=B[1],O=P.Z.useForm(),he=s()(O,1),v=he[0],p=(0,o.useState)(!1),y=s()(p,2),D=y[0],m=y[1];return(0,o.useEffect)(function(){M({type:"testcase/queryTestcaseDirectory",payload:{directory_id:G}}),M({type:"gconfig/fetchEnvList",payload:{page:1,exactly:!0}}),M({type:"user/fetchUserList"})},[]),(0,o.useEffect)(function(){ne(It.Z.parseHeaders(W.request_headers)),X(W.body),q(W.body_type)},[W,ye]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Ce.Z,{width:1e3,modal:ve,setModal:U,response:b,caseName:W.name,single:!1}),(0,e.jsx)(_.Z,{children:(0,e.jsxs)(f.Z,{span:24,children:[(0,e.jsx)(Vt.Z,{width:1050,modal:se,setModal:function(F){M({type:"testcase/save",payload:{constructorModal:F}})},form:v,record:ee,createMode:!0,suffix:D}),(0,e.jsx)(Qt.Z,{directoryId:G,form:E,body:Y,setBody:X,create:!0,formData:N,setFormData:V,bodyType:$,setBodyType:q,setSuffix:m,headers:Ie,setHeaders:ne,onSubmit:K})]})})]})},Jt=(0,me.connect)(function(I){var i=I.user,M=I.testcase,Z=I.loading,G=I.gconfig;return{testcase:M,user:i,loading:Z,gconfig:G}})(Ht),at=t(16568),Xt=t(78957),Kt=t(66476),_t=t(82759),$t=t(86607),qt=t(1832),er=t(88916),tr=t(57546),nt;(function(I){I[I.har=1]="har"})(nt||(nt={}));var rr=function(i){var M=i.visible,Z=i.setVisible,G=i.directory,$=i.loading,q=i.recorder,N=i.dispatch,V=P.Z.useForm(),Y=s()(V,1),X=Y[0],Ie=q.recordLists,ne=(0,o.useState)([]),K=s()(ne,2),E=K[0],W=K[1],ye=(0,o.useState)([]),ee=s()(ye,2),se=ee[0],ge=ee[1],ie={selectedRowKeys:se,onChange:function(b){ge(b)}};(0,o.useEffect)(function(){N({type:"recorder/queryRecordStatus"}),W([]),X.resetFields()},[M]);var ve=function(){if(Ie.length===0){at.ZP.info({message:"\u{1F914}\u672A\u80FD\u83B7\u53D6\u5230\u5F55\u5236\u4FE1\u606F",description:(0,e.jsxs)("span",{children:["\u4F60\u53EF\u4EE5\u53BB",(0,e.jsx)("a",{href:"/#/apiTest/record",children:"\u5F55\u5236\u9875\u9762"})," \u76F4\u63A5\u751F\u6210\u7528\u4F8B\u54E6\u{1F389}~"]})});return}W(Ie)},U=function(){var B=S()(u()().mark(function b(){var Q,O;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,X.validateFields();case 2:return Q=v.sent,v.next=5,N({type:"recorder/generateCase",payload:{directory_id:Q.directory_id,name:Q.name,requests:se.map(function(p){return{request_headers:JSON.parse(E[p].request_headers),response_headers:JSON.parse(E[p].response_headers),cookies:JSON.parse(E[p].cookies),request_cookies:JSON.parse(E[p].request_cookies),response_content:E[p].response_content,request_method:E[p].request_method,url:E[p].url,body:E[p].body,status_code:E[p].status_code}})}});case 5:O=v.sent,O&&(at.ZP.success({message:"\u{1F389} \u7528\u4F8B\u751F\u6210\u6210\u529F\uFF0C\u53EF\u4EE5\u53BB\u5BF9\u5E94\u76EE\u5F55\u67E5\u770B\u54E6~",placement:"topLeft"}),N({type:"testcase/save",payload:{currentDirectory:[Q.directory_id]}}),Z(!1));case 7:case"end":return v.stop()}},b)}));return function(){return B.apply(this,arguments)}}(),Ne=function(){var B=S()(u()().mark(function b(Q){var O;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return ge([]),v.next=3,N({type:"recorder/import",payload:{file:Q.file,import_type:nt.har}});case 3:O=v.sent,O.length>0&&(at.ZP.success({message:"\u{1F389} \u6210\u529F\u5BFC\u5165".concat(O.length,"\u6761\u6570\u636E\uFF0C\u5FEB\u53BB\u6311\u9009\u8BF7\u6C42\u751F\u6210\u7528\u4F8B\u5427~"),placement:"topLeft"}),W(O));case 5:case"end":return v.stop()}},b)}));return function(Q){return B.apply(this,arguments)}}();return(0,e.jsxs)(fe.Z,{title:"\u751F\u6210\u7528\u4F8B",onClose:function(){return Z()},open:M,width:960,extra:(0,e.jsxs)(L.ZP,{disabled:se.length===0,onClick:U,type:"primary",children:[(0,e.jsx)(qt.Z,{})," \u751F\u6210\u7528\u4F8B"]}),children:[(0,e.jsx)(P.Z,x()(x()({form:X},je.Z.SUB_LAYOUT),{},{children:(0,e.jsxs)(_.Z,{gutter:8,children:[(0,e.jsx)(f.Z,{span:12,children:(0,e.jsx)(P.Z.Item,{label:"\u573A\u666F\u76EE\u5F55",name:"directory_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u573A\u666F\u76EE\u5F55"}],children:(0,e.jsx)(Ue.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F\u76EE\u5F55",treeLine:!0,treeData:G})})}),(0,e.jsx)(f.Z,{span:12,children:(0,e.jsx)(P.Z.Item,{label:"\u573A\u666F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0"}],children:(0,e.jsx)(pe.Z,{placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0"})})})]})})),E.length===0?(0,e.jsx)(Me.Z,{image:_t.Z,imageStyle:{height:220},description:"\u5F53\u524D\u6CA1\u6709\u4EFB\u4F55\u8BF7\u6C42\u6570\u636E\uFF0C\u4F60\u53EF\u4EE5\u9009\u62E9\u3010\u5F55\u5236\u3011\u540E\u7684\u6570\u636E\uFF0C\u4E5F\u53EF\u4EE5\u5BFC\u5165har\u6587\u4EF6\u63D0\u53D6\u63A5\u53E3\u{1F44F}",children:(0,e.jsxs)(Xt.Z,{children:[(0,e.jsxs)(L.ZP,{onClick:ve,children:[(0,e.jsx)(er.Z,{})," \u5F55\u5236\u8BF7\u6C42"]}),(0,e.jsx)(Kt.Z,{showUploadList:!1,customRequest:Ne,fileList:[],children:(0,e.jsxs)(L.ZP,{type:"primary",children:[(0,e.jsx)(tr.Z,{}),"\u5BFC\u5165Har"]})})]})}):(0,e.jsx)($t.Z,{dataSource:E,rowSelection:ie,rowKey:"index",dispatch:N,loading:$.effects["recorder/generateCase"]})]})},ar=(0,me.connect)(function(I){var i=I.recorder,M=I.loading;return{recorder:i,loading:M}})(rr),nr=t(94877),sr=re.Z.Option,ir=function(i){var M=i.testcase,Z=i.gconfig,G=i.project,$=i.user,q=i.loading,N=i.dispatch,V=G.projects,Y=G.project_id,X=Z.envList,Ie=$.userList,ne=$.userMap,K=M.directory,E=M.currentDirectory,W=M.testcases,ye=M.asserts,ee=M.testData,se=M.preConstructor,ge=M.outParameters,ie=M.postConstructor,ve=M.testResult,U=M.selectedRowKeys,Ne=M.pagination,B=(0,o.useState)(null),b=s()(B,2),Q=b[0],O=b[1],he=(0,o.useState)(!1),v=s()(he,2),p=v[0],y=v[1],D=(0,o.useState)(!1),m=s()(D,2),R=m[0],F=m[1],Ee=(0,o.useState)({}),yt=s()(Ee,2),st=yt[0],We=yt[1],or=(0,o.useState)("\u65B0\u5EFA\u76EE\u5F55"),gt=s()(or,2),cr=gt[0],Qe=gt[1],lr=(0,o.useState)(!1),Nt=s()(lr,2),dr=Nt[0],Ve=Nt[1],Mr=P.Z.useForm(),jr=s()(Mr,1),it=jr[0],Ir=P.Z.useForm(),yr=s()(Ir,1),Et=yr[0],gr=(0,o.useState)(!1),Dt=s()(gr,2),Nr=Dt[0],Lt=Dt[1],Er=(0,o.useState)(""),xt=s()(Er,2),Dr=xt[0],Lr=xt[1],xr=(0,o.useState)(!1),pt=s()(xr,2),pr=pt[0],ut=pt[1],mr=(0,o.useState)(!1),mt=s()(mr,2),Tr=mt[0],Tt=mt[1],Cr=(0,o.useState)(0),Ct=s()(Cr,2),ot=Ct[0],vr=Ct[1],hr=(0,o.useState)([]),vt=s()(hr,2),ht=vt[0],Sr=vt[1],fr=(0,o.useState)([]),St=s()(fr,2),ft=St[0],Zr=St[1],Ar=(0,o.useState)(""),Zt=s()(Ar,2),At=Zt[0],zr=Zt[1],Or={selectedRowKeys:U,onChange:function(r){Pe({selectedRowKeys:r})}},Rr=function(){var n=S()(u()().mark(function r(a,g){var j;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,N({type:"testcase/executeTestcase",payload:{case_id:a.id,env:g}});case 2:j=h.sent,j&&(Lt(!0),Lr(a.name));case 4:case"end":return h.stop()}},r)}));return function(a,g){return n.apply(this,arguments)}}(),Fr=function(){var n=S()(u()().mark(function r(a){var g;return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,N({type:"testcase/executeSelectedCase",payload:{case_list:U,env:a}});case 2:g=c.sent,Ge.Z.response(g)&&H.Z.confirm({title:"\u7528\u4F8B\u6B63\u5728\u540E\u53F0\u6267\u884C, \u53BB\u62A5\u544A\u9875\u9762\u67E5\u770B\u4EFB\u52A1\u72B6\u6001\u{1F514}",icon:(0,e.jsx)($e.Z,{}),onOk:function(){me.history.push("/#/record/list")},onCancel:function(){}});case 4:case"end":return c.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),zt=function(r){return X.length===0?(0,e.jsx)(de.Z,{children:(0,e.jsx)("div",{children:(0,e.jsx)(Me.Z,{image:wt.Z,imageStyle:{height:90,width:90,margin:"0 auto"},description:(0,e.jsxs)("p",{children:["\u8FD8\u6CA1\u6709\u4EFB\u4F55\u73AF\u5883, \u53BB",(0,e.jsx)("a",{href:"/#/config/environment",children:"\u6DFB\u52A0\u4E00\u4E2A"}),"?"]})})})}):(0,e.jsx)(J.Z,{children:X.map(function(a){return(0,e.jsx)(J.Z.Item,{children:(0,e.jsx)("a",{onClick:S()(u()().mark(function g(){return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!r){c.next=5;break}return c.next=3,Rr(r,a.id);case 3:c.next=7;break;case 5:return c.next=7,Fr(a.id);case 7:case"end":return c.stop()}},g)})),children:a.name})},a.id)})})},Pr=[{title:"\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:"20%"},{title:"\u8BF7\u6C42\u534F\u8BAE",dataIndex:"request_type",key:"request_type",width:110,render:function(r){return Le.XN[r]}},{title:"\u4F18\u5148\u7EA7",dataIndex:"priority",key:"priority",width:90,render:function(r){return(0,e.jsx)(we.Z,{color:je.Z.CASE_TAG[r],children:r})}},{title:"\u72B6\u6001",dataIndex:"status",key:"status",width:110,render:function(r){return(0,e.jsx)(Je.Z,x()({},je.Z.CASE_BADGE[r]))}},{title:"\u521B\u5EFA\u4EBA",dataIndex:"create_user",key:"create_user",width:160,ellipsis:!0,render:function(r){return(0,e.jsx)(Ye.Z,{user:ne[r]})}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",key:"updated_at",width:160},{title:"\u64CD\u4F5C",dataIndex:"ops",width:130,key:"ops",fixed:"right",render:function(r,a){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{href:"/#/apiTest/testcase/".concat(E[0],"/").concat(a.id),children:"\u8BE6\u60C5"}),(0,e.jsx)(Xe.Z,{type:"vertical"}),(0,e.jsx)(l.Z,{overlay:zt(a),children:(0,e.jsxs)("a",{onClick:function(j){j.stopPropagation()},children:["\u6267\u884C ",(0,e.jsx)(Re.Z,{})]})})]})}}],wr=function(){N({type:"project/listProject"})},ct=function(){Y&&N({type:"testcase/listTestcaseDirectory",payload:{project_id:Y,move:!0}})},Ur=function(){N({type:"user/fetchUserList"})},Br=function(){N({type:"gconfig/fetchEnvList"})},ze=function(){var n=S()(u()().mark(function r(){var a;return u()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,it.getFieldsValue();case 2:a=j.sent,E.length>0&&N({type:"testcase/listTestcase",payload:{directory_id:E[0],name:a.name||"",create_user:a.create_user!==null&&a.create_user!==void 0?a.create_user:""}});case 4:case"end":return j.stop()}},r)}));return function(){return n.apply(this,arguments)}}();(0,o.useEffect)(function(){wr(),Ur(),Br()},[]),(0,o.useEffect)(function(){ct()},[Y]),(0,o.useEffect)(function(){ze()},[E]);var Ot=function(r){N({type:"project/save",payload:r}),N({type:"testcase/save",payload:{currentDirectory:[]}}),localStorage.setItem("project_id",r.project_id)},Pe=function(r){N({type:"testcase/save",payload:r})},br=function(){var n=S()(u()().mark(function r(a){var g,j;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(g={name:a.name,project_id:Y,parent:Q},!st.id){h.next=7;break}return h.next=4,N({type:"testcase/updateTestcaseDirectory",payload:x()(x()({},g),{},{id:st.id})});case 4:j=h.sent,h.next=10;break;case 7:return h.next=9,N({type:"testcase/insertTestcaseDirectory",payload:g});case 9:j=h.sent;case 10:j&&(y(!1),Pe({selectedRowKeys:[]}),ct());case 11:case"end":return h.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),kr=function(){var n=S()(u()().mark(function r(a){var g;return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,N({type:"testcase/moveTestCaseToDirectory",payload:{id_list:U,directory_id:a.directory_id,project_id:Y}});case 2:g=c.sent,g&&(ut(!1),Pe({selectedRowKeys:[]}),ze());case 4:case"end":return c.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),Gr=function(){var n=S()(u()().mark(function r(a){var g;return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,N({type:"testcase/deleteTestcaseDirectory",payload:{id:a}});case 2:g=c.sent,g&&ct();case 4:case"end":return c.stop()}},r)}));return function(a){return n.apply(this,arguments)}}(),Yr=function(){var n=S()(u()().mark(function r(){var a;return u()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,N({type:"testcase/deleteTestcase",payload:U});case 2:a=j.sent,a&&ze();case 4:case"end":return j.stop()}},r)}));return function(){return n.apply(this,arguments)}}(),Wr=function(){ut(!0)},lt=function(r,a){r===1?(O(a.key),Qe("\u65B0\u589E\u76EE\u5F55"),We({name:""}),y(!0)):r===2?(We({name:a.title.props.children[2],id:a.key}),Qe("\u7F16\u8F91\u76EE\u5F55"),y(!0)):r===3&&H.Z.confirm({title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u76EE\u5F55\u5417?",icon:(0,e.jsx)(qe.Z,{}),content:"\u5220\u9664\u540E\uFF0C\u76EE\u5F55\u4E0B\u7684case\u4E5F\u5C06\u4E0D\u518D\u53EF\u89C1\uFF01\uFF01\uFF01",okText:"\u786E\u5B9A",okType:"danger",cancelText:"\u70B9\u9519\u4E86",onOk:function(){Gr(a.key)}})},Qr=[{name:"name",label:"\u76EE\u5F55\u540D\u79F0",required:!0,placeholder:"\u8BF7\u8F93\u5165\u76EE\u5F55\u540D\u79F0, \u4E0D\u8D85\u8FC718\u4E2A\u5B57\u7B26",type:"input"}],Vr=[{name:"directory_id",label:"\u76EE\u6807\u76EE\u5F55",required:!0,placeholder:"\u8BF7\u9009\u62E9\u8981\u79FB\u52A8\u5230\u7684\u76EE\u5F55",type:"select",component:(0,e.jsx)(Ue.Z,{treeData:K,showSearch:!0,treeDefaultExpandAll:!0})}],Rt=function(){if(V.length===0)return"loading...";var r=V.filter(function(a){return a.id===Y});return r.length===0?(Ot({project_id:V[0].id}),V[0]):r[0]},Ft={labelCol:{span:8},wrapperCol:{span:16}},Hr=function(r){return(0,e.jsxs)(J.Z,{children:[(0,e.jsx)(J.Z.Item,{children:(0,e.jsxs)("a",{onClick:function(g){g.stopPropagation(),lt(2,r)},children:[(0,e.jsx)(be.Z,{})," \u7F16\u8F91\u76EE\u5F55"]})},"1"),(0,e.jsx)(J.Z.Item,{danger:!0,children:(0,e.jsxs)("a",{onClick:function(g){g.stopPropagation(),lt(3,r)},children:[(0,e.jsx)(Fe.Z,{})," \u5220\u9664\u76EE\u5F55"]})},"2")]})},Jr=(0,e.jsx)(Be.Z,{title:"\u70B9\u51FB\u53EF\u65B0\u5EFA\u6839\u76EE\u5F55, \u5B50\u76EE\u5F55\u9700\u8981\u5728\u6811\u4E0A\u65B0\u5EFA",children:(0,e.jsx)("a",{className:"directoryButton",onClick:function(){y(!0),We({name:""}),Qe("\u65B0\u5EFA\u6839\u76EE\u5F55"),O(null)},children:(0,e.jsx)(Ae.Z,{})})}),Xr=function(){if(!E[0]){Ke.ZP.info("\u8BF7\u5148\u521B\u5EFA\u6216\u9009\u62E9\u7528\u4F8B\u76EE\u5F55~");return}Ve(!0),N({type:"testcase/save",payload:{asserts:[],postConstructor:[],preConstructor:[],outParameters:[{key:0,source:1}],caseInfo:{},testData:{}}})},Kr=(0,e.jsxs)(J.Z,{children:[(0,e.jsx)(J.Z.Item,{children:(0,e.jsxs)("a",{onClick:function(){Xr()},children:[(0,e.jsx)(et.Z,{})," \u666E\u901A\u573A\u666F"]})},"1"),(0,e.jsx)(J.Z.Item,{children:(0,e.jsxs)("a",{onClick:function(){return Tt(!0)},children:[(0,e.jsx)(tt.Z,{})," \u5F55\u5236\u573A\u666F",(0,e.jsx)(we.Z,{color:"red",style:{fontSize:12,margin:"0 4px",lineHeight:"12px",padding:2},children:"\u65B0"})]})},"2")]}),_r=function(){return ge.filter(function(r){switch(r.source){case 0:case 5:return r.name&&r.expression&&r.match_index;case 1:case 2:case 3:case 6:case 7:return r.name&&r.expression;case 4:return r.name;default:return!1}})},Pt=function(){var n=S()(u()().mark(function r(){var a,g,j,c,h;return u()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,Et.validateFields();case 2:return a=ue.sent,g=x()(x()({},a),{},{request_type:parseInt(a.request_type,10),status:parseInt(a.status,10),tag:a.tag?a.tag.join(","):null,directory_id:E[0],body_type:ot,request_headers:It.Z.translateHeaders(ft),body:ot===2?JSON.stringify(ht):At}),j=[],Object.values(ee).forEach(function($r){j=j.concat($r)}),c={case:g,asserts:ye,data:j,constructor:[].concat(ce()(se),ce()(ie)),out_parameters:_r()},ue.next=9,N({type:"testcase/createTestCase",payload:c});case 9:if(h=ue.sent,!h){ue.next=14;break}return Ve(!1),ue.next=14,ze();case 14:case"end":return ue.stop()}},r)}));return function(){return n.apply(this,arguments)}}();return(0,e.jsxs)(z._z,{title:!1,breadcrumb:null,children:[(0,e.jsx)(Ce.Z,{width:1e3,modal:Nr,setModal:Lt,response:ve,caseName:Dr,single:!1}),(0,e.jsx)(Te.Z,{title:"\u79FB\u52A8\u7528\u4F8B",onCancel:function(){return ut(!1)},fields:Vr,onFinish:kr,open:pr,left:6,right:18,width:500,formName:"move"}),V.length===0?(0,e.jsx)(Se.ZP,{status:"404",subTitle:(0,e.jsxs)("span",{children:["\u4F60\u8FD8\u6CA1\u6709\u6DFB\u52A0\u4EFB\u4F55\u9879\u76EE, ",(0,e.jsx)("a",{href:"/#/project",children:"\u6DFB\u52A0\u9879\u76EE"}),"\u540E\u624D\u80FD\u7F16\u5199Case"]})}):(0,e.jsx)(de.Z,{style:{height:"100%",minHeight:600},bodyStyle:{padding:0},bordered:!1,children:(0,e.jsxs)(_.Z,{children:[(0,e.jsx)(Te.Z,{title:cr,onCancel:function(){return y(!1)},fields:Qr,onFinish:br,record:st,open:p,left:6,right:18,width:400,formName:"root"}),(0,e.jsx)(fe.Z,{bodyStyle:{padding:0},open:dr,width:1300,title:"\u6DFB\u52A0\u573A\u666F\u7528\u4F8B",onClose:function(){return Ve(!1)},maskClosable:!1,footer:(0,e.jsxs)("div",{style:{float:"right"},children:[(0,e.jsxs)(L.ZP,{type:"primary",onClick:S()(u()().mark(function n(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Pt();case 2:case"end":return a.stop()}},n)})),children:[(0,e.jsx)(rt.Z,{})," \u63D0\u4EA4"]}),(0,e.jsxs)(L.ZP,{style:{marginLeft:8},children:[(0,e.jsx)(ke.Z,{})," \u6D4B\u8BD5"]})]}),children:(0,e.jsx)(Jt,{directory_id:E[0],onSubmit:Pt,bodyType:ot,setBodyType:vr,formData:ht,setFormData:Sr,setAddCaseVisible:Ve,headers:ft,setHeaders:Zr,body:At,form:Et,setBody:zr})}),(0,e.jsx)(ar,{directory:K,visible:Tr,setVisible:Tt}),(0,e.jsxs)(Oe.Z,{className:"pitySplit",split:"vertical",minSize:260,defaultSize:300,maxSize:800,children:[(0,e.jsxs)(jt,{className:"card",hideOverflowX:!0,children:[(0,e.jsx)(_.Z,{gutter:8,children:(0,e.jsx)(f.Z,{span:24,children:(0,e.jsx)("div",{style:{height:40,lineHeight:"40px"},children:R?(0,e.jsx)(re.Z,{style:{marginLeft:32,width:150},showSearch:!0,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE",value:Y,autoFocus:!0,onChange:function(r){r!==void 0&&Ot({project_id:r}),F(!1)},filterOption:function(r,a){return a.children.toLowerCase().indexOf(r.toLowerCase())>=0},children:V.map(function(n){return(0,e.jsx)(sr,{value:n.id,children:n.name},n.id)})}):(0,e.jsxs)("div",{onClick:function(){return F(!0)},children:[(0,e.jsx)(xe.C,{style:{marginLeft:8,marginRight:6},size:"large",src:Rt().avatar||je.Z.PROJECT_AVATAR_URL}),(0,e.jsx)("span",{style:{display:"inline-block",marginLeft:12,fontWeight:400,fontSize:14},children:Rt().name}),(0,e.jsx)(nr.Z,{style:{marginLeft:12,cursor:"pointer",lineHeight:"40px"},theme:"outline",size:"16",fill:"#7ed321"})]})})})}),(0,e.jsx)("div",{style:{marginTop:24},children:(0,e.jsx)(Ze.Z,{spinning:q.effects["testcase/listTestcaseDirectory"],children:K.length>0?(0,e.jsx)(Gt,{treeData:K,menu:Hr,addDirectory:Jr,onSelect:function(r){Pe({currentDirectory:r[0]===E[0]?[]:r,selectedRowKeys:[]})},onAddNode:function(r){O(r.key),lt(1,r)},selectedKeys:E}):(0,e.jsx)(ae.Z,{height:180,desc:(0,e.jsxs)("span",{children:["\u8FD8\u6CA1\u6709\u76EE\u5F55\uFF0C",(0,e.jsx)("a",{onClick:function(){y(!0),We({name:""}),Qe("\u65B0\u5EFA\u6839\u76EE\u5F55"),O(null)},children:"\u6DFB\u52A0"}),"\u4E00\u4E2A\u5427~"]})})})})]}),(0,e.jsx)(jt,{className:"card",hideOverflowX:!0,children:E.length>0?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(P.Z,{form:it,children:(0,e.jsxs)(_.Z,{gutter:6,children:[(0,e.jsx)(f.Z,{span:8,children:(0,e.jsx)(P.Z.Item,x()(x()({label:"\u7528\u4F8B\u540D\u79F0"},Ft),{},{name:"name",children:(0,e.jsx)(pe.Z,{placeholder:"\u8F93\u5165\u7528\u4F8B\u540D\u79F0"})}))}),(0,e.jsx)(f.Z,{span:8,children:(0,e.jsx)(P.Z.Item,x()(x()({label:"\u521B\u5EFA\u4EBA"},Ft),{},{name:"create_user",children:(0,e.jsx)(Ut.Z,{users:Ie,placeholder:"\u8BF7\u9009\u62E9\u521B\u5EFA\u7528\u6237"})}))}),(0,e.jsx)(f.Z,{span:8,children:(0,e.jsxs)("div",{style:{float:"right"},children:[(0,e.jsxs)(L.ZP,{type:"primary",onClick:S()(u()().mark(function n(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,ze();case 2:case"end":return a.stop()}},n)})),children:[(0,e.jsx)(w.Z,{})," \u67E5\u8BE2"]}),(0,e.jsxs)(L.ZP,{style:{marginLeft:8},onClick:S()(u()().mark(function n(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return it.resetFields(),a.next=3,ze();case 3:case"end":return a.stop()}},n)})),children:[(0,e.jsx)(d.Z,{})," \u91CD\u7F6E"]})]})})]})}),(0,e.jsx)(_.Z,{gutter:8,style:{marginTop:4},children:(0,e.jsxs)(f.Z,{span:24,children:[(0,e.jsx)(l.Z,{overlay:Kr,trigger:"click",children:(0,e.jsxs)(L.ZP,{type:"primary",children:[(0,e.jsx)(Ae.Z,{})," \u65B0\u5EFA\u573A\u666F"]})}),U.length>0?(0,e.jsx)(l.Z,{overlay:zt(),trigger:["hover"],children:(0,e.jsxs)(L.ZP,{style:{marginLeft:8},icon:(0,e.jsx)(ke.Z,{}),onClick:function(r){r.stopPropagation()},children:["\u6267\u884C\u7528\u4F8B ",(0,e.jsx)(Re.Z,{})]})}):null,U.length>0?(0,e.jsx)(L.ZP,{type:"dashed",style:{marginLeft:8},icon:(0,e.jsx)(C.Z,{}),onClick:function(r){r.stopPropagation(),Wr()},children:"\u79FB\u52A8\u7528\u4F8B"}):null,U.length>0?(0,e.jsx)(L.ZP,{danger:!0,style:{marginLeft:8},icon:(0,e.jsx)(Fe.Z,{}),onClick:function(r){r.stopPropagation(),Yr()},children:"\u5220\u9664\u7528\u4F8B"}):null]})}),(0,e.jsx)(_.Z,{style:{marginTop:16},children:(0,e.jsx)(f.Z,{span:24,children:(0,e.jsx)(_e.Z,{columns:Pr,rowKey:function(r){return r.id},rowSelection:Or,pagination:Ne,bordered:!0,onChange:function(r){Pe({pagination:x()(x()({},Ne),{},{current:r.current})})},dataSource:W,scroll:{x:1100},loading:q.effects["testcase/listTestcase"]||q.effects["testcase/executeTestcase"]})})})]}):(0,e.jsx)(Me.Z,{image:Wt.Z,imageStyle:{height:230},description:"\u5FEB\u9009\u4E2D\u5DE6\u4FA7\u7684\u76EE\u5F55\u7545\u4EAB\u7528\u4F8B\u4E4B\u65C5\u5427~"})})]})]})})]})},ur=(0,me.connect)(function(I){var i=I.testcase,M=I.gconfig,Z=I.project,G=I.user,$=I.loading;return{loading:$,gconfig:M,user:G,project:Z,testcase:i}})((0,o.memo)(ir))},82759:function(He,oe,t){var De=t(67294),ce=Object.defineProperty,le=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,u=(A,s,z)=>s in A?ce(A,s,{enumerable:!0,configurable:!0,writable:!0,value:z}):A[s]=z,k=(A,s)=>{for(var z in s||(s={}))x.call(s,z)&&u(A,z,s[z]);if(le)for(var z of le(s))te.call(s,z)&&u(A,z,s[z]);return A};const S=A=>React.createElement("svg",k({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A),React.createElement("path",{opacity:.302,d:"M188.106 236.119c55.715 0 100.881-14.792 100.881-33.04 0-18.247-45.166-33.039-100.881-33.039S87.225 184.832 87.225 203.079c0 18.248 45.166 33.04 100.881 33.04Z",fill:"url(#no_record_svg__a)"}),React.createElement("path",{opacity:.302,d:"M79.228 115.558c10.165-1.652 14.279-2.894 24.203-12.546 9.925-9.651 19.988 4.43 34.913-1.224 14.924-5.653 16.289-12.498 39.117 8.469 10.522 8.911 18.892 5.383 24.05 8.911 3.438 2.351 6.752 8.149 9.943 17.392H79.228c-10.528-3.698-15.792-6.768-15.792-9.213 0-3.666 5.627-10.138 15.792-11.789Z",fill:"url(#no_record_svg__b)"}),React.createElement("path",{opacity:.302,d:"M222.793 141.301c7.865-1.221 11.049-2.14 18.728-9.273 7.68-7.134 15.467 3.274 27.016-.905 11.549-4.178 12.604-9.237 30.269 6.26 8.143 6.586 14.619 3.978 18.61 6.586 2.661 1.738 5.225 6.023 7.694 12.855H222.793c-8.147-2.733-12.22-5.003-12.22-6.809 0-2.71 4.354-7.494 12.22-8.714Z",fill:"url(#no_record_svg__c)"}),React.createElement("path",{d:"M247.542 82.815c6.832 0 12.37 5.538 12.37 12.37v1.218h-21.953v93.866c0 6.831-5.538 12.37-12.37 12.37h-79.287a.928.928 0 0 1-.927-.928v-109c0-5.465 4.43-9.896 9.896-9.896h92.271Z",fill:"url(#no_record_svg__d)"}),React.createElement("path",{opacity:.712,d:"M225.269 88.982h-69.921a3.806 3.806 0 0 0-3.806 3.807v99.876a3.806 3.806 0 0 0 3.806 3.806h69.921a3.806 3.806 0 0 0 3.806-3.806V92.789a3.806 3.806 0 0 0-3.806-3.807Z",fill:"url(#no_record_svg__e)"}),React.createElement("path",{d:"M215.19 180.612v10.894c0 6.148 4.984 11.133 11.133 11.133h-86.2c-6.831 0-12.37-5.539-12.37-12.37v-9.657h87.437Zm22.484 11.014c0 6.082-4.931 11.013-11.014 11.013h-.119c6.148 0 11.133-4.985 11.133-11.133l-.001.06.001.06Z",fill:"url(#no_record_svg__f)"}),React.createElement("path",{d:"M248.899 82.815c6.082 0 11.013 4.93 11.013 11.013l-.001 9.251h-22.026v-9.25c0-6.083 4.931-11.014 11.014-11.014Z",fill:"url(#no_record_svg__g)"}),React.createElement("path",{opacity:.398,d:"M254.626 104.841c-1.192 14.417-7.484 21.228-13.774 25.032-10.012 6.055-21.589 3.041-24.453 0-4.662-4.951 4.013-12.49 12.608-6.863 8.594 5.627-15.105 25.458-39.857 21.946-16.502-2.341-31.387-6.71-44.657-13.107",stroke:"url(#no_record_svg__h)",strokeWidth:.881,strokeLinecap:"round",strokeDasharray:"2.64 2.64"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M96.696 175.596h1.734c.473 0 .856.384.856.857v16.073a.857.857 0 0 1-.856.857h-1.734a.857.857 0 0 1-.856-.857v-16.073c0-.473.383-.857.856-.857Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M94.03 154.375c-3.201 6.645-14.221 27.027 1.22 29.309 15.442 2.282 14.753-11.284 12.044-16.139-2.708-4.855-5.765-7.573-5.765-13.17 0-5.597-4.299-6.646-7.5 0Z",fill:"url(#no_record_svg__i)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M292.839 194.552h.167c.472 0 .856.383.856.856v9.017a.857.857 0 0 1-.856.857h-.167a.857.857 0 0 1-.857-.857v-9.017c0-.473.384-.856.857-.856Z",fill:"#F0F0F3",fillOpacity:.9}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M290.787 180.858c-2.09 4.174-9.286 16.976.797 18.41 10.084 1.433 9.634-7.088 7.866-10.137-1.769-3.05-3.765-4.757-3.765-8.273s-2.808-4.174-4.898 0Z",fill:"url(#no_record_svg__j)"}),React.createElement("path",{d:"M244.934 171.802h35.242c.973 0 1.762.789 1.762 1.762v22.907c0 .974-.789 1.762-1.762 1.762h-35.242a1.762 1.762 0 0 1-1.762-1.762v-22.907c0-.973.789-1.762 1.762-1.762Z",fill:"url(#no_record_svg__k)"}),React.createElement("path",{d:"m244.94 195.944-2.493 1.308-5.936-8.44 3.378-1.151 5.051 8.283Z",fill:"#FFBCA8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M242.174 196.576a.263.263 0 0 0-.148.056c-.669.616-1.158 1.265-1.525 1.59-.603.536-1.124 1.077-1.516 1.391-.393.314-1.144.771-1.449 1.175a1.077 1.077 0 0 0-.188.997c.039.137.043.395.197.711.059.121.165.234.271.204 1.935-.544 3.841-1.496 4.907-2.031 1.054-.529 2.657-1.291 4.046-1.977.143-.07.179-.277.102-.441-.452-.955-.701-1.464-.963-1.809-.25-.33-.495-.752-.962-1.104-.078-.059-.186-.117-.244-.04l-.478.635c-.289.383-.891.562-1.151.622-.174.041-.473.048-.899.021Z",fill:"#3E3E6E"}),React.createElement("path",{d:"m235.986 198.478-2.999-.375 3.964-6.803 3.965 1.322-4.93 5.856Z",fill:"#FFBCA8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m249.482 162.991-.409 1.575-2.781.166-3.192.9s-8.895 2.962-14.07 7c-2.706 2.111-2.484 4.211-1.657 5.735l-.017.009s5.374 8.709 8.542 13.057c-.932 1.828-1.584 3.164-1.564 3.295.069.447 3.343 1.591 4.936 1.576 1.594-.015 6.463-9.658 8.47-11.286 2.007-1.629 13.277-6.321 14.816-13.079 1.026-4.505 1.155-6.386.387-5.642l-6.874-2.925-6.587-.381Zm-6.904 13.28-.579 3.38c-.018.104-1.072 2.117-2.393 4.641a146.422 146.422 0 0 0-3.52-5.5l-.009-.014-.805-1.215c.066-.029.118-.049.154-.06.61-.184 7.152-1.232 7.152-1.232Z",fill:"url(#no_record_svg__l)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.72 128.472c-.686 3.815-.364 6.059.968 6.73 1.742.809.06 2.695-.292 2.901-.235.136-.027.527.623 1.173 1.103.648 1.912.906 2.43.774.518-.132 1.149-.781 1.894-1.947-1.388-1.111-1.871-2.003-1.449-2.674.422-.672 1.062-1.372 1.922-2.101.834-.712.802-1.254-.097-1.624.218-.673.298-1.441.242-2.304l-2.926-.928-2.977-.723-.338.723Z",fill:"url(#no_record_svg__m)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M254.428 129.447c3.313-.81 4.193.435 4.193.961 0 .351-.105.933-.314 1.746.408-.156.694-.274.861-.355 1.016-.493 1.688-1.368 1.928-2.05.448-1.274-.868-3.976-4.28-3.573-1.189-.193-1.378-1.697-3.444-.772-2.067.925-2.764.214-2.764 1.163 0 .948.085 3.871 3.82 2.88Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M246.239 144.033c-2.302 5.051-3.706 8.242-4.214 9.572-.236.551-3.28 1.925-9.132 4.12-1.962.169-3.083.74-3.365 1.714-.16.625-.088 1.696.91 1.785.666.06 1.615-.432 2.847-1.474 6.537.23 10.425-.839 11.664-3.205 1.238-2.367 3.125-6.031 5.659-10.991l-4.066-1.946-.303.425Z",fill:"url(#no_record_svg__n)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M252.919 137.511c1.984 2.099 3.806 2.099 5.469 0 .289-.19 6.394-.486 10.721 6.37.043.26-1.171 1.674-3.642 4.24h-.756c-.004 9.89-.593 17.337-1.768 22.341-.154.521-6.224-1.08-18.209-4.803.667-8.484 1.405-13.99 2.215-16.519-.192-.379-1.616-1.617-4.271-3.716.837-1.754 2.094-3.44 3.773-5.058 1.678-1.619 3.834-2.57 6.468-2.855Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M264.387 147.074c.113.974 3.681 4.298 5.008 5.491.331.016-6.773 5.87-7.324 6.552-1.505 1.858-.981 3.874.662 3.874s1.129-3.072 1.402-3.232c4.776-2.791 5.26-2.791 8.42-4.686 2.75-1.554-.927-6.255-4.472-11.44-3.544-5.186-3.809 2.467-3.696 3.441Z",fill:"url(#no_record_svg__o)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M264.708 140.084c.769.366 1.304.639 1.606.82.787.473 1.326.938 1.673 1.218 1.077.869 1.619 1.761 1.931 2.429.26.463-2.504 4.652-5.21 4.177-.369-.015-.958-.88-1.765-2.594l1.765-6.05Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M233.552 197.407a.252.252 0 0 0-.15-.047c-.907.073-1.692.284-2.181.314-.805.051-1.548.157-2.051.162-.503.006-1.376-.096-1.865.035a1.075 1.075 0 0 0-.762.669c-.054.132-.209.338-.283.682-.028.132-.014.286.088.327 1.86.763 3.948 1.187 5.118 1.421 1.156.232 2.888.618 4.404.933.156.033.313-.108.353-.285.231-1.03.349-1.585.355-2.018.006-.414.072-.898-.079-1.462-.025-.095-.075-.207-.167-.182l-.768.206c-.463.124-1.048-.106-1.29-.218-.162-.075-.402-.254-.722-.537Z",fill:"#3E3E6E"}),React.createElement("path",{d:"m119 117 27.885 13.961-5.655 7.638L119 117Z",fill:"#DB9710"}),React.createElement("path",{d:"m119 117 22.227 21.598 1.751-8.949L119 117Z",fill:"url(#no_record_svg__p)"}),React.createElement("path",{d:"m119 117 13.669 10.645 10.305 2.001L119 117Z",fill:"url(#no_record_svg__q)"}),React.createElement("path",{d:"m122.804 118.901 32.347 12.262-8.262-.202-24.085-12.06Z",fill:"#FFD580"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"no_record_svg__a",x1:188.106,y1:170.04,x2:188.106,y2:236.119,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"no_record_svg__b",x1:137.445,y1:96.031,x2:137.445,y2:136.56,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"no_record_svg__c",x1:267.841,y1:126.868,x2:267.841,y2:156.824,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"no_record_svg__d",x1:206.105,y1:202.639,x2:205.64,y2:82.815,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#D8D8E4"}),React.createElement("stop",{offset:.232,stopColor:"#E2E2EA"}),React.createElement("stop",{offset:.925,stopColor:"#F2F2F9"}),React.createElement("stop",{offset:1,stopColor:"#E6E6EB"})),React.createElement("linearGradient",{id:"no_record_svg__e",x1:190.308,y1:88.982,x2:190.308,y2:187.823,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F8F8FB"}),React.createElement("stop",{offset:1,stopColor:"#FAFAFE"})),React.createElement("linearGradient",{id:"no_record_svg__f",x1:182.713,y1:180.612,x2:182.713,y2:202.639,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FAFAFF"}),React.createElement("stop",{offset:1,stopColor:"#DADADE"})),React.createElement("linearGradient",{id:"no_record_svg__g",x1:248.899,y1:101.848,x2:248.899,y2:85.26,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EEEEF8"}),React.createElement("stop",{offset:1,stopColor:"#BDBDC8"})),React.createElement("linearGradient",{id:"no_record_svg__h",x1:254.626,y1:124.067,x2:174.647,y2:146.954,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD685",stopOpacity:.252}),React.createElement("stop",{offset:1,stopColor:"#FFB829"})),React.createElement("linearGradient",{id:"no_record_svg__i",x1:98.018,y1:149.775,x2:98.018,y2:183.941,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"})),React.createElement("linearGradient",{id:"no_record_svg__j",x1:293.392,y1:177.969,x2:293.392,y2:199.429,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EBEBEE"}),React.createElement("stop",{offset:1,stopColor:"#FCFCFD"})),React.createElement("linearGradient",{id:"no_record_svg__k",x1:262.555,y1:171.802,x2:262.555,y2:198.233,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#EEEEF8"}),React.createElement("stop",{offset:1,stopColor:"#D6D6DC"})),React.createElement("linearGradient",{id:"no_record_svg__l",x1:254.998,y1:192.119,x2:246.667,y2:166.43,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"no_record_svg__m",x1:254.208,y1:129.739,x2:259.684,y2:136.529,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"no_record_svg__n",x1:240.035,y1:147.378,x2:243.109,y2:155.986,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"no_record_svg__o",x1:267.348,y1:143.709,x2:269.76,y2:157.604,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"no_record_svg__p",x1:120.011,y1:119.508,x2:139.733,y2:137.392,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFC552"}),React.createElement("stop",{offset:1,stopColor:"#F5B32F"})),React.createElement("linearGradient",{id:"no_record_svg__q",x1:122.062,y1:122.034,x2:134.748,y2:129.842,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FED686"}),React.createElement("stop",{offset:1,stopColor:"#FFD786"}))));oe.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNMTg4LjEwNiAyMzYuMTE5YzU1LjcxNSAwIDEwMC44ODEtMTQuNzkyIDEwMC44ODEtMzMuMDQgMC0xOC4yNDctNDUuMTY2LTMzLjAzOS0xMDAuODgxLTMzLjAzOVM4Ny4yMjUgMTg0LjgzMiA4Ny4yMjUgMjAzLjA3OWMwIDE4LjI0OCA0NS4xNjYgMzMuMDQgMTAwLjg4MSAzMy4wNFoiIGZpbGw9InVybCgjYSkiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNNzkuMjI4IDExNS41NThjMTAuMTY1LTEuNjUyIDE0LjI3OS0yLjg5NCAyNC4yMDMtMTIuNTQ2IDkuOTI1LTkuNjUxIDE5Ljk4OCA0LjQzIDM0LjkxMy0xLjIyNCAxNC45MjQtNS42NTMgMTYuMjg5LTEyLjQ5OCAzOS4xMTcgOC40NjkgMTAuNTIyIDguOTExIDE4Ljg5MiA1LjM4MyAyNC4wNSA4LjkxMSAzLjQzOCAyLjM1MSA2Ljc1MiA4LjE0OSA5Ljk0MyAxNy4zOTJINzkuMjI4Yy0xMC41MjgtMy42OTgtMTUuNzkyLTYuNzY4LTE1Ljc5Mi05LjIxMyAwLTMuNjY2IDUuNjI3LTEwLjEzOCAxNS43OTItMTEuNzg5WiIgZmlsbD0idXJsKCNiKSIvPjxwYXRoIG9wYWNpdHk9Ii4zMDIiIGQ9Ik0yMjIuNzkzIDE0MS4zMDFjNy44NjUtMS4yMjEgMTEuMDQ5LTIuMTQgMTguNzI4LTkuMjczIDcuNjgtNy4xMzQgMTUuNDY3IDMuMjc0IDI3LjAxNi0uOTA1IDExLjU0OS00LjE3OCAxMi42MDQtOS4yMzcgMzAuMjY5IDYuMjYgOC4xNDMgNi41ODYgMTQuNjE5IDMuOTc4IDE4LjYxIDYuNTg2IDIuNjYxIDEuNzM4IDUuMjI1IDYuMDIzIDcuNjk0IDEyLjg1NUgyMjIuNzkzYy04LjE0Ny0yLjczMy0xMi4yMi01LjAwMy0xMi4yMi02LjgwOSAwLTIuNzEgNC4zNTQtNy40OTQgMTIuMjItOC43MTRaIiBmaWxsPSJ1cmwoI2MpIi8+PHBhdGggZD0iTTI0Ny41NDIgODIuODE1YzYuODMyIDAgMTIuMzcgNS41MzggMTIuMzcgMTIuMzd2MS4yMThoLTIxLjk1M3Y5My44NjZjMCA2LjgzMS01LjUzOCAxMi4zNy0xMi4zNyAxMi4zN2gtNzkuMjg3YS45MjguOTI4IDAgMCAxLS45MjctLjkyOHYtMTA5YzAtNS40NjUgNC40My05Ljg5NiA5Ljg5Ni05Ljg5Nmg5Mi4yNzFaIiBmaWxsPSJ1cmwoI2QpIi8+PHBhdGggb3BhY2l0eT0iLjcxMiIgZD0iTTIyNS4yNjkgODguOTgyaC02OS45MjFhMy44MDYgMy44MDYgMCAwIDAtMy44MDYgMy44MDd2OTkuODc2YTMuODA2IDMuODA2IDAgMCAwIDMuODA2IDMuODA2aDY5LjkyMWEzLjgwNiAzLjgwNiAwIDAgMCAzLjgwNi0zLjgwNlY5Mi43ODlhMy44MDYgMy44MDYgMCAwIDAtMy44MDYtMy44MDdaIiBmaWxsPSJ1cmwoI2UpIi8+PHBhdGggZD0iTTIxNS4xOSAxODAuNjEydjEwLjg5NGMwIDYuMTQ4IDQuOTg0IDExLjEzMyAxMS4xMzMgMTEuMTMzaC04Ni4yYy02LjgzMSAwLTEyLjM3LTUuNTM5LTEyLjM3LTEyLjM3di05LjY1N2g4Ny40MzdabTIyLjQ4NCAxMS4wMTRjMCA2LjA4Mi00LjkzMSAxMS4wMTMtMTEuMDE0IDExLjAxM2gtLjExOWM2LjE0OCAwIDExLjEzMy00Ljk4NSAxMS4xMzMtMTEuMTMzbC0uMDAxLjA2LjAwMS4wNloiIGZpbGw9InVybCgjZikiLz48cGF0aCBkPSJNMjQ4Ljg5OSA4Mi44MTVjNi4wODIgMCAxMS4wMTMgNC45MyAxMS4wMTMgMTEuMDEzbC0uMDAxIDkuMjUxaC0yMi4wMjZ2LTkuMjVjMC02LjA4MyA0LjkzMS0xMS4wMTQgMTEuMDE0LTExLjAxNFoiIGZpbGw9InVybCgjZykiLz48cGF0aCBvcGFjaXR5PSIuMzk4IiBkPSJNMjU0LjYyNiAxMDQuODQxYy0xLjE5MiAxNC40MTctNy40ODQgMjEuMjI4LTEzLjc3NCAyNS4wMzItMTAuMDEyIDYuMDU1LTIxLjU4OSAzLjA0MS0yNC40NTMgMC00LjY2Mi00Ljk1MSA0LjAxMy0xMi40OSAxMi42MDgtNi44NjMgOC41OTQgNS42MjctMTUuMTA1IDI1LjQ1OC0zOS44NTcgMjEuOTQ2LTE2LjUwMi0yLjM0MS0zMS4zODctNi43MS00NC42NTctMTMuMTA3IiBzdHJva2U9InVybCgjaCkiIHN0cm9rZS13aWR0aD0iLjg4MSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtZGFzaGFycmF5PSIyLjY0IDIuNjQiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTk2LjY5NiAxNzUuNTk2aDEuNzM0Yy40NzMgMCAuODU2LjM4NC44NTYuODU3djE2LjA3M2EuODU3Ljg1NyAwIDAgMS0uODU2Ljg1N2gtMS43MzRhLjg1Ny44NTcgMCAwIDEtLjg1Ni0uODU3di0xNi4wNzNjMC0uNDczLjM4My0uODU3Ljg1Ni0uODU3WiIgZmlsbD0iI0YwRjBGMyIgZmlsbC1vcGFjaXR5PSIuOSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOTQuMDMgMTU0LjM3NWMtMy4yMDEgNi42NDUtMTQuMjIxIDI3LjAyNyAxLjIyIDI5LjMwOSAxNS40NDIgMi4yODIgMTQuNzUzLTExLjI4NCAxMi4wNDQtMTYuMTM5LTIuNzA4LTQuODU1LTUuNzY1LTcuNTczLTUuNzY1LTEzLjE3IDAtNS41OTctNC4yOTktNi42NDYtNy41IDBaIiBmaWxsPSJ1cmwoI2kpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yOTIuODM5IDE5NC41NTJoLjE2N2MuNDcyIDAgLjg1Ni4zODMuODU2Ljg1NnY5LjAxN2EuODU3Ljg1NyAwIDAgMS0uODU2Ljg1N2gtLjE2N2EuODU3Ljg1NyAwIDAgMS0uODU3LS44NTd2LTkuMDE3YzAtLjQ3My4zODQtLjg1Ni44NTctLjg1NloiIGZpbGw9IiNGMEYwRjMiIGZpbGwtb3BhY2l0eT0iLjkiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI5MC43ODcgMTgwLjg1OGMtMi4wOSA0LjE3NC05LjI4NiAxNi45NzYuNzk3IDE4LjQxIDEwLjA4NCAxLjQzMyA5LjYzNC03LjA4OCA3Ljg2Ni0xMC4xMzctMS43NjktMy4wNS0zLjc2NS00Ljc1Ny0zLjc2NS04LjI3M3MtMi44MDgtNC4xNzQtNC44OTggMFoiIGZpbGw9InVybCgjaikiLz48cGF0aCBkPSJNMjQ0LjkzNCAxNzEuODAyaDM1LjI0MmMuOTczIDAgMS43NjIuNzg5IDEuNzYyIDEuNzYydjIyLjkwN2MwIC45NzQtLjc4OSAxLjc2Mi0xLjc2MiAxLjc2MmgtMzUuMjQyYTEuNzYyIDEuNzYyIDAgMCAxLTEuNzYyLTEuNzYydi0yMi45MDdjMC0uOTczLjc4OS0xLjc2MiAxLjc2Mi0xLjc2MloiIGZpbGw9InVybCgjaykiLz48cGF0aCBkPSJtMjQ0Ljk0IDE5NS45NDQtMi40OTMgMS4zMDgtNS45MzYtOC40NCAzLjM3OC0xLjE1MSA1LjA1MSA4LjI4M1oiIGZpbGw9IiNGRkJDQTgiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0Mi4xNzQgMTk2LjU3NmEuMjYzLjI2MyAwIDAgMC0uMTQ4LjA1NmMtLjY2OS42MTYtMS4xNTggMS4yNjUtMS41MjUgMS41OS0uNjAzLjUzNi0xLjEyNCAxLjA3Ny0xLjUxNiAxLjM5MS0uMzkzLjMxNC0xLjE0NC43NzEtMS40NDkgMS4xNzVhMS4wNzcgMS4wNzcgMCAwIDAtLjE4OC45OTdjLjAzOS4xMzcuMDQzLjM5NS4xOTcuNzExLjA1OS4xMjEuMTY1LjIzNC4yNzEuMjA0IDEuOTM1LS41NDQgMy44NDEtMS40OTYgNC45MDctMi4wMzEgMS4wNTQtLjUyOSAyLjY1Ny0xLjI5MSA0LjA0Ni0xLjk3Ny4xNDMtLjA3LjE3OS0uMjc3LjEwMi0uNDQxLS40NTItLjk1NS0uNzAxLTEuNDY0LS45NjMtMS44MDktLjI1LS4zMy0uNDk1LS43NTItLjk2Mi0xLjEwNC0uMDc4LS4wNTktLjE4Ni0uMTE3LS4yNDQtLjA0bC0uNDc4LjYzNWMtLjI4OS4zODMtLjg5MS41NjItMS4xNTEuNjIyLS4xNzQuMDQxLS40NzMuMDQ4LS44OTkuMDIxWiIgZmlsbD0iIzNFM0U2RSIvPjxwYXRoIGQ9Im0yMzUuOTg2IDE5OC40NzgtMi45OTktLjM3NSAzLjk2NC02LjgwMyAzLjk2NSAxLjMyMi00LjkzIDUuODU2WiIgZmlsbD0iI0ZGQkNBOCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMjQ5LjQ4MiAxNjIuOTkxLS40MDkgMS41NzUtMi43ODEuMTY2LTMuMTkyLjlzLTguODk1IDIuOTYyLTE0LjA3IDdjLTIuNzA2IDIuMTExLTIuNDg0IDQuMjExLTEuNjU3IDUuNzM1bC0uMDE3LjAwOXM1LjM3NCA4LjcwOSA4LjU0MiAxMy4wNTdjLS45MzIgMS44MjgtMS41ODQgMy4xNjQtMS41NjQgMy4yOTUuMDY5LjQ0NyAzLjM0MyAxLjU5MSA0LjkzNiAxLjU3NiAxLjU5NC0uMDE1IDYuNDYzLTkuNjU4IDguNDctMTEuMjg2IDIuMDA3LTEuNjI5IDEzLjI3Ny02LjMyMSAxNC44MTYtMTMuMDc5IDEuMDI2LTQuNTA1IDEuMTU1LTYuMzg2LjM4Ny01LjY0MmwtNi44NzQtMi45MjUtNi41ODctLjM4MVptLTYuOTA0IDEzLjI4LS41NzkgMy4zOGMtLjAxOC4xMDQtMS4wNzIgMi4xMTctMi4zOTMgNC42NDFhMTQ2LjQyMiAxNDYuNDIyIDAgMCAwLTMuNTItNS41bC0uMDA5LS4wMTQtLjgwNS0xLjIxNWMuMDY2LS4wMjkuMTE4LS4wNDkuMTU0LS4wNi42MS0uMTg0IDcuMTUyLTEuMjMyIDcuMTUyLTEuMjMyWiIgZmlsbD0idXJsKCNsKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjUyLjcyIDEyOC40NzJjLS42ODYgMy44MTUtLjM2NCA2LjA1OS45NjggNi43MyAxLjc0Mi44MDkuMDYgMi42OTUtLjI5MiAyLjkwMS0uMjM1LjEzNi0uMDI3LjUyNy42MjMgMS4xNzMgMS4xMDMuNjQ4IDEuOTEyLjkwNiAyLjQzLjc3NC41MTgtLjEzMiAxLjE0OS0uNzgxIDEuODk0LTEuOTQ3LTEuMzg4LTEuMTExLTEuODcxLTIuMDAzLTEuNDQ5LTIuNjc0LjQyMi0uNjcyIDEuMDYyLTEuMzcyIDEuOTIyLTIuMTAxLjgzNC0uNzEyLjgwMi0xLjI1NC0uMDk3LTEuNjI0LjIxOC0uNjczLjI5OC0xLjQ0MS4yNDItMi4zMDRsLTIuOTI2LS45MjgtMi45NzctLjcyMy0uMzM4LjcyM1oiIGZpbGw9InVybCgjbSkiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI1NC40MjggMTI5LjQ0N2MzLjMxMy0uODEgNC4xOTMuNDM1IDQuMTkzLjk2MSAwIC4zNTEtLjEwNS45MzMtLjMxNCAxLjc0Ni40MDgtLjE1Ni42OTQtLjI3NC44NjEtLjM1NSAxLjAxNi0uNDkzIDEuNjg4LTEuMzY4IDEuOTI4LTIuMDUuNDQ4LTEuMjc0LS44NjgtMy45NzYtNC4yOC0zLjU3My0xLjE4OS0uMTkzLTEuMzc4LTEuNjk3LTMuNDQ0LS43NzItMi4wNjcuOTI1LTIuNzY0LjIxNC0yLjc2NCAxLjE2MyAwIC45NDguMDg1IDMuODcxIDMuODIgMi44OFoiIGZpbGw9IiMzNTM1NjQiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI0Ni4yMzkgMTQ0LjAzM2MtMi4zMDIgNS4wNTEtMy43MDYgOC4yNDItNC4yMTQgOS41NzItLjIzNi41NTEtMy4yOCAxLjkyNS05LjEzMiA0LjEyLTEuOTYyLjE2OS0zLjA4My43NC0zLjM2NSAxLjcxNC0uMTYuNjI1LS4wODggMS42OTYuOTEgMS43ODUuNjY2LjA2IDEuNjE1LS40MzIgMi44NDctMS40NzQgNi41MzcuMjMgMTAuNDI1LS44MzkgMTEuNjY0LTMuMjA1IDEuMjM4LTIuMzY3IDMuMTI1LTYuMDMxIDUuNjU5LTEwLjk5MWwtNC4wNjYtMS45NDYtLjMwMy40MjVaIiBmaWxsPSJ1cmwoI24pIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNTIuOTE5IDEzNy41MTFjMS45ODQgMi4wOTkgMy44MDYgMi4wOTkgNS40NjkgMCAuMjg5LS4xOSA2LjM5NC0uNDg2IDEwLjcyMSA2LjM3LjA0My4yNi0xLjE3MSAxLjY3NC0zLjY0MiA0LjI0aC0uNzU2Yy0uMDA0IDkuODktLjU5MyAxNy4zMzctMS43NjggMjIuMzQxLS4xNTQuNTIxLTYuMjI0LTEuMDgtMTguMjA5LTQuODAzLjY2Ny04LjQ4NCAxLjQwNS0xMy45OSAyLjIxNS0xNi41MTktLjE5Mi0uMzc5LTEuNjE2LTEuNjE3LTQuMjcxLTMuNzE2LjgzNy0xLjc1NCAyLjA5NC0zLjQ0IDMuNzczLTUuMDU4IDEuNjc4LTEuNjE5IDMuODM0LTIuNTcgNi40NjgtMi44NTVaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNjQuMzg3IDE0Ny4wNzRjLjExMy45NzQgMy42ODEgNC4yOTggNS4wMDggNS40OTEuMzMxLjAxNi02Ljc3MyA1Ljg3LTcuMzI0IDYuNTUyLTEuNTA1IDEuODU4LS45ODEgMy44NzQuNjYyIDMuODc0czEuMTI5LTMuMDcyIDEuNDAyLTMuMjMyYzQuNzc2LTIuNzkxIDUuMjYtMi43OTEgOC40Mi00LjY4NiAyLjc1LTEuNTU0LS45MjctNi4yNTUtNC40NzItMTEuNDQtMy41NDQtNS4xODYtMy44MDkgMi40NjctMy42OTYgMy40NDFaIiBmaWxsPSJ1cmwoI28pIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNjQuNzA4IDE0MC4wODRjLjc2OS4zNjYgMS4zMDQuNjM5IDEuNjA2LjgyLjc4Ny40NzMgMS4zMjYuOTM4IDEuNjczIDEuMjE4IDEuMDc3Ljg2OSAxLjYxOSAxLjc2MSAxLjkzMSAyLjQyOS4yNi40NjMtMi41MDQgNC42NTItNS4yMSA0LjE3Ny0uMzY5LS4wMTUtLjk1OC0uODgtMS43NjUtMi41OTRsMS43NjUtNi4wNVoiIGZpbGw9IiM1QjVCRUEiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIzMy41NTIgMTk3LjQwN2EuMjUyLjI1MiAwIDAgMC0uMTUtLjA0N2MtLjkwNy4wNzMtMS42OTIuMjg0LTIuMTgxLjMxNC0uODA1LjA1MS0xLjU0OC4xNTctMi4wNTEuMTYyLS41MDMuMDA2LTEuMzc2LS4wOTYtMS44NjUuMDM1YTEuMDc1IDEuMDc1IDAgMCAwLS43NjIuNjY5Yy0uMDU0LjEzMi0uMjA5LjMzOC0uMjgzLjY4Mi0uMDI4LjEzMi0uMDE0LjI4Ni4wODguMzI3IDEuODYuNzYzIDMuOTQ4IDEuMTg3IDUuMTE4IDEuNDIxIDEuMTU2LjIzMiAyLjg4OC42MTggNC40MDQuOTMzLjE1Ni4wMzMuMzEzLS4xMDguMzUzLS4yODUuMjMxLTEuMDMuMzQ5LTEuNTg1LjM1NS0yLjAxOC4wMDYtLjQxNC4wNzItLjg5OC0uMDc5LTEuNDYyLS4wMjUtLjA5NS0uMDc1LS4yMDctLjE2Ny0uMTgybC0uNzY4LjIwNmMtLjQ2My4xMjQtMS4wNDgtLjEwNi0xLjI5LS4yMTgtLjE2Mi0uMDc1LS40MDItLjI1NC0uNzIyLS41MzdaIiBmaWxsPSIjM0UzRTZFIi8+PHBhdGggZD0ibTExOSAxMTcgMjcuODg1IDEzLjk2MS01LjY1NSA3LjYzOEwxMTkgMTE3WiIgZmlsbD0iI0RCOTcxMCIvPjxwYXRoIGQ9Im0xMTkgMTE3IDIyLjIyNyAyMS41OTggMS43NTEtOC45NDlMMTE5IDExN1oiIGZpbGw9InVybCgjcCkiLz48cGF0aCBkPSJtMTE5IDExNyAxMy42NjkgMTAuNjQ1IDEwLjMwNSAyLjAwMUwxMTkgMTE3WiIgZmlsbD0idXJsKCNxKSIvPjxwYXRoIGQ9Im0xMjIuODA0IDExOC45MDEgMzIuMzQ3IDEyLjI2Mi04LjI2Mi0uMjAyLTI0LjA4NS0xMi4wNloiIGZpbGw9IiNGRkQ1ODAiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxODguMTA2IiB5MT0iMTcwLjA0IiB4Mj0iMTg4LjEwNiIgeTI9IjIzNi4xMTkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRENEQ0U0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREVERUU2IiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9IjEzNy40NDUiIHkxPSI5Ni4wMzEiIHgyPSIxMzcuNDQ1IiB5Mj0iMTM2LjU2IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIyNjcuODQxIiB5MT0iMTI2Ljg2OCIgeDI9IjI2Ny44NDEiIHkyPSIxNTYuODI0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSIyMDYuMTA1IiB5MT0iMjAyLjYzOSIgeDI9IjIwNS42NCIgeTI9IjgyLjgxNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNEOEQ4RTQiLz48c3RvcCBvZmZzZXQ9Ii4yMzIiIHN0b3AtY29sb3I9IiNFMkUyRUEiLz48c3RvcCBvZmZzZXQ9Ii45MjUiIHN0b3AtY29sb3I9IiNGMkYyRjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFNkU2RUIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDE9IjE5MC4zMDgiIHkxPSI4OC45ODIiIHgyPSIxOTAuMzA4IiB5Mj0iMTg3LjgyMyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGOEY4RkIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQUZBRkUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZiIgeDE9IjE4Mi43MTMiIHkxPSIxODAuNjEyIiB4Mj0iMTgyLjcxMyIgeTI9IjIwMi42MzkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkFGQUZGIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREFEQURFIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIyNDguODk5IiB5MT0iMTAxLjg0OCIgeDI9IjI0OC44OTkiIHkyPSI4NS4yNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFRUVFRjgiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNCREJEQzgiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjI1NC42MjYiIHkxPSIxMjQuMDY3IiB4Mj0iMTc0LjY0NyIgeTI9IjE0Ni45NTQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZENjg1IiBzdG9wLW9wYWNpdHk9Ii4yNTIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4MjkiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaSIgeDE9Ijk4LjAxOCIgeTE9IjE0OS43NzUiIHgyPSI5OC4wMTgiIHkyPSIxODMuOTQxIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0VCRUJFRSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZDRkNGRCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJqIiB4MT0iMjkzLjM5MiIgeTE9IjE3Ny45NjkiIHgyPSIyOTMuMzkyIiB5Mj0iMTk5LjQyOSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNFQkVCRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGQ0ZDRkQiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjI2Mi41NTUiIHkxPSIxNzEuODAyIiB4Mj0iMjYyLjU1NSIgeTI9IjE5OC4yMzMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRUVFRUY4Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRDZENkRDIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIyNTQuOTk4IiB5MT0iMTkyLjExOSIgeDI9IjI0Ni42NjciIHkyPSIxNjYuNDMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjNzg3OEMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNUM1Q0JCIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9Im0iIHgxPSIyNTQuMjA4IiB5MT0iMTI5LjczOSIgeDI9IjI1OS42ODQiIHkyPSIxMzYuNTI5IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRDJDNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGQjhBMyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJuIiB4MT0iMjQwLjAzNSIgeTE9IjE0Ny4zNzgiIHgyPSIyNDMuMTA5IiB5Mj0iMTU1Ljk4NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibyIgeDE9IjI2Ny4zNDgiIHkxPSIxNDMuNzA5IiB4Mj0iMjY5Ljc2IiB5Mj0iMTU3LjYwNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0icCIgeDE9IjEyMC4wMTEiIHkxPSIxMTkuNTA4IiB4Mj0iMTM5LjczMyIgeTI9IjEzNy4zOTIiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZDNTUyIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRjVCMzJGIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InEiIHgxPSIxMjIuMDYyIiB5MT0iMTIyLjAzNCIgeDI9IjEzNC43NDgiIHkyPSIxMjkuODQyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZFRDY4NiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGRDc4NiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg=="}}]); diff --git a/statics/p__ApiTest__TestCaseRecorder.b5096986.async.js b/statics/p__ApiTest__TestCaseRecorder.b5096986.async.js new file mode 100644 index 00000000..65211c2b --- /dev/null +++ b/statics/p__ApiTest__TestCaseRecorder.b5096986.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8421],{31484:function(z,j,e){e.d(j,{Z:function(){return c}});var E=e(1413),h=e(67294),_={icon:function(Z,i){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:i}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:Z}}]}},name:"delete",theme:"twotone"},v=_,x=e(84089),p=function(Z,i){return h.createElement(x.Z,(0,E.Z)((0,E.Z)({},Z),{},{ref:i,icon:v}))},C=h.forwardRef(p),c=C},34804:function(z,j,e){var E=e(1413),h=e(67294),_=e(66023),v=e(84089),x=function(c,y){return h.createElement(v.Z,(0,E.Z)((0,E.Z)({},c),{},{ref:y,icon:_.Z}))},p=h.forwardRef(x);j.Z=p},67:function(z,j,e){e.d(j,{Z:function(){return c}});var E=e(1413),h=e(67294),_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},v=_,x=e(84089),p=function(Z,i){return h.createElement(x.Z,(0,E.Z)((0,E.Z)({},Z),{},{ref:i,icon:v}))},C=h.forwardRef(p),c=C},22763:function(z,j,e){var E=e(32983),h=e(82759),_=e(85893);j.Z=function(v){var x=v.desc,p=v.height,C=p===void 0?180:p,c=v.image,y=c===void 0?h.Z:c;return(0,_.jsx)(E.Z,{image:y,imageStyle:{height:C},description:x||"\u6682\u65E0\u6570\u636E"})}},86607:function(z,j,e){var E=e(97857),h=e.n(E),_=e(5574),v=e.n(_),x=e(13769),p=e.n(x),C=e(67294),c=e(66309),y=e(17788),Z=e(55102),i=e(78957),o=e(14726),K=e(83062),se=e(72051),A=e(42481),ae=e(26671),le=e(22763),Y=e(40110),ue=e(31484),ie=e(37763),de=e.n(ie),s=e(85893),Q=["dataSource","dispatch","loading"],X=function(f){switch(f.toUpperCase()){case"GET":return{color:"rgb(235, 249, 244)",fontColor:"rgb(47, 177, 130)"};case"POST":return{color:"rgb(242, 244, 248)",fontColor:"rgb(5, 112, 175)"};case"PUT":return{color:"rgb(255, 247, 230)",fontColor:"rgb(255, 174, 0)"};case"DELETE":return{color:"rgb(253, 244, 246)",fontColor:"rgb(222, 72, 108)"};default:return{color:"rgb(243, 251, 254)",fontColor:"rgb(166, 187, 210)"}}},ce=function(f){var R=f.color,L=f.text,U=f.fontColor;return(0,s.jsx)(c.Z,{style:{color:U,borderRadius:12,padding:"0 12px"},color:R,children:L})},W=function(f){var R=f.name,L=f.record;return(0,s.jsx)("a",{onClick:function(){y.Z.info({title:R,width:700,bodyStyle:{padding:-12},content:(0,s.jsx)(A.Z,{language:"json",style:ae.BV,children:L[R]})})},children:"\u8BE6\u7EC6"})},he=function(f){var R=f.dataSource,L=f.dispatch,U=f.loading,V=p()(f,Q),ve=(0,C.useState)(""),k=v()(ve,2),fe=k[0],w=k[1],me=(0,C.useState)(""),q=v()(me,2),Ee=q[0],H=q[1],M=(0,C.useRef)(null),N=function(n,l,a){l(),w(n[0]),H(a)},B=function(n){n(),w("")},ee=function(n){return{filterDropdown:function(a){var F=a.setSelectedKeys,T=a.selectedKeys,$=a.confirm,te=a.clearFilters;return(0,s.jsxs)("div",{style:{padding:8},children:[(0,s.jsx)(Z.Z,{ref:M,placeholder:"\u641C\u7D22 ".concat(n),value:T[0],onChange:function(ne){return F(ne.target.value?[ne.target.value]:[])},onPressEnter:function(){return N(T,$,n)},style:{marginBottom:8,display:"block"}}),(0,s.jsxs)(i.Z,{children:[(0,s.jsx)(o.ZP,{type:"primary",onClick:function(){return N(T,$,n)},icon:(0,s.jsx)(Y.Z,{}),size:"small",style:{width:90},children:"\u67E5\u627E"}),(0,s.jsx)(o.ZP,{onClick:function(){return te&&B(te)},size:"small",style:{width:90},children:"\u91CD\u7F6E"}),(0,s.jsx)(o.ZP,{type:"link",size:"small",onClick:function(){$({closeDropdown:!1}),w(T[0]),H(n)},children:"\u8FC7\u6EE4"})]})]})},filterIcon:function(a){return(0,s.jsx)(Y.Z,{style:{color:a?"#1890ff":void 0}})},onFilter:function(a,F){return F[n].toString().toLowerCase().includes(a.toLowerCase())},onFilterDropdownVisibleChange:function(a){a&&setTimeout(function(){var F;return(F=M.current)===null||F===void 0?void 0:F.select()},100)},ellipsis:!0,render:function(a){return Ee===n?(0,s.jsx)(K.Z,{title:a,children:(0,s.jsx)(de(),{highlightStyle:{backgroundColor:"#ffc069",padding:0},searchWords:[fe],autoEscape:!0,textToHighlight:a?a.toString():""})}):(0,s.jsx)(K.Z,{title:a,children:(0,s.jsx)("a",{href:a,children:a.slice(0,48)})})}}},ge=function(n){L({type:"recorder/remove",payload:n})},je=[{title:"\u7F16\u53F7",key:"index",render:function(n,l){return"".concat(l.index+1)}},h()({title:"\u8BF7\u6C42\u5730\u5740",key:"url",dataIndex:"url",width:"20%"},ee("url")),{title:"\u8BF7\u6C42\u65B9\u5F0F",key:"request_method",dataIndex:"request_method",render:function(n){return(0,s.jsx)(ce,{fontColor:X(n).fontColor,color:X(n).color,text:n})}},{title:"\u8BF7\u6C42headers",key:"request_headers",dataIndex:"request_headers",render:function(n,l){return(0,s.jsx)(W,{name:"request_headers",record:l})}},{title:"\u8BF7\u6C42\u53C2\u6570",key:"body",dataIndex:"body",render:function(n,l){return n?(0,s.jsx)(W,{name:"body",record:l}):"-"}},{title:"\u8FD4\u56DEheaders",key:"response_headers",dataIndex:"response_headers",render:function(n,l){return n?(0,s.jsx)(W,{name:"response_headers",record:l}):"-"}},{title:"response",key:"response_content",dataIndex:"response_content",render:function(n,l){return n?(0,s.jsx)(W,{name:"response_content",record:l}):"-"}},{key:"ops",title:"\u64CD\u4F5C",render:function(n,l){return(0,s.jsx)(K.Z,{title:"\u70B9\u51FB\u53EF\u5220\u9664\u5F55\u5236\u6570\u636E(\u4E0D\u63A8\u8350)",children:(0,s.jsx)(ue.Z,{twoToneColor:"#F56C6C",onClick:function(){ge(l.index)}})})}}];return(0,s.jsx)(se.Z,{columns:je,dataSource:R,rowSelection:V.rowSelection,rowKey:function(n){return n[V.rowKey]},loading:U,locale:{emptyText:(0,s.jsx)(le.Z,{desc:V.emptyText,height:150})}})};j.Z=he},2620:function(z,j,e){e.r(j),e.d(j,{default:function(){return Ue}});var E=e(97857),h=e.n(E),_=e(15009),v=e.n(_),x=e(99289),p=e.n(x),C=e(5574),c=e.n(C),y=e(58841),Z=e(67),i=e(1413),o=e(67294),K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},se=K,A=e(84089),ae=function(d,u){return o.createElement(A.Z,(0,i.Z)((0,i.Z)({},d),{},{ref:u,icon:se}))},le=o.forwardRef(ae),Y=le,ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},ie=ue,de=function(d,u){return o.createElement(A.Z,(0,i.Z)((0,i.Z)({},d),{},{ref:u,icon:ie}))},s=o.forwardRef(de),Q=s,X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},ce=X,W=function(d,u){return o.createElement(A.Z,(0,i.Z)((0,i.Z)({},d),{},{ref:u,icon:ce}))},he=o.forwardRef(W),b=he,f=e(34804),R=e(2830),L={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-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},U=L,V=function(d,u){return o.createElement(A.Z,(0,i.Z)((0,i.Z)({},d),{},{ref:u,icon:U}))},ve=o.forwardRef(V),k=ve,fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"video-camera",theme:"outlined"},w=fe,me=function(d,u){return o.createElement(A.Z,(0,i.Z)((0,i.Z)({},d),{},{ref:u,icon:w}))},q=o.forwardRef(me),Ee=q,H=e(34041),M=e(8232),N=e(16568),B=e(50136),ee=e(38925),ge=e(4393),je=e(17788),g=e(59847),n=e(55102),l=e(71230),a=e(15746),F=e(85418),T=e(14726),$=e(90596),te=e(86607),S=e(19478),ne=e(61607),Se=(0,ne.a1)("camera-one",!1,function(r){return o.createElement("svg",{width:r.size,height:r.size,viewBox:"0 0 48 48",fill:"none"},o.createElement("circle",{cx:"24",cy:"19",r:"14",stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}),o.createElement("circle",{cx:"24",cy:"19",r:"6",fill:r.colors[1],stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}),o.createElement("path",{d:"M17 31L11 43H37L31 31",stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}))}),t=e(85893),Ie=H.Z.Option,We=function(d){var u=d.dispatch,pe=d.project,G=d.recorder,Ce=d.testcase,ze=d.loading,Ze=G.recordStatus,D=G.recordLists,Oe=G.regex,Ke=pe.projects,be=Ce.directory,Ve=(0,o.useState)([]),Fe=c()(Ve,2),re=Fe[0],Pe=Fe[1],we=(0,o.useState)(Oe),Re=c()(we,2),_e=Re[0],Me=Re[1],He=(0,o.useState)(!1),Be=c()(He,2),Ne=Be[0],xe=Be[1],$e=(0,o.useState)(null),Te=c()($e,2),De=Te[0],Ae=Te[1],Ge=M.Z.useForm(),Je=c()(Ge,1),Le=Je[0],Ye={selectedRowKeys:re,onChange:function(O){Pe(O)}},Qe=function(){De&&u({type:"testcase/listTestcaseDirectory",payload:{project_id:De,move:!0}})};(0,o.useEffect)(function(){u({type:"recorder/queryRecordStatus"})},[]),(0,o.useEffect)(function(){Me(Oe)},[Oe]),(0,o.useEffect)(function(){u({type:"project/listProject"})},[]),(0,o.useEffect)(function(){Ae(null),Qe()},[De]);var Xe=function(){if(!_e){N.ZP.error({message:"\u5EFA\u8BAE\u586B\u5199\u8FC7\u6EE4url\uFF0C\u5426\u5219\u6570\u636E\u4F1A\u8F83\u591A"});return}u({type:"recorder/startRecord",payload:{regex:_e}})},ke=function(){u({type:"recorder/stopRecord"})},qe=function(){var m=p()(v()().mark(function O(){var ye,oe;return v()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,Le.validateFields();case 2:return ye=I.sent,I.next=5,u({type:"recorder/generateCase",payload:{directory_id:ye.directory_id,name:ye.name,requests:re.map(function(P){return{request_headers:JSON.parse(D[P].request_headers),response_headers:JSON.parse(D[P].response_headers),cookies:JSON.parse(D[P].cookies),request_cookies:JSON.parse(D[P].request_cookies),response_content:D[P].response_content,request_method:D[P].request_method,url:D[P].url,body:D[P].body,status_code:D[P].status_code}})}});case 5:oe=I.sent,oe&&(xe(!1),Pe([]),N.ZP.success({message:"\u7528\u4F8B\u751F\u6210\u6210\u529F",description:(0,t.jsxs)("span",{children:["\u70B9\u51FB",(0,t.jsx)("a",{href:"/#/apiTest/testcase/".concat(oe.data.directory_id,"/").concat(oe.data.id),children:"\u94FE\u63A5"}),"\u53EF\u8DF3\u8F6C\u81F3\u6D4B\u8BD5\u7528\u4F8B"]})}));case 7:case"end":return I.stop()}},O)}));return function(){return m.apply(this,arguments)}}(),J=function(O){return"".concat(S.Z.URL,"/request/cert?cert=").concat(O)},et=(0,t.jsxs)(B.Z,{children:[(0,t.jsxs)(B.Z.Item,{children:[(0,t.jsx)(Z.Z,{}),(0,t.jsx)("a",{href:J(0),children:" Windows"})]},"windows"),(0,t.jsxs)(B.Z.Item,{children:[(0,t.jsx)(Y,{}),(0,t.jsx)("a",{href:J(1),children:" Linux"})]},"linux"),(0,t.jsxs)(B.Z.Item,{children:[(0,t.jsx)(Q,{}),(0,t.jsx)("a",{href:J(2),children:" Mac OS"})]},"macos"),(0,t.jsxs)(B.Z.Item,{children:[(0,t.jsx)(Q,{}),(0,t.jsx)("a",{href:J(3),children:" IOS"})]},"ios"),(0,t.jsxs)(B.Z.Item,{children:[(0,t.jsx)(b,{}),(0,t.jsx)("a",{href:J(4),children:" Android"})]},"android")]});return(0,t.jsxs)(y._z,{breadcrumb:null,title:(0,t.jsxs)("span",{className:"ant-page-header-heading-title",children:["\u7528\u4F8B\u5F55\u5236 ",(0,t.jsx)(Se,{theme:"outline",size:"18",fill:"#7ed321",strokeLinecap:"square"})," "]}),children:[(0,t.jsx)(ee.Z,{message:"\u7531\u4E8E\u5F55\u5236\u4EE3\u7406CPU\u8D1F\u8377\u8FC7\u9AD8\uFF0C\u6682\u65F6\u5148\u5173\u95ED\u6B64\u529F\u80FD\uFF5E\u{1F351}",style:{marginBottom:16},type:"warning",banner:!0,closable:!0}),(0,t.jsxs)(ge.Z,{children:[(0,t.jsx)(je.Z,{title:(0,t.jsxs)("span",{children:["\u751F\u6210\u7528\u4F8B - \u5DF2\u9009\u4E2D",re.length,"\u6761\u6570\u636E"]}),open:Ne,onOk:qe,onCancel:function(){return xe(!1)},children:(0,t.jsxs)(M.Z,h()(h()({form:Le},S.Z.LAYOUT),{},{children:[(0,t.jsx)(M.Z.Item,{label:"\u9879\u76EE",children:(0,t.jsx)(H.Z,{placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE",onChange:function(O){Ae(O)},children:Ke.map(function(m){return(0,t.jsx)(Ie,{value:m.id,children:m.name},m.id)})})}),(0,t.jsx)(M.Z.Item,{label:"\u573A\u666F\u76EE\u5F55",name:"directory_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u573A\u666F\u76EE\u5F55"}],children:(0,t.jsx)(g.Z,{placeholder:"\u5148\u9009\u62E9\u9879\u76EE\uFF0C\u7136\u540E\u9009\u62E9\u4F60\u8981\u751F\u6210\u7684\u573A\u666F\u76EE\u5F55",treeLine:!0,treeData:be})}),(0,t.jsx)(M.Z.Item,{label:"\u573A\u666F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u4F8B\u540D\u79F0"}],children:(0,t.jsx)(n.Z,{placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0"})})]}))}),(0,t.jsxs)(l.Z,{gutter:12,children:[(0,t.jsx)(a.Z,{span:10,children:(0,t.jsx)(ee.Z,{type:"info",banner:!0,closable:!0,message:(0,t.jsxs)("span",{children:["\u{1F4E2} \u5F55\u5236\u63A5\u53E3\u4E4B\u524D\uFF0C\u8BF7\u5148\u914D\u7F6E\u597Dapp/web\u4EE3\u7406\u54E6~",(0,t.jsx)("a",{href:"https://wuranxu.github.io/pityDoc/%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3/%E6%8E%A5%E5%8F%A3%E7%94%A8%E4%BE%8B/%E7%94%A8%E4%BE%8B%E5%BD%95%E5%88%B6",target:"_blank",rel:"noreferrer",children:" \u53C2\u8003\u6587\u6863"})]})})}),(0,t.jsxs)(a.Z,{span:8,children:[(0,t.jsx)(F.Z,{overlay:et,children:(0,t.jsxs)("a",{onClick:function(O){return O.preventDefault()},children:["\u4E0B\u8F7D\u8BC1\u4E66 ",(0,t.jsx)(f.Z,{})]})}),(0,t.jsx)(n.Z,{placeholder:"\u8BF7\u8F93\u5165\u8981\u5339\u914D\u7684url(\u6B63\u5219\u8868\u8FBE\u5F0F)",value:_e,onChange:function(O){Me(O.target.value)},style:{width:"75%",marginLeft:12}})]}),(0,t.jsxs)(a.Z,{span:6,children:[(0,t.jsxs)(T.ZP,{style:{float:"right",marginRight:8},onClick:function(){return xe(!0)},disabled:re.length===0,children:[(0,t.jsx)(R.Z,{}),"\u751F\u6210\u7528\u4F8B"]}),Ze?(0,t.jsxs)(T.ZP,{onClick:ke,danger:!0,style:{float:"right",marginRight:8},children:[(0,t.jsx)(k,{}),"\u505C\u6B62\u5F55\u5236"]}):(0,t.jsxs)(T.ZP,{type:"primary",style:{float:"right",marginRight:8},onClick:Xe,loading:Ze,children:[(0,t.jsx)(Ee,{}),D.length===0?"\u5F00\u59CB\u5F55\u5236":"\u91CD\u65B0\u5F55\u5236"]})]})]}),(0,t.jsx)(l.Z,{gutter:8,style:{marginTop:12},children:(0,t.jsx)(a.Z,{span:24,children:(0,t.jsx)(te.Z,{rowSelection:Ye,rowKey:"index",emptyText:"\u70B9\u51FB\u5F55\u5236\u6309\u94AE\u5373\u53EF\u5F00\u59CB\u5F55\u5236app/web\u7684\u63A5\u53E3\u8BF7\u6C42",dataSource:D,dispatch:u,loading:ze.effects["recorder/queryRecordStatus"]})})})]})]})},Ue=(0,$.connect)(function(r){var d=r.loading,u=r.recorder,pe=r.project,G=r.testcase,Ce=r.global;return{global:Ce,recorder:u,testcase:G,project:pe,loading:d}})(We)}}]); diff --git a/statics/p__ApiTest__TestCaseRecorder.fdacf720.async.js b/statics/p__ApiTest__TestCaseRecorder.fdacf720.async.js deleted file mode 100644 index df0fc934..00000000 --- a/statics/p__ApiTest__TestCaseRecorder.fdacf720.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8421],{31484:function(S,p,e){e.d(p,{Z:function(){return E}});var d=e(1413),i=e(67294),O={icon:function(x,Z){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:Z}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-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-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:x}}]}},name:"delete",theme:"twotone"},c=O,m=e(84089),j=function(x,Z){return i.createElement(m.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:Z,icon:c}))};j.displayName="DeleteTwoTone";var E=i.forwardRef(j)},34804:function(S,p,e){var d=e(1413),i=e(67294),O=e(66023),c=e(84089),m=function(E,h){return i.createElement(c.Z,(0,d.Z)((0,d.Z)({},E),{},{ref:h,icon:O.Z}))};m.displayName="DownOutlined",p.Z=i.forwardRef(m)},40110:function(S,p,e){var d=e(1413),i=e(67294),O=e(509),c=e(84089),m=function(E,h){return i.createElement(c.Z,(0,d.Z)((0,d.Z)({},E),{},{ref:h,icon:O.Z}))};m.displayName="SearchOutlined",p.Z=i.forwardRef(m)},67:function(S,p,e){e.d(p,{Z:function(){return E}});var d=e(1413),i=e(67294),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},c=O,m=e(84089),j=function(x,Z){return i.createElement(m.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:Z,icon:c}))};j.displayName="WindowsOutlined";var E=i.forwardRef(j)},22763:function(S,p,e){var d=e(32983),i=e(82759),O=e(85893);p.Z=function(c){var m=c.desc,j=c.height,E=j===void 0?180:j,h=c.image,x=h===void 0?i.Z:h;return(0,O.jsx)(d.Z,{image:x,imageStyle:{height:E},description:m||"\u6682\u65E0\u6570\u636E"})}},86607:function(S,p,e){var d=e(97857),i=e.n(d),O=e(5574),c=e.n(O),m=e(13769),j=e.n(m),E=e(67294),h=e(51904),x=e(69400),Z=e(96365),D=e(26713),o=e(71577),b=e(83062),ce=e(64240),A=e(42481),G=e(26671),he=e(22763),J=e(40110),ve=e(31484),Y=e(37763),Q=e.n(Y),a=e(85893),me=["dataSource","dispatch","loading"],V=function(f){switch(f.toUpperCase()){case"GET":return{color:"rgb(235, 249, 244)",fontColor:"rgb(47, 177, 130)"};case"POST":return{color:"rgb(242, 244, 248)",fontColor:"rgb(5, 112, 175)"};case"PUT":return{color:"rgb(255, 247, 230)",fontColor:"rgb(255, 174, 0)"};case"DELETE":return{color:"rgb(253, 244, 246)",fontColor:"rgb(222, 72, 108)"};default:return{color:"rgb(243, 251, 254)",fontColor:"rgb(166, 187, 210)"}}},Ee=function(f){var P=f.color,L=f.text,W=f.fontColor;return(0,a.jsx)(h.Z,{style:{color:W,borderRadius:12,padding:"0 12px"},color:P,children:L})},I=function(f){var P=f.name,L=f.record;return(0,a.jsx)("a",{onClick:function(){x.Z.info({title:P,width:700,bodyStyle:{padding:-12},content:(0,a.jsx)(A.Z,{language:"json",style:G.BV,children:L[P]})})},children:"\u8BE6\u7EC6"})},fe=function(f){var P=f.dataSource,L=f.dispatch,W=f.loading,H=j()(f,me),X=(0,E.useState)(""),k=c()(X,2),q=k[0],M=k[1],ee=(0,E.useState)(""),T=c()(ee,2),te=T[0],ne=T[1],re=(0,E.useRef)(null),oe=function(n,u,s){u(),M(n[0]),ne(s)},ae=function(n){n(),M("")},se=function(n){return{filterDropdown:function(s){var F=s.setSelectedKeys,z=s.selectedKeys,t=s.confirm,ue=s.clearFilters;return(0,a.jsxs)("div",{style:{padding:8},children:[(0,a.jsx)(Z.Z,{ref:re,placeholder:"\u641C\u7D22 ".concat(n),value:z[0],onChange:function(le){return F(le.target.value?[le.target.value]:[])},onPressEnter:function(){return oe(z,t,n)},style:{marginBottom:8,display:"block"}}),(0,a.jsxs)(D.Z,{children:[(0,a.jsx)(o.ZP,{type:"primary",onClick:function(){return oe(z,t,n)},icon:(0,a.jsx)(J.Z,{}),size:"small",style:{width:90},children:"\u67E5\u627E"}),(0,a.jsx)(o.ZP,{onClick:function(){return ue&&ae(ue)},size:"small",style:{width:90},children:"\u91CD\u7F6E"}),(0,a.jsx)(o.ZP,{type:"link",size:"small",onClick:function(){t({closeDropdown:!1}),M(z[0]),ne(n)},children:"\u8FC7\u6EE4"})]})]})},filterIcon:function(s){return(0,a.jsx)(J.Z,{style:{color:s?"#1890ff":void 0}})},onFilter:function(s,F){return F[n].toString().toLowerCase().includes(s.toLowerCase())},onFilterDropdownVisibleChange:function(s){s&&setTimeout(function(){var F;return(F=re.current)===null||F===void 0?void 0:F.select()},100)},ellipsis:!0,render:function(s){return te===n?(0,a.jsx)(b.Z,{title:s,children:(0,a.jsx)(Q(),{highlightStyle:{backgroundColor:"#ffc069",padding:0},searchWords:[q],autoEscape:!0,textToHighlight:s?s.toString():""})}):(0,a.jsx)(b.Z,{title:s,children:(0,a.jsx)("a",{href:s,children:s.slice(0,48)})})}}},K=function(n){L({type:"recorder/remove",payload:n})},ge=[{title:"\u7F16\u53F7",key:"index",render:function(n,u){return"".concat(u.index+1)}},i()({title:"\u8BF7\u6C42\u5730\u5740",key:"url",dataIndex:"url",width:"20%"},se("url")),{title:"\u8BF7\u6C42\u65B9\u5F0F",key:"request_method",dataIndex:"request_method",render:function(n){return(0,a.jsx)(Ee,{fontColor:V(n).fontColor,color:V(n).color,text:n})}},{title:"\u8BF7\u6C42headers",key:"request_headers",dataIndex:"request_headers",render:function(n,u){return(0,a.jsx)(I,{name:"request_headers",record:u})}},{title:"\u8BF7\u6C42\u53C2\u6570",key:"body",dataIndex:"body",render:function(n,u){return n?(0,a.jsx)(I,{name:"body",record:u}):"-"}},{title:"\u8FD4\u56DEheaders",key:"response_headers",dataIndex:"response_headers",render:function(n,u){return n?(0,a.jsx)(I,{name:"response_headers",record:u}):"-"}},{title:"response",key:"response_content",dataIndex:"response_content",render:function(n,u){return n?(0,a.jsx)(I,{name:"response_content",record:u}):"-"}},{key:"ops",title:"\u64CD\u4F5C",render:function(n,u){return(0,a.jsx)(b.Z,{title:"\u70B9\u51FB\u53EF\u5220\u9664\u5F55\u5236\u6570\u636E(\u4E0D\u63A8\u8350)",children:(0,a.jsx)(ve.Z,{twoToneColor:"#F56C6C",onClick:function(){K(u.index)}})})}}];return(0,a.jsx)(ce.Z,{columns:ge,dataSource:P,rowSelection:H.rowSelection,rowKey:function(n){return n[H.rowKey]},loading:W,locale:{emptyText:(0,a.jsx)(he.Z,{desc:H.emptyText,height:150})}})};p.Z=fe},2620:function(S,p,e){e.r(p),e.d(p,{default:function(){return le}});var d=e(97857),i=e.n(d),O=e(15009),c=e.n(O),m=e(99289),j=e.n(m),E=e(5574),h=e.n(E),x=e(58841),Z=e(67),D=e(1413),o=e(67294),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},ce=b,A=e(84089),G=function(v,l){return o.createElement(A.Z,(0,D.Z)((0,D.Z)({},v),{},{ref:l,icon:ce}))};G.displayName="LaptopOutlined";var he=o.forwardRef(G),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},ve=J,Y=function(v,l){return o.createElement(A.Z,(0,D.Z)((0,D.Z)({},v),{},{ref:l,icon:ve}))};Y.displayName="AppleOutlined";var Q=o.forwardRef(Y),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},me=a,V=function(v,l){return o.createElement(A.Z,(0,D.Z)((0,D.Z)({},v),{},{ref:l,icon:me}))};V.displayName="AndroidOutlined";var Ee=o.forwardRef(V),I=e(34804),fe=e(2830),w={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-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},f=w,P=function(v,l){return o.createElement(A.Z,(0,D.Z)((0,D.Z)({},v),{},{ref:l,icon:f}))};P.displayName="StopOutlined";var L=o.forwardRef(P),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"video-camera",theme:"outlined"},H=W,X=function(v,l){return o.createElement(A.Z,(0,D.Z)((0,D.Z)({},v),{},{ref:l,icon:H}))};X.displayName="VideoCameraOutlined";var k=o.forwardRef(X),q=e(34041),M=e(58131),ee=e(54689),T=e(68508),te=e(99138),ne=e(4393),re=e(69400),oe=e(59847),ae=e(96365),se=e(71230),K=e(15746),ge=e(13013),g=e(71577),n=e(94171),u=e(86607),s=e(19478),F=e(61607),z=(0,F.a1)("camera-one",!1,function(r){return o.createElement("svg",{width:r.size,height:r.size,viewBox:"0 0 48 48",fill:"none"},o.createElement("circle",{cx:"24",cy:"19",r:"14",stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}),o.createElement("circle",{cx:"24",cy:"19",r:"6",fill:r.colors[1],stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}),o.createElement("path",{d:"M17 31L11 43H37L31 31",stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}))}),t=e(85893),ue=q.Z.Option,U=function(v){var l=v.dispatch,_e=v.project,N=v.recorder,pe=v.testcase,Re=v.loading,ye=N.recordStatus,y=N.recordLists,je=N.regex,Se=_e.projects,Ie=pe.directory,We=(0,o.useState)([]),Ze=h()(We,2),ie=Ze[0],Pe=Ze[1],Ke=(0,o.useState)(je),Me=h()(Ke,2),Oe=Me[0],Te=Me[1],ze=(0,o.useState)(!1),Fe=h()(ze,2),Ue=Fe[0],De=Fe[1],be=(0,o.useState)(null),Be=h()(be,2),Ce=Be[0],Ae=Be[1],Ve=M.Z.useForm(),we=h()(Ve,1),Le=we[0],He={selectedRowKeys:ie,onChange:function(C){Pe(C)}},Ne=function(){Ce&&l({type:"testcase/listTestcaseDirectory",payload:{project_id:Ce,move:!0}})};(0,o.useEffect)(function(){l({type:"recorder/queryRecordStatus"})},[]),(0,o.useEffect)(function(){Te(je)},[je]),(0,o.useEffect)(function(){l({type:"project/listProject"})},[]),(0,o.useEffect)(function(){Ae(null),Ne()},[Ce]);var $e=function(){if(!Oe){ee.Z.error({message:"\u5EFA\u8BAE\u586B\u5199\u8FC7\u6EE4url\uFF0C\u5426\u5219\u6570\u636E\u4F1A\u8F83\u591A"});return}l({type:"recorder/startRecord",payload:{regex:Oe}})},Ge=function(){l({type:"recorder/stopRecord"})},Je=function(){var _=j()(c()().mark(function C(){var xe,de;return c()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Le.validateFields();case 2:return xe=R.sent,R.next=5,l({type:"recorder/generateCase",payload:{directory_id:xe.directory_id,name:xe.name,requests:ie.map(function(B){return{request_headers:JSON.parse(y[B].request_headers),response_headers:JSON.parse(y[B].response_headers),cookies:JSON.parse(y[B].cookies),request_cookies:JSON.parse(y[B].request_cookies),response_content:y[B].response_content,request_method:y[B].request_method,url:y[B].url,body:y[B].body,status_code:y[B].status_code}})}});case 5:de=R.sent,de&&(De(!1),Pe([]),ee.Z.success({message:"\u7528\u4F8B\u751F\u6210\u6210\u529F",description:(0,t.jsxs)("span",{children:["\u70B9\u51FB",(0,t.jsx)("a",{href:"/#/apiTest/testcase/".concat(de.data.directory_id,"/").concat(de.data.id),children:"\u94FE\u63A5"}),"\u53EF\u8DF3\u8F6C\u81F3\u6D4B\u8BD5\u7528\u4F8B"]})}));case 7:case"end":return R.stop()}},C)}));return function(){return _.apply(this,arguments)}}(),$=function(C){return"".concat(s.Z.URL,"/request/cert?cert=").concat(C)},Ye=(0,t.jsxs)(T.Z,{children:[(0,t.jsxs)(T.Z.Item,{children:[(0,t.jsx)(Z.Z,{}),(0,t.jsx)("a",{href:$(0),children:" Windows"})]},"windows"),(0,t.jsxs)(T.Z.Item,{children:[(0,t.jsx)(he,{}),(0,t.jsx)("a",{href:$(1),children:" Linux"})]},"linux"),(0,t.jsxs)(T.Z.Item,{children:[(0,t.jsx)(Q,{}),(0,t.jsx)("a",{href:$(2),children:" Mac OS"})]},"macos"),(0,t.jsxs)(T.Z.Item,{children:[(0,t.jsx)(Q,{}),(0,t.jsx)("a",{href:$(3),children:" IOS"})]},"ios"),(0,t.jsxs)(T.Z.Item,{children:[(0,t.jsx)(Ee,{}),(0,t.jsx)("a",{href:$(4),children:" Android"})]},"android")]});return(0,t.jsxs)(x._z,{breadcrumb:null,title:(0,t.jsxs)("span",{className:"ant-page-header-heading-title",children:["\u7528\u4F8B\u5F55\u5236 ",(0,t.jsx)(z,{theme:"outline",size:"18",fill:"#7ed321",strokeLinecap:"square"})," "]}),children:[(0,t.jsx)(te.Z,{message:"\u7531\u4E8E\u5F55\u5236\u4EE3\u7406CPU\u8D1F\u8377\u8FC7\u9AD8\uFF0C\u6682\u65F6\u5148\u5173\u95ED\u6B64\u529F\u80FD\uFF5E\u{1F351}",style:{marginBottom:16},type:"warning",banner:!0,closable:!0}),(0,t.jsxs)(ne.Z,{children:[(0,t.jsx)(re.Z,{title:(0,t.jsxs)("span",{children:["\u751F\u6210\u7528\u4F8B - \u5DF2\u9009\u4E2D",ie.length,"\u6761\u6570\u636E"]}),open:Ue,onOk:Je,onCancel:function(){return De(!1)},children:(0,t.jsxs)(M.Z,i()(i()({form:Le},s.Z.LAYOUT),{},{children:[(0,t.jsx)(M.Z.Item,{label:"\u9879\u76EE",children:(0,t.jsx)(q.Z,{placeholder:"\u8BF7\u9009\u62E9\u9879\u76EE",onChange:function(C){Ae(C)},children:Se.map(function(_){return(0,t.jsx)(ue,{value:_.id,children:_.name},_.id)})})}),(0,t.jsx)(M.Z.Item,{label:"\u573A\u666F\u76EE\u5F55",name:"directory_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u573A\u666F\u76EE\u5F55"}],children:(0,t.jsx)(oe.Z,{placeholder:"\u5148\u9009\u62E9\u9879\u76EE\uFF0C\u7136\u540E\u9009\u62E9\u4F60\u8981\u751F\u6210\u7684\u573A\u666F\u76EE\u5F55",treeLine:!0,treeData:Ie})}),(0,t.jsx)(M.Z.Item,{label:"\u573A\u666F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u4F8B\u540D\u79F0"}],children:(0,t.jsx)(ae.Z,{placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0"})})]}))}),(0,t.jsxs)(se.Z,{gutter:12,children:[(0,t.jsx)(K.Z,{span:10,children:(0,t.jsx)(te.Z,{type:"info",banner:!0,closable:!0,message:(0,t.jsxs)("span",{children:["\u{1F4E2} \u5F55\u5236\u63A5\u53E3\u4E4B\u524D\uFF0C\u8BF7\u5148\u914D\u7F6E\u597Dapp/web\u4EE3\u7406\u54E6~",(0,t.jsx)("a",{href:"https://wuranxu.github.io/pityDoc/%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3/%E6%8E%A5%E5%8F%A3%E7%94%A8%E4%BE%8B/%E7%94%A8%E4%BE%8B%E5%BD%95%E5%88%B6",target:"_blank",rel:"noreferrer",children:" \u53C2\u8003\u6587\u6863"})]})})}),(0,t.jsxs)(K.Z,{span:8,children:[(0,t.jsx)(ge.Z,{overlay:Ye,children:(0,t.jsxs)("a",{onClick:function(C){return C.preventDefault()},children:["\u4E0B\u8F7D\u8BC1\u4E66 ",(0,t.jsx)(I.Z,{})]})}),(0,t.jsx)(ae.Z,{placeholder:"\u8BF7\u8F93\u5165\u8981\u5339\u914D\u7684url(\u6B63\u5219\u8868\u8FBE\u5F0F)",value:Oe,onChange:function(C){Te(C.target.value)},style:{width:"75%",marginLeft:12}})]}),(0,t.jsxs)(K.Z,{span:6,children:[(0,t.jsxs)(g.ZP,{style:{float:"right",marginRight:8},onClick:function(){return De(!0)},disabled:ie.length===0,children:[(0,t.jsx)(fe.Z,{}),"\u751F\u6210\u7528\u4F8B"]}),ye?(0,t.jsxs)(g.ZP,{onClick:Ge,danger:!0,style:{float:"right",marginRight:8},children:[(0,t.jsx)(L,{}),"\u505C\u6B62\u5F55\u5236"]}):(0,t.jsxs)(g.ZP,{type:"primary",style:{float:"right",marginRight:8},onClick:$e,loading:ye,children:[(0,t.jsx)(k,{}),y.length===0?"\u5F00\u59CB\u5F55\u5236":"\u91CD\u65B0\u5F55\u5236"]})]})]}),(0,t.jsx)(se.Z,{gutter:8,style:{marginTop:12},children:(0,t.jsx)(K.Z,{span:24,children:(0,t.jsx)(u.Z,{rowSelection:He,rowKey:"index",emptyText:"\u70B9\u51FB\u5F55\u5236\u6309\u94AE\u5373\u53EF\u5F00\u59CB\u5F55\u5236app/web\u7684\u63A5\u53E3\u8BF7\u6C42",dataSource:y,dispatch:l,loading:Re.effects["recorder/queryRecordStatus"]})})})]})]})},le=(0,n.connect)(function(r){var v=r.loading,l=r.recorder,_e=r.project,N=r.testcase,pe=r.global;return{global:pe,recorder:l,testcase:N,project:_e,loading:v}})(U)}}]); diff --git a/statics/p__ApiTest__TestPlan.01b117ae.async.js b/statics/p__ApiTest__TestPlan.01b117ae.async.js new file mode 100644 index 00000000..49da3b46 --- /dev/null +++ b/statics/p__ApiTest__TestPlan.01b117ae.async.js @@ -0,0 +1 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8407],{12554:function(ce,B,t){"use strict";t.d(B,{Z:function(){return j}});var R=t(67294),x=t(7134),Y=t(83062),O={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},w=t(19478),i=Object.defineProperty,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,S=(g,s,v)=>s in g?i(g,s,{enumerable:!0,configurable:!0,writable:!0,value:v}):g[s]=v,L=(g,s)=>{for(var v in s||(s={}))b.call(s,v)&&S(g,v,s[v]);if(E)for(var v of E(s))H.call(s,v)&&S(g,v,s[v]);return g};const u=g=>React.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},g),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var D="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",m=t(85893),j=function(g){var s=g.user,v=g.size,ee=v===void 0?24:v,G=g.marginLeft,c=G===void 0?6:G;return s===void 0?(0,m.jsx)(x.C,{size:ee,src:D,alt:"avatar"}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(x.C,{size:ee,className:O.avatar,src:s.avatar||w.Z.AVATAR_URL,alt:"avatar"}),(0,m.jsx)(Y.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:s.deleted_at?(0,m.jsx)("del",{children:(0,m.jsx)("a",{style:{marginLeft:c,fontSize:13,color:"#ccc"},href:"/#/member/".concat(s.id),rel:"noreferrer",children:s.name})}):(0,m.jsx)("a",{onClick:function(P){P.stopPropagation()},style:{marginLeft:c,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(s.id),rel:"noreferrer",children:s.name})})]})}},37594:function(ce,B,t){"use strict";t.d(B,{B:function(){return Y}});var R=t(91321),x="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",Y=(0,R.Z)({scriptUrl:x})},65245:function(ce,B,t){"use strict";t.d(B,{Z:function(){return c}});var R=t(19632),x=t.n(R),Y=t(13769),O=t.n(Y),w=t(15009),i=t.n(w),E=t(99289),b=t.n(E),H=t(97857),S=t.n(H),L=t(72051),u=t(95742),D=t(53682),m=t(62748),j=t(85893),g=["className","style"],s=(0,u.JV)(function(){return(0,j.jsx)(D.Z,{style:{cursor:"grab",color:"#999"}})}),v=[{title:"\u6392\u5E8F",dataIndex:"sort",width:65,className:"drag-visible",render:function(){return(0,j.jsx)(s,{})}}],ee=(0,u.gU)(function(M){return(0,j.jsx)("tr",S()({},M))}),G=(0,u.hv)(function(M){return(0,j.jsx)("tbody",S()({},M))}),c=function(M){var P=M.dataSource,me=M.columns,$=M.setDataSource,f=M.dragCallback,ve=M.loading,Le=function(){var te=b()(i()().mark(function z(ne){var ae,X,k,W;return i()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(ae=ne.oldIndex,X=ne.newIndex,ae===X){U.next=11;break}if(k=(0,m.q)([].concat(P),ae,X).filter(function(Me){return!!Me}),!f){U.next=10;break}return U.next=6,f(k);case 6:W=U.sent,(W||W===void 0)&&$(k),U.next=11;break;case 10:$(k);case 11:case"end":return U.stop()}},z)}));return function(ne){return te.apply(this,arguments)}}(),de=function(z){return(0,j.jsx)(G,S()({useDragHandle:!0,disableAutoscroll:!0,helperClass:"row-dragging",onSortEnd:Le},z))},he=function(z){var ne=z.className,ae=z.style,X=O()(z,g),k=P.findIndex(function(W){return W.index===X["data-row-key"]});return(0,j.jsx)(ee,S()({index:k},X))};return(0,j.jsx)(L.Z,{pagination:!1,dataSource:P,loading:ve,columns:[].concat(v,x()(me)),rowKey:"index",components:{body:{wrapper:de,row:he}}})}},90861:function(ce,B,t){"use strict";var R=t(34041),x=t(7134),Y=t(19478),O=t(67294),w=t(85893),i=R.Z.Option;B.Z=function(E){var b=E.users,H=E.placeholder,S=H===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":H,L=E.onChange,u=E.value,D=E.mode,m=D===void 0?null:D;return(0,w.jsx)(R.Z,{allowClear:!0,onChange:L,value:u,showSearch:!0,placeholder:S,mode:m,filterOption:function(g,s){return s.props.children[2].toLowerCase().indexOf(g.toLowerCase())>-1||s.props.children[4].toLowerCase().indexOf(g.toLowerCase())>-1},children:b.map(function(j){return(0,w.jsxs)(i,{value:j.id,children:[(0,w.jsx)(x.C,{size:14,src:j.avatar||Y.Z.AVATAR_URL})," ",j.name,"(",j.email,")"]},j.id)})})}},95317:function(ce,B,t){"use strict";t.r(B),t.d(B,{default:function(){return Ue}});var R=t(15009),x=t.n(R),Y=t(99289),O=t.n(Y),w=t(97857),i=t.n(w),E=t(5574),b=t.n(E),H=t(58841),S=t(90596),L=t(34041),u=t(8232),D=t(83062),m=t(40411),j=t(66309),g=t(72269),s=t(96074),v=t(38925),ee=t(4393),G=t(71230),c=t(15746),M=t(55102),P=t(14726),me=t(72051),$=t(67294),f=t(19478),ve=t(63783),Le=t(51042),de=t(42119),he=t(59847),te=t(37804),z=t(17788),ne=t(55355),ae=t(36027),X=t(74070),k=t(60219),W=t(37594),Ze=t(65245),U=t(45855),Me=t.n(U),Fe=t(30381),Ne=t.n(Fe),Ae=t(90861),e=t(85893),fe=de.Z.Step,re=L.Z.Option,Te=function(l){var Q=l.dispatch,p=l.form,N=l.loading,y=l.caseMap,V=l.treeData,le=l.planRecord,K=l.onSave,ue=l.selectedCaseData,C=[{title:"\u7528\u4F8Bid",key:"case_id",dataIndex:"case_id",width:100,render:function(h){return h?h.split("_")[1]:null}},{title:"\u7528\u4F8B\u540D\u79F0",key:"name",dataIndex:"name",render:function(h){return(0,e.jsx)("a",{children:h})}}];return(0,$.useEffect)(function(){p.getFieldValue("project_id")&&Q({type:"testplan/listTestCaseTreeWithProjectId",payload:{project_id:p.getFieldValue("project_id")}})},[]),(0,$.useEffect)(function(){K({selectedCaseData:(p.getFieldValue("case_list")||[]).map(function(T,h){return{name:y[T.split("_")[1]],case_id:T,index:h}})})},[y]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c.Z,{span:24,children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u7528\u4F8B\u6811",name:"case_list",rules:[{required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2Acase"}]},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(he.Z,{treeData:V,treeCheckable:!0,style:{width:"100%"},showSearch:!0,allowClear:!0,maxTagCount:5,onChange:function(h,q){K({selectedCaseData:q.map(function(ie,Z){return{name:ie,case_id:h[Z],index:Z}})})},loading:N.effects["testplan/listTestCaseTreeWithProjectId"]})}))}),(0,e.jsx)(c.Z,{span:24,style:{marginTop:8},children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u7528\u4F8B\u8868",name:"caseList"},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(Ze.Z,{columns:C,dataSource:ue,setDataSource:function(h){K({selectedCaseData:h})},dragCallback:function(h){p.setFieldsValue({case_list:h.map(function(q){return q.case_id})})}})}))})]})},Be=function(l){var Q=l.user,p=l.loading,N=l.project,y=l.testplan,V=l.dispatch,le=l.gconfig,K=l.fetchTestPlan,ue=y.visible,C=y.currentStep,T=y.title,h=y.treeData,q=y.selectedCaseData,ie=y.caseMap,Z=y.planRecord,ye=N.projects,ge=le.envList,Ie=Q.userList,se=u.Z.useForm(),Ee=b()(se,1),J=Ee[0],Se=(0,$.useState)(null),xe=b()(Se,2),De=xe[0],pe=xe[1],_=function(a){V({type:"testplan/save",payload:a})};(0,$.useEffect)(function(){J.resetFields(),J.setFieldsValue(Z)},[Z]);var Ce=function(){var n=O()(x()().mark(function a(){var d,A;return x()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(d=J.getFieldsValue(["name","env","priority","cron","ordered","case_list","project_id","pass_rate","retry_minutes","msg_type","receiver"]),!Z.id){F.next=7;break}return F.next=4,V({type:"testplan/updateTestPlan",payload:i()(i()({},d),{},{id:Z.id,case_list:d.case_list.map(function(oe){return parseInt(oe.split("_")[1],10)})})});case 4:A=F.sent,F.next=10;break;case 7:return F.next=9,V({type:"testplan/insertTestPlan",payload:i()(i()({},d),{},{case_list:d.case_list.map(function(oe){return parseInt(oe.split("_")[1],10)})})});case 9:A=F.sent;case 10:A&&(_({visible:!1}),K());case 11:case"end":return F.stop()}},a)}));return function(){return n.apply(this,arguments)}}(),r=function(){if(C===0)return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u9879\u76EE",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE"}],name:"project_id",children:(0,e.jsx)(L.Z,{allowClear:!0,showSearch:!0,placeholder:"\u9009\u62E9\u9879\u76EE",filterOption:function(d,A){return A.children.toLowerCase().indexOf(d.toLowerCase())>=0},children:ye.map(function(a){return(0,e.jsx)(re,{value:a.id,children:a.name},a.id)})})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u8BA1\u5212\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u6D4B\u8BD5\u8BA1\u5212\u540D\u79F0"}],name:"name",children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u540D\u79F0"})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u8FD0\u884C\u73AF\u5883",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u8FD0\u884C\u7684\u73AF\u5883, \u652F\u6301\u591A\u9009"}],name:"env",children:(0,e.jsx)(L.Z,{placeholder:"\u8BF7\u9009\u62E9\u8981\u8FD0\u884C\u7684\u73AF\u5883",allowClear:!0,mode:"multiple",children:ge.map(function(a){return(0,e.jsx)(re,{value:a.id,children:a.name},a.id)})})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u4F18\u5148\u7EA7",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u8BA1\u5212\u4F18\u5148\u7EA7"}],name:"priority",children:(0,e.jsx)(L.Z,{placeholder:"\u9009\u62E9\u4F18\u5148\u7EA7",allowClear:!0,children:f.Z.PRIORITY.map(function(a){return(0,e.jsx)(re,{value:a,children:a},a)})})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"cron\u8868\u8FBE\u5F0F",extra:(0,e.jsx)("div",{className:"m-input-footer-msg",children:De||"* cron\u8868\u8FBE\u5F0F\u53EA\u652F\u63015\u4F4D!"}),rules:[{required:!0},function(a){var d=a.getFieldValue;return{validator:function(o,F){if(F===""){pe(null);return}try{var oe=Me().parseExpression(F);return pe("\u4E0B\u6B21\u8FD0\u884C\u65F6\u95F4: ".concat(Ne()(new Date(oe.next())).format("YYYY-MM-DD HH:mm:ss"))),Promise.resolve()}catch(Re){return Promise.reject(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684cron\u8868\u8FBE\u5F0F"))}}}}],name:"cron",children:(0,e.jsx)(M.Z,{placeholder:"\u8BF7\u8F93\u5165\u6267\u884Ccron\u8868\u8FBE\u5F0F"})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u987A\u5E8F\u6267\u884C",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u8BA1\u5212\u662F\u5426\u9700\u8981\u987A\u5E8F\u6267\u884C"}],name:"ordered",children:(0,e.jsxs)(L.Z,{placeholder:"\u662F\u5426\u9700\u8981\u987A\u5E8F\u6267\u884C",allowClear:!0,children:[(0,e.jsx)(re,{value:!1,children:"\u5426"}),(0,e.jsx)(re,{value:!0,children:"\u662F"})]})})})]});if(C===1)return(0,e.jsx)(Te,{dispatch:V,treeData:h,planRecord:Z,form:J,onSave:_,selectedCaseData:q,caseMap:ie,loading:p});if(C===2)return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u5408\u683C\u7387(%)",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u7684\u6700\u4F4E\u901A\u8FC7\u7387"}],name:"pass_rate",children:(0,e.jsx)(te.Z,{placeholder:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u7684\u6700\u4F4E\u901A\u8FC7\u7387",style:{width:"100%"},max:100,min:1})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u91CD\u8BD5\u7B49\u5F85(min)",rules:[{required:!1}],name:"retry_minutes",children:(0,e.jsx)(te.Z,{placeholder:"\u91CD\u8BD5\u7B49\u5F85\u65F6\u95F4, \u4E0D\u586B\u5219\u4E0D\u91CD\u8BD5",style:{width:"100%"},min:0})})}),(0,e.jsx)(c.Z,{span:24,children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u63A8\u9001\u65B9\u5F0F",rules:[{required:!1,message:"\u8BF7\u9009\u62E9\u63A8\u9001\u65B9\u5F0F"}],name:"msg_type"},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(L.Z,{allowClear:!0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u63A8\u9001\u65B9\u5F0F",mode:"multiple",children:Object.keys(f.Z.MSG_TYPE).map(function(a){return(0,e.jsxs)(re,{value:a,children:[(0,e.jsx)(W.B,{type:f.Z.MSG_ICON[a],style:{fontSize:18}})," ",f.Z.MSG_TYPE[a]]},a)})})}))}),(0,e.jsx)(c.Z,{span:24,children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u63A8\u9001\u7528\u6237",rules:[{required:!1,message:"\u8BF7\u9009\u62E9\u63A8\u9001\u4EBA\u5458"}],name:"receiver"},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(Ae.Z,{users:Ie,mode:"multiple"})}))})]})};return(0,e.jsx)(z.Z,{width:700,open:ue,title:T,style:{marginTop:-40},footer:null,onCancel:function(){_({visible:!1})},children:(0,e.jsxs)(u.Z,i()(i()({form:J},f.Z.SUB_LAYOUT),{},{initialValues:Z,children:[(0,e.jsxs)(de.Z,{current:C,size:"small",children:[(0,e.jsx)(fe,{title:"\u57FA\u7840\u4FE1\u606F",icon:(0,e.jsx)(ne.Z,{})}),(0,e.jsx)(fe,{title:"\u9009\u62E9\u7528\u4F8B",icon:(0,e.jsx)(ae.Z,{})}),(0,e.jsx)(fe,{title:"\u901A\u77E5\u8BBE\u7F6E",icon:(0,e.jsx)(X.Z,{})})]}),(0,e.jsxs)(G.Z,{gutter:[8,8],style:{marginTop:24},children:[r(),(0,e.jsxs)("div",{style:{margin:"24px auto"},children:[C===0?null:(0,e.jsxs)(P.ZP,{style:{marginRight:8},onClick:function(){_({currentStep:C-1})},children:[(0,e.jsx)(W.B,{type:"icon-shangyibu1"})," \u4E0A\u4E00\u6B65"]}),C<2?(0,e.jsxs)(P.ZP,{type:"primary",onClick:function(){J.validateFields().then(function(){_({currentStep:C+1})})},children:[(0,e.jsx)(W.B,{type:"icon--xiayibu"})," \u4E0B\u4E00\u6B65"]}):(0,e.jsxs)(P.ZP,{type:"primary",onClick:Ce,children:[(0,e.jsx)(k.Z,{})," \u4FDD\u5B58"]})]})]})]}))})},Oe=(0,S.connect)(function(I){var l=I.user,Q=I.loading,p=I.project,N=I.testplan,y=I.gconfig;return{user:l,loading:Q,project:p,testplan:N,gconfig:y}})(Be),Pe=t(12554),je=L.Z.Option,ze=function(l){var Q=l.testplan,p=l.dispatch,N=l.loading,y=l.gconfig,V=l.user,le=l.project,K=Q.planData,ue=V.userList,C=V.userMap,T=le.projectsMap,h=le.projects,q=u.Z.useForm(),ie=b()(q,1),Z=ie[0],ye=function(n){return n.state===2?(0,e.jsx)(D.Z,{title:"\u5B9A\u65F6\u4EFB\u52A1\u53EF\u80FD\u6DFB\u52A0\u5931\u8D25, \u8BF7\u5C1D\u8BD5\u91CD\u65B0\u6DFB\u52A0",children:(0,e.jsx)(m.Z,{status:"error",text:"\u51FA\u9519"})}):n.state===3?(0,e.jsx)(D.Z,{title:"\u4EFB\u52A1\u5DF2\u6682\u505C",children:(0,e.jsx)(m.Z,{status:"warning",text:"\u5DF2\u6682\u505C"})}):n.state===1?(0,e.jsx)(D.Z,{title:"\u4EFB\u52A1\u6B63\u5728\u6267\u884C\u4E2D",children:(0,e.jsx)(m.Z,{status:"processing",text:"\u6267\u884C\u4E2D"})}):(0,e.jsx)(D.Z,{title:"\u4E0B\u6B21\u8FD0\u884C\u65F6\u95F4: ".concat(n.next_run),children:(0,e.jsx)(m.Z,{status:"success",text:"\u7B49\u5F85\u4E2D"})})},ge=function(n){p({type:"testplan/save",payload:n})},Ie=function(n){ge({visible:!0,currentStep:0,title:"\u7F16\u8F91\u6D4B\u8BD5\u8BA1\u5212: ".concat(n.name),planRecord:i()(i()({},n),{},{msg_type:n.msg_type===""?[]:n.msg_type.split(","),receiver:n.receiver===""?[]:n.receiver.split(",").map(function(a){return parseInt(a,10)}),env:n.env===""?[]:n.env.split(",").map(function(a){return parseInt(a,10)}),case_list:n.case_list===""?[]:n.case_list.split(",").map(function(a){return"testcase_".concat(a)})})})},se=function(){var n=Z.getFieldsValue();p({type:"testplan/listTestPlan",payload:i()({page:1,size:10},n)})},Ee=function(){var r=O()(x()().mark(function n(a){var d;return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,p({type:"testplan/deleteTestPlan",payload:{id:a}});case 2:d=o.sent,d&&se();case 4:case"end":return o.stop()}},n)}));return function(a){return r.apply(this,arguments)}}(),J=function(n,a){var d=a?"testplan/followTestPlan":"testplan/unFollowTestPlan";p({type:d,payload:{id:n}})},Se=function(){var r=O()(x()().mark(function n(a){var d;return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,p({type:"testplan/executeTestPlan",payload:{id:a}});case 2:d=o.sent;case 3:case"end":return o.stop()}},n)}));return function(a){return r.apply(this,arguments)}}(),xe=[{title:"\u9879\u76EE",key:"project_id",dataIndex:"project_id",render:function(n){return(0,e.jsx)("a",{href:"/#/project/".concat(n),rel:"noreferrer",children:T[n]||"loading"})}},{title:"\u6D4B\u8BD5\u8BA1\u5212",key:"name",dataIndex:"name"},{title:"\u4F18\u5148\u7EA7",key:"priority",dataIndex:"priority",render:function(n){return(0,e.jsx)(j.Z,{color:f.Z.CASE_TAG[n],children:n})}},{title:"cron\u8868\u8FBE\u5F0F",key:"cron",dataIndex:"cron"},{title:"\u987A\u5E8F\u6267\u884C",key:"ordered",dataIndex:"ordered",render:function(n){return n?(0,e.jsx)(j.Z,{color:"blue",children:"\u662F"}):(0,e.jsx)(j.Z,{children:"\u5426"})}},{title:"\u7528\u4F8B\u6570\u91CF",key:"case_list",dataIndex:"case_list",render:function(n){return n.split(",").length}},{title:"\u72B6\u6001",key:"next_run",dataIndex:"next_run",render:function(n,a){return ye(a)}},{title:(0,e.jsxs)("span",{children:["\u662F\u5426\u5173\u6CE8 ",(0,e.jsx)(D.Z,{title:"\u70B9\u51FB\u53EF\u5173\u6CE8\u9879\u76EE\u6570\u636E",children:(0,e.jsx)(ve.Z,{})})]}),key:"follow",dataIndex:"follow",render:function(n,a){return(0,e.jsx)(g.Z,{defaultChecked:n,onChange:function(A){J(a.id,A)}})}},{title:"\u521B\u5EFA\u4EBA",key:"create_user",dataIndex:"create_user",render:function(n){return(0,e.jsx)(Pe.Z,{user:C[n]})}},{title:"\u64CD\u4F5C",key:"ops",render:function(n,a){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){Ie(a)},children:"\u7F16\u8F91"}),(0,e.jsx)(s.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:O()(x()().mark(function d(){return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Se(a.id);case 2:case"end":return o.stop()}},d)})),children:"\u8FD0\u884C"}),(0,e.jsx)(s.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:O()(x()().mark(function d(){return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Ee(a.id);case 2:case"end":return o.stop()}},d)})),children:"\u5220\u9664"})]})}}],De=N.effects["testplan/listTestPlan"]||N.effects["project/listProject"]||N.effects["testplan/executeTestPlan"],pe=function(){p({type:"project/listProject"})},_=function(){ue.length===0&&p({type:"user/fetchUserList"})},Ce=function(){p({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}})};return(0,$.useEffect)(function(){Ce(),_(),pe(),se()},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(H._z,{title:!1,breadcrumb:null,children:[(0,e.jsx)(v.Z,{message:"\u6267\u884C\u6D4B\u8BD5\u8BA1\u5212\u524D\uFF0C\u8BB0\u5F97\u4FEE\u6539\u6D4B\u8BD5\u8BA1\u5212\u63A5\u6536\u4EBA, \u8FD9\u6837\u5C31\u80FD\u6536\u5230\u90AE\u4EF6\u901A\u77E5\u5566\u{1F608}~",style:{marginBottom:16},type:"info",banner:!0,closable:!0}),(0,e.jsxs)(ee.Z,{children:[(0,e.jsx)(Oe,{fetchTestPlan:se}),(0,e.jsx)(u.Z,i()(i()({form:Z},f.Z.LAYOUT),{},{onValuesChange:function(){se()},children:(0,e.jsxs)(G.Z,{gutter:[12,12],children:[(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u9879\u76EE",name:"project_id",children:(0,e.jsx)(L.Z,{allowClear:!0,showSearch:!0,placeholder:"\u9009\u62E9\u9879\u76EE",children:h.map(function(r){return(0,e.jsx)(je,{value:r.id,children:r.name},r.id)})})})}),(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u540D\u79F0",name:"name",children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u540D\u79F0"})})}),(0,e.jsx)(c.Z,{span:4,children:(0,e.jsx)(u.Z.Item,{label:"\u4F18\u5148\u7EA7",name:"priority",children:(0,e.jsx)(L.Z,{placeholder:"\u9009\u62E9\u4F18\u5148\u7EA7",allowClear:!0,children:f.Z.PRIORITY.map(function(r){return(0,e.jsx)(je,{value:r,children:r},r)})})})}),(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u5173\u6CE8",name:"follow",children:(0,e.jsxs)(L.Z,{placeholder:"\u9009\u62E9\u662F\u5426\u5173\u6CE8",allowClear:!0,children:[(0,e.jsx)(je,{value:"true",children:"\u662F"}),(0,e.jsx)(je,{value:"false",children:"\u5426"})]})})}),(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u521B\u5EFA\u4EBA",name:"create_user",children:(0,e.jsx)(Ae.Z,{users:ue})})})]})})),(0,e.jsx)(G.Z,{style:{marginBottom:12},children:(0,e.jsxs)(P.ZP,{type:"primary",onClick:function(){ge({visible:!0,title:"\u65B0\u589E\u6D4B\u8BD5\u8BA1\u5212",planRecord:{},currentStep:0})},children:[(0,e.jsx)(Le.Z,{})," \u6DFB\u52A0\u8BA1\u5212"]})}),(0,e.jsx)(me.Z,{columns:xe,dataSource:K,rowKey:function(n){return n.id},loading:De})]})]})})},Ue=(0,S.connect)(function(I){var l=I.testplan,Q=I.project,p=I.user,N=I.loading,y=I.gconfig;return{testplan:l,project:Q,loading:N,user:p,gconfig:y}})(ze)},37281:function(){}}]); diff --git a/statics/p__ApiTest__TestPlan.7e209378.async.js b/statics/p__ApiTest__TestPlan.7e209378.async.js deleted file mode 100644 index 5e15bcca..00000000 --- a/statics/p__ApiTest__TestPlan.7e209378.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8407],{12554:function(ce,B,t){"use strict";t.d(B,{Z:function(){return j}});var R=t(67294),x=t(98293),Y=t(83062),O={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},w=t(19478),i=Object.defineProperty,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,S=(g,s,v)=>s in g?i(g,s,{enumerable:!0,configurable:!0,writable:!0,value:v}):g[s]=v,L=(g,s)=>{for(var v in s||(s={}))b.call(s,v)&&S(g,v,s[v]);if(E)for(var v of E(s))H.call(s,v)&&S(g,v,s[v]);return g};const u=g=>React.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},g),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var D="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",m=t(85893),j=function(g){var s=g.user,v=g.size,ee=v===void 0?24:v,G=g.marginLeft,c=G===void 0?6:G;return s===void 0?(0,m.jsx)(x.C,{size:ee,src:D,alt:"avatar"}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(x.C,{size:ee,className:O.avatar,src:s.avatar||w.Z.AVATAR_URL,alt:"avatar"}),(0,m.jsx)(Y.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:s.deleted_at?(0,m.jsx)("del",{children:(0,m.jsx)("a",{style:{marginLeft:c,fontSize:13,color:"#ccc"},href:"/#/member/".concat(s.id),rel:"noreferrer",children:s.name})}):(0,m.jsx)("a",{onClick:function(P){P.stopPropagation()},style:{marginLeft:c,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(s.id),rel:"noreferrer",children:s.name})})]})}},37594:function(ce,B,t){"use strict";t.d(B,{B:function(){return Y}});var R=t(91321),x="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",Y=(0,R.Z)({scriptUrl:x})},65245:function(ce,B,t){"use strict";t.d(B,{Z:function(){return c}});var R=t(19632),x=t.n(R),Y=t(13769),O=t.n(Y),w=t(15009),i=t.n(w),E=t(99289),b=t.n(E),H=t(97857),S=t.n(H),L=t(64240),u=t(95742),D=t(60532),m=t(62748),j=t(85893),g=["className","style"],s=(0,u.JV)(function(){return(0,j.jsx)(D.Z,{style:{cursor:"grab",color:"#999"}})}),v=[{title:"\u6392\u5E8F",dataIndex:"sort",width:65,className:"drag-visible",render:function(){return(0,j.jsx)(s,{})}}],ee=(0,u.gU)(function(M){return(0,j.jsx)("tr",S()({},M))}),G=(0,u.hv)(function(M){return(0,j.jsx)("tbody",S()({},M))}),c=function(M){var P=M.dataSource,me=M.columns,$=M.setDataSource,f=M.dragCallback,ve=M.loading,Le=function(){var te=b()(i()().mark(function z(ne){var ae,X,k,W;return i()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(ae=ne.oldIndex,X=ne.newIndex,ae===X){U.next=11;break}if(k=(0,m.q)([].concat(P),ae,X).filter(function(Me){return!!Me}),!f){U.next=10;break}return U.next=6,f(k);case 6:W=U.sent,(W||W===void 0)&&$(k),U.next=11;break;case 10:$(k);case 11:case"end":return U.stop()}},z)}));return function(ne){return te.apply(this,arguments)}}(),de=function(z){return(0,j.jsx)(G,S()({useDragHandle:!0,disableAutoscroll:!0,helperClass:"row-dragging",onSortEnd:Le},z))},he=function(z){var ne=z.className,ae=z.style,X=O()(z,g),k=P.findIndex(function(W){return W.index===X["data-row-key"]});return(0,j.jsx)(ee,S()({index:k},X))};return(0,j.jsx)(L.Z,{pagination:!1,dataSource:P,loading:ve,columns:[].concat(v,x()(me)),rowKey:"index",components:{body:{wrapper:de,row:he}}})}},90861:function(ce,B,t){"use strict";var R=t(34041),x=t(98293),Y=t(19478),O=t(67294),w=t(85893),i=R.Z.Option;B.Z=function(E){var b=E.users,H=E.placeholder,S=H===void 0?"\u8BF7\u9009\u62E9\u4EBA\u5458":H,L=E.onChange,u=E.value,D=E.mode,m=D===void 0?null:D;return(0,w.jsx)(R.Z,{allowClear:!0,onChange:L,value:u,showSearch:!0,placeholder:S,mode:m,filterOption:function(g,s){return s.props.children[2].toLowerCase().indexOf(g.toLowerCase())>-1||s.props.children[4].toLowerCase().indexOf(g.toLowerCase())>-1},children:b.map(function(j){return(0,w.jsxs)(i,{value:j.id,children:[(0,w.jsx)(x.C,{size:14,src:j.avatar||Y.Z.AVATAR_URL})," ",j.name,"(",j.email,")"]},j.id)})})}},95317:function(ce,B,t){"use strict";t.r(B),t.d(B,{default:function(){return Ue}});var R=t(15009),x=t.n(R),Y=t(99289),O=t.n(Y),w=t(97857),i=t.n(w),E=t(5574),b=t.n(E),H=t(58841),S=t(94171),L=t(34041),u=t(58131),D=t(83062),m=t(53575),j=t(51904),g=t(72269),s=t(96074),v=t(99138),ee=t(4393),G=t(71230),c=t(15746),M=t(96365),P=t(71577),me=t(64240),$=t(67294),f=t(19478),ve=t(63783),Le=t(51042),de=t(3363),he=t(59847),te=t(43589),z=t(69400),ne=t(55355),ae=t(36027),X=t(5603),k=t(60219),W=t(37594),Ze=t(65245),U=t(45855),Me=t.n(U),Fe=t(30381),Ne=t.n(Fe),Ae=t(90861),e=t(85893),fe=de.Z.Step,re=L.Z.Option,Te=function(l){var Q=l.dispatch,p=l.form,N=l.loading,y=l.caseMap,V=l.treeData,le=l.planRecord,K=l.onSave,ue=l.selectedCaseData,C=[{title:"\u7528\u4F8Bid",key:"case_id",dataIndex:"case_id",width:100,render:function(h){return h?h.split("_")[1]:null}},{title:"\u7528\u4F8B\u540D\u79F0",key:"name",dataIndex:"name",render:function(h){return(0,e.jsx)("a",{children:h})}}];return(0,$.useEffect)(function(){p.getFieldValue("project_id")&&Q({type:"testplan/listTestCaseTreeWithProjectId",payload:{project_id:p.getFieldValue("project_id")}})},[]),(0,$.useEffect)(function(){K({selectedCaseData:(p.getFieldValue("case_list")||[]).map(function(T,h){return{name:y[T.split("_")[1]],case_id:T,index:h}})})},[y]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c.Z,{span:24,children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u7528\u4F8B\u6811",name:"case_list",rules:[{required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2Acase"}]},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(he.Z,{treeData:V,treeCheckable:!0,style:{width:"100%"},showSearch:!0,allowClear:!0,maxTagCount:5,onChange:function(h,q){K({selectedCaseData:q.map(function(ie,Z){return{name:ie,case_id:h[Z],index:Z}})})},loading:N.effects["testplan/listTestCaseTreeWithProjectId"]})}))}),(0,e.jsx)(c.Z,{span:24,style:{marginTop:8},children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u7528\u4F8B\u8868",name:"caseList"},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(Ze.Z,{columns:C,dataSource:ue,setDataSource:function(h){K({selectedCaseData:h})},dragCallback:function(h){p.setFieldsValue({case_list:h.map(function(q){return q.case_id})})}})}))})]})},Be=function(l){var Q=l.user,p=l.loading,N=l.project,y=l.testplan,V=l.dispatch,le=l.gconfig,K=l.fetchTestPlan,ue=y.visible,C=y.currentStep,T=y.title,h=y.treeData,q=y.selectedCaseData,ie=y.caseMap,Z=y.planRecord,ye=N.projects,ge=le.envList,Ie=Q.userList,se=u.Z.useForm(),Ee=b()(se,1),J=Ee[0],Se=(0,$.useState)(null),xe=b()(Se,2),De=xe[0],pe=xe[1],_=function(a){V({type:"testplan/save",payload:a})};(0,$.useEffect)(function(){J.resetFields(),J.setFieldsValue(Z)},[Z]);var Ce=function(){var n=O()(x()().mark(function a(){var d,A;return x()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(d=J.getFieldsValue(["name","env","priority","cron","ordered","case_list","project_id","pass_rate","retry_minutes","msg_type","receiver"]),!Z.id){F.next=7;break}return F.next=4,V({type:"testplan/updateTestPlan",payload:i()(i()({},d),{},{id:Z.id,case_list:d.case_list.map(function(oe){return parseInt(oe.split("_")[1],10)})})});case 4:A=F.sent,F.next=10;break;case 7:return F.next=9,V({type:"testplan/insertTestPlan",payload:i()(i()({},d),{},{case_list:d.case_list.map(function(oe){return parseInt(oe.split("_")[1],10)})})});case 9:A=F.sent;case 10:A&&(_({visible:!1}),K());case 11:case"end":return F.stop()}},a)}));return function(){return n.apply(this,arguments)}}(),r=function(){if(C===0)return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u9879\u76EE",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE"}],name:"project_id",children:(0,e.jsx)(L.Z,{allowClear:!0,showSearch:!0,placeholder:"\u9009\u62E9\u9879\u76EE",filterOption:function(d,A){return A.children.toLowerCase().indexOf(d.toLowerCase())>=0},children:ye.map(function(a){return(0,e.jsx)(re,{value:a.id,children:a.name},a.id)})})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u8BA1\u5212\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u6D4B\u8BD5\u8BA1\u5212\u540D\u79F0"}],name:"name",children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u540D\u79F0"})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u8FD0\u884C\u73AF\u5883",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u8FD0\u884C\u7684\u73AF\u5883, \u652F\u6301\u591A\u9009"}],name:"env",children:(0,e.jsx)(L.Z,{placeholder:"\u8BF7\u9009\u62E9\u8981\u8FD0\u884C\u7684\u73AF\u5883",allowClear:!0,mode:"multiple",children:ge.map(function(a){return(0,e.jsx)(re,{value:a.id,children:a.name},a.id)})})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u4F18\u5148\u7EA7",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u8BA1\u5212\u4F18\u5148\u7EA7"}],name:"priority",children:(0,e.jsx)(L.Z,{placeholder:"\u9009\u62E9\u4F18\u5148\u7EA7",allowClear:!0,children:f.Z.PRIORITY.map(function(a){return(0,e.jsx)(re,{value:a,children:a},a)})})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"cron\u8868\u8FBE\u5F0F",extra:(0,e.jsx)("div",{className:"m-input-footer-msg",children:De||"* cron\u8868\u8FBE\u5F0F\u53EA\u652F\u63015\u4F4D!"}),rules:[{required:!0},function(a){var d=a.getFieldValue;return{validator:function(o,F){if(F===""){pe(null);return}try{var oe=Me().parseExpression(F);return pe("\u4E0B\u6B21\u8FD0\u884C\u65F6\u95F4: ".concat(Ne()(new Date(oe.next())).format("YYYY-MM-DD HH:mm:ss"))),Promise.resolve()}catch(Re){return Promise.reject(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684cron\u8868\u8FBE\u5F0F"))}}}}],name:"cron",children:(0,e.jsx)(M.Z,{placeholder:"\u8BF7\u8F93\u5165\u6267\u884Ccron\u8868\u8FBE\u5F0F"})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u987A\u5E8F\u6267\u884C",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u8BA1\u5212\u662F\u5426\u9700\u8981\u987A\u5E8F\u6267\u884C"}],name:"ordered",children:(0,e.jsxs)(L.Z,{placeholder:"\u662F\u5426\u9700\u8981\u987A\u5E8F\u6267\u884C",allowClear:!0,children:[(0,e.jsx)(re,{value:!1,children:"\u5426"}),(0,e.jsx)(re,{value:!0,children:"\u662F"})]})})})]});if(C===1)return(0,e.jsx)(Te,{dispatch:V,treeData:h,planRecord:Z,form:J,onSave:_,selectedCaseData:q,caseMap:ie,loading:p});if(C===2)return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u5408\u683C\u7387(%)",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u7684\u6700\u4F4E\u901A\u8FC7\u7387"}],name:"pass_rate",children:(0,e.jsx)(te.Z,{placeholder:"\u8BF7\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u7684\u6700\u4F4E\u901A\u8FC7\u7387",style:{width:"100%"},max:100,min:1})})}),(0,e.jsx)(c.Z,{span:12,children:(0,e.jsx)(u.Z.Item,{label:"\u91CD\u8BD5\u7B49\u5F85(min)",rules:[{required:!1}],name:"retry_minutes",children:(0,e.jsx)(te.Z,{placeholder:"\u91CD\u8BD5\u7B49\u5F85\u65F6\u95F4, \u4E0D\u586B\u5219\u4E0D\u91CD\u8BD5",style:{width:"100%"},min:0})})}),(0,e.jsx)(c.Z,{span:24,children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u63A8\u9001\u65B9\u5F0F",rules:[{required:!1,message:"\u8BF7\u9009\u62E9\u63A8\u9001\u65B9\u5F0F"}],name:"msg_type"},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(L.Z,{allowClear:!0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u63A8\u9001\u65B9\u5F0F",mode:"multiple",children:Object.keys(f.Z.MSG_TYPE).map(function(a){return(0,e.jsxs)(re,{value:a,children:[(0,e.jsx)(W.B,{type:f.Z.MSG_ICON[a],style:{fontSize:18}})," ",f.Z.MSG_TYPE[a]]},a)})})}))}),(0,e.jsx)(c.Z,{span:24,children:(0,e.jsx)(u.Z.Item,i()(i()({label:"\u63A8\u9001\u7528\u6237",rules:[{required:!1,message:"\u8BF7\u9009\u62E9\u63A8\u9001\u4EBA\u5458"}],name:"receiver"},f.Z.SQL_LAYOUT),{},{children:(0,e.jsx)(Ae.Z,{users:Ie,mode:"multiple"})}))})]})};return(0,e.jsx)(z.Z,{width:700,open:ue,title:T,style:{marginTop:-40},footer:null,onCancel:function(){_({visible:!1})},children:(0,e.jsxs)(u.Z,i()(i()({form:J},f.Z.SUB_LAYOUT),{},{initialValues:Z,children:[(0,e.jsxs)(de.Z,{current:C,size:"small",children:[(0,e.jsx)(fe,{title:"\u57FA\u7840\u4FE1\u606F",icon:(0,e.jsx)(ne.Z,{})}),(0,e.jsx)(fe,{title:"\u9009\u62E9\u7528\u4F8B",icon:(0,e.jsx)(ae.Z,{})}),(0,e.jsx)(fe,{title:"\u901A\u77E5\u8BBE\u7F6E",icon:(0,e.jsx)(X.Z,{})})]}),(0,e.jsxs)(G.Z,{gutter:[8,8],style:{marginTop:24},children:[r(),(0,e.jsxs)("div",{style:{margin:"24px auto"},children:[C===0?null:(0,e.jsxs)(P.ZP,{style:{marginRight:8},onClick:function(){_({currentStep:C-1})},children:[(0,e.jsx)(W.B,{type:"icon-shangyibu1"})," \u4E0A\u4E00\u6B65"]}),C<2?(0,e.jsxs)(P.ZP,{type:"primary",onClick:function(){J.validateFields().then(function(){_({currentStep:C+1})})},children:[(0,e.jsx)(W.B,{type:"icon--xiayibu"})," \u4E0B\u4E00\u6B65"]}):(0,e.jsxs)(P.ZP,{type:"primary",onClick:Ce,children:[(0,e.jsx)(k.Z,{})," \u4FDD\u5B58"]})]})]})]}))})},Oe=(0,S.connect)(function(I){var l=I.user,Q=I.loading,p=I.project,N=I.testplan,y=I.gconfig;return{user:l,loading:Q,project:p,testplan:N,gconfig:y}})(Be),Pe=t(12554),je=L.Z.Option,ze=function(l){var Q=l.testplan,p=l.dispatch,N=l.loading,y=l.gconfig,V=l.user,le=l.project,K=Q.planData,ue=V.userList,C=V.userMap,T=le.projectsMap,h=le.projects,q=u.Z.useForm(),ie=b()(q,1),Z=ie[0],ye=function(n){return n.state===2?(0,e.jsx)(D.Z,{title:"\u5B9A\u65F6\u4EFB\u52A1\u53EF\u80FD\u6DFB\u52A0\u5931\u8D25, \u8BF7\u5C1D\u8BD5\u91CD\u65B0\u6DFB\u52A0",children:(0,e.jsx)(m.Z,{status:"error",text:"\u51FA\u9519"})}):n.state===3?(0,e.jsx)(D.Z,{title:"\u4EFB\u52A1\u5DF2\u6682\u505C",children:(0,e.jsx)(m.Z,{status:"warning",text:"\u5DF2\u6682\u505C"})}):n.state===1?(0,e.jsx)(D.Z,{title:"\u4EFB\u52A1\u6B63\u5728\u6267\u884C\u4E2D",children:(0,e.jsx)(m.Z,{status:"processing",text:"\u6267\u884C\u4E2D"})}):(0,e.jsx)(D.Z,{title:"\u4E0B\u6B21\u8FD0\u884C\u65F6\u95F4: ".concat(n.next_run),children:(0,e.jsx)(m.Z,{status:"success",text:"\u7B49\u5F85\u4E2D"})})},ge=function(n){p({type:"testplan/save",payload:n})},Ie=function(n){ge({visible:!0,currentStep:0,title:"\u7F16\u8F91\u6D4B\u8BD5\u8BA1\u5212: ".concat(n.name),planRecord:i()(i()({},n),{},{msg_type:n.msg_type===""?[]:n.msg_type.split(","),receiver:n.receiver===""?[]:n.receiver.split(",").map(function(a){return parseInt(a,10)}),env:n.env===""?[]:n.env.split(",").map(function(a){return parseInt(a,10)}),case_list:n.case_list===""?[]:n.case_list.split(",").map(function(a){return"testcase_".concat(a)})})})},se=function(){var n=Z.getFieldsValue();p({type:"testplan/listTestPlan",payload:i()({page:1,size:10},n)})},Ee=function(){var r=O()(x()().mark(function n(a){var d;return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,p({type:"testplan/deleteTestPlan",payload:{id:a}});case 2:d=o.sent,d&&se();case 4:case"end":return o.stop()}},n)}));return function(a){return r.apply(this,arguments)}}(),J=function(n,a){var d=a?"testplan/followTestPlan":"testplan/unFollowTestPlan";p({type:d,payload:{id:n}})},Se=function(){var r=O()(x()().mark(function n(a){var d;return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,p({type:"testplan/executeTestPlan",payload:{id:a}});case 2:d=o.sent;case 3:case"end":return o.stop()}},n)}));return function(a){return r.apply(this,arguments)}}(),xe=[{title:"\u9879\u76EE",key:"project_id",dataIndex:"project_id",render:function(n){return(0,e.jsx)("a",{href:"/#/project/".concat(n),rel:"noreferrer",children:T[n]||"loading"})}},{title:"\u6D4B\u8BD5\u8BA1\u5212",key:"name",dataIndex:"name"},{title:"\u4F18\u5148\u7EA7",key:"priority",dataIndex:"priority",render:function(n){return(0,e.jsx)(j.Z,{color:f.Z.CASE_TAG[n],children:n})}},{title:"cron\u8868\u8FBE\u5F0F",key:"cron",dataIndex:"cron"},{title:"\u987A\u5E8F\u6267\u884C",key:"ordered",dataIndex:"ordered",render:function(n){return n?(0,e.jsx)(j.Z,{color:"blue",children:"\u662F"}):(0,e.jsx)(j.Z,{children:"\u5426"})}},{title:"\u7528\u4F8B\u6570\u91CF",key:"case_list",dataIndex:"case_list",render:function(n){return n.split(",").length}},{title:"\u72B6\u6001",key:"next_run",dataIndex:"next_run",render:function(n,a){return ye(a)}},{title:(0,e.jsxs)("span",{children:["\u662F\u5426\u5173\u6CE8 ",(0,e.jsx)(D.Z,{title:"\u70B9\u51FB\u53EF\u5173\u6CE8\u9879\u76EE\u6570\u636E",children:(0,e.jsx)(ve.Z,{})})]}),key:"follow",dataIndex:"follow",render:function(n,a){return(0,e.jsx)(g.Z,{defaultChecked:n,onChange:function(A){J(a.id,A)}})}},{title:"\u521B\u5EFA\u4EBA",key:"create_user",dataIndex:"create_user",render:function(n){return(0,e.jsx)(Pe.Z,{user:C[n]})}},{title:"\u64CD\u4F5C",key:"ops",render:function(n,a){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){Ie(a)},children:"\u7F16\u8F91"}),(0,e.jsx)(s.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:O()(x()().mark(function d(){return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Se(a.id);case 2:case"end":return o.stop()}},d)})),children:"\u8FD0\u884C"}),(0,e.jsx)(s.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:O()(x()().mark(function d(){return x()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Ee(a.id);case 2:case"end":return o.stop()}},d)})),children:"\u5220\u9664"})]})}}],De=N.effects["testplan/listTestPlan"]||N.effects["project/listProject"]||N.effects["testplan/executeTestPlan"],pe=function(){p({type:"project/listProject"})},_=function(){ue.length===0&&p({type:"user/fetchUserList"})},Ce=function(){p({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}})};return(0,$.useEffect)(function(){Ce(),_(),pe(),se()},[]),(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(H._z,{title:!1,breadcrumb:null,children:[(0,e.jsx)(v.Z,{message:"\u6267\u884C\u6D4B\u8BD5\u8BA1\u5212\u524D\uFF0C\u8BB0\u5F97\u4FEE\u6539\u6D4B\u8BD5\u8BA1\u5212\u63A5\u6536\u4EBA, \u8FD9\u6837\u5C31\u80FD\u6536\u5230\u90AE\u4EF6\u901A\u77E5\u5566\u{1F608}~",style:{marginBottom:16},type:"info",banner:!0,closable:!0}),(0,e.jsxs)(ee.Z,{children:[(0,e.jsx)(Oe,{fetchTestPlan:se}),(0,e.jsx)(u.Z,i()(i()({form:Z},f.Z.LAYOUT),{},{onValuesChange:function(){se()},children:(0,e.jsxs)(G.Z,{gutter:[12,12],children:[(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u9879\u76EE",name:"project_id",children:(0,e.jsx)(L.Z,{allowClear:!0,showSearch:!0,placeholder:"\u9009\u62E9\u9879\u76EE",children:h.map(function(r){return(0,e.jsx)(je,{value:r.id,children:r.name},r.id)})})})}),(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u540D\u79F0",name:"name",children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165\u6D4B\u8BD5\u8BA1\u5212\u540D\u79F0"})})}),(0,e.jsx)(c.Z,{span:4,children:(0,e.jsx)(u.Z.Item,{label:"\u4F18\u5148\u7EA7",name:"priority",children:(0,e.jsx)(L.Z,{placeholder:"\u9009\u62E9\u4F18\u5148\u7EA7",allowClear:!0,children:f.Z.PRIORITY.map(function(r){return(0,e.jsx)(je,{value:r,children:r},r)})})})}),(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u5173\u6CE8",name:"follow",children:(0,e.jsxs)(L.Z,{placeholder:"\u9009\u62E9\u662F\u5426\u5173\u6CE8",allowClear:!0,children:[(0,e.jsx)(je,{value:"true",children:"\u662F"}),(0,e.jsx)(je,{value:"false",children:"\u5426"})]})})}),(0,e.jsx)(c.Z,{span:5,children:(0,e.jsx)(u.Z.Item,{label:"\u521B\u5EFA\u4EBA",name:"create_user",children:(0,e.jsx)(Ae.Z,{users:ue})})})]})})),(0,e.jsx)(G.Z,{style:{marginBottom:12},children:(0,e.jsxs)(P.ZP,{type:"primary",onClick:function(){ge({visible:!0,title:"\u65B0\u589E\u6D4B\u8BD5\u8BA1\u5212",planRecord:{},currentStep:0})},children:[(0,e.jsx)(Le.Z,{})," \u6DFB\u52A0\u8BA1\u5212"]})}),(0,e.jsx)(me.Z,{columns:xe,dataSource:K,rowKey:function(n){return n.id},loading:De})]})]})})},Ue=(0,S.connect)(function(I){var l=I.testplan,Q=I.project,p=I.user,N=I.loading,y=I.gconfig;return{testplan:l,project:Q,loading:N,user:p,gconfig:y}})(ze)},37281:function(){}}]); diff --git a/statics/p__BuildHistory__ReportDetail.183af82c.async.js b/statics/p__BuildHistory__ReportDetail.183af82c.async.js new file mode 100644 index 00000000..54058259 --- /dev/null +++ b/statics/p__BuildHistory__ReportDetail.183af82c.async.js @@ -0,0 +1,398 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7153],{52747:function(C,E,e){"use strict";e.d(E,{Z:function(){return R}});var p=e(1413),d=e(67294),h={icon:function(I,v){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:v}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:I}}]}},name:"alert",theme:"twotone"},Z=h,T=e(84089),j=function(I,v){return d.createElement(T.Z,(0,p.Z)((0,p.Z)({},I),{},{ref:v,icon:Z}))},F=d.forwardRef(j),R=F},8751:function(C,E,e){"use strict";e.d(E,{Z:function(){return R}});var p=e(1413),d=e(67294),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"check-circle",theme:"outlined"},Z=h,T=e(84089),j=function(I,v){return d.createElement(T.Z,(0,p.Z)((0,p.Z)({},I),{},{ref:v,icon:Z}))},F=d.forwardRef(j),R=F},18429:function(C,E,e){"use strict";e.d(E,{Z:function(){return R}});var p=e(1413),d=e(67294),h={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},Z=h,T=e(84089),j=function(I,v){return d.createElement(T.Z,(0,p.Z)((0,p.Z)({},I),{},{ref:v,icon:Z}))},F=d.forwardRef(j),R=F},68991:function(C,E,e){C=e.nmd(C);var p=e(52677).default;ace.define("ace/theme/atom-one-dark",["require","exports","module","ace/lib/dom"],function(d,h,Z){h.isDark=!1,h.cssClass="ace-atom-dark",h.cssText=` +.ace-atom-dark .ace_gutter { + background: #1d1f20; + color: rgb(139,140,137) +} + +.ace-atom-dark .ace_print-margin { + background: #e8e8e8 +} + +.ace-atom-dark { + background-color: #1d1f20; + color: #F8F8F2 +} + +.ace-atom-dark .ace_cursor { + color: #F8F8F0 +} + +.ace-atom-dark .ace_marker-layer .ace_selection { + background: #49483E +} + +.ace-atom-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1d1f20; + border-radius: 2px +} + +.ace-atom-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-atom-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #49483E +} + +.ace-atom-dark .ace_marker-layer .ace_active-line { + background: #49483E +} + +.ace-atom-dark .ace_gutter-active-line { + background-color: #49483E +} + +.ace-atom-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #49483E +} + +.ace-atom-dark .ace_fold { + background-color: #ffd2a7; + border-color: #F8F8F2 +} + +.ace-atom-dark .ace_keyword { + color: #8ecbfe +} + +.ace-atom-dark .ace_constant.ace_language { + color: #AE81FF +} + +.ace-atom-dark .ace_constant.ace_numeric { + color: #ff73fd +} + +.ace-atom-dark .ace_constant.ace_character { + color: #90cc99 +} + +.ace-atom-dark .ace_constant.ace_other { + color: #90cc99 +} + +.ace-atom-dark .ace_support.ace_function { + color: #66D9EF +} + +.ace-atom-dark .ace_support.ace_constant { + color: #66D9EF +} + +.ace-atom-dark .ace_support.ace_class { + color: #f7ffb6 +} + +.ace-atom-dark .ace_support.ace_type { + color: #f7ffb6 +} + +.ace-atom-dark .ace_storage { + color: #F92672 +} + +.ace-atom-dark .ace_storage.ace_type { + font-style: italic; + color: #66D9EF +} + +.ace-atom-dark .ace_string { + color: #9fff60 +} + +.ace-atom-dark .ace_comment { + color: #737c7c +} + +.ace-atom-dark .ace_variable { + color: #c8c5ff +} + +.ace-atom-dark .ace_variable.ace_parameter { + font-style: italic; + color: #c0c5fe +} + +.ace-atom-dark .ace_entity.ace_other.ace_attribute-name { + color: #A6E22E +} + +.ace-atom-dark .ace_entity.ace_name.ace_function { + color: #ffd2a7 +} + +.ace-atom-dark .ace_entity.ace_name.ace_tag { + color: #F92672 +} +`;var T=d("ace/lib/dom");T.importCssString(h.cssText,h.cssClass)}),function(){ace.require(["ace/theme/ace-atom-one-dark"],function(d){p(C)=="object"&&p(E)=="object"&&C&&(C.exports=d)})}()},41612:function(C,E,e){C=e.nmd(C);var p=e(52677).default;ace.define("ace/theme/material-one-dark",["require","exports","module","ace/lib/dom"],function(d,h,Z){h.isDark=!1,h.cssClass="ace-material-one-dark",h.cssText=` +.ace-material-one-dark .ace_gutter { + background: #272B33; + color: rgb(103,111,122) +} + +.ace-material-one-dark .ace_print-margin { + // width: 1px; + background: #e8e8e8 +} + +.ace-material-one-dark { + background-color: #272B33; + color: #A6B2C0 +} + +.ace-material-one-dark .ace_cursor { + color: #528BFF +} + +.ace-material-one-dark .ace_marker-layer .ace_selection { + background: #3D4350 +} + +.ace-material-one-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #272B33; + border-radius: 2px +} + +.ace-material-one-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-material-one-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #747369 +} + +.ace-material-one-dark .ace_marker-layer .ace_active-line { + background: #2B313A +} + +.ace-material-one-dark .ace_gutter-active-line { + background-color: #2B313A +} + +.ace-material-one-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #3D4350 +} + +.ace-material-one-dark .ace_fold { + background-color: #61AEEF; + border-color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword { + color: #C679DD +} + +.ace-material-one-dark .ace_keyword.ace_operator { + color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword.ace_other.ace_unit { + color: #D2945D +} + +.ace-material-one-dark .ace_constant { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_numeric { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_character.ace_escape { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_function { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_class { + color: #E5C17C +} + +.ace-material-one-dark .ace_storage { + color: #C679DD +} + +.ace-material-one-dark .ace_invalid.ace_illegal { + color: #272B33; + background-color: #f2777a +} + +.ace-material-one-dark .ace_invalid.ace_deprecated { + color: #272B33; + background-color: #d27b53 +} + +.ace-material-one-dark .ace_string { + color: #90C378 +} + +.ace-material-one-dark .ace_string.ace_regexp { + color: #57B6C2 +} + +.ace-material-one-dark .ace_comment { + font-style: italic; + color: #59626F +} + +.ace-material-one-dark .ace_variable { + color: #DF6A73 +} + +.ace-material-one-dark .ace_meta.ace_selector { + color: #C679DD +} + +.ace-material-one-dark .ace_entity.ace_other.ace_attribute-name { + color: #D2945D +} + +.ace-material-one-dark .ace_entity.ace_name.ace_function { + color: #61AEEF +} + +.ace-material-one-dark .ace_entity.ace_name.ace_tag { + color: #DF6A73 +} + +.ace-material-one-dark .ace_markup.ace_list { + color: #DF6A73 +} +`;var T=d("ace/lib/dom");T.importCssString(h.cssText,h.cssClass)}),function(){ace.require(["ace/theme/ace-material-one-dark"],function(d){p(C)=="object"&&p(E)=="object"&&C&&(C.exports=d)})}()},84360:function(C,E,e){C=e.nmd(C);var p=e(52677).default;ace.define("ace/theme/vs-dark",["require","exports","module","ace/lib/dom"],function(d,h,Z){h.isDark=!1,h.cssClass="ace-vs-dark",h.cssText=` +.ace-vs-dark .ace_gutter { + background: #1E1E1E; + color: rgb(125,125,125) +} + +.ace-vs-dark .ace_print-margin { + background: #e8e8e8 +} + +.ace-vs-dark { + background-color: #1E1E1E; + color: #DCDCDC +} + +.ace-vs-dark .ace_cursor { + color: #DCDCDC +} + +.ace-vs-dark .ace_marker-layer .ace_selection { + background: #264F78 +} + +.ace-vs-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1E1E1E; + border-radius: 2px +} + +.ace-vs-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-vs-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgba(255, 255, 255, 0.25) +} + +.ace-vs-dark .ace_marker-layer .ace_active-line { + background: #0F0F0F +} + +.ace-vs-dark .ace_gutter-active-line { + background-color: #0F0F0F +} + +.ace-vs-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #264F78 +} + +.ace-vs-dark .ace_fold { + background-color: #DCDCDC; + border-color: #DCDCDC +} + +.ace-vs-dark .ace_keyword { + color: #569CD6 +} + +.ace-vs-dark .ace_constant { + color: #B4CEA8 +} + +.ace-vs-dark .ace_constant.ace_language { + color: #569CD6 +} + +.ace-vs-dark .ace_constant.ace_numeric { + color: #B5CEA8 +} + +.ace-vs-dark .ace_constant.ace_character.ace_escape { + color: #E3BBAB +} + +.ace-vs-dark .ace_support.ace_function { + color: #DCDCDC +} + +.ace-vs-dark .ace_support.ace_constant { + color: #B5CEA8 +} + +.ace-vs-dark .ace_support.ace_class { + color: #DCDCDC +} + +.ace-vs-dark .ace_support.ace_type { + color: #DCDCDC +} + +.ace-vs-dark .ace_storage.ace_type { + color: #569CD6 +} + +.ace-vs-dark .ace_invalid { + color: #ff3333 +} + +.ace-vs-dark .ace_string { + color: #D69D85 +} + +.ace-vs-dark .ace_comment { + color: #608B4E +} + +.ace-vs-dark .ace_variable { + color: #DCDCDC +} + +.ace-vs-dark .ace_meta.ace_tag { + color: #808080 +} + +.ace-vs-dark .ace_entity.ace_other.ace_attribute-name { + color: #92CAF4 +} + +.ace-vs-dark .ace_entity.ace_name.ace_function { + color: #DCDCDC +} + +.ace-vs-dark .ace_entity.ace_name.ace_tag { + color: #569CD6 +} + +.ace-vs-dark .ace_markup.ace_heading { + color: #569CD6 +} + +.ace-vs-dark .ace_markup.ace_list { + color: #DCDCDC +} +`;var T=d("ace/lib/dom");T.importCssString(h.cssText,h.cssClass)}),function(){ace.require(["ace/theme/ace-vs-dark"],function(d){p(C)=="object"&&p(E)=="object"&&C&&(C.exports=d)})}()},26194:function(C,E,e){"use strict";e.d(E,{Z:function(){return b}});var p=e(12444),d=e.n(p),h=e(72004),Z=e.n(h),T=e(31996),j=e.n(T),F=e(26037),R=e.n(F),H=e(67294),I=e(53239),v=e.n(I),K=e(74981),B=e(82679),se=e.n(B),_=e(5619),oe=e.n(_),L=e(41612),je=e.n(L),q=e(90252),a=e.n(q),x=e(85893),b=function(fe){j()(V,fe);var k=R()(V);function V(){return d()(this,V),k.apply(this,arguments)}return Z()(V,[{key:"componentDidMount",value:function(){var m=this;this.props.setEditor(this.refs),(0,B.addCompleter)({getCompletions:function(ae,f,A,$,ye){ye(null,(m.props.tables||[]).map(function(P){return{name:P,value:P}}))}})}},{key:"render",value:function(){var m=this.props,ee=m.value,ae=m.onChange,f=m.height,A=m.readOnly,$=m.theme;return(0,x.jsx)(K.ZP,{ref:"aceEditor",mode:"json",theme:$||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:ae,value:ee,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:f||300},setOptions:{readOnly:A||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!0}})}}]),V}(H.Component)},24315:function(C,E,e){"use strict";e.d(E,{Z:function(){return q}});var p=e(12444),d=e.n(p),h=e(72004),Z=e.n(h),T=e(31996),j=e.n(T),F=e(26037),R=e.n(F),H=e(67294),I=e(74981),v=e(82679),K=e(41612),B=e(68991),se=e(84360),_=e(90252),oe=e(12477),L=e(79253),je=e(85893),q=function(a){j()(b,a);var x=R()(b);function b(){return d()(this,b),x.apply(this,arguments)}return Z()(b,[{key:"componentDidMount",value:function(){var k=this;this.props.setEditor(this.refs),(0,v.addCompleter)({getCompletions:function(ce,m,ee,ae,f){f(null,(k.props.tables||[]).map(function(A){return{name:A,value:A}}))}})}},{key:"render",value:function(){var k=this.props,V=k.value,ce=k.language,m=k.onChange,ee=k.height,ae=k.readOnly,f=k.theme,A=k.useWorker;return(0,je.jsx)(I.ZP,{ref:"aceEditor",mode:ce||"json",theme:f||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:m,value:V,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:ee||300},setOptions:{readOnly:ae||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!1}})}}]),b}(H.Component)},87023:function(C,E,e){"use strict";e.d(E,{Z:function(){return ye}});var p=e(15009),d=e.n(p),h=e(99289),Z=e.n(h),T=e(5574),j=e.n(T),F=e(11941),R=e(40411),H=e(85265),I=e(71230),v=e(26412),K=e(72051),B=e(67294),se=e(42481),_=e(26671),oe=e(9783),L=e.n(oe),je=e(70366),q=e.n(je),a=e(85893),x=60,b={nameFontSize:12,childCountWidth:22,countMarginLeft:0,itemPadding:16,nameMarginLeft:4,rootPadding:18},fe=function(P){var te=P.data,r=P.graph,Ze=P.setGraph,be=P.container_id,ge=be===void 0?"container":be;return(0,B.useEffect)(function(){if(te!==null){q().registerNode("treeNode",{draw:function(y,M){var w=y.id,W=y.label,ie=y.collapsed,de=y.selected,X=y.children,ke=y.depth,Q=ke===0,pe=X&&X.length!==0,ue=b.childCountWidth,t=b.countMarginLeft,Se=b.itemPadding,xe=b.selectedIconWidth,Ce=b.nameMarginLeft,Te=b.rootPadding,S=0,he=28,me=0,n=-he/2,o=M.addShape("text",{attrs:{text:W,x:me*2,y:n,textAlign:"left",textBaseline:"top",fontFamily:"PingFangSC-Regular"},cursor:"pointer",name:"name-text-shape"}),l=o.getBBox().width;S=l+Se+Ce,S=S0&&g[0]!==void 0?g[0]:r.case_id,i=g.length>1&&g[1]!==void 0?g[1]:!0,U.next=4,(0,k.T4)({case_id:l});case 4:u=U.sent,V.Z.response(u)&&(i?M(u.data):(O=Object.keys(r).map(function(G){return u.data}),de(O)));case 6:case"end":return U.stop()}},o)}));return function(){return n.apply(this,arguments)}}(),Te=function(){var n=Z()(d()().mark(function o(){var l,i,u;return d()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(!Ee){g.next=6;break}if(r.case_id===void 0){g.next=4;break}return g.next=4,Ce();case 4:g.next=16;break;case 6:l=0,i=Object.keys(r);case 7:if(!(l1&&arguments[1]!==void 0?arguments[1]:r;if(l[o]===null||l[o]===void 0||l[o]==="{}")return[];var i=JSON.parse(l[o]);return Object.keys(i).map(function(u){return{key:u,value:i[u]}})},he=[{title:"\u65AD\u8A00\u4FE1\u606F",key:"msg",dataIndex:"msg"},{title:"\u72B6\u6001",key:"status",dataIndex:"status",render:function(o){return(0,a.jsx)(R.Z,{status:o?"success":"error",text:o?"\u901A\u8FC7":"\u672A\u901A\u8FC7"})}}],me=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r;if(o.asserts===void 0||!o.asserts)return[];var l=JSON.parse(o.asserts),i=[];return Object.keys(l).forEach(function(u){typeof l[u].msg=="string"?i.push({status:l[u].status,msg:l[u].msg}):l[u].msg.forEach(function(O){i.push({status:l[u].status,msg:O})})}),i};return(0,a.jsx)(H.Z,{title:(0,a.jsxs)("span",{children:["[",(0,a.jsx)("strong",{children:Ze}),"] \u6267\u884C\u8BE6\u60C5"]}),width:be||1e3,open:ge,placement:"right",onClose:function(){return J(!1)},children:(0,a.jsx)(I.Z,{gutter:[8,8],children:Ee?(0,a.jsxs)(F.Z,{style:{width:"100%",minHeight:460},tabPosition:"left",children:[(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,a.jsxs)(v.Z,{column:2,bordered:!0,size:"middle",children:[(0,a.jsx)(v.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,a.jsx)(R.Z,{status:r.status?"success":"error",text:r.status?"\u6210\u529F":"\u5931\u8D25"})}),(0,a.jsx)(v.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:r.request_method}),(0,a.jsx)(v.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,a.jsxs)("span",{style:{color:A[r.status_code]?A[r.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[r.status_code," ",A[r.status_code]?A[r.status_code].text:""]})}),(0,a.jsx)(v.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,a.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,a.jsx)("span",{style:{color:"#67C23A"},children:r.cost})})}),(0,a.jsx)(v.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:r.url}),(0,a.jsx)(v.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:r.request_data?(0,a.jsx)(se.Z,{language:"json",style:_.BV,children:r.request_data}):(0,a.jsx)(ce.Z,{height:120})})]})},"1"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,a.jsx)(K.Z,{columns:he,dataSource:me(),size:"small",pagination:!1})},"3"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,a.jsx)(ae.Z,{language:"html",setEditor:xe,readOnly:!0,value:r.logs,height:"80vh"})},"2"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-header"}),"Request Headers"]}),children:(0,a.jsx)(K.Z,{columns:$,dataSource:S("request_headers"),size:"small",pagination:!1})},"5"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,a.jsx)(K.Z,{columns:$,dataSource:S("cookies"),size:"small",pagination:!1})},"6"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-header"}),"Response Headers"]}),children:(0,a.jsx)(K.Z,{columns:$,dataSource:S("response_headers"),size:"small",pagination:!1})},"7"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-xiangying"}),"Response"]}),children:(0,a.jsx)(ee.Z,{readOnly:!0,setEditor:xe,value:JSON.stringify(((te=r[name])===null||te===void 0?void 0:te.response)||null,null,2),height:"80vh"})},"4"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,a.jsx)("div",{id:"container",children:(0,a.jsx)(fe,{data:y,graph:Q.container,setGraph:pe})})},"8")]}):(0,a.jsx)(F.Z,{style:{width:"100%",minHeight:460},children:Object.keys(r).map(function(n,o){var l,i;return(0,a.jsx)(f,{tab:n,children:(0,a.jsxs)(F.Z,{style:{width:"100%"},tabPosition:"left",children:[(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,a.jsxs)(v.Z,{column:2,bordered:!0,size:"middle",children:[(0,a.jsx)(v.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,a.jsx)(R.Z,{status:r[n].status?"success":"error",text:r[n].status?"\u6210\u529F":"\u5931\u8D25"})}),(0,a.jsx)(v.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:r[n].request_method}),(0,a.jsx)(v.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,a.jsxs)("span",{style:{color:A[r[n].status_code]?A[r[n].status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[r[n].status_code," ",A[r[n].status_code]?A[r[n].status_code].text:""]})}),(0,a.jsx)(v.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,a.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,a.jsx)("span",{style:{color:"#67C23A"},children:r[n].cost})})}),(0,a.jsx)(v.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:r[n].url}),(0,a.jsx)(v.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:r[n].request_data?(0,a.jsx)(se.Z,{language:"json",style:_.BV,children:r[n].request_data}):(0,a.jsx)(ce.Z,{height:120})})]})},"1"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,a.jsx)(K.Z,{columns:he,dataSource:me(r[n]),size:"small",pagination:!1})},"3"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,a.jsx)(ae.Z,{language:"html",setEditor:xe,readOnly:!0,value:(l=r[n])===null||l===void 0?void 0:l.logs,height:"80vh"})},"2"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-header"}),"Request Headers"]}),children:(0,a.jsx)(K.Z,{columns:$,dataSource:S("request_headers",r[n]),size:"small",pagination:!1})},"5"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,a.jsx)(K.Z,{columns:$,dataSource:S("cookies",r[n]),size:"small",pagination:!1})},"6"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-header"}),"Response Headers"]}),children:(0,a.jsx)(K.Z,{columns:$,dataSource:S("response_headers",r[n]),size:"small",pagination:!1})},"7"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-xiangying"}),"Response"]}),children:(0,a.jsx)(ee.Z,{setEditor:xe,readOnly:!0,value:JSON.stringify(((i=r[n])===null||i===void 0?void 0:i.response)||null,null,2),height:"80vh"})},"4"),(0,a.jsx)(f,{tab:(0,a.jsxs)("span",{children:[(0,a.jsx)(m.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,a.jsx)("div",{id:"container_".concat(o),children:(0,a.jsx)(fe,{data:ie[o],graph:Q["container_".concat(o)],setGraph:pe,container_id:"container_".concat(o)})})},"8")]})},o.toString())})})})})}},45073:function(C,E,e){"use strict";e.r(E),e.d(E,{default:function(){return me}});var p=e(15009),d=e.n(p),h=e(99289),Z=e.n(h),T=e(5574),j=e.n(T),F=e(90596),R=e(11941),H=e(66309),I=e(40411),v=e(96074),K=e(75081),B=e(4393),se=e(71230),_=e(15746),oe=e(55054),L=e(26412),je=e(55102),q=e(72051),a=e(58841),x=e(67294),b=e(81869),fe=e(10981),k={bottomCard:"bottomCard___CNrQC",statisticCard:"statisticCard___bTwei","ant-input-affix-wrapper":"ant-input-affix-wrapper___kwfDs",borderSearch:"borderSearch___cSrAH"},V=e(8751),ce=e(18429),m=e(48483),ee=e(30881),ae=e(52747),f=e(1413),A={icon:function(o,l){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z",fill:l}},{tag:"path",attrs:{d:"M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 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 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 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.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 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.1 32.2-19.6 43z",fill:o}}]}},name:"like",theme:"twotone"},$=A,ye=e(84089),P=function(o,l){return x.createElement(ye.Z,(0,f.Z)((0,f.Z)({},o),{},{ref:l,icon:$}))},te=x.forwardRef(P),r=te,Ze={icon:function(o,l){return{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",fill:o}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:l}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:o}}]}},name:"frown",theme:"twotone"},be=Ze,ge=function(o,l){return x.createElement(ye.Z,(0,f.Z)((0,f.Z)({},o),{},{ref:l,icon:be}))},J=x.forwardRef(ge),De=J,Ee=e(40110),le=e(37594),z=e(75574),y=e(59697),M=e(97857),w=e.n(M),W=e(20701),ie=e(11924),de=e(79360),X=e(24770),ke=e(79642),Q=function(n,o){var l={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&o.indexOf(i)<0&&(l[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(n);u0?(0,t.jsx)(H.Z,{icon:(0,t.jsx)(V.Z,{}),color:"success",children:"\u901A\u8FC7"}):(0,t.jsx)(H.Z,{icon:(0,t.jsx)(ce.Z,{}),color:"error",children:"\u672A\u901A\u8FC7"})},ra=function(){aa.length===0&&l({type:"gconfig/fetchEnvList"})},sa=function(){l({type:"user/fetchUserList"})},oa=function(){if(!s.success_count&&!s.failed_count&&!s.error_count)return[];var c=s.success_count+s.failed_count+s.error_count+s.skipped_count;return[{name:"\u6210\u529F",count:s.success_count,percent:y.Z.calPiePercent(s.success_count,c)},{name:"\u5931\u8D25",count:s.failed_count,percent:y.Z.calPiePercent(s.failed_count,c)},{name:"\u9519\u8BEF",count:s.error_count,percent:y.Z.calPiePercent(s.error_count,c)},{name:"\u8DF3\u8FC7",count:s.skipped_count,percent:y.Z.calPiePercent(s.skipped_count,c)}]},ca=function(c){return{case_id:c.case_id,url:c.url,request_method:c.request_method,request_data:c.body,request_headers:c.request_headers,response:c.response,logs:c.case_log,response_headers:c.response_headers,status_code:c.status_code,cookies:c.cookies,asserts:c.asserts,cost:c.cost,status:c.status===0}},fa=function(c){return{case_id:c.case_id,url:c.url,request_method:c.request_method,request_data:c.request_data,request_headers:c.request_headers,response:c.response,logs:c.logs,response_headers:c.response_headers,status_code:c.status_code,cookies:c.cookies,asserts:c.asserts,cost:c.cost,status:c.status}},la=function(c){var D=c.target.value,ve=Xe.filter(function(ne){return ne.data_name.indexOf(D)>-1||ne.case_name.indexOf(D)>-1});We(ve)},ia=!!(i.effects["testcase/retryCase"]||i.effects["gconfig/fetchEnvList"]),da=function(){var N=Z()(d()().mark(function c(){var D;return d()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.next=2,(0,b.h)({id:Y});case 2:D=ne.sent,fe.Z.response(D)&&(Qe(D.data.case_list),We(D.data.case_list),Be(D.data.report),Ne(D.data.plan_name));case 4:case"end":return ne.stop()}},c)}));return function(){return N.apply(this,arguments)}}();(0,x.useEffect)(function(){ra(),sa(),da()},[]);var ua=function(){var N=Z()(d()().mark(function c(D){var ve;return d()().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,l({type:"testcase/retryCase",payload:{env:s.env,case_id:D.case_id,data_id:D.data_id||0}});case 2:ve=re.sent,_e(!0),Ie(D.case_name),Me(ve);case 6:case"end":return re.stop()}},c)}));return function(D){return N.apply(this,arguments)}}(),ha=[{title:"\u7528\u4F8Bid",dataIndex:"case_id",key:"case_id"},{title:"\u7528\u4F8B\u540D\u79F0",dataIndex:"case_name",key:"case_name",render:function(c,D){return(0,t.jsx)("a",{href:"/#/apiTest/testcase/".concat(D.directory_id,"/").concat(D.case_id),children:c})}},{title:"\u6570\u636E\u63CF\u8FF0",dataIndex:"data_name",key:"data_name"},{title:"\u5C1D\u8BD5\u6B21\u6570",dataIndex:"retry",key:"retry"},{title:"\u6267\u884C\u72B6\u6001",dataIndex:"status",key:"status",render:function(c){return(0,t.jsx)(I.Z,{status:z.Z.EXECUTE_BADGE_STATUS[c],text:z.Z.EXECUTE_STATUS[c]})}},{title:"\u8BF7\u6C42\u65B9\u5F0F",dataIndex:"request_method",key:"method",render:function(c){return z.Z.METHOD_TAG[c]}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"start_at",key:"start_at"},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"finished_at",key:"finished_at"},{title:"\u64CD\u4F5C",key:"operation",render:function(c,D){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("a",{onClick:function(){Me(ca(D)),_e(!0),Ie(D.case_name)},children:"\u65E5\u5FD7"}),(0,t.jsx)(v.Z,{type:"vertical"}),(0,t.jsx)("a",{onClick:Z()(d()().mark(function ve(){return d()().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,ua(D);case 2:case"end":return re.stop()}},ve)})),children:"\u91CD\u8BD5"})]})}}];return(0,t.jsxs)(a._z,{title:!1,breadcrumb:null,children:[(0,t.jsx)(Ce.Z,{width:1e3,setModal:_e,modal:Ke,caseName:$e,response:Ve}),(0,t.jsxs)(K.Z,{spinning:ia,children:[(0,t.jsx)(B.Z,{title:"\u6D4B\u8BD5\u62A5\u544A#".concat(Y),children:(0,t.jsxs)(se.Z,{gutter:[8,8],children:[(0,t.jsxs)(_.Z,{span:17,children:[(0,t.jsxs)(se.Z,{gutter:8,children:[(0,t.jsx)(_.Z,{span:4,children:(0,t.jsx)(B.Z,{hoverable:!0,bordered:!1,className:k.statisticCard,children:(0,t.jsx)(oe.Z,{title:"\u7528\u4F8B\u603B\u6570",valueStyle:{marginLeft:8},value:s.failed_count+s.success_count+s.error_count,prefix:(0,t.jsx)(le.B,{type:"icon-yongliliebiao"})})})}),(0,t.jsx)(_.Z,{span:4,children:(0,t.jsx)(B.Z,{hoverable:!0,bordered:!1,className:k.statisticCard,children:(0,t.jsx)(oe.Z,{title:"\u6210\u529F\u6570",value:s.success_count,prefix:(0,t.jsx)(m.Z,{twoToneColor:"rgb(63, 205, 127)"})})})}),(0,t.jsx)(_.Z,{span:4,children:(0,t.jsx)(B.Z,{hoverable:!0,bordered:!1,className:k.statisticCard,children:(0,t.jsx)(oe.Z,{title:"\u5931\u8D25\u6570",valueStyle:{marginLeft:8},value:s.failed_count,prefix:(0,t.jsx)(ee.Z,{twoToneColor:"rgb(230, 98, 97)"})})})}),(0,t.jsx)(_.Z,{span:4,children:(0,t.jsx)(B.Z,{hoverable:!0,bordered:!1,className:k.statisticCard,children:(0,t.jsx)(oe.Z,{title:"\u9519\u8BEF\u6570",valueStyle:{marginLeft:8},value:s.error_count,prefix:(0,t.jsx)(ae.Z,{twoToneColor:"rgb(250, 207, 76)"})})})}),(0,t.jsx)(_.Z,{span:5,children:(0,t.jsx)(B.Z,{hoverable:!0,bordered:!1,className:k.statisticCard,children:(0,t.jsx)(oe.Z,{title:"\u6D4B\u8BD5\u901A\u8FC7\u7387",suffix:"%",value:y.Z.calPercent(s.success_count,s.failed_count+s.success_count+s.error_count),prefix:y.Z.calPercent(s.success_count,s.failed_count+s.success_count+s.error_count)>90?(0,t.jsx)(r,{}):(0,t.jsx)(De,{})})})}),(0,t.jsx)(_.Z,{span:3})]}),(0,t.jsxs)(L.Z,{children:[(0,t.jsx)(L.Z.Item,{label:"\u6D4B\u8BD5\u73AF\u5883",children:(0,t.jsx)(H.Z,{icon:(0,t.jsx)(le.B,{type:"icon-huanjing"}),children:ea[s.env]})}),(0,t.jsx)(L.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:na()}),(0,t.jsx)(L.Z.Item,{label:"\u6267\u884C\u4EBA",children:s.executor===0?"pity\u673A\u5668\u4EBA":(0,t.jsx)(Te.Z,{user:ta[s.executor],size:16})}),(0,t.jsx)(L.Z.Item,{label:"\u6267\u884C\u65B9\u5F0F",children:z.Z.EXECUTE_METHOD[s.mode]}),(0,t.jsx)(L.Z.Item,{label:"\u7528\u4F8B\u8DF3\u8FC7\u6570",children:s.skipped_count}),(0,t.jsx)(L.Z.Item,{label:"\u6D4B\u8BD5\u8BA1\u5212",children:Ue||"\u65E0"}),(0,t.jsx)(L.Z.Item,{label:"\u5F00\u59CB\u65F6\u95F4",children:s.start_at}),(0,t.jsx)(L.Z.Item,{label:"\u7ED3\u675F\u65F6\u95F4",children:s.finished_at}),(0,t.jsx)(L.Z.Item,{label:"\u8017\u65F6",children:parseFloat(s.cost)>60?"".concat(Math.round(parseFloat(s.cost)/60),"\u5206"):s.cost+"\u79D2"})]})]}),(0,t.jsx)(_.Z,{span:7,children:(0,t.jsx)(Se,{height:230,data:oa(),name:"name",value:"percent"})})]})}),(0,t.jsxs)(B.Z,{className:k.bottomCard,title:"\u7528\u4F8B\u5217\u8868",children:[(0,t.jsxs)(se.Z,{gutter:[8,8],children:[(0,t.jsx)(_.Z,{span:18}),(0,t.jsx)(_.Z,{span:6,children:(0,t.jsx)(je.Z,{prefix:(0,t.jsx)(Ee.Z,{}),placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",className:"borderSearch",onPressEnter:la})})]}),(0,t.jsx)(se.Z,{gutter:[8,8],children:(0,t.jsx)(_.Z,{span:24,children:(0,t.jsx)(q.Z,{columns:ha,dataSource:qe,locale:{emptyText:(0,t.jsx)(xe.Z,{height:200})}})})})]})]})]})},me=(0,F.connect)(function(n){var o=n.gconfig,l=n.user,i=n.loading;return{gconfig:o,loading:i,user:l}})(he)}}]); diff --git a/statics/p__BuildHistory__ReportDetail.d8106331.async.js b/statics/p__BuildHistory__ReportDetail.d8106331.async.js deleted file mode 100644 index 897dd7e8..00000000 --- a/statics/p__BuildHistory__ReportDetail.d8106331.async.js +++ /dev/null @@ -1,398 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7153],{52747:function(v,f,e){"use strict";e.d(f,{Z:function(){return L}});var d=e(1413),n=e(67294),s={icon:function(x,S){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:S}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:x}}]}},name:"alert",theme:"twotone"},j=s,C=e(84089),m=function(x,S){return n.createElement(C.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:S,icon:j}))};m.displayName="AlertTwoTone";var L=n.forwardRef(m)},8751:function(v,f,e){"use strict";e.d(f,{Z:function(){return L}});var d=e(1413),n=e(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"check-circle",theme:"outlined"},j=s,C=e(84089),m=function(x,S){return n.createElement(C.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:S,icon:j}))};m.displayName="CheckCircleOutlined";var L=n.forwardRef(m)},48483:function(v,f,e){"use strict";e.d(f,{Z:function(){return L}});var d=e(1413),n=e(67294),s={icon:function(x,S){return{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",fill:x}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:S}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:x}}]}},name:"check-circle",theme:"twotone"},j=s,C=e(84089),m=function(x,S){return n.createElement(C.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:S,icon:j}))};m.displayName="CheckCircleTwoTone";var L=n.forwardRef(m)},18429:function(v,f,e){"use strict";e.d(f,{Z:function(){return L}});var d=e(1413),n=e(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},j=s,C=e(84089),m=function(x,S){return n.createElement(C.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:S,icon:j}))};m.displayName="CloseCircleOutlined";var L=n.forwardRef(m)},30881:function(v,f,e){"use strict";e.d(f,{Z:function(){return L}});var d=e(1413),n=e(67294),s={icon:function(x,S){return{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",fill:x}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:S}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-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 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:x}}]}},name:"close-circle",theme:"twotone"},j=s,C=e(84089),m=function(x,S){return n.createElement(C.Z,(0,d.Z)((0,d.Z)({},x),{},{ref:S,icon:j}))};m.displayName="CloseCircleTwoTone";var L=n.forwardRef(m)},40110:function(v,f,e){"use strict";var d=e(1413),n=e(67294),s=e(509),j=e(84089),C=function(L,I){return n.createElement(j.Z,(0,d.Z)((0,d.Z)({},L),{},{ref:I,icon:s.Z}))};C.displayName="SearchOutlined",f.Z=n.forwardRef(C)},68991:function(v,f,e){v=e.nmd(v);var d=e(52677).default;ace.define("ace/theme/atom-one-dark",["require","exports","module","ace/lib/dom"],function(n,s,j){s.isDark=!1,s.cssClass="ace-atom-dark",s.cssText=` -.ace-atom-dark .ace_gutter { - background: #1d1f20; - color: rgb(139,140,137) -} - -.ace-atom-dark .ace_print-margin { - background: #e8e8e8 -} - -.ace-atom-dark { - background-color: #1d1f20; - color: #F8F8F2 -} - -.ace-atom-dark .ace_cursor { - color: #F8F8F0 -} - -.ace-atom-dark .ace_marker-layer .ace_selection { - background: #49483E -} - -.ace-atom-dark.ace_multiselect .ace_selection.ace_start { - box-shadow: 0 0 3px 0px #1d1f20; - border-radius: 2px -} - -.ace-atom-dark .ace_marker-layer .ace_step { - background: rgb(198, 219, 174) -} - -.ace-atom-dark .ace_marker-layer .ace_bracket { - margin: -1px 0 0 -1px; - border: 1px solid #49483E -} - -.ace-atom-dark .ace_marker-layer .ace_active-line { - background: #49483E -} - -.ace-atom-dark .ace_gutter-active-line { - background-color: #49483E -} - -.ace-atom-dark .ace_marker-layer .ace_selected-word { - border: 1px solid #49483E -} - -.ace-atom-dark .ace_fold { - background-color: #ffd2a7; - border-color: #F8F8F2 -} - -.ace-atom-dark .ace_keyword { - color: #8ecbfe -} - -.ace-atom-dark .ace_constant.ace_language { - color: #AE81FF -} - -.ace-atom-dark .ace_constant.ace_numeric { - color: #ff73fd -} - -.ace-atom-dark .ace_constant.ace_character { - color: #90cc99 -} - -.ace-atom-dark .ace_constant.ace_other { - color: #90cc99 -} - -.ace-atom-dark .ace_support.ace_function { - color: #66D9EF -} - -.ace-atom-dark .ace_support.ace_constant { - color: #66D9EF -} - -.ace-atom-dark .ace_support.ace_class { - color: #f7ffb6 -} - -.ace-atom-dark .ace_support.ace_type { - color: #f7ffb6 -} - -.ace-atom-dark .ace_storage { - color: #F92672 -} - -.ace-atom-dark .ace_storage.ace_type { - font-style: italic; - color: #66D9EF -} - -.ace-atom-dark .ace_string { - color: #9fff60 -} - -.ace-atom-dark .ace_comment { - color: #737c7c -} - -.ace-atom-dark .ace_variable { - color: #c8c5ff -} - -.ace-atom-dark .ace_variable.ace_parameter { - font-style: italic; - color: #c0c5fe -} - -.ace-atom-dark .ace_entity.ace_other.ace_attribute-name { - color: #A6E22E -} - -.ace-atom-dark .ace_entity.ace_name.ace_function { - color: #ffd2a7 -} - -.ace-atom-dark .ace_entity.ace_name.ace_tag { - color: #F92672 -} -`;var C=n("ace/lib/dom");C.importCssString(s.cssText,s.cssClass)}),function(){ace.require(["ace/theme/ace-atom-one-dark"],function(n){d(v)=="object"&&d(f)=="object"&&v&&(v.exports=n)})}()},41612:function(v,f,e){v=e.nmd(v);var d=e(52677).default;ace.define("ace/theme/material-one-dark",["require","exports","module","ace/lib/dom"],function(n,s,j){s.isDark=!1,s.cssClass="ace-material-one-dark",s.cssText=` -.ace-material-one-dark .ace_gutter { - background: #272B33; - color: rgb(103,111,122) -} - -.ace-material-one-dark .ace_print-margin { - // width: 1px; - background: #e8e8e8 -} - -.ace-material-one-dark { - background-color: #272B33; - color: #A6B2C0 -} - -.ace-material-one-dark .ace_cursor { - color: #528BFF -} - -.ace-material-one-dark .ace_marker-layer .ace_selection { - background: #3D4350 -} - -.ace-material-one-dark.ace_multiselect .ace_selection.ace_start { - box-shadow: 0 0 3px 0px #272B33; - border-radius: 2px -} - -.ace-material-one-dark .ace_marker-layer .ace_step { - background: rgb(198, 219, 174) -} - -.ace-material-one-dark .ace_marker-layer .ace_bracket { - margin: -1px 0 0 -1px; - border: 1px solid #747369 -} - -.ace-material-one-dark .ace_marker-layer .ace_active-line { - background: #2B313A -} - -.ace-material-one-dark .ace_gutter-active-line { - background-color: #2B313A -} - -.ace-material-one-dark .ace_marker-layer .ace_selected-word { - border: 1px solid #3D4350 -} - -.ace-material-one-dark .ace_fold { - background-color: #61AEEF; - border-color: #A6B2C0 -} - -.ace-material-one-dark .ace_keyword { - color: #C679DD -} - -.ace-material-one-dark .ace_keyword.ace_operator { - color: #A6B2C0 -} - -.ace-material-one-dark .ace_keyword.ace_other.ace_unit { - color: #D2945D -} - -.ace-material-one-dark .ace_constant { - color: #D2945D -} - -.ace-material-one-dark .ace_constant.ace_numeric { - color: #D2945D -} - -.ace-material-one-dark .ace_constant.ace_character.ace_escape { - color: #57B6C2 -} - -.ace-material-one-dark .ace_support.ace_function { - color: #57B6C2 -} - -.ace-material-one-dark .ace_support.ace_class { - color: #E5C17C -} - -.ace-material-one-dark .ace_storage { - color: #C679DD -} - -.ace-material-one-dark .ace_invalid.ace_illegal { - color: #272B33; - background-color: #f2777a -} - -.ace-material-one-dark .ace_invalid.ace_deprecated { - color: #272B33; - background-color: #d27b53 -} - -.ace-material-one-dark .ace_string { - color: #90C378 -} - -.ace-material-one-dark .ace_string.ace_regexp { - color: #57B6C2 -} - -.ace-material-one-dark .ace_comment { - font-style: italic; - color: #59626F -} - -.ace-material-one-dark .ace_variable { - color: #DF6A73 -} - -.ace-material-one-dark .ace_meta.ace_selector { - color: #C679DD -} - -.ace-material-one-dark .ace_entity.ace_other.ace_attribute-name { - color: #D2945D -} - -.ace-material-one-dark .ace_entity.ace_name.ace_function { - color: #61AEEF -} - -.ace-material-one-dark .ace_entity.ace_name.ace_tag { - color: #DF6A73 -} - -.ace-material-one-dark .ace_markup.ace_list { - color: #DF6A73 -} -`;var C=n("ace/lib/dom");C.importCssString(s.cssText,s.cssClass)}),function(){ace.require(["ace/theme/ace-material-one-dark"],function(n){d(v)=="object"&&d(f)=="object"&&v&&(v.exports=n)})}()},84360:function(v,f,e){v=e.nmd(v);var d=e(52677).default;ace.define("ace/theme/vs-dark",["require","exports","module","ace/lib/dom"],function(n,s,j){s.isDark=!1,s.cssClass="ace-vs-dark",s.cssText=` -.ace-vs-dark .ace_gutter { - background: #1E1E1E; - color: rgb(125,125,125) -} - -.ace-vs-dark .ace_print-margin { - background: #e8e8e8 -} - -.ace-vs-dark { - background-color: #1E1E1E; - color: #DCDCDC -} - -.ace-vs-dark .ace_cursor { - color: #DCDCDC -} - -.ace-vs-dark .ace_marker-layer .ace_selection { - background: #264F78 -} - -.ace-vs-dark.ace_multiselect .ace_selection.ace_start { - box-shadow: 0 0 3px 0px #1E1E1E; - border-radius: 2px -} - -.ace-vs-dark .ace_marker-layer .ace_step { - background: rgb(198, 219, 174) -} - -.ace-vs-dark .ace_marker-layer .ace_bracket { - margin: -1px 0 0 -1px; - border: 1px solid rgba(255, 255, 255, 0.25) -} - -.ace-vs-dark .ace_marker-layer .ace_active-line { - background: #0F0F0F -} - -.ace-vs-dark .ace_gutter-active-line { - background-color: #0F0F0F -} - -.ace-vs-dark .ace_marker-layer .ace_selected-word { - border: 1px solid #264F78 -} - -.ace-vs-dark .ace_fold { - background-color: #DCDCDC; - border-color: #DCDCDC -} - -.ace-vs-dark .ace_keyword { - color: #569CD6 -} - -.ace-vs-dark .ace_constant { - color: #B4CEA8 -} - -.ace-vs-dark .ace_constant.ace_language { - color: #569CD6 -} - -.ace-vs-dark .ace_constant.ace_numeric { - color: #B5CEA8 -} - -.ace-vs-dark .ace_constant.ace_character.ace_escape { - color: #E3BBAB -} - -.ace-vs-dark .ace_support.ace_function { - color: #DCDCDC -} - -.ace-vs-dark .ace_support.ace_constant { - color: #B5CEA8 -} - -.ace-vs-dark .ace_support.ace_class { - color: #DCDCDC -} - -.ace-vs-dark .ace_support.ace_type { - color: #DCDCDC -} - -.ace-vs-dark .ace_storage.ace_type { - color: #569CD6 -} - -.ace-vs-dark .ace_invalid { - color: #ff3333 -} - -.ace-vs-dark .ace_string { - color: #D69D85 -} - -.ace-vs-dark .ace_comment { - color: #608B4E -} - -.ace-vs-dark .ace_variable { - color: #DCDCDC -} - -.ace-vs-dark .ace_meta.ace_tag { - color: #808080 -} - -.ace-vs-dark .ace_entity.ace_other.ace_attribute-name { - color: #92CAF4 -} - -.ace-vs-dark .ace_entity.ace_name.ace_function { - color: #DCDCDC -} - -.ace-vs-dark .ace_entity.ace_name.ace_tag { - color: #569CD6 -} - -.ace-vs-dark .ace_markup.ace_heading { - color: #569CD6 -} - -.ace-vs-dark .ace_markup.ace_list { - color: #DCDCDC -} -`;var C=n("ace/lib/dom");C.importCssString(s.cssText,s.cssClass)}),function(){ace.require(["ace/theme/ace-vs-dark"],function(n){d(v)=="object"&&d(f)=="object"&&v&&(v.exports=n)})}()},75574:function(v,f,e){"use strict";var d=e(53575),n=e(51904),s=e(85893);f.Z={STATUS:{0:(0,s.jsx)(d.Z,{status:"default",text:"\u51C6\u5907\u4E2D"}),1:(0,s.jsx)(d.Z,{status:"processing",text:"\u8FD0\u884C\u4E2D"}),2:(0,s.jsx)(d.Z,{status:"error",text:"\u5DF2\u505C\u6B62"}),3:(0,s.jsx)(d.Z,{status:"success",text:"\u5DF2\u5B8C\u6210"})},EXECUTE_METHOD:{0:"\u624B\u52A8",1:"\u81EA\u52A8",2:"\u6D4B\u8BD5\u8BA1\u5212",3:"PIPELINE",4:"\u5176\u4ED6"},EXECUTE_STATUS:{0:"\u6210\u529F",1:"\u5931\u8D25",2:"\u51FA\u9519",3:"\u8DF3\u8FC7"},EXECUTE_BADGE_STATUS:{0:"success",1:"error",2:"warning",3:"default"},METHOD_TAG:{GET:(0,s.jsx)(n.Z,{color:"success",children:"GET"}),POST:(0,s.jsx)(n.Z,{color:"blue",children:"POST"}),PUT:(0,s.jsx)(n.Z,{color:"purple",children:"PUT"}),DELETE:(0,s.jsx)(n.Z,{color:"red",children:"DELETE"})}}},12554:function(v,f,e){"use strict";e.d(f,{Z:function(){return B}});var d=e(67294),n=e(98293),s=e(83062),j={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},C=e(19478),m=Object.defineProperty,L=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,S=(_,g,k)=>g in _?m(_,g,{enumerable:!0,configurable:!0,writable:!0,value:k}):_[g]=k,b=(_,g)=>{for(var k in g||(g={}))I.call(g,k)&&S(_,k,g[k]);if(L)for(var k of L(g))x.call(g,k)&&S(_,k,g[k]);return _};const H=_=>React.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},_),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var N="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",z=e(85893),B=function(_){var g=_.user,k=_.size,V=k===void 0?24:k,t=_.marginLeft,D=t===void 0?6:t;return g===void 0?(0,z.jsx)(n.C,{size:V,src:N,alt:"avatar"}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(n.C,{size:V,className:j.avatar,src:g.avatar||C.Z.AVATAR_URL,alt:"avatar"}),(0,z.jsx)(s.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:g.deleted_at?(0,z.jsx)("del",{children:(0,z.jsx)("a",{style:{marginLeft:D,fontSize:13,color:"#ccc"},href:"/#/member/".concat(g.id),rel:"noreferrer",children:g.name})}):(0,z.jsx)("a",{onClick:function(ne){ne.stopPropagation()},style:{marginLeft:D,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(g.id),rel:"noreferrer",children:g.name})})]})}},26194:function(v,f,e){"use strict";e.d(f,{Z:function(){return A}});var d=e(12444),n=e.n(d),s=e(72004),j=e.n(s),C=e(31996),m=e.n(C),L=e(26037),I=e.n(L),x=e(67294),S=e(53239),b=e.n(S),H=e(74981),N=e(82679),z=e.n(N),B=e(5619),_=e.n(B),g=e(41612),k=e.n(g),V=e(90252),t=e.n(V),D=e(85893),A=function(ne){m()($,ne);var O=I()($);function $(){return n()(this,$),O.apply(this,arguments)}return j()($,[{key:"componentDidMount",value:function(){var M=this;this.props.setEditor(this.refs),(0,N.addCompleter)({getCompletions:function(se,E,F,te,Me){Me(null,(M.props.tables||[]).map(function(R){return{name:R,value:R}}))}})}},{key:"render",value:function(){var M=this.props,re=M.value,se=M.onChange,E=M.height,F=M.readOnly,te=M.theme;return(0,D.jsx)(H.ZP,{ref:"aceEditor",mode:"json",theme:te||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:se,value:re,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:E||300},setOptions:{readOnly:F||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!0}})}}]),$}(x.Component)},24315:function(v,f,e){"use strict";e.d(f,{Z:function(){return V}});var d=e(12444),n=e.n(d),s=e(72004),j=e.n(s),C=e(31996),m=e.n(C),L=e(26037),I=e.n(L),x=e(67294),S=e(74981),b=e(82679),H=e(41612),N=e(68991),z=e(84360),B=e(90252),_=e(12477),g=e(79253),k=e(85893),V=function(t){m()(A,t);var D=I()(A);function A(){return n()(this,A),D.apply(this,arguments)}return j()(A,[{key:"componentDidMount",value:function(){var O=this;this.props.setEditor(this.refs),(0,b.addCompleter)({getCompletions:function(de,M,re,se,E){E(null,(O.props.tables||[]).map(function(F){return{name:F,value:F}}))}})}},{key:"render",value:function(){var O=this.props,$=O.value,de=O.language,M=O.onChange,re=O.height,se=O.readOnly,E=O.theme,F=O.useWorker;return(0,k.jsx)(S.ZP,{ref:"aceEditor",mode:de||"json",theme:E||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:M,value:$,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:re||300},setOptions:{readOnly:se||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!1}})}}]),A}(x.Component)},37594:function(v,f,e){"use strict";e.d(f,{B:function(){return s}});var d=e(91321),n="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",s=(0,d.Z)({scriptUrl:n})},22763:function(v,f,e){"use strict";var d=e(32983),n=e(82759),s=e(85893);f.Z=function(j){var C=j.desc,m=j.height,L=m===void 0?180:m,I=j.image,x=I===void 0?n.Z:I;return(0,s.jsx)(d.Z,{image:x,imageStyle:{height:L},description:C||"\u6682\u65E0\u6570\u636E"})}},87023:function(v,f,e){"use strict";e.d(f,{Z:function(){return Me}});var d=e(15009),n=e.n(d),s=e(99289),j=e.n(s),C=e(5574),m=e.n(C),L=e(93980),I=e(53575),x=e(85265),S=e(71230),b=e(27511),H=e(64240),N=e(67294),z=e(42481),B=e(26671),_=e(9783),g=e.n(_),k=e(70366),V=e.n(k),t=e(85893),D=60,A={nameFontSize:12,childCountWidth:22,countMarginLeft:0,itemPadding:16,nameMarginLeft:4,rootPadding:18},ne=function(R){var c=R.data,J=R.graph,De=R.setGraph,pe=R.container_id,Ce=pe===void 0?"container":pe;return(0,N.useEffect)(function(){if(c!==null){V().registerNode("treeNode",{draw:function(U,W){var Y=U.id,Q=U.label,he=U.collapsed,me=U.selected,ee=U.children,Ee=U.depth,ae=Ee===0,a=ee&&ee.length!==0,oe=A.childCountWidth,Ie=A.countMarginLeft,ve=A.itemPadding,Te=A.selectedIconWidth,Se=A.nameMarginLeft,le=A.rootPadding,w=0,h=28,r=0,o=-h/2,u=W.addShape("text",{attrs:{text:Q,x:r*2,y:o,textAlign:"left",textBaseline:"top",fontFamily:"PingFangSC-Regular"},cursor:"pointer",name:"name-text-shape"}),y=u.getBBox().width;w=y+ve+Se,w=w0&&p[0]!==void 0?p[0]:c.case_id,y=p.length>1&&p[1]!==void 0?p[1]:!0,P.next=4,(0,O.T4)({case_id:u});case 4:T=P.sent,$.Z.response(T)&&(y?U(T.data):(X=Object.keys(c).map(function(l){return T.data}),he(X)));case 6:case"end":return P.stop()}},o)}));return function(){return r.apply(this,arguments)}}(),Se=function(){var r=j()(n()().mark(function o(){var u,y,T;return n()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(!ye){p.next=6;break}if(c.case_id===void 0){p.next=4;break}return p.next=4,Te();case 4:p.next=16;break;case 6:u=0,y=Object.keys(c);case 7:if(!(u1&&arguments[1]!==void 0?arguments[1]:c;if(u[o]===null||u[o]===void 0||u[o]==="{}")return[];var y=JSON.parse(u[o]);return Object.keys(y).map(function(T){return{key:T,value:y[T]}})},w=[{title:"\u65AD\u8A00\u4FE1\u606F",key:"msg",dataIndex:"msg"},{title:"\u72B6\u6001",key:"status",dataIndex:"status",render:function(o){return(0,t.jsx)(I.Z,{status:o?"success":"error",text:o?"\u901A\u8FC7":"\u672A\u901A\u8FC7"})}}],h=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c;if(o.asserts===void 0||!o.asserts)return[];var u=JSON.parse(o.asserts),y=[];return Object.keys(u).forEach(function(T){typeof u[T].msg=="string"?y.push({status:u[T].status,msg:u[T].msg}):u[T].msg.forEach(function(X){y.push({status:u[T].status,msg:X})})}),y};return(0,t.jsx)(x.Z,{title:(0,t.jsxs)("span",{children:["[",(0,t.jsx)("strong",{children:J}),"] \u6267\u884C\u8BE6\u60C5"]}),width:De||1e3,open:pe,placement:"right",onClose:function(){return Ce(!1)},children:(0,t.jsx)(S.Z,{gutter:[8,8],children:ye?(0,t.jsxs)(L.Z,{style:{width:"100%",minHeight:460},tabPosition:"left",children:[(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,t.jsxs)(b.Z,{column:2,bordered:!0,size:"middle",children:[(0,t.jsx)(b.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,t.jsx)(I.Z,{status:c.status?"success":"error",text:c.status?"\u6210\u529F":"\u5931\u8D25"})}),(0,t.jsx)(b.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:c.request_method}),(0,t.jsx)(b.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,t.jsxs)("span",{style:{color:F[c.status_code]?F[c.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[c.status_code," ",F[c.status_code]?F[c.status_code].text:""]})}),(0,t.jsx)(b.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,t.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,t.jsx)("span",{style:{color:"#67C23A"},children:c.cost})})}),(0,t.jsx)(b.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:c.url}),(0,t.jsx)(b.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:c.request_data?(0,t.jsx)(z.Z,{language:"json",style:B.BV,children:c.request_data}):(0,t.jsx)(de.Z,{height:120})})]})},"1"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,t.jsx)(H.Z,{columns:w,dataSource:h(),size:"small",pagination:!1})},"3"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,t.jsx)(se.Z,{language:"html",setEditor:ve,readOnly:!0,value:c.logs,height:"80vh"})},"2"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-header"}),"Request Headers"]}),children:(0,t.jsx)(H.Z,{columns:te,dataSource:le("request_headers"),size:"small",pagination:!1})},"5"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,t.jsx)(H.Z,{columns:te,dataSource:le("cookies"),size:"small",pagination:!1})},"6"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-header"}),"Response Headers"]}),children:(0,t.jsx)(H.Z,{columns:te,dataSource:le("response_headers"),size:"small",pagination:!1})},"7"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-xiangying"}),"Response"]}),children:(0,t.jsx)(re.Z,{readOnly:!0,setEditor:ve,value:c.response?c.response:"",height:"80vh"})},"4"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,t.jsx)("div",{id:"container",children:(0,t.jsx)(ne,{data:ce,graph:Ee.container,setGraph:ae})})},"8")]}):(0,t.jsx)(L.Z,{style:{width:"100%",minHeight:460},children:Object.keys(c).map(function(r,o){var u;return(0,t.jsx)(E,{tab:r,children:(0,t.jsxs)(L.Z,{style:{width:"100%"},tabPosition:"left",children:[(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-yongliliebiao"}),"\u57FA\u672C\u4FE1\u606F"]}),children:(0,t.jsxs)(b.Z,{column:2,bordered:!0,size:"middle",children:[(0,t.jsx)(b.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:(0,t.jsx)(I.Z,{status:c[r].status?"success":"error",text:c[r].status?"\u6210\u529F":"\u5931\u8D25"})}),(0,t.jsx)(b.Z.Item,{label:"\u8BF7\u6C42\u65B9\u5F0F",children:c[r].request_method}),(0,t.jsx)(b.Z.Item,{label:"HTTP\u72B6\u6001\u7801",children:(0,t.jsxs)("span",{style:{color:F[c[r].status_code]?F[c[r].status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[c[r].status_code," ",F[c[r].status_code]?F[c[r].status_code].text:""]})}),(0,t.jsx)(b.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",children:(0,t.jsx)("span",{style:{marginLeft:8,marginRight:8},children:(0,t.jsx)("span",{style:{color:"#67C23A"},children:c[r].cost})})}),(0,t.jsx)(b.Z.Item,{label:"\u8BF7\u6C42url",span:2,children:c[r].url}),(0,t.jsx)(b.Z.Item,{label:"\u8BF7\u6C42body",span:2,children:c[r].request_data?(0,t.jsx)(z.Z,{language:"json",style:B.BV,children:c[r].request_data}):(0,t.jsx)(de.Z,{height:120})})]})},"1"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-duanyan"}),"\u65AD\u8A00"]}),children:(0,t.jsx)(H.Z,{columns:w,dataSource:h(c[r]),size:"small",pagination:!1})},"3"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-rizhi"}),"\u6267\u884C\u65E5\u5FD7"]}),children:(0,t.jsx)(se.Z,{language:"html",setEditor:ve,readOnly:!0,value:(u=c[r])===null||u===void 0?void 0:u.logs,height:"80vh"})},"2"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-header"}),"Request Headers"]}),children:(0,t.jsx)(H.Z,{columns:te,dataSource:le("request_headers",c[r]),size:"small",pagination:!1})},"5"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-cookies-1"}),"Cookie"]}),children:(0,t.jsx)(H.Z,{columns:te,dataSource:le("cookies",c[r]),size:"small",pagination:!1})},"6"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-header"}),"Response Headers"]}),children:(0,t.jsx)(H.Z,{columns:te,dataSource:le("response_headers",c[r]),size:"small",pagination:!1})},"7"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-xiangying"}),"Response"]}),children:(0,t.jsx)(re.Z,{setEditor:ve,readOnly:!0,value:c[r].response?c[r].response:"",height:"80vh"})},"4"),(0,t.jsx)(E,{tab:(0,t.jsxs)("span",{children:[(0,t.jsx)(M.B,{type:"icon-tounaofengbao"}),"\u8111\u56FE"]}),children:(0,t.jsx)("div",{id:"container_".concat(o),children:(0,t.jsx)(ne,{data:Q[o],graph:Ee["container_".concat(o)],setGraph:ae,container_id:"container_".concat(o)})})},"8")]})},o.toString())})})})})}},45073:function(v,f,e){"use strict";e.r(f),e.d(f,{default:function(){return w}});var d=e(15009),n=e.n(d),s=e(99289),j=e.n(s),C=e(5574),m=e.n(C),L=e(94171),I=e(93980),x=e(51904),S=e(53575),b=e(96074),H=e(75081),N=e(4393),z=e(71230),B=e(15746),_=e(55054),g=e(27511),k=e(96365),V=e(64240),t=e(58841),D=e(67294),A=e(81869),ne=e(10981),O={bottomCard:"bottomCard___CNrQC",statisticCard:"statisticCard___bTwei","ant-input-affix-wrapper":"ant-input-affix-wrapper___kwfDs",borderSearch:"borderSearch___cSrAH"},$=e(8751),de=e(18429),M=e(48483),re=e(30881),se=e(52747),E=e(1413),F={icon:function(r,o){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z",fill:o}},{tag:"path",attrs:{d:"M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 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 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 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.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 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.1 32.2-19.6 43z",fill:r}}]}},name:"like",theme:"twotone"},te=F,Me=e(84089),R=function(r,o){return D.createElement(Me.Z,(0,E.Z)((0,E.Z)({},r),{},{ref:o,icon:te}))};R.displayName="LikeTwoTone";var c=D.forwardRef(R),J={icon:function(r,o){return{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",fill:r}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:o}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:r}}]}},name:"frown",theme:"twotone"},De=J,pe=function(r,o){return D.createElement(Me.Z,(0,E.Z)((0,E.Z)({},r),{},{ref:o,icon:De}))};pe.displayName="FrownTwoTone";var Ce=D.forwardRef(pe),q=e(40110),ye=e(37594),fe=e(75574),G=e(59697),ce=e(97857),U=e.n(ce),W=e(42314),Y=e(11924),Q=e(79360),he=e(24770),me=e(79642),ee=function(h,r){var o={};for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&r.indexOf(u)<0&&(o[u]=h[u]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,u=Object.getOwnPropertySymbols(h);y0?(0,a.jsx)(x.Z,{icon:(0,a.jsx)($.Z,{}),color:"success",children:"\u901A\u8FC7"}):(0,a.jsx)(x.Z,{icon:(0,a.jsx)(de.Z,{}),color:"error",children:"\u672A\u901A\u8FC7"})},at=function(){qe.length===0&&o({type:"gconfig/fetchEnvList"})},nt=function(){o({type:"user/fetchUserList"})},rt=function(){if(!l.success_count&&!l.failed_count&&!l.error_count)return[];var i=l.success_count+l.failed_count+l.error_count+l.skipped_count;return[{name:"\u6210\u529F",count:l.success_count,percent:G.Z.calPiePercent(l.success_count,i)},{name:"\u5931\u8D25",count:l.failed_count,percent:G.Z.calPiePercent(l.failed_count,i)},{name:"\u9519\u8BEF",count:l.error_count,percent:G.Z.calPiePercent(l.error_count,i)},{name:"\u8DF3\u8FC7",count:l.skipped_count,percent:G.Z.calPiePercent(l.skipped_count,i)}]},st=function(i){return{case_id:i.case_id,url:i.url,request_method:i.request_method,request_data:i.body,request_headers:i.request_headers,response:i.response,logs:i.case_log,response_headers:i.response_headers,status_code:i.status_code,cookies:i.cookies,asserts:i.asserts,cost:i.cost,status:i.status===0}},ht=function(i){return{case_id:i.case_id,url:i.url,request_method:i.request_method,request_data:i.request_data,request_headers:i.request_headers,response:i.response,logs:i.logs,response_headers:i.response_headers,status_code:i.status_code,cookies:i.cookies,asserts:i.asserts,cost:i.cost,status:i.status}},ct=function(i){var Z=i.target.value,xe=Ye.filter(function(ie){return ie.data_name.indexOf(Z)>-1||ie.case_name.indexOf(Z)>-1});ze(xe)},ot=!!(u.effects["testcase/retryCase"]||u.effects["gconfig/fetchEnvList"]),lt=function(){var K=j()(n()().mark(function i(){var Z;return n()().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:return ie.next=2,(0,A.h)({id:p});case 2:Z=ie.sent,ne.Z.response(Z)&&(Qe(Z.data.case_list),ze(Z.data.case_list),je(Z.data.report),Re(Z.data.plan_name));case 4:case"end":return ie.stop()}},i)}));return function(){return K.apply(this,arguments)}}();(0,D.useEffect)(function(){at(),nt(),lt()},[]);var it=function(){var K=j()(n()().mark(function i(Z){var xe;return n()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,o({type:"testcase/retryCase",payload:{env:l.env,case_id:Z.case_id,data_id:Z.data_id||0}});case 2:xe=ue.sent,_e(!0),Oe(Z.case_name),Ne(xe);case 6:case"end":return ue.stop()}},i)}));return function(Z){return K.apply(this,arguments)}}(),ut=[{title:"\u7528\u4F8Bid",dataIndex:"case_id",key:"case_id"},{title:"\u7528\u4F8B\u540D\u79F0",dataIndex:"case_name",key:"case_name",render:function(i,Z){return(0,a.jsx)("a",{href:"/#/apiTest/testcase/".concat(Z.directory_id,"/").concat(Z.case_id),children:i})}},{title:"\u6570\u636E\u63CF\u8FF0",dataIndex:"data_name",key:"data_name"},{title:"\u5C1D\u8BD5\u6B21\u6570",dataIndex:"retry",key:"retry"},{title:"\u6267\u884C\u72B6\u6001",dataIndex:"status",key:"status",render:function(i){return(0,a.jsx)(S.Z,{status:fe.Z.EXECUTE_BADGE_STATUS[i],text:fe.Z.EXECUTE_STATUS[i]})}},{title:"\u8BF7\u6C42\u65B9\u5F0F",dataIndex:"request_method",key:"method",render:function(i){return fe.Z.METHOD_TAG[i]}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"start_at",key:"start_at"},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"finished_at",key:"finished_at"},{title:"\u64CD\u4F5C",key:"operation",render:function(i,Z){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{onClick:function(){Ne(st(Z)),_e(!0),Oe(Z.case_name)},children:"\u65E5\u5FD7"}),(0,a.jsx)(b.Z,{type:"vertical"}),(0,a.jsx)("a",{onClick:j()(n()().mark(function xe(){return n()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,it(Z);case 2:case"end":return ue.stop()}},xe)})),children:"\u91CD\u8BD5"})]})}}];return(0,a.jsxs)(t._z,{title:!1,breadcrumb:null,children:[(0,a.jsx)(ve.Z,{width:1e3,setModal:_e,modal:We,caseName:Ke,response:He}),(0,a.jsxs)(H.Z,{spinning:ot,children:[(0,a.jsx)(N.Z,{title:"\u6D4B\u8BD5\u62A5\u544A#".concat(p),children:(0,a.jsxs)(z.Z,{gutter:[8,8],children:[(0,a.jsxs)(B.Z,{span:17,children:[(0,a.jsxs)(z.Z,{gutter:8,children:[(0,a.jsx)(B.Z,{span:4,children:(0,a.jsx)(N.Z,{hoverable:!0,bordered:!1,className:O.statisticCard,children:(0,a.jsx)(_.Z,{title:"\u7528\u4F8B\u603B\u6570",valueStyle:{marginLeft:8},value:l.failed_count+l.success_count+l.error_count,prefix:(0,a.jsx)(ye.B,{type:"icon-yongliliebiao"})})})}),(0,a.jsx)(B.Z,{span:4,children:(0,a.jsx)(N.Z,{hoverable:!0,bordered:!1,className:O.statisticCard,children:(0,a.jsx)(_.Z,{title:"\u6210\u529F\u6570",value:l.success_count,prefix:(0,a.jsx)(M.Z,{twoToneColor:"rgb(63, 205, 127)"})})})}),(0,a.jsx)(B.Z,{span:4,children:(0,a.jsx)(N.Z,{hoverable:!0,bordered:!1,className:O.statisticCard,children:(0,a.jsx)(_.Z,{title:"\u5931\u8D25\u6570",valueStyle:{marginLeft:8},value:l.failed_count,prefix:(0,a.jsx)(re.Z,{twoToneColor:"rgb(230, 98, 97)"})})})}),(0,a.jsx)(B.Z,{span:4,children:(0,a.jsx)(N.Z,{hoverable:!0,bordered:!1,className:O.statisticCard,children:(0,a.jsx)(_.Z,{title:"\u9519\u8BEF\u6570",valueStyle:{marginLeft:8},value:l.error_count,prefix:(0,a.jsx)(se.Z,{twoToneColor:"rgb(250, 207, 76)"})})})}),(0,a.jsx)(B.Z,{span:5,children:(0,a.jsx)(N.Z,{hoverable:!0,bordered:!1,className:O.statisticCard,children:(0,a.jsx)(_.Z,{title:"\u6D4B\u8BD5\u901A\u8FC7\u7387",suffix:"%",value:G.Z.calPercent(l.success_count,l.failed_count+l.success_count+l.error_count),prefix:G.Z.calPercent(l.success_count,l.failed_count+l.success_count+l.error_count)>90?(0,a.jsx)(c,{}):(0,a.jsx)(Ce,{})})})}),(0,a.jsx)(B.Z,{span:3})]}),(0,a.jsxs)(g.Z,{children:[(0,a.jsx)(g.Z.Item,{label:"\u6D4B\u8BD5\u73AF\u5883",children:(0,a.jsx)(x.Z,{icon:(0,a.jsx)(ye.B,{type:"icon-huanjing"}),children:Je[l.env]})}),(0,a.jsx)(g.Z.Item,{label:"\u6D4B\u8BD5\u7ED3\u679C",children:tt()}),(0,a.jsx)(g.Z.Item,{label:"\u6267\u884C\u4EBA",children:l.executor===0?"pity\u673A\u5668\u4EBA":(0,a.jsx)(Te.Z,{user:et[l.executor],size:16})}),(0,a.jsx)(g.Z.Item,{label:"\u6267\u884C\u65B9\u5F0F",children:fe.Z.EXECUTE_METHOD[l.mode]}),(0,a.jsx)(g.Z.Item,{label:"\u7528\u4F8B\u8DF3\u8FC7\u6570",children:l.skipped_count}),(0,a.jsx)(g.Z.Item,{label:"\u6D4B\u8BD5\u8BA1\u5212",children:Fe||"\u65E0"}),(0,a.jsx)(g.Z.Item,{label:"\u5F00\u59CB\u65F6\u95F4",children:l.start_at}),(0,a.jsx)(g.Z.Item,{label:"\u7ED3\u675F\u65F6\u95F4",children:l.finished_at}),(0,a.jsx)(g.Z.Item,{label:"\u8017\u65F6",children:parseFloat(l.cost)>60?"".concat(Math.round(parseFloat(l.cost)/60),"\u5206"):l.cost+"\u79D2"})]})]}),(0,a.jsx)(B.Z,{span:7,children:(0,a.jsx)(oe,{height:230,data:rt(),name:"name",value:"percent"})})]})}),(0,a.jsxs)(N.Z,{className:O.bottomCard,title:"\u7528\u4F8B\u5217\u8868",children:[(0,a.jsxs)(z.Z,{gutter:[8,8],children:[(0,a.jsx)(B.Z,{span:18}),(0,a.jsx)(B.Z,{span:6,children:(0,a.jsx)(k.Z,{prefix:(0,a.jsx)(q.Z,{}),placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",className:"borderSearch",onPressEnter:ct})})]}),(0,a.jsx)(z.Z,{gutter:[8,8],children:(0,a.jsx)(B.Z,{span:24,children:(0,a.jsx)(V.Z,{columns:ut,dataSource:$e,locale:{emptyText:(0,a.jsx)(Ie.Z,{height:200})}})})})]})]})]})},w=(0,L.connect)(function(h){var r=h.gconfig,o=h.user,u=h.loading;return{gconfig:r,loading:u,user:o}})(le)}}]); diff --git a/statics/p__BuildHistory__ReportList.ab2c3da1.async.js b/statics/p__BuildHistory__ReportList.ab2c3da1.async.js new file mode 100644 index 00000000..cf703e92 --- /dev/null +++ b/statics/p__BuildHistory__ReportList.ab2c3da1.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6482],{63100:function(w,D,t){var i=t(67294),O=t(61607);D.Z=(0,O.a1)("send",!0,function(f){return i.createElement("svg",{width:f.size,height:f.size,viewBox:"0 0 48 48",fill:"none"},i.createElement("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:f.colors[0],strokeWidth:f.strokeWidth,strokeLinejoin:f.strokeLinejoin}),i.createElement("path",{d:"M43.0001 5L22.1001 25.9",stroke:f.colors[0],strokeWidth:f.strokeWidth,strokeLinecap:f.strokeLinecap,strokeLinejoin:f.strokeLinejoin}))})},99612:function(w,D,t){t.d(D,{e5:function(){return $},mi:function(){return F},dh:function(){return P},XN:function(){return B}});var i=t(63100),O=t(97857),f=t.n(O),W=t(37594),c=t(85893),E=function(h){var S=h.icon,b=h.text,I=h.font,L=I===void 0?13:I,K=h.style,N=h.onClick,H=h.back,Y=H===void 0?!0:H;return Y?(0,c.jsxs)("span",{onClick:N,style:f()({},K),children:[(0,c.jsx)(W.B,{type:S,style:{fontSize:L}})," ",b]}):(0,c.jsxs)("span",{onClick:N,style:f()({},K),children:[b," ",(0,c.jsx)(W.B,{style:{fontSize:L},type:S})]})},k=t(67294),g=t(66309),B={1:(0,c.jsxs)("span",{children:[(0,c.jsx)(i.Z,{theme:"outline",size:"14",fill:"#7ed321"})," HTTP"]}),2:(0,c.jsx)(E,{font:14,icon:"icon-GRPC",text:"GRPC"}),3:(0,c.jsx)(E,{font:14,icon:"icon-a-dubbo1",text:"Dubbo"})},M={1:(0,c.jsx)(g.Z,{color:"success",children:"HTTP"}),2:(0,c.jsx)(g.Z,{color:"orange",children:"GRPC"}),3:(0,c.jsx)(g.Z,{color:"blue",children:"DUBBO"})},P={GET:(0,c.jsx)(g.Z,{color:"success",children:"GET"}),POST:(0,c.jsx)(g.Z,{color:"blue",children:"POST"}),PUT:(0,c.jsx)(g.Z,{color:"cyan",children:"PUT"}),DELETE:(0,c.jsx)(g.Z,{color:"error",children:"DELETE"})},F={0:(0,c.jsx)(g.Z,{children:"\u666E\u901A"}),1:(0,c.jsx)(g.Z,{color:"blue",children:"\u6D4B\u8BD5\u8BA1\u5212"}),2:(0,c.jsx)(g.Z,{color:"success",children:"CI"}),3:(0,c.jsx)(g.Z,{children:"\u5176\u4ED6"})},$={0:(0,c.jsx)(g.Z,{color:"success",style:{marginLeft:8},children:"\u666E\u901A"}),1:(0,c.jsx)(g.Z,{color:"blue",style:{marginLeft:8},children:"\u524D\u7F6E"}),2:(0,c.jsx)(g.Z,{color:"warning",style:{marginLeft:8},children:"\u6570\u636E\u5DE5\u5382"})}},91899:function(w,D,t){t.r(D);var i=t(97857),O=t.n(i),f=t(5574),W=t.n(f),c=t(30381),E=t.n(c),k=t(58841),g=t(47676),B=t(34041),M=t(8232),P=t(66309),F=t(4393),$=t(71230),h=t(15746),S=t(14726),b=t(72051),I=t(48483),L=t(30881),K=t(40110),N=t(43471),H=t(22763),Y=t(90596),q=t(67294),ee=t(75574),re=t(19478),R=t(12554),G=t(37594),te=t(99612),o=t(85893),Q=g.Z.RangePicker,X=B.Z.Option,e=function(a){var n=a.user,r=a.report,v=a.loading,u=a.dispatch,T=M.Z.useForm(),y=W()(T,1),j=y[0],_=n.userMap,A=r.reportData,C=r.pagination;(0,q.useEffect)(function(){u({type:"user/fetchUserList"}),Z()},[C.current]);var V=[{title:"\u6784\u5EFAid",dataIndex:"id",key:"id",fixed:"left",render:function(l,m){return m.failed_count===0&&m.error_count===0&&m.success_count>0?(0,o.jsxs)("span",{children:[(0,o.jsx)(I.Z,{twoToneColor:"#52c41a",style:{fontSize:13}})," #",(0,o.jsx)("a",{href:"/#/record/report/".concat(m.id),children:l})]}):(0,o.jsxs)("span",{children:[(0,o.jsx)(L.Z,{twoToneColor:"#eb2f96",style:{fontSize:13}})," #",(0,o.jsx)("a",{href:"/#/record/report/".concat(m.id),children:l})]})}},{title:"\u7C7B\u578B",dataIndex:"mode",key:"mode",fixed:"left",render:function(l){return te.mi[l]}},{title:"\u6267\u884C\u4EBA",dataIndex:"executor",key:"executor",fixed:"left",render:function(l){return l===0?(0,o.jsxs)("span",{children:[(0,o.jsx)(G.B,{style:{fontSize:20},type:"icon-a-jiqirenrengongzhineng"})," pity\u673A\u5668\u4EBA"]}):(0,o.jsx)(R.Z,{user:_[l]})}},{title:"\u603B\u6570",key:"total",render:function(l,m){return(0,o.jsxs)(P.Z,{children:[" ",m.success_count+m.failed_count+m.skipped_count+m.error_count," "]})}},{title:"\u6210\u529F \u2714",dataIndex:"success_count",key:"success_count",render:function(l){return(0,o.jsxs)(P.Z,{color:"success",children:[" ",l," "]})}},{title:"\u5931\u8D25 \u274C",dataIndex:"failed_count",key:"failed_count",render:function(l){return(0,o.jsxs)(P.Z,{color:"error",children:[" ",l," "]})}},{title:"\u51FA\u9519 \u26A0",dataIndex:"error_count",key:"error_count",render:function(l){return(0,o.jsxs)(P.Z,{color:"warning",children:[" ",l," "]})}},{title:"\u8DF3\u8FC7 \u{1F389}",dataIndex:"skipped_count",key:"skipped_count",render:function(l){return(0,o.jsxs)(P.Z,{color:"blue",children:[" ",l," "]})}},{title:"\u5F00\u59CB\u65F6\u95F4",key:"start_at",dataIndex:"start_at"},{title:"\u4EFB\u52A1\u72B6\u6001",dataIndex:"status",key:"status",fixed:"right",render:function(l){return ee.Z.STATUS[l]}},{title:"\u64CD\u4F5C",key:"operation",render:function(l,m){return(0,o.jsx)("a",{href:"/#/record/report/".concat(m.id),children:"\u67E5\u770B"})}}],Z=function(){var l=j.getFieldsValue(),m=l.date[0].format("YYYY-MM-DD HH:mm:ss"),J=l.date[1].format("YYYY-MM-DD HH:mm:ss");u({type:"report/fetchReportList",payload:O()(O()({start_time:m,end_time:J},l),{},{page:C.current,size:C.pageSize,date:null})})},x=function(){j.resetFields(),j.setFieldsValue({date:[E()().startOf("week"),E()().endOf("week")]}),Z()};return(0,o.jsx)(k._z,{title:"\u6784\u5EFA\u5386\u53F2",breadcrumb:null,children:(0,o.jsxs)(F.Z,{children:[(0,o.jsx)(M.Z,{form:j,children:(0,o.jsxs)($.Z,{gutter:[8,8],children:[(0,o.jsx)(h.Z,{span:8,children:(0,o.jsx)(M.Z.Item,{label:"\u6267\u884C\u4EBA",name:"executor",children:(0,o.jsxs)(B.Z,{placeholder:"\u9009\u62E9\u6267\u884C\u4EBA",style:{width:"90%"},allowClear:!0,children:[(0,o.jsxs)(X,{value:"pity\u673A\u5668\u4EBA",children:[(0,o.jsx)(G.B,{style:{fontSize:20},type:"icon-a-jiqirenrengongzhineng"})," pity\u673A\u5668\u4EBA"]},"CPU"),Object.keys(_).map(function(d){return(0,o.jsx)(X,{value:d,children:(0,o.jsx)(R.Z,{user:_[d]})},d)})]})})}),(0,o.jsx)(h.Z,{span:10,children:(0,o.jsx)(M.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",name:"date",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB/\u7ED3\u675F\u65F6\u95F4"}],initialValue:[E()().startOf("week"),E()().endOf("week")],children:(0,o.jsx)(Q,{ranges:{\u4ECA\u5929:[E()(),E()()],\u672C\u5468:[E()().startOf("week"),E()().endOf("week")],\u672C\u6708:[E()().startOf("month"),E()().endOf("month")]},showTime:!0,format:"YYYY-MM-DD HH:mm:ss"})})}),(0,o.jsx)(h.Z,{span:6,children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsxs)(S.ZP,{type:"primary",onClick:Z,children:[(0,o.jsx)(K.Z,{})," \u67E5\u8BE2"]}),(0,o.jsxs)(S.ZP,{style:{marginLeft:8},onClick:x,children:[(0,o.jsx)(N.Z,{})," \u91CD\u7F6E"]})]})})]})}),(0,o.jsx)($.Z,{gutter:[8,8],children:(0,o.jsx)(h.Z,{span:24,children:(0,o.jsx)(b.Z,{columns:V,dataSource:A,pagination:C,loading:v.effects["report/fetchReportList"],onChange:function(l){u({type:"report/save",payload:{pagination:O()(O()({},C),{},{current:l.current})}})}})})})]})})};D.default=(0,Y.connect)(function(s){var a=s.report,n=s.user,r=s.loading;return{report:a,loading:r,user:n}})(e)},66309:function(w,D,t){t.d(D,{Z:function(){return X}});var i=t(67294),O=t(93967),f=t.n(O),W=t(98423),c=t(98787),E=t(69760),k=t(96159),g=t(45353),B=t(53124),M=t(54548),P=t(10274),F=t(14747),$=t(45503),h=t(91945);const S=e=>{const{paddingXXS:s,lineWidth:a,tagPaddingHorizontal:n,componentCls:r,calc:v}=e,u=v(n).sub(a).equal(),T=v(s).sub(a).equal();return{[r]:Object.assign(Object.assign({},(0,F.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:u,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,M.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:T,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:u}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{const{lineWidth:s,fontSizeIcon:a,calc:n}=e,r=e.fontSizeSM;return(0,$.TS)(e,{tagFontSize:r,tagLineHeight:(0,M.bf)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(a).sub(n(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},I=e=>({defaultBg:new P.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var L=(0,h.I$)("Tag",e=>{const s=b(e);return S(s)},I),K=function(e,s){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:a,style:n,className:r,checked:v,onChange:u,onClick:T}=e,y=K(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:j,tag:_}=i.useContext(B.E_),A=l=>{u==null||u(!v),T==null||T(l)},C=j("tag",a),[V,Z,x]=L(C),d=f()(C,`${C}-checkable`,{[`${C}-checkable-checked`]:v},_==null?void 0:_.className,r,Z,x);return V(i.createElement("span",Object.assign({},y,{ref:s,style:Object.assign(Object.assign({},n),_==null?void 0:_.style),className:d,onClick:A})))}),Y=t(98719);const q=e=>(0,Y.Z)(e,(s,a)=>{let{textColor:n,lightBorderColor:r,lightColor:v,darkColor:u}=a;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:n,background:v,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:u,borderColor:u},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ee=(0,h.bk)(["Tag","preset"],e=>{const s=b(e);return q(s)},I);function re(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const R=(e,s,a)=>{const n=re(a);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${a}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var G=(0,h.bk)(["Tag","status"],e=>{const s=b(e);return[R(s,"success","Success"),R(s,"processing","Info"),R(s,"error","Error"),R(s,"warning","Warning")]},I),te=function(e,s){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:a,className:n,rootClassName:r,style:v,children:u,icon:T,color:y,onClose:j,bordered:_=!0,visible:A}=e,C=te(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:V,direction:Z,tag:x}=i.useContext(B.E_),[d,l]=i.useState(!0),m=(0,W.Z)(C,["closeIcon","closable"]);i.useEffect(()=>{A!==void 0&&l(A)},[A]);const J=(0,c.o2)(y),se=(0,c.yT)(y),ne=J||se,de=Object.assign(Object.assign({backgroundColor:y&&!ne?y:void 0},x==null?void 0:x.style),v),p=V("tag",a),[ue,fe,ge]=L(p),Ee=f()(p,x==null?void 0:x.className,{[`${p}-${y}`]:ne,[`${p}-has-color`]:y&&!ne,[`${p}-hidden`]:!d,[`${p}-rtl`]:Z==="rtl",[`${p}-borderless`]:!_},n,r,fe,ge),le=z=>{z.stopPropagation(),j==null||j(z),!z.defaultPrevented&&l(!1)},[,me]=(0,E.Z)((0,E.w)(e),(0,E.w)(x),{closable:!1,closeIconRender:z=>{const ve=i.createElement("span",{className:`${p}-close-icon`,onClick:le},z);return(0,k.wm)(z,ve,U=>({onClick:ie=>{var oe;(oe=U==null?void 0:U.onClick)===null||oe===void 0||oe.call(U,ie),le(ie)},className:f()(U==null?void 0:U.className,`${p}-close-icon`)}))}}),he=typeof C.onClick=="function"||u&&u.type==="a",ae=T||null,Ce=ae?i.createElement(i.Fragment,null,ae,u&&i.createElement("span",null,u)):u,ce=i.createElement("span",Object.assign({},m,{ref:s,className:Ee,style:de}),Ce,me,J&&i.createElement(ee,{key:"preset",prefixCls:p}),se&&i.createElement(G,{key:"status",prefixCls:p}));return ue(he?i.createElement(g.Z,{component:"Tag"},ce):ce)});Q.CheckableTag=H;var X=Q}}]); diff --git a/statics/p__BuildHistory__ReportList.c31fdebf.async.js b/statics/p__BuildHistory__ReportList.c31fdebf.async.js deleted file mode 100644 index d2627f6b..00000000 --- a/statics/p__BuildHistory__ReportList.c31fdebf.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6482],{16165:function(U,m,e){var l=e(1413),E=e(4942),r=e(45987),a=e(67294),c=e(94184),s=e.n(c),y=e(63017),i=e(41755),C=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],u=a.forwardRef(function(g,P){var x=g.className,j=g.component,D=g.viewBox,_=g.spin,M=g.rotate,v=g.tabIndex,A=g.onClick,I=g.children,R=(0,r.Z)(g,C);(0,i.Kp)(Boolean(j||I),"Should have `component` prop or `children`."),(0,i.C3)();var b=a.useContext(y.Z),K=b.prefixCls,t=K===void 0?"anticon":K,h=b.rootClassName,f=s()(h,t,x),o=s()((0,E.Z)({},"".concat(t,"-spin"),!!_)),d=M?{msTransform:"rotate(".concat(M,"deg)"),transform:"rotate(".concat(M,"deg)")}:void 0,n=(0,l.Z)((0,l.Z)({},i.vD),{},{className:o,style:d,viewBox:D});D||delete n.viewBox;var N=function(){return j?a.createElement(j,(0,l.Z)({},n),I):I?((0,i.Kp)(Boolean(D)||a.Children.count(I)===1&&a.isValidElement(I)&&a.Children.only(I).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),a.createElement("svg",(0,l.Z)((0,l.Z)({},n),{},{viewBox:D}),I)):null},S=v;return S===void 0&&A&&(S=-1),a.createElement("span",(0,l.Z)((0,l.Z)({role:"img"},R),{},{ref:P,tabIndex:S,onClick:A,className:f}),N())});u.displayName="AntdIcon",m.Z=u},91321:function(U,m,e){e.d(m,{Z:function(){return C}});var l=e(1413),E=e(45987),r=e(67294),a=e(16165),c=["type","children"],s=new Set;function y(u){return Boolean(typeof u=="string"&&u.length&&!s.has(u))}function i(u){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,P=u[g];if(y(P)){var x=document.createElement("script");x.setAttribute("src",P),x.setAttribute("data-namespace",P),u.length>g+1&&(x.onload=function(){i(u,g+1)},x.onerror=function(){i(u,g+1)}),s.add(P),document.body.appendChild(x)}}function C(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=u.scriptUrl,P=u.extraCommonProps,x=P===void 0?{}:P;g&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(g)?i(g.reverse()):i([g]));var j=r.forwardRef(function(D,_){var M=D.type,v=D.children,A=(0,E.Z)(D,c),I=null;return D.type&&(I=r.createElement("use",{xlinkHref:"#".concat(M)})),v&&(I=v),r.createElement(a.Z,(0,l.Z)((0,l.Z)((0,l.Z)({},x),A),{},{ref:_}),I)});return j.displayName="Iconfont",j}},48483:function(U,m,e){e.d(m,{Z:function(){return y}});var l=e(1413),E=e(67294),r={icon:function(C,u){return{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",fill:C}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:u}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:C}}]}},name:"check-circle",theme:"twotone"},a=r,c=e(84089),s=function(C,u){return E.createElement(c.Z,(0,l.Z)((0,l.Z)({},C),{},{ref:u,icon:a}))};s.displayName="CheckCircleTwoTone";var y=E.forwardRef(s)},30881:function(U,m,e){e.d(m,{Z:function(){return y}});var l=e(1413),E=e(67294),r={icon:function(C,u){return{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",fill:C}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:u}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-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 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:C}}]}},name:"close-circle",theme:"twotone"},a=r,c=e(84089),s=function(C,u){return E.createElement(c.Z,(0,l.Z)((0,l.Z)({},C),{},{ref:u,icon:a}))};s.displayName="CloseCircleTwoTone";var y=E.forwardRef(s)},63100:function(U,m,e){var l=e(67294),E=e(61607);m.Z=(0,E.a1)("send",!0,function(r){return l.createElement("svg",{width:r.size,height:r.size,viewBox:"0 0 48 48",fill:"none"},l.createElement("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinejoin:r.strokeLinejoin}),l.createElement("path",{d:"M43.0001 5L22.1001 25.9",stroke:r.colors[0],strokeWidth:r.strokeWidth,strokeLinecap:r.strokeLinecap,strokeLinejoin:r.strokeLinejoin}))})},75574:function(U,m,e){var l=e(53575),E=e(51904),r=e(85893);m.Z={STATUS:{0:(0,r.jsx)(l.Z,{status:"default",text:"\u51C6\u5907\u4E2D"}),1:(0,r.jsx)(l.Z,{status:"processing",text:"\u8FD0\u884C\u4E2D"}),2:(0,r.jsx)(l.Z,{status:"error",text:"\u5DF2\u505C\u6B62"}),3:(0,r.jsx)(l.Z,{status:"success",text:"\u5DF2\u5B8C\u6210"})},EXECUTE_METHOD:{0:"\u624B\u52A8",1:"\u81EA\u52A8",2:"\u6D4B\u8BD5\u8BA1\u5212",3:"PIPELINE",4:"\u5176\u4ED6"},EXECUTE_STATUS:{0:"\u6210\u529F",1:"\u5931\u8D25",2:"\u51FA\u9519",3:"\u8DF3\u8FC7"},EXECUTE_BADGE_STATUS:{0:"success",1:"error",2:"warning",3:"default"},METHOD_TAG:{GET:(0,r.jsx)(E.Z,{color:"success",children:"GET"}),POST:(0,r.jsx)(E.Z,{color:"blue",children:"POST"}),PUT:(0,r.jsx)(E.Z,{color:"purple",children:"PUT"}),DELETE:(0,r.jsx)(E.Z,{color:"red",children:"DELETE"})}}},12554:function(U,m,e){e.d(m,{Z:function(){return D}});var l=e(67294),E=e(98293),r=e(83062),a={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},c=e(19478),s=Object.defineProperty,y=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,u=(_,M,v)=>M in _?s(_,M,{enumerable:!0,configurable:!0,writable:!0,value:v}):_[M]=v,g=(_,M)=>{for(var v in M||(M={}))i.call(M,v)&&u(_,v,M[v]);if(y)for(var v of y(M))C.call(M,v)&&u(_,v,M[v]);return _};const P=_=>React.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},_),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var x="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",j=e(85893),D=function(_){var M=_.user,v=_.size,A=v===void 0?24:v,I=_.marginLeft,R=I===void 0?6:I;return M===void 0?(0,j.jsx)(E.C,{size:A,src:x,alt:"avatar"}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(E.C,{size:A,className:a.avatar,src:M.avatar||c.Z.AVATAR_URL,alt:"avatar"}),(0,j.jsx)(r.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:M.deleted_at?(0,j.jsx)("del",{children:(0,j.jsx)("a",{style:{marginLeft:R,fontSize:13,color:"#ccc"},href:"/#/member/".concat(M.id),rel:"noreferrer",children:M.name})}):(0,j.jsx)("a",{onClick:function(K){K.stopPropagation()},style:{marginLeft:R,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(M.id),rel:"noreferrer",children:M.name})})]})}},99612:function(U,m,e){e.d(m,{e5:function(){return x},mi:function(){return P},dh:function(){return g},XN:function(){return C}});var l=e(63100),E=e(97857),r=e.n(E),a=e(37594),c=e(85893),s=function(j){var D=j.icon,_=j.text,M=j.font,v=M===void 0?13:M,A=j.style,I=j.onClick,R=j.back,b=R===void 0?!0:R;return b?(0,c.jsxs)("span",{onClick:I,style:r()({},A),children:[(0,c.jsx)(a.B,{type:D,style:{fontSize:v}})," ",_]}):(0,c.jsxs)("span",{onClick:I,style:r()({},A),children:[_," ",(0,c.jsx)(a.B,{style:{fontSize:v},type:D})]})},y=e(67294),i=e(51904),C={1:(0,c.jsxs)("span",{children:[(0,c.jsx)(l.Z,{theme:"outline",size:"14",fill:"#7ed321"})," HTTP"]}),2:(0,c.jsx)(s,{font:14,icon:"icon-GRPC",text:"GRPC"}),3:(0,c.jsx)(s,{font:14,icon:"icon-a-dubbo1",text:"Dubbo"})},u={1:(0,c.jsx)(i.Z,{color:"success",children:"HTTP"}),2:(0,c.jsx)(i.Z,{color:"orange",children:"GRPC"}),3:(0,c.jsx)(i.Z,{color:"blue",children:"DUBBO"})},g={GET:(0,c.jsx)(i.Z,{color:"success",children:"GET"}),POST:(0,c.jsx)(i.Z,{color:"blue",children:"POST"}),PUT:(0,c.jsx)(i.Z,{color:"cyan",children:"PUT"}),DELETE:(0,c.jsx)(i.Z,{color:"error",children:"DELETE"})},P={0:(0,c.jsx)(i.Z,{children:"\u666E\u901A"}),1:(0,c.jsx)(i.Z,{color:"blue",children:"\u6D4B\u8BD5\u8BA1\u5212"}),2:(0,c.jsx)(i.Z,{color:"success",children:"CI"}),3:(0,c.jsx)(i.Z,{children:"\u5176\u4ED6"})},x={0:(0,c.jsx)(i.Z,{color:"success",style:{marginLeft:8},children:"\u666E\u901A"}),1:(0,c.jsx)(i.Z,{color:"blue",style:{marginLeft:8},children:"\u524D\u7F6E"}),2:(0,c.jsx)(i.Z,{color:"warning",style:{marginLeft:8},children:"\u6570\u636E\u5DE5\u5382"})}},37594:function(U,m,e){e.d(m,{B:function(){return r}});var l=e(91321),E="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",r=(0,l.Z)({scriptUrl:E})},22763:function(U,m,e){var l=e(32983),E=e(82759),r=e(85893);m.Z=function(a){var c=a.desc,s=a.height,y=s===void 0?180:s,i=a.image,C=i===void 0?E.Z:i;return(0,r.jsx)(l.Z,{image:C,imageStyle:{height:y},description:c||"\u6682\u65E0\u6570\u636E"})}},91899:function(U,m,e){e.r(m);var l=e(97857),E=e.n(l),r=e(5574),a=e.n(r),c=e(30381),s=e.n(c),y=e(58841),i=e(61342),C=e(34041),u=e(58131),g=e(51904),P=e(4393),x=e(71230),j=e(15746),D=e(71577),_=e(64240),M=e(48483),v=e(30881),A=e(40110),I=e(33160),R=e(22763),b=e(94171),K=e(67294),t=e(75574),h=e(19478),f=e(12554),o=e(37594),d=e(99612),n=e(85893),N=i.Z.RangePicker,S=C.Z.Option,W=function(O){var B=O.user,H=O.report,F=O.loading,k=O.dispatch,G=u.Z.useForm(),Q=a()(G,1),w=Q[0],z=B.userMap,X=H.reportData,Y=H.pagination;(0,K.useEffect)(function(){k({type:"user/fetchUserList"}),$()},[Y.current]);var J=[{title:"\u6784\u5EFAid",dataIndex:"id",key:"id",fixed:"left",render:function(L,p){return p.failed_count===0&&p.error_count===0&&p.success_count>0?(0,n.jsxs)("span",{children:[(0,n.jsx)(M.Z,{twoToneColor:"#52c41a",style:{fontSize:13}})," #",(0,n.jsx)("a",{href:"/#/record/report/".concat(p.id),children:L})]}):(0,n.jsxs)("span",{children:[(0,n.jsx)(v.Z,{twoToneColor:"#eb2f96",style:{fontSize:13}})," #",(0,n.jsx)("a",{href:"/#/record/report/".concat(p.id),children:L})]})}},{title:"\u7C7B\u578B",dataIndex:"mode",key:"mode",fixed:"left",render:function(L){return d.mi[L]}},{title:"\u6267\u884C\u4EBA",dataIndex:"executor",key:"executor",fixed:"left",render:function(L){return L===0?(0,n.jsxs)("span",{children:[(0,n.jsx)(o.B,{style:{fontSize:20},type:"icon-a-jiqirenrengongzhineng"})," pity\u673A\u5668\u4EBA"]}):(0,n.jsx)(f.Z,{user:z[L]})}},{title:"\u603B\u6570",key:"total",render:function(L,p){return(0,n.jsxs)(g.Z,{children:[" ",p.success_count+p.failed_count+p.skipped_count+p.error_count," "]})}},{title:"\u6210\u529F \u2714",dataIndex:"success_count",key:"success_count",render:function(L){return(0,n.jsxs)(g.Z,{color:"success",children:[" ",L," "]})}},{title:"\u5931\u8D25 \u274C",dataIndex:"failed_count",key:"failed_count",render:function(L){return(0,n.jsxs)(g.Z,{color:"error",children:[" ",L," "]})}},{title:"\u51FA\u9519 \u26A0",dataIndex:"error_count",key:"error_count",render:function(L){return(0,n.jsxs)(g.Z,{color:"warning",children:[" ",L," "]})}},{title:"\u8DF3\u8FC7 \u{1F389}",dataIndex:"skipped_count",key:"skipped_count",render:function(L){return(0,n.jsxs)(g.Z,{color:"blue",children:[" ",L," "]})}},{title:"\u5F00\u59CB\u65F6\u95F4",key:"start_at",dataIndex:"start_at"},{title:"\u4EFB\u52A1\u72B6\u6001",dataIndex:"status",key:"status",fixed:"right",render:function(L){return t.Z.STATUS[L]}},{title:"\u64CD\u4F5C",key:"operation",render:function(L,p){return(0,n.jsx)("a",{href:"/#/record/report/".concat(p.id),children:"\u67E5\u770B"})}}],$=function(){var L=w.getFieldsValue(),p=L.date[0].format("YYYY-MM-DD HH:mm:ss"),V=L.date[1].format("YYYY-MM-DD HH:mm:ss");k({type:"report/fetchReportList",payload:E()(E()({start_time:p,end_time:V},L),{},{page:Y.current,size:Y.pageSize,date:null})})},q=function(){w.resetFields(),w.setFieldsValue({date:[s()().startOf("week"),s()().endOf("week")]}),$()};return(0,n.jsx)(y._z,{title:"\u6784\u5EFA\u5386\u53F2",breadcrumb:null,children:(0,n.jsxs)(P.Z,{children:[(0,n.jsx)(u.Z,{form:w,children:(0,n.jsxs)(x.Z,{gutter:[8,8],children:[(0,n.jsx)(j.Z,{span:8,children:(0,n.jsx)(u.Z.Item,{label:"\u6267\u884C\u4EBA",name:"executor",children:(0,n.jsxs)(C.Z,{placeholder:"\u9009\u62E9\u6267\u884C\u4EBA",style:{width:"90%"},allowClear:!0,children:[(0,n.jsxs)(S,{value:"pity\u673A\u5668\u4EBA",children:[(0,n.jsx)(o.B,{style:{fontSize:20},type:"icon-a-jiqirenrengongzhineng"})," pity\u673A\u5668\u4EBA"]},"CPU"),Object.keys(z).map(function(T){return(0,n.jsx)(S,{value:T,children:(0,n.jsx)(f.Z,{user:z[T]})},T)})]})})}),(0,n.jsx)(j.Z,{span:10,children:(0,n.jsx)(u.Z.Item,{label:"\u6267\u884C\u65F6\u95F4",name:"date",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB/\u7ED3\u675F\u65F6\u95F4"}],initialValue:[s()().startOf("week"),s()().endOf("week")],children:(0,n.jsx)(N,{ranges:{\u4ECA\u5929:[s()(),s()()],\u672C\u5468:[s()().startOf("week"),s()().endOf("week")],\u672C\u6708:[s()().startOf("month"),s()().endOf("month")]},showTime:!0,format:"YYYY-MM-DD HH:mm:ss"})})}),(0,n.jsx)(j.Z,{span:6,children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsxs)(D.ZP,{type:"primary",onClick:$,children:[(0,n.jsx)(A.Z,{})," \u67E5\u8BE2"]}),(0,n.jsxs)(D.ZP,{style:{marginLeft:8},onClick:q,children:[(0,n.jsx)(I.Z,{})," \u91CD\u7F6E"]})]})})]})}),(0,n.jsx)(x.Z,{gutter:[8,8],children:(0,n.jsx)(j.Z,{span:24,children:(0,n.jsx)(_.Z,{columns:J,dataSource:X,pagination:Y,loading:F.effects["report/fetchReportList"],onChange:function(L){k({type:"report/save",payload:{pagination:E()(E()({},Y),{},{current:L.current})}})}})})})]})})};m.default=(0,b.connect)(function(Z){var O=Z.report,B=Z.user,H=Z.loading;return{report:O,loading:H,user:B}})(W)},51904:function(U,m,e){e.d(m,{Z:function(){return K}});var l=e(62208),E=e(94184),r=e.n(E),a=e(67294),c=e(53124),s=e(98787),y=e(45353),i=e(67968),C=e(45503);function u(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}var g=e(63443),P=e(14747);const x=(t,h,f)=>{const o=u(f);return{[`${t.componentCls}-${h}`]:{color:t[`color${f}`],background:t[`color${o}Bg`],borderColor:t[`color${o}Border`]}}},j=t=>(0,g.j)(t,(h,f)=>{let{textColor:o,lightBorderColor:d,lightColor:n,darkColor:N}=f;return{[`${t.componentCls}-${h}`]:{color:o,background:n,borderColor:d,"&-inverse":{color:t.colorTextLightSolid,background:N,borderColor:N}}}}),D=t=>{const{paddingXXS:h,lineWidth:f,tagPaddingHorizontal:o,componentCls:d}=t,n=o-f,N=h-f;return{[d]:Object.assign(Object.assign({},(0,P.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:n,fontSize:t.tagFontSize,lineHeight:`${t.tagLineHeight}px`,whiteSpace:"nowrap",background:t.tagDefaultBg,border:`${t.lineWidth}px ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",[`&${d}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.tagDefaultColor},[`${d}-close-icon`]:{marginInlineStart:N,color:t.colorTextDescription,fontSize:t.tagIconSize,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${d}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${d}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:n}})}};var _=(0,i.Z)("Tag",t=>{const{fontSize:h,lineHeight:f,lineWidth:o,fontSizeIcon:d}=t,n=Math.round(h*f),N=t.fontSizeSM,S=n-o*2,W=t.colorFillAlter,Z=t.colorText,O=(0,C.TS)(t,{tagFontSize:N,tagLineHeight:S,tagDefaultBg:W,tagDefaultColor:Z,tagIconSize:d-2*o,tagPaddingHorizontal:8});return[D(O),j(O),x(O,"success","Success"),x(O,"processing","Info"),x(O,"error","Error"),x(O,"warning","Warning")]}),M=function(t,h){var f={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&h.indexOf(o)<0&&(f[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,o=Object.getOwnPropertySymbols(t);d{var{prefixCls:h,className:f,checked:o,onChange:d,onClick:n}=t,N=M(t,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:S}=a.useContext(c.E_),W=F=>{d==null||d(!o),n==null||n(F)},Z=S("tag",h),[O,B]=_(Z),H=r()(Z,{[`${Z}-checkable`]:!0,[`${Z}-checkable-checked`]:o},f,B);return O(a.createElement("span",Object.assign({},N,{className:H,onClick:W})))},I=function(t,h){var f={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&h.indexOf(o)<0&&(f[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,o=Object.getOwnPropertySymbols(t);d{var{prefixCls:f,className:o,style:d,children:n,icon:N,color:S,onClose:W,closeIcon:Z,closable:O=!1}=t,B=I(t,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:H,direction:F}=a.useContext(c.E_),[k,G]=a.useState(!0);a.useEffect(()=>{"visible"in B&&G(B.visible)},[B.visible]);const Q=(0,s.o2)(S)||(0,s.yT)(S),w=Object.assign({backgroundColor:S&&!Q?S:void 0},d),z=H("tag",f),[X,Y]=_(z),J=r()(z,{[`${z}-${S}`]:Q,[`${z}-has-color`]:S&&!Q,[`${z}-hidden`]:!k,[`${z}-rtl`]:F==="rtl"},o,Y),$=ee=>{ee.stopPropagation(),W==null||W(ee),!ee.defaultPrevented&&G(!1)},q=()=>O?Z?a.createElement("span",{className:`${z}-close-icon`,onClick:$},Z):a.createElement(l.Z,{className:`${z}-close-icon`,onClick:$}):null,T=typeof B.onClick=="function"||n&&n.type==="a",L=N||null,p=L?a.createElement(a.Fragment,null,L,a.createElement("span",null,n)):n,V=a.createElement("span",Object.assign({},B,{ref:h,className:J,style:w}),p,q());return X(T?a.createElement(y.Z,null,V):V)},b=a.forwardRef(R);b.CheckableTag=A;var K=b}}]); diff --git a/statics/p__Building.0a722df5.async.js b/statics/p__Building.5f03b604.async.js similarity index 72% rename from statics/p__Building.0a722df5.async.js rename to statics/p__Building.5f03b604.async.js index 9bee497f..357ba316 100644 --- a/statics/p__Building.0a722df5.async.js +++ b/statics/p__Building.5f03b604.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3206],{72387:function(B,t,u){u.r(t);var n=u(29905),i=u(71577),P=u(67294),D=u(94171),E=u(85893),s=function(){return(0,E.jsx)(n.ZP,{status:"403",title:"\u52AA\u529B\u5EFA\u8BBE\u4E2D...",subTitle:"\u8BF7\u518D\u7ED9\u6211\u4E00\u70B9\u70B9\u65F6\u95F4...",extra:(0,E.jsx)(i.ZP,{type:"primary",onClick:function(){return D.history.push("/#/index")},children:"\u8FD4\u56DE\u9996\u9875"})})};t.default=s}}]); +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3206],{72387:function(B,t,u){u.r(t);var n=u(29905),i=u(14726),P=u(67294),D=u(90596),E=u(85893),s=function(){return(0,E.jsx)(n.ZP,{status:"403",title:"\u52AA\u529B\u5EFA\u8BBE\u4E2D...",subTitle:"\u8BF7\u518D\u7ED9\u6211\u4E00\u70B9\u70B9\u65F6\u95F4...",extra:(0,E.jsx)(i.ZP,{type:"primary",onClick:function(){return D.history.push("/#/index")},children:"\u8FD4\u56DE\u9996\u9875"})})};t.default=s}}]); diff --git a/statics/p__Config__Address.ef0f932b.async.js b/statics/p__Config__Address.ef0f932b.async.js deleted file mode 100644 index d9357b2a..00000000 --- a/statics/p__Config__Address.ef0f932b.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9722],{51042:function(ne,Z,n){var S=n(1413),C=n(67294),O=n(42110),d=n(84089),b=function(L,P){return C.createElement(d.Z,(0,S.Z)((0,S.Z)({},L),{},{ref:P,icon:O.Z}))};b.displayName="PlusOutlined",Z.Z=C.forwardRef(b)},646:function(ne,Z,n){var S=n(86738),C=n(85893);Z.Z=function(O){var d=O.title,b=O.text,c=O.onConfirm;return(0,C.jsx)(S.Z,{title:d,onConfirm:c,children:(0,C.jsx)("a",{children:b})})}},84298:function(ne,Z,n){var S=n(97857),C=n.n(S),O=n(5574),d=n.n(O),b=n(67294),c=n(58131),L=n(69400),P=n(15746),A=n(76081),F=n(85893),Q=c.Z.Item,N=function(h){var w=h.title,R=h.width,k=h.left,z=h.right,q=h.formName,$=h.record,Y=h.onFinish,K=h.loading,_=h.fields,e=h.open,g=h.onCancel,m=h.offset,t=m===void 0?0:m,o=h.children,s=h.Footer,r=h.onTest,l=c.Z.useForm(),u=d()(l,1),i=u[0],a=function(){i.validateFields().then(function(j){Y(j)})};(0,b.useEffect)(function(){i.resetFields(),i.setFieldsValue($)},[$]);var v={labelCol:{span:k},wrapperCol:{span:z}};return(0,F.jsxs)(L.Z,{style:{marginTop:t},confirmLoading:K,footer:s!==void 0?(0,F.jsx)(s,{onOk:a,onCancel:g,onTest:function(){i.validateFields().then(function(j){r(j)})}}):void 0,title:w,width:R,open:e,onOk:a,onCancel:g,children:[o||null,(0,F.jsx)(c.Z,C()(C()({form:i},v),{},{name:q,initialValues:$,onFinish:Y,children:_.map(function(f,j){return(0,F.jsx)(P.Z,{span:f.span||24,children:(0,F.jsx)(Q,{label:f.label,colon:f.colon||!0,initialValue:f.initialValue,rules:[{required:f.required,message:f.message}],name:f.name,valuePropName:f.valuePropName||"value",children:(0,A.Z)(f.type,f.placeholder,f.component)})},j)})}))]})};Z.Z=N},76081:function(ne,Z,n){var S=n(96365),C=n(72269),O=n(67294),d=n(85893),b=S.Z.TextArea,c=function(P,A){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return F||(P==="input"?(0,d.jsx)(S.Z,{placeholder:A}):P==="textarea"?(0,d.jsx)(b,{placeholder:A}):P==="switch"?(0,d.jsx)(C.Z,{}):null)};Z.Z=c},66815:function(ne,Z,n){n.r(Z),n.d(Z,{default:function(){return l}});var S=n(97857),C=n.n(S),O=n(15009),d=n.n(O),b=n(99289),c=n.n(b),L=n(5574),P=n.n(L),A=n(67294),F=n(58841),Q=n(94171),N=n(34041),I=n(58131),h=n(51904),w=n(96074),R=n(4393),k=n(71230),z=n(15746),q=n(71577),$=n(96365),Y=n(64240),K=n(19478),_=n(83062),e=n(85893),g=function(u){var i=u.icon,a=u.title,v=u.font,f=u.style,j=u.text,U=u.onClick;return(0,e.jsx)(_.Z,{title:a,children:(0,e.jsxs)("span",{onClick:U,style:C()({cursor:"pointer",fontSize:v},f),children:[i," ",j]})})},m=n(51042),t=n(84298),o=n(646),s=N.Z.Option,r=function(i){var a=i.loading,v=i.gconfig,f=i.dispatch,j=I.Z.useForm(),U=P()(j,1),H=U[0],W=v.envList,ee=v.envMap,T=v.addressList,V=(0,A.useState)(!1),te=P()(V,2),re=te[0],B=te[1],ae=(0,A.useState)({}),oe=P()(ae,2),p=oe[0],x=oe[1],M=function(){f({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}})},J=function(){var D=H.getFieldsValue();f({type:"gconfig/fetchAddress",payload:D})},se=a.effects["gconfig/fetchAddress"]||a.effects["gconfig/fetchEnvList"]||a.effects["gconfig/updateAddress"]||a.effects["gconfig/insertAddress"]||a.effects["gconfig/deleteAddress"];(0,A.useEffect)(function(){M(),J()},[]);var ie=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(D){return(0,e.jsx)(h.Z,{children:ee[D]})}},{title:"\u540D\u79F0",key:"name",dataIndex:"name"},{title:(0,e.jsx)(g,{title:"\u5730\u5740\u4E00\u822C\u662F\u670D\u52A1\u7684\u57FA\u7840\u5730\u5740\uFF0C\u6BD4\u5982https://api.baidu.com, \u7528\u4F8B\u4E2D\u7684\u5730\u5740\u7B80\u5199\u5373\u53EF",text:"\u5730\u5740"}),key:"gateway",dataIndex:"gateway",render:function(D){return(0,e.jsx)("a",{href:D,children:D})},ellipsis:!0},{title:"\u64CD\u4F5C",key:"operation",render:function(D,X){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){x(X),B(!0)},children:"\u7F16\u8F91"}),(0,e.jsx)(w.Z,{type:"vertical"}),(0,e.jsx)(o.Z,{text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u5730\u5740\u5417?",onConfirm:c()(d()().mark(function G(){return d()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,ue(X);case 2:case"end":return y.stop()}},G)}))})]})}}],ce=[{name:"env",label:"\u73AF\u5883",required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",type:"select",component:(0,e.jsx)(N.Z,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",children:W.map(function(E){return(0,e.jsx)(s,{value:E.id,children:E.name},E.id)})})},{name:"name",label:"\u5730\u5740\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u5730\u5740\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u5730\u5740\u540D\u79F0"},{name:"gateway",label:"\u670D\u52A1\u5730\u5740",required:!0,message:"\u8BF7\u8F93\u5165\u670D\u52A1\u5730\u5740",type:"input",placeholder:"\u8BF7\u8F93\u5165\u670D\u52A1\u5730\u5740"}],ue=function(){var E=c()(d()().mark(function D(X){var G;return d()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,f({type:"gconfig/deleteAddress",payload:{id:X.id}});case 2:G=y.sent,G&&J();case 4:case"end":return y.stop()}},D)}));return function(X){return E.apply(this,arguments)}}(),de=function(){var E=c()(d()().mark(function D(X){var G;return d()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(!p.id){y.next=6;break}return y.next=3,f({type:"gconfig/updateAddress",payload:C()(C()({},X),{},{id:p.id})});case 3:G=y.sent,y.next=9;break;case 6:return y.next=8,f({type:"gconfig/insertAddress",payload:X});case 8:G=y.sent;case 9:G&&(B(!1),J());case 10:case"end":return y.stop()}},D)}));return function(X){return E.apply(this,arguments)}}();return(0,e.jsx)(F._z,{breadcrumb:null,title:"\u8BF7\u6C42\u5730\u5740\u7BA1\u7406",children:(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(t.Z,{open:re,fields:ce,title:p.id?"\u4FEE\u6539\u5730\u5740":"\u6DFB\u52A0\u5730\u5740",left:6,right:18,record:p,onFinish:de,onCancel:function(){return B(!1)}}),(0,e.jsx)(I.Z,C()(C()({form:H},K.Z.LAYOUT),{},{onValuesChange:J,children:(0,e.jsxs)(k.Z,{gutter:12,children:[(0,e.jsx)(z.Z,{span:3,children:(0,e.jsx)(I.Z.Item,{children:(0,e.jsxs)(q.ZP,{type:"primary",onClick:function(){B(!0),x({})},children:[(0,e.jsx)(m.Z,{}),"\u6DFB\u52A0\u5730\u5740"]})})}),(0,e.jsx)(z.Z,{span:7,children:(0,e.jsx)(I.Z.Item,{label:"\u73AF\u5883",name:"env",children:(0,e.jsx)(N.Z,{allowClear:!0,showSearch:!0,placeholder:"\u9009\u62E9\u5BF9\u5E94\u7684\u73AF\u5883",children:W.map(function(E){return(0,e.jsx)(s,{value:E.id,children:E.name},E.id)})})})}),(0,e.jsx)(z.Z,{span:7,children:(0,e.jsx)(I.Z.Item,{label:"\u540D\u79F0",name:"name",children:(0,e.jsx)($.Z,{placeholder:"\u8F93\u5165\u5BF9\u5E94\u7684\u5730\u5740\u540D\u79F0"})})}),(0,e.jsx)(z.Z,{span:7,children:(0,e.jsx)(I.Z.Item,{label:"\u5730\u5740",name:"gateway",children:(0,e.jsx)($.Z,{placeholder:"\u8F93\u5165\u5BF9\u5E94\u7684\u5730\u5740"})})})]})})),(0,e.jsx)(Y.Z,{columns:ie,loading:se,rowKey:function(D){return D.id},dataSource:T})]})})},l=(0,Q.connect)(function(u){var i=u.gconfig,a=u.user,v=u.loading;return{gconfig:i,user:a,loading:v}})((0,A.memo)(r))},86738:function(ne,Z,n){n.d(Z,{Z:function(){return m}});var S=n(26702),C=n(94184),O=n.n(C),d=n(21770),b=n(15105),c=n(67294),L=n(98423),P=n(53124),A=n(55241),F=n(96159),Q=n(71577),N=n(87149),I=n(86743),h=n(74342),w=n(24457),R=n(81643),k=n(60590),z=n(67968);const q=t=>{const{componentCls:o,iconCls:s,zIndexPopup:r,colorText:l,colorWarning:u,marginXS:i,fontSize:a,fontWeightStrong:v,lineHeight:f}=t;return{[o]:{zIndex:r,[`${o}-inner-content`]:{color:l},[`${o}-message`]:{position:"relative",marginBottom:i,color:l,fontSize:a,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o}-message-icon ${s}`]:{color:u,fontSize:a,flex:"none",lineHeight:1,paddingTop:(Math.round(a*f)-a)/2},"&-title":{flex:"auto",marginInlineStart:i},"&-title-only":{fontWeight:v}},[`${o}-description`]:{position:"relative",marginInlineStart:a+i,marginBottom:i,color:l,fontSize:a},[`${o}-buttons`]:{textAlign:"end",button:{marginInlineStart:i}}}}};var $=(0,z.Z)("Popconfirm",t=>q(t),t=>{const{zIndexPopupBase:o}=t;return{zIndexPopup:o+60}}),Y=function(t,o){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&o.indexOf(r)<0&&(s[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(t);l{const{prefixCls:o,okButtonProps:s,cancelButtonProps:r,title:l,description:u,cancelText:i,okText:a,okType:v="primary",icon:f=c.createElement(S.Z,null),showCancel:j=!0,close:U,onConfirm:H,onCancel:W}=t,{getPrefixCls:ee}=c.useContext(P.E_);return c.createElement(h.Z,{componentName:"Popconfirm",defaultLocale:w.Z.Popconfirm},T=>c.createElement("div",{className:`${o}-inner-content`},c.createElement("div",{className:`${o}-message`},f&&c.createElement("span",{className:`${o}-message-icon`},f),c.createElement("div",{className:O()(`${o}-message-title`,{[`${o}-message-title-only`]:!!u})},(0,R.Z)(l))),u&&c.createElement("div",{className:`${o}-description`},(0,R.Z)(u)),c.createElement("div",{className:`${o}-buttons`},j&&c.createElement(Q.ZP,Object.assign({onClick:W,size:"small"},r),i!=null?i:T.cancelText),c.createElement(I.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,N.n)(v)),s),actionFn:H,close:U,prefixCls:ee("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},a!=null?a:T.okText))))};function _(t){const{prefixCls:o,placement:s,className:r,style:l}=t,u=Y(t,["prefixCls","placement","className","style"]),{getPrefixCls:i}=c.useContext(P.E_),a=i("popconfirm",o),[v]=$(a);return v(c.createElement(k.ZP,{placement:s,className:O()(a,r),style:l,content:c.createElement(K,Object.assign({prefixCls:a},u))}))}var e=function(t,o){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&o.indexOf(r)<0&&(s[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(t);l{const{getPrefixCls:s}=c.useContext(P.E_),[r,l]=(0,d.Z)(!1,{value:t.open,defaultValue:t.defaultOpen}),u=(p,x)=>{var M;l(p,!0),(M=t.onOpenChange)===null||M===void 0||M.call(t,p,x)},i=p=>{u(!1,p)},a=p=>{var x;return(x=t.onConfirm)===null||x===void 0?void 0:x.call(void 0,p)},v=p=>{var x;u(!1,p),(x=t.onCancel)===null||x===void 0||x.call(void 0,p)},f=p=>{p.keyCode===b.Z.ESC&&r&&u(!1,p)},j=p=>{const{disabled:x=!1}=t;x||u(p)},{prefixCls:U,placement:H="top",trigger:W="click",okType:ee="primary",icon:T=c.createElement(S.Z,null),children:V,overlayClassName:te}=t,re=e(t,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),B=s("popconfirm",U),ae=O()(B,te),[oe]=$(B);return oe(c.createElement(A.Z,Object.assign({},(0,L.Z)(re,["title"]),{trigger:W,placement:H,onOpenChange:j,open:r,ref:o,overlayClassName:ae,content:c.createElement(K,Object.assign({okType:ee,icon:T},t,{prefixCls:B,close:i,onConfirm:a,onCancel:v})),"data-popover-inject":!0}),(0,F.Tm)(V,{onKeyDown:p=>{var x,M;c.isValidElement(V)&&((M=V==null?void 0:(x=V.props).onKeyDown)===null||M===void 0||M.call(x,p)),f(p)}})))});g._InternalPanelDoNotUseOrYouWillBeFired=_;var m=g},51904:function(ne,Z,n){n.d(Z,{Z:function(){return _}});var S=n(62208),C=n(94184),O=n.n(C),d=n(67294),b=n(53124),c=n(98787),L=n(45353),P=n(67968),A=n(45503);function F(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}var Q=n(63443),N=n(14747);const I=(e,g,m)=>{const t=F(m);return{[`${e.componentCls}-${g}`]:{color:e[`color${m}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`]}}},h=e=>(0,Q.j)(e,(g,m)=>{let{textColor:t,lightBorderColor:o,lightColor:s,darkColor:r}=m;return{[`${e.componentCls}-${g}`]:{color:t,background:s,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:r,borderColor:r}}}}),w=e=>{const{paddingXXS:g,lineWidth:m,tagPaddingHorizontal:t,componentCls:o}=e,s=t-m,r=g-m;return{[o]:Object.assign(Object.assign({},(0,N.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:s,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${o}-close-icon`]:{marginInlineStart:r,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:s}})}};var R=(0,P.Z)("Tag",e=>{const{fontSize:g,lineHeight:m,lineWidth:t,fontSizeIcon:o}=e,s=Math.round(g*m),r=e.fontSizeSM,l=s-t*2,u=e.colorFillAlter,i=e.colorText,a=(0,A.TS)(e,{tagFontSize:r,tagLineHeight:l,tagDefaultBg:u,tagDefaultColor:i,tagIconSize:o-2*t,tagPaddingHorizontal:8});return[w(a),h(a),I(a,"success","Success"),I(a,"processing","Info"),I(a,"error","Error"),I(a,"warning","Warning")]}),k=function(e,g){var m={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&g.indexOf(t)<0&&(m[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(e);o{var{prefixCls:g,className:m,checked:t,onChange:o,onClick:s}=e,r=k(e,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:l}=d.useContext(b.E_),u=j=>{o==null||o(!t),s==null||s(j)},i=l("tag",g),[a,v]=R(i),f=O()(i,{[`${i}-checkable`]:!0,[`${i}-checkable-checked`]:t},m,v);return a(d.createElement("span",Object.assign({},r,{className:f,onClick:u})))},$=function(e,g){var m={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&g.indexOf(t)<0&&(m[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(e);o{var{prefixCls:m,className:t,style:o,children:s,icon:r,color:l,onClose:u,closeIcon:i,closable:a=!1}=e,v=$(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:f,direction:j}=d.useContext(b.E_),[U,H]=d.useState(!0);d.useEffect(()=>{"visible"in v&&H(v.visible)},[v.visible]);const W=(0,c.o2)(l)||(0,c.yT)(l),ee=Object.assign({backgroundColor:l&&!W?l:void 0},o),T=f("tag",m),[V,te]=R(T),re=O()(T,{[`${T}-${l}`]:W,[`${T}-has-color`]:l&&!W,[`${T}-hidden`]:!U,[`${T}-rtl`]:j==="rtl"},t,te),B=J=>{J.stopPropagation(),u==null||u(J),!J.defaultPrevented&&H(!1)},ae=()=>a?i?d.createElement("span",{className:`${T}-close-icon`,onClick:B},i):d.createElement(S.Z,{className:`${T}-close-icon`,onClick:B}):null,oe=typeof v.onClick=="function"||s&&s.type==="a",p=r||null,x=p?d.createElement(d.Fragment,null,p,d.createElement("span",null,s)):s,M=d.createElement("span",Object.assign({},v,{ref:g,className:re,style:ee}),x,ae());return V(oe?d.createElement(L.Z,null,M):M)},K=d.forwardRef(Y);K.CheckableTag=q;var _=K}}]); diff --git a/statics/p__Config__Address.f26bba52.async.js b/statics/p__Config__Address.f26bba52.async.js new file mode 100644 index 00000000..170bcfe8 --- /dev/null +++ b/statics/p__Config__Address.f26bba52.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9722],{51042:function(T,g,e){var m=e(1413),o=e(67294),E=e(42110),u=e(84089),j=function(v,h){return o.createElement(u.Z,(0,m.Z)((0,m.Z)({},v),{},{ref:h,icon:E.Z}))},i=o.forwardRef(j);g.Z=i},646:function(T,g,e){var m=e(86738),o=e(85893);g.Z=function(E){var u=E.title,j=E.text,i=E.onConfirm;return(0,o.jsx)(m.Z,{title:u,onConfirm:i,children:(0,o.jsx)("a",{children:j})})}},84298:function(T,g,e){var m=e(97857),o=e.n(m),E=e(5574),u=e.n(E),j=e(67294),i=e(8232),D=e(17788),v=e(15746),h=e(76081),p=e(85893),_=i.Z.Item,M=function(s){var K=s.title,S=s.width,b=s.left,A=s.right,$=s.formName,P=s.record,I=s.onFinish,V=s.loading,N=s.fields,n=s.open,B=s.onCancel,L=s.offset,z=L===void 0?0:L,G=s.children,Z=s.Footer,Y=s.onTest,H=i.Z.useForm(),d=u()(H,1),c=d[0],f=function(){c.validateFields().then(function(F){I(F)})};(0,j.useEffect)(function(){c.resetFields(),c.setFieldsValue(P)},[P]);var x={labelCol:{span:b},wrapperCol:{span:A}};return(0,p.jsxs)(D.Z,{style:{marginTop:z},confirmLoading:V,footer:Z!==void 0?(0,p.jsx)(Z,{onOk:f,onCancel:B,onTest:function(){c.validateFields().then(function(F){Y(F)})}}):void 0,title:K,width:S,open:n,onOk:f,onCancel:B,children:[G||null,(0,p.jsx)(i.Z,o()(o()({form:c},x),{},{name:$,initialValues:P,onFinish:I,children:N.map(function(t,F){return(0,p.jsx)(v.Z,{span:t.span||24,children:(0,p.jsx)(_,{label:t.label,colon:t.colon||!0,initialValue:t.initialValue,rules:[{required:t.required,message:t.message}],name:t.name,valuePropName:t.valuePropName||"value",children:(0,h.Z)(t.type,t.placeholder,t.component)})},F)})}))]})};g.Z=M},76081:function(T,g,e){var m=e(55102),o=e(72269),E=e(67294),u=e(85893),j=m.Z.TextArea,i=function(v,h){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return p||(v==="input"?(0,u.jsx)(m.Z,{placeholder:h}):v==="textarea"?(0,u.jsx)(j,{placeholder:h}):v==="switch"?(0,u.jsx)(o.Z,{}):null)};g.Z=i},66815:function(T,g,e){e.r(g),e.d(g,{default:function(){return H}});var m=e(97857),o=e.n(m),E=e(15009),u=e.n(E),j=e(99289),i=e.n(j),D=e(5574),v=e.n(D),h=e(67294),p=e(58841),_=e(90596),M=e(34041),y=e(8232),s=e(66309),K=e(96074),S=e(4393),b=e(71230),A=e(15746),$=e(14726),P=e(55102),I=e(72051),V=e(19478),N=e(83062),n=e(85893),B=function(d){var c=d.icon,f=d.title,x=d.font,t=d.style,F=d.text,J=d.onClick;return(0,n.jsx)(N.Z,{title:f,children:(0,n.jsxs)("span",{onClick:J,style:o()({cursor:"pointer",fontSize:x},t),children:[c," ",F]})})},L=e(51042),z=e(84298),G=e(646),Z=M.Z.Option,Y=function(c){var f=c.loading,x=c.gconfig,t=c.dispatch,F=y.Z.useForm(),J=v()(F,1),Q=J[0],X=x.envList,ne=x.envMap,te=x.addressList,ae=(0,h.useState)(!1),w=v()(ae,2),re=w[0],U=w[1],se=(0,h.useState)({}),k=v()(se,2),R=k[0],q=k[1],oe=function(){t({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}})},W=function(){var l=Q.getFieldsValue();t({type:"gconfig/fetchAddress",payload:l})},ue=f.effects["gconfig/fetchAddress"]||f.effects["gconfig/fetchEnvList"]||f.effects["gconfig/updateAddress"]||f.effects["gconfig/insertAddress"]||f.effects["gconfig/deleteAddress"];(0,h.useEffect)(function(){oe(),W()},[]);var le=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(l){return(0,n.jsx)(s.Z,{children:ne[l]})}},{title:"\u540D\u79F0",key:"name",dataIndex:"name"},{title:(0,n.jsx)(B,{title:"\u5730\u5740\u4E00\u822C\u662F\u670D\u52A1\u7684\u57FA\u7840\u5730\u5740\uFF0C\u6BD4\u5982https://api.baidu.com, \u7528\u4F8B\u4E2D\u7684\u5730\u5740\u7B80\u5199\u5373\u53EF",text:"\u5730\u5740"}),key:"gateway",dataIndex:"gateway",render:function(l){return(0,n.jsx)("a",{href:l,children:l})},ellipsis:!0},{title:"\u64CD\u4F5C",key:"operation",render:function(l,C){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){q(C),U(!0)},children:"\u7F16\u8F91"}),(0,n.jsx)(K.Z,{type:"vertical"}),(0,n.jsx)(G.Z,{text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u5730\u5740\u5417?",onConfirm:i()(u()().mark(function O(){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,de(C);case 2:case"end":return a.stop()}},O)}))})]})}}],ie=[{name:"env",label:"\u73AF\u5883",required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",type:"select",component:(0,n.jsx)(M.Z,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",children:X.map(function(r){return(0,n.jsx)(Z,{value:r.id,children:r.name},r.id)})})},{name:"name",label:"\u5730\u5740\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u5730\u5740\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u5730\u5740\u540D\u79F0"},{name:"gateway",label:"\u670D\u52A1\u5730\u5740",required:!0,message:"\u8BF7\u8F93\u5165\u670D\u52A1\u5730\u5740",type:"input",placeholder:"\u8BF7\u8F93\u5165\u670D\u52A1\u5730\u5740"}],de=function(){var r=i()(u()().mark(function l(C){var O;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,t({type:"gconfig/deleteAddress",payload:{id:C.id}});case 2:O=a.sent,O&&W();case 4:case"end":return a.stop()}},l)}));return function(C){return r.apply(this,arguments)}}(),ce=function(){var r=i()(u()().mark(function l(C){var O;return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!R.id){a.next=6;break}return a.next=3,t({type:"gconfig/updateAddress",payload:o()(o()({},C),{},{id:R.id})});case 3:O=a.sent,a.next=9;break;case 6:return a.next=8,t({type:"gconfig/insertAddress",payload:C});case 8:O=a.sent;case 9:O&&(U(!1),W());case 10:case"end":return a.stop()}},l)}));return function(C){return r.apply(this,arguments)}}();return(0,n.jsx)(p._z,{breadcrumb:null,title:"\u8BF7\u6C42\u5730\u5740\u7BA1\u7406",children:(0,n.jsxs)(S.Z,{children:[(0,n.jsx)(z.Z,{open:re,fields:ie,title:R.id?"\u4FEE\u6539\u5730\u5740":"\u6DFB\u52A0\u5730\u5740",left:6,right:18,record:R,onFinish:ce,onCancel:function(){return U(!1)}}),(0,n.jsx)(y.Z,o()(o()({form:Q},V.Z.LAYOUT),{},{onValuesChange:W,children:(0,n.jsxs)(b.Z,{gutter:12,children:[(0,n.jsx)(A.Z,{span:3,children:(0,n.jsx)(y.Z.Item,{children:(0,n.jsxs)($.ZP,{type:"primary",onClick:function(){U(!0),q({})},children:[(0,n.jsx)(L.Z,{}),"\u6DFB\u52A0\u5730\u5740"]})})}),(0,n.jsx)(A.Z,{span:7,children:(0,n.jsx)(y.Z.Item,{label:"\u73AF\u5883",name:"env",children:(0,n.jsx)(M.Z,{allowClear:!0,showSearch:!0,placeholder:"\u9009\u62E9\u5BF9\u5E94\u7684\u73AF\u5883",children:X.map(function(r){return(0,n.jsx)(Z,{value:r.id,children:r.name},r.id)})})})}),(0,n.jsx)(A.Z,{span:7,children:(0,n.jsx)(y.Z.Item,{label:"\u540D\u79F0",name:"name",children:(0,n.jsx)(P.Z,{placeholder:"\u8F93\u5165\u5BF9\u5E94\u7684\u5730\u5740\u540D\u79F0"})})}),(0,n.jsx)(A.Z,{span:7,children:(0,n.jsx)(y.Z.Item,{label:"\u5730\u5740",name:"gateway",children:(0,n.jsx)(P.Z,{placeholder:"\u8F93\u5165\u5BF9\u5E94\u7684\u5730\u5740"})})})]})})),(0,n.jsx)(I.Z,{columns:le,loading:ue,rowKey:function(l){return l.id},dataSource:te})]})})},H=(0,_.connect)(function(d){var c=d.gconfig,f=d.user,x=d.loading;return{gconfig:c,user:f,loading:x}})((0,h.memo)(Y))}}]); diff --git a/statics/p__Config__Database.0775cc3b.async.js b/statics/p__Config__Database.0775cc3b.async.js deleted file mode 100644 index 27a7b02b..00000000 --- a/statics/p__Config__Database.0775cc3b.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3929],{646:function(T,m,n){var p=n(86738),l=n(85893);m.Z=function(D){var r=D.title,M=D.text,d=D.onConfirm;return(0,l.jsx)(p.Z,{title:r,onConfirm:d,children:(0,l.jsx)("a",{children:M})})}},37594:function(T,m,n){n.d(m,{B:function(){return D}});var p=n(91321),l="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",D=(0,p.Z)({scriptUrl:l})},84298:function(T,m,n){var p=n(97857),l=n.n(p),D=n(5574),r=n.n(D),M=n(67294),d=n(58131),A=n(69400),P=n(15746),g=n(76081),c=n(85893),O=d.Z.Item,C=function(u){var I=u.title,j=u.width,$=u.left,w=u.right,b=u.formName,h=u.record,W=u.onFinish,V=u.loading,N=u.fields,Q=u.open,L=u.onCancel,Z=u.offset,z=Z===void 0?0:Z,R=u.children,K=u.Footer,U=u.onTest,G=d.Z.useForm(),Y=r()(G,1),e=Y[0],x=function(){e.validateFields().then(function(f){W(f)})};(0,M.useEffect)(function(){e.resetFields(),e.setFieldsValue(h)},[h]);var H={labelCol:{span:$},wrapperCol:{span:w}};return(0,c.jsxs)(A.Z,{style:{marginTop:z},confirmLoading:V,footer:K!==void 0?(0,c.jsx)(K,{onOk:x,onCancel:L,onTest:function(){e.validateFields().then(function(f){U(f)})}}):void 0,title:I,width:j,open:Q,onOk:x,onCancel:L,children:[R||null,(0,c.jsx)(d.Z,l()(l()({form:e},H),{},{name:b,initialValues:h,onFinish:W,children:N.map(function(i,f){return(0,c.jsx)(P.Z,{span:i.span||24,children:(0,c.jsx)(O,{label:i.label,colon:i.colon||!0,initialValue:i.initialValue,rules:[{required:i.required,message:i.message}],name:i.name,valuePropName:i.valuePropName||"value",children:(0,g.Z)(i.type,i.placeholder,i.component)})},f)})}))]})};m.Z=C},76081:function(T,m,n){var p=n(96365),l=n(72269),D=n(67294),r=n(85893),M=p.Z.TextArea,d=function(P,g){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return c||(P==="input"?(0,r.jsx)(p.Z,{placeholder:g}):P==="textarea"?(0,r.jsx)(M,{placeholder:g}):P==="switch"?(0,r.jsx)(l.Z,{}):null)};m.Z=d},46580:function(T,m,n){n.r(m);var p=n(97857),l=n.n(p),D=n(15009),r=n.n(D),M=n(99289),d=n.n(M),A=n(5574),P=n.n(A),g=n(58841),c=n(34041),O=n(58131),C=n(51904),S=n(96074),u=n(96365),I=n(53575),j=n(71577),$=n(4393),w=n(99138),b=n(71230),h=n(15746),W=n(64240),V=n(18429),N=n(8751),Q=n(40110),L=n(33160),Z=n(51042),z=n(94171),R=n(67294),K=n(84298),U=n(19478),G=n(646),Y=n(37594),e=n(85893),x=c.Z.Option,H={labelCol:{span:8},wrapperCol:{span:16}},i=function(y){var v=y.dispatch,B=y.gconfig,se=y.loading,re=O.Z.useForm(),ue=P()(re,1),J=ue[0],_e=(0,R.useState)(null),ee=P()(_e,2),X=ee[0],ne=ee[1],ae=B.envList,oe=B.envMap,le=B.databaseModal,ie=B.dbConfigData,k=B.databaseRecord,de=se.effects,q=function(s){v({type:"gconfig/save",payload:s})},te=function(){var a=d()(r()().mark(function s(t){var _;return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,v({type:"gconfig/onTestDbConfig",payload:{sql_type:t.sql_type,host:t.host,port:t.port,username:t.username,password:t.password,database:t.database}});case 2:_=o.sent,ne(_);case 4:case"end":return o.stop()}},s)}));return function(t){return a.apply(this,arguments)}}(),ce=function(){var a=d()(r()().mark(function s(){return r()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return v({type:"gconfig/fetchEnvList",payload:{page:1,size:1e4}}),_.next=3,F();case 3:case"end":return _.stop()}},s)}));return function(){return a.apply(this,arguments)}}(),F=function(){var a=d()(r()().mark(function s(){var t,_;return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,J.getFieldsValue();case 2:t=o.sent,_={name:t.name||"",database:t.database||""},t.env&&(_.env=t.env),v({type:"gconfig/fetchDbConfig",payload:l()({},_)});case 6:case"end":return o.stop()}},s)}));return function(){return a.apply(this,arguments)}}();(0,R.useEffect)(function(){ce()},[]);var Ee=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(s){return(0,e.jsx)(C.Z,{children:oe[s]})}},{title:"\u540D\u79F0",key:"name",dataIndex:"name"},{title:"\u5730\u5740",key:"host",dataIndex:"host"},{title:"\u5E93\u540D",key:"database",dataIndex:"database"},{title:"\u7AEF\u53E3\u53F7",key:"port",dataIndex:"port"},{title:"\u5E10\u53F7",key:"username",dataIndex:"username"},{title:"\u5BC6\u7801",key:"password",dataIndex:"password"},{title:"\u7C7B\u578B",key:"sql_type",dataIndex:"sql_type",render:function(s){return s===0?(0,e.jsx)(C.Z,{color:"blue",children:"MySQL"}):s===1?(0,e.jsx)(C.Z,{color:"success",children:"Postgresql"}):(0,e.jsx)(C.Z,{children:"\u672A\u77E5"})}},{title:"\u64CD\u4F5C",key:"ops",render:function(s,t){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){q({databaseRecord:t,databaseModal:!0})},children:"\u7F16\u8F91"}),(0,e.jsx)(S.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:function(){te(t)},children:"\u6D4B\u8BD5"}),(0,e.jsx)(S.Z,{type:"vertical"}),(0,e.jsx)(G.Z,{text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u914D\u7F6E\u5417?",onConfirm:d()(r()().mark(function _(){return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,v({type:"gconfig/deleteDbConfig",payload:{id:t.id}});case 2:return o.next=4,F();case 4:case"end":return o.stop()}},_)}))})]})}}],me=function(){var a=d()(r()().mark(function s(t){return r()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(k.id){E.next=5;break}return E.next=3,v({type:"gconfig/insertDbConfig",payload:l()({},t)});case 3:E.next=7;break;case 5:return E.next=7,v({type:"gconfig/updateDbConfig",payload:l()({id:k.id},t)});case 7:return E.next=9,F();case 9:case"end":return E.stop()}},s)}));return function(t){return a.apply(this,arguments)}}(),pe=[{name:"sql_type",label:"\u6570\u636E\u5E93\u7C7B\u578B",required:!0,component:(0,e.jsx)(c.Z,{children:Object.keys(U.Z.SQL_TYPE).map(function(a){return(0,e.jsx)(x,{value:parseInt(a,10),children:U.Z.SQL_TYPE[a]},a)})}),type:"select"},{name:"env",label:"\u73AF\u5883",required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",type:"select",component:(0,e.jsx)(c.Z,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",children:ae.map(function(a){return(0,e.jsx)(x,{value:a.id,children:a.name},a.id)})})},{name:"name",label:"\u914D\u7F6E\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u914D\u7F6E\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u914D\u7F6E\u540D\u79F0"},{name:"host",label:"\u5730\u5740",required:!0,message:"\u8BF7\u8F93\u5165host",type:"input",placeholder:"\u8BF7\u8F93\u5165host"},{name:"port",label:"\u7AEF\u53E3",required:!0,message:"\u8BF7\u8F93\u5165port",type:"input",placeholder:"\u8BF7\u8F93\u5165port"},{name:"database",label:"\u5E93\u540D",required:!0,message:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u540D",type:"input",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u540D"},{name:"username",label:"\u5E10\u53F7",required:!0,message:"\u8BF7\u8F93\u5165\u5E10\u53F7",type:"input",placeholder:"\u8BF7\u8F93\u5165\u5E10\u53F7"},{name:"password",label:"\u5BC6\u7801",required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",component:(0,e.jsx)(u.Z,{type:"password",placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"})}],De=function(s){var t=s.onOk,_=s.onCancel,E=s.onTest;return(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{style:{display:"inline-block",lineHeight:"32px",float:"left",marginLeft:4},children:X===null?(0,e.jsx)("span",{children:(0,e.jsx)(I.Z,{status:"default",text:"\u672A\u6D4B\u8BD5\u8FDE\u63A5"})}):(0,e.jsx)(I.Z,{status:X?"success":"error",text:X?"\u6D4B\u8BD5\u8FDE\u63A5\u6210\u529F":"\u6D4B\u8BD5\u8FDE\u63A5\u5931\u8D25"})}),(0,e.jsxs)(j.ZP,{onClick:E,type:"dashed",style:{marginLeft:8},children:[(0,e.jsx)(Y.B,{type:"icon-fasong1"})," \u6D4B\u8BD5\u8FDE\u63A5"]}),(0,e.jsxs)(j.ZP,{onClick:_,style:{marginLeft:8},children:[(0,e.jsx)(V.Z,{})," \u53D6\u6D88"]}),(0,e.jsxs)(j.ZP,{onClick:t,type:"primary",children:[(0,e.jsx)(N.Z,{})," \u786E\u5B9A"]})]})};return(0,e.jsx)(g._z,{title:"\u6570\u636E\u5E93\u914D\u7F6E\u5217\u8868",breadcrumb:null,children:(0,e.jsxs)($.Z,{children:[(0,e.jsx)(K.Z,{Footer:De,onTest:te,width:520,record:k,fields:pe,title:"\u6570\u636E\u5E93\u914D\u7F6E",onFinish:me,left:6,right:18,open:le,offset:-50,onCancel:function(){q({databaseModal:!1})},children:(0,e.jsx)(w.Z,{type:"info",style:{marginBottom:12},closable:!0,message:"\u{1F942} \u5728\u6DFB\u52A0/\u7F16\u8F91\u6570\u636E\u5E93\u914D\u7F6E\u4E4B\u524D\uFF0C\u8BB0\u5F97\u5148\u6D4B\u8BD5\u8FDE\u63A5\u662F\u5426\u53EF\u7528\u54DF\uFF01"})}),(0,e.jsx)(O.Z,l()(l()({},H),{},{form:J,children:(0,e.jsxs)(b.Z,{gutter:8,children:[(0,e.jsx)(h.Z,{span:6,children:(0,e.jsx)(O.Z.Item,{label:"\u73AF\u5883",name:"env",children:(0,e.jsx)(c.Z,{placeholder:"\u9009\u62E9\u73AF\u5883",allowClear:!0,children:ae.map(function(a){return(0,e.jsx)(x,{value:a.id,children:a.name},a.id)})})})}),(0,e.jsx)(h.Z,{span:6,children:(0,e.jsx)(O.Z.Item,{label:"\u914D\u7F6E\u540D",name:"name",children:(0,e.jsx)(u.Z,{placeholder:"\u8F93\u5165\u6570\u636E\u5E93\u914D\u7F6E\u540D"})})}),(0,e.jsx)(h.Z,{span:6,children:(0,e.jsx)(O.Z.Item,{label:"\u6570\u636E\u5E93\u540D",name:"database",children:(0,e.jsx)(u.Z,{placeholder:"\u8F93\u5165\u6570\u636E\u5E93\u540D"})})}),(0,e.jsx)(h.Z,{span:6,children:(0,e.jsxs)("div",{style:{float:"right"},children:[(0,e.jsxs)(j.ZP,{type:"primary",onClick:F,children:[(0,e.jsx)(Q.Z,{}),"\u67E5\u8BE2"]}),(0,e.jsxs)(j.ZP,{style:{marginLeft:8},onClick:d()(r()().mark(function a(){return r()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return J.resetFields(),t.next=3,F();case 3:case"end":return t.stop()}},a)})),children:[(0,e.jsx)(L.Z,{}),"\u91CD\u7F6E"]})]})})]})})),(0,e.jsx)(b.Z,{style:{marginTop:12},children:(0,e.jsxs)(h.Z,{span:24,children:[(0,e.jsx)(b.Z,{style:{marginBottom:16},children:(0,e.jsxs)(j.ZP,{type:"primary",onClick:function(){q({databaseModal:!0,databaseRecord:{sql_type:0}}),ne(null)},children:[(0,e.jsx)(Z.Z,{})," \u6DFB\u52A0\u914D\u7F6E"]})}),(0,e.jsx)(W.Z,{columns:Ee,dataSource:ie,rowKey:function(s){return s.id},loading:de["gconfig/fetchDbConfig"]})]})})]})})};m.default=(0,z.connect)(function(f){var y=f.loading,v=f.gconfig;return{loading:y,gconfig:v}})(i)}}]); diff --git a/statics/p__Config__Database.486e0bbc.async.js b/statics/p__Config__Database.486e0bbc.async.js new file mode 100644 index 00000000..274a5c67 --- /dev/null +++ b/statics/p__Config__Database.486e0bbc.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3929],{16165:function(x,E,e){var a=e(1413),s=e(4942),m=e(45987),t=e(67294),v=e(93967),u=e.n(v),P=e(63017),i=e(56736),p=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],r=t.forwardRef(function(o,O){var g=o.className,d=o.component,M=o.viewBox,y=o.spin,B=o.rotate,Z=o.tabIndex,I=o.onClick,f=o.children,L=(0,m.Z)(o,p);(0,i.Kp)(Boolean(d||f),"Should have `component` prop or `children`."),(0,i.C3)();var U=t.useContext(P.Z),W=U.prefixCls,F=W===void 0?"anticon":W,K=U.rootClassName,S=u()(K,F,g),V=u()((0,s.Z)({},"".concat(F,"-spin"),!!y)),N=B?{msTransform:"rotate(".concat(B,"deg)"),transform:"rotate(".concat(B,"deg)")}:void 0,T=(0,a.Z)((0,a.Z)({},i.vD),{},{className:V,style:N,viewBox:M});M||delete T.viewBox;var $=function(){return d?t.createElement(d,(0,a.Z)({},T),f):f?((0,i.Kp)(Boolean(M)||t.Children.count(f)===1&&t.isValidElement(f)&&t.Children.only(f).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),t.createElement("svg",(0,a.Z)((0,a.Z)({},T),{},{viewBox:M}),f)):null},R=Z;return R===void 0&&I&&(R=-1),t.createElement("span",(0,a.Z)((0,a.Z)({role:"img"},L),{},{ref:O,tabIndex:R,onClick:I,className:S}),$())});r.displayName="AntdIcon",E.Z=r},91321:function(x,E,e){e.d(E,{Z:function(){return p}});var a=e(1413),s=e(45987),m=e(67294),t=e(16165),v=["type","children"],u=new Set;function P(r){return Boolean(typeof r=="string"&&r.length&&!u.has(r))}function i(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,O=r[o];if(P(O)){var g=document.createElement("script");g.setAttribute("src",O),g.setAttribute("data-namespace",O),r.length>o+1&&(g.onload=function(){i(r,o+1)},g.onerror=function(){i(r,o+1)}),u.add(O),document.body.appendChild(g)}}function p(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=r.scriptUrl,O=r.extraCommonProps,g=O===void 0?{}:O;o&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(o)?i(o.reverse()):i([o]));var d=m.forwardRef(function(M,y){var B=M.type,Z=M.children,I=(0,s.Z)(M,v),f=null;return M.type&&(f=m.createElement("use",{xlinkHref:"#".concat(B)})),Z&&(f=Z),m.createElement(t.Z,(0,a.Z)((0,a.Z)((0,a.Z)({},g),I),{},{ref:y}),f)});return d.displayName="Iconfont",d}},8751:function(x,E,e){e.d(E,{Z:function(){return i}});var a=e(1413),s=e(67294),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"check-circle",theme:"outlined"},t=m,v=e(84089),u=function(r,o){return s.createElement(v.Z,(0,a.Z)((0,a.Z)({},r),{},{ref:o,icon:t}))},P=s.forwardRef(u),i=P},18429:function(x,E,e){e.d(E,{Z:function(){return i}});var a=e(1413),s=e(67294),m={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},t=m,v=e(84089),u=function(r,o){return s.createElement(v.Z,(0,a.Z)((0,a.Z)({},r),{},{ref:o,icon:t}))},P=s.forwardRef(u),i=P},51042:function(x,E,e){var a=e(1413),s=e(67294),m=e(42110),t=e(84089),v=function(i,p){return s.createElement(t.Z,(0,a.Z)((0,a.Z)({},i),{},{ref:p,icon:m.Z}))},u=s.forwardRef(v);E.Z=u},40110:function(x,E,e){var a=e(1413),s=e(67294),m=e(509),t=e(84089),v=function(i,p){return s.createElement(t.Z,(0,a.Z)((0,a.Z)({},i),{},{ref:p,icon:m.Z}))},u=s.forwardRef(v);E.Z=u},646:function(x,E,e){var a=e(86738),s=e(85893);E.Z=function(m){var t=m.title,v=m.text,u=m.onConfirm;return(0,s.jsx)(a.Z,{title:t,onConfirm:u,children:(0,s.jsx)("a",{children:v})})}},37594:function(x,E,e){e.d(E,{B:function(){return m}});var a=e(91321),s="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",m=(0,a.Z)({scriptUrl:s})},84298:function(x,E,e){var a=e(97857),s=e.n(a),m=e(5574),t=e.n(m),v=e(67294),u=e(8232),P=e(17788),i=e(15746),p=e(76081),r=e(85893),o=u.Z.Item,O=function(d){var M=d.title,y=d.width,B=d.left,Z=d.right,I=d.formName,f=d.record,L=d.onFinish,U=d.loading,W=d.fields,F=d.open,K=d.onCancel,S=d.offset,V=S===void 0?0:S,N=d.children,T=d.Footer,$=d.onTest,R=u.Z.useForm(),G=t()(R,1),n=G[0],z=function(){n.validateFields().then(function(b){L(b)})};(0,v.useEffect)(function(){n.resetFields(),n.setFieldsValue(f)},[f]);var Y={labelCol:{span:B},wrapperCol:{span:Z}};return(0,r.jsxs)(P.Z,{style:{marginTop:V},confirmLoading:U,footer:T!==void 0?(0,r.jsx)(T,{onOk:z,onCancel:K,onTest:function(){n.validateFields().then(function(b){$(b)})}}):void 0,title:M,width:y,open:F,onOk:z,onCancel:K,children:[N||null,(0,r.jsx)(u.Z,s()(s()({form:n},Y),{},{name:I,initialValues:f,onFinish:L,children:W.map(function(C,b){return(0,r.jsx)(i.Z,{span:C.span||24,children:(0,r.jsx)(o,{label:C.label,colon:C.colon||!0,initialValue:C.initialValue,rules:[{required:C.required,message:C.message}],name:C.name,valuePropName:C.valuePropName||"value",children:(0,p.Z)(C.type,C.placeholder,C.component)})},b)})}))]})};E.Z=O},76081:function(x,E,e){var a=e(55102),s=e(72269),m=e(67294),t=e(85893),v=a.Z.TextArea,u=function(i,p){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return r||(i==="input"?(0,t.jsx)(a.Z,{placeholder:p}):i==="textarea"?(0,t.jsx)(v,{placeholder:p}):i==="switch"?(0,t.jsx)(s.Z,{}):null)};E.Z=u},46580:function(x,E,e){e.r(E);var a=e(97857),s=e.n(a),m=e(15009),t=e.n(m),v=e(99289),u=e.n(v),P=e(5574),i=e.n(P),p=e(58841),r=e(34041),o=e(8232),O=e(66309),g=e(96074),d=e(55102),M=e(40411),y=e(14726),B=e(4393),Z=e(38925),I=e(71230),f=e(15746),L=e(72051),U=e(18429),W=e(8751),F=e(40110),K=e(43471),S=e(51042),V=e(90596),N=e(67294),T=e(84298),$=e(19478),R=e(646),G=e(37594),n=e(85893),z=r.Z.Option,Y={labelCol:{span:8},wrapperCol:{span:16}},C=function(w){var A=w.dispatch,H=w.gconfig,re=w.loading,se=o.Z.useForm(),oe=i()(se,1),J=oe[0],le=(0,N.useState)(null),ee=i()(le,2),X=ee[0],ne=ee[1],te=H.envList,_e=H.envMap,ue=H.databaseModal,ie=H.dbConfigData,k=H.databaseRecord,de=re.effects,q=function(c){A({type:"gconfig/save",payload:c})},ae=function(){var l=u()(t()().mark(function c(_){var D;return t()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,A({type:"gconfig/onTestDbConfig",payload:{sql_type:_.sql_type,host:_.host,port:_.port,username:_.username,password:_.password,database:_.database}});case 2:D=h.sent,ne(D);case 4:case"end":return h.stop()}},c)}));return function(_){return l.apply(this,arguments)}}(),ce=function(){var l=u()(t()().mark(function c(){return t()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return A({type:"gconfig/fetchEnvList",payload:{page:1,size:1e4}}),D.next=3,Q();case 3:case"end":return D.stop()}},c)}));return function(){return l.apply(this,arguments)}}(),Q=function(){var l=u()(t()().mark(function c(){var _,D;return t()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,J.getFieldsValue();case 2:_=h.sent,D={name:_.name||"",database:_.database||""},_.env&&(D.env=_.env),A({type:"gconfig/fetchDbConfig",payload:s()({},D)});case 6:case"end":return h.stop()}},c)}));return function(){return l.apply(this,arguments)}}();(0,N.useEffect)(function(){ce()},[]);var me=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(c){return(0,n.jsx)(O.Z,{children:_e[c]})}},{title:"\u540D\u79F0",key:"name",dataIndex:"name"},{title:"\u5730\u5740",key:"host",dataIndex:"host"},{title:"\u5E93\u540D",key:"database",dataIndex:"database"},{title:"\u7AEF\u53E3\u53F7",key:"port",dataIndex:"port"},{title:"\u5E10\u53F7",key:"username",dataIndex:"username"},{title:"\u5BC6\u7801",key:"password",dataIndex:"password"},{title:"\u7C7B\u578B",key:"sql_type",dataIndex:"sql_type",render:function(c){return c===0?(0,n.jsx)(O.Z,{color:"blue",children:"MySQL"}):c===1?(0,n.jsx)(O.Z,{color:"success",children:"Postgresql"}):(0,n.jsx)(O.Z,{children:"\u672A\u77E5"})}},{title:"\u64CD\u4F5C",key:"ops",render:function(c,_){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){q({databaseRecord:_,databaseModal:!0})},children:"\u7F16\u8F91"}),(0,n.jsx)(g.Z,{type:"vertical"}),(0,n.jsx)("a",{onClick:function(){ae(_)},children:"\u6D4B\u8BD5"}),(0,n.jsx)(g.Z,{type:"vertical"}),(0,n.jsx)(R.Z,{text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u914D\u7F6E\u5417?",onConfirm:u()(t()().mark(function D(){return t()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,A({type:"gconfig/deleteDbConfig",payload:{id:_.id}});case 2:return h.next=4,Q();case 4:case"end":return h.stop()}},D)}))})]})}}],Ee=function(){var l=u()(t()().mark(function c(_){return t()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:if(k.id){j.next=5;break}return j.next=3,A({type:"gconfig/insertDbConfig",payload:s()({},_)});case 3:j.next=7;break;case 5:return j.next=7,A({type:"gconfig/updateDbConfig",payload:s()({id:k.id},_)});case 7:return j.next=9,Q();case 9:case"end":return j.stop()}},c)}));return function(_){return l.apply(this,arguments)}}(),fe=[{name:"sql_type",label:"\u6570\u636E\u5E93\u7C7B\u578B",required:!0,component:(0,n.jsx)(r.Z,{children:Object.keys($.Z.SQL_TYPE).map(function(l){return(0,n.jsx)(z,{value:parseInt(l,10),children:$.Z.SQL_TYPE[l]},l)})}),type:"select"},{name:"env",label:"\u73AF\u5883",required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",type:"select",component:(0,n.jsx)(r.Z,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",children:te.map(function(l){return(0,n.jsx)(z,{value:l.id,children:l.name},l.id)})})},{name:"name",label:"\u914D\u7F6E\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u914D\u7F6E\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u914D\u7F6E\u540D\u79F0"},{name:"host",label:"\u5730\u5740",required:!0,message:"\u8BF7\u8F93\u5165host",type:"input",placeholder:"\u8BF7\u8F93\u5165host"},{name:"port",label:"\u7AEF\u53E3",required:!0,message:"\u8BF7\u8F93\u5165port",type:"input",placeholder:"\u8BF7\u8F93\u5165port"},{name:"database",label:"\u5E93\u540D",required:!0,message:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u540D",type:"input",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u540D"},{name:"username",label:"\u5E10\u53F7",required:!0,message:"\u8BF7\u8F93\u5165\u5E10\u53F7",type:"input",placeholder:"\u8BF7\u8F93\u5165\u5E10\u53F7"},{name:"password",label:"\u5BC6\u7801",required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801",component:(0,n.jsx)(d.Z,{type:"password",placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"})}],ve=function(c){var _=c.onOk,D=c.onCancel,j=c.onTest;return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{display:"inline-block",lineHeight:"32px",float:"left",marginLeft:4},children:X===null?(0,n.jsx)("span",{children:(0,n.jsx)(M.Z,{status:"default",text:"\u672A\u6D4B\u8BD5\u8FDE\u63A5"})}):(0,n.jsx)(M.Z,{status:X?"success":"error",text:X?"\u6D4B\u8BD5\u8FDE\u63A5\u6210\u529F":"\u6D4B\u8BD5\u8FDE\u63A5\u5931\u8D25"})}),(0,n.jsxs)(y.ZP,{onClick:j,type:"dashed",style:{marginLeft:8},children:[(0,n.jsx)(G.B,{type:"icon-fasong1"})," \u6D4B\u8BD5\u8FDE\u63A5"]}),(0,n.jsxs)(y.ZP,{onClick:D,style:{marginLeft:8},children:[(0,n.jsx)(U.Z,{})," \u53D6\u6D88"]}),(0,n.jsxs)(y.ZP,{onClick:_,type:"primary",children:[(0,n.jsx)(W.Z,{})," \u786E\u5B9A"]})]})};return(0,n.jsx)(p._z,{title:"\u6570\u636E\u5E93\u914D\u7F6E\u5217\u8868",breadcrumb:null,children:(0,n.jsxs)(B.Z,{children:[(0,n.jsx)(T.Z,{Footer:ve,onTest:ae,width:520,record:k,fields:fe,title:"\u6570\u636E\u5E93\u914D\u7F6E",onFinish:Ee,left:6,right:18,open:ue,offset:-50,onCancel:function(){q({databaseModal:!1})},children:(0,n.jsx)(Z.Z,{type:"info",style:{marginBottom:12},closable:!0,message:"\u{1F942} \u5728\u6DFB\u52A0/\u7F16\u8F91\u6570\u636E\u5E93\u914D\u7F6E\u4E4B\u524D\uFF0C\u8BB0\u5F97\u5148\u6D4B\u8BD5\u8FDE\u63A5\u662F\u5426\u53EF\u7528\u54DF\uFF01"})}),(0,n.jsx)(o.Z,s()(s()({},Y),{},{form:J,children:(0,n.jsxs)(I.Z,{gutter:8,children:[(0,n.jsx)(f.Z,{span:6,children:(0,n.jsx)(o.Z.Item,{label:"\u73AF\u5883",name:"env",children:(0,n.jsx)(r.Z,{placeholder:"\u9009\u62E9\u73AF\u5883",allowClear:!0,children:te.map(function(l){return(0,n.jsx)(z,{value:l.id,children:l.name},l.id)})})})}),(0,n.jsx)(f.Z,{span:6,children:(0,n.jsx)(o.Z.Item,{label:"\u914D\u7F6E\u540D",name:"name",children:(0,n.jsx)(d.Z,{placeholder:"\u8F93\u5165\u6570\u636E\u5E93\u914D\u7F6E\u540D"})})}),(0,n.jsx)(f.Z,{span:6,children:(0,n.jsx)(o.Z.Item,{label:"\u6570\u636E\u5E93\u540D",name:"database",children:(0,n.jsx)(d.Z,{placeholder:"\u8F93\u5165\u6570\u636E\u5E93\u540D"})})}),(0,n.jsx)(f.Z,{span:6,children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsxs)(y.ZP,{type:"primary",onClick:Q,children:[(0,n.jsx)(F.Z,{}),"\u67E5\u8BE2"]}),(0,n.jsxs)(y.ZP,{style:{marginLeft:8},onClick:u()(t()().mark(function l(){return t()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return J.resetFields(),_.next=3,Q();case 3:case"end":return _.stop()}},l)})),children:[(0,n.jsx)(K.Z,{}),"\u91CD\u7F6E"]})]})})]})})),(0,n.jsx)(I.Z,{style:{marginTop:12},children:(0,n.jsxs)(f.Z,{span:24,children:[(0,n.jsx)(I.Z,{style:{marginBottom:16},children:(0,n.jsxs)(y.ZP,{type:"primary",onClick:function(){q({databaseModal:!0,databaseRecord:{sql_type:0}}),ne(null)},children:[(0,n.jsx)(S.Z,{})," \u6DFB\u52A0\u914D\u7F6E"]})}),(0,n.jsx)(L.Z,{columns:me,dataSource:ie,rowKey:function(c){return c.id},loading:de["gconfig/fetchDbConfig"]})]})})]})})};E.default=(0,V.connect)(function(b){var w=b.loading,A=b.gconfig;return{loading:w,gconfig:A}})(C)}}]); diff --git a/statics/p__Config__Environment.2553c25c.async.js b/statics/p__Config__Environment.2553c25c.async.js deleted file mode 100644 index 02c04fc4..00000000 --- a/statics/p__Config__Environment.2553c25c.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9551],{16165:function(G,P,e){var d=e(1413),f=e(4942),u=e(45987),n=e(67294),r=e(94184),M=e.n(r),y=e(63017),s=e(41755),_=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],l=n.forwardRef(function(m,x){var i=m.className,a=m.component,D=m.viewBox,v=m.spin,E=m.rotate,g=m.tabIndex,W=m.onClick,C=m.children,Z=(0,u.Z)(m,_);(0,s.Kp)(Boolean(a||C),"Should have `component` prop or `children`."),(0,s.C3)();var $=n.useContext(y.Z),U=$.prefixCls,t=U===void 0?"anticon":U,I=$.rootClassName,p=M()(I,t,i),o=M()((0,f.Z)({},"".concat(t,"-spin"),!!v)),c=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,j=(0,d.Z)((0,d.Z)({},s.vD),{},{className:o,style:c,viewBox:D});D||delete j.viewBox;var b=function(){return a?n.createElement(a,(0,d.Z)({},j),C):C?((0,s.Kp)(Boolean(D)||n.Children.count(C)===1&&n.isValidElement(C)&&n.Children.only(C).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),n.createElement("svg",(0,d.Z)((0,d.Z)({},j),{},{viewBox:D}),C)):null},T=g;return T===void 0&&W&&(T=-1),n.createElement("span",(0,d.Z)((0,d.Z)({role:"img"},Z),{},{ref:x,tabIndex:T,onClick:W,className:p}),b())});l.displayName="AntdIcon",P.Z=l},91321:function(G,P,e){e.d(P,{Z:function(){return _}});var d=e(1413),f=e(45987),u=e(67294),n=e(16165),r=["type","children"],M=new Set;function y(l){return Boolean(typeof l=="string"&&l.length&&!M.has(l))}function s(l){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,x=l[m];if(y(x)){var i=document.createElement("script");i.setAttribute("src",x),i.setAttribute("data-namespace",x),l.length>m+1&&(i.onload=function(){s(l,m+1)},i.onerror=function(){s(l,m+1)}),M.add(x),document.body.appendChild(i)}}function _(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=l.scriptUrl,x=l.extraCommonProps,i=x===void 0?{}:x;m&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(m)?s(m.reverse()):s([m]));var a=u.forwardRef(function(D,v){var E=D.type,g=D.children,W=(0,f.Z)(D,r),C=null;return D.type&&(C=u.createElement("use",{xlinkHref:"#".concat(E)})),g&&(C=g),u.createElement(n.Z,(0,d.Z)((0,d.Z)((0,d.Z)({},i),W),{},{ref:v}),C)});return a.displayName="Iconfont",a}},51042:function(G,P,e){var d=e(1413),f=e(67294),u=e(42110),n=e(84089),r=function(y,s){return f.createElement(n.Z,(0,d.Z)((0,d.Z)({},y),{},{ref:s,icon:u.Z}))};r.displayName="PlusOutlined",P.Z=f.forwardRef(r)},63100:function(G,P,e){var d=e(67294),f=e(61607);P.Z=(0,f.a1)("send",!0,function(u){return d.createElement("svg",{width:u.size,height:u.size,viewBox:"0 0 48 48",fill:"none"},d.createElement("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:u.colors[0],strokeWidth:u.strokeWidth,strokeLinejoin:u.strokeLinejoin}),d.createElement("path",{d:"M43.0001 5L22.1001 25.9",stroke:u.colors[0],strokeWidth:u.strokeWidth,strokeLinecap:u.strokeLinecap,strokeLinejoin:u.strokeLinejoin}))})},20659:function(G,P,e){var d=e(97857),f=e.n(d),u=e(19478),n=e(34041),r=e(96365),M=e(49288),y=e(53575),s=e(99612),_=e(85893),l=n.Z.Option,m=r.Z.TextArea,x=[{label:"${response}",value:"${response}"},{label:"${status_code}",value:"${status_code}"}];P.Z={CaseAsserts:[{name:"name",label:"\u9A8C\u8BC1\u70B9",required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",component:null,span:24},{name:"assert_type",label:"\u6821\u9A8C\u65B9\u5F0F",required:!0,component:(0,_.jsx)(n.Z,{placeholder:"\u9009\u62E9\u6821\u9A8C\u65B9\u5F0F\uFF0C\u652F\u6301JSON\u6DF1\u5C42\u6B21\u5224\u65AD",children:Object.keys(u.Z.ASSERT_TYPE).map(function(i){return(0,_.jsx)(l,{value:i,children:u.Z.ASSERT_TYPE[i]},i)})}),type:"select",span:24},{name:"expected",label:"\u9884\u671F\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C",component:(0,_.jsx)(M.Z,{options:[],children:(0,_.jsx)(m,{placeholder:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24},{name:"actually",label:"\u5B9E\u9645\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C",component:(0,_.jsx)(M.Z,{options:x,children:(0,_.jsx)(m,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24}],CaseDetail:[{name:"name",label:"\u573A\u666F\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",component:null,span:8},{name:"priority",label:"\u4F18\u5148\u7EA7",required:!0,component:(0,_.jsx)(n.Z,{placeholder:"\u8BF7\u9009\u62E9\u4F18\u5148\u7EA7",children:u.Z.PRIORITY.map(function(i){return(0,_.jsx)(l,{value:i,children:i},i)})}),type:"select",span:8},{name:"status",label:"\u72B6\u6001",required:!0,component:(0,_.jsx)(n.Z,{placeholder:"\u8BF7\u9009\u62E9\u5F53\u524D\u573A\u666F\u72B6\u6001",children:Object.keys(u.Z.CASE_STATUS).map(function(i){return(0,_.jsx)(l,{value:i,children:(0,_.jsx)(y.Z,f()({},u.Z.CASE_BADGE[i]))},i)})}),type:"select",span:8},{name:"request_type",label:"\u8BF7\u6C42\u7C7B\u578B",required:!0,component:(0,_.jsx)(n.Z,{placeholder:"\u8BF7\u9009\u62E9\u8BF7\u6C42\u534F\u8BAE",children:Object.keys(s.XN).map(function(i){return(0,_.jsx)(l,{value:i,disabled:i!=="1",children:s.XN[i]},i)})}),type:"select",span:8},{name:"tag",label:"\u573A\u666F\u6807\u7B7E",required:!1,component:(0,_.jsx)(n.Z,{mode:"tags",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u6807\u7B7E"}),type:"select",span:8},{name:"case_type",label:"\u573A\u666F\u7C7B\u578B",required:!0,component:(0,_.jsxs)(n.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F\u7C7B\u578B",children:[(0,_.jsx)(l,{value:0,children:"\u666E\u901A\u573A\u666F"}),(0,_.jsx)(l,{value:1,children:"\u524D\u7F6E\u573A\u666F"}),(0,_.jsx)(l,{value:2,children:"\u6570\u636E\u5DE5\u5382"})]}),type:"select",span:8}],Environment:[{name:"name",label:"\u73AF\u5883\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",component:null,span:24},{name:"remarks",label:"\u5907\u6CE8",required:!1,message:"\u8BF7\u8F93\u5165\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",component:(0,_.jsx)(r.Z.TextArea,{maxLength:200}),span:24}]}},12554:function(G,P,e){e.d(P,{Z:function(){return D}});var d=e(67294),f=e(98293),u=e(83062),n={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},r=e(19478),M=Object.defineProperty,y=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,l=(v,E,g)=>E in v?M(v,E,{enumerable:!0,configurable:!0,writable:!0,value:g}):v[E]=g,m=(v,E)=>{for(var g in E||(E={}))s.call(E,g)&&l(v,g,E[g]);if(y)for(var g of y(E))_.call(E,g)&&l(v,g,E[g]);return v};const x=v=>React.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},v),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var i="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",a=e(85893),D=function(v){var E=v.user,g=v.size,W=g===void 0?24:g,C=v.marginLeft,Z=C===void 0?6:C;return E===void 0?(0,a.jsx)(f.C,{size:W,src:i,alt:"avatar"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f.C,{size:W,className:n.avatar,src:E.avatar||r.Z.AVATAR_URL,alt:"avatar"}),(0,a.jsx)(u.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:E.deleted_at?(0,a.jsx)("del",{children:(0,a.jsx)("a",{style:{marginLeft:Z,fontSize:13,color:"#ccc"},href:"/#/member/".concat(E.id),rel:"noreferrer",children:E.name})}):(0,a.jsx)("a",{onClick:function(U){U.stopPropagation()},style:{marginLeft:Z,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(E.id),rel:"noreferrer",children:E.name})})]})}},99612:function(G,P,e){e.d(P,{e5:function(){return i},mi:function(){return x},dh:function(){return m},XN:function(){return _}});var d=e(63100),f=e(97857),u=e.n(f),n=e(37594),r=e(85893),M=function(a){var D=a.icon,v=a.text,E=a.font,g=E===void 0?13:E,W=a.style,C=a.onClick,Z=a.back,$=Z===void 0?!0:Z;return $?(0,r.jsxs)("span",{onClick:C,style:u()({},W),children:[(0,r.jsx)(n.B,{type:D,style:{fontSize:g}})," ",v]}):(0,r.jsxs)("span",{onClick:C,style:u()({},W),children:[v," ",(0,r.jsx)(n.B,{style:{fontSize:g},type:D})]})},y=e(67294),s=e(51904),_={1:(0,r.jsxs)("span",{children:[(0,r.jsx)(d.Z,{theme:"outline",size:"14",fill:"#7ed321"})," HTTP"]}),2:(0,r.jsx)(M,{font:14,icon:"icon-GRPC",text:"GRPC"}),3:(0,r.jsx)(M,{font:14,icon:"icon-a-dubbo1",text:"Dubbo"})},l={1:(0,r.jsx)(s.Z,{color:"success",children:"HTTP"}),2:(0,r.jsx)(s.Z,{color:"orange",children:"GRPC"}),3:(0,r.jsx)(s.Z,{color:"blue",children:"DUBBO"})},m={GET:(0,r.jsx)(s.Z,{color:"success",children:"GET"}),POST:(0,r.jsx)(s.Z,{color:"blue",children:"POST"}),PUT:(0,r.jsx)(s.Z,{color:"cyan",children:"PUT"}),DELETE:(0,r.jsx)(s.Z,{color:"error",children:"DELETE"})},x={0:(0,r.jsx)(s.Z,{children:"\u666E\u901A"}),1:(0,r.jsx)(s.Z,{color:"blue",children:"\u6D4B\u8BD5\u8BA1\u5212"}),2:(0,r.jsx)(s.Z,{color:"success",children:"CI"}),3:(0,r.jsx)(s.Z,{children:"\u5176\u4ED6"})},i={0:(0,r.jsx)(s.Z,{color:"success",style:{marginLeft:8},children:"\u666E\u901A"}),1:(0,r.jsx)(s.Z,{color:"blue",style:{marginLeft:8},children:"\u524D\u7F6E"}),2:(0,r.jsx)(s.Z,{color:"warning",style:{marginLeft:8},children:"\u6570\u636E\u5DE5\u5382"})}},37594:function(G,P,e){e.d(P,{B:function(){return u}});var d=e(91321),f="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",u=(0,d.Z)({scriptUrl:f})},84298:function(G,P,e){var d=e(97857),f=e.n(d),u=e(5574),n=e.n(u),r=e(67294),M=e(58131),y=e(69400),s=e(15746),_=e(76081),l=e(85893),m=M.Z.Item,x=function(a){var D=a.title,v=a.width,E=a.left,g=a.right,W=a.formName,C=a.record,Z=a.onFinish,$=a.loading,U=a.fields,t=a.open,I=a.onCancel,p=a.offset,o=p===void 0?0:p,c=a.children,j=a.Footer,b=a.onTest,T=M.Z.useForm(),V=n()(T,1),z=V[0],w=function(){z.validateFields().then(function(X){Z(X)})};(0,r.useEffect)(function(){z.resetFields(),z.setFieldsValue(C)},[C]);var h={labelCol:{span:E},wrapperCol:{span:g}};return(0,l.jsxs)(y.Z,{style:{marginTop:o},confirmLoading:$,footer:j!==void 0?(0,l.jsx)(j,{onOk:w,onCancel:I,onTest:function(){z.validateFields().then(function(X){b(X)})}}):void 0,title:D,width:v,open:t,onOk:w,onCancel:I,children:[c||null,(0,l.jsx)(M.Z,f()(f()({form:z},h),{},{name:W,initialValues:C,onFinish:Z,children:U.map(function(N,X){return(0,l.jsx)(s.Z,{span:N.span||24,children:(0,l.jsx)(m,{label:N.label,colon:N.colon||!0,initialValue:N.initialValue,rules:[{required:N.required,message:N.message}],name:N.name,valuePropName:N.valuePropName||"value",children:(0,_.Z)(N.type,N.placeholder,N.component)})},X)})}))]})};P.Z=x},76081:function(G,P,e){var d=e(96365),f=e(72269),u=e(67294),n=e(85893),r=d.Z.TextArea,M=function(s,_){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return l||(s==="input"?(0,n.jsx)(d.Z,{placeholder:_}):s==="textarea"?(0,n.jsx)(r,{placeholder:_}):s==="switch"?(0,n.jsx)(f.Z,{}):null)};P.Z=M},69372:function(G,P,e){e.r(P);var d=e(97857),f=e.n(d),u=e(15009),n=e.n(u),r=e(99289),M=e.n(r),y=e(12444),s=e.n(y),_=e(72004),l=e.n(_),m=e(25098),x=e.n(m),i=e(31996),a=e.n(i),D=e(26037),v=e.n(D),E=e(9783),g=e.n(E),W=e(67294),C=e(96074),Z=e(75081),$=e(4393),U=e(71230),t=e(15746),I=e(71577),p=e(96365),o=e(64240),c=e(58841),j=e(51042),b=e(89609),T=e(10981),V=e(84298),z=e(20659),w=e(12554),h=e(85893),N=function(X){a()(J,X);var q=v()(J);function J(){var O;s()(this,J);for(var Y=arguments.length,H=new Array(Y),F=0;F0&&A[0]!==void 0?A[0]:O.state.pagination.current,K=A.length>1&&A[1]!==void 0?A[1]:O.state.pagination.pageSize,R=A.length>2&&A[2]!==void 0?A[2]:O.state.name,O.setState({loading:!0}),k.next=6,(0,b.e9)({page:L,size:K,name:R});case 6:S=k.sent,T.Z.response(S)&&O.setState({data:S.data,pagination:{total:S.total,current:L,pageSize:K}}),O.setState({loading:!1});case 9:case"end":return k.stop()}},B)}))),g()(x()(O),"onSearch",function(){var B=M()(n()().mark(function L(K){return n()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,O.fetchEnvironmentList(1,O.state.pagination.pageSize,K);case 2:case"end":return S.stop()}},L)}));return function(L){return B.apply(this,arguments)}}()),g()(x()(O),"onFinish",function(){var B=M()(n()().mark(function L(K){var R,S;return n()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(R=f()(f()({},K),{},{id:O.state.record.id}),O.state.record.id!==0){Q.next=7;break}return Q.next=4,(0,b.y1)(R);case 4:S=Q.sent,Q.next=10;break;case 7:return Q.next=9,(0,b.Wz)(R);case 9:S=Q.sent;case 10:return T.Z.response(S,!0)&&O.setState({visible:!1}),Q.next=13,O.fetchEnvironmentList();case 13:case"end":return Q.stop()}},L)}));return function(L){return B.apply(this,arguments)}}()),g()(x()(O),"onDelete",function(){var B=M()(n()().mark(function L(K){var R;return n()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,(0,b.r1)({id:K});case 2:return R=A.sent,T.Z.response(R,!0),A.next=6,O.fetchEnvironmentList();case 6:case"end":return A.stop()}},L)}));return function(L){return B.apply(this,arguments)}}()),O}return l()(J,[{key:"componentDidMount",value:function(){var O=M()(n()().mark(function H(){var F;return n()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,T.Z.getUserMap();case 2:return F=L.sent,this.setState({users:F}),L.next=6,this.fetchEnvironmentList();case 6:case"end":return L.stop()}},H,this)}));function Y(){return O.apply(this,arguments)}return Y}()},{key:"render",value:function(){var Y=this,H=[{title:"id",dataIndex:"id",key:"id"},{title:"\u73AF\u5883\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u5907\u6CE8",key:"remarks",dataIndex:"remarks"},{title:"\u521B\u5EFA\u4EBA",key:"create_user",render:function(B,L){return(0,h.jsx)(w.Z,{user:Y.state.users[L.create_user.toString()]})}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",key:"updated_at"},{title:"\u64CD\u4F5C",key:"operation",render:function(B,L){return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("a",{onClick:function(){Y.setState({visible:!0,record:L})},children:"\u7F16\u8F91"}),(0,h.jsx)(C.Z,{type:"vertical"}),(0,h.jsx)("a",{onClick:M()(n()().mark(function K(){return n()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,Y.onDelete(L.id);case 2:case"end":return S.stop()}},K)})),children:"\u5220\u9664"})]})}}];return(0,h.jsx)(c._z,{title:"\u73AF\u5883\u914D\u7F6E",breadcrumb:null,children:(0,h.jsx)(Z.Z,{spinning:this.state.loading,children:(0,h.jsxs)($.Z,{children:[(0,h.jsx)(V.Z,{open:this.state.visible,onCancel:function(){Y.setState({visible:!1})},title:"\u73AF\u5883\u7BA1\u7406",left:6,right:18,width:500,record:this.state.record,onFinish:this.onFinish,fields:z.Z.Environment}),(0,h.jsxs)(U.Z,{children:[(0,h.jsx)(t.Z,{span:6,children:(0,h.jsxs)(I.ZP,{type:"primary",onClick:function(){Y.setState({visible:!0,record:{id:0}})},children:[(0,h.jsx)(j.Z,{}),"\u65B0\u589E\u73AF\u5883"]})}),(0,h.jsx)(t.Z,{span:12}),(0,h.jsx)(t.Z,{span:6,children:(0,h.jsx)(p.Z.Search,{placeholder:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D",value:this.state.name,onSearch:this.onSearch,onChange:function(B){Y.setState({name:B.target.value})}})})]}),(0,h.jsx)(U.Z,{style:{marginTop:12},children:(0,h.jsx)(t.Z,{span:24,children:(0,h.jsx)(o.Z,{dataSource:this.state.data,columns:H,onChange:function(){var F=M()(n()().mark(function B(L){return n()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,Y.fetchEnvironmentList(L.current,L.pageSize);case 2:case"end":return R.stop()}},B)}));return function(B){return F.apply(this,arguments)}}(),pagination:this.state.pagination,rowKey:function(B){return B.id}})})})]})})})}}]),J}(W.Component);P.default=N},49288:function(G,P,e){var d=e(94184),f=e.n(d),u=e(50344),n=e(98423),r=e(67294),M=e(53124),y=e(34041),s=e(8745),_=e(96159);const{Option:l}=y.Z;function m(D){return D&&D.type&&(D.type.isSelectOption||D.type.isSelectOptGroup)}const x=(D,v)=>{const{prefixCls:E,className:g,popupClassName:W,dropdownClassName:C,children:Z,dataSource:$}=D,U=(0,u.Z)(Z);let t;U.length===1&&(0,_.l$)(U[0])&&!m(U[0])&&([t]=U);const I=t?()=>t:void 0;let p;U.length&&m(U[0])?p=Z:p=$?$.map(j=>{if((0,_.l$)(j))return j;switch(typeof j){case"string":return r.createElement(l,{key:j,value:j},j);case"object":{const{value:b}=j;return r.createElement(l,{key:b,value:b},j.text)}default:return}}):[];const{getPrefixCls:o}=r.useContext(M.E_),c=o("select",E);return r.createElement(y.Z,Object.assign({ref:v},(0,n.Z)(D,["dataSource","dropdownClassName"]),{prefixCls:c,popupClassName:W||C,className:f()(`${c}-auto-complete`,g),mode:y.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:I}),p)},i=r.forwardRef(x),a=(0,s.Z)(i);i.Option=l,i._InternalPanelDoNotUseOrYouWillBeFired=a,P.Z=i},51904:function(G,P,e){e.d(P,{Z:function(){return U}});var d=e(62208),f=e(94184),u=e.n(f),n=e(67294),r=e(53124),M=e(98787),y=e(45353),s=e(67968),_=e(45503);function l(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}var m=e(63443),x=e(14747);const i=(t,I,p)=>{const o=l(p);return{[`${t.componentCls}-${I}`]:{color:t[`color${p}`],background:t[`color${o}Bg`],borderColor:t[`color${o}Border`]}}},a=t=>(0,m.j)(t,(I,p)=>{let{textColor:o,lightBorderColor:c,lightColor:j,darkColor:b}=p;return{[`${t.componentCls}-${I}`]:{color:o,background:j,borderColor:c,"&-inverse":{color:t.colorTextLightSolid,background:b,borderColor:b}}}}),D=t=>{const{paddingXXS:I,lineWidth:p,tagPaddingHorizontal:o,componentCls:c}=t,j=o-p,b=I-p;return{[c]:Object.assign(Object.assign({},(0,x.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:j,fontSize:t.tagFontSize,lineHeight:`${t.tagLineHeight}px`,whiteSpace:"nowrap",background:t.tagDefaultBg,border:`${t.lineWidth}px ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",[`&${c}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.tagDefaultColor},[`${c}-close-icon`]:{marginInlineStart:b,color:t.colorTextDescription,fontSize:t.tagIconSize,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${c}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${c}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:j}})}};var v=(0,s.Z)("Tag",t=>{const{fontSize:I,lineHeight:p,lineWidth:o,fontSizeIcon:c}=t,j=Math.round(I*p),b=t.fontSizeSM,T=j-o*2,V=t.colorFillAlter,z=t.colorText,w=(0,_.TS)(t,{tagFontSize:b,tagLineHeight:T,tagDefaultBg:V,tagDefaultColor:z,tagIconSize:c-2*o,tagPaddingHorizontal:8});return[D(w),a(w),i(w,"success","Success"),i(w,"processing","Info"),i(w,"error","Error"),i(w,"warning","Warning")]}),E=function(t,I){var p={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&I.indexOf(o)<0&&(p[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,o=Object.getOwnPropertySymbols(t);c{var{prefixCls:I,className:p,checked:o,onChange:c,onClick:j}=t,b=E(t,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:T}=n.useContext(r.E_),V=X=>{c==null||c(!o),j==null||j(X)},z=T("tag",I),[w,h]=v(z),N=u()(z,{[`${z}-checkable`]:!0,[`${z}-checkable-checked`]:o},p,h);return w(n.createElement("span",Object.assign({},b,{className:N,onClick:V})))},C=function(t,I){var p={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&I.indexOf(o)<0&&(p[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,o=Object.getOwnPropertySymbols(t);c{var{prefixCls:p,className:o,style:c,children:j,icon:b,color:T,onClose:V,closeIcon:z,closable:w=!1}=t,h=C(t,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:N,direction:X}=n.useContext(r.E_),[q,J]=n.useState(!0);n.useEffect(()=>{"visible"in h&&J(h.visible)},[h.visible]);const O=(0,M.o2)(T)||(0,M.yT)(T),Y=Object.assign({backgroundColor:T&&!O?T:void 0},c),H=N("tag",p),[F,B]=v(H),L=u()(H,{[`${H}-${T}`]:O,[`${H}-has-color`]:T&&!O,[`${H}-hidden`]:!q,[`${H}-rtl`]:X==="rtl"},o,B),K=ee=>{ee.stopPropagation(),V==null||V(ee),!ee.defaultPrevented&&J(!1)},R=()=>w?z?n.createElement("span",{className:`${H}-close-icon`,onClick:K},z):n.createElement(d.Z,{className:`${H}-close-icon`,onClick:K}):null,S=typeof h.onClick=="function"||j&&j.type==="a",A=b||null,Q=A?n.createElement(n.Fragment,null,A,n.createElement("span",null,j)):j,k=n.createElement("span",Object.assign({},h,{ref:I,className:L,style:Y}),Q,R());return F(S?n.createElement(y.Z,null,k):k)},$=n.forwardRef(Z);$.CheckableTag=W;var U=$}}]); diff --git a/statics/p__Config__Environment.b999d3d9.async.js b/statics/p__Config__Environment.b999d3d9.async.js new file mode 100644 index 00000000..59c636d7 --- /dev/null +++ b/statics/p__Config__Environment.b999d3d9.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9551],{16165:function(V,L,e){var r=e(1413),C=e(4942),_=e(45987),o=e(67294),l=e(93967),E=e.n(l),A=e(63017),u=e(56736),c=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],i=o.forwardRef(function(M,D){var d=M.className,s=M.component,f=M.viewBox,h=M.spin,m=M.rotate,g=M.tabIndex,N=M.onClick,y=M.children,z=(0,_.Z)(M,c);(0,u.Kp)(Boolean(s||y),"Should have `component` prop or `children`."),(0,u.C3)();var K=o.useContext(A.Z),$=K.prefixCls,U=$===void 0?"anticon":$,G=K.rootClassName,w=E()(G,U,d),J=E()((0,C.Z)({},"".concat(U,"-spin"),!!h)),q=m?{msTransform:"rotate(".concat(m,"deg)"),transform:"rotate(".concat(m,"deg)")}:void 0,X=(0,r.Z)((0,r.Z)({},u.vD),{},{className:J,style:q,viewBox:f});f||delete X.viewBox;var H=function(){return s?o.createElement(s,(0,r.Z)({},X),y):y?((0,u.Kp)(Boolean(f)||o.Children.count(y)===1&&o.isValidElement(y)&&o.Children.only(y).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),o.createElement("svg",(0,r.Z)((0,r.Z)({},X),{},{viewBox:f}),y)):null},T=g;return T===void 0&&N&&(T=-1),o.createElement("span",(0,r.Z)((0,r.Z)({role:"img"},z),{},{ref:D,tabIndex:T,onClick:N,className:w}),H())});i.displayName="AntdIcon",L.Z=i},91321:function(V,L,e){e.d(L,{Z:function(){return c}});var r=e(1413),C=e(45987),_=e(67294),o=e(16165),l=["type","children"],E=new Set;function A(i){return Boolean(typeof i=="string"&&i.length&&!E.has(i))}function u(i){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,D=i[M];if(A(D)){var d=document.createElement("script");d.setAttribute("src",D),d.setAttribute("data-namespace",D),i.length>M+1&&(d.onload=function(){u(i,M+1)},d.onerror=function(){u(i,M+1)}),E.add(D),document.body.appendChild(d)}}function c(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=i.scriptUrl,D=i.extraCommonProps,d=D===void 0?{}:D;M&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(M)?u(M.reverse()):u([M]));var s=_.forwardRef(function(f,h){var m=f.type,g=f.children,N=(0,C.Z)(f,l),y=null;return f.type&&(y=_.createElement("use",{xlinkHref:"#".concat(m)})),g&&(y=g),_.createElement(o.Z,(0,r.Z)((0,r.Z)((0,r.Z)({},d),N),{},{ref:h}),y)});return s.displayName="Iconfont",s}},51042:function(V,L,e){var r=e(1413),C=e(67294),_=e(42110),o=e(84089),l=function(u,c){return C.createElement(o.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:c,icon:_.Z}))},E=C.forwardRef(l);L.Z=E},63100:function(V,L,e){var r=e(67294),C=e(61607);L.Z=(0,C.a1)("send",!0,function(_){return r.createElement("svg",{width:_.size,height:_.size,viewBox:"0 0 48 48",fill:"none"},r.createElement("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:_.colors[0],strokeWidth:_.strokeWidth,strokeLinejoin:_.strokeLinejoin}),r.createElement("path",{d:"M43.0001 5L22.1001 25.9",stroke:_.colors[0],strokeWidth:_.strokeWidth,strokeLinecap:_.strokeLinecap,strokeLinejoin:_.strokeLinejoin}))})},20659:function(V,L,e){var r=e(97857),C=e.n(r),_=e(19478),o=e(34041),l=e(55102),E=e(49288),A=e(40411),u=e(99612),c=e(85893),i=o.Z.Option,M=l.Z.TextArea,D=[{label:"${response}",value:"${response}"},{label:"${status_code}",value:"${status_code}"}];L.Z={CaseAsserts:[{name:"name",label:"\u9A8C\u8BC1\u70B9",required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",type:"input",placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u70B9",component:null,span:24},{name:"assert_type",label:"\u6821\u9A8C\u65B9\u5F0F",required:!0,component:(0,c.jsx)(o.Z,{placeholder:"\u9009\u62E9\u6821\u9A8C\u65B9\u5F0F\uFF0C\u652F\u6301JSON\u6DF1\u5C42\u6B21\u5224\u65AD",children:Object.keys(_.Z.ASSERT_TYPE).map(function(d){return(0,c.jsx)(i,{value:d,children:_.Z.ASSERT_TYPE[d]},d)})}),type:"select",span:24},{name:"expected",label:"\u9884\u671F\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C",component:(0,c.jsx)(E.Z,{options:[],children:(0,c.jsx)(M,{placeholder:"\u8BF7\u8F93\u5165\u9884\u671F\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24},{name:"actually",label:"\u5B9E\u9645\u7ED3\u679C",required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C",component:(0,c.jsx)(E.Z,{options:D,children:(0,c.jsx)(M,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u9645\u7ED3\u679C\uFF0C\u652F\u6301\u53D8\u91CF\u54E6"})}),span:24}],CaseDetail:[{name:"name",label:"\u573A\u666F\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u540D\u79F0",component:null,span:8},{name:"priority",label:"\u4F18\u5148\u7EA7",required:!0,component:(0,c.jsx)(o.Z,{placeholder:"\u8BF7\u9009\u62E9\u4F18\u5148\u7EA7",children:_.Z.PRIORITY.map(function(d){return(0,c.jsx)(i,{value:d,children:d},d)})}),type:"select",span:8},{name:"status",label:"\u72B6\u6001",required:!0,component:(0,c.jsx)(o.Z,{placeholder:"\u8BF7\u9009\u62E9\u5F53\u524D\u573A\u666F\u72B6\u6001",children:Object.keys(_.Z.CASE_STATUS).map(function(d){return(0,c.jsx)(i,{value:d,children:(0,c.jsx)(A.Z,C()({},_.Z.CASE_BADGE[d]))},d)})}),type:"select",span:8},{name:"request_type",label:"\u8BF7\u6C42\u7C7B\u578B",required:!0,component:(0,c.jsx)(o.Z,{placeholder:"\u8BF7\u9009\u62E9\u8BF7\u6C42\u534F\u8BAE",children:Object.keys(u.XN).map(function(d){return(0,c.jsx)(i,{value:d,disabled:d!=="1",children:u.XN[d]},d)})}),type:"select",span:8},{name:"tag",label:"\u573A\u666F\u6807\u7B7E",required:!1,component:(0,c.jsx)(o.Z,{mode:"tags",placeholder:"\u8BF7\u8F93\u5165\u573A\u666F\u6807\u7B7E"}),type:"select",span:8},{name:"case_type",label:"\u573A\u666F\u7C7B\u578B",required:!0,component:(0,c.jsxs)(o.Z,{placeholder:"\u8BF7\u9009\u62E9\u573A\u666F\u7C7B\u578B",children:[(0,c.jsx)(i,{value:0,children:"\u666E\u901A\u573A\u666F"}),(0,c.jsx)(i,{value:1,children:"\u524D\u7F6E\u573A\u666F"}),(0,c.jsx)(i,{value:2,children:"\u6570\u636E\u5DE5\u5382"})]}),type:"select",span:8}],Environment:[{name:"name",label:"\u73AF\u5883\u540D\u79F0",required:!0,message:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",type:"input",placeholder:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D\u79F0",component:null,span:24},{name:"remarks",label:"\u5907\u6CE8",required:!1,message:"\u8BF7\u8F93\u5165\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",component:(0,c.jsx)(l.Z.TextArea,{maxLength:200}),span:24}]}},12554:function(V,L,e){e.d(L,{Z:function(){return f}});var r=e(67294),C=e(7134),_=e(83062),o={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},l=e(19478),E=Object.defineProperty,A=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,i=(h,m,g)=>m in h?E(h,m,{enumerable:!0,configurable:!0,writable:!0,value:g}):h[m]=g,M=(h,m)=>{for(var g in m||(m={}))u.call(m,g)&&i(h,g,m[g]);if(A)for(var g of A(m))c.call(m,g)&&i(h,g,m[g]);return h};const D=h=>React.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},h),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var d="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",s=e(85893),f=function(h){var m=h.user,g=h.size,N=g===void 0?24:g,y=h.marginLeft,z=y===void 0?6:y;return m===void 0?(0,s.jsx)(C.C,{size:N,src:d,alt:"avatar"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(C.C,{size:N,className:o.avatar,src:m.avatar||l.Z.AVATAR_URL,alt:"avatar"}),(0,s.jsx)(_.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:m.deleted_at?(0,s.jsx)("del",{children:(0,s.jsx)("a",{style:{marginLeft:z,fontSize:13,color:"#ccc"},href:"/#/member/".concat(m.id),rel:"noreferrer",children:m.name})}):(0,s.jsx)("a",{onClick:function($){$.stopPropagation()},style:{marginLeft:z,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(m.id),rel:"noreferrer",children:m.name})})]})}},99612:function(V,L,e){e.d(L,{e5:function(){return d},mi:function(){return D},dh:function(){return M},XN:function(){return c}});var r=e(63100),C=e(97857),_=e.n(C),o=e(37594),l=e(85893),E=function(s){var f=s.icon,h=s.text,m=s.font,g=m===void 0?13:m,N=s.style,y=s.onClick,z=s.back,K=z===void 0?!0:z;return K?(0,l.jsxs)("span",{onClick:y,style:_()({},N),children:[(0,l.jsx)(o.B,{type:f,style:{fontSize:g}})," ",h]}):(0,l.jsxs)("span",{onClick:y,style:_()({},N),children:[h," ",(0,l.jsx)(o.B,{style:{fontSize:g},type:f})]})},A=e(67294),u=e(66309),c={1:(0,l.jsxs)("span",{children:[(0,l.jsx)(r.Z,{theme:"outline",size:"14",fill:"#7ed321"})," HTTP"]}),2:(0,l.jsx)(E,{font:14,icon:"icon-GRPC",text:"GRPC"}),3:(0,l.jsx)(E,{font:14,icon:"icon-a-dubbo1",text:"Dubbo"})},i={1:(0,l.jsx)(u.Z,{color:"success",children:"HTTP"}),2:(0,l.jsx)(u.Z,{color:"orange",children:"GRPC"}),3:(0,l.jsx)(u.Z,{color:"blue",children:"DUBBO"})},M={GET:(0,l.jsx)(u.Z,{color:"success",children:"GET"}),POST:(0,l.jsx)(u.Z,{color:"blue",children:"POST"}),PUT:(0,l.jsx)(u.Z,{color:"cyan",children:"PUT"}),DELETE:(0,l.jsx)(u.Z,{color:"error",children:"DELETE"})},D={0:(0,l.jsx)(u.Z,{children:"\u666E\u901A"}),1:(0,l.jsx)(u.Z,{color:"blue",children:"\u6D4B\u8BD5\u8BA1\u5212"}),2:(0,l.jsx)(u.Z,{color:"success",children:"CI"}),3:(0,l.jsx)(u.Z,{children:"\u5176\u4ED6"})},d={0:(0,l.jsx)(u.Z,{color:"success",style:{marginLeft:8},children:"\u666E\u901A"}),1:(0,l.jsx)(u.Z,{color:"blue",style:{marginLeft:8},children:"\u524D\u7F6E"}),2:(0,l.jsx)(u.Z,{color:"warning",style:{marginLeft:8},children:"\u6570\u636E\u5DE5\u5382"})}},37594:function(V,L,e){e.d(L,{B:function(){return _}});var r=e(91321),C="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",_=(0,r.Z)({scriptUrl:C})},84298:function(V,L,e){var r=e(97857),C=e.n(r),_=e(5574),o=e.n(_),l=e(67294),E=e(8232),A=e(17788),u=e(15746),c=e(76081),i=e(85893),M=E.Z.Item,D=function(s){var f=s.title,h=s.width,m=s.left,g=s.right,N=s.formName,y=s.record,z=s.onFinish,K=s.loading,$=s.fields,U=s.open,G=s.onCancel,w=s.offset,J=w===void 0?0:w,q=s.children,X=s.Footer,H=s.onTest,T=E.Z.useForm(),t=o()(T,1),j=t[0],I=function(){j.validateFields().then(function(B){z(B)})};(0,l.useEffect)(function(){j.resetFields(),j.setFieldsValue(y)},[y]);var n={labelCol:{span:m},wrapperCol:{span:g}};return(0,i.jsxs)(A.Z,{style:{marginTop:J},confirmLoading:K,footer:X!==void 0?(0,i.jsx)(X,{onOk:I,onCancel:G,onTest:function(){j.validateFields().then(function(B){H(B)})}}):void 0,title:f,width:h,open:U,onOk:I,onCancel:G,children:[q||null,(0,i.jsx)(E.Z,C()(C()({form:j},n),{},{name:N,initialValues:y,onFinish:z,children:$.map(function(a,B){return(0,i.jsx)(u.Z,{span:a.span||24,children:(0,i.jsx)(M,{label:a.label,colon:a.colon||!0,initialValue:a.initialValue,rules:[{required:a.required,message:a.message}],name:a.name,valuePropName:a.valuePropName||"value",children:(0,c.Z)(a.type,a.placeholder,a.component)})},B)})}))]})};L.Z=D},76081:function(V,L,e){var r=e(55102),C=e(72269),_=e(67294),o=e(85893),l=r.Z.TextArea,E=function(u,c){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return i||(u==="input"?(0,o.jsx)(r.Z,{placeholder:c}):u==="textarea"?(0,o.jsx)(l,{placeholder:c}):u==="switch"?(0,o.jsx)(C.Z,{}):null)};L.Z=E},69372:function(V,L,e){e.r(L);var r=e(97857),C=e.n(r),_=e(15009),o=e.n(_),l=e(99289),E=e.n(l),A=e(12444),u=e.n(A),c=e(72004),i=e.n(c),M=e(25098),D=e.n(M),d=e(31996),s=e.n(d),f=e(26037),h=e.n(f),m=e(9783),g=e.n(m),N=e(67294),y=e(96074),z=e(75081),K=e(4393),$=e(71230),U=e(15746),G=e(14726),w=e(55102),J=e(72051),q=e(58841),X=e(51042),H=e(89609),T=e(10981),t=e(84298),j=e(20659),I=e(12554),n=e(85893),a=function(B){s()(Y,B);var W=h()(Y);function Y(){var p;u()(this,Y);for(var R=arguments.length,F=new Array(R),S=0;S0&&x[0]!==void 0?x[0]:p.state.pagination.current,Z=x.length>1&&x[1]!==void 0?x[1]:p.state.pagination.pageSize,O=x.length>2&&x[2]!==void 0?x[2]:p.state.name,p.setState({loading:!0}),ee.next=6,(0,H.e9)({page:v,size:Z,name:O});case 6:b=ee.sent,T.Z.response(b)&&p.setState({data:b.data,pagination:{total:b.total,current:v,pageSize:Z}}),p.setState({loading:!1});case 9:case"end":return ee.stop()}},P)}))),g()(D()(p),"onSearch",function(){var P=E()(o()().mark(function v(Z){return o()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,p.fetchEnvironmentList(1,p.state.pagination.pageSize,Z);case 2:case"end":return b.stop()}},v)}));return function(v){return P.apply(this,arguments)}}()),g()(D()(p),"onFinish",function(){var P=E()(o()().mark(function v(Z){var O,b;return o()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(O=C()(C()({},Z),{},{id:p.state.record.id}),p.state.record.id!==0){Q.next=7;break}return Q.next=4,(0,H.y1)(O);case 4:b=Q.sent,Q.next=10;break;case 7:return Q.next=9,(0,H.Wz)(O);case 9:b=Q.sent;case 10:return T.Z.response(b,!0)&&p.setState({visible:!1}),Q.next=13,p.fetchEnvironmentList();case 13:case"end":return Q.stop()}},v)}));return function(v){return P.apply(this,arguments)}}()),g()(D()(p),"onDelete",function(){var P=E()(o()().mark(function v(Z){var O;return o()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,(0,H.r1)({id:Z});case 2:return O=x.sent,T.Z.response(O,!0),x.next=6,p.fetchEnvironmentList();case 6:case"end":return x.stop()}},v)}));return function(v){return P.apply(this,arguments)}}()),p}return i()(Y,[{key:"componentDidMount",value:function(){var p=E()(o()().mark(function F(){var S;return o()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,T.Z.getUserMap();case 2:return S=v.sent,this.setState({users:S}),v.next=6,this.fetchEnvironmentList();case 6:case"end":return v.stop()}},F,this)}));function R(){return p.apply(this,arguments)}return R}()},{key:"render",value:function(){var R=this,F=[{title:"id",dataIndex:"id",key:"id"},{title:"\u73AF\u5883\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u5907\u6CE8",key:"remarks",dataIndex:"remarks"},{title:"\u521B\u5EFA\u4EBA",key:"create_user",render:function(P,v){return(0,n.jsx)(I.Z,{user:R.state.users[v.create_user.toString()]})}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",key:"updated_at"},{title:"\u64CD\u4F5C",key:"operation",render:function(P,v){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{onClick:function(){R.setState({visible:!0,record:v})},children:"\u7F16\u8F91"}),(0,n.jsx)(y.Z,{type:"vertical"}),(0,n.jsx)("a",{onClick:E()(o()().mark(function Z(){return o()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,R.onDelete(v.id);case 2:case"end":return b.stop()}},Z)})),children:"\u5220\u9664"})]})}}];return(0,n.jsx)(q._z,{title:"\u73AF\u5883\u914D\u7F6E",breadcrumb:null,children:(0,n.jsx)(z.Z,{spinning:this.state.loading,children:(0,n.jsxs)(K.Z,{children:[(0,n.jsx)(t.Z,{open:this.state.visible,onCancel:function(){R.setState({visible:!1})},title:"\u73AF\u5883\u7BA1\u7406",left:6,right:18,width:500,record:this.state.record,onFinish:this.onFinish,fields:j.Z.Environment}),(0,n.jsxs)($.Z,{children:[(0,n.jsx)(U.Z,{span:6,children:(0,n.jsxs)(G.ZP,{type:"primary",onClick:function(){R.setState({visible:!0,record:{id:0}})},children:[(0,n.jsx)(X.Z,{}),"\u65B0\u589E\u73AF\u5883"]})}),(0,n.jsx)(U.Z,{span:12}),(0,n.jsx)(U.Z,{span:6,children:(0,n.jsx)(w.Z.Search,{placeholder:"\u8BF7\u8F93\u5165\u73AF\u5883\u540D",value:this.state.name,onSearch:this.onSearch,onChange:function(P){R.setState({name:P.target.value})}})})]}),(0,n.jsx)($.Z,{style:{marginTop:12},children:(0,n.jsx)(U.Z,{span:24,children:(0,n.jsx)(J.Z,{dataSource:this.state.data,columns:F,onChange:function(){var S=E()(o()().mark(function P(v){return o()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,R.fetchEnvironmentList(v.current,v.pageSize);case 2:case"end":return O.stop()}},P)}));return function(P){return S.apply(this,arguments)}}(),pagination:this.state.pagination,rowKey:function(P){return P.id}})})})]})})})}}]),Y}(N.Component);L.default=a},49288:function(V,L,e){var r=e(67294),C=e(93967),_=e.n(C),o=e(50344),l=e(98423),E=e(87263),A=e(8745),u=e(53124),c=e(34041);const{Option:i}=c.Z;function M(f){return f&&f.type&&(f.type.isSelectOption||f.type.isSelectOptGroup)}const D=(f,h)=>{var m;const{prefixCls:g,className:N,popupClassName:y,dropdownClassName:z,children:K,dataSource:$}=f,U=(0,o.Z)(K);let G;U.length===1&&r.isValidElement(U[0])&&!M(U[0])&&([G]=U);const w=G?()=>G:void 0;let J;U.length&&M(U[0])?J=K:J=$?$.map(T=>{if(r.isValidElement(T))return T;switch(typeof T){case"string":return r.createElement(i,{key:T,value:T},T);case"object":{const{value:t}=T;return r.createElement(i,{key:t,value:t},T.text)}default:return}}):[];const{getPrefixCls:q}=r.useContext(u.E_),X=q("select",g),[H]=(0,E.Cn)("SelectLike",(m=f.dropdownStyle)===null||m===void 0?void 0:m.zIndex);return r.createElement(c.Z,Object.assign({ref:h,suffixIcon:null},(0,l.Z)(f,["dataSource","dropdownClassName"]),{prefixCls:X,popupClassName:y||z,dropdownStyle:Object.assign(Object.assign({},f.dropdownStyle),{zIndex:H}),className:_()(`${X}-auto-complete`,N),mode:c.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:w}),J)},d=r.forwardRef(D),s=(0,A.Z)(d);d.Option=i,d._InternalPanelDoNotUseOrYouWillBeFired=s,L.Z=d},66309:function(V,L,e){e.d(L,{Z:function(){return T}});var r=e(67294),C=e(93967),_=e.n(C),o=e(98423),l=e(98787),E=e(69760),A=e(96159),u=e(45353),c=e(53124),i=e(54548),M=e(10274),D=e(14747),d=e(45503),s=e(91945);const f=t=>{const{paddingXXS:j,lineWidth:I,tagPaddingHorizontal:n,componentCls:a,calc:B}=t,W=B(n).sub(I).equal(),Y=B(j).sub(I).equal();return{[a]:Object.assign(Object.assign({},(0,D.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:W,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",background:t.defaultBg,border:`${(0,i.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${a}-close-icon`]:{marginInlineStart:Y,fontSize:t.tagIconSize,color:t.colorTextDescription,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:W}}),[`${a}-borderless`]:{borderColor:"transparent",background:t.tagBorderlessBg}}},h=t=>{const{lineWidth:j,fontSizeIcon:I,calc:n}=t,a=t.fontSizeSM;return(0,d.TS)(t,{tagFontSize:a,tagLineHeight:(0,i.bf)(n(t.lineHeightSM).mul(a).equal()),tagIconSize:n(I).sub(n(j).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},m=t=>({defaultBg:new M.C(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText});var g=(0,s.I$)("Tag",t=>{const j=h(t);return f(j)},m),N=function(t,j){var I={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&j.indexOf(n)<0&&(I[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a{const{prefixCls:I,style:n,className:a,checked:B,onChange:W,onClick:Y}=t,p=N(t,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:R,tag:F}=r.useContext(c.E_),S=x=>{W==null||W(!B),Y==null||Y(x)},P=R("tag",I),[v,Z,O]=g(P),b=_()(P,`${P}-checkable`,{[`${P}-checkable-checked`]:B},F==null?void 0:F.className,a,Z,O);return v(r.createElement("span",Object.assign({},p,{ref:j,style:Object.assign(Object.assign({},n),F==null?void 0:F.style),className:b,onClick:S})))}),K=e(98719);const $=t=>(0,K.Z)(t,(j,I)=>{let{textColor:n,lightBorderColor:a,lightColor:B,darkColor:W}=I;return{[`${t.componentCls}${t.componentCls}-${j}`]:{color:n,background:B,borderColor:a,"&-inverse":{color:t.colorTextLightSolid,background:W,borderColor:W},[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}});var U=(0,s.bk)(["Tag","preset"],t=>{const j=h(t);return $(j)},m);function G(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const w=(t,j,I)=>{const n=G(I);return{[`${t.componentCls}${t.componentCls}-${j}`]:{color:t[`color${I}`],background:t[`color${n}Bg`],borderColor:t[`color${n}Border`],[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}};var J=(0,s.bk)(["Tag","status"],t=>{const j=h(t);return[w(j,"success","Success"),w(j,"processing","Info"),w(j,"error","Error"),w(j,"warning","Warning")]},m),q=function(t,j){var I={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&j.indexOf(n)<0&&(I[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a{const{prefixCls:I,className:n,rootClassName:a,style:B,children:W,icon:Y,color:p,onClose:R,bordered:F=!0,visible:S}=t,P=q(t,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:v,direction:Z,tag:O}=r.useContext(c.E_),[b,x]=r.useState(!0),Q=(0,o.Z)(P,["closeIcon","closable"]);r.useEffect(()=>{S!==void 0&&x(S)},[S]);const ee=(0,l.o2)(p),se=(0,l.yT)(p),re=ee||se,ce=Object.assign(Object.assign({backgroundColor:p&&!re?p:void 0},O==null?void 0:O.style),B),k=v("tag",I),[_e,de,me]=g(k),Ee=_()(k,O==null?void 0:O.className,{[`${k}-${p}`]:re,[`${k}-has-color`]:p&&!re,[`${k}-hidden`]:!b,[`${k}-rtl`]:Z==="rtl",[`${k}-borderless`]:!F},n,a,de,me),ae=ne=>{ne.stopPropagation(),R==null||R(ne),!ne.defaultPrevented&&x(!1)},[,Me]=(0,E.Z)((0,E.w)(t),(0,E.w)(O),{closable:!1,closeIconRender:ne=>{const pe=r.createElement("span",{className:`${k}-close-icon`,onClick:ae},ne);return(0,A.wm)(ne,pe,te=>({onClick:ue=>{var oe;(oe=te==null?void 0:te.onClick)===null||oe===void 0||oe.call(te,ue),ae(ue)},className:_()(te==null?void 0:te.className,`${k}-close-icon`)}))}}),je=typeof P.onClick=="function"||W&&W.type==="a",le=Y||null,ge=le?r.createElement(r.Fragment,null,le,W&&r.createElement("span",null,W)):W,ie=r.createElement("span",Object.assign({},Q,{ref:j,className:Ee,style:ce}),ge,Me,ee&&r.createElement(U,{key:"preset",prefixCls:k}),se&&r.createElement(J,{key:"status",prefixCls:k}));return _e(je?r.createElement(u.Z,{component:"Tag"},ie):ie)});H.CheckableTag=z;var T=H}}]); diff --git a/statics/p__Config__GConfig.7039ec5d.async.js b/statics/p__Config__GConfig.7039ec5d.async.js new file mode 100644 index 00000000..072b4074 --- /dev/null +++ b/statics/p__Config__GConfig.7039ec5d.async.js @@ -0,0 +1,398 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3131],{51042:function(u,D,e){"use strict";var o=e(1413),s=e(67294),d=e(42110),h=e(84089),E=function(t,c){return s.createElement(h.Z,(0,o.Z)((0,o.Z)({},t),{},{ref:c,icon:d.Z}))},g=s.forwardRef(E);D.Z=g},68991:function(u,D,e){u=e.nmd(u);var o=e(52677).default;ace.define("ace/theme/atom-one-dark",["require","exports","module","ace/lib/dom"],function(s,d,h){d.isDark=!1,d.cssClass="ace-atom-dark",d.cssText=` +.ace-atom-dark .ace_gutter { + background: #1d1f20; + color: rgb(139,140,137) +} + +.ace-atom-dark .ace_print-margin { + background: #e8e8e8 +} + +.ace-atom-dark { + background-color: #1d1f20; + color: #F8F8F2 +} + +.ace-atom-dark .ace_cursor { + color: #F8F8F0 +} + +.ace-atom-dark .ace_marker-layer .ace_selection { + background: #49483E +} + +.ace-atom-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1d1f20; + border-radius: 2px +} + +.ace-atom-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-atom-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #49483E +} + +.ace-atom-dark .ace_marker-layer .ace_active-line { + background: #49483E +} + +.ace-atom-dark .ace_gutter-active-line { + background-color: #49483E +} + +.ace-atom-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #49483E +} + +.ace-atom-dark .ace_fold { + background-color: #ffd2a7; + border-color: #F8F8F2 +} + +.ace-atom-dark .ace_keyword { + color: #8ecbfe +} + +.ace-atom-dark .ace_constant.ace_language { + color: #AE81FF +} + +.ace-atom-dark .ace_constant.ace_numeric { + color: #ff73fd +} + +.ace-atom-dark .ace_constant.ace_character { + color: #90cc99 +} + +.ace-atom-dark .ace_constant.ace_other { + color: #90cc99 +} + +.ace-atom-dark .ace_support.ace_function { + color: #66D9EF +} + +.ace-atom-dark .ace_support.ace_constant { + color: #66D9EF +} + +.ace-atom-dark .ace_support.ace_class { + color: #f7ffb6 +} + +.ace-atom-dark .ace_support.ace_type { + color: #f7ffb6 +} + +.ace-atom-dark .ace_storage { + color: #F92672 +} + +.ace-atom-dark .ace_storage.ace_type { + font-style: italic; + color: #66D9EF +} + +.ace-atom-dark .ace_string { + color: #9fff60 +} + +.ace-atom-dark .ace_comment { + color: #737c7c +} + +.ace-atom-dark .ace_variable { + color: #c8c5ff +} + +.ace-atom-dark .ace_variable.ace_parameter { + font-style: italic; + color: #c0c5fe +} + +.ace-atom-dark .ace_entity.ace_other.ace_attribute-name { + color: #A6E22E +} + +.ace-atom-dark .ace_entity.ace_name.ace_function { + color: #ffd2a7 +} + +.ace-atom-dark .ace_entity.ace_name.ace_tag { + color: #F92672 +} +`;var E=s("ace/lib/dom");E.importCssString(d.cssText,d.cssClass)}),function(){ace.require(["ace/theme/ace-atom-one-dark"],function(s){o(u)=="object"&&o(D)=="object"&&u&&(u.exports=s)})}()},41612:function(u,D,e){u=e.nmd(u);var o=e(52677).default;ace.define("ace/theme/material-one-dark",["require","exports","module","ace/lib/dom"],function(s,d,h){d.isDark=!1,d.cssClass="ace-material-one-dark",d.cssText=` +.ace-material-one-dark .ace_gutter { + background: #272B33; + color: rgb(103,111,122) +} + +.ace-material-one-dark .ace_print-margin { + // width: 1px; + background: #e8e8e8 +} + +.ace-material-one-dark { + background-color: #272B33; + color: #A6B2C0 +} + +.ace-material-one-dark .ace_cursor { + color: #528BFF +} + +.ace-material-one-dark .ace_marker-layer .ace_selection { + background: #3D4350 +} + +.ace-material-one-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #272B33; + border-radius: 2px +} + +.ace-material-one-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-material-one-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #747369 +} + +.ace-material-one-dark .ace_marker-layer .ace_active-line { + background: #2B313A +} + +.ace-material-one-dark .ace_gutter-active-line { + background-color: #2B313A +} + +.ace-material-one-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #3D4350 +} + +.ace-material-one-dark .ace_fold { + background-color: #61AEEF; + border-color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword { + color: #C679DD +} + +.ace-material-one-dark .ace_keyword.ace_operator { + color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword.ace_other.ace_unit { + color: #D2945D +} + +.ace-material-one-dark .ace_constant { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_numeric { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_character.ace_escape { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_function { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_class { + color: #E5C17C +} + +.ace-material-one-dark .ace_storage { + color: #C679DD +} + +.ace-material-one-dark .ace_invalid.ace_illegal { + color: #272B33; + background-color: #f2777a +} + +.ace-material-one-dark .ace_invalid.ace_deprecated { + color: #272B33; + background-color: #d27b53 +} + +.ace-material-one-dark .ace_string { + color: #90C378 +} + +.ace-material-one-dark .ace_string.ace_regexp { + color: #57B6C2 +} + +.ace-material-one-dark .ace_comment { + font-style: italic; + color: #59626F +} + +.ace-material-one-dark .ace_variable { + color: #DF6A73 +} + +.ace-material-one-dark .ace_meta.ace_selector { + color: #C679DD +} + +.ace-material-one-dark .ace_entity.ace_other.ace_attribute-name { + color: #D2945D +} + +.ace-material-one-dark .ace_entity.ace_name.ace_function { + color: #61AEEF +} + +.ace-material-one-dark .ace_entity.ace_name.ace_tag { + color: #DF6A73 +} + +.ace-material-one-dark .ace_markup.ace_list { + color: #DF6A73 +} +`;var E=s("ace/lib/dom");E.importCssString(d.cssText,d.cssClass)}),function(){ace.require(["ace/theme/ace-material-one-dark"],function(s){o(u)=="object"&&o(D)=="object"&&u&&(u.exports=s)})}()},84360:function(u,D,e){u=e.nmd(u);var o=e(52677).default;ace.define("ace/theme/vs-dark",["require","exports","module","ace/lib/dom"],function(s,d,h){d.isDark=!1,d.cssClass="ace-vs-dark",d.cssText=` +.ace-vs-dark .ace_gutter { + background: #1E1E1E; + color: rgb(125,125,125) +} + +.ace-vs-dark .ace_print-margin { + background: #e8e8e8 +} + +.ace-vs-dark { + background-color: #1E1E1E; + color: #DCDCDC +} + +.ace-vs-dark .ace_cursor { + color: #DCDCDC +} + +.ace-vs-dark .ace_marker-layer .ace_selection { + background: #264F78 +} + +.ace-vs-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #1E1E1E; + border-radius: 2px +} + +.ace-vs-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-vs-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid rgba(255, 255, 255, 0.25) +} + +.ace-vs-dark .ace_marker-layer .ace_active-line { + background: #0F0F0F +} + +.ace-vs-dark .ace_gutter-active-line { + background-color: #0F0F0F +} + +.ace-vs-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #264F78 +} + +.ace-vs-dark .ace_fold { + background-color: #DCDCDC; + border-color: #DCDCDC +} + +.ace-vs-dark .ace_keyword { + color: #569CD6 +} + +.ace-vs-dark .ace_constant { + color: #B4CEA8 +} + +.ace-vs-dark .ace_constant.ace_language { + color: #569CD6 +} + +.ace-vs-dark .ace_constant.ace_numeric { + color: #B5CEA8 +} + +.ace-vs-dark .ace_constant.ace_character.ace_escape { + color: #E3BBAB +} + +.ace-vs-dark .ace_support.ace_function { + color: #DCDCDC +} + +.ace-vs-dark .ace_support.ace_constant { + color: #B5CEA8 +} + +.ace-vs-dark .ace_support.ace_class { + color: #DCDCDC +} + +.ace-vs-dark .ace_support.ace_type { + color: #DCDCDC +} + +.ace-vs-dark .ace_storage.ace_type { + color: #569CD6 +} + +.ace-vs-dark .ace_invalid { + color: #ff3333 +} + +.ace-vs-dark .ace_string { + color: #D69D85 +} + +.ace-vs-dark .ace_comment { + color: #608B4E +} + +.ace-vs-dark .ace_variable { + color: #DCDCDC +} + +.ace-vs-dark .ace_meta.ace_tag { + color: #808080 +} + +.ace-vs-dark .ace_entity.ace_other.ace_attribute-name { + color: #92CAF4 +} + +.ace-vs-dark .ace_entity.ace_name.ace_function { + color: #DCDCDC +} + +.ace-vs-dark .ace_entity.ace_name.ace_tag { + color: #569CD6 +} + +.ace-vs-dark .ace_markup.ace_heading { + color: #569CD6 +} + +.ace-vs-dark .ace_markup.ace_list { + color: #DCDCDC +} +`;var E=s("ace/lib/dom");E.importCssString(d.cssText,d.cssClass)}),function(){ace.require(["ace/theme/ace-vs-dark"],function(s){o(u)=="object"&&o(D)=="object"&&u&&(u.exports=s)})}()},12554:function(u,D,e){"use strict";e.d(D,{Z:function(){return M}});var o=e(67294),s=e(7134),d=e(83062),h={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},E=e(19478),g=Object.defineProperty,m=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,n=(_,f,p)=>f in _?g(_,f,{enumerable:!0,configurable:!0,writable:!0,value:p}):_[f]=p,r=(_,f)=>{for(var p in f||(f={}))t.call(f,p)&&n(_,p,f[p]);if(m)for(var p of m(f))c.call(f,p)&&n(_,p,f[p]);return _};const a=_=>React.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},_),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var y="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",l=e(85893),M=function(_){var f=_.user,p=_.size,I=p===void 0?24:p,k=_.marginLeft,b=k===void 0?6:k;return f===void 0?(0,l.jsx)(s.C,{size:I,src:y,alt:"avatar"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.C,{size:I,className:h.avatar,src:f.avatar||E.Z.AVATAR_URL,alt:"avatar"}),(0,l.jsx)(d.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:f.deleted_at?(0,l.jsx)("del",{children:(0,l.jsx)("a",{style:{marginLeft:b,fontSize:13,color:"#ccc"},href:"/#/member/".concat(f.id),rel:"noreferrer",children:f.name})}):(0,l.jsx)("a",{onClick:function(O){O.stopPropagation()},style:{marginLeft:b,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(f.id),rel:"noreferrer",children:f.name})})]})}},24315:function(u,D,e){"use strict";e.d(D,{Z:function(){return I}});var o=e(12444),s=e.n(o),d=e(72004),h=e.n(d),E=e(31996),g=e.n(E),m=e(26037),t=e.n(m),c=e(67294),n=e(74981),r=e(82679),a=e(41612),y=e(68991),l=e(84360),M=e(90252),_=e(12477),f=e(79253),p=e(85893),I=function(k){g()(C,k);var b=t()(C);function C(){return s()(this,C),b.apply(this,arguments)}return h()(C,[{key:"componentDidMount",value:function(){var S=this;this.props.setEditor(this.refs),(0,r.addCompleter)({getCompletions:function(N,B,$,U,F){F(null,(S.props.tables||[]).map(function(i){return{name:i,value:i}}))}})}},{key:"render",value:function(){var S=this.props,W=S.value,N=S.language,B=S.onChange,$=S.height,U=S.readOnly,F=S.theme,i=S.useWorker;return(0,p.jsx)(n.ZP,{ref:"aceEditor",mode:N||"json",theme:F||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:B,value:W,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:$||300},setOptions:{readOnly:U||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!1}})}}]),C}(c.Component)},84298:function(u,D,e){"use strict";var o=e(97857),s=e.n(o),d=e(5574),h=e.n(d),E=e(67294),g=e(8232),m=e(17788),t=e(15746),c=e(76081),n=e(85893),r=g.Z.Item,a=function(l){var M=l.title,_=l.width,f=l.left,p=l.right,I=l.formName,k=l.record,b=l.onFinish,C=l.loading,O=l.fields,S=l.open,W=l.onCancel,N=l.offset,B=N===void 0?0:N,$=l.children,U=l.Footer,F=l.onTest,i=g.Z.useForm(),R=h()(i,1),z=R[0],Z=function(){z.validateFields().then(function(T){b(T)})};(0,E.useEffect)(function(){z.resetFields(),z.setFieldsValue(k)},[k]);var P={labelCol:{span:f},wrapperCol:{span:p}};return(0,n.jsxs)(m.Z,{style:{marginTop:B},confirmLoading:C,footer:U!==void 0?(0,n.jsx)(U,{onOk:Z,onCancel:W,onTest:function(){z.validateFields().then(function(T){F(T)})}}):void 0,title:M,width:_,open:S,onOk:Z,onCancel:W,children:[$||null,(0,n.jsx)(g.Z,s()(s()({form:z},P),{},{name:I,initialValues:k,onFinish:b,children:O.map(function(j,T){return(0,n.jsx)(t.Z,{span:j.span||24,children:(0,n.jsx)(r,{label:j.label,colon:j.colon||!0,initialValue:j.initialValue,rules:[{required:j.required,message:j.message}],name:j.name,valuePropName:j.valuePropName||"value",children:(0,c.Z)(j.type,j.placeholder,j.component)})},T)})}))]})};D.Z=a},76081:function(u,D,e){"use strict";var o=e(55102),s=e(72269),d=e(67294),h=e(85893),E=o.Z.TextArea,g=function(t,c){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return n||(t==="input"?(0,h.jsx)(o.Z,{placeholder:c}):t==="textarea"?(0,h.jsx)(E,{placeholder:c}):t==="switch"?(0,h.jsx)(s.Z,{}):null)};D.Z=g},50439:function(u,D,e){"use strict";e.r(D);var o=e(97857),s=e.n(o),d=e(15009),h=e.n(d),E=e(99289),g=e.n(E),m=e(5574),t=e.n(m),c=e(58841),n=e(34041),r=e(66309),a=e(17788),y=e(40411),l=e(96074),M=e(72269),_=e(4393),f=e(71230),p=e(15746),I=e(14726),k=e(55102),b=e(72051),C=e(67294),O=e(90596),S=e(51042),W=e(84298),N=e(26671),B=e(42481),$=e(12554),U=e(24315),F=e(19478),i=e(85893),R=n.Z.Option,z=function(P){var j=P.gconfig,T=P.user,oe=P.loading,K=P.dispatch,ce=j.data,X=j.envList,J=j.key_type,ie=j.envMap,le=j.modal,Y=j.currentEnv,G=j.name,Q=j.pagination,se=T.userMap,ue=(0,C.useState)({id:0,key_type:0}),q=t()(ue,2),V=q[0],ee=q[1],de=(0,C.useState)(0),ne=t()(de,2),te=ne[0],ae=ne[1],_e=(0,C.useState)(null),re=t()(_e,2),pe=re[0],ge=re[1],me=function(){return te===1||te===2?"yaml":"text"},fe=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(v){return(0,i.jsx)(r.Z,{children:ie[v]})}},{title:"\u7C7B\u578B",dataIndex:"key_type",key:"key_type",render:function(v){return(0,i.jsx)(r.Z,{color:F.Z.CONFIG_TYPE_TAG[J[v]],children:J[v]})}},{title:"key",dataIndex:"key",key:"keyword"},{title:"value",dataIndex:"value",key:"value",ellipsis:!0,render:function(v,x){if(x.key_type===0)return v;if(x.key_type===1)return(0,i.jsx)("a",{onClick:function(){a.Z.info({title:"".concat(x.key),width:500,bodyStyle:{padding:-12},content:(0,i.jsx)(B.Z,{language:"json",style:N.BV,children:x.value})})},children:"\u67E5\u770B"});if(x.key_type===2)return(0,i.jsx)("a",{onClick:function(){a.Z.info({title:"".concat(x.key),width:500,bodyStyle:{padding:-12},content:(0,i.jsx)(B.Z,{language:"yaml",style:N.BV,children:x.value})})},children:"\u67E5\u770B"})}},{title:"\u662F\u5426\u53EF\u7528",dataIndex:"enable",key:"enable",render:function(v){return(0,i.jsx)(y.Z,{status:v?"processing":"default",text:v?"\u4F7F\u7528\u4E2D":"\u5DF2\u7981\u6B62"})}},{title:"\u521B\u5EFA\u4EBA",key:"create_user",render:function(v,x){return(0,i.jsx)($.Z,{user:se[x.create_user.toString()]})}},{title:"\u64CD\u4F5C",key:"operation",render:function(v,x){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{onClick:function(){H({modal:!0}),ee(x),ae(x.key_type)},children:"\u7F16\u8F91"}),(0,i.jsx)(l.Z,{type:"vertical"}),(0,i.jsx)("a",{onClick:function(){K({type:"gconfig/deleteGConfig",payload:{id:x.id}})},children:"\u5220\u9664"})]})}}],ve=[{name:"env",label:"\u73AF\u5883",required:!0,component:(0,i.jsx)(n.Z,{defaultValue:Y,placeholder:"\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",children:X.map(function(L){return(0,i.jsx)(R,{value:L.id,children:L.name})})}),type:"select"},{name:"key_type",label:"\u7C7B\u578B",required:!0,component:(0,i.jsxs)(n.Z,{onSelect:function(v){ae(v)},children:[(0,i.jsx)(R,{value:0,children:"String"}),(0,i.jsx)(R,{value:1,children:"JSON"}),(0,i.jsx)(R,{value:2,children:"YAML"})]}),type:"select"},{name:"key",label:"key",required:!0,type:"input",placeholder:"\u8BF7\u8F93\u5165key"},{name:"value",label:"value",required:!0,component:(0,i.jsx)(U.Z,{language:me(),setEditor:ge,height:250})},{name:"enable",label:"\u662F\u5426\u53EF\u7528",required:!0,component:(0,i.jsx)(M.Z,{}),valuePropName:"checked",initialValue:!0}],he=function(){var L=g()(h()().mark(function v(){return h()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,K({type:"gconfig/fetchEnvList",payload:{page:1,size:1e4}});case 2:case"end":return A.stop()}},v)}));return function(){return L.apply(this,arguments)}}(),Me=function(){K({type:"user/fetchUserList"})},Ee=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Q.current,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q.pageSize;K({type:"gconfig/fetchGConfig",payload:{page:v,size:x,env:Y||"",key:G}})};(0,C.useEffect)(function(){he()},[]),(0,C.useEffect)(function(){Me(),Ee()},[Y,G,Q.current]);var ye=function(){var L=g()(h()().mark(function v(x){var A;return h()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:A=s()(s()({},V),x),V.id===0?K({type:"gconfig/insertConfig",payload:A}):K({type:"gconfig/updateGConfig",payload:A});case 2:case"end":return w.stop()}},v)}));return function(x){return L.apply(this,arguments)}}(),H=function(v){K({type:"gconfig/save",payload:v})};return(0,i.jsx)(c._z,{title:"\u5168\u5C40\u53D8\u91CF",breadcrumb:null,children:(0,i.jsxs)(_.Z,{children:[(0,i.jsx)(W.Z,{fields:ve,open:le,left:4,right:20,onFinish:ye,onCancel:function(){H({modal:!1})},title:"\u7F16\u8F91\u53D8\u91CF",record:V,width:600,offset:-60}),(0,i.jsxs)(f.Z,{gutter:[8,8],children:[(0,i.jsx)(p.Z,{span:12,children:(0,i.jsxs)(I.ZP,{type:"primary",onClick:function(){H({modal:!0}),ee({id:0,key_type:0,env:Y!==null?Y.toString():Y})},children:[(0,i.jsx)(S.Z,{}),"\u6DFB\u52A0\u53D8\u91CF"]})}),(0,i.jsx)(p.Z,{span:4}),(0,i.jsx)(p.Z,{span:8,children:(0,i.jsx)(k.Z,{addonBefore:(0,i.jsx)(n.Z,{allowClear:!0,placeholder:"\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",value:Y,style:{width:120},onChange:function(v){H({currentEnv:v})},children:X.map(function(L){return(0,i.jsx)(R,{value:L.id.toString(),children:L.name})})}),placeholder:"\u8BF7\u8F93\u5165key",value:G,onChange:function(v){H({name:v.target.value})}})})]}),(0,i.jsx)(f.Z,{style:{marginTop:12},children:(0,i.jsx)(p.Z,{span:24,children:(0,i.jsx)(b.Z,{dataSource:ce,columns:fe,pagination:Q,rowKey:function(v){return v.id},loading:oe.effects["gconfig/fetchGConfig"],onChange:function(v){H({pagination:v})}})})})]})})};D.default=(0,O.connect)(function(Z){var P=Z.gconfig,j=Z.user,T=Z.loading;return{gconfig:P,user:j,loading:T}})(z)},79253:function(u,D,e){u=e.nmd(u),function(){ace.require(["ace/mode/text"],function(o){u&&(u.exports=o)})}()},12477:function(u,D,e){u=e.nmd(u),ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(o,s,d){"use strict";var h=o("../lib/oop"),E=o("./text_highlight_rules").TextHighlightRules,g=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w[^\s:]*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w[^\s:]*?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(m,t,c,n){n=n.replace(/ #.*/,"");var r=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(n)[0].replace(/\S\s*$/,"").length,a=parseInt(/\d+[\s+-]*$/.exec(n));return a?(r+=a-1,this.next="mlString"):this.next="mlStringPre",c.length?(c[0]=this.next,c[1]=r):(c.push(this.next),c.push(r)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)$/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(m,t,c){var n=c[1];return n>=m.length?(this.next="start",c.shift(),c.shift()):(c[1]=m.length-1,this.next=c[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(m,t,c){var n=c[1];return n>=m.length?(this.next="start",c.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};h.inherits(g,E),s.YamlHighlightRules=g}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(o,s,d){"use strict";var h=o("../range").Range,E=function(){};(function(){this.checkOutdent=function(g,m){return/^\s+$/.test(g)?/^\s*\}/.test(m):!1},this.autoOutdent=function(g,m){var t=g.getLine(m),c=t.match(/^(\s*\})/);if(!c)return 0;var n=c[1].length,r=g.findMatchingBracket({row:m,column:n});if(!r||r.row==m)return 0;var a=this.$getIndent(g.getLine(r.row));g.replace(new h(m,0,m,n-1),a)},this.$getIndent=function(g){return g.match(/^\s*/)[0]}}).call(E.prototype),s.MatchingBraceOutdent=E}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(o,s,d){"use strict";var h=o("../../lib/oop"),E=o("./fold_mode").FoldMode,g=o("../../range").Range,m=s.FoldMode=function(){};h.inherits(m,E),function(){this.commentBlock=function(t,c){var n=/\S/,r=t.getLine(c),a=r.search(n);if(!(a==-1||r[a]!="#")){for(var y=r.length,l=t.getLength(),M=c,_=c;++cM){var p=t.getLine(_).length;return new g(M,y,_,p)}}},this.getFoldWidgetRange=function(t,c,n){var r=this.indentationBlock(t,n);if(r||(r=this.commentBlock(t,n),r))return r},this.getFoldWidget=function(t,c,n){var r=t.getLine(n),a=r.search(/\S/),y=t.getLine(n+1),l=t.getLine(n-1),M=l.search(/\S/),_=y.search(/\S/);if(a==-1)return t.foldWidgets[n-1]=M!=-1&&M<_?"start":"","";if(M==-1){if(a==_&&r[a]=="#"&&y[a]=="#")return t.foldWidgets[n-1]="",t.foldWidgets[n+1]="","start"}else if(M==a&&r[a]=="#"&&l[a]=="#"&&t.getLine(n-2).search(/\S/)==-1)return t.foldWidgets[n-1]="start",t.foldWidgets[n+1]="","";return M!=-1&&Mp){var O=t.getLine(I).length;return new g(p,_,I,O)}}},this.getFoldWidget=function(t,c,n){var r=t.getLine(n),a=r.search(/\S/),y=t.getLine(n+1),l=t.getLine(n-1),M=l.search(/\S/),_=y.search(/\S/),f=r[a]==="-";if(a==-1)return t.foldWidgets[n-1]=M!=-1&&M<_?"start":"","";if(M==-1){if(a==_&&r[a]=="#"&&y[a]=="#")return t.foldWidgets[n-1]="",t.foldWidgets[n+1]="","start"}else if(M==a&&r[a]=="#"&&l[a]=="#"&&t.getLine(n-2).search(/\S/)==-1)return t.foldWidgets[n-1]="start",t.foldWidgets[n+1]="","";return M!=-1&&Mf in j?m(j,f,{enumerable:!0,configurable:!0,writable:!0,value:v}):j[f]=v,_=(j,f)=>{for(var v in f||(f={}))r.call(f,v)&&n(j,v,f[v]);if(d)for(var v of d(f))i.call(f,v)&&n(j,v,f[v]);return j};const g=j=>React.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},j),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var D="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",c=e(85893),x=function(j){var f=j.user,v=j.size,S=v===void 0?24:v,I=j.marginLeft,O=I===void 0?6:I;return f===void 0?(0,c.jsx)(o.C,{size:S,src:D,alt:"avatar"}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.C,{size:S,className:M.avatar,src:f.avatar||h.Z.AVATAR_URL,alt:"avatar"}),(0,c.jsx)(s.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:f.deleted_at?(0,c.jsx)("del",{children:(0,c.jsx)("a",{style:{marginLeft:O,fontSize:13,color:"#ccc"},href:"/#/member/".concat(f.id),rel:"noreferrer",children:f.name})}):(0,c.jsx)("a",{onClick:function(P){P.stopPropagation()},style:{marginLeft:O,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(f.id),rel:"noreferrer",children:f.name})})]})}},24315:function(l,L,e){"use strict";e.d(L,{Z:function(){return S}});var t=e(12444),o=e.n(t),s=e(72004),M=e.n(s),h=e(31996),m=e.n(h),d=e(26037),r=e.n(d),i=e(67294),n=e(74981),_=e(82679),g=e(41612),D=e(68991),c=e(84360),x=e(90252),j=e(12477),f=e(79253),v=e(85893),S=function(I){m()(C,I);var O=r()(C);function C(){return o()(this,C),O.apply(this,arguments)}return M()(C,[{key:"componentDidMount",value:function(){var k=this;this.props.setEditor(this.refs),(0,_.addCompleter)({getCompletions:function(T,W,H,F,R){R(null,(k.props.tables||[]).map(function(a){return{name:a,value:a}}))}})}},{key:"render",value:function(){var k=this.props,B=k.value,T=k.language,W=k.onChange,H=k.height,F=k.readOnly,R=k.theme,a=k.useWorker;return(0,v.jsx)(n.ZP,{ref:"aceEditor",mode:T||"json",theme:R||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:W,value:B,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:H||300},setOptions:{readOnly:F||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!1}})}}]),C}(i.Component)},84298:function(l,L,e){"use strict";var t=e(97857),o=e.n(t),s=e(5574),M=e.n(s),h=e(67294),m=e(58131),d=e(69400),r=e(15746),i=e(76081),n=e(85893),_=m.Z.Item,g=function(c){var x=c.title,j=c.width,f=c.left,v=c.right,S=c.formName,I=c.record,O=c.onFinish,C=c.loading,P=c.fields,k=c.open,B=c.onCancel,T=c.offset,W=T===void 0?0:T,H=c.children,F=c.Footer,R=c.onTest,a=m.Z.useForm(),U=M()(a,1),z=U[0],Z=function(){z.validateFields().then(function(A){O(A)})};(0,h.useEffect)(function(){z.resetFields(),z.setFieldsValue(I)},[I]);var N={labelCol:{span:f},wrapperCol:{span:v}};return(0,n.jsxs)(d.Z,{style:{marginTop:W},confirmLoading:C,footer:F!==void 0?(0,n.jsx)(F,{onOk:Z,onCancel:B,onTest:function(){z.validateFields().then(function(A){R(A)})}}):void 0,title:x,width:j,open:k,onOk:Z,onCancel:B,children:[H||null,(0,n.jsx)(m.Z,o()(o()({form:z},N),{},{name:S,initialValues:I,onFinish:O,children:P.map(function(p,A){return(0,n.jsx)(r.Z,{span:p.span||24,children:(0,n.jsx)(_,{label:p.label,colon:p.colon||!0,initialValue:p.initialValue,rules:[{required:p.required,message:p.message}],name:p.name,valuePropName:p.valuePropName||"value",children:(0,i.Z)(p.type,p.placeholder,p.component)})},A)})}))]})};L.Z=g},76081:function(l,L,e){"use strict";var t=e(96365),o=e(72269),s=e(67294),M=e(85893),h=t.Z.TextArea,m=function(r,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return n||(r==="input"?(0,M.jsx)(t.Z,{placeholder:i}):r==="textarea"?(0,M.jsx)(h,{placeholder:i}):r==="switch"?(0,M.jsx)(o.Z,{}):null)};L.Z=m},50439:function(l,L,e){"use strict";e.r(L);var t=e(97857),o=e.n(t),s=e(15009),M=e.n(s),h=e(99289),m=e.n(h),d=e(5574),r=e.n(d),i=e(58841),n=e(34041),_=e(51904),g=e(69400),D=e(53575),c=e(96074),x=e(72269),j=e(4393),f=e(71230),v=e(15746),S=e(71577),I=e(96365),O=e(64240),C=e(67294),P=e(94171),k=e(51042),B=e(84298),T=e(26671),W=e(42481),H=e(12554),F=e(24315),R=e(19478),a=e(85893),U=n.Z.Option,z=function(N){var p=N.gconfig,A=N.user,oe=N.loading,K=N.dispatch,ce=p.data,X=p.envList,J=p.key_type,ie=p.envMap,le=p.modal,Y=p.currentEnv,G=p.name,Q=p.pagination,se=A.userMap,ue=(0,C.useState)({id:0,key_type:0}),q=r()(ue,2),w=q[0],ee=q[1],de=(0,C.useState)(0),ne=r()(de,2),ae=ne[0],te=ne[1],_e=(0,C.useState)(null),re=r()(_e,2),pe=re[0],ge=re[1],me=function(){return ae===1||ae===2?"yaml":"text"},fe=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(u){return(0,a.jsx)(_.Z,{children:ie[u]})}},{title:"\u7C7B\u578B",dataIndex:"key_type",key:"key_type",render:function(u){return(0,a.jsx)(_.Z,{color:R.Z.CONFIG_TYPE_TAG[J[u]],children:J[u]})}},{title:"key",dataIndex:"key",key:"keyword"},{title:"value",dataIndex:"value",key:"value",ellipsis:!0,render:function(u,y){if(y.key_type===0)return u;if(y.key_type===1)return(0,a.jsx)("a",{onClick:function(){g.Z.info({title:"".concat(y.key),width:500,bodyStyle:{padding:-12},content:(0,a.jsx)(W.Z,{language:"json",style:T.BV,children:y.value})})},children:"\u67E5\u770B"});if(y.key_type===2)return(0,a.jsx)("a",{onClick:function(){g.Z.info({title:"".concat(y.key),width:500,bodyStyle:{padding:-12},content:(0,a.jsx)(W.Z,{language:"yaml",style:T.BV,children:y.value})})},children:"\u67E5\u770B"})}},{title:"\u662F\u5426\u53EF\u7528",dataIndex:"enable",key:"enable",render:function(u){return(0,a.jsx)(D.Z,{status:u?"processing":"default",text:u?"\u4F7F\u7528\u4E2D":"\u5DF2\u7981\u6B62"})}},{title:"\u521B\u5EFA\u4EBA",key:"create_user",render:function(u,y){return(0,a.jsx)(H.Z,{user:se[y.create_user.toString()]})}},{title:"\u64CD\u4F5C",key:"operation",render:function(u,y){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{onClick:function(){$({modal:!0}),ee(y),te(y.key_type)},children:"\u7F16\u8F91"}),(0,a.jsx)(c.Z,{type:"vertical"}),(0,a.jsx)("a",{onClick:function(){K({type:"gconfig/deleteGConfig",payload:{id:y.id}})},children:"\u5220\u9664"})]})}}],Me=[{name:"env",label:"\u73AF\u5883",required:!0,component:(0,a.jsx)(n.Z,{defaultValue:Y,placeholder:"\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",children:X.map(function(E){return(0,a.jsx)(U,{value:E.id,children:E.name})})}),type:"select"},{name:"key_type",label:"\u7C7B\u578B",required:!0,component:(0,a.jsxs)(n.Z,{onSelect:function(u){te(u)},children:[(0,a.jsx)(U,{value:0,children:"String"}),(0,a.jsx)(U,{value:1,children:"JSON"}),(0,a.jsx)(U,{value:2,children:"YAML"})]}),type:"select"},{name:"key",label:"key",required:!0,type:"input",placeholder:"\u8BF7\u8F93\u5165key"},{name:"value",label:"value",required:!0,component:(0,a.jsx)(F.Z,{language:me(),setEditor:ge,height:250})},{name:"enable",label:"\u662F\u5426\u53EF\u7528",required:!0,component:(0,a.jsx)(x.Z,{}),valuePropName:"checked",initialValue:!0}],he=function(){var E=m()(M()().mark(function u(){return M()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,K({type:"gconfig/fetchEnvList",payload:{page:1,size:1e4}});case 2:case"end":return b.stop()}},u)}));return function(){return E.apply(this,arguments)}}(),ve=function(){K({type:"user/fetchUserList"})},Ee=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Q.current,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q.pageSize;K({type:"gconfig/fetchGConfig",payload:{page:u,size:y,env:Y||"",key:G}})};(0,C.useEffect)(function(){he()},[]),(0,C.useEffect)(function(){ve(),Ee()},[Y,G,Q.current]);var je=function(){var E=m()(M()().mark(function u(y){var b;return M()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:b=o()(o()({},w),y),w.id===0?K({type:"gconfig/insertConfig",payload:b}):K({type:"gconfig/updateGConfig",payload:b});case 2:case"end":return V.stop()}},u)}));return function(y){return E.apply(this,arguments)}}(),$=function(u){K({type:"gconfig/save",payload:u})};return(0,a.jsx)(i._z,{title:"\u5168\u5C40\u53D8\u91CF",breadcrumb:null,children:(0,a.jsxs)(j.Z,{children:[(0,a.jsx)(B.Z,{fields:Me,open:le,left:4,right:20,onFinish:je,onCancel:function(){$({modal:!1})},title:"\u7F16\u8F91\u53D8\u91CF",record:w,width:600,offset:-60}),(0,a.jsxs)(f.Z,{gutter:[8,8],children:[(0,a.jsx)(v.Z,{span:12,children:(0,a.jsxs)(S.ZP,{type:"primary",onClick:function(){$({modal:!0}),ee({id:0,key_type:0,env:Y!==null?Y.toString():Y})},children:[(0,a.jsx)(k.Z,{}),"\u6DFB\u52A0\u53D8\u91CF"]})}),(0,a.jsx)(v.Z,{span:4}),(0,a.jsx)(v.Z,{span:8,children:(0,a.jsx)(I.Z,{addonBefore:(0,a.jsx)(n.Z,{allowClear:!0,placeholder:"\u9009\u62E9\u5BF9\u5E94\u73AF\u5883",value:Y,style:{width:120},onChange:function(u){$({currentEnv:u})},children:X.map(function(E){return(0,a.jsx)(U,{value:E.id.toString(),children:E.name})})}),placeholder:"\u8BF7\u8F93\u5165key",value:G,onChange:function(u){$({name:u.target.value})}})})]}),(0,a.jsx)(f.Z,{style:{marginTop:12},children:(0,a.jsx)(v.Z,{span:24,children:(0,a.jsx)(O.Z,{dataSource:ce,columns:fe,pagination:Q,rowKey:function(u){return u.id},loading:oe.effects["gconfig/fetchGConfig"],onChange:function(u){$({pagination:u})}})})})]})})};L.default=(0,P.connect)(function(Z){var N=Z.gconfig,p=Z.user,A=Z.loading;return{gconfig:N,user:p,loading:A}})(z)},79253:function(l,L,e){l=e.nmd(l),function(){ace.require(["ace/mode/text"],function(t){l&&(l.exports=t)})}()},12477:function(l,L,e){l=e.nmd(l),ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,o,s){"use strict";var M=t("../lib/oop"),h=t("./text_highlight_rules").TextHighlightRules,m=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w.*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w+?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(d,r,i,n){n=n.replace(/ #.*/,"");var _=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(n)[0].replace(/\S\s*$/,"").length,g=parseInt(/\d+[\s+-]*$/.exec(n));return g?(_+=g-1,this.next="mlString"):this.next="mlStringPre",i.length?(i[0]=this.next,i[1]=_):(i.push(this.next),i.push(_)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(d,r,i){var n=i[1];return n>=d.length?(this.next="start",i.shift(),i.shift()):(i[1]=d.length-1,this.next=i[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(d,r,i){var n=i[1];return n>=d.length?(this.next="start",i.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};M.inherits(m,h),o.YamlHighlightRules=m}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(t,o,s){"use strict";var M=t("../range").Range,h=function(){};(function(){this.checkOutdent=function(m,d){return/^\s+$/.test(m)?/^\s*\}/.test(d):!1},this.autoOutdent=function(m,d){var r=m.getLine(d),i=r.match(/^(\s*\})/);if(!i)return 0;var n=i[1].length,_=m.findMatchingBracket({row:d,column:n});if(!_||_.row==d)return 0;var g=this.$getIndent(m.getLine(_.row));m.replace(new M(d,0,d,n-1),g)},this.$getIndent=function(m){return m.match(/^\s*/)[0]}}).call(h.prototype),o.MatchingBraceOutdent=h}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(t,o,s){"use strict";var M=t("../../lib/oop"),h=t("./fold_mode").FoldMode,m=t("../../range").Range,d=o.FoldMode=function(){};M.inherits(d,h),function(){this.getFoldWidgetRange=function(r,i,n){var _=this.indentationBlock(r,n);if(_)return _;var g=/\S/,D=r.getLine(n),c=D.search(g);if(!(c==-1||D[c]!="#")){for(var x=D.length,j=r.getLength(),f=n,v=n;++nf){var I=r.getLine(v).length;return new m(f,x,v,I)}}},this.getFoldWidget=function(r,i,n){var _=r.getLine(n),g=_.search(/\S/),D=r.getLine(n+1),c=r.getLine(n-1),x=c.search(/\S/),j=D.search(/\S/);if(g==-1)return r.foldWidgets[n-1]=x!=-1&&xn in a?S(a,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[n]=i,T=(a,n)=>{for(var i in n||(n={}))g.call(n,i)&&L(a,i,n[i]);if(x)for(var i of x(n))E.call(n,i)&&L(a,i,n[i]);return a};const U=a=>React.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},a),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var p="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",l=t(85893),O=function(a){var n=a.user,i=a.size,A=i===void 0?24:i,m=a.marginLeft,s=m===void 0?6:m;return n===void 0?(0,l.jsx)(c.C,{size:A,src:p,alt:"avatar"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.C,{size:A,className:I.avatar,src:n.avatar||N.Z.AVATAR_URL,alt:"avatar"}),(0,l.jsx)(y.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:n.deleted_at?(0,l.jsx)("del",{children:(0,l.jsx)("a",{style:{marginLeft:s,fontSize:13,color:"#ccc"},href:"/#/member/".concat(n.id),rel:"noreferrer",children:n.name})}):(0,l.jsx)("a",{onClick:function(F){F.stopPropagation()},style:{marginLeft:s,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(n.id),rel:"noreferrer",children:n.name})})]})}},3475:function(z,o,t){t.r(o),t.d(o,{default:function(){return tt}});var v=t(97857),c=t.n(v),y=t(15009),I=t.n(y),N=t(99289),S=t.n(N),x=t(5574),g=t.n(x),E=t(58841),L=t(8232),T=t(96074),U=t(4393),p=t(17788),l=t(55102),O=t(66476),a=t(71230),n=t(15746),i=t(14726),A=t(72051),m=t(1413),s=t(67294),P={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"},F=P,k=t(84089),G=function(j,D){return s.createElement(k.Z,(0,m.Z)((0,m.Z)({},j),{},{ref:D,icon:F}))},X=s.forwardRef(G),J=X,K=t(51042),B=t(19478),$=t(90596),q=t(12554),e=t(85893),_=function(j){var D=j.loading,M=j.dispatch,R=j.gconfig,et=j.user,nt=L.Z.useForm(),ut=g()(nt,1),W=ut[0],H=R.ossFileList,at=R.searchOssFileList,it=(0,s.useState)(!1),Y=g()(it,2),rt=Y[0],Z=Y[1],lt=(0,s.useState)(""),b=g()(lt,2),C=b[0],Q=b[1],st=et.userMap,ot=function(){M({type:"user/fetchUserList"})},ct=function(u){M({type:"gconfig/removeOssFile",payload:{filepath:u.file_path}})},w=function(){M({type:"gconfig/listOssFile"})},Lt=[{title:"\u6587\u4EF6\u8DEF\u5F84",key:"file_path",dataIndex:"file_path",render:function(u,f){return(0,e.jsx)("a",{href:f.view_url,target:"_blank",children:u})}},{title:"\u5927\u5C0F",key:"file_size",dataIndex:"file_size"},{title:"\u521B\u5EFA\u4EBA",key:"create_user",dataIndex:"create_user",render:function(u){return(0,e.jsx)(q.Z,{user:st[u]})}},{title:"\u66F4\u65B0\u65F6\u95F4",key:"updated_at",dataIndex:"updated_at"},{title:"\u64CD\u4F5C",key:"ops",render:function(u){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){window.open("".concat(B.Z.URL,"/oss/download?filepath=").concat(u.file_path))},children:"\u4E0B\u8F7D"}),(0,e.jsx)(T.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:function(){ct(u)},children:"\u5220\u9664"})]})}}],jt=function(u){return Array.isArray(u)?u:u&&u.fileList},Mt=function(){var r=S()(I()().mark(function u(){var f,V;return I()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,W.validateFields();case 2:return f=d.sent,d.next=5,M({type:"gconfig/uploadFile",payload:f});case 5:V=d.sent,V&&(Z(!1),Q(""),w());case 7:case"end":return d.stop()}},u)}));return function(){return r.apply(this,arguments)}}();return(0,s.useEffect)(function(){M(C===""?{type:"gconfig/save",payload:{searchOssFileList:H}}:{type:"gconfig/save",payload:{searchOssFileList:H.filter(function(r){return r.file_path.toLowerCase().indexOf(C.toLowerCase())>-1})}})},[C]),(0,s.useEffect)(function(){w(),ot()},[]),(0,e.jsx)(E._z,{title:"OSS\u6587\u4EF6\u7BA1\u7406",breadcrumb:null,children:(0,e.jsxs)(U.Z,{children:[(0,e.jsx)(p.Z,{width:600,title:"\u4E0A\u4F20\u6587\u4EF6",open:rt,onCancel:function(){return Z(!1)},onOk:Mt,children:(0,e.jsxs)(L.Z,c()(c()({form:W},B.Z.SQL_LAYOUT),{},{children:[(0,e.jsx)(L.Z.Item,{label:"\u6587\u4EF6\u8DEF\u5F84",name:"filepath",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u8981\u5B58\u50A8\u7684\u8DEF\u5F84, \u76EE\u5F55\u7528/\u9694\u5F00"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u8981\u5B58\u50A8\u7684\u8DEF\u5F84, \u76EE\u5F55\u7528/\u9694\u5F00"})}),(0,e.jsx)(L.Z.Item,{label:"\u6587\u4EF6",required:!0,children:(0,e.jsx)(L.Z.Item,{name:"files",valuePropName:"fileList",getValueFromEvent:jt,noStyle:!0,rules:[{required:!0,message:"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6"}],children:(0,e.jsxs)(O.Z.Dragger,{name:"files",maxCount:1,beforeUpload:function(){return!1},children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)(J,{})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20\u{1F389}"})]})})})]}))}),(0,e.jsxs)(a.Z,{gutter:[8,8],style:{marginBottom:12},children:[(0,e.jsx)(n.Z,{span:6,children:(0,e.jsxs)(i.ZP,{type:"primary",onClick:function(){return Z(!0)},children:[(0,e.jsx)(K.Z,{}),"\u6DFB\u52A0\u6587\u4EF6"]})}),(0,e.jsx)(n.Z,{span:12}),(0,e.jsx)(n.Z,{span:6,children:(0,e.jsx)(l.Z,{placeholder:"\u8F93\u5165\u8981\u67E5\u627E\u7684\u6587\u4EF6\u540D",value:C,onChange:function(u){Q(u.target.value)}})})]}),(0,e.jsx)(A.Z,{rowKey:function(u){return u.key},dataSource:at,columns:Lt,loading:D.effects["gconfig/listOssFile"]})]})})},tt=(0,$.connect)(function(h){var j=h.loading,D=h.gconfig,M=h.user;return{loading:j,gconfig:D,user:M}})(_)}}]); diff --git a/statics/p__Config__Oss.87d7ab27.async.js b/statics/p__Config__Oss.87d7ab27.async.js deleted file mode 100644 index 1e6e7ca0..00000000 --- a/statics/p__Config__Oss.87d7ab27.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4092],{47046:function(C,o){var t={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"};o.Z=t},51042:function(C,o,t){var v=t(1413),c=t(67294),S=t(42110),I=t(84089),y=function(N,g){return c.createElement(I.Z,(0,v.Z)((0,v.Z)({},N),{},{ref:g,icon:S.Z}))};y.displayName="PlusOutlined",o.Z=c.forwardRef(y)},12554:function(C,o,t){t.d(o,{Z:function(){return O}});var v=t(67294),c=t(98293),S=t(83062),I={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},y=t(19478),h=Object.defineProperty,N=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,L=(a,u,i)=>u in a?h(a,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[u]=i,T=(a,u)=>{for(var i in u||(u={}))g.call(u,i)&&L(a,i,u[i]);if(N)for(var i of N(u))z.call(u,i)&&L(a,i,u[i]);return a};const U=a=>React.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},a),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var p="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",l=t(85893),O=function(a){var u=a.user,i=a.size,D=i===void 0?24:i,x=a.marginLeft,s=x===void 0?6:x;return u===void 0?(0,l.jsx)(c.C,{size:D,src:p,alt:"avatar"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.C,{size:D,className:I.avatar,src:u.avatar||y.Z.AVATAR_URL,alt:"avatar"}),(0,l.jsx)(S.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:u.deleted_at?(0,l.jsx)("del",{children:(0,l.jsx)("a",{style:{marginLeft:s,fontSize:13,color:"#ccc"},href:"/#/member/".concat(u.id),rel:"noreferrer",children:u.name})}):(0,l.jsx)("a",{onClick:function(F){F.stopPropagation()},style:{marginLeft:s,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(u.id),rel:"noreferrer",children:u.name})})]})}},3475:function(C,o,t){t.r(o),t.d(o,{default:function(){return _}});var v=t(97857),c=t.n(v),S=t(15009),I=t.n(S),y=t(99289),h=t.n(y),N=t(5574),g=t.n(N),z=t(58841),L=t(58131),T=t(96074),U=t(4393),p=t(69400),l=t(96365),O=t(66476),a=t(71230),u=t(15746),i=t(71577),D=t(64240),x=t(1413),s=t(67294),P={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"},F=P,G=t(84089),B=function(j,m){return s.createElement(G.Z,(0,x.Z)((0,x.Z)({},j),{},{ref:m,icon:F}))};B.displayName="InboxOutlined";var X=s.forwardRef(B),J=t(51042),R=t(19478),K=t(94171),$=t(12554),e=t(85893),q=function(j){var m=j.loading,M=j.dispatch,W=j.gconfig,tt=j.user,et=L.Z.useForm(),ut=g()(et,1),H=ut[0],Y=W.ossFileList,nt=W.searchOssFileList,at=(0,s.useState)(!1),b=g()(at,2),it=b[0],Z=b[1],rt=(0,s.useState)(""),Q=g()(rt,2),A=Q[0],w=Q[1],lt=tt.userMap,st=function(){M({type:"user/fetchUserList"})},ot=function(n){M({type:"gconfig/removeOssFile",payload:{filepath:n.file_path}})},V=function(){M({type:"gconfig/listOssFile"})},ct=[{title:"\u6587\u4EF6\u8DEF\u5F84",key:"file_path",dataIndex:"file_path",render:function(n,f){return(0,e.jsx)("a",{href:f.view_url,target:"_blank",children:n})}},{title:"\u5927\u5C0F",key:"file_size",dataIndex:"file_size"},{title:"\u521B\u5EFA\u4EBA",key:"create_user",dataIndex:"create_user",render:function(n){return(0,e.jsx)($.Z,{user:lt[n]})}},{title:"\u66F4\u65B0\u65F6\u95F4",key:"updated_at",dataIndex:"updated_at"},{title:"\u64CD\u4F5C",key:"ops",render:function(n){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){window.open("".concat(R.Z.URL,"/oss/download?filepath=").concat(n.file_path))},children:"\u4E0B\u8F7D"}),(0,e.jsx)(T.Z,{type:"vertical"}),(0,e.jsx)("a",{onClick:function(){ot(n)},children:"\u5220\u9664"})]})}}],Lt=function(n){return Array.isArray(n)?n:n&&n.fileList},jt=function(){var r=h()(I()().mark(function n(){var f,k;return I()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,H.validateFields();case 2:return f=d.sent,d.next=5,M({type:"gconfig/uploadFile",payload:f});case 5:k=d.sent,k&&(Z(!1),w(""),V());case 7:case"end":return d.stop()}},n)}));return function(){return r.apply(this,arguments)}}();return(0,s.useEffect)(function(){M(A===""?{type:"gconfig/save",payload:{searchOssFileList:Y}}:{type:"gconfig/save",payload:{searchOssFileList:Y.filter(function(r){return r.file_path.toLowerCase().indexOf(A.toLowerCase())>-1})}})},[A]),(0,s.useEffect)(function(){V(),st()},[]),(0,e.jsx)(z._z,{title:"OSS\u6587\u4EF6\u7BA1\u7406",breadcrumb:null,children:(0,e.jsxs)(U.Z,{children:[(0,e.jsx)(p.Z,{width:600,title:"\u4E0A\u4F20\u6587\u4EF6",open:it,onCancel:function(){return Z(!1)},onOk:jt,children:(0,e.jsxs)(L.Z,c()(c()({form:H},R.Z.SQL_LAYOUT),{},{children:[(0,e.jsx)(L.Z.Item,{label:"\u6587\u4EF6\u8DEF\u5F84",name:"filepath",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u8981\u5B58\u50A8\u7684\u8DEF\u5F84, \u76EE\u5F55\u7528/\u9694\u5F00"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u8981\u5B58\u50A8\u7684\u8DEF\u5F84, \u76EE\u5F55\u7528/\u9694\u5F00"})}),(0,e.jsx)(L.Z.Item,{label:"\u6587\u4EF6",required:!0,children:(0,e.jsx)(L.Z.Item,{name:"files",valuePropName:"fileList",getValueFromEvent:Lt,noStyle:!0,rules:[{required:!0,message:"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6"}],children:(0,e.jsxs)(O.Z.Dragger,{name:"files",maxCount:1,beforeUpload:function(){return!1},children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)(X,{})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20\u{1F389}"})]})})})]}))}),(0,e.jsxs)(a.Z,{gutter:[8,8],style:{marginBottom:12},children:[(0,e.jsx)(u.Z,{span:6,children:(0,e.jsxs)(i.ZP,{type:"primary",onClick:function(){return Z(!0)},children:[(0,e.jsx)(J.Z,{}),"\u6DFB\u52A0\u6587\u4EF6"]})}),(0,e.jsx)(u.Z,{span:12}),(0,e.jsx)(u.Z,{span:6,children:(0,e.jsx)(l.Z,{placeholder:"\u8F93\u5165\u8981\u67E5\u627E\u7684\u6587\u4EF6\u540D",value:A,onChange:function(n){w(n.target.value)}})})]}),(0,e.jsx)(D.Z,{rowKey:function(n){return n.key},dataSource:nt,columns:ct,loading:m.effects["gconfig/listOssFile"]})]})})},_=(0,K.connect)(function(E){var j=E.loading,m=E.gconfig,M=E.user;return{loading:j,gconfig:m,user:M}})(q)}}]); diff --git a/statics/p__Config__Redis.2310c2c5.async.js b/statics/p__Config__Redis.2310c2c5.async.js deleted file mode 100644 index 4252efe2..00000000 --- a/statics/p__Config__Redis.2310c2c5.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4401],{646:function(ae,L,t){var K=t(86738),O=t(85893);L.Z=function(_){var m=_.title,U=_.text,i=_.onConfirm;return(0,O.jsx)(K.Z,{title:m,onConfirm:i,children:(0,O.jsx)("a",{children:U})})}},77619:function(ae,L,t){t.r(L);var K=t(97857),O=t.n(K),_=t(15009),m=t.n(_),U=t(99289),i=t.n(U),G=t(5574),D=t.n(G),J=t(58841),T=t(34041),V=t(51904),Q=t(96074),g=t(58131),k=t(4393),q=t(71230),I=t(15746),M=t(96365),oe=t(71577),ee=t(69400),X=t(43589),ne=t(64240),z=t(94171),N=t(67294),n=t(19478),f=t(51042),u=t(646),e=t(85893),r=T.Z.Option,a=function(l){var c=l.gconfig,d=l.loading,s=l.dispatch,h=c.envList,P=c.redisConfig,Z=c.envMap,H=(0,N.useState)(!1),F=D()(H,2),R=F[0],B=F[1],x=(0,N.useState)({}),S=D()(x,2),A=S[0],Y=S[1],b=function(){var y=w.getFieldsValue();s({type:"gconfig/fetchRedisConfig",payload:y})},te=function(){s({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}})},re=function(){var C=i()(m()().mark(function y($){var W;return m()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,s({type:"gconfig/deleteRedisConfig",payload:{id:$}});case 2:W=v.sent,W&&b();case 4:case"end":return v.stop()}},y)}));return function($){return C.apply(this,arguments)}}();(0,N.useEffect)(function(){b(),te()},[]),(0,N.useEffect)(function(){le.resetFields(),le.setFieldsValue(A)},[A]);var p=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(y){return Z[y]}},{title:"\u540D\u79F0",key:"name",dataIndex:"name"},{title:"\u5730\u5740",key:"addr",dataIndex:"addr"},{title:"\u7528\u6237\u540D",key:"username",dataIndex:"username"},{title:"\u5BC6\u7801",key:"password",dataIndex:"password"},{title:"\u7C7B\u578B",key:"cluster",dataIndex:"cluster",render:function(y){return y?(0,e.jsx)(V.Z,{color:"blue",children:"\u96C6\u7FA4"}):(0,e.jsx)(V.Z,{color:"green",children:"\u5B9E\u4F8B"})}},{title:"\u64CD\u4F5C",key:"ops",render:function(y,$){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){Y($),B(!0)},children:"\u7F16\u8F91"}),(0,e.jsx)(Q.Z,{type:"vertical"}),(0,e.jsx)(u.Z,{text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5redis\u914D\u7F6E\u5417?",onConfirm:i()(m()().mark(function W(){return m()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,re($.id);case 2:case"end":return v.stop()}},W)}))})]})}}],E=g.Z.useForm(),j=D()(E,1),w=j[0],ie=g.Z.useForm(),ce=D()(ie,1),le=ce[0],ue=function(){var C=i()(m()().mark(function y(){var $,W;return m()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,le.validateFields();case 2:if($=v.sent,A.id){v.next=9;break}return v.next=6,s({type:"gconfig/insertRedisConfig",payload:$});case 6:W=v.sent,v.next=12;break;case 9:return v.next=11,s({type:"gconfig/updateRedisConfig",payload:O()(O()({},$),{},{id:A.id})});case 11:W=v.sent;case 12:W&&(B(!1),b());case 13:case"end":return v.stop()}},y)}));return function(){return C.apply(this,arguments)}}();return(0,e.jsx)(J._z,{title:"Redis\u914D\u7F6E",breadcrumb:null,children:(0,e.jsxs)(k.Z,{children:[(0,e.jsx)(g.Z,O()(O()({form:w},n.Z.LAYOUT),{},{onValuesChange:function(){b()},children:(0,e.jsxs)(q.Z,{gutter:[8,8],children:[(0,e.jsx)(I.Z,{span:6,children:(0,e.jsx)(g.Z.Item,{label:"\u73AF\u5883",name:"env",children:(0,e.jsx)(T.Z,{placeholder:"\u9009\u62E9\u73AF\u5883",allowClear:!0,children:h.map(function(C){return(0,e.jsx)(r,{value:C.id,children:C.name},C.id)})})})}),(0,e.jsx)(I.Z,{span:6,children:(0,e.jsx)(g.Z.Item,{label:"\u540D\u79F0",name:"name",children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165redis\u540D\u79F0"})})}),(0,e.jsx)(I.Z,{span:6,children:(0,e.jsx)(g.Z.Item,{label:"\u5730\u5740",name:"addr",children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165redis\u5730\u5740"})})}),(0,e.jsx)(I.Z,{span:6,children:(0,e.jsx)(g.Z.Item,{label:"\u7C7B\u578B",name:"cluster",children:(0,e.jsxs)(T.Z,{placeholder:"\u9009\u62E9redis\u7C7B\u578B",allowClear:!0,children:[(0,e.jsx)(r,{value:!0,children:"\u96C6\u7FA4"}),(0,e.jsx)(r,{value:!1,children:"\u5B9E\u4F8B"})]})})})]})})),(0,e.jsxs)(oe.ZP,{type:"primary",style:{marginBottom:8},onClick:function(){B(!0),Y({})},children:[(0,e.jsx)(f.Z,{}),"\u6DFB\u52A0\u914D\u7F6E"]}),(0,e.jsx)(ee.Z,{title:"Redis\u914D\u7F6E",width:500,open:R,onCancel:function(){return B(!1)},onOk:ue,children:(0,e.jsxs)(g.Z,O()(O()({form:le,initialValues:A},n.Z.LAYOUT),{},{children:[(0,e.jsx)(g.Z.Item,{label:"\u73AF\u5883",name:"env",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883"}],children:(0,e.jsx)(T.Z,{placeholder:"\u9009\u62E9\u73AF\u5883",allowClear:!0,children:h.map(function(C){return(0,e.jsx)(r,{value:C.id,children:C.name},C.id)})})}),(0,e.jsx)(g.Z.Item,{label:"redis\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BF9\u5E94redis\u540D\u79F0"}],children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165redis\u540D\u79F0"})}),(0,e.jsx)(g.Z.Item,{label:"\u5730\u5740",name:"addr",rules:[{required:!0,message:"\u8F93\u5165redis\u8FDE\u63A5\u5730\u5740\uFF0C\u96C6\u7FA4\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"}],children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165redis\u8FDE\u63A5\u5730\u5740, \u96C6\u7FA4\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"})}),(0,e.jsx)(g.Z.Item,{label:"\u7528\u6237\u540D",name:"username",rules:[{required:!1,message:"\u8F93\u5165redis\u7528\u6237\u540D"}],children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165redis\u7528\u6237\u540D"})}),(0,e.jsx)(g.Z.Item,{label:"\u5BC6\u7801",name:"password",rules:[{required:!1,message:"\u8F93\u5165redis\u5BC6\u7801"}],children:(0,e.jsx)(M.Z,{placeholder:"\u8F93\u5165redis\u5BC6\u7801"})}),(0,e.jsx)(g.Z.Item,{label:"db",name:"db",rules:[{required:!1,message:"\u8F93\u5165redis\u5BC6\u7801"}],children:(0,e.jsx)(X.Z,{placeholder:"\u8F93\u5165db\uFF0C\u9ED8\u8BA4\u4E3A0(\u96C6\u7FA4\u4E0D\u9700\u8981db)",style:{width:"100%"}})}),(0,e.jsx)(g.Z.Item,{label:"\u7C7B\u578B",name:"cluster",rules:[{required:!0,message:"\u9009\u62E9redis\u7C7B\u578B"}],children:(0,e.jsxs)(T.Z,{placeholder:"\u9009\u62E9redis\u7C7B\u578B",children:[(0,e.jsx)(r,{value:!0,children:"\u96C6\u7FA4"}),(0,e.jsx)(r,{value:!1,children:"\u5B9E\u4F8B"})]})})]}))}),(0,e.jsx)(ne.Z,{columns:p,dataSource:P,rowKey:function(y){return y.id},loading:d.effects["gconfig/listRedisConfig"]})]})})};L.default=(0,z.connect)(function(o){var l=o.gconfig,c=o.loading;return{gconfig:l,loading:c}})(a)},86738:function(ae,L,t){t.d(L,{Z:function(){return u}});var K=t(26702),O=t(94184),_=t.n(O),m=t(21770),U=t(15105),i=t(67294),G=t(98423),D=t(53124),J=t(55241),T=t(96159),V=t(71577),Q=t(87149),g=t(86743),k=t(74342),q=t(24457),I=t(81643),M=t(60590),oe=t(67968);const ee=e=>{const{componentCls:r,iconCls:a,zIndexPopup:o,colorText:l,colorWarning:c,marginXS:d,fontSize:s,fontWeightStrong:h,lineHeight:P}=e;return{[r]:{zIndex:o,[`${r}-inner-content`]:{color:l},[`${r}-message`]:{position:"relative",marginBottom:d,color:l,fontSize:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${r}-message-icon ${a}`]:{color:c,fontSize:s,flex:"none",lineHeight:1,paddingTop:(Math.round(s*P)-s)/2},"&-title":{flex:"auto",marginInlineStart:d},"&-title-only":{fontWeight:h}},[`${r}-description`]:{position:"relative",marginInlineStart:s+d,marginBottom:d,color:l,fontSize:s},[`${r}-buttons`]:{textAlign:"end",button:{marginInlineStart:d}}}}};var X=(0,oe.Z)("Popconfirm",e=>ee(e),e=>{const{zIndexPopupBase:r}=e;return{zIndexPopup:r+60}}),ne=function(e,r){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{const{prefixCls:r,okButtonProps:a,cancelButtonProps:o,title:l,description:c,cancelText:d,okText:s,okType:h="primary",icon:P=i.createElement(K.Z,null),showCancel:Z=!0,close:H,onConfirm:F,onCancel:R}=e,{getPrefixCls:B}=i.useContext(D.E_);return i.createElement(k.Z,{componentName:"Popconfirm",defaultLocale:q.Z.Popconfirm},x=>i.createElement("div",{className:`${r}-inner-content`},i.createElement("div",{className:`${r}-message`},P&&i.createElement("span",{className:`${r}-message-icon`},P),i.createElement("div",{className:_()(`${r}-message-title`,{[`${r}-message-title-only`]:!!c})},(0,I.Z)(l))),c&&i.createElement("div",{className:`${r}-description`},(0,I.Z)(c)),i.createElement("div",{className:`${r}-buttons`},Z&&i.createElement(V.ZP,Object.assign({onClick:R,size:"small"},o),d!=null?d:x.cancelText),i.createElement(g.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,Q.n)(h)),a),actionFn:F,close:H,prefixCls:B("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s!=null?s:x.okText))))};function N(e){const{prefixCls:r,placement:a,className:o,style:l}=e,c=ne(e,["prefixCls","placement","className","style"]),{getPrefixCls:d}=i.useContext(D.E_),s=d("popconfirm",r),[h]=X(s);return h(i.createElement(M.ZP,{placement:a,className:_()(s,o),style:l,content:i.createElement(z,Object.assign({prefixCls:s},c))}))}var n=function(e,r){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{const{getPrefixCls:a}=i.useContext(D.E_),[o,l]=(0,m.Z)(!1,{value:e.open,defaultValue:e.defaultOpen}),c=(p,E)=>{var j;l(p,!0),(j=e.onOpenChange)===null||j===void 0||j.call(e,p,E)},d=p=>{c(!1,p)},s=p=>{var E;return(E=e.onConfirm)===null||E===void 0?void 0:E.call(void 0,p)},h=p=>{var E;c(!1,p),(E=e.onCancel)===null||E===void 0||E.call(void 0,p)},P=p=>{p.keyCode===U.Z.ESC&&o&&c(!1,p)},Z=p=>{const{disabled:E=!1}=e;E||c(p)},{prefixCls:H,placement:F="top",trigger:R="click",okType:B="primary",icon:x=i.createElement(K.Z,null),children:S,overlayClassName:A}=e,Y=n(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),b=a("popconfirm",H),te=_()(b,A),[re]=X(b);return re(i.createElement(J.Z,Object.assign({},(0,G.Z)(Y,["title"]),{trigger:R,placement:F,onOpenChange:Z,open:o,ref:r,overlayClassName:te,content:i.createElement(z,Object.assign({okType:B,icon:x},e,{prefixCls:b,close:d,onConfirm:s,onCancel:h})),"data-popover-inject":!0}),(0,T.Tm)(S,{onKeyDown:p=>{var E,j;i.isValidElement(S)&&((j=S==null?void 0:(E=S.props).onKeyDown)===null||j===void 0||j.call(E,p)),P(p)}})))});f._InternalPanelDoNotUseOrYouWillBeFired=N;var u=f},51904:function(ae,L,t){t.d(L,{Z:function(){return N}});var K=t(62208),O=t(94184),_=t.n(O),m=t(67294),U=t(53124),i=t(98787),G=t(45353),D=t(67968),J=t(45503);function T(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}var V=t(63443),Q=t(14747);const g=(n,f,u)=>{const e=T(u);return{[`${n.componentCls}-${f}`]:{color:n[`color${u}`],background:n[`color${e}Bg`],borderColor:n[`color${e}Border`]}}},k=n=>(0,V.j)(n,(f,u)=>{let{textColor:e,lightBorderColor:r,lightColor:a,darkColor:o}=u;return{[`${n.componentCls}-${f}`]:{color:e,background:a,borderColor:r,"&-inverse":{color:n.colorTextLightSolid,background:o,borderColor:o}}}}),q=n=>{const{paddingXXS:f,lineWidth:u,tagPaddingHorizontal:e,componentCls:r}=n,a=e-u,o=f-u;return{[r]:Object.assign(Object.assign({},(0,Q.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:a,fontSize:n.tagFontSize,lineHeight:`${n.tagLineHeight}px`,whiteSpace:"nowrap",background:n.tagDefaultBg,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.tagDefaultColor},[`${r}-close-icon`]:{marginInlineStart:o,color:n.colorTextDescription,fontSize:n.tagIconSize,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:a}})}};var I=(0,D.Z)("Tag",n=>{const{fontSize:f,lineHeight:u,lineWidth:e,fontSizeIcon:r}=n,a=Math.round(f*u),o=n.fontSizeSM,l=a-e*2,c=n.colorFillAlter,d=n.colorText,s=(0,J.TS)(n,{tagFontSize:o,tagLineHeight:l,tagDefaultBg:c,tagDefaultColor:d,tagIconSize:r-2*e,tagPaddingHorizontal:8});return[q(s),k(s),g(s,"success","Success"),g(s,"processing","Info"),g(s,"error","Error"),g(s,"warning","Warning")]}),M=function(n,f){var u={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&f.indexOf(e)<0&&(u[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,e=Object.getOwnPropertySymbols(n);r{var{prefixCls:f,className:u,checked:e,onChange:r,onClick:a}=n,o=M(n,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:l}=m.useContext(U.E_),c=Z=>{r==null||r(!e),a==null||a(Z)},d=l("tag",f),[s,h]=I(d),P=_()(d,{[`${d}-checkable`]:!0,[`${d}-checkable-checked`]:e},u,h);return s(m.createElement("span",Object.assign({},o,{className:P,onClick:c})))},X=function(n,f){var u={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&f.indexOf(e)<0&&(u[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,e=Object.getOwnPropertySymbols(n);r{var{prefixCls:u,className:e,style:r,children:a,icon:o,color:l,onClose:c,closeIcon:d,closable:s=!1}=n,h=X(n,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:P,direction:Z}=m.useContext(U.E_),[H,F]=m.useState(!0);m.useEffect(()=>{"visible"in h&&F(h.visible)},[h.visible]);const R=(0,i.o2)(l)||(0,i.yT)(l),B=Object.assign({backgroundColor:l&&!R?l:void 0},r),x=P("tag",u),[S,A]=I(x),Y=_()(x,{[`${x}-${l}`]:R,[`${x}-has-color`]:l&&!R,[`${x}-hidden`]:!H,[`${x}-rtl`]:Z==="rtl"},e,A),b=w=>{w.stopPropagation(),c==null||c(w),!w.defaultPrevented&&F(!1)},te=()=>s?d?m.createElement("span",{className:`${x}-close-icon`,onClick:b},d):m.createElement(K.Z,{className:`${x}-close-icon`,onClick:b}):null,re=typeof h.onClick=="function"||a&&a.type==="a",p=o||null,E=p?m.createElement(m.Fragment,null,p,m.createElement("span",null,a)):a,j=m.createElement("span",Object.assign({},h,{ref:f,className:Y,style:B}),E,te());return S(re?m.createElement(G.Z,null,j):j)},z=m.forwardRef(ne);z.CheckableTag=ee;var N=z}}]); diff --git a/statics/p__Config__Redis.ffdc63a1.async.js b/statics/p__Config__Redis.ffdc63a1.async.js new file mode 100644 index 00000000..38325cc9 --- /dev/null +++ b/statics/p__Config__Redis.ffdc63a1.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[4401],{51042:function(I,c,n){var m=n(1413),t=n(67294),i=n(42110),_=n(84089),D=function(E,B){return t.createElement(_.Z,(0,m.Z)((0,m.Z)({},E),{},{ref:B,icon:i.Z}))},o=t.forwardRef(D);c.Z=o},646:function(I,c,n){var m=n(86738),t=n(85893);c.Z=function(i){var _=i.title,D=i.text,o=i.onConfirm;return(0,t.jsx)(m.Z,{title:_,onConfirm:o,children:(0,t.jsx)("a",{children:D})})}},77619:function(I,c,n){n.r(c);var m=n(97857),t=n.n(m),i=n(15009),_=n.n(i),D=n(99289),o=n.n(D),y=n(5574),E=n.n(y),B=n(58841),v=n(34041),Z=n(66309),S=n(96074),u=n(8232),$=n(4393),V=n(71230),P=n(15746),f=n(55102),z=n(14726),G=n(17788),Y=n(37804),w=n(72051),H=n(90596),g=n(67294),R=n(19478),J=n(51042),N=n(646),e=n(85893),h=v.Z.Option,Q=function(j){var O=j.gconfig,X=j.loading,C=j.dispatch,b=O.envList,k=O.redisConfig,q=O.envMap,ee=(0,g.useState)(!1),U=E()(ee,2),ne=U[0],M=U[1],se=(0,g.useState)({}),W=E()(se,2),p=W[0],T=W[1],x=function(){var a=L.getFieldsValue();C({type:"gconfig/fetchRedisConfig",payload:a})},re=function(){C({type:"gconfig/fetchEnvList",payload:{page:1,size:1e3,exactly:!0}})},ue=function(){var r=o()(_()().mark(function a(l){var d;return _()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,C({type:"gconfig/deleteRedisConfig",payload:{id:l}});case 2:d=s.sent,d&&x();case 4:case"end":return s.stop()}},a)}));return function(l){return r.apply(this,arguments)}}();(0,g.useEffect)(function(){x(),re()},[]),(0,g.useEffect)(function(){F.resetFields(),F.setFieldsValue(p)},[p]);var ae=[{title:"\u73AF\u5883",key:"env",dataIndex:"env",render:function(a){return q[a]}},{title:"\u540D\u79F0",key:"name",dataIndex:"name"},{title:"\u5730\u5740",key:"addr",dataIndex:"addr"},{title:"\u7528\u6237\u540D",key:"username",dataIndex:"username"},{title:"\u5BC6\u7801",key:"password",dataIndex:"password"},{title:"\u7C7B\u578B",key:"cluster",dataIndex:"cluster",render:function(a){return a?(0,e.jsx)(Z.Z,{color:"blue",children:"\u96C6\u7FA4"}):(0,e.jsx)(Z.Z,{color:"green",children:"\u5B9E\u4F8B"})}},{title:"\u64CD\u4F5C",key:"ops",render:function(a,l){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("a",{onClick:function(){T(l),M(!0)},children:"\u7F16\u8F91"}),(0,e.jsx)(S.Z,{type:"vertical"}),(0,e.jsx)(N.Z,{text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5redis\u914D\u7F6E\u5417?",onConfirm:o()(_()().mark(function d(){return _()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,ue(l.id);case 2:case"end":return s.stop()}},d)}))})]})}}],te=u.Z.useForm(),_e=E()(te,1),L=_e[0],le=u.Z.useForm(),de=E()(le,1),F=de[0],ie=function(){var r=o()(_()().mark(function a(){var l,d;return _()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,F.validateFields();case 2:if(l=s.sent,p.id){s.next=9;break}return s.next=6,C({type:"gconfig/insertRedisConfig",payload:l});case 6:d=s.sent,s.next=12;break;case 9:return s.next=11,C({type:"gconfig/updateRedisConfig",payload:t()(t()({},l),{},{id:p.id})});case 11:d=s.sent;case 12:d&&(M(!1),x());case 13:case"end":return s.stop()}},a)}));return function(){return r.apply(this,arguments)}}();return(0,e.jsx)(B._z,{title:"Redis\u914D\u7F6E",breadcrumb:null,children:(0,e.jsxs)($.Z,{children:[(0,e.jsx)(u.Z,t()(t()({form:L},R.Z.LAYOUT),{},{onValuesChange:function(){x()},children:(0,e.jsxs)(V.Z,{gutter:[8,8],children:[(0,e.jsx)(P.Z,{span:6,children:(0,e.jsx)(u.Z.Item,{label:"\u73AF\u5883",name:"env",children:(0,e.jsx)(v.Z,{placeholder:"\u9009\u62E9\u73AF\u5883",allowClear:!0,children:b.map(function(r){return(0,e.jsx)(h,{value:r.id,children:r.name},r.id)})})})}),(0,e.jsx)(P.Z,{span:6,children:(0,e.jsx)(u.Z.Item,{label:"\u540D\u79F0",name:"name",children:(0,e.jsx)(f.Z,{placeholder:"\u8F93\u5165redis\u540D\u79F0"})})}),(0,e.jsx)(P.Z,{span:6,children:(0,e.jsx)(u.Z.Item,{label:"\u5730\u5740",name:"addr",children:(0,e.jsx)(f.Z,{placeholder:"\u8F93\u5165redis\u5730\u5740"})})}),(0,e.jsx)(P.Z,{span:6,children:(0,e.jsx)(u.Z.Item,{label:"\u7C7B\u578B",name:"cluster",children:(0,e.jsxs)(v.Z,{placeholder:"\u9009\u62E9redis\u7C7B\u578B",allowClear:!0,children:[(0,e.jsx)(h,{value:!0,children:"\u96C6\u7FA4"}),(0,e.jsx)(h,{value:!1,children:"\u5B9E\u4F8B"})]})})})]})})),(0,e.jsxs)(z.ZP,{type:"primary",style:{marginBottom:8},onClick:function(){M(!0),T({})},children:[(0,e.jsx)(J.Z,{}),"\u6DFB\u52A0\u914D\u7F6E"]}),(0,e.jsx)(G.Z,{title:"Redis\u914D\u7F6E",width:500,open:ne,onCancel:function(){return M(!1)},onOk:ie,children:(0,e.jsxs)(u.Z,t()(t()({form:F,initialValues:p},R.Z.LAYOUT),{},{children:[(0,e.jsx)(u.Z.Item,{label:"\u73AF\u5883",name:"env",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u73AF\u5883"}],children:(0,e.jsx)(v.Z,{placeholder:"\u9009\u62E9\u73AF\u5883",allowClear:!0,children:b.map(function(r){return(0,e.jsx)(h,{value:r.id,children:r.name},r.id)})})}),(0,e.jsx)(u.Z.Item,{label:"redis\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BF9\u5E94redis\u540D\u79F0"}],children:(0,e.jsx)(f.Z,{placeholder:"\u8F93\u5165redis\u540D\u79F0"})}),(0,e.jsx)(u.Z.Item,{label:"\u5730\u5740",name:"addr",rules:[{required:!0,message:"\u8F93\u5165redis\u8FDE\u63A5\u5730\u5740\uFF0C\u96C6\u7FA4\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"}],children:(0,e.jsx)(f.Z,{placeholder:"\u8F93\u5165redis\u8FDE\u63A5\u5730\u5740, \u96C6\u7FA4\u7528\u82F1\u6587\u9017\u53F7\u9694\u5F00"})}),(0,e.jsx)(u.Z.Item,{label:"\u7528\u6237\u540D",name:"username",rules:[{required:!1,message:"\u8F93\u5165redis\u7528\u6237\u540D"}],children:(0,e.jsx)(f.Z,{placeholder:"\u8F93\u5165redis\u7528\u6237\u540D"})}),(0,e.jsx)(u.Z.Item,{label:"\u5BC6\u7801",name:"password",rules:[{required:!1,message:"\u8F93\u5165redis\u5BC6\u7801"}],children:(0,e.jsx)(f.Z,{placeholder:"\u8F93\u5165redis\u5BC6\u7801"})}),(0,e.jsx)(u.Z.Item,{label:"db",name:"db",rules:[{required:!1,message:"\u8F93\u5165redis\u5BC6\u7801"}],children:(0,e.jsx)(Y.Z,{placeholder:"\u8F93\u5165db\uFF0C\u9ED8\u8BA4\u4E3A0(\u96C6\u7FA4\u4E0D\u9700\u8981db)",style:{width:"100%"}})}),(0,e.jsx)(u.Z.Item,{label:"\u7C7B\u578B",name:"cluster",rules:[{required:!0,message:"\u9009\u62E9redis\u7C7B\u578B"}],children:(0,e.jsxs)(v.Z,{placeholder:"\u9009\u62E9redis\u7C7B\u578B",children:[(0,e.jsx)(h,{value:!0,children:"\u96C6\u7FA4"}),(0,e.jsx)(h,{value:!1,children:"\u5B9E\u4F8B"})]})})]}))}),(0,e.jsx)(w.Z,{columns:ae,dataSource:k,rowKey:function(a){return a.id},loading:X.effects["gconfig/listRedisConfig"]})]})})};c.default=(0,H.connect)(function(A){var j=A.gconfig,O=A.loading;return{gconfig:j,loading:O}})(Q)}}]); diff --git a/statics/p__Config__SystemConfig.972e6db5.async.js b/statics/p__Config__SystemConfig.972e6db5.async.js new file mode 100644 index 00000000..408382d3 --- /dev/null +++ b/statics/p__Config__SystemConfig.972e6db5.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9467],{60219:function(V,m,s){s.d(m,{Z:function(){return h}});var v=s(1413),d=s(67294),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},B=p,y=s(84089),E=function(C,A){return d.createElement(y.Z,(0,v.Z)((0,v.Z)({},C),{},{ref:A,icon:B}))},S=d.forwardRef(E),h=S},96353:function(V,m,s){s.r(m),s.d(m,{default:function(){return G}});var v=s(15009),d=s.n(v),p=s(99289),B=s.n(p),y=s(5574),E=s.n(y),S=s(58841),h=s(11941),n=s(8232),C=s(2453),A=s(75081),R=s(4393),f=s(71230),t=s(15746),z=s(14726),P=s(97857),c=s.n(P),g=s(34041),l=s(55102),O=s(19478),e=s(85893),Y=function(o){var r=o.form;return(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(t.Z,{span:4}),(0,e.jsx)(t.Z,{span:16,children:(0,e.jsxs)(n.Z,c()(c()({form:r},O.Z.LAYOUT),{},{children:[(0,e.jsx)(n.Z.Item,{label:"\u7C7B\u578B",name:"oss_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9oss\u7C7B\u578B"}],children:(0,e.jsxs)(g.Z,{placeholder:"\u8BF7\u9009\u62E9oss\u7C7B\u578B",children:[(0,e.jsx)(g.Z.Option,{value:"aliyun",children:"\u963F\u91CC\u4E91"}),(0,e.jsx)(g.Z.Option,{value:"cos",children:"\u817E\u8BAF\u4E91"}),(0,e.jsx)(g.Z.Option,{value:"qiniu",children:"\u4E03\u725B\u4E91"})]})}),(0,e.jsx)(n.Z.Item,{label:"access_id",name:"access_key_id",rules:[{required:!0,message:"\u8BF7\u8F93\u5165access_key_id"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165access_key_id"})}),(0,e.jsx)(n.Z.Item,{label:"access_secret",name:"access_key_secret",rules:[{required:!0,message:"\u8BF7\u8F93\u5165access_secret"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165access_secret"})}),(0,e.jsx)(n.Z.Item,{label:"bucket",name:"bucket",rules:[{required:!0,message:"\u8BF7\u8F93\u5165bucket"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165bucket"})}),(0,e.jsx)(n.Z.Item,{label:"endpoint",name:"endpoint",children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165endpoint, \u53EF\u4E0D\u586B"})})]}))}),(0,e.jsx)(t.Z,{span:4})]})},L=function(o){var r=o.form;return(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(t.Z,{span:4}),(0,e.jsx)(t.Z,{span:16,children:(0,e.jsxs)(n.Z,c()(c()({form:r},O.Z.LAYOUT),{},{children:[(0,e.jsx)(n.Z.Item,{label:"\u53D1\u4EF6\u4EBA",name:"sender",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53D1\u4EF6\u4EBA\u90AE\u7BB1"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u53D1\u4EF6\u4EBA\u90AE\u7BB1"})}),(0,e.jsx)(n.Z.Item,{label:"host",name:"host",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u670D\u52A1\u5668host"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u670D\u52A1\u5668host"})}),(0,e.jsx)(n.Z.Item,{label:"\u90AE\u7BB1\u79D8\u94A5",name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u79D8\u94A5"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u79D8\u94A5"})}),(0,e.jsx)(n.Z.Item,{label:"\u6536\u4EF6\u4EBA\u540D\u79F0",name:"to",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u540D\u79F0"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u540D\u79F0"})})]}))}),(0,e.jsx)(t.Z,{span:4})]})},H=function(o){var r=o.form;return(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(t.Z,{span:4}),(0,e.jsx)(t.Z,{span:16,children:(0,e.jsx)(n.Z,c()(c()({form:r},O.Z.LAYOUT),{},{children:(0,e.jsx)(n.Z.Item,{label:"token",name:"token",children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165yapi token"})})}))}),(0,e.jsx)(t.Z,{span:4})]})},M=s(60219),U=s(90596),I=s(67294),D=h.Z.TabPane,$=function(r){var j=r.dispatch,J=r.gconfig,b=r.loading,K=n.Z.useForm(),N=E()(K,1),i=N[0],Z=J.configuration,Q=function(){var x=Z.email,a=Z.oss,F=Z.yapi;i.setFieldsValue(x),i.setFieldsValue(a),i.setFieldsValue(F)};(0,I.useEffect)(function(){j({type:"gconfig/fetchSystemConfig"})},[]),(0,I.useEffect)(function(){Q()},[Z]);var W=function(){var T=B()(d()().mark(function x(){var a,F;return d()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,i.validateFields();case 3:a=u.sent,u.next=10;break;case 6:return u.prev=6,u.t0=u.catch(0),C.ZP.info("\u6709\u5FC5\u586B\u5B57\u6BB5\u672A\u586B\u5199\uFF0C\u8BF7\u68C0\u67E5"),u.abrupt("return");case 10:F={email:{sender:a.sender,password:a.password,host:a.host,to:a.to},yapi:{token:a.token},oss:{oss_type:a.oss_type,access_key_id:a.access_key_id,access_key_secret:a.access_key_secret,bucket:a.bucket,endpoint:a.endpoint}},j({type:"gconfig/updateConfiguration",payload:F});case 12:case"end":return u.stop()}},x,null,[[0,6]])}));return function(){return T.apply(this,arguments)}}();return(0,e.jsx)(S._z,{title:"\u7CFB\u7EDF\u8BBE\u7F6E",breadcrumb:null,children:(0,e.jsx)(A.Z,{spinning:b.effects["gconfig/updateConfiguration"]||b.effects["gconfig/fetchSystemConfig"],children:(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(f.Z,{children:(0,e.jsx)(t.Z,{span:24,children:(0,e.jsxs)(h.Z,{tabPosition:"left",children:[(0,e.jsx)(D,{tab:"\u90AE\u4EF6\u8BBE\u7F6E",forceRender:!0,children:(0,e.jsx)(L,{form:i})},"1"),(0,e.jsx)(D,{tab:"OSS\u8BBE\u7F6E",forceRender:!0,children:(0,e.jsx)(Y,{form:i})},"2"),(0,e.jsx)(D,{tab:"Yapi\u8BBE\u7F6E",forceRender:!0,children:(0,e.jsx)(H,{form:i})},"3")]})})}),(0,e.jsx)(f.Z,{children:(0,e.jsx)("div",{style:{margin:"16px auto"},children:(0,e.jsx)(z.ZP,{type:"primary",icon:(0,e.jsx)(M.Z,{}),onClick:W,children:"\u4FDD\u5B58"})})})]})})})},G=(0,U.connect)(function(o){var r=o.gconfig,j=o.loading;return{gconfig:r,loading:j}})($)}}]); diff --git a/statics/p__Config__SystemConfig.ca02dd52.async.js b/statics/p__Config__SystemConfig.ca02dd52.async.js deleted file mode 100644 index a648f64c..00000000 --- a/statics/p__Config__SystemConfig.ca02dd52.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9467],{60219:function(T,m,s){s.d(m,{Z:function(){return E}});var v=s(1413),d=s(67294),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},B=p,y=s(84089),h=function(n,C){return d.createElement(y.Z,(0,v.Z)((0,v.Z)({},n),{},{ref:C,icon:B}))};h.displayName="SaveOutlined";var E=d.forwardRef(h)},96353:function(T,m,s){s.r(m),s.d(m,{default:function(){return G}});var v=s(15009),d=s.n(v),p=s(99289),B=s.n(p),y=s(5574),h=s.n(y),E=s(58841),S=s(93980),n=s(58131),C=s(2453),V=s(75081),z=s(4393),f=s(71230),t=s(15746),P=s(71577),R=s(97857),c=s.n(R),g=s(34041),l=s(96365),A=s(19478),e=s(85893),Y=function(o){var r=o.form;return(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(t.Z,{span:4}),(0,e.jsx)(t.Z,{span:16,children:(0,e.jsxs)(n.Z,c()(c()({form:r},A.Z.LAYOUT),{},{children:[(0,e.jsx)(n.Z.Item,{label:"\u7C7B\u578B",name:"oss_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9oss\u7C7B\u578B"}],children:(0,e.jsxs)(g.Z,{placeholder:"\u8BF7\u9009\u62E9oss\u7C7B\u578B",children:[(0,e.jsx)(g.Z.Option,{value:"aliyun",children:"\u963F\u91CC\u4E91"}),(0,e.jsx)(g.Z.Option,{value:"cos",children:"\u817E\u8BAF\u4E91"}),(0,e.jsx)(g.Z.Option,{value:"qiniu",children:"\u4E03\u725B\u4E91"})]})}),(0,e.jsx)(n.Z.Item,{label:"access_id",name:"access_key_id",rules:[{required:!0,message:"\u8BF7\u8F93\u5165access_key_id"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165access_key_id"})}),(0,e.jsx)(n.Z.Item,{label:"access_secret",name:"access_key_secret",rules:[{required:!0,message:"\u8BF7\u8F93\u5165access_secret"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165access_secret"})}),(0,e.jsx)(n.Z.Item,{label:"bucket",name:"bucket",rules:[{required:!0,message:"\u8BF7\u8F93\u5165bucket"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165bucket"})}),(0,e.jsx)(n.Z.Item,{label:"endpoint",name:"endpoint",children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165endpoint, \u53EF\u4E0D\u586B"})})]}))}),(0,e.jsx)(t.Z,{span:4})]})},L=function(o){var r=o.form;return(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(t.Z,{span:4}),(0,e.jsx)(t.Z,{span:16,children:(0,e.jsxs)(n.Z,c()(c()({form:r},A.Z.LAYOUT),{},{children:[(0,e.jsx)(n.Z.Item,{label:"\u53D1\u4EF6\u4EBA",name:"sender",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53D1\u4EF6\u4EBA\u90AE\u7BB1"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u53D1\u4EF6\u4EBA\u90AE\u7BB1"})}),(0,e.jsx)(n.Z.Item,{label:"host",name:"host",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u670D\u52A1\u5668host"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u670D\u52A1\u5668host"})}),(0,e.jsx)(n.Z.Item,{label:"\u90AE\u7BB1\u79D8\u94A5",name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u79D8\u94A5"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u79D8\u94A5"})}),(0,e.jsx)(n.Z.Item,{label:"\u6536\u4EF6\u4EBA\u540D\u79F0",name:"to",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u540D\u79F0"}],children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u540D\u79F0"})})]}))}),(0,e.jsx)(t.Z,{span:4})]})},H=function(o){var r=o.form;return(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(t.Z,{span:4}),(0,e.jsx)(t.Z,{span:16,children:(0,e.jsx)(n.Z,c()(c()({form:r},A.Z.LAYOUT),{},{children:(0,e.jsx)(n.Z.Item,{label:"token",name:"token",children:(0,e.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165yapi token"})})}))}),(0,e.jsx)(t.Z,{span:4})]})},M=s(60219),U=s(94171),D=s(67294),O=S.Z.TabPane,$=function(r){var j=r.dispatch,N=r.gconfig,I=r.loading,J=n.Z.useForm(),K=h()(J,1),i=K[0],Z=N.configuration,Q=function(){var x=Z.email,a=Z.oss,F=Z.yapi;i.setFieldsValue(x),i.setFieldsValue(a),i.setFieldsValue(F)};(0,D.useEffect)(function(){j({type:"gconfig/fetchSystemConfig"})},[]),(0,D.useEffect)(function(){Q()},[Z]);var W=function(){var b=B()(d()().mark(function x(){var a,F;return d()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,i.validateFields();case 3:a=u.sent,u.next=10;break;case 6:return u.prev=6,u.t0=u.catch(0),C.ZP.info("\u6709\u5FC5\u586B\u5B57\u6BB5\u672A\u586B\u5199\uFF0C\u8BF7\u68C0\u67E5"),u.abrupt("return");case 10:F={email:{sender:a.sender,password:a.password,host:a.host,to:a.to},yapi:{token:a.token},oss:{oss_type:a.oss_type,access_key_id:a.access_key_id,access_key_secret:a.access_key_secret,bucket:a.bucket,endpoint:a.endpoint}},j({type:"gconfig/updateConfiguration",payload:F});case 12:case"end":return u.stop()}},x,null,[[0,6]])}));return function(){return b.apply(this,arguments)}}();return(0,e.jsx)(E._z,{title:"\u7CFB\u7EDF\u8BBE\u7F6E",breadcrumb:null,children:(0,e.jsx)(V.Z,{spinning:I.effects["gconfig/updateConfiguration"]||I.effects["gconfig/fetchSystemConfig"],children:(0,e.jsxs)(z.Z,{children:[(0,e.jsx)(f.Z,{children:(0,e.jsx)(t.Z,{span:24,children:(0,e.jsxs)(S.Z,{tabPosition:"left",children:[(0,e.jsx)(O,{tab:"\u90AE\u4EF6\u8BBE\u7F6E",forceRender:!0,children:(0,e.jsx)(L,{form:i})},"1"),(0,e.jsx)(O,{tab:"OSS\u8BBE\u7F6E",forceRender:!0,children:(0,e.jsx)(Y,{form:i})},"2"),(0,e.jsx)(O,{tab:"Yapi\u8BBE\u7F6E",forceRender:!0,children:(0,e.jsx)(H,{form:i})},"3")]})})}),(0,e.jsx)(f.Z,{children:(0,e.jsx)("div",{style:{margin:"16px auto"},children:(0,e.jsx)(P.ZP,{type:"primary",icon:(0,e.jsx)(M.Z,{}),onClick:W,children:"\u4FDD\u5B58"})})})]})})})},G=(0,U.connect)(function(o){var r=o.gconfig,j=o.loading;return{gconfig:r,loading:j}})($)}}]); diff --git a/statics/p__Dashboard__Workspace.6d39c1da.async.js b/statics/p__Dashboard__Workspace.6d39c1da.async.js new file mode 100644 index 00000000..b03565be --- /dev/null +++ b/statics/p__Dashboard__Workspace.6d39c1da.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3011],{93696:function(Te,b){var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};b.Z=e},52747:function(Te,b,e){e.d(b,{Z:function(){return w}});var r=e(1413),F=e(67294),P={icon:function(x,f){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:f}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:x}}]}},name:"alert",theme:"twotone"},R=P,M=e(84089),D=function(x,f){return F.createElement(M.Z,(0,r.Z)((0,r.Z)({},x),{},{ref:f,icon:R}))},V=F.forwardRef(D),w=V},48483:function(Te,b,e){e.d(b,{Z:function(){return w}});var r=e(1413),F=e(67294),P={icon:function(x,f){return{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",fill:x}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:f}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:x}}]}},name:"check-circle",theme:"twotone"},R=P,M=e(84089),D=function(x,f){return F.createElement(M.Z,(0,r.Z)((0,r.Z)({},x),{},{ref:f,icon:R}))},V=F.forwardRef(D),w=V},30881:function(Te,b,e){e.d(b,{Z:function(){return w}});var r=e(1413),F=e(67294),P={icon:function(x,f){return{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",fill:x}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:f}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-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 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:x}}]}},name:"close-circle",theme:"twotone"},R=P,M=e(84089),D=function(x,f){return F.createElement(M.Z,(0,r.Z)((0,r.Z)({},x),{},{ref:f,icon:R}))},V=F.forwardRef(D),w=V},51042:function(Te,b,e){var r=e(1413),F=e(67294),P=e(42110),R=e(84089),M=function(w,m){return F.createElement(R.Z,(0,r.Z)((0,r.Z)({},w),{},{ref:m,icon:P.Z}))},D=F.forwardRef(M);b.Z=D},64926:function(Te,b,e){var r=e(67294),F=e(20701),P=e(11924),R=e(79360),M=e(24770),D=e(79642),V=function(m,x){var f={};for(var T in m)Object.prototype.hasOwnProperty.call(m,T)&&x.indexOf(T)<0&&(f[T]=m[T]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,T=Object.getOwnPropertySymbols(m);Y1&&arguments[1]!==void 0?arguments[1]:!1,Ze=ye.Z.calPiePercent(K.success_count,K.success_count+K.failed_count+K.error_count);return Re?Ze:Ze*100},ke=function(K){var Re=K.report,Ze={height:128,autoFit:!0,percent:Le(Re,!0),color:["#67C23A","#F4664A"],innerRadius:.85,radius:.98,statistic:{title:{style:{color:"#363636",fontSize:"12px",lineHeight:"14px"},formatter:function(){return"\u4E0A\u6B21\u901A\u8FC7\u7387"}}}};return(0,t.jsx)(A,R()({},Ze))},Xe=function(K){var Re=F()(K);return Re.reverse(),Re.map(function(Ze){return Le(Ze)})};return(0,t.jsx)(M._z,{content:Je(Ye),breadcrumb:null,extraContent:(0,t.jsx)(z,{}),children:(0,t.jsxs)(x.Z,{gutter:16,children:[(0,t.jsx)(f.Z,{span:16,children:(0,t.jsx)(T.Z,{title:(0,t.jsxs)("div",{children:[(0,t.jsx)("strong",{children:"\u5173\u6CE8\u4E2D\u7684\u6D4B\u8BD5\u8BA1\u5212"})," (",ue.length,"\u4E2A)"]}),bodyStyle:{minHeight:400},children:(0,t.jsx)(x.Z,{gutter:8,children:ue.length===0?(0,t.jsx)(f.Z,{span:24,children:(0,t.jsx)(Y.Z,{imageStyle:{height:250},image:Ne.Z,description:(0,t.jsxs)("span",{children:["\u4F60\u8FD8\u6CA1\u6709\u5173\u6CE8\u6D4B\u8BD5\u8BA1\u5212, \u8D76\u7D27\u53BB ",(0,t.jsx)("a",{href:"/#/apiTest/testplan",children:"\u5173\u6CE8"})," \u4E00\u4E2A\u5427\uFF01"]})})}):ue.map(function(N){return(0,t.jsx)(f.Z,{span:24,children:(0,t.jsx)(T.Z,{size:"small",hoverable:!0,style:{marginBottom:16},title:(0,t.jsx)("a",{href:"/#/apiTest/testplan",style:{fontSize:16},children:N.plan.name}),children:N.report.length>0?(0,t.jsxs)(x.Z,{gutter:24,children:[(0,t.jsx)(f.Z,{span:8,children:(0,t.jsx)(ce,{bordered:!1,title:"\u6700\u8FD1\u4E00\u6B21\u8BC4\u5206",action:(0,t.jsx)(te.Z,{title:"\u901A\u8FC7\u7387\u8D8A\u9AD8\uFF0C\u8BC4\u5206\u8D8A\u9AD8\u54E6~",children:(0,t.jsx)(Be,{})}),contentHeight:128,children:(0,t.jsxs)("div",{style:{textAlign:"center"},children:[(0,t.jsxs)(x.Z,{gutter:8,style:{marginBottom:12},children:[(0,t.jsx)(f.Z,{span:8,children:(0,t.jsx)(m.Z,{title:"\u6210\u529F",valueStyle:{color:"#3f8600"},value:N.report[0].success_count,prefix:(0,t.jsx)(Oe.Z,{twoToneColor:"#52c41a"})})}),(0,t.jsx)(f.Z,{span:8,children:(0,t.jsx)(m.Z,{title:"\u5931\u8D25",valueStyle:{marginLeft:8},value:N.report[0].failed_count,prefix:(0,t.jsx)(Ke.Z,{twoToneColor:"#F56C6C"})})}),(0,t.jsx)(f.Z,{span:8,children:(0,t.jsx)(m.Z,{title:"\u9519\u8BEF",valueStyle:{marginLeft:8},value:N.report[0].error_count,prefix:(0,t.jsx)(we.Z,{twoToneColor:"#E6A23C"})})})]}),(0,t.jsx)(de.Z,{disabled:!0,tooltips:me,defaultValue:je(Le(N.report[0],!0))}),(0,t.jsx)("span",{className:"ant-rate-text",children:me[je(Le(N.report[0],!0))-1]})]})})}),(0,t.jsx)(f.Z,{span:8,children:(0,t.jsx)(ce,{bordered:!1,title:"".concat(N.report[0].start_at),action:(0,t.jsx)(te.Z,{title:"\u6700\u8FD1\u4E00\u6B21\u6267\u884C\u901A\u8FC7\u7387",children:(0,t.jsx)(Be,{})}),contentHeight:128,children:(0,t.jsx)(ke,{report:N.report[0]})})}),(0,t.jsx)(f.Z,{span:8,children:(0,t.jsx)(ce,{bordered:!1,title:"\u8FD17\u6B21\u901A\u8FC7\u7387(%)",action:(0,t.jsx)(te.Z,{title:"\u6700\u8FD17\u6B21\u901A\u8FC7\u7387",children:(0,t.jsx)(Be,{})}),contentHeight:128,children:(0,t.jsx)(ae.Z,{color:"#1890ff",xField:"x",height:120,forceFit:!0,yField:"y",smooth:!0,data:Xe(N.report)})})})]}):(0,t.jsx)(pe.Z,{desc:"\u{1F385}\u8FD9\u4E2A\u6D4B\u8BD5\u8BA1\u5212\u8FD8\u6CA1\u6709\u6267\u884C\u8BB0\u5F55\u54E6\u{1F36D}~"})})})})})})}),(0,t.jsxs)(f.Z,{span:8,children:[(0,t.jsx)(T.Z,{title:"\u5FEB\u901F\u5BFC\u822A",children:(0,t.jsxs)(x.Z,{gutter:8,children:[(0,t.jsx)(f.Z,{span:6,children:(0,t.jsx)(Fe,{link:"/project",name:"\u9879\u76EE\u5217\u8868"})}),(0,t.jsx)(f.Z,{span:6,children:(0,t.jsx)(Fe,{link:"/apiTest/testplan",name:"\u6D4B\u8BD5\u8BA1\u5212"})}),(0,t.jsx)(f.Z,{span:6,children:(0,t.jsx)(Fe,{link:"/record/list",name:"\u6D4B\u8BD5\u62A5\u544A"})}),(0,t.jsx)(f.Z,{span:6,children:(0,t.jsx)(Fe,{link:"/tool/request",name:"HTTP\u5DE5\u5177"})}),(0,t.jsx)(f.Z,{span:6,children:(0,t.jsx)(Fe,{link:"/config/database",name:"\u6570\u636E\u5E93\u914D\u7F6E"})}),(0,t.jsx)(f.Z,{span:6,children:(0,t.jsxs)(xe.ZP,{size:"small",type:"primary",ghost:!0,style:{fontSize:12},children:[(0,t.jsx)(Ue.Z,{})," \u6DFB\u52A0"]})})]})}),(0,t.jsx)(T.Z,{title:"\u6700\u8FD17\u5929\u7F16\u5199\u7528\u4F8B\u6570\u91CF",style:{marginTop:16},extra:(0,t.jsx)(xe.ZP,{type:"link",onClick:function(){D.history.push("/apiTest/testcase")},children:"\u53BB\u7F16\u5199"}),children:(0,t.jsx)(_,{xField:"date",yField:"count",data:he})})]})]})})},Qe=(0,D.connect)(function(o){var i=o.user;return{user:i}})(Ge)},19207:function(Te,b,e){e.d(b,{Z:function(){return ae}});var r=e(67294),F=e(87462),P={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"},R=P,M=e(93771),D=function(s,h){return r.createElement(M.Z,(0,F.Z)({},s,{ref:h,icon:R}))},V=r.forwardRef(D),w=V,m=e(93967),x=e.n(m),f=e(4942),T=e(97685),Y=e(45987),te=e(21770),de=e(15105),xe=e(64217);function pe(a,s){var h=a.disabled,c=a.prefixCls,j=a.character,X=a.characterRender,p=a.index,fe=a.count,H=a.value,ne=a.allowHalf,q=a.focused,J=a.onHover,$=a.onClick,re=function(le){J(le,p)},B=function(le){$(le,p)},Se=function(le){le.keyCode===de.Z.ENTER&&$(le,p)},oe=p+1,S=new Set([c]);H===0&&p===0&&q?S.add("".concat(c,"-focused")):ne&&H+.5>=oe&&Hp?"true":"false","aria-posinset":p+1,"aria-setsize":fe,tabIndex:h?-1:0},r.createElement("div",{className:"".concat(c,"-first")},Z),r.createElement("div",{className:"".concat(c,"-second")},Z)));return X&&(t=X(t,a)),t}var U=r.forwardRef(pe);function I(){var a=r.useRef({});function s(c){return a.current[c]}function h(c){return function(j){a.current[c]=j}}return[s,h]}function Ee(a){var s=a.pageXOffset,h="scrollLeft";if(typeof s!="number"){var c=a.document;s=c.documentElement[h],typeof s!="number"&&(s=c.body[h])}return s}function be(a){var s,h,c=a.ownerDocument,j=c.body,X=c&&c.documentElement,p=a.getBoundingClientRect();return s=p.left,h=p.top,s-=X.clientLeft||j.clientLeft||0,h-=X.clientTop||j.clientTop||0,{left:s,top:h}}function ze(a){var s=be(a),h=a.ownerDocument,c=h.defaultView||h.parentWindow;return s.left+=Ee(c),s.left}var We=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ve(a,s){var h,c=a.prefixCls,j=c===void 0?"rc-rate":c,X=a.className,p=a.defaultValue,fe=a.value,H=a.count,ne=H===void 0?5:H,q=a.allowHalf,J=q===void 0?!1:q,$=a.allowClear,re=$===void 0?!0:$,B=a.character,Se=B===void 0?"\u2605":B,oe=a.characterRender,S=a.disabled,Z=a.direction,t=Z===void 0?"ltr":Z,ve=a.tabIndex,le=ve===void 0?0:ve,He=a.autoFocus,ce=a.onHoverChange,De=a.onChange,se=a.onFocus,Pe=a.onBlur,_=a.onKeyDown,Ie=a.onMouseLeave,Ae=(0,Y.Z)(a,We),Je=I(),Fe=(0,T.Z)(Je,2),Ge=Fe[0],Qe=Fe[1],o=r.useRef(null),i=function(){if(!S){var y;(y=o.current)===null||y===void 0||y.focus()}};r.useImperativeHandle(s,function(){return{focus:i,blur:function(){if(!S){var y;(y=o.current)===null||y===void 0||y.blur()}}}});var v=(0,te.Z)(p||0,{value:fe}),l=(0,T.Z)(v,2),d=l[0],G=l[1],W=(0,te.Z)(null),L=(0,T.Z)(W,2),he=L[0],ie=L[1],ee=function(y,Ce){var Q=t==="rtl",O=y+1;if(J){var _e=Ge(y),et=ze(_e),tt=_e.clientWidth;(Q&&Ce-et>tt/2||!Q&&Ce-et0&&!Q||Ce===de.Z.RIGHT&&O>0&&Q?(J?O-=.5:O-=1,z(O),y.preventDefault()):Ce===de.Z.LEFT&&O{const{componentCls:s}=a;return{[`${s}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:a.marginXS},"> div":{transition:`all ${a.motionDurationMid}, outline 0s`,"&:hover":{transform:a.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Ue.bf)(a.lineWidth)} dashed ${a.starColor}`,transform:a.starHoverScale}},"&-first, &-second":{color:a.starBg,transition:`all ${a.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${s}-star-first, &-half ${s}-star-second`]:{opacity:1},[`&-half ${s}-star-first, &-full ${s}-star-second`]:{color:"inherit"}}}},E=a=>({[`&-rtl${a.componentCls}`]:{direction:"rtl"}}),u=a=>{const{componentCls:s}=a;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(a)),{display:"inline-block",margin:0,padding:0,color:a.starColor,fontSize:a.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${s} ${s}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),C(a)),E(a))}},g=a=>({starColor:a.yellow6,starSize:a.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:a.colorFillContent});var k=(0,Me.I$)("Rate",a=>{const s=(0,n.TS)(a,{});return[u(s)]},g),A=function(a,s){var h={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(h[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,c=Object.getOwnPropertySymbols(a);j{const{prefixCls:h,className:c,rootClassName:j,style:X,tooltips:p,character:fe=r.createElement(w,null)}=a,H=A(a,["prefixCls","className","rootClassName","style","tooltips","character"]),ne=(Z,t)=>{let{index:ve}=t;return p?r.createElement(we.Z,{title:p[ve]},Z):Z},{getPrefixCls:q,direction:J,rate:$}=r.useContext(Ke.E_),re=q("rate",h),[B,Se,oe]=k(re),S=Object.assign(Object.assign({},$==null?void 0:$.style),X);return B(r.createElement(Oe,Object.assign({ref:s,character:fe,characterRender:ne},H,{className:x()(c,j,Se,oe,$==null?void 0:$.className),style:S,prefixCls:re,direction:J})))})},66309:function(Te,b,e){e.d(b,{Z:function(){return Me}});var r=e(67294),F=e(93967),P=e.n(F),R=e(98423),M=e(98787),D=e(69760),V=e(96159),w=e(45353),m=e(53124),x=e(54548),f=e(10274),T=e(14747),Y=e(45503),te=e(91945);const de=n=>{const{paddingXXS:C,lineWidth:E,tagPaddingHorizontal:u,componentCls:g,calc:k}=n,A=k(u).sub(E).equal(),ye=k(C).sub(E).equal();return{[g]:Object.assign(Object.assign({},(0,T.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:A,fontSize:n.tagFontSize,lineHeight:n.tagLineHeight,whiteSpace:"nowrap",background:n.defaultBg,border:`${(0,x.bf)(n.lineWidth)} ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",position:"relative",[`&${g}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.defaultColor},[`${g}-close-icon`]:{marginInlineStart:ye,fontSize:n.tagIconSize,color:n.colorTextDescription,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${g}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${g}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:A}}),[`${g}-borderless`]:{borderColor:"transparent",background:n.tagBorderlessBg}}},xe=n=>{const{lineWidth:C,fontSizeIcon:E,calc:u}=n,g=n.fontSizeSM;return(0,Y.TS)(n,{tagFontSize:g,tagLineHeight:(0,x.bf)(u(n.lineHeightSM).mul(g).equal()),tagIconSize:u(E).sub(u(C).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:n.defaultBg})},pe=n=>({defaultBg:new f.C(n.colorFillQuaternary).onBackground(n.colorBgContainer).toHexString(),defaultColor:n.colorText});var U=(0,te.I$)("Tag",n=>{const C=xe(n);return de(C)},pe),I=function(n,C){var E={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&C.indexOf(u)<0&&(E[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,u=Object.getOwnPropertySymbols(n);g{const{prefixCls:E,style:u,className:g,checked:k,onChange:A,onClick:ye}=n,ae=I(n,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:a,tag:s}=r.useContext(m.E_),h=H=>{A==null||A(!k),ye==null||ye(H)},c=a("tag",E),[j,X,p]=U(c),fe=P()(c,`${c}-checkable`,{[`${c}-checkable-checked`]:k},s==null?void 0:s.className,g,X,p);return j(r.createElement("span",Object.assign({},ae,{ref:C,style:Object.assign(Object.assign({},u),s==null?void 0:s.style),className:fe,onClick:h})))}),ze=e(98719);const We=n=>(0,ze.Z)(n,(C,E)=>{let{textColor:u,lightBorderColor:g,lightColor:k,darkColor:A}=E;return{[`${n.componentCls}${n.componentCls}-${C}`]:{color:u,background:k,borderColor:g,"&-inverse":{color:n.colorTextLightSolid,background:A,borderColor:A},[`&${n.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ve=(0,te.bk)(["Tag","preset"],n=>{const C=xe(n);return We(C)},pe);function Be(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}const Oe=(n,C,E)=>{const u=Be(E);return{[`${n.componentCls}${n.componentCls}-${C}`]:{color:n[`color${E}`],background:n[`color${u}Bg`],borderColor:n[`color${u}Border`],[`&${n.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ke=(0,te.bk)(["Tag","status"],n=>{const C=xe(n);return[Oe(C,"success","Success"),Oe(C,"processing","Info"),Oe(C,"error","Error"),Oe(C,"warning","Warning")]},pe),we=function(n,C){var E={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&C.indexOf(u)<0&&(E[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,u=Object.getOwnPropertySymbols(n);g{const{prefixCls:E,className:u,rootClassName:g,style:k,children:A,icon:ye,color:ae,onClose:a,bordered:s=!0,visible:h}=n,c=we(n,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:j,direction:X,tag:p}=r.useContext(m.E_),[fe,H]=r.useState(!0),ne=(0,R.Z)(c,["closeIcon","closable"]);r.useEffect(()=>{h!==void 0&&H(h)},[h]);const q=(0,M.o2)(ae),J=(0,M.yT)(ae),$=q||J,re=Object.assign(Object.assign({backgroundColor:ae&&!$?ae:void 0},p==null?void 0:p.style),k),B=j("tag",E),[Se,oe,S]=U(B),Z=P()(B,p==null?void 0:p.className,{[`${B}-${ae}`]:$,[`${B}-has-color`]:ae&&!$,[`${B}-hidden`]:!fe,[`${B}-rtl`]:X==="rtl",[`${B}-borderless`]:!s},u,g,oe,S),t=se=>{se.stopPropagation(),a==null||a(se),!se.defaultPrevented&&H(!1)},[,ve]=(0,D.Z)((0,D.w)(n),(0,D.w)(p),{closable:!1,closeIconRender:se=>{const Pe=r.createElement("span",{className:`${B}-close-icon`,onClick:t},se);return(0,V.wm)(se,Pe,_=>({onClick:Ie=>{var Ae;(Ae=_==null?void 0:_.onClick)===null||Ae===void 0||Ae.call(_,Ie),t(Ie)},className:P()(_==null?void 0:_.className,`${B}-close-icon`)}))}}),le=typeof c.onClick=="function"||A&&A.type==="a",He=ye||null,ce=He?r.createElement(r.Fragment,null,He,A&&r.createElement("span",null,A)):A,De=r.createElement("span",Object.assign({},ne,{ref:C,className:Z,style:re}),ce,ve,q&&r.createElement(Ve,{key:"preset",prefixCls:B}),J&&r.createElement(Ke,{key:"status",prefixCls:B}));return Se(le?r.createElement(w.Z,{component:"Tag"},De):De)});Ne.CheckableTag=be;var Me=Ne}}]); diff --git a/statics/p__Dashboard__Workspace.a4d8cf1a.async.js b/statics/p__Dashboard__Workspace.a4d8cf1a.async.js deleted file mode 100644 index c116b2a8..00000000 --- a/statics/p__Dashboard__Workspace.a4d8cf1a.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3011],{52747:function(Y,E,t){t.d(E,{Z:function(){return O}});var h=t(1413),p=t(67294),D={icon:function(l,f){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:f}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:l}}]}},name:"alert",theme:"twotone"},d=D,y=t(84089),m=function(l,f){return p.createElement(y.Z,(0,h.Z)((0,h.Z)({},l),{},{ref:f,icon:d}))};m.displayName="AlertTwoTone";var O=p.forwardRef(m)},48483:function(Y,E,t){t.d(E,{Z:function(){return O}});var h=t(1413),p=t(67294),D={icon:function(l,f){return{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",fill:l}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:f}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:l}}]}},name:"check-circle",theme:"twotone"},d=D,y=t(84089),m=function(l,f){return p.createElement(y.Z,(0,h.Z)((0,h.Z)({},l),{},{ref:f,icon:d}))};m.displayName="CheckCircleTwoTone";var O=p.forwardRef(m)},30881:function(Y,E,t){t.d(E,{Z:function(){return O}});var h=t(1413),p=t(67294),D={icon:function(l,f){return{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",fill:l}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:f}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-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 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:l}}]}},name:"close-circle",theme:"twotone"},d=D,y=t(84089),m=function(l,f){return p.createElement(y.Z,(0,h.Z)((0,h.Z)({},l),{},{ref:f,icon:d}))};m.displayName="CloseCircleTwoTone";var O=p.forwardRef(m)},51042:function(Y,E,t){var h=t(1413),p=t(67294),D=t(42110),d=t(84089),y=function(O,B){return p.createElement(d.Z,(0,h.Z)((0,h.Z)({},O),{},{ref:B,icon:D.Z}))};y.displayName="PlusOutlined",E.Z=p.forwardRef(y)},64926:function(Y,E,t){var h=t(67294),p=t(42314),D=t(11924),d=t(79360),y=t(24770),m=t(79642),O=function(l,f){var v={};for(var C in l)Object.prototype.hasOwnProperty.call(l,C)&&f.indexOf(C)<0&&(v[C]=l[C]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,C=Object.getOwnPropertySymbols(l);P1&&arguments[1]!==void 0?arguments[1]:!1,et=z.Z.calPiePercent(M.success_count,M.success_count+M.failed_count+M.error_count);return tt?et:et*100},$t=function(M){var tt=M.report,et={height:128,autoFit:!0,percent:vt(tt,!0),color:["#67C23A","#F4664A"],innerRadius:.85,radius:.98,statistic:{title:{style:{color:"#363636",fontSize:"12px",lineHeight:"14px"},formatter:function(){return"\u4E0A\u6B21\u901A\u8FC7\u7387"}}}};return(0,e.jsx)(L,d()({},et))},Wt=function(M){var tt=p()(M);return tt.reverse(),tt.map(function(et){return vt(et)})};return(0,e.jsx)(y._z,{content:zt(Lt),breadcrumb:null,extraContent:(0,e.jsx)(b,{}),children:(0,e.jsxs)(f.Z,{gutter:16,children:[(0,e.jsx)(v.Z,{span:16,children:(0,e.jsx)(C.Z,{title:(0,e.jsxs)("div",{children:[(0,e.jsx)("strong",{children:"\u5173\u6CE8\u4E2D\u7684\u6D4B\u8BD5\u8BA1\u5212"})," (",K.length,"\u4E2A)"]}),bodyStyle:{minHeight:400},children:(0,e.jsx)(f.Z,{gutter:8,children:K.length===0?(0,e.jsx)(v.Z,{span:24,children:(0,e.jsx)(P.Z,{imageStyle:{height:250},image:x.Z,description:(0,e.jsxs)("span",{children:["\u4F60\u8FD8\u6CA1\u6709\u5173\u6CE8\u6D4B\u8BD5\u8BA1\u5212, \u8D76\u7D27\u53BB ",(0,e.jsx)("a",{href:"/#/apiTest/testplan",children:"\u5173\u6CE8"})," \u4E00\u4E2A\u5427\uFF01"]})})}):K.map(function(Z){return(0,e.jsx)(v.Z,{span:24,children:(0,e.jsx)(C.Z,{size:"small",hoverable:!0,style:{marginBottom:16},title:(0,e.jsx)("a",{href:"/#/apiTest/testplan",style:{fontSize:16},children:Z.plan.name}),children:Z.report.length>0?(0,e.jsxs)(f.Z,{gutter:24,children:[(0,e.jsx)(v.Z,{span:8,children:(0,e.jsx)(Dt,{bordered:!1,title:"\u6700\u8FD1\u4E00\u6B21\u8BC4\u5206",action:(0,e.jsx)(w.Z,{title:"\u901A\u8FC7\u7387\u8D8A\u9AD8\uFF0C\u8BC4\u5206\u8D8A\u9AD8\u54E6~",children:(0,e.jsx)(U.Z,{})}),contentHeight:128,children:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)(f.Z,{gutter:8,style:{marginBottom:12},children:[(0,e.jsx)(v.Z,{span:8,children:(0,e.jsx)(l.Z,{title:"\u6210\u529F",valueStyle:{color:"#3f8600"},value:Z.report[0].success_count,prefix:(0,e.jsx)(at.Z,{twoToneColor:"#52c41a"})})}),(0,e.jsx)(v.Z,{span:8,children:(0,e.jsx)(l.Z,{title:"\u5931\u8D25",valueStyle:{marginLeft:8},value:Z.report[0].failed_count,prefix:(0,e.jsx)(ut.Z,{twoToneColor:"#F56C6C"})})}),(0,e.jsx)(v.Z,{span:8,children:(0,e.jsx)(l.Z,{title:"\u9519\u8BEF",valueStyle:{marginLeft:8},value:Z.report[0].error_count,prefix:(0,e.jsx)(gt.Z,{twoToneColor:"#E6A23C"})})})]}),(0,e.jsx)(nt.Z,{disabled:!0,tooltips:G,defaultValue:q(vt(Z.report[0],!0))}),(0,e.jsx)("span",{className:"ant-rate-text",children:G[q(vt(Z.report[0],!0))-1]})]})})}),(0,e.jsx)(v.Z,{span:8,children:(0,e.jsx)(Dt,{bordered:!1,title:"".concat(Z.report[0].start_at),action:(0,e.jsx)(w.Z,{title:"\u6700\u8FD1\u4E00\u6B21\u6267\u884C\u901A\u8FC7\u7387",children:(0,e.jsx)(U.Z,{})}),contentHeight:128,children:(0,e.jsx)($t,{report:Z.report[0]})})}),(0,e.jsx)(v.Z,{span:8,children:(0,e.jsx)(Dt,{bordered:!1,title:"\u8FD17\u6B21\u901A\u8FC7\u7387(%)",action:(0,e.jsx)(w.Z,{title:"\u6700\u8FD17\u6B21\u901A\u8FC7\u7387",children:(0,e.jsx)(U.Z,{})}),contentHeight:128,children:(0,e.jsx)(J.Z,{color:"#1890ff",xField:"x",height:120,forceFit:!0,yField:"y",smooth:!0,data:Wt(Z.report)})})})]}):(0,e.jsx)(rt.Z,{desc:"\u{1F385}\u8FD9\u4E2A\u6D4B\u8BD5\u8BA1\u5212\u8FD8\u6CA1\u6709\u6267\u884C\u8BB0\u5F55\u54E6\u{1F36D}~"})})})})})})}),(0,e.jsxs)(v.Z,{span:8,children:[(0,e.jsx)(C.Z,{title:"\u5FEB\u901F\u5BFC\u822A",children:(0,e.jsxs)(f.Z,{gutter:8,children:[(0,e.jsx)(v.Z,{span:6,children:(0,e.jsx)(it,{link:"/project",name:"\u9879\u76EE\u5217\u8868"})}),(0,e.jsx)(v.Z,{span:6,children:(0,e.jsx)(it,{link:"/apiTest/testplan",name:"\u6D4B\u8BD5\u8BA1\u5212"})}),(0,e.jsx)(v.Z,{span:6,children:(0,e.jsx)(it,{link:"/record/list",name:"\u6D4B\u8BD5\u62A5\u544A"})}),(0,e.jsx)(v.Z,{span:6,children:(0,e.jsx)(it,{link:"/tool/request",name:"HTTP\u5DE5\u5177"})}),(0,e.jsx)(v.Z,{span:6,children:(0,e.jsx)(it,{link:"/config/database",name:"\u6570\u636E\u5E93\u914D\u7F6E"})}),(0,e.jsx)(v.Z,{span:6,children:(0,e.jsxs)(k.ZP,{size:"small",type:"primary",ghost:!0,style:{fontSize:12},children:[(0,e.jsx)(n.Z,{})," \u6DFB\u52A0"]})})]})}),(0,e.jsx)(C.Z,{title:"\u6700\u8FD17\u5929\u7F16\u5199\u7528\u4F8B\u6570\u91CF",style:{marginTop:16},extra:(0,e.jsx)(k.ZP,{type:"link",onClick:function(){m.history.push("/apiTest/testcase")},children:"\u53BB\u7F16\u5199"}),children:(0,e.jsx)(It,{xField:"date",yField:"count",data:X})})]})]})})},Ht=(0,m.connect)(function(r){var o=r.user;return{user:o}})(bt)},51904:function(Y,E,t){t.d(E,{Z:function(){return gt}});var h=t(62208),p=t(94184),D=t.n(p),d=t(67294),y=t(53124),m=t(98787),O=t(45353),B=t(67968),l=t(45503);function f(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}var v=t(63443),C=t(14747);const P=(n,x,g)=>{const c=f(g);return{[`${n.componentCls}-${x}`]:{color:n[`color${g}`],background:n[`color${c}Bg`],borderColor:n[`color${c}Border`]}}},w=n=>(0,v.j)(n,(x,g)=>{let{textColor:c,lightBorderColor:u,lightColor:T,darkColor:N}=g;return{[`${n.componentCls}-${x}`]:{color:c,background:T,borderColor:u,"&-inverse":{color:n.colorTextLightSolid,background:N,borderColor:N}}}}),nt=n=>{const{paddingXXS:x,lineWidth:g,tagPaddingHorizontal:c,componentCls:u}=n,T=c-g,N=x-g;return{[u]:Object.assign(Object.assign({},(0,C.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:T,fontSize:n.tagFontSize,lineHeight:`${n.tagLineHeight}px`,whiteSpace:"nowrap",background:n.tagDefaultBg,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",[`&${u}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.tagDefaultColor},[`${u}-close-icon`]:{marginInlineStart:N,color:n.colorTextDescription,fontSize:n.tagIconSize,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${u}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${u}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:T}})}};var k=(0,B.Z)("Tag",n=>{const{fontSize:x,lineHeight:g,lineWidth:c,fontSizeIcon:u}=n,T=Math.round(x*g),N=n.fontSizeSM,R=T-c*2,V=n.colorFillAlter,L=n.colorText,z=(0,l.TS)(n,{tagFontSize:N,tagLineHeight:R,tagDefaultBg:V,tagDefaultColor:L,tagIconSize:u-2*c,tagPaddingHorizontal:8});return[nt(z),w(z),P(z,"success","Success"),P(z,"processing","Info"),P(z,"error","Error"),P(z,"warning","Warning")]}),rt=function(n,x){var g={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&x.indexOf(c)<0&&(g[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,c=Object.getOwnPropertySymbols(n);u{var{prefixCls:x,className:g,checked:c,onChange:u,onClick:T}=n,N=rt(n,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:R}=d.useContext(y.E_),V=lt=>{u==null||u(!c),T==null||T(lt)},L=R("tag",x),[z,J]=k(L),ot=D()(L,{[`${L}-checkable`]:!0,[`${L}-checkable-checked`]:c},g,J);return z(d.createElement("span",Object.assign({},N,{className:ot,onClick:V})))},U=function(n,x){var g={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&x.indexOf(c)<0&&(g[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,c=Object.getOwnPropertySymbols(n);u{var{prefixCls:g,className:c,style:u,children:T,icon:N,color:R,onClose:V,closeIcon:L,closable:z=!1}=n,J=U(n,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:ot,direction:lt}=d.useContext(y.E_),[mt,dt]=d.useState(!0);d.useEffect(()=>{"visible"in J&&dt(J.visible)},[J.visible]);const ct=(0,m.o2)(R)||(0,m.yT)(R),Ct=Object.assign({backgroundColor:R&&!ct?R:void 0},u),$=ot("tag",g),[xt,pt]=k($),jt=D()($,{[`${$}-${R}`]:ct,[`${$}-has-color`]:R&&!ct,[`${$}-hidden`]:!mt,[`${$}-rtl`]:lt==="rtl"},c,pt),ht=st=>{st.stopPropagation(),V==null||V(st),!st.defaultPrevented&&dt(!1)},Tt=()=>z?L?d.createElement("span",{className:`${$}-close-icon`,onClick:ht},L):d.createElement(h.Z,{className:`${$}-close-icon`,onClick:ht}):null,yt=typeof J.onClick=="function"||T&&T.type==="a",_=N||null,Et=_?d.createElement(d.Fragment,null,_,d.createElement("span",null,T)):T,ft=d.createElement("span",Object.assign({},J,{ref:x,className:jt,style:Ct}),Et,Tt());return xt(yt?d.createElement(O.Z,null,ft):ft)},ut=d.forwardRef(at);ut.CheckableTag=j;var gt=ut}}]); diff --git a/statics/p__Manager__UserList.51465a11.async.js b/statics/p__Manager__UserList.51465a11.async.js deleted file mode 100644 index 06f7f0b8..00000000 --- a/statics/p__Manager__UserList.51465a11.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2085],{12554:function(se,U,t){t.d(U,{Z:function(){return X}});var R=t(67294),N=t(98293),_=t(83062),d={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},W=t(19478),s=Object.defineProperty,w=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,Z=(L,g,v)=>g in L?s(L,g,{enumerable:!0,configurable:!0,writable:!0,value:v}):L[g]=v,$=(L,g)=>{for(var v in g||(g={}))P.call(g,v)&&Z(L,v,g[v]);if(w)for(var v of w(g))G.call(g,v)&&Z(L,v,g[v]);return L};const oe=L=>React.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},L),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var T="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",y=t(85893),X=function(L){var g=L.user,v=L.size,K=v===void 0?24:v,b=L.marginLeft,F=b===void 0?6:b;return g===void 0?(0,y.jsx)(N.C,{size:K,src:T,alt:"avatar"}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(N.C,{size:K,className:d.avatar,src:g.avatar||W.Z.AVATAR_URL,alt:"avatar"}),(0,y.jsx)(_.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:g.deleted_at?(0,y.jsx)("del",{children:(0,y.jsx)("a",{style:{marginLeft:F,fontSize:13,color:"#ccc"},href:"/#/member/".concat(g.id),rel:"noreferrer",children:g.name})}):(0,y.jsx)("a",{onClick:function(J){J.stopPropagation()},style:{marginLeft:F,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(g.id),rel:"noreferrer",children:g.name})})]})}},646:function(se,U,t){var R=t(86738),N=t(85893);U.Z=function(_){var d=_.title,W=_.text,s=_.onConfirm;return(0,N.jsx)(R.Z,{title:d,onConfirm:s,children:(0,N.jsx)("a",{children:W})})}},16981:function(se,U,t){t.r(U);var R=t(19632),N=t.n(R),_=t(97857),d=t.n(_),W=t(15009),s=t.n(W),w=t(99289),P=t.n(w),G=t(5574),Z=t.n(G),$=t(67294),oe=t(58841),T=t(34041),y=t(58131),X=t(51904),L=t(72269),g=t(96074),v=t(4393),K=t(69400),b=t(96365),F=t(71230),B=t(15746),J=t(64240),n=t(94171),j=t(12554),u=t(19478),e=t(646),r=t(87547),o=t(85893),a=T.Z.Option,l=function(c){var i=c.user,M=c.dispatch,x=c.loading,H=(0,$.useState)(!1),Y=Z()(H,2),Q=Y[0],A=Y[1],k=(0,$.useState)({}),I=Z()(k,2),S=I[0],re=I[1],ae=y.Z.useForm(),V=Z()(ae,1),q=V[0],le=function(E,p){M({type:"user/updateUser",payload:{id:p,is_valid:E}})},f=function(){var D=P()(s()().mark(function E(p){var O;return s()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,M({type:"user/deleteUser",payload:{id:p}});case 2:O=z.sent,O&&ie();case 4:case"end":return z.stop()}},E)}));return function(p){return D.apply(this,arguments)}}(),C=[{title:"id",dataIndex:"id",key:"id"},{title:(0,o.jsxs)("span",{children:[(0,o.jsx)(r.Z,{})," \u59D3\u540D"]}),dataIndex:"name",key:"name",render:function(E,p){return(0,o.jsx)(j.Z,{marginLeft:4,user:p})}},{title:"\u2709 \u90AE\u7BB1",dataIndex:"email",key:"email"},{title:"\u{1F3A8} \u89D2\u8272",dataIndex:"role",key:"role",render:function(E){return(0,o.jsx)(X.Z,{color:u.Z.USER_ROLE_TAG[E],children:u.Z.USER_ROLE[E]})}},{title:"\u4E0A\u6B21\u767B\u5F55",dataIndex:"last_login_at",key:"last_login_at"},{title:"\u{1F6AB} \u662F\u5426\u542F\u7528",dataIndex:"is_valid",key:"is_valid",render:function(E,p){return(0,o.jsx)(L.Z,{defaultChecked:E,onChange:function(te){le(te,p.id)}})}},{title:"\u{1F9F7} \u64CD\u4F5C",key:"ops",render:function(E,p){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("a",{onClick:function(){re(p),q.setFieldsValue(p),A(!0)},children:"\u7F16\u8F91"}),(0,o.jsx)(g.Z,{type:"vertical"}),(0,o.jsx)(e.Z,{onConfirm:P()(s()().mark(function O(){return s()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,f(p.id);case 2:case"end":return z.stop()}},O)})),text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u7528\u6237\u5417?"})]})}}],h=i.userList,ee=i.currentUserList,ie=function(){M({type:"user/fetchUserList"})};(0,$.useEffect)(function(){ie()},[]);var ce=function(E){if(E===""){ie();return}var p=h.filter(function(O){return O.name.toLowerCase().indexOf(E.toLowerCase())>-1||O.email.toLowerCase().indexOf(E.toLowerCase())>-1});M({type:"user/save",payload:{currentUserList:p}})},ue=function(){var D=P()(s()().mark(function E(){var p,O,te;return s()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.next=2,q.getFieldsValue();case 2:return p=ne.sent,ne.next=5,M({type:"user/updateUser",payload:d()(d()({},p),{},{id:S.id})});case 5:O=ne.sent,O&&(te=N()(ee),ee.forEach(function(de,ge){de.id===S.id&&(te[ge]=d()(d()({},S),p))}),M({type:"user/save",payload:{currentUserList:te}}),A(!1));case 7:case"end":return ne.stop()}},E)}));return function(){return D.apply(this,arguments)}}();return(0,o.jsx)(oe._z,{breadcrumb:null,title:"\u7528\u6237\u7BA1\u7406\u9875\u9762",children:(0,o.jsxs)(v.Z,{children:[(0,o.jsx)(K.Z,{title:"\u7F16\u8F91\u7528\u6237",width:500,open:Q,onCancel:function(){return A(!1)},onOk:ue,children:(0,o.jsxs)(y.Z,d()(d()({form:q,initialValues:S},u.Z.LAYOUT),{},{children:[(0,o.jsx)(y.Z.Item,{label:"\u59D3\u540D",name:"name",children:(0,o.jsx)(b.Z,{placeholder:"\u8F93\u5165\u7528\u6237\u59D3\u540D"})}),(0,o.jsx)(y.Z.Item,{label:"\u90AE\u7BB1",name:"email",children:(0,o.jsx)(b.Z,{placeholder:"\u8F93\u5165\u7528\u6237\u90AE\u7BB1"})}),(0,o.jsx)(y.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,o.jsxs)(T.Z,{children:[(0,o.jsx)(a,{value:0,children:"\u666E\u901A\u6210\u5458"},0),(0,o.jsx)(a,{value:1,children:"\u7EC4\u957F"},1),(0,o.jsx)(a,{value:2,children:"\u8D85\u7EA7\u7BA1\u7406\u5458"},2)]})})]}))}),(0,o.jsxs)(F.Z,{style:{marginBottom:12},children:[(0,o.jsx)(B.Z,{span:18}),(0,o.jsx)(B.Z,{span:6,children:(0,o.jsx)(b.Z.Search,{placeholder:"\u8F93\u5165\u7528\u6237\u90AE\u7BB1\u6216\u59D3\u540D",onChange:function(E){ce(E.target.value)}})})]}),(0,o.jsx)(F.Z,{children:(0,o.jsx)(B.Z,{span:24,children:(0,o.jsx)(J.Z,{columns:C,dataSource:ee,loading:x.effects["user/fetchUserList"]})})})]})})};U.default=(0,n.connect)(function(m){var c=m.user,i=m.loading;return{user:c,loading:i}})(l)},86738:function(se,U,t){t.d(U,{Z:function(){return u}});var R=t(26702),N=t(94184),_=t.n(N),d=t(21770),W=t(15105),s=t(67294),w=t(98423),P=t(53124),G=t(55241),Z=t(96159),$=t(71577),oe=t(87149),T=t(86743),y=t(74342),X=t(24457),L=t(81643),g=t(60590),v=t(67968);const K=e=>{const{componentCls:r,iconCls:o,zIndexPopup:a,colorText:l,colorWarning:m,marginXS:c,fontSize:i,fontWeightStrong:M,lineHeight:x}=e;return{[r]:{zIndex:a,[`${r}-inner-content`]:{color:l},[`${r}-message`]:{position:"relative",marginBottom:c,color:l,fontSize:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${r}-message-icon ${o}`]:{color:m,fontSize:i,flex:"none",lineHeight:1,paddingTop:(Math.round(i*x)-i)/2},"&-title":{flex:"auto",marginInlineStart:c},"&-title-only":{fontWeight:M}},[`${r}-description`]:{position:"relative",marginInlineStart:i+c,marginBottom:c,color:l,fontSize:i},[`${r}-buttons`]:{textAlign:"end",button:{marginInlineStart:c}}}}};var b=(0,v.Z)("Popconfirm",e=>K(e),e=>{const{zIndexPopupBase:r}=e;return{zIndexPopup:r+60}}),F=function(e,r){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(e);l{const{prefixCls:r,okButtonProps:o,cancelButtonProps:a,title:l,description:m,cancelText:c,okText:i,okType:M="primary",icon:x=s.createElement(R.Z,null),showCancel:H=!0,close:Y,onConfirm:Q,onCancel:A}=e,{getPrefixCls:k}=s.useContext(P.E_);return s.createElement(y.Z,{componentName:"Popconfirm",defaultLocale:X.Z.Popconfirm},I=>s.createElement("div",{className:`${r}-inner-content`},s.createElement("div",{className:`${r}-message`},x&&s.createElement("span",{className:`${r}-message-icon`},x),s.createElement("div",{className:_()(`${r}-message-title`,{[`${r}-message-title-only`]:!!m})},(0,L.Z)(l))),m&&s.createElement("div",{className:`${r}-description`},(0,L.Z)(m)),s.createElement("div",{className:`${r}-buttons`},H&&s.createElement($.ZP,Object.assign({onClick:A,size:"small"},a),c!=null?c:I.cancelText),s.createElement(T.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,oe.n)(M)),o),actionFn:Q,close:Y,prefixCls:k("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},i!=null?i:I.okText))))};function J(e){const{prefixCls:r,placement:o,className:a,style:l}=e,m=F(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=s.useContext(P.E_),i=c("popconfirm",r),[M]=b(i);return M(s.createElement(g.ZP,{placement:o,className:_()(i,a),style:l,content:s.createElement(B,Object.assign({prefixCls:i},m))}))}var n=function(e,r){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(e);l{const{getPrefixCls:o}=s.useContext(P.E_),[a,l]=(0,d.Z)(!1,{value:e.open,defaultValue:e.defaultOpen}),m=(f,C)=>{var h;l(f,!0),(h=e.onOpenChange)===null||h===void 0||h.call(e,f,C)},c=f=>{m(!1,f)},i=f=>{var C;return(C=e.onConfirm)===null||C===void 0?void 0:C.call(void 0,f)},M=f=>{var C;m(!1,f),(C=e.onCancel)===null||C===void 0||C.call(void 0,f)},x=f=>{f.keyCode===W.Z.ESC&&a&&m(!1,f)},H=f=>{const{disabled:C=!1}=e;C||m(f)},{prefixCls:Y,placement:Q="top",trigger:A="click",okType:k="primary",icon:I=s.createElement(R.Z,null),children:S,overlayClassName:re}=e,ae=n(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),V=o("popconfirm",Y),q=_()(V,re),[le]=b(V);return le(s.createElement(G.Z,Object.assign({},(0,w.Z)(ae,["title"]),{trigger:A,placement:Q,onOpenChange:H,open:a,ref:r,overlayClassName:q,content:s.createElement(B,Object.assign({okType:k,icon:I},e,{prefixCls:V,close:c,onConfirm:i,onCancel:M})),"data-popover-inject":!0}),(0,Z.Tm)(S,{onKeyDown:f=>{var C,h;s.isValidElement(S)&&((h=S==null?void 0:(C=S.props).onKeyDown)===null||h===void 0||h.call(C,f)),x(f)}})))});j._InternalPanelDoNotUseOrYouWillBeFired=J;var u=j},51904:function(se,U,t){t.d(U,{Z:function(){return J}});var R=t(62208),N=t(94184),_=t.n(N),d=t(67294),W=t(53124),s=t(98787),w=t(45353),P=t(67968),G=t(45503);function Z(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}var $=t(63443),oe=t(14747);const T=(n,j,u)=>{const e=Z(u);return{[`${n.componentCls}-${j}`]:{color:n[`color${u}`],background:n[`color${e}Bg`],borderColor:n[`color${e}Border`]}}},y=n=>(0,$.j)(n,(j,u)=>{let{textColor:e,lightBorderColor:r,lightColor:o,darkColor:a}=u;return{[`${n.componentCls}-${j}`]:{color:e,background:o,borderColor:r,"&-inverse":{color:n.colorTextLightSolid,background:a,borderColor:a}}}}),X=n=>{const{paddingXXS:j,lineWidth:u,tagPaddingHorizontal:e,componentCls:r}=n,o=e-u,a=j-u;return{[r]:Object.assign(Object.assign({},(0,oe.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:o,fontSize:n.tagFontSize,lineHeight:`${n.tagLineHeight}px`,whiteSpace:"nowrap",background:n.tagDefaultBg,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.tagDefaultColor},[`${r}-close-icon`]:{marginInlineStart:a,color:n.colorTextDescription,fontSize:n.tagIconSize,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:o}})}};var L=(0,P.Z)("Tag",n=>{const{fontSize:j,lineHeight:u,lineWidth:e,fontSizeIcon:r}=n,o=Math.round(j*u),a=n.fontSizeSM,l=o-e*2,m=n.colorFillAlter,c=n.colorText,i=(0,G.TS)(n,{tagFontSize:a,tagLineHeight:l,tagDefaultBg:m,tagDefaultColor:c,tagIconSize:r-2*e,tagPaddingHorizontal:8});return[X(i),y(i),T(i,"success","Success"),T(i,"processing","Info"),T(i,"error","Error"),T(i,"warning","Warning")]}),g=function(n,j){var u={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&j.indexOf(e)<0&&(u[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,e=Object.getOwnPropertySymbols(n);r{var{prefixCls:j,className:u,checked:e,onChange:r,onClick:o}=n,a=g(n,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:l}=d.useContext(W.E_),m=H=>{r==null||r(!e),o==null||o(H)},c=l("tag",j),[i,M]=L(c),x=_()(c,{[`${c}-checkable`]:!0,[`${c}-checkable-checked`]:e},u,M);return i(d.createElement("span",Object.assign({},a,{className:x,onClick:m})))},b=function(n,j){var u={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&j.indexOf(e)<0&&(u[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,e=Object.getOwnPropertySymbols(n);r{var{prefixCls:u,className:e,style:r,children:o,icon:a,color:l,onClose:m,closeIcon:c,closable:i=!1}=n,M=b(n,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:x,direction:H}=d.useContext(W.E_),[Y,Q]=d.useState(!0);d.useEffect(()=>{"visible"in M&&Q(M.visible)},[M.visible]);const A=(0,s.o2)(l)||(0,s.yT)(l),k=Object.assign({backgroundColor:l&&!A?l:void 0},r),I=x("tag",u),[S,re]=L(I),ae=_()(I,{[`${I}-${l}`]:A,[`${I}-has-color`]:l&&!A,[`${I}-hidden`]:!Y,[`${I}-rtl`]:H==="rtl"},e,re),V=ee=>{ee.stopPropagation(),m==null||m(ee),!ee.defaultPrevented&&Q(!1)},q=()=>i?c?d.createElement("span",{className:`${I}-close-icon`,onClick:V},c):d.createElement(R.Z,{className:`${I}-close-icon`,onClick:V}):null,le=typeof M.onClick=="function"||o&&o.type==="a",f=a||null,C=f?d.createElement(d.Fragment,null,f,d.createElement("span",null,o)):o,h=d.createElement("span",Object.assign({},M,{ref:j,className:ae,style:k}),C,q());return S(le?d.createElement(w.Z,null,h):h)},B=d.forwardRef(F);B.CheckableTag=K;var J=B}}]); diff --git a/statics/p__Manager__UserList.e4f7c6e0.async.js b/statics/p__Manager__UserList.e4f7c6e0.async.js new file mode 100644 index 00000000..4d8cc3f7 --- /dev/null +++ b/statics/p__Manager__UserList.e4f7c6e0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2085],{12554:function(F,I,e){e.d(I,{Z:function(){return P}});var C=e(67294),j=e(7134),c=e(83062),M={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},D=e(19478),L=Object.defineProperty,v=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,m=(s,u,a)=>u in s?L(s,u,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[u]=a,N=(s,u)=>{for(var a in u||(u={}))S.call(u,a)&&m(s,a,u[a]);if(v)for(var a of v(u))U.call(u,a)&&m(s,a,u[a]);return s};const K=s=>React.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},s),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var O="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",i=e(85893),P=function(s){var u=s.user,a=s.size,f=a===void 0?24:a,g=s.marginLeft,x=g===void 0?6:g;return u===void 0?(0,i.jsx)(j.C,{size:f,src:O,alt:"avatar"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(j.C,{size:f,className:M.avatar,src:u.avatar||D.Z.AVATAR_URL,alt:"avatar"}),(0,i.jsx)(c.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:u.deleted_at?(0,i.jsx)("del",{children:(0,i.jsx)("a",{style:{marginLeft:x,fontSize:13,color:"#ccc"},href:"/#/member/".concat(u.id),rel:"noreferrer",children:u.name})}):(0,i.jsx)("a",{onClick:function(b){b.stopPropagation()},style:{marginLeft:x,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(u.id),rel:"noreferrer",children:u.name})})]})}},646:function(F,I,e){var C=e(86738),j=e(85893);I.Z=function(c){var M=c.title,D=c.text,L=c.onConfirm;return(0,j.jsx)(C.Z,{title:M,onConfirm:L,children:(0,j.jsx)("a",{children:D})})}},16981:function(F,I,e){e.r(I);var C=e(19632),j=e.n(C),c=e(97857),M=e.n(c),D=e(15009),L=e.n(D),v=e(99289),S=e.n(v),U=e(5574),m=e.n(U),N=e(67294),K=e(58841),O=e(34041),i=e(8232),P=e(66309),s=e(72269),u=e(96074),a=e(4393),f=e(17788),g=e(55102),x=e(71230),h=e(15746),b=e(72051),G=e(90596),V=e(12554),z=e(19478),k=e(646),X=e(87547),t=e(85893),W=O.Z.Option,J=function(A){var T=A.user,y=A.dispatch,$=A.loading,q=(0,N.useState)(!1),Q=m()(q,2),ee=Q[0],R=Q[1],te=(0,N.useState)({}),H=m()(te,2),p=H[0],ue=H[1],ne=i.Z.useForm(),re=m()(ne,1),Z=re[0],se=function(n,r){y({type:"user/updateUser",payload:{id:r,is_valid:n}})},ae=function(){var _=S()(L()().mark(function n(r){var o;return L()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,y({type:"user/deleteUser",payload:{id:r}});case 2:o=l.sent,o&&Y();case 4:case"end":return l.stop()}},n)}));return function(r){return _.apply(this,arguments)}}(),ie=[{title:"id",dataIndex:"id",key:"id"},{title:(0,t.jsxs)("span",{children:[(0,t.jsx)(X.Z,{})," \u59D3\u540D"]}),dataIndex:"name",key:"name",render:function(n,r){return(0,t.jsx)(V.Z,{marginLeft:4,user:r})}},{title:"\u2709 \u90AE\u7BB1",dataIndex:"email",key:"email"},{title:"\u{1F3A8} \u89D2\u8272",dataIndex:"role",key:"role",render:function(n){return(0,t.jsx)(P.Z,{color:z.Z.USER_ROLE_TAG[n],children:z.Z.USER_ROLE[n]})}},{title:"\u4E0A\u6B21\u767B\u5F55",dataIndex:"last_login_at",key:"last_login_at"},{title:"\u{1F6AB} \u662F\u5426\u542F\u7528",dataIndex:"is_valid",key:"is_valid",render:function(n,r){return(0,t.jsx)(s.Z,{defaultChecked:n,onChange:function(d){se(d,r.id)}})}},{title:"\u{1F9F7} \u64CD\u4F5C",key:"ops",render:function(n,r){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("a",{onClick:function(){ue(r),Z.setFieldsValue(r),R(!0)},children:"\u7F16\u8F91"}),(0,t.jsx)(u.Z,{type:"vertical"}),(0,t.jsx)(k.Z,{onConfirm:S()(L()().mark(function o(){return L()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,ae(r.id);case 2:case"end":return l.stop()}},o)})),text:"\u5220\u9664",title:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u7528\u6237\u5417?"})]})}}],_e=T.userList,w=T.currentUserList,Y=function(){y({type:"user/fetchUserList"})};(0,N.useEffect)(function(){Y()},[]);var oe=function(n){if(n===""){Y();return}var r=_e.filter(function(o){return o.name.toLowerCase().indexOf(n.toLowerCase())>-1||o.email.toLowerCase().indexOf(n.toLowerCase())>-1});y({type:"user/save",payload:{currentUserList:r}})},le=function(){var _=S()(L()().mark(function n(){var r,o,d;return L()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,Z.getFieldsValue();case 2:return r=E.sent,E.next=5,y({type:"user/updateUser",payload:M()(M()({},r),{},{id:p.id})});case 5:o=E.sent,o&&(d=j()(w),w.forEach(function(Me,Le){Me.id===p.id&&(d[Le]=M()(M()({},p),r))}),y({type:"user/save",payload:{currentUserList:d}}),R(!1));case 7:case"end":return E.stop()}},n)}));return function(){return _.apply(this,arguments)}}();return(0,t.jsx)(K._z,{breadcrumb:null,title:"\u7528\u6237\u7BA1\u7406\u9875\u9762",children:(0,t.jsxs)(a.Z,{children:[(0,t.jsx)(f.Z,{title:"\u7F16\u8F91\u7528\u6237",width:500,open:ee,onCancel:function(){return R(!1)},onOk:le,children:(0,t.jsxs)(i.Z,M()(M()({form:Z,initialValues:p},z.Z.LAYOUT),{},{children:[(0,t.jsx)(i.Z.Item,{label:"\u59D3\u540D",name:"name",children:(0,t.jsx)(g.Z,{placeholder:"\u8F93\u5165\u7528\u6237\u59D3\u540D"})}),(0,t.jsx)(i.Z.Item,{label:"\u90AE\u7BB1",name:"email",children:(0,t.jsx)(g.Z,{placeholder:"\u8F93\u5165\u7528\u6237\u90AE\u7BB1"})}),(0,t.jsx)(i.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,t.jsxs)(O.Z,{children:[(0,t.jsx)(W,{value:0,children:"\u666E\u901A\u6210\u5458"},0),(0,t.jsx)(W,{value:1,children:"\u7EC4\u957F"},1),(0,t.jsx)(W,{value:2,children:"\u8D85\u7EA7\u7BA1\u7406\u5458"},2)]})})]}))}),(0,t.jsxs)(x.Z,{style:{marginBottom:12},children:[(0,t.jsx)(h.Z,{span:18}),(0,t.jsx)(h.Z,{span:6,children:(0,t.jsx)(g.Z.Search,{placeholder:"\u8F93\u5165\u7528\u6237\u90AE\u7BB1\u6216\u59D3\u540D",onChange:function(n){oe(n.target.value)}})})]}),(0,t.jsx)(x.Z,{children:(0,t.jsx)(h.Z,{span:24,children:(0,t.jsx)(b.Z,{columns:ie,dataSource:w,loading:$.effects["user/fetchUserList"]})})})]})})};I.default=(0,G.connect)(function(B){var A=B.user,T=B.loading;return{user:A,loading:T}})(J)}}]); diff --git a/statics/p__Notification.290e7225.async.js b/statics/p__Notification.290e7225.async.js new file mode 100644 index 00000000..3b6039fa --- /dev/null +++ b/statics/p__Notification.290e7225.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7125],{12554:function(P,N,t){t.d(N,{Z:function(){return A}});var h=t(67294),r=t(7134),S=t(83062),M={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},o=t(19478),j=Object.defineProperty,l=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,d=(i,n,a)=>n in i?j(i,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[n]=a,m=(i,n)=>{for(var a in n||(n={}))v.call(n,a)&&d(i,a,n[a]);if(l)for(var a of l(n))x.call(n,a)&&d(i,a,n[a]);return i};const E=i=>React.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},i),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var U="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",s=t(85893),A=function(i){var n=i.user,a=i.size,T=a===void 0?24:a,z=i.marginLeft,p=z===void 0?6:z;return n===void 0?(0,s.jsx)(r.C,{size:T,src:U,alt:"avatar"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.C,{size:T,className:M.avatar,src:n.avatar||o.Z.AVATAR_URL,alt:"avatar"}),(0,s.jsx)(S.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:n.deleted_at?(0,s.jsx)("del",{children:(0,s.jsx)("a",{style:{marginLeft:p,fontSize:13,color:"#ccc"},href:"/#/member/".concat(n.id),rel:"noreferrer",children:n.name})}):(0,s.jsx)("a",{onClick:function(Y){Y.stopPropagation()},style:{marginLeft:p,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(n.id),rel:"noreferrer",children:n.name})})]})}},44413:function(P,N,t){var h=t(97857),r=t.n(h),S=t(83062),M=t(85893);N.Z=function(o){var j=o.icon,l=o.title,v=o.font,x=o.style,d=o.onClick;return(0,M.jsx)(S.Z,{title:l,children:(0,M.jsx)("span",{onClick:d,style:r()({cursor:"pointer",fontSize:v},x),children:j})})}},77653:function(P,N,t){t.r(N),t.d(N,{default:function(){return q}});var h=t(15009),r=t.n(h),S=t(99289),M=t.n(S),o=t(5574),j=t.n(o),l=t(67294),v=t(58841),x=t(17788),d=t(71230),m=t(15746),E=t(50136),U=t(4393),s=t(2487),A=t(90596),i=t(44413),n=t(51444),a=t(28508),T=t(51364),z=t(13912),p=t(63790),R=t(81484),Y=t(32758),St=t(55026),e=t(85893),J=[(0,z.Z)(),(0,p.Z)(),(0,R.Z)()],K=function(f){var y=f.value,b=f.setValue;return(0,e.jsx)(T.A,{value:y,plugins:J,onChange:function(W){b(W)}})},$=t(12554),_=function(y){var b=y.user,Q=y.dispatch,W=(0,l.useState)("0"),B=j()(W,2),D=B[0],tt=B[1],et=(0,l.useState)("1"),H=j()(et,2),Z=H[0],nt=H[1],ut=(0,l.useState)(""),k=j()(ut,2),it=k[0],at=k[1],st=(0,l.useState)(!1),w=j()(st,2),rt=w[0],F=w[1],lt=(0,l.useState)(""),G=j()(lt,2),ct=G[0],ot=G[1],V=b.userMap,C=(0,A.useModel)("notice"),X=C.fetchNotices,jt=C.setNoticeCount,Lt=C.deleteNotices,Mt=C.readNotices,gt=C.notices,It=[{key:"1",tab:"\u672A\u8BFB\u6D88\u606F"},{key:"2",tab:"\u5DF2\u8BFB\u6D88\u606F"}],Nt=function(u){tt(u.key)},dt=function(){var g=M()(r()().mark(function u(L){var O;return r()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,X({msg_status:L,msg_type:D});case 2:if(O=I.sent,L!=="1"){I.next=7;break}return I.next=6,Mt(O);case 6:jt(0);case 7:case"end":return I.stop()}},u)}));return function(L){return g.apply(this,arguments)}}();(0,l.useEffect)(function(){dt(Z),Object.keys(V).length===0&&Q({type:"user/fetchUserList"})},[Z,D]);var yt=function(){var g=M()(r()().mark(function u(L){return r()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Lt({idList:[L]});case 2:return c.next=4,X({msg_status:Z,msg_type:D});case 4:case"end":return c.stop()}},u)}));return function(L){return g.apply(this,arguments)}}();return(0,e.jsxs)(v._z,{breadcrumb:null,title:"\u6D88\u606F\u4E2D\u5FC3",children:[(0,e.jsx)(x.Z,{title:it,open:rt,footer:null,onCancel:function(){F(!1)},children:(0,e.jsx)(K,{value:ct})}),(0,e.jsxs)(d.Z,{gutter:18,children:[(0,e.jsx)(m.Z,{span:1}),(0,e.jsx)(m.Z,{span:5,children:(0,e.jsx)("div",{style:{minHeight:480,background:"#fff"},children:(0,e.jsxs)(E.Z,{theme:"light",mode:"inline",onClick:Nt,defaultOpenKeys:[D],selectedKeys:[D],children:[(0,e.jsx)(E.Z.Item,{children:"\u5168\u90E8\u6D88\u606F"},"0"),(0,e.jsx)(E.Z.Item,{children:"\u7CFB\u7EDF\u901A\u77E5"},"1"),(0,e.jsx)(E.Z.Item,{children:"\u7528\u6237\u6D88\u606F"},"2")]})})}),(0,e.jsx)(m.Z,{span:16,children:(0,e.jsx)(U.Z,{style:{width:"100%"},bodyStyle:{minHeight:500},tabList:It,activeTabKey:Z,onTabChange:function(u){nt(u)},children:(0,e.jsx)(s.Z,{itemLayout:"horizontal",dataSource:gt,renderItem:function(u){return(0,e.jsxs)(s.Z.Item,{children:[(0,e.jsx)(s.Z.Item.Meta,{avatar:(0,e.jsx)($.Z,{user:V[u.sender],size:32}),title:(0,e.jsx)("span",{children:(0,e.jsx)("a",{href:u.link,children:u.msg_title})}),description:u.created_at}),(0,e.jsxs)("div",{style:{marginRight:12},children:[u.msg_content?(0,e.jsx)(i.Z,{title:"\u67E5\u770B\u66F4\u591A",style:{marginLeft:8},font:16,icon:(0,e.jsx)(n.Z,{}),onClick:function(){u.msg_content&&(ot(u.msg_content),F(!0),at(u.msg_title))}}):null,u.msg_type!==1?(0,e.jsx)(i.Z,{title:"\u5220\u9664\u8BE5\u6D88\u606F",style:{marginLeft:8},font:16,onClick:M()(r()().mark(function L(){return r()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,yt(u.id);case 2:case"end":return c.stop()}},L)})),icon:(0,e.jsx)(a.Z,{style:{color:"#ff3b3b"}})}):null]})]})}})})})]})]})},q=(0,A.connect)(function(f){var y=f.user;return{user:y}})(_)}}]); diff --git a/statics/p__Notification.5523d38e.chunk.css b/statics/p__Notification.5523d38e.chunk.css deleted file mode 100644 index 1d56643a..00000000 --- a/statics/p__Notification.5523d38e.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:transparent}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480}.cm-animate-fat-cursor,.cm-fat-cursor-mark{animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-feature-settings:"calt";font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:#ffd;border:1px solid #000;border-radius:4px;color:#000;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:100;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.CodeMirror-lint-mark{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=)}.CodeMirror-lint-mark-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==)}.CodeMirror-lint-marker{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.CodeMirror-lint-message{padding-left:18px;background-position:0 0;background-repeat:no-repeat}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=)}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=)}.CodeMirror-lint-marker-multiple{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:100% 100%;width:100%;height:100%}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light-border]{background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,8,16,.15);color:#333;box-shadow:0 4px 14px -2px #00081014}.tippy-box[data-theme~=light-border]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light-border]>.tippy-arrow:after,.tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after{content:"";position:absolute;z-index:-1}.tippy-box[data-theme~=light-border]>.tippy-arrow:after{border-color:transparent;border-style:solid}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:after{border-top-color:#00081033;border-width:7px 7px 0;top:17px;left:1px}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow>svg{top:16px}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow:after{top:17px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff;bottom:16px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:#00081033;border-width:0 7px 7px;bottom:17px;left:1px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow:after{bottom:17px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:after{border-left-color:#00081033;border-width:7px 0 7px 7px;left:17px;top:1px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow>svg{left:11px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow:after{left:12px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff;right:16px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:after{border-width:7px 7px 7px 0;right:17px;top:1px;border-right-color:#00081033}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow>svg{right:11px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow:after{right:12px}.tippy-box[data-theme~=light-border]>.tippy-svg-arrow{fill:#fff}.tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2czEuNzk2LS4wMTMgNC42Ny0zLjYxNUM1Ljg1MS45IDYuOTMuMDA2IDggMGMxLjA3LS4wMDYgMi4xNDguODg3IDMuMzQzIDIuMzg1QzE0LjIzMyA2LjAwNSAxNiA2IDE2IDZIMHoiIGZpbGw9InJnYmEoMCwgOCwgMTYsIDAuMikiLz48L3N2Zz4=);background-size:16px 6px;width:16px;height:6px}.bytemd{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;color:#24292e;border:1px solid #e1e4e8;background-color:#fff;height:300px}.bytemd,.bytemd *{box-sizing:border-box}.bytemd-hidden{display:none!important}.bytemd .CodeMirror-gutter,.bytemd .CodeMirror-gutters,.bytemd .CodeMirror-linenumber,.bytemd .CodeMirror-scroll,.bytemd .CodeMirror-sizer{box-sizing:content-box}.bytemd .CodeMirror,.bytemd code,.bytemd kbd{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.bytemd-toolbar{padding:4px 12px;border-bottom:1px solid #e1e4e8;background-color:#fafbfc;user-select:none;overflow:hidden}.bytemd-toolbar-left{float:left}.bytemd-toolbar-right{float:right}.bytemd-toolbar-tab{display:inline-block;cursor:pointer;padding-left:8px;padding-right:8px;line-height:24px;font-size:14px}.bytemd-toolbar-tab-active{color:#0366d6}.bytemd-toolbar-icon{display:inline-block;vertical-align:top;cursor:pointer;border-radius:4px;margin-left:6px;margin-right:6px}.bytemd-toolbar-icon img,.bytemd-toolbar-icon svg{display:block;padding:4px;width:24px;height:24px}.bytemd-toolbar-icon:hover{background-color:#e1e4e8}.bytemd-toolbar-icon-active{color:#0366d6}.bytemd-toolbar .tippy-content{padding-left:0;padding-right:0}.bytemd-dropdown{max-height:300px;overflow:auto;font-size:14px}.bytemd-dropdown-title{margin:0 12px;font-weight:500;border-bottom:1px solid #e1e4e8;line-height:32px;color:#444d56}.bytemd-dropdown-item{padding:4px 12px;height:32px;cursor:pointer}.bytemd-dropdown-item:hover{background-color:#f6f8fa}.bytemd-dropdown-item-icon{display:inline-block}.bytemd-dropdown-item-icon svg{display:block;padding:4px;width:24px;height:24px}.bytemd-dropdown-item-title{display:inline-block;line-height:24px;vertical-align:top}.bytemd-body{height:calc(100% - 58px);overflow:auto}.bytemd-editor{display:inline-block;vertical-align:top;height:100%;overflow:hidden}.bytemd-editor .CodeMirror{height:100%;font-size:14px;line-height:1.5}.bytemd-editor .CodeMirror pre.CodeMirror-placeholder{color:#959da5}.bytemd-editor .CodeMirror .CodeMirror-lines{max-width:800px;margin:0 auto;padding:16px 0}.bytemd-editor .CodeMirror pre.CodeMirror-line,.bytemd-editor .CodeMirror pre.CodeMirror-line-like{padding:0 4%}.bytemd-preview{display:inline-block;vertical-align:top;height:100%;overflow:auto}.bytemd-preview .markdown-body{max-width:800px;margin:0 auto;padding:16px 4%}.bytemd-sidebar{display:inline-block;vertical-align:top;height:100%;overflow:auto;font-size:16px;border-left:1px solid #e1e4e8;width:280px;position:relative;padding:0 16px}.bytemd-sidebar-close{position:absolute;padding:16px;top:0;right:0;cursor:pointer}.bytemd-sidebar-close:hover{color:#0366d6}.bytemd-sidebar h2{font-size:16px;font-weight:600;margin:32px 0 16px}.bytemd-sidebar ul{padding-left:0;color:#959da5}.bytemd-help{font-size:13px}.bytemd-help ul{line-height:20px}.bytemd-help ul svg{width:16px;height:16px;display:block}.bytemd-help ul div{display:inline-block;vertical-align:top}.bytemd-help li{list-style:none;margin-bottom:12px}.bytemd-help-icon{padding:2px 0}.bytemd-help-title{padding-left:8px}.bytemd-help-content{float:right;font-size:12px}.bytemd-toc li{list-style:none;margin-bottom:4px;font-size:14px;line-height:2;cursor:pointer;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.bytemd-toc-active{color:#0366d6;background-color:#f6f8fa}.bytemd-toc-first{font-weight:500}.bytemd-status{font-size:12px;line-height:24px;border-top:1px solid #e1e4e8;user-select:none}.bytemd-status-left{float:left}.bytemd-status-left span{padding-left:16px}.bytemd-status-left strong{font-weight:600}.bytemd-status-right{float:right}.bytemd-status-right label,.bytemd-status-right span{margin-right:16px;cursor:pointer}.bytemd-status-right span:hover{color:#0366d6}.bytemd-status-right input{vertical-align:middle;margin-right:3px}.bytemd-status-error{color:#d73a49}.bytemd-fullscreen.bytemd{position:fixed;left:0;right:0;top:0;bottom:0;border:none;height:100vh!important}.bytemd-split .bytemd-preview{border-left:1px solid #e1e4e8}.tippy-box{font-size:12px}.hljs{display:block;overflow-x:auto;padding:.5em;color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta-string{color:#98c379}.hljs-built_in,.hljs-class .hljs-title{color:#e6c07b}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.userBody{min-height:692px;max-height:692px}.heatMap{min-height:280px;max-height:280px}.userRecord{margin-top:12px;min-height:400px;max-height:400px}.activitiesList{padding:0 24px 8px}.activitiesList .username{color:#000000d9}.activitiesList .event{font-weight:400}.pageHeaderContent{display:flex}.pageHeaderContent .avatar{flex:0 1 72px;margin-bottom:8px}.pageHeaderContent .avatar>span{display:block;width:72px;height:72px;border-radius:72px}.pageHeaderContent .content{position:relative;top:4px;flex:1 1 auto;margin-left:24px;line-height:22px}.pageHeaderContent .content .contentTitle{margin-bottom:12px;font-weight:500;font-size:20px;line-height:28px}.lastLogin{margin-top:8px}.statisticsCard{margin-top:32px;text-align:center}h4.ant-list-item-meta-title{margin-block-start:auto!important}.menu___lmCy5 .anticon{margin-right:8px}.menu___lmCy5 .ant-dropdown-menu-item{min-width:160px}.right___j6QWS{display:flex;float:right;height:48px;margin-left:auto;overflow:hidden}.right___j6QWS .action___qDzB9{display:flex;align-items:center;height:100%;padding:0 12px;cursor:pointer;transition:all .3s}.right___j6QWS .action___qDzB9>span{vertical-align:middle}.right___j6QWS .action___qDzB9:hover,.right___j6QWS .action___qDzB9.opened{background:rgba(0,0,0,.025)}.right___j6QWS .search___XbFIL{padding:0 12px}.right___j6QWS .search___XbFIL:hover{background:transparent}.right___j6QWS .account___t6Nrx .avatar___B76fn{margin:20px 8px 20px 0;color:#1890ff;vertical-align:top;background:rgba(255,255,255,.85)}.dark___VDMBa .action___qDzB9{color:#ffffffd9}.dark___VDMBa .action___qDzB9>span{color:#ffffffd9}.dark___VDMBa .action___qDzB9:hover,.dark___VDMBa .action___qDzB9.opened{background:#1890ff}.ant-pro-global-header .dark___VDMBa .action___qDzB9{color:#000000d9}.ant-pro-global-header .dark___VDMBa .action___qDzB9>span{color:#000000d9}.ant-pro-global-header .dark___VDMBa .action___qDzB9:hover{color:#ffffffd9}.ant-pro-global-header .dark___VDMBa .action___qDzB9:hover>span{color:#ffffffd9}.ant-badge-count-sm___oPFlX{top:14px!important} diff --git a/statics/p__Notification.d0693fbe.async.js b/statics/p__Notification.d0693fbe.async.js deleted file mode 100644 index 8c40fd6a..00000000 --- a/statics/p__Notification.d0693fbe.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[7125],{12554:function(W,N,t){t.d(N,{Z:function(){return A}});var h=t(67294),r=t(98293),S=t(83062),M={menu:"menu___lmCy5",right:"right___j6QWS",action:"action___qDzB9",search:"search___XbFIL",account:"account___t6Nrx",avatar:"avatar___B76fn",dark:"dark___VDMBa","ant-badge-count-sm":"ant-badge-count-sm___oPFlX"},j=t(19478),o=Object.defineProperty,l=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,d=(i,n,a)=>n in i?o(i,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[n]=a,m=(i,n)=>{for(var a in n||(n={}))x.call(n,a)&&d(i,a,n[a]);if(l)for(var a of l(n))v.call(n,a)&&d(i,a,n[a]);return i};const E=i=>React.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",xmlSpace:"preserve"},i),React.createElement("linearGradient",{id:"logo_svg__a",gradientUnits:"userSpaceOnUse",x1:413.111,y1:255.835,x2:145.446,y2:255.835},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__a)",d:"m475.4 248.3-93.7-124.9c0-.1-.1-.1-.2-.2-.2-.2-.4-.5-.6-.7l-.3-.3-.8-.8c-.1 0-.1-.1-.2-.2-.3-.3-.7-.5-1.1-.8-.1-.1-.2-.1-.3-.2-.3-.2-.6-.4-.9-.5-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.4-.1 0-.3-.1-.4-.1l-.9-.3c-.1 0-.3-.1-.4-.1-.3-.1-.7-.1-1-.2-.1 0-.2 0-.4-.1-.5-.1-.9-.1-1.4-.1H117.6c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h79.5c4.8 0 8.7 3.9 8.7 8.8 0 2.4-1 4.6-2.6 6.2-1.6 1.6-3.8 2.6-6.2 2.6H72.2c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h90.1c7.6 0 13.7 6.2 13.7 13.7 0 3.8-1.5 7.2-4 9.7-2.5 2.5-5.8 4-9.6 4H28.5c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h83.3c9.6 0 17.5 7.9 17.5 17.5 0 4.8-2 9.2-5.1 12.4-3.2 3.2-7.5 5.1-12.3 5.1h-52c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H157c3.9 0 7.5 1.2 10.4 3.3 3.4 2.3 6.1 5.8 7.3 9.8.6 1.8.9 3.7.9 5.8 0 5.2-2.1 9.9-5.5 13.3-3.4 3.4-8.1 5.5-13.3 5.5H123c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5H201.9c2 0 3.6 1.6 3.6 3.6 0 1-.4 1.9-1.1 2.6-.6.7-1.6 1.1-2.5 1.1h-17.1c-6.9 0-12.5 5.6-12.5 12.5s5.6 12.5 12.5 12.5h186.8c.5 0 1 0 1.5-.1s.9-.1 1.3-.2c.1 0 .1 0 .2-.1.4-.1.8-.2 1.1-.3.1 0 .2-.1.2-.1.4-.1.7-.3 1-.4.1 0 .2-.1.2-.1.3-.2.7-.4 1-.6.1 0 .1-.1.2-.1.4-.3.8-.5 1.1-.8l.1-.1c.3-.3.6-.5.9-.8l.3-.3c.2-.2.4-.4.6-.7l.2-.2 93.7-124.9c3.5-4.5 3.5-10.6.2-15.1zM288 143.4h58.7l-37.5 50-37.5-50H288zm-109.2 98.8 13-17.3 34.7-46.4 5.3-7.1 14.9-19.8 6.3 8.4 40.5 54-21.9 29.2H178l.8-1zM253 368.3l-15.8-21-40.6-54.1-9.9-13.2-8.7-11.6h93.7l75 100H253zm169.3-75.8L392 255.8l-13.4 19.1 29.9 36.1-36.7 49-78.1-104.1 78.1-104.1 78.1 104.1-27.6 36.6z"}),React.createElement("linearGradient",{id:"logo_svg__b",gradientUnits:"userSpaceOnUse",x1:413.111,y1:166.309,x2:145.445,y2:166.309},React.createElement("stop",{offset:.034,style:{stopColor:"#e700e6"}}),React.createElement("stop",{offset:1,style:{stopColor:"#29abe2"}})),React.createElement("path",{fill:"url(#logo_svg__b)",d:"M331.9 152.6h-42.7l20.6 27.4z"}));var U="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNDEzLjExMSIgeTE9IjI1NS44MzUiIHgyPSIxNDUuNDQ2IiB5Mj0iMjU1LjgzNSI+PHN0b3Agb2Zmc2V0PSIuMDM0IiBzdHlsZT0ic3RvcC1jb2xvcjojZTcwMGU2Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojMjlhYmUyIi8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJtNDc1LjQgMjQ4LjMtOTMuNy0xMjQuOWMwLS4xLS4xLS4xLS4yLS4yLS4yLS4yLS40LS41LS42LS43bC0uMy0uMy0uOC0uOGMtLjEgMC0uMS0uMS0uMi0uMi0uMy0uMy0uNy0uNS0xLjEtLjgtLjEtLjEtLjItLjEtLjMtLjItLjMtLjItLjYtLjQtLjktLjUtLjEtLjEtLjItLjEtLjQtLjItLjMtLjEtLjYtLjMtLjktLjQtLjEgMC0uMy0uMS0uNC0uMWwtLjktLjNjLS4xIDAtLjMtLjEtLjQtLjEtLjMtLjEtLjctLjEtMS0uMi0uMSAwLS4yIDAtLjQtLjEtLjUtLjEtLjktLjEtMS40LS4xSDExNy42Yy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41aDc5LjVjNC44IDAgOC43IDMuOSA4LjcgOC44IDAgMi40LTEgNC42LTIuNiA2LjItMS42IDEuNi0zLjggMi42LTYuMiAyLjZINzIuMmMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg5MC4xYzcuNiAwIDEzLjcgNi4yIDEzLjcgMTMuNyAwIDMuOC0xLjUgNy4yLTQgOS43LTIuNSAyLjUtNS44IDQtOS42IDRIMjguNWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWg4My4zYzkuNiAwIDE3LjUgNy45IDE3LjUgMTcuNSAwIDQuOC0yIDkuMi01LjEgMTIuNC0zLjIgMy4yLTcuNSA1LjEtMTIuMyA1LjFoLTUyYy02LjkgMC0xMi41IDUuNi0xMi41IDEyLjVzNS42IDEyLjUgMTIuNSAxMi41SDE1N2MzLjkgMCA3LjUgMS4yIDEwLjQgMy4zIDMuNCAyLjMgNi4xIDUuOCA3LjMgOS44LjYgMS44LjkgMy43LjkgNS44IDAgNS4yLTIuMSA5LjktNS41IDEzLjMtMy40IDMuNC04LjEgNS41LTEzLjMgNS41SDEyM2MtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNUgyMDEuOWMyIDAgMy42IDEuNiAzLjYgMy42IDAgMS0uNCAxLjktMS4xIDIuNi0uNi43LTEuNiAxLjEtMi41IDEuMWgtMTcuMWMtNi45IDAtMTIuNSA1LjYtMTIuNSAxMi41czUuNiAxMi41IDEyLjUgMTIuNWgxODYuOGMuNSAwIDEgMCAxLjUtLjFzLjktLjEgMS4zLS4yYy4xIDAgLjEgMCAuMi0uMS40LS4xLjgtLjIgMS4xLS4zLjEgMCAuMi0uMS4yLS4xLjQtLjEuNy0uMyAxLS40LjEgMCAuMi0uMS4yLS4xLjMtLjIuNy0uNCAxLS42LjEgMCAuMS0uMS4yLS4xLjQtLjMuOC0uNSAxLjEtLjhsLjEtLjFjLjMtLjMuNi0uNS45LS44bC4zLS4zYy4yLS4yLjQtLjQuNi0uN2wuMi0uMiA5My43LTEyNC45YzMuNS00LjUgMy41LTEwLjYuMi0xNS4xek0yODggMTQzLjRoNTguN2wtMzcuNSA1MC0zNy41LTUwSDI4OHptLTEwOS4yIDk4LjggMTMtMTcuMyAzNC43LTQ2LjQgNS4zLTcuMSAxNC45LTE5LjggNi4zIDguNCA0MC41IDU0LTIxLjkgMjkuMkgxNzhsLjgtMXpNMjUzIDM2OC4zbC0xNS44LTIxLTQwLjYtNTQuMS05LjktMTMuMi04LjctMTEuNmg5My43bDc1IDEwMEgyNTN6bTE2OS4zLTc1LjhMMzkyIDI1NS44bC0xMy40IDE5LjEgMjkuOSAzNi4xLTM2LjcgNDktNzguMS0xMDQuMSA3OC4xLTEwNC4xIDc4LjEgMTA0LjEtMjcuNiAzNi42eiIvPjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI0MTMuMTExIiB5MT0iMTY2LjMwOSIgeDI9IjE0NS40NDUiIHkyPSIxNjYuMzA5Ij48c3RvcCBvZmZzZXQ9Ii4wMzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNlNzAwZTYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiMyOWFiZTIiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0zMzEuOSAxNTIuNmgtNDIuN2wyMC42IDI3LjR6Ii8+PC9zdmc+",s=t(85893),A=function(i){var n=i.user,a=i.size,T=a===void 0?24:a,z=i.marginLeft,p=z===void 0?6:z;return n===void 0?(0,s.jsx)(r.C,{size:T,src:U,alt:"avatar"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.C,{size:T,className:M.avatar,src:n.avatar||j.Z.AVATAR_URL,alt:"avatar"}),(0,s.jsx)(S.Z,{title:"\u70B9\u51FB\u53EF\u67E5\u770B\u7528\u6237\u8D44\u6599",children:n.deleted_at?(0,s.jsx)("del",{children:(0,s.jsx)("a",{style:{marginLeft:p,fontSize:13,color:"#ccc"},href:"/#/member/".concat(n.id),rel:"noreferrer",children:n.name})}):(0,s.jsx)("a",{onClick:function(Y){Y.stopPropagation()},style:{marginLeft:p,fontSize:13,verticalAlign:"middle"},href:"/#/member/".concat(n.id),rel:"noreferrer",children:n.name})})]})}},44413:function(W,N,t){var h=t(97857),r=t.n(h),S=t(83062),M=t(85893);N.Z=function(j){var o=j.icon,l=j.title,x=j.font,v=j.style,d=j.onClick;return(0,M.jsx)(S.Z,{title:l,children:(0,M.jsx)("span",{onClick:d,style:r()({cursor:"pointer",fontSize:x},v),children:o})})}},77653:function(W,N,t){t.r(N),t.d(N,{default:function(){return q}});var h=t(15009),r=t.n(h),S=t(99289),M=t.n(S),j=t(5574),o=t.n(j),l=t(67294),x=t(58841),v=t(69400),d=t(71230),m=t(15746),E=t(68508),U=t(4393),s=t(51158),A=t(94171),i=t(44413),n=t(51444),a=t(28508),T=t(80350),z=t(53314),p=t(63790),R=t(14804),Y=t(32758),St=t(55026),e=t(85893),J=[(0,z.Z)(),(0,p.Z)(),(0,R.Z)()],K=function(D){var y=D.value,b=D.setValue;return(0,e.jsx)(T.A,{value:y,plugins:J,onChange:function(P){b(P)}})},$=t(12554),_=function(y){var b=y.user,Q=y.dispatch,P=(0,l.useState)("0"),B=o()(P,2),f=B[0],tt=B[1],et=(0,l.useState)("1"),H=o()(et,2),Z=H[0],nt=H[1],ut=(0,l.useState)(""),k=o()(ut,2),it=k[0],at=k[1],st=(0,l.useState)(!1),w=o()(st,2),rt=w[0],F=w[1],lt=(0,l.useState)(""),G=o()(lt,2),ct=G[0],jt=G[1],V=b.userMap,C=(0,A.useModel)("notice"),X=C.fetchNotices,ot=C.setNoticeCount,Lt=C.deleteNotices,Mt=C.readNotices,gt=C.notices,It=[{key:"1",tab:"\u672A\u8BFB\u6D88\u606F"},{key:"2",tab:"\u5DF2\u8BFB\u6D88\u606F"}],Nt=function(u){tt(u.key)},dt=function(){var g=M()(r()().mark(function u(L){var O;return r()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,X({msg_status:L,msg_type:f});case 2:if(O=I.sent,L!=="1"){I.next=7;break}return I.next=6,Mt(O);case 6:ot(0);case 7:case"end":return I.stop()}},u)}));return function(L){return g.apply(this,arguments)}}();(0,l.useEffect)(function(){dt(Z),Object.keys(V).length===0&&Q({type:"user/fetchUserList"})},[Z,f]);var yt=function(){var g=M()(r()().mark(function u(L){return r()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Lt({idList:[L]});case 2:return c.next=4,X({msg_status:Z,msg_type:f});case 4:case"end":return c.stop()}},u)}));return function(L){return g.apply(this,arguments)}}();return(0,e.jsxs)(x._z,{breadcrumb:null,title:"\u6D88\u606F\u4E2D\u5FC3",children:[(0,e.jsx)(v.Z,{title:it,open:rt,footer:null,onCancel:function(){F(!1)},children:(0,e.jsx)(K,{value:ct})}),(0,e.jsxs)(d.Z,{gutter:18,children:[(0,e.jsx)(m.Z,{span:1}),(0,e.jsx)(m.Z,{span:5,children:(0,e.jsx)("div",{style:{minHeight:480,background:"#fff"},children:(0,e.jsxs)(E.Z,{theme:"light",mode:"inline",onClick:Nt,defaultOpenKeys:[f],selectedKeys:[f],children:[(0,e.jsx)(E.Z.Item,{children:"\u5168\u90E8\u6D88\u606F"},"0"),(0,e.jsx)(E.Z.Item,{children:"\u7CFB\u7EDF\u901A\u77E5"},"1"),(0,e.jsx)(E.Z.Item,{children:"\u7528\u6237\u6D88\u606F"},"2")]})})}),(0,e.jsx)(m.Z,{span:16,children:(0,e.jsx)(U.Z,{style:{width:"100%"},bodyStyle:{minHeight:500},tabList:It,activeTabKey:Z,onTabChange:function(u){nt(u)},children:(0,e.jsx)(s.ZP,{itemLayout:"horizontal",dataSource:gt,renderItem:function(u){return(0,e.jsxs)(s.ZP.Item,{children:[(0,e.jsx)(s.ZP.Item.Meta,{avatar:(0,e.jsx)($.Z,{user:V[u.sender],size:32}),title:(0,e.jsx)("span",{children:(0,e.jsx)("a",{href:u.link,children:u.msg_title})}),description:u.created_at}),(0,e.jsxs)("div",{style:{marginRight:12},children:[u.msg_content?(0,e.jsx)(i.Z,{title:"\u67E5\u770B\u66F4\u591A",style:{marginLeft:8},font:16,icon:(0,e.jsx)(n.Z,{}),onClick:function(){u.msg_content&&(jt(u.msg_content),F(!0),at(u.msg_title))}}):null,u.msg_type!==1?(0,e.jsx)(i.Z,{title:"\u5220\u9664\u8BE5\u6D88\u606F",style:{marginLeft:8},font:16,onClick:M()(r()().mark(function L(){return r()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,yt(u.id);case 2:case"end":return c.stop()}},L)})),icon:(0,e.jsx)(a.Z,{style:{color:"#ff3b3b"}})}):null]})]})}})})})]})]})},q=(0,A.connect)(function(D){var y=D.user;return{user:y}})(_)}}]); diff --git a/statics/p__Notification.dc84403b.chunk.css b/statics/p__Notification.dc84403b.chunk.css new file mode 100644 index 00000000..5ad8dfd8 --- /dev/null +++ b/statics/p__Notification.dc84403b.chunk.css @@ -0,0 +1 @@ +.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:white}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-feature-settings:"calt";font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light-border]{background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,8,16,.15);color:#333;box-shadow:0 4px 14px -2px #00081014}.tippy-box[data-theme~=light-border]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light-border]>.tippy-arrow:after,.tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after{content:"";position:absolute;z-index:-1}.tippy-box[data-theme~=light-border]>.tippy-arrow:after{border-color:transparent;border-style:solid}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:after{border-top-color:#00081033;border-width:7px 7px 0;top:17px;left:1px}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow>svg{top:16px}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow:after{top:17px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff;bottom:16px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:#00081033;border-width:0 7px 7px;bottom:17px;left:1px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow:after{bottom:17px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:after{border-left-color:#00081033;border-width:7px 0 7px 7px;left:17px;top:1px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow>svg{left:11px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow:after{left:12px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff;right:16px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:after{border-width:7px 7px 7px 0;right:17px;top:1px;border-right-color:#00081033}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow>svg{right:11px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow:after{right:12px}.tippy-box[data-theme~=light-border]>.tippy-svg-arrow{fill:#fff}.tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2czEuNzk2LS4wMTMgNC42Ny0zLjYxNUM1Ljg1MS45IDYuOTMuMDA2IDggMGMxLjA3LS4wMDYgMi4xNDguODg3IDMuMzQzIDIuMzg1QzE0LjIzMyA2LjAwNSAxNiA2IDE2IDZIMHoiIGZpbGw9InJnYmEoMCwgOCwgMTYsIDAuMikiLz48L3N2Zz4=);background-size:16px 6px;width:16px;height:6px}.bytemd{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;color:#24292e;border:1px solid #e1e4e8;background-color:#fff;height:300px}.bytemd *{box-sizing:border-box}.bytemd-hidden{display:none!important}.bytemd .CodeMirror-scroll,.bytemd .CodeMirror-sizer,.bytemd .CodeMirror-gutter,.bytemd .CodeMirror-gutters,.bytemd .CodeMirror-linenumber{box-sizing:content-box}.bytemd .CodeMirror,.bytemd code,.bytemd kbd{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.bytemd-toolbar{padding:4px 12px;border-bottom:1px solid #e1e4e8;background-color:#fafbfc;user-select:none;overflow:hidden}.bytemd-toolbar-left{float:left}.bytemd-toolbar-right{float:right}.bytemd-toolbar-tab{display:inline-block;cursor:pointer;padding-left:8px;padding-right:8px;line-height:24px;font-size:14px}.bytemd-toolbar-tab-active{color:#0366d6}.bytemd-toolbar-icon{display:inline-block;vertical-align:top;cursor:pointer;border-radius:4px;margin-left:6px;margin-right:6px}.bytemd-toolbar-icon svg,.bytemd-toolbar-icon img{display:block;padding:4px;width:24px;height:24px}.bytemd-toolbar-icon:hover{background-color:#e1e4e8}.bytemd-toolbar-icon-active{color:#0366d6}.bytemd-toolbar .tippy-content{padding-left:0;padding-right:0}.bytemd-dropdown{max-height:300px;overflow:auto;font-size:14px}.bytemd-dropdown-title{margin:0 12px;font-weight:500;border-bottom:1px solid #e1e4e8;line-height:32px;color:#444d56}.bytemd-dropdown-item{padding:4px 12px;height:32px;cursor:pointer}.bytemd-dropdown-item:hover{background-color:#f6f8fa}.bytemd-dropdown-item-icon{display:inline-block}.bytemd-dropdown-item-icon svg{display:block;padding:4px;width:24px;height:24px}.bytemd-dropdown-item-title{display:inline-block;line-height:24px;vertical-align:top}.bytemd-body{height:calc(100% - 58px);overflow:auto}.bytemd-editor{display:inline-block;vertical-align:top;height:100%;overflow:hidden}.bytemd-editor .CodeMirror{height:100%;font-size:14px;line-height:1.5}.bytemd-editor .CodeMirror pre.CodeMirror-placeholder{color:#959da5}.bytemd-editor .CodeMirror .CodeMirror-lines{max-width:800px;margin:0 auto;padding:16px 0}.bytemd-editor .CodeMirror pre.CodeMirror-line,.bytemd-editor .CodeMirror pre.CodeMirror-line-like{padding:0 4%}.bytemd-preview{display:inline-block;vertical-align:top;height:100%;overflow:auto}.bytemd-preview .markdown-body{max-width:800px;margin:0 auto;padding:16px 4%}.bytemd-sidebar{display:inline-block;vertical-align:top;height:100%;overflow:auto;font-size:16px;border-left:1px solid #e1e4e8;width:280px;position:relative;padding:0 16px}.bytemd-sidebar-close{position:absolute;padding:16px;top:0;right:0;cursor:pointer}.bytemd-sidebar-close:hover{color:#0366d6}.bytemd-sidebar h2{font-size:16px;font-weight:600;margin:32px 0 16px}.bytemd-sidebar ul{padding-left:0;color:#959da5}.bytemd-help{font-size:13px}.bytemd-help ul{line-height:20px}.bytemd-help ul svg{width:16px;height:16px;display:block}.bytemd-help ul div{display:inline-block;vertical-align:top}.bytemd-help li{list-style:none;margin-bottom:12px}.bytemd-help-icon{padding:2px 0}.bytemd-help-title{padding-left:8px}.bytemd-help-content{float:right;font-size:12px}.bytemd-toc li{list-style:none;margin-bottom:4px;font-size:14px;line-height:2;cursor:pointer;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.bytemd-toc-active{color:#0366d6;background-color:#f6f8fa}.bytemd-toc-first{font-weight:500}.bytemd-status{font-size:12px;line-height:24px;border-top:1px solid #e1e4e8;user-select:none}.bytemd-status-left{float:left}.bytemd-status-left span{padding-left:16px}.bytemd-status-left strong{font-weight:600}.bytemd-status-right{float:right}.bytemd-status-right label,.bytemd-status-right span{margin-right:16px;cursor:pointer}.bytemd-status-right span:hover{color:#0366d6}.bytemd-status-right input{vertical-align:middle;margin-right:3px}.bytemd-status-error{color:#d73a49}.bytemd-fullscreen.bytemd{position:fixed;inset:0;border:none;height:100vh!important}.bytemd-split .bytemd-preview{border-left:1px solid #e1e4e8}.tippy-box{font-size:12px}.hljs{display:block;overflow-x:auto;padding:.5em;color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta-string{color:#98c379}.hljs-built_in,.hljs-class .hljs-title{color:#e6c07b}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.userBody{min-height:692px;max-height:692px}.heatMap{min-height:280px;max-height:280px}.userRecord{margin-top:12px;min-height:400px;max-height:400px}.activitiesList{padding:0 24px 8px}.activitiesList .username{color:#000000d9}.activitiesList .event{font-weight:400}.pageHeaderContent{display:flex}.pageHeaderContent .avatar{flex:0 1 72px;margin-bottom:8px}.pageHeaderContent .avatar>span{display:block;width:72px;height:72px;border-radius:72px}.pageHeaderContent .content{position:relative;top:4px;flex:1 1 auto;margin-left:24px;line-height:22px}.pageHeaderContent .content .contentTitle{margin-bottom:12px;font-weight:500;font-size:20px;line-height:28px}.lastLogin{margin-top:8px}.statisticsCard{margin-top:32px;text-align:center}h4.ant-list-item-meta-title{margin-block-start:auto!important}.menu___lmCy5 .anticon{margin-right:8px}.menu___lmCy5 .ant-dropdown-menu-item{min-width:160px}.right___j6QWS{display:flex;float:right;height:48px;margin-left:auto;overflow:hidden}.right___j6QWS .action___qDzB9{display:flex;align-items:center;height:100%;padding:0 12px;cursor:pointer;transition:all .3s}.right___j6QWS .action___qDzB9>span{vertical-align:middle}.right___j6QWS .action___qDzB9:hover,.right___j6QWS .action___qDzB9.opened{background:rgba(0,0,0,.025)}.right___j6QWS .search___XbFIL{padding:0 12px}.right___j6QWS .search___XbFIL:hover{background:transparent}.right___j6QWS .account___t6Nrx .avatar___B76fn{margin:20px 8px 20px 0;color:#1890ff;vertical-align:top;background:rgba(255,255,255,.85)}.dark___VDMBa .action___qDzB9{color:#ffffffd9}.dark___VDMBa .action___qDzB9>span{color:#ffffffd9}.dark___VDMBa .action___qDzB9:hover,.dark___VDMBa .action___qDzB9.opened{background:#1890ff}.ant-pro-global-header .dark___VDMBa .action___qDzB9{color:#000000d9}.ant-pro-global-header .dark___VDMBa .action___qDzB9>span{color:#000000d9}.ant-pro-global-header .dark___VDMBa .action___qDzB9:hover{color:#ffffffd9}.ant-pro-global-header .dark___VDMBa .action___qDzB9:hover>span{color:#ffffffd9}.ant-badge-count-sm___oPFlX{top:14px!important} diff --git a/statics/p__Statistics.5f1dc03c.async.js b/statics/p__Statistics.5f1dc03c.async.js new file mode 100644 index 00000000..cdfb8a1d --- /dev/null +++ b/statics/p__Statistics.5f1dc03c.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1450],{16165:function(lt,O,a){var l=a(1413),B=a(4942),M=a(45987),L=a(67294),b=a(93967),C=a.n(b),G=a(63017),E=a(56736),r=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],d=L.forwardRef(function(i,s){var u=i.className,P=i.component,S=i.viewBox,m=i.spin,U=i.rotate,w=i.tabIndex,T=i.onClick,x=i.children,et=(0,M.Z)(i,r);(0,E.Kp)(Boolean(P||x),"Should have `component` prop or `children`."),(0,E.C3)();var e=L.useContext(G.Z),dt=e.prefixCls,ut=dt===void 0?"anticon":dt,gt=e.rootClassName,Ct=C()(gt,ut,u),Lt=C()((0,B.Z)({},"".concat(ut,"-spin"),!!m)),Et=U?{msTransform:"rotate(".concat(U,"deg)"),transform:"rotate(".concat(U,"deg)")}:void 0,nt=(0,l.Z)((0,l.Z)({},E.vD),{},{className:Lt,style:Et,viewBox:S});S||delete nt.viewBox;var Zt=function(){return P?L.createElement(P,(0,l.Z)({},nt),x):x?((0,E.Kp)(Boolean(S)||L.Children.count(x)===1&&L.isValidElement(x)&&L.Children.only(x).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),L.createElement("svg",(0,l.Z)((0,l.Z)({},nt),{},{viewBox:S}),x)):null},at=w;return at===void 0&&T&&(at=-1),L.createElement("span",(0,l.Z)((0,l.Z)({role:"img"},et),{},{ref:s,tabIndex:at,onClick:T,className:Ct}),Zt())});d.displayName="AntdIcon",O.Z=d},91321:function(lt,O,a){a.d(O,{Z:function(){return r}});var l=a(1413),B=a(45987),M=a(67294),L=a(16165),b=["type","children"],C=new Set;function G(d){return Boolean(typeof d=="string"&&d.length&&!C.has(d))}function E(d){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=d[i];if(G(s)){var u=document.createElement("script");u.setAttribute("src",s),u.setAttribute("data-namespace",s),d.length>i+1&&(u.onload=function(){E(d,i+1)},u.onerror=function(){E(d,i+1)}),C.add(s),document.body.appendChild(u)}}function r(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=d.scriptUrl,s=d.extraCommonProps,u=s===void 0?{}:s;i&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(i)?E(i.reverse()):E([i]));var P=M.forwardRef(function(S,m){var U=S.type,w=S.children,T=(0,B.Z)(S,b),x=null;return S.type&&(x=M.createElement("use",{xlinkHref:"#".concat(U)})),w&&(x=w),M.createElement(L.Z,(0,l.Z)((0,l.Z)((0,l.Z)({},u),T),{},{ref:m}),x)});return P.displayName="Iconfont",P}},64926:function(lt,O,a){var l=a(67294),B=a(20701),M=a(11924),L=a(79360),b=a(24770),C=a(79642),G=function(r,d){var i={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&d.indexOf(s)<0&&(i[s]=r[s]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(r);u1&&arguments[1]!==void 0?arguments[1]:0,o=v[i];if(B(o)){var g=document.createElement("script");g.setAttribute("src",o),g.setAttribute("data-namespace",o),v.length>i+1&&(g.onload=function(){l(v,i+1)},g.onerror=function(){l(v,i+1)}),f.add(o),document.body.appendChild(g)}}function r(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=v.scriptUrl,o=v.extraCommonProps,g=o===void 0?{}:o;i&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(i)?l(i.reverse()):l([i]));var e=d.forwardRef(function(h,D){var C=h.type,T=h.children,z=(0,m.Z)(h,Z),E=null;return h.type&&(E=d.createElement("use",{xlinkHref:"#".concat(C)})),T&&(E=T),d.createElement(x.Z,(0,c.Z)((0,c.Z)((0,c.Z)({},g),z),{},{ref:D}),E)});return e.displayName="Iconfont",e}},45605:function(X,y,n){n.d(y,{Z:function(){return B}});var c=n(1413),m=n(67294),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},x=d,Z=n(84089),f=function(r,v){return m.createElement(Z.Z,(0,c.Z)((0,c.Z)({},r),{},{ref:v,icon:x}))};f.displayName="InfoCircleOutlined";var B=m.forwardRef(f)},43929:function(X,y,n){var c=n(1413),m=n(67294),d=n(50756),x=n(84089),Z=function(B,l){return m.createElement(x.Z,(0,c.Z)((0,c.Z)({},B),{},{ref:l,icon:d.Z}))};Z.displayName="RightOutlined",y.Z=m.forwardRef(Z)},64926:function(X,y,n){var c=n(67294),m=n(42314),d=n(11924),x=n(79360),Z=n(24770),f=n(79642),B=function(r,v){var i={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&v.indexOf(o)<0&&(i[o]=r[o]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,o=Object.getOwnPropertySymbols(r);g1&&arguments[1]!==void 0?arguments[1]:{},l=[];return d.default.Children.forEach(f,function(r){r==null&&!B.keepEmpty||(Array.isArray(r)?l=l.concat(Z(r)):(0,x.isFragment)(r)&&r.props?l=l.concat(Z(r.props.children,B)):l.push(r))}),l}}}]); diff --git a/statics/p__Tool__RedisOnline.64746d15.async.js b/statics/p__Tool__RedisOnline.64746d15.async.js deleted file mode 100644 index ea1043ed..00000000 --- a/statics/p__Tool__RedisOnline.64746d15.async.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1690],{37594:function(I,m,d){d.d(m,{B:function(){return v}});var y=d(91321),_="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",v=(0,y.Z)({scriptUrl:_})},85923:function(I,m,d){d.r(m);var y=d(15009),_=d.n(y),v=d(99289),f=d.n(v),W=d(5574),j=d.n(W),B=d(58841),T=d(94171),E=d(67294),L=d(6663),K=d(34041),U=d(4393),$=d(71230),b=d(15746),Z=d(99138),w=d(68508),O=d(37594),p=d(85893),Y=K.Z.Option,F=function(h){var M=h.dispatch,S=h.gconfig,H=(0,E.useState)("disconnected> "),P=j()(H,2),A=P[0],z=P[1],G=(0,E.useState)(null),C=j()(G,2),J=C[0],N=C[1],Q=S.redisConfig,D=function(i){return typeof i=="string"?i:i.length===0?"(empty array)":i.map(function(c,n){return"".concat(n+1,") ").concat(c)}).join(` -`)},R={get:{description:"Get Key",usage:"get [key]",fn:function(){var l=f()(_()().mark(function c(){var n,r,e,s,u,o=arguments;return _()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=o.length,r=new Array(n),e=0;e "),N(parseInt(i.key,10))};return(0,p.jsx)(B._z,{title:"\u5728\u7EBF\u6267\u884CRedis",breadcrumb:null,children:(0,p.jsx)(U.Z,{style:{margin:-12},children:(0,p.jsxs)($.Z,{children:[(0,p.jsx)(b.Z,{span:24,children:(0,p.jsx)(Z.Z,{style:{marginBottom:8},type:"info",showIcon:!0,closable:!0,message:"\u9009\u4E2D\u5DE6\u4FA7\u83DC\u5355\u53EF\u4EE5\u5207\u6362Redis, \u76EE\u524D\u652F\u6301get/set/hget/hgetall/hset\u7B49\u5E38\u89C1\u64CD\u4F5C"})}),(0,p.jsx)(b.Z,{span:5,children:(0,p.jsx)(w.Z,{style:{minHeight:400,maxHeight:400,overflow:"auto",background:"rgb(33, 33, 33)"},theme:"dark",onClick:X,mode:"inline",children:Q.map(function(l){return(0,p.jsx)(w.Z.Item,{icon:l.cluster?(0,p.jsx)(O.B,{type:"icon-jiqun"}):(0,p.jsx)(O.B,{type:"icon-fuwushili"}),children:l.addr},l.id)})})}),(0,p.jsx)(b.Z,{span:19,children:(0,p.jsx)("div",{style:{minHeight:400,maxHeight:400,overflow:"auto",borderLeft:"1px solid rgb(70 68 12)"},children:(0,p.jsx)(L.Z,{style:{height:400,borderRadius:0},ignoreCommandCase:!0,commands:R,disabled:A==="disconnected> ",autoFocus:!0,welcomeMessage:`Welcome to the Redis Terminal! -Enter "help" show all command supported!`,promptLabel:A})})})]})})})};m.default=(0,T.connect)(function(k){var h=k.gconfig;return{gconfig:h}})(F)}}]); diff --git a/statics/p__Tool__RedisOnline.a4ead876.async.js b/statics/p__Tool__RedisOnline.a4ead876.async.js new file mode 100644 index 00000000..cc8e6f51 --- /dev/null +++ b/statics/p__Tool__RedisOnline.a4ead876.async.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[1690],{37594:function(U,m,d){d.d(m,{B:function(){return v}});var y=d(91321),_="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",v=(0,y.Z)({scriptUrl:_})},85923:function(U,m,d){d.r(m);var y=d(15009),_=d.n(y),v=d(99289),f=d.n(v),I=d(5574),w=d.n(I),W=d(58841),B=d(90596),E=d(67294),T=d(6663),L=d(34041),K=d(4393),$=d(71230),b=d(15746),Z=d(38925),D=d(50136),O=d(37594),p=d(85893),Y=L.Z.Option,F=function(h){var M=h.dispatch,S=h.gconfig,H=(0,E.useState)("disconnected> "),P=w()(H,2),A=P[0],z=P[1],G=(0,E.useState)(null),C=w()(G,2),J=C[0],N=C[1],Q=S.redisConfig,j=function(i){return typeof i=="string"?i:i.length===0?"(empty array)":i.map(function(o,n){return"".concat(n+1,") ").concat(o)}).join(` +`)},R={get:{description:"Get Key",usage:"get [key]",fn:function(){var l=f()(_()().mark(function o(){var n,r,e,t,u,c=arguments;return _()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:for(n=c.length,r=new Array(n),e=0;e "),N(parseInt(i.key,10))};return(0,p.jsx)(W._z,{title:"\u5728\u7EBF\u6267\u884CRedis",breadcrumb:null,children:(0,p.jsx)(K.Z,{style:{margin:-12},children:(0,p.jsxs)($.Z,{children:[(0,p.jsx)(b.Z,{span:24,children:(0,p.jsx)(Z.Z,{style:{marginBottom:8},type:"info",showIcon:!0,closable:!0,message:"\u9009\u4E2D\u5DE6\u4FA7\u83DC\u5355\u53EF\u4EE5\u5207\u6362Redis, \u76EE\u524D\u652F\u6301get/set/hget/hgetall/hset\u7B49\u5E38\u89C1\u64CD\u4F5C"})}),(0,p.jsx)(b.Z,{span:5,children:(0,p.jsx)(D.Z,{style:{minHeight:400,maxHeight:400,overflow:"auto",background:"rgb(33, 33, 33)"},theme:"dark",onClick:X,mode:"inline",children:Q.map(function(l){return(0,p.jsx)(D.Z.Item,{icon:l.cluster?(0,p.jsx)(O.B,{type:"icon-jiqun"}):(0,p.jsx)(O.B,{type:"icon-fuwushili"}),children:l.addr},l.id)})})}),(0,p.jsx)(b.Z,{span:19,children:(0,p.jsx)("div",{style:{minHeight:400,maxHeight:400,overflow:"auto",borderLeft:"1px solid rgb(70 68 12)"},children:(0,p.jsx)(T.Z,{style:{height:400,borderRadius:0},ignoreCommandCase:!0,commands:R,disabled:A==="disconnected> ",autoFocus:!0,welcomeMessage:`Welcome to the Redis Terminal! +Enter "help" show all command supported!`,promptLabel:A})})})]})})})};m.default=(0,B.connect)(function(k){var h=k.gconfig;return{gconfig:h}})(F)}}]); diff --git a/statics/p__Tool__Request.3ed51fa5.async.js b/statics/p__Tool__Request.3ed51fa5.async.js deleted file mode 100644 index 4b1bc721..00000000 --- a/statics/p__Tool__Request.3ed51fa5.async.js +++ /dev/null @@ -1,138 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3807],{41612:function(T,Z,e){T=e.nmd(T);var r=e(52677).default;ace.define("ace/theme/material-one-dark",["require","exports","module","ace/lib/dom"],function(v,E,j){E.isDark=!1,E.cssClass="ace-material-one-dark",E.cssText=` -.ace-material-one-dark .ace_gutter { - background: #272B33; - color: rgb(103,111,122) -} - -.ace-material-one-dark .ace_print-margin { - // width: 1px; - background: #e8e8e8 -} - -.ace-material-one-dark { - background-color: #272B33; - color: #A6B2C0 -} - -.ace-material-one-dark .ace_cursor { - color: #528BFF -} - -.ace-material-one-dark .ace_marker-layer .ace_selection { - background: #3D4350 -} - -.ace-material-one-dark.ace_multiselect .ace_selection.ace_start { - box-shadow: 0 0 3px 0px #272B33; - border-radius: 2px -} - -.ace-material-one-dark .ace_marker-layer .ace_step { - background: rgb(198, 219, 174) -} - -.ace-material-one-dark .ace_marker-layer .ace_bracket { - margin: -1px 0 0 -1px; - border: 1px solid #747369 -} - -.ace-material-one-dark .ace_marker-layer .ace_active-line { - background: #2B313A -} - -.ace-material-one-dark .ace_gutter-active-line { - background-color: #2B313A -} - -.ace-material-one-dark .ace_marker-layer .ace_selected-word { - border: 1px solid #3D4350 -} - -.ace-material-one-dark .ace_fold { - background-color: #61AEEF; - border-color: #A6B2C0 -} - -.ace-material-one-dark .ace_keyword { - color: #C679DD -} - -.ace-material-one-dark .ace_keyword.ace_operator { - color: #A6B2C0 -} - -.ace-material-one-dark .ace_keyword.ace_other.ace_unit { - color: #D2945D -} - -.ace-material-one-dark .ace_constant { - color: #D2945D -} - -.ace-material-one-dark .ace_constant.ace_numeric { - color: #D2945D -} - -.ace-material-one-dark .ace_constant.ace_character.ace_escape { - color: #57B6C2 -} - -.ace-material-one-dark .ace_support.ace_function { - color: #57B6C2 -} - -.ace-material-one-dark .ace_support.ace_class { - color: #E5C17C -} - -.ace-material-one-dark .ace_storage { - color: #C679DD -} - -.ace-material-one-dark .ace_invalid.ace_illegal { - color: #272B33; - background-color: #f2777a -} - -.ace-material-one-dark .ace_invalid.ace_deprecated { - color: #272B33; - background-color: #d27b53 -} - -.ace-material-one-dark .ace_string { - color: #90C378 -} - -.ace-material-one-dark .ace_string.ace_regexp { - color: #57B6C2 -} - -.ace-material-one-dark .ace_comment { - font-style: italic; - color: #59626F -} - -.ace-material-one-dark .ace_variable { - color: #DF6A73 -} - -.ace-material-one-dark .ace_meta.ace_selector { - color: #C679DD -} - -.ace-material-one-dark .ace_entity.ace_other.ace_attribute-name { - color: #D2945D -} - -.ace-material-one-dark .ace_entity.ace_name.ace_function { - color: #61AEEF -} - -.ace-material-one-dark .ace_entity.ace_name.ace_tag { - color: #DF6A73 -} - -.ace-material-one-dark .ace_markup.ace_list { - color: #DF6A73 -} -`;var I=v("ace/lib/dom");I.importCssString(E.cssText,E.cssClass)}),function(){ace.require(["ace/theme/ace-material-one-dark"],function(v){r(T)=="object"&&r(Z)=="object"&&T&&(T.exports=v)})}()},26194:function(T,Z,e){"use strict";e.d(Z,{Z:function(){return le}});var r=e(12444),v=e.n(r),E=e(72004),j=e.n(E),I=e(31996),O=e.n(I),h=e(26037),D=e.n(h),o=e(67294),L=e(53239),b=e.n(L),k=e(74981),c=e(82679),P=e.n(c),s=e(5619),R=e.n(s),oe=e(41612),w=e.n(oe),M=e(90252),ye=e.n(M),Y=e(85893),le=function(ie){O()(F,ie);var ce=D()(F);function F(){return v()(this,F),ce.apply(this,arguments)}return j()(F,[{key:"componentDidMount",value:function(){var t=this;this.props.setEditor(this.refs),(0,c.addCompleter)({getCompletions:function(z,ee,V,ne,n){n(null,(t.props.tables||[]).map(function(H){return{name:H,value:H}}))}})}},{key:"render",value:function(){var t=this.props,q=t.value,z=t.onChange,ee=t.height,V=t.readOnly,ne=t.theme;return(0,Y.jsx)(k.ZP,{ref:"aceEditor",mode:"json",theme:ne||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:z,value:q,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:ee||300},setOptions:{readOnly:V||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!0}})}}]),F}(o.Component)},37594:function(T,Z,e){"use strict";e.d(Z,{B:function(){return E}});var r=e(91321),v="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",E=(0,r.Z)({scriptUrl:v})},56262:function(T,Z,e){"use strict";e.d(Z,{Z:function(){return H}});var r=e(67294),v=e(34041),E=e(96365),j=e(71230),I=e(15746),O=e(15009),h=e.n(O),D=e(19632),o=e.n(D),L=e(99289),b=e.n(L),k=e(5574),c=e.n(k),P=e(97857),s=e.n(P),R=e(13769),oe=e.n(R),w=e(58131),M=e(2453),ye=e(86738),Y=e(25514),le=e(96074),ie=e(71577),ce=e(64240),F=e(51042),ue=e(19478),t=e(85893),q=["editing","dataIndex","title","type","setType","record","index","key","children"],z=v.Z.Option,ee=function(u){var K=u.editing,U=u.dataIndex,$=u.title,te=u.type,B=u.setType,m=u.record,de=u.index,ve=u.key,N=u.children,X=oe()(u,q);return(0,t.jsx)("td",s()(s()({},X),{},{children:K?(0,t.jsx)(w.Z.Item,{name:U,style:{margin:0},initialValue:m.dataIndex,rules:[{required:!0,message:"Please Input ".concat($,"!")}],children:(0,t.jsx)(E.Z,{placeholder:"please input ".concat($)})}):N}))},V=function(u){var K=u.data,U=u.setData,$=u.ossFileList,te=w.Z.useForm(),B=c()(te,1),m=B[0],de=(0,r.useState)(""),ve=c()(de,2),N=ve[0],X=ve[1],pe=(0,r.useState)("FILE"),J=c()(pe,2),G=J[0],he=J[1],Ee=(0,r.useState)(null),je=c()(Ee,2),Q=je[0],Ce=je[1],me=function(f){return f.key===N},De=function(f){m.setFieldsValue(s()({},f)),X(f.key)},Se=function(){X("")},Oe=function(){var C=b()(h()().mark(function f(l){var y,g,re,se,be;return h()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,m.validateFields();case 3:if(y=p.sent,!(G==="FILE"&&!Q)){p.next=7;break}return M.ZP.info("\u8BF7\u9009\u62E9\u6587\u4EF6"),p.abrupt("return");case 7:if(g=o()(K),re=g.findIndex(function(ge){return l===ge.key}),!(re>-1)){p.next=20;break}if(se=g[re],be=g.findIndex(function(ge){return y.key===ge.key}),!(be>-1)){p.next=15;break}return M.ZP.info("\u8BE5key\u5DF2\u5B58\u5728"),p.abrupt("return");case 15:g.splice(re,1,s()(s()(s()({},se),y),{},{type:G,value:Q})),U(g),X(""),p.next=23;break;case 20:g.push(s()(s()({},y),{},{type:G,value:Q})),U(g),X("");case 23:p.next=28;break;case 25:p.prev=25,p.t0=p.catch(0),console.log("Validate Failed:",p.t0);case 28:case"end":return p.stop()}},f,null,[[0,25]])}));return function(l){return C.apply(this,arguments)}}(),Te=function(f){var l=o()(K);l.splice(l.findIndex(function(y){return f===y.key}),1),U(l)},fe=[{title:"KEY",dataIndex:"key",width:"30%",editable:!0},{title:"TYPE",dataIndex:"type",type:"select",width:"10%",render:function(f,l){return l.key===N?(0,t.jsxs)(v.Z,{style:{width:"100%"},value:G,onChange:function(g){he(g)},children:[(0,t.jsx)(z,{value:"FILE",children:"FILE"}),(0,t.jsx)(z,{value:"TEXT",children:"TEXT"})]}):l.type}},{title:"VALUE",dataIndex:"value",width:"40%",render:function(f,l){return l.key===N?G==="FILE"?(0,t.jsx)(v.Z,{style:{width:"100%"},placeholder:"please select oss file",showSearch:!0,value:Q,onChange:function(g){return Ce(g)},children:$.map(function(y){return(0,t.jsx)(z,{value:y.file_path,children:y.file_path},y.file_path)})}):(0,t.jsx)(E.Z,{placeholder:"please input VALUE",value:Q,onChange:function(g){Ce(g.target.value)}}):G==="FILE"?(0,t.jsx)("a",{href:"".concat(ue.Z.URL,"/oss/download?filepath=").concat(l.value),children:l.value}):l.value}},{title:"OPERATION",dataIndex:"operation",render:function(f,l){var y=me(l);return y?(0,t.jsxs)("span",{children:[(0,t.jsx)("a",{onClick:function(){return Oe(l.key)},style:{marginRight:8},children:"Save"}),(0,t.jsx)(ye.Z,{title:"Sure to cancel?",onConfirm:Se,children:(0,t.jsx)("a",{children:"Cancel"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Y.Z.Link,{disabled:N!=="",onClick:function(){return De(l)},children:"Edit"}),(0,t.jsx)(le.Z,{type:"vertical"}),(0,t.jsx)(Y.Z.Link,{disabled:N!=="",onClick:function(){return Te(l.key)},children:"Remove"})]})}}],ae=function(){var f=[].concat(o()(K),[{key:"",type:"TEXT",value:null}]);U(f),he("FILE")},Ze=fe.map(function(C){return C.editable?s()(s()({},C),{},{onCell:function(l,y){return{record:l,index:y,type:G,setType:he,dataIndex:C.dataIndex,title:C.title,editing:me(l)}}}):C});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.Z,{style:{marginBottom:12},children:(0,t.jsx)(I.Z,{span:6,children:(0,t.jsx)(ie.ZP,{type:"primary",onClick:ae,icon:(0,t.jsx)(F.Z,{}),children:"Add"})})}),(0,t.jsx)(w.Z,{form:m,component:!1,children:(0,t.jsx)(ce.Z,{components:{body:{cell:ee}},dataSource:K,columns:Ze,rowClassName:"editable-row",pagination:{onChange:Se}})})]})},ne=V,n=v.Z.Option,H=function(A){var u=A.ossFileList,K=A.dataSource,U=A.setDataSource,$=[{title:"KEY",dataIndex:"key",render:function(){return(0,t.jsx)(E.Z,{})}},{title:"VALUE",dataIndex:"value",render:function(){return(0,t.jsx)(v.Z,{children:u.map(function(B){return(0,t.jsx)(n,{value:B.key,children:B.key},B.key)})})}}];return(0,t.jsx)(j.Z,{gutter:8,style:{marginTop:16},children:(0,t.jsx)(I.Z,{span:24,children:(0,t.jsx)(ne,{bordered:!0,columns:$,data:K,setData:U,ossFileList:u})})})}},53677:function(T,Z,e){"use strict";var r=e(67294),v=e(23879),E=e(85893);Z.Z=function(j){var I=j.columns,O=j.dataSource,h=j.title,D=j.setDataSource,o=j.editableKeys,L=j.setEditableRowKeys,b=j.extra;return(0,r.useEffect)(function(){L(O.map(function(k){return k.id}))},[O]),(0,E.jsx)(v.Z,{headerTitle:h,columns:I,rowKey:"id",value:O,onChange:D,recordCreatorProps:{newRecordType:"dataSource",record:function(){return{id:Date.now()}}},editable:{type:"multiple",editableKeys:o,actionRender:function(c,P,s){return[s.delete]},onValuesChange:function(c,P){b&&b(P),D(P)},onChange:L}})}},26969:function(T,Z,e){"use strict";e.r(Z),e.d(Z,{default:function(){return te}});var r=e(67294),v=e(52677),E=e.n(v),j=e(15009),I=e.n(j),O=e(99289),h=e.n(O),D=e(5574),o=e.n(D),L=e(34041),b=e(93980),k=e(54689),c=e(68508),P=e(71230),s=e(15746),R=e(4393),oe=e(96365),w=e(71577),M=e(78045),ye=e(13013),Y=e(64240),le=e(65987),ie=e(31484),ce=e(34804),F=e(53677),ue=e(12414),t=e(94171),q=e(10981),z=e(56262),ee=e(37594),V=e(26194),ne=e(58841),n=e(85893),H=L.Z.Option,A=b.Z.TabPane,u={200:{color:"#67C23A",text:"OK"},401:{color:"#F56C6C",text:"unauthorized"},400:{color:"#F56C6C",text:"Bad Request"}},K=function(m){return m&&m.response?(0,n.jsx)("div",{style:{marginRight:16},children:(0,n.jsxs)("span",{children:["Status:",(0,n.jsxs)("span",{style:{color:u[m.status_code]?u[m.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[m.status_code," ",u[m.status_code]?u[m.status_code].text:""]}),(0,n.jsxs)("span",{style:{marginLeft:8,marginRight:8},children:["Time: ",(0,n.jsx)("span",{style:{color:"#67C23A"},children:m.cost})]})]})}):null},U=function(m){var de=m.loading,ve=m.gconfig,N=m.dispatch,X=(0,r.useState)(0),pe=o()(X,2),J=pe[0],G=pe[1],he=(0,r.useState)("JSON"),Ee=o()(he,2),je=Ee[0],Q=Ee[1],Ce=(0,r.useState)("GET"),me=o()(Ce,2),De=me[0],Se=me[1],Oe=(0,r.useState)([]),Te=o()(Oe,2),fe=Te[0],ae=Te[1],Ze=(0,r.useState)([]),C=o()(Ze,2),f=C[0],l=C[1],y=(0,r.useState)(function(){return fe.map(function(d){return d.id})}),g=o()(y,2),re=g[0],se=g[1],be=(0,r.useState)(function(){return f.map(function(d){return d.id})}),Ie=o()(be,2),p=Ie[0],ge=Ie[1],Ye=(0,r.useState)(null),ke=o()(Ye,2),Le=ke[0],Ve=ke[1],Qe=(0,r.useState)(!1),Me=o()(Qe,2),we=Me[0],Ae=Me[1],qe=(0,r.useState)({}),_e=o()(qe,2),_=_e[0],en=_e[1],nn=(0,r.useState)([]),Re=o()(nn,2),Be=Re[0],tn=Re[1],an=(0,r.useState)(null),Fe=o()(an,2),yn=Fe[0],Ke=Fe[1],rn=ve.ossFileList,sn=(0,r.useState)(""),Ue=o()(sn,2),Pe=Ue[0],We=Ue[1],on=(0,n.jsxs)(L.Z,{value:De,onChange:function(a){return Se(a)},style:{width:120,fontSize:16,textAlign:"left"},children:[(0,n.jsx)(H,{value:"GET",children:"GET"},"GET"),(0,n.jsx)(H,{value:"POST",children:"POST"},"POST"),(0,n.jsx)(H,{value:"PUT",children:"PUT"},"PUT"),(0,n.jsx)(H,{value:"DELETE",children:"DELETE"},"DELETE")]}),He=[{title:"KEY",dataIndex:"key",key:"key"},{title:"VALUE",dataIndex:"value",key:"value"}],Ne=function(a){if(_[a]===null||_[a]===void 0||_[a]==="{}")return[];var i=JSON.parse(_[a]);return Object.keys(i).map(function(x){return{key:x,value:i[x]}})},Je=function(a){var i=Pe.split("?")[0];a.forEach(function(x,W){x.key&&(W===0?i="".concat(i,"?").concat(x.key,"=").concat(x.value||""):i="".concat(i,"&").concat(x.key,"=").concat(x.value||""))}),We(i)},ln=function(a){var i=a.split("?");if(i.length<2)ae([]);else{var x=i[1].split("&"),W=[],S=[];x.forEach(function(mn,ze){var fn=mn.split("="),$e=o()(fn,2),gn=$e[0],xn=$e[1],Xe=Date.now();S.push(Xe+ze+10),W.push({key:gn,value:xn,id:Xe+ze+10,description:""})}),ae(W),se(S)}},xe=function(a){Q(a)},cn=function(){var a={};return f.forEach(function(i){i.key!==""&&(a[i.key]=i.value)}),a},un=function(){var d=h()(I()().mark(function a(){var i,x;return I()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(Pe!==""){S.next=3;break}return k.Z.error({message:"\u8BF7\u6C42Url\u4E0D\u80FD\u4E3A\u7A7A"}),S.abrupt("return");case 3:return Ae(!0),i={method:De,url:Pe,body:J===2?JSON.stringify(Be):Le,body_type:J,headers:cn()},J===0&&(i.body=null),S.next=8,(0,ue.c3)(i);case 8:x=S.sent,Ae(!1),q.Z.response(x,!0)&&en(x.data);case 11:case"end":return S.stop()}},a)}));return function(){return d.apply(this,arguments)}}(),dn=function(a,i){if(a==="params"){var x=fe.filter(function(S){return S.id!==i});ae(x),Je(x)}else{var W=f.filter(function(S){return S.id!==i});l(W)}},vn=(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(c.Z.Item,{children:(0,n.jsx)("a",{onClick:function(){xe("Text")},children:"Text"})},"Text"),(0,n.jsx)(c.Z.Item,{children:(0,n.jsx)("a",{onClick:function(){xe("JavaScript")},children:"JavaScript"})},"JavaScript"),(0,n.jsx)(c.Z.Item,{children:(0,n.jsx)("a",{onClick:function(){xe("JSON")},children:"JSON"})},"JSON"),(0,n.jsx)(c.Z.Item,{children:(0,n.jsx)("a",{onClick:function(){xe("HTML")},children:"HTML"})},"HTML"),(0,n.jsx)(c.Z.Item,{children:(0,n.jsx)("a",{onClick:function(){xe("XML")},children:"XML"})},"XML")]}),Ge=function(a){return[{title:"KEY",key:"key",dataIndex:"key"},{title:"VALUE",key:"value",dataIndex:"value"},{title:"DESCRIPTION",key:"description",dataIndex:"description"},{title:"\u64CD\u4F5C",valueType:"option",render:function(x,W){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(le.Z,{style:{cursor:"pointer"},onClick:function(){se([W.id])}}),(0,n.jsx)(ie.Z,{style:{cursor:"pointer",marginLeft:8},onClick:function(){dn(a,W.id)},twoToneColor:"#eb2f96"})]})}}]},hn=function(a){return a===0?(0,n.jsx)("div",{style:{height:"20vh",lineHeight:"20vh",textAlign:"center"},children:"This request does not have a body"}):a===2?(0,n.jsx)(z.Z,{ossFileList:rn,dataSource:Be,setDataSource:tn}):(0,n.jsx)(P.Z,{style:{marginTop:12},children:(0,n.jsx)(s.Z,{span:24,children:(0,n.jsx)(R.Z,{bodyStyle:{padding:0},children:(0,n.jsx)(V.Z,{value:Le,onChange:function(x){return Ve(x)},height:"20vh",setEditor:Ke})})})})};return(0,n.jsx)(ne._z,{title:"\u5728\u7EBFHTTP\u6D4B\u8BD5\u5DE5\u5177",breadcrumb:null,children:(0,n.jsxs)(R.Z,{children:[(0,n.jsxs)(P.Z,{gutter:[8,8],children:[(0,n.jsx)(s.Z,{span:18,children:(0,n.jsx)(oe.Z,{size:"large",value:Pe,addonBefore:on,placeholder:"\u8BF7\u8F93\u5165\u8981\u8BF7\u6C42\u7684url",onChange:function(a){We(a.target.value),ln(a.target.value)}})}),(0,n.jsx)(s.Z,{span:6,children:(0,n.jsxs)(w.ZP,{onClick:un,loading:we,type:"primary",size:"large",style:{marginRight:16,float:"right"},children:[(0,n.jsx)(ee.B,{type:"icon-fasong1"}),"Send"," "]})})]}),(0,n.jsx)(P.Z,{style:{marginTop:8},children:(0,n.jsxs)(b.Z,{defaultActiveKey:"1",style:{width:"100%"},children:[(0,n.jsx)(A,{tab:"Params",children:(0,n.jsx)(F.Z,{columns:Ge("params"),title:"Query Params",dataSource:fe,setDataSource:ae,extra:Je,editableKeys:re,setEditableRowKeys:se})},"1"),(0,n.jsx)(A,{tab:"Headers",children:(0,n.jsx)(F.Z,{columns:Ge("headers"),title:"Headers",dataSource:f,setDataSource:l,editableKeys:p,setEditableRowKeys:ge})},"2"),(0,n.jsxs)(A,{tab:"Body",children:[(0,n.jsxs)(P.Z,{children:[(0,n.jsxs)(M.ZP.Group,{defaultValue:0,value:J,onChange:function(a){G(a.target.value),a.target.value===2&&N({type:"gconfig/listOssFile"})},children:[(0,n.jsx)(M.ZP,{value:0,children:"none"}),(0,n.jsx)(M.ZP,{value:2,children:"form-data"}),(0,n.jsx)(M.ZP,{value:3,children:"x-www-form-urlencoded"}),(0,n.jsx)(M.ZP,{value:1,children:"raw"}),(0,n.jsx)(M.ZP,{value:4,children:"binary"}),(0,n.jsx)(M.ZP,{value:5,children:"GraphQL"})]}),J===1?(0,n.jsx)(ye.Z,{style:{marginLeft:8},overlay:vn,trigger:["click"],children:(0,n.jsxs)("a",{onClick:function(a){return a.preventDefault()},children:[je," ",(0,n.jsx)(ce.Z,{})]})}):null]}),hn(J)]},"3")]})}),(0,n.jsx)(P.Z,{gutter:[8,8],children:Object.keys(_).length===0?null:(0,n.jsxs)(b.Z,{style:{width:"100%"},tabBarExtraContent:K(_),children:[(0,n.jsx)(A,{tab:"Body",children:(0,n.jsx)(V.Z,{readOnly:!0,setEditor:Ke,language:_.response&&_.response_headers.indexOf("json")>-1?"json":"text",value:_.response&&E()(_.response)==="object"?JSON.stringify(_.response,null,2):_.response||"",height:"30vh"})},"1"),(0,n.jsx)(A,{tab:"Cookie",children:(0,n.jsx)(Y.Z,{columns:He,dataSource:Ne("cookies"),size:"small",pagination:!1})},"2"),(0,n.jsx)(A,{tab:"Headers",children:(0,n.jsx)(Y.Z,{columns:He,dataSource:Ne("response_headers"),size:"small",pagination:!1})},"3")]})})]})})},$=(0,t.connect)(function(B){var m=B.loading,de=B.gconfig;return{loading:m,gconfig:de}})(U),te=function(){return(0,n.jsx)($,{})}},5619:function(T,Z,e){T=e.nmd(T),ace.define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(r,v,E){"use strict";var j=r("../lib/event");v.contextMenuHandler=function(O){var h=O.target,D=h.textInput.getElement();if(!!h.selection.isEmpty()){var o=h.getCursorPosition(),L=h.session.getWordRange(o.row,o.column),b=h.session.getTextRange(L);if(h.session.tokenRe.lastIndex=0,!!h.session.tokenRe.test(b)){var k="",c=b+" "+k;D.value=c,D.setSelectionRange(b.length,b.length+1),D.setSelectionRange(0,0),D.setSelectionRange(0,b.length);var P=!1;j.addListener(D,"keydown",function s(){j.removeListener(D,"keydown",s),P=!0}),h.textInput.setInputHandler(function(s){if(s==c)return"";if(s.lastIndexOf(c,0)===0)return s.slice(c.length);if(s.substr(D.selectionEnd)==c)return s.slice(0,-c.length);if(s.slice(-2)==k){var R=s.slice(0,-2);if(R.slice(-1)==" ")return P?R.substring(0,D.selectionEnd):(R=R.slice(0,-1),h.session.replace(L,R),"")}return s})}}};var I=r("../editor").Editor;r("../config").defineOptions(I.prototype,"editor",{spellcheck:{set:function(O){var h=this.textInput.getElement();h.spellcheck=!!O,O?this.on("nativecontextmenu",v.contextMenuHandler):this.removeListener("nativecontextmenu",v.contextMenuHandler)},value:!0}})}),function(){ace.require(["ace/ext/spellcheck"],function(r){T&&(T.exports=r)})}()}}]); diff --git a/statics/p__Tool__Request.a2ab6710.async.js b/statics/p__Tool__Request.a2ab6710.async.js new file mode 100644 index 00000000..b4fcbb30 --- /dev/null +++ b/statics/p__Tool__Request.a2ab6710.async.js @@ -0,0 +1,138 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[3807],{41612:function(T,Z,e){T=e.nmd(T);var r=e(52677).default;ace.define("ace/theme/material-one-dark",["require","exports","module","ace/lib/dom"],function(v,E,j){E.isDark=!1,E.cssClass="ace-material-one-dark",E.cssText=` +.ace-material-one-dark .ace_gutter { + background: #272B33; + color: rgb(103,111,122) +} + +.ace-material-one-dark .ace_print-margin { + // width: 1px; + background: #e8e8e8 +} + +.ace-material-one-dark { + background-color: #272B33; + color: #A6B2C0 +} + +.ace-material-one-dark .ace_cursor { + color: #528BFF +} + +.ace-material-one-dark .ace_marker-layer .ace_selection { + background: #3D4350 +} + +.ace-material-one-dark.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #272B33; + border-radius: 2px +} + +.ace-material-one-dark .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-material-one-dark .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #747369 +} + +.ace-material-one-dark .ace_marker-layer .ace_active-line { + background: #2B313A +} + +.ace-material-one-dark .ace_gutter-active-line { + background-color: #2B313A +} + +.ace-material-one-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #3D4350 +} + +.ace-material-one-dark .ace_fold { + background-color: #61AEEF; + border-color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword { + color: #C679DD +} + +.ace-material-one-dark .ace_keyword.ace_operator { + color: #A6B2C0 +} + +.ace-material-one-dark .ace_keyword.ace_other.ace_unit { + color: #D2945D +} + +.ace-material-one-dark .ace_constant { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_numeric { + color: #D2945D +} + +.ace-material-one-dark .ace_constant.ace_character.ace_escape { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_function { + color: #57B6C2 +} + +.ace-material-one-dark .ace_support.ace_class { + color: #E5C17C +} + +.ace-material-one-dark .ace_storage { + color: #C679DD +} + +.ace-material-one-dark .ace_invalid.ace_illegal { + color: #272B33; + background-color: #f2777a +} + +.ace-material-one-dark .ace_invalid.ace_deprecated { + color: #272B33; + background-color: #d27b53 +} + +.ace-material-one-dark .ace_string { + color: #90C378 +} + +.ace-material-one-dark .ace_string.ace_regexp { + color: #57B6C2 +} + +.ace-material-one-dark .ace_comment { + font-style: italic; + color: #59626F +} + +.ace-material-one-dark .ace_variable { + color: #DF6A73 +} + +.ace-material-one-dark .ace_meta.ace_selector { + color: #C679DD +} + +.ace-material-one-dark .ace_entity.ace_other.ace_attribute-name { + color: #D2945D +} + +.ace-material-one-dark .ace_entity.ace_name.ace_function { + color: #61AEEF +} + +.ace-material-one-dark .ace_entity.ace_name.ace_tag { + color: #DF6A73 +} + +.ace-material-one-dark .ace_markup.ace_list { + color: #DF6A73 +} +`;var I=v("ace/lib/dom");I.importCssString(E.cssText,E.cssClass)}),function(){ace.require(["ace/theme/ace-material-one-dark"],function(v){r(T)=="object"&&r(Z)=="object"&&T&&(T.exports=v)})}()},26194:function(T,Z,e){"use strict";e.d(Z,{Z:function(){return le}});var r=e(12444),v=e.n(r),E=e(72004),j=e.n(E),I=e(31996),O=e.n(I),h=e(26037),D=e.n(h),o=e(67294),L=e(53239),b=e.n(L),k=e(74981),c=e(82679),P=e.n(c),s=e(5619),R=e.n(s),oe=e(41612),w=e.n(oe),_=e(90252),pe=e.n(_),Y=e(85893),le=function(ie){O()(U,ie);var ce=D()(U);function U(){return v()(this,U),ce.apply(this,arguments)}return j()(U,[{key:"componentDidMount",value:function(){var n=this;this.props.setEditor(this.refs),(0,c.addCompleter)({getCompletions:function(z,ee,V,te,t){t(null,(n.props.tables||[]).map(function(H){return{name:H,value:H}}))}})}},{key:"render",value:function(){var n=this.props,q=n.value,z=n.onChange,ee=n.height,V=n.readOnly,te=n.theme;return(0,Y.jsx)(k.ZP,{ref:"aceEditor",mode:"json",theme:te||"material-one-dark",fontSize:14,showGutter:!0,showPrintMargin:!1,onChange:z,value:q,wrapEnabled:!0,highlightActiveLine:!0,enableSnippets:!0,style:{width:"100%",height:ee||300},setOptions:{readOnly:V||!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,showLineNumbers:!0,tabSize:4,useWorker:!0}})}}]),U}(o.Component)},37594:function(T,Z,e){"use strict";e.d(Z,{B:function(){return E}});var r=e(91321),v="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",E=(0,r.Z)({scriptUrl:v})},56262:function(T,Z,e){"use strict";e.d(Z,{Z:function(){return H}});var r=e(67294),v=e(34041),E=e(55102),j=e(71230),I=e(15746),O=e(15009),h=e.n(O),D=e(19632),o=e.n(D),L=e(99289),b=e.n(L),k=e(5574),c=e.n(k),P=e(97857),s=e.n(P),R=e(13769),oe=e.n(R),w=e(8232),_=e(2453),pe=e(86738),Y=e(96746),le=e(96074),ie=e(14726),ce=e(72051),U=e(51042),de=e(19478),n=e(85893),q=["editing","dataIndex","title","type","setType","record","index","key","children"],z=v.Z.Option,ee=function(d){var F=d.editing,K=d.dataIndex,$=d.title,ne=d.type,B=d.setType,m=d.record,ue=d.index,ve=d.key,N=d.children,X=oe()(d,q);return(0,n.jsx)("td",s()(s()({},X),{},{children:F?(0,n.jsx)(w.Z.Item,{name:K,style:{margin:0},initialValue:m.dataIndex,rules:[{required:!0,message:"Please Input ".concat($,"!")}],children:(0,n.jsx)(E.Z,{placeholder:"please input ".concat($)})}):N}))},V=function(d){var F=d.data,K=d.setData,$=d.ossFileList,ne=w.Z.useForm(),B=c()(ne,1),m=B[0],ue=(0,r.useState)(""),ve=c()(ue,2),N=ve[0],X=ve[1],xe=(0,r.useState)("FILE"),J=c()(xe,2),G=J[0],he=J[1],Ee=(0,r.useState)(null),je=c()(Ee,2),Q=je[0],Ce=je[1],me=function(f){return f.key===N},De=function(f){m.setFieldsValue(s()({},f)),X(f.key)},Se=function(){X("")},Oe=function(){var C=b()(h()().mark(function f(l){var p,g,re,se,be;return h()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,x.next=3,m.validateFields();case 3:if(p=x.sent,!(G==="FILE"&&!Q)){x.next=7;break}return _.ZP.info("\u8BF7\u9009\u62E9\u6587\u4EF6"),x.abrupt("return");case 7:if(g=o()(F),re=g.findIndex(function(ge){return l===ge.key}),!(re>-1)){x.next=20;break}if(se=g[re],be=g.findIndex(function(ge){return p.key===ge.key}),!(be>-1)){x.next=15;break}return _.ZP.info("\u8BE5key\u5DF2\u5B58\u5728"),x.abrupt("return");case 15:g.splice(re,1,s()(s()(s()({},se),p),{},{type:G,value:Q})),K(g),X(""),x.next=23;break;case 20:g.push(s()(s()({},p),{},{type:G,value:Q})),K(g),X("");case 23:x.next=28;break;case 25:x.prev=25,x.t0=x.catch(0),console.log("Validate Failed:",x.t0);case 28:case"end":return x.stop()}},f,null,[[0,25]])}));return function(l){return C.apply(this,arguments)}}(),Te=function(f){var l=o()(F);l.splice(l.findIndex(function(p){return f===p.key}),1),K(l)},fe=[{title:"KEY",dataIndex:"key",width:"30%",editable:!0},{title:"TYPE",dataIndex:"type",type:"select",width:"10%",render:function(f,l){return l.key===N?(0,n.jsxs)(v.Z,{style:{width:"100%"},value:G,onChange:function(g){he(g)},children:[(0,n.jsx)(z,{value:"FILE",children:"FILE"}),(0,n.jsx)(z,{value:"TEXT",children:"TEXT"})]}):l.type}},{title:"VALUE",dataIndex:"value",width:"40%",render:function(f,l){return l.key===N?G==="FILE"?(0,n.jsx)(v.Z,{style:{width:"100%"},placeholder:"please select oss file",showSearch:!0,value:Q,onChange:function(g){return Ce(g)},children:$.map(function(p){return(0,n.jsx)(z,{value:p.file_path,children:p.file_path},p.file_path)})}):(0,n.jsx)(E.Z,{placeholder:"please input VALUE",value:Q,onChange:function(g){Ce(g.target.value)}}):G==="FILE"?(0,n.jsx)("a",{href:"".concat(de.Z.URL,"/oss/download?filepath=").concat(l.value),children:l.value}):l.value}},{title:"OPERATION",dataIndex:"operation",render:function(f,l){var p=me(l);return p?(0,n.jsxs)("span",{children:[(0,n.jsx)("a",{onClick:function(){return Oe(l.key)},style:{marginRight:8},children:"Save"}),(0,n.jsx)(pe.Z,{title:"Sure to cancel?",onConfirm:Se,children:(0,n.jsx)("a",{children:"Cancel"})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y.Z.Link,{disabled:N!=="",onClick:function(){return De(l)},children:"Edit"}),(0,n.jsx)(le.Z,{type:"vertical"}),(0,n.jsx)(Y.Z.Link,{disabled:N!=="",onClick:function(){return Te(l.key)},children:"Remove"})]})}}],ae=function(){var f=[].concat(o()(F),[{key:"",type:"TEXT",value:null}]);K(f),he("FILE")},Ze=fe.map(function(C){return C.editable?s()(s()({},C),{},{onCell:function(l,p){return{record:l,index:p,type:G,setType:he,dataIndex:C.dataIndex,title:C.title,editing:me(l)}}}):C});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.Z,{style:{marginBottom:12},children:(0,n.jsx)(I.Z,{span:6,children:(0,n.jsx)(ie.ZP,{type:"primary",onClick:ae,icon:(0,n.jsx)(U.Z,{}),children:"Add"})})}),(0,n.jsx)(w.Z,{form:m,component:!1,children:(0,n.jsx)(ce.Z,{components:{body:{cell:ee}},dataSource:F,columns:Ze,rowClassName:"editable-row",pagination:{onChange:Se}})})]})},te=V,t=v.Z.Option,H=function(M){var d=M.ossFileList,F=M.dataSource,K=M.setDataSource,$=[{title:"KEY",dataIndex:"key",render:function(){return(0,n.jsx)(E.Z,{})}},{title:"VALUE",dataIndex:"value",render:function(){return(0,n.jsx)(v.Z,{children:d.map(function(B){return(0,n.jsx)(t,{value:B.key,children:B.key},B.key)})})}}];return(0,n.jsx)(j.Z,{gutter:8,style:{marginTop:16},children:(0,n.jsx)(I.Z,{span:24,children:(0,n.jsx)(te,{bordered:!0,columns:$,data:F,setData:K,ossFileList:d})})})}},53677:function(T,Z,e){"use strict";var r=e(67294),v=e(69935),E=e(85893);Z.Z=function(j){var I=j.columns,O=j.dataSource,h=j.title,D=j.setDataSource,o=j.editableKeys,L=j.setEditableRowKeys,b=j.extra;return(0,r.useEffect)(function(){L(O.map(function(k){return k.id}))},[O]),(0,E.jsx)(v.Z,{headerTitle:h,columns:I,rowKey:"id",value:O,onChange:D,recordCreatorProps:{newRecordType:"dataSource",record:function(){return{id:Date.now()}}},editable:{type:"multiple",editableKeys:o,actionRender:function(c,P,s){return[s.delete]},onValuesChange:function(c,P){b&&b(P),D(P)},onChange:L}})}},26969:function(T,Z,e){"use strict";e.r(Z),e.d(Z,{default:function(){return ne}});var r=e(67294),v=e(52677),E=e.n(v),j=e(15009),I=e.n(j),O=e(99289),h=e.n(O),D=e(5574),o=e.n(D),L=e(34041),b=e(11941),k=e(16568),c=e(50136),P=e(71230),s=e(15746),R=e(4393),oe=e(55102),w=e(14726),_=e(78045),pe=e(85418),Y=e(72051),le=e(65987),ie=e(31484),ce=e(34804),U=e(53677),de=e(12414),n=e(90596),q=e(10981),z=e(56262),ee=e(37594),V=e(26194),te=e(58841),t=e(85893),H=L.Z.Option,M=b.Z.TabPane,d={200:{color:"#67C23A",text:"OK"},401:{color:"#F56C6C",text:"unauthorized"},400:{color:"#F56C6C",text:"Bad Request"}},F=function(m){return m&&m.response?(0,t.jsx)("div",{style:{marginRight:16},children:(0,t.jsxs)("span",{children:["Status:",(0,t.jsxs)("span",{style:{color:d[m.status_code]?d[m.status_code].color:"#F56C6C",marginLeft:8,marginRight:8},children:[m.status_code," ",d[m.status_code]?d[m.status_code].text:""]}),(0,t.jsxs)("span",{style:{marginLeft:8,marginRight:8},children:["Time: ",(0,t.jsx)("span",{style:{color:"#67C23A"},children:m.cost})]})]})}):null},K=function(m){var ue=m.loading,ve=m.gconfig,N=m.dispatch,X=(0,r.useState)(0),xe=o()(X,2),J=xe[0],G=xe[1],he=(0,r.useState)("JSON"),Ee=o()(he,2),je=Ee[0],Q=Ee[1],Ce=(0,r.useState)("GET"),me=o()(Ce,2),De=me[0],Se=me[1],Oe=(0,r.useState)([]),Te=o()(Oe,2),fe=Te[0],ae=Te[1],Ze=(0,r.useState)([]),C=o()(Ze,2),f=C[0],l=C[1],p=(0,r.useState)(function(){return fe.map(function(u){return u.id})}),g=o()(p,2),re=g[0],se=g[1],be=(0,r.useState)(function(){return f.map(function(u){return u.id})}),Ie=o()(be,2),x=Ie[0],ge=Ie[1],Ye=(0,r.useState)(null),ke=o()(Ye,2),Le=ke[0],Ve=ke[1],Qe=(0,r.useState)(!1),_e=o()(Qe,2),we=_e[0],Me=_e[1],qe=(0,r.useState)({}),Ae=o()(qe,2),A=Ae[0],et=Ae[1],tt=(0,r.useState)([]),Re=o()(tt,2),Be=Re[0],nt=Re[1],at=(0,r.useState)(null),Ue=o()(at,2),yt=Ue[0],Fe=Ue[1],rt=ve.ossFileList,st=(0,r.useState)(""),Ke=o()(st,2),Pe=Ke[0],We=Ke[1],ot=(0,t.jsxs)(L.Z,{value:De,onChange:function(a){return Se(a)},style:{width:120,fontSize:16,textAlign:"left"},children:[(0,t.jsx)(H,{value:"GET",children:"GET"},"GET"),(0,t.jsx)(H,{value:"POST",children:"POST"},"POST"),(0,t.jsx)(H,{value:"PUT",children:"PUT"},"PUT"),(0,t.jsx)(H,{value:"DELETE",children:"DELETE"},"DELETE")]}),He=[{title:"KEY",dataIndex:"key",key:"key"},{title:"VALUE",dataIndex:"value",key:"value"}],Ne=function(a){if(A[a]===null||A[a]===void 0||A[a]==="{}")return[];var i=JSON.parse(A[a]);return Object.keys(i).map(function(y){return{key:y,value:i[y]}})},Je=function(a){var i=Pe.split("?")[0];a.forEach(function(y,W){y.key&&(W===0?i="".concat(i,"?").concat(y.key,"=").concat(y.value||""):i="".concat(i,"&").concat(y.key,"=").concat(y.value||""))}),We(i)},lt=function(a){var i=a.split("?");if(i.length<2)ae([]);else{var y=i[1].split("&"),W=[],S=[];y.forEach(function(ht,ze){var mt=ht.split("="),$e=o()(mt,2),ft=$e[0],gt=$e[1],Xe=Date.now();S.push(Xe+ze+10),W.push({key:ft,value:gt,id:Xe+ze+10,description:""})}),ae(W),se(S)}},ye=function(a){Q(a)},it=function(){var a={};return f.forEach(function(i){i.key!==""&&(a[i.key]=i.value)}),a},ct=function(){var u=h()(I()().mark(function a(){var i,y;return I()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(Pe!==""){S.next=3;break}return k.ZP.error({message:"\u8BF7\u6C42Url\u4E0D\u80FD\u4E3A\u7A7A"}),S.abrupt("return");case 3:return Me(!0),i={method:De,url:Pe,body:J===2?JSON.stringify(Be):Le,body_type:J,headers:it()},J===0&&(i.body=null),S.next=8,(0,de.c3)(i);case 8:y=S.sent,Me(!1),q.Z.response(y,!0)&&et(y.data);case 11:case"end":return S.stop()}},a)}));return function(){return u.apply(this,arguments)}}(),dt=function(a,i){if(a==="params"){var y=fe.filter(function(S){return S.id!==i});ae(y),Je(y)}else{var W=f.filter(function(S){return S.id!==i});l(W)}},ut=(0,t.jsxs)(c.Z,{children:[(0,t.jsx)(c.Z.Item,{children:(0,t.jsx)("a",{onClick:function(){ye("Text")},children:"Text"})},"Text"),(0,t.jsx)(c.Z.Item,{children:(0,t.jsx)("a",{onClick:function(){ye("JavaScript")},children:"JavaScript"})},"JavaScript"),(0,t.jsx)(c.Z.Item,{children:(0,t.jsx)("a",{onClick:function(){ye("JSON")},children:"JSON"})},"JSON"),(0,t.jsx)(c.Z.Item,{children:(0,t.jsx)("a",{onClick:function(){ye("HTML")},children:"HTML"})},"HTML"),(0,t.jsx)(c.Z.Item,{children:(0,t.jsx)("a",{onClick:function(){ye("XML")},children:"XML"})},"XML")]}),Ge=function(a){return[{title:"KEY",key:"key",dataIndex:"key"},{title:"VALUE",key:"value",dataIndex:"value"},{title:"DESCRIPTION",key:"description",dataIndex:"description"},{title:"\u64CD\u4F5C",valueType:"option",render:function(y,W){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(le.Z,{style:{cursor:"pointer"},onClick:function(){se([W.id])}}),(0,t.jsx)(ie.Z,{style:{cursor:"pointer",marginLeft:8},onClick:function(){dt(a,W.id)},twoToneColor:"#eb2f96"})]})}}]},vt=function(a){return a===0?(0,t.jsx)("div",{style:{height:"20vh",lineHeight:"20vh",textAlign:"center"},children:"This request does not have a body"}):a===2?(0,t.jsx)(z.Z,{ossFileList:rt,dataSource:Be,setDataSource:nt}):(0,t.jsx)(P.Z,{style:{marginTop:12},children:(0,t.jsx)(s.Z,{span:24,children:(0,t.jsx)(R.Z,{bodyStyle:{padding:0},children:(0,t.jsx)(V.Z,{value:Le,onChange:function(y){return Ve(y)},height:"20vh",setEditor:Fe})})})})};return(0,t.jsx)(te._z,{title:"\u5728\u7EBFHTTP\u6D4B\u8BD5\u5DE5\u5177",breadcrumb:null,children:(0,t.jsxs)(R.Z,{children:[(0,t.jsxs)(P.Z,{gutter:[8,8],children:[(0,t.jsx)(s.Z,{span:18,children:(0,t.jsx)(oe.Z,{size:"large",value:Pe,addonBefore:ot,placeholder:"\u8BF7\u8F93\u5165\u8981\u8BF7\u6C42\u7684url",onChange:function(a){We(a.target.value),lt(a.target.value)}})}),(0,t.jsx)(s.Z,{span:6,children:(0,t.jsxs)(w.ZP,{onClick:ct,loading:we,type:"primary",size:"large",style:{marginRight:16,float:"right"},children:[(0,t.jsx)(ee.B,{type:"icon-fasong1"}),"Send"," "]})})]}),(0,t.jsx)(P.Z,{style:{marginTop:8},children:(0,t.jsxs)(b.Z,{defaultActiveKey:"1",style:{width:"100%"},children:[(0,t.jsx)(M,{tab:"Params",children:(0,t.jsx)(U.Z,{columns:Ge("params"),title:"Query Params",dataSource:fe,setDataSource:ae,extra:Je,editableKeys:re,setEditableRowKeys:se})},"1"),(0,t.jsx)(M,{tab:"Headers",children:(0,t.jsx)(U.Z,{columns:Ge("headers"),title:"Headers",dataSource:f,setDataSource:l,editableKeys:x,setEditableRowKeys:ge})},"2"),(0,t.jsxs)(M,{tab:"Body",children:[(0,t.jsxs)(P.Z,{children:[(0,t.jsxs)(_.ZP.Group,{defaultValue:0,value:J,onChange:function(a){G(a.target.value),a.target.value===2&&N({type:"gconfig/listOssFile"})},children:[(0,t.jsx)(_.ZP,{value:0,children:"none"}),(0,t.jsx)(_.ZP,{value:2,children:"form-data"}),(0,t.jsx)(_.ZP,{value:3,children:"x-www-form-urlencoded"}),(0,t.jsx)(_.ZP,{value:1,children:"raw"}),(0,t.jsx)(_.ZP,{value:4,children:"binary"}),(0,t.jsx)(_.ZP,{value:5,children:"GraphQL"})]}),J===1?(0,t.jsx)(pe.Z,{style:{marginLeft:8},overlay:ut,trigger:["click"],children:(0,t.jsxs)("a",{onClick:function(a){return a.preventDefault()},children:[je," ",(0,t.jsx)(ce.Z,{})]})}):null]}),vt(J)]},"3")]})}),(0,t.jsx)(P.Z,{gutter:[8,8],children:Object.keys(A).length===0?null:(0,t.jsxs)(b.Z,{style:{width:"100%"},tabBarExtraContent:F(A),children:[(0,t.jsx)(M,{tab:"Body",children:(0,t.jsx)(V.Z,{readOnly:!0,setEditor:Fe,language:A.response&&A.response_headers.indexOf("json")>-1?"json":"text",value:A.response&&E()(A.response)==="object"?JSON.stringify(A.response,null,2):A.response||"",height:"30vh"})},"1"),(0,t.jsx)(M,{tab:"Cookie",children:(0,t.jsx)(Y.Z,{columns:He,dataSource:Ne("cookies"),size:"small",pagination:!1})},"2"),(0,t.jsx)(M,{tab:"Headers",children:(0,t.jsx)(Y.Z,{columns:He,dataSource:Ne("response_headers"),size:"small",pagination:!1})},"3")]})})]})})},$=(0,n.connect)(function(B){var m=B.loading,ue=B.gconfig;return{loading:m,gconfig:ue}})(K),ne=function(){return(0,t.jsx)($,{})}},5619:function(T,Z,e){T=e.nmd(T),ace.define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(r,v,E){"use strict";var j=r("../lib/event");v.contextMenuHandler=function(O){var h=O.target,D=h.textInput.getElement();if(!!h.selection.isEmpty()){var o=h.getCursorPosition(),L=h.session.getWordRange(o.row,o.column),b=h.session.getTextRange(L);if(h.session.tokenRe.lastIndex=0,!!h.session.tokenRe.test(b)){var k="",c=b+" "+k;D.value=c,D.setSelectionRange(b.length,b.length+1),D.setSelectionRange(0,0),D.setSelectionRange(0,b.length);var P=!1;j.addListener(D,"keydown",function s(){j.removeListener(D,"keydown",s),P=!0}),h.textInput.setInputHandler(function(s){if(s==c)return"";if(s.lastIndexOf(c,0)===0)return s.slice(c.length);if(s.substr(D.selectionEnd)==c)return s.slice(0,-c.length);if(s.slice(-2)==k){var R=s.slice(0,-2);if(R.slice(-1)==" ")return P?R.substring(0,D.selectionEnd):(R=R.slice(0,-1),h.session.replace(L,R),"")}return s})}}};var I=r("../editor").Editor;r("../config").defineOptions(I.prototype,"editor",{spellcheck:{set:function(O){var h=this.textInput.getElement();h.spellcheck=!!O,O?this.on("nativecontextmenu",v.contextMenuHandler):this.removeListener("nativecontextmenu",v.contextMenuHandler)},value:!0}})}),function(){ace.require(["ace/ext/spellcheck"],function(r){T&&(T.exports=r)})}()}}]); diff --git a/statics/p__Tool__SqlOnline.727e4a93.async.js b/statics/p__Tool__SqlOnline.727e4a93.async.js new file mode 100644 index 00000000..6691c767 --- /dev/null +++ b/statics/p__Tool__SqlOnline.727e4a93.async.js @@ -0,0 +1 @@ +(self.webpackChunkpity=self.webpackChunkpity||[]).push([[329],{50044:function(y,F,d){"use strict";d.r(F);var a=d(26838),x=d(58841),S=d(85893);F.default=function(){return(0,S.jsx)(x._z,{title:!1,breadcrumb:null,children:(0,S.jsx)(a.Z,{})})}},79253:function(y,F,d){y=d.nmd(y),function(){ace.require(["ace/mode/text"],function(a){y&&(y.exports=a)})}()},12477:function(y,F,d){y=d.nmd(y),ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,x,S){"use strict";var $=a("../lib/oop"),b=a("./text_highlight_rules").TextHighlightRules,h=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w[^\s:]*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w[^\s:]*?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(u,r,i,t){t=t.replace(/ #.*/,"");var o=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(t)[0].replace(/\S\s*$/,"").length,n=parseInt(/\d+[\s+-]*$/.exec(t));return n?(o+=n-1,this.next="mlString"):this.next="mlStringPre",i.length?(i[0]=this.next,i[1]=o):(i.push(this.next),i.push(o)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)$/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(u,r,i){var t=i[1];return t>=u.length?(this.next="start",i.shift(),i.shift()):(i[1]=u.length-1,this.next=i[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(u,r,i){var t=i[1];return t>=u.length?(this.next="start",i.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};$.inherits(h,b),x.YamlHighlightRules=h}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(a,x,S){"use strict";var $=a("../range").Range,b=function(){};(function(){this.checkOutdent=function(h,u){return/^\s+$/.test(h)?/^\s*\}/.test(u):!1},this.autoOutdent=function(h,u){var r=h.getLine(u),i=r.match(/^(\s*\})/);if(!i)return 0;var t=i[1].length,o=h.findMatchingBracket({row:u,column:t});if(!o||o.row==u)return 0;var n=this.$getIndent(h.getLine(o.row));h.replace(new $(u,0,u,t-1),n)},this.$getIndent=function(h){return h.match(/^\s*/)[0]}}).call(b.prototype),x.MatchingBraceOutdent=b}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(a,x,S){"use strict";var $=a("../../lib/oop"),b=a("./fold_mode").FoldMode,h=a("../../range").Range,u=x.FoldMode=function(){};$.inherits(u,b),function(){this.commentBlock=function(r,i){var t=/\S/,o=r.getLine(i),n=o.search(t);if(!(n==-1||o[n]!="#")){for(var f=o.length,p=r.getLength(),g=i,v=i;++ig){var R=r.getLine(v).length;return new h(g,f,v,R)}}},this.getFoldWidgetRange=function(r,i,t){var o=this.indentationBlock(r,t);if(o||(o=this.commentBlock(r,t),o))return o},this.getFoldWidget=function(r,i,t){var o=r.getLine(t),n=o.search(/\S/),f=r.getLine(t+1),p=r.getLine(t-1),g=p.search(/\S/),v=f.search(/\S/);if(n==-1)return r.foldWidgets[t-1]=g!=-1&&gR){var U=r.getLine(P).length;return new h(R,v,P,U)}}},this.getFoldWidget=function(r,i,t){var o=r.getLine(t),n=o.search(/\S/),f=r.getLine(t+1),p=r.getLine(t-1),g=p.search(/\S/),v=f.search(/\S/),k=o[n]==="-";if(n==-1)return r.foldWidgets[t-1]=g!=-1&&g{const{paddingXXS:s,lineWidth:m,tagPaddingHorizontal:l,componentCls:c,calc:T}=e,C=T(l).sub(m).equal(),B=T(s).sub(m).equal();return{[c]:Object.assign(Object.assign({},(0,n.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:C,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,t.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${c}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${c}-close-icon`]:{marginInlineStart:B,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${c}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${c}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:C}}),[`${c}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{const{lineWidth:s,fontSizeIcon:m,calc:l}=e,c=e.fontSizeSM;return(0,f.TS)(e,{tagFontSize:c,tagLineHeight:(0,t.bf)(l(e.lineHeightSM).mul(c).equal()),tagIconSize:l(m).sub(l(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},k=e=>({defaultBg:new o.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var R=(0,p.I$)("Tag",e=>{const s=v(e);return g(s)},k),P=function(e,s){var m={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&s.indexOf(l)<0&&(m[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(e);c{const{prefixCls:m,style:l,className:c,checked:T,onChange:C,onClick:B}=e,M=P(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:z,tag:W}=a.useContext(i.E_),H=V=>{C==null||C(!T),B==null||B(V)},L=z("tag",m),[Y,K,I]=R(L),X=S()(L,`${L}-checkable`,{[`${L}-checkable-checked`]:T},W==null?void 0:W.className,c,K,I);return Y(a.createElement("span",Object.assign({},M,{ref:s,style:Object.assign(Object.assign({},l),W==null?void 0:W.style),className:X,onClick:H})))}),A=d(98719);const U=e=>(0,A.Z)(e,(s,m)=>{let{textColor:l,lightBorderColor:c,lightColor:T,darkColor:C}=m;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:l,background:T,borderColor:c,"&-inverse":{color:e.colorTextLightSolid,background:C,borderColor:C},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,p.bk)(["Tag","preset"],e=>{const s=v(e);return U(s)},k);function oe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Z=(e,s,m)=>{const l=oe(m);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${m}`],background:e[`color${l}Bg`],borderColor:e[`color${l}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ae=(0,p.bk)(["Tag","status"],e=>{const s=v(e);return[Z(s,"success","Success"),Z(s,"processing","Info"),Z(s,"error","Error"),Z(s,"warning","Warning")]},k),le=function(e,s){var m={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&s.indexOf(l)<0&&(m[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(e);c{const{prefixCls:m,className:l,rootClassName:c,style:T,children:C,icon:B,color:M,onClose:z,bordered:W=!0,visible:H}=e,L=le(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Y,direction:K,tag:I}=a.useContext(i.E_),[X,V]=a.useState(!0),ce=(0,$.Z)(L,["closeIcon","closable"]);a.useEffect(()=>{H!==void 0&&V(H)},[H]);const w=(0,b.o2)(M),_=(0,b.yT)(M),Q=w||_,se=Object.assign(Object.assign({backgroundColor:M&&!Q?M:void 0},I==null?void 0:I.style),T),O=Y("tag",m),[de,ge,ue]=R(O),fe=S()(O,I==null?void 0:I.className,{[`${O}-${M}`]:Q,[`${O}-has-color`]:M&&!Q,[`${O}-hidden`]:!X,[`${O}-rtl`]:K==="rtl",[`${O}-borderless`]:!W},l,c,ge,ue),q=j=>{j.stopPropagation(),z==null||z(j),!j.defaultPrevented&&V(!1)},[,he]=(0,h.Z)((0,h.w)(e),(0,h.w)(I),{closable:!1,closeIconRender:j=>{const pe=a.createElement("span",{className:`${O}-close-icon`,onClick:q},j);return(0,u.wm)(j,pe,E=>({onClick:ne=>{var G;(G=E==null?void 0:E.onClick)===null||G===void 0||G.call(E,ne),q(ne)},className:S()(E==null?void 0:E.className,`${O}-close-icon`)}))}}),me=typeof L.onClick=="function"||C&&C.type==="a",ee=B||null,ve=ee?a.createElement(a.Fragment,null,ee,C&&a.createElement("span",null,C)):C,te=a.createElement("span",Object.assign({},ce,{ref:s,className:fe,style:se}),ve,he,w&&a.createElement(re,{key:"preset",prefixCls:O}),_&&a.createElement(ae,{key:"status",prefixCls:O}));return de(me?a.createElement(r.Z,{component:"Tag"},te):te)});J.CheckableTag=D;var ie=J}}]); diff --git a/statics/p__Tool__SqlOnline.be96cbe8.async.js b/statics/p__Tool__SqlOnline.be96cbe8.async.js deleted file mode 100644 index f2a259dc..00000000 --- a/statics/p__Tool__SqlOnline.be96cbe8.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[329],{50044:function(v,k,s){"use strict";s.r(k);var c=s(26838),x=s(58841),O=s(85893);k.default=function(){return(0,O.jsx)(x._z,{title:!1,breadcrumb:null,children:(0,O.jsx)(c.Z,{})})}},79253:function(v,k,s){v=s.nmd(v),function(){ace.require(["ace/mode/text"],function(c){v&&(v.exports=c)})}()},12477:function(v,k,s){v=s.nmd(v),ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(c,x,O){"use strict";var d=c("../lib/oop"),C=c("./text_highlight_rules").TextHighlightRules,h=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w.*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w+?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(u,o,a,t){t=t.replace(/ #.*/,"");var l=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(t)[0].replace(/\S\s*$/,"").length,i=parseInt(/\d+[\s+-]*$/.exec(t));return i?(l+=i-1,this.next="mlString"):this.next="mlStringPre",a.length?(a[0]=this.next,a[1]=l):(a.push(this.next),a.push(l)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(u,o,a){var t=a[1];return t>=u.length?(this.next="start",a.shift(),a.shift()):(a[1]=u.length-1,this.next=a[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(u,o,a){var t=a[1];return t>=u.length?(this.next="start",a.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};d.inherits(h,C),x.YamlHighlightRules=h}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(c,x,O){"use strict";var d=c("../range").Range,C=function(){};(function(){this.checkOutdent=function(h,u){return/^\s+$/.test(h)?/^\s*\}/.test(u):!1},this.autoOutdent=function(h,u){var o=h.getLine(u),a=o.match(/^(\s*\})/);if(!a)return 0;var t=a[1].length,l=h.findMatchingBracket({row:u,column:t});if(!l||l.row==u)return 0;var i=this.$getIndent(h.getLine(l.row));h.replace(new d(u,0,u,t-1),i)},this.$getIndent=function(h){return h.match(/^\s*/)[0]}}).call(C.prototype),x.MatchingBraceOutdent=C}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(c,x,O){"use strict";var d=c("../../lib/oop"),C=c("./fold_mode").FoldMode,h=c("../../range").Range,u=x.FoldMode=function(){};d.inherits(u,C),function(){this.getFoldWidgetRange=function(o,a,t){var l=this.indentationBlock(o,t);if(l)return l;var i=/\S/,m=o.getLine(t),I=m.search(i);if(!(I==-1||m[I]!="#")){for(var b=m.length,P=o.getLength(),B=t,L=t;++tB){var W=o.getLine(L).length;return new h(B,b,L,W)}}},this.getFoldWidget=function(o,a,t){var l=o.getLine(t),i=l.search(/\S/),m=o.getLine(t+1),I=o.getLine(t-1),b=I.search(/\S/),P=m.search(/\S/);if(i==-1)return o.foldWidgets[t-1]=b!=-1&&b{const n=t(g);return{[`${e.componentCls}-${f}`]:{color:e[`color${g}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`]}}},I=e=>(0,l.j)(e,(f,g)=>{let{textColor:n,lightBorderColor:r,lightColor:p,darkColor:y}=g;return{[`${e.componentCls}-${f}`]:{color:n,background:p,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:y,borderColor:y}}}}),b=e=>{const{paddingXXS:f,lineWidth:g,tagPaddingHorizontal:n,componentCls:r}=e,p=n-g,y=f-g;return{[r]:Object.assign(Object.assign({},(0,i.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:p,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${r}-close-icon`]:{marginInlineStart:y,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:p}})}};var P=(0,o.Z)("Tag",e=>{const{fontSize:f,lineHeight:g,lineWidth:n,fontSizeIcon:r}=e,p=Math.round(f*g),y=e.fontSizeSM,S=p-n*2,E=e.colorFillAlter,M=e.colorText,$=(0,a.TS)(e,{tagFontSize:y,tagLineHeight:S,tagDefaultBg:E,tagDefaultColor:M,tagIconSize:r-2*n,tagPaddingHorizontal:8});return[b($),I($),m($,"success","Success"),m($,"processing","Info"),m($,"error","Error"),m($,"warning","Warning")]}),B=function(e,f){var g={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&f.indexOf(n)<0&&(g[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{var{prefixCls:f,className:g,checked:n,onChange:r,onClick:p}=e,y=B(e,["prefixCls","className","checked","onChange","onClick"]);const{getPrefixCls:S}=d.useContext(C.E_),E=H=>{r==null||r(!n),p==null||p(H)},M=S("tag",f),[$,R]=P(M),j=O()(M,{[`${M}-checkable`]:!0,[`${M}-checkable-checked`]:n},g,R);return $(d.createElement("span",Object.assign({},y,{className:j,onClick:E})))},W=function(e,f){var g={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&f.indexOf(n)<0&&(g[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r{var{prefixCls:g,className:n,style:r,children:p,icon:y,color:S,onClose:E,closeIcon:M,closable:$=!1}=e,R=W(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]);const{getPrefixCls:j,direction:H}=d.useContext(C.E_),[K,A]=d.useState(!0);d.useEffect(()=>{"visible"in R&&A(R.visible)},[R.visible]);const F=(0,h.o2)(S)||(0,h.yT)(S),X=Object.assign({backgroundColor:S&&!F?S:void 0},r),T=j("tag",g),[V,G]=P(T),J=O()(T,{[`${T}-${S}`]:F,[`${T}-has-color`]:S&&!F,[`${T}-hidden`]:!K,[`${T}-rtl`]:H==="rtl"},n,G),Z=N=>{N.stopPropagation(),E==null||E(N),!N.defaultPrevented&&A(!1)},Q=()=>$?M?d.createElement("span",{className:`${T}-close-icon`,onClick:Z},M):d.createElement(c.Z,{className:`${T}-close-icon`,onClick:Z}):null,q=typeof R.onClick=="function"||p&&p.type==="a",_=y||null,ee=_?d.createElement(d.Fragment,null,_,d.createElement("span",null,p)):p,w=d.createElement("span",Object.assign({},R,{ref:f,className:J,style:X}),ee,Q());return V(q?d.createElement(u.Z,null,w):w)},D=d.forwardRef(U);D.CheckableTag=z;var Y=D}}]); diff --git a/statics/p__UserInfo.455ef259.async.js b/statics/p__UserInfo.455ef259.async.js new file mode 100644 index 00000000..3f5e3ee5 --- /dev/null +++ b/statics/p__UserInfo.455ef259.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[44],{7624:function(F,T,t){var p=t(20873),z=t(32983),x=t(85893);T.Z=function(y){var o=y.desc,s=y.height,E=s===void 0?180:s;return(0,x.jsx)(z.Z,{image:p.Z,imageStyle:{height:E},description:o||"\u6682\u65E0\u6570\u636E"})}},81981:function(F,T,t){t.r(T),t.d(T,{default:function(){return ae}});var p=t(58841),z=t(90596),x=t(32983),y=t(7134),o=t(71230),s=t(15746),E=t(4393),Z=t(55054),i={userBody:"userBody___SN4Wy",heatMap:"heatMap___WcrMq",userRecord:"userRecord___mFRxs",activitiesList:"activitiesList___WXYAq",username:"username___CPunM",event:"event___B6vYy",pageHeaderContent:"pageHeaderContent___NPjDA",avatar:"avatar___UDcFb",content:"content___rV43H",contentTitle:"contentTitle___dYpjR",lastLogin:"lastLogin___diQ6P",statisticsCard:"statisticsCard___UijTU","ant-list-item-meta-title":"ant-list-item-meta-title___bdKLP"},c=t(57277),u=t.n(c),le=t(10142),P=t(38735),Q=t(67294),e=t(85893),f=function(r){var n=r.values,d=r.startDate,I=r.endDate;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(u(),{startDate:d,endDate:I,values:n,showWeekdayLabels:!0,tooltipDataAttrs:function(l){return l.date===null?null:{"data-tip":"".concat(l.date," \u64CD\u4F5C\u8BB0\u5F55: ").concat(l.count)}}}),(0,e.jsx)(P.Z,{})]})},w=t(30381),O=t.n(w),b=t(5574),B=t.n(b),k=t(47221),V=t(66309),M={operationType:"operationType___fpY5D",userName:"userName___CR0M8",tag:"tag___gt0nX",desc:"desc___RwgAd",description:"description___vr0jK",field:"field___Puf1T",newField:"newField___brb6v"},W=t(31298),_=t(7624),J={0:(0,e.jsx)("span",{className:M.operationType,children:"\u6DFB\u52A0\u4E86"}),1:(0,e.jsx)("span",{className:M.operationType,children:"\u66F4\u65B0\u4E86"}),2:(0,e.jsx)("span",{className:M.operationType,children:"\u5220\u9664\u4E86"}),3:(0,e.jsx)("span",{className:M.operationType,children:"\u6267\u884C\u4E86"}),4:(0,e.jsx)("span",{className:M.operationType,children:"\u7EC8\u6B62\u4E86"})},H=k.Z.Panel,X=function(r){var n=r.userMap,d=r.userId,I=r.record,A=function(j){var L,D,N,R=j.title,Y=R.split("&"),m=Y.map(function(h){var U=h.split("="),G=B()(U,2),Me=G[0],ce=G[1];return"".concat(Me,": ").concat(ce)}),a=m.join("\u3000");return(0,e.jsxs)("div",{children:[(0,e.jsx)(y.C,{src:((L=n[d])===null||L===void 0?void 0:L.avatar)||"https://joeschmoe.io/api/v1/".concat(((D=n[d])===null||D===void 0?void 0:D.name)||"unknown")}),(0,e.jsx)("span",{className:M.tag,children:(0,e.jsx)(V.Z,{color:"green",children:j.tag})}),(0,e.jsx)("span",{className:M.userName,children:(N=n[j.user_id])===null||N===void 0?void 0:N.name}),(0,e.jsx)("span",{children:J[j.mode]}),(0,e.jsx)("span",{children:a})]})},l=function(j){return j===!0?"\u662F":j===!1?"\u5426":j},C=function(j,L){var D=JSON.parse(j.description);return(0,e.jsx)("div",{className:M.description,children:D.length>0?D.map(function(N){return N.old==null?(0,e.jsxs)("div",{className:M.desc,children:[(0,e.jsxs)("span",{className:M.field,children:[N.name,":"]}),(0,e.jsx)("strong",{className:M.newField,children:N.now})]},L):(0,e.jsxs)("div",{className:M.desc,children:[(0,e.jsx)("span",{className:M.field,children:N.name})," \u7531 ",(0,e.jsx)("del",{children:l(N.old)})," \u53D8\u66F4\u4E3A",(0,e.jsx)("strong",{className:M.newField,children:l(N.now)})]},L)}):"\u672A\u53D1\u751F\u53D8\u52A8"})};return I.length>0?(0,e.jsx)(W.$B,{autoHide:!0,autoHideTimeout:1e3,autoHideDuration:200,style:{width:"100%",height:300},children:(0,e.jsx)(k.Z,{ghost:!0,children:I.map(function(g){return(0,e.jsx)(H,{header:(0,e.jsx)("span",{children:A(g)}),extra:g.operate_time,children:C(g)},g.id)})})}):(0,e.jsx)(_.Z,{desc:"\u6CA1\u6709\u64CD\u4F5C\u8BB0\u5F55",height:160})},K=t(82759),$=t(87547),q=t(65429),ee=t(48226),te=t(19478),S=new Date,v=function(n,d){var I=new Date(n);return I.setDate(I.getDate()+d),I},ie=function(n){var d=n.user,I=n.dispatch,A=(0,z.useParams)(),l=A.user_id,C=d.userMap,g=d.operationLog,j=d.activities,L=function(a){return a==null?(0,e.jsx)(x.Z,{description:"\u52AA\u529B\u52A0\u8F7D\u4E2D...",image:ee.Z}):(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{className:i.pageHeaderContent,children:[(0,e.jsx)("div",{className:i.avatar,children:(0,e.jsx)(y.C,{size:"large",src:(a==null?void 0:a.avatar)||te.Z.AVATAR_URL})}),(0,e.jsxs)("div",{className:i.content,children:[(0,e.jsxs)("div",{className:i.contentTitle,children:[a.name," ",a.deleted_at?"(\u5DF2\u6CE8\u9500)":null]}),(0,e.jsxs)("div",{children:[a.email," ",a.nickname]}),(0,e.jsxs)("div",{className:i.lastLogin,children:[(0,e.jsx)("span",{children:"\u4E0A\u6B21\u767B\u5F55"})," ",a.last_login_at]})]})]})})},D=function(){I({type:"user/fetchUserActivities",payload:{start_time:O()(v(S,-365)).format("YYYY-MM-DD"),end_time:O()(v(S,1)).format("YYYY-MM-DD"),user_id:l}})},N=function(){I({type:"user/fetchUserRecord",payload:{user_id:l,start_time:O()(v(S,-30)).format("YYYY-MM-DD"),end_time:O()(v(S,1)).format("YYYY-MM-DD")}})},R=function(){I({type:"user/fetchUserList"})},Y=function(a){if(a===void 0)return 0;var h=Date.parse(new Date),U=Date.parse(new Date(a.created_at));return Math.abs(parseInt((h-U)/1e3/3600/24))};return(0,Q.useEffect)(function(){R(),D(),N()},[l]),(0,e.jsx)(p._z,{breadcrumb:null,title:!1,children:(0,e.jsxs)(o.Z,{gutter:24,children:[(0,e.jsx)(s.Z,{span:8,children:(0,e.jsxs)(E.Z,{title:"\u7528\u6237\u8D44\u6599",className:i.userBody,children:[L(C[l]),(0,e.jsxs)(o.Z,{gutter:16,className:i.statisticsCard,children:[(0,e.jsx)(s.Z,{span:12,children:(0,e.jsx)(Z.Z,{title:"\u6CE8\u518C\u65F6\u95F4",valueStyle:{color:"#1890ff"},value:Y(C[l]),prefix:(0,e.jsx)($.Z,{}),suffix:"\u5929"})}),(0,e.jsx)(s.Z,{span:12,children:(0,e.jsx)(Z.Z,{title:"\u53C2\u4E0E\u9879\u76EE",value:0,prefix:(0,e.jsx)(q.Z,{})})})]})]})}),(0,e.jsxs)(s.Z,{span:16,children:[(0,e.jsx)(E.Z,{title:"\u6700\u8FD11\u5E74\u64CD\u4F5C\u8BB0\u5F55\u7EDF\u8BA1",className:i.heatMap,children:(0,e.jsx)(o.Z,{children:(0,e.jsx)(s.Z,{span:24,children:j.length===0?(0,e.jsx)(x.Z,{description:"\u6682\u65E0\u6570\u636E",image:K.Z,imageStyle:{height:120}}):(0,e.jsx)(f,{startDate:v(S,-365),endDate:v(S,1),values:j})})})}),(0,e.jsx)(E.Z,{title:"\u6700\u8FD130\u5929\u52A8\u6001",className:i.userRecord,children:(0,e.jsx)(o.Z,{children:(0,e.jsx)(s.Z,{span:24,children:(0,e.jsx)(X,{userMap:C,userId:l,record:g})})})})]})]})})},ae=(0,z.connect)(function(r){var n=r.user;return{user:n}})(ie)},48226:function(F,T,t){var p=t(67294),z=Object.defineProperty,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(i,c,u)=>c in i?z(i,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):i[c]=u,E=(i,c)=>{for(var u in c||(c={}))y.call(c,u)&&s(i,u,c[u]);if(x)for(var u of x(c))o.call(c,u)&&s(i,u,c[u]);return i};const Z=i=>React.createElement("svg",E({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("path",{d:"M193.392 229.952c48.903 0 88.546-8.679 88.546-19.384s-39.643-19.383-88.546-19.383c-48.903 0-88.546 8.678-88.546 19.383 0 10.705 39.643 19.384 88.546 19.384Z",fill:"url(#LoadingFailed_svg__a)"}),React.createElement("path",{opacity:.302,d:"M219.968 172.123c9.45-1.518 13.275-2.66 22.501-11.528 9.227-8.868 18.582 4.07 32.458-1.124 13.875-5.195 15.143-11.484 36.366 7.781 9.783 8.188 17.564 4.946 22.359 8.188 3.196 2.161 6.278 7.487 9.244 15.98H219.968c-9.788-3.397-14.682-6.219-14.682-8.464 0-3.369 5.232-9.316 14.682-10.833Z",fill:"url(#LoadingFailed_svg__b)"}),React.createElement("path",{opacity:.302,d:"M288.024 78.5c7.753 0 14.399 4.065 17.198 9.845h1.438c7.608 0 13.776 6.168 13.776 13.777v1.368c0 7.609-6.168 13.777-13.776 13.777h-35.884c-7.608 0-13.776-6.168-13.776-13.777v-1.368c0-7.609 6.168-13.776 13.776-13.776h.05c2.799-5.781 9.445-9.846 17.198-9.846Z",fill:"url(#LoadingFailed_svg__c)"}),React.createElement("path",{opacity:.302,d:"M82.523 135.118c9.45-1.517 13.275-2.659 22.501-11.527 9.227-8.868 18.582 4.07 32.458-1.125 13.875-5.194 15.143-11.483 36.366 7.782 9.783 8.187 17.564 4.946 22.359 8.187 3.196 2.161 6.278 7.488 9.244 15.981H82.523c-9.788-3.398-14.682-6.219-14.682-8.465 0-3.368 5.232-9.315 14.682-10.833Z",fill:"url(#LoadingFailed_svg__d)"}),React.createElement("path",{d:"M118.062 85.458V203.52h69.065l15.516-33.056-18.904-44.411 18.904-40.595h-84.581Z",fill:"url(#LoadingFailed_svg__e)"}),React.createElement("path",{d:"m241.507 89.724-29.141 40.005 11.582 41.36-18.69 25.182 53.494 9.578 22.977-106.326-40.222-9.8Z",fill:"url(#LoadingFailed_svg__f)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M203.918 124.067c-.772 3.815-.409 6.058 1.089 6.73 1.96.808.068 2.695-.329 2.9-.264.137-.03.528.702 1.173 1.24.649 2.151.907 2.733.775.583-.132 1.293-.781 2.131-1.948-1.561-1.111-2.105-2.002-1.63-2.674.474-.671 1.195-1.372 2.162-2.101.939-.711.902-1.253-.109-1.624.245-.673.335-1.441.272-2.303l-3.291-.928-3.35-.723-.38.723Z",fill:"url(#LoadingFailed_svg__g)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M206.463 124.704c3.313-.912 4.193.489 4.193 1.081 0 .395-.104 1.049-.313 1.964a11.4 11.4 0 0 0 .86-.399c1.016-.555 1.689-1.54 1.928-2.307.448-1.433-.868-4.473-4.279-4.019-1.19-.218-1.378-1.91-3.445-.869s-2.764.241-2.764 1.308c0 1.067.086 4.356 3.82 3.241Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.569 199.533c-1.793 1.098-3.045 1.646-3.757 1.646-1.068 0-1.645.947-.652 1.458s4.174-.226 4.989-.226c.815 0 2.912.292 2.109-2.021-.536-1.542-1.028-2.198-1.477-1.968l-1.212.325v.786Zm12.306-.109c-1.239 1.703-2.182 2.658-2.828 2.867-.968.312-1.159 1.497-.078 1.756 1.08.258 3.705-1.464 4.444-1.702.739-.238 2.743-.538 1.201-2.787-1.028-1.5-1.705-2.061-2.03-1.683l-.985.704.276.845Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M210.187 159.026c-1.167 7.695-2.812 13.709-4.937 18.043-1.161 5.398-1.904 21.738-3.447 22.357-1.544.618-2.643.248-2.587-.543.056-.791-2.055-22.696-1.815-26.102.16-2.271.183-6.776.07-13.516l12.716-.239Z",fill:"url(#LoadingFailed_svg__h)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M215.612 158.149c.166 7.388-.262 15.319-1.283 23.793-.955 10.562 1.105 16.412-.35 17.213-1.456.801-2.592.566-2.634-.226-.042-.792-4.476-22.171-4.656-25.581-.12-2.273-.651-6.748-1.591-13.424l10.514-1.775Z",fill:"url(#LoadingFailed_svg__i)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M198.258 138.609c-2.036 4.435-3.278 7.237-3.727 8.404-.209.485-2.902 1.691-8.078 3.618-1.736.148-2.728.65-2.977 1.505-.141.549-.078 1.49.805 1.568.589.052 1.429-.38 2.519-1.295 5.782.202 9.222-.736 10.317-2.814 1.096-2.079 2.765-5.295 5.007-9.651l-3.597-1.708-.269.373Z",fill:"url(#LoadingFailed_svg__j)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M204.667 133.012c1.739 1.868 3.337 1.868 4.795 0 .253-.169 5.606-.433 9.4 5.671.039.231-1.026 1.49-3.193 3.775h-.663c1.473 7.509 1.694 13.492.663 17.947-.135.463-6.219.724-18.253.781-.031-10.047.641-15.987 2.015-17.821-.168-.338-1.416-1.44-3.744-3.308.733-1.562 1.836-3.063 3.308-4.504 1.471-1.441 3.362-2.288 5.672-2.541Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M214.2 141.754c.106.851 3.424 3.757 4.658 4.799.307.014-6.299 5.13-6.811 5.726-1.399 1.624-.912 3.386.616 3.386 1.527 0 1.049-2.685 1.304-2.825 4.44-2.439 4.891-2.439 7.829-4.095 2.557-1.358-.862-5.467-4.158-9.998-3.296-4.532-3.543 2.156-3.438 3.007Z",fill:"url(#LoadingFailed_svg__k)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M212.965 133.533c.906.429 1.537.749 1.893.961.929.553 1.565 1.098 1.974 1.426 1.27 1.017 1.91 2.061 2.277 2.843.307.542-2.952 5.446-6.144 4.89-.436-.017-1.13-1.029-2.083-3.036l2.083-7.084Z",fill:"#5B5BEA"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"LoadingFailed_svg__a",x1:145.165,y1:210.048,x2:254.934,y2:220.811,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F8F8FB"}),React.createElement("stop",{offset:1,stopColor:"#F1F1F5"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__b",x1:274.091,y1:154.181,x2:274.091,y2:191.42,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__c",x1:288.718,y1:78.5,x2:288.718,y2:117.267,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__d",x1:136.646,y1:117.176,x2:136.646,y2:154.416,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__e",x1:168.174,y1:103.668,x2:138.112,y2:203.034,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__f",x1:235.365,y1:114.665,x2:239.547,y2:209.425,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__g",x1:205.089,y1:125.334,x2:211.253,y2:132.128,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__h",x1:201.445,y1:197.841,x2:200.676,y2:160.243,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__i",x1:212.568,y1:197.671,x2:207.769,y2:160.362,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__j",x1:192.771,y1:141.611,x2:195.457,y2:149.08,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__k",x1:216.954,y1:138.813,x2:219.194,y2:150.945,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"}))));T.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTkzLjM5MiAyMjkuOTUyYzQ4LjkwMyAwIDg4LjU0Ni04LjY3OSA4OC41NDYtMTkuMzg0cy0zOS42NDMtMTkuMzgzLTg4LjU0Ni0xOS4zODNjLTQ4LjkwMyAwLTg4LjU0NiA4LjY3OC04OC41NDYgMTkuMzgzIDAgMTAuNzA1IDM5LjY0MyAxOS4zODQgODguNTQ2IDE5LjM4NFoiIGZpbGw9InVybCgjYSkiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNMjE5Ljk2OCAxNzIuMTIzYzkuNDUtMS41MTggMTMuMjc1LTIuNjYgMjIuNTAxLTExLjUyOCA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjQgMTMuODc1LTUuMTk1IDE1LjE0My0xMS40ODQgMzYuMzY2IDcuNzgxIDkuNzgzIDguMTg4IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODggMy4xOTYgMi4xNjEgNi4yNzggNy40ODcgOS4yNDQgMTUuOThIMjE5Ljk2OGMtOS43ODgtMy4zOTctMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NCAwLTMuMzY5IDUuMjMyLTkuMzE2IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggb3BhY2l0eT0iLjMwMiIgZD0iTTI4OC4wMjQgNzguNWM3Ljc1MyAwIDE0LjM5OSA0LjA2NSAxNy4xOTggOS44NDVoMS40MzhjNy42MDggMCAxMy43NzYgNi4xNjggMTMuNzc2IDEzLjc3N3YxLjM2OGMwIDcuNjA5LTYuMTY4IDEzLjc3Ny0xMy43NzYgMTMuNzc3aC0zNS44ODRjLTcuNjA4IDAtMTMuNzc2LTYuMTY4LTEzLjc3Ni0xMy43Nzd2LTEuMzY4YzAtNy42MDkgNi4xNjgtMTMuNzc2IDEzLjc3Ni0xMy43NzZoLjA1YzIuNzk5LTUuNzgxIDkuNDQ1LTkuODQ2IDE3LjE5OC05Ljg0NloiIGZpbGw9InVybCgjYykiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNODIuNTIzIDEzNS4xMThjOS40NS0xLjUxNyAxMy4yNzUtMi42NTkgMjIuNTAxLTExLjUyNyA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjUgMTMuODc1LTUuMTk0IDE1LjE0My0xMS40ODMgMzYuMzY2IDcuNzgyIDkuNzgzIDguMTg3IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODcgMy4xOTYgMi4xNjEgNi4yNzggNy40ODggOS4yNDQgMTUuOTgxSDgyLjUyM2MtOS43ODgtMy4zOTgtMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NSAwLTMuMzY4IDUuMjMyLTkuMzE1IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2QpIi8+PHBhdGggZD0iTTExOC4wNjIgODUuNDU4VjIwMy41Mmg2OS4wNjVsMTUuNTE2LTMzLjA1Ni0xOC45MDQtNDQuNDExIDE4LjkwNC00MC41OTVoLTg0LjU4MVoiIGZpbGw9InVybCgjZSkiLz48cGF0aCBkPSJtMjQxLjUwNyA4OS43MjQtMjkuMTQxIDQwLjAwNSAxMS41ODIgNDEuMzYtMTguNjkgMjUuMTgyIDUzLjQ5NCA5LjU3OCAyMi45NzctMTA2LjMyNi00MC4yMjItOS44WiIgZmlsbD0idXJsKCNmKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjAzLjkxOCAxMjQuMDY3Yy0uNzcyIDMuODE1LS40MDkgNi4wNTggMS4wODkgNi43MyAxLjk2LjgwOC4wNjggMi42OTUtLjMyOSAyLjktLjI2NC4xMzctLjAzLjUyOC43MDIgMS4xNzMgMS4yNC42NDkgMi4xNTEuOTA3IDIuNzMzLjc3NS41ODMtLjEzMiAxLjI5My0uNzgxIDIuMTMxLTEuOTQ4LTEuNTYxLTEuMTExLTIuMTA1LTIuMDAyLTEuNjMtMi42NzQuNDc0LS42NzEgMS4xOTUtMS4zNzIgMi4xNjItMi4xMDEuOTM5LS43MTEuOTAyLTEuMjUzLS4xMDktMS42MjQuMjQ1LS42NzMuMzM1LTEuNDQxLjI3Mi0yLjMwM2wtMy4yOTEtLjkyOC0zLjM1LS43MjMtLjM4LjcyM1oiIGZpbGw9InVybCgjZykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIwNi40NjMgMTI0LjcwNGMzLjMxMy0uOTEyIDQuMTkzLjQ4OSA0LjE5MyAxLjA4MSAwIC4zOTUtLjEwNCAxLjA0OS0uMzEzIDEuOTY0YTExLjQgMTEuNCAwIDAgMCAuODYtLjM5OWMxLjAxNi0uNTU1IDEuNjg5LTEuNTQgMS45MjgtMi4zMDcuNDQ4LTEuNDMzLS44NjgtNC40NzMtNC4yNzktNC4wMTktMS4xOS0uMjE4LTEuMzc4LTEuOTEtMy40NDUtLjg2OXMtMi43NjQuMjQxLTIuNzY0IDEuMzA4YzAgMS4wNjcuMDg2IDQuMzU2IDMuODIgMy4yNDFaIiBmaWxsPSIjMzUzNTY0Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xOTkuNTY5IDE5OS41MzNjLTEuNzkzIDEuMDk4LTMuMDQ1IDEuNjQ2LTMuNzU3IDEuNjQ2LTEuMDY4IDAtMS42NDUuOTQ3LS42NTIgMS40NThzNC4xNzQtLjIyNiA0Ljk4OS0uMjI2Yy44MTUgMCAyLjkxMi4yOTIgMi4xMDktMi4wMjEtLjUzNi0xLjU0Mi0xLjAyOC0yLjE5OC0xLjQ3Ny0xLjk2OGwtMS4yMTIuMzI1di43ODZabTEyLjMwNi0uMTA5Yy0xLjIzOSAxLjcwMy0yLjE4MiAyLjY1OC0yLjgyOCAyLjg2Ny0uOTY4LjMxMi0xLjE1OSAxLjQ5Ny0uMDc4IDEuNzU2IDEuMDguMjU4IDMuNzA1LTEuNDY0IDQuNDQ0LTEuNzAyLjczOS0uMjM4IDIuNzQzLS41MzggMS4yMDEtMi43ODctMS4wMjgtMS41LTEuNzA1LTIuMDYxLTIuMDMtMS42ODNsLS45ODUuNzA0LjI3Ni44NDVaIiBmaWxsPSIjM0UzRTZFIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTAuMTg3IDE1OS4wMjZjLTEuMTY3IDcuNjk1LTIuODEyIDEzLjcwOS00LjkzNyAxOC4wNDMtMS4xNjEgNS4zOTgtMS45MDQgMjEuNzM4LTMuNDQ3IDIyLjM1Ny0xLjU0NC42MTgtMi42NDMuMjQ4LTIuNTg3LS41NDMuMDU2LS43OTEtMi4wNTUtMjIuNjk2LTEuODE1LTI2LjEwMi4xNi0yLjI3MS4xODMtNi43NzYuMDctMTMuNTE2bDEyLjcxNi0uMjM5WiIgZmlsbD0idXJsKCNoKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjE1LjYxMiAxNTguMTQ5Yy4xNjYgNy4zODgtLjI2MiAxNS4zMTktMS4yODMgMjMuNzkzLS45NTUgMTAuNTYyIDEuMTA1IDE2LjQxMi0uMzUgMTcuMjEzLTEuNDU2LjgwMS0yLjU5Mi41NjYtMi42MzQtLjIyNi0uMDQyLS43OTItNC40NzYtMjIuMTcxLTQuNjU2LTI1LjU4MS0uMTItMi4yNzMtLjY1MS02Ljc0OC0xLjU5MS0xMy40MjRsMTAuNTE0LTEuNzc1WiIgZmlsbD0idXJsKCNpKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTk4LjI1OCAxMzguNjA5Yy0yLjAzNiA0LjQzNS0zLjI3OCA3LjIzNy0zLjcyNyA4LjQwNC0uMjA5LjQ4NS0yLjkwMiAxLjY5MS04LjA3OCAzLjYxOC0xLjczNi4xNDgtMi43MjguNjUtMi45NzcgMS41MDUtLjE0MS41NDktLjA3OCAxLjQ5LjgwNSAxLjU2OC41ODkuMDUyIDEuNDI5LS4zOCAyLjUxOS0xLjI5NSA1Ljc4Mi4yMDIgOS4yMjItLjczNiAxMC4zMTctMi44MTQgMS4wOTYtMi4wNzkgMi43NjUtNS4yOTUgNS4wMDctOS42NTFsLTMuNTk3LTEuNzA4LS4yNjkuMzczWiIgZmlsbD0idXJsKCNqKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjA0LjY2NyAxMzMuMDEyYzEuNzM5IDEuODY4IDMuMzM3IDEuODY4IDQuNzk1IDAgLjI1My0uMTY5IDUuNjA2LS40MzMgOS40IDUuNjcxLjAzOS4yMzEtMS4wMjYgMS40OS0zLjE5MyAzLjc3NWgtLjY2M2MxLjQ3MyA3LjUwOSAxLjY5NCAxMy40OTIuNjYzIDE3Ljk0Ny0uMTM1LjQ2My02LjIxOS43MjQtMTguMjUzLjc4MS0uMDMxLTEwLjA0Ny42NDEtMTUuOTg3IDIuMDE1LTE3LjgyMS0uMTY4LS4zMzgtMS40MTYtMS40NC0zLjc0NC0zLjMwOC43MzMtMS41NjIgMS44MzYtMy4wNjMgMy4zMDgtNC41MDQgMS40NzEtMS40NDEgMy4zNjItMi4yODggNS42NzItMi41NDFaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTQuMiAxNDEuNzU0Yy4xMDYuODUxIDMuNDI0IDMuNzU3IDQuNjU4IDQuNzk5LjMwNy4wMTQtNi4yOTkgNS4xMy02LjgxMSA1LjcyNi0xLjM5OSAxLjYyNC0uOTEyIDMuMzg2LjYxNiAzLjM4NiAxLjUyNyAwIDEuMDQ5LTIuNjg1IDEuMzA0LTIuODI1IDQuNDQtMi40MzkgNC44OTEtMi40MzkgNy44MjktNC4wOTUgMi41NTctMS4zNTgtLjg2Mi01LjQ2Ny00LjE1OC05Ljk5OC0zLjI5Ni00LjUzMi0zLjU0MyAyLjE1Ni0zLjQzOCAzLjAwN1oiIGZpbGw9InVybCgjaykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIxMi45NjUgMTMzLjUzM2MuOTA2LjQyOSAxLjUzNy43NDkgMS44OTMuOTYxLjkyOS41NTMgMS41NjUgMS4wOTggMS45NzQgMS40MjYgMS4yNyAxLjAxNyAxLjkxIDIuMDYxIDIuMjc3IDIuODQzLjMwNy41NDItMi45NTIgNS40NDYtNi4xNDQgNC44OS0uNDM2LS4wMTctMS4xMy0xLjAyOS0yLjA4My0zLjAzNmwyLjA4My03LjA4NFoiIGZpbGw9IiM1QjVCRUEiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxNDUuMTY1IiB5MT0iMjEwLjA0OCIgeDI9IjI1NC45MzQiIHkyPSIyMjAuODExIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y4RjhGQiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0YxRjFGNSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMjc0LjA5MSIgeTE9IjE1NC4xODEiIHgyPSIyNzQuMDkxIiB5Mj0iMTkxLjQyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIyODguNzE4IiB5MT0iNzguNSIgeDI9IjI4OC43MTgiIHkyPSIxMTcuMjY3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSIxMzYuNjQ2IiB5MT0iMTE3LjE3NiIgeDI9IjEzNi42NDYiIHkyPSIxNTQuNDE2IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImUiIHgxPSIxNjguMTc0IiB5MT0iMTAzLjY2OCIgeDI9IjEzOC4xMTIiIHkyPSIyMDMuMDM0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UzRTNFQSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJmIiB4MT0iMjM1LjM2NSIgeTE9IjExNC42NjUiIHgyPSIyMzkuNTQ3IiB5Mj0iMjA5LjQyNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFM0UzRUEiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjIwNS4wODkiIHkxPSIxMjUuMzM0IiB4Mj0iMjExLjI1MyIgeTI9IjEzMi4xMjgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImgiIHgxPSIyMDEuNDQ1IiB5MT0iMTk3Ljg0MSIgeDI9IjIwMC42NzYiIHkyPSIxNjAuMjQzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzc4NzhDMyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzVDNUNCQiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJpIiB4MT0iMjEyLjU2OCIgeTE9IjE5Ny42NzEiIHgyPSIyMDcuNzY5IiB5Mj0iMTYwLjM2MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODc4QzMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1QzVDQkIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjE5Mi43NzEiIHkxPSIxNDEuNjExIiB4Mj0iMTk1LjQ1NyIgeTI9IjE0OS4wOCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjIxNi45NTQiIHkxPSIxMzguODEzIiB4Mj0iMjE5LjE5NCIgeTI9IjE1MC45NDUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PC9zdmc+"}}]); diff --git a/statics/p__UserInfo.a85c1e52.async.js b/statics/p__UserInfo.a85c1e52.async.js deleted file mode 100644 index 64c64455..00000000 --- a/statics/p__UserInfo.a85c1e52.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[44],{7624:function(F,T,t){var p=t(20873),z=t(32983),x=t(85893);T.Z=function(y){var o=y.desc,s=y.height,E=s===void 0?180:s;return(0,x.jsx)(z.Z,{image:p.Z,imageStyle:{height:E},description:o||"\u6682\u65E0\u6570\u636E"})}},81981:function(F,T,t){t.r(T),t.d(T,{default:function(){return ae}});var p=t(58841),z=t(94171),x=t(32983),y=t(98293),o=t(71230),s=t(15746),E=t(4393),Z=t(55054),i={userBody:"userBody___SN4Wy",heatMap:"heatMap___WcrMq",userRecord:"userRecord___mFRxs",activitiesList:"activitiesList___WXYAq",username:"username___CPunM",event:"event___B6vYy",pageHeaderContent:"pageHeaderContent___NPjDA",avatar:"avatar___UDcFb",content:"content___rV43H",contentTitle:"contentTitle___dYpjR",lastLogin:"lastLogin___diQ6P",statisticsCard:"statisticsCard___UijTU","ant-list-item-meta-title":"ant-list-item-meta-title___bdKLP"},c=t(57277),u=t.n(c),le=t(10142),P=t(38735),Q=t(67294),e=t(85893),f=function(r){var n=r.values,d=r.startDate,I=r.endDate;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(u(),{startDate:d,endDate:I,values:n,showWeekdayLabels:!0,tooltipDataAttrs:function(l){return l.date===null?null:{"data-tip":"".concat(l.date," \u64CD\u4F5C\u8BB0\u5F55: ").concat(l.count)}}}),(0,e.jsx)(P.Z,{})]})},w=t(30381),O=t.n(w),b=t(5574),B=t.n(b),k=t(15045),V=t(51904),M={operationType:"operationType___fpY5D",userName:"userName___CR0M8",tag:"tag___gt0nX",desc:"desc___RwgAd",description:"description___vr0jK",field:"field___Puf1T",newField:"newField___brb6v"},W=t(31298),_=t(7624),J={0:(0,e.jsx)("span",{className:M.operationType,children:"\u6DFB\u52A0\u4E86"}),1:(0,e.jsx)("span",{className:M.operationType,children:"\u66F4\u65B0\u4E86"}),2:(0,e.jsx)("span",{className:M.operationType,children:"\u5220\u9664\u4E86"}),3:(0,e.jsx)("span",{className:M.operationType,children:"\u6267\u884C\u4E86"}),4:(0,e.jsx)("span",{className:M.operationType,children:"\u7EC8\u6B62\u4E86"})},H=k.Z.Panel,X=function(r){var n=r.userMap,d=r.userId,I=r.record,A=function(j){var L,D,N,R=j.title,Y=R.split("&"),m=Y.map(function(h){var U=h.split("="),G=B()(U,2),Me=G[0],ce=G[1];return"".concat(Me,": ").concat(ce)}),a=m.join("\u3000");return(0,e.jsxs)("div",{children:[(0,e.jsx)(y.C,{src:((L=n[d])===null||L===void 0?void 0:L.avatar)||"https://joeschmoe.io/api/v1/".concat(((D=n[d])===null||D===void 0?void 0:D.name)||"unknown")}),(0,e.jsx)("span",{className:M.tag,children:(0,e.jsx)(V.Z,{color:"green",children:j.tag})}),(0,e.jsx)("span",{className:M.userName,children:(N=n[j.user_id])===null||N===void 0?void 0:N.name}),(0,e.jsx)("span",{children:J[j.mode]}),(0,e.jsx)("span",{children:a})]})},l=function(j){return j===!0?"\u662F":j===!1?"\u5426":j},C=function(j,L){var D=JSON.parse(j.description);return(0,e.jsx)("div",{className:M.description,children:D.length>0?D.map(function(N){return N.old==null?(0,e.jsxs)("div",{className:M.desc,children:[(0,e.jsxs)("span",{className:M.field,children:[N.name,":"]}),(0,e.jsx)("strong",{className:M.newField,children:N.now})]},L):(0,e.jsxs)("div",{className:M.desc,children:[(0,e.jsx)("span",{className:M.field,children:N.name})," \u7531 ",(0,e.jsx)("del",{children:l(N.old)})," \u53D8\u66F4\u4E3A",(0,e.jsx)("strong",{className:M.newField,children:l(N.now)})]},L)}):"\u672A\u53D1\u751F\u53D8\u52A8"})};return I.length>0?(0,e.jsx)(W.$B,{autoHide:!0,autoHideTimeout:1e3,autoHideDuration:200,style:{width:"100%",height:300},children:(0,e.jsx)(k.Z,{ghost:!0,children:I.map(function(g){return(0,e.jsx)(H,{header:(0,e.jsx)("span",{children:A(g)}),extra:g.operate_time,children:C(g)},g.id)})})}):(0,e.jsx)(_.Z,{desc:"\u6CA1\u6709\u64CD\u4F5C\u8BB0\u5F55",height:160})},K=t(82759),$=t(87547),q=t(65429),ee=t(48226),te=t(19478),S=new Date,v=function(n,d){var I=new Date(n);return I.setDate(I.getDate()+d),I},ie=function(n){var d=n.user,I=n.dispatch,A=(0,z.useParams)(),l=A.user_id,C=d.userMap,g=d.operationLog,j=d.activities,L=function(a){return a==null?(0,e.jsx)(x.Z,{description:"\u52AA\u529B\u52A0\u8F7D\u4E2D...",image:ee.Z}):(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{className:i.pageHeaderContent,children:[(0,e.jsx)("div",{className:i.avatar,children:(0,e.jsx)(y.C,{size:"large",src:(a==null?void 0:a.avatar)||te.Z.AVATAR_URL})}),(0,e.jsxs)("div",{className:i.content,children:[(0,e.jsxs)("div",{className:i.contentTitle,children:[a.name," ",a.deleted_at?"(\u5DF2\u6CE8\u9500)":null]}),(0,e.jsxs)("div",{children:[a.email," ",a.nickname]}),(0,e.jsxs)("div",{className:i.lastLogin,children:[(0,e.jsx)("span",{children:"\u4E0A\u6B21\u767B\u5F55"})," ",a.last_login_at]})]})]})})},D=function(){I({type:"user/fetchUserActivities",payload:{start_time:O()(v(S,-365)).format("YYYY-MM-DD"),end_time:O()(v(S,1)).format("YYYY-MM-DD"),user_id:l}})},N=function(){I({type:"user/fetchUserRecord",payload:{user_id:l,start_time:O()(v(S,-30)).format("YYYY-MM-DD"),end_time:O()(v(S,1)).format("YYYY-MM-DD")}})},R=function(){I({type:"user/fetchUserList"})},Y=function(a){if(a===void 0)return 0;var h=Date.parse(new Date),U=Date.parse(new Date(a.created_at));return Math.abs(parseInt((h-U)/1e3/3600/24))};return(0,Q.useEffect)(function(){R(),D(),N()},[l]),(0,e.jsx)(p._z,{breadcrumb:null,title:!1,children:(0,e.jsxs)(o.Z,{gutter:24,children:[(0,e.jsx)(s.Z,{span:8,children:(0,e.jsxs)(E.Z,{title:"\u7528\u6237\u8D44\u6599",className:i.userBody,children:[L(C[l]),(0,e.jsxs)(o.Z,{gutter:16,className:i.statisticsCard,children:[(0,e.jsx)(s.Z,{span:12,children:(0,e.jsx)(Z.Z,{title:"\u6CE8\u518C\u65F6\u95F4",valueStyle:{color:"#1890ff"},value:Y(C[l]),prefix:(0,e.jsx)($.Z,{}),suffix:"\u5929"})}),(0,e.jsx)(s.Z,{span:12,children:(0,e.jsx)(Z.Z,{title:"\u53C2\u4E0E\u9879\u76EE",value:0,prefix:(0,e.jsx)(q.Z,{})})})]})]})}),(0,e.jsxs)(s.Z,{span:16,children:[(0,e.jsx)(E.Z,{title:"\u6700\u8FD11\u5E74\u64CD\u4F5C\u8BB0\u5F55\u7EDF\u8BA1",className:i.heatMap,children:(0,e.jsx)(o.Z,{children:(0,e.jsx)(s.Z,{span:24,children:j.length===0?(0,e.jsx)(x.Z,{description:"\u6682\u65E0\u6570\u636E",image:K.Z,imageStyle:{height:120}}):(0,e.jsx)(f,{startDate:v(S,-365),endDate:v(S,1),values:j})})})}),(0,e.jsx)(E.Z,{title:"\u6700\u8FD130\u5929\u52A8\u6001",className:i.userRecord,children:(0,e.jsx)(o.Z,{children:(0,e.jsx)(s.Z,{span:24,children:(0,e.jsx)(X,{userMap:C,userId:l,record:g})})})})]})]})})},ae=(0,z.connect)(function(r){var n=r.user;return{user:n}})(ie)},48226:function(F,T,t){var p=t(67294),z=Object.defineProperty,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(i,c,u)=>c in i?z(i,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):i[c]=u,E=(i,c)=>{for(var u in c||(c={}))y.call(c,u)&&s(i,u,c[u]);if(x)for(var u of x(c))o.call(c,u)&&s(i,u,c[u]);return i};const Z=i=>React.createElement("svg",E({viewBox:"0 0 400 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("path",{d:"M193.392 229.952c48.903 0 88.546-8.679 88.546-19.384s-39.643-19.383-88.546-19.383c-48.903 0-88.546 8.678-88.546 19.383 0 10.705 39.643 19.384 88.546 19.384Z",fill:"url(#LoadingFailed_svg__a)"}),React.createElement("path",{opacity:.302,d:"M219.968 172.123c9.45-1.518 13.275-2.66 22.501-11.528 9.227-8.868 18.582 4.07 32.458-1.124 13.875-5.195 15.143-11.484 36.366 7.781 9.783 8.188 17.564 4.946 22.359 8.188 3.196 2.161 6.278 7.487 9.244 15.98H219.968c-9.788-3.397-14.682-6.219-14.682-8.464 0-3.369 5.232-9.316 14.682-10.833Z",fill:"url(#LoadingFailed_svg__b)"}),React.createElement("path",{opacity:.302,d:"M288.024 78.5c7.753 0 14.399 4.065 17.198 9.845h1.438c7.608 0 13.776 6.168 13.776 13.777v1.368c0 7.609-6.168 13.777-13.776 13.777h-35.884c-7.608 0-13.776-6.168-13.776-13.777v-1.368c0-7.609 6.168-13.776 13.776-13.776h.05c2.799-5.781 9.445-9.846 17.198-9.846Z",fill:"url(#LoadingFailed_svg__c)"}),React.createElement("path",{opacity:.302,d:"M82.523 135.118c9.45-1.517 13.275-2.659 22.501-11.527 9.227-8.868 18.582 4.07 32.458-1.125 13.875-5.194 15.143-11.483 36.366 7.782 9.783 8.187 17.564 4.946 22.359 8.187 3.196 2.161 6.278 7.488 9.244 15.981H82.523c-9.788-3.398-14.682-6.219-14.682-8.465 0-3.368 5.232-9.315 14.682-10.833Z",fill:"url(#LoadingFailed_svg__d)"}),React.createElement("path",{d:"M118.062 85.458V203.52h69.065l15.516-33.056-18.904-44.411 18.904-40.595h-84.581Z",fill:"url(#LoadingFailed_svg__e)"}),React.createElement("path",{d:"m241.507 89.724-29.141 40.005 11.582 41.36-18.69 25.182 53.494 9.578 22.977-106.326-40.222-9.8Z",fill:"url(#LoadingFailed_svg__f)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M203.918 124.067c-.772 3.815-.409 6.058 1.089 6.73 1.96.808.068 2.695-.329 2.9-.264.137-.03.528.702 1.173 1.24.649 2.151.907 2.733.775.583-.132 1.293-.781 2.131-1.948-1.561-1.111-2.105-2.002-1.63-2.674.474-.671 1.195-1.372 2.162-2.101.939-.711.902-1.253-.109-1.624.245-.673.335-1.441.272-2.303l-3.291-.928-3.35-.723-.38.723Z",fill:"url(#LoadingFailed_svg__g)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M206.463 124.704c3.313-.912 4.193.489 4.193 1.081 0 .395-.104 1.049-.313 1.964a11.4 11.4 0 0 0 .86-.399c1.016-.555 1.689-1.54 1.928-2.307.448-1.433-.868-4.473-4.279-4.019-1.19-.218-1.378-1.91-3.445-.869s-2.764.241-2.764 1.308c0 1.067.086 4.356 3.82 3.241Z",fill:"#353564"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.569 199.533c-1.793 1.098-3.045 1.646-3.757 1.646-1.068 0-1.645.947-.652 1.458s4.174-.226 4.989-.226c.815 0 2.912.292 2.109-2.021-.536-1.542-1.028-2.198-1.477-1.968l-1.212.325v.786Zm12.306-.109c-1.239 1.703-2.182 2.658-2.828 2.867-.968.312-1.159 1.497-.078 1.756 1.08.258 3.705-1.464 4.444-1.702.739-.238 2.743-.538 1.201-2.787-1.028-1.5-1.705-2.061-2.03-1.683l-.985.704.276.845Z",fill:"#3E3E6E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M210.187 159.026c-1.167 7.695-2.812 13.709-4.937 18.043-1.161 5.398-1.904 21.738-3.447 22.357-1.544.618-2.643.248-2.587-.543.056-.791-2.055-22.696-1.815-26.102.16-2.271.183-6.776.07-13.516l12.716-.239Z",fill:"url(#LoadingFailed_svg__h)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M215.612 158.149c.166 7.388-.262 15.319-1.283 23.793-.955 10.562 1.105 16.412-.35 17.213-1.456.801-2.592.566-2.634-.226-.042-.792-4.476-22.171-4.656-25.581-.12-2.273-.651-6.748-1.591-13.424l10.514-1.775Z",fill:"url(#LoadingFailed_svg__i)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M198.258 138.609c-2.036 4.435-3.278 7.237-3.727 8.404-.209.485-2.902 1.691-8.078 3.618-1.736.148-2.728.65-2.977 1.505-.141.549-.078 1.49.805 1.568.589.052 1.429-.38 2.519-1.295 5.782.202 9.222-.736 10.317-2.814 1.096-2.079 2.765-5.295 5.007-9.651l-3.597-1.708-.269.373Z",fill:"url(#LoadingFailed_svg__j)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M204.667 133.012c1.739 1.868 3.337 1.868 4.795 0 .253-.169 5.606-.433 9.4 5.671.039.231-1.026 1.49-3.193 3.775h-.663c1.473 7.509 1.694 13.492.663 17.947-.135.463-6.219.724-18.253.781-.031-10.047.641-15.987 2.015-17.821-.168-.338-1.416-1.44-3.744-3.308.733-1.562 1.836-3.063 3.308-4.504 1.471-1.441 3.362-2.288 5.672-2.541Z",fill:"#5B5BEA"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M214.2 141.754c.106.851 3.424 3.757 4.658 4.799.307.014-6.299 5.13-6.811 5.726-1.399 1.624-.912 3.386.616 3.386 1.527 0 1.049-2.685 1.304-2.825 4.44-2.439 4.891-2.439 7.829-4.095 2.557-1.358-.862-5.467-4.158-9.998-3.296-4.532-3.543 2.156-3.438 3.007Z",fill:"url(#LoadingFailed_svg__k)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M212.965 133.533c.906.429 1.537.749 1.893.961.929.553 1.565 1.098 1.974 1.426 1.27 1.017 1.91 2.061 2.277 2.843.307.542-2.952 5.446-6.144 4.89-.436-.017-1.13-1.029-2.083-3.036l2.083-7.084Z",fill:"#5B5BEA"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"LoadingFailed_svg__a",x1:145.165,y1:210.048,x2:254.934,y2:220.811,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F8F8FB"}),React.createElement("stop",{offset:1,stopColor:"#F1F1F5"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__b",x1:274.091,y1:154.181,x2:274.091,y2:191.42,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__c",x1:288.718,y1:78.5,x2:288.718,y2:117.267,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__d",x1:136.646,y1:117.176,x2:136.646,y2:154.416,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#DCDCE4"}),React.createElement("stop",{offset:1,stopColor:"#DEDEE6",stopOpacity:0})),React.createElement("linearGradient",{id:"LoadingFailed_svg__e",x1:168.174,y1:103.668,x2:138.112,y2:203.034,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__f",x1:235.365,y1:114.665,x2:239.547,y2:209.425,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#F4F4F9"}),React.createElement("stop",{offset:1,stopColor:"#E3E3EA"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__g",x1:205.089,y1:125.334,x2:211.253,y2:132.128,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__h",x1:201.445,y1:197.841,x2:200.676,y2:160.243,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__i",x1:212.568,y1:197.671,x2:207.769,y2:160.362,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#7878C3"}),React.createElement("stop",{offset:1,stopColor:"#5C5CBB"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__j",x1:192.771,y1:141.611,x2:195.457,y2:149.08,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"})),React.createElement("linearGradient",{id:"LoadingFailed_svg__k",x1:216.954,y1:138.813,x2:219.194,y2:150.945,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#FFD2C4"}),React.createElement("stop",{offset:1,stopColor:"#FFB8A3"}))));T.Z="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDAwIDMwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTkzLjM5MiAyMjkuOTUyYzQ4LjkwMyAwIDg4LjU0Ni04LjY3OSA4OC41NDYtMTkuMzg0cy0zOS42NDMtMTkuMzgzLTg4LjU0Ni0xOS4zODNjLTQ4LjkwMyAwLTg4LjU0NiA4LjY3OC04OC41NDYgMTkuMzgzIDAgMTAuNzA1IDM5LjY0MyAxOS4zODQgODguNTQ2IDE5LjM4NFoiIGZpbGw9InVybCgjYSkiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNMjE5Ljk2OCAxNzIuMTIzYzkuNDUtMS41MTggMTMuMjc1LTIuNjYgMjIuNTAxLTExLjUyOCA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjQgMTMuODc1LTUuMTk1IDE1LjE0My0xMS40ODQgMzYuMzY2IDcuNzgxIDkuNzgzIDguMTg4IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODggMy4xOTYgMi4xNjEgNi4yNzggNy40ODcgOS4yNDQgMTUuOThIMjE5Ljk2OGMtOS43ODgtMy4zOTctMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NCAwLTMuMzY5IDUuMjMyLTkuMzE2IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggb3BhY2l0eT0iLjMwMiIgZD0iTTI4OC4wMjQgNzguNWM3Ljc1MyAwIDE0LjM5OSA0LjA2NSAxNy4xOTggOS44NDVoMS40MzhjNy42MDggMCAxMy43NzYgNi4xNjggMTMuNzc2IDEzLjc3N3YxLjM2OGMwIDcuNjA5LTYuMTY4IDEzLjc3Ny0xMy43NzYgMTMuNzc3aC0zNS44ODRjLTcuNjA4IDAtMTMuNzc2LTYuMTY4LTEzLjc3Ni0xMy43Nzd2LTEuMzY4YzAtNy42MDkgNi4xNjgtMTMuNzc2IDEzLjc3Ni0xMy43NzZoLjA1YzIuNzk5LTUuNzgxIDkuNDQ1LTkuODQ2IDE3LjE5OC05Ljg0NloiIGZpbGw9InVybCgjYykiLz48cGF0aCBvcGFjaXR5PSIuMzAyIiBkPSJNODIuNTIzIDEzNS4xMThjOS40NS0xLjUxNyAxMy4yNzUtMi42NTkgMjIuNTAxLTExLjUyNyA5LjIyNy04Ljg2OCAxOC41ODIgNC4wNyAzMi40NTgtMS4xMjUgMTMuODc1LTUuMTk0IDE1LjE0My0xMS40ODMgMzYuMzY2IDcuNzgyIDkuNzgzIDguMTg3IDE3LjU2NCA0Ljk0NiAyMi4zNTkgOC4xODcgMy4xOTYgMi4xNjEgNi4yNzggNy40ODggOS4yNDQgMTUuOTgxSDgyLjUyM2MtOS43ODgtMy4zOTgtMTQuNjgyLTYuMjE5LTE0LjY4Mi04LjQ2NSAwLTMuMzY4IDUuMjMyLTkuMzE1IDE0LjY4Mi0xMC44MzNaIiBmaWxsPSJ1cmwoI2QpIi8+PHBhdGggZD0iTTExOC4wNjIgODUuNDU4VjIwMy41Mmg2OS4wNjVsMTUuNTE2LTMzLjA1Ni0xOC45MDQtNDQuNDExIDE4LjkwNC00MC41OTVoLTg0LjU4MVoiIGZpbGw9InVybCgjZSkiLz48cGF0aCBkPSJtMjQxLjUwNyA4OS43MjQtMjkuMTQxIDQwLjAwNSAxMS41ODIgNDEuMzYtMTguNjkgMjUuMTgyIDUzLjQ5NCA5LjU3OCAyMi45NzctMTA2LjMyNi00MC4yMjItOS44WiIgZmlsbD0idXJsKCNmKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjAzLjkxOCAxMjQuMDY3Yy0uNzcyIDMuODE1LS40MDkgNi4wNTggMS4wODkgNi43MyAxLjk2LjgwOC4wNjggMi42OTUtLjMyOSAyLjktLjI2NC4xMzctLjAzLjUyOC43MDIgMS4xNzMgMS4yNC42NDkgMi4xNTEuOTA3IDIuNzMzLjc3NS41ODMtLjEzMiAxLjI5My0uNzgxIDIuMTMxLTEuOTQ4LTEuNTYxLTEuMTExLTIuMTA1LTIuMDAyLTEuNjMtMi42NzQuNDc0LS42NzEgMS4xOTUtMS4zNzIgMi4xNjItMi4xMDEuOTM5LS43MTEuOTAyLTEuMjUzLS4xMDktMS42MjQuMjQ1LS42NzMuMzM1LTEuNDQxLjI3Mi0yLjMwM2wtMy4yOTEtLjkyOC0zLjM1LS43MjMtLjM4LjcyM1oiIGZpbGw9InVybCgjZykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIwNi40NjMgMTI0LjcwNGMzLjMxMy0uOTEyIDQuMTkzLjQ4OSA0LjE5MyAxLjA4MSAwIC4zOTUtLjEwNCAxLjA0OS0uMzEzIDEuOTY0YTExLjQgMTEuNCAwIDAgMCAuODYtLjM5OWMxLjAxNi0uNTU1IDEuNjg5LTEuNTQgMS45MjgtMi4zMDcuNDQ4LTEuNDMzLS44NjgtNC40NzMtNC4yNzktNC4wMTktMS4xOS0uMjE4LTEuMzc4LTEuOTEtMy40NDUtLjg2OXMtMi43NjQuMjQxLTIuNzY0IDEuMzA4YzAgMS4wNjcuMDg2IDQuMzU2IDMuODIgMy4yNDFaIiBmaWxsPSIjMzUzNTY0Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xOTkuNTY5IDE5OS41MzNjLTEuNzkzIDEuMDk4LTMuMDQ1IDEuNjQ2LTMuNzU3IDEuNjQ2LTEuMDY4IDAtMS42NDUuOTQ3LS42NTIgMS40NThzNC4xNzQtLjIyNiA0Ljk4OS0uMjI2Yy44MTUgMCAyLjkxMi4yOTIgMi4xMDktMi4wMjEtLjUzNi0xLjU0Mi0xLjAyOC0yLjE5OC0xLjQ3Ny0xLjk2OGwtMS4yMTIuMzI1di43ODZabTEyLjMwNi0uMTA5Yy0xLjIzOSAxLjcwMy0yLjE4MiAyLjY1OC0yLjgyOCAyLjg2Ny0uOTY4LjMxMi0xLjE1OSAxLjQ5Ny0uMDc4IDEuNzU2IDEuMDguMjU4IDMuNzA1LTEuNDY0IDQuNDQ0LTEuNzAyLjczOS0uMjM4IDIuNzQzLS41MzggMS4yMDEtMi43ODctMS4wMjgtMS41LTEuNzA1LTIuMDYxLTIuMDMtMS42ODNsLS45ODUuNzA0LjI3Ni44NDVaIiBmaWxsPSIjM0UzRTZFIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTAuMTg3IDE1OS4wMjZjLTEuMTY3IDcuNjk1LTIuODEyIDEzLjcwOS00LjkzNyAxOC4wNDMtMS4xNjEgNS4zOTgtMS45MDQgMjEuNzM4LTMuNDQ3IDIyLjM1Ny0xLjU0NC42MTgtMi42NDMuMjQ4LTIuNTg3LS41NDMuMDU2LS43OTEtMi4wNTUtMjIuNjk2LTEuODE1LTI2LjEwMi4xNi0yLjI3MS4xODMtNi43NzYuMDctMTMuNTE2bDEyLjcxNi0uMjM5WiIgZmlsbD0idXJsKCNoKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjE1LjYxMiAxNTguMTQ5Yy4xNjYgNy4zODgtLjI2MiAxNS4zMTktMS4yODMgMjMuNzkzLS45NTUgMTAuNTYyIDEuMTA1IDE2LjQxMi0uMzUgMTcuMjEzLTEuNDU2LjgwMS0yLjU5Mi41NjYtMi42MzQtLjIyNi0uMDQyLS43OTItNC40NzYtMjIuMTcxLTQuNjU2LTI1LjU4MS0uMTItMi4yNzMtLjY1MS02Ljc0OC0xLjU5MS0xMy40MjRsMTAuNTE0LTEuNzc1WiIgZmlsbD0idXJsKCNpKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTk4LjI1OCAxMzguNjA5Yy0yLjAzNiA0LjQzNS0zLjI3OCA3LjIzNy0zLjcyNyA4LjQwNC0uMjA5LjQ4NS0yLjkwMiAxLjY5MS04LjA3OCAzLjYxOC0xLjczNi4xNDgtMi43MjguNjUtMi45NzcgMS41MDUtLjE0MS41NDktLjA3OCAxLjQ5LjgwNSAxLjU2OC41ODkuMDUyIDEuNDI5LS4zOCAyLjUxOS0xLjI5NSA1Ljc4Mi4yMDIgOS4yMjItLjczNiAxMC4zMTctMi44MTQgMS4wOTYtMi4wNzkgMi43NjUtNS4yOTUgNS4wMDctOS42NTFsLTMuNTk3LTEuNzA4LS4yNjkuMzczWiIgZmlsbD0idXJsKCNqKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjA0LjY2NyAxMzMuMDEyYzEuNzM5IDEuODY4IDMuMzM3IDEuODY4IDQuNzk1IDAgLjI1My0uMTY5IDUuNjA2LS40MzMgOS40IDUuNjcxLjAzOS4yMzEtMS4wMjYgMS40OS0zLjE5MyAzLjc3NWgtLjY2M2MxLjQ3MyA3LjUwOSAxLjY5NCAxMy40OTIuNjYzIDE3Ljk0Ny0uMTM1LjQ2My02LjIxOS43MjQtMTguMjUzLjc4MS0uMDMxLTEwLjA0Ny42NDEtMTUuOTg3IDIuMDE1LTE3LjgyMS0uMTY4LS4zMzgtMS40MTYtMS40NC0zLjc0NC0zLjMwOC43MzMtMS41NjIgMS44MzYtMy4wNjMgMy4zMDgtNC41MDQgMS40NzEtMS40NDEgMy4zNjItMi4yODggNS42NzItMi41NDFaIiBmaWxsPSIjNUI1QkVBIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMTQuMiAxNDEuNzU0Yy4xMDYuODUxIDMuNDI0IDMuNzU3IDQuNjU4IDQuNzk5LjMwNy4wMTQtNi4yOTkgNS4xMy02LjgxMSA1LjcyNi0xLjM5OSAxLjYyNC0uOTEyIDMuMzg2LjYxNiAzLjM4NiAxLjUyNyAwIDEuMDQ5LTIuNjg1IDEuMzA0LTIuODI1IDQuNDQtMi40MzkgNC44OTEtMi40MzkgNy44MjktNC4wOTUgMi41NTctMS4zNTgtLjg2Mi01LjQ2Ny00LjE1OC05Ljk5OC0zLjI5Ni00LjUzMi0zLjU0MyAyLjE1Ni0zLjQzOCAzLjAwN1oiIGZpbGw9InVybCgjaykiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIxMi45NjUgMTMzLjUzM2MuOTA2LjQyOSAxLjUzNy43NDkgMS44OTMuOTYxLjkyOS41NTMgMS41NjUgMS4wOTggMS45NzQgMS40MjYgMS4yNyAxLjAxNyAxLjkxIDIuMDYxIDIuMjc3IDIuODQzLjMwNy41NDItMi45NTIgNS40NDYtNi4xNDQgNC44OS0uNDM2LS4wMTctMS4xMy0xLjAyOS0yLjA4My0zLjAzNmwyLjA4My03LjA4NFoiIGZpbGw9IiM1QjVCRUEiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIxNDUuMTY1IiB5MT0iMjEwLjA0OCIgeDI9IjI1NC45MzQiIHkyPSIyMjAuODExIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y4RjhGQiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0YxRjFGNSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMjc0LjA5MSIgeTE9IjE1NC4xODEiIHgyPSIyNzQuMDkxIiB5Mj0iMTkxLjQyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIyODguNzE4IiB5MT0iNzguNSIgeDI9IjI4OC43MTgiIHkyPSIxMTcuMjY3IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSIxMzYuNjQ2IiB5MT0iMTE3LjE3NiIgeDI9IjEzNi42NDYiIHkyPSIxNTQuNDE2IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0RDRENFNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0RFREVFNiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImUiIHgxPSIxNjguMTc0IiB5MT0iMTAzLjY2OCIgeDI9IjEzOC4xMTIiIHkyPSIyMDMuMDM0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y0RjRGOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UzRTNFQSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJmIiB4MT0iMjM1LjM2NSIgeTE9IjExNC42NjUiIHgyPSIyMzkuNTQ3IiB5Mj0iMjA5LjQyNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFM0UzRUEiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjIwNS4wODkiIHkxPSIxMjUuMzM0IiB4Mj0iMjExLjI1MyIgeTI9IjEzMi4xMjgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImgiIHgxPSIyMDEuNDQ1IiB5MT0iMTk3Ljg0MSIgeDI9IjIwMC42NzYiIHkyPSIxNjAuMjQzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzc4NzhDMyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzVDNUNCQiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJpIiB4MT0iMjEyLjU2OCIgeTE9IjE5Ny42NzEiIHgyPSIyMDcuNzY5IiB5Mj0iMTYwLjM2MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODc4QzMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1QzVDQkIiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjE5Mi43NzEiIHkxPSIxNDEuNjExIiB4Mj0iMTk1LjQ1NyIgeTI9IjE0OS4wOCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkQyQzQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRkI4QTMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iayIgeDE9IjIxNi45NTQiIHkxPSIxMzguODEzIiB4Mj0iMjE5LjE5NCIgeTI9IjE1MC45NDUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZEMkM0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZCOEEzIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PC9zdmc+"}}]); diff --git a/statics/p__User__Login__index.54f76831.async.js b/statics/p__User__Login__index.54f76831.async.js deleted file mode 100644 index ab7b3610..00000000 --- a/statics/p__User__Login__index.54f76831.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[9366],{5966:function(l,d,e){"use strict";var g=e(1413),f=e(45987),c=e(85893),n=e(92643),u=["fieldProps","proFieldProps"],v=["fieldProps","proFieldProps"],m="text",x=function(C){var I=C.fieldProps,w=C.proFieldProps,T=(0,f.Z)(C,u);return(0,c.jsx)(n.Z,(0,g.Z)({valueType:m,fieldProps:I,filedConfig:{valueType:m},proFieldProps:w},T))},F=function(C){var I=C.fieldProps,w=C.proFieldProps,T=(0,f.Z)(C,v);return(0,c.jsx)(n.Z,(0,g.Z)({valueType:"password",fieldProps:I,proFieldProps:w,filedConfig:{valueType:m}},T))},a=x;a.Password=F,a.displayName="ProFormComponent",d.Z=a},41631:function(l,d,e){"use strict";e.r(d),e.d(d,{default:function(){return De}});var g=e(15009),f=e.n(g),c=e(97857),n=e.n(c),u=e(99289),v=e.n(u),m=e(5574),x=e.n(m),F=e(99702),a=e(1413),P=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},I=C,w=e(84089),T=function(o,r){return P.createElement(w.Z,(0,a.Z)((0,a.Z)({},o),{},{ref:r,icon:I}))};T.displayName="GithubOutlined";var ne=P.forwardRef(T),X=e(87547),Y=e(94149),ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},ie=ae,$=function(o,r){return P.createElement(w.Z,(0,a.Z)((0,a.Z)({},o),{},{ref:r,icon:ie}))};$.displayName="MobileOutlined";var oe=P.forwardRef($),se={icon:{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 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},le=se,J=function(o,r){return P.createElement(w.Z,(0,a.Z)((0,a.Z)({},o),{},{ref:r,icon:le}))};J.displayName="MailOutlined";var ue=P.forwardRef(J),q=e(45987),t=e(85893),de=e(46803),ce=e(58720),fe=e(94184),ge=e.n(fe),ve=e(97269),U=e(4942),pe=e(98082),me=function(o){var r;return r={},(0,U.Z)(r,o.componentCls,{"&-container":{display:"flex",flex:"1",flexDirection:"column",height:"100%",paddingInline:32,paddingBlock:24,overflow:"auto",background:"inherit"},"&-top":{textAlign:"center"},"&-header":{display:"flex",alignItems:"center",justifyContent:"center",height:"44px",lineHeight:"44px",a:{textDecoration:"none"}},"&-title":{position:"relative",insetBlockStart:"2px",color:"@heading-color",fontWeight:"600",fontSize:"33px"},"&-logo":{width:"44px",height:"44px",marginInlineEnd:"16px",verticalAlign:"top",img:{width:"100%"}},"&-desc":{marginBlockStart:"12px",marginBlockEnd:"40px",color:o.colorTextSecondary,fontSize:o.fontSize},"&-main":{minWidth:"328px",maxWidth:"500px",margin:"0 auto","&-other":{marginBlockStart:"24px",lineHeight:"22px",textAlign:"start"}}}),(0,U.Z)(r,"@media (min-width: @screen-md-min)",(0,U.Z)({},"".concat(o.componentCls,"-container"),{paddingInline:0,paddingBlockStart:32,paddingBlockEnd:24,backgroundRepeat:"no-repeat",backgroundPosition:"center 110px",backgroundSize:"100%"})),r};function he(i){return(0,pe.Xj)("LoginForm",function(o){var r=(0,a.Z)((0,a.Z)({},o),{},{componentCls:".".concat(i)});return[me(r)]})}var xe=["logo","message","contentStyle","title","subTitle","actions","children"];function Pe(i){var o,r=i.logo,p=i.message,D=i.contentStyle,B=i.title,O=i.subTitle,z=i.actions,N=i.children,b=(0,q.Z)(i,xe),H=(0,de.YB)(),k=b.submitter===!1?!1:(0,a.Z)((0,a.Z)({searchConfig:{submitText:H.getMessage("loginForm.submitText","\u767B\u5F55")}},b.submitter),{},{submitButtonProps:(0,a.Z)({size:"large",style:{width:"100%"}},(o=b.submitter)===null||o===void 0?void 0:o.submitButtonProps),render:function(S,h){var V,Ie=h.pop();if(typeof(b==null||(V=b.submitter)===null||V===void 0?void 0:V.render)=="function"){var G,Q;return b==null||(G=b.submitter)===null||G===void 0||(Q=G.render)===null||Q===void 0?void 0:Q.call(G,S,h)}return Ie}}),E=(0,P.useContext)(ce.ZP.ConfigContext),R=E.getPrefixCls("pro-form-login"),W=he(R),A=W.wrapSSR,M=W.hashId,s=function(S){return"".concat(R,"-").concat(S," ").concat(M)},y=(0,P.useMemo)(function(){return r?typeof r=="string"?(0,t.jsx)("img",{src:r}):r:null},[r]);return A((0,t.jsxs)("div",{className:ge()(s("container"),M),children:[(0,t.jsxs)("div",{className:"".concat(s("top")," ").concat(M),children:[B||y?(0,t.jsxs)("div",{className:"".concat(s("header")),children:[y?(0,t.jsx)("span",{className:s("logo"),children:y}):null,B?(0,t.jsx)("span",{className:s("title"),children:B}):null]}):null,O?(0,t.jsx)("div",{className:s("desc"),children:O}):null]}),(0,t.jsxs)("div",{className:s("main"),style:(0,a.Z)({width:328},D),children:[(0,t.jsxs)(ve.A,(0,a.Z)((0,a.Z)({isKeyPressSubmit:!0},b),{},{submitter:k,children:[p,N]})),z?(0,t.jsx)("div",{className:s("main-other"),children:z}):null]})]}))}var L=e(5966),_=e(22270),ye=e(32808),je=e(90789),ee=e(92643),be=["options","fieldProps","proFieldProps","valueEnum"],Me=P.forwardRef(function(i,o){var r=i.options,p=i.fieldProps,D=i.proFieldProps,B=i.valueEnum,O=(0,q.Z)(i,be);return(0,t.jsx)(ee.Z,(0,a.Z)({ref:o,valueType:"checkbox",valueEnum:(0,_.h)(B,void 0),fieldProps:(0,a.Z)({options:r},p),lightProps:(0,a.Z)({labelFormatter:function(){return(0,t.jsx)(ee.Z,(0,a.Z)({ref:o,valueType:"checkbox",mode:"read",valueEnum:(0,_.h)(B,void 0),filedConfig:{customLightMode:!0},fieldProps:(0,a.Z)({options:r},p),proFieldProps:D},O))}},O.lightProps),proFieldProps:D},O))}),Fe=P.forwardRef(function(i,o){var r=i.fieldProps,p=i.children;return(0,t.jsx)(ye.Z,(0,a.Z)((0,a.Z)({ref:o},r),{},{children:p}))}),Oe=(0,je.G)(Fe,{valuePropName:"checked"}),te=Oe;te.Group=Me;var Ze=te,K=e(19922),j=e(94171),re=e(2453),Se=e(93980),Ce=e(67610),Be=e(73935),we="0f4fc0a875de30614a6a",Ee=function(){window.location.href="https://github.com/login/oauth/authorize?client_id=".concat(we)},Ae=function(){var o=(0,K.l)(function(r){var p=r.token;return{marginLeft:"8px",color:"rgba(0, 0, 0, 0.2)",fontSize:"24px",verticalAlign:"middle",cursor:"pointer",transition:"color 0.3s","&:hover":{color:p.colorPrimaryActive}}});return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ne,{className:o,onClick:Ee},"GithubOutlined")})},Te=function(){var o=(0,K.l)(function(r){var p=r.token;return{width:42,height:42,lineHeight:"42px",position:"fixed",right:16,borderRadius:p.borderRadius,":hover":{backgroundColor:p.colorBgTextHover}}});return(0,t.jsx)("div",{className:o,"data-lang":!0,children:j.SelectLang&&(0,t.jsx)(j.SelectLang,{})})},Le=function(){var o=(0,P.useState)("account"),r=x()(o,2),p=r[0],D=r[1],B=(0,j.useModel)("@@initialState"),O=B.initialState,z=B.setInitialState,N=(0,j.useModel)("auth"),b=N.loginPity,H=N.registerPity,k=(0,K.l)(function(){return{display:"flex",flexDirection:"column",height:"100vh",overflow:"auto",backgroundImage:"url('https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/V-_oS6r-i7wAAAAAAAAAAAAAFl94AQBr')",backgroundSize:"100% 100%"}}),E=(0,j.useIntl)(),R=function(){var A=v()(f()().mark(function M(){var s,y;return f()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,O==null||(s=O.fetchUserInfo)===null||s===void 0?void 0:s.call(O);case 2:y=S.sent,y&&(0,Be.flushSync)(function(){z(function(h){return n()(n()({},h),{},{currentUser:y})})});case 4:case"end":return S.stop()}},M)}));return function(){return A.apply(this,arguments)}}(),W=function(){var A=v()(f()().mark(function M(s){var y,Z;return f()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(p!=="register"){h.next=6;break}return h.next=3,H({name:s==null?void 0:s.name,password:s.password,email:s==null?void 0:s.email,username:s.username});case 3:y=h.sent,h.next=9;break;case 6:return h.next=8,b({username:s.username,password:s.password});case 8:y=h.sent;case 9:if(y.code!==0){h.next=16;break}return re.ZP.success("\u{1F389} \u{1F389} \u{1F389} \u767B\u5F55\u6210\u529F"),h.next=13,R();case 13:return Z=new URL(window.location.href).searchParams,j.history.push(Z.get("redirect")||"/"),h.abrupt("return");case 16:re.ZP.error(y.msg);case 17:case"end":return h.stop()}},M)}));return function(s){return A.apply(this,arguments)}}();return(0,t.jsxs)("div",{className:k,children:[(0,t.jsx)(j.Helmet,{children:(0,t.jsx)("title",{children:Ce.Z.title})}),(0,t.jsx)(Te,{}),(0,t.jsx)("div",{style:{flex:"1",padding:"32px 0"},children:(0,t.jsxs)(Pe,{contentStyle:{minWidth:280,maxWidth:"75vw"},logo:(0,t.jsx)("img",{alt:"logo",src:"/logo.svg"}),title:"pity",subTitle:E.formatMessage({id:"pages.layouts.userLayout.title"}),initialValues:{autoLogin:!0},actions:[(0,t.jsx)(j.FormattedMessage,{id:"pages.login.loginWith",defaultMessage:"\u5176\u4ED6\u767B\u5F55\u65B9\u5F0F"},"loginWith"),(0,t.jsx)(Ae,{},"icons")],onFinish:function(){var A=v()(f()().mark(function M(s){return f()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,W(s);case 2:case"end":return Z.stop()}},M)}));return function(M){return A.apply(this,arguments)}}(),children:[(0,t.jsx)(Se.Z,{activeKey:p,onChange:D,centered:!0,items:[{key:"account",label:E.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"\u8D26\u6237\u5BC6\u7801\u767B\u5F55"})},{key:"register",label:E.formatMessage({id:"pages.login.phoneLogin.tab",defaultMessage:"\u6CE8\u518C"})}]}),p==="account"&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L.Z,{name:"username",fieldProps:{size:"large",prefix:(0,t.jsx)(X.Z,{})},placeholder:E.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"\u7528\u6237\u540D: tester"}),rules:[{required:!0,message:(0,t.jsx)(j.FormattedMessage,{id:"pages.login.username.required",defaultMessage:"\u8BF7\u8F93\u5165\u7528\u6237\u540D!"})}]}),(0,t.jsx)(L.Z.Password,{name:"password",fieldProps:{size:"large",prefix:(0,t.jsx)(Y.Z,{})},placeholder:E.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"\u5BC6\u7801: tester"}),rules:[{required:!0,message:(0,t.jsx)(j.FormattedMessage,{id:"pages.login.password.required",defaultMessage:"\u8BF7\u8F93\u5165\u5BC6\u7801\uFF01"})}]})]}),p==="register"&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L.Z,{fieldProps:{size:"large",prefix:(0,t.jsx)(X.Z,{})},name:"username",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"}]}),(0,t.jsx)(L.Z,{fieldProps:{size:"large",prefix:(0,t.jsx)(oe,{})},name:"name",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D"}]}),(0,t.jsx)(L.Z,{fieldProps:{size:"large",prefix:(0,t.jsx)(ue,{})},name:"email",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u90AE\u7BB1",rules:[{type:"email",required:!0,message:"\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u90AE\u7BB1"}]}),(0,t.jsx)(L.Z.Password,{fieldProps:{size:"large",prefix:(0,t.jsx)(Y.Z,{}),type:"password"},name:"password",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u5BC6\u7801",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u5BC6\u7801"}]})]}),(0,t.jsxs)("div",{style:{marginBottom:24},children:[p==="register"?null:(0,t.jsx)(Ze,{noStyle:!0,name:"autoLogin",children:(0,t.jsx)(j.FormattedMessage,{id:"pages.login.rememberMe",defaultMessage:"\u81EA\u52A8\u767B\u5F55"})}),(0,t.jsx)("a",{style:{float:"right"},children:p==="register"?null:(0,t.jsx)(j.FormattedMessage,{id:"pages.login.forgotPassword",defaultMessage:"\u5FD8\u8BB0\u5BC6\u7801"})})]})]})}),(0,t.jsx)(F.Z,{})]})},De=Le},15746:function(l,d,e){"use strict";var g=e(21584);d.Z=g.Z},71230:function(l,d,e){"use strict";var g=e(92820);d.Z=g.Z},45520:function(l,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.call=n,d.default=void 0,d.note=f,d.noteOnce=v,d.resetWarned=c,d.warning=g,d.warningOnce=u;var e={};function g(x,F){}function f(x,F){}function c(){e={}}function n(x,F,a){!F&&!e[a]&&(x(!1,a),e[a]=!0)}function u(x,F){n(g,x,F)}function v(x,F){n(f,x,F)}var m=u;d.default=m},38416:function(l,d,e){var g=e(64062);function f(c,n,u){return n=g(n),n in c?Object.defineProperty(c,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[n]=u,c}l.exports=f,l.exports.__esModule=!0,l.exports.default=l.exports},42122:function(l,d,e){var g=e(38416);function f(n,u){var v=Object.keys(n);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);u&&(m=m.filter(function(x){return Object.getOwnPropertyDescriptor(n,x).enumerable})),v.push.apply(v,m)}return v}function c(n){for(var u=1;u400&&(c="horizontal"),window.innerWidth<768&&N>400&&(c="horizontal"),x(s()(s()({},r),{},{mode:c}))}})};(0,g.useLayoutEffect)(function(){return A.current&&(window.addEventListener("resize",z),z()),function(){window.removeEventListener("resize",z)}},[A.current]);var b=function(){return Object.keys(i).map(function(c){return(0,e.jsx)(q,{children:i[c]},c)})},$=function(){var c=r.selectKey;switch(c){case"base":return(0,e.jsx)(Z,{});case"security":return(0,e.jsx)(k,{});case"notification":return(0,e.jsx)(Y,{});default:return null}};return(0,e.jsx)(V.f,{children:(0,e.jsxs)("div",{className:G.main,ref:function(c){c&&(A.current=c)},children:[(0,e.jsx)("div",{className:G.leftMenu,children:(0,e.jsx)(B.Z,{mode:r.mode,selectedKeys:[r.selectKey],onClick:function(c){var N=c.key;x(s()(s()({},r),{},{selectKey:N}))},children:b()})}),(0,e.jsxs)("div",{className:G.right,children:[(0,e.jsx)("div",{className:G.title,children:i[r.selectKey]}),$()]})]})})},te=ee},15746:function(T,v,t){var u=t(21584);v.Z=u.Z},71230:function(T,v,t){var u=t(92820);v.Z=u.Z}}]); diff --git a/statics/p__account__settings__index.f426af59.async.js b/statics/p__account__settings__index.f426af59.async.js deleted file mode 100644 index 84b8b7e9..00000000 --- a/statics/p__account__settings__index.f426af59.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpity=self.webpackChunkpity||[]).push([[331],{5966:function(s,a,e){"use strict";var o=e(1413),i=e(45987),u=e(85893),n=e(92643),r=["fieldProps","proFieldProps"],l=["fieldProps","proFieldProps"],v="text",f=function(P){var F=P.fieldProps,p=P.proFieldProps,E=(0,i.Z)(P,r);return(0,u.jsx)(n.Z,(0,o.Z)({valueType:v,fieldProps:F,filedConfig:{valueType:v},proFieldProps:p},E))},j=function(P){var F=P.fieldProps,p=P.proFieldProps,E=(0,i.Z)(P,l);return(0,u.jsx)(n.Z,(0,o.Z)({valueType:"password",fieldProps:F,proFieldProps:p,filedConfig:{valueType:v}},E))},y=f;y.Password=j,y.displayName="ProFormComponent",a.Z=y},952:function(s,a,e){"use strict";var o=e(97269);a.ZP=o.A},88372:function(s,a,e){"use strict";e.d(a,{f:function(){return P}});var o=e(4942),i=e(85893),u=e(58720),n=e(94184),r=e.n(n),l=e(67294),v=e(76509),f=e(1413),j=e(98082),y=function(p){return(0,o.Z)({},p.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function w(F){return(0,j.Xj)("ProLayoutGridContent",function(p){var E=(0,f.Z)((0,f.Z)({},p),{},{componentCls:".".concat(F)});return[y(E)]})}var P=function(p){var E=(0,l.useContext)(v.X),N=p.children,T=p.contentWidth,M=p.className,W=p.style,O=(0,l.useContext)(u.ZP.ConfigContext),U=O.getPrefixCls,t=p.prefixCls||U("pro"),V=T||E.contentWidth,_="".concat(t,"-grid-content"),b=w(_),R=b.wrapSSR,K=b.hashId,G=V==="Fixed";return R((0,i.jsx)("div",{className:r()(_,K,M,(0,o.Z)({},"".concat(_,"-wide"),G)),style:W,children:(0,i.jsx)("div",{className:"".concat(t,"-grid-content-children ").concat(K),children:N})}))}},76509:function(s,a,e){"use strict";e.d(a,{X:function(){return i}});var o=e(67294),i=(0,o.createContext)({})},58703:function(s,a,e){"use strict";e.r(a),e.d(a,{default:function(){return ee}});var o=e(97857),i=e.n(o),u=e(5574),n=e.n(u),r=e(67294),l=e(88372),v=e(68508),f=e(1413),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},y=j,w=e(84089),P=function(c,x){return r.createElement(w.Z,(0,f.Z)((0,f.Z)({},c),{},{ref:x,icon:y}))};P.displayName="UploadOutlined";var F=r.forwardRef(P),p=e(66476),E=e(71577),N=e(58131),T=e(952),M=e(5966),W=e(94171),O={baseView:"baseView___CxZTz",left:"left___XO1C6",right:"right___Sf2Ie",avatar_title:"avatar_title___jh8rZ",avatar:"avatar___BfnYL",button_view:"button_view___YUvAZ",area_code:"area_code___ii6L7",phone_number:"phone_number___J1m_l"},U=e(19478),t=e(85893),V=function(c,x,m){m()},_=function(c){var x=c.avatar,m=c.dispatch;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:O.avatar_title,children:"\u5934\u50CF"}),(0,t.jsx)("div",{className:O.avatar,children:(0,t.jsx)("img",{src:x,alt:"avatar"})}),(0,t.jsx)(p.Z,{showUploadList:!1,customRequest:function(g){m({type:"user/avatar",payload:{file:g.file}})},fileList:[],children:(0,t.jsx)("div",{className:O.button_view,children:(0,t.jsxs)(E.ZP,{children:[(0,t.jsx)(F,{}),"\u66F4\u6362\u5934\u50CF"]})})})]})},b=function(c){var x=c.user,m=c.loading,d=c.dispatch,g=x.currentUser,A=N.Z.useForm(),S=n()(A,1),L=S[0],z=function(){return g?g.avatar?g.avatar:U.Z.AVATAR_URL:""},Z=function(){var B=L.getFieldsValue();d({type:"user/updateUser",payload:i()(i()({},B),{},{id:g.id})}),d({type:"user/fetchCurrent"})};return(0,t.jsx)("div",{className:O.baseView,children:m?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:O.left,children:(0,t.jsxs)(T.ZP,{form:L,layout:"vertical",onFinish:Z,submitter:{resetButtonProps:{style:{display:"none"}},submitButtonProps:{children:"\u66F4\u65B0\u57FA\u672C\u4FE1\u606F"}},initialValues:i()(i()({},g),{},{phone:g==null?void 0:g.phone}),hideRequiredMark:!0,children:[(0,t.jsx)(M.Z,{width:"md",name:"name",label:"\u59D3\u540D",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u59D3\u540D!"}]}),(0,t.jsx)(M.Z,{width:"md",name:"email",label:"\u90AE\u7BB1",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u90AE\u7BB1!"}]}),(0,t.jsx)(M.Z,{width:"md",name:"phone",label:"\u8054\u7CFB\u7535\u8BDD",placeholder:"\u8F93\u5165\u7535\u8BDD\u540E\u53EF\u63A5\u6536\u9489\u9489/\u4F01\u4E1A\u5FAE\u4FE1\u901A\u77E5\u54E6",rules:[{required:!1,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u8054\u7CFB\u7535\u8BDD!"},{validator:V}]})]})}),(0,t.jsx)("div",{className:O.right,children:(0,t.jsx)(_,{avatar:z(),dispatch:d})})]})})},R=(0,W.connect)(function(C){var c=C.user;return{user:c}})(b),K=function(){var c=function(){return[{title:"\u7ED1\u5B9A\u6DD8\u5B9D",description:"\u5F53\u524D\u672A\u7ED1\u5B9A\u6DD8\u5B9D\u8D26\u53F7",actions:[_jsx("a",{children:"\u7ED1\u5B9A"},"Bind")],avatar:_jsx(TaobaoOutlined,{className:"taobao"})},{title:"\u7ED1\u5B9A\u652F\u4ED8\u5B9D",description:"\u5F53\u524D\u672A\u7ED1\u5B9A\u652F\u4ED8\u5B9D\u8D26\u53F7",actions:[_jsx("a",{children:"\u7ED1\u5B9A"},"Bind")],avatar:_jsx(AlipayOutlined,{className:"alipay"})},{title:"\u7ED1\u5B9A\u9489\u9489",description:"\u5F53\u524D\u672A\u7ED1\u5B9A\u9489\u9489\u8D26\u53F7",actions:[_jsx("a",{children:"\u7ED1\u5B9A"},"Bind")],avatar:_jsx(DingdingOutlined,{className:"dingding"})}]};return _jsx(Fragment,{children:_jsx(List,{itemLayout:"horizontal",dataSource:c(),renderItem:function(m){return _jsx(List.Item,{actions:m.actions,children:_jsx(List.Item.Meta,{avatar:m.avatar,title:m.title,description:m.description})})}})})},G=null,X=e(72269),D=e(51158),H=function(){var c=function(){var d=(0,t.jsx)(X.Z,{checkedChildren:"\u5F00",unCheckedChildren:"\u5173",defaultChecked:!0});return[{title:"\u8D26\u6237\u5BC6\u7801",description:"\u5176\u4ED6\u7528\u6237\u7684\u6D88\u606F\u5C06\u4EE5\u7AD9\u5185\u4FE1\u7684\u5F62\u5F0F\u901A\u77E5",actions:[d]},{title:"\u7CFB\u7EDF\u6D88\u606F",description:"\u7CFB\u7EDF\u6D88\u606F\u5C06\u4EE5\u7AD9\u5185\u4FE1\u7684\u5F62\u5F0F\u901A\u77E5",actions:[d]},{title:"\u5F85\u529E\u4EFB\u52A1",description:"\u5F85\u529E\u4EFB\u52A1\u5C06\u4EE5\u7AD9\u5185\u4FE1\u7684\u5F62\u5F0F\u901A\u77E5",actions:[d]}]},x=c();return(0,t.jsx)(r.Fragment,{children:(0,t.jsx)(D.ZP,{itemLayout:"horizontal",dataSource:x,renderItem:function(d){return(0,t.jsx)(D.ZP.Item,{actions:d.actions,children:(0,t.jsx)(D.ZP.Item.Meta,{title:d.title,description:d.description})})}})})},Y=H,$={strong:(0,t.jsx)("span",{className:"strong",children:"\u5F3A"}),medium:(0,t.jsx)("span",{className:"medium",children:"\u4E2D"}),weak:(0,t.jsx)("span",{className:"weak",children:"\u5F31 Weak"})},J=function(){var c=function(){return[{title:"\u8D26\u6237\u5BC6\u7801",description:(0,t.jsxs)(t.Fragment,{children:["\u5F53\u524D\u5BC6\u7801\u5F3A\u5EA6\uFF1A",$.strong]}),actions:[(0,t.jsx)("a",{children:"\u4FEE\u6539"},"Modify")]},{title:"\u5BC6\u4FDD\u624B\u673A",description:"\u5DF2\u7ED1\u5B9A\u624B\u673A\uFF1A138****8293",actions:[(0,t.jsx)("a",{children:"\u4FEE\u6539"},"Modify")]},{title:"\u5BC6\u4FDD\u95EE\u9898",description:"\u672A\u8BBE\u7F6E\u5BC6\u4FDD\u95EE\u9898\uFF0C\u5BC6\u4FDD\u95EE\u9898\u53EF\u6709\u6548\u4FDD\u62A4\u8D26\u6237\u5B89\u5168",actions:[(0,t.jsx)("a",{children:"\u8BBE\u7F6E"},"Set")]},{title:"\u5907\u7528\u90AE\u7BB1",description:"\u5DF2\u7ED1\u5B9A\u90AE\u7BB1\uFF1Aant***sign.com",actions:[(0,t.jsx)("a",{children:"\u4FEE\u6539"},"Modify")]},{title:"MFA \u8BBE\u5907",description:"\u672A\u7ED1\u5B9A MFA \u8BBE\u5907\uFF0C\u7ED1\u5B9A\u540E\uFF0C\u53EF\u4EE5\u8FDB\u884C\u4E8C\u6B21\u786E\u8BA4",actions:[(0,t.jsx)("a",{children:"\u7ED1\u5B9A"},"bind")]}]},x=c();return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(D.ZP,{itemLayout:"horizontal",dataSource:x,renderItem:function(d){return(0,t.jsx)(D.ZP.Item,{actions:d.actions,children:(0,t.jsx)(D.ZP.Item.Meta,{title:d.title,description:d.description})})}})})},Q=J,I={main:"main___mGCWD",leftMenu:"leftMenu___OBKuo",right:"right___j0rZL",title:"title___NjH5F"},k=v.Z.Item,q=function(){var c={base:"\u57FA\u672C\u8BBE\u7F6E",security:"\u5B89\u5168\u8BBE\u7F6E",notification:"\u65B0\u6D88\u606F\u901A\u77E5"},x=(0,r.useState)({mode:"inline",selectKey:"base"}),m=n()(x,2),d=m[0],g=m[1],A=(0,r.useRef)(),S=function(){requestAnimationFrame(function(){if(!!A.current){var h="inline",B=A.current.offsetWidth;A.current.offsetWidth<641&&B>400&&(h="horizontal"),window.innerWidth<768&&B>400&&(h="horizontal"),g(i()(i()({},d),{},{mode:h}))}})};(0,r.useLayoutEffect)(function(){return A.current&&(window.addEventListener("resize",S),S()),function(){window.removeEventListener("resize",S)}},[A.current]);var L=function(){return Object.keys(c).map(function(h){return(0,t.jsx)(k,{children:c[h]},h)})},z=function(){var h=d.selectKey;switch(h){case"base":return(0,t.jsx)(R,{});case"security":return(0,t.jsx)(Q,{});case"notification":return(0,t.jsx)(Y,{});default:return null}};return(0,t.jsx)(l.f,{children:(0,t.jsxs)("div",{className:I.main,ref:function(h){h&&(A.current=h)},children:[(0,t.jsx)("div",{className:I.leftMenu,children:(0,t.jsx)(v.Z,{mode:d.mode,selectedKeys:[d.selectKey],onClick:function(h){var B=h.key;g(i()(i()({},d),{},{selectKey:B}))},children:L()})}),(0,t.jsxs)("div",{className:I.right,children:[(0,t.jsx)("div",{className:I.title,children:c[d.selectKey]}),z()]})]})})},ee=q},15746:function(s,a,e){"use strict";var o=e(21584);a.Z=o.Z},71230:function(s,a,e){"use strict";var o=e(92820);a.Z=o.Z},45520:function(s,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.call=n,a.default=void 0,a.note=i,a.noteOnce=l,a.resetWarned=u,a.warning=o,a.warningOnce=r;var e={};function o(f,j){}function i(f,j){}function u(){e={}}function n(f,j,y){!j&&!e[y]&&(f(!1,y),e[y]=!0)}function r(f,j){n(o,f,j)}function l(f,j){n(i,f,j)}var v=r;a.default=v},38416:function(s,a,e){var o=e(64062);function i(u,n,r){return n=o(n),n in u?Object.defineProperty(u,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):u[n]=r,u}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports},42122:function(s,a,e){var o=e(38416);function i(n,r){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(n);r&&(v=v.filter(function(f){return Object.getOwnPropertyDescriptor(n,f).enumerable})),l.push.apply(l,v)}return l}function u(n){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:0,S=I[c];if(y(S)){var l=document.createElement("script");l.setAttribute("src",S),l.setAttribute("data-namespace",S),I.length>c+1&&(l.onload=function(){i(I,c+1)},l.onerror=function(){i(I,c+1)}),g.add(S),document.body.appendChild(l)}}function D(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=I.scriptUrl,S=I.extraCommonProps,l=S===void 0?{}:S;c&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(c)?i(c.reverse()):i([c]));var x=T.forwardRef(function(E,Y){var A=E.type,O=E.children,r=(0,a.Z)(E,n),z=null;return E.type&&(z=T.createElement("use",{xlinkHref:"#".concat(A)})),O&&(z=O),T.createElement(u.Z,(0,N.Z)((0,N.Z)((0,N.Z)({},l),r),{},{ref:Y}),z)});return x.displayName="Iconfont",x}},1832:function(C,s,M){M.d(s,{Z:function(){return y}});var N=M(1413),a=M(67294),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},u=T,n=M(84089),g=function(D,I){return a.createElement(n.Z,(0,N.Z)((0,N.Z)({},D),{},{ref:I,icon:u}))};g.displayName="FireOutlined";var y=a.forwardRef(g)},65429:function(C,s,M){M.d(s,{Z:function(){return y}});var N=M(1413),a=M(67294),T={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"},u=T,n=M(84089),g=function(D,I){return a.createElement(n.Z,(0,N.Z)((0,N.Z)({},D),{},{ref:I,icon:u}))};g.displayName="LikeOutlined";var y=a.forwardRef(g)},67:function(C,s,M){M.d(s,{Z:function(){return y}});var N=M(1413),a=M(67294),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},u=T,n=M(84089),g=function(D,I){return a.createElement(n.Z,(0,N.Z)((0,N.Z)({},D),{},{ref:I,icon:u}))};g.displayName="WindowsOutlined";var y=a.forwardRef(g)},37594:function(C,s,M){M.d(s,{B:function(){return T}});var N=M(91321),a="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",T=(0,N.Z)({scriptUrl:a})},97493:function(C,s,M){M.r(s),M.d(s,{default:function(){return J}});var N=M(5574),a=M.n(N),T=M(58841),u=M(67294),n=M(69400),g=M(71230),y=M(15746),i=M(4393),D=M(32983),I=Object.defineProperty,c=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,x=(e,L,j)=>L in e?I(e,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):e[L]=j,E=(e,L)=>{for(var j in L||(L={}))S.call(L,j)&&x(e,j,L[j]);if(c)for(var j of c(L))l.call(L,j)&&x(e,j,L[j]);return e};const Y=e=>React.createElement("svg",E({xmlSpace:"preserve",style:{enableBackground:"new 0 0 3000 3000"},viewBox:"0 0 3000 3000",y:0,x:0,xmlns:"http://www.w3.org/2000/svg",id:"Study_svg__Layer_1"},e),React.createElement("style",null,".Study_svg__st2{fill:#fff;stroke-width:3.6807}.Study_svg__st2,.Study_svg__st3,.Study_svg__st4,.Study_svg__st5{stroke:#1a1a1a;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.Study_svg__st3{fill:#1c0311;stroke-width:1.8403}.Study_svg__st4,.Study_svg__st5{stroke-width:3.6807}.Study_svg__st4{fill:none;stroke-dasharray:22.0841}.Study_svg__st5{fill:#54cafa}"),React.createElement("path",{style:{fill:"none"},d:"M0 0h3000v3000H0z"}),React.createElement("path",{d:"M1910.8 2413.6c-30.5-71.3 28.1-205.2 103.3-261.6 92.9-69.7 259.7-13.3 273.8-4.6 5.3-12.3 89.7-198.8 261.6-205.7 133-5.4 194.4 41.5 246.2 217.2 4.4-1.9 70.4 2.3 112.9 47 51 53.6 46.2 176.5-.2 255h-943.6c-33.6-11.7-47.5-32.3-54-47.3z",style:{fill:"none",stroke:"#1a1a1a",strokeWidth:5.521,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10}}),React.createElement("path",{d:"M2392 2196.4c-104.6-80.3-225.1-54.1-241.5-50.3-14.6-113.3-95.7-202.7-197.4-221.9-114.4-21.6-200.9 55.8-210.9 65-34.3-70.8-110.5-203-259.9-301.6-167.1-110.3-475.2-211.3-698.8-51.5-119.4 85.4-169.6 213-191.2 294.2-143.8-58.3-309.9-3.2-389.8 128.7-78.9 130.3-52.7 300.7 62.5 401.8h2236c1.1-8 17-167.7-109-264.4zM2343.8 1521.9H775.5c-36.1 0-65.4-29.3-65.4-65.4V428.9c0-36.1 29.3-65.4 65.4-65.4h1568.3c36.1 0 65.4 29.3 65.4 65.4v1027.7c0 36.1-29.3 65.3-65.4 65.3z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2370.5 494.7c0-57.9-46.9-104.8-104.8-104.8H853.6c-57.9 0-104.8 46.9-104.8 104.8v15.9h1621.7v-15.9z",className:"Study_svg__st3"}),React.createElement("path",{d:"M748.8 510.6v880.2c0 57.9 46.9 104.8 104.8 104.8h1412.1c57.9 0 104.8-46.9 104.8-104.8V510.6H748.8z",className:"Study_svg__st2"}),React.createElement("path",{className:"Study_svg__st4",d:"M748.8 643h1621.7"}),React.createElement("path",{className:"Study_svg__st3",d:"M1596.4 554.7h165.5v47.8h-165.5z"}),React.createElement("path",{className:"Study_svg__st2",d:"M1820.8 554.7h165.5v47.8h-165.5zM2045.1 554.7h165.5v47.8h-165.5zM827.8 554.7h313.7v388H827.8z"}),React.createElement("path",{className:"Study_svg__st2",d:"M901.3 762h171.9v15.7H901.3zM876.4 807.9h221.7v15.7H876.4zM876.4 848.6h221.7v15.7H876.4z"}),React.createElement("circle",{r:54.7,cy:657.2,cx:984.7,className:"Study_svg__st3"}),React.createElement("path",{className:"Study_svg__st3",d:"M876.4 1417.5h210.9v37.2H876.4zM2252.9 1495.6H1206.6v-78.1H2367c-21.4 62.2-64.1 78.2-114.1 78.1z"}),React.createElement("path",{className:"Study_svg__st4",d:"M1206.6 510.6v985M1271 748.7h255.6v254.4H1271zM1634.1 748.7h255.6v254.4h-255.6zM1997.3 748.7h255.6v254.4h-255.6zM1271 1082.6h255.6V1337H1271zM1634.1 1082.6h255.6V1337h-255.6zM1997.3 1082.6h255.6V1337h-255.6z"}),React.createElement("path",{d:"M1510.7 983.7c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7v221.7z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1299.6 895.1c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M1872.8 983.7c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7v221.7z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1661.7 895.1c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M2234.8 983.7c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7v221.7z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2023.7 895.1c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M1510.7 1320c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7V1320z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1299.6 1231.4c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M1872.8 1320c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7V1320z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1661.7 1231.4c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M2234.8 1320c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7V1320z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2023.7 1231.4c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M107 2460.9h2655.3M2187.9 1620.6c14.1-28.8 8.6-47.2-11.6-43.5-20.2 3.7-139.8 57.6-152 71.7-7.6 8.7.7 48.1 8.2 77 .7-.4 1.4-.7 2.1-1 25.3-7.9 51.7-14.1 78.2-17-1.4-5.4-2.8-11-4.2-16.7 3.9-8 65.2-41.7 79.3-70.5z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2032.5 1725.8c4.6 17.9 8.9 31.8 8.9 31.8l81.5-11.3s-4.7-17.1-10.2-38.4c-26.5 2.9-52.8 9.1-78.2 17-.6.2-1.3.5-2 .9z",className:"Study_svg__st3"}),React.createElement("path",{d:"M2078.2 2196.1s-72.3-94.4-42.9-446.2c1.2-17.2 46.6-30.6 84.6-30.6 35.6 50.3 117.7 381.2 121.4 427.8 3.7 46.6-12.3 105.6-15.9 105.5-3.8-.1-147.2-56.5-147.2-56.5z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2077.7 1774.1s64.7 437.5 106.7 485.1",className:"Study_svg__st4"}),React.createElement("path",{d:"M2485.9 1786.9c-4.8 7.3-7.7 12-7.7 12s57.9 49.6 59.7 49.6c1.4 0 14.3-22.7 26.4-33.8-18.5-22.7-48-35.5-78.4-27.8z",className:"Study_svg__st3"}),React.createElement("path",{d:"M2711.4 1816.7c-15.9-19-113.4-105.4-146.5-106-25.4-.5-63 52-79 76.2 30.4-7.6 60 5.2 78.4 27.9 3.9-3.6 7.7-6 11-6 13.5 0 52.7 33.1 101.1 45.4 48.5 12.1 50.9-18.5 35-37.5z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2485.2 1794c-246.4 170.4-278.3 420.8-278.3 420.8s-145.9-61.6-279.5-76.3c-133.6-14.7-280.7 88.7-280.7 88.7l.6 14.8 9.2 218.9h312.6c52.7 0 297.9 22.1 349.4-46.6 51.5-68.6 236.6-570 236.6-581.1 0-11-14.7-40.4-69.9-39.2z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1756.7 2347.4s377.8-26.2 473.6 0c74.8-150.9 231.5-469.2 290.9-512",className:"Study_svg__st4"}),React.createElement("path",{d:"M1651.8 2245.8s11.2-18.3 34.1 27.9c23 46.2 38.7 157.2-3.9 190.6l-32.8-2.3 2.6-216.2z",className:"Study_svg__st3"}),React.createElement("path",{d:"M929 2324.1s123.1-120.8 150-164.2c27.5-27.4 10.8-122.8 100.5-133.7 0 0 100.9-32.5 291.1 77.8 156.6 96.9 186.6 134.3 200.3 156.8 13.8 22.5 47.5 131.5-7.7 200.9-183 3.5-475.6-14.1-513.7-15",className:"Study_svg__st5"}),React.createElement("path",{d:"M937.5 2096.8s25.5-39 4.2-65.8c-21.3-26.8-34.3-61.8-21-82.6 13.3-20.8 34.8-21 47.2-1.9s72 84.9 49.2 112.8c-22.8 27.9-43.4 71.6-43.4 71.6l-36.2-34.1z",className:"Study_svg__st2"}),React.createElement("path",{d:"M995.3 2361c-81.7-29.4-18.5-200.8-12.3-222.2 6.2-21.4-29.8-39.6-38.1-48.2-8.3-8.6-16.8.7-16.8.7s-174.3 224-147.9 310.4c26.4 86.4 259.7 51.4 259.7 51.4s134 10.8 140.8 5.9 0-60.7 0-60.7",className:"Study_svg__st5"}),React.createElement("path",{d:"M1001.4 1818.8s-72.7 101-41.2 184.4 126.6 20.8 126.6 20.8",className:"Study_svg__st2"}),React.createElement("path",{d:"M1057.1 2038.7s18.8 106.7 37.2 132.3c64.2 14.6 94.7-60.8 92.9-136.2-26.4-16.7-50.9-77.7-50.9-77.7",className:"Study_svg__st2"}),React.createElement("path",{className:"Study_svg__st3",d:"m1082.6 2026.2-24.2 24.2-1.3-12.6zM996.5 1729.3c-10.1-3.7-58.8 92 29.1 128.4 25.7 14.3 33.6 11.6 25.7 28.4-7.9 16.9-6.1 34 4.7 36 10.9 2 29.3-12.2 36.9-22.3 7.6-10.1 33.4 7.7 28.6 25.6-4.8 17.9-23.2 26.6-22.3 33.6 10 19.5 15 39 55 26.7s36.9-84 32-106.8c-4.9-22.8-16-62.9-74.2-76.2s-105.4-69.6-115.5-73.4z"}),React.createElement("path",{d:"M1042.7 2397.5c-35.3 13.8-60 63.1-42.9 64.7 12.1 1.1 72.1.8 106.3.5-2.9-24.3-8-47.8-22.8-68.3-11.9-2.3-26.2-2.6-40.6 3.1z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1323.5 2108.9s243.4 175.4 212.5 278.7c-30.9 103.4-393.9 74.8-407.7 74.6-14.3-13.1-37.7-92-28.1-97.9 9.6-5.9 163.4-1.8 175.8-15.2 12.4-13.4 16.7-20.9-25.2-56.1s-88.5-121.6-17.6-167.7c19.1-5.4 23.7-5.5 23.7-5.5M1083.9 2206.3s-16.2 62.6 11.5 105.7",className:"Study_svg__st5"}),React.createElement("path",{d:"M1112.5 2405.3s-12.1-7.6-29.3-10.9c14.9 20.5 19.9 44 22.8 68.3 14.2-.1 23.9-.2 23.9-.2s-10.5-53.6-17.4-57.2z",style:{fill:"#1c0311",stroke:"#1a1a1a",strokeWidth:3.6807,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10}}),React.createElement("path",{className:"Study_svg__st3",d:"M472.3 2424.7h253.8v34.3H472.3z"}),React.createElement("path",{d:"M376.5 2192.8c1.8 3.7 119.7 219.5 119.7 219.5l-25.1 10.9-117.7-215.1 23.1-15.3z",className:"Study_svg__st2"}),React.createElement("circle",{r:135.4,cy:1209.7,cx:472.3,className:"Study_svg__st2"}),React.createElement("path",{d:"M492.2 1182.1c9.4-5.5 15.7-15.7 15.7-27.4 0-17.5-14.2-31.7-31.7-31.7s-31.7 14.2-31.7 31.7c0 11.7 6.3 21.9 15.7 27.4-27.8 7.1-48.3 32.3-48.3 62.3v31h128.6v-31c0-30-20.5-55.2-48.3-62.3z",className:"Study_svg__st3"}),React.createElement("circle",{r:63,cy:1067.9,cx:2580.6,className:"Study_svg__st3"}),React.createElement("circle",{r:127,cy:1290.9,cx:2652.5,className:"Study_svg__st2"}),React.createElement("path",{d:"M494.2 771.9H228.3c-25.6 0-46.4 20.8-46.4 46.4v55.8c0 25.6 20.8 46.4 46.4 46.4h212.3c9.3 13.5 25 35.7 38.6 54.6 6.9 9.6 22 3.7 20.6-8l-5.5-46.7c25.5-.1 46.2-20.8 46.2-46.4v-55.8c0-25.6-20.7-46.3-46.3-46.3z",className:"Study_svg__st2"}),React.createElement("path",{className:"Study_svg__st2",d:"M236.1 802h237.5v21H236.1zM236.1 854.9h237.5v21H236.1z"}),React.createElement("path",{d:"M1043.7 1298.9V1279h-20.6c-.8-3-2-5.7-3.5-8.3l14.5-14.5-14.1-14.1-14.5 14.5c-2.6-1.5-5.4-2.6-8.3-3.5v-20.6h-19.9v20.6c-3 .8-5.7 2-8.3 3.5l-14.5-14.5-14.1 14.1 14.5 14.5c-1.5 2.6-2.6 5.4-3.5 8.3h-20.6v19.9h20.6c.8 3 2 5.7 3.5 8.3l-14.5 14.5 14.1 14.1 14.5-14.5c2.6 1.5 5.4 2.6 8.3 3.5v20.6h19.9v-20.6c3-.8 5.7-2 8.3-3.5l14.5 14.5 14.1-14.1-14.5-14.5c1.5-2.6 2.6-5.4 3.5-8.3h20.6zm-39.2 0c-1.8 3-4.3 5.6-7.3 7.3-1.5.9-3.1 1.5-4.8 2-1.6.4-3.4.7-5.2.7-1.8 0-3.5-.2-5.2-.7-1.7-.5-3.3-1.1-4.8-2-3-1.8-5.6-4.3-7.3-7.3-.9-1.5-1.5-3.1-2-4.8-.4-1.6-.7-3.4-.7-5.2s.2-3.5.7-5.2c.5-1.7 1.1-3.3 2-4.8 1.8-3 4.3-5.6 7.3-7.3 1.5-.9 3.1-1.5 4.8-2 1.6-.4 3.4-.7 5.2-.7 1.8 0 3.5.2 5.2.7 1.7.5 3.3 1.1 4.8 2 3 1.8 5.6 4.3 7.3 7.3.9 1.5 1.5 3.1 2 4.8.4 1.6.7 3.4.7 5.2s-.2 3.5-.7 5.2c-.4 1.7-1.1 3.3-2 4.8z",className:"Study_svg__st3"}));var A="data:image/svg+xml;base64,PHN2ZyB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDAwIDMwMDAiIHZpZXdCb3g9IjAgMCAzMDAwIDMwMDAiIHk9IjAiIHg9IjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9IkxheWVyXzEiIHZlcnNpb249IjEuMSI+PHN0eWxlPi5zdDJ7ZmlsbDojZmZmO3N0cm9rZS13aWR0aDozLjY4MDd9LnN0Miwuc3QzLC5zdDQsLnN0NXtzdHJva2U6IzFhMWExYTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0M3tmaWxsOiMxYzAzMTE7c3Ryb2tlLXdpZHRoOjEuODQwM30uc3Q0LC5zdDV7c3Ryb2tlLXdpZHRoOjMuNjgwN30uc3Q0e2ZpbGw6bm9uZTtzdHJva2UtZGFzaGFycmF5OjIyLjA4NDF9LnN0NXtmaWxsOiM1NGNhZmF9PC9zdHlsZT48cGF0aCBzdHlsZT0iZmlsbDpub25lIiBkPSJNMCAwaDMwMDB2MzAwMEgweiIvPjxwYXRoIGQ9Ik0xOTEwLjggMjQxMy42Yy0zMC41LTcxLjMgMjguMS0yMDUuMiAxMDMuMy0yNjEuNiA5Mi45LTY5LjcgMjU5LjctMTMuMyAyNzMuOC00LjYgNS4zLTEyLjMgODkuNy0xOTguOCAyNjEuNi0yMDUuNyAxMzMtNS40IDE5NC40IDQxLjUgMjQ2LjIgMjE3LjIgNC40LTEuOSA3MC40IDIuMyAxMTIuOSA0NyA1MSA1My42IDQ2LjIgMTc2LjUtLjIgMjU1aC05NDMuNmMtMzMuNi0xMS43LTQ3LjUtMzIuMy01NC00Ny4zeiIgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NS41MjE7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwIi8+PHBhdGggZD0iTTIzOTIgMjE5Ni40Yy0xMDQuNi04MC4zLTIyNS4xLTU0LjEtMjQxLjUtNTAuMy0xNC42LTExMy4zLTk1LjctMjAyLjctMTk3LjQtMjIxLjktMTE0LjQtMjEuNi0yMDAuOSA1NS44LTIxMC45IDY1LTM0LjMtNzAuOC0xMTAuNS0yMDMtMjU5LjktMzAxLjYtMTY3LjEtMTEwLjMtNDc1LjItMjExLjMtNjk4LjgtNTEuNS0xMTkuNCA4NS40LTE2OS42IDIxMy0xOTEuMiAyOTQuMi0xNDMuOC01OC4zLTMwOS45LTMuMi0zODkuOCAxMjguNy03OC45IDEzMC4zLTUyLjcgMzAwLjcgNjIuNSA0MDEuOGgyMjM2YzEuMS04IDE3LTE2Ny43LTEwOS0yNjQuNHpNMjM0My44IDE1MjEuOUg3NzUuNWMtMzYuMSAwLTY1LjQtMjkuMy02NS40LTY1LjRWNDI4LjljMC0zNi4xIDI5LjMtNjUuNCA2NS40LTY1LjRoMTU2OC4zYzM2LjEgMCA2NS40IDI5LjMgNjUuNCA2NS40djEwMjcuN2MwIDM2LjEtMjkuMyA2NS4zLTY1LjQgNjUuM3oiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjM3MC41IDQ5NC43YzAtNTcuOS00Ni45LTEwNC44LTEwNC44LTEwNC44SDg1My42Yy01Ny45IDAtMTA0LjggNDYuOS0xMDQuOCAxMDQuOHYxNS45aDE2MjEuN3YtMTUuOXoiIGNsYXNzPSJzdDMiLz48cGF0aCBkPSJNNzQ4LjggNTEwLjZ2ODgwLjJjMCA1Ny45IDQ2LjkgMTA0LjggMTA0LjggMTA0LjhoMTQxMi4xYzU3LjkgMCAxMDQuOC00Ni45IDEwNC44LTEwNC44VjUxMC42SDc0OC44eiIgY2xhc3M9InN0MiIvPjxwYXRoIGNsYXNzPSJzdDQiIGQ9Ik03NDguOCA2NDNoMTYyMS43Ii8+PHBhdGggY2xhc3M9InN0MyIgZD0iTTE1OTYuNCA1NTQuN2gxNjUuNXY0Ny44aC0xNjUuNXoiLz48cGF0aCBjbGFzcz0ic3QyIiBkPSJNMTgyMC44IDU1NC43aDE2NS41djQ3LjhoLTE2NS41ek0yMDQ1LjEgNTU0LjdoMTY1LjV2NDcuOGgtMTY1LjV6TTgyNy44IDU1NC43aDMxMy43djM4OEg4MjcuOHoiLz48cGF0aCBjbGFzcz0ic3QyIiBkPSJNOTAxLjMgNzYyaDE3MS45djE1LjdIOTAxLjN6TTg3Ni40IDgwNy45aDIyMS43djE1LjdIODc2LjR6TTg3Ni40IDg0OC42aDIyMS43djE1LjdIODc2LjR6Ii8+PGNpcmNsZSByPSI1NC43IiBjeT0iNjU3LjIiIGN4PSI5ODQuNyIgY2xhc3M9InN0MyIvPjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik04NzYuNCAxNDE3LjVoMjEwLjl2MzcuMkg4NzYuNHpNMjI1Mi45IDE0OTUuNkgxMjA2LjZ2LTc4LjFIMjM2N2MtMjEuNCA2Mi4yLTY0LjEgNzguMi0xMTQuMSA3OC4xeiIvPjxwYXRoIGNsYXNzPSJzdDQiIGQ9Ik0xMjA2LjYgNTEwLjZ2OTg1TTEyNzEgNzQ4LjdoMjU1LjZ2MjU0LjRIMTI3MXpNMTYzNC4xIDc0OC43aDI1NS42djI1NC40aC0yNTUuNnpNMTk5Ny4zIDc0OC43aDI1NS42djI1NC40aC0yNTUuNnpNMTI3MSAxMDgyLjZoMjU1LjZWMTMzN0gxMjcxek0xNjM0LjEgMTA4Mi42aDI1NS42VjEzMzdoLTI1NS42ek0xOTk3LjMgMTA4Mi42aDI1NS42VjEzMzdoLTI1NS42eiIvPjxwYXRoIGQ9Ik0xNTEwLjcgOTgzLjdjLTcxLjYgNC4xLTE1OC4xLTIuMy0xNzkuMS0yMS42cy0yNC4yLTI5LjktMzAuMy01OC4yYy04LjQtMzkuNS0xMS04OS42LTEyLjMtMTQxLjloMjIxLjd2MjIxLjd6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTEyOTkuNiA4OTUuMWM4LjYgMzYuMSA1OC4zIDM2LjggNTguMyAzNi44czEgMzAuNiAyMy43IDQ3LjFNMTg3Mi44IDk4My43Yy03MS42IDQuMS0xNTguMS0yLjMtMTc5LjEtMjEuNnMtMjQuMi0yOS45LTMwLjMtNTguMmMtOC40LTM5LjUtMTEtODkuNi0xMi4zLTE0MS45aDIyMS43djIyMS43eiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xNjYxLjcgODk1LjFjOC42IDM2LjEgNTguMyAzNi44IDU4LjMgMzYuOHMxIDMwLjYgMjMuNyA0Ny4xTTIyMzQuOCA5ODMuN2MtNzEuNiA0LjEtMTU4LjEtMi4zLTE3OS4xLTIxLjZzLTI0LjItMjkuOS0zMC4zLTU4LjJjLTguNC0zOS41LTExLTg5LjYtMTIuMy0xNDEuOWgyMjEuN3YyMjEuN3oiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjAyMy43IDg5NS4xYzguNiAzNi4xIDU4LjMgMzYuOCA1OC4zIDM2LjhzMSAzMC42IDIzLjcgNDcuMSIgY2xhc3M9InN0MiIvPjxnPjxwYXRoIGQ9Ik0xNTEwLjcgMTMyMGMtNzEuNiA0LjEtMTU4LjEtMi4zLTE3OS4xLTIxLjZzLTI0LjItMjkuOS0zMC4zLTU4LjJjLTguNC0zOS41LTExLTg5LjYtMTIuMy0xNDEuOWgyMjEuN1YxMzIweiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMjk5LjYgMTIzMS40YzguNiAzNi4xIDU4LjMgMzYuOCA1OC4zIDM2LjhzMSAzMC42IDIzLjcgNDcuMSIgY2xhc3M9InN0MiIvPjwvZz48Zz48cGF0aCBkPSJNMTg3Mi44IDEzMjBjLTcxLjYgNC4xLTE1OC4xLTIuMy0xNzkuMS0yMS42cy0yNC4yLTI5LjktMzAuMy01OC4yYy04LjQtMzkuNS0xMS04OS42LTEyLjMtMTQxLjloMjIxLjdWMTMyMHoiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMTY2MS43IDEyMzEuNGM4LjYgMzYuMSA1OC4zIDM2LjggNTguMyAzNi44czEgMzAuNiAyMy43IDQ3LjEiIGNsYXNzPSJzdDIiLz48L2c+PGc+PHBhdGggZD0iTTIyMzQuOCAxMzIwYy03MS42IDQuMS0xNTguMS0yLjMtMTc5LjEtMjEuNnMtMjQuMi0yOS45LTMwLjMtNTguMmMtOC40LTM5LjUtMTEtODkuNi0xMi4zLTE0MS45aDIyMS43VjEzMjB6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTIwMjMuNyAxMjMxLjRjOC42IDM2LjEgNTguMyAzNi44IDU4LjMgMzYuOHMxIDMwLjYgMjMuNyA0Ny4xIiBjbGFzcz0ic3QyIi8+PC9nPjxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik0xMDcgMjQ2MC45aDI2NTUuMyIvPjxnPjxwYXRoIGQ9Ik0yMTg3LjkgMTYyMC42YzE0LjEtMjguOCA4LjYtNDcuMi0xMS42LTQzLjUtMjAuMiAzLjctMTM5LjggNTcuNi0xNTIgNzEuNy03LjYgOC43LjcgNDguMSA4LjIgNzcgLjctLjQgMS40LS43IDIuMS0xIDI1LjMtNy45IDUxLjctMTQuMSA3OC4yLTE3LTEuNC01LjQtMi44LTExLTQuMi0xNi43IDMuOS04IDY1LjItNDEuNyA3OS4zLTcwLjV6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTIwMzIuNSAxNzI1LjhjNC42IDE3LjkgOC45IDMxLjggOC45IDMxLjhsODEuNS0xMS4zcy00LjctMTcuMS0xMC4yLTM4LjRjLTI2LjUgMi45LTUyLjggOS4xLTc4LjIgMTctLjYuMi0xLjMuNS0yIC45eiIgY2xhc3M9InN0MyIvPjxwYXRoIGQ9Ik0yMDc4LjIgMjE5Ni4xcy03Mi4zLTk0LjQtNDIuOS00NDYuMmMxLjItMTcuMiA0Ni42LTMwLjYgODQuNi0zMC42IDM1LjYgNTAuMyAxMTcuNyAzODEuMiAxMjEuNCA0MjcuOCAzLjcgNDYuNi0xMi4zIDEwNS42LTE1LjkgMTA1LjUtMy44LS4xLTE0Ny4yLTU2LjUtMTQ3LjItNTYuNXoiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjA3Ny43IDE3NzQuMXM2NC43IDQzNy41IDEwNi43IDQ4NS4xIiBjbGFzcz0ic3Q0Ii8+PHBhdGggZD0iTTI0ODUuOSAxNzg2LjljLTQuOCA3LjMtNy43IDEyLTcuNyAxMnM1Ny45IDQ5LjYgNTkuNyA0OS42YzEuNCAwIDE0LjMtMjIuNyAyNi40LTMzLjgtMTguNS0yMi43LTQ4LTM1LjUtNzguNC0yNy44eiIgY2xhc3M9InN0MyIvPjxwYXRoIGQ9Ik0yNzExLjQgMTgxNi43Yy0xNS45LTE5LTExMy40LTEwNS40LTE0Ni41LTEwNi0yNS40LS41LTYzIDUyLTc5IDc2LjIgMzAuNC03LjYgNjAgNS4yIDc4LjQgMjcuOSAzLjktMy42IDcuNy02IDExLTYgMTMuNSAwIDUyLjcgMzMuMSAxMDEuMSA0NS40IDQ4LjUgMTIuMSA1MC45LTE4LjUgMzUtMzcuNXoiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjQ4NS4yIDE3OTRjLTI0Ni40IDE3MC40LTI3OC4zIDQyMC44LTI3OC4zIDQyMC44cy0xNDUuOS02MS42LTI3OS41LTc2LjNjLTEzMy42LTE0LjctMjgwLjcgODguNy0yODAuNyA4OC43bC42IDE0LjggOS4yIDIxOC45aDMxMi42YzUyLjcgMCAyOTcuOSAyMi4xIDM0OS40LTQ2LjYgNTEuNS02OC42IDIzNi42LTU3MCAyMzYuNi01ODEuMSAwLTExLTE0LjctNDAuNC02OS45LTM5LjJ6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTE3NTYuNyAyMzQ3LjRzMzc3LjgtMjYuMiA0NzMuNiAwYzc0LjgtMTUwLjkgMjMxLjUtNDY5LjIgMjkwLjktNTEyIiBjbGFzcz0ic3Q0Ii8+PHBhdGggZD0iTTE2NTEuOCAyMjQ1LjhzMTEuMi0xOC4zIDM0LjEgMjcuOWMyMyA0Ni4yIDM4LjcgMTU3LjItMy45IDE5MC42bC0zMi44LTIuMyAyLjYtMjE2LjJ6IiBjbGFzcz0ic3QzIi8+PHBhdGggZD0iTTkyOSAyMzI0LjFzMTIzLjEtMTIwLjggMTUwLTE2NC4yYzI3LjUtMjcuNCAxMC44LTEyMi44IDEwMC41LTEzMy43IDAgMCAxMDAuOS0zMi41IDI5MS4xIDc3LjggMTU2LjYgOTYuOSAxODYuNiAxMzQuMyAyMDAuMyAxNTYuOCAxMy44IDIyLjUgNDcuNSAxMzEuNS03LjcgMjAwLjktMTgzIDMuNS00NzUuNi0xNC4xLTUxMy43LTE1IiBjbGFzcz0ic3Q1Ii8+PHBhdGggZD0iTTkzNy41IDIwOTYuOHMyNS41LTM5IDQuMi02NS44Yy0yMS4zLTI2LjgtMzQuMy02MS44LTIxLTgyLjYgMTMuMy0yMC44IDM0LjgtMjEgNDcuMi0xLjlzNzIgODQuOSA0OS4yIDExMi44Yy0yMi44IDI3LjktNDMuNCA3MS42LTQzLjQgNzEuNmwtMzYuMi0zNC4xeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik05OTUuMyAyMzYxYy04MS43LTI5LjQtMTguNS0yMDAuOC0xMi4zLTIyMi4yIDYuMi0yMS40LTI5LjgtMzkuNi0zOC4xLTQ4LjItOC4zLTguNi0xNi44LjctMTYuOC43cy0xNzQuMyAyMjQtMTQ3LjkgMzEwLjRjMjYuNCA4Ni40IDI1OS43IDUxLjQgMjU5LjcgNTEuNHMxMzQgMTAuOCAxNDAuOCA1LjkgMC02MC43IDAtNjAuNyIgY2xhc3M9InN0NSIvPjxwYXRoIGQ9Ik0xMDAxLjQgMTgxOC44cy03Mi43IDEwMS00MS4yIDE4NC40IDEyNi42IDIwLjggMTI2LjYgMjAuOCIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMDU3LjEgMjAzOC43czE4LjggMTA2LjcgMzcuMiAxMzIuM2M2NC4yIDE0LjYgOTQuNy02MC44IDkyLjktMTM2LjItMjYuNC0xNi43LTUwLjktNzcuNy01MC45LTc3LjciIGNsYXNzPSJzdDIiLz48cGF0aCBjbGFzcz0ic3QzIiBkPSJtMTA4Mi42IDIwMjYuMi0yNC4yIDI0LjItMS4zLTEyLjZ6TTk5Ni41IDE3MjkuM2MtMTAuMS0zLjctNTguOCA5MiAyOS4xIDEyOC40IDI1LjcgMTQuMyAzMy42IDExLjYgMjUuNyAyOC40LTcuOSAxNi45LTYuMSAzNCA0LjcgMzYgMTAuOSAyIDI5LjMtMTIuMiAzNi45LTIyLjMgNy42LTEwLjEgMzMuNCA3LjcgMjguNiAyNS42LTQuOCAxNy45LTIzLjIgMjYuNi0yMi4zIDMzLjYgMTAgMTkuNSAxNSAzOSA1NSAyNi43czM2LjktODQgMzItMTA2LjhjLTQuOS0yMi44LTE2LTYyLjktNzQuMi03Ni4ycy0xMDUuNC02OS42LTExNS41LTczLjR6Ii8+PHBhdGggZD0iTTEwNDIuNyAyMzk3LjVjLTM1LjMgMTMuOC02MCA2My4xLTQyLjkgNjQuNyAxMi4xIDEuMSA3Mi4xLjggMTA2LjMuNS0yLjktMjQuMy04LTQ3LjgtMjIuOC02OC4zLTExLjktMi4zLTI2LjItMi42LTQwLjYgMy4xeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMzIzLjUgMjEwOC45czI0My40IDE3NS40IDIxMi41IDI3OC43Yy0zMC45IDEwMy40LTM5My45IDc0LjgtNDA3LjcgNzQuNi0xNC4zLTEzLjEtMzcuNy05Mi0yOC4xLTk3LjkgOS42LTUuOSAxNjMuNC0xLjggMTc1LjgtMTUuMiAxMi40LTEzLjQgMTYuNy0yMC45LTI1LjItNTYuMXMtODguNS0xMjEuNi0xNy42LTE2Ny43YzE5LjEtNS40IDIzLjctNS41IDIzLjctNS41TTEwODMuOSAyMjA2LjNzLTE2LjIgNjIuNiAxMS41IDEwNS43IiBjbGFzcz0ic3Q1Ii8+PHBhdGggZD0iTTExMTIuNSAyNDA1LjNzLTEyLjEtNy42LTI5LjMtMTAuOWMxNC45IDIwLjUgMTkuOSA0NCAyMi44IDY4LjMgMTQuMi0uMSAyMy45LS4yIDIzLjktLjJzLTEwLjUtNTMuNi0xNy40LTU3LjJ6IiBzdHlsZT0iZmlsbDojMWMwMzExO3N0cm9rZTojMWExYTFhO3N0cm9rZS13aWR0aDozLjY4MDc7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwIi8+PC9nPjxnPjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik00NzIuMyAyNDI0LjdoMjUzLjh2MzQuM0g0NzIuM3oiLz48cGF0aCBkPSJNMzc2LjUgMjE5Mi44YzEuOCAzLjcgMTE5LjcgMjE5LjUgMTE5LjcgMjE5LjVsLTI1LjEgMTAuOS0xMTcuNy0yMTUuMSAyMy4xLTE1LjN6IiBjbGFzcz0ic3QyIi8+PC9nPjxnPjxjaXJjbGUgcj0iMTM1LjQiIGN5PSIxMjA5LjciIGN4PSI0NzIuMyIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik00OTIuMiAxMTgyLjFjOS40LTUuNSAxNS43LTE1LjcgMTUuNy0yNy40IDAtMTcuNS0xNC4yLTMxLjctMzEuNy0zMS43cy0zMS43IDE0LjItMzEuNyAzMS43YzAgMTEuNyA2LjMgMjEuOSAxNS43IDI3LjQtMjcuOCA3LjEtNDguMyAzMi4zLTQ4LjMgNjIuM3YzMWgxMjguNnYtMzFjMC0zMC0yMC41LTU1LjItNDguMy02Mi4zeiIgY2xhc3M9InN0MyIvPjwvZz48Y2lyY2xlIHI9IjYzIiBjeT0iMTA2Ny45IiBjeD0iMjU4MC42IiBjbGFzcz0ic3QzIi8+PGNpcmNsZSByPSIxMjciIGN5PSIxMjkwLjkiIGN4PSIyNjUyLjUiIGNsYXNzPSJzdDIiLz48Zz48cGF0aCBkPSJNNDk0LjIgNzcxLjlIMjI4LjNjLTI1LjYgMC00Ni40IDIwLjgtNDYuNCA0Ni40djU1LjhjMCAyNS42IDIwLjggNDYuNCA0Ni40IDQ2LjRoMjEyLjNjOS4zIDEzLjUgMjUgMzUuNyAzOC42IDU0LjYgNi45IDkuNiAyMiAzLjcgMjAuNi04bC01LjUtNDYuN2MyNS41LS4xIDQ2LjItMjAuOCA0Ni4yLTQ2LjR2LTU1LjhjMC0yNS42LTIwLjctNDYuMy00Ni4zLTQ2LjN6IiBjbGFzcz0ic3QyIi8+PHBhdGggY2xhc3M9InN0MiIgZD0iTTIzNi4xIDgwMmgyMzcuNXYyMUgyMzYuMXpNMjM2LjEgODU0LjloMjM3LjV2MjFIMjM2LjF6Ii8+PC9nPjxwYXRoIGQ9Ik0xMDQzLjcgMTI5OC45VjEyNzloLTIwLjZjLS44LTMtMi01LjctMy41LTguM2wxNC41LTE0LjUtMTQuMS0xNC4xLTE0LjUgMTQuNWMtMi42LTEuNS01LjQtMi42LTguMy0zLjV2LTIwLjZoLTE5Ljl2MjAuNmMtMyAuOC01LjcgMi04LjMgMy41bC0xNC41LTE0LjUtMTQuMSAxNC4xIDE0LjUgMTQuNWMtMS41IDIuNi0yLjYgNS40LTMuNSA4LjNoLTIwLjZ2MTkuOWgyMC42Yy44IDMgMiA1LjcgMy41IDguM2wtMTQuNSAxNC41IDE0LjEgMTQuMSAxNC41LTE0LjVjMi42IDEuNSA1LjQgMi42IDguMyAzLjV2MjAuNmgxOS45di0yMC42YzMtLjggNS43LTIgOC4zLTMuNWwxNC41IDE0LjUgMTQuMS0xNC4xLTE0LjUtMTQuNWMxLjUtMi42IDIuNi01LjQgMy41LTguM2gyMC42em0tMzkuMiAwYy0xLjggMy00LjMgNS42LTcuMyA3LjMtMS41LjktMy4xIDEuNS00LjggMi0xLjYuNC0zLjQuNy01LjIuNy0xLjggMC0zLjUtLjItNS4yLS43LTEuNy0uNS0zLjMtMS4xLTQuOC0yLTMtMS44LTUuNi00LjMtNy4zLTcuMy0uOS0xLjUtMS41LTMuMS0yLTQuOC0uNC0xLjYtLjctMy40LS43LTUuMnMuMi0zLjUuNy01LjJjLjUtMS43IDEuMS0zLjMgMi00LjggMS44LTMgNC4zLTUuNiA3LjMtNy4zIDEuNS0uOSAzLjEtMS41IDQuOC0yIDEuNi0uNCAzLjQtLjcgNS4yLS43IDEuOCAwIDMuNS4yIDUuMi43IDEuNy41IDMuMyAxLjEgNC44IDIgMyAxLjggNS42IDQuMyA3LjMgNy4zLjkgMS41IDEuNSAzLjEgMiA0LjguNCAxLjYuNyAzLjQuNyA1LjJzLS4yIDMuNS0uNyA1LjJjLS40IDEuNy0xLjEgMy4zLTIgNC44eiIgY2xhc3M9InN0MyIvPjwvc3ZnPg==",O=Object.defineProperty,r=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,m=(e,L,j)=>L in e?O(e,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):e[L]=j,v=(e,L)=>{for(var j in L||(L={}))z.call(L,j)&&m(e,j,L[j]);if(r)for(var j of r(L))Q.call(L,j)&&m(e,j,L[j]);return e};const _=e=>React.createElement("svg",v({xmlSpace:"preserve",style:{enableBackground:"new 0 0 3000 3000"},viewBox:"0 0 3000 3000",y:0,x:0,xmlns:"http://www.w3.org/2000/svg",id:"Design_svg__Layer_1"},e),React.createElement("style",null,".Design_svg__st1{fill:#fff;stroke-width:4.1978;stroke-miterlimit:10}.Design_svg__st1,.Design_svg__st2,.Design_svg__st3{stroke:#1a1a1a;stroke-linecap:round;stroke-linejoin:round}.Design_svg__st2{fill:#1c0311;stroke-width:2.0989;stroke-miterlimit:10}.Design_svg__st3{fill:none;stroke-width:4.1978}.Design_svg__st7{fill:#fff}.Design_svg__st10,.Design_svg__st12,.Design_svg__st8,.Design_svg__st9{fill:none;stroke:#fff;stroke-width:2.0989;stroke-miterlimit:10}.Design_svg__st10,.Design_svg__st12,.Design_svg__st9{stroke:#1a1a1a;stroke-width:4.1978;stroke-linecap:round;stroke-linejoin:round}.Design_svg__st10,.Design_svg__st12{stroke:#fff;stroke-width:6.2967}.Design_svg__st12{fill:#54cafa;stroke:#1a1a1a;stroke-width:4.1978}"),React.createElement("path",{style:{fill:"none"},d:"M0 0h3000v3000H0z"}),React.createElement("path",{d:"M1241.6 2499.5h1588.8s-130.2 243.6-858.4 225.7-653.5-132.7-653.5-132.7-306.2-3.9-347.2-37.4c-41-33.4-336.2 48.7-486 9.1s0-63.7 0-63.7l756.3-1z",className:"Design_svg__st1"}),React.createElement("path",{d:"M275 2500.6h2559.9c128.7-287.9-29.2-580.6-224.1-630.7-176.4-45.4-425.2 97.3-492.9 366.9-32.2-30.9-119.7-106.1-249.3-117.6-160.4-14.3-320.6 74.5-414.5 226.9-26.3-25-296.5-273.9-672.2-201.7-322.8 62-481.8 314.8-506.9 356.2z",className:"Design_svg__st1"}),React.createElement("circle",{r:71.8,cy:1707.8,cx:2744.2,className:"Design_svg__st1"}),React.createElement("path",{d:"M2495.2 408.3c0-74.2-60.2-134.4-134.4-134.4H751.3c-74.2 0-134.4 60.2-134.4 134.4v7.5h1878.4v-7.5z",className:"Design_svg__st2"}),React.createElement("path",{d:"M616.8 415.8v937.3c0 74.2 60.2 134.4 134.4 134.4h1609.5c74.2 0 134.4-60.2 134.4-134.4V415.8H616.8z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2693.5 845.5h-282.1c-7.3 0-13.3-6-13.3-13.3V716.9c0-7.3 6-13.3 13.3-13.3h282.1c7.3 0 13.3 6 13.3 13.3v115.3c0 7.3-5.9 13.3-13.3 13.3z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2693.5 1028.2h-282.1c-7.3 0-13.3-6-13.3-13.3V899.6c0-7.3 6-13.3 13.3-13.3h282.1c7.3 0 13.3 6 13.3 13.3v115.3c0 7.3-5.9 13.3-13.3 13.3z",className:"Design_svg__st2"}),React.createElement("path",{d:"M1795.6 854.5s-13 3.9-20.2 1.9",className:"Design_svg__st1"}),React.createElement("path",{d:"M766.2 899.4s1.2 4.3 3.7 12",className:"Design_svg__st3"}),React.createElement("path",{d:"M778.3 935.2c34.8 92.3 151.1 336.4 430.4 416 230.9 65.8 369.8 44 422.3 30.1",style:{fill:"none",stroke:"#1a1a1a",strokeWidth:4.1978,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"25.2713,25.2713"}}),React.createElement("path",{d:"M1643.1 1377.8c7.9-2.5 11.9-4.2 11.9-4.2M833.4 415.8v12.5",className:"Design_svg__st3"}),React.createElement("path",{style:{fill:"none",stroke:"#1a1a1a",strokeWidth:4.1978,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"25.5263,25.5263"},d:"M833.4 453.9v1008.3"}),React.createElement("path",{className:"Design_svg__st3",d:"M833.4 1474.9v12.6M616.8 530.6h12.6"}),React.createElement("path",{style:{fill:"none",stroke:"#1a1a1a",strokeWidth:4.1978,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"25.3864,25.3864"},d:"M654.8 530.6h1815.1"}),React.createElement("path",{className:"Design_svg__st3",d:"M2482.6 530.6h12.6"}),React.createElement("path",{className:"Design_svg__st7",d:"m528.2 1441.1 56.1 73 128.5-98.7-54.2-74.5z"}),React.createElement("path",{d:"m809.1 1421.5 135.2-103.8-5-117-89.8 69c5 15.1.2 32.4-13.2 42.6-13.4 10.3-31.3 10.4-44.6 1.7-3.6-2.3-6.8-5.3-9.5-8.8-3.1-4.1-5.3-8.6-6.6-13.3-4-14.7.9-30.9 13.7-40.8 12.8-9.8 29.8-10.4 42.9-2.7l90.4-69.4-111.8-35-135.2 103.8-11.7 89-5.4 4.1 54.2 74.5 7.3-5.6 89.1 11.7z",className:"Design_svg__st7"}),React.createElement("path",{className:"Design_svg__st7",transform:"rotate(-37.533 529.74 1497.782)",d:"M496.5 1451.8h66.6v92.1h-66.6z"}),React.createElement("path",{className:"Design_svg__st7",transform:"rotate(-37.533 427.942 1575.969)",d:"M333 1530h190.1v92.1H333z"}),React.createElement("path",{className:"Design_svg__st8",d:"m528.2 1441.1 56.1 73 128.5-98.7-54.2-74.5z"}),React.createElement("path",{d:"m809.1 1421.5 135.2-103.8-5-117-89.8 69c5 15.1.2 32.4-13.2 42.6-13.4 10.3-31.3 10.4-44.6 1.7-3.6-2.3-6.8-5.3-9.5-8.8-3.1-4.1-5.3-8.6-6.6-13.3-4-14.7.9-30.9 13.7-40.8 12.8-9.8 29.8-10.4 42.9-2.7l90.4-69.4-111.8-35-135.2 103.8-11.7 89-5.4 4.1 54.2 74.5 7.3-5.6 89.1 11.7z",className:"Design_svg__st8"}),React.createElement("path",{className:"Design_svg__st2",transform:"rotate(-37.533 529.74 1497.782)",d:"M496.5 1451.8h66.6v92.1h-66.6z"}),React.createElement("path",{className:"Design_svg__st8",transform:"rotate(-37.533 427.942 1575.969)",d:"M333 1530h190.1v92.1H333z"}),React.createElement("path",{className:"Design_svg__st9",d:"m528.2 1441.1 56.1 73 128.5-98.7-54.2-74.5z"}),React.createElement("path",{d:"m809.1 1421.5 135.2-103.8-5-117-89.8 69c5 15.1.2 32.4-13.2 42.6-13.4 10.3-31.3 10.4-44.6 1.7-3.6-2.3-6.8-5.3-9.5-8.8-3.1-4.1-5.3-8.6-6.6-13.3-4-14.7.9-30.9 13.7-40.8 12.8-9.8 29.8-10.4 42.9-2.7l90.4-69.4-111.8-35-135.2 103.8-11.7 89-5.4 4.1 54.2 74.5 7.3-5.6 89.1 11.7z",className:"Design_svg__st9"}),React.createElement("path",{className:"Design_svg__st9",transform:"rotate(-37.533 529.74 1497.782)",d:"M496.5 1451.8h66.6v92.1h-66.6z"}),React.createElement("path",{className:"Design_svg__st9",transform:"rotate(-37.533 427.942 1575.969)",d:"M333 1530h190.1v92.1H333z"}),React.createElement("path",{d:"M544 730.4v-57.9h-59.7c-2.4-8.6-5.8-16.7-10-24.2l42.2-42.2-40.9-40.9-42.2 42.2c-7.5-4.3-15.7-7.7-24.2-10v-59.7h-57.9v59.7c-8.6 2.4-16.7 5.8-24.2 10l-42.2-42.2-41.1 40.8 42.2 42.2c-4.3 7.5-7.7 15.7-10 24.2h-59.7v57.9H276c2.4 8.6 5.8 16.7 10 24.2l-42.2 42.2 40.9 40.9 42.2-42.2c7.5 4.3 15.7 7.7 24.2 10v59.7H409v-59.7c8.6-2.4 16.7-5.8 24.2-10l42.2 42.2 40.9-40.9-42.2-42.2c4.3-7.5 7.7-15.7 10-24.2H544zm-113.7 0c-5.1 8.8-12.4 16.1-21.2 21.2-4.3 2.5-9 4.5-14 5.8-4.8 1.3-9.8 2-15 2-5.2 0-10.2-.7-15-2-5-1.3-9.6-3.3-13.9-5.8-8.8-5.1-16.1-12.4-21.2-21.2-2.5-4.3-4.5-9-5.8-14-1.3-4.8-1.9-9.8-1.9-15 0-5.2.7-10.2 2-15 1.3-5 3.3-9.6 5.8-14 5.1-8.8 12.4-16.1 21.2-21.2 4.3-2.5 9-4.5 13.9-5.8 4.8-1.3 9.8-2 15-2 5.2 0 10.2.7 15 2 5 1.3 9.6 3.3 14 5.8 8.8 5.1 16.1 12.4 21.2 21.2 2.5 4.3 4.5 9 5.8 14 1.3 4.8 2 9.8 2 15 0 5.2-.7 10.2-1.9 15-1.5 5-3.5 9.7-6 14z",className:"Design_svg__st1"}),React.createElement("circle",{r:36.7,cy:344.8,cx:835.9,className:"Design_svg__st1"}),React.createElement("path",{d:"M1223.5 372.2H938.1c-4.5 0-8.2-3.7-8.2-8.2v-32.2c0-4.5 3.7-8.2 8.2-8.2h285.5c4.5 0 8.2 3.7 8.2 8.2V364c-.1 4.5-3.7 8.2-8.3 8.2zM911.8 544.4v217.1c0 23.6 19.1 42.6 42.6 42.6h1046.2c23.6 0 42.6-19.1 42.6-42.6V544.4H911.8z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2043.4 525.6c0-23.6-19.1-42.6-42.6-42.6H954.5c-23.6 0-42.6 19.1-42.6 42.6v18.8h1131.5v-18.8z",className:"Design_svg__st2"}),React.createElement("path",{d:"M2023 872.5H932.2c-11.2 0-20.3 9.1-20.3 20.3v148.7c0 11.2 9.1 20.3 20.3 20.3H2023c11.2 0 20.3-9.1 20.3-20.3V892.8c.1-11.2-9-20.3-20.3-20.3z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1362.3 2107.5c-26.7-24.9-56.1-56.2-49.9-92.1 4.7-27.1 28.4-46.1 45.1-68 23.1-30.3 33.9-70.6 25.2-107.6-8.7-37.1-38.2-69.4-75.3-78-37.1-8.6-79.7 9.2-96.6 43.4-13.2 26.7-10.2 58.2-12.9 87.9-2.7 29.7-15.5 63.1-43.9 71.9-23.8 7.4-49-5.3-69.3-19.8-20.3-14.5-40.4-31.7-65.1-34.9-29-3.7-58 14.3-72.7 39.6-14.7 25.3-16.7 56.4-11.6 85.1 5.2 28.8 16.9 55.9 28.6 82.7l-76.9 88.1-25.2 293.8H1126c27.2-12.3 52.7-28.5 77.9-44.6 20.9-13.3 41.7-26.6 62.6-39.9 14.1-9 29.8-20.5 30.7-37.2 1.9-33.9-55.8-47-54.9-81 .4-13.8 11.6-25.5 24.3-30.9 12.7-5.4 26.9-5.9 40.7-6.8 21.2-1.4 42.7-3.9 62-12.8 19.2-8.9 36.1-25.3 40.6-46.1 7.8-35.6-20.9-67.9-47.6-92.8z",className:"Design_svg__st2"}),React.createElement("path",{d:"M1250.4 1943.2s-27.9 162.4-114.8 242.4c-86.9 79.9-101.8 187-98.1 234.3s-39.8 79.7-39.8 79.7",className:"Design_svg__st10"}),React.createElement("path",{d:"M1149.6 2350.2s-78-26.8-109.9 20.2M1048.8 2143.4s36.9 17.9 34.6 105.5M1259.1 2104.9s-26.3 38.4-92.2 45.3",className:"Design_svg__st10"}),React.createElement("path",{d:"M979.5 2431.8c27.4-53.8-.1-96.5-45.7-126.2-45-41.8-11.1-69.3 28.9-94.7 71.9-62.8.3-177.2-87.7-139.6-31.6 15.3-68.3 59.2-105.2 33.5-21.2-16.8-14.2-49.5-11.9-76.5 7-67.6-43.9-163.9-120.9-151.5-34.3 8.6-53.9 45.6-85.8 60.8-94.3 41-167.5-91.8-259.4-83.2-178.3 40-121.7 351.7 133.6 313.2 20.4 1.7 41.7 9.4 53.1 26.4 37.1 58.1-57.8 127-22.3 185.4 30.9 44.4 92.2 21.5 137.1 20.6 63-1.9 88.1 53 53.3 99.5H891c36.7-12.4 69.8-32.4 88.5-67.7z",className:"Design_svg__st1"}),React.createElement("path",{d:"m729.8 2499.5 19.6-37.3c85.9-296.9-364.1-451.9-364.1-451.9",className:"Design_svg__st1"}),React.createElement("path",{d:"M790.5 2228.8s10.3 66.2-36.2 105M600.6 2010.3c1.2 3.1 37.8 64.4 8 121.5M605 2222.6s78.7-9.1 107.2 16.3M405.2 2056.4s42.9 13.7 81.5-1.2",className:"Design_svg__st1"}),React.createElement("path",{style:{fill:"none",stroke:"#1a1a1a",strokeWidth:6.2967,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:"M66 2499.8h2868"}),React.createElement("path",{className:"Design_svg__st2",d:"m1083.6 1329 20.9-46 40.4 19.5-19.7 45.3zM1709.8 2557.3c-3.4-11.1-7.5-24-8.6-25-1.9-1.9-59.3 0-59.3 0s-8.9 4.3-22.2 11c22 26 56.5 24.2 90.1 14z"}),React.createElement("path",{d:"M1719.1 2606.1c.8-7.6-.4-17.9-4.3-32.4 0 0-2.3-7.7-5-16.5-33.6 10.2-68 12.1-90.1-14.1-37 18.6-107.9 55.4-115.5 68.8-4.7 8.3-7.1 18.7-5.5 27.5 73.6 6.8 153.9-.9 220.4-33.3z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1498.7 2639.6c1.9 10.6 9.5 18.9 26.1 18.7 30.3-.5 141.5-18.2 163.8-26.1 14.9-5.3 28.6-7.6 30.5-26-66.5 32.3-146.8 40-220.4 33.4z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2496.5 2480.7c-14.4-14.8-27.4-26-27.4-26l-75.6 36.9s-11.1 10.5-25.7 24.4c46.7 11.4 100.4 0 128.7-35.3z",className:"Design_svg__st2"}),React.createElement("path",{d:"M2354.3 2610.4c-22.3 6.4-47.1 9.1-70.6 4.5.7 2.5 1.8 5 3.4 7.8 8.9 15.4 67.7 2.3 126.5-18.2 54.4-19 120.7-44 120.1-70.8-46.5 48.5-119.6 54.3-179.4 76.7z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2496.5 2480.7c-28.3 35.3-82 46.7-128.7 35.3-25.1 23.9-60.7 57.9-69.5 67.1-11.5 11.9-17.6 20.6-14.6 31.9 23.5 4.6 48.3 1.9 70.6-4.5 59.8-22.4 132.9-28.3 179.4-76.7 0-2.2-.5-4.4-1.5-6.6-6.5-14.6-21.8-32.2-35.7-46.5z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2075.7 1798.7c23.7 229 292.5 691.5 298.1 697.1s87.8 11.2 100.8-28-74.7-334.2-106.4-435.1c22.4-106.4 29.9-399.6-28-515.7s-145.6-130.3-145.6-130.3l-151.2 50.4",className:"Design_svg__st1"}),React.createElement("path",{d:"M2208.7 1561.3s36.3 71.9-36.5 191.4c-88.7 145.6-335.5 204.1-404.6 226.6 19.3 156.8-35.5 514.1-64.1 568.9-29.9 19.9-74.7-8.7-74.7-8.7s-79.7-407-42.3-624.9 372.2-413.3 372.2-413.3l161.2-64.1",className:"Design_svg__st1"}),React.createElement("path",{d:"M1927.3 1520.8s94.2 22.3 150.3 2.1c56.1-20.2 121.6-49.4 131.1-101l-.2-25.5-261.9 104-19.3 20.4z",className:"Design_svg__st2"}),React.createElement("path",{d:"M1872.5 942.3s-30.8-67.2-26.1-98 71.9-65.4.9-127.9-119.5 8.4-124.2 40.1-4.7 85.9 52.3 99.9l-1.9 104.6",className:"Design_svg__st1"}),React.createElement("path",{className:"Design_svg__st2",d:"m1796.8 852.2-21.4 4.2-.2 9.5z"}),React.createElement("path",{d:"M2126 600.6s-42-55.5-92.4-58.3-59.8 21-48.1 35 41.1 18.7 47.6 18.7-19.6 13.5-17.3 19.1 24.3 2.3 35.5-1.9 33.1-5.6 38.7 2.8 36-15.4 36-15.4z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1887.4 947s172.7 22.4 217.5-53.2 24.8-210.8-22.4-267c-11-11.3.9-23.3 14.9-28.9s28.9-15.9 51.3 15.9 113.9 185.8 95.7 329.6c-16.7 132.1-77.1 199.8-162 210.1-89.5-88-195-206.5-195-206.5z",className:"Design_svg__st12"}),React.createElement("path",{d:"M1199.4 854.1s-53.2-66.3-55.1-93.4 3.7-41.1 20.5-45.3 23.3 21.9 36.4 27.5 31.3-15.4 34.1 1.9-20.5 52.3-18.7 71.4 9.8 24.7 9.8 24.7l-27 13.2z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1810 1164.5c-404.2 76.6-618.1-301.7-622.2-310.3s23.3-34.4 36.5-27.7c13.3 6.7 272 142.8 479.2 131.6 60.7-3.7 66.8-4.2 88.7-13.1s84-24.3 101.3-10.7 86.4 53.7 177.8 169.4 145.6 277.3 136.3 306.2-85.9 114.8-242.7 106.4c-113-9.3-300.5-206.8-341.6-348.7",className:"Design_svg__st12"}),React.createElement("path",{d:"M1725.5 699.2c-5.1-42.8 45.3-68.6 82-53 53.1 15.3 56.8 86.6 106.1 105.3 13 4 27.3 2.2 40.2 6.3 42.1 13.8 44.3 72 14.3 99.7-37.5 38.9-121.6 47.9-139.9-14.4-7.2-19.9-27.8-42.9 4.8-50.4 32-14.9 20.3-51-15.3-38.6-17.2-.7-33.6-9.8-49.6-15.6-20-5.2-40.3-16.9-42.6-39.3z",className:"Design_svg__st2"}),React.createElement("path",{className:"Design_svg__st1",d:"M2439.3 1115.3h219.9v69.7h-219.9zM2439.3 1214.8h132.4v51.1h-132.4zM2398.1 1107.1h21.9v166.6h-21.9zM190.8 1022.9h310.4v209.7H190.8z"}),React.createElement("path",{className:"Design_svg__st1",d:"m279.2 1162.2 46.4-80.4 46.4 80.4z"}),React.createElement("ellipse",{ry:42.3,rx:41.3,cy:1123.3,cx:382.5,className:"Design_svg__st2"}),React.createElement("path",{d:"M2697.3 490.3c2.8 12.5 11.4 22.3 22.6 27.6l-24.4 5.4-19.2-13-139.9 31 29.8 20.2 186.2-41.3.3-.2c21.8-6.6 35.4-27.7 30.7-48.8-4.9-22.2-28.2-35.9-52-30.6-23.8 5.2-39 27.5-34.1 49.7zm76.1-16.9c3.8 17-8 34.1-26.2 38.2-18.3 4.1-36.1-6.5-39.9-23.5-3.8-17 8-34.1 26.2-38.2 18.3-4 36.1 6.5 39.9 23.5z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2726.2 620.3c23.6 5.9 47.3-7.1 52.8-29.2 5.3-20.9-7.8-42.5-29.3-49.7l-.3-.2-177-44.4-38.4 17.4 139 34.9 19.5-12.5 24.2 6.1c-11.4 4.9-20.3 14.5-23.4 26.9-5.4 22.1 9.2 44.8 32.9 50.7zm2.3-9.3c-18.1-4.6-29.4-22-25.2-38.9 4.2-16.9 22.4-26.9 40.5-22.4s29.4 22 25.1 38.9c-4.1 16.9-22.2 27-40.4 22.4z",className:"Design_svg__st1"}),React.createElement("circle",{r:11.4,cy:529.8,cx:2665.2,className:"Design_svg__st1"}));var k="data:image/svg+xml;base64,PHN2ZyB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDAwIDMwMDAiIHZpZXdCb3g9IjAgMCAzMDAwIDMwMDAiIHk9IjAiIHg9IjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9IkxheWVyXzEiIHZlcnNpb249IjEuMSI+PHN0eWxlPi5zdDF7ZmlsbDojZmZmO3N0cm9rZS13aWR0aDo0LjE5Nzg7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0MSwuc3QyLC5zdDN7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kfS5zdDJ7ZmlsbDojMWMwMzExO3N0cm9rZS13aWR0aDoyLjA5ODk7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0M3tmaWxsOm5vbmU7c3Ryb2tlLXdpZHRoOjQuMTk3OH0uc3Q3e2ZpbGw6I2ZmZn0uc3QxMCwuc3QxMiwuc3Q4LC5zdDl7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS13aWR0aDoyLjA5ODk7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0MTAsLnN0MTIsLnN0OXtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NC4xOTc4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZH0uc3QxMCwuc3QxMntzdHJva2U6I2ZmZjtzdHJva2Utd2lkdGg6Ni4yOTY3fS5zdDEye2ZpbGw6IzU0Y2FmYTtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NC4xOTc4fTwvc3R5bGU+PHBhdGggc3R5bGU9ImZpbGw6bm9uZSIgZD0iTTAgMGgzMDAwdjMwMDBIMHoiLz48cGF0aCBkPSJNMTI0MS42IDI0OTkuNWgxNTg4LjhzLTEzMC4yIDI0My42LTg1OC40IDIyNS43LTY1My41LTEzMi43LTY1My41LTEzMi43LTMwNi4yLTMuOS0zNDcuMi0zNy40Yy00MS0zMy40LTMzNi4yIDQ4LjctNDg2IDkuMXMwLTYzLjcgMC02My43bDc1Ni4zLTF6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTI3NSAyNTAwLjZoMjU1OS45YzEyOC43LTI4Ny45LTI5LjItNTgwLjYtMjI0LjEtNjMwLjctMTc2LjQtNDUuNC00MjUuMiA5Ny4zLTQ5Mi45IDM2Ni45LTMyLjItMzAuOS0xMTkuNy0xMDYuMS0yNDkuMy0xMTcuNi0xNjAuNC0xNC4zLTMyMC42IDc0LjUtNDE0LjUgMjI2LjktMjYuMy0yNS0yOTYuNS0yNzMuOS02NzIuMi0yMDEuNy0zMjIuOCA2Mi00ODEuOCAzMTQuOC01MDYuOSAzNTYuMnoiIGNsYXNzPSJzdDEiLz48Y2lyY2xlIHI9IjcxLjgiIGN5PSIxNzA3LjgiIGN4PSIyNzQ0LjIiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjQ5NS4yIDQwOC4zYzAtNzQuMi02MC4yLTEzNC40LTEzNC40LTEzNC40SDc1MS4zYy03NC4yIDAtMTM0LjQgNjAuMi0xMzQuNCAxMzQuNHY3LjVoMTg3OC40di03LjV6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTYxNi44IDQxNS44djkzNy4zYzAgNzQuMiA2MC4yIDEzNC40IDEzNC40IDEzNC40aDE2MDkuNWM3NC4yIDAgMTM0LjQtNjAuMiAxMzQuNC0xMzQuNFY0MTUuOEg2MTYuOHoiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjY5My41IDg0NS41aC0yODIuMWMtNy4zIDAtMTMuMy02LTEzLjMtMTMuM1Y3MTYuOWMwLTcuMyA2LTEzLjMgMTMuMy0xMy4zaDI4Mi4xYzcuMyAwIDEzLjMgNiAxMy4zIDEzLjN2MTE1LjNjMCA3LjMtNS45IDEzLjMtMTMuMyAxMy4zeiIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0yNjkzLjUgMTAyOC4yaC0yODIuMWMtNy4zIDAtMTMuMy02LTEzLjMtMTMuM1Y4OTkuNmMwLTcuMyA2LTEzLjMgMTMuMy0xMy4zaDI4Mi4xYzcuMyAwIDEzLjMgNiAxMy4zIDEzLjN2MTE1LjNjMCA3LjMtNS45IDEzLjMtMTMuMyAxMy4zeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xNzk1LjYgODU0LjVzLTEzIDMuOS0yMC4yIDEuOSIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik03NjYuMiA4OTkuNHMxLjIgNC4zIDMuNyAxMiIgY2xhc3M9InN0MyIvPjxwYXRoIGQ9Ik03NzguMyA5MzUuMmMzNC44IDkyLjMgMTUxLjEgMzM2LjQgNDMwLjQgNDE2IDIzMC45IDY1LjggMzY5LjggNDQgNDIyLjMgMzAuMSIgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NC4xOTc4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtZGFzaGFycmF5OjI1LjI3MTMsMjUuMjcxMyIvPjxwYXRoIGQ9Ik0xNjQzLjEgMTM3Ny44YzcuOS0yLjUgMTEuOS00LjIgMTEuOS00LjJNODMzLjQgNDE1Ljh2MTIuNSIgY2xhc3M9InN0MyIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLXdpZHRoOjQuMTk3ODtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWRhc2hhcnJheToyNS41MjYzLDI1LjUyNjMiIGQ9Ik04MzMuNCA0NTMuOXYxMDA4LjMiLz48cGF0aCBjbGFzcz0ic3QzIiBkPSJNODMzLjQgMTQ3NC45djEyLjZNNjE2LjggNTMwLjZoMTIuNiIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLXdpZHRoOjQuMTk3ODtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWRhc2hhcnJheToyNS4zODY0LDI1LjM4NjQiIGQ9Ik02NTQuOCA1MzAuNmgxODE1LjEiLz48cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjQ4Mi42IDUzMC42aDEyLjYiLz48cGF0aCBjbGFzcz0ic3Q3IiBkPSJtNTI4LjIgMTQ0MS4xIDU2LjEgNzMgMTI4LjUtOTguNy01NC4yLTc0LjV6Ii8+PHBhdGggZD0ibTgwOS4xIDE0MjEuNSAxMzUuMi0xMDMuOC01LTExNy04OS44IDY5YzUgMTUuMS4yIDMyLjQtMTMuMiA0Mi42LTEzLjQgMTAuMy0zMS4zIDEwLjQtNDQuNiAxLjctMy42LTIuMy02LjgtNS4zLTkuNS04LjgtMy4xLTQuMS01LjMtOC42LTYuNi0xMy4zLTQtMTQuNy45LTMwLjkgMTMuNy00MC44IDEyLjgtOS44IDI5LjgtMTAuNCA0Mi45LTIuN2w5MC40LTY5LjQtMTExLjgtMzUtMTM1LjIgMTAzLjgtMTEuNyA4OS01LjQgNC4xIDU0LjIgNzQuNSA3LjMtNS42IDg5LjEgMTEuN3oiIGNsYXNzPSJzdDciLz48cGF0aCBjbGFzcz0ic3Q3IiB0cmFuc2Zvcm09InJvdGF0ZSgtMzcuNTMzIDUyOS43NCAxNDk3Ljc4MikiIGQ9Ik00OTYuNSAxNDUxLjhoNjYuNnY5Mi4xaC02Ni42eiIvPjxwYXRoIGNsYXNzPSJzdDciIHRyYW5zZm9ybT0icm90YXRlKC0zNy41MzMgNDI3Ljk0MiAxNTc1Ljk2OSkiIGQ9Ik0zMzMgMTUzMGgxOTAuMXY5Mi4xSDMzM3oiLz48cGF0aCBjbGFzcz0ic3Q4IiBkPSJtNTI4LjIgMTQ0MS4xIDU2LjEgNzMgMTI4LjUtOTguNy01NC4yLTc0LjV6Ii8+PHBhdGggZD0ibTgwOS4xIDE0MjEuNSAxMzUuMi0xMDMuOC01LTExNy04OS44IDY5YzUgMTUuMS4yIDMyLjQtMTMuMiA0Mi42LTEzLjQgMTAuMy0zMS4zIDEwLjQtNDQuNiAxLjctMy42LTIuMy02LjgtNS4zLTkuNS04LjgtMy4xLTQuMS01LjMtOC42LTYuNi0xMy4zLTQtMTQuNy45LTMwLjkgMTMuNy00MC44IDEyLjgtOS44IDI5LjgtMTAuNCA0Mi45LTIuN2w5MC40LTY5LjQtMTExLjgtMzUtMTM1LjIgMTAzLjgtMTEuNyA4OS01LjQgNC4xIDU0LjIgNzQuNSA3LjMtNS42IDg5LjEgMTEuN3oiIGNsYXNzPSJzdDgiLz48cGF0aCBjbGFzcz0ic3QyIiB0cmFuc2Zvcm09InJvdGF0ZSgtMzcuNTMzIDUyOS43NCAxNDk3Ljc4MikiIGQ9Ik00OTYuNSAxNDUxLjhoNjYuNnY5Mi4xaC02Ni42eiIvPjxwYXRoIGNsYXNzPSJzdDgiIHRyYW5zZm9ybT0icm90YXRlKC0zNy41MzMgNDI3Ljk0MiAxNTc1Ljk2OSkiIGQ9Ik0zMzMgMTUzMGgxOTAuMXY5Mi4xSDMzM3oiLz48cGF0aCBjbGFzcz0ic3Q5IiBkPSJtNTI4LjIgMTQ0MS4xIDU2LjEgNzMgMTI4LjUtOTguNy01NC4yLTc0LjV6Ii8+PHBhdGggZD0ibTgwOS4xIDE0MjEuNSAxMzUuMi0xMDMuOC01LTExNy04OS44IDY5YzUgMTUuMS4yIDMyLjQtMTMuMiA0Mi42LTEzLjQgMTAuMy0zMS4zIDEwLjQtNDQuNiAxLjctMy42LTIuMy02LjgtNS4zLTkuNS04LjgtMy4xLTQuMS01LjMtOC42LTYuNi0xMy4zLTQtMTQuNy45LTMwLjkgMTMuNy00MC44IDEyLjgtOS44IDI5LjgtMTAuNCA0Mi45LTIuN2w5MC40LTY5LjQtMTExLjgtMzUtMTM1LjIgMTAzLjgtMTEuNyA4OS01LjQgNC4xIDU0LjIgNzQuNSA3LjMtNS42IDg5LjEgMTEuN3oiIGNsYXNzPSJzdDkiLz48cGF0aCBjbGFzcz0ic3Q5IiB0cmFuc2Zvcm09InJvdGF0ZSgtMzcuNTMzIDUyOS43NCAxNDk3Ljc4MikiIGQ9Ik00OTYuNSAxNDUxLjhoNjYuNnY5Mi4xaC02Ni42eiIvPjxwYXRoIGNsYXNzPSJzdDkiIHRyYW5zZm9ybT0icm90YXRlKC0zNy41MzMgNDI3Ljk0MiAxNTc1Ljk2OSkiIGQ9Ik0zMzMgMTUzMGgxOTAuMXY5Mi4xSDMzM3oiLz48cGF0aCBkPSJNNTQ0IDczMC40di01Ny45aC01OS43Yy0yLjQtOC42LTUuOC0xNi43LTEwLTI0LjJsNDIuMi00Mi4yLTQwLjktNDAuOS00Mi4yIDQyLjJjLTcuNS00LjMtMTUuNy03LjctMjQuMi0xMHYtNTkuN2gtNTcuOXY1OS43Yy04LjYgMi40LTE2LjcgNS44LTI0LjIgMTBsLTQyLjItNDIuMi00MS4xIDQwLjggNDIuMiA0Mi4yYy00LjMgNy41LTcuNyAxNS43LTEwIDI0LjJoLTU5Ljd2NTcuOUgyNzZjMi40IDguNiA1LjggMTYuNyAxMCAyNC4ybC00Mi4yIDQyLjIgNDAuOSA0MC45IDQyLjItNDIuMmM3LjUgNC4zIDE1LjcgNy43IDI0LjIgMTB2NTkuN0g0MDl2LTU5LjdjOC42LTIuNCAxNi43LTUuOCAyNC4yLTEwbDQyLjIgNDIuMiA0MC45LTQwLjktNDIuMi00Mi4yYzQuMy03LjUgNy43LTE1LjcgMTAtMjQuMkg1NDR6bS0xMTMuNyAwYy01LjEgOC44LTEyLjQgMTYuMS0yMS4yIDIxLjItNC4zIDIuNS05IDQuNS0xNCA1LjgtNC44IDEuMy05LjggMi0xNSAyLTUuMiAwLTEwLjItLjctMTUtMi01LTEuMy05LjYtMy4zLTEzLjktNS44LTguOC01LjEtMTYuMS0xMi40LTIxLjItMjEuMi0yLjUtNC4zLTQuNS05LTUuOC0xNC0xLjMtNC44LTEuOS05LjgtMS45LTE1IDAtNS4yLjctMTAuMiAyLTE1IDEuMy01IDMuMy05LjYgNS44LTE0IDUuMS04LjggMTIuNC0xNi4xIDIxLjItMjEuMiA0LjMtMi41IDktNC41IDEzLjktNS44IDQuOC0xLjMgOS44LTIgMTUtMiA1LjIgMCAxMC4yLjcgMTUgMiA1IDEuMyA5LjYgMy4zIDE0IDUuOCA4LjggNS4xIDE2LjEgMTIuNCAyMS4yIDIxLjIgMi41IDQuMyA0LjUgOSA1LjggMTQgMS4zIDQuOCAyIDkuOCAyIDE1IDAgNS4yLS43IDEwLjItMS45IDE1LTEuNSA1LTMuNSA5LjctNiAxNHoiIGNsYXNzPSJzdDEiLz48Y2lyY2xlIHI9IjM2LjciIGN5PSIzNDQuOCIgY3g9IjgzNS45IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTEyMjMuNSAzNzIuMkg5MzguMWMtNC41IDAtOC4yLTMuNy04LjItOC4ydi0zMi4yYzAtNC41IDMuNy04LjIgOC4yLTguMmgyODUuNWM0LjUgMCA4LjIgMy43IDguMiA4LjJWMzY0Yy0uMSA0LjUtMy43IDguMi04LjMgOC4yek05MTEuOCA1NDQuNHYyMTcuMWMwIDIzLjYgMTkuMSA0Mi42IDQyLjYgNDIuNmgxMDQ2LjJjMjMuNiAwIDQyLjYtMTkuMSA0Mi42LTQyLjZWNTQ0LjRIOTExLjh6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTIwNDMuNCA1MjUuNmMwLTIzLjYtMTkuMS00Mi42LTQyLjYtNDIuNkg5NTQuNWMtMjMuNiAwLTQyLjYgMTkuMS00Mi42IDQyLjZ2MTguOGgxMTMxLjV2LTE4Ljh6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTIwMjMgODcyLjVIOTMyLjJjLTExLjIgMC0yMC4zIDkuMS0yMC4zIDIwLjN2MTQ4LjdjMCAxMS4yIDkuMSAyMC4zIDIwLjMgMjAuM0gyMDIzYzExLjIgMCAyMC4zLTkuMSAyMC4zLTIwLjNWODkyLjhjLjEtMTEuMi05LTIwLjMtMjAuMy0yMC4zeiIgY2xhc3M9InN0MSIvPjxnPjxwYXRoIGQ9Ik0xMzYyLjMgMjEwNy41Yy0yNi43LTI0LjktNTYuMS01Ni4yLTQ5LjktOTIuMSA0LjctMjcuMSAyOC40LTQ2LjEgNDUuMS02OCAyMy4xLTMwLjMgMzMuOS03MC42IDI1LjItMTA3LjYtOC43LTM3LjEtMzguMi02OS40LTc1LjMtNzgtMzcuMS04LjYtNzkuNyA5LjItOTYuNiA0My40LTEzLjIgMjYuNy0xMC4yIDU4LjItMTIuOSA4Ny45LTIuNyAyOS43LTE1LjUgNjMuMS00My45IDcxLjktMjMuOCA3LjQtNDktNS4zLTY5LjMtMTkuOC0yMC4zLTE0LjUtNDAuNC0zMS43LTY1LjEtMzQuOS0yOS0zLjctNTggMTQuMy03Mi43IDM5LjYtMTQuNyAyNS4zLTE2LjcgNTYuNC0xMS42IDg1LjEgNS4yIDI4LjggMTYuOSA1NS45IDI4LjYgODIuN2wtNzYuOSA4OC4xLTI1LjIgMjkzLjhIMTEyNmMyNy4yLTEyLjMgNTIuNy0yOC41IDc3LjktNDQuNiAyMC45LTEzLjMgNDEuNy0yNi42IDYyLjYtMzkuOSAxNC4xLTkgMjkuOC0yMC41IDMwLjctMzcuMiAxLjktMzMuOS01NS44LTQ3LTU0LjktODEgLjQtMTMuOCAxMS42LTI1LjUgMjQuMy0zMC45IDEyLjctNS40IDI2LjktNS45IDQwLjctNi44IDIxLjItMS40IDQyLjctMy45IDYyLTEyLjggMTkuMi04LjkgMzYuMS0yNS4zIDQwLjYtNDYuMSA3LjgtMzUuNi0yMC45LTY3LjktNDcuNi05Mi44eiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMjUwLjQgMTk0My4ycy0yNy45IDE2Mi40LTExNC44IDI0Mi40Yy04Ni45IDc5LjktMTAxLjggMTg3LTk4LjEgMjM0LjNzLTM5LjggNzkuNy0zOS44IDc5LjciIGNsYXNzPSJzdDEwIi8+PHBhdGggZD0iTTExNDkuNiAyMzUwLjJzLTc4LTI2LjgtMTA5LjkgMjAuMk0xMDQ4LjggMjE0My40czM2LjkgMTcuOSAzNC42IDEwNS41TTEyNTkuMSAyMTA0LjlzLTI2LjMgMzguNC05Mi4yIDQ1LjMiIGNsYXNzPSJzdDEwIi8+PC9nPjxnPjxwYXRoIGQ9Ik05NzkuNSAyNDMxLjhjMjcuNC01My44LS4xLTk2LjUtNDUuNy0xMjYuMi00NS00MS44LTExLjEtNjkuMyAyOC45LTk0LjcgNzEuOS02Mi44LjMtMTc3LjItODcuNy0xMzkuNi0zMS42IDE1LjMtNjguMyA1OS4yLTEwNS4yIDMzLjUtMjEuMi0xNi44LTE0LjItNDkuNS0xMS45LTc2LjUgNy02Ny42LTQzLjktMTYzLjktMTIwLjktMTUxLjUtMzQuMyA4LjYtNTMuOSA0NS42LTg1LjggNjAuOC05NC4zIDQxLTE2Ny41LTkxLjgtMjU5LjQtODMuMi0xNzguMyA0MC0xMjEuNyAzNTEuNyAxMzMuNiAzMTMuMiAyMC40IDEuNyA0MS43IDkuNCA1My4xIDI2LjQgMzcuMSA1OC4xLTU3LjggMTI3LTIyLjMgMTg1LjQgMzAuOSA0NC40IDkyLjIgMjEuNSAxMzcuMSAyMC42IDYzLTEuOSA4OC4xIDUzIDUzLjMgOTkuNUg4OTFjMzYuNy0xMi40IDY5LjgtMzIuNCA4OC41LTY3Ljd6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0ibTcyOS44IDI0OTkuNSAxOS42LTM3LjNjODUuOS0yOTYuOS0zNjQuMS00NTEuOS0zNjQuMS00NTEuOSIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik03OTAuNSAyMjI4LjhzMTAuMyA2Ni4yLTM2LjIgMTA1TTYwMC42IDIwMTAuM2MxLjIgMy4xIDM3LjggNjQuNCA4IDEyMS41TTYwNSAyMjIyLjZzNzguNy05LjEgMTA3LjIgMTYuM000MDUuMiAyMDU2LjRzNDIuOSAxMy43IDgxLjUtMS4yIiBjbGFzcz0ic3QxIi8+PC9nPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLXdpZHRoOjYuMjk2NztzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTAiIGQ9Ik02NiAyNDk5LjhoMjg2OCIvPjxwYXRoIGNsYXNzPSJzdDIiIGQ9Im0xMDgzLjYgMTMyOSAyMC45LTQ2IDQwLjQgMTkuNS0xOS43IDQ1LjN6Ii8+PGc+PHBhdGggZD0iTTE3MDkuOCAyNTU3LjNjLTMuNC0xMS4xLTcuNS0yNC04LjYtMjUtMS45LTEuOS01OS4zIDAtNTkuMyAwcy04LjkgNC4zLTIyLjIgMTFjMjIgMjYgNTYuNSAyNC4yIDkwLjEgMTR6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTE3MTkuMSAyNjA2LjFjLjgtNy42LS40LTE3LjktNC4zLTMyLjQgMCAwLTIuMy03LjctNS0xNi41LTMzLjYgMTAuMi02OCAxMi4xLTkwLjEtMTQuMS0zNyAxOC42LTEwNy45IDU1LjQtMTE1LjUgNjguOC00LjcgOC4zLTcuMSAxOC43LTUuNSAyNy41IDczLjYgNi44IDE1My45LS45IDIyMC40LTMzLjN6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTE0OTguNyAyNjM5LjZjMS45IDEwLjYgOS41IDE4LjkgMjYuMSAxOC43IDMwLjMtLjUgMTQxLjUtMTguMiAxNjMuOC0yNi4xIDE0LjktNS4zIDI4LjYtNy42IDMwLjUtMjYtNjYuNSAzMi4zLTE0Ni44IDQwLTIyMC40IDMzLjR6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTI0OTYuNSAyNDgwLjdjLTE0LjQtMTQuOC0yNy40LTI2LTI3LjQtMjZsLTc1LjYgMzYuOXMtMTEuMSAxMC41LTI1LjcgMjQuNGM0Ni43IDExLjQgMTAwLjQgMCAxMjguNy0zNS4zeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0yMzU0LjMgMjYxMC40Yy0yMi4zIDYuNC00Ny4xIDkuMS03MC42IDQuNS43IDIuNSAxLjggNSAzLjQgNy44IDguOSAxNS40IDY3LjcgMi4zIDEyNi41LTE4LjIgNTQuNC0xOSAxMjAuNy00NCAxMjAuMS03MC44LTQ2LjUgNDguNS0xMTkuNiA1NC4zLTE3OS40IDc2Ljd6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTI0OTYuNSAyNDgwLjdjLTI4LjMgMzUuMy04MiA0Ni43LTEyOC43IDM1LjMtMjUuMSAyMy45LTYwLjcgNTcuOS02OS41IDY3LjEtMTEuNSAxMS45LTE3LjYgMjAuNi0xNC42IDMxLjkgMjMuNSA0LjYgNDguMyAxLjkgNzAuNi00LjUgNTkuOC0yMi40IDEzMi45LTI4LjMgMTc5LjQtNzYuNyAwLTIuMi0uNS00LjQtMS41LTYuNi02LjUtMTQuNi0yMS44LTMyLjItMzUuNy00Ni41eiIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0yMDc1LjcgMTc5OC43YzIzLjcgMjI5IDI5Mi41IDY5MS41IDI5OC4xIDY5Ny4xczg3LjggMTEuMiAxMDAuOC0yOC03NC43LTMzNC4yLTEwNi40LTQzNS4xYzIyLjQtMTA2LjQgMjkuOS0zOTkuNi0yOC01MTUuN3MtMTQ1LjYtMTMwLjMtMTQ1LjYtMTMwLjNsLTE1MS4yIDUwLjQiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjIwOC43IDE1NjEuM3MzNi4zIDcxLjktMzYuNSAxOTEuNGMtODguNyAxNDUuNi0zMzUuNSAyMDQuMS00MDQuNiAyMjYuNiAxOS4zIDE1Ni44LTM1LjUgNTE0LjEtNjQuMSA1NjguOS0yOS45IDE5LjktNzQuNy04LjctNzQuNy04LjdzLTc5LjctNDA3LTQyLjMtNjI0LjkgMzcyLjItNDEzLjMgMzcyLjItNDEzLjNsMTYxLjItNjQuMSIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0xOTI3LjMgMTUyMC44czk0LjIgMjIuMyAxNTAuMyAyLjFjNTYuMS0yMC4yIDEyMS42LTQ5LjQgMTMxLjEtMTAxbC0uMi0yNS41LTI2MS45IDEwNC0xOS4zIDIwLjR6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTE4NzIuNSA5NDIuM3MtMzAuOC02Ny4yLTI2LjEtOTggNzEuOS02NS40LjktMTI3LjktMTE5LjUgOC40LTEyNC4yIDQwLjEtNC43IDg1LjkgNTIuMyA5OS45bC0xLjkgMTA0LjYiIGNsYXNzPSJzdDEiLz48cGF0aCBjbGFzcz0ic3QyIiBkPSJtMTc5Ni44IDg1Mi4yLTIxLjQgNC4yLS4yIDkuNXoiLz48cGF0aCBkPSJNMjEyNiA2MDAuNnMtNDItNTUuNS05Mi40LTU4LjMtNTkuOCAyMS00OC4xIDM1IDQxLjEgMTguNyA0Ny42IDE4LjctMTkuNiAxMy41LTE3LjMgMTkuMSAyNC4zIDIuMyAzNS41LTEuOSAzMy4xLTUuNiAzOC43IDIuOCAzNi0xNS40IDM2LTE1LjR6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTE4ODcuNCA5NDdzMTcyLjcgMjIuNCAyMTcuNS01My4yIDI0LjgtMjEwLjgtMjIuNC0yNjdjLTExLTExLjMuOS0yMy4zIDE0LjktMjguOXMyOC45LTE1LjkgNTEuMyAxNS45IDExMy45IDE4NS44IDk1LjcgMzI5LjZjLTE2LjcgMTMyLjEtNzcuMSAxOTkuOC0xNjIgMjEwLjEtODkuNS04OC0xOTUtMjA2LjUtMTk1LTIwNi41eiIgY2xhc3M9InN0MTIiLz48cGF0aCBkPSJNMTE5OS40IDg1NC4xcy01My4yLTY2LjMtNTUuMS05My40IDMuNy00MS4xIDIwLjUtNDUuMyAyMy4zIDIxLjkgMzYuNCAyNy41IDMxLjMtMTUuNCAzNC4xIDEuOS0yMC41IDUyLjMtMTguNyA3MS40IDkuOCAyNC43IDkuOCAyNC43bC0yNyAxMy4yeiIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0xODEwIDExNjQuNWMtNDA0LjIgNzYuNi02MTguMS0zMDEuNy02MjIuMi0zMTAuM3MyMy4zLTM0LjQgMzYuNS0yNy43YzEzLjMgNi43IDI3MiAxNDIuOCA0NzkuMiAxMzEuNiA2MC43LTMuNyA2Ni44LTQuMiA4OC43LTEzLjFzODQtMjQuMyAxMDEuMy0xMC43IDg2LjQgNTMuNyAxNzcuOCAxNjkuNCAxNDUuNiAyNzcuMyAxMzYuMyAzMDYuMi04NS45IDExNC44LTI0Mi43IDEwNi40Yy0xMTMtOS4zLTMwMC41LTIwNi44LTM0MS42LTM0OC43IiBjbGFzcz0ic3QxMiIvPjxwYXRoIGQ9Ik0xNzI1LjUgNjk5LjJjLTUuMS00Mi44IDQ1LjMtNjguNiA4Mi01MyA1My4xIDE1LjMgNTYuOCA4Ni42IDEwNi4xIDEwNS4zIDEzIDQgMjcuMyAyLjIgNDAuMiA2LjMgNDIuMSAxMy44IDQ0LjMgNzIgMTQuMyA5OS43LTM3LjUgMzguOS0xMjEuNiA0Ny45LTEzOS45LTE0LjQtNy4yLTE5LjktMjcuOC00Mi45IDQuOC01MC40IDMyLTE0LjkgMjAuMy01MS0xNS4zLTM4LjYtMTcuMi0uNy0zMy42LTkuOC00OS42LTE1LjYtMjAtNS4yLTQwLjMtMTYuOS00Mi42LTM5LjN6IiBjbGFzcz0ic3QyIi8+PC9nPjxnPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yNDM5LjMgMTExNS4zaDIxOS45djY5LjdoLTIxOS45ek0yNDM5LjMgMTIxNC44aDEzMi40djUxLjFoLTEzMi40ek0yMzk4LjEgMTEwNy4xaDIxLjl2MTY2LjZoLTIxLjl6Ii8+PC9nPjxnPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xOTAuOCAxMDIyLjloMzEwLjR2MjA5LjdIMTkwLjh6Ii8+PHBhdGggY2xhc3M9InN0MSIgZD0ibTI3OS4yIDExNjIuMiA0Ni40LTgwLjQgNDYuNCA4MC40eiIvPjxlbGxpcHNlIHJ5PSI0Mi4zIiByeD0iNDEuMyIgY3k9IjExMjMuMyIgY3g9IjM4Mi41IiBjbGFzcz0ic3QyIi8+PC9nPjxnPjxwYXRoIGQ9Ik0yNjk3LjMgNDkwLjNjMi44IDEyLjUgMTEuNCAyMi4zIDIyLjYgMjcuNmwtMjQuNCA1LjQtMTkuMi0xMy0xMzkuOSAzMSAyOS44IDIwLjIgMTg2LjItNDEuMy4zLS4yYzIxLjgtNi42IDM1LjQtMjcuNyAzMC43LTQ4LjgtNC45LTIyLjItMjguMi0zNS45LTUyLTMwLjYtMjMuOCA1LjItMzkgMjcuNS0zNC4xIDQ5Ljd6bTc2LjEtMTYuOWMzLjggMTctOCAzNC4xLTI2LjIgMzguMi0xOC4zIDQuMS0zNi4xLTYuNS0zOS45LTIzLjUtMy44LTE3IDgtMzQuMSAyNi4yLTM4LjIgMTguMy00IDM2LjEgNi41IDM5LjkgMjMuNXoiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjcyNi4yIDYyMC4zYzIzLjYgNS45IDQ3LjMtNy4xIDUyLjgtMjkuMiA1LjMtMjAuOS03LjgtNDIuNS0yOS4zLTQ5LjdsLS4zLS4yLTE3Ny00NC40LTM4LjQgMTcuNCAxMzkgMzQuOSAxOS41LTEyLjUgMjQuMiA2LjFjLTExLjQgNC45LTIwLjMgMTQuNS0yMy40IDI2LjktNS40IDIyLjEgOS4yIDQ0LjggMzIuOSA1MC43em0yLjMtOS4zYy0xOC4xLTQuNi0yOS40LTIyLTI1LjItMzguOSA0LjItMTYuOSAyMi40LTI2LjkgNDAuNS0yMi40czI5LjQgMjIgMjUuMSAzOC45Yy00LjEgMTYuOS0yMi4yIDI3LTQwLjQgMjIuNHoiIGNsYXNzPSJzdDEiLz48Y2lyY2xlIHI9IjExLjQiIGN5PSI1MjkuOCIgY3g9IjI2NjUuMiIgY2xhc3M9InN0MSIvPjwvZz48L3N2Zz4=",t=M(85893),w=function(e){var L=e.visible,j=e.onCancel;return(0,t.jsx)(n.Z,{open:L,width:900,title:"\u5E2E\u52A9\u6587\u6863",footer:null,bodyStyle:{minHeight:360},onCancel:j,children:(0,t.jsxs)(g.Z,{gutter:18,children:[(0,t.jsx)(y.Z,{span:12,children:(0,t.jsx)(i.Z,{hoverable:!0,bordered:!1,className:"help-card-left",children:(0,t.jsx)(D.Z,{image:A,imageStyle:{height:200},description:(0,t.jsx)("span",{className:"help-title",children:"\u{1F3A8}\u4E86\u89E3\u6570\u636E\u5DE5\u5382\u76F8\u5173\u5185\u5BB9"})})})}),(0,t.jsx)(y.Z,{span:12,children:(0,t.jsx)(i.Z,{hoverable:!0,bordered:!1,className:"help-card-right",children:(0,t.jsx)(D.Z,{image:k,imageStyle:{height:200},description:(0,t.jsx)("span",{className:"help-title",children:"\u{1F64B}\u200D\u2642\uFE0F\u5B66\u4E60\u521B\u5EFA\u4E00\u4E2A\u573A\u666F"})})})})]})})},d=M(78045),h=M(37594),U=M(67),o=M(1413),R={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.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},Z=R,b=M(84089),P=function(L,j){return u.createElement(b.Z,(0,o.Z)((0,o.Z)({},L),{},{ref:j,icon:Z}))};P.displayName="StarOutlined";var B=u.forwardRef(P),f=M(1832),H=M(65429),F=function(){var e=[{label:"\u5168\u90E8\u573A\u666F",value:"0"},{label:"\u6536\u85CF\u573A\u666F",value:"1"},{label:"\u70ED\u95E8\u573A\u666F",value:"2"},{label:"\u9AD8\u8D5E\u573A\u666F",value:"3"}],L=(0,u.useState)("0"),j=a()(L,2),G=j[0],p=j[1];return(0,t.jsx)(i.Z,{children:(0,t.jsxs)(d.ZP.Group,{onChange:function(V){p(V.target.value)},value:G,buttonStyle:"solid",children:[(0,t.jsxs)(d.ZP.Button,{value:"0",children:[(0,t.jsx)(U.Z,{})," \u5168\u90E8"]}),(0,t.jsxs)(d.ZP.Button,{value:"1",children:[(0,t.jsx)(B,{})," \u6536\u85CF"]}),(0,t.jsxs)(d.ZP.Button,{value:"2",children:[(0,t.jsx)(f.Z,{})," \u6700\u70ED"]}),(0,t.jsxs)(d.ZP.Button,{value:"3",children:[(0,t.jsx)(H.Z,{})," \u6700\u8D5E"]})]})})},W=function(){return(0,t.jsxs)(g.Z,{gutter:12,className:"factory-body",children:[(0,t.jsx)(y.Z,{span:6,children:(0,t.jsx)(i.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"})}),(0,t.jsxs)(y.Z,{span:6,children:[(0,t.jsx)(i.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"}),(0,t.jsx)(i.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"})]}),(0,t.jsxs)(y.Z,{span:6,children:[(0,t.jsx)(i.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"}),(0,t.jsx)(i.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"})]}),(0,t.jsx)(y.Z,{span:6})]})},X=M(99138),J=function(){var e=(0,u.useState)(!0),L=a()(e,2),j=L[0],G=L[1];return(0,t.jsxs)(T._z,{title:!1,breadcrumb:null,children:[(0,t.jsx)(X.Z,{type:"warning",banner:!0,message:"\u9F9F\u901F\u5F00\u53D1\u4E2D...",style:{marginBottom:12}}),(0,t.jsx)(w,{open:j,onCancel:function(){return G(!1)}}),(0,t.jsx)(F,{}),(0,t.jsx)(W,{})]})}}}]); diff --git a/statics/p__datafactory__index.ad3e8f20.async.js b/statics/p__datafactory__index.ad3e8f20.async.js new file mode 100644 index 00000000..ab652f51 --- /dev/null +++ b/statics/p__datafactory__index.ad3e8f20.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[2030],{16165:function(C,T,M){var I=M(1413),g=M(4942),y=M(45987),i=M(67294),D=M(93967),s=M.n(D),a=M(63017),c=M(56736),E=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],u=i.forwardRef(function(e,n){var S=e.className,x=e.component,l=e.viewBox,Y=e.spin,A=e.rotate,O=e.tabIndex,r=e.onClick,z=e.children,Q=(0,y.Z)(e,E);(0,c.Kp)(Boolean(x||z),"Should have `component` prop or `children`."),(0,c.C3)();var m=i.useContext(a.Z),v=m.prefixCls,_=v===void 0?"anticon":v,k=m.rootClassName,t=s()(k,_,S),U=s()((0,g.Z)({},"".concat(_,"-spin"),!!Y)),d=A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,h=(0,I.Z)((0,I.Z)({},c.vD),{},{className:U,style:d,viewBox:l});l||delete h.viewBox;var w=function(){return x?i.createElement(x,(0,I.Z)({},h),z):z?((0,c.Kp)(Boolean(l)||i.Children.count(z)===1&&i.isValidElement(z)&&i.Children.only(z).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),i.createElement("svg",(0,I.Z)((0,I.Z)({},h),{},{viewBox:l}),z)):null},o=O;return o===void 0&&r&&(o=-1),i.createElement("span",(0,I.Z)((0,I.Z)({role:"img"},Q),{},{ref:n,tabIndex:o,onClick:r,className:t}),w())});u.displayName="AntdIcon",T.Z=u},91321:function(C,T,M){M.d(T,{Z:function(){return E}});var I=M(1413),g=M(45987),y=M(67294),i=M(16165),D=["type","children"],s=new Set;function a(u){return Boolean(typeof u=="string"&&u.length&&!s.has(u))}function c(u){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=u[e];if(a(n)){var S=document.createElement("script");S.setAttribute("src",n),S.setAttribute("data-namespace",n),u.length>e+1&&(S.onload=function(){c(u,e+1)},S.onerror=function(){c(u,e+1)}),s.add(n),document.body.appendChild(S)}}function E(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=u.scriptUrl,n=u.extraCommonProps,S=n===void 0?{}:n;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?c(e.reverse()):c([e]));var x=y.forwardRef(function(l,Y){var A=l.type,O=l.children,r=(0,g.Z)(l,D),z=null;return l.type&&(z=y.createElement("use",{xlinkHref:"#".concat(A)})),O&&(z=O),y.createElement(i.Z,(0,I.Z)((0,I.Z)((0,I.Z)({},S),r),{},{ref:Y}),z)});return x.displayName="Iconfont",x}},1832:function(C,T,M){M.d(T,{Z:function(){return c}});var I=M(1413),g=M(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},i=y,D=M(84089),s=function(u,e){return g.createElement(D.Z,(0,I.Z)((0,I.Z)({},u),{},{ref:e,icon:i}))},a=g.forwardRef(s),c=a},65429:function(C,T,M){M.d(T,{Z:function(){return c}});var I=M(1413),g=M(67294),y={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"},i=y,D=M(84089),s=function(u,e){return g.createElement(D.Z,(0,I.Z)((0,I.Z)({},u),{},{ref:e,icon:i}))},a=g.forwardRef(s),c=a},67:function(C,T,M){M.d(T,{Z:function(){return c}});var I=M(1413),g=M(67294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},i=y,D=M(84089),s=function(u,e){return g.createElement(D.Z,(0,I.Z)((0,I.Z)({},u),{},{ref:e,icon:i}))},a=g.forwardRef(s),c=a},37594:function(C,T,M){M.d(T,{B:function(){return y}});var I=M(91321),g="//at.alicdn.com/t/font_915840_2b8lahxt5xv.js",y=(0,I.Z)({scriptUrl:g})},97493:function(C,T,M){M.r(T),M.d(T,{default:function(){return V}});var I=M(5574),g=M.n(I),y=M(58841),i=M(67294),D=M(17788),s=M(71230),a=M(15746),c=M(4393),E=M(32983),u=Object.defineProperty,e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,x=(N,L,j)=>L in N?u(N,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):N[L]=j,l=(N,L)=>{for(var j in L||(L={}))n.call(L,j)&&x(N,j,L[j]);if(e)for(var j of e(L))S.call(L,j)&&x(N,j,L[j]);return N};const Y=N=>React.createElement("svg",l({xmlSpace:"preserve",style:{enableBackground:"new 0 0 3000 3000"},viewBox:"0 0 3000 3000",y:0,x:0,xmlns:"http://www.w3.org/2000/svg",id:"Study_svg__Layer_1"},N),React.createElement("style",null,".Study_svg__st2{fill:#fff;stroke-width:3.6807}.Study_svg__st2,.Study_svg__st3,.Study_svg__st4,.Study_svg__st5{stroke:#1a1a1a;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.Study_svg__st3{fill:#1c0311;stroke-width:1.8403}.Study_svg__st4,.Study_svg__st5{stroke-width:3.6807}.Study_svg__st4{fill:none;stroke-dasharray:22.0841}.Study_svg__st5{fill:#54cafa}"),React.createElement("path",{style:{fill:"none"},d:"M0 0h3000v3000H0z"}),React.createElement("path",{d:"M1910.8 2413.6c-30.5-71.3 28.1-205.2 103.3-261.6 92.9-69.7 259.7-13.3 273.8-4.6 5.3-12.3 89.7-198.8 261.6-205.7 133-5.4 194.4 41.5 246.2 217.2 4.4-1.9 70.4 2.3 112.9 47 51 53.6 46.2 176.5-.2 255h-943.6c-33.6-11.7-47.5-32.3-54-47.3z",style:{fill:"none",stroke:"#1a1a1a",strokeWidth:5.521,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10}}),React.createElement("path",{d:"M2392 2196.4c-104.6-80.3-225.1-54.1-241.5-50.3-14.6-113.3-95.7-202.7-197.4-221.9-114.4-21.6-200.9 55.8-210.9 65-34.3-70.8-110.5-203-259.9-301.6-167.1-110.3-475.2-211.3-698.8-51.5-119.4 85.4-169.6 213-191.2 294.2-143.8-58.3-309.9-3.2-389.8 128.7-78.9 130.3-52.7 300.7 62.5 401.8h2236c1.1-8 17-167.7-109-264.4zM2343.8 1521.9H775.5c-36.1 0-65.4-29.3-65.4-65.4V428.9c0-36.1 29.3-65.4 65.4-65.4h1568.3c36.1 0 65.4 29.3 65.4 65.4v1027.7c0 36.1-29.3 65.3-65.4 65.3z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2370.5 494.7c0-57.9-46.9-104.8-104.8-104.8H853.6c-57.9 0-104.8 46.9-104.8 104.8v15.9h1621.7v-15.9z",className:"Study_svg__st3"}),React.createElement("path",{d:"M748.8 510.6v880.2c0 57.9 46.9 104.8 104.8 104.8h1412.1c57.9 0 104.8-46.9 104.8-104.8V510.6H748.8z",className:"Study_svg__st2"}),React.createElement("path",{className:"Study_svg__st4",d:"M748.8 643h1621.7"}),React.createElement("path",{className:"Study_svg__st3",d:"M1596.4 554.7h165.5v47.8h-165.5z"}),React.createElement("path",{className:"Study_svg__st2",d:"M1820.8 554.7h165.5v47.8h-165.5zM2045.1 554.7h165.5v47.8h-165.5zM827.8 554.7h313.7v388H827.8z"}),React.createElement("path",{className:"Study_svg__st2",d:"M901.3 762h171.9v15.7H901.3zM876.4 807.9h221.7v15.7H876.4zM876.4 848.6h221.7v15.7H876.4z"}),React.createElement("circle",{r:54.7,cy:657.2,cx:984.7,className:"Study_svg__st3"}),React.createElement("path",{className:"Study_svg__st3",d:"M876.4 1417.5h210.9v37.2H876.4zM2252.9 1495.6H1206.6v-78.1H2367c-21.4 62.2-64.1 78.2-114.1 78.1z"}),React.createElement("path",{className:"Study_svg__st4",d:"M1206.6 510.6v985M1271 748.7h255.6v254.4H1271zM1634.1 748.7h255.6v254.4h-255.6zM1997.3 748.7h255.6v254.4h-255.6zM1271 1082.6h255.6V1337H1271zM1634.1 1082.6h255.6V1337h-255.6zM1997.3 1082.6h255.6V1337h-255.6z"}),React.createElement("path",{d:"M1510.7 983.7c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7v221.7z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1299.6 895.1c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M1872.8 983.7c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7v221.7z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1661.7 895.1c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M2234.8 983.7c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7v221.7z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2023.7 895.1c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M1510.7 1320c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7V1320z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1299.6 1231.4c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M1872.8 1320c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7V1320z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1661.7 1231.4c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M2234.8 1320c-71.6 4.1-158.1-2.3-179.1-21.6s-24.2-29.9-30.3-58.2c-8.4-39.5-11-89.6-12.3-141.9h221.7V1320z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2023.7 1231.4c8.6 36.1 58.3 36.8 58.3 36.8s1 30.6 23.7 47.1M107 2460.9h2655.3M2187.9 1620.6c14.1-28.8 8.6-47.2-11.6-43.5-20.2 3.7-139.8 57.6-152 71.7-7.6 8.7.7 48.1 8.2 77 .7-.4 1.4-.7 2.1-1 25.3-7.9 51.7-14.1 78.2-17-1.4-5.4-2.8-11-4.2-16.7 3.9-8 65.2-41.7 79.3-70.5z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2032.5 1725.8c4.6 17.9 8.9 31.8 8.9 31.8l81.5-11.3s-4.7-17.1-10.2-38.4c-26.5 2.9-52.8 9.1-78.2 17-.6.2-1.3.5-2 .9z",className:"Study_svg__st3"}),React.createElement("path",{d:"M2078.2 2196.1s-72.3-94.4-42.9-446.2c1.2-17.2 46.6-30.6 84.6-30.6 35.6 50.3 117.7 381.2 121.4 427.8 3.7 46.6-12.3 105.6-15.9 105.5-3.8-.1-147.2-56.5-147.2-56.5z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2077.7 1774.1s64.7 437.5 106.7 485.1",className:"Study_svg__st4"}),React.createElement("path",{d:"M2485.9 1786.9c-4.8 7.3-7.7 12-7.7 12s57.9 49.6 59.7 49.6c1.4 0 14.3-22.7 26.4-33.8-18.5-22.7-48-35.5-78.4-27.8z",className:"Study_svg__st3"}),React.createElement("path",{d:"M2711.4 1816.7c-15.9-19-113.4-105.4-146.5-106-25.4-.5-63 52-79 76.2 30.4-7.6 60 5.2 78.4 27.9 3.9-3.6 7.7-6 11-6 13.5 0 52.7 33.1 101.1 45.4 48.5 12.1 50.9-18.5 35-37.5z",className:"Study_svg__st2"}),React.createElement("path",{d:"M2485.2 1794c-246.4 170.4-278.3 420.8-278.3 420.8s-145.9-61.6-279.5-76.3c-133.6-14.7-280.7 88.7-280.7 88.7l.6 14.8 9.2 218.9h312.6c52.7 0 297.9 22.1 349.4-46.6 51.5-68.6 236.6-570 236.6-581.1 0-11-14.7-40.4-69.9-39.2z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1756.7 2347.4s377.8-26.2 473.6 0c74.8-150.9 231.5-469.2 290.9-512",className:"Study_svg__st4"}),React.createElement("path",{d:"M1651.8 2245.8s11.2-18.3 34.1 27.9c23 46.2 38.7 157.2-3.9 190.6l-32.8-2.3 2.6-216.2z",className:"Study_svg__st3"}),React.createElement("path",{d:"M929 2324.1s123.1-120.8 150-164.2c27.5-27.4 10.8-122.8 100.5-133.7 0 0 100.9-32.5 291.1 77.8 156.6 96.9 186.6 134.3 200.3 156.8 13.8 22.5 47.5 131.5-7.7 200.9-183 3.5-475.6-14.1-513.7-15",className:"Study_svg__st5"}),React.createElement("path",{d:"M937.5 2096.8s25.5-39 4.2-65.8c-21.3-26.8-34.3-61.8-21-82.6 13.3-20.8 34.8-21 47.2-1.9s72 84.9 49.2 112.8c-22.8 27.9-43.4 71.6-43.4 71.6l-36.2-34.1z",className:"Study_svg__st2"}),React.createElement("path",{d:"M995.3 2361c-81.7-29.4-18.5-200.8-12.3-222.2 6.2-21.4-29.8-39.6-38.1-48.2-8.3-8.6-16.8.7-16.8.7s-174.3 224-147.9 310.4c26.4 86.4 259.7 51.4 259.7 51.4s134 10.8 140.8 5.9 0-60.7 0-60.7",className:"Study_svg__st5"}),React.createElement("path",{d:"M1001.4 1818.8s-72.7 101-41.2 184.4 126.6 20.8 126.6 20.8",className:"Study_svg__st2"}),React.createElement("path",{d:"M1057.1 2038.7s18.8 106.7 37.2 132.3c64.2 14.6 94.7-60.8 92.9-136.2-26.4-16.7-50.9-77.7-50.9-77.7",className:"Study_svg__st2"}),React.createElement("path",{className:"Study_svg__st3",d:"m1082.6 2026.2-24.2 24.2-1.3-12.6zM996.5 1729.3c-10.1-3.7-58.8 92 29.1 128.4 25.7 14.3 33.6 11.6 25.7 28.4-7.9 16.9-6.1 34 4.7 36 10.9 2 29.3-12.2 36.9-22.3 7.6-10.1 33.4 7.7 28.6 25.6-4.8 17.9-23.2 26.6-22.3 33.6 10 19.5 15 39 55 26.7s36.9-84 32-106.8c-4.9-22.8-16-62.9-74.2-76.2s-105.4-69.6-115.5-73.4z"}),React.createElement("path",{d:"M1042.7 2397.5c-35.3 13.8-60 63.1-42.9 64.7 12.1 1.1 72.1.8 106.3.5-2.9-24.3-8-47.8-22.8-68.3-11.9-2.3-26.2-2.6-40.6 3.1z",className:"Study_svg__st2"}),React.createElement("path",{d:"M1323.5 2108.9s243.4 175.4 212.5 278.7c-30.9 103.4-393.9 74.8-407.7 74.6-14.3-13.1-37.7-92-28.1-97.9 9.6-5.9 163.4-1.8 175.8-15.2 12.4-13.4 16.7-20.9-25.2-56.1s-88.5-121.6-17.6-167.7c19.1-5.4 23.7-5.5 23.7-5.5M1083.9 2206.3s-16.2 62.6 11.5 105.7",className:"Study_svg__st5"}),React.createElement("path",{d:"M1112.5 2405.3s-12.1-7.6-29.3-10.9c14.9 20.5 19.9 44 22.8 68.3 14.2-.1 23.9-.2 23.9-.2s-10.5-53.6-17.4-57.2z",style:{fill:"#1c0311",stroke:"#1a1a1a",strokeWidth:3.6807,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10}}),React.createElement("path",{className:"Study_svg__st3",d:"M472.3 2424.7h253.8v34.3H472.3z"}),React.createElement("path",{d:"M376.5 2192.8c1.8 3.7 119.7 219.5 119.7 219.5l-25.1 10.9-117.7-215.1 23.1-15.3z",className:"Study_svg__st2"}),React.createElement("circle",{r:135.4,cy:1209.7,cx:472.3,className:"Study_svg__st2"}),React.createElement("path",{d:"M492.2 1182.1c9.4-5.5 15.7-15.7 15.7-27.4 0-17.5-14.2-31.7-31.7-31.7s-31.7 14.2-31.7 31.7c0 11.7 6.3 21.9 15.7 27.4-27.8 7.1-48.3 32.3-48.3 62.3v31h128.6v-31c0-30-20.5-55.2-48.3-62.3z",className:"Study_svg__st3"}),React.createElement("circle",{r:63,cy:1067.9,cx:2580.6,className:"Study_svg__st3"}),React.createElement("circle",{r:127,cy:1290.9,cx:2652.5,className:"Study_svg__st2"}),React.createElement("path",{d:"M494.2 771.9H228.3c-25.6 0-46.4 20.8-46.4 46.4v55.8c0 25.6 20.8 46.4 46.4 46.4h212.3c9.3 13.5 25 35.7 38.6 54.6 6.9 9.6 22 3.7 20.6-8l-5.5-46.7c25.5-.1 46.2-20.8 46.2-46.4v-55.8c0-25.6-20.7-46.3-46.3-46.3z",className:"Study_svg__st2"}),React.createElement("path",{className:"Study_svg__st2",d:"M236.1 802h237.5v21H236.1zM236.1 854.9h237.5v21H236.1z"}),React.createElement("path",{d:"M1043.7 1298.9V1279h-20.6c-.8-3-2-5.7-3.5-8.3l14.5-14.5-14.1-14.1-14.5 14.5c-2.6-1.5-5.4-2.6-8.3-3.5v-20.6h-19.9v20.6c-3 .8-5.7 2-8.3 3.5l-14.5-14.5-14.1 14.1 14.5 14.5c-1.5 2.6-2.6 5.4-3.5 8.3h-20.6v19.9h20.6c.8 3 2 5.7 3.5 8.3l-14.5 14.5 14.1 14.1 14.5-14.5c2.6 1.5 5.4 2.6 8.3 3.5v20.6h19.9v-20.6c3-.8 5.7-2 8.3-3.5l14.5 14.5 14.1-14.1-14.5-14.5c1.5-2.6 2.6-5.4 3.5-8.3h20.6zm-39.2 0c-1.8 3-4.3 5.6-7.3 7.3-1.5.9-3.1 1.5-4.8 2-1.6.4-3.4.7-5.2.7-1.8 0-3.5-.2-5.2-.7-1.7-.5-3.3-1.1-4.8-2-3-1.8-5.6-4.3-7.3-7.3-.9-1.5-1.5-3.1-2-4.8-.4-1.6-.7-3.4-.7-5.2s.2-3.5.7-5.2c.5-1.7 1.1-3.3 2-4.8 1.8-3 4.3-5.6 7.3-7.3 1.5-.9 3.1-1.5 4.8-2 1.6-.4 3.4-.7 5.2-.7 1.8 0 3.5.2 5.2.7 1.7.5 3.3 1.1 4.8 2 3 1.8 5.6 4.3 7.3 7.3.9 1.5 1.5 3.1 2 4.8.4 1.6.7 3.4.7 5.2s-.2 3.5-.7 5.2c-.4 1.7-1.1 3.3-2 4.8z",className:"Study_svg__st3"}));var A="data:image/svg+xml;base64,PHN2ZyB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDAwIDMwMDAiIHZpZXdCb3g9IjAgMCAzMDAwIDMwMDAiIHk9IjAiIHg9IjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9IkxheWVyXzEiIHZlcnNpb249IjEuMSI+PHN0eWxlPi5zdDJ7ZmlsbDojZmZmO3N0cm9rZS13aWR0aDozLjY4MDd9LnN0Miwuc3QzLC5zdDQsLnN0NXtzdHJva2U6IzFhMWExYTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0M3tmaWxsOiMxYzAzMTE7c3Ryb2tlLXdpZHRoOjEuODQwM30uc3Q0LC5zdDV7c3Ryb2tlLXdpZHRoOjMuNjgwN30uc3Q0e2ZpbGw6bm9uZTtzdHJva2UtZGFzaGFycmF5OjIyLjA4NDF9LnN0NXtmaWxsOiM1NGNhZmF9PC9zdHlsZT48cGF0aCBzdHlsZT0iZmlsbDpub25lIiBkPSJNMCAwaDMwMDB2MzAwMEgweiIvPjxwYXRoIGQ9Ik0xOTEwLjggMjQxMy42Yy0zMC41LTcxLjMgMjguMS0yMDUuMiAxMDMuMy0yNjEuNiA5Mi45LTY5LjcgMjU5LjctMTMuMyAyNzMuOC00LjYgNS4zLTEyLjMgODkuNy0xOTguOCAyNjEuNi0yMDUuNyAxMzMtNS40IDE5NC40IDQxLjUgMjQ2LjIgMjE3LjIgNC40LTEuOSA3MC40IDIuMyAxMTIuOSA0NyA1MSA1My42IDQ2LjIgMTc2LjUtLjIgMjU1aC05NDMuNmMtMzMuNi0xMS43LTQ3LjUtMzIuMy01NC00Ny4zeiIgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NS41MjE7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwIi8+PHBhdGggZD0iTTIzOTIgMjE5Ni40Yy0xMDQuNi04MC4zLTIyNS4xLTU0LjEtMjQxLjUtNTAuMy0xNC42LTExMy4zLTk1LjctMjAyLjctMTk3LjQtMjIxLjktMTE0LjQtMjEuNi0yMDAuOSA1NS44LTIxMC45IDY1LTM0LjMtNzAuOC0xMTAuNS0yMDMtMjU5LjktMzAxLjYtMTY3LjEtMTEwLjMtNDc1LjItMjExLjMtNjk4LjgtNTEuNS0xMTkuNCA4NS40LTE2OS42IDIxMy0xOTEuMiAyOTQuMi0xNDMuOC01OC4zLTMwOS45LTMuMi0zODkuOCAxMjguNy03OC45IDEzMC4zLTUyLjcgMzAwLjcgNjIuNSA0MDEuOGgyMjM2YzEuMS04IDE3LTE2Ny43LTEwOS0yNjQuNHpNMjM0My44IDE1MjEuOUg3NzUuNWMtMzYuMSAwLTY1LjQtMjkuMy02NS40LTY1LjRWNDI4LjljMC0zNi4xIDI5LjMtNjUuNCA2NS40LTY1LjRoMTU2OC4zYzM2LjEgMCA2NS40IDI5LjMgNjUuNCA2NS40djEwMjcuN2MwIDM2LjEtMjkuMyA2NS4zLTY1LjQgNjUuM3oiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjM3MC41IDQ5NC43YzAtNTcuOS00Ni45LTEwNC44LTEwNC44LTEwNC44SDg1My42Yy01Ny45IDAtMTA0LjggNDYuOS0xMDQuOCAxMDQuOHYxNS45aDE2MjEuN3YtMTUuOXoiIGNsYXNzPSJzdDMiLz48cGF0aCBkPSJNNzQ4LjggNTEwLjZ2ODgwLjJjMCA1Ny45IDQ2LjkgMTA0LjggMTA0LjggMTA0LjhoMTQxMi4xYzU3LjkgMCAxMDQuOC00Ni45IDEwNC44LTEwNC44VjUxMC42SDc0OC44eiIgY2xhc3M9InN0MiIvPjxwYXRoIGNsYXNzPSJzdDQiIGQ9Ik03NDguOCA2NDNoMTYyMS43Ii8+PHBhdGggY2xhc3M9InN0MyIgZD0iTTE1OTYuNCA1NTQuN2gxNjUuNXY0Ny44aC0xNjUuNXoiLz48cGF0aCBjbGFzcz0ic3QyIiBkPSJNMTgyMC44IDU1NC43aDE2NS41djQ3LjhoLTE2NS41ek0yMDQ1LjEgNTU0LjdoMTY1LjV2NDcuOGgtMTY1LjV6TTgyNy44IDU1NC43aDMxMy43djM4OEg4MjcuOHoiLz48cGF0aCBjbGFzcz0ic3QyIiBkPSJNOTAxLjMgNzYyaDE3MS45djE1LjdIOTAxLjN6TTg3Ni40IDgwNy45aDIyMS43djE1LjdIODc2LjR6TTg3Ni40IDg0OC42aDIyMS43djE1LjdIODc2LjR6Ii8+PGNpcmNsZSByPSI1NC43IiBjeT0iNjU3LjIiIGN4PSI5ODQuNyIgY2xhc3M9InN0MyIvPjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik04NzYuNCAxNDE3LjVoMjEwLjl2MzcuMkg4NzYuNHpNMjI1Mi45IDE0OTUuNkgxMjA2LjZ2LTc4LjFIMjM2N2MtMjEuNCA2Mi4yLTY0LjEgNzguMi0xMTQuMSA3OC4xeiIvPjxwYXRoIGNsYXNzPSJzdDQiIGQ9Ik0xMjA2LjYgNTEwLjZ2OTg1TTEyNzEgNzQ4LjdoMjU1LjZ2MjU0LjRIMTI3MXpNMTYzNC4xIDc0OC43aDI1NS42djI1NC40aC0yNTUuNnpNMTk5Ny4zIDc0OC43aDI1NS42djI1NC40aC0yNTUuNnpNMTI3MSAxMDgyLjZoMjU1LjZWMTMzN0gxMjcxek0xNjM0LjEgMTA4Mi42aDI1NS42VjEzMzdoLTI1NS42ek0xOTk3LjMgMTA4Mi42aDI1NS42VjEzMzdoLTI1NS42eiIvPjxwYXRoIGQ9Ik0xNTEwLjcgOTgzLjdjLTcxLjYgNC4xLTE1OC4xLTIuMy0xNzkuMS0yMS42cy0yNC4yLTI5LjktMzAuMy01OC4yYy04LjQtMzkuNS0xMS04OS42LTEyLjMtMTQxLjloMjIxLjd2MjIxLjd6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTEyOTkuNiA4OTUuMWM4LjYgMzYuMSA1OC4zIDM2LjggNTguMyAzNi44czEgMzAuNiAyMy43IDQ3LjFNMTg3Mi44IDk4My43Yy03MS42IDQuMS0xNTguMS0yLjMtMTc5LjEtMjEuNnMtMjQuMi0yOS45LTMwLjMtNTguMmMtOC40LTM5LjUtMTEtODkuNi0xMi4zLTE0MS45aDIyMS43djIyMS43eiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xNjYxLjcgODk1LjFjOC42IDM2LjEgNTguMyAzNi44IDU4LjMgMzYuOHMxIDMwLjYgMjMuNyA0Ny4xTTIyMzQuOCA5ODMuN2MtNzEuNiA0LjEtMTU4LjEtMi4zLTE3OS4xLTIxLjZzLTI0LjItMjkuOS0zMC4zLTU4LjJjLTguNC0zOS41LTExLTg5LjYtMTIuMy0xNDEuOWgyMjEuN3YyMjEuN3oiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjAyMy43IDg5NS4xYzguNiAzNi4xIDU4LjMgMzYuOCA1OC4zIDM2LjhzMSAzMC42IDIzLjcgNDcuMSIgY2xhc3M9InN0MiIvPjxnPjxwYXRoIGQ9Ik0xNTEwLjcgMTMyMGMtNzEuNiA0LjEtMTU4LjEtMi4zLTE3OS4xLTIxLjZzLTI0LjItMjkuOS0zMC4zLTU4LjJjLTguNC0zOS41LTExLTg5LjYtMTIuMy0xNDEuOWgyMjEuN1YxMzIweiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMjk5LjYgMTIzMS40YzguNiAzNi4xIDU4LjMgMzYuOCA1OC4zIDM2LjhzMSAzMC42IDIzLjcgNDcuMSIgY2xhc3M9InN0MiIvPjwvZz48Zz48cGF0aCBkPSJNMTg3Mi44IDEzMjBjLTcxLjYgNC4xLTE1OC4xLTIuMy0xNzkuMS0yMS42cy0yNC4yLTI5LjktMzAuMy01OC4yYy04LjQtMzkuNS0xMS04OS42LTEyLjMtMTQxLjloMjIxLjdWMTMyMHoiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMTY2MS43IDEyMzEuNGM4LjYgMzYuMSA1OC4zIDM2LjggNTguMyAzNi44czEgMzAuNiAyMy43IDQ3LjEiIGNsYXNzPSJzdDIiLz48L2c+PGc+PHBhdGggZD0iTTIyMzQuOCAxMzIwYy03MS42IDQuMS0xNTguMS0yLjMtMTc5LjEtMjEuNnMtMjQuMi0yOS45LTMwLjMtNTguMmMtOC40LTM5LjUtMTEtODkuNi0xMi4zLTE0MS45aDIyMS43VjEzMjB6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTIwMjMuNyAxMjMxLjRjOC42IDM2LjEgNTguMyAzNi44IDU4LjMgMzYuOHMxIDMwLjYgMjMuNyA0Ny4xIiBjbGFzcz0ic3QyIi8+PC9nPjxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik0xMDcgMjQ2MC45aDI2NTUuMyIvPjxnPjxwYXRoIGQ9Ik0yMTg3LjkgMTYyMC42YzE0LjEtMjguOCA4LjYtNDcuMi0xMS42LTQzLjUtMjAuMiAzLjctMTM5LjggNTcuNi0xNTIgNzEuNy03LjYgOC43LjcgNDguMSA4LjIgNzcgLjctLjQgMS40LS43IDIuMS0xIDI1LjMtNy45IDUxLjctMTQuMSA3OC4yLTE3LTEuNC01LjQtMi44LTExLTQuMi0xNi43IDMuOS04IDY1LjItNDEuNyA3OS4zLTcwLjV6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTIwMzIuNSAxNzI1LjhjNC42IDE3LjkgOC45IDMxLjggOC45IDMxLjhsODEuNS0xMS4zcy00LjctMTcuMS0xMC4yLTM4LjRjLTI2LjUgMi45LTUyLjggOS4xLTc4LjIgMTctLjYuMi0xLjMuNS0yIC45eiIgY2xhc3M9InN0MyIvPjxwYXRoIGQ9Ik0yMDc4LjIgMjE5Ni4xcy03Mi4zLTk0LjQtNDIuOS00NDYuMmMxLjItMTcuMiA0Ni42LTMwLjYgODQuNi0zMC42IDM1LjYgNTAuMyAxMTcuNyAzODEuMiAxMjEuNCA0MjcuOCAzLjcgNDYuNi0xMi4zIDEwNS42LTE1LjkgMTA1LjUtMy44LS4xLTE0Ny4yLTU2LjUtMTQ3LjItNTYuNXoiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjA3Ny43IDE3NzQuMXM2NC43IDQzNy41IDEwNi43IDQ4NS4xIiBjbGFzcz0ic3Q0Ii8+PHBhdGggZD0iTTI0ODUuOSAxNzg2LjljLTQuOCA3LjMtNy43IDEyLTcuNyAxMnM1Ny45IDQ5LjYgNTkuNyA0OS42YzEuNCAwIDE0LjMtMjIuNyAyNi40LTMzLjgtMTguNS0yMi43LTQ4LTM1LjUtNzguNC0yNy44eiIgY2xhc3M9InN0MyIvPjxwYXRoIGQ9Ik0yNzExLjQgMTgxNi43Yy0xNS45LTE5LTExMy40LTEwNS40LTE0Ni41LTEwNi0yNS40LS41LTYzIDUyLTc5IDc2LjIgMzAuNC03LjYgNjAgNS4yIDc4LjQgMjcuOSAzLjktMy42IDcuNy02IDExLTYgMTMuNSAwIDUyLjcgMzMuMSAxMDEuMSA0NS40IDQ4LjUgMTIuMSA1MC45LTE4LjUgMzUtMzcuNXoiIGNsYXNzPSJzdDIiLz48cGF0aCBkPSJNMjQ4NS4yIDE3OTRjLTI0Ni40IDE3MC40LTI3OC4zIDQyMC44LTI3OC4zIDQyMC44cy0xNDUuOS02MS42LTI3OS41LTc2LjNjLTEzMy42LTE0LjctMjgwLjcgODguNy0yODAuNyA4OC43bC42IDE0LjggOS4yIDIxOC45aDMxMi42YzUyLjcgMCAyOTcuOSAyMi4xIDM0OS40LTQ2LjYgNTEuNS02OC42IDIzNi42LTU3MCAyMzYuNi01ODEuMSAwLTExLTE0LjctNDAuNC02OS45LTM5LjJ6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTE3NTYuNyAyMzQ3LjRzMzc3LjgtMjYuMiA0NzMuNiAwYzc0LjgtMTUwLjkgMjMxLjUtNDY5LjIgMjkwLjktNTEyIiBjbGFzcz0ic3Q0Ii8+PHBhdGggZD0iTTE2NTEuOCAyMjQ1LjhzMTEuMi0xOC4zIDM0LjEgMjcuOWMyMyA0Ni4yIDM4LjcgMTU3LjItMy45IDE5MC42bC0zMi44LTIuMyAyLjYtMjE2LjJ6IiBjbGFzcz0ic3QzIi8+PHBhdGggZD0iTTkyOSAyMzI0LjFzMTIzLjEtMTIwLjggMTUwLTE2NC4yYzI3LjUtMjcuNCAxMC44LTEyMi44IDEwMC41LTEzMy43IDAgMCAxMDAuOS0zMi41IDI5MS4xIDc3LjggMTU2LjYgOTYuOSAxODYuNiAxMzQuMyAyMDAuMyAxNTYuOCAxMy44IDIyLjUgNDcuNSAxMzEuNS03LjcgMjAwLjktMTgzIDMuNS00NzUuNi0xNC4xLTUxMy43LTE1IiBjbGFzcz0ic3Q1Ii8+PHBhdGggZD0iTTkzNy41IDIwOTYuOHMyNS41LTM5IDQuMi02NS44Yy0yMS4zLTI2LjgtMzQuMy02MS44LTIxLTgyLjYgMTMuMy0yMC44IDM0LjgtMjEgNDcuMi0xLjlzNzIgODQuOSA0OS4yIDExMi44Yy0yMi44IDI3LjktNDMuNCA3MS42LTQzLjQgNzEuNmwtMzYuMi0zNC4xeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik05OTUuMyAyMzYxYy04MS43LTI5LjQtMTguNS0yMDAuOC0xMi4zLTIyMi4yIDYuMi0yMS40LTI5LjgtMzkuNi0zOC4xLTQ4LjItOC4zLTguNi0xNi44LjctMTYuOC43cy0xNzQuMyAyMjQtMTQ3LjkgMzEwLjRjMjYuNCA4Ni40IDI1OS43IDUxLjQgMjU5LjcgNTEuNHMxMzQgMTAuOCAxNDAuOCA1LjkgMC02MC43IDAtNjAuNyIgY2xhc3M9InN0NSIvPjxwYXRoIGQ9Ik0xMDAxLjQgMTgxOC44cy03Mi43IDEwMS00MS4yIDE4NC40IDEyNi42IDIwLjggMTI2LjYgMjAuOCIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMDU3LjEgMjAzOC43czE4LjggMTA2LjcgMzcuMiAxMzIuM2M2NC4yIDE0LjYgOTQuNy02MC44IDkyLjktMTM2LjItMjYuNC0xNi43LTUwLjktNzcuNy01MC45LTc3LjciIGNsYXNzPSJzdDIiLz48cGF0aCBjbGFzcz0ic3QzIiBkPSJtMTA4Mi42IDIwMjYuMi0yNC4yIDI0LjItMS4zLTEyLjZ6TTk5Ni41IDE3MjkuM2MtMTAuMS0zLjctNTguOCA5MiAyOS4xIDEyOC40IDI1LjcgMTQuMyAzMy42IDExLjYgMjUuNyAyOC40LTcuOSAxNi45LTYuMSAzNCA0LjcgMzYgMTAuOSAyIDI5LjMtMTIuMiAzNi45LTIyLjMgNy42LTEwLjEgMzMuNCA3LjcgMjguNiAyNS42LTQuOCAxNy45LTIzLjIgMjYuNi0yMi4zIDMzLjYgMTAgMTkuNSAxNSAzOSA1NSAyNi43czM2LjktODQgMzItMTA2LjhjLTQuOS0yMi44LTE2LTYyLjktNzQuMi03Ni4ycy0xMDUuNC02OS42LTExNS41LTczLjR6Ii8+PHBhdGggZD0iTTEwNDIuNyAyMzk3LjVjLTM1LjMgMTMuOC02MCA2My4xLTQyLjkgNjQuNyAxMi4xIDEuMSA3Mi4xLjggMTA2LjMuNS0yLjktMjQuMy04LTQ3LjgtMjIuOC02OC4zLTExLjktMi4zLTI2LjItMi42LTQwLjYgMy4xeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMzIzLjUgMjEwOC45czI0My40IDE3NS40IDIxMi41IDI3OC43Yy0zMC45IDEwMy40LTM5My45IDc0LjgtNDA3LjcgNzQuNi0xNC4zLTEzLjEtMzcuNy05Mi0yOC4xLTk3LjkgOS42LTUuOSAxNjMuNC0xLjggMTc1LjgtMTUuMiAxMi40LTEzLjQgMTYuNy0yMC45LTI1LjItNTYuMXMtODguNS0xMjEuNi0xNy42LTE2Ny43YzE5LjEtNS40IDIzLjctNS41IDIzLjctNS41TTEwODMuOSAyMjA2LjNzLTE2LjIgNjIuNiAxMS41IDEwNS43IiBjbGFzcz0ic3Q1Ii8+PHBhdGggZD0iTTExMTIuNSAyNDA1LjNzLTEyLjEtNy42LTI5LjMtMTAuOWMxNC45IDIwLjUgMTkuOSA0NCAyMi44IDY4LjMgMTQuMi0uMSAyMy45LS4yIDIzLjktLjJzLTEwLjUtNTMuNi0xNy40LTU3LjJ6IiBzdHlsZT0iZmlsbDojMWMwMzExO3N0cm9rZTojMWExYTFhO3N0cm9rZS13aWR0aDozLjY4MDc7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwIi8+PC9nPjxnPjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik00NzIuMyAyNDI0LjdoMjUzLjh2MzQuM0g0NzIuM3oiLz48cGF0aCBkPSJNMzc2LjUgMjE5Mi44YzEuOCAzLjcgMTE5LjcgMjE5LjUgMTE5LjcgMjE5LjVsLTI1LjEgMTAuOS0xMTcuNy0yMTUuMSAyMy4xLTE1LjN6IiBjbGFzcz0ic3QyIi8+PC9nPjxnPjxjaXJjbGUgcj0iMTM1LjQiIGN5PSIxMjA5LjciIGN4PSI0NzIuMyIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik00OTIuMiAxMTgyLjFjOS40LTUuNSAxNS43LTE1LjcgMTUuNy0yNy40IDAtMTcuNS0xNC4yLTMxLjctMzEuNy0zMS43cy0zMS43IDE0LjItMzEuNyAzMS43YzAgMTEuNyA2LjMgMjEuOSAxNS43IDI3LjQtMjcuOCA3LjEtNDguMyAzMi4zLTQ4LjMgNjIuM3YzMWgxMjguNnYtMzFjMC0zMC0yMC41LTU1LjItNDguMy02Mi4zeiIgY2xhc3M9InN0MyIvPjwvZz48Y2lyY2xlIHI9IjYzIiBjeT0iMTA2Ny45IiBjeD0iMjU4MC42IiBjbGFzcz0ic3QzIi8+PGNpcmNsZSByPSIxMjciIGN5PSIxMjkwLjkiIGN4PSIyNjUyLjUiIGNsYXNzPSJzdDIiLz48Zz48cGF0aCBkPSJNNDk0LjIgNzcxLjlIMjI4LjNjLTI1LjYgMC00Ni40IDIwLjgtNDYuNCA0Ni40djU1LjhjMCAyNS42IDIwLjggNDYuNCA0Ni40IDQ2LjRoMjEyLjNjOS4zIDEzLjUgMjUgMzUuNyAzOC42IDU0LjYgNi45IDkuNiAyMiAzLjcgMjAuNi04bC01LjUtNDYuN2MyNS41LS4xIDQ2LjItMjAuOCA0Ni4yLTQ2LjR2LTU1LjhjMC0yNS42LTIwLjctNDYuMy00Ni4zLTQ2LjN6IiBjbGFzcz0ic3QyIi8+PHBhdGggY2xhc3M9InN0MiIgZD0iTTIzNi4xIDgwMmgyMzcuNXYyMUgyMzYuMXpNMjM2LjEgODU0LjloMjM3LjV2MjFIMjM2LjF6Ii8+PC9nPjxwYXRoIGQ9Ik0xMDQzLjcgMTI5OC45VjEyNzloLTIwLjZjLS44LTMtMi01LjctMy41LTguM2wxNC41LTE0LjUtMTQuMS0xNC4xLTE0LjUgMTQuNWMtMi42LTEuNS01LjQtMi42LTguMy0zLjV2LTIwLjZoLTE5Ljl2MjAuNmMtMyAuOC01LjcgMi04LjMgMy41bC0xNC41LTE0LjUtMTQuMSAxNC4xIDE0LjUgMTQuNWMtMS41IDIuNi0yLjYgNS40LTMuNSA4LjNoLTIwLjZ2MTkuOWgyMC42Yy44IDMgMiA1LjcgMy41IDguM2wtMTQuNSAxNC41IDE0LjEgMTQuMSAxNC41LTE0LjVjMi42IDEuNSA1LjQgMi42IDguMyAzLjV2MjAuNmgxOS45di0yMC42YzMtLjggNS43LTIgOC4zLTMuNWwxNC41IDE0LjUgMTQuMS0xNC4xLTE0LjUtMTQuNWMxLjUtMi42IDIuNi01LjQgMy41LTguM2gyMC42em0tMzkuMiAwYy0xLjggMy00LjMgNS42LTcuMyA3LjMtMS41LjktMy4xIDEuNS00LjggMi0xLjYuNC0zLjQuNy01LjIuNy0xLjggMC0zLjUtLjItNS4yLS43LTEuNy0uNS0zLjMtMS4xLTQuOC0yLTMtMS44LTUuNi00LjMtNy4zLTcuMy0uOS0xLjUtMS41LTMuMS0yLTQuOC0uNC0xLjYtLjctMy40LS43LTUuMnMuMi0zLjUuNy01LjJjLjUtMS43IDEuMS0zLjMgMi00LjggMS44LTMgNC4zLTUuNiA3LjMtNy4zIDEuNS0uOSAzLjEtMS41IDQuOC0yIDEuNi0uNCAzLjQtLjcgNS4yLS43IDEuOCAwIDMuNS4yIDUuMi43IDEuNy41IDMuMyAxLjEgNC44IDIgMyAxLjggNS42IDQuMyA3LjMgNy4zLjkgMS41IDEuNSAzLjEgMiA0LjguNCAxLjYuNyAzLjQuNyA1LjJzLS4yIDMuNS0uNyA1LjJjLS40IDEuNy0xLjEgMy4zLTIgNC44eiIgY2xhc3M9InN0MyIvPjwvc3ZnPg==",O=Object.defineProperty,r=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,m=(N,L,j)=>L in N?O(N,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):N[L]=j,v=(N,L)=>{for(var j in L||(L={}))z.call(L,j)&&m(N,j,L[j]);if(r)for(var j of r(L))Q.call(L,j)&&m(N,j,L[j]);return N};const _=N=>React.createElement("svg",v({xmlSpace:"preserve",style:{enableBackground:"new 0 0 3000 3000"},viewBox:"0 0 3000 3000",y:0,x:0,xmlns:"http://www.w3.org/2000/svg",id:"Design_svg__Layer_1"},N),React.createElement("style",null,".Design_svg__st1{fill:#fff;stroke-width:4.1978;stroke-miterlimit:10}.Design_svg__st1,.Design_svg__st2,.Design_svg__st3{stroke:#1a1a1a;stroke-linecap:round;stroke-linejoin:round}.Design_svg__st2{fill:#1c0311;stroke-width:2.0989;stroke-miterlimit:10}.Design_svg__st3{fill:none;stroke-width:4.1978}.Design_svg__st7{fill:#fff}.Design_svg__st10,.Design_svg__st12,.Design_svg__st8,.Design_svg__st9{fill:none;stroke:#fff;stroke-width:2.0989;stroke-miterlimit:10}.Design_svg__st10,.Design_svg__st12,.Design_svg__st9{stroke:#1a1a1a;stroke-width:4.1978;stroke-linecap:round;stroke-linejoin:round}.Design_svg__st10,.Design_svg__st12{stroke:#fff;stroke-width:6.2967}.Design_svg__st12{fill:#54cafa;stroke:#1a1a1a;stroke-width:4.1978}"),React.createElement("path",{style:{fill:"none"},d:"M0 0h3000v3000H0z"}),React.createElement("path",{d:"M1241.6 2499.5h1588.8s-130.2 243.6-858.4 225.7-653.5-132.7-653.5-132.7-306.2-3.9-347.2-37.4c-41-33.4-336.2 48.7-486 9.1s0-63.7 0-63.7l756.3-1z",className:"Design_svg__st1"}),React.createElement("path",{d:"M275 2500.6h2559.9c128.7-287.9-29.2-580.6-224.1-630.7-176.4-45.4-425.2 97.3-492.9 366.9-32.2-30.9-119.7-106.1-249.3-117.6-160.4-14.3-320.6 74.5-414.5 226.9-26.3-25-296.5-273.9-672.2-201.7-322.8 62-481.8 314.8-506.9 356.2z",className:"Design_svg__st1"}),React.createElement("circle",{r:71.8,cy:1707.8,cx:2744.2,className:"Design_svg__st1"}),React.createElement("path",{d:"M2495.2 408.3c0-74.2-60.2-134.4-134.4-134.4H751.3c-74.2 0-134.4 60.2-134.4 134.4v7.5h1878.4v-7.5z",className:"Design_svg__st2"}),React.createElement("path",{d:"M616.8 415.8v937.3c0 74.2 60.2 134.4 134.4 134.4h1609.5c74.2 0 134.4-60.2 134.4-134.4V415.8H616.8z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2693.5 845.5h-282.1c-7.3 0-13.3-6-13.3-13.3V716.9c0-7.3 6-13.3 13.3-13.3h282.1c7.3 0 13.3 6 13.3 13.3v115.3c0 7.3-5.9 13.3-13.3 13.3z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2693.5 1028.2h-282.1c-7.3 0-13.3-6-13.3-13.3V899.6c0-7.3 6-13.3 13.3-13.3h282.1c7.3 0 13.3 6 13.3 13.3v115.3c0 7.3-5.9 13.3-13.3 13.3z",className:"Design_svg__st2"}),React.createElement("path",{d:"M1795.6 854.5s-13 3.9-20.2 1.9",className:"Design_svg__st1"}),React.createElement("path",{d:"M766.2 899.4s1.2 4.3 3.7 12",className:"Design_svg__st3"}),React.createElement("path",{d:"M778.3 935.2c34.8 92.3 151.1 336.4 430.4 416 230.9 65.8 369.8 44 422.3 30.1",style:{fill:"none",stroke:"#1a1a1a",strokeWidth:4.1978,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"25.2713,25.2713"}}),React.createElement("path",{d:"M1643.1 1377.8c7.9-2.5 11.9-4.2 11.9-4.2M833.4 415.8v12.5",className:"Design_svg__st3"}),React.createElement("path",{style:{fill:"none",stroke:"#1a1a1a",strokeWidth:4.1978,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"25.5263,25.5263"},d:"M833.4 453.9v1008.3"}),React.createElement("path",{className:"Design_svg__st3",d:"M833.4 1474.9v12.6M616.8 530.6h12.6"}),React.createElement("path",{style:{fill:"none",stroke:"#1a1a1a",strokeWidth:4.1978,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"25.3864,25.3864"},d:"M654.8 530.6h1815.1"}),React.createElement("path",{className:"Design_svg__st3",d:"M2482.6 530.6h12.6"}),React.createElement("path",{className:"Design_svg__st7",d:"m528.2 1441.1 56.1 73 128.5-98.7-54.2-74.5z"}),React.createElement("path",{d:"m809.1 1421.5 135.2-103.8-5-117-89.8 69c5 15.1.2 32.4-13.2 42.6-13.4 10.3-31.3 10.4-44.6 1.7-3.6-2.3-6.8-5.3-9.5-8.8-3.1-4.1-5.3-8.6-6.6-13.3-4-14.7.9-30.9 13.7-40.8 12.8-9.8 29.8-10.4 42.9-2.7l90.4-69.4-111.8-35-135.2 103.8-11.7 89-5.4 4.1 54.2 74.5 7.3-5.6 89.1 11.7z",className:"Design_svg__st7"}),React.createElement("path",{className:"Design_svg__st7",transform:"rotate(-37.533 529.74 1497.782)",d:"M496.5 1451.8h66.6v92.1h-66.6z"}),React.createElement("path",{className:"Design_svg__st7",transform:"rotate(-37.533 427.942 1575.969)",d:"M333 1530h190.1v92.1H333z"}),React.createElement("path",{className:"Design_svg__st8",d:"m528.2 1441.1 56.1 73 128.5-98.7-54.2-74.5z"}),React.createElement("path",{d:"m809.1 1421.5 135.2-103.8-5-117-89.8 69c5 15.1.2 32.4-13.2 42.6-13.4 10.3-31.3 10.4-44.6 1.7-3.6-2.3-6.8-5.3-9.5-8.8-3.1-4.1-5.3-8.6-6.6-13.3-4-14.7.9-30.9 13.7-40.8 12.8-9.8 29.8-10.4 42.9-2.7l90.4-69.4-111.8-35-135.2 103.8-11.7 89-5.4 4.1 54.2 74.5 7.3-5.6 89.1 11.7z",className:"Design_svg__st8"}),React.createElement("path",{className:"Design_svg__st2",transform:"rotate(-37.533 529.74 1497.782)",d:"M496.5 1451.8h66.6v92.1h-66.6z"}),React.createElement("path",{className:"Design_svg__st8",transform:"rotate(-37.533 427.942 1575.969)",d:"M333 1530h190.1v92.1H333z"}),React.createElement("path",{className:"Design_svg__st9",d:"m528.2 1441.1 56.1 73 128.5-98.7-54.2-74.5z"}),React.createElement("path",{d:"m809.1 1421.5 135.2-103.8-5-117-89.8 69c5 15.1.2 32.4-13.2 42.6-13.4 10.3-31.3 10.4-44.6 1.7-3.6-2.3-6.8-5.3-9.5-8.8-3.1-4.1-5.3-8.6-6.6-13.3-4-14.7.9-30.9 13.7-40.8 12.8-9.8 29.8-10.4 42.9-2.7l90.4-69.4-111.8-35-135.2 103.8-11.7 89-5.4 4.1 54.2 74.5 7.3-5.6 89.1 11.7z",className:"Design_svg__st9"}),React.createElement("path",{className:"Design_svg__st9",transform:"rotate(-37.533 529.74 1497.782)",d:"M496.5 1451.8h66.6v92.1h-66.6z"}),React.createElement("path",{className:"Design_svg__st9",transform:"rotate(-37.533 427.942 1575.969)",d:"M333 1530h190.1v92.1H333z"}),React.createElement("path",{d:"M544 730.4v-57.9h-59.7c-2.4-8.6-5.8-16.7-10-24.2l42.2-42.2-40.9-40.9-42.2 42.2c-7.5-4.3-15.7-7.7-24.2-10v-59.7h-57.9v59.7c-8.6 2.4-16.7 5.8-24.2 10l-42.2-42.2-41.1 40.8 42.2 42.2c-4.3 7.5-7.7 15.7-10 24.2h-59.7v57.9H276c2.4 8.6 5.8 16.7 10 24.2l-42.2 42.2 40.9 40.9 42.2-42.2c7.5 4.3 15.7 7.7 24.2 10v59.7H409v-59.7c8.6-2.4 16.7-5.8 24.2-10l42.2 42.2 40.9-40.9-42.2-42.2c4.3-7.5 7.7-15.7 10-24.2H544zm-113.7 0c-5.1 8.8-12.4 16.1-21.2 21.2-4.3 2.5-9 4.5-14 5.8-4.8 1.3-9.8 2-15 2-5.2 0-10.2-.7-15-2-5-1.3-9.6-3.3-13.9-5.8-8.8-5.1-16.1-12.4-21.2-21.2-2.5-4.3-4.5-9-5.8-14-1.3-4.8-1.9-9.8-1.9-15 0-5.2.7-10.2 2-15 1.3-5 3.3-9.6 5.8-14 5.1-8.8 12.4-16.1 21.2-21.2 4.3-2.5 9-4.5 13.9-5.8 4.8-1.3 9.8-2 15-2 5.2 0 10.2.7 15 2 5 1.3 9.6 3.3 14 5.8 8.8 5.1 16.1 12.4 21.2 21.2 2.5 4.3 4.5 9 5.8 14 1.3 4.8 2 9.8 2 15 0 5.2-.7 10.2-1.9 15-1.5 5-3.5 9.7-6 14z",className:"Design_svg__st1"}),React.createElement("circle",{r:36.7,cy:344.8,cx:835.9,className:"Design_svg__st1"}),React.createElement("path",{d:"M1223.5 372.2H938.1c-4.5 0-8.2-3.7-8.2-8.2v-32.2c0-4.5 3.7-8.2 8.2-8.2h285.5c4.5 0 8.2 3.7 8.2 8.2V364c-.1 4.5-3.7 8.2-8.3 8.2zM911.8 544.4v217.1c0 23.6 19.1 42.6 42.6 42.6h1046.2c23.6 0 42.6-19.1 42.6-42.6V544.4H911.8z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2043.4 525.6c0-23.6-19.1-42.6-42.6-42.6H954.5c-23.6 0-42.6 19.1-42.6 42.6v18.8h1131.5v-18.8z",className:"Design_svg__st2"}),React.createElement("path",{d:"M2023 872.5H932.2c-11.2 0-20.3 9.1-20.3 20.3v148.7c0 11.2 9.1 20.3 20.3 20.3H2023c11.2 0 20.3-9.1 20.3-20.3V892.8c.1-11.2-9-20.3-20.3-20.3z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1362.3 2107.5c-26.7-24.9-56.1-56.2-49.9-92.1 4.7-27.1 28.4-46.1 45.1-68 23.1-30.3 33.9-70.6 25.2-107.6-8.7-37.1-38.2-69.4-75.3-78-37.1-8.6-79.7 9.2-96.6 43.4-13.2 26.7-10.2 58.2-12.9 87.9-2.7 29.7-15.5 63.1-43.9 71.9-23.8 7.4-49-5.3-69.3-19.8-20.3-14.5-40.4-31.7-65.1-34.9-29-3.7-58 14.3-72.7 39.6-14.7 25.3-16.7 56.4-11.6 85.1 5.2 28.8 16.9 55.9 28.6 82.7l-76.9 88.1-25.2 293.8H1126c27.2-12.3 52.7-28.5 77.9-44.6 20.9-13.3 41.7-26.6 62.6-39.9 14.1-9 29.8-20.5 30.7-37.2 1.9-33.9-55.8-47-54.9-81 .4-13.8 11.6-25.5 24.3-30.9 12.7-5.4 26.9-5.9 40.7-6.8 21.2-1.4 42.7-3.9 62-12.8 19.2-8.9 36.1-25.3 40.6-46.1 7.8-35.6-20.9-67.9-47.6-92.8z",className:"Design_svg__st2"}),React.createElement("path",{d:"M1250.4 1943.2s-27.9 162.4-114.8 242.4c-86.9 79.9-101.8 187-98.1 234.3s-39.8 79.7-39.8 79.7",className:"Design_svg__st10"}),React.createElement("path",{d:"M1149.6 2350.2s-78-26.8-109.9 20.2M1048.8 2143.4s36.9 17.9 34.6 105.5M1259.1 2104.9s-26.3 38.4-92.2 45.3",className:"Design_svg__st10"}),React.createElement("path",{d:"M979.5 2431.8c27.4-53.8-.1-96.5-45.7-126.2-45-41.8-11.1-69.3 28.9-94.7 71.9-62.8.3-177.2-87.7-139.6-31.6 15.3-68.3 59.2-105.2 33.5-21.2-16.8-14.2-49.5-11.9-76.5 7-67.6-43.9-163.9-120.9-151.5-34.3 8.6-53.9 45.6-85.8 60.8-94.3 41-167.5-91.8-259.4-83.2-178.3 40-121.7 351.7 133.6 313.2 20.4 1.7 41.7 9.4 53.1 26.4 37.1 58.1-57.8 127-22.3 185.4 30.9 44.4 92.2 21.5 137.1 20.6 63-1.9 88.1 53 53.3 99.5H891c36.7-12.4 69.8-32.4 88.5-67.7z",className:"Design_svg__st1"}),React.createElement("path",{d:"m729.8 2499.5 19.6-37.3c85.9-296.9-364.1-451.9-364.1-451.9",className:"Design_svg__st1"}),React.createElement("path",{d:"M790.5 2228.8s10.3 66.2-36.2 105M600.6 2010.3c1.2 3.1 37.8 64.4 8 121.5M605 2222.6s78.7-9.1 107.2 16.3M405.2 2056.4s42.9 13.7 81.5-1.2",className:"Design_svg__st1"}),React.createElement("path",{style:{fill:"none",stroke:"#1a1a1a",strokeWidth:6.2967,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:"M66 2499.8h2868"}),React.createElement("path",{className:"Design_svg__st2",d:"m1083.6 1329 20.9-46 40.4 19.5-19.7 45.3zM1709.8 2557.3c-3.4-11.1-7.5-24-8.6-25-1.9-1.9-59.3 0-59.3 0s-8.9 4.3-22.2 11c22 26 56.5 24.2 90.1 14z"}),React.createElement("path",{d:"M1719.1 2606.1c.8-7.6-.4-17.9-4.3-32.4 0 0-2.3-7.7-5-16.5-33.6 10.2-68 12.1-90.1-14.1-37 18.6-107.9 55.4-115.5 68.8-4.7 8.3-7.1 18.7-5.5 27.5 73.6 6.8 153.9-.9 220.4-33.3z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1498.7 2639.6c1.9 10.6 9.5 18.9 26.1 18.7 30.3-.5 141.5-18.2 163.8-26.1 14.9-5.3 28.6-7.6 30.5-26-66.5 32.3-146.8 40-220.4 33.4z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2496.5 2480.7c-14.4-14.8-27.4-26-27.4-26l-75.6 36.9s-11.1 10.5-25.7 24.4c46.7 11.4 100.4 0 128.7-35.3z",className:"Design_svg__st2"}),React.createElement("path",{d:"M2354.3 2610.4c-22.3 6.4-47.1 9.1-70.6 4.5.7 2.5 1.8 5 3.4 7.8 8.9 15.4 67.7 2.3 126.5-18.2 54.4-19 120.7-44 120.1-70.8-46.5 48.5-119.6 54.3-179.4 76.7z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2496.5 2480.7c-28.3 35.3-82 46.7-128.7 35.3-25.1 23.9-60.7 57.9-69.5 67.1-11.5 11.9-17.6 20.6-14.6 31.9 23.5 4.6 48.3 1.9 70.6-4.5 59.8-22.4 132.9-28.3 179.4-76.7 0-2.2-.5-4.4-1.5-6.6-6.5-14.6-21.8-32.2-35.7-46.5z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2075.7 1798.7c23.7 229 292.5 691.5 298.1 697.1s87.8 11.2 100.8-28-74.7-334.2-106.4-435.1c22.4-106.4 29.9-399.6-28-515.7s-145.6-130.3-145.6-130.3l-151.2 50.4",className:"Design_svg__st1"}),React.createElement("path",{d:"M2208.7 1561.3s36.3 71.9-36.5 191.4c-88.7 145.6-335.5 204.1-404.6 226.6 19.3 156.8-35.5 514.1-64.1 568.9-29.9 19.9-74.7-8.7-74.7-8.7s-79.7-407-42.3-624.9 372.2-413.3 372.2-413.3l161.2-64.1",className:"Design_svg__st1"}),React.createElement("path",{d:"M1927.3 1520.8s94.2 22.3 150.3 2.1c56.1-20.2 121.6-49.4 131.1-101l-.2-25.5-261.9 104-19.3 20.4z",className:"Design_svg__st2"}),React.createElement("path",{d:"M1872.5 942.3s-30.8-67.2-26.1-98 71.9-65.4.9-127.9-119.5 8.4-124.2 40.1-4.7 85.9 52.3 99.9l-1.9 104.6",className:"Design_svg__st1"}),React.createElement("path",{className:"Design_svg__st2",d:"m1796.8 852.2-21.4 4.2-.2 9.5z"}),React.createElement("path",{d:"M2126 600.6s-42-55.5-92.4-58.3-59.8 21-48.1 35 41.1 18.7 47.6 18.7-19.6 13.5-17.3 19.1 24.3 2.3 35.5-1.9 33.1-5.6 38.7 2.8 36-15.4 36-15.4z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1887.4 947s172.7 22.4 217.5-53.2 24.8-210.8-22.4-267c-11-11.3.9-23.3 14.9-28.9s28.9-15.9 51.3 15.9 113.9 185.8 95.7 329.6c-16.7 132.1-77.1 199.8-162 210.1-89.5-88-195-206.5-195-206.5z",className:"Design_svg__st12"}),React.createElement("path",{d:"M1199.4 854.1s-53.2-66.3-55.1-93.4 3.7-41.1 20.5-45.3 23.3 21.9 36.4 27.5 31.3-15.4 34.1 1.9-20.5 52.3-18.7 71.4 9.8 24.7 9.8 24.7l-27 13.2z",className:"Design_svg__st1"}),React.createElement("path",{d:"M1810 1164.5c-404.2 76.6-618.1-301.7-622.2-310.3s23.3-34.4 36.5-27.7c13.3 6.7 272 142.8 479.2 131.6 60.7-3.7 66.8-4.2 88.7-13.1s84-24.3 101.3-10.7 86.4 53.7 177.8 169.4 145.6 277.3 136.3 306.2-85.9 114.8-242.7 106.4c-113-9.3-300.5-206.8-341.6-348.7",className:"Design_svg__st12"}),React.createElement("path",{d:"M1725.5 699.2c-5.1-42.8 45.3-68.6 82-53 53.1 15.3 56.8 86.6 106.1 105.3 13 4 27.3 2.2 40.2 6.3 42.1 13.8 44.3 72 14.3 99.7-37.5 38.9-121.6 47.9-139.9-14.4-7.2-19.9-27.8-42.9 4.8-50.4 32-14.9 20.3-51-15.3-38.6-17.2-.7-33.6-9.8-49.6-15.6-20-5.2-40.3-16.9-42.6-39.3z",className:"Design_svg__st2"}),React.createElement("path",{className:"Design_svg__st1",d:"M2439.3 1115.3h219.9v69.7h-219.9zM2439.3 1214.8h132.4v51.1h-132.4zM2398.1 1107.1h21.9v166.6h-21.9zM190.8 1022.9h310.4v209.7H190.8z"}),React.createElement("path",{className:"Design_svg__st1",d:"m279.2 1162.2 46.4-80.4 46.4 80.4z"}),React.createElement("ellipse",{ry:42.3,rx:41.3,cy:1123.3,cx:382.5,className:"Design_svg__st2"}),React.createElement("path",{d:"M2697.3 490.3c2.8 12.5 11.4 22.3 22.6 27.6l-24.4 5.4-19.2-13-139.9 31 29.8 20.2 186.2-41.3.3-.2c21.8-6.6 35.4-27.7 30.7-48.8-4.9-22.2-28.2-35.9-52-30.6-23.8 5.2-39 27.5-34.1 49.7zm76.1-16.9c3.8 17-8 34.1-26.2 38.2-18.3 4.1-36.1-6.5-39.9-23.5-3.8-17 8-34.1 26.2-38.2 18.3-4 36.1 6.5 39.9 23.5z",className:"Design_svg__st1"}),React.createElement("path",{d:"M2726.2 620.3c23.6 5.9 47.3-7.1 52.8-29.2 5.3-20.9-7.8-42.5-29.3-49.7l-.3-.2-177-44.4-38.4 17.4 139 34.9 19.5-12.5 24.2 6.1c-11.4 4.9-20.3 14.5-23.4 26.9-5.4 22.1 9.2 44.8 32.9 50.7zm2.3-9.3c-18.1-4.6-29.4-22-25.2-38.9 4.2-16.9 22.4-26.9 40.5-22.4s29.4 22 25.1 38.9c-4.1 16.9-22.2 27-40.4 22.4z",className:"Design_svg__st1"}),React.createElement("circle",{r:11.4,cy:529.8,cx:2665.2,className:"Design_svg__st1"}));var k="data:image/svg+xml;base64,PHN2ZyB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDAwIDMwMDAiIHZpZXdCb3g9IjAgMCAzMDAwIDMwMDAiIHk9IjAiIHg9IjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9IkxheWVyXzEiIHZlcnNpb249IjEuMSI+PHN0eWxlPi5zdDF7ZmlsbDojZmZmO3N0cm9rZS13aWR0aDo0LjE5Nzg7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0MSwuc3QyLC5zdDN7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kfS5zdDJ7ZmlsbDojMWMwMzExO3N0cm9rZS13aWR0aDoyLjA5ODk7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0M3tmaWxsOm5vbmU7c3Ryb2tlLXdpZHRoOjQuMTk3OH0uc3Q3e2ZpbGw6I2ZmZn0uc3QxMCwuc3QxMiwuc3Q4LC5zdDl7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS13aWR0aDoyLjA5ODk7c3Ryb2tlLW1pdGVybGltaXQ6MTB9LnN0MTAsLnN0MTIsLnN0OXtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NC4xOTc4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZH0uc3QxMCwuc3QxMntzdHJva2U6I2ZmZjtzdHJva2Utd2lkdGg6Ni4yOTY3fS5zdDEye2ZpbGw6IzU0Y2FmYTtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NC4xOTc4fTwvc3R5bGU+PHBhdGggc3R5bGU9ImZpbGw6bm9uZSIgZD0iTTAgMGgzMDAwdjMwMDBIMHoiLz48cGF0aCBkPSJNMTI0MS42IDI0OTkuNWgxNTg4LjhzLTEzMC4yIDI0My42LTg1OC40IDIyNS43LTY1My41LTEzMi43LTY1My41LTEzMi43LTMwNi4yLTMuOS0zNDcuMi0zNy40Yy00MS0zMy40LTMzNi4yIDQ4LjctNDg2IDkuMXMwLTYzLjcgMC02My43bDc1Ni4zLTF6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTI3NSAyNTAwLjZoMjU1OS45YzEyOC43LTI4Ny45LTI5LjItNTgwLjYtMjI0LjEtNjMwLjctMTc2LjQtNDUuNC00MjUuMiA5Ny4zLTQ5Mi45IDM2Ni45LTMyLjItMzAuOS0xMTkuNy0xMDYuMS0yNDkuMy0xMTcuNi0xNjAuNC0xNC4zLTMyMC42IDc0LjUtNDE0LjUgMjI2LjktMjYuMy0yNS0yOTYuNS0yNzMuOS02NzIuMi0yMDEuNy0zMjIuOCA2Mi00ODEuOCAzMTQuOC01MDYuOSAzNTYuMnoiIGNsYXNzPSJzdDEiLz48Y2lyY2xlIHI9IjcxLjgiIGN5PSIxNzA3LjgiIGN4PSIyNzQ0LjIiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjQ5NS4yIDQwOC4zYzAtNzQuMi02MC4yLTEzNC40LTEzNC40LTEzNC40SDc1MS4zYy03NC4yIDAtMTM0LjQgNjAuMi0xMzQuNCAxMzQuNHY3LjVoMTg3OC40di03LjV6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTYxNi44IDQxNS44djkzNy4zYzAgNzQuMiA2MC4yIDEzNC40IDEzNC40IDEzNC40aDE2MDkuNWM3NC4yIDAgMTM0LjQtNjAuMiAxMzQuNC0xMzQuNFY0MTUuOEg2MTYuOHoiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjY5My41IDg0NS41aC0yODIuMWMtNy4zIDAtMTMuMy02LTEzLjMtMTMuM1Y3MTYuOWMwLTcuMyA2LTEzLjMgMTMuMy0xMy4zaDI4Mi4xYzcuMyAwIDEzLjMgNiAxMy4zIDEzLjN2MTE1LjNjMCA3LjMtNS45IDEzLjMtMTMuMyAxMy4zeiIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0yNjkzLjUgMTAyOC4yaC0yODIuMWMtNy4zIDAtMTMuMy02LTEzLjMtMTMuM1Y4OTkuNmMwLTcuMyA2LTEzLjMgMTMuMy0xMy4zaDI4Mi4xYzcuMyAwIDEzLjMgNiAxMy4zIDEzLjN2MTE1LjNjMCA3LjMtNS45IDEzLjMtMTMuMyAxMy4zeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xNzk1LjYgODU0LjVzLTEzIDMuOS0yMC4yIDEuOSIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik03NjYuMiA4OTkuNHMxLjIgNC4zIDMuNyAxMiIgY2xhc3M9InN0MyIvPjxwYXRoIGQ9Ik03NzguMyA5MzUuMmMzNC44IDkyLjMgMTUxLjEgMzM2LjQgNDMwLjQgNDE2IDIzMC45IDY1LjggMzY5LjggNDQgNDIyLjMgMzAuMSIgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzFhMWExYTtzdHJva2Utd2lkdGg6NC4xOTc4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtZGFzaGFycmF5OjI1LjI3MTMsMjUuMjcxMyIvPjxwYXRoIGQ9Ik0xNjQzLjEgMTM3Ny44YzcuOS0yLjUgMTEuOS00LjIgMTEuOS00LjJNODMzLjQgNDE1Ljh2MTIuNSIgY2xhc3M9InN0MyIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLXdpZHRoOjQuMTk3ODtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWRhc2hhcnJheToyNS41MjYzLDI1LjUyNjMiIGQ9Ik04MzMuNCA0NTMuOXYxMDA4LjMiLz48cGF0aCBjbGFzcz0ic3QzIiBkPSJNODMzLjQgMTQ3NC45djEyLjZNNjE2LjggNTMwLjZoMTIuNiIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLXdpZHRoOjQuMTk3ODtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWRhc2hhcnJheToyNS4zODY0LDI1LjM4NjQiIGQ9Ik02NTQuOCA1MzAuNmgxODE1LjEiLz48cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjQ4Mi42IDUzMC42aDEyLjYiLz48cGF0aCBjbGFzcz0ic3Q3IiBkPSJtNTI4LjIgMTQ0MS4xIDU2LjEgNzMgMTI4LjUtOTguNy01NC4yLTc0LjV6Ii8+PHBhdGggZD0ibTgwOS4xIDE0MjEuNSAxMzUuMi0xMDMuOC01LTExNy04OS44IDY5YzUgMTUuMS4yIDMyLjQtMTMuMiA0Mi42LTEzLjQgMTAuMy0zMS4zIDEwLjQtNDQuNiAxLjctMy42LTIuMy02LjgtNS4zLTkuNS04LjgtMy4xLTQuMS01LjMtOC42LTYuNi0xMy4zLTQtMTQuNy45LTMwLjkgMTMuNy00MC44IDEyLjgtOS44IDI5LjgtMTAuNCA0Mi45LTIuN2w5MC40LTY5LjQtMTExLjgtMzUtMTM1LjIgMTAzLjgtMTEuNyA4OS01LjQgNC4xIDU0LjIgNzQuNSA3LjMtNS42IDg5LjEgMTEuN3oiIGNsYXNzPSJzdDciLz48cGF0aCBjbGFzcz0ic3Q3IiB0cmFuc2Zvcm09InJvdGF0ZSgtMzcuNTMzIDUyOS43NCAxNDk3Ljc4MikiIGQ9Ik00OTYuNSAxNDUxLjhoNjYuNnY5Mi4xaC02Ni42eiIvPjxwYXRoIGNsYXNzPSJzdDciIHRyYW5zZm9ybT0icm90YXRlKC0zNy41MzMgNDI3Ljk0MiAxNTc1Ljk2OSkiIGQ9Ik0zMzMgMTUzMGgxOTAuMXY5Mi4xSDMzM3oiLz48cGF0aCBjbGFzcz0ic3Q4IiBkPSJtNTI4LjIgMTQ0MS4xIDU2LjEgNzMgMTI4LjUtOTguNy01NC4yLTc0LjV6Ii8+PHBhdGggZD0ibTgwOS4xIDE0MjEuNSAxMzUuMi0xMDMuOC01LTExNy04OS44IDY5YzUgMTUuMS4yIDMyLjQtMTMuMiA0Mi42LTEzLjQgMTAuMy0zMS4zIDEwLjQtNDQuNiAxLjctMy42LTIuMy02LjgtNS4zLTkuNS04LjgtMy4xLTQuMS01LjMtOC42LTYuNi0xMy4zLTQtMTQuNy45LTMwLjkgMTMuNy00MC44IDEyLjgtOS44IDI5LjgtMTAuNCA0Mi45LTIuN2w5MC40LTY5LjQtMTExLjgtMzUtMTM1LjIgMTAzLjgtMTEuNyA4OS01LjQgNC4xIDU0LjIgNzQuNSA3LjMtNS42IDg5LjEgMTEuN3oiIGNsYXNzPSJzdDgiLz48cGF0aCBjbGFzcz0ic3QyIiB0cmFuc2Zvcm09InJvdGF0ZSgtMzcuNTMzIDUyOS43NCAxNDk3Ljc4MikiIGQ9Ik00OTYuNSAxNDUxLjhoNjYuNnY5Mi4xaC02Ni42eiIvPjxwYXRoIGNsYXNzPSJzdDgiIHRyYW5zZm9ybT0icm90YXRlKC0zNy41MzMgNDI3Ljk0MiAxNTc1Ljk2OSkiIGQ9Ik0zMzMgMTUzMGgxOTAuMXY5Mi4xSDMzM3oiLz48cGF0aCBjbGFzcz0ic3Q5IiBkPSJtNTI4LjIgMTQ0MS4xIDU2LjEgNzMgMTI4LjUtOTguNy01NC4yLTc0LjV6Ii8+PHBhdGggZD0ibTgwOS4xIDE0MjEuNSAxMzUuMi0xMDMuOC01LTExNy04OS44IDY5YzUgMTUuMS4yIDMyLjQtMTMuMiA0Mi42LTEzLjQgMTAuMy0zMS4zIDEwLjQtNDQuNiAxLjctMy42LTIuMy02LjgtNS4zLTkuNS04LjgtMy4xLTQuMS01LjMtOC42LTYuNi0xMy4zLTQtMTQuNy45LTMwLjkgMTMuNy00MC44IDEyLjgtOS44IDI5LjgtMTAuNCA0Mi45LTIuN2w5MC40LTY5LjQtMTExLjgtMzUtMTM1LjIgMTAzLjgtMTEuNyA4OS01LjQgNC4xIDU0LjIgNzQuNSA3LjMtNS42IDg5LjEgMTEuN3oiIGNsYXNzPSJzdDkiLz48cGF0aCBjbGFzcz0ic3Q5IiB0cmFuc2Zvcm09InJvdGF0ZSgtMzcuNTMzIDUyOS43NCAxNDk3Ljc4MikiIGQ9Ik00OTYuNSAxNDUxLjhoNjYuNnY5Mi4xaC02Ni42eiIvPjxwYXRoIGNsYXNzPSJzdDkiIHRyYW5zZm9ybT0icm90YXRlKC0zNy41MzMgNDI3Ljk0MiAxNTc1Ljk2OSkiIGQ9Ik0zMzMgMTUzMGgxOTAuMXY5Mi4xSDMzM3oiLz48cGF0aCBkPSJNNTQ0IDczMC40di01Ny45aC01OS43Yy0yLjQtOC42LTUuOC0xNi43LTEwLTI0LjJsNDIuMi00Mi4yLTQwLjktNDAuOS00Mi4yIDQyLjJjLTcuNS00LjMtMTUuNy03LjctMjQuMi0xMHYtNTkuN2gtNTcuOXY1OS43Yy04LjYgMi40LTE2LjcgNS44LTI0LjIgMTBsLTQyLjItNDIuMi00MS4xIDQwLjggNDIuMiA0Mi4yYy00LjMgNy41LTcuNyAxNS43LTEwIDI0LjJoLTU5Ljd2NTcuOUgyNzZjMi40IDguNiA1LjggMTYuNyAxMCAyNC4ybC00Mi4yIDQyLjIgNDAuOSA0MC45IDQyLjItNDIuMmM3LjUgNC4zIDE1LjcgNy43IDI0LjIgMTB2NTkuN0g0MDl2LTU5LjdjOC42LTIuNCAxNi43LTUuOCAyNC4yLTEwbDQyLjIgNDIuMiA0MC45LTQwLjktNDIuMi00Mi4yYzQuMy03LjUgNy43LTE1LjcgMTAtMjQuMkg1NDR6bS0xMTMuNyAwYy01LjEgOC44LTEyLjQgMTYuMS0yMS4yIDIxLjItNC4zIDIuNS05IDQuNS0xNCA1LjgtNC44IDEuMy05LjggMi0xNSAyLTUuMiAwLTEwLjItLjctMTUtMi01LTEuMy05LjYtMy4zLTEzLjktNS44LTguOC01LjEtMTYuMS0xMi40LTIxLjItMjEuMi0yLjUtNC4zLTQuNS05LTUuOC0xNC0xLjMtNC44LTEuOS05LjgtMS45LTE1IDAtNS4yLjctMTAuMiAyLTE1IDEuMy01IDMuMy05LjYgNS44LTE0IDUuMS04LjggMTIuNC0xNi4xIDIxLjItMjEuMiA0LjMtMi41IDktNC41IDEzLjktNS44IDQuOC0xLjMgOS44LTIgMTUtMiA1LjIgMCAxMC4yLjcgMTUgMiA1IDEuMyA5LjYgMy4zIDE0IDUuOCA4LjggNS4xIDE2LjEgMTIuNCAyMS4yIDIxLjIgMi41IDQuMyA0LjUgOSA1LjggMTQgMS4zIDQuOCAyIDkuOCAyIDE1IDAgNS4yLS43IDEwLjItMS45IDE1LTEuNSA1LTMuNSA5LjctNiAxNHoiIGNsYXNzPSJzdDEiLz48Y2lyY2xlIHI9IjM2LjciIGN5PSIzNDQuOCIgY3g9IjgzNS45IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTEyMjMuNSAzNzIuMkg5MzguMWMtNC41IDAtOC4yLTMuNy04LjItOC4ydi0zMi4yYzAtNC41IDMuNy04LjIgOC4yLTguMmgyODUuNWM0LjUgMCA4LjIgMy43IDguMiA4LjJWMzY0Yy0uMSA0LjUtMy43IDguMi04LjMgOC4yek05MTEuOCA1NDQuNHYyMTcuMWMwIDIzLjYgMTkuMSA0Mi42IDQyLjYgNDIuNmgxMDQ2LjJjMjMuNiAwIDQyLjYtMTkuMSA0Mi42LTQyLjZWNTQ0LjRIOTExLjh6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTIwNDMuNCA1MjUuNmMwLTIzLjYtMTkuMS00Mi42LTQyLjYtNDIuNkg5NTQuNWMtMjMuNiAwLTQyLjYgMTkuMS00Mi42IDQyLjZ2MTguOGgxMTMxLjV2LTE4Ljh6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTIwMjMgODcyLjVIOTMyLjJjLTExLjIgMC0yMC4zIDkuMS0yMC4zIDIwLjN2MTQ4LjdjMCAxMS4yIDkuMSAyMC4zIDIwLjMgMjAuM0gyMDIzYzExLjIgMCAyMC4zLTkuMSAyMC4zLTIwLjNWODkyLjhjLjEtMTEuMi05LTIwLjMtMjAuMy0yMC4zeiIgY2xhc3M9InN0MSIvPjxnPjxwYXRoIGQ9Ik0xMzYyLjMgMjEwNy41Yy0yNi43LTI0LjktNTYuMS01Ni4yLTQ5LjktOTIuMSA0LjctMjcuMSAyOC40LTQ2LjEgNDUuMS02OCAyMy4xLTMwLjMgMzMuOS03MC42IDI1LjItMTA3LjYtOC43LTM3LjEtMzguMi02OS40LTc1LjMtNzgtMzcuMS04LjYtNzkuNyA5LjItOTYuNiA0My40LTEzLjIgMjYuNy0xMC4yIDU4LjItMTIuOSA4Ny45LTIuNyAyOS43LTE1LjUgNjMuMS00My45IDcxLjktMjMuOCA3LjQtNDktNS4zLTY5LjMtMTkuOC0yMC4zLTE0LjUtNDAuNC0zMS43LTY1LjEtMzQuOS0yOS0zLjctNTggMTQuMy03Mi43IDM5LjYtMTQuNyAyNS4zLTE2LjcgNTYuNC0xMS42IDg1LjEgNS4yIDI4LjggMTYuOSA1NS45IDI4LjYgODIuN2wtNzYuOSA4OC4xLTI1LjIgMjkzLjhIMTEyNmMyNy4yLTEyLjMgNTIuNy0yOC41IDc3LjktNDQuNiAyMC45LTEzLjMgNDEuNy0yNi42IDYyLjYtMzkuOSAxNC4xLTkgMjkuOC0yMC41IDMwLjctMzcuMiAxLjktMzMuOS01NS44LTQ3LTU0LjktODEgLjQtMTMuOCAxMS42LTI1LjUgMjQuMy0zMC45IDEyLjctNS40IDI2LjktNS45IDQwLjctNi44IDIxLjItMS40IDQyLjctMy45IDYyLTEyLjggMTkuMi04LjkgMzYuMS0yNS4zIDQwLjYtNDYuMSA3LjgtMzUuNi0yMC45LTY3LjktNDcuNi05Mi44eiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0xMjUwLjQgMTk0My4ycy0yNy45IDE2Mi40LTExNC44IDI0Mi40Yy04Ni45IDc5LjktMTAxLjggMTg3LTk4LjEgMjM0LjNzLTM5LjggNzkuNy0zOS44IDc5LjciIGNsYXNzPSJzdDEwIi8+PHBhdGggZD0iTTExNDkuNiAyMzUwLjJzLTc4LTI2LjgtMTA5LjkgMjAuMk0xMDQ4LjggMjE0My40czM2LjkgMTcuOSAzNC42IDEwNS41TTEyNTkuMSAyMTA0LjlzLTI2LjMgMzguNC05Mi4yIDQ1LjMiIGNsYXNzPSJzdDEwIi8+PC9nPjxnPjxwYXRoIGQ9Ik05NzkuNSAyNDMxLjhjMjcuNC01My44LS4xLTk2LjUtNDUuNy0xMjYuMi00NS00MS44LTExLjEtNjkuMyAyOC45LTk0LjcgNzEuOS02Mi44LjMtMTc3LjItODcuNy0xMzkuNi0zMS42IDE1LjMtNjguMyA1OS4yLTEwNS4yIDMzLjUtMjEuMi0xNi44LTE0LjItNDkuNS0xMS45LTc2LjUgNy02Ny42LTQzLjktMTYzLjktMTIwLjktMTUxLjUtMzQuMyA4LjYtNTMuOSA0NS42LTg1LjggNjAuOC05NC4zIDQxLTE2Ny41LTkxLjgtMjU5LjQtODMuMi0xNzguMyA0MC0xMjEuNyAzNTEuNyAxMzMuNiAzMTMuMiAyMC40IDEuNyA0MS43IDkuNCA1My4xIDI2LjQgMzcuMSA1OC4xLTU3LjggMTI3LTIyLjMgMTg1LjQgMzAuOSA0NC40IDkyLjIgMjEuNSAxMzcuMSAyMC42IDYzLTEuOSA4OC4xIDUzIDUzLjMgOTkuNUg4OTFjMzYuNy0xMi40IDY5LjgtMzIuNCA4OC41LTY3Ljd6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0ibTcyOS44IDI0OTkuNSAxOS42LTM3LjNjODUuOS0yOTYuOS0zNjQuMS00NTEuOS0zNjQuMS00NTEuOSIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik03OTAuNSAyMjI4LjhzMTAuMyA2Ni4yLTM2LjIgMTA1TTYwMC42IDIwMTAuM2MxLjIgMy4xIDM3LjggNjQuNCA4IDEyMS41TTYwNSAyMjIyLjZzNzguNy05LjEgMTA3LjIgMTYuM000MDUuMiAyMDU2LjRzNDIuOSAxMy43IDgxLjUtMS4yIiBjbGFzcz0ic3QxIi8+PC9nPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiMxYTFhMWE7c3Ryb2tlLXdpZHRoOjYuMjk2NztzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTAiIGQ9Ik02NiAyNDk5LjhoMjg2OCIvPjxwYXRoIGNsYXNzPSJzdDIiIGQ9Im0xMDgzLjYgMTMyOSAyMC45LTQ2IDQwLjQgMTkuNS0xOS43IDQ1LjN6Ii8+PGc+PHBhdGggZD0iTTE3MDkuOCAyNTU3LjNjLTMuNC0xMS4xLTcuNS0yNC04LjYtMjUtMS45LTEuOS01OS4zIDAtNTkuMyAwcy04LjkgNC4zLTIyLjIgMTFjMjIgMjYgNTYuNSAyNC4yIDkwLjEgMTR6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTE3MTkuMSAyNjA2LjFjLjgtNy42LS40LTE3LjktNC4zLTMyLjQgMCAwLTIuMy03LjctNS0xNi41LTMzLjYgMTAuMi02OCAxMi4xLTkwLjEtMTQuMS0zNyAxOC42LTEwNy45IDU1LjQtMTE1LjUgNjguOC00LjcgOC4zLTcuMSAxOC43LTUuNSAyNy41IDczLjYgNi44IDE1My45LS45IDIyMC40LTMzLjN6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTE0OTguNyAyNjM5LjZjMS45IDEwLjYgOS41IDE4LjkgMjYuMSAxOC43IDMwLjMtLjUgMTQxLjUtMTguMiAxNjMuOC0yNi4xIDE0LjktNS4zIDI4LjYtNy42IDMwLjUtMjYtNjYuNSAzMi4zLTE0Ni44IDQwLTIyMC40IDMzLjR6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTI0OTYuNSAyNDgwLjdjLTE0LjQtMTQuOC0yNy40LTI2LTI3LjQtMjZsLTc1LjYgMzYuOXMtMTEuMSAxMC41LTI1LjcgMjQuNGM0Ni43IDExLjQgMTAwLjQgMCAxMjguNy0zNS4zeiIgY2xhc3M9InN0MiIvPjxwYXRoIGQ9Ik0yMzU0LjMgMjYxMC40Yy0yMi4zIDYuNC00Ny4xIDkuMS03MC42IDQuNS43IDIuNSAxLjggNSAzLjQgNy44IDguOSAxNS40IDY3LjcgMi4zIDEyNi41LTE4LjIgNTQuNC0xOSAxMjAuNy00NCAxMjAuMS03MC44LTQ2LjUgNDguNS0xMTkuNiA1NC4zLTE3OS40IDc2Ljd6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTI0OTYuNSAyNDgwLjdjLTI4LjMgMzUuMy04MiA0Ni43LTEyOC43IDM1LjMtMjUuMSAyMy45LTYwLjcgNTcuOS02OS41IDY3LjEtMTEuNSAxMS45LTE3LjYgMjAuNi0xNC42IDMxLjkgMjMuNSA0LjYgNDguMyAxLjkgNzAuNi00LjUgNTkuOC0yMi40IDEzMi45LTI4LjMgMTc5LjQtNzYuNyAwLTIuMi0uNS00LjQtMS41LTYuNi02LjUtMTQuNi0yMS44LTMyLjItMzUuNy00Ni41eiIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0yMDc1LjcgMTc5OC43YzIzLjcgMjI5IDI5Mi41IDY5MS41IDI5OC4xIDY5Ny4xczg3LjggMTEuMiAxMDAuOC0yOC03NC43LTMzNC4yLTEwNi40LTQzNS4xYzIyLjQtMTA2LjQgMjkuOS0zOTkuNi0yOC01MTUuN3MtMTQ1LjYtMTMwLjMtMTQ1LjYtMTMwLjNsLTE1MS4yIDUwLjQiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjIwOC43IDE1NjEuM3MzNi4zIDcxLjktMzYuNSAxOTEuNGMtODguNyAxNDUuNi0zMzUuNSAyMDQuMS00MDQuNiAyMjYuNiAxOS4zIDE1Ni44LTM1LjUgNTE0LjEtNjQuMSA1NjguOS0yOS45IDE5LjktNzQuNy04LjctNzQuNy04LjdzLTc5LjctNDA3LTQyLjMtNjI0LjkgMzcyLjItNDEzLjMgMzcyLjItNDEzLjNsMTYxLjItNjQuMSIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0xOTI3LjMgMTUyMC44czk0LjIgMjIuMyAxNTAuMyAyLjFjNTYuMS0yMC4yIDEyMS42LTQ5LjQgMTMxLjEtMTAxbC0uMi0yNS41LTI2MS45IDEwNC0xOS4zIDIwLjR6IiBjbGFzcz0ic3QyIi8+PHBhdGggZD0iTTE4NzIuNSA5NDIuM3MtMzAuOC02Ny4yLTI2LjEtOTggNzEuOS02NS40LjktMTI3LjktMTE5LjUgOC40LTEyNC4yIDQwLjEtNC43IDg1LjkgNTIuMyA5OS45bC0xLjkgMTA0LjYiIGNsYXNzPSJzdDEiLz48cGF0aCBjbGFzcz0ic3QyIiBkPSJtMTc5Ni44IDg1Mi4yLTIxLjQgNC4yLS4yIDkuNXoiLz48cGF0aCBkPSJNMjEyNiA2MDAuNnMtNDItNTUuNS05Mi40LTU4LjMtNTkuOCAyMS00OC4xIDM1IDQxLjEgMTguNyA0Ny42IDE4LjctMTkuNiAxMy41LTE3LjMgMTkuMSAyNC4zIDIuMyAzNS41LTEuOSAzMy4xLTUuNiAzOC43IDIuOCAzNi0xNS40IDM2LTE1LjR6IiBjbGFzcz0ic3QxIi8+PHBhdGggZD0iTTE4ODcuNCA5NDdzMTcyLjcgMjIuNCAyMTcuNS01My4yIDI0LjgtMjEwLjgtMjIuNC0yNjdjLTExLTExLjMuOS0yMy4zIDE0LjktMjguOXMyOC45LTE1LjkgNTEuMyAxNS45IDExMy45IDE4NS44IDk1LjcgMzI5LjZjLTE2LjcgMTMyLjEtNzcuMSAxOTkuOC0xNjIgMjEwLjEtODkuNS04OC0xOTUtMjA2LjUtMTk1LTIwNi41eiIgY2xhc3M9InN0MTIiLz48cGF0aCBkPSJNMTE5OS40IDg1NC4xcy01My4yLTY2LjMtNTUuMS05My40IDMuNy00MS4xIDIwLjUtNDUuMyAyMy4zIDIxLjkgMzYuNCAyNy41IDMxLjMtMTUuNCAzNC4xIDEuOS0yMC41IDUyLjMtMTguNyA3MS40IDkuOCAyNC43IDkuOCAyNC43bC0yNyAxMy4yeiIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0xODEwIDExNjQuNWMtNDA0LjIgNzYuNi02MTguMS0zMDEuNy02MjIuMi0zMTAuM3MyMy4zLTM0LjQgMzYuNS0yNy43YzEzLjMgNi43IDI3MiAxNDIuOCA0NzkuMiAxMzEuNiA2MC43LTMuNyA2Ni44LTQuMiA4OC43LTEzLjFzODQtMjQuMyAxMDEuMy0xMC43IDg2LjQgNTMuNyAxNzcuOCAxNjkuNCAxNDUuNiAyNzcuMyAxMzYuMyAzMDYuMi04NS45IDExNC44LTI0Mi43IDEwNi40Yy0xMTMtOS4zLTMwMC41LTIwNi44LTM0MS42LTM0OC43IiBjbGFzcz0ic3QxMiIvPjxwYXRoIGQ9Ik0xNzI1LjUgNjk5LjJjLTUuMS00Mi44IDQ1LjMtNjguNiA4Mi01MyA1My4xIDE1LjMgNTYuOCA4Ni42IDEwNi4xIDEwNS4zIDEzIDQgMjcuMyAyLjIgNDAuMiA2LjMgNDIuMSAxMy44IDQ0LjMgNzIgMTQuMyA5OS43LTM3LjUgMzguOS0xMjEuNiA0Ny45LTEzOS45LTE0LjQtNy4yLTE5LjktMjcuOC00Mi45IDQuOC01MC40IDMyLTE0LjkgMjAuMy01MS0xNS4zLTM4LjYtMTcuMi0uNy0zMy42LTkuOC00OS42LTE1LjYtMjAtNS4yLTQwLjMtMTYuOS00Mi42LTM5LjN6IiBjbGFzcz0ic3QyIi8+PC9nPjxnPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yNDM5LjMgMTExNS4zaDIxOS45djY5LjdoLTIxOS45ek0yNDM5LjMgMTIxNC44aDEzMi40djUxLjFoLTEzMi40ek0yMzk4LjEgMTEwNy4xaDIxLjl2MTY2LjZoLTIxLjl6Ii8+PC9nPjxnPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xOTAuOCAxMDIyLjloMzEwLjR2MjA5LjdIMTkwLjh6Ii8+PHBhdGggY2xhc3M9InN0MSIgZD0ibTI3OS4yIDExNjIuMiA0Ni40LTgwLjQgNDYuNCA4MC40eiIvPjxlbGxpcHNlIHJ5PSI0Mi4zIiByeD0iNDEuMyIgY3k9IjExMjMuMyIgY3g9IjM4Mi41IiBjbGFzcz0ic3QyIi8+PC9nPjxnPjxwYXRoIGQ9Ik0yNjk3LjMgNDkwLjNjMi44IDEyLjUgMTEuNCAyMi4zIDIyLjYgMjcuNmwtMjQuNCA1LjQtMTkuMi0xMy0xMzkuOSAzMSAyOS44IDIwLjIgMTg2LjItNDEuMy4zLS4yYzIxLjgtNi42IDM1LjQtMjcuNyAzMC43LTQ4LjgtNC45LTIyLjItMjguMi0zNS45LTUyLTMwLjYtMjMuOCA1LjItMzkgMjcuNS0zNC4xIDQ5Ljd6bTc2LjEtMTYuOWMzLjggMTctOCAzNC4xLTI2LjIgMzguMi0xOC4zIDQuMS0zNi4xLTYuNS0zOS45LTIzLjUtMy44LTE3IDgtMzQuMSAyNi4yLTM4LjIgMTguMy00IDM2LjEgNi41IDM5LjkgMjMuNXoiIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMjcyNi4yIDYyMC4zYzIzLjYgNS45IDQ3LjMtNy4xIDUyLjgtMjkuMiA1LjMtMjAuOS03LjgtNDIuNS0yOS4zLTQ5LjdsLS4zLS4yLTE3Ny00NC40LTM4LjQgMTcuNCAxMzkgMzQuOSAxOS41LTEyLjUgMjQuMiA2LjFjLTExLjQgNC45LTIwLjMgMTQuNS0yMy40IDI2LjktNS40IDIyLjEgOS4yIDQ0LjggMzIuOSA1MC43em0yLjMtOS4zYy0xOC4xLTQuNi0yOS40LTIyLTI1LjItMzguOSA0LjItMTYuOSAyMi40LTI2LjkgNDAuNS0yMi40czI5LjQgMjIgMjUuMSAzOC45Yy00LjEgMTYuOS0yMi4yIDI3LTQwLjQgMjIuNHoiIGNsYXNzPSJzdDEiLz48Y2lyY2xlIHI9IjExLjQiIGN5PSI1MjkuOCIgY3g9IjI2NjUuMiIgY2xhc3M9InN0MSIvPjwvZz48L3N2Zz4=",t=M(85893),U=function(N){var L=N.visible,j=N.onCancel;return(0,t.jsx)(D.Z,{open:L,width:900,title:"\u5E2E\u52A9\u6587\u6863",footer:null,bodyStyle:{minHeight:360},onCancel:j,children:(0,t.jsxs)(s.Z,{gutter:18,children:[(0,t.jsx)(a.Z,{span:12,children:(0,t.jsx)(c.Z,{hoverable:!0,bordered:!1,className:"help-card-left",children:(0,t.jsx)(E.Z,{image:A,imageStyle:{height:200},description:(0,t.jsx)("span",{className:"help-title",children:"\u{1F3A8}\u4E86\u89E3\u6570\u636E\u5DE5\u5382\u76F8\u5173\u5185\u5BB9"})})})}),(0,t.jsx)(a.Z,{span:12,children:(0,t.jsx)(c.Z,{hoverable:!0,bordered:!1,className:"help-card-right",children:(0,t.jsx)(E.Z,{image:k,imageStyle:{height:200},description:(0,t.jsx)("span",{className:"help-title",children:"\u{1F64B}\u200D\u2642\uFE0F\u5B66\u4E60\u521B\u5EFA\u4E00\u4E2A\u573A\u666F"})})})})]})})},d=M(78045),h=M(37594),w=M(67),o=M(1413),R={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.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},p=R,Z=M(84089),b=function(L,j){return i.createElement(Z.Z,(0,o.Z)((0,o.Z)({},L),{},{ref:j,icon:p}))},f=i.forwardRef(b),B=f,H=M(1832),F=M(65429),W=function(){var N=[{label:"\u5168\u90E8\u573A\u666F",value:"0"},{label:"\u6536\u85CF\u573A\u666F",value:"1"},{label:"\u70ED\u95E8\u573A\u666F",value:"2"},{label:"\u9AD8\u8D5E\u573A\u666F",value:"3"}],L=(0,i.useState)("0"),j=g()(L,2),G=j[0],P=j[1];return(0,t.jsx)(c.Z,{children:(0,t.jsxs)(d.ZP.Group,{onChange:function(K){P(K.target.value)},value:G,buttonStyle:"solid",children:[(0,t.jsxs)(d.ZP.Button,{value:"0",children:[(0,t.jsx)(w.Z,{})," \u5168\u90E8"]}),(0,t.jsxs)(d.ZP.Button,{value:"1",children:[(0,t.jsx)(B,{})," \u6536\u85CF"]}),(0,t.jsxs)(d.ZP.Button,{value:"2",children:[(0,t.jsx)(H.Z,{})," \u6700\u70ED"]}),(0,t.jsxs)(d.ZP.Button,{value:"3",children:[(0,t.jsx)(F.Z,{})," \u6700\u8D5E"]})]})})},X=function(){return(0,t.jsxs)(s.Z,{gutter:12,className:"factory-body",children:[(0,t.jsx)(a.Z,{span:6,children:(0,t.jsx)(c.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"})}),(0,t.jsxs)(a.Z,{span:6,children:[(0,t.jsx)(c.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"}),(0,t.jsx)(c.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"})]}),(0,t.jsxs)(a.Z,{span:6,children:[(0,t.jsx)(c.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"}),(0,t.jsx)(c.Z,{type:"inner",className:"scene-card",hoverable:!0,children:"\u573A\u666F\u4E00"})]}),(0,t.jsx)(a.Z,{span:6})]})},J=M(38925),V=function(){var N=(0,i.useState)(!0),L=g()(N,2),j=L[0],G=L[1];return(0,t.jsxs)(y._z,{title:!1,breadcrumb:null,children:[(0,t.jsx)(J.Z,{type:"warning",banner:!0,message:"\u9F9F\u901F\u5F00\u53D1\u4E2D...",style:{marginBottom:12}}),(0,t.jsx)(U,{open:j,onCancel:function(){return G(!1)}}),(0,t.jsx)(W,{}),(0,t.jsx)(X,{})]})}}}]); diff --git a/statics/t__plugin-layout__Layout.2a225d92.async.js b/statics/t__plugin-layout__Layout.2a225d92.async.js deleted file mode 100644 index 9c9e994b..00000000 --- a/statics/t__plugin-layout__Layout.2a225d92.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6301],{70392:function(nt,y,i){i.r(y),i.d(y,{default:function(){return Q}});var F=i(5574),S=i.n(F),M=i(19632),L=i.n(M),G=i(97857),f=i.n(G),N=i(64599),$=i.n(N),c=i(94171),E=i(67294),I=i(5611),t=i(85893),Z=function(){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,t.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,t.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,t.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,t.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,t.jsx)("g",{transform:"translate(-20 -20)",children:(0,t.jsx)("g",{transform:"translate(20 20)",children:(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{fillRule:"nonzero",children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,t.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,t.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,t.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},z=Z,D=i(29905),W=i(71577),H=function(n){var e,r;return!n.route&&(n.noFound||n.notFound)||((e=n.route)===null||e===void 0?void 0:e.unaccessible)&&(n.unAccessible||n.noAccessible)||(!n.route||((r=n.route)===null||r===void 0?void 0:r.unaccessible))&&(0,t.jsx)(D.ZP,{status:n.route?"403":"404",title:n.route?"403":"404",subTitle:n.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,t.jsx)(W.ZP,{type:"primary",onClick:function(){return c.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})||n.children},B=H,O=i(98293),T=i(75081),p=i(67159),P=i(68508),U=i(13013),V=i(92443),j=i(66999);function X(a){var n,e;if(a.runtimeConfig.rightRender)return a.runtimeConfig.rightRender(a.initialState,a.setInitialState,a.runtimeConfig);var r=(0,t.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,t.jsx)(O.C,{size:"small",className:"umi-plugin-layout-avatar",src:((n=a.initialState)===null||n===void 0?void 0:n.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,t.jsx)("span",{className:"umi-plugin-layout-name",children:(e=a.initialState)===null||e===void 0?void 0:e.name})]});if(a.loading)return(0,t.jsx)("div",{className:"umi-plugin-layout-right",children:(0,t.jsx)(T.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});var d={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V.Z,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(){var s,g;a==null||(s=a.runtimeConfig)===null||s===void 0||(g=s.logout)===null||g===void 0||g.call(s,a.initialState)}}]},x=p.Z.startsWith("5.")||p.Z.startsWith("4.24.")?{menu:d}:{overlay:(0,t.jsx)(P.Z,f()({},d))};return(0,t.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[a.runtimeConfig.logout?(0,t.jsx)(U.Z,f()(f()({},x),{},{overlayClassName:"umi-plugin-layout-container",children:r})):r,(0,t.jsx)(j.pD,{})]})}var C=i(44886),K=i(83228),Y=function a(n,e){if(n.length===0)return[];var r=[],d=$()(n),x;try{for(d.s();!(x=d.n()).done;){var v=x.value,s=f()({},v);e(v)?Array.isArray(s.routes)&&r.push.apply(r,L()(a(s.routes,e))):(Array.isArray(s.children)&&(s.children=a(s.children,e),s.routes=s.children),r.push(s))}}catch(g){d.e(g)}finally{d.f()}return r},J=function a(n){return n.length===0?[]:n.map(function(e){var r=f()({},e);return e.originPath&&(r.path=e.originPath),Array.isArray(e.routes)&&(r.routes=a(e.routes)),Array.isArray(e.children)&&(r.children=a(e.children)),r})},Q=function(a){var n=(0,c.useLocation)(),e=(0,c.useNavigate)(),r=(0,c.useAppData)(),d=r.clientRoutes,x=r.pluginManager,v=C.t&&(0,C.t)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},s=v.initialState,g=v.loading,A=v.setInitialState,m={locale:!0,navTheme:"light",colorPrimary:"#1677ff",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u73A9\u8F6C\u63A5\u53E3\u6D4B\u8BD5",pwa:!1,logo:"/logo.svg",iconfontUrl:"//at.alicdn.com/t/font_915840_kom9s5w2t6k.js",apiUrl:"127.0.0.1:7777",wssUrl:"ws://127.0.0.1:7777",https:!1},b=(0,j.YB)(),k=b.formatMessage,l=x.applyPlugins({key:"layout",type:"modify",initialValue:f()({},v)}),w=Y(d.filter(function(u){return u.id==="ant-design-pro-layout"}),function(u){return!!u.isLayout&&u.id!=="ant-design-pro-layout"||!!u.isWrapper}),q=(0,K.Mf)(J(w)),_=S()(q,1),R=_[0],tt=(0,E.useMemo)(function(){var u,o,h;return(u=(0,c.matchRoutes)(R.children,n.pathname))===null||u===void 0||(o=u.pop)===null||o===void 0||(h=o.call(u))===null||h===void 0?void 0:h.route},[n.pathname]);return(0,t.jsx)(I.f,f()(f()({route:R,location:n,title:m.title||"plugin-layout",navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(o){o.stopPropagation(),o.preventDefault(),e("/")},formatMessage:m.formatMessage||k,menu:{locale:m.locale},logo:z,menuItemRender:function(o,h){return o.isUrl||o.children?h:o.path&&n.pathname!==o.path?(0,t.jsx)(c.Link,{to:o.path.replace("/*",""),target:o.target,children:h}):h},itemRender:function(o){return(0,t.jsx)(c.Link,{to:o.path,children:o.breadcrumbName})},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0},l),{},{rightContentRender:l.rightContentRender!==!1&&function(u){var o=X({runtimeConfig:l,loading:g,initialState:s,setInitialState:A});return l.rightContentRender?l.rightContentRender(u,o,{userConfig:m,runtimeConfig:l,loading:g,initialState:s,setInitialState:A}):o},children:(0,t.jsx)(B,{route:tt,noFound:l==null?void 0:l.noFound,notFound:l==null?void 0:l.notFound,unAccessible:l==null?void 0:l.unAccessible,noAccessible:l==null?void 0:l.noAccessible,children:l.childrenRender?l.childrenRender((0,t.jsx)(c.Outlet,{}),a):(0,t.jsx)(c.Outlet,{})})}))}}}]); diff --git a/statics/t__plugin-layout__Layout.3249288b.async.js b/statics/t__plugin-layout__Layout.3249288b.async.js new file mode 100644 index 00000000..61cd7a69 --- /dev/null +++ b/statics/t__plugin-layout__Layout.3249288b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[6301],{70392:function(nt,y,i){i.r(y),i.d(y,{default:function(){return k}});var F=i(5574),S=i.n(F),M=i(19632),L=i.n(M),G=i(97857),f=i.n(G),N=i(64599),$=i.n(N),c=i(90596),E=i(67294),I=i(5522),t=i(85893),Z=function(){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,t.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,t.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,t.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,t.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,t.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,t.jsx)("g",{transform:"translate(-20 -20)",children:(0,t.jsx)("g",{transform:"translate(20 20)",children:(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{fillRule:"nonzero",children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,t.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,t.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,t.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},z=Z,D=i(29905),W=i(14726),H=function(n){var e,r;return!n.route&&(n.noFound||n.notFound)||((e=n.route)===null||e===void 0?void 0:e.unaccessible)&&(n.unAccessible||n.noAccessible)||(!n.route||((r=n.route)===null||r===void 0?void 0:r.unaccessible))&&(0,t.jsx)(D.ZP,{status:n.route?"403":"404",title:n.route?"403":"404",subTitle:n.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,t.jsx)(W.ZP,{type:"primary",onClick:function(){return c.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})||n.children},B=H,O=i(7134),T=i(75081),p=i(67159),P=i(50136),U=i(85418),V=i(92443),j=i(66999);function X(a){var n,e;if(a.runtimeConfig.rightRender)return a.runtimeConfig.rightRender(a.initialState,a.setInitialState,a.runtimeConfig);var r=(0,t.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,t.jsx)(O.C,{size:"small",className:"umi-plugin-layout-avatar",src:((n=a.initialState)===null||n===void 0?void 0:n.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,t.jsx)("span",{className:"umi-plugin-layout-name",children:(e=a.initialState)===null||e===void 0?void 0:e.name})]});if(a.loading)return(0,t.jsx)("div",{className:"umi-plugin-layout-right",children:(0,t.jsx)(T.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});var d={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V.Z,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(){var s,g;a==null||(s=a.runtimeConfig)===null||s===void 0||(g=s.logout)===null||g===void 0||g.call(s,a.initialState)}}]},x=p.Z.startsWith("5.")||p.Z.startsWith("4.24.")?{menu:d}:{overlay:(0,t.jsx)(P.Z,f()({},d))};return(0,t.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[a.runtimeConfig.logout?(0,t.jsx)(U.Z,f()(f()({},x),{},{overlayClassName:"umi-plugin-layout-container",children:r})):r,(0,t.jsx)(j.pD,{})]})}var C=i(44886),K=i(83228),Y=function a(n,e){if(n.length===0)return[];var r=[],d=$()(n),x;try{for(d.s();!(x=d.n()).done;){var v=x.value,s=f()({},v);e(v)?Array.isArray(s.routes)&&r.push.apply(r,L()(a(s.routes,e))):(Array.isArray(s.children)&&(s.children=a(s.children,e),s.routes=s.children),r.push(s))}}catch(g){d.e(g)}finally{d.f()}return r},b=function a(n){return n.length===0?[]:n.map(function(e){var r=f()({},e);return e.originPath&&(r.path=e.originPath),Array.isArray(e.routes)&&(r.routes=a(e.routes)),Array.isArray(e.children)&&(r.children=a(e.children)),r})},k=function(a){var n=(0,c.useLocation)(),e=(0,c.useNavigate)(),r=(0,c.useAppData)(),d=r.clientRoutes,x=r.pluginManager,v=C.t&&(0,C.t)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},s=v.initialState,g=v.loading,A=v.setInitialState,m={locale:!0,navTheme:"light",colorPrimary:"#1677ff",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u73A9\u8F6C\u63A5\u53E3\u6D4B\u8BD5",pwa:!1,logo:"/logo.svg",iconfontUrl:"//at.alicdn.com/t/font_915840_kom9s5w2t6k.js",apiUrl:"api.pity.fun",https:!1,backend:!0},J=(0,j.YB)(),Q=J.formatMessage,l=x.applyPlugins({key:"layout",type:"modify",initialValue:f()({},v)}),w=Y(d.filter(function(u){return u.id==="ant-design-pro-layout"}),function(u){return!!u.isLayout&&u.id!=="ant-design-pro-layout"||!!u.isWrapper}),q=(0,K.Mf)(b(w)),_=S()(q,1),R=_[0],tt=(0,E.useMemo)(function(){var u,o,h;return(u=(0,c.matchRoutes)(R.children,n.pathname))===null||u===void 0||(o=u.pop)===null||o===void 0||(h=o.call(u))===null||h===void 0?void 0:h.route},[n.pathname]);return(0,t.jsx)(I.f,f()(f()({route:R,location:n,title:m.title||"plugin-layout",navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(o){o.stopPropagation(),o.preventDefault(),e("/")},formatMessage:m.formatMessage||Q,menu:{locale:m.locale},logo:z,menuItemRender:function(o,h){return o.isUrl||o.children?h:o.path&&n.pathname!==o.path?(0,t.jsx)(c.Link,{to:o.path.replace("/*",""),target:o.target,children:h}):h},itemRender:function(o){return(0,t.jsx)(c.Link,{to:o.path,children:o.breadcrumbName})},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0},l),{},{rightContentRender:l.rightContentRender!==!1&&function(u){var o=X({runtimeConfig:l,loading:g,initialState:s,setInitialState:A});return l.rightContentRender?l.rightContentRender(u,o,{userConfig:m,runtimeConfig:l,loading:g,initialState:s,setInitialState:A}):o},children:(0,t.jsx)(B,{route:tt,noFound:l==null?void 0:l.noFound,notFound:l==null?void 0:l.notFound,unAccessible:l==null?void 0:l.unAccessible,noAccessible:l==null?void 0:l.noAccessible,children:l.childrenRender?l.childrenRender((0,t.jsx)(c.Outlet,{}),a):(0,t.jsx)(c.Outlet,{})})}))}}}]); diff --git a/statics/t__plugin-maxtabs__Layout.adf45d2d.async.js b/statics/t__plugin-maxtabs__Layout.9777d790.async.js similarity index 72% rename from statics/t__plugin-maxtabs__Layout.adf45d2d.async.js rename to statics/t__plugin-maxtabs__Layout.9777d790.async.js index 6443f9b7..3f4e7392 100644 --- a/statics/t__plugin-maxtabs__Layout.adf45d2d.async.js +++ b/statics/t__plugin-maxtabs__Layout.9777d790.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8558],{76666:function(l,u,t){t.r(u);var n=t(94171),e=t(85893),a=function(){var s=(0,n.useKeepOutlets)();return(0,e.jsx)(e.Fragment,{children:s})};u.default=a}}]); +"use strict";(self.webpackChunkpity=self.webpackChunkpity||[]).push([[8558],{76666:function(l,u,t){t.r(u);var n=t(90596),e=t(85893),a=function(){var s=(0,n.useKeepOutlets)();return(0,e.jsx)(e.Fragment,{children:s})};u.default=a}}]); diff --git a/statics/umi.910f6263.js b/statics/umi.910f6263.js new file mode 100644 index 00000000..8dc2bc05 --- /dev/null +++ b/statics/umi.910f6263.js @@ -0,0 +1,443 @@ +var Sd=Object.defineProperty,Cd=Object.defineProperties;var Ed=Object.getOwnPropertyDescriptors;var Kc=Object.getOwnPropertySymbols;var xd=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable;var _c=(Ui,Ei,oe)=>Ei in Ui?Sd(Ui,Ei,{enumerable:!0,configurable:!0,writable:!0,value:oe}):Ui[Ei]=oe,Ql=(Ui,Ei)=>{for(var oe in Ei||(Ei={}))xd.call(Ei,oe)&&_c(Ui,oe,Ei[oe]);if(Kc)for(var oe of Kc(Ei))wd.call(Ei,oe)&&_c(Ui,oe,Ei[oe]);return Ui},Yc=(Ui,Ei)=>Cd(Ui,Ed(Ei));var Ru=(Ui,Ei,oe)=>new Promise((oc,y)=>{var h=r=>{try{t(oe.next(r))}catch(i){y(i)}},e=r=>{try{t(oe.throw(r))}catch(i){y(i)}},t=r=>r.done?oc(r.value):Promise.resolve(r.value).then(h,e);t((oe=oe.apply(Ui,Ei)).next())});(function(){var Ui={54548:function(y,h,e){"use strict";e.d(h,{E4:function(){return ro},jG:function(){return R},t2:function(){return mn},ks:function(){return A},bf:function(){return Le},CI:function(){return Ua},fp:function(){return Jt},xy:function(){return $r}});var t=e(4942),r=e(97685),i=e(74902),a=e(1413);function s(bt){for(var Ht=0,Nt,Wt=0,$n=bt.length;$n>=4;++Wt,$n-=4)Nt=bt.charCodeAt(Wt)&255|(bt.charCodeAt(++Wt)&255)<<8|(bt.charCodeAt(++Wt)&255)<<16|(bt.charCodeAt(++Wt)&255)<<24,Nt=(Nt&65535)*1540483477+((Nt>>>16)*59797<<16),Nt^=Nt>>>24,Ht=(Nt&65535)*1540483477+((Nt>>>16)*59797<<16)^(Ht&65535)*1540483477+((Ht>>>16)*59797<<16);switch($n){case 3:Ht^=(bt.charCodeAt(Wt+2)&255)<<16;case 2:Ht^=(bt.charCodeAt(Wt+1)&255)<<8;case 1:Ht^=bt.charCodeAt(Wt)&255,Ht=(Ht&65535)*1540483477+((Ht>>>16)*59797<<16)}return Ht^=Ht>>>13,Ht=(Ht&65535)*1540483477+((Ht>>>16)*59797<<16),((Ht^Ht>>>15)>>>0).toString(36)}var u=s,c=e(44958),l=e(67294),d=e.t(l,2),f=e(56982),p=e(91881),v=e(15671),m=e(43144),C="%";function x(bt){return bt.join(C)}var b=function(){function bt(Ht){(0,v.Z)(this,bt),(0,t.Z)(this,"instanceId",void 0),(0,t.Z)(this,"cache",new Map),this.instanceId=Ht}return(0,m.Z)(bt,[{key:"get",value:function(Nt){return this.opGet(x(Nt))}},{key:"opGet",value:function(Nt){return this.cache.get(Nt)||null}},{key:"update",value:function(Nt,Wt){return this.opUpdate(x(Nt),Wt)}},{key:"opUpdate",value:function(Nt,Wt){var $n=this.cache.get(Nt),br=Wt($n);br===null?this.cache.delete(Nt):this.cache.set(Nt,br)}}]),bt}(),S=b,O=null,M="data-token-hash",B="data-css-hash",P="data-cache-path",L="__cssinjs_instance__";function k(){var bt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var Ht=document.body.querySelectorAll("style[".concat(B,"]"))||[],Nt=document.head.firstChild;Array.from(Ht).forEach(function($n){$n[L]=$n[L]||bt,$n[L]===bt&&document.head.insertBefore($n,Nt)});var Wt={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function($n){var br=$n.getAttribute(B);if(Wt[br]){if($n[L]===bt){var Nr;(Nr=$n.parentNode)===null||Nr===void 0||Nr.removeChild($n)}}else Wt[br]=!0})}return new S(bt)}var fe=l.createContext({hashPriority:"low",cache:k(),defaultCache:!0}),X=function(Ht){var Nt=Ht.children,Wt=_objectWithoutProperties(Ht,O),$n=React.useContext(fe),br=useMemo(function(){var Nr=_objectSpread({},$n);Object.keys(Wt).forEach(function(jr){var zr=Wt[jr];Wt[jr]!==void 0&&(Nr[jr]=zr)});var Zr=Wt.cache;return Nr.cache=Nr.cache||k(),Nr.defaultCache=!Zr&&$n.defaultCache,Nr},[$n,Wt],function(Nr,Zr){return!isEqual(Nr[0],Zr[0],!0)||!isEqual(Nr[1],Zr[1],!0)});return React.createElement(fe.Provider,{value:br},Nt)},H=fe,ue=e(71002),ve=e(98924);function Z(bt,Ht){if(bt.length!==Ht.length)return!1;for(var Nt=0;Nt1&&arguments[1]!==void 0?arguments[1]:!1,Nr={map:this.cache};return Nt.forEach(function(Zr){if(!Nr)Nr=void 0;else{var jr;Nr=(jr=Nr)===null||jr===void 0||(jr=jr.map)===null||jr===void 0?void 0:jr.get(Zr)}}),(Wt=Nr)!==null&&Wt!==void 0&&Wt.value&&br&&(Nr.value[1]=this.cacheCallTimes++),($n=Nr)===null||$n===void 0?void 0:$n.value}},{key:"get",value:function(Nt){var Wt;return(Wt=this.internalGet(Nt,!0))===null||Wt===void 0?void 0:Wt[0]}},{key:"has",value:function(Nt){return!!this.internalGet(Nt)}},{key:"set",value:function(Nt,Wt){var $n=this;if(!this.has(Nt)){if(this.size()+1>bt.MAX_CACHE_SIZE+bt.MAX_CACHE_OFFSET){var br=this.keys.reduce(function(zr,Cn){var wn=(0,r.Z)(zr,2),bn=wn[1];return $n.internalGet(Cn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ce+=1}return(0,m.Z)(bt,[{key:"getDerivativeToken",value:function(Nt){return this.derivatives.reduce(function(Wt,$n){return $n(Nt,Wt)},void 0)}}]),bt}(),U=new ne;function R(bt){var Ht=Array.isArray(bt)?bt:[bt];return U.has(Ht)||U.set(Ht,new F(Ht)),U.get(Ht)}var T=new WeakMap,w={};function N(bt,Ht){for(var Nt=T,Wt=0;Wt1&&arguments[1]!==void 0?arguments[1]:!1,Nt=K.get(bt)||"";return Nt||(Object.keys(bt).forEach(function(Wt){var $n=bt[Wt];Nt+=Wt,$n instanceof F?Nt+=$n.id:$n&&(0,ue.Z)($n)==="object"?Nt+=_($n,Ht):Nt+=$n}),Ht&&(Nt=u(Nt)),K.set(bt,Nt)),Nt}function V(bt,Ht){return u("".concat(Ht,"_").concat(_(bt,!0)))}var De="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Fe="_bAmBoO_";function Xe(bt,Ht,Nt){if((0,ve.Z)()){var Wt,$n;(0,c.hq)(bt,De);var br=document.createElement("div");br.style.position="fixed",br.style.left="0",br.style.top="0",Ht==null||Ht(br),document.body.appendChild(br);var Nr=Nt?Nt(br):(Wt=getComputedStyle(br).content)===null||Wt===void 0?void 0:Wt.includes(Fe);return($n=br.parentNode)===null||$n===void 0||$n.removeChild(br),(0,c.jL)(De),Nr}return!1}var Ke=null;function ot(){return Ke===void 0&&(Ke=Xe("@layer ".concat(De," { .").concat(De,' { content: "').concat(Fe,'"!important; } }'),function(bt){bt.className=De})),Ke}var Et=void 0;function Ot(){return Et===void 0&&(Et=Xe(":where(.".concat(De,') { content: "').concat(Fe,'"!important; }'),function(bt){bt.className=De})),Et}var dt=void 0;function He(){return dt===void 0&&(dt=Xe(".".concat(De," { inset-block: 93px !important; }"),function(bt){bt.className=De},function(bt){return getComputedStyle(bt).bottom==="93px"})),dt}var tt=(0,ve.Z)();function Le(bt){return typeof bt=="number"?"".concat(bt,"px"):bt}function J(bt,Ht,Nt){var Wt,$n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},br=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(br)return bt;var Nr=(0,a.Z)((0,a.Z)({},$n),{},(Wt={},(0,t.Z)(Wt,M,Ht),(0,t.Z)(Wt,B,Nt),Wt)),Zr=Object.keys(Nr).map(function(jr){var zr=Nr[jr];return zr?"".concat(jr,'="').concat(zr,'"'):null}).filter(function(jr){return jr}).join(" ");return"")}var A=function(Ht){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(Nt?"".concat(Nt,"-"):"").concat(Ht).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},j=function(Ht,Nt,Wt){return Object.keys(Ht).length?".".concat(Nt).concat(Wt!=null&&Wt.scope?".".concat(Wt.scope):"","{").concat(Object.entries(Ht).map(function($n){var br=(0,r.Z)($n,2),Nr=br[0],Zr=br[1];return"".concat(Nr,":").concat(Zr,";")}).join(""),"}"):""},q=function(Ht,Nt,Wt){var $n={},br={};return Object.entries(Ht).forEach(function(Nr){var Zr,jr,zr=(0,r.Z)(Nr,2),Cn=zr[0],wn=zr[1];if(Wt!=null&&(Zr=Wt.preserve)!==null&&Zr!==void 0&&Zr[Cn])br[Cn]=wn;else if((typeof wn=="string"||typeof wn=="number")&&!(Wt!=null&&(jr=Wt.ignore)!==null&&jr!==void 0&&jr[Cn])){var bn,ir=A(Cn,Wt==null?void 0:Wt.prefix);$n[ir]=typeof wn=="number"&&!(Wt!=null&&(bn=Wt.unitless)!==null&&bn!==void 0&&bn[Cn])?"".concat(wn,"px"):String(wn),br[Cn]="var(".concat(ir,")")}}),[br,j($n,Nt,{scope:Wt==null?void 0:Wt.scope})]},te=e(8410),de=(0,a.Z)({},d),Ee=de.useInsertionEffect,pe=function(Ht,Nt,Wt){l.useMemo(Ht,Wt),(0,te.Z)(function(){return Nt(!0)},Wt)},Y=Ee?function(bt,Ht,Nt){return Ee(function(){return bt(),Ht()},Nt)}:pe,re=Y,ge=(0,a.Z)({},d),me=ge.useInsertionEffect,Se=function(Ht){var Nt=[],Wt=!1;function $n(br){Wt||Nt.push(br)}return l.useEffect(function(){return Wt=!1,function(){Wt=!0,Nt.length&&Nt.forEach(function(br){return br()})}},Ht),$n},Ge=function(){return function(Ht){Ht()}},Ye=typeof me!="undefined"?Se:Ge,it=Ye;function D(){return!1}var $=!1;function Te(){return $}var Ne=D;if(!1)var Pe,Ae;function Ie(bt,Ht,Nt,Wt,$n){var br=l.useContext(H),Nr=br.cache,Zr=[bt].concat((0,i.Z)(Ht)),jr=x(Zr),zr=it([jr]),Cn=Ne(),wn=function(gt){Nr.opUpdate(jr,function(Dt){var Mt=Dt||[void 0,void 0],Rn=(0,r.Z)(Mt,2),or=Rn[0],mr=or===void 0?0:or,Ir=Rn[1],Sr=Ir,yr=Sr||Nt(),da=[mr,yr];return gt?gt(da):da})};l.useMemo(function(){wn()},[jr]);var bn=Nr.opGet(jr),ir=bn[1];return re(function(){$n==null||$n(ir)},function(Gt){return wn(function(gt){var Dt=(0,r.Z)(gt,2),Mt=Dt[0],Rn=Dt[1];return Gt&&Mt===0&&($n==null||$n(ir)),[Mt+1,Rn]}),function(){Nr.opUpdate(jr,function(gt){var Dt=gt||[],Mt=(0,r.Z)(Dt,2),Rn=Mt[0],or=Rn===void 0?0:Rn,mr=Mt[1],Ir=or-1;return Ir===0?(zr(function(){(Gt||!Nr.opGet(jr))&&(Wt==null||Wt(mr,!1))}),null):[or-1,mr]})}},[jr]),ir}var Ve={},Qe="css",at=new Map;function xt(bt){at.set(bt,(at.get(bt)||0)+1)}function St(bt,Ht){if(typeof document!="undefined"){var Nt=document.querySelectorAll("style[".concat(M,'="').concat(bt,'"]'));Nt.forEach(function(Wt){if(Wt[L]===Ht){var $n;($n=Wt.parentNode)===null||$n===void 0||$n.removeChild(Wt)}})}}var jt=0;function tn(bt,Ht){at.set(bt,(at.get(bt)||0)-1);var Nt=Array.from(at.keys()),Wt=Nt.filter(function($n){var br=at.get($n)||0;return br<=0});Nt.length-Wt.length>jt&&Wt.forEach(function($n){St($n,Ht),at.delete($n)})}var mn=function(Ht,Nt,Wt,$n){var br=Wt.getDerivativeToken(Ht),Nr=(0,a.Z)((0,a.Z)({},br),Nt);return $n&&(Nr=$n(Nr)),Nr},Ft="token";function Jt(bt,Ht){var Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Wt=(0,l.useContext)(H),$n=Wt.cache.instanceId,br=Wt.container,Nr=Nt.salt,Zr=Nr===void 0?"":Nr,jr=Nt.override,zr=jr===void 0?Ve:jr,Cn=Nt.formatToken,wn=Nt.getComputedToken,bn=Nt.cssVar,ir=N(function(){return Object.assign.apply(Object,[{}].concat((0,i.Z)(Ht)))},Ht),Gt=_(ir),gt=_(zr),Dt=bn?_(bn):"",Mt=Ie(Ft,[Zr,bt.id,Gt,gt,Dt],function(){var Rn,or=wn?wn(ir,zr,bt):mn(ir,zr,bt,Cn),mr=(0,a.Z)({},or),Ir="";if(bn){var Sr=q(or,bn.key,{prefix:bn.prefix,ignore:bn.ignore,unitless:bn.unitless,preserve:bn.preserve}),yr=(0,r.Z)(Sr,2);or=yr[0],Ir=yr[1]}var da=V(or,Zr);or._tokenKey=da,mr._tokenKey=V(mr,Zr);var na=(Rn=bn==null?void 0:bn.key)!==null&&Rn!==void 0?Rn:da;or._themeKey=na,xt(na);var Oa="".concat(Qe,"-").concat(u(da));return or._hashId=Oa,[or,Oa,mr,Ir,(bn==null?void 0:bn.key)||""]},function(Rn){tn(Rn[0]._themeKey,$n)},function(Rn){var or=(0,r.Z)(Rn,4),mr=or[0],Ir=or[3];if(bn&&Ir){var Sr=(0,c.hq)(Ir,u("css-variables-".concat(mr._themeKey)),{mark:B,prepend:"queue",attachTo:br,priority:-999});Sr[L]=$n,Sr.setAttribute(M,mr._themeKey)}});return Mt}var $t=function(Ht,Nt,Wt){var $n=(0,r.Z)(Ht,5),br=$n[2],Nr=$n[3],Zr=$n[4],jr=Wt||{},zr=jr.plain;if(!Nr)return null;var Cn=br._tokenKey,wn=-999,bn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(wn)},ir=J(Nr,Zr,Cn,bn,zr);return[wn,Cn,ir]},Vt=e(87462),On={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xn=On,Tn="-ms-",Kn="-moz-",Pn="-webkit-",Gn="comm",fn="rule",qn="decl",rr="@page",Qn="@media",kn="@import",Un="@charset",Yn="@viewport",hr="@supports",Pr="@document",Je="@namespace",we="@keyframes",se="@font-face",he="@counter-style",$e="@font-feature-values",Q="@layer",G="@scope",Be=Math.abs,W=String.fromCharCode,ft=Object.assign;function ct(bt,Ht){return Mn(bt,0)^45?(((Ht<<2^Mn(bt,0))<<2^Mn(bt,1))<<2^Mn(bt,2))<<2^Mn(bt,3):0}function It(bt){return bt.trim()}function Kt(bt,Ht){return(bt=Ht.exec(bt))?bt[0]:bt}function ln(bt,Ht,Nt){return bt.replace(Ht,Nt)}function _t(bt,Ht,Nt){return bt.indexOf(Ht,Nt)}function Mn(bt,Ht){return bt.charCodeAt(Ht)|0}function pn(bt,Ht,Nt){return bt.slice(Ht,Nt)}function nn(bt){return bt.length}function yt(bt){return bt.length}function Lt(bt,Ht){return Ht.push(bt),bt}function rn(bt,Ht){return bt.map(Ht).join("")}function At(bt,Ht){return bt.filter(function(Nt){return!Kt(Nt,Ht)})}function Zt(bt,Ht){for(var Nt="",Wt=0;Wt0?Mn(xn,--Dn):0,Nn--,En===10&&(Nn=1,an--),En}function Re(){return En=Dn2||en(En)>3?"":" "}function nr(bt){for(;Re();)switch(en(En)){case 0:append(hn(Dn-1),bt);break;case 2:append(dn(En),bt);break;default:append(from(En),bt)}return bt}function Or(bt,Ht){for(;--Ht&&Re()&&!(En<48||En>102||En>57&&En<65||En>70&&En<97););return Tt(bt,wt()+(Ht<6&&qe()==32&&Re()==32))}function gn(bt){for(;Re();)switch(En){case bt:return Dn;case 34:case 39:bt!==34&&bt!==39&&gn(En);break;case 40:bt===41&&gn(bt);break;case 92:Re();break}return Dn}function sn(bt,Ht){for(;Re()&&bt+En!==57;)if(bt+En===84&&qe()===47)break;return"/*"+Tt(Ht,Dn-1)+"*"+W(bt===47?bt:Re())}function hn(bt){for(;!en(qe());)Re();return Tt(bt,Dn)}function er(bt){return qt(zn("",null,null,null,[""],bt=Ln(bt),0,[0],bt))}function zn(bt,Ht,Nt,Wt,$n,br,Nr,Zr,jr){for(var zr=0,Cn=0,wn=Nr,bn=0,ir=0,Gt=0,gt=1,Dt=1,Mt=1,Rn=0,or="",mr=$n,Ir=br,Sr=Wt,yr=or;Dt;)switch(Gt=Rn,Rn=Re()){case 40:if(Gt!=108&&Mn(yr,wn-1)==58){_t(yr+=ln(dn(Rn),"&","&\f"),"&\f",Be(zr?Zr[zr-1]:0))!=-1&&(Mt=-1);break}case 34:case 39:case 91:yr+=dn(Rn);break;case 9:case 10:case 13:case 32:yr+=Hn(Gt);break;case 92:yr+=Or(wt()-1,7);continue;case 47:switch(qe()){case 42:case 47:Lt(ke(sn(Re(),wt()),Ht,Nt,jr),jr);break;default:yr+="/"}break;case 123*gt:Zr[zr++]=nn(yr)*Mt;case 125*gt:case 59:case 0:switch(Rn){case 0:case 125:Dt=0;case 59+Cn:Mt==-1&&(yr=ln(yr,/\f/g,"")),ir>0&&nn(yr)-wn&&Lt(ir>32?Me(yr+";",Wt,Nt,wn-1,jr):Me(ln(yr," ","")+";",Wt,Nt,wn-2,jr),jr);break;case 59:yr+=";";default:if(Lt(Sr=vt(yr,Ht,Nt,zr,Cn,$n,Zr,or,mr=[],Ir=[],wn,br),br),Rn===123)if(Cn===0)zn(yr,Ht,Sr,Sr,mr,br,wn,Zr,Ir);else switch(bn===99&&Mn(yr,3)===110?100:bn){case 100:case 108:case 109:case 115:zn(bt,Sr,Sr,Wt&&Lt(vt(bt,Sr,Sr,0,0,$n,Zr,or,$n,mr=[],wn,Ir),Ir),$n,Ir,wn,Zr,Wt?mr:Ir);break;default:zn(yr,Sr,Sr,Sr,[""],Ir,0,Zr,Ir)}}zr=Cn=ir=0,gt=Mt=1,or=yr="",wn=Nr;break;case 58:wn=1+nn(yr),ir=Gt;default:if(gt<1){if(Rn==123)--gt;else if(Rn==125&>++==0&&Oe()==125)continue}switch(yr+=W(Rn),Rn*gt){case 38:Mt=Cn>0?1:(yr+="\f",-1);break;case 44:Zr[zr++]=(nn(yr)-1)*Mt,Mt=1;break;case 64:qe()===45&&(yr+=dn(Re())),bn=qe(),Cn=wn=nn(or=yr+=hn(wt())),Rn++;break;case 45:Gt===45&&nn(yr)==2&&(gt=0)}}return br}function vt(bt,Ht,Nt,Wt,$n,br,Nr,Zr,jr,zr,Cn,wn){for(var bn=$n-1,ir=$n===0?br:[""],Gt=yt(ir),gt=0,Dt=0,Mt=0;gt0?ir[Rn]+" "+or:ln(or,/&\f/g,ir[Rn])))&&(jr[Mt++]=mr);return Zn(bt,Ht,Nt,$n===0?fn:Zr,jr,zr,Cn,wn)}function ke(bt,Ht,Nt,Wt){return Zn(bt,Ht,Nt,Gn,W(ye()),pn(bt,2,-2),0,Wt)}function Me(bt,Ht,Nt,Wt,$n){return Zn(bt,Ht,Nt,qn,pn(bt,0,Wt),pn(bt,Wt+1,-1),Wt,$n)}function We(bt,Ht){var Nt=Ht.path,Wt=Ht.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(Nt?"Error in ".concat(Nt,": "):"").concat(bt).concat(Wt.length?" Selector: ".concat(Wt.join(" | ")):""))}var Ze=function(Ht,Nt,Wt){if(Ht==="content"){var $n=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,br=["normal","none","initial","inherit","unset"];(typeof Nt!="string"||br.indexOf(Nt)===-1&&!$n.test(Nt)&&(Nt.charAt(0)!==Nt.charAt(Nt.length-1)||Nt.charAt(0)!=='"'&&Nt.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(Nt,"\"'`."),Wt)}},ht=null,ut=function(Ht,Nt,Wt){Ht==="animation"&&Wt.hashId&&Nt!=="none"&&lintWarning("You seem to be using hashed animation '".concat(Nt,"', in which case 'animationName' with Keyframe as value is recommended."),Wt)},pt=null;function Pt(bt){var Ht,Nt=((Ht=bt.match(/:not\(([^)]*)\)/))===null||Ht===void 0?void 0:Ht[1])||"",Wt=Nt.split(/(\[[^[]*])|(?=[.#])/).filter(function($n){return $n});return Wt.length>1}function zt(bt){return bt.parentSelectors.reduce(function(Ht,Nt){return Ht?Nt.includes("&")?Nt.replace(/&/g,Ht):"".concat(Ht," ").concat(Nt):Nt},"")}var kt=function(Ht,Nt,Wt){var $n=zt(Wt),br=$n.match(/:not\([^)]*\)/g)||[];br.length>0&&br.some(Pt)&&lintWarning("Concat ':not' selector not support in legacy browsers.",Wt)},vn=null,Sn=function(Ht,Nt,Wt){switch(Ht){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(Ht,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Wt);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof Nt=="string"){var $n=Nt.split(" ").map(function(Zr){return Zr.trim()});$n.length===4&&$n[1]!==$n[3]&&lintWarning("You seem to be using '".concat(Ht,"' property with different left ").concat(Ht," and right ").concat(Ht,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Wt)}return;case"clear":case"textAlign":(Nt==="left"||Nt==="right")&&lintWarning("You seem to be using non-logical value '".concat(Nt,"' of ").concat(Ht,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Wt);return;case"borderRadius":if(typeof Nt=="string"){var br=Nt.split("/").map(function(Zr){return Zr.trim()}),Nr=br.reduce(function(Zr,jr){if(Zr)return Zr;var zr=jr.split(" ").map(function(Cn){return Cn.trim()});return zr.length>=2&&zr[0]!==zr[1]||zr.length===3&&zr[1]!==zr[2]||zr.length===4&&zr[2]!==zr[3]?!0:Zr},!1);Nr&&lintWarning("You seem to be using non-logical value '".concat(Nt,"' of ").concat(Ht,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Wt)}return;default:}},sr=null,Wn=function(Ht,Nt,Wt){(typeof Nt=="string"&&/NaN/g.test(Nt)||Number.isNaN(Nt))&&lintWarning("Unexpected 'NaN' in property '".concat(Ht,": ").concat(Nt,"'."),Wt)},Fn=null,In=function(Ht,Nt,Wt){Wt.parentSelectors.some(function($n){var br=$n.split(",");return br.some(function(Nr){return Nr.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",Wt)},cr=null,lr="data-ant-cssinjs-cache-path",ar="_FILE_STYLE__";function Vr(bt){return Object.keys(bt).map(function(Ht){var Nt=bt[Ht];return"".concat(Ht,":").concat(Nt)}).join(";")}var Rr,Yr=!0;function Gr(bt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Rr=bt,Yr=Ht}function ya(){if(!Rr&&(Rr={},(0,ve.Z)())){var bt=document.createElement("div");bt.className=lr,bt.style.position="fixed",bt.style.visibility="hidden",bt.style.top="-9999px",document.body.appendChild(bt);var Ht=getComputedStyle(bt).content||"";Ht=Ht.replace(/^"/,"").replace(/"$/,""),Ht.split(";").forEach(function($n){var br=$n.split(":"),Nr=(0,r.Z)(br,2),Zr=Nr[0],jr=Nr[1];Rr[Zr]=jr});var Nt=document.querySelector("style[".concat(lr,"]"));if(Nt){var Wt;Yr=!1,(Wt=Nt.parentNode)===null||Wt===void 0||Wt.removeChild(Nt)}document.body.removeChild(bt)}}function Xr(bt){return ya(),!!Rr[bt]}function Qr(bt){var Ht=Rr[bt],Nt=null;if(Ht&&(0,ve.Z)())if(Yr)Nt=ar;else{var Wt=document.querySelector("style[".concat(B,'="').concat(Rr[bt],'"]'));Wt?Nt=Wt.innerHTML:delete Rr[bt]}return[Nt,Ht]}var pr="_skip_check_",Dr="_multi_value_";function Jr(bt){var Ht=Zt(er(bt),Xt);return Ht.replace(/\{%%%\:[^;];}/g,";")}function pa(bt){return(0,ue.Z)(bt)==="object"&&bt&&(pr in bt||Dr in bt)}function Ra(bt,Ht,Nt){if(!Ht)return bt;var Wt=".".concat(Ht),$n=Nt==="low"?":where(".concat(Wt,")"):Wt,br=bt.split(",").map(function(Nr){var Zr,jr=Nr.trim().split(/\s+/),zr=jr[0]||"",Cn=((Zr=zr.match(/^\w+/))===null||Zr===void 0?void 0:Zr[0])||"";return zr="".concat(Cn).concat($n).concat(zr.slice(Cn.length)),[zr].concat((0,i.Z)(jr.slice(1))).join(" ")});return br.join(",")}var ka=function bt(Ht){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},$n=Wt.root,br=Wt.injectHash,Nr=Wt.parentSelectors,Zr=Nt.hashId,jr=Nt.layer,zr=Nt.path,Cn=Nt.hashPriority,wn=Nt.transformers,bn=wn===void 0?[]:wn,ir=Nt.linters,Gt=ir===void 0?[]:ir,gt="",Dt={};function Mt(mr){var Ir=mr.getName(Zr);if(!Dt[Ir]){var Sr=bt(mr.style,Nt,{root:!1,parentSelectors:Nr}),yr=(0,r.Z)(Sr,1),da=yr[0];Dt[Ir]="@keyframes ".concat(mr.getName(Zr)).concat(da)}}function Rn(mr){var Ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return mr.forEach(function(Sr){Array.isArray(Sr)?Rn(Sr,Ir):Sr&&Ir.push(Sr)}),Ir}var or=Rn(Array.isArray(Ht)?Ht:[Ht]);return or.forEach(function(mr){var Ir=typeof mr=="string"&&!$n?{}:mr;if(typeof Ir=="string")gt+="".concat(Ir,` +`);else if(Ir._keyframe)Mt(Ir);else{var Sr=bn.reduce(function(yr,da){var na;return(da==null||(na=da.visit)===null||na===void 0?void 0:na.call(da,yr))||yr},Ir);Object.keys(Sr).forEach(function(yr){var da=Sr[yr];if((0,ue.Z)(da)==="object"&&da&&(yr!=="animationName"||!da._keyframe)&&!pa(da)){var na=!1,Oa=yr.trim(),uo=!1;($n||br)&&Zr?Oa.startsWith("@")?na=!0:Oa=Ra(yr,Zr,Cn):$n&&!Zr&&(Oa==="&"||Oa==="")&&(Oa="",uo=!0);var Eo=bt(da,Nt,{root:uo,injectHash:na,parentSelectors:[].concat((0,i.Z)(Nr),[Oa])}),$a=(0,r.Z)(Eo,2),co=$a[0],go=$a[1];Dt=(0,a.Z)((0,a.Z)({},Dt),go),gt+="".concat(Oa).concat(co)}else{let Ia=function(ba,za){var Qa=ba.replace(/[A-Z]/g,function(Ja){return"-".concat(Ja.toLowerCase())}),_a=za;!Xn[ba]&&typeof _a=="number"&&_a!==0&&(_a="".concat(_a,"px")),ba==="animationName"&&za!==null&&za!==void 0&&za._keyframe&&(Mt(za),_a=za.getName(Zr)),gt+="".concat(Qa,":").concat(_a,";")};var Po,ao=(Po=da==null?void 0:da.value)!==null&&Po!==void 0?Po:da;(0,ue.Z)(da)==="object"&&da!==null&&da!==void 0&&da[Dr]&&Array.isArray(ao)?ao.forEach(function(ba){Ia(yr,ba)}):Ia(yr,ao)}})}}),$n?jr&&(gt="@layer ".concat(jr.name," {").concat(gt,"}"),jr.dependencies&&(Dt["@layer ".concat(jr.name)]=jr.dependencies.map(function(mr){return"@layer ".concat(mr,", ").concat(jr.name,";")}).join(` +`))):gt="{".concat(gt,"}"),[gt,Dt]};function Da(bt,Ht){return u("".concat(bt.join("%")).concat(Ht))}function no(){return null}var Tr="style";function $r(bt,Ht){var Nt=bt.token,Wt=bt.path,$n=bt.hashId,br=bt.layer,Nr=bt.nonce,Zr=bt.clientOnly,jr=bt.order,zr=jr===void 0?0:jr,Cn=l.useContext(H),wn=Cn.autoClear,bn=Cn.mock,ir=Cn.defaultCache,Gt=Cn.hashPriority,gt=Cn.container,Dt=Cn.ssrInline,Mt=Cn.transformers,Rn=Cn.linters,or=Cn.cache,mr=Cn.layer,Ir=Nt._tokenKey,Sr=[Ir];mr&&Sr.push("layer"),Sr.push.apply(Sr,(0,i.Z)(Wt));var yr=tt,da=Ie(Tr,Sr,function(){var $a=Sr.join("|");if(Xr($a)){var co=Qr($a),go=(0,r.Z)(co,2),Po=go[0],ao=go[1];if(Po)return[Po,Ir,ao,{},Zr,zr]}var Ia=Ht(),ba=ka(Ia,{hashId:$n,hashPriority:Gt,layer:mr?br:void 0,path:Wt.join("-"),transformers:Mt,linters:Rn}),za=(0,r.Z)(ba,2),Qa=za[0],_a=za[1],Ja=Jr(Qa),Wa=Da(Sr,Ja);return[Ja,Ir,Wa,_a,Zr,zr]},function($a,co){var go=(0,r.Z)($a,3),Po=go[2];(co||wn)&&tt&&(0,c.jL)(Po,{mark:B})},function($a){var co=(0,r.Z)($a,4),go=co[0],Po=co[1],ao=co[2],Ia=co[3];if(yr&&go!==ar){var ba={mark:B,prepend:mr?!1:"queue",attachTo:gt,priority:zr},za=typeof Nr=="function"?Nr():Nr;za&&(ba.csp={nonce:za});var Qa=[],_a=[];Object.keys(Ia).forEach(function(Wa){Wa.startsWith("@layer")?Qa.push(Wa):_a.push(Wa)}),Qa.forEach(function(Wa){(0,c.hq)(Jr(Ia[Wa]),"_layer-".concat(Wa),(0,a.Z)((0,a.Z)({},ba),{},{prepend:!0}))});var Ja=(0,c.hq)(go,ao,ba);Ja[L]=or.instanceId,Ja.setAttribute(M,Ir),_a.forEach(function(Wa){(0,c.hq)(Jr(Ia[Wa]),"_effect-".concat(Wa),ba)})}}),na=(0,r.Z)(da,3),Oa=na[0],uo=na[1],Eo=na[2];return function($a){var co;if(!Dt||yr||!ir)co=l.createElement(no,null);else{var go;co=l.createElement("style",(0,Vt.Z)({},(go={},(0,t.Z)(go,M,uo),(0,t.Z)(go,B,Eo),go),{dangerouslySetInnerHTML:{__html:Oa}}))}return l.createElement(l.Fragment,null,co,$a)}}var Fr=function(Ht,Nt,Wt){var $n=(0,r.Z)(Ht,6),br=$n[0],Nr=$n[1],Zr=$n[2],jr=$n[3],zr=$n[4],Cn=$n[5],wn=Wt||{},bn=wn.plain;if(zr)return null;var ir=br,Gt={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Cn)};return ir=J(br,Nr,Zr,Gt,bn),jr&&Object.keys(jr).forEach(function(gt){if(!Nt[gt]){Nt[gt]=!0;var Dt=Jr(jr[gt]),Mt=J(Dt,Nr,"_effect-".concat(gt),Gt,bn);gt.startsWith("@layer")?ir=Mt+ir:ir+=Mt}}),[Cn,Zr,ir]},Mr="cssVar",la=function(Ht,Nt){var Wt=Ht.key,$n=Ht.prefix,br=Ht.unitless,Nr=Ht.ignore,Zr=Ht.token,jr=Ht.scope,zr=jr===void 0?"":jr,Cn=(0,l.useContext)(H),wn=Cn.cache.instanceId,bn=Cn.container,ir=Zr._tokenKey,Gt=[].concat((0,i.Z)(Ht.path),[Wt,zr,ir]),gt=Ie(Mr,Gt,function(){var Dt=Nt(),Mt=q(Dt,Wt,{prefix:$n,unitless:br,ignore:Nr,scope:zr}),Rn=(0,r.Z)(Mt,2),or=Rn[0],mr=Rn[1],Ir=Da(Gt,mr);return[or,mr,Ir,Wt]},function(Dt){var Mt=(0,r.Z)(Dt,3),Rn=Mt[2];tt&&(0,c.jL)(Rn,{mark:B})},function(Dt){var Mt=(0,r.Z)(Dt,3),Rn=Mt[1],or=Mt[2];if(!!Rn){var mr=(0,c.hq)(Rn,or,{mark:B,prepend:"queue",attachTo:bn,priority:-999});mr[L]=wn,mr.setAttribute(M,Wt)}});return gt},oa=function(Ht,Nt,Wt){var $n=(0,r.Z)(Ht,4),br=$n[1],Nr=$n[2],Zr=$n[3],jr=Wt||{},zr=jr.plain;if(!br)return null;var Cn=-999,wn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Cn)},bn=J(br,Zr,Nr,wn,zr);return[Cn,Nr,bn]},Ua=la,mo,So=(mo={},(0,t.Z)(mo,Tr,Fr),(0,t.Z)(mo,Ft,$t),(0,t.Z)(mo,Mr,oa),mo);function Bo(bt){return bt!==null}function Br(bt,Ht){var Nt=typeof Ht=="boolean"?{plain:Ht}:Ht||{},Wt=Nt.plain,$n=Wt===void 0?!1:Wt,br=Nt.types,Nr=br===void 0?["style","token","cssVar"]:br,Zr=new RegExp("^(".concat((typeof Nr=="string"?[Nr]:Nr).join("|"),")%")),jr=Array.from(bt.cache.keys()).filter(function(bn){return Zr.test(bn)}),zr={},Cn={},wn="";return jr.map(function(bn){var ir=bn.replace(Zr,"").replace(/%/g,"|"),Gt=bn.split("%"),gt=_slicedToArray(Gt,1),Dt=gt[0],Mt=So[Dt],Rn=Mt(bt.cache.get(bn)[1],zr,{plain:$n});if(!Rn)return null;var or=_slicedToArray(Rn,3),mr=or[0],Ir=or[1],Sr=or[2];return bn.startsWith("style")&&(Cn[ir]=Ir),[mr,Sr]}).filter(Bo).sort(function(bn,ir){var Gt=_slicedToArray(bn,1),gt=Gt[0],Dt=_slicedToArray(ir,1),Mt=Dt[0];return gt-Mt}).forEach(function(bn){var ir=_slicedToArray(bn,2),Gt=ir[1];wn+=Gt}),wn+=toStyleStr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Cn),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP),$n),wn}var xa=function(){function bt(Ht,Nt){(0,v.Z)(this,bt),(0,t.Z)(this,"name",void 0),(0,t.Z)(this,"style",void 0),(0,t.Z)(this,"_keyframe",!0),this.name=Ht,this.style=Nt}return(0,m.Z)(bt,[{key:"getName",value:function(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Nt?"".concat(Nt,"-").concat(this.name):this.name}}]),bt}(),ro=xa;function Ca(bt){if(typeof bt=="number")return[[bt],!1];var Ht=String(bt).trim(),Nt=Ht.match(/(.*)(!important)/),Wt=(Nt?Nt[1]:Ht).trim().split(/\s+/),$n=[],br=0;return[Wt.reduce(function(Nr,Zr){if(Zr.includes("(")||Zr.includes(")")){var jr=Zr.split("(").length-1,zr=Zr.split(")").length-1;br+=jr-zr}return br>=0&&$n.push(Zr),br===0&&(Nr.push($n.join(" ")),$n=[]),Nr},[]),!!Nt]}function ca(bt){return bt.notSplit=!0,bt}var Fa={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:ca(["borderTop","borderBottom"]),borderBlockStart:ca(["borderTop"]),borderBlockEnd:ca(["borderBottom"]),borderInline:ca(["borderLeft","borderRight"]),borderInlineStart:ca(["borderLeft"]),borderInlineEnd:ca(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function lo(bt,Ht){var Nt=bt;return Ht&&(Nt="".concat(Nt," !important")),{_skip_check_:!0,value:Nt}}var Wo={visit:function(Ht){var Nt={};return Object.keys(Ht).forEach(function(Wt){var $n=Ht[Wt],br=Fa[Wt];if(br&&(typeof $n=="number"||typeof $n=="string")){var Nr=Ca($n),Zr=(0,r.Z)(Nr,2),jr=Zr[0],zr=Zr[1];br.length&&br.notSplit?br.forEach(function(Cn){Nt[Cn]=lo($n,zr)}):br.length===1?Nt[br[0]]=lo(jr[0],zr):br.length===2?br.forEach(function(Cn,wn){var bn;Nt[Cn]=lo((bn=jr[wn])!==null&&bn!==void 0?bn:jr[0],zr)}):br.length===4?br.forEach(function(Cn,wn){var bn,ir;Nt[Cn]=lo((bn=(ir=jr[wn])!==null&&ir!==void 0?ir:jr[wn-2])!==null&&bn!==void 0?bn:jr[0],zr)}):Nt[Wt]=$n}else Nt[Wt]=$n}),Nt}},ho=null,_o=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function po(bt,Ht){var Nt=Math.pow(10,Ht+1),Wt=Math.floor(bt*Nt);return Math.round(Wt/10)*10/Nt}var Yo=function(){var Ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Nt=Ht.rootValue,Wt=Nt===void 0?16:Nt,$n=Ht.precision,br=$n===void 0?5:$n,Nr=Ht.mediaQuery,Zr=Nr===void 0?!1:Nr,jr=function(wn,bn){if(!bn)return wn;var ir=parseFloat(bn);if(ir<=1)return wn;var Gt=po(ir/Wt,br);return"".concat(Gt,"rem")},zr=function(wn){var bn=_objectSpread({},wn);return Object.entries(wn).forEach(function(ir){var Gt=_slicedToArray(ir,2),gt=Gt[0],Dt=Gt[1];if(typeof Dt=="string"&&Dt.includes("px")){var Mt=Dt.replace(_o,jr);bn[gt]=Mt}!unitless[gt]&&typeof Dt=="number"&&Dt!==0&&(bn[gt]="".concat(Dt,"px").replace(_o,jr));var Rn=gt.trim();if(Rn.startsWith("@")&&Rn.includes("px")&&Zr){var or=gt.replace(_o,jr);bn[or]=bn[gt],delete bn[gt]}}),bn};return{visit:zr}},oi=null,si={supportModernCSS:function(){return Ot()&&He()}}},32857:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};h.Z=e},1085:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};h.Z=e},89503:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};h.Z=e},48820:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};h.Z=e},66023:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};h.Z=e},29245:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};h.Z=e},15294:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};h.Z=e},68670:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"};h.Z=e},42110:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};h.Z=e},36688:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};h.Z=e},82947:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};h.Z=e},50756:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};h.Z=e},509:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};h.Z=e},34689:function(y,h){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};h.Z=e},84089:function(y,h,e){"use strict";e.d(h,{Z:function(){return B}});var t=e(1413),r=e(97685),i=e(4942),a=e(45987),s=e(67294),u=e(93967),c=e.n(u),l=e(63017),d=e(56736),f=["icon","className","onClick","style","primaryColor","secondaryColor"],p={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function v(P){var L=P.primaryColor,k=P.secondaryColor;p.primaryColor=L,p.secondaryColor=k||(0,d.pw)(L),p.calculated=!!k}function m(){return(0,t.Z)({},p)}var C=function(L){var k=L.icon,fe=L.className,X=L.onClick,H=L.style,ue=L.primaryColor,ve=L.secondaryColor,Z=(0,a.Z)(L,f),ne=p;if(ue&&(ne={primaryColor:ue,secondaryColor:ve||(0,d.pw)(ue)}),(0,d.C3)(),(0,d.Kp)((0,d.r)(k),"icon should be icon definiton, but got ".concat(k)),!(0,d.r)(k))return null;var ie=k;return ie&&typeof ie.icon=="function"&&(ie=(0,t.Z)((0,t.Z)({},ie),{},{icon:ie.icon(ne.primaryColor,ne.secondaryColor)})),(0,d.R_)(ie.icon,"svg-".concat(ie.name),(0,t.Z)({className:fe,onClick:X,style:H,"data-icon":ie.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Z))};C.displayName="IconReact",C.getTwoToneColors=m,C.setTwoToneColors=v;var x=C;function b(P){var L=(0,d.H9)(P),k=(0,r.Z)(L,2),fe=k[0],X=k[1];return x.setTwoToneColors({primaryColor:fe,secondaryColor:X})}function S(){var P=x.getTwoToneColors();return P.calculated?[P.primaryColor,P.secondaryColor]:P.primaryColor}var O=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];b("#1890ff");var M=s.forwardRef(function(P,L){var k=P.className,fe=P.icon,X=P.spin,H=P.rotate,ue=P.tabIndex,ve=P.onClick,Z=P.twoToneColor,ne=(0,a.Z)(P,O),ie=s.useContext(l.Z),ce=ie.prefixCls,F=ce===void 0?"anticon":ce,U=ie.rootClassName,R=c()(U,F,(0,i.Z)((0,i.Z)({},"".concat(F,"-").concat(fe.name),!!fe.name),"".concat(F,"-spin"),!!X||fe.name==="loading"),k),T=ue;T===void 0&&ve&&(T=-1);var w=H?{msTransform:"rotate(".concat(H,"deg)"),transform:"rotate(".concat(H,"deg)")}:void 0,N=(0,d.H9)(Z),K=(0,r.Z)(N,2),_=K[0],V=K[1];return s.createElement("span",(0,t.Z)((0,t.Z)({role:"img","aria-label":fe.name},ne),{},{ref:L,tabIndex:T,onClick:ve,className:R}),s.createElement(x,{icon:fe,primaryColor:_,secondaryColor:V,style:w}))});M.displayName="AntdIcon",M.getTwoToneColor=S,M.setTwoToneColor=b;var B=M},63017:function(y,h,e){"use strict";var t=e(67294),r=(0,t.createContext)({});h.Z=r},36027:function(y,h,e){"use strict";e.d(h,{Z:function(){return l}});var t=e(1413),r=e(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"},a=i,s=e(84089),u=function(f,p){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:p,icon:a}))},c=r.forwardRef(u),l=c},28508:function(y,h,e){"use strict";var t=e(1413),r=e(67294),i=e(89503),a=e(84089),s=function(l,d){return r.createElement(a.Z,(0,t.Z)((0,t.Z)({},l),{},{ref:d,icon:i.Z}))},u=r.forwardRef(s);h.Z=u},94149:function(y,h,e){"use strict";e.d(h,{Z:function(){return l}});var t=e(1413),r=e(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},a=i,s=e(84089),u=function(f,p){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:p,icon:a}))},c=r.forwardRef(u),l=c},92443:function(y,h,e){"use strict";e.d(h,{Z:function(){return l}});var t=e(1413),r=e(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},a=i,s=e(84089),u=function(f,p){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:p,icon:a}))},c=r.forwardRef(u),l=c},63783:function(y,h,e){"use strict";var t=e(1413),r=e(67294),i=e(36688),a=e(84089),s=function(l,d){return r.createElement(a.Z,(0,t.Z)((0,t.Z)({},l),{},{ref:d,icon:i.Z}))},u=r.forwardRef(s);h.Z=u},43471:function(y,h,e){"use strict";var t=e(1413),r=e(67294),i=e(82947),a=e(84089),s=function(l,d){return r.createElement(a.Z,(0,t.Z)((0,t.Z)({},l),{},{ref:d,icon:i.Z}))},u=r.forwardRef(s);h.Z=u},2830:function(y,h,e){"use strict";e.d(h,{Z:function(){return l}});var t=e(1413),r=e(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},a=i,s=e(84089),u=function(f,p){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:p,icon:a}))},c=r.forwardRef(u),l=c},87547:function(y,h,e){"use strict";e.d(h,{Z:function(){return l}});var t=e(1413),r=e(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=i,s=e(84089),u=function(f,p){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:p,icon:a}))},c=r.forwardRef(u),l=c},56736:function(y,h,e){"use strict";e.d(h,{R_:function(){return Ke},pw:function(){return ot},r:function(){return Fe},H9:function(){return Et},vD:function(){return Ot},C3:function(){return He},Kp:function(){return De}});var t=e(1413),r=e(71002),i=e(86500),a=e(1350),s=2,u=.16,c=.05,l=.05,d=.15,f=5,p=4,v=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function m(tt){var Le=tt.r,J=tt.g,A=tt.b,j=(0,i.py)(Le,J,A);return{h:j.h*360,s:j.s,v:j.v}}function C(tt){var Le=tt.r,J=tt.g,A=tt.b;return"#".concat((0,i.vq)(Le,J,A,!1))}function x(tt,Le,J){var A=J/100,j={r:(Le.r-tt.r)*A+tt.r,g:(Le.g-tt.g)*A+tt.g,b:(Le.b-tt.b)*A+tt.b};return j}function b(tt,Le,J){var A;return Math.round(tt.h)>=60&&Math.round(tt.h)<=240?A=J?Math.round(tt.h)-s*Le:Math.round(tt.h)+s*Le:A=J?Math.round(tt.h)+s*Le:Math.round(tt.h)-s*Le,A<0?A+=360:A>=360&&(A-=360),A}function S(tt,Le,J){if(tt.h===0&&tt.s===0)return tt.s;var A;return J?A=tt.s-u*Le:Le===p?A=tt.s+u:A=tt.s+c*Le,A>1&&(A=1),J&&Le===f&&A>.1&&(A=.1),A<.06&&(A=.06),Number(A.toFixed(2))}function O(tt,Le,J){var A;return J?A=tt.v+l*Le:A=tt.v-d*Le,A>1&&(A=1),Number(A.toFixed(2))}function M(tt){for(var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=[],A=(0,a.uA)(tt),j=f;j>0;j-=1){var q=m(A),te=C((0,a.uA)({h:b(q,j,!0),s:S(q,j,!0),v:O(q,j,!0)}));J.push(te)}J.push(C(A));for(var de=1;de<=p;de+=1){var Ee=m(A),pe=C((0,a.uA)({h:b(Ee,de),s:S(Ee,de),v:O(Ee,de)}));J.push(pe)}return Le.theme==="dark"?v.map(function(Y){var re=Y.index,ge=Y.opacity,me=C(x((0,a.uA)(Le.backgroundColor||"#141414"),(0,a.uA)(J[re]),ge*100));return me}):J}var B={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"},P={},L={};Object.keys(B).forEach(function(tt){P[tt]=M(B[tt]),P[tt].primary=P[tt][5],L[tt]=M(B[tt],{theme:"dark",backgroundColor:"#141414"}),L[tt].primary=L[tt][5]});var k=P.red,fe=P.volcano,X=P.gold,H=P.orange,ue=P.yellow,ve=P.lime,Z=P.green,ne=P.cyan,ie=P.blue,ce=P.geekblue,F=P.purple,U=P.magenta,R=P.grey,T=e(67294),w=e(80334),N=e(44958),K=e(63017),_=e(68929),V=e.n(_);function De(tt,Le){(0,w.ZP)(tt,"[@ant-design/icons] ".concat(Le))}function Fe(tt){return(0,r.Z)(tt)==="object"&&typeof tt.name=="string"&&typeof tt.theme=="string"&&((0,r.Z)(tt.icon)==="object"||typeof tt.icon=="function")}function Xe(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(tt).reduce(function(Le,J){var A=tt[J];switch(J){case"class":Le.className=A,delete Le.class;break;default:delete Le[J],Le[V()(J)]=A}return Le},{})}function Ke(tt,Le,J){return J?T.createElement(tt.tag,(0,t.Z)((0,t.Z)({key:Le},Xe(tt.attrs)),J),(tt.children||[]).map(function(A,j){return Ke(A,"".concat(Le,"-").concat(tt.tag,"-").concat(j))})):T.createElement(tt.tag,(0,t.Z)({key:Le},Xe(tt.attrs)),(tt.children||[]).map(function(A,j){return Ke(A,"".concat(Le,"-").concat(tt.tag,"-").concat(j))}))}function ot(tt){return M(tt)[0]}function Et(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}var Ot={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},dt=` +.anticon { + display: inline-flex; + alignItems: center; + 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); + } +} +`,He=function(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dt,J=(0,T.useContext)(K.Z),A=J.csp;(0,T.useEffect)(function(){(0,N.hq)(Le,"@ant-design-icons",{prepend:!0,csp:A})},[])}},87909:function(y,h,e){"use strict";e.d(h,{q:function(){return P}});var t=e(1413),r=e(87462),i=e(67294),a={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},s=a,u=e(65555),c=function(k,fe){return i.createElement(u.Z,(0,r.Z)({},k,{ref:fe,icon:s}))},l=i.forwardRef(c),d=l,f=e(21612),p=e(28459),v=e(93967),m=e.n(v),C=e(4942),x=e(98082),b=function(k){return(0,C.Z)({},k.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:k.colorTextSecondary,"&-link":{color:k.colorTextSecondary,textDecoration:k.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:k.colorPrimary}},"&-copyright":{fontSize:"14px",color:k.colorText}})};function S(L){return(0,x.Xj)("ProLayoutFooter",function(k){var fe=(0,t.Z)((0,t.Z)({},k),{},{componentCls:".".concat(L)});return[b(fe)]})}var O=e(85893),M=function(k){var fe=k.className,X=k.prefixCls,H=k.links,ue=k.copyright,ve=k.style,Z=(0,i.useContext)(p.ZP.ConfigContext),ne=Z.getPrefixCls(X||"pro-global-footer"),ie=S(ne),ce=ie.wrapSSR,F=ie.hashId;return(H==null||H===!1||Array.isArray(H)&&H.length===0)&&(ue==null||ue===!1)?null:ce((0,O.jsxs)("div",{className:m()(ne,F,fe),style:ve,children:[H&&(0,O.jsx)("div",{className:"".concat(ne,"-list ").concat(F).trim(),children:H.map(function(U){return(0,O.jsx)("a",{className:"".concat(ne,"-list-link ").concat(F).trim(),title:U.key,target:U.blankTarget?"_blank":"_self",href:U.href,rel:"noreferrer",children:U.title},U.key)})}),ue&&(0,O.jsx)("div",{className:"".concat(ne,"-copyright ").concat(F).trim(),children:ue})]}))},B=f.Z.Footer,P=function(k){var fe=k.links,X=k.copyright,H=k.style,ue=k.className,ve=k.prefixCls;return(0,O.jsx)(B,{className:ue,style:(0,t.Z)({padding:0},H),children:(0,O.jsx)(M,{links:fe,prefixCls:ve,copyright:X===!1?null:(0,O.jsxs)(i.Fragment,{children:[(0,O.jsx)(d,{})," ",X]})})})}},83832:function(y,h,e){"use strict";e.d(h,{S:function(){return c}});var t=e(1413),r=e(45987),i=e(75081),a=e(67294),s=e(85893),u=["isLoading","pastDelay","timedOut","error","retry"],c=function(d){var f=d.isLoading,p=d.pastDelay,v=d.timedOut,m=d.error,C=d.retry,x=(0,r.Z)(d,u);return(0,s.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,s.jsx)(i.Z,(0,t.Z)({size:"large"},x))})}},14192:function(y,h,e){"use strict";e.d(h,{h:function(){return t}});var t={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1}},52676:function(y,h,e){"use strict";e.d(h,{e:function(){return x},G:function(){return C}});var t=e(12044),r=e(1413),i={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},a=(0,r.Z)({},i),s={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},u=(0,r.Z)({},s),c={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},l=(0,r.Z)({},c),d={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},f=(0,r.Z)({},d),p={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},v=(0,r.Z)({},p),m={"zh-CN":f,"zh-TW":v,"en-US":a,"it-IT":u,"ko-KR":l},C=function(){if(!(0,t.j)())return"zh-CN";var S=window.localStorage.getItem("umi_locale");return S||window.g_locale||navigator.language},x=function(){var S=C();return m[S]||m["zh-CN"]}},62812:function(y,h,e){"use strict";e.d(h,{O7:function(){return r},QX:function(){return s},tV:function(){return a}});var t=e(1413),r=function u(c){return(c||[]).reduce(function(l,d){if(d.key&&l.push(d.key),d.children||d.routes){var f=l.concat(u(d.children||d.routes)||[]);return f}return l},[])},i={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function a(u){return u&&i[u]?i[u]:u||""}function s(u){return u.map(function(c){var l=c.children||[],d=(0,t.Z)({},c);if(!d.children&&d.routes&&(d.children=d.routes),!d.name||d.hideInMenu)return null;if(d&&d!==null&&d!==void 0&&d.children){if(!d.hideChildrenInMenu&&l.some(function(f){return f&&f.name&&!f.hideInMenu}))return(0,t.Z)((0,t.Z)({},c),{},{children:s(l)});delete d.children}return delete d.routes,d}).filter(function(c){return c})}},34853:function(y,h,e){"use strict";e.r(h),e.d(h,{blue:function(){return Z},cyan:function(){return ve},geekblue:function(){return ne},generate:function(){return S},gold:function(){return k},gray:function(){return U},green:function(){return ue},grey:function(){return F},lime:function(){return H},magenta:function(){return ce},orange:function(){return fe},presetDarkPalettes:function(){return B},presetPalettes:function(){return M},presetPrimaryColors:function(){return O},purple:function(){return ie},red:function(){return P},volcano:function(){return L},yellow:function(){return X}});var t=e(86500),r=e(1350),i=2,a=.16,s=.05,u=.05,c=.15,l=5,d=4,f=[{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 p(R){var T=R.r,w=R.g,N=R.b,K=(0,t.py)(T,w,N);return{h:K.h*360,s:K.s,v:K.v}}function v(R){var T=R.r,w=R.g,N=R.b;return"#".concat((0,t.vq)(T,w,N,!1))}function m(R,T,w){var N=w/100,K={r:(T.r-R.r)*N+R.r,g:(T.g-R.g)*N+R.g,b:(T.b-R.b)*N+R.b};return K}function C(R,T,w){var N;return Math.round(R.h)>=60&&Math.round(R.h)<=240?N=w?Math.round(R.h)-i*T:Math.round(R.h)+i*T:N=w?Math.round(R.h)+i*T:Math.round(R.h)-i*T,N<0?N+=360:N>=360&&(N-=360),N}function x(R,T,w){if(R.h===0&&R.s===0)return R.s;var N;return w?N=R.s-a*T:T===d?N=R.s+a:N=R.s+s*T,N>1&&(N=1),w&&T===l&&N>.1&&(N=.1),N<.06&&(N=.06),Number(N.toFixed(2))}function b(R,T,w){var N;return w?N=R.v+u*T:N=R.v-c*T,N>1&&(N=1),Number(N.toFixed(2))}function S(R){for(var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=[],N=(0,r.uA)(R),K=l;K>0;K-=1){var _=p(N),V=v((0,r.uA)({h:C(_,K,!0),s:x(_,K,!0),v:b(_,K,!0)}));w.push(V)}w.push(v(N));for(var De=1;De<=d;De+=1){var Fe=p(N),Xe=v((0,r.uA)({h:C(Fe,De),s:x(Fe,De),v:b(Fe,De)}));w.push(Xe)}return T.theme==="dark"?f.map(function(Ke){var ot=Ke.index,Et=Ke.opacity,Ot=v(m((0,r.uA)(T.backgroundColor||"#141414"),(0,r.uA)(w[ot]),Et*100));return Ot}):w}var O={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M={},B={};Object.keys(O).forEach(function(R){M[R]=S(O[R]),M[R].primary=M[R][5],B[R]=S(O[R],{theme:"dark",backgroundColor:"#141414"}),B[R].primary=B[R][5]});var P=M.red,L=M.volcano,k=M.gold,fe=M.orange,X=M.yellow,H=M.lime,ue=M.green,ve=M.cyan,Z=M.blue,ne=M.geekblue,ie=M.purple,ce=M.magenta,F=M.grey,U=M.grey},65555:function(y,h,e){"use strict";e.d(h,{Z:function(){return L}});var t=e(87462),r=e(97685),i=e(4942),a=e(45987),s=e(67294),u=e(93967),c=e.n(u),l=e(34853),d=e(2446),f=e(1413),p=e(14004),v=["icon","className","onClick","style","primaryColor","secondaryColor"],m={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function C(k){var fe=k.primaryColor,X=k.secondaryColor;m.primaryColor=fe,m.secondaryColor=X||(0,p.pw)(fe),m.calculated=!!X}function x(){return(0,f.Z)({},m)}var b=function(fe){var X=fe.icon,H=fe.className,ue=fe.onClick,ve=fe.style,Z=fe.primaryColor,ne=fe.secondaryColor,ie=(0,a.Z)(fe,v),ce=s.useRef(),F=m;if(Z&&(F={primaryColor:Z,secondaryColor:ne||(0,p.pw)(Z)}),(0,p.C3)(ce),(0,p.Kp)((0,p.r)(X),"icon should be icon definiton, but got ".concat(X)),!(0,p.r)(X))return null;var U=X;return U&&typeof U.icon=="function"&&(U=(0,f.Z)((0,f.Z)({},U),{},{icon:U.icon(F.primaryColor,F.secondaryColor)})),(0,p.R_)(U.icon,"svg-".concat(U.name),(0,f.Z)((0,f.Z)({className:H,onClick:ue,style:ve,"data-icon":U.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},ie),{},{ref:ce}))};b.displayName="IconReact",b.getTwoToneColors=x,b.setTwoToneColors=C;var S=b;function O(k){var fe=(0,p.H9)(k),X=(0,r.Z)(fe,2),H=X[0],ue=X[1];return S.setTwoToneColors({primaryColor:H,secondaryColor:ue})}function M(){var k=S.getTwoToneColors();return k.calculated?[k.primaryColor,k.secondaryColor]:k.primaryColor}var B=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O(l.blue.primary);var P=s.forwardRef(function(k,fe){var X=k.className,H=k.icon,ue=k.spin,ve=k.rotate,Z=k.tabIndex,ne=k.onClick,ie=k.twoToneColor,ce=(0,a.Z)(k,B),F=s.useContext(d.Z),U=F.prefixCls,R=U===void 0?"anticon":U,T=F.rootClassName,w=c()(T,R,(0,i.Z)((0,i.Z)({},"".concat(R,"-").concat(H.name),!!H.name),"".concat(R,"-spin"),!!ue||H.name==="loading"),X),N=Z;N===void 0&&ne&&(N=-1);var K=ve?{msTransform:"rotate(".concat(ve,"deg)"),transform:"rotate(".concat(ve,"deg)")}:void 0,_=(0,p.H9)(ie),V=(0,r.Z)(_,2),De=V[0],Fe=V[1];return s.createElement("span",(0,t.Z)({role:"img","aria-label":H.name},ce,{ref:fe,tabIndex:N,onClick:ne,className:w}),s.createElement(S,{icon:H,primaryColor:De,secondaryColor:Fe,style:K}))});P.displayName="AntdIcon",P.getTwoToneColor=M,P.setTwoToneColor=O;var L=P},2446:function(y,h,e){"use strict";var t=e(67294),r=(0,t.createContext)({});h.Z=r},14004:function(y,h,e){"use strict";e.d(h,{C3:function(){return O},H9:function(){return x},Kp:function(){return f},R_:function(){return m},pw:function(){return C},r:function(){return p},vD:function(){return b}});var t=e(1413),r=e(71002),i=e(34853),a=e(44958),s=e(27571),u=e(80334),c=e(67294),l=e(2446);function d(M){return M.replace(/-(.)/g,function(B,P){return P.toUpperCase()})}function f(M,B){(0,u.ZP)(M,"[@ant-design/icons] ".concat(B))}function p(M){return(0,r.Z)(M)==="object"&&typeof M.name=="string"&&typeof M.theme=="string"&&((0,r.Z)(M.icon)==="object"||typeof M.icon=="function")}function v(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(M).reduce(function(B,P){var L=M[P];switch(P){case"class":B.className=L,delete B.class;break;default:delete B[P],B[d(P)]=L}return B},{})}function m(M,B,P){return P?c.createElement(M.tag,(0,t.Z)((0,t.Z)({key:B},v(M.attrs)),P),(M.children||[]).map(function(L,k){return m(L,"".concat(B,"-").concat(M.tag,"-").concat(k))})):c.createElement(M.tag,(0,t.Z)({key:B},v(M.attrs)),(M.children||[]).map(function(L,k){return m(L,"".concat(B,"-").concat(M.tag,"-").concat(k))}))}function C(M){return(0,i.generate)(M)[0]}function x(M){return M?Array.isArray(M)?M:[M]:[]}var b={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},S=` +.anticon { + display: inline-flex; + align-items: center; + 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); + } +} +`,O=function(B){var P=(0,c.useContext)(l.Z),L=P.csp,k=P.prefixCls,fe=S;k&&(fe=fe.replace(/anticon/g,k)),(0,c.useEffect)(function(){var X=B.current,H=(0,s.A)(X);(0,a.hq)(fe,"@ant-design-icons",{prepend:!0,csp:L,attachTo:H})},[])}},10915:function(y,h,e){"use strict";e.d(h,{_Y:function(){return Z},L_:function(){return ie},ZP:function(){return ce},nu:function(){return fe},YB:function(){return ne}});var t=e(74902),r=e(97685),i=e(45987),a=e(1413),s=e(54548),u=e(28459),c=e(37029),l=e(67294),d=e(81758),f=e(32818),p=e(27484),v=e.n(p),m=e(98082),C=function(U,R){var T,w,N,K,_,V=(0,a.Z)({},U);return(0,a.Z)((0,a.Z)({bgLayout:"linear-gradient(".concat(R.colorBgContainer,", ").concat(R.colorBgLayout," 28%)"),colorTextAppListIcon:R.colorTextSecondary,appListIconHoverBgColor:V==null||(T=V.sider)===null||T===void 0?void 0:T.colorBgMenuItemSelected,colorBgAppListIconHover:(0,m.uK)(R.colorTextBase,.04),colorTextAppListIconHover:R.colorTextBase},V),{},{header:(0,a.Z)({colorBgHeader:(0,m.uK)(R.colorBgElevated,.6),colorBgScrollHeader:(0,m.uK)(R.colorBgElevated,.8),colorHeaderTitle:R.colorText,colorBgMenuItemHover:(0,m.uK)(R.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(V==null||(w=V.header)===null||w===void 0?void 0:w.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?(N=V.header)===null||N===void 0?void 0:N.colorBgHeader:R.colorBgElevated,colorTextMenuSelected:(0,m.uK)(R.colorTextBase,.95),colorBgRightActionsItemHover:(0,m.uK)(R.colorTextBase,.03),colorTextRightActionsItem:R.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:R.colorTextSecondary,colorTextMenuSecondary:R.colorTextTertiary,colorTextMenuTitle:R.colorText,colorTextMenuActive:R.colorText},V.header),sider:(0,a.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:R.colorBgElevated,colorTextCollapsedButtonHover:R.colorTextSecondary,colorTextCollapsedButton:(0,m.uK)(R.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,m.uK)(R.colorTextBase,.06),colorBgMenuItemHover:(0,m.uK)(R.colorTextBase,.03),colorBgMenuItemSelected:(0,m.uK)(R.colorTextBase,.04),colorTextMenuItemHover:R.colorText,colorTextMenuSelected:(0,m.uK)(R.colorTextBase,.95),colorTextMenuActive:R.colorText,colorTextMenu:R.colorTextSecondary,colorTextMenuSecondary:R.colorTextTertiary,colorTextMenuTitle:R.colorText,colorTextSubMenuSelected:(0,m.uK)(R.colorTextBase,.95)},V.sider),pageContainer:(0,a.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((K=V.pageContainer)===null||K===void 0?void 0:K.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((_=V.pageContainer)===null||_===void 0?void 0:_.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:R.colorBgElevated},V.pageContainer)})},x=e(67804),b=e(71002),S=function(){for(var U={},R=arguments.length,T=new Array(R),w=0;w1&&arguments[1]!==void 0?arguments[1]:1,m=3735928559^v,C=1103547991^v,x=0,b;x>>16,2246822507)^Math.imul(C^C>>>13,3266489909),C=Math.imul(C^C>>>16,2246822507)^Math.imul(m^m>>>13,3266489909),4294967296*(2097151&C)+(m>>>0)},c=(0,r.jG)(function(f){return f}),l={theme:c,token:(0,t.Z)((0,t.Z)({},s),i.Z===null||i.Z===void 0||(a=i.Z.defaultAlgorithm)===null||a===void 0?void 0:a.call(i.Z,i.Z===null||i.Z===void 0?void 0:i.Z.defaultSeed)),hashId:"pro-".concat(u(JSON.stringify(s)))},d=function(){return l}},1977:function(y,h,e){"use strict";e.d(h,{n:function(){return f}});var t=e(97685),r=e(71002),i=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,a=function(v){return v==="*"||v==="x"||v==="X"},s=function(v){var m=parseInt(v,10);return isNaN(m)?v:m},u=function(v,m){return(0,r.Z)(v)!==(0,r.Z)(m)?[String(v),String(m)]:[v,m]},c=function(v,m){if(a(v)||a(m))return 0;var C=u(s(v),s(m)),x=(0,t.Z)(C,2),b=x[0],S=x[1];return b>S?1:b-1?{open:l,onOpenChange:d}:{visible:l,onVisibleChange:d};return(0,r.Y)(f)}},12044:function(y,h,e){"use strict";e.d(h,{j:function(){return i}});var t=e(34155),r=typeof t!="undefined"&&t.versions!=null&&t.versions.node!=null,i=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!r}},92210:function(y,h,e){"use strict";e.d(h,{T:function(){return i}});var t=e(1413),r=e(71002),i=function(){for(var s={},u=arguments.length,c=new Array(u),l=0;l0?v(k,--P):0,M--,L===10&&(M=1,O--),L}function ve(){return L=P2||ce(L)>3?"":" "}function N(ae){for(;ve();)switch(ce(L)){case 0:append(De(P-1),ae);break;case 2:append(R(L),ae);break;default:append(from(L),ae)}return ae}function K(ae,ye){for(;--ye&&ve()&&!(L<48||L>102||L>57&&L<65||L>70&&L<97););return ie(ae,ne()+(ye<6&&Z()==32&&ve()==32))}function _(ae){for(;ve();)switch(L){case ae:return P;case 34:case 39:ae!==34&&ae!==39&&_(L);break;case 40:ae===41&&_(ae);break;case 92:ve();break}return P}function V(ae,ye){for(;ve()&&ae+L!==57;)if(ae+L===84&&Z()===47)break;return"/*"+ie(ye,P-1)+"*"+s(ae===47?ae:ve())}function De(ae){for(;!ce(Z());)ve();return ie(ae,P)}var Fe="-ms-",Xe="-moz-",Ke="-webkit-",ot="comm",Et="rule",Ot="decl",dt="@page",He="@media",tt="@import",Le="@charset",J="@viewport",A="@supports",j="@document",q="@namespace",te="@keyframes",de="@font-face",Ee="@counter-style",pe="@font-feature-values",Y="@layer";function re(ae,ye){for(var Oe="",Re=x(ae),qe=0;qe-1&&!ae.return)switch(ae.type){case DECLARATION:ae.return=prefix(ae.value,ae.length,Oe);return;case KEYFRAMES:return serialize([copy(ae,{value:replace(ae.value,"@","@"+WEBKIT)})],Re);case RULESET:if(ae.length)return combine(ae.props,function(qe){switch(match(qe,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(ae,{props:[replace(qe,/:(read-\w+)/,":"+MOZ+"$1")]})],Re);case"::placeholder":return serialize([copy(ae,{props:[replace(qe,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(ae,{props:[replace(qe,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(ae,{props:[replace(qe,/:(plac\w+)/,MS+"input-$1")]})],Re)}return""})}}function Ye(ae){switch(ae.type){case RULESET:ae.props=ae.props.map(function(ye){return combine(tokenize(ye),function(Oe,Re,qe){switch(charat(Oe,0)){case 12:return substr(Oe,1,strlen(Oe));case 0:case 40:case 43:case 62:case 126:return Oe;case 58:qe[++Re]==="global"&&(qe[Re]="",qe[++Re]="\f"+substr(qe[Re],Re=1,-1));case 32:return Re===1?"":Oe;default:switch(Re){case 0:return ae=Oe,sizeof(qe)>1?"":Oe;case(Re=sizeof(qe)-1):case 2:return Re===2?Oe+ae+ae:Oe+ae;default:return Oe}}})})}}function it(ae){return U(D("",null,null,null,[""],ae=F(ae),0,[0],ae))}function D(ae,ye,Oe,Re,qe,wt,Tt,en,Ln){for(var qt=0,dn=0,Bn=Tt,Hn=0,nr=0,Or=0,gn=1,sn=1,hn=1,er=0,zn="",vt=qe,ke=wt,Me=Re,We=zn;sn;)switch(Or=er,er=ve()){case 40:if(Or!=108&&v(We,Bn-1)==58){p(We+=f(R(er),"&","&\f"),"&\f")!=-1&&(hn=-1);break}case 34:case 39:case 91:We+=R(er);break;case 9:case 10:case 13:case 32:We+=w(Or);break;case 92:We+=K(ne()-1,7);continue;case 47:switch(Z()){case 42:case 47:b(Te(V(ve(),ne()),ye,Oe),Ln);break;default:We+="/"}break;case 123*gn:en[qt++]=C(We)*hn;case 125*gn:case 59:case 0:switch(er){case 0:case 125:sn=0;case 59+dn:hn==-1&&(We=f(We,/\f/g,"")),nr>0&&C(We)-Bn&&b(nr>32?Ne(We+";",Re,Oe,Bn-1):Ne(f(We," ","")+";",Re,Oe,Bn-2),Ln);break;case 59:We+=";";default:if(b(Me=$(We,ye,Oe,qt,dn,qe,en,zn,vt=[],ke=[],Bn),wt),er===123)if(dn===0)D(We,ye,Me,Me,vt,wt,Bn,en,ke);else switch(Hn===99&&v(We,3)===110?100:Hn){case 100:case 108:case 109:case 115:D(ae,Me,Me,Re&&b($(ae,Me,Me,0,0,qe,en,zn,qe,vt=[],Bn),ke),qe,ke,Bn,en,Re?vt:ke);break;default:D(We,Me,Me,Me,[""],ke,0,en,ke)}}qt=dn=nr=0,gn=hn=1,zn=We="",Bn=Tt;break;case 58:Bn=1+C(We),nr=Or;default:if(gn<1){if(er==123)--gn;else if(er==125&&gn++==0&&ue()==125)continue}switch(We+=s(er),er*gn){case 38:hn=dn>0?1:(We+="\f",-1);break;case 44:en[qt++]=(C(We)-1)*hn,hn=1;break;case 64:Z()===45&&(We+=R(ve())),Hn=Z(),dn=Bn=C(zn=We+=De(ne())),er++;break;case 45:Or===45&&C(We)==2&&(gn=0)}}return wt}function $(ae,ye,Oe,Re,qe,wt,Tt,en,Ln,qt,dn){for(var Bn=qe-1,Hn=qe===0?wt:[""],nr=x(Hn),Or=0,gn=0,sn=0;Or0?Hn[hn]+" "+er:f(er,/&\f/g,Hn[hn])))&&(Ln[sn++]=zn);return fe(ae,ye,Oe,qe===0?Et:en,Ln,qt,dn)}function Te(ae,ye,Oe){return fe(ae,ye,Oe,ot,s(H()),m(ae,2,-2),0)}function Ne(ae,ye,Oe,Re){return fe(ae,ye,Oe,Ot,m(ae,0,Re),m(ae,Re+1,-1),Re)}var Pe=function(ye,Oe,Re){for(var qe=0,wt=0;qe=wt,wt=Z(),qe===38&&wt===12&&(Oe[Re]=1),!ce(wt);)ve();return ie(ye,P)},Ae=function(ye,Oe){var Re=-1,qe=44;do switch(ce(qe)){case 0:qe===38&&Z()===12&&(Oe[Re]=1),ye[Re]+=Pe(P-1,Oe,Re);break;case 2:ye[Re]+=R(qe);break;case 4:if(qe===44){ye[++Re]=Z()===58?"&\f":"",Oe[Re]=ye[Re].length;break}default:ye[Re]+=s(qe)}while(qe=ve());return ye},Ie=function(ye,Oe){return U(Ae(F(ye),Oe))},Ve=new WeakMap,Qe=function(ye){if(!(ye.type!=="rule"||!ye.parent||ye.length<1)){for(var Oe=ye.value,Re=ye.parent,qe=ye.column===Re.column&&ye.line===Re.line;Re.type!=="rule";)if(Re=Re.parent,!Re)return;if(!(ye.props.length===1&&Oe.charCodeAt(0)!==58&&!Ve.get(Re))&&!qe){Ve.set(ye,!0);for(var wt=[],Tt=Ie(Oe,wt),en=Re.props,Ln=0,qt=0;Ln-1},jt=function(ye){return function(Oe,Re,qe){if(!(Oe.type!=="rule"||ye.compat)){var wt=Oe.value.match(/(:first|:nth|:nth-last)-child/g);if(wt){for(var Tt=!!Oe.parent,en=Tt?Oe.parent.children:qe,Ln=en.length-1;Ln>=0;Ln--){var qt=en[Ln];if(qt.line=0;Re--)if(!tn(Oe[Re]))return!0;return!1},Ft=function(ye){ye.type="",ye.value="",ye.return="",ye.children="",ye.props=""},Jt=function(ye,Oe,Re){!tn(ye)||(ye.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ft(ye)):mn(Oe,Re)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ft(ye)))};function $t(ae,ye){switch(c(ae,ye)){case 5103:return Ke+"print-"+ae+ae;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ke+ae+ae;case 5349:case 4246:case 4810:case 6968:case 2756:return Ke+ae+Xe+ae+Fe+ae+ae;case 6828:case 4268:return Ke+ae+Fe+ae+ae;case 6165:return Ke+ae+Fe+"flex-"+ae+ae;case 5187:return Ke+ae+f(ae,/(\w+).+(:[^]+)/,Ke+"box-$1$2"+Fe+"flex-$1$2")+ae;case 5443:return Ke+ae+Fe+"flex-item-"+f(ae,/flex-|-self/,"")+ae;case 4675:return Ke+ae+Fe+"flex-line-pack"+f(ae,/align-content|flex-|-self/,"")+ae;case 5548:return Ke+ae+Fe+f(ae,"shrink","negative")+ae;case 5292:return Ke+ae+Fe+f(ae,"basis","preferred-size")+ae;case 6060:return Ke+"box-"+f(ae,"-grow","")+Ke+ae+Fe+f(ae,"grow","positive")+ae;case 4554:return Ke+f(ae,/([^-])(transform)/g,"$1"+Ke+"$2")+ae;case 6187:return f(f(f(ae,/(zoom-|grab)/,Ke+"$1"),/(image-set)/,Ke+"$1"),ae,"")+ae;case 5495:case 3959:return f(ae,/(image-set\([^]*)/,Ke+"$1$`$1");case 4968:return f(f(ae,/(.+:)(flex-)?(.*)/,Ke+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ke+ae+ae;case 4095:case 3583:case 4068:case 2532:return f(ae,/(.+)-inline(.+)/,Ke+"$1$2")+ae;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(ae)-1-ye>6)switch(v(ae,ye+1)){case 109:if(v(ae,ye+4)!==45)break;case 102:return f(ae,/(.+:)(.+)-([^]+)/,"$1"+Ke+"$2-$3$1"+Xe+(v(ae,ye+3)==108?"$3":"$2-$3"))+ae;case 115:return~p(ae,"stretch")?$t(f(ae,"stretch","fill-available"),ye)+ae:ae}break;case 4949:if(v(ae,ye+1)!==115)break;case 6444:switch(v(ae,C(ae)-3-(~p(ae,"!important")&&10))){case 107:return f(ae,":",":"+Ke)+ae;case 101:return f(ae,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ke+(v(ae,14)===45?"inline-":"")+"box$3$1"+Ke+"$2$3$1"+Fe+"$2box$3")+ae}break;case 5936:switch(v(ae,ye+11)){case 114:return Ke+ae+Fe+f(ae,/[svh]\w+-[tblr]{2}/,"tb")+ae;case 108:return Ke+ae+Fe+f(ae,/[svh]\w+-[tblr]{2}/,"tb-rl")+ae;case 45:return Ke+ae+Fe+f(ae,/[svh]\w+-[tblr]{2}/,"lr")+ae}return Ke+ae+Fe+ae+ae}return ae}var Vt=function(ye,Oe,Re,qe){if(ye.length>-1&&!ye.return)switch(ye.type){case Ot:ye.return=$t(ye.value,ye.length);break;case te:return re([X(ye,{value:f(ye.value,"@","@"+Ke)})],qe);case Et:if(ye.length)return S(ye.props,function(wt){switch(d(wt,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return re([X(ye,{props:[f(wt,/:(read-\w+)/,":"+Xe+"$1")]})],qe);case"::placeholder":return re([X(ye,{props:[f(wt,/:(plac\w+)/,":"+Ke+"input-$1")]}),X(ye,{props:[f(wt,/:(plac\w+)/,":"+Xe+"$1")]}),X(ye,{props:[f(wt,/:(plac\w+)/,Fe+"input-$1")]})],qe)}return""})}},On=[Vt],Xn=function(ye){var Oe=ye.key;if(Oe==="css"){var Re=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(Re,function(gn){var sn=gn.getAttribute("data-emotion");sn.indexOf(" ")!==-1&&(document.head.appendChild(gn),gn.setAttribute("data-s",""))})}var qe=ye.stylisPlugins||On,wt={},Tt,en=[];Tt=ye.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+Oe+' "]'),function(gn){for(var sn=gn.getAttribute("data-emotion").split(" "),hn=1;hn=4;++Re,qe-=4)Oe=ae.charCodeAt(Re)&255|(ae.charCodeAt(++Re)&255)<<8|(ae.charCodeAt(++Re)&255)<<16|(ae.charCodeAt(++Re)&255)<<24,Oe=(Oe&65535)*1540483477+((Oe>>>16)*59797<<16),Oe^=Oe>>>24,ye=(Oe&65535)*1540483477+((Oe>>>16)*59797<<16)^(ye&65535)*1540483477+((ye>>>16)*59797<<16);switch(qe){case 3:ye^=(ae.charCodeAt(Re+2)&255)<<16;case 2:ye^=(ae.charCodeAt(Re+1)&255)<<8;case 1:ye^=ae.charCodeAt(Re)&255,ye=(ye&65535)*1540483477+((ye>>>16)*59797<<16)}return ye^=ye>>>13,ye=(ye&65535)*1540483477+((ye>>>16)*59797<<16),((ye^ye>>>15)>>>0).toString(36)}var Kn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Pn(ae){var ye=Object.create(null);return function(Oe){return ye[Oe]===void 0&&(ye[Oe]=ae(Oe)),ye[Oe]}}var Gn=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,fn="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",qn=/[A-Z]|^ms/g,rr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qn=function(ye){return ye.charCodeAt(1)===45},kn=function(ye){return ye!=null&&typeof ye!="boolean"},Un=Pn(function(ae){return Qn(ae)?ae:ae.replace(qn,"-$&").toLowerCase()}),Yn=function(ye,Oe){switch(ye){case"animation":case"animationName":if(typeof Oe=="string")return Oe.replace(rr,function(Re,qe,wt){return ft={name:qe,styles:wt,next:ft},qe})}return Kn[ye]!==1&&!Qn(ye)&&typeof Oe=="number"&&Oe!==0?Oe+"px":Oe};if(!1)var hr,Pr,Je,we,se,he;var $e=null;function Q(ae,ye,Oe){if(Oe==null)return"";if(Oe.__emotion_styles!==void 0)return Oe;switch(typeof Oe){case"boolean":return"";case"object":{if(Oe.anim===1)return ft={name:Oe.name,styles:Oe.styles,next:ft},Oe.name;if(Oe.styles!==void 0){var Re=Oe.next;if(Re!==void 0)for(;Re!==void 0;)ft={name:Re.name,styles:Re.styles,next:ft},Re=Re.next;var qe=Oe.styles+";";return qe}return G(ae,ye,Oe)}case"function":{if(ae!==void 0){var wt=ft,Tt=Oe(ae);return ft=wt,Q(ae,ye,Tt)}break}case"string":if(!1)var en,Ln;break}if(ye==null)return Oe;var qt=ye[Oe];return qt!==void 0?qt:Oe}function G(ae,ye,Oe){var Re="";if(Array.isArray(Oe))for(var qe=0;qe.5?k/(2-O-M):k/(O+M),O){case x:B=(b-S)/k+(b1&&(S-=1),S<.16666666666666666?x+(b-x)*(6*S):S<.5?b:S<.6666666666666666?x+(b-x)*(.6666666666666666-S)*6:x}function s(x,b,S){var O,M,B;if(x=(0,t.sh)(x,360),b=(0,t.sh)(b,100),S=(0,t.sh)(S,100),b===0)M=S,B=S,O=S;else{var P=S<.5?S*(1+b):S+b-S*b,L=2*S-P;O=a(L,P,x+.3333333333333333),M=a(L,P,x),B=a(L,P,x-.3333333333333333)}return{r:O*255,g:M*255,b:B*255}}function u(x,b,S){x=(0,t.sh)(x,255),b=(0,t.sh)(b,255),S=(0,t.sh)(S,255);var O=Math.max(x,b,S),M=Math.min(x,b,S),B=0,P=O,L=O-M,k=O===0?0:L/O;if(O===M)B=0;else{switch(O){case x:B=(b-S)/L+(b>16,g:(x&65280)>>8,b:x&255}}},48701:function(y,h,e){"use strict";e.d(h,{R:function(){return t}});var t={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",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#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",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(y,h,e){"use strict";e.d(h,{uA:function(){return a}});var t=e(86500),r=e(48701),i=e(90279);function a(m){var C={r:0,g:0,b:0},x=1,b=null,S=null,O=null,M=!1,B=!1;return typeof m=="string"&&(m=p(m)),typeof m=="object"&&(v(m.r)&&v(m.g)&&v(m.b)?(C=(0,t.rW)(m.r,m.g,m.b),M=!0,B=String(m.r).substr(-1)==="%"?"prgb":"rgb"):v(m.h)&&v(m.s)&&v(m.v)?(b=(0,i.JX)(m.s),S=(0,i.JX)(m.v),C=(0,t.WE)(m.h,b,S),M=!0,B="hsv"):v(m.h)&&v(m.s)&&v(m.l)&&(b=(0,i.JX)(m.s),O=(0,i.JX)(m.l),C=(0,t.ve)(m.h,b,O),M=!0,B="hsl"),Object.prototype.hasOwnProperty.call(m,"a")&&(x=m.a)),x=(0,i.Yq)(x),{ok:M,format:m.format||B,r:Math.min(255,Math.max(C.r,0)),g:Math.min(255,Math.max(C.g,0)),b:Math.min(255,Math.max(C.b,0)),a:x}}var s="[-\\+]?\\d+%?",u="[-\\+]?\\d*\\.\\d+%?",c="(?:".concat(u,")|(?:").concat(s,")"),l="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),d="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),f={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+d),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+d),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+d),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 p(m){if(m=m.trim().toLowerCase(),m.length===0)return!1;var C=!1;if(r.R[m])m=r.R[m],C=!0;else if(m==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var x=f.rgb.exec(m);return x?{r:x[1],g:x[2],b:x[3]}:(x=f.rgba.exec(m),x?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=f.hsl.exec(m),x?{h:x[1],s:x[2],l:x[3]}:(x=f.hsla.exec(m),x?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=f.hsv.exec(m),x?{h:x[1],s:x[2],v:x[3]}:(x=f.hsva.exec(m),x?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=f.hex8.exec(m),x?{r:(0,t.VD)(x[1]),g:(0,t.VD)(x[2]),b:(0,t.VD)(x[3]),a:(0,t.T6)(x[4]),format:C?"name":"hex8"}:(x=f.hex6.exec(m),x?{r:(0,t.VD)(x[1]),g:(0,t.VD)(x[2]),b:(0,t.VD)(x[3]),format:C?"name":"hex"}:(x=f.hex4.exec(m),x?{r:(0,t.VD)(x[1]+x[1]),g:(0,t.VD)(x[2]+x[2]),b:(0,t.VD)(x[3]+x[3]),a:(0,t.T6)(x[4]+x[4]),format:C?"name":"hex8"}:(x=f.hex3.exec(m),x?{r:(0,t.VD)(x[1]+x[1]),g:(0,t.VD)(x[2]+x[2]),b:(0,t.VD)(x[3]+x[3]),format:C?"name":"hex"}:!1)))))))))}function v(m){return Boolean(f.CSS_UNIT.exec(String(m)))}},10274:function(y,h,e){"use strict";e.d(h,{C:function(){return s}});var t=e(86500),r=e(48701),i=e(1350),a=e(90279),s=function(){function c(l,d){l===void 0&&(l=""),d===void 0&&(d={});var f;if(l instanceof c)return l;typeof l=="number"&&(l=(0,t.Yt)(l)),this.originalInput=l;var p=(0,i.uA)(l);this.originalInput=l,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(f=d.format)!==null&&f!==void 0?f:p.format,this.gradientType=d.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return c.prototype.isDark=function(){return this.getBrightness()<128},c.prototype.isLight=function(){return!this.isDark()},c.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1e3},c.prototype.getLuminance=function(){var l=this.toRgb(),d,f,p,v=l.r/255,m=l.g/255,C=l.b/255;return v<=.03928?d=v/12.92:d=Math.pow((v+.055)/1.055,2.4),m<=.03928?f=m/12.92:f=Math.pow((m+.055)/1.055,2.4),C<=.03928?p=C/12.92:p=Math.pow((C+.055)/1.055,2.4),.2126*d+.7152*f+.0722*p},c.prototype.getAlpha=function(){return this.a},c.prototype.setAlpha=function(l){return this.a=(0,a.Yq)(l),this.roundA=Math.round(100*this.a)/100,this},c.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},c.prototype.toHsv=function(){var l=(0,t.py)(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},c.prototype.toHsvString=function(){var l=(0,t.py)(this.r,this.g,this.b),d=Math.round(l.h*360),f=Math.round(l.s*100),p=Math.round(l.v*100);return this.a===1?"hsv(".concat(d,", ").concat(f,"%, ").concat(p,"%)"):"hsva(".concat(d,", ").concat(f,"%, ").concat(p,"%, ").concat(this.roundA,")")},c.prototype.toHsl=function(){var l=(0,t.lC)(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},c.prototype.toHslString=function(){var l=(0,t.lC)(this.r,this.g,this.b),d=Math.round(l.h*360),f=Math.round(l.s*100),p=Math.round(l.l*100);return this.a===1?"hsl(".concat(d,", ").concat(f,"%, ").concat(p,"%)"):"hsla(".concat(d,", ").concat(f,"%, ").concat(p,"%, ").concat(this.roundA,")")},c.prototype.toHex=function(l){return l===void 0&&(l=!1),(0,t.vq)(this.r,this.g,this.b,l)},c.prototype.toHexString=function(l){return l===void 0&&(l=!1),"#"+this.toHex(l)},c.prototype.toHex8=function(l){return l===void 0&&(l=!1),(0,t.s)(this.r,this.g,this.b,this.a,l)},c.prototype.toHex8String=function(l){return l===void 0&&(l=!1),"#"+this.toHex8(l)},c.prototype.toHexShortString=function(l){return l===void 0&&(l=!1),this.a===1?this.toHexString(l):this.toHex8String(l)},c.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},c.prototype.toRgbString=function(){var l=Math.round(this.r),d=Math.round(this.g),f=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(d,", ").concat(f,")"):"rgba(".concat(l,", ").concat(d,", ").concat(f,", ").concat(this.roundA,")")},c.prototype.toPercentageRgb=function(){var l=function(d){return"".concat(Math.round((0,a.sh)(d,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},c.prototype.toPercentageRgbString=function(){var l=function(d){return Math.round((0,a.sh)(d,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},c.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var l="#"+(0,t.vq)(this.r,this.g,this.b,!1),d=0,f=Object.entries(r.R);d=0,v=!d&&p&&(l.startsWith("hex")||l==="name");return v?l==="name"&&this.a===0?this.toName():this.toRgbString():(l==="rgb"&&(f=this.toRgbString()),l==="prgb"&&(f=this.toPercentageRgbString()),(l==="hex"||l==="hex6")&&(f=this.toHexString()),l==="hex3"&&(f=this.toHexString(!0)),l==="hex4"&&(f=this.toHex8String(!0)),l==="hex8"&&(f=this.toHex8String()),l==="name"&&(f=this.toName()),l==="hsl"&&(f=this.toHslString()),l==="hsv"&&(f=this.toHsvString()),f||this.toHexString())},c.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},c.prototype.clone=function(){return new c(this.toString())},c.prototype.lighten=function(l){l===void 0&&(l=10);var d=this.toHsl();return d.l+=l/100,d.l=(0,a.V2)(d.l),new c(d)},c.prototype.brighten=function(l){l===void 0&&(l=10);var d=this.toRgb();return d.r=Math.max(0,Math.min(255,d.r-Math.round(255*-(l/100)))),d.g=Math.max(0,Math.min(255,d.g-Math.round(255*-(l/100)))),d.b=Math.max(0,Math.min(255,d.b-Math.round(255*-(l/100)))),new c(d)},c.prototype.darken=function(l){l===void 0&&(l=10);var d=this.toHsl();return d.l-=l/100,d.l=(0,a.V2)(d.l),new c(d)},c.prototype.tint=function(l){return l===void 0&&(l=10),this.mix("white",l)},c.prototype.shade=function(l){return l===void 0&&(l=10),this.mix("black",l)},c.prototype.desaturate=function(l){l===void 0&&(l=10);var d=this.toHsl();return d.s-=l/100,d.s=(0,a.V2)(d.s),new c(d)},c.prototype.saturate=function(l){l===void 0&&(l=10);var d=this.toHsl();return d.s+=l/100,d.s=(0,a.V2)(d.s),new c(d)},c.prototype.greyscale=function(){return this.desaturate(100)},c.prototype.spin=function(l){var d=this.toHsl(),f=(d.h+l)%360;return d.h=f<0?360+f:f,new c(d)},c.prototype.mix=function(l,d){d===void 0&&(d=50);var f=this.toRgb(),p=new c(l).toRgb(),v=d/100,m={r:(p.r-f.r)*v+f.r,g:(p.g-f.g)*v+f.g,b:(p.b-f.b)*v+f.b,a:(p.a-f.a)*v+f.a};return new c(m)},c.prototype.analogous=function(l,d){l===void 0&&(l=6),d===void 0&&(d=30);var f=this.toHsl(),p=360/d,v=[this];for(f.h=(f.h-(p*l>>1)+720)%360;--l;)f.h=(f.h+p)%360,v.push(new c(f));return v},c.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new c(l)},c.prototype.monochromatic=function(l){l===void 0&&(l=6);for(var d=this.toHsv(),f=d.h,p=d.s,v=d.v,m=[],C=1/l;l--;)m.push(new c({h:f,s:p,v})),v=(v+C)%1;return m},c.prototype.splitcomplement=function(){var l=this.toHsl(),d=l.h;return[this,new c({h:(d+72)%360,s:l.s,l:l.l}),new c({h:(d+216)%360,s:l.s,l:l.l})]},c.prototype.onBackground=function(l){var d=this.toRgb(),f=new c(l).toRgb(),p=d.a+f.a*(1-d.a);return new c({r:(d.r*d.a+f.r*f.a*(1-d.a))/p,g:(d.g*d.a+f.g*f.a*(1-d.a))/p,b:(d.b*d.a+f.b*f.a*(1-d.a))/p,a:p})},c.prototype.triad=function(){return this.polyad(3)},c.prototype.tetrad=function(){return this.polyad(4)},c.prototype.polyad=function(l){for(var d=this.toHsl(),f=d.h,p=[this],v=360/l,m=1;m1)&&(l=1),l}function u(l){return l<=1?"".concat(Number(l)*100,"%"):l}function c(l){return l.length===1?"0"+l:String(l)}},56878:function(y,h,e){"use strict";var t=e(67294),r=e(61607);h.Z=(0,r.a1)("loading",!0,function(i){return t.createElement("svg",{width:i.size,height:i.size,viewBox:"0 0 48 48",fill:"none"},t.createElement("path",{d:"M4 24C4 35.0457 12.9543 44 24 44V44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:i.colors[0],strokeWidth:i.strokeWidth,strokeLinecap:i.strokeLinecap,strokeLinejoin:i.strokeLinejoin}),t.createElement("path",{d:"M36 24C36 17.3726 30.6274 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36V36",stroke:i.colors[0],strokeWidth:i.strokeWidth,strokeLinecap:i.strokeLinecap,strokeLinejoin:i.strokeLinejoin}))})},61607:function(y,h,e){"use strict";e.d(h,{a1:function(){return m}});var t=e(67294),r=["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","className","spin"];function i(C,x){var b=Object.keys(C);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(C);x&&(S=S.filter(function(O){return Object.getOwnPropertyDescriptor(C,O).enumerable})),b.push.apply(b,S)}return b}function a(C){for(var x=1;x=0)&&(!Object.prototype.propertyIsEnumerable.call(C,S)||(b[S]=C[S]))}return b}function c(C,x){if(C==null)return{};var b={},S=Object.keys(C),O,M;for(M=0;M=0)&&(b[O]=C[O]);return b}var l={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function d(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function f(C,x,b){var S=typeof x.fill=="string"?[x.fill]:x.fill||[],O=[],M=x.theme||b.theme;switch(M){case"outline":O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push("none"),O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push("none");break;case"filled":O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push("#FFF"),O.push("#FFF");break;case"two-tone":O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push(typeof S[1]=="string"?S[1]:b.colors.twoTone.twoTone),O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push(typeof S[1]=="string"?S[1]:b.colors.twoTone.twoTone);break;case"multi-color":O.push(typeof S[0]=="string"?S[0]:"currentColor"),O.push(typeof S[1]=="string"?S[1]:b.colors.multiColor.outFillColor),O.push(typeof S[2]=="string"?S[2]:b.colors.multiColor.innerStrokeColor),O.push(typeof S[3]=="string"?S[3]:b.colors.multiColor.innerFillColor);break}return{size:x.size||b.size,strokeWidth:x.strokeWidth||b.strokeWidth,strokeLinecap:x.strokeLinecap||b.strokeLinecap,strokeLinejoin:x.strokeLinejoin||b.strokeLinejoin,colors:O,id:C}}var p=(0,t.createContext)(l),v=p.Provider;function m(C,x,b){return function(S){var O=S.size,M=S.strokeWidth,B=S.strokeLinecap,P=S.strokeLinejoin,L=S.theme,k=S.fill,fe=S.className,X=S.spin,H=u(S,r),ue=(0,t.useContext)(p),ve=(0,t.useMemo)(d,[]),Z=f(ve,{size:O,strokeWidth:M,strokeLinecap:B,strokeLinejoin:P,theme:L,fill:k},ue),ne=[ue.prefix+"-icon"];return ne.push(ue.prefix+"-icon-"+C),x&&ue.rtl&&ne.push(ue.prefix+"-icon-rtl"),X&&ne.push(ue.prefix+"-icon-spin"),fe&&ne.push(fe),t.createElement("span",a(a({},H),{},{className:ne.join(" ")}),b(Z))}}},2788:function(y,h,e){"use strict";e.d(h,{Z:function(){return fe}});var t=e(97685),r=e(67294),i=e(73935),a=e(98924),s=e(80334),u=e(42550),c=r.createContext(null),l=c,d=e(74902),f=e(8410),p=[];function v(X,H){var ue=r.useState(function(){if(!(0,a.Z)())return null;var K=document.createElement("div");return K}),ve=(0,t.Z)(ue,1),Z=ve[0],ne=r.useRef(!1),ie=r.useContext(l),ce=r.useState(p),F=(0,t.Z)(ce,2),U=F[0],R=F[1],T=ie||(ne.current?void 0:function(K){R(function(_){var V=[K].concat((0,d.Z)(_));return V})});function w(){Z.parentElement||document.body.appendChild(Z),ne.current=!0}function N(){var K;(K=Z.parentElement)===null||K===void 0||K.removeChild(Z),ne.current=!1}return(0,f.Z)(function(){return X?ie?ie(w):w():N(),N},[X]),(0,f.Z)(function(){U.length&&(U.forEach(function(K){return K()}),R(p))},[U]),[Z,T]}var m=e(44958),C=e(74204);function x(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var b="rc-util-locker-".concat(Date.now()),S=0;function O(X){var H=!!X,ue=r.useState(function(){return S+=1,"".concat(b,"_").concat(S)}),ve=(0,t.Z)(ue,1),Z=ve[0];(0,f.Z)(function(){if(H){var ne=(0,C.o)(document.body).width,ie=x();(0,m.hq)(` +html body { + overflow-y: hidden; + `.concat(ie?"width: calc(100% - ".concat(ne,"px);"):"",` +}`),Z)}else(0,m.jL)(Z);return function(){(0,m.jL)(Z)}},[H,Z])}var M=!1;function B(X){return typeof X=="boolean"&&(M=X),M}var P=function(H){return H===!1?!1:!(0,a.Z)()||!H?null:typeof H=="string"?document.querySelector(H):typeof H=="function"?H():H},L=r.forwardRef(function(X,H){var ue=X.open,ve=X.autoLock,Z=X.getContainer,ne=X.debug,ie=X.autoDestroy,ce=ie===void 0?!0:ie,F=X.children,U=r.useState(ue),R=(0,t.Z)(U,2),T=R[0],w=R[1],N=T||ue;r.useEffect(function(){(ce||ue)&&w(ue)},[ue,ce]);var K=r.useState(function(){return P(Z)}),_=(0,t.Z)(K,2),V=_[0],De=_[1];r.useEffect(function(){var J=P(Z);De(J!=null?J:null)});var Fe=v(N&&!V,ne),Xe=(0,t.Z)(Fe,2),Ke=Xe[0],ot=Xe[1],Et=V!=null?V:Ke;O(ve&&ue&&(0,a.Z)()&&(Et===Ke||Et===document.body));var Ot=null;if(F&&(0,u.Yr)(F)&&H){var dt=F;Ot=dt.ref}var He=(0,u.x1)(Ot,H);if(!N||!(0,a.Z)()||V===void 0)return null;var tt=Et===!1||B(),Le=F;return H&&(Le=r.cloneElement(F,{ref:He})),r.createElement(l.Provider,{value:ot},tt?Le:(0,i.createPortal)(Le,Et))}),k=L,fe=k},40228:function(y,h,e){"use strict";e.d(h,{Z:function(){return tt}});var t=e(1413),r=e(97685),i=e(45987),a=e(2788),s=e(93967),u=e.n(s),c=e(9220),l=e(34203),d=e(27571),f=e(66680),p=e(7028),v=e(8410),m=e(31131),C=e(67294),x=e(87462),b=e(82225),S=e(42550);function O(Le){var J=Le.prefixCls,A=Le.align,j=Le.arrow,q=Le.arrowPos,te=j||{},de=te.className,Ee=te.content,pe=q.x,Y=pe===void 0?0:pe,re=q.y,ge=re===void 0?0:re,me=C.useRef();if(!A||!A.points)return null;var Se={position:"absolute"};if(A.autoArrow!==!1){var Ge=A.points[0],Ye=A.points[1],it=Ge[0],D=Ge[1],$=Ye[0],Te=Ye[1];it===$||!["t","b"].includes(it)?Se.top=ge:it==="t"?Se.top=0:Se.bottom=0,D===Te||!["l","r"].includes(D)?Se.left=Y:D==="l"?Se.left=0:Se.right=0}return C.createElement("div",{ref:me,className:u()("".concat(J,"-arrow"),de),style:Se},Ee)}function M(Le){var J=Le.prefixCls,A=Le.open,j=Le.zIndex,q=Le.mask,te=Le.motion;return q?C.createElement(b.ZP,(0,x.Z)({},te,{motionAppear:!0,visible:A,removeOnLeave:!0}),function(de){var Ee=de.className;return C.createElement("div",{style:{zIndex:j},className:u()("".concat(J,"-mask"),Ee)})}):null}var B=C.memo(function(Le){var J=Le.children;return J},function(Le,J){return J.cache}),P=B,L=C.forwardRef(function(Le,J){var A=Le.popup,j=Le.className,q=Le.prefixCls,te=Le.style,de=Le.target,Ee=Le.onVisibleChanged,pe=Le.open,Y=Le.keepDom,re=Le.fresh,ge=Le.onClick,me=Le.mask,Se=Le.arrow,Ge=Le.arrowPos,Ye=Le.align,it=Le.motion,D=Le.maskMotion,$=Le.forceRender,Te=Le.getPopupContainer,Ne=Le.autoDestroy,Pe=Le.portal,Ae=Le.zIndex,Ie=Le.onMouseEnter,Ve=Le.onMouseLeave,Qe=Le.onPointerEnter,at=Le.ready,xt=Le.offsetX,St=Le.offsetY,jt=Le.offsetR,tn=Le.offsetB,mn=Le.onAlign,Ft=Le.onPrepare,Jt=Le.stretch,$t=Le.targetWidth,Vt=Le.targetHeight,On=typeof A=="function"?A():A,Xn=pe||Y,Tn=(Te==null?void 0:Te.length)>0,Kn=C.useState(!Te||!Tn),Pn=(0,r.Z)(Kn,2),Gn=Pn[0],fn=Pn[1];if((0,v.Z)(function(){!Gn&&Tn&&de&&fn(!0)},[Gn,Tn,de]),!Gn)return null;var qn="auto",rr={left:"-1000vw",top:"-1000vh",right:qn,bottom:qn};if(at||!pe){var Qn,kn=Ye.points,Un=Ye.dynamicInset||((Qn=Ye._experimental)===null||Qn===void 0?void 0:Qn.dynamicInset),Yn=Un&&kn[0][1]==="r",hr=Un&&kn[0][0]==="b";Yn?(rr.right=jt,rr.left=qn):(rr.left=xt,rr.right=qn),hr?(rr.bottom=tn,rr.top=qn):(rr.top=St,rr.bottom=qn)}var Pr={};return Jt&&(Jt.includes("height")&&Vt?Pr.height=Vt:Jt.includes("minHeight")&&Vt&&(Pr.minHeight=Vt),Jt.includes("width")&&$t?Pr.width=$t:Jt.includes("minWidth")&&$t&&(Pr.minWidth=$t)),pe||(Pr.pointerEvents="none"),C.createElement(Pe,{open:$||Xn,getContainer:Te&&function(){return Te(de)},autoDestroy:Ne},C.createElement(M,{prefixCls:q,open:pe,zIndex:Ae,mask:me,motion:D}),C.createElement(c.Z,{onResize:mn,disabled:!pe},function(Je){return C.createElement(b.ZP,(0,x.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$,leavedClassName:"".concat(q,"-hidden")},it,{onAppearPrepare:Ft,onEnterPrepare:Ft,visible:pe,onVisibleChanged:function(se){var he;it==null||(he=it.onVisibleChanged)===null||he===void 0||he.call(it,se),Ee(se)}}),function(we,se){var he=we.className,$e=we.style,Q=u()(q,he,j);return C.createElement("div",{ref:(0,S.sQ)(Je,J,se),className:Q,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(Ge.x||0,"px"),"--arrow-y":"".concat(Ge.y||0,"px")},rr),Pr),$e),{},{boxSizing:"border-box",zIndex:Ae},te),onMouseEnter:Ie,onMouseLeave:Ve,onPointerEnter:Qe,onClick:ge},Se&&C.createElement(O,{prefixCls:q,arrow:Se,arrowPos:Ge,align:Ye}),C.createElement(P,{cache:!pe&&!re},On))})}))}),k=L,fe=C.forwardRef(function(Le,J){var A=Le.children,j=Le.getTriggerDOMNode,q=(0,S.Yr)(A),te=C.useCallback(function(Ee){(0,S.mH)(J,j?j(Ee):Ee)},[j]),de=(0,S.x1)(te,A.ref);return q?C.cloneElement(A,{ref:de}):A}),X=fe,H=C.createContext(null),ue=H;function ve(Le){return Le?Array.isArray(Le)?Le:[Le]:[]}function Z(Le,J,A,j){return C.useMemo(function(){var q=ve(A!=null?A:J),te=ve(j!=null?j:J),de=new Set(q),Ee=new Set(te);return Le&&(de.has("hover")&&(de.delete("hover"),de.add("click")),Ee.has("hover")&&(Ee.delete("hover"),Ee.add("click"))),[de,Ee]},[Le,J,A,j])}var ne=e(5110);function ie(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],A=arguments.length>2?arguments[2]:void 0;return A?Le[0]===J[0]:Le[0]===J[0]&&Le[1]===J[1]}function ce(Le,J,A,j){for(var q=A.points,te=Object.keys(Le),de=0;de1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Le)?J:Le}function w(Le){return T(parseFloat(Le),0)}function N(Le,J){var A=(0,t.Z)({},Le);return(J||[]).forEach(function(j){if(!(j instanceof HTMLBodyElement||j instanceof HTMLHtmlElement)){var q=U(j).getComputedStyle(j),te=q.overflow,de=q.overflowClipMargin,Ee=q.borderTopWidth,pe=q.borderBottomWidth,Y=q.borderLeftWidth,re=q.borderRightWidth,ge=j.getBoundingClientRect(),me=j.offsetHeight,Se=j.clientHeight,Ge=j.offsetWidth,Ye=j.clientWidth,it=w(Ee),D=w(pe),$=w(Y),Te=w(re),Ne=T(Math.round(ge.width/Ge*1e3)/1e3),Pe=T(Math.round(ge.height/me*1e3)/1e3),Ae=(Ge-Ye-$-Te)*Ne,Ie=(me-Se-it-D)*Pe,Ve=it*Pe,Qe=D*Pe,at=$*Ne,xt=Te*Ne,St=0,jt=0;if(te==="clip"){var tn=w(de);St=tn*Ne,jt=tn*Pe}var mn=ge.x+at-St,Ft=ge.y+Ve-jt,Jt=mn+ge.width+2*St-at-xt-Ae,$t=Ft+ge.height+2*jt-Ve-Qe-Ie;A.left=Math.max(A.left,mn),A.top=Math.max(A.top,Ft),A.right=Math.min(A.right,Jt),A.bottom=Math.min(A.bottom,$t)}}),A}function K(Le){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A="".concat(J),j=A.match(/^(.*)\%$/);return j?Le*(parseFloat(j[1])/100):parseFloat(A)}function _(Le,J){var A=J||[],j=(0,r.Z)(A,2),q=j[0],te=j[1];return[K(Le.width,q),K(Le.height,te)]}function V(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Le[0],Le[1]]}function De(Le,J){var A=J[0],j=J[1],q,te;return A==="t"?te=Le.y:A==="b"?te=Le.y+Le.height:te=Le.y+Le.height/2,j==="l"?q=Le.x:j==="r"?q=Le.x+Le.width:q=Le.x+Le.width/2,{x:q,y:te}}function Fe(Le,J){var A={t:"b",b:"t",l:"r",r:"l"};return Le.map(function(j,q){return q===J?A[j]||"c":j}).join("")}function Xe(Le,J,A,j,q,te,de){var Ee=C.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:q[j]||{}}),pe=(0,r.Z)(Ee,2),Y=pe[0],re=pe[1],ge=C.useRef(0),me=C.useMemo(function(){return J?R(J):[]},[J]),Se=C.useRef({}),Ge=function(){Se.current={}};Le||Ge();var Ye=(0,f.Z)(function(){if(J&&A&&Le){let Ra=function(Da,no){var Tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Q,$r=On.x+Da,Fr=On.y+no,Mr=$r+Qn,la=Fr+rr,oa=Math.max($r,Tr.left),Ua=Math.max(Fr,Tr.top),mo=Math.min(Mr,Tr.right),So=Math.min(la,Tr.bottom);return Math.max(0,(mo-oa)*(So-Ua))},ka=function(){Bn=On.y+Zn,Hn=Bn+rr,nr=On.x+xn,Or=nr+Qn};var $,Te,Ne=J,Pe=Ne.ownerDocument,Ae=U(Ne),Ie=Ae.getComputedStyle(Ne),Ve=Ie.width,Qe=Ie.height,at=Ie.position,xt=Ne.style.left,St=Ne.style.top,jt=Ne.style.right,tn=Ne.style.bottom,mn=Ne.style.overflow,Ft=(0,t.Z)((0,t.Z)({},q[j]),te),Jt=Pe.createElement("div");($=Ne.parentElement)===null||$===void 0||$.appendChild(Jt),Jt.style.left="".concat(Ne.offsetLeft,"px"),Jt.style.top="".concat(Ne.offsetTop,"px"),Jt.style.position=at,Jt.style.height="".concat(Ne.offsetHeight,"px"),Jt.style.width="".concat(Ne.offsetWidth,"px"),Ne.style.left="0",Ne.style.top="0",Ne.style.right="auto",Ne.style.bottom="auto",Ne.style.overflow="hidden";var $t;if(Array.isArray(A))$t={x:A[0],y:A[1],width:0,height:0};else{var Vt=A.getBoundingClientRect();$t={x:Vt.x,y:Vt.y,width:Vt.width,height:Vt.height}}var On=Ne.getBoundingClientRect(),Xn=Pe.documentElement,Tn=Xn.clientWidth,Kn=Xn.clientHeight,Pn=Xn.scrollWidth,Gn=Xn.scrollHeight,fn=Xn.scrollTop,qn=Xn.scrollLeft,rr=On.height,Qn=On.width,kn=$t.height,Un=$t.width,Yn={left:0,top:0,right:Tn,bottom:Kn},hr={left:-qn,top:-fn,right:Pn-qn,bottom:Gn-fn},Pr=Ft.htmlRegion,Je="visible",we="visibleFirst";Pr!=="scroll"&&Pr!==we&&(Pr=Je);var se=Pr===we,he=N(hr,me),$e=N(Yn,me),Q=Pr===Je?$e:he,G=se?$e:Q;Ne.style.left="auto",Ne.style.top="auto",Ne.style.right="0",Ne.style.bottom="0";var Be=Ne.getBoundingClientRect();Ne.style.left=xt,Ne.style.top=St,Ne.style.right=jt,Ne.style.bottom=tn,Ne.style.overflow=mn,(Te=Ne.parentElement)===null||Te===void 0||Te.removeChild(Jt);var W=T(Math.round(Qn/parseFloat(Ve)*1e3)/1e3),ft=T(Math.round(rr/parseFloat(Qe)*1e3)/1e3);if(W===0||ft===0||(0,l.Sh)(A)&&!(0,ne.Z)(A))return;var ct=Ft.offset,It=Ft.targetOffset,Kt=_(On,ct),ln=(0,r.Z)(Kt,2),_t=ln[0],Mn=ln[1],pn=_($t,It),nn=(0,r.Z)(pn,2),yt=nn[0],Lt=nn[1];$t.x-=yt,$t.y-=Lt;var rn=Ft.points||[],At=(0,r.Z)(rn,2),Zt=At[0],Xt=At[1],an=V(Xt),Nn=V(Zt),fr=De($t,an),Dn=De(On,Nn),En=(0,t.Z)({},Ft),xn=fr.x-Dn.x+_t,Zn=fr.y-Dn.y+Mn,jn=Ra(xn,Zn),ae=Ra(xn,Zn,$e),ye=De($t,["t","l"]),Oe=De(On,["t","l"]),Re=De($t,["b","r"]),qe=De(On,["b","r"]),wt=Ft.overflow||{},Tt=wt.adjustX,en=wt.adjustY,Ln=wt.shiftX,qt=wt.shiftY,dn=function(no){return typeof no=="boolean"?no:no>=0},Bn,Hn,nr,Or;ka();var gn=dn(en),sn=Nn[0]===an[0];if(gn&&Nn[0]==="t"&&(Hn>G.bottom||Se.current.bt)){var hn=Zn;sn?hn-=rr-kn:hn=ye.y-qe.y-Mn;var er=Ra(xn,hn),zn=Ra(xn,hn,$e);er>jn||er===jn&&(!se||zn>=ae)?(Se.current.bt=!0,Zn=hn,Mn=-Mn,En.points=[Fe(Nn,0),Fe(an,0)]):Se.current.bt=!1}if(gn&&Nn[0]==="b"&&(Bnjn||ke===jn&&(!se||Me>=ae)?(Se.current.tb=!0,Zn=vt,Mn=-Mn,En.points=[Fe(Nn,0),Fe(an,0)]):Se.current.tb=!1}var We=dn(Tt),Ze=Nn[1]===an[1];if(We&&Nn[1]==="l"&&(Or>G.right||Se.current.rl)){var ht=xn;Ze?ht-=Qn-Un:ht=ye.x-qe.x-_t;var ut=Ra(ht,Zn),pt=Ra(ht,Zn,$e);ut>jn||ut===jn&&(!se||pt>=ae)?(Se.current.rl=!0,xn=ht,_t=-_t,En.points=[Fe(Nn,1),Fe(an,1)]):Se.current.rl=!1}if(We&&Nn[1]==="r"&&(nrjn||zt===jn&&(!se||kt>=ae)?(Se.current.lr=!0,xn=Pt,_t=-_t,En.points=[Fe(Nn,1),Fe(an,1)]):Se.current.lr=!1}ka();var vn=Ln===!0?0:Ln;typeof vn=="number"&&(nr<$e.left&&(xn-=nr-$e.left-_t,$t.x+Un<$e.left+vn&&(xn+=$t.x-$e.left+Un-vn)),Or>$e.right&&(xn-=Or-$e.right-_t,$t.x>$e.right-vn&&(xn+=$t.x-$e.right+vn)));var Sn=qt===!0?0:qt;typeof Sn=="number"&&(Bn<$e.top&&(Zn-=Bn-$e.top-Mn,$t.y+kn<$e.top+Sn&&(Zn+=$t.y-$e.top+kn-Sn)),Hn>$e.bottom&&(Zn-=Hn-$e.bottom-Mn,$t.y>$e.bottom-Sn&&(Zn+=$t.y-$e.bottom+Sn)));var sr=On.x+xn,Wn=sr+Qn,Fn=On.y+Zn,In=Fn+rr,cr=$t.x,lr=cr+Un,ar=$t.y,Vr=ar+kn,Rr=Math.max(sr,cr),Yr=Math.min(Wn,lr),Gr=(Rr+Yr)/2,ya=Gr-sr,Xr=Math.max(Fn,ar),Qr=Math.min(In,Vr),pr=(Xr+Qr)/2,Dr=pr-Fn;de==null||de(J,En);var Jr=Be.right-On.x-(xn+On.width),pa=Be.bottom-On.y-(Zn+On.height);re({ready:!0,offsetX:xn/W,offsetY:Zn/ft,offsetR:Jr/W,offsetB:pa/ft,arrowX:ya/W,arrowY:Dr/ft,scaleX:W,scaleY:ft,align:En})}}),it=function(){ge.current+=1;var Te=ge.current;Promise.resolve().then(function(){ge.current===Te&&Ye()})},D=function(){re(function(Te){return(0,t.Z)((0,t.Z)({},Te),{},{ready:!1})})};return(0,v.Z)(D,[j]),(0,v.Z)(function(){Le||D()},[Le]),[Y.ready,Y.offsetX,Y.offsetY,Y.offsetR,Y.offsetB,Y.arrowX,Y.arrowY,Y.scaleX,Y.scaleY,Y.align,it]}var Ke=e(74902);function ot(Le,J,A,j,q){(0,v.Z)(function(){if(Le&&J&&A){let ge=function(){j(),q()};var te=J,de=A,Ee=R(te),pe=R(de),Y=U(de),re=new Set([Y].concat((0,Ke.Z)(Ee),(0,Ke.Z)(pe)));return re.forEach(function(me){me.addEventListener("scroll",ge,{passive:!0})}),Y.addEventListener("resize",ge,{passive:!0}),j(),function(){re.forEach(function(me){me.removeEventListener("scroll",ge),Y.removeEventListener("resize",ge)})}}},[Le,J,A])}var Et=e(80334);function Ot(Le,J,A,j,q,te,de,Ee){var pe=C.useRef(Le);pe.current=Le,C.useEffect(function(){if(J&&j&&(!q||te)){var Y=function(D){var $=D.target;pe.current&&!de($)&&Ee(!1)},re=U(j);re.addEventListener("mousedown",Y,!0),re.addEventListener("contextmenu",Y,!0);var ge=(0,d.A)(A);if(ge&&(ge.addEventListener("mousedown",Y,!0),ge.addEventListener("contextmenu",Y,!0)),!1)var me,Se,Ge,Ye;return function(){re.removeEventListener("mousedown",Y,!0),re.removeEventListener("contextmenu",Y,!0),ge&&(ge.removeEventListener("mousedown",Y,!0),ge.removeEventListener("contextmenu",Y,!0))}}},[J,A,j,q,te])}var dt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function He(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,J=C.forwardRef(function(A,j){var q=A.prefixCls,te=q===void 0?"rc-trigger-popup":q,de=A.children,Ee=A.action,pe=Ee===void 0?"hover":Ee,Y=A.showAction,re=A.hideAction,ge=A.popupVisible,me=A.defaultPopupVisible,Se=A.onPopupVisibleChange,Ge=A.afterPopupVisibleChange,Ye=A.mouseEnterDelay,it=A.mouseLeaveDelay,D=it===void 0?.1:it,$=A.focusDelay,Te=A.blurDelay,Ne=A.mask,Pe=A.maskClosable,Ae=Pe===void 0?!0:Pe,Ie=A.getPopupContainer,Ve=A.forceRender,Qe=A.autoDestroy,at=A.destroyPopupOnHide,xt=A.popup,St=A.popupClassName,jt=A.popupStyle,tn=A.popupPlacement,mn=A.builtinPlacements,Ft=mn===void 0?{}:mn,Jt=A.popupAlign,$t=A.zIndex,Vt=A.stretch,On=A.getPopupClassNameFromAlign,Xn=A.fresh,Tn=A.alignPoint,Kn=A.onPopupClick,Pn=A.onPopupAlign,Gn=A.arrow,fn=A.popupMotion,qn=A.maskMotion,rr=A.popupTransitionName,Qn=A.popupAnimation,kn=A.maskTransitionName,Un=A.maskAnimation,Yn=A.className,hr=A.getTriggerDOMNode,Pr=(0,i.Z)(A,dt),Je=Qe||at||!1,we=C.useState(!1),se=(0,r.Z)(we,2),he=se[0],$e=se[1];(0,v.Z)(function(){$e((0,m.Z)())},[]);var Q=C.useRef({}),G=C.useContext(ue),Be=C.useMemo(function(){return{registerSubPopup:function(xa,ro){Q.current[xa]=ro,G==null||G.registerSubPopup(xa,ro)}}},[G]),W=(0,p.Z)(),ft=C.useState(null),ct=(0,r.Z)(ft,2),It=ct[0],Kt=ct[1],ln=C.useRef(null),_t=(0,f.Z)(function(Br){ln.current=Br,(0,l.Sh)(Br)&&It!==Br&&Kt(Br),G==null||G.registerSubPopup(W,Br)}),Mn=C.useState(null),pn=(0,r.Z)(Mn,2),nn=pn[0],yt=pn[1],Lt=C.useRef(null),rn=(0,f.Z)(function(Br){(0,l.Sh)(Br)&&nn!==Br&&(yt(Br),Lt.current=Br)}),At=C.Children.only(de),Zt=(At==null?void 0:At.props)||{},Xt={},an=(0,f.Z)(function(Br){var xa,ro,Ca=nn;return(Ca==null?void 0:Ca.contains(Br))||((xa=(0,d.A)(Ca))===null||xa===void 0?void 0:xa.host)===Br||Br===Ca||(It==null?void 0:It.contains(Br))||((ro=(0,d.A)(It))===null||ro===void 0?void 0:ro.host)===Br||Br===It||Object.values(Q.current).some(function(ca){return(ca==null?void 0:ca.contains(Br))||Br===ca})}),Nn=F(te,fn,Qn,rr),fr=F(te,qn,Un,kn),Dn=C.useState(me||!1),En=(0,r.Z)(Dn,2),xn=En[0],Zn=En[1],jn=ge!=null?ge:xn,ae=(0,f.Z)(function(Br){ge===void 0&&Zn(Br)});(0,v.Z)(function(){Zn(ge||!1)},[ge]);var ye=C.useRef(jn);ye.current=jn;var Oe=C.useRef([]);Oe.current=[];var Re=(0,f.Z)(function(Br){var xa;ae(Br),((xa=Oe.current[Oe.current.length-1])!==null&&xa!==void 0?xa:jn)!==Br&&(Oe.current.push(Br),Se==null||Se(Br))}),qe=C.useRef(),wt=function(){clearTimeout(qe.current)},Tt=function(xa){var ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;wt(),ro===0?Re(xa):qe.current=setTimeout(function(){Re(xa)},ro*1e3)};C.useEffect(function(){return wt},[]);var en=C.useState(!1),Ln=(0,r.Z)(en,2),qt=Ln[0],dn=Ln[1];(0,v.Z)(function(Br){(!Br||jn)&&dn(!0)},[jn]);var Bn=C.useState(null),Hn=(0,r.Z)(Bn,2),nr=Hn[0],Or=Hn[1],gn=C.useState([0,0]),sn=(0,r.Z)(gn,2),hn=sn[0],er=sn[1],zn=function(xa){er([xa.clientX,xa.clientY])},vt=Xe(jn,It,Tn?hn:nn,tn,Ft,Jt,Pn),ke=(0,r.Z)(vt,11),Me=ke[0],We=ke[1],Ze=ke[2],ht=ke[3],ut=ke[4],pt=ke[5],Pt=ke[6],zt=ke[7],kt=ke[8],vn=ke[9],Sn=ke[10],sr=Z(he,pe,Y,re),Wn=(0,r.Z)(sr,2),Fn=Wn[0],In=Wn[1],cr=Fn.has("click"),lr=In.has("click")||In.has("contextMenu"),ar=(0,f.Z)(function(){qt||Sn()}),Vr=function(){ye.current&&Tn&&lr&&Tt(!1)};ot(jn,nn,It,ar,Vr),(0,v.Z)(function(){ar()},[hn,tn]),(0,v.Z)(function(){jn&&!(Ft!=null&&Ft[tn])&&ar()},[JSON.stringify(Jt)]);var Rr=C.useMemo(function(){var Br=ce(Ft,te,vn,Tn);return u()(Br,On==null?void 0:On(vn))},[vn,On,Ft,te,Tn]);C.useImperativeHandle(j,function(){return{nativeElement:Lt.current,popupElement:ln.current,forceAlign:ar}});var Yr=C.useState(0),Gr=(0,r.Z)(Yr,2),ya=Gr[0],Xr=Gr[1],Qr=C.useState(0),pr=(0,r.Z)(Qr,2),Dr=pr[0],Jr=pr[1],pa=function(){if(Vt&&nn){var xa=nn.getBoundingClientRect();Xr(xa.width),Jr(xa.height)}},Ra=function(){pa(),ar()},ka=function(xa){dn(!1),Sn(),Ge==null||Ge(xa)},Da=function(){return new Promise(function(xa){pa(),Or(function(){return xa})})};(0,v.Z)(function(){nr&&(Sn(),nr(),Or(null))},[nr]);function no(Br,xa,ro,Ca){Xt[Br]=function(ca){var Fa;Ca==null||Ca(ca),Tt(xa,ro);for(var lo=arguments.length,Wo=new Array(lo>1?lo-1:0),ho=1;ho1?ro-1:0),ca=1;ca1?ro-1:0),ca=1;ca$.length)&&(Te=$.length);for(var Ne=0,Pe=new Array(Te);Ne1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1,defaultInstance:!1},Ae=!1,Ie=!1,Ve=!1;if(typeof Pe=="number"?(Ae=!0,Ie=!1):u(Pe)==="object"&&Pe&&(Ie=Pe.global||!1,Ae=Pe.core||!1,Ve=Pe.defaultInstance||!1),Ie){$.globalMiddlewares.splice($.globalMiddlewares.length-$.defaultGlobalMiddlewaresLength,0,Ne);return}if(Ae){$.coreMiddlewares.splice($.coreMiddlewares.length-$.defaultCoreMiddlewaresLength,0,Ne);return}if(Ve){this.defaultMiddlewares.push(Ne);return}this.middlewares.push(Ne)}},{key:"execute",value:function(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,Pe=ue([].concat(P(this.middlewares),P(this.defaultMiddlewares),P($.globalMiddlewares),P($.coreMiddlewares)));return Pe(Ne)}}]),$}();ve.globalMiddlewares=[],ve.defaultGlobalMiddlewaresLength=0,ve.coreMiddlewares=[],ve.defaultCoreMiddlewaresLength=0;var Z=function(){function $(Te){c(this,$),this.cache=new Map,this.timer={},this.extendOptions(Te)}return d($,[{key:"extendOptions",value:function(Ne){this.maxCache=Ne.maxCache||0}},{key:"get",value:function(Ne){return this.cache.get(JSON.stringify(Ne))}},{key:"set",value:function(Ne,Pe){var Ae=this,Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var Ve=P(this.cache.keys())[0];this.cache.delete(Ve),this.timer[Ve]&&clearTimeout(this.timer[Ve])}var Qe=JSON.stringify(Ne);this.cache.set(Qe,Pe),Ie>0&&(this.timer[Qe]=setTimeout(function(){Ae.cache.delete(Qe),delete Ae.timer[Qe]},Ie))}},{key:"delete",value:function(Ne){var Pe=JSON.stringify(Ne);return delete this.timer[Pe],this.cache.delete(Pe)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),$}(),ne=function($){p(Ne,$);var Te=B(Ne);function Ne(Pe,Ae){var Ie,Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"RequestError";return c(this,Ne),Ie=Te.call(this,Pe),Ie.name="RequestError",Ie.request=Ae,Ie.type=Ve,Ie}return Ne}(S(Error)),ie=function($){p(Ne,$);var Te=B(Ne);function Ne(Pe,Ae,Ie,Ve){var Qe,at=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"ResponseError";return c(this,Ne),Qe=Te.call(this,Ae||Pe.statusText),Qe.name="ResponseError",Qe.data=Ie,Qe.response=Pe,Qe.request=Ve,Qe.type=at,Qe}return Ne}(S(Error));function ce($){return new Promise(function(Te,Ne){var Pe=new FileReader;Pe.onload=function(){Te(Pe.result)},Pe.onerror=Ne,Pe.readAsText($,"GBK")})}function F($){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;try{return JSON.parse($)}catch(Ae){if(Te)throw new ie(Ne,"JSON.parse fail",$,Pe,"ParseError")}return $}function U($,Te,Ne){return new Promise(function(Pe,Ae){setTimeout(function(){Ae(new ne(Te||"timeout of ".concat($,"ms exceeded"),Ne,"Timeout"))},$)})}function R($){return new Promise(function(Te,Ne){$.cancelToken&&$.cancelToken.promise.then(function(Pe){Ne(Pe)})})}var T=Object.prototype.toString;function w(){var $;return typeof i!="undefined"&&T.call(i)==="[object process]"&&($="NODE"),typeof XMLHttpRequest!="undefined"&&($="BROWSER"),$}function N($){return u($)==="object"&&Object.prototype.toString.call($)==="[object Array]"}function K($){return typeof URLSearchParams!="undefined"&&$ instanceof URLSearchParams}function _($){return u($)==="object"&&Object.prototype.toString.call($)==="[object Date]"}function V($){return $!==null&&u($)==="object"}function De($,Te){if(!!$)if(u($)!=="object"&&($=[$]),N($))for(var Ne=0;Ne<$.length;Ne++)Te.call(null,$[Ne],Ne,$);else for(var Pe in $)Object.prototype.hasOwnProperty.call($,Pe)&&Te.call(null,$[Pe],Pe,$)}function Fe($){return K($)?(0,t.parse)($.toString(),{strictNullHandling:!0}):typeof $=="string"?[$]:$}function Xe($){return(0,t.stringify)($,{arrayFormat:"repeat",strictNullHandling:!0})}function Ke($,Te){return s(s(s({},$),Te),{},{headers:s(s({},$.headers),Te.headers),params:s(s({},Fe($.params)),Fe(Te.params)),method:(Te.method||$.method||"get").toLowerCase()})}var ot=function(Te){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=Ne.prefix,Ae=Ne.suffix;return Pe&&(Te="".concat(Pe).concat(Te)),Ae&&(Te="".concat(Te).concat(Ae)),{url:Te,options:Ne}},Et=!1;function Ot($,Te){var Ne=Te.method,Pe=Ne===void 0?"get":Ne;return Pe.toLowerCase()==="get"}function dt($,Te){if(!$)return Te();var Ne=$.req;Ne=Ne===void 0?{}:Ne;var Pe=Ne.options,Ae=Pe===void 0?{}:Pe,Ie=Ne.url,Ve=Ie===void 0?"":Ie,Qe=$.cache,at=$.responseInterceptors,xt=Ae.timeout,St=xt===void 0?0:xt,jt=Ae.timeoutMessage,tn=Ae.__umiRequestCoreType__,mn=tn===void 0?"normal":tn,Ft=Ae.useCache,Jt=Ft===void 0?!1:Ft,$t=Ae.method,Vt=$t===void 0?"get":$t,On=Ae.params,Xn=Ae.ttl,Tn=Ae.validateCache,Kn=Tn===void 0?Ot:Tn;if(mn!=="normal")return Te();var Pn=fetch;if(!Pn)throw new Error("Global fetch not exist!");var Gn=w()==="BROWSER",fn=Kn(Ve,Ae)&&Jt&&Gn;if(fn){var qn=Qe.get({url:Ve,params:On,method:Vt});if(qn)return qn=qn.clone(),qn.useCache=!0,$.res=qn,Te()}var rr;return St>0?rr=Promise.race([R(Ae),Pn(Ve,Ae),U(St,jt,$.req)]):rr=Promise.race([R(Ae),Pn(Ve,Ae)]),at.forEach(function(Qn){rr=rr.then(function(kn){var Un=typeof kn.clone=="function"?kn.clone():kn;return Qn(Un,Ae)})}),rr.then(function(Qn){if(fn&&Qn.status===200){var kn=Qn.clone();kn.useCache=!0,Qe.set({url:Ve,params:On,method:Vt},kn,Xn)}return $.res=Qn,Te()})}function He($,Te){var Ne;return Te().then(function(){if(!!$){var Pe=$.res,Ae=Pe===void 0?{}:Pe,Ie=$.req,Ve=Ie===void 0?{}:Ie,Qe=Ve||{},at=Qe.options;at=at===void 0?{}:at;var xt=at.responseType,St=xt===void 0?"json":xt,jt=at.charset,tn=jt===void 0?"utf8":jt,mn=at.getResponse,Ft=at.throwErrIfParseFail,Jt=Ft===void 0?!1:Ft,$t=at.parseResponse,Vt=$t===void 0?!0:$t;if(!!Vt&&!(!Ae||!Ae.clone)){if(Ne=w()==="BROWSER"?Ae.clone():Ae,Ne.useCache=Ae.useCache||!1,tn==="gbk")try{return Ae.blob().then(ce).then(function(On){return F(On,!1,Ne,Ve)})}catch(On){throw new ie(Ne,On.message,null,Ve,"ParseError")}else if(St==="json")return Ae.text().then(function(On){return F(On,Jt,Ne,Ve)});try{return Ae[St]()}catch(On){throw new ie(Ne,"responseType not support",null,Ve,"ParseError")}}}}).then(function(Pe){if(!!$){var Ae=$.res,Ie=$.req,Ve=Ie===void 0?{}:Ie,Qe=Ve||{},at=Qe.options;at=at===void 0?{}:at;var xt=at.getResponse,St=xt===void 0?!1:xt;if(!!Ne){if(Ne.status>=200&&Ne.status<300){if(St){$.res={data:Pe,response:Ne};return}$.res=Pe;return}throw new ie(Ne,"http error",Pe,Ve,"HttpError")}}}).catch(function(Pe){if(Pe instanceof ne||Pe instanceof ie)throw Pe;var Ae=$.req,Ie=$.res;throw Pe.request=Pe.request||Ae,Pe.response=Pe.response||Ie,Pe.type=Pe.type||Pe.name,Pe.data=Pe.data||void 0,Pe})}function tt($,Te){if(!$)return Te();var Ne=$.req;Ne=Ne===void 0?{}:Ne;var Pe=Ne.options,Ae=Pe===void 0?{}:Pe,Ie=Ae.method,Ve=Ie===void 0?"get":Ie;if(["post","put","patch","delete"].indexOf(Ve.toLowerCase())===-1)return Te();var Qe=Ae.requestType,at=Qe===void 0?"json":Qe,xt=Ae.data;if(xt){var St=Object.prototype.toString.call(xt);St==="[object Object]"||St==="[object Array]"?at==="json"?(Ae.headers=s({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},Ae.headers),Ae.body=JSON.stringify(xt)):at==="form"&&(Ae.headers=s({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},Ae.headers),Ae.body=Xe(xt)):(Ae.headers=s({Accept:"application/json"},Ae.headers),Ae.body=xt)}return $.req.options=Ae,Te()}function Le($,Te){var Ne,Pe;if($)if(Te)Ne=Te($);else if(K($))Ne=$.toString();else if(N($))Pe=[],De($,function(Ie){Ie===null||typeof Ie=="undefined"?Pe.push(Ie):Pe.push(V(Ie)?JSON.stringify(Ie):Ie)}),Ne=Xe(Pe);else{Pe={},De($,function(Ie,Ve){var Qe=Ie;Ie===null||typeof Ie=="undefined"?Pe[Ve]=Ie:_(Ie)?Qe=Ie.toISOString():N(Ie)?Qe=Ie:V(Ie)&&(Qe=JSON.stringify(Ie)),Pe[Ve]=Qe});var Ae=Xe(Pe);Ne=Ae}return Ne}function J($,Te){if(!$)return Te();var Ne=$.req;Ne=Ne===void 0?{}:Ne;var Pe=Ne.options,Ae=Pe===void 0?{}:Pe,Ie=Ae.paramsSerializer,Ve=Ae.params,Qe=$.req;Qe=Qe===void 0?{}:Qe;var at=Qe.url,xt=at===void 0?"":at;Ae.method=Ae.method?Ae.method.toUpperCase():"GET",Ae.credentials=Ae.credentials||"same-origin";var St=Le(Ve,Ie);if($.req.originUrl=xt,St){var jt=xt.indexOf("?")!==-1?"&":"?";$.req.url="".concat(xt).concat(jt).concat(St)}return $.req.options=Ae,Te()}var A=[tt,J,He],j=[dt];ve.globalMiddlewares=A,ve.defaultGlobalMiddlewaresLength=A.length,ve.coreMiddlewares=j,ve.defaultCoreMiddlewaresLength=j.length;var q=function(){function $(Te){c(this,$),this.onion=new ve([]),this.fetchIndex=0,this.mapCache=new Z(Te),this.initOptions=Te,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return d($,[{key:"use",value:function(Ne){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1};return this.onion.use(Ne,Pe),this}},{key:"extendOptions",value:function(Ne){this.initOptions=Ke(this.initOptions,Ne),this.mapCache.extendOptions(Ne)}},{key:"dealRequestInterceptors",value:function(Ne){var Pe=function(Ve,Qe){return Ve.then(function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ne.req.url=at.url||Ne.req.url,Ne.req.options=at.options||Ne.req.options,Qe(Ne.req.url,Ne.req.options)})},Ae=[].concat(P($.requestInterceptors),P(this.instanceRequestInterceptors));return Ae.reduce(Pe,Promise.resolve()).then(function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ne.req.url=Ie.url||Ne.req.url,Ne.req.options=Ie.options||Ne.req.options,Promise.resolve()})}},{key:"request",value:function(Ne,Pe){var Ae=this,Ie=this.onion,Ve={req:{url:Ne,options:s(s({},Pe),{},{url:Ne})},res:null,cache:this.mapCache,responseInterceptors:[].concat(P($.responseInterceptors),P(this.instanceResponseInterceptors))};if(typeof Ne!="string")throw new Error("url MUST be a string");return new Promise(function(Qe,at){Ae.dealRequestInterceptors(Ve).then(function(){return Ie.execute(Ve)}).then(function(){Qe(Ve.res)}).catch(function(xt){var St=Ve.req.options.errorHandler;if(St)try{var jt=St(xt);Qe(jt)}catch(tn){at(tn)}else at(xt)})})}}],[{key:"requestUse",value:function(Ne){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof Ne!="function")throw new TypeError("Interceptor must be function!");Pe.global?$.requestInterceptors.push(Ne):this.instanceRequestInterceptors.push(Ne)}},{key:"responseUse",value:function(Ne){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof Ne!="function")throw new TypeError("Interceptor must be function!");Pe.global?$.responseInterceptors.push(Ne):this.instanceResponseInterceptors.push(Ne)}}]),$}();q.requestInterceptors=[ot],q.responseInterceptors=[];function te($){this.message=$}te.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},te.prototype.__CANCEL__=!0;function de($){if(typeof $!="function")throw new TypeError("executor must be a function.");var Te;this.promise=new Promise(function(Ae){Te=Ae});var Ne=this;$(function(Ae){Ne.reason||(Ne.reason=new te(Ae),Te(Ne.reason))})}de.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},de.source=function(){var Te,Ne=new de(function(Ae){Te=Ae});return{token:Ne,cancel:Te}};function Ee($){return!!($&&$.__CANCEL__)}var pe=function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=new q(Te),Pe=function(Ve){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},at=Ke(Ne.initOptions,Qe);return Ne.request(Ve,at)};Pe.use=Ne.use.bind(Ne),Pe.fetchIndex=Ne.fetchIndex,Pe.interceptors={request:{use:q.requestUse.bind(Ne)},response:{use:q.responseUse.bind(Ne)}};var Ae=["get","post","delete","put","patch","head","options","rpc"];return Ae.forEach(function(Ie){Pe[Ie]=function(Ve,Qe){return Pe(Ve,s(s({},Qe),{},{method:Ie}))}}),Pe.Cancel=te,Pe.CancelToken=de,Pe.isCancel=Ee,Pe.extendOptions=Ne.extendOptions.bind(Ne),Pe.middlewares={instance:Ne.onion.middlewares,defaultInstance:Ne.onion.defaultMiddlewares,global:ve.globalMiddlewares,core:ve.coreMiddlewares},Pe},Y=function(Te){return pe(Te)},re=pe({parseResponse:!1}),ge=pe({}),me=null,Se=e(16568),Ge={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},Ye=function(Te){var Ne=Te.response;if(Ne&&Ne.status){var Pe=Ge[Ne.status]||Ne.statusText,Ae=Ne.status,Ie=Ne.url;Se.ZP.error({message:"\u8BF7\u6C42\u9519\u8BEF ".concat(Ae,": ").concat(Ie),description:Pe})}else Ne||Se.ZP.error({description:"\u60A8\u7684\u7F51\u7EDC\u53D1\u751F\u5F02\u5E38\uFF0C\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668",message:"\u7F51\u7EDC\u5F02\u5E38"});return Ne},it=Y({errorHandler:Ye,credentials:"same-origin"}),D=it},67610:function(y,h){"use strict";var e={navTheme:"light",colorPrimary:"#1677ff",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u73A9\u8F6C\u63A5\u53E3\u6D4B\u8BD5",pwa:!1,logo:"/logo.svg",iconfontUrl:"//at.alicdn.com/t/font_915840_kom9s5w2t6k.js",apiUrl:"api.pity.fun",https:!1,backend:!0};h.Z=e},93253:function(y,h,e){"use strict";e.d(h,{zt:function(){return Ni},$j:function(){return xs},Ue:function(){return _o}});var t={};e.r(t),e.d(t,{actionChannel:function(){return pn},all:function(){return Q},apply:function(){return ft},call:function(){return W},cancel:function(){return _t},cancelled:function(){return nn},cps:function(){return ct},flush:function(){return yt},fork:function(){return It},getContext:function(){return Lt},join:function(){return ln},put:function(){return $e},race:function(){return G},select:function(){return Mn},setContext:function(){return rn},spawn:function(){return Kt},take:function(){return se},takeEvery:function(){return zn},takeLatest:function(){return vt},takem:function(){return he},throttle:function(){return ke}});var r=e(94334),i=e(1413);function a(xe){return"Minified Redux error #"+xe+"; visit https://redux.js.org/Errors?code="+xe+" for the full message or use the non-minified dev environment for full errors. "}var s=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function l(xe){if(typeof xe!="object"||xe===null)return!1;for(var ze=xe;Object.getPrototypeOf(ze)!==null;)ze=Object.getPrototypeOf(ze);return Object.getPrototypeOf(xe)===ze}function d(xe){if(xe===void 0)return"undefined";if(xe===null)return"null";var ze=typeof xe;switch(ze){case"boolean":case"string":case"number":case"symbol":case"function":return ze}if(Array.isArray(xe))return"array";if(v(xe))return"date";if(p(xe))return"error";var nt=f(xe);switch(nt){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return nt}return ze.slice(8,-1).toLowerCase().replace(/\s/g,"")}function f(xe){return typeof xe.constructor=="function"?xe.constructor.name:null}function p(xe){return xe instanceof Error||typeof xe.message=="string"&&xe.constructor&&typeof xe.constructor.stackTraceLimit=="number"}function v(xe){return xe instanceof Date?!0:typeof xe.toDateString=="function"&&typeof xe.getDate=="function"&&typeof xe.setDate=="function"}function m(xe){var ze=typeof xe;return ze}function C(xe,ze,nt){var st;if(typeof ze=="function"&&typeof nt=="function"||typeof nt=="function"&&typeof arguments[3]=="function")throw new Error(a(0));if(typeof ze=="function"&&typeof nt=="undefined"&&(nt=ze,ze=void 0),typeof nt!="undefined"){if(typeof nt!="function")throw new Error(a(1));return nt(C)(xe,ze)}if(typeof xe!="function")throw new Error(a(2));var Rt=xe,Qt=ze,un=[],vr=un,_n=!1;function Cr(){vr===un&&(vr=un.slice())}function kr(){if(_n)throw new Error(a(3));return Qt}function ra(ma){if(typeof ma!="function")throw new Error(a(4));if(_n)throw new Error(a(5));var ha=!0;return Cr(),vr.push(ma),function(){if(!!ha){if(_n)throw new Error(a(6));ha=!1,Cr();var Ea=vr.indexOf(ma);vr.splice(Ea,1),un=null}}}function va(ma){if(!l(ma))throw new Error(a(7));if(typeof ma.type=="undefined")throw new Error(a(8));if(_n)throw new Error(a(9));try{_n=!0,Qt=Rt(Qt,ma)}finally{_n=!1}for(var ha=un=vr,Ha=0;Ha0)return"Unexpected "+(un.length>1?"keys":"key")+" "+('"'+un.join('", "')+'" found in '+Qt+". ")+"Expected to find one of the known reducer keys instead: "+('"'+Rt.join('", "')+'". Unexpected keys will be ignored.')}function O(xe){Object.keys(xe).forEach(function(ze){var nt=xe[ze],st=nt(void 0,{type:c.INIT});if(typeof st=="undefined")throw new Error(a(12));if(typeof nt(void 0,{type:c.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(a(13))})}function M(xe){for(var ze=Object.keys(xe),nt={},st=0;st=0&&xe.splice(nt,1)}var Xe={from:function(ze){var nt=Array(ze.length);for(var st in ze)_(ze,st)&&(nt[st]=ze[st]);return nt}};function Ke(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ze=fe({},xe),nt=new Promise(function(st,Rt){ze.resolve=st,ze.reject=Rt});return ze.promise=nt,ze}function ot(xe){for(var ze=[],nt=0;nt1&&arguments[1]!==void 0?arguments[1]:!0,nt=void 0,st=new Promise(function(Rt){nt=setTimeout(function(){return Rt(ze)},xe)});return st[ne]=function(){return clearTimeout(nt)},st}function Ot(){var xe,ze=!0,nt=void 0,st=void 0;return xe={},xe[ue]=!0,xe.isRunning=function(){return ze},xe.result=function(){return nt},xe.error=function(){return st},xe.setRunning=function(Qt){return ze=Qt},xe.setResult=function(Qt){return nt=Qt},xe.setError=function(Qt){return st=Qt},xe}function dt(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++xe}}var He=dt(),tt=function(ze){throw ze},Le=function(ze){return{value:ze,done:!0}};function J(xe){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tt,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",st=arguments[3],Rt={name:nt,next:xe,throw:ze,return:Le};return st&&(Rt[ve]=!0),typeof Symbol!="undefined"&&(Rt[Symbol.iterator]=function(){return Rt}),Rt}function A(xe,ze){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+xe+": "+ze+` +`+(nt&&nt.stack||nt)):console[xe](ze,nt)}function j(xe,ze){return function(){return xe.apply(void 0,arguments)}}var q=function(ze,nt){return ze+" has been deprecated in favor of "+nt+", please update your code"},te=function(ze){return new Error(` + redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug + in redux-saga code and not yours. Thanks for reporting this in the project's github repo. + Error: `+ze+` +`)},de=function(ze,nt){return(ze?ze+".":"")+"setContext(props): argument "+nt+" is not a plain object"},Ee=function(ze){return function(nt){return ze(Object.defineProperty(nt,ie,{value:!0}))}},pe=function xe(ze){return function(){for(var nt=arguments.length,st=Array(nt),Rt=0;Rt0&&arguments[0]!==void 0?arguments[0]:10,ze=arguments[1],nt=new Array(xe),st=0,Rt=0,Qt=0,un=function(kr){nt[Rt]=kr,Rt=(Rt+1)%xe,st++},vr=function(){if(st!=0){var kr=nt[Qt];return nt[Qt]=null,st--,Qt=(Qt+1)%xe,kr}},_n=function(){for(var kr=[];st;)kr.push(vr());return kr};return{isEmpty:function(){return st==0},put:function(kr){if(st0&&arguments[0]!==void 0?arguments[0]:it.fixed(),ze=!1,nt=[];N(xe,V.buffer,jt);function st(){if(ze&&nt.length)throw te("Cannot have a closed channel with pending takers");if(nt.length&&!xe.isEmpty())throw te("Cannot have pending takers with non empty buffer")}function Rt(_n){if(st(),N(_n,V.notUndef,tn),!ze){if(!nt.length)return xe.put(_n);for(var Cr=0;Cr1&&arguments[1]!==void 0?arguments[1]:it.none(),nt=arguments[2];arguments.length>2&&N(nt,V.func,"Invalid match function passed to eventChannel");var st=mn(ze),Rt=function(){st.__closed__||(Qt&&Qt(),st.close())},Qt=xe(function(un){if(xt(un)){Rt();return}nt&&!nt(un)||st.put(un)});if(st.__closed__&&Qt(),!V.func(Qt))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:st.take,flush:st.flush,close:Rt}}function Jt(xe){var ze=Ft(function(nt){return xe(function(st){if(st[ie]){nt(st);return}Ne(function(){return nt(st)})})});return Ve({},ze,{take:function(st,Rt){arguments.length>1&&(N(Rt,V.func,"channel.take's matcher argument must be a function"),st[Z]=Rt),ze.take(st)}})}var $t=H("IO"),Vt="TAKE",On="PUT",Xn="ALL",Tn="RACE",Kn="CALL",Pn="CPS",Gn="FORK",fn="JOIN",qn="CANCEL",rr="SELECT",Qn="ACTION_CHANNEL",kn="CANCELLED",Un="FLUSH",Yn="GET_CONTEXT",hr="SET_CONTEXT",Pr=` +(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Je=function(ze,nt){var st;return st={},st[$t]=!0,st[ze]=nt,st},we=function(ze){return N(Zt.fork(ze),V.object,"detach(eff): argument must be a fork effect"),ze[Gn].detached=!0,ze};function se(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&N(arguments[0],V.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),V.pattern(xe))return Je(Vt,{pattern:xe});if(V.channel(xe))return Je(Vt,{channel:xe});throw new Error("take(patternOrChannel): argument "+String(xe)+" is not valid channel or a valid pattern")}se.maybe=function(){var xe=se.apply(void 0,arguments);return xe[Vt].maybe=!0,xe};var he=j(se.maybe,q("takem","take.maybe"));function $e(xe,ze){return arguments.length>1?(N(xe,V.notUndef,"put(channel, action): argument channel is undefined"),N(xe,V.channel,"put(channel, action): argument "+xe+" is not a valid channel"),N(ze,V.notUndef,"put(channel, action): argument action is undefined")):(N(xe,V.notUndef,"put(action): argument action is undefined"),ze=xe,xe=null),Je(On,{channel:xe,action:ze})}$e.resolve=function(){var xe=$e.apply(void 0,arguments);return xe[On].resolve=!0,xe},$e.sync=j($e.resolve,q("put.sync","put.resolve"));function Q(xe){return Je(Xn,xe)}function G(xe){return Je(Tn,xe)}function Be(xe,ze,nt){N(ze,V.notUndef,xe+": argument fn is undefined");var st=null;if(V.array(ze)){var Rt=ze;st=Rt[0],ze=Rt[1]}else if(ze.fn){var Qt=ze;st=Qt.context,ze=Qt.fn}return st&&V.string(ze)&&V.func(st[ze])&&(ze=st[ze]),N(ze,V.func,xe+": argument "+ze+" is not a function"),{context:st,fn:ze,args:nt}}function W(xe){for(var ze=arguments.length,nt=Array(ze>1?ze-1:0),st=1;st2&&arguments[2]!==void 0?arguments[2]:[];return Je(Kn,Be("apply",{context:xe,fn:ze},nt))}function ct(xe){for(var ze=arguments.length,nt=Array(ze>1?ze-1:0),st=1;st1?ze-1:0),st=1;st1?ze-1:0),st=1;st1)return Q(ze.map(function(Rt){return ln(Rt)}));var st=ze[0];return N(st,V.notUndef,"join(task): argument task is undefined"),N(st,V.task,"join(task): argument "+st+" is not a valid Task object "+Pr),Je(fn,st)}function _t(){for(var xe=arguments.length,ze=Array(xe),nt=0;nt1)return Q(ze.map(function(Rt){return _t(Rt)}));var st=ze[0];return ze.length===1&&(N(st,V.notUndef,"cancel(task): argument task is undefined"),N(st,V.task,"cancel(task): argument "+st+" is not a valid Task object "+Pr)),Je(qn,st||ce)}function Mn(xe){for(var ze=arguments.length,nt=Array(ze>1?ze-1:0),st=1;st1&&(N(ze,V.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),N(ze,V.buffer,"actionChannel(pattern, buffer): argument "+ze+" is not a valid buffer")),Je(Qn,{pattern:xe,buffer:ze})}function nn(){return Je(kn,{})}function yt(xe){return N(xe,V.channel,"flush(channel): argument "+xe+" is not valid channel"),Je(Un,xe)}function Lt(xe){return N(xe,V.string,"getContext(prop): argument "+xe+" is not a string"),Je(Yn,xe)}function rn(xe){return N(xe,V.object,de(null,xe)),Je(hr,xe)}var At=function(ze){return function(nt){return nt&&nt[$t]&&nt[ze]}},Zt={take:At(Vt),put:At(On),all:At(Xn),race:At(Tn),call:At(Kn),cps:At(Pn),fork:At(Gn),join:At(fn),cancel:At(qn),select:At(rr),actionChannel:At(Qn),cancelled:At(kn),flush:At(Un),getContext:At(Yn),setContext:At(hr)},Xt=Object.assign||function(xe){for(var ze=1;ze1&&arguments[1]!==void 0?arguments[1]:function(){return T},nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T,st=arguments.length>3&&arguments[3]!==void 0?arguments[3]:T,Rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Qt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},un=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,vr=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",_n=arguments[8];N(xe,V.iterator,fr);var Cr="[...effects]",kr=j(Jo,q(Cr,"all("+Cr+")")),ra=Qt.sagaMonitor,va=Qt.logger,Pa=Qt.onError,Na=va||A,ma=function(ea){var aa=ea.sagaStack;!aa&&ea.stack&&(aa=ea.stack.split(` +`)[0].indexOf(ea.message)!==-1?ea.stack:"Error: "+ea.message+` +`+ea.stack),Na("error","uncaught at "+vr,aa||ea.message||ea)},ha=Jt(ze),Ha=Object.create(Rt);Ut.cancel=T;var Ea=li(un,vr,xe,_n),eo={name:vr,cancel:mt,isRunning:!0},_e=jn(vr,eo,cn);function mt(){eo.isRunning&&!eo.isCancelled&&(eo.isCancelled=!0,Ut(En))}function le(){xe._isRunning&&!xe._isCancelled&&(xe._isCancelled=!0,_e.cancelAll(),cn(En))}return _n&&(_n.cancel=le),xe._isRunning=!0,Ut(),Ea;function Ut(xr,ea){if(!eo.isRunning)throw new Error("Trying to resume an already finished generator");try{var aa=void 0;ea?aa=xe.throw(xr):xr===En?(eo.isCancelled=!0,Ut.cancel(),aa=V.func(xe.return)?xe.return(En):{done:!0,value:En}):xr===Dn?aa=V.func(xe.return)?xe.return():{done:!0}:aa=xe.next(xr),aa.done?(eo.isMainRunning=!1,eo.cont&&eo.cont(aa.value)):tr(aa.value,un,"",Ut)}catch(Ka){eo.isCancelled&&ma(Ka),eo.isMainRunning=!1,eo.cont(Ka,!0)}}function cn(xr,ea){xe._isRunning=!1,ha.close(),ea?(xr instanceof Error&&Object.defineProperty(xr,"sagaStack",{value:"at "+vr+` + `+(xr.sagaStack||xr.stack),configurable:!0}),Ea.cont||(xr instanceof Error&&Pa?Pa(xr):ma(xr)),xe._error=xr,xe._isAborted=!0,xe._deferredEnd&&xe._deferredEnd.reject(xr)):(xe._result=xr,xe._deferredEnd&&xe._deferredEnd.resolve(xr)),Ea.cont&&Ea.cont(xr,ea),Ea.joiners.forEach(function(aa){return aa.cb(xr,ea)}),Ea.joiners=null}function tr(xr,ea){var aa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Ka=arguments[3],qa=He();ra&&ra.effectTriggered({effectId:qa,parentEffectId:ea,label:aa,effect:xr});var Ma=void 0;function fa(Ro,Fo){Ma||(Ma=!0,Ka.cancel=T,ra&&(Fo?ra.effectRejected(qa,Ro):ra.effectResolved(qa,Ro)),Ka(Ro,Fo))}fa.cancel=T,Ka.cancel=function(){if(!Ma){Ma=!0;try{fa.cancel()}catch(Ro){ma(Ro)}fa.cancel=T,ra&&ra.effectCancelled(qa)}};var ga=void 0;return V.promise(xr)?Er(xr,fa):V.helper(xr)?ua(ye(xr),qa,fa):V.iterator(xr)?wr(xr,qa,vr,fa):V.array(xr)?kr(xr,qa,fa):(ga=Zt.take(xr))?ia(ga,fa):(ga=Zt.put(xr))?Va(ga,fa):(ga=Zt.all(xr))?Jo(ga,qa,fa):(ga=Zt.race(xr))?Go(ga,qa,fa):(ga=Zt.call(xr))?qr(ga,qa,fa):(ga=Zt.cps(xr))?Lr(ga,fa):(ga=Zt.fork(xr))?ua(ga,qa,fa):(ga=Zt.join(xr))?Za(ga,fa):(ga=Zt.cancel(xr))?so(ga,fa):(ga=Zt.select(xr))?zo(ga,fa):(ga=Zt.actionChannel(xr))?yo(ga,fa):(ga=Zt.flush(xr))?ko(ga,fa):(ga=Zt.cancelled(xr))?to(ga,fa):(ga=Zt.getContext(xr))?No(ga,fa):(ga=Zt.setContext(xr))?Lo(ga,fa):fa(xr)}function Er(xr,ea){var aa=xr[ne];V.func(aa)?ea.cancel=aa:V.func(xr.abort)&&(ea.cancel=function(){return xr.abort()}),xr.then(ea,function(Ka){return ea(Ka,!0)})}function wr(xr,ea,aa,Ka){Oe(xr,ze,nt,st,Ha,Qt,ea,aa,Ka)}function ia(xr,ea){var aa=xr.channel,Ka=xr.pattern,qa=xr.maybe;aa=aa||ha;var Ma=function(ga){return ga instanceof Error?ea(ga,!0):xt(ga)&&!qa?ea(Dn):ea(ga)};try{aa.take(Ma,Zn(Ka))}catch(fa){return ea(fa,!0)}ea.cancel=Ma.cancel}function Va(xr,ea){var aa=xr.channel,Ka=xr.action,qa=xr.resolve;Ne(function(){var Ma=void 0;try{Ma=(aa?aa.put:nt)(Ka)}catch(fa){if(aa||qa)return ea(fa,!0);ma(fa)}if(qa&&V.promise(Ma))Er(Ma,ea);else return ea(Ma)})}function qr(xr,ea,aa){var Ka=xr.context,qa=xr.fn,Ma=xr.args,fa=void 0;try{fa=qa.apply(Ka,Ma)}catch(ga){return aa(ga,!0)}return V.promise(fa)?Er(fa,aa):V.iterator(fa)?wr(fa,ea,qa.name,aa):aa(fa)}function Lr(xr,ea){var aa=xr.context,Ka=xr.fn,qa=xr.args;try{var Ma=function(ga,Ro){return V.undef(ga)?ea(Ro):ea(ga,!0)};Ka.apply(aa,qa.concat(Ma)),Ma.cancel&&(ea.cancel=function(){return Ma.cancel()})}catch(fa){return ea(fa,!0)}}function ua(xr,ea,aa){var Ka=xr.context,qa=xr.fn,Ma=xr.args,fa=xr.detached,ga=ae({context:Ka,fn:qa,args:Ma});try{Pe();var Ro=Oe(ga,ze,nt,st,Ha,Qt,ea,qa.name,fa?null:T);fa?aa(Ro):ga._isRunning?(_e.addTask(Ro),aa(Ro)):ga._error?_e.abort(ga._error):aa(Ro)}finally{Ie()}}function Za(xr,ea){if(xr.isRunning()){var aa={task:Ea,cb:ea};ea.cancel=function(){return Fe(xr.joiners,aa)},xr.joiners.push(aa)}else xr.isAborted()?ea(xr.error(),!0):ea(xr.result())}function so(xr,ea){xr===ce&&(xr=Ea),xr.isRunning()&&xr.cancel(),ea()}function Jo(xr,ea,aa){var Ka=Object.keys(xr);if(!Ka.length)return aa(V.array(xr)?[]:{});var qa=0,Ma=void 0,fa={},ga={};function Ro(){qa===Ka.length&&(Ma=!0,aa(V.array(xr)?Xe.from(Xt({},fa,{length:Ka.length})):fa))}Ka.forEach(function(Fo){var ss=function(ni,wi){Ma||(wi||xt(ni)||ni===Dn||ni===En?(aa.cancel(),aa(ni,wi)):(fa[Fo]=ni,qa++,Ro()))};ss.cancel=T,ga[Fo]=ss}),aa.cancel=function(){Ma||(Ma=!0,Ka.forEach(function(Fo){return ga[Fo].cancel()}))},Ka.forEach(function(Fo){return tr(xr[Fo],ea,Fo,ga[Fo])})}function Go(xr,ea,aa){var Ka=void 0,qa=Object.keys(xr),Ma={};qa.forEach(function(fa){var ga=function(Fo,ss){if(!Ka){if(ss)aa.cancel(),aa(Fo,!0);else if(!xt(Fo)&&Fo!==Dn&&Fo!==En){var Wr;aa.cancel(),Ka=!0;var ni=(Wr={},Wr[fa]=Fo,Wr);aa(V.array(xr)?[].slice.call(Xt({},ni,{length:qa.length})):ni)}}};ga.cancel=T,Ma[fa]=ga}),aa.cancel=function(){Ka||(Ka=!0,qa.forEach(function(fa){return Ma[fa].cancel()}))},qa.forEach(function(fa){Ka||tr(xr[fa],ea,fa,Ma[fa])})}function zo(xr,ea){var aa=xr.selector,Ka=xr.args;try{var qa=aa.apply(void 0,[st()].concat(Ka));ea(qa)}catch(Ma){ea(Ma,!0)}}function yo(xr,ea){var aa=xr.pattern,Ka=xr.buffer,qa=Zn(aa);qa.pattern=aa,ea(Ft(ze,Ka||it.fixed(),qa))}function to(xr,ea){ea(!!eo.isCancelled)}function ko(xr,ea){xr.flush(ea)}function No(xr,ea){ea(Ha[xr])}function Lo(xr,ea){De.assign(Ha,xr),ea()}function li(xr,ea,aa,Ka){var qa,Ma,fa;return aa._deferredEnd=null,Ma={},Ma[ue]=!0,Ma.id=xr,Ma.name=ea,qa="done",fa={},fa[qa]=fa[qa]||{},fa[qa].get=function(){if(aa._deferredEnd)return aa._deferredEnd.promise;var ga=Ke();return aa._deferredEnd=ga,aa._isRunning||(aa._error?ga.reject(aa._error):ga.resolve(aa._result)),ga.promise},Ma.cont=Ka,Ma.joiners=[],Ma.cancel=le,Ma.isRunning=function(){return aa._isRunning},Ma.isCancelled=function(){return aa._isCancelled},Ma.isAborted=function(){return aa._isAborted},Ma.result=function(){return aa._result},Ma.error=function(){return aa._error},Ma.setContext=function(Ro){N(Ro,V.object,de("task",Ro)),De.assign(Ha,Ro)},Nn(Ma,fa),Ma}}var Re="runSaga(storeInterface, saga, ...args)",qe=Re+": saga argument must be a Generator function!";function wt(xe,ze){for(var nt=arguments.length,st=Array(nt>2?nt-2:0),Rt=2;Rt=0||!Object.prototype.hasOwnProperty.call(xe,st)||(nt[st]=xe[st]);return nt}function en(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ze=xe.context,nt=ze===void 0?{}:ze,st=Tt(xe,["context"]),Rt=st.sagaMonitor,Qt=st.logger,un=st.onError;if(V.func(st))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Qt&&!V.func(Qt))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(un&&!V.func(un))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(st.emitter&&!V.func(st.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function vr(_n){var Cr=_n.getState,kr=_n.dispatch,ra=St();return ra.emit=(st.emitter||w)(ra.emit),vr.run=wt.bind(null,{context:nt,subscribe:ra.subscribe,dispatch:kr,getState:Cr,sagaMonitor:Rt,logger:Qt,onError:un}),function(va){return function(Pa){Rt&&Rt.actionDispatched&&Rt.actionDispatched(Pa);var Na=va(Pa);return ra.emit(Pa),Na}}}return vr.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},vr.setContext=function(_n){N(_n,V.object,de("sagaMiddleware",_n)),De.assign(nt,_n)},vr}var Ln={done:!0,value:void 0},qt={};function dn(xe){return V.channel(xe)?"channel":Array.isArray(xe)?String(xe.map(function(ze){return String(ze)})):String(xe)}function Bn(xe,ze){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",st=void 0,Rt=ze;function Qt(un,vr){if(Rt===qt)return Ln;if(vr)throw Rt=qt,vr;st&&st(un);var _n=xe[Rt](),Cr=_n[0],kr=_n[1],ra=_n[2];return Rt=Cr,st=ra,Rt===qt?Ln:kr}return J(Qt,function(un){return Qt(null,un)},nt,!0)}function Hn(xe,ze){for(var nt=arguments.length,st=Array(nt>2?nt-2:0),Rt=2;Rt2?nt-2:0),Rt=2;Rt3?st-3:0),Qt=3;Qt2?nt-2:0),Rt=2;Rt2?nt-2:0),Rt=2;Rt3?st-3:0),Qt=3;Qt-1&&(ze[nt]=xe[nt]),ze},{})}var Da=function(){function xe(){(0,Sn.Z)(this,xe),this._handleActions=null,this.hooks=Ra.reduce(function(ze,nt){return ze[nt]=[],ze},{})}return(0,sr.Z)(xe,[{key:"use",value:function(nt){Ze()(pt()(nt),"plugin.use: plugin should be plain object");var st=this.hooks;for(var Rt in nt)Object.prototype.hasOwnProperty.call(nt,Rt)&&(Ze()(st[Rt],"plugin.use: unknown plugin property: ".concat(Rt)),Rt==="_handleActions"?this._handleActions=nt[Rt]:Rt==="extraEnhancers"?st[Rt]=nt[Rt]:st[Rt].push(nt[Rt]))}},{key:"apply",value:function(nt,st){var Rt=this.hooks,Qt=["onError","onHmr"];Ze()(Qt.indexOf(nt)>-1,"plugin.apply: hook ".concat(nt," cannot be applied"));var un=Rt[nt];return function(){if(un.length){var vr=!0,_n=!1,Cr=void 0;try{for(var kr=un[Symbol.iterator](),ra;!(vr=(ra=kr.next()).done);vr=!0){var va=ra.value;va.apply(void 0,arguments)}}catch(Pa){_n=!0,Cr=Pa}finally{try{!vr&&kr.return!=null&&kr.return()}finally{if(_n)throw Cr}}}else st&&st.apply(void 0,arguments)}}},{key:"get",value:function(nt){var st=this.hooks;return Ze()(nt in st,"plugin.get: hook ".concat(nt," cannot be got")),nt==="extraReducers"?no(st[nt]):nt==="onReducer"?Tr(st[nt]):st[nt]}}]),xe}();function no(xe){var ze={},nt=!0,st=!1,Rt=void 0;try{for(var Qt=xe[Symbol.iterator](),un;!(nt=(un=Qt.next()).done);nt=!0){var vr=un.value;ze=(0,r.Z)({},ze,vr)}}catch(_n){st=!0,Rt=_n}finally{try{!nt&&Qt.return!=null&&Qt.return()}finally{if(st)throw Rt}}return ze}function Tr(xe){return function(ze){var nt=!0,st=!1,Rt=void 0;try{for(var Qt=xe[Symbol.iterator](),un;!(nt=(un=Qt.next()).done);nt=!0){var vr=un.value;ze=vr(ze)}}catch(_n){st=!0,Rt=_n}finally{try{!nt&&Qt.return!=null&&Qt.return()}finally{if(st)throw Rt}}return ze}}function $r(xe){var ze=xe.reducers,nt=xe.initialState,st=xe.plugin,Rt=xe.sagaMiddleware,Qt=xe.promiseMiddleware,un=xe.createOpts.setupMiddlewares,vr=un===void 0?Yr:un,_n=st.get("extraEnhancers");Ze()(Vr(_n),"[app.start] extraEnhancers should be array, but got ".concat((0,ht.Z)(_n)));var Cr=st.get("onAction"),kr=vr([Qt,Rt].concat((0,Pt.Z)(Fn()(Cr)))),ra=L,va=[k.apply(void 0,(0,Pt.Z)(kr))].concat((0,Pt.Z)(_n));return C(ze,nt,ra.apply(void 0,(0,Pt.Z)(va)))}function Fr(xe,ze){var nt="".concat(ze.namespace).concat(Dr).concat(xe),st=nt.replace(/\/@@[^/]+?$/,""),Rt=Array.isArray(ze.reducers)?ze.reducers[0][st]:ze.reducers&&ze.reducers[st];return Rt||ze.effects&&ze.effects[st]?nt:xe}function Mr(xe,ze,nt,st){var Rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return ar().mark(function Qt(){var un;return ar().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:_n.t0=ar().keys(xe);case 1:if((_n.t1=_n.t0()).done){_n.next=7;break}if(un=_n.t1.value,!Object.prototype.hasOwnProperty.call(xe,un)){_n.next=5;break}return _n.delegateYield(ar().mark(function Cr(){var kr,ra;return ar().wrap(function(Pa){for(;;)switch(Pa.prev=Pa.next){case 0:return kr=la(un,xe[un],ze,nt,st,Rt),Pa.next=3,It(kr);case 3:return ra=Pa.sent,Pa.next=6,It(ar().mark(function Na(){return ar().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:return ha.next=2,se("".concat(ze.namespace,"/@@CANCEL_EFFECTS"));case 2:return ha.next=4,_t(ra);case 4:case"end":return ha.stop()}},Na)}));case 6:case"end":return Pa.stop()}},Cr)})(),"t2",5);case 5:_n.next=1;break;case 7:case"end":return _n.stop()}},Qt)})}function la(xe,ze,nt,st,Rt,Qt){var un=ar().mark(Na),vr=ze,_n="takeEvery",Cr,kr;if(Array.isArray(ze)){var ra=(0,cr.Z)(ze,1);vr=ra[0];var va=ze[1];va&&va.type&&(_n=va.type,_n==="throttle"&&(Ze()(va.ms,"app.start: opts.ms should be defined if type is throttle"),Cr=va.ms),_n==="poll"&&(Ze()(va.delay,"app.start: opts.delay should be defined if type is poll"),kr=va.delay)),Ze()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(_n)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Pa(){}function Na(){var ha,Ha,Ea,eo,_e,mt,le,Ut,cn,tr=arguments;return ar().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:for(ha=tr.length,Ha=new Array(ha),Ea=0;Ea0?Ha[0]:{},_e=eo.__dva_resolve,mt=_e===void 0?Pa:_e,le=eo.__dva_reject,Ut=le===void 0?Pa:le,wr.prev=2,wr.next=5,$e({type:"".concat(xe).concat(Dr,"@@start")});case 5:return wr.next=7,vr.apply(void 0,(0,Pt.Z)(Ha.concat(oa(nt,Qt))));case 7:return cn=wr.sent,wr.next=10,$e({type:"".concat(xe).concat(Dr,"@@end")});case 10:mt(cn),wr.next=17;break;case 13:wr.prev=13,wr.t0=wr.catch(2),st(wr.t0,{key:xe,effectArgs:Ha}),wr.t0._dontReject||Ut(wr.t0);case 17:case"end":return wr.stop()}},un,null,[[2,13]])}var ma=Ua(Rt,Na,nt,xe);switch(_n){case"watcher":return Na;case"takeLatest":return ar().mark(function ha(){return ar().wrap(function(Ea){for(;;)switch(Ea.prev=Ea.next){case 0:return Ea.next=2,vt(xe,ma);case 2:case"end":return Ea.stop()}},ha)});case"throttle":return ar().mark(function ha(){return ar().wrap(function(Ea){for(;;)switch(Ea.prev=Ea.next){case 0:return Ea.next=2,ke(Cr,xe,ma);case 2:case"end":return Ea.stop()}},ha)});case"poll":return ar().mark(function ha(){var Ha,Ea,eo,_e,mt,le,Ut;return ar().wrap(function(tr){for(;;)switch(tr.prev=tr.next){case 0:eo=function(wr,ia){var Va;return ar().wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:Va=wr.call;case 1:return Lr.next=4,Va(ma,ia);case 4:return Lr.next=6,Va(Ea,kr);case 6:Lr.next=1;break;case 8:case"end":return Lr.stop()}},Ha)},Ea=function(wr){return new Promise(function(ia){return setTimeout(ia,wr)})},Ha=ar().mark(eo),_e=W,mt=se,le=G;case 4:return tr.next=7,mt("".concat(xe,"-start"));case 7:return Ut=tr.sent,tr.next=10,le([_e(eo,t,Ut),mt("".concat(xe,"-stop"))]);case 10:tr.next=4;break;case 12:case"end":return tr.stop()}},ha)});default:return ar().mark(function ha(){return ar().wrap(function(Ea){for(;;)switch(Ea.prev=Ea.next){case 0:return Ea.next=2,zn(xe,ma);case 2:case"end":return Ea.stop()}},ha)})}}function oa(xe,ze){function nt(un,vr){Ze()(un,"dispatch: action should be a plain Object with type");var _n=ze.namespacePrefixWarning,Cr=_n===void 0?!0:_n;Cr&&vn()(un.indexOf("".concat(xe.namespace).concat(Dr))!==0,"[".concat(vr,"] ").concat(un," should not be prefixed with namespace ").concat(xe.namespace))}function st(un){var vr=un.type;return nt(vr,"sagaEffects.put"),$e((0,r.Z)({},un,{type:Fr(vr,xe)}))}function Rt(un){var vr=un.type;return nt(vr,"sagaEffects.put.resolve"),$e.resolve((0,r.Z)({},un,{type:Fr(vr,xe)}))}st.resolve=Rt;function Qt(un){return typeof un=="string"?(nt(un,"sagaEffects.take"),se(Fr(un,xe))):Array.isArray(un)?se(un.map(function(vr){return typeof vr=="string"?(nt(vr,"sagaEffects.take"),Fr(vr,xe)):vr})):se(un)}return(0,r.Z)({},t,{put:st,take:Qt})}function Ua(xe,ze,nt,st){var Rt=!0,Qt=!1,un=void 0;try{for(var vr=xe[Symbol.iterator](),_n;!(Rt=(_n=vr.next()).done);Rt=!0){var Cr=_n.value;ze=Cr(ze,t,nt,st)}}catch(kr){Qt=!0,un=kr}finally{try{!Rt&&vr.return!=null&&vr.return()}finally{if(Qt)throw un}}return ze}function mo(xe){return xe}function So(xe){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mo;return function(nt,st){var Rt=st.type;return Ze()(Rt,"dispatch: action should be a plain Object with type"),xe===Rt?ze(nt,st):nt}}function Bo(){for(var xe=arguments.length,ze=new Array(xe),nt=0;nt0&&arguments[0]!==void 0?arguments[0]:ze,Qt=arguments.length>1?arguments[1]:void 0;return st(Rt,Qt)}}function xa(xe,ze,nt){return Array.isArray(xe)?xe[1]((nt||Br)(xe[0],ze)):(nt||Br)(xe||{},ze)}function ro(xe){return function(){return function(nt){return function(st){var Rt=st.type;return ze(Rt)?new Promise(function(Qt,un){nt((0,r.Z)({__dva_resolve:Qt,__dva_reject:un},st))}):nt(st)}}};function ze(nt){if(!nt||typeof nt!="string")return!1;var st=nt.split(Dr),Rt=(0,cr.Z)(st,1),Qt=Rt[0],un=xe._models.filter(function(vr){return vr.namespace===Qt})[0];return!!(un&&un.effects&&un.effects[nt])}}function Ca(xe,ze){return function(nt){var st=nt.type;return Ze()(st,"dispatch: action should be a plain Object with type"),vn()(st.indexOf("".concat(ze.namespace).concat(Dr))!==0,"dispatch: ".concat(st," should not be prefixed with namespace ").concat(ze.namespace)),xe((0,r.Z)({},nt,{type:Fr(st,ze)}))}}function ca(xe,ze,nt,st){var Rt=[],Qt=[];for(var un in xe)if(Object.prototype.hasOwnProperty.call(xe,un)){var vr=xe[un],_n=vr({dispatch:Ca(nt._store.dispatch,ze),history:nt._history},st);Rr(_n)?Rt.push(_n):Qt.push(un)}return{funcs:Rt,nonFuncs:Qt}}function Fa(xe,ze){if(!!xe[ze]){var nt=xe[ze],st=nt.funcs,Rt=nt.nonFuncs;vn()(Rt.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Rt.join(", ")));var Qt=!0,un=!1,vr=void 0;try{for(var _n=st[Symbol.iterator](),Cr;!(Qt=(Cr=_n.next()).done);Qt=!0){var kr=Cr.value;kr()}}catch(ra){un=!0,vr=ra}finally{try{!Qt&&_n.return!=null&&_n.return()}finally{if(un)throw vr}}delete xe[ze]}}var lo=Gr,Wo=ya,ho={namespace:"@@dva",state:0,reducers:{UPDATE:function(ze){return ze+1}}};function _o(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=ze.initialReducer,st=ze.setupApp,Rt=st===void 0?lo:st,Qt=new Da;Qt.use(ka(xe));var un={_models:[pa((0,r.Z)({},ho))],_store:null,_plugin:Qt,use:Qt.use.bind(Qt),model:vr,start:ra};return un;function vr(va){var Pa=pa((0,r.Z)({},va));return un._models.push(Pa),Pa}function _n(va,Pa,Na,ma){ma=vr(ma);var ha=un._store;ha.asyncReducers[ma.namespace]=xa(ma.reducers,ma.state,Qt._handleActions),ha.replaceReducer(va()),ma.effects&&ha.runSaga(un._getSaga(ma.effects,ma,Pa,Qt.get("onEffect"),xe)),ma.subscriptions&&(Na[ma.namespace]=ca(ma.subscriptions,ma,un,Pa))}function Cr(va,Pa,Na,ma){var ha=un._store;delete ha.asyncReducers[ma],delete Pa[ma],ha.replaceReducer(va()),ha.dispatch({type:"@@dva/UPDATE"}),ha.dispatch({type:"".concat(ma,"/@@CANCEL_EFFECTS")}),Fa(Na,ma),un._models=un._models.filter(function(Ha){return Ha.namespace!==ma})}function kr(va,Pa,Na,ma,ha){var Ha=un._store,Ea=ha.namespace,eo=Wo(un._models,function(_e){return _e.namespace===Ea});~eo&&(Ha.dispatch({type:"".concat(Ea,"/@@CANCEL_EFFECTS")}),delete Ha.asyncReducers[Ea],delete Pa[Ea],Fa(Na,Ea),un._models.splice(eo,1)),un.model(ha),Ha.dispatch({type:"@@dva/UPDATE"})}function ra(){var va=function(Lo,li){Lo&&(typeof Lo=="string"&&(Lo=new Error(Lo)),Lo.preventDefault=function(){Lo._dontReject=!0},Qt.apply("onError",function(xr){throw new Error(xr.stack||xr)})(Lo,un._store.dispatch,li))},Pa=Me(),Na=ro(un);un._getSaga=Mr.bind(null);var ma=[],ha=(0,r.Z)({},nt),Ha=!0,Ea=!1,eo=void 0;try{for(var _e=un._models[Symbol.iterator](),mt;!(Ha=(mt=_e.next()).done);Ha=!0){var le=mt.value;ha[le.namespace]=xa(le.reducers,le.state,Qt._handleActions),le.effects&&ma.push(un._getSaga(le.effects,le,va,Qt.get("onEffect"),xe))}}catch(No){Ea=!0,eo=No}finally{try{!Ha&&_e.return!=null&&_e.return()}finally{if(Ea)throw eo}}var Ut=Qt.get("onReducer"),cn=Qt.get("extraReducers");Ze()(Object.keys(cn).every(function(No){return!(No in ha)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(ha).join(", "))),un._store=$r({reducers:ko(),initialState:xe.initialState||{},plugin:Qt,createOpts:ze,sagaMiddleware:Pa,promiseMiddleware:Na});var tr=un._store;tr.runSaga=Pa.run,tr.asyncReducers={};var Er=Qt.get("onStateChange"),wr=!0,ia=!1,Va=void 0;try{for(var qr=function(){var Lo=ua.value;tr.subscribe(function(){Lo(tr.getState())})},Lr=Er[Symbol.iterator](),ua;!(wr=(ua=Lr.next()).done);wr=!0)qr()}catch(No){ia=!0,Va=No}finally{try{!wr&&Lr.return!=null&&Lr.return()}finally{if(ia)throw Va}}ma.forEach(Pa.run),Rt(un);var Za={},so=!0,Jo=!1,Go=void 0;try{for(var zo=this._models[Symbol.iterator](),yo;!(so=(yo=zo.next()).done);so=!0){var to=yo.value;to.subscriptions&&(Za[to.namespace]=ca(to.subscriptions,to,un,va))}}catch(No){Jo=!0,Go=No}finally{try{!so&&zo.return!=null&&zo.return()}finally{if(Jo)throw Go}}un.model=_n.bind(un,ko,va,Za),un.unmodel=Cr.bind(un,ko,ha,Za),un.replaceModel=kr.bind(un,ko,ha,Za,va);function ko(){return Ut(M((0,r.Z)({},ha,cn,un._store?un._store.asyncReducers:{})))}}}var po=e(61688),Yo=e(52798),oi=e(73935);function si(xe){xe()}let bt=si;const Ht=xe=>bt=xe,Nt=()=>bt;var Wt=e(67294);const $n=Symbol.for("react-redux-context"),br=typeof globalThis!="undefined"?globalThis:{};function Nr(){var xe;if(!Wt.createContext)return{};const ze=(xe=br[$n])!=null?xe:br[$n]=new Map;let nt=ze.get(Wt.createContext);return nt||(nt=Wt.createContext(null),ze.set(Wt.createContext,nt)),nt}const Zr=Nr();var jr=null;function zr(xe=ReactReduxContext){return function(){return useContext(xe)}}const Cn=null;let wn=null;const bn=xe=>{wn=xe},ir=(xe,ze)=>xe===ze;function Gt(xe=ReactReduxContext){const ze=xe===ReactReduxContext?useDefaultReduxContext:createReduxContextHook(xe);return function(st,Rt={}){const{equalityFn:Qt=ir,stabilityCheck:un=void 0,noopCheck:vr=void 0}=typeof Rt=="function"?{equalityFn:Rt}:Rt,{store:_n,subscription:Cr,getServerState:kr,stabilityCheck:ra,noopCheck:va}=ze(),Pa=useRef(!0),Na=useCallback({[st.name](ha){return st(ha)}}[st.name],[st,ra,un]),ma=wn(Cr.addNestedSub,_n.getState,kr||_n.getState,Na,Qt);return useDebugValue(ma),ma}}const gt=null;var Dt=e(87462),Mt=e(63366),Rn=e(8679),or=e.n(Rn),mr=e(43e3);const Ir=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Sr(xe,ze,nt,st,{areStatesEqual:Rt,areOwnPropsEqual:Qt,areStatePropsEqual:un}){let vr=!1,_n,Cr,kr,ra,va;function Pa(Ea,eo){return _n=Ea,Cr=eo,kr=xe(_n,Cr),ra=ze(st,Cr),va=nt(kr,ra,Cr),vr=!0,va}function Na(){return kr=xe(_n,Cr),ze.dependsOnOwnProps&&(ra=ze(st,Cr)),va=nt(kr,ra,Cr),va}function ma(){return xe.dependsOnOwnProps&&(kr=xe(_n,Cr)),ze.dependsOnOwnProps&&(ra=ze(st,Cr)),va=nt(kr,ra,Cr),va}function ha(){const Ea=xe(_n,Cr),eo=!un(Ea,kr);return kr=Ea,eo&&(va=nt(kr,ra,Cr)),va}function Ha(Ea,eo){const _e=!Qt(eo,Cr),mt=!Rt(Ea,_n,eo,Cr);return _n=Ea,Cr=eo,_e&&mt?Na():_e?ma():mt?ha():va}return function(eo,_e){return vr?Ha(eo,_e):Pa(eo,_e)}}function yr(xe,ze){let{initMapStateToProps:nt,initMapDispatchToProps:st,initMergeProps:Rt}=ze,Qt=(0,Mt.Z)(ze,Ir);const un=nt(xe,Qt),vr=st(xe,Qt),_n=Rt(xe,Qt);return Sr(un,vr,_n,xe,Qt)}function da(xe,ze){const nt={};for(const st in xe){const Rt=xe[st];typeof Rt=="function"&&(nt[st]=(...Qt)=>ze(Rt(...Qt)))}return nt}function na(xe){return function(nt){const st=xe(nt);function Rt(){return st}return Rt.dependsOnOwnProps=!1,Rt}}function Oa(xe){return xe.dependsOnOwnProps?Boolean(xe.dependsOnOwnProps):xe.length!==1}function uo(xe,ze){return function(st,{displayName:Rt}){const Qt=function(vr,_n){return Qt.dependsOnOwnProps?Qt.mapToProps(vr,_n):Qt.mapToProps(vr,void 0)};return Qt.dependsOnOwnProps=!0,Qt.mapToProps=function(vr,_n){Qt.mapToProps=xe,Qt.dependsOnOwnProps=Oa(xe);let Cr=Qt(vr,_n);return typeof Cr=="function"&&(Qt.mapToProps=Cr,Qt.dependsOnOwnProps=Oa(Cr),Cr=Qt(vr,_n)),Cr},Qt}}function Eo(xe,ze){return(nt,st)=>{throw new Error(`Invalid value of type ${typeof xe} for ${ze} argument when connecting component ${st.wrappedComponentName}.`)}}function $a(xe){return xe&&typeof xe=="object"?na(ze=>da(xe,ze)):xe?typeof xe=="function"?uo(xe,"mapDispatchToProps"):Eo(xe,"mapDispatchToProps"):na(ze=>({dispatch:ze}))}function co(xe){return xe?typeof xe=="function"?uo(xe,"mapStateToProps"):Eo(xe,"mapStateToProps"):na(()=>({}))}function go(xe,ze,nt){return(0,Dt.Z)({},nt,xe,ze)}function Po(xe){return function(nt,{displayName:st,areMergedPropsEqual:Rt}){let Qt=!1,un;return function(_n,Cr,kr){const ra=xe(_n,Cr,kr);return Qt?Rt(ra,un)||(un=ra):(Qt=!0,un=ra),un}}}function ao(xe){return xe?typeof xe=="function"?Po(xe):Eo(xe,"mergeProps"):()=>go}function Ia(){const xe=Nt();let ze=null,nt=null;return{clear(){ze=null,nt=null},notify(){xe(()=>{let st=ze;for(;st;)st.callback(),st=st.next})},get(){let st=[],Rt=ze;for(;Rt;)st.push(Rt),Rt=Rt.next;return st},subscribe(st){let Rt=!0,Qt=nt={callback:st,next:null,prev:nt};return Qt.prev?Qt.prev.next=Qt:ze=Qt,function(){!Rt||ze===null||(Rt=!1,Qt.next?Qt.next.prev=Qt.prev:nt=Qt.prev,Qt.prev?Qt.prev.next=Qt.next:ze=Qt.next)}}}}const ba={notify(){},get:()=>[]};function za(xe,ze){let nt,st=ba,Rt=0,Qt=!1;function un(ma){kr();const ha=st.subscribe(ma);let Ha=!1;return()=>{Ha||(Ha=!0,ha(),ra())}}function vr(){st.notify()}function _n(){Na.onStateChange&&Na.onStateChange()}function Cr(){return Qt}function kr(){Rt++,nt||(nt=ze?ze.addNestedSub(_n):xe.subscribe(_n),st=Ia())}function ra(){Rt--,nt&&Rt===0&&(nt(),nt=void 0,st.clear(),st=ba)}function va(){Qt||(Qt=!0,kr())}function Pa(){Qt&&(Qt=!1,ra())}const Na={addNestedSub:un,notifyNestedSubs:vr,handleChangeWrapper:_n,isSubscribed:Cr,trySubscribe:va,tryUnsubscribe:Pa,getListeners:()=>st};return Na}const _a=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?Wt.useLayoutEffect:Wt.useEffect;function Ja(xe,ze){return xe===ze?xe!==0||ze!==0||1/xe===1/ze:xe!==xe&&ze!==ze}function Wa(xe,ze){if(Ja(xe,ze))return!0;if(typeof xe!="object"||xe===null||typeof ze!="object"||ze===null)return!1;const nt=Object.keys(xe),st=Object.keys(ze);if(nt.length!==st.length)return!1;for(let Rt=0;Rt{throw new Error("uSES not initialized!")},io=["reactReduxForwardedRef"];let wo=oo;const xo=xe=>{wo=xe},$i=null,gi=[null,null],xi=xe=>{try{return JSON.stringify(xe)}catch(ze){return String(xe)}};function ps(xe,ze,nt){_a(()=>xe(...ze),nt)}function ei(xe,ze,nt,st,Rt,Qt){xe.current=st,nt.current=!1,Rt.current&&(Rt.current=null,Qt())}function ms(xe,ze,nt,st,Rt,Qt,un,vr,_n,Cr,kr){if(!xe)return()=>{};let ra=!1,va=null;const Pa=()=>{if(ra||!vr.current)return;const ma=ze.getState();let ha,Ha;try{ha=st(ma,Rt.current)}catch(Ea){Ha=Ea,va=Ea}Ha||(va=null),ha===Qt.current?un.current||Cr():(Qt.current=ha,_n.current=ha,un.current=!0,kr())};return nt.onStateChange=Pa,nt.trySubscribe(),Pa(),()=>{if(ra=!0,nt.tryUnsubscribe(),nt.onStateChange=null,va)throw va}}const di=()=>$i;function Wi(xe,ze){return xe===ze}let Rs=!1;function Es(xe,ze,nt,{pure:st,areStatesEqual:Rt=Wi,areOwnPropsEqual:Qt=Wa,areStatePropsEqual:un=Wa,areMergedPropsEqual:vr=Wa,forwardRef:_n=!1,context:Cr=Zr}={}){const kr=Cr,ra=co(xe),va=$a(ze),Pa=ao(nt),Na=Boolean(xe);return ha=>{const Ha=ha.displayName||ha.name||"Component",Ea=`Connect(${Ha})`,eo={shouldHandleStateChanges:Na,displayName:Ea,wrappedComponentName:Ha,WrappedComponent:ha,initMapStateToProps:ra,initMapDispatchToProps:va,initMergeProps:Pa,areStatesEqual:Rt,areStatePropsEqual:un,areOwnPropsEqual:Qt,areMergedPropsEqual:vr};function _e(Ut){const[cn,tr,Er]=Wt.useMemo(()=>{const{reactReduxForwardedRef:Ma}=Ut,fa=(0,Mt.Z)(Ut,io);return[Ut.context,Ma,fa]},[Ut]),wr=Wt.useMemo(()=>cn&&cn.Consumer&&(0,mr.isContextConsumer)(Wt.createElement(cn.Consumer,null))?cn:kr,[cn,kr]),ia=Wt.useContext(wr),Va=Boolean(Ut.store)&&Boolean(Ut.store.getState)&&Boolean(Ut.store.dispatch),qr=Boolean(ia)&&Boolean(ia.store),Lr=Va?Ut.store:ia.store,ua=qr?ia.getServerState:Lr.getState,Za=Wt.useMemo(()=>yr(Lr.dispatch,eo),[Lr]),[so,Jo]=Wt.useMemo(()=>{if(!Na)return gi;const Ma=za(Lr,Va?void 0:ia.subscription),fa=Ma.notifyNestedSubs.bind(Ma);return[Ma,fa]},[Lr,Va,ia]),Go=Wt.useMemo(()=>Va?ia:(0,Dt.Z)({},ia,{subscription:so}),[Va,ia,so]),zo=Wt.useRef(),yo=Wt.useRef(Er),to=Wt.useRef(),ko=Wt.useRef(!1),No=Wt.useRef(!1),Lo=Wt.useRef(!1),li=Wt.useRef();_a(()=>(Lo.current=!0,()=>{Lo.current=!1}),[]);const xr=Wt.useMemo(()=>()=>to.current&&Er===yo.current?to.current:Za(Lr.getState(),Er),[Lr,Er]),ea=Wt.useMemo(()=>fa=>so?ms(Na,Lr,so,Za,yo,zo,ko,Lo,to,Jo,fa):()=>{},[so]);ps(ei,[yo,zo,ko,Er,to,Jo]);let aa;try{aa=wo(ea,xr,ua?()=>Za(ua(),Er):xr)}catch(Ma){throw li.current&&(Ma.message+=` +The error may be correlated with this previous error: +${li.current.stack} + +`),Ma}_a(()=>{li.current=void 0,to.current=void 0,zo.current=aa});const Ka=Wt.useMemo(()=>Wt.createElement(ha,(0,Dt.Z)({},aa,{ref:tr})),[tr,ha,aa]);return Wt.useMemo(()=>Na?Wt.createElement(wr.Provider,{value:Go},Ka):Ka,[wr,Ka,Go])}const le=Wt.memo(_e);if(le.WrappedComponent=ha,le.displayName=_e.displayName=Ea,_n){const cn=Wt.forwardRef(function(Er,wr){return Wt.createElement(le,(0,Dt.Z)({},Er,{reactReduxForwardedRef:wr}))});return cn.displayName=Ea,cn.WrappedComponent=ha,or()(cn,ha)}return or()(le,ha)}}var xs=Es;function Hi({store:xe,context:ze,children:nt,serverState:st,stabilityCheck:Rt="once",noopCheck:Qt="once"}){const un=Wt.useMemo(()=>{const Cr=za(xe);return{store:xe,subscription:Cr,getServerState:st?()=>st:void 0,stabilityCheck:Rt,noopCheck:Qt}},[xe,st,Rt,Qt]),vr=Wt.useMemo(()=>xe.getState(),[xe]);_a(()=>{const{subscription:Cr}=un;return Cr.onStateChange=Cr.notifyNestedSubs,Cr.trySubscribe(),vr!==xe.getState()&&Cr.notifyNestedSubs(),()=>{Cr.tryUnsubscribe(),Cr.onStateChange=void 0}},[un,vr]);const _n=ze||Zr;return Wt.createElement(_n.Provider,{value:un},nt)}var Ni=Hi;function Oo(xe=ReactReduxContext){const ze=xe===ReactReduxContext?useDefaultReduxContext:createReduxContextHook(xe);return function(){const{store:st}=ze();return st}}const ti=null;function $o(xe=ReactReduxContext){const ze=xe===ReactReduxContext?useDefaultStore:createStoreHook(xe);return function(){return ze().dispatch}}const vs=null;bn(Yo.useSyncExternalStoreWithSelector),xo(po.useSyncExternalStore),Ht(oi.unstable_batchedUpdates)},10581:function(y,h,e){"use strict";e.d(h,{f:function(){return l},m:function(){return u}});var t=e(52677),r=e.n(t),i=e(97857),a=e.n(i),s=e(55648),u,c="/";function l(p){var v;return p.type==="hash"?v=(0,s.q_)():p.type==="memory"?v=(0,s.PP)(p):v=(0,s.lX)(),p.basename&&(c=p.basename),u=a()(a()({},v),{},{push:function(C,x){v.push(d(C,v),x)},replace:function(C,x){v.replace(d(C,v),x)},get location(){return v.location},get action(){return v.action}}),v}function d(p,v){if(typeof p=="string")return"".concat(f(c)).concat(p);if(r()(p)==="object"){var m=v.location.pathname;return a()(a()({},p),{},{pathname:p.pathname?"".concat(f(c)).concat(p.pathname):m})}else throw new Error("Unexpected to: ".concat(p))}function f(p){return p.slice(-1)==="/"?p.slice(0,-1):p}},83867:function(y,h,e){"use strict";e.d(h,{gD:function(){return bn},We:function(){return ir}});var t={};e.r(t),e.d(t,{getInitialState:function(){return zt},layout:function(){return vn},request:function(){return Sn}});var r={};e.r(r),e.d(r,{accessProvider:function(){return cr}});var i={};e.r(i),e.d(i,{dataflowProvider:function(){return ar}});var a={};e.r(a),e.d(a,{dataflowProvider:function(){return Yr}});var s={};e.r(s),e.d(s,{patchRoutes:function(){return Mr}});var u={};e.r(u),e.d(u,{i18nProvider:function(){return _o}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Wt}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Nr}});var d=e(15009),f=e.n(d),p=e(97857),v=e.n(p),m=e(99289),C=e.n(m),x=e(99702),b=e(1413),S=e(67294),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},M=O,B=e(84089),P=function(gt,Dt){return S.createElement(B.Z,(0,b.Z)((0,b.Z)({},gt),{},{ref:Dt,icon:M}))},L=S.forwardRef(P),k=L,fe=e(63783),X=e(28906),H=e(90596),ue=e(83062),ve=e(40411),Z=e(19632),ne=e.n(Z),ie=e(9783),ce=e.n(ie),F=e(87547),U=e(34689),R=function(gt,Dt){return S.createElement(B.Z,(0,b.Z)((0,b.Z)({},gt),{},{ref:Dt,icon:U.Z}))},T=S.forwardRef(R),w=T,N=e(92443),K=e(7134),_=e(75081),V=e(98082),De=e(17673),Fe=e(73935),Xe=e(13769),Ke=e.n(Xe),ot=e(85418),Et=e(93967),Ot=e.n(Et),dt={container:"container___gD5n4"},He=e(85893),tt=["overlayClassName"],Le=function(gt){var Dt=gt.overlayClassName,Mt=Ke()(gt,tt);return(0,He.jsx)(ot.Z,v()({overlayClassName:Ot()(dt.container,Dt)},Mt))},J=Le,A=function(){var gt=(0,H.useModel)("@@initialState"),Dt=gt.initialState,Mt=Dt||{},Rn=Mt.currentUser,or=(0,X.l)(function(mr){var Ir=mr.token;return ce()({width:"70px",height:"48px",overflow:"hidden",lineHeight:"48px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"@media only screen and (max-width: ".concat(Ir.screenMD,"px)"),{display:"none"})});return(0,He.jsx)("span",{className:"".concat(or," anticon"),children:Rn==null?void 0:Rn.name})},j=function(){var gt=(0,H.useModel)("@@initialState"),Dt=gt.initialState,Mt=Dt||{},Rn=Mt.currentUser,or=(0,X.l)(function(mr){var Ir=mr.token;return ce()({marginRight:"8px",color:Ir.colorPrimary,verticalAlign:"top",background:(0,V.uK)(Ir.colorBgContainer,.85)},"@media only screen and (max-width: ".concat(Ir.screenMD,"px)"),{margin:0})});return(0,He.jsx)(K.C,{size:"small",className:or,src:Rn==null?void 0:Rn.avatar,alt:"avatar"})},q=function(gt){var Dt=gt.menu,Mt=function(){var Oa=C()(f()().mark(function uo(){var Eo,$a,co,go,Po;return f()().wrap(function(Ia){for(;;)switch(Ia.prev=Ia.next){case 0:localStorage.removeItem("pityToken"),Eo=window.location,$a=Eo.search,co=Eo.pathname,go=new URL(window.location.href).searchParams,Po=go.get("redirect"),window.location.pathname!=="/user/login"&&!Po&&H.history.replace({pathname:"/user/login",search:(0,De.stringify)({redirect:co+$a})});case 5:case"end":return Ia.stop()}},uo)}));return function(){return Oa.apply(this,arguments)}}(),Rn=(0,X.l)(function(Oa){var uo=Oa.token;return{display:"flex",height:"48px",marginLeft:"auto",overflow:"hidden",alignItems:"center",padding:"0 8px",cursor:"pointer",borderRadius:uo.borderRadius,"&:hover":{backgroundColor:uo.colorBgTextHover}}}),or=(0,H.useModel)("@@initialState"),mr=or.initialState,Ir=or.setInitialState,Sr=(0,S.useCallback)(function(Oa){var uo=Oa.key;if(uo==="logout"){(0,Fe.flushSync)(function(){Ir(function(Eo){return v()(v()({},Eo),{},{currentUser:void 0})})}),Mt();return}H.history.push("/account/".concat(uo))},[Ir]),yr=(0,He.jsx)("span",{className:Rn,children:(0,He.jsx)(_.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});if(!mr)return yr;var da=mr.currentUser;if(!da||!da.name)return yr;var na=[].concat(ne()(Dt?[{key:"center",icon:(0,He.jsx)(F.Z,{}),label:"\u4E2A\u4EBA\u4E2D\u5FC3"},{key:"settings",icon:(0,He.jsx)(w,{}),label:"\u4E2A\u4EBA\u8BBE\u7F6E"},{type:"divider"}]:[]),[{key:"logout",icon:(0,He.jsx)(N.Z,{}),label:"\u9000\u51FA\u767B\u5F55"}]);return(0,He.jsx)(J,{menu:{selectedKeys:[],onClick:Sr,items:na},children:(0,He.jsxs)("span",{className:Rn,children:[(0,He.jsx)(j,{}),(0,He.jsx)(A,{})]})})},te=q,de=function(){var gt=(0,X.l)(function(){return{display:"flex",height:"48px",marginLeft:"auto",overflow:"hidden",gap:8}}),Dt=(0,X.l)(function(Sr){var yr=Sr.token;return{display:"flex",float:"right",height:"48px",marginLeft:"auto",overflow:"hidden",cursor:"pointer",padding:"0 12px",borderRadius:yr.borderRadius,"&:hover":{backgroundColor:yr.colorBgTextHover}}}),Mt=(0,X.l)(function(){return{lineHeight:"48px",color:"inherit"}}),Rn=(0,H.useModel)("@@initialState"),or=Rn.initialState,mr=(0,H.useModel)("notice"),Ir=mr.noticeCount;return!or||!or.settings?null:(0,He.jsxs)("div",{className:gt,children:[(0,He.jsx)(ue.Z,{title:"\u6D88\u606F\u4E2D\u5FC3",children:(0,He.jsx)("span",{className:Dt,onClick:function(){H.history.push("/notification")},children:(0,He.jsx)(ve.Z,{className:Mt,showZero:!1,count:Ir||0,size:"small",children:(0,He.jsx)(k,{})})})}),(0,He.jsx)("span",{className:Dt,onClick:function(){window.open("https://wuranxu.github.io/pityDoc/")},children:(0,He.jsx)(fe.Z,{})}),(0,He.jsx)(te,{})]})},Ee=de,pe=e(83832),Y=e(74165),re=e(15861),ge=e(97685),me=e(87462),Se=e(89503),Ge=e(65555),Ye=function(gt,Dt){return S.createElement(Ge.Z,(0,me.Z)({},gt,{ref:Dt,icon:Se.Z}))},it=S.forwardRef(Ye),D=it,$=function(gt,Dt){return S.createElement(Ge.Z,(0,me.Z)({},gt,{ref:Dt,icon:U.Z}))},Te=S.forwardRef($),Ne=Te,Pe=e(68670),Ae=function(gt,Dt){return S.createElement(Ge.Z,(0,me.Z)({},gt,{ref:Dt,icon:Pe.Z}))},Ie=S.forwardRef(Ae),Ve=Ie,Qe=e(48820),at=function(gt,Dt){return S.createElement(Ge.Z,(0,me.Z)({},gt,{ref:Dt,icon:Qe.Z}))},xt=S.forwardRef(at),St=xt,jt=e(12044),tn=e(92210),mn=e(1977),Ft=e(73177),Jt=e(45095),$t=e(67159),Vt=e(28459),On=e(85265),Xn=e(96074),Tn=e(2487),Kn=e(72269),Pn=e(38925),Gn=e(14726),fn=e(2453),qn=e(97435),rr=e(21770),Qn=e(14192),kn=e(52676),Un=e(62812),Yn=e(32857),hr=function(gt,Dt){return S.createElement(Ge.Z,(0,me.Z)({},gt,{ref:Dt,icon:Yn.Z}))},Pr=S.forwardRef(hr),Je=Pr,we=function(gt){var Dt=gt.value,Mt=gt.configType,Rn=gt.onChange,or=gt.list,mr=gt.prefixCls,Ir=gt.hashId,Sr="".concat(mr,"-block-checkbox"),yr=(0,S.useMemo)(function(){var da=(or||[]).map(function(na){return(0,He.jsx)(ue.Z,{title:na.title,children:(0,He.jsxs)("div",{className:Ot()(Ir,"".concat(Sr,"-item"),"".concat(Sr,"-item-").concat(na.key),"".concat(Sr,"-").concat(Mt,"-item")),onClick:function(){return Rn(na.key)},children:[(0,He.jsx)(Je,{className:"".concat(Sr,"-selectIcon ").concat(Ir).trim(),style:{display:Dt===na.key?"block":"none"}}),na!=null&&na.icon?(0,He.jsx)("div",{className:"".concat(Sr,"-icon ").concat(Ir).trim(),children:na.icon}):null]})},na.key)});return da},[Dt,or==null?void 0:or.length,Rn]);return(0,He.jsx)("div",{className:Ot()(Sr,Ir),children:yr})},se=e(34041),he=function(gt){var Dt=S.cloneElement(gt.action,{disabled:gt.disabled});return(0,He.jsx)(ue.Z,{title:gt.disabled?gt.disabledReason:"",placement:"left",children:(0,He.jsx)(Tn.Z.Item,{actions:[Dt],children:(0,He.jsx)("span",{style:{opacity:gt.disabled?.5:1},children:gt.title})})})},$e=function(gt){var Dt=gt.settings,Mt=gt.prefixCls,Rn=gt.changeSetting,or=gt.hashId,mr=nn(),Ir=Dt||Qn.h,Sr=Ir.contentWidth,yr=Ir.splitMenus,da=Ir.fixedHeader,na=Ir.layout,Oa=Ir.fixSiderbar;return(0,He.jsx)(Tn.Z,{className:"".concat(Mt,"-list ").concat(or).trim(),split:!1,dataSource:[{title:mr({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,He.jsxs)(se.Z,{value:Sr||"Fixed",size:"small",className:"content-width ".concat(or).trim(),onSelect:function(Eo){Rn("contentWidth",Eo)},style:{width:80},children:[na==="side"?null:(0,He.jsx)(se.Z.Option,{value:"Fixed",children:mr({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,He.jsx)(se.Z.Option,{value:"Fluid",children:mr({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:mr({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,He.jsx)(Kn.Z,{size:"small",className:"fixed-header",checked:!!da,onChange:function(Eo){Rn("fixedHeader",Eo)}})},{title:mr({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:na==="top",disabledReason:mr({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,He.jsx)(Kn.Z,{size:"small",className:"fix-siderbar",checked:!!Oa,onChange:function(Eo){return Rn("fixSiderbar",Eo)}})},{title:mr({id:"app.setting.splitMenus"}),disabled:na!=="mix",action:(0,He.jsx)(Kn.Z,{size:"small",checked:!!yr,className:"split-menus",onChange:function(Eo){Rn("splitMenus",Eo)}})}],renderItem:he})},Q=function(gt){var Dt=gt.settings,Mt=gt.prefixCls,Rn=gt.changeSetting,or=gt.hashId,mr=nn(),Ir=["header","footer","menu","menuHeader"];return(0,He.jsx)(Tn.Z,{className:"".concat(Mt,"-list ").concat(or).trim(),split:!1,renderItem:he,dataSource:Ir.map(function(Sr){return{title:mr({id:"app.setting.regionalsettings.".concat(Sr)}),action:(0,He.jsx)(Kn.Z,{size:"small",className:"regional-".concat(Sr," ").concat(or).trim(),checked:Dt["".concat(Sr,"Render")]||Dt["".concat(Sr,"Render")]===void 0,onChange:function(da){return Rn("".concat(Sr,"Render"),da===!0?void 0:!1)}})}})})},G=e(45987),Be=["color","check"],W=S.forwardRef(function(Gt,gt){var Dt=Gt.color,Mt=Gt.check,Rn=(0,G.Z)(Gt,Be);return(0,He.jsx)("div",(0,b.Z)((0,b.Z)({},Rn),{},{style:{backgroundColor:Dt},ref:gt,children:Mt?(0,He.jsx)(Je,{}):""}))}),ft=function(gt){var Dt=gt.value,Mt=gt.colorList,Rn=gt.onChange,or=gt.prefixCls,mr=gt.formatMessage,Ir=gt.hashId;if(!Mt||(Mt==null?void 0:Mt.length)<1)return null;var Sr="".concat(or,"-theme-color");return(0,He.jsx)("div",{className:"".concat(Sr," ").concat(Ir).trim(),children:Mt==null?void 0:Mt.map(function(yr){var da=yr.key,na=yr.color,Oa=yr.title;return da?(0,He.jsx)(ue.Z,{title:Oa!=null?Oa:mr({id:"app.setting.themecolor.".concat(da)}),children:(0,He.jsx)(W,{className:"".concat(Sr,"-block ").concat(Ir).trim(),color:na,check:Dt===na,onClick:function(){return Rn&&Rn(na)}})},na):null})})};function ct(){return(0,He.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,He.jsxs)("defs",{children:[(0,He.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,He.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,He.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,He.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,He.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,He.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,He.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,He.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,He.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,He.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,He.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,He.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,He.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,He.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,He.jsxs)("feMerge",{children:[(0,He.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,He.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,He.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,He.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,He.jsxs)("g",{children:[(0,He.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,He.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,He.jsx)("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),(0,He.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),(0,He.jsx)("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),(0,He.jsx)("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),(0,He.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function It(){return(0,He.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,He.jsxs)("defs",{children:[(0,He.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,He.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,He.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,He.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,He.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,He.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,He.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,He.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,He.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,He.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,He.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,He.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,He.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,He.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,He.jsxs)("feMerge",{children:[(0,He.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,He.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,He.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,He.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,He.jsxs)("g",{children:[(0,He.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,He.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,He.jsx)("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),(0,He.jsx)("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),(0,He.jsx)("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,He.jsx)("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,He.jsx)("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,He.jsx)("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,He.jsx)("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var Kt=e(4942),ln=function(gt){return(0,Kt.Z)((0,Kt.Z)({},"".concat(gt.componentCls,"-handle"),{position:"fixed",insetBlockStart:"240px",insetInlineEnd:"0px",zIndex:0,display:"flex",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",fontSize:"16px",textAlign:"center",backgroundColor:gt.colorPrimary,borderEndStartRadius:gt.borderRadiusLG,borderStartStartRadius:gt.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),gt.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:gt.colorText},"&-body-title":{marginBlock:gt.marginXS,fontSize:"14px",lineHeight:"22px",color:gt.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:gt.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:gt.boxShadow,cursor:"pointer",fontSize:56,lineHeight:"56px","&::before":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"33%",height:"100%",content:"''"},"&::after":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"25%",content:"''"},"&-realDark":{backgroundColor:"rgba(0, 21, 41, 0.85)","&::before":{backgroundColor:"rgba(0, 0, 0, 0.65)"},"&::after":{backgroundColor:"rgba(0, 0, 0, 0.85)"}},"&-light":{backgroundColor:"#fff","&::before":{backgroundColor:"#fff"},"&::after":{backgroundColor:"#fff"}},"&-dark,&-side":{backgroundColor:gt.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:gt.colorBgContainer}},"&-top":{backgroundColor:gt.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:gt.colorBgElevated,"&::before":{backgroundColor:gt.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:gt.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:gt.colorPrimary}},"& &-icon":{fontSize:56,lineHeight:"56px"}},"&-theme-color":{marginBlockStart:"16px",overflow:"hidden","& &-block":{float:"left",width:"20px",height:"20px",marginBlockStart:8,marginInlineEnd:8,color:"#fff",fontWeight:"bold",textAlign:"center",borderRadius:"2px",cursor:"pointer"}},"&-list":(0,Kt.Z)({},"li".concat(gt.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function _t(Gt){return(0,V.Xj)("ProLayoutSettingDrawer",function(gt){var Dt=(0,b.Z)((0,b.Z)({},gt),{},{componentCls:".".concat(Gt)});return[ln(Dt)]})}var Mn=function(gt){var Dt=gt.children,Mt=gt.hashId,Rn=gt.prefixCls,or=gt.title;return(0,He.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,He.jsx)("h3",{className:"".concat(Rn,"-body-title ").concat(Mt).trim(),children:or}),Dt]})},pn=function(gt){var Dt={};return Object.keys(gt).forEach(function(Mt){gt[Mt]!==Qn.h[Mt]&&Mt!=="collapse"?Dt[Mt]=gt[Mt]:Dt[Mt]=void 0,Mt.includes("Render")&&(Dt[Mt]=gt[Mt]===!1?!1:void 0)}),Dt.menu=void 0,Dt},nn=function(){var gt=function(Mt){var Rn=Mt.id,or=(0,kn.e)();return or[Rn]};return gt},yt=function(gt,Dt,Mt){if(!!(0,jt.j)()){var Rn={};Object.keys(gt).forEach(function(mr){if(Qn.h[mr]||Qn.h[mr]===void 0){if(mr==="colorPrimary"){Rn[mr]=(0,Un.tV)(gt[mr]);return}Rn[mr]=gt[mr]}});var or=(0,tn.T)({},Dt,Rn);delete or.menu,delete or.title,delete or.iconfontUrl,Mt==null||Mt(or)}},Lt=function(gt,Dt){return(0,jt.j)()?(0,b.Z)((0,b.Z)((0,b.Z)({},Qn.h),Dt||{}),gt):Qn.h},rn=function(gt){return JSON.stringify((0,qn.Z)((0,b.Z)((0,b.Z)({},gt),{},{colorPrimary:gt.colorPrimary}),["colorWeak"]),null,2)},At=function(gt){var Dt=gt.defaultSettings,Mt=Dt===void 0?void 0:Dt,Rn=gt.settings,or=Rn===void 0?void 0:Rn,mr=gt.hideHintAlert,Ir=gt.hideCopyButton,Sr=gt.colorList,yr=Sr===void 0?[{key:"techBlue",color:"#1677FF"},{key:"daybreak",color:"#1890ff"},{key:"dust",color:"#F5222D"},{key:"volcano",color:"#FA541C"},{key:"sunset",color:"#FAAD14"},{key:"cyan",color:"#13C2C2"},{key:"green",color:"#52C41A"},{key:"geekblue",color:"#2F54EB"},{key:"purple",color:"#722ED1"}]:Sr,da=gt.getContainer,na=gt.onSettingChange,Oa=gt.enableDarkTheme,uo=gt.prefixCls,Eo=uo===void 0?"ant-pro":uo,$a=gt.pathname,co=$a===void 0?window.location.pathname:$a,go=gt.disableUrlParams,Po=go===void 0?!0:go,ao=gt.themeOnly,Ia=(0,S.useRef)(!0),ba=(0,rr.Z)(!1,{value:gt.collapse,onChange:gt.onCollapseChange}),za=(0,ge.Z)(ba,2),Qa=za[0],_a=za[1],Ja=(0,S.useState)((0,kn.G)()),Wa=(0,ge.Z)(Ja,2),oo=Wa[0],io=Wa[1],wo=(0,Jt.l)({},{disabled:Po}),xo=(0,ge.Z)(wo,2),$i=xo[0],gi=xo[1],xi=(0,rr.Z)(function(){return Lt($i,or||Mt)},{value:or,onChange:na}),ps=(0,ge.Z)(xi,2),ei=ps[0],ms=ps[1],di=ei||{},Wi=di.navTheme,Rs=di.colorPrimary,Es=di.siderMenuType,xs=di.layout,Hi=di.colorWeak;(0,S.useEffect)(function(){var nt=function(){oo!==(0,kn.G)()&&io((0,kn.G)())};return(0,jt.j)()?(yt(Lt($i,or),ei,ms),window.document.addEventListener("languagechange",nt,{passive:!0}),function(){return window.document.removeEventListener("languagechange",nt)}):function(){return null}},[]),(0,S.useEffect)(function(){(0,mn.n)($t.Z,"5.0.0")<0&&Vt.ZP.config({theme:{primaryColor:ei.colorPrimary}})},[ei.colorPrimary,ei.navTheme]);var Ni=function(st,Rt){var Qt={};if(Qt[st]=Rt,st==="layout"&&(Qt.contentWidth=Rt==="top"?"Fixed":"Fluid"),st==="layout"&&Rt!=="mix"&&(Qt.splitMenus=!1),st==="layout"&&Rt==="mix"&&(Qt.navTheme="light"),st==="colorWeak"&&Rt===!0){var un=document.querySelector("body");un&&(un.dataset.prosettingdrawer=un.style.filter,un.style.filter="invert(80%)")}if(st==="colorWeak"&&Rt===!1){var vr=document.querySelector("body");vr&&(vr.style.filter=vr.dataset.prosettingdrawer||"none",delete vr.dataset.prosettingdrawer)}delete Qt.menu,delete Qt.title,delete Qt.iconfontUrl,delete Qt.logo,delete Qt.pwa,ms((0,b.Z)((0,b.Z)({},ei),Qt))},Oo=nn();(0,S.useEffect)(function(){if(!!(0,jt.j)()&&!Po){if(Ia.current){Ia.current=!1;return}var nt=new URLSearchParams(window.location.search),st=Object.fromEntries(nt.entries()),Rt=pn((0,b.Z)((0,b.Z)({},st),ei));delete Rt.logo,delete Rt.menu,delete Rt.title,delete Rt.iconfontUrl,delete Rt.pwa,gi(Rt)}},[gi,ei,$i,co,Po]);var ti="".concat(Eo,"-setting-drawer"),$o=_t(ti),vs=$o.wrapSSR,xe=$o.hashId,ze=(0,Ft.X)(Qa);return vs((0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)("div",{className:"".concat(ti,"-handle ").concat(xe).trim(),onClick:function(){return _a(!Qa)},style:{width:48,height:48},children:Qa?(0,He.jsx)(D,{style:{color:"#fff",fontSize:20}}):(0,He.jsx)(Ne,{style:{color:"#fff",fontSize:20}})}),(0,He.jsx)(On.Z,(0,b.Z)((0,b.Z)({},ze),{},{width:300,onClose:function(){return _a(!1)},closable:!1,placement:"right",getContainer:da,style:{zIndex:999},children:(0,He.jsxs)("div",{className:"".concat(ti,"-drawer-content ").concat(xe).trim(),children:[(0,He.jsx)(Mn,{title:Oo({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:xe,prefixCls:ti,children:(0,He.jsx)(we,{hashId:xe,prefixCls:ti,list:[{key:"light",title:Oo({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:Oo({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(nt){return!(nt.key==="dark"&&ei.layout==="mix"||nt.key==="realDark"&&!Oa)}),value:Wi,configType:"theme",onChange:function(st){return Ni("navTheme",st)}},"navTheme")}),yr!==!1&&(0,He.jsx)(Mn,{hashId:xe,title:Oo({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:ti,children:(0,He.jsx)(ft,{hashId:xe,prefixCls:ti,colorList:yr,value:(0,Un.tV)(Rs),formatMessage:Oo,onChange:function(st){return Ni("colorPrimary",st)}})}),!ao&&(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)(Xn.Z,{}),(0,He.jsx)(Mn,{hashId:xe,prefixCls:ti,title:Oo({id:"app.setting.navigationmode"}),children:(0,He.jsx)(we,{prefixCls:ti,value:xs,hashId:xe,configType:"layout",list:[{key:"side",title:Oo({id:"app.setting.sidemenu"})},{key:"top",title:Oo({id:"app.setting.topmenu"})},{key:"mix",title:Oo({id:"app.setting.mixmenu"})}],onChange:function(st){return Ni("layout",st)}},"layout")}),ei.layout=="side"||ei.layout=="mix"?(0,He.jsx)(Mn,{hashId:xe,prefixCls:ti,title:Oo({id:"app.setting.sidermenutype"}),children:(0,He.jsx)(we,{prefixCls:ti,value:Es,hashId:xe,configType:"siderMenuType",list:[{key:"sub",icon:(0,He.jsx)(It,{}),title:Oo({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,He.jsx)(ct,{}),title:Oo({id:"app.setting.sidermenutype-group"})}],onChange:function(st){return Ni("siderMenuType",st)}},"siderMenuType")}):null,(0,He.jsx)($e,{prefixCls:ti,hashId:xe,settings:ei,changeSetting:Ni}),(0,He.jsx)(Xn.Z,{}),(0,He.jsx)(Mn,{hashId:xe,prefixCls:ti,title:Oo({id:"app.setting.regionalsettings"}),children:(0,He.jsx)(Q,{hashId:xe,prefixCls:ti,settings:ei,changeSetting:Ni})}),(0,He.jsx)(Xn.Z,{}),(0,He.jsx)(Mn,{hashId:xe,prefixCls:ti,title:Oo({id:"app.setting.othersettings"}),children:(0,He.jsx)(Tn.Z,{className:"".concat(ti,"-list ").concat(xe).trim(),split:!1,size:"small",renderItem:he,dataSource:[{title:Oo({id:"app.setting.weakmode"}),action:(0,He.jsx)(Kn.Z,{size:"small",className:"color-weak",checked:!!Hi,onChange:function(st){Ni("colorWeak",st)}})}]})}),mr&&Ir?null:(0,He.jsx)(Xn.Z,{}),mr?null:(0,He.jsx)(Pn.Z,{type:"warning",message:Oo({id:"app.setting.production.hint"}),icon:(0,He.jsx)(Ve,{}),showIcon:!0,style:{marginBlockEnd:16}}),Ir?null:(0,He.jsx)(Gn.ZP,{block:!0,icon:(0,He.jsx)(St,{}),style:{marginBlockEnd:24},onClick:(0,re.Z)((0,Y.Z)().mark(function nt(){return(0,Y.Z)().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:return Rt.prev=0,Rt.next=3,navigator.clipboard.writeText(rn(ei));case 3:fn.ZP.success(Oo({id:"app.setting.copyinfo"})),Rt.next=8;break;case 6:Rt.prev=6,Rt.t0=Rt.catch(0);case 8:case"end":return Rt.stop()}},nt,null,[[0,6]])})),children:Oo({id:"app.setting.copy"})})]})]})}))]}))},Zt=e(67610),Xt=e(16568),an;(function(Gt){Gt[Gt.SILENT=0]="SILENT",Gt[Gt.WARN_MESSAGE=1]="WARN_MESSAGE",Gt[Gt.ERROR_MESSAGE=2]="ERROR_MESSAGE",Gt[Gt.NOTIFICATION=3]="NOTIFICATION",Gt[Gt.REDIRECT=9]="REDIRECT"})(an||(an={}));var Nn={errorConfig:{errorThrower:function(gt){var Dt=gt,Mt=Dt.success,Rn=Dt.data,or=Dt.errorCode,mr=Dt.errorMessage,Ir=Dt.showType;if(!Mt){var Sr=new Error(mr);throw Sr.name="BizError",Sr.info={errorCode:or,errorMessage:mr,showType:Ir,data:Rn},Sr}},errorHandler:function(gt,Dt){if(Dt!=null&&Dt.skipErrorHandler)throw gt;if(gt.name==="BizError"){var Mt=gt.info;if(Mt){var Rn=Mt.errorMessage,or=Mt.errorCode;switch(Mt.showType){case an.SILENT:break;case an.WARN_MESSAGE:fn.ZP.warning(Rn);break;case an.ERROR_MESSAGE:fn.ZP.error(Rn);break;case an.NOTIFICATION:Xt.ZP.open({description:Rn,message:or});break;case an.REDIRECT:break;default:fn.ZP.error(Rn)}}}else if(gt.response){if(gt.message==="Network Error"){fn.ZP.error("\u7F51\u7EDC\u5F00\u5C0F\u5DEE\u4E86, \u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01");return}fn.ZP.error("Response status:".concat(gt.response.status))}else gt.request?fn.ZP.error("None response! Please retry."):fn.ZP.error("Request error, please retry.")}},requestInterceptors:[function(Gt){var gt=Gt==null?void 0:Gt.url;return v()(v()({},Gt),{},{url:gt})}],responseInterceptors:[function(Gt){var gt=Gt,Dt=gt.data;return(Dt==null?void 0:Dt.success)===!1&&fn.ZP.error("\u8BF7\u6C42\u5931\u8D25\uFF01"),Gt}]},fr=e(19478),Dn=e(10981);function En(Gt){return xn.apply(this,arguments)}function xn(){return xn=C()(f()().mark(function Gt(gt){return f()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.abrupt("return",(0,H.request)("".concat(fr.Z.URL,"/auth/login"),{method:"POST",data:gt}));case 1:case"end":return Mt.stop()}},Gt)})),xn.apply(this,arguments)}function Zn(Gt){return jn.apply(this,arguments)}function jn(){return jn=C()(f()().mark(function Gt(gt){return f()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.abrupt("return",(0,H.request)("".concat(fr.Z.URL,"/auth/register"),{method:"POST",data:gt}));case 1:case"end":return Mt.stop()}},Gt)})),jn.apply(this,arguments)}function ae(Gt){return ye.apply(this,arguments)}function ye(){return ye=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.abrupt("return",request("".concat(CONFIG.URL,"/auth/reset/generate/").concat(gt),{method:"GET"}));case 1:case"end":return Mt.stop()}},Gt)})),ye.apply(this,arguments)}function Oe(Gt){return Re.apply(this,arguments)}function Re(){return Re=C()(f()().mark(function Gt(gt){return f()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.abrupt("return",(0,H.request)("".concat(fr.Z.URL,"/auth/query"),{method:"GET",params:gt}));case 1:case"end":return Mt.stop()}},Gt)})),Re.apply(this,arguments)}function qe(Gt){return wt.apply(this,arguments)}function wt(){return wt=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/operation/list"),{method:"GET",params:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),wt.apply(this,arguments)}function Tt(Gt){return en.apply(this,arguments)}function en(){return en=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/auth/github/login"),{method:"GET",params:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),en.apply(this,arguments)}function Ln(Gt){return qt.apply(this,arguments)}function qt(){return qt=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/workspace/"),{method:"GET",params:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),qt.apply(this,arguments)}function dn(Gt){return Bn.apply(this,arguments)}function Bn(){return Bn=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/workspace/testplan"),{method:"GET",params:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),Bn.apply(this,arguments)}function Hn(Gt){return nr.apply(this,arguments)}function nr(){return nr=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){var Dt;return _regeneratorRuntime().wrap(function(Rn){for(;;)switch(Rn.prev=Rn.next){case 0:return Rn.next=2,request("".concat(CONFIG.URL,"/auth/listUser"),{method:"GET",params:gt,headers:auth.headers()});case 2:if(Dt=Rn.sent,!auth.response(Dt)){Rn.next=5;break}return Rn.abrupt("return",Dt.data);case 5:return Rn.abrupt("return",[]);case 6:case"end":return Rn.stop()}},Gt)})),nr.apply(this,arguments)}function Or(Gt){return gn.apply(this,arguments)}function gn(){return gn=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/auth/update"),{method:"POST",data:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),gn.apply(this,arguments)}function sn(Gt){return hn.apply(this,arguments)}function hn(){return hn=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){var Dt;return _regeneratorRuntime().wrap(function(Rn){for(;;)switch(Rn.prev=Rn.next){case 0:return Dt=new FormData,Dt.append("file",gt.file),Rn.next=4,request("".concat(CONFIG.URL,"/oss/avatar"),{method:"POST",data:Dt,requestType:"form",headers:auth.headers(!1)});case 4:return Rn.abrupt("return",Rn.sent);case 5:case"end":return Rn.stop()}},Gt)})),hn.apply(this,arguments)}function er(Gt){return zn.apply(this,arguments)}function zn(){return zn=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/auth/delete"),{method:"GET",params:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),zn.apply(this,arguments)}function vt(Gt){return ke.apply(this,arguments)}function ke(){return ke=_asyncToGenerator(_regeneratorRuntime().mark(function Gt(gt){return _regeneratorRuntime().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,request("".concat(CONFIG.URL,"/operation/count"),{method:"GET",params:gt,headers:auth.headers()});case 2:return Mt.abrupt("return",Mt.sent);case 3:case"end":return Mt.stop()}},Gt)})),ke.apply(this,arguments)}var Me=e(20873),We=e(32983),Ze=function(){var gt=(0,H.useModel)("@@initialState"),Dt=gt.initialState,Mt=(0,H.useModel)("notice"),Rn=Mt.noticeCount,or=Mt.setNoticeCount,mr=Dt!=null?Dt:{},Ir=mr.currentUser;return(0,S.useEffect)(function(){if(Ir&&Ir.id){var Sr=new WebSocket("".concat(fr.Z.WS_URL,"/").concat(Ir.id));Sr.onmessage=function(yr){yr.preventDefault();var da=yr.data,na=JSON.parse(da);na.type===0?or(na.total?na.count:na.count+Rn):na.type===1?Xt.ZP.info({message:na.title,description:na.content}):na.type===2||na.type}}},[]),(0,He.jsx)(He.Fragment,{})},ht=Ze,ut=e(56878),pt=null,Pt="/user/login";_.Z.setDefaultIndicator((0,He.jsx)(ut.Z,{spin:!0,theme:"outline",size:"36",fill:"#4a90e2",strokeLinecap:"butt"}));function zt(){return kt.apply(this,arguments)}function kt(){return kt=C()(f()().mark(function Gt(){var gt,Dt,Mt;return f()().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:if(gt=function(){var mr=C()(f()().mark(function Ir(){var Sr,yr;return f()().wrap(function(na){for(;;)switch(na.prev=na.next){case 0:if(na.prev=0,Sr=localStorage.getItem("pityToken"),Sr){na.next=5;break}return H.history.push(Pt),na.abrupt("return");case 5:return na.next=7,Oe({token:Sr});case 7:if(yr=na.sent,yr.code===0){na.next=11;break}throw fn.ZP.info(yr.msg),yr.msg;case 11:return na.abrupt("return",yr.data);case 14:na.prev=14,na.t0=na.catch(0),H.history.push(Pt);case 17:return na.abrupt("return",void 0);case 18:case"end":return na.stop()}},Ir,null,[[0,14]])}));return function(){return mr.apply(this,arguments)}}(),Dt=H.history.location,Dt.pathname===Pt){or.next=7;break}return or.next=5,gt();case 5:return Mt=or.sent,or.abrupt("return",{fetchUserInfo:gt,currentUser:Mt,settings:Zt.Z});case 7:return or.abrupt("return",{fetchUserInfo:gt,settings:Zt.Z});case 8:case"end":return or.stop()}},Gt)})),kt.apply(this,arguments)}var vn=function(gt){var Dt,Mt=gt.initialState,Rn=gt.setInitialState;return v()({siderWidth:216,rightContentRender:function(){return(0,He.jsx)(Ee,{})},waterMarkProps:{content:Mt==null||(Dt=Mt.currentUser)===null||Dt===void 0?void 0:Dt.name},footerRender:function(){return(0,He.jsx)(x.Z,{})},onPageChange:function(){var mr=H.history.location;!(Mt!=null&&Mt.currentUser)&&mr.pathname!==Pt&&H.history.push(Pt)},layoutBgImgList:[{src:"https://img.alicdn.com/imgextra/i2/O1CN01O4etvp1DvpFLKfuWq_!!6000000000279-2-tps-609-606.png",left:85,bottom:100,height:"303px"},{src:"https://img.alicdn.com/imgextra/i2/O1CN01O4etvp1DvpFLKfuWq_!!6000000000279-2-tps-609-606.png",bottom:-68,right:-45,height:"303px"},{src:"https://img.alicdn.com/imgextra/i3/O1CN018NxReL1shX85Yz6Cx_!!6000000005798-2-tps-884-496.png",bottom:0,left:0,width:"331px"}],links:[],menuHeaderRender:void 0,childrenRender:function(mr){return Mt!=null&&Mt.loading?(0,He.jsx)(pe.S,{}):(0,He.jsxs)(Vt.ZP,{renderEmpty:function(){return(0,He.jsx)(We.Z,{image:Me.Z,imageStyle:{height:160},description:"\u6682\u65E0\u6570\u636E"})},children:[mr,(0,He.jsx)(ht,{}),(0,He.jsx)(At,{disableUrlParams:!0,enableDarkTheme:!0,settings:Mt==null?void 0:Mt.settings,onSettingChange:function(Sr){Rn(function(yr){return v()(v()({},yr),{},{settings:Sr})})}})]})}},Mt==null?void 0:Mt.settings)},Sn=v()({},Nn);function sr(Gt){var gt=Gt!=null?Gt:{},Dt=gt.currentUser;return{canAdmin:Dt&&Dt.role===2}}var Wn=e(44886),Fn=e(78382);function In(Gt){var gt=(0,Wn.t)("@@initialState"),Dt=gt.initialState,Mt=S.useMemo(function(){return sr(Dt)},[Dt]);return(0,He.jsx)(Fn.J.Provider,{value:Mt,children:Gt.children})}function cr(Gt){return(0,He.jsx)(In,{children:Gt})}var lr=e(58047);function ar(Gt,gt){return S.createElement(lr.j,gt,Gt)}function Vr(){return(0,He.jsx)("div",{})}function Rr(Gt){var gt=S.useRef(!1),Dt=(0,Wn.t)("@@initialState")||{},Mt=Dt.loading,Rn=Mt===void 0?!1:Mt;return S.useEffect(function(){Rn||(gt.current=!0)},[Rn]),Rn&&!gt.current?(0,He.jsx)(Vr,{}):Gt.children}function Yr(Gt){return(0,He.jsx)(Rr,{children:Gt})}var Gr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},ya=Gr,Xr=function(gt,Dt){return S.createElement(B.Z,(0,b.Z)((0,b.Z)({},gt),{},{ref:Dt,icon:ya}))},Qr=S.forwardRef(Xr),pr=Qr,Dr=e(36027),Jr=e(94149),pa=e(2830),Ra={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},ka=Ra,Da=function(gt,Dt){return S.createElement(B.Z,(0,b.Z)((0,b.Z)({},gt),{},{ref:Dt,icon:ka}))},no=S.forwardRef(Da),Tr=no,$r={DashboardOutlined:pr,ApiOutlined:Dr.Z,LockOutlined:Jr.Z,ToolOutlined:pa.Z,DatabaseOutlined:Tr};function Fr(Gt){return Gt.replace(Gt[0],Gt[0].toUpperCase()).replace(/-(w)/g,function(gt,Dt){return Dt.toUpperCase()})}function Mr(Gt){var gt=Gt.routes;Object.keys(gt).forEach(function(Dt){var Mt=gt[Dt].icon;if(Mt&&typeof Mt=="string"){var Rn=Fr(Mt);($r[Rn]||$r[Rn+"Outlined"])&&(gt[Dt].icon=S.createElement($r[Rn]||$r[Rn+"Outlined"]))}})}var la=e(5574),oa=e.n(la),Ua=e(30381),mo=e.n(Ua),So=e(76225),Bo=e(76959),Br=e(29218),xa=e(39183),ro=e(57971),Ca=e(83839),ca=e(74152),Fa=e(79975);function lo(){var Gt=getLocale();if(moment!=null&&moment.locale){var gt;moment.locale(((gt=localeInfo[Gt])===null||gt===void 0?void 0:gt.momentLocale)||"")}setIntl(Gt)}var Wo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect,ho=function(gt){var Dt,Mt=(0,Fa.Kd)(),Rn=S.useState(Mt),or=oa()(Rn,2),mr=or[0],Ir=or[1],Sr=S.useState(function(){return(0,Fa.lw)(mr,!0)}),yr=oa()(Sr,2),da=yr[0],na=yr[1],Oa=function(co){if(mo()!==null&&mo()!==void 0&&mo().locale){var go;mo().locale(((go=Fa.H8[co])===null||go===void 0?void 0:go.momentLocale)||"en")}Ir(co),na((0,Fa.lw)(co))};Wo(function(){return Fa.B.on(Fa.PZ,Oa),function(){Fa.B.off(Fa.PZ,Oa)}},[]);var uo={},Eo=(0,Fa.Mg)();return(0,He.jsx)(Vt.ZP,{direction:Eo,locale:((Dt=Fa.H8[mr])===null||Dt===void 0?void 0:Dt.antd)||uo,children:(0,He.jsx)(Fa.eU,{value:da,children:gt.children})})};function _o(Gt){return S.createElement(ho,null,Gt)}var po=function(){var Gt=(0,S.useState)(void 0),gt=oa()(Gt,2),Dt=gt[0],Mt=gt[1],Rn=function(Sr){Sr.code===0&&Sr.data!==void 0&&(localStorage.setItem("pityToken",Sr.data.token),localStorage.setItem("pityUser",JSON.stringify(Sr.data.user)),localStorage.setItem("pityExpire",Sr.data.expire.toString())),Mt(Sr.code===0?"ok":"error")},or=function(){var Ir=C()(f()().mark(function Sr(yr){var da;return f()().wrap(function(Oa){for(;;)switch(Oa.prev=Oa.next){case 0:return Oa.next=2,En(yr);case 2:return da=Oa.sent,Rn(da),Oa.abrupt("return",da);case 5:case"end":return Oa.stop()}},Sr)}));return function(yr){return Ir.apply(this,arguments)}}(),mr=function(){var Ir=C()(f()().mark(function Sr(yr){var da;return f()().wrap(function(Oa){for(;;)switch(Oa.prev=Oa.next){case 0:return Oa.next=2,Zn(yr);case 2:return da=Oa.sent,Rn(da),Oa.abrupt("return",da);case 5:case"end":return Oa.stop()}},Sr)}));return function(yr){return Ir.apply(this,arguments)}}();return{status:Dt,loginPity:or,registerPity:mr}},Yo=e(36981),oi=function(){var Gt=(0,S.useState)([]),gt=oa()(Gt,2),Dt=gt[0],Mt=gt[1],Rn=(0,S.useState)(null),or=oa()(Rn,2),mr=or[0],Ir=or[1],Sr=(0,S.useState)(0),yr=oa()(Sr,2),da=yr[0],na=yr[1],Oa=(0,S.useState)(0),uo=oa()(Oa,2),Eo=uo[0],$a=uo[1],co=(0,S.useState)(0),go=oa()(co,2),Po=go[0],ao=go[1],Ia=function(Wa){Mt(Wa)},ba=function(Wa){var oo=Dt.length,io=Dt.filter(function(wo){return!wo.read}).length||0;Mt(Dt.filter(function(wo){return wo.type!==Wa})),ao(oo),$a(io)},za=function(){var Ja=C()(f()().mark(function Wa(oo){var io;return f()().wrap(function(xo){for(;;)switch(xo.prev=xo.next){case 0:return xo.next=2,(0,Yo.sA)(oo);case 2:return io=xo.sent,Ia(io),xo.abrupt("return",io);case 5:case"end":return xo.stop()}},Wa)}));return function(oo){return Ja.apply(this,arguments)}}(),Qa=function(){var Ja=C()(f()().mark(function Wa(oo){var io;return f()().wrap(function(xo){for(;;)switch(xo.prev=xo.next){case 0:return xo.next=2,(0,Yo.Zt)(oo);case 2:io=xo.sent,Dn.Z.response(io);case 4:case"end":return xo.stop()}},Wa)}));return function(oo){return Ja.apply(this,arguments)}}(),_a=function(){var Ja=C()(f()().mark(function Wa(oo){var io,wo,xo;return f()().wrap(function(gi){for(;;)switch(gi.prev=gi.next){case 0:if(io=(oo==null?void 0:oo.filter(function(xi){return xi.msg_type===1}).map(function(xi){return xi.id}))||[],wo=(oo==null?void 0:oo.filter(function(xi){return xi.msg_type===2}).map(function(xi){return xi.id}))||[],!(io.length>0||wo.length>0)){gi.next=7;break}return gi.next=5,(0,Yo.Zq)({broadcast:io,personal:wo});case 5:xo=gi.sent,Dn.Z.response(xo);case 7:case"end":return gi.stop()}},Wa)}));return function(oo){return Ja.apply(this,arguments)}}();return{clearNotices:ba,fetchNotices:za,notices:Dt,totalCount:Po,noticeCount:da,ws:mr,setWs:Ir,unreadCount:Eo,deleteNotices:Qa,setNoticeCount:na,readNotices:_a,setTotalCount:ao}},si={initialState:void 0,loading:!0,error:void 0},bt=function(){var Gt=(0,S.useState)(si),gt=oa()(Gt,2),Dt=gt[0],Mt=gt[1],Rn=(0,S.useCallback)(C()(f()().mark(function mr(){var Ir;return f()().wrap(function(yr){for(;;)switch(yr.prev=yr.next){case 0:return Mt(function(da){return v()(v()({},da),{},{loading:!0,error:void 0})}),yr.prev=1,yr.next=4,zt();case 4:Ir=yr.sent,Mt(function(da){return v()(v()({},da),{},{initialState:Ir,loading:!1})}),yr.next=11;break;case 8:yr.prev=8,yr.t0=yr.catch(1),Mt(function(da){return v()(v()({},da),{},{error:yr.t0,loading:!1})});case 11:case"end":return yr.stop()}},mr,null,[[1,8]])})),[]),or=(0,S.useCallback)(function(){var mr=C()(f()().mark(function Ir(Sr){return f()().wrap(function(da){for(;;)switch(da.prev=da.next){case 0:Mt(function(na){return typeof Sr=="function"?v()(v()({},na),{},{initialState:Sr(na.initialState),loading:!1}):v()(v()({},na),{},{initialState:Sr,loading:!1})});case 1:case"end":return da.stop()}},Ir)}));return function(Ir){return mr.apply(this,arguments)}}(),[]);return(0,S.useEffect)(function(){Rn()},[]),v()(v()({},Dt),{},{refresh:Rn,setInitialState:or})},Ht={model_1:{namespace:"auth",model:po},model_2:{namespace:"notice",model:oi},model_3:{namespace:"@@initialState",model:bt}};function Nt(Gt){var gt=S.useMemo(function(){return Object.keys(Ht).reduce(function(Dt,Mt){return Dt[Ht[Mt].namespace]=Ht[Mt].model,Dt},{})},[]);return(0,He.jsx)(Wn.z,v()(v()({models:gt},Gt),{},{children:Gt.children}))}function Wt(Gt,gt){return(0,He.jsx)(Nt,v()(v()({},gt),{},{children:Gt}))}var $n=e(57498),br=function(gt){var Dt=S.useRef({}),Mt=S.useState({}),Rn=oa()(Mt,2),or=Rn[0],mr=Rn[1],Ir=S.useState({}),Sr=oa()(Ir,2),yr=Sr[0],da=Sr[1],na=S.useState([/./]),Oa=oa()(na,2),uo=Oa[0],Eo=Oa[1];function $a(ba){Dt.current[ba.toLowerCase()]&&(delete Dt.current[ba.toLowerCase()],mr(function(za){return v()(v()({},za),{},ce()({},ba.toLowerCase(),Math.random()))}))}function co(ba){var za=Dt.current[ba.toLowerCase()].index,Qa=Object.entries(Dt.current).filter(function(_a){var Ja=oa()(_a,2),Wa=Ja[0],oo=Ja[1],io=oo.index,wo=oo.closable;return ioza&wo});Qa.forEach(function(_a){var Ja=oa()(_a,1),Wa=Ja[0];$a(Wa)}),Object.entries(Dt.current).forEach(function(_a,Ja){var Wa=oa()(_a,2),oo=Wa[0],io=Wa[1];io.index=Ja})}function Po(ba){var za=Dt.current[ba.toLowerCase()].index;Object.entries(Dt.current).forEach(function(Qa){var _a=oa()(Qa,2),Ja=_a[0],Wa=_a[1],oo=Wa.index,io=Wa.closable;oo!=za&io&&$a(Ja)}),Dt.current[ba.toLowerCase()].index=0}function ao(ba){mr(function(za){return v()(v()({},za),{},ce()({},ba.toLowerCase(),Math.random()))})}function Ia(ba,za){Dt.current[ba.toLowerCase()]&&(Dt.current[ba.toLowerCase()]=v()(v()({},Dt.current[ba.toLowerCase()]),za),da(function(Qa){return v()(v()({},Qa),{},ce()({},ba.toLowerCase(),Math.random()))}))}return(0,He.jsx)($n.FL.Provider,v()({value:{keepalive:uo,setKeepalive:Eo,keepElements:Dt,cacheKeyMap:or,dropByCacheKey:$a,tabNameMap:yr,dropLeftTabs:co,dropRightTabs:go,dropOtherTabs:Po,refreshTab:ao,updateTab:Ia}},gt))};function Nr(Gt){return S.createElement(br,null,Gt)}function Zr(Gt){return Gt.default?typeof Gt.default=="function"?Gt.default():Gt.default:Gt}function jr(){return[{apply:Zr(t),path:void 0},{apply:r,path:void 0},{apply:i,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0},{apply:u,path:void 0},{apply:c,path:void 0},{apply:l,path:void 0}]}function zr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","getInitialState","layout","locale","qiankun","request","getKeepAlive","tabsLayout","getCustomTabs"]}var Cn=null,wn=!1;function bn(){return Cn=H.PluginManager.create({plugins:jr(),validKeys:zr()}),Cn}function ir(){return Cn}},90596:function(y,h,e){"use strict";e.d(h,{ApplyPluginsType:function(){return Xe},FormattedMessage:function(){return ge._H},Helmet:function(){return k.ql},Link:function(){return L},Outlet:function(){return a.j3},PluginManager:function(){return Ke},SelectLang:function(){return ge.pD},connect:function(){return te.$j},history:function(){return ot.m},matchRoutes:function(){return a.fp},request:function(){return jn},useAppData:function(){return B.Ov},useIntl:function(){return ge.YB},useKeepOutlets:function(){return Ee.tE},useLocation:function(){return a.TH},useModel:function(){return me.t},useNavigate:function(){return a.s0},useOutletContext:function(){return a.bx},useParams:function(){return a.UO}});var t=e(58096),r=e(49647),i=e(67294),a=e(96974),s=e(55648);function u(){return u=Object.assign||function(ae){for(var ye=1;ye=0)&&(Oe[qe]=ae[qe]);return Oe}const l=["onClick","reloadDocument","replace","state","target","to"],d=null;function f(ae,ye){if(!ae){typeof console!="undefined"&&console.warn(ye);try{throw new Error(ye)}catch(Oe){}}}function p(ae){let{basename:ye,children:Oe,window:Re}=ae,qe=useRef();qe.current==null&&(qe.current=createBrowserHistory({window:Re}));let wt=qe.current,[Tt,en]=useState({action:wt.action,location:wt.location});return useLayoutEffect(()=>wt.listen(en),[wt]),createElement(Router,{basename:ye,children:Oe,location:Tt.location,navigationType:Tt.action,navigator:wt})}function v(ae){let{basename:ye,children:Oe,window:Re}=ae,qe=useRef();qe.current==null&&(qe.current=createHashHistory({window:Re}));let wt=qe.current,[Tt,en]=useState({action:wt.action,location:wt.location});return useLayoutEffect(()=>wt.listen(en),[wt]),createElement(Router,{basename:ye,children:Oe,location:Tt.location,navigationType:Tt.action,navigator:wt})}function m(ae){let{basename:ye,children:Oe,history:Re}=ae;const[qe,wt]=useState({action:Re.action,location:Re.location});return useLayoutEffect(()=>Re.listen(wt),[Re]),createElement(Router,{basename:ye,children:Oe,location:qe.location,navigationType:qe.action,navigator:Re})}function C(ae){return!!(ae.metaKey||ae.altKey||ae.ctrlKey||ae.shiftKey)}const x=(0,i.forwardRef)(function(ye,Oe){let{onClick:Re,reloadDocument:qe,replace:wt=!1,state:Tt,target:en,to:Ln}=ye,qt=c(ye,l),dn=(0,a.oQ)(Ln),Bn=S(Ln,{replace:wt,state:Tt,target:en});function Hn(nr){Re&&Re(nr),!nr.defaultPrevented&&!qe&&Bn(nr)}return(0,i.createElement)("a",u({},qt,{href:dn,onClick:Hn,ref:Oe,target:en}))}),b=null;function S(ae,ye){let{target:Oe,replace:Re,state:qe}=ye===void 0?{}:ye,wt=(0,a.s0)(),Tt=(0,a.TH)(),en=(0,a.WU)(ae);return(0,i.useCallback)(Ln=>{if(Ln.button===0&&(!Oe||Oe==="_self")&&!C(Ln)){Ln.preventDefault();let qt=!!Re||(0,s.Ep)(Tt)===(0,s.Ep)(en);wt(ae,{replace:qt,state:qe})}},[Tt,wt,en,Re,qe,Oe,ae])}function O(ae){let ye=useRef(M(ae)),Oe=useLocation(),Re=useMemo(()=>{let Tt=M(Oe.search);for(let en of ye.current.keys())Tt.has(en)||ye.current.getAll(en).forEach(Ln=>{Tt.append(en,Ln)});return Tt},[Oe.search]),qe=useNavigate(),wt=useCallback((Tt,en)=>{qe("?"+M(Tt),en)},[qe]);return[Re,wt]}function M(ae){return ae===void 0&&(ae=""),new URLSearchParams(typeof ae=="string"||Array.isArray(ae)||ae instanceof URLSearchParams?ae:Object.keys(ae).reduce((ye,Oe)=>{let Re=ae[Oe];return ye.concat(Array.isArray(Re)?Re.map(qe=>[Oe,qe]):[[Oe,Re]])},[]))}var B=e(34162),P=["prefetch"];function L(ae){var ye=ae.prefetch,Oe=(0,r.Z)(ae,P),Re=(0,B.Ov)(),qe=typeof ae.to=="string"?ae.to:ae.to.pathname;return i.createElement(x,(0,t.Z)({onMouseEnter:function(){var Tt;return ye&&qe&&((Tt=Re.preloadRoute)===null||Tt===void 0?void 0:Tt.call(Re,qe))}},Oe),ae.children)}var k=e(70405);function fe(ae){return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},fe(ae)}function X(){"use strict";X=function(){return ae};var ae={},ye=Object.prototype,Oe=ye.hasOwnProperty,Re=typeof Symbol=="function"?Symbol:{},qe=Re.iterator||"@@iterator",wt=Re.asyncIterator||"@@asyncIterator",Tt=Re.toStringTag||"@@toStringTag";function en(ut,pt,Pt){return Object.defineProperty(ut,pt,{value:Pt,enumerable:!0,configurable:!0,writable:!0}),ut[pt]}try{en({},"")}catch(ut){en=function(Pt,zt,kt){return Pt[zt]=kt}}function Ln(ut,pt,Pt,zt){var kt=pt&&pt.prototype instanceof Bn?pt:Bn,vn=Object.create(kt.prototype),Sn=new We(zt||[]);return vn._invoke=function(sr,Wn,Fn){var In="suspendedStart";return function(cr,lr){if(In==="executing")throw new Error("Generator is already running");if(In==="completed"){if(cr==="throw")throw lr;return ht()}for(Fn.method=cr,Fn.arg=lr;;){var ar=Fn.delegate;if(ar){var Vr=vt(ar,Fn);if(Vr){if(Vr===dn)continue;return Vr}}if(Fn.method==="next")Fn.sent=Fn._sent=Fn.arg;else if(Fn.method==="throw"){if(In==="suspendedStart")throw In="completed",Fn.arg;Fn.dispatchException(Fn.arg)}else Fn.method==="return"&&Fn.abrupt("return",Fn.arg);In="executing";var Rr=qt(sr,Wn,Fn);if(Rr.type==="normal"){if(In=Fn.done?"completed":"suspendedYield",Rr.arg===dn)continue;return{value:Rr.arg,done:Fn.done}}Rr.type==="throw"&&(In="completed",Fn.method="throw",Fn.arg=Rr.arg)}}}(ut,Pt,Sn),vn}function qt(ut,pt,Pt){try{return{type:"normal",arg:ut.call(pt,Pt)}}catch(zt){return{type:"throw",arg:zt}}}ae.wrap=Ln;var dn={};function Bn(){}function Hn(){}function nr(){}var Or={};en(Or,qe,function(){return this});var gn=Object.getPrototypeOf,sn=gn&&gn(gn(Ze([])));sn&&sn!==ye&&Oe.call(sn,qe)&&(Or=sn);var hn=nr.prototype=Bn.prototype=Object.create(Or);function er(ut){["next","throw","return"].forEach(function(pt){en(ut,pt,function(Pt){return this._invoke(pt,Pt)})})}function zn(ut,pt){function Pt(kt,vn,Sn,sr){var Wn=qt(ut[kt],ut,vn);if(Wn.type!=="throw"){var Fn=Wn.arg,In=Fn.value;return In&&fe(In)=="object"&&Oe.call(In,"__await")?pt.resolve(In.__await).then(function(cr){Pt("next",cr,Sn,sr)},function(cr){Pt("throw",cr,Sn,sr)}):pt.resolve(In).then(function(cr){Fn.value=cr,Sn(Fn)},function(cr){return Pt("throw",cr,Sn,sr)})}sr(Wn.arg)}var zt;this._invoke=function(kt,vn){function Sn(){return new pt(function(sr,Wn){Pt(kt,vn,sr,Wn)})}return zt=zt?zt.then(Sn,Sn):Sn()}}function vt(ut,pt){var Pt=ut.iterator[pt.method];if(Pt===void 0){if(pt.delegate=null,pt.method==="throw"){if(ut.iterator.return&&(pt.method="return",pt.arg=void 0,vt(ut,pt),pt.method==="throw"))return dn;pt.method="throw",pt.arg=new TypeError("The iterator does not provide a 'throw' method")}return dn}var zt=qt(Pt,ut.iterator,pt.arg);if(zt.type==="throw")return pt.method="throw",pt.arg=zt.arg,pt.delegate=null,dn;var kt=zt.arg;return kt?kt.done?(pt[ut.resultName]=kt.value,pt.next=ut.nextLoc,pt.method!=="return"&&(pt.method="next",pt.arg=void 0),pt.delegate=null,dn):kt:(pt.method="throw",pt.arg=new TypeError("iterator result is not an object"),pt.delegate=null,dn)}function ke(ut){var pt={tryLoc:ut[0]};1 in ut&&(pt.catchLoc=ut[1]),2 in ut&&(pt.finallyLoc=ut[2],pt.afterLoc=ut[3]),this.tryEntries.push(pt)}function Me(ut){var pt=ut.completion||{};pt.type="normal",delete pt.arg,ut.completion=pt}function We(ut){this.tryEntries=[{tryLoc:"root"}],ut.forEach(ke,this),this.reset(!0)}function Ze(ut){if(ut){var pt=ut[qe];if(pt)return pt.call(ut);if(typeof ut.next=="function")return ut;if(!isNaN(ut.length)){var Pt=-1,zt=function kt(){for(;++Pt=0;--kt){var vn=this.tryEntries[kt],Sn=vn.completion;if(vn.tryLoc==="root")return zt("end");if(vn.tryLoc<=this.prev){var sr=Oe.call(vn,"catchLoc"),Wn=Oe.call(vn,"finallyLoc");if(sr&&Wn){if(this.prev=0;--zt){var kt=this.tryEntries[zt];if(kt.tryLoc<=this.prev&&Oe.call(kt,"finallyLoc")&&this.prev=0;--Pt){var zt=this.tryEntries[Pt];if(zt.finallyLoc===pt)return this.complete(zt.completion,zt.afterLoc),Me(zt),dn}},catch:function(pt){for(var Pt=this.tryEntries.length-1;Pt>=0;--Pt){var zt=this.tryEntries[Pt];if(zt.tryLoc===pt){var kt=zt.completion;if(kt.type==="throw"){var vn=kt.arg;Me(zt)}return vn}}throw new Error("illegal catch attempt")},delegateYield:function(pt,Pt,zt){return this.delegate={iterator:Ze(pt),resultName:Pt,nextLoc:zt},this.method==="next"&&(this.arg=void 0),dn}},ae}function H(ae,ye,Oe){return ye in ae?Object.defineProperty(ae,ye,{value:Oe,enumerable:!0,configurable:!0,writable:!0}):ae[ye]=Oe,ae}function ue(ae,ye){var Oe=Object.keys(ae);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(ae);ye&&(Re=Re.filter(function(qe){return Object.getOwnPropertyDescriptor(ae,qe).enumerable})),Oe.push.apply(Oe,Re)}return Oe}function ve(ae){for(var ye=1;yeae.length)&&(ye=ae.length);for(var Oe=0,Re=new Array(ye);Oe=ae.length?{done:!0}:{done:!1,value:ae[Re++]}},e:function(qt){throw qt},f:qe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var wt=!0,Tt=!1,en;return{s:function(){Oe=Oe.call(ae)},n:function(){var qt=Oe.next();return wt=qt.done,qt},e:function(qt){Tt=!0,en=qt},f:function(){try{!wt&&Oe.return!=null&&Oe.return()}finally{if(Tt)throw en}}}}function U(ae){if(Array.isArray(ae))return ae}function R(ae){if(typeof Symbol!="undefined"&&ae[Symbol.iterator]!=null||ae["@@iterator"]!=null)return Array.from(ae)}function T(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(ae){return U(ae)||R(ae)||ce(ae)||T()}function N(ae,ye){if(!(ae instanceof ye))throw new TypeError("Cannot call a class as a function")}function K(ae,ye){for(var Oe=0;Oe-1,"register failed, invalid key ".concat(qe," ").concat(Oe.path?"from plugin ".concat(Oe.path):"",".")),Re.hooks[qe]=(Re.hooks[qe]||[]).concat(Oe.apply[qe])})}},{key:"getHooks",value:function(Oe){var Re=Oe.split("."),qe=w(Re),wt=qe[0],Tt=qe.slice(1),en=this.hooks[wt]||[];return Tt.length&&(en=en.map(function(Ln){try{var qt=Ln,dn=F(Tt),Bn;try{for(dn.s();!(Bn=dn.n()).done;){var Hn=Bn.value;qt=qt[Hn]}}catch(nr){dn.e(nr)}finally{dn.f()}return qt}catch(nr){return null}}).filter(Boolean)),en}},{key:"applyPlugins",value:function(Oe){var Re=Oe.key,qe=Oe.type,wt=Oe.initialValue,Tt=Oe.args,en=Oe.async,Ln=this.getHooks(Re)||[];switch(Tt&&V(fe(Tt)==="object","applyPlugins failed, args must be plain object."),en&&V(qe===Xe.modify||qe===Xe.event,"async only works with modify and event type."),qe){case Xe.modify:return en?Ln.reduce(function(){var qt=ne(X().mark(function dn(Bn,Hn){var nr;return X().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:if(V(typeof Hn=="function"||fe(Hn)==="object"||Fe(Hn),"applyPlugins failed, all hooks for key ".concat(Re," must be function, plain object or Promise.")),!Fe(Bn)){gn.next=5;break}return gn.next=4,Bn;case 4:Bn=gn.sent;case 5:if(typeof Hn!="function"){gn.next=16;break}if(nr=Hn(Bn,Tt),!Fe(nr)){gn.next=13;break}return gn.next=10,nr;case 10:return gn.abrupt("return",gn.sent);case 13:return gn.abrupt("return",nr);case 14:gn.next=21;break;case 16:if(!Fe(Hn)){gn.next=20;break}return gn.next=19,Hn;case 19:Hn=gn.sent;case 20:return gn.abrupt("return",ve(ve({},Bn),Hn));case 21:case"end":return gn.stop()}},dn)}));return function(dn,Bn){return qt.apply(this,arguments)}}(),Fe(wt)?wt:Promise.resolve(wt)):Ln.reduce(function(qt,dn){return V(typeof dn=="function"||fe(dn)==="object","applyPlugins failed, all hooks for key ".concat(Re," must be function or plain object.")),typeof dn=="function"?dn(qt,Tt):ve(ve({},qt),dn)},wt);case Xe.event:return ne(X().mark(function qt(){var dn,Bn,Hn,nr;return X().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:dn=F(Ln),gn.prev=1,dn.s();case 3:if((Bn=dn.n()).done){gn.next=12;break}if(Hn=Bn.value,V(typeof Hn=="function","applyPlugins failed, all hooks for key ".concat(Re," must be function.")),nr=Hn(Tt),!(en&&Fe(nr))){gn.next=10;break}return gn.next=10,nr;case 10:gn.next=3;break;case 12:gn.next=17;break;case 14:gn.prev=14,gn.t0=gn.catch(1),dn.e(gn.t0);case 17:return gn.prev=17,dn.f(),gn.finish(17);case 20:case"end":return gn.stop()}},qt,null,[[1,14,17,20]])}))();case Xe.compose:return function(){return De({fns:Ln.concat(wt),args:Tt})()}}}}],[{key:"create",value:function(Oe){var Re=new ae({validKeys:Oe.validKeys});return Oe.plugins.forEach(function(qe){Re.register(qe)}),Re}}]),ae}(),ot=e(10581),Et=e(52677),Ot=e.n(Et),dt=0,He=0;function tt(ae,ye){if(!1)var Oe}function Le(ae){return JSON.stringify(ae,null,2)}function J(ae){var ye=ae.length>1?ae.map(A).join(" "):ae[0];return Ot()(ye)==="object"?"".concat(Le(ye)):ye.toString()}function A(ae){return Ot()(ae)==="object"?"".concat(JSON.stringify(ae)):ae.toString()}var j={log:function(){for(var ye=arguments.length,Oe=new Array(ye),Re=0;Re-1&&(wt=setTimeout(function(){Ve.delete(ye)},Oe)),Ve.set(ye,{data:Re,timer:wt,startTime:new Date().getTime()})},at=function(ye){var Oe=Ve.get(ye);return{data:Oe==null?void 0:Oe.data,startTime:Oe==null?void 0:Oe.startTime}},xt=function(ae,ye){var Oe=typeof Symbol=="function"&&ae[Symbol.iterator];if(!Oe)return ae;var Re=Oe.call(ae),qe,wt=[],Tt;try{for(;(ye===void 0||ye-- >0)&&!(qe=Re.next()).done;)wt.push(qe.value)}catch(en){Tt={error:en}}finally{try{qe&&!qe.done&&(Oe=Re.return)&&Oe.call(Re)}finally{if(Tt)throw Tt.error}}return wt},St=function(){for(var ae=[],ye=0;ye0)&&!(qe=Re.next()).done;)wt.push(qe.value)}catch(en){Tt={error:en}}finally{try{qe&&!qe.done&&(Oe=Re.return)&&Oe.call(Re)}finally{if(Tt)throw Tt.error}}return wt},mn=function(){for(var ae=[],ye=0;ye0)&&!(qe=Re.next()).done;)wt.push(qe.value)}catch(en){Tt={error:en}}finally{try{qe&&!qe.done&&(Oe=Re.return)&&Oe.call(Re)}finally{if(Tt)throw Tt.error}}return wt},Yn=function(){for(var ae=[],ye=0;ye0){var Fr=ht&&(($r=getCache(ht))===null||$r===void 0?void 0:$r.startTime)||0;zt===-1||new Date().getTime()-Fr<=zt||Object.values(pr).forEach(function(Mr){Mr.refresh()})}else ka.current.apply(ka,Yn(zn))},[]);var no=useCallback(function(){Object.values(Jr.current).forEach(function($r){$r.unmount()}),cr.current=hr,Dr({}),Jr.current={}},[Dr]);useUpdateEffect(function(){Tt||Object.values(Jr.current).forEach(function($r){$r.refresh()})},Yn(qe)),useEffect(function(){return function(){Object.values(Jr.current).forEach(function($r){$r.unmount()})}},[]);var Tr=useCallback(function($r){return function(){console.warn("You should't call "+$r+" when service not executed once.")}},[]);return kn(kn({loading:Wn&&!Tt||Hn,data:Sn,error:void 0,params:[],cancel:Tr("cancel"),refresh:Tr("refresh"),mutate:Tr("mutate")},pr[cr.current]||{}),{run:Ra,fetches:pr,reset:no})}var we=null,se=function(){return se=Object.assign||function(ae){for(var ye,Oe=1,Re=arguments.length;Oe0)&&!(qe=Re.next()).done;)wt.push(qe.value)}catch(en){Tt={error:en}}finally{try{qe&&!qe.done&&(Oe=Re.return)&&Oe.call(Re)}finally{if(Tt)throw Tt.error}}return wt},Q=function(){for(var ae=[],ye=0;ye0)&&!(qe=Re.next()).done;)wt.push(qe.value)}catch(en){Tt={error:en}}finally{try{qe&&!qe.done&&(Oe=Re.return)&&Oe.call(Re)}finally{if(Tt)throw Tt.error}}return wt},It=function(){for(var ae=[],ye=0;yeIn&&(Wn=Math.max(1,In)),Ze({current:Wn,pageSize:Fn})},[ht,Ze]),Pt=useCallback(function(Sn){pt(Sn,zn)},[pt,zn]),zt=useCallback(function(Sn){pt(hn,Sn)},[pt,hn]),kt=useRef(Pt);kt.current=Pt,useUpdateEffect(function(){ye.manual||kt.current(1)},It(Tt));var vn=useCallback(function(Sn,sr,Wn){Ze({current:Sn.current,pageSize:Sn.pageSize||qe,filters:sr,sorter:Wn})},[We,ke,Ze]);return W({loading:nr,data:dn,params:Bn,run:Hn,pagination:{current:hn,pageSize:zn,total:ht,totalPage:ut,onChange:pt,changeCurrent:Pt,changePageSize:zt},tableProps:{dataSource:(dn==null?void 0:dn.list)||[],loading:nr,onChange:vn,pagination:{current:hn,pageSize:zn,total:ht}},sorter:ke,filters:We},Or)}var ln=null,_t=i.createContext({});_t.displayName="UseRequestConfigContext";var Mn=_t,pn=function(){return pn=Object.assign||function(ae){for(var ye,Oe=1,Re=arguments.length;Oe0)&&!(qe=Re.next()).done;)wt.push(qe.value)}catch(en){Tt={error:en}}finally{try{qe&&!qe.done&&(Oe=Re.return)&&Oe.call(Re)}finally{if(Tt)throw Tt.error}}return wt},Lt=function(){for(var ae=[],ye=0;ye1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(ae,_objectSpread({formatResult:function(Re){return Re==null?void 0:Re.data},requestMethod:function(Re){if(typeof Re=="string")return jn(Re);if(_typeof(Re)==="object"){var qe=Re.url,wt=_objectWithoutProperties(Re,Nn);return jn(qe,wt)}throw new Error("request options error")}},ye))}var Dn,En,xn=function(){return En||(En=(0,an.We)().applyPlugins({key:"request",type:Xe.modify,initialValue:{}}),En)},Zn=function(){var ye,Oe;if(Dn)return Dn;var Re=xn();return Dn=D().create(Re),Re==null||(ye=Re.requestInterceptors)===null||ye===void 0||ye.forEach(function(qe){qe instanceof Array?Dn.interceptors.request.use(function(wt){var Tt=wt.url;if(qe[0].length===2){var en=qe[0](Tt,wt),Ln=en.url,qt=en.options;return Ye()(Ye()({},qt),{},{url:Ln})}return qe[0](wt)},qe[1]):Dn.interceptors.request.use(function(wt){var Tt=wt.url;if(qe.length===2){var en=qe(Tt,wt),Ln=en.url,qt=en.options;return Ye()(Ye()({},qt),{},{url:Ln})}return qe(wt)})}),Re==null||(Oe=Re.responseInterceptors)===null||Oe===void 0||Oe.forEach(function(qe){qe instanceof Array?Dn.interceptors.response.use(qe[0],qe[1]):Dn.interceptors.response.use(qe)}),Dn.interceptors.response.use(function(qe){var wt,Tt=qe.data;return(Tt==null?void 0:Tt.success)===!1&&Re!==null&&Re!==void 0&&(wt=Re.errorConfig)!==null&&wt!==void 0&&wt.errorThrower&&Re.errorConfig.errorThrower(Tt),qe}),Dn},jn=function(ye){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Re=Zn(),qe=xn(),wt=Oe.getResponse,Tt=wt===void 0?!1:wt,en=Oe.requestInterceptors,Ln=Oe.responseInterceptors,qt=en==null?void 0:en.map(function(Bn){return Bn instanceof Array?Re.interceptors.request.use(function(Hn){var nr=Hn.url;if(Bn[0].length===2){var Or=Bn[0](nr,Hn),gn=Or.url,sn=Or.options;return Ye()(Ye()({},sn),{},{url:gn})}return Bn[0](Hn)},Bn[1]):Re.interceptors.request.use(function(Hn){var nr=Hn.url;if(Bn.length===2){var Or=Bn(nr,Hn),gn=Or.url,sn=Or.options;return Ye()(Ye()({},sn),{},{url:gn})}return Bn(Hn)})}),dn=Ln==null?void 0:Ln.map(function(Bn){return Bn instanceof Array?Re.interceptors.response.use(Bn[0],Bn[1]):Re.interceptors.response.use(Bn)});return new Promise(function(Bn,Hn){Re.request(Ye()(Ye()({},Oe),{},{url:ye})).then(function(nr){qt==null||qt.forEach(function(Or){Re.interceptors.request.eject(Or)}),dn==null||dn.forEach(function(Or){Re.interceptors.response.eject(Or)}),Bn(Tt?nr:nr.data)}).catch(function(nr){qt==null||qt.forEach(function(sn){Re.interceptors.request.eject(sn)}),dn==null||dn.forEach(function(sn){Re.interceptors.response.eject(sn)});try{var Or,gn=qe==null||(Or=qe.errorConfig)===null||Or===void 0?void 0:Or.errorHandler;gn&&gn(nr,Oe,qe)}catch(sn){Hn(sn)}Hn(nr)})})}},78382:function(y,h,e){"use strict";e.d(h,{J:function(){return r}});var t=e(67294),r=t.createContext(null)},83228:function(y,h,e){"use strict";e.d(h,{Mf:function(){return u}});var t=e(67294),r=e(78382),i=e(85893),a=function(){return t.useContext(r.J)},s=function(l){return _jsx(_Fragment,{children:l.accessible?l.children:l.fallback})},u=function(l){var d=a(),f=t.useMemo(function(){var p=function v(m,C,x){var b,S,O=m.access,M=m;if(!O&&C&&(O=C,M=x),m.unaccessible=!1,typeof O=="string"){var B=d[O];typeof B=="function"?m.unaccessible=!B(M):typeof B=="boolean"?m.unaccessible=!B:typeof B=="undefined"&&(m.unaccessible=!0)}if((b=m.children)!==null&&b!==void 0&&b.length){var P=!m.children.reduce(function(k,fe){return v(fe,O,m),k||!fe.unaccessible},!1);P&&(m.unaccessible=!0)}if((S=m.routes)!==null&&S!==void 0&&S.length){var L=!m.routes.reduce(function(k,fe){return v(fe,O,m),k||!fe.unaccessible},!1);L&&(m.unaccessible=!0)}return m};return l.map(function(v){return p(v)})},[l.length,d]);return f}},58047:function(y,h,e){"use strict";e.d(h,{j:function(){return hr}});var t=e(19632),r=e.n(t),i=e(97857),a=e.n(i),s=e(93253),u=e(48046),c=e.n(u),l=e(67294),d=e(90596),f=e(15009),p=e.n(f),v=e(99289),m=e.n(v),C=e(14897),x=e(19478),b=e(10981);function S(Je){return O.apply(this,arguments)}function O(){return O=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/constructor/list"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),O.apply(this,arguments)}function M(Je){return B.apply(this,arguments)}function B(){return B=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/constructor"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),B.apply(this,arguments)}function P(Je){return L.apply(this,arguments)}function L(){return L=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/constructor/insert"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),L.apply(this,arguments)}function k(Je){return fe.apply(this,arguments)}function fe(){return fe=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/constructor/update"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),fe.apply(this,arguments)}function X(Je){return H.apply(this,arguments)}function H(){return H=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/constructor/delete"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),H.apply(this,arguments)}function ue(Je){return ve.apply(this,arguments)}function ve(){return ve=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/constructor/order"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),ve.apply(this,arguments)}var Z=e(4713),ne=e(59697),ie={namespace:"construct",state:{currentStep:0,totalStep:1,constructorType:0,searchConstructor:void 0,testCaseConstructorData:{public:!0,enable:!0},testcaseData:[],constructorData:[]},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{insert:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(P,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=9;break}return W.next=8,Q({type:"testcase/save",payload:{constructorModal:!1}});case 8:return W.abrupt("return",!0);case 9:return W.abrupt("return",!1);case 10:case"end":return W.stop()}},Je)}),update:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(k,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=9;break}return W.next=8,Q({type:"testcase/save",payload:{constructorModal:!1}});case 8:return W.abrupt("return",!0);case 9:return W.abrupt("return",!1);case 10:case"end":return W.stop()}},Je)}),delete:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(X,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),orderConstructor:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ue,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),getConstructorTree:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(S,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{constructorData:G.data}});case 8:case"end":return W.stop()}},Je)}),getConstructorData:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,ct.next=4,$e(M,he);case 4:if(G=ct.sent,!b.Z.response(G)){ct.next=11;break}return Be=JSON.parse(G.data.constructor_json),W={value:G.data.value,enable:G.data.enable,type:G.data.type,public:G.data.public,name:G.data.name},G.data.type===0?W=a()(a()({},W),{},{params:Be.params,constructor_case_id:Be.constructor_case_id}):G.data.type===1?W=a()(a()({},W),{},{database:Be.database,sql:Be.sql}):G.data.type===2?W=a()(a()({},W),{},{command:Be.command,redis:Be.redis}):G.data.type===3?W=a()(a()({},W),{},{command:Be.command}):G.data.type===4&&(W=a()(a()({},W),{},{body:Be.body,headers:ne.Z.parseHeaders(Be.headers),base_path:Be.base_path,url:Be.url,request_method:Be.request_method,body_type:Be.body_type})),ct.next=11,Q({type:"save",payload:{testCaseConstructorData:W}});case 11:case"end":return ct.stop()}},Je)}),getTestCaseListTree:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.CL,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{testcaseData:G.data}});case 8:case"end":return W.stop()}},Je)})}},ce=e(89609),F=e(2453),U={namespace:"gconfig",state:{data:[],configuration:{},currentEnv:null,name:"",envList:[],envMap:{},options:[],pagination:{current:1,pageSize:8,total:0},key_type:{0:"String",1:"JSON",2:"Yaml"},ossFileList:[],searchOssFileList:[],dbConfigData:[],redisConfig:[],addressList:[],databaseModal:!1,databaseRecord:{sql_type:0}},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{fetchSystemConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.kH);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{configuration:G.data}});case 8:case"end":return W.stop()}},Je)}),updateConfiguration:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se._,W.next=4,$e(ce.w1,he);case 4:G=W.sent,b.Z.response(G,!0);case 6:case"end":return W.stop()}},Je)}),fetchDbConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.JF,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{dbConfigData:G.data}});case 8:case"end":return W.stop()}},Je)}),insertDbConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.GQ,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=9;break}return W.next=8,Q({type:"save",payload:{databaseModal:!1}});case 8:return W.abrupt("return",!0);case 9:return W.abrupt("return",!1);case 10:case"end":return W.stop()}},Je)}),onTestDbConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.Hb,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),updateDbConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.Oe,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=9;break}return W.next=8,Q({type:"save",payload:{databaseModal:!1}});case 8:return W.abrupt("return",!0);case 9:return W.abrupt("return",!1);case 10:case"end":return W.stop()}},Je)}),deleteDbConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.u$,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),fetchGConfig:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,G(function(It){return It.gconfig});case 4:return Be=ct.sent,ct.next=7,$e(ce.Z7,he);case 7:if(W=ct.sent,!b.Z.response(W)){ct.next=11;break}return ct.next=11,Q({type:"save",payload:{data:W.data,pagination:a()(a()({},Be.pagination),{},{current:he.page,total:W.total})}});case 11:case"end":return ct.stop()}},Je)}),fetchAllGConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.Z7,{page:1,size:1e3});case 4:if(G=W.sent,b.Z.response(G)){W.next=8;break}return F.ZP.error(G.msg),W.abrupt("return");case 8:return W.next=10,Q({type:"save",payload:{options:G.data.map(function(ft){return{label:ft,value:"${".concat(ft.key,"}"),key:ft.id}})}});case 10:case"end":return W.stop()}},Je)}),insertConfig:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,G(function(It){return It.gconfig});case 4:return Be=ct.sent,ct.next=7,$e(ce.Hc,he);case 7:if(W=ct.sent,!b.Z.response(W,!0)){ct.next=11;break}return ct.next=11,Q({type:"save",payload:{modal:!1}});case 11:return ct.next=13,Q({type:"fetchGConfig",payload:{page:Be.pagination.current,size:Be.pagination.pageSize,env:Be.currentEnv,key:Be.name}});case 13:case"end":return ct.stop()}},Je)}),updateGConfig:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,$e(ce.nK,he);case 4:return Be=ct.sent,ct.next=7,G(function(It){return It.gconfig});case 7:if(W=ct.sent,!b.Z.response(Be,!0)){ct.next=11;break}return ct.next=11,Q({type:"save",payload:{modal:!1}});case 11:return ct.next=13,Q({type:"fetchGConfig",payload:{page:W.pagination.current,size:W.pagination.pageSize,env:W.currentEnv,key:W.name}});case 13:case"end":return ct.stop()}},Je)}),deleteGConfig:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,$e(ce.mC,he);case 4:return Be=ct.sent,ct.next=7,G(function(It){return It.gconfig});case 7:if(W=ct.sent,!b.Z.response(Be,!0)){ct.next=11;break}return ct.next=11,Q({type:"fetchGConfig",payload:{page:W.pagination.current,size:W.pagination.pageSize,env:W.currentEnv,key:W.name}});case 11:case"end":return ct.stop()}},Je)}),fetchEnvList:p()().mark(function Je(we,se){var he,$e,Q,G,Be;return p()().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return he=we.payload,$e=se.call,Q=se.put,ft.next=4,$e(ce.e9,he);case 4:if(G=ft.sent,b.Z.response(G)){ft.next=8;break}return F.ZP.error(G.msg),ft.abrupt("return");case 8:return Be={},G.data.forEach(function(ct){Be[ct.id]=ct.name}),ft.next=12,Q({type:"save",payload:{envList:G.data,envMap:Be}});case 12:case"end":return ft.stop()}},Je)}),fetchRedisConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.LA,he);case 4:if(G=W.sent,b.Z.response(G)){W.next=8;break}return F.ZP.error(G.msg),W.abrupt("return");case 8:return W.next=10,Q({type:"save",payload:{redisConfig:G.data}});case 10:case"end":return W.stop()}},Je)}),fetchAddress:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.Um,he);case 4:if(G=W.sent,b.Z.response(G)){W.next=8;break}return F.ZP.error(G.msg),W.abrupt("return");case 8:return W.next=10,Q({type:"save",payload:{addressList:G.data}});case 10:case"end":return W.stop()}},Je)}),insertAddress:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.f7,he);case 4:if(G=W.sent,b.Z.response(G,!0)){W.next=8;break}return F.ZP.error(G.msg),W.abrupt("return",!1);case 8:return W.abrupt("return",!0);case 9:case"end":return W.stop()}},Je)}),updateAddress:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.WN,he);case 4:if(G=W.sent,b.Z.response(G,!0)){W.next=7;break}return W.abrupt("return",!1);case 7:return W.abrupt("return",!0);case 8:case"end":return W.stop()}},Je)}),deleteAddress:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.bD,he);case 4:if(G=W.sent,b.Z.response(G,!0)){W.next=8;break}return F.ZP.error(G.msg),W.abrupt("return",!1);case 8:return W.abrupt("return",!0);case 9:case"end":return W.stop()}},Je)}),insertRedisConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.YC,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),updateRedisConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.nb,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),deleteRedisConfig:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.BS,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),onlineRedisCommand:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce.cN,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=7;break}return W.abrupt("return",G.data);case 7:return W.abrupt("return",G.msg);case 8:case"end":return W.stop()}},Je)}),uploadFile:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Be.next=4,$e(ce.cT,he);case 4:return Q=Be.sent,Be.abrupt("return",b.Z.response(Q,!0));case 6:case"end":return Be.stop()}},Je)}),removeOssFile:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(ce._I,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=8;break}return W.next=8,Q({type:"listOssFile"});case 8:case"end":return W.stop()}},Je)}),listOssFile:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we._,$e=se.call,Q=se.put,W.next=4,$e(ce.V6);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{ossFileList:G.data,searchOssFileList:G.data}});case 8:case"end":return W.stop()}},Je)})}},R=e(17673);function T(Je){return w.apply(this,arguments)}function w(){return w=_asyncToGenerator(_regeneratorRuntime().mark(function Je(we){return _regeneratorRuntime().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",request("/api/login/account",{method:"POST",data:we}));case 1:case"end":return he.stop()}},Je)})),w.apply(this,arguments)}function N(Je){return K.apply(this,arguments)}function K(){return K=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/auth/login"),{method:"POST",data:we}));case 1:case"end":return he.stop()}},Je)})),K.apply(this,arguments)}function _(Je){return V.apply(this,arguments)}function V(){return V=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/auth/reset/generate/").concat(we),{method:"GET"}));case 1:case"end":return he.stop()}},Je)})),V.apply(this,arguments)}function De(Je){return Fe.apply(this,arguments)}function Fe(){return Fe=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/auth/reset/check/").concat(we),{method:"GET"}));case 1:case"end":return he.stop()}},Je)})),Fe.apply(this,arguments)}function Xe(Je){return Ke.apply(this,arguments)}function Ke(){return Ke=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/auth/reset"),{method:"POST",data:we}));case 1:case"end":return he.stop()}},Je)})),Ke.apply(this,arguments)}function ot(Je){return Et.apply(this,arguments)}function Et(){return Et=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/auth/register"),{method:"POST",data:we}));case 1:case"end":return he.stop()}},Je)})),Et.apply(this,arguments)}function Ot(Je){return dt.apply(this,arguments)}function dt(){return dt=_asyncToGenerator(_regeneratorRuntime().mark(function Je(we){return _regeneratorRuntime().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",request("/api/login/captcha?mobile=".concat(we)));case 1:case"end":return he.stop()}},Je)})),dt.apply(this,arguments)}var He=function(){return(0,R.parse)(window.location.href.split("?")[1])},tt=e(16568),Le={namespace:"login",state:{status:void 0,currentEmail:""},effects:{register:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se._,W.next=4,$e(ot,{username:he.username,password:he.password,name:he.name,email:he.email});case 4:if(G=W.sent,G.code===0){W.next=8;break}return F.ZP.error(G.msg),W.abrupt("return");case 8:he.setType("account"),F.ZP.success(G.msg);case 10:case"end":return W.stop()}},Je)}),login:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft,ct;return p()().wrap(function(Kt){for(;;)switch(Kt.prev=Kt.next){case 0:return he=we.payload,$e=se.call,Q=se.put,Kt.next=4,$e(N,he);case 4:return G=Kt.sent,Kt.next=7,Q({type:"changeLoginStatus",payload:G});case 7:if(G.code!==0){Kt.next=24;break}if(Be=new URL(window.location.href),W=He(),F.ZP.success("\u{1F389} \u{1F389} \u{1F389} \u767B\u5F55\u6210\u529F\uFF01"),ft=W.redirect,!ft){Kt.next=21;break}if(ct=new URL(ft),ct.origin!==Be.origin){Kt.next=19;break}ft=ft.substr(Be.origin.length),ft.match(/^\/.*#/)&&(ft=ft.substr(ft.indexOf("#")+1)),Kt.next=21;break;case 19:return window.location.href="/",Kt.abrupt("return");case 21:d.history!==void 0?d.history.replace(ft||"/"):window.location.href="/",Kt.next=25;break;case 24:F.ZP.error(G.msg||"\u7F51\u7EDC\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");case 25:case"end":return Kt.stop()}},Je)}),logout:function(){var we=He(),se=we.redirect;window.location.pathname!=="/#/user/login"&&!se&&(localStorage.removeItem("pityToken"),localStorage.removeItem("pityUser"),d.history.replace({pathname:"/user/login",search:(0,R.stringify)({redirect:window.location.href})}))},resetPwd:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(_,he);case 4:G=W.sent,b.Z.response(G)&&tt.ZP.success({message:"\u6B63\u5728\u53D1\u9001\u91CD\u7F6E\u5BC6\u7801\u90AE\u4EF6",description:"\u6211\u4EEC\u6B63\u5728\u4E3A".concat(he,"\u53D1\u9001\u91CD\u7F6E\u5BC6\u7801\u90AE\u4EF6, \u5982\u679C\u60A8\u5DF2\u6CE8\u518C\u8FC7pity\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536\u90AE\u4EF6\u3002")});case 6:case"end":return W.stop()}},Je)}),doResetPassword:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Xe,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G));case 6:case"end":return W.stop()}},Je)}),checkResetUrl:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(De,he);case 4:if(G=W.sent,b.Z.notificationResponse(G)){W.next=7;break}return W.abrupt("return");case 7:return W.next=9,Q({type:"save",payload:{currentEmail:G.data}});case 9:case"end":return W.stop()}},Je)})},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}}},J=Le,A=e(9783),j=e.n(A);function q(Je){return te.apply(this,arguments)}function te(){return te=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/online/database/list"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),te.apply(this,arguments)}function de(Je){return Ee.apply(this,arguments)}function Ee(){return Ee=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/online/tables/list"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),Ee.apply(this,arguments)}function pe(Je){return Y.apply(this,arguments)}function Y(){return Y=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/online/sql"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),Y.apply(this,arguments)}function re(Je){return ge.apply(this,arguments)}function ge(){return ge=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/online/history/query"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),ge.apply(this,arguments)}var me={namespace:"online",state:{databaseSource:[],table_map:{},tables:[],currentDatabase:null,currentDatabaseTitle:"",currentDatabaseSqlType:0,testResults:[],sqlColumns:[],historyPage:{current:1,pageSize:4,showTotal:function(we){return"\u5171".concat(we,"\u6761\u5386\u53F2\u6570\u636E")},total:0},historyData:[]},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{fetchDatabaseSource:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(q);case 4:if(G=W.sent,!b.Z.response(G)){W.next=9;break}return W.next=8,Q({type:"save",payload:{databaseSource:G.data}});case 8:return W.abrupt("return",G.data);case 9:case"end":return W.stop()}},Je)}),fetchTables:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,$e(de,he);case 4:if(Be=ct.sent,!b.Z.response(Be)){ct.next=12;break}return ct.next=8,G(function(It){return It.online});case 8:return W=ct.sent,ct.next=11,Q({type:"save",payload:{table_map:a()(a()({},W.table_map),{},j()({},he.id,Be.data.tables)),tables:Be.data.tables,currentDatabase:he.id}});case 11:return ct.abrupt("return",Be.data.children);case 12:case"end":return ct.stop()}},Je)}),onlineExecuteSQL:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,$e(pe,he);case 4:if(Be=ct.sent,!b.Z.response(Be,!0)){ct.next=13;break}return ct.next=8,Q({type:"save",payload:{sqlColumns:Be.data.columns,testResults:Be.data.result}});case 8:return ct.next=10,G(function(It){return It.online});case 10:return W=ct.sent,ct.next=13,Q({type:"fetchHistorySQL",payload:{page:W.historyPage.current,size:W.historyPage.pageSize}});case 13:case"end":return ct.stop()}},Je)}),fetchHistorySQL:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ct.next=4,$e(re,he);case 4:if(Be=ct.sent,!b.Z.response(Be)){ct.next=11;break}return ct.next=8,G(function(It){return It.online});case 8:return W=ct.sent,ct.next=11,Q({type:"save",payload:{historyData:Be.data.data,historyPage:a()(a()({},W.historyPage),{},{total:Be.data.total})}});case 11:case"end":return ct.stop()}},Je)})}},Se=e(35123),Ge=function(){var we=localStorage.getItem("project_id");if(we!=null)return parseInt(we,10)},Ye={namespace:"project",state:{projects:[],projectsMap:{},project_id:Ge()},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{listProject:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft;return p()().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,It.next=4,$e(Se.g2,{page:1,size:1e4});case 4:if(Be=It.sent,!b.Z.response(Be)){It.next=14;break}return W={},Be.data.forEach(function(Kt){W[Kt.id]=Kt.name}),It.next=10,G(function(Kt){return Kt.project.project_id});case 10:return ft=It.sent,ft===void 0&&(ft=Be.data.length>0?Be.data[0].id:void 0),It.next=14,Q({type:"save",payload:{projects:Be.data,projectsMap:W,project_id:ft}});case 14:case"end":return It.stop()}},Je)}),uploadFile:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Se.n1,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=7;break}return W.abrupt("return",G.data);case 7:return W.abrupt("return",null);case 8:case"end":return W.stop()}},Je)}),deleteProject:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Se.th,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)})}},it={namespace:"recorder",state:{recordStatus:!1,recordLists:[],regex:""},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)},readRecord:function(we,se){var he=se.payload;return a()(a()({},we),{},{recordLists:[].concat(r()(we.recordLists),[a()(a()({},he.data),{},{index:we.recordLists.length,cookies:JSON.stringify(he.data.cookies,null,2),response_headers:JSON.stringify(he.data.response_headers,null,2),request_headers:JSON.stringify(he.data.request_headers,null,2)})])})}},effects:{queryRecordStatus:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.QF,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{recordStatus:G.data.status,recordLists:G.data.data.map(function(ft,ct){return a()(a()({},ft),{},{index:ct,cookies:JSON.stringify(ft.cookies,null,2),request_cookies:JSON.stringify(ft.request_cookies,null,2),response_headers:JSON.stringify(ft.response_headers,null,2),request_headers:JSON.stringify(ft.request_headers,null,2)})}),regex:G.data.regex}});case 8:case"end":return W.stop()}},Je)}),startRecord:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,Q({type:"save",payload:{recordLists:[]}});case 4:return W.next=6,$e(Z.yb,he);case 6:if(G=W.sent,!b.Z.response(G,!0)){W.next=10;break}return W.next=10,Q({type:"save",payload:{recordStatus:!0,recordLists:[]}});case 10:case"end":return W.stop()}},Je)}),stopRecord:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.F2,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=8;break}return W.next=8,Q({type:"save",payload:{recordStatus:!1}});case 8:case"end":return W.stop()}},Je)}),generateCase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.iL,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=7;break}return W.abrupt("return",G);case 7:return W.abrupt("return",!1);case 8:case"end":return W.stop()}},Je)}),import:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.bQ,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=7;break}return W.abrupt("return",G.data.map(function(ft,ct){return a()(a()({},ft),{},{index:ct,request_headers:JSON.stringify(ft.request_headers,null,2),response_headers:JSON.stringify(ft.response_headers,null,2),cookies:JSON.stringify(ft.cookies,null,2),request_cookies:JSON.stringify(ft.request_cookies,null,2)})}));case 7:return W.abrupt("return",[]);case 8:case"end":return W.stop()}},Je)}),remove:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft;return p()().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,It.next=4,G(function(Kt){return Kt.recorder});case 4:return Be=It.sent,It.next=7,$e(Z.Gz,he);case 7:if(W=It.sent,!b.Z.response(W,!0)){It.next=12;break}return ft=Be.recordLists.filter(function(Kt,ln){return ln!==he}).map(function(Kt,ln){return a()(a()({},Kt),{},{index:ln})}),It.next=12,Q({type:"save",payload:{recordLists:ft}});case 12:case"end":return It.stop()}},Je)})}},D=e(81869),$={namespace:"report",state:{reportData:[],pagination:{pageSize:8,current:1,total:0,showTotal:function(we){return"\u5171".concat(we,"\u6761\u8BB0\u5F55")}}},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{fetchReportList:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft;return p()().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,It.next=4,G(function(Kt){return Kt.report});case 4:return Be=It.sent,W=Be.pagination,It.next=8,$e(D.b,he);case 8:if(ft=It.sent,!b.Z.response(ft)){It.next=12;break}return It.next=12,Q({type:"save",payload:{reportData:ft.data,pagination:a()(a()({},W),{},{total:ft.total})}});case 12:case"end":return It.stop()}},Je)})}},Te=e(67610),Ne=function(we){var se=document.getElementById("root");se&&(se.className=we?"colorWeak":"")},Pe={namespace:"settings",state:Te.Z,reducers:{changeSetting:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Te.Z,se=arguments.length>1?arguments[1]:void 0,he=se.payload,$e=he.colorWeak,Q=he.contentWidth;return we.contentWidth!==Q&&window.dispatchEvent&&window.dispatchEvent(new Event("resize")),Ne(!!$e),a()(a()({},we),he)}}},Ae=Pe,Ie=e(12414),Ve={namespace:"testcase",state:{directory:[],currentDirectory:[],selectedRowKeys:[],directoryName:"\u52A0\u8F7D\u4E2D...",casePermission:!1,testcases:[],testResult:{},editing:!1,caseInfo:{},constructRecord:{},asserts:[],postConstructor:[],preConstructor:[],testData:{},retryResult:{},envActiveKey:"",constructors_case:{},constructorModal:!1,activeKey:"3",pagination:{current:1,total:0,showTotal:function(we){return"\u5171".concat(we,"\u6761\u7528\u4F8B")},pageSize:8},outParameters:[]},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{listTestcaseDirectory:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.bF,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{directory:G.data,currentDirectory:G.data.length>0?[G.data[0].key]:[]}});case 8:case"end":return W.stop()}},Je)}),listTestcase:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft;return p()().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,It.next=4,$e(Z.do,he);case 4:if(Be=It.sent,!b.Z.response(Be)){It.next=12;break}return It.next=8,G(function(Kt){return Kt.testcase});case 8:return W=It.sent,ft=W.pagination,It.next=12,Q({type:"save",payload:{testcases:Be.data,pagination:a()(a()({},ft),{},{total:Be.data.length,current:1})}});case 12:case"end":return It.stop()}},Je)}),queryTestcaseDirectory:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.rY,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{directoryName:G.data.name,casePermission:!0}});case 8:case"end":return W.stop()}},Je)}),insertTestcaseDirectory:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.RK,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),updateTestcaseDirectory:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.yl,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),moveTestCaseToDirectory:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.lF,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),deleteTestcaseDirectory:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.J3,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),deleteTestcase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.CE,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),queryTestcase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.Nj,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{caseInfo:G.data.case,asserts:G.data.asserts,preConstructor:G.data.constructors.filter(function(ft){return ft.suffix===!1}).map(function(ft,ct){return a()(a()({},ft),{},{index:ct})}),postConstructor:G.data.constructors.filter(function(ft){return ft.suffix===!0}).map(function(ft,ct){return a()(a()({},ft),{},{index:ct})}),constructors_case:G.data.constructors_case,testData:G.data.test_data,outParameters:[].concat(r()(G.data.out_parameters.map(function(ft,ct){return a()(a()({},ft),{},{key:ct})})),[{key:G.data.out_parameters.length,source:0}])}});case 8:case"end":return W.stop()}},Je)}),insertTestcase:p()().mark(function Je(we,se){var he,$e,Q,G,Be;return p()().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return he=we.payload,$e=se.call,Q=se.put,ft.next=4,$e(Z.rO,he);case 4:G=ft.sent,b.Z.response(G,!0)&&(Be=G.data,window.location.href="/#/apiTest/testcase/".concat(he.directory_id,"/").concat(Be));case 6:case"end":return ft.stop()}},Je)}),createTestCase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.vZ,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),updateTestcase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.LB,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=8;break}return W.next=8,Q({type:"save",payload:{caseInfo:G.data.case_info,outParameters:[].concat(r()(G.data.out_parameters.map(function(ft,ct){return a()(a()({},ft),{},{key:ct})})),[{key:G.data.out_parameters.length,source:0}]),editing:!1}});case 8:case"end":return W.stop()}},Je)}),executeTestcase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Ie.ql,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=9;break}return W.next=8,Q({type:"save",payload:{testResult:G.data}});case 8:return W.abrupt("return",!0);case 9:return W.abrupt("return",!1);case 10:case"end":return W.stop()}},Je)}),executeSelectedCase:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Q=se.put,Be.next=4,$e(Ie.QM,he);case 4:return Be.abrupt("return",Be.sent);case 5:case"end":return Be.stop()}},Je)}),insertTestCaseAsserts:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Q=se.put,Be.next=4,$e(Z.Ae,he);case 4:return Be.abrupt("return",Be.sent);case 5:case"end":return Be.stop()}},Je)}),updateTestCaseAsserts:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Q=se.put,Be.next=4,$e(Z.uQ,he);case 4:return Be.abrupt("return",Be.sent);case 5:case"end":return Be.stop()}},Je)}),deleteTestCaseAsserts:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.kK,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),onExecuteTestCase:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Q=se.put,Be.next=4,$e(Ie.ql,he);case 4:return Be.abrupt("return",Be.sent);case 5:case"end":return Be.stop()}},Je)}),insertTestcaseData:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft,ct,It;return p()().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,ln.next=4,G(function(_t){return _t.testcase});case 4:return Be=ln.sent,W=Be.testData,ft=he.env,ln.next=9,$e(Z.QW,he);case 9:if(ct=ln.sent,!b.Z.response(ct,!0)){ln.next=16;break}return It=a()({},W),It[parseInt(ft,10)]===void 0?It[parseInt(ft,10)]=[ct.data]:It[parseInt(ft,10)].push(ct.data),ln.next=15,Q({type:"save",payload:{testData:It}});case 15:return ln.abrupt("return",!0);case 16:return ln.abrupt("return",!1);case 17:case"end":return ln.stop()}},Je)}),updateTestcaseData:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft,ct,It,Kt,ln,_t;return p()().wrap(function(pn){for(;;)switch(pn.prev=pn.next){case 0:return he=we.payload,$e=se.call,Q=se.put,G=se.select,pn.next=4,G(function(nn){return nn.testcase});case 4:return Be=pn.sent,W=Be.testData,ft=he.env,pn.next=9,$e(Z.h2,he);case 9:if(ct=pn.sent,!b.Z.response(ct,!0)){pn.next=19;break}return It=a()({},W),Kt=It[parseInt(ft,10)],ln=Kt.findIndex(function(nn){return ct.data.id===nn.id}),_t=Kt[ln],Kt.splice(ln,1,a()(a()({},_t),ct.data)),pn.next=18,Q({type:"save",payload:{testData:It}});case 18:return pn.abrupt("return",!0);case 19:return pn.abrupt("return",!1);case 20:case"end":return pn.stop()}},Je)}),deleteTestcaseData:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se._,W.next=4,$e(Z.Mm,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),retryCase:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Z.OV,he);case 4:if(G=W.sent,!b.Z.response(G,!0)){W.next=7;break}return W.abrupt("return",G.data);case 7:case"end":return W.stop()}},Je)}),onlinePyScript:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se._,W.next=4,$e(Z.ag,he);case 4:if(G=W.sent,!b.Z.response(G,!1)){W.next=7;break}return W.abrupt("return",G.data);case 7:return W.abrupt("return","None");case 8:case"end":return W.stop()}},Je)})}};function Qe(Je){return at.apply(this,arguments)}function at(){return at=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/list"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),at.apply(this,arguments)}function xt(Je){return St.apply(this,arguments)}function St(){return St=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/tree"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),St.apply(this,arguments)}function jt(Je){return tn.apply(this,arguments)}function tn(){return tn=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/insert"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),tn.apply(this,arguments)}function mn(Je){return Ft.apply(this,arguments)}function Ft(){return Ft=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/update"),{method:"POST",data:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),Ft.apply(this,arguments)}function Jt(Je){return $t.apply(this,arguments)}function $t(){return $t=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/delete"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),$t.apply(this,arguments)}function Vt(Je){return On.apply(this,arguments)}function On(){return On=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/execute"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),On.apply(this,arguments)}function Xn(Je){return Tn.apply(this,arguments)}function Tn(){return Tn=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/follow"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),Tn.apply(this,arguments)}function Kn(Je){return Pn.apply(this,arguments)}function Pn(){return Pn=m()(p()().mark(function Je(we){return p()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,C.Z)("".concat(x.Z.URL,"/testcase/plan/unfollow"),{method:"GET",params:we,headers:b.Z.headers()}));case 1:case"end":return he.stop()}},Je)})),Pn.apply(this,arguments)}var Gn={namespace:"testplan",state:{planData:[],planRecord:{},planName:"",caseMap:{},visible:!1,title:"",currentStep:0,treeData:[],selectedCaseData:[]},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)}},effects:{listTestPlan:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(Qe,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{planData:G.data}});case 8:case"end":return W.stop()}},Je)}),insertTestPlan:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(jt,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),updateTestPlan:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Be.next=4,$e(mn,he);case 4:return Q=Be.sent,Be.abrupt("return",b.Z.response(Q,!0));case 6:case"end":return Be.stop()}},Je)}),deleteTestPlan:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Be.next=4,$e(Jt,he);case 4:return Q=Be.sent,Be.abrupt("return",b.Z.response(Q,!0));case 6:case"end":return Be.stop()}},Je)}),executeTestPlan:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Be.next=4,$e(Vt,he);case 4:return Q=Be.sent,Be.abrupt("return",b.Z.response(Q));case 6:case"end":return Be.stop()}},Je)}),followTestPlan:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Be.next=4,$e(Xn,he);case 4:return Q=Be.sent,Be.abrupt("return",b.Z.response(Q,!0));case 6:case"end":return Be.stop()}},Je)}),unFollowTestPlan:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=we.payload,$e=se.call,Be.next=4,$e(Kn,he);case 4:return Q=Be.sent,Be.abrupt("return",b.Z.response(Q,!0));case 6:case"end":return Be.stop()}},Je)}),listTestCaseTreeWithProjectId:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(xt,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{treeData:G.data.tree,caseMap:G.data.case_map}});case 8:case"end":return W.stop()}},Je)})}},fn=e(36981),qn=function(we){var se={},he={};return we.forEach(function($e){se[$e.id]=$e,he[$e.id]=$e.name}),{userMap:se,userNameMap:he}},rr={namespace:"user",state:{currentUser:{},userList:[],currentUserList:[],userMap:{},userNameMap:{},activities:[],operationLog:[],project_count:0,case_count:0,user_rank:0,total_user:0,weekly_case:[],followPlan:[]},effects:{fetchUserActivities:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(fn.hz,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{activities:G.data}});case 8:case"end":return W.stop()}},Je)}),fetchUserRecord:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(fn.nT,he);case 4:if(G=W.sent,!b.Z.response(G)){W.next=8;break}return W.next=8,Q({type:"save",payload:{operationLog:G.data}});case 8:case"end":return W.stop()}},Je)}),updateUser:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(fn.eD,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),deleteUser:p()().mark(function Je(we,se){var he,$e,Q,G;return p()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return he=we.payload,$e=se.call,Q=se.put,W.next=4,$e(fn.Vt,he);case 4:return G=W.sent,W.abrupt("return",b.Z.response(G,!0));case 6:case"end":return W.stop()}},Je)}),fetchUserList:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=se.call,$e=se.put,ct.next=3,he(fn.yw);case 3:return Q=ct.sent,G=qn(Q),Be=G.userMap,W=G.userNameMap,ct.next=7,$e({type:"save",payload:{userList:Q,currentUserList:Q,userMap:Be,userNameMap:W}});case 7:case"end":return ct.stop()}},Je)}),getGithubToken:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W,ft,ct;return p()().wrap(function(Kt){for(;;)switch(Kt.prev=Kt.next){case 0:return he=we.payload,$e=se.call,Q=se.put,Kt.next=4,$e(fn.bj,he);case 4:if(G=Kt.sent,G.code!==0){Kt.next=26;break}return Be=new URL(window.location.href),W=He(),F.ZP.success("\u{1F389} \u{1F389} \u{1F389} \u767B\u5F55\u6210\u529F\uFF01"),Kt.next=11,Q({type:"login/changeLoginStatus",payload:G});case 11:return Kt.next=13,Q({type:"fetchCurrent"});case 13:if(ft=W.redirect,!ft){Kt.next=23;break}if(ct=new URL(ft),ct.origin!==Be.origin){Kt.next=21;break}ft=ft.substr(Be.origin.length),ft.match(/^\/.*#/)&&(ft=ft.substr(ft.indexOf("#")+1)),Kt.next=23;break;case 21:return window.location.href="/",Kt.abrupt("return");case 23:d.history.replace(ft||"/"),Kt.next=27;break;case 26:F.ZP.error(G.msg);case 27:case"end":return Kt.stop()}},Je)}),avatar:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return he=we.payload,$e=se.call,Q=se.put,ct.next=4,$e(fn.n1,he);case 4:if(G=ct.sent,!b.Z.response(G,!0)){ct.next=12;break}return Be=localStorage.getItem("pityUser"),W=JSON.parse(Be),W.avatar=G.data,localStorage.setItem("pityUser",JSON.stringify(W)),ct.next=12,Q({type:"saveCurrentUser",payload:W});case 12:case"end":return ct.stop()}},Je)}),queryUserStatistics:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=se.call,$e=se.put,Be.next=3,he(fn.bF);case 3:if(Q=Be.sent,!b.Z.response(Q)){Be.next=7;break}return Be.next=7,$e({type:"save",payload:{project_count:Q.data.project_count,case_count:Q.data.case_count,user_rank:Q.data.user_rank,total_user:Q.data.total_user,weekly_case:Q.data.weekly_case}});case 7:case"end":return Be.stop()}},Je)}),queryFollowTestPlanData:p()().mark(function Je(we,se){var he,$e,Q;return p()().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return he=se.call,$e=se.put,Be.next=3,he(fn.S7);case 3:if(Q=Be.sent,!b.Z.response(Q)){Be.next=7;break}return Be.next=7,$e({type:"save",payload:{followPlan:Q.data}});case 7:case"end":return Be.stop()}},Je)}),fetchCurrent:p()().mark(function Je(we,se){var he,$e,Q,G,Be,W;return p()().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:if(he=se.call,$e=se.put,Q=localStorage.getItem("pityToken"),G=localStorage.getItem("pityUser"),Be=localStorage.getItem("pityExpire"),!(!Q||!G||new Date().getTime()/1e3>Be)){ct.next=10;break}return F.ZP.info("\u767B\u5F55\u4FE1\u606F\u5DF2\u5931\u6548"),localStorage.removeItem("pityToken"),localStorage.removeItem("pityUser"),d.history.replace({pathname:"/user/login",search:(0,R.stringify)({redirect:window.location.href})}),ct.abrupt("return");case 10:return W=JSON.parse(G),ct.next=13,$e({type:"saveCurrentUser",payload:W});case 13:case"end":return ct.stop()}},Je)})},reducers:{save:function(we,se){var he=se.payload;return a()(a()({},we),he)},saveCurrentUser:function(we,se){return localStorage.setItem("pityUser",JSON.stringify(se.payload||{})),a()(a()({},we),{},{currentUser:se.payload||{}})},changeNotifyCount:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{currentUser:{}},se=arguments.length>1?arguments[1]:void 0;return a()(a()({},we),{},{currentUser:a()(a()({},we.currentUser),{},{notifyCount:se.payload.totalCount,unreadCount:se.payload.unreadCount})})}}},Qn=rr,kn={model_1:{namespace:"constructor",model:ie},model_2:{namespace:"gconfig",model:U},model_3:{namespace:"login",model:J},model_4:{namespace:"online",model:me},model_5:{namespace:"project",model:Ye},model_6:{namespace:"recorder",model:it},model_7:{namespace:"report",model:$},model_8:{namespace:"setting",model:Ae},model_9:{namespace:"testcase",model:Ve},model_10:{namespace:"testplan",model:Gn},model_11:{namespace:"user",model:Qn}},Un=e(85893),Yn;function hr(Je){var we=(0,d.useAppData)(),se=we.pluginManager,he=(0,l.useRef)(),$e=se.applyPlugins({key:"dva",type:d.ApplyPluginsType.modify,initialValue:{}});if(!he.current){he.current=(0,s.Ue)(a()({history:d.history},$e.config||{}),{initialReducer:{},setupMiddlewares:function(ft){return r()(ft)},setupApp:function(ft){ft._history=d.history}}),Yn=he.current,he.current.use(c()()),($e.plugins||[]).forEach(function(W){he.current.use(W)});for(var Q=0,G=Object.keys(kn);Q0&&arguments[0]!==void 0?arguments[0]:"",te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return q.startsWith("/")?q:"".concat(te.replace(/\/$/,""),"/").concat(q)},dt=function(q,te){var de={},Ee=function pe(Y,re){for(var ge=0;ge1&&arguments[1]!==void 0?arguments[1]:{},de=Object.entries(te),Ee=q,pe=0,Y=de;pe0){for(ua=1,Za=1;uaXo&&(Xo=et,Ii=[]),Ii.push(Ue))}function Ll(Ue,Ct){return new K(Ue,[],"",Ct)}function as(Ue,Ct,An){return new K(K.buildMessage(Ue,Ct),Ue,Ct,An)}function Bi(){var Ue;return Ue=Fs(),Ue}function Fs(){var Ue,Ct;for(Ue=[],Ct=wl();Ct!==le;)Ue.push(Ct),Ct=wl();return Ue}function wl(){var Ue;return Ue=Jl(),Ue===le&&(Ue=eu(),Ue===le&&(Ue=au(),Ue===le&&(Ue=ou(),Ue===le&&(Ue=iu(),Ue===le&&(Ue=ql()))))),Ue}function ul(){var Ue,Ct,An;if(Ue=et,Ct=[],An=Vs(),An===le&&(An=Ul(),An===le&&(An=Wl())),An!==le)for(;An!==le;)Ct.push(An),An=Vs(),An===le&&(An=Ul(),An===le&&(An=Wl()));else Ct=le;return Ct!==le&&(wa=Ue,Ct=tr(Ct)),Ue=Ct,Ue}function Jl(){var Ue,Ct;return Ue=et,Ct=ul(),Ct!==le&&(wa=Ue,Ct=Er(Ct)),Ue=Ct,Ue}function ql(){var Ue,Ct;return Ue=et,_e.charCodeAt(et)===35?(Ct=wr,et++):(Ct=le,Ar===0&&sa(ia)),Ct!==le&&(wa=Ue,Ct=Va()),Ue=Ct,Ue}function eu(){var Ue,Ct,An,gr,_r,Ga;return Ar++,Ue=et,_e.charCodeAt(et)===123?(Ct=Lr,et++):(Ct=le,Ar===0&&sa(ua)),Ct!==le?(An=Ao(),An!==le?(gr=Ms(),gr!==le?(_r=Ao(),_r!==le?(_e.charCodeAt(et)===125?(Ga=Za,et++):(Ga=le,Ar===0&&sa(so)),Ga!==le?(wa=Ue,Ct=Jo(gr),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ar--,Ue===le&&(Ct=le,Ar===0&&sa(qr)),Ue}function $l(){var Ue,Ct,An,gr,_r;if(Ar++,Ue=et,Ct=[],An=et,gr=et,Ar++,_r=Zs(),_r===le&&(zo.test(_e.charAt(et))?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(yo))),Ar--,_r===le?gr=void 0:(et=gr,gr=le),gr!==le?(_e.length>et?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(to)),_r!==le?(gr=[gr,_r],An=gr):(et=An,An=le)):(et=An,An=le),An!==le)for(;An!==le;)Ct.push(An),An=et,gr=et,Ar++,_r=Zs(),_r===le&&(zo.test(_e.charAt(et))?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(yo))),Ar--,_r===le?gr=void 0:(et=gr,gr=le),gr!==le?(_e.length>et?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(to)),_r!==le?(gr=[gr,_r],An=gr):(et=An,An=le)):(et=An,An=le);else Ct=le;return Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ar--,Ue===le&&(Ct=le,Ar===0&&sa(Go)),Ue}function Nl(){var Ue,Ct,An;return Ar++,Ue=et,_e.charCodeAt(et)===47?(Ct=No,et++):(Ct=le,Ar===0&&sa(Lo)),Ct!==le?(An=$l(),An!==le?(wa=Ue,Ct=li(An),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ar--,Ue===le&&(Ct=le,Ar===0&&sa(ko)),Ue}function jl(){var Ue,Ct,An,gr,_r;if(Ar++,Ue=et,Ct=Ao(),Ct!==le)if(An=$l(),An!==le){for(gr=[],_r=Nl();_r!==le;)gr.push(_r),_r=Nl();gr!==le?(wa=Ue,Ct=ea(An,gr),Ue=Ct):(et=Ue,Ue=le)}else et=Ue,Ue=le;else et=Ue,Ue=le;return Ar--,Ue===le&&(Ct=le,Ar===0&&sa(xr)),Ue}function tu(){var Ue,Ct,An;if(Ue=et,Ct=[],An=jl(),An!==le)for(;An!==le;)Ct.push(An),An=jl();else Ct=le;return Ct!==le&&(wa=Ue,Ct=aa(Ct)),Ue=Ct,Ue}function nu(){var Ue,Ct,An;return Ue=et,_e.substr(et,2)===Ka?(Ct=Ka,et+=2):(Ct=le,Ar===0&&sa(qa)),Ct!==le?(An=tu(),An!==le?(wa=Ue,Ct=Ma(An),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ue===le&&(Ue=et,wa=et,Ct=fa(),Ct?Ct=void 0:Ct=le,Ct!==le?(An=ul(),An!==le?(wa=Ue,Ct=ga(An),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)),Ue}function cl(){var Ue,Ct,An,gr,_r,Ga,Uo,Mo,Ai,Io,Ko,Do,Vo;return Ue=et,_e.charCodeAt(et)===123?(Ct=Lr,et++):(Ct=le,Ar===0&&sa(ua)),Ct!==le?(An=Ao(),An!==le?(gr=Ms(),gr!==le?(_r=Ao(),_r!==le?(_e.charCodeAt(et)===44?(Ga=Ro,et++):(Ga=le,Ar===0&&sa(Fo)),Ga!==le?(Uo=Ao(),Uo!==le?(_e.substr(et,6)===ss?(Mo=ss,et+=6):(Mo=le,Ar===0&&sa(Wr)),Mo!==le?(Ai=Ao(),Ai!==le?(Io=et,_e.charCodeAt(et)===44?(Ko=Ro,et++):(Ko=le,Ar===0&&sa(Fo)),Ko!==le?(Do=Ao(),Do!==le?(Vo=nu(),Vo!==le?(Ko=[Ko,Do,Vo],Io=Ko):(et=Io,Io=le)):(et=Io,Io=le)):(et=Io,Io=le),Io===le&&(Io=null),Io!==le?(Ko=Ao(),Ko!==le?(_e.charCodeAt(et)===125?(Do=Za,et++):(Do=le,Ar===0&&sa(so)),Do!==le?(wa=Ue,Ct=ni(gr,Mo,Io),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ue}function Fl(){var Ue,Ct,An,gr;if(Ue=et,_e.charCodeAt(et)===39?(Ct=wi,et++):(Ct=le,Ar===0&&sa(ji)),Ct!==le){if(An=[],gr=Vs(),gr===le&&(bo.test(_e.charAt(et))?(gr=_e.charAt(et),et++):(gr=le,Ar===0&&sa(Vi))),gr!==le)for(;gr!==le;)An.push(gr),gr=Vs(),gr===le&&(bo.test(_e.charAt(et))?(gr=_e.charAt(et),et++):(gr=le,Ar===0&&sa(Vi)));else An=le;An!==le?(_e.charCodeAt(et)===39?(gr=wi,et++):(gr=le,Ar===0&&sa(ji)),gr!==le?(Ct=[Ct,An,gr],Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)}else et=Ue,Ue=le;if(Ue===le)if(Ue=[],Ct=Vs(),Ct===le&&(hi.test(_e.charAt(et))?(Ct=_e.charAt(et),et++):(Ct=le,Ar===0&&sa(fi))),Ct!==le)for(;Ct!==le;)Ue.push(Ct),Ct=Vs(),Ct===le&&(hi.test(_e.charAt(et))?(Ct=_e.charAt(et),et++):(Ct=le,Ar===0&&sa(fi)));else Ue=le;return Ue}function dl(){var Ue,Ct;if(Ue=[],ls.test(_e.charAt(et))?(Ct=_e.charAt(et),et++):(Ct=le,Ar===0&&sa(Gi)),Ct!==le)for(;Ct!==le;)Ue.push(Ct),ls.test(_e.charAt(et))?(Ct=_e.charAt(et),et++):(Ct=le,Ar===0&&sa(Gi));else Ue=le;return Ue}function Ol(){var Ue,Ct,An,gr;if(Ue=et,Ct=et,An=[],gr=Fl(),gr===le&&(gr=dl()),gr!==le)for(;gr!==le;)An.push(gr),gr=Fl(),gr===le&&(gr=dl());else An=le;return An!==le?Ct=_e.substring(Ct,et):Ct=An,Ct!==le&&(wa=Ue,Ct=Ji(Ct)),Ue=Ct,Ue}function ru(){var Ue,Ct,An;return Ue=et,_e.substr(et,2)===Ka?(Ct=Ka,et+=2):(Ct=le,Ar===0&&sa(qa)),Ct!==le?(An=Ol(),An!==le?(wa=Ue,Ct=Ma(An),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ue===le&&(Ue=et,wa=et,Ct=gs(),Ct?Ct=void 0:Ct=le,Ct!==le?(An=ul(),An!==le?(wa=Ue,Ct=ga(An),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)),Ue}function Zl(){var Ue,Ct,An,gr,_r,Ga,Uo,Mo,Ai,Io,Ko,Do,Vo;return Ue=et,_e.charCodeAt(et)===123?(Ct=Lr,et++):(Ct=le,Ar===0&&sa(ua)),Ct!==le?(An=Ao(),An!==le?(gr=Ms(),gr!==le?(_r=Ao(),_r!==le?(_e.charCodeAt(et)===44?(Ga=Ro,et++):(Ga=le,Ar===0&&sa(Fo)),Ga!==le?(Uo=Ao(),Uo!==le?(_e.substr(et,4)===qs?(Mo=qs,et+=4):(Mo=le,Ar===0&&sa(Fi)),Mo===le&&(_e.substr(et,4)===ks?(Mo=ks,et+=4):(Mo=le,Ar===0&&sa(yi))),Mo!==le?(Ai=Ao(),Ai!==le?(Io=et,_e.charCodeAt(et)===44?(Ko=Ro,et++):(Ko=le,Ar===0&&sa(Fo)),Ko!==le?(Do=Ao(),Do!==le?(Vo=ru(),Vo!==le?(Ko=[Ko,Do,Vo],Io=Ko):(et=Io,Io=le)):(et=Io,Io=le)):(et=Io,Io=le),Io===le&&(Io=null),Io!==le?(Ko=Ao(),Ko!==le?(_e.charCodeAt(et)===125?(Do=Za,et++):(Do=le,Ar===0&&sa(so)),Do!==le?(wa=Ue,Ct=ni(gr,Mo,Io),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ue}function au(){var Ue;return Ue=cl(),Ue===le&&(Ue=Zl()),Ue}function ou(){var Ue,Ct,An,gr,_r,Ga,Uo,Mo,Ai,Io,Ko,Do,Vo,Yi,Qo,mi;if(Ue=et,_e.charCodeAt(et)===123?(Ct=Lr,et++):(Ct=le,Ar===0&&sa(ua)),Ct!==le)if(An=Ao(),An!==le)if(gr=Ms(),gr!==le)if(_r=Ao(),_r!==le)if(_e.charCodeAt(et)===44?(Ga=Ro,et++):(Ga=le,Ar===0&&sa(Fo)),Ga!==le)if(Uo=Ao(),Uo!==le)if(_e.substr(et,6)===bi?(Mo=bi,et+=6):(Mo=le,Ar===0&&sa(Ho)),Mo===le&&(_e.substr(et,13)===Oi?(Mo=Oi,et+=13):(Mo=le,Ar===0&&sa(hl))),Mo!==le)if(Ai=Ao(),Ai!==le)if(_e.charCodeAt(et)===44?(Io=Ro,et++):(Io=le,Ar===0&&sa(Fo)),Io!==le)if(Ko=Ao(),Ko!==le)if(Do=et,_e.substr(et,7)===Us?(Vo=Us,et+=7):(Vo=le,Ar===0&&sa(As)),Vo!==le?(Yi=Ao(),Yi!==le?(Qo=kl(),Qo!==le?(Vo=[Vo,Yi,Qo],Do=Vo):(et=Do,Do=le)):(et=Do,Do=le)):(et=Do,Do=le),Do===le&&(Do=null),Do!==le)if(Vo=Ao(),Vo!==le){if(Yi=[],Qo=Bl(),Qo!==le)for(;Qo!==le;)Yi.push(Qo),Qo=Bl();else Yi=le;Yi!==le?(Qo=Ao(),Qo!==le?(_e.charCodeAt(et)===125?(mi=Za,et++):(mi=le,Ar===0&&sa(so)),mi!==le?(wa=Ue,Ct=el(gr,Mo,Do,Yi),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)}else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;return Ue}function iu(){var Ue,Ct,An,gr,_r,Ga,Uo,Mo,Ai,Io,Ko,Do,Vo,Yi;if(Ue=et,_e.charCodeAt(et)===123?(Ct=Lr,et++):(Ct=le,Ar===0&&sa(ua)),Ct!==le)if(An=Ao(),An!==le)if(gr=Ms(),gr!==le)if(_r=Ao(),_r!==le)if(_e.charCodeAt(et)===44?(Ga=Ro,et++):(Ga=le,Ar===0&&sa(Fo)),Ga!==le)if(Uo=Ao(),Uo!==le)if(_e.substr(et,6)===Zi?(Mo=Zi,et+=6):(Mo=le,Ar===0&&sa(Ds)),Mo!==le)if(Ai=Ao(),Ai!==le)if(_e.charCodeAt(et)===44?(Io=Ro,et++):(Io=le,Ar===0&&sa(Fo)),Io!==le)if(Ko=Ao(),Ko!==le){if(Do=[],Vo=Tl(),Vo!==le)for(;Vo!==le;)Do.push(Vo),Vo=Tl();else Do=le;Do!==le?(Vo=Ao(),Vo!==le?(_e.charCodeAt(et)===125?(Yi=Za,et++):(Yi=le,Ar===0&&sa(so)),Yi!==le?(wa=Ue,Ct=yl(gr,Do),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)}else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;else et=Ue,Ue=le;return Ue}function su(){var Ue,Ct,An,gr;return Ue=et,Ct=et,_e.charCodeAt(et)===61?(An=ws,et++):(An=le,Ar===0&&sa(tl)),An!==le?(gr=kl(),gr!==le?(An=[An,gr],Ct=An):(et=Ct,Ct=le)):(et=Ct,Ct=le),Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ue===le&&(Ue=Hl()),Ue}function Tl(){var Ue,Ct,An,gr,_r,Ga,Uo,Mo;return Ue=et,Ct=Ao(),Ct!==le?(An=Hl(),An!==le?(gr=Ao(),gr!==le?(_e.charCodeAt(et)===123?(_r=Lr,et++):(_r=le,Ar===0&&sa(ua)),_r!==le?(wa=et,Ga=Dl(An),Ga?Ga=void 0:Ga=le,Ga!==le?(Uo=Fs(),Uo!==le?(_e.charCodeAt(et)===125?(Mo=Za,et++):(Mo=le,Ar===0&&sa(so)),Mo!==le?(wa=Ue,Ct=Ls(An,Uo),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ue}function Bl(){var Ue,Ct,An,gr,_r,Ga,Uo,Mo;return Ue=et,Ct=Ao(),Ct!==le?(An=su(),An!==le?(gr=Ao(),gr!==le?(_e.charCodeAt(et)===123?(_r=Lr,et++):(_r=le,Ar===0&&sa(ua)),_r!==le?(wa=et,Ga=Ws(An),Ga?Ga=void 0:Ga=le,Ga!==le?(Uo=Fs(),Uo!==le?(_e.charCodeAt(et)===125?(Mo=Za,et++):(Mo=le,Ar===0&&sa(so)),Mo!==le?(wa=Ue,Ct=bl(An,Uo),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ue}function Zs(){var Ue,Ct;return Ar++,Os.test(_e.charAt(et))?(Ue=_e.charAt(et),et++):(Ue=le,Ar===0&&sa(Cl)),Ar--,Ue===le&&(Ct=le,Ar===0&&sa(Sl)),Ue}function zl(){var Ue,Ct;return Ar++,Ki.test(_e.charAt(et))?(Ue=_e.charAt(et),et++):(Ue=le,Ar===0&&sa(Ts)),Ar--,Ue===le&&(Ct=le,Ar===0&&sa(Hs)),Ue}function Ao(){var Ue,Ct,An;for(Ar++,Ue=et,Ct=[],An=Zs();An!==le;)Ct.push(An),An=Zs();return Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ar--,Ue===le&&(Ct=le,Ar===0&&sa(nl)),Ue}function kl(){var Ue,Ct,An;return Ar++,Ue=et,_e.charCodeAt(et)===45?(Ct=al,et++):(Ct=le,Ar===0&&sa(ol)),Ct===le&&(Ct=null),Ct!==le?(An=uu(),An!==le?(wa=Ue,Ct=Ps(Ct,An),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le),Ar--,Ue===le&&(Ct=le,Ar===0&&sa(rl)),Ue}function ic(){var Ue,Ct;return Ar++,_e.charCodeAt(et)===39?(Ue=wi,et++):(Ue=le,Ar===0&&sa(ji)),Ar--,Ue===le&&(Ct=le,Ar===0&&sa(Mi)),Ue}function Vs(){var Ue,Ct;return Ar++,Ue=et,_e.substr(et,2)===ui?(Ct=ui,et+=2):(Ct=le,Ar===0&&sa(qi)),Ct!==le&&(wa=Ue,Ct=es()),Ue=Ct,Ar--,Ue===le&&(Ct=le,Ar===0&&sa(hs)),Ue}function Ul(){var Ue,Ct,An,gr,_r,Ga;if(Ue=et,_e.charCodeAt(et)===39?(Ct=wi,et++):(Ct=le,Ar===0&&sa(ji)),Ct!==le)if(An=lu(),An!==le){for(gr=et,_r=[],_e.substr(et,2)===ui?(Ga=ui,et+=2):(Ga=le,Ar===0&&sa(qi)),Ga===le&&(bo.test(_e.charAt(et))?(Ga=_e.charAt(et),et++):(Ga=le,Ar===0&&sa(Vi)));Ga!==le;)_r.push(Ga),_e.substr(et,2)===ui?(Ga=ui,et+=2):(Ga=le,Ar===0&&sa(qi)),Ga===le&&(bo.test(_e.charAt(et))?(Ga=_e.charAt(et),et++):(Ga=le,Ar===0&&sa(Vi)));_r!==le?gr=_e.substring(gr,et):gr=_r,gr!==le?(_e.charCodeAt(et)===39?(_r=wi,et++):(_r=le,Ar===0&&sa(ji)),_r===le&&(_r=null),_r!==le?(wa=Ue,Ct=us(An,gr),Ue=Ct):(et=Ue,Ue=le)):(et=Ue,Ue=le)}else et=Ue,Ue=le;else et=Ue,Ue=le;return Ue}function Wl(){var Ue,Ct,An,gr;return Ue=et,Ct=et,_e.length>et?(An=_e.charAt(et),et++):(An=le,Ar===0&&sa(to)),An!==le?(wa=et,gr=il(An),gr?gr=void 0:gr=le,gr!==le?(An=[An,gr],Ct=An):(et=Ct,Ct=le)):(et=Ct,Ct=le),Ct===le&&(_e.charCodeAt(et)===10?(Ct=El,et++):(Ct=le,Ar===0&&sa(ts))),Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ue}function lu(){var Ue,Ct,An,gr;return Ue=et,Ct=et,_e.length>et?(An=_e.charAt(et),et++):(An=le,Ar===0&&sa(to)),An!==le?(wa=et,gr=_i(An),gr?gr=void 0:gr=le,gr!==le?(An=[An,gr],Ct=An):(et=Ct,Ct=le)):(et=Ct,Ct=le),Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ue}function Ms(){var Ue,Ct;return Ar++,Ue=et,Ct=uu(),Ct===le&&(Ct=Hl()),Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ar--,Ue===le&&(Ct=le,Ar===0&&sa(ns)),Ue}function uu(){var Ue,Ct,An,gr,_r;if(Ar++,Ue=et,_e.charCodeAt(et)===48?(Ct=Co,et++):(Ct=le,Ar===0&&sa(E)),Ct!==le&&(wa=Ue,Ct=z()),Ue=Ct,Ue===le){if(Ue=et,Ct=et,be.test(_e.charAt(et))?(An=_e.charAt(et),et++):(An=le,Ar===0&&sa(je)),An!==le){for(gr=[],lt.test(_e.charAt(et))?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(Yt));_r!==le;)gr.push(_r),lt.test(_e.charAt(et))?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(Yt));gr!==le?(An=[An,gr],Ct=An):(et=Ct,Ct=le)}else et=Ct,Ct=le;Ct!==le&&(wa=Ue,Ct=dr(Ct)),Ue=Ct}return Ar--,Ue===le&&(Ct=le,Ar===0&&sa($s)),Ue}function Hl(){var Ue,Ct,An,gr,_r;if(Ar++,Ue=et,Ct=[],An=et,gr=et,Ar++,_r=Zs(),_r===le&&(_r=zl()),Ar--,_r===le?gr=void 0:(et=gr,gr=le),gr!==le?(_e.length>et?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(to)),_r!==le?(gr=[gr,_r],An=gr):(et=An,An=le)):(et=An,An=le),An!==le)for(;An!==le;)Ct.push(An),An=et,gr=et,Ar++,_r=Zs(),_r===le&&(_r=zl()),Ar--,_r===le?gr=void 0:(et=gr,gr=le),gr!==le?(_e.length>et?(_r=_e.charAt(et),et++):(_r=le,Ar===0&&sa(to)),_r!==le?(gr=[gr,_r],An=gr):(et=An,An=le)):(et=An,An=le);else Ct=le;return Ct!==le?Ue=_e.substring(Ue,et):Ue=Ct,Ar--,Ue===le&&(Ct=le,Ar===0&&sa(Sa)),Ue}var cs=["root"];function os(){return cs.length>1}function Pl(){return cs[cs.length-1]==="plural"}function zi(){return mt&&mt.captureLocation?{location:ys()}:{}}if(Ns=cn(),Ns!==le&&et===_e.length)return Ns;throw Ns!==le&&et<_e.length&&sa(ll()),as(Ii,Xo<_e.length?_e.charAt(Xo):null,Xo<_e.length?js(Xo,Xo+1):js(Xo,Xo))}var V=_,De=function(){for(var _e=0,mt=0,le=arguments.length;mt1)throw new RangeError("Fraction-precision stems only accept a single optional option");cn.stem.replace(j,function(Er,wr,ia){return Er==="."?mt.maximumFractionDigits=0:ia==="+"?mt.minimumFractionDigits=ia.length:wr[0]==="#"?mt.maximumFractionDigits=wr.length:(mt.minimumFractionDigits=wr.length,mt.maximumFractionDigits=wr.length+(typeof ia=="string"?ia.length:0)),""}),cn.options.length&&(mt=tt(tt({},mt),te(cn.options[0])));continue}if(q.test(cn.stem)){mt=tt(tt({},mt),te(cn.stem));continue}var tr=de(cn.stem);tr&&(mt=tt(tt({},mt),tr))}return mt}var Y=function(){var _e=function(mt,le){return _e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ut,cn){Ut.__proto__=cn}||function(Ut,cn){for(var tr in cn)cn.hasOwnProperty(tr)&&(Ut[tr]=cn[tr])},_e(mt,le)};return function(mt,le){_e(mt,le);function Ut(){this.constructor=mt}mt.prototype=le===null?Object.create(le):(Ut.prototype=le.prototype,new Ut)}}(),re=function(){for(var _e=0,mt=0,le=arguments.length;mt(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ae=Date.now()+"@@",Ie=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Ve(_e,mt,le){var Ut=_e.tagName,cn=_e.outerHTML,tr=_e.textContent,Er=_e.childNodes;if(!Ut)return Ne(tr||"",mt);Ut=Ut.toLowerCase();var wr=~Ie.indexOf(Ut),ia=le[Ut];if(ia&&wr)throw new ge(Ut+" is a self-closing tag and can not be used, please use another tag name.");if(!Er.length)return[cn];var Va=Array.prototype.slice.call(Er).reduce(function(qr,Lr){return qr.concat(Ve(Lr,mt,le))},[]);return ia?typeof ia=="function"?[ia.apply(void 0,Va)]:[ia]:re(["<"+Ut+">"],Va,[""])}function Qe(_e,mt,le,Ut,cn,tr){var Er=Se(_e,mt,le,Ut,cn,void 0,tr),wr={},ia=Er.reduce(function(ua,Za){if(Za.type===0)return ua+=Za.value;var so=Te();return wr[so]=Za.value,ua+=""+it+so+it},"");if(!Pe.test(ia))return Ne(ia,wr);if(!cn)throw new ge("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new ge("Cannot format XML message without DOMParser");Ye||(Ye=new DOMParser);var Va=Ye.parseFromString(''+ia+"","text/html").getElementById(Ae);if(!Va)throw new ge("Malformed HTML message "+ia);var qr=Object.keys(cn).filter(function(ua){return!!Va.getElementsByTagName(ua).length});if(!qr.length)return Ne(ia,wr);var Lr=qr.filter(function(ua){return ua!==ua.toLowerCase()});if(Lr.length)throw new ge("HTML tag must be lowercased but the following tags are not: "+Lr.join(", "));return Array.prototype.slice.call(Va.childNodes).reduce(function(ua,Za){return ua.concat(Ve(Za,wr,cn))},[])}var at=function(){return at=Object.assign||function(_e){for(var mt,le=1,Ut=arguments.length;le<"']/g;function On(_e){return(""+_e).replace(Vt,function(mt){return $t[mt.charCodeAt(0)]})}function Xn(_e,mt){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return mt.reduce(function(Ut,cn){return cn in _e?Ut[cn]=_e[cn]:cn in le&&(Ut[cn]=le[cn]),Ut},{})}function Tn(_e){Jt(_e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function Kn(_e,mt){var le=mt?` +`.concat(mt.stack):"";return"[React Intl] ".concat(_e).concat(le)}function Pn(_e){}var Gn={formats:{},messages:{},timeZone:void 0,textComponent:p.Fragment,defaultLocale:"en",defaultFormats:{},onError:Pn};function fn(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function qn(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn(),mt=Intl.RelativeTimeFormat,le=Intl.ListFormat,Ut=Intl.DisplayNames;return{getDateTimeFormat:He(Intl.DateTimeFormat,_e.dateTime),getNumberFormat:He(Intl.NumberFormat,_e.number),getMessageFormat:He(Ft,_e.message),getRelativeTimeFormat:He(mt,_e.relativeTime),getPluralRules:He(Intl.PluralRules,_e.pluralRules),getListFormat:He(le,_e.list),getDisplayNames:He(Ut,_e.displayNames)}}function rr(_e,mt,le,Ut){var cn=_e&&_e[mt],tr;if(cn&&(tr=cn[le]),tr)return tr;Ut(Kn("No ".concat(mt," format named: ").concat(le)))}var Qn=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function kn(_e,mt){var le=_e.locale,Ut=_e.formats,cn=_e.onError,tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Er=tr.format,wr=Er&&rr(Ut,"number",Er,cn)||{},ia=Xn(tr,Qn,wr);return mt(le,ia)}function Un(_e,mt,le){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return kn(_e,mt,Ut).format(le)}catch(cn){_e.onError(Kn("Error formatting number.",cn))}return String(le)}function Yn(_e,mt,le){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return kn(_e,mt,Ut).formatToParts(le)}catch(cn){_e.onError(Kn("Error formatting number.",cn))}return[]}var hr=["numeric","style"];function Pr(_e,mt){var le=_e.locale,Ut=_e.formats,cn=_e.onError,tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Er=tr.format,wr=!!Er&&rr(Ut,"relative",Er,cn)||{},ia=Xn(tr,hr,wr);return mt(le,ia)}function Je(_e,mt,le,Ut){var cn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Ut||(Ut="second");var tr=Intl.RelativeTimeFormat;tr||_e.onError(Kn(`Intl.RelativeTimeFormat is not available in this environment. +Try polyfilling it using "@formatjs/intl-relativetimeformat" +`));try{return Pr(_e,mt,cn).format(le,Ut)}catch(Er){_e.onError(Kn("Error formatting relative time.",Er))}return String(le)}var we=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function se(_e,mt,le){var Ut=_e.locale,cn=_e.formats,tr=_e.onError,Er=_e.timeZone,wr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ia=wr.format,Va=Object.assign(Object.assign({},Er&&{timeZone:Er}),ia&&rr(cn,mt,ia,tr)),qr=Xn(wr,we,Va);return mt==="time"&&!qr.hour&&!qr.minute&&!qr.second&&(qr=Object.assign(Object.assign({},qr),{hour:"numeric",minute:"numeric"})),le(Ut,qr)}function he(_e,mt,le){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},cn=typeof le=="string"?new Date(le||0):le;try{return se(_e,"date",mt,Ut).format(cn)}catch(tr){_e.onError(Kn("Error formatting date.",tr))}return String(cn)}function $e(_e,mt,le){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},cn=typeof le=="string"?new Date(le||0):le;try{return se(_e,"time",mt,Ut).format(cn)}catch(tr){_e.onError(Kn("Error formatting time.",tr))}return String(cn)}function Q(_e,mt,le){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},cn=typeof le=="string"?new Date(le||0):le;try{return se(_e,"date",mt,Ut).formatToParts(cn)}catch(tr){_e.onError(Kn("Error formatting date.",tr))}return[]}function G(_e,mt,le){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},cn=typeof le=="string"?new Date(le||0):le;try{return se(_e,"time",mt,Ut).formatToParts(cn)}catch(tr){_e.onError(Kn("Error formatting time.",tr))}return[]}var Be=["localeMatcher","type"];function W(_e,mt,le){var Ut=_e.locale,cn=_e.onError,tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||cn(Kn(`Intl.PluralRules is not available in this environment. +Try polyfilling it using "@formatjs/intl-pluralrules" +`));var Er=Xn(tr,Be);try{return mt(Ut,Er).select(le)}catch(wr){cn(Kn("Error formatting plural.",wr))}return"other"}var ft=e(19632),ct=e.n(ft);function It(_e,mt){return Object.keys(_e).reduce(function(le,Ut){return le[Ut]=Object.assign({timeZone:mt},_e[Ut]),le},{})}function Kt(_e,mt){var le=Object.keys(Object.assign(Object.assign({},_e),mt));return le.reduce(function(Ut,cn){return Ut[cn]=Object.assign(Object.assign({},_e[cn]||{}),mt[cn]||{}),Ut},{})}function ln(_e,mt){if(!mt)return _e;var le=Ft.formats;return Object.assign(Object.assign(Object.assign({},le),_e),{date:Kt(It(le.date,mt),It(_e.date||{},mt)),time:Kt(It(le.time,mt),It(_e.time||{},mt))})}var _t=function(mt){return p.createElement.apply(v,[p.Fragment,null].concat(ct()(mt)))};function Mn(_e,mt){var le=_e.locale,Ut=_e.formats,cn=_e.messages,tr=_e.defaultLocale,Er=_e.defaultFormats,wr=_e.onError,ia=_e.timeZone,Va=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},qr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Lr=Va.id,ua=Va.defaultMessage;Jt(!!Lr,"[React Intl] An `id` must be provided to format a message.");var Za=cn&&cn[String(Lr)];Ut=ln(Ut,ia),Er=ln(Er,ia);var so=[];if(Za)try{var Jo=mt.getMessageFormat(Za,le,Ut,{formatters:mt});so=Jo.formatHTMLMessage(qr)}catch(zo){wr(Kn('Error formatting message: "'.concat(Lr,'" for locale: "').concat(le,'"')+(ua?", using default message as fallback.":""),zo))}else(!ua||le&&le.toLowerCase()!==tr.toLowerCase())&&wr(Kn('Missing message: "'.concat(Lr,'" for locale: "').concat(le,'"')+(ua?", using default message as fallback.":"")));if(!so.length&&ua)try{var Go=mt.getMessageFormat(ua,tr,Er);so=Go.formatHTMLMessage(qr)}catch(zo){wr(Kn('Error formatting the default message for: "'.concat(Lr,'"'),zo))}return so.length?so.length===1&&typeof so[0]=="string"?so[0]||ua||String(Lr):_t(so):(wr(Kn('Cannot format message: "'.concat(Lr,'", ')+"using message ".concat(Za||ua?"source":"id"," as fallback."))),typeof Za=="string"?Za||ua||String(Lr):ua||String(Lr))}function pn(_e,mt){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},cn=Object.keys(Ut).reduce(function(tr,Er){var wr=Ut[Er];return tr[Er]=typeof wr=="string"?On(wr):wr,tr},{});return Mn(_e,mt,le,cn)}var nn=e(38138),yt=e.n(nn),Lt=e(52677),rn=e.n(Lt),At=["localeMatcher","type","style"],Zt=Date.now();function Xt(_e){return"".concat(Zt,"_").concat(_e,"_").concat(Zt)}function an(_e,mt,le){var Ut=_e.locale,cn=_e.onError,tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Er=Intl.ListFormat;Er||cn(Kn(`Intl.ListFormat is not available in this environment. +Try polyfilling it using "@formatjs/intl-listformat" +`));var wr=Xn(tr,At);try{var ia={},Va=le.map(function(Lr,ua){if(rn()(Lr)==="object"){var Za=Xt(ua);return ia[Za]=Lr,Za}return String(Lr)});if(!Object.keys(ia).length)return mt(Ut,wr).format(Va);var qr=mt(Ut,wr).formatToParts(Va);return qr.reduce(function(Lr,ua){var Za=ua.value;return ia[Za]?Lr.push(ia[Za]):typeof Lr[Lr.length-1]=="string"?Lr[Lr.length-1]+=Za:Lr.push(Za),Lr},[])}catch(Lr){cn(Kn("Error formatting list.",Lr))}return le}var Nn=["localeMatcher","style","type","fallback"];function fr(_e,mt,le){var Ut=_e.locale,cn=_e.onError,tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Er=Intl.DisplayNames;Er||cn(Kn(`Intl.DisplayNames is not available in this environment. +Try polyfilling it using "@formatjs/intl-displaynames" +`));var wr=Xn(tr,Nn);try{return mt(Ut,wr).of(le)}catch(ia){cn(Kn("Error formatting display name.",ia))}}var Dn=yt()||nn;function En(_e){return{locale:_e.locale,timeZone:_e.timeZone,formats:_e.formats,textComponent:_e.textComponent,messages:_e.messages,defaultLocale:_e.defaultLocale,defaultFormats:_e.defaultFormats,onError:_e.onError}}function xn(_e,mt){var le=qn(mt),Ut=Object.assign(Object.assign({},Gn),_e),cn=Ut.locale,tr=Ut.defaultLocale,Er=Ut.onError;return cn?!Intl.NumberFormat.supportedLocalesOf(cn).length&&Er?Er(Kn('Missing locale data for locale: "'.concat(cn,'" in Intl.NumberFormat. Using default locale: "').concat(tr,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(cn).length&&Er&&Er(Kn('Missing locale data for locale: "'.concat(cn,'" in Intl.DateTimeFormat. Using default locale: "').concat(tr,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(Er&&Er(Kn('"locale" was not configured, using "'.concat(tr,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),Ut.locale=Ut.defaultLocale||"en"),Object.assign(Object.assign({},Ut),{formatters:le,formatNumber:Un.bind(null,Ut,le.getNumberFormat),formatNumberToParts:Yn.bind(null,Ut,le.getNumberFormat),formatRelativeTime:Je.bind(null,Ut,le.getRelativeTimeFormat),formatDate:he.bind(null,Ut,le.getDateTimeFormat),formatDateToParts:Q.bind(null,Ut,le.getDateTimeFormat),formatTime:$e.bind(null,Ut,le.getDateTimeFormat),formatTimeToParts:G.bind(null,Ut,le.getDateTimeFormat),formatPlural:W.bind(null,Ut,le.getPluralRules),formatMessage:Mn.bind(null,Ut,le),formatHTMLMessage:pn.bind(null,Ut,le),formatList:an.bind(null,Ut,le.getListFormat),formatDisplayName:fr.bind(null,Ut,le.getDisplayNames)})}var Zn=function(_e){l()(le,_e);var mt=f()(le);function le(){var Ut;return a()(this,le),Ut=mt.apply(this,arguments),Ut.cache=fn(),Ut.state={cache:Ut.cache,intl:xn(En(Ut.props),Ut.cache),prevConfig:En(Ut.props)},Ut}return u()(le,[{key:"render",value:function(){return Tn(this.state.intl),p.createElement(P,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(cn,tr){var Er=tr.prevConfig,wr=tr.cache,ia=En(cn);return Dn(Er,ia)?null:{intl:xn(ia,wr),prevConfig:ia}}}]),le}(p.PureComponent);Zn.displayName="IntlProvider",Zn.defaultProps=Gn;var jn=e(83867),ae=e(48370),ye=e.n(ae),Oe=e(42473),Re=e.n(Oe),qe=function(_e,mt){var le={};for(var Ut in _e)Object.prototype.hasOwnProperty.call(_e,Ut)&&mt.indexOf(Ut)<0&&(le[Ut]=_e[Ut]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Ut=Object.getOwnPropertySymbols(_e);cn